JPS63304364A - Document producing device - Google Patents

Document producing device

Info

Publication number
JPS63304364A
JPS63304364A JP62140278A JP14027887A JPS63304364A JP S63304364 A JPS63304364 A JP S63304364A JP 62140278 A JP62140278 A JP 62140278A JP 14027887 A JP14027887 A JP 14027887A JP S63304364 A JPS63304364 A JP S63304364A
Authority
JP
Japan
Prior art keywords
format
area
print
image information
section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62140278A
Other languages
Japanese (ja)
Inventor
Takahiko Chuma
中馬 高彦
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62140278A priority Critical patent/JPS63304364A/en
Publication of JPS63304364A publication Critical patent/JPS63304364A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform a printing job along the rules printed previously by recognizing the rules in a designated print area and then setting a format based on those recognized rules. CONSTITUTION:The picture information read by a picture information reading part 1 is displayed at a picture information display part 2. An area to be printed is designated on the part 2 via a print area designating part 3. The designated print area is stored in a print area memory part 4 and a rule recognizing part 5 recognizes the rules out of the picture information on the designated area. Based on the recognizing result of the part 5, a document setting part 6 sets the format information on the line number, the space between lies, etc., and stores this information into a format memory part 7. Then the character strings to be printed are inputted via a character input part 8 and a form is set at a print part 9. The character strings are printed in the print area stored in the part 4 based on the format stored in the part 7. Thus it is possible to perform a print job along the rules printed previously and also to print the character strings in a partial designated area.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、文字列などを入力して印刷する文書作成装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a document creation device that inputs and prints character strings.

従来の技術 従来、ワードプロセッサが文書作成に用いられている。Conventional technology Conventionally, word processors are used to create documents.

第3図は、従来のワードプロセッサの構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing the configuration of a conventional word processor.

第3図において、101は書式設定部であり、書式を設
定する。102は書式記憶部であり、書式設定部1o1
で設定された書式を記憶する。103は文字列入力部で
あり、文字列を入力する。104は印刷部であシ、文字
列入力部103で入力された文字列を書式記憶部102
に記憶されている書式に従って印刷用紙に印刷する。
In FIG. 3, 101 is a formatting section that sets the format. 102 is a format storage unit, and a format setting unit 1o1
Remember the format set in . 103 is a character string input section for inputting a character string. Reference numeral 104 is a printing unit, which stores the character string input in the character string input unit 103 in the format storage unit 102.
Print on printing paper according to the format stored in .

この従来例においては、上記の構成により、まず、書式
設定部1o1で書式を設定する。すると、設定された書
式が書式記憶部102に記憶される。
In this conventional example, with the above configuration, first, the format is set in the format setting section 1o1. Then, the set format is stored in the format storage section 102.

次に、文字列入力部103で文字列を入力する。Next, a character string is input using the character string input section 103.

その後、印刷部104は入力された文字列を書式記憶部
102に記憶されている書式に従って印刷用紙に印刷す
る。
Thereafter, the printing unit 104 prints the input character string on printing paper according to the format stored in the format storage unit 102.

以上が従来のワードプロセッサの構成と動作のうち、本
発明と対比すべき部分である。
The above are the parts of the configuration and operation of the conventional word processor that should be compared with the present invention.

発明が解決しようとする問題点 前記のような従来のワードプロセッサは、印刷用紙は白
紙でありその用紙全体にバランスよく印刷することを前
提としている。しかしながら、例えば学会投稿申込書な
どのように用紙の中の所定の部分領域にあらかじめ印刷
されている罫に沿って印刷しなければならない場合など
に、対応できない、もしくは、対応するための書式設定
に手間がかかるという問題点を有する。
Problems to be Solved by the Invention The conventional word processors described above are based on the premise that the printing paper is blank and that printing is to be done in a well-balanced manner over the entire paper. However, it is not possible to support cases where printing must be done along pre-printed lines in a predetermined partial area of the paper, such as an application form for academic conference submissions, or the format settings required to support this are difficult. This method has the problem of being time-consuming.

本発明はかかる点に鑑み、印刷用紙の中の所定の部分領
域にあらかじめ印刷されている罫に沿って印刷しなけれ
ばならない場合などに簡単に印刷できる文書作成装置を
提供することを目的とする。
In view of this, an object of the present invention is to provide a document creation device that can easily print when it is necessary to print along lines that are preprinted in a predetermined partial area of printing paper. .

問題点を解決するための手段 本発明は、印刷用紙の画像情報を読み取る画像情報読み
取り部、読み取った画像情報を表示する画像情報表示部
、印刷用紙上の印刷すべき領域を指定する印刷領域指定
部、指定された印刷領域を記憶する印刷領域記憶部、前
記画像情報読み取り部で読み取った画像情報から印刷領
域内の罫を認識する罫認識部、この罫認識部の認識結果
に基づいて書式を設定する書式設定部、設定された書式
を記憶する書式記憶部、文字列を入力する文字列入力部
、および、入力された文字列を前記書式記憶部に記憶さ
れている書式に従って印刷用紙上の前記印刷領域記憶部
に記憶されている印刷領域に印刷する印刷部を備えた文
書作成装置である。
Means for Solving the Problems The present invention provides an image information reading unit that reads image information on printing paper, an image information display unit that displays the read image information, and a print area specification that specifies the area to be printed on the printing paper. a print area storage unit that stores the specified print area; a line recognition unit that recognizes the rules in the print area from the image information read by the image information reading unit; and a format based on the recognition result of the line recognition unit. A format setting section for setting a format, a format storage section for storing the set format, a character string input section for inputting a character string, and a formatting section for inputting the input character string on printing paper according to the format stored in the format storage section. The document creation device includes a printing unit that prints in a printing area stored in the printing area storage unit.

作用 本発明は前記した構成により、印刷用紙の画像情報を読
み取ったのち、その上の印刷すべき領域が指定されると
、指定された印刷領域内の罫を認識し、その認識結果に
基づいて書式を設定する。
According to the above-described configuration, the present invention reads the image information of the printing paper, and then, when the area to be printed on the paper is specified, the ruled line within the specified printing area is recognized, and based on the recognition result, Format.

そして、文字列が入力されると、入力された文字列を印
刷用紙上の指定された領域に設定された書式で印刷する
Then, when a character string is input, the input character string is printed in a specified area on the printing paper in the set format.

実施例 以下、本発明の一実施例における文書作成装置について
図を用いて説明する。
Embodiment A document creation device according to an embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例における文書作成装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a document creation device in an embodiment of the present invention.

第1図において、1は画像情報読み取り部であり、印刷
用紙の画像情報を読み取る。2は画像情報表示部であり
、読み取った画像情報を表示する。
In FIG. 1, reference numeral 1 denotes an image information reading section, which reads image information on printing paper. Reference numeral 2 denotes an image information display section, which displays read image information.

3は印刷領域指定部であり、印刷用紙上の印刷すべき領
域を画像情報表示部2上で指定する。4は印刷領域記憶
部であり、指定された印刷領域を記憶する。6は罫認識
部であり、印刷領域内の罫を認識する。6は書式設定部
であり、罫認識部6の認識結果に基づいて書式を設定す
る。7は書式記。
Reference numeral 3 denotes a print area specifying section, which specifies on the image information display section 2 the area to be printed on the printing paper. 4 is a print area storage unit that stores a specified print area. Reference numeral 6 denotes a rule recognition unit, which recognizes rules within the print area. A format setting section 6 sets a format based on the recognition result of the rule recognition section 6. 7 is the format.

境部であり、書式設定部らで設定された書式を記憶する
。8は文字列入力部であり、文字列を入力する。9は印
刷部であり、入力された文字列を書式記憶部7に記憶さ
れている書式に従ってセットされた印刷用紙上の印刷領
域記憶部4に記憶されている印刷領域に印刷する。
This is the boundary section and stores the format set by the format setting section. 8 is a character string input section for inputting a character string. Reference numeral 9 denotes a printing unit, which prints the input character string in the print area stored in the print area storage unit 4 on the set printing paper according to the format stored in the format storage unit 7.

以上のように構成された本実施例の文書作成装置につい
て、以下その動作を説明する。
The operation of the document creation device of this embodiment configured as described above will be described below.

まず、操作者は印刷用紙を画像情報読み取り部1にセッ
トする。画像情報読み取り部1は印刷用紙の画像情報を
読み取り、読み取った画像情報を画像情報表示部2が表
示する。
First, an operator sets printing paper in the image information reading section 1. An image information reading section 1 reads image information on printing paper, and an image information display section 2 displays the read image information.

次に、操作者は印刷領域指定部3を通じて印刷すべき領
域を画像情報表示部2上で指定する。印刷領域指定部3
は指定された印刷領域を印刷領域記憶部4に記憶させる
。その後、罫認識部5は、読み取った画像情報のうちの
指定された印刷領域の画像情報から罫を認識する。書式
設定部6は、罫認識部6の認識結果に基づいて行内文字
数9行数1文字間隔1行間隔などの書式情報を設定し、
書式記憶部7に記憶させる。また、罫が存在しない場合
は書式情報の各位をディフォルトの値に設定する。
Next, the operator specifies the area to be printed on the image information display section 2 through the print area specifying section 3. Print area specification section 3
causes the specified printing area to be stored in the printing area storage section 4. After that, the rule recognition unit 5 recognizes the rule from the image information of the specified print area among the read image information. The format setting unit 6 sets format information such as the number of characters in a line, 9, the number of lines, 1 character interval, and 1 line interval, based on the recognition result of the line recognition unit 6.
The format is stored in the format storage section 7. Also, if there are no ruled lines, each part of the formatting information is set to the default value.

さらに、操作者は文字列入力部8を通じて、印刷すべき
文字列を入力する。文字列が入力されたのち、操作者が
印刷用紙を印刷部9にセットすると、印刷部9は印刷用
紙上の印刷領域記憶部4に記憶されている印刷領域に、
書式記憶部子に記憶されている書式に従って文字列を印
刷する。
Further, the operator inputs a character string to be printed through the character string input section 8. After the character string is input, when the operator sets the printing paper in the printing section 9, the printing section 9 prints the printing area stored in the printing area storage section 4 on the printing paper.
Print a character string according to the format stored in the format storage.

次に具体例を用いて説明する。Next, explanation will be given using a specific example.

第2図は本発明の一実施例の説明に用いる印刷用紙サン
プル図である。第2図において、点Gは位置を表すため
の原点であり、便宜上印刷用紙の左上の端点と一致させ
である。各点の位置をXとYの組(x、y)で表す。X
は各点と原点Gとの左右方向の距離、Yは各点と原点G
との上下方向の距離である。距離は印刷の際のドツト単
位で表すものとする。
FIG. 2 is a diagram of a printing paper sample used to explain one embodiment of the present invention. In FIG. 2, point G is the origin for indicating the position, and for convenience, it is aligned with the upper left end point of the printing paper. The position of each point is represented by a pair of X and Y (x, y). X
is the horizontal distance between each point and the origin G, Y is the distance between each point and the origin G
This is the distance in the vertical direction from The distance shall be expressed in dots when printed.

文字のドツトサイズは縦が24、横が24であり、文字
と文字との左右方向の間隔は3であるとあらかじめ定め
られているものとする。
It is assumed that the dot size of the characters is 24 in height and 24 in width, and the interval between characters in the horizontal direction is determined in advance to be 3.

いま、操作者が、画像情報読み取り部1に第2図に示す
ような印刷用紙をセットしたとする。画像情報読み取シ
部1は印刷用紙の画像情報を読み取り、読み取った画像
情報を画像情報表示部2が表示する。
Assume that the operator has set printing paper as shown in FIG. 2 in the image information reading section 1. An image information reading section 1 reads image information on printing paper, and an image information display section 2 displays the read image information.

次に、操作者が印刷領域指定部3を通じて印刷領域の左
上の端点Sと右下の端点Eを指定する。
Next, the operator specifies the upper left end point S and the lower right end point E of the print area through the print area specifying section 3.

印刷領域記憶部4は、指定された点Sの位置(3o。The print area storage unit 4 stores the position of the designated point S (3o.

1200)を記憶する。1200).

罫認識部5は、読み取った画像情報のうちの点Sを左上
の端点とし点Eを右下の端点とする矩形の範囲内で罫を
認識する。認識した結果、始点が(30,1224’)
で終点が(29了、1224 )の線と、始点が(30
,1268)で終点が(297。
The rule recognition unit 5 recognizes a rule within a rectangular range having a point S in the read image information as an upper left end point and a point E as a lower right end point. As a result of recognition, the starting point is (30,1224')
The end point is (29, 1224) and the starting point is (30
, 1268) and the end point is (297).

1268 )の線と、始点が(30,1312)で終点
が(297,1312)の線と、始点が(30゜135
6)で終点が(297,1356)の線の4本の罫が得
られる。
1268), a line whose starting point is (30, 1312) and an ending point (297, 1312), and a line whose starting point is (30° 135)
Step 6) yields four ruled lines whose end points are (297, 1356).

これにより、まず、認識した罫の数4を行数として設定
する。
As a result, first, the number of recognized ruled lines, 4, is set as the number of lines.

次に、始点と終点のXの値の差DX と行内文字数Nと
の関係を示す不等式DX≧N X 24+ (N−1)
X3を満たすNの最大値を求める。行内文字数が10と
なる。値24は1文字の左右方向のドツト数であシ、値
3は文字間隔のドツト数である。
Next, the inequality DX≧N X 24+ (N-1) showing the relationship between the difference DX between the values of
Find the maximum value of N that satisfies X3. The number of characters in the line is 10. The value 24 is the number of dots in the horizontal direction of one character, and the value 3 is the number of dots in the character interval.

次に、罫と罫の上下方向の距離から文字の上下方向のド
ツト数24を引いた値2oを行間隔として設定する。
Next, a value 2o obtained by subtracting 24 the number of dots in the vertical direction of characters from the distance in the vertical direction between the ruled lines is set as the line spacing.

この段階で、書式情報として、行内文字数が10゜行数
が41文字間隔を3ドツト、行間隔を2oドツトに設定
され、書式記憶部7に記憶される。
At this stage, the format information is set such that the number of characters in a line is 10 degrees, the number of lines is 41, the character spacing is 3 dots, and the line spacing is 2o dots, and stored in the format storage section 7.

ここで操作者は、文字列入力部8を通じて、印刷すべき
文字列を入力する。
Here, the operator inputs the character string to be printed through the character string input section 8.

しかる後に印刷部9は、印刷用紙上の印刷領域記憶部4
に記憶されている印刷領域左上の端点Sの位置から書式
記憶部7に記憶されている書式情報に従って文字列を印
刷する。印刷装置としてドツトプリンタを用いる例で説
明する。まず、操作者が印刷用紙をセットすると、印字
点が印刷領域記憶部4に記憶されている点SのY方向の
ドツト位置「12oQ」になるまで印刷用紙を紙送りす
る。次に、点SのX方向のドツト位置「30」から最初
の1文字を印刷する。そして、文字間隔3ドツトをあけ
て2番目の文字を印刷するというようにして行内に10
文字印刷する。その後、行間隔20ドツト分紙送りした
のち、点SのX方向のドツト位置「3o」から2行目の
文字を印刷してゆく。このようにして最大4行分の印刷
を行う。
After that, the printing section 9 stores the printing area storage section 4 on the printing paper.
The character string is printed according to the format information stored in the format storage section 7 from the position of the upper left corner point S of the print area stored in the format storage section 7. An example will be explained in which a dot printer is used as the printing device. First, when the operator sets the printing paper, the printing paper is fed until the printing point reaches the dot position "12oQ" in the Y direction of the point S stored in the printing area storage section 4. Next, the first character is printed from dot position "30" of point S in the X direction. Then print the second character with 3 dots between characters, and so on until 10 in the line.
Print text. Thereafter, after the paper is fed by a line interval of 20 dots, the characters on the second line are printed from the dot position "3o" of point S in the X direction. In this way, up to four lines are printed.

これにより、入力された文字列が第2図に破線で示した
印刷領域に印刷される。
As a result, the input character string is printed in the print area indicated by the broken line in FIG.

以上のように本実施例によれば、用紙の中の所定の部分
領域にあらかじめ印刷されている罫に沿って印刷しなけ
ればならない場合に、罫が印刷されている領域の左上の
端点Sと右下の端点Eを指定することにより、入力した
文字列を領域内の罫に沿って印刷できる。
As described above, according to this embodiment, when it is necessary to print along the lines that are preprinted in a predetermined partial area of the paper, the upper left end point S of the area where the lines are printed is By specifying the lower right corner point E, the input character string can be printed along the rules within the area.

なお、本実施例においては印刷装置としてドツトプリン
タを用いる例で説明したが、これに限るものではない。
Although this embodiment has been described as an example in which a dot printer is used as the printing device, the present invention is not limited to this.

また、印刷領域の指定方法として、領域の左上の端点S
と右下の端点Eを指定するとしたが、例えば、左上の端
点とX方向の大きさとY方向の大きさで指定するなどい
ろいろな方法を適用することが可能である。さらに、書
式を装置が設定したままで使用するとしたが、設定され
た書式を操作者の指定により変更可能としてもよいこと
は言うまでもない。さらに、用紙内の領域はひとつであ
る場合について説明したが、複数であってもよいことは
言うまでもない。
Also, as a method of specifying the print area, the upper left corner point S of the area
, and the lower right end point E. However, various methods can be applied, such as specifying the upper left end point, the size in the X direction, and the size in the Y direction. Furthermore, although it is assumed that the format is used as it is set by the device, it goes without saying that the format that has been set may be changeable according to the operator's specifications. Further, although the case has been described in which there is one area within the paper, it goes without saying that there may be a plurality of areas.

発明の詳細 な説明したように、本発明によれば、印刷用紙の中の所
定の部分領域にあらかじめ印刷されている罫に沿って印
刷しなければならない場合などに簡単に印刷できる。ま
た、罫はないが印刷用紙の中の一部の領域に印刷する場
合や、あらかじめ全体に罫が印刷されている印刷用紙に
印刷する場合などにも適用可能であり、その実用的効果
は大きい。
As described in detail, according to the present invention, printing can be easily performed in cases where printing must be performed along lines that have been printed in advance on a predetermined partial area of printing paper. It can also be applied to printing on a partial area of printing paper that does not have lines, or to printing on printing paper that has lines printed all over it in advance, and its practical effects are significant. .

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

第1図は本発明の一実施例における文書作成装置の構成
を示すブロック図、第2図は本発明の一実施例の説明に
用いる印刷用紙サンプル図、第3図は従来例の構成を示
すブロック図である。 1・・・・・画像情報読み取り部、2・・・・・画像情
報表示部、3・・・・・印刷領域指定部、4・・・・・
・印刷領域記憶部、5・・・・・・罫認識部、6・・・
・・・書式設定部、7・・・・・・書式記憶部、8・・
・・・・文字列入力部、9・・・・・・印刷部。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention, FIG. 2 is a diagram of a printing paper sample used to explain the embodiment of the present invention, and FIG. 3 is a diagram showing the configuration of a conventional example. It is a block diagram. 1...Image information reading section, 2...Image information display section, 3...Print area specification section, 4...
・Print area storage unit, 5... Rule recognition unit, 6...
...Format setting section, 7...Format storage section, 8...
...Character string input section, 9...Print section.

Claims (1)

【特許請求の範囲】[Claims] 印刷用紙の画像情報を読み取る画像情報読み取り部、読
み取った画像情報を表示する画像情報表示部、印刷用紙
上の印刷すべき領域を指定する印刷領域指定部、指定さ
れた印刷領域を記憶する印刷領域記憶部、前記画像情報
読み取り部で読み取った画像情報から印刷領域内の罫を
認識する罫認識部、この罫認識部の認識結果に基づいて
書式を設定する書式設定部、設定された書式を記憶する
書式記憶部、文字列を入力する文字列入力部、および、
入力された文字列を前記書式記憶部に記憶されている書
式に従って印刷用紙上の前記印刷領域記憶部に記憶され
ている印刷領域に印刷する印刷部を備えたことを特徴と
する文書作成装置。
An image information reading section that reads image information on printing paper, an image information display section that displays the read image information, a print area designation section that specifies the area to be printed on the printing paper, and a print area that stores the specified printing area. a storage unit, a line recognition unit that recognizes the rules in the print area from the image information read by the image information reading unit, a format setting unit that sets a format based on the recognition result of the line recognition unit, and stores the set format. a format storage section for inputting a character string, a string input section for inputting a character string, and
A document creation device comprising: a printing unit that prints an input character string in a print area stored in the print area storage unit on a print sheet according to a format stored in the format storage unit.
JP62140278A 1987-06-04 1987-06-04 Document producing device Pending JPS63304364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62140278A JPS63304364A (en) 1987-06-04 1987-06-04 Document producing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62140278A JPS63304364A (en) 1987-06-04 1987-06-04 Document producing device

Publications (1)

Publication Number Publication Date
JPS63304364A true JPS63304364A (en) 1988-12-12

Family

ID=15265057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62140278A Pending JPS63304364A (en) 1987-06-04 1987-06-04 Document producing device

Country Status (1)

Country Link
JP (1) JPS63304364A (en)

Similar Documents

Publication Publication Date Title
JPH11341292A (en) Device and method for processing image and storage medium
JPS58208865A (en) Document producing device
JPS63304364A (en) Document producing device
JP2584973B2 (en) Recognition result output method in character recognition device
JP2000137801A (en) Method and device for image formation and medium storing image processing control program
JPH0448375A (en) Document format setting system
JPH0581266A (en) Information processor
JPH07304225A (en) Method for printing automatic address layout
JPH1196148A (en) Document management device
JP2001056857A (en) Electronizing method for pattern
JPH04147372A (en) Word processor
JPS6326789A (en) Character recognizing device
JP2003044466A (en) Method, device and program for locating character string
JPH04149774A (en) System for generating form overlay information
JPS61286177A (en) Document-forming device
JPS59133683A (en) Picture editing device
JPS637963A (en) Printing apparatus
JPH0434188B2 (en)
JPS61237169A (en) Catalog design system
JPS62256083A (en) Planning and editing system
JPH07302261A (en) Japanese word processor
JPS61290579A (en) Character recognizing device
JPS61275981A (en) Catalogue design system
JPH04205283A (en) Bar code printer and printing control system
JPH06195330A (en) Document editing device having recognizing function for format information