Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3572059B2 - Information processing apparatus and information processing method - Google Patents
[go: Go Back, main page]

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

Information processing apparatus and information processing method Download PDF

Info

Publication number
JP3572059B2
JP3572059B2 JP2002160393A JP2002160393A JP3572059B2 JP 3572059 B2 JP3572059 B2 JP 3572059B2 JP 2002160393 A JP2002160393 A JP 2002160393A JP 2002160393 A JP2002160393 A JP 2002160393A JP 3572059 B2 JP3572059 B2 JP 3572059B2
Authority
JP
Japan
Prior art keywords
print
printer
page
range
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002160393A
Other languages
Japanese (ja)
Other versions
JP2004005245A (en
Inventor
数則 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002160393A priority Critical patent/JP3572059B2/en
Priority to US10/304,954 priority patent/US7180623B2/en
Publication of JP2004005245A publication Critical patent/JP2004005245A/en
Application granted granted Critical
Publication of JP3572059B2 publication Critical patent/JP3572059B2/en
Priority to US11/698,842 priority patent/US8218172B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、印刷システムにおけるプリンタの再印刷制御において印刷データを生成する情報処理装置及びその情報処理方法等に関するものである。
【0002】
【従来の技術】
従来の印刷システムでは、プリンタの障害などによって印刷が中断し場合、プリンタは印刷済みの頁数を検出し、その次の頁を再印刷開始頁と判断して印刷データの処理が進められていた。そして、再印刷開始頁を印刷データとして設定し、他のプリンタもしくは障害が復旧するのを待って元のプリンタに、その印刷データを転送することにより中断した印刷処理の続行が図られていた。
【0003】
【発明が解決しようとする課題】
しかし、従来の印刷システムにおいては、印刷の再開においては、その印刷ジョブの中断の前後で印刷ジョブに設定されている印刷様式を決定するための印刷属性が考慮されていないため、ユーザの意図した結果と異なる形式のものが出力されてしまうことがある。例えば印刷ジョブの属性として両面印刷の指定がされている場合、再印刷開始頁が偶数ページ目であると、本来通常に両面印刷の処理された場合ならば、印刷ページの裏面側に印刷される内容が表面側に印刷されてしまう等、表裏に印刷される頁の組合せが再印刷開始頁以降ずれてしまい、ユーザの期待する結果と異なってしまうという場合が生じ得る。
【0004】
また、印刷ジョブにステイプル止めの処理の指定がされている場合では、ユーザは1部ごとにステイプルされることを期待するはずであるが、文書の再印刷開始頁より前の頁が欠落したものがステイプルされてしまい、ユーザの意図した結果と異なってしまうという事態も生じ得る。
【0005】
本発明は上記問題点を鑑みて為されたものであり、印刷ジョブに設定された属性に応じて、印刷ジョブの再印刷開始頁を制御することにより、ユーザの期待する結果に忠実な出力を行うことを目的とするものである。
【0006】
【課題を解決するための手段】
上記目的を達成するために、本発明にかかる情報処理装置及び情報処理方法は主として以下の構成を有する。
【0007】
すなわち、プリンタと通信可能な情報処理装置は、
生成手段により生成された印刷ジョブを前記プリンタに転送する転送制御手段と、
プリンタから送られる、物理頁の印刷物の排出を正常に完了したことに従う通知を認識する認識手段と、
前記印刷ジョブの送出先のプリンタが、前記情報処理装置において物理頁の印刷物の排出を正常に完了したことに従う通知を取得できるプリンタか否かを判別する判別手段とを備え、
前記プリンタに対して、前記転送された印刷ジョブに基づく処理が中断した際に、前記転送制御手段は、前記判別手段による判別により、前記通知を取得できるプリンタでないと判別した場合には、前記プリンタに転送した前記印刷ジョブの最初の頁から当該印刷ジョブを転送し、前記通知を取得できるプリンタであると判別した場合には、前記プリンタから送られた前記通知と、前記印刷ジョブの印刷属性と、に基づき決定される再印刷開始頁の印刷ジョブを転送することを特徴とする。
【0008】
本発明の好適な一態様によれば、上記の情報処理装置において、前記生成手段は、前記認識手段によって認識された前記通知と、前記印刷属性とに従って、印刷範囲において再印刷をするための印刷データを中間ファイル形式データより生成し、
前記転送制御手段は、前記生成手段によって生成された印刷データを、再印刷をするプリンタに転送する。
【0009】
本発明の好適な一態様によれば、上記の情報処理装置において、印刷ジョブを複数のプリンタにより分散させて印刷処理するために、前記複数のプリンタ毎の印刷範囲の分担を設定する範囲設定手段と、
前記中断した前記印刷範囲毎に対応するプリンタの再印刷を代行するプリンタを、当該印刷範囲毎のプリンタに対して設定する代行設定手段と、を更に有し、
前記認識手段は、前記範囲設定手段により設定された印刷範囲に応じて印刷を行う際に、当該印刷範囲毎の処理における中断を、それぞれの印刷範囲内における通知と共に認識する。
【0010】
本発明の好適な一態様によれば、上記の情報処理装置において、前記通知と、前記印刷ジョブの印刷属性と、に基づき再印刷開始頁を決定する決定手段を更に有し、
前記転送制御手段は、前記決定手段により決定された再印刷開始頁に基づく印刷ジョブを、再送先のプリンタに転送する。
【0011】
本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を前記分散に伴う前記印刷範囲における最初のページとして設定する。
【0012】
本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)と、前記印刷範囲における最初のページ数(An)と、に基づき算出する。
【0013】
本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下であり、前記印刷範囲における最初のページ(An)以上の範囲で最大の値を前記再印刷開始頁として設定する。
【0014】
本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁に設定する。
【0015】
本発明の好適な一態様によれば、上記の情報処理装置において、前記決定手段は、前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁に設定する。
【0016】
本発明の好適な一態様によれば、上記の情報処理装置において、印刷ジョブを複数のプリンタに分散させるべく、各々のプリンタにおける印刷範囲を決定する印刷範囲決定手段を、有し、
前記認識手段は、前記各々の印刷範囲における、物理頁の印刷物の排出を正常に完了したことに従う通知を印刷範囲に対応して認識し、
前記印刷範囲決定手段は、前記各々の印刷範囲の何れかの印刷範囲における印刷処理が中断された場合に、前記各々の何れかの印刷範囲の開始頁と、前記各々の何れかの印刷範囲の印刷ジョブの印刷属性と、前記何れかの印刷範囲に対応して認識した前記通知とに基づき、印刷範囲を決定する。
【0017】
あるいは、プリンタと通信可能な情報処理方法は、
生成手段により生成された印刷ジョブを前記プリンタに転送する転送制御工程と、
プリンタから送られる、物理頁の印刷物の排出を正常に完了したことに従う通知を認識する認識工程と、
前記印刷ジョブの送出先のプリンタが、前記情報処理装置において物理頁の印刷物の排出を正常に完了したことに従う通知を取得できるプリンタか否かを判別する判別工程とを備え、
前記プリンタに対して、前記転送された印刷ジョブに基づく処理が中断した際に、前記転送制御工程は、前記判別工程による判別により、前記通知を取得できるプリンタでないと判別した場合には、前記プリンタに転送した前記印刷ジョブの最初の頁から当該印刷ジョブを転送し、前記通知を取得できるプリンタであると判別した場合には、前記プリンタから送られた前記通知と、前記印刷ジョブの印刷属性と、に基づき決定される再印刷開始頁の印刷ジョブを転送することを特徴とする。
【0018】
本発明の好適な一態様によれば、上記の情報処理方法において、前記生成手段は、前記認識工程によって認識された前記通知と、前記印刷属性とに従って、印刷範囲において再印刷をするための印刷データを中間ファイル形式データより生成し、
前記転送制御工程は、前記生成手段によって生成された印刷データを、再印刷をするプリンタに転送する。
【0019】
本発明の好適な一態様によれば、上記の情報処理方法において、印刷ジョブを複数のプリンタにより分散させて印刷処理するために、前記複数のプリンタ毎の印刷範囲の分担を設定する範囲設定工程と、
前記中断した前記印刷範囲毎に対応するプリンタの再印刷を代行するプリンタを、当該印刷範囲毎のプリンタに対して設定する代行設定工程と、を更に有し、
前記認識工程は、前記範囲設定工程により設定された印刷範囲に応じて印刷を行う際に、当該印刷範囲毎の処理における中断を、それぞれの印刷範囲内における通知と共に認識する。
【0020】
本発明の好適な一態様によれば、上記の情報処理方法において、前記通知と、前記印刷ジョブの印刷属性と、に基づき再印刷開始頁を決定する決定工程を更に有し、
前記転送制御工程は、前記決定工程により決定された再印刷開始頁に基づく印刷ジョブを、再送先のプリンタに転送する。
【0021】
本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を前記分散に伴う前記印刷範囲における最初のページとして設定する。
【0022】
本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)と、前記印刷範囲における最初のページ数(An)と、に基づき算出する。
【0023】
本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下であり、前記印刷範囲における最初のページ(An)以上の範囲で最大の値を前記再印刷開始頁として設定する。
【0024】
本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁に設定する。
【0025】
19本発明の好適な一態様によれば、上記の情報処理方法において、前記決定工程は、前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁に設定する。
【0026】
本発明の好適な一態様によれば、上記の情報処理方法において、印刷ジョブを複数のプリンタに分散させるべく、各々のプリンタにおける印刷範囲を決定する印刷範囲決定工程を、有し、
前記認識工程は、前記各々の印刷範囲における、物理頁の印刷物の排出を正常に完了したことに従う通知を印刷範囲に対応して認識し、
前記印刷範囲決定工程は、前記各々の印刷範囲の何れかの印刷範囲における印刷処理が中断された場合に、前記各々の何れかの印刷範囲の開始頁と、前記各々の何れかの印刷範囲の印刷ジョブの印刷属性と、前記何れかの印刷範囲に対応して認識した前記通知とに基づき、印刷範囲を決定する。
【0035】
また、コンピュータプログラムは、上記の情報処理装置の機能をコンピュータが実行する機能として特定されることを特徴とする。
【0036】
また、コンピュータ可読記憶媒体は、上記のコンピュータプログラムを格納することを特徴とする。
【0037】
【発明の実施の形態】
<システム概要>
本発明の情報処理システムの好適な実施形態である文書処理システムの概要を、図9〜図19を参照して説明する。この文書処理システムでは、一般アプリケーションにより作成されたデータファイルが、電子原稿ライタによって電子原稿ファイルに変換される。製本アプリケーションはその電子原稿ファイルを編集する機能を提供している。以下、その詳細は説明する。
【0038】
<システム構成及び動作>
図9は、本実施形態の文書処理システムのソフトウェア構成を示す図である。文書処理システムは、本発明の情報処理装置の好適な実施形態であるデジタルコンピュータ1000によって実現されている。一般アプリケーション1010は、ワードプロセシングやスプレッドシート、フォトレタッチ、ドローあるいはペイント、プレゼンテーション、テキスト編集などの機能を提供するアプリケーションプログラムであり、OSに対する印刷機能を有している。これらアプリケーションは、作成された文書データや画像データなどのアプリケーションデータを印刷するにあたって、オペレーティングシステム(OS)により提供される所定のインタフェース(一般にGDIと呼ばれる)を利用する。
【0039】
すなわち、アプリケーション1010は、作成したアプリケーションデータを印刷するために、前記インタフェースを提供するOSの出力モジュールに対して、あらかじめ定められる、OSに依存する形式の出力コマンド(GDI関数と呼ばれる)を送信する。出力コマンドを受けた出力モジュールは、プリンタ等の出力デバイスが処理可能な形式にそのコマンドを変換し、変換された描画コマンド(DDI関数と呼ばれる)を出力する。出力デバイスが処理可能な形式はデバイスの種類やメーカ、機種などによって異なるために、デバイスごとにデバイスドライバが提供されており、OSではそのデバイスドライバを利用してコマンドの変換を行い、印刷データを生成し、JLでくくることにより印刷ジョブが生成される。OSとしてマイクロソフト社のウインドウズを利用する場合には、前述した出力モジュールとしてはGDIと呼ばれるモジュールが相当する。
【0040】
電子原稿ライタ1020は、前述のデバイスドライバのひとつとして、本文書処理システム実現のために提供されるソフトウエアモジュールである。ただし、電子原稿ライタ1020は特定の出力デバイスを目的としておらず、後述の製本アプリケーション1040やプリンタドライバ1060により処理可能な形式に出力コマンドを変換する。この電子原稿ライタ1020による変換後の形式(以後電子原稿形式と呼ぶ)は、ページ単位の原稿を詳細な書式をもって表現可能であれば特に問わない。実質的な標準形式のうちでは、例えばアドビシステムズによるPDF形式や、SVG形式などが電子原稿形式(中間ファイル形式データ)として採用できる。
【0041】
アプリケーション1010により電子原稿ライタ1020を利用させる場合には、出力に使用するデバイスドライバとして電子原稿ライタ1020を指定してから印刷を実行させる。ただし、電子原稿ライタ1020によって作成されたままの電子原稿ファイルは、電子原稿ファイルとして完全な形式を備えていない。そのため、デバイスドライバとして電子原稿ライタ1020を指定するのは製本アプリケーション1040であり、その管理下でアプリケーションデータの電子原稿ファイルへの変換が実行される。製本アプリケーション1040は、電子原稿ライタ1−2が生成した新規の不完全な電子原稿ファイルを後述する形式を備えた電子原稿ファイルとして完成させる。
【0042】
以下では、この点を明瞭に識別する必要がある際には、電子原稿ライタ1020によって作成されたファイルを電子原稿ファイルと呼び、製本アプリケーションによって構造を与えられた電子原稿ファイル(中間コードとも呼ぶ)をブックファイルと呼ぶ。また、特に区別する必要がない場合は、アプリケーションにより生成されるドキュメントファイル、電子原稿ファイル、及びブックファイルをいずれも文書ファイル(または文書データ)と呼ぶ。
【0043】
このようにデバイスドライバとして電子原稿ライタ1020を指定し、一般アプリケーション1010によりそのデータを印刷させることで、アプリケーションデータはアプリケーション1010によって定義されたページ(以後論理ページあるいは原稿ページと呼ぶ)を単位とする電子原稿形式に変換され、電子原稿ファイル1030としてハードディスクなどの記憶媒体に格納される。なお、ハードディスクは、本実施形態の文書処理システムを実現するコンピュータが備えているローカルドライブであってもよいし、ネットワークに接続されている場合にはネットワーク上に提供されるドライブであっても良い。
【0044】
製本アプリケーション1040は電子原稿ファイルあるいはブックファイル1030を読み込み、それを編集するための機能を利用者に提供する。ただし製本アプリケーション1040は、各ページの内容を編集する機能は提供しておらず、ページを最小単位として構成される、後述する章やブックの構造を編集するための機能を提供している。
【0045】
製本アプリケーション1040によって編集されたブックファイル1030を印刷する際には、製本アプリケーション1040によって電子原稿デスプーラ1050が起動される。電子原稿デスプーラ1050は、指定されたブックファイルをハードディスクから読み出し、ブックファイルに記述された形式で各ページを印刷するために、前述したOSの出力モジュールに適合する出力コマンドを生成し、不図示の出力モジュールに出力する。その際に、出力デバイスとして使用されるプリンタ1070のドライバ1060がデバイスドライバとして指定される。出力モジュールは、指定されたプリンタ1070のデバイスドライバ1060を用いて受信した出力コマンドを、プリンタ1070で解釈実行可能なデバイスコマンドに変換する。そしてデバイスコマンドはプリンタ1070に送信され、プリンタ1070によってコマンドに応じた画像が印刷される。
【0046】
<電子原稿データの形式>
編集アプリケーション1040の詳細に言及する前に、ブックファイルのデータ形式を説明する。ブックファイルは紙媒体の書物を模した3層の層構造を有する。上位層は「ブック」と呼ばれ、1冊の本を模しており、その本全般に係る属性が定義されている。その下の中間層は、本でいう章に相当し、やはり「章」と呼ばれる。各章についても、章ごとの属性が定義できる。下位層は「ページ」であり、アプリケーションプログラムで定義された各ページに相当する。各ページついてもページごとの属性が定義できる。ひとつのブックは複数の章を含んでいてよく、また、ひとつの章は複数のページを含むことができる。
【0047】
図10(A)は、ブックファイルの形式の一例を模式的に示す図である。この例のブックファイルは、ブック,章,ページは、それぞれに相当するノードにより示されている。ひとつのブックファイルはひとつのブックを含む。ブック,章は、ブックとしての構造を定義するための概念であるから、定義された属性値と下位層へのリンクとをその実体として含む。ページは、アプリケーションプログラムによって出力されたページごとのデータを実体として有する。そのため、ページは、その属性値のほか、原稿ページの実体(原稿ページデータ)と各原稿ページデータへのリンクを含む。なお、紙媒体等に出力する際の印刷ページは複数の原稿ページを含む場合がある。この構造に関してはリンクによって表示されず、ブック、章、ページ各階層における属性として表示される。
【0048】
図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)であることを表示する。
【0049】
図11は、ブック属性のリストである。下位層と重複して定義可能な項目に関しては、下位層の属性値が優先採用される。そのため、ブック属性にのみ含まれる項目に関しては、ブック属性に定義された値はブック全体を通して有効な値となる。しかし、下位層と重複する項目については、下位層において定義されていない場合における既定値としての意味を有する。なお、図示された各項目は具体的に1項目に対応するのではなく、関連する複数の項目を含むものもある。
【0050】
図12は章属性のリストであり、図13はページ属性のリストである。章属性とページ属性との関係もブック属性と下位層の属性との関係と同様である。
【0051】
ブック属性に固有の項目は、印刷方法、製本詳細、表紙/裏表紙、インデックス紙、合紙、章区切りの6項目である。これらは、ブックを通して定義される項目である。印刷方法の属性としては、片面印刷、両面印刷、製本印刷の3つの値を指定できる。「製本印刷」とは、別途指定する枚数の用紙を束にして2つ折りにし、その束をつづり合わせることで製本が可能となる形式で印刷する方法である。製本詳細属性としては、製本印刷が指定されている場合に、見開き方向や、束になる枚数等が指定できる。
【0052】
表紙/裏表紙属性は、ブックとしてまとめられる電子原稿ファイルを印刷する際に、表紙および裏表紙となる用紙を付加することの指定、及び付加した用紙への印刷内容の指定を含む。インデックス紙属性は、章の区切りとして、印刷装置に別途用意される耳付きのインデックス紙の挿入の指定およびインデックス(耳)部分への印刷内容の指定を含む。この属性は、印刷用紙とは別に用意された用紙を所望の位置に挿入するインサート機能を持ったインサータが使用する印刷装置に備えられている場合か、あるいは、複数の給紙カセットを使用可能である場合に有効となる。これは合紙属性についても同様である。
【0053】
合紙属性は、章の区切りとして、インサータからあるいは給紙カセットから供給される用紙の挿入の指定、および、合紙を挿入する場合には、給紙元の指定などを含む。
【0054】
章区切り属性は、章の区切り目において、新たな用紙を使用するか、新たな印刷ページを使用するか、特に何もしないか等の指定を含む。片面印刷時には新たな用紙の使用と新たな印刷ページの使用とは同じ意味を持つ。両面印刷時には、「新たな用紙の使用」を指定すれば連続する章が1枚の用紙に印刷されることは無いが、「新たな印刷ページの使用」を指定すれば、連続する章が1枚の用紙の表裏に印刷されることがあり得る。
【0055】
章属性に関しては、章に固有の項目はなく、すべてブック属性と重複する。したがって、章属性における定義とブック属性における定義とが異なれば、章属性で定義された値が優先する。ブック属性と章属性とにのみ共通する項目は、用紙サイズ、用紙方向、N−up印刷指定、拡大縮小、排紙方法の5項目である。このうち、N−up印刷指定属性は、1印刷ページに含まれる原稿ページ数を指定するための項目である。指定可能な配置としては、1×1や1×2、2×2、3×3、4×4などがある。排紙方法属性は、排出した用紙にステイプル処理を施すか否かを指定するための項目であり、この属性の有効性は使用する印刷装置がステイプル機能を有するか否かに依存する。
【0056】
ページ属性に固有の項目には、ページ回転属性、ズーム、配置指定、アノテーション、ページ分割などがある。ページ回転属性は、原稿ページを印刷ページに配置する際の回転角度を指定するための項目である。ズーム属性は、原稿ページの変倍率を指定するための項目である。変倍率は、仮想論理ページ領域のサイズを100%として指定される。仮想論理ページ領域とは、原稿ページを、Nup等の指定に応じて配置した場合に、1原稿ページが占める領域である。例えば1×1であれば、仮想論理ページ領域は1印刷ページに相当する領域となり、1×2であれば、1印刷ページの各辺を約70パーセントに縮小した領域となる。
【0057】
ブック、章、ページについて共通な属性として、ウォータマーク属性およびヘッダ・フッタ属性がある。ウォータマークとは、アプリケーションで作成されたデータに重ねて印刷される、別途指定される画像や文字列などである。ヘッダ・フッタは、それぞれ各ページの上余白および下余白に印刷されるウォータマークである。ただし、ヘッダ・フッタには、ページ番号や日時など、変数により指定可能な項目が用意されている。なお、ウォータマーク属性およびヘッダ・フッタ属性において指定可能な内容は、章とページとは共通であるが、ブックはそれらと異なっている。ブックにおいてはウォータマークやヘッダフッタの内容を設定できるし、また、ブック全体を通してどのようにウォータマークやヘッダフッタを印刷するかを指定することができる。一方、章やページでは、その章やページにおいて、ブックで設定されたウォータマークやヘッダ・フッタを印刷するか否かを指定できる。
【0058】
<ブックファイルの生成手順>
ブックファイルは上述したような構造および内容を有している。次に、製本アプリケーション1040および電子原稿ライタ1020によってブックファイルを作成する手順を説明する。ブックファイルの作成は、製本アプリケーション1040によるブックファイルの編集操作の一環として実現される。
【0059】
図14は、製本アプリケーション1040によりブックファイルを開く際の手順である。
【0060】
まず、開こうとするブックファイルが、新規作成すべきものであるか、それとも既存のものであるか判定する(ステップS7010)。新規作成の場合には、章を含まないブックファイルを新規に作成する(ステップS7020)。新規に作成されるブックファイルは、図10の例で示せば、ブックノード3010のみ有し、章のノードに対するリンクが存在しないブックのノードとなる。ブック属性は、新規作成用としてあらかじめ用意された属性のセットが適用される。そして、新規ブックファイルを編集するためのユーザインタフェース(UI)画面を表示する(ステップS7040)。図18は、新規にブックファイルが作成された際のUI画面の一例である。この場合には、ブックファイルは実質的な内容を持たないために、UI画面11000には何も表示されない。
【0061】
一方、既存のブックファイルがあれば、指定されたブックファイルを開き(ステップS7030)、そのブックファイルの構造、属性、内容に従ってユーザインタフェース(UI)画面を表示する。図17は、このUI画面の一例である。UI画面11000は、ブックの構造を示すツリー部11010と、印刷された状態を表示するプレビュー部11020とを含む。ツリー部11010には、ブックに含まれる章、各章に含まれるページが、図10(A)のような木構造で表示される。ツリー部11010に表示されるページは原稿ページである。プレビュー部11020には、印刷ページの内容が縮小されて表示される。その表示順序は、ブックの構造を反映したものとなっている。
【0062】
さて、開かれたブックファイルには、電子原稿ライタによって電子原稿ファイルに変換されたアプリケーションデータを、新たな章として追加することができる。この機能を電子原稿インポート機能と呼ぶ。図14の手順によって新規に作成されたブックファイルに電子原稿インポートすることで、そのブックファイルには実体が与えられる。この機能は、図17の画面にアプリケーションデータをドラッグアンドドロップ操作することで起動される。図15に電子原稿インポートの手順を示す。
【0063】
まず、指定されたアプリケーションデータを生成したアプリケーションプログラムを起動し、デバイスドライバとして電子原稿ライタ1020を指定してアプリケーションデータを印刷出力させることで、電子原稿データに変換する(ステップS8010)。変換を終えたなら、変換されたデータが画像データであるか否かを判定する(ステップS8020)。この判定は、ウインドウズOSの下であれば、アプリケーションデータのファイル拡張子に基づいて行える。例えば、拡張子が「bmp」であればウインドウズビットマップデータであり、「jpg」であればjpeg圧縮された画像データ、「tiff」であればtiff形式の画像データであると判定できる。また、このような画像データの場合はS8010のようにアプリケーションを起動せずに、画像データから直接電子原稿ファイルを生成することが可能であるため、S8010の処理を省略することも可能である。
【0064】
画像データでなかった場合には、ステップS8010で生成された電子原稿ファイルを、現在開かれているブックファイルのブックに、新たな章として追加する(ステップS8030)。章属性としては、ブック属性と共通するものについてはブック属性の値がコピーされ、そうでないものについては、あらかじめ用意された規定値に設定される。
【0065】
画像データである場合には、原則として新たな章は追加されず、指定されている章に、ステップS8010で生成された電子原稿ファイルに含まれる各原稿ページが追加される(ステップS8040)。ただし、ブックファイルが新規作成されたファイルであれば、新たな章が作成されて、その章に属するページとして電子原稿ファイルの各ページが追加される。ページ属性は、上位層の属性と共通のものについてはその属性値が与えられ、アプリケーションデータにおいて定義された属性を電子原稿ファイルに引き継いでいるもにについてはその値が与えられる。例えば、Nup指定などがアプリケーションデータにおいてされていた場合には、その属性値が引き継がれる。このようにして、新規なブックファイルが作成され、あるいは、新規な章が追加される。
【0066】
図16は、図15のステップS8010において、電子原稿ライタ1020により電子原稿ファイルを生成させる手順のフローチャートである。まず、新たな電子原稿ファイルを作成してそれを開く(ステップS9010)。指定したアプリケーションデータに対応するアプリケーションを起動し、電子原稿ライタをデバイスドライバとして、OSの出力モジュールに対して出力コマンドを送信させる。出力モジュールは、受信した出力コマンドを電子原稿ライタによって電子原稿形式のデータに変換し、出力する(ステップS9020)。出力先はステップS9010で開いた電子原稿ファイルである。指定されたデータすべてについて変換が終了したか判定し(ステップS9030)、終了していれば電子原稿ファイルを閉じる(ステップS9040)。電子原稿ライタ1020によって生成される電子原稿ファイルは、図10(B)に示した、原稿ページデータの実体を含むファイルである。
【0067】
<ブックファイルの編集>
以上のようにして、アプリケーションデータからブックファイルを作成することができる。生成されたブックファイルについては、章及びページに対して次のような編集操作が可能である。
【0068】
(1)新規追加
(2)削除
(3)コピー
(4)切り取り
(5)貼り付け
(6)移動
(7)章名称変更
(8)ページ番号名称振り直し
(9)表紙挿入
(10)合紙挿入
(11)インデックス紙挿入
(12)各原稿ページに対するページレイアウト。
【0069】
このほか、いったん行った編集操作を取り消す操作や、さらに取り消した操作をやり直す操作が可能である。これら編集機能により、例えば複数のブックファイルの統合、ブックファイル内で章やページの再配置、ブックファイル内で章やページの削除、原稿ページのレイアウト変更、合紙やインデックス紙の挿入などといった編集操作が可能となる。これらの操作を行うと、図11乃至18に示す属性に捜査結果が反映されたり、あるいはブックファイルの構造に反映される。たとえば、ブランクページの新規追加操作を行えば、指定された箇所にブランクページが挿入される。このブランクページは原稿ページとして扱われる。また、原稿ページに対するレイアウトを変更すれば、その変更内容は、印刷方法やN−up印刷、表紙/裏表紙、インデックス紙、合紙、章区切りといった属性に反映される。
【0070】
<ブックファイルの出力>
以上のように作成・編集されるブックファイルは印刷出力を最終目的としている。利用者が図17に示す製本アプリケーションのUI画面11000からファイルメニューを選択し、そこから印刷を選択すると、指定した出力デバイスにより印刷出力される。この際、まず製本アプリケーション1040は、現在開かれているブックファイルからジョブチケットを作成して電子原稿デスプーラ1050に渡す。電子原稿デスプーラ1050は、ジョブチケットをOSの出力コマンド、例えばウインドウズのGDIコマンドに変換し、それを出力モジュール、例えばGDIに送信する。出力モジュールは、指定されたプリンタドライバ1060によってデバイスに適したコマンドを生成し、そのデバイスに送信する。
【0071】
ジョブチケットは原稿ページを最小単位とする構造を有するデータである。ジョブチケットにおける構造は、用紙上における原稿ページのレイアウトを定義している。ジョブチケットは1ジョブにつき1つ発行される。そのため、まず最上位にドキュメントというノードがあり、文書全体の属性、例えば両面印刷/片面印刷などが定義されている。その下には、用紙ノードが属し、用いるべき用紙の識別子や、プリンタにおける給紙口の指定などの属性が含まれる。各用紙ノードには、その用紙で印刷されるシートのノードが属する。1シートは1枚の用紙に相当する。各シートには、印刷ページ(物理ページ)が属する。片面印刷ならば1シートには1物理ページが属し、両面印刷ならば1シートに2物理ページが属する。各物理ページには、その上に配置される原稿ページが属する。また物理ページの属性として、原稿ページのレイアウトが含まれる。
【0072】
電子原稿デスプーラ1050は、上述のジョブチケットを、出力モジュールへの出力コマンドに変換する。
【0073】
<そのほかのシステム構成>
本実施形態の文書処理システムの概要は以上のようなものである。これはスタンドアロン型のシステムであるが、これを拡張したサーバクライアントシステムでもほぼ同様の構成・手順でブックファイルが作成・編集される。ただし、ブックファイルや印刷処理はサーバによって管理される。
【0074】
図19はサーバクライアント型文書処理システムの構成を示すブロック図である。クライアント文書処理システムは、スタンドアロン型システムに、クライアントモジュールである仮想プリンタドライバ1090および仮想プリントサービスモジュール1100、DS(文書サービス)クライアントモジュール1080を加えた構成を有する。このクライアント文書処理システム12000に、文書管理サーバ12010および印刷集中管理サーバ12020およびプリントサーバ12030が接続されている。
【0075】
これらサーバは、通常ネットワークによってクライアント文書処理システムと接続されるが、サーバが同時にクライアントとしても機能する場合には、ネットワーク間の通信をシミュレートするプロセス間通信によって接続される。なお図19では文書管理サーバ12010と印刷集中管理サーバ12020の両サーバがクライアントに接続されているが、いずれか一方のみがネットワーク上に存在する場合もあり得る。接続されているサーバが文書管理サーバであれば、そのクライアントモジュールを含む文書管理サーバクライアントシステム12010SCが、印刷集中管理サーバ12020であれば、そのクライアントモジュールを含む印刷管理サーバクライアントシステム12020SCが、スタンドアロン型文書管理システムに追加される。
【0076】
文書管理サーバ12010は、製本アプリケーション1040により作成・編集されたブックファイルを格納するサーバである。文書管理サーバ12010によってブックファイルを管理する場合、ブックファイルは、クライアントPCのローカルHDに代わって、あるいはそれに加えて、文書管理サーバ12010のデータベース12110に保存される。製本アプリケーション1040と文書管理サーバ12010との間のブックファイルの保存および読み出しは、DSクライアント1080及びDSコア12120を介して行われる。
【0077】
印刷集中管理サーバ12020は、クライアント文書管理システム12000に格納された、あるいは文書管理サーバ12010に格納されたブックファイルの印刷を管理するサーバである。クライアントにおける印刷要求は、仮想プリンタドライバ1090および仮想プリントサービスモジュール1100を介して印刷集中管理サーバ12020のサーバモジュール12210に送信される。
【0078】
集中印刷管理サーバ12020は、クライアントのプリンタで印刷する場合にはクライアントの仮想プリントサービスモジュール1100を介して電子原稿デスプーラ1050に電子原稿データを渡し、プリントサーバ12030により印刷する場合には、プリントサーバ12030の仮想プリントサービスモジュール12030に送信する。集中印刷管理サーバは、例えば保存されているブックファイルに対して印刷要求を発行した利用者の資格などについてセキュリティチェックを行ったり、印刷処理のログを保存したりする。このように、文書処理システムは、スタンドアロンとしても、クライアントサーバシステムとしても実現できる。
【0079】
<プレビュー表示の内容>
すでに説明したとおり、ブックファイルが製本アプリケーションによって開かれると、図17に示すユーザインタフェース画面11000が表示される。ツリー部11010には、開いているブック(以下、注目ブックと呼ぶ)の構造を示すツリーが表示される。プレビュー部には、利用者の指定に応じて、3通りの表示方法が用意されている。第1は原稿ページをそのまま表示する原稿ビューと呼ばれるモードである。原稿ビューモードでは、注目ブックに属する原稿ページの内容が縮小されて表示される。プレビュー部の表示にレイアウトは反映されない。第2は印刷ビューモードである。印刷ビューモードでは、プレビュー部11020には、原稿ページのレイアウトが反映された形で原稿ページが表示される。第3は簡易印刷ビューモードである。簡易印刷ビューモードでは、各原稿ページの内容はプレビュー部の表示には反映されず、レイアウトのみが反映される。
【0080】
<第1実施形態>
以下、添付図面を参照して本発明の好適な実施の形態を詳細に説明する。
【0081】
図8は、コンピュータ101のハードウエアブロック図である。図8において、CPU2010は、ROM2030のプログラム用ROMに記憶された、あるいはハードディスク2110からRAM2020にロードされたOSや一般アプリケーション、製本アプリケーションなどのプログラムを実行し、後述するフローチャートの手順を実現する。RAM2020は、CPU2010の主メモリ、ワークエリア等として機能する。キーボードコントローラ(KBC)2050は、キーボード2090や不図示のポインティングデバイスからのキー入力を制御する。
【0082】
CRTコントローラ(CRTC)2060は、CRTディスプレイ2100の表示を制御する。ディスクコントローラ(DKC)2070は、ブートプログラム、種々のアプリケーション、フォントデータ、ユーザファイル、編集ファイル等を記憶するハードディスク(HD)2110やフロッピー(登録商標)ディスク(FD)等とのアクセスを制御する。PRTC2080は、接続されたプリンタ1070との間の信号の交換を制御する。NC2120はネットワークに接続されて、ネットワークに接続された他の機器との通信制御処理を実行する。
【0083】
図1は、本実施形態における情報処理システムのモジュール構成を示すブロック図である。図1において、101はホストコンピュータであり、LAN104を経由してプリンタA、B(102、103)と接続しており、相互にデータの通信が可能である。本構成では出力先のプリンタとして2台のプリンタが設定されているが、プリンタの台数はこれに限るものではない。
【0084】
105はワードプロセッシングやスプレッドシート、テキスト編集などの機能を提供するアプリケーションプログラム(以下、「アプリケーション」と呼ぶ。)である。アプリケーション105が中間コード生成モジュール106に印刷要求を出すことにより、本実施形態で説明する印刷処理が実行される。
【0085】
中間コード生成モジュール106(図19の仮想プリンタドライバ1090に相当)は、アプリケーション105からの印刷要求を受け、ページ単位の原稿を詳細な書式をもって表現するEMF(中間ファイル形式データ)、PDF等の画像データとDEVMODE、JDF等の印刷属性指示データを含む中間コードを生成し、中間コード記憶モジュール107はこれらのデータをファイルに格納する。ここで、アプリケーションとしては上に説明した図19の製本アプリケーション等も対応することとなる。
【0086】
印刷データ生成モジュール108(図19の仮想プリントサービス1100に相当)は中間コード記憶モジュール107から格納されている中間コードを受け取り、出力先プリンタで印刷可能なPDL等の形式の印刷データに変換し、印刷データ転送モジュール109よりLAN104を経由して出力先プリンタに印刷データを転送する。また、図1中には不図示であるが、印刷データ生成モジュール108は複数のプリンタの夫々に対応したプリンタドライバから代行先或いは分散先の対象となるプリンタに対応したプリンタドライバを所定の記憶部から選択する機能、及び、選択したプリンタドライバを利用して生成した印刷データ(PDL)を印刷データ転送モジュール109に代行先プリンタに転送させる機能を備えている。
【0087】
プリンタ障害検出モジュール110は出力先プリンタの状態を監視しており、印刷ジョブが正常に印刷されたか、もしくは途中で障害が起きたかを判断し、印刷が完了した頁数の情報とともに障害発生頁検出モジュール111に通知する。ここで出力先プリンタの状態の監視は出力先プリンタから発生された各種障害イベント(用紙なし/トナー切れ/紙ジャム/メモリフル等)の監視や、障害検出モジュール110自らが出力先プリンタの状態を問い合わせるような形態がとられる。また、ここでの障害の検出とは障害情報を認識する処理を指すものとする。
【0088】
障害発生頁検出モジュール111は、プリンタ障害検出モジュール110から通知された情報に基づき、出力先プリンタで印刷が完了した頁数の情報から障害発生頁番号を演算し、障害発生頁を特定する。
【0089】
印刷属性検出モジュール112は、障害発生頁検出モジュール111で特定された障害発生頁の情報に基づき、中間コード記憶モジュール107より、障害により印刷が中断した頁に相当する印刷ジョブの中間コードを取得(生成)し、印刷ジョブに設定されている印刷属性情報を取得し認識する。
【0090】
再印刷開始頁判断モジュール113は、障害発生頁検出モジュール112から受信した障害発生頁番号及びその頁に対応する印刷属性情報より最適な再印刷開始頁を決定し、印刷データ生成モジュール108にその中間コード及び該再印刷開始頁を指定し、自動再印刷設定に基づき優先順位が高く、かつ、正常状態のプリンタを再印刷先プリンタに指定して印刷指示を出力する。この最適な再印刷開始頁の決定方式については図3〜図7を参照して説明する。
【0091】
印刷データ生成モジュール108は、再印刷開始頁判断モジュール113で決定された再印刷開始頁に基づき、その再印刷開始頁以降から該当印刷ジョブの最後までを再印刷範囲として特定し、該当する範囲の中間コードを出力先のプリンタで印刷可能なPDL等の形式の印刷データに変換する。この際、印刷データ生成モジュール108は、印刷データ転送モジュール109から、代行するプリンタに関する情報を参照することができる。
【0092】
その印刷データは、印刷データ転送モジュール109により、中断した印刷ジョブの再印刷を代行するプリンタとして特定された再印刷先のプリンタへ転送される。
【0093】
代行プリンタ設定モジュール114は、障害が発生して中断した印刷ジョブを再開するために、再印刷の出力先として代行するプリンタ群を設定する。代行プリンタ設定モジュール114は、複数の再印刷を代行するプリンタの優先順位をプリンタ毎に設定し、印刷データ転送モジュール109は、この優先順位に従って再印刷を代行するプリンタを特定する。
【0094】
また、アプリケーション105とその他情報処理システムを構成するモジュール(106〜114)群は、情報処理システム実現のために提供されるソフトウエアモジュールであり、必ずしも同一のホストコンピュータ等に実装されている必要はなく、情報処理システムを構成するモジュール(106〜114)はシステムのサーバ側、アプリケーション105はシステムのクライアント側に存在していても良い。
【0095】
図2は、CRT2100上に表示される自動再印刷アルゴリズムにおける設定画面の一例を示す図である。同図において、「出力先プリンタの候補」の設定とその出力先の「優先順位」を設定する。図2に示す例では出力先のプリンタ名として「プリンタA」及び「プリンタB」が設定されており、それぞれ優先順位が1番,2番と設定されている。この場合、まず1番目のプリンタAで印刷を試み、そのプリンタAで障害が発生した場合に、優先順位として2番目の設定がされているプリンタBで再印刷を実行するように設定される。この設定は上述の代行プリンタ設定モジュール114で自動的に設定してもよいし、管理者又はユーザ等によって、アプリケーションから印刷要求を出すときにユーザ等がキーボード(2090)等の入力部から随時設定してもよい。
【0096】
次に、印刷データの処理の流れを図3〜図7のフローチャートを参照して、詳細に説明する。
【0097】
図3は、アプリケーション105から印刷を行なう際の処理の流れを説明するフローチャートである。
【0098】
まず、ステップS31でアプリケーション105から中間コード生成モジュール106に印刷要求が出され、印刷処理が開始される。
【0099】
ステップS32において、中間コード生成モジュール106はアプリケーション105の印刷要求に基づいて中間コードを生成する。この中間コードには、上述のようにPDF等の画像データとJDF等の印刷属性指示データが含まれ、ステップS33で中間コードを中間コード記憶モジュール107がファイルに格納する。
【0100】
ステップS34では、印刷データ生成モジュール108が、中間コード記憶モジュール107より中間コードを取得し、優先順位の一番高い出力先プリンタで印刷可能な印刷データに変換する。アプリケーション105により作成された文書データや画像データなどのアプリケーションデータを印刷するにあたって、オペレーティングシステム(OS)により提供される所定のインタフェースモジュールが利用され、プリンタ等の出力デバイスが処理可能な形式の印刷データに中間コードが変換される。
【0101】
ステップS35では、ステップS34で生成された印刷データを印刷データ転送モジュール109が受信し、その受信したデータを出力先プリンタに対してLAN104を経由して転送する。
【0102】
ステップS36において、指定されたプリンタで印刷が開始される。このプリンタの処理状況は、図1のプリンタ障害検出モジュール110でモニタされており(S37)、印刷データの処理において、障害が発生せず印刷処理が正常に完了した場合は印刷処理は正常終了する(S37−No、S38)。
【0103】
一方、印刷処理中、障害が発生した場合(S37−Yes)、図4〜図7で説明する再印刷処理動作に移行する(S39)。
【0104】
図4は、出力先として指定されたプリンタにおいて、障害が検出された場合の再印刷処理動作を説明するためのフローチャートである。
【0105】
プリンタ障害検出モジュール110が出力先のプリンタで障害が発生したことを検出すると(S41)、プリンタ障害検出モジュール110は、そのプリンタで障害が発生する前までに印刷完了した頁数(以下、「印刷完了頁数」という。)を取得し、この印刷完了頁数を基に、障害発生頁検出モジュール111は障害発生頁番号(L)を決定する。
【0106】
次に、ステップS43に処理を進め、印刷属性検出モジュール112が中間コード記憶モジュール107より格納されている中間コードDEVMODE、JDFなどから印刷属性を検出する。この印刷属性には、例えば、複数部印刷を行うために1部のデータを繰り返し並べたデータとなっているか、ステイプル止めの指示が指定されているか、両面印刷が設定されているか、また製本印刷(指定する枚数の用紙を束にして2つ折りにし、その束をつづり合わせることで製本が可能となる形式)が指定されているか、製本分冊(指定枚数を重ねて中綴じし、2つ折りにした小冊子を複数作成する)が指定されているかを示す属性が挙げられるが、これらに限るものではない。
【0107】
図5は印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。図4のステップS43で印刷属性を検出後、処理を図5のステップS52に進め、再印刷開始頁(N)の初期値を図4のステップS42で決定された障害発生頁番号(L)とする。
【0108】
ステップS53では、ステップS43で取得した印刷属性を解析する。その中間コードが複数部印刷を行うために、データを繰り返し並べた構成となっている場合(S53−YES)にはステップS54に進み、繰り返し並べた構成となっていない場合(S53−NO)には処理をステップS56に進める。
【0109】
ステップS54では、印刷ジョブが複数の部数分のデータを含んでいるため、1部単位で再印刷をするために、その1部数分の頁数(M)を取得して、処理をステップS55に進める。
【0110】
ステップS55では、再印刷開始頁Nを決定するために、数列{1、M、2×M、3×M...、NN×M、...:(NNは自然数)}を生成し、この数列の要素のうち障害発生頁番号L以下で最大の値を演算し、その値を再印刷開始頁Nに設定して、処理をステップS71(図7)に進める。
【0111】
ステップS56では、印刷ジョブの属性(印刷属性)として、ステイプル止めの指示が指定されているかを判定し、指定されている場合(S56−YES)には処理をステップS57へ進めて再印刷開始頁Nを1に設定して(S57)、処理をステップS71(図7)に進める。ここで、ステップS57における処理では、印刷ジョブの属性としてステイプル止めが指定されていることから、1部のデータの途中から再印刷してしまうと1部ごとにステイプル止めを行うことはできないため、再印刷開始頁Nを1頁目に設定するものである。
【0112】
ステイプル止めの指定されていない場合(S56−NO)には処理をステップS61(図6)に進める。
【0113】
図6は、製本印刷、製本分冊、両面印刷に関する印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。図5のステップS56で、ステイプル止めが指定されていない場合は、図6のステップS62において、製本印刷の属性が設定されているか否かを判断する。印刷ジョブの属性として製本印刷の属性が設定されている場合(S62−YES)には処理をステップS63に進め、製本印刷の属性が設定されていない場合(S62−NO)には処理をステップS64に進める。
【0114】
ステップS63では、中間コードより障害発生頁Lが含まれる用紙を検索し、その用紙に含まれる(レイアウトされる)先頭の頁番号を再印刷開始頁Nに設定し、処理をステップS71(図7)に進める。
【0115】
ステップS64では、印刷ジョブの属性として製本分冊印刷が設定されているかを判定し、製本分冊の属性が設定されている場合(S64−YES)には処理をステップS65に進め、設定されていない場合(S64−NO)には処理をステップS66に進める。
【0116】
ステップS65では、中間コードより障害発生頁Lが含まれる分冊を検索し、その分冊に含まれる先頭の頁番号を再印刷開始頁Nに設定し、処理をステップS71(図7)に進める。
【0117】
ステップS66では、印刷ジョブの属性として両面印刷が設定されているかを判定し、両面印刷の属性が設定されている場合(S66−YES)には処理をステップS67に進め、設定されていない場合には処理をステップS71(図7)に進める。
【0118】
ステップS67では、障害発生頁Lが印刷されるのが出力用紙の表であるか裏であるかを判定し、表である場合には再印刷開始頁Nに障害発生頁Lを設定し、裏である場合には障害発生頁L−1の値をNに設定する。このことにより、障害発生頁が裏面である場合にも、その裏面から印刷することが可能となる。
【0119】
図7は再印刷開始頁の確定から再印刷開始の処理を説明するフローチャートである。図7のステップS72で、印刷属性に基づいた再印刷開始頁Nを最終的に確定する。
【0120】
ステップS73で、印刷ジョブに設定された自動再印刷設定に基づき、正常状態であるプリンタの中で優先順位が最も高い出力先プリンタを再印刷先プリンタとして選択する。この設定は図2における自動再印刷の設定画面で設定されたプリンタと優先順位に基づくものである。
【0121】
次に、ステップS74で印刷データ生成モジュール108において、ステップS72で決定された再印刷開始頁に基づく範囲の中間ファイルを抽出し、該抽出された中間コードを再印刷先プリンタで印刷可能な形式変換し、再印刷開始頁から最終頁までの印刷データを生成する。
【0122】
そして、ステップS75で、印刷データ転送モジュール109によって、LAN104を経由して再印刷先プリンタに印刷データを転送し、再印刷先プリンタで再印刷が開始される(S76)。ここで、再印刷先プリンタの決定処理については上に説明した図2のユーザインターフェースを介して設定された代行先プリンタに自動的に転送される。また更なる別の好適な形態として、障害が発生したことに応じて代行先のプリンタを選択指示可能なユーザインターフェースを表示させ、該表示されたユーザインターフェースを介して選択指示された代行先プリンタを代行先として選択し、更に、選択先のプリンタが印刷可能なPDLデータに変換し転送するような形態も想定される。この再に転送先のプリンタが印刷可能なPDLデータに変換する処理は、転送先に対応したプリンタドライバソフトウエアが所定の記憶手段から抽出され稼動されることにより実現される。上にも説明したように印刷データ生成モジュール108は複数のプリンタの夫々に対応したプリンタドライバから対象となるプリンタに対応したプリンタドライバを選択する機能を有する。
【0123】
以上説明したように、本実施形態によれば、プリンタの障害などによって印刷ジョブが中断し場合であっても、印刷属性に基づいて再印刷開始頁を判断することにより、再印刷時も中断前の印刷属性を維持し、一貫した印刷属性の下に印刷ジョブを遂行することが可能となる。
【0124】
<第2実施形態>
次に、印刷ジョブを複数のプリンタを用いて分散して並列的に処理をする実施形態について説明する。図20はCRT2100上に表示される分散処理を制御するための処理モジュール(不図示)(以下、「分散処理モジュール」)の設定画面を例示する図である。同図により「出力先プリンタ」の設定とその出力先の「割合」に基づき、各プリンタが分担する印刷範囲が設定される。
【0125】
図20に示す例では出力先のプリンタとして選択可能なものが、「プリンタA」、「プリンタB」、「プリンタC」と3機種表示されており、この中で、「プリンタA」及び「プリンタB」が、割合30%、70%とそれぞれ設定されている。プリンタA及びプリンタBに対する設定は、処理するべき印刷データのうち先頭から30%をプリンタAで印刷し、続く70%をプリンタBで印刷する制御命令を与えるものである。
【0126】
割合が設定されていないプリンタCは、プリンタA又はプリンタBで障害が発生した場合に、再印刷を行うプリンタとして設定される。これらの設定は、管理者又はユーザ等によって、あらかじめ設定してもよいし、アプリケーションから印刷要求を出すときにユーザ等がキーボード(2090)等の入力部から随時設定してもよい。
【0127】
また、図20の各出力先への「割合」の設定方法は、割合の度合いを指定するものであるが、例えば、複数の分散先の夫々に対応するプリンタドライバ或いは出力先デバイスそのものから印刷速度(所定時間に出力可能な印刷枚数)の能力情報を取得するようにして、該取得された能力情報に応じて印刷速度に比例した印刷枚数を各出力先に割り当てるような方法によるものでも良い。
【0128】
また、実際には第1の実施形態の図2で説明したものと同様に優先順位の設定もなされていることが本実施形態では想定されている。異なる点は、優先順位1のプリンタが分散ジョブの出力先対象となる複数のプリンタに相当し、何れかの出力先で障害が発生し、該障害がホストコンピュータにて認識された場合には優先順位2の出力先プリンタが代行先として採用される。また、別の形態として分散ジョブ自の代行先のプリンタはユーザの指示に応じて手動で出力先を選択させるようにしても良い。
【0129】
また、図20に示される「プリンタA」、「プリンタB」、「プリンタC」は選択手段により選択されたプリンタを示すものであり、プリンタA、B,Cには夫々実施のプリンタデバイス及び該デバイスに割り当てられたプリンタ出力先ポートをセットにした情報が付加されている。これら、図20を介して設定された設定情報(属性)は上に説明した印刷属性指示データに設定値として格納される。
【0130】
次に、印刷データの処理の流れを図21〜図25のフローチャートを参照して、詳細に説明する。
【0131】
図21は、アプリケーション105からの印刷要求をきっかけに行われる本印刷制御システムによる処理の流れを説明するフローチャートであり、装置に設けられたCPUが不揮発性記憶手段より読み込まれるプログラムに基づく処理を実行することに応じて実現される。
【0132】
まず、ステップS1301でアプリケーション105から中間コード生成モジュール106に印刷要求が出され、印刷処理が開始される。
【0133】
ステップS1302において、中間コード生成モジュール106はアプリケーション105の印刷要求に基づいて中間コードを生成する。この中間コード(電子原稿形式ファイルとも呼ぶ)には、上述のようにPDF等の画像データとJDF等の印刷属性指示データが含まれ、ステップS33で中間コードを中間コード記憶モジュール107がファイルに格納する。
【0134】
ステップS1304では、上述の分散処理モジュールの設定に基づき、各出力先プリンタに対する印刷範囲(割合)を決定する。例えば、図20に示す設定の場合、分散処理モジュールは印刷データが全10頁、部数1部である印刷ジョブの印刷範囲としてプリンタAに1〜3ページ目、プリンタBに4ページ〜10ページ目を割り振る。これら分散ジョブの各頁範囲の情報も分散先プリンタ(分散先プリンタドライバ)に対応付けられた印刷属性指示データに設定値として書き込まれる。
【0135】
ステップS1305では、印刷データ生成モジュール108が、中間コード記憶モジュール107より中間コードを取得し、ステップS1304で決定した各出力先プリンタに対する印刷範囲に基づく中間コードより各出力先プリンタで印刷可能な印刷データ(頁記述言語)に変換する。本実施形態においては、分散処理のために選択されたプリンタA、Bが出力先プリンタに該当し、印刷データ生成モジュール108は両プリンタで処理が可能な形式の印刷データを夫々中間コードから生成する。
【0136】
ここで、ステップS1305における各出力先プリンタに適した印刷データを生成する印刷データ生成モジュール108の処理についてもう少し詳しく説明すると、中間コード記憶モジュールから中間コードを読み込んだ印刷データ生成モジュール108は先に説明してきたデスプーラの機能を備えており(1050や12320)、中間コードのデータ(上述で説明した、例えば、SVG形式やPDF形式のデータ)をプリンタドライバが解釈可能なようにする為に、OSの出力モジュールに適合する出力コマンド(描画命令)に変換する機能を備えている。そして、分散出力先毎に印刷属性指示データに設定された印刷頁範囲に基づく出力コマンド(描画命令)を夫々の分散出力先に対して生成し、該生成した出力コマンドを対象となる出力先毎に対応するプリンタドライバに対して印刷させるべく印刷指示する。そして、印刷指示された各プリンタドライバは夫々のデバイスに適切な印刷データ(頁記述言語)を生成する。
【0137】
ステップS1306では、ステップS1305で生成された印刷データを印刷データ転送モジュール109が受信し、その受信したデータを出力先プリンタに対してLAN104を経由して転送する。また、ステップS1306には示されてはいないが転送先のプリンタが完了通知をサポートするか否かを判別する処理が行われ、この判別に従って完了通知をサポートするプリンタと判別された場合には、ホストコンピュータは完了通知イベントを発行するようにプリンタに指示する。
【0138】
また、完了通知をサポートするプリンタでない、或いは、サポートしているかが不明と判別された場合には完了通知イベントを発行するよ指示は省略する制御がホストコンピュータにおいてなされる。尚、完了通知サポートするか否が不明であるような場合としては、例えば、分散ジョブに利用される何れかのプリンタのコマンド体系などが不明な場合(他社ベンダーのプリンタ)などが挙げられる。
【0139】
完了通知について更に詳しく述べると、完了通知には複数とおりの形態が想定され、ホストコンピュータはプリンタがサポートしている複数種類の完了通知イベントの発行を指示する。完了通知イベントの種類としてはプリンタに対して要求されたジョブの印刷出力が全て正常に完了した際のの印刷完了通知や、物理頁毎の正常印刷完了の通知(正常排紙に応じたタイミングで発行される)などが挙げられる。このホストコンピュータによる分散ジョブの夫々の出力先プリンタが完了通知をサポートするか否かの判別が行われることにより効率よく正常な分散ジョブの仕組みが実現される。
【0140】
例えば、所定のコマンド体系による印刷完了通知の指示をサポートしていないようなプリンタに、前記所定のコマンド体系による印刷完了通知の指示をホストコンピュータから通信回線を介してプリンタに指示したとして、プリンタにおいては誤動作をしてしまう可能性が考えられる。また、上に説明してきた「物理頁毎の正常印刷完了の通知」とは、後述するステップS1403の処理に対応するものとなる。
【0141】
また、判別の再にホストコンピュータによって参照される、夫々の出力先プリンタの機能の情報は、その都度出力先プリンタから通信回線を介して取得するようにしても良いし、予め設定された機能情報(完了通知をサポートしているか否かを示す情報)を判別の再に参照するようにすることが本実施形態では想定される。
【0142】
図20の説明に戻ると、ステップS1307において、指定されたプリンタで印刷が開始される。このプリンタの処理状況は、図1のプリンタ障害検出モジュール110でモニタされており(S1408)、印刷データの処理において、障害が発生せず印刷処理が正常に完了した場合は印刷処理は正常終了する(S1408−No、S1309)。
【0143】
一方、各出力先プリンタでの印刷処理中、障害が発生した場合(S1408−Yes)、図22〜図25で説明する再印刷処理動作に移行する(S1310)。
【0144】
図22は、出力先として指定されたプリンタにおいて、障害が検出された場合の再印刷処理動作を説明するためのフローチャートである。
【0145】
プリンタ障害検出モジュール110が出力先のプリンタで障害が発生したことを検出すると(S1401)、障害が発生したプリンタをプリンタIDなどを利用することにより特定し、該プリンタで印刷中あるいは印刷待ちとなっている印刷ジョブの再印刷処理を開始する。再印刷する印刷ジョブが決まると、ステップS1304で決定した各分散印刷ジョブの印刷範囲により、再印刷する範囲An〜Bnを決定し、それを再印刷最大範囲とする(S1402)。例えば、図20の設定でプリンタBに障害が発生した場合、再印刷の最大の範囲は4ページ目から10ページ目となる。
【0146】
次に、処理をステップS1403に進め、障害の発生したプリンタがそのプリンタで印刷完了頁数を検出可能なプリンタであるか否かを障害発生頁検出モジュール111が判断する。印刷完了頁数を検出することが不可能である場合、再印刷開始頁Nを再印刷最大範囲の先頭ページであるAnとして、ステップS1701へ処理を進める(S1404)。
【0147】
ステップS1404で設定される再印刷開始頁は、図20で設定された分散割合により、全10頁、部数1部を処理する場合、プリンタAの印刷範囲ではAn=1頁目、プリンタBの印刷範囲ではAn=4頁目が設定されることになる。
【0148】
印刷完了頁数を検出可能である場合(S1403−YES)、プリンタ障害検出モジュール110は印刷完了頁数を取得し、障害発生頁検出モジュール111は、障害発生頁番号(L)を「印刷完了頁数+印刷開始頁Anの値」の関係から決定する(S1405)。
【0149】
次に、ステップS1406に処理を進め、印刷属性検出モジュール112が中間コード記憶モジュール107より格納されている中間コードDEVMODE、JDFなどから印刷属性を検出する。この印刷属性には、例えば、複数部印刷を行うために1部のデータを繰り返し並べたデータとなっているか、ステイプル止めの指示が指定されているか、両面印刷が設定されているか、また製本印刷(指定する枚数の用紙を束にして2つ折りにし、その束をつづり合わせることで製本が可能となる形式)が指定されているか、製本分冊(指定枚数を重ねて中綴じし、2つ折りにした小冊子を複数作成する)が指定されているかを示す属性が挙げられるが、これらに限るものではない。
【0150】
図23は印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。図22のステップS1406で印刷属性を検出後、処理を図23のステップS1502に進め、再印刷開始頁(N)の初期値を図1405のステップS1405で決定された障害発生頁番号(L)とする。
【0151】
ステップS1504では、ステップS1406で取得した印刷属性を解析する。その中間コードが複数部印刷を行うために、データを繰り返し並べた構成となっている場合(S1504−YES)にはステップS1505に進み、繰り返し並べた構成となっていない場合(S1504−NO)には処理をステップS1507に進める。
【0152】
ステップS1505では、印刷ジョブが複数の部数分のデータを含んでいるため、1部単位で再印刷をするために、その1部数分の頁数(M)を取得して、処理をステップS1506に進める。
【0153】
ステップS1506では、再印刷開始頁Nを決定するために、数列{1、M、2×M、3×M...、NN×M、...:(NNは自然数)}を生成し、この数列の要素のうち障害発生頁番号L以下、印刷開始頁An以上で最大の値を演算し、その値を再印刷開始頁Nに設定して、処理をステップS1701(図25)に進める。
【0154】
ステップS1507では、印刷ジョブの属性(印刷属性)として、ステイプル止めの指示が指定されているかを判定し、指定されている場合(S1507−YES)には処理をステップS1508へ進めて再印刷開始頁Nを印刷開始頁Anに設定して(S1508)、処理をステップS1701(図25)に進める。ここで、ステップS1508における処理では、印刷ジョブの属性としてステイプル止めが指定されていることから、1部のデータの途中から再印刷してしまうと1部ごとにステイプル止めを行うことはできないため、再印刷開始頁Nを印刷開始頁An頁目に設定するものである。
【0155】
ステイプル止めの指定がされていない場合(S1507−NO)には処理をステップS1601(図24)に進める。
【0156】
図24は、製本印刷、製本分冊、両面印刷に関する印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。図23のステップS1507で、ステイプル止めが指定されていない場合は、図24のステップS1602において、製本印刷の属性が設定されているか否かを判断する。印刷ジョブの属性として製本印刷の属性が設定されている場合(S1602−YES)には処理をステップS1603に進め、製本印刷の属性が設定されていない場合(S1602−NO)には処理をステップS1604に進める。
【0157】
ステップS1603では、中間コードより障害発生頁Lが含まれる用紙を検索し、その用紙に含まれる(レイアウトされる)先頭の頁番号を再印刷開始頁Nに設定し、処理をステップS1701(図25)に進める。
【0158】
ステップS1604では、印刷ジョブの属性として製本分冊印刷が設定されているかを判定し、製本分冊の属性が設定されている場合(S1604−YES)には処理をステップS1605に進め、設定されていない場合(S1604−NO)には処理をステップS1606に進める。
【0159】
ステップS1605では、中間コードより障害発生頁Lが含まれる分冊を検索し、その分冊に含まれる先頭の頁番号を再印刷開始頁Nに設定し、処理をステップS1701(図25)に進める。
【0160】
ステップS1606では、印刷ジョブの属性として両面印刷が設定されているかを判定し、両面印刷の属性が設定されている場合(S1606−YES)には処理をステップS1607に進め、設定されていない場合には処理をステップS1701(図25)に進める。
【0161】
ステップS1607では、障害発生頁Lが印刷されるのが出力用紙の表であるか裏であるかを判定し、表である場合には再印刷開始頁Nに障害発生頁Lを設定し、裏である場合には障害発生頁L−1の値をNに設定する。このことにより、障害発生頁が裏面である場合にも、その裏面から印刷することが可能となる。
【0162】
図25は再印刷開始頁の確定から再印刷開始の処理を説明するフローチャートである。図25のステップS1702で、印刷属性に基づいた再印刷開始頁Nを最終的に確定する。
【0163】
ステップS1703で、印刷ジョブに設定された分散処理モジュールの設定に基づき、優先順位2の出力先プリンタが代行先として採用される。また、別の形態として優先順位2の出力先プリンタを自動的に代行先として確定させ印刷処理を継続するのではなく、ユーザに候補として優先順位2の出力先プリンタを選択可能な形態で表示させ、「OK」ボタンの押下など、ユーザの入力指示があった際に再印刷処理をするようにすること。また、ネットワーク上で参照可能なプリンタから、その都度ユーザの代行先プリンタを指示させることにより決定させ、該決定された代行先プリンタを再印刷の対象プリンタとすること。さらに別の形態として印刷が割り当てられていないプリンタを再印刷先プリンタとして選択することも想定され、例えば、図20のように設定されている場合にはプリンタCが選択される。このように本実施の形態によれば様々な代行先の決定方法が想定されるが、何れの代行先プリンタの決定方法が採用されたとしても、図22から図25にて説明してきた再印刷頁範囲の処理は適用可能であることは言うまでもない。
【0164】
次に、ステップS1704で印刷データ生成モジュール108において、ステップS1703で決定された再印刷開始頁に基づく印刷範囲の中間ファイルを抽出し、その抽出された中間コードを再印刷先プリンタで印刷可能な形式変換し、再印刷開始頁Nから再印刷をする最大範囲の最後の頁Bnまでの印刷データを生成する。
【0165】
また、ステップS1704の別の形態として、本実施形態にて説明してきた方法により決定された代行先プリンタが代行元(障害が発生したプリンタ)と互換性がある機種、或いは、同様の頁記述言語及び制御コマンドが解釈可能な機種の出力装置であるような場合には、ステップS1305にて生成した印刷データを保持しておき、該保持された印刷データを、わざわざ中間コードから生成することなく利用するような形態が挙げられる。本印刷制御システムは印刷範囲に該当する印刷データを抽出し代行先プリンタに転送する処理を行うこととなる。また、この再には予め各出力先がどのような印刷データに対応しているか、或いは、どのような機能を備えているか等の情報がホストコンピュータに格納されており、ホストコンピュータは該格納された情報を参照することにより印刷データを流用するか否かを判断することができる。
【0166】
そして、ステップS1705で、印刷データ転送モジュール109によって、LAN104を経由して再印刷先プリンタに印刷データを転送し、再印刷先プリンタで再印刷が開始される(S1706)。ここで、再印刷先プリンタの決定処理については先に説明した図20のユーザインターフェースを介して設定された代行先プリンタに自動的に転送される。
【0167】
また更なる別の好適な形態として、障害が発生したことに応じて代行先のプリンタを選択指示可能なユーザインターフェースを表示させ、その表示されたユーザインターフェースを介して選択指示された代行先プリンタを代行先として選択し、更に、選択先のプリンタが印刷可能なPDLデータに変換し転送するような形態も想定される。この際に転送先のプリンタが印刷可能なPDLデータに変換する処理は、転送先に対応したプリンタドライバソフトウエアが所定の記憶手段から抽出され稼動されることにより実現される。また、先に説明したように印刷データ生成モジュール108は複数のプリンタの夫々に対応したプリンタドライバから対象となるプリンタに対応したプリンタドライバを選択する機能を有するものである。
【0168】
また、別の形態として上の説明においてはホストコンピュータに印刷データ生成モジュール108、印刷データ転送モジュール109の機能を備えるように説明してきたが、この印刷データ生成モジュール108、印刷データ転送モジュール109の機能をホストコンピュータとはネットワーク等の所定の通信媒体を介して通信可能なサーバ(例えば図19の12020に相当)に備えさせるようにすることも想定される。
【0169】
以上説明したように、本実施形態によれば、分散処理により印刷ジョブを処理するプリンタが障害などによって処理を中断する場合であっても、分散印刷する印刷範囲と、印刷属性に基づいて再印刷開始頁を判断することにより、分散印刷にかかる印刷範囲毎に中断前の印刷属性を維持し、再印刷を一貫した印刷属性の下に遂行することが可能になる。
【0170】
<他の実施形態>
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(複写機、プリンタ、ファクシミリ装置など)に適用してもよい。
【0171】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成される。
【0172】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0173】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0174】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0175】
更に、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0176】
【発明の効果】
以上説明したように、本発明によれば、分散処理により印刷ジョブを処理するプリンタが障害などによって処理を中断する場合であっても、分散印刷する印刷範囲と、印刷属性に基づいて再印刷開始頁を判断することにより、分散印刷にかかる印刷範囲毎に中断前の印刷属性を維持し、再印刷を一貫した印刷属性の下に遂行することが可能となり、ユーザの期待する結果に忠実な出力を行うことができる。
【図面の簡単な説明】
【図1】本実施形態における情報処理システムの構成を示すブロック図である。
【図2】自動再印刷アルゴリズムにおける設定画面の一例を示す図である。
【図3】アプリケーション105から印刷を行なう際の処理の流れを説明するフローチャートである。
【図4】出力先として指定されたプリンタにおいて、障害が検出された場合の再印刷処理動作を説明するためのフローチャートである。
【図5】印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。
【図6】印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。
【図7】再印刷開始頁の確定から再印刷開始の処理を説明するフローチャートである。
【図8】コンピュータ101のハードウエアブロック図である。
【図9】スタンドアロン型の文書処理システムのブロック図である。
【図10】ブックファイルの構造の一例を示す図である。
【図11】ブック属性の一覧を示す図である。
【図12】章属性の一覧を示す図である。
【図13】ページ属性の一覧を示す図である。
【図14】ブックファイルを開く手順のフローチャートである。
【図15】電子原稿ファイルをブックファイルにインポートする手順のフローチャートである。
【図16】アプリケーションデータを電子原稿ファイルに変換する手順のフローチャートである。
【図17】既存のブックファイルを開いた際のユーザインタフェース画面の一例を示す図である。
【図18】新規のブックファイルを開いた際のユーザインタフェース画面の一例を示す図である。
【図19】クライアントサーバ型の文書処理システムのブロック図である。
【図20】CRT上に表示される分散処理モジュールの設定画面を例示する図である。
【図21】アプリケーション105から印刷を行なう際の処理の流れを説明するフローチャートである。
【図22】出力先として指定されたプリンタにおいて、障害が検出された場合の再印刷処理動作を説明するためのフローチャートである。
【図23】印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。
【図24】製本印刷、製本分冊、両面印刷に関する印刷属性に基づき、再印刷開始頁の設定処理を説明するフローチャートである。
【図25】再印刷開始頁の確定から再印刷開始の処理を説明するフローチャートである。
[0001]
TECHNICAL FIELD OF THE INVENTION
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.
[0002]
[Prior art]
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 the reprint start page, and proceeds with print data processing. . Then, a reprint start page is set as print data, and the print processing is interrupted by transferring the print data to another printer or the original printer after the failure is recovered, thereby continuing the interrupted print processing.
[0003]
[Problems to be solved by the invention]
However, in the conventional printing system, when printing is resumed, the print attribute for determining the print style set in the print job before and after the interruption of the print job is not taken into consideration. A format different from the result may be output. For example, if double-sided printing is specified as an attribute of a print job, the reprint start page is an even-numbered page, and if the normal double-sided printing is performed, the page is printed on the back side of the print page For example, the combination of pages printed on the front and back sides may be shifted after the reprint start page, for example, the content may be printed on the front side, and may differ from the result expected by the user.
[0004]
In the case where stapling processing is specified in 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, and the result may differ from the result intended by the user.
[0005]
The present invention has been made in view of the above problems, and controls the reprint start page of a print job in accordance with the attribute set in the print job, thereby providing an output faithful to the result expected by the user. It is intended to do so.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, an information processing apparatus and an information processing method according to the present invention mainly have the following configurations.
[0007]
That is, the information processing device that can communicate with the printer is
Transfer control means for transferring the print job generated by the generation means to the printer;
Recognition means for recognizing a notification sent from the printer that the ejection of the physical page printed matter has been completed normally,
A determination unit configured to determine whether the printer to which the print job is transmitted is a printer capable of acquiring a notification that the physical information printed matter has been normally discharged in the information processing apparatus,
When the processing based on the transferred print job is interrupted for the printer, and the transfer control unit determines by the determination unit that the printer is not a printer that can obtain the notification, the transfer control unit Transfer the print job from the first page of the print job transferred to the printer, if it is determined that the printer can obtain the notification, the notification sent from the printer, and the print attributes of the print job , The print job of the reprint start page determined based on the above is transferred.
[0008]
According to a preferred aspect of the present invention, in the information processing apparatus described above, the generation unit performs printing for performing reprinting in a print range according to the notification recognized by the recognition unit and the print attribute. Generate data from intermediate file format data,
The transfer control unit transfers the print data generated by the generation unit to a printer that performs reprinting.
[0009]
According to a preferred aspect of the present invention, in the information processing apparatus described above, a range setting unit configured to set a sharing of a print range for each of the plurality of printers in order to perform print processing by distributing a print job by the plurality of printers. When,
A proxy setting unit configured to set a printer for performing reprinting of a printer corresponding to each of the interrupted print ranges on a printer for each of the print ranges;
When performing printing in accordance with the print range set by the range setting unit, the recognition unit recognizes interruption in processing for each print range together with a notification in each print range.
[0010]
According to a preferred aspect of the present invention, in the information processing apparatus described above, the information processing apparatus further includes a determination unit that determines a reprint start page based on the notification and a print attribute of the print job,
The transfer control unit transfers a print job based on the reprint start page determined by the determination unit to a retransmission destination printer.
[0011]
According to a preferred aspect of the present invention, in the information processing apparatus described above, when the determination unit detects that stapling is specified as a print attribute of the print job, the determination unit determines the reprint start page. It is set as the first page in the print range due to distribution.
[0012]
According to a preferred aspect of the present invention, in the information processing apparatus described above, when the determining unit detects that the print attribute of the print job is data in which one copy of data is repeatedly arranged a plurality of times, The reprint start page is calculated based on the number of pages for one copy (M) and the first number of pages in the print range (An).
[0013]
According to a preferred aspect of the present invention, in the information processing apparatus described above, the determining unit is configured to execute a sequence (1, M, 2 × M, 3 × M, based on the number of pages (M) for one copy). NN × M ...: (NN is a natural number)) of the sequence elements, the number of which is less than or equal to the failure page (L) and greater than or equal to the first page (An) in the print range The maximum value is set as the reprint start page.
[0014]
According to a preferred aspect of the present invention, in the above information processing apparatus, when the determination unit detects that bookbinding printing is set as a print attribute of the print job, the determination unit sets the reprint start page. Is set to the first page of the sheet including the page where the failure has occurred.
[0015]
According to a preferred aspect of the present invention, in the information processing apparatus described above, when the determination unit detects that bookbinding separate volume printing is set as a print attribute of the print job, the reprint start page Is searched for a volume containing the page in which the failure has occurred, and is set as the first page included in the volume.
[0016]
According to a preferred aspect of the present invention, in the information processing apparatus described above, in order to distribute a print job to a plurality of printers, the information processing apparatus further includes a print range determining unit that determines a print range in each printer,
The recognition means, in each of the printing range, recognizes a notification according to the completion of the discharge of the printed matter of the physical page normally corresponding to the printing range,
The printing range determination unit, when the printing process in any of the printing ranges of each of the printing ranges is interrupted, the start page of each of the printing ranges, and the printing range of each of the printing ranges A print range is determined based on a print attribute of the print job and the notification recognized corresponding to any one of the print ranges.
[0017]
Alternatively, the information processing method capable of communicating with the printer is as follows:
A transfer control step of transferring the print job generated by the generation unit to the printer;
A recognition step of recognizing a notification sent from the printer according to the fact that the physical page printed matter has been successfully discharged,
A determination step of determining whether or not the printer to which the print job is to be transmitted is a printer that can acquire a notification that the discharge of a physical page printed matter has been normally completed in the information processing apparatus;
When the processing based on the transferred print job is interrupted for the printer, the transfer control step determines that the printer is not capable of acquiring the notification by the determination in the determination step. Transfer the print job from the first page of the print job transferred to the printer, if it is determined that the printer can obtain the notification, the notification sent from the printer, and the print attributes of the print job , The print job of the reprint start page determined based on the above is transferred.
[0018]
According to a preferred aspect of the present invention, in the information processing method described above, the generating unit performs printing for reprinting in a print range according to the notification recognized in the recognition step and the print attribute. Generate data from intermediate file format data,
The transfer control step transfers the print data generated by the generation unit to a printer that performs reprinting.
[0019]
According to a preferred aspect of the present invention, in the above-described information processing method, a range setting step of setting a sharing of a print range for each of the plurality of printers in order to perform print processing by distributing a print job by the plurality of printers. When,
A proxy setting step of setting a printer for performing reprinting of a printer corresponding to each of the interrupted print ranges on a printer for each of the print ranges,
In the recognition step, when printing is performed according to the print range set in the range setting step, the interruption in the processing for each print range is recognized together with a notification in each print range.
[0020]
According to a preferred aspect of the present invention, in the information processing method described above, the information processing method further includes a determining step of determining a reprint start page based on the notification and a print attribute of the print job,
The transfer control step transfers a print job based on the reprint start page determined in the determination step to a retransmission destination printer.
[0021]
According to a preferred aspect of the present invention, in the above 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 reprint start page. It is set as the first page in the print range due to distribution.
[0022]
According to a preferred aspect of the present invention, in the above information processing method, when the determining step detects that the print attribute of the print job is data in which one copy of data is repeatedly arranged a plurality of times, The reprint start page is calculated based on the number of pages for one copy (M) and the first number of pages in the print range (An).
[0023]
According to a preferred aspect of the present invention, in the above information processing method, the deciding step is performed based on a sequence (1, M, 2 × M, 3 × M, NN × M ...: (NN is a natural number)) of the sequence elements, the number of which is less than or equal to the failure page (L) and greater than or equal to the first page (An) in the print range The maximum value is set as the reprint start page.
[0024]
According to a preferred aspect of the present invention, in the information processing method described above, when the determination step detects that bookbinding printing is set as a print attribute of the print job, the reprint start page is set. Is set to the first page of the sheet including the page where the failure has occurred.
[0025]
According to a preferred aspect of the present invention, in the above information processing method, when the determination step detects that bookbinding separate volume printing is set as a print attribute of the print job, the reprinting start is performed. The page is searched for a volume containing the page where the failure occurred, and is set as the first page included in the volume.
[0026]
According to a preferred aspect of the present invention, in the information processing method described above, a print range determining step of determining a print range in each printer to distribute the print job to a plurality of printers,
The recognition step, in each of the printing range, recognizes a notification in accordance with the print range that the discharge of the printed matter of the physical page has been normally completed,
The print range determining step, when the printing process in any one of the print ranges of the respective print range is interrupted, the start page of each of the respective print ranges, and the respective print range of each of the print ranges A print range is determined based on a print attribute of the print job and the notification recognized corresponding to any one of the print ranges.
[0035]
Further, the computer program is characterized in that the functions of the information processing apparatus described above are specified as functions executed by a computer.
[0036]
Further, a computer-readable storage medium stores the computer program.
[0037]
BEST MODE FOR CARRYING OUT THE INVENTION
<System Overview>
An outline of a document processing system as 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 of editing the electronic manuscript file. Hereinafter, the details will be described.
[0038]
<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 device 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 created application data such as document data and image data.
[0039]
In other words, the application 1010 transmits a predetermined OS-dependent format output command (called a GDI function) to the output module of the OS that provides the interface in order to print the created application data. . The output module receiving the output command converts the command into a format that can be processed by an output device such as a printer, and outputs the converted drawing command (called a DDI function). Since the format that can be processed by the output device differs depending on the type, maker, model, etc. of the device, a device driver is provided for each device, and the OS uses the device driver to convert commands and convert print data. A print job is generated by generating the job and joining it with JL. When Microsoft Windows is used as the OS, a module called GDI corresponds to the output module described above.
[0040]
The electronic document writer 1020 is a software module provided as one of the device drivers described above for realizing the document processing system. However, the electronic original 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 and a printer driver 1060 described later. The format after conversion 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 the substantially standard formats, for example, a PDF format by Adobe Systems, an SVG format, and the like can be adopted as an electronic original format (intermediate file format data).
[0041]
When the electronic document writer 1020 is used by the application 1010, printing is performed after the electronic document writer 1020 is specified as a device driver used for output. However, an electronic original file created by the electronic original writer 1020 does not have a complete format as an electronic original file. Therefore, it is the bookbinding application 1040 that specifies the electronic document writer 1020 as the device driver, and the conversion of the application data into the electronic document file is executed under the management of the bookbinding application 1040. The bookbinding application 1040 completes a new incomplete electronic document file generated by the electronic document writer 1-2 as an electronic document file having a format described later.
[0042]
Hereinafter, when it is necessary to clearly identify this point, a file created by the electronic document writer 1020 is called an electronic document file, and an electronic document file (also called an intermediate code) given a structure by a bookbinding application. Is called a book file. Unless it is particularly necessary to distinguish 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).
[0043]
By designating the electronic document writer 1020 as a device driver and causing the general application 1010 to print the data, the application data is in units of pages defined by the application 1010 (hereinafter referred to as logical pages or document pages). The file is converted into an electronic document format and stored as a digital document file 1030 in a storage medium such as a hard disk. Note that 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 a network when connected to a network. .
[0044]
The bookbinding application 1040 reads the electronic manuscript file or book file 1030 and provides the user with a function for editing the file. However, the bookbinding application 1040 does not provide a function for editing the content of each page, but provides a function for editing a structure of a chapter or a book, which will be described later, and is configured using a page as a minimum unit.
[0045]
When printing the book file 1030 edited by the bookbinding application 1040, the electronic document despooler 1050 is activated by the bookbinding application 1040. The electronic manuscript despooler 1050 reads the specified book file from the hard disk, generates an output command compatible with the output module of the OS described above, and prints each page in the format described in the book file. Output to output module. At this time, the driver 1060 of the printer 1070 used as an output device is specified as a device driver. The output module converts an 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 the printer 1070 prints an image corresponding to the command.
[0046]
<Format of electronic manuscript data>
Before referring to the 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 defines attributes of the entire book. The middle layer below it corresponds to a chapter in a book, and is also called a “chapter”. For each chapter, attributes for each chapter can be defined. The lower layer is a “page”, which corresponds to each page defined by the application program. Attributes can be defined for each page. One book may include a plurality of chapters, and one chapter may include a plurality of pages.
[0047]
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. Books and chapters are concepts for defining the structure as a book, and thus 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, in addition to the attribute values, the entity of the original page (original page data) and a link to each original page data. 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 layer of a book, a chapter, and a page.
[0048]
In FIG. 10A, a book 3010 has a book attribute defined, and two chapters 3020A and 3020B are linked. This link indicates that chapters 3020A and 3020B are included in book 3010. In the chapter 3020A, pages 3030A and 3030B are linked, and it is shown that these pages are included. An attribute value is defined for each of the pages 3030A and 3030B, and includes a link to the document page data (1) and (2) as the substance. These links indicate 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). I do.
[0049]
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 an item included only in the book attribute, the value defined in the book attribute is a valid value throughout the book. However, an item that overlaps with the lower layer has a meaning as a default value when it is not defined in the lower layer. Each illustrated item does not specifically correspond to one item, but may include a plurality of related items.
[0050]
FIG. 12 is a list of chapter attributes, and FIG. 13 is a list of page attributes. The relationship between chapter attributes and page attributes is the same as the relationship between book attributes and lower layer attributes.
[0051]
Items specific to the book attribute are six items: printing method, bookbinding details, front / back cover, index paper, slip sheet, and chapter break. These are the items defined throughout the book. Three values of single-sided printing, double-sided printing, and bookbinding printing can be specified as attributes of the printing method. The “bookbinding printing” is a method of printing a book in a format that enables bookbinding by bundling a separately designated number of sheets into a bundle and folding the bundle. As bookbinding detailed attributes, when bookbinding printing is specified, the spread direction, the number of sheets to be bundled, and the like can be specified.
[0052]
The cover / back cover attribute includes designation of adding a sheet serving as a cover and a back cover when printing an electronic document file combined as a book, and designation of print contents on the added sheet. The index sheet attribute includes designation of insertion of an index sheet with tabs separately prepared in the printing apparatus as a chapter break, and designation of print contents to the index (tab) portion. This attribute is used when the printing apparatus used is equipped with an inserter having an insert function for inserting paper prepared separately from the printing paper into a desired position, or when a plurality of paper cassettes can be used. It is effective in some cases. This is the same for the slip sheet attribute.
[0053]
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 inserting a slip sheet.
[0054]
The chapter break attribute includes designation of whether to use a new sheet, use a new print page, or do nothing particularly at a chapter break. In single-sided printing, use of a new sheet and use of a new print page have the same meaning. At the time of double-sided printing, if "Use new paper" is specified, continuous chapters will not be printed on one sheet, but if "Use new print page" is specified, continuous chapters will be 1 It can be printed on the front and back of a sheet of paper.
[0055]
As for the chapter attribute, there is no item specific to the chapter, and all items overlap with the book attribute. 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 the chapter attribute are five items: paper size, paper direction, N-up print 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. The arrangements that can be specified include 1 × 1, 1 × 2, 2 × 2, 3 × 3, 4 × 4, and the like. The paper ejection method attribute is an item for designating whether or not to perform stapling on the discharged paper, and the validity of this attribute depends on whether or not the printing apparatus used has the staple function.
[0056]
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 a document page is arranged on a print page. The zoom attribute is an item for designating the magnification of the document 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 pages are arranged according to designation of Nup or the like. For example, if 1 × 1, the virtual logical page area is an area corresponding to one print page, and if 1 × 2, each side of one print page is an area reduced to about 70%.
[0057]
Attributes common to the book, chapter, and page include a watermark attribute and a header / footer attribute. The watermark is an image, a character string, or the like that is separately specified and is printed over the data created by the application. The header and footer are watermarks printed on the upper margin and the lower margin of each page, respectively. However, items that can be specified by variables, such as page numbers and date and time, are provided in the header and 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 are different from the book. In a 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 to print a watermark or header / footer set in the book in the chapter or page.
[0058]
<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. The creation of the book file is realized as a part of the book file editing operation by the bookbinding application 1040.
[0059]
FIG. 14 shows a procedure when the bookbinding application 1040 opens a book file.
[0060]
First, it is determined whether the book file to be opened is a file to be newly created or an existing file (step S7010). In the case of new creation, a book file not including a chapter is newly created (step S7020). A newly created book file is a book node having only the book node 3010 and having no link to a chapter node, as shown in the example of FIG. 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 new book file is created. In this case, nothing is displayed on the UI screen 11000 because the book file has no substantial content.
[0061]
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 is an example of this UI screen. The UI screen 11000 includes a tree unit 11010 indicating the structure of a book, and a preview unit 11020 displaying a printed state. In the tree portion 11010, the chapters included in the book and the pages included in each chapter are displayed in a tree structure as shown in FIG. Pages displayed in the tree section 11010 are manuscript pages. In preview section 11020, the content of the print page is reduced and displayed. The display order reflects the structure of the book.
[0062]
Now, application data converted into an electronic document file by the electronic document writer can be added to the opened book file as a new chapter. This function is called an electronic original import function. By importing an electronic document into a book file newly created by the procedure shown in 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 a procedure for importing an electronic document.
[0063]
First, the application program that has generated the specified application data is activated, and the electronic document writer 1020 is designated as a device driver to print out the application data, thereby converting the application data into electronic document data (step S8010). When the conversion is completed, it is determined whether the converted data is image data (step S8020). This determination can be made based on the file extension of the application data under the Windows OS. For example, if the extension is “bmp”, it can be determined that the image data is Windows bitmap data, if “jpg”, it is determined that the image data is jpeg-compressed, and if “tiff”, it is determined that the image data is tiff format image data. Further, in the case of such image data, since the electronic document file can be directly generated from the image data without starting the application as in S8010, the processing in S8010 can be omitted.
[0064]
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 the one common to the book attribute, and set to the specified value prepared in advance for the other one.
[0065]
If the data is image data, a new chapter is not added in principle, and each manuscript page included in the electronic manuscript file generated in step S8010 is added to the specified chapter (step S8040). However, if the book file is a newly created file, a new chapter is created and each page of the electronic manuscript file is added as a page belonging to that chapter. As for the page attribute, the attribute value is given to the attribute common to the attribute of the upper layer, and the value is given to the attribute which is inherited by the electronic manuscript file in the attribute defined in the application data. For example, if Nup designation 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.
[0066]
FIG. 16 is a flowchart of a procedure for causing the electronic document writer 1020 to generate an electronic document file 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 started, and an output command is transmitted to an output module of the OS using the electronic original writer as a device driver. The output module converts the received output command into data in an electronic document format by an electronic document writer and outputs the data (step S9020). The output destination is the electronic document file opened in step S9010. It is determined whether the conversion has been completed for all the specified data (step S9030). If the conversion has been completed, the electronic document file is closed (step S9040). The electronic manuscript file generated by the electronic manuscript writer 1020 is a file including the substance of manuscript page data shown in FIG.
[0067]
<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 can be performed on chapters and pages.
[0068]
(1) New addition
(2) Delete
(3) Copy
(4) Cut
(5) Paste
(6) Move
(7) Chapter name change
(8) Renumber page numbers
(9) Insert cover
(10) Inserting a slip sheet
(11) Insert index paper
(12) Page layout for each document page.
[0069]
In addition, an operation of canceling the editing operation once performed and an operation of redoing the canceled operation can be performed. With these editing functions, editing such as merging multiple book files, rearranging chapters and pages within book files, deleting chapters and pages within book files, changing the layout of original pages, inserting slip sheets and index sheets, etc. Operation becomes possible. By performing these operations, the search results are reflected on the attributes shown in FIGS. 11 to 18 or on the structure of the book file. For example, if a new blank page adding operation is performed, a blank page is inserted at a specified position. This blank page is treated as an original page. Also, if the layout for the document page is changed, the change is reflected in attributes such as the printing method, N-up printing, front / back cover, index paper, slip sheet, and chapter break.
[0070]
<Output of book file>
The book file created and edited as described above has a print output as its final purpose. When the user selects the file menu from the UI screen 11000 of the bookbinding application shown in FIG. 17 and selects print from the menu, the print is output by the specified output device. At this time, first, the bookbinding application 1040 creates a job ticket from the currently opened book file and passes it to the electronic original 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.
[0071]
The job ticket is data having a structure in which an original page is the minimum unit. The structure in the job ticket defines the layout of the manuscript page on the paper. One job ticket is issued for one job. Therefore, there is a document node at the top level, and attributes of the entire document, such as double-sided printing / single-sided printing, are defined. Below this, the paper node belongs, and includes attributes such as the identifier of the paper to be used and the designation of the paper feed port in the printer. Each paper node belongs to 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 includes a document page arranged thereon. Also, the layout of the document page is included as an attribute of the physical page.
[0072]
The electronic original despooler 1050 converts the job ticket described above into an output command to an output module.
[0073]
<Other system configuration>
The outline of the document processing system of the present embodiment is as described above. Although this is a stand-alone system, a book file is created and edited in almost the same configuration and procedure in a server-client system that is an extension of this system. However, book files and print processing are managed by the server.
[0074]
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 as a client module, a virtual print service module 1100, and a DS (document service) client module 1080 are added to a stand-alone system. The client document processing system 12000 is connected to a document management server 12010, a central print management server 12020, and a print server 12030.
[0075]
These servers are typically connected to the client document processing system by a network, but if the servers also function as clients at the same time, they are connected by inter-process communication that simulates communication between networks. In FIG. 19, both the document management server 12010 and the central print 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 a print central management server 12020. If the connected server is a document management server, the print management server client system 12020SC including the client module is a standalone type. Added to the document management system.
[0076]
The document management server 12010 is a server that stores book files created and edited by the bookbinding application 1040. When the 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 are performed via the DS client 1080 and the DS core 12120.
[0077]
The print central management server 12020 manages printing of book files stored in the client document management system 12000 or stored in the document management server 12010. The print request from the client is transmitted to the server module 12210 of the centralized print management server 12020 via the virtual printer driver 1090 and the virtual print service module 1100.
[0078]
The centralized print management server 12020 passes electronic document data to the electronic document despooler 1050 via the client's virtual print service module 1100 when printing with a client printer, and print server 12030 when printing with the print server 12030. To the virtual print service module 12030. The centralized print management server performs, for example, a security check on the qualification of the user who issued the print request for the stored book file, and saves a log of the print processing. As described above, the document processing system can be realized as a stand-alone system or a client-server system.
[0079]
<Contents of preview display>
As described above, when the book file is opened by the bookbinding application, a user interface screen 11000 shown in FIG. 17 is displayed. The tree portion 11010 displays a tree indicating the structure of an open book (hereinafter, referred to as a book of interest). The preview unit is provided with three display methods according to the user's designation. The first is a mode called an original view in which an original page is displayed as it is. In the original view mode, the contents of the original page belonging to the book of interest are reduced and displayed. The layout is not reflected on the display of the preview section. The second is a print view mode. In the print view mode, original pages are displayed on preview section 11020 in a form that reflects the layout of the original pages. Third is a simple print view mode. In the simple print view mode, the content of each document page is not reflected on the display of the preview section, and only the layout is reflected.
[0080]
<First embodiment>
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0081]
FIG. 8 is a hardware block diagram of the computer 101. In FIG. 8, a CPU 2010 executes programs such as an OS, a general application, and a bookbinding application stored in a program ROM of a ROM 2030 or loaded from a hard disk 2110 into a RAM 2020, and implements a procedure of a flowchart described later. The RAM 2020 functions as a main memory, a work area, and the like for the CPU 2010. A keyboard controller (KBC) 2050 controls a key input from a keyboard 2090 or a pointing device (not shown).
[0082]
A CRT controller (CRTC) 2060 controls display on a CRT display 2100. A disk controller (DKC) 2070 controls access to a hard disk (HD) 2110 that stores a boot program, various applications, font data, user files, edited files, and the like, a floppy (registered trademark) disk (FD), and the like. The PRTC 2080 controls the exchange of signals with the connected printer 1070. The NC 2120 is connected to a network and executes a communication control process with another device connected to the network.
[0083]
FIG. 1 is a block diagram illustrating a module configuration of the information processing system according to 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 is capable of mutually communicating data. In this configuration, two printers are set as output destination printers, but the number of printers is not limited to this.
[0084]
Reference numeral 105 denotes an application program (hereinafter, referred to as an “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 the present embodiment is executed.
[0085]
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 expresses an image such as EMF (intermediate file format data) or PDF that expresses a page-based original in a detailed format. An intermediate code including data and print attribute instruction data such as DEVMODE and JDF is generated, and the intermediate code storage module 107 stores the data in a file. Here, as the application, the above-described bookbinding application shown in FIG. 19 also corresponds.
[0086]
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, and converts the intermediate code into print data in a format such as PDL printable by an output destination printer. The 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 stores a printer driver corresponding to an alternate or distribution target printer from a printer driver corresponding to each of a plurality of printers in a predetermined storage unit. And a function for causing the print data transfer module 109 to transfer the print data (PDL) generated by using the selected printer driver to the proxy printer.
[0087]
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 together 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 by monitoring various failure events (out of paper / out of toner / paper jam / memory full) generated by the output destination printer, and the failure detection module 110 itself monitors the status of the output destination printer. It takes the form of an inquiry. Further, the detection of a fault here indicates a process of recognizing fault information.
[0088]
The faulty page detection module 111 calculates the faulty page number from the information on the number of pages printed by the output destination printer based on the information notified from the printer fault detection module 110, and specifies the faulty page.
[0089]
The print attribute detection module 112 obtains, from the intermediate code storage module 107, the intermediate code of the print job corresponding to the page whose printing has been interrupted due to the failure, based on the information on the failure page identified by the failure page detection module 111 ( Generated) and acquires and recognizes print attribute information set in the print job.
[0090]
The reprint start page determination module 113 determines an optimum reprint start page based on 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. The printer designates the code and the reprint start page, designates a printer having a high priority and a normal state as a reprint destination printer based on the automatic reprint setting, and outputs a print instruction. The method for determining the optimum reprint start page will be described with reference to FIGS.
[0091]
Based on the reprint start page determined by the reprint start page determination module 113, the print data generation module 108 specifies from the reprint start page to the end of the print job as a reprint range, and 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 the information on the substitute printer from the print data transfer module 109.
[0092]
The print data is transferred by the print data transfer module 109 to a reprint destination printer specified as a printer that will perform reprinting of the interrupted print job.
[0093]
The substitute printer setting module 114 sets a group of substitute printers as reprint output destinations in order to restart a print job interrupted due to a failure. The proxy printer setting module 114 sets the priority of a plurality of printers that perform reprinting for each printer, and the print data transfer module 109 specifies the printer that performs reprinting according to the priority.
[0094]
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 need not necessarily be 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.
[0095]
FIG. 2 is a view showing 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 the output destination printer names, and the priority order is set to No. 1 and No. 2, respectively. In this case, first, printing is attempted by the first printer A, and if a failure occurs in the printer A, the setting is made so that reprinting is executed by the printer B having the second priority set. This setting may be automatically set by the proxy printer setting module 114 described above, or may be set by the user or the like from an input unit such as a keyboard (2090) at any time when a print request is issued from an application by an administrator or a user. May be.
[0096]
Next, the flow of processing of print data will be described in detail with reference to the flowcharts of FIGS.
[0097]
FIG. 3 is a flowchart for explaining the flow of processing when printing is performed from the application 105.
[0098]
First, in step S31, a print request is issued from the application 105 to the intermediate code generation module 106, and printing processing is started.
[0099]
In step S32, the intermediate code generation module 106 generates an intermediate code based on the print request of the application 105. The intermediate code includes the image data such as PDF and the print attribute instruction data such as JDF as described above, and the intermediate code storage module 107 stores the intermediate code in a file in step S33.
[0100]
In step S34, the print data generation module 108 acquires the intermediate code from the intermediate code storage module 107, and converts the intermediate code 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, a predetermined interface module provided by an operating system (OS) is used and print data in a format that can be processed by an output device such as a printer. Is converted to the intermediate code.
[0101]
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.
[0102]
In step S36, printing is started by the designated printer. The processing status of this printer is monitored by the printer fault detection module 110 of FIG. 1 (S37). In the print data processing, if no fault occurs and the print processing is completed normally, the print processing ends normally. (S37-No, S38).
[0103]
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.
[0104]
FIG. 4 is a flowchart for explaining the reprint processing operation when a failure is detected in the printer specified as the output destination.
[0105]
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, “printing”). The number of completed pages is acquired, and the failure page detection module 111 determines the failure page number (L) based on the number of completed pages.
[0106]
Next, the process proceeds to step S43, and the print attribute detection module 112 detects a print attribute from the intermediate codes DEVMODE, JDF, and the like stored from the intermediate code storage module 107. The print attributes include, for example, data obtained by repeatedly arranging data of one copy for printing a plurality of copies, stapling stop instruction, double-sided printing, and bookbinding printing. (Specify the number of sheets to be bundled and folded in two, and then stitching the bundles together to enable bookbinding) is specified. Attribute that indicates whether or not "create multiple booklets" is specified, but is not limited thereto.
[0107]
FIG. 5 is a flowchart illustrating a process of setting a reprint start page based on print attributes. After detecting the print attribute in step S43 of FIG. 4, the process proceeds to step S52 of FIG. 5, and the initial value of the reprint start page (N) is set to the failure page number (L) determined in step S42 of FIG. I do.
[0108]
In step S53, the print attributes acquired in step S43 are analyzed. If the intermediate code has a configuration in which data is repeatedly arranged in order to print a plurality of copies (S53-YES), the process proceeds to step S54, and if the intermediate code is not configured in a repeated manner (S53-NO). Advances the processing to step S56.
[0109]
In step S54, since the print job includes data for a plurality of copies, the number of pages (M) for one copy is acquired in order to perform reprinting for each copy, and the process proceeds to step S55. Proceed.
[0110]
In step S55, in order to determine the reprint start page N, the sequence {1, M, 2 × M, 3 × M. . . , NN × M,. . . : (NN is a natural number)}, calculates the maximum value among the elements of this sequence below the failure page number L, sets the value as the reprint start page N, and proceeds to step S71 (FIG. Proceed to 7).
[0111]
In step S56, it is determined whether or not an instruction to stop stapling is specified as an attribute (print attribute) of the print job. If so (S56-YES), the process proceeds to step S57 to start reprinting the page. N is set to 1 (S57), and the process proceeds to step S71 (FIG. 7). Here, in the processing in step S57, stapling is specified as an attribute of the print job, so if reprinting is performed from the middle of one copy of data, stapling cannot be performed for each copy. The reprint start page N is set to the first page.
[0112]
If stapling has not been designated (S56-NO), the process proceeds to step S61 (FIG. 6).
[0113]
FIG. 6 is a flowchart illustrating a process of setting a reprint start page based on print attributes related to bookbinding printing, bookbinding separate volumes, 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 an attribute for bookbinding printing is set. When the attribute of bookbinding printing is set as the attribute of the print job (S62-YES), the process proceeds to step S63, and when the attribute of bookbinding printing is not set (S62-NO), the process proceeds to step S64. Proceed to
[0114]
In step S63, a sheet containing the faulty page L is searched from the intermediate code, the first page number included (layed out) in the sheet is set as the reprint start page N, and the process proceeds to step S71 (FIG. 7). Proceed to).
[0115]
In step S64, it is determined whether bookbinding separate volume printing is set as the attribute of the print job. If the attribute of bookbinding separate volume is set (S64-YES), the process proceeds to step S65; In (S64-NO), the process proceeds to step S66.
[0116]
In step S65, a search is made for a volume containing the page L in which the failure has occurred from the intermediate code, and the first page number included in the volume is set as the reprint start page N, and the process proceeds to step S71 (FIG. 7).
[0117]
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 processing to step S71 (FIG. 7).
[0118]
In step S67, it is determined whether the failure page L is to be printed on the front side or the back side of the output sheet. If the front side is the front side, the failure page L is set as the reprint start page N, and the back side is set. In the case of, the value of the faulty page L-1 is set to N. This makes it possible to print from the back side even when the page where the failure occurred is on the back side.
[0119]
FIG. 7 is a flowchart illustrating a process from the determination of the reprint start page to the start of reprint. In step S72 of FIG. 7, the reprint start page N based on the print attribute is finally determined.
[0120]
In step S73, based on the automatic reprint setting set for the print job, an output destination printer having the highest priority among printers in a normal state is selected as a reprint destination printer. This setting is based on the printer and priority set on the automatic reprint setting screen in FIG.
[0121]
Next, 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.
[0122]
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 process of determining the reprint destination printer is automatically transferred to the proxy destination printer set via the user interface of FIG. 2 described above. As still another preferred embodiment, a user interface capable of selecting and instructing a substitute printer in response to the occurrence of a failure is displayed, and the substitute printer selected and designated via the displayed user interface is displayed. It is also conceivable that the printer is selected as a proxy destination, and is converted into PDL data that can be printed by the selected printer and transferred. The process of re-converting the PDL data into printable PDL data by the transfer destination printer is realized by extracting printer driver software corresponding to the transfer destination from a predetermined storage unit and operating it. 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.
[0123]
As described above, according to the present embodiment, even if the print job is interrupted due to a printer failure or the like, the reprint start page is determined based on the print attributes, so that the reprint , And the print job can be performed under consistent print attributes.
[0124]
<Second embodiment>
Next, an embodiment will be described in which print jobs are distributed using a plurality of printers and processed in parallel. FIG. 20 is a diagram exemplifying a setting screen of a processing module (not shown) (hereinafter, referred to as a “distributed processing module”) for controlling the distributed processing displayed on the CRT 2100. As shown in the figure, the print range shared by each printer is set based on the setting of the “output destination printer” and the “ratio” of the output destination.
[0125]
In the example shown in FIG. 20, printers that can be selected as output destinations are displayed as "Printer A", "Printer B", and "Printer C", among which "Printer A" and "Printer A" are displayed. B "is set to 30% and 70%, respectively. The settings for the printers A and B are to give control commands to print 30% from the beginning of the print data to be processed by the printer A and to print the next 70% by the printer B.
[0126]
The printer C for which the ratio is not set is set as a printer that performs reprinting when a failure occurs in the printer A or the printer B. These settings may be set in advance by an administrator, a user, or the like, or may be set as needed by the user or the like from an input unit such as a keyboard (2090) when issuing a print request from an application.
[0127]
The method of setting the “ratio” for each output destination in FIG. 20 specifies the degree of the ratio. For example, the printing speed is determined from the printer driver or the output destination device itself corresponding to each of the plurality of distribution destinations. A method may be used in which the capability information of (number of prints that can be output in a predetermined time) is acquired, and the number of prints proportional to the printing speed is assigned to each output destination according to the acquired capability information.
[0128]
Also, in this embodiment, it is assumed that the priorities are actually set in the same manner as described with reference to FIG. 2 of the first embodiment. The difference is that the printer of priority 1 corresponds to a plurality of printers to which the distributed job is output, and if a failure occurs in any of the output destinations and the failure is recognized by the host computer, the priority is given. The output destination printer of rank 2 is adopted as the proxy destination. Further, as another form, the printer at the substitute destination of the distributed job may manually select an output destination according to a user's instruction.
[0129]
Further, “Printer A”, “Printer B”, and “Printer C” shown in FIG. 20 indicate the printer selected by the selection means. Information that sets a printer output port assigned to the device is added. These setting information (attributes) set via FIG. 20 are stored as setting values in the print attribute instruction data described above.
[0130]
Next, the flow of processing of print data will be described in detail with reference to the flowcharts of FIGS.
[0131]
FIG. 21 is a flowchart illustrating a flow of a process performed by the print control system in response to a print request from the application 105. The CPU provided in the apparatus executes a process based on a program read from the nonvolatile storage unit. To be realized.
[0132]
First, in step S1301, a print request is issued from the application 105 to the intermediate code generation module 106, and printing processing is started.
[0133]
In step S1302, the intermediate code generation module 106 generates an intermediate code based on a print request from the application 105. The intermediate code (also referred to as an electronic document format file) includes the image data such as PDF and the print attribute instruction data such as JDF as described above, and the intermediate code is stored in the file by the intermediate code storage module 107 in step S33. I do.
[0134]
In step S1304, a print range (ratio) for each output destination printer is determined based on the settings of the distributed processing module. For example, in the case of the setting shown in FIG. 20, the distributed processing module sets the first to third pages for the printer A and the fourth to tenth pages for the printer B as the print range of a print job in which the print data is 10 pages in total and 1 copy. Allocate. Information of each page range of the distributed job is also written as a set value in the print attribute instruction data associated with the distribution destination printer (distribution destination printer driver).
[0135]
In step S1305, the print data generation module 108 acquires an intermediate code from the intermediate code storage module 107, and prints print data printable by each output destination printer from the intermediate code based on the print range for each output destination printer determined in step S1304. (Page description language). In the present embodiment, the printers A and B selected for distributed processing correspond to output destination printers, and the print data generation module 108 generates print data in a format that can be processed by both printers from the intermediate codes. .
[0136]
Here, the processing of the print data generation module 108 for generating print data suitable for each output destination printer in step S1305 will be described in more detail. The print data generation module 108 that has read the intermediate code from the intermediate code storage module will be described first. (1050 and 12320), and an OS of the OS is provided so that the printer driver can interpret the intermediate code data (for example, the SVG format or PDF format data described above). It has a function to convert it into an output command (drawing command) suitable for the output module. Then, an output command (rendering command) based on the print page range set in the print attribute instruction data for each distributed output destination is generated for each distributed output destination, and the generated output command is generated for each target output destination. Is instructed to print to a printer driver corresponding to. Then, each printer driver instructed to print generates print data (page description language) appropriate for each device.
[0137]
In step S1306, the print data transfer module 109 receives the print data generated in step S1305, and transfers the received data to the output destination printer via the LAN 104. Although not shown in step S1306, a process is performed to determine whether or not the transfer destination printer supports the completion notification. If it is determined that the printer supports the completion notification according to this determination, The host computer instructs the printer to issue a completion notification event.
[0138]
If it is determined that the printer does not support the completion notification or it is determined that the printer does not support the completion notification, the host computer performs control to omit an instruction to issue a completion notification event. The case where the completion notification support is unknown is, for example, the case where the command system of any printer used for the distributed job is unknown (a printer of another vendor).
[0139]
More specifically, the completion notification may take a plurality of forms, and the host computer instructs the issuance of a plurality of types of completion notification events supported by the printer. The types of the completion notification events include a print completion notification when all the print output of the job requested to the printer is completed normally, and a notification of a normal print completion for each physical page (at a timing corresponding to a normal paper discharge). Issued). By determining whether or not each output destination printer of the distributed job supports the completion notification by the host computer, a mechanism of a normal distributed job is efficiently realized.
[0140]
For example, assuming that a printer that does not support a print completion notification instruction according to a predetermined command system is instructed from a host computer to the printer via a communication line to issue a print completion notification instruction according to the predetermined command system, May malfunction. The “notification of normal printing completion for each physical page” described above corresponds to the processing of step S1403 described below.
[0141]
Further, the information on the function of each output destination printer, which is referred to by the host computer for re-determination, may be obtained from the output destination printer via a communication line each time, or the function information set in advance may be used. In the present embodiment, it is assumed that (information indicating whether or not the completion notification is supported) is referred to again in the determination.
[0142]
Returning to the description of FIG. 20, in step S1307, printing is started by the designated printer. The processing status of this printer is monitored by the printer failure detection module 110 of FIG. 1 (S1408). In the print data processing, if no failure occurs and the print processing is completed normally, the print processing ends normally. (S1408-No, S1309).
[0143]
On the other hand, if a failure occurs during the printing process at each output destination printer (S1408-Yes), the process proceeds to the reprinting process operation described with reference to FIGS. 22 to 25 (S1310).
[0144]
FIG. 22 is a flowchart for explaining the reprint processing operation when a failure is detected in the printer designated as the output destination.
[0145]
When the printer failure detection module 110 detects that a failure has occurred in the output destination printer (S1401), the printer in which the failure has occurred is identified by using a printer ID or the like, and the printer is printing or waiting for printing. Starts the reprint process for the current print job. When the print job to be reprinted is determined, the reprint range An to Bn is determined based on the print range of each distributed print job determined in step S1304, and is set as the maximum reprint range (S1402). For example, when a failure occurs in the printer B in the setting of FIG. 20, the maximum range of the reprint is from the fourth page to the tenth page.
[0146]
Next, the process advances to step S1403, and the faulty page detection module 111 determines whether the faulty printer is a printer that can detect the number of pages that have been printed by the printer. If it is not possible to detect the number of printed pages, the reprint start page N is set as An, which is the first page of the maximum reprint range, and the process proceeds to step S1701 (S1404).
[0147]
The reprint start page set in step S1404 is based on the distribution ratio set in FIG. 20, and when processing 10 pages in total and 1 copy, the printer A prints An = 1 page and the printer B prints In the range, An = 4th page is set.
[0148]
If the number of completed pages can be detected (S1403-YES), the printer failure detection module 110 acquires the number of completed pages, and the failed page detection module 111 sets the failed page number (L) to "print completed page". It is determined from the relationship of “number + value of print start page An” (S1405).
[0149]
Next, the process proceeds to step S1406, and the print attribute detection module 112 detects print attributes from the intermediate codes DEVMODE, JDF, and the like stored from the intermediate code storage module 107. The print attributes include, for example, data obtained by repeatedly arranging data of one copy for printing a plurality of copies, stapling stop instruction, double-sided printing, and bookbinding printing. (Specify the number of sheets to be bundled and folded in two, and then stitching the bundles together to enable bookbinding) is specified. Attribute that indicates whether or not "create multiple booklets" is specified, but is not limited thereto.
[0150]
FIG. 23 is a flowchart illustrating a process of setting a reprint start page based on print attributes. After detecting the print attribute in step S1406 in FIG. 22, the process proceeds to step S1502 in FIG. 23, and the initial value of the reprint start page (N) is set to the failure page number (L) determined in step S1405 in FIG. I do.
[0151]
In step S1504, the print attributes acquired in step S1406 are analyzed. If the intermediate code has a configuration in which data is repeatedly arranged in order to print a plurality of copies (S1504-YES), the process proceeds to step S1505, and if the intermediate code is not configured in a repeated arrangement (S1504-NO). Advances the processing to step S1507.
[0152]
In step S1505, since the print job includes data for a plurality of copies, the number of pages (M) for one copy is acquired in order to perform reprinting in units of copies, and the process proceeds to step S1506. Proceed.
[0153]
In step S1506, in order to determine the reprint start page N, the sequence {1, M, 2 × M, 3 × M. . . , NN × M,. . . : (NN is a natural number)}, and among the elements of this sequence, the maximum value is calculated for the page number L where the failure has occurred and the page An for printing, and the value is set as the page N for reprinting. The process proceeds to step S1701 (FIG. 25).
[0154]
In step S1507, it is determined whether or not a stapling stop instruction has been specified as an attribute (print attribute) of the print job. If so (S1507-YES), the process advances to step S1508 to start the reprint start page. N is set to the print start page An (S1508), and the process proceeds to step S1701 (FIG. 25). Here, in the processing in step S1508, stapling is designated as an attribute of the print job, so if reprinting is performed from the middle of one copy of data, stapling cannot be performed for each copy. The reprint start page N is set to the print start page An.
[0155]
If stapling has not been designated (S1507-NO), the process proceeds to step S1601 (FIG. 24).
[0156]
FIG. 24 is a flowchart illustrating a process of setting a reprint start page based on print attributes related to bookbinding printing, bookbinding separate volumes, and duplex printing. If stapling has not been designated in step S1507 in FIG. 23, it is determined in step S1602 in FIG. 24 whether the attribute of bookbinding printing has been set. If the attribute of bookbinding printing is set as the attribute of the print job (S1602-YES), the process proceeds to step S1603, and if the attribute of bookbinding printing is not set (S1602-NO), the process proceeds to step S1604. Proceed to
[0157]
In step S1603, a sheet containing the faulty page L is searched for from the intermediate code, the first page number included (layed out) in the sheet is set as the reprint start page N, and the process proceeds to step S1701 (FIG. 25). Proceed to).
[0158]
In step S1604, it is determined whether bookbinding separate volume printing is set as the attribute of the print job. If the attribute of bookbinding separate volume is set (S1604-YES), the process proceeds to step S1605; In step S1604, the process advances to step S1606.
[0159]
In step S1605, the intermediate code is searched for a separate volume including the page L in which the failure has occurred, the first page number included in the separate volume is set as the reprint start page N, and the process proceeds to step S1701 (FIG. 25).
[0160]
In step S1606, it is determined whether double-sided printing is set as the attribute of the print job. If the attribute of double-sided printing is set (S1606: YES), the process proceeds to step S1607; Advances the process to step S1701 (FIG. 25).
[0161]
In step S1607, it is determined whether the page on which the failure page L is to be printed is the front or the back of the output sheet. If the page is the front, the failure page L is set as the reprint start page N, and the back page is set. In the case of, the value of the faulty page L-1 is set to N. This makes it possible to print from the back side even when the page where the failure occurred is on the back side.
[0162]
FIG. 25 is a flowchart for explaining the process from the determination of the reprint start page to the start of reprint. In step S1702 of FIG. 25, the reprint start page N based on the print attribute is finally determined.
[0163]
In step S1703, based on the setting of the distributed processing module set in the print job, the output destination printer of priority 2 is adopted as the proxy destination. Alternatively, instead of automatically determining the output destination printer of priority 2 as the proxy destination and continuing the printing process, the user is caused to display the output destination printer of priority 2 as a candidate in a selectable form. , When the user inputs an instruction, such as pressing an "OK" button. In addition, each time the user designates a substitute printer for the user from a printer that can be referred to on the network, the substitute printer is determined, and the determined substitute printer is set as a target printer for reprinting. As still another form, it is also assumed that a printer to which printing is not assigned is selected as a reprint destination printer. For example, if the printer is set as shown in FIG. 20, the printer C is selected. As described above, according to the present embodiment, various methods of determining a substitute destination are assumed. However, even if any method of determining a substitute destination printer is adopted, the reprinting method described with reference to FIGS. It goes without saying that page range processing is applicable.
[0164]
Next, in step S1704, the print data generation module 108 extracts an intermediate file of a print range based on the reprint start page determined in step S1703, and converts the extracted intermediate code into a format printable by the reprint destination printer. The print data is converted and the print data from the reprint start page N to the last page Bn of the maximum range to be reprinted is generated.
[0165]
As another form of step S1704, a substitute printer determined by the method described in the present embodiment is compatible with a substitute source (a printer in which a failure has occurred), or a similar page description language. If the output device is of a model that can interpret the control command, the print data generated in step S1305 is held, and the held print data is used without generating the intermediate code. Form. The print control system performs processing for extracting print data corresponding to the print range and transferring the print data to the proxy printer. In addition, information such as what print data each output destination corresponds to or what functions each output destination has is stored in the host computer in advance. By referring to the information, it is possible to determine whether to divert the print data.
[0166]
In step S1705, 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 (S1706). Here, the process of determining the reprint destination printer is automatically transferred to the proxy destination printer set via the user interface of FIG. 20 described above.
[0167]
As still another preferred form, a user interface capable of selecting and instructing a substitute printer in response to the occurrence of a failure is displayed, and the substitute printer selected and designated via the displayed user interface is displayed. It is also conceivable that the printer is selected as a proxy destination, and is converted into PDL data that can be printed by the selected printer and transferred. At this time, the process of converting the PDL data into printable PDL data by the transfer destination printer is realized by extracting printer driver software corresponding to the transfer destination from a predetermined storage unit and operating it. Further, 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.
[0168]
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 May be provided in a server (e.g., equivalent to 12020 in FIG. 19) capable of communicating with the host computer via a predetermined communication medium such as a network.
[0169]
As described above, according to the present embodiment, even when a printer that processes a print job by distributed processing interrupts processing due to a failure or the like, reprinting is performed based on the print range for distributed printing and the print attribute. By judging the start page, it is possible to maintain the print attribute before interruption for each print range related to distributed printing, and perform reprinting under a consistent print attribute.
[0170]
<Other embodiments>
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, and a printer), but can be applied to an apparatus (copier, printer, facsimile device, and the like) including one device. May be applied.
[0171]
Further, an object of the present invention is to provide a computer (or CPU or MPU) of a system or an apparatus for reading a program code stored in a storage medium storing a program code of software for realizing the functions of the above-described embodiments. It is also achieved by performing.
[0172]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0173]
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.
[0174]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It also includes the case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0175]
Furthermore, after the program code read from the storage medium is written into 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 written based on the instructions of the program code. Also, there 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 processing realizes the functions of the above-described embodiments.
[0176]
【The invention's effect】
As described above, according to the present invention, even when a printer that processes a print job by distributed processing interrupts processing due to a failure or the like, reprinting is started based on the print range for distributed printing and the print attribute. By judging a page, it is possible to maintain the print attributes before interruption for each print range for distributed printing and perform reprinting under consistent print attributes, and output faithfully to the result expected by the user. It can be performed.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an information processing system according to an embodiment.
FIG. 2 is a diagram illustrating an example of a setting screen in an automatic reprint algorithm.
FIG. 3 is a flowchart illustrating a flow of processing when printing is performed from an application 105.
FIG. 4 is a flowchart for explaining a reprint processing operation when a failure is detected in a printer designated as an output destination.
FIG. 5 is a flowchart illustrating a process of setting a reprint start page based on print attributes.
FIG. 6 is a flowchart illustrating a process of setting a reprint start page based on print attributes.
FIG. 7 is a flowchart illustrating a process from determination of a reprint start page to reprint start.
FIG. 8 is a hardware block diagram of the computer 101.
FIG. 9 is a block diagram of a stand-alone document processing system.
FIG. 10 is a diagram showing an example of the structure of a book file.
FIG. 11 is a diagram showing a list of book attributes.
FIG. 12 is a diagram showing a list of chapter attributes.
FIG. 13 is a diagram showing a list of page attributes.
FIG. 14 is a flowchart of a procedure for opening a book file.
FIG. 15 is a flowchart of a procedure for importing an electronic document file into a book file.
FIG. 16 is a flowchart of a procedure for converting application data into an electronic document file.
FIG. 17 is a diagram illustrating an example of a user interface screen when an existing book file is opened.
FIG. 18 is a diagram illustrating an example of a user interface screen when a new book file is opened.
FIG. 19 is a block diagram of a client-server type document processing system.
FIG. 20 is a diagram exemplifying a setting screen of a distributed processing module displayed on a CRT.
FIG. 21 is a flowchart illustrating a flow of a process when printing is performed from an application 105.
FIG. 22 is a flowchart illustrating a reprint processing operation performed when a failure is detected in a printer specified as an output destination.
FIG. 23 is a flowchart illustrating processing for setting a reprint start page based on print attributes.
FIG. 24 is a flowchart illustrating a process of setting a reprint start page based on print attributes related to bookbinding printing, bookbinding separate volumes, and duplex printing.
FIG. 25 is a flowchart illustrating a process from determination of a reprint start page to reprint start.

Claims (22)

プリンタと通信可能な情報処理装置であって、
生成手段により生成された印刷ジョブを前記プリンタに転送する転送制御手段と、
プリンタから送られる、物理頁の印刷物の排出を正常に完了したことに従う通知を認識する認識手段と、
前記印刷ジョブの送出先のプリンタが、前記情報処理装置において物理頁の印刷物の排出を正常に完了したことに従う通知を取得できるプリンタか否かを判別する判別手段とを備え、
前記プリンタに対して、前記転送された印刷ジョブに基づく処理が中断した際に、前記転送制御手段は、前記判別手段による判別により、前記通知を取得できるプリンタでないと判別した場合には、前記プリンタに転送した前記印刷ジョブの最初の頁から当該印刷ジョブを転送し、前記通知を取得できるプリンタであると判別した場合には、前記プリンタから送られた前記通知と、前記印刷ジョブの印刷属性と、に基づき決定される再印刷開始頁の印刷ジョブを転送することを特徴とする情報処理装置。
An information processing device capable of communicating with a printer,
Transfer control means for transferring the print job generated by the generation means to the printer;
Recognition means for recognizing a notification sent from the printer that the ejection of the physical page printed matter has been completed normally,
A determination unit configured to determine whether the printer to which the print job is transmitted is a printer capable of acquiring a notification that the physical information printed matter has been normally discharged in the information processing apparatus,
When the processing based on the transferred print job is interrupted for the printer, the transfer control unit determines that the printer is not a printer that can acquire the notification by the determination by the determination unit. Transfer the print job from the first page of the print job transferred to the printer, if it is determined that the printer can obtain the notification, the notification sent from the printer, and the print attributes of the print job An information processing apparatus for transferring a print job of a reprint start page determined based on the information.
前記生成手段は、前記認識手段によって認識された前記通知と、前記印刷属性とに従って、印刷範囲において再印刷をするための印刷データを中間ファイル形式データより生成し、
前記転送制御手段は、前記生成手段によって生成された印刷データを、再印刷をするプリンタに転送することを特徴とする請求項1に記載の情報処理装置。
The generating unit generates print data for reprinting in a print range from the intermediate file format data according to the notification recognized by the recognition unit and the print attribute,
The information processing apparatus according to claim 1, wherein the transfer control unit transfers the print data generated by the generation unit to a printer that performs reprinting.
印刷ジョブを複数のプリンタにより分散させて印刷処理するために、前記複数のプリンタ毎の印刷範囲の分担を設定する範囲設定手段と、
前記中断した前記印刷範囲毎に対応するプリンタの再印刷を代行するプリンタを、当該印刷範囲毎のプリンタに対して設定する代行設定手段と、を更に有し、
前記認識手段は、前記範囲設定手段により設定された印刷範囲に応じて印刷を行う際に、当該印刷範囲毎の処理における中断を、それぞれの印刷範囲内における通知と共に認識することを特徴とする請求項1又は2に記載の情報処理装置。
A range setting unit configured to set a sharing of a print range for each of the plurality of printers in order to perform print processing by distributing a print job by a plurality of printers;
A proxy setting unit configured to set a printer for performing reprinting of a printer corresponding to each of the interrupted print ranges on a printer for each of the print ranges;
When printing is performed in accordance with the print range set by the range setting unit, the recognition unit recognizes an interruption in processing for each print range together with a notification in each print range. Item 3. The information processing device according to item 1 or 2.
前記通知と、前記印刷ジョブの印刷属性と、に基づき再印刷開始頁を決定する決定手段を更に有し、
前記転送制御手段は、前記決定手段により決定された再印刷開始頁に基づく印刷ジョブを、再送先のプリンタに転送することを特徴とする請求項1に記載の情報処理装置。
A determination unit that determines a reprint start page based on the notification and a print attribute of the print job;
2. The information processing apparatus according to claim 1, wherein the transfer control unit transfers a print job based on the reprint start page determined by the determination unit to a retransmission destination printer.
前記決定手段は、前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を前記分散に伴う前記印刷範囲における最初のページとして設定することを特徴とする請求項3または4に記載の情報処理装置。The determining unit sets the reprint start page as the first page in the print range associated with the distribution when detecting that stapling is specified as a print attribute of the print job. The information processing apparatus according to claim 3, wherein 前記決定手段は、前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)と、前記印刷範囲における最初のページ数(An)と、に基づき算出することを特徴とする請求項4に記載の情報処理装置。The determining means determines that the reprint start page is the number of pages for one copy (M) when detecting that the print attribute of the print job is data in which one copy of data is repeatedly arranged. The information processing apparatus according to claim 4, wherein the calculation is performed based on a first page number (An) in the print range. 前記決定手段は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下であり、前記印刷範囲における最初のページ(An)以上の範囲で最大の値を前記再印刷開始頁として設定することを特徴とする請求項4に記載の情報処理装置。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) for one copy. The reprinting start page is set to a maximum value within the range of the failure page (L) or less and the range of the first page (An) or more in the print range. Item 5. The information processing device according to item 4. 前記決定手段は、前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁に設定することを特徴とする請求項4に記載の情報処理装置。The determining unit, when detecting that bookbinding printing is set as a print attribute of the print job, sets the reprint start page to the first page of the sheet including the failure page. The information processing apparatus according to claim 4, wherein 前記決定手段は、前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁に設定することを特徴とする請求項4に記載の情報処理装置。When the determination unit detects that bookbinding separate volume printing is set as a print attribute of the print job, the reprint start page is searched for a volume including a page where a failure has occurred, and the reprint start page is included in the volume. The information processing apparatus according to claim 4, wherein the information is set to a first page. 印刷ジョブを複数のプリンタに分散させるべく、各々のプリンタにおける印刷範囲を決定する印刷範囲決定手段を、有し、
前記認識手段は、前記各々の印刷範囲における、物理頁の印刷物の排出を正常に完了したことに従う通知を印刷範囲に対応して認識し、
前記印刷範囲決定手段は、前記各々の印刷範囲の何れかの印刷範囲における印刷処理が中断された場合に、前記各々の何れかの印刷範囲の開始頁と、前記各々の何れかの印刷範囲の印刷ジョブの印刷属性と、前記何れかの印刷範囲に対応して認識した前記通知とに基づき、印刷範囲を決定することを特徴とする請求項1に記載の情報処理装置。
In order to distribute the print job to a plurality of printers, a print range determining unit that determines a print range in each printer,
The recognition means, in each of the printing range, recognizes a notification according to the completion of the discharge of the printed matter of the physical page normally corresponding to the printing range,
The print range determining means, when the printing process in any of the print ranges of the respective print ranges is interrupted, the start page of the respective print ranges, and the print page of the respective print ranges The information processing apparatus according to claim 1, wherein a print range is determined based on a print attribute of a print job and the notification recognized corresponding to any one of the print ranges.
プリンタと通信可能な情報処理方法であって、
生成手段により生成された印刷ジョブを前記プリンタに転送する転送制御工程と、
プリンタから送られる、物理頁の印刷物の排出を正常に完了したことに従う通知を認識する認識工程と、
前記印刷ジョブの送出先のプリンタが、前記情報処理装置において物理頁の印刷物の排出を正常に完了したことに従う通知を取得できるプリンタか否かを判別する判別工程とを備え、
前記プリンタに対して、前記転送された印刷ジョブに基づく処理が中断した際に、前記転送制御工程は、前記判別工程による判別により、前記通知を取得できるプリンタでないと判別した場合には、前記プリンタに転送した前記印刷ジョブの最初の頁から当該印刷ジョブを転送し、前記通知を取得できるプリンタであると判別した場合には、前記プリンタから送られた前記通知と、前記印刷ジョブの印刷属性と、に基づき決定される再印刷開始頁の印刷ジョブを転送することを特徴とする情報処理方法。
An information processing method capable of communicating with a printer,
A transfer control step of transferring the print job generated by the generation unit to the printer;
A recognition step of recognizing a notification sent from the printer according to the fact that the physical page printed matter has been successfully discharged,
A determination step of determining whether or not the printer to which the print job is to be transmitted is a printer that can acquire a notification that the discharge of a physical page printed matter has been normally completed in the information processing apparatus;
When the processing based on the transferred print job is interrupted for the printer, the transfer control step determines that the printer is not capable of acquiring the notification by the determination in the determination step. Transfer the print job from the first page of the print job transferred to the printer, if it is determined that the printer can obtain the notification, the notification sent from the printer, and the print attributes of the print job An information processing method of transferring a print job of a reprint start page determined based on the above.
前記生成手段は、前記認識工程によって認識された前記通知と、前記印刷属性とに従って、印刷範囲において再印刷をするための印刷データを中間ファイル形式データより生成し、
前記転送制御工程は、前記生成手段によって生成された印刷データを、再印刷をするプリンタに転送することを特徴とする請求項11に記載の情報処理方法。
The generating unit generates print data for reprinting in a print range from the intermediate file format data according to the notification recognized in the recognition step and the print attribute,
12. The information processing method according to claim 11, wherein the transfer control step transfers the print data generated by the generation unit to a printer that performs reprinting.
印刷ジョブを複数のプリンタにより分散させて印刷処理するために、前記複数のプリンタ毎の印刷範囲の分担を設定する範囲設定工程と、
前記中断した前記印刷範囲毎に対応するプリンタの再印刷を代行するプリンタを、当該印刷範囲毎のプリンタに対して設定する代行設定工程と、を更に有し、
前記認識工程は、前記範囲設定工程により設定された印刷範囲に応じて印刷を行う際に、当該印刷範囲毎の処理における中断を、それぞれの印刷範囲内における通知と共に認識することを特徴とする請求項11又は12に記載の情報処理方法。
A range setting step of setting the sharing of a print range for each of the plurality of printers in order to perform print processing by distributing the print job by a plurality of printers;
A proxy setting step of setting a printer for performing reprinting of a printer corresponding to each of the interrupted print ranges on a printer for each of the print ranges,
The method according to claim 1, wherein, when printing is performed in accordance with the print range set in the range setting step, the recognition step recognizes an interruption in processing for each print range together with a notification in each print range. Item 13. The information processing method according to item 11 or 12.
前記通知と、前記印刷ジョブの印刷属性と、に基づき再印刷開始頁を決定する決定工程を更に有し、
前記転送制御工程は、前記決定工程により決定された再印刷開始頁に基づく印刷ジョブを、再送先のプリンタに転送することを特徴とする請求項11に記載の情報処理方法。
A determining step of determining a reprint start page based on the notification and a print attribute of the print job;
12. The information processing method according to claim 11, wherein the transfer control step transfers a print job based on the reprint start page determined in the determination step to a retransmission destination printer.
前記決定工程は前記印刷ジョブの印刷属性としてステイプル止めが指定されていることを検出した場合に、前記再印刷開始頁を前記分散に伴う前記印刷範囲における最初のページとして設定することを特徴とする請求項13または14に記載の情報処理方法。The determining step sets the reprint start page as the first page in the print range accompanying the distribution when detecting that stapling is specified as a print attribute of the print job. The information processing method according to claim 13. 前記決定工程は前記印刷ジョブの印刷属性として1部のデータを複数回繰り返し並べられたデータであることを検出した場合に、前記再印刷開始頁を、1部数分の頁数(M)と、前記印刷範囲における最初のページ数(An)と、に基づき算出することを特徴とする請求項14に記載の情報処理方法。The determining step determines the reprint start page as the number of pages for one copy (M) when detecting that the data of one copy is repeatedly arranged a plurality of times as the print attribute of the print job; 15. The information processing method according to claim 14, wherein the calculation is performed based on a first page number (An) in the print range. 前記決定工程は、前記1部数分の頁数(M)に基づき、数列(1、M、2×M、3×M、...NN×M...:(NNは自然数))を生成し、該数列要素のうち、障害発生頁(L)以下であり、前記印刷範囲における最初のページ(An)以上の範囲で最大の値を前記再印刷開始頁として設定することを特徴とする請求項14に記載の情報処理方法。The determining step generates a sequence (1, M, 2 × M, 3 × M,... NN × M... (NN is a natural number)) based on the number of pages (M) for one copy. The reprinting start page is set to a maximum value within the range of the failure page (L) or less and the range of the first page (An) or more in the print range. Item 15. The information processing method according to Item 14. 前記決定工程は前記印刷ジョブの印刷属性として、製本印刷が設定されていることを検出した場合に、前記再印刷開始頁を、障害発生頁が含まれる用紙の先頭の頁に設定することを特徴とする請求項14に記載の情報処理方法。The determining step sets the reprint start page to the first page of the sheet including the faulty page when detecting that bookbinding printing is set as the print attribute of the print job. The information processing method according to claim 14, wherein 前記決定工程は前記印刷ジョブの印刷属性として、製本分冊印刷が設定されていることを検出した場合、前記再印刷開始頁を、障害発生頁が含まれる分冊を検索し、その分冊に含まれる先頭の頁に設定することを特徴とする請求項14に記載の情報処理方法。When the determination step detects that bookbinding separate volume printing is set as a print attribute of the print job, the reprint start page is searched for a volume including a page where a failure has occurred, and the first page included in the volume is searched. 15. The information processing method according to claim 14, wherein the information is set on a page of the information processing apparatus. 印刷ジョブを複数のプリンタに分散させるべく、各々のプリンタにおける印刷範囲を決定する印刷範囲決定工程を、有し、
前記認識工程は、前記各々の印刷範囲における、物理頁の印刷物の排出を正常に完了したことに従う通知を印刷範囲に対応して認識し、
前記印刷範囲決定工程は、前記各々の印刷範囲の何れかの印刷範囲における印刷処理が中断された場合に、前記各々の何れかの印刷範囲の開始頁と、前記各々の何れかの印刷範囲の印刷ジョブの印刷属性と、前記何れかの印刷範囲に対応して認識した前記通知とに基づき、印刷範囲を決定することを特徴とする請求項11に記載の情報処理方法。
In order to distribute a print job to a plurality of printers, a print range determining step of determining a print range in each printer,
The recognition step, in each of the printing range, recognizes a notification in accordance with the print range that the discharge of the printed matter of the physical page has been normally completed,
The printing range determination step, when the printing process in any one of the printing ranges of the respective printing range is interrupted, the start page of the respective one of the printing range, the printing range of each of the respective printing range 12. The information processing method according to claim 11, wherein a print range is determined based on a print attribute of a print job and the notification recognized corresponding to any one of the print ranges.
請求項11乃至20のいずれか1項に記載の情報処理方法をコンピュータが実行する機能として特定することを特徴とするコンピュータプログラム。A computer program for specifying the information processing method according to any one of claims 11 to 20 as a function to be executed by a computer. 請求項21に記載のコンピュータプログラムを格納することを特徴とするコンピュータ可読記憶媒体。A computer-readable storage medium storing the computer program according to claim 21.
JP2002160393A 2001-12-03 2002-05-31 Information processing apparatus and information processing method Expired - Fee Related JP3572059B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2002160393A JP3572059B2 (en) 2002-05-31 2002-05-31 Information processing apparatus and information processing method
US10/304,954 US7180623B2 (en) 2001-12-03 2002-11-27 Method and apparatus for print error recovery
US11/698,842 US8218172B2 (en) 2001-12-03 2007-01-29 Method and apparatus for print error recovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002160393A JP3572059B2 (en) 2002-05-31 2002-05-31 Information processing apparatus and information processing method

Publications (2)

Publication Number Publication Date
JP2004005245A JP2004005245A (en) 2004-01-08
JP3572059B2 true JP3572059B2 (en) 2004-09-29

Family

ID=30429821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002160393A Expired - Fee Related JP3572059B2 (en) 2001-12-03 2002-05-31 Information processing apparatus and information processing method

Country Status (1)

Country Link
JP (1) JP3572059B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7180623B2 (en) 2001-12-03 2007-02-20 Canon Kabushiki Kaisha Method and apparatus for print error recovery
JP4553831B2 (en) * 2005-11-21 2010-09-29 株式会社沖データ Image forming apparatus
JP5539280B2 (en) 2011-09-07 2014-07-02 キヤノン株式会社 Data processing apparatus, data processing method and program
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
JP2019212070A (en) * 2018-06-06 2019-12-12 コニカミノルタ株式会社 Information processing apparatus, program, and print system

Also Published As

Publication number Publication date
JP2004005245A (en) 2004-01-08

Similar Documents

Publication Publication Date Title
US7180623B2 (en) Method and apparatus for print error recovery
JP4143426B2 (en) Document processing apparatus and method
JP3634695B2 (en) Printing control method and apparatus
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
JP4095512B2 (en) Document conversion method and apparatus
US8395806B2 (en) Information processing apparatus, method, and program for bookbinding with selected cover layout type
JP2003091518A (en) Document processing method and system
JP2004192248A (en) Document processing apparatus and method
JP2003091521A (en) Document processing apparatus and method
JP2003162519A (en) Document processing method and system
JP4756796B2 (en) Information processing apparatus, information processing method, program, and storage medium
JP4953931B2 (en) Information processing apparatus and method
CN101334719A (en) Information processing device and control method thereof
JP5677043B2 (en) Information processing apparatus, information processing method, and program
JP2006107142A (en) Document processing apparatus and method
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
JP2006293598A (en) Document processing system
JP4095624B2 (en) Information processing apparatus, print processing method, program, storage medium
JP5882850B2 (en) Document processing apparatus, document processing method, and program
JP2003091386A (en) Information processing apparatus and method
JP5288990B2 (en) Information processing apparatus and staple attribute setting method

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20031224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040309

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040625

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100702

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100702

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110702

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120702

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120702

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees