JPH04341845A - Printing character distance controller - Google Patents

Printing character distance controller

Info

Publication number
JPH04341845A
JPH04341845A JP3113431A JP11343191A JPH04341845A JP H04341845 A JPH04341845 A JP H04341845A JP 3113431 A JP3113431 A JP 3113431A JP 11343191 A JP11343191 A JP 11343191A JP H04341845 A JPH04341845 A JP H04341845A
Authority
JP
Japan
Prior art keywords
name
character
printing
characters
pattern
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
JP3113431A
Other languages
Japanese (ja)
Inventor
Seiichi Yamamoto
精一 山本
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.)
WAAPU KK
Original Assignee
WAAPU KK
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 WAAPU KK filed Critical WAAPU KK
Priority to JP3113431A priority Critical patent/JPH04341845A/en
Publication of JPH04341845A publication Critical patent/JPH04341845A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a printing character distance controller apparatus wherein a work related with adjustment of word distance can be very easily performed. CONSTITUTION:As shown in a corresponding table 20, nine kinds of patterns combining the number of a family name and the number of a first name are set and printing character distance patterns corresponding to each case of these nine kinds are stored. Then, when a full name is input, based on a combination pattern to which the full name belongs, a corresponding printing distance pattern is selected from the corresponding relation of the corresponding table 20 and a printing distance of a word line is controlled based on the selected printing distance pattern. Therefore, only the full name is input, the printing distance between each word is automatically determined based on a printing distance pattern determined by a combination of the number of the family name and the number of the first name of the full name and a work related with adjustment of the word distance becomes very easy.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、入力された文字列を印
字する際の印字間隔を制御する印字間隔制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing interval control device for controlling printing intervals when input character strings are printed.

【0002】0002

【従来の技術】従来より、例えばワードプロセッサ等の
印字装置において印字を行う際、印刷する紙のサイズ、
左右のマージンを指定して1行のスペースを決定し、そ
の1行の文字数等を指定して印刷スタイルを設定するこ
とにより、印字される文字の間隔が決められていた。
[Prior Art] Conventionally, when printing on a printing device such as a word processor, the size of the paper to be printed,
The spacing between printed characters was determined by specifying the left and right margins to determine the space for one line, and by specifying the number of characters in one line and setting the printing style.

【0003】また、特別に文字間隔を大きくしたい場合
には、例えばスペースキー等を操作して、前記印刷スタ
イルで設定された文字間隔に、所定の最小単位(例えば
全角文字1字分、あるいは半角文字1字分等)づつ間隔
を増やしていくことができるようにされていた。
[0003] Furthermore, if you particularly want to increase the character spacing, for example, use the space key or the like to change the character spacing set in the printing style to a predetermined minimum unit (for example, one full-width character or one half-width character). It was possible to increase the spacing by one character (e.g. one character) at a time.

【0004】0004

【発明が解決しようとする課題】しかしながら、語意に
より複数に分割可能で各分割部分の文字数が異なる一連
の文字列群に属する任意の文字列を決められたスペース
に印刷する際、例えば名刺に氏名を刷ろうとする場合、
上述した印刷スタイルを一度設定しただけでは問題が生
じてくる。それは、刷られる氏名の文字数は氏名の違い
により異なっており、その字数の異なるいろいろな氏名
を名刺上の決められたスペースに刷り入れるためには、
各文字同士の間隔を色々調整しなければならないからで
ある。
[Problem to be Solved by the Invention] However, when printing an arbitrary character string belonging to a series of character strings that can be divided into multiple parts depending on the meaning of the word and each divided part has a different number of characters in a fixed space, for example, when printing a name on a business card. If you try to print
Problems will arise if the above-mentioned printing style is set only once. The number of characters printed for a name varies depending on the name, and in order to print various names with different numbers of characters in a designated space on a business card,
This is because the spacing between each character must be adjusted in various ways.

【0005】さらに、その文字間隔は、名字1字で名前
も1字、名字2字で名前が1字、名字1字で名前が2字
等、名字の文字数及び名前の文字数それぞれによっても
違ってくる場合がある。例えば、名字と名前の区別を明
確するため、名字と名前の間のスペースを少し多めに取
るレイアウトにしたい場合には、氏名は同じ3文字でも
、その1字目と2字目の間隔及び2字目と3字目の間隔
は名字2字で名前が1字の場合と、名字1字で名前が2
字の場合とでは異なってくる。
Furthermore, the spacing between characters varies depending on the number of characters in the first name and the number of characters in the first name, such as one surname and one first name, two surnames and one first name, and one last name and two first names. There may be cases where For example, if you want to create a layout with a little more space between the first and last names to clearly distinguish between them, even if the names are the same three characters, the space between the first and second letters and the second The distance between the first and third letters is when the first name is two letters and the first name is one letter, and when the last name is one letter and the first name is two letters.
It is different in the case of letters.

【0006】そして、こうした場合には、オペレータが
名字の文字数及び名前の文字数に応じて各文字間隔を調
整し、所望のレイアウトになるよう設定した上で印字を
行っていた。そのため、名字の文字数や名前の文字数が
変更すると、氏名の入力だけでなく、その都度スペース
キー等を操作して、各文字間隔の調整を行う必要があり
、非常に手間の掛かるものであった。
In such cases, the operator adjusts the spacing between each character according to the number of characters in the last name and the number of characters in the first name, and sets the desired layout before printing. Therefore, when the number of characters in a surname or name changes, it is necessary not only to input the name but also to use the space key each time to adjust the spacing between each character, which is extremely time-consuming. .

【0007】そこで本発明は、上記の課題を解決するこ
とを目的とし、語意により複数に分割可能で各分割部分
の文字数が異なる一連の文字列群に属する任意の文字列
を決められたスペースに印刷する際、その文字間隔の調
整を容易に行うことのできる印字間隔制御装置を提供す
ることにある。
[0007]The present invention aims to solve the above-mentioned problems, and it is possible to divide any character string belonging to a series of character strings that can be divided into multiple parts depending on the meaning of the word and each divided part has a different number of characters into a predetermined space. It is an object of the present invention to provide a printing interval control device that can easily adjust the character interval when printing.

【0008】[0008]

【課題を解決するための手段】かかる目的を達成すべく
、本発明は課題を解決するための手段として次の構成を
取った。即ち、図1に示すように、語意により複数に分
割可能な文字列における各分割部分の文字数同士の組合
せから成る複数の組合せパターンと、前記文字列の印字
時における各文字間隔が設定された印字間隔パターンと
の対応関係を記憶している記憶手段M1と、入力手段M
2より入力された文字列の属する前記組合せパターンに
基づき、前記対応関係より該当する前記印字間隔パター
ンを選択するパターン選択手段M3と、該選択された印
字間隔パターンに基づいて前記文字列の印字間隔を制御
する印字間隔制御手段M4とを備えたことを特徴とする
印字間隔制御装置の構成がそれである。
[Means for Solving the Problems] In order to achieve the above object, the present invention has the following configuration as a means for solving the problems. That is, as shown in FIG. 1, a plurality of combination patterns consisting of combinations of the number of characters in each divided part of a character string that can be divided into multiple parts depending on the meaning of the word, and printing in which the spacing between each character when printing the character string is set. A storage means M1 that stores the correspondence relationship with the interval pattern, and an input means M
pattern selection means M3 for selecting the corresponding printing interval pattern based on the correspondence relationship based on the combination pattern to which the character string inputted from 2; This is the configuration of a printing interval control device characterized in that it includes a printing interval control means M4 for controlling the printing interval.

【0009】[0009]

【作用】前記構成を有する本発明の印字間隔制御装置は
、記憶手段M1が、語意により複数に分割可能な文字列
における各分割部分の文字数同士の組合せから成る複数
の組合せパターンと、文字列の印字時における各文字間
隔が設定された印字間隔パターンとの対応関係を記憶し
ている。そして、入力手段M2より文字列を入力すると
、パターン選択手段M3がその文字列の属する組合せパ
ターンに基づき、記憶手段M1の対応関係より該当する
印字間隔パターンを選択し、印字間隔制御手段M4がそ
の選択された印字間隔パターンに基づいて文字列の印字
間隔を制御する。
[Operation] In the printing interval control device of the present invention having the above-mentioned configuration, the storage means M1 stores a plurality of combination patterns consisting of combinations of the number of characters in each divided part of a character string that can be divided into a plurality of parts depending on the meaning of the word, and a character string. The correspondence relationship between each character interval during printing and the set printing interval pattern is stored. Then, when a character string is inputted from the input means M2, the pattern selection means M3 selects the corresponding printing interval pattern from the correspondence in the storage means M1 based on the combination pattern to which the character string belongs, and the printing interval control means M4 selects the corresponding printing interval pattern. The printing interval of the character string is controlled based on the selected printing interval pattern.

【0010】従って、様々な文字列を印字する際に、そ
の文字列の各分割部分の文字数同士の組合せによって定
まる印字間隔パターンに基づいて文字列の印字間隔が自
動的に決まり、所望の印字間隔での印字が行える。その
ため、語意により複数に分割可能で各分割部分の文字数
が異なる一連の文字列群に属する任意の文字列を決めら
れたスペースに印字する際、例えば、名刺の氏名の部分
を色々変えたい場合にも、氏名の名字と名前の各字数の
組合せによって自動的に所望の印字間隔での印字ができ
、字数が変わる度にレイアウトを考慮して印字間隔を設
定し直す必要がない。
Therefore, when printing various character strings, the printing interval of the character string is automatically determined based on the printing interval pattern determined by the combination of the number of characters in each divided part of the character string, and the desired printing interval is achieved. You can print with . Therefore, when printing an arbitrary character string that belongs to a series of character strings that can be divided into multiple parts depending on the meaning of the word, and each divided part has a different number of characters, in a fixed space, for example, if you want to change the name part of a business card, Also, it is possible to automatically print at the desired printing interval depending on the combination of the last name of the name and the number of characters of each name, and there is no need to consider the layout and reset the printing interval every time the number of characters changes.

【0011】[0011]

【実施例】以下、本発明の実施例を図面と共に説明する
。図2は本実施例の印字間隔制御装置の概略構成を示す
ブロック図である。本印字間隔制御装置は、文字や編集
指示等を入力するためのキーボード1、入力・編集され
た文字等を表示するためのCRT3、文字等を印字する
プリンタ5、及びこれらの装置に接続されて文字等の入
力・編集・表示・印字等の各種制御を実行する電子制御
装置10を備えている。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram showing a schematic configuration of the printing interval control device of this embodiment. This printing interval control device includes a keyboard 1 for inputting characters, editing instructions, etc., a CRT 3 for displaying input/edited characters, etc., a printer 5 for printing characters, etc., and a device connected to these devices. It is equipped with an electronic control device 10 that executes various controls such as inputting, editing, displaying, printing, etc. characters.

【0012】キーボード1はキャラクタを入力する通常
の文字キー(図示せず)の他に、入力されたキャラクタ
を所望の漢字等に変換するための変換キーや印字キー、
後述する氏名入力の際に、名字の入力の開始及び名前の
入力の開始等を指示するためのファンクションキー(共
に図示せず)等を備えている。
In addition to normal character keys (not shown) for inputting characters, the keyboard 1 has conversion keys and print keys for converting input characters into desired kanji, etc.
It is provided with function keys (both not shown) for instructing to start inputting a last name and a name when inputting a name, which will be described later.

【0013】電子制御装置10は、周知のCPU11、
ROM13、RAM15を論理演算回路の中心として構
成され、外部機器との入出力を行う入出力ポート17等
をコモンバス19を介して相互に接続されて構成されて
いる。
The electronic control device 10 includes a well-known CPU 11,
It is configured with a ROM 13 and a RAM 15 as the core of a logic operation circuit, and input/output ports 17 and the like that perform input/output with external devices are interconnected via a common bus 19.

【0014】CPU11は、キーボード1からの各種信
号を入出力ポート17を介して入力する。一方、ROM
13、RAM15内のデータに基づいてCPU11は、
入出力ポート17を介して、CRT3、プリンタ5に各
々制御信号を出力する。
The CPU 11 receives various signals from the keyboard 1 via the input/output port 17. On the other hand, ROM
13. Based on the data in the RAM 15, the CPU 11:
Control signals are output to the CRT 3 and printer 5 via the input/output port 17, respectively.

【0015】また、電子制御装置10のROM13内に
は、語意により複数に分割可能な文字列における各分割
部分の文字数同士の組合せから成る複数の組合せパター
ンと、前記文字列の印字時における各文字間隔が設定さ
れた印字間隔パターンとの対応関係が、図3に示す対応
テーブル20の如く記憶されている。
Furthermore, the ROM 13 of the electronic control unit 10 contains a plurality of combination patterns consisting of combinations of the number of characters in each divided part of a character string that can be divided into a plurality of parts depending on the meaning of the word, and a combination of each character when printing the character string. The correspondence relationship with the printing interval pattern in which the interval is set is stored as a correspondence table 20 shown in FIG.

【0016】本実施例では、語意により複数に分割可能
な文字列の一例として、氏名における名字の文字数と名
前の文字数との組合せのパターンが9種類設定されてい
る。それは、名字の文字数が1字〜3字、名前の文字数
が1字〜3字の各場合の組合せによる9種類である。日
本人の氏名の場合、名字・名前共に3字以内の場合がほ
とんどであるので、本実施例では上記9種類に設定した
[0016] In this embodiment, as an example of a character string that can be divided into a plurality of characters according to meaning, nine types of patterns of combinations of the number of characters in the surname and the number of characters in the first name are set. There are nine types based on combinations of surnames with 1 to 3 characters and names with 1 to 3 characters. In the case of Japanese names, in most cases both the surname and first name are three characters or less, so in this embodiment, the above-mentioned nine types are set.

【0017】そして、図3の対応テーブル20に示すよ
うに、それら9種類の各場合について、氏名を印字する
際の各文字間隔が、n番目の文字と(n+1)番目の文
字との間隔として、n=1〜5の場合について予め記憶
されている。本実施例では氏名はすべて全角文字で入力
するものとし、図3におけるn=1〜5の場合の文字間
隔の欄の数字は、全角に対応する距離の何倍分かを示す
ものである。本実施例では半角(全角の半分、対応テー
ブル20では0.5で示す。)が文字間隔の最小単位と
されている。
As shown in the correspondence table 20 in FIG. 3, in each of these nine cases, the character spacing when printing the name is the spacing between the nth character and (n+1)th character. , n=1 to 5 are stored in advance. In this embodiment, all names are entered in full-width characters, and the numbers in the character spacing column when n=1 to 5 in FIG. 3 indicate how many times the distance corresponds to the full-width characters. In this embodiment, a half-width character (half of a full-width character, indicated by 0.5 in the correspondence table 20) is the minimum unit of character spacing.

【0018】尚、対応テーブル20における文字間隔の
欄の横線は、文字間隔が設定されていないことを示すも
のである。例えば、名字・名前共に1字である場合には
、1字目と2字目との間の文字間隔しかないので、n=
2〜5の場合は設定されず、n=1の場合のみ設定され
る。他の場合も文字数に応じて同様に設定される。
Note that the horizontal line in the character spacing column in the correspondence table 20 indicates that the character spacing is not set. For example, if both the first and last name are one character, there is only the character spacing between the first and second characters, so n=
It is not set in the case of 2 to 5, and is set only in the case of n=1. In other cases, the settings are made in the same way depending on the number of characters.

【0019】次に、上記のように構成された本実施例の
印字間隔制御装置の作動、前述した電子制御装置10に
より実行される印字間隔制御処理について、図4のフロ
ーチャートによって説明する。
Next, the operation of the printing interval control device of this embodiment configured as described above and the printing interval control processing executed by the electronic control unit 10 described above will be explained with reference to the flowchart shown in FIG.

【0020】まず、キーボード1の図示しないファンク
ションキーで名字の入力開始を指示した後で文字キーや
変換キーを操作して所望の名字を入力する(ステップ1
00、以下単にS100で表す。以下同様。)。次にフ
ァンクションキーで名前の入力開始を指示した後で文字
キー等により所望の名前を入力し、ファンクションキー
で名前の入力終了を指示する(S110)。
First, use a function key (not shown) on the keyboard 1 to instruct to start inputting the surname, and then operate the character keys and conversion keys to input the desired surname (step 1).
00, hereinafter simply expressed as S100. Same below. ). Next, after instructing to start inputting a name using a function key, a desired name is inputted using a character key, etc., and an instruction is given to finish inputting a name using a function key (S110).

【0021】このように、S100で名字を入力した後
、S110における名前の入力開始の指示により名字の
文字列が特定される。また、名前については、S110
における入力開始と終了の指示により文字列が特定され
る。
[0021] In this way, after the surname is input in S100, the character string of the surname is specified by the instruction to start inputting the name in S110. Also, regarding the name, S110
The character string is specified by the input start and end instructions in .

【0022】名字に続いて名前の入力が終了すると、入
力された名字及び名前は共に3文字以内かどうかを判断
する(S120)。ここで、名字及び名前が共に3文字
以内かどうかを判断するのは、前述したように、日本人
の氏名の場合、名字・名前共に3字以内の場合がほとん
どであり、本実施例ではROM13内に対応テーブル2
0において組合せパターンが名字・名前共に3字以内の
場合に設定してあるからである。
[0022] When the input of the first name following the last name is completed, it is determined whether the input last name and first name are both within three characters (S120). Here, as mentioned above, in the case of Japanese names, it is determined whether both the surname and first name are within 3 characters, and in this embodiment, the ROM13 Compatible table 2 inside
This is because the combination pattern in 0 is set when both the first name and last name have three characters or less.

【0023】そして、名字及び名前が共に3文字以内の
場合には(S120)、名字の文字数のカウント(S1
30)及び名前の文字数のカウント(S140)を行う
。次に、このカウントされた名字の文字数と名前の文字
数との組合せのパターンに基づいて、対応テーブル20
の対応関係より該当する印字間隔パターンを選択する(
S150)。
[0023] If both the surname and first name are within 3 characters (S120), the number of characters in the surname is counted (S1
30) and counts the number of characters in the name (S140). Next, based on the pattern of combinations of the counted number of characters in the last name and the number of characters in the name, the correspondence table 20 is
Select the corresponding print interval pattern from the correspondence relationship (
S150).

【0024】こうして、図3の対応テーブル20に示す
ように、名字と名前の文字数とから決まる9種類の組合
せのパターン各々に対応して選択された印字間隔パター
ンにより、氏名を印字する際の各文字間隔が設定される
In this way, as shown in the correspondence table 20 of FIG. 3, each print interval pattern when printing a name is selected according to each of the nine combination patterns determined from the first name and the number of characters in the first name. Character spacing is set.

【0025】そして、キーボード1上の図示しない印字
キーが押下されるまで待ち、印字キーが押下されると(
S160)、参照文字の印字、最初の参照文字は文字列
中の1番目の文字であるので、この場合は名字の1字目
の印字を行う(S170)。
[0025] Then, wait until the print key (not shown) on the keyboard 1 is pressed, and when the print key is pressed (
S160), Printing of Reference Character, Since the first reference character is the first character in the character string, in this case, the first character of the last name is printed (S170).

【0026】次に、選択された印字間隔パターンより、
S170での参照文字の後に文字間隔が設定されている
かを判断する(S180)。1番目の文字と2番目の文
字との間隔はどのパターンにおいても設定されているの
で、その指定の文字間隔を印字された1番目の文字の後
にあける(S190)。
Next, from the selected printing interval pattern,
It is determined whether a character interval is set after the reference character in S170 (S180). Since the spacing between the first character and the second character is set in any pattern, the specified character spacing is created after the printed first character (S190).

【0027】そして、参照文字を1文字進め(S200
)、S170の処理に戻る。2回目のS170での処理
における参照文字は文字列中の2番目の文字であるので
、この場合は名字の2字目の印字、あるいは名字が1文
字しかない場合には、名前の1文字目の印字を行う。 このように、S180における判断で、S170の処理
で印字された参照文字の後に文字間隔が設定されている
場合には、指定の文字間隔をあけた後(S190)、参
照文字を1文字進め(S200)、その進めた参照文字
の印字を行う(S200)。
[0027] Then, advance the reference character by one character (S200
), the process returns to S170. The reference character in the second S170 process is the second character in the string, so in this case, the second character of the surname is printed, or if the surname has only one character, the first character of the name is printed. is printed. In this way, if it is determined in S180 that a character spacing is set after the reference character printed in the process of S170, the specified character spacing is created (S190), and then the reference character is advanced by one character ( S200), and the advanced reference character is printed (S200).

【0028】一方、対応テーブル20の文字間隔の欄に
横線で示したように、参照文字後に文字間隔が設定され
ていない場合には(S180)、その後に参照文字即ち
印字すべき文字がないため、S190以下の処理を行う
ことなく本処理を終了する。
On the other hand, as shown by the horizontal line in the character spacing column of the correspondence table 20, if the character spacing is not set after the reference character (S180), then there is no reference character, that is, a character to be printed. , the present process ends without performing the processes from S190 onwards.

【0029】即ち、文字列の字数回だけS170の処理
を行って印字を行い、最後の文字を印字し終えたら、本
印字間隔処理を終了する。本実施例において設定されて
いる名字と名前の文字数との9種類の組合せパターンに
対応した各印字間隔パターンによる印字間隔結果を図5
に示した。その幾つかを説明する。なお、図5において
は、名字の1文字分を黒塗の四角で、名前の1文字分を
白抜きの四角で示してある。
That is, the process of S170 is performed as many times as the number of characters in the character string to perform printing, and when the last character has been printed, the main print interval process ends. Figure 5 shows the printing interval results for each printing interval pattern corresponding to the nine combination patterns of the surname and the number of characters in the name set in this example.
It was shown to. I will explain some of them. In FIG. 5, one character of the last name is shown as a black square, and one character of the name is shown as a white square.

【0030】例えば、名字1文字、名前2文字の場合に
は、図3の対応テーブル20に示すように、1番目の文
字と2番目の文字との間隔は全角の3倍、2番目と3番
目の文字との間隔は全角の1倍に設定されている。その
ため、S170〜S200の処理の結果、図5(イ)に
示すように、名字が先頭に配置され、その後に全角の3
倍分の間隔をあけて名前の1文字目が配置される。
For example, in the case of one character for the last name and two characters for the first name, as shown in the correspondence table 20 in FIG. The space between the second character and the second character is set to one full-width character. Therefore, as a result of the processing in S170 to S200, the surname is placed at the beginning, followed by the full-width 3
The first letter of the name will be spaced twice as far apart.

【0031】そして、名前の2文字目は名前の1文字目
の後に全角の1倍分の間隔をあけて配置される。このた
め、名字と名前との間は、2文字の名前の文字同士の間
の3倍あけられており、名字と名前との区別がはっきり
視認できるようなレイアウトでの印字がなされる。
The second character of the name is placed after the first character of the name with an interval equal to one full-width character. For this reason, the distance between the first and last names is three times the distance between the letters of a two-character name, and the layout is printed in such a way that the distinction between the first and last names is clearly visible.

【0032】また、名字2文字、名前1文字の場合には
、対応テーブル20に示すように1番目の文字と2番目
の文字との間隔は全角の1倍、2番目と3番目の文字と
の間隔は全角の3倍に設定されている。その結果、図5
(エ)に示すように、名字の1字目が先頭に配置され、
名字の2文字目は名字の1文字目の後に全角の1倍分の
間隔をあけて配置される。そして、その後に全角の3倍
分の間隔をあけて名前の1文字が配置される。このため
、名字と名前との間は、2文字の名字の文字同士の間の
3倍あけられており、この場合も名字と名前との区別が
はっきり視認できるようなレイアウトでの印字がなされ
る。
In addition, in the case of two characters for the last name and one character for the first name, as shown in the correspondence table 20, the distance between the first and second characters is one full-width, and the distance between the second and third characters is The spacing is set to three times the full-width space. As a result, Figure 5
As shown in (d), the first letter of the surname is placed at the beginning,
The second character of the surname is placed after the first character of the surname with a space equal to one full-width space. After that, one character of the name is placed at an interval of three full-width characters. For this reason, the space between two first names is three times the distance between two letters of a first name, and in this case as well, the layout is printed in such a way that the distinction between first and last names is clearly visible. .

【0033】一方、S120で名字及び名前のどちらか
一方でも4文字以上の場合には、S130以下の処理を
行うことなく終了する。尚、電子制御装置10内のRO
M13が記憶手段M1として働き、S100、S110
の処理の実行が入力手段M2として働く。そして、S1
20〜S150の処理の実行がパターン選択手段M3と
して働き、S170〜S200の処理の実行が印字間隔
制御手段M4として働く。
On the other hand, if either the last name or the first name has four or more characters in S120, the process ends without performing the processes from S130 onwards. Note that the RO in the electronic control device 10
M13 acts as storage means M1, and S100, S110
The execution of the process functions as input means M2. And S1
The execution of the processes from S20 to S150 serves as pattern selection means M3, and the execution of processes from S170 to S200 serves as print interval control means M4.

【0034】上述したように、本印字間隔制御装置は、
電子制御装置10のROM13内に、氏名における名字
の文字数と名前の文字数との組合せのパターンが9種類
設定されており、それら9種類の各場合に対応する印字
間隔パターンが記憶されている。
As mentioned above, this printing interval control device has the following features:
In the ROM 13 of the electronic control unit 10, nine types of combination patterns of the number of characters of the last name and the number of characters of the name are set, and printing interval patterns corresponding to each of these nine types are stored.

【0035】そして、氏名を入力すると、その氏名の属
する組合せパターンに基づき、対応テーブル20の対応
関係より該当する印字間隔パターンを選択し、その選択
された印字間隔パターンに基づいて文字列の印字間隔を
制御する。
When a name is input, the corresponding printing interval pattern is selected from the correspondence in the correspondence table 20 based on the combination pattern to which the name belongs, and the printing interval of the character string is adjusted based on the selected printing interval pattern. control.

【0036】従って、様々な氏名を印字する際、その氏
名の名字と名前の文字数同士の組合せによって定まる印
字間隔パターンに基づいて氏名の各文字間の印字間隔が
自動的に決まり、所望の印字間隔での印字が行える。そ
のため、例えば名刺の氏名の部分を色々変えたい場合に
も、氏名の名字と名前の各字数の組合せによって自動的
に所望の印字間隔での印字ができる。
Therefore, when printing various names, the printing interval between each character of the name is automatically determined based on the printing interval pattern determined by the combination of the first name and the number of characters in the name, and the desired printing interval is achieved. You can print with . Therefore, for example, even if you want to change the name part of a business card, it is possible to automatically print at the desired printing interval by combining the last name of the name and the number of characters of each name.

【0037】例えば、上述したように、図5(イ),(
エ)に示す同じ3文字の氏名の場合でも、名字1文字、
名前2文字の場合と、名字2文字、名前1文字の場合と
では名字と名前との切れ目が異なるが、名字と名前との
区別がはっきりするような配置とすることができる。
For example, as mentioned above, FIGS.
Even in the case of names with the same three characters as shown in d), one character of the last name,
Although the separation between the first and last names is different in the case of a two-character name and the case of two-character surnames and one-character first name, the arrangement can be such that the distinction between the surname and first name is clear.

【0038】また、図5(ウ),(オ),(キ)の3つ
の場合を比較すると、氏名の全文字数は4で同じである
が、それぞれ名字・名前の文字数は異なっている。この
場合も、名字・名前の文字数を考慮してその都度文字間
隔を決める必要がなく、名字・名前の文字数に応じた印
字間隔パターンでの本印字間隔制御処理の結果、各場合
における名字・名前の区別がつくような文字間隔での印
字がなされる。
Comparing the three cases shown in FIGS. 5(c), (e), and (g), the total number of characters in the name is the same (4), but the number of characters in the first and last name is different. In this case as well, there is no need to decide the character spacing each time considering the number of characters in the first name and first name, and as a result of the main print interval control process using the print interval pattern according to the number of characters in the first name and first name, the first name and last name in each case The characters are printed at such a distance that they can be distinguished.

【0039】さらに又、図5(ウ),(カ)〜(ケ)の
ように、名字・名前の少なくともいずれかが3文字の場
合には、その3文字の各文字間隔は半角分とされており
、1つのまとまりである3文字の名字、あるいは3文字
の名前が離れすぎることなくまとまったレイアウトでの
印字となる。
Furthermore, as shown in FIGS. 5(c), (f) to (e), if at least one of the surname and first name is three characters, the space between each of the three characters is set to half-width. This means that three-letter surnames or three-letter names can be printed in a unified layout without being too far apart.

【0040】このように、名字・名前共に3文字以内の
氏名であれば、その氏名の入力を行うだけでよく、字数
が変わる度に全体のレイアウトを考慮して文字間隔を設
定し直す必要がない。そのため、文字間隔の調整に係る
作業が非常に容易となる。
[0040] In this way, if both the first name and last name are 3 characters or less, you only need to input the name, and each time the number of characters changes, it is necessary to reset the character spacing taking into consideration the overall layout. do not have. Therefore, the work related to adjusting the character spacing becomes extremely easy.

【0041】また、本実施例では、語意により複数に分
割可能な文字列の一例として、氏名を取り上げたが、氏
名に限らず、例えば「固有名詞+株式会社」等、語意に
より複数に分割可能な文字列であれば同様に実施できる
[0041]Also, in this embodiment, a name was used as an example of a character string that can be divided into multiple parts depending on the meaning of the word, but it is not limited to names and can be divided into multiple characters depending on the meaning of the word, such as "proper noun + corporation". This can be done in the same way if it is a character string.

【0042】以上本発明の実施例について説明したが、
本発明はこうした実施例に限定されるものではなく、本
発明の趣旨を逸脱しない範囲において種々なる態様で実
施しえることは勿論である。例えば、上述した実施例で
は名字の文字数と名前の文字数との組合せのパターンを
9種類に設定したが、必要に応じて名字の文字数が1字
〜4字、名前の文字数が1字〜4字の各場合の組合せに
よる16種類等増やしたりすることもできる。
Although the embodiments of the present invention have been described above,
It goes without saying that the present invention is not limited to these embodiments, and can be implemented in various forms without departing from the spirit of the present invention. For example, in the above embodiment, nine combinations of the number of characters in the surname and the number of characters in the first name are set, but the number of characters in the surname can be changed from 1 to 4, and the number of characters in the first name can be changed from 1 to 4. It is also possible to increase the number of types, such as 16 types, by combining each case.

【0043】また、本実施例では、S160〜S200
の印字に係る処理の際に各文字間隔をあけているが、そ
れに限らず、例えば、電子制御装置10内の図示しない
印字用バッファに、入力された名字・名前を対応する印
字間隔パターンで展開した後、必要に応じて印字を行っ
てもよい。そして、対応する印字間隔パターンでの名字
・名前の配置をCRT3に表示することにより、各文字
間隔等、実際のレイアウトをCRT3上で視覚的に捉え
ることができる。さらに、対応する印字間隔パターンで
CRT3に表示した後、その表示によりレイアウトを視
覚的に捉えながら、必要に応じて文字間隔の微調整を行
うことも可能である。
[0043] Furthermore, in this embodiment, S160 to S200
Although each character is spaced apart during printing processing, the invention is not limited to this; for example, the input surname/first name may be developed into a printing buffer (not shown) in the electronic control unit 10 in a corresponding printing space pattern. After that, printing may be performed if necessary. By displaying the arrangement of first and last names in the corresponding print interval pattern on the CRT 3, it is possible to visually grasp the actual layout, such as the interval between each character, on the CRT 3. Furthermore, after displaying the corresponding print interval pattern on the CRT 3, it is possible to finely adjust the character interval as necessary while visually grasping the layout from the display.

【0044】[0044]

【発明の効果】以上詳述したように本発明の印字間隔制
御装置は、語意により複数に分割可能で各分割部分の文
字数が異なる一連の文字列群に属する任意の文字列を決
められたスペースに印刷する際、文字列の各分割部分の
文字数同士の組合せによって定まる印字間隔パターンに
基づいて文字列の印字間隔が自動的に決まるため、字数
が変わる度に全体のレイアウトを考慮して文字間隔を設
定し直す必要がなく、文字間隔の調整に係る作業が非常
に容易になるという効果を奏する。
Effects of the Invention As described in detail above, the printing interval control device of the present invention allows any character string belonging to a series of character strings that can be divided into multiple parts depending on the meaning of the word and each divided part has a different number of characters to When printing on , the printing spacing of the string is automatically determined based on the printing spacing pattern determined by the combination of the number of characters in each divided part of the string, so whenever the number of characters changes, the character spacing is adjusted taking into account the overall layout. There is no need to reset the settings, and the work related to adjusting the character spacing is greatly facilitated.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の基本的構成を例示するブロック図であ
る。
FIG. 1 is a block diagram illustrating the basic configuration of the present invention.

【図2】本実施例の印字間隔制御装置の概略構成を示す
ブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a printing interval control device of this embodiment.

【図3】本実施例の組合せパターンと印字間隔パターン
との対応関係の説明図である。
FIG. 3 is an explanatory diagram of the correspondence between combination patterns and print interval patterns in this embodiment.

【図4】印字間隔制御処理を示すフローチャートである
FIG. 4 is a flowchart showing printing interval control processing.

【図5】各組合せパターンの場合の印字間隔を示す説明
図である。
FIG. 5 is an explanatory diagram showing printing intervals for each combination pattern.

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

M1…記憶手段                  
    M2…入力手段M3…パターン選択手段   
           M4…印字間隔制御手段 1…キーボード                  
  10…電子制御装置 11…CPU                   
     13…ROM15…ROM
M1...Storage means
M2...Input means M3...Pattern selection means
M4...Print interval control means 1...Keyboard
10...Electronic control unit 11...CPU
13...ROM15...ROM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  語意により複数に分割可能な文字列に
おける各分割部分の文字数同士の組合せから成る複数の
組合せパターンと、前記文字列の印字時における各文字
間隔が設定された印字間隔パターンとの対応関係を記憶
している記憶手段と、入力手段より入力された文字列の
属する前記組合せパターンに基づき、前記対応関係より
該当する前記印字間隔パターンを選択するパターン選択
手段と、該選択された印字間隔パターンに基づいて前記
文字列の印字間隔を制御する印字間隔制御手段とを備え
たことを特徴とする印字間隔制御装置。
[Claim 1] A plurality of combination patterns consisting of combinations of the number of characters in each divided part of a character string that can be divided into a plurality of parts depending on the meaning of the word, and a printing interval pattern in which the interval between each character when printing the character string is set. a storage means for storing a correspondence relationship; a pattern selection means for selecting the corresponding printing interval pattern from the correspondence relationship based on the combination pattern to which the character string inputted from the input means belongs; and a pattern selection means for selecting the corresponding printing interval pattern from the correspondence relationship; A printing interval control device comprising: printing interval control means for controlling printing intervals of the character string based on an interval pattern.
JP3113431A 1991-05-17 1991-05-17 Printing character distance controller Pending JPH04341845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3113431A JPH04341845A (en) 1991-05-17 1991-05-17 Printing character distance controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3113431A JPH04341845A (en) 1991-05-17 1991-05-17 Printing character distance controller

Publications (1)

Publication Number Publication Date
JPH04341845A true JPH04341845A (en) 1992-11-27

Family

ID=14612054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3113431A Pending JPH04341845A (en) 1991-05-17 1991-05-17 Printing character distance controller

Country Status (1)

Country Link
JP (1) JPH04341845A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173710A (en) * 2015-03-17 2016-09-29 大日本印刷株式会社 Information input device, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173710A (en) * 2015-03-17 2016-09-29 大日本印刷株式会社 Information input device, and program

Similar Documents

Publication Publication Date Title
US5021972A (en) Word processor with color display means
JPH04341845A (en) Printing character distance controller
JPS59159367A (en) Electronic typewriter
EP0271321B1 (en) Display device for typewriters
GB2216697A (en) Text processing apparatus
JPS59154527A (en) Electronic typewriter
US4843570A (en) Block processing apparatus
JPH0522933B2 (en)
JPH0731313Y2 (en) Document input device
JPH0330901B2 (en)
KR950006824B1 (en) Back tap control method in electronic typewriter
JPH05210675A (en) Document preparing device
JPH03196253A (en) Page alignment processing system
JPS6041118A (en) Character processor
JPH04268959A (en) Document preparing device
JPS5939559A (en) Printer
JPH0330051A (en) Document processor
JPH05221033A (en) Printer
JPH0340064A (en) Document processor
JPH04268962A (en) Document preparing device
JPH0453188B2 (en)
JPS63308670A (en) Document processor
JPS63249256A (en) Word processor
JPH07282031A (en) Information processor
JPH05165824A (en) Information processor