JPH06251012A - Document preparing device and printing control method - Google Patents

Document preparing device and printing control method

Info

Publication number
JPH06251012A
JPH06251012A JP5038374A JP3837493A JPH06251012A JP H06251012 A JPH06251012 A JP H06251012A JP 5038374 A JP5038374 A JP 5038374A JP 3837493 A JP3837493 A JP 3837493A JP H06251012 A JPH06251012 A JP H06251012A
Authority
JP
Japan
Prior art keywords
page
lines
format
document information
existing
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
JP5038374A
Other languages
Japanese (ja)
Inventor
Hiroshi Aoki
浩 青木
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.)
Toshiba Corp
Toshiba Software Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Software Engineering Corp
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 Toshiba Corp, Toshiba Software Engineering Corp filed Critical Toshiba Corp
Priority to JP5038374A priority Critical patent/JPH06251012A/en
Publication of JPH06251012A publication Critical patent/JPH06251012A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily obtain an adjusted printing result without expert knowledge by automatically setting a print format in accordance with the document volume. CONSTITUTION:When the automatic format setting function is indicated through an automatic format setting key 16a provided on a keyboard 15, a CPU 14 detects the last page or a page having a form feed code from document information stored in a document buffer 11 and executes the processing to put information within the preceding page or the processing to uniformly allocate information throughout the page dependently on whether the number of lines existing in the pertinent page is smaller than 1/2 of the number of intrapage lines preliminarily set by the format or not. The number of lines and the line space obtained by this processing are set to a format information table 13 as new format information, and information is printed based on this format information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷機能を備えた文書
作成装置に係り、特に複数頁からなる文書を印刷する際
に用いて好適な文書作成装置及び印刷制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus having a printing function, and more particularly to a document creating apparatus and a print control method suitable for printing a document having a plurality of pages.

【0002】[0002]

【従来の技術】従来、文書作成装置では、内部に印刷機
能(プリンタ)を備えており、作成した文書を必要に応
じて印刷することができる。この場合、印刷に際し、ユ
ーザはどのような書式(文字ピッチ、改行ピッチ等)で
印刷するのかを予め設定しておく必要があり、印刷はこ
の設定された書式で行なわれることになる。
2. Description of the Related Art Conventionally, a document creating apparatus has a printing function (printer) inside, and a created document can be printed as needed. In this case, at the time of printing, it is necessary for the user to set in advance the format (character pitch, line feed pitch, etc.) to be printed, and the printing will be performed in this set format.

【0003】ところで、複数頁からなる文書の印刷で
は、整った印刷結果を得たいことから、図7に示すよう
に次頁に少しだけ溢れるような文書は前頁内に収め、逆
に、図8に示すように頁一杯に満たない文書は頁一杯に
均等に割り付けたいことがある。このような場合、ユー
ザ自身が用紙サイズ、文字サイズ、行数、桁数から文字
ピッチ、改行ピッチ等を計算して、印刷書式を設定する
ことにより、前頁内に収める印刷や、頁一杯に均等に割
り付けるといった印刷を行っていた。
By the way, when printing a document consisting of a plurality of pages, since it is desired to obtain a proper print result, as shown in FIG. As shown in FIG. 8, a document that is less than the full page may be evenly allocated to the full page. In such a case, the user himself or herself calculates the character pitch, the line feed pitch, etc. from the paper size, character size, number of lines, and number of digits, and sets the print format to print in the previous page or fill the page. Printing was performed by evenly allocating.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
たような前頁内に収める印刷や、頁一杯に均等に割り付
けるといった印刷を行うために、印刷書式を設定するこ
とは専門知識を必要とし、一般のユーザには困難を有す
る。また、一度で適切な印刷書式を設定できるとは限ら
ないため、非常に面倒な作業となる。
However, it is necessary to set a print format in order to perform printing such as the above-described printing that fits within the previous page, or printing such that the pages are evenly distributed. Users have difficulties. In addition, it is not always possible to set an appropriate print format at once, which is very troublesome work.

【0005】本発明は上記のような点に鑑みなされたも
ので、文書量に応じて印刷書式を自動設定でき、専門知
識がなくとも整った印刷結果を簡単に得ることのできる
文書作成装置及び印刷制御方法を提供することを目的と
する。
The present invention has been made in view of the above points, and can automatically set a print format according to the amount of a document, and a document creating apparatus that can easily obtain a printed result without special knowledge, and An object is to provide a print control method.

【0006】[0006]

【課題を解決するための手段】本発明の文書作成装置
は、複数頁からなる文書情報を格納した記憶手段と、こ
の記憶手段に格納された上記文書情報の中から最終頁ま
たは改頁情報を有する頁を検出する検出手段と、この検
出手段によって検出された上記頁に存在する行数と予め
書式設定されている頁内行数とを比較する比較手段と、
この比較手段の結果、上記頁に存在する行数と予め書式
設定されている頁内行数との比率が所定値未満の場合に
は、当該頁に存在する上記文書情報が前頁内に収まるよ
うに印刷書式を設定し、上記比率が上記所定値以上の場
合には、当該頁に存在する上記文書情報が頁内に均等に
割り付けられるように印刷書式を設定する書式設定制御
手段と、この書式設定制御手段によって設定された上記
印刷書式に基づいて、上記文書情報を印刷する印刷手段
とを具備したことを特徴とする。
A document creating apparatus according to the present invention stores a storage unit for storing document information consisting of a plurality of pages and a final page or page break information from the document information stored in the storage unit. A detecting means for detecting the page having, and a comparing means for comparing the number of lines existing in the page detected by the detecting means with the number of lines in a page which has been preformatted,
As a result of the comparing means, if the ratio of the number of lines existing on the page to the number of lines in the page that has been preformatted is less than a predetermined value, the document information existing on the page is included in the previous page. If the print format is set to, and the ratio is equal to or more than the predetermined value, the print format is set so that the document information existing on the page is evenly allocated in the page, and a format setting control unit. A printing unit that prints the document information based on the print format set by the setting control unit is provided.

【0007】また、本発明の文書作成装置は、複数頁か
らなる文書情報を格納した記憶手段と、この記憶手段に
格納された上記文書情報の中から最終頁または改頁情報
を有する頁を検出する検出手段と、この検出手段によっ
て検出された上記頁に存在する行数と予め書式設定され
ている頁内行数とを比較する比較手段と、この比較手段
の結果、上記頁に存在する行数と予め書式設定されてい
る頁内行数との比率に応じて、当該頁に存在する上記文
書情報が前頁内に収まるように印刷書式を設定するか、
当該頁に存在する上記文書情報が頁内に均等に割り付け
られるように印刷書式を設定する書式設定制御手段と、
この書式設定制御手段によって設定された上記印刷書式
に基づいて、上記文書情報を印刷する印刷手段とを具備
したことを特徴とする。
Further, the document creating apparatus of the present invention detects the storage means for storing the document information consisting of a plurality of pages and the page having the last page or the page break information from the document information stored in the storage means. Detecting means, comparing means for comparing the number of lines existing on the page detected by the detecting means with the number of lines in the page which has been preformatted, and the result of the comparing means, the number of lines existing on the page. According to the ratio of the number of lines in a page that is pre-formatted and the print format is set so that the document information existing on the page fits within the previous page, or
Formatting control means for setting a print format so that the document information existing on the page is evenly allocated within the page,
A printing means for printing the document information based on the print format set by the format control means is provided.

【0008】本発明の印刷制御方法は、複数頁からなる
文書情報の中から最終頁または改頁情報を有する頁を検
出し、その頁に存在する行数と予め書式設定されている
頁内行数との比率が所定値未満の場合には、当該頁に存
在する上記文書情報が前頁内に収まるように印刷書式を
設定し、上記比率が上記所定値以上の場合には、当該頁
に存在する上記文書情報が頁内に均等に割り付けられる
ように印刷書式を設定し、この設定された上記印刷書式
に基づいて上記文書情報を印刷するようにしたことを特
徴とする。
The print control method of the present invention detects the last page or the page having the page break information from the document information consisting of a plurality of pages, and determines the number of lines existing in the page and the number of lines in the page that has been preformatted. If the ratio is less than the specified value, the print format is set so that the document information existing on the page fits within the previous page, and if the ratio is equal to or more than the specified value, the page exists on the page. The print format is set so that the document information is evenly allocated within the page, and the document information is printed based on the set print format.

【0009】また、本発明の印刷制御方法は、複数頁か
らなる文書情報の中から最終頁または改頁情報を有する
頁を検出し、その頁に存在する行数と予め書式設定され
ている頁内行数との比率に応じて、当該頁に存在する上
記文書情報が前頁内に収まるように印刷書式を設定する
か、当該頁に存在する上記文書情報が頁内に均等に割り
付けられるように印刷書式を設定し、この設定された上
記印刷書式に基づいて上記文書情報を印刷するようにし
たことを特徴とする。
Further, the print control method of the present invention detects the last page or the page having the page break information from the document information consisting of a plurality of pages, and determines the number of lines existing in the page and the preformatted page. Depending on the ratio with the number of inlines, set the print format so that the document information existing on the page fits within the previous page, or the document information existing on the page is evenly allocated within the page. A print format is set, and the document information is printed based on the set print format.

【0010】[0010]

【作用】上記の構成によれば、最終頁または改頁情報を
有する頁に存在する行数と予め書式設定されている頁内
行数との比率に応じて、当該頁に存在する上記文書情報
が前頁内に収まるような印刷書式、または、当該頁に存
在する上記文書情報が頁内に均等に割り付けられるよう
な印刷書式が自動設定され、その自動設定された印刷書
式に基づいて印刷が行われる。
According to the above configuration, the document information existing on the page is determined according to the ratio of the number of lines existing on the last page or the page having the page break information to the number of lines in the page which is preformatted. A print format that fits within the previous page or a print format that evenly allocates the document information on the page to the page is automatically set, and printing is performed based on the automatically set print format. Be seen.

【0011】[0011]

【実施例】以下、図面を参照して本発明の一実施例を説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は本発明の一実施例に係る文書作成装
置の回路構成を示すブロック図である。図1において、
文書バッファ11には、印刷すべき文書情報が格納され
ている。同実施例において、この文書情報は複数の頁か
らなる。レジスタ群12は、図5に示す自動書式設定処
理に必要な各種情報を一時格納するためのレジスタA,
B,Cを有する。書式情報テーブル13は、印刷書式情
報を格納する。
FIG. 1 is a block diagram showing the circuit arrangement of a document creating apparatus according to an embodiment of the present invention. In FIG.
The document buffer 11 stores document information to be printed. In this embodiment, this document information consists of multiple pages. The register group 12 is a register A for temporarily storing various information necessary for the automatic formatting process shown in FIG.
It has B and C. The format information table 13 stores print format information.

【0013】CPU14は、文書作成処理をはじめとす
る本装置全体を制御を行うものであり、ここでは図5に
示すような自動書式設定処理を実行する。キーボード1
5は、文書情報等の各種情報を入力するための入力装置
である。このキーボード15には、「文字」キー、「数
字」キー等の他、ここでは印刷書式を自動設定する自動
書式設定機能を指示するための「自動書式設定」キー1
5aが設けられている。入力制御部16は、キーボード
15によって入力される情報の入力制御を行う。ディス
プレイ17は、文書情報等の各種情報を表示するための
表示装置である。表示制御部18は、ディスプレイ17
で表示される情報の表示制御を行う。プリンタ19は、
文書情報等を印刷するための印刷装置である。印刷制御
部20は、プリンタ19で印刷される情報の印刷制御を
行う。
The CPU 14 controls the entire apparatus including the document creating process, and executes the automatic formating process as shown in FIG. Keyboard 1
Reference numeral 5 denotes an input device for inputting various information such as document information. The keyboard 15 includes "character" keys, "number" keys, etc., and here, an "automatic format" key 1 for instructing an automatic format setting function for automatically setting a print format.
5a is provided. The input control unit 16 controls input of information input by the keyboard 15. The display 17 is a display device for displaying various information such as document information. The display control unit 18 uses the display 17
Controls the display of information displayed in. The printer 19
A printing device for printing document information and the like. The print control unit 20 controls printing of information printed by the printer 19.

【0014】図2乃至図4は同実施例の自動書式設定機
能を説明するための図であり、図2および図3は前頁内
に収める場合、図4は頁一杯に均等に割り付ける場合を
示している。ここでは、予め書式設定されている頁内行
数を8行として、最終頁または改頁コードを有する頁が
その1/2である4行未満の場合に、図2または図3に
示すような前頁内に収める印刷を実行するように設定さ
れている。このうち、図2は行間隔を変更せず、行数の
み変更した場合での印刷例であり、図3は行間隔および
行数を変更した場合での印刷例である。また、最終頁ま
たは改頁コードを有する頁が4行以上の場合には、図4
に示すような頁一杯に均等に割り付ける印刷を実行する
ように設定されている。次に、同実施例の動作を説明す
る。
FIGS. 2 to 4 are views for explaining the automatic formating function of the embodiment. FIGS. 2 and 3 show the case where the page is stored in the previous page, and FIG. 4 shows the case where the page is evenly distributed. Shows. Here, assuming that the number of lines in a page that has been preformatted is 8 lines and the number of the last page or the page having the page break code is less than 4 which is ½ of that line, the previous page as shown in FIG. 2 or FIG. It is set to execute printing that fits within a page. Of these, FIG. 2 shows a printing example in which the line spacing is not changed and only the number of lines is changed, and FIG. 3 is a printing example in which the line spacing and the number of lines are changed. If the last page or the page having a page-break code is 4 lines or more,
It is set so as to execute printing which is evenly allocated to the full page as shown in FIG. Next, the operation of the embodiment will be described.

【0015】文書バッファ11に印刷すべき文書情報が
格納された状態で、キーボード15に設けられた「自動
書式設定」キー15aを押下して、自動書式設定機能を
指示すると、CPU14は図5に示すような自動書式設
定処理を実行する。
When the "automatic format" key 15a provided on the keyboard 15 is depressed to instruct the automatic format function while the document information to be printed is stored in the document buffer 11, the CPU 14 is shown in FIG. Perform the automatic formatting process as shown.

【0016】すなわち、CPU14は、まず、文書バッ
ファ11に格納された文書情報の中から最終頁または改
頁コードを有する頁を検出し(ステップS1)、当該頁
に存在する行数が予め書式設定された頁内行数の1/2
未満か否かを判断し(ステップS2)、その結果に応じ
て、前頁内に収める処理または頁一杯に均等に割り付け
る処理を以下のような手順で行う。 (a)前頁内に収める処理
That is, the CPU 14 first detects the last page or the page having the page feed code from the document information stored in the document buffer 11 (step S1), and the number of lines existing on the page is pre-formatted. 1/2 of the number of lines in the page
It is determined whether or not it is less than (step S2), and in accordance with the result, a process of fitting within the previous page or a process of equally allocating to the full page is performed by the following procedure. (A) Processing to fit within the previous page

【0017】1.当該頁に存在する行数が予め書式設定
された頁内行数の1/2未満の場合には、当該頁の行数
を前頁に入れるのに必要な1頁当たりの行数を求め、そ
の結果をレジスタAにセットする(ステップS3)。
1. If the number of lines existing on the page is less than 1/2 of the number of lines in the preformatted page, the number of lines per page required to put the number of lines on the page into the previous page is calculated, and The result is set in the register A (step S3).

【0018】2.レジスタAにセットされた行数と予め
設定されている頁の最大行数とを比較することにより、
当該行数が頁の最大行数より大きい場合には、行間隔を
変更する必要があるものと判断して次の処理を行う(ス
テップS4)。 3.レジスタAにセットされた行数が入る行間隔を計算
し、その結果をレジスタBにセットする(ステップS
5)。
2. By comparing the number of lines set in the register A with a preset maximum number of lines of the page,
If the number of lines is larger than the maximum number of lines on the page, it is determined that the line spacing needs to be changed, and the following process is performed (step S4). 3. The line interval in which the number of lines set in the register A enters is calculated, and the result is set in the register B (step S
5).

【0019】4.レジスタBにセットされた行間隔と予
め設定されている文字間隔とを比較することにより、当
該行間隔が文字間隔よりも大きい場合にのみ、その値を
用いた印刷書式を設定するべく次の処理を行う(ステッ
プS6)。
4. By comparing the line spacing set in the register B with the preset character spacing, the following process is performed only when the line spacing is larger than the character spacing to set the print format using the value. Is performed (step S6).

【0020】5.レジスタAにセットされた行数とレジ
スタBにセットされた行間隔とを用いて新たな書式値を
設定し、その値が印刷可能範囲内ならば印刷時に用いる
書式情報として書式情報テーブル13に登録し、印刷可
能範囲内ならば処理全体を中止する(ステップS7)。 (b)頁一杯に均等に割り付ける処理
5. A new format value is set using the number of lines set in the register A and the line spacing set in the register B, and if the value is within the printable range, it is registered in the format information table 13 as the format information used at the time of printing. If it is within the printable range, the entire process is stopped (step S7). (B) Processing to allocate evenly to the full page

【0021】1.当該頁に存在する行数が予め書式設定
された頁内行数の1/2以上の場合には、最終頁までの
頁数(全頁数)から1頁当たりの行数(平均値)を求
め、その結果をレジスタAにセットする(ステップS
8)。 2.レジスタAにセットされた行数に基づいて行間隔を
計算し、その結果をレジスタBにセットする(ステップ
S9)。
1. If the number of lines existing on the page is 1/2 or more of the number of lines in a pre-formatted page, calculate the number of lines per page (average value) from the number of pages up to the final page (total number of pages). , The result is set in the register A (step S
8). 2. The line interval is calculated based on the number of lines set in the register A, and the result is set in the register B (step S9).

【0022】3.ここで、レジスタBにセットされた行
間隔に対する条件を設定(ここでは、文字サイズの何倍
かを設定)しておき、その値をレジスタCにセットして
おく(ステップS10)。
3. Here, a condition for the line spacing set in the register B is set (here, a multiple of the character size is set), and the value is set in the register C (step S10).

【0023】4.レジスタBにセットされた行間隔が文
字サイズのC倍未満か否かを判断することにより、C倍
未満の場合のみ、その値を用いた印刷書式を設定するべ
く次の処理を行う。
4. By determining whether the line spacing set in the register B is less than C times the character size, the following process is performed only when the line spacing is less than C times to set the print format using that value.

【0024】5.レジスタAにセットされた行数とレジ
スタBにセットされた行間隔とを用いて新たな書式値を
設定し、その値が印刷可能範囲内ならば印刷時に用いる
書式情報として書式情報テーブル13に登録し、印刷可
能範囲内ならば処理全体を中止する(ステップS7)。
5. A new format value is set using the number of lines set in the register A and the line spacing set in the register B, and if the value is within the printable range, it is registered in the format information table 13 as the format information used at the time of printing. If it is within the printable range, the entire process is stopped (step S7).

【0025】このようにして、最終頁または改頁コード
を有する頁に存在する行数が予め書式設定された頁内行
数の1/2未満か否かによって、前頁内に収める処理ま
たは頁一杯に均等に割り付ける処理が行われ、新たな印
刷書式が設定されることになる。これにより、1/2未
満の場合であれば、図2または図3に示すような書式設
定により(図2は行数のみ変更、図3は行数および行間
隔を変更)、図7に示すような印刷結果が得られ、1/
3未満の場合であれば、図4に示すような書式設定によ
り、図8に示すような印刷結果が得られる。
Thus, depending on whether or not the number of lines existing in the last page or the page having the page-break code is less than 1/2 of the number of lines in the pre-formatted page, the process of filling the previous page or filling the page is completed. The process of evenly allocating the print formats is performed, and a new print format is set. As a result, in the case of less than 1/2, by the format setting as shown in FIG. 2 or FIG. 3 (FIG. 2 changes only the number of lines, FIG. 3 changes the number of lines and line spacing), the result is shown in FIG. Print result like
If it is less than 3, the print result as shown in FIG. 8 is obtained by the format setting as shown in FIG.

【0026】なお、改頁コードを有する頁が複数ある場
合には、改頁までの1つの区切りを1文書とし、1つで
も前頁に収める条件(当該頁の行数が1/2未満)が成
立すれば、用紙を節約する方が合理的なことから、前頁
内に収める処理を実行するものとする。この場合、最も
行数(次頁に溢れた行数)が多いものを基準とする。同
様に、改頁コードを有する頁と最終頁とで条件が異なっ
た場合、一方に前頁に収める条件があれば、前頁内に収
める処理を実行するものとする。
When there are a plurality of pages having a page break code, one break up to a page break is set as one document and even one page is included in the previous page (the number of lines on the page is less than 1/2). If the condition is satisfied, it is more rational to save the paper, and therefore, the process to fit in the previous page is executed. In this case, the one having the largest number of lines (the number of lines overflowing to the next page) is used as a reference. Similarly, if the condition of the page having the page feed code and the condition of the last page are different, and if one of them has a condition to be accommodated in the previous page, the process for accommodating the code in the previous page is executed.

【0027】また、上記実施例では、予め書式設定され
た頁内行数の1/2を基準にして、前頁内に収める処理
または頁一杯に均等に割り付ける処理を実行する構成と
したが、例えば図6に示すように、最終頁または改頁コ
ードを有する頁に存在する行数と予め書式設定された頁
内行数との比率に応じて、各処理を切り替えて印刷する
こともできる。
Further, in the above-mentioned embodiment, the process of storing the data in the previous page or the process of evenly allocating it to the full page is executed on the basis of 1/2 of the number of lines in the page which is preformatted. As shown in FIG. 6, each process can be switched and printed according to the ratio of the number of lines existing on the final page or the page having the page break code to the number of lines in the page that has been preformatted.

【0028】図6の例では、最終頁または改頁コードを
有する頁に存在する行数と予め書式設定された頁内行数
との比率が1/3の場合と2/3の場合に分け、当該頁
の行数が1/3未満であれば、前頁内に収める処理を実
行し、1/3以上2/3未満であれば、印刷書式を変更
せず、2/3以上であれば、頁一杯に均等に割り付ける
処理を実行するように構成されている。
In the example of FIG. 6, the ratio of the number of lines existing on the last page or the page having the page feed code to the number of lines in the preformatted page is divided into 1/3 and 2/3, If the number of lines on the page is less than ⅓, processing to fit in the previous page is executed. If ⅓ or more and less than ⅔, the print format is not changed and ⅔ or more. , Is configured to execute the process of evenly allocating to the full page.

【0029】なお、本発明の自動書式設定機能を頁数の
多い文書に適用した場合には、どこかにその影響が出て
しまう可能性がある。したがって、本発明は、整った印
刷結果が必要とされる頁数の少ない文書に適用する方が
好ましい。
When the automatic format setting function of the present invention is applied to a document having a large number of pages, the influence may occur somewhere. Therefore, the present invention is preferably applied to a document with a small number of pages that requires a neat print result.

【0030】[0030]

【発明の効果】上記の構成によれば、最終頁または改頁
情報を有する頁に存在する行数と予め書式設定されてい
る頁内行数との比率に応じて、当該頁に存在する上記文
書情報が前頁内に収まるような印刷書式、または、当該
頁に存在する上記文書情報が頁内に均等に割り付けられ
るような印刷書式を設定し、その設定された印刷書式に
基づいて印刷を行うようにしたため、文書量に応じて印
刷書式を自動設定でき、専門知識がなくとも整った印刷
結果を簡単に得ることができる。これにより、印刷時に
おけるユーザの負担を大幅に軽減することができる。
According to the above configuration, the document existing on the page concerned is determined according to the ratio of the number of lines existing on the last page or the page having the page break information to the number of lines in the page which is preformatted. Set the print format so that the information fits within the previous page, or set the print format such that the document information existing on the page is evenly allocated within the page, and perform printing based on the set print format. As a result, the print format can be automatically set according to the amount of documents, and a well-printed result can be easily obtained even without specialized knowledge. As a result, the burden on the user during printing can be significantly reduced.

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

【図1】本発明の一実施例に係る文書作成装置の構成を
示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention.

【図2】同実施例の前頁内に収める自動書式設定機能を
説明するための図。
FIG. 2 is a diagram for explaining an automatic format setting function included in the previous page of the embodiment.

【図3】同実施例の前頁内に収める自動書式設定機能を
説明するための図。
FIG. 3 is a diagram for explaining an automatic formatting function included in the previous page of the embodiment.

【図4】同実施例の頁一杯に均等に割り付ける自動書式
設定機能を説明するための図。
FIG. 4 is a view for explaining an automatic format setting function of evenly allocating a full page in the embodiment.

【図5】同実施例の自動書式設定処理の動作を示すフロ
ーチャート。
FIG. 5 is a flowchart showing an operation of automatic format setting processing of the embodiment.

【図6】本発明の他の実施例に係る自動書式設定機能を
説明するための図。
FIG. 6 is a diagram for explaining an automatic formatting function according to another embodiment of the present invention.

【図7】前頁内に収める自動書式設定機能によって得ら
れる印刷結果を示す図。
FIG. 7 is a diagram showing a print result obtained by an automatic formatting function to be included in the previous page.

【図8】頁一杯に均等に割り付ける自動書式設定機能に
よって得られる印刷結果を示す図。
FIG. 8 is a diagram showing a print result obtained by an automatic formating function that is evenly allocated to a full page.

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

11…文書バッファ、12…レジスタ群、13…書式情
報テーブル、14…CPU、15…キーボード、15a
…「自動書式設定」キー、16…入力制御部、17…デ
ィスプレイ、18…表示制御部、19…プリンタ。
11 ... Document buffer, 12 ... Register group, 13 ... Format information table, 14 ... CPU, 15 ... Keyboard, 15a
... "automatic format" key, 16 ... input control section, 17 ... display, 18 ... display control section, 19 ... printer.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数頁からなる文書情報を格納した記憶
手段と、 この記憶手段に格納された上記文書情報の中から最終頁
または改頁情報を有する頁を検出する検出手段と、 この検出手段によって検出された上記頁に存在する行数
と予め書式設定されている頁内行数とを比較する比較手
段と、 この比較手段の結果、上記頁に存在する行数と予め書式
設定されている頁内行数との比率が所定値未満の場合に
は、当該頁に存在する上記文書情報が前頁内に収まるよ
うに印刷書式を設定し、上記比率が上記所定値以上の場
合には、当該頁に存在する上記文書情報が頁内に均等に
割り付けられるように印刷書式を設定する書式設定制御
手段と、 この書式設定制御手段によって設定された上記印刷書式
に基づいて、上記文書情報を印刷する印刷手段とを具備
したことを特徴とする文書作成装置。
1. Storage means for storing document information consisting of a plurality of pages, detection means for detecting the last page or a page having page break information from the document information stored in the storage means, and this detection means. Comparing means for comparing the number of lines existing in the page detected by the above and the number of lines in the page which has been preformatted, and the result of the comparing means, the number of lines existing in the page and the preformatted page If the ratio to the number of inner lines is less than the predetermined value, the print format is set so that the document information existing on the page fits within the previous page, and if the ratio is equal to or more than the predetermined value, the page And a print control for setting the print format so that the document information existing in the page is evenly allocated in the page, and a print for printing the document information based on the print format set by the format control means. Means and Document creating apparatus characterized by Bei was.
【請求項2】 複数頁からなる文書情報を格納した記憶
手段と、 この記憶手段に格納された上記文書情報の中から最終頁
または改頁情報を有する頁を検出する検出手段と、 この検出手段によって検出された上記頁に存在する行数
と予め書式設定されている頁内行数とを比較する比較手
段と、 この比較手段の結果、上記頁に存在する行数と予め書式
設定されている頁内行数との比率に応じて、当該頁に存
在する上記文書情報が前頁内に収まるように印刷書式を
設定するか、当該頁に存在する上記文書情報が頁内に均
等に割り付けられるように印刷書式を設定する書式設定
制御手段と、 この書式設定制御手段によって設定された上記印刷書式
に基づいて、上記文書情報を印刷する印刷手段とを具備
したことを特徴とする文書作成装置。
2. Storage means for storing document information consisting of a plurality of pages, detection means for detecting the last page or a page having page break information from the document information stored in the storage means, and this detection means. Comparing means for comparing the number of lines existing in the page detected by the above and the number of lines in the page which has been preformatted, and the result of the comparing means, the number of lines existing in the page and the preformatted page Depending on the ratio with the number of inlines, set the print format so that the document information existing on the page fits within the previous page, or the document information existing on the page is evenly allocated within the page. A document creating apparatus comprising: a format setting control unit that sets a print format; and a printing unit that prints the document information based on the print format set by the format setting control unit.
【請求項3】 複数頁からなる文書情報の中から最終頁
または改頁情報を有する頁を検出し、 その頁に存在する行数と予め書式設定されている頁内行
数との比率が所定値未満の場合には、当該頁に存在する
上記文書情報が前頁内に収まるように印刷書式を設定
し、上記比率が上記所定値以上の場合には、当該頁に存
在する上記文書情報が頁内に均等に割り付けられるよう
に印刷書式を設定し、 この設定された上記印刷書式に基づいて上記文書情報を
印刷するようにしたことを特徴とする印刷制御方法。
3. A final page or a page having page break information is detected from the document information consisting of a plurality of pages, and the ratio of the number of lines existing on the page to the number of lines in a page that has been formatted in advance is a predetermined value. If it is less than, the print format is set so that the document information existing on the page fits within the previous page, and if the ratio is equal to or more than the predetermined value, the document information existing on the page is A print control method is characterized in that a print format is set so as to be evenly distributed within the document, and the document information is printed based on the set print format.
【請求項4】 複数頁からなる文書情報の中から最終頁
または改頁情報を有する頁を検出し、 その頁に存在する行数と予め書式設定されている頁内行
数との比率に応じて、当該頁に存在する上記文書情報が
前頁内に収まるように印刷書式を設定するか、当該頁に
存在する上記文書情報が頁内に均等に割り付けられるよ
うに印刷書式を設定し、 この設定された上記印刷書式に基づいて上記文書情報を
印刷するようにしたことを特徴とする印刷制御方法。
4. A final page or a page having page break information is detected from document information consisting of a plurality of pages, and the number of lines existing on the page is determined according to the ratio of the number of lines existing in the page and the number of lines in a page that has been preformatted. , Set the print format so that the document information existing on the page fits within the previous page, or set the print format so that the document information existing on the page is evenly allocated within the page. A printing control method characterized in that the document information is printed based on the printed format.
JP5038374A 1993-02-26 1993-02-26 Document preparing device and printing control method Pending JPH06251012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5038374A JPH06251012A (en) 1993-02-26 1993-02-26 Document preparing device and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5038374A JPH06251012A (en) 1993-02-26 1993-02-26 Document preparing device and printing control method

Publications (1)

Publication Number Publication Date
JPH06251012A true JPH06251012A (en) 1994-09-09

Family

ID=12523513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5038374A Pending JPH06251012A (en) 1993-02-26 1993-02-26 Document preparing device and printing control method

Country Status (1)

Country Link
JP (1) JPH06251012A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182789A (en) * 2013-03-15 2014-09-29 Fuji Xerox Co Ltd Document editing device, method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182789A (en) * 2013-03-15 2014-09-29 Fuji Xerox Co Ltd Document editing device, method and program

Similar Documents

Publication Publication Date Title
JPH06251012A (en) Document preparing device and printing control method
JP2000181673A (en) Document printer
US4828414A (en) Output device for automatically changing end of line hot zone
JPS59136281A (en) Printer
JPH0596806A (en) Printing method and apparatus thereof
JP3171557B2 (en) Document creation device
JPH0573562A (en) Document editor
JPS63307976A (en) Recorder
JP2553809B2 (en) Document processing device
JP2821327B2 (en) Information processing method
JPH04127360A (en) Document processor
JPH0785173A (en) Slip printer
JPH0135747B2 (en)
JPH0387278A (en) Printing control system
JPH05169758A (en) Print setting system
JPS62204368A (en) Character processor
JPH0790656B2 (en) Document processing method
JPS6120175A (en) Character processor
JPH0683830A (en) Print format setting device for document input device
JPS63111564A (en) Word processor
JPS59202871A (en) Printing controller
JPH0790650B2 (en) Document creation device
JPH05270112A (en) Printing device
JPH0310856A (en) Printer
JPH06139237A (en) Margin adjusting device for information processor