JP2007183974A - Information processing apparatus and information processing method - Google Patents

Information processing apparatus and information processing method Download PDF

Info

Publication number
JP2007183974A
JP2007183974A JP2007012964A JP2007012964A JP2007183974A JP 2007183974 A JP2007183974 A JP 2007183974A JP 2007012964 A JP2007012964 A JP 2007012964A JP 2007012964 A JP2007012964 A JP 2007012964A JP 2007183974 A JP2007183974 A JP 2007183974A
Authority
JP
Japan
Prior art keywords
print
page
printed
printing
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007012964A
Other languages
Japanese (ja)
Other versions
JP4388080B2 (en
Inventor
Koji Nakagiri
孝治 中桐
Shigeo Nara
茂雄 奈良
Yasuo Mori
安生 森
Takuya Miyasato
拓矢 宮里
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 JP2007012964A priority Critical patent/JP4388080B2/en
Publication of JP2007183974A publication Critical patent/JP2007183974A/en
Application granted granted Critical
Publication of JP4388080B2 publication Critical patent/JP4388080B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processing apparatus and a method which easily designates a range of a print target during preparing a document and improves a usability and a productivity thereby. <P>SOLUTION: A setting user interface screen 1500 is displayed by a print setting menu, a desired unit is selected from a print target column 1502, and the range is designated with the selected unit. The designated range is printed including an original page within the designated range and another original page to be printed on the same paper as that of the original page together thereby. The designation can be achieved in the units of a whole, a chapter, a page, and a brochure. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、例えば文書処理プログラムによって生成される文書データに対する編集機能を提供する情報処理装置及び方法に関する。   The present invention relates to an information processing apparatus and method for providing an editing function for document data generated by, for example, a document processing program.

文字や表、画像など、データの種類が異なると、データを定義する構造やそれらデータに対する編集操作が異なるために、データの種類に応じた様々なアプリケーションプログラムが提供されている。利用者は、文字を編集するためには文字処理プログラム、表を編集するためには表計算プログラム、画像を編集するためには画像編集プログラムといった具合に、データの種類別にアプリケーションを使い分けている。   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, the user needs to print data for each application by using a printing function included in various applications and combine the printed materials in a desired order.

あるいは、いわゆるオフィススイートと呼ばれる、各種アプリケーションによってひとつの統合アプリケーションを形成するプログラムには、各アプリケーションで生成されたデータを組み合わせ、ひとつの文書を構成する機能を提供するものもある。この統合アプリケーションを使用する場合には、利用者は、各アプリケーションで作成したデータを、統合アプリケーションに含まれる特定のアプリケーションによってひとつの目的文書にまとめることができる。なお、特許文献1には、印刷範囲としてページを指定可能な設定画面を表示することが記載されている。
特開2001―195220
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. Japanese Patent Application Laid-Open No. 2004-151561 describes that a setting screen that allows a page to be specified as a print range is displayed.
JP 2001-195220 A

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

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

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

さらに、文書の修正等を行った後に印刷し直す場合であっても、従来は、文書全体を印刷し直すか、あるいは原稿ページの単位で範囲を指定し、印刷を行う必要があった。部分的な修正にも関わらず文書全体を印刷し直すのは資源の浪費であるだけでなく、印刷装置を共有する利用者全体の生産性を低下させることになる。また、特に1枚のシート上に複数の原稿ページを配置するようなレイアウトの文書について原稿ページの単位で印刷対象の範囲を指定するためには、印刷する部分を利用者が原稿ページの範囲に換算しなければならず、煩雑で錯誤を引き起こしやすく、生産性の低下をもたらすものであった。   Further, even when a document is corrected and then reprinted, conventionally, it has been necessary to reprint the entire document or specify a range in units of original pages and perform printing. Reprinting the entire document in spite of partial correction is not only a waste of resources, but also reduces the productivity of all users sharing the printing device. In addition, in order to specify a range to be printed in units of original pages for a document having a layout in which a plurality of original pages are arranged on a single sheet, the user sets the print portion within the original page range. It had to be converted, and it was cumbersome and prone to errors, resulting in a decrease in productivity.

本発明は上記従来例に鑑みてなされたもので、文書中の印刷対象の範囲が指定しやすく、それにより利用性・生産性が向上した情報処理装置及び方法を提供することを目的とする。   The present invention has been made in view of the above conventional example, and an object of the present invention is to provide an information processing apparatus and method in which a range of a print target in a document can be easily specified, thereby improving usability and productivity.

さらに、利用者の望むアプリケーションプログラムによって作成されるデータをひとまとめにした文書の作成および編集を可能とするとともに、その操作性を高めて文書編集の生産性を向上させる情報処理装置及び方法を提供することを他の目的とする。   Furthermore, there is provided an information processing apparatus and method capable of creating and editing a document in which data created by an application program desired by a user is collected and improving the operability and improving the productivity of document editing. For other purposes.

上記目的を達成するために、本発明は次のような構成から成る。すなわち、複数の原稿ページからなるドキュメントデータに対して、印刷装置で印刷処理される印刷物の印刷体裁設定を含む印刷設定を行う情報処理装置において、
アプリケーションにより生成されるドキュメントデータを印刷処理する際に、1枚の印刷用紙に何ページ分の原稿ページを配置するかを示す印刷レイアウトの印刷体裁設定を設定する印刷設定手段と、
複数の原稿ページからなるドキュメントデータに、前記印刷設定手段により設定される印刷体裁設定を付与してメモリに記憶して管理する管理手段と、
印刷処理すべき範囲を、アプリケーションにより生成されるページである原稿ページを用いて指定するか、または前記印刷装置で印刷処理される印刷用紙の通し番号を用いて指定するかを選択する選択手段と、
前記選択手段により印刷用紙の通し番号を用いて指定することが選択される場合に、印刷処理すべき範囲を、前記印刷装置で印刷処理される印刷用紙の通し番号で指定し、一方、前記選択手段により原稿ページを用いて指定することが選択される場合に、印刷処理すべき範囲を、原稿ページで指定する指定手段と、
前記メモリに記憶されているドキュメントデータに付与されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定手段で指定される通し番号の印刷用紙に配置される原稿ページを判断する判断手段と、
前記判断手段により判断されたすべての原稿ページに相当するドキュメントデータを前記管理手段から取得する取得手段と、
前記取得手段により取得された原稿ページに相当するドキュメントを描画データとして受け取り、該受け取った描画データを前記印刷装置で印刷すべく印刷データに変換する変換手段とを備えることを特徴とする。
In order to achieve the above object, the present invention comprises the following arrangement. That is, in an information processing apparatus that performs print settings including print format settings of a printed material that is printed by a printing apparatus, on document data including a plurality of document pages.
A print setting means for setting a print style setting of a print layout indicating how many original pages are to be arranged on one print sheet when document data generated by an application is printed;
Management means for assigning print format settings set by the print setting means to document data consisting of a plurality of document pages, and storing and managing them in a memory;
A selection means for selecting whether to designate a range to be printed by using a manuscript page which is a page generated by an application or by using a serial number of a printing paper to be printed by the printing device;
When it is selected by the selecting means to specify using the serial number of the printing paper, the range to be printed is specified by the serial number of the printing paper to be printed by the printing device, while the selection means A designation means for designating a range to be printed on the manuscript page when designation using the manuscript page is selected;
Based on the print style setting given to the document data stored in the memory, the print paper is printed on the print paper with the serial number designated by the designation means among the print papers to be printed by the printing apparatus. A determination means for determining a manuscript page;
Obtaining means for obtaining document data corresponding to all the manuscript pages determined by the determining means from the managing means;
Conversion means for receiving a document corresponding to the original page acquired by the acquisition means as drawing data and converting the received drawing data into print data to be printed by the printing apparatus.

本発明によれば、文書中の印刷対象の範囲が指定しやすく、それにより利用性・生産性を向上させることができる。   According to the present invention, it is easy to specify a range to be printed in a document, thereby improving usability and productivity.

さらに、印刷対象の範囲を指定した場合には、指定した範囲とともに、その範囲と同じシートに印刷される原稿ページも印刷されるために、印刷後のシートの差し替え作業を容易にすることができる。   In addition, when a range to be printed is designated, a manuscript page that is printed on the same sheet as the designated range is also printed, so that the replacement work of the printed sheet can be facilitated. .

[第1の実施形態]
<システム概要>
本発明の情報処理システムに好適な第1の実施形態である文書処理システムの概要を、図1〜図12を参照して説明する。この文書処理システムでは、一般アプリケーションにより作成されたデータファイルが、電子原稿ライタによって電子原稿ファイルに変換される。製本アプリケーションはその電子原稿ファイルを編集する機能を提供している。以下、その詳細は説明する。
[First Embodiment]
<System overview>
An outline of a document processing system according to the first embodiment suitable for the information processing system of the present invention will be described with reference to FIGS. In this document processing system, a data file created by a general application is converted into an electronic document file by an electronic document writer. The bookbinding application provides a function for editing the electronic manuscript file. Details will be described below.

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

電子原稿ライタ102は、前述のデバイスドライバを改良したものであり、本文書処理システム実現のために提供されるソフトウェアモジュールである。ただし、電子原稿ライタ102は特定の出力デバイスを目的としておらず、後述の製本アプリケーション104やプリンタドライバ106により処理可能な形式に出力コマンドを変換する。この電子原稿ライタ102による変換後の形式(以後電子原稿形式と呼ぶ)は、ページ単位の原稿を詳細な書式をもって表現可能であれば特に問わない。実質的な標準形式のうちでは、例えばアドビシステムズによるPDF形式や、SVG形式などが電子原稿形式として採用できる。アプリケーション101により電子原稿ライタ102を利用させる場合には、出力に使用するデバイスドライバとして電子原稿ライタ102を指定してから印刷を実行させる。ただし、電子原稿ライタ102によって作成されたままの電子原稿ファイルは、電子原稿ファイルとして完全な形式を備えていない。そのため、デバイスドライバとして電子原稿ライタ102を指定するのは製本アプリケーション104であり、その管理下でアプリケーションデータの電子原稿ファイルへの変換が実行される。製本アプリケーション104は、電子原稿ライタ102が生成した新規の不完全な電子原稿ファイルを後述する形式を備えた電子原稿ファイルとして完成させる。以下では、この点を明瞭に識別する必要がある際には、電子原稿ライタ102によって作成されたファイルを電子原稿ファイルと呼び、製本アプリケーションによって構造を与えられた電子原稿ファイルをブックファイルと呼ぶ。また、特に区別する必要がない場合は、アプリケーションにより生成されるドキュメントファイル、電子原稿ファイル、及びブックファイルをいずれも文書ファイル(または文書データ)と呼ぶ。   The electronic manuscript writer 102 is an improvement of the above-described device driver and is a software module provided for realizing the document processing system. However, the electronic document writer 102 is not intended for a specific output device, and converts the output command into a format that can be processed by the bookbinding application 104 and the printer driver 106 described later. The format after conversion by the electronic document writer 102 (hereinafter referred to as an electronic document format) is not particularly limited as long as a document in units of pages can be expressed in a detailed format. Among substantial standard formats, for example, a PDF format by Adobe Systems, an SVG format, or the like can be adopted as an electronic document format. When the application 101 uses the electronic document writer 102, the electronic document writer 102 is designated as a device driver used for output, and printing is executed. However, the electronic document file as created by the electronic document writer 102 does not have a complete format as the electronic document file. Therefore, the bookbinding application 104 designates the electronic document writer 102 as a device driver, and conversion of application data into an electronic document file is executed under the management of the bookbinding application 104. The bookbinding application 104 completes the new incomplete electronic document file generated by the electronic document writer 102 as an electronic document file having a format to be described later. Hereinafter, when it is necessary to clearly identify this point, a file created by the electronic manuscript writer 102 is called an electronic manuscript file, and an electronic manuscript file given a structure by the bookbinding application is called a book file. If there is no need to distinguish between them, a document file, an electronic manuscript file, and a book file generated by an application are all referred to as a document file (or document data).

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

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

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

図2は、コンピュータ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. In FIG. 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 a ROM 203 or loaded from a hard disk 211 to a RAM 202, and the software configuration shown in FIG. The procedure of the flowchart is realized. 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 floppy (registered trademark) disk (FD), and the like that store a boot program, various applications, font data, user files, edit files (to be described later), and the like. To do. 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 imitating a paper medium book. The upper layer is called a “book”, imitating one book, and attributes related to the whole book are defined. The middle layer below it corresponds to the chapter in the book and is also called “chapter”. For each chapter, attributes for each chapter can be defined. The lower layer is a “page” and corresponds to each page defined by the application program. You can define attributes for each page. A book may contain multiple chapters, and a chapter may contain multiple pages.

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

図3において、ブック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 shown in FIG. 3B, and indicate that the realities of the pages 303A and 303B are the original page data (1) and (2). To do.

図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 item illustrated 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.

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

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

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

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

章属性に関しては、章に固有の項目はなく、すべてブック属性と重複する。したがって、章属性における定義とブック属性における定義とが異なれば、章属性で定義された値が優先する。ブック属性と章属性とにのみ共通する項目は、用紙サイズ、用紙方向、N−up印刷指定、拡大縮小、排紙方法の5項目である。このうち、N−up印刷指定属性は、1印刷ページに含まれる原稿ページ数を指定するための項目である。指定可能な配置としては、1×1や1×2、2×2、3×3、4×4などがある。排紙方法属性は、排出した用紙にステイプル処理を施すか否かを指定するための項目であり、この属性の有効性は使用する印刷装置がステイプル機能を有するか否かに依存する。   As for chapter attributes, there are no items specific 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. A watermark is a separately designated image or character string that is printed over data created by an application. The header and footer are watermarks printed on the upper margin and the lower margin of each page, respectively. 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によるブックファイルの編集操作の一環として実現される。図7は、製本アプリケーション104によりブックファイルを開く際の手順である。
<Book file generation procedure>
The book file has the structure and contents as described above. Next, a procedure for creating a book file by the bookbinding application 104 and the electronic document writer 102 will be described. Creation of the book file is realized as part of the book file editing operation by the bookbinding application 104. FIG. 7 shows a procedure when the bookbinding application 104 opens a book file.

まず、開こうとするブックファイルが、新規作成すべきものであるか、それとも既存のものであるか判定する(ステップS701)。新規作成の場合には、章を含まないブックファイルを新規に作成する(ステップS702)。新規に作成されるブックファイルは、図3の例で示せば、ブックノード301のみ有し、章のノードに対するリンクが存在しないブックのノードとなる。ブック属性は、新規作成用としてあらかじめ用意された属性のセットが適用される。そして、新規ブックファイルを編集するためのユーザインターフェース(UI)画面を表示する(ステップS704)。図11は、新規にブックファイルが作成された際のUI画面の一例である。この場合には、ブックファイルは実質的な内容を持たないために、UI画面1100には何も表示されない。   First, it is determined whether the book file to be opened is to be newly created or is an existing one (step S701). In the case of new creation, a new book file not including a chapter is created (step S702). In the example of FIG. 3, the newly created book file is a book node that has only the book node 301 and does not have a link to the chapter node. As the book attribute, a set of attributes prepared in advance for new creation is applied. Then, a user interface (UI) screen for editing the new book file is displayed (step S704). FIG. 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 shows an example of this UI screen. The UI screen 1100 includes a tree portion 1101 that shows a book structure, and a preview portion 1102 that displays a printed state. In the tree portion 1101, chapters included in the book and pages included in each chapter are displayed in a tree structure as shown in FIG. A page displayed in the tree portion 1101 is a manuscript page. In the preview section 1102, the contents of the print page are reduced and displayed. The display order reflects the structure of the book.

さて、開かれたブックファイルには、電子原稿ライタによって電子原稿ファイルに変換されたアプリケーションデータを、新たな章として追加することができる。この機能を電子原稿インポート機能と呼ぶ。図7の手順によって新規に作成されたブックファイルに電子原稿インポートすることで、そのブックファイルには実体が与えられる。この機能は、図10の画面にアプリケーションデータをドラッグアンドドロップ操作することで起動される。図8に電子原稿インポートの手順を示す。   Now, application data converted into an electronic manuscript file by the electronic manuscript writer can be added to the opened book file as a new chapter. This function is called an electronic document import function. By importing an electronic manuscript into a book file newly created by the procedure of FIG. 7, an entity is given to the book file. This function is activated by dragging and dropping application data on the screen of FIG. FIG. 8 shows an electronic document import procedure.

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

画像データである場合には、原則として新たな章は追加されず、指定されている章に、ステップS801で生成された電子原稿ファイルに含まれる各原稿ページが追加される(ステップS804)。ただし、ブックファイルが新規作成されたファイルであれば、新たな章が作成されて、その章に属するページとして電子原稿ファイルの各ページが追加される。ページ属性は、上位層の属性と共通のものについてはその属性値が与えられ、アプリケーションデータにおいて定義された属性を電子原稿ファイルに引き継いでいるもにについてはその値が与えられる。例えば、Nup指定などがアプリケーションデータにおいてされていた場合には、その属性値が引き継がれる。このようにして、新規なブックファイルが作成され、あるいは、新規な章が追加される。   In the case of image data, in principle, no new chapter is added, and each original page included in the electronic original file generated in step S801 is added to the designated chapter (step S804). However, if the book file is a newly created file, a new chapter is created, and each page of the electronic document file is added as a page belonging to the chapter. As the page attribute, the attribute value is given to the attribute common to the upper layer attribute, and the value is given to the attribute that is defined in the application data in the electronic manuscript file. For example, when Nup designation or the like is made 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の出力モジュールに対して出力コマンドを送信させる。出力モジュールは、受信した出力コマンドを電子原稿ライタによって電子原稿形式のデータに変換し、出力する(ステップ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 of FIG. First, a new electronic document file is created and opened (step S901). An application corresponding to the designated application data is activated, 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 and outputs the converted data (step S902). The output destination is the electronic document file opened in step S901. It is determined whether or not conversion has been completed for all designated data (step S903), and if completed, the electronic document file is closed (step S904). The electronic manuscript file generated by the electronic manuscript writer 102 is a file including manuscript page data entities 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. Using these editing functions, for example, integration of multiple book files, rearrangement of chapters and pages in the book file, deletion of chapters and pages in the book file, layout change of manuscript pages, insertion of slip sheets and index sheets, etc. Operation becomes possible. When these operations are performed, the operation results are reflected in the attributes shown in FIGS. 4 to 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 specified location. This blank page is treated as a manuscript page. If the layout of the original page is changed, the changed content is reflected in attributes such as a printing method, N-up printing, front / back cover, index paper, slip sheet, and chapter break.

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

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

電子原稿デスプーラ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 is created and edited in almost the same configuration and procedure even in a server client system that is an extension of this system. However, the book file and print processing are managed by the server.

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

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

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

<印刷設定UI及び手順>
上述した文書処理システムにおいて、文書ファイルを印刷する場合には、その文書ファイルの印刷方法の設定に応じた単位で、印刷対象となる範囲の設定が可能である。本実施形態では、印刷方法として製本印刷が指定されている場合には、製本単位(束)ごとに印刷範囲を指定でき、片面あるいは両面が指定されている場合には、章単位あるいは印刷ページ単位あるいは原稿ページ単位で範囲を指定できる。また、印刷方法に関わらず文書全体を印刷対象として指定できることはもちろんである。
<Print setting UI and procedure>
In the document processing system described above, when printing a document file, it is possible to set a range to be printed in units corresponding to the setting of the printing method of the document file. In the present embodiment, when bookbinding printing is designated as the printing method, a printing range can be designated for each bookbinding unit (bundle), and when one side or both sides are designated, a chapter unit or a print page unit Alternatively, the range can be specified in units of original pages. Of course, the entire document can be designated as a print target regardless of the printing method.

図13は、印刷方法として片面印刷が、レイアウトとして1印刷ページに1原稿ページを配置する指定がされているブックファイルを開いた場合の製本アプリケーションによるUI画面の例である。この例では「WORD−A4」なる名称のブックファイルが開かれており、このファイルはword−1という名称の章と、word−2という名称の章とで構成される。片面印刷の指定は、UI画面1300の「印刷体裁」メニューからブックの詳細設定を選択し、それにより表示される図14の画面1400において、印刷方法指定欄1401のラジオボタン「片面印刷」を選択することで行える。なお、1印刷ページにN原稿ページを配置するレイアウトをN−upと呼ぶ。図13の例は1upのレイアウトを示している。   FIG. 13 shows an example of a UI screen by a bookbinding application when a book file in which single-sided printing is used as a printing method and layout is specified so that one original page is arranged on one printed page is opened. In this example, a book file named “WORD-A4” is opened, and this file is composed of a chapter named word-1 and a chapter named word-2. To specify single-sided printing, select the detailed setting of the book from the “print style” menu on the UI screen 1300, and select the radio button “single-sided printing” in the printing method specification field 1401 on the screen 1400 shown in FIG. You can do that. A layout in which N document pages are arranged on one print page is referred to as N-up. The example of FIG. 13 shows a 1-up layout.

図13のUI画面1300において、ツリー部1301には現在開かれているブックファイルの構造が表示されている。プレビュー部1302には、印刷される状態を示すプレビュー表示がされる。プレビュー表示には、印刷ページを縮小表示する印刷ビューモード、印刷ページのレイアウトのみ表示する簡易ビューモード、原稿ページの内容を表示する原稿ビューモードの3モードがあるが、図13では印刷ビューが選択されている。プレビュー部1302においては、印刷ページを示すページ画像1303が表示されるとともに、その下部には原稿ページ番号が示され、右上部には印刷枚数を示すシート番号が示される。印刷方法として片面印刷が指定され、また、レイアウトとして1up指定がされている場合には、1枚のシート(用紙)と原稿ページとは1対1に対応する。従って、図13では、各印刷ページごとにシート番号が振られ、原稿ページのページ番号も振られる。   In the UI screen 1300 of FIG. 13, the tree portion 1301 displays the structure of the currently opened book file. The preview portion 1302 displays a preview indicating the printing state. There are three preview display modes: a print view mode that displays a reduced print page, a simple view mode that displays only the print page layout, and a document view mode that displays the contents of the original page. In FIG. 13, the print view is selected. Has been. In the preview portion 1302, a page image 1303 showing a print page is displayed, a document page number is shown in the lower part, and a sheet number showing the number of prints is shown in the upper right part. When single-sided printing is designated as the printing method and 1up is designated as the layout, one sheet (paper) and the original page correspond one-to-one. Accordingly, in FIG. 13, a sheet number is assigned to each print page, and the page number of the original page is also assigned.

このブックファイルの印刷設定を行うためには、利用者は画面1300からファイルメニューを選択し、その中から「印刷設定」を指定する。それにより、図15の印刷設定画面1500が表示される。印刷設定画面においては、部数欄1501と印刷対象欄1502とが含まれる。部数欄1501は印刷方法に依存せず指定可能であるが、印刷対象欄1502は印刷方法の設定によって指定可能な項目が異なる。図15は印刷方法として片面印刷あるいは両面印刷が指定されている場合の例である。この場合図15に示すように、印刷対象としてはブックファイル全体を印刷する「book(すべて)」と、指定した章を印刷する「章」と、指定したページを印刷する「ページ」と、製本印刷で指定された製本単位である「束(冊子)」のいずれかが指定できる。なお、「束(冊子)」の指定は印刷方法として製本印刷が指定されている場合に限り意味を持つため、製本印刷が指定されている場合に限り選択可能な項目としてもよい。   In order to perform print settings for the book file, the user selects a file menu from the screen 1300 and designates “print settings” from the menu. Thereby, the print setting screen 1500 of FIG. 15 is displayed. The print setting screen includes a copy number column 1501 and a print target column 1502. The number of copies column 1501 can be specified without depending on the printing method, but the items that can be specified for the printing target column 1502 differ depending on the setting of the printing method. FIG. 15 shows an example when single-sided printing or double-sided printing is designated as the printing method. In this case, as shown in FIG. 15, “book (all)” for printing the entire book file, “chapter” for printing the designated chapter, “page” for printing the designated page, and bookbinding as print targets. One of “bundles (booklets)” that are bookbinding units designated for printing can be designated. The designation of “bundle (booklet)” is meaningful only when bookbinding printing is designated as the printing method, and may be an item that can be selected only when bookbinding printing is designated.

(1)全範囲の指定
印刷対象欄1502から「book(すべて)」が指定されたばあいには、指定すべき範囲はないため指定に引き続いてOKボタン1503を押すことで設定に応じた印刷処理が開始される。本実施形態でいう印刷処理とは、プリンタにおける印刷処理ではなく、製本アプリケーション104が電子原稿デスプーラに描画データの生成をさせる処理と、OSを介してプリンタドライバに印刷データ(印刷ジョブ)の生成を行わせる処理に相当する。
(1) Designation of the entire range When “book (all)” is designated from the print target field 1502, there is no range to be designated, and printing is performed according to the setting by pressing the OK button 1503 following the designation. Processing begins. The printing process referred to in the present embodiment is not the printing process in the printer, but the bookbinding application 104 causes the electronic document despooler to generate drawing data, and the printer driver generates print data (print job) via the OS. This corresponds to the processing to be performed.

(2)章番号による指定
「章」が指定された場合には、図16に示すように、印刷対象欄1502には章指定欄1602が表示され、その欄において印刷対象の章が指定可能である。片面1up印刷の場合には、図13のプレビュー部に示すとおり章の区切り目は必ずシートの区切り目にあたる。そのため、製本アプリケーションは、指定された章に対応するシートを含むジョブチケットを作成し、図1の電子原稿デスプーラ105に渡す。
(2) Designation by Chapter Number When “Chapter” is designated, as shown in FIG. 16, a chapter designation column 1602 is displayed in the print target column 1502, and a chapter to be printed can be designated in this column. is there. In the case of single-sided 1-up printing, chapter breaks always correspond to sheet breaks as shown in the preview portion of FIG. Therefore, the bookbinding application creates a job ticket including a sheet corresponding to the designated chapter and passes it to the electronic document despooler 105 in FIG.

印刷方法として両面印刷が指定されているばあいには、章の区切り目がシートの区切り目と一致するとは限らない。図19は、図18と同じブックファイルについて両面1up印刷が指定された場合のプレビュー画面の一例の図である。両面印刷であるため、1枚のシートにはその両面に2原稿ページが印刷される。そのため、ページ番号は図18と同様に原稿ページごとに表示されるが、シート番号は2ページおきに付されている。プレビュー部1902では両面印刷であることが視覚的に確認できるように、シートの両面の印刷ページを若干段をずらして表示している。この場合にも、章番号による印刷範囲の指定のためのUI画面は図16と同様の画面となる。しかし、指定された範囲の先頭あるいは末尾のシートが2つの章にまたがっている場合もある。図19の例では、シート2には第1章の第3ページと第2章の第1ページが印刷される。このような場合には、指定された章を含むシートに載るすべてのページを印刷の対象とする。すなわち、図19で第2章が印刷対象として指定された場合、ページ1−3もページ2−1とともに印刷される。これは、部分的な印刷は、通常一部の差し替えのために行われることが多いためである。   When double-sided printing is designated as the printing method, chapter breaks do not always coincide with sheet breaks. FIG. 19 is an example of a preview screen when double-sided 1up printing is designated for the same book file as FIG. Since double-sided printing is used, two document pages are printed on both sides of one sheet. Therefore, the page number is displayed for each document page as in FIG. 18, but the sheet number is assigned every two pages. The preview portion 1902 displays the print pages on both sides of the sheet with a slight shift so that it can be visually confirmed that double-sided printing is being performed. Also in this case, the UI screen for designating the print range by chapter number is the same as that shown in FIG. However, the first or last sheet in the specified range may span two chapters. In the example of FIG. 19, the third page of the first chapter and the first page of the second chapter are printed on the sheet 2. In such a case, all pages on the sheet including the designated chapter are to be printed. That is, when Chapter 2 is designated as a print target in FIG. 19, page 1-3 is also printed together with page 2-1. This is because partial printing is usually performed for partial replacement.

これは、1印刷ページに複数の原稿ページを配置するNup指定がされているブックファイルについても同様である。図21は、図19と同じブックファイルについて2up指定がされている場合のUI画面の一例である。プレビュー部2102には、シート2の印刷ページとして、第1章の第2ページと第2章の第1ページが配置された画像が表示されている。印刷対象として、例えば第2章が指定されると、ページ1−3もページ2−1とともに印刷される。   The same applies to a book file for which Nup designation is made to arrange a plurality of document pages on one print page. FIG. 21 shows an example of a UI screen when 2up is specified for the same book file as FIG. The preview unit 2102 displays an image in which the second page of the first chapter and the first page of the second chapter are arranged as print pages of the sheet 2. For example, when Chapter 2 is designated as the print target, page 1-3 is also printed together with page 2-1.

印刷方法として製本印刷が指定されている場合に章番号による印刷範囲の指定がされたときにも、指定された章を含むシートに載るすべてのページが印刷の対象とされる。図22に製本印刷の指定を行うための画面を示す。図22の画面2201は図14の画面と同様の手順によって表示される。ただし、印刷方法欄2202において製本印刷が指定されているために、指定可能な項目は開き方向2203や製本印刷の単位(束)となる用紙の枚数2204となっている。この例では製本単位は2枚に指定されている。また、章区切りはしないものと指定されており、連続する章の間において改ページや改用紙は行われない。   When bookbinding printing is designated as the printing method, when a print range is designated by a chapter number, all pages placed on a sheet including the designated chapter are targeted for printing. FIG. 22 shows a screen for specifying bookbinding printing. A screen 2201 in FIG. 22 is displayed by the same procedure as the screen in FIG. However, since bookbinding printing is designated in the printing method column 2202, the items that can be designated are the opening direction 2203 and the number of sheets 2204 as a unit (bundle) of bookbinding printing. In this example, the bookbinding unit is designated as two sheets. In addition, it is specified not to divide into chapters, and no page breaks or form breaks are made between successive chapters.

製本単位とは、指定枚数を重ねて2つ折りにすることで作成した冊子である。その冊子を綴じれば1冊の本となる。このため、レイアウトは形式的には両面2upと同様であるが、製本後に見開きの順序が原稿ページの順序になるよう、原稿ページが配置される。   A bookbinding unit is a booklet created by overlapping a specified number of sheets into two. If the booklet is bound, it becomes one book. For this reason, the layout is formally similar to double-sided 2up, but the original pages are arranged so that the page spread order is the original page order after bookbinding.

このように製本印刷が指定されていると、製本アプリケーションによりブックファイルを開いた場合のUI画面は図23の様なものとなる。開いているブックファイルにはchapter1という名称の第1番目の章と、chapter2という名称の第2番目の章とが含まれている。第1番目の章には15原稿ページが、第2番目の章には少なくとも14原稿ページが含まれる。プレビュー部2302には、1行に1束ずつ、見開きの順に原稿ページのプレビュー画像が表示される。また、表示形式も見開きを模したものとなっている。図23の場合、製本単位が2枚であるため、各冊子は2枚のシートから構成される。各シートの一方の面には2原稿ページがレイアウトされるため、1つの冊子は8原稿ページからなる。   When bookbinding printing is designated in this way, the UI screen when a book file is opened by the bookbinding application is as shown in FIG. The opened book file includes a first chapter named chapter1 and a second chapter named chapter2. The first chapter contains 15 manuscript pages, and the second chapter contains at least 14 manuscript pages. In preview portion 2302, preview images of document pages are displayed in a spread order, one bundle per line. Also, the display format is similar to the spread. In the case of FIG. 23, since the bookbinding unit is two sheets, each booklet is composed of two sheets. Since two document pages are laid out on one side of each sheet, one booklet is composed of eight document pages.

このような製本印刷の場合には、章番号で印刷対象の範囲が指定されると、指定された章を含むすべての冊子が印刷される。図23の例では、最初の冊子においては、その内側シートの表面にはページ1−4及び1−5が、裏面には1−3及び1−6が印刷される。外側シートには、その表面にページ1−2及び1−7が、裏面にはページ1−2及び1−8が印刷される。第2番目の冊子においては、その内側シートの表面にはページ1−12及び1−13が、裏面には1−11及び1−14が印刷される。外側シートには、その表面にページ1−10及び1−15が、裏面にはページ1−9及び2−1が印刷される。そのため、第2章が印刷範囲として指定されると、第2番目の冊子には第2章の最初のページが含まれることから、第2番目の冊子を含めて、第3番目、第4番目というように、第2章を含むすべての冊子が印刷される。   In such bookbinding printing, when a range to be printed is designated by a chapter number, all booklets including the designated chapter are printed. In the example of FIG. 23, in the first booklet, pages 1-4 and 1-5 are printed on the front surface of the inner sheet, and 1-3 and 1-6 are printed on the back surface. On the outer sheet, pages 1-2 and 1-7 are printed on the front surface, and pages 1-2 and 1-8 are printed on the back surface. In the second booklet, pages 1-12 and 1-13 are printed on the front surface of the inner sheet, and 1-11 and 1-14 are printed on the back surface. On the outer sheet, pages 1-10 and 1-15 are printed on the front surface, and pages 1-9 and 2-1 are printed on the back surface. Therefore, if Chapter 2 is designated as the print range, the second booklet contains the first page of Chapter 2, so the third and fourth pages, including the second booklet, are included. In this way, all booklets including Chapter 2 are printed.

このように、章番号が指定された場合には、指定された章を含むすべての印刷単位、すなわち片面印刷および両面印刷場合には指定された章を含むすべてのシートが、製本印刷の場合には指定された章を含むすべての冊子が印刷範囲とされ、印刷される。   Thus, when a chapter number is specified, all printing units that include the specified chapter, that is, all sheets that include the specified chapter in single-sided and double-sided printing, All the booklets that contain the specified chapter are included in the print range and printed.

(3)ページ番号による指定
印刷対象欄から「ページ」が指定された場合には、図17または図18に示すように、印刷対象欄1502には、印刷ページで範囲を指定するための欄1702と、原稿ページで範囲を指定するための欄1703とが表示される。利用者がラジオボタン1704を選択することで、いずれか一方の欄が設定可能となる。印刷ページ番号による範囲指定の一例を図17に、原稿ページ番号による範囲指定の一例を図18に示す。
(3) Designation by page number When “page” is designated from the print target column, the print target column 1502 includes a column 1702 for designating a range on the print page, as shown in FIG. 17 or FIG. And a field 1703 for designating a range on the manuscript page is displayed. When the user selects a radio button 1704, one of the fields can be set. FIG. 17 shows an example of range designation by print page number, and FIG. 18 shows an example of range designation by document page number.

原稿ページ番号で範囲を指定する場合、プレビュー画面上では、ページ番号は、章番号と各章における原稿ページとをハイフンで接続した番号として表示されるが、範囲指定は通し番号に換算して指定する。もちろん、これは本実施形態のシステムに関する仕様であり、プレビュー表されるページ番号そのもので範囲指定を行わせることもできる。ただし、範囲を表す記号をハイフン以外の記号に定義し直すなど、表記のしかたについて混同を防止するための処置をとる必要はある。   When the range is specified by the manuscript page number, the page number is displayed on the preview screen as a number obtained by connecting the chapter number and the manuscript page in each chapter with a hyphen. . Of course, this is a specification related to the system of the present embodiment, and the range can be designated by the page number itself displayed in the preview. However, it is necessary to take measures to prevent confusion regarding notation, such as redefining symbols representing ranges as symbols other than hyphens.

印刷ページ番号で範囲を指定する場合にも、印刷ページ番号の通し番号で範囲を指定する。   Even when the range is specified by the print page number, the range is specified by the serial number of the print page number.

原稿ページで範囲指定するばあいも、印刷ページで範囲指定するばあいも、何れのばあいも章番号による指定と同様、指定されたページを含むすべての印刷単位、すなわち片面印刷および両面印刷場合には指定されたページを含むすべてのシートが、製本印刷の場合には指定されたページを含むすべての冊子が印刷範囲とされ、印刷される。   When specifying the range on the manuscript page or specifying the range on the print page, in both cases, as with the specification by chapter number, all printing units including the specified page, that is, single-sided printing and double-sided printing In the case of bookbinding printing, all sheets including the designated page are printed in the printing range, and all booklets including the designated page are printed.

(4)束(冊子)による指定
束による指定は、製本印刷の場合に有効となる。図22に示すように製本印刷が印刷方法として指定されている場合、図23の画面から「ファイル」メニューを選択し、そこから「印刷」項目をさらに選択すると、図24に示す印刷設定UI画面2400が表示される。印刷対象欄2301から「束(冊子)」を選択すると、束番号指定欄2402が表示される。利用者はこの欄で印刷対象の冊子を指定する。図23のプレビュー部2302においては、ひとつの束は横1列の原稿ページのまとまりとして表示される。プレビュー画面における束番号はこのプレビュー部2302に表示された束の順序で与えられる。
(4) Specification by bundle (booklet) Specification by bundle is effective for bookbinding printing. When bookbinding printing is designated as the printing method as shown in FIG. 22, when the “File” menu is selected from the screen of FIG. 23 and the “Print” item is further selected from the menu, the print setting UI screen shown in FIG. 2400 is displayed. When “bundle (booklet)” is selected from the print target column 2301, a bundle number designation column 2402 is displayed. The user designates a booklet to be printed in this field. In the preview area 2302 in FIG. 23, one bundle is displayed as a group of one horizontal row of original pages. The bundle numbers on the preview screen are given in the order of the bundles displayed on the preview section 2302.

冊子単位で印刷対象が指定された場合、指定された冊子を構成する全ページが、製本印刷の手順に従って印刷される。   When a print target is designated in booklet units, all pages constituting the designated booklet are printed according to the bookbinding printing procedure.

<印刷設定手順>
図13〜図24のUI画面を参照して説明した印刷範囲設定の手順を、図25のフローチャートを参照し、製本アプリケーションによる処理手順の側面から説明する。図25の手順は、図13や図19、図21あるいは図23の画面において、利用者が「ファイルメニュー」から「印刷設定」の項目を選択した場合に、図15に示す画面を表示した後から開始される。
<Print setting procedure>
The printing range setting procedure described with reference to the UI screens of FIGS. 13 to 24 will be described from the side of the processing procedure by the bookbinding application with reference to the flowchart of FIG. The procedure shown in FIG. 25 is performed after the screen shown in FIG. 15 is displayed when the user selects the “print setting” item from the “file menu” on the screen shown in FIG. 13, FIG. 19, FIG. Starts from.

まず、ステップS2501において印刷対象欄の選択を判定する。選択された対象が「book」であればそのまま入力待ちとなる。ステップS2505で入力待ちをし、入力がOKボタンであればステップS2506に進んでブック全体を印刷対象として含むジョブチケットを生成する。ジョブチケットはすでに説明したとおり、用紙(シート)上における原稿ページのレイアウトを定義している。ジョブチケットの構造は、まず最上位にドキュメントというノードがあり、文書全体の属性、例えば両面印刷/片面印刷などが定義されている。その下には用紙(シート)ノードが属し、用いるべき用紙の識別子や、プリンタにおける給紙口の指定などの属性が含まれる。各用紙ノードには、印刷ページノードが属する。片面印刷ならば1シートには1印刷ページが属し、両面印刷ならば1シートに2印刷ページが属する。各印刷ページノードには、その上に配置される原稿ページがリーフノードとして属する。例えば、2up指定されていれば、1印刷ページには2原稿ページが属する。また印刷ページの属性として、原稿ページの位置やサイズ等が含まれる。ジョブチケットはこのように木構造を有している。ステップS2506では、ブックファイルの構造及び各ノードにおける属性に従って、ブックファイル全体からジョブチケットを生成する。   First, in step S2501, selection of a print target column is determined. If the selected target is “book”, the process waits for input. In step S2505, input is awaited. If the input is an OK button, the process proceeds to step S2506 to generate a job ticket including the entire book as a print target. As already described, the job ticket defines the layout of the original page on the sheet. In the job ticket structure, 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 (sheet) node belongs, and includes attributes such as an identifier of a paper to be used and a designation of a paper feed port in the printer. A print page node belongs to each paper node. For single-sided printing, one printed page belongs to one sheet, and for double-sided printing, two printed pages belong to one sheet. Each print page node includes a document page arranged thereon as a leaf node. For example, if 2up is designated, two document pages belong to one print page. The print page attributes include the position and size of the original page. Thus, the job ticket has a tree structure. In step S2506, a job ticket is generated from the entire book file according to the structure of the book file and the attributes at each node.

そして、ステップS2510では、生成したジョブチケットを電子原稿デスプーラに送信する。   In step S2510, the generated job ticket is transmitted to the electronic document despooler.

一方、ステップS2505における入力待ちで、印刷対象が変更された場合には、ステップS2501に戻って印刷対象の判定を繰り返し行う。   On the other hand, if the print target is changed while waiting for input in step S2505, the process returns to step S2501 to repeatedly determine the print target.

ステップS2501の判定で印刷対象が「章」であれば、ステップS2502で図16の画面を表示し、入力待ちとなる。ステップS2505における入力待ちで、印刷対象が変更された場合には、ステップS2501に戻って印刷対象の判定を繰り返し行う。   If it is determined in step S2501 that the print target is “chapter”, the screen in FIG. 16 is displayed in step S2502, and input waits. If the print target is changed while waiting for input in step S2505, the process returns to step S2501 to repeatedly determine the print target.

章番号指定欄1602に章番号が指定されてOKボタンが押されたなら、ステップS2505に進んで指定された章を含む全シートを出力するためのジョブチケットを生成する。そのために、図3に示すブックファイルのブック属性に含まれる印刷方法およびN−up指定およびブックファイルの構造を参照し、指定された章の原稿ページを含むシートを印刷の対象としてジョブチケットを生成する。   If a chapter number is specified in the chapter number specification field 1602 and the OK button is pressed, the process proceeds to step S2505 to generate a job ticket for outputting all sheets including the specified chapter. For this purpose, the print method, N-up designation, and book file structure included in the book attributes of the book file shown in FIG. 3 are referred to, and a job ticket is generated for printing a sheet including a manuscript page of the designated chapter. To do.

ひとつの方法として、いったんブックファイル全体を対象とするジョブチケットを生成し、その後、指定された章に含まれる原稿ページをリーフノードとして含むシートノードを頂点とする部分木のみを残し、他のシートノードを頂点とする部分木を削除するという方法がある。ただし、製本印刷の場合には指定範囲が章であろうとも冊子単位で印刷するために、指定された章を全く含まないシートであっても、指定された章を含む冊子の一部であれば印刷対象となる。そこで、ジョブチケットのシートノードを印刷単位として指定された枚数ごとに区分し、指定された章に属する原稿ページが含まれる区分内のシートはすべて印刷対象としてジョブチケットを生成する。なおブックファイル全体のジョブチケットの作成は、片面または両面印刷であれば、N−up指定に応じて、Nページずつ原稿ページを各印刷ページに配置するようにして作成できる。また製本印刷の場合には、(製本単位×4)ページずつ原稿ページを区切り、各区切り(これが束である)ごとに、見開き順に原稿ページを(製本単位×4)ページ分の枠に配置していくことで作成できる。   One method is to generate a job ticket for the entire book file once, and then leave only the subtree whose vertex is the sheet node that contains the manuscript page included in the specified chapter as a leaf node, and other sheets. There is a method of deleting a subtree having nodes as vertices. However, in the case of bookbinding printing, even if the specified range is a chapter, printing is done in booklet units, so even if a sheet does not contain the specified chapter at all, it may be part of the booklet that contains the specified chapter. It becomes a print target. Therefore, the sheet node of the job ticket is divided for each designated number of sheets as a printing unit, and a job ticket is generated as a print target for all the sheets in the category including the manuscript page belonging to the designated chapter. Note that the job ticket for the entire book file can be created by placing N pages of original pages on each print page in accordance with N-up designation in the case of single-sided or double-sided printing. In the case of bookbinding printing, the manuscript page is divided into (bookbinding unit × 4) pages, and the manuscript pages are arranged in a frame for (bookbinding unit × 4) pages in the spread order for each delimiter (this is a bundle). You can create it by following.

そして、ステップS2510では、生成したジョブチケットを電子原稿デスプーラに送信する。   In step S2510, the generated job ticket is transmitted to the electronic document despooler.

ステップS2501において印刷対象が「ページ」であれば、ステップS2503で図17の画面を表示し、入力待ちとなる。ステップS2505における入力待ちで、印刷対象が変更された場合には、ステップS2501に戻って印刷対象の判定を繰り返し行う。   If the print target is “page” in step S2501, the screen of FIG. 17 is displayed in step S2503, and input is awaited. If the print target is changed while waiting for input in step S2505, the process returns to step S2501 to repeatedly determine the print target.

図17におけるボタン1704によって印刷ページか原稿ページかいずれを対象とするかが指定され、印刷ページの場合には印刷ページ番号欄1702に番号が入力されたOKボタンが押されたなら、ステップS2508へ進む。原稿ページの場合には図18の画面を表示しなおして、原稿ページ番号欄1703にページ番号が指定されてOKボタンが押されたなら、ステップS2508に進む。   It is designated by the button 1704 in FIG. 17 whether a print page or an original page is to be processed. If the page is a print page, if the OK button whose number is entered in the print page number field 1702 is pressed, the process advances to step S2508. move on. In the case of a manuscript page, the screen of FIG. 18 is displayed again. If a page number is designated in the manuscript page number field 1703 and the OK button is pressed, the process advances to step S2508.

印刷ページ番号指定欄1702に印刷ページ番号が指定されてOKボタンが押されたなら、ステップS2508に進んで指定された印刷ページを含む全シートを出力するためのジョブチケットを生成する。そのために、図3に示すブックファイルのブック属性に含まれる印刷方法およびN−up指定およびブックファイルの構造を参照し、指定された印刷ページを含むシートを印刷の対象としてジョブチケットを生成する。   If a print page number is designated in the print page number designation field 1702 and the OK button is pressed, the process advances to step S2508 to generate a job ticket for outputting all sheets including the designated print page. For this purpose, the printing method, N-up designation, and book file structure included in the book attributes of the book file shown in FIG. 3 are referred to, and a job ticket is generated with a sheet including the designated print page as a printing target.

ひとつの方法として、いったんブックファイル全体を対象とするジョブチケットを生成し、その後、指定された印刷ページを含むシートノードを頂点とする部分木のみを残し、他のシートノードを頂点とする部分木を削除するという方法がある。ただし、製本印刷の場合には指定範囲が印刷ページであろうとも冊子単位で印刷するために、指定された印刷ページを全く含まないシートであっても、指定された印刷ページを含む冊子の一部であれば印刷対象となる。そこで、ジョブチケットのシートノードを印刷単位として指定された枚数ごとに区分し、指定された章に属する印刷ページが含まれる区分内のシートはすべて印刷対象としてジョブチケットを生成する。   One method is to generate a job ticket for the entire book file once, and then leave only the subtree whose vertex is the sheet node containing the specified print page, and the subtree whose vertex is the other sheet node. There is a method of deleting. However, in the case of bookbinding printing, even if the specified range is a print page, printing is performed in booklet units. Therefore, even for a sheet that does not include the specified print page, a booklet that includes the specified print page is used. If it is a copy, it becomes a print target. Therefore, the sheet node of the job ticket is divided for each number designated as a printing unit, and the job ticket is generated as a print target for all the sheets in the classification including the print pages belonging to the designated chapter.

印刷対象が原稿ページで指定されている場合には、前述の「印刷ページ」を「原稿ページ」に置換した方法でジョブチケットを生成できる。なお、原稿ページ番号は通し番号で指定されているために、それを章番号及び各章における原稿ページ番号に換算しなければならない。換算によって原稿ページを特定できる。   When the print target is designated by a manuscript page, a job ticket can be generated by replacing the aforementioned “print page” with “manuscript page”. Since the manuscript page number is designated by a serial number, it must be converted into a chapter number and a manuscript page number in each chapter. A manuscript page can be specified by conversion.

以上の手順で印刷の対象としてジョブチケットを生成する。そして、ステップS2510では、生成したジョブチケットを電子原稿デスプーラに送信する。   A job ticket is generated as a print target by the above procedure. In step S2510, the generated job ticket is transmitted to the electronic document despooler.

ステップS2501の判定で印刷対象が「束」であれば、ステップS2504で図24の画面を表示し、入力待ちとなる。ステップS2505における入力待ちで、印刷対象が変更された場合には、ステップS2501に戻って印刷対象の判定を繰り返し行う。   If it is determined in step S2501 that the print target is “bundle”, the screen of FIG. If the print target is changed while waiting for input in step S2505, the process returns to step S2501 to repeatedly determine the print target.

章番号指定欄2402に束番号が指定されてOKボタンが押されたなら、ステップS2505に進んで指定された束に含まれる全シートを出力するためのジョブチケットを生成する。なお、束指定は印刷方法が製本印刷の場合に限られる。   If a bundle number is designated in the chapter number designation field 2402 and the OK button is pressed, the process proceeds to step S2505 to generate a job ticket for outputting all sheets included in the designated bundle. The bundle designation is limited to the case where the printing method is bookbinding printing.

ひとつの方法として、いったんブックファイル全体を対象とするジョブチケットを、各冊子(束)ごとに原稿ページの順序を見開き順に印刷ページに配置した製本印刷の形式で生成しておく方法がある。このように生成されたジョブチケットにおいて、束は、製本単位の数ごとに区切られたシートノードで表現できる。例えば製本単位が2枚の場合、印刷順に前からふたつずつシートノードを区切れば、各区切りが束となる。そこで、指定された束に含まれないシートノードをジョブチケットから削除することで、指定された束を含むジョブチケットを生成する。なお、製本印刷では、ジョブチケット生成時に各冊子ごとに原稿ページの順序を見開き順に配置しておくことはもちろんである。   As one method, there is a method in which a job ticket for the entire book file is generated once in the form of bookbinding printing in which the order of the original pages is arranged on the print page in the spread order for each booklet (bundle). In the job ticket generated in this way, a bundle can be expressed by sheet nodes divided by the number of bookbinding units. For example, when the number of bookbinding units is two, if two sheet nodes are separated from the front in the order of printing, each separation becomes a bundle. Therefore, by deleting sheet nodes that are not included in the specified bundle from the job ticket, a job ticket including the specified bundle is generated. In bookbinding printing, it is a matter of course that the order of document pages is arranged in a spread order for each booklet when a job ticket is generated.

そして、ステップS2510では、生成したジョブチケットを電子原稿デスプーラに送信する。   In step S2510, the generated job ticket is transmitted to the electronic document despooler.

以上の手順によって、指定された部分を含むジョブチケットを生成することができる。電子原稿デスプーラは、ジョブチケットを受信すると、オペレーティングシステムの有する出力モジュールに適合したコマンドにジョブチケットを変換し、そのコマンドを出力モジュールに送信する。出力モジュールは、印刷を実際におこなうプリンタ等のデバイスドライバを用いてそのプリンタに適した形式の印刷コマンドを生成し、それをプリンタに送信して印刷させる。   With the above procedure, a job ticket including a designated portion can be generated. When receiving the job ticket, the electronic document despooler converts the job ticket into a command suitable for the output module of the operating system, and transmits the command to the output module. The output module generates a print command in a format suitable for the printer using a device driver such as a printer that actually performs printing, and transmits the print command to the printer for printing.

<その他の構成>
上記実施形態では、製本印刷の場合、指定された範囲を含むシートを冊子単位で印刷している。しかし、製本単位の枚数が多い場合や、ブックファイル全体が製本単位として指定されている場合には、必要な用紙枚数が少ないという利点が失われてしまう。そこで、印刷範囲の指定が章または印刷ページ又は原稿ページでされている場合には、指定された範囲を含むシートを印刷することもできる。この場合には、上述の手順とほぼ同様の手順で印刷できるが、指定された範囲を含む束の判定を行う必要がない分だけ処理手順は簡単になる。また、印刷される用紙の枚数を減らすことが可能であることはもちろんである。
<Other configurations>
In the above embodiment, in the case of bookbinding printing, a sheet including a specified range is printed in booklet units. However, when the number of bookbinding units is large, or when the entire book file is designated as the bookbinding unit, the advantage that the required number of sheets is small is lost. Therefore, when the print range is specified for a chapter, a print page, or a manuscript page, a sheet including the specified range can be printed. In this case, printing can be performed in substantially the same procedure as described above, but the processing procedure is simplified to the extent that it is not necessary to determine a bundle including the designated range. Of course, the number of sheets to be printed can be reduced.

また、範囲指定のしかたとして、用紙単位の指定を付け加えても良い。シートはジョブチケットのノードのひとつであり、しかもシート単位の指定は指定された範囲で必ず完結するために、指定範囲を含む部分的なジョブチケットを作成することは容易である。また、シートの番号はプレビュー部において各シートの右肩部に表示されるため利用者がシートをプレビュー画面から特定することが容易である。シートが印刷範囲として指定された場合には、ブックファイル全体のついてのジョブチケットから、指定範囲外のシートのノードを削除することで、指定範囲を印刷するためのジョブチケットを生成することができる。指定されたシートの番号はジョブチケットにおけるシートノードの順序に対応しているため、この処理は容易である。   In addition, as a method of specifying a range, specification of a paper unit may be added. Since a sheet is one of job ticket nodes, and specification of a sheet unit is always completed within a specified range, it is easy to create a partial job ticket including the specified range. Further, since the sheet number is displayed on the right shoulder of each sheet in the preview part, it is easy for the user to specify the sheet from the preview screen. When a sheet is specified as a print range, a job ticket for printing the specified range can be generated by deleting a sheet node outside the specified range from the job ticket for the entire book file. . Since the designated sheet number corresponds to the order of the sheet nodes in the job ticket, this processing is easy.

また、本実施形態では、部分印刷のジョブチケットを生成する際には、全体についてのジョブチケットから必要な部分のみを残すような処理を行うとしているが、必要な部分だけを選び出してジョブチケットを再構成することもできる。また、全体についてのジョブチケットを生成しながら、不要な部分を削除する処理を並行して行うことで、ジョブチケットの生成に必要な資源を節約することができる。   Also, in this embodiment, when generating a partial print job ticket, processing is performed so that only necessary portions are left out of the entire job ticket, but only necessary portions are selected and job tickets are selected. It can also be reconfigured. Further, by generating a job ticket for the whole while performing processing for deleting unnecessary portions in parallel, resources necessary for generating the job ticket can be saved.

<部分印刷の具体的手順の例>
また、部分印刷を行う方法として、ジョブチケットから不要な部分を取り除く方法ではなく、ジョブチケットに対して印刷範囲を指定する指示を追加し、部分印刷に必要なジョブチケットの部分を電子原稿デスプーラによって読み出す方法を採用することも可能である。その例を以下に示す。
<Example of specific procedure for partial printing>
Also, as a partial printing method, instead of removing unnecessary parts from the job ticket, an instruction to specify the print range is added to the job ticket, and the part of the job ticket necessary for partial printing is added by the electronic document despooler. It is also possible to adopt a reading method. An example is shown below.

(文書全体(ブック)の指定)
図26は、ジョブチケットの形式の一例を模式的に示す図である。この例のジョブチケットでは、1つのドキュメントの内容と印刷に対する指示などの情報が階層構造で表現されている。印刷指示は「ResourcePool」2601の部分に含まれており、ドキュメントに対する印刷指示は、「PrintParams」2602以下に記載されている。さらに、各シートに関する情報は「Sheet」2603以下に記載され、各シートに配置される印刷ページ(物理ページ)に関する情報は「Surface」2604以下に記載されており、「Surface」2604には原稿ページの印刷ページ上への配置指示が含まれる。
(Specify the entire document (book))
FIG. 26 is a diagram schematically illustrating an example of a job ticket format. In the job ticket of this example, information such as the contents of one document and instructions for printing is expressed in a hierarchical structure. The print instruction is included in the “ResourcePool” 2601 portion, and the print instruction for the document is described in “PrintParams” 2602 and below. Further, information on each sheet is described in “Sheet” 2603 and below, information on a print page (physical page) arranged on each sheet is described in “Surface” 2604 and below, and “Surface” 2604 includes a manuscript page. Is included on the print page.

図25のフローチャートにおいて、ブック全体を印刷するためのジョブチケットを生成するステップS2506では、図27に示すように、「PrintSheetList="1〜−1"」という印刷範囲の指示2701を生成する。この例では印刷範囲を示す文字列に以下の書式を利用している。なお図においては下線を付しているがこれは図示の便宜のためである。
・シートを指定するシート番号は、ドキュメントの先頭シートから順に1,2,3,あるいは最終シートから順に−1,−2,−3と表現する。
・印刷するシート番号をスペースで区切って指定する。例えば、3シート目と5シート目を指定する場合には、"3 5"と表現する。
・連続したシートを指定する場合、"(最初のシート番号)〜(最後のシート番号)"という書式で表現できる。例えば、1シート目から3シート目を指定する場合には"1〜3"と表現する。
In step S2506 of generating a job ticket for printing the entire book in the flowchart of FIG. 25, a print range instruction 2701 of “PrintSheetList =“ 1 to −1 ”” is generated as shown in FIG. In this example, the following format is used for the character string indicating the print range. In addition, although an underline is attached in the figure, this is for convenience of illustration.
A sheet number for designating a sheet is expressed as 1, 2, 3 in order from the first sheet of the document, or -1, -2, -3 in order from the last sheet.
・ Specify the sheet numbers to be printed, separated by spaces. For example, when the third and fifth sheets are designated, it is expressed as “35”.
When specifying consecutive sheets, it can be expressed in the format of “(first sheet number) to (last sheet number)”. For example, when specifying the first sheet to the third sheet, it is expressed as “1 to 3”.

図27の例では、印刷範囲は、「PrintSheetList」なる記述によりシート(用紙)単位で指定されするものとしている。そのため、ステップS2506では、ブック全体を出力範囲とする範囲の指定として"1〜−1"、すなわち先頭のシートから最終のシートまでの指定を生成し、「PrintSheetList」の直後にそれを付加する。そして、生成された、範囲を指定するための記述「PrintSheetList="1〜−1"」は、「PrintParams」2602に含まれる項目のひとつとしてジョブチケットに挿入される。   In the example of FIG. 27, the print range is designated in units of sheets (paper) by the description “PrintSheetList”. Therefore, in step S2506, “1 to −1”, that is, the specification from the first sheet to the last sheet is generated as the specification of the range in which the entire book is the output range, and is added immediately after “PrintSheetList”. Then, the generated description “PrintSheetList =“ 1 to −1 ”” for designating a range is inserted into the job ticket as one of the items included in “PrintParams” 2602.

(章単位の指定)
指定された章を印刷するためのジョブチケットを生成するステップS2507では、まず指定された章に含まれる原稿ページを調べる。これには、図3で示した章属性、ページ属性の階層を利用して調べることができる。そして、得られた原稿ページが配置される印刷ページを調べる。これには、図4および図5に示したブック属性および章属性の内、原稿ページの配置にかかわる情報(印刷方法、N−up印刷など)を元に調べることができる。
(Chapter unit specification)
In step S2507 for generating a job ticket for printing the designated chapter, first, a document page included in the designated chapter is checked. This can be examined using the chapter attribute and page attribute hierarchy shown in FIG. Then, the print page on which the obtained document page is arranged is checked. For this purpose, it is possible to check based on information (printing method, N-up printing, etc.) related to the arrangement of the manuscript page among the book attributes and chapter attributes shown in FIGS.

1シートの片面に配置される原稿ページ数は、N(NはN−up印刷指定における、1物理ページに配置される原稿ページ数)ページである。したがって、1シートに配置される原稿ページ数は、片面印刷指定であればN、両面印刷指定であれば2Nとなる。したがって原稿ページ数とシート数との関係は、原稿ページ数/N(片面指定)または原稿ページ数/2N(両面指定)となる。また、章の間で改用紙の指定があれば、新たな章は必ずシートを改めてから印刷される。章の間で改ページの指定があれば、新たな章は必ず印刷ページを改めてから印刷される。したがって、これらの点を鑑みて、指定された章が含まれるシートが特定される。具体的にはステップS2507で行われるのは次のような手順を一例として採用できる。
(1)指定された章以前の章について、シート枚数(P)を数える。このためには、章のシート枚数=章に含まれる原稿ページ数/N(片面指定)または原稿ページ数/2N(両面指定)として計算する。ただし、両面印刷指定であり、かつ、章間の改ページ指定がない場合には、章ごとに計算せず、連続する章についてまとめて計算する。また章に含まれる原稿ページ数は、図3(A)の章ノード302A、302Bから分岐する葉ノードの数に相当する。
(2)章間に改用紙指定があれば、次の章は新たなシート(P+1)から印刷される。
(3)章間に改ページ指定があれば、両面指定の場合には次の章はその前の章の最終ページを同じシート(P)の裏面から印刷される。片面印刷指定の場合には新たなシート(P+1)から印刷される。
(4)指定された章以前のすべての章について(1)〜(3)を繰返し行い、指定された章についてその先頭ページの属するシート(Pstart)を求める。
(5)指定された章について(1)と同じ要領でシート枚数(P')を数える。(6)印刷範囲をシートPstart〜Pstart+P'と決定する。
The number of document pages arranged on one side of one sheet is N (N is the number of document pages arranged on one physical page in N-up printing designation). Accordingly, the number of document pages arranged on one sheet is N for single-sided printing designation and 2N for double-sided printing designation. Therefore, the relationship between the number of document pages and the number of sheets is the number of document pages / N (single-sided designation) or the number of document pages / 2N (double-sided designation). In addition, if there is a paper break specification between chapters, a new chapter is always printed after a new sheet. If a page break is specified between chapters, a new chapter is always printed after a new print page. Therefore, in view of these points, a sheet including the designated chapter is specified. Specifically, the following procedure can be adopted as an example that is performed in step S2507.
(1) Count the number of sheets (P) for the chapters before the specified chapter. For this purpose, the number of sheets in a chapter is calculated as the number of original pages included in a chapter / N (single side designation) or the number of original pages / 2N (double side designation). However, when double-sided printing is specified and page breaks between chapters are not specified, calculation is performed for successive chapters without calculating for each chapter. The number of document pages included in a chapter corresponds to the number of leaf nodes branched from the chapter nodes 302A and 302B in FIG.
(2) If a paper break is designated between chapters, the next chapter is printed from a new sheet (P + 1).
(3) If a page break is designated between chapters, in the case of duplex designation, the next chapter is printed from the back side of the same sheet (P) as the last page of the previous chapter. In the case of single-side printing designation, printing is started from a new sheet (P + 1).
(4) Steps (1) to (3) are repeated for all chapters before the designated chapter, and the sheet (Pstart) to which the first page belongs is obtained for the designated chapter.
(5) Count the number of sheets (P ′) for the designated chapter in the same manner as (1). (6) The printing range is determined as sheets Pstart to Pstart + P ′.

以上の手順により、章単位で指定された範囲をシートに置き換えることができる。もちろん、複数の章が指定されている場合には、それぞれの指定された章について独立してこの手順を適用することができる。   With the above procedure, the range specified in units of chapters can be replaced with a sheet. Of course, when a plurality of chapters are designated, this procedure can be applied independently to each designated chapter.

ただし、これらの手順は、図21のようなGUI画面を表示する際にも行われるものである。したがって、そのGUI画面表示時にシートと原稿ページ、章の対応関係を決定したならばその情報を保存しておき、印刷範囲が指定された場合には、その保存された情報を参照してシートの範囲を決定することもできる。   However, these procedures are also performed when a GUI screen as shown in FIG. 21 is displayed. Therefore, if the correspondence between the sheet, the manuscript page, and the chapter is determined when the GUI screen is displayed, the information is stored. When the print range is designated, the stored information is referred to by referring to the stored information. The range can also be determined.

なお製本印刷指定の場合には、章単位の印刷範囲は束の単位で指定されるものとする。したがって、指定された章が含まれる束をシートの範囲に対応付けて、印刷対象のシートの範囲が決定される。製本印刷指定の場合には、1束のシート数×4が1束に印刷される原稿ページ数となる。また、章の間に改用紙指定があれば、章の最終ページ番号が奇数であるならその直後に白紙ページが挿入されたものとして指定された章以前の章のみが属する束の数が判定される。このようにして数えられた束の数は、1束のシート数を乗じてシート数(P)に換算される。   In the case of bookbinding printing designation, the chapter-unit printing range is designated in bundle units. Accordingly, the range of the sheet to be printed is determined by associating the bundle including the designated chapter with the range of the sheet. In the case of bookbinding printing designation, the number of sheets per bundle × 4 is the number of original pages printed per bundle. In addition, if there is a page break specification between chapters, if the last page number of the chapter is an odd number, the number of bundles to which only the chapters before the chapter designated as a blank page inserted immediately after that will be determined. The The number of bundles thus counted is converted to the number of sheets (P) by multiplying the number of sheets of one bundle.

そして、指定された章が属する束の先頭のシート番号(P+1)が、印刷すべき範囲の先頭となる。指定された章の原稿ページ数から、指定された章が含まれる束の数はただちに求められる。このとき、先頭の束に含まれる、指定された章以外の章の原稿ページ数を含めて束の数は判定される。そして、指定された章が含まれる最後の束の最終シートが、印刷すべき範囲の末尾となる。   Then, the head sheet number (P + 1) of the bundle to which the designated chapter belongs becomes the head of the range to be printed. From the number of manuscript pages of the designated chapter, the number of bundles including the designated chapter is immediately obtained. At this time, the number of bundles including the number of document pages of chapters other than the designated chapter included in the top bundle is determined. Then, the last sheet of the last bundle including the designated chapter is the end of the range to be printed.

以上のようにして決定された範囲を「PrintSheetList」の直後に付加し、これを「PrintParams」2602に挿入する。   The range determined as described above is added immediately after “PrintSheetList”, and this is inserted into “PrintParams” 2602.

例えば、図19に示した両面1−upのドキュメントの2章を印刷対象に指定した場合、指定された第2章以前の章、すなわち第1章のシート枚数は、2章に含まれる原稿ページは2−1から2−5の5ページであり、これらの原稿ページが配置されるシートは2から4の3つのシートとなる。よって、この場合には、PrintSheetList="2〜4"という表現で印刷範囲を指定することとなる。   For example, when two chapters of the double-sided 1-up document shown in FIG. 19 are designated as print targets, the designated chapters before the second chapter, that is, the number of sheets of the first chapter are manuscript pages included in the two chapters. Are 5 pages from 2-1 to 2-5, and the sheets on which these document pages are arranged are three sheets from 2 to 4. Therefore, in this case, the print range is designated by the expression PrintSheetList = "2-4".

(原稿ページ単位の指定)
指定されたページ(原稿ページ)を印刷するためのジョブチケットを生成するステップS2508では、指定された原稿ページが配置される印刷ページを調べる。この処理は、章を指定された場合の処理と同様に求めることができる。すなわち、上述した章単位の指定の手順において、(1)〜(6)における「章」を「原稿ページ」と読み替えれば、ほぼそのまま上記手順を適用できる。ただし、手順(1)では1原稿ページ当たりのシート枚数が求められてしまうので、この値に指定された原稿ページより前の原稿ページ数を乗じてシート枚数に換算する必要がある。
(Specify manuscript page unit)
In step S2508 of generating a job ticket for printing the designated page (original page), the print page on which the designated original page is arranged is checked. This process can be obtained in the same manner as the process when a chapter is designated. That is, in the above-described procedure for specifying a chapter unit, if the “chapter” in (1) to (6) is read as “original page”, the above procedure can be applied almost as it is. However, since the number of sheets per one manuscript page is obtained in step (1), it is necessary to multiply this value by the number of manuscript pages before the designated manuscript page and convert it to the number of sheets.

さらに、換算されたシート枚数が整数ではない場合、指定された原稿ページはそれ以前のページと同じシート上に印刷される可能性があるため、章区切りの指定に応じて調整が必要となる。
(a)章区切りの改ページ指定および改用紙指定がいずれもされていない場合には、換算されたシート枚数の整数部分が、指定された原稿ページが印刷されるシートより前のシートの枚数に相当する。
(b)ただし、改ページ指定されている場合、注目章のページ数として、図3のデータから得られる原稿ページ数をそのまま採用せず、注目章のページ数より大きい最小のNの倍数を、注目章の原稿ページ数として採用する。そしてその原稿ページ数を、上記手順でシート枚数に換算する。これは、改用紙指定されており、かつ、片面印刷指定されている場合も同様である。また、改用紙指定されており、かつ、両面印刷指定されている場合には、注目章のページ数として、注目章のページ数より大きい最小の2Nの倍数を、注目章のページ数として採用する。ただし、NはN−up印刷指定における、1印刷ページに配置される原稿ページ数である。これは、章区切りにより生じる空白を空白原稿ページとして換算するためである。
Furthermore, if the converted number of sheets is not an integer, the designated document page may be printed on the same sheet as the previous pages, so adjustment is required according to the chapter break designation.
(A) If neither chapter break page designation nor page break designation is specified, the integer part of the converted sheet number is set to the number of sheets before the sheet on which the designated document page is printed. Equivalent to.
(B) However, when page break is designated, the number of original pages obtained from the data in FIG. 3 is not adopted as the number of pages of the chapter of interest, and the smallest multiple of N larger than the number of pages of the chapter of interest is Adopted as the number of manuscript pages of the chapter of interest. Then, the number of original pages is converted into the number of sheets by the above procedure. The same applies to the case where a paper break is designated and single-sided printing is designated. In addition, when the paper break is designated and double-sided printing is designated, the smallest multiple of 2N that is larger than the number of pages of the chapter of interest is adopted as the number of pages of the chapter of interest. . However, N is the number of document pages arranged on one print page in N-up printing designation. This is because the blank generated by the chapter break is converted as a blank manuscript page.

例えば、図19に示したドキュメントの原稿ページ2−1と2−5とを印刷対象に指定した場合を考える。両面に刷指定がされていることから、1原稿ページ当たりのシート枚数は、1/2である。章区切りの指定は特にされていないから、範囲指定されたページ2−1以前のシート数は、3(原稿ページ数)×1/2(シート枚数/原稿ページ)=3/2の整数部分、すなわちP=1枚である。したがって、指定された原稿ページが含まれるシートはP+1=2枚目ということになる。同様にして、原稿ページ2−5は4枚目のシートに含まれる。すなわち、指定された原稿ページを含むシートはシート2と4の2つのシートとなる。この場合には、「PrintSheetList="2 4"」という表現で印刷範囲を指定することとなる。   For example, let us consider a case where the manuscript pages 2-1 and 2-5 of the document shown in FIG. Since printing is designated on both sides, the number of sheets per document page is ½. Since the chapter break is not specified, the number of sheets before the range-specified page 2-1 is 3 (number of original pages) × 1/2 (number of sheets / original page) = 3/2, an integer part. That is, P = 1. Accordingly, the sheet including the designated document page is P + 1 = 2. Similarly, the original page 2-5 is included in the fourth sheet. That is, the sheets including the designated document page are two sheets, sheets 2 and 4. In this case, the print range is designated by the expression “PrintSheetList =“ 2 4 ””.

束(冊子)単位の指定)製本印刷時に指定された束を印刷するためのジョブチケットを生成するステップS2509では、指定された束の含むシートを求める。例えば、製本印刷時に5枚ごとに冊子を分ける指示を行った場合に2冊子目印刷するのであれば、6から10の5つのシートが印刷対象となるので、PrintSheetList="6〜10"という表現で印刷範囲を指定することとなる。   (Specifying a bundle (booklet) unit) In step S2509 for generating a job ticket for printing a bundle designated at the time of bookbinding printing, a sheet included in the designated bundle is obtained. For example, if a second booklet is printed when an instruction is given to separate a booklet every five sheets at the time of bookbinding printing, five sheets from 6 to 10 are to be printed, so the expression PrintSheetList = “6-10” The print range is specified with.

電子原稿デスプーラは、上記処理で作成されたジョブチケットを受け取り、PrintSheetListに指定されたシートのみを印刷対象と判断し、対応するシートのみ指定された指示に従ってオペレーティングシステムの有する出力モジュールに適合したコマンドにジョブチケットを変換し、そのコマンドを出力モジュールに送信する。図28A及び図28Bはひとつのジョブチケットを示している。図28A及び図28Bに示すジョブチケットの例では、PrintParamsのPrintSheetList="1"(1シート目を印刷する)を読み出し、指定されたLayoutのSignatureに属するシートのみを印刷対象としてコマンド生成を行うこととなる(図の太字のSignature部分のみ)。   The electronic manuscript despooler receives the job ticket created in the above processing, determines only the sheet designated in PrintSheetList to be printed, and changes the command to the output module of the operating system according to the instruction designated only for the corresponding sheet. Convert the job ticket and send the command to the output module. 28A and 28B show one job ticket. In the example of the job ticket shown in FIG. 28A and FIG. 28B, Print Sheet List = “1” (print the first sheet) of PrintParams is read, and the command generation is performed only for the sheets belonging to the designated Layout Signature. (Only the bold signature part in the figure).

このようにして、複数の印刷範囲指定方法で指定された印刷範囲を、印刷対象のシートを指定するジョブチケットによって表現し、ジョブチケットから不要部分を取り除くのではなく、印刷対象のシート情報を追加して印刷範囲を指定することが可能である。また、ジョブチケットの一部を書き換えるだけで、ドキュメントの任意の部分を印刷対象として指定することが可能となるため、印刷範囲を指定するジョブチケットの作成処理が容易(高速)となる、印刷範囲の変更が可能となるといった効果がさらに得られる。   In this way, the print range specified by multiple print range specification methods is represented by a job ticket that specifies the sheet to be printed, and sheet information to be printed is added instead of removing unnecessary parts from the job ticket. The print range can be specified. In addition, it is possible to specify any part of the document as a print target by simply rewriting a part of the job ticket, so the job ticket creation process that specifies the print range is easy (high speed). The effect that it becomes possible to change is further obtained.

<電子原稿デスプーラにおける印刷処理>
電子原稿デスプーラにおける印刷処理をさらに詳細に説明する。電子原稿デスプーラは、ジョブチケットに記載された印刷指示に従って、原稿ページの描画データをOSの出力コマンド(例えばWindows(登録商標)のGDIコマンド)に変換し、プリンタドライバ経由でプリンタに描画命令を転送する。
<Print processing in electronic document despooler>
The printing process in the electronic document despooler will be described in more detail. The electronic manuscript despooler converts manuscript page drawing data into OS output commands (for example, Windows (registered trademark) GDI command) according to the print instruction described in the job ticket, and transfers the drawing command to the printer via the printer driver. To do.

ジョブチケットには、先頭のシートから順にシート情報が記載されており、Nシート目を印刷する際には、ジョブチケットの先頭からN番目の「Sheet」の部分を読み出すことで、印刷対象のシート情報を取得することができる。Sheetには、片面印刷時には1つのSurface、両面印刷時には2つのSurfaceが含まれており、Surfaceには、印刷ページ(物理ページ)の情報が記載されている。さらに、Surface内にはその印刷ページ内に描画される原稿ページに関する情報がContentObjectとして含まれている。   In the job ticket, sheet information is described in order from the first sheet. When the Nth sheet is printed, the Nth “Sheet” portion from the beginning of the job ticket is read to obtain the sheet to be printed. Information can be acquired. Sheet includes one surface for single-sided printing and two surfaces for double-sided printing, and the surface describes information of a print page (physical page). Further, the Surface includes information regarding the document page drawn in the print page as a ContentObject.

図29に、電子原稿デスプーラにおける印刷処理のフローチャートを示す。ステップS2901では、ジョブチケットからジョブの初期化コマンド出力に必要な情報を取得する。初期化コマンドは、例えば印刷先のプリンタを識別する情報、指定解像度、部数といった、印刷ジョブ全体に指定するパラメータ群であり、ジョブチケットのResourcePool以下のPrintParamsやDeviceの部分に指定されている。これらの値を取得し、OSの印刷処理方法に合わせて、出力先プリンタを指定し、解像度、部数などのジョブ全体に指定すべきパラメータを出力する。次に、ステップS2902では、印刷範囲を取得するために、ジョブチケットからPrintSheetListの値を取得する。ステップS2903では、PrintSheetListの内容を元に、実際に印刷するシート番号のリストを生成する。例えば、PrintSheetList="1〜3 6 8〜10"であれば、印刷するシート番号のリスト(1, 2, 3, 6, 8, 9, 10)を生成する。ステップS2904からステップS2907では、リストの先頭のシート番号を取り出し(ステップS2905)、そのシートの印刷処理(ステップS2906)を行い、リストの先頭のシート番号を削除し(ステップS2907)、リストに含まれるすべてのシートの印刷処理が終了するまで繰り返し処理を行っている。なお、印刷範囲がすべてのシートの場合には、リストを作成し、印刷するシートを特定する処理を省略し、先頭のシートから順に印刷することが可能である。   FIG. 29 shows a flowchart of the printing process in the electronic document despooler. In step S2901, information necessary for job initialization command output is acquired from the job ticket. The initialization command is a group of parameters specified for the entire print job, such as information for identifying a printer as a printing destination, a specified resolution, and the number of copies. The initialization command is specified in a PrintParams or Device portion below the ResourcePool of the job ticket. These values are acquired, an output destination printer is designated in accordance with the OS print processing method, and parameters to be designated for the entire job such as resolution and number of copies are output. Next, in step S2902, the value of PrintSheetList is acquired from the job ticket in order to acquire the print range. In step S2903, a list of sheet numbers to be actually printed is generated based on the contents of PrintSheetList. For example, if PrintSheetList = "1-3 6 8-10", a list of sheet numbers (1, 2, 3, 6, 8, 9, 10) to be printed is generated. In steps S2904 to S2907, the top sheet number of the list is extracted (step S2905), the printing process of the sheet (step S2906) is performed, the top sheet number of the list is deleted (step S2907), and the list is included in the list. The process is repeated until the printing process for all sheets is completed. When the printing range is all sheets, it is possible to print a list in order from the first sheet, omitting the process of creating a list and specifying the sheet to be printed.

図30に、図29のステップS2906におけるシートの印刷処理のフローチャートを示す。図26のSignature2605は、シート属性(例えば用紙サイズ、給紙口など)の定義を含んでおり、同一のシート属性を持ったシートがそのSignatureに含まれるよう構成されている。ステップS3001では、印刷対象として指定されたシートを含むSignatureの情報を読み出し、もしシート属性が直前の状態と異なる場合には、OSの印刷処理方法に合わせて、その属性を変更するコマンド(用紙サイズ・給紙口の変更コマンドなど)を出力する。   FIG. 30 is a flowchart of the sheet printing process in step S2906 of FIG. The signature 2605 in FIG. 26 includes the definition of sheet attributes (for example, paper size, paper feed slot, etc.), and is configured so that sheets having the same sheet attribute are included in the signature. In step S3001, the signature information including the sheet designated as the print target is read. If the sheet attribute is different from the previous state, a command (paper size) for changing the attribute in accordance with the OS print processing method. • Output paper feed change command).

ステップS3002では、印刷対象のシート(Sheet)に含まれる、まだ印刷コマンドを出力していない印刷ページ(Surface)の情報を取得する。図31に、Sheet2603のサンプルを示す。このSheetには、二つのSurface3101,3102が含まれており、これは1枚のシートの表面と裏面の印刷ページを示している。ステップS3002では、表面の印刷ページ情報(Surface3101,3102)を読み出し、さらに印刷ページに含まれる原稿ページ情報(ContentObject3103)を読み出し、原稿ページに含まれる描画情報をOSの有する出力モジュールに適合したコマンドに変換して、印刷処理を実行する。ContentObjectのOrdには、原稿ページ番号が示されており、それが指し示す原稿ページに含まれているテキスト、グラフィック、イメージなどの描画オブジェクトを、OSに合わせて印刷命令に変換し、プリンタドライバでプリンタが解釈可能な描画コマンドに変換して印刷を実行する。図31の例では、Ordとして、原稿ページ番号0,1,2,3が示されている。   In step S3002, information of a print page (Surface) that is included in the print target sheet (Sheet) and has not yet output a print command is acquired. FIG. 31 shows a sample of Sheet 2603. This Sheet includes two Surfaces 3101 and 3102, which indicate printed pages on the front and back surfaces of one sheet. In step S3002, the print page information (Surfaces 3101 and 3102) on the front side is read, and the manuscript page information (ContentObject 3103) included in the print page is read, and the drawing information included in the manuscript page is converted into a command suitable for the output module of the OS. Convert and execute print processing. The Ord of the ContentObject indicates the original page number. The drawing object such as text, graphic, and image included in the original page pointed to is converted into a print command according to the OS, and the printer driver Is converted to a drawing command that can be interpreted, and printing is executed. In the example of FIG. 31, document page numbers 0, 1, 2, and 3 are shown as Ord.

図32に、原稿データの構造の例を示す。各原稿ページに含まれる描画オブジェクトが、原稿ページ単位で記録されている。描画オブジェクトが参照するテキストやグラフィックの属性(フォント属性、線属性など)は、複数の描画オブジェクトで共通に利用するために、各原稿ページ以外の部分に記録し、各原稿ページの部分には、属性へのリンク情報のみを持つことにより、データを効率よく保存することも可能である。ステップS3002で取得した、ContentObjectのOrdに指定されている原稿ページ番号より、ステップS3003では、指定された原稿の描画オブジェクト群を原稿データから取得し、OSに合わせて印刷命令に変換することになる。   FIG. 32 shows an example of the structure of document data. A drawing object included in each original page is recorded in units of original pages. Text and graphic attributes (font attributes, line attributes, etc.) referenced by a drawing object are recorded in a portion other than each original page for common use by a plurality of drawing objects. By having only the link information to the attribute, it is possible to save the data efficiently. In step S3003, the drawing object group of the specified document is acquired from the document data from the document page number specified in the ContentObject Ord acquired in step S3002, and converted into a print command in accordance with the OS. .

図31の例では、一つのSurfaceに二つのContentObjectが含まれているが、これは2−up印刷する(一つの印刷ページ上に二つの原稿ページを面付け配置する)ことを意味している。図31のContentObjectに含まれるCTMの指定はアフィン変換を示しており、原稿ページの描画内容を印刷ページ上に位置、大きさ、回転角を指定して配置する指示を示している。詳細は省略するが、OSに合わせて、描画する位置、大きさ、回転各を指定して、原稿ページに含まれる描画オブジェクトを印刷コマンドに変換し、印刷ページ上に描画する処理を行うことが可能である。ステップS3003およびステップS3004を印刷ページに含まれる全原稿ページに対して繰り返し実行することにより、印刷ページの描画コマンドが生成される。そして、両面印刷の場合には、一つのシートに二つの印刷ページが含まれるため、ステップS3002からステップS3005の処理を裏面に対しても実行する。このようにして、1枚のシートの印刷処理を実行することができる。   In the example of FIG. 31, two ContentObjects are included in one Surface, which means that 2-up printing is performed (two manuscript pages are arranged on one print page). . The designation of CTM included in the ContentObject in FIG. 31 indicates affine transformation, and indicates an instruction to place the drawing content of the original page on the print page by specifying the position, size, and rotation angle. Although details are omitted, it is possible to specify a drawing position, size, and rotation according to the OS, convert a drawing object included in the original page into a print command, and perform a drawing process on the print page. Is possible. By repeatedly executing Steps S3003 and S3004 for all document pages included in the print page, a print page drawing command is generated. In the case of duplex printing, since two print pages are included in one sheet, the processing from step S3002 to step S3005 is also performed on the back side. In this way, the printing process for one sheet can be executed.

図33に、プリンタドライバが生成し、プリンタに送信される印刷データの例を示す。3301は、図29のステップS2901で出力されたジョブの初期化コマンドの部分である。3302、3306は、図30のステップS3001で出力されたシートの初期化コマンドの部分である。3303、3304、3305、3307は、図30のステップS3002からS3005で出力された一つの印刷ページの描画コマンドをそれぞれ示している。   FIG. 33 shows an example of print data generated by the printer driver and transmitted to the printer. Reference numeral 3301 denotes a job initialization command portion output in step S2901 in FIG. Reference numerals 3302 and 3306 denote sheet initialization command portions output in step S3001 of FIG. Reference numerals 3303, 3304, 3305, and 3307 denote drawing commands for one print page output in steps S3002 to S3005 in FIG.

このようにして、ジョブチケットに指定された印刷範囲に合わせた印刷データを生成し、指定されたシートの印刷データのみを印刷することが可能となる。   In this way, it is possible to generate print data matching the print range specified in the job ticket and print only the print data of the specified sheet.

<実施形態のシステムによる利点>
以上のようにして、プレビュー部に表示されたプレビュー画像をみながらページ番号や章番号あるいは束によって所望の部分のみの印刷を指定することができる。プレビュー画面には印刷出力されるレイアウトを忠実に表現したプレビュー画像が表示されているために、利用者はそれを参照して正確に印刷範囲を指定できる。
<Advantages of the system of the embodiment>
As described above, it is possible to designate printing of only a desired portion by the page number, chapter number, or bundle while viewing the preview image displayed in the preview portion. Since a preview image that faithfully represents the layout to be printed out is displayed on the preview screen, the user can accurately specify the print range by referring to the preview image.

また範囲指定を、章、印刷ページ、原稿ページ、冊子という、様々な単位によって行うことができるために、印刷対象の範囲や、あるいは印刷後の差し替え箇所の特定をしやすい単位を、利用者が選択することが可能である。   In addition, since range specification can be performed in various units such as chapters, print pages, manuscript pages, and booklets, the user can select units that make it easy to specify the range to be printed or the replacement part after printing. It is possible to select.

また、指定した範囲とともに、その範囲と同じ用紙に印刷される指定範囲外の部分も印刷される。このため、利用者は内容を変更したページや章を指定するだけで、差し替えるべき用紙あるいは冊子単位で印刷され、非常に操作性がよく、指定した印刷範囲の過誤も少ない。また製本印刷の場合に指定範囲を含む冊子単位で印刷させることで、差し替えが非常に容易となる。また、製本印刷の場合に指定範囲を含むシート単位で印刷させることで、必要な用紙の数量をいたずらに増加させることがない。   In addition to the designated range, a portion outside the designated range that is printed on the same sheet as the range is also printed. For this reason, the user simply specifies the page or chapter whose contents have been changed, and the user can print on the paper or booklet unit to be replaced, which is very easy to operate and there are few errors in the designated printing range. Further, in the case of bookbinding printing, the replacement is very easy by printing in booklet units including the specified range. Further, in the case of bookbinding printing, printing is performed in units of sheets including the specified range, so that the required number of sheets is not increased unnecessarily.

スタンドアロン型の文書処理システムのブロック図である。1 is a block diagram of a stand-alone document processing system. FIG. 文書処理システムを実現するコンピュータのブロック図である。And FIG. 11 is a block diagram of a computer that implements a document processing system. ブックファイルの構造の一例を示す図である。It is a figure which shows an example of the structure of a book file. ブック属性の一覧を示す図である。It is a figure which shows the list of book attributes. 章属性の一覧を示す図である。It is a figure which shows the list of chapter attributes. ページ属性の一覧を示す図である。It is a figure which shows the list of page attributes. ブックファイルを開く手順のフローチャートである。It is a flowchart of the procedure of opening a book file. 電子原稿ファイルをブックファイルにインポートする手順のフローチャートである。10 is a flowchart of a procedure for importing an electronic document file into a book file. アプリケーションデータを電子原稿ファイルに変換する手順のフローチャートである。10 is a flowchart of a procedure for converting application data into an electronic document 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. FIG. 片面1up印刷指定時のプレビュー画面の一例の図である。It is a figure of an example of the preview screen at the time of single-sided 1up printing designation. 印刷方法(片面印刷)の指定画面の一例の図である。It is a figure of an example of the designation | designated screen of the printing method (single-sided printing). 印刷対象の指定のための画面の一例の図である。It is a figure of an example of the screen for designation | designated of printing object. 印刷対象として章が指定された場合の表示画面の一例の図である。It is a figure of an example of a display screen when a chapter is designated as a printing target. 印刷対象として印刷ページが指定された場合の表示画面の一例の図である。FIG. 10 is a diagram illustrating an example of a display screen when a print page is designated as a print target. 印刷対象として原稿ページが指定された場合の表示画面の一例の図である。FIG. 6 is a diagram illustrating an example of a display screen when a document page is designated as a print target. 両面1up印刷指定時のプレビュー画面の一例の図である。It is a figure of an example of the preview screen at the time of duplexing 1up printing designation | designated. Nup印刷指定のための設定画面の一例の図である。It is a figure of an example of the setting screen for Nup printing designation | designated. 片面2up印刷指定時のプレビュー画面の一例の図である。It is a figure of an example of the preview screen at the time of single side | surface 2up printing designation | designated. 印刷方法(製本印刷)の指定画面の一例の図である。It is a figure of an example of the designation | designated screen of a printing method (bookbinding printing). 製本印刷指定時のプレビュー画面の一例の図である。FIG. 10 is a diagram illustrating an example of a preview screen when bookbinding printing is specified. 印刷対象として冊子を指定する場合の表示画面の一例の図である。It is a figure of an example of the display screen in the case of specifying a booklet as a printing target. 印刷範囲の指定と指定範囲の印刷制御のための手順のフローチャートである。It is a flowchart of the procedure for designation | designated of a printing range and printing control of a designated range. ジョブチケットの形式の一例を模式的に示す図である。It is a figure which shows an example of the format of a job ticket typically. ブック全体を印刷するために印刷範囲指定したジョブチケットの例を説明する図である。FIG. 6 is a diagram illustrating an example of a job ticket in which a print range is specified for printing an entire book. 印刷範囲を指定されたジョブチケットの例を示す図である。6 is a diagram illustrating an example of a job ticket in which a print range is designated. FIG. 印刷範囲を指定されたジョブチケットの例を示す図である。6 is a diagram illustrating an example of a job ticket in which a print range is designated. FIG. 電子原稿デスプーラにおける印刷処理のフローチャートである。6 is a flowchart of print processing in an electronic document despooler. シートの印刷処理のフローチャートである。6 is a flowchart of sheet printing processing. シートの内容を示すSheetの例を説明する図である。It is a figure explaining the example of Sheet which shows the contents of a sheet. 原稿データの構造の例を説明する図である。It is a figure explaining the example of the structure of original data. プリンタドライバが生成し、プリンタに送信される印刷データの例を説明する図である。FIG. 4 is a diagram illustrating an example of print data generated by a printer driver and transmitted to a printer.

Claims (15)

複数の原稿ページからなるドキュメントデータに対して、印刷装置で印刷処理される印刷物の印刷体裁設定を含む印刷設定を行う情報処理装置において、
アプリケーションにより生成されるドキュメントデータを印刷処理する際に、1枚の印刷用紙に何ページ分の原稿ページを配置するかを示す印刷レイアウトの印刷体裁設定を設定する印刷設定手段と、
複数の原稿ページからなるドキュメントデータに、前記印刷設定手段により設定される印刷体裁設定を付与してメモリに記憶して管理する管理手段と、
印刷処理すべき範囲を、アプリケーションにより生成されるページである原稿ページを用いて指定するか、または前記印刷装置で印刷処理される印刷用紙の通し番号を用いて指定するかを選択する選択手段と、
前記選択手段により印刷用紙の通し番号を用いて指定することが選択される場合に、印刷処理すべき範囲を、前記印刷装置で印刷処理される印刷用紙の通し番号で指定し、一方、前記選択手段により原稿ページを用いて指定することが選択される場合に、印刷処理すべき範囲を、原稿ページで指定する指定手段と、
前記メモリに記憶されているドキュメントデータに付与されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定手段で指定される通し番号の印刷用紙に配置される原稿ページを判断する判断手段と、
前記判断手段により判断されたすべての原稿ページに相当するドキュメントデータを前記管理手段から取得する取得手段と、
前記取得手段により取得された原稿ページに相当するドキュメントを描画データとして受け取り、該受け取った描画データを前記印刷装置で印刷すべく印刷データに変換する変換手段とを備えることを特徴とする情報処理装置。
In an information processing apparatus that performs print settings including print format settings for printed matter to be printed by a printing apparatus for document data including a plurality of manuscript pages.
A print setting means for setting a print style setting of a print layout indicating how many original pages are to be arranged on one print sheet when document data generated by an application is printed;
Management means for assigning print format settings set by the print setting means to document data consisting of a plurality of document pages, and storing and managing them in a memory;
A selection means for selecting whether to designate a range to be printed by using a manuscript page which is a page generated by an application or by using a serial number of a printing paper to be printed by the printing device;
When it is selected by the selecting means to specify using the serial number of the printing paper, the range to be printed is specified by the serial number of the printing paper to be printed by the printing device, while the selection means A designation means for designating a range to be printed on the manuscript page when designation using the manuscript page is selected;
Based on the print style setting given to the document data stored in the memory, the print paper is printed on the print paper with the serial number designated by the designation means among the print papers to be printed by the printing apparatus. A determination means for determining a manuscript page;
Obtaining means for obtaining document data corresponding to all document pages determined by the determining means from the managing means;
An information processing apparatus comprising: a conversion unit that receives a document corresponding to a document page acquired by the acquisition unit as drawing data and converts the received drawing data into print data to be printed by the printing apparatus. .
前記取得手段は、前記指定手段によって原稿ページが指定された場合、指定された原稿ページに相当するドキュメントデータを前記管理手段から取得することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the acquisition unit acquires document data corresponding to the specified original page from the management unit when the original page is specified by the specifying unit. 印刷処理の開始前に、前記印刷設定手段により設定されている印刷体裁設定に従って、前記ドキュメントデータの各原稿ページの印刷プレビュー画像を表示する印刷プレビュー表示手段を更に備えることを特徴とする請求項1または2に記載の情報処理装置。   2. The print preview display means for displaying a print preview image of each original page of the document data in accordance with a print style setting set by the print setting means before the start of print processing. Or the information processing apparatus according to 2; アプリケーションによって出力されたドキュメントデータから中間的なデータを生成する生成手段を更に有し、
前記変換手段は、前記生成手段によって生成された中間データから印刷データに変換することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
A generating unit configured to generate intermediate data from the document data output by the application;
The information processing apparatus according to claim 1, wherein the conversion unit converts the intermediate data generated by the generation unit into print data.
前記選択手段は、印刷範囲として章を用いて指定することを選択でき、
前記判断手段は、前記メモリに記憶されているドキュメントデータに設定されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定手段で指定される章に属する原稿ページが配置される用紙に配置される全原稿ページを判断し、
前記取得手段は、前記判断手段により判断された全原稿ページに相当するドキュメントデータを前記管理手段から取得することを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。
The selection means can select to specify using a chapter as a print range,
The determination unit belongs to a chapter designated by the designation unit among print sheets to be printed by the printing apparatus based on a print format setting set in the document data stored in the memory. Determine all manuscript pages placed on the paper on which manuscript pages are placed,
5. The information processing apparatus according to claim 1, wherein the acquisition unit acquires document data corresponding to all original pages determined by the determination unit from the management unit. 6.
複数の原稿ページからなるドキュメントデータに対して、印刷装置で印刷処理される印刷物の印刷体裁設定を含む印刷設定を行う情報処理装置における情報処理方法であって、
アプリケーションにより生成されるドキュメントデータを印刷処理する際に、1枚の印刷用紙に何ページ分の原稿ページを配置するかを示す印刷レイアウトの印刷体裁設定の入力を受け付ける印刷設定工程と、
複数の原稿ページからなるドキュメントデータに、前記印刷設定工程により設定される印刷体裁設定を付与してメモリに記憶して管理する管理工程と、
印刷処理すべき範囲を、アプリケーションにより生成されるページである原稿ページを用いて指定するか、または前記印刷装置で印刷処理される印刷用紙の通し番号を用いて指定するかの選択を受け付ける選択工程と、
前記選択工程により印刷用紙の通し番号を用いて指定することが選択される場合に、印刷処理すべき範囲を、前記印刷装置で印刷処理される印刷用紙の通し番号による指定を受け付け、一方、前記選択工程により原稿ページを用いて指定することが選択される場合に、印刷処理すべき範囲を、原稿ページによる指定を受け付ける指定工程と、
前記メモリに記憶されているドキュメントデータに付与されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定工程で指定される通し番号の印刷用紙に配置される原稿ページを判断する判断工程と、
前記判断工程により判断されたすべての原稿ページに相当するドキュメントデータを前記メモリから取得する取得工程と、
前記取得工程により取得された原稿ページに相当するドキュメントを描画データとして受け取り、該受け取った描画データを前記印刷装置で印刷すべく印刷データに変換する変換工程とを備えることを特徴とする情報処理方法。
An information processing method in an information processing apparatus for performing print settings including print format settings of a printed matter to be printed by a printing apparatus on document data including a plurality of manuscript pages,
A print setting step for receiving an input of a print style setting of a print layout indicating how many manuscript pages are arranged on one print sheet when print processing of document data generated by an application;
A management step of assigning a print format setting set by the print setting step to document data including a plurality of manuscript pages and storing and managing in a memory;
A selection step of accepting a selection of whether to designate a range to be printed using a manuscript page that is a page generated by an application or a serial number of a print sheet to be printed by the printing apparatus; ,
When it is selected by the selection step that the designation is made using the serial number of the printing paper, the range to be printed is accepted by the designation of the printing paper serial number to be printed by the printing device, while the selection step A designation step for accepting designation by a manuscript page as a range to be printed when it is selected to designate by using a manuscript page;
Based on the print format setting given to the document data stored in the memory, the print paper is printed on the print paper with the serial number designated in the designation step among the print papers to be printed by the printing apparatus. A determination process for determining a manuscript page;
An acquisition step of acquiring document data corresponding to all document pages determined by the determination step from the memory;
An information processing method comprising: a conversion step of receiving a document corresponding to an original page acquired by the acquisition step as drawing data, and converting the received drawing data into print data to be printed by the printing apparatus. .
前記取得工程では、前記指定工程によって原稿ページが指定された場合、指定された原稿ページに相当するドキュメントデータを前記メモリから取得することを特徴とする請求項6に記載の情報処理方法。   The information processing method according to claim 6, wherein in the obtaining step, when a document page is designated by the designation step, document data corresponding to the designated document page is obtained from the memory. 印刷処理の開始前に、前記印刷設定工程により設定されている印刷体裁設定に従って、前記ドキュメントデータの各原稿ページの印刷プレビュー画像を表示する印刷プレビュー表示工程を更に備えることを特徴とする請求項6または7に記載の情報処理方法。   The print preview display step of displaying a print preview image of each original page of the document data in accordance with the print format setting set in the print setting step before the start of the printing process. Or the information processing method of 7. アプリケーションによって出力されたドキュメントデータから中間的なデータを生成する生成工程を更に有し、
前記変換工程では、前記生成工程によって生成された中間データから印刷データに変換することを特徴とする請求項6乃至8のいずれか1項に記載の情報処理方法。
A generation step of generating intermediate data from the document data output by the application;
9. The information processing method according to claim 6, wherein in the conversion step, the intermediate data generated in the generation step is converted into print data.
前記選択工程では、印刷範囲として章を用いて指定することを選択でき、
前記判断工程では、前記メモリに記憶されているドキュメントデータに設定されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定工程で指定される章に属する原稿ページが配置される用紙に配置される全原稿ページを判断し、
前記取得工程では、前記判断工程により判断された全原稿ページに相当するドキュメントデータを前記メモリから取得することを特徴とする請求項6乃至9のいずれか1項に記載の情報処理方法。
In the selection step, it can be selected to specify using a chapter as the print range,
The determination step belongs to a chapter designated in the designation step among print sheets to be printed by the printing device based on a print format setting set in the document data stored in the memory. Determine all manuscript pages placed on the paper on which manuscript pages are placed,
10. The information processing method according to claim 6, wherein in the obtaining step, document data corresponding to all original pages determined in the determining step is acquired from the memory. 11.
コンピュータを、複数の原稿ページからなるドキュメントデータに対して、印刷装置で印刷処理される印刷物の印刷体裁設定を含む印刷設定を行う情報処理装置として機能させるプログラムであって、
アプリケーションにより生成されるドキュメントデータを印刷処理する際に、1枚の印刷用紙に何ページ分の原稿ページを配置するかを示す印刷レイアウトの印刷体裁設定の入力を受け付ける印刷設定手段と、
複数の原稿ページからなるドキュメントデータに、前記印刷設定手段により設定される印刷体裁設定を付与してメモリに記憶して管理する管理手段と、
印刷処理すべき範囲を、アプリケーションにより生成されるページである原稿ページを用いて指定するか、または前記印刷装置で印刷処理される印刷用紙の通し番号を用いて指定するかの選択を受け付ける選択手段と、
前記選択手段により印刷用紙の通し番号を用いて指定することが選択される場合に、印刷処理すべき範囲を、前記印刷装置で印刷処理される印刷用紙の通し番号による指定を受け付け、一方、前記選択手段により原稿ページを用いて指定することが選択される場合に、印刷処理すべき範囲を、原稿ページによる指定を受け付ける指定手段と、
前記メモリに記憶されているドキュメントデータに付与されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定手段で指定される通し番号の印刷用紙に配置される原稿ページを判断する判断手段と、
前記判断手段により判断されたすべての原稿ページに相当するドキュメントデータを前記管理手段から取得する取得手段と、
前記取得手段により取得された原稿ページに相当するドキュメントを描画データとして受け取り、該受け取った描画データを前記印刷装置で印刷すべく印刷データに変換する変換手段と
してコンピュータを機能させることを特徴とするプログラム。
A program that causes a computer to function as an information processing apparatus that performs print settings including print format settings of a printed material that is printed by a printing apparatus on document data including a plurality of original pages.
A print setting unit that accepts an input of a print style setting of a print layout indicating how many original pages are to be arranged on one printing paper when printing document data generated by an application;
Management means for assigning print format settings set by the print setting means to document data consisting of a plurality of document pages, and storing and managing them in a memory;
Selection means for accepting selection of whether to designate a range to be printed using a manuscript page which is a page generated by an application or a serial number of a printing paper to be printed by the printing apparatus; ,
When it is selected by the selection means to specify using the serial number of the printing paper, the range to be subjected to the printing process is designated by the serial number of the printing paper to be printed by the printing device, while the selection means A designation means for accepting designation by the manuscript page as a range to be printed when designation using the manuscript page is selected by:
Based on the print style setting given to the document data stored in the memory, the print paper is printed on the print paper with the serial number designated by the designation means among the print papers to be printed by the printing apparatus. A determination means for determining a manuscript page;
Obtaining means for obtaining document data corresponding to all the manuscript pages determined by the determining means from the managing means;
A program for receiving a document corresponding to an original page acquired by the acquisition unit as drawing data, and causing the computer to function as a conversion unit that converts the received drawing data into print data to be printed by the printing apparatus. .
前記取得手段は、前記指定手段によって原稿ページが指定された場合、指定された原稿ページに相当するドキュメントデータを前記管理手段から取得することを特徴とする請求項11に記載のプログラム。   12. The program according to claim 11, wherein when the original page is specified by the specifying unit, the acquiring unit acquires document data corresponding to the specified original page from the management unit. 印刷処理の開始前に、前記印刷設定手段により設定されている印刷体裁設定に従って、前記ドキュメントデータの各原稿ページの印刷プレビュー画像を表示する印刷プレビュー表示手段として更にコンピュータを機能させることを特徴とする請求項11または12に記載のプログラム。   Before starting the printing process, the computer is further caused to function as a print preview display unit that displays a print preview image of each document page of the document data in accordance with a print format setting set by the print setting unit. The program according to claim 11 or 12. アプリケーションによって出力されたドキュメントデータから中間的なデータを生成する生成手段として更にコンピュータを機能させ、
前記変換手段は、前記生成手段によって生成された中間データから印刷データに変換することを特徴とする請求項11乃至13のいずれか1項に記載のプログラム。
Further causing the computer to function as generation means for generating intermediate data from the document data output by the application,
The program according to any one of claims 11 to 13, wherein the conversion unit converts the intermediate data generated by the generation unit into print data.
前記選択手段は、印刷範囲として章を用いて指定することを選択でき、
前記判断手段は、前記メモリに記憶されているドキュメントデータに設定されている印刷体裁設定に基づいて、前記印刷装置で印刷処理される印刷用紙の中で、前記指定手段で指定される章に属する原稿ページが配置される用紙に配置される全原稿ページを判断し、
前記取得手段は、前記判断手段により判断された全原稿ページに相当するドキュメントデータを前記メモリから取得することを特徴とする請求項11乃至14のいずれか1項に記載のプログラム。
The selection means can select to specify using a chapter as a print range,
The determination unit belongs to a chapter designated by the designation unit among print sheets to be printed by the printing apparatus based on a print format setting set in the document data stored in the memory. Determine all manuscript pages placed on the paper on which manuscript pages are placed,
15. The program according to claim 11, wherein the acquisition unit acquires document data corresponding to all document pages determined by the determination unit from the memory.
JP2007012964A 2001-09-14 2007-01-23 Information processing apparatus and information processing method Expired - Fee Related JP4388080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007012964A JP4388080B2 (en) 2001-09-14 2007-01-23 Information processing apparatus and information processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2001280607 2001-09-14
JP2007012964A JP4388080B2 (en) 2001-09-14 2007-01-23 Information processing apparatus and information processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002199218A Division JP2003162520A (en) 2001-09-14 2002-07-08 Information-processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2007183974A true JP2007183974A (en) 2007-07-19
JP4388080B2 JP4388080B2 (en) 2009-12-24

Family

ID=38339937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007012964A Expired - Fee Related JP4388080B2 (en) 2001-09-14 2007-01-23 Information processing apparatus and information processing method

Country Status (1)

Country Link
JP (1) JP4388080B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016143944A (en) * 2015-01-30 2016-08-08 京セラドキュメントソリューションズ株式会社 Image processing system and image processing method
JP2020024516A (en) * 2018-08-06 2020-02-13 コニカミノルタ株式会社 Information processing apparatus and information processing program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016143944A (en) * 2015-01-30 2016-08-08 京セラドキュメントソリューションズ株式会社 Image processing system and image processing method
US9785832B2 (en) 2015-01-30 2017-10-10 Kyocera Document Solutions Inc. Image processing apparatus for scanning image data of a book and matching the scanned image to registered image data on a server, image processing system, and image processing method
JP2020024516A (en) * 2018-08-06 2020-02-13 コニカミノルタ株式会社 Information processing apparatus and information processing program
JP7200530B2 (en) 2018-08-06 2023-01-10 コニカミノルタ株式会社 Information processing device and information processing program

Also Published As

Publication number Publication date
JP4388080B2 (en) 2009-12-24

Similar Documents

Publication Publication Date Title
JP4532798B2 (en) Document processing apparatus and method
JP3937778B2 (en) Information processing apparatus and method
JP2003162520A (en) Information-processing apparatus and method
JP4756870B2 (en) Document processing apparatus, document processing method, and program
JP4564693B2 (en) Document processing apparatus and method
JP4054726B2 (en) Information processing apparatus, control method thereof, and program
JP4143566B2 (en) Document processing apparatus, control method therefor, and computer program
JP3950657B2 (en) Information processing system, display method thereof, program, and recording medium
JP2004252665A (en) Document processing method
JP2004206170A (en) Method and apparatus for processing document
JP2006107142A (en) Document processor, and method
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
JP3937965B2 (en) Document processing method and apparatus and program thereof
JP3848172B2 (en) Information processing method and information processing apparatus
JP4388080B2 (en) Information processing apparatus and information processing method
JP4574652B2 (en) Information processing apparatus and method, and print control program
JP4388081B2 (en) Information processing apparatus and information processing method
JP2006202025A (en) Document processing method, print control method, and its system
JP2010113596A (en) Document processing system
JP2007128325A (en) Printing control apparatus and means therefor
JP4721391B2 (en) Printing control apparatus and method
JP3991028B2 (en) Document processing method and information processing apparatus
JP5159400B2 (en) Document processing apparatus and document processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090918

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4388080

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees