JPH0687249A - Apparatus for printing address - Google Patents

Apparatus for printing address

Info

Publication number
JPH0687249A
JPH0687249A JP4262681A JP26268192A JPH0687249A JP H0687249 A JPH0687249 A JP H0687249A JP 4262681 A JP4262681 A JP 4262681A JP 26268192 A JP26268192 A JP 26268192A JP H0687249 A JPH0687249 A JP H0687249A
Authority
JP
Japan
Prior art keywords
character size
address
size
area
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4262681A
Other languages
Japanese (ja)
Inventor
Atsurou Tsuho
敦郎 津保
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 JP4262681A priority Critical patent/JPH0687249A/en
Publication of JPH0687249A publication Critical patent/JPH0687249A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To print characters in an enlarged natural form in the printing of address data and others within a given area even when a small character size is selected because of a large number of characters to be printed and of a limited printing area. CONSTITUTION:Address data including adresses and names of adresses is stored in an address region 3-2. CPU 1, which prints the address data in a corresponding printing area according to each composing data, judges a character size on the basis of the number of characters in each composing data and the size of the corresponding printing area. When the specified character size is smaller than that of a standard size which is selected in advance for the corresponding printing area, the character size is enlarged.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、日本語ワードプロセ
ッサやパソコンコンピュータ等において、宛名を葉書や
封筒等に印刷する宛名印刷装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an address printing apparatus for printing an address on a postcard, an envelope or the like in a Japanese word processor, a personal computer or the like.

【0002】[0002]

【従来の技術】従来、日本語ワードプロセッサによって
葉書に宛名印刷を行う場合には、葉書の中心部分の領域
を宛名(受取人の氏名)、その右側の領域を受取人の住
所、左側の領域を差出人の印刷領域として定め、毛筆体
やペン字体等の手書き風書体を用いて宛名印刷を行って
いた。この種のワードプロセッサにおいては、住所デー
タ等を対応する領域内に印刷する場合、印刷領域の大き
さとそれに印刷すべきデータの行数や最大桁数とから全
ての文字が印刷領域内に収まるように文字の大きさを決
定していた。例えば、住所を印刷する領域の縦幅を住所
データの最大桁数で割った値と、その領域の横幅を住所
行数で割った値とを比較し、小さい方の値に基づいて文
字サイズを決定していた。ここで、双方の演算結果のう
ち小さい方の値に基づいて文字サイズを決定するのは正
方形の枠に収まる形を成す文字を印刷文字として使用す
ることにある。
2. Description of the Related Art Conventionally, when printing an address on a postcard by a Japanese word processor, the central area of the postcard is the address (recipient's name), the area on the right is the address of the recipient, and the area on the left is It was set as the sender's printing area, and address printing was performed using a handwriting style typeface such as a writing brush or pen font. In this type of word processor, when printing address data, etc., in the corresponding area, all characters should fit within the printing area based on the size of the printing area and the number of lines and maximum number of digits of the data to be printed. I decided the size of the letters. For example, compare the value obtained by dividing the vertical width of the area for printing the address by the maximum number of digits in the address data with the value obtained by dividing the horizontal width of the area by the number of address lines, and determine the character size based on the smaller value. Had decided. Here, what determines the character size based on the smaller value of the two calculation results is to use a character that fits in a square frame as a print character.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
ようにして文字サイズを決定する方法では、例えば住所
データを対応する領域内に印刷する際に、行数は少ない
が1行でも桁数の多い行が含まれている場合や各行の桁
数は少ないが行数が多い場合には住所の印刷領域に大き
な空白部分が存在するようになる。例えば、図5は行数
が少なく桁数が多い住所データを葉書に印刷する場合に
おける文字の大きさを示し、この場合には最大桁数に応
じて決定された大きさの文字サイズが用いられる為、住
所の印刷領域にはその横幅方向(行方向)に大きな空白
が存在することになる。一方、図6は行数が多く各行の
桁数が少ない住所データを葉書に印刷した場合の例を示
し、住所の印刷領域にはその縦幅方向(桁方向)に大き
な空白が存在することになる。このように印刷領域内に
大きな空白が存在しているにも拘らず、小さな文字サイ
ズで印刷される為、印刷内容が非常に読み難くなると共
に、バランスの悪い不安定な印象を与える。この発明の
課題は、住所データ等を所定の領域内に宛名印刷する場
合、印刷すべきデータの文字数が多い為にその文字数と
領域の大きさとから小さな文字サイズが決定されたとし
てても、文字を自然な形に拡大変形して印刷できるよう
にすることである。
However, in the method of determining the character size as described above, for example, when printing the address data in the corresponding area, the number of lines is small, but even one line has a large number of digits. If there are lines or if each line has a small number of columns but a large number of lines, there will be a large blank area in the print area of the address. For example, FIG. 5 shows the character size when address data having a small number of lines and a large number of digits is printed on a postcard, and in this case, a character size determined according to the maximum number of digits is used. Therefore, there is a large blank in the width direction (row direction) of the print area of the address. On the other hand, FIG. 6 shows an example in which address data having a large number of lines and a small number of columns in each line is printed on a postcard, and there is a large blank in the vertical direction (column direction) in the print area of the address. Become. As described above, even though there is a large blank in the print area, the print is made in a small character size, so that the print content becomes very difficult to read and an imbalanced and unstable impression is given. An object of the present invention is to print characters such as address data in a predetermined area even if a small character size is determined from the number of characters and the size of the area because the number of characters of the data to be printed is large. Is to be able to print by expanding and deforming it into a natural shape.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。複数の構成データ(例えば、住所、宛名等)
から成る宛名データを各構成データ毎に葉書等の所定の
印刷領域に印刷する宛名印刷装置において、文字サイズ
決定手段は各構成データの文字数と、対応する印刷領域
の大きさとから構成データ毎に印刷すべき文字のサイズ
を決定する。判別手段はこの文字サイズ決定手段によっ
て構成データ毎に決定された文字サイズが、対応する印
刷領域に対して予め定められている基準文字サイズより
も小さいか否かを判別する。文字サイズ拡大手段はこの
判別手段によって小さいと判別された場合に前記文字サ
イズ決定手段によって決定された文字サイズを拡大す
る。例えば、文字サイズ拡大手段は文字サイズ決定手段
によって決定された文字サイズを拡大する際に、構成デ
ータの行数が少なく桁数の多い行が含まれている場合に
は行方向の文字サイズを拡大し、また行数が多く各行の
桁数が少ない場合には桁方向に文字サイズを拡大する。
また、文字サイズ拡大手段は文字サイズ決定手段によっ
て決定された文字サイズを行方向あるいは桁方向に拡大
する場合に予め設定されている限界値以内に収まるよう
に拡大する。
The means of the present invention are as follows. Multiple configuration data (eg address, address, etc.)
In an address printing device that prints address data consisting of each configuration data in a predetermined printing area such as a postcard, the character size determination means prints each configuration data from the number of characters of each configuration data and the size of the corresponding printing area. Determine the size of the characters to be printed. The determining means determines whether or not the character size determined by the character size determining means for each of the constituent data is smaller than the reference character size predetermined for the corresponding print area. The character size enlarging means enlarges the character size determined by the character size determining means when the character size determining means determines that the character size is small. For example, when enlarging the character size determined by the character size determining means, the character size enlarging means expands the character size in the line direction when the number of lines of the constituent data is small and the number of digits is large. If the number of lines is large and the number of columns in each line is small, the character size is expanded in the column direction.
Further, the character size enlarging means enlarges the character size determined by the character size determining means so as to be within a preset limit value when enlarging in the row direction or the column direction.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。い
ま、住所データを葉書の印刷領域に印刷するものとす
る。先ず、文字サイズ決定手段は各構成データの文字数
と、対応する印刷領域の大きさとから構成データ毎に印
刷すべき文字のサイズを決定する。これによって、構成
データ毎に文字サイズが決定されると、判別手段はこの
文字サイズが対応する印刷領域に対して予め定められて
いる基準文字サイズよりも小さいか否かを判別する。こ
こで、基準文字サイズよりも小さい場合に、文字サイズ
決定手段によって決定された文字サイズのままで印刷す
ると、印刷内容が極めて読み難くなる為、文字サイズ拡
大手段はその文字サイズの拡大を行う。例えば、構成デ
ータの行数が少なく桁数の多い行が1行でも含まれてい
る場合には行方向に文字サイズを予め決められた限界値
以内で拡大し、また行数が多く各行の桁数が少ない場合
には桁方向に文字サイズを予め決められた限界値以内で
拡大する。したがって、住所データ等を所定の領域内に
宛名印刷する場合、印刷すべきデータの文字数が多い為
にその文字数と領域の大きさとから小さな文字サイズが
決定されたとしてても、文字を自然な形に拡大変形して
印刷することができる。
The operation of the means of the present invention is as follows. Now, assume that the address data is printed in the print area of the postcard. First, the character size determining means determines the size of a character to be printed for each piece of configuration data from the number of characters of each piece of configuration data and the size of the corresponding print area. As a result, when the character size is determined for each piece of configuration data, the determining means determines whether or not the character size is smaller than the reference character size predetermined for the corresponding print area. If the character size is smaller than the reference character size and the character size determined by the character size determination means is used for printing, the printed content becomes extremely difficult to read. Therefore, the character size enlargement means enlarges the character size. For example, if the number of lines of the configuration data is small and even one line is included, the character size is expanded in the line direction within the predetermined limit value, and the number of lines is large and the digit of each line is large. When the number is small, the character size is enlarged in the digit direction within a predetermined limit value. Therefore, when printing address data in a predetermined area, even if a small character size is determined from the number of characters to be printed and the size of the area because the number of characters of the data to be printed is large, the character will be displayed in a natural shape. It can be enlarged and transformed to print.

【0006】[0006]

【実施例】以下、図1〜図4を参照して一実施例を説明
する。図1は宛名印刷機能付き日本語ワードプロセッサ
のブロック構成図である。CPU1はROM2等に格納
されている各種プログラムにしたがってこのワードプロ
セッサの全体動作を制御するもので、ROM2はオペレ
ーティングシステムをRAM3のプログラム領域3−1
にロードするプログラムや入出力制御用のプログラムの
他、文字フォントデータ等を記憶する。また、CPU1
にはその周辺デバイスとしての入力部4、表示部5、デ
ィスク装置6、プリンタ7が対応する入力制御部8、表
示制御部9、外部記憶制御部10、プリンタ制御部11
を介して接続されており、それらの入出力動作を制御す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of a Japanese word processor with an address printing function. The CPU 1 controls the overall operation of this word processor in accordance with various programs stored in the ROM 2, etc. The ROM 2 uses the operating system as a program area 3-1 of the RAM 3.
It stores character font data, etc. in addition to the programs to be loaded into and the programs for input / output control. Also, CPU1
The input unit 4 as a peripheral device, the display unit 5, the disk device 6, the input control unit 8 corresponding to the printer 7, the display control unit 9, the external storage control unit 10, the printer control unit 11
, And control their input / output operations.

【0007】RAM3はプログラム領域3−1の他、宛
名領域3−2、ワーク領域3−3、文書メモリ3−4等
を有する構成となっている。ここで、宛名領域3−2は
住所録用の宛名データを記憶するメモリ領域で、宛名デ
ータは1レコード毎に住所、氏名、備考等から構成さ
れ、宛名印刷時には宛名領域3−2から1レコード毎に
宛名データの住所、氏名が読み出される。なお、宛名領
域3−2には差出人の氏名、住所等も記憶されている。
また、宛名印刷用のフォーマットも宛名領域3−2に記
憶されており、この印刷フォーマットは葉書等の中心部
分の領域を宛名(受取人の氏名)、右側の領域を受取人
住所、左側の領域を差出人の印刷領域として定め、葉書
や封筒等の用紙の種類毎に各領域サイズが設定されてい
る。CPU1は入力部4から宛名印刷指令が入力される
と宛名データを構成する住所、氏名の文字数とそれに対
応する印刷領域の大きさとから住所、氏名毎に印刷用の
文字サイズを決定する。ここで、本実施例においては上
述のようにして決定された文字サイズをそのまま用いて
印刷を行う通常処理か、決定された文字サイズを行方向
あるいは桁方向に拡大してから印刷を行う本実施例特有
の特殊処理かを任意に選択可能となっており、特殊処理
によって宛名印刷を行う場合には次の規則にしたがって
文字サイズを拡大するようにしている。 (1)、上述のようにして決定された文字サイズが、対
応する印刷領域に対して予め設定されている基準文字サ
イズよりも小さい場合に文字サイズの拡大を行う。 (2)、行数が少なく桁数の多い行が1行でも含まれて
いるデータを印刷する場合には、予め決められている限
界値を越えないように文字サイズを行方向に拡大する。 (3)、行数が多く各行の桁数が少ないデータを印刷す
る場合には、予め決められている限界値を越えないよう
に文字サイズを桁方向に拡大する。なお、文書メモリ3
−4は宛名データを除く他の文書データを記憶するテキ
ストメモリである。
The RAM 3 has a program area 3-1, an address area 3-2, a work area 3-3, a document memory 3-4 and the like. Here, the address area 3-2 is a memory area for storing address data for an address book, and the address data is composed of an address, a name, a remark, etc. for each record. The address and name of the address data are read out for each. The name and address of the sender are also stored in the address area 3-2.
A format for printing an address is also stored in the address area 3-2. In this print format, the central area of a postcard or the like is the address (recipient's name), the area on the right is the address of the recipient, and the area on the left is the area. Is set as the sender's printing area, and each area size is set for each type of paper such as postcards and envelopes. When the address print command is input from the input unit 4, the CPU 1 determines the address and the number of characters of the name and the size of the printing area corresponding to the address that form the address data, and determines the printing character size for each address and name. Here, in the present embodiment, the normal processing for printing using the character size determined as described above as it is, or the present embodiment for printing after expanding the determined character size in the line direction or the column direction It is possible to arbitrarily select the special processing peculiar to the example. When the address printing is performed by the special processing, the character size is enlarged according to the following rules. (1) If the character size determined as described above is smaller than the reference character size preset for the corresponding print area, the character size is enlarged. (2) When printing data including at least one line having a small number of lines and a large number of digits, the character size is expanded in the line direction so as not to exceed a predetermined limit value. (3) When printing data with a large number of lines and a small number of digits in each line, the character size is expanded in the digit direction so as not to exceed a predetermined limit value. Document memory 3
-4 is a text memory for storing other document data except the address data.

【0008】入力部4は文書データや各種のコマンド等
を入力するもので、入力部4から入力された文書データ
は入力制御部8を介してCPU1に取り込まれたのち表
示制御部9に送られて表示部5から表示出力されたり、
かな漢字変換等が施されてRAM3の文書メモリ3−4
に格納される。ここで、CPU1は入力部4から文書保
存指令が入力されると、宛名領域3−2内の宛名データ
や文書メモリ3−4内の文書データを外部記憶制御部1
0に転送し、ディスク装置6に記憶保存させる。表示制
御部9はVRAM(ビデオRAM)12に対する画像デ
ータの書き込み/読み出し動作を制御するもので、VR
AM12から画像データを読み出して表示部5から表示
出力させる。
The input unit 4 inputs document data and various commands. The document data input from the input unit 4 is fetched by the CPU 1 via the input control unit 8 and then sent to the display control unit 9. Display output from the display unit 5,
Document memory 3-4 in RAM3 after kana-kanji conversion
Stored in. Here, when a document save command is input from the input unit 4, the CPU 1 transfers the address data in the address area 3-2 and the document data in the document memory 3-4 to the external storage control unit 1.
The data is transferred to 0 and stored in the disk device 6 for storage. The display control unit 9 controls the writing / reading operation of image data with respect to the VRAM (video RAM) 12, and the VR
The image data is read from the AM 12 and displayed on the display unit 5 for output.

【0009】次に、本実施例の動作を説明する。図2は
宛名印刷時の動作を示したフローチャートである。先
ず、葉書や各種サイズの封筒等の用紙の種類(用紙の大
きさと用紙の方向)を入力部4から入力指定すると、C
PU1は宛名の各要素として住所、宛名、差出人の印刷
領域(領域の縦サイズ、横サイズ)を自動決定する(ス
テップS1)。次に、入力部4から宛名印刷の方式、つ
まり、上述した通常処理か特殊処理かを任意に選択して
いすると共に印刷対象の宛名データを選択指定する(ス
テップS2)。
Next, the operation of this embodiment will be described. FIG. 2 is a flowchart showing an operation at the time of printing an address. First, when the type of paper such as postcards and envelopes of various sizes (paper size and paper direction) is input and designated from the input unit 4, C
PU1 automatically determines the address, the address, and the print area (the vertical size and the horizontal size of the area) of the sender as each element of the address (step S1). Next, the address printing method, that is, the above-described normal processing or special processing is arbitrarily selected from the input unit 4 and the address data to be printed is selected and designated (step S2).

【0010】すると、CPU1はRAM3の宛名領域3
−2から1件目の宛名データを読み出してワーク領域3
−3にセットしたのち(ステップS3)、この宛名デー
タから住所を抽出し、住所データの行数と最大桁数を計
数する(ステップS4)。次に、上述のステップS1で
求めた住所に関する印刷領域の縦サイズと横サイズとを
取り込み、領域縦サイズ/最大桁数、領域横サイズ/行
数をそれぞれ計算し、その値をa、bとする(ステップ
S5)。このa、bの値は正数であり、aの値は文字の
縦幅の最大値を示し、bの値は文字の横幅の最大値を示
す。ここで、住所に関する文字サイズを決定する為の目
安(文字サイズが小さくなりすぎて読み難くなることを
防止する為の目安)として予め設定されている基準サイ
ズとa、bの値とを比較する。即ち、領域縦サイズ/最
大桁数によって求めたaの値が文字の縦幅における基準
サイズよりも小さいか否かを調べ(ステップS6)、そ
の結果、基準サイズよりもaの値が小さければ、領域横
サイズ/行数よって求めたbの値が文字の横幅における
基準サイズよりも小さいか否かを調べる(ステップS
7)。ここで、a、bの値のいずれか一方が基準サイズ
よりも小さければ、ステップS8に進み、特殊処理によ
る印刷方式がステップS2で予め選択指定されているこ
とを条件に、特殊処理に移行するが、a、bの値が共に
基準サイズよりも大きければ、通常と同様にa、bの値
のうち、短い方の値を一辺とする正方形に収まる様な文
字サイズを指定する(ステップS9)。
Then, the CPU 1 makes the address area 3 of the RAM 3
-Work area 3 by reading the first address data from -2
After being set to -3 (step S3), the address is extracted from this address data, and the number of lines and the maximum number of digits of the address data are counted (step S4). Next, the vertical size and horizontal size of the print area relating to the address obtained in step S1 described above are fetched, and the area vertical size / maximum number of digits and area horizontal size / number of lines are calculated, and the values are a and b. Yes (step S5). The values of a and b are positive numbers, the value of a indicates the maximum width of the character, and the value of b indicates the maximum width of the character. Here, the reference size preset as a guideline for determining the character size related to the address (a guideline for preventing the character size from becoming too small and difficult to read) is compared with the values of a and b. . That is, it is checked whether or not the value of a obtained by the area vertical size / maximum number of digits is smaller than the reference size in the vertical width of the character (step S6). As a result, if the value of a is smaller than the reference size, It is checked whether or not the value of b obtained from the area horizontal size / the number of lines is smaller than the reference size in the horizontal width of the character (step S
7). Here, if either one of the values a and b is smaller than the reference size, the process proceeds to step S8, and the special process is performed on condition that the printing method by the special process is selected and designated in advance in step S2. However, if the values of a and b are both larger than the reference size, the character size is specified so that the shorter one of the values of a and b fits in a square with one side as usual (step S9). .

【0011】他方、a、bの値のいずれか一方が基準サ
イズよりも小さければ、通常と同様の方法で文字サイズ
を決定すると、文字が小さくなりすぎて読み難くなる
為、特殊処理に移行する(ステップS10〜S16)。
なお、予め特殊処理が選択指定されていなければ、通常
と同様の処理に移る(ステップS9)。いま、特殊処理
が選択指定されている場合には、先ず、aの値とbの値
とを比較し(ステップS10)、大きい方の値が小さい
方の値の倍以下か否かをチェックする(ステップS1
1、S12)。ここで、bの値の方が大きく、2a<b
の場合には、縦幅をaの値、横幅を2aの値によって定
まる長方形に収まる様な文字サイズを指定する(ステッ
プS13)。即ち、bの値がaの値の2倍よりも大きい
場合(縦方向に文字が多く行数が少ない場合)には、2
aを限界値とする長方形の文字サイズを指定する。これ
は文字の縦横比が2倍を越えると、文字として不自然と
なり、違和感を生ずる為に、2aを限界値としている。
また、bの値がa<b<2aの場合には、縦幅をaの
値、横幅をbの値によって定まる長方形に収まる様な文
字サイズを指定する(ステップS14)。
On the other hand, if one of the values a and b is smaller than the reference size, if the character size is determined by the same method as usual, the character becomes too small and difficult to read. (Steps S10 to S16).
If the special process is not selected and designated in advance, the same process as the normal process is performed (step S9). If special processing is selected and designated, first, the value of a and the value of b are compared (step S10), and it is checked whether the larger value is less than or equal to twice the smaller value. (Step S1
1, S12). Here, the value of b is larger and 2a <b
In this case, the character size is specified so that the vertical width fits in the rectangle defined by the value a and the horizontal width is defined by the value 2a (step S13). That is, when the value of b is larger than twice the value of a (when there are many characters in the vertical direction and the number of lines is small), 2
Specifies the size of a rectangle with a as the limit value. This is because the character becomes unnatural when the aspect ratio of the character is more than doubled, which causes a feeling of strangeness.
If the value of b is a <b <2a, the character size is specified so that the vertical width fits within the rectangle defined by the value a and the horizontal width is determined by the value b (step S14).

【0012】同様に、aの値の方がbの値よりも大き
く、2b<aの場合(行方向に文字が多く桁数が少ない
場合)には、縦幅をaの値、横幅を2aの値によって定
まる長方形に収まる様な文字サイズを指定する(ステッ
プS15)。この場合、上述と同様にaの値が2bの値
を越える大きさでも2bを限界値とする長方形の文字サ
イズを指定する。また、aの値がb<a<2bの場合に
は縦幅をaの値、横幅をbの値によって定まる長方形に
収まる様な文字サイズを指定する(ステップS16)。
このように住所データの行数が少なく桁数の多い行が含
まれている場合には、行方向に拡大した文字サイズを指
定し、また行数が多く各行の桁数が少ない場合には縦方
向に拡大した文字サイズを指定する。このようにして住
所データに対する文字サイズの拡大処理が終ると、宛名
領域3−2から読み出した住所データを指定文字サイズ
にしたがった大きさに展開し、プリンタ制御部11内の
印刷バッファ(図示せず)に記憶させる(ステップS1
7)。この場合、住所データは印刷バッファ内の住所に
関する印刷領域に展開記憶される。
Similarly, when the value of a is larger than the value of b and 2b <a (when there are many characters in the row direction and the number of digits is small), the vertical width is the value of a and the horizontal width is 2a. A character size that fits in the rectangle determined by the value of is specified (step S15). In this case, similarly to the above, even if the value of a exceeds the value of 2b, the character size of the rectangle is specified with the limit value of 2b. If the value of a is b <a <2b, the character size is specified so that the vertical width fits within the rectangle defined by the value of a and the horizontal width depends on the value of b (step S16).
If the address data contains a line with a small number of lines and a large number of digits, specify a character size enlarged in the line direction.If the number of lines is large and the number of columns in each line is small, specify a vertical size. Specify the font size enlarged in the direction. When the processing for enlarging the character size for the address data is completed in this way, the address data read from the address area 3-2 is expanded into a size according to the specified character size, and a print buffer (not shown) in the printer control unit 11 is shown. Stored) (step S1)
7). In this case, the address data is expanded and stored in the print area related to the address in the print buffer.

【0013】以上のようにして住所データを印刷バッフ
ァに記憶させたら、他の宛名データ(受取人氏名や差出
人)も上述と同様の処理を実行することによって文字サ
イズを決定し、印刷バッファ内の対応する印刷領域に展
開記憶させる。このようにして1件分の宛名データを全
て印刷バッファ内に展開させる処理が終了した時点で、
印刷バッファの内容がプリンタ7に送られて印刷される
(ステップS19)。そして、印刷対象として指定され
た残りの宛名データが有るか否かをチェックし(ステッ
プS20)、他の宛名データが有ればステップS3に戻
り、印刷対象として指定された全ての宛名データを印刷
し終るまで上述の動作を繰り返す。
When the address data is stored in the print buffer as described above, the character size is determined for other address data (recipient name and sender) by performing the same processing as described above, and the character size in the print buffer is determined. It is expanded and stored in the corresponding print area. In this way, when the processing of expanding all the address data for one case in the print buffer is completed,
The contents of the print buffer are sent to the printer 7 and printed (step S19). Then, it is checked whether or not there is the remaining address data specified as the print target (step S20), and if there is other address data, the process returns to step S3 to print all the address data specified as the print target. The above operation is repeated until the end.

【0014】ここで、図3は行数が少なく桁数が多い住
所データを印刷した場合の例を示し、図5に示した様に
通常の方法で決定された文字サイズで住所データを印刷
したものとすると、住所の印刷領域にはその横幅方向
(行方向)に大きな空白が生ずるが、本実施例ではこの
空白部分を有効活用する為に特殊処理で決定された文字
サイズは空白方向に拡大された横長の長方形を成し、従
来よりも大きな読み易すい文字となる。
Here, FIG. 3 shows an example in which address data having a small number of lines and a large number of digits is printed, and as shown in FIG. 5, the address data is printed in a character size determined by a usual method. If so, a large blank appears in the print area of the address in the width direction (row direction). In this embodiment, the character size determined by the special process is expanded in the blank direction in order to effectively use the blank portion. It has a horizontally elongated rectangle, which makes it easier to read and has a larger size than ever before.

【0015】図4は行数が多く各行の桁数が少ない住所
データを印刷した場合の例を示し、図6に示した様に通
常の方法で決定された文字サイズで住所データを印刷し
たものとすると、住所の印刷領域にはその縦幅方向(桁
方向)に大きな空白が生ずるが、本実施例ではこの空白
部分を有効活用する為に、特殊処理で決定された文字サ
イズは空白方向に拡大された縦長の長方形を成し、従来
よりも大きな読み易すい文字となる。このように通常の
方法で決定された文字サイズを縦または横方向に引き伸
ばしても特に毛筆体等の手書き風書体の場合には何んら
違和感を生ずることもなく十分読み易すい文字を得るこ
とができる。
FIG. 4 shows an example of printing address data in which the number of lines is large and the number of digits in each line is small. As shown in FIG. 6, the address data is printed in a character size determined by a normal method. Then, in the print area of the address, a large blank is generated in the vertical direction (column direction), but in this embodiment, in order to effectively utilize this blank portion, the character size determined by the special process is set in the blank direction. The enlarged vertical rectangle makes it easier to read and has a larger size than ever before. In this way, even if the character size determined by the ordinary method is stretched vertically or horizontally, it does not cause any discomfort, especially in the case of a handwriting typeface such as a writing brush. You can

【0016】なお、上記実施例は毛筆体やペン字体等の
手書き風書体を用いて宛名印刷を行うようにしたが、明
朝体やゴシック体等で宛名印刷を行うようにしてもよ
い。
In the above embodiment, the address printing is performed by using the handwriting style typeface such as a writing brush or pen type, but the address printing may be performed by the Mincho typeface or the Gothic typeface.

【0017】[0017]

【発明の効果】この発明によれば、住所データ等を所定
の領域内に宛名印刷する場合、印刷すべきデータの文字
数が多い為にその文字数と領域の大きさとから小さな文
字サイズが決定されたとしてても、文字を自然な形に拡
大変形して印刷することができるので、常に読み易すい
大きさの文字となり、極めて実用性の高いものとなる。
According to the present invention, when address data and the like are printed in a predetermined area, a small character size is determined from the number of characters and the size of the area because the number of characters of the data to be printed is large. However, since the characters can be enlarged and deformed in a natural shape and printed, the characters are always in a readable and easy-to-read size, which is extremely practical.

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

【図1】実施例に係る宛名印刷機能付き日本語ワードプ
ロセッサのブロック構成図。
FIG. 1 is a block diagram of a Japanese word processor with an address printing function according to an embodiment.

【図2】宛名印刷処理を示したフローチャート。FIG. 2 is a flowchart showing an address printing process.

【図3】行数が少なく桁数が多い住所データを葉書に印
刷する際に、各文字を横長に拡大変形した場合を示した
図。
FIG. 3 is a diagram showing a case where each character is enlarged and deformed to be horizontally long when printing address data having a small number of lines and a large number of digits on a postcard.

【図4】行数が多く各行の桁数が少ない住所データを葉
書に印刷する際に、各文字を縦長に拡大変形した場合を
示した図。
FIG. 4 is a diagram showing a case where each character is enlarged and deformed to be vertically long when printing address data having a large number of lines and a small number of digits in each line on a postcard.

【図5】従来の宛名印刷において、行数が少なく桁数が
多い住所データを葉書に印刷する際に、各文字の大きさ
を示した図。
FIG. 5 is a diagram showing the size of each character when printing address data with a small number of lines and a large number of digits on a postcard in conventional address printing.

【図6】従来の宛名印刷において、行数が多く各行の桁
数が少ない住所データを葉書に印刷する際に、各文字の
大きさを示した図。
FIG. 6 is a diagram showing the size of each character when printing address data having a large number of lines and a small number of digits in each line on a postcard in conventional address printing.

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

1 CPU 2 ROM 3 RAM 3−1 プログラム領域 3−2 宛名領域 3−3 ワーク領域 4 入力部 7 プリンタ 11 プリンタ制御部 1 CPU 2 ROM 3 RAM 3-1 Program Area 3-2 Address Area 3-3 Work Area 4 Input Section 7 Printer 11 Printer Control Section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数の構成データから成る宛名データを各
構成データ毎に対応する所定の印刷領域に印刷する宛名
印刷装置において、 各構成データの文字数と、対応する印刷領域の大きさと
から構成データ毎に印刷すべき文字のサイズを決定する
文字サイズ決定手段と、 この文字サイズ決定手段によって構成データ毎に決定さ
れた文字サイズが、対応する印刷領域に対して予め定め
られている基準文字サイズよりも小さいか否かを判別す
る判別手段と、 この判別手段によって小さいと判別された場合に前記文
字サイズ決定手段によって決定された文字サイズを拡大
する文字サイズ拡大手段と、 を具備したことを特徴とする宛名印刷装置。
1. In an address printing apparatus for printing address data composed of a plurality of configuration data in a predetermined print area corresponding to each configuration data, the configuration data is obtained from the number of characters of each configuration data and the size of the corresponding print area. The character size determining means for determining the size of the character to be printed for each, and the character size determined for each constituent data by the character size determining means is larger than the reference character size predetermined for the corresponding print area. And a character size enlarging means for enlarging the character size determined by the character size determining means when the character size is determined to be small by the determining means. Address printing device.
【請求項2】前記文字サイズ拡大手段は前記文字サイズ
決定手段によって決定された文字サイズを拡大する際
に、構成データの行数が少なく桁数の多い行が含まれて
いる場合には行方向に文字サイズを拡大し、行数が多く
各行の桁数が少ない場合には桁方向に文字サイズを拡大
するようにしたことを特徴とする請求項(1)記載の宛
名印刷装置。
2. The character size enlarging means, when enlarging the character size determined by the character size determining means, if the number of lines of the constituent data is small and the number of columns is large, the line direction is increased. 2. The address printing device according to claim 1, wherein the character size is expanded to a large number and the character size is expanded in the digit direction when the number of lines is large and the number of digits in each line is small.
【請求項3】前記文字サイズ拡大手段は前記文字サイズ
決定手段によって決定された文字サイズを行方向あるい
は桁方向に拡大する場合に、予め設定されている限界値
以内に収まるように拡大するようにしたことを特徴とす
る請求項(1)、(2)記載の宛名印刷装置。
3. The character size enlarging means, when enlarging the character size determined by the character size determining means in a line direction or a column direction, enlarges it so as to be within a preset limit value. The address printing device according to claim 1, wherein the address printing device is provided.
JP4262681A 1992-09-07 1992-09-07 Apparatus for printing address Pending JPH0687249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4262681A JPH0687249A (en) 1992-09-07 1992-09-07 Apparatus for printing address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4262681A JPH0687249A (en) 1992-09-07 1992-09-07 Apparatus for printing address

Publications (1)

Publication Number Publication Date
JPH0687249A true JPH0687249A (en) 1994-03-29

Family

ID=17379115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4262681A Pending JPH0687249A (en) 1992-09-07 1992-09-07 Apparatus for printing address

Country Status (1)

Country Link
JP (1) JPH0687249A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08329055A (en) * 1995-05-31 1996-12-13 Nec Ic Microcomput Syst Ltd Automatic setting method for character size
US10244143B2 (en) 2015-12-28 2019-03-26 Ricoh Company, Ltd. Image processing apparatus, image processing method, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08329055A (en) * 1995-05-31 1996-12-13 Nec Ic Microcomput Syst Ltd Automatic setting method for character size
US10244143B2 (en) 2015-12-28 2019-03-26 Ricoh Company, Ltd. Image processing apparatus, image processing method, and recording medium

Similar Documents

Publication Publication Date Title
JPH07106660B2 (en) How to create handwritten manuscript
JPH07149005A (en) Document forming apparatus
JP2613255B2 (en) Character pitch processing method
JPH0687249A (en) Apparatus for printing address
JPH0677253B2 (en) Address printing device
JPH0438005B2 (en)
JPH07122787B2 (en) Continuous character generator
JPH05266013A (en) Document page compression processing method
JP2837497B2 (en) Output control device and output control method
JP3341048B2 (en) Document printing device
JP2687478B2 (en) Printing device
JP2886912B2 (en) Character processing apparatus and method
JP3109727B2 (en) Character processing method and character processing device
JPH0815794B2 (en) Character processor
JP2554225B2 (en) Text output device
JP3005344B2 (en) Document processing device
JPH06274150A (en) Document display method
JPS605469B2 (en) galley printing system
JP2556488B2 (en) Character processor
JPH0573562A (en) Document editor
JPS62282381A (en) Continuous character forming device
JP2803746B2 (en) Character processing method and apparatus
JPH0737111A (en) Document processing method
JPS6270065A (en) Document printing controlling system
JPH08153092A (en) Document processor