JP2005243048A - Information processor, print processing method, program, and storage medium - Google Patents

Information processor, print processing method, program, and storage medium Download PDF

Info

Publication number
JP2005243048A
JP2005243048A JP2005135428A JP2005135428A JP2005243048A JP 2005243048 A JP2005243048 A JP 2005243048A JP 2005135428 A JP2005135428 A JP 2005135428A JP 2005135428 A JP2005135428 A JP 2005135428A JP 2005243048 A JP2005243048 A JP 2005243048A
Authority
JP
Japan
Prior art keywords
page
print
information processing
printer
reprint
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
JP2005135428A
Other languages
Japanese (ja)
Other versions
JP4095624B2 (en
Inventor
Kazunori Kato
数則 加藤
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 JP2005135428A priority Critical patent/JP4095624B2/en
Publication of JP2005243048A publication Critical patent/JP2005243048A/en
Application granted granted Critical
Publication of JP4095624B2 publication Critical patent/JP4095624B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform an output faithful to a result expected by a user by controlling a reprinting start page in accordance with an attribute set in a print job in reprinting at the time of a printer failure. <P>SOLUTION: An information processor for generating print data to be printed by a printer includes a recognition module for recognizing a failure occurrence in processing a print job of a document together with a failure occurrence page when the document is printed; a determination module for determining a reprinting start page according to a print attribute of the print job interrupted by the failure occurrence and the failure occurrence page; and a data transfer module for transferring print data in a reprinting rage specified by the reprinting start page determined by the determination module to a printer for representatively reprinting the interrupted print job to make the printer execute the reprinting. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、印刷システムにおけるプリンタの再印刷制御において印刷データを生成する情報処理装置及びその情報処理方法等に関するものである。   The present invention relates to an information processing apparatus that generates print data in reprint control of a printer in a printing system, an information processing method thereof, and the like.

従来の印刷システムでは、プリンタの障害などによって印刷が中断し場合、プリンタは印刷済みの頁数を検出し、その次の頁を再印刷開始頁と判断して印刷データの処理が進められていた。そして、再印刷開始頁を印刷データとして設定し、他のプリンタもしくは障害が復旧するのを待って元のプリンタに、その印刷データを転送することにより中断した印刷処理の続行が図られていた。
上述の従来技術として、例えば、以下の特許文献1に示されるものがある。
特開平10−49314号公報
In a conventional printing system, when printing is interrupted due to a printer failure or the like, the printer detects the number of printed pages, determines that the next page is a reprint start page, and proceeds with print data processing. . Then, the reprint start page is set as print data, and the print processing interrupted by transferring the print data to another printer or the original printer after waiting for the recovery of the trouble has been attempted.
As the above-described prior art, for example, there is one shown in Patent Document 1 below.
JP 10-49314 A

しかし、従来の印刷システムにおいては、印刷の再開においては、その印刷ジョブの中断の前後で印刷ジョブに設定されている印刷様式を決定するための印刷属性が考慮されていないため、ユーザの意図した結果と異なる形式のものが出力されてしまうことがある。例えば印刷ジョブの属性として両面印刷の指定がされている場合、再印刷開始頁が偶数ページ目であると、本来通常に両面印刷の処理された場合ならば、印刷ページの裏面側に印刷される内容が表面側に印刷されてしまう等、表裏に印刷される頁の組合せが再印刷開始頁以降ずれてしまい、ユーザの期待する結果と異なってしまうという場合が生じ得る。   However, in the conventional printing system, when resuming printing, the printing attribute for determining the printing format set for the printing job before and after the interruption of the printing job is not taken into consideration. A format different from the result may be output. For example, when double-sided printing is specified as a print job attribute, if the reprint start page is an even page, if the double-sided printing is normally processed, printing is performed on the back side of the print page. There may be a case where the combination of pages printed on the front and back sides is shifted after the reprint start page and the result is different from the result expected by the user, for example, the content is printed on the front side.

また、印刷ジョブにステイプル止めの処理の指定がされている場合では、ユーザは1部ごとにステイプルされることを期待するはずであるが、文書の再印刷開始頁より前の頁が欠落したものがステイプルされてしまい、ユーザの意図した結果と異なってしまうという事態も生じ得る。   Also, if stapling is specified for the print job, the user should expect stapling for each copy, but the page before the reprint start page of the document is missing May be stapled, which may be different from the result intended by the user.

本発明は上記問題点を鑑みて為されたものであり、印刷ジョブに設定された属性に応じて、印刷ジョブの再印刷開始頁を制御することにより、ユーザの期待する結果に忠実な出力を行うことを目的とするものである。   The present invention has been made in view of the above problems, and by controlling the reprint start page of a print job according to the attributes set in the print job, an output faithful to the result expected by the user can be obtained. It is intended to do.

上記目的を達成するために、本発明は次のような構成から成る。   In order to achieve the above object, the present invention comprises the following arrangement.

すなわち、プリンタで印刷される印刷データを生成する情報処理装置は、
ドキュメントの印刷を行う際に、該ドキュメントの印刷ジョブの処理における障害発生を障害発生頁と共に認識する認識手段と、
障害発生により中断した前記印刷ジョブの印刷属性と前記障害発生頁とに従って再印刷開始頁を決定する決定手段と、
前記決定手段により決定された再印刷開始頁より特定される再印刷範囲の印刷データを前記中断した印刷ジョブの再印刷を代行するプリンタに転送し、該再印刷を実行させるデータ転送手段と、を備えることを特徴とする。
That is, an information processing device that generates print data to be printed by a printer
Recognizing means for recognizing a failure occurrence in the print job processing of the document together with the failure page when printing the document;
Determining means for determining a reprint start page according to a print attribute of the print job interrupted due to the occurrence of a failure and the failed page;
Data transfer means for transferring the print data in the reprint range specified from the reprint start page determined by the determination means to a printer acting on behalf of the reprint of the interrupted print job, and executing the reprint; It is characterized by providing.

本発明の好適な一態様によれば、上記の情報処理装置において、さらに前記認識手段によって認識された障害発生頁と前記印刷属性とに従って、前記再印刷範囲の印刷データを中間ファイル形式データより生成する生成手段を備え、前記転送手段は前記生成手段によって生成した再印刷範囲の印刷データの再印刷を代行するプリンタに転送する。   According to a preferred aspect of the present invention, in the above information processing apparatus, print data for the reprint range is generated from intermediate file format data in accordance with the faulty page recognized by the recognition means and the print attribute. And a transfer unit that transfers the print data in the reprint range generated by the generation unit to a printer acting as a proxy.

本発明の好適な一態様によれば、上記の情報処理装置において、前記中断した印刷ジョブの再印刷を行なう際に、該再印刷を代行するプリンタを設定する設定手段を更に備える。   According to a preferred aspect of the present invention, the information processing apparatus further includes setting means for setting a printer that performs the reprinting when the interrupted print job is reprinted.

本発明の好適な一態様によれば、上記の情報処理装置において、前記設定手段は複数の再印刷を代行するプリンタの優先順位を、該プリンタ毎に設定し、
前記データ転送手段は、前記優先順位に従って前記再印刷を代行するプリンタを特定する。
According to a preferred aspect of the present invention, in the information processing apparatus, the setting unit sets the priority order of a plurality of printers acting on behalf of each printer,
The data transfer means specifies a printer that performs the reprinting according to the priority order.

本発明の好適な一態様によれば、上記の情報処理装置において、ドキュメントの印刷設定をするデータ入力手段を更に備え、
前記データ入力手段の入力に従い、再印刷を代行するプリンタ及び/または該プリンタの優先順位が設定される。
According to a preferred aspect of the present invention, the information processing apparatus further includes a data input means for performing print setting of the document,
In accordance with the input from the data input means, a printer that performs reprinting and / or a priority order of the printer is set.

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は、前記障害検出手段により検出された障害発生の結果と、該障害発生により中断した前記印刷ジョブの印刷属性と、に基づき前記再印刷開始頁を決定する。   According to a preferred aspect of the present invention, in the information processing apparatus, the determination unit includes a result of the failure detected by the failure detection unit, and a print attribute of the print job suspended due to the failure. , The reprint start page is determined.

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性として両面印刷が指定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が表面の頁である場合にはその障害発生頁(L)と設定し、障害発生頁が裏面の頁である場合には障害発生頁の前の頁(L−1)と設定する。   According to a preferred aspect of the present invention, in the information processing apparatus, when the determination unit detects that double-sided printing is designated as a print attribute of the print job, the reprint start page is If the failure page is a front page, it is set as the failure page (L), and if the failure page is a back page, it is set as the page (L-1) before the failure page. .

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を、該印刷ジョブの1頁目と設定する。   According to a preferred aspect of the present invention, in the information processing apparatus, when the determination unit detects that stapling is specified as a print attribute of the print job, the reprint start page is Set to the first page of the print job.

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)に基づき算出する。   According to a preferred aspect of the present invention, in the information processing apparatus described above, when the determining unit detects that the data of one print is repeatedly arranged as a print attribute of the print job, The reprint start page is calculated based on the number of pages (M) for one copy.

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下で最大の値を前記再印刷開始頁と設定する。   According to a preferred aspect of the present invention, in the above information processing apparatus, the determining means is configured based on a number of pages (M) corresponding to the number of copies of a number sequence (1, M, 2 × M, 3 × M, ... NN × M... (NN is a natural number)), and among the sequence elements, the maximum value not more than the failed page (L) is set as the reprint start page.

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁と設定する。   According to a preferred aspect of the present invention, in the information processing apparatus, when the determination unit detects that bookbinding printing is set as a print attribute of the print job, the reprint start page is displayed. The first page of the paper including the faulty page is set.

本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁と設定する。   According to a preferred aspect of the present invention, in the information processing apparatus, when the determination unit detects that booklet volume printing is set as a print attribute of the print job, the reprint start page is displayed. The volume containing the failure page is retrieved and set as the first page included in the volume.

または、プリンタで印刷される印刷データを生成する情報処理方法は、
ドキュメントの印刷を行う際に、該ドキュメントの印刷ジョブの処理における障害発生を障害発生頁と共に認識する認識工程と、
障害発生により中断した前記印刷ジョブの印刷属性と前記障害発生頁とに従って再印刷開始頁を決定する決定工程と、
前記決定工程により決定された再印刷開始頁より特定される再印刷範囲の印刷データを前記中断した印刷ジョブの再印刷を代行するプリンタに転送し、該再印刷を実行させるデータ転送工程と、を備えることを特徴とする。
Alternatively, an information processing method for generating print data to be printed by a printer is as follows:
A recognition step of recognizing a failure occurrence in the print job processing of the document together with a failure page when printing the document;
A determination step of determining a reprint start page according to the print attribute of the print job interrupted due to the occurrence of a failure and the failure occurrence page;
A data transfer step of transferring the print data in the reprint range specified from the reprint start page determined in the determination step to a printer acting as a proxy for the reprint of the interrupted print job, and executing the reprint; It is characterized by providing.

本発明の好適な一態様によれば、上記の情報処理方法において、さらに前記認識工程によって認識された障害発生頁と前記印刷属性とに従って、前記再印刷範囲の印刷データを中間ファイル形式データより生成する生成工程を備え、前記データ転送工程は前記生成工程によって生成した再印刷範囲の印刷データの再印刷を代行するプリンタに転送することを特徴とする請求項13に記載の情報処理方法。   According to a preferred aspect of the present invention, in the information processing method described above, the print data of the reprint range is generated from the intermediate file format data according to the faulty page recognized by the recognition step and the print attribute. The information processing method according to claim 13, further comprising: a generation step that transfers the print data in the reprint range generated by the generation step to a printer acting as a proxy.

本発明の好適な一態様によれば、上記の情報処理方法において、前記中断した印刷ジョブの再印刷を行なう際に、該再印刷を代行するプリンタを設定する設定工程を更に備える。   According to a preferred aspect of the present invention, the information processing method further includes a setting step of setting a printer that performs the reprinting when the interrupted print job is reprinted.

本発明の好適な一態様によれば、上記の情報処理方法において、前記設定工程は複数の再印刷を代行するプリンタの優先順位を、該プリンタ毎に設定し、
前記データ転送工程は、前記優先順位に従って前記再印刷を代行するプリンタを特定する。
According to a preferred aspect of the present invention, in the information processing method described above, the setting step sets the priority order of a plurality of printers acting on behalf of each printer,
In the data transfer step, a printer that performs the reprinting in accordance with the priority order is specified.

本発明の好適な一態様によれば、上記の情報処理方法において、ドキュメントの印刷設定をするデータ入力工程を更に備え、
前記データ入力工程の入力に従い、再印刷を代行するプリンタ及び/または該プリンタの優先順位が設定される。
According to a preferred aspect of the present invention, the information processing method further includes a data input step for setting print setting of the document,
In accordance with the input in the data input step, a printer that performs reprinting and / or a priority order of the printer is set.

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は、前記障害検出工程により検出された障害発生の結果と、該障害発生により中断した前記印刷ジョブの印刷属性と、に基づき前記再印刷開始頁を決定する。   According to a preferred aspect of the present invention, in the information processing method described above, the determination step includes a result of occurrence of a failure detected by the failure detection step, and a print attribute of the print job interrupted due to the occurrence of the failure. , The reprint start page is determined.

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性として両面印刷が指定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が表面の頁である場合にはその障害発生頁(L)と設定し、障害発生頁が裏面の頁である場合には障害発生頁の前の頁(L−1)と設定する。   According to a preferred aspect of the present invention, in the information processing method, when the determination step detects that double-sided printing is designated as a print attribute of the print job, the reprint start page is If the failure page is a front page, it is set as the failure page (L), and if the failure page is a back page, it is set as the page (L-1) before the failure page. .

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を、該印刷ジョブの1頁目と設定する。   According to a preferred aspect of the present invention, in the information processing method, when the determination step detects that stapling is specified as a print attribute of the print job, the reprint start page is Set to the first page of the print job.

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)に基づき算出する。   According to a preferred aspect of the present invention, in the above information processing method, when it is detected that the determination step is data in which a part of data is repeatedly arranged as a print attribute of the print job, The reprint start page is calculated based on the number of pages (M) for one copy.

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下で最大の値を前記再印刷開始頁と設定する。   According to a preferred aspect of the present invention, in the information processing method described above, the determining step is based on a number of pages (M) corresponding to the number of copies of a number sequence (1, M, 2 × M, 3 × M, ... NN × M... (NN is a natural number)), and among the sequence elements, the maximum value not more than the failed page (L) is set as the reprint start page.

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁と設定する。   According to a preferred aspect of the present invention, in the information processing method, when the determination step detects that bookbinding printing is set as a print attribute of the print job, the reprint start page is displayed. The first page of the paper including the faulty page is set.

本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁と設定する。   According to a preferred aspect of the present invention, in the information processing method described above, when the determination step detects that booklet volume printing is set as a print attribute of the print job, the reprint start page is displayed. The volume containing the failure page is retrieved and set as the first page included in the volume.

また、コンピュータプログラムは、上記の情報処理装置の機能をコンピュータが実行する機能として特定されることを特徴とする。   Further, the computer program is characterized in that the function of the information processing apparatus is specified as a function executed by the computer.

また、コンピュータ可読記憶媒体は、上記のコンピュータプログラムを格納することを特徴とする。   A computer-readable storage medium stores the above computer program.

本発明によれば、プリンタの障害などによって印刷ジョブが中断し場合であっても、印刷属性に基づいて再印刷開始頁を判断することにより、再印刷時も中断前の印刷属性を維持し、一貫した印刷属性の下に印刷ジョブを遂行することが可能となり、ユーザの期待する結果に忠実な出力を行うことができる。   According to the present invention, even when a print job is interrupted due to a printer failure or the like, by determining the reprint start page based on the print attribute, the print attribute before the interrupt is maintained even during reprinting, A print job can be executed under consistent print attributes, and an output faithful to the result expected by the user can be performed.

<システム概要>
本発明の情報処理システムの好適な実施形態である文書処理システムの概要を、図9〜図19を参照して説明する。この文書処理システムでは、一般アプリケーションにより作成されたデータファイルが、電子原稿ライタによって電子原稿ファイルに変換される。製本アプリケーションはその電子原稿ファイルを編集する機能を提供している。以下、その詳細は説明する。
<System overview>
An outline of a document processing system which is a preferred embodiment of 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.

<システム構成及び動作>
図9は、本実施形態の文書処理システムのソフトウェア構成を示す図である。文書処理システムは、本発明の情報処理装置の好適な実施形態であるデジタルコンピュータ1000によって実現されている。一般アプリケーション1010は、ワードプロセシングやスプレッドシート、フォトレタッチ、ドローあるいはペイント、プレゼンテーション、テキスト編集などの機能を提供するアプリケーションプログラムであり、OSに対する印刷機能を有している。これらアプリケーションは、作成された文書データや画像データなどのアプリケーションデータを印刷するにあたって、オペレーティングシステム(OS)により提供される所定のインタフェース(一般にGDIと呼ばれる)を利用する。
<System configuration and operation>
FIG. 9 is a diagram illustrating a software configuration of the document processing system according to the present embodiment. The document processing system is realized by a digital computer 1000 which is a preferred embodiment of the information processing apparatus of the present invention. The general application 1010 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.

すなわち、アプリケーション1010は、作成したアプリケーションデータを印刷するために、前記インタフェースを提供するOSの出力モジュールに対して、あらかじめ定められる、OSに依存する形式の出力コマンド(GDI関数と呼ばれる)を送信する。出力コマンドを受けた出力モジュールは、プリンタ等の出力デバイスが処理可能な形式にそのコマンドを変換し、変換された描画コマンド(DDI関数と呼ばれる)を出力する。出力デバイスが処理可能な形式はデバイスの種類やメーカ、機種などによって異なるために、デバイスごとにデバイスドライバが提供されており、OSではそのデバイスドライバを利用してコマンドの変換を行い、印刷データを生成し、JLでくくることにより印刷ジョブが生成される。OSとしてマイクロソフト社のウインドウズを利用する場合には、前述した出力モジュールとしてはGDIと呼ばれるモジュールが相当する。   In other words, the application 1010 transmits an OS-dependent output command (referred to as a GDI function) to the OS output module that provides the interface in order to print the created application data. . Upon receiving the output command, the output module converts the command into a format that can be processed by an output device such as a printer, and outputs the converted drawing command (referred to as a DDI function). Since the format that can be processed by the output device varies depending on the device type, manufacturer, model, etc., a device driver is provided for each device. The OS uses the device driver to convert commands and print data. A print job is generated by generating and enclosing with JL. When using Microsoft Windows as the OS, a module called GDI corresponds to the output module described above.

電子原稿ライタ1020は、前述のデバイスドライバのひとつとして、本文書処理システム実現のために提供されるソフトウエアモジュールである。ただし、電子原稿ライタ1020は特定の出力デバイスを目的としておらず、後述の製本アプリケーション1040やプリンタドライバ1060により処理可能な形式に出力コマンドを変換する。この電子原稿ライタ1020による変換後の形式(以後電子原稿形式と呼ぶ)は、ページ単位の原稿を詳細な書式をもって表現可能であれば特に問わない。実質的な標準形式のうちでは、例えばアドビシステムズによるPDF形式や、SVG形式などが電子原稿形式として採用できる。   The electronic document writer 1020 is a software module provided as one of the above-described device drivers to realize the document processing system. However, the electronic document writer 1020 is not intended for a specific output device, and converts an output command into a format that can be processed by a bookbinding application 1040 or a printer driver 1060 described later. The format converted by the electronic document writer 1020 (hereinafter referred to as an electronic document format) is not particularly limited as long as a document in page units 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.

アプリケーション1010により電子原稿ライタ1020を利用させる場合には、出力に使用するデバイスドライバとして電子原稿ライタ1020を指定してから印刷を実行させる。ただし、電子原稿ライタ1020によって作成されたままの電子原稿ファイルは、電子原稿ファイルとして完全な形式を備えていない。そのため、デバイスドライバとして電子原稿ライタ1020を指定するのは製本アプリケーション1040であり、その管理下でアプリケーションデータの電子原稿ファイルへの変換が実行される。製本アプリケーション1040は、電子原稿ライタ1−2が生成した新規の不完全な電子原稿ファイルを後述する形式を備えた電子原稿ファイルとして完成させる。   When the electronic document writer 1020 is used by the application 1010, printing is executed after the electronic document writer 1020 is designated as a device driver used for output. However, the electronic document file as created by the electronic document writer 1020 does not have a complete format as an electronic document file. Therefore, the bookbinding application 1040 designates the electronic document writer 1020 as a device driver, and conversion of application data into an electronic document file is executed under the management of the bookbinding application 1040. The bookbinding application 1040 completes the new incomplete electronic document file generated by the electronic document writer 1-2 as an electronic document file having a format to be described later.

以下では、この点を明瞭に識別する必要がある際には、電子原稿ライタ1020によって作成されたファイルを電子原稿ファイルと呼び、製本アプリケーションによって構造を与えられた電子原稿ファイルをブックファイルと呼ぶ。また、特に区別する必要がない場合は、アプリケーションにより生成されるドキュメントファイル、電子原稿ファイル、及びブックファイルをいずれも文書ファイル(または文書データ)と呼ぶ。   Hereinafter, when it is necessary to clearly identify this point, a file created by the electronic manuscript writer 1020 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).

このようにデバイスドライバとして電子原稿ライタ1020を指定し、一般アプリケーション1010によりそのデータを印刷させることで、アプリケーションデータはアプリケーション1010によって定義されたページ(以後論理ページあるいは原稿ページと呼ぶ)を単位とする電子原稿形式に変換され、電子原稿ファイル1030としてハードディスクなどの記憶媒体に格納される。なお、ハードディスクは、本実施形態の文書処理システムを実現するコンピュータが備えているローカルドライブであってもよいし、ネットワークに接続されている場合にはネットワーク上に提供されるドライブであっても良い。   In this way, by specifying the electronic document writer 1020 as a device driver and printing the data by the general application 1010, the application data is in units of pages (hereinafter referred to as logical pages or document pages) defined by the application 1010. It is converted into an electronic manuscript format and stored as an electronic manuscript file 1030 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. .

製本アプリケーション1040は電子原稿ファイルあるいはブックファイル1030を読み込み、それを編集するための機能を利用者に提供する。ただし製本アプリケーション1040は、各ページの内容を編集する機能は提供しておらず、ページを最小単位として構成される、後述する章やブックの構造を編集するための機能を提供している。   The bookbinding application 1040 reads an electronic document file or book file 1030 and provides a user with a function for editing the file. However, the bookbinding application 1040 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.

製本アプリケーション1040によって編集されたブックファイル1030を印刷する際には、製本アプリケーション1040によって電子原稿デスプーラ1050が起動される。電子原稿デスプーラ1050は、指定されたブックファイルをハードディスクから読み出し、ブックファイルに記述された形式で各ページを印刷するために、前述したOSの出力モジュールに適合する出力コマンドを生成し、不図示の出力モジュールに出力する。その際に、出力デバイスとして使用されるプリンタ1070のドライバ1060がデバイスドライバとして指定される。出力モジュールは、指定されたプリンタ1070のデバイスドライバ1060を用いて受信した出力コマンドを、プリンタ1070で解釈実行可能なデバイスコマンドに変換する。そしてデバイスコマンドはプリンタ1070に送信され、プリンタ1070によってコマンドに応じた画像が印刷される。   When the book file 1030 edited by the bookbinding application 1040 is printed, the bookbinding application 1040 activates the electronic document despooler 1050. The electronic manuscript despooler 1050 reads out a designated book file from the hard disk and generates an output command suitable for the above-described OS output module in order to print each page in the format described in the book file. Output to the output module. At that time, the driver 1060 of the printer 1070 used as the output device is designated as the device driver. The output module converts the output command received using the device driver 1060 of the designated printer 1070 into a device command that can be interpreted and executed by the printer 1070. The device command is transmitted to the printer 1070, and an image corresponding to the command is printed by the printer 1070.

<電子原稿データの形式>
編集アプリケーション1040の詳細に言及する前に、ブックファイルのデータ形式を説明する。ブックファイルは紙媒体の書物を模した3層の層構造を有する。上位層は「ブック」と呼ばれ、1冊の本を模しており、その本全般に係る属性が定義されている。その下の中間層は、本でいう章に相当し、やはり「章」と呼ばれる。各章についても、章ごとの属性が定義できる。下位層は「ページ」であり、アプリケーションプログラムで定義された各ページに相当する。各ページついてもページごとの属性が定義できる。ひとつのブックは複数の章を含んでいてよく、また、ひとつの章は複数のページを含むことができる。
<Electronic manuscript data format>
Before referring to details of the editing application 1040, 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.

図10(A)は、ブックファイルの形式の一例を模式的に示す図である。この例のブックファイルは、ブック,章,ページは、それぞれに相当するノードにより示されている。ひとつのブックファイルはひとつのブックを含む。ブック,章は、ブックとしての構造を定義するための概念であるから、定義された属性値と下位層へのリンクとをその実体として含む。ページは、アプリケーションプログラムによって出力されたページごとのデータを実体として有する。そのため、ページは、その属性値のほか、原稿ページの実体(原稿ページデータ)と各原稿ページデータへのリンクを含む。なお、紙媒体等に出力する際の印刷ページは複数の原稿ページを含む場合がある。この構造に関してはリンクによって表示されず、ブック、章、ページ各階層における属性として表示される。   FIG. 10A 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.

図10(A)において、ブック3010には、ブック属性が定義されているとともに、2つの章3020A,3020Bがリンクされている。このリンクにより、章3020A,3020Bがブック3010に包含されていることが表示される。章3020Aには、ページ3030A,3030Bがリンクされ、これらページが含まれることが示されている。各ページ3030A,3030Bにはそれぞれ属性値が定義され、その実体である原稿ページデータ(1)、(2)へのリンクが含まれる。これらリンクは、図10(B)に示す原稿ページデータ3040のデータ(1),(2)を指し示し、ページ3030A、3030Bの実体が、原稿ページデータ(1)、(2)であることを表示する。   In FIG. 10A, a book attribute is defined in a book 3010, and two chapters 3020A and 3020B are linked. This link displays that chapters 3020A and 3020B are included in book 3010. The chapter 3020A is linked to pages 3030A and 3030B, and indicates that these pages are included. Each page 3030A and 3030B has an attribute value defined, and includes links to the original document page data (1) and (2). These links point to the data (1) and (2) of the original page data 3040 shown in FIG. 10B, and indicate that the entities of the pages 3030A and 3030B are the original page data (1) and (2). To do.

図11は、ブック属性のリストである。下位層と重複して定義可能な項目に関しては、下位層の属性値が優先採用される。そのため、ブック属性にのみ含まれる項目に関しては、ブック属性に定義された値はブック全体を通して有効な値となる。しかし、下位層と重複する項目については、下位層において定義されていない場合における既定値としての意味を有する。なお、図示された各項目は具体的に1項目に対応するのではなく、関連する複数の項目を含むものもある。   FIG. 11 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.

図12は章属性のリストであり、図13はページ属性のリストである。章属性とページ属性との関係もブック属性と下位層の属性との関係と同様である。   FIG. 12 shows a list of chapter attributes, and FIG. 13 shows 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 printing method attributes, 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 allows bookbinding by bundling a separately designated number of sheets into two and folding the bundle. As the bookbinding details attribute, when bookbinding printing is designated, the spread direction, the number of sheets to be bundled, and the like can be designated.

表紙/裏表紙属性は、ブックとしてまとめられる電子原稿ファイルを印刷する際に、表紙および裏表紙となる用紙を付加することの指定、及び付加した用紙への印刷内容の指定を含む。インデックス紙属性は、章の区切りとして、印刷装置に別途用意される耳付きのインデックス紙の挿入の指定およびインデックス(耳)部分への印刷内容の指定を含む。この属性は、印刷用紙とは別に用意された用紙を所望の位置に挿入するインサート機能を持ったインサータが使用する印刷装置に備えられている場合か、あるいは、複数の給紙カセットを使用可能である場合に有効となる。これは合紙属性についても同様である。   The front cover / back cover attribute includes designation of adding sheets 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 / footer is a watermark printed on the upper margin and the lower margin of each page. However, items that can be specified by variables, such as page numbers and date / time, are prepared in the header / footer. The contents that can be specified in the watermark attribute and the header / footer attribute are common to the chapter and the page, but the book is different from them. In the book, the contents of the watermark and header footer can be set, and how the watermark and header footer are printed throughout the book can be specified. On the other hand, for a chapter or page, it is possible to specify whether or not to print a watermark or header / footer set in the book for the chapter or page.

<ブックファイルの生成手順>
ブックファイルは上述したような構造および内容を有している。次に、製本アプリケーション1040および電子原稿ライタ1020によってブックファイルを作成する手順を説明する。ブックファイルの作成は、製本アプリケーション1040によるブックファイルの編集操作の一環として実現される。
<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 1040 and the electronic document writer 1020 will be described. Creation of the book file is realized as part of the book file editing operation by the bookbinding application 1040.

図14は、製本アプリケーション1040によりブックファイルを開く際の手順である。   FIG. 14 shows a procedure for opening a book file by the bookbinding application 1040.

まず、開こうとするブックファイルが、新規作成すべきものであるか、それとも既存のものであるか判定する(ステップS7010)。新規作成の場合には、章を含まないブックファイルを新規に作成する(ステップS7020)。新規に作成されるブックファイルは、図10の例で示せば、ブックノード3010のみ有し、章のノードに対するリンクが存在しないブックのノードとなる。ブック属性は、新規作成用としてあらかじめ用意された属性のセットが適用される。そして、新規ブックファイルを編集するためのユーザインタフェース(UI)画面を表示する(ステップS7040)。図18は、新規にブックファイルが作成された際のUI画面の一例である。この場合には、ブックファイルは実質的な内容を持たないために、UI画面11000には何も表示されない。   First, it is determined whether the book file to be opened is to be newly created or is an existing one (step S7010). In the case of new creation, a new book file that does not include a chapter is created (step S7020). In the example of FIG. 10, the newly created book file is a book node having only the book node 3010 and no 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 S7040). FIG. 18 is 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 11000.

一方、既存のブックファイルがあれば、指定されたブックファイルを開き(ステップS7030)、そのブックファイルの構造、属性、内容に従ってユーザインタフェース(UI)画面を表示する。図17は、このUI画面の一例である。UI画面11000は、ブックの構造を示すツリー部11010と、印刷された状態を表示するプレビュー部11020とを含む。ツリー部11010には、ブックに含まれる章、各章に含まれるページが、図10(A)のような木構造で表示される。ツリー部11010に表示されるページは原稿ページである。プレビュー部11020には、印刷ページの内容が縮小されて表示される。その表示順序は、ブックの構造を反映したものとなっている。   On the other hand, if there is an existing book file, the designated book file is opened (step S7030), and a user interface (UI) screen is displayed according to the structure, attributes, and contents of the book file. FIG. 17 shows an example of this UI screen. The UI screen 11000 includes a tree portion 11010 that shows a book structure and a preview portion 11020 that displays a printed state. In the tree portion 11010, chapters included in the book and pages included in each chapter are displayed in a tree structure as shown in FIG. The page displayed in the tree portion 11010 is a manuscript page. In preview portion 11020, the contents of the print page are reduced and displayed. The display order reflects the structure of the book.

さて、開かれたブックファイルには、電子原稿ライタによって電子原稿ファイルに変換されたアプリケーションデータを、新たな章として追加することができる。この機能を電子原稿インポート機能と呼ぶ。図14の手順によって新規に作成されたブックファイルに電子原稿インポートすることで、そのブックファイルには実体が与えられる。この機能は、図17の画面にアプリケーションデータをドラッグアンドドロップ操作することで起動される。図15に電子原稿インポートの手順を示す。   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 newly created book file by the procedure of FIG. 14, the book file is given an entity. This function is activated by dragging and dropping application data on the screen of FIG. FIG. 15 shows an electronic document import procedure.

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

画像データでなかった場合には、ステップS8010で生成された電子原稿ファイルを、現在開かれているブックファイルのブックに、新たな章として追加する(ステップS8030)。章属性としては、ブック属性と共通するものについてはブック属性の値がコピーされ、そうでないものについては、あらかじめ用意された規定値に設定される。   If it is not image data, the electronic document file generated in step S8010 is added as a new chapter to the book of the currently opened book file (step S8030). 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.

画像データである場合には、原則として新たな章は追加されず、指定されている章に、ステップS8010で生成された電子原稿ファイルに含まれる各原稿ページが追加される(ステップS8040)。ただし、ブックファイルが新規作成されたファイルであれば、新たな章が作成されて、その章に属するページとして電子原稿ファイルの各ページが追加される。ページ属性は、上位層の属性と共通のものについてはその属性値が与えられ、アプリケーションデータにおいて定義された属性を電子原稿ファイルに引き継いでいるもにについてはその値が与えられる。例えば、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 S8010 is added to the designated chapter (step S8040). 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.

図16は、図15のステップS8010において、電子原稿ライタ1020により電子原稿ファイルを生成させる手順のフローチャートである。まず、新たな電子原稿ファイルを作成してそれを開く(ステップS9010)。指定したアプリケーションデータに対応するアプリケーションを起動し、電子原稿ライタをデバイスドライバとして、OSの出力モジュールに対して出力コマンドを送信させる。出力モジュールは、受信した出力コマンドを電子原稿ライタによって電子原稿形式のデータに変換し、出力する(ステップS9020)。出力先はステップS9010で開いた電子原稿ファイルである。指定されたデータすべてについて変換が終了したか判定し(ステップS9030)、終了していれば電子原稿ファイルを閉じる(ステップS9040)。電子原稿ライタ1020によって生成される電子原稿ファイルは、図10(B)に示した、原稿ページデータの実体を含むファイルである。   FIG. 16 is a flowchart of a procedure for generating an electronic document file by the electronic document writer 1020 in step S8010 of FIG. First, a new electronic document file is created and opened (step S9010). 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 it (step S9020). The output destination is the electronic document file opened in step S9010. It is determined whether or not conversion has been completed for all designated data (step S9030), and if completed, the electronic document file is closed (step S9040). The electronic document file generated by the electronic document writer 1020 is a file including document page data entities shown in FIG.

<ブックファイルの編集>
以上のようにして、アプリケーションデータからブックファイルを作成することができる。生成されたブックファイルについては、章及びページに対して次のような編集操作が可能である。
<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)新規追加
(2)削除
(3)コピー
(4)切り取り
(5)貼り付け
(6)移動
(7)章名称変更
(8)ページ番号名称振り直し
(9)表紙挿入
(10)合紙挿入
(11)インデックス紙挿入
(12)各原稿ページに対するページレイアウト。
(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 sheet (12) Page layout for each document page.

このほか、いったん行った編集操作を取り消す操作や、さらに取り消した操作をやり直す操作が可能である。これら編集機能により、例えば複数のブックファイルの統合、ブックファイル内で章やページの再配置、ブックファイル内で章やページの削除、原稿ページのレイアウト変更、合紙やインデックス紙の挿入などといった編集操作が可能となる。これらの操作を行うと、図11乃至18に示す属性に捜査結果が反映されたり、あるいはブックファイルの構造に反映される。たとえば、ブランクページの新規追加操作を行えば、指定された箇所にブランクページが挿入される。このブランクページは原稿ページとして扱われる。また、原稿ページに対するレイアウトを変更すれば、その変更内容は、印刷方法や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 search results are reflected in the attributes shown in FIGS. 11 to 18 or in the structure of the book file. 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.

<ブックファイルの出力>
以上のように作成・編集されるブックファイルは印刷出力を最終目的としている。利用者が図17に示す製本アプリケーションのUI画面11000からファイルメニューを選択し、そこから印刷を選択すると、指定した出力デバイスにより印刷出力される。この際、まず製本アプリケーション1040は、現在開かれているブックファイルからジョブチケットを作成して電子原稿デスプーラ1050に渡す。電子原稿デスプーラ1050は、ジョブチケットをOSの出力コマンド、例えばウインドウズのGDIコマンドに変換し、それを出力モジュール、例えばGDIに送信する。出力モジュールは、指定されたプリンタドライバ1060によってデバイスに適したコマンドを生成し、そのデバイスに送信する。
<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 11000 of the bookbinding application shown in FIG. 17 and selects printing from the file menu, printing is output by the designated output device. At this time, the bookbinding application 1040 first creates a job ticket from the currently opened book file and passes it to the electronic document despooler 1050. The electronic document despooler 1050 converts the job ticket into an OS output command, for example, a Windows GDI command, and transmits it to an output module, for example, GDI. The output module generates a command suitable for the device by the designated printer driver 1060 and transmits the command 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 an identifier of a paper to be used and designation of a paper feed port in the printer. Each paper node includes a node of a sheet printed on the paper. One sheet corresponds to one sheet. A print page (physical page) belongs to each sheet. For single-sided printing, one physical page belongs to one sheet, and for double-sided printing, two physical pages belong to one sheet. Each physical page has an original page arranged thereon. The physical page attribute includes the layout of the original page.

電子原稿デスプーラ1050は、上述のジョブチケットを、出力モジュールへの出力コマンドに変換する。   The electronic document despooler 1050 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. This is a stand-alone system, but a book file is created and edited in almost the same configuration and procedure even in a server client system to which this is extended. However, the book file and print processing are managed by the server.

図19はサーバクライアント型文書処理システムの構成を示すブロック図である。クライアント文書処理システムは、スタンドアロン型システムに、クライアントモジュールである仮想プリンタドライバ1090および仮想プリントサービスモジュール1100、DS(文書サービス)クライアントモジュール1080を加えた構成を有する。このクライアント文書処理システム12000に、文書管理サーバ12010および印刷集中管理サーバ12020およびプリントサーバ12030が接続されている。   FIG. 19 is a block diagram showing a configuration of a server client type document processing system. The client document processing system has a configuration in which a virtual printer driver 1090, a virtual print service module 1100, and a DS (document service) client module 1080, which are client modules, are added to a stand-alone system. A document management server 12010, a centralized printing management server 12020, and a print server 12030 are connected to the client document processing system 12000.

これらサーバは、通常ネットワークによってクライアント文書処理システムと接続されるが、サーバが同時にクライアントとしても機能する場合には、ネットワーク間の通信をシミュレートするプロセス間通信によって接続される。なお図19では文書管理サーバ12010と印刷集中管理サーバ12020の両サーバがクライアントに接続されているが、いずれか一方のみがネットワーク上に存在する場合もあり得る。接続されているサーバが文書管理サーバであれば、そのクライアントモジュールを含む文書管理サーバクライアントシステム12010SCが、印刷集中管理サーバ12020であれば、そのクライアントモジュールを含む印刷管理サーバクライアントシステム12020SCが、スタンドアロン型文書管理システムに追加される。   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. 19, both the document management server 12010 and the centralized printing management server 12020 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 12010SC including the client module is the stand-alone print management server client system 12020SC including the client module. Added to document management system.

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

印刷集中管理サーバ12020は、クライアント文書管理システム12000に格納された、あるいは文書管理サーバ12010に格納されたブックファイルの印刷を管理するサーバである。クライアントにおける印刷要求は、仮想プリンタドライバ1090および仮想プリントサービスモジュール1100を介して印刷集中管理サーバ12020のサーバモジュール12210に送信される。   The print central management server 12020 is a server that manages printing of book files stored in the client document management system 12000 or stored in the document management server 12010. The print request in the client is transmitted to the server module 12210 of the print central management server 12020 via the virtual printer driver 1090 and the virtual print service module 1100.

集中印刷管理サーバ12020は、クライアントのプリンタで印刷する場合にはクライアントの仮想プリントサービスモジュール1100を介して電子原稿デスプーラ1050に電子原稿データを渡し、プリントサーバ12030により印刷する場合には、プリントサーバ12030の仮想プリントサービスモジュール12030に送信する。集中印刷管理サーバは、例えば保存されているブックファイルに対して印刷要求を発行した利用者の資格などについてセキュリティチェックを行ったり、印刷処理のログを保存したりする。このように、文書処理システムは、スタンドアロンとしても、クライアントサーバシステムとしても実現できる。   The centralized print management server 12020 passes electronic document data to the electronic document despooler 1050 via the client virtual print service module 1100 when printing with the client printer, and when printing with the print server 12030, the print server 12030. To the virtual print service module 12030. 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.

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

<第1実施形態>
以下、添付図面を参照して本発明の好適な実施の形態を詳細に説明する。
<First Embodiment>
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

図8は、コンピュータ101のハードウエアブロック図である。図8において、CPU2010は、ROM2030のプログラム用ROMに記憶された、あるいはハードディスク2110からRAM2020にロードされたOSや一般アプリケーション、製本アプリケーションなどのプログラムを実行し、後述するフローチャートの手順を実現する。RAM2020は、CPU2010の主メモリ、ワークエリア等として機能する。キーボードコントローラ(KBC)2050は、キーボード2090や不図示のポインティングデバイスからのキー入力を制御する。   FIG. 8 is a hardware block diagram of the computer 101. In FIG. 8, the CPU 2010 executes programs such as an OS, a general application, and a bookbinding application that are stored in the program ROM of the ROM 2030 or loaded from the hard disk 2110 to the RAM 2020 to realize the procedure of the flowchart described later. The RAM 2020 functions as a main memory and work area of the CPU 2010. A keyboard controller (KBC) 2050 controls key input from a keyboard 2090 or a pointing device (not shown).

CRTコントローラ(CRTC)2060は、CRTディスプレイ2100の表示を制御する。ディスクコントローラ(DKC)2070は、ブートプログラム、種々のアプリケーション、フォントデータ、ユーザファイル、編集ファイル等を記憶するハードディスク(HD)2110やフロッピー(登録商標)ディスク(FD)等とのアクセスを制御する。PRTC2080は、接続されたプリンタ1070との間の信号の交換を制御する。NC2120はネットワークに接続されて、ネットワークに接続された他の機器との通信制御処理を実行する。   A CRT controller (CRTC) 2060 controls display on the CRT display 2100. A disk controller (DKC) 2070 controls access to a hard disk (HD) 2110 or a floppy (registered trademark) disk (FD) that stores a boot program, various applications, font data, user files, edit files, and the like. The PRTC 2080 controls the exchange of signals with the connected printer 1070. The NC 2120 is connected to the network and executes communication control processing with other devices connected to the network.

図1は、本実施形態における情報処理システムのモジュール構成を示すブロック図である。図1において、101はホストコンピュータであり、LAN104を経由してプリンタA、B(102、103)と接続しており、相互にデータの通信が可能である。本構成では出力先のプリンタとして2台のプリンタが設定されているが、プリンタの台数はこれに限るものではない。   FIG. 1 is a block diagram showing a module configuration of the information processing system in the present embodiment. In FIG. 1, reference numeral 101 denotes a host computer, which is connected to printers A and B (102, 103) via a LAN 104, and can communicate data with each other. In this configuration, two printers are set as output destination printers, but the number of printers is not limited to this.

105はワードプロセッシングやスプレッドシート、テキスト編集などの機能を提供するアプリケーションプログラム(以下、「アプリケーション」と呼ぶ。)である。アプリケーション105が中間コード生成モジュール106に印刷要求を出すことにより、本実施形態で説明する印刷処理が実行される。   Reference numeral 105 denotes an application program (hereinafter referred to as “application”) that provides functions such as word processing, spreadsheet, and text editing. When the application 105 issues a print request to the intermediate code generation module 106, the print processing described in this embodiment is executed.

中間コード生成モジュール106(図19の仮想プリンタドライバ1090に相当)は、アプリケーション105からの印刷要求を受け、ページ単位の原稿を詳細な書式をもって表現するEMF(中間ファイル形式データ)、PDF等の画像データとDEVMODE、JDF等の印刷属性指示データを含む中間コードを生成し、中間コード記憶モジュール107はこれらのデータをファイルに格納する。ここで、アプリケーションとしては上に説明した図19の製本アプリケーション等も対応することとなる。   The intermediate code generation module 106 (corresponding to the virtual printer driver 1090 in FIG. 19) receives a print request from the application 105 and receives an image such as EMF (intermediate file format data) or PDF that expresses a document in page units with a detailed format. An intermediate code including data and printing attribute instruction data such as DEVMODE and JDF is generated, and the intermediate code storage module 107 stores the data in a file. Here, the bookbinding application of FIG. 19 described above corresponds to the application.

印刷データ生成モジュール108(図19の仮想プリントサービス1100に相当)は中間コード記憶モジュール107から格納されている中間コードを受け取り、出力先プリンタで印刷可能なPDL等の形式の印刷データに変換し、印刷データ転送モジュール109よりLAN104を経由して出力先プリンタに印刷データを転送する。また、図1中には不図示であるが、印刷データ生成モジュール108は複数のプリンタの夫々に対応したプリンタドライバから代行先の対象となるプリンタに対応したプリンタドライバを所定の記憶部から選択する機能、及び、選択したプリンタドライバを利用して生成した印刷データ(PDL)を印刷データ転送モジュール109に代行先プリンタに転送させる機能を備えている
The print data generation module 108 (corresponding to the virtual print service 1100 in FIG. 19) receives the intermediate code stored from the intermediate code storage module 107, converts it into print data in a format such as PDL that can be printed by the output destination printer, Print data is transferred from the print data transfer module 109 to the output destination printer via the LAN 104. Although not shown in FIG. 1, the print data generation module 108 selects, from a predetermined storage unit, a printer driver corresponding to a printer to be substituted from a printer driver corresponding to each of a plurality of printers. And a function for causing the print data transfer module 109 to transfer print data (PDL) generated using the selected printer driver to the substitute printer.

プリンタ障害検出モジュール110は出力先プリンタの状態を監視しており、印刷ジョブが正常に印刷されたか、もしくは途中で障害が起きたかを判断し、印刷が完了した頁数の情報とともに障害発生頁検出モジュール111に通知する。ここで出力先プリンタの状態の監視は出力先プリンタから発生された各種障害イベント(用紙なし/トナー切れ/紙ジャム/メモリフル等)の監視や、障害検出モジュール110自らが出力先プリンタの状態を問い合わせるような形態がとられる。また、ここでの障害の検出とは障害情報を認識する処理を指すものとする
The printer failure detection module 110 monitors the status of the output destination printer, determines whether the print job has been printed normally or has failed in the middle, and detects the failed page along with information on the number of pages that have been printed. Notify the module 111. Here, the status of the output destination printer is monitored for various failure events (out of paper / out of toner / paper jam / memory full, etc.) generated from the output destination printer, and the failure detection module 110 itself monitors the status of the output destination printer. It takes the form of inquiring. Further, the detection of a failure here refers to a process for recognizing failure information.

障害発生頁検出モジュール111は、プリンタ障害検出モジュール110から通知された情報に基づき、出力先プリンタで印刷が完了した頁数の情報から障害発生頁番号を演算し、障害発生頁を特定する。   Based on the information notified from the printer failure detection module 110, the failure page detection module 111 calculates a failure page number from information on the number of pages that have been printed by the output destination printer, and identifies the failure page.

印刷属性検出モジュール112は、障害発生頁検出モジュール111で特定された障害発生頁の情報に基づき、中間コード記憶モジュール107より、障害により印刷が中断した頁に相当する印刷ジョブの中間コードを取得(生成)し、印刷ジョブに設定されている印刷属性情報を取得し認識する。   The print attribute detection module 112 acquires the intermediate code of the print job corresponding to the page whose printing is interrupted due to the failure from the intermediate code storage module 107 based on the information on the failed page specified by the failed page detection module 111 ( The print attribute information set in the print job is acquired and recognized.

再印刷開始頁判断モジュール113は、障害発生頁検出モジュール112から受信した障害発生頁番号及びその頁に対応する印刷属性情報より最適な再印刷開始頁を決定し、印刷データ生成モジュール108にその中間コード及び該再印刷開始頁を指定し、自動再印刷設定に基づき優先順位が高く、かつ、正常状態のプリンタを再印刷先プリンタに指定して印刷指示を出力する。この最適な再印刷開始頁の決定方式については図3〜図7を参照して説明する。   The reprint start page determination module 113 determines the optimum reprint start page from the faulty page number received from the faulty page detection module 112 and the print attribute information corresponding to the page, and sends the intermediate page to the print data generation module 108. A code and the reprint start page are designated, a printer having a high priority based on automatic reprint settings and a normal printer is designated as a reprint destination printer, and a print instruction is output. This optimum reprint start page determination method will be described with reference to FIGS.

印刷データ生成モジュール108は、再印刷開始頁判断モジュール113で決定された再印刷開始頁に基づき、その再印刷開始頁以降から該当印刷ジョブの最後までを再印刷範囲として特定し、該当する範囲の中間コードを出力先のプリンタで印刷可能なPDL等の形式の印刷データに変換する。この際、印刷データ生成モジュール108は、印刷データ転送モジュール109から、代行するプリンタに関する情報を参照することができる。   Based on the reprint start page determined by the reprint start page determination module 113, the print data generation module 108 specifies the reprint range from the reprint start page to the end of the corresponding print job, The intermediate code is converted into print data in a format such as PDL that can be printed by the output destination printer. At this time, the print data generation module 108 can refer to information regarding the substitute printer from the print data transfer module 109.

その印刷データは、印刷データ転送モジュール109により、中断した印刷ジ
ョブの再印刷を代行するプリンタとして特定された再印刷先のプリンタへ転送さ
れる。
The print data is transferred by the print data transfer module 109 to a reprint destination printer identified as a printer acting as a proxy for reprinting the interrupted print job.

代行プリンタ設定モジュール114は、障害が発生して中断した印刷ジョブを再開するために、再印刷の出力先として代行するプリンタ群を設定する。代行プリンタ設定モジュール114は、複数の再印刷を代行するプリンタの優先順位をプリンタ毎に設定し、印刷データ転送モジュール109は、この優先順位に従って再印刷を代行するプリンタを特定する。   The substitute printer setting module 114 sets a substitute printer group as an output destination for reprinting in order to resume a print job that has been interrupted due to a failure. The substitute printer setting module 114 sets the priority order of a plurality of reprinting printers for each printer, and the print data transfer module 109 specifies a printer that performs reprinting according to this priority order.

また、アプリケーション105とその他情報処理システムを構成するモジュール(106〜114)群は、情報処理システム実現のために提供されるソフトウエアモジュールであり、必ずしも同一のホストコンピュータ等に実装されている必要はなく、情報処理システムを構成するモジュール(106〜114)はシステムのサーバ側、アプリケーション105はシステムのクライアント側に存在していても良い。   In addition, the application 105 and other modules (106 to 114) constituting the information processing system are software modules provided for realizing the information processing system, and are not necessarily mounted on the same host computer or the like. Instead, the modules (106 to 114) constituting the information processing system may exist on the server side of the system, and the application 105 may exist on the client side of the system.

図2は、CRT2100上に表示される自動再印刷アルゴリズムにおける設定画面の一例を示す図である。同図において、「出力先プリンタの候補」の設定とその出力先の「優先順位」を設定する。図2に示す例では出力先のプリンタ名として「プリンタA」及び「プリンタB」が設定されており、それぞれ優先順位が1番,2番と設定されている。この場合、まず1番目のプリンタAで印刷を試み、そのプリンタAで障害が発生した場合に、優先順位として2番目の設定がされているプリンタBで再印刷を実行するように設定される。この設定は上述の代行プリンタ設定モジュール114で自動的に設定してもよいし、管理者又はユーザ等によって、アプリケーションから印刷要求を出すときにユーザ等がキーボード(2090)等の入力部から随時設定してもよい。   FIG. 2 is a diagram illustrating an example of a setting screen in the automatic reprint algorithm displayed on the CRT 2100. In the figure, “output destination printer candidate” is set and “priority” of the output destination is set. In the example shown in FIG. 2, “printer A” and “printer B” are set as output destination printer names, and the priority order is set to 1 and 2, respectively. In this case, first, printing is attempted with the first printer A, and when a failure occurs in the printer A, the printer B set as the second priority is set to execute reprinting. This setting may be automatically set by the above-described substitute printer setting module 114, or may be set by the user or the like from the input unit such as the keyboard (2090) when the administrator or the user issues a print request from the application. May be.

次に、印刷データの処理の流れを図3〜図7のフローチャートを参照して、詳細に説明する。   Next, the flow of print data processing will be described in detail with reference to the flowcharts of FIGS.

図3は、アプリケーション105から印刷を行なう際の処理の流れを説明するフローチャートである。   FIG. 3 is a flowchart for explaining the flow of processing when printing is performed from the application 105.

まず、ステップS31でアプリケーション105から中間コード生成モジュール106に印刷要求が出され、印刷処理が開始される。   First, in step S31, a print request is issued from the application 105 to the intermediate code generation module 106, and print processing is started.

ステップS32において、中間コード生成モジュール106はアプリケーション105の印刷要求に基づいて中間コードを生成する。この中間コードには、上述のようにPDF等の画像データとJDF等の印刷属性指示データが含まれ、ステップS33で中間コードを中間コード記憶モジュール107がファイルに格納する。   In step S <b> 32, the intermediate code generation module 106 generates an intermediate code based on the print request from the application 105. As described above, this intermediate code includes image data such as PDF and print attribute instruction data such as JDF, and the intermediate code storage module 107 stores the intermediate code in a file in step S33.

ステップS34では、印刷データ生成モジュール108が、中間コード記憶モジュール107より中間コードを取得し、優先順位の一番高い出力先プリンタで印刷可能な印刷データに変換する。アプリケーション105により作成された文書データや画像データなどのアプリケーションデータを印刷するにあたって、オペレーティングシステム(OS)により提供される所定のインタフェースモジュールが利用され、プリンタ等の出力デバイスが処理可能な形式の印刷データに中間コードが変換される。   In step S34, the print data generation module 108 acquires the intermediate code from the intermediate code storage module 107, and converts it into print data that can be printed by the output destination printer with the highest priority. When printing application data such as document data and image data created by the application 105, print data in a format that can be processed by an output device such as a printer using a predetermined interface module provided by an operating system (OS). Intermediate code is converted into

ステップS35では、ステップS34で生成された印刷データを印刷データ転送モジュール109が受信し、その受信したデータを出力先プリンタに対してLAN104を経由して転送する。   In step S35, the print data transfer module 109 receives the print data generated in step S34, and transfers the received data to the output destination printer via the LAN 104.

ステップS36において、指定されたプリンタで印刷が開始される。このプリンタの処理状況は、図1のプリンタ障害検出モジュール110でモニタされており(S37)、印刷データの処理において、障害が発生せず印刷処理が正常に完了した場合は印刷処理は正常終了する(S37−No、S38)。   In step S36, printing is started by the designated printer. The processing status of the printer is monitored by the printer fault detection module 110 of FIG. 1 (S37), and the print processing ends normally if no fault occurs in the print data processing and the print processing is completed normally. (S37-No, S38).

一方、印刷処理中、障害が発生した場合(S37−Yes)、図4〜図7で説明する再印刷処理動作に移行する(S39)。   On the other hand, if a failure occurs during the printing process (S37-Yes), the process proceeds to the reprinting process operation described with reference to FIGS. 4 to 7 (S39).

図4は、出力先として指定されたプリンタにおいて、障害が検出された場合の再印刷処理動作を説明するためのフローチャートである。   FIG. 4 is a flowchart for explaining the reprint processing operation when a failure is detected in the printer designated as the output destination.

プリンタ障害検出モジュール110が出力先のプリンタで障害が発生したことを検出すると(S41)、プリンタ障害検出モジュール110は、そのプリンタで障害が発生する前までに印刷完了した頁数(以下、「印刷完了頁数」という。)を取得し、この印刷完了頁数を基に、障害発生頁検出モジュール111は障害発生頁番号(L)を決定する。   When the printer failure detection module 110 detects that a failure has occurred in the output destination printer (S41), the printer failure detection module 110 determines the number of pages that have been printed before the failure occurred in the printer (hereinafter referred to as "printing"). The failure page detection module 111 determines the failure page number (L) based on the print completion page number.

次に、ステップS43に処理を進め、印刷属性検出モジュール112が中間コード記憶モジュール107より格納されている中間コードDEVMODE、JDFなどから印刷属性を検出する。この印刷属性には、例えば、複数部印刷を行うために1部のデータを繰り返し並べたデータとなっているか、ステイプル止めの指示が指定されているか、両面印刷が設定されているか、また製本印刷(指定する枚数の用紙を束にして2つ折りにし、その束をつづり合わせることで製本が可能となる形式)が指定されているか、製本分冊(指定枚数を重ねて中綴じし、2つ折りにした小冊子を複数作成する)が指定されているかを示す属性が挙げられるが、これらに限るものではない。   Next, the process proceeds to step S43, and the print attribute detection module 112 detects the print attribute from the intermediate code DEVMODE, JDF, etc. stored in the intermediate code storage module 107. In this print attribute, for example, it is data in which one set of data is repeatedly arranged for printing a plurality of copies, whether a stapling instruction is specified, double-sided printing is set, or bookbinding printing (Specified number of sheets are bundled and folded in half, and the book can be bound by binding the bundle) is specified, or the booklet separate volume (the specified number of sheets is stacked and saddle-stitched into two An attribute indicating whether or not (create a plurality of booklets) is specified is included, but is not limited thereto.

図5は印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。図4のステップS43で印刷属性を検出後、処理を図5のステップS52に進め、再印刷開始頁(N)の初期値を図4のステップS42で決定された障害発生頁番号(L)とする。   FIG. 5 is a flowchart for explaining the reprint start page setting process based on the print attributes. After detecting the print attribute in step S43 in FIG. 4, the process proceeds to step S52 in FIG. 5, and the initial value of the reprint start page (N) is set to the faulty page number (L) determined in step S42 in FIG. To do.

ステップS53では、ステップS43で取得した印刷属性を解析する。その中間コードが複数部印刷を行うために、データを繰り返し並べた構成となっている場合(S53−YES)にはステップS54に進み、繰り返し並べた構成となっていない場合(S53−NO)には処理をステップS56に進める。   In step S53, the print attribute acquired in step S43 is analyzed. If the intermediate code has a configuration in which data is repeatedly arranged for printing a plurality of copies (S53-YES), the process proceeds to step S54, and if the intermediate code has not been repeatedly arranged (S53-NO). Advances the process to step S56.

ステップS54では、印刷ジョブが複数の部数分のデータを含んでいるため、1部単位で再印刷をするために、その1部数分の頁数(M)を取得して、処理をステップS55に進める。   In step S54, since the print job includes data for a plurality of copies, in order to reprint one copy, the number of pages (M) for that one copy is acquired, and the process proceeds to step S55. Proceed.

ステップS55では、再印刷開始頁Nを決定するために、数列{1、M、2×M、3×M...、NN×M、...:(NNは自然数)}を生成し、この数列の要素のうち障害発生頁番号L以下で最大の値を演算し、その値を再印刷開始頁Nに設定して、処理をステップS71(図7)に進める。   In step S55, in order to determine the reprint start page N, a number sequence {1, M, 2 × M, 3 × M ..., NN × M, ...: (NN is a natural number)} is generated, Among the elements of this sequence, the maximum value is calculated for the failure page number L or less, the value is set as the reprint start page N, and the process proceeds to step S71 (FIG. 7).

ステップS56では、印刷ジョブの属性(印刷属性)として、ステイプル止めの指示が指定されているかを判定し、指定されている場合(S56−YES)には処理をステップS57へ進めて再印刷開始頁Nを1に設定して(S57)、処理をステップS71(図7)に進める。ここで、ステップS57における処理では、印刷ジョブの属性としてステイプル止めが指定されていることから、1部のデータの途中から再印刷してしまうと1部ごとにステイプル止めを行うことはできないため、再印刷開始頁Nを1頁目に設定するものである。   In step S56, it is determined whether or not a stapling stop instruction is specified as the print job attribute (print attribute). If specified (S56-YES), the process proceeds to step S57 to start the reprint start page. N is set to 1 (S57), and the process proceeds to step S71 (FIG. 7). Here, in the processing in step S57, since stapling is specified as the attribute of the print job, stapling cannot be performed for each copy if reprinting is performed in the middle of one copy of data. The reprint start page N is set to the first page.

ステイプル止めの指定されていない場合(S56−NO)には処理をステップS61(図6)に進める。   If stapling is not designated (S56-NO), the process proceeds to step S61 (FIG. 6).

図6は、製本印刷、製本分冊、両面印刷に関する印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。図5のステップS56で、ステイプル止めが指定されていない場合は、図6のステップS62において、製本印刷の属性が設定されているか否かを判断する。印刷ジョブの属性として製本印刷の属性が設定されている場合(S62−YES)には処理をステップS63に進め、製本印刷の属性が設定されていない場合(S62−NO)には処理をステップS64に進める。   FIG. 6 is a flowchart for explaining the setting process of the reprint start page based on the print attributes relating to bookbinding printing, booklet separation, and duplex printing. If stapling is not specified in step S56 in FIG. 5, it is determined in step S62 in FIG. 6 whether or not the bookbinding printing attribute is set. If the bookbinding printing attribute is set as the print job attribute (S62-YES), the process proceeds to step S63. If the bookbinding printing attribute is not set (S62-NO), the process proceeds to step S64. Proceed to

ステップS63では、中間コードより障害発生頁Lが含まれる用紙を検索し、その用紙に含まれる(レイアウトされる)先頭の頁番号を再印刷開始頁Nに設定し、処理をステップS71(図7)に進める。   In step S63, a sheet including the faulty page L is retrieved from the intermediate code, the top page number included (laid out) in the sheet is set as the reprint start page N, and the process is performed in step S71 (FIG. 7). ).

ステップS64では、印刷ジョブの属性として製本分冊印刷が設定されているかを判定し、製本分冊の属性が設定されている場合(S64−YES)には処理をステップS65に進め、設定されていない場合(S64−NO)には処理をステップS66に進める。   In step S64, it is determined whether or not bookbinding volume printing is set as an attribute of the print job, and if the bookbinding volume attribute is set (S64-YES), the process proceeds to step S65, and is not set. In (S64-NO), the process proceeds to step S66.

ステップS65では、中間コードより障害発生頁Lが含まれる分冊を検索し、その分冊に含まれる先頭の頁番号を再印刷開始頁Nに設定し、処理をステップS71(図7)に進める。   In step S65, the volume including the failed page L is retrieved from the intermediate code, the top page number included in the volume is set as the reprint start page N, and the process proceeds to step S71 (FIG. 7).

ステップS66では、印刷ジョブの属性として両面印刷が設定されているかを判定し、両面印刷の属性が設定されている場合(S66−YES)には処理をステップS67に進め、設定されていない場合には処理をステップS71(図7)に進める。   In step S66, it is determined whether double-sided printing is set as the attribute of the print job. If the double-sided printing attribute is set (S66-YES), the process proceeds to step S67. Advances the process to step S71 (FIG. 7).

ステップS67では、障害発生頁Lが印刷されるのが出力用紙の表であるか裏であるかを判定し、表である場合には再印刷開始頁Nに障害発生頁Lを設定し、裏である場合には障害発生頁L−1の値をNに設定する。このことにより、障害発生頁が裏面である場合にも、その裏面から印刷することが可能となる。   In step S67, it is determined whether the faulty page L is printed on the front side or the back side of the output paper. If it is the front side, the faulty page L is set as the reprint start page N. If it is, the value of the failure page L-1 is set to N. Thus, even when the failed page is the back side, it is possible to print from the back side.

図7は再印刷開始頁の確定から再印刷開始の処理を説明するフローチャートである。図7のステップS72で、印刷属性に基づいた再印刷開始頁Nを最終的に確定する。   FIG. 7 is a flowchart for explaining the processing from the confirmation of the reprint start page to the start of reprinting. In step S72 of FIG. 7, the reprint start page N based on the print attributes is finally determined.

ステップS73で、印刷ジョブに設定された自動再印刷設定に基づき、正常状態であるプリンタの中で優先順位が最も高い出力先プリンタを再印刷先プリンタとして選択する。この設定は図2における自動再印刷の設定画面で設定されたプリンタと優先順位に基づくものである。   In step S73, based on the automatic reprint setting set in the print job, the output destination printer having the highest priority among the printers in the normal state is selected as the reprint destination printer. This setting is based on the printer and priority set on the automatic reprint setting screen in FIG.

次に、ステップS74で印刷データ生成モジュール108において、ステップS72で決定された再印刷開始頁に基づく範囲の中間ファイルを抽出し、該抽出された中間コードを再印刷先プリンタで印刷可能な形式変換し、再印刷開始頁から最終頁までの印刷データを生成する。   In step S74, the print data generation module 108 extracts an intermediate file in a range based on the reprint start page determined in step S72, and converts the extracted intermediate code into a format that can be printed by the reprint destination printer. Then, print data from the reprint start page to the last page is generated.

そして、ステップS75で、印刷データ転送モジュール109によって、LAN104を経由して再印刷先プリンタに印刷データを転送し、再印刷先プリンタで再印刷が開始される(S76)。ここで、再印刷先プリンタの決定処理については上に説明した図2のユーザインターフェースを介して設定された代行先プリンタに自動的に転送される。また更なる別の好適な形態として、障害が発生したことに応じて代行先のプリンタを選択指示可能なユーザインターフェースを表示させ、該表示されたユーザインターフェースを介して選択指示された代行先プリンタを代行先として選択し、更に、選択先のプリンタが印刷可能なPDLデータに変換し転送するような形態も想定される。この再に転送先のプリンタが印刷可能なPDLデータに変換する処理は、転送先に対応したプリンタドライバソフトウエアが所定の記憶手段から抽出され稼動されることにより実現される。上にも説明したように印刷データ生成モジュール108は複数のプリンタの夫々に対応したプリンタドライバから対象となるプリンタに対応したプリンタドライバを選択する機能を有する。   In step S75, the print data transfer module 109 transfers the print data to the reprint destination printer via the LAN 104, and the reprint destination printer starts reprinting (S76). Here, the reprint destination printer determination process is automatically transferred to the substitute printer set through the user interface of FIG. 2 described above. As yet another preferred embodiment, a user interface capable of instructing selection of a substitute printer in response to the occurrence of a failure is displayed, and the substitute destination printer instructed to select via the displayed user interface is displayed. A mode is also conceivable in which the destination printer is selected and further converted into PDL data that can be printed by the selected printer and transferred. The process of converting the PDL data to be printable by the transfer destination printer again is realized by extracting and operating the printer driver software corresponding to the transfer destination from a predetermined storage unit. As described above, the print data generation module 108 has a function of selecting a printer driver corresponding to a target printer from printer drivers corresponding to a plurality of printers.

また、別の形態として上の説明においてはホストコンピュータに印刷データ生成モジュール108、印刷データ転送モジュール109の機能を備えるように説明してきたが、この印刷データ生成モジュール108、印刷データ転送モジュール109の機能をホストコンピュータとはネットワーク等の所定の通信媒体を介して通信可能なサーバ(例えば図19の12020に相当)に備えさせるようにすることも想定される。   In another embodiment, the host computer has been described as having the functions of the print data generation module 108 and the print data transfer module 109. However, the functions of the print data generation module 108 and the print data transfer module 109 have been described. It is also assumed that a server (for example, equivalent to 12020 in FIG. 19) capable of communicating with the host computer via a predetermined communication medium such as a network is provided.

以上説明したように、本実施形態によれば、プリンタの障害などによって印刷ジョブが中断し場合であっても、印刷属性に基づいて再印刷開始頁を判断することにより、再印刷時も中断前の印刷属性を維持し、一貫した印刷属性の下に印刷ジョブを遂行することが可能となる。   As described above, according to the present embodiment, even when a print job is interrupted due to a printer failure or the like, by determining the reprint start page based on the print attribute, the reprint can be performed before the interruption. The print attributes can be maintained and the print job can be executed under the consistent print attributes.

<他の実施形態>
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(複写機、プリンタ、ファクシミリ装置など)に適用してもよい。
<Other embodiments>
Note that the present invention can be applied to a system (copier, printer, facsimile machine, etc.) consisting of a single device even if it is applied to a system consisting of a plurality of devices (eg, host computer, interface device, reader, printer, etc.). You may apply.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成される。   Another object of the present invention is to read a program code stored in a storage medium by a computer (or CPU or MPU) of a system or apparatus, which stores a program code of software that realizes the functions of the above-described embodiments. It is also achieved by executing.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. be able to.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

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

本実施形態における情報処理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information processing system in this embodiment. 自動再印刷アルゴリズムにおける設定画面の一例を示す図である。It is a figure which shows an example of the setting screen in an automatic reprint algorithm. アプリケーション105から印刷を行なう際の処理の流れを説明するフローチャートである。10 is a flowchart illustrating a flow of processing when printing is performed from an application 105. 出力先として指定されたプリンタにおいて、障害が検出された場合の再印刷処理動作を説明するためのフローチャートである。10 is a flowchart for explaining a reprint processing operation when a failure is detected in a printer designated as an output destination. 印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。It is a flowchart explaining the setting process of a reprint start page based on a printing attribute. 印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。It is a flowchart explaining the setting process of a reprint start page based on a printing attribute. 再印刷開始頁の確定から再印刷開始の処理を説明するフローチャートである。FIG. 10 is a flowchart for explaining processing from the confirmation of a reprint start page to the start of reprinting. コンピュータ101のハードウエアブロック図である。2 is a hardware block diagram of a computer 101. FIG. スタンドアロン型の文書処理システムのブロック図である。1 is a block diagram of a stand-alone document processing system. FIG. ブックファイルの構造の一例を示す図である。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.

Claims (26)

プリンタで印刷される印刷データを生成する情報処理装置であって、
ドキュメントの印刷を行う際に、該ドキュメントの印刷ジョブの処理における障害発生を障害発生頁と共に認識する認識手段と、
障害発生により中断した前記印刷ジョブの印刷属性と前記障害発生頁とに従って再印刷開始頁を決定する決定手段と、
前記決定手段により決定された再印刷開始頁より特定される再印刷範囲の印刷データを前記中断した印刷ジョブの再印刷を代行するプリンタに転送し、該再印刷を実行させるデータ転送手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus that generates print data to be printed by a printer,
Recognizing means for recognizing a failure occurrence in the print job processing of the document together with the failure page when printing the document;
Determining means for determining a reprint start page according to a print attribute of the print job interrupted due to the occurrence of a failure and the failed page;
Data transfer means for transferring the print data in the reprint range specified from the reprint start page determined by the determination means to a printer acting on behalf of the reprint of the interrupted print job, and executing the reprint;
An information processing apparatus comprising:
さらに前記認識手段によって認識された障害発生頁と前記印刷属性とに従って、前記再印刷範囲の印刷データを中間ファイル形式データより生成する生成手段を備え、前記転送手段は前記生成手段によって生成した再印刷範囲の印刷データの再印刷を代行するプリンタに転送することを特徴とする請求項1に記載の情報処理装置。 Further, according to the faulty page recognized by the recognition unit and the print attribute, the reprinting unit includes a generation unit that generates print data of the reprint range from intermediate file format data, and the transfer unit generates the reprint generated by the generation unit The information processing apparatus according to claim 1, wherein the information is transferred to a printer acting as a proxy for reprinting the print data in the range. 前記中断した印刷ジョブの再印刷を行なう際に、該再印刷を代行するプリンタを設定する設定手段を更に備えることを特徴とする請求項1又は2に記載の情報処理装置。 The information processing apparatus according to claim 1, further comprising a setting unit that sets a printer that performs the reprinting when the interrupted print job is reprinted. 前記設定手段は複数の再印刷を代行するプリンタの優先順位を、該プリンタ毎に設定し、
前記データ転送手段は、前記優先順位に従って前記再印刷を代行するプリンタを特定することを特徴とする請求項3に記載の情報処理装置。
The setting means sets the priority order of a plurality of printers acting on behalf of each reprint for each printer,
The information processing apparatus according to claim 3, wherein the data transfer unit specifies a printer that performs the reprinting in accordance with the priority order.
該ドキュメントの印刷設定をするデータ入力手段を更に備え、
前記データ入力手段の入力に従い、再印刷を代行するプリンタ及び/または該プリンタの優先順位が設定されることを特徴とする請求項1から4のいずれかに記載の情報処理装置。
A data input unit for setting print of the document;
5. The information processing apparatus according to claim 1, wherein a printer that performs reprinting and / or a priority order of the printer is set in accordance with an input from the data input unit.
前記決定手段は、前記障害検出手段により検出された障害発生の結果と、該障害発生により中断した前記印刷ジョブの印刷属性と、に基づき前記再印刷開始頁を決定することを特徴とする請求項1に記載の情報処理装置。 The determination unit is configured to determine the reprint start page based on a failure occurrence result detected by the failure detection unit and a print attribute of the print job suspended due to the failure occurrence. The information processing apparatus according to 1. 前記決定手段は前記印刷ジョブの印刷属性として両面印刷が指定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が表面の頁である場合にはその障害発生頁(L)と設定し、障害発生頁が裏面の頁である場合には障害発生頁の前の頁(L−1)と設定することを特徴とする請求項1に記載の情報処理装置。 When the determination unit detects that double-sided printing is designated as the print attribute of the print job, the reprint start page is determined as a failure page (L) when the failure page is a front page. The information processing apparatus according to claim 1, wherein when the faulty page is a page on the back side, the page (L-1) before the faulty page is set. 前記決定手段は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を、該印刷ジョブの1頁目と設定することを特徴とする請求項1に記載の情報処理装置。 The determination unit, when detecting that stapling is specified as a print attribute of the print job, sets the reprint start page as the first page of the print job. The information processing apparatus described in 1. 前記決定手段は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)に基づき算出することを特徴とする請求項1に記載の情報処理装置。 When the determination unit detects that the data of one copy is repeatedly arranged as a print attribute of the print job, the reprint start page is determined based on the number of pages (M) corresponding to the number of copies. The information processing apparatus according to claim 1, wherein the information processing apparatus calculates the information processing apparatus. 前記決定手段は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下で最大の値を前記再印刷開始頁と設定することを特徴とする請求項9に記載の情報処理装置。 The determining means generates a sequence (1, M, 2 × M, 3 × M,... NN × M... (NN is a natural number)) based on the number of pages (M) corresponding to the one copy. The information processing apparatus according to claim 9, wherein a maximum value of the number sequence elements that is equal to or less than the failed page (L) is set as the reprint start page. 前記決定手段は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁と設定することを特徴とする請求項1に記載の情報処理装置。 When the determination unit detects that bookbinding printing is set as the print attribute of the print job, the determination unit sets the reprint start page as the first page of the sheet including the failed page. The information processing apparatus according to claim 1. 前記決定手段は前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁と設定することを特徴とする請求項1に記載の情報処理装置。 When the determination unit detects that booklet volume printing is set as the print attribute of the print job, the retrieval start page is searched for the reprint start page, the volume including the failed page, and the head included in the volume The information processing apparatus according to claim 1, wherein the information processing apparatus is set to a page. プリンタで印刷される印刷データを生成する情報処理方法であって、
ドキュメントの印刷を行う際に、該ドキュメントの印刷ジョブの処理における障害発生を障害発生頁と共に認識する認識工程と、
障害発生により中断した前記印刷ジョブの印刷属性と前記障害発生頁とに従って再印刷開始頁を決定する決定工程と、
前記決定工程により決定された再印刷開始頁より特定される再印刷範囲の印刷データを前記中断した印刷ジョブの再印刷を代行するプリンタに転送し、該再印刷を実行させるデータ転送工程と、
を備えることを特徴とする情報処理方法。
An information processing method for generating print data to be printed by a printer,
A recognition step of recognizing a failure occurrence in the print job processing of the document together with a failure page when printing the document;
A determination step of determining a reprint start page according to the print attribute of the print job interrupted due to the occurrence of a failure and the failure occurrence page;
A data transfer step of transferring the print data in the reprint range specified from the reprint start page determined by the determination step to a printer acting as a proxy for the reprint of the interrupted print job, and executing the reprint;
An information processing method comprising:
さらに前記認識工程によって認識された障害発生頁と前記印刷属性とに従って、前記再印刷範囲の印刷データを中間ファイル形式データより生成する生成工程を備え、前記データ転送工程は前記生成工程によって生成した再印刷範囲の印刷データの再印刷を代行するプリンタに転送することを特徴とする請求項13に記載の情報処理方法。 Furthermore, according to the faulty page recognized by the recognition step and the print attribute, a generation step of generating print data of the reprint range from intermediate file format data is provided, and the data transfer step includes the re-generation generated by the generation step. The information processing method according to claim 13, wherein reprinting of print data in a print range is transferred to a printer acting as a proxy. 前記中断した印刷ジョブの再印刷を行なう際に、該再印刷を代行するプリンタを設定する設定工程を更に備えることを特徴とする請求項13又は14に記載の情報処理方法。 The information processing method according to claim 13 or 14, further comprising a setting step of setting a printer that performs the reprinting when the interrupted print job is reprinted. 前記設定工程は複数の再印刷を代行するプリンタの優先順位を、該プリンタ毎に設定し、
前記データ転送工程は、前記優先順位に従って前記再印刷を代行するプリンタを特定することを特徴とする請求項15に記載の情報処理方法。
The setting step sets a priority order of printers acting on behalf of a plurality of reprints for each printer,
The information processing method according to claim 15, wherein the data transfer step specifies a printer that performs the reprinting in accordance with the priority order.
該ドキュメントの印刷設定をするデータ入力工程を更に備え、
前記データ入力工程の入力に従い、再印刷を代行するプリンタ及び/または該プリンタの優先順位が設定されることを特徴とする請求項13から16のいずれかに記載の情報処理方法。
A data input step for making print settings for the document;
The information processing method according to any one of claims 13 to 16, wherein a printer that performs reprinting and / or a priority order of the printer is set in accordance with the input in the data input step.
前記決定工程は、前記障害検出工程により検出された障害発生の結果と、該障害発生により中断した前記印刷ジョブの印刷属性と、に基づき前記再印刷開始頁を決定することを特徴とする請求項13に記載の情報処理方法。 The determination step determines the reprint start page based on a result of the failure detected in the failure detection step and a print attribute of the print job interrupted due to the failure. 14. The information processing method according to 13. 前記決定工程は前記印刷ジョブの印刷属性として両面印刷が指定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が表面の頁である場合にはその障害発生頁(L)と設定し、障害発生頁が裏面の頁である場合には障害発生頁の前の頁(L−1)と設定することを特徴とする請求項13に記載の情報処理方法。 In the determination step, when it is detected that double-sided printing is designated as the print attribute of the print job, the reprint start page is selected, and if the faulty page is a front page, the faulty page (L The information processing method according to claim 13, wherein when the faulty page is a page on the back side, the page (L-1) before the faulty page is set. 前記決定工程は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を、該印刷ジョブの1頁目と設定することを特徴とする請求項13に記載の情報処理方法。 14. The determining step sets the reprint start page as the first page of the print job when it is detected that stapling is specified as a print attribute of the print job. Information processing method described in 1. 前記決定工程は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)に基づき算出することを特徴とする請求項13に記載の情報処理方法。 When the determination step detects that the data of one copy is repeatedly arranged multiple times as the print attribute of the print job, the reprint start page is determined based on the number of pages (M) for one copy. The information processing method according to claim 13, wherein calculation is performed. 前記決定工程は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、
該数列要素のうち、障害発生頁(L)以下で最大の値を前記再印刷開始頁と設定することを特徴とする請求項21に記載の情報処理方法。
The determining step generates a sequence of numbers (1, M, 2 × M, 3 × M,... NN × M... (NN is a natural number)) based on the number of pages (M) for one copy. And
The information processing method according to claim 21, wherein, among the sequence elements, a maximum value not more than a faulty page (L) is set as the reprint start page.
前記決定工程は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁と設定することを特徴とする請求項13に記載の情報処理方法。 In the determining step, when it is detected that bookbinding printing is set as the print attribute of the print job, the reprint start page is set as the first page of the paper including the failed page. The information processing method according to claim 13. 前記決定工程は前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁と設定することを特徴とする請求項13に記載の情報処理方法。 When the determination step detects that booklet volume printing is set as the print attribute of the print job, the reprint start page is searched for the volume that includes the failed page, and the head included in the volume is searched. The information processing method according to claim 13, wherein the information processing method is set to the following page. 請求項1乃至12のいずれかに記載の情報処理装置の機能をコンピュータが実行する機能として特定することを特徴とするコンピュータプログラム。 13. A computer program for specifying the function of the information processing apparatus according to claim 1 as a function executed by a computer. 請求項25に記載のコンピュータプログラムを格納することを特徴とするコンピュータ可読記憶媒体。 A computer-readable storage medium storing the computer program according to claim 25.
JP2005135428A 2005-05-06 2005-05-06 Information processing apparatus, print processing method, program, storage medium Expired - Fee Related JP4095624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005135428A JP4095624B2 (en) 2005-05-06 2005-05-06 Information processing apparatus, print processing method, program, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005135428A JP4095624B2 (en) 2005-05-06 2005-05-06 Information processing apparatus, print processing method, program, storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001368996A Division JP3733324B2 (en) 2001-12-03 2001-12-03 Information processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2005243048A true JP2005243048A (en) 2005-09-08
JP4095624B2 JP4095624B2 (en) 2008-06-04

Family

ID=35024647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005135428A Expired - Fee Related JP4095624B2 (en) 2005-05-06 2005-05-06 Information processing apparatus, print processing method, program, storage medium

Country Status (1)

Country Link
JP (1) JP4095624B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014226897A (en) * 2013-05-27 2014-12-08 大日本印刷株式会社 Printer capable of guaranteeing continuity of pages when resuming printing and method for resuming printing by printer
JP7490989B2 (en) 2020-03-11 2024-05-28 富士フイルムビジネスイノベーション株式会社 Information processing device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014226897A (en) * 2013-05-27 2014-12-08 大日本印刷株式会社 Printer capable of guaranteeing continuity of pages when resuming printing and method for resuming printing by printer
JP7490989B2 (en) 2020-03-11 2024-05-28 富士フイルムビジネスイノベーション株式会社 Information processing device and program

Also Published As

Publication number Publication date
JP4095624B2 (en) 2008-06-04

Similar Documents

Publication Publication Date Title
US7180623B2 (en) Method and apparatus for print error recovery
JP4143426B2 (en) Document processing apparatus and method
JP4564693B2 (en) Document processing apparatus and method
JP3984890B2 (en) Printing control apparatus and method, computer program, and storage medium
JP4143566B2 (en) Document processing apparatus, control method therefor, and computer program
JP3950657B2 (en) Information processing system, display method thereof, program, and recording medium
JP5159484B2 (en) Information processing apparatus, image forming apparatus and post-processing apparatus control method, and computer program
US8395806B2 (en) Information processing apparatus, method, and program for bookbinding with selected cover layout type
JP4095512B2 (en) Document conversion method and apparatus
JP4756796B2 (en) Information processing apparatus, information processing method, program, and storage medium
JP2006107142A (en) Document processor, and method
US20080313537A1 (en) Document management apparatus, document management method, and program
JP2010277428A (en) Information processing apparatus, control method and program
JP2006293598A (en) Document processing system
JP2010009219A (en) Information processor, information processing method and program
JP3733324B2 (en) Information processing apparatus and method
JP3572059B2 (en) Information processing apparatus and information processing method
JP2005107845A (en) Document processor, document processing method, storage medium storing computer-readable program, and program
JP4095624B2 (en) Information processing apparatus, print processing method, program, storage medium
JP4721391B2 (en) Printing control apparatus and method
JP3991028B2 (en) Document processing method and information processing apparatus
JP5288990B2 (en) Information processing apparatus and staple attribute setting method
JP4298412B2 (en) Document processing apparatus, print control method, and program
JP5159400B2 (en) Document processing apparatus and document processing method
JP4498372B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, RECORDING MEDIUM

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080307

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees