JP3481799B2 - Character assignment method and device - Google Patents

Character assignment method and device

Info

Publication number
JP3481799B2
JP3481799B2 JP29113996A JP29113996A JP3481799B2 JP 3481799 B2 JP3481799 B2 JP 3481799B2 JP 29113996 A JP29113996 A JP 29113996A JP 29113996 A JP29113996 A JP 29113996A JP 3481799 B2 JP3481799 B2 JP 3481799B2
Authority
JP
Japan
Prior art keywords
character
allocating
characters
line
width
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 - Fee Related
Application number
JP29113996A
Other languages
Japanese (ja)
Other versions
JPH09234846A (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.)
Seiko Epson Corp
King Jim Co Ltd
Original Assignee
Seiko Epson Corp
King Jim 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 Seiko Epson Corp, King Jim Co Ltd filed Critical Seiko Epson Corp
Priority to JP29113996A priority Critical patent/JP3481799B2/en
Publication of JPH09234846A publication Critical patent/JPH09234846A/en
Application granted granted Critical
Publication of JP3481799B2 publication Critical patent/JP3481799B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば印章の印面
やラベルの印刷面などの読み方向に規定幅の方形の輪郭
内に、文字列の各文字を割り付ける文字割付方法及びそ
の装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character allocating method and apparatus for allocating each character of a character string within a rectangular contour having a specified width in a reading direction such as a stamp printing surface or a label printing surface. is there.

【0002】[0002]

【従来の技術】1行または複数行の各行に対する文字の
割付は、例えばワードプロセッサなどでは、均等割付が
多用されている。この場合の均等割付は、例えば、図4
3に示すように、ドット数A=70の幅の割付エリアに
対して、「均等割付け」の5文字を割り付ける場合、最
初と最後の文字の「均」と「け」を両端に割り付け、ド
ット数C=10の文字幅の1文字分を割付エリアの幅か
ら引いた値A−C=60を、残りの文字数5−1=4で
割った値60/4=15が、1文字分の幅+1文字間余
白の値B+Cとなることから、文字間余白B=5が決定
され、図示のように割り付けられる。
2. Description of the Related Art Character allocation to each line of one line or a plurality of lines is often used evenly in a word processor or the like. The even allocation in this case is, for example, as shown in FIG.
As shown in 3, when allocating 5 characters of “equal allocation” to an allocation area having a width of the number of dots A = 70, “uniform” and “ke” of the first and last characters are allocated to both ends, The value A−C = 60 obtained by subtracting one character of the character width of the number C = 10 from the width of the allocation area is divided by the remaining number of characters 5-1 = 4, which is 60/4 = 15. Since the value of the width + the inter-character margin B + C, the inter-character margin B = 5 is determined and allocated as shown in the figure.

【0003】[0003]

【発明が解決しようとする課題】印章の印章文字やラベ
ルの印刷文字にこのような割付方法を執ると、印面や印
刷面に対し文字数が少ない場合、文字間余白が広くなり
すぎて重厚さに欠け、空白部分が目立つ貧相な印章やラ
ベルとなってしまう(図25(a)参照)。
When such a layout method is applied to the stamp characters of the seal or the printed characters of the label, when the number of characters is small on the stamp surface or the printed surface, the inter-character space becomes too wide and becomes heavy. Poor or blank parts result in poor seals or labels (see FIG. 25A).

【0004】本発明は、印章やラベルの文字の特殊性に
かんがみて為されたものであり、印章文字やラベルの各
文字を、印面や印刷面に対して適切に割り振ることがで
きる文字割付方法及びその装置を提供することを目的と
する。
The present invention has been made in view of the peculiarities of characters of a seal or a label, and a character allocating method capable of appropriately allocating each character of a seal or a label to a stamp surface or a printing surface. And its device.

【0005】[0005]

【課題を解決するための手段】本発明の第1の文字割付
方法は、読み方向に規定幅の方形の輪郭内に、1行また
は複数行の各行の文字列の各文字を割り付ける文字割付
方法において、前記輪郭の端と最端部の文字との端部余
白寸法をDとし、隣接する文字間の文字間余白寸法をB
とし、前記輪郭の幅をAとし、前記各文字の1個の文字
幅をCとし、文字数をFとしたときに、ドットマトリク
ス上のドット数を基準として、B>D>0となるように
前記各文字を割り付けるとともに、(A−C×F)/F
の商を前記文字間余白寸法Bとし、余りに相当するドッ
ト数は、文字の読み方向に従って最前部の前記文字間余
白から1ドットずつ割り付けることを特徴とする。
A first character allocating method of the present invention is a character allocating method for allocating each character of a character string of one line or a plurality of lines in a rectangular outline having a specified width in a reading direction. , The end margin between the edge of the contour and the character at the end is D, and the inter-character margin between adjacent characters is B.
And the width of the contour is A, and one character of each character
When the width is C and the number of characters is F , dot matrix
On the basis of the number of dots on the line, each character is assigned so that B>D> 0, and (A−C × F) / F
The quotient of the above is defined as the space B between the characters and the dot
The number of characters is the space between the characters at the front according to the reading direction of the characters.
It is characterized by allocating each dot from white .

【0006】 また、本発明の第1の文字割付装置は、
読み方向に規定幅の方形の輪郭内に、1行または複数行
の各行の文字列の各文字を割り付ける文字割付装置にお
いて、前記輪郭の端と最端部の文字との端部余白寸法を
Dとし、隣接する文字間の文字間余白寸法をBとしたと
きに、B>D>0となるように前記各文字を割り付ける
文字割付手段を備え、前記文字、前記端部余白寸法およ
び前記文字間余白寸法の、ドットマトリクス上のドット
数を基準として割り付けられており、前記文字割付手段
は、前記輪郭の幅をAとし、前記文字の1個の文字幅を
Cとし、文字数をFとしたときに、(A−C×F)/F
を計算し、その商を前記文字間余白寸法Bとする商ドッ
ト数計算手段と、前記計算の余りに相当するドット数
を、文字の読み方向に従って最前部の前記文字間余白か
ら1ドットずつ割り付ける余りドット数割付手段と、を
有することを特徴とする。
The first character layout device of the present invention is
In a character allocating device that allocates each character of a character string of one line or a plurality of lines in a rectangular contour having a specified width in the reading direction, an end margin dimension between the edge of the contour and the character at the end is D And a character allocating means for allocating each of the characters so that B>D> 0, where B is the inter-character space dimension between adjacent characters, and the character, the end margin size and
And the dots on the dot matrix with the space between the characters
Allocated based on the number, the character allocating means
Is the width of the contour is A, and the character width of one of the characters is
When C and the number of characters is F, (A-CxF) / F
Is calculated and the quotient is the quotient
Number calculation means and the number of dots corresponding to the remainder of the above calculation
Is the space between the characters at the forefront according to the reading direction of the characters.
And the remaining dot number allocating means that allocates 1 dot at a time
It is characterized by having .

【0007】この文字割付方法及びその装置では、端部
余白を適切な寸法にすることができ、これにより、印章
の印面やラベルの印刷面に対し文字数が少ない場合に
も、中央の文字間余白だけが広くなりすぎることなく、
バランスの良い文字の配置となる。
In this character allocating method and its apparatus, the end margins can be made to have an appropriate size, so that even if the number of characters is small with respect to the seal face of the seal or the print face of the label, the space between the characters at the center is small. Without becoming too wide,
The letters are arranged in a well-balanced manner.

【0008】 また、本発明の第2の文字割付方法は、
複数行の各行の文字列の各文字を、前記各行毎の読み方
向に規定幅の方形の輪郭内に、それぞれ割り付ける文字
割付方法において、前記輪郭の幅をAとし、前記文字の
1個の文字幅をCとし、文字数をFとしたときに、前記
複数行のうち(A−C×F)/Fの商Gが最小の行を最
長行とすると共に、前記最長行に対して、隣接する文字
間の文字間余白寸法の基準となる基準文字間余白寸法B
を決定し、これを基準として、前記最長行およびそれ以
外の他の行に対して、文字を割り付けることを特徴とす
る。
The second character allocation method of the present invention is
How to read each character of the character string of each line of multiple lines for each line
Characters to be allocated in the rectangular outline of the specified width
In the allocation method, the width of the contour is A, and the character
When C is the width of one character and F is the number of characters,
Of the multiple rows, the row with the smallest quotient G of (A-CxF) / F
Characters that are long lines and adjacent to the longest line
Standard inter-character margin size B that serves as the standard for inter-character space dimensions
Of the longest line and thereafter.
Characterized by allocating characters to other lines outside
It

【0009】 また、本発明の第2の文字割付装置は、
複数行の各行の文字列の各文字を、前記各行毎の読み方
向に規定幅の方形の輪郭内に、それぞれ割り付ける文字
割付装置において、前記輪郭の幅をAとし、前記文字の
1個の文字幅をCとし、文字数をFとしたときに、前記
複数行のうち(A−C×F)/Fの商Gが最小の行を最
長行と判別する最長行判別手段と、前記最長行に対し
て、隣接する文字間の文字間余白寸法の基準となる基準
文字間余白寸法Bを決定する基準文字間余白寸法決定手
段と、前記基準文字間余白寸法Bを基準として、前記最
長行に対して文字を割り付ける最長行文字割付手段と、
前記基準文字間余白寸法Bを基準として、前記最長行以
外の他の行に対して文字を割り付ける他行文字割付手段
と、を備えたことを特徴とする。
The second character allocating device of the present invention is
How to read each character of the character string of each line of multiple lines for each line
Characters to be allocated in the rectangular outline of the specified width
In the layout device, the width of the contour is A, and the width of the character is
When C is the width of one character and F is the number of characters,
Of the multiple rows, the row with the smallest quotient G of (A-CxF) / F
The longest line discriminating means for discriminating the long line and the longest line
Is the standard for the inter-character margin size between adjacent characters.
Standard for determining character-to-character margin size B
Based on the column and the reference character spacing B,
Longest line character allocating means for allocating characters to long lines,
Based on the reference character space B, the longest line
Other line character allocating means for allocating characters to other lines outside
And are provided.

【0010】 この文字割付方法及びその装置では、文
字を割り付ける方形の輪郭の幅に基づいて最長行を判別
するため、例えば、文字数は少ないが、その文字列の前
後等に装飾があって、実質的な文字の割付エリアが少な
い行が有る場合や、各文字に網掛け、強調、斜体、中ヌ
キ、反転などの文字飾りが施されていて、実質的な余白
が少ない行がある場合などにも、最も余白が少ない行を
簡単に算定し、その行を最長行と判別することができ
る。すなわち、単に文字数から最長行を判別する場合と
比べ、より適切な最長行を選択することができる。ま
た、その行を余白の割付などの基準とすることによっ
て、複数行を有する印章の印面やラベルの印刷面に対し
て、バランスの良い文字の割付が可能になる。
In this character allocating method and apparatus,
Determine the longest line based on the width of the rectangular contour to which the letters are assigned
Therefore, for example, the number of characters is small, but before the character string
There is a decoration on the back and so on, and the actual character allocation area is small.
If there are lines, each character is shaded, emphasized, italic,
Character decorations such as ki and inversion are given, and substantial margins
Even if there are few lines, the line with the smallest margin is
You can easily calculate and determine that line as the longest line
It In other words, when the longest line is simply determined from the number of characters,
In comparison, the more appropriate longest line can be selected. Well
Also, by using that line as a standard for allocating margins, etc.
The printing surface of a seal or label that has multiple lines.
This makes it possible to allocate well-balanced characters.

【0011】 また、上述の文字割付方法において、前
記最長行は、前記輪郭の端と最端部の文字との端部余白
寸法をDとしたときに、前記基準文字間余白寸法Bとの
関係が、B>D>0となるように前記各文字を割り付け
ることが、好ましい。
In addition, in the above-mentioned character allocation method,
The longest line is the margin between the edge of the contour and the character at the end.
When the dimension is D, it is
Allocate each of the above characters so that the relationship is B>D> 0
Is preferred.

【0012】 また、上述の文字割付装置において、前
記基準文字間余白寸法決定手段は、前記輪郭の端と最長
行の最端部の文字との端部余白寸法を基準端部余白寸法
Dとしたときに、前記基準文字間余白寸法Bとの関係
が、B>D>0となるように、前記基準余白寸法Bと前
記基準端部余白寸法Dを決定し、前記最長行文字割付手
段は、前記基準文字間余白寸法Bを基準とし、かつ、前
記端部余白寸法が前記基準余白寸法Dとなるように前記
最長行の前記各文字を割り付けることが、好ましい。
In the character allocating device described above,
The space between the reference characters is determined by the edge of the contour and the longest
The end margin size with the character at the end of the line is the reference end margin size
When D, the relationship with the reference character margin size B
So that B>D> 0,
Determine the standard end margin size D, and assign the longest line character
The step is based on the reference character margin dimension B, and
The margin dimension of the end portion is set to be the reference margin dimension D.
It is preferable to allocate each of the characters in the longest line.

【0013】 この文字割付方法及びその装置では、最
長行の文字列の端部余白を適切な寸法にすることがで
き、文字数が少ない場合にも、中央の文字間余白だけが
広くなりすぎることなく、バランスの良い文字の配置と
なる。また、その行を余白の割付などの基準とすること
によって、複数行を有する印章の印面やラベルの印刷面
の全体においても、整然としてバランスの良い文字の割
付が可能になる。
In this character allocation method and its apparatus,
You can make the end margins of long lines of text an appropriate size.
However, even if the number of characters is small, only the center character space is
With a well-balanced layout of characters without becoming too wide
Become. Also, use that line as a standard for allocating margins, etc.
Depending on the print side of a seal or label with multiple lines
In the whole of the
Can be attached.

【0014】 また、前記最長行を判別する上述の各文
字割付方法において、前記最長行以外の行は、文字幅を
Jとし、文字間余白寸法をKとし、文字数をH個とした
ときに、前記最長行の文字列と同一の文字列寸法E=J
×H+K×(H−1)=C×F+B×(F−1)の文字
列を、前後いずれか一方の端部の文字が、前記最長行の
前記一方の端部の文字と、その一方の端が揃うように割
り付けることが、好ましい。
Further , each sentence described above for discriminating the longest line
In the character allocation method, the line width other than the longest line above is the character width.
J, the space between characters is K, and the number of characters is H
Sometimes, the same character string size as the character string of the longest line E = J
× H + K × (H-1) = C × F + B × (F-1) characters
Characters on either side of the column should be
Split so that the character on the one end and the one end are aligned.
It is preferable to attach them.

【0015】 また、前記最長行を判別する上述の各文
字割付装置において、前記他行文字割付手段は、前記他
の行の文字幅をJとし、文字間余白寸法をKとし、文字
数をH個としたときに、前記最長行の文字列と同一の文
字列寸法E=J×H+K×(H−1)=C×F+B×
(F−1)の文字列を生成する割付文字列生成手段と、
前後いずれか一方の端部の文字が、前記最長行の前記一
方の端部の文字と、その一方の端が揃うように割り付け
る均等文字列割付手段と、を有することが好ましい。
Further , each sentence described above for discriminating the longest line
In the character allocating device, the other line character allocating means is
Let J be the character width of the line and K be the space between characters,
When the number is H, the same sentence as the character string of the longest line
Character size E = J × H + K × (H-1) = C × F + B ×
An allocated character string generation means for generating a character string of (F-1),
The character at the end of either the front or back is the one in the longest line.
Allocate so that the letters on one end are aligned with one end
And a uniform character string allocating means.

【0016】 この文字割付方法及びその装置では、複
数行を有する印面等に対して、文字列寸法が揃った、す
なわち各行の両端の位置が揃った、安定性のある見栄え
の良い割付を行うことができる。
In this character allocation method and device,
For the stamp surface with several lines, the character string dimensions are
That is, the edges of each line are aligned and look stable.
You can make good allocations.

【0017】 また、前記最長行を判別する上述の各文
字割付方法において、前記最長行以外の行は、文字数を
H(H≦F)個としたときに、隣接する文字間余白寸法
を前記基準文字間余白寸法Bと同一にした文字列寸法E
=C×H+B×(H−1)の文字列を、その最前部の文
字が前記最長行の最前部の文字と前端が揃うように割り
付けることが、好ましい。
Further , each sentence described above for discriminating the longest line
In the character allocation method, the number of characters is
When H (H ≦ F), the space between adjacent characters
Is the same as the reference character space B
= C × H + B × (H-1) character string,
The character is divided so that the leading edge is aligned with the character at the front of the longest line.
It is preferable to attach it.

【0018】 また、前記最長行を判別する上述の各文
字割付装置において、前記他行文字割付手段は、前記他
の行の文字数をH(H≦F)個としたときに、隣接する
文字間余白寸法を前記基準文字間余白寸法Bと同一にし
た文字列寸法E=C×H+B×(H−1)の文字列を生
成する割付文字列生成手段と、前記文字列の最前部の文
字が前記最長行の最前部の文字と前端が揃うように割り
付ける前寄せ文字列割付手段と、を有することが好まし
い。
Further , each sentence described above for discriminating the longest line
In the character allocating device, the other line character allocating means is
When the number of characters in the line is H (H ≦ F), they are adjacent
Make the space between characters the same as the standard space B between characters.
The character string size E = C × H + B × (H-1) is generated.
The assigned character string generating means to be formed, and the sentence at the front of the character string
The character is divided so that the leading edge is aligned with the character at the front of the longest line.
It is preferable to have a front-aligned character string allocating means for
Yes.

【0019】 この文字割付方法及びその装置では、複
数行を有する印面や印刷面に対して、各行の最前端と文
字間余白が揃った、整然として見栄えの良い割付を行う
ことができる。
In this character allocating method and device,
For stamps and prints that have several lines, the leading edge of each line and the text
Make orderly and well-designed layouts with uniform space between characters
be able to.

【0020】 また、前記最長行を判別する上述の各文
字割付方法において、前記最長行以外の行は、文字数を
H(H≦F)個としたときに、隣接する文字間余白寸法
を前記基準文字間余白寸法Bと同一にした文字列寸法E
=C×H+B×(H−1)の文字列を、その中央位置が
前記最長行の中央位置に揃うように割り付けることが、
好ましい。
Further , each sentence described above for discriminating the longest line
In the character allocation method, the number of characters is
When H (H ≦ F), the space between adjacent characters
Is the same as the reference character space B
= C × H + B × (H-1), the center position is
Allocating so that it is aligned with the center position of the longest line,
preferable.

【0021】 また、前記最長行を判別する上述の各文
字割付装置において、前記他行文字割付手段は、前記他
の行の文字数をH(H≦F)個としたときに、隣接する
文字間余白寸法を前記基準文字間余白寸法Bと同一にし
た文字列寸法E=C×H+B×(H−1)の文字列を生
成する割付文字列生成手段と、前記文字列の中央位置が
前記最長行の中央位置に揃うように割り付ける中寄せ文
字列割付手段と、を有することが好ましい。
Further , each sentence described above for discriminating the longest line
In the character allocating device, the other line character allocating means is
When the number of characters in the line is H (H ≦ F), they are adjacent
Make the space between characters the same as the standard space B between characters.
The character string size E = C × H + B × (H-1) is generated.
And the central position of the character string
Centered sentence to be aligned in the center position of the longest line
And a character string allocating means.

【0022】 この文字割付方法及びその装置では、複
数行を有する印面等に対して、各行の中央位置が揃っ
た、安定性のある見栄えの良い割付を行うことができ
る。
In this character allocating method and its apparatus,
The center position of each line is aligned with respect to the stamp surface, which has several lines.
In addition, stable and good-looking allocation can be performed.
It

【0023】 また、前記最長行を判別する上述の各文
字割付方法において、前記最長行以外の行は、文字数を
H(H≦F)個としたときに、隣接する文字間余白寸法
を前記基準文字間余白寸法Bと同一にした文字列寸法E
=C×H+B×(H−1)の文字列を、その最後部の文
字が前記最長行の最後部の文字と後端が揃うように割り
付けることが好ましい。
Further , each sentence described above for discriminating the longest line
In the character allocation method, the number of characters is
When H (H ≦ F), the space between adjacent characters
Is the same as the reference character space B
= C × H + B × (H-1) character string, the sentence at the end
The character is divided so that the rear end is aligned with the character at the end of the longest line.
It is preferable to attach it.

【0024】 また、前記最長行を判別する上述の各文
字割付装置において、前記他行文字割付手段は、前記他
の行の文字数をH(H≦F)個としたときに、隣接する
文字間余白寸法を前記基準文字間余白寸法Bと同一にし
た文字列寸法E=C×H+B×(H−1)の文字列を生
成する割付文字列生成手段と、前記文字列の最後部の文
字が前記最長行の最後部の文字と後端が揃うように割り
付ける後寄せ文字列割付手段と、を有することが好まし
い。
Further , each sentence described above for discriminating the longest line
In the character allocating device, the other line character allocating means is
When the number of characters in the line is H (H ≦ F), they are adjacent
Make the space between characters the same as the standard space B between characters.
The character string size E = C × H + B × (H-1) is generated.
The assigned character string generation means to be formed, and the sentence at the end of the character string
The character is divided so that the rear end is aligned with the character at the end of the longest line.
It is preferable to have a trailing character string allocating means for
Yes.

【0025】 この文字割付方法及びその装置では、複
数行を有する印面等に対して、各行の最後端と文字間余
白が揃った、整然として見栄えの良い割付を行うことが
できる。
In this character allocating method and its apparatus,
For stamps with several lines, the end of each line and the space between characters
It is possible to make an orderly and attractive layout with white
it can.

【0026】 また、本発明の第3の文字割付方法は、
読み方向に規定幅の方形の輪郭内に、1行または複数行
の各行の文字列の各文字を割り付ける文字割付方法にお
いて、前記輪郭内の空白部分に対する文字部分の面積比
が一定値以下となる場合に、前記各文字を横長に伸張し
た後割り付けることを特徴とする。
The third character allocation method of the present invention is
One or more lines within a rectangular contour with a specified width in the reading direction
In the character allocation method that allocates each character of the character string of each line of
And the area ratio of the character portion to the blank portion in the contour
When is less than a certain value, each character is expanded horizontally.
It is characterized by allocating afterwards.

【0027】 また、本発明の第3の文字割付装置は、
読み方向に規定幅の方形の輪郭内に、1行または複数行
の各行の文字列の各文字を割り付ける文字割付装置にお
いて、前記輪郭内の空白部分に対する文字部分の面積比
を計算する面積比計算手段と、前記面積比計算手段の計
算結果に基づいて、前記面積比が一定値以下の場合に、
前記各文字を横長に伸張した後割り付ける文字伸張割付
手段と、を備えたことを特徴とする。
The third character allocating device of the present invention is
One or more lines within a rectangular contour with a specified width in the reading direction
To the character allocating device that allocates each character of the character string in each line of
And the area ratio of the character portion to the blank portion in the contour
Area ratio calculation means for calculating
Based on the calculation result, when the area ratio is less than a certain value,
Character expansion allocation that allocates each character after expanding it horizontally
Means and are provided.

【0028】 この文字割付方法及びその装置では、各
文字の字体に違和感を生じさせることなく、輪郭内の空
白部分を少なくすることができ、文字を重厚感のあるも
のとすることができる。
In this character allocation method and apparatus,
The void in the outline does not cause discomfort in the character font.
It is possible to reduce the white part, and the characters have a profound feeling.
It can be

【0029】 また、上述の文字割付方法において、前
記文字部分および前記空白部分は、ドットマトリクス上
のドット数を基準として割り付けられており、前記面積
比は、前記文字部分を構成するドット数と前記空白部分
のドット数とで計算されることが好ましい。
In addition, in the above-mentioned character allocation method,
The character part and the blank part are on the dot matrix.
The area is allocated based on the number of dots
The ratio is the number of dots forming the character portion and the blank portion.
And the number of dots of

【0030】 また、上述の文字割付装置において、前
記文字部分および前記空白部分は、ドットマトリクス上
のドット数を基準として割り付けられており、前記面積
比計算手段は、前記文字部分を構成するドット数と前記
空白部分のドット数との比から、前記面積比を計算する
ことが好ましい。
Further , in the above-mentioned character allocating device,
The character part and the blank part are on the dot matrix.
The area is allocated based on the number of dots
The ratio calculation means calculates the number of dots forming the character portion and
Calculate the area ratio from the ratio of the number of dots in the blank area
It is preferable.

【0031】 この文字割付方法及びその装置では、輪
郭内の空白部分に対する文字部分の面積比を簡単に算定
でき、かつ、この比率に基づいて各文字を横長に適切に
伸張することができる。
In this character allocation method and device,
Easily calculate the area ratio of the character part to the blank part in the area
Yes, and properly proportion each character horizontally
Can be stretched.

【0032】 また、上述の文字割付方法において、前
記輪郭内の割付幅をEとし、前記各文字の前記伸張の前
の文字幅をC1とし、文字数をFとし、前記一定値をM
としたときに、前記面積比の計算により、((C1×
F)/(E−C1×F))≦Mとなる場合、((C2×
F)/(E−C2×F))>Mとなる文字幅C2を、前
記伸張の後の各文字の文字幅とすることが好ましい。
In the above character allocation method,
Before the expansion of each character, the allocation width in the contour is E
Character width is C1, the number of characters is F, and the constant value is M
Then, by calculation of the area ratio, ((C1 ×
When (F) / (E−C1 × F)) ≦ M, ((C2 ×
F) / (E-C2 × F))> M
It is preferable to set the character width of each character after the expansion.

【0033】 また、上述の文字割付装置において、文
字伸張割付手段は、前記輪郭内の割付幅をEとし、前記
各文字の前記伸張の前の文字幅をC1とし、文字数をF
とし、前記一定値をMとしたときに、前記面積比の計算
により、((C1×F)/(E−C1×F))≦Mとな
る場合、((C2×F)/(E−C2×F))>Mとな
る文字幅C2を、前記伸張の後の各文字の文字幅とする
ことが好ましい。
Further , in the above-mentioned character allocating device, the sentence
The character expansion allocating means sets the allocation width in the contour to E, and
Let C1 be the character width before expansion of each character and F be the number of characters.
And the constant value is M, the area ratio is calculated.
Therefore, ((C1 × F) / (E−C1 × F)) ≦ M
In case of (C2 × F) / (E−C2 × F))> M,
Let the character width C2 to be the character width of each character after the expansion.
It is preferable.

【0034】 この文字割付方法及びその装置では、輪
郭内の空白部分に対する文字部分の面積比の計算と一定
値Mにより得られる文字幅C2を、伸張の後の各文字の
文字幅とすることにより、面積比に基づいて各文字を横
長に適切に伸張することができる。
In this character allocation method and device,
Calculation and constant of the area ratio of the character part to the blank part in the boundary
The character width C2 obtained by the value M is set to
By setting the character width, each character can be set horizontally based on the area ratio.
Can be stretched properly to length.

【0035】[0035]

【0036】[0036]

【0037】[0037]

【0038】[0038]

【発明の実施の形態】以下、添付の図面に基いて、本発
明の一実施形態に係る文字割付方法及びその装置を、印
章を作成するための印章作成装置に適用した場合につい
て説明する。この印章作成装置は、印面を紫外線硬化樹
脂で形成した印章本体に、インクリボンに印字(印刷)
した印章文字(絵柄を含む印章画像)をマスクとして紫
外線を露光し、所望の印章(スタンプ)を作成するもの
であり、文字割付方法及びその装置は、インクリボン上
にマスクを生成するための情報となる印章画像データを
作成するための方法及びその装置である。図1(a)は
印章作成装置の平面図、図1(b)は印章作成装置の正
面図であり、図11は印章作成装置の制御ブロック図で
ある。
BEST MODE FOR CARRYING OUT THE INVENTION A case in which a character allocating method and an apparatus thereof according to an embodiment of the present invention are applied to a seal making apparatus for making a seal will be described below with reference to the accompanying drawings. This stamp making device prints on the ink ribbon on the stamp body whose surface is made of UV-curing resin.
A desired stamp (stamp) is created by exposing it to ultraviolet rays using the stamp character (the stamp image including the pattern) as a mask, and the character allocating method and the device therefor provide information for generating the mask on the ink ribbon. A method and apparatus for creating stamp image data to be used. FIG. 1A is a plan view of the stamp creating apparatus, FIG. 1B is a front view of the stamp creating apparatus, and FIG. 11 is a control block diagram of the stamp creating apparatus.

【0039】図1に示すように、この印章作成装置1
は、上下2分割の装置ケース2によりその外殻が形成さ
れ、前部に電子装置部3を、後部に機械装置部4を配設
して、構成されている。機械装置部4の中央部には、装
置本体5に印章作成対象物である印章本体Aを装着する
ためのポケット6が形成され、ポケット6には窓付きの
開閉蓋7が設けられている。
As shown in FIG. 1, this seal making device 1
The outer shell is formed by the device case 2 which is divided into upper and lower parts, and the electronic device part 3 is arranged in the front part and the mechanical device part 4 is arranged in the rear part. A pocket 6 for mounting the stamp body A, which is a seal-making object, on the apparatus body 5 is formed in the center of the machine unit 4, and the pocket 6 is provided with an opening / closing lid 7 with a window.

【0040】機械装置部4の左部には、印章作成装置1
を製版(印字)動作や露光動作に切り替えると共に、開
閉蓋7の開放させる機能スイッチ8が配設されている。
この機能スイッチ8の操作位置には、「露光」、「入力
/製版」、「OFF」および「OPEN」の操作表示が
されていて、このうちの「露光」、「入力/製版」およ
び「OPEN」の位置には、制御部300の出力インタ
フェース305に接続された発光素子12が配設されて
いる。
On the left side of the mechanical device section 4, the stamp making device 1
A function switch 8 for switching the plate making (printing) operation to the exposure operation and opening the opening / closing lid 7 is provided.
At the operation position of the function switch 8, there are operation displays of “exposure”, “input / platemaking”, “OFF” and “OPEN”, among which “exposure”, “input / platemaking” and “OPEN”. The light emitting element 12 connected to the output interface 305 of the control unit 300 is disposed at the position “”.

【0041】また、機械装置部4の右側部には、印章作
成装置1に、後述する印章文字ラベル作成用の製版シー
トBのための、差込み口9aおよび取出し口9bが形成
されている。さらに、機械装置部4には、ポケット6の
外側に位置して、メンテナンスカバー10が着脱自在に
設けられ、メンテナンスカバー10の内部には、インク
リボンCを搭載したリボンカートリッジ11が装着され
ている。
Further, on the right side of the machine unit 4, an insertion port 9a and an ejection port 9b are formed in the stamp making device 1 for a plate-making sheet B for making a stamp character label which will be described later. Further, a maintenance cover 10 is detachably provided on the mechanical device section 4 outside the pocket 6, and a ribbon cartridge 11 carrying an ink ribbon C is mounted inside the maintenance cover 10. .

【0042】電子装置部3には、上面に操作部21が形
成され、後述する制御部300が内蔵されている。操作
部21には、制御部300の入力インタフェース304
に接続されたプッシュボタン群22および操作ダイヤル
23と、出力インタフェース305に接続された表示器
駆動回路24a(図示せず)と、この表示器駆動回路2
4aによって駆動される表示器24が配設されている。
The electronic device section 3 has an operation section 21 formed on the upper surface thereof, and has a control section 300, which will be described later, built therein. The operation unit 21 includes an input interface 304 of the control unit 300.
The push button group 22 and the operation dial 23 connected to the display interface, the display drive circuit 24a (not shown) connected to the output interface 305, and the display drive circuit 2
A display device 24 driven by 4a is provided.

【0043】操作ダイヤル23は、中心部に円形に配設
された実行キー31と、その外側に環状に配設された4
つ割りのカーソル/変換キー32と、更にその外側に環
状に配設された文字入力キー33とで3重構造を有して
おり、文字入力キー33の表面には50音の平仮名など
が印刷されている(図示省略)。印章文字の入力は、先
ずプッシュボタン群22の所定のボタン22aを押して
文字サイズを確定した後、文字入力キー33を三角マー
ク25に合わて回転させ、実行キー31を押して平仮名
入力を行い、この平仮名入力を適宜、カーソル/変換キ
ー32により漢字変換する。そして、所望の印章文字を
表示器24上に作成したところで、これを確定する。
The operation dial 23 includes an execution key 31 arranged in a circular shape at the center and a ring-shaped execution key 31 arranged outside the execution key 31.
It has a triple structure consisting of a split cursor / conversion key 32 and a character input key 33 arranged in a ring on the outside thereof, and a hiragana of Japanese syllabary etc. is printed on the surface of the character input key 33. (Not shown). To input the stamp character, first press the predetermined button 22a of the push button group 22 to confirm the character size, then rotate the character input key 33 to the triangular mark 25 and press the execute key 31 to input hiragana. The hiragana input is appropriately converted into kanji by the cursor / conversion key 32. Then, when a desired stamp character is created on the display 24, this is confirmed.

【0044】ここで、印章を作成する場合の一連の操作
について、図1および図2を参照して簡単に説明する。
先ず、機能スイッチ8を待機位置となる「OFF」位置
から「OPEN」位置まで回転操作して開閉蓋7を開放
し、ポケット6に印章本体Aをセットする。この印章本
体Aのセットに伴い、制御部300の入力インタフェー
ス304に接続された印章検出部66によって、印章本
体Aの種別が検出される。
Here, a series of operations for creating a stamp will be briefly described with reference to FIGS. 1 and 2.
First, the function switch 8 is rotated from the “OFF” position, which is the standby position, to the “OPEN” position to open the opening / closing lid 7, and the stamp body A is set in the pocket 6. With the setting of the stamp main body A, the type of the stamp main body A is detected by the stamp detecting unit 66 connected to the input interface 304 of the control unit 300.

【0045】次に、機能スイッチ8を「入力/製版」位
置まで回転操作して製版動作に機能を移行させ、プッシ
ュボタン群22および操作ダイヤル23を操作して印章
文字を入力する。印章文字の入力が完了したら、印章文
字ラベルが作り込まれた製版シートBを、差込み口9a
に挿入してセットする。
Next, the function switch 8 is rotated to the "input / plate-making" position to shift the function to the plate-making operation, and the push button group 22 and the operation dial 23 are operated to input a stamp character. After entering the stamp characters, insert the plate-making sheet B with the stamp character label into the insertion slot 9a.
Insert into and set.

【0046】次に、プッシュボタン群22の所定のボタ
ン22aを操作して、製版動作、すなわち印字を行わせ
る。この印字は、インクリボンCと製版シートBとに同
時に為される。印字が完了すると、インクリボン(の印
字部分)Cは露光のために先方に送られ、同時に製版シ
ートBは取出し口9bから外部に送り出される。ここ
で、送り出された製版シートBにより、印章文字に誤り
がないことを確認したら、次に機能スイッチ8を「露
光」位置まで回転操作して露光動作に機能を移行させ、
露光を行わせる。
Next, a predetermined button 22a of the push button group 22 is operated to perform a plate making operation, that is, printing. This printing is performed on the ink ribbon C and the plate-making sheet B at the same time. When printing is completed, the ink ribbon (printed portion) C is sent forward for exposure, and at the same time, the plate-making sheet B is sent out from the take-out port 9b. Here, if it is confirmed that the stamp characters are correct by the sent plate-making sheet B, then the function switch 8 is rotated to the "exposure" position to shift the function to the exposure operation,
Allow exposure.

【0047】露光が完了したら、機能スイッチ8を「O
PEN」位置まで回転操作して開閉蓋7を開放し、ポケ
ット6から印章本体Aを取り出して、これを洗浄する。
この洗浄により印章が完成するが、印章が完成したとこ
ろで、上記の製版シートBから印章文字ラベルを剥し
て、これを印章の背面に貼着する。
When the exposure is completed, the function switch 8 is set to "O".
The opening / closing lid 7 is opened by rotating to the “PEN” position, the stamp body A is taken out from the pocket 6 and washed.
The stamp is completed by this washing. When the stamp is completed, the stamp character label is peeled off from the plate-making sheet B, and the label is attached to the back surface of the stamp.

【0048】次に、印章作成装置1の構成部位のうち、
後述する制御部300に関連する部位について、図2〜
図10を参照して、順を追って説明する。
Next, among the constituent parts of the seal making apparatus 1,
About the site | part relevant to the control part 300 mentioned later, FIG.
This will be described step by step with reference to FIG.

【0049】リボンカートリッジ11は、装置本体5に
対し着脱自在に構成されており、インクリボンCの消耗
に際しケースごと交換できるようになっている。図2に
示すように、リボンカートリッジ11には、一端に巻取
りリール13が、他端に巻出しリール14がそれぞれ設
けられ、インクリボンCは、巻出しリール14から巻き
出されほぼ「L」字状に屈曲して巻取りリール13に巻
き取られる。この「L」字状に屈曲したインクリボンC
の走行経路には、その短辺部分に後述する印字部64が
臨み、長辺部分に露光部が臨んでいる。この場合、印字
部64には、このインクリボンCと上記の製版シートB
が同時に臨み、露光部65には印字後のインクリボンC
が臨む。
The ribbon cartridge 11 is detachably attached to the apparatus main body 5 and can be replaced together with the case when the ink ribbon C is consumed. As shown in FIG. 2, the ribbon cartridge 11 is provided with a take-up reel 13 at one end and a take-up reel 14 at the other end, respectively, and the ink ribbon C is unwound from the take-up reel 14 and is substantially “L”. It is bent into a letter shape and wound up by the winding reel 13. Ink ribbon C bent in this "L" shape
The printing path 64, which will be described later, faces the short side portion of the traveling route of 1, and the exposure section faces the long side portion. In this case, the printing section 64 includes the ink ribbon C and the plate-making sheet B.
And the exposed ink ribbon C on the exposed portion 65 after printing.
Faces.

【0050】インクリボンCは、透明なリボンテープと
これに塗布したインクとから成り、実施形態では、6μ
m厚のものが用いられている。印字部64においてこの
インクリボンCに印字が行われると、インクの部分が製
版シートBに転写する。これにより、インクリボンCの
リボンテープには、インクの文字の部分が剥離したネガ
画像が形成され、製版シートBには、インクの文字の部
分が付着したポジ画像が形成される。そして、インクリ
ボンCは、これをマスクとして利用すべく先方の露光部
に送られる一方、製版シートBは、印章文字の確認のた
め、またこれを作成した印章に貼着すべく、装置外部に
送り出される。
The ink ribbon C is composed of a transparent ribbon tape and ink applied to the transparent ribbon tape.
m thickness is used. When printing is performed on the ink ribbon C in the printing unit 64, the ink portion is transferred to the plate-making sheet B. As a result, a negative image is formed on the ribbon tape of the ink ribbon C with the ink characters peeled off, and a positive image is formed on the plate-making sheet B with the ink characters attached. Then, the ink ribbon C is sent to the former exposure section so that it can be used as a mask, while the plate-making sheet B is placed outside the apparatus in order to confirm the stamp characters and to attach it to the stamp that has been created. Sent out.

【0051】製版シートBは、図4に示すように、ベー
スシートBaと粘着シートBbとを積層して成り、全体
が短冊形に形成されている。粘着シートBbには方形に
切り線Bcが形成され、この切り線Bcに沿ってベース
シートBaから剥した粘着シートBbの方形部分が、上
記の印章の背面に貼着する印章文字ラベルBdとなる。
印章本体Aは、印章としての用途に合わせて、形状の異
なる数種のものが用意されており、これに対応して製版
シートBも、その印章文字ラベルBdの部分の形状(切
り線の形状)が異なる数種のものが用意されている。
As shown in FIG. 4, the plate-making sheet B is formed by laminating a base sheet Ba and an adhesive sheet Bb, and is formed in a strip shape as a whole. A square cut line Bc is formed on the pressure-sensitive adhesive sheet Bb, and the square portion of the pressure-sensitive adhesive sheet Bb peeled from the base sheet Ba along the cut line Bc becomes a stamp character label Bd attached to the back surface of the seal. .
The stamp main body A is available in several types having different shapes according to the use as a seal, and the plate making sheet B correspondingly corresponds to the shape of the stamp character label Bd (the shape of the cutting line). ) Are available in different types.

【0052】一方、印章本体Aは、図3に示すように、
台木(実施形態は樹脂製)Aaの先端に薄手のスポンジ
(発泡ウレタン)Abが貼着されると共に、スポンジA
bに紫外線の影響を受けない樹脂ベースAcが貼着さ
れ、さらに樹脂ベースAcに印面Adを構成する紫外線
硬化樹脂が貼着されている。この印章本体Aの紫外線硬
化樹脂(印面Ad)の部分に、インクリボンCをマスク
として紫外線を露光することにより、印面Adの印章文
字に相当する部分が硬化する。この状態で印章本体A
を、ポケット6から取り出して洗浄することにより、水
溶性の未硬化部分が洗い出されて、印章が完成する。図
中の符号Aeは、樹脂製のキャップである。
On the other hand, the stamp main body A, as shown in FIG.
A thin sponge (urethane foam) Ab is attached to the tip of the base material (resin in the embodiment) Aa, and the sponge A
A resin base Ac that is not affected by ultraviolet rays is attached to b, and an ultraviolet curable resin that constitutes the imprint surface Ad is attached to the resin base Ac. By exposing the portion of the ultraviolet curable resin (print surface Ad) of the stamp main body A to ultraviolet light using the ink ribbon C as a mask, the portion of the stamp surface Ad corresponding to the stamp character is cured. Seal body A in this state
Is taken out from the pocket 6 and washed to wash out the water-soluble uncured portion to complete the stamp. Reference numeral Ae in the drawing is a resin cap.

【0053】次に、図2を参照して、印字部64につい
て説明する。印字部64は、制御部300の出力インタ
フェース305に接続されているヘッド駆動回路(図示
せず)56aおよびモータ駆動回路(図示せず)57a
と、ヘッド駆動回路56aによって駆動され、インクリ
ボンCに印章文字を印字する印字ヘッド(サーマルヘッ
ド)56と、モータ駆動回路57aによって駆動され、
印字ヘッド56の印字動作に対応してインクリボンCを
送るプラテンローラ57と、印字ヘッド56のヘッド表
面に設けられたヘッド温度センサ56b(図示せず)
と、を備えている。また、印字ヘッド56とプラテンロ
ーラ57との接触部分に向かって装置ケース2には、上
記の製版シートBが送り込まれる送込み通路181と、
製版シートBが送り出される送出し通路182とが形成
されている。送込み通路181の上流端には外部に開放
された上記の差込み口9aが形成され、送出し通路18
2の下流端には外部に開放された上記の取出し口9bが
形成されている。
Next, the printing section 64 will be described with reference to FIG. The printing unit 64 includes a head drive circuit (not shown) 56a and a motor drive circuit (not shown) 57a connected to the output interface 305 of the control unit 300.
A print head (thermal head) 56 that is driven by a head drive circuit 56a to print a stamp character on the ink ribbon C, and a motor drive circuit 57a.
A platen roller 57 that sends the ink ribbon C in response to the printing operation of the print head 56, and a head temperature sensor 56b (not shown) provided on the head surface of the print head 56.
And are equipped with. Further, a feeding passage 181 into which the plate-making sheet B is fed into the apparatus case 2 toward a contact portion between the print head 56 and the platen roller 57,
A delivery passage 182 through which the plate-making sheet B is delivered is formed. The outlet 9a, which is open to the outside, is formed at the upstream end of the delivery passage 181.
At the downstream end of 2, the above-mentioned outlet 9b opened to the outside is formed.

【0054】プラテンローラ57は、上述したように駆
動ローラであり、インクリボンCを巻出しリール14か
ら巻き出すと共に、印字ヘッド56との間に製版シート
Bをくわえ込んで、インクリボンCと製版シートBとを
重ねた状態で印字ヘッド56に臨ませる。印字ヘッド5
6はサーマルヘッドであり、熱転写によりインクリボン
Cのリボンテープに塗布されたインクを製版シートBに
転写する。この転写により、インクリボンCから印章文
字に相当する部分が剥がれて、その部分に透明なリボン
テープの地が表れる一方、製版シートBには剥がれたイ
ンクが印章文字として付着する。また、ヘッド表面温度
センサ56bは、上述したように印字ヘッド56のヘッ
ド表面に密着して設けられたサーミスタなどの温度セン
サであり、制御部300の入力インタフェース304に
接続され、印字ヘッド56の表面温度を検出して報告す
る。
The platen roller 57 is a driving roller as described above, and the ink ribbon C is unwound from the unwind reel 14, and the plate making sheet B is gripped between the print head 56 and the ink ribbon C and the plate making. The sheet B and the sheet B are overlapped and face the print head 56. Print head 5
A thermal head 6 transfers the ink applied to the ribbon tape of the ink ribbon C to the plate making sheet B by thermal transfer. By this transfer, the portion corresponding to the stamp character is peeled off from the ink ribbon C, and the background of the transparent ribbon tape appears on that portion, while the peeled ink adheres to the plate-making sheet B as the stamp character. The head surface temperature sensor 56b is a temperature sensor such as a thermistor provided in close contact with the head surface of the print head 56 as described above, is connected to the input interface 304 of the control unit 300, and is the surface of the print head 56. Detect and report temperature.

【0055】送込み通路181には、製版シートBの差
込みおよび送り基準位置を検出するセンサ183が臨ん
でおり、送込み通路181に差し込まれた製版シートB
は、このセンサ183の検出結果により、プラテンロー
ラ57により送られて、その印章文字ラベルBdの先端
部位置から印字が開始されるようになっている。送出し
通路182を構成する左側の壁には、その先端(上流
端)に分離爪部184が形成されており、この分離爪部
184により、重ねた状態で送られてきたインクリボン
Cと製版シートBとが引き離される。そして、インクリ
ボンCは先方の露光部に送られ、製版シートBは送出し
通路182を介して装置外部に送り出される。
A sensor 183 for detecting the insertion and the feed reference position of the plate-making sheet B faces the feeding path 181, and the plate-making sheet B inserted in the feeding path 181 is exposed.
Is sent by the platen roller 57 according to the detection result of the sensor 183, and printing is started from the position of the leading end of the stamp character label Bd. A separation claw portion 184 is formed at the tip (upstream end) of the left wall of the delivery passage 182, and the separation ribbon claw 184 and the ink ribbon C and the plate-making process sent in a stacked state. The sheet B is separated. Then, the ink ribbon C is sent to the former exposure section, and the plate-making sheet B is sent to the outside of the apparatus through the sending passage 182.

【0056】次に、図2を参照して、露光部65につい
て説明する。露光部65は、制御部300の出力インタ
フェース305に接続された光源駆動回路191a(図
示せず)と、ポケット6にセットした印章本体Aの印面
Adに対峙するように設けられ、光源駆動回路191a
によって駆動される紫外線光源191と、紫外線光源1
91と印章本体Aの印面Adとの間に設けた押え板58
とを備えている。紫外線光源191は、セミホット管と
呼ばれる自己加熱型熱陰極管であり、図示しない基板上
に設けた蛍光管ホルダに支持されている。印章本体Aの
印面Adと押え板58と紫外線光源191とは、それぞ
れ間隙を存して相互に平行に配設されており、この印面
Adと押え板58との間にインクリボンCが配設されて
いる。
Next, the exposure section 65 will be described with reference to FIG. The exposure unit 65 is provided so as to face the light source drive circuit 191a (not shown) connected to the output interface 305 of the control unit 300 and the stamp face Ad of the stamp main body A set in the pocket 6, and the light source drive circuit 191a.
Ultraviolet light source 191 driven by
Presser plate 58 provided between 91 and stamp surface Ad of stamp body A
It has and. The ultraviolet light source 191 is a self-heating type hot cathode tube called a semi-hot tube, and is supported by a fluorescent tube holder provided on a substrate (not shown). The stamp surface Ad of the stamp main body A, the pressing plate 58, and the ultraviolet light source 191 are disposed in parallel with each other with a gap therebetween, and the ink ribbon C is disposed between the stamp surface Ad and the pressing plate 58. Has been done.

【0057】押え板58は透明な樹脂などで構成され、
前進してインクリボンCを印章本体Aの印面Adに押し
当てるようになっている。すなわち、露光の際には、押
え板58により印章本体Aの印面AdにインクリボンC
を押し当てた後、紫外線光源191を点灯して、押え板
58越しにインクリボンCをマスクとした露光が行われ
る(図5参照)。また、この露光部65には、制御部3
00の入力インタフェース304に接続され、露光部6
5の周囲(環境)温度を検出して報告するサーミスタな
どの周囲温度センサ67(図示せず)が設けられてい
る。
The holding plate 58 is made of a transparent resin or the like,
The ink ribbon C is moved forward and pressed against the printing surface Ad of the stamp body A. That is, at the time of exposure, the ink ribbon C is applied to the printing surface Ad of the stamp body A by the pressing plate 58.
After pressing, the ultraviolet light source 191 is turned on, and exposure is performed using the ink ribbon C as a mask through the pressing plate 58 (see FIG. 5). In addition, the exposure unit 65 includes a control unit 3
00 to the input interface 304, and the exposure unit 6
An ambient temperature sensor 67 (not shown) such as a thermistor that detects and reports the ambient (environmental) temperature of 5 is provided.

【0058】なお、押え板58の前進に伴って、第1ガ
イドピン53および第2ガイドピン54も同方向に移動
する。この移動は、第1および第2ガイドピン53,5
4間に張り渡したインクリボンCの張りを緩めるものと
なり、インクリボンCは、その張力を減じた状態で、す
なわち縦皺が生じない状態で印章本体Aの印面Adに押
し当てられる。
The first guide pin 53 and the second guide pin 54 also move in the same direction as the pressing plate 58 moves forward. This movement is performed by the first and second guide pins 53, 5
The tension of the ink ribbon C stretched between the four is relaxed, and the ink ribbon C is pressed against the stamp surface Ad of the stamp main body A in a state in which the tension is reduced, that is, a state in which vertical wrinkles do not occur.

【0059】この状態を、図2および図5を参照して更
に詳述するに、図2において走行するインクリボンCに
は巻取りリール13により強い張力が作用し、上述のよ
うにインクリボンCは極薄のテープゆえ縦皺が生じてい
る。したがって、このままインクリボンCを印章本体A
の印面Adに押し付けると、インクリボンCは縦皺を生
じたまま印面Adに押し付けられ、印章文字が歪んで露
光されてしまう。一方、インクリボンCを弛ませると、
印章文字が位置ずれして露光されしまう。そこで、図5
に示すように、押え板58の前進に伴って、第1ガイド
ピン53および第2ガイドピン54も前進させて、イン
クリボンCの張りを緩めると共に、その際にテンション
ピン55により、インクリボンCに縦皺が生じない程度
の弱い力で張りを与えるようにしている。
This state will be described in more detail with reference to FIGS. 2 and 5. A strong tension acts on the ink ribbon C running in FIG. 2 by the take-up reel 13, and as described above, the ink ribbon C is moved. Is a very thin tape and has vertical wrinkles. Therefore, the ink ribbon C as it is, the seal body A
When the ink ribbon C is pressed against the print surface Ad, the ink ribbon C is pressed against the print surface Ad with vertical wrinkles, and the stamp characters are distorted and exposed. On the other hand, when the ink ribbon C is loosened,
The stamp characters are misaligned and exposed. Therefore, FIG.
As shown in FIG. 5, the first guide pin 53 and the second guide pin 54 are also advanced with the advance of the pressing plate 58 to loosen the tension of the ink ribbon C, and at that time, the tension pin 55 causes the ink ribbon C to move. Tension is applied with a weak force that does not cause vertical wrinkles.

【0060】また、図5の露光状態におけるインクリボ
ンCは、テンションピン55および第2経路ピン52に
より、押え板58の両端で後方に折り曲げられ、押え板
58の両端に形成した面取り部分207の作用により、
インクリボンCに無用な皺が生じないようになってい
る。
Further, the ink ribbon C in the exposed state of FIG. 5 is bent backward at both ends of the holding plate 58 by the tension pin 55 and the second path pin 52, and the chamfered portions 207 formed at both ends of the holding plate 58 are formed. By the action
The ink ribbon C is prevented from causing unnecessary wrinkles.

【0061】なお、上述したように、印字によって製版
シートBに形成されたポジ画像とインクリボンCに形成
されたネガ画像は、それぞれ印章文字ラベルと露光用マ
スクとして使用される。すなわち、これらの画像の出来
映えが、印章としての完成品の出来映えに直接、反映さ
れる。特に、露光用マスクとして使用されるインクリボ
ンCが歪んでしまうと、印章文字が歪んで露光されてし
まうため、上記の張力に対する機械的な構造上の工夫の
ほか、熱量に対する電気的な機能上の工夫がなされ、イ
ンクリボンCに無用な皺などが発生しないようにしてい
る。
As described above, the positive image formed on the plate-making sheet B by printing and the negative image formed on the ink ribbon C are used as a stamp character label and an exposure mask, respectively. That is, the workability of these images is directly reflected on the workability of the finished product as a seal. In particular, when the ink ribbon C used as the exposure mask is distorted, the stamp characters are distorted and exposed. Therefore, in addition to the mechanical structure for the above tension, an electrical function for the heat amount is obtained. Is devised to prevent unnecessary wrinkles from forming on the ink ribbon C.

【0062】次に、開閉蓋7の開閉に連動する印章検出
部66について説明する。この印章検出部66は、ポケ
ット6に印章本体Aが装着されたことを検出すると共
に、印章本体Aの種別を判別するものである。印章本体
Aには、角型印用、氏名印用、ビジネス印用、住所印用
などの各種形状の異なるものが用意され、これら各種の
印章本体Aは、長さは同一であるが、幅および厚みが異
なっている。このような幅および厚みの異なる各種の印
章本体Aを、幅方向および厚み方向において、ポケット
6内の一定の位置にセットするため、この実施形態で
は、図6および図7に示すように、ポケット6の底面6
bに長短4本のボス251,251,251,251が
立設され、これに対応して印章本体Aには、ボス251
が嵌合する嵌合穴Afが形成されている(図7参照)。
Next, the seal detecting section 66 interlocked with the opening / closing of the opening / closing lid 7 will be described. The stamp detection unit 66 detects that the stamp body A is mounted in the pocket 6 and determines the type of the stamp body A. The stamp body A is available in various shapes such as square stamps, name stamps, business stamps, and address stamps. These stamp bodies A have the same length but the same width. And the thickness is different. In order to set such various stamp main bodies A having different widths and thicknesses at fixed positions in the pocket 6 in the width direction and the thickness direction, in this embodiment, as shown in FIG. 6 and FIG. Bottom of 6
Four long and short bosses 251, 251, 251 and 251 are erected on b, and the boss 251 is attached to the stamp main body A correspondingly.
Is formed with a fitting hole Af (see FIG. 7).

【0063】4本のボス251,251,251,25
1は「T」字状に配設されており、これに対応して、例
えば角型印では2個の嵌合穴Af,Afが(図7
(a))、ビジネス印では4個の嵌合穴Af,Af,A
f,Afが(図7(b))、形成されている。このよう
に、印章本体Aの嵌合穴Afの数および深さは、印章本
体Aの種別により区々であり、この嵌合穴Afとボス2
51の組み合わせにより、ポケット6に装着した各種の
印章本体Aの印面Adの中心が、常に同一の位置に来る
ように位置決めされる。
Four bosses 251, 251, 251, 25
1 is arranged in a “T” shape, and correspondingly, for example, in the square mark, two fitting holes Af and Af are provided (see FIG. 7).
(A)), the business seal has four fitting holes Af, Af, A
f and Af (FIG. 7B) are formed. As described above, the number and depth of the fitting holes Af of the stamp main body A are different depending on the type of the stamp main body A.
By combining 51, the centers of the stamp surfaces Ad of various stamp bodies A mounted in the pockets 6 are positioned so that they are always at the same position.

【0064】また、印章本体Aの印面Adと逆の背面A
gには、厚み方向の中間位置に横並びに複数個の子穴
(種別検出穴)Ahが形成されており、後述する印章検
出部66のスイッチアレイ262との協働により、印章
本体Aの種別が判別される(図8参照)。なお、印章本
体Aの背面Agには、印字後にインクリボンCから分離
して装置外部に送り出された製版シートBの印章文字ラ
ベルBdが貼着され、これにより子穴Ahが隠されるよ
うになっている。
Further, the back surface A opposite to the stamp surface Ad of the stamp body A is used.
In g, a plurality of side holes (type detection holes) Ah are formed side by side at an intermediate position in the thickness direction, and in cooperation with the switch array 262 of the seal detection unit 66, which will be described later, the type of the seal body A is classified. Is determined (see FIG. 8). A stamp character label Bd of the plate-making sheet B, which is separated from the ink ribbon C after printing and sent to the outside of the apparatus, is attached to the back surface Ag of the stamp main body A so that the small hole Ah is hidden. ing.

【0065】印章検出部66は、図9および図10に示
すように、印章本体Aの背面Agに対向するように配設
したスイッチホルダ(ポケット6の壁面を兼ねている)
261と、スイッチホルダ261に支持させた6個の検
出スイッチ263から成るスイッチアレイ262とを備
えている。各検出スイッチ263は、プッシュスイッチ
などで構成されたスイッチ本体264と、先端がポケッ
ト6内に臨むスイッチトップ265とで、構成されてい
る。スイッチトップ265は、平板部266と、平板部
266から直角に延びる検出突起部267とから成り、
平板部266の下部でスイッチホルダ261に形成した
ガイド突起268に、且つ検出突起部267でスイッチ
ホルダ261に形成したガイド孔269に案内されて、
前後方向に移動する。
As shown in FIGS. 9 and 10, the stamp detection unit 66 is a switch holder (also serving as the wall surface of the pocket 6) arranged so as to face the back surface Ag of the stamp body A.
261 and a switch array 262 composed of six detection switches 263 supported by the switch holder 261. Each detection switch 263 is composed of a switch main body 264 composed of a push switch and the like, and a switch top 265 whose tip faces the inside of the pocket 6. The switch top 265 includes a flat plate portion 266 and a detection protrusion portion 267 extending at a right angle from the flat plate portion 266,
Guided by the guide protrusion 268 formed on the switch holder 261 below the flat plate portion 266, and guided by the guide hole 269 formed on the switch holder 261 by the detection protrusion 267,
Move back and forth.

【0066】スイッチ本体264は基板270の裏面に
固定され、そのプランジャ271をスイッチトップ26
5の平板部266に突き当てるように配設されている。
この場合、プランジャ271はそのばね力でスイッチト
ップ265をポケット6側に付勢しており、この付勢に
より検出突起部267の先端がスイッチホルダ261の
ガイド孔269からポケット6内に突出する状態と、こ
の付勢に抗してガイド孔269に没入する状態とが、検
出スイッチ263のON−OFFに対応している。この
場合、スイッチアレイ262の内のいずれか1個の検出
スイッチ263が、ON状態になったときに、印章本体
Aが装着されていることが検出され、全ての検出スイッ
チ263が、OFF状態になったときに、印章本体Aが
装着されていないことが検出される。そして、スイッチ
アレイ262の各検出スイッチ263は、対応する印章
本体Aの小穴Ahの有無により、ONまたはOFFのい
ずれかの状態となる。したがって、6個の検出スイッチ
263のON・OFFのパターンにより、印章本体Aの
種別が判別される。
The switch main body 264 is fixed to the back surface of the substrate 270, and its plunger 271 is attached to the switch top 26.
5 is arranged so as to abut against the flat plate portion 266.
In this case, the plunger 271 biases the switch top 265 toward the pocket 6 side by its spring force, and the bias causes the tip of the detection protrusion 267 to project from the guide hole 269 of the switch holder 261 into the pocket 6. The state in which the detection switch 263 is depressed into the guide hole 269 against the bias corresponds to ON-OFF of the detection switch 263. In this case, when any one of the detection switches 263 in the switch array 262 is turned on, it is detected that the seal body A is attached, and all the detection switches 263 are turned off. Then, it is detected that the seal body A is not attached. Then, each detection switch 263 of the switch array 262 is turned on or off depending on the presence or absence of the small hole Ah of the corresponding stamp main body A. Therefore, the type of the stamp main body A is determined by the ON / OFF pattern of the six detection switches 263.

【0067】図8は、印章本体Aの小穴Ahと、6個の
検出スイッチ(検出突起部)263との関係を表してい
る。6個の検出スイッチ263と小穴Ahの有無との関
係から、26 −1種類、すなわち63種の判別パターン
が可能になっている。この場合、角型印などの幅の狭い
印章本体Aに対しては、両外端の2個の検出スイッチ2
63,263に対する小孔Ahがなく、この2個の検出
スイッチ263,263は、印章本体Aの両側の空間に
向かって突出する。すなわち、角型印などの幅の狭い印
章本体Aでは、印章本体Aの最外端に架空の小孔Ahが
有る判別パターンとして、認識される。
FIG. 8 shows the relationship between the small hole Ah of the stamp body A and the six detection switches (detection protrusions) 263. From the relationship between the six detection switches 263 and the presence / absence of the small hole Ah, 2 6 −1 types, that is, 63 types of determination patterns are possible. In this case, for the stamp body A having a narrow width such as a square mark, the two detection switches 2 at both outer ends are used.
There are no small holes Ah for 63 and 263, and these two detection switches 263 and 263 project toward the spaces on both sides of the stamp body A. That is, in the stamp main body A having a narrow width such as a square mark, it is recognized as a discrimination pattern in which the fictitious small hole Ah exists at the outermost end of the stamp main body A.

【0068】次に、図11を参照して、制御部300に
ついて説明する。この制御部300は、例えばマイクロ
コンピュータによって構成され、CPU301、ROM
302、RAM302、入力インタフェース304、出
力インタフェース305、およびこれらを接続するシス
テムバス306を備えている。
Next, the control unit 300 will be described with reference to FIG. The control unit 300 is composed of, for example, a microcomputer, and includes a CPU 301 and a ROM.
302, a RAM 302, an input interface 304, an output interface 305, and a system bus 306 connecting these.

【0069】ROM302には、各種プログラムや、か
な漢字変換用辞書データ、文字・記号などのフォントデ
ータ、所定の印章枠データなどの固定データが格納され
ている。RAM303は、作業エリアとして用いられ、
また、使用者の入力に係る固定データを格納するのに用
いられる。このRAM303の格納データは、電源オフ
時にもバックアップされている。
The ROM 302 stores various programs, kana-kanji conversion dictionary data, font data such as characters and symbols, and fixed data such as predetermined seal frame data. RAM 303 is used as a work area,
It is also used to store fixed data related to user input. The data stored in the RAM 303 is backed up even when the power is turned off.

【0070】入力インタフェース304は、前述した機
能スイッチ8、操作部21のプッシュボタン群22、操
作ダイヤル23、印字部64のヘッド表面温度センサ5
6b、露光部65の周囲温度センサ67、印章検出部6
6などからの入力信号を、システムバス306を介して
CPU301やRAMに取り込むためのインタフェース
を行う。出力インタフェース305は、CPU301、
ROM302、またはRAM303からの各種制御信号
や各種制御用データを、システムバス306を介して入
力し、前述した発光素子12、操作部21の表示部駆動
回路24a、印字部64のヘッド駆動回路56a、モー
タ駆動回路57a、露光部65の光源駆動回路191a
などに対して出力するためのインタフェースを行う。
The input interface 304 includes the function switch 8 described above, the push button group 22 of the operation unit 21, the operation dial 23, and the head surface temperature sensor 5 of the printing unit 64.
6b, ambient temperature sensor 67 of exposure unit 65, seal detection unit 6
An interface for taking in an input signal from the CPU 6 or the like to the CPU 301 or the RAM via the system bus 306 is performed. The output interface 305 is the CPU 301,
Various control signals and various control data from the ROM 302 or the RAM 303 are input via the system bus 306, and the above-described light emitting element 12, the display unit drive circuit 24a of the operation unit 21, the head drive circuit 56a of the printing unit 64, Motor drive circuit 57a, light source drive circuit 191a of exposure unit 65
Interface for outputting to etc.

【0071】CPU301は、入力インタフェース30
4からの入力信号や、そのときの処理内容に応じて定ま
るROM302内の処理プログラムに基づいて、RAM
303を作業エリアとして用い、また、必要なときにR
OM302やRAM303内に格納されている固定デー
タを適宜用いて処理する。
The CPU 301 is the input interface 30.
RAM based on a processing program in the ROM 302 that is determined according to the input signal from the CPU 4 and the processing content at that time.
Use 303 as a work area, and R when necessary
The fixed data stored in the OM 302 or the RAM 303 is appropriately used for processing.

【0072】この印章作成装置1の場合、CPU301
は、以下に説明するマルチタスク処理を行っている。
In the case of this seal making device 1, the CPU 301
Performs the multitasking process described below.

【0073】図12は、本実施形態のマルチタスク処理
の概念図であり、処理すべき複数のタスクを優先順位R
DY0〜RDYn(図示の場合、n=7)に分類し、そ
の優先順位に基づいて処理順を決定して、各タスクを起
動している。以下の説明では、最も高い優先順位RDY
0に分類されたタスクをTCB0i(i=0、1、2、
…)、最も低い優先順位RDY7に分類されたタスクを
TCB7i、他の優先順位に関しても同様に、優先順位
RDYj(j=0〜7)に分類されたタスクをTCBj
iと示す。また、優先順位RDYjに分類されてその分
類の中での待ち状態になることを、例えば、タスクTC
Bm0がTCBj0として登録されたと表現することと
し、優先順位RDYjに1個以上のタスクが登録されて
いることをRDYjに「タスク有」と表現する。
FIG. 12 is a conceptual diagram of the multitask processing of this embodiment, in which a plurality of tasks to be processed are given priority R
The tasks are activated by classifying them into DY0 to RDYn (n = 7 in the illustrated case), determining the processing order based on their priority order. In the following description, the highest priority RDY
The tasks classified as 0 are assigned to TCB0i (i = 0, 1, 2,
...), the task classified into the lowest priority order RDY7 is TCB7i, and similarly for other priority orders, the tasks classified into the priority order RDYj (j = 0 to 7) are TCBj.
Denote by i. In addition, the fact that the task is classified into the priority order RDYj and becomes the waiting state in the classification is, for example, the task TC.
It is assumed that Bm0 is registered as TCBj0, and that one or more tasks are registered in the priority order RDYj is expressed as “task present” in RDYj.

【0074】また、同図に示すように、このマルチタス
ク処理では、プッシュボタン群22のいずれかのプッシ
ュボタンの押下や操作ダイヤル23の操作による割込な
どのイベント発生により、新たに必要になった処理内容
を示すタスク名(図示のTCBm0など)を登録した
り、各タスク間の通信(図示のMailm1など:以下
「メール」と略称する)を登録するエリアが確保されて
おり、以下、このエリアをメールボックスMBXと表現
する。さらに、現在実行中の処理内容を示すタスク名を
TCBr0と表現し、このタスクを実行して処理するこ
とを現タスク実行処理、または省略してRUN処理と表
現し、例えば、TCB00を選択して起動するときは、
TCB00をTCBr0として登録して起動すると表現
する。この場合の登録を、後述する階層処理ダイアグラ
ムやフローチャート上では、TCBr0←TCB00の
ように示す。メールボックスMBX内のタスクTCBm
0などは、現在実行中のタスクTCBr0の強制中断の
可否、または、どの優先順位RDYjに登録するかなど
の情報を有しており、後述するMBX処理においては、
これらの情報に基づいてタスクTCBm0を処理する。
Further, as shown in the figure, in this multitasking process, a new event is required due to the occurrence of an event such as the push of one of the push buttons 22 or the operation dial 23 to cause an interrupt. An area for registering a task name (such as TCBm0 shown in the figure) indicating the processing content and a communication between each task (Mail1 shown in the figure: hereinafter abbreviated as "mail") is secured. The area is expressed as a mailbox MBX. Furthermore, a task name indicating the currently executed processing content is expressed as TCBr0, and executing and processing this task is expressed as current task execution processing, or abbreviated as RUN processing. For example, selecting TCB00 When booting,
It is expressed that TCB00 is registered as TCBr0 and activated. The registration in this case is shown as TCBr0 ← TCB00 on a hierarchical processing diagram and a flowchart described later. Task TCBm in mailbox MBX
0 and the like have information such as whether or not the task TCBr0 currently being executed can be forcibly interrupted, or which priority order RDYj is to be registered, and in the MBX processing described later,
The task TCBm0 is processed based on these pieces of information.

【0075】図13は、通常のフローチャートを用い
て、本発明の実施形態の処理手順を示そうと試みたもの
である。同図に示すように、電源オンなどにより処理が
スタートすると、まず、印章作成装置1内の各部の初期
設定を行い(S01)、次に、タスク監視・切替(RD
Y)処理を行った(S02)後、メールボックス(MB
X)処理を行う(S03)。次に、何らかのイベントが
発生しているか否かをチェックし(S04)、発生して
いるときは、その発生しているイベントに対応する処理
を行い(S05)、その後、現タスク実行(RUN)処
理を行う(S06)。そして、RDY処理(S02)か
らRUN処理(S06)までを繰り返すことになる。
FIG. 13 is an attempt to show the processing procedure of the embodiment of the present invention using a normal flowchart. As shown in the figure, when the processing is started by turning on the power, etc., first, the respective parts in the stamp making apparatus 1 are initialized (S01), and then the task monitoring / switching (RD) is performed.
Y) After processing (S02), the mailbox (MB
X) Processing is performed (S03). Next, it is checked whether or not any event has occurred (S04), and if it has occurred, the process corresponding to the event that has occurred is performed (S05), and then the current task is executed (RUN). Processing is performed (S06). Then, the RDY processing (S02) to the RUN processing (S06) are repeated.

【0076】しかし、実際の処理では、上記のRDY処
理、MBX処理は、定期的に定められたタイミングでの
み処理され、また、各イベント対応の処理は、そのイベ
ントの発生に応じて起動される処理であり、他のタイミ
ングでは、RUN処理を行っているため、このフローチ
ャートの記述では正確に表現しにくく、また、プログラ
ムの階層構造も理解しにくい。そこで、以下の説明で
は、1つの連続する処理を説明するときは、別のタスク
を起動するなどの実際のマルチタスクの動作に拘らず、
そのタスク処理をサブルーチンとして示したフローチャ
ートを用いることとし、イベント駆動タイプ、すなわち
イベント発生などにより起動されるタスクなどの説明に
は、図14に示す記述方法(以下、「階層処理ダイヤグ
ラム」と略称する)を用いて説明する。
However, in the actual processing, the RDY processing and the MBX processing described above are processed only at regularly determined timings, and the processing corresponding to each event is activated in response to the occurrence of that event. Since it is a process and the RUN process is performed at other timings, it is difficult to accurately represent it in the description of this flowchart, and it is difficult to understand the hierarchical structure of the program. Therefore, in the following description, when describing one continuous process, regardless of the actual multitask operation such as starting another task,
A flow chart showing the task processing as a subroutine will be used, and the description method shown in FIG. 14 (hereinafter abbreviated as “hierarchical processing diagram”) will be used to explain the event-driven type, that is, the task activated by the occurrence of an event. ).

【0077】ここで、階層処理ダイアグラム上、◇印の
ある処理分岐は、イベント駆動形のタスク、プログラ
ム、またはサブルーチンであることを示し、割込や他の
タスクからのタスク起動などのイベントが発生したとき
に実行される。図14のタスク監視・切替(RDY)処
理は、リアルタイムモニタなどから一定間隔のタイミン
グで割込が発生し、そのタイミングでのみ起動される。
また、メールボックス(MBX)処理も、RDY処理と
は別の一定間隔のタイミング割込によって起動される。
イベント発生処理は、前述したように、操作ダイヤル2
3の操作などの種々のイベントにより起動されるタスク
をメールボックスMBX内に登録する処理であり、実際
には、各イベント発生毎に独立してメールボックスMB
Xにアクセスし、そのイベントの処理に対応したタスク
名を登録するが、図14では、それらを代表的に一つだ
け図示している。
Here, in the hierarchical processing diagram, a processing branch with a ⋄ indicates that it is an event-driven task, program, or subroutine, and an event such as an interrupt or task activation from another task occurs. Will be executed when The task monitoring / switching (RDY) process of FIG. 14 is interrupted by a real-time monitor or the like at regular intervals, and is activated only at that timing.
Further, the mailbox (MBX) process is also activated by a timing interrupt at a constant interval different from the RDY process.
As described above, the event generation process is performed by the operation dial 2
This is a process of registering the task activated by various events such as the operation of No. 3 in the mailbox MBX. Actually, each event occurs independently of the mailbox MBX.
Although X is accessed and the task name corresponding to the processing of the event is registered, FIG. 14 shows only one of them as a representative.

【0078】図14に示すように、電源オンなどにより
処理がスタートすると、まず、処理分岐Inの初期設定
(以下、「初期設定(In)のように表現する)を行
う。初期設定(In)では、印章作成装置1全体の処理
の流れを決定するための、後述する主要タスク起動処理
のタスクTCBinをMBXに登録する(In1)。初
期設定(In)が終了し、仮にRDY処理のタイミング
ではなく、MBX処理のタイミングでもなく、何らかの
イベント発生もなければ、次に、RUN処理(CT)に
移るが、ここでは、まだなにも登録されておらず、実行
されていないため、RDY処理またはMBX処理の起動
タイミング待ちになる。
As shown in Fig. 14, when the process is started by turning on the power, etc., first, the initialization of the process branch In (hereinafter referred to as "initialization (In)") is performed. Then, a task TCBin of a main task starting process, which will be described later, for determining the flow of the entire process of the seal stamp creating apparatus 1 is registered in the MBX (In1) .Initial setting (In) ends, and at the timing of the RDY process, If there is no timing of MBX processing and there is no event occurrence, then the process proceeds to RUN processing (CT), but here, because nothing has been registered and has not been executed, RDY processing or Waiting for MBX processing start timing.

【0079】この状態で、RDY処理のタイミングにな
ると、RDY処理(R)が実行されるが、RDY0〜R
DY7にタスクが登録されていないため、すなわちRD
Y0〜RDY7にタスク有(R1〜R8)ではないた
め、何も処理されずに終了する。一方、MBX処理のタ
イミングになると、MBX処理(M)が実行され、MB
X内には、主要タスク起動処理用のタスクTCBinが
TCBm0として登録されているので、MBXにタスク
有(M1)の処理がされ、MBX内のタスクTCBをR
DYに登録する(M11)。すなわち、例えば、タスク
TCBinの指定された優先順位がRDY4に相当すれ
ば、タスクTCBinがTCB40としてRDY4に登
録される。
In this state, at the timing of the RDY processing, the RDY processing (R) is executed, but RDY0 to RDY
The task is not registered in DY7, that is, RD
Since there is no task in Y0 to RDY7 (R1 to R8), the process ends without any processing. On the other hand, at the timing of the MBX processing, the MBX processing (M) is executed and the MB
Since the task TCBin for main task activation processing is registered as TCBm0 in X, the task with (M1) processing is performed in MBX, and the task TCB in MBX is set to R.
Register to DY (M11). That is, for example, if the designated priority of the task TCBin corresponds to RDY4, the task TCBin is registered in the RDY4 as the TCB40.

【0080】この状態で、RDY処理のタイミングにな
り、RDY処理(R)が実行されると、例えば、RDY
4にタスク有(R3)の処理が実行される。ここで、図
15を参照して、RDYiにタスク有(R(i−1))
の処理を説明する。この処理では、大きくは、新たなタ
スクを起動する場合と、タスクは起動せず、現在実行中
のタスクに対して中断依頼メールを送信する場合と、何
も処理しない場合とのいずれかに分岐する。
In this state, when the timing of the RDY processing is reached and the RDY processing (R) is executed, for example, RDY processing is performed.
The process with task (R3) is executed in 4. Here, referring to FIG. 15, there is a task in RDYi (R (i-1)).
The processing of will be described. In this process, roughly, there are a case where a new task is started, a case where the task is not started and the interrupt request mail is sent to the currently executing task, and a case where nothing is processed. To do.

【0081】まず、現実行タスクがない場合、すなわち
TCBr0として何も登録されておらず、RUN処理が
なされていない場合、または、現在実行中のタスクTC
Br0の優先順位がRDY(i+1)以下であり、か
つ、その現実行タスクが中断可能の場合には、新タスク
が起動される。この中断可能な場合とは、新タスクが現
実行タスクを強制中断可能なものであるか、後述の中断
依頼メールに対する返信メールの内容が中断可メール
か、またはすでに終了したことを示す終了メールである
場合が相当する。この条件が成立したとき、すなわち、
(現実行タスク無)+(現実行タスクRDY(i+1)
以下)&((強制中断可)+(MBXに返信メール有)
&((中断可メール)+(終了メール)))の条件が成
立したとき(R(i−1)1)に、新タスクが起動され
る(R(i−1)11)。ここで、+は論理和、&は論
理積を表す。
First, when there is no currently executing task, that is, when nothing is registered as TCBr0 and no RUN processing is performed, or the currently executing task TC.
If the priority of Br0 is lower than or equal to RDY (i + 1) and the currently executing task can be interrupted, a new task is started. This interruptable case means that the new task can forcibly interrupt the currently executed task, the content of the reply mail to the below-mentioned interrupt request mail can be interrupted, or it is an end mail indicating that it has already ended. There are some cases. When this condition is met, that is,
(No current execution task) + (Current execution task RDY (i + 1)
Below) & ((Forced interruption possible) + (Reply mail to MBX available)
When the condition & ((interruptible mail) + (end mail)) is satisfied (R (i-1) 1), the new task is activated (R (i-1) 11). Here, + represents a logical sum and & represents a logical product.

【0082】また、現実行タスクの優先順位がRDY
(i+1)以下であり、かつ、そのタスクからの返信メ
ールがなくて中断可か不可か不明の場合、または、以前
に一度依頼したときには中断不可であり、状況により再
依頼する場合には、中断を要請する中断依頼メールをメ
ールボックスMBXに送信する。すなわち、(現実行タ
スクRDY(i+1)以下)&(強制中断不可)&
((MBXに返信メール無)+(中断不可メール))の
条件が成立したとき(R(i−1)2)には、中断依頼
メール送信を行う(R(i−1)21)。そして、これ
らの条件が双方とも成立しないとき、すなわち、現実行
タスクの優先順位がRDYi以上のときは、何も処理を
せずに、RDYiにタスク有(R(i−1))を終了す
る。
The priority of the currently executed task is RDY.
If it is (i + 1) or less, and it is unknown whether it can be interrupted because there is no reply mail from the task, or if it is once interrupted when requested once and re-requested depending on the situation, interrupt A suspend request mail requesting the request is sent to the mailbox MBX. That is, (currently executed task RDY (i + 1) or less) & (forced interruption impossible) &
When the condition of ((no reply mail to MBX) + (non-interruptible mail)) is satisfied (R (i-1) 2), the interruption request mail is transmitted (R (i-1) 21). Then, when neither of these conditions is satisfied, that is, when the priority of the currently executed task is RDYi or higher, no task is processed and the task existence (R (i-1)) is terminated in RDYi. .

【0083】新タスク起動(R(i−1)11)の場
合、この処理以前に、例えば、より優先順位の高い他の
タスクを起動するために中断されていたり、また、子タ
スクを起動して、その子タスクの処理結果待ちの状態で
中断されていたタスクなどがある場合には、後述する再
開情報などによりその再開の可否を判断して、再開可能
の場合には、(中断タスク有)&(再開可)(R(i−
1)111)の処理が実行される。この処理では、現実
行タスク名TCBr0として中断されていたタスク名を
登録し(R(i−1)1111)、退避していたデータ
等がある場合には、それらを復帰し(R(i−1)11
12)、新たにRUN処理を起動する(R(i−1)1
113)。このイベント発生により、後述のRUN処理
(CT)において、新タスク起動(CT1)の処理が起
動される。
In the case of the new task activation (R (i-1) 11), before this processing, for example, the task is suspended to activate another task having a higher priority, or the child task is activated. Then, if there is a task that was suspended while waiting for the processing result of the child task, whether or not the task can be resumed is determined based on the resume information that will be described later. & (Can be restarted) (R (i-
1) The processing of 111) is executed. In this process, the suspended task name is registered as the currently executed task name TCBr0 (R (i-1) 1111), and if there is saved data or the like, they are restored (R (i- 1) 11
12), newly start RUN processing (R (i-1) 1
113). Due to this event occurrence, the new task activation (CT1) processing is activated in the RUN processing (CT) described later.

【0084】中断されていたタスクがない場合には、中
断タスク無(R(i−1)112)が処理され、TCB
r0←新タスク名(R(i−1)1121)の後、新た
にRUN処理を起動する(R(i−1)1122)。例
えば、主要タスク起動処理のタスクTCBinのとき
は、新タスク起動(R311)の処理において、中断タ
スク無(R3112)のTCBr0←TCBin(R3
1121)の後、RUN処理起動(R31122)が実
行される。そして、中断タスクがあるものの再開不可の
場合には、再開可能になるまで待機するため、何も処理
をせずに、新タスク起動(R(i−1)11)を終了す
る。なお、上記の子タスクは、通常、親タスクよりも優
先順位を高く設定するため、この新タスク起動(R(i
−1)11)が処理されるときには子タスクは終了して
いて、再開可能となる場合が一般的である。
When there is no task that has been suspended, no suspended task (R (i-1) 112) is processed, and the TCB
After r0 ← new task name (R (i-1) 1121), a new RUN process is started (R (i-1) 1122). For example, in the case of the task TCBin of the main task activation process, in the process of the new task activation (R311), TCBr0 ← TCBin (R3 of no interrupted task (R3112)
After 1121), RUN process activation (R31122) is executed. Then, if there is an interrupted task but it cannot be restarted, the new task activation (R (i-1) 11) is terminated without performing any processing, because it waits until it becomes restartable. Since the child task usually has a higher priority than the parent task, this new task activation (R (i
-1) When (11) is processed, the child task is generally finished and can be restarted.

【0085】次に、図14を参照して、メールボックス
(MBX)処理について説明する。この処理では、MB
Xにタスク有(M1)の場合には、MBX内のタスクT
CBm0を、そのタスクの指定された優先順位に基づい
て、対応する優先順位のRDYjに登録する(M1
1)。また、MBXにメール有(M2)の場合には、中
断依頼メールのとき(M21)は、最新依頼メールとし
て登録し(M211)、現実行タスクTCBr0に送信
(M212)するとともに、(返信メール)+(終了メ
ール)のとき(M22)は、最新依頼メールに対する返
信メールとして登録し(M221)、返信待ちRDYに
送信する(M222)。
Next, the mailbox (MBX) processing will be described with reference to FIG. In this process, MB
When there is a task in M (M1), task T in MBX
CBm0 is registered in RDYj of the corresponding priority based on the designated priority of the task (M1
1). When the MBX has a mail (M2), if the mail is an interruption request mail (M21), it is registered as the latest request mail (M211) and sent to the currently executed task TCBr0 (M212), and (Reply mail). When it is + (end mail) (M22), it is registered as a reply mail to the latest request mail (M221) and sent to the reply waiting RDY (M222).

【0086】次に、イベント発生処理(E)について説
明する。前述の初期設定(In)は、説明の便宜上、別
のものとして説明したが、実際には、このイベント発生
処理(E)の一種である。すなわちイベント処理(E)
は、操作ダイヤル23の操作などの装置外部からのイベ
ントにより起動されるタスクや、内部処理のためにプロ
グラム上発生させるタスクなどを、MBXに登録する処
理(E1)を行う。主要タスク起動処理のタスクTCB
inは、このMBXに登録後、RDYに登録され、新タ
スクとして、以下に説明するRUN処理(CT)で実行
される。
Next, the event generation process (E) will be described. Although the above-mentioned initialization (In) is described as another one for convenience of explanation, it is actually a kind of this event generation processing (E). That is, event processing (E)
Performs a process (E1) of registering a task activated by an event from the outside of the device such as operation of the operation dial 23 or a task generated by a program for internal processing in the MBX. Task TCB for main task activation processing
After being registered in this MBX, it is registered in RDY and is executed as a new task in the RUN process (CT) described below.

【0087】次に、図16を参照して、現タスク実行
(RUN)処理(CT)について説明する。この処理
は、上述してきた他のイベントが発生していないとき
に、現実行タスクTCBr0を継続して処理するもので
あり、この処理中に発生するイベントとしては、新タス
ク起動(CT1)、中断依頼メール有(CT2)および
現実行タスク終了(CT3)があり、これらのイベント
が発生しないときには、現実行タスク処理を継続する
(CT4)。新タスクを起動する(CT1)ときは、現
在実行中のタスクのためのデータの退避などを行い(C
T11)、現実行タスクを中断し(CT12)、再開継
続が予定されている場合(CT13)には、再開情報を
タスク情報として記録して(CT131)、その情報と
ともに、そのタスクを元のRDYに再登録する(CT1
32)。
Next, the current task execution (RUN) process (CT) will be described with reference to FIG. This processing continuously processes the currently executed task TCBr0 when the above-mentioned other events have not occurred, and the events that occur during this processing include new task activation (CT1) and interruption. When there is a request mail (CT2) and the end of the currently executed task (CT3) and these events do not occur, the currently executed task processing is continued (CT4). When activating a new task (CT1), save the data for the currently executing task (C
T11), if the currently executed task is interrupted (CT12) and the resumption is scheduled to continue (CT13), the resumption information is recorded as the task information (CT131), and the task is rewritten with the original RDY. Re-register to (CT1
32).

【0088】中断依頼メール有(CT2)のときは、そ
のときの現実行タスクの状態が中断可能なものか否かを
判別し、中断可能(CT21)のときは、中断可メール
をMBXに送信し(CT211)、中断不可(CT2
2)のときは、中断不可メールを送信する(CT22
1)。なお、RUN処理(CT)中に、前述のRDY処
理(R)、MBX処理(M)、またはイベント発生処理
(E)に切り替わるときにも、一時的にRUN処理が中
断されるため、同様のことが行われるが、他のタスクと
の切替と異なり、リアルタイムモニタの基本的な処理で
あるため、説明は省略する。そして、現実行タスクTC
Br0の処理が終了したとき(CT3)には、終了メー
ルをMBXに送信し(CT31)、次の新タスク起動ま
で待機する(CT32)。
When the interruption request mail is present (CT2), it is determined whether or not the state of the currently executing task at that time is interruption, and when it is interruption (CT21), the interruption enable mail is transmitted to the MBX. (CT211), no interruption (CT2)
In the case of 2), an uninterruptible mail is sent (CT22).
1). It should be noted that, even when the RDY process (R), the MBX process (M), or the event occurrence process (E) is switched to during the RUN process (CT), the RUN process is temporarily interrupted. However, unlike the switching with other tasks, since this is a basic process of the real-time monitor, description thereof will be omitted. And the current execution task TC
When the processing of Br0 ends (CT3), the end mail is transmitted to the MBX (CT31), and the process waits until the next new task is activated (CT32).

【0089】図17は、主要タスク起動処理の一例を示
している。図に示すように、主要タスク起動処理タスク
TCBinが起動すると、まず、ワーク(作業)エリア
確保(S11)のタスクをメールボックスMBXに登録
し、続いて、表示処理(S12)およびユニット(印章
本体)判定エラー処理(S13)のタスクを登録し、次
に、入力エラー判定処理(S14)、キャラクタ等入力
処理(S15)、製版(印章)画像作成処理(S1
6)、シート処理(S17)、およびブザー処理(S1
8)などのタスクを登録し、その後、印刷処理(S1
9)のタスクを登録した後、露光処理(S16)のタス
クを登録する。これらの子タスクは、MBX処理によっ
て、それぞれの優先順位RDYjに分類登録され、RD
Y処理によって次々に起動される。また、これらの子タ
スクが起動されると、必要に応じてさらに孫タスクがメ
ールボックスMBXに登録され、それぞれRDY処理に
より起動される。
FIG. 17 shows an example of the main task activation processing. As shown in the figure, when the main task activation processing task TCBin is activated, first, the task of securing a work area (S11) is registered in the mailbox MBX, and subsequently, the display processing (S12) and the unit (main body of the stamp). ) The task of the judgment error processing (S13) is registered, and then the input error judgment processing (S14), the character input processing (S15), the plate making (stamp) image creation processing (S1).
6), sheet processing (S17), and buzzer processing (S1)
8) and other tasks are registered, and then the printing process (S1
After the task of 9) is registered, the task of the exposure process (S16) is registered. These child tasks are classified and registered in the respective priorities RDYj by the MBX process, and RD
It is activated one after another by Y processing. When these child tasks are activated, grandchild tasks are further registered in the mailbox MBX as required, and are activated by RDY processing.

【0090】すなわち、初期設定のタスクTCBinを
含めた複数のタスクは、それぞれ、何らかの処理待ち状
態になるまで処理が進められる。印章作成装置1内の内
部処理は、処理待ちの要因となっている他のタスクの処
理が進んで待ち状態が解除されれば、前述したマルチタ
スク処理によって次の処理に進むため、結果的には、使
用者の入力その他の操作待ちとなる。逆に言えば、使用
者の操作が行われた後は、また次の操作待ちになるま
で、エラー処理を含めた各タスクの処理が次々と行われ
る。
That is, a plurality of tasks including the initial setting task TCBin are each processed until some processing wait state is entered. The internal processing in the seal stamp creating apparatus 1 proceeds to the next processing by the above-mentioned multitask processing when the processing of other tasks that are waiting factors for processing progresses and the waiting state is released, and as a result, Waits for user input and other operations. Conversely speaking, after the user's operation is performed, the processing of each task including error processing is performed one after another until the next operation is waited.

【0091】したがって、この結果、操作時の実感とし
て、種々の処理が並列かつ同時に行われる。すなわち、
この印章作成装置1の処理では、使用者の操作を一つ一
つ待ってから次の処理に移るのに比べて、後に必要にな
る種々の処理を先行して行なうことができ、これによ
り、人間の待ち時間を極力削減することができ、高速化
を図ることができる。なお、上記のマルチタスク処理の
ような並列処理は、プログラムまたは上記のようなタス
ク処理を全て割込処理とし、発生した割込の優先順位を
制御する割込制御回路を採用することによって実現する
こともできる。
Therefore, as a result, various operations are performed in parallel and at the same time as a real feeling during operation. That is,
In the process of this seal making device 1, various processes required later can be performed in advance, as compared with the case of waiting for the user's operation one by one and then proceeding to the next process. Human waiting time can be reduced as much as possible, and high speed operation can be achieved. It should be noted that parallel processing such as the above-mentioned multitask processing is realized by using all the programs or the above-mentioned task processing as interrupt processing and adopting an interrupt control circuit for controlling the priority of the generated interrupt. You can also

【0092】図17における点線の表示は、外見上同時
に並行処理されているタスク処理のイメージを示したも
のである。また、キャラクタ等入力処理(S15)、入
力エラー判定処理(S14)および製版画像作成処理
(S16)は、同時に処理される。具体的には、最初の
キャラクタ等(文字・記号・図形など)の入力を行って
から、次のキャラクタ等の入力を行うまで(S15)の
間に、テキスト内に入力された文字数等に不具合がない
か判断し(S14)、製版用の画像を作成する(S1
6)。これらの処理途中でキャラクタの入力が行われる
と(S15)、入力エラー判定処理(S14)および製
版画像作成処理(S16)は直ちに中止され、改めて最
初から各処理を再開する。そして、これらの期間中に
も、表示処理(S12)やブザー処理(S18)、およ
び製版シートBの挿入時にはシート処理(S17)が並
行して実行されている。
The display of the dotted line in FIG. 17 shows an image of the task processings which are apparently simultaneously processed in parallel. In addition, the character input processing (S15), the input error determination processing (S14), and the plate-making image creation processing (S16) are simultaneously processed. Specifically, there is a problem in the number of characters input in the text between the input of the first character (characters, symbols, figures, etc.) and the input of the next character (S15). It is determined whether there is any (S14), and an image for plate making is created (S1
6). When a character is input in the middle of these processes (S15), the input error determination process (S14) and the plate-making image creating process (S16) are immediately stopped, and each process is restarted from the beginning. Also during these periods, the display process (S12), the buzzer process (S18), and the sheet process (S17) are performed in parallel when the plate-making sheet B is inserted.

【0093】この印章作成装置1の場合、本発明は、制
御部300、操作部21および印章検出部66により実
施されており、その特徴は、主に、上述した図17の各
処理のうちの製版画像作成処理(S16)にあるので、
以下では、その製版画像作成処理(S16)について、
図18〜図42を参照して詳述する。なお、本発明の文
字割付方法およびその装置は、主に、後述の文字割付処
理(S60)に適用されている。
In the case of the seal stamp creating apparatus 1, the present invention is implemented by the control unit 300, the operation unit 21, and the seal stamp detecting unit 66, and the feature thereof is mainly in each of the processes in FIG. 17 described above. Since it is in the plate-making image creation process (S16),
In the following, regarding the plate-making image creation process (S16),
This will be described in detail with reference to FIGS. The character allocation method and apparatus of the present invention are mainly applied to the character allocation process (S60) described later.

【0094】上述のように、製版画像作成処理(S1
6)は、キャラクタ等入力処理(S15)で新たなキャ
ラクタ等が入力される度に、再開する処理である。ま
た、図18の最初の2つの処理、印章種類判別(S3
0)と印章画像データドット数決定(S31)は、本処
理開始前にすでにユニット判定処理(S13)で実行さ
れ、また、その次のスタイルフォーム指定取得(S3
2)は、キャラクター等入力処理(S15)で実行され
ていて、ここでは、それらで得られた情報を参照するの
みであるが、説明上、処理フローの中に含めている。
As described above, the plate-making image creation process (S1
6) is a process for restarting each time a new character or the like is input in the character etc. input process (S15). In addition, the first two processes of FIG. 18, the stamp type determination (S3
0) and stamp image data dot number determination (S31) have already been executed in the unit determination processing (S13) before the start of this processing, and the next style form designation acquisition (S3).
2) is executed in the character etc. input process (S15), and here, only the information obtained by them is referred to, but for the sake of explanation, it is included in the process flow.

【0095】図18に示すように、製版画像作成処理
(S16)が開始すると、まず、印章検出部66によ
り、印章本体Aがセット(装着)されているか否かと、
セットされている場合にはその種別を判別し(S3
0)、印章画像データのドット数決定を行った(S3
1)後、スタイルフォーム指定取得を行う(S31)。
このスタイルフォーム指定取得(S31)では、文字サ
イズ、フォーム、縦書・横書、割付、または外枠等の、
使用者の指定内容をRAM303からリードする。
As shown in FIG. 18, when the plate-making image creating process (S16) is started, first, the seal detecting unit 66 determines whether or not the seal main body A is set (mounted).
If it is set, its type is determined (S3
0), the number of dots of the stamp image data is determined (S3
After 1), the style form designation is acquired (S31).
In this style form designation acquisition (S31), such as character size, form, vertical / horizontal writing, layout, or outer frame,
The contents specified by the user are read from the RAM 303.

【0096】この印章作成装置1で作成する印章のフォ
ームとしては、多数の形状のものがROM302に用意
されている。例えば、氏名印、ビジネス印大、ビジネス
印小、角形印、住所印(図21〜図23および図31〜
図33参照)などがあり、これらもまたさらに縦書・横
書あるいはイラストが入れられるようになっているもの
など多数に分かれている。
As the stamp form created by the stamp creating apparatus 1, a lot of shapes are prepared in the ROM 302. For example, a name stamp, a large business stamp, a small business stamp, a square stamp, and an address stamp (see FIGS. 21 to 23 and 31 to 31).
(See FIG. 33), etc., and these are also divided into a large number such as vertical writing, horizontal writing, or illustrations.

【0097】キャラクタ等入力処理(S15)におい
て、プッシュボタン群22の所定のボタン22aを押す
と、上記のスタイルフォーム指定の選択枝が表示器24
に表示され、カーソル/変換キー32により表示を切り
替えることにより、各選択枝を選択できる。上記のフォ
ーム指定では、表示器24に「フォーム」が表示された
時点で、操作ダイヤル23の実行キー31を押すと、表
示器24に「氏名印」、「ビジネス印」、…、「フォー
ム指定なし」、「指定終了」などの選択枝のいずれかが
表示されるので、カーソル/変換キー32で選択して実
行キー31を押すと、さらにその選択枝のうちの選択内
容、例えば、文字サイズ、縦書・横書、各入力項目毎の
割付方法などが表示される。
In the character input process (S15), when a predetermined button 22a of the push button group 22 is pressed, the above-mentioned style form designation selection branch is displayed on the display unit 24.
Each of the selection branches can be selected by switching the display with the cursor / conversion key 32. In the above-mentioned form designation, when the "form" is displayed on the display unit 24, when the execution key 31 of the operation dial 23 is pressed, "name stamp", "business seal", ... Since one of the selection branches such as "None" and "End designation" is displayed, select the cursor / conversion key 32 and press the execute key 31. , Vertical writing / horizontal writing, allocation method for each input item, etc. are displayed.

【0098】そして、それらの選択枝のうち、選択した
い内容を操作ダイヤル23によって表示させてから、実
行キー31を押すと、さらにその選択枝の選択内容が表
示される。そして、同様に、最終階層まで選択を行うこ
とによって、各指定が設定される。各階層から上位の階
層に戻りたいときには、各階層において「指定終了」の
選択枝を選択して実行キー31を押せば良い。なお、プ
ッシュボタン群22に復帰用の所定の機能キーを設けて
おいても良い。
Then, of the selection branches, when the contents to be selected are displayed by the operation dial 23 and the execute key 31 is pressed, the selection contents of the selection branch are further displayed. Then, similarly, each designation is set by selecting up to the final layer. When it is desired to return from each layer to a higher layer, the "designated end" option is selected in each layer and the execution key 31 is pressed. The push button group 22 may be provided with a predetermined function key for returning.

【0099】フォーム指定が設定されると、図21およ
び図22に示すように、そのフォーム指定に対応する入
力案内がROM302から読み出され、表示器24に表
示される。すなわち、同図の入力項目、例えば、図21
(a)の場合の”姓[”や”名[”、図22(b)の場
合の”絵文字[”、”1行目[”、”2行目[”等の”
[”の入力案内の後ろにテキストデータの入力ができ、
これにより、操作手順書等を参照しなくても容易に入力
を行うことができる。
When the form designation is set, the input guide corresponding to the form designation is read from the ROM 302 and displayed on the display 24, as shown in FIGS. That is, the input items shown in FIG.
"Last name [" and "First name [" in the case of (a), "Pictogram [", "First line [", "Second line [", etc.] in FIG. 22B)
You can enter text data after the [] input guide,
As a result, it is possible to easily perform input without referring to the operation procedure manual or the like.

【0100】この場合、表示器24に最初の項目の入力
案内が表示されたときに、文字入力キー33やカーソル
/変換キー32により所望の印章文字を入力し、表示器
24上に作成したところで確定することにより、最初の
項目に対するテキストデータを入力でき、最初の項目の
入力が終了すると、次の項目の入力案内が表示されるの
で、以下、同様に、必要とされる項目への入力ができ
る。そして、これらの入力されたテキストデータは、R
AM303に記憶されて、後述の印章画像の基礎画像デ
ータの作成に用いられる。
In this case, when the guide for inputting the first item is displayed on the display unit 24, a desired stamp character is input by the character input key 33 or the cursor / conversion key 32 and is created on the display unit 24. By confirming, you can enter the text data for the first item, and when the input of the first item is completed, the input guidance for the next item will be displayed. it can. Then, the input text data is R
It is stored in the AM 303 and is used for creating basic image data of a stamp image, which will be described later.

【0101】なお、上記の入力案内の”[”の後ろに、
例えば、前回入力したテキストデータ、または、デフォ
ルトで一般的に使用される画像等を伴った入力案内を表
示することにより、入力作業を容易化したフォームもあ
る。例えば、図22(d)の場合、入力案内の”[”の
後ろに「たいへんよくできました」と表示されるので、
そのまま使用するときには、そのまま確定すれば良い
し、一部修正して使用することもできる。すなわち、こ
の場合、入力操作が非常に容易になるとともに、作業時
間の短縮を図ることができる。
Incidentally, after the "[" in the above input guidance,
For example, there is a form in which the input work is facilitated by displaying the input data accompanied by the previously input text data or an image generally used by default. For example, in the case of FIG. 22 (d), "very well done" is displayed after "[" in the input guide.
When it is used as it is, it can be fixed as it is, or it can be partially modified before use. That is, in this case, the input operation becomes very easy and the working time can be shortened.

【0102】また、「フォーム指定なし」を選択したと
き、または「フォーム」を選択しなかったときには、
「フォーム」と同じ階層で、自由なフォームにおける文
字サイズ、縦書・横書、割付、または外枠等の他の指定
を選択できる。文字サイズは、印章本体Aの種別や上記
フォームの種類によって、入力する行数に応じて各行毎
に、表示器24に表示された所定の範囲内(例えば、
「フォーム」の場合の図31(c)参照)の中から上記
のフォーム指定と同様に選択したり、ドット数を直接入
力することにより、指定できる。縦書・横書も、フォー
ム指定と同様の方法で選択して指定できる。割付も、同
様の方法で、表示器24に「前寄せ」、「中寄せ」、
「後寄せ」および「割付」のいずれかを表示させて、指
定できる(図24〜図31参照)。外枠も同様に、印章
本体Aの種別や上記フォームの種類に応じた範囲の中か
ら指定できる(図32〜図33参照)。
When "no form designation" is selected or when "form" is not selected,
In the same hierarchy as "Form", you can select other specifications such as character size, vertical / horizontal writing, layout, or outer frame in a free form. The character size is within a predetermined range displayed on the display unit 24 for each line according to the number of lines to be input depending on the type of the stamp body A or the type of the form (for example,
This can be designated by selecting from the same as the above-mentioned form designation or directly inputting the number of dots from among the "form" (see FIG. 31C). Vertical writing / horizontal writing can be selected and specified in the same manner as the form specification. Allocation is performed in the same manner on the display unit 24 as "forward", "center",
Either “late” or “allocation” can be displayed and designated (see FIGS. 24 to 31). Similarly, the outer frame can be designated from the range according to the type of the seal body A or the type of the form (see FIGS. 32 to 33).

【0103】フォーム指定なしのときも、上記のような
各指定の設定が終了すると、表示器24に入力案内が表
示されるので、文字入力キー33やカーソル/変換キー
32により所望の印章文字を入力し、表示器24上に作
成したところで確定することにより、印章画像の元にな
る文字、数字、イラストなどの図形のテキストデータの
入力を行うことができる。
Even when no form is designated, the input guide is displayed on the display 24 when the setting of each designation as described above is completed. Therefore, a desired seal character can be displayed by the character input key 33 or the cursor / conversion key 32. By inputting and confirming when created on the display unit 24, it is possible to input text data of figures such as characters, numbers and illustrations which are the basis of the stamp image.

【0104】スタイルフォーム指定取得(S31)が終
了すると、図18に示すように、印章画像の基礎画像デ
ータを作成する基礎画像配置処理を行い(S50)、次
に、印章画像の文字を印章の製版画像のエリアに適切に
割り付ける文字割付処理(S60)を行い、最後に、印
章の外枠や装飾用のデータを重ね合わせて、目的の印章
画像データを作成する装飾画像配置処理(S70)を行
って、製版画像作成処理を終了する(S90)。そし
て、ここで作成された印章画像データに基づいて、図1
7の次の処理、すなわち印刷処理(S19)および露光
処理(S20)が行われることにより、所望の印章が作
成される。以下、製版画像作成処理(S20)の基礎画
像配置処理(S50)、文字割付処理(S60)および
装飾画像配置処理(S70)について、順を追って、詳
述する。
When the style form designation acquisition (S31) is completed, as shown in FIG. 18, basic image arrangement processing for creating basic image data of the seal image is performed (S50), and then the characters of the seal image are converted into the stamp image. The character allocation process (S60) is performed to appropriately allocate the area of the plate-making image, and finally, the decoration image layout process (S70) is performed to superimpose the outer frame of the seal and the decorative data to create the desired seal image data. Then, the plate-making image creation process is completed (S90). Then, based on the seal image data created here, FIG.
A desired seal is created by performing the processing subsequent to step 7, that is, the printing processing (S19) and the exposure processing (S20). Hereinafter, the basic image layout process (S50), the character layout process (S60), and the decorative image layout process (S70) of the plate-making image creation process (S20) will be described in order.

【0105】基礎画像配置処理(S50)が開始する
と、図19に示すように、まず、フォーム指定か否かを
判別し(S501)、フォーム指定のとき(S501:
Yes)には、次に、フォーム指定用項目エリア決定処
理を行う(S502)。
When the basic image layout process (S50) is started, as shown in FIG. 19, first, it is judged whether or not a form is designated (S501), and when a form is designated (S501:
If Yes, then form designation item area determination processing is performed (S502).

【0106】このフォーム指定用項目エリア決定処理
(S502)では、図20に示すように、まず、入力項
目チェックを行う(S520)。例えば、図23に示す
住所印のように、住所、氏名、電話番号など複数の項目
について文字等を入力する場合に、入力されない項目を
そのまま空白にして、それをそのまま印章画像にしたの
では、画像の構成要素の配置バランスが悪化すると共
に、押印される面積の印章全体の面積に対する率、すな
わち黒率の少ないアンバランスな画像となってしまう。
In this form designation item area determination processing (S502), as shown in FIG. 20, first, an input item check is performed (S520). For example, when inputting characters or the like for a plurality of items such as an address, a name, and a telephone number like the address mark shown in FIG. 23, it is possible to leave the items that are not input blank as they are and use them directly as the seal image. The arrangement balance of the image components is deteriorated, and the ratio of the area to be imprinted to the area of the entire stamp, that is, an unbalanced image with a small black ratio is obtained.

【0107】そこで、図20の入力項目チェック(S5
20)では、前述の図17のキャラクタ等入力処理(S
15)で、入力されなかった項目がある場合、すなわち
実際には、その項目の入力案内に対して文字等の入力を
しないで実行キー31により確定させた場合(以下、
「空入力」という。)に、どの項目が空入力であったか
をチェックする。例えば、図23の場合、同図(a)に
示す5つの項目、すなわち郵便番号、住所1、住所2、
氏名および電話番号の項目の、全てを入力された同図
(b)に対して、同図(c)は、住所2の項目が空入力
であり、同図(d)は、電話番号の項目が空入力の場合
に該当する。なお、図23の各項目間の罫線や外枠は、
実際には、後述の装飾画像配置処理(S70)で作成さ
れてから、印章画像として重ね合わせられるが、図を見
やすくし、かつ、理解を容易にするために、図示してい
る。
Therefore, the input item check of FIG. 20 (S5
20), the above-described character input processing (S in FIG. 17) (S
In 15), when there is an item that has not been input, that is, when the input key of the item is confirmed by the execution key 31 without inputting characters or the like (hereinafter,
It is called "empty input". ), Check which item was empty. For example, in the case of FIG. 23, the five items shown in FIG.
In the same figure (b) in which all of the items of name and telephone number are input, in the same figure (c), the item of address 2 is blank input, and in the same figure (d), the item of telephone number is input. This is applicable when is an empty input. Note that the ruled lines and outer frames between the items in FIG.
Actually, it is created in a decoration image arranging process (S70) which will be described later, and then superimposed as a stamp image.

【0108】そして、空入力があった場合にも、図23
に示すように、各項目の画像をバランス良く配置するた
め、次に、図20に示すように、そのフォームの種類や
空入力に応じて(S521)、ROM302内に記憶さ
れているフォーム指定用の各テーブルを参照し(S52
2〜S526)、各項目の配置エリアの寸法や位置の規
定データを入手し、フォーム指定用項目エリア決定処理
を終了する(S530)。上記の各テーブルには、全項
目を入力した場合の各項目のエリアの寸法や位置ばかり
でなく、各入力項目が空入力の場合の寸法や位置が、そ
れぞれの項目に対応して規定されていて、空入力があっ
た場合には、他の項目のエリアを拡大した寸法や位置の
規定データが読み出される。
Then, even when there is a null input, FIG.
In order to arrange the images of the items in a well-balanced manner, as shown in FIG. 20, next, as shown in FIG. Of each table (S52
2 to S526), the prescribed data of the size and position of the arrangement area of each item is obtained, and the form designation item area determination processing is ended (S530). In each of the above tables, not only the size and position of the area of each item when all items are input, but also the size and position when each input item is blank input are specified corresponding to each item. Then, when there is a blank input, the prescribed data of the size and position in which the area of the other item is enlarged is read.

【0109】フォーム指定用項目エリア決定処理(S5
02)が終了すると、図19に示すように、次に、決定
された項目エリアの寸法や位置に従って、各項目の配置
エリアを確保し(S504、図31参照)、その配置エ
リア内に、入力された文字等のテキストデータに対応す
るフォントデータを、1つずつROM302から読み出
して(S505)、配置する(S506)。これを各項
目の終了まで、繰り返し(S507)、さらにそれを入
力されている全項目分繰り返す(S508)ことによ
り、基礎画像データを作成してRAM302に記憶し、
基礎画像配置処理(S50)を終了する(S509)。
Form designation item area determination processing (S5
When step 02) is completed, next, as shown in FIG. 19, an arrangement area for each item is secured in accordance with the determined size and position of the item area (S504, see FIG. 31), and an input is made in the arrangement area. The font data corresponding to the text data such as the generated characters is read one by one from the ROM 302 (S505) and arranged (S506). This is repeated until the end of each item (S507), and by repeating it for all the items that have been input (S508), basic image data is created and stored in the RAM 302.
The basic image arrangement processing (S50) is ended (S509).

【0110】一方、前述のフォーム指定判別(S50
1)において、フォーム指定ではないことを判別したと
き(S501:No)には、フリーフォーム用項目エリ
ア決定処理を行う(S503)。この処理では、入力さ
れたテキストデータの行数を項目数とみなして、各行に
対して指定された文字サイズに従って、項目エリアの寸
法や位置を決定する。印章本体Aの種別により、印章画
像データのドット数が決定されているので(図18のS
31)、各行の文字サイズに基づいて、フォーム指定用
項目エリア決定処理(S502)と同様に、テーブルを
参照すれば、容易に決定することができる。なお、この
場合、各行の文字サイズから直接、算出するようにして
も良い。
On the other hand, the above-mentioned form designation discrimination (S50
In 1), when it is determined that the form is not designated (S501: No), free form item area determination processing is performed (S503). In this process, the number of lines of the input text data is regarded as the number of items, and the size or position of the item area is determined according to the character size designated for each line. Since the number of dots of the stamp image data is determined by the type of the stamp main body A (see S in FIG. 18).
31), based on the character size of each line, similar to the form designation item area determination processing (S502), the table can be referred to for easy determination. In this case, it may be calculated directly from the character size of each line.

【0111】上述の基礎画像配置処理(S50)によれ
ば、それぞれの項目毎に該当する構成要素の入力を行っ
ていき、不要の項目の入力を行わずにいると、自動的に
その項目は削除されて他の項目のエリアが拡大される。
そして、他の項目のエリア内に入力した構成要素、すな
わち住所、氏名、電話番号などの文字やイラストなどの
図形が、例えば図23の(c)や(d)のように拡大さ
れて、黒率の多い画像となり、規定されたエリアの画像
としてバランスの取れたものになる。
According to the basic image layout process (S50) described above, if the corresponding constituent elements are input for each item and unnecessary items are not input, the item is automatically set. The area of other items is deleted and enlarged.
Then, components input in the area of other items, that is, characters such as addresses, names, telephone numbers, and figures such as illustrations are enlarged, for example, as shown in (c) and (d) of FIG. The image will have a high rate and will be well-balanced as the image of the defined area.

【0112】また、空入力の項目のエリアが削除された
場合の、他の項目のエリアの寸法や位置を規定したテー
ブルを記憶しているので、それらを読み出すだけで、削
除されなかった各項目のエリアを容易に決定することが
でき、入力した文字や図形等は、この寸法に応じて、丁
度よい大きさのものに変換される。
Further, since the table defining the dimensions and positions of the areas of other items when the area of the blank input item is deleted is stored, each of the items that are not deleted can only be read out. The area can be easily determined, and the input characters, figures, etc. are converted into an appropriate size according to this size.

【0113】なお、前述のフォーム指定の各フォームの
下位の階層の選択枝には、「空入力維持」の選択枝が有
り、これを選択して指定しておくと、上記の空入力の項
目の削除を行わずに、空入力の項目のエリアをそのまま
維持する。そして、次回にそのときのフォームを指定す
ると、他の項目には前回入力済みの内容が記憶されたま
まとなっているので、以前空入力にしてあった項目のみ
入力して、入力を終了できる。すなわち、後から書き込
み等を行える部分としたい場合の処置として、空入力の
項目の削除を作動しないようにすることができる。ま
た、文字を拡大しないで、位置関係だけを変更すること
も可能である。
There is a selection branch of "maintain empty input" in the selection branch of the lower hierarchy of each of the above-mentioned form designations. If this is selected and designated, the above blank input items The area of the blank input item is maintained as it is without deleting. Then, if you specify the form at that time next time, the previously entered contents will remain stored in other items, so you can enter only the items that were left blank and finish the input. . In other words, as a measure when it is desired to make a portion in which writing or the like can be performed later, it is possible to prevent the deletion of the blank input item from operating. It is also possible to change only the positional relationship without enlarging the characters.

【0114】基礎画像配置処理(S50)が終了する
と、図18に示すように、次に、文字割付処理を行う
(S60)。文字割付処理(S60)が開始すると、図
24に示すように、まず、RAM302から基礎画像デ
ータを読み出す(S601)。
When the basic image arranging process (S50) is completed, next, as shown in FIG. 18, a character allocating process is performed (S60). When the character allocation process (S60) is started, as shown in FIG. 24, first, basic image data is read from the RAM 302 (S601).

【0115】例えば、図28に示すように、入力された
文字等のキャラクタ、すなわち画像の元となるデータ
が、1行目に「文字幅通常」、そして2行目に「普通処
理」の場合、テキストデータは、同図(a)のように、
単に2行並べた状態になっている。印章画像データ中の
製版画像用のエリアは、基礎画像配置処理(S50)に
おいて、セットされた印章本体Aの種別、フォーム指定
の有無および印章外枠の有無等によって決定される(図
31(a)および(c)参照)。
For example, as shown in FIG. 28, when a character such as an input character, that is, data which is a source of an image is "character width normal" on the first line and "normal processing" on the second line. , The text data is as shown in FIG.
It's just a line of two lines. The area for the plate-making image in the stamp image data is determined by the type of the stamp main body A set in the basic image arranging process (S50), the presence / absence of form designation, the presence / absence of a stamp outer frame, and the like (FIG. 31 (a)). ) And (c)).

【0116】フォーム指定なしの場合、製版可能エリア
の幅をAとすると、図28(b)のような方形の輪郭で
表現できる。印章として外枠を有する場合には、この
(b)の製版画像用のエリアの周囲に、後述の装飾画像
配置処理(S70)により同図(c)に示すような印章
外枠データが配置される。この場合、印章画像データ全
体は、同図(d)のように、印章外枠データを囲む大き
さを有している。
In the case where no form is designated, if the width of the plate-making possible area is A, it can be expressed by a rectangular contour as shown in FIG. 28 (b). When the stamp has an outer frame, the outer frame data of the stamp as shown in FIG. 7C is arranged around the area for plate-making image of FIG. 9B by the decoration image arrangement process (S70) described later. It In this case, the entire stamp image data has a size surrounding the stamp outer frame data as shown in FIG.

【0117】外枠がない場合、または外枠があっても文
字を大きくして外枠からはみ出た部分を削除して良い場
合には、この印章画像データのエリア全体を製版画像用
のエリアとしても良いが、以下の説明では、図を見やす
く、かつ、理解を容易にするため、図28(b)の製版
画像エリアに配置するものとし、外枠を付ける場合につ
いて説明する。また、図中にも外枠を付けた状態で示
す。また、前述の基礎画像配置処理(S50)では、デ
フォルト指定で、後述の割付、中よせ、後よせ等の配置
を行うこともできるが、ここでは、単に入力したテキス
トデータ通りに、全ての行について前よせの状態に配置
された、同図(e)の基礎画像データが読み出された
(リードされた)ものとして説明する。
If there is no outer frame, or if there is an outer frame and the characters can be enlarged and the part outside the outer frame can be deleted, the entire area of this stamp image data is designated as the area for the plate-making image. However, in the following description, in order to make the diagram easy to see and to facilitate understanding, it is assumed that they are arranged in the plate-making image area of FIG. 28B, and a case where an outer frame is attached will be described. In addition, it is also shown in the figure with an outer frame. Further, in the basic image layout processing (S50) described above, it is possible to perform layouts such as allocation, center alignment, and post-alignment, which are described later, by default specification. However, here, all lines are exactly as input text data. Will be described as the case where the basic image data of FIG. 6E, which is arranged in the forward direction, has been read (read).

【0118】なお、フォーム指定の場合には、各項目毎
に配置エリアが確保されているので、以下に説明する文
字割付の各処理は、その項目毎に行われる。ただし、例
えば、前述の図23の住所1と住所2のように、同じ項
目の多数行として扱うことにより、同図に示すように、
「スカイハイツ…」を後よせとしたり、または前よせや
中よせなどとしても良い。
In the case of the form designation, since the arrangement area is secured for each item, each character allocation process described below is performed for each item. However, as shown in FIG. 23, for example, by treating the address 1 and the address 2 in FIG. 23 as multiple lines of the same item, as shown in FIG.
"Sky Heights ..." can be used as a posterior, or a posterior or a posterior.

【0119】図24に示すように、基礎画像データリー
ド(S601)が終了すると、次に最長行判別・割付処
理(S602)を行う。
As shown in FIG. 24, when the basic image data read (S601) is completed, the longest line discrimination / allocation process (S602) is next performed.

【0120】ここで、まず、テキストデータが1行の場
合、すなわち最長行のみの場合の割付方法について、図
25を参照して説明する。フォーム指定の場合の各項目
のテキストデータも、上述の多数行扱いをしない通常の
場合には、この1行の場合に該当する。
First, an allocation method when the text data is one line, that is, when the text data is only the longest line will be described with reference to FIG. The text data of each item in the case of specifying a form also corresponds to the case of this one line in the usual case where the above-mentioned multi-line handling is not performed.

【0121】例えば、2文字の割付を行う場合、同図
(a)に示すように、従来の割付方法では、文字間余白
Bが広くなりすぎて重厚さに欠け、空白部分が目立つ貧
相な印章文字となってしまう。これに対して、この文字
割付処理(S60)では、文字間余白Bに対して、端部
余白DをB>D>0(図示の場合、D=B/2)となる
ように割り付けるため、同図(b)に示すように、中央
の文字間余白Bだけが広くなりすぎることなく、バラン
スの良い文字の配置となる。
For example, in the case of allocating two characters, as shown in FIG. 9A, the conventional allocation method causes the character-to-character margin B to be too wide and lacking in weight, resulting in a poor seal with a conspicuous blank portion. It becomes a character. On the other hand, in the character allocating process (S60), the end margin D is allocated to the inter-character space B so that B>D> 0 (D = B / 2 in the case shown). As shown in FIG. 7B, only the central inter-character space B is not too wide, and the characters are well-balanced.

【0122】端部余白Dの文字間余白Bに対する比率D
/Bは、上記の図25の場合にはD/B=1/2とした
が、印章作成装置1では、これに限らず、図17のキャ
ラクタ等入力処理(S15)において、所定のボタン2
2aにより、所定の9/10、…、5/6、4/5、3
/4、2/3、1/2、7/10、…、2/5等の比率
D/Bを選択できるようになっている。
Ratio D of end margin D to inter-character margin B
Although / B is set to D / B = 1/2 in the case of FIG. 25 described above, the stamp creation device 1 is not limited to this, and the predetermined button 2 in the character input process (S15) of FIG.
By 2a, predetermined 9/10, ..., 5/6, 4/5, 3
The ratio D / B such as / 4, 2/3, 1/2, 7/10, ..., 2/5 can be selected.

【0123】具体的に説明すると、この見栄えの良い比
率D/Bは、例えば、図26に示すように製版可能エリ
アの空白部分に対する文字部分の面積比によって異な
る。すなわち、同図(a)のように文字高さFや文字幅
Cが大きく、空白部分に対する文字部分の面積比が大き
な文字列「中字」と同じ比率D/B=1/2になるよう
に、面積比の小さな文字列「極小」を配置すると、同図
(b)のように、さらに空白部分が目立って、中央部が
閑散としてしまう。これに対し、印章作成装置1では、
上述のように、比率D/Bを自由に設定できるので、例
えば、比率D/B=5/6と設定することにより、同図
(c)のように、面積比が小さくてもバランスの良い配
置となる。
More specifically, this good-looking ratio D / B varies depending on the area ratio of the character portion to the blank portion of the plate-making possible area, as shown in FIG. That is, as shown in FIG. 10A, the character height F and the character width C are large, and the area ratio of the character portion to the blank portion is the same as that of the character string “medium character”, so that D / B = 1/2. When the character string "minimum" having a small area ratio is arranged, as shown in FIG. 6B, a blank portion is more conspicuous, and the central portion becomes quiet. On the other hand, in the seal making device 1,
As described above, the ratio D / B can be freely set. For example, by setting the ratio D / B = 5/6, a good balance can be obtained even if the area ratio is small as shown in FIG. It will be arranged.

【0124】上述のことは、多数行の場合にも同様であ
り、例えば、図27に示すように、3行の文字列を配置
する場合、文字高さFが小さくなるので、その文字高さ
Fとバランスの良い文字幅Cに設定すれば、特に1行の
文字数が少ないときには、空白部分に対する文字部分の
面積比が小さくなる。このような場合、従来の割付方法
では、同図(a)のように、中央部が閑散としてしまう
のに対して、この文字割付処理(S60)では、端部余
白Dを適切に設定することにより、同図(b)のよう
に、面積比に応じて、端部余白Dを適切な寸法に調整で
き、これにより、中央の文字間余白だけが広くなりすぎ
ず、かつ、閑散とした感じを与えることのない、バラン
スの良い文字の配置とすることができる。
The above is the same in the case of a large number of lines. For example, as shown in FIG. 27, when arranging a character string of three lines, the character height F becomes small, so that the character height F becomes small. If the character width C is set to be well balanced with F, the area ratio of the character portion to the blank portion becomes small, especially when the number of characters in one line is small. In such a case, in the conventional layout method, the central portion becomes dull as shown in FIG. 4A, whereas in the character layout processing (S60), the end margin D should be set appropriately. As a result, as shown in FIG. 7B, the end margin D can be adjusted to an appropriate dimension according to the area ratio, so that only the central inter-character margin is not too wide, and it feels dull. It is possible to make a well-balanced arrangement of characters without giving.

【0125】なお、上述の設定方法の他、例えば、文字
間余白Bおよび端部余白Dをドット数で直接入力した
り、1未満の任意の比率D/Bを数値で入力することに
より、B>D>0の範囲で見栄えがよいと思われる比率
D/Bを、自由に設定できるようにしても良い。また、
実績データに基づく参照テーブルを用意して記憶してお
き、印章本体Aの種別、文字サイズ、文字数等によりそ
のテーブルを参照して、自動的に見栄えの良い比率に設
定するようにしても良い。
In addition to the above setting method, for example, by directly inputting the intercharacter space B and the end margin D by the number of dots, or by inputting an arbitrary ratio D / B less than 1 by a numerical value, B The ratio D / B which seems to be good in the range of>D> 0 may be freely set. Also,
A reference table based on the result data may be prepared and stored, and the table may be referred to according to the type of the stamp main body A, the character size, the number of characters, etc., and automatically set to a good-looking ratio.

【0126】上述した比率D/Bの設定は、以下の説明
に用いる種々の文字列に対しても同様にできるが、以下
に説明する各割付方法の個々の特徴点を明確にし、か
つ、その理解を助けるため、以下では、比率D/B=1
/2、すなわち図25に示したと同様に、D=B/2に
設定されているものとして説明する。
The above-mentioned setting of the ratio D / B can be similarly applied to various character strings used in the following description. However, each characteristic point of each allocation method described below is clarified and In order to help understanding, the ratio D / B = 1 in the following.
/ 2, that is, as in FIG. 25, description will be made assuming that D = B / 2 is set.

【0127】具体的に、前述の図28(e)の1行目の
「文字幅通常」の5文字を、上述の割付方法で割り付け
ると、図25(c)に示すように、例えば、製版可能エ
リアの幅A=40の場合、文字の幅C=6としたとき、
文字間余白B=2に対して、端部余白D=B/2=1と
なる。本割付方法を適用する場合の実質割付エリアEの
寸法と、印章本体Aの種別との関係は、図31(b)と
(c)に示すように、画像データをドットマトリクスで
表現した場合のドット数を基準としている。
Specifically, when the five characters of "character width normal" in the first line of FIG. 28 (e) are assigned by the above-mentioned assignment method, as shown in FIG. 25 (c), for example, When the width A of the possible area is A = 40 and the width C of the character is C = 6,
The inter-character margin B = 2, whereas the end margin D = B / 2 = 1. The relationship between the size of the actual allocation area E and the type of the stamp main body A when this allocation method is applied is as shown in FIGS. 31B and 31C when the image data is represented by a dot matrix. It is based on the number of dots.

【0128】この場合、図25(c)に示すように、例
えば、製版可能エリア幅A=41(ドット)の場合、文
字数F=5に対して、(A−C×F)/F=(41−6
×5)/5=11/5の商2を、文字間余白B=2と
し、余りの1(ドット)は、最前部の文字間余白に割り
付ける。これにより、印章文字の読み方向からの文字間
余白Bが3、2、2および2(ドット)となる。同様
に、製版可能エリア幅A=42のときは、文字間余白B
を3、3、2および2とする。実際には、図31(c)
に示すように、実質割付エリアEは、図25(c)の例
よりも非常に大きい値なので、この1ドットの相違は、
無視できる程度に小さい値である。したがって、この割
付方法によれば、印章文字の割付を簡単にできると共
に、文字間余白寸法の相違を目立たせることなく、各文
字を割り付けることができる。
In this case, as shown in FIG. 25 (c), for example, when the plate-making possible area width A = 41 (dots), the number of characters F = 5 and (A−C × F) / F = ( 41-6
The quotient 2 of (× 5) / 5 = 11/5 is set as the inter-character space B = 2, and the remaining 1 (dot) is allocated to the front inter-character space. As a result, the inter-character margin B from the reading direction of the stamp character becomes 3, 2, 2 and 2 (dot). Similarly, when the plate-making possible width A = 42, the space B between characters B
Be 3, 3, 2 and 2. Actually, FIG. 31 (c)
As shown in FIG. 25, since the actual allocation area E is much larger than that in the example of FIG. 25C, the difference of 1 dot is
It is a small value that can be ignored. Therefore, according to this allocation method, it is possible to easily allocate the seal characters and to allocate each character without making the difference in the margin size between characters noticeable.

【0129】次に、前述の図28(e)のように、複数
行(同図の場合、2行)のテキストデータが入力された
ときの、最長行判別・割付処理(S602)について説
明する。最長行の判別は、各行に対して、上記の1行の
場合の式、すなわち製版可能エリア幅をA、各文字幅を
Cおよび文字数をFとしたときの(A−C×F)/Fの
商Gを求め、この商Gが最小の行を最長行と判別する。
そして、この最長行の商Gを基準文字間余白Bとして、
上述の1行の場合と同様に、図28(f)に示すよう
な、最長行の割付処理を行う。
Next, as shown in FIG. 28E, the longest line discrimination / allocation processing (S602) when a plurality of lines (two lines in the case of the same figure) of text data are input will be described. . For the determination of the longest line, for each line, the formula in the case of the above-described one line, that is, (A−C × F) / F, where A is the plateable area width, C is the character width, and F is the number of characters The quotient G is obtained, and the row with the smallest quotient G is determined to be the longest row.
Then, the quotient G of the longest line is set as the reference character space B,
As in the case of the above-described one line, the longest line allocation process is performed as shown in FIG.

【0130】図28(e)の場合には、印章外枠の形状
が単純で、複数行に対する製版可能エリアの全体が1つ
の方形の輪郭を有しているので、単純に文字数によって
も最長行を判別できる。しかし、印章作成装置1の場
合、図32〜図33に示すように、印章本体Aの種別に
応じて各種の印章外枠が用意されていて、使用する印章
外枠によっては文字列の前後等に装飾があるため、文字
数は少ないが、その文字列の前後等に装飾があって、実
質的な文字の割付エリアが少ない場合がある。また、印
章作成装置1では、通常のワープロ等と同様に、各文字
に網掛け、強調、斜体、中ヌキ、反転などの文字飾りを
施すことができるので、文字数が少なくても、そのよう
な装飾があるために、実質的な余白が少ない場合があ
る。
In the case of FIG. 28 (e), since the shape of the stamp outer frame is simple and the whole plate-making area for a plurality of lines has one rectangular outline, the longest line can be simply obtained by the number of characters. Can be determined. However, in the case of the seal creating apparatus 1, various seal outer frames are prepared according to the type of the seal main body A, as shown in FIGS. There is a small number of characters because there is decoration, but there are cases where there is a substantial area for allocating characters because there is decoration before and after the character string. Further, in the seal making device 1, since each character can be subjected to character decoration such as shading, emphasis, italics, middle marks, and inversion, like a normal word processor, even if the number of characters is small, Due to the decoration, the actual margin may be small.

【0131】これらの場合、例えば、図28(e)の2
行目が「普通処理」の4文字であっても、「文字間通
常」の5文字が割り付けられる1行目より、上記の商G
が小さくなる場合がある。すなわち、文字数のみによっ
て最長行を判別し、この最長行の文字間余白を基準文字
間余白Bとして、他の行に適用しようとしてもできない
場合が生じてくる。これに対し、商Gが最小の行を最長
行と判別するようにすれば、単に文字数から判別する場
合と比べ、より適切な最長行を選択することができ、ま
た、その行を余白の割付などの基準とすることによっ
て、後述するように、複数行の印章画像、ひいては複数
行を有する印面に対して、バランスの良い文字の割付が
可能になる。
In these cases, for example, 2 in FIG.
Even if the first line is 4 characters of "normal processing", 5 characters of "normal between characters" are assigned.
May be smaller. That is, there may be a case in which the longest line is determined only by the number of characters, and the inter-character space of the longest line is set as the reference inter-character space B and cannot be applied to other lines. On the other hand, if the line with the smallest quotient G is determined to be the longest line, a more appropriate longest line can be selected as compared with the case where the line is simply determined from the number of characters, and the line is assigned a margin. By using such criteria as described above, it becomes possible to allocate well-balanced characters to a stamp image having a plurality of lines, and thus to a stamp surface having a plurality of lines.

【0132】図24に示すように、最長行判別・割付処
理(S602)が終了すると、次に、前寄せ指定か否か
の判別(S603)を行い、前寄せ指定のとき(S60
3:Yes)には、前寄せ処理(S604)を行う。ま
た、前寄せ指定ではないとき(S603:No)には、
次に、中寄せ指定か否かの判別(S605)を行い、中
寄せ指定のとき(S605:Yes)には、中寄せ処理
(S606)を行う。また、中寄せ指定ではないとき
(S605:No)には、次に、後寄せ指定か否かの判
別(S607)を行い、後寄せ指定のとき(S607:
Yes)には、後寄せ処理(S608)を行う。また、
後寄せ指定ではないとき(S607:No)には、割付
処理(S609)を行って、割付タイプ別処理(S6
0)を終了する(S610)。
As shown in FIG. 24, when the longest line discrimination / allocation process (S602) is completed, it is next discriminated whether or not the advance alignment is designated (S603), and when the advance alignment is designated (S60).
If 3 :, Yes, the advance process (S604) is performed. In addition, when it is not the advance designation (S603: No),
Next, it is determined whether or not the centering is designated (S605), and when the centering is designated (S605: Yes), the centering process (S606) is performed. If the centering is not specified (S605: No), it is next determined whether the latter is specified (S607). If the latter is specified (S607 :).
If the answer is Yes, the post-alignment process (S608) is performed. Also,
When it is not designated as late (S607: No), the allocation process (S609) is performed and the allocation type-specific process (S6) is performed.
0) is ended (S610).

【0133】図28(g)に示すように、図24の前寄
せ処理(S604)では、例えば、図28(f)の2行
目、すなわち最長行でない行の「普通処理」の各文字の
文字間余白を、1行目、すなわち最長行の「文字幅通
常」の5文字の文字間余白である基準文字間余白Bに合
わせた文字列の、最前部の文字「普」が最長行の最前部
の文字「文」と、前端が揃うように割り付ける。このと
きの文字列「普通処理」の文字間余白は、例えば、1行
目の「文字幅通常」の製版可能エリア幅A=40のとき
は、図25(c)で示したように、文字間余白Bを前か
ら2、2および2とし、また、同幅A=41のときは、
前から3、2および2とする。
As shown in FIG. 28 (g), in the advance process (S604) of FIG. 24, for example, the characters of the "normal process" in the second line of FIG. In the character string in which the inter-character space is adjusted to the first line, that is, the standard character space B which is the inter-character space of 5 characters of "character width normal" in the longest line, the character "Pr" at the forefront is the longest line. Allocate the character "sentence" at the forefront so that the front edge is aligned. The inter-character space of the character string "normal processing" at this time is, for example, when the platemaking possible area width A = 40 of the "character width normal" in the first line is as shown in FIG. When the margin B is set to 2, 2 and 2 from the front and the same width A = 41,
From the front, it will be 3, 2 and 2.

【0134】なお、A=41の場合、前述したように、
1ドットは無視できる程度に小さい値なので、実際に
は、文字間余白Bを2に揃えても違和感は生じない。前
寄せ処理(S604)による割付後の別の例となる図2
9(b)からもわかるように、前寄せ処理(S604)
を行うことによって、複数行の印章画像、ひいては複数
行を有する印面に対して、各行の最前端と文字間余白が
揃った、整然として見栄えの良い割付を行うことができ
る。
When A = 41, as described above,
Since 1 dot is a small value that can be ignored, actually, even if the inter-character margin B is set to 2, no discomfort occurs. FIG. 2 showing another example after the allocation by the advance process (S604).
As can be seen from 9 (b), advance processing (S604)
By carrying out, it is possible to perform orderly and good-looking layout in which the front end of each line and the inter-character space are aligned with respect to the stamp image having a plurality of lines, and thus the stamp face having a plurality of lines.

【0135】また、図28(g)に示すように、図24
の中寄せ処理(S606)では、上記と同様に文字間余
白が最長行の基準文字間余白Bと同一にした文字列「普
通処理」を、その中央位置が最長行の「文字幅通常」の
中央位置に揃うように割り付ける。図29(c)は、同
割付方法による別の例を示しており、図28(g)と図
29(c)の両図からわかるように、中寄せ処理(S6
06)により、複数行の印章画像(複数行を有する印
面)に対して、各行の中央位置が揃った、安定性のある
見栄えの良い割付を行うことができる。
Further, as shown in FIG. 28 (g), as shown in FIG.
In the centering process (S606), the character string "normal process", in which the inter-character space is the same as the reference inter-character space B of the longest line as in the above case, the center position of the "character width normal" Allocate so that they are aligned in the central position. FIG. 29C shows another example of the same allocation method. As can be seen from both FIGS. 28G and 29C, the centering process (S6) is performed.
06), it is possible to perform a stable and good-looking layout in which the central positions of the lines are aligned with respect to the stamp images of a plurality of lines (print face having a plurality of lines).

【0136】さらに、図28(g)に示すように、図2
4の後寄せ処理(S608)では、上記と同様の文字列
「普通処理」の最後部の文字「理」が、最長行の最後部
の文字「常」と後端が揃うように割り付ける。図29
(d)は、同割付方法による別の例を示しており、図2
8(g)と図29(d)の両図からわかるように、後寄
せ処理(S608)により、複数行の印章画像(複数行
を有する印面)に対して、各行の最後端と文字列余白が
揃った、整然として見栄えの良い割付を行うことができ
る。
Further, as shown in FIG.
In the fourth post-alignment process (S608), the character "Ri" at the end of the character string "normal process" similar to that described above is allocated so that its trailing end is aligned with the character "normal" at the end of the longest line. FIG. 29
(D) shows another example of the same allocation method.
As can be seen from both FIG. 8 (g) and FIG. 29 (d), the trailing edge and the character string margins of each line are applied to the stamp image of multiple lines (print face having multiple lines) by the post-alignment process (S608). It is possible to make an orderly, well-designed layout that has all the items.

【0137】そして、図28(g)に示すように、図2
4の割付処理(S609)では、2行目の「普通処理」
の4文字に対しても、1行目の「文字幅通常」の5文字
について求めた実質割付エリア幅E(図25(c)参
照)を従来の製版可能エリアAと見て、従来と同様の均
等割り付け(図25(a)参照)を行う。すなわち最長
行の文字列「文字幅通常」と同一の文字列寸法Eとなる
ように、かつ、両端が揃うように、文字列「普通処理」
を割り付ける。図29(a)は同割付方法による別の例
を示しており、図28(g)と図29(a)の両図から
わかるように、割付処理(S609)により、複数行の
印章画像(複数行を有する印面)に対しても、文字列寸
法が揃った、すなわち各行の両端の位置が揃った、安定
性のある見栄えの良い割付を行うことができる。
Then, as shown in FIG.
In the allocation process (S609) of 4, the "normal process" in the second line
For the four characters of No. 4, the actual allocation area width E (see FIG. 25 (c)) obtained for the five characters of "character width normal" on the first line is regarded as the conventional plate-making possible area A, and is the same as the conventional one. Is evenly allocated (see FIG. 25A). That is, the character string "normal processing" is used so that the character string dimension E is the same as the character string "character width normal" of the longest line and both ends are aligned.
Assign FIG. 29 (a) shows another example of the same allocation method. As can be seen from both FIGS. 28 (g) and 29 (a), the allocation process (S609) causes the stamp images ( Even for a stamp surface having a plurality of lines, it is possible to perform stable and attractive layout in which the character string dimensions are uniform, that is, the positions of both ends of each line are uniform.

【0138】この割付処理(S609)では、上記他の
処理では行わない文字幅最適拡大処理も行っている。そ
こで次に、この文字幅最適拡大処理について、図30を
参照して以下に説明する。同図(a)は、図25(c)
で説明した割付方法の、製版可能エリア幅A=41の例
を示したものであり、同図(b)は、それに対して、以
下に説明する拡大処理の結果の印章文字の例を示してい
る。また、同図(c)は、その拡大処理を行わない場合
の印章の印面全体を示しており、同図(d)はそれに拡
大処理を行った場合の印面全体を示している。
In this allocation process (S609), the optimum character width expansion process, which is not executed by the other processes, is also executed. Therefore, next, this character width optimum expansion processing will be described below with reference to FIG. 25A is the same as FIG. 25A.
An example of the plate making possible area width A = 41 of the allocation method described in FIG. 4 is shown, and FIG. 7B shows an example of a seal character as a result of enlargement processing described below. There is. Further, FIG. 7C shows the entire stamp surface of the stamp when the enlargement processing is not performed, and FIG. 7D shows the entire stamp surface when the enlargement processing is performed.

【0139】この文字幅最適拡大処理では、まず、外枠
内の空白部分に対する文字部分の比を求める。ここで
は、端部余白Dはそのままにして、実質割付エリア幅E
=39内を対象とした拡大処理について説明する。例え
ば、図30(a)の例の場合、文字部分のドット数の総
計は6×5=30ドット、それに対して、文字間余白部
分のドット数の総計は、(39−30=)3+2+2+
2=9ドット、したがって、その比は、30/9=10
/3=3.333…。ここで、一定値を仮に4とする
と、現在の比は一定値以下となるので、次に、拡大比を
決定する。
In this character width optimum expansion processing, first, the ratio of the character portion to the blank portion in the outer frame is obtained. Here, the end area margin D is left as it is and the actual allocation area width E is set.
The enlargement processing for the range of = 39 will be described. For example, in the case of the example of FIG. 30A, the total number of dots in the character portion is 6 × 5 = 30 dots, whereas the total number of dots in the intercharacter space portion is (39-30 =) 3 + 2 + 2 +
2 = 9 dots, so the ratio is 30/9 = 10
/3=3.333 ... Here, if the constant value is assumed to be 4, the current ratio becomes equal to or less than the constant value, and therefore, the enlargement ratio is determined next.

【0140】全体が39に対して現文字部分のドット数
が30なので、39/30=1.3倍までは拡大できる
はずであるが、文字間余白がなくなるので、文字間余白
Bを最低各1ドットの計4ドットとすると、(39−
4)/30=35/30=7/6=1.166…。これ
より、文字幅C=7として割り付けた結果が図30
(b)のようになる。なお、この文字幅最適拡大処理
の、上記の拡大処理にはいる条件の一定値や拡大可否判
別の条件は、印章本体の種別や実情に合わせて設定すれ
ば良く、また、デフォルト値による自動拡大比を決定し
ておき、その拡大ができる場合には自動的に拡大される
モードと、任意に拡大値を入力するモードとの選択手段
を持つなど、種々の工夫が可能である。
Since the number of dots in the current character portion is 30 with respect to 39 as a whole, it should be possible to enlarge to 39/30 = 1.3 times, but since there is no inter-character space, the inter-character space B must be at least Assuming a total of 4 dots, 1 dot, (39-
4) /30=35/30=7/6=1.166 ... From this, the result of allocation with the character width C = 7 is shown in FIG.
It becomes like (b). It should be noted that, in this character width optimum expansion processing, the constant value of the conditions included in the above expansion processing and the conditions for determining whether or not to expand can be set according to the type and actual condition of the seal body, and the automatic expansion with the default value It is possible to devise various means such as having a selection means for determining a ratio in advance and automatically enlarging it when it can be enlarged, and a mode for arbitrarily inputting an enlargement value.

【0141】そして、上記の文字幅最適拡大処理の利点
は、図30(c)と(d)とを見比べれば、一目瞭然で
あり、印章文字の各文字に字体に違和感を生じさせるこ
となく、印章の空白部分を少なくすることができ、印章
文字を重厚感のあるものとすることができる。また、上
記のように、拡大処理をドット数に基づいて処理するこ
とにより、空白部分に対する文字部分の比率を簡単に算
定でき、かつ、この比率に基づいて、各文字を横長に適
切に伸張することができる。
The advantages of the above-described optimum character width expansion processing are obvious when comparing FIGS. The blank portion of the stamp can be reduced, and the stamp characters can be made more profound. Further, as described above, by performing the enlargement process based on the number of dots, it is possible to easily calculate the ratio of the character portion to the blank portion, and based on this ratio, each character is appropriately expanded horizontally. be able to.

【0142】文字割付処理(S60)が終了すると、図
18に示すように、次に、装飾画像配置処理を行う(S
70)。装飾画像配置処理(S70)が開始すると、図
34に示すように、まず、印章外枠データ作成処理を行
う(S701)。
When the character allocating process (S60) is completed, as shown in FIG. 18, next, a decoration image arranging process is performed (S).
70). When the decoration image arranging process (S70) starts, as shown in FIG. 34, first, a seal outer frame data creating process is performed (S701).

【0143】この印章外枠データ作成処理(S701)
では、図35に示すように、まず、前述の図17のキャ
ラクタ等入力処理(S15)において指定された印章外
枠の種類を取得するとともに、その印章外枠を形成する
ための罫線の種類を判別する(S711)。すなわち、
印章作成装置1では、図32〜図33に示す多種多様な
印章外枠が形成できるように、その印章外枠の画像を形
成する線素部品として、多種多様な罫線データがROM
303内に記憶されているため、ここでは、まず、指定
された印章外枠の種類と、その印章外枠に対応する罫線
の種類を判別する(S711)。
This seal outer frame data creation processing (S701)
Then, as shown in FIG. 35, first, the type of the seal outer frame specified in the character input processing (S15) of FIG. 17 is acquired, and the type of ruled line for forming the seal outer frame is acquired. It is determined (S711). That is,
In the seal making device 1, a wide variety of ruled line data is stored in the ROM as line element parts that form an image of the seal outer frame so that various seal outer frames shown in FIGS. 32 to 33 can be formed.
Since it is stored in 303, first, the type of the designated stamp outer frame and the type of ruled line corresponding to the stamp outer frame are determined (S711).

【0144】外枠種類取得(S711)が終了すると、
次に、前述の印章画像データエリア(図28(a)〜
(d)および図31参照)と同じサイズのエリアに、印
章外枠の両端の画像データを配置する(S712)。す
なわち、印章外枠の両端の画像を形成する罫線データを
読み出して配置する(S712)。この配置処理により
作成された画像データの(住所印の場合の)例が同図右
側の画像データC712である。なお、この画像データ
C712と外枠両端画像データ配置(S712)が対応
しているように、以下特に断らない限り、処理(Sxx
x)と画像データCxxxとを対応させて表すものとす
る。
When the outer frame type acquisition (S711) is completed,
Next, the above-mentioned stamp image data area (Fig. 28 (a)-
Image data at both ends of the stamp outer frame is arranged in an area having the same size as (d) and FIG. 31) (S712). That is, the ruled line data forming the images on both ends of the stamp outer frame is read out and arranged (S712). An example (in the case of an address mark) of the image data created by this arrangement processing is the image data C712 on the right side of FIG. It should be noted that, unless the image data C712 corresponds to the image data arrangement at both ends of the outer frame (S712), the processing (Sxx
x) and the image data Cxxx are associated with each other.

【0145】外枠両側画像データ配置(S712)が終
了すると、次に、その両側の画像を罫線データでつなぐ
ことにより、外枠を形成し、続いて、残りの罫線データ
を配置して(S713)、印章外枠データ作成処理を終
了する(S714)。なお、図39には、角形印の場合
の例を示しているので、以下、同時に参照のこと。
When the outer frame both-side image data arrangement (S712) is completed, the outer frames are formed by connecting the images on both sides with ruled line data, and then the remaining ruled line data are arranged (S713). ), The stamp outer frame data creation processing ends (S714). Note that FIG. 39 shows an example in the case of a square mark, so refer to them simultaneously below.

【0146】印章作成装置1は、ROM302内に、例
えば、図36に示すような、罫線の部品となる種々の罫
線データを用意して記憶している。同図(a)のは、
実線用および途切れ線用3の部品となる罫線データであ
り、同様に、は点線用、は一点鎖線用、は途切れ
線用1、は途切れ線用2、等の部品となる罫線データ
である。これらを画像データ上に順次配置することによ
り、印章外枠データを作成できる。例えば、通常の実線
はを複数個接続することにより作成でき、点線はを
複数個、一点鎖線はを複数個接続すれば良い。また、
印章特有の演出のための途切れ線は、例えば、同図
(b)に示すように、、、、、、、、
、…、などとランダムに選択して接続配置することが
できる。
The stamp creating apparatus 1 prepares and stores in the ROM 302 various ruled line data which are parts of ruled lines as shown in FIG. In the figure (a),
Ruled line data that is a part for solid lines and 3 for broken lines, similarly, is ruled line data for parts such as a dotted line, a one-dot chain line, a broken line 1, a broken line 2, and the like. The stamp outer frame data can be created by sequentially arranging these on the image data. For example, a normal solid line can be created by connecting a plurality of, a dotted line can be formed by connecting a plurality of, and a chain line can be formed by connecting a plurality of. Also,
The discontinuity line for the production unique to the seal is, for example, as shown in FIG.
, ..., etc. can be randomly selected and connected.

【0147】上述のように、印章作成装置1では、印章
外枠を形成するための罫線を、外枠全体としてではなく
線素部品として記憶しているので、ユーザー(使用者)
は必要とする種々の罫線データを読み出して、それらの
罫線を自在に接続しながら多様な外枠を作成することが
できる。また、印章外枠データは、前述の印章画像デー
タエリアと同じサイズのエリアに作成するため、すなわ
ち、製版対象の印章本体Aの種別に対応して、それぞれ
の印章部の寸法に適合するように作成するため、それぞ
れの印章本体Aの種別、例えば、角形印、丸印、縦長
印、横長印などの特徴に応じて、バラエティに富んだ種
々の印章を作成することができる。
As described above, in the stamp creating apparatus 1, since the ruled lines for forming the stamp outer frame are stored as line element parts, not as the entire outer frame, the user (user)
Can read out various required ruled line data and freely connect these ruled lines to create various outer frames. In addition, since the stamp outer frame data is created in an area of the same size as the above-mentioned stamp image data area, that is, in accordance with the type of the stamp main body A to be plate-making target, the size of each stamp portion is adapted. In order to create the seals, various seals rich in variety can be created according to the type of each seal body A, for example, the features such as a square mark, a circle mark, a portrait mark, and a landscape mark.

【0148】印章外枠データ作成処理(S701)が終
了すると、図34に示すように、次に、加算画像データ
作成処理を行う(S702)。
When the stamp outer frame data creation process (S701) is completed, next, as shown in FIG. 34, an addition image data creation process is performed (S702).

【0149】この加算画像データ作成処理(S702)
では、図37に示すように、まず、前述の図18の文字
割付処理(S60)まで終了した(図24の終了(S6
10)時の)基礎画像データC721を読み出す(S7
21)。そして次に、上述の印章外枠データ作成処理
(S701)で作成した印章外枠データC722(C7
13に相当)を読み出して(S722)、対応するドッ
ト同士の論理和演算を行う(S723)ことにより、加
算画像データを作成して加算画像データ作成処理を終了
する(S724)。
This addition image data creation processing (S702)
Then, as shown in FIG. 37, first, the character allocation processing (S60) of FIG. 18 described above is completed (end of FIG. 24 (S6).
The basic image data C721 (at the time of 10) is read (S7).
21). Then, next, the seal outer frame data C722 (C7 created in the seal outer frame data creating process (S701) described above.
(Corresponding to 13) is read (S722), and the logical sum operation of the corresponding dots is performed (S723) to create the added image data, and the added image data creation process ends (S724).

【0150】すなわち、この論理和演算(S723)で
は、基礎画像データC721の画像を凸部に対応する陽
ドットで表現し、画像の空白部分を凹部に対応する陰ド
ットで表現し、同様に、印章外枠データC722の印章
外枠の画像を陽ドットで表現し、印章外枠の内側と外側
を陰ドットで表現したときの、基礎画像データC721
と印章外枠データC722との相互に対応するドット同
士の論理和を演算することにより、陽ドット優先で両デ
ータの画像を重ね合わせた加算画像データC723を作
成する。これにより、外枠付きの印章画像を容易に作成
することができ、ひいては外枠付きの印章を容易に作成
することができる。
That is, in this logical sum operation (S723), the image of the basic image data C721 is represented by the positive dots corresponding to the convex portions, and the blank portion of the image is represented by the negative dots corresponding to the concave portions. Basic image data C721 when the image of the stamp outer frame of the stamp outer frame data C722 is represented by positive dots, and the inner and outer sides of the stamp outer frame are represented by negative dots.
By calculating the logical sum of the dots corresponding to each other and the stamp outer frame data C722, the addition image data C723 in which the images of both data are superimposed with priority on the positive dot is created. As a result, a seal image with an outer frame can be easily created, which in turn makes it possible to easily create a seal with an outer frame.

【0151】加算画像データ作成処理(S702)が終
了すると、図34に示すように、次に、外枠外側データ
削除処理を行う(S703)。
When the addition image data creation process (S702) is completed, next, as shown in FIG. 34, outer frame outer data deletion process is performed (S703).

【0152】この外枠外側データ削除処理(S703)
では、図38に示すように、まず、印章外枠データC7
13の印章外枠とその内側を陽ドットで表現し、前記印
章外枠の外側を陰ドットで表現した印章外枠外形データ
C731を作成する(S731)。そして次に、上述の
加算画像データ作成処理(S702)で作成した加算画
像データC732(C723に相当)を読み出して(S
732)、対応するドット同士の論理積演算を行う(S
723)ことにより、印章外枠からはみ出した画像部分
(図39の画像部分gに相当)を削除して、印章画像デ
ータC733を作成し、外枠外側データ削除処理を終了
する(S734)。
This outer frame outer side data deletion processing (S703)
Then, as shown in FIG. 38, first, the stamp outer frame data C7
13. Seal outer frame outer shape data C731 in which the outer seal frame and its inside are represented by positive dots and the outer side of the seal outer frame is represented by negative dots are created (S731). Then, the added image data C732 (corresponding to C723) created by the above-described added image data creation process (S702) is read out (S).
732), AND operation of corresponding dots is performed (S
723), the image portion (corresponding to the image portion g in FIG. 39) protruding from the seal outer frame is deleted, the seal image data C733 is created, and the outer frame outer side data deletion processing ends (S734).

【0153】すなわち、この論理積演算(S733)で
は、加算画像データC732の画像を陽ドットで表現
し、他の空白部分を陰ドットで表現したときの、上記の
印章外枠外形データとの相互に対応するドット同士の論
理積を演算することにより、陰ドット優先で両データの
画像を重ね合わせて、印章外枠からはみ出した画像部分
を削除する。これにより、所望の画像が外枠からはみ出
すことのない印章画像を容易に作成することができる。
That is, in this logical product operation (S733), when the image of the added image data C732 is represented by a positive dot and other blank portions are represented by a negative dot, the image data and the outline data of the stamp outer frame are mutually interrelated. By computing the logical product of the dots corresponding to, the images of both data are overlaid with priority on the negative dots, and the image portion that extends beyond the outer frame of the seal is deleted. As a result, it is possible to easily create a seal image in which a desired image does not run out of the outer frame.

【0154】外枠外側データ削除処理(S703)が終
了すると、図34に示すように、次に、作成した印章画
像データ(図38および図39の印章画像データC73
4に相当)をRAM302に書き込んで記憶し(S70
4)、装飾画像配置処理(S70)を終了する(S70
5)。そして、以上により、図18に示すように、製版
画像作成処理(S16)を終了し(S90)、ここで作
成された印章画像データに基づいて、図17の次の処
理、すなわち印刷処理(S19)および露光処理(S2
0)が行われることにより、所望の印章が作成される。
When the outer frame outer side data deletion processing (S703) is completed, as shown in FIG. 34, the created seal image data (seal image data C73 in FIGS. 38 and 39) is next generated.
(Corresponding to 4) is written and stored in the RAM 302 (S70
4), the decoration image arrangement processing (S70) is ended (S70).
5). Then, as described above, as shown in FIG. 18, the plate-making image creating process (S16) is completed (S90), and based on the stamp image data created here, the next process of FIG. 17, that is, the printing process (S19). ) And exposure processing (S2
By performing 0), a desired seal is created.

【0155】上述のように、印章作成装置1では、印章
画像の全製版領域に対応する印章画像データを作成して
から製版することによって、印章画像内の各画像をバラ
ンス良く配置したり、黒率が高くするように調整した
り、複雑な印章画像を作ることが可能となる。また、こ
の印章画像データを取り出して印章を作成する際に、一
括印字処理が行えるので、高速処理が可能となるばかり
でなく、一定速度での製版が可能になり、これにより、
スクリーンとなるインクリボンCの走行が安定して、皺
などの発生を防止できる。
As described above, in the seal stamp creating apparatus 1, the stamp image data corresponding to the entire plate making area of the stamp image is created and then the plate is stamped to arrange each image in the stamp image in a well-balanced manner or to make a black image. It is possible to make adjustments to increase the rate and to make complex seal images. Also, when this stamp image data is taken out and a stamp is created, batch printing processing can be performed, so not only high-speed processing is possible, but plate making at a constant speed is also possible.
The running of the ink ribbon C, which serves as a screen, is stable, and the occurrence of wrinkles can be prevented.

【0156】また、印章外枠を含む印章画像データを作
成することによって、印章外枠内に各画像をバランス良
く配置したり、各画像の大きさを印章外枠ぎりぎりまで
大きくすることができる。また、大きな画像の一部を削
除して外枠内に収めるなどの細工ができるため、黒率が
高く、画像が見やすく、見栄えが良い印章を作成するこ
とが可能になる。
Further, by creating the seal image data including the seal outer frame, it is possible to arrange each image in the seal outer frame in a well-balanced manner and to increase the size of each image to the limit of the seal outer frame. Further, since it is possible to make a work such as deleting a part of a large image so as to fit it in an outer frame, it is possible to create a seal having a high black ratio, an image that is easy to see, and a good-looking seal.

【0157】なお、上述した図34の装飾画像配置処理
(S70)では、印章外枠データを作成してから(S7
02)、基礎画像データを重ね合わせたが(S70
2)、基礎画像データ上に、印章外枠の罫線データを重
ねて配置して行くことにより、加算画像データを作成す
ることもできる。また、図34の処理では、この加算画
像データを作成後(S702)、印章外枠からはみ出し
た画像部分を削除したが(S703)、印章外枠からは
み出さないように、予め基礎画像データのはみ出す画像
部分を削除してから、印章外枠データと重ね合わせるよ
うにしても、外枠付きの印章画像データを作成できる。
これらのいずれかを採用しても良いし、両方を採用して
も良い。
In the decoration image arranging process (S70) shown in FIG. 34, the seal outer frame data is created (S7).
02), but the basic image data was overlaid (S70
2) It is also possible to create additional image data by arranging ruled line data of a stamp outer frame on the basic image data in an overlapping manner. In addition, in the process of FIG. 34, after the addition image data is created (S702), the image portion protruding from the seal outer frame is deleted (S703), but the basic image data is previously stored so as not to protrude from the seal outer frame. The seal image data with the outer frame can be created by deleting the protruding image portion and then superimposing it on the seal outer frame data.
Either of these may be adopted, or both may be adopted.

【0158】図40〜図42は、上記の両方を採用した
例を示している。図40〜図42に示すように、この場
合の装飾画像配置処理(S70)では、まず、前述の図
37の基礎画像データリード(S721)と同様に、基
礎画像データリードを行い(S751)、次に、図35
の外枠種類取得(S711)と同様に、外枠種類取得を
行った(S752)後、外枠付加等の装飾前の基礎画像
データC751が、その装飾用の外枠からはみ出すか否
かの判別を行う(S753)。この判別は、指定された
印章外枠の外側に相当する部分に、基礎画像データC7
51の陽ドットが存在するか否かを、例えば、その部分
の全ドットの論理和等を演算することにより、容易に行
うことができる。
40 to 42 show examples in which both of the above are adopted. As shown in FIGS. 40 to 42, in the decoration image arrangement process (S70) in this case, first, similar to the basic image data read (S721) of FIG. 37, the basic image data read is performed (S751), Next, FIG.
Similar to the outer frame type acquisition (S711), whether or not the basic image data C751 before the decoration such as the addition of the outer frame is outside the decorative outer frame after the outer frame type is acquired (S752). A determination is made (S753). This determination is based on the basic image data C7 in the portion corresponding to the outside of the designated seal outer frame.
Whether or not there are 51 positive dots can be easily determined, for example, by calculating the logical sum of all the dots in that portion.

【0159】外枠からはみ出さないとき(S753:N
o)には、基礎画像データC751のエリアの両端に、
図35の外枠両端画像データ配置(S712)と同様
に、罫線データを配置する(S756)。次に、まず、
その両側の画像を罫線データでつなぐことにより(図4
1の画像C757s参照)、外枠を形成し、続いて、残
りの罫線データを配置して(S757)、装飾画像配置
処理(S70)を終了する。
When it does not protrude from the outer frame (S753: N
In o), at both ends of the area of the basic image data C751,
Ruled-line data is arranged (S756) in the same manner as the image data arrangement on both ends of the outer frame of FIG. 35 (S712). Then first,
By connecting the images on both sides with ruled line data (Fig.
1 image C757s), an outer frame is formed, the remaining ruled line data is then arranged (S757), and the decoration image arrangement process (S70) is ended.

【0160】一方、外枠からはみ出すとき(S753:
Yes)には、次に、図38の印章外枠外形データ作成
(S731)と同様に、図42の印章外枠外形データC
754を作成し(S754)、基礎画像データC751
との論理積演算を行うことにより、印章外枠からはみ出
すと予測される画像部分(図42の画像部分gに相当)
を、基礎画像データC751から削除して、外側削除画
像データC755を作成する(S755)。そして、次
に、その外側削除画像データのエリアの両端に、罫線デ
ータを配置し(S756)、次に、罫線データを配置し
て(S757)、装飾画像配置処理(S70)を終了す
る。
On the other hand, when it extends out of the outer frame (S753:
Yes), as in the case of creating the seal outer frame outer shape data (S731) of FIG. 38, next, the seal outer frame outer shape data C of FIG.
754 is created (S754), and basic image data C751 is created.
An image part predicted to be out of the seal outer frame by performing a logical product operation with (corresponding to the image part g in FIG. 42)
Is deleted from the basic image data C751 to create outer deleted image data C755 (S755). Then, the ruled line data is arranged at both ends of the area of the outer deleted image data (S756), the ruled line data is then arranged (S757), and the decoration image arrangement process (S70) is finished.

【0161】上述のように、図40の装飾画像配置処理
(S70)によれば、図34の装飾画像配置処理(S7
0)と同様に、所望の画像が外枠からはみ出すことのな
い外枠付きの印章画像を容易に作成することができ、こ
れにより、黒率が高く、画像が見やすく、見栄えが良い
印章を作成することが可能になる、などの効果が得られ
る。
As described above, according to the decoration image arrangement processing (S70) of FIG. 40, the decoration image arrangement processing (S7) of FIG.
Similar to 0), it is possible to easily create a seal image with an outer frame in which the desired image does not stick out of the outer frame. This makes it possible to create a seal that has a high black ratio, is easy to see, and looks good. It is possible to obtain such effects.

【0162】[0162]

【発明の効果】上述のように、本発明の文字割付方法及
びその装置によれば、印章文字やラベルの各文字を、印
面や印刷面に対して適切に割り振ることができる、など
の効果がある。
As described above, according to the character allocating method and the apparatus thereof of the present invention, it is possible to appropriately allocate each character of the stamp character or the label to the stamp surface or the printing surface. is there.

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

【図1】本発明の一実施形態に係る印章作成装置の外観
図である。
FIG. 1 is an external view of a stamp creating apparatus according to an embodiment of the present invention.

【図2】印章作成装置の機械装置部の内部構造図であ
る。
FIG. 2 is an internal structural diagram of a mechanical device unit of the stamp creating device.

【図3】印章本体の構造図である。FIG. 3 is a structural diagram of a stamp main body.

【図4】製版シートの構造図である。FIG. 4 is a structural diagram of a plate-making sheet.

【図5】機械装置部の露光装置廻りの平面図である。FIG. 5 is a plan view around the exposure device of the mechanical device section.

【図6】開閉蓋を取り去った状態のポケット廻りの平面
図である。
FIG. 6 is a plan view around the pocket with the opening / closing lid removed.

【図7】各種印章本体のポケットへの装着状態を表した
構造説明図である。
FIG. 7 is a structural explanatory view showing a mounting state of various stamp main bodies in a pocket.

【図8】各種印章本体の判別パターンを説明する説明図
である。
FIG. 8 is an explanatory diagram for explaining discrimination patterns of various stamp main bodies.

【図9】印章検出部の検出動作を表した断面図である。FIG. 9 is a cross-sectional view showing the detection operation of the seal detection unit.

【図10】ポケットおよび印章検出部廻りの平面図であ
る。
FIG. 10 is a plan view around a pocket and a seal detection unit.

【図11】印章作成装置の制御ブロック図である。FIG. 11 is a control block diagram of the seal stamp creating device.

【図12】印章作成装置のマルチタスク処理の概念図で
ある。
FIG. 12 is a conceptual diagram of multitasking processing of the seal stamp creating device.

【図13】印章作成装置の処理手順を示そうと試みたフ
ローチャートである。
FIG. 13 is a flowchart in which an attempt is made to show a processing procedure of the seal stamp creating device.

【図14】印章作成装置の主な処理を示す階層処理ダイ
ヤグラムである。
FIG. 14 is a hierarchical processing diagram showing the main processing of the seal stamp creating device.

【図15】印章作成装置のタスク監視・切替処理を示す
階層処理ダイヤグラムである。
FIG. 15 is a hierarchical processing diagram showing task monitoring / switching processing of the seal stamp creating device.

【図16】印章作成装置の現タスク実行処理の階層処理
ダイヤグラムである。
FIG. 16 is a hierarchical processing diagram of current task execution processing of the seal stamp creating device.

【図17】印章作成装置の主要タスク起動処理の一例を
示すフローチャートである。
FIG. 17 is a flowchart showing an example of main task activation processing of the seal stamp creating apparatus.

【図18】図17の主要タスクのうちの製版画像作成処
理の処理手順を示すフローチャートである。
FIG. 18 is a flowchart showing a processing procedure of plate-making image creation processing of the main tasks of FIG. 17;

【図19】図18の製版画像作成処理のうちの基礎画像
配置処理の処理手順を示すフローチャートである。
19 is a flowchart showing a processing procedure of basic image arrangement processing of the plate-making image creation processing of FIG.

【図20】図19の基礎画像配置処理のうちのフォーム
指定用項目エリア決定処理の処理手順を示すフローチャ
ートである。
20 is a flowchart showing a processing procedure of form designation item area determination processing in the basic image layout processing of FIG.

【図21】氏名印の印章イメージとフォーム指定時の入
力項目の例を示す図である。
FIG. 21 is a diagram showing an example of a seal image of a name stamp and input items when a form is designated.

【図22】ビジネス印、角形印の印章イメージとフォー
ム指定時の入力項目の例を示す図である。
FIG. 22 is a diagram showing an example of a seal image of a business mark and a square mark and input items when a form is designated.

【図23】住所印の印章イメージとフォーム指定時に入
力されない項目があるときの処理の具体例を示す図であ
る。
FIG. 23 is a diagram showing a specific example of processing when there is an image of an address stamp and an item that is not input when a form is designated.

【図24】図18の製版画像作成処理のうちの文字割付
処理の処理手順を示すフローチャートである。
FIG. 24 is a flowchart showing a processing procedure of character allocation processing of the plate-making image creation processing of FIG. 18;

【図25】印章文字の1行分の割付方法を示す図であ
る。
FIG. 25 is a diagram showing a method of allocating one line of a stamp character.

【図26】空白部分に対する文字部分の面積比が異なる
場合の、図25と同様の図である。
FIG. 26 is a diagram similar to FIG. 25 in the case where the area ratio of the character portion to the blank portion is different.

【図27】多数行の場合の、図26と同様の図である。FIG. 27 is a diagram similar to FIG. 26 in the case of multiple rows.

【図28】製版画像エリア、印章外枠データ、印章画像
データエリア、テキストデータ、基礎画像データ、およ
び文字割付後の位置等の、印章作成装置における一連の
画像データの位置関係の例を示す図である。
FIG. 28 is a diagram showing an example of the positional relationship of a series of image data in the seal-making device, such as a plate-making image area, seal outer frame data, seal image data area, text data, basic image data, and position after character allocation. Is.

【図29】文字割付後の印章画像の例を示す図である。FIG. 29 is a diagram showing an example of a stamp image after character allocation.

【図30】文字幅最適拡大処理の割付方法を示す図であ
る。
[Fig. 30] Fig. 30 is a diagram showing an allocation method of the character width optimum expansion process.

【図31】文字割付エリアと印章本体の種別との寸法の
関係を示す図である。
FIG. 31 is a diagram showing a dimensional relationship between the character allocation area and the type of stamp body.

【図32】印章作成装置で使用できる印章本体の種別毎
の印章外枠の例を示す図である。
FIG. 32 is a diagram showing an example of a stamp outer frame for each type of stamp body that can be used in the stamp creating apparatus.

【図33】図32と同様の図である。FIG. 33 is a view similar to FIG. 32.

【図34】図18の製版画像作成処理のうちの装飾画像
配置処理の処理手順を示すフローチャートである。
FIG. 34 is a flowchart showing a processing procedure of decoration image arrangement processing in the plate-making image creation processing of FIG. 18;

【図35】図34の装飾画像配置処理のうちの印章外枠
データ作成処理の処理手順を示すフローチャートと対応
する画像データの例を示す図である。
FIG. 35 is a diagram showing an example of image data corresponding to the flowchart showing the processing procedure of the seal outer frame data creation processing of the decoration image arrangement processing of FIG. 34.

【図36】罫線の部品となる罫線データの例を示す図で
ある。
FIG. 36 is a diagram showing an example of ruled line data that is a ruled line component.

【図37】図34の装飾画像配置処理のうちの加算画像
データ作成処理の処理手順を示すフローチャートと対応
する画像データの例を示す図である。
FIG. 37 is a diagram showing an example of image data corresponding to the flowchart showing the processing procedure of the addition image data creation process of the decoration image arrangement process of FIG. 34.

【図38】図34の装飾画像配置処理のうちの外枠外側
データ削除処理の処理手順を示すフローチャートと対応
する画像データの例を示す図である。
FIG. 38 is a diagram showing an example of image data corresponding to a flowchart showing a processing procedure of outer frame outer data deletion processing in the decoration image arrangement processing of FIG. 34;

【図39】図35〜図38のフローチャートに対応する
画像データの別の例を示す図である。
FIG. 39 is a diagram showing another example of image data corresponding to the flowcharts of FIGS. 35 to 38.

【図40】別の処理手順を示す、図34と同様のフロー
チャートである。
FIG. 40 is a flowchart similar to FIG. 34, showing another processing procedure.

【図41】図40のフローチャートに対応する画像デー
タの例を示す図である。
41 is a diagram showing an example of image data corresponding to the flowchart in FIG. 40. FIG.

【図42】別の例を示す、図41と同様の図である。FIG. 42 is a view similar to FIG. 41, showing another example.

【図43】従来の文字割付方法を示す図である。FIG. 43 is a diagram showing a conventional character allocation method.

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

1 印章作成装置 6 ポケット 12 発光素子 21 操作部 22 プッシュボタン群 23 操作ダイヤル 24 表示器 31 実行キー 32 カーソル/変換キー 33 文字入力キー 56 印字ヘッド 57 プラテンローラ 64 印字部 65 露光部 66 印章検出部 67 周囲温度センサ 191 紫外線光源 300 制御部 301 CPU 302 ROM 303 RAM 304 入力インタフェース 305 出力インタフェース 306 システムバス A 印章本体 B 製版シート C インクリボン 1 Seal making device 6 pockets 12 Light emitting element 21 Operation part 22 push buttons 23 Operation dial 24 display 31 Enter key 32 Cursor / Conversion key 33-character input key 56 print head 57 Platen Roller 64 printing section 65 Exposure unit 66 Seal detection unit 67 Ambient temperature sensor 191 UV light source 300 control unit 301 CPU 302 ROM 303 RAM 304 input interface 305 output interface 306 system bus A seal body B Plate-making sheet C ink ribbon

───────────────────────────────────────────────────── フロントページの続き (72)発明者 亀田 登信 東京都千代田区東神田2丁目10番18号 株式会社キングジム内 (72)発明者 新村 朋之 東京都千代田区東神田2丁目10番18号 株式会社キングジム内 (56)参考文献 竹内均編集,「ワードプロセッサのす べて」,Newton別冊1,(株)教 育社,1982年 5月20日,P.151,P. 168,P.201 (58)調査した分野(Int.Cl.7,DB名) B41B 27/00 G06F 3/12 G09G 5/22 G09G 5/32 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshino Kameda 2-10-18 Higashi-Kanda, Chiyoda-ku, Tokyo Inside King Jim Co., Ltd. (72) Tomoyuki Shinmura 2-10-18 Higashi-Kanda, Chiyoda-ku, Tokyo King Jim Co., Ltd. (56) References Hitoshi Takeuchi, “All about Word Processors”, Newton Separate Volume 1, Kyoikusha Co., Ltd., May 20, 1982, p. 151, P. 168, P.I. 201 (58) Fields surveyed (Int.Cl. 7 , DB name) B41B 27/00 G06F 3/12 G09G 5/22 G09G 5/32

Claims (20)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 読み方向に規定幅の方形の輪郭内に、1
行または複数行の各行の文字列の各文字を割り付ける文
字割付方法において、 前記輪郭の端と最端部の文字との端部余白寸法をDと
し、隣接する文字間の文字間余白寸法をBとし、前記輪
郭の幅をAとし、前記各文字の1個の文字幅をCとし、
文字数をFとしたときに、ドットマトリクス上のドット
数を基準として、B>D>0となるように前記各文字を
割り付けるとともに、(A−C×F)/Fの商を前記文
字間余白寸法Bとし、余りに相当するドット数は、文字
の読み方向に従って最前部の前記文字間余白から1ドッ
トずつ割り付けることを特徴とする文字割付方法。
1. Within a rectangular contour having a specified width in the reading direction, 1
In a character allocating method for allocating each character of a character string of each line or a plurality of lines, an end margin dimension between the edge of the contour and the character at the end is D, and an inter-character margin dimension between adjacent characters is B. And the wheel
The width of the frame is A, and the width of one character of each character is C,
When the number of characters is F , the dots on the dot matrix
Based on the number, the characters are assigned so that B>D> 0, and the quotient of (A−C × F) / F is added to the sentence.
The space between letters is B, and the number of dots corresponding to the remainder is
In accordance with the reading direction of the
Character allocation method characterized by allocating each character.
【請求項2】 複数行の各行の文字列の各文字を、前記
各行毎の読み方向に規定幅の方形の輪郭内に、それぞれ
割り付ける文字割付方法において、 前記輪郭の幅をAとし、前記文字の1個の文字幅をCと
し、文字数をFとしたときに、前記複数行のうち(A−
C×F)/Fの商Gが最小の行を最長行とすると共に、
前記最長行に対して、隣接する文字間の文字間余白寸法
の基準となる基準文字間余白寸法Bを決定し、これを基
準として、前記最長行およびそれ以外の他の行に対し
て、文字を割り付けることを特徴とする文字割付方法。
2. A character allocating method for allocating each character of a character string of each line of a plurality of lines into a rectangular contour of a specified width in the reading direction of each line, wherein the width of the contour is A and the character is When the character width of one of the lines is C and the number of characters is F, (A-
The row with the smallest quotient G of C × F) / F is the longest row, and
With respect to the longest line, a reference inter-character space dimension B, which serves as a reference for the inter-character space size between adjacent characters, is determined. Character allocation method characterized by allocating.
【請求項3】 前記最長行は、 前記輪郭の端と最端部の文字との端部余白寸法をDとし
たときに、前記基準文字間余白寸法Bとの関係が、B>
D>0となるように前記各文字を割り付けることを特徴
とする、請求項に記載の文字割付方法。
3. The longest line has a relationship between the reference character-to-character margin dimension B and B when the edge margin dimension between the edge of the contour and the character at the edge is D.
The character allocation method according to claim 2 , wherein the characters are allocated so that D> 0.
【請求項4】 前記最長行以外の行は、 文字幅をJとし、文字間余白寸法をKとし、文字数をH
個としたときに、 前記最長行の文字列と同一の文字列寸法E=J×H+K
×(H−1)=C×F+B×(F−1)の文字列を、 前後いずれか一方の端部の文字が、前記最長行の前記一
方の端部の文字と、その一方の端が揃うように割り付け
ることを特徴とする、請求項またはに記載の文字割
付方法。
4. In the lines other than the longest line, the character width is J, the inter-character space size is K, and the number of characters is H.
When the number of characters is the same, the same character string size E = J × H + K as the character string of the longest line.
X (H-1) = C * F + B * (F-1), a character at one of the front and rear ends is a character at the one end of the longest line, and one end thereof is The character allocating method according to claim 2 or 3 , wherein the characters are allocated so that they are aligned.
【請求項5】 前記最長行以外の行は、 文字数をH(H≦F)個としたときに、 隣接する文字間余白寸法を前記基準文字間余白寸法Bと
同一にした文字列寸法E=C×H+B×(H−1)の文
字列を、 その最前部の文字が前記最長行の最前部の文字と前端が
揃うように割り付けることを特徴とする、請求項また
に記載の文字割付方法。
5. In a line other than the longest line, when the number of characters is H (H.ltoreq.F), a character string size E = where the adjacent character space size is the same as the reference character space size B = strings C × H + B × (H -1), the character of the foremost characterized in that the allocated as characters and the front end of the foremost part of the longest row are aligned, claim 2 or <br/> is Character allocation method described in 3 .
【請求項6】 前記最長行以外の行は、 文字数をH(H≦F)個としたときに、 隣接する文字間余白寸法を前記基準文字間余白寸法Bと
同一にした文字列寸法E=C×H+B×(H−1)の文
字列を、 その中央位置が前記最長行の中央位置に揃うように割り
付けることを特徴とする、請求項またはに記載の文
字割付方法。
6. A line other than the longest line, where the number of characters is H (H.ltoreq.F), the character string size E = where the adjacent character space size is the same as the reference character space size B. strings C × H + B × (H -1), the center position is characterized in that allocated to align the center of the longest line, a character assignment method according to claim 2 or 3.
【請求項7】 前記最長行以外の行は、 文字数をH(H≦F)個としたときに、 隣接する文字間余白寸法を前記基準文字間余白寸法Bと
同一にした文字列寸法E=C×H+B×(H−1)の文
字列を、 その最後部の文字が前記最長行の最後部の文字と後端が
揃うように割り付けることを特徴とする、請求項また
に記載の文字割付方法。
7. A line other than the longest line, where the number of characters is H (H.ltoreq.F), a character string dimension E = where the adjacent inter-character space dimension is the same as the reference inter-character space dimension B. strings C × H + B × (H -1), character of the last portion, characterized in that the allocated as characters and the rear end of the last part of the longest row are aligned, claim 2 or <br/> Is the character allocation method described in 3 .
【請求項8】 読み方向に規定幅の方形の輪郭内に、1
行または複数行の各行の文字列の各文字を割り付ける文
字割付装置において、 前記輪郭の端と最端部の文字との端部余白寸法をDと
し、隣接する文字間の文字間余白寸法をBとしたとき
に、B>D>0となるように前記各文字を割り付ける文
字割付手段を備え 前記文字、前記端部余白寸法および前記文字間余白寸法
の、ドットマトリクス上のドッ ト数を基準として割り付
けられており、 前記文字割付手段は、 前記輪郭の幅をAとし、前記文字の1個の文字幅をCと
し、文字数をFとしたときに、(A−C×F)/Fを計
算し、その商を前記文字間余白寸法Bとする商ドット数
計算手段と、 前記計算の余りに相当するドット数を、文字の読み方向
に従って最前部の前記文字間余白から1ドットずつ割り
付ける余りドット数割付手段と、 を有する ことを特徴とする文字割付装置。
8. Within the rectangular contour of a specified width in the reading direction, 1
In a character allocating device for allocating each character of a character string of each line or a plurality of lines, the end margin size between the edge of the contour and the endmost character is D, and the inter-character margin size between adjacent characters is B. And a character allocating means for allocating each of the characters so that B>D> 0 , the character, the end margin dimension, and the inter-character margin dimension.
Of, with a split on the basis of the dot number of the dot matrix
The character allocating means sets the width of the contour to A and the character width of one of the characters to C.
Then, when the number of characters is F, (A-C x F) / F is calculated.
And the quotient is the quotient and the quotient is the space B between the characters
The calculation means and the number of dots corresponding to the remainder of the above calculation are used as the reading direction of the character.
1 dot is divided from the space between the characters at the forefront according to
A character allocating device, characterized in that it has means for allocating a surplus dot number .
【請求項9】 複数行の各行の文字列の各文字を、前記
各行毎の読み方向に規定幅の方形の輪郭内に、それぞれ
割り付ける文字割付装置において、 前記輪郭の幅をAとし、前記文字の1個の文字幅をCと
し、文字数をFとしたときに、前記複数行のうち(A−
C×F)/Fの商Gが最小の行を最長行と判別する最長
行判別手段と、 前記最長行に対して、隣接する文字間の文字間余白寸法
の基準となる基準文字間余白寸法Bを決定する基準文字
間余白寸法決定手段と、 前記基準文字間余白寸法Bを基準として、前記最長行に
対して文字を割り付ける最長行文字割付手段と、 前記基準文字間余白寸法Bを基準として、前記最長行以
外の他の行に対して文字を割り付ける他行文字割付手段
と、 を備えたことを特徴とする文字割付装置。
9. A character allocating device for allocating each character of a character string of each line of a plurality of lines into a rectangular outline having a specified width in the reading direction of each line, wherein the width of the outline is A, and the character is When the character width of one of the lines is C and the number of characters is F, (A-
And the longest line determination means C × F) / F quotient G to determine the minimum row and the longest line, with respect to the longest line, the reference character between the margin as a reference for inter-character margin size between adjacent text A reference character margin size determining means for determining the dimension B, a longest line character allocating means for allocating a character to the longest line with the reference character margin size B as a reference, and the reference character margin size B as a reference. And a character allocating means for allocating characters to a line other than the longest line, the character allocating device comprising:
【請求項10】 前記基準文字間余白寸法決定手段は、 前記輪郭の端と最長行の最端部の文字との端部余白寸法
を基準端部余白寸法Dとしたときに、前記基準文字間余
白寸法Bとの関係が、B>D>0となるように、前記基
準余白寸法Bと前記基準端部余白寸法Dを決定し、 前記最長行文字割付手段は、 前記基準文字間余白寸法Bを基準とし、かつ、前記端部
余白寸法が前記基準余白寸法Dとなるように前記最長行
の前記各文字を割り付けることを特徴とする、請求項
に記載の文字割付装置。
10. The reference character spacing margin dimension determining means determines the reference character spacing when the end margin dimension between the edge of the contour and the character at the end of the longest line is defined as a reference edge margin dimension D. The reference margin dimension B and the reference end margin dimension D are determined so that the relationship with the margin dimension B is B>D> 0, and the longest line character allocating means determines the reference character margin dimension B. was the reference, and is characterized by allocating each letter of the longest line as the edge margin size becomes the reference margin dimension D, claim 9
Character allocation device described in.
【請求項11】 前記他行文字割付手段は、 前記他の行の文字幅をJとし、文字間余白寸法をKと
し、文字数をH個としたときに、 前記最長行の文字列と同一の文字列寸法E=J×H+K
×(H−1)=C×F+B×(F−1)の文字列を生成
する割付文字列生成手段と、 前後いずれか一方の端部の文字が、前記最長行の前記一
方の端部の文字と、その一方の端が揃うように割り付け
る均等文字列割付手段と、 を有することを特徴とする、請求項または10に記載
の文字割付装置。
11. The other-line character allocating means, when the character width of the other line is J, the inter-character margin size is K, and the number of characters is H, it is the same as the character string of the longest line. Character string size E = J × H + K
Allocated character string generation means for generating a character string of × (H-1) = C × F + B × (F-1), and a character at either one of the front and rear ends of the character string at the one end of the longest line. The character allocating device according to claim 9 or 10 , further comprising: a character and a uniform character string allocating means for allocating the character so that one ends thereof are aligned.
【請求項12】 前記他行文字割付手段は、 前記他の行の文字数をH(H≦F)個としたときに、 隣接する文字間余白寸法を前記基準文字間余白寸法Bと
同一にした文字列寸法E=C×H+B×(H−1)の文
字列を生成する割付文字列生成手段と、 前記文字列の最前部の文字が前記最長行の最前部の文字
と前端が揃うように割り付ける前寄せ文字列割付手段
と、 を有することを特徴とする、請求項または10に記載
の文字割付装置。
12. The other-line character allocating means sets the adjacent inter-character margin size to be the same as the reference inter-character margin size B when the number of characters in the other line is H (H ≦ F). Allocated character string generation means for generating a character string having a character string size E = C × H + B × (H-1), and a front end character of the character string is aligned with a front end character of the longest line. The character allocating device according to claim 9 or 10 , further comprising: an advance character string allocating means for allocating.
【請求項13】 前記他行文字割付手段は、 前記他の行の文字数をH(H≦F)個としたときに、 隣接する文字間余白寸法を前記基準文字間余白寸法Bと
同一にした文字列寸法E=C×H+B×(H−1)の文
字列を生成する割付文字列生成手段と、 前記文字列の中央位置が前記最長行の中央位置に揃うよ
うに割り付ける中寄せ文字列割付手段と、 を有することを特徴とする、請求項または10に記載
の文字割付装置。
13. The other-line character allocating means sets an adjacent character margin size to be the same as the reference character margin size B when the number of characters in the other line is H (H ≦ F). Allocation character string generation means for generating a character string having a character string dimension E = C × H + B × (H−1), and centered character string allocation for arranging so that the central position of the character string is aligned with the central position of the longest line. The character allocating device according to claim 9 or 10 , further comprising:
【請求項14】 前記他行文字割付手段は、 前記他の行の文字数をH(H≦F)個としたときに、 隣接する文字間余白寸法を前記基準文字間余白寸法Bと
同一にした文字列寸法E=C×H+B×(H−1)の文
字列を生成する割付文字列生成手段と、 前記文字列の最後部の文字が前記最長行の最後部の文字
と後端が揃うように割り付ける後寄せ文字列割付手段
と、 を有することを特徴とする、請求項または10に記載
の文字割付装置。
14. The other-line character allocating means sets an adjacent character margin size to be the same as the reference character margin size B when the number of characters in the other line is H (H ≦ F). Allocated character string generation means for generating a character string having a character string size E = C × H + B × (H-1), and the rearmost character of the character string is aligned with the rearmost character of the last character of the longest line. The character allocating device according to claim 9 or 10 , characterized in that the character allocating means further comprises:
【請求項15】 読み方向に規定幅の方形の輪郭内に、
1行または複数行の各行の文字列の各文字を割り付ける
文字割付方法において、 前記輪郭内の空白部分に対する文字部分の面積比が一定
値以下となる場合に、前記各文字を横長に伸張した後割
り付けることを特徴とする文字割付方法。
15. Within a rectangular contour having a specified width in the reading direction,
In a character allocation method for allocating each character of a character string of each line of one line or a plurality of lines, when the area ratio of the character part to the blank part in the outline is a certain value or less, after expanding each character horizontally Character allocation method characterized by allocating.
【請求項16】 前記文字部分および前記空白部分は、
ドットマトリクス上のドット数を基準として割り付けら
れており、 前記面積比は、前記文字部分を構成するドット数と前記
空白部分のドット数とで計算されることを特徴とする、
請求項15に記載の文字割付方法。
16. The character portion and the blank portion are
Allocated based on the number of dots on the dot matrix, the area ratio is calculated by the number of dots forming the character portion and the number of dots of the blank portion,
The character allocation method according to claim 15 .
【請求項17】 前記輪郭内の割付幅をEとし、前記各17. The allocation width in the contour is E, and
文字の前記伸張の前の文字幅をC1とし、文字数をFとLet C1 be the character width before the expansion of the characters and F be the number of characters.
し、前記一定値をMとしたときに、前記面積比の計算にThen, when the fixed value is M, the area ratio is calculated.
より、((C1×F)/(E−C1×F))≦MとなるTherefore, ((C1 × F) / (E−C1 × F)) ≦ M
場合、((C2×F)/(E−C2×F))>MとなるIn the case, ((C2 × F) / (E−C2 × F))> M
文字幅C2を、前記伸張の後の各文字の文字幅とするこLet the character width C2 be the character width of each character after the expansion.
とを特徴とする、請求項16に記載の文字割付方法。The character allocation method according to claim 16, wherein:
【請求項18】 読み方向に規定幅の方形の輪郭内に、
1行または複数行の各行の文字列の各文字を割り付ける
文字割付装置において、 前記輪郭内の空白部分に対する文字部分の面積比を計算
する面積比計算手段と、 前記面積比計算手段の計算結果に基づいて、前記面積比
が一定値以下の場合に、前記各文字を横長に伸張した後
割り付ける文字伸張割付手段と、 を備えたことを特徴とする文字割付装置。
18. Within a rectangular contour of specified width in the reading direction,
In a character allocating device for allocating each character of a character string of each line of one line or a plurality of lines, an area ratio calculating unit for calculating an area ratio of a character portion to a blank portion in the contour, and a calculation result of the area ratio calculating unit, Based on the above, when the area ratio is less than or equal to a predetermined value, a character expansion allocating means for allocating the characters after expanding them horizontally and allocating the characters.
【請求項19】 前記文字部分および前記空白部分は、
ドットマトリクス上のドット数を基準として割り付けら
れており、 前記面積比計算手段は、前記文字部分を構成するドット
数と前記空白部分のドット数との比から、前記面積比を
計算することを特徴とする、請求項18に記載の文字割
付装置。
19. The character portion and the blank portion are
The area ratio is calculated based on the number of dots on the dot matrix, and the area ratio calculation unit calculates the area ratio from the ratio of the number of dots forming the character portion and the number of dots in the blank portion. The character allocating device according to claim 18 .
【請求項20】 文字伸張割付手段は、前記輪郭内の割20. The character expansion allocating means is an allocation within the contour.
付幅をEとし、前記各文字の前記伸張の前の文字幅をCThe width is E, and the character width of each character before the expansion is C
1とし、文字数をFとし、前記一定値をMとしたときWhen 1, the number of characters is F, and the constant value is M
に、前記面積比の計算により、((C1×F)/(E−Then, by the calculation of the area ratio, ((C1 × F) / (E-
C1×F))≦Mとなる場合、((C2×F)/(E−When (C1 × F)) ≦ M, ((C2 × F) / (E−
C2×F))>Mとなる文字幅C2を、前記伸張の後のThe character width C2 such that C2 × F))> M is
各文字の文字幅とすることを特徴とする、請求項19に20. The character width of each character is set in claim 19.
記載の文字割付装置。Character allocation device described.
JP29113996A 1995-12-28 1996-10-14 Character assignment method and device Expired - Fee Related JP3481799B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29113996A JP3481799B2 (en) 1995-12-28 1996-10-14 Character assignment method and device

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
JP7-341998 1995-12-28
JP34199195 1995-12-28
JP34199695 1995-12-28
JP7-341996 1995-12-28
JP7-341991 1995-12-28
JP34199895 1995-12-28
JP29113996A JP3481799B2 (en) 1995-12-28 1996-10-14 Character assignment method and device

Publications (2)

Publication Number Publication Date
JPH09234846A JPH09234846A (en) 1997-09-09
JP3481799B2 true JP3481799B2 (en) 2003-12-22

Family

ID=27479550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29113996A Expired - Fee Related JP3481799B2 (en) 1995-12-28 1996-10-14 Character assignment method and device

Country Status (1)

Country Link
JP (1) JP3481799B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100634150B1 (en) * 2004-03-02 2006-10-13 세이코 엡슨 가부시키가이샤 Device and method for producing bracket image, device and method for producing outer frame image, and recording medium
JP6132260B2 (en) 2013-07-30 2017-05-24 ブラザー工業株式会社 Print data editing program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
竹内均編集,「ワードプロセッサのすべて」,Newton別冊1,(株)教育社,1982年 5月20日,P.151,P.168,P.201

Also Published As

Publication number Publication date
JPH09234846A (en) 1997-09-09

Similar Documents

Publication Publication Date Title
JP3209492B2 (en) Seal making method and device
KR100487187B1 (en) Method and device for character assignment, picture drawing and signet drawing
JP3481799B2 (en) Character assignment method and device
JP3523969B2 (en) Seal making method and device
JPH09234847A (en) Method and apparatus for making image
JP3442230B2 (en) Seal image creation method and device, and seal creation device
JP3399332B2 (en) Method of creating divided image in tape printing apparatus, method of printing divided image, and apparatuses thereof
JP2004103036A (en) Image creation method and its device
KR100485196B1 (en) Character assignment method, image creation method, seal creation method and device
JPH09237078A (en) External character forming method in image forming device
US6298159B1 (en) Method and device for forming/processing character string image
JPH11198504A (en) Forming method of seal image nd apparatus thereof
JP3689550B2 (en) Image creating method and apparatus, and electronic apparatus equipped with the apparatus
JP3428792B2 (en) Electronics
JP3415992B2 (en) Printing method and apparatus
JP3278339B2 (en) Electronics
KR100442158B1 (en) Electronic device, processing method of processing object by electronic device, and operation guidance method of operator
JP3455094B2 (en) Seal character allocation method and device
US6283654B1 (en) Image-forming method and device and electronic apparatus incorporating the device
JP3587815B2 (en) Electronic equipment and method of processing workpiece by electronic equipment
JP3333373B2 (en) How to operate the controls
JPH11138907A (en) Method and apparatus for determining character size
JP3904624B2 (en) Seal making device
JP2000141776A (en) Electronic device
JPH11146191A (en) Reduced image generating method and its system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081010

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091010

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091010

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101010

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101010

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111010

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121010

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131010

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees