JP2005318105A - Document processing apparatus, method, and program - Google Patents

Document processing apparatus, method, and program Download PDF

Info

Publication number
JP2005318105A
JP2005318105A JP2004131820A JP2004131820A JP2005318105A JP 2005318105 A JP2005318105 A JP 2005318105A JP 2004131820 A JP2004131820 A JP 2004131820A JP 2004131820 A JP2004131820 A JP 2004131820A JP 2005318105 A JP2005318105 A JP 2005318105A
Authority
JP
Japan
Prior art keywords
page
document
recording medium
printing
size
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.)
Granted
Application number
JP2004131820A
Other languages
Japanese (ja)
Other versions
JP4371892B2 (en
JP2005318105A5 (en
Inventor
Junko Sato
純子 佐藤
Koji Nakagiri
孝治 中桐
Yasuo Mori
安生 森
Makoto Tomita
信 冨田
Ko Kanetani
航 金谷
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 JP2004131820A priority Critical patent/JP4371892B2/en
Publication of JP2005318105A publication Critical patent/JP2005318105A/en
Publication of JP2005318105A5 publication Critical patent/JP2005318105A5/ja
Application granted granted Critical
Publication of JP4371892B2 publication Critical patent/JP4371892B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a document processing method that facilitate cutting and merging operations after printing by performing proper page layout processing with easy settings even when pages of various form sizes are mixed in a document to be printed or when pages of one-surface printing settings and both-surface printing settings are mixed during successive-page printing. <P>SOLUTION: An apparatus and method for document processing that lays out a plurality of page data constituting a document on one recording medium to set a printing style of the document are characterized in: laying out a plurality of pages on one recording medium as a printing style of a document; judging whether or not successive-page printing for obtaining final printed matter by cutting the recording medium having been printed is set; acquiring attribute information set for the document and deciding sizes of respective pages constituting the document based upon the obtained attribute information when it is judged that the successive-page printing is set; and deciding whether the document consists of page data of different page sizes and controlling layouts of page data by page sizes when the decision result shows that the page data of the different page sizes are included in the document. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、パーソナルコンピュータ等の情報処理とプリンタから成るシステムにおいて、文書処理プログラムや画像編集プログラム等、様々なプログラムによって生成される出力データをひとつの文書としてまとめ、その文書に対する編集機能を提供する文書処理装置及び文書処理方法、文書処理プログラム等に関するものである。   The present invention provides an editing function for a document by collecting output data generated by various programs such as a document processing program and an image editing program as one document in a system including an information processing and printer such as a personal computer. The present invention relates to a document processing apparatus, a document processing method, a document processing program, and the like.

文字や表、画像など、データの種類が異なると、データを定義する構造やそれらデータに対する編集操作が異なるために、データの種類に応じた様々なアプリケーションプログラムが提供されている。利用者は、文字を編集するためには文字処理プログラム、表を編集するためには表計算プログラム、画像を編集するためには画像編集プログラムといった具合に、データの種類別にアプリケーションを使い分けている。   Different types of data such as characters, tables, and images have different structures for defining the data and editing operations on the data. Therefore, various application programs corresponding to the types of data are provided. The user uses different applications depending on the type of data, such as a character processing program for editing characters, a spreadsheet program for editing tables, and an image editing program for editing images.

このように、利用者はデータの種類ごとにアプリケーションプログラムを使い分けるのが一般的である。しかし、利用者が作成しようとする文書としては、例えば文字のみや、表のみ、画像のみといった1種類のデータのみから構成される文書よりも、文字と表、文字と画像など、複数種類のデータから構成される文書の方が一般的である。そこで複数種類のデータを含む目的文書を作成するために、利用者は各種アプリケーションが備えている印刷機能を利用してアプリケーションごとにデータを印刷させ、印刷物を所望の順序に組み合わせる必要があった。   As described above, the user generally uses different application programs for each type of data. However, as a document to be created by the user, for example, a plurality of types of data such as characters and tables, characters and images, rather than a document composed of only one type of data such as characters only, tables only, and images only. Documents consisting of are more common. Therefore, in order to create a target document including a plurality of types of data, a user needs to print data for each application by using a printing function included in various applications, and to combine printed materials in a desired order.

あるいは、いわゆるオフィススイートと呼ばれる、各種アプリケーションによってひとつの統合アプリケーションを形成するプログラムには、各アプリケーションで生成されたデータを組み合わせ、ひとつの文書を構成する機能を提供するものもある。この統合アプリケーションを使用する場合には、利用者は、各アプリケーションで作成したデータを、統合アプリケーションに含まれる特定のアプリケーションによってひとつの目的文書にまとめることができる。   Alternatively, there are programs called so-called office suites that form a single integrated application by various applications, and provide a function that combines data generated by each application to form a single document. When using this integrated application, the user can collect the data created by each application into one target document by a specific application included in the integrated application.

しかしながら、利用者が各種アプリケーションによる印刷物を組み合わせてひとつの目的文書を作成する場合、例えばページ番号を各ページに振るためには、いったん必要なデータをすべて印刷出力し、文書としてまとめてから付すべきページ番号を決定する必要がある。そして、各アプリケーションによって、そのアプリケーションで作成された原稿の各ページ(これを論理ページあるいは原稿ページと呼ぶ)ごとに、決定されたページ番号を書き込んでいく。アプリケーションプログラムがページ番号を振る機能を有している場合であっても、不連続部分があればその部分についてはやはり利用者がページ番号を指定しなければならない。また、目的文書のページを再配置した場合には、ページ番号もそれに合わせて振り直さなければならない。あるいは、複数の原稿ページを、印刷物としての1ページ(これを物理ページあるいは印刷ページと呼ぶ)にまとめたり、片面印刷から両面印刷に変更するなど、データの内容にかかる変更ではなく、単に書式を変更する場合であっても、アプリケーションによって編集及び印刷のし直しが必要となる。   However, when a user creates a single target document by combining printed materials from various applications, for example, in order to assign page numbers to each page, all necessary data should be printed once and put together as a document. The page number needs to be determined. Each application then writes the determined page number for each page of the document created by that application (this is called a logical page or a document page). Even if the application program has a function of assigning page numbers, if there is a discontinuous part, the user must still specify the page number for that part. When the target document page is rearranged, the page number must be reassigned accordingly. Or, it is not a change related to the contents of the data, such as combining a plurality of manuscript pages into one page as a printed matter (this is called a physical page or a print page), or changing from single-sided printing to double-sided printing. Even in the case of changing, editing and reprinting are necessary depending on the application.

このように、データの種類ごとにそれを管理できるアプリケーションが異なることから、アプリケーション間のインタフェースを利用者自身が人手によって提供しなければならない。このことは、利用者に多大な労力が要求されるということであり、生産性の低下をもたらす。さらに、多くの人手を介することからエラーの発生も生じやすかった。   As described above, since the application that can manage the data is different for each type of data, the user must provide an interface between the applications manually. This means that a great deal of labor is required for the user, resulting in a decrease in productivity. Furthermore, since many people are involved, errors are likely to occur.

一方、統合アプリケーションを利用して目的文書を作成する場合、印刷出力せずに、データの状態で各種データを配置することができる。このため、印刷物を組み合わせて目的文書を作成する場合ほどには労力は必要とされることはない。しかしながら、各種データを編集・作成するためのアプリケーションは、統合アプリケーションに含まれるものに限られてしまい、利用者が望むアプリケーションが使用できるとは限らない。また、統合アプリケーションによって作成された目的文書はひとつの文書ファイルであり、ファイル単位で編集・出力等の管理が行われる。そのために、文書ファイルの一部について書式を設定しようとしてもアプリケーションの機能による制約が多く、例えば書式が変わる部分ごとに書式設定を変更しては印刷し直すといった作業が必要とされる。このため、多くの労力が必要とされて生産性が低い点においては、前述した方法と変わりはなかった。   On the other hand, when a target document is created using an integrated application, various data can be arranged in a data state without printing out. For this reason, labor is not required as much as when a target document is created by combining printed materials. However, applications for editing and creating various data are limited to those included in the integrated application, and an application desired by the user cannot always be used. The target document created by the integrated application is a single document file, and management such as editing / output is performed in file units. Therefore, there are many restrictions due to the function of the application even when trying to set the format for a part of the document file. For example, it is necessary to change the format for each part where the format changes and to reprint. For this reason, in the point that much labor is required and productivity is low, it was not different from the method mentioned above.

また、近年、このような統合アプリケーションを利用して作成した文書を印刷する際に利用する印刷方法として、「多連印刷」と呼ばれるものがある。「多連印刷」とは、印刷後の裁断を前提とし、一枚の記録媒体(用紙)上に複数ページ分の印刷結果を出力することを目的として、ページデータを用紙上に配置して印刷する機能である。例えば、一枚の用紙上に同一ページの印刷データを複数部数分(例えば、2部、4部分)印刷することにより、1回の印刷処理により得られる一枚の用紙から複数部数分に相当する印刷結果を得ることができる。   In recent years, a printing method used when printing a document created using such an integrated application is called “multiple printing”. “Multiple printing” is based on the preconditions of cutting after printing, and prints by arranging page data on paper for the purpose of outputting the printing results for multiple pages on a single recording medium (paper). It is a function to do. For example, by printing a plurality of copies (for example, two copies, four portions) of the same page of print data on one sheet, this corresponds to a plurality of copies from one sheet obtained by one printing process. Printing results can be obtained.

さらに、「多連印刷」の種類の一つであり、印刷後の裁断を前提とし、一枚の用紙上に同一ページの文書を並べるのではなく、異なるページの文書データを配置して文書を一枚の用紙上の前半と後半に並べて印刷する「前半後半印刷」と呼ばれる印刷もある。この前半後半印刷を、例えば、8ページの文書に適用した場合、(1,5:前半を1ページ目、後半を5ページ目とする)、(2,6)、(3,7)(4,8)等と、異なるページを組にして印刷し、裁断後に印刷された前半部分、後半部分のページを重ねることで、所定のページ数(全8ページ)を、その半分の出力用紙数(4枚)でもとの原稿をページ順どおりに再現することができる。   Furthermore, it is one of the types of “multiple printing”, and it is premised on cutting after printing. Instead of arranging documents of the same page on a single sheet of paper, document data of different pages is arranged and arranged. There is also printing called “first half, second half printing” in which the first half and the second half are printed side by side on a sheet of paper. For example, when the first half printing is applied to an 8-page document (1, 5: the first half is the first page and the second half is the fifth page), (2, 6), (3, 7) (4 , 8), etc., by printing a set of different pages, and by overlapping the pages of the first half and the latter half printed after cutting, a predetermined number of pages (8 pages in total) is reduced to the number of output sheets (half the number of output sheets). (4 sheets) can be reproduced in page order.

印刷後に裁断して排紙する印刷システムに関しては、特許文献1に開示されている。
特開2001-315398号公報
A printing system that cuts and discharges paper after printing is disclosed in Patent Document 1.
JP 2001-315398 A

しかしながら従来の多連印刷では、様々な用紙サイズの混在した文書や、片面印刷/両面印刷が混載した文書(混載原稿ともいう)を考慮していなかったため、このような文書に対し、多連印刷を適用した場合、用紙に対する文書のサイズが一致していなかったり、文書の面つけが用紙の表、裏で整合しなくなったりして、印刷後に用紙をカットしたとしても、それらをそのまま束ねることができず多連印刷本来の効果を得ることは容易ではなかった。   However, conventional multiple printing does not take into account documents with various paper sizes or documents with mixed single-sided / double-sided printing (also referred to as mixed originals). Is applied, even if the document size on the paper does not match, or the imposition of the document is not aligned on the front and back of the paper, and the paper is cut after printing, they can be bundled as they are It was not possible to obtain the original effect of multiple printing.

そして、このような混載原稿において、多連印刷を適用するためには、ユーザ自身で、印刷後の出力結果をイメージしながら、複雑な設定を行う手間があった。あるいは、印刷した後にも、裁断後の文書が正しい順番になるように確認しながら手作業でマージする煩雑さがあった。   In order to apply multiple printing on such a mixed original, the user himself has to perform complicated settings while imagining the output result after printing. Or, even after printing, there is a troublesome manual merging while checking that the cut documents are in the correct order.

そこで本発明では、多連印刷おいて、印刷対象の文書に様々な用紙サイズのページが混載している場合や片面印刷設定と両面印刷設定のページが混載されている場合においても、容易な設定で、適切な面付け処理を行い、印刷後の裁断およびマージ作業も容易にする文書処理技術の提供を課題とする。   Therefore, according to the present invention, in multiple printing, even when pages of various paper sizes are mixedly included in a document to be printed or when pages of single-sided printing setting and double-sided printing setting are mixedly mounted, Therefore, it is an object to provide a document processing technique that performs appropriate imposition processing and facilitates cutting and merging after printing.

上記課題を解決する、本発明にかかる文書を構成するページデータを一の記録媒体上に複数ページ分レイアウトして、当該文書の印刷体裁を設定する文書処理装置は、
文書の印刷体裁として、一の記録媒体上に複数ページ分レイアウトし、印刷後に記録媒体を裁断して最終的な印刷物を得る多連印刷が設定されているかを判断する印刷体裁判断手段と、
前記文書に設定されている属性情報を取得する取得手段と、
前記印刷体裁判断手段により多連印刷が設定されていると判断された場合に、前記取得手段により取得した属性情報に基づいて前記文書を構成する各ページのサイズを判定し、当該文書が異なるページサイズのページデータより構成されているか否かを判定するページサイズ判定手段と、
前記ページサイズ判定手段の判定結果に従い、前記文書中に異なるページサイズのページデータが含まれる場合、当該ページサイズ毎に、当該ページデータのレイアウトを制御するレイアウト制御手段とを備えることを特徴とする。
A document processing apparatus for laying out page data constituting a document according to the present invention for a plurality of pages on a single recording medium and setting the print format of the document, which solves the above problem,
A print format determination means for determining whether multiple printing is set to lay out a plurality of pages on one recording medium and cut the recording medium after printing to obtain a final printed matter as a print format of the document;
Obtaining means for obtaining attribute information set in the document;
When the print format determination unit determines that multiple printing is set, the size of each page constituting the document is determined based on the attribute information acquired by the acquisition unit, and the document is a different page. Page size determination means for determining whether or not the page data is composed of size data;
In accordance with the determination result of the page size determination means, when page data having a different page size is included in the document, layout control means for controlling the layout of the page data for each page size is provided. .

あるいは、上記課題を解決する文書を構成するページデータを一の記録媒体上に複数ページ分レイアウトして、当該文書の印刷体裁を設定する文書処理装置における文書処理方法は、
文書の印刷体裁として、一の記録媒体上に複数ページ分レイアウトし、印刷後に記録媒体を裁断して最終的な印刷物を得る多連印刷が設定されているかを判断する印刷体裁判断工程と、
前記文書に設定されている属性情報を取得する取得工程と、
前記印刷体裁判断工程により多連印刷が設定されていると判断された場合に、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページのサイズを判定し、当該文書が異なるページサイズのページデータより構成されているか否かを判定するページサイズ判定工程と、
前記ページサイズ判定工程の判定結果に従い、前記文書中に異なるページサイズのページデータが含まれる場合、当該ページサイズ毎に、当該ページデータのレイアウトを制御するレイアウト制御工程とを備えることを特徴とする。
Alternatively, a document processing method in a document processing apparatus that lays out a plurality of pages of page data constituting a document that solves the above problem on a single recording medium, and sets the print format of the document.
As a print format of the document, a print format determination step of determining whether multiple printing is set to lay out a plurality of pages on one recording medium and cut the recording medium after printing to obtain a final printed matter;
An acquisition step of acquiring attribute information set in the document;
When it is determined by the print appearance determination step that multiple printing is set, the size of each page constituting the document is determined based on the attribute information acquired by the acquisition step, and the document is a different page A page size determination step for determining whether or not the page data is composed of size data;
A layout control step for controlling the layout of the page data for each page size when page data of a different page size is included in the document according to the determination result of the page size determination step. .

また、上記課題を解決する、文書を構成するページデータを一の記録媒体上に複数ページ分レイアウトして、当該文書の印刷体裁を設定する文書処理方法をコンピュータに実行させる文書処理プログラムは、
文書の印刷体裁として、一の記録媒体上に複数ページ分レイアウトし、印刷後に記録媒体を裁断して最終的な印刷物を得る多連印刷が設定されているかを判断する印刷体裁判断工程と、
前記文書に設定されている属性情報を取得する取得工程と、
前記印刷体裁判断工程により多連印刷が設定されていると判断された場合に、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページのサイズを判定し、当該文書が異なるページサイズのページデータより構成されているか否かを判定するページサイズ判定工程と、
前記ページサイズ判定工程の判定結果に従い、前記文書中に異なるページサイズのページデータが含まれる場合、当該ページサイズ毎に、当該ページデータのレイアウトを制御するレイアウト制御工程とをコンピュータに実行させることを特徴とする。
Further, a document processing program that solves the above problem and causes a computer to execute a document processing method for laying out page data constituting a document for a plurality of pages on one recording medium and setting the print format of the document,
As a print format of the document, a print format determination step of determining whether multiple printing is set to lay out a plurality of pages on one recording medium and cut the recording medium after printing to obtain a final printed matter;
An acquisition step of acquiring attribute information set in the document;
When it is determined by the print appearance determination step that multiple printing is set, the size of each page constituting the document is determined based on the attribute information acquired by the acquisition step, and the document is a different page A page size determination step for determining whether or not the page data is composed of size data;
According to the determination result of the page size determination step, when page data having a different page size is included in the document, the computer is caused to execute a layout control step for controlling the layout of the page data for each page size. Features.

本発明によれば、多連印刷おいて、印刷対象の文書に様々な用紙サイズのページが混載している場合や片面印刷設定と両面印刷設定のページが混載されている場合においても、容易な設定で、適切な面付け処理を行い、印刷後の裁断およびマージ作業を容易にすることが可能になる。   According to the present invention, in multiple printing, even when pages of various paper sizes are mixedly mounted in a document to be printed or when pages of single-sided printing setting and double-sided printing setting are mixedly mounted, By setting, appropriate imposition processing can be performed to facilitate cutting and merging after printing.

以下、添付図面に従って、本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[本実施形態の文書処理システムの概要]
本発明の第1の実施形態である文書処理システムの概要を図1〜図13を参照して説明する。この文書処理システムでは、一般アプリケーションにより作成されたデータファイルが、電子原稿ライタによって電子原稿ファイルに変換される。製本アプリケーションはその電子原稿ファイルを編集する機能を提供している。尚、本例では、それぞれの機能が明瞭になるように、一般アプリケーション、電子原稿ライタ、製本アプリケーション、電子原稿デスプーラと分離して示しているが、ユーザに提供されるパッケージはこれらに限定されず、これらを組合わせたアプリケーションやグラフィックエンジンとして提供されてもよい。以下、その詳細は説明する。
[Outline of Document Processing System of this Embodiment]
An outline of the document processing system according to the first embodiment of the present invention will be described with reference to FIGS. In this document processing system, a data file created by a general application is converted into an electronic document file by an electronic document writer. The bookbinding application provides a function for editing the electronic manuscript file. In this example, the general application, the electronic document writer, the bookbinding application, and the electronic document despooler are shown separately from each other so that each function is clear, but the package provided to the user is not limited to these. These may be provided as an application or a graphic engine combining them. Details will be described below.

<本実施形態の文書処理システムのソフトウェア構成例>
図1は、本実施形態の文書処理システムのソフトウェア構成を示す図である。
<Software Configuration Example of Document Processing System According to this Embodiment>
FIG. 1 is a diagram showing a software configuration of the document processing system according to the present embodiment.

文書処理システムは、本発明の文書処理装置(情報処理装置)の好適な実施形態であるデジタルコンピュータ100(以下、「ホストコンピュータ」とも呼ばれる)によって実現されている。一般アプリケーション101は、ワードプロセシングやスプレッドシート、フォトレタッチ、ドローあるいはペイント、プレゼンテーション、テキスト編集などの機能を提供するアプリケーションプログラムであり、OSに対する印刷機能を有している。これらアプリケーションは、作成された文書データや画像データなどのアプリケーションデータを印刷するにあたって、オペレーティングシステム(OS)により提供される所定のインタフェース(一般に、GDIと呼ばれる)を利用する。すなわち、アプリケーション101は、作成したデータを印刷するために、前記インタフェースを提供するOSの出力モジュールに対して、あらかじめ定められる、OSに依存する形式の出力コマンド(GDI関数と呼ばれる)を送信する。出力コマンドを受けた出力モジュールは、プリンタ等の出力デバイスが処理可能な形式にそのコマンドを変換し、変換されたコマンド(DDI関数と呼ばれる)を出力する。出力デバイスが処理可能な形式はデバイスの種類やメーカ、機種などによって異なるために、デバイスごとにデバイスドライバが提供されており、OSではそのデバイスドライバを利用してコマンドの変換を行い、印刷データを生成し、JL(Job Language)でくくることにより印刷ジョブが生成される。OSとしてマイクロソフト社のウインドウズを利用する場合には、前述した出力モジュールとしてはGDI(Graphic Device Interface)と呼ばれるモジュールが相当する。   The document processing system is realized by a digital computer 100 (hereinafter also referred to as “host computer”) which is a preferred embodiment of the document processing apparatus (information processing apparatus) of the present invention. The general application 101 is an application program that provides functions such as word processing, spreadsheet, photo retouching, drawing or painting, presentation, and text editing, and has a printing function for the OS. These applications use a predetermined interface (generally called GDI) provided by an operating system (OS) when printing application data such as created document data and image data. That is, the application 101 transmits an output command (referred to as a GDI function) in a predetermined format depending on the OS to the output module of the OS that provides the interface in order to print the created data. Upon receiving the output command, the output module converts the command into a format that can be processed by an output device such as a printer, and outputs the converted command (called a DDI function). Since the format that can be processed by the output device varies depending on the device type, manufacturer, model, etc., a device driver is provided for each device. The OS uses the device driver to convert commands and print data. A print job is generated by generating and enclosing in JL (Job Language). When using Microsoft Windows as the OS, a module called GDI (Graphic Device Interface) corresponds to the output module described above.

電子原稿ライタ102は、前述のデバイスドライバを改良したものであり、本文書処理システム実現のために提供されるソフトウェアモジュールである。ただし、電子原稿ライタ102は特定の出力デバイスを目的としておらず、後述の製本アプリケーション104やプリンタドライバ106により処理可能な形式に出力コマンドを変換する。この電子原稿ライタ102による変換後の形式(以後、「電子原稿形式」と呼ぶ。)は、ページ単位の原稿を詳細な書式をもって表現可能であれば特に問わない。実質的な標準形式のうちでは、例えばアドビシステムズによるPDF形式や、SVG形式などが電子原稿形式として採用できる。   The electronic manuscript writer 102 is an improvement of the above-described device driver and is a software module provided for realizing the document processing system. However, the electronic document writer 102 is not intended for a specific output device, and converts the output command into a format that can be processed by the bookbinding application 104 and the printer driver 106 described later. The format after conversion by the electronic document writer 102 (hereinafter referred to as “electronic document format”) is not particularly limited as long as a document in units of pages can be expressed in a detailed format. Among substantial standard formats, for example, a PDF format by Adobe Systems, an SVG format, or the like can be adopted as an electronic document format.

アプリケーション101により電子原稿ライタ102を利用させる場合には、出力に使用するデバイスドライバとして電子原稿ライタ102を指定してから印刷を実行させる。ただし、電子原稿ライタ102によって作成されたままの電子原稿ファイルは、電子原稿ファイルとして完全な形式を備えていない。そのため、デバイスドライバとして電子原稿ライタ102を指定するのは製本アプリケーション104であり、その管理下でアプリケーションデータの電子原稿ファイルへの変換が実行される。製本アプリケーション104は、電子原稿ライタ102が生成した新規の不完全な電子原稿ファイルを後述する形式を備えた電子原稿ファイルとして完成させる。以下では、この点を明瞭に識別する必要がある際には、電子原稿ライタ102によって作成されたファイルを電子原稿ファイルと呼び、製本アプリケーションによって構造を与えられた電子原稿ファイルをブックファイルと呼ぶ。また、特に区別する必要がない場合は、アプリケーションにより生成されるドキュメントファイル、電子原稿ファイル、及びブックファイルをいずれも文書ファイル(または文書データ)と呼ぶ。   When the application 101 uses the electronic document writer 102, the electronic document writer 102 is designated as a device driver used for output, and printing is executed. However, the electronic document file as created by the electronic document writer 102 does not have a complete format as the electronic document file. Therefore, the bookbinding application 104 designates the electronic document writer 102 as a device driver, and conversion of application data into an electronic document file is executed under the management of the bookbinding application 104. The bookbinding application 104 completes the new incomplete electronic document file generated by the electronic document writer 102 as an electronic document file having a format to be described later. Hereinafter, when it is necessary to clearly identify this point, a file created by the electronic manuscript writer 102 is called an electronic manuscript file, and an electronic manuscript file given a structure by the bookbinding application is called a book file. If there is no need to distinguish between them, a document file, an electronic manuscript file, and a book file generated by an application are all referred to as a document file (or document data).

このようにデバイスドライバとして電子原稿ライタ102を指定し、一般アプリケーション101によりそのデータを印刷させることで、アプリケーションデータはアプリケーション101によって定義されたページ(以後、「論理ページ」あるいは「原稿ページ」と呼ぶ。)を単位とする電子原稿形式に変換され、電子原稿ファイル103としてハードディスクなどの記憶媒体に格納される。なお、ハードディスクは、本実施形態の文書処理システムを実現するコンピュータが備えているローカルドライブであってもよいし、ネットワークに接続されている場合にはネットワーク上に提供されるドライブであっても良い。   In this way, by specifying the electronic document writer 102 as a device driver and printing the data by the general application 101, the application data is referred to as a page defined by the application 101 (hereinafter referred to as “logical page” or “document page”). .) Is converted into an electronic document format and stored as an electronic document file 103 in a storage medium such as a hard disk. The hard disk may be a local drive included in a computer that implements the document processing system of the present embodiment, or may be a drive provided on the network when connected to the network. .

製本アプリケーション104は、電子原稿ファイルあるいはブックファイル103を読み込み、それを編集するための機能を利用者に提供する。ただし製本アプリケーション104は、各ページの内容を編集する機能は提供しておらず、ページを最小単位として構成される、後述する章やブックの構造を編集するための機能を提供している。   The bookbinding application 104 provides a user with a function for reading an electronic document file or book file 103 and editing it. However, the bookbinding application 104 does not provide a function for editing the contents of each page, but provides a function for editing the structure of a chapter or book, which will be described later, configured with a page as a minimum unit.

製本アプリケーション104によって編集されたブックファイル103を印刷する際には、製本アプリケーション104によって電子原稿デスプーラ105が起動される。電子原稿デスプーラ105は、製本アプリケーションと共にコンピュータ内にインストールされるプログラムモジュールであり、製本アプリケーションで利用するドキュメント(ブックファイル)を印刷する際に、プリンタドライバへ描画データを出力するために使用されるモジュールである。電子原稿デスプーラ105は、指定されたブックファイル(電子原稿ファイル)をハードディスクから読み出し、ブックファイル(電子原稿ファイル)に記述された形式で各ページを印刷するために、前述したOSの出力モジュールに適合する出力コマンドを生成し、不図示の出力モジュールに出力する。その際に、出力デバイスとして使用されるプリンタ107のドライバ106がデバイスドライバとして指定される。出力モジュールは、指定されたプリンタ107のプリンタドライバ106を用いて受信した出力コマンドを、プリンタ107で解釈実行可能なデバイスコマンドに変換する。そしてデバイスコマンドはプリンタ107に送信され、プリンタ107によってコマンドに応じた画像が印刷される。   When the book file 103 edited by the bookbinding application 104 is printed, the bookbinding application 104 activates the electronic document despooler 105. The electronic document despooler 105 is a program module installed in the computer together with the bookbinding application, and is a module used to output drawing data to the printer driver when printing a document (book file) used in the bookbinding application. It is. The electronic manuscript despooler 105 reads the designated book file (electronic manuscript file) from the hard disk and prints each page in the format described in the book file (electronic manuscript file). Output command is generated and output to an output module (not shown). At that time, the driver 106 of the printer 107 used as an output device is designated as a device driver. The output module converts the output command received using the printer driver 106 of the designated printer 107 into a device command that can be interpreted and executed by the printer 107. The device command is transmitted to the printer 107, and an image corresponding to the command is printed by the printer 107.

<本実施形態の文書処理システムのハードウェア構成例>
図2は、本実施形態の文書処理システムのハードウェア構成を示す図である。図2において、ホストコンピュータ100は、ROM203内のプログラム用ROMあるいは外部メモリ211に記憶された文書処理プログラム等に基づいて図形、イメージ、文字、表(表計算等を含む)等が混在した文書処理を実行するCPU201を備え、システムバス204に接続される各デバイスをCPU201が総括的に制御する。また、このROM203内のプログラム用ROMあるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステムプログラム等を記憶し、ROM203内のフォント用ROMあるいは外部メモリ211には上記文書処理の際に使用するフォントデータ等を記憶し、ROM203内のデータ用ROMあるいは外部メモリ211には上記文書処理等を行う際に使用する各種データを記憶する。RAM202は、CPU201の主メモリ、ワークエリア等として機能する。
<Hardware Configuration Example of Document Processing System of this Embodiment>
FIG. 2 is a diagram illustrating a hardware configuration of the document processing system according to the present embodiment. In FIG. 2, the host computer 100 performs document processing in which graphics, images, characters, tables (including spreadsheets), etc. are mixed based on a document processing program stored in the ROM 203 or the external memory 211. The CPU 201 generally controls each device connected to the system bus 204. In addition, an operating system program or the like as a control program of the CPU 201 is stored in the program ROM or the external memory 211 in the ROM 203, and the font ROM or the external memory 211 in the ROM 203 is used for the document processing. Font data and the like are stored, and various data used when performing the document processing and the like are stored in the data ROM in the ROM 203 or the external memory 211. The RAM 202 functions as a main memory, work area, and the like for the CPU 201.

キーボードコントローラ(KBC)205は、キーボード209や不図示のポインティングデバイスからのキー入力を制御する。CRTコントローラ(CRTC)206は、CRTディスプレイ(CRT)210の表示を制御する。207はディスクコントローラ(DKC)で、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、プリンタ制御コマンド生成プログラム(以下プリンタドライバ)等を記憶するハードディスク(HD)、フレキシブルディスク(FD)等の外部メモリ211とのアクセスを制御する。プリンタコントローラ(PRTC)208は、双方向性インタフェース(インタフェース)21を介してプリンタ107に接続されて、プリンタ107との通信制御処理を実行する。NC212はネットワークに接続されて、ネットワークに接続された他の機器との通信制御処理を実行する。   A keyboard controller (KBC) 205 controls key input from a keyboard 209 or a pointing device (not shown). A CRT controller (CRTC) 206 controls display on a CRT display (CRT) 210. A disk controller (DKC) 207 is a hard disk (HD), a flexible disk (FD), etc. that stores a boot program, various applications, font data, user files, edit files, a printer control command generation program (hereinafter referred to as a printer driver), and the like. The access to the external memory 211 is controlled. A printer controller (PRTC) 208 is connected to the printer 107 via a bidirectional interface (interface) 21 and executes communication control processing with the printer 107. The NC 212 is connected to the network and executes communication control processing with other devices connected to the network.

なお、CPU201は、例えばRAM202上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT210上でのWYSIWYGを可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷の設定に関するウインドウを開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバに対する印刷処理方法の設定を行える。   Note that the CPU 201 executes, for example, outline font development (rasterization) processing on the display information RAM set on the RAM 202 to enable WYSIWYG on the CRT 210. The CPU 201 opens various windows registered based on commands instructed by a mouse cursor (not shown) on the CRT 210 and executes various data processing. When executing printing, the user opens a window relating to print settings, and can set the print processing method for the printer driver including printer settings and print mode selection.

プリンタ107は、CPU312により制御される。プリンタのCPU312は、ROM313内のプログラム用ROMに記憶された制御プログラム等あるいは外部メモリ314に記憶された制御プログラム等に基づいてシステムバス315に接続される印刷部(プリンタエンジン)317に出力情報としての画像信号を出力する。また、このROM313内のプログラムROMには、CPU312の制御プログラム等を記憶する。ROM313内のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ等が記憶され、ROM313内のデータ用ROMには、ハードディスク等の外部メモリ314がないプリンタの場合には、ホストコンピュータ上で利用される情報等が記憶されている。   The printer 107 is controlled by the CPU 312. The CPU 312 of the printer outputs as output information to a printing unit (printer engine) 317 connected to the system bus 315 based on a control program stored in the program ROM in the ROM 313 or a control program stored in the external memory 314. The image signal is output. The program ROM in the ROM 313 stores a control program for the CPU 312 and the like. The font ROM in the ROM 313 stores font data used when generating the output information, and the data ROM in the ROM 313 is a host computer in the case of a printer without the external memory 314 such as a hard disk. Information used above is stored.

CPU312は入力部318を介してホストコンピュータとの通信処理が可能となっており、プリンタ内の情報等をホストコンピュータ100に通知できる。RAM319は、CPU312の主メモリや、ワークエリア等として機能するRAMで、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM319は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。前述したハードディスク(HD)、ICカード等の外部メモリ314は、メモリコントローラ(MC)20によりアクセスを制御される。外部メモリ314は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、321は前述した操作パネルで、操作のためのスイッチ及びLED表示器等が配されている。   The CPU 312 can communicate with the host computer via the input unit 318 and can notify the host computer 100 of information in the printer. The RAM 319 is a RAM that functions as a main memory of the CPU 312, a work area, and the like, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 319 is used for an output information expansion area, an environment data storage area, NVRAM, and the like. Access to the external memory 314 such as the hard disk (HD) and the IC card described above is controlled by the memory controller (MC) 20. The external memory 314 is connected as an option and stores font data, an emulation program, form data, and the like. Reference numeral 321 denotes the above-described operation panel, on which switches for operation, LED indicators, and the like are arranged.

また、前述した外部メモリ314は1個に限らず、複数個備えられ、内蔵フォントに加えてオプションカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。更に、図示しないNVRAMを有し、操作パネル321からのプリンタモード設定情報を記憶するようにしてもよい。   The external memory 314 is not limited to one, and a plurality of external memories 314 are provided, and a plurality of external memories storing an option card and a program for interpreting a printer control language having a different language system in addition to the built-in font can be connected. May be. Furthermore, an NVRAM (not shown) may be provided, and printer mode setting information from the operation panel 321 may be stored.

<電子原稿データの形式例>
編集アプリケーション104の詳細を言及する前に、ブックファイルのデータ形式を説明する。ブックファイルは紙媒体の書物を模した3層の層構造を有する。上位層は「ブック」と呼ばれ、1冊の本を模しており、その本全般に係る属性が定義されている。その下の中間層は、本でいう章に相当し、やはり「章」と呼ばれる。各章についても、章ごとの属性が定義できる。下位層は「ページ」であり、アプリケーションプログラムで定義された各ページに相当する。各ページついてもページごとの属性が定義できる。ひとつのブックは複数の章を含んでいてよく、また、ひとつの章は複数のページを含むことができる。
<Example format of electronic manuscript data>
Before referring to details of the editing application 104, the data format of the book file will be described. The book file has a three-layer structure imitating a paper medium book. The upper layer is called a “book”, imitating one book, and attributes related to the whole book are defined. The middle layer below it corresponds to the chapter in the book and is also called “chapter”. For each chapter, attributes for each chapter can be defined. The lower layer is a “page” and corresponds to each page defined by the application program. You can define attributes for each page. A book may contain multiple chapters, and a chapter may contain multiple pages.

一般アプリケーション101からの印刷データは電子原稿ライタ102を介して電子原稿ファイル103としてシステム上に保存される。この際、この電子原稿ファイル103には、印刷物のコンテンツデータや印刷用設定データ等が含まれる。印刷物のコンテンツデータとはユーザがアプリケーション上で作成したデータを中間データとして変換したものであり、印刷用設定データとはコンテンツデータをどのように出力するか(出力体裁等)を記述したデータである。   Print data from the general application 101 is stored on the system as an electronic document file 103 via the electronic document writer 102. At this time, the electronic document file 103 includes content data of the printed material, setting data for printing, and the like. The content data of the printed matter is the data created by the user on the application converted as intermediate data, and the setting data for printing is the data describing how the content data is output (output format etc.) .

図3は、ブックファイルの形式の一例を模式的に示す図である。このブックファイルの形式は、印刷用設定データに基づくものである。ブックファイルにおける、ブック、章、ページは、それぞれに相当するノードにより示されている。ひとつのブックファイルはひとつのブックを含む。ブック、章は、ブックとしての構造を定義するための概念であるから、定義された属性値と下位層へのリンクとをその実体として含む。ページは、アプリケーションプログラムによって出力されたページごとのデータを実体として有する。そのため、ページは、その属性値のほか、原稿ページの実体(原稿ページデータ)と各原稿ページデータへのリンクを含む。尚、紙媒体等に出力する際の印刷ページは複数の原稿ページを含む場合がある。この構造に関してはリンクによって表示されず、ブック、章、ページ各階層における属性として表示される。   FIG. 3 is a diagram schematically showing an example of a book file format. The format of this book file is based on print setting data. The book, chapter, and page in the book file are indicated by corresponding nodes. One book file contains one book. Since the book and chapter are concepts for defining the structure of the book, they include defined attribute values and links to lower layers as entities. The page has data for each page output by the application program as an entity. Therefore, the page includes an original page entity (original page data) and a link to each original page data in addition to the attribute value. Note that a print page when outputting to a paper medium or the like may include a plurality of document pages. This structure is not displayed by a link, but is displayed as an attribute in each hierarchy of a book, chapter, and page.

図3では、ブックファイルが1つの完結したブックである必要はないので、「ブック」を「文書」として一般化して記載している。   In FIG. 3, since the book file does not have to be one complete book, “book” is generalized as “document”.

まず、最上位に文書情報401を持つ。文書情報401は402〜404の3つのパートに大別できる。文書制御情報402は、文書ファイルのファイルシステムにおけるパス名などの情報を保持する。文書設定情報403は、ページレイアウトなどのレイアウト情報とステイプルなど印刷装置の機能設定情報を保持し、ブックの属性に相当する。章情報リスト404は、文書を構成している章の集合をリスト形式で保持する。リストが保持するのは章情報405である。   First, document information 401 is held at the top. The document information 401 can be roughly divided into three parts 402 to 404. The document control information 402 holds information such as a path name in the file system of the document file. The document setting information 403 holds layout information such as page layout and printing apparatus function setting information such as stapling, and corresponds to a book attribute. The chapter information list 404 holds a set of chapters constituting a document in a list format. The list holds chapter information 405.

章情報405も406〜408の3つのパートに大別できる。章制御情報406は、章の名称などの情報を保持する。章設定情報407は、その章特有のページレイアウトやステイプルの情報を保持し、章の属性に相当する。章ごとに設定情報をもつことで最初の章は2UPのレイアウトその他の章は4UPのレイアウトのように複雑なレイアウトを持った文書を作成することが可能である。ページ情報リスト408は各章を構成する原稿ページの集合リスト形式で保持している。ページ情報リスト408が指示するのは、ページ情報データ409である。   The chapter information 405 can be roughly divided into three parts 406 to 408. The chapter control information 406 holds information such as a chapter name. The chapter setting information 407 holds page layout information and stapling information unique to the chapter, and corresponds to chapter attributes. By having setting information for each chapter, it is possible to create a document having a complicated layout such that the first chapter has a 2UP layout and the other chapters have a 4UP layout. The page information list 408 is held in the form of a collection list of manuscript pages constituting each chapter. The page information list 408 indicates page information data 409.

ページ情報データ409も410〜412の3つのパートに大別される。ページ制御情報410は、ツリー上に表示するページ番号などの情報を保持する。ページ設定情報411は、ページ回転角やページの配置位置情報などの情報を保持し、原稿ページの属性に相当する。ページリンク情報412は、ページに対応する原稿データである。この例では、ページ情報409が直接原稿データを持つのではなく、リンク情報412だけをもち、実際の原稿データは、ページデータリスト413で保持する構成としている。   The page information data 409 is also roughly divided into three parts 410 to 412. The page control information 410 holds information such as page numbers to be displayed on the tree. The page setting information 411 holds information such as page rotation angle and page layout position information, and corresponds to an original page attribute. The page link information 412 is document data corresponding to a page. In this example, the page information 409 does not directly have document data, but has only link information 412, and actual document data is held in a page data list 413.

図4は、ブック属性(文書設定情報403)の例を示すリストである。通常、下位層と重複して定義可能な項目に関しては、下位層の属性値が優先採用される。そのため、ブック属性にのみ含まれる項目に関しては、ブック属性に定義された値はブック全体を通して有効な値となる。しかし、下位層と重複する項目については、下位層において定義されていない場合における既定値としての意味を有する。しかし、本例では、後述するように、下位層の属性値を優先するか否かが選択可能となっている。なお、図示された各項目は具体的に1項目に対応するのではなく、関連する複数の項目を含むものもある。   FIG. 4 is a list showing an example of book attributes (document setting information 403). Normally, for items that can be defined overlapping with the lower layer, the attribute value of the lower layer is preferentially adopted. Therefore, for items included only in the book attribute, the value defined in the book attribute becomes a valid value throughout the book. However, items that overlap the lower layer have meanings as default values when they are not defined in the lower layer. However, in this example, as described later, it is possible to select whether to give priority to the attribute value of the lower layer. Each item illustrated does not specifically correspond to one item, but may include a plurality of related items.

ブック属性に固有の項目は、印刷方法、製本詳細、表紙/裏表紙、インデックス紙、合紙、章区切り、多連印刷の7項目である。これらは、ブックを通して定義される項目である。印刷方法属性としては、片面印刷、両面印刷、製本印刷の3つの値を指定できる。製本印刷とは、別途指定する枚数の用紙を束にして2つ折りにし、その束をつづり合わせることで製本が可能となる形式で印刷する方法である。製本詳細属性としては、製本印刷が指定されている場合に、見開き方向や、束になる枚数等が指定できる。   Items unique to the book attributes are seven items: printing method, bookbinding details, front / back cover, index paper, slip sheet, chapter break, and multiple printing. These are items defined throughout the book. As the printing method attribute, three values of single-sided printing, double-sided printing, and bookbinding printing can be designated. Bookbinding printing is a method of printing in a format that enables bookbinding by bundling a separately designated number of sheets into two and folding the bundle. As the bookbinding details attribute, when bookbinding printing is designated, the spread direction, the number of sheets to be bundled, and the like can be designated.

表紙/裏表紙属性は、ブックとしてまとめられる電子原稿ファイルを印刷する際に、表紙及び裏表紙となる用紙を付加することの指定、及び付加した用紙への印刷内容の指定を含む。インデックス紙属性は、章の区切りとして、印刷装置に別途用意される耳付きのインデックス紙の挿入の指定及びインデックス(耳)部分への印刷内容の指定を含む。この属性は、印刷用紙とは別に用意された用紙を所望の位置に挿入するインサート機能を持ったインサータが使用する印刷装置に備えられている場合か、あるいは、複数の給紙カセットを使用可能である場合に有効となる。これは合紙属性についても同様である。   The front cover / back cover attribute includes designation of adding sheets as a front cover and a back cover when printing an electronic document file to be collected as a book, and designation of print contents on the added sheet. The index sheet attribute includes designation of insertion of index sheets with ears separately prepared in the printing apparatus as chapter breaks and designation of print contents in the index (ear) portion. This attribute can be used when a printing device used by an inserter having an insert function for inserting a sheet prepared separately from the printing sheet into a desired position, or a plurality of paper cassettes can be used. Effective in some cases. The same applies to the slip sheet attribute.

合紙属性は、章の区切りとして、インサータからあるいは給紙カセットから供給される用紙の挿入の指定、及び、合紙を挿入する場合には、給紙元の指定などを含む。   The slip sheet attribute includes designation of insertion of a sheet supplied from an inserter or a sheet feed cassette as a chapter break, and designation of a sheet feed source when a slip sheet is inserted.

章区切り属性は、章の区切り目において、新たな用紙を使用するか、新たな印刷ページを使用するか、特に何もしないか等の指定を含む。片面印刷時には新たな用紙の使用と新たな印刷ページの使用とは同じ意味を持つ。両面印刷時には、「新たな用紙の使用」を指定すれば連続する章が1枚の用紙に印刷されることは無いが、「新たな印刷ページの使用」を指定すれば、連続する章が1枚の用紙の表裏に印刷されることがあり得る。   The chapter break attribute includes designation of whether to use a new sheet, use a new print page, or do nothing in particular at the chapter break. During single-sided printing, the use of new paper and the use of a new print page have the same meaning. In double-sided printing, if “use new paper” is specified, consecutive chapters will not be printed on one sheet, but if “use new print page” is specified, consecutive chapters will be 1 It may be printed on the front and back of a sheet of paper.

多連印刷属性とは、ブックとしてまとめられる電子原稿ファイルを印刷する際に、複数のページを一枚の記録媒体(用紙)上に印刷する2連印刷、4連印刷あるいは異なるページに対応する文書を一枚の用紙上の前半と後半に並べて印刷をする前半後半印刷を設定することができる。この多連印刷に関しては、後に詳細に説明するのでここでの説明は省略する。   The multiple printing attribute is a document corresponding to double printing, four printing, or different pages for printing a plurality of pages on a single recording medium (paper) when printing an electronic manuscript file collected as a book. Can be set to print in the first half of the first half and the second half on a sheet of paper. Since this multiple printing will be described in detail later, a description thereof is omitted here.

図5は、章属性(章設定情報407)の、図6はページ属性(ページ設定情報411)の例を示すリストである。章属性とページ属性との関係もブック属性と下位層の属性との関係と同様である。   FIG. 5 is a list showing chapter attributes (chapter setting information 407), and FIG. 6 is a list showing page attributes (page setting information 411). The relationship between chapter attributes and page attributes is the same as the relationship between book attributes and lower layer attributes.

章属性に関しては、章に固有の項目はなく、すべてブック属性と重複する。したがって、通常は、章属性における定義とブック属性における定義とが異なれば、章属性で定義された値が優先する。しかし、本例では、後述するように、下位層の属性値を優先するか否かが選択可能となっている。   Regarding chapter attributes, there are no items specific to chapters, and all items overlap with book attributes. Therefore, normally, if the definition in the chapter attribute is different from the definition in the book attribute, the value defined in the chapter attribute has priority. However, in this example, as described later, it is possible to select whether to give priority to the attribute value of the lower layer.

ブック属性と章属性とにのみ共通する項目は、用紙サイズ、用紙方向、N−up印刷指定、拡大縮小、排紙方法の5項目である。このうち、N−up印刷指定属性は、1印刷ページに含まれる原稿ページ数を指定するための項目である。指定可能な配置としては、1×1や1×2、2×2、3×3、4×4などがある。排紙方法属性は、排出した用紙にステイプル処理を施すか否かを指定するための項目であり、この属性の有効性は使用する印刷装置がステイプル機能を有するか否かに依存する。   Items common only to the book attribute and chapter attribute are five items: paper size, paper orientation, N-up printing designation, enlargement / reduction, and paper discharge method. Among these, the N-up print designation attribute is an item for designating the number of document pages included in one print page. Examples of arrangements that can be specified include 1 × 1, 1 × 2, 2 × 2, 3 × 3, and 4 × 4. The paper discharge method attribute is an item for designating whether or not stapling is performed on the discharged paper, and the validity of this attribute depends on whether the printing apparatus to be used has a stapling function.

ページ属性に固有の項目には、ページ回転属性、ズーム、配置指定、アノテーション、ページ分割などがある。ページ回転属性は、原稿ページを印刷ページに配置する際の回転角度を指定するための項目である。ズーム属性は、原稿ページの変倍率を指定するための項目である。変倍率は、仮想論理ページ領域のサイズを100%として指定される。仮想論理ページ領域とは、原稿ページを、N−up等の指定に応じて配置した場合に、1原稿ページが占める領域である。例えば1×1であれば、仮想論理ページ領域は1印刷ページに相当する領域となり、1×2であれば、1印刷ページの各辺を約70パーセントに縮小した領域となる。   Items unique to the page attribute include a page rotation attribute, zoom, layout designation, annotation, and page division. The page rotation attribute is an item for designating a rotation angle when placing an original page on a print page. The zoom attribute is an item for designating the scaling factor of the original page. The scaling factor is specified with the size of the virtual logical page area as 100%. The virtual logical page area is an area occupied by one manuscript page when the manuscript page is arranged in accordance with designation of N-up or the like. For example, if it is 1 × 1, the virtual logical page area is an area corresponding to one print page, and if it is 1 × 2, each side of one print page is an area reduced to about 70%.

ブック、章、ページについて共通な属性として、ウォーターマーク属性及びヘッダ・フッタ属性がある。ウォーターマークとは、アプリケーションで作成されたデータに重ねて印刷される、別途指定される画像や文字列などである。ヘッダ・フッタは、それぞれ各ページの上余白及び下余白に印刷されるウォーターマークである。ただし、ヘッダ・フッタには、ページ番号や日時など、変数により指定可能な項目が用意されている。なお、ウォーターマーク属性及びヘッダ・フッタ属性において指定可能な内容は、章とページとは共通であるが、ブックはそれらと異なっている。ブックにおいてはウォーターマークやヘッダ・フッタの内容を設定できるし、また、ブック全体を通してどのようにウォーターマークやヘッダ・フッタを印刷するかを指定することができる。一方、章やページでは、その章やページにおいて、ブックで設定されたウォーターマークやヘッダ・フッタを印刷するか否かを指定できる。   Attributes common to the book, chapter, and page include a watermark attribute and a header / footer attribute. A watermark is a separately designated image or character string that is printed over data created by an application. The header / footer is a watermark printed on the upper margin and the lower margin of each page. However, items that can be specified by variables, such as page numbers and date / time, are prepared in the header / footer. The contents that can be specified in the watermark attribute and the header / footer attribute are common to the chapter and the page, but the book is different from them. In the book, the contents of the watermark and header / footer can be set, and how the watermark, header and footer are printed throughout the book can be specified. On the other hand, for a chapter or page, whether or not to print a watermark or header / footer set in the book can be specified for the chapter or page.

<本実施形態の文書処理システムの操作手順例>
(ブックファイルの生成手順例)
ブックファイルは、上述したような構造及び内容を有している。次に、製本アプリケーション104及び電子原稿ライタ102によってブックファイルを作成する手順を説明する。ブックファイルの作成は、製本アプリケーション104によるブックファイルの編集操作の一環として実現される。
<Example of Operation Procedure of Document Processing System of Present Embodiment>
(Book file generation procedure example)
The book file has the structure and contents as described above. Next, a procedure for creating a book file by the bookbinding application 104 and the electronic document writer 102 will be described. Creation of the book file is realized as part of the book file editing operation by the bookbinding application 104.

図7は、製本アプリケーション104によりブックファイルを開く際の手順を示すフローチャートである。   FIG. 7 is a flowchart showing a procedure for opening a book file by the bookbinding application 104.

まず、開こうとするブックファイルが、新規作成すべきものであるか、それとも既存のものであるか判定する(ステップS701)。新規作成の場合には、章を含まないブックファイルを新規に作成する(ステップS702)。新規に作成されるブックファイルは、図3の例で示せば、ブックノード301のみ有し、章のノードに対するリンクが存在しないブックのノードとなる。ブック属性は、新規作成用としてあらかじめ用意された属性のセットが適用される。そして、新規ブックファイルを編集するためのユーザインタフェース(UI)画面を表示する(ステップS704)。図8は、新規にブックファイルが作成された際のUI画面の一例である。この場合には、ブックファイルは実質的な内容を持たないために、UI画面800には何も表示されない。
一方、既存のブックファイルがあれば、指定されたブックファイルを開き(ステップS703)、そのブックファイルの構造、属性、内容に従ってユーザインタフェース(UI)画面を表示する。図9は、このUI画面の一例である。UI画面900は、ブックの構造を示すツリー部901と、印刷された状態を表示するプレビュー部902とを含む。ツリー部901には、ブックに含まれる章、各章に含まれるページが、図3のような木構造が分かるように表示される。ツリー部901に表示されるページは原稿ページである。プレビュー部902には、印刷ページの内容が縮小されて表示される。その表示順序は、ブックの構造を反映したものとなっている。
さて、開かれたブックファイルには、電子原稿ライタ102によって電子原稿ファイルに変換されたアプリケーションデータを、新たな章として追加することができる。この機能を電子原稿インポート機能と呼ぶ。図7の手順によって新規に作成されたブックファイルに電子原稿インポートすることで、そのブックファイルには実体が与えられる。この機能は、図8あるいは図9の画面にアプリケーションデータをドラッグアンドドロップ操作することで起動される。
First, it is determined whether the book file to be opened is to be newly created or is an existing one (step S701). In the case of new creation, a new book file not including a chapter is created (step S702). In the example of FIG. 3, the newly created book file is a book node that has only the book node 301 and does not have a link to the chapter node. As the book attribute, a set of attributes prepared in advance for new creation is applied. Then, a user interface (UI) screen for editing the new book file is displayed (step S704). FIG. 8 shows an example of a UI screen when a book file is newly created. In this case, since the book file has no substantial content, nothing is displayed on the UI screen 800.
On the other hand, if there is an existing book file, the designated book file is opened (step S703), and a user interface (UI) screen is displayed according to the structure, attributes, and contents of the book file. FIG. 9 shows an example of this UI screen. The UI screen 900 includes a tree portion 901 that shows the structure of the book and a preview portion 902 that displays the printed state. The tree portion 901 displays chapters included in the book and pages included in each chapter so that a tree structure as shown in FIG. 3 can be seen. A page displayed in the tree portion 901 is a manuscript page. In preview portion 902, the contents of the print page are reduced and displayed. The display order reflects the structure of the book.
In the opened book file, application data converted into an electronic manuscript file by the electronic manuscript writer 102 can be added as a new chapter. This function is called an electronic document import function. By importing an electronic manuscript into a book file newly created by the procedure of FIG. 7, an entity is given to the book file. This function is activated by dragging and dropping application data on the screen of FIG. 8 or FIG.

図10に電子原稿インポートの手順例を示すフローチャートである。   FIG. 10 is a flowchart illustrating an example of an electronic document import procedure.

まず、指定されたアプリケーションデータを生成したアプリケーションプログラムを起動し、デバイスドライバとして電子原稿ライタ102を指定してアプリケーションデータを印刷出力させることで、電子原稿データに変換する(ステップS801)。変換を終えたなら、変換されたデータが画像データであるか否かを判定する(ステップS802)。この判定は、ウインドウズOSの下であれば、アプリケーションデータのファイル拡張子に基づいて行うことができる。例えば、拡張子が「bmp」であればウインドウズビットマップデータであり、「jpg」であればJPEG圧縮された画像データ、「tiff」であればtiff形式の画像データであると判定できる。また、このような画像データの場合はS8010のようにアプリケーションを起動せずに、画像データから直接電子原稿ファイルを生成することが可能であるため、S8010の処理を省略することも可能である。   First, the application program that generated the specified application data is activated, the electronic document writer 102 is specified as a device driver, and the application data is printed out to be converted into electronic document data (step S801). When the conversion is completed, it is determined whether or not the converted data is image data (step S802). This determination can be made based on the file extension of the application data under the Windows OS. For example, if the extension is “bmp”, it can be determined as Windows bitmap data, if “jpg”, it can be determined as JPEG-compressed image data, and if “tiff”, it can be determined as image data in the tif format. In the case of such image data, since it is possible to generate an electronic document file directly from the image data without starting an application as in S8010, the processing in S8010 can be omitted.

画像データでなかった場合には、ステップS801で生成された電子原稿ファイルを、現在開かれているブックファイルのブックに、新たな章として追加する(ステップS803)。通常、章属性としては、ブック属性と共通するものについてはブック属性の値がコピーされ、そうでないものについては、あらかじめ用意された規定値に設定されるが、本例では、後述するように、下位層の属性値を優先するか否かが選択可能となっている。
画像データである場合には、原則として新たな章は追加されず、指定されている章に、ステップS801で生成された電子原稿ファイルに含まれる各原稿ページが追加される(ステップS804)。ただし、ブックファイルが新規作成されたファイルであれば、新たな章が作成されて、その章に属するページとして電子原稿ファイルの各ページが追加される。通常、ページ属性は、上位層の属性と共通のものについてはその属性値が与えられ、アプリケーションデータにおいて定義された属性を電子原稿ファイルに引き継いでいるものについてはその値が与えられるる。例えば、N−up指定などがアプリケーションデータにおいてされていた場合には、その属性値が引き継がれる。このようにして、新規なブックファイルが作成され、あるいは、新規な章が追加される。しかし、本例では、後述するように、下位層の属性値を優先するか否かが選択可能となっている。
If it is not image data, the electronic document file generated in step S801 is added as a new chapter to the book of the currently opened book file (step S803). Normally, as the chapter attribute, the value of the book attribute is copied for those that are common to the book attribute, and for those that are not, the default value prepared in advance is set, but in this example, as described later, It is possible to select whether to give priority to the attribute value of the lower layer.
In the case of image data, in principle, no new chapter is added, and each original page included in the electronic original file generated in step S801 is added to the designated chapter (step S804). However, if the book file is a newly created file, a new chapter is created, and each page of the electronic document file is added as a page belonging to the chapter. Normally, the page attribute is given an attribute value for an attribute common to the upper layer attribute, and is given for an attribute that inherits the attribute defined in the application data in the electronic document file. For example, when N-up designation or the like is made in the application data, the attribute value is taken over. In this way, a new book file is created or a new chapter is added. However, in this example, as described later, it is possible to select whether to give priority to the attribute value of the lower layer.

図11は、図10のステップS801において、電子原稿ライタ102により電子原稿ファイルを生成させる手順を示すフローチャートである。   FIG. 11 is a flowchart showing a procedure for generating an electronic document file by the electronic document writer 102 in step S801 of FIG.

まず、新たな電子原稿ファイルを作成してそれを開く(ステップS901)。指定したアプリケーションデータに対応するアプリケーションを起動し、電子原稿ライタ102をデバイスドライバとして、OSの出力モジュールに対して出力コマンドを送信させる。出力モジュールは、受信した出力コマンドを電子原稿ライタによって電子原稿形式のデータに変換し、出力する(ステップS902)。出力先はステップS901で開いた電子原稿ファイルである。指定されたデータすべてについて変換が終了したか判定し(ステップS903)、終了していれば電子原稿ファイルを閉じる(ステップS904)。電子原稿ライタ102によって生成される電子原稿ファイルは、図3に示した、原稿ページデータの実体を含むファイルである。   First, a new electronic document file is created and opened (step S901). An application corresponding to the designated application data is started, and an output command is transmitted to the output module of the OS using the electronic document writer 102 as a device driver. The output module converts the received output command into electronic document format data by the electronic document writer and outputs the converted data (step S902). The output destination is the electronic document file opened in step S901. It is determined whether or not conversion has been completed for all designated data (step S903), and if completed, the electronic document file is closed (step S904). The electronic manuscript file generated by the electronic manuscript writer 102 is a file including the substance of the manuscript page data shown in FIG.

(ブックファイルの編集例)
以上のようにして、アプリケーションデータからブックファイルを作成することができる。生成されたブックファイルについては、章及びページに対して次のような編集操作が可能である。
(1)新規追加
(2)削除
(3)コピー
(4)切り取り
(5)貼り付け
(6)移動
(7)章名称変更
(8)ページ番号名称振り直し
(9)表紙挿入
(10)合紙挿入
(11)インデックス紙挿入
(12)各原稿ページに対するページレイアウト。
(Book file editing example)
As described above, a book file can be created from application data. With respect to the generated book file, the following editing operations are possible for chapters and pages.
(1) New addition (2) Delete (3) Copy (4) Cut (5) Paste (6) Move (7) Rename chapter (8) Rename page number (9) Insert cover (10) Insert paper Insert (11) Insert index paper (12) Page layout for each document page.

このほか、一旦行った編集操作を取り消す操作や、さらに取り消した操作をやり直す操作が可能である。これら編集機能により、例えば複数のブックファイルの統合、ブックファイル内で章やページの再配置、ブックファイル内で章やページの削除、原稿ページのレイアウト変更、合紙やインデックス紙の挿入などといった編集操作が可能となる。これらの操作を行うと、図4乃至図6に示す属性に操作結果が反映されたり、あるいはブックファイルの構造に反映される。たとえば、ブランクページの新規追加操作を行えば、指定された箇所にブランクページが挿入される。このブランクページは原稿ページとして扱われる。また、原稿ページに対するレイアウトを変更すれば、その変更内容は、印刷方法やN−up印刷、表紙/裏表紙、インデックス紙、合紙、章区切りといった属性に反映される。本例における、編集時の表示及び操作例については、以下で詳細に示す。   In addition, an operation for canceling an editing operation once performed and an operation for redoing the canceled operation are possible. Using these editing functions, for example, integration of multiple book files, rearrangement of chapters and pages in the book file, deletion of chapters and pages in the book file, layout change of manuscript pages, insertion of slip sheets and index sheets, etc. Operation becomes possible. When these operations are performed, the operation results are reflected in the attributes shown in FIGS. 4 to 6 or the book file structure. For example, if a blank page new addition operation is performed, a blank page is inserted at a specified location. This blank page is treated as a manuscript page. If the layout of the original page is changed, the changed content is reflected in attributes such as a printing method, N-up printing, front / back cover, index paper, slip sheet, and chapter break. The display and operation example during editing in this example will be described in detail below.

(ブックファイルの出力例)
以上のように作成・編集されるブックファイルは印刷出力を最終目的としている。利用者が図9に示す製本アプリケーションのUI画面900からファイルメニューを選択し、そこから印刷を選択すると、指定した出力デバイスにより印刷出力される。この際、まず製本アプリケーション104は、現在開かれているブックファイルからジョブチケットを作成して電子原稿デスプーラ105に渡す。電子原稿デスプーラ105は、ジョブチケットをOSの出力コマンド、例えばウインドウズ(登録商標)のGDIコマンドに変換し、それを出力モジュール、例えばGDIに送信する。出力モジュールは、指定されたプリンタドライバ106によってデバイスに適したコマンドを生成し、そのデバイスに送信する。
(Book file output example)
The book file created and edited as described above has the final purpose of print output. When the user selects a file menu from the UI screen 900 of the bookbinding application shown in FIG. 9 and selects printing from the file menu, printing is output by the designated output device. At this time, the bookbinding application 104 first creates a job ticket from the currently opened book file and passes it to the electronic document despooler 105. The electronic document despooler 105 converts the job ticket into an OS output command, for example, a Windows (registered trademark) GDI command, and transmits it to an output module, for example, GDI. The output module generates a command suitable for the device by the designated printer driver 106 and transmits the command to the device.

すなわち、図示しない出力モジュールのグラフィックエンジンは、印刷装置ごとに用意されたプリンタドライバ106を外部メモリ211からRAM202にロードし、出力をプリンタドライバ106に設定する。そして、出力モジュールは、受け取ったGDI(Graphic Device Interface)関数からDDI(Device Driver Interface)関数に変換して、プリンタドライバ106へDDI関数を出力する。プリンタドライバ106は、出力モジュールから受け取ったDDI関数に基づいて、プリンタが認識可能な制御コマンド、例えばPDL(Page Description Language)に変換する。変換されたプリンタ制御コマンドは、OSによってRAM202にロードされたシステムスプーラを経てインタフェース21経由でプリンタ107へ印刷データとして出力される仕組みとなっている。   That is, the graphic engine of the output module (not shown) loads the printer driver 106 prepared for each printing apparatus from the external memory 211 to the RAM 202 and sets the output to the printer driver 106. The output module converts the received GDI (Graphic Device Interface) function into a DDI (Device Driver Interface) function and outputs the DDI function to the printer driver 106. Based on the DDI function received from the output module, the printer driver 106 converts it into a control command that can be recognized by the printer, for example, PDL (Page Description Language). The converted printer control command is output as print data to the printer 107 via the interface 21 via the system spooler loaded into the RAM 202 by the OS.

ここで、ジョブチケットは、原稿ページを最小単位とする構造を有するデータである。ジョブチケットにおける構造は、用紙上における原稿ページのレイアウトを定義している。ジョブチケットは1ジョブにつき1つ発行される。そのため、まず最上位にドキュメントというノードがあり、文書全体の属性、例えば両面印刷/片面印刷、あるいは、多連印刷などが定義されている。その下には、用紙ノードが属し、用いるべき用紙の識別子や、プリンタにおける給紙口の指定などの属性が含まれる。各用紙ノードには、その用紙で印刷されるシートのノードが属する。1シートは1枚の用紙に相当する。各シートには、印刷ページ(物理ページ)が属する。片面印刷ならば1シートには1物理ページが属し、両面印刷ならば1シートに2物理ページが属する。各物理ページには、その上に配置される原稿ページが属する。また物理ページの属性として、原稿ページのレイアウトが含まれる。   Here, the job ticket is data having a structure in which the original page is a minimum unit. The structure in the job ticket defines the layout of the manuscript page on the paper. One job ticket is issued per job. For this reason, there is a document node at the top, and attributes of the entire document, such as double-sided printing / single-sided printing or multiple printing, are defined. Below that, a paper node belongs, and includes attributes such as an identifier of a paper to be used and designation of a paper feed port in the printer. Each paper node includes a node of a sheet printed on the paper. One sheet corresponds to one sheet. A print page (physical page) belongs to each sheet. For single-sided printing, one physical page belongs to one sheet, and for double-sided printing, two physical pages belong to one sheet. Each physical page has an original page arranged thereon. The physical page attribute includes the layout of the original page.

ジョブチケットのデータ構造の例を図12に示す。印刷用のデータでは、文書は用紙の集合で構成されており、各用紙は表、裏の2面で構成されており、各面は原稿をレイアウトする領域(物理ページ)を持ち、各物理ページには、最小単位である原稿ページの集合から構成される。1101は文書に相当するデータで、文書全体に関係するデータと、文書を構成する用紙情報のリストから構成される。用紙情報1102は用紙サイズなど用紙に関する情報と用紙上に配置される面情報のリストから構成される。面情報1103は、面に固有のデータと、面上に配置される物理ページのリストから構成される。物理ページ情報1104は、物理ページのサイズやヘッダ・フッタなどの情報と、物理ページを構成する原稿ページのリストから構成される。   An example of the data structure of the job ticket is shown in FIG. In printing data, a document is composed of a set of sheets, and each sheet is composed of two sides, a front side and a back side. Each side has an area (physical page) for laying out a document, and each physical page. Is composed of a set of manuscript pages which is the minimum unit. Reference numeral 1101 denotes data corresponding to a document, which includes data relating to the entire document and a list of paper information constituting the document. The paper information 1102 includes information related to paper such as paper size and a list of surface information arranged on the paper. The surface information 1103 includes data specific to the surface and a list of physical pages arranged on the surface. The physical page information 1104 includes information such as the physical page size and header / footer, and a list of manuscript pages constituting the physical page.

電子原稿デスプーラ105は、電子原稿ファイルのジョブチケットをデスプールテーブルというテーブル(図12のジョブチケットをテーブルとして表現したものに相当する。)を作成し、編集情報ファイルに定義された属性や印刷設定に応じて、そのデスプールテーブルを出力モジュールへの出力コマンドに変換する。   The electronic document despooler 105 creates a table called a despool table for job tickets of electronic document files (corresponding to the job ticket shown in FIG. 12 as a table), and defines attributes and print settings defined in the editing information file. Accordingly, the despool table is converted into an output command to the output module.

(プレビュー表示の内容例)
すでに説明したとおり、ブックファイルが製本アプリケーションによって開かれると、図9に示すユーザインタフェース画面900が表示される。ツリー部901には、開いているブック(以下、「注目ブック」と呼ぶ。)の構造を示すツリーが表示される。プレビュー部には、利用者の指定に応じて、3通りの表示方法が用意されている。第1は原稿ページをそのまま表示する原稿ビューと呼ばれるモードである。原稿ビューモードでは、注目ブックに属する原稿ページの内容が縮小されて表示される。プレビュー部の表示にレイアウトは反映されない。第2は印刷ビューモードである。印刷ビューモードでは、プレビュー部902には、原稿ページのレイアウトが反映された形で原稿ページが表示される。第3は簡易印刷ビューモードである。簡易印刷ビューモードでは、各原稿ページの内容はプレビュー部の表示には反映されず、レイアウトのみが反映される。
(Example of preview display)
As described above, when the book file is opened by the bookbinding application, the user interface screen 900 shown in FIG. 9 is displayed. In the tree portion 901, a tree showing the structure of an open book (hereinafter referred to as “target book”) is displayed. In the preview section, three display methods are prepared according to the user's designation. The first is a mode called a document view that displays a document page as it is. In the document view mode, the content of the document page belonging to the book of interest is reduced and displayed. The layout is not reflected in the preview display. The second is a print view mode. In the print view mode, the preview unit 902 displays the original page in a form that reflects the original page layout. The third is a simple print view mode. In the simple print view mode, the contents of each original page are not reflected in the display of the preview portion, but only the layout is reflected.

<他の文書処理システムの構成例>
上記実施形態の文書処理システムはスタンドアロン型のシステムであるが、これを拡張したサーバクライアントシステムでもほぼ同様の構成・手順でブックファイルが作成・編集される。ただし、ブックファイルや印刷処理はサーバによって管理される。
<Configuration example of other document processing system>
The document processing system of the above embodiment is a stand-alone system, but a book file is created and edited with substantially the same configuration and procedure even in a server client system to which this is extended. However, the book file and print processing are managed by the server.

図13はサーバクライアント型文書処理システムの構成を示すブロック図である。クライアント文書処理システムは、スタンドアロン型システムに、クライアントモジュールであるDOMS(Document Output Management Service:文書出力管理サービス)ドライバ109及びDOMSプリントサービスモジュール110、DS(文書サービス)クライアントモジュール108を加えた構成を有する。このクライアント文書処理システム1200に、文書管理サーバ1201及び印刷集中管理サーバ1202及びプリントサーバ1203が接続されている。これらサーバは、通常ネットワークによってクライアント文書処理システムと接続されるが、サーバが同時にクライアントとしても機能する場合には、ネットワーク間の通信をシミュレートするプロセス間通信によって接続される。尚、図13では文書管理サーバ1201と印刷集中管理サーバ1202の両サーバがクライアントに接続されているが、いずれか一方のみがネットワーク上に存在する場合もあり得る。接続されているサーバが文書管理サーバであれば、そのクライアントモジュールを含む文書管理サーバクライアントシステム1201SCが、印刷集中管理サーバ1202であれば、そのクライアントモジュールを含む印刷管理サーバクライアントシステム1202SCが、スタンドアロン型文書管理システムに追加される。   FIG. 13 is a block diagram showing a configuration of a server client type document processing system. The client document processing system has a configuration in which a DOMS (Document Output Management Service) driver 109, a DOMS print service module 110, and a DS (Document Service) client module 108, which are client modules, are added to a stand-alone system. . A document management server 1201, a print central management server 1202, and a print server 1203 are connected to the client document processing system 1200. These servers are normally connected to the client document processing system via a network, but are connected by inter-process communication that simulates communication between networks when the server also functions as a client at the same time. In FIG. 13, both the document management server 1201 and the print central management server 1202 are connected to the client, but only one of them may exist on the network. If the connected server is a document management server, the document management server client system 1201SC including the client module is the stand-alone print management server client system 1202SC including the client module. Added to document management system.

文書管理サーバ1201は、製本アプリケーション104により作成・編集されたブックファイルを格納するサーバである。文書管理サーバ1201によってブックファイルを管理する場合、ブックファイルは、クライアントPCのローカルHDに代わって、あるいはそれに加えて、文書管理サーバ1201のデータベース1211に保存される。製本アプリケーション104と文書管理サーバ1201との間のブックファイルの保存及び読み出しは、DSクライアント108及びDSコア1212を介して行われる。   The document management server 1201 is a server that stores book files created and edited by the bookbinding application 104. When a book file is managed by the document management server 1201, the book file is stored in the database 1211 of the document management server 1201 instead of or in addition to the local HD of the client PC. Saving and reading of book files between the bookbinding application 104 and the document management server 1201 are performed via the DS client 108 and the DS core 1212.

印刷集中管理サーバ1202は、クライアント文書管理システム1200に格納された、あるいは文書管理サーバ1201に格納されたブックファイルの印刷を管理するサーバである。クライアントにおける印刷要求は、DOMSドライバ109及びDOMSプリントサービスモジュール110を介して印刷集中管理サーバ1202のDOMSWGサーバモジュール1221に送信される。集中印刷管理サーバ1202は、クライアントのプリンタで印刷する場合にはクライアントのDOMSプリントサービスモジュール110を介して電子原稿デスプーラ105に電子原稿データを渡し、プリントサーバ1203により印刷する場合には、プリントサーバ1203のDOMSプリントサービスモジュール1203に送信する。集中印刷管理サーバは、例えば保存されているブックファイルに対して印刷要求を発行した利用者の資格などについてセキュリティチェックを行ったり、印刷処理のログを保存したりする。このように、文書処理システムは、スタンドアロンとしても、クライアントサーバシステムとしても実現できる。   The print central management server 1202 is a server that manages printing of book files stored in the client document management system 1200 or stored in the document management server 1201. The print request in the client is transmitted to the DOMSWG server module 1221 of the print central management server 1202 via the DOMS driver 109 and the DOMS print service module 110. The centralized print management server 1202 passes the electronic document data to the electronic document despooler 105 via the client's DOMS print service module 110 when printing by the client printer, and when printing by the print server 1203, the print server 1203. To the DOMS print service module 1203. For example, the centralized print management server performs a security check on the qualification of the user who issued the print request to the saved book file, and saves a print processing log. As described above, the document processing system can be realized as a stand-alone or a client-server system.

[本実施形態の文書処理システムの編集操作例]
上記図9は、製本アプリケーション104の操作画面である。製本アプリケーションは、文書のページ順の入れ替えや複製、削除などの編集に加え、ステイプルなどの印刷装置の機能設定も行うことができ、指定した印刷装置に印刷することが可能である。図9の左側の領域には、文書の構造を示すツリービューが表示されている。文書は、章の集合で構成されており、各章は原稿ページの集合で構成されている。図9の右側の領域には、各ページの印刷プレビューが表示されている。
[Example of editing operation of document processing system of this embodiment]
FIG. 9 is an operation screen of the bookbinding application 104. The bookbinding application can perform function settings of the printing device such as stapling, in addition to editing such as changing the page order of documents, copying, and deleting, and can print to a designated printing device. In the left area of FIG. 9, a tree view showing the structure of the document is displayed. A document is composed of a set of chapters, and each chapter is composed of a set of manuscript pages. In the area on the right side of FIG. 9, a print preview of each page is displayed.

<本実施形態の文書処理システムの属性設定例>
図14は、製本アプリケーション104の「文書の詳細設定」ウインドウ1400を示している。このウインドウでは、「文書設定情報403」を表示/設定することができる。このウインドウは、図9のアプリケーション操作画面にあるPrint Formメニューの「Detailed Setting for Document」メニューあるいはツールバー上の「Detailed Setting for Document」ボタンから起動される。「文書の詳細設定」ウインドウは、文書全体に影響する属性の設定を行うためのウインドウである。このウインドウは、Page Setup、Decoration、Edit、Paper Sourceの4つのシートから構成されており、図14は、Page Setupシートを表示した状態を示している。このPage Setupシートでは、主にレイアウトに関する設定を行うことができ、用紙サイズや向き、Nページ印刷などの設定を指示することができる。このウインドウには、ズームに関するチェックボックスコントロール1401、1402が配置されている。
<Attribute Setting Example of Document Processing System of this Embodiment>
FIG. 14 shows a “detailed document setting” window 1400 of the bookbinding application 104. In this window, “document setting information 403” can be displayed / set. This window is activated from the “Detailed Setting for Document” menu in the Print Form menu on the application operation screen of FIG. 9 or the “Detailed Setting for Document” button on the toolbar. The “detailed document settings” window is a window for setting attributes that affect the entire document. This window is composed of four sheets, Page Setup, Decoration, Edit, and Paper Source. FIG. 14 shows a state in which the Page Setup sheet is displayed. In this Page Setup sheet, settings relating mainly to layout can be performed, and settings such as paper size and orientation, N-page printing, and the like can be instructed. In this window, check box controls 1401 and 1402 relating to zooming are arranged.

図15は、製本アプリケーション104の「章の詳細設定」ウインドウ1500を示している。このウインドウでは、「章設定情報407」を表示/設定することができる。このウインドウは、図9のアプリケーション操作画面にあるPrint Formメニューの「Detailed Setting for Chapter」メニューあるいはツールバー上の「Detailed Setting for Chapter」ボタンから起動される。「章の詳細設定」ウインドウは、章固有の属性の設定を行うためのウインドウである。このウインドウは、Page Setup、Decoration、Edit、Paper Sourceの4つのシートから構成されており、図15は、Page Setupシートを表示した状態を示している。このPage Setupシートでは、主に各章で固有のレイアウトに関する設定を行うことができ、用紙サイズや向き、Nページ印刷などの設定を指示することができる。「文書の詳細設定」と「章の詳細設定」で重複する設定項目については「Follow Book Attribute」のチェックボックスコントロール1501、1502、1503を配置して
いる。このチェックボックスにチェックが入っている項目グループについては、文書の設定値をその章にも適用する。このチェックをはずした場合については、次の図16に示す。章固有の設定としては2種類に分類できる。一つは章でしか持たない設定項目である。もう一つは、上位階層の文書とは異なる独自の設定値を章の階層で保持している場合である。
FIG. 15 shows a “chapter detailed setting” window 1500 of the bookbinding application 104. In this window, “chapter setting information 407” can be displayed / set. This window is activated from the “Detailed Setting for Chapter” menu in the Print Form menu on the application operation screen of FIG. 9 or the “Detailed Setting for Chapter” button on the toolbar. The “chapter detailed setting” window is a window for setting a chapter-specific attribute. This window is composed of four sheets, Page Setup, Decoration, Edit, and Paper Source. FIG. 15 shows a state in which the Page Setup sheet is displayed. In this Page Setup sheet, settings relating to a layout unique to each chapter can be mainly made, and settings such as paper size and orientation, N-page printing, and the like can be instructed. For the setting items that overlap between “detailed settings of document” and “detailed settings of chapter”, check box controls 1501, 1502, and 1503 of “Follow Book Attribute” are arranged. For the item group whose check box is checked, the setting value of the document is applied to the chapter. A case where this check is removed is shown in FIG. There are two types of chapter-specific settings. One is a setting item that only has a chapter. The other is a case where unique setting values different from those in the upper hierarchy document are held in the chapter hierarchy.

図16は、図15の「章の詳細設定」でチェックボックスコントロール1501、1502のチェックをはずした状態である。この場合、文書の全体がA3用紙を使っている場合でも、この章を構成するページはA4用紙サイズとする。またレイアウトも、文書では1Page Par Sheetであっても、この章は4 Page Per Sheetでレイアウトするという指定である。「MS Arrange」については、チェックがついているので、上位階層である文書の設定値をこの章の設定値として使う。   FIG. 16 shows a state where the check boxes 1501 and 1502 are unchecked in “Chapter Detailed Settings” in FIG. In this case, even if the entire document uses A3 paper, the pages making up this chapter are A4 paper size. In addition, even if the layout is 1 Page Par Sheet in the document, this chapter is specified to be laid out with 4 Page Per Sheet. Since “MS Arrange” is checked, the setting value of the document in the upper hierarchy is used as the setting value of this chapter.

図17は、製本アプリケーション104の「ページの詳細設定」ウインドウ1700を示している。このウインドウでは、「ページ設定情報411」を表示/設定することができる。このウインドウは、図9のアプリケーション操作画面にあるPrint Formメニューの「Detailed Setting for Page」メニューあるいはツールバー上の「Detailed Setting for Page」ボタンから起動される。「ページの詳細設定」ウインドウは、各ページで固有の属性の設定を行うためのウインドウである。このウインドウは、Page Setup、Editの2つのシートから構成されており、図17は、Page Setupシートを表示した状態を示している。このPage Setupシートでは、主に各ページで固有のレイアウトに関する設定を行うことができ、原稿ページを配置する際の回転角や拡縮率などの設定を指示することができる。「章の詳細設定」と「ページの詳細設定」で重複する設定項目については「Follow Chapter Attribute」のチェックボックスコントロール1701を配置している。このチェックボックスにチェックが入っている項目については、章の設定値をそのページにも適用する。このチェックをはずした場合については、次の図18に示す。   FIG. 17 shows a “detailed page setting” window 1700 of the bookbinding application 104. In this window, “page setting information 411” can be displayed / set. This window is activated from the “Detailed Setting for Page” menu in the Print Form menu on the application operation screen of FIG. 9 or the “Detailed Setting for Page” button on the toolbar. The “detailed page settings” window is a window for setting unique attributes for each page. This window is composed of two sheets, Page Setup and Edit, and FIG. 17 shows a state in which the Page Setup sheet is displayed. In this Page Setup sheet, settings relating to a layout unique to each page can be mainly made, and settings such as a rotation angle and an enlargement / reduction ratio when placing an original page can be instructed. A check box control 1701 of “Follow Chapter Attribute” is arranged for setting items that overlap in “chapter detailed settings” and “page detailed settings”. For items for which this check box is checked, the setting value of the chapter is applied to the page. The case where this check is removed is shown in FIG.

図18は、図17の「ページの詳細設定」でPage Loatationの設定を変更した状態を示している。コントロール1701で、原稿ページをレイアウトする際にページの上が左になるように回転して配置する設定にしている。この項目については「Follow Chapter Attribute」のチェックボックスが無いので、章や文書に重複する設定項目が無いので、このウインドウに表示されている設定が常にページの設定値となる。1701のチェックがある場合、例えば「Arrange」の項目は、章にも重複する設定項目があるので章の設定値をページの設定値とする。章で該当する「Arrange」の項目が「Follor Book Attribute」のチェックがある場合、章の設定値は上位階層である文書の設置値を使うので結局ページの設定値は文書の設定値を使うことになる。章で該当する項目のチェックが外れている場合、章固有の設定値を持っているので、ページの設定値はその章固有の設定値を使う。   FIG. 18 shows a state where the Page Loatation setting is changed in “Detailed setting of page” in FIG. The control 1701 is set to rotate and arrange so that the top of the page is left when laying out the original page. Since there is no “Follow Chapter Attribute” check box for this item, there are no duplicate setting items in the chapter or document, so the settings displayed in this window are always page setting values. If there is a check in 1701, for example, the item “Arrange” has a setting item that is also duplicated in the chapter, so the setting value of the chapter is set as the setting value of the page. If the corresponding “Arrange” item in the chapter is checked with “Follor Book Attribute”, the setting value of the chapter uses the setting value of the document in the upper hierarchy, so the page setting value eventually uses the setting value of the document. become. If a corresponding item in a chapter is unchecked, it has a chapter-specific setting value, so that the page setting value uses the setting value unique to that chapter.

尚、上記設定画面で設定されたチェックボックスコントロールの情報は、専用の領域に保持されてもよいが、図3に示した設定情報内に属性の1つとして保持するのが望ましい。この場合には、図5及び図6にチェックボックスコントロールの情報を保持する領域が追加される。   The check box control information set on the setting screen may be held in a dedicated area, but is preferably held as one of the attributes in the setting information shown in FIG. In this case, an area for holding check box control information is added to FIGS. 5 and 6.

<本実施形態の文書処理システムの文書編集の表示例>
上位階層と重複する設定項目を上位階層の設定値を使わないようにした場合、つまり、チェックボックスコントロール1501や1701のチェックをはずした場合のアプリケーションの表示形式を、図19に示す。
<Example of Document Editing Display in Document Processing System of Present Embodiment>
FIG. 19 shows the display format of the application when the setting value overlapping the upper layer is not used for the setting value of the upper layer, that is, when the check box controls 1501 and 1701 are unchecked.

図19の例では、文書は二つの章からなり、各章は9ページの原稿データを持っている。最初の章のレイアウトを4UP(4in1とも表記する)に、2番目の章の先頭ページ(文書全体では10ページ目)に回転を指定した場合の表示例である。右側のプレビューにおいて、1〜3ページ目には1ページ上に4つの原稿がそれぞれ配置されている様子が表示されている。そして、第4ページ目のデータである「A」の文字が回転している様子が表示されている。ツリービューでの章やページ固有の設定を行った場合の表示形式を説明する。最初の章に対するアイコン1901が変化して、この章に章独自の設定がなされていることを示している。2番目の章の先頭ページに対するアイコン1902が変化して、このページに特別な設定がなされていることが示されている。   In the example of FIG. 19, the document is composed of two chapters, and each chapter has nine pages of document data. This is a display example when the layout of the first chapter is 4UP (also expressed as 4in1), and rotation is specified for the first page of the second chapter (the 10th page in the whole document). In the preview on the right side, the first to third pages show that four documents are arranged on one page. Then, the state where the character “A” which is the data of the fourth page is rotated is displayed. The display format when chapter-specific settings and page-specific settings in the tree view are described. The icon 1901 for the first chapter changes to indicate that the chapter has its own settings. The icon 1902 for the first page of the second chapter changes to show that special settings have been made for this page.

<本実施形態における文書処理装置で実行する用紙サイズ混載原稿の多連印刷>
次に、本実施形態にかかる文書処理装置において実行する多連印刷ついて説明する。まず、図20、21、22を用いて製本アプリケーション104が提供する多連印刷について説明する。
<Multiple Printing of Paper Size Mixed Documents Executed by Document Processing Apparatus in Present Embodiment>
Next, multiple printing executed in the document processing apparatus according to the present embodiment will be described. First, the multiple printing provided by the bookbinding application 104 will be described with reference to FIGS.

図20は、製本アプリケーション104の「ドキュメントの詳細設定」ウィンドウの「仕上げ」シート2000を例示する図であり、印刷方法として多連印刷を適用するためには、プルダウンメニュー2001(図20(b)を参照)の表示から「しない/2連印刷/4連印刷/前半後半印刷」、何れかをユーザは選択することができる。プルダウンメニュー2001の表示のうちから「2連印刷/4連印刷/前半後半印刷」いずれかをユーザが選択すると、属性情報生成ユニット212は、その選択に応じて文書の属性情報を生成し、あるいは更新をする。2連印刷、4連印刷、前半後半印刷において、ユーザが装置を操作する際、印刷体裁に関する詳細な条件設定が容易となり、印刷体裁として選択可能な出力のバリエーションを増やすことが可能になる。   FIG. 20 is a diagram exemplifying a “finishing” sheet 2000 in the “detailed document settings” window of the bookbinding application 104. In order to apply multiple printing as a printing method, a pull-down menu 2001 (FIG. 20B). The user can select any one of “No / 2 continuous printing / 4 continuous printing / first half second half printing” from the display. When the user selects any one of “2 continuous printing / 4 continuous printing / first half second half printing” from the pull-down menu 2001 display, the attribute information generation unit 212 generates the attribute information of the document according to the selection, or Update. In duplex printing, quadruple printing, and first half printing, when the user operates the apparatus, detailed condition settings regarding the print format can be easily performed, and variations in output that can be selected as the print format can be increased.

ここで、属性情報生成ユニット212が生成、更新した属性情報は、文書設定情報403(図3、図4のNo.15)に反映される。製本アプリケーション104はページの面つけを実行する際、この属性情報を参照する。尚、属性情報生成ユニット212は、ハードウエア資源としてホストコンピュータ100に構成する他、ユーザによるキーボード209からの選択入力に応じて起動するソフトウエアモジュールとしてプログラムROM203や外部メモリ211に格納するようにしてもよい。   Here, the attribute information generated and updated by the attribute information generation unit 212 is reflected in the document setting information 403 (No. 15 in FIGS. 3 and 4). The bookbinding application 104 refers to this attribute information when executing page imposition. The attribute information generation unit 212 is configured in the host computer 100 as hardware resources, and is stored in the program ROM 203 or the external memory 211 as a software module that is activated in response to a selection input from the keyboard 209 by the user. Also good.

図20の画面表示中、2002及び2003の入力エリアは、多連印刷として選択した2連印刷、4連印刷、前半後半印刷のいずれかの印刷後に用紙を裁断する切り口を揃えるための設定をするための入力エリアである。   In the screen display of FIG. 20, the input areas 2002 and 2003 are set to align the cut edges for cutting the paper after any one of the double printing, the four printing, and the first half printing selected as the multiple printing. This is an input area.

図21は、製本アプリケーション104における「ドキュメントの詳細設定」ウィンドウの「ページ設定」シート2100を例示する図である。ページ設定シート中のエリア2101は出力用紙サイズを選択するためのエリアである。図21の例では、「A4(A5原稿×2)」が選択された状態を示しており、この設定に基づき製本アプリケーション104はA4サイズの用紙に対して、A5サイズの原稿を2連に面つけする。また、図22は図21のエリア2101にプルダウンメニューとして表示される具体的な出力用紙サイズの表示例を示す図である。多連印刷における用紙設定は、図21で示したA4サイズにA5サイズの原稿を2連に面つけする場合に限られず、例えば、図22に示すように種々の用紙サイズを選択して行うことが可能である。例えば、2連印刷用としてB4サイズの用紙を選択した場合、属性情報生成ユニット212は、その選択に応じて文書の属性情報として、出力用紙の向き(縦か横か)、出力用紙のサイズに関する属性情報を生成し、あるいは更新して文書設定情報403に反映する。この場合、製本アプリケーション104は、属性情報に応じて新たに選択されたB4サイズの出力用紙にB5サイズの原稿を2連に面つけすることができる。   FIG. 21 is a diagram illustrating a “page setting” sheet 2100 of the “detailed document setting” window in the bookbinding application 104. An area 2101 in the page setting sheet is an area for selecting an output paper size. The example of FIG. 21 shows a state in which “A4 (A5 original × 2)” is selected. Based on this setting, the bookbinding application 104 doubles A5 size originals on A4 size paper. Put on. FIG. 22 is a diagram showing a display example of a specific output paper size displayed as a pull-down menu in the area 2101 of FIG. The paper setting in the multi-printing is not limited to the case where the A4 size document is imposed on the A4 size shown in FIG. 21 in duplicate, and for example, various paper sizes are selected as shown in FIG. Is possible. For example, when a B4 size paper is selected for duplex printing, the attribute information generation unit 212 relates to the orientation of the output paper (whether vertical or horizontal) and the size of the output paper as the attribute information of the document according to the selection. Attribute information is generated or updated and reflected in the document setting information 403. In this case, the bookbinding application 104 can impose a B5 size document on the B4 size output paper newly selected according to the attribute information.

ユーザが装置を操作する際、印刷体裁に関する出力用紙の向きや用紙のサイズの選択に関する条件設定を容易に行うことが可能になる。   When the user operates the apparatus, it becomes possible to easily set conditions relating to output paper orientation and paper size selection relating to the printing style.

図23は実際に原稿ページとしてA、B、Cを含む原稿において、多連印刷を実行した場合の多連印刷結果を概略的に示す図である。図23(a)は、図21の設定画面において、出力用紙の向きが横と設定されている場合に、図20のエリア2001において、4連印刷が選択された場合の印刷結果を示す図であり、製本印刷アプリケーション104は4連印刷時には同一原稿を一枚の用紙に4つずつ面つけする。また、図23(c)は、図21の設定画面で出力用紙の向きが縦と設定されている場合の4連印刷の例を示しており、製本印刷アプリケーション104は、同一原稿を縦方向の一枚の用紙に4つずつ面つけをする。図23(b)は、図21の設定画面において、出力用紙の向きが横と設定されている場合に、2連印刷が選択された場合であり、図23(d)は、出力用紙の向きが縦と設定されている場合に、2連印刷が選択された場合の面つけの例を示している。   FIG. 23 is a diagram schematically showing a result of multiple printing when multiple printing is executed on a document that actually includes A, B, and C as document pages. FIG. 23A is a diagram illustrating a printing result when quadruple printing is selected in the area 2001 of FIG. 20 when the output sheet orientation is set to landscape on the setting screen of FIG. Yes, the bookbinding printing application 104 imposes the same original four times on a single sheet during quadruple printing. FIG. 23C shows an example of quadruple printing when the orientation of the output paper is set to portrait on the setting screen of FIG. 21, and the bookbinding print application 104 prints the same document in the portrait direction. Impose each sheet 4 times. FIG. 23B shows a case where duplex printing is selected when the output paper orientation is set to landscape in the setting screen of FIG. 21, and FIG. 23D shows the output paper orientation. An example of imposition when double printing is selected when is set to vertical.

原稿ページA、B、Cはそれぞれ、一枚の用紙において、設定された面つけ数(2連印刷か、4連印刷)、出力用紙の向き(縦、横)に基づき、製本アプリケーション104の制御の下に面つけされる。   Each of the manuscript pages A, B, and C is controlled by the bookbinding application 104 based on the set number of impositions (double printing or quadruple printing) and the orientation (vertical or horizontal) of the output paper on a single sheet. Imposed underneath.

次に、図24のフローチャートを用いて、図20、21のユーザインターフェース(UI)(図20の2001、2002、2003、図21の2101)において多連印刷設定が行われたドキュメントに対し、製本アプリケーション104において印刷を実行する処理の流れを説明する。   Next, with reference to the flowchart of FIG. 24, bookbinding is performed on a document for which multiple print settings are performed in the user interface (UI) of FIGS. 20 and 21 (2001, 2002, 2003 of FIG. 20, 2101 of FIG. 21). A flow of processing for executing printing in the application 104 will be described.

製本アプリケーション104で印刷が実行されると、まず、図24のステップS2401において、文書設定情報403(多連印刷設定情報を含む(図4を参照))を取得する。そして、ステップS2402において、印刷対象のドキュメントに対して多連印刷が設定されているかどうかを判定し、多連印刷が設定されていると判断されたら(S2402-YES)、次のステップS2403に処理を進め、前半後半印刷が設定されているかを判定する(「前半後半印刷」とは、多連印刷機能の一つで、詳細については後述するためここでは説明を省略する)。そして、ステップS2403で前半後半印刷が設定されていないと判断した場合(S2403-NO)、処理をステップS2404に進め、通常の多連印刷処理が行われる。また、S2403において前半後半印刷が設定されていると判断された場合(S2403-YES)、処理をステップS2405に進め、多連印刷の一つである前半後半印刷処理が行われる。一方、ステップS2402において、多連印刷が設定されていなければ(S2402-NO)、処理をステップS2406に進め、通常の印刷処理が行われることになる。   When printing is executed by the bookbinding application 104, first, in step S2401 in FIG. 24, document setting information 403 (including multiple print setting information (see FIG. 4)) is acquired. In step S2402, it is determined whether multiple printing is set for the document to be printed. If it is determined that multiple printing is set (S2402-YES), the process proceeds to the next step S2403. To determine whether or not the first half second half printing is set (“first half second half printing” is one of the multiple printing functions, and the details will be described later and will not be described here). If it is determined in step S2403 that the first half printing is not set (S2403—NO), the process proceeds to step S2404, and the normal multiple printing process is performed. If it is determined in S2403 that the first half of the second half printing is set (S2403—YES), the process proceeds to step S2405, and the first half second half printing process, which is one of the multiple printing, is performed. On the other hand, if multiple printing is not set in step S2402 (S2402-NO), the process proceeds to step S2406, and normal printing processing is performed.

次に、製本アプリケーション104が実行する図24のステップS2404にあたる、多連印刷処理の詳細を図25のフローチャートを用いて説明する。ここでは、例として、図20のエリア2001において、多連印刷として「2連印刷」が設定されている場合について説明する。   Next, details of the multiple printing process executed by the bookbinding application 104 in step S2404 of FIG. 24 will be described with reference to the flowchart of FIG. Here, as an example, a case where “double printing” is set as multiple printing in the area 2001 of FIG. 20 will be described.

まず、ステップS2501で物理ページカウンタKの初期値をセットする。そして、ステップS2502に進み、物理ページカウンタKを一つ進め(K++)、ステップS2503において、Kページ目のドキュメントを読み込む。そして、続くステップS2504で出力用紙方向が縦に設定されているか否かを判定し、縦方向として出力用紙の向きが設定されている場合(S2504-YES)、処理をステップS2506に進め、製本アプリケーション104は出力用紙に対して上下に2連で面つけする。   First, in step S2501, the initial value of the physical page counter K is set. In step S2502, the physical page counter K is incremented by 1 (K ++), and in step S2503, the Kth page document is read. In subsequent step S2504, it is determined whether or not the output paper direction is set to the vertical direction. If the output paper direction is set as the vertical direction (S2504-YES), the process proceeds to step S2506, and the bookbinding application. 104 imposes the output paper in two lines up and down.

一方、ステップS2504において、出力用紙の方向が横向きだと判定された場合(S2504-NO)、処理をステップS2505に進め、出力用紙に対して、製本アプリケーション104は左右2連で面つけする。   On the other hand, if it is determined in step S2504 that the direction of the output sheet is landscape (S2504-NO), the process proceeds to step S2505, and the bookbinding application 104 imposes the output sheet in two steps on the left and right.

ステップS2505またはステップS2506において面つけが終わったら、処理を次のステップS2507に進め、製本アプリケーション104はKページ目の印刷処理を行う。そして、続くステップS2508において、Kページ目が印刷対象のドキュメントの最終ページかどうかの判定を行い、最終ページでなければ(S2508-NO)、再び処理をステップS2502に戻し、次ページの印刷処理に移行する。そして同様の処理を、全ページ分終わるまで繰り返す。   When imposition is completed in step S2505 or step S2506, the process proceeds to the next step S2507, and the bookbinding application 104 performs print processing for the Kth page. In step S2508, it is determined whether the Kth page is the last page of the document to be printed. If the Kth page is not the last page (NO in S2508), the process returns to step S2502, and the next page is printed. Transition. The same process is repeated until all pages are completed.

このようにして、2連印刷の印刷処理が行われる。ここでは、例として、2連印刷について説明したが、4連印刷の場合には、図25のステップS2505、ステップS2506の部分が、それぞれ4連での面つけが行われることになる。   In this way, the printing process of double printing is performed. Here, as an example, duplex printing has been described, but in the case of quadruple printing, the steps S2505 and S2506 in FIG.

以上を踏まえて、本発明の実施形態における用紙サイズが混載された原稿に対する多連印刷について説明する。   Based on the above, multiple printing for a document in which paper sizes are mixed according to an embodiment of the present invention will be described.

<用紙サイズ混載原稿の多連印刷制御>
図26は、本発明の実施形態において、製本アプリケーション104が表示制御する「ドキュメントの詳細設定」ウィンドウの「仕上げ」シートのユーザーインターフェース画面を例示する図である。図26のインタフェース画面からは多連印刷の種類として、異なる用紙サイズ(A5、A4)混載の原稿を対象とした多連印刷を指示することができる(2601:図20の画面とはこの点において相違する)。ここでは、「2連印刷(A5×A4用紙混載)」を選択されているが、他にも「2連印刷(A4×A3用紙混載)」や「2連印刷「B5×B4用紙混載」」などの多連印刷を選択することができる。ここで用紙混載による多連印刷が選択されると、属性情報生成ユニット212は、その選択に応じて文書の属性情報を生成し、あるいは更新をする。
<Multiple printing control of mixed paper size originals>
FIG. 26 is a diagram exemplifying a user interface screen of a “finishing” sheet of a “document detailed setting” window that is controlled by the bookbinding application 104 according to the embodiment of this invention. From the interface screen of FIG. 26, it is possible to instruct multiple printing for originals mixed in different paper sizes (A5, A4) as the type of multiple printing (2601: what is the screen of FIG. 20 in this respect). Is different). Here, “double printing (A5 × A4 paper mixed loading)” is selected, but “double printing (A4 × A3 paper mixed loading)” and “double printing“ B5 × B4 paper mixed loading ”” are also available. Multiple printing such as can be selected. Here, when multiple printing by paper mixture is selected, the attribute information generation unit 212 generates or updates the attribute information of the document according to the selection.

図27は印刷対象となる用紙混載原稿の例を示す図であり、用紙混載原稿は、A5サイズのページ3枚((1)、(2)、(4)ページ目)とA4サイズのページ1枚((3)ページ目)より構成される。このような用紙サイズ混載原稿に対し、図26で設定した「2連印刷(A5×A4用紙混載)」を実行した場合には、図28に示すような面つけ結果になる。すなわち、A5サイズの(1)、(2)、(4)ページは、A4用紙に2連で面づけされ(2801)、これらの用紙はプリンタ107の同一排紙口より排紙される。一方、A4サイズの(3)ページ目は、A3用紙に2連で面つけされ、この用紙はプリンタ107の別の排紙口より排紙される。このように、「出力用紙サイズ」の設定によって、製本アプリケーション104は多連印刷における面付けを制御し、プリンタドライバ106はこの面つけ制御に応じて排紙方法を自動で切り替えることができる。   FIG. 27 is a diagram showing an example of a paper mixed original to be printed. The paper mixed original includes three A5 size pages ((1), (2), and (4) pages) and an A4 size page 1. It consists of sheets ((3) page). When “double printing (A5 × A4 paper mixed loading)” set in FIG. 26 is executed for such a paper size mixed original, an imposition result as shown in FIG. 28 is obtained. In other words, pages (1), (2), and (4) of A5 size are imposed on A4 sheets in duplicate (2801), and these sheets are discharged from the same discharge outlet of the printer 107. On the other hand, the (3) th page of A4 size is imposed on A3 paper in duplicate, and this paper is discharged from another discharge port of the printer 107. As described above, the bookbinding application 104 controls imposition in multiple printing according to the setting of “output paper size”, and the printer driver 106 can automatically switch the paper discharge method according to the imposition control.

また、図29で示す例のように、A3サイズの(3)ページ目に相当するページ部分には、色紙(または別サイズの用紙でもよい)を挿入することで、別の排紙口で排紙されたA3サイズの原稿を挿入する印刷後のマージ作業を容易にすることも可能である。この場合、プリンタドライバ106は、製本アプリケーション104の面つけ制御に応じて、排紙口を分けた用紙に対するマージ位置の特定を容易にする色紙等の給紙を制御することができる。   Also, as in the example shown in FIG. 29, colored paper (or paper of another size) may be inserted into the page portion corresponding to the (3) th page of A3 size, so that it can be discharged at another paper outlet. It is also possible to facilitate the merging operation after printing to insert a paper A3 size document. In this case, according to the imposition control of the bookbinding application 104, the printer driver 106 can control the feeding of colored paper or the like that makes it easy to specify the merge position for the paper with the paper exits separated.

続いて、図30のフローチャートを参照して、上述の多連印刷処理の流れを説明する。ここで図30は、図24のステップS2404の具体的な処理の例に相当し、製本アプリケーション104が多連印刷における面つけ制御を実行し、プリンタドライバ106が、その面つけ制御の結果に従ってプリンタ107を制御して、多連印刷を実行する。   Next, the flow of the above-described multiple printing process will be described with reference to the flowchart of FIG. Here, FIG. 30 corresponds to an example of a specific process in step S2404 of FIG. 24, in which the bookbinding application 104 executes imposition control in the multiple printing, and the printer driver 106 determines the printer according to the result of the imposition control. 107 is controlled to execute multiple printing.

まず、ステップS3001で、製本アプリケーション104は、ぺージカウンタKの初期値を0にセットする。そして、ステップS3002で、カウントを1つ進め(K++)、ステップS3003において、製本アプリケーション104はKページ目の設定されている情報の読込みを行う。   First, in step S3001, the bookbinding application 104 sets the initial value of the page counter K to zero. In step S3002, the count is incremented by 1 (K ++). In step S3003, the bookbinding application 104 reads information set for the Kth page.

そして、製本アプリケーション104は、次のステップS3004において、Kページ目の原稿の用紙サイズを、読み込んだ情報に基づいて判定する。   In step S3004, the bookbinding application 104 determines the paper size of the Kth page based on the read information.

ステップS3005において、用紙サイズが「A5」であると判定した場合には(S3005-YES)、処理をステップS3006に進め、出力用紙サイズをA4に設定し、ステップS3007で現在のページ(K)を設定したA4用紙の左右に2連で面つけする。   If it is determined in step S3005 that the paper size is “A5” (S3005-YES), the process proceeds to step S3006, the output paper size is set to A4, and the current page (K) is set in step S3007. Imposing two sets of A4 sheets on the left and right sides.

次のステップS3008において、プリンタドライバ106は、上記の面つけ結果に基づいて1物理ページの印刷処理をプリンタ107に実行させ、プリンタ107は、この印刷処理の結果をプリンタ107の通常の排紙口(1)(ここでは通常排紙口を(1)とし、それ以外を排紙口(2)、(3)で表すものとする)より排紙する(S3008)。   In the next step S3008, the printer driver 106 causes the printer 107 to execute print processing of one physical page based on the imposition result, and the printer 107 outputs the result of this print processing to the normal paper discharge port of the printer 107. (1) The sheet is discharged from (here, the normal sheet discharge port is (1), and the others are represented by the sheet discharge ports (2) and (3)) (S3008).

一方、ステップS3004で、製本アプリケーション104が、用紙のサイズがA5以外であると判断した場合(S3005−NO)、処理をステップS3010に進め、製本アプリケーション104が現在のページ(K)をA4サイズと判定した場合には(S3010-YES)、処理をステップS3011に進める。製本アプリケーション104は、ステップS3011で現在の原稿ページデータを一時的に記憶領域に退避させ、ステップS3012において、合紙の挿入設定を行う。この合紙は、排紙口(1)に排紙される第1のページサイズに対応する面つけ結果に(S3009)、排紙口(2)または排紙口(3)に排紙される第2のページサイズに対応する面つけ結果を挿入するページ位置を識別するためのものである。   On the other hand, if the bookbinding application 104 determines in step S3004 that the paper size is other than A5 (S3005-NO), the process proceeds to step S3010, and the bookbinding application 104 sets the current page (K) as A4 size. If it is determined (S3010-YES), the process proceeds to step S3011. In step S3011, the bookbinding application 104 temporarily saves the current document page data in the storage area, and in step S3012 performs setting for inserting slip sheets. The slip sheet is discharged to the discharge port (2) or the discharge port (3) according to the imposition result corresponding to the first page size discharged to the discharge port (1) (S3009). This is for identifying the page position into which the imposition result corresponding to the second page size is inserted.

そして、ステップS3013において、製本アプリケーション104は、ステップS3012で設定した合紙の用紙サイズをA4に設定し、ステップS3014において排紙口(1)から合紙を排紙するように設定する。   In step S3013, the bookbinding application 104 sets the slip sheet size set in step S3012 to A4, and in step S3014, the bookbinding application 104 sets the slip sheet to be discharged from the discharge port (1).

ここで、ステップS3012、S3013において、製本アプリケーション104が設定する合紙は、排紙口(1)に排紙されるページサイズと同一のものに限らず、別サイズのものを挿入するように設定することも可能であり、また、マージ作業において該当ページを識別し易くするために、色紙を合紙として挿入することも可能である。   Here, in steps S3012 and S3013, the slip sheet set by the bookbinding application 104 is not limited to the same size as the page size discharged to the discharge port (1), but is set to insert a different size. It is also possible to insert colored paper as a slip sheet in order to make it easier to identify the corresponding page in the merge operation.

次に、処理をステップS3015に処理を進め、製本アプリケーション104は、ステップS3011で退避させたA4のページデータを面つけするために、用紙サイズをA3に設定し、ステップS3011の処理で退避させたA4のデータを、設定したA3用紙の左右に2連で面付けを行う(S3016)。   Next, the process proceeds to step S3015, and the bookbinding application 104 sets the paper size to A3 to impose the A4 page data saved in step S3011 and saves it in the process of step S3011. The A4 data is impositioned in duplicate on the left and right sides of the set A3 paper (S3016).

次に、ステップS3017において、製本アプリケーション104は、ステップS3016の面つけ結果を出力するために、プリンタの排紙口を(2)に変更する。   In step S3017, the bookbinding application 104 changes the paper discharge port of the printer to (2) in order to output the imposition result in step S3016.

ステップS3018において、プリンタドライバ106は、上記の面つけ結果に基づいて1物理ページの印刷処理をプリンタ107に実行させ、プリンタ107は、この印刷処理の結果をプリンタ107の通常の排紙口(2)より排紙する。   In step S3018, the printer driver 106 causes the printer 107 to execute print processing of one physical page based on the imposition result, and the printer 107 outputs the result of this print processing to the normal paper discharge port (2 )

ステップS3010で、製本アプリケーション104がKページ目をA4(A5)以外と判断した場合には処理をステップS3016に進め、現在のページ(K)の用紙サイズがB5である場合(S3019−YES)、製本アプリケーション104は、処理をステップS3020に進め、以下、先に説明したステップS3011〜S3018の処理と同様の処理を実行する。この際、製本アプリケーション104は、排紙口を用紙サイズごとに区別するために、B5サイズのページを2連に面つけしたB4の用紙を排紙口(3)に設定する(S3026)。ステップS3027において、Kページ目の印刷処理を行う。プリンタドライバ106は、B4サイズの用紙に2連の面つけがされた1物理ページの印刷処理をプリンタ107に実行させ、プリンタ107は、この印刷処理の結果をプリンタ107の排紙口(3)に排紙する。   If the bookbinding application 104 determines that the Kth page is other than A4 (A5) in step S3010, the process proceeds to step S3016. If the paper size of the current page (K) is B5 (S3019—YES), The bookbinding application 104 advances the processing to step S3020, and executes the same processing as the processing of steps S3011 to S3018 described above. At this time, the bookbinding application 104 sets the B4 paper, in which B5 size pages are arranged in duplicate, in the paper discharge port (3) in order to distinguish the paper discharge port for each paper size (S3026). In step S3027, print processing for the Kth page is performed. The printer driver 106 causes the printer 107 to execute printing processing of one physical page in which double imposition is performed on B4 size paper, and the printer 107 outputs the result of this printing processing to the paper discharge port (3) of the printer 107. Paper is discharged.

ステップS3028において、製本アプリケーション104は、現在のKページが最終ページかどうかを判定し、最終ページでない場合には(S3028−NO)、再び処理をステップS3002に戻し、K+1ページ目の面つけ処理を実行し、最終ページの面つけが終了するまで実行する(S3028−YES)。   In step S3028, the bookbinding application 104 determines whether or not the current K page is the last page. If it is not the last page (S3028-NO), the bookbinding application 104 returns the process to step S3002, and performs the imposition process for the (K + 1) th page. This is executed until the imposition of the last page is completed (S3028-YES).

以上説明した図30のフローチャートにより、用紙サイズの異なる混載原稿に対する多連印刷処理において、同一用紙サイズ原稿は同じ排紙口より出力し、他の用紙サイズのものは別の排紙口より排紙することで、異なるページサイズの面つけ結果を区別して出力することが可能になる。   According to the flowchart of FIG. 30 described above, in the multiple printing process for mixed originals having different paper sizes, the same paper size original is output from the same paper discharge port, and other paper sizes are output from the different paper discharge ports. This makes it possible to distinguish and output imposition results of different page sizes.

また、マージするページを識別するための合紙を挿入することで、印刷後のマージ作業を容易にすることが可能になる。   Further, by inserting a slip sheet for identifying pages to be merged, it is possible to facilitate the merge operation after printing.

尚、図30のフローチャートにおいて、用紙サイズの選択は、文書に設定されている用紙サイズの情報に基づいて、面つけをするための用紙サイズを製本アプリケーション104が設定していたが、用紙サイズの設定はこの実施形態に限定されるものではなく、例えば、ユーザがキーボード(KB)209等の入力手段を介して指定した用紙サイズに基づいて、製本アプリケーション104が面つけをするようにしてもよい。   In the flowchart of FIG. 30, the paper size is selected by the bookbinding application 104 based on the paper size information set in the document. The setting is not limited to this embodiment. For example, the bookbinding application 104 may perform imposition based on a paper size designated by the user via an input unit such as a keyboard (KB) 209. .

例えば、出力用の用紙サイズとしてA3が設定された場合、製本アプリケーション104は、A4のページサイズの文書を2連に面つけをし、また、製本アプリケーション104は、A5のページサイズの文書の場合は、A5をA4に論理ページを拡大してA3の用紙に2連の面つけをするようししてもよい。   For example, when A3 is set as the output paper size, the bookbinding application 104 imposes the A4 page size document in duplicate, and the bookbinding application 104 is an A5 page size document. In this case, the logical page may be enlarged from A5 to A4, and the A3 sheet may be subjected to double imposition.

製本アプリケーション104は、ページデータをレイアウトするための用紙を設定するために、指定された用紙サイズの情報、または、属性情報として設定されているページサイズの情報のうち、いずれかの情報を選択的に使用して、用紙を設定することができる。   The bookbinding application 104 selectively selects one of the specified paper size information and the page size information set as attribute information in order to set a paper for laying out the page data. Can be used to set the paper.

<用紙サイズによる自動N連切り替え>
続いて、用紙混載原稿における多連印刷の別実施形態である原稿用紙サイズによる自動N連切り替え処理について、図31、32を参照しつつ説明する。
<Automatic N-series switching according to paper size>
Next, an automatic N-series switching process based on the document sheet size, which is another embodiment of the multiple-printing for a mixed-sheet original, will be described with reference to FIGS.

図31は、用紙サイズによる自動N連切り替え処理を適用する用紙混載原稿を例示する図であり、A3サイズ((2)ページ)とA4サイズ((1)、(3)、(4)、(5)ページ)の原稿から構成されている。   FIG. 31 is a diagram exemplifying a paper mixed original to which automatic N-series switching processing according to paper size is applied. A3 size ((2) pages) and A4 size ((1), (3), (4), ( 5) Page).

図26におけるインタフェース画面において、「2連印刷(A4×A3用紙混載)」を選択した場合(2601)、製本アプリケーション104は、各ページの属性情報に基づいて、図31の原稿を図32に示すように面つけをし、自動N連切り替えを実行する。ここで、製本アプリケーション104は、文書に含まれる最大の用紙サイズ(図31の場合はA3)に基づいて、このサイズより小さいページサイズのページデータには複数ページ分をレイアウトするN連とし、A3のページサイズ(最大の用紙サイズ)に該当するページデータは該当ページ分のみをA3の用紙にレイアウトする(1連)。   When “double printing (A4 × A3 paper mixed loading)” is selected on the interface screen in FIG. 26 (2601), the bookbinding application 104 shows the document in FIG. 31 based on the attribute information of each page in FIG. Imposition is performed as described above, and automatic N-unit switching is executed. Here, based on the maximum paper size included in the document (A3 in the case of FIG. 31), the bookbinding application 104 sets N pages for laying out a plurality of pages for page data having a page size smaller than this size, and A3 For the page data corresponding to the page size (maximum paper size), only the corresponding page is laid out on the A3 paper (one series).

図32に示すように、製本アプリケーション104は、A4サイズの原稿(1)、(3)、(4)、(5)ページを、通常の2連印刷と同じように、A3サイズの用紙左右2面に面付けする一方で、A3サイズの原稿(2)ページ目はA3サイズに1連(多連なし)で面つけをする。このように各原稿の用紙サイズによって、製本アプリケーション104は、1連・・・N連などの面付け制御を自動で切り替え、すべての用紙がA3にあわせて印刷できるように面つけを行う。   As shown in FIG. 32, the bookbinding application 104 prints A4 size originals (1), (3), (4), and (5) pages on the left and right sides of A3 size paper in the same way as in normal duplex printing. On the other hand, the A3 size original (2) page is imposed on the A3 size with one series (no multiples). As described above, the bookbinding application 104 automatically switches the imposition control such as 1-st... N-th according to the paper size of each document, and performs imposition so that all sheets can be printed in accordance with A3.

また、図26のインタフェース画面において「2連印刷(A5×A4用紙混載)」、「2連印刷(B5×B4用紙混載)」が選択された場合にも同様に、製本アプリケーション104は、選択された原稿用紙サイズによって面付け方法を切り替え、すべて同一サイズの用紙で出力できるように面つけ制御を行うことができる。   Similarly, when “double printing (A5 × A4 paper mixed loading)” or “double printing (B5 × B4 paper mixed loading)” is selected on the interface screen of FIG. 26, the bookbinding application 104 is selected. The imposition method can be switched depending on the size of the original paper, and imposition control can be performed so that all can be output on the same size paper.

次に、図33のフローチャートを参照して、用紙サイズによる自動N連切り替え処理の具体的な処理の流れを説明する。ここで図33は、図24のステップS2404の具体的な処理の例に相当し、製本アプリケーション104が自動N連切り替え処理における面つけ制御を実行し、プリンタドライバ106が、その面つけ制御の結果に従ってプリンタ107を制御する。   Next, with reference to the flowchart of FIG. 33, the specific process flow of the automatic N-unit switching process according to the paper size will be described. FIG. 33 corresponds to an example of a specific process in step S2404 of FIG. 24. The bookbinding application 104 executes imposition control in the automatic N-unit switching process, and the printer driver 106 determines the result of the imposition control. The printer 107 is controlled accordingly.

まず、ステップS3301で、製本アプリケーション104は、ページカウントKの初期値を0にセットする。そして、ステップS3302で、文書設定情報403より、多連印刷に関する設定情報(属性情報)を取得する。そして、ステップS3303に処理を進め、図26のインタフェース画面2601において、製本アプリケーション104は「2連印刷(A4/A3用紙混載)」が設定されていると判断した場合(S3303−YES)、処理をステップS3304に進め、A4/A3用紙混載用の多連印刷処理を開始する。   First, in step S3301, the bookbinding application 104 sets the initial value of the page count K to zero. In step S3302, setting information (attribute information) regarding multiple printing is acquired from the document setting information 403. Then, the process proceeds to step S3303. When the bookbinding application 104 determines that “double printing (A4 / A3 sheet mixed loading)” is set on the interface screen 2601 in FIG. 26 (YES in S3303), the process is performed. Proceeding to step S3304, the A4 / A3 sheet mixed multiple printing process is started.

まず、ステップS3304で、製本アプリケーションはページカウントKを1つ進め(K++)、ステップS3305で、Kページ目の読込みを行う。続く、ステップS3306において、製本アプリケーション104は出力用紙サイズをA3に設定し、ステップS3307においてKページ目の用紙サイズの判定を行う。   First, in step S3304, the bookbinding application increments the page count K by 1 (K ++), and in step S3305, reads the Kth page. In step S3306, the bookbinding application 104 sets the output paper size to A3. In step S3307, the bookbinding application 104 determines the paper size of the Kth page.

ステップS3308の判定処理において、製本アプリケーション104は、用紙サイズをA4と判断した場合(S3308-YES)、A3の用紙に対してA4のページを左右に2連で面付けする(S3309)。一方、ステップS3308において、製本アプリケーション104がページのサイズをA4以外(ここではA3となる)と判断した場合(S3308−No)、処理をステップS3313に進め、1連(多連なし)で面付けを行う。そして、処理をステップS3311に進み、プリンタドライバ106は、製本アプリケーション104により面付けが終わったKページ目の印刷処理をプリンタ107を制御して実行する。   In the determination process of step S3308, when the bookbinding application 104 determines that the paper size is A4 (S3308-YES), the A4 page is imposed on the A3 paper in two pairs on the left and right (S3309). On the other hand, if the bookbinding application 104 determines that the page size is other than A4 (in this case, A3) in step S3308 (S3308-No), the process proceeds to step S3313, and imposition is performed in one series (no multiples). I do. Then, the process advances to step S3311, and the printer driver 106 controls the printer 107 to execute print processing for the Kth page for which imposition has been completed by the bookbinding application 104.

ステップS3312において、製本アプリケーション104は、現在のページ(K)が最終ページであるかどうかを判定し、最終ページでない場合には(S3312-NO)、ステップS3304に処理を戻し、K+1ページ目の面付け処理に移行し、同様の処理を最終ページの面つけ終了まで繰り返す。   In step S3312, the bookbinding application 104 determines whether or not the current page (K) is the last page. If the current page (K) is not the last page (S3312—NO), the process returns to step S3304, and the surface of the (K + 1) th page The process proceeds to the imposition process, and the same process is repeated until the last page is impositioned.

一方、ステップS3303において、「2連印刷(A4/A3用紙混載)」が選択されていない場合(S3303-NO)、製本アプリケーション104は、ステップS3314に処理を進め、「2連印刷(A5/A4用紙混載)」が選択されているか否かを判断する。   On the other hand, if “double printing (A4 / A3 mixed paper loading)” is not selected in step S3303 (S3303-NO), the bookbinding application 104 advances the process to step S3314 to display “double printing (A5 / A4). It is determined whether or not “mixed paper)” is selected.

ステップS3314において、製本アプリケーション104は「2連印刷(A5/A4用紙混載)」が選択されていると判断した場合(S3314-YES)、処理をステップS3315に進め、ページカウントをKを1つカウントアップする(K++)。   In step S3314, if the bookbinding application 104 determines that “double printing (A5 / A4 mixed paper loading)” is selected (S3314—YES), the process proceeds to step S3315, and the page count is counted as one K. Up (K ++).

ステップS3316で、製本アプリケーション104は、Kページ目に関するデータを読み込み、ステップS3317で、出力用紙サイズをA4に設定する。   In step S3316, the bookbinding application 104 reads data relating to the Kth page, and in step S3317, sets the output paper size to A4.

ステップS3318において、製本アプリケーション104は、Kページ目の用紙サイズの判定を行う。ステップS3319において、製本アプリケーション104がKページ目をA5サイズと判断した場合(S3319-YES)、処理をステップS3320に進めて、製本アプリケーション104は、A4サイズの用紙にA5のページを左右に2連で面付けする。一方、ステップS3319において、製本アプリケーション104がA5以外(ここではA4となる)だと判断した場合(S3319-NO)、処理をステップS3321に進めて、1連(多連なし)の面付けを行う。   In step S3318, the bookbinding application 104 determines the paper size of the Kth page. If the bookbinding application 104 determines that the Kth page is A5 size in step S3319 (S3319-YES), the bookbinding application 104 advances the process to step S3320, and the bookbinding application 104 doubles the A5 page left and right on the A4 size paper. Imposition with. On the other hand, if it is determined in step S3319 that the bookbinding application 104 is other than A5 (in this case, A4) (NO in S3319), the process proceeds to step S3321, and imposition of one series (no multiples) is performed. .

そして、処理をステップS3311に進み、プリンタドライバ106は、製本アプリケーション104により面付けが終わったKページ目の印刷処理をプリンタ107に実行させる。   Then, the process advances to step S3311, and the printer driver 106 causes the printer 107 to execute print processing for the Kth page for which imposition has been completed by the bookbinding application 104.

ステップS3314の判断で、製本アプリケーション104が、「2連印刷(A5/A4用紙混載)」が選択されていないと判断する場合は(S3314-NO)、処理をステップS3322に進める。ステップS3322において、「2連印刷(B5/B4用紙混載)」が選択されている場合(S3322-YES)、製本アプリケーション104は、処理をステップS3323に進め、ページカウントKを1つカウントアップする(K++)。   If it is determined in step S3314 that the “bind printing (A5 / A4 paper mixed)” is not selected (S3314-NO), the bookbinding application 104 advances the process to step S3322. If “double printing (B5 / B4 mixed paper loading)” is selected in step S3322 (S3322—YES), the bookbinding application 104 proceeds to step S3323 and increments the page count K by one ( K ++).

ステップS3324で、製本アプリケーション104は、Kページ目に関するデータを読み込み、ステップS3325で、出力用紙サイズをB4に設定する。   In step S3324, the bookbinding application 104 reads data relating to the Kth page, and in step S3325, sets the output paper size to B4.

ステップS3327において、製本アプリケーション104は、Kページ目の用紙サイズの判定を行う。ステップS3328において、製本アプリケーション104がKページ目をB5サイズと判断した場合(S3328-YES)、処理をステップS3329に進めて、製本アプリケーション104は、B4サイズの用紙にB5のページを左右に2連で面付けする。一方、ステップS3328において、製本アプリケーション104がB5以外(ここではB4となる)だと判断した場合(S3328-NO)、処理をステップS3330に進めて、1連(多連なし)の面付けを行う。   In step S3327, the bookbinding application 104 determines the paper size of the Kth page. In step S3328, if the bookbinding application 104 determines that the Kth page is the B5 size (S3328-YES), the bookbinding application 104 advances the process to step S3329, and the bookbinding application 104 doubles the B5 page on the B4 size paper left and right. Imposition with. On the other hand, if it is determined in step S3328 that the bookbinding application 104 is other than B5 (in this case, B4) (NO in S3328), the process proceeds to step S3330 to perform imposition of one series (no multiples). .

そして、処理をステップS3311に進み、プリンタドライバ106は、製本アプリケーション104により面付けが終わったKページ目の印刷処理をプリンタ107に実行させる。   Then, the process advances to step S3311, and the printer driver 106 causes the printer 107 to execute print processing for the Kth page for which imposition has been completed by the bookbinding application 104.

以上のように、図33のフローチャートに従った多連印刷において、自動N連印刷の設定が行われている場合には、入力原稿用紙サイズにかかわらず、同一の用紙サイズに自動で切り替えて印刷することが可能になる。これにより、ユーザは用紙サイズにあわせて各ページを個別に面付け指定する必要がなく、容易な設定で同一の用紙サイズにすべてのページをあわせて印刷することが可能となる。   As described above, in the multiple printing according to the flowchart of FIG. 33, when automatic N-continuous printing is set, printing is performed by automatically switching to the same paper size regardless of the input document paper size. It becomes possible to do. This eliminates the need for the user to individually impose each page according to the paper size, and allows all pages to be printed on the same paper size with easy settings.

<片面/両面切り替え印刷設定時における多連印刷>
次に、「片面/両面切り替え印刷」が設定されている場合における本発明の実施形態にかかる多連印刷ついて説明する。ここで、「片面/両面切り替え印刷」は、製本アプリケーション104が提供している機能であり、原稿が片面であるか、両面であるかに応じて自動で印刷方法を片面/両面に切り替えるという機能である。
<Multiple printing when single-sided / double-sided switching printing is set>
Next, multiple printing according to an embodiment of the present invention when “single-sided / double-sided switching printing” is set will be described. Here, “single-sided / double-sided switching printing” is a function provided by the bookbinding application 104, and a function of automatically switching the printing method to single-sided / double-sided according to whether the original is single-sided or double-sided. It is.

図34は、片面/両面切り替え印刷を適用する元原稿を例示する図であり、全てがA4サイズの原稿である。A4サイズの両面原稿と片面原稿が混載している原稿に対し、「片面/両面切り替え印刷」が設定されて、これらの原稿に2連印刷を実行すると、図35のような出力結果になる。図35に示すように、元の原稿で片面のページ(C、Fが対応する)部分は、裏面に相当する部分を空白とすることで、印刷後の裁断後も正しい出力結果を得ることができる。   FIG. 34 is a diagram illustrating an original document to which single-sided / double-sided switching printing is applied, and all are A4 size originals. When “single-sided / double-sided switching printing” is set for a document in which an A4 size double-sided document and a single-sided document are mixed, an output result as shown in FIG. 35 is obtained. As shown in FIG. 35, in the original document, the page corresponding to one side (C and F corresponds) can obtain a correct output result even after cutting after printing by leaving the portion corresponding to the back side blank. it can.

次に、「片面/両面切り替え印刷」が設定されている場合に多連印刷を実行する処理の流れを図36のフローチャートを参照しつつ説明する。   Next, the flow of processing for executing multiple printing when “single-sided / double-sided switching printing” is set will be described with reference to the flowchart of FIG.

まず、ステップS3601で、製本アプリケーション104は、論理ページカウンタKと、用紙カウンタPに初期値0をセットする。続くステップS3602で、製本アプリケーション104は、両ページカウンタを1つカウントアップし(K++、P++)、次のステップS3603で、製本アプリケーション104は、Kページ目に関して設定されている属性情報を読み込む。   First, in step S3601, the bookbinding application 104 sets initial values 0 to the logical page counter K and the paper counter P. In subsequent step S3602, the bookbinding application 104 increments both page counters by one (K ++, P ++), and in the next step S3603, the bookbinding application 104 reads the attribute information set for the Kth page.

ステップS3604で、製本アプリケーション104は、Kページ目が両面原稿かどうかを判定する。ステップS3604の判定において、Kページ目が両面原稿の場合(S3604-YES)、処理をステップS3605に進め、用紙サイズをA3(原稿のページサイズは全てA4(図34)なので、多連印刷において用紙サイズはA3になる。)に設定する。   In step S3604, the bookbinding application 104 determines whether the Kth page is a double-sided document. If it is determined in step S3604 that the K-th page is a double-sided document (S3604—YES), the process proceeds to step S3605, and the sheet size is A3 (all the document page sizes are A4 (FIG. 34)). The size is set to A3).

ステップS3606で、製本アプリケーション104は、Kページ目(元原稿の表ページ:両面原稿の第1ページ)を用紙カウンタP枚目の表面左右に2連で面付けする。そして、処理をステップS3607に進め、製本アプリケーション104は、K+1ページ目(元原稿の裏ページ:両面原稿の第2ページ)を用紙カウンタP枚目の裏面左右に2連で面付けを行う。以上のステップにより用紙カウンタPにおける面つけが完了する。   In step S3606, the bookbinding application 104 imposes the Kth page (the front page of the original document: the first page of the double-sided document) on the left and right surfaces of the Pth sheet counter in duplicate. Then, the process proceeds to step S3607, and the bookbinding application 104 performs the imposition of the K + 1th page (the back page of the original document: the second page of the double-sided document) on the left and right sides of the back side of the sheet counter P in duplicate. The imposition in the paper counter P is completed by the above steps.

ステップS3610で、製本アプリケーション104により面つけされた用紙カウンタP枚目の印刷を、プリンタドライバ106が実行する。   In step S <b> 3610, the printer driver 106 executes the printing of the sheet counter P sheet imposed by the bookbinding application 104.

一方、ステップS3604で、製本アプリケーション104はKページ目が片面原稿だと判定した場合(S3604-NO)、処理をステップS3608に進め、用紙サイズをA3に設定し、ステップS3609において論理ページカウンタKページ目(元原稿の表ページ)を用紙カウンタP枚目の表面左右に2連で面付けをする(裏面は何ら面つけを行わずに空白とする。)。   On the other hand, if the bookbinding application 104 determines in step S3604 that the Kth page is a single-sided original (S3604—NO), the process proceeds to step S3608, the paper size is set to A3, and the logical page counter K page in step S3609. Imposing the eyes (the front page of the original document) on the left and right surfaces of the sheet counter P in duplicate (the back surface is left blank without any imposition).

ステップS3609の後、処理をステップS3610に進め、製本アプリケーション104により面つけされた用紙カウンタP枚目の印刷を、プリンタドライバ106が実行する。以上の処理を全ページに対して終了するまで繰り返し行い、片面/両面切り替え印刷における多連印刷処理を終了する。   After step S3609, the process proceeds to step S3610, and the printer driver 106 executes the printing of the sheet counter P sheet imposed by the bookbinding application 104. The above process is repeated until all pages are completed, and the multiple printing process in single-sided / double-sided switching printing is completed.

図36のフローチャートに従うことで、製本アプリケーション104は、片面または両面原稿の設定がされている各ページに対して、表面、裏面の関係を維持しつつ、多連印刷を適用することが可能になる。これにより、印刷後における用紙の表面、裏面のページの関係がずれることなく、正しいページの面つけを行い、その出力結果を得ることができるようになる。   By following the flowchart of FIG. 36, the bookbinding application 104 can apply multiple printing to each page for which single-sided or double-sided originals are set while maintaining the relationship between the front and back sides. . As a result, correct page imposition can be performed and the output result can be obtained without shifting the relationship between the front and back pages of the printed paper.

<片面/両面切り替え印刷適用時における前半後半印刷>
続いて、「片面/両面切り替え印刷」が設定されているときに、前半後半印刷を適用する場合について説明する。
<First half printing when single-sided / double-sided switching printing is applied>
Next, a case will be described in which the first half printing is applied when “single side / double side switching printing” is set.

ここで、「前半後半印刷」とは、印刷後、出力用紙の裁断を前提とし、一枚の用紙上の印刷可能な領域に、異なるページの文書データを配置して文書を一枚の用紙上の異なる印刷領域に並べて印刷する印刷をする印刷方式をいう。   Here, “first half second half printing” is based on the premise that the output paper is cut after printing. Document data on different pages is placed in a printable area on one sheet of paper, and the document is printed on one sheet of paper. A printing method in which printing is performed by arranging in different print areas.

図37は片面の2連印刷で出力用紙の向きが横方法の場合における前半後半印刷実行時の各ページの面つけレイアウトを説明する図である。出力用紙の印刷領域は、左側(半分)と右側(半分)であり、製本アプリケーション104は1枚目の用紙の左側にドキュメントの最初のページに対応する1物理ページ目を面つけする。そして、この1物理ページに続く2物理ページ目は、用紙の2枚目の左側に面つけされる。全ページ数をNとした場合、製本アプリケーション104は(N/2)物理ページ目までを用紙の左側に面つけする。ここで、(N/2)物理ページが面つけされる出力用紙が最終用紙になる。文書(あるいは章)の総ページ数がNの場合、文書の前半に相当するページは第1ページからN/2ページになる。製本アプリケーション104は、文書(あるいは章)の総ページ数を、例えば、文書設定情報403(あるいは章設定情報407)を参照することにより取得することができる。   FIG. 37 is a diagram for explaining the imposition layout of each page when the first half printing is performed in the case where the orientation of the output paper is the horizontal method in single-sided continuous printing. The print area of the output sheet is the left side (half) and the right side (half), and the bookbinding application 104 imposes the first physical page corresponding to the first page of the document on the left side of the first sheet. The second physical page following the first physical page is imposed on the left side of the second sheet of paper. When the total number of pages is N, the bookbinding application 104 imposes up to (N / 2) physical pages on the left side of the sheet. Here, the output paper on which the (N / 2) physical page is imposed becomes the final paper. When the total number of pages of a document (or chapter) is N, pages corresponding to the first half of the document are changed from the first page to N / 2 pages. The bookbinding application 104 can acquire the total number of pages of the document (or chapter) by referring to the document setting information 403 (or chapter setting information 407), for example.

一方、文書の後半に相当するページは(N/2+1)から最終ページとなる。製本アプリケーション104は、出力用紙の1枚目の右側に、(N/2+1)物理ページ目を面つけし、以降、j枚目の用紙の右側に、(N/2+1)+j物理ページを面つけする。Nが偶数の場合は、最終の用紙の右側にはN物理ページ目が面つけされ、Nが奇数の場合は、最終用紙の右側は空白として残ることになる。   On the other hand, the page corresponding to the second half of the document becomes the last page from (N / 2 + 1). The bookbinding application 104 imposes the (N / 2 + 1) physical page on the right side of the first sheet of output paper, and imposes the (N / 2 + 1) + j physical page on the right side of the jth sheet. To do. When N is an even number, the Nth physical page is imposed on the right side of the last sheet, and when N is an odd number, the right side of the last sheet is left blank.

裁断後に印刷されたドキュメント全体における前半部分(用紙の左側に面つけされている部分)、ドキュメント全体における後半部分(用紙の右側に面つけされている部分)のページを重ねることで、所定のページ数(全Nページ)を、全ページ数(N)の半分の出力用紙数(N/2枚)で印刷することができる。   By overlapping the first half of the entire document printed after cutting (the part facing the left side of the paper) and the second half of the whole document (the part facing the right side of the paper) The number (N pages in total) can be printed with the number of output sheets (N / 2 sheets) that is half of the number of all pages (N).

尚、ページの面つけを行う用紙の右側、左側の関係は、説明の便宜上のものであり、本発明の趣旨が、用紙に面つけされる左右の関係に限定されるものではない。   The relationship between the right side and the left side of the sheet on which the page is imposed is for convenience of explanation, and the gist of the present invention is not limited to the left and right relationship imposed on the sheet.

例えば、片面の2連印刷で出力用紙の向きが縦方法の場合における前半後半印刷実行時の各ページの面つけは、製本アプリケーション104の制御の下、用紙の上側及び下側に該当する物理ページがレイアウトされることになる。   For example, the imposition of each page when executing printing in the first half of the first half in the case of single-sided duplex printing with the portrait orientation of the output paper is the physical page corresponding to the upper and lower sides of the paper under the control of the bookbinding application 104. Will be laid out.

図38は、両面の2連印刷で出力用紙の向きが横方法の場合における前半後半印刷実行時の各ページの面つけレイアウトを説明する図である。製本アプリケーション104は、図26の場合と同様に、出力用紙の印刷領域として、左側(半分)と右側(半分)を想定した場合、1枚目の用紙の左側表面にドキュメントの最初のページに対応する1物理ページ目を面つけする。そして、製本アプリケーション104は、この1物理ページに続く2物理ページ目を1枚目の用紙の左側裏面に面つけする。製本アプリケーション104は、連続する物理ページを各用紙の表面、裏面に面つけし、全ページ数をNとした場合、(N/2)物理ページ目までを用紙の左側裏面に面つけする。ここで、(N/2)物理ページが面つけされる出力用紙が最終用紙になる。   FIG. 38 is a diagram for explaining the imposition layout of each page when the first half printing is performed in the case where the orientation of the output paper is the horizontal method in duplex printing on both sides. As in the case of FIG. 26, the bookbinding application 104 corresponds to the first page of the document on the left side of the first sheet, assuming the left (half) and right (half) as the print area of the output sheet. Impose the first physical page. Then, the bookbinding application 104 imposes the second physical page following the first physical page on the left back side of the first sheet. The bookbinding application 104 imposes continuous physical pages on the front and back sides of each sheet, and when the total number of pages is N, imposes up to (N / 2) physical pages on the left side rear face of the sheet. Here, the output paper on which the (N / 2) physical page is imposed becomes the final paper.

一方、製本アプリケーション104は、出力用紙の1枚目の右側表面に、(N/2+1)物理ページ目を面つけし、以降最終用紙まで、各用紙の表面、裏面に物理ページを面つけする。Nが偶数の場合は、最終の用紙の右側裏面にはN物理ページ目が面つけされ、Nが奇数の場合は、最終用紙の右側裏面は空白として残ることになる。   On the other hand, the bookbinding application 104 imposes the (N / 2 + 1) physical page on the right front surface of the first sheet of output paper, and imposes physical pages on the front and back surfaces of each paper up to the final paper. When N is an even number, the Nth physical page is imposed on the right side back surface of the final sheet, and when N is an odd number, the right side back surface of the final sheet is left blank.

図39(a)は、図37で説明した製本アプリケーション104による片面の2連印刷で出力用紙の向きが横方向の場合における前半後半印刷実行時における面つけを実行した場合の出力結果を示す図である。   FIG. 39A is a diagram illustrating an output result when imposition is performed at the time of executing the first half and second half printing in the case where the orientation of the output paper is horizontal in the single-sided duplex printing by the bookbinding application 104 described in FIG. It is.

印刷後に出力用紙の中央部(矢印で示すX-X部分)で裁断し、左半分(ドキュメントの前半分の印刷結果)を右半分(ドキュメントの後半部分)に重ねることによって、ページAからページFまでの連続ページ(6ページ)を半分の用紙枚数(3枚)で、原稿の順番どおりに再現することができる。   After printing, the paper is cut at the center of the output paper (XX portion indicated by the arrow), and the left half (printing result of the front half of the document) is overlaid on the right half (second half of the document). The continuous pages up to (6 pages) can be reproduced in half the number of sheets (3 sheets) in the order of the originals.

同様に、図39(b)は、製本アプリケーション104による片面の2連印刷で出力用紙の向きが縦方向の場合における前半後半印刷における面つけを実行した場合の出力結果を示す図である。印刷後に出力用紙の中央部(矢印で示すY-Y部分)で裁断し、上半分(ドキュメントの前半分の印刷結果)を下半分(ドキュメントの後半部分)に重ねることによって、ページAからページFまでの連続ページ(6ページ)を半分の用紙枚数(3枚)で、原稿の順番どおりに再現することができる。   Similarly, FIG. 39B is a diagram illustrating an output result when imposition is performed in the first half and second half printing in the case where the orientation of the output paper is vertical in single-sided duplex printing by the bookbinding application 104. After printing, the paper is cut at the center of the output paper (YY indicated by arrows), and the upper half (printing result of the front half of the document) is overlapped with the lower half (second half of the document), so that pages A to F The continuous pages up to (6 pages) can be reproduced in half the number of sheets (3 sheets) in the order of the originals.

図34に示すような元原稿に当たる電子原稿に対して、製本アプリケーション104は、前半後半印刷を行う場合には、図40の4001に示すように面つけする。この面つけのレイアウトに対して更に、「片面/両面切り替え印刷」の設定がなされた場合、製本アプリケーション104は、図40の4002に示すように面つけを行う。文書全体を構成するページ(1)、(2)のうち、(2)ページ目の裏面は空白となっている(何も面つけされていない)。この場合、製本アプリケーション104は、文書全体が両面の設定とされている場合であっても、印刷の実行において(2)ページ目の設定を両面印刷の設定から片面印刷の設定に切り替えることができる。この場合、製本アプリケーション104は、文書全体が両面の設定とされている場合であっても、片面のみしか面つけされていないページに関しては、両面印刷を行わずに片面印刷を実行するようにプリンタドライバ106に指示することができる。   When an electronic original corresponding to the original as shown in FIG. 34 is printed, the bookbinding application 104 performs imposition as shown by 4001 in FIG. When “single-sided / double-sided switching printing” is further set for the layout of imposition, the bookbinding application 104 performs imposition as indicated by 4002 in FIG. Of the pages (1) and (2) constituting the entire document, the back side of the (2) page is blank (nothing is imposed). In this case, the bookbinding application 104 can switch the (2) page setting from the double-sided printing setting to the single-sided printing setting when executing printing even when the entire document is set to double-sided printing. . In this case, the bookbinding application 104 does not perform double-sided printing, but performs single-sided printing on pages that have only one side imposition, even when the entire document is set to double-sided. The driver 106 can be instructed.

「片面/両面切り替え印刷」が設定されている文書に対して前半後半印刷を行う場合には、文書の総ページ数を把握する必要がある。片面から両面の設定をする場合、元原稿が片面のものは裏側にあたる部分にさらに空白ページを挿入するので、印刷時の論理ページ数は、実際のページ数の2倍になる。そのため、図37、38のように面付け位置を計算するためには、あらかじめ、前半後半印刷を適用した場合の総論理ページ数Nを求めておく必要がある。そこで、この総論理ページ数Nを求める処理の流れを図41のフローチャートを参照しつつ説明する。   When printing in the first half and the latter half of a document for which “single side / double side switching printing” is set, it is necessary to grasp the total number of pages of the document. In the case of setting from one side to both sides, since the blank page is further inserted in the portion corresponding to the back side when the original document is one side, the number of logical pages at the time of printing becomes twice the actual number of pages. Therefore, in order to calculate the imposition position as shown in FIGS. 37 and 38, it is necessary to obtain in advance the total number of logical pages N when the first half printing is applied. Therefore, the flow of processing for obtaining the total logical page number N will be described with reference to the flowchart of FIG.

まず、ステップS4101で、製本アプリケーション104は、論理ページカウントNと、章カウントKの初期値を0にセットする。次に、ステップS4102において、章カウンタKを1つ進め(K++)、ステップS4103において、製本アプリケーション104は、K章の印刷設定(ここでは両面/片面設定と章に含まれるページ数)を取得する。そして、次のS4104で、製本アプリケーション104は、K章の印刷設定が片面であると判断した場合(S4104-YES)、処理をステップS4105に進め、論理ページカウントNにK章の全ページ数の2倍を加算する(片面ページの場合、空白ページが挿入されるので、実際に印刷すると2倍のページ数になる)。   First, in step S4101, the bookbinding application 104 sets the initial values of the logical page count N and chapter count K to zero. Next, in step S4102, the chapter counter K is incremented by 1 (K ++), and in step S4103, the bookbinding application 104 acquires print settings for chapter K (here, duplex / single-sided settings and the number of pages included in the chapter). . If the bookbinding application 104 determines in step S4104 that the print setting for chapter K is single-sided (YES in step S4104), the process proceeds to step S4105, and the logical page count N is set to the total number of pages in chapter K. 2 times is added (in the case of single-sided pages, blank pages are inserted, so when actually printing, the number of pages is doubled).

一方、ステップS4104の判断において、製本アプリケーション104がK章は両面の設定であると判断した場合(S4104−NO)、処理をステップS4106に進め、論理ページカウントNに、K章の総ページ数を加算する。そして、ステップS4107では、章カウントKが最終章であるかどうかを判定し、最終章でない場合は(S4107−NO)、処理をステップS4102に戻し、同様の処理を全章が終わるまで繰り返す。ここで求めた総ページ数の情報Nは、製本アプリケーション104が面つけ処理を実行する際に参照可能な属性情報として文書設定情報403等に設定される。   On the other hand, if it is determined in step S4104 that the bookbinding application 104 determines that the K chapter is a double-sided setting (S4104-NO), the process proceeds to step S4106, and the logical page count N is set to the total number of pages in the K chapter. to add. In step S4107, it is determined whether or not the chapter count K is the last chapter. If the chapter count K is not the last chapter (NO in step S4107), the process returns to step S4102, and the same process is repeated until all chapters are completed. The total page number information N obtained here is set in the document setting information 403 as attribute information that can be referred to when the bookbinding application 104 executes the imposition process.

次に、図41のフローチャートで求めた総論理ページ数Nを用いて、実際に面付け位置を決め、印刷する処理の流れを図42のフローチャートを参照しつつ説明する。   Next, the flow of the process of actually determining the imposition position and printing using the total logical page number N obtained in the flowchart of FIG. 41 will be described with reference to the flowchart of FIG.

まず、ステップS4201で、製本アプリケーション104は、空白カウントE、章カウントK、論理ページカウントR、物理ページカウントQ、用紙カウントPに初期値0をセットする。   First, in step S4201, the bookbinding application 104 sets initial values 0 to the blank count E, chapter count K, logical page count R, physical page count Q, and paper count P.

そして、ステップS4202で、物理ページカウントQページ目の読込みを開始する。次のステップS4203で、製本アプリケーション104は、章カウントKにQページが含まれる章の番号をセットし、K章目の詳細設定情報(章の属性情報)を取得する(S4204)。そして、ステップS4205において、製本アプリケーション104は、取得した詳細設定情報に基づいて、その章が両面設定かどうかを判定する。両面設定の場合には(S4205−YES)、処理をステップS4206に進め、製本アプリケーション104は物理ページカウントQ番目のページを用紙カウントP枚目の表面左側半分に面付けする。そして、ステップS4207において、最終ページでないと判断した場合(S4207−NO)、処理を次のステップS4208に進め、次のページ(Q+1ページ目)を用紙カウントP枚目の裏面左側に面付けする。そして、再び、最終ページであるかどうか判定し(S4209)、最終ページでない場合には(S4209-NO)、処理をステップS4210に進め、論理ページカウントRを2つカウントアップして用紙カウントP枚目の右側の面付け処理に移行する。   In step S4202, reading of the physical page count Q page is started. In the next step S4203, the bookbinding application 104 sets the chapter number including the Q page in the chapter count K, and acquires detailed setting information (chapter attribute information) of the Kth chapter (S4204). In step S4205, the bookbinding application 104 determines whether the chapter is a double-sided setting based on the acquired detailed setting information. In the case of duplex setting (S4205-YES), the process proceeds to step S4206, and the bookbinding application 104 imposes the physical page count Qth page on the front left half of the Pth sheet count. If it is determined in step S4207 that the page is not the last page (S4207—NO), the process proceeds to the next step S4208, and the next page (Q + 1 page) is imposed on the left side of the back side of the sheet count P sheets. To do. Then, it is determined again whether it is the last page (S4209). If it is not the last page (S4209-NO), the process proceeds to step S4210, the logical page count R is incremented by 2 and the paper count is P sheets. Shift to the imposition process on the right side of the eye.

一方、ステップS4205の判定において、製本アプリケーション104が、章の設定が片面であると判定した場合(S4205-NO)、処理をステップS4222に進め、製本アプリケーション104は、物理ページカウントQページ目を用紙カウントP枚目の表面左側に面付けする。   On the other hand, if the bookbinding application 104 determines in step S4205 that the chapter setting is single-sided (NO in step S4205), the bookbinding application 104 advances the process to step S4222, and the bookbinding application 104 prints the physical page count Qth page. Imposition on the left side of the surface of the count Pth sheet.

ステップS4223において、物理ページカウントQページが最終ページか否かを判定し、最終ページでないと判定した場合、処理をステップS4224に進める。ステップS4224において、製本アプリケーション104は、用紙カウントP枚目の左側半分に空白を挿入し、ステップS4225において、空白ページカウントE、物理ページカウントQを1つカウントアップし、更に、論理ページカウントRを2つ分カウントアップする。そして、続くステップS4226において、物理ページカウントQ+1(ステップS4224で挿入した空白ページが対応する)が最終ページでない場合には(S4226-NO
)、処理をステップS4211に進めて、用紙カウントP枚目右側の面付け処理に移行する。ここで、製本アプリケーション104は、図38で説明した前半後半印刷における面付けを行う。
In step S4223, it is determined whether the physical page count Q page is the last page. If it is determined that the page is not the last page, the process proceeds to step S4224. In step S4224, the bookbinding application 104 inserts a blank in the left half of the Pth sheet count, and in step S4225, the blank page count E and the physical page count Q are incremented by one, and further the logical page count R is set. Count up by two. In subsequent step S4226, when the physical page count Q + 1 (corresponding to the blank page inserted in step S4224) is not the last page (S4226-NO).
), The process proceeds to step S4211, and the process proceeds to the imposition process on the right side of the Pth sheet count. Here, the bookbinding application 104 performs imposition in the first half and second half printing described with reference to FIG.

ステップS4211において、製本アプリケーション104は、(N/2+Qページ)目を読み込み、ステップS4212において、章カウントKに(N/2+Q)ページ目が含まれる章の番号をセットし、K章目の詳細設定情報(章の属性情報)を取得する(S4213)。そして、ステップS4214において、製本アプリケーション104は、取得した詳細設定情報に基づいて、その章が両面設定かどうか判定する。両面設定の場合には(S4214−YES)、処理をステップS4215に進め、製本アプリケーション104は物理ページカウント(N/2+Qページ)番目のページを用紙カウントP枚目の表面右側半分に面付けする。そして、ステップS4216において、製本アプリケーション104がこのページを最終ページでないと判断した場合(S4216−NO)、処理を次のステップS4217に進め、次のページ(N/2+Q+1ページ)を用紙カウントP枚目の裏面右半分に面付けする。   In step S4211, the bookbinding application 104 reads the (N / 2 + Q page), and in step S4212, sets the chapter number including the (N / 2 + Q) page in the chapter count K, and sets the Kth chapter in detail. Information (chapter attribute information) is acquired (S4213). In step S4214, the bookbinding application 104 determines whether the chapter is a double-sided setting based on the acquired detailed setting information. In the case of duplex setting (S4214-YES), the process proceeds to step S4215, and the bookbinding application 104 imposes the physical page count (N / 2 + Q page) -th page on the front right half of the Pth sheet count. If the bookbinding application 104 determines in step S4216 that this page is not the last page (NO in S4216), the process proceeds to the next step S4217, and the next page (N / 2 + Q + 1 page) is printed on the Pth sheet count. Imposition on the right half of the back.

続くステップS4218において、製本アプリケーション104は、物理ページカウントを2つ分進め、ステップS4219において、用紙カウントP枚目の印刷処理を行う。プリンタドライバ106は、プリンタ107を制御して、製本アプリケーション104による面つけ結果を出力させることができる。   In step S4218, the bookbinding application 104 advances the physical page count by two. In step S4219, the bookbinding application 104 performs print processing for the Pth sheet count. The printer driver 106 can control the printer 107 to output the imposition result by the bookbinding application 104.

一方、ステップS4214における判定で、製本アプリケーション104が、章の設定を片面原稿と判定した場合(S4214-NO)、処理をステップS4227に進め、製本アプリケーション104は、物理ページカウント(N/2+Q)ページ目を用紙カウントP枚目の表面右半分に面付けする。そして、ステップS4228において、物理ページカウント(N/2+Q)ページ目が最終ページでないと、製本アプリケーション104が判定した場合(S4228-NO)、処理をステップS4229に進め、製本アプリケーション104は、用紙カウントP枚目の裏面右半分に空白を挿入する。   On the other hand, if it is determined in step S4214 that the bookbinding application 104 determines that the chapter setting is a single-sided original (S4214-NO), the process proceeds to step S4227, and the bookbinding application 104 determines the physical page count (N / 2 + Q) page. Imposing the eye on the right half of the front surface of the sheet count P. If the bookbinding application 104 determines in step S4228 that the physical page count (N / 2 + Q) page is not the last page (NO in S4228), the process proceeds to step S4229. Insert a blank in the right half of the back of the first sheet.

そして、製本アプリケーション104は、ステップS4230に処理を進め、空白カウントE、論理ページカウントR、物理ページカウントQを一つずつカウントアップする。   Then, the bookbinding application 104 advances the processing to step S4230, and increments the blank count E, the logical page count R, and the physical page count Q one by one.

ステップS4231において、製本アプリケーション104は、空白カウントの値をチェックして、E=2であるか否かを判定する。E=2の場合は(S4231-YES)、裏面の左右両方が空白であることになるので、製本アプリケーション104は、印刷設定を両面印刷から片面設定に切り替え(S4232)、処理をステップS4219に進める。一方、ステップS4231において、E=2でないと、製本アプリケーション104が判定した場合は、処理をそのままステップS4219に進め、面つけ処理が完了した用紙カウントP枚目の用紙の印刷処理に移行する。製本アプリケーション104は、同様の処理を物理ページが最終ページに至るまで続ける(S4220)。なお、各ステップ(S4207、S4209、S4216、S4223、S4228)で最終ページと、製本アプリケーション104が判断した時点で、処理をステップS4219に進め、用紙カウントP枚目の印刷処理を実行する。   In step S4231, the bookbinding application 104 checks the blank count value to determine whether E = 2. When E = 2 (S4231-YES), both the left and right sides of the back side are blank, and the bookbinding application 104 switches the print setting from double-sided printing to single-sided setting (S4232), and the process proceeds to step S4219. . On the other hand, if the bookbinding application 104 determines that E = 2 is not satisfied in step S4231, the process proceeds directly to step S4219, and the process shifts to the printing process of the Pth sheet of the sheet count for which the imposition process is completed. The bookbinding application 104 continues the same processing until the physical page reaches the final page (S4220). When the bookbinding application 104 determines the last page and the bookbinding application 104 in each step (S4207, S4209, S4216, S4223, S4228), the process proceeds to step S4219, and print processing for the Pth sheet count is executed.

以上の処理によって、両面/片面の原稿が混在した場合でも、印刷後の裁断を想定した正しい面付けを行うことが可能になる。   With the above processing, even when a double-sided / single-sided document is mixed, it is possible to perform correct imposition assuming cutting after printing.

<冗長印刷における課金防止制御>
図42のステップS4231において、製本アプリケーション104は、空白カウントの値に基づき、用紙上に面付けされる面が全て空白になるか否かを判定した。空白になる面つけは、図42における前半後半印刷の場合の他、多連印刷を実行する場合においても生じ得いる。文書に対して両面印刷の設定がなされている場合、片面が全て空白になる面つけ部分を含む文書を印刷する際には、空白部分の通紙に対して課金されることになるので、製本アプリケーション104は、このような場合、無駄な課金の発生を防止するために、両面印刷の設定を片面印刷の設定に切り替えることができる。また、文書(あるいは章)の設定が両面印刷である場合でも、該当ページ部分を片面印刷の設定(非課金設定)に切り替えることで、印刷時間の短縮化が可能となる。
<Charging prevention control in redundant printing>
In step S4231 in FIG. 42, the bookbinding application 104 determines whether or not all the surfaces to be imposed on the sheet are blank based on the blank count value. The imposition that becomes blank can occur not only in the case of the first half printing in FIG. 42 but also in the case of executing multiple printing. If double-sided printing is set for a document, when you print a document that includes an imposition part where one side is all blank, you will be charged for passing the blank part. In such a case, the application 104 can switch the duplex printing setting to the simplex printing setting in order to prevent unnecessary charging. Even when the document (or chapter) setting is duplex printing, the printing time can be shortened by switching the corresponding page portion to single-sided printing setting (non-billing setting).

図43は、非課金設定を文書の設定情報に反映するための処理の流れを説明するフローチャートである。製本アプリケーション104は、先に説明した図42のステップS4231において判定したように、片面の全てが空白ページになる場合、空白となる用紙の面に対して課金しないように印刷設定の切り替えを指示する非課金コマンドを生成する(S4301)。ここで、製本アプリケーション104が生成した非課金コマンドは、文書設定情報(例えば、図4のNo.1)の印刷方法を規定する属性情報に反映される(S4302)。そして、製本アプリケーション104は、非課金コマンドを反映した属性情報に基づいて、該当する用紙(片面が全て空白になるページを含む用紙)に対する印刷設定を片面印刷に変更する(S4303)。この場合、文書全体の設定が両面印刷であっても、その全体の設定を維持しつつ、かかる該当する用紙の印刷に関しては片面印刷の設定に変更される(S4304、図42のS4232)。ここで、片面印刷に設定された内容に基づいてプリンタドライバ106は、プリンタ107を制御することができる。   FIG. 43 is a flowchart for explaining the flow of processing for reflecting non-billing settings in document setting information. As determined in step S4231 of FIG. 42 described above, the bookbinding application 104 instructs the switching of print settings so as not to charge for the blank paper side when all of one side is a blank page. A non-billing command is generated (S4301). Here, the non-billing command generated by the bookbinding application 104 is reflected in the attribute information that defines the printing method of the document setting information (for example, No. 1 in FIG. 4) (S4302). Then, based on the attribute information reflecting the non-billing command, the bookbinding application 104 changes the print setting for the corresponding paper (paper including a page on which one side is all blank) to single-sided printing (S4303). In this case, even if the setting of the entire document is duplex printing, the setting of the corresponding sheet is changed to the setting of simplex printing while maintaining the setting of the entire document (S4304, S4232 of FIG. 42). Here, the printer driver 106 can control the printer 107 based on the contents set for single-sided printing.

図44は、空白ページに対する非課金設定4401が、印刷設定に反映された状態を例示する図である。図43に処理により、シート(用紙)に対する有効な印刷設定のうち、片面が全て空白になるページを含むシート(用紙)に対しては、非課金設定が追加される。   FIG. 44 is a diagram illustrating a state in which the non-billing setting 4401 for the blank page is reflected in the print setting. With the processing shown in FIG. 43, non-billing settings are added to a sheet (paper) including a page in which one side is all blank among the effective print settings for the sheet (paper).

以上説明したとおり本実施形態によれば、多連印刷おいて、印刷対象の文書に様々な用紙サイズのページが混載している場合や片面印刷設定と両面印刷設定のページが混載されている場合においても、容易な設定で、適切な面付け処理を行い、印刷後の裁断およびマージ作業を容易にすることが可能になる。   As described above, according to this embodiment, in multiple printing, when pages of various paper sizes are mixedly mounted in a document to be printed, or when pages of single-sided printing setting and double-sided printing setting are mixedly loaded. However, it is possible to perform appropriate imposition processing with easy settings and facilitate cutting and merging after printing.

また、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(複写機、プリンタ、ファクシミリ装置など)に適用してもよい。また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   Further, the present invention can be applied to a system (copier, printer, facsimile machine, etc.) consisting of a single device even if it is applied to a system consisting of a plurality of devices (eg, host computer, interface device, reader, printer, etc.). You may apply. Another object of the present invention is to read a program code stored in a storage medium by a computer (or CPU or MPU) of a system or apparatus, which stores a program code of software that realizes the functions of the above-described embodiments. It is also achieved by executing. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.
Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board is based on the instruction of the program code. Also included is a case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明の実施の形態に係るスタンドアロン型の文書処理システムのソフトウェア構成例を示すブロック図である。It is a block diagram which shows the software structural example of the stand-alone type document processing system which concerns on embodiment of this invention. 本発明の実施の形態に係る文書処理システムを実現するハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example which implement | achieves the document processing system which concerns on embodiment of this invention. 本実施の形態に係るブックファイルの構造の一例を示す図である。It is a figure which shows an example of the structure of the book file which concerns on this Embodiment. 本実施の形態に係るブック属性の一覧を示す図である。It is a figure which shows the list | wrist of the book attribute which concerns on this Embodiment. 本実施の形態に係る章属性の一覧を示す図である。It is a figure which shows the list of the chapter attributes which concern on this Embodiment. 本実施の形態に係るページ属性の一覧を示す図である。It is a figure which shows the list of the page attribute which concerns on this Embodiment. 本実施の形態に係る文書処理システムにおけるブックファイルを開く手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure which opens the book file in the document processing system concerning this Embodiment. 新規のブックファイルを開いた際のユーザインタフェース画面の一例を示す図である。It is a figure which shows an example of the user interface screen at the time of opening a new book file. 既存のブックファイルを開いた際のユーザインタフェース画面の一例を示す図である。It is a figure which shows an example of the user interface screen at the time of opening the existing book file. 本実施の形態に係る文書処理システムにおける、電子原稿ファイルをブックファイルにインポートする手順例を示すフローチャートである。10 is a flowchart illustrating an example of a procedure for importing an electronic document file into a book file in the document processing system according to the present embodiment. 図10のステップ801に示すアプリケーションデータを電子原稿ファイルに変換する手順例を示すフローチャートである。11 is a flowchart illustrating an example of a procedure for converting application data shown in Step 801 of FIG. 10 into an electronic document file. 印刷や表示を行う際に使用するデータ構造の例を示す図である。It is a figure which shows the example of the data structure used when performing printing and a display. クライアントサーバ型の文書処理システムのソフトウェア構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a software configuration example of a client server type document processing system. データ構成の最上位階層である文書全体の設定を行うダイアログウィンドウの例を示す図である。It is a figure which shows the example of the dialog window which performs the setting of the whole document which is the highest hierarchy of a data structure. データ構成の中間階層である章の設定を行うダイアログウィンドウの例を示す図である。It is a figure which shows the example of the dialog window which performs the setting of the chapter which is the intermediate | middle hierarchy of a data structure. 図15のダイアログウィンドウで固有属性の設定を行った例を示す図である。FIG. 16 is a diagram showing an example in which unique attributes are set in the dialog window of FIG. 15. データ構成の最下位階層であるページの設定を行うダイアログウィンドウの例を示す図である。It is a figure which shows the example of the dialog window which performs the setting of the page which is the lowest hierarchy of a data structure. 図17のダイアログウィンドウでの設定値の変更例を示す図である。It is a figure which shows the example of a change of the setting value in the dialog window of FIG. 章やページに固有の設定を行った場合の表示例を示す図である。It is a figure which shows the example of a display when the setting peculiar to a chapter or a page is performed. 本発明の実施の形態に係る文書処理システムにおける、既存のドキュメントに対し、詳細な印刷設定を行うためのユーザーインターフェースの一例である。5 is an example of a user interface for performing detailed print settings for an existing document in the document processing system according to the exemplary embodiment of the present invention. 本発明の実施の形態に関わる文書処理システムにおける、既存のドキュメントに対し、詳細な印刷設定を行うためのユーザーインターフェースの一例を示す図である。It is a figure which shows an example of the user interface for performing a detailed print setting with respect to the existing document in the document processing system concerning embodiment of this invention. 本発明の実施の形態に係る文書処理システムにおいて、既存のドキュメントに対し、出力用紙設定を行うための設定ウィンドウの例を示す図である。6 is a diagram illustrating an example of a setting window for performing output sheet setting for an existing document in the document processing system according to the embodiment of the present invention. FIG. 本発明の実施の形態に係る文書処理システムにおける、多連印刷を説明するための例を示す図である。It is a figure which shows the example for demonstrating multiple printing in the document processing system which concerns on embodiment of this invention. 本発明の実施の形態に係る文書処理システムにおける、印刷処理を説明するためのフローチャートである。6 is a flowchart for explaining print processing in the document processing system according to the embodiment of the present invention. 本発明の実施の形態に係る文書処理システムにおける、多連処理を説明するためのフローチャートである。It is a flowchart for demonstrating multiple processing in the document processing system which concerns on embodiment of this invention. 本発明の実施の形態に係る文書処理システムにおける、製本アプリケーション104が表示制御する「ドキュメントの詳細設定」ウィンドウの「仕上げ」シートのユーザーインターフェース画面を例示する図である。FIG. 10 is a diagram illustrating an example of a user interface screen of a “finishing” sheet in a “detailed document setting” window controlled by the bookbinding application 104 in the document processing system according to the embodiment of the present invention. 印刷対象となる用紙混載原稿の例を示す図である。FIG. 6 is a diagram illustrating an example of a paper mixed original to be printed. 図27に示す用紙混載原稿の面つけ結果を示す図である。It is a figure which shows the imposition result of the paper mixed original document shown in FIG. 図27に示す用紙混載原稿の面つけ結果を示す図である。It is a figure which shows the imposition result of the paper mixed original document shown in FIG. 本発明の実施の形態に係る文書処理システムにおける、多連印刷処理の流れを説明するフローチャートである。6 is a flowchart illustrating a flow of multiple printing processing in the document processing system according to the embodiment of the present invention. 原稿用紙サイズによる自動N連切り替え処理に適用する原稿の例を示す図である。It is a figure which shows the example of the original document applied to the automatic N continuous switching process by original paper size. 図31に示す用紙混載原稿の面つけ結果を示す図である。FIG. 32 is a diagram illustrating an imposition result of the sheet mixed document illustrated in FIG. 31. 本発明の実施の形態に係る文書処理システムにおける、用紙サイズによる自動N連切り替え処理の具体的な処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of a specific process of the automatic N continuous switching process by paper size in the document processing system which concerns on embodiment of this invention. 片面/両面切り替え印刷を適用する元原稿を例示する図である。6 is a diagram illustrating an original document to which single-sided / double-sided switching printing is applied. FIG. 図34に示す原稿に対して、片面/両面切り替え印刷を適用した面つけ結果を示す図である。FIG. 35 is a diagram illustrating an imposition result obtained by applying single-sided / double-sided switching printing to the document illustrated in FIG. 34. 本発明における文書処理システムにおける、片面/両面切り替え印刷が設定されている場合に多連印刷を実行する処理の流れを説明するフローチャートである。6 is a flowchart illustrating a flow of processing for executing multiple printing when single-sided / double-sided switching printing is set in the document processing system according to the present invention. 片面の2連印刷で出力用紙の向きが横方法の場合における前半後半印刷実行時の各ページの面つけレイアウトを説明する図である。FIG. 6 is a diagram illustrating an imposition layout of each page when executing printing in the first half of the first half in the case where the orientation of an output sheet is a landscape method in single-sided duplex printing. 両面の2連印刷で出力用紙の向きが横方法の場合における前半後半印刷実行時の各ページの面つけレイアウトを説明する図である。FIG. 10 is a diagram for explaining an imposition layout of each page when executing printing in the first half of the first half in the case where the orientation of the output paper is the horizontal method in duplex printing on both sides. (a)は、図37で説明した製本アプリケーション104による片面の2連印刷で出力用紙の向きが横方向の場合における前半後半印刷実行時における面つけを実行した場合の出力結果を示す図であり、(b)は、製本アプリケーション104による片面の2連印刷で出力用紙の向きが縦方向の場合における前半後半印刷における面つけを実行した場合の出力結果を示す図である。FIG. 38A is a diagram illustrating an output result when imposition is performed at the time of printing in the first half of the first half in the case where the orientation of the output paper is horizontal in the single-sided duplex printing by the bookbinding application 104 described in FIG. (B) is a figure which shows the output result at the time of performing the imposition in the first-half second half printing in the case where the orientation of the output paper is vertical in the single-sided duplex printing by the bookbinding application 104. 前半後半印刷、片面/両面切り替え印刷を適用する原稿を例示する図である。It is a figure which illustrates the original document to which the first half second half printing and single side / double side switching printing are applied. 総論理ページ数Nを求める処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of the process which calculates | requires the total number N of logical pages. 前半後半印刷、片面/両面切り替え印刷における面つけ、印刷処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of imposition and printing processing in the first half second half printing and single-sided / double-sided switching printing. 非課金設定を文書の設定情報に反映するための処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of a process for reflecting a non-billing setting in the setting information of a document. 空白ページに対する非課金設定4401が、印刷設定に反映された状態を例示する図である。FIG. 10 is a diagram illustrating a state in which a non-billing setting 4401 for a blank page is reflected in a print setting.

Claims (31)

文書を構成するページデータを一の記録媒体上に複数ページ分レイアウトして、当該文書の印刷体裁を設定する文書処理装置であって、
文書の印刷体裁として、一の記録媒体上に複数ページ分レイアウトし、印刷後に記録媒体を裁断して最終的な印刷物を得る多連印刷が設定されているかを判断する印刷体裁判断手段と、
前記文書に設定されている属性情報を取得する取得手段と、
前記印刷体裁判断手段により多連印刷が設定されていると判断された場合に、前記取得手段により取得した属性情報に基づいて前記文書を構成する各ページのサイズを判定し、当該文書が異なるページサイズのページデータより構成されているか否かを判定するページサイズ判定手段と、
前記ページサイズ判定手段の判定結果に従い、前記文書中に異なるページサイズのページデータが含まれる場合、当該ページサイズ毎に、当該ページデータのレイアウトを制御するレイアウト制御手段と
を備えることを特徴とする文書処理装置。
A document processing apparatus that lays out a plurality of pages of page data constituting a document on a single recording medium and sets a print format of the document,
A print format determination means for determining whether multiple printing is set to lay out a plurality of pages on one recording medium and cut the recording medium after printing to obtain a final printed matter as a print format of the document;
Obtaining means for obtaining attribute information set in the document;
When the print format determination unit determines that multiple printing is set, the size of each page constituting the document is determined based on the attribute information acquired by the acquisition unit, and the document is a different page. Page size determination means for determining whether or not the page data is composed of size data;
In accordance with the determination result of the page size determination means, when page data having a different page size is included in the document, layout control means for controlling the layout of the page data for each page size is provided. Document processing device.
前記レイアウト制御手段は、前記ページサイズに応じて、前記ページデータをレイアウトするための記録媒体のサイズを設定することを特徴とする請求項1に記載の文書処理装置。 The document processing apparatus according to claim 1, wherein the layout control unit sets a size of a recording medium for laying out the page data according to the page size. 前記レイアウト制御手段は、前記ページデータをレイアウトするための記録媒体を設定するために、指定された記録媒体のサイズ、または、前記ページサイズ判定手段で判定されたページサイズのうち、いずれかを選択的に使用して、当該記録媒体を設定することを特徴とする請求項1または2に記載の文書処理装置。 The layout control means selects either the designated recording medium size or the page size determined by the page size determination means in order to set a recording medium for laying out the page data. The document processing apparatus according to claim 1, wherein the recording medium is set for use on a case-by-case basis. 前記レイアウト制御手段は、前記文書を構成する、第1のページサイズに対応するレイアウト結果と第2のページサイズに対応するレイアウト結果とを、出力手段に区別して出力させることを特徴とする請求項1乃至3のいずれかに記載の文書処理装置。 The layout control means makes the output means distinguish and output a layout result corresponding to a first page size and a layout result corresponding to a second page size, which constitute the document. The document processing apparatus according to any one of 1 to 3. 前記レイアウト制御手段は、前記第2のページサイズに対応するレイアウト結果を挿入するページを識別するために、前記第1のページサイズと同じサイズの合紙の設定を行い、前記第1のページサイズに対応するレイアウト結果と、当該合紙とを組み合わせて前記出力手段に出力させることを特徴とする請求項1に記載の文書処理装置。 The layout control means sets a slip sheet having the same size as the first page size in order to identify a page in which a layout result corresponding to the second page size is inserted, and the first page size 2. The document processing apparatus according to claim 1, wherein the output result is output in combination with the layout result corresponding to the above and the slip sheet. 前記レイアウト制御手段は、前記文書に含まれる最大のページサイズに基づいて、当該最大のページサイズより小さいページサイズのページデータに対しては、前記一の記録媒体上に複数ページ分をレイアウトし、
当該最大のページサイズと等しいページサイズのページデータに対しては、当該記録媒体上に当該ページデータのみをレイアウトすることを特徴とする請求項1に記載の文書処理装置。
The layout control means lays out a plurality of pages on the one recording medium for page data having a page size smaller than the maximum page size based on the maximum page size included in the document,
2. The document processing apparatus according to claim 1, wherein only the page data is laid out on the recording medium for page data having a page size equal to the maximum page size.
前記ページサイズ判定手段は、前記取得手段により取得した属性情報に基づいて前記文書を構成する各ページが、両面原稿であるか否かを判定し、
前記レイアウト制御手段は、前記ページサイズ判定手段の判定結果に基づき、前記両面原稿に対しては、設定された記録媒体の表面及び裏面にそれぞれ異なるページデータを複数ページ分レイアウトし、
片面原稿に対しては、当該記録媒体の表面のみにページデータを複数ページ分レイアウトし、裏面を空白にすることを特徴とする請求項1に記載の文書処理装置。
The page size determination means determines whether each page constituting the document is a double-sided original based on the attribute information acquired by the acquisition means;
The layout control means lays out different page data for a plurality of pages on the front and back surfaces of the set recording medium for the double-sided document based on the determination result of the page size determination means,
2. The document processing apparatus according to claim 1, wherein, for a single-sided original, page data is laid out for a plurality of pages only on the front side of the recording medium, and the back side is left blank.
前記レイアウト制御手段は、前記一の記録媒体上に同一のページデータを複数ページ分レイアウトすることを特徴とする請求項1乃至7のいずれかに記載の文書処理装置。 8. The document processing apparatus according to claim 1, wherein the layout control unit lays out the same page data for a plurality of pages on the one recording medium. 前記ページサイズ判定手段は、前記取得手段により取得した属性情報に基づいて前記文書を構成する各ページが、両面原稿であるか否か、及び当該属性情報に基づいて前記文書を構成する総ページ数を判定し、
前記レイアウト制御手段は、前記両面原稿に対しては、記録媒体表面側の左半分または右半分、当該記録媒体裏面側の左半分または右半分の領域にそれぞれ異なるページデータをレイアウトし、
片面原稿の場合には、当該記録媒体表面側の左半分または右半分にそれぞれ異なるページデータをレイアウトし、当該記録媒体裏面側の左半分または右半分を空白にすることを特徴とする請求項1に記載の文書処理装置。
The page size determining means determines whether each page constituting the document is a double-sided original based on the attribute information acquired by the acquiring means, and the total number of pages constituting the document based on the attribute information And
The layout control means lays out different page data in the left half or right half on the recording medium surface side and the left half or right half area on the recording medium back side for the double-sided document,
2. In the case of a single-sided original, different page data is laid out on the left half or right half on the front side of the recording medium, and the left half or right half on the back side of the recording medium is left blank. Document processing apparatus described in 1.
前記レイアウト制御手段は、前記記録媒体裏面側の左半分及び右半分が空白となる場合、当該記録媒体の印刷処理を片面印刷に設定することを特徴とする請求項1または9に記載の文書処理装置。 10. The document processing according to claim 1, wherein the layout control unit sets the printing process of the recording medium to single-sided printing when the left half and the right half on the back side of the recording medium are blank. apparatus. 文書を構成するページデータを一の記録媒体上に複数ページ分レイアウトして、当該文書の印刷体裁を設定する文書処理装置における文書処理方法であって、
文書の印刷体裁として、一の記録媒体上に複数ページ分レイアウトし、印刷後に記録媒体を裁断して最終的な印刷物を得る多連印刷が設定されているかを判断する印刷体裁判断工程と、
前記文書に設定されている属性情報を取得する取得工程と、
前記印刷体裁判断工程により多連印刷が設定されていると判断された場合に、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページのサイズを判定し、当該文書が異なるページサイズのページデータより構成されているか否かを判定するページサイズ判定工程と、
前記ページサイズ判定工程の判定結果に従い、前記文書中に異なるページサイズのページデータが含まれる場合、当該ページサイズ毎に、当該ページデータのレイアウトを制御するレイアウト制御工程と
を備えることを特徴とする文書処理方法。
A document processing method in a document processing apparatus for laying out page data constituting a document for a plurality of pages on one recording medium and setting a print format of the document,
As a print format of the document, a print format determination step of determining whether multiple printing is set to lay out a plurality of pages on one recording medium and cut the recording medium after printing to obtain a final printed matter;
An acquisition step of acquiring attribute information set in the document;
When it is determined by the print appearance determination step that multiple printing is set, the size of each page constituting the document is determined based on the attribute information acquired by the acquisition step, and the document is a different page A page size determination step for determining whether or not the page data is composed of size data;
A layout control step for controlling the layout of the page data for each page size when page data of a different page size is included in the document according to the determination result of the page size determination step. Document processing method.
前記レイアウト制御工程は、前記ページサイズに応じて、前記ページデータをレイアウトするための記録媒体のサイズを設定することを特徴とする請求項11に記載の文書処理方法。 12. The document processing method according to claim 11, wherein the layout control step sets a size of a recording medium for laying out the page data in accordance with the page size. 前記レイアウト制御工程は、前記ページデータをレイアウトするための記録媒体を設定するために、指定された記録媒体のサイズ、または、前記ページサイズ判定工程で判定されたページサイズのうち、いずれかを選択的に使用して、当該記録媒体を設定することを特徴とする請求項11または12に記載の文書処理方法。 The layout control step selects either the designated recording medium size or the page size determined in the page size determination step in order to set a recording medium for laying out the page data. 13. The document processing method according to claim 11 or 12, wherein the recording medium is set for use on a case-by-case basis. 前記レイアウト制御工程は、前記文書を構成する、第1のページサイズに対応するレイアウト結果と第2のページサイズに対応するレイアウト結果とを、出力手段に区別して出力させることを特徴とする請求項11乃至13のいずれかに記載の文書処理方法。 The layout control step causes the output means to output a layout result corresponding to a first page size and a layout result corresponding to a second page size, which constitute the document. The document processing method according to any one of 11 to 13. 前記レイアウト制御工程は、前記第2のページサイズに対応するレイアウト結果を挿入するページを識別するために、前記第1のページサイズと同じサイズの合紙の設定を行い、前記第1のページサイズに対応するレイアウト結果と、当該合紙とを組み合わせて前記出力手段に出力させることを特徴とする請求項11に記載の文書処理方法。 The layout control step sets a slip sheet having the same size as the first page size in order to identify a page into which a layout result corresponding to the second page size is inserted, and the first page size The document processing method according to claim 11, wherein the output result is output in combination with the layout result corresponding to and the slip sheet. 前記レイアウト制御工程は、前記文書に含まれる最大のページサイズに基づいて、当該最大のページサイズより小さいページサイズのページデータに対しては、前記一の記録媒体上に複数ページ分をレイアウトし、
当該最大のページサイズと等しいページサイズのページデータに対しては、当該記録媒体上に当該ページデータのみをレイアウトすることを特徴とする請求項11に記載の文書処理方法。
The layout control step lays out a plurality of pages on the one recording medium for page data having a page size smaller than the maximum page size based on the maximum page size included in the document,
12. The document processing method according to claim 11, wherein for page data having a page size equal to the maximum page size, only the page data is laid out on the recording medium.
前記ページサイズ判定工程は、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページが、両面原稿であるか否かを判定し、
前記レイアウト制御工程は、前記ページサイズ判定工程の判定結果に基づき、前記両面原稿に対しては、設定された記録媒体の表面及び裏面にそれぞれ異なるページデータを複数ページ分レイアウトし、
片面原稿に対しては、当該記録媒体の表面のみにページデータを複数ページ分レイアウトし、裏面を空白にすることを特徴とする請求項11に記載の文書処理方法。
The page size determination step determines whether each page constituting the document is a double-sided document based on the attribute information acquired by the acquisition step,
The layout control step lays out different page data for a plurality of pages on the front and back surfaces of the set recording medium for the double-sided document based on the determination result of the page size determination step,
12. The document processing method according to claim 11, wherein, for a single-sided original, page data is laid out for a plurality of pages only on the front surface of the recording medium, and the back surface is left blank.
前記レイアウト制御工程は、前記一の記録媒体上に同一のページデータを複数ページ分レイアウトすることを特徴とする請求項11乃至17のいずれかに記載の文書処理方法。 18. The document processing method according to claim 11, wherein the layout control step lays out the same page data for a plurality of pages on the one recording medium. 前記ページサイズ判定工程は、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページが、両面原稿であるか否か、及び当該属性情報に基づいて前記文書を構成する総ページ数を判定し、
前記レイアウト制御工程は、前記両面原稿に対しては、記録媒体表面側の左半分または右半分、当該記録媒体裏面側の左半分または右半分の領域にそれぞれ異なるページデータをレイアウトし、
片面原稿の場合には、当該記録媒体表面側の左半分または右半分にそれぞれ異なるページデータをレイアウトし、当該記録媒体裏面側の左半分または右半分を空白にすることを特徴とする請求項11に記載の文書処理方法。
In the page size determination step, whether or not each page constituting the document based on the attribute information acquired in the acquisition step is a double-sided original, and the total number of pages constituting the document based on the attribute information Determine
The layout control step lays out different page data in the left half or right half on the recording medium surface side and the left half or right half area on the recording medium back side for the double-sided document,
12. In the case of a single-sided original, different page data is laid out on the left half or right half on the front side of the recording medium, and the left half or right half on the back side of the recording medium is left blank. Document processing method described in 1.
前記レイアウト制御工程は、前記記録媒体裏面側の左半分及び右半分が空白となる場合、当該記録媒体の印刷処理を片面印刷に設定することを特徴とする請求項11または19に記載の文書処理方法。 The document processing according to claim 11 or 19, wherein the layout control step sets the printing process of the recording medium to single-sided printing when the left half and the right half on the back side of the recording medium are blank. Method. 文書を構成するページデータを一の記録媒体上に複数ページ分レイアウトして、当該文書の印刷体裁を設定する文書処理方法をコンピュータに実行させる文書処理プログラムであって、
文書の印刷体裁として、一の記録媒体上に複数ページ分レイアウトし、印刷後に記録媒体を裁断して最終的な印刷物を得る多連印刷が設定されているかを判断する印刷体裁判断工程と、
前記文書に設定されている属性情報を取得する取得工程と、
前記印刷体裁判断工程により多連印刷が設定されていると判断された場合に、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページのサイズを判定し、当該文書が異なるページサイズのページデータより構成されているか否かを判定するページサイズ判定工程と、
前記ページサイズ判定工程の判定結果に従い、前記文書中に異なるページサイズのページデータが含まれる場合、当該ページサイズ毎に、当該ページデータのレイアウトを制御するレイアウト制御工程と
をコンピュータに実行させることを特徴とする文書処理プログラム。
A document processing program for causing a computer to execute a document processing method for laying out page data constituting a document for a plurality of pages on one recording medium and setting a print format of the document,
As a print format of the document, a print format determination step of determining whether multiple printing is set to lay out a plurality of pages on one recording medium and cut the recording medium after printing to obtain a final printed matter;
An acquisition step of acquiring attribute information set in the document;
When it is determined by the print appearance determination step that multiple printing is set, the size of each page constituting the document is determined based on the attribute information acquired by the acquisition step, and the document is a different page A page size determination step for determining whether or not the page data is composed of size data;
When page data having a different page size is included in the document according to the determination result of the page size determination step, the computer may execute a layout control step for controlling the layout of the page data for each page size. A featured document processing program.
コンピュータにより実行する前記レイアウト制御工程は、前記ページサイズに応じて、前記ページデータをレイアウトするための記録媒体のサイズを設定することを特徴とする請求項21に記載の文書処理プログラム。 The document processing program according to claim 21, wherein the layout control step executed by a computer sets a size of a recording medium for laying out the page data according to the page size. コンピュータにより実行する前記レイアウト制御工程は、前記ページデータをレイアウトするための記録媒体を設定するために、指定された記録媒体のサイズ、または、前記ページサイズ判定工程で判定されたページサイズのうち、いずれかを選択的に使用して、当該記録媒体を設定することを特徴とする請求項21または22に記載の文書処理プログラム。 The layout control step executed by the computer includes a size of a designated recording medium or a page size determined in the page size determination step in order to set a recording medium for laying out the page data. 23. The document processing program according to claim 21, wherein the recording medium is set by selectively using any one of them. コンピュータにより実行する前記レイアウト制御工程は、前記文書を構成する、第1のページサイズに対応するレイアウト結果と第2のページサイズに対応するレイアウト結果とを、出力手段に区別して出力させることを特徴とする請求項21乃至23のいずれかに記載の文書処理プログラム。 The layout control step executed by the computer causes the output means to output the layout result corresponding to the first page size and the layout result corresponding to the second page size, which constitutes the document. The document processing program according to any one of claims 21 to 23. コンピュータにより実行する前記レイアウト制御工程は、前記第2のページサイズに対応するレイアウト結果を挿入するページを識別するために、前記第1のページサイズと同じサイズの合紙の設定を行い、前記第1のページサイズに対応するレイアウト結果と、当該合紙とを組み合わせて前記出力手段に出力させることを特徴とする請求項21に記載の文書処理プログラム。 The layout control step executed by the computer sets a slip sheet having the same size as the first page size in order to identify a page into which a layout result corresponding to the second page size is inserted. The document processing program according to claim 21, wherein a layout result corresponding to one page size and the slip sheet are combined and output to the output unit. コンピュータにより実行する前記レイアウト制御工程は、前記文書に含まれる最大のページサイズに基づいて、当該最大のページサイズより小さいページサイズのページデータに対しては、前記一の記録媒体上に複数ページ分をレイアウトし、
当該最大のページサイズと等しいページサイズのページデータに対しては、当該記録媒体上に当該ページデータのみをレイアウトすることを特徴とする請求項21に記載の文書処理プログラム。
The layout control step executed by the computer is based on the maximum page size included in the document, and for page data having a page size smaller than the maximum page size, a plurality of pages on the one recording medium. Lay out and
The document processing program according to claim 21, wherein only page data is laid out on the recording medium for page data having a page size equal to the maximum page size.
コンピュータにより実行する前記ページサイズ判定工程は、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページが、両面原稿であるか否かを判定し、
コンピュータにより実行する前記レイアウト制御工程は、前記ページサイズ判定工程の判定結果に基づき、前記両面原稿に対しては、設定された記録媒体の表面及び裏面にそれぞれ異なるページデータを複数ページ分レイアウトし、
片面原稿に対しては、当該記録媒体の表面のみにページデータを複数ページ分レイアウトし、裏面を空白にすることを特徴とする請求項21に記載の文書処理プログラム。
The page size determination step executed by the computer determines whether each page constituting the document is a double-sided document based on the attribute information acquired by the acquisition step,
The layout control step executed by the computer, based on the determination result of the page size determination step, for the double-sided document, lay out different page data for a plurality of pages respectively on the front and back surfaces of the set recording medium,
The document processing program according to claim 21, wherein for a single-sided original, page data is laid out for a plurality of pages only on the front side of the recording medium, and the back side is left blank.
コンピュータにより実行する前記レイアウト制御工程は、前記一の記録媒体上に同一のページデータを複数ページ分レイアウトすることを特徴とする請求項21乃至27のいずれかに記載の文書処理プログラム。 28. The document processing program according to claim 21, wherein the layout control step executed by a computer lays out the same page data for a plurality of pages on the one recording medium. コンピュータにより実行する前記ページサイズ判定工程は、前記取得工程により取得した属性情報に基づいて前記文書を構成する各ページが、両面原稿であるか否か、及び当該属性情報に基づいて前記文書を構成する総ページ数を判定し、
コンピュータにより実行する前記レイアウト制御工程は、前記両面原稿に対しては、記録媒体表面側の左半分または右半分、当該記録媒体裏面側の左半分または右半分の領域にそれぞれ異なるページデータをレイアウトし、
片面原稿の場合には、当該記録媒体表面側の左半分または右半分にそれぞれ異なるページデータをレイアウトし、当該記録媒体裏面側の左半分または右半分を空白にすることを特徴とする請求項21に記載の文書処理プログラム。
The page size determination step executed by the computer is configured based on the attribute information acquired in the acquisition step, whether each page constituting the document is a double-sided original, and the document based on the attribute information. To determine the total number of pages
The layout control step executed by the computer lays out different page data in the left half or right half area on the recording medium front side and the left half or right half area on the back side of the recording medium for the double-sided document. ,
22. In the case of a single-sided original, different page data is laid out on the left half or the right half on the front side of the recording medium, and the left half or the right half on the back side of the recording medium is left blank. Document processing program described in 1.
コンピュータにより実行する前記レイアウト制御工程は、前記記録媒体裏面側の左半分及び右半分が空白となる場合、当該記録媒体の印刷処理を片面印刷に設定することを特徴とする請求項21または29に記載の文書処理プログラム。 30. The method according to claim 21, wherein the layout control step executed by the computer sets the printing process of the recording medium to single-sided printing when the left half and the right half on the back side of the recording medium are blank. The document processing program described. 請求項21乃至30のいずれか1項に記載の文書処理プログラムを格納したことを特徴とするコンピュータ可読の記憶媒体。 A computer-readable storage medium storing the document processing program according to any one of claims 21 to 30.
JP2004131820A 2004-04-27 2004-04-27 Document processing apparatus, document processing method, and document processing program Expired - Fee Related JP4371892B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004131820A JP4371892B2 (en) 2004-04-27 2004-04-27 Document processing apparatus, document processing method, and document processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004131820A JP4371892B2 (en) 2004-04-27 2004-04-27 Document processing apparatus, document processing method, and document processing program

Publications (3)

Publication Number Publication Date
JP2005318105A true JP2005318105A (en) 2005-11-10
JP2005318105A5 JP2005318105A5 (en) 2007-06-14
JP4371892B2 JP4371892B2 (en) 2009-11-25

Family

ID=35445116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004131820A Expired - Fee Related JP4371892B2 (en) 2004-04-27 2004-04-27 Document processing apparatus, document processing method, and document processing program

Country Status (1)

Country Link
JP (1) JP4371892B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007304788A (en) * 2006-05-10 2007-11-22 Fuji Xerox Co Ltd Print control device, method and program
CN101236585B (en) * 2007-01-29 2010-06-23 佳能株式会社 Image processing apparatus and document combination method
JP2010140365A (en) * 2008-12-12 2010-06-24 Konica Minolta Business Technologies Inc Image formation controller, image formation control method and image formation control program
CN102673173A (en) * 2011-01-13 2012-09-19 佳能株式会社 Information processing apparatus and information processing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007304788A (en) * 2006-05-10 2007-11-22 Fuji Xerox Co Ltd Print control device, method and program
JP4706553B2 (en) * 2006-05-10 2011-06-22 富士ゼロックス株式会社 Printing control apparatus, method and program
CN101236585B (en) * 2007-01-29 2010-06-23 佳能株式会社 Image processing apparatus and document combination method
JP2010140365A (en) * 2008-12-12 2010-06-24 Konica Minolta Business Technologies Inc Image formation controller, image formation control method and image formation control program
US8310712B2 (en) 2008-12-12 2012-11-13 Konica Minolta Business Technologies, Inc. Image forming controlling apparatus, image forming controlling method, and image forming controlling program embodied on computer readable recording medium
CN102673173A (en) * 2011-01-13 2012-09-19 佳能株式会社 Information processing apparatus and information processing method
KR101411048B1 (en) * 2011-01-13 2014-06-30 캐논 가부시끼가이샤 Information processing apparatus and information processing method

Also Published As

Publication number Publication date
JP4371892B2 (en) 2009-11-25

Similar Documents

Publication Publication Date Title
JP4564693B2 (en) Document processing apparatus and method
JP3962679B2 (en) Printing control method and apparatus
JP4054726B2 (en) Information processing apparatus, control method thereof, and program
JP4817556B2 (en) Information processing apparatus, document processing method and program in information processing apparatus
JP3970137B2 (en) Document processing method and apparatus
JP4708724B2 (en) Document processing apparatus, document processing method, and document processing program
JP4532798B2 (en) Document processing apparatus and method
JP4847183B2 (en) Information processing apparatus, control method therefor, and program
JP4194476B2 (en) Document processing apparatus and document processing method
JP4900937B2 (en) Information processing apparatus, control method therefor, and program
JP4143566B2 (en) Document processing apparatus, control method therefor, and computer program
JP4948283B2 (en) Information processing apparatus, control method, and control program
JP5159484B2 (en) Information processing apparatus, image forming apparatus and post-processing apparatus control method, and computer program
US8144345B2 (en) Information-processing apparatus and method
JP2007272782A (en) Information processor, its control method, and program
JP5328318B2 (en) Information processing method, information processing apparatus, and computer program
JP2004164105A (en) Printing control program
JP4810027B2 (en) Information processing apparatus and method
JP4371892B2 (en) Document processing apparatus, document processing method, and document processing program
JP4574652B2 (en) Information processing apparatus and method, and print control program
JP4614397B2 (en) Document processing apparatus, document processing method, and document processing program
JP2010113596A (en) Document processing system
JP5288990B2 (en) Information processing apparatus and staple attribute setting method
JP2006202025A (en) Document processing method, print control method, and its system
JP3991028B2 (en) Document processing method and information processing apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070426

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070426

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080908

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090810

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090831

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090901

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees