JPH04343165A - Document processor - Google Patents
Document processorInfo
- Publication number
- JPH04343165A JPH04343165A JP3115051A JP11505191A JPH04343165A JP H04343165 A JPH04343165 A JP H04343165A JP 3115051 A JP3115051 A JP 3115051A JP 11505191 A JP11505191 A JP 11505191A JP H04343165 A JPH04343165 A JP H04343165A
- Authority
- JP
- Japan
- Prior art keywords
- wavy
- horizontal
- vertical
- line
- lines
- 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.)
- Granted
Links
Landscapes
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】この発明は、日本語ワードプロセ
ッサや日本語による文書作成が可能なコンピュータなど
の文書処理装置に関し、特に、波形の罫線(以下波罫線
と略記する)を印字することが可能な文書処理装置に関
する。[Industrial Application Field] The present invention relates to a document processing device such as a Japanese word processor or a computer capable of creating documents in Japanese, and in particular, it is capable of printing wavy ruled lines (hereinafter abbreviated as wavy ruled lines). The present invention relates to a document processing device.
【0002】0002
【従来の技術】従来、この種の文書処理装置においては
、波罫線で枠形を印刷する場合には、直線の罫線と同じ
処理でパターンを発生していた。2. Description of the Related Art Conventionally, in this type of document processing apparatus, when printing a frame shape with wavy ruled lines, a pattern is generated using the same process as with straight ruled lines.
【0003】0003
【発明が解決しようとする課題】しかしながら、このよ
うに、直線の罫線と同じ処理でパターンを発生すること
によって、波罫線で枠形を印刷した場合には、図7に示
すように、角に隙間やはみ出しが発生する。[Problem to be Solved by the Invention] However, when printing a frame shape with wavy ruled lines by generating a pattern using the same process as with straight ruled lines, as shown in FIG. Gaps and protrusions occur.
【0004】この発明は、このような事情を考慮してな
されたもので、波罫線の縦線や横線の長さを制御するこ
とにより、角で隙間やはみ出しが発生することを防止す
るようにした文書処理装置を提供するものである。[0004] The present invention was made in consideration of the above circumstances, and it is possible to prevent gaps and protrusion from occurring at corners by controlling the lengths of the vertical lines and horizontal lines of the wavy ruled lines. The present invention provides a document processing device that provides the following features.
【0005】[0005]
【課題を解決するための手段】図1はこの発明の構成を
示すブロック図である。図に示すように、この発明は、
縦波線の印刷イメージを発生させる縦波線発生手段10
1と、横波線の印刷イメージを発生させる横波線発生手
段102と、縦波線発生手段101から発生された縦波
線の印刷イメージと横波線発生手段102から発生され
た横波線の印刷イメージから枠形の印刷イメージを所定
の位置に印刷するに際し、印刷すべき波線が枠形の四隅
の内のどの位置の印刷イメージであるのかの位置情報を
出力する位置情報出力手段103と、位置情報出力手段
103から出力された位置情報に基づき、枠形の各四隅
において、縦波線が横波線からはみ出ないように、横波
線に当接するまで縦波線の印刷イメージの長さを制御す
る縦波線長制御手段104と、位置情報出力手段103
から出力された位置情報に基づき、枠形の各四隅におい
て、横波線が縦波線からはみ出ないように、縦波線に当
接するまで横波線の印刷イメージの長さを制御する横波
線長制御手段105と、縦波線長制御手段104によっ
て制御された縦波線の印刷イメージと、横波線長制御手
段105によって制御された横波線の印刷イメージとを
合成し、枠形の各四隅の印刷イメージを決定する縦横線
合成手段106と、縦横線合成手段106によって各四
隅の印刷イメージの決定された枠形を所定の位置に印刷
する印刷手段107を備えてなる文書処理装置である。[Means for Solving the Problems] FIG. 1 is a block diagram showing the configuration of the present invention. As shown in the figure, this invention:
Vertical wavy line generating means 10 for generating a print image of vertical wavy lines
1, a horizontal wavy line generating means 102 that generates a horizontal wavy line print image, and a frame shape from the vertical wavy line print image generated from the vertical wavy line generating means 101 and the horizontal wavy line print image generated from the horizontal wavy line generating means 102. When printing a print image at a predetermined position, a position information output means 103 outputs position information indicating which position of the print image among the four corners of the frame the wavy line to be printed is, and a position information output means 103 Vertical wavy line length control means 104 that controls the length of the printed image of the vertical wavy lines at each of the four corners of the frame until the vertical wavy lines come into contact with the horizontal wavy lines so that the vertical wavy lines do not protrude from the horizontal wavy lines, based on the position information output from the frame. and position information output means 103
horizontal wavy line length control means 105 for controlling the length of the printed image of the horizontal wavy lines at each of the four corners of the frame until the horizontal wavy lines come into contact with the vertical wavy lines so that the horizontal wavy lines do not protrude from the vertical wavy lines, based on the position information output from the frame shape; The print image of the vertical wavy line controlled by the vertical wavy line length control means 104 and the print image of the horizontal wavy line controlled by the horizontal wavy line length control means 105 are combined to determine the print image of each of the four corners of the frame shape. This document processing apparatus includes vertical and horizontal line compositing means 106, and printing means 107 for printing the frame shape of the print image at each of the four corners determined by the vertical and horizontal line composing means 106 at a predetermined position.
【0006】なお、この発明における縦波線発生手段1
01、横波線発生手段102、位置情報検出手段103
、縦波線長制御手段104、横波線長制御手段105、
及び縦横線合成手段106としては、CPU,ROM,
RAM,I/Oポートからなるマイクロコンピュータを
用いるのが便利である。Note that the longitudinal wavy line generating means 1 in this invention
01, horizontal wavy line generation means 102, position information detection means 103
, longitudinal wavy line length control means 104, horizontal wavy line length control means 105,
The vertical and horizontal line combining means 106 includes a CPU, ROM,
It is convenient to use a microcomputer consisting of RAM and I/O ports.
【0007】印刷手段107としては、熱転写プリンタ
、レーザプリンタ、ドットインパクトプリンタ、インク
ジェットプリンタ等の各種のプリンタが用いられる。[0007] As the printing means 107, various printers such as a thermal transfer printer, a laser printer, a dot impact printer, an inkjet printer, etc. are used.
【0008】[0008]
【作用】この発明によれば、所定の位置に波線で枠形が
印刷されるときには、縦波線発生手段101と横波線発
生手段102により、縦波線の印刷イメージと横波線の
印刷イメージとが発生され、それとともに、印刷すべき
波線が枠形の四隅の内のどの位置の印刷イメージである
のかの位置情報が、位置情報出力手段103から出力さ
れる。According to the present invention, when a frame shape is printed with wavy lines at a predetermined position, the vertical wavy line generating means 101 and the horizontal wavy line generating means 102 generate a vertical wavy line print image and a horizontal wavy line print image. At the same time, position information indicating which position of the print image of the four corners of the frame the wavy line to be printed is is output from the position information output means 103.
【0009】この位置情報に基づき、縦波線長制御手段
104と横波線長制御手段105とにより、枠形の各四
隅において、縦波線の印刷イメージの長さと横波線の印
刷イメージの長さが、それぞれ当接してはみ出ないよう
に制御される。Based on this position information, the length of the vertical wavy line print image and the length of the horizontal wavy line print image are determined by the vertical wavy line length control means 104 and the horizontal wavy line length control means 105 at each of the four corners of the frame shape. They are controlled so that they are in contact with each other and do not protrude.
【0010】そして、縦横線合成手段106により、長
さの制御された縦波線の印刷イメージと横波線の印刷イ
メージとが合成されて、枠形の各四隅の印刷イメージが
決定され、印刷手段107により、決定された各四隅の
印刷イメージの枠形が所定の位置に印刷される。[0010]The vertical and horizontal line composition means 106 then composes the print image of vertical wavy lines whose lengths are controlled and the print image of horizontal wavy lines, and determines the print image of each of the four corners of the frame. As a result, the determined frame shape of the print image at each of the four corners is printed at a predetermined position.
【0011】したがって、縦波線と横波線とはそれぞれ
当接してはみ出さないので、縦波線と横波線とのはみ出
しや隙間の発生が防止される。[0011] Therefore, since the vertical wavy lines and the horizontal wavy lines are in contact with each other and do not protrude, the protrusion of the vertical wavy lines and the horizontal wavy lines and the generation of gaps are prevented.
【0012】0012
【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。なお、この発明はこれによって限定される
ものではない。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on embodiments shown in the drawings. Note that this invention is not limited to this.
【0013】図2はこの発明を日本語ワードプロセッサ
に適用した一実施例の構成を示すブロック図である。な
お、この実施例においては、枠形を波形の罫線(以下波
罫線と略記する)で印刷する場合に必要な構成のみを説
明する。FIG. 2 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a Japanese word processor. In this embodiment, only the configuration necessary for printing a frame with wavy ruled lines (hereinafter abbreviated as wavy ruled lines) will be described.
【0014】図2において、1は縦波線発生部、2は横
波線発生部、3は罫線位置情報出力部、4は左右選択部
、5は上下選択部、6は縦波線右塗り潰し部、7は縦波
線左塗り潰し部、8は横波線上塗り潰し部、9は横波線
下塗り潰し部、10は縦波線長制御部、11は横波線長
制御部、12は縦線横線合成部、13は罫線データ生成
部であり、これらは、CPU,ROM,RAM,I/O
ポートからなるマイクロコンピュータによって構成され
ている。以下に各構成要素を詳述する。In FIG. 2, 1 is a vertical wavy line generation section, 2 is a horizontal wavy line generation section, 3 is a ruled line position information output section, 4 is a left/right selection section, 5 is an up/down selection section, 6 is a vertical wavy line right filling section, 7 is the vertical wavy line left filled part, 8 is the horizontal wavy line upper filled part, 9 is the horizontal wavy line bottom filled part, 10 is the vertical wavy line length control part, 11 is the horizontal wavy line length control part, 12 is the vertical and horizontal line combination part, and 13 is the ruled line data. It is a generation unit, and these are CPU, ROM, RAM, I/O
It consists of a microcomputer consisting of ports. Each component will be explained in detail below.
【0015】縦波線発生部1は縦波罫線の印刷イメージ
を発生させる(図3(a)の左図参照)。横波線発生部
2は、横波罫線の印刷イメージを発生させる(図3(b
)の左図参照)。罫線位置情報出力部3は、縦波線発生
部1から発生された縦波罫線の印刷イメージと、横波線
発生部2から発生された横波罫線の印刷イメージから枠
形の印刷イメージを所定の位置に印刷するに際し、印刷
すべき波罫線が、枠形の四隅の内のどの位置の印刷イメ
ージであるのかの罫線位置情報を出力する。The vertical wavy line generating section 1 generates a print image of vertical wavy ruled lines (see the left diagram in FIG. 3(a)). The horizontal wavy line generation unit 2 generates a print image of horizontal wavy ruled lines (see FIG. 3(b)
). The ruled line position information output unit 3 outputs a frame-shaped print image at a predetermined position from the vertical wave ruled line print image generated from the vertical wave line generating unit 1 and the horizontal wave ruled line print image generated from the horizontal wave line generating unit 2. When printing, ruled line position information indicating the position of the printed image among the four corners of the frame where the wavy ruled line to be printed is located is output.
【0016】左右選択部4は、罫線位置情報出力部3か
ら出力された罫線位置情報に基づき、縦波線発生部1か
ら発生された縦波罫線の印刷イメージについて、その右
側を塗り潰すのか左側を塗り潰すのかを選択する。つま
り、縦波罫線の右側部分のドットをオンにしたパターン
を生成するのか、左側部分のドットをオンにしたパター
ンを生成するのかを選択する。上下選択部5は、罫線位
置情報出力部3から出力された罫線位置情報に基づき、
横波線発生部2から発生された横波罫線の印刷イメージ
について、その上側を塗り潰すのか下側を塗り潰すのか
を選択する。つまり、横波罫線の上側部分のドットをオ
ンにしたパターンを生成するのか、下側部分のドットを
オンにしたパターンを生成するのかを選択する。Based on the ruled line position information output from the ruled line position information output unit 3, the left/right selection unit 4 selects whether to fill out the right side or the left side of the print image of the vertically wavy ruled line generated from the vertical wavy line generating unit 1. Choose whether to fill it in or not. In other words, it is selected whether to generate a pattern in which the dots on the right side of the vertical ruled line are turned on or a pattern in which the dots on the left side of the longitudinal wave ruled line are turned on. Based on the ruled line position information output from the ruled line position information output unit 3, the upper and lower selection unit 5 selects
Regarding the print image of the horizontal wavy ruled line generated by the horizontal wavy line generation section 2, it is selected whether to fill in the upper side or the lower side. In other words, it is selected whether to generate a pattern in which the dots in the upper part of the horizontal wave ruled line are turned on or a pattern in which the dots in the lower part of the horizontal wave ruled line are turned on.
【0017】縦波線右塗り潰し部6は、左右選択部4に
よって縦波罫線の印刷イメージの右側を塗り潰すことが
選択されたときに、縦波罫線の右側を塗り潰す(図3(
a)参照)。つまり、縦波罫線の右側部分のドットをオ
ンにしたパターンを生成する。縦波線左塗り潰し部7は
、左右選択部4によって縦波罫線の印刷イメージの左側
を塗り潰すことが選択されたときに、縦波罫線の左側を
塗り潰す。つまり、縦波罫線の左側部分のドットをオン
にしたパターン生成する。The vertical wavy line right filling section 6 fills in the right side of the vertical wavy ruled line when the right side of the print image of the vertical wavy ruled line is selected by the left/right selection section 4 (see FIG. 3).
a)). In other words, a pattern is generated in which the dots on the right side of the vertical ruled line are turned on. The vertical wavy line left filling section 7 fills in the left side of the vertical wavy ruled line when the right and left selection section 4 selects to fill in the left side of the print image of the vertical wavy ruled line. In other words, a pattern is generated in which the dots on the left side of the vertical ruled line are turned on.
【0018】横波線上塗り潰し部8は、上下選択部5に
よって横波罫線の印刷イメージの上側を塗り潰すことが
選択されたときに、横波罫線の上側を塗り潰す。つまり
、横波罫線の上側部分のドットをオンにしたパターンを
生成する。横波線下塗り潰し部9は、上下選択部5によ
って横波罫線の印刷イメージの下側を塗り潰すことが選
択されたときに、横波罫線の下側を塗り潰す(図3(b
)参照)。つまり、横波罫線の下側部分のドットをオン
にしたパターンを生成する。The horizontal wavy line upper filling section 8 fills in the upper side of the horizontal wavy ruled line when the upper/lower selection section 5 selects to fill in the upper side of the printed image of the horizontal wavy ruled line. In other words, a pattern is generated in which the dots above the horizontally wavy ruled line are turned on. The horizontal wavy line lower filling section 9 fills in the lower side of the horizontal wavy ruled line when the upper and lower selection section 5 selects to fill in the lower side of the printed image of the horizontal wavy ruled line (FIG. 3(b)
)reference). In other words, a pattern is generated in which the dots below the horizontal wave ruled line are turned on.
【0019】縦波線長制御部10は、枠形の各四隅にお
いて、縦波罫線が横波罫線からはみ出ないように、横波
罫線に当接するまで縦波罫線の印刷イメージの長さを制
御する。すなわち、枠形の左上隅又は右上隅においては
、縦波線発生部1から発生された縦波罫線のパターンと
、横波線下塗り潰し部9によって下側部分のドットがオ
ンにされたパターンとの論理積(AND)をとることに
より、縦波罫線の印刷イメージの長さを制御する(図4
(a)参照)。また、枠形の左下隅又は右下隅において
は、縦波線発生部1から発生された縦波罫線のパターン
と、横波線上塗り潰し部8によって上側部分のドットが
オンにされたパターンとの論理積をとることにより、縦
波罫線の印刷イメージの長さを制御する。The vertical wavy line length control section 10 controls the length of the print image of the vertical wavy ruled line at each of the four corners of the frame shape so that the vertical wavy ruled line does not protrude from the horizontal wavy ruled line until it comes into contact with the horizontal wavy ruled line. That is, in the upper left corner or the upper right corner of the frame shape, the logic between the vertical wavy ruled line pattern generated by the vertical wavy line generation section 1 and the pattern in which the dots in the lower part are turned on by the horizontal wavy line bottom filling section 9 is determined. By taking the product (AND), the length of the printed image of vertically wavy ruled lines is controlled (Figure 4
(see (a)). In addition, in the lower left corner or lower right corner of the frame shape, the logical product of the vertical wavy ruled line pattern generated by the vertical wavy line generation section 1 and the pattern in which the dots in the upper part are turned on by the horizontal wavy line upper filling section 8 is performed. The length of the printed image of the longitudinally wavy ruled line is controlled by taking the length of the vertically wavy ruled line.
【0020】横波線長制御部11は、枠形の各四隅にお
いて、横波罫線が縦波罫線からはみ出ないように、縦波
罫線に当接するまで横波罫線の印刷イメージの長さを制
御する。すなわち、枠形の左上隅又は左下隅においては
、横波線発生部2から発生された横波罫線のパターンと
、縦波線右塗り潰し部6によって右側部分のドットがオ
ンにされたパターンとの論理積をとることにより、横波
罫線の印刷イメージの長さを制御する(図4(b)参照
)。また、枠形の右上隅又は右下隅においては、横波線
発生部2から発生された横波罫線のパターンと、縦波線
左塗り潰し部7によって左側部分のドットがオンにされ
たパターンとの論理積をとることにより、横波罫線の印
刷イメージの長さを制御する。The horizontal wavy line length control unit 11 controls the length of the printed image of the horizontal wavy ruled line at each of the four corners of the frame shape so that the horizontal wavy ruled line does not protrude from the vertical wavy ruled line until it comes into contact with the vertical wavy ruled line. That is, in the upper left corner or lower left corner of the frame shape, the logical product of the horizontal wavy ruled line pattern generated by the horizontal wavy line generation section 2 and the pattern in which the dots on the right side are turned on by the vertical wavy line right filling section 6 is performed. The length of the printed image of the horizontally wavy ruled line is controlled by controlling the length of the printed image (see FIG. 4(b)). In addition, in the upper right corner or lower right corner of the frame shape, the logical product of the horizontal wavy ruled line pattern generated by the horizontal wavy line generation section 2 and the pattern in which the dots on the left side are turned on by the vertical wavy line left filling section 7 is performed. The length of the printed image of the horizontal wavy ruled line is controlled by taking the horizontal wavy ruled line.
【0021】縦線横線合成部12は、縦波線長制御部1
0によって制御された長さの縦波線の印刷イメージと、
横波線長制御部11によって制御された長さの横波線の
印刷イメージとを合成し、枠形の各四隅の印刷イメージ
を決定する。すなわち、長さの制御された縦波罫線と横
波罫線とのパターンの論理和(OR)をとることにより
、枠形の各四隅の印刷イメージを決定する(図4(c)
参照)。The vertical line/horizontal line combining section 12 includes a vertical wavy line length control section 1
a printed image of a vertical wavy line with a length controlled by 0;
The print image of the horizontal wavy line having the length controlled by the horizontal wavy line length control unit 11 is combined to determine the print image of each of the four corners of the frame shape. In other words, the print image of each of the four corners of the frame shape is determined by taking the logical sum (OR) of patterns of vertical and horizontal ruled lines whose lengths are controlled (FIG. 4(c)).
reference).
【0022】罫線データ生成部13は、縦線横線合成部
12によって各四隅の印刷イメージの決定された枠形の
罫線データをドットプリンタ(図示しない)に出力し、
これにより、所定の位置に枠形の波罫線が印刷される。The ruled line data generating section 13 outputs the frame-shaped ruled line data for which the print image of each of the four corners has been determined by the vertical line/horizontal line combining section 12 to a dot printer (not shown).
As a result, frame-shaped wavy ruled lines are printed at predetermined positions.
【0023】この処理を左上隅の場合を例に挙げて説明
する。左上隅の場合には、まず、縦パターンと横パター
ンを別々に展開する。次に、図3(b)の左に示したパ
ターンを元に、図3(b)の右に示した、線より下の部
分のドットをオンにしたパターンを生成する。このパタ
ーンの生成は、縦方向に上のドットからチェックしてゆ
き、最初にオンのドットを見つけるとそれより下のドッ
トをオンにセットするようにすればよい。同様に、図3
(a)の左に示したパターンを元に、図3(a)の右に
示した、線より右の部分のドットをオンにしたパターン
を生成する。次に、横線については、図3(b)の左に
示したパターンと図3(a)の右に示したパターンとの
論理積をとる(図4(b)参照)。同じく、縦線につい
ては、図3(a)の左に示したパターンと図3(b)の
右に示したパターンとの論理積をとる(図4(a)参照
)。最後に、図4(a)の右に示したパターンと図4(
b)の右に示したパターンとの論理和をとると、左上角
のパターンができ上る(図4(c)参照)。This process will be explained using the case of the upper left corner as an example. In the case of the upper left corner, first, the vertical pattern and horizontal pattern are developed separately. Next, based on the pattern shown on the left side of FIG. 3(b), a pattern shown on the right side of FIG. 3(b) in which the dots below the line are turned on is generated. To generate this pattern, check the dots vertically starting from the top, and when you find the first dot that is on, set the dots below it to on. Similarly, Figure 3
Based on the pattern shown on the left in FIG. 3A, a pattern in which dots on the right side of the line are turned on, shown on the right in FIG. 3A, is generated. Next, regarding the horizontal line, the logical product of the pattern shown on the left side of FIG. 3(b) and the pattern shown on the right side of FIG. 3(a) is calculated (see FIG. 4(b)). Similarly, for the vertical line, the logical product of the pattern shown on the left side of FIG. 3(a) and the pattern shown on the right side of FIG. 3(b) is calculated (see FIG. 4(a)). Finally, the pattern shown on the right side of Figure 4(a) and the pattern shown on the right side of Figure 4(a)
By performing a logical OR with the pattern shown on the right in b), the pattern in the upper left corner is created (see FIG. 4(c)).
【0024】図5は左上角における波罫線のパターン例
を示す説明図である。図において、Aはドットプリンタ
のヘッド幅を示しており、図5(a)は発生した印刷イ
メージデータを示し、図5(b)は展開した印刷イメー
ジデータを示している。FIG. 5 is an explanatory diagram showing an example of a pattern of wavy ruled lines in the upper left corner. In the figure, A indicates the head width of the dot printer, FIG. 5(a) shows generated print image data, and FIG. 5(b) shows developed print image data.
【0025】この左上角のように、右上、左下、右下の
各角についても同様に作成することができる。例えば、
右下の場合であれば、図3(a)の左図を元に線より左
をオンにしたパターンと、図3(b)の左図を元に線よ
り上をオンにしたパターンを作成し、あとは左上角と同
様の処理を行うことによりパターンを生成することがで
きる。Like this upper left corner, the upper right, lower left, and lower right corners can be created in the same way. for example,
In the case of the lower right, create a pattern that turns on the left side of the line based on the left diagram of Figure 3 (a), and a pattern that turns on the area above the line based on the left diagram of Figure 3 (b). After that, a pattern can be generated by performing the same processing as for the upper left corner.
【0026】次に、CPU2の処理動作の内容を図6に
示すフローチャートに従い説明する。Next, the contents of the processing operation of the CPU 2 will be explained according to the flowchart shown in FIG.
【0027】まず、所定の位置に波罫線で枠形が印刷さ
れるときには、まず、縦波線発生部1によって縦波罫線
が生成され(ステップ21)、さらに横波線発生部2に
よって横波罫線が生成される(ステップ22)。次に、
四隅の内のどの部分であるのかにより(ステップ23)
、以下の処理が行われる。First, when a frame shape is printed with wavy ruled lines at a predetermined position, first, the vertical wavy line generation section 1 generates the vertical wavy ruled lines (step 21), and then the horizontal wavy line generation section 2 generates the horizontal wavy ruled lines. (step 22). next,
Depending on which part of the four corners it is (Step 23)
, the following processing is performed.
【0028】すなわち、左上のときには、縦波罫線の右
側が塗り潰されるとともに(ステップ24)、横波罫線
の下側が塗り潰される(ステップ25)。右上のときに
は、縦波罫線の左側が塗り潰されるとともに(ステップ
26)、横波罫線の下側が塗り潰される(ステップ27
)。左下のときには、縦波罫線の右側が塗り潰されると
ともに(ステップ28)、横波罫線の上側が塗り潰され
る(ステップ29)。右下のときには、縦波罫線の左側
が塗り潰されるとともに(ステップ30)、横波罫線の
上側が塗り潰される(ステップ31)。That is, at the top left, the right side of the vertical wave ruled line is filled in (step 24), and the lower side of the horizontal wave ruled line is filled in (step 25). At the top right, the left side of the vertical wave ruled line is filled in (step 26), and the lower side of the horizontal wave ruled line is filled in (step 27).
). When it is at the lower left, the right side of the vertical wave ruled line is filled in (step 28), and the upper side of the horizontal wave ruled line is filled in (step 29). At the bottom right, the left side of the vertical wave ruled line is filled in (step 30), and the upper side of the horizontal wave ruled line is filled in (step 31).
【0029】この後、縦波線長制御部10により、縦波
罫線の印刷イメージパターンの長さが制御される。すな
わち、縦波罫線のパターンと、ドットがオンにされた横
波罫線のパターンとの論理積がとられる(ステップ32
)。さらに横波線長制御部11により、横波罫線の印刷
イメージパターンの長さが制御される。すなわち、横波
罫線のパターンと、ドットがオンにされた縦波罫線のパ
ターンとの論理積がとられる(ステップ33)。Thereafter, the length of the print image pattern of the longitudinal wavy ruled lines is controlled by the longitudinal wavy line length control section 10. That is, the logical product of the vertical wave ruled line pattern and the horizontal wave ruled line pattern with dots turned on is taken (step 32).
). Furthermore, the horizontal wavy line length control section 11 controls the length of the horizontal wavy ruled line in the printed image pattern. That is, the logical product of the horizontal wave ruled line pattern and the vertical wave ruled line pattern with dots turned on is calculated (step 33).
【0030】そして、縦線横線合成部12により、縦波
罫線の印刷イメージと横波罫線の印刷イメージとが合成
され、枠形の各四隅の印刷イメージが決定される。すな
わち、縦波罫線と横波罫線とのパターンの論理和がとら
れて、枠形の各四隅の印刷イメージが決定される(ステ
ップ34)。Then, the vertical line/horizontal line synthesis section 12 synthesizes the print image of the vertical wave ruled line and the print image of the horizontal wave ruled line, and determines the print image of each of the four corners of the frame shape. That is, the patterns of vertical and horizontal ruled lines are logically summed to determine the print image of each of the four corners of the frame (step 34).
【0031】このようにして、波罫線で枠形を印刷する
場合には、縦波罫線と横波罫線の長さを制御することに
より、四隅における、はみ出しや隙間の発生を防止する
ことができる。In this way, when printing a frame shape with wavy ruled lines, by controlling the lengths of the vertical wavy ruled lines and the horizontal wavy ruled lines, it is possible to prevent protrusion or gaps from occurring at the four corners.
【0032】[0032]
【発明の効果】この発明によれば、波線で枠形を印刷す
る場合には、枠形の各四隅において、横波線から縦波線
がはみ出さないように、また縦波線から横波線がはみ出
さないように、それぞれ縦波線と横波線の印刷イメージ
の長さを制御するようにしたので、四隅で、縦波線や横
波線がはみ出したり、縦波線と横波線との間に隙間の発
生することを防止することができる。According to the present invention, when printing a frame shape with wavy lines, at each of the four corners of the frame shape, the vertical wavy lines should not protrude from the horizontal wavy lines, and the horizontal wavy lines should not protrude from the vertical wavy lines. Since we have controlled the length of the printed image of vertical wavy lines and horizontal wavy lines, respectively, to prevent vertical wavy lines and horizontal wavy lines from protruding at the four corners, or gaps between vertical wavy lines and horizontal wavy lines. can be prevented.
【図1】この発明の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of the present invention.
【図2】この発明を日本語ワードプロセッサに適用した
一実施例の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a Japanese word processor.
【図3】縦波罫線と横波罫線の塗り潰しの例を示す説明
図。FIG. 3 is an explanatory diagram showing an example of filling in vertically wavy ruled lines and horizontal wavy ruled lines.
【図4】縦波罫線と横波罫線の論理積と論理和の例を示
す説明図。FIG. 4 is an explanatory diagram showing an example of logical product and logical sum of vertically wavy ruled lines and horizontal wavy ruled lines.
【図5】左上角における波罫線のパターン例を示す説明
図。FIG. 5 is an explanatory diagram showing an example of a pattern of wavy ruled lines in the upper left corner.
【図6】実施例の動作を示すフローチャート。FIG. 6 is a flowchart showing the operation of the embodiment.
【図7】従来の文書処理装置において波罫線で枠形を印
刷した場合の例を示す説明図。FIG. 7 is an explanatory diagram showing an example of printing a frame shape with wavy ruled lines in a conventional document processing device.
1 縦波線発生部 2 横波線発生部 3 罫線位置情報出力部 4 左右選択部 5 上下選択部 6 縦波線右塗り潰し部 7 縦波線左塗り潰し部 8 横波線上塗り潰し部 9 横波線下塗り潰し部 10 縦波線長制御部 11 横波線長制御部 12 縦線横線合成部 13 罫線データ生成部 1 Vertical wavy line generation part 2 Horizontal wavy line generation part 3 Ruled line position information output section 4 Left and right selection section 5 Upper and lower selection section 6 Vertical wavy line right filled area 7 Vertical wavy line left filled part 8 Filled area above horizontal wavy line 9 Horizontal wavy line bottom filled part 10 Vertical wave line length control section 11 Transverse wave line length control section 12 Vertical line horizontal line composition part 13 Ruled line data generation section
Claims (1)
波線発生手段と、横波線の印刷イメージを発生させる横
波線発生手段と、縦波線発生手段から発生された縦波線
の印刷イメージと横波線発生手段から発生された横波線
の印刷イメージから枠形の印刷イメージを所定の位置に
印刷するに際し、印刷すべき波線が枠形の四隅の内のど
の位置の印刷イメージであるのかの位置情報を出力する
位置情報出力手段と、位置情報出力手段から出力された
位置情報に基づき、枠形の各四隅において、縦波線が横
波線からはみ出ないように、横波線に当接するまで縦波
線の印刷イメージの長さを制御する縦波線長制御手段と
、位置情報検出手段から出力された位置情報に基づき、
枠形の各四隅において、横波線が縦波線からはみ出ない
ように、縦波線に当接するまで横波線の印刷イメージの
長さを制御する横波線長制御手段と、縦波線長制御手段
によって制御された縦波線の印刷イメージと、横波線長
制御手段によって制御された横波線の印刷イメージとを
合成し、枠形の各四隅の印刷イメージを決定する縦横線
合成手段と、縦横線合成手段によって各四隅の印刷イメ
ージの決定された枠形を所定の位置に印刷する印刷手段
を備えてなる文書処理装置。1. Vertical wavy line generation means for generating a print image of vertical wavy lines, horizontal wavy line generation means for generating a print image of horizontal wavy lines, and a vertical wavy line print image and horizontal wavy line generation generated from the vertical wavy line generation means. When printing a frame-shaped print image at a predetermined position from a print image of horizontal wavy lines generated from the means, output position information indicating which position of the print image of the four corners of the frame the wavy line to be printed is. Based on the position information output from the position information output means, the print image of the vertical wavy lines is printed at each of the four corners of the frame so that the vertical wavy lines do not protrude from the horizontal wavy lines until they come into contact with the horizontal wavy lines. Based on the vertical wave line length control means for controlling the length and the position information output from the position information detection means,
At each of the four corners of the frame, the length of the printed image of the horizontal wavy line is controlled by a horizontal wavy line length control means and a vertical wavy line length control means for controlling the length of the printed image of the horizontal wavy line until it touches the vertical wavy line so that the horizontal wavy line does not protrude from the vertical wavy line. Vertical and horizontal line compositing means which combines the printed image of the vertical wavy lines controlled by the horizontal wavy line length control means and the printed image of the horizontal wavy lines controlled by the horizontal wavy line length control means, and determines the printed image of each of the four corners of the frame shape; A document processing device comprising printing means for printing determined frame shapes of a print image at four corners at predetermined positions.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03115051A JP3083584B2 (en) | 1991-05-20 | 1991-05-20 | Document processing device with wavy image generation function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03115051A JP3083584B2 (en) | 1991-05-20 | 1991-05-20 | Document processing device with wavy image generation function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04343165A true JPH04343165A (en) | 1992-11-30 |
| JP3083584B2 JP3083584B2 (en) | 2000-09-04 |
Family
ID=14652967
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP03115051A Expired - Fee Related JP3083584B2 (en) | 1991-05-20 | 1991-05-20 | Document processing device with wavy image generation function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3083584B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5848132A (en) * | 1981-09-16 | 1983-03-22 | Fujitsu Ltd | Ruled-line input and output control system |
| JPS636657A (en) * | 1986-06-27 | 1988-01-12 | Casio Comput Co Ltd | Ruled line creation device |
-
1991
- 1991-05-20 JP JP03115051A patent/JP3083584B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5848132A (en) * | 1981-09-16 | 1983-03-22 | Fujitsu Ltd | Ruled-line input and output control system |
| JPS636657A (en) * | 1986-06-27 | 1988-01-12 | Casio Comput Co Ltd | Ruled line creation device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3083584B2 (en) | 2000-09-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5548690A (en) | Printing apparatus | |
| EP0422793B1 (en) | Graphics scaling method for high resolution printers | |
| WO2003032256A1 (en) | Method of preparing bit map | |
| KR930000021B1 (en) | Bar code printing method and apparatus | |
| JP3016515B2 (en) | Character processing apparatus and method | |
| JP3083584B2 (en) | Document processing device with wavy image generation function | |
| JPH0320791A (en) | Dot pattern data generating device | |
| JPH0747337B2 (en) | output method | |
| JPS5941051A (en) | character pattern generator | |
| JP3137002B2 (en) | Print data generation method, print data generation device, and print system including print data generation device | |
| JP2699386B2 (en) | Image recording device | |
| JP2606586B2 (en) | Data output device | |
| JP2606589B2 (en) | Data output device | |
| JP2606587B2 (en) | Data output device | |
| JP2771629B2 (en) | Character processor | |
| JP2878715B2 (en) | Document creation device | |
| JP2606588B2 (en) | Data output device | |
| JPH0242675B2 (en) | ||
| JPH06100905B2 (en) | Pattern output method | |
| JP3003266B2 (en) | Serial printer | |
| JPH078589B2 (en) | Recording control device | |
| JPH0713790B2 (en) | Character output method | |
| JPH04120594A (en) | data conversion device | |
| JPH0583382B2 (en) | ||
| JPH04350897A (en) | Method and device for generating character |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090630 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |