JPH0535727A - Automatic line space adjustment system - Google Patents

Automatic line space adjustment system

Info

Publication number
JPH0535727A
JPH0535727A JP3189653A JP18965391A JPH0535727A JP H0535727 A JPH0535727 A JP H0535727A JP 3189653 A JP3189653 A JP 3189653A JP 18965391 A JP18965391 A JP 18965391A JP H0535727 A JPH0535727 A JP H0535727A
Authority
JP
Japan
Prior art keywords
printing
line
line space
document
line spacing
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
JP3189653A
Other languages
Japanese (ja)
Inventor
Takashi Okumura
尚 奥村
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP3189653A priority Critical patent/JPH0535727A/en
Publication of JPH0535727A publication Critical patent/JPH0535727A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To evade such a case where the characters are out close to each other or overlap each other by printing the characters on plural pages if the printing line space is induced less than the prescribed limit to the character size when the even layout is instructed in a page. CONSTITUTION:An input part 1 is provided to input the characters together with a display part 2 which displays the inputted character, a document file control part 3 which controls the input/output of a document file 7, a print part 4, an editing control part 5 which controls the parts 1-4, and a line space adjusting part 6 which works with an instruction of the part 5. The part 6 includes a line space calculating means 8 which calculates the printing line space based on the sum total of line spaces of a document obtained in a designated line range and the size of the print area in a single page of a form, a comparison means 9 which compares the printing line space with the set character size of the file 7, and a recomputing means 10 which increases the number of form pages and repeats the calculation until the printing line space exceeds its limit value if this line space is smaller than the prescribed limit value to the set character size.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は自動行間隔調整方式に関
し、特に文書作成装置で作成した文書ファイルを印刷す
る際の自動行間隔調整方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic line spacing adjusting method, and more particularly to an automatic line spacing adjusting method for printing a document file created by a document creating apparatus.

【0002】[0002]

【従来の技術】文書作成装置で作成した文書ファイルを
印刷する際には、通常は文書作成時に設定した文書イメ
ージ(用紙サイズ,文字サイズ,文字間隔,行間隔)で
印刷される。しかしながら、1頁をわずかに超えた文書
を1頁内に印刷させたり、1頁に満たない文書を頁一杯
に印刷させたりするため、文書ファイル中の指定した行
範囲の文書を、印刷時に用紙1頁の印字領域の全域に配
列し直して印刷する自動行間隔調整方式(頁内均等割付
けとも呼ばれる)を採用したものがある。この方式によ
れば、設定行間隔で通常に作成された1頁を超える文書
を、用紙1頁内に均等な行間隔で印刷させることができ
る。
2. Description of the Related Art When a document file created by a document creation device is printed, it is usually printed with a document image (paper size, character size, character spacing, line spacing) set at the time of document creation. However, in order to print a document that slightly exceeds one page within one page, or to print a document that is less than one page to the full page, the document in the specified line range in the document file is printed at the time of printing. There is a type that employs an automatic line spacing adjustment method (also referred to as even page allocation) in which printing is performed by re-arranging the entire print area of one page. According to this method, it is possible to print a document, which is normally created at a set line interval and exceeds one page, on one page of paper at an even line interval.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の自動行
間隔調整方式は、指定した行範囲の文書を1頁内に再配
列し直して印刷する機能であるため、元の文書ファイル
の作成時に設定した設定行間隔が狭い場合に、頁内均等
割付けの指定行範囲を大きくとると、印刷したときの行
間隔が狭くなり過ぎて見にくくなったり、極端な場合に
は文字が重なるという欠点がある。
The above-described conventional automatic line spacing adjustment method has the function of rearranging the documents in the specified line range within one page and printing them. Therefore, when the original document file is created, If the set line spacing is set narrow and the specified line range for page even allocation is enlarged, the line spacing when printed becomes too narrow, making it difficult to see, and in extreme cases, characters may overlap. ..

【0004】本発明の目的は、印刷文書が見にくくなら
ないように、印刷時の行間隔があらかじめ定めた基準よ
り小さくなる場合には、印刷頁数を増やして複数頁に配
列し直して印刷する自動行間隔調整方式を提供すること
にある。
An object of the present invention is to automatically print by increasing the number of printed pages and rearranging them into a plurality of pages when the line spacing at the time of printing becomes smaller than a predetermined standard so that the printed document is not easily read. It is to provide a line spacing adjustment method.

【0005】[0005]

【課題を解決するための手段】本発明の自動行間隔調整
方式は、文書作成装置により作成された文書ファイル中
の指定した行範囲内の文書を印刷時に用紙の印字領域の
全域に配列し直して印刷する自動行間隔調整方式におい
て、前記指定した行範囲内の文書の行間隔の総和と前記
用紙の1頁分の印字領域の大きさとから前記文書ファイ
ルの作成時の設定行間隔に対応する標準の印刷時行間隔
を算出する行間隔算出手段と、前記印刷時行間隔を前記
文書ファイルの設定文字サイズと比較する比較手段と、
前記印刷時行間隔が前記設定文字サイズに比べてあらか
じめ定めた限界値以下のとき前記用紙の頁数に1を加算
して前記限界値を超えるまで前記印刷時行間隔の再計算
を繰り返す再演算手段とを備えて構成されている。
According to the automatic line spacing adjustment method of the present invention, a document within a designated line range in a document file created by a document creating device is rearranged over the entire print area of a sheet at the time of printing. In the automatic line-spacing adjustment method for printing by printing, the line-spacing corresponding to the set line-spacing at the time of creating the document file is calculated from the sum of the line-spacings of the documents within the specified line range and the size of the print area for one page of the paper. Line spacing calculation means for calculating a standard printing line spacing, and comparison means for comparing the printing line spacing with a set character size of the document file,
When the line spacing during printing is less than or equal to a predetermined limit value compared to the set character size, 1 is added to the number of pages of the sheet and the recalculation of the line spacing during printing is repeated until it exceeds the limit value. And means.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明の一実施例のシステム構成を
示すブロック図である。
FIG. 1 is a block diagram showing the system configuration of an embodiment of the present invention.

【0008】本実施例の自動行間隔調整方式は、図1に
示すように、文書を作成するための文字入力を行う入力
部1と、入力された文字等を表示する表示部2と、文書
ファイル7の入出力を制御する文書ファイル制御部3
と、文書を用紙に印刷する印刷部4と、これらを制御す
る編集制御部5と、編集制御部5の指示で動作する行間
隔調整部6とから成る。行間隔調整部6は、指定した行
範囲内の行間隔の総和と用紙1頁の印字領域の大きさと
から標準の印刷時行間隔を算出する行間隔算出手段8
と、算出した印刷時行間隔を文書ファイルの設定文字サ
イズと比較する比較手段9と、印刷時行間隔が設定文字
サイズに比べてあらかじめ定めた限界値以下のとき用紙
の頁数に1を加算して限界値を超えるまで印刷時行間隔
の再計算を繰り返す再演算手段10とを含んでいる。
As shown in FIG. 1, the automatic line-spacing adjusting method of the present embodiment has an input unit 1 for inputting characters for creating a document, a display unit 2 for displaying the input characters, and a document. Document file control unit 3 for controlling input / output of file 7
And a print section 4 for printing a document on paper, an edit control section 5 for controlling these, and a line spacing adjustment section 6 which operates according to instructions from the edit control section 5. The line-spacing adjusting unit 6 calculates a standard printing line-spacing 8 based on the sum of the line-spacings within the designated line range and the size of the printing area of one page of paper.
And a comparing means 9 for comparing the calculated line spacing at printing with the set character size of the document file, and adding 1 to the number of pages of the paper when the line spacing at printing is less than a predetermined limit value compared to the set character size. Then, the recalculation means 10 repeats the recalculation of the line spacing during printing until the limit value is exceeded.

【0009】次に本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0010】まず、利用者が行範囲を指定して頁内均等
割付けの指示を出すと、行間隔調整部6の行間隔算出手
段8が、印刷する用紙1頁の印字領域の縦方向の長さ
(L)を文書ファイル7から読み込む。次に、指定され
た行範囲の文書の縦方向の長さを求めるため、指定範囲
内のすべての行間隔の総和(W)を文書ファイル7から
読み込む。これらから、次の計算式により文書ファイル
7の作成時に指定した設定行間隔に対応する印刷時行間
隔(D)を求める。
First, when the user specifies a line range and issues an instruction for evenly allocating within a page, the line space calculating means 8 of the line space adjusting section 6 causes the length of the print area of one page of paper to be printed in the vertical direction. (L) is read from the document file 7. Next, in order to obtain the vertical length of the document in the specified line range, the total sum (W) of all line intervals in the specified range is read from the document file 7. From these, the printing line spacing (D) corresponding to the set line spacing specified when the document file 7 was created is calculated by the following formula.

【0011】 D=(L/W)×文書ファイルの設定行間隔 (1) 次に、比較手段9が文書ファイル7から文書作成時に設
定した設定文字サイズ(M)を読み込み、行間隔算出手
段8で求めたDと比較する。その結果、あらかじめ定め
た限界値をaとして、D>aMであればDを編集制御部
6に通知する。比較の結果がD≦aMであれば、再演算
手段10を起動し、用紙の頁数に1を加算して2頁と
し、2頁分の印字領域に再配列し直したときの印刷時行
間隔D2 を(2)式により再計算する。
D = (L / W) × Setting Line Interval of Document File (1) Next, the comparing unit 9 reads the set character size (M) set at the time of creating the document from the document file 7, and the line space calculating unit 8 Compare with D obtained in. As a result, if the predetermined limit value is a and D> aM, D is notified to the edit control unit 6. If the result of the comparison is D ≦ aM, the recalculation means 10 is activated to add 1 to the number of pages of the paper to make 2 pages, and the reordering is performed in the printing area for 2 pages. The distance D2 is recalculated by the equation (2).

【0012】 D2 =(2L/W)×文書ファイルの設定行間隔 (2) その結果、D2 >aMであればその値を編集制御部6に
通知して印刷を実行するが、D2 ≦aMであれば同様の
処理をDn>aM(nは2以上の整数)となるまで繰り
返す。
D2 = (2L / W) × set line interval of document file (2) As a result, if D2> aM, the value is notified to the edit control unit 6 to execute printing, but if D2 ≦ aM, If so, the same processing is repeated until Dn> aM (n is an integer of 2 or more).

【0013】図2は本発明による印刷状況の一例を模式
的に示した説明図である。(a)は文書ファイルの設定
行間隔C1 が狭く、指定した行範囲を2頁に分割して印
刷する場合を、(b)は文書ファイルの設定行間隔C2
が広く、1頁内に印刷する場合を示している。
FIG. 2 is an explanatory view schematically showing an example of a printing situation according to the present invention. (A) shows a case where the set line spacing C1 of the document file is narrow and the specified line range is divided into two pages for printing, and (b) shows a set line spacing C2 of the document file.
Shows a wide range and prints within one page.

【0014】ここで限界値aは、文字が重ならないため
にはa=1であればよいが、見やすさを考慮すればa=
1.2程度に設定するとよい。このとき、文書ファイル
の設定行間隔が文字サイズの1.5倍であれば、1.2
5頁以内の行範囲ならば1頁に印刷されるが、それ以上
の行範囲指定のときは2頁に印刷されることになる。
Here, the limit value a may be a = 1 so that characters do not overlap each other, but in consideration of legibility, a =
It may be set to about 1.2. At this time, if the set line spacing of the document file is 1.5 times the character size, 1.2
If the line range is within 5 pages, it will be printed on 1 page, but if the line range is more than that, it will be printed on 2 pages.

【0015】なお、文書ファイルの作成時に、文書の途
中で特定の行または行範囲にき行間隔の変更が行なわれ
ている場合には、印刷時行間隔に対しても同様な変更が
比例的に行われるので、そのような文書範囲が頁内均等
割付けの指定行範囲に含まれる場合には注意が必要であ
る。
Note that when a document file is created, if the line spacing is changed to a specific line or line range in the middle of the document, the same change is proportional to the line spacing during printing. Therefore, care must be taken when such a document range is included in the designated line range of the page justification.

【0016】[0016]

【発明の効果】以上説明したように、本発明の自動行間
隔調整方式は、頁内均等割付けを指示したとき、印刷時
の行間隔が文字サイズに対してあらかじめ定めた限度よ
り小さくなると複数頁に分割して印刷するので、文字が
つながったり重なったりして見にくくなることがなくな
る効果がある。
As described above, according to the automatic line spacing adjustment method of the present invention, when the even spacing within a page is instructed and the line spacing during printing becomes smaller than the predetermined limit for the character size, a plurality of pages are printed. Since it is divided into two parts and printed, there is the effect that the characters will not be difficult to see because they are connected or overlapped.

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

【図1】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a system configuration of an embodiment of the present invention.

【図2】本発明による印刷状況の一例を模式的に示した
説明図である。
FIG. 2 is an explanatory diagram schematically showing an example of a printing situation according to the present invention.

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

1 入力部 2 表示部 3 文書ファイル制御部 4 印刷部 5 編集制御部 6 行間隔調整部 7 文書ファイル 8 行間隔算出手段 9 比較手段 10 再演算手段 DESCRIPTION OF SYMBOLS 1 input section 2 display section 3 document file control section 4 printing section 5 editing control section 6 line spacing adjustment section 7 document file 8 line spacing calculation means 9 comparison means 10 recalculation means

Claims (1)

【特許請求の範囲】 【請求項1】 文書作成装置により作成された文書ファ
イル中の指定した行範囲内の文書を印刷時に用紙の印字
領域の全域に配列し直して印刷する自動行間隔調整方式
において、前記指定した行範囲内の文書の行間隔の総和
と前記用紙の1頁分の印字領域の大きさとから前記文書
ファイルの作成時の設定行間隔に対応する標準の印刷時
行間隔を算出する行間隔算出手段と、前記印刷時行間隔
を前記文書ファイルの設定文字サイズと比較する比較手
段と、前記印刷時行間隔が前記設定文字サイズに比べて
あらかじめ定めた限界値以下のとき前記用紙の頁数に1
を加算して前記限界値を超えるまで前記印刷時行間隔の
再計算を繰り返す再演算手段とを備えたことを特徴とす
る自動行間隔調整方式。
Claim: What is claimed is: 1. An automatic line-spacing adjustment method for printing a document within a specified line range in a document file created by a document creation device by rearranging it in the entire print area of a sheet when printing. In, the standard line spacing at printing corresponding to the line spacing set at the time of creating the document file is calculated from the sum of the line spacing of the documents within the specified line range and the size of the printing area for one page of the paper. Line spacing calculation means, comparing means for comparing the printing line spacing with the set character size of the document file, and the paper when the printing line spacing is less than or equal to a predetermined limit value compared to the set character size 1 for the number of pages
And a recalculation unit that repeats the recalculation of the line spacing during printing until it exceeds the limit value.
JP3189653A 1991-07-30 1991-07-30 Automatic line space adjustment system Pending JPH0535727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3189653A JPH0535727A (en) 1991-07-30 1991-07-30 Automatic line space adjustment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3189653A JPH0535727A (en) 1991-07-30 1991-07-30 Automatic line space adjustment system

Publications (1)

Publication Number Publication Date
JPH0535727A true JPH0535727A (en) 1993-02-12

Family

ID=16244922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3189653A Pending JPH0535727A (en) 1991-07-30 1991-07-30 Automatic line space adjustment system

Country Status (1)

Country Link
JP (1) JPH0535727A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008066142A1 (en) 2006-11-29 2008-06-05 Wingarc Technologies, Inc. Form making system, network system using same, and form making method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008066142A1 (en) 2006-11-29 2008-06-05 Wingarc Technologies, Inc. Form making system, network system using same, and form making method

Similar Documents

Publication Publication Date Title
US4675833A (en) Processor controlled photocomposition system
JPH0523956B2 (en)
JP2007114833A (en) Information processor and program
US6958820B1 (en) Image processing apparatus and method therefor
JPH0535727A (en) Automatic line space adjustment system
JPS60217186A (en) Printing controller
JPH06183095A (en) Printing processing device
JP2891841B2 (en) Imposition data output device and imposition data creation method
JPH0844735A (en) Document processor
JPH0660193A (en) Graph preparing device
JPH05169758A (en) Print setting system
JPH10181119A (en) Computer readable recording medium on which printer driver is recorded
JP3161744B2 (en) Information processing device
JPH05101058A (en) Word processor
KR100472451B1 (en) Method for printing document
JPS5860371A (en) Picture processing method
JPH11216926A (en) Document printer
JPH06243127A (en) Document layout device
JPH08249328A (en) Document preparation device and document uniform arrangement method
JPH01173155A (en) Magazine editing system
JPH0696069A (en) Ruled line drawing device with format
JPH01173158A (en) Magazine editing system
JPH06251012A (en) Document preparing device and printing control method
JPH0387278A (en) Printing control system
JPH04128967A (en) Character processor