JPH04367971A - document processing device - Google Patents

document processing device

Info

Publication number
JPH04367971A
JPH04367971A JP3144701A JP14470191A JPH04367971A JP H04367971 A JPH04367971 A JP H04367971A JP 3144701 A JP3144701 A JP 3144701A JP 14470191 A JP14470191 A JP 14470191A JP H04367971 A JPH04367971 A JP H04367971A
Authority
JP
Japan
Prior art keywords
document
printing
printed
control character
control
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
JP3144701A
Other languages
Japanese (ja)
Inventor
Tadashi Naganuma
長沼 正
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3144701A priority Critical patent/JPH04367971A/en
Publication of JPH04367971A publication Critical patent/JPH04367971A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To synthesize synthetic printing of plural files at the time of execution of printing without synthesizing it at the time of editing. CONSTITUTION:This document processor is provided with a storage means 6 for storing a document by a file format, a means 4 for printing the document, a detecting means for detecting a control character for indicating to insert other document and a document name to be inserted from in the document to be printed and a printing control means for suspending printing by detecting the control character and executing the control so that the document of the detected document name is read out of the storage means 6 and printed.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、印刷しようとする文書
中に、他の文書などを合成して印刷することが可能な文
書処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus that can combine and print a document to be printed with another document.

【0002】0002

【従来の技術】従来、この種の合成印刷を実行するため
には、任意のレイアウトをとるためには、編集画面上で
合成する複数のファイルを実際に展開して設定を行い、
印刷していた。
2. Description of the Related Art Conventionally, in order to perform this type of composite printing, in order to create an arbitrary layout, multiple files to be composited must be actually expanded and set on an editing screen.
It was printing.

【0003】0003

【発明が解決しようとしている課題】しかしながら、複
数のファイルを展開合成するためには、記憶容量の制限
によって、複数回に分けて印刷を実行しなければならな
い場合が発生する。
However, in order to expand and synthesize a plurality of files, there are cases where printing must be performed in multiple batches due to storage capacity limitations.

【0004】また、展開の際に、各ファイルの整合をと
るためにある程度レイアウトの形が固定されてしまう。
[0004] Furthermore, during expansion, the layout shape is fixed to some extent in order to match each file.

【0005】そこで、本発明の目的は、複数のファイル
の合成印刷を、編集時には合成せずに、印刷実行時に合
成可能な文書処理装置を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a document processing apparatus that can perform composite printing of a plurality of files at the time of execution of printing, rather than at the time of editing.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明文書処理装置は、文書をファイル形式で記憶
する記憶手段と、文書を印刷する印刷手段と、印刷対象
の文書中より他の文書の挿入を指示する制御文字と、挿
入すべき文書名とを検出する検出手段と、前記制御文字
の検出により印刷を中断し、検出された文書名の文書を
前記記憶手段から読み出して印刷するように制御する印
刷制御手段とを具える。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the document processing device of the present invention includes a storage means for storing documents in a file format, a printing means for printing the documents, and a document processing device for storing documents in the document to be printed. a detection means for detecting a control character for instructing the insertion of a document, and a document name to be inserted; and a detection means for interrupting printing upon detection of the control character, reading out a document with the detected document name from the storage means, and printing the document. and a printing control means for controlling the printing process.

【0007】これにより、1ファイルの印刷実行中に、
必要な時点で他のファイルを呼び出して挿入して印刷す
ることが可能となる。
[0007] As a result, while printing one file,
It is possible to call up other files, insert them, and print them whenever necessary.

【0008】[0008]

【実施例】以下、図面を参照しながら、本発明における
1実施例について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は、本実施例におけるシステムブロッ
ク図である。同図において、1は、文字やコマンドを入
力するためのキーボード、2は、プログラムメモリ5に
記憶された処理手順に従って各種処理を行ない、システ
ムの各部の制御を司るCPUである。3は、編集文書な
ど各種データを表示するためのCRT、4は、印刷出力
のためのプリンタ、5は、図2のフローチャートに示す
処理手順を含む各種処理を実行するためのプログラムが
格納されているプログラムメモリ、6は、文書データを
ファイル形式で格納するための文書メモリ、7は、本シ
ステムの動作中にデータを一時的に格納し、文書編集領
域としても用いられるワークメモリである。
FIG. 1 is a system block diagram in this embodiment. In the figure, 1 is a keyboard for inputting characters and commands, and 2 is a CPU that performs various processes according to processing procedures stored in a program memory 5 and controls each part of the system. 3 is a CRT for displaying various data such as edited documents; 4 is a printer for printing; and 5 is a computer storing programs for executing various processes including the processing procedure shown in the flowchart of FIG. A program memory 6 is a document memory for storing document data in a file format, and a work memory 7 temporarily stores data during operation of the system and is also used as a document editing area.

【0010】図2は、本発明装置による合成印刷を実行
するための文書ファイルの内容の例を表すものである。
FIG. 2 shows an example of the contents of a document file for executing composite printing by the apparatus of the present invention.

【0011】同図において、文書Aの6行目の「挿入印
刷」が文書Aの印刷時に他の文書を挿入して印刷する位
置を表す制御文字であり、この制御文字に引き続く「文
書B」が  挿入するべき文書名である。
In the figure, "insert print" on the 6th line of document A is a control character that indicates the position where another document is inserted and printed when document A is printed, and "document B" that follows this control character is is the document name to be inserted.

【0012】この文書名を文書Aの地の文と区別するに
は、文書名として用いない文字(列)を区切り記号に用
いればよい。
[0012] In order to distinguish this document name from the original text of document A, a character (sequence) that is not used as a document name may be used as a delimiter.

【0013】本発明装置により、この文書Aの印刷を実
行すると、制御文字「挿入印刷」を検知した時点で、文
書Aの印刷を中断し、文書Bを読み出して印刷し、文書
Bの印刷を終了すると、文書Aの印刷を中断した箇所か
ら再開する。したがって、印刷結果としては、文書Aの
指示された位置に文書Bの内容が挿入され、合成印刷が
実現される。
[0013] When printing document A using the apparatus of the present invention, when the control character "insert print" is detected, printing of document A is interrupted, document B is read and printed, and document B is printed. Once finished, printing of document A is resumed from the point where it was interrupted. Therefore, as a print result, the content of document B is inserted into the designated position of document A, and composite printing is realized.

【0014】以上の処理を、図3のフローチャートを利
用して説明する。
The above processing will be explained using the flowchart of FIG.

【0015】ステップS1では、N行目に制御文字があ
るかを判定し、ない場合は、S2へ進み、ある場合は、
ステップS5へ進む。なお、初期状態では、N=1であ
る。ステップS2では、文書AのN行目を印刷し、ステ
ップS3に進む。ステップS3ではN=N+1として、
処理対象を次行へ移動する。ステップS4では文書Aの
全行の処理を終了したかを判定し、終了した場合は印刷
処理を終了する。終わってない場合には、ステップS1
に戻る。
In step S1, it is determined whether there is a control character in the Nth line. If there is no control character, the process advances to S2; if there is,
Proceed to step S5. Note that in the initial state, N=1. In step S2, the Nth line of document A is printed, and the process proceeds to step S3. In step S3, N=N+1,
Move the processing target to the next line. In step S4, it is determined whether all lines of document A have been processed, and if the processing has been completed, the printing process is ended. If not completed, step S1
Return to

【0016】一方、ステップS1で制御文字があった場
合、ステップS5では、印刷済の文書Aの前行に続けて
文書Bを印刷し、文書Bの印刷を終了するとステップS
3に進み、制御文字のあった行の次の行に処理を移す。 この結果、文書Aの残りの部分が、文書Bに続けて印刷
されることになる。
On the other hand, if there is a control character in step S1, then in step S5, document B is printed following the previous line of printed document A, and when printing of document B is finished, step S5 is executed.
Proceed to step 3 and move the processing to the line following the line containing the control character. As a result, the remaining portion of document A will be printed following document B.

【0017】[他の実施例]上記実施例では、1つの文
書の途中に、他の文書を挿入するものとしたが、他の文
書を印刷した時点で印刷処理を終了するようにしてもよ
い。このようにすることにより、元の文書の制御文字以
下の部分は、印刷されない領域となり、メモなどに利用
することができる。
[Other Embodiments] In the above embodiment, another document is inserted in the middle of one document, but the printing process may be ended when the other document is printed. . By doing so, the portion of the original document below the control characters becomes an area that is not printed and can be used for memos and the like.

【0018】同様に、挿入文書の印刷後に、元の文書の
印刷を、指定された行から再開するようにすれば、制御
文字の設定された行と、印刷を再開する行との間は印刷
されない領域となるので、ここに、印刷は不要だが編集
に必要な情報、例えば文書Bの概略などを記す部分とし
て利用することができる。
Similarly, if printing of the original document is restarted from the specified line after printing the inserted document, printing will not be possible between the line where the control character is set and the line where printing is restarted. This area can be used to write information that does not need to be printed but is necessary for editing, such as an outline of document B.

【0019】[0019]

【発明の効果】以上説明したように、本発明によれば、
1つの文書に他の文書を挿入した文書を印刷したい時に
、編集段階での挿入を必要としないので、挿入結果の文
書量が編集領域の容量を越える場合でも、簡単な操作で
実現ができる。特に、大容量の文書を複数のファイルと
して管理し、印刷時には、1つのファイルに対する印刷
指示で、文書全体の印刷が可能となる。
[Effects of the Invention] As explained above, according to the present invention,
When you want to print a document in which another document is inserted into one document, the insertion is not required at the editing stage, so even if the amount of documents as a result of insertion exceeds the capacity of the editing area, it can be achieved with a simple operation. In particular, a large document can be managed as multiple files, and when printing, the entire document can be printed by issuing a print instruction for one file.

【0020】また、複数の文書に共通する部分を挿入文
書として別ファイルにすることにより、印刷時の処理手
順には影響を与えずに、メモリが節約されると共に、こ
の部分に対する修正を一括して行うことができる。
[0020] In addition, by creating a separate file for parts that are common to multiple documents as insert documents, memory can be saved without affecting the printing process, and corrections to these parts can be made all at once. It can be done by

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

【図1】本発明文書処理装置の1実施例の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the configuration of one embodiment of a document processing device of the present invention.

【図2】文書ファイルの例を表す図である。FIG. 2 is a diagram illustrating an example of a document file.

【図3】挿入印刷の処理手順を表すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing procedure for insert printing.

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

1  キーボード 2  CPU 3  CRT 4  プリンタ 5  プログラムメモリ 6  文書メモリ 7  ワークメモリ 1 Keyboard 2 CPU 3 CRT 4 Printer 5 Program memory 6 Document memory 7 Work memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  文書をファイル形式で記憶する記憶手
段と、文書を印刷する印刷手段と、印刷対象の文書中よ
り他の文書の挿入を指示する制御文字と、挿入すべき文
書名とを検出する検出手段と、前記制御文字の検出によ
り印刷を中断し、検出された文書名の文書を前記記憶手
段から読み出して印刷するように制御する印刷制御手段
とを具えることを特徴とする文書処理装置。
Claim 1: A storage means for storing a document in a file format, a printing means for printing the document, a control character for instructing the insertion of another document from the document to be printed, and a name of the document to be inserted. and a print control means that controls to interrupt printing upon detection of the control character, read out a document with the detected document name from the storage means, and print it. Device.
JP3144701A 1991-06-17 1991-06-17 document processing device Pending JPH04367971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3144701A JPH04367971A (en) 1991-06-17 1991-06-17 document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3144701A JPH04367971A (en) 1991-06-17 1991-06-17 document processing device

Publications (1)

Publication Number Publication Date
JPH04367971A true JPH04367971A (en) 1992-12-21

Family

ID=15368272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3144701A Pending JPH04367971A (en) 1991-06-17 1991-06-17 document processing device

Country Status (1)

Country Link
JP (1) JPH04367971A (en)

Similar Documents

Publication Publication Date Title
EP0225191B1 (en) Document processing system
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
US4924411A (en) Document processing apparatus having shading process function
US20050010858A1 (en) Method and apparatus for creating document
JP2803087B2 (en) Print processing device
JP3046429B2 (en) Document processing apparatus and document processing method
JP2922372B2 (en) Text processing device in the area
JPH04111160A (en) Document processing device and document processing method
JPH08185507A (en) Document processing device with filing function
JPH03147017A (en) Image processing device
JPS62229288A (en) document processing device
JPH079705A (en) Specified page batch printout method and device
JPH04190450A (en) Document processor
JPH0462089B2 (en)
JPH08171555A (en) Word processor equipment
JPH04315256A (en) Editing range designating device
JPS63276625A (en) Information processor
JPH0196724A (en) Image output device
JPS61131162A (en) Document preparing device
JPS6389863A (en) typesetting system
JPH06246980A (en) Printer
JPH0512263A (en) Document creation device
JPH0619901A (en) Document processing device having liquid crystal tablet
JPS63194957A (en) Output device
JPH0567104A (en) Character input correcting machine