JPH04148369A - Document printer - Google Patents

Document printer

Info

Publication number
JPH04148369A
JPH04148369A JP2270452A JP27045290A JPH04148369A JP H04148369 A JPH04148369 A JP H04148369A JP 2270452 A JP2270452 A JP 2270452A JP 27045290 A JP27045290 A JP 27045290A JP H04148369 A JPH04148369 A JP H04148369A
Authority
JP
Japan
Prior art keywords
document
page
specified
page number
printing
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
JP2270452A
Other languages
Japanese (ja)
Inventor
Jun Kouda
古宇田 潤
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2270452A priority Critical patent/JPH04148369A/en
Publication of JPH04148369A publication Critical patent/JPH04148369A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To prepare a specification and the like from plural documents by applying consecutive page numbers covering the plural documents, and printing to apply the corresponding page numbers on the consecutive page numbers to specified documents. CONSTITUTION:When printing document data specified by a first specifying means 1, a first page number applying means 3 applies the consecutive page numbers to the respective pages of the document data successively. When printing the document data specified by a second specifying means 2, a second page applying means 4 asks for a starting page number on the consecutive page numbers, and applies the page numbers obtained by successively updating the starting page numbers to the specified documents. Thus, it is possible to apply the consecutive page numbers covering the plural documents, and printing to apply the corresponding page numbers on the consecutive page numbers to the specified documents.

Description

【発明の詳細な説明】 [産業上の利用分野1 この発明は、ワードプロセッサ等の文書印刷装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application 1] The present invention relates to a document printing device such as a word processor.

[従来の技術] 従来、ワードプロセッサ等において、予め磁気ディスク
内に個々に作成登録しておいた複数の文書データを1つ
の文書にまとめて「本」形式の文書(例えば仕様書等)
を作成する場合には、次の如く行っていた。
[Prior Art] Conventionally, in a word processor or the like, a plurality of document data that have been individually created and registered on a magnetic disk are combined into one document to create a "book" format document (for example, specifications, etc.).
When creating , I did the following:

即ち、その1つの方法としては、ディスクから複数の文
書を呼び出し1編集作業によってそれらを1つの文書に
結合する方法。
That is, one method is to load a plurality of documents from a disk and combine them into one document by one editing operation.

他の方法としては複数の文書を個々に呼び出して夫々印
刷する方法。
Another method is to call up multiple documents individually and print them individually.

ところで、前者の方法の様に複数の文書を1の文書にま
とめておけば、自動ページ付は機能備えたワードプロセ
、すにおいては、1つにまめられた文書の全ページに連
続する通しページ、号を文書印刷時に付加することがで
きるが、文1印刷を行う前に予め複数の文書を1つにま
とめ“おくJl集作業を必要とする。
By the way, if you combine multiple documents into one document as in the former method, automatic pagination can be done using a word processor that has the function. Although it is possible to add a number when printing a document, it is necessary to combine multiple documents into one before printing a document.

また、後者の方法においては、上述の様な!1作業を必
要としないが、複数の文書にまたがっ−。
Also, in the latter method, as mentioned above! It does not require one task, but spans multiple documents.

連続する連番形式の通しページ番号を各ページ1に入力
する作業を必要とする。
It is necessary to enter a serial page number in a continuous number format on each page 1.

また、前者の方法の様に複数の文書を1つの5書にまと
めてその文書全体を印刷した後、その部の文書内容を変
更し、それを印刷して元の文書と差し替えることがある
。この場合、その一部C文書には通しページ番号を文書
印刷時に付加することができない為4文書印刷を行う前
に予め元に文書と同様の通しページ番号を各ページ毎に
入丈する作業を必要とする。
Furthermore, as in the former method, after a plurality of documents are combined into one 5-book document and the entire document is printed, the contents of the document in that section may be changed, printed, and replaced with the original document. In this case, it is not possible to add serial page numbers to some of the C documents when printing the document, so before printing the 4 documents, it is necessary to add the same serial page numbers to each page as the original document. I need.

[発明が解決しようとする課題] この様に、各種の作業を必要とする為、時間を要し5面
倒であり、しかも文書やページの追加。
[Problem to be solved by the invention] As described above, various operations are required, which is time consuming and troublesome, and moreover, requires the addition of documents and pages.

削除等が行われる毎に通しページ番号を入力し直さなけ
ればならず、「木」形式の文書を効率良く作成すること
ができないという欠点があった。
This method has the disadvantage that it is not possible to efficiently create a "tree" format document because the serial page numbers must be re-entered each time deletion or the like is performed.

この原因はディスク等に登録されている文書データを文
書単位毎に印刷していることにあると考えられる。
The reason for this is thought to be that document data registered on a disk or the like is printed document by document.

してみれば、個々別々に作成された複数の文書を1つの
文書として印刷できると共に複数の文書にまたがってそ
の全ページに連続する通しページ番号を付加したり、そ
の一部のみの文書印刷が指定された際には指定文書に通
しページ番号トの該当ページ番号を付加して印刷できれ
ば、複数の文書から仕様書等を容易に作成可能であると
共に、仕様書等の一部を差し替える場合でもそれを容易
に行うことが可能となることは明らかである。
If you do this, you can print multiple documents that were created separately as one document, add continuous page numbers to all pages across multiple documents, or print only a portion of the documents. When specified, if you can add and print the corresponding page number of the designated document with a serial page number, it will be possible to easily create specifications etc. from multiple documents, and even if you want to replace part of the specifications etc. It is clear that this can be done easily.

この発明の課題は、個々別々に作成された複数の文書を
1つの文書として印刷できると共に、複数の文書にまた
がってその全ページに連続する通しページ番号を付加し
たり、その一部のみの文書印刷が指定された際には指定
文書に通しページ番号りの該当ページ番号を付加して印
刷できるようにすることである。
An object of this invention is to be able to print multiple documents that have been individually created as one document, to add continuous page numbers to all pages across multiple documents, and to print only a part of the documents. When printing is specified, a corresponding page number of a serial page number is added to the specified document so that printing can be performed.

[課題を解決するための手段] この発明の手段は次の通りである。[Means to solve the problem] The means of this invention are as follows.

第1の指定手段1(第1図の機能ブロック図を参照、以
下同じ)は、予め複数の文書データを印刷対象として指
定するキー人力装置等である。
The first specifying means 1 (see the functional block diagram of FIG. 1; the same applies hereinafter) is a key-powered device or the like that specifies in advance a plurality of document data to be printed.

第2の指定手段2はこの第1の指定手段lによって既に
印刷対象として指定されている複数の文書データのうち
その一部の文書データを今回の印刷対象として指定する
キー人力装置等である。
The second specifying means 2 is a key manual device or the like that specifies some document data as the current printing object among the plurality of document data already specified as printing objects by the first specifying means 1.

第1のページ番号付加手段3は第1の指定手段lによっ
て指定された複数の文書データを印刷する際、複数の文
書データの各ページに連続する通しページ番号を順次付
加する。
The first page number adding means 3 sequentially adds consecutive page numbers to each page of the plurality of document data when printing the plurality of document data specified by the first specifying means 1.

第2のページ番号付加手段4は第2の指定手段2によっ
て指定された文書データを印刷する際、第1のページ番
号付加手段3が指定文書に対して付加すべき通しページ
番号上における開始ページ番号を求め、この開始ページ
番号を順次更新することにより得られたページ番号を指
定文書に対して付加する。
The second page number adding means 4 is a starting page on the serial page number that the first page number adding means 3 should add to the specified document when printing the document data specified by the second specifying means 2. The page number obtained by calculating the starting page number and sequentially updating the starting page number is added to the specified document.

[作 用] この発明の手段の作用は次の通りである。[Work] The operation of the means of this invention is as follows.

いま、ディスク等に作成登録されている各種の文書デー
タのうち、第1の指定手段lによって予め複数の文書デ
ータを印刷対象として指定しておく、すると、第1のペ
ージ番号付加手段3は第1の指定手段1によって指定さ
れた複数の文書データを印刷する際、複数の文書データ
の各ページに連続する通しページ番号を順次付加する0
例えば、2ページ構成の文書A、3ページ構成の文書B
、5ページ構成の文書C・・・・・・が順次印刷された
際、文書Aには通しページ番号rlJ、r2J、文書B
には通しページ番号r3J、r4J「5」、文書Cには
通しページ番号「6」、r7j、  r8J、r9J、
rlOJ・・・・・・が付加される。
Now, among various kinds of document data created and registered on a disk etc., a plurality of document data are specified in advance as printing targets by the first specifying means 1. Then, the first page number adding means 3 When printing a plurality of document data specified by the specifying means 1 of 1, consecutive page numbers are sequentially added to each page of the plurality of document data.
For example, document A has two pages, document B has three pages, etc.
, 5-page document C... are printed sequentially, document A has serial page numbers rlJ, r2J, and document B.
has serial page numbers r3J, r4J "5", document C has serial page numbers "6", r7j, r8J, r9J,
rlOJ... is added.

方、第1の指定手段lによって既に印刷対象として指定
されている複数の文書データのうち第2の指定手段2に
よってその一部の文書を今回の印刷対象として指定して
おく、すると、第2のページ番号付加手段4は第2の指
定手段2によって指定された文書データを印刷する際、
第1のページ番号付加手段3が指定文書に対して付加す
べき通しページ番号上における開始ページ番号を求め、
この開始ページ番号を順次更新することにより得られた
ページ番号を指定文書に対して付加する。
On the other hand, if the second specifying means 2 specifies some of the documents to be printed this time out of a plurality of document data that have already been specified as print targets by the first specifying means l, then the second When the page number adding means 4 prints the document data specified by the second specifying means 2,
The first page number adding means 3 determines the starting page number on the serial page number to be added to the specified document,
The page number obtained by sequentially updating this starting page number is added to the designated document.

したがって、個々別々に作成された複数の文書を1つの
文書として印刷でごろと共に、複数の文書にまたがって
その全ページに連続する通しページ番号を付加したり、
その一部のみの文書印刷が指定された際には指定文書に
通しページ番号りの該当ページ番号を付加して印刷する
ことができる。
Therefore, in addition to printing multiple documents that were created separately as one document, it is also possible to add consecutive page numbers to all pages across multiple documents.
When printing only a part of the document is specified, the specified document can be printed with a corresponding page number added as a serial page number.

[実施例] 以下、第2図〜第9図を参照して一実施例を説明する。[Example] An embodiment will be described below with reference to FIGS. 2 to 9.

第2図はワードプロセッサの基本的な構成を示したブロ
ック図である。
FIG. 2 is a block diagram showing the basic configuration of a word processor.

CPUIIは各種のプログラムにしたがってこのワード
プロセッサの動作を制御するもので、キー人力装置11
2から入力された文書データはCRT表示装!113か
ら表示出力されたり、CPU11によってかな漢字変換
等が行われ、文書メモリ14に格納されたのちCRT表
示装M13からの登録指令に応答して文書メモリ14か
ら読み出され、ディスク制御部15を介して磁気ディス
ク16に登録される。
The CPU II controls the operation of this word processor according to various programs, and the key human power device 11
The document data input from 2 is on the CRT display! 113, kana-kanji conversion, etc. are performed by the CPU 11, and stored in the document memory 14, read out from the document memory 14 in response to a registration command from the CRT display device M13, and sent via the disk control unit 15. and is registered on the magnetic disk 16.

磁気ディスク16は文書保存用の外部記憶装置で、磁気
ディスク16内には図示の始く、文書−覧、文書A、文
書B・・・・・・文書Nが登録されている。そして、磁
気ディスク16内の文書データはキー人力装置112か
らの印刷指令に応答して読み出され、印刷8817から
印字出力される。この場合、複数の文書を1つの文書に
まとめて印刷する際、CPUIIは印刷スペックメモリ
18を参照し、予めページ番号を付加すべ!ことが指定
されているページに、通しページ番号1数の文書にまた
がって連続するページ番号)を付加する。
The magnetic disk 16 is an external storage device for storing documents, and in the magnetic disk 16, document list, document A, document B, . . . , document N, starting from the illustration, are registered. Then, the document data in the magnetic disk 16 is read out in response to a print command from the key manual device 112, and is printed out from the print 8817. In this case, when printing multiple documents together into one document, the CPU II should refer to the print specification memory 18 and add a page number in advance! Continuous page numbers spanning one document are added to pages where this is specified.

印刷スペックメモリ18は複数の文書を1つの文書にま
とめて印刷する際に、その印刷制御情報を記憶するもの
で、この印刷制御情報は文書印刷時等に任意に設定登録
される。第3図は印刷スペックメモリ18内に設定登録
される印刷側御情報を示し、1つの文書としてまとめら
れる複数の文書に対応してその文書陥が呼び出し順序に
したがって設定登録されている他、開始文書No(1つ
の文書としてまとめられる複数の文書のうち通しページ
番号が付加される最初の文書を指定する為の文書No)
 、開始ページ(上述した開始文書動によって指定され
る開始文書を構成する各ページのうち、通しページ番号
が付加されるべき最初のわページ)、印刷部数(複数の
文書を1つの文書にまとめて印刷する際の印刷部数)が
設定登録されている。
The print specification memory 18 stores print control information when a plurality of documents are printed together into one document, and this print control information is arbitrarily set and registered when printing a document. FIG. 3 shows printing side control information that is set and registered in the print specification memory 18. In addition to setting and registering document defects corresponding to multiple documents to be combined into one document according to the calling order, Document No. (Document No. for specifying the first document to which a serial page number is added among multiple documents that are combined into one document)
, start page (the first page to which a serial page number should be added among the pages constituting the start document specified by the above-mentioned start document movement), number of print copies (combining multiple documents into one document), The number of copies to print) is registered.

ナオ、ページ番号レジスタPnは複数の文書を1つの文
書としてまとめて印刷する際に付加されるべき通しペー
ジ番号を記憶するもので、ページ番号の印刷が行われる
毎にその内容はプラスrlJずつ更新される。
Nao, the page number register Pn stores the serial page number that should be added when printing multiple documents as one document, and its contents are updated by plus rlJ every time the page number is printed. be done.

次に1本実施例の動作を第4図〜第9図を参照して説明
する。
Next, the operation of this embodiment will be explained with reference to FIGS. 4 to 9.

第4図は印刷スペックメモリ18に印刷制御情報を設定
登録する際の動作を示したフローチャートである。
FIG. 4 is a flowchart showing the operation when setting and registering print control information in the print specification memory 18.

先ず、磁気ディスク16から文書−覧情報をロードしく
ステー2プAt)、その文書−覧をCR1表示部13か
ら表示出力させる(ステップA2)、そして1文書Mを
指定すべき旨のメツセージ表示が行われ(ステップA3
)、それに応じて文書陥を指定すると(ステップA4)
、指定された文書崩は印刷スペックメモリ18に設定登
録される(ステップA5)、その後、ステップA3に戻
り、以下、所望する任意の文書崩を順次指定すると、印
刷スペックメモリ18には指定された順序にしたがって
文書陥が順次設定登録される。なお、この場合の設定登
録順は文書の呼び出し順序を表わしている。
First, the document list information is loaded from the magnetic disk 16 (Step 2 At), the document list is displayed and output from the CR1 display section 13 (Step A2), and a message indicating that one document M should be specified is displayed. (Step A3
), and specify the document defect accordingly (step A4).
, the specified document collapse is set and registered in the print spec memory 18 (step A5). Then, the process returns to step A3 and the desired document collapse is sequentially specified. Document defects are sequentially set and registered according to the order. Note that the setting registration order in this case represents the document recall order.

この様にして文書陥の設定が終ると、ステップA6に進
み、次項目の設定登録へ移す為に次項目を設定したのち
、ページ付は開始文書崩を指定すると(ステップA7)
、指定された開始文書陥は印刷スペックメモリ18に登
録される(ステップA8)。
When the document collapse setting is completed in this way, the process proceeds to step A6, where the next item is set in order to move on to the setting registration of the next item, and when the pagination is specified as the start document collapse (step A7).
, the specified starting document characteristics are registered in the print specification memory 18 (step A8).

次に、ページ付は開始ページを指定すると(ステップA
9)、指定開始ページは印刷スペックメモリ18に登録
される(ステップAl0)、更に、印刷部数を指定する
と(ステー、プA11)指定印刷部数は印刷スペックメ
モリ18に登録される(ステー、プA12)。
Next, for pagination, specify the start page (step A
9), the specified start page is registered in the print spec memory 18 (step Al0), and when the number of copies to be printed is specified (step A11), the specified number of print copies is registered in the print spec memory 18 (step A12). ).

第5図は複数の文書を1つの文書としてまとめて印刷す
る際の動作を示したフローチャートである。
FIG. 5 is a flowchart showing the operation when printing a plurality of documents together as one document.

いま2例えば第6図に示す様に1つの文書にまとめられ
る複数の文書としてその呼び出し順序にしたがって文書
D、文書A1文書Bを印刷スペックメモリ18に設定登
録すると共に、開始文書陥「A」、開始ページ「2」、
印刷部数rlJを設定登録したものとする。
2. For example, as shown in FIG. 6, document D, document A, and document B are set and registered in the print specification memory 18 according to the calling order as a plurality of documents to be combined into one document, and the starting document status "A", Start page "2",
It is assumed that the number of print copies rlJ has been set and registered.

この状態において、第5図の印刷処理が実行開始される
と、先ず、ページ番号レジスタPnの内容をクリアしく
ステップBl)、次で磁気ディスク16から第!の文書
データをロードする(ステップB2)、ここで、第1の
文書データとは印刷スペックメモリ18内に設定登録さ
れている最初の文書陥によって磁気ディスク16からロ
ードされた文書データで、この場合1文書りがロードさ
れる。そして、ステップB3でロード文書の先頭ページ
を指定しておく。
In this state, when the printing process shown in FIG. 5 is started, first, the contents of the page number register Pn are cleared in step Bl), and then the page number register Pn is cleared from the magnetic disk 16. (step B2), where the first document data is the document data loaded from the magnetic disk 16 according to the first document failure set and registered in the print specification memory 18; A single document is loaded. Then, in step B3, the first page of the loaded document is specified.

ソノ後、ステップB4に進み、ページ番号レジスタPn
の値がrOJか否かを調べるが、最初ページ番号レジス
タPnの値はro、+、したがってステー2プB12に
進み、ロード文書が印刷スペックメモリ18内に設定登
録されている開始文書と等しいか否かを調べる。この場
合、ロード文書は文書り、開始文書は文書A、したがっ
てロード文書はページ付は開始文書ではない為、ステッ
プB7に進み、指定ページの文書データ、この場合、文
書りの先頭ページを1ペ一ジ分印刷させる。
After recording, proceed to step B4 and set the page number register Pn.
It is checked whether the value of page number register Pn is rOJ or not, but first the value of page number register Pn is ro,+, so the process advances to step 2 B12 and it is checked whether the load document is equal to the start document set and registered in the print specification memory 18. Find out whether or not. In this case, the load document is a document, and the start document is document A. Therefore, since the load document is not a paginated start document, the process proceeds to step B7, and the document data of the specified page, in this case, the first page of the document, is transferred to one page. Print one page.

そして、次のステップB8で次ページが有ることが検出
されるとステップB9に進み、次ページを指定したのち
、ステップB4に戻り、以下、同様の動作を繰り返す、
その結果、文書りが例えば3ページ構成であるとすると
、文書りは1ページずつ順次印刷されてゆくが、その際
、文書りの各ページにはページ番号が付加されることは
ない($6図参照)。
Then, in the next step B8, when it is detected that there is a next page, the process proceeds to step B9, and after specifying the next page, returns to step B4, and repeats the same operation.
As a result, if the document consists of, for example, three pages, the document will be printed one page at a time, but no page number will be added to each page of the document ($6 (see figure).

しかして、文書りの全ページを印刷し終ると、ステー2
ブB8で次ページ無しが検出されるので、ステップ81
0に進み、次文書の登録有無を謂へ、有れば次の文書、
この場合、文書Aを磁気ディスク16からロードする(
ステップB11)。
However, when all pages of the document have been printed, the stage 2
Since no next page is detected in block B8, step 81
Proceed to 0 and check whether the next document is registered, if so, the next document,
In this case, document A is loaded from the magnetic disk 16 (
Step B11).

そして、ステップB3に戻り、文書Aの先頭ページを指
定したのち、ページ番号レジスタPnの値がrOJか否
かを調べるが(ステ、プB4)、この場合においてもペ
ージ番号レジスタPnの値はrQJのままであるからス
テップB12に進む。
Then, returning to step B3, after specifying the first page of document A, it is checked whether the value of page number register Pn is rOJ (step B4), but even in this case, the value of page number register Pn is rQJ. Since it remains as it is, the process advances to step B12.

いま、ロード文書Aはページ付は開始文書であるから、
ステップB13に進み、指定ページは印刷スペックメモ
リ18内に登録されている開始ページか否かを調べる。
Now, load document A is the starting document with pages, so
Proceeding to step B13, it is checked whether the specified page is a start page registered in the print specification memory 18.

ここで、指定ページは先頭ページで、第6図に示す如く
印刷スペックメモリ18内に登録されている開始ページ
ではないので、ステップB7に進み、ページ番号を付加
せずに文書Aの先頭ページを印刷させる。
Here, the specified page is the first page and is not the first page registered in the print specification memory 18 as shown in FIG. Let it print.

その後、文書Aの次のページが指定されるが(ステップ
B8、B9)、この場合においてもページ番号レジスタ
Pnの値は「0」のままであリ、しかもロード文書は開
始文書である為、それを条件にステップB13に進む、
この場合、指定ページは印刷スペックメモリ18内の開
始ページと一致する。したがって、ステップB14に進
み、ページ番号レジスタPnに通しページ番号の初期値
rl」をセットする0次に、このページ番号レジスタP
n内のページ番号rlJを印刷しくステップB6)、ペ
ージ番号レジスタPnの値にrlJを加算してページ番
号の更新を行ったのちステー2プB7に進み1文書デー
タを1ペ一ジ分印刷する。
After that, the next page of document A is specified (steps B8 and B9), but even in this case, the value of the page number register Pn remains "0", and since the load document is the start document, Proceed to step B13 on that condition.
In this case, the specified page matches the start page in print spec memory 18. Therefore, the process advances to step B14, and the page number register Pn is set to the initial value rl of the page number.
Print the page number rlJ in n. Step B6) Add rlJ to the value of the page number register Pn to update the page number, then proceed to step 2 B7 and print one page of one document data. .

以下、文書Aについて次ページ無しが検出されるまでペ
ージ番号を付加しながら文書データを1ページずつ印刷
する。この場合、第6図に示す如く1文書Aが3ページ
構成であれば、その2ページ目から通しページ番号が付
加され、2ページ目には通しページ番号rlJ、3ペー
ジ目には通しページ番号「2」が付加される。
Thereafter, document data is printed page by page while adding page numbers to document A until the next page is detected to be missing. In this case, if one document A consists of three pages as shown in Figure 6, a serial page number will be added from the second page, the serial page number rlJ will be added to the second page, and the serial page number will be added to the third page. "2" is added.

この様にして文書Aの印刷が終ると、次に、文書Bがロ
ードされ(ステップB11)、その文書Bの先頭ページ
が指定されるが(ステップB3)、この場合、ページ番
号レジスタPnの値はr2」、l、たがってステップB
4からステップB5に進み、以下、通しページ番号を付
加しながら1ページずつ印刷する処理を繰り返す、この
結果、第7図に示す如く3ページ構成の文書Bは対応す
る通しページ番号「3」、「4」、「5」が付加されて
印刷される。
When document A is printed in this way, document B is loaded (step B11), and the first page of document B is specified (step B3), but in this case, the value of page number register Pn is is r2'', l, so step B
4, the process proceeds to step B5, and the process of printing one page at a time while adding serial page numbers is repeated.As a result, as shown in FIG. "4" and "5" are added and printed.

しかして1文書Bの全ページを印刷し終ると、ステップ
BIOで次文書無しが検出されてステー。
When all pages of one document B have been printed, step BIO detects that there is no next document and the process stays.

ブB15に進み、印刷スペックメモリ18内に登録され
ている印刷部数分の印刷が終ったか否かヲ調べる。いま
、第6図に示す如く印刷部数はrlJ、したがって印刷
終了が検出されて処理終了となるが、印刷部数が「2」
以上であれば、最初のステップBlに戻り、登録部数性
の印刷が終るまで上述した印刷処理を繰り返す。
Proceeding to block B15, it is checked whether printing for the number of print copies registered in the print specification memory 18 has been completed. Now, as shown in Figure 6, the number of printed copies is rlJ, so the end of printing is detected and the process ends, but the number of printed copies is "2".
If the above is the case, the process returns to the first step Bl, and the above-described printing process is repeated until printing of the registered number of copies is completed.

この様にして、予め任意に指定した複数の文書データは
1つの文書としてまとめられて印刷されると共に、複数
の文書データの各ページのうち、予め任意に指定した開
始文書の開始ページから通しページ番号が順次付加され
る。
In this way, multiple pieces of document data that have been arbitrarily specified in advance are printed together as one document, and pages are printed from the start page of the start document that is arbitrarily specified in advance among each page of the multiple document data. Numbers are added sequentially.

第7図はと述の様に1つの文書としてまとめられて印刷
されるべき複数の文書のうち、その1つを任意に指定し
て印刷させる際の動作をボしたフローチャートである。
FIG. 7 is a flowchart illustrating the operation of arbitrarily designating and printing one of a plurality of documents to be printed as one document as described above.

ここで、印刷スペックメモリ18には第8図に示す様な
印刷制御情報が設定登録されているものとする。
Here, it is assumed that print control information as shown in FIG. 8 is set and registered in the print specification memory 18.

先ず、磁気ディスク16から文書−覧をロードしくステ
ップci)、 それを表示出力させる(ステップC2)
、この状態において、印刷文書として所望する文書陽を
指定する(ステップC3)。
First, a document list is loaded from the magnetic disk 16 (step ci), and it is displayed and output (step C2).
, In this state, the desired document name is designated as the print document (step C3).

いま、印刷文書として文書Bを指定したものとする。そ
して、ステップC4に進み、指定文書陥と印刷スペック
メモリ18内の開始文書励とを比較するが、この場合1
両者の不一致が検出されるので、ステップC5に進み、
開始文書崩に対応する文書データ(この場合1文書A)
をロードする。そして、このロード文書の全ページ数を
カウントしくステップC6)、この全ページ数から開始
ページを減算し、この値にr21を加算してページ番号
レジスタPnにセットする(ステップC7)、この場合
、文書Aの全ページ数はr3」、したがって、ページ番
号レジスタPnにはr3−2+2=34が七−2トされ
る。
Now, assume that document B is designated as a print document. Then, the process proceeds to step C4, where the designated document error and the starting document error in the print specification memory 18 are compared; in this case, 1
Since a mismatch between the two is detected, the process proceeds to step C5.
Document data corresponding to the start document collapse (in this case, 1 document A)
Load. Then, to count the total number of pages of this loaded document (Step C6), subtract the start page from this total number of pages, add r21 to this value, and set it in the page number register Pn (Step C7). In this case, The total number of pages of document A is r3'', therefore, r3-2+2=34 is stored in the page number register Pn by 7-2.

次に、ステップC8に進み、印刷スペックメモリ18内
に登録されている次の文書陥と指定文書崩とを比較する
。ここで、両者の不一致が検出された場合にはステップ
C9に進み、印刷スペックメモリ18内に登録されてい
る次の文書陥に対応する文書データを磁気ディスク16
からロードし、このロード文書の全ページ数をカウント
しくステー7プCl0)、その値をページ番号レジスタ
Pnに加算する(ステップC11)、そして、ステップ
C8に戻り、以下、ステップC8で両者の一致が検出さ
れるまで上述の動作を繰り返す。
Next, the process proceeds to step C8, where the next document defect registered in the print specification memory 18 is compared with the designated document defect. If a mismatch between the two is detected, the process proceeds to step C9, and the document data corresponding to the next document defect registered in the print specification memory 18 is transferred to the magnetic disk 16.
, count the total number of pages of this loaded document (Step 7 Cl0), add that value to the page number register Pn (Step C11), and return to Step C8. The above operations are repeated until .

いま、開始文書Aがロードされた際、印刷スベックメモ
リ18内に設定登録されている次の文書慟は文書Bで指
定文書動と一致する為、ステップC8でそのことが検出
されてステップC12に進み、指定文書を磁気ディスク
16からロードし、その先頭ページを指定する(ステッ
プC13)、その後、ページ番号レジスタPn内のペー
ジ番号(この場合「3」)を印刷しくステップC14)
、ページ番号レジスタPnの値に「1」を加算してペー
ジ番号レジスタPnの更新を行う(ステップC15)、
そして、指定ページの文書データを印刷する(ステップ
C16)。
Now, when the start document A is loaded, the next document registered in the print speed memory 18 is document B, which matches the specified document movement, so this is detected in step C8 and the process proceeds to step C12. Proceed to load the designated document from the magnetic disk 16 and designate its first page (step C13), then print the page number (in this case "3") in the page number register Pn (step C14).
, "1" is added to the value of the page number register Pn to update the page number register Pn (step C15),
Then, the document data of the specified page is printed (step C16).

そして、次ページ有るか否かを調べ(ステップC17)
、有れば、ステップC18に進み、次ページを指定した
のちステップCI4に戻り、ν下、次ページ無しが検出
されるまでページ番号を付加しながら指定文書を1ペー
ジずつ印刷してゆく。
Then, check whether there is a next page (step C17)
, if there is, the process proceeds to step C18, where the next page is designated, and then returns to step CI4, where the specified document is printed page by page while adding page numbers until ν down and no next page is detected.

第9図は文書Bが指定文書として指定された場合の印刷
例を示し、文書Bの各ページにはページ番号r3,1.
r4」、「5」が印刷される。
FIG. 9 shows an example of printing when document B is designated as a designated document, and each page of document B has page numbers r3, 1, .
r4" and "5" are printed.

なお、次ページ無しが検出された場合には印刷スペック
メモリ18内の登録部分の印刷が終了したか否かを調べ
(ステップC31)、登録部数の印刷が終了するまでス
テップC4に戻り、E述の動作を繰り返す。
If it is detected that there is no next page, it is checked whether printing of the registered portion in the print specification memory 18 has been completed (step C31), and the process returns to step C4 until the registered number of copies has been printed. Repeat the action.

一方、指定文書が開始文書であれば次の如く動作する。On the other hand, if the specified document is the start document, the following operation will be performed.

即ち、ステー、プC4で指定文書が開始文書であること
が検出されると、つまり、第 因に示す如く文書Aを指
定すると、ステー、プC20に進みページ番号レジスタ
Pnの内容をクリアし1次で開始文書崩に対応する文書
データ(文書A)を磁気ディスク16からロードする(
ステップC21)、そして1次のステップC22に進み
ロード文書の先頭ページを指定しておく。
That is, when it is detected in step C4 that the specified document is the start document, that is, if document A is specified as shown in the first cause, the process proceeds to step C20 and clears the contents of the page number register Pn. Next, document data (document A) corresponding to the starting document collapse is loaded from the magnetic disk 16 (
The process then proceeds to step C21), the first step C22, and specifies the first page of the loaded document.

その後、ステップC23に進み、ページ番号レジスタP
nの値がrOJか否かを調べるが、最初ページ番号レジ
スタPnの値はrOJ、したがってステップC24に進
み、指定ページが印刷スペックメモリ18内に設定登録
されている開始ページと等しいか否かを調べる。いま、
印刷スペックメモリ18内には開始ページとして「2」
が設定されているので、ステップC26に進み指定ペー
ジの文書データ、この場合、文書Aの先頭ページを1ペ
一ジ分印刷させる。
After that, the process advances to step C23, and the page number register P
It is checked whether the value of n is rOJ or not. Initially, the value of the page number register Pn is rOJ, so the process proceeds to step C24, and it is checked whether the specified page is equal to the start page set and registered in the print specification memory 18. investigate. now,
"2" is stored as the start page in the print spec memory 18.
has been set, the process advances to step C26 to print one page of the specified page of document data, in this case the first page of document A.

そして、次のステップC27で次ページ有りが検出され
ると、ステップC28に進み1次ページを指定したのち
、ステップC23にRる。この場合、ページ番号レジス
タPnの値はrQJのままであるからステー2プC29
に進むが、ここで指定ページは開始ページと一致する為
、ステップC3oに進み、ページ番号レジスタPnに通
しページ番号の初期値rlJをセットしたのち、そのペ
ージ番号を印刷させる(ステップC24)、そして、ペ
ージ番号レジスタPnの値に「1」を加算して通しペー
ジ番号の更新を行ったのちCステップC25)、1ペ一
ジ分の文書データを印刷させる(ステップC26)。
If the presence of the next page is detected in the next step C27, the process proceeds to step C28, where the primary page is designated, and then the process returns to step C23. In this case, the value of page number register Pn remains rQJ, so step 2 C29
However, since the specified page matches the start page, the process proceeds to step C3o, sets the initial value rlJ of the serial page number in the page number register Pn, and then prints that page number (step C24). After updating the serial page number by adding "1" to the value of the page number register Pn, step C25), one page of document data is printed (step C26).

更に1次のステップC27で次ページ有りが検出される
と1次ページを指定したのちステー、プC23に戻るが
、この場合、ページ番号レジスタPnの値はr2J、し
たがって、以下、通しページ番号を付加しながら文書デ
ータを1ページずつ印刷してゆく(ステップC24〜C
28)。
Furthermore, if the presence of the next page is detected in the primary step C27, the process returns to step C23 after specifying the primary page, but in this case, the value of the page number register Pn is r2J, and therefore, the serial page number will be Print the document data one page at a time while adding (steps C24 to C
28).

この結果、文書Aの全ページを印刷し終るとステップC
27で次ページ無しが検出されるので、ステップC31
に進み、登録部数分の印刷が終るまでステップC4に戻
り、指定文書の印刷を繰り返す。
As a result, when all pages of document A have been printed, step C
Since no next page is detected in step C27, step C31
Then, the process returns to step C4 and repeats printing of the specified document until printing of the registered number of copies is completed.

[発明の効果] この発明によれば1個々別々に作成された複数の文書を
1つの文書として印刷できると共に、複数の文書にまた
がってその全ページに連続する通しページ番号を付加し
たり、その一部のみの文書印刷が指定された際には指定
文書に通しページ番号上の該当ページ番号を付加して印
刷することができるので、仕様書等の一部を差し替える
場合でもそれを容易に行うことが可能となる等の効果を
有する。
[Effects of the Invention] According to the present invention, it is possible to print a plurality of documents that have been individually created as one document, and also to add consecutive page numbers to all pages of the plurality of documents. When only part of a document is specified to be printed, the corresponding page number on the serial page number can be added to the specified document and printed, making it easy to replace part of the specifications etc. This has the effect of making it possible to

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

第1図はこの発明の機能ブロック図、第2図・第9図は
実施例を示し、第2図はワードプロセサの基本的な構成
を示したブロック構成図、第;図は第2図で示した印刷
スペックメモリ18の1成因、第4図は印刷スペックメ
モリ18に印#A御情報を設定登録する際の動作を示し
たフローチャート、第5図は複数の文書を1つの文書2
してまとめて印刷する際の動作を示したフローチャー)
、16図は印刷スペックメモリ18内σ登録内容に応じ
て複数の文書が1つの文書としてまとめられて印刷され
た際の印刷例を示した図、第7図は1つの文書としてま
とめられて印刷されるべき複数の文書のうち、その1つ
を任意に指定して印刷させる際の動作を示したフローチ
ャート、第8rgJはと記指定文書が開始文書ではない
文書Bである場合の印刷例、第9図は上記指定文書が開
始文書Aである場合の印刷例を示した図である。 11・・・・・・CPU、12・・・・・・キー人力装
置、15・・・・・・ディスク制御部、16・・・・・
・磁気ディスク17・・・・・・印刷装置、18・・・
・・・印刷スペックメモリ。 特 許 出 願 人 カシオ計算機株式会社
Figure 1 is a functional block diagram of the present invention, Figures 2 and 9 show embodiments, Figure 2 is a block diagram showing the basic configuration of a word processor, and Figure 2 is a block diagram of the invention. FIG. 4 is a flowchart showing the operation for setting and registering mark #A information in the print spec memory 18, and FIG. 5 shows how multiple documents are combined into one document 2.
(Flowchart showing the operation when printing all files at once)
, Fig. 16 is a diagram showing an example of printing when multiple documents are combined and printed as one document according to the registered contents of σ in the print specification memory 18, and Fig. 7 is a diagram showing an example of printing when multiple documents are combined and printed as one document. A flowchart showing the operation when arbitrarily specifying one of a plurality of documents to be printed and printing it. FIG. 9 is a diagram showing an example of printing when the designated document is the start document A. 11...CPU, 12...Key manual device, 15...Disk control section, 16...
・Magnetic disk 17...Printing device, 18...
...Print spec memory. Patent applicant Casio Computer Co., Ltd.

Claims (1)

【特許請求の範囲】 予め複数の文書データを印刷対象として指定する第1の
指定手段と、 この第1の指定手段によって既に印刷対象として指定さ
れている複数の文書データのうちその一部の文書データ
を今回の印刷対象として指定する第2の指定手段と、 前記第1の指定手段によって指定された複数の文書デー
タを印刷する際、複数の文書データの各ページに連続す
る通しページ番号を順次付加する第1のページ番号付加
手段と、 前記第2の指定手段によって指定された文書データを印
刷する際、前記第1のページ番号付加手段が指定文書に
対して付加すべき通しページ番号上における開始ページ
番号を求め、この開始ページ番号を順次更新することに
より得られたページ番号を指定文書に対して付加する第
2のページ番号付加手段と、 を具備したことを特徴とする文書印刷装置。
[Claims] A first specifying means for specifying in advance a plurality of document data as objects to be printed, and a part of the documents among the plurality of document data already specified as objects to be printed by the first specifying means. a second specifying means for specifying data to be printed this time; and when printing a plurality of document data specified by the first specifying means, sequentially assigning consecutive page numbers to each page of the plurality of document data. a first page number adding means to add; and a first page number adding means to add a page number on the serial page number to be added to the specified document when printing the document data specified by the second specifying means; A document printing device comprising: second page number adding means for obtaining a start page number and adding the obtained page number to a specified document by sequentially updating the start page number.
JP2270452A 1990-10-11 1990-10-11 Document printer Pending JPH04148369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2270452A JPH04148369A (en) 1990-10-11 1990-10-11 Document printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2270452A JPH04148369A (en) 1990-10-11 1990-10-11 Document printer

Publications (1)

Publication Number Publication Date
JPH04148369A true JPH04148369A (en) 1992-05-21

Family

ID=17486487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2270452A Pending JPH04148369A (en) 1990-10-11 1990-10-11 Document printer

Country Status (1)

Country Link
JP (1) JPH04148369A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62271045A (en) * 1986-05-20 1987-11-25 Fuji Xerox Co Ltd Document control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62271045A (en) * 1986-05-20 1987-11-25 Fuji Xerox Co Ltd Document control device

Similar Documents

Publication Publication Date Title
JP2006107142A (en) Document processor, and method
JP3361951B2 (en) Print data processing apparatus and method
JP3099469B2 (en) Standard document creation device
JPH04148369A (en) Document printer
JP4532872B2 (en) Document processing method and document processing apparatus
JPS6411971B2 (en)
JPH02165353A (en) Conversation type data processing system
JPH11102362A (en) Composition system using computer network
JPH06187107A (en) Slip distribution output device
JP2771368B2 (en) Form design method
JP3214940B2 (en) Image processing system
JP2803087B2 (en) Print processing device
JP3080891B2 (en) Form processing device
JPH0962659A (en) Printer
JPH04148368A (en) Document printer
JP2008165661A (en) Business form output device and business processing apparatus
JPH01191572A (en) Image forming device
JP3266955B2 (en) Page description program processor
JPH04241618A (en) Slip preparing device
JP3083435B2 (en) Slip file forming device
JPH10105447A (en) Data processor
JPH0744540A (en) Printer
JPH05158675A (en) Job flowchart designing device
JPH04117523A (en) Program editing device
JPH02148220A (en) Selective copying system for program