JPH07102716B2 - Text printing control device - Google Patents

Text printing control device

Info

Publication number
JPH07102716B2
JPH07102716B2 JP60261502A JP26150285A JPH07102716B2 JP H07102716 B2 JPH07102716 B2 JP H07102716B2 JP 60261502 A JP60261502 A JP 60261502A JP 26150285 A JP26150285 A JP 26150285A JP H07102716 B2 JPH07102716 B2 JP H07102716B2
Authority
JP
Japan
Prior art keywords
character
character data
print
enlarged
vertical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60261502A
Other languages
Japanese (ja)
Other versions
JPS62121065A (en
Inventor
潤一 羽斗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP60261502A priority Critical patent/JPH07102716B2/en
Publication of JPS62121065A publication Critical patent/JPS62121065A/en
Publication of JPH07102716B2 publication Critical patent/JPH07102716B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数の文字データの各々を対応する文字パタ
ーンに展開して印字する文章印字制御装置に関する。
Description: TECHNICAL FIELD The present invention relates to a text print control device for expanding and printing each of a plurality of character data into a corresponding character pattern for printing.

[従来の技術] 従来、日本語パーソナルワードプロセッサにおいては、
文章入力した際に倍角キーを操作することによって強調
したい文字等を拡大印字することができる。
[Prior Art] Conventionally, in a Japanese personal word processor,
By operating the double-size key when entering a sentence, the characters to be emphasized can be enlarged and printed.

また、表示画面に表示される複数の文字データ全体を各
文字データ毎に横方向、および縦方向に所望倍率で拡大
できるようにした表示制御装置もある。
Further, there is also a display control device which is capable of enlarging a plurality of entire character data displayed on a display screen for each character data in a horizontal direction and a vertical direction at a desired magnification.

[発明が解決しようとする課題] しかしながら、上記パーソナルワードプロセッサにおい
ては、倍角キーの操作で拡大指定が可能な文字サイズは
予め決められた大きさでしか行うことができなかった。
[Problems to be Solved by the Invention] However, in the above-mentioned personal word processor, the character size that can be designated to be enlarged by operating the double-size key can be limited to a predetermined size.

また、上記表示制御装置では、拡大できる対象が複数の
文字データ全体に限られており、複数の文字データのう
ち所望する文字データについてのみを、所望する横方向
の倍率、及び所望する縦方向の倍率で拡大することはで
きなかった。
Further, in the above display control device, the object that can be enlarged is limited to the entire plurality of character data, and only the desired character data among the plurality of character data is displayed in the desired horizontal magnification and in the desired vertical direction. It could not be magnified.

本発明の課題は、複数行にわたる複数の文字データのう
ち所望する任意の文字データに対してだけ横方向及び縦
方向の拡大倍率を個別に自由に設定でき、その設定に基
づいた拡大倍率の印字を行なえるようにすることであ
る。
An object of the present invention is to set the magnification in the horizontal and vertical directions individually and freely only for desired character data among a plurality of character data over a plurality of lines, and print the magnification based on the setting. Is to be able to do.

[課題を解決するための手段] 本発明の手段は次の通りである。[Means for Solving the Problems] Means of the present invention are as follows.

文字の縦方向におけるm倍の縦拡大倍率(mは2以上の
整数)、及び文字の横方向におけるn倍の横拡大倍率
(nは2倍の整数)が個別に設定された文字データと、
上記縦拡大倍率及び横拡大倍率の設定されていない文字
データと、を同一行上において混在可能な文章データを
複数行記憶する文章記憶手段と、この文章記憶手段に記
憶された各文字データを順次読み出し、その読み出され
た個々の文字データ毎に、その文字データが上記縦拡大
倍率及び横拡大倍率が個別に設定された文字データであ
るか否かを判別する判別手段と、この判別手段で判別さ
れた文字データが、上記縦拡大倍率及び横拡大倍率の設
定されていない文字データであると判別された場合に
は、その文字データに対応して、拡大処理のされていな
い所定サイズの文字パターンを、上記文章データ上にお
けるその文字データの行及び桁位置に対応する印字用紙
上の印字位置より印字出力するよう制御する第1の印字
制御手段と、上記判別手段で判別された文字データが、
上記縦拡大倍率及び横拡大倍率が個別に設定された文字
データであると判別された場合には、その文字データに
対する、上記縦拡大倍率の倍率数m、及び上記横拡大倍
率の倍率数nを夫々個別に検出し、その文字データに対
応する上記所定サイズの文字パターンを、その縦方向に
おいては上記倍率数mに従ってm倍に拡大変換し、且つ
その横方向においては上記倍率数nに従ってn倍に拡大
変換する文字パターン変換手段と、上記縦拡大倍率及び
横拡大倍率が個別に設定された文字データについて、上
記倍率数mの値及びnの知に応じて上記文章データ上に
おけるその文字データの行及び桁位置に対応する印字用
紙上の印字位置より他の印字行領域及び他の印字桁領域
に跨がるべく拡大された印字展開領域に、上記文字パタ
ーン変換手段で拡大変換された拡大文字パターンを印字
出力するよう制御する第2の印字制御手段と、を具備し
たことを特徴とする。
Character data in which a vertical magnification of m times in the vertical direction of a character (m is an integer of 2 or more) and a horizontal magnification of n times in the horizontal direction of a character (n is an integer of 2) are individually set,
A text storage unit for storing a plurality of lines of text data in which the vertical enlargement ratio and the character data for which the horizontal enlargement ratio is not set can be mixed on the same line, and the character data stored in the sentence storage unit are sequentially arranged. A discriminating unit for discriminating whether or not the read character data is the character data for which the vertical enlargement magnification and the horizontal enlargement magnification are individually set for each of the read individual character data. When it is determined that the determined character data is character data for which the vertical enlargement ratio and the horizontal enlargement ratio are not set, a character of a predetermined size that has not been enlarged corresponding to the character data. First print control means for controlling the pattern so as to print out from the print position on the print paper corresponding to the line and column position of the character data on the text data; Character data determined by means,
When it is determined that the vertical enlargement magnification and the horizontal enlargement magnification are character data set individually, the vertical enlargement magnification factor m and the horizontal enlargement magnification factor n for the character data are set. Each of them is detected individually, and the character pattern of the predetermined size corresponding to the character data is enlarged and converted to m times in the vertical direction according to the magnification factor m, and n times in the horizontal direction according to the magnification factor n. With respect to the character pattern conversion means for enlarging and converting the character data and the character data in which the vertical enlarging magnification and the lateral enlarging magnification are individually set, the character data The character pattern conversion means expands the print position on the printing paper corresponding to the line and column position to the print expansion region that is enlarged to span other print line regions and other print column regions. And second print control means for controlling so as to print out the converted enlarged character pattern, characterized by comprising a.

[作用] 本発明の手段の作用は次の通りである。[Operation] The operation of the means of the present invention is as follows.

文章記憶手段には、文字の縦方向におけるm倍の縦拡大
倍率(mは2以上の整数)、及び文字の横方向における
n倍の横拡大倍率(nは2倍の整数)が個別に設定され
た文字データと、上記縦拡大倍率及び横拡大倍率の設定
されていない文字データと、を同一行上において混在可
能な文章データが複数行記憶されており、この文章記憶
手段に記憶された各文字データは順次読み出されて、そ
の読み出された個々の文字データ毎に、その文字データ
が上記縦拡大倍率及び横拡大倍率が個別に設定された文
字データであるか否かが判別され、この判別された文字
データが、上記縦拡大倍率及び横拡大倍率の設定されて
いない文字データであると判別された場合には、その文
字データに対応して、拡大処理のされていない所定サイ
ズの文字パターンが、上記文章データ上におけるその文
字データの行及び桁位置に対応する印字用紙上の印字位
置より印字出力される。一方、上記判別で上記縦拡大倍
率及び横拡大倍率が個別に設定された文字データである
と判別された場合には、その文字データに対する、上記
縦拡大倍率の倍率数m、及び上記横拡大倍率の倍率数n
を夫々個別に検出され、その文字データに対応する上記
所定サイズの文字パターンが、その縦方向においては上
記倍率数mに従ってm倍に拡大変換され、且つその横方
向においては上記倍率数nに従ってn倍に拡大変換され
る。そして、上記縦拡大倍率及び横拡大倍率が個別に設
定された文字データについて、上記倍率数mの値及びn
の値に応じて上記文章データ上におけるその文字データ
の行及び桁位置に対応する印字用紙上の印字位置より他
の印字行領域及び他の印字桁領域に跨がるべく拡大され
た印字展開領域に、上記拡大変換された拡大文字パター
ンが印字出力される。
A vertical magnification of m times in the vertical direction of the character (m is an integer of 2 or more) and a horizontal magnification of n times in the horizontal direction of the character (n is an integer of 2) are individually set in the text storage means. A plurality of lines of text data capable of mixing the written character data and the character data for which the vertical enlargement ratio and the horizontal enlargement ratio have not been set are stored in each line, and each of the text data stored in the sentence storage means is stored. The character data is sequentially read, and for each of the read individual character data, it is determined whether or not the character data is character data in which the vertical enlargement ratio and the horizontal enlargement ratio are individually set. When it is determined that the determined character data is the character data for which the vertical enlargement ratio and the horizontal enlargement ratio are not set, the character data having a predetermined size that has not been enlarged corresponds to the character data. Character pattern It is printed out from the printing position on the print sheet corresponding to the row and column position of the character data on the text data. On the other hand, when it is determined in the above determination that the vertical enlargement ratio and the horizontal enlargement ratio are character data set individually, the magnification number m of the vertical enlargement ratio and the horizontal enlargement ratio for the character data. Magnification number n
Are individually detected, and the character pattern of the predetermined size corresponding to the character data is enlarged and converted to m times in the vertical direction according to the magnification factor m, and in the horizontal direction according to the magnification factor n. It is enlarged and converted to double. Then, for the character data in which the vertical enlargement ratio and the horizontal enlargement ratio are individually set, the value of the magnification number m and n
Depending on the value of, the print expansion area expanded to extend from the print position on the print paper corresponding to the line and column position of the character data on the text data to another print line region and another print digit region. Then, the enlarged character pattern that has been enlarged and converted is printed out.

従って、文字を拡大する場合は縦方向にm倍(mは2以
上の整数)、横方向にn倍(nは2以上の整数)で夫々
個別の倍率で文字を拡大変形できるものであり、その縦
倍率及び横倍率の組合わせの数は極めて多いものとな
り、1つの文字に対する文字拡大の際の表現力が多彩な
ものとなるものであり、しかも、1つの文字に対する上
記縦倍率及び横倍率を、各文字毎に全く個別に設定でき
るものであり、このような文字を複数配置した際の複数
の文字からなる文章はその表現力が格段に向上するもの
である。
Therefore, when enlarging a character, the character can be magnified and deformed at individual magnifications of m times in the vertical direction (m is an integer of 2 or more) and n times in the horizontal direction (n is an integer of 2 or more). The number of combinations of the vertical magnification and the horizontal magnification becomes extremely large, and the expressive power when enlarging a character for one character becomes various, and moreover, the vertical magnification and the lateral magnification for one character are also increased. Can be set individually for each character, and the expression of a sentence composed of a plurality of characters when a plurality of such characters are arranged is significantly improved.

[第1実施例] 以下、この発明の第1実施例を第1図〜第11図を参照し
て具体的に説明する。なお、本実施例は日本語パーソナ
ルワードプロセッサに適用した例である。
[First Embodiment] A first embodiment of the present invention will be specifically described below with reference to FIGS. 1 to 11. This embodiment is an example applied to a Japanese personal word processor.

実施例の構成 第1図はこのワードプロセッサのブロック回路図で、こ
の入力部1のキーボード上にはカナ文字、ローマ字、数
字等の文字入力キーや漢字変換キー、カーソル移動キ
ー、印字キー、縦倍角キー、横倍角キー等が設けられて
いる。ここで、印字キーは印字動作を開始させる為のキ
ー、縦倍角キーは標準サイズ(全角サイズ)に対して縦
方向に拡大指定する為のキー、横倍角キーは全角サイズ
に対して横方向に拡大指定する為のキーである。しかし
て、キー入力部1から操作キーに対応して出力されるキ
ー入力信号は入力制御部2に蓄えられたのちCPU(中央
演算処理回路)3に入力され、そのキー処理プログラム
を指定する。
Configuration of Embodiment FIG. 1 is a block circuit diagram of this word processor. On the keyboard of the input section 1, character input keys such as kana characters, roman letters, and numbers, kanji conversion keys, cursor movement keys, print keys, and double-height characters are displayed. Keys, double-width keys, etc. are provided. Here, the print key is a key for starting the printing operation, the vertical double-width key is a key for vertically enlarging the standard size (full-width size), and the horizontal double-width key is a horizontal direction for the full-width size. This is a key to specify enlargement. Then, the key input signal output from the key input unit 1 corresponding to the operation key is stored in the input control unit 2 and then input to the CPU (central processing unit) 3 to specify the key processing program.

CPU3は予め記憶されているマイクロプログラムに応じて
キー入力処理、漢字変換処理、文字拡大処理(自由倍角
処理)、印字処理等を制御するもので拡大文字の印字処
理に用いられる各種のレジスタ、即ち、文章メモリ4の
トップアドレスを記憶するT.ADDレジスタ、文章メモリ
4からの読出コードを一時記憶するRCレジスタの他、
X、Y、A、B、P、C1〜C3レジスタを有する構成とな
っている。
The CPU3 controls key input processing, kanji conversion processing, character enlargement processing (double-width processing), printing processing, etc. according to a microprogram stored in advance, and various registers used for printing processing of enlarged characters, that is, , T.ADD register that stores the top address of the text memory 4, RC register that temporarily stores the read code from the text memory 4,
X, which is Y, A, B, P, configured to have a C 1 -C 3 register.

文章メモリ4はRAM(ランダムアクセスメモリ)によっ
て構成され、CPU3の制御下でその書込みおよび読出し動
作が制御されるもので、キー操作に伴って入力された文
字コードや縦倍角コード、横倍角コードが記憶されてい
る。そして、文章メモリ4からは読出しアドレス記憶部
R.ADDの出力にしたがってアドレス指定された文字コー
ド等が読み出され、CPU3内のRCレジスタに取り込まれ
る。なお、読出しアドレス記憶部R.ADDにはCPU3内のT.A
DDレジスタの内容がセットされると共に、CPU3の制御下
で読出しアドレス記憶部R.ADDの内容が更新される。し
かして、RCレジスタに取り込まれた文字コードはキャラ
クタジェネレータ5に送られる。キャラクタジェネレー
タ5は例えば1文字が24×24ドット構成の文字パターン
(ドットパターン)を各文字に対応して記憶するもの
で、入力される文字コードに対応するドットパターンは
CPU3および拡大パターン作成部6に供給される。拡大パ
ターン作成部6はCPU3から出力される信号R0、R1に応じ
てキャラクタジェネレータ5からのドットパターンを拡
大した拡大ドットパターンを生成するもので、この拡大
文字パターンは拡大パターンメモリ7に一時記憶された
のちCPU3に取り込まれる。ここで、信号R0、R1は拡大情
報が記憶されているレジスタテーブル8の内容に応じて
出力されるもので、信号R0は縦倍角を指定する信号、ま
た信号R1は横倍角を指定する信号である。また拡大パタ
ーンメモリ7は1文字分の拡大ドットパターンのうちCP
U3内のC3レジスタの値で示される行ドット目までの分割
パターンを順次CPU3に供給するもので、拡大文字の印字
がおわるまで拡大ドットパターンを保持している。
The text memory 4 is composed of a RAM (random access memory), and its writing and reading operations are controlled under the control of the CPU 3. The character code, the vertical double-width code, and the double-width double-width code input with the key operation are Remembered Then, the read address storage unit is read from the text memory 4.
According to the output of R.ADD, the character code or the like addressed is read and loaded into the RC register in the CPU3. The read address memory R.ADD contains TA in CPU3.
While the contents of the DD register are set, the contents of the read address storage unit R.ADD are updated under the control of the CPU3. Then, the character code fetched in the RC register is sent to the character generator 5. The character generator 5 stores, for example, a character pattern (dot pattern) in which one character has a structure of 24 × 24 dots corresponding to each character, and the dot pattern corresponding to the input character code is
It is supplied to the CPU 3 and the enlarged pattern creation unit 6. The enlarged pattern creating unit 6 generates an enlarged dot pattern by enlarging the dot pattern from the character generator 5 according to the signals R 0 and R 1 output from the CPU 3, and the enlarged character pattern is temporarily stored in the enlarged pattern memory 7. After being stored, it is taken into CPU3. Here, the signals R 0 and R 1 are output according to the contents of the register table 8 in which the enlargement information is stored. The signal R 0 is a signal designating a vertical double angle, and the signal R 1 is a horizontal double angle. This is a designated signal. In addition, the enlarged pattern memory 7 uses CP among the enlarged dot patterns for one character.
Supplies a division pattern of up to the line-th dot indicated by the value of C 3 registers in the U3 sequence to CPU 3, holds the expanded dot pattern to the printing of the enlarged characters ending.

また、このワードプロセッサは熱転写式のサーマルプリ
ンタを使用し、桁ピッチテーブル9、行ピッチテーブル
10の内容に応じてそのキャリッジ、プラテンのピッチ駆
動を行なうようになっている。即ち、桁ピッチテーブル
9、行ピッチテーブル10は各アドレス領域に対応して桁
ピッチ、行ピッチを夫々記憶するもので桁ピッチテーブ
ル9、行ピッチテーブル10は対応する桁アドレス部XT
P、行アドレス部YTPの内容にしたがってアドレス指定さ
れ、その指定アドレス領域の内容が読み出されて夫々CP
U3に取り込まれる。なお、桁アドレス部XTP、行アドレ
ス部YTPの内容はCPU3によって制御されてアドレスの更
新が行なわれる。しかしてCPU3に取り込まれた桁ピッ
チ、行ピッチデータは印字制御部11に送られてキャリッ
ジCR、プラテンPRのピッチ駆動を制御する。また、CPU3
から出力されるドットパターンは印字バッファ12に蓄え
られたのち印字制御部11に送られ、ドットパターンに応
じて印字ヘッドHDを駆動する。
In addition, this word processor uses a thermal transfer type thermal printer and is equipped with a digit pitch table 9 and a row pitch table.
According to the contents of 10, the pitch of the carriage and platen is driven. That is, the digit pitch table 9 and the row pitch table 10 store the digit pitch and the row pitch respectively corresponding to each address area. The digit pitch table 9 and the row pitch table 10 correspond to the corresponding digit address section XT.
P, the address is specified according to the contents of the row address section YTP, the contents of the specified address area are read out, and CP
Captured by U3. The contents of the digit address part XTP and the row address part YTP are controlled by the CPU 3 to update the address. Then, the digit pitch and line pitch data fetched by the CPU 3 is sent to the print controller 11 to control the pitch drive of the carriage CR and the platen PR. Also, CPU3
The dot pattern output from is stored in the print buffer 12 and then sent to the print control unit 11 to drive the print head HD according to the dot pattern.

ここで、本実施例のプリンタは印字ヘッドHDのドット規
模が34ドット構成で、行単位の印字を行う場合に、行ピ
ッチ34ドットに対して行間ピッチは10ドットに設定され
ており、したがって全角文字を1行24ドット、1桁24ド
ットで印字するようになっている。
Here, in the printer of the present embodiment, when the print head HD has a dot size of 34 dots and line-by-line printing is performed, the line pitch is 34 dots and the line spacing is set to 10 dots. Characters are printed with 24 dots per line and 24 dots per digit.

なお、キー入力操作等に伴ってCPU3から出力される文字
コード等は表示制御部13に送られて表示駆動信号に変換
されたのち表示部14にて表示される。表示部14は液晶表
示装置によって構成され、文字等をドットマトリックス
駆動方式にしたがって表示する。
The character code output from the CPU 3 in response to a key input operation or the like is sent to the display control unit 13 and converted into a display drive signal, and then displayed on the display unit 14. The display unit 14 is composed of a liquid crystal display device, and displays characters and the like according to the dot matrix driving method.

第2図は桁ピッチテーブル9の構成を示し、各アドレス
領域「0」、「1」、「2」……に対応して桁ピッチデ
ータが記憶されている。なお、本実施例においては、各
桁ピッチが夫々「28」に設定され、夫々同一ピッチとな
っている。
FIG. 2 shows the configuration of the digit pitch table 9, in which digit pitch data is stored corresponding to each address area "0", "1", "2" .... In this embodiment, each digit pitch is set to "28", and the pitches are the same.

第3図は行ピッチテーブル10の構成を示し、各アドレス
領域「0」、「1」、「2」……に対応して行ピッチデ
ータが記憶されている。なお、本実施例においては各行
ピッチが夫々「34」に設定され、夫々同一ピッチとなっ
ている。
FIG. 3 shows the configuration of the row pitch table 10, in which row pitch data is stored in correspondence with each address area "0", "1", "2" .... In the present embodiment, each row pitch is set to "34", and the row pitches are the same.

第4図は上記レジスタテーブル8の構成を示し、このレ
ジスタテーブル8は文章メモリ4において、拡大指定さ
れている文字を含む行の各桁に対応してその拡大情報を
記憶するものである。そして、レジスタテーブル8の縦
方向のアドレス「0」、「1」、「2」……は文章メモ
リ4の桁アドレスに対応付けられており、各アドレス領
域にはメモリR0、R1、R2、R3、R4が設けられている。こ
こで、メモリR0は文章メモリ4に記憶されている縦倍角
コードの数を記憶し、メモリR1は横倍角コードの数を記
憶する。また、メモリR2は拡大指定されている文字コー
ドを記憶する。更に、メモリR3は後述するスペースドッ
ト数を記憶する。また、メモリR4は、各行の印字開始位
置を示すドットポジションを記憶する。
FIG. 4 shows the configuration of the register table 8 described above. The register table 8 stores the enlargement information corresponding to each digit of the line containing the enlargement-designated character in the text memory 4. The vertical addresses “0”, “1”, “2”, ... Of the register table 8 are associated with the digit addresses of the text memory 4, and the memories R 0 , R 1 , R are provided in the respective address areas. 2 , R 3 and R 4 are provided. Here, the memory R 0 stores the number of vertical double-width codes stored in the text memory 4, and the memory R 1 stores the number of horizontal double-width codes. Further, the memory R 2 stores the character code designated for enlargement. Further, the memory R 3 stores the number of space dots described later. Further, the memory R 4 stores the dot position indicating the print start position of each line.

第5図および第6図は全角サイズの24×24ドットの文字
パターンを縦横5×5倍に拡大した場合にその拡大文字
パターンの印字領域と出力パターンとの関係を示した図
である。24×24ドットパターンが5×5倍に拡大される
と、120×120ドット規模の拡大パターンとなる。いま、
仮にこの拡大パターンと1行24ドットで行間ピッチ(10
ドット)をあけながら1行ずつ分割して印字したものと
すると、この印字パターンには各行間スペースが含まれ
ることになるので、実際の拡大パターンよりも大きな領
域、即ち、第5図、第6図に示す領域A内に拡大文字が
印字されることになる。このようにAの領域に拡大文字
を印字したものとすると、各行間に空白スペースが形成
され、拡大文字が分割された形態で印字される。そこで
各行間パターンのスペースドット数の総和を求め、この
スペースドット数分の空白を拡大文字の上側に形成する
ように印字したのち行間を埋めるように、拡大パターン
を1行ずつ分割印字するようにすれば、各行間に空白の
ない拡大文字がBの領域に印字される。この結果、拡大
文字は上記Aの領域の下側に配置された形態で印字され
ることになる。なお、このBの領域が拡大文字の印字専
有領域となり、実際の拡大パターンに相当する。しかし
て、R3はメモリR3内のスペースドット数を示し、この値
に対応する部分に空白が形成される。この場合、出力パ
ターンは1行当り34ドットであれば、スペースドット
「40」の空白を形成するには、先ず34ドット分の空白を
印字したのち次行に残りのドット分の空白を印字すれば
よいことになる。また、R4はメモリR4内のドットポジシ
ョンを示し、改行される毎にその値は行ピッチ(34ピッ
チ)ずつ更新される。この場合、行ピッチは改行毎に更
新される行アドレスYTPの値(0)、(1)、(2)、
(3)、(4)……に応じて行ピッチテーブル10から読
み出されたもので、図中YTP(0)、YTP(1)、YTP
(2)、YTP(3)、YTP(4)……で表わされている。
FIG. 5 and FIG. 6 are diagrams showing the relationship between the print area of the enlarged character pattern and the output pattern when the full-width character pattern of 24 × 24 dots is enlarged 5 × 5 in the vertical and horizontal directions. When the 24 × 24 dot pattern is enlarged 5 × 5 times, it becomes an enlarged pattern of 120 × 120 dot scale. Now
Assuming that this enlarged pattern and 24 dots per line, the pitch between lines (10
If the lines are divided into lines and printed while the dots are left open, this print pattern includes spaces between the lines. Therefore, a larger area than the actual enlargement pattern, that is, FIGS. The enlarged character is printed in the area A shown in the figure. If the enlarged character is printed in the area A as described above, a blank space is formed between each line, and the enlarged character is printed in a divided form. Therefore, the sum of the number of space dots of each line spacing pattern is calculated, and a space for this number of space dots is printed so as to be formed on the upper side of the enlarged character, and then the enlarged pattern is divided and printed one line at a time so as to fill the space between lines. If so, an enlarged character having no space between each line is printed in the area B. As a result, the enlarged character is printed in a form arranged below the area A. It should be noted that this area B becomes the area exclusively for printing enlarged characters and corresponds to the actual enlarged pattern. Then, R 3 indicates the number of space dots in the memory R 3 , and a blank is formed in the portion corresponding to this value. In this case, if the output pattern is 34 dots per line, to form a space dot "40" blank, first print a blank space for 34 dots and then print a blank space for the remaining dots on the next line. It will be good. Further, R 4 indicates a dot position in the memory R 4 , and its value is updated by a line pitch (34 pitches) each time a line feed is performed. In this case, the line pitch is the line address YTP value (0), (1), (2),
It is read from the row pitch table 10 according to (3), (4), etc., and is YTP (0), YTP (1), YTP in the figure.
(2), YTP (3), YTP (4) ...

実施例の動作 このワードプロセッサの印字動作を第7図〜第9図に示
すフローチャートに基づいて説明する。なお、印字動作
を第10図に示す文章メモリ4のフォーマットに基づいて
具体的に説明するものとする。
Operation of the Embodiment The printing operation of this word processor will be described with reference to the flow charts shown in FIGS. The printing operation will be specifically described based on the format of the text memory 4 shown in FIG.

第10図は文章メモリ4に全角文字と拡大サイズが5×5
倍に設定された拡大文字および2×2倍に設定された拡
大文字を混在させて記憶させた状態を示している。即
ち、その行アドレス0番地、桁アドレス0番地には全角
文字のコードが記憶されている。また、行アドレス0〜
3番の同一桁アドレス5番地には夫々桁倍角コード、行
アドレス4番地の各桁アドレス5〜8番地には夫々横倍
角コード、そして行アドレス4番地の桁アドレス9番地
には拡大指定した文字コードが記憶され、これによって
全角文字サイズに対して縦横が5×5倍の拡大サイズが
設定されたことになる。また、行アドレス1番地、桁ア
ドレス12番地には縦倍角コード、行アドレス2番地、桁
アドレス12番地に横倍角コード、そして、行アドレス2
番地、桁アドレス13番地には拡大指定した文字コードが
記憶され、これによって全角文字サイズに対して縦横が
2×2倍の拡大サイズが設定されたことになる。ここ
で、文字拡大の設定操作は拡大すべき文字コードを入力
したのちその左側に横倍角コードを横倍角キーの操作回
数に伴って順次設定してゆき、そして最後に設定した横
倍角コードの上に縦倍角コードを縦倍角キーの操作回数
に伴って順次設定してゆくと縦倍角コードと横倍角コー
ドとはL字形状に配列され、これによって縦横ともフリ
ーサイズの自由倍角文字を簡単なキー操作で容易に設定
することが可能となる。
Figure 10 shows full-width characters and enlarged size 5x5 in the text memory 4.
The enlarged character set to double and the enlarged character set to 2 × 2 are mixed and stored. That is, the full-width character code is stored at the row address 0 and the digit address 0. Also, row address 0 to
Digit double-width code for the same digit address 5 of No. 3, horizontal double-width code for each digit address 5-8 of line address 4, and enlarged character for digit address 9 of line address 4 The code is stored, which means that an enlarged size of 5 × 5 times the vertical and horizontal size is set with respect to the full-width character size. In addition, the vertical double-width code for the row address 1 and the digit address 12, the horizontal double-width code for the row address 2, the horizontal address 12 for the digit address, and the row address 2
The enlarged character code is stored in the address and digit address 13, and the enlarged size is set to 2 × 2 times the length and width of the full-width character size. Here, for the character enlargement setting operation, after inputting the character code to be enlarged, the horizontal double-width code is set to the left side in sequence according to the number of times the horizontal double-width key is operated, and the last horizontal double-width code is set. When the double-height code is sequentially set according to the number of times the double-height key is operated, the double-height code and the double-height code are arranged in an L shape, which allows easy operation of free-size double-width characters in both vertical and horizontal directions. It becomes possible to set easily.

このようにして文章メモリ4に全角文字と拡大文字とを
混在させた状態で記憶させた場合において、その内容を
印字させる為に印字キーを操作すると、第7図〜第9図
で示す印字処理フローにしたがった動作が実行開始され
る。先ず、印字動作の開始に当ってこの印字動作に必要
とされる各種の情報を初期化する為のイニシャライズ処
理(ステップS1〜S3)が実行される。即ち、文章メモリ
4のトップアドレスがT.ADDレジスタにセットされる。
そして、着目行の初期値「0」がYレジスタにセットさ
れると共に、行ピッチテーブル10の行アドレス部YTPに
初期値「0」がセットされ、またレジスタテーブル8の
全桁に対応するメモリR0.nの内容がクリアされる。次
で、着目桁の初期値「0」がXレジスタにセットされる
と共にT.ADDレジスタ内のトップアドレスが読出しアド
レス記憶部R.ADDにセットされる。
In this way, when the full-width characters and the enlarged characters are stored in the text memory 4 in a mixed state, if the print key is operated to print the contents, the printing process shown in FIGS. 7 to 9 is performed. The operation according to the flow is started. First, at the start of the printing operation, an initialization process (steps S1 to S3) for initializing various kinds of information required for the printing operation is executed. That is, the top address of the text memory 4 is set in the T.ADD register.
Then, the initial value "0" of the row of interest is set in the Y register, the initial value "0" is set in the row address portion YTP of the row pitch table 10, and the memory R corresponding to all the digits of the register table 8 is set. 0. the contents of n is cleared. Next, the initial value "0" of the digit of interest is set in the X register and the top address in the T.ADD register is set in the read address storage unit R.ADD.

このようなイニシャライズ処理が終ると、読出しアドレ
ス記憶部R.ADDの内容にしたがって文章メモリ4から読
み出されたコードがRCレジスタに転送される(ステップ
S4)。そして読出しアドレス記憶部R.ADDの内容を+1
するインクリメント処理(ステップS5)が実行されたの
ち、次のステップS6でレジスタテーブル8の各メモリR0
のうちXレジスタの桁アドレスで指定されるメモリR
0(X)の内容が「0」かが調べられるが、最初はメモリR0
の内容が全てクリアされているので、ステップS7に進
み、RCレジスタの読出レコードが縦倍角コードであるか
が調べられる。いま、文書メモリ3のトップアドレスか
らは文字コードが読み出されたので、その文字コードが
全角で印字される(ステップS8)。即ち、CPU3は文書メ
モリ4から読み出された文字コードを受け取ると、その
文字コードをキャラクタジェネレータ5に与え、キャラ
クタジェネレータ5からその文字コードに対応するドッ
トパターンを出力させて印字バッファ12にセットし、こ
れによって全角サイズ(24×24ドット)で1文字印字が
行なわれる(ステップS9)。この場合、キャリッジCRは
桁アドレス部XTPの内容「0」でアドレス指定される桁
ピッチ「28」分駆動される。このような1文字印字が終
ると、Xレジスタおよび桁アドレス部XTPの内容を夫々
+1するインクリメント処理(ステップS9)が実行され
たのちXレジスタの値が文章書式に応じた1桁当りの最
大桁数に達したかが調べられる(ステップS10)。い
ま、Xレジスタの桁数は「1」であるから、ステップS4
に戻る。いま、読出しアドレス記憶部R.ADDには「1」
がセットされているので、文書メモリ4の次桁の内容が
読み出されるが、いまこの桁は空白エリアとなっている
ので、空白印字となる。そして、ステップS9でインクリ
メント処理が実行されたのちステップS4に戻る。このよ
うな空白印字動作が繰り返され、その後文書メモリ4の
5桁目から縦倍角コードが読み出されると、そのことが
ステップS7で検出されて、第8図のステップS15に進
む。
When such initialization processing is completed, the code read from the text memory 4 is transferred to the RC register according to the contents of the read address storage unit R.ADD (step
S4). Then, the content of the read address storage unit R.ADD is incremented by +1.
After the increment processing (step S5) is executed, each memory R 0 of the register table 8 is processed in the next step S6.
Memory R specified by the digit address of the X register
It is checked whether the content of 0 (X) is "0", but at the beginning memory R 0
Since all the contents have been cleared, the process proceeds to step S7, and it is checked whether the read record of the RC register is the double-width code. Since the character code is now read from the top address of the document memory 3, the character code is printed in full width (step S8). That is, when the CPU 3 receives the character code read from the document memory 4, the CPU 3 gives the character code to the character generator 5, causes the character generator 5 to output a dot pattern corresponding to the character code, and sets it in the print buffer 12. As a result, one character is printed in full-width size (24 × 24 dots) (step S9). In this case, the carriage CR is driven by the digit pitch "28" which is addressed by the content "0" of the digit address part XTP. When such one character printing is completed, an increment process (step S9) is performed to increment the contents of the X register and digit address part XTP by 1 respectively, and then the value of the X register is the maximum digit per digit according to the sentence format. It is checked whether the number has been reached (step S10). Since the number of digits of the X register is "1" now, step S4
Return to. Now, the read address memory R.ADD is "1".
Since this is set, the contents of the next digit of the document memory 4 is read out, but since this digit is a blank area, blank printing is performed. Then, after the increment process is executed in step S9, the process returns to step S4. When such blank printing operation is repeated and then the double-width code is read from the fifth digit of the document memory 4, this is detected in step S7, and the process proceeds to step S15 in FIG.

このように縦倍角コードが検出されると、第8図のフロ
ーが実行される。この、フローはレジスタテーブル8に
拡大情報をセットする為の処理で、先ず、ステップS15
〜S17で縦倍角コードを計数する為の処理が実行され
る。即ち、いま、Xレジスタの値で示されるレジスタテ
ーブル8のメモリR0(X)(第5桁目のメモリR0)には初
期値「0」がセットされているので、ステップS15でそ
の値が+1されることによって「1」となる。そして、
ステップS16で文章メモリ4から次行同一桁の内容をRC
レジスタに読み込み、この読出コードが縦倍角コードか
否かが調べられる(ステップS17)。いま、次行同一桁
にも縦倍角コードが記憶されているので、メモリR0(X)
の内容が+1されて「2」となる。このような動作が繰
り返される結果、第5桁目のメモリR0には縦倍角コード
のカウント数「4」がセットされることになる(第4図
参照)。そして、更に次行同一桁の内容が読み取られる
が、この場合、横倍角コードが読み出されるので、ステ
ップS17でそのことが検出されて縦倍角コードの計数処
理は終了する。そして、今度は横倍角コードの計数処理
が実行されるが、これに先立ってXレジスタの値で示さ
れるメモリR1(X)(第5桁目のメモリR1)の内容がクリ
アされる(ステップS18)。しかして、いま、横倍角コ
ードが読み出されたので、そのことがステップS19で検
出され、メモリR1(X)の値が+1される(ステップS2
0)。そして、ステップS21で文章メモリ4から次桁のコ
ードを読み取り、それが縦倍角コードかが調べられる
(ステップS19)。このようにして文章メモリ4から次
桁の内容を次々に読み出して横倍角コード以外のコード
が検出されるまで計数動作が実行されるので、第5桁目
のメモリR1には横倍角コード数「4」がセットされる
(第4図参照)。そして、更に次桁のコードが読み出さ
れると、今度は文字コードであるから、この文字コード
の検出に伴って横倍角コードの計数処理は終了する。
When the vertical double-width code is detected in this way, the flow of FIG. 8 is executed. This flow is a process for setting the expanded information in the register table 8. First, step S15
The processing for counting vertical double-width codes is executed in S17. That is, since the initial value “0” is set in the memory R 0 (X) (fifth digit memory R 0 ) of the register table 8 indicated by the value of the X register, that value is set in step S15. Is incremented by 1 to become "1". And
In step S16, RC the contents of the same digit on the next line from the text memory 4
It is read into the register and it is checked whether or not this read code is a double-width code (step S17). Since the double-height code is also stored in the same digit on the next line, memory R 0 (X)
Is incremented by 1 to become "2". As a result of repeating such an operation, the count number "4" of the vertical double-width code is set in the memory R 0 of the fifth digit (see FIG. 4). Then, the content of the same digit in the next line is read, but in this case, since the horizontal double-width code is read, this is detected in step S17, and the vertical double-width code counting process ends. Then, the horizontal double-width code counting process is executed this time, but prior to this, the contents of the memory R 1 (X) (fifth digit memory R 1 ) indicated by the value of the X register are cleared ( Step S18). Then, since the double-width code has been read out, this is detected in step S19, and the value of the memory R 1 (X) is incremented by 1 (step S2
0). Then, in step S21, the code of the next digit is read from the text memory 4 and it is checked whether or not the code is a vertical double-width code (step S19). In this manner, the contents of the next digit are read one after another from the text memory 4 and the counting operation is executed until a code other than the horizontal double-width code is detected. Therefore, the number of horizontal double-width codes is stored in the fifth digit memory R 1. "4" is set (see FIG. 4). Then, when the code of the next digit is read out, it is a character code this time, and the counting process of the double-width code is completed in accordance with the detection of this character code.

しかして、文字コードが検出されると、Xレジスタの値
で示されるメモリR2(X)(第5桁目のメモリR2)にその
文字コードが書き込まれる(ステップS22)。その後、
スペースドット数の計数処理が行なわれる。即ち、先ず
Xレジスタの値で示されるメモリR3(X)(第5桁目のメ
モリR3)がクリアされ、行アドレス部YTPの内容がPレ
ジスタに退避され、更にR0(X)内の縦倍角コード数
「4」がC1レジスタにセットされる(ステップS23)。
このようなイニシャライズ処理が終ると、行アドレス部
YTPの値が+1される(ステップS24)。そして、1行当
たりのスペースドット数算出処理(ステップS25)が縦
倍角コード分繰り返される。即ち、ステップS26でC1
ジスタの値が−1され、その結果、次のステップS27で
はC1レジスタの値が「0」となったかが調べられ、
「0」でなければステップS24に戻ってC1レジスタの値
が「0」となるまでステップS25が繰り返される。した
がって先ず、行ピッチテーブル10から行アドレス部YTP
の値(初期値「0」)で指定される行ピッチ「34」が読
み出され、この値から「24」が減算され1行当たりの行
間ピッチ「10」が求められ、この行間ピッチとメモリR
3(X)の値「0」とが加算され、その結果がメモリR3(X)
に転送されることによってメモリR3(X)には先ず「10」
がセットされる。そして、ステップS26でC1レジスタの
値が−1されて「3」となるので、ステップS24に戻
り、行アドレス部YTPの値が「1」となる。これによっ
て行ピッチテーブル10からは行ピッチ「34」が読み出さ
れ、この値から「24」が減算されて行間ピッチ「10」が
求められ、メモリR3(X)の値「10」に加算され、その値
は「20」となる、このようしてC1レジスタの値が「0」
となるまで繰り返される結果、メモリR3(X)にはスペー
スドット数「40」がセットされる(第4図参照)。この
ような計数処理が終ると、Pレジスタに退避させておい
た行アドレス「0」が行アドレス部YTPに戻される(ス
テップS28)。
Then, when the character code is detected, the character code is written in the memory R 2 (X) (fifth digit memory R 2 ) indicated by the value of the X register (step S22). afterwards,
The counting process of the number of space dots is performed. That is, first, the memory R 3 (X) (fifth digit memory R 3 ) indicated by the value of the X register is cleared, the contents of the row address portion YTP are saved in the P register, and further in R 0 (X) The vertical double-width code number "4" is set in the C 1 register (step S23).
After such initialization processing, the row address
The value of YTP is incremented by 1 (step S24). Then, the process of calculating the number of space dots per line (step S25) is repeated for the double-height code. That is, the value of C 1 register is -1 in step S26, as a result, whether the examined values for the following step S27 the C 1 register becomes "0",
Not "0", the flow returns to step S24 C 1 register value step S25 until the "0" is repeated. Therefore, first of all, from the row pitch table 10 to the row address portion YTP
The line pitch "34" specified by the value (initial value "0") is read, "24" is subtracted from this value, and the line pitch "10" per line is obtained. R
The value "0" of 3 (X) is added and the result is the memory R 3 (X)
Memory R 3 (X) is first transferred to “10” by being transferred to
Is set. Then, the value of C 1 register is -1 in step S26 is "3", the process returns to step S24, the value of the row address portion YTP becomes "1". As a result, the row pitch "34" is read from the row pitch table 10, and "24" is subtracted from this value to obtain the row pitch "10", which is added to the value "10" in the memory R3 (X). is, the value is "20", the value of such to C 1 register is "0"
As a result of being repeated until, the number of space dots “40” is set in the memory R 3 (X) ( see FIG. 4). When such counting processing is completed, the row address "0" saved in the P register is returned to the row address portion YTP (step S28).

そして、次にXレジスタの値で示されるメモリR
4(X)(第5桁目のメモリR4)の内容がクリアされる(ス
テップS29)。そして、Xレジスタの値「5」をC1レジ
スタにセットすると共に、メモリR1(X)内の横倍角コー
ド数「4」がC2レジスタにセットされる(ステップS3
0)。このようなイニシャライズ処理が終ると、次のス
テップS31ではC2レジスタの値が「0」かが調べられる
が、いまC2レジスタには「4」かセットされているの
で、次のステップS32に進み、C1レジスタの値が+1さ
れて「6」となる。そして、C1レジスタの値で示される
メモリR0(C1)(第6桁目のメモリR0)に「0」が書き込
まれる(ステップS33)。その後、C2レジスタの値を−
1する減算処理を実行してからステップS31に戻り、そ
の値が「0」になったかが調べられる。このような動作
がC2レジスタの値が「0」となるまで、即ち横倍角コー
ド数繰り返される結果、第4図に示す如く、第6桁目〜
第9桁目のメモリR0には夫々「0」が書き込まれること
になる。しかして、C2レジスタの値が「0」となったこ
とが検出されると、第9図のフローに移行する。
Then, the memory R indicated by the value of the X register
The contents of 4 (X) (fifth digit memory R 4 ) are cleared (step S29). Then, the value “5” of the X register is set in the C 1 register, and the horizontal double angle code number “4” in the memory R 1 (X) is set in the C 2 register (step S3).
0). When such initialization processing is finished, the value of the next step S31 the C 2 register is checked whether "0", because it is set or "4" is the current C 2 register, the next step S32 The value of the C 1 register is incremented by 1 to become “6”. Then, "0" is written in the memory R 0 (C1) (sixth digit memory R 0 ) indicated by the value of the C 1 register (step S33). Thereafter, the value of C 2 Register -
After executing the subtraction processing for incrementing by 1, the process returns to step S31 to check whether the value has become "0". Such an operation is repeated until the value of the C 2 register becomes “0”, that is, the number of double-width code is repeated. As a result, as shown in FIG.
"0" is written in the memory R0 of the ninth digit, respectively. Then, when it is detected that the value of the C 2 register becomes “0”, the flow shifts to the flow of FIG. 9.

このようにして第8図のフローが終ると、第9図のステ
ップS35に進み、メモリR4(X)の値「0」と行アドレス部
YTPの値「0」に応じて行ピッチテーブル10から読み出
された行ピッチ「34」とが加算され、その加算結果がメ
モリR4(X)に書き込まれ、ドットポジション「34」が求
められる(第4図参照)。そして、このメモリR4(X)
のドットポジションとメモリR3(X)内のスペースドット
数が比較され、ドットポジションがスペースドット数を
越えたかが調べられる(ステップS36)。いま、ドット
ポジション「34」、スペースドット数は「40」であるか
ら、ステップS43に進み、メモリR1(X)、即ち第5桁目の
メモリR1の内容「4」を+1した値「5」をC2レジスタ
にセットしておく。そして、このC2レジスタの値を−1
ずつ減算してその値が「0」となるまで空白コードの1
文字印字が繰り返される(ステップS44〜S46)。したが
って、第0行目の第5桁目から9桁目には空白コードが
拡大サイズに応じて5文字分印字される。このようなス
ペースドット数に応じた空白の形成処理が終ると、ステ
ップS47に進み、メモリR4(X)内のドットポジション「3
4」がAレジスタに転送される。また、メモリR0(X)内の
縦倍角コード数「4」を+1して縦倍角数「5」を求
め、この縦倍角数に24ドットを乗算して5行分の印字ド
ット数「120」を求め、この印字ドット数にメモリR3(X)
内のスペースドット数「40」を加算することによって第
5図に示した領域Aの行方向における全ドット数「16
0」が算出され、この値がBレジスタに転送される。そ
して、このAレジスタの値が「34」とBレジスタの値
「160」とが比較され、これによって拡大文字の印字が
終了したかが判断される。いま、拡大印字は終了してい
ないことが検出されるので、ステップS50、S51の実行に
移る。これらの処理は各種の桁アドレスを横倍角数分更
新させる為のもので、ステップS50ではメモリR1(X)内の
横倍角コード数「4」を+1して横倍角数「5」を求
め、この横倍角数を読出しアドレス記憶部R.ADDに加算
することによってそのリードアドレスは「10」に更新さ
れ、またステップS51も同様に桁アドレスXTPおよびXレ
ジスタの内容を横倍角数分更新させることによってそれ
らの内容は「10」に更新される。このようにしてアドレ
スを更新させたのち第7図のステップS10に移行する。
When the flow of FIG. 8 is completed in this way, the flow advances to step S35 of FIG. 9 to read the value “0” of the memory R 4 (X) and the row address portion.
The row pitch “34” read from the row pitch table 10 is added according to the YTP value “0”, and the addition result is written in the memory R 4 (X) to obtain the dot position “34”. (See FIG. 4). Then, the dot position in the memory R 4 (X) is compared with the number of space dots in the memory R 3 (X) to check whether the dot position exceeds the number of space dots (step S36). Now, the dot positions "34", because the number of space dot is "40", the process proceeds to step S43, the memory R 1 (X), namely the fifth digit of the memory R 1 Contents "4" +1 value " Set "5" to the C 2 register. And the value of this C 2 register is -1
Each of them is subtracted, and the blank code is 1 until the value becomes "0".
Character printing is repeated (steps S44 to S46). Therefore, the blank code is printed for five characters in the fifth to ninth digits of the 0th line according to the enlarged size. When the blank formation processing corresponding to the number of space dots is completed, the process proceeds to step S47, and the dot position "3" in the memory R 4 (X) is
4 ”is transferred to the A register. Further, the vertical double-width code number "4" in the memory R0 (X) is incremented by 1 to obtain the vertical double-width number "5", and this vertical double-width number is multiplied by 24 dots to print the number of print dots for five lines "120". ", And the memory R 3 (X)
The total number of dots in the row direction of area A shown in FIG.
"0" is calculated and this value is transferred to the B register. Then, the value of the A register is "34" and the value of the B register is "160", and it is determined whether the printing of the enlarged character is completed. Now, since it is detected that the enlarged printing has not been completed, the process moves to the execution of steps S50 and S51. These processes are for updating various digit addresses by the number of horizontal double-width numbers. In step S50, the number of horizontal double-width codes in the memory R 1 (X) is incremented by "4" to obtain the horizontal double-width number "5". , The read address is updated to "10" by adding this horizontal double angle number to the read address storage unit R.ADD, and in step S51, the contents of the digit address XTP and X register are also updated by the horizontal double angle number. By doing so, their contents are updated to "10". After updating the address in this way, the process proceeds to step S10 in FIG.

したがって、第7図のステップS10ではXレジスタの内
容が最大桁数に達したかの検出が行なわれるが、いま、
Xレジスタの値は「10」で最大桁数未満であるからステ
ップS4に戻り、文章メモリ4の10桁目からコードを読出
す処理が続行されるが、この場合、10桁目以降には縦倍
角コードはなく、したがって第8図に示したレジスタテ
ーブル8の作成処理には移行しないと共に、10桁目以降
のメモリR0(X)の内容は上述したステップS2の処理でク
リアされているので、Xレジスタの値が最大桁数となる
までステップS4〜S10が繰り返される。この場合、最初
の行の10桁目以降は空白エリアであるから空白印字がそ
の行の最大桁となるまで行なわれる。そして、最大桁の
印字が終ると、ステップS11に進み、T.ADDレジスタに次
行のトップアドレスがセットされる。そして行アドレス
部YTPの値「0」で指定される行ピッチテーブル10から
行ピッチ「34」が読み出され、プラテンPRがその行ピッ
チ分駆動されて改行される(ステップS12)。そして、
Yレジスタおよび行アドレス部YTPの値が夫々+1され
て「1」に行アドレスが更新される(ステップS13)。
この行アドレス更新の結果、次のステップS14ではYレ
ジスタの値が最大行数に達したか、つまり1頁の印字が
終ったかが調べられるが、いまの場合にはYレジスタの
値は「1」であるからステップS3に戻って各桁アドレス
が初期値にセットされる。この結果、今度は第1行第0
桁目から文章メモリ4内のコードが読み出されることに
なる。
Therefore, in step S10 in FIG. 7, it is detected whether the content of the X register has reached the maximum number of digits.
Since the value of the X register is "10", which is less than the maximum number of digits, the process returns to step S4, and the process of reading the code from the tenth digit of the text memory 4 is continued. Since there is no double-width code, the process of creating the register table 8 shown in FIG. 8 does not proceed, and the contents of the memory R 0 (X) at the tenth digit and thereafter are cleared by the process of step S2 described above. , Steps S4 to S10 are repeated until the value of the X register reaches the maximum number of digits. In this case, since the 10th column and after of the first line is a blank area, blank printing is performed until it reaches the maximum column of the line. When the printing of the maximum digit is completed, the process proceeds to step S11, and the top address of the next line is set in the T.ADD register. Then, the row pitch "34" is read from the row pitch table 10 designated by the value "0" of the row address portion YTP, and the platen PR is driven by that row pitch and a line feed is performed (step S12). And
The values of the Y register and the row address portion YTP are respectively incremented by 1 and the row address is updated to "1" (step S13).
As a result of the updating of the row address, it is checked in the next step S14 whether the value of the Y register has reached the maximum number of rows, that is, whether the printing of one page is completed. In this case, the value of the Y register is "1". Therefore, the process returns to step S3 and each digit address is set to the initial value. As a result, this time, the 1st row, 0th
The code in the text memory 4 is read from the digit.

このように次行の第1行目に改行された場合において、
この第5桁目までは文字コード並びに縦倍角コードはな
いので、ステップS4〜S10が繰り返されて空白印字が行
なわれる。そして、第5桁目の縦倍角コードが読み出さ
れた場合、その第5桁目のメモリR0(X)には縦倍角コー
ド「4」がセットされているので、そのことがステップ
S6で検出されて第9図のフローに移行する。これによっ
て、ステップS35の更新処理でメモリR4(X)内のドットポ
ジションが更新されて「68」となり、この結果、メモリ
R3(X)内のスペースドット数を越えたことが検出されて
ステップS37に進む。ここでは、ドットポジション「6
8」からスペースドット数「40」を減算してドットポジ
ションからスペースドット数までの間にあるドット数
「28」を求め、このドット数がC3レジスタに転送され
る。このようにして求められたドット数「28」は、拡大
文字パターンの1行ドット目よりドットポジションの値
までの間にあるドット数を示し、この値と行アドレス部
YTPの値「1」で読み出される行ピッチテーブル10から
の行ピッチ「34」との比較が行なわれる(ステップS3
8)。いま、C3レジスタ内のドット数「28」は行ピッチ
「34」ドット以内であるから、ステップS40に進み予め
設定した縦倍角、横倍角に応じた大きさの拡大ドットパ
ターンが作成される。即ちメモリR2(X)内の文字コード
が読み出されてキャラクタジェネレータ5に送られると
共に、メモリR0(X)、R1(X)の内容を夫々+1して得られ
た縦倍角数、横倍角数に応じた信号R0、R1を拡大パター
ン作成部6に送る。これによってキャラクタジェネレー
タ5からは入力文字コードに対応した文字パターンが出
力される。そして、この文字パターンは拡大パターン作
成部6に送られて5×5倍の拡大ドットパターンに変換
される。したがって24×24ドットの拡大ドットパターン
に変換されて拡大パターンメモリ7に書き込まれる。こ
のようにして拡大ドットパターンが作成されると、この
拡大ドットパターンのうちその1行ドット目よりC3レジ
スタにセットされている28ドット目までのドットパター
ンが印字バッファ12に転送される(ステップS41)。そ
して、印字バッファ12内の横倍角数分(R1(X)+1)の
文字が印字される(ステップS42)。したがって、第1
行目の拡大ドットパターンの印字は、28ドットで印字さ
れ、残りの6ドットは空白印字となる。この場合、第5
図および第6図に示したように、第1行目の1ドット目
から第6ドット目に空白スペースが形成され、そして、
この空白スペースに続いてその下に28ドット分の分割拡
大パターンが印字される。この結果、第0行目に形成さ
れた34ドット分の空白スペースと第1行目に形成された
6ドット分の空白スペースとによってメモリR3(X)内の
スペースドット「40」分の空白が形成されたことにな
る。このようにして第1行目の拡大文字に対する印字が
終ると、拡大印字終了の検出動作(ステップS47、S48)
が実行されるが、この場合においても拡大印字の終了は
検出されないので、ステップS50、S51のアドレス更新処
理が実行されたのち、第7図のステップS10に進む。こ
れによって第1行目の10桁目からコードを読み出して1
文字印字を行う処理(ステップS4〜S9)が第12桁目まで
繰り返される。そして、第12桁目のコードが読み出され
ると、ステップS7で縦倍角コードであることが検出され
て第8図のフローに進み、レジスタテーブル8の作成処
理が実行される。この結果、第4図に示すように、縦倍
角コードのカウント値「1」、横倍角コードのカウント
値「1」が対応する12桁目のメモリR0、R1に書き込まれ
ると共に、文字コードがその桁のメモリR3に書き込ま
れ、そしてスペースドット数「10」が算出されてその桁
のメモリR4に書き込まれる。そして、12桁目のメモリR4
内のドットポジションが「0」にセットされる。更に、
13桁のメモリR0に「0」がセットされる。このような処
理が終ると、第9図のフローに移る。この場合、ドット
ポジションが「34」となり、またスペースドット数は
「10」であるからステップS36からステップS37に進み、
C3レジスタの値は「24」となり、この場合、行ピッチ
「34」よりも小さいので、ステップS40〜S42の実行に移
る。これによって、第1行目の第12桁、13桁目には10ド
ット分の空白スペースが形成されると共に、この空白ス
ペースに続いてその下に24ドット分の拡大ドットパター
ンが印字される(第11図参照)。そして、ステップS4
7、S48、S50、S51が実行されたのち、第7図のステップ
S10に戻る。その後第1行目の最大桁数が検出される
と、改行処理(ステップS11〜S13)が実行されて第2行
目の処理に移る。
In this way, when the line is broken on the first line of the next line,
Since there is no character code or vertical double-width code up to the fifth digit, steps S4 to S10 are repeated and blank printing is performed. Then, when the vertical double-width code of the fifth digit is read, the vertical double-width code "4" is set in the memory R0 (X) of the fifth digit.
It is detected in S6 and the process moves to the flow of FIG. As a result, the dot position in the memory R 4 (X) is updated to “68” in the update processing of step S35, and as a result, the memory
It is detected that the number of space dots in R 3 (X) is exceeded, and the process proceeds to step S37. Here, the dot position “6
Subtracting the number of space dot "40" 8 "determined the number of dots" 28 "in between the dot positions to the number of spaces dots, the number of the dots are transferred to the C 3 register. The number of dots "28" thus obtained indicates the number of dots between the first line dot of the enlarged character pattern and the value of the dot position. This value and the line address part
A comparison is made with the row pitch "34" from the row pitch table 10 read with the YTP value "1" (step S3).
8). Now, since the C 3 dots in the register "28" row pitch "34" is within the dot, double height set in advance the process proceeds to step S40, expansion dot pattern of a size corresponding to the double-width of the created. That is, the character code in the memory R 2 (X) is read and sent to the character generator 5, and the contents of the memories R 0 (X) and R 1 (X) are respectively incremented by 1 to obtain a vertical double-width number, The signals R 0 and R 1 corresponding to the horizontal double angle number are sent to the enlarged pattern creating unit 6. As a result, the character generator 5 outputs a character pattern corresponding to the input character code. Then, this character pattern is sent to the enlarged pattern creating unit 6 and converted into an enlarged dot pattern of 5 × 5 times. Therefore, it is converted into an enlarged dot pattern of 24 × 24 dots and written in the enlarged pattern memory 7. When the enlarged dot pattern is created in this way, the dot patterns from the first line dot to the 28th dot set in the C 3 register of the enlarged dot pattern are transferred to the print buffer 12 (step S41). Then, the characters of (R 1 (X) +1) in the horizontal double-width number are printed in the print buffer 12 (step S42). Therefore, the first
The enlarged dot pattern of the line is printed with 28 dots, and the remaining 6 dots are blank. In this case, the fifth
As shown in FIGS. 6 and 6, a blank space is formed from the 1st dot to the 6th dot in the first row, and
Following this blank space, a split enlargement pattern for 28 dots is printed below it. As a result, the blank space of 34 dots formed in the 0th line and the blank space of 6 dots formed in the first line, the blank space of the space dot "40" in the memory R 3 (X) . Has been formed. When the printing of the enlarged characters on the first line is completed in this way, the operation of detecting the end of enlarged printing (steps S47, S48)
However, since the end of the enlarged printing is not detected in this case as well, the address updating process in steps S50 and S51 is executed, and then the process proceeds to step S10 in FIG. As a result, the code is read from the 10th digit of the first line and
The process of printing characters (steps S4 to S9) is repeated until the 12th digit. Then, when the twelfth digit code is read, it is detected in step S7 that it is a vertical double-width code, and the flow advances to the flow of FIG. 8 to execute the process of creating the register table 8. As a result, as shown in FIG. 4, the vertical double-width code count value “1” and the horizontal double-width code count value “1” are written in the corresponding 12th-digit memories R 0 and R 1 , and the character code Is written into the memory R 3 of that digit, and the number of space dots “10” is calculated and written into the memory R 4 of that digit. And the memory R 4 in the 12th digit
The dot position inside is set to "0". Furthermore,
“0” is set in the 13-digit memory R 0 . When such processing is completed, the flow moves to FIG. In this case, since the dot position is "34" and the number of space dots is "10", the process proceeds from step S36 to step S37.
C 3 register values "24" and, in this case, less than the line pitch "34", and proceeds to execution of step S40~S42. As a result, a blank space of 10 dots is formed at the 12th digit and the 13th digit of the first line, and an enlarged dot pattern of 24 dots is printed below the blank space (( (See Figure 11). And step S4
After executing S7, S48, S50, and S51, the steps shown in FIG.
Return to S10. After that, when the maximum number of digits in the first line is detected, the line feed process (steps S11 to S13) is executed and the process moves to the second line.

そして、第2行目の処理に入った場合に、その第5桁目
に達すると、第5桁目のメモリR0(X)には縦倍角コード
数「4」がセットされているので、そのことがステップ
S6で検出されて第9図のフローに進む。この場合、5桁
目のメモリR4(X)内のドットポジションは「102」に更新
されるので、C3レジスタには「62」がセットされる。こ
の結果、ステップS38からステップS39に進み、拡大パタ
ーンメモリ7に記憶されている拡大ドットパターンのう
ちC3レジスタの値「62」を行ピッチ「34」で減算した28
行ドット目から62行ドット目までの34ドット分のドット
パターンが印字バッファ12に転送され、このパターンが
横倍角数に対応して5文字分印字される(ステップS4
2)。このようにして第2行第9桁目までの拡大印字が
終ると、アドレス更新処理(ステップS50、S51)の実行
後、第7図のステップS10に戻り、その後第12桁目に達
すると、12桁目のメモリR0には「1」がセットされてい
るので、ステップS6から第9図のフローに進む。この場
合、そのドットポジションは「68」に更新され、C3レジ
スタには「58」がセットされる。このため、ステップS3
8からステップS39に進み、24行ドット目から58行ドット
目までの34ドット分のドットパターンが印字バッファ12
に転送され、このパターンが横倍角数に対応して2文字
分印字される(ステップS42)。そして、ステップS47、
S48に進み、拡大文字印字が終了したことが検出され
て、ステップS49に進み、12桁目のメモリR0がクリアさ
れたのち、アドレス更新処理(ステップS50、S51)が実
行され、その後第7図のステップS10に移行する。そし
て、第3行目に改行される(ステップS11〜S13)。
When the fifth digit is reached in the processing of the second line, the vertical double-width code number "4" is set in the memory R0 (X) of the fifth digit. That step
It is detected in S6 and the flow proceeds to FIG. In this case, the dot position in the memory R 4 (X) at the fifth digit is updated to “102”, so “62” is set in the C 3 register. As a result, the process proceeds from step S38 to step S39, and the value "62" of the C 3 register in the enlarged dot pattern stored in the enlarged pattern memory 7 is subtracted at the row pitch "34" 28
A dot pattern of 34 dots from the line dot to the 62nd line is transferred to the print buffer 12, and this pattern is printed for 5 characters corresponding to the horizontal double-width number (step S4
2). When the enlarged printing up to the 9th digit on the 2nd line is completed in this way, after executing the address update processing (steps S50 and S51), the process returns to step S10 in FIG. Since "1" is set in the memory R 0 at the 12th digit, the process proceeds from step S6 to the flow of FIG. In this case, the dot position is updated to "68", "58" is set in the C 3 register. Therefore, step S3
From step 8 to step S39, the dot pattern for 34 dots from the 24th dot to the 58th dot is printed in the print buffer 12
And the pattern is printed for two characters corresponding to the number of double-width characters (step S42). Then, in step S47,
In step S48, it is detected that the enlarged character printing has ended, and in step S49, the memory R 0 in the 12th digit is cleared, and then the address update process (steps S50, S51) is executed, and then the seventh The process moves to step S10 in the figure. Then, a line feed is performed on the third line (steps S11 to S13).

しかして、第3行目の改行されたのち、その第5桁とな
ると、再びステップS6から第9図のステップS35に進
み、ドットポジショは「136」となる。その結果、C3
ジスタには「96」がセットされるので、ステップS39に
進み、62行ドット目から96ドット目までの34ドット分の
ドットパターンが5文字分印字される(ステップS4
2)。この場合においても拡大印字は終了してないの
で、ステップS50、S51の実行後、第7図のステップS10
に進む。しかして、第12桁目のメモリR0は上述の拡大印
字終了処理(ステップS49)によってクリアされている
ので、ステップS6でそのことが検出され、2×2倍の文
字に対する拡大印字は行なわれない。その後、改行され
て第4行目の処理に移行する。
Then, after the line feed on the third line, when the fifth digit is reached, the process proceeds from step S6 to step S35 in FIG. 9 again, and the dot position becomes "136". As a result, since the C 3 register is set "96", the process proceeds to step S39, 34 dots of the dot pattern from the line 62 dot th to 96 th dot is printed five characters (step S4
2). Even in this case, since the enlarged printing is not completed, after executing steps S50 and S51, step S10 in FIG.
Proceed to. Since the memory R 0 of the 12th digit has been cleared by the above-described enlarged print end processing (step S49), that fact is detected in step S6, and the enlarged print for the 2 × 2 times character is performed. Absent. After that, a line feed is made and the process shifts to the fourth line.

いま、第4行目の処理に入ってその第5行目になると、
第9図のフローに進み、拡大ドットパターンの残りの34
ドット分のドットパターンが5文字分印字される(ステ
ップS42)。そして、ステップS48でこの文字に対する拡
大印字終了が検出されるので、第5桁目のメモリR0の内
容がクリアされる(ステップS49)。このため、改行さ
れて再び第5桁目になったとしても5桁目のメモリR0
クリアされているので全角サイズの印字が行なわれる。
Now, when it comes to the processing of the 4th row and the 5th row,
Proceeding to the flow of FIG. 9, the remaining 34 of the enlarged dot pattern
A dot pattern for 5 dots is printed for 5 characters (step S42). Then, in step S48, the end of enlarged printing for this character is detected, so the contents of the memory R 0 in the fifth digit are cleared (step S49). For this reason, even if the line feed is started and the fifth digit is reached again, the memory R 0 at the fifth digit is cleared, and full-width printing is performed.

このように本実施例においては、全角文字と拡大文字と
を混在させて文章メモリ4に記憶させたとしても、拡大
文字を良好に印字することができる。この場合、第11図
に示すように、行間パターンを含めて印字した場合の印
字領域Aに対して斜線を付して示す実際の印字専有領域
BはAの領域の上にスペースドット数分の空白を形成す
ることで、Aの領域の下位置に配置されたことになる。
As described above, in the present embodiment, even if the full-width character and the enlarged character are mixed and stored in the text memory 4, the enlarged character can be printed well. In this case, as shown in FIG. 11, the actual print-dedicated area B shown by hatching the print area A when the line spacing pattern is included is printed on the area A by the number of space dots. By forming a blank, it means that it is arranged at the lower position of the area A.

変 形 例 第12図はこの実施例の変形例を示し、上記実施例ではス
ペースドット数分の空白スペースを拡大印字パターンの
上部に形成したが第12図に示す例はスペースドット数を
2等分して拡大印字パターンの上下に均等に割り付けた
場合を示したもので、これによって拡大印字パターンは
中央に配置される印字形態となる。この場合、スペース
ドット数を2等分してその値に対応する空白を拡大パタ
ーンの上下に配置すればよい。
Modification Example FIG. 12 shows a modification example of this embodiment. In the above embodiment, a blank space for the number of space dots is formed on the upper part of the enlarged print pattern, but in the example shown in FIG. 12, the number of space dots is 2 etc. This shows a case where the enlarged print pattern is evenly allocated to the upper and lower sides of the enlarged print pattern, whereby the enlarged print pattern has a printing form arranged in the center. In this case, the number of space dots may be divided into two, and the blanks corresponding to the value may be arranged above and below the enlarged pattern.

第13図、第14図は他の変形例を示したもので、上記実施
例では行間ピッチ対応するスペースドット数を求めてこ
れに対応する空白を拡大印字パターンの上部に形成した
が、この変形例は桁方向の拡大文字を印字する場合、桁
間ピッチに対応するスペースドット数を求めてこれに対
応する空白を拡大印字パターンの左側に形成したもの
で、これによって拡大印字パターンは右側に詰めた形態
で印字されることになる。この場合、第13図は文章メモ
リのフォーマットで、横倍角を4倍とした拡大文字と全
角文字とを混在させて記憶させた例を示している。ま
た、第14図はこのフォーマットに対応した印字例を示し
ている。このような桁方向の制御は上記実施例の行方向
の制御と略同一の方法で実現可能である。
FIG. 13 and FIG. 14 show another modified example. In the above-mentioned embodiment, the number of space dots corresponding to the inter-line pitch was obtained and the corresponding blank was formed on the upper part of the enlarged print pattern. In the example below, when printing enlarged characters in the digit direction, the number of space dots corresponding to the inter-digit pitch is calculated and the corresponding blanks are formed on the left side of the enlarged print pattern. It will be printed in the form. In this case, FIG. 13 shows an example of the format of the text memory in which the enlarged character and the full-width character whose horizontal double-width is four are mixed and stored. Further, FIG. 14 shows a printing example corresponding to this format. Such control in the column direction can be realized by a method substantially the same as the control in the row direction in the above-mentioned embodiment.

「発明の効果」 本発明によれば、文字を拡大する場合は縦方向にm倍
(mは2以上の整数)、横方向にn倍(nは2以上の整
数)で夫々個別の倍率で文字を拡大変形できるものであ
り、その縦倍率及び横倍率の組合わせの数は極めて多い
ものとなり、1つの文字に対する文字拡大の際の表現力
が多彩なものとなるものであり、しかも、1つの文字に
対する上記縦倍率及び横倍率を、各文字毎に全く個別に
設定できるものであり、このような文字を複数配置した
際の複数の文字からなる文章はその表現力が格段に向上
するものである。
[Advantages of the Invention] According to the present invention, when enlarging a character, the magnification is m times in the vertical direction (m is an integer of 2 or more) and n times in the horizontal direction (n is an integer of 2 or more) at individual magnifications. Characters can be enlarged and deformed, and the number of combinations of vertical magnification and horizontal magnification is extremely large, and the expressive power when enlarging a character for one character is diverse. It is possible to set the above-mentioned vertical magnification and horizontal magnification for one character individually for each character, and a sentence consisting of multiple characters when multiple such characters are arranged has a significantly improved expressiveness. Is.

また本発明によれば、縦拡大倍率及び横拡大倍率が個別
に設定された文字データをその各拡大倍率で拡大した拡
大文字パターンを印字する際は、その拡大文字パターン
が他の印字行領域に跨がるようにして印字出力すること
ができ、変化に富んだ多彩な文章を印字出力することが
できる。
Further, according to the present invention, when printing the enlarged character pattern in which the character data in which the vertical enlargement ratio and the horizontal enlargement ratio are individually set is enlarged at each enlargement ratio, the enlarged character pattern is printed in another print line area. It is possible to print out as if straddling, and it is possible to print out a variety of colorful sentences.

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

第1図〜第11図はこの発明の一実施例を示し、第1図は
この発明を適用したワードプロセッサのブロック回路
図、第2図は第1図で示した桁ピッチテーブルの構成
図、第3図は第1図で示した行ピッチテーブルの構成
図、第4図は第1図で示したレジスタテーブルの構成
図、第5図および第6図は全角文字パターンの5×5倍
に拡大した場合にその拡大文字パターンの印字領域と出
力パターンとの関係を示した図、第7図は印字動作を示
すフローチャート、第8図は第7図に続く印字動作を説
明する為のフローチャート、第9図は第7図に続く印字
動作を説明する為のフローチャート、第10図は第1図で
示した文章メモリのフォーマットを示した図、第11図は
印字例を示した図、第12図はこの発明の変形例を示した
印字状態図、第13図、第14図は他の変形例を示し、第13
図は文章メモリのフォーマット、第14図は印字例であ
る。 1……キー入力部、3……CPU、4……文章メモリ、5
……キャラクタジェネレータ、6……拡大パターン作成
部、7……拡大パターンメモリ、8……レジスタテーブ
ル、9……桁ピッチテーブル、10……行ピッチテーブ
ル、HD……印字ヘッド。
1 to 11 show an embodiment of the present invention, FIG. 1 is a block circuit diagram of a word processor to which the present invention is applied, FIG. 2 is a block diagram of a digit pitch table shown in FIG. 3 is a block diagram of the row pitch table shown in FIG. 1, FIG. 4 is a block diagram of the register table shown in FIG. 1, and FIGS. 5 and 6 are enlarged to 5 × 5 times the full-width character pattern. FIG. 7 is a diagram showing the relationship between the print area of the enlarged character pattern and the output pattern, FIG. 7 is a flow chart showing the printing operation, and FIG. 8 is a flow chart for explaining the printing operation following FIG. FIG. 9 is a flowchart for explaining the printing operation following FIG. 7, FIG. 10 is a diagram showing the format of the text memory shown in FIG. 1, FIG. 11 is a diagram showing a printing example, and FIG. FIG. 13 is a printing state diagram showing a modified example of the invention, FIG. 13 and FIG. Shows a modification of the thirteenth
The figure shows the format of the text memory, and Fig. 14 shows an example of printing. 1 ... Key input section, 3 ... CPU, 4 ... Sentence memory, 5
...... Character generator, 6 ...... Enlargement pattern creation unit, 7 ...... Enlargement pattern memory, 8 ...... Register table, 9 ...... Digit pitch table, 10 ...... Line pitch table, HD ...... Print head.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/26 9471−5G ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G09G 5/26 9471-5G

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字の縦方向におけるm倍の縦拡大倍率
(mは2以上の整数)、及び文字の横方向におけるn倍
の横拡大倍率(nは2倍の整数)が個別に設定された文
字データと、上記縦拡大倍率及び横拡大倍率の設定され
ていない文字データと、を同一行上において混在可能な
文章データを複数行記憶する文章記憶手段と、 この文章記憶手段に記憶された各文字データを順次読み
出し、その読み出された個々の文字データ毎に、その文
字データが上記縦拡大倍率及び横拡大倍率が個別に設定
された文字データであるか否かを判別する判別手段と、 この判別手段で判別された文字データが、上記縦拡大倍
率及び横拡大倍率の設定されていない文字データである
と判別された場合には、その文字データに対応して、拡
大処理のされていない所定サイズの文字パターンを、上
記文章データ上におけるその文字データの行及び桁位置
に対応する印字用紙上の印字位置より印字出力するよう
制御する第1の印字制御手段と、 上記判別手段で判別された文字データが、上記縦拡大倍
率及び横拡大倍率が個別に設定された文字データである
と判別された場合には、その文字データに対する、上記
縦拡大倍率の倍率数m、及び上記横拡大倍率の倍率数n
を夫々個別に検出し、その文字データに対応する上記所
定サイズの文字パターンを、その縦方向においては上記
倍率数mに従ってm倍に拡大変換し、且つその横方向に
おいては上記倍率数nに従ってn倍に拡大変換する文字
パターン変換手段と、 上記縦拡大倍率及び横拡大倍率が個別に設定された文字
データについて、上記倍率数mの値及びnの値に応じて
上記文章データ上におけるその文字データの行及び桁位
置に対応する印字用紙上の印字位置より他の印字行領域
及び他の印字桁領域に跨がるべく拡大された印字展開領
域に、上記文字パターン変換手段で拡大変換された拡大
文字パターンを印字出力するよう制御する第2の印字制
御手段と、 を具備したことを特徴とする文章印字制御装置。
1. A vertical magnification of m times in the vertical direction of a character (m is an integer of 2 or more) and a horizontal magnification of n times in the horizontal direction of a character (n is an integer of 2) are individually set. And a character storage unit for storing a plurality of lines of text data in which the character data and the character data for which the vertical enlargement ratio and the horizontal enlargement ratio are not set can be mixed on the same line. A determination unit that sequentially reads each character data and determines, for each of the read individual character data, whether or not the character data is character data for which the vertical enlargement ratio and the horizontal enlargement ratio are individually set. When it is determined that the character data determined by the determining means is the character data for which the vertical enlargement ratio and the horizontal enlargement ratio are not set, the enlargement processing is performed corresponding to the character data. Not predetermined It is discriminated by a first print control means for controlling to print out the character pattern of the size from the print position on the print paper corresponding to the line and column position of the character data on the text data, and the discrimination means. When it is determined that the character data is character data in which the vertical enlargement ratio and the horizontal enlargement ratio are individually set, the number m of the vertical enlargement ratio and the horizontal enlargement ratio of the character data are determined. Magnification number n
Respectively, and the character pattern of the predetermined size corresponding to the character data is enlarged and converted to m times in the vertical direction according to the magnification factor m, and in the horizontal direction, n according to the magnification factor n. Character pattern conversion means for enlarging conversion to double and character data in which the vertical enlarging magnification and the lateral enlarging magnification are individually set, the character data on the sentence data according to the value of the magnification number m and the value of n. Of the print position on the printing paper corresponding to the line and column position of the above, the print expanded region expanded to extend over the other print line region and the other print column region is enlarged and converted by the character pattern conversion means. A text print control device comprising: a second print control means for controlling to print out a character pattern.
JP60261502A 1985-11-22 1985-11-22 Text printing control device Expired - Lifetime JPH07102716B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60261502A JPH07102716B2 (en) 1985-11-22 1985-11-22 Text printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60261502A JPH07102716B2 (en) 1985-11-22 1985-11-22 Text printing control device

Publications (2)

Publication Number Publication Date
JPS62121065A JPS62121065A (en) 1987-06-02
JPH07102716B2 true JPH07102716B2 (en) 1995-11-08

Family

ID=17362795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60261502A Expired - Lifetime JPH07102716B2 (en) 1985-11-22 1985-11-22 Text printing control device

Country Status (1)

Country Link
JP (1) JPH07102716B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0747329B2 (en) * 1987-09-28 1995-05-24 株式会社日立製作所 Document creation device
JPS6488590A (en) * 1987-09-30 1989-04-03 Toshiba Corp Character magnification display system for raster scan type crt display device
JPH01242264A (en) * 1988-03-25 1989-09-27 Oki Electric Ind Co Ltd Printer control system
JPH0747336B2 (en) * 1988-08-24 1995-05-24 株式会社ピーエフユー Enlargement correction device for character patterns

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58173678A (en) * 1982-04-06 1983-10-12 Mitsubishi Electric Corp Apparatus for printing figure letter
JPS58176680A (en) * 1982-04-12 1983-10-17 富士通株式会社 Character output unit
JPS5942971A (en) * 1982-09-03 1984-03-09 Hitachi Ltd Control system for magnifying printing
JPS5949584A (en) * 1982-09-14 1984-03-22 株式会社ピーエフユー System of processing data in mixed various character sizes
GB2146207B (en) * 1983-09-01 1987-06-24 Philips Electronic Associated Variable size character display with obscured characters
JPH0661960B2 (en) * 1984-04-28 1994-08-17 株式会社東芝 Dot interpolation control device
JPS61258766A (en) * 1985-05-10 1986-11-17 Fujitsu Ltd Controlling system for printing vertically enlarged character
JPS61258767A (en) * 1985-05-14 1986-11-17 Ishida Scales Mfg Co Ltd Label printer
JPH0773935B2 (en) * 1985-06-14 1995-08-09 株式会社東芝 Document creation device

Also Published As

Publication number Publication date
JPS62121065A (en) 1987-06-02

Similar Documents

Publication Publication Date Title
KR920008957B1 (en) Printing device
JPH0570832B2 (en)
JPH07102716B2 (en) Text printing control device
JP2502971B2 (en) Character output device
JPH0113117B2 (en)
JPS648851B2 (en)
JPH0522933B2 (en)
JP2564778B2 (en) Character output device
JP2564779B2 (en) Character output device
JPH0735116B2 (en) Data output device
JPS5924429B2 (en) How to display print data
JP2617190B2 (en) String output device
JPH0734233B2 (en) How to create a graph
JPH041353B2 (en)
JPH0445875B2 (en)
JPS648852B2 (en)
JPH0728790A (en) Method and device for document processing
JPS59167748A (en) Information storage device
JP3102979B2 (en) Document information processing device with ruled line conversion function
JPS62239194A (en) Document generator
JPH0890864A (en) Printer
JPH07156449A (en) Printer and image font-enlarging device
JPS63293669A (en) Character processor
JPS61296388A (en) Rule deletion
JPH0244458A (en) Character processor