JPH09202010A - Printing device - Google Patents

Printing device

Info

Publication number
JPH09202010A
JPH09202010A JP8013200A JP1320096A JPH09202010A JP H09202010 A JPH09202010 A JP H09202010A JP 8013200 A JP8013200 A JP 8013200A JP 1320096 A JP1320096 A JP 1320096A JP H09202010 A JPH09202010 A JP H09202010A
Authority
JP
Japan
Prior art keywords
character
character string
printing
data
horizontal
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.)
Abandoned
Application number
JP8013200A
Other languages
Japanese (ja)
Inventor
Kazuyuki Horino
和之 堀野
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP8013200A priority Critical patent/JPH09202010A/en
Priority to MYPI97000293A priority patent/MY124094A/en
Priority to CN97100490A priority patent/CN1116989C/en
Priority to KR1019970002620A priority patent/KR100244017B1/en
Publication of JPH09202010A publication Critical patent/JPH09202010A/en
Priority to HK98104899A priority patent/HK1005672A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • B41J3/4075Tape printers; Label printers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S345/00Computer graphics processing and selective visual display systems
    • Y10S345/948Alteration of stored fonts to maintain feature consistency throughout scaled font

Landscapes

  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To print by easily adding characters partly written horizontally in a character row of vertical writing. SOLUTION: When a vertical printing is set, a setting means for partly printing horizontally is provided and a size of width is aligned and printed horizontally. For printing an optional character row 'CD' in a character row data 'ABCDE' stored as a text data of vertical writing in a way of horizontal partial writing, a 'horizontal composition' key of a key input section is operated so as to designate a range. Then, a horizontal composition flag H is added and stored in a character data of a horizontal composition designating range. When printing operation is started, from the number of continuous characters of the horizontal composition flag H added to the character data of individual text data, a range of partial horizontal printing is determined. A total length L of the horizontal writing character font at the pertinent part is contracted so as to be aligned to a font width W of other vertical writing character, expanded into a print buffer, and printed as a vertical writing text data which contains the partial horizontal writing characters.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、任意の入力文字列
を帯状の記録紙(テープ)に印刷するテーププリンタ等
の印刷装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device such as a tape printer for printing an arbitrary input character string on a band-shaped recording paper (tape).

【0002】[0002]

【従来の技術】例えばビデオやオーディオのカセットの
タイトル、名札等のテープ印刷には、テーププリンタが
使用される。このテーププリンタでは、印刷対象となる
帯状記録紙(テープ)の長さや幅に応じて、印刷すべき
文字の文字サイズ,フォントの種類,修飾パターン等を
設定して文字列データを入力し、その印刷を指示する
と、入力された文字列データが前記設定された文字サイ
ズ,フォントの種類,修飾パターンに従って印刷用のレ
ジスタに印刷データとして展開され、前記テープに対し
てシリアルプリンタ等により印刷出力される。
2. Description of the Related Art For example, a tape printer is used for printing tapes such as titles and name tags of video and audio cassettes. In this tape printer, character string data is input by setting the character size, font type, modification pattern, etc. of the character to be printed according to the length and width of the band-shaped recording paper (tape) to be printed. When printing is instructed, the input character string data is expanded as print data in a register for printing according to the set character size, font type, and decoration pattern, and is printed out on the tape by a serial printer or the like. .

【0003】この場合、前記テープの長さ方向に対する
文字列の向きは、横書き又は縦書きとして指定できるよ
うになっている。そして、前記テーププリンタでは、縦
書きとして指定した文字列の中の任意の部分において、
当該縦方向の文字をテープ幅方向に並べて印刷する部分
横書印刷が行なえる。
In this case, the direction of the character string with respect to the length direction of the tape can be designated as horizontal writing or vertical writing. Then, in the tape printer, in an arbitrary portion of the character string designated as vertical writing,
Partial horizontal writing can be performed in which the vertical characters are arranged in the tape width direction and printed.

【0004】従来のテーププリンタにおいて、前記縦書
き指定されて入力される文字列の中に、前記部分横書き
のための文字を入力するには、該部分横書きの範囲だけ
他の範囲とは異なる書式を設定するためのブロック書式
の設定を行ない、このブロック書式内でテープ幅に応じ
た文字サイズの設定や改行操作を行なう必要がある。
In the conventional tape printer, in order to input the characters for the partial horizontal writing into the character string designated by the vertical writing, the range of the partial horizontal writing is different from the other range. It is necessary to set the block format for setting, and set the character size and line feed operation according to the tape width within this block format.

【0005】[0005]

【発明が解決しようとする課題】すなわち、従来のテー
ププリンタでは、縦書き指定された文字列の中に部分横
書き文字を入力するには、ブロック書式の設定やブロッ
ク内文字サイズの設定,改行操作等、煩わしい操作が必
要になり、容易に部分横書き文字を印刷することができ
ない問題がある。
That is, in the conventional tape printer, in order to input a partial horizontal writing character in a character string designated for vertical writing, setting of block format, setting of character size in block, and line feed operation are performed. However, there is a problem in that it is difficult to print the partial horizontal writing characters because of the troublesome operation.

【0006】本発明は、前記のような問題に鑑みなされ
たもので、例えばブロック書式の設定やブロック内文字
サイズの設定,改行操作等、煩わしい操作を行なう必要
なく、非常に簡単に縦書き文字列の中に部分横書き文字
を含めて印刷することが可能になる印刷装置を提供する
ことを目的とする。
The present invention has been made in view of the above problems, and it is very easy to perform vertical writing characters without the need for complicated operations such as setting of block format, setting of character size in blocks, and line feed operation. An object of the present invention is to provide a printing device that enables printing by including partially horizontally written characters in a row.

【0007】[0007]

【発明が解決しようとする課題】すなわち、本発明に係
わる印刷装置は、文字列を記憶する記憶手段と、前記文
字列全体を帯状の記録紙の長さ方向に縦書きで印刷する
縦書印刷と横書きで印刷する横書印刷の何れかを設定す
る印刷方向設定手段と、前記縦書印刷が設定されている
ときに、前記文字列中の任意の文字列を前記記録紙の幅
方向に横書きで印刷する部分横書印刷に設定を変更する
設定変更手段と、前記部分横書印刷が設定された文字列
の長さサイズを前記縦書印刷が設定された文字列の幅サ
イズに揃えて、前記縦書印刷が設定された文字列を前記
記録紙の長さ方向に縦書きで印刷すると共に、前記部分
横書印刷が設定された文字列を前記記録紙の幅方向に横
書きで印刷する印刷制御手段とを具備したことを特徴と
する。
That is, the printing apparatus according to the present invention includes a storage unit for storing a character string, and a vertical writing mode for printing the entire character string vertically in the length direction of a belt-shaped recording paper. And a print direction setting means for setting either horizontal writing in horizontal writing, and when the vertical printing is set, an arbitrary character string in the character string is written horizontally in the width direction of the recording paper. And a setting changing unit for changing the setting to the partial horizontal writing printing, and aligning the length size of the character string for which the partial horizontal printing is set to the width size of the character string for which the vertical printing is set, Printing in which the character string for which the vertical writing is set is printed vertically in the length direction of the recording paper, and the character string for which the partial horizontal printing is set is printed horizontally in the width direction of the recording paper. And a control means.

【0008】つまり、本発明に係わる印刷装置では、記
憶手段に記憶された文字列全体を帯状記録紙の長さ方向
に縦書きで印刷する縦書印刷として設定された文字列中
の任意の文字列に対して、前記記録紙の幅方向に横書き
で印刷する部分横書印刷に設定を変更し印刷を指示する
と、前記部分横書印刷に設定変更された任意の文字列の
長さサイズが前記縦書印刷として設定された文字列の幅
サイズに揃えられて、縦書印刷として設定された文字列
が前記記録紙の長さ方向に縦書きで印刷されると共に、
部分横書印刷として設定された文字列が前記記録紙の幅
方向に横書きで印刷されることになる。
That is, in the printing apparatus according to the present invention, an arbitrary character in the character string set as vertical writing printing in which the entire character string stored in the storage means is printed vertically in the length direction of the band-shaped recording paper. For a row, if the setting is changed to partial horizontal print with horizontal printing in the width direction of the recording paper and printing is instructed, the length size of any character string changed to the partial horizontal print will be Aligned with the width size of the character string set as vertical print, the character string set as vertical print is printed vertically in the length direction of the recording paper,
The character string set as the partial horizontal writing is printed horizontally in the width direction of the recording paper.

【0009】[0009]

【発明の実施の形態】以下図面により本発明の実施の形
態について説明する。図1は本発明の印刷装置を搭載し
たテーププリンタの電子回路の構成を示すブロック図で
ある。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an electronic circuit of a tape printer equipped with the printing apparatus of the present invention.

【0010】このテーププリンタは、制御部(CPU)
11を備えている。この制御部(CPU)11は、キー
入力部12から供給されるキー操作信号に基づき、RO
M13に予め記憶されているシステムプログラムを起動
させ、回路各部の動作制御を実行するもので、この制御
部(CPU)11には、前記キー入力部12,ROM1
3の他、キャラクタジェネレータ14、RAM15が接
続される。
This tape printer has a control unit (CPU)
11 is provided. The control unit (CPU) 11 is based on a key operation signal supplied from the key input unit 12, and
A system program stored in advance in the M13 is activated to control the operation of each part of the circuit. The control part (CPU) 11 includes the key input part 12 and the ROM 1
3, the character generator 14 and the RAM 15 are connected.

【0011】また、前記制御部(CPU)11には、液
晶表示部16が接続されると共に、プリンタ部17が接
続される。さらに、前記制御部(CPU)11には、テ
ープ幅検知器18が接続される。
A liquid crystal display unit 16 and a printer unit 17 are connected to the control unit (CPU) 11. Further, a tape width detector 18 is connected to the control unit (CPU) 11.

【0012】前記キー入力部12には、被印刷データと
なる任意の文字列を入力するためのかな文字キー,数字
キー,記号キー等からなる文字入力キーが備えられると
共に、メニュー選択画面を表示させる際に操作される
「メニュー」キー、テキスト作成モードにおいて書式設
定を行なう際に操作される「書式設定」キー、文字サイ
ズ選択画面を表示させる際に操作される「文字サイズ」
キー、文字フォント選択画面を表示させる際に操作され
る「文字フォント」キー、文字修飾選択画面を表示させ
る際に操作される「文字修飾」キー、縦書印刷が設定さ
れて入力された文字列データに対し部分横書印刷を行な
う範囲を指定する際に操作される「横組」キー、表示画
面上でのカーソルの移動やデータの選択を行なう際に操
作されるカーソルキー等の各種の機能キーが備えられ
る。
The key input unit 12 is provided with character input keys such as kana character keys, numeral keys, and symbol keys for inputting an arbitrary character string to be printed data, and a menu selection screen is displayed. "Menu" key that is operated when you perform, "Format setting" key that is operated when you format in the text creation mode, "Font size" that is operated when you display the character size selection screen
Key, "Character font" key operated when displaying the character font selection screen, "Character modification" key operated when displaying the character decoration selection screen, character string input with vertical print set Various functions such as the "horizontal group" key that is operated to specify the range of partial horizontal writing for data, the cursor key that is used to move the cursor on the display screen and select data Keys are provided.

【0013】この場合、前記文字サイズ選択画面には、
例えば「1×1」〜「1×8」「2×1」〜「5×8」
までの40種類のサイズ指定データが表示され、また、
前記文字フォント選択画面には、例えば「明朝」「ゴシ
ック」「毛筆」からなるフォント指定データが表示さ
れ、また、前記文字修飾選択画面には、例えば「網掛」
「下線」「枠付」からなる修飾指定データが表示され
る。
In this case, on the character size selection screen,
For example, "1x1" to "1x8""2x1" to "5x8"
Up to 40 types of size specification data are displayed.
On the character font selection screen, font designation data including, for example, “Mincho”, “Gothic”, and “writing brush” is displayed, and on the character decoration selection screen, for example, “shaded”.
The modification designation data consisting of "underline" and "with frame" is displayed.

【0014】前記ROM13には、このテーププリンタ
の基本動作を司るシステムプログラムの他、テキスト作
成処理プログラムや作成テキストの表示処理プログラ
ム、印刷処理プログラム等が記憶される。
The ROM 13 stores a system program that controls the basic operation of the tape printer, a text creation processing program, a created text display processing program, a print processing program, and the like.

【0015】前記キャラクタジェネレータ14には、前
記キー入力部12の文字入力キーにより入力可能な全て
の文字/数字/記号データに対応するフォントパターン
が、それぞれ対応するコードデータと共に記憶される。
The character generator 14 stores font patterns corresponding to all the character / number / symbol data that can be input by the character input keys of the key input unit 12 together with the corresponding code data.

【0016】図2は前記テーププリンタのRAM15に
備えられるレジスタの構成を示す図である。前記RAM
15には、キー入力された文字列データがテキストデー
タとして記憶される入力バッファ15a、液晶表示部1
6に表示すべき表示データが各文字毎にキャラクタジェ
ネレータ14から読出されるビットマップデータに展開
されて記憶される表示バッファ15b、プリンタ部17
にて印刷すべき印刷データが各文字毎にキャラクタジェ
ネレータ14から読出されるビットマップパターンに展
開されて記憶される印字バッファ15c、テキスト作成
モードにおいて「A=0」,印刷モードにおいて「A=
1」にセットされる動作モードフラグレジスタ15d、
テキスト作成モードにおいて「縦書印刷」が設定された
際に「B=1」,「横書印刷」が設定された際に「B=
0」にセットされる書式モードフラグレジスタ15e、
テキスト作成モードにおける文字サイズ選択画面におい
て選択設定された文字サイズデータが記憶される文字サ
イズデータメモリ15f、文字フォント選択画面におい
て選択設定されたフォントの種類データが記憶される文
字フォントデータメモリ15g、文字修飾選択画面にお
いて選択設定されたフォントの修飾パターンデータが記
憶される文字修飾データメモリ15h、印刷モードにお
いて前記入力バッファ15aに記憶されているテキスト
データの個々の文字データを順に指示するためのポイン
タデータがP記憶されるポインタレジスタ15i、印刷
モードにおいて前記入力バッファ15aに記憶されてい
るテキストデータの文字列の中で部分横書印刷として設
定された横組フラグ「H=1」を有する文字データの連
続数をカウントしたカウントデータcが記憶されるカウ
ンタレジスタ15j、テープ幅検知器18により検知さ
れるテープ幅データが記憶されるテープ幅データレジス
タ15k等、様々なデータレジスタが備えられる。
FIG. 2 is a diagram showing the configuration of registers provided in the RAM 15 of the tape printer. RAM
Reference numeral 15 denotes an input buffer 15a in which character string data input by a key is stored as text data, and a liquid crystal display unit 1
The display data to be displayed in 6 is expanded into bit map data read from the character generator 14 for each character, and is stored in the display buffer 15b and the printer unit 17.
The print buffer 15c in which the print data to be printed at is expanded and stored in a bitmap pattern read from the character generator 14 for each character, "A = 0" in the text creation mode, and "A = in the print mode.
Operation mode flag register 15d set to "1",
When "Vertical print" is set in the text creation mode, "B = 1", and when "Horizontal print" is set, "B ="
Format mode flag register 15e set to 0 ",
A character size data memory 15f for storing character size data selected and set on the character size selection screen in the text creation mode, a character font data memory 15g for storing font type data selected and set on the character font selection screen, and a character A character decoration data memory 15h in which the decoration pattern data of the font selected and set on the decoration selection screen is stored, and pointer data for sequentially instructing individual character data of the text data stored in the input buffer 15a in the print mode. Of the character data of the horizontal register flag "H = 1" set as the partial horizontal writing in the character string of the text data stored in the input buffer 15a in the print mode. Count the number of consecutive Count data c is counter register 15j stored, the tape width data register 15k such that the tape width data is stored, which is detected by the tape width detector 18, a variety of data registers are provided.

【0017】前記液晶表示部16は、ドットマトリクス
型の表示画面を有し、前記RAM15内の表示バッファ
15bに記憶されている表示データに従って制御部(C
PU)11によりそのコモン線及びセグメント線が選択
的に駆動されることで表示動作する。
The liquid crystal display section 16 has a dot matrix type display screen, and the control section (C) according to the display data stored in the display buffer 15b in the RAM 15.
The display operation is performed by selectively driving the common line and the segment line by the PU) 11.

【0018】前記プリンタ部17は、熱転写型のシリア
ルプリンタからなり、前記RAM15内の印字バッファ
15cに記憶されている印刷データを図示しないテープ
リールから繰出される帯状の記録紙(テープ)に対して
インクリボンを溶解させて1ドットラインデータずつ印
字する。
The printer unit 17 comprises a thermal transfer type serial printer, and print data stored in the print buffer 15c in the RAM 15 is applied to a belt-shaped recording paper (tape) fed from a tape reel (not shown). Dissolve the ink ribbon and print 1 dot line data at a time.

【0019】図3は前記テーププリンタのRAM15に
おける入力バッファ15aにテキストデータとして記憶
される文字列データの1文字分のデータ構造を示す図で
ある。
FIG. 3 is a diagram showing the data structure of one character of character string data stored as text data in the input buffer 15a in the RAM 15 of the tape printer.

【0020】入力バッファ15aに記憶される1文字分
のデータは、コードデータとて記憶される文字データ
と、フォントの種類,修飾パターン,文字サイズを示す
属性データ,部分横書印刷の指定の有無を示す横組フラ
グデータとからなるもので、前記文字サイズデータ,文
字フォントデータ,文字修飾データは、それぞれ対応す
るメモリ15f〜15hにおいて設定記憶されているの
で、文字データがコードデータとして入力される毎に当
該文字サイズデータ,文字フォントデータ,文字修飾デ
ータが属性データとして対応付けて記憶され、さらに、
入力された文字列データに対して「横組」キーを操作し
て部分横書印刷の範囲を指定すると、その指定範囲に対
応する各文字データに対して横組フラグ「H=1」が対
応付けられて記憶される。
The data for one character stored in the input buffer 15a includes the character data stored as code data, the font type, the decoration pattern, the attribute data indicating the character size, and the presence / absence of designation of partial horizontal printing. Since the character size data, the character font data, and the character decoration data are set and stored in the corresponding memories 15f to 15h, the character data is input as code data. The relevant character size data, character font data, and character decoration data are stored in association with each other as attribute data.
When the "horizontal composition" key is operated on the input character string data and the range of partial horizontal writing is specified, the horizontal composition flag "H = 1" corresponds to each character data corresponding to the specified range. It is attached and stored.

【0021】次に、前記構成によるテーププリンタの動
作について説明する。図4は前記テーププリンタによる
テキスト作成処理を示すフローチャートである。
Next, the operation of the tape printer having the above construction will be described. FIG. 4 is a flowchart showing a text creating process by the tape printer.

【0022】図5は前記テーププリンタによるテープ印
刷処理を示すフローチャートである。図6は前記テープ
プリンタのテキスト作成処理に伴なうテキストデータの
入力表示状態を示す図である。
FIG. 5 is a flow chart showing a tape printing process by the tape printer. FIG. 6 is a view showing an input display state of text data accompanying the text creation processing of the tape printer.

【0023】図7は前記テーププリンタのテープ印刷処
理に伴なうテキストデータの印刷状態を示す図である。
キー入力部12の「メニュー」キーを操作して液晶表示
部16にメニュー選択画面を表示させた状態で、テキス
ト作成メニューを選択すると、RAM15内の動作モー
ドフラグレジスタ15dにテキスト作成モードフラグ
「A=0」がセットされることにより、図4におけるテ
キスト作成処理が起動され、前記RAM15内の他の各
種レジスタに記憶されているデータがクリアされてイニ
シャライズされる(ステップS1)。
FIG. 7 is a diagram showing a printing state of the text data accompanying the tape printing process of the tape printer.
When the text creation menu is selected while the menu selection screen is displayed on the liquid crystal display 16 by operating the "menu" key of the key input unit 12, the text creation mode flag "A" is stored in the operation mode flag register 15d in the RAM 15. By setting "= 0", the text creating process in FIG. 4 is started, and the data stored in the other various registers in the RAM 15 are cleared and initialized (step S1).

【0024】すると、制御部(CPU)11では、キー
入力待ちの状態となり、キー入力部12の「書式設定」
キーを操作すると、液晶表示部16に対して「縦書」と
「横書」の何れかを選択するための書式選択画面が表示
される(ステップS2→S3)。
Then, the control unit (CPU) 11 waits for key input, and the "format setting" of the key input unit 12 is performed.
When the key is operated, a format selection screen for selecting either "vertical writing" or "horizontal writing" is displayed on the liquid crystal display unit 16 (steps S2 → S3).

【0025】この書式選択画面の表示に従って「縦書」
を選択すると、RAM15内の書式モードフラグレジス
タ15eに対して縦書きフラグ「B=1」がセットされ
る(ステップS3→S4,S5)。
[Vertical writing] according to the display of this format selection screen
When is selected, the vertical writing flag "B = 1" is set in the format mode flag register 15e in the RAM 15 (steps S3 → S4, S5).

【0026】一方、前記液晶表示部16に表示された書
式選択画面において「横書」を選択すると、RAM15
内の書式モードフラグレジスタ15eに対して横書フラ
グ「B=0」がセットされる(ステップS3→S4→S
6)。
On the other hand, when "horizontal writing" is selected on the format selection screen displayed on the liquid crystal display unit 16, the RAM 15 is displayed.
The horizontal writing flag "B = 0" is set in the format mode flag register 15e (step S3 → S4 → S).
6).

【0027】前記書式選択画面において、「縦書」が選
択されてRAM15内の書式モードフラグレジスタ15
eに対して縦書きフラグ「B=1」がセットされた状態
で、これから縦書きとして入力する文字列の文字サイ
ズ,文字フォント,文字修飾を設定するために、まず、
キー入力部12の「文字サイズ」キーを操作すると、液
晶表示部16に対し、例えば「1×1」〜「1×8」
「2×1」〜「5×8」までの合計40種類の文字サイ
ズデータを配列した文字サイズ選択画面が表示される
(ステップS7→S8)。
On the format selection screen, "vertical writing" is selected and the format mode flag register 15 in the RAM 15 is selected.
First, in order to set the character size, character font, and character modification of the character string to be input as vertical writing with the vertical writing flag “B = 1” set for e, first,
When the “character size” key of the key input unit 12 is operated, for example, “1 × 1” to “1 × 8” are displayed on the liquid crystal display unit 16.
A character size selection screen in which a total of 40 types of character size data from “2 × 1” to “5 × 8” are arranged is displayed (steps S7 → S8).

【0028】この文字サイズ選択画面の表示に従って任
意の文字サイズを選択すると、選択された文字サイズデ
ータはRAM15内の文字サイズデータメモリ15fに
記憶される(ステップS8→S9)。
When an arbitrary character size is selected according to the display of the character size selection screen, the selected character size data is stored in the character size data memory 15f in the RAM 15 (steps S8 → S9).

【0029】続いて、キー入力部12の「文字フォン
ト」キーを操作すると、液晶表示部16に対し、例えば
「明朝」「ゴシック」「毛筆」からなる文字フォントの
種類を配列した文字フォント選択画面が表示される(ス
テップS10→S11)。
Next, when the "character font" key of the key input unit 12 is operated, a character font selection in which character font types such as "Mincho", "Gothic" and "writing brush" are arranged on the liquid crystal display unit 16 is selected. A screen is displayed (steps S10 → S11).

【0030】この文字フォント選択画面の表示に従って
任意の文字フォントを選択すると、選択された文字フォ
ントデータはRAM15内の文字フォントデータメモリ
15gに記憶される(ステップS11→S12)。
When an arbitrary character font is selected according to the display on the character font selection screen, the selected character font data is stored in the character font data memory 15g in the RAM 15 (steps S11 → S12).

【0031】さらに、キー入力部12の「文字修飾」キ
ーを操作すると、液晶表示部16に対し、例えば「網
掛」「下線」「枠付」からなる文字修飾のパターンを配
列した文字修飾選択画面が表示される(ステップS13
→S14)。
Further, when the "character modification" key of the key input section 12 is operated, a character modification selection screen is displayed on the liquid crystal display section 16 in which character modification patterns such as "shaded", "underlined" and "framed" are arranged. Is displayed (step S13
→ S14).

【0032】この文字修飾選択画面の表示に従って任意
の修飾パターンを選択すると、選択された修飾データは
RAM15内の文字修飾データメモリ15hに記憶され
る(ステップS14→S15)。
When an arbitrary decoration pattern is selected according to the display of the character decoration selection screen, the selected decoration data is stored in the character decoration data memory 15h in the RAM 15 (steps S14 → S15).

【0033】こうして、テキストデータとして入力すべ
き文字データに対する属性データ(文字サイズ,文字フ
ォント,文字修飾が設定記憶された状態で、キー入力部
12の文字入力キーを操作して、例えば「A」「B」
「C」「D」「E」と入力すると、入力された個々の文
字データは、文字コードデータとして順次RAM15内
の入力バッファ15aに記憶されると共に、各文字コー
ドデータに対しては前記文字サイズデータメモリ15
f,文字フォントデータメモリ15g,文字修飾データ
メモリ15hに設定記憶された属性データが付加されて
記憶される(ステップS16→S17,S18)。
Thus, with the attribute data (character size, character font, character modification) set and stored for the character data to be input as the text data, the character input key of the key input unit 12 is operated to, for example, "A". "B"
When "C", "D", and "E" are input, the input individual character data are sequentially stored in the input buffer 15a in the RAM 15 as character code data, and the character size is changed for each character code data. Data memory 15
f, the attribute data set and stored in the character font data memory 15g and the character decoration data memory 15h are added and stored (steps S16 → S17, S18).

【0034】この場合、1文字入力毎にRAM15内の
動作モードフラグレジスタ15dにテキスト作成モード
フラグ「A=0」がセットされていると判断され、次の
文字の入力待ち状態となる(ステップS19→S1
6)。
In this case, it is determined that the text creation mode flag "A = 0" is set in the operation mode flag register 15d in the RAM 15 for each character input, and the next character input standby state is set (step S19). → S1
6).

【0035】こうして、テキストデータとしての任意の
文字列「ABCDE」が入力されてRAM15内の入力
バッファ15aに記憶されると、入力されたテキストデ
ータを構成する個々の文字データは、それぞれ対応する
文字コードデータと属性データに応じてキャラクタジェ
ネレータ14によりフォントパターンとして読出され、
表示バッファ15bに展開されると共に、液晶表示部1
6に表示される(図6参照)。
In this way, when the arbitrary character string "ABCDE" as the text data is input and stored in the input buffer 15a in the RAM 15, the individual character data forming the input text data respectively correspond to the corresponding characters. It is read as a font pattern by the character generator 14 according to the code data and the attribute data,
The liquid crystal display unit 1 is developed in the display buffer 15b.
6 is displayed (see FIG. 6).

【0036】このように、縦書き書式が設定されて入力
表示されたテキストデータの文字列「ABCDE」の中
で、任意の文字列「CD」について部分横書印刷を行な
いたい場合に、キー入力部12の「横組」キーを操作す
ると、RAM15内の書式モードフラグレジスタ15e
に縦書きフラグ「B=1」がセットされていると判断さ
れ、液晶表示部16上のカーソル指示位置に、入力され
た文字データが存在するか否か判断される(ステップS
20→S21→S22)。
As described above, when it is desired to perform partial horizontal print on an arbitrary character string "CD" in the character string "ABCDE" of the text data input and displayed in the vertical writing format, key input is performed. When the "horizontal set" key of the section 12 is operated, the format mode flag register 15e in the RAM 15
It is determined that the vertical writing flag "B = 1" has been set to, and it is determined whether the input character data exists at the cursor pointing position on the liquid crystal display unit 16 (step S).
20 → S21 → S22).

【0037】ここで、前記書式モードフラグレジスタ1
5eに縦書きフラグ「B=1」がセットされていると判
断され、入力文字が存在すると判断されると、部分横書
印刷を行ないたい文字列の範囲が指定されたか否か判断
される(ステップS22→S23)。
Here, the format mode flag register 1
If it is determined that the vertical writing flag "B = 1" is set in 5e and that there is an input character, it is determined whether or not the range of the character string for which the partial horizontal writing is desired is designated ( Steps S22 → S23).

【0038】そして、図6に示すように、部分横書印刷
を行ない文字列の範囲が指定されると、その横組指定範
囲に対応する文字数が規定文字数α以下であるか、つま
り、テープ幅検知器18により検知されるテープの幅に
対して最小の文字サイズで横書印刷可能な最大文字数α
以下であるかが判断され、部分横書印刷可能な最大文字
数α以下と判断されると、前記横組指定範囲に対応する
個々の文字データ「C」「D」に対して横組フラグ「H
=1」が付加され(図3参照)入力バッファ15aに記
憶される(ステップS23→S24→S25)。
As shown in FIG. 6, when partial horizontal writing is performed and a range of character strings is specified, whether the number of characters corresponding to the horizontal setting specified range is less than or equal to the specified number of characters α, that is, the tape width. Maximum number of characters that can be printed horizontally in the minimum character size α with respect to the width of the tape detected by the detector 18
If it is determined that it is less than or equal to the maximum number α of characters that can be printed in partial horizontal writing, the horizontal writing flag “H” is set for each of the character data “C” and “D” corresponding to the horizontal writing designated range.
= 1 ”is added (see FIG. 3) and stored in the input buffer 15a (steps S23 → S24 → S25).

【0039】一方、前記横組指定範囲に対応する文字数
がテープ幅検知器18により検知されるテープの幅に対
して最小の文字サイズで横書印刷可能な最大文字数αよ
り多いと判断されると、液晶表示部16に対してエラー
メッセージが表示され、ユーザに対して横組指定範囲の
再設定が促される(ステップS24→S26)。
On the other hand, if it is determined that the number of characters corresponding to the horizontal setting designated range is larger than the maximum number α of characters that can be horizontally printed with the minimum character size with respect to the tape width detected by the tape width detector 18. An error message is displayed on the liquid crystal display unit 16 and the user is prompted to reset the horizontal composition designated range (steps S24 → S26).

【0040】すなわち、前記テキスト作成処理におい
て、縦書き書式が設定されて入力された文字列「ABC
DE」中の任意の文字列「CD」を部分横書印刷したい
場合には、当該任意文字列「CD」の範囲をキー入力部
12の「横組」キーを操作して指定するだけでよい。
That is, in the text creation process, the character string "ABC
When it is desired to partially print horizontally the arbitrary character string “CD” in “DE”, the range of the arbitrary character string “CD” can be designated by operating the “horizontal group” key of the key input unit 12. .

【0041】次に、前記テキスト作成処理により作成さ
れたテキストデータ「ABCDE」(図6参照)を印刷
する動作について説明する。キー入力部12の「メニュ
ー」キーを操作して液晶表示部16に対しメニュー選択
画面を表示させた状態で、当該メニュー選択画面に表示
された「印刷」を選択すると、RAM15内の動作モー
ドフラグレジスタ15dに対して印刷モードフラグ「A
=1」がセットされ、図5における印刷処理が起動され
る。
Next, the operation of printing the text data "ABCDE" (see FIG. 6) created by the text creating process will be described. When "Print" displayed on the menu selection screen is selected while the "Menu" key of the key input unit 12 is operated to display the menu selection screen on the liquid crystal display unit 16, the operation mode flag in the RAM 15 is selected. The print mode flag “A
= 1 ”is set, and the printing process in FIG. 5 is started.

【0042】この印刷処理が起動されると、RAM15
内のポインタレジスタ15i及びカウンタレジスタ15
jが“0”クリアされイニシャライズされる(ステップ
A1)。
When this printing process is started, the RAM 15
Pointer register 15i and counter register 15 in
j is cleared to "0" and initialized (step A1).

【0043】すると、まず、RAM15内の書式モード
フラグレジスタ15eに縦書きフラグ「B=1」がセッ
トされているか否か判断され、縦書きフラグ「B=1」
がセットされていると判断された場合には、ポインタレ
ジスタ15iのポインタデータPが“1”にセットさ
れ、入力バッファ15aに記憶されているテキストデー
タの第1文字が指示される(ステップA2→A3)。
Then, it is first judged whether or not the vertical writing flag "B = 1" is set in the format mode flag register 15e in the RAM 15, and the vertical writing flag "B = 1".
If it is determined that is set, the pointer data P of the pointer register 15i is set to "1" and the first character of the text data stored in the input buffer 15a is designated (step A2 → A3).

【0044】この場合、入力バッファ15aには、テキ
ストデータ「ABCDE」が記憶されており、その第1
文字として「A」が有ると判断されると、その文字デー
タには横組フラグ「H=1」が付加されているか否か判
断される(ステップA4→A5)。
In this case, the text data "ABCDE" is stored in the input buffer 15a.
When it is determined that the character "A" is present, it is determined whether or not the horizontal writing flag "H = 1" is added to the character data (steps A4 → A5).

【0045】この場合、前記テキストデータの第1文字
「A」に対しては、横組フラグ「H=1」は付加されて
いないので、当該ポインタデータ「P=1」で指示され
ている文字コードデータ及びその属性データに対応する
フォントパターン「A」がキャラクタジェネレータ14
から読出されてRAM15内の印字バッファ15cに縦
書きで展開される(ステップA5→A6)。
In this case, since the horizontal set flag "H = 1" is not added to the first character "A" of the text data, the character designated by the pointer data "P = 1". The font pattern “A” corresponding to the code data and its attribute data is the character generator 14.
Read out from the memory and is vertically written in the print buffer 15c in the RAM 15 (steps A5 → A6).

【0046】すると、ポインタレジスタ15iのポイン
タデータPが(+1)されて“2”に更新され、入力バ
ッファ15aに記憶されているテキストデータの第2文
字が指示される(ステップA7)。
Then, the pointer data P of the pointer register 15i is incremented by (+1) and updated to "2", and the second character of the text data stored in the input buffer 15a is designated (step A7).

【0047】この場合、テキストデータの第2文字とし
て「B」が有ると判断されると、その第2文字「B」に
対しては横組フラグ「H=1」が付加されてないと判断
されるので、当該ポインタデータ「P=2」で指示され
ている文字コードデータ及びその属性データに対応する
フォントパターン「B」がキャラクタジェネレータ14
から読出されてRAM15内の印字バッファ15cに縦
書きで展開される(ステップA8→A5→A6)。
In this case, when it is determined that "B" is present as the second character of the text data, it is determined that the horizontal set flag "H = 1" is not added to the second character "B". Accordingly, the font pattern “B” corresponding to the character code data and the attribute data designated by the pointer data “P = 2” is displayed by the character generator 14.
Is read out from the printer and is vertically written in the print buffer 15c in the RAM 15 (steps A8 → A5 → A6).

【0048】この後、再びポインタレジスタ15iのポ
インタデータPが(+1)されて“3”にセットされ、
入力バッファ15aに記憶されているテキストデータの
第3文字が指示され、入力された文字が存在するか否か
判断される(ステップA7,A8)。
Thereafter, the pointer data P of the pointer register 15i is again (+1) set to "3",
The third character of the text data stored in the input buffer 15a is designated, and it is determined whether or not the input character exists (steps A7 and A8).

【0049】この場合、テキストデータの第3文字とし
て「C」が有ると判断されると、その第3文字「C」に
対しては横組フラグ「H=1」が付加されていると判断
されるので、RAM15内のカウンタレジスタ15jの
カウントデータCが(+1)されて“1”にカウントア
ップされ、横組フラグ「H=1」を有する連続文字数が
“1”としてセットされる(ステップA8→A5→A
9)。
In this case, when it is determined that "C" is present as the third character of the text data, it is determined that the horizontal writing flag "H = 1" is added to the third character "C". Therefore, the count data C of the counter register 15j in the RAM 15 is incremented by (+1) and counted up to "1", and the number of consecutive characters having the horizontal set flag "H = 1" is set as "1" (step A8 → A5 → A
9).

【0050】すると、さらにポインタレジスタ15iの
ポインタデータPが(+1)されて“4”にセットさ
れ、入力バッファ15aに記憶されているテキストデー
タの第4文字が指示され、入力された文字が存在するか
否か判断される(ステップA10,A11)。
Then, the pointer data P of the pointer register 15i is further incremented (+1) and set to "4", the fourth character of the text data stored in the input buffer 15a is designated, and the input character exists. It is determined whether or not to do it (steps A10 and A11).

【0051】このステップA11において、例えばテキ
ストデータの第4文字は存在しないと判断されると、横
組フラグ「H=1」が付加されている文字データは、前
記第3文字「C」の1文字のみとなるので、前記第1文
字「A」,第2文字「B」に続き第3文字「C」も通常
の縦書きフォントとして印字バッファ15cに展開され
る(ステップA11→A6)。
If it is determined in step A11 that the fourth character of the text data does not exist, the character data to which the horizontal set flag "H = 1" is added is 1 of the third character "C". Since there are only characters, the third character "C" following the first character "A" and the second character "B" is also expanded in the print buffer 15c as a normal vertical writing font (steps A11 → A6).

【0052】一方、前記ステップA11において、テキ
ストデータの第4文字として「D」が有ると判断される
と、その第4文字「D」に対しても横組フラグ「H=
1」が付加されていると判断されるので、RAM15内
のカウンタレジスタ15jのカウントデータCがさらに
(+1)されて“2”にカウントアップされ、横組フラ
グ「H=1」を有する連続文字数が“2”としてセット
される(ステップA11→A12→A9)。
On the other hand, when it is determined in step A11 that "D" is present as the fourth character of the text data, the horizontal writing flag "H =
Since it is determined that "1" is added, the count data C of the counter register 15j in the RAM 15 is further incremented by (+1) and counted up to "2", and the number of consecutive characters having the horizontal flag "H = 1". Is set as “2” (steps A11 → A12 → A9).

【0053】すると、さらにポインタレジスタ15iの
ポインタデータPが(+1)されて“5”にセットさ
れ、入力バッファ15aに記憶されているテキストデー
タの第5文字が指示され、入力された文字が存在するか
否か判断される(ステップA10,A11)。
Then, the pointer data P of the pointer register 15i is further incremented (+1) and set to "5", the fifth character of the text data stored in the input buffer 15a is designated, and the input character exists. It is determined whether or not to do it (steps A10 and A11).

【0054】ここで、テキストデータの第5文字として
「E」が有ると判断されると、その第5文字「E」に対
しては横組フラグ「H=1」は付加されてないと判断さ
れるので、RAM15内のカウンタレジスタ15jのカ
ウントデータCが計数され、それまでの横組フラグ「H
=1」を有する連続文字数「C=2」が1文字を越える
文字数か否か判断される(ステップA11→A12→A
13,A14)。
When it is determined that "E" is present as the fifth character of the text data, it is determined that the horizontal writing flag "H = 1" is not added to the fifth character "E". Therefore, the count data C of the counter register 15j in the RAM 15 is counted and the horizontal set flag "H"
= 1 ”and the number of consecutive characters“ C = 2 ”exceeds 1 character is determined (step A11 → A12 → A).
13, A14).

【0055】このステップA14において、例えばカウ
ンタレジスタ15jのカウントデータCで示される横組
フラグ「H=1」を有する連続文字数Cが1文字以下で
あると判断された場合には、当該カウントデータCは
“0”クリアされ、対応する文字データは通常の縦書き
フォントとして印字バッファ15cに展開される(ステ
ップA14→A15,A6)。
When it is determined in step A14 that the number C of consecutive characters having the horizontal set flag "H = 1" indicated by the count data C of the counter register 15j is less than or equal to one, the count data C is concerned. Is cleared to "0", and the corresponding character data is expanded in the print buffer 15c as a normal vertical writing font (steps A14 → A15, A6).

【0056】一方、前記ステップA14において、カウ
ンタレジスタ15jに記憶されているカウントデータC
は“2”であり、横組フラグ「H=1」を有する連続文
字数Cが「C」「D」の2文字で1文字を越える文字数
であると判断されると、当該横組フラグ「H=1」の付
加された文字コードデータに対応するフォントパターン
「C」「D」がキャラクタジェネレータ14から読出さ
れ、この2文字のフォントがテープ幅検出器18により
検出されるテープ幅の方向に横書きで納まり、しかも、
その横書き部分の長さL(図7参照)が文字サイズデー
タメモリ15fに設定記憶されている通常文字サイズの
フォント幅W(図7参照)と揃うように縮小処理される
(ステップA14→A16)。
On the other hand, in the step A14, the count data C stored in the counter register 15j
Is "2", and when it is determined that the number of consecutive characters C having the horizontal composition flag "H = 1" is more than one of the two characters "C" and "D", the horizontal composition flag "H" The font patterns "C" and "D" corresponding to the character code data added with "= 1" are read out from the character generator 14, and these two-character fonts are horizontally written in the tape width direction detected by the tape width detector 18. It fits in
Reduction processing is performed so that the length L (see FIG. 7) of the horizontal writing portion is aligned with the font width W (see FIG. 7) of the normal character size set and stored in the character size data memory 15f (steps A14 → A16). .

【0057】この場合、横組指定されている文字データ
は「C」「D」の2文字であり、他の通常の縦書きフォ
ント「A」「B」「E」のフォント幅Wと最大文字サイ
ズで揃えるには、該横組指定文字データ「C」「D」そ
れぞれの幅を1/2に縮小するもので、この通常フォン
トパターンの1/2縮小処理は、キャラクタジェネレー
タ14から読出された設定文字サイズのフォントパター
ンに対し、その幅方向に2ドットパターンずつ黒データ
有無の論理和を取ることで達成される。
In this case, the character data designated horizontally is two characters "C" and "D", and the font width W and the maximum character of other normal vertical fonts "A", "B" and "E". In order to make them uniform in size, the width of each of the horizontal designating character data "C" and "D" is reduced to 1/2, and the 1/2 reduction processing of this normal font pattern is read from the character generator 14. This is achieved by logically summing the presence / absence of black data for each 2 dot pattern in the width direction with respect to the font pattern of the set character size.

【0058】こうして、前記横組指定部分の文字フォン
トが作成されると、そのフォントパターン「CD」は、前
記印字バッファ15cに展開されている第1及び第2文
字の通常縦書きフォント「A」「B」に続けて部分横書
きで展開される(ステップA17)。
In this way, when the character font of the horizontal designating part is created, the font pattern "CD" thereof is the normal vertical writing font "A" of the first and second characters expanded in the print buffer 15c. After "B", partial horizontal writing is performed (step A17).

【0059】すると、前記横組フラグ「H=1」の付加
された文字データの連続が途切れたことで、カウンタレ
ジスタ15jのカウントデータCが“0”クリアされ、
ポインタレジスタ15iのポインタデータ「P=5」に
より指示されているテキストデータの第5文字が有るか
否か判断される(ステップA18→A8)。
Then, since the continuation of the character data to which the horizontal set flag "H = 1" is added is interrupted, the count data C of the counter register 15j is cleared to "0",
It is determined whether or not there is the fifth character of the text data designated by the pointer data "P = 5" of the pointer register 15i (step A18 → A8).

【0060】この場合、テキストデータの第5文字とし
て「E」が有ると判断されると、その第5文字「E」に
対しては横組フラグ「H=1」が付加されてないと判断
されるので、当該ポインタデータ「P=5」で指示され
ている文字コードデータ及びその属性データに対応する
フォントパターン「E」がキャラクタジェネレータ14
から読出されてRAM15内の印字バッファ15cに既
に展開された「A」「B」「CD」に続けて縦書きで展開
される(ステップA8→A5→A6)。
In this case, when it is determined that "E" is present as the fifth character of the text data, it is determined that the horizontal writing flag "H = 1" is not added to the fifth character "E". Therefore, the font pattern “E” corresponding to the character code data and the attribute data designated by the pointer data “P = 5” is changed to the character generator 14.
The data is read out vertically from the "A", "B" and "CD" read out from the print buffer 15c in the RAM 15 (steps A8 → A5 → A6).

【0061】すると、ポインタレジスタ15iのポイン
タデータPがさらに(+1)されて“6”に更新され、
入力バッファ15aに記憶されているテキストデータの
第6文字が指示される(ステップA7)。
Then, the pointer data P of the pointer register 15i is further (+1) and updated to "6",
The sixth character of the text data stored in the input buffer 15a is designated (step A7).

【0062】この場合、テキストデータの第6文字は存
在しないと判断されるので、前記RAM15内の印字バ
ッファ15cに展開された部分横書き範囲を含む縦書き
のテキストデータ「A」「B」「CD」「E」がプリンタ
部17に出力され、図7に示すようにテープTに対して
縦書印刷される(ステップA8→A19)。
In this case, since it is determined that the sixth character of the text data does not exist, the vertical writing text data "A""B""CD including the partial horizontal writing range expanded in the print buffer 15c in the RAM 15". “E” is output to the printer unit 17 and vertically printed on the tape T as shown in FIG. 7 (steps A8 → A19).

【0063】一方、前記ステップA2において、RAM
15内の書式モードフラグレジスタ15eに対し、横書
きモードフラグ「B=0」がセットされていると判断さ
れた場合には、入力バッファ15aに記憶されているテ
キストデータは、その全ての文字コードデータ及び属性
データに対応してキャラクタジェネレータ14から読出
されたフォントパターンが何れも横書きで印字バッファ
15cに展開され、プリンタ部17に出力されてテープ
Tに対し横書印刷される(ステップA2→A20,A1
9)。
On the other hand, in step A2, the RAM
When it is determined that the horizontal writing mode flag "B = 0" is set in the format mode flag register 15e in the 15, the text data stored in the input buffer 15a is all the character code data. Also, any of the font patterns read from the character generator 14 in correspondence with the attribute data is horizontally written in the print buffer 15c, output to the printer unit 17 and horizontally printed on the tape T (steps A2 → A20, A1
9).

【0064】したがって、前記構成のテーププリンタに
よれば、RAM15内の入力バッファ15aに縦書きの
テキストデータとして記憶された文字列データ「ABC
DE」中の任意の文字列「CD」を部分横書印刷するた
めに、キー入力部12の「横組」キーを操作して範囲指
定すると、横組指定範囲の文字データには横組フラグ
「H=1」が付加されて記憶される。そして、印刷処理
を起動すると、テキストデータ個々の文字データに付加
されている横組フラグHの連続文字数から、部分横書印
刷の範囲が判断され、該当部分の横書き文字フォントの
合計長さLが他の縦書き文字のフォント幅Wと揃うよう
に縮小処理されて印字バッファ15cに展開され、プリ
ンタ部17により部分横書き文字を含む縦書きのテキス
トデータとして印刷されるので、ユーザは入力されたテ
キストデータに対して部分横書印刷を行ないたい範囲を
指定するだけで、縦書きの文字フォントに続けて指定範
囲の文字フォントが自動的に縮小されて横組印刷される
ようになり、非常に簡単に縦書き文字列の中に部分横書
き文字を含めたテープ印刷を行なうことができる。
Therefore, according to the tape printer having the above-mentioned configuration, the character string data "ABC" stored in the input buffer 15a in the RAM 15 as the vertically written text data.
If the range is specified by operating the "horizontal set" key of the key input unit 12 to partially print the arbitrary character string "CD" in "DE" horizontally, the horizontal set flag is added to the character data in the horizontal set specified range. “H = 1” is added and stored. Then, when the printing process is started, the range of the partial horizontal printing is determined from the number of consecutive characters of the horizontal writing flag H added to each character data of the text data, and the total length L of the horizontal writing font of the corresponding part is determined. The text is reduced so as to be aligned with the font width W of other vertically written characters, expanded in the print buffer 15c, and printed by the printer unit 17 as vertically written text data including partially horizontally written characters. By simply specifying the range in which you want to perform partial horizontal writing for the data, the character font in the specified range is automatically reduced following horizontal writing and the horizontal font is printed. Very easy. In addition, it is possible to perform tape printing including partial horizontal writing characters in the vertical writing character string.

【0065】[0065]

【発明の効果】以上のように、本発明によれば、記憶手
段に記憶された文字列全体を帯状記録紙の長さ方向に縦
書きで印刷する縦書印刷として設定された文字列中の任
意の文字列に対して、前記記録紙の幅方向に横書きで印
刷する部分横書印刷に設定を変更し印刷を指示すると、
前記部分横書印刷に設定変更された任意の文字列の長さ
サイズが前記縦書印刷として設定された文字列の幅サイ
ズに揃えられて、縦書印刷として設定された文字列が前
記記録紙の長さ方向に縦書きで印刷されると共に、部分
横書印刷として設定された文字列が前記記録紙の幅方向
に横書きで印刷されるようになる。
As described above, according to the present invention, the entire character string stored in the storage means is printed vertically in the lengthwise direction of the band-shaped recording paper. For any character string, if you change the setting to partial horizontal printing to print horizontally in the width direction of the recording paper and instruct printing,
The length size of an arbitrary character string whose setting is changed to the partial horizontal print is aligned with the width size of the character string set as the vertical print, and the character string set as the vertical print is the recording paper. In addition to being printed vertically in the lengthwise direction, the character string set as the partial horizontal printing is printed horizontally in the widthwise direction of the recording paper.

【0066】よって、例えばブロック書式の設定やブロ
ック内文字サイズの設定,改行操作等、煩わしい操作を
行なう必要なく、非常に簡単に縦書き文字列の中に部分
横書き文字を含めて印刷することが可能になる。
Therefore, for example, it is possible to very easily print a partially written horizontal character in a vertically written character string without the need for complicated operations such as setting of a block format, setting of a character size in a block, and line feed operation. It will be possible.

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

【図1】本発明の実施の形態に係わる印刷装置を搭載し
たテーププリンタの電子回路の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an electronic circuit of a tape printer equipped with a printing apparatus according to an embodiment of the present invention.

【図2】前記テーププリンタのRAMに備えられるレジ
スタの構成を示す図。
FIG. 2 is a diagram showing a configuration of registers included in a RAM of the tape printer.

【図3】前記テーププリンタのRAMにおける入力バッ
ファにテキストデータとして記憶される文字列データの
1文字分のデータ構造を示す図。
FIG. 3 is a diagram showing a data structure of one character of character string data stored as text data in an input buffer in the RAM of the tape printer.

【図4】前記テーププリンタによるテキスト作成処理を
示すフローチャート。
FIG. 4 is a flowchart showing a text creation process by the tape printer.

【図5】前記テーププリンタによるテープ印刷処理を示
すフローチャート。
FIG. 5 is a flowchart showing tape printing processing by the tape printer.

【図6】前記テーププリンタのテキスト作成処理に伴な
うテキストデータの入力表示状態を示す図。
FIG. 6 is a diagram showing an input display state of text data accompanying the text creation processing of the tape printer.

【図7】前記テーププリンタのテープ印刷処理に伴なう
テキストデータの印刷状態を示す図。
FIG. 7 is a diagram showing a printing state of text data associated with a tape printing process of the tape printer.

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

11 …制御部(CPU)、 12 …キー入力部、 13 …ROM、 14 …キャラクタジェネレータ、 15 …RAM、 15a…入力バッファ、 15b…表示バッファ、 15c…印字バッファ、 15d…動作モードフラグレジスタ(A)、 15e…書式モードフラグレジスタ(B)、 15f…文字サイズデータメモリ、 15g…文字フォントデータメモリ、 15h…文字修飾データメモリ、 15i…ポインタレジスタ(P)、 15j…カウンタレジスタ(C)、 15k…テープ幅データレジスタ、 16 …液晶表示部、 17 …プリンタ部。 11 ... Control part (CPU), 12 ... Key input part, 13 ... ROM, 14 ... Character generator, 15 ... RAM, 15a ... Input buffer, 15b ... Display buffer, 15c ... Print buffer, 15d ... Operation mode flag register (A ), 15e ... Format mode flag register (B), 15f ... Character size data memory, 15g ... Character font data memory, 15h ... Character modification data memory, 15i ... Pointer register (P), 15j ... Counter register (C), 15k ... tape width data register, 16 ... liquid crystal display section, 17 ... printer section.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文字列を記憶する記憶手段と、 前記文字列全体を帯状の記録紙の長さ方向に縦書きで印
刷する縦書印刷と横書きで印刷する横書印刷の何れかを
設定する印刷方向設定手段と、 前記縦書印刷が設定されているときに、前記文字列中の
任意の文字列を前記記録紙の幅方向に横書きで印刷する
部分横書印刷に設定を変更する設定変更手段と、 前記部分横書印刷が設定された文字列の長さサイズを前
記縦書印刷が設定された文字列の幅サイズに揃えて、前
記縦書印刷が設定された文字列を前記記録紙の長さ方向
に縦書きで印刷すると共に、前記部分横書印刷が設定さ
れた文字列を前記記録紙の幅方向に横書きで印刷する印
刷制御手段とを具備したことを特徴とする印刷装置。
1. A storage means for storing a character string, and either of vertical writing for printing the entire character string vertically in a lengthwise direction of a belt-shaped recording paper or horizontal printing for printing horizontally is set. A print direction setting unit and a setting change for changing the setting to a partial horizontal print in which any character string in the character string is printed horizontally in the width direction of the recording paper when the vertical print is set. Means for aligning the length size of the character string for which the partial horizontal writing is set to the width size of the character string for which the vertical writing is set, and setting the character string for which the vertical writing is set to the recording paper. And a print control unit for printing the character string for which the partial horizontal print is set in the lengthwise direction of the recording paper in the horizontal direction of the recording paper.
【請求項2】 前記印刷制御手段は、前記文字列の印刷
サイズを前記記録紙の印刷領域に印刷可能な最大サイズ
に決める文字サイズ決定手段を有することを特徴とする
請求項1記載の印刷装置。
2. The printing apparatus according to claim 1, wherein the print control unit includes a character size determination unit that determines a print size of the character string to a maximum size printable in a print area of the recording paper. .
【請求項3】 さらに、 文字フォントを記憶する文字フォント記憶手段を備え、 前記印刷制御手段は、前記部分横書印刷が設定されてい
る文字列に対応する前記文字フォント記憶手段に記憶さ
れている文字フォントから異なるサイズの文字フォント
を作成する文字フォント作成手段を有することを特徴と
する請求項1又は請求項2記載の印刷装置。
3. A character font storage unit for storing a character font is further provided, and the print control unit is stored in the character font storage unit corresponding to the character string for which the partial horizontal writing is set. 3. The printing apparatus according to claim 1, further comprising character font creating means for creating character fonts of different sizes from the character font.
【請求項4】 前記設定変更手段は、前記記憶手段に記
憶された文字列を表示する表示手段と、この表示手段に
表示される文字列中の任意の範囲の文字列を指定する入
力手段とを有することを特徴とする請求項1乃至請求項
3の何れか1項記載の印刷装置。
4. The setting change means includes a display means for displaying a character string stored in the storage means, and an input means for designating an arbitrary range of character strings in the character string displayed on the display means. The printing apparatus according to any one of claims 1 to 3, further comprising:
【請求項5】 帯状の記録紙に任意の文字を印刷する印
刷装置において、 文字列及び文字サイズを入力する入力手段と、 前記文字列全体を前記記録紙の長さ方向に縦書きで印刷
する縦書印刷と横書きで印刷する横書印刷の何れかを設
定する印刷方向設定手段と、前記縦書印刷が設定されて
いるときに、前記文字列中の任意の文字列を前記記録紙
の幅方向に横書きで印刷する部分横書印刷に設定を変え
る設定変更手段と、前記入力手段から入力される文字列
のデータと、この文字列の各文字のデータに前記入力手
段から入力された文字サイズ、前記印刷方向設定手段及
び設定変更手段で設定された印刷方向のデータを対応し
て記憶する記憶手段と、この記憶手段に記憶されたデー
タに基づいて前記部分横書印刷が設定された文字列の長
さサイズを前記縦書印刷が設定された文字列の幅サイズ
に揃えて、前記縦書印刷が設定された文字列を前記記録
紙の長さ方向に縦書きで印刷すると共に、前記部分横書
印刷が設定された文字列を前記記録紙の幅方向に横書き
で印刷する印刷手段とを具備したことを特徴とする印刷
装置。
5. A printing device for printing arbitrary characters on a band-shaped recording paper, inputting means for inputting a character string and a character size, and printing the entire character string vertically in the length direction of the recording paper. A print direction setting unit for setting either vertical writing or horizontal writing for horizontal writing, and an arbitrary character string in the character string when the vertical printing is set, the width of the recording paper. Setting changing means for changing the setting to partial horizontal printing for horizontal writing in a certain direction, character string data input from the inputting means, and character size input from the inputting means to each character data of the character string Storing means for correspondingly storing the data of the printing direction set by the printing direction setting means and the setting changing means, and a character string for which the partial horizontal printing is set based on the data stored in the storing means Length size Aligning to the width size of the character string for which the vertical writing is set, the character string for which the vertical writing is set is printed vertically in the length direction of the recording paper, and the partial horizontal printing is set. And a printing unit that prints the written character string horizontally in the width direction of the recording paper.
JP8013200A 1996-01-29 1996-01-29 Printing device Abandoned JPH09202010A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP8013200A JPH09202010A (en) 1996-01-29 1996-01-29 Printing device
MYPI97000293A MY124094A (en) 1996-01-29 1997-01-27 Tape printers
CN97100490A CN1116989C (en) 1996-01-29 1997-01-29 Tape printers
KR1019970002620A KR100244017B1 (en) 1996-01-29 1997-01-29 Tape printer
HK98104899A HK1005672A1 (en) 1996-01-29 1998-06-04 Tape printers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8013200A JPH09202010A (en) 1996-01-29 1996-01-29 Printing device

Publications (1)

Publication Number Publication Date
JPH09202010A true JPH09202010A (en) 1997-08-05

Family

ID=11826527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8013200A Abandoned JPH09202010A (en) 1996-01-29 1996-01-29 Printing device

Country Status (5)

Country Link
JP (1) JPH09202010A (en)
KR (1) KR100244017B1 (en)
CN (1) CN1116989C (en)
HK (1) HK1005672A1 (en)
MY (1) MY124094A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7052196B2 (en) * 2002-10-31 2006-05-30 Brother Kogyo Kabushiki Kaisha Width and lengthwise direction tape printing control device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7052196B2 (en) * 2002-10-31 2006-05-30 Brother Kogyo Kabushiki Kaisha Width and lengthwise direction tape printing control device and program

Also Published As

Publication number Publication date
CN1116989C (en) 2003-08-06
CN1169564A (en) 1998-01-07
MY124094A (en) 2006-06-30
KR970059944A (en) 1997-08-12
HK1005672A1 (en) 1999-01-22
KR100244017B1 (en) 2000-03-02

Similar Documents

Publication Publication Date Title
JP2879756B2 (en) Printer device
US5399030A (en) Tape print device having print format control
US6064802A (en) Character information processor for printing characters
US5395173A (en) Bar code and text printer capable of displaying bar code location
JP2629516B2 (en) Tape printer
JP2621741B2 (en) Recording device
JP2985910B2 (en) Printing device
JP2864412B2 (en) Printing equipment
US5413420A (en) Wordprocessing device
JPH09202010A (en) Printing device
JP3249687B2 (en) Tape-shaped label making device
JP2879757B2 (en) Printing equipment
US5924106A (en) Tape printing device and method
JP2998829B2 (en) Tape-shaped label making device
JPH05177901A (en) Printer
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JP3064810B2 (en) Label making device
JPH07125373A (en) Printing device
JP3292393B2 (en) Document processing device
JP3209236B2 (en) Document processing apparatus and document processing method
JP3417686B2 (en) Document processing device
JP3445661B2 (en) Tape-shaped label making device
JPH07314802A (en) Printer
JP3463268B2 (en) Printed data development device
JP3168744B2 (en) Printing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060221

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20060420