JP4881415B2 - Document processing apparatus and method - Google Patents

Document processing apparatus and method Download PDF

Info

Publication number
JP4881415B2
JP4881415B2 JP2009217953A JP2009217953A JP4881415B2 JP 4881415 B2 JP4881415 B2 JP 4881415B2 JP 2009217953 A JP2009217953 A JP 2009217953A JP 2009217953 A JP2009217953 A JP 2009217953A JP 4881415 B2 JP4881415 B2 JP 4881415B2
Authority
JP
Japan
Prior art keywords
page
document
layout
pages
basic
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.)
Expired - Fee Related
Application number
JP2009217953A
Other languages
Japanese (ja)
Other versions
JP2010003316A (en
Inventor
航 金谷
孝治 中桐
安生 森
信 冨田
純子 佐藤
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 JP2009217953A priority Critical patent/JP4881415B2/en
Publication of JP2010003316A publication Critical patent/JP2010003316A/en
Application granted granted Critical
Publication of JP4881415B2 publication Critical patent/JP4881415B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

文字や表、画像など、データの種類が異なると、データを定義する構造やそれらデータに対する編集操作が異なるために、データの種類に応じた様々なアプリケーションプログラムが提供されている。利用者は、文字を編集するためには文字処理プログラム、表を編集するためには表計算プログラム、画像を編集するためには画像編集プログラムといった具合に、データの種類別にアプリケーションを使い分けている。   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枚のシートの片面上にNページ(Nとしては例えば2,4,9,16ページがある。)を配置するレイアウト設定(Nページ印刷あるいはNイン1印刷あるいはNページレイアウトと呼ぶ。)が可能な印刷システムがあった。Nページ印刷を例に説明すると、文書全体について2ページ印刷の設定はできるが、2ページ印刷が指定された文書の一部分を4ページ印刷に変更することはできなかった。すなわち、ひとつの設定項目について、文書の一部分について文書全体と異なる設定値を設定することができなかった。また、文書の部分毎にレイアウト等の設定ができるようなシステムでは、各部分だけで属性(レイアウト設定等の設定値)を保持しているために、全体を統一して一斉に変更することができなかった。   In addition, there is a document processing system that holds data in units of pages and lays out and prints on paper according to various setting values. In such a system, even if data is held in a hierarchical structure, setting values are held only for the entire document, and partial settings cannot be made. For example, for a document created by an application program or the like, a layout setting (N page printing or N for N pages (N, for example, 2, 4, 9, 16 pages) is provided on one side of one sheet. There is a printing system that can perform in-one printing or N-page layout. As an example of N-page printing, 2-page printing can be set for the entire document, but a part of a document for which 2-page printing is designated cannot be changed to 4-page printing. That is, for one setting item, a setting value different from that of the entire document cannot be set for a part of the document. Also, in a system in which settings such as layout can be made for each part of a document, the attributes (setting values such as layout settings) are held only in each part, so the whole can be unified and changed all at once. could not.

そこで、文書データを、たとえばページ、ページのまとまり、文書全体といった単位で階層的に保持するとともに、各種設定項目の値も文書データの各階層ごとに保持することで、文書全体に統一的な設定をすることも、その一部について部分的な設定をすることも可能であるような文書処理システムが登場した(特許文献1等参照)。   Therefore, document data is stored hierarchically in units such as pages, group of pages, and the entire document, and various setting item values are also stored for each layer of the document data, so that uniform settings can be made for the entire document. Document processing systems have emerged that allow users to make partial settings for some of them (see Patent Document 1, etc.).

このようなシステムでは、編集操作として、各設定項目の設定値の変更だけでなく、ページ単位やページをまとめた単位など任意の単位を文書内で、あるいは文書外に移動したりコピーペーストしたりする事が可能である。また、文書データの印刷プロセス終了時の状態をプレビュー表示し、そのプレビュー表示を操作者に示して編集操作を行わせる機能を有している。また、上記文書処理システムでは、文書内の各ページは、文書の出力(たとえば表示や印刷)の際には、文書全体に対する設定やページごとの設定に応じた形式で出力される。設定内容としては、Nページ印刷のように相異なる複数のページを1つのシート上に印刷する設定加えて、1つのシート上に同一ページを複数複製して表示、印刷させる多連印刷機能がある。この多連印刷機能により実現されるレイアウトを多連レイアウトと呼ぶ。   In such a system, as an editing operation, not only the setting value of each setting item can be changed, but also any unit such as a page unit or a unit in which pages are grouped can be moved within the document or outside the document, or copied and pasted. It is possible to do. Also, it has a function of displaying a preview of the state of the document data at the end of the printing process and showing the preview display to the operator to perform an editing operation. In the document processing system, each page in the document is output in a format corresponding to the setting for the entire document or the setting for each page when the document is output (for example, displayed or printed). The setting contents include a setting for printing a plurality of different pages on one sheet, such as N-page printing, and a multiple printing function for displaying and printing a plurality of the same pages on one sheet. . A layout realized by this multiple printing function is called a multiple layout.

特開2003−162404号公報JP 2003-162404 A

多連印刷(多連レイアウト)は、印刷後の裁断を前提とし、一枚の用紙上に複数部数分の印字結果を出力する事を目的として、同一ページを用紙上に並べて印刷する機能である。多連印刷機能は、トンボをつけて任意のページサイズに裁断するのではなく、用紙を単純に等分して本来のページが得られるような印刷物を出力するものが多い。このため特にNページ印刷と多連レイアウトとが同時に設定されている文書データ場合、その編集時や印刷断裁時に断裁線が紛らわしいという問題がある。   Multiple printing (multiple layout) is a function that prints the same page side by side on a sheet for the purpose of outputting a plurality of copies of the printed result on one sheet on the premise of cutting after printing. . Many of the multiple printing functions output a printed matter that can be obtained by simply dividing the paper into equal parts, instead of cutting the paper to an arbitrary page size with a register mark. For this reason, particularly in the case of document data in which N-page printing and multiple layouts are set at the same time, there is a problem that the cutting line is misleading when editing or printing cutting.

また、多連レイアウト設定された文書データについて、その印刷結果をプレビュー表示した場合、通常のNページ印刷レイアウトと異なり、1つのシートの面に配置された複数の同一ページの画像すべてについて、ページの選択やや編集処理を行えるようにすると不具合が生じる。これは、多連レイアウトにおいて1つのシートに配置される複数の同一ページは、文書データにおいては実体として存在しているのではなく、印刷のために複製されているにすぎないからである。したがって、文書の編集は多連レイアウト設定を解除して行うか、あるいは、多連レイアウト設定がされていてもプレビュー表示上は多連レイアウトが設定されていない文書のように表示する必要があった。   In addition, when the print result of the document data set with the multiple layout is displayed as a preview, unlike the normal N-page print layout, all the images on the same page arranged on the surface of one sheet are displayed on the page. A problem arises when selection and editing can be performed. This is because a plurality of identical pages arranged on one sheet in the multiple layout does not exist as an entity in the document data, but is merely duplicated for printing. Therefore, it is necessary to edit the document after canceling the multiple layout setting, or to display it as a document in which the multiple layout is set but the multiple layout is not set on the preview display. .

このように、多連レイアウト設定を許す文書処理システムでは、多連レイアウトされた文書出力に際しては生産性が低下すると問題があった。また、多連レイアウトされた文書について、編集操作の操作性が悪いという問題があった。さらに、多連レイアウト設定された文書については、実際の出力物の形式をプレビュー表示で正確に表現することが困難であり、この点からも編集操作の操作性の悪化、生産性の低下などの不具合を招いていた。   As described above, in a document processing system that allows multiple layout settings, there is a problem in that productivity decreases when a document with multiple layouts is output. In addition, there is a problem in that the operability of the editing operation is poor for a document having a multiple layout. Furthermore, for documents with multiple layout settings, it is difficult to accurately represent the actual output format in the preview display. From this point of view, the operability of the editing operation is deteriorated and the productivity is reduced. A bug was invited.

本発明は、上述の課題に鑑みてなされたものであり、その目的とするところは、一枚の用紙上に複数部数分の印字結果を出力する多連印刷物を作成する場合において、ページの原稿を用意すればそのページの内容を反映した多連印刷物の印刷レイアウトをプレビュー表示できる文書処理装置及び方法を提供することを目的とする。   SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and an object of the present invention is to create an original of a page when creating a multiple printed matter that outputs a plurality of copies of printing results on one sheet of paper. It is an object of the present invention to provide a document processing apparatus and method capable of displaying a preview of a print layout of a multiple printed matter reflecting the contents of the page.

上記目的を達成するために本発明の文書処理装置は以下の構成を備える。すなわち原稿ページにより構成される文書データの出力形式を編集可能な文書処理装置であって、
複数の同一原稿ページが配置された用紙を断裁することで複数部の印刷物を得るための多連レイアウト定を受け付ける設定手段と、
前記設定手段により前記多連レイアウト設定が受け付けられた場合、受け付けられた前記多連レイアウト定に応じて、前記多連レイアウトが設定されていない場合の1印刷ページを基本ページとして、複数の前記基本ページが用紙の面に配置されることを示すプレビュー画像と、前記プレビュー画像における前記複数の前記基本ページ間に断裁されることを示す情報を表示画面に表示させる表示制御手段と、
前記表示制御手段により表示される前記表示画面上における利用者の編集操作を受け付ける編集手段とを備え、
前記表示制御手段は、前記複数の基本ページの1つの基本ページに対して前記編集操作に応じた加工が行われた場合には、前記複数の基本ページのうち、前記編集操作による加工が行われなかった基本ページ前記編集操作に応じた前記加工を反映させることを特徴とする文書処理装置。
In order to achieve the above object, the document processing apparatus of the present invention comprises the following arrangement. That is, a document processing apparatus capable of editing the output format of document data composed of manuscript pages,
A setting unit for accepting the setting of the array type layout to obtain a printed matter of a plurality portions by cutting a plurality of sheets arranged the same document page,
If the setting of the multiple-layout is received by the setting unit, in accordance with the setting of the accepted multiple-layout, a print page when the array type layout is not set as the base page, a plurality A display image for displaying on the display screen a preview image indicating that the basic page is arranged on a sheet surface, and information indicating that the basic page is cut between the plurality of basic pages in the preview image ;
Editing means for accepting a user editing operation on the display screen displayed by the display control means,
Wherein the display control unit, when the processing corresponding to the editing operation on one base page of the plurality of base page is performed, among the plurality of basic pages, processing by the editing operation is performed A document processing apparatus characterized in that the processing according to the editing operation is reflected on a basic page that does not exist.

本発明によれば、一枚の用紙上に複数部数分の印字結果を出力する多連印刷物を作成する場合において、ページの原稿を用意すればそのページの内容を反映した多連印刷物の印刷レイアウトをプレビュー表示することができる。   According to the present invention, when creating a multiple printed matter for outputting a plurality of copies of printing results on a single sheet of paper, if a page document is prepared, the print layout of the multiple printed matter reflecting the contents of the page is prepared. Can be previewed.

本発明の実施の形態に係るスタンドアロン型の文書処理システムの構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure of the stand-alone type document processing system which concerns on embodiment of this invention. 本実施の形態に係る文書処理システムを実現するホストコンピュータの構成を示すブロック図である。It is a block diagram which shows the structure of the host computer which implement | achieves the document processing system which concerns on this Embodiment. 本実施の形態に係るブックファイルの構造の一例を示す図で、図3(A)はブックファイルの形式の一例を模式的に示す図、図3(B)は原稿データの構成を示す図である。FIG. 3A is a diagram illustrating an example of the structure of a book file according to the present embodiment, FIG. 3A is a diagram schematically illustrating an example of the format of a book file, and FIG. 3B is a diagram illustrating a configuration of document data. is there. 本実施の形態に係るブック属性の一例を示す図である。It is a figure which shows an example of the book attribute which concerns on this Embodiment. 本実施の形態に係る章属性の一例を示す図である。It is a figure which shows an example of the chapter attribute which concerns on this Embodiment. 本実施の形態に係るページ属性の一例を示す図である。It is a figure which shows an example of the page attribute which concerns on this Embodiment. 本実施の形態に係る文書処理システムにおけるブックファイルを開く手順を説明するフローチャートである。It is a flowchart explaining the procedure which opens the book file in the document processing system which concerns on this Embodiment. 本実施の形態に係る文書処理システムにおける、電子原稿ファイルをブックファイルにインポートする手順を説明するフローチャートである。10 is a flowchart illustrating a procedure for importing an electronic document file into a book file in the document processing system according to the present embodiment. 本実施の形態に係る文書処理システムによるアプリケーションデータを電子原稿ファイルに変換する手順を示すフローチャートである。It is a flowchart which shows the procedure which converts the application data by the document processing system which concerns on this Embodiment into an electronic manuscript file. 既存のブックファイルを開いた際のユーザインタフェース画面の一例を示す図である。It is a figure which shows an example of the user interface screen at the time of opening the existing book file. 新規のブックファイルを開いた際のユーザインタフェース画面の一例を示す図である。It is a figure which shows an example of the user interface screen at the time of opening a new book file. 本実施の形態に係る文書処理システムに係るクライアントサーバ型の文書処理システムのブロック図である。1 is a block diagram of a client server type document processing system according to a document processing system according to an embodiment. ステイプル制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of a staple control system. 本実施形態に係る文書処理システムにおける多連印刷のページ配置の一例を示す図である。It is a figure which shows an example of the page arrangement | positioning of the multiple printing in the document processing system concerning this embodiment. 本実施形態に係る文書処理システムにおける多連印刷の原稿ページサイズと出力用紙サイズの相関関係例を示す図である。FIG. 6 is a diagram illustrating a correlation example between a document page size for multiple printing and an output paper size in the document processing system according to the present embodiment. 本実施形態に係る文書処理システムにおける多連印刷のOn/Offにおけるレイアウトの違いを示す図である。It is a figure which shows the difference in the layout in On / Off of the multiple printing 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 performing the multiple printing setting in the document processing system concerning this embodiment. 本実施形態に係る文書処理システムにおける多連印刷設定を施した場合に、画面のプレビュー表示形態の選択を行う画面の一例を示す図である。FIG. 10 is a diagram illustrating an example of a screen for selecting a screen preview display form when multiple print settings are performed in the document processing system according to the present embodiment. 本実施形態に係る文書処理システムにおける多連印刷の設定画面の一例を示す図である。It is a figure which shows an example of the setting screen of the multiple printing in the document processing system which concerns on this embodiment. 本実施形態に係る文書処理システムにおける多連印刷を設定した場合に断裁方向の指定によるレイアウト詳細設定画面の一例を示す図である。6 is a diagram illustrating an example of a layout detail setting screen by specifying a cutting direction when multiple printing is set in the document processing system according to the present embodiment. FIG. 本実施形態に係る文書処理システムにおける多連印刷設定時のレイアウトプレビュー表示の例を示す表図である。It is a table | surface figure which shows the example of the layout preview display at the time of the multiple printing setting in the document processing system which concerns on this embodiment. 本実施形態に係る文書処理システムにおける多連印刷を行う場合に、印刷指定紙を付加して出力する場合の一例を示す図である。FIG. 10 is a diagram illustrating an example of a case where print designation paper is added and output when performing multiple printing in the document processing system according to the present embodiment. 本実施形態に係る文書処理システムにおけるNページ設定をおこなうレイアウト設定画面の例を示す図である。It is a figure which shows the example of the layout setting screen which performs N page setting in the document processing system which concerns on this embodiment. 本実施形態に係る文書処理システムにおけるNページの多連印刷設定を施した場合のレイアウトイメージの例を示す図である。It is a figure which shows the example of the layout image at the time of performing the multiple-print setting of N pages in the document processing system concerning this embodiment. 本実施形態に係る文書処理システムにおける多連印刷設定のフロー図である。It is a flowchart of the multiple printing setting in the document processing system according to the present embodiment. 本実施形態に係る文書処理システムによる多連印刷設定のフローにおける多連レイアウト指定手順のフロー図である。FIG. 10 is a flowchart of a multiple layout designation procedure in a multiple print setting flow by the document processing system according to the present embodiment. 本実施形態に係る文書処理システムによる多連印刷設定のフローにおける断裁指定手順のフロー図である。It is a flowchart of the cutting designation | designated procedure in the flow of the multiple printing setting by the document processing system which concerns on this embodiment. 本実施形態に係る文書処理システムによる多連印刷設定のフローにおけるプレビュー表示手順のフロー図である。FIG. 10 is a flowchart of a preview display procedure in a flow of multiple print setting by the document processing system according to the present embodiment. 本実施形態に係る文書処理システムによる多連多連レイアウト処理のフロー図である。FIG. 5 is a flowchart of multiple and multiple layout processing by the document processing system according to the present embodiment. 本実施形態に係る文書処理システムにおける多連印刷とNページ印刷の混載設定を施すフロー図である。FIG. 10 is a flowchart for performing mixed loading setting for multiple printing and N-page printing in the document processing system according to the embodiment. 本実施形態に係る文書処理システムにおけるプレビューウインドウの操作に基づく編集処理のフロー図である。It is a flowchart of the edit process based on operation of the preview window in the document processing system which concerns on this embodiment. 本実施形態に係る文書処理システムにおける多連レイアウト文書の印刷処理のフロー図である。It is a flowchart of the printing process of the multiple layout document in the document processing system concerning this embodiment.

以下、図面を参照しながら本発明に係る実施の形態を詳細に説明する。   Hereinafter, embodiments according to the present invention will be described in detail with reference to the drawings.

<システム概要>
まず、本発明に係る文書処理システムの概要について、図1乃至図12を参照して以下に説明する。尚、この文書処理システムは、一般のアプリケーションによって作成されたデータファイルを電子原稿ファイルに変換する電子原稿ライタと、その電子原稿ファイルを編集する機能を提供する製本アプリケーションとを含み、作成されたデータを一まとめにした文書の作成及び編集を可能とし、その操作性を向上させて文書編集を効率的に行えるものである。
<System overview>
First, an outline of a document processing system according to the present invention will be described below with reference to FIGS. The document processing system includes an electronic manuscript writer that converts a data file created by a general application into an electronic manuscript file, and a bookbinding application that provides a function for editing the electronic manuscript file. It is possible to create and edit a document in which the above are integrated, improve the operability thereof, and efficiently edit the document.

<システム構成及び動作>
図1は、本実施形態の文書処理システムのソフトウェア構成を示す図である。文書処理システムは、本発明の情報処理装置に好適な実施形態であるデジタルコンピュータ101(以下、ホストコンピュータとも呼ぶ)によって実現されている。図1に示す一般アプリケーション101は、ワードプロセシングやスプレッドシート、フォトレタッチ、ドロー、あるいはペイント、プレゼンテーション、テキスト編集などの機能を提供するアプリケーションプログラムであり、OSに対する印刷機能を有している。これらのアプリケーションは、作成された文書データや画像データなどのアプリケーションデータを印刷する際に、オペレーティングシステム(OS)によって提供される所定のインタフェース(一般に、GDIと呼ばれる)を利用する。即ち、アプリケーション101は、作成したデータを印刷するために、上述のインタフェースを提供するOSの出力モジュールに対して、あらかじめ定められる、OSに依存する形式の出力コマンド(GDI関数と呼ばれる)を送信する。一方、出力コマンドを受けた出力モジュールは、その出力コマンドをプリンタ等の出力デバイスが処理可能な形式に変換して、変換されたコマンド(DDI関数と呼ばれる)を出力する。出力デバイスが処理可能な形式はデバイスの種類やメーカ、機種などによって異なるため、デバイスごとにデバイスドライバが提供されており、OSではそのデバイスドライバを利用してコマンドの変換を行い、印刷データを生成し、JL(Job Language)でくくることにより印刷ジョブが生成される。OSとしてマイクロソフト社のウィンドウズ(登録商標)を利用する場合には、前述した出力モジュールとしてはGDI(Graphic Device Interface)と呼ばれるモジュールが相当する。
<System configuration and operation>
FIG. 1 is a diagram showing a software configuration of the document processing system according to the present embodiment. The document processing system is realized by a digital computer 101 (hereinafter also referred to as a host computer) which is a preferred embodiment of the information processing apparatus of the present invention. A general application 101 shown in FIG. 1 is an application program that provides functions such as word processing, spreadsheet, photo retouching, drawing, 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 OS-dependent output command (referred to as a GDI function) to the OS output module that provides the above-described interface in order to print the created data. . On the other hand, the output module that has received the output command converts the output command into a format that can be processed by an output device such as a printer, and outputs the converted command (referred to as 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, and the OS uses that device driver to convert commands and generate print data. A print job is generated by enclosing with JL (Job Language). When using Microsoft Windows (registered trademark) as an 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 in detail. The format after conversion by the electronic document writer 102 (hereinafter referred to as an electronic document format) is not particularly limited as long as a document in units of pages can be expressed in a detailed format. Of substantial standard formats, for example, PDF format or SVG format by Adobe Systems can be adopted as the electronic document format.

一般アプリケーション101から電子原稿ライタ102を利用させる場合には、出力に使用するデバイスドライバとして電子原稿ライタ102を指定してから印刷を実行させる。但し、電子原稿ライタ102によって作成されたままの電子原稿ファイルは、電子原稿ファイルとして完全な形式を備えていない。そのため、デバイスドライバとして電子原稿ライタ102を指定するのは製本アプリケーション104であり、その管理下でアプリケーションデータの電子原稿ファイルへの変換が実行される。そして、製本アプリケーション104は電子原稿ライタ102が生成した新規の不完全な電子原稿ファイルを後述する形式を備えた電子原稿ファイルとして完成させる。以下、この点を明瞭に識別する必要がある場合、電子原稿ライタ102によって作成されたファイルを「電子原稿ファイル」と呼び、製本アプリケーション104によって構造を与えられた電子原稿ファイルを「ブックファイル」と呼ぶ。また、特に区別する必要がない場合は、アプリケーションにより生成されるドキュメントファイル、電子原稿ファイル、及びブックファイルをいずれも文書ファイル(または文書データ)と呼ぶ。   When using the electronic document writer 102 from the general application 101, 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 an 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. Then, 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 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 104 is called a “book file”. Call. 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 data by the general application 101, the application data is electronic in units of pages (hereinafter referred to as logical pages or document pages) defined by the application 101. It is converted into a 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 reads an electronic original file (or book file) 103 and provides a user with a function for editing the electronic original file (or book file) 103. 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に出力し、そのプリンタドライバ106がプリンタ107で解釈実行可能なページ記述言語等のコマンドに変換する。そして、変換されたコマンドはプリンタドライバ106から不図示のシステムスプーラを介してプリンタ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 out a designated book file from the hard disk and generates an output command suitable for the OS output module described above to print each page in the format described in the book file. Output to the output module. At that time, the printer driver 106 for the printer 107 used as the output device is designated as the device driver. The above-described output module converts the received output command into a device command and outputs the device command to the designated printer driver 106 for the printer 107, and the printer driver 106 converts the command into a command such as a page description language that the printer 107 can execute. Convert. The converted command is transmitted from the printer driver 106 to the printer 107 via a system spooler (not shown), and the printer 107 prints an image corresponding to the command.

図2は、コンピュータ100のハードウェアブロック図である。図2において、CPU201は、ROM203のプログラム用ROMに記憶された、あるいはハードディスク211からRAM202にロードされたOSや一般アプリケーション、製本アプリケーションなどのプログラムを実行し、図1のソフトウェア構成や、後述するフローチャートの手順を実現する。RAM202は、CPU201の主メモリ、ワークエリア等として機能する。キーボードコントローラ(KBC)205は、キーボード209や不図示のポインティングデバイスからのキー入力を制御する。CRTコントローラ(CRTC)206は、CRTディスプレイ210の表示を制御する。ディスクコントローラ(DKC)207は、ブートプログラム、種々のアプリケーション、フォントデータ、ユーザファイル、後述する編集ファイル等を記憶するハードディスク(HD)211やフレキシブルディスク(FD)等とのアクセスを制御する。PRTC208は、接続されたプリンタ107との間の信号の交換を制御する。NC212はネットワークに接続されて、ネットワークに接続された他の機器との通信制御処理を実行する。   FIG. 2 is a hardware block diagram of the computer 100. 2, a CPU 201 executes programs such as an OS, a general application, and a bookbinding application that are stored in a program ROM of the ROM 203 or loaded from the hard disk 211 to the RAM 202, and the software configuration in FIG. Realize the procedure. The RAM 202 functions as a main memory, work area, and the like for the CPU 201. 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 the CRT display 210. A disk controller (DKC) 207 controls access to a hard disk (HD) 211, a flexible disk (FD), or the like that stores a boot program, various applications, font data, user files, edit files (to be described later), and the like. The PRTC 208 controls the exchange of signals with the connected printer 107. The NC 212 is connected to the network and executes communication control processing with other devices connected to the network.

<電子原稿データの形式>
編集アプリケーション104の詳細を言及する前に、ブックファイルのデータ形式について説明する。ブックファイルは紙媒体の書物を模倣した3層の層構造を有する。まず、上位層は「ブック」と呼ばれ、1冊の本を模倣しており、その本全般に係る属性が定義されている。その下の中間層は、本でいう章に相当し、やはり「章」と呼ばれる。各章についても、章毎の属性が定義できる。そして、下位層は「ページ」であり、アプリケーションプログラムで定義された各ページに相当する。尚、各ページについてもページ毎の属性が定義できる。更に、一つのブックは複数の章を含んでいてよく、また一つの章は複数のページを含むこともできる。
<Electronic manuscript data format>
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 that mimics a paper medium book. First, the upper layer is called a “book”, imitating one book, and attributes related to the book in general 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 “page”, which corresponds to each page defined by the application program. For each page, attributes for each page can be defined. Further, one book may include a plurality of chapters, and one chapter may include a plurality of pages.

図3に示す(A)は、ブックファイルの形式の一例を模式的に示す図である。図示するように、この例では、ブックファイルにおけるブック,章,ページは、それぞれに相当するノードにより示されている。一つのブックファイルは一つのブックを含む。ブック,章は、ブックとしての構造を定義するための概念であるから、定義された属性値と下位層へのリンクとをその実体として含む。ページは、アプリケーションプログラムによって出力されたページ毎のデータを実体として有する。そのため、ページは、その属性値のほかに、原稿ページの実体(原稿ページデータ)と各原稿ページデータへのリンクを含む。   FIG. 3A is a diagram schematically illustrating an example of a book file format. As shown in the figure, in this example, 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, a page includes a document page entity (document page data) and a link to each document 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において、ブック301には、ブック属性が定義されていると共に、2つの章302A,302Bがリンクされている。このリンクにより、章302A,302Bがブック301に包含されていることが表示される。章302Aには、ページ303A,303Bがリンクされ、これらページが含まれることが示されている。各ページ303A,303Bにはそれぞれ属性値が定義され、その実体である原稿ページデータ(1)、(2)へのリンクが含まれる。これらリンクは、図3に示す(B)のように原稿ページデータ304のデータ(1),(2)を指し示し、ページ303A、303Bの実体が原稿ページデータ(1)、(2)であることを表示している。   In FIG. 3, a book 301 has a book attribute defined therein and two chapters 302A and 302B are linked. By this link, it is displayed that chapters 302A and 302B are included in book 301. The chapter 302A is linked to pages 303A and 303B, indicating that these pages are included. Each page 303A, 303B has an attribute value defined, and includes links to the original document page data (1), (2). These links indicate the data (1) and (2) of the original page data 304 as shown in (B) of FIG. 3, and the entities of the pages 303A and 303B are the original page data (1) and (2). Is displayed.

図4は、ブック属性のリストである。下位層と重複して定義可能な項目に関しては、下位層の属性値が優先採用される。そのため、ブック属性にのみ含まれる項目に関しては、ブック属性に定義された値はブック全体を通して有効な値となる。しかし、下位層と重複する項目については、下位層において定義されていない場合における既定値としての意味を有する。尚、図示された各項目は具体的に1項目に対応するのではなく、関連する複数の項目を含むものもある。   FIG. 4 is a list of book attributes. 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. Each illustrated item does not specifically correspond to one item, but may include a plurality of related items.

図5は章属性の、図6はページ属性のリストである。章属性とページ属性との関係もブック属性と下位層の属性との関係と同様である。   5 is a list of chapter attributes, and FIG. 6 is a list of page attributes. The relationship between chapter attributes and page attributes is the same as the relationship between book attributes and lower layer attributes.

図4〜図6から明らかなように、ブック属性に固有の項目は、印刷方法、製本詳細、表紙/裏表紙、インデックス紙、合紙、章区切り、多連印刷(多連レイアウト)設定の6項目である。これらはブックを通して定義される項目である。印刷方法の属性としては、片面印刷、両面印刷、製本印刷の3つの値を指定できる。ここで、製本印刷とは、別途指定する枚数の用紙を束にして2つ折りにし、その束をつづり合わせることで製本が可能となる形式で印刷する方法である。製本詳細属性としては、製本印刷が指定されている場合に、見開き方向や、束になる枚数等が指定できる。   As apparent from FIGS. 4 to 6, items unique to the book attributes are 6 for printing method, bookbinding details, front / back cover, index sheet, slip sheet, chapter break, and multiple print (multiple layout) setting. It is an item. These are items defined throughout the book. As printing method attributes, three values of single-sided printing, double-sided printing, and bookbinding printing can be designated. Here, bookbinding printing is a method of printing in a format that allows 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 insertion specifications of index sheets with ears separately prepared in the printing apparatus as chapter breaks and designation of print contents in the index (ear) portions. 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 a 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つの設定を含む。多連方法は、設定値として「2連」「4連」「多連レイアウト設定なし」と少なくともこの3つを示す値のいずれかを含む。2連とは、1枚のシートの片面(すなわち印刷ページ)に1の原稿ページを2つ配置したレイアウトである。シートの長手方向の中央の線で断裁することで、1枚のシートから2ページの出力物を得ることができる。これは、印刷時間の点でも1原稿ページずつ印刷するよりも有利であるが、加えて、1枚ごとに課金されるような保守システムでは、保守の料金を低減できる。4連とは、1枚の印刷ページに1の原稿ページを4つ配置したレイアウトである。シートを各辺の中央線で断裁することで、1枚のシートから4ページの出力物を得ることができる。N−up(Nページ)レイアウトと異なる点は、N−upでは相異なる原稿ページを縮小して1シートに配置するのに対して、多連レイアウトでは、ひとつの原稿ページを変倍せずに1印刷ページに配置する点である。したがって、2連レイアウトでは、シートサイズは原稿ページサイズの2倍になり、4連レイアウトでは4倍になる。   The multiple layout setting includes two settings of “multiple method” and “section selection”. The multiple method includes at least one of “2 stations”, “4 stations”, and “no multiple layout setting” as a setting value. The double is a layout in which two original pages are arranged on one side (that is, a print page) of one sheet. By cutting along the center line in the longitudinal direction of the sheet, an output product of two pages can be obtained from one sheet. This is more advantageous than printing one original page at a time in terms of printing time. In addition, a maintenance system that charges for each page can reduce the maintenance fee. The quadruple is a layout in which four original pages are arranged on one print page. By cutting the sheet along the center line of each side, an output product of 4 pages can be obtained from one sheet. The difference from the N-up (N-page) layout is that, in N-up, different manuscript pages are reduced and arranged on one sheet, whereas in a multiple layout, one manuscript page is not scaled. This is a point arranged on one print page. Therefore, in the double layout, the sheet size is twice the original page size, and in the quadruple layout, it is four times.

さらに、多連レイアウト設定には、特に「2連」が設定されている場合には、1印刷ページに配置される原稿ページの向きを「切り口選択」により指定できる。この指定は、原稿ページの断裁線をどの辺にするかという内容を含む。たとえば、「上」であれば、正立した原稿ページの上辺を断裁線とするように原稿ページは配置される。「下」であれば、正立した原稿ページの下辺を断裁線とするように原稿ページは配置される。「右」であれば、正立した原稿ページの右辺を断裁線とするように原稿ページは配置される。「左」であれば、正立した原稿ページの左辺を断裁線とするように原稿ページは配置される。ただし、上下の関係と左右の関係は、シートの方向によって決まるので、断裁線の辺の指定は、「上または右」か「下または左」のいずれかが指定できれば十分であるし、同様に「上または左」か「下または右」のいずれかが指定できる場合でも十分である。   Furthermore, when “double” is set in the multiple layout setting, the orientation of the document page arranged on one print page can be designated by “cut edge selection”. This designation includes the content of which side is the cutting line of the document page. For example, if “up”, the manuscript page is arranged so that the upper side of the erect manuscript page is a cutting line. If it is “bottom”, the manuscript page is arranged so that the bottom side of the erect manuscript page is a cutting line. If it is “right”, the document page is arranged so that the right side of the upright document page is a cutting line. If it is “left”, the manuscript page is arranged so that the left side of the upright manuscript page is a cutting line. However, since the vertical relationship and the horizontal relationship are determined by the direction of the sheet, it is sufficient to specify either “up or right” or “down or left” for the edge of the cutting line. It is sufficient if either "up or left" or "down or right" can be specified.

このように、多連レイアウト設定には、多連レイアウトを設定する多連方法情報と、1シートの配置される原稿ページの方向を指定する切り口選択情報とを含む。また、2連、4連のみならず、8連や16連などといったように、原稿ページを、その辺の長さの2のべき乗倍あるいは9連などといった整数倍の辺の長さを持つシートに配置することも可能である。ただし本実施形態では、多連レイアウトは2連又は4連のいずれかとする。   As described above, the multiple layout setting includes multiple method information for setting a multiple layout and cut edge selection information for specifying the direction of an original page on which one sheet is arranged. In addition, the original page is a sheet having a side length that is an integral multiple such as a power of 2 of the length of the side or 9 series, such as 8 series and 16 series as well as 2 series and 4 series. It is also possible to arrange them. However, in this embodiment, the multiple layout is either two or four.

章属性に関しては、章に固有の項目はなく、全てブック属性と重複する。従って、章属性における定義とブック属性における定義とが異なれば、章属性で定義された値が優先する。ブック属性と章属性とにのみ共通する項目は、用紙サイズ、用紙方向、N−up印刷指定、拡大縮小、排紙方法の5項目である。これらのうち、N−up印刷指定属性は1印刷ページに含まれる原稿ページ数を指定するための項目である。指定可能な配置としては、1×1、1×2、2×2、3×3、4×4などがある。排紙方法属性は、排出した用紙にステイプル処理を施すか否かを指定するための項目であり、この属性の有効性は使用する印刷装置がステイプル機能を有するか否かに依存する。   As for chapter attributes, there are no items unique to chapters, and all items overlap with book attributes. Therefore, 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. 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%として指定される。仮想論理ページ領域とは、原稿ページを、Nup等の指定に応じて配置した場合に、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 original page when the original page is arranged in accordance with designation of Nup 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. Here, the 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によるブックファイルの編集操作の一環として実現される。
<Book file generation procedure>
The book file has the structure and contents as described above. Next, a book file creation procedure by the bookbinding application 104 and the electronic document writer 102 will be described. The book file creation procedure is realized as part of the book file editing operation by the bookbinding application 104.

図7は、製本アプリケーション104によりブックファイルを開く際の手順である。まず、開こうとするブックファイルが、新規作成すべきものであるか、それとも既存のものであるか判定する(ステップS701)。新規作成の場合には、章を含まないブックファイルを新規に作成する(ステップS702)。新規に作成されるブックファイルは、図3の例で示せば、ブックノード301のみ有し、章のノードに対するリンクが存在しないブックのノードとなる。ブック属性は、新規作成用としてあらかじめ用意された属性のセットが適用される。そして、新規ブックファイルを編集するためのユーザインタフェース(UI)画面を表示する(ステップS703)。図11は、新規にブックファイルが作成された際のUI画面の一例である。この場合は、ブックファイルは実質的な内容を持たないため、UI画面1100には何も表示されない。   FIG. 7 shows a procedure when the bookbinding application 104 opens a book file. 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 S703). FIG. 11 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 1100.

一方、既存のブックファイルがあれば、指定されたブックファイルを開き(ステップS703)、そのブックファイルの構造、属性、内容に従ってユーザインタフェース(UI)画面を表示する。図10は、既存のブックファイルから指定されたブックファイルを表示するUI画面の一例である。UI画面1100は、ブックの構造を示すツリー部1101と、印刷された状態を表示するプレビュー部1102とを含む。ツリー部1101には、ブックに含まれる章、各章に含まれるページが図3に示す(A)のような木構造で表示される。ツリー部1101に表示されるページは原稿ページである。またプレビュー部1102には、印刷ページの内容が縮小されて表示される。その表示順序はブックの構造を反映したものとなっている。   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. 10 is an example of a UI screen that displays a book file designated from an existing book file. The UI screen 1100 includes a tree portion 1101 that shows a book structure, and a preview portion 1102 that displays a printed state. The tree portion 1101 displays chapters included in the book and pages included in each chapter in a tree structure as shown in FIG. A page displayed in the tree portion 1101 is a manuscript page. In the preview area 1102, the contents of the print page are reduced and displayed. The display order reflects the book structure.

さて、開かれたブックファイルには、電子原稿ライタ102によって電子原稿ファイルに変換されたアプリケーションデータを、新たな章として追加することができる。この機能を電子原稿インポート機能と呼ぶ。図7に示す手順によって新規に作成されたブックファイルに電子原稿インポートすることで、そのブックファイルには実体が与えられる。この機能は、図10の画面にアプリケーションデータをドラッグアンドドロップ操作することで起動される。   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 document into a newly created book file by the procedure shown in 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に電子原稿インポートの手順を示す。まず、指定されたアプリケーションデータを生成したアプリケーションプログラムを起動し、デバイスドライバとして電子原稿ライタ102を指定してアプリケーションデータを印刷出力させることで、電子原稿データに変換する(ステップS801)。変換を終えたなら、変換されたデータが画像データであるか否かを判定する(ステップS802)。この判定は、ウィンドウズ(登録商標)OSの下であれば、アプリケーションデータのファイル拡張子に基づいて行われる。例えば、拡張子が「bmp」であればウィンドウズ(登録商標)ビットマップデータであり、「jpg」であればjpeg圧縮された画像データ、「tiff」であればtiff形式の画像データであると判定できる。また、このような画像データの場合はS8010のようにアプリケーションを起動せずに、画像データから直接電子原稿ファイルを生成することが可能であるため、S8010の処理を省略することも可能である。   FIG. 8 shows an electronic document import procedure. 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 is made based on the file extension of the application data under the Windows (registered trademark) OS. For example, if the extension is “bmp”, it is Windows (registered trademark) bitmap data. it can. 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)。章属性としては、ブック属性と共通するものについてはブック属性の値がコピーされ、そうでないものについては、予め用意された規定値に設定される。   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 book file that is currently open (step S803). 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 preset value is set in advance.

また、ステップS802で画像データである場合には、原則として新たな章は追加されず、指定されている章に、ステップS801で生成された電子原稿ファイルに含まれる各原稿ページが追加される(ステップS804)。但し、ブックファイルが新規作成されたファイルであれば、新たな章が作成されて、その章に属するページとして電子原稿ファイルの各ページが追加される。ページ属性は、上位層の属性と共通のものについてはその属性値が与えられ、アプリケーションデータにおいて定義された属性を電子原稿ファイルに引き継いでいるものについてはその値が与えられる。例えば、Nup指定などがアプリケーションデータにおいて指定されていた場合には、その属性値が引き継がれる。このようにして、新規なブックファイルが作成され、あるいは、新規な章が追加される。   In the case of image data in step S802, a new chapter is not added in principle, 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. As for the page attribute, an attribute value is given to an attribute common to the upper layer attribute, and a value is given to an attribute that inherits the attribute defined in the application data in the electronic document file. For example, when Nup designation or the like is designated in the application data, the attribute value is inherited. In this way, a new book file is created or a new chapter is added.

図9は、図8に示すステップS801において、電子原稿ライタ102により電子原稿ファイルを生成させる手順のフローチャートである。まず、新たな電子原稿ファイルを作成してそれを開く(ステップS901)。指定したアプリケーションデータに対応するアプリケーションを起動し、電子原稿ライタをデバイスドライバとしてOSの出力モジュールに対して出力コマンドを送信させる。出力モジュールは、受信した出力コマンドを電子原稿ライタ102によって電子原稿形式のデータに変換し、出力する(ステップS902)。その出力先はステップS901で開いた電子原稿ファイルである。指定されたデータ全てについて変換が終了したか判定し(ステップS903)、終了していれば電子原稿ファイルを閉じる(ステップS904)。電子原稿ライタ102によって生成される電子原稿ファイルは、図3の(B)に示される原稿ページデータの実体を含むファイルである。   FIG. 9 is a flowchart of a procedure for generating an electronic document file by the electronic document writer 102 in step S801 shown in FIG. 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 as a device driver. The output module converts the received output command into electronic document format data by the electronic document writer 102 and outputs the converted data (step S902). The output destination is the electronic document file opened in step S901. It is determined whether the conversion has been completed for all the designated data (step S903). If the conversion has been 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 manuscript page data entity shown in FIG.

<ブックファイルの編集>
以上のようにして、アプリケーションデータからブックファイルを作成することができる。生成されたブックファイルについては、章及びページに対して次のような編集操作が可能である。
(1)新規追加
(2)削除
(3)コピー
(4)切り取り
(5)貼り付け
(6)移動
(7)章名称変更
(8)ページ番号名称振り直し
(9)表紙挿入
(10)合紙挿入
(11)インデックス紙挿入
(12)各原稿ページに対するページレイアウト。
<Edit book file>
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、図5に示す属性に操作結果が反映されたり、あるいはブックファイルの構造に反映される。例えば、ブランクページの新規追加操作を行えば、指定された箇所にブランクページが挿入される。このブランクページは原稿ページとして扱われる。また、原稿ページに対するレイアウトを変更すれば、その変更内容は、印刷方法やN−up印刷、表紙/裏表紙、インデックス紙、合紙、章区切りといった属性に反映される。反映されるとは、変更された属性等がブックファイルとして保存される、ということである。   In addition, an operation for canceling an editing operation once performed, and an operation for redoing the canceled operation are possible. With 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 Operation becomes possible. When these operations are performed, the operation results are reflected in the attributes shown in FIGS. 4 and 5, or in the book file structure. For example, if a blank page new addition operation is performed, a blank page is inserted at a designated 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. Reflected means that the changed attribute or the like is saved as a book file.

<ブックファイルの出力>
以上のように作成・編集されるブックファイルは、印刷出力を最終目的とするものである。ここで、利用者が図10に示した製本アプリケーションのUI画面1100からファイルメニューを選択し、そこから印刷を選択すると、指定した出力デバイスにより印刷出力される。この際、まず製本アプリケーション104は、現在開かれているブックファイルからジョブチケットを作成し、そのジョブチケットを電子原稿デスプーラ105に渡す。一方、電子原稿デスプーラ105は、ジョブチケットをOSの出力コマンド、例えばウィンドウズ(登録商標)のGDI関数に変換し、それを出力モジュール、例えばGDIに送信する。出力モジュールは、指定されたプリンタドライバ106によってデバイスに適したコマンドを生成し、そのデバイスに送信する。
<Output book file>
The book file created and edited as described above has a final purpose of print output. Here, when the user selects a file menu from the UI screen 1100 of the bookbinding application shown in FIG. 10 and selects print from there, the output is printed 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 the job ticket to the electronic document despooler 105. On the other hand, the electronic document despooler 105 converts the job ticket into an OS output command, for example, a Windows (registered trademark) GDI function, 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.

ここで、ジョブチケットは原稿ページを最小単位とする構造を有するデータである。ジョブチケットにおける構造は、用紙上における原稿ページのレイアウトを定義している。ジョブチケットは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, 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 feeding 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.

電子原稿デスプーラ105は、上述のジョブチケットを、出力モジュールへの出力コマンドに変換する。   The electronic document despooler 105 converts the above-described job ticket into an output command to the output module.

<そのほかのシステム構成>
本実施形態の文書処理システムの概要は以上のようなものである。これはスタンドアロン型のシステムであるが、これを拡張したサーバクライアントシステムでもほぼ同様の構成・手順でブックファイルを作成・編集できる。但し、ブックファイルや印刷処理はサーバによって管理される。
<Other system configurations>
The outline of the document processing system of this embodiment is as described above. Although this is a stand-alone system, a book file can be created and edited with almost the same configuration and procedure even on a server client system that is an expanded system. However, book files and print processing are managed by the server.

図12は、サーバクライアント型文書処理システムの構成を示すブロック図である。クライアント文書処理システムは、スタンドアロン型システムに、クライアントモジュールであるDOMS(Document Output Management Service:文書出力管理サービス)ドライバ109及びDOMSプリントサービスモジュール110、DS(文書サービス)クライアントモジュール108を加えた構成を有する。このクライアント文書処理システム1200に文書管理サーバ1201、印刷集中管理サーバ1202及びプリントサーバ1203が接続されている。これらサーバは、通常ネットワークによってクライアント文書処理システムと接続されるが、サーバが同時にクライアントとしても機能する場合には、ネットワーク間の通信をシミュレートするプロセス間通信によって接続される。   FIG. 12 is a block diagram showing the configuration of the 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.

尚、図12に示す例では、文書管理サーバ1201と印刷集中管理サーバ1202の両方のサーバがクライアントに接続されているが、何れか一方のみネットワーク上に存在する場合もあり得る。例えば、接続されているサーバが文書管理サーバであれば、そのクライアントモジュール108を含む文書管理サーバクライアントシステム1201SCが、また印刷集中管理サーバ1202であれば、そのクライアントモジュールを含む印刷管理サーバクライアントシステム1202SCが、スタンドアロン型文書管理システムに追加される。   In the example shown in FIG. 12, 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. For example, if the connected server is a document management server, the document management server client system 1201SC including the client module 108 is used. If the connected server is the print central management server 1202, the print management server client system 1202SC including the client module is used. Will be added to the stand-alone 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 with the client printer, and when printing with 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.

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

<ステイプル制御>
次に、ステイプル機能を有するプリンタと接続するコンピュータ100の製本アプリケーション104によって行われるステイプル制御について説明する。
<Stapling control>
Next, stapling control performed by the bookbinding application 104 of the computer 100 connected to a printer having a stapling function will be described.

図13は、ステイプル制御システムの構成を示すブロック図である。図示するように、ステイプル制御システムは、図2に示したホストコンピュータ100とステイプル機能を有するプリンタ107とで構成される。   FIG. 13 is a block diagram showing the configuration of the staple control system. As shown in the figure, the staple control system includes the host computer 100 shown in FIG. 2 and a printer 107 having a staple function.

以下、プリンタ107の構成について説明する。尚、本発明の機能が実現されるのであれば、単体の機器であっても、複数の機器からなるシステムであっても、LAN,WAN等のネットワークを介して接続がなされ、処理が行われるシステムであっても本発明を適用できる。   Hereinafter, the configuration of the printer 107 will be described. If the function of the present invention is realized, a single device or a system composed of a plurality of devices can be connected and processed via a network such as a LAN or WAN. The present invention can be applied even to a system.

図示するように、プリンタ107において、1301はプリンタCPUであり、ROM1302内のプログラム用ROMに記憶された制御プログラム等や外部メモリ1303に記憶された制御プログラム等に基づいてシステムバス1304に接続される印刷部I/F1305を介して、印刷部(プリンタエンジン)1306に出力情報としての画像信号を出力する。印刷部1306にはフィニッシャ部1310が接続されている。フィニッシャ部1310にはステイプル機能を実現するためのステープラが備えられている。このフィニッシャ部1310は一般に市販されているディジタル複合機などで実現されている。   As shown in the figure, in the printer 107, reference numeral 1301 denotes a printer CPU, which is connected to a system bus 1304 based on a control program stored in a program ROM in a ROM 1302 or a control program stored in an external memory 1303. An image signal as output information is output to the printing unit (printer engine) 1306 via the printing unit I / F 1305. A finisher unit 1310 is connected to the printing unit 1306. The finisher unit 1310 is provided with a stapler for realizing a staple function. The finisher unit 1310 is implemented by a commercially available digital multi-function peripheral.

また、このROM1302内のプログラムROMには、CPU1301の制御プログラム等が記憶され、ROM1302内のフォント用ROMには、出力情報を生成する際に使用するフォントデータ等が記憶され、ROM1302内のデータ用ROMには、ハードディスク等の外部メモリ1303がないプリンタの場合、ホストコンピュータ100上で利用される情報等が記憶されている。   In addition, the program ROM in the ROM 1302 stores a control program of the CPU 1301, and the font ROM in the ROM 1302 stores font data used for generating output information. The ROM stores information used on the host computer 100 in the case of a printer that does not have an external memory 1303 such as a hard disk.

また、CPU1301は、入力部1307を介してホストコンピュータ100との通信処理が可能となっており、プリンタ107内の情報等をホストコンピュータ100に通知できる。RAM1308は、CPU1301の主メモリや、ワークエリア等として機能するRAMであり、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。   The CPU 1301 can perform communication processing with the host computer 100 via the input unit 1307 and can notify the host computer 100 of information in the printer 107 and the like. The RAM 1308 is a RAM that functions as a main memory, a work area, or the like of the CPU 1301 and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).

尚、RAM1308は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。上述したハードディスク(HD)、ICカード等の外部メモリ1303は、メモリコントローラ(MC)1309によりアクセスを制御される。外部メモリ1303は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、操作パネル1311は操作のためのスイッチ及びLED表示器等で構成されている。   The RAM 1308 is used as an output information expansion area, environment data storage area, NVRAM, and the like. Access to the above-described external memory 1303 such as a hard disk (HD) or IC card is controlled by a memory controller (MC) 1309. The external memory 1303 is connected as an option and stores font data, an emulation program, form data, and the like. In addition, the operation panel 1311 includes switches for operation, LED indicators, and the like.

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

<多連レイアウト>
次に、本発明に係る多連レイアウトについて詳しく説明を行う。本実施の形態の係わる製本アプリケーション104では、上述までのように、ブックファイル内のブック、章、ページに対してそれぞれの属性を設定することができる。また、ブックファイルは、図3を参照して前述したように階層構造になっており、ブック属性がある値に設定されれば、ブック属性の下層に位置している章属性も同様の設定値に変更される。同様に、章属性が変更されれば、章属性の下層に位置しているページ属性も変更される。例えば、図3(A)のような2つの章と4ページからなる構成のブック属性301において出力用紙サイズA4が設定された場合には、そのブックに含まれる全てのページの属性がA4サイズとなる。また、このブック属性に含まれる図3(A)の章属性302Bにおいて、出力用紙サイズA3と設定された場合は、同様にその章属性の下層に位置しているページ属性303C、303Dの出力用紙サイズもA3となる。更に、ここでブック属性301が変更されたとしても、章属性302Bと、この章属性302Bの下層のページはそのブック属性の301の変更が影響されないようにできる。このように、章における用紙サイズなどの属性設定において下層のページは全て連動するようになっている。
<Multiple layout>
Next, the multiple layout according to the present invention will be described in detail. As described above, the bookbinding application 104 according to the present embodiment can set attributes for books, chapters, and pages in a book file. The book file has a hierarchical structure as described above with reference to FIG. 3. If the book attribute is set to a certain value, the chapter attribute located below the book attribute also has the same set value. Changed to Similarly, if the chapter attribute is changed, the page attribute located below the chapter attribute is also changed. For example, when the output paper size A4 is set in the book attribute 301 having two chapters and four pages as shown in FIG. 3A, the attributes of all pages included in the book are A4 size. Become. Further, when the output paper size A3 is set in the chapter attribute 302B of FIG. 3A included in the book attribute, the output paper of the page attributes 303C and 303D that are similarly positioned below the chapter attribute. The size is also A3. Further, even if the book attribute 301 is changed here, the chapter attribute 302B and the page under the chapter attribute 302B can be prevented from being affected by the change of the book attribute 301. In this way, all the lower-level pages are linked in the attribute setting such as the paper size in the chapter.

多連印刷は、印刷後の裁断を前提とし、一枚の用紙上に複数部数分の原稿ページを配置した印刷結果を出力する事を目的として、同一データを用紙上に並べて印刷する機能である。図25に多連印刷設定のフロー図を示す。   Multiple printing is a function that prints the same data side by side on a sheet for the purpose of outputting a printing result in which a plurality of original pages are arranged on one sheet on the premise of cutting after printing. . FIG. 25 shows a flow chart of multiple print setting.

図25は製本アプリケーション104による手順の一部であり、図2のコンピュータにより実行される。これは他のフローチャートも同様である。図25において、ステップS2501にてドキュメントの詳細設定の指定を行う。この設定は、たとえば図10に示すような製本アプリケーション104のユーザインタフェース画面においてメニューから「印刷形式」を操作者が選択すると表示されるプルダウンメニューから「ドキュメントの印刷設定」を選択することで行われる。次にステップS2502に進み、ドキュメントの印刷設定から「仕上げ」タブを操作者が選択することで、多連レイアウトの設定が行える。この時点で表示されるユーザインタフェースの一例を図19に示す。   FIG. 25 shows a part of the procedure by the bookbinding application 104, which is executed by the computer of FIG. The same applies to other flowcharts. In FIG. 25, the detailed setting of the document is designated in step S2501. This setting is performed, for example, by selecting “document print setting” from the pull-down menu displayed when the operator selects “print format” from the menu on the user interface screen of the bookbinding application 104 as shown in FIG. . In step S2502, the operator selects the “Finishing” tab from the document print settings, so that multiple layouts can be set. An example of the user interface displayed at this time is shown in FIG.

ここで、多連レイアウトにおいて複製される単位となるのは、多連レイアウト設定がされていない状態における1印刷ページである。すなわち、Nページレイアウトがされていない場合であれば、1原稿ページが複製される単位となる。しかし、Nページレイアウトが設定されている場合には、1印刷ページに配置されるN原稿ページの組が、多連レイアウトの単位となる。たとえば、2ページレイアウト(2イン1レイアウト)が設定されている場合、第1番目の原稿ページと第2番目の原稿ページとが1印刷ページに縮小配置される。多連レイアウト設定、たとえば2連設定がされていると、この第1番目の原稿ページと第2番目の原稿ページとが縮小配置された本来の1印刷ページが、多連レイアウトの単位となり、その複製物が複数(2連では2つ)配置された印刷ページ(これを特に多連印刷ページと呼ぶことにする。)が形成される。このように、多連レイアウトにおいて複製の単位となるのは、多連レイアウト設定がされていないとすれば1印刷ページに配置される内容である。この多連レイアウトにおける複製の単位を便宜的に基本原稿ページ(あるいは単に基本ページ)と呼ぶことにする。Nイン1レイアウトがされていない場合には、原稿ページと基本ページとは一致する。しかし、Nイン1レイアウトが設定されている場合には、N原稿ページにより1の基本ページが構成される。   Here, the unit to be duplicated in the multiple layout is one print page in a state where the multiple layout setting is not performed. That is, if the N-page layout is not performed, this is a unit for copying one original page. However, when the N page layout is set, a set of N manuscript pages arranged on one print page becomes a unit of the multiple layout. For example, when a two-page layout (2-in-1 layout) is set, the first document page and the second document page are reduced and arranged on one print page. When a multiple layout setting, for example, a two-line setting is performed, the original one print page in which the first document page and the second document page are reduced and arranged is a unit of the multiple layout. A print page in which a plurality of duplicates (two in a duplex) are arranged (this will be referred to as a “multiple print page”) is formed. As described above, in the multiple layout, the unit of duplication is the contents arranged on one print page if the multiple layout is not set. For the sake of convenience, the duplication unit in this multiple layout is called a basic manuscript page (or simply a basic page). When the N-in-1 layout is not performed, the manuscript page matches the basic page. However, when the N-in-1 layout is set, one basic page is composed of N document pages.

一方多連レイアウト(多連印刷)設定を行わない場合は、製本設定を行うことができる。多連レイアウトは印刷後に裁断する事を前提とした機能であるので、多連レイアウトを設定する場合は、製本機能のステイプル、パンチといったフィニッシング指定は同時に指定できない。これは、多連レイアウトが設定されていたなら、制限されるフィニッシングの設定がユーザインタフェース画面において表示しないことで実現できる。また、設定されていても、多連レイアウトの場合にはそれらフィニッシング設定は無視される。   On the other hand, when the multiple layout (multiple print) setting is not performed, the bookbinding setting can be performed. Since the multiple layout is a function premised on cutting after printing, finishing specification such as stapling and punching of the bookbinding function cannot be specified at the same time when the multiple layout is set. This can be realized by not displaying the limited finishing setting on the user interface screen if the multiple layout has been set. Even if they are set, these finishing settings are ignored in the case of a multiple layout.

以下に示す設定は多連レイアウトと併存できない設定項目例である。
(1)ステイプル(部分ステイプル)
(2)パンチ
(3)Z折り
(4)インサータを使った表紙
(5)インデックス紙
(6)製本印刷
(7)用紙混載
(8)部単位/グループ。
The following settings are examples of setting items that cannot coexist with the multiple layout.
(1) Staple (partial staple)
(2) Punch
(3) Z-fold
(4) Cover using inserter
(5) Index paper
(6) Bookbinding printing
(7) Mixed paper
(8) Unit / group.

多連レイアウト(多連印刷)を指定すると、(1)〜(5)の設定はクリアされるか、あるいは印刷実行時に無視される。また、(6)、(7)が指定されている場合、多連が設定できないようにGUIが制御される。具体的には、たとえば図19の多連レイアウト欄1901が仕上げタブに表示されない。(8)は多連印刷の時には選択できない。多連の場合、常に部単位で固定される。   When multiple layout (multiple printing) is specified, the settings (1) to (5) are cleared or ignored when printing is executed. In addition, when (6) and (7) are specified, the GUI is controlled so that multiple sets cannot be set. Specifically, for example, the multiple layout column 1901 in FIG. 19 is not displayed on the finishing tab. (8) cannot be selected for multiple printing. In the case of multiples, it is always fixed in units.

さて、ステップS2503で多連レイアウトをオペレータが選択して操作する場合、ステップS2504に進む。なおステップS2503はオペレータの意思による分岐であって、製本アプリケーション104自体の処理ではない。   If the operator selects and operates the multiple layout in step S2503, the process proceeds to step S2504. Note that step S2503 is a branch based on the operator's intention, not the bookbinding application 104 itself.

さてステップS2504においては、用紙上に展開するレイアウト(2連、4連等)の設定をオペレータの操作に応じて行う。図19に設定ダイアログのユーザインタフェースの一例を示す。オペレータは多連レイアウト設定欄1901において、「2連」「4連」などの選択肢から所望の値を選択できる。そして、設定に応じた値が、ブック属性の多連レイアウト設定情報の多連方法として格納される(ただしOKまたは適用ボタン押下後)。   In step S2504, the layout (two series, four series, etc.) to be developed on the paper is set according to the operation of the operator. FIG. 19 shows an example of the user interface of the setting dialog. The operator can select a desired value from options such as “2 stations” and “4 stations” in the multiple layout setting field 1901. Then, a value corresponding to the setting is stored as a multiple method of the multiple layout setting information of the book attribute (however, after OK or the apply button is pressed).

次にステップS2505に進み、2連の場合は用紙断裁後の断裁面をこれもオペレータの操作に応じて設定する。図20に断裁面指定のダイアログイメージを示す。オペレータは詳細設定1902を選択することで、断裁面(切り口)選択が可能である。そして多連印刷の断裁面を指定することで、断裁線がどの辺とするかを指定できる。図20では、「原稿に対して断裁線をそろえる」チェックボックスをチェックすると、切り口を原稿のどの辺にするか選択できる。選択された値は多連レイアウト設定情報の「切り口選択」として保存される。また、図20のアイコン2002として、多連レイアウトが「多連方法選択」、「切り口選択」で設定された項目と連動して、レイアウトの概要を示す画像が表示される。その例を図21に示す。図21の上下の欄は、それぞれ用紙方向が縦、横それぞれについて場合分けされている。用紙方向が縦の場合には、2連レイアウトが設定されており、切り口の指定がなければアイコン2101が、切り口が上または下であれば、アイコン2102,2103それぞれが表示される。4連であればアイコン2104が表示される。用紙方向が横の場合には、2連レイアウトが設定されており、切り口の指定がなければアイコン2101が、切り口が上または下であれば、アイコン2102,2103それぞれが表示される。4連であればアイコン2104が表示される。   Next, in step S2505, in the case of double, the cut surface after paper cutting is also set according to the operation of the operator. FIG. 20 shows a dialog image for designating the cut surface. The operator can select a cut surface (cut) by selecting the detailed setting 1902. By specifying the cut surface for multiple printing, it is possible to specify which side the cutting line is to be used for. In FIG. 20, when the “Align cutting line to document” check box is checked, it is possible to select which side of the document is the cut edge. The selected value is stored as “Cut Selection” in the multiple layout setting information. In addition, as an icon 2002 in FIG. 20, an image showing an outline of the layout is displayed in conjunction with the items for which the multiple layout is set in “multiple method selection” and “section selection”. An example is shown in FIG. The upper and lower columns in FIG. 21 are divided into cases where the paper direction is vertical and horizontal, respectively. When the paper direction is vertical, a double layout is set. If the cut edge is not specified, the icon 2101 is displayed. If the cut edge is up or down, the icons 2102 and 2103 are displayed. If there are four stations, an icon 2104 is displayed. When the paper direction is horizontal, a double layout is set. If the cut edge is not specified, the icon 2101 is displayed. If the cut edge is up or down, the icons 2102 and 2103 are displayed. If there are four stations, an icon 2104 is displayed.

次にステップS2506に進み、オペレータの操作に従って出力用紙の片面、両面設定を行う。両面設定された場合には、多連印刷後の断裁した成果物が多連レイアウトが設定されていない状態(「多連レイアウトなし」)で両面設定を施した場合に指定される表面、裏面と同一になるようにする。また、ステップS2504からステップS2506においては、設定順は不同で構わない。   In step S2506, one side or both sides of the output paper is set according to the operation of the operator. When double-sided is set, the front and back sides specified when the double-sided setting is applied to the cut-out product after multi-printing when multi-layout is not set ("No multi-layout") To be identical. Further, in step S2504 to step S2506, the setting order may be the same.

次にステップS2507に進み多連印刷設定に基づき、出力用紙サイズが決定される。たとえば、原稿ページがA4で2連レイアウトが設定されていれば、A4の原稿ページを1印刷ページに2ページ配置することになるので、用紙サイズはA3となる。同様に4連であればA2となる。しかし印刷する出力装置の能力によって出力される用紙サイズが限定されるので、元となる原稿ページの用紙サイズから多連のレイアウト(2連、4連等)が自動で制限される。たとえば、元の原稿ページがA4であり、印刷最大サイズがA3であれば、4連レイアウトは設定できない。これはユーザインタフェースで制限される。   In step S2507, the output paper size is determined based on the multiple print setting. For example, if the document page is A4 and the double layout is set, two pages of A4 document pages are arranged on one print page, so the paper size is A3. Similarly, if there are 4 stations, A2. However, since the output paper size is limited by the ability of the output device to print, multiple layouts (two, four, etc.) are automatically limited based on the paper size of the original document page. For example, if the original document page is A4 and the maximum print size is A3, the quadruple layout cannot be set. This is limited by the user interface.

多連レイアウトの設定が施されたらステップS2508に進み、モニタ表示用の中間データ、すなわち出力文書データが生成され、着目文書データのプレビュー表示がされる。プレビュー機能としては、原稿ページ毎のプレビューと多連印刷の出力イメージをプレビューする機能を提供する。このプレビューの表示切替例を図18に示す。プレビューモードとして、「原稿プレビュー」「仕上がりプレビュー」「簡易印刷プレビュー」に加えて「紙ベースプレビュー」モードが、メニュー欄1801から選択可能である。いずれかを選択することで、表示もモードに応じて切り替えられる。紙ベースプレビューでは、印刷出力される用紙と、その上に配置される原稿ページのレイアウトが、プレビュー画像として表示される。   When the multiple layout is set, the process advances to step S2508 to generate intermediate data for monitor display, that is, output document data, and display preview of the document data of interest. As the preview function, a preview function for each original page and a function for previewing an output image of multiple printing are provided. An example of this preview display switching is shown in FIG. As a preview mode, a “paper-based preview” mode can be selected from the menu column 1801 in addition to “original preview”, “finished preview”, and “simple print preview”. By selecting either one, the display can be switched according to the mode. In the paper-based preview, the paper to be printed and the layout of the manuscript page placed thereon are displayed as a preview image.

また、紙ベースプレビューモードにおける多連印刷のプレビューの表示例を図17に示す。多連印刷は同一用紙上に複数の基本ページ(Nイン1レイアウトでなければ原稿ページ)が印刷されるような形式でプレビュー表示される。そこで、編集対象を明確にすることや、Nページ(Nイン1レイアウト)印刷と区別することなどを目的として、編集対象となる1の基本ページとその他の編集対象とならない複製の基本ページとを濃淡で識別可能に表示させている。図17の2連レイアウトの例では、編集対象となる原稿ページは一つで残りは編集対象ではないことを示すために、右側の原稿ページは通常の表示で、それ以外は淡い色調にして表示させる。ただし識別可能とする方法は仕様上特に規定しない。ドラッグアンドドロップ操作のターゲットラインはNイン1レイアウトで表示された印刷ページの内部には表示せずに、1イン1と同様に印刷ページの間にだけ表示するという制限を設ける。なおターゲットラインとは、ドラッグアンドドロップ操作でページをハンドリングする際に、ドロップした領域を明確に区別するために表示させる
バー(境界線)をいう。また、多連印刷設定時は、印刷後の裁断を意図していることが分かるように断裁位置の表示を行う。断裁位置の表示例としては、単なる点線だけでなく「はさみ」をイメージした画像などをつけて、断裁されるべき線であることを示すのが望ましい。
Further, FIG. 17 shows a display example of preview for multiple printing in the paper base preview mode. In the multiple printing, a preview is displayed in a format in which a plurality of basic pages (original pages if N-in-1 layout is not printed) are printed on the same sheet. Therefore, for the purpose of clarifying the editing target and distinguishing it from N-page (N-in-1 layout) printing, one basic page to be edited and other basic pages to be copied that are not to be edited. It is displayed so as to be distinguishable by shading. In the example of the double layout in FIG. 17, in order to indicate that there is one original page to be edited and the rest are not to be edited, the right side original page is displayed in a normal display, and the others are displayed in a light color tone. Let However, there is no specific specification for how to make it identifiable. The target line of the drag-and-drop operation is not displayed inside the print page displayed in the N-in-1 layout, but is limited to be displayed only between the print pages as in the case of 1-in-1. The target line is a bar (boundary line) that is displayed in order to clearly distinguish a dropped area when handling a page by a drag and drop operation. When multiple printing is set, the cutting position is displayed so that it can be understood that cutting after printing is intended. As a display example of the cutting position, it is desirable to indicate not only a mere dotted line but also an image reflecting “scissors” to indicate that the line is to be cut.

多連レイアウト設定がされている場合(設定オン)とされていない場合(設定オフ)それぞれにおけるレイアウトの違いを図14に示す。図14の左側1401が多連設定オフの状態におけるレイアウトの例である。用紙の左上から(x, y)の位置に、幅がw、高さがhの矩形(基本ページの内容に相当する。)が描画されている。図14の右側1402が多連レイアウト設定(4連)された場合のレイアウト例である。用紙の幅、高さをそれぞれW,Hとすると、用紙の左上から(0, 0), (W/2, 0), (0, H/2), (W/2, H/2)を基準にして、それぞれ(x, y)の位置に(幅, 高さ)が(w, h)の矩形を描画する。つまり用紙の左上からは、(x, y), (x+W/2, y), (x, y+H/2), (x+W/2, y+H/2)の位置に幅高さ(w, h)の図形が描画される。このように、同じ基本ページが複製されて配置される。   FIG. 14 shows a difference in layout when the multiple layout setting is made (setting on) and when it is not (setting off). The left side 1401 of FIG. 14 is an example of the layout in a state where the multiple setting is off. A rectangle having a width of w and a height of h (corresponding to the contents of the basic page) is drawn at the position (x, y) from the upper left of the sheet. The right side 1402 of FIG. 14 is a layout example when multiple layout setting (four stations) is performed. If the width and height of the paper are W and H, respectively, (0, 0), (W / 2, 0), (0, H / 2), (W / 2, H / 2) from the upper left of the paper Draw a rectangle with (w, h) (w, h) at each (x, y) position as a reference. In other words, from the upper left of the paper, the width is at the position (x, y), (x + W / 2, y), (x, y + H / 2), (x + W / 2, y + H / 2) A figure of height (w, h) is drawn. In this way, the same basic page is duplicated and arranged.

図15は多連レイアウトの基準用紙サイズの例を示す。すなわち図25のステップS2507では、図15の表に従って用紙サイズが決定される。そこで、図15の表は、製本アプリケーション104が、そのデータとしてハードディスク等に保存しておいてもよい。図15において、最大用紙サイズはA3と決められている。多連レイアウトの元になるサイズ(すなわち元原稿ページ)1501が決まっていれば、「2連」レイアウトなら、縦又は横がその2倍となるサイズが新たな用紙サイズとなり、「4連」レイアウトなら、縦、横双方がその2倍となるサイズが新たな用紙サイズとなる。   FIG. 15 shows an example of the reference sheet size of the multiple layout. That is, in step S2507 in FIG. 25, the paper size is determined according to the table in FIG. Therefore, the table in FIG. 15 may be stored in the hard disk or the like as the data by the bookbinding application 104. In FIG. 15, the maximum sheet size is determined as A3. If the original size (ie, the original manuscript page) 1501 is determined, the double or double horizontal layout becomes the new paper size, and the “quadruple” layout. Then, a size that is twice that in both the vertical and horizontal directions becomes a new paper size.

また、2連レイアウトでは、上を揃えて印刷するだけではなく、どちらか一方のデータの向きを変更する設定が可能である。この場合のレイアウトの例を図16に示す。用紙方向が横で、用紙の幅、高さをそれぞれW,Hとする。たとえば左側を反転させた場合、用紙の左上から (W/2, 0)を基準にして、(x, y)の位置に(幅, 高さ)が(w, h)の矩形を描画する。また、用紙の左上から(W/2, H)を基準にして、(-x, -y)の位置に、180度回転した(幅, 高さ)が(w, h)の矩形を描画する。またたとえば右側を反転させた場合、用紙の左上から (0, 0)を基準にして、(x, y)の位置に(幅, 高さ)が(w, h)の矩形を描画する。また、用紙の左上から(W, H)を基準にして、(-x, -y)の位置に、180度回転した(幅, 高さ)が(w, h)の矩形を描画する。ここで左側を反転させた場合が、多連レイアウト設定の「切り口選択」の設定値の「左」または「上」に相当し、右側を反転させた場合が、多連レイアウト設定の「切り口選択」の設定値の「右」または「下」に相当する。もちろんこれは単なる取り決めであって、逆であってもかまわない。このように、切り口の指定に応じて、左側(又は上側)または、右側(又は下側)の基本ページを、180度回転させて印刷ページ上に配置する。   In the double layout, it is possible not only to print with the top aligned but also to change the direction of either one of the data. An example of the layout in this case is shown in FIG. The paper direction is horizontal, and the width and height of the paper are W and H, respectively. For example, if the left side is reversed, a rectangle with (w, h) of (w, h) is drawn at the position (x, y) with (W / 2, 0) as the reference from the upper left of the paper. Also, draw a rectangle with (w, h) (width, height) rotated 180 degrees at the position (-x, -y) with (W / 2, H) as the reference from the upper left of the paper . For example, when the right side is inverted, a rectangle with (w, h) of (w, h) is drawn at the position (x, y) from (0, 0) as the reference from the upper left of the paper. In addition, a rectangle with (w, h) (w, h) rotated by 180 degrees is drawn at the position (-x, -y) with respect to (W, H) from the upper left of the sheet. Inverting the left side here corresponds to “Left” or “Up” of the “Cut Selection” setting in the multiple layout setting, and “Right Selection” in the Multiple Layout setting is when the right side is inverted. Corresponds to “right” or “down” of the set value. Of course, this is just an arrangement and may be reversed. As described above, the left (or upper) or right (or lower) basic page is rotated 180 degrees and arranged on the print page according to the designation of the cut edge.

次に、図25のフローチャートをもう少し詳細に説明する。図26は図25のステップS2504の詳細である。ステップS2504では、オペレータに多連レイアウトを指定させる前に、まず多連レイアウトの元となるサイズ(基本ページ)に対する、使用するプリンタが供給可能な最大用紙サイズの比率を計算する(S2601)。そしてその比率が4倍以上であるか否か判定し、4倍以上であれば2連または4連のいずれかを選択肢として表示し(S2603)、4倍未満であれば2連を選択肢として表示させる(S2604)。そしてその選択肢からオペレータにより選択された多連レイアウト方法を、ブック属性の多連レイアウト設定情報の一部として保存する(S2605)。   Next, the flowchart of FIG. 25 will be described in a little more detail. FIG. 26 shows details of step S2504 of FIG. In step S2504, before allowing the operator to specify a multiple layout, first, the ratio of the maximum paper size that can be supplied by the printer to be used to the size (basic page) that is the basis of the multiple layout is calculated (S2601). Then, it is determined whether or not the ratio is 4 times or more, and if it is 4 times or more, either 2 or 4 stations are displayed as options (S2603), and if it is less than 4 times, 2 stations are displayed as options. (S2604). The multiple layout method selected by the operator from the options is stored as a part of the multiple layout setting information of the book attribute (S2605).

またステップS2505の詳細は図27の通りである。まず、ステップS2504で選択された他連レイアウト方法が2連レイアウトであるか判定する(S2701)。2連であれば切り口の選択に移る。本実施形態では、切り口は2連レイアウトの場合のみ設定させているが、4連レイアウトで設定させることもできる。さてステップS2702においては、用紙の方向が判定される。用紙方向は、ブック、章、ページと3層すべてで設定可能であるが、本実施形態では、ブック属性の用紙方向を参照する。これは、本例では多連レイアウトをブック単位で設定させており、原則として全ページ共通サイズとしているためである。これは、印刷物をまとめて断裁することで2部なり4部の印刷物を作成することが多連レイアウトの本来の目的だからである。   Details of step S2505 are as shown in FIG. First, it is determined whether the other layout method selected in step S2504 is a dual layout (S2701). If it is double, move to the selection of the cut end. In the present embodiment, the cut edge is set only in the case of a double layout, but can also be set in a quadruple layout. In step S2702, the paper direction is determined. The paper direction can be set in all three layers, book, chapter, and page, but in this embodiment, the paper direction of the book attribute is referred to. This is because in this example, the multiple layout is set for each book, and in principle, the size is common to all pages. This is because the original purpose of the multiple layout is to create two or four copies by cutting the printed materials together.

用紙方向が縦の場合、切り口選択として、上、下、指定なしのいずれかがを、オペレータの操作に応じて設定し(S2703)、多連レイアウト情報の一部として記録する(S2705)。用紙方向が横の場合、切り口として、右、左、指定なしのいずれかがを、オペレータの操作に応じて設定し(S2704)、多連レイアウト情報の一部として記録する(S2705)。   When the paper direction is vertical, either “up”, “down”, or “undesignated” is set as the cut edge selection according to the operation of the operator (S2703), and is recorded as a part of the multiple layout information (S2705). When the paper direction is horizontal, one of right, left, and no designation is set as the cut according to the operator's operation (S2704), and is recorded as part of the multiple layout information (S2705).

図28に図25のステップS2509におけるプレビュー表示処理の詳細を示す。ただし、図28では「紙ベース」モードの場合に限って示す。紙ベースモードでない場合、表示されるプレビュー画像には、多連レイアウトの設定が反映されず、プレビュー表示からは多連レイアウトであることを認識できないためである。   FIG. 28 shows details of the preview display process in step S2509 of FIG. However, FIG. 28 shows only in the “paper base” mode. This is because, when the mode is not the paper base mode, the setting of the multiple layout is not reflected in the displayed preview image, and the multiple display layout cannot be recognized from the preview display.

ステップS2801において、プレビューモードが「紙ベース」であるか判定する。紙ベースでなければ、その他設定されたプレビューモードに応じてプレビュー表示を行う。たとえば原稿ページモードであれば、シート上へのレイアウトは示されず、1つの原稿ページごとにその内容が表示される。   In step S2801, it is determined whether the preview mode is “paper base”. If it is not paper-based, preview display is performed according to the other set preview mode. For example, in the manuscript page mode, the layout on the sheet is not shown and the contents are displayed for each manuscript page.

一方「紙ベース」プレビューモードであれば、まず編集されている文書データから注目原稿ページを読む(S2802)。注目原稿ページは1ページに限らず、注目ページを含む基本ページ(これを注目基本ページと呼ぶ。)を構成するすべての原稿ページを読む。たとえばNイン1レイアウトの場合にはNページ分の原稿ページを注目原稿ページとして読み出す。次に、読み出された注目原稿ページを多連レイアウト設定情報およびNアップ(Nイン1と同義)設定情報に従って、注目原稿ページを印刷ページにレイアウトした中間データを作成する(S2803)。このとき、まずたとえばブック属性のNイン1レイアウト属性を参照し、設定設定されていれば、まず注目基本ページを構成する中間データをまず生成する。そして、その注目基本ページを多連レイアウト設定情報で指定される多連方法及び切り口選択にしたがって1印刷ページに配置した印刷ページの中間データを生成する。この中間データは、図1における電子原稿デスプーラ105の入力となる形式であり、プリンタドライバに入力すればプリンタ用のPDL形式に変換可能である。また、製本アプリケーション104が有するプレビュー表示用プログラムモジュール(不図示)により、印刷形式をシミュレートしたプレビュー画像データに変換可能である。もちろん、表示用と印刷用とで相異なる中間データを生成しもてもよい。中間データは、たとえば画像を構成する部品となるオブジェクトの定義や、画像を構成するオブジェクトの位置やサイズ、重複する順序などを記述したデータである。たとえば原稿ページが画像データであれば、生成される中間データは原稿ページをオブジェクトとしてその位置や重なり順序を記述したデータである。またたとえば、注目原稿ページが複数のオブジェクトを有するページデータである場合には、原稿ページのページデータとして含まれるオブジェクトの位置やサイズなどを、印刷ページ上におけるオブジェクトの位置やサイズに変換されたデータとなる。   On the other hand, in the “paper-based” preview mode, first, the document page of interest is read from the edited document data (S2802). The document page of interest is not limited to a single page, and all document pages constituting a basic page including the page of interest (referred to as a “basic page of interest”) are read. For example, in the case of N-in-1 layout, N pages of original pages are read out as target original pages. Next, intermediate data in which the read original page is laid out on the print page according to the multiple layout setting information and N-up (synonymous with N-in 1) setting information is created (S2803). At this time, first, for example, the N-in-1 layout attribute of the book attribute is referred to, and if it is set, intermediate data constituting the target basic page is first generated. Then, intermediate data of a print page in which the target basic page is arranged on one print page is generated according to the multiple method specified by the multiple layout setting information and the cut end selection. The intermediate data is in a format that is input to the electronic document despooler 105 in FIG. 1, and can be converted into a PDL format for a printer if input to the printer driver. In addition, a preview display program module (not shown) included in the bookbinding application 104 can convert the print format into preview image data. Of course, different intermediate data may be generated for display and for printing. The intermediate data is, for example, data describing the definition of the object that is a part constituting the image, the position and size of the object constituting the image, the overlapping order, and the like. For example, if the document page is image data, the generated intermediate data is data describing the position and overlapping order of the document page as an object. Further, for example, when the document page of interest is page data having a plurality of objects, the data obtained by converting the position and size of the object included as the page data of the document page into the position and size of the object on the print page It becomes.

次にステップS2804では、作成された中間データから、プレビュー表示用の縮小画像を生成する。これは中間データに記述されたオブジェクトを、記述された位置に配置してプレビュー表示するサイズのビットマップ画像データに変換する処理である。   In step S2804, a reduced image for preview display is generated from the created intermediate data. This is a process of converting an object described in the intermediate data into bitmap image data of a size arranged at the described position and displayed as a preview.

このとき、縮小画像には断裁線を付加し、1印刷ページに配置される編集対象となる基本ページとそれ以外の基本ページとを表示上識別可能に加工する(S2805)。図28では作成後のプレビュー画像に断裁線を付加等しているが、もちろんステップS2803でプレビュー表示用の中間データを作成する際に断裁線を付加し、編集対象の基本ページと非編集対象の基本ページとを表示上識別可能に加工しておいてもよい。この場合、ステップS2804で生成された縮小画像には断裁線が含まれている。また、表示上識別可能であるとは、たとえば非編集対象ページの彩度や輝度を下げたり、編集対象の基本ページに枠を付するなどして区別できる。また、編集対象の基本ページとその他の基本ページとは編集操作を簡略化するための便宜的に区別である。切り口選択の設定値によっては、プレビュー表示された印刷ページ上で天地が反転している基本ページ(原稿ページ)もあるので、そのような天地が逆になった基本ページは複製として編集操作ができないように表示するのが望ましい。   At this time, a cut line is added to the reduced image, and the basic page to be edited arranged on one print page and the other basic pages are processed so as to be distinguishable on display (S2805). In FIG. 28, a cutting line is added to the created preview image. Of course, a cutting line is added when creating intermediate data for preview display in step S2803, and the basic page to be edited and the non-editing target page are displayed. The basic page may be processed so that it can be identified on the display. In this case, the reduced image generated in step S2804 includes a cutting line. In addition, the fact that it can be identified on the display can be distinguished by, for example, lowering the saturation or luminance of the non-editing target page or adding a frame to the basic page to be edited. Also, the basic page to be edited and other basic pages are distinguished for convenience in order to simplify the editing operation. Depending on the setting value of the cut edge selection, there is a basic page (original page) with the top and bottom reversed on the print page displayed in the preview, so that the basic page with the top and bottom reversed cannot be edited as a duplicate. It is desirable to display as follows.

ステップS2806では、生成した注目基本ページを含む印刷ページのプレビュー画像を、RAM等に確保されたプレビュー用のバッファに格納する。ステップS2807では、文書全体についてプレビュー画像の生成を終了したか判定し、終了していなければステップS2809で次の注目基本ページを読んで、ステップS2803に分岐する。一方、終了していれば、製本アプリケーション104のユーザインタフェースのプレビューウインドウに、作成したプレビュー用画像を表示させる。もちろんウインドウサイズは限られているので、文書が大きい場合には、作成したプレビュー用画像の一部が、操作に応じてスクロール表示される。このスクロール表示などはオペレーティングシステムで提供される機能の一部として実現可能である。   In step S2806, the preview image of the print page including the generated basic page of interest is stored in a preview buffer secured in the RAM or the like. In step S2807, it is determined whether the generation of the preview image has been completed for the entire document. If not completed, the next basic page of interest is read in step S2809 and the process branches to step S2803. On the other hand, if completed, the created preview image is displayed in the preview window of the user interface of the bookbinding application 104. Of course, since the window size is limited, when the document is large, a part of the created preview image is scroll-displayed according to the operation. This scroll display or the like can be realized as a part of functions provided by the operating system.

こうしてステップS2808で表示される「紙ベース」モードのプレビュー画像によれば、あたかも印刷された用紙を画面上に広げているかのように、オペレータに印刷後の文書を表示により提示することができる。   In this way, according to the preview image in the “paper-based” mode displayed in step S2808, the printed document can be presented to the operator as if it were spread on the screen.

次に図28のステップS2803における多連レイアウト処理を図29を参照して説明する。図29の処理は中間データの生成処理であるので、実際には図中に記載したように「配置」といっても二次元の画像データをメモリに展開する、といった処理を行うのではなく、オブジェクトを示すベクトルデータの座標変換などが「配置」という処理の実体となる。   Next, the multiple layout process in step S2803 of FIG. 28 will be described with reference to FIG. Since the process of FIG. 29 is a process for generating intermediate data, actually, as described in the figure, “arrangement” does not perform the process of expanding the two-dimensional image data into the memory. The coordinate conversion of the vector data indicating the object is the entity of the “placement” process.

図29において、まず多連レイアウト方法が2連であるか判定する(S2901)。この判定は、ブック属性の多連レイアウト設定情報を参照して行われる。2連であれば現在の用紙方向の設定(ブック属性の用紙方向)を判定する(S2902)。用紙方向が縦であれば、次に切り口選択(断裁方向)の設定をテストする(S2903)。「上」であれば、2つのページの上辺が対抗するように、元となる基本ページの上部に、その基本ページを複製した複製ページを180度回転して配置する。この配置は、図16のレイアウト1602を、その右辺を下にして観察した場合に相当する(S2906)。また、「下」であれば、2つのページの下辺が対抗するように、元となる基本ページの下部に、その基本ページを複製した複製ページを180度回転して配置する。この配置は、図16のレイアウト1603を、その右辺を下にして観察した場合に相当する(S2907)。また、切り口の設定がない場合には、元となる基本ページの上部に、その基本ページを複製した複製ページをそのまま配置する(S2908)。   In FIG. 29, it is first determined whether the multiple layout method is duplex (S2901). This determination is made with reference to the multiple layout setting information of the book attribute. If there are two, the current paper direction setting (book attribute paper direction) is determined (S2902). If the paper direction is vertical, the cut edge selection (cutting direction) setting is tested (S2903). If it is “upper”, a duplicate page obtained by duplicating the basic page is arranged by rotating 180 degrees above the original basic page so that the upper sides of the two pages are opposed to each other. This arrangement corresponds to the case where the layout 1602 of FIG. 16 is observed with its right side down (S2906). If it is “below”, a duplicate page obtained by duplicating the basic page is rotated 180 degrees and arranged below the original basic page so that the lower sides of the two pages are opposed to each other. This arrangement corresponds to the case where the layout 1603 in FIG. 16 is observed with its right side down (S2907). If there is no setting for the cut edge, a duplicate page obtained by duplicating the basic page is placed as it is at the top of the basic page that is the original (S2908).

用紙方向が横であれば、次に切り口選択(断裁方向)の設定をテストする(S2904)。「右」であれば、2つのページの右辺が互いに対抗するように、元となる基本ページの左側に、その基本ページを複製した複製ページを180度回転して配置する。この配置は、図16のレイアウト1603に相当する(S2909)。また、「左」であれば、2つのページの左辺が互いに対抗するように、元となる基本ページの左側に、その基本ページを複製した複製ページを180度回転して配置する。この配置は、図16のレイアウト1602に相当する(S2910)。また、切り口選択の設定がない場合には、元となる基本ページの右あるいは左側に、その基本ページを複製した複製ページをそのまま配置する(S2911)。   If the paper direction is horizontal, then the cut edge selection (cutting direction) setting is tested (S2904). If it is “right”, a duplicate page that duplicates the basic page is rotated 180 degrees and arranged on the left side of the original basic page so that the right sides of the two pages oppose each other. This arrangement corresponds to the layout 1603 in FIG. 16 (S2909). If it is “left”, a duplicate page obtained by duplicating the basic page is rotated 180 degrees on the left side of the original basic page so that the left sides of the two pages oppose each other. This arrangement corresponds to the layout 1602 in FIG. 16 (S2910). If there is no cut selection setting, a duplicate page obtained by duplicating the basic page is placed as it is on the right or left side of the original basic page (S2911).

一方、4連レイアウトの場合には、用紙方向を判定し(S2905)、用紙方向に応じて基本ページを田形に4つ配置する(S22912,S2913)。   On the other hand, in the case of a quadruple layout, the paper direction is determined (S2905), and four basic pages are arranged in a square shape according to the paper direction (S22912, S2913).

最後に、基本ページを多連レイアウト設定情報にしたがって配置した印刷ページのデータ、および、各印刷ページに配置された編集可能な基本ページの位置を示すアドレス情報を保存する。このアドレス情報は、編集可能な基本ページをそのほかの基本ページと識別可能に表示するために利用される。なお、ステップS2914において、断裁線や基本ページの識別表示についての情報を、生成された中間データに含めておいてもよい。   Finally, data of the print page in which the basic page is arranged according to the multiple layout setting information, and address information indicating the position of the editable basic page arranged in each print page are stored. This address information is used to display an editable basic page so that it can be distinguished from other basic pages. In step S2914, information about the cutting line and basic page identification display may be included in the generated intermediate data.

さて、以上のようにして多連レイアウト設定された文書がプレビュー表示される。この多連レイアウトのプレビュー表示画面に上においては、編集操作が制限されている。その簡単な手順を図31に示す。図31は図17のようなユーザインタフェース画面において、いずれかのページが選択されて、何らかの編集操作がオペレータにより行われた場合の処理である。まず、ステップS3101において、選択された原稿ページが多連レイアウトの編集対象となる基本ページであるか判定する。編集対象にならない基本ページが選択されている場合には、その操作は無視される。編集対象になる基本ページであれば、操作に応じて注目ブックファイルを変更して保存する(S3102)。その後、編集された内容をプレビュー表示する(S3103)。ここの手順は図28の処理である。   Now, a document with multiple layout settings as described above is displayed as a preview. On the preview display screen of this multiple layout, editing operations are limited. The simple procedure is shown in FIG. FIG. 31 shows processing when any page is selected on the user interface screen as shown in FIG. 17 and some editing operation is performed by the operator. First, in step S3101, it is determined whether the selected document page is a basic page to be edited in a multiple layout. If a basic page that is not to be edited is selected, the operation is ignored. If it is a basic page to be edited, the book file of interest is changed and saved according to the operation (S3102). Thereafter, the edited content is displayed as a preview (S3103). This procedure is the process of FIG.

これによって、多連レイアウト設定された文書が紙ベースモードでレビュー表示されているユーザインタフェース上においては、1シートに配置される基本ページのうちの1つのみが編集操作の対象となり、操作性を良好にし、操作者の混乱を防止できる。なお、ここでいう基本ページには、Nイン1レイアウトの場合のN原稿ページを縮小レイアウトして一つにまとめた複数の原稿ページを含んでいる。また切り口選択を指定することで、印刷出力され、裁断されて最終的にまとめられる文書について、いずれの文書でも切り口方向をそろえ、文書としての品質を向上させることが可能となる。さらに、プレビューモードにおいて、原稿ページモードであれば、原稿の内容を印刷前に事前に表示させることができるし、紙ベースプレビューモードであれば実際に印刷される形式を表示させることができる。   As a result, only one of the basic pages arranged on one sheet is subject to editing operations on a user interface in which a document with a multiple layout setting is reviewed and displayed in the paper-based mode. It is possible to prevent the operator from being confused. The basic page referred to here includes a plurality of document pages obtained by reducing and laying out N document pages in the N-in-1 layout. Also, by specifying the cut edge selection, it is possible to align the cut edge direction of any document that is printed out, cut, and finally collected, and improve the quality of the document. Further, in the preview mode, if the document page mode is selected, the contents of the document can be displayed in advance before printing, and if the paper-based preview mode is selected, the actually printed format can be displayed.

図32に、多連レイアウト設定された文書の印刷時に処理手順を示す。まず、ブック属性から多連レイアウト設定情報を参照して値をテストし(S3201)、多連レイアウト設定されていれば注目ページを読む(S3202)。ただし、Nイン1レイアウトが設定されて意場合には、着目ページと一緒にまとめられるNページすべてを読む。次に図729と同じの要領で多連レイアウトを行う(S3203)。作成された中間データを、電子原稿デスプーラを介してオペレーティングシステムにより提供されるグラフィックエンジンに出力する。オペレーティングシステムでは、所定のプリンタドライバにより使用するプリンタに適合した形式のPDL等に変換され、プリンタに出力されて印刷される(S3204)。これを文書全体について繰り返す(S3205,S3206)。以上のようにして、多連レイアウトで印刷出力することができる。なお、多連レイアウトされた文書を印刷する場合、その先頭に断裁指定紙を付することもできる。断裁指定紙とは、断裁の線のみを描いた用紙であり、指定された他連レイアウトが2連であれは長手方向の辺を2等分する線が、4連であればシートを田形に4等分する線が断裁指定線となる。この断裁指定線を描いた用紙を印刷することで、印刷物を重ねてその断裁指定線に沿って用紙の束を切断することで簡単に複数部の文書を作成できる。なお、この断裁指定紙の印刷の有無を、多連レイアウト情報に含まれる位置設定値としてブック属性に含めることもできる。その場合、その設定を参照して、断裁指定紙を印刷させる。   FIG. 32 shows a processing procedure when printing a document with a multiple layout set. First, the value is tested by referring to the multiple layout setting information from the book attribute (S3201), and if the multiple layout is set, the attention page is read (S3202). However, if the N-in-1 layout is set, all the N pages gathered together with the page of interest are read. Next, a multiple layout is performed in the same manner as in FIG. 729 (S3203). The created intermediate data is output to the graphic engine provided by the operating system via the electronic document despooler. In the operating system, the data is converted into PDL or the like in a format suitable for the printer to be used by a predetermined printer driver, output to the printer, and printed (S3204). This is repeated for the entire document (S3205, S3206). As described above, it is possible to print out in a multiple layout. When printing a document with multiple layouts, a cutting specification sheet can be added to the head of the document. The cutting specification paper is a paper on which only the cutting line is drawn. If the specified other continuous layout is double, if the line that divides the side in the longitudinal direction into four is four, the sheet is shaped into a tab. The line divided into four equals the cutting designation line. By printing the paper on which this cutting specification line is drawn, a plurality of documents can be easily created by stacking printed materials and cutting a bundle of paper along the cutting specification line. It should be noted that the presence / absence of printing of the cutting specification sheet can be included in the book attribute as a position setting value included in the multiple layout information. In that case, the cutting designated paper is printed with reference to the setting.

<Nイン1レイアウトとの併存>
次に図26に多連印刷とNページ印刷の混載設定を施すフロー図を示す。図25は、Nイン1レイアウトされている文書について、多連レイアウトが設定された場合にも適用できる。すなわち、Nイン1レイアウトの指定によりまとめられるN原稿ページをまとめて1つの原稿ページであるがごとく多連レイアウトをすることで、両レイアウトの併存を可能にしている。図30は、多連レイアウト設定されている文書について、Nイン1レイアウト設定がされた場合の処理手順である。
<Coexistence with N-in-1 layout>
Next, FIG. 26 shows a flowchart for performing mixed setting for multiple printing and N-page printing. FIG. 25 can also be applied to a case where a multiple layout is set for a document having an N-in-1 layout. In other words, the N document pages that are grouped together by the designation of the N-in-1 layout are combined into a multiple layout as if they were one document page, thereby allowing both layouts to coexist. FIG. 30 shows a processing procedure when N-in-1 layout is set for a document with multiple layout settings.

ステップS3001で、多連印刷設定(たとえば上下2連)が設定されて図23に示すようなユーザインタフェースが開かれ、オペレータによりページレイアウトの指定が図23のページレイアウト欄2301から行われる。図23は、ページレイアウトで用紙上にNページ表示印刷(2ページ左→右印刷)の設定を施した場合のダイアログの例を示す図である。その場合に、以下の通りに製本アプリケーション104は動作する。   In step S3001, multiple print settings (for example, two upper and lower stations) are set, a user interface as shown in FIG. 23 is opened, and the page layout is designated by the operator from the page layout field 2301 in FIG. FIG. 23 is a diagram showing an example of a dialog when the setting of N page display printing (2 page left → right printing) is performed on a sheet in the page layout. In that case, the bookbinding application 104 operates as follows.

ステップS3002で多連レイアウト設定がされているか判定する。多連レイアウト設定がされているとは、多連レイアウト情報に「2連」または「4連」のいずれか(本実施形態では)が設定されていることを意味する。多連レイアウト設定されていればステップS3003に進む。ステップS3003では、Nページ(Nイン1と同じ)選択がおこなわれているか判定する。Nページ印刷が設定されている場合は、ステップS3004に進み、多連レイアウト設定がいったんオフにされる。ただし、オフにする直前の多連レイアウトの設定値は、所定のメモリに退避しておく。この状態でステップS3005で各原稿ページをNイン1にレイアウトした基本ページの中間データを生成する。中間データはすでに説明したとおり、各原稿ページあるいはその内容たるオブジェクトの配置を定義したデータである。次にステップS3006で、ステップS3004で退避した値を多連レイアウト設定に回復させる。その次にステップS3007で、多連の用紙サイズが自動設定され、ステップS3008で、用紙のそれぞれの基準点に、Nイン1レイアウトしておいた基本ページを多連レイアウト設定情報に従ってレイアウトする。これにより最終的に表示用の中間データが生成され、モニタ上にプレビューされる。   In step S3002, it is determined whether a multiple layout setting has been made. The multiple layout setting means that either “2 stations” or “4 stations” (in this embodiment) is set in the multiple layout information. If the multiple layout is set, the process advances to step S3003. In step S3003, it is determined whether N pages (same as N in 1) are selected. If N-page printing is set, the process advances to step S3004 to turn off the multiple layout setting. However, the setting value of the multiple layout immediately before turning off is saved in a predetermined memory. In this state, in step S3005, basic page intermediate data in which each original page is laid out in N-in-1 is generated. As described above, the intermediate data is data that defines the arrangement of each original page or the object that is its content. In step S3006, the value saved in step S3004 is restored to the multiple layout setting. In step S3007, multiple paper sizes are automatically set, and in step S3008, basic pages that have been N-in-1 layout are laid out according to the multiple layout setting information at each reference point of the paper. As a result, intermediate data for display is finally generated and previewed on the monitor.

図24にNページの多連印刷設定を施した場合のレイアウトイメージを示す。たとえば、2イン1設定されている場合は、原稿ページ2401aと2401bとが2イン1に配置された基本ページ2401が多連レイアウトの単位になる。2連レイアウトの場合には、その基本ページを2ページ並べた2402がプレビュー表示、あるいは印刷出力される。ページレイアウト機能との関係は「多連印刷しない印刷物と、裁断後の多連印刷の印刷物は同一」とすることを基本としている。   FIG. 24 shows a layout image when N-page multiple print setting is performed. For example, when 2-in-1 is set, a basic page 2401 in which document pages 2401a and 2401b are arranged in 2-in-1 is a unit of a multiple layout. In the case of the double layout, 2402 in which two basic pages are arranged is preview-displayed or printed out. The relationship with the page layout function is based on the assumption that “printed material not subjected to multiple printing and the printed material after multiple cutting are the same”.

図22は断裁指定紙と多連印刷出力のイメージ図である。断裁罫線の指定紙2201を出力することで、多連印刷出力時に合紙として、先頭に罫線入りの断裁指定紙を出力することができる。   FIG. 22 is an image diagram of the cutting designated paper and the multiple print output. By outputting the cutting ruled line specification sheet 2201, it is possible to output a cutting specification sheet with a ruled line at the head as a slip sheet during multiple print output.

以上説明したように、本実施形態によれば、一枚の用紙上に複数部数分の印字結果を出力する多連印刷物を作成する場合において、原稿ページと、印刷レイアウトの両方のレイアウトをプレビューとして確認することができる。   As described above, according to the present embodiment, when creating a multiple printed matter that outputs a plurality of copies of printing results on a single sheet, both the manuscript page and the print layout are used as previews. Can be confirmed.

さらに、多連印刷レイアウトが設定された文書についても、視認性のよい印刷結果のプレビュー表示を実現できる。   Furthermore, it is possible to realize a preview display of a print result with high visibility even for a document for which a multiple print layout is set.

また、多連レイアウトされた印刷物を作成する場合において、ページの原稿を用意するだけで容易に原稿をレイアウトする印刷物を作成することができる。   Further, when creating a printed material with multiple layouts, it is possible to easily create a printed material for laying out a document simply by preparing a document for the page.

また、多連レイアウトされた文書の編集において、片面及び両面の印刷制御、あるいはNページ印刷レイアウトの面付け制御やプレビュー表示モードでの編集制御を容易に実行可能にする。   In editing a document with multiple layouts, single-sided and double-sided print control, or N-page print layout imposition control and edit control in the preview display mode can be easily executed.

また、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(複写機、プリンタ、ファクシミリ装置など)に適用してもよい。   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). You may apply.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   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(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   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 actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   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.

Claims (15)

原稿ページにより構成される文書データの出力形式を編集可能な文書処理装置であって、
複数の同一原稿ページが配置された用紙を断裁することで複数部の印刷物を得るための多連レイアウト定を受け付ける設定手段と、
前記設定手段により前記多連レイアウト設定が受け付けられた場合、受け付けられた前記多連レイアウト定に応じて、前記多連レイアウトが設定されていない場合の1印刷ページを基本ページとして、複数の前記基本ページが用紙の面に配置されることを示すプレビュー画像と、前記プレビュー画像における前記複数の前記基本ページ間に断裁されることを示す情報を表示画面に表示させる表示制御手段と、
前記表示制御手段により表示される前記表示画面上における利用者の編集操作を受け付ける編集手段とを備え、
前記表示制御手段は、前記複数の基本ページの1つの基本ページに対して前記編集操作に応じた加工が行われた場合には、前記複数の基本ページのうち、前記編集操作による加工が行われなかった基本ページ前記編集操作に応じた前記加工を反映させることを特徴とする文書処理装置。
A document processing apparatus capable of editing an output format of document data composed of manuscript pages,
A setting unit for accepting the setting of the array type layout to obtain a printed matter of a plurality portions by cutting a plurality of sheets arranged the same document page,
If the setting of the multiple-layout is received by the setting unit, in accordance with the setting of the accepted multiple-layout, a print page when the array type layout is not set as the base page, a plurality A display image for displaying on the display screen a preview image indicating that the basic page is arranged on a sheet surface, and information indicating that the basic page is cut between the plurality of basic pages in the preview image ;
Editing means for accepting a user editing operation on the display screen displayed by the display control means,
Wherein the display control unit, when the processing corresponding to the editing operation on one base page of the plurality of base page is performed, among the plurality of basic pages, processing by the editing operation is performed A document processing apparatus characterized in that the processing according to the editing operation is reflected on a basic page that does not exist.
前記表示制御手段は、前記文書データを印刷形式で表示画面に表示させる印刷表示モードと、前記文書データを原稿ページの単位で表示する原稿表示モードから選択されたモードに基づくプレビュー画像を表示することを特徴とする請求項1に記載の文書処理装置。 The display control means displays a preview image based on a mode selected from a print display mode for displaying the document data on a display screen in a print format and a document display mode for displaying the document data in units of document pages. the document processing apparatus according to claim 1, wherein the. 前記設定手段は、1枚の用紙の面に複数の異なるページを配置するNページレイアウトの設定を受け付け、前記生成手段は、前記Nページレイアウト設定を受け付けた場合、複数の相異なる原稿ページが配置された1印刷ページを前記基本ページとすることを特徴とする請求項1または2に記載の文書処理装置。 The setting means accepts a setting of N page layout to arrange a plurality of different pages on the face of one sheet, said generating means, when receiving a set of the N page layout, a plurality of different document pages the document processing apparatus according to disposed one print page are to claim 1 or 2, characterized in that said base page. 前記表示制御手段は、前記プレビュー画像として表示される複数の前記基本ページのうち1つの基本ページを編集可能に表示すると共に他の基本ページを編集不可能に表示することを特徴とする請求項1乃至3のいずれか1項に記載の文書処理装置。The display control means displays one basic page among the plurality of basic pages displayed as the preview image in an editable manner and displays other basic pages in an uneditable manner. 4. The document processing apparatus according to any one of items 1 to 3. 前記表示制御手段は、前記編集可能な前記基本ページと前記編集不可能な前記基本ページとを識別可能に表示することを特徴とする請求項4に記載の文書処理装置。The document processing apparatus according to claim 4, wherein the display control unit displays the editable basic page and the non-editable basic page in an identifiable manner. 原稿ページにより構成される文書データの出力形式を編集可能な文書処理方法であって、
複数の同一原稿ページが配置された用紙を断裁することで複数部の印刷物を得るための多連レイアウト定を受け付ける設定工程と、
前記設定手段により前記多連レイアウト設定が受け付けられた場合、受け付けられた前記多連レイアウト定に応じて、前記多連レイアウトが設定されていない場合の1印刷ページを基本ページとして、複数の前記基本ページが用紙の面に配置されることを示すプレビュー画像と、前記プレビュー画像における前記複数の前記基本ページ間に断裁されることを示す情報を表示画面に表示させる表示制御工程と、
前記表示制御工程により表示される前記表示画面上における利用者の編集操作を受け付ける編集工程とを備え、
前記表示制御工程では、前記複数の基本ページの1つの基本ページに対して前記編集操作に応じた加工が行われた場合には、前記複数の基本ページのうち、前記編集操作による加工が行われなかった基本ページ前記編集操作に応じた前記加工を反映させることを特徴とする文書処理方法。
A document processing method capable of editing an output format of document data composed of manuscript pages,
A setting step for accepting the setting of array type layout to obtain a printed matter of a plurality portions by cutting a plurality of sheets arranged the same document page,
If the setting of the multiple-layout is received by the setting unit, in accordance with the setting of the accepted multiple-layout, a print page when the array type layout is not set as the base page, a plurality A display image for displaying on the display screen a preview image indicating that the basic page is arranged on a sheet surface, and information indicating that the basic page is cut between the plurality of basic pages in the preview image ;
An editing step for accepting a user editing operation on the display screen displayed by the display control step,
In the display control step, when the processing corresponding to the editing operation on one base page of the plurality of base page is performed, among the plurality of basic pages, processing by the editing operation is performed A document processing method , wherein the processing according to the editing operation is reflected on a basic page that does not exist.
前記表示制御工程では、前記文書データを印刷形式で表示画面に表示させる印刷表示モードと、前記文書データを原稿ページの単位で表示する原稿表示モードから選択されたモードに基づくプレビュー画像を表示することを特徴とする請求項6に記載の文書処理方法。In the display control step, a preview image based on a mode selected from a print display mode for displaying the document data on a display screen in a print format and a document display mode for displaying the document data in units of document pages is displayed. The document processing method according to claim 6. 前記設定工程では、1枚の用紙の面に複数の異なるページを配置するNページレイアウトの設定を受け付け、前記生成工程では、前記Nページレイアウトの設定を受け付けた場合、複数の相異なる原稿ページが配置された1印刷ページを前記基本ページとすることを特徴とする請求項6または7に記載の文書処理方法。  In the setting step, setting of an N page layout for arranging a plurality of different pages on the surface of one sheet is received. In the generating step, when the setting of the N page layout is received, a plurality of different original pages are received. 8. The document processing method according to claim 6, wherein the one printed page is used as the basic page. 前記表示制御工程では、前記プレビュー画像として表示される複数の前記基本ページのうち1つの基本ページを編集可能に表示すると共に他の基本ページを編集不可能に表示することを特徴とする請求項6乃至8のいずれか1項に記載の文書処理方法。The display control step displays one basic page among the plurality of basic pages displayed as the preview image in an editable manner and displays the other basic pages in an uneditable manner. 9. The document processing method according to any one of items 1 to 8. 前記表示制御工程では、前記編集可能な前記基本ページと前記編集不可能な前記基本ページとを識別可能に表示することを特徴とする請求項9に記載の文書処理方法。10. The document processing method according to claim 9, wherein in the display control step, the editable basic page and the non-editable basic page are displayed so as to be distinguishable. 原稿ページにより構成される文書データの出力形式を編集可能な文書処理装置としてコンピュータを機能させるためのプログラムであって、A program for causing a computer to function as a document processing apparatus capable of editing an output format of document data composed of manuscript pages,
複数の同一原稿ページが配置された用紙を断裁することで複数部の印刷物を得るための多連レイアウトの設定を受け付ける設定手段と、A setting means for receiving a setting of a multiple layout for obtaining a plurality of copies by cutting a sheet on which a plurality of original document pages are arranged;
前記設定手段により前記多連レイアウトの設定が受け付けられた場合、受け付けられた前記多連レイアウトの設定に応じて、前記多連レイアウトが設定されていない場合の1印刷ページを基本ページとして、複数の前記基本ページが用紙の面に配置されることを示すプレビュー画像と、前記プレビュー画像における前記複数の前記基本ページ間に断裁されることを示す情報を表示画面に表示させる表示制御手段と、When the setting of the multiple layout is received by the setting unit, a plurality of print pages when the multiple layout is not set are set as a basic page according to the received setting of the multiple layout. Display control means for displaying on a display screen a preview image indicating that the basic page is arranged on the surface of the paper, and information indicating that the basic page is cut between the plurality of basic pages;
前記表示制御手段により表示される前記表示画面上における利用者の編集操作を受け付ける編集手段としてコンピュータを機能させ、Causing the computer to function as editing means for accepting user editing operations on the display screen displayed by the display control means;
前記表示制御手段は、前記複数の基本ページの1つの基本ページに対して前記編集操作に応じた加工が行われた場合には、前記複数の基本ページのうち、前記編集操作による加工が行われなかった基本ページに前記編集操作に応じた前記加工を反映させることを特徴とするプログラム。The display control means performs processing by the editing operation among the plurality of basic pages when processing according to the editing operation is performed on one basic page of the plurality of basic pages. The program according to claim 1, wherein the modification according to the editing operation is reflected on a basic page that has not been present.
前記表示制御手段は、前記文書データを印刷形式で表示画面に表示させる印刷表示モードと、前記文書データを原稿ページの単位で表示する原稿表示モードから選択されたモードに基づくプレビュー画像を表示することを特徴とする請求項11に記載のプログラム。The display control means displays a preview image based on a mode selected from a print display mode for displaying the document data on a display screen in a print format and a document display mode for displaying the document data in units of document pages. The program according to claim 11. 前記設定手段は、1枚の用紙の面に複数の異なるページを配置するNページレイアウトの設定を受け付け、前記生成手段は、前記Nページレイアウトの設定を受け付けた場合、複数の相異なる原稿ページが配置された1印刷ページを前記基本ページとすることを特徴とする請求項11または12に記載のプログラム。The setting unit accepts an N page layout setting for arranging a plurality of different pages on a sheet of paper, and the generating unit accepts a plurality of different original pages when the N page layout setting is accepted. 13. The program according to claim 11 or 12, wherein one arranged print page is set as the basic page. 前記表示制御手段は、前記プレビュー画像として表示される複数の前記基本ページのうち1つの基本ページを編集可能に表示すると共に他の基本ページを編集不可能に表示することを特徴とする請求項11乃至13のいずれか1項に記載のプログラム。12. The display control means displays one basic page among the plurality of basic pages displayed as the preview image in an editable manner and displays the other basic pages in an uneditable manner. 14. The program according to any one of 1 to 13. 前記表示制御手段は、前記編集可能な前記基本ページと前記編集不可能な前記基本ページとを識別可能に表示することを特徴とする請求項14に記載のプログラム。15. The program according to claim 14, wherein the display control means displays the editable basic page and the non-editable basic page so as to be distinguishable.
JP2009217953A 2009-09-18 2009-09-18 Document processing apparatus and method Expired - Fee Related JP4881415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009217953A JP4881415B2 (en) 2009-09-18 2009-09-18 Document processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009217953A JP4881415B2 (en) 2009-09-18 2009-09-18 Document processing apparatus and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004121871A Division JP4401850B2 (en) 2004-04-16 2004-04-16 Document processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2010003316A JP2010003316A (en) 2010-01-07
JP4881415B2 true JP4881415B2 (en) 2012-02-22

Family

ID=41584935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009217953A Expired - Fee Related JP4881415B2 (en) 2009-09-18 2009-09-18 Document processing apparatus and method

Country Status (1)

Country Link
JP (1) JP4881415B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6107225B2 (en) 2012-03-12 2017-04-05 コニカミノルタ株式会社 Image processing apparatus, control method for image processing apparatus, and control program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0528134A (en) * 1991-07-18 1993-02-05 Mitsubishi Electric Corp Layout editing processor
JP3593834B2 (en) * 1997-02-12 2004-11-24 富士ゼロックス株式会社 Printing condition specification device
JP3833211B2 (en) * 1997-09-11 2006-10-11 キヤノン株式会社 Printing control apparatus and processing method
JP2000322229A (en) * 1999-05-13 2000-11-24 Ricoh Co Ltd Image forming system
JP2001101163A (en) * 1999-09-27 2001-04-13 Ricoh Co Ltd Device for preparing printing image
JP2002019213A (en) * 2000-07-05 2002-01-23 Olympus Optical Co Ltd Printer
JP2002185760A (en) * 2000-12-11 2002-06-28 Murata Mach Ltd Image processor
JP2003326793A (en) * 2002-05-09 2003-11-19 Canon Inc Printing method and printer

Also Published As

Publication number Publication date
JP2010003316A (en) 2010-01-07

Similar Documents

Publication Publication Date Title
JP4401850B2 (en) Document processing apparatus and method
JP3962679B2 (en) Printing control method and apparatus
JP4136994B2 (en) Document processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP3937778B2 (en) Information processing apparatus and method
JP4380400B2 (en) Document processing apparatus, control method therefor, and computer program
JP4136634B2 (en) Document processing apparatus and method
JP4817556B2 (en) Information processing apparatus, document processing method and program in information processing apparatus
JP5173246B2 (en) Information processing apparatus, information processing method, and program
JP4185899B2 (en) Document processing method and system
JP4143566B2 (en) Document processing apparatus, control method therefor, and computer program
JP4708724B2 (en) Document processing apparatus, document processing method, and document processing program
JP5328318B2 (en) Information processing method, information processing apparatus, and computer program
JP2003296312A (en) Information processing apparatus and method
JP2009134440A (en) Document processing system having optimization processing for paper sheet use method in print setting
JP4810027B2 (en) Information processing apparatus and method
JP4095269B2 (en) Information processing method, information processing apparatus, and printing apparatus
JP2007172247A (en) Information processor, information processing method and information processing program
JP3848172B2 (en) Information processing method and information processing apparatus
JP3937965B2 (en) Document processing method and apparatus and program thereof
JP4881415B2 (en) Document processing apparatus and method
JP2006202025A (en) Document processing method, print control method, and its system
JP4614397B2 (en) Document processing apparatus, document processing method, and document processing program
JP4388080B2 (en) Information processing apparatus and information processing method
JP4794812B2 (en) Preview display method and preview display device
JP4459195B2 (en) Information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090918

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110829

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110902

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111026

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: 20111128

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: 20111202

R151 Written notification of patent or utility model registration

Ref document number: 4881415

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees