JP4586839B2 - Image processing apparatus, printing system, and program - Google Patents

Image processing apparatus, printing system, and program Download PDF

Info

Publication number
JP4586839B2
JP4586839B2 JP2007252150A JP2007252150A JP4586839B2 JP 4586839 B2 JP4586839 B2 JP 4586839B2 JP 2007252150 A JP2007252150 A JP 2007252150A JP 2007252150 A JP2007252150 A JP 2007252150A JP 4586839 B2 JP4586839 B2 JP 4586839B2
Authority
JP
Japan
Prior art keywords
record
image
sheet
printing
logical page
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
JP2007252150A
Other languages
Japanese (ja)
Other versions
JP2009086740A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2007252150A priority Critical patent/JP4586839B2/en
Priority to US12/051,308 priority patent/US8089644B2/en
Publication of JP2009086740A publication Critical patent/JP2009086740A/en
Application granted granted Critical
Publication of JP4586839B2 publication Critical patent/JP4586839B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置、印刷システム及びプログラムに関する。   The present invention relates to an image processing apparatus, a printing system, and a program.

データベースと連携することで、対象ごとに内容を差し替えた印刷画像を生成し、それを用いて印刷する可変データ印刷技術が知られている。可変データ印刷は、可変印刷又はバリアブル印刷等とも呼ばれる。近年の可変データ印刷では、宛名などのような単なる文字列の差し替えにとどまらず、データベースのレコードに応じてグラフやその他複雑な画像の差し替えも可能となっている。可変データ印刷は、共通のレイアウトデータに対して個々のレコードを適用することにより、それら各レコードに対応した印刷結果を得る。   A variable data printing technique is known in which a print image in which contents are replaced for each target is generated in cooperation with a database, and printing is performed using the print image. Variable data printing is also called variable printing or variable printing. In recent variable data printing, it is possible to replace not only simple character strings such as addresses but also graphs and other complicated images according to database records. In variable data printing, by applying individual records to common layout data, a print result corresponding to each record is obtained.

また、両面印刷やいわゆるN−up印刷のように、1枚の用紙に対し複数の論理ページを印刷する印刷処理が知られている。N−up印刷は、1つの物理ページ(すなわち用紙の1つの面)に対してN個の論理ページを並べて印刷する処理である(Nは一般に2のべき乗の整数)。   Also known is a printing process for printing a plurality of logical pages on one sheet of paper, such as double-sided printing or so-called N-up printing. N-up printing is a process in which N logical pages are printed side by side on one physical page (that is, one side of a sheet) (N is generally an integer that is a power of 2).

印刷画像の生成の際には、例えば、使用する画像やフォーム(書式データ)、フォント、外字フォントなどのソフトリソース(情報資源)に画像処理装置がアクセスできない場合や、そのようなソフトリソースのデータが壊れている場合には、印刷画像が生成できないので、エラーが発生する。また、レコード中の必須のフィールドが空や不正な値である場合、レコードのフィールド数が間違っている場合などにも、エラーが生じる。   When generating a print image, for example, when the image processing apparatus cannot access software resources (information resources) such as images to be used, forms (format data), fonts, and external character fonts, or data of such software resources If is broken, an error occurs because a print image cannot be generated. An error also occurs when a required field in a record is empty or an invalid value, or when the number of fields in the record is incorrect.

通常の印刷では、1つのジョブ(すなわちホストコンピュータやクライアントコンピュータから入力された1つの印刷データ、又はその1つの印刷データに対する印刷処理のこと)の印刷用の画像の生成中にエラーが発生すると、その画像の生成を中断することが一般的である。画像の生成を中断した場合の対応としては、エラーが生じた旨を表示するエラーシートを印刷したり、エラーが生じるまでに生成された画像を印刷したりといったことが行われている。   In normal printing, if an error occurs during generation of an image for printing of one job (that is, one print data input from a host computer or a client computer, or a print process for the one print data), It is common to interrupt the generation of the image. In response to interruption of image generation, an error sheet indicating that an error has occurred is printed, or an image generated until an error occurs is printed.

一方、特許文献1には、印刷データの中の一部に誤りがあっても印刷画像の生成を継続できるようにするための技術が示される。この文献に記載された装置は、印刷データの読み出し時に、印刷データ中の各命令ブロックの位置情報及びサイズを記憶しておき、エラー検出時には、その際に実行されていた命令ブロックの位置情報及びサイズを読み出して、当該命令ブロックの先頭位置からサイズ分のデータを、空白を示すデータで上書きする。そして、このように加工した後の印刷データを再度解釈してビットマップデータ等に展開する。   On the other hand, Patent Document 1 discloses a technique for allowing generation of a print image to continue even if there is an error in part of print data. The apparatus described in this document stores the position information and size of each instruction block in the print data at the time of reading the print data, and at the time of error detection, the position information of the instruction block executed at that time and The size is read, and the data corresponding to the size from the head position of the instruction block is overwritten with data indicating a blank. Then, the print data processed in this way is interpreted again and developed into bitmap data or the like.

特開平10−320139号公報Japanese Patent Laid-Open No. 10-320139

本発明は、可変データ印刷で複数のレコードに基づき生成した複数の論理ページを1枚の用紙に印刷する場合に、レコードに対応する画像の生成でエラーが生じても、不完全に印刷された用紙を出力せずに処理を継続できるようにすることを目的とする。   According to the present invention, when a plurality of logical pages generated based on a plurality of records by variable data printing is printed on one sheet, even if an error occurs in the generation of an image corresponding to the record, it is printed incompletely. The object is to allow the processing to continue without outputting the paper.

請求項1に記載の発明は、複数のレコードを含む可変印刷データを受信する受信手段と、指定された描画プログラムを、前記可変印刷データ中の各レコードについて実行することでレコードに対応する論理ページの画像を生成する画像生成手段と、前記画像生成手段が生成した1以上の前記論理ページの画像を記憶する記憶手段と、前記記憶手段に記憶された論理ページの画像群を用いて、印刷装置に1枚の用紙に対し複数の論理ページの画像を印刷する印刷処理を実行させる制御を行う印刷制御手段と、前記印刷制御手段が前記印刷装置に1枚の用紙に対して複数の論理ページの画像を印刷する印刷処理を実行させるのに用いる論理ページの画像を前記画像生成手段で生成する際に前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生したことに対応して、前記記憶手段に記憶され当該エラーが発生したレコードに対応する論理ページの画像と同じ用紙に印刷されるべき論理ページの画像群を用いた印刷を禁止するエラー処理と、前記画像生成手段に画像生成対象のレコードを当該用紙の次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させるエラー処理を行うエラー処理手段と、を備える画像処理装置である。
請求項2に記載の発明は、前記画像生成手段は、前記レコードごとについて前記描画プログラムを解釈する解釈処理と、前記解釈処理による前記レコードごとについての前記描画プログラムの解釈結果に基づき当該レコードに対応する論理ページの画像を生成する画像生成処理と、を実行し、前記画像処理装置は、更に、前記画像生成手段が前記1枚の用紙に対して印刷されるべき前記複数の論理ページのうち何ページ目までについて前記解釈処理が完了したかを示す情報を管理するページ数管理手段を備え、前記エラー処理手段は、前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生した場合に、前記ページ数管理手段に管理された情報に基づき、前記エラーが発生したレコード以降前記1枚の用紙に印刷されるべき最後の論理ページに対応するレコードまでは、少なくとも前記解釈処理を前記画像生成手段に実行させ、前記最後の論理ページに対応するレコードの次のレコードを前記次の用紙に印刷されるべきレコードとし、前記画像生成手段に画像生成対象のレコードを当該次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させる、ことを特徴とする請求項1に記載の画像処理装置である。
According to the first aspect of the present invention, a receiving unit that receives variable print data including a plurality of records and a logical page corresponding to a record by executing a designated drawing program for each record in the variable print data. A printing apparatus using an image generation unit that generates an image of the image, a storage unit that stores an image of one or more logical pages generated by the image generation unit, and an image group of logical pages stored in the storage unit A print control unit that performs control to execute a printing process for printing images of a plurality of logical pages on one sheet of paper, and the print control unit causes the printing apparatus to store a plurality of logical pages on one sheet. either record the record to be printed the on one sheet of paper in generating an image of the logical pages to be used for executing the printing process for printing an image by the image generating means In particular in response error for de, prohibit printing using an image group of the image and the logical page to be printed on the same sheet of the logical page corresponding to the record in which the error stored in said memory means is generated Error processing means, and error processing means for performing error processing for causing the image generation means to switch the record for image generation to a record to be printed on the next sheet of the sheet and to continue generating a logical page image. An image processing apparatus is provided.
The invention according to claim 2 is characterized in that the image generation unit responds to the record based on an interpretation process for interpreting the drawing program for each record and an interpretation result of the drawing program for each record by the interpretation process. An image generation process for generating an image of the logical page to be executed, and the image processing apparatus further includes: the image generation unit configured to determine which of the plurality of logical pages to be printed on the one sheet of paper. A page number management unit that manages information indicating whether the interpretation processing has been completed for pages up to the page; and the error processing unit generates an error in any one of the records to be printed on the one sheet In this case, based on the information managed by the page number management means, printing is performed on the one sheet after the record in which the error has occurred. Until the record corresponding to the last logical page to be processed, at least the interpretation processing is executed by the image generation unit, and the record next to the record corresponding to the last logical page should be printed on the next sheet 2. The image processing according to claim 1, wherein the image generation unit switches the image generation target record to a record to be printed on the next sheet and continues generation of an image of a logical page. Device.

請求項に記載の発明は、複数のレコードを含む可変印刷データを受信する受信手段と、指定された描画プログラムを、前記可変印刷データ中の各レコードについて実行することでレコードに対応する論理ページの画像を生成する画像生成手段と、前記画像生成手段が生成した1以上の前記論理ページの画像を記憶する記憶手段と、印刷装置と、前記記憶手段に記憶された論理ページの画像群を用いて、前記印刷装置に1枚の用紙に対し複数の論理ページの画像を印刷する印刷処理を実行させる制御を行う印刷制御手段と、前記印刷制御手段が前記印刷装置に1枚の用紙に対して複数の論理ページの画像を印刷する印刷処理を実行させるのに用いる論理ページの画像を前記画像生成手段で生成する際に前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生したことに対応して、前記記憶手段に記憶され当該エラーが発生したレコードに対応する論理ページの画像と同じ用紙に印刷されるべき論理ページの画像群を用いた印刷を禁止するエラー処理と、前記画像生成手段に画像生成対象のレコードを当該用紙の次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させるエラー処理を行うエラー処理手段と、を備える印刷システムである。
請求項4に記載の発明は、前記画像生成手段は、前記レコードごとについて前記描画プログラムを解釈する解釈処理と、前記解釈処理による前記レコードごとについての前記描画プログラムの解釈結果に基づき当該レコードに対応する論理ページの画像を生成する画像生成処理と、を実行し、前記印刷システムは、更に、前記画像生成手段が前記1枚の用紙に対して印刷されるべき前記複数の論理ページのうち何ページ目までについて前記解釈処理が完了したかを示す情報を管理するページ数管理手段を備え、前記エラー処理手段は、前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生した場合に、前記ページ数管理手段に管理された情報に基づき、前記エラーが発生したレコード以降前記1枚の用紙に印刷されるべき最後の論理ページに対応するレコードまでは、少なくとも前記解釈処理を前記画像生成手段に実行させ、前記最後の論理ページに対応するレコードの次のレコードを前記次の用紙に印刷されるべきレコードとし、前記画像生成手段に画像生成対象のレコードを当該次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させる、ことを特徴とする請求項3に記載の印刷システムである。
According to a third aspect of the present invention, a receiving unit that receives variable print data including a plurality of records and a logical page corresponding to a record by executing a designated drawing program for each record in the variable print data. An image generation unit that generates an image of the image, a storage unit that stores an image of one or more logical pages generated by the image generation unit, a printing apparatus, and an image group of logical pages stored in the storage unit Te, and print control means for performing control to execute the printing process for printing images of a plurality of logical pages to one sheet of paper to said printing apparatus, said printing control means for a sheet of paper to the printing apparatus A record to be printed on the one sheet when the image generating unit generates a logical page image used for executing a printing process for printing a plurality of logical page images. In response to an error has occurred for one of the record, the error is stored is used an image group of logical pages to be printed on the same paper as the image of the logical page corresponding to the record generated in the storage means Error processing means for prohibiting printing, and error processing means for causing the image generation means to switch the record for image generation to a record to be printed on the next sheet of the sheet and to continue generating the logical page image And a printing system.
The invention according to claim 4 is characterized in that the image generation means corresponds to the record based on an interpretation process for interpreting the drawing program for each record and an interpretation result of the drawing program for each record by the interpretation process. Image generation processing for generating an image of a logical page to be executed, and the printing system further includes: how many pages of the plurality of logical pages to be printed on the one sheet by the image generation means A page number management unit that manages information indicating whether the interpretation processing has been completed for the eyes, and the error processing unit generates an error in any one of the records to be printed on the one sheet of paper In this case, based on the information managed by the page number management means, printing on the one sheet after the record in which the error has occurred Until the record corresponding to the last logical page to be processed, at least the interpretation processing is executed by the image generation unit, and the record next to the record corresponding to the last logical page should be printed on the next sheet 4. The printing system according to claim 3, wherein a record is generated, and the image generation unit switches the image generation target record to a record to be printed on the next sheet and continues generation of an image of a logical page. 5. It is.

請求項に記載の発明は、コンピュータに、複数のレコードを含む可変印刷データを受信するステップと、指定された描画プログラムを、前記可変印刷データ中の各レコードについて実行することでレコードに対応する論理ページの画像を生成する画像生成ステップと、前記生成された論理ページの画像を記憶装置に格納するステップと、前記記憶装置に格納された論理ページの画像群を用いて、印刷装置に1枚の用紙に対し複数の論理ページの画像を印刷する印刷処理を実行させる制御を行う印刷制御ステップと、前記印刷制御ステップで前記印刷装置に1枚の用紙に対して複数の論理ページの画像を印刷する印刷処理を実行させるのに用いる論理ページの画像を前記画像生成ステップで生成する際に前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生したことに対応して、前記記憶装置に記憶され当該エラーが発生したレコードに対応する論理ページの画像と同じ用紙に印刷されるべき論理ページの画像群を用いた印刷を禁止するとともに、画像生成の対象レコードを当該用紙の次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続するエラー処理ステップと、を実行させるためのプログラムである。
請求項6に記載の発明は、前記画像生成ステップでは、前記レコードごとについて前記描画プログラムを解釈する解釈処理と、前記解釈処理による前記レコードごとについての前記描画プログラムの解釈結果に基づき当該レコードに対応する論理ページの画像を生成する画像生成処理と、を実行し、前記プログラムは、前記画像生成ステップにて前記1枚の用紙に対して印刷されるべき前記複数の論理ページのうち何ページ目までについて前記解釈処理が完了したかを示す情報を管理するページ数管理ステップ、を更に前記コンピュータに実行させ、前記エラー処理ステップでは、前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生した場合に、前記ページ数管理ステップにより管理された情報に基づき、前記エラーが発生したレコード以降前記1枚の用紙に印刷されるべき最後の論理ページに対応するレコードまでは、前記画像生成ステップにて少なくとも前記解釈処理を実行し、前記最後の論理ページに対応するレコードの次のレコードを前記次の用紙に印刷されるべきレコードとし、前記画像生成ステップに画像生成対象のレコードを当該次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させる、ことを特徴とする請求項5に記載のプログラムである。
According to a fifth aspect of the present invention, a step of receiving variable print data including a plurality of records in a computer and executing a designated drawing program for each record in the variable print data correspond to the records . using an image generating step of generating an image of the logical pages, storing the image of the logical pages the generated in the storage device, an image group of the logical page stored in the storage device, 1 in printing device A print control step for performing a print process for printing images of a plurality of logical pages on a sheet of paper, and a plurality of logical page images for one sheet in the printing apparatus in the print control step. A record to be printed on the one sheet of paper when the image generating step generates an image of a logical page used for executing a printing process for printing. Corresponding to the occurrence of an error for any one of the records in the group, a logical page image group to be printed on the same sheet as the logical page image stored in the storage device and corresponding to the record in which the error has occurred. as well as prohibiting the printing using a program for executing the error processing step of continuing the generation of an image of the logical pages target record of the image generated by switching the record to be printed on the next sheet of the paper, the It is.
According to a sixth aspect of the present invention, in the image generating step, an interpretation process for interpreting the drawing program for each record and an interpretation result of the drawing program for each record by the interpretation process are supported. An image generation process for generating an image of a logical page to be executed, and the program generates up to how many pages of the plurality of logical pages to be printed on the one sheet in the image generation step A page number management step for managing information indicating whether the interpretation processing has been completed for the computer, and in the error processing step, for any one of the records to be printed on the one sheet of paper If an error occurs, based on the information managed by the page number management step, From the record in which the error occurs to the record corresponding to the last logical page to be printed on the one sheet, at least the interpretation processing is executed in the image generation step, and the record corresponds to the last logical page. The record next to the record is the record to be printed on the next sheet, and the image generation step is switched to the record to be printed on the next sheet in the image generation step to continue generating the logical page image. The program according to claim 5, wherein:

請求項1〜6に係る発明によれば、可変データ印刷で複数のレコードに基づき生成した複数の論理ページを1枚の用紙に印刷する場合に、あるレコードについてエラーが発生しても、不完全に印刷された用紙を出力せずに処理を継続できる According to the first to sixth aspects of the invention, when a plurality of logical pages generated based on a plurality of records in variable data printing are printed on a single sheet, even if an error occurs for a certain record, it is incomplete The processing can be continued without outputting the paper printed on the .

図1を参照して、実施形態の画像形成システムの構成を説明する。このシステムは、プリントサーバ100と印刷装置200とを備える。印刷装置200は、画像を用紙に印刷する。プリントサーバ100は、クライアント装置300から入力される印刷データ(例えばページ記述言語で記述される)を、印刷装置200が取り扱い可能な画像データに変換し、印刷装置200に提供する。この他、プリントサーバ100は、クライアント装置300から入力される印刷データ(「ジョブ」とも呼ばれる)の実行順序の制御などを行う機能を有していてもよい。プリントサーバ100と印刷装置200とは、ネットワーク又はケーブル等の通信路で相互接続された別々の装置であってもよいし、一体の装置として構成されてもよい。プリントサーバ100は、ネットワーク又はケーブル等の通信路を介してクライアント装置300と通信可能となっている。   With reference to FIG. 1, the configuration of the image forming system of the embodiment will be described. This system includes a print server 100 and a printing apparatus 200. The printing apparatus 200 prints an image on a sheet. The print server 100 converts print data (for example, described in a page description language) input from the client device 300 into image data that can be handled by the printing device 200 and provides the image data to the printing device 200. In addition, the print server 100 may have a function of controlling the execution order of print data (also referred to as “job”) input from the client device 300. The print server 100 and the printing apparatus 200 may be separate apparatuses interconnected by a communication path such as a network or a cable, or may be configured as an integrated apparatus. The print server 100 can communicate with the client device 300 via a communication path such as a network or a cable.

ここで、プリントサーバ100は、可変印刷(バリアブルプリント)データを処理する可変データ印刷機能を備える。可変印刷データは、印刷対象となる1以上のレコードを示す情報と、それらレコード群に適用されるレイアウトプログラムを示す情報とを含む。可変印刷データのデータ内容の一例を図2に示す。この例では、1行目の記述"(layout01) SETLAYOUT"により、この可変印刷データの処理において用いるレイアウトプログラムを指定している。用いられるレイアウトプログラムの識別名は"layout01"であり、"SETLAYOUT"がレイアウトプログラムを指定する命令である。2行目以降が、印刷対象となるレコード群のデータである。すなわち、2行目は、印刷対象のレコード中の各フィールド(項目)のフィールド名を表す。このデータ例は、顧客ごとにそれぞれ個別の画像データを含んだダイレクトメールを印刷するものであり、レコードには、顧客のID、氏名、及び画像データの識別子(例えばファイル名)が含まれる。3行目以降の各行が、個々のレコードである。なお、印刷される画像データの実体は、リソースリポジトリ120(図1ではプリントサーバ100内に示しているが、これに限らず、プリントサーバ100からアクセス可能なネットワーク上に存在してもよい)に保存されている。   Here, the print server 100 has a variable data printing function for processing variable printing (variable print) data. The variable print data includes information indicating one or more records to be printed and information indicating a layout program applied to the record group. An example of the data content of the variable print data is shown in FIG. In this example, the description “(layout01) SETLAYOUT” on the first line specifies a layout program to be used in this variable print data processing. The identification name of the layout program used is “layout01”, and “SETLAYOUT” is an instruction for designating the layout program. The second and subsequent lines are data of a record group to be printed. That is, the second line represents the field name of each field (item) in the record to be printed. In this data example, a direct mail including individual image data is printed for each customer, and the record includes the customer ID, name, and image data identifier (for example, file name). Each line after the third line is an individual record. The entity of the image data to be printed is stored in the resource repository 120 (shown in the print server 100 in FIG. 1, but is not limited thereto, and may exist on a network accessible from the print server 100). Saved.

レイアウトプログラムは、可変印刷データ中のレコードから印刷用の画像を生成するための手順を記述したプログラムであり、ページ記述言語等の言語で記述される。レイアウトプログラムには、レコード中の1以上のフィールドの値に基づき画像を生成するコマンドが含まれる。この種のコマンドは、レコードごとに異なる画像を描画する。また、レイアウトプログラムには、レコードに依存しない固定的なデータを描画するコマンド、描画位置を移動させるコマンドなどが含まれ得る。   The layout program is a program that describes a procedure for generating an image for printing from a record in variable print data, and is described in a language such as a page description language. The layout program includes a command for generating an image based on the values of one or more fields in the record. This type of command draws a different image for each record. The layout program may include a command for drawing fixed data that does not depend on a record, a command for moving the drawing position, and the like.

図3にレイアウトプログラムの一例を示す。この例は、図2の可変印刷データ内で指定されているレイアウトプログラム"layout01"の内容である。1行目の"SETFORM"はこのレイアウトプログラムの中で使用する背景フォーム画像を指定するコマンドである。同じく1行目の"form01.tif"は、使用する背景フォーム画像の識別子(例えばファイル名)である。2行目は、座標(72,144)から描画を開始する旨のコマンドである。また、3行目は、顧客の名前(NAMEフィールド)をテキストとして描画出力("show")したあと、続けて「様へのお知らせ」という文字列を描画出力するコマンドである。そして、4行目は、IMGフィールドが指し示す顧客に対応する画像を描画出力するコマンドである。なお、レイアウトプログラムやその中で用いられる背景フォーム画像は、それぞれ、識別子に対応づけてリソースリポジトリ120に保存されている。   FIG. 3 shows an example of the layout program. This example shows the contents of the layout program “layout01” specified in the variable print data of FIG. “SETFORM” on the first line is a command for designating a background form image to be used in this layout program. Similarly, “form01.tif” on the first line is an identifier (for example, a file name) of the background form image to be used. The second line is a command to start drawing from the coordinates (72, 144). The third line is a command for drawing and outputting a character string “Notice to Sama” after drawing (“show”) the customer's name (NAME field) as text. The fourth line is a command for drawing and outputting an image corresponding to the customer indicated by the IMG field. The layout program and the background form image used therein are stored in the resource repository 120 in association with the identifier.

クライアント装置300は、図2に例示したような可変印刷データを生成し、プリントサーバ100に送信して印刷を依頼する。なお、以上の例は、リソースリポジトリ120にあるレイアウトプログラムや背景フォーム画像を用いるものであったが、レイアウトプログラム又は背景フォーム画像(又はその両方)を可変印刷データと共にクライアント装置300からプリントサーバ100に送信してもよい。また、以上の例では、印刷対象とするレコード群は可変印刷データの中に含まれていたが、この代わりに、ネットワーク上のデータベースにあるレコード群を一意に特定する情報を可変印刷データ中に記述し、可変印刷の際にデータベースからそれらレコードを取得するようにしてもよい。   The client apparatus 300 generates variable print data as illustrated in FIG. 2 and transmits it to the print server 100 to request printing. In the above example, the layout program and the background form image in the resource repository 120 are used. However, the layout program and / or the background form image (or both) are transferred from the client apparatus 300 to the print server 100 together with the variable print data. You may send it. In the above example, the record group to be printed is included in the variable print data. Instead, information that uniquely identifies the record group in the network database is included in the variable print data. These records may be described and the records may be acquired from the database during variable printing.

プリントサーバ100において、ジョブ受信部110は、クライアント装置300からジョブ(この場合は可変印刷データ)を受信する。   In the print server 100, the job receiving unit 110 receives a job (in this case, variable print data) from the client device 300.

リソースリポジトリ120には、可変印刷データの処理の際に用いられる各種のリソースが格納されている。例えば、1以上のレイアウトプログラム、1以上のフォームのデータ(例えば背景フォーム画像など)、フォーム以外で複数のレコードに共通して利用される1以上の画像のデータ、外字フォントなどが格納されている。   The resource repository 120 stores various resources used when processing variable print data. For example, one or more layout programs, one or more form data (such as a background form image), one or more image data commonly used for a plurality of records other than the form, and external character fonts are stored. .

レイアウト処理部130は、可変印刷データを処理して印刷用の画像データを生成する。すなわち、レイアウト処理部130は、可変印刷データ中の各レコードについてレイアウトプログラムを実行し、レコードごとの画像データを生成して印刷装置200に供給する。レイアウト処理部130は、例えば、背景フォーム画像の上に、固定的な画像やレコードごとの画像を描画(オーバーレイ)することで、個々のレコードに対応する画像データを生成する。   The layout processing unit 130 processes the variable print data and generates image data for printing. That is, the layout processing unit 130 executes a layout program for each record in the variable print data, generates image data for each record, and supplies the image data to the printing apparatus 200. For example, the layout processing unit 130 draws (overlays) a fixed image or an image for each record on the background form image to generate image data corresponding to each record.

なお、レイアウト処理部130は、レイアウトプログラムを解釈・実行する部分(解釈実行部と呼ぶ)と、その解釈実行の結果得られる中間データ(ディスプレイリストとも呼ばれる)を処理してラスター画像を描画する部分(描画部と呼ぶ)とに分かれていてもよい。また、描画部を動作させずに解釈実行部だけ動作させる機能を備えていてもよい。例えば、エラーが発生した場合に描画部を停止させ、解釈実行部にレイアウトプログラムの解釈・実行を続行させるのである。レコードの通し番号などのように、複数のレコードに渡って利用される制御変数をレイアウトプログラムの中で取り扱う場合がある。そのような場合、あるレコードでエラーが発生した場合でも、レイアウトプログラムの解釈・実行を続行してそのような制御変数を処理することで、後続のレコードが正しく処理できる。エラーの場合に描画部を動作させてもよいが、停止させればその分レイアウト処理部130の負荷は減る。   The layout processing unit 130 interprets and executes a layout program (referred to as an interpretation execution unit) and a portion that renders a raster image by processing intermediate data (also referred to as a display list) obtained as a result of the interpretation execution. (Referred to as a drawing unit). Further, a function of operating only the interpretation execution unit without operating the drawing unit may be provided. For example, when an error occurs, the drawing unit is stopped and the interpretation execution unit continues to interpret and execute the layout program. Control variables used across multiple records, such as record serial numbers, may be handled in the layout program. In such a case, even if an error occurs in a certain record, the subsequent record can be processed correctly by continuing to interpret and execute the layout program and processing such a control variable. Although the drawing unit may be operated in the case of an error, if the operation is stopped, the load on the layout processing unit 130 is reduced accordingly.

レイアウト処理部130が生成した画像データは印刷装置200に供給される。印刷装置200は、その画像データを用紙に印刷する。印刷装置200の後段に、後処理装置250を設けてもよい。後処理装置250は、例えば、印刷装置200が出力した印刷結果に対し、ステープル留め、パンチ穴空け、又は製本などの後処理を行う。ここで、後処理装置250は、印刷結果をレコードごとに後処理(例えば1レコードの印刷結果ごとに製本するなど)するよう制御してもよい。例えば、クライアント装置300が、可変印刷データと、レコードごとの後処理(例えば製本)を指示するジョブ制御情報と、を含んだジョブデータを生成してプリントサーバ100に送信すればよい。この場合、プリントサーバ100は、そのジョブ制御情報に従い、例えば1レコードの処理結果の画像データ(この画像データは複数ページ分ある場合もある)を出力するごとに、後処理の指示を、印刷装置200経由で又は直接に、後処理装置250に送ればよい。   The image data generated by the layout processing unit 130 is supplied to the printing apparatus 200. The printing apparatus 200 prints the image data on a sheet. A post-processing device 250 may be provided after the printing device 200. The post-processing device 250 performs post-processing such as stapling, punching, or bookbinding on the printing result output from the printing device 200, for example. Here, the post-processing device 250 may control to post-process the print result for each record (for example, bookbinding for each print result of one record). For example, the client apparatus 300 may generate job data including variable print data and job control information that instructs post-processing (for example, bookbinding) for each record, and transmit the job data to the print server 100. In this case, according to the job control information, the print server 100 outputs a post-processing instruction to the printing apparatus each time image data (for example, this image data may be for a plurality of pages) is output, for example, for one record. It may be sent to the post-processing apparatus 250 via 200 or directly.

エラー処理部135は、レイアウト処理部130による画像データ生成処理の際の、レコードに起因するエラーに関する処理を実行する。エラー処理部135の処理については、後で詳しく説明する。   The error processing unit 135 executes processing related to an error caused by a record when the image processing unit 130 generates image data. The processing of the error processing unit 135 will be described in detail later.

画像記憶部140は、レイアウト処理部130が生成した各ページの画像データを、印刷の開始まで一時的に記憶するための装置である。画像記憶部140に記憶される画像データは、ラスター画像データでも中間データでもよい。   The image storage unit 140 is a device for temporarily storing the image data of each page generated by the layout processing unit 130 until the start of printing. The image data stored in the image storage unit 140 may be raster image data or intermediate data.

エラーログ記憶部150は、レイアウト処理部130の処理の中で発生したエラーについてのログ情報を記憶する。ログ情報には、例えば、エラーの発生日時、当該エラーが発生したジョブの識別子、当該エラーの種類、当該エラーの生じたレコードの識別子、が含まれる。   The error log storage unit 150 stores log information regarding errors that have occurred during the processing of the layout processing unit 130. The log information includes, for example, the date and time when the error occurred, the identifier of the job in which the error occurred, the type of the error, and the identifier of the record in which the error occurred.

画像記憶部140及びエラーログ記憶部150は、例えばRAM(ランダムアクセスメモリ)又はハードディスクドライブなどのハードウエアを用いて構成される。   The image storage unit 140 and the error log storage unit 150 are configured using hardware such as a RAM (Random Access Memory) or a hard disk drive, for example.

次に、図4及び図5を参照して、レイアウト処理部130及びエラー処理部135の処理手順の一例を説明する。レイアウト処理部130が正常モードと異常モードという2つの排他的な動作モードを有する。可変印刷データの処理を開始した時点では、レイアウト処理部130は正常モードに設定されている。   Next, an example of processing procedures of the layout processing unit 130 and the error processing unit 135 will be described with reference to FIGS. 4 and 5. The layout processing unit 130 has two exclusive operation modes, a normal mode and an abnormal mode. When the variable print data processing is started, the layout processing unit 130 is set to the normal mode.

この手順では、まずレイアウト処理部130は、ジョブ受信部110から受け取った可変印刷データからレイアウト指定情報を抽出し、そのレイアウト指定情報が示すレイアウトプログラムをリソースリポジトリ120から取得する(S1)。また、レイアウト処理部130は、画像記憶部140、エラーログ記憶部150、及びレコードの番号を示す変数iなどの各種の制御変数などを初期化する(例えばiの初期値は1)。次に、レイアウト処理部130は、可変印刷データからi番目のレコードを取得する(S2)。そして、レイアウト処理部130は、取得したレコードを対象として、レイアウトプログラムを実行する(S3)。例えば、レイアウト処理部130は、レイアウトプログラムを先頭行から順に実行し、その中でレコードを参照するコマンドがあれば、取得したレコードを用いてそのコマンドを実行する。図4及び図5の手順は、典型的には、ステップS3で1つのレコードに対して1ページ(論理ページ)の画像が生成される場合を想定すると理解しやすい。   In this procedure, first, the layout processing unit 130 extracts layout designation information from variable print data received from the job reception unit 110, and acquires a layout program indicated by the layout designation information from the resource repository 120 (S1). The layout processing unit 130 initializes the image storage unit 140, the error log storage unit 150, and various control variables such as the variable i indicating the record number (for example, the initial value of i is 1). Next, the layout processing unit 130 acquires the i-th record from the variable print data (S2). Then, the layout processing unit 130 executes a layout program for the acquired record (S3). For example, the layout processing unit 130 executes the layout program in order from the first line, and if there is a command that refers to a record in the layout program, executes the command using the acquired record. The procedures in FIGS. 4 and 5 are typically easy to understand assuming that one page (logical page) image is generated for one record in step S3.

エラー処理部135は、レイアウト処理部130におけるレコードに対する論理ページの生成処理において、そのレコードに起因するエラーの発生を監視する(S4)。   The error processing unit 135 monitors the occurrence of an error due to the record in the logical page generation processing for the record in the layout processing unit 130 (S4).

エラー処理部135がそのレコードに起因するエラーが発生したことを検知した場合、レイアウト処理部130は異常モードに移行し(S5)、エラー処理部135がそのエラーについてのログ情報をエラーログ記憶部150に登録する(S6)。いったん異常モードに移行すると、後に続くレコードにエラーがあるか否かによらず、次の用紙のための画像生成処理に進むまでは正常モードには戻らない。なお、エラーが発生しなかった場合は、ステップS5及びS6はスキップされる。   When the error processing unit 135 detects that an error due to the record has occurred, the layout processing unit 130 shifts to an abnormal mode (S5), and the error processing unit 135 displays log information about the error in the error log storage unit. 150 is registered (S6). Once a transition to the abnormal mode is made, the normal mode is not restored until the image generation processing for the next sheet proceeds, regardless of whether there is an error in the subsequent record. If no error has occurred, steps S5 and S6 are skipped.

次にレイアウト処理部130は、ステップS3の処理でレコードから作成した画像データが、現在の印刷対象の用紙面における最後の論理ページに該当するか否かを判定する(S7)。例えば2−up(用紙の1つの面に論理ページを2ページ並べて印刷するモード)印刷で1面の最初のページの画像を生成した段階では、この判定の結果はNo(否定)となる。なお、レイアウト処理部130は、レイアウトプログラムを実行して画像を生成していく際、現在用紙の表と裏のどちらの画像を生成しているか、N−upの場合、用紙面の中で何番目の論理ページの画像を生成しているのかを管理しているので、その情報を利用すればよい。ステップS7の判定結果がNoの場合、そのレコードが可変印刷データ中の最後のレコードであるか否かを判定し(S8)、最後でなければレコードの番号iを1増加させ(S9)、ステップS2に戻って次のレコードの処理を行う。最後であれば、レイアウト処理部130は、図5の手順のステップS12に進み、画像の印刷又はエラー処理を行う。   Next, the layout processing unit 130 determines whether the image data created from the record in step S3 corresponds to the last logical page on the current print target paper surface (S7). For example, at the stage where the image of the first page of one page is generated by 2-up (mode in which two logical pages are arranged and printed on one side of the paper) printing, the result of this determination is No (No). Note that when the layout processing unit 130 executes the layout program to generate an image, which of the front and back images of the paper is currently being generated, in the case of N-up, what is in the paper surface. Since it manages whether the image of the second logical page is generated, that information can be used. If the determination result in step S7 is No, it is determined whether or not the record is the last record in the variable print data (S8). If not, the record number i is incremented by 1 (S9). Returning to S2, the next record is processed. If it is the last, the layout processing unit 130 proceeds to step S12 in the procedure of FIG. 5, and performs image printing or error processing.

1面に印刷されるべきすべての論理ページの画像が生成されるまで、又は最後のレコードに達するまで、以上のステップS2〜S9が繰り返される。なお、異常モードでは、ステップS3で、レイアウト処理部130のうちの描画部を停止させ、解釈実行部のみを動作させるようにしてもよい。   The above steps S2 to S9 are repeated until images of all logical pages to be printed on one side are generated or the last record is reached. In the abnormal mode, the drawing unit of the layout processing unit 130 may be stopped and only the interpretation execution unit may be operated in step S3.

また、ステップS7の判定結果がYes(肯定)となると、用紙の1つの面の画像が完成したことになる。この場合、レイアウト処理部130は、その面が用紙の「おもて」面であるか否かを判定する(S10)。この例は両面印刷を行うものなので、現在の面がおもて面である場合には、完成したそのおもて面の画像データを画像記憶部140に一時的に格納し(S11)、ステップS8に進む。   If the determination result in step S7 is Yes (positive), the image on one side of the sheet is completed. In this case, the layout processing unit 130 determines whether or not the side is the “front” side of the sheet (S10). Since this example performs double-sided printing, if the current surface is the front surface, the image data of the completed front surface is temporarily stored in the image storage unit 140 (S11). Proceed to S8.

画像が完成した面が「うら」面であった場合、表裏両面の画像生成が完了したので、レイアウト処理部130は、図5の手順のステップS12に進み、画像の印刷又はエラー処理を行う。   When the completed surface is the “back” surface, the front and back image generation has been completed, so the layout processing unit 130 proceeds to step S12 in the procedure of FIG. 5 and performs image printing or error processing.

図5のステップS12では、レイアウト処理部130は、現在のモードが正常モードであるか否かを判定する。正常モードであれば、表裏両面の画像の生成においてエラーが生じなかったということなので、それら表裏両面の画像を印刷装置200に渡して印刷させる。より詳しくは、画像記憶部140からおもて面の画像を取り出し(S13)、その画像を印刷装置200に供給しておもて面を印刷させ(S14)、更に、今回生成したうら面の画像を印刷装置200に供給してうら面を印刷させる(S15)。なお、おもて面の画像を生成中に最後のレコードに達した場合(S8の判定結果がNo)には、画像記憶部140にはおもて面の画像がない。この場合、ステップS13〜S15では、単にそのとき生成されたおもて面の画像を印刷装置200に送って印刷させる。   In step S12 of FIG. 5, the layout processing unit 130 determines whether or not the current mode is a normal mode. If it is in the normal mode, it means that no error has occurred in the generation of the images on both the front and back sides. More specifically, an image of the front surface is extracted from the image storage unit 140 (S13), the image is supplied to the printing apparatus 200, the front surface is printed (S14), and the back surface generated this time is further displayed. An image is supplied to the printing apparatus 200 to print the back surface (S15). When the last record is reached during generation of the front surface image (No in S8), the image storage unit 140 has no front surface image. In this case, in steps S13 to S15, the image of the front surface generated at that time is simply sent to the printing apparatus 200 for printing.

一方、ステップS12で現在のモードが異常モードであると判定された場合、エラー時の出力制御(S16)を実行する。エラー時の出力制御は、例えば、単にそのレコードについての印刷を取りやめるというものである。また、エラー時の出力制御の別の例としては、レコードについての印刷を行う代わりに、エラーのあったページの場所を示すために色つき用紙等の特別な用紙(合紙)を印刷装置200に出力させる処理がある。いずれの場合も、エラーの生じたレコードのみならず、そのレコードと同じ用紙に印刷されるレコードのすべてが印刷されない。   On the other hand, if it is determined in step S12 that the current mode is the abnormal mode, output control at the time of error (S16) is executed. The output control at the time of error is, for example, simply canceling printing for the record. As another example of output control at the time of an error, instead of printing a record, a special sheet (a slip sheet) such as a colored sheet is used to indicate the location of a page where an error has occurred. There is a process to output to. In either case, not only the record in which an error has occurred, but all the records that are printed on the same sheet as that record are not printed.

以上、エラー時の出力制御の例をいくつか説明したが、プリントサーバ100は、それらの内の1以上の制御機能を備えている。プリントサーバ100がそのような制御機能を複数備える場合は、管理者又はユーザが、それら制御機能のうちから使用するものを1つ選択し、プリントサーバ100に設定しておけばよい。   While some examples of output control at the time of error have been described above, the print server 100 includes one or more control functions. When the print server 100 includes a plurality of such control functions, the administrator or user may select one of the control functions to be used and set it in the print server 100.

なお、以上の例において、レコードに起因するエラーには、レコードごとの画像やフォームなどのリソースにアクセスできない場合、そのようなリソースのデータが壊れている場合、レコードの処理で用いる外字フォントのデータが画像形成装置にない場合、レコード中の必須のフィールドが空や不正な値である場合、レコードのフィールド数が間違っている場合などがある。レコード以外に起因するエラーが発生した場合、プリントサーバ100は従来と同様のエラー処理を行えばよい。   In the above example, the error caused by the record is that the resource such as the image or form for each record cannot be accessed, the data of such resource is corrupted, the data of the external character font used in the record processing May not be in the image forming apparatus, the required field in the record may be empty or an invalid value, or the number of fields in the record may be incorrect. When an error caused by something other than a record occurs, the print server 100 may perform error processing similar to the conventional one.

ステップS15又はS16のあと、レイアウト処理部130は、画像記憶部140内のおもて面画像を消去する(S17)。そして、現在のレコードが可変印刷データ中の最後のものであるか否かを判定し(S18)、最後のものでなければ、正常モードに移行し(S19)、レコード番号iを1増加させ(S9)、ステップS2に戻って次のレコードを処理する。現在のレコードが最後のものであれば、エラーログを出力して(S20)、処理を終了する。   After step S15 or S16, the layout processing unit 130 deletes the front image in the image storage unit 140 (S17). Then, it is determined whether or not the current record is the last one in the variable print data (S18). If it is not the last one, the normal mode is entered (S19), and the record number i is incremented by 1 (S19). S9) Returning to step S2, the next record is processed. If the current record is the last one, an error log is output (S20), and the process ends.

エラーログの出力は、例えば印刷装置200から印刷出力するものであってもよいし、ファイルとして書き出すものであってもよい。エラーログのデータ内容の一例を図6に示す。この例では、エラーログがXML(eXtensible Markup Language)などのマークアップ言語で記述されている。この例では、1つの可変印刷データ(ジョブ)についてのエラーログは、開始タグ<print_log>から始まり終了タグ</print_log>で終わる1つの要素である。開始タグ<print_log>の中には、ジョブ名(例えば可変印刷データのファイル名)、ジョブID、ジョブの実行日時などが属性として示される。<print_log>要素の中には<errors>要素が含まれる。<errors>要素は当該ジョブの中で発生したエラー群を表し、この要素の中に個々のエラーのログ情報を示す<error>要素が列挙される。個々の<error>要素には、エラーを識別するID、エラーが発生したレコードの識別番号("rec-number")、エラーの種類を示すエラーコードなどが属性として含まれている。また<error>要素の中には、エラー内容を表す説明文が文字列情報として含まれている。なお、この例は、図2の可変印刷データの2番目のレコードの画像"002.tif"が壊れている等で読み取れなかった場合のログである。ジョブ内で複数のエラーが発生したい場合は、各エラーについて<error>要素が生成され、<errors>要素内に追加される。なお、図6の例は、エラーだけでなくジョブの処理の際に生じた各種のイベントに関するログ情報を含み得るログを示している。エラー以外のログは、<print_log>要素の中に、<errors>要素と並列な要素として組み込まれる。   The error log may be output from the printing apparatus 200, for example, or may be written out as a file. An example of the data content of the error log is shown in FIG. In this example, the error log is described in a markup language such as XML (eXtensible Markup Language). In this example, the error log for one variable print data (job) is one element that starts with a start tag <print_log> and ends with an end tag </ print_log>. In the start tag <print_log>, a job name (for example, a variable print data file name), a job ID, a job execution date, and the like are shown as attributes. An <errors> element is included in the <print_log> element. An <errors> element represents a group of errors that occurred in the job, and an <error> element indicating log information of each error is listed in this element. Each <error> element includes, as attributes, an ID for identifying an error, an identification number of a record in which an error has occurred (“rec-number”), an error code indicating the type of error, and the like. The <error> element includes an explanatory text representing the error content as character string information. Note that this example is a log when the image “002.tif” of the second record of the variable print data in FIG. If multiple errors occur in a job, an <error> element is generated for each error and added within the <errors> element. Note that the example of FIG. 6 illustrates a log that may include not only an error but also log information regarding various events that occur during job processing. Logs other than errors are embedded in the <print_log> element as an element parallel to the <errors> element.

ユーザは、出力されたエラーログを参照することで、エラーの内容を把握することができ、そのエラーを解消するための処置をとることができる。例えば、レコード内で指定された画像データが壊れている場合は、その画像ファイルの修復を行えばよい。また、レコード内で指定された画像データが印刷装置で印刷できない形式の画像である場合(例えば4色インクを用いる印刷装置に対し6色インクが必要な画像を印刷する場合)には、印刷装置で印刷できる形式の画像を用意し直せばよい。また、レコード内で指定された画像データがリソースリポジトリ120内にない場合は、その画像データをリソースリポジトリ120に登録するか、或いはレコード内で指定された画像データの識別情報を正しいものに修正すればよい。レコードの印刷のために必要な外字フォントがない場合は、外字フォントをリソースリポジトリ120に追加するか、そのレコードで用いるフォントの指定を変更するか、の対応をとればよい。また、レコード中のフィールドの値がなかったり、不正な値であったりする場合は、そのフィールドの値を補ったり修正したりすればよい。   The user can grasp the content of the error by referring to the output error log, and can take a measure for eliminating the error. For example, if the image data specified in the record is broken, the image file may be repaired. Further, when the image data specified in the record is an image in a format that cannot be printed by the printing apparatus (for example, when printing an image that requires 6-color ink for a printing apparatus that uses 4-color ink), the printing apparatus Just prepare an image that can be printed with. If the image data specified in the record is not in the resource repository 120, the image data is registered in the resource repository 120, or the identification information of the image data specified in the record is corrected to the correct one. That's fine. If there is no external character font required for printing a record, it is sufficient to add the external character font to the resource repository 120 or change the designation of the font used in the record. If there is no value in the field in the record, or if the value is invalid, it is sufficient to supplement or correct the value of the field.

なお、図4及び図5の処理手順は、両面印刷とN−up印刷とが同時に指定された場合にも対応可能な手順である。片面のN−up印刷が指定された場合の手順は、図4及び図5の手順からステップS10及びS11を除いたものとなる。   Note that the processing procedures in FIGS. 4 and 5 can be handled even when double-sided printing and N-up printing are specified at the same time. The procedure when single-sided N-up printing is designated is the procedure shown in FIGS. 4 and 5 except for steps S10 and S11.

また、図4及び図5の手順は、レイアウトプログラムにより1レコードから複数の論理ページが生成される場合でも、1レコードから生成される論理ページの数が用紙の一面に印刷される論理ページの数以下であり、かつ連続する所定数のレコードから生成された論理ページ群が1枚の用紙の両面を完全に埋め尽くす場合には利用可能である。そのような場合の例としては、例えば、2−upかつ両面印刷で、1レコードあたり2論理ページが生成される場合がある。   4 and 5, the number of logical pages generated from one record is the number of logical pages printed on one side of the paper even when a plurality of logical pages are generated from one record by the layout program. The logical page group generated from a predetermined number of records that is as follows can be used when both sides of one sheet are completely filled. As an example of such a case, for example, there are cases where two logical pages are generated per record by 2-up and duplex printing.

上記のプリントサーバ100は、可変印刷データを処理する中で、あるレコードについてエラーが発生しても、残りのレコード群についての処理を続行する。   When the print server 100 processes variable print data, even if an error occurs for a certain record, the print server 100 continues the process for the remaining record group.

また、上記のプリントサーバ100は、1レコードに対応する複数のページのいずれかでエラーが発生した場合、それら複数のページはいずれも印刷出力しない。   Further, when an error occurs in any of a plurality of pages corresponding to one record, the print server 100 does not print out any of the plurality of pages.

以上に例示したプリントサーバ100は、例えば、汎用のコンピュータに上述の各機能モジュールの処理を表すプログラムを実行させることにより実現される。ここで、コンピュータは、例えば、ハードウエアとして、図7に示すように、CPU1000等のマイクロプロセッサ、ランダムアクセスメモリ(RAM)1002およびリードオンリメモリ(ROM)1004等のメモリ(一次記憶)、HDD(ハードディスクドライブ)1006を制御するHDDコントローラ1008、各種I/O(入出力)インタフェース1010、ローカルエリアネットワークなどのネットワークとの接続のための制御を行うネットワークインタフェース1012等が、たとえばバス1014を介して接続された回路構成を有する。また、そのバス1014に対し、例えばI/Oインタフェース1010経由で、CDやDVDなどの可搬型ディスク記録媒体に対する読み取り及び/又は書き込みのためのディスクドライブ1016、フラッシュメモリなどの各種規格の可搬型の不揮発性記録媒体に対する読み取り及び/又は書き込みのためのメモリリーダライタ1018、などが接続されてもよい。上に例示した各機能モジュールの処理内容が記述されたプログラムがCDやDVD等の記録媒体を経由して、又はネットワーク等の通信手段経由で、ハードディスクドライブ等の固定記憶装置に保存され、コンピュータにインストールされる。固定記憶装置に記憶されたプログラムがRAM1002に読み出されCPU1000等のマイクロプロセッサにより実行されることにより、上に例示した機能モジュール群が実現される。なお、それら機能モジュール群のうちの一部又は全部を、専用LSI(Large Scale Integration)、ASIC(Application Specific Integrated Circuit、特定用途向け集積回路)又はFPGA(Field Programmable Gate Array)等のハードウエア回路として構成してもよい。   The print server 100 exemplified above is realized, for example, by causing a general-purpose computer to execute a program representing the processing of each functional module described above. Here, for example, as shown in FIG. 7, the computer includes, as hardware, a microprocessor such as a CPU 1000, a memory (primary storage) such as a random access memory (RAM) 1002 and a read-only memory (ROM) 1004, an HDD ( HDD controller 1008 that controls (hard disk drive) 1006, various I / O (input / output) interfaces 1010, network interface 1012 that performs control for connection to a network such as a local area network, etc. are connected via bus 1014, for example. Circuit configuration. In addition, for example, a disk drive 1016 for reading from and / or writing to a portable disk recording medium such as a CD or a DVD, a portable memory of various standards such as a flash memory via the I / O interface 1010 is connected to the bus 1014. A memory reader / writer 1018 for reading from and / or writing to the nonvolatile recording medium may be connected. A program in which the processing contents of each functional module exemplified above are described is stored in a fixed storage device such as a hard disk drive via a recording medium such as a CD or DVD, or via a communication means such as a network, and stored in a computer. Installed. The program stored in the fixed storage device is read into the RAM 1002 and executed by a microprocessor such as the CPU 1000, whereby the functional module group exemplified above is realized. Some or all of these functional module groups are used as hardware circuits such as dedicated LSI (Large Scale Integration), ASIC (Application Specific Integrated Circuit), or FPGA (Field Programmable Gate Array). It may be configured.

画像形成システムの一例の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of an example of an image forming system. バリアブル印刷データのデータ内容の一例を示す図である。It is a figure which shows an example of the data content of variable print data. レイアウトプログラムの内容の一例を示す図である。It is a figure which shows an example of the content of a layout program. レイアウト処理部及びエラー処理部の処理手順の一例の一部を示すフローチャートである。It is a flowchart which shows a part of example of the process sequence of a layout process part and an error process part. レイアウト処理部及びエラー処理部の処理手順の一例の残りの部分を示すフローチャートである。It is a flowchart which shows the remaining part of an example of the process procedure of a layout process part and an error process part. エラーログのデータ内容の一例を示す図である。It is a figure which shows an example of the data content of an error log. コンピュータのハードウエア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a computer.

符号の説明Explanation of symbols

100 プリントサーバ、110 ジョブ受信部、120 リソースリポジトリ、130 レイアウト処理部、135 エラー処理部、140 画像記憶部、150 エラーログ記憶部、200 印刷装置、250 後処理装置、300 クライアント装置。   100 print server, 110 job receiving unit, 120 resource repository, 130 layout processing unit, 135 error processing unit, 140 image storage unit, 150 error log storage unit, 200 printing device, 250 post-processing device, 300 client device.

Claims (6)

複数のレコードを含む可変印刷データを受信する受信手段と、
指定された描画プログラムを、前記可変印刷データ中の各レコードについて実行することでレコードに対応する論理ページの画像を生成する画像生成手段と、
前記画像生成手段が生成した1以上の前記論理ページの画像を記憶する記憶手段と、
前記記憶手段に記憶された論理ページの画像群を用いて、印刷装置に1枚の用紙に対し複数の論理ページの画像を印刷する印刷処理を実行させる制御を行う印刷制御手段と、
前記印刷制御手段が前記印刷装置に1枚の用紙に対して複数の論理ページの画像を印刷する印刷処理を実行させるのに用いる論理ページの画像を前記画像生成手段で生成する際に前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生したことに対応して、前記記憶手段に記憶され当該エラーが発生したレコードに対応する論理ページの画像と同じ用紙に印刷されるべき論理ページの画像群を用いた印刷を禁止するエラー処理と、前記画像生成手段に画像生成対象のレコードを当該用紙の次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させるエラー処理を行うエラー処理手段と、
を備える画像処理装置。
Receiving means for receiving variable print data including a plurality of records;
Image generation means for generating an image of a logical page corresponding to a record by executing a designated drawing program for each record in the variable print data;
Storage means for storing one or more logical page images generated by the image generation means;
Print control means for performing control for causing the printing apparatus to execute print processing for printing images of a plurality of logical pages on one sheet using the logical page image group stored in the storage means;
When the image generation unit generates the logical page image used by the printing control unit to cause the printing apparatus to execute a printing process for printing a plurality of logical page images on one sheet, the one sheet In response to the occurrence of an error for any one of the records to be printed on the other paper, the image is printed on the same paper as the logical page image stored in the storage means and corresponding to the record in which the error occurred. Error processing for prohibiting printing using the image group of the logical page to be generated, and generating a logical page image by switching the image generation target record to the record to be printed on the next sheet of the sheet in the image generation unit. Error handling means for performing error handling to be continued;
An image processing apparatus comprising:
前記画像生成手段は、前記レコードごとについて前記描画プログラムを解釈する解釈処理と、前記解釈処理による前記レコードごとについての前記描画プログラムの解釈結果に基づき当該レコードに対応する論理ページの画像を生成する画像生成処理と、を実行し、  The image generation means generates an image of a logical page corresponding to the record based on an interpretation process for interpreting the drawing program for each record and an interpretation result of the drawing program for each record by the interpretation process Generation process, and
前記画像処理装置は、更に、前記画像生成手段が前記1枚の用紙に対して印刷されるべき前記複数の論理ページのうち何ページ目までについて前記解釈処理が完了したかを示す情報を管理するページ数管理手段を備え、  The image processing apparatus further manages information indicating how many logical pages of the plurality of logical pages to be printed on the one sheet by the image generation unit are completed. With page number management means,
前記エラー処理手段は、前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生した場合に、前記ページ数管理手段に管理された情報に基づき、前記エラーが発生したレコード以降前記1枚の用紙に印刷されるべき最後の論理ページに対応するレコードまでは、少なくとも前記解釈処理を前記画像生成手段に実行させ、前記最後の論理ページに対応するレコードの次のレコードを前記次の用紙に印刷されるべきレコードとし、前記画像生成手段に画像生成対象のレコードを当該次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させる、  The error processing means, when an error occurs in any one of the records to be printed on the one sheet of paper, based on the information managed by the page number management means, after the record in which the error has occurred Until the record corresponding to the last logical page to be printed on the one sheet, at least the interpretation processing is executed by the image generation unit, and the record next to the record corresponding to the last logical page is set to the next record. A record to be printed on a sheet of paper, and the image generation unit switches the record of the image generation target to a record to be printed on the next sheet, and continues to generate a logical page image.
ことを特徴とする請求項1に記載の画像処理装置。  The image processing apparatus according to claim 1.
複数のレコードを含む可変印刷データを受信する受信手段と、
指定された描画プログラムを、前記可変印刷データ中の各レコードについて実行することでレコードに対応する論理ページの画像を生成する画像生成手段と、
前記画像生成手段が生成した1以上の前記論理ページの画像を記憶する記憶手段と、
印刷装置と、
前記記憶手段に記憶された論理ページの画像群を用いて、前記印刷装置に1枚の用紙に対し複数の論理ページの画像を印刷する印刷処理を実行させる制御を行う印刷制御手段と、
前記印刷制御手段が前記印刷装置に1枚の用紙に対して複数の論理ページの画像を印刷する印刷処理を実行させるのに用いる論理ページの画像を前記画像生成手段で生成する際に前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生したことに対応して、前記記憶手段に記憶され当該エラーが発生したレコードに対応する論理ページの画像と同じ用紙に印刷されるべき論理ページの画像群を用いた印刷を禁止するエラー処理と、前記画像生成手段に画像生成対象のレコードを当該用紙の次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させるエラー処理を行うエラー処理手段と、
を備える印刷システム。
Receiving means for receiving variable print data including a plurality of records;
Image generation means for generating an image of a logical page corresponding to a record by executing a designated drawing program for each record in the variable print data;
Storage means for storing one or more logical page images generated by the image generation means;
A printing device ;
Print control means for controlling the printing apparatus to execute print processing for printing images of a plurality of logical pages on one sheet using the logical page image group stored in the storage means;
When the image generation unit generates the logical page image used by the printing control unit to cause the printing apparatus to execute a printing process for printing a plurality of logical page images on one sheet, the one sheet In response to the occurrence of an error for any one of the records to be printed on the other paper, the image is printed on the same paper as the logical page image stored in the storage means and corresponding to the record in which the error occurred. Error processing for prohibiting printing using the image group of the logical page to be generated, and generating a logical page image by switching the image generation target record to the record to be printed on the next sheet of the sheet in the image generation unit Error handling means for performing error handling to be continued;
A printing system comprising:
前記画像生成手段は、前記レコードごとについて前記描画プログラムを解釈する解釈処理と、前記解釈処理による前記レコードごとについての前記描画プログラムの解釈結果に基づき当該レコードに対応する論理ページの画像を生成する画像生成処理と、を実行し、  The image generation means generates an image of a logical page corresponding to the record based on an interpretation process for interpreting the drawing program for each record and an interpretation result of the drawing program for each record by the interpretation process Generation process, and
前記印刷システムは、更に、前記画像生成手段が前記1枚の用紙に対して印刷されるべき前記複数の論理ページのうち何ページ目までについて前記解釈処理が完了したかを示す情報を管理するページ数管理手段を備え、  The printing system further includes a page for managing information indicating how many pages out of the plurality of logical pages to be printed on the one sheet by the image generation unit are completed. A number management means,
前記エラー処理手段は、前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生した場合に、前記ページ数管理手段に管理された情報に基づき、前記エラーが発生したレコード以降前記1枚の用紙に印刷されるべき最後の論理ページに対応するレコードまでは、少なくとも前記解釈処理を前記画像生成手段に実行させ、前記最後の論理ページに対応するレコードの次のレコードを前記次の用紙に印刷されるべきレコードとし、前記画像生成手段に画像生成対象のレコードを当該次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させる、  The error processing means, when an error occurs in any one of the records to be printed on the one sheet of paper, based on the information managed by the page number management means, after the record in which the error has occurred Until the record corresponding to the last logical page to be printed on the one sheet, at least the interpretation processing is executed by the image generation unit, and the record next to the record corresponding to the last logical page is set to the next record. A record to be printed on a sheet of paper, and the image generation unit switches the record of the image generation target to a record to be printed on the next sheet, and continues to generate a logical page image.
ことを特徴とする請求項3に記載の印刷システム。  The printing system according to claim 3.
コンピュータに、
複数のレコードを含む可変印刷データを受信するステップと、
指定された描画プログラムを、前記可変印刷データ中の各レコードについて実行することでレコードに対応する論理ページの画像を生成する画像生成ステップと、
前記生成された論理ページの画像を記憶装置に格納するステップと、
前記記憶装置に格納された論理ページの画像群を用いて、印刷装置に1枚の用紙に対し複数の論理ページの画像を印刷する印刷処理を実行させる制御を行う印刷制御ステップと、
前記印刷制御ステップで前記印刷装置に1枚の用紙に対して複数の論理ページの画像を印刷する印刷処理を実行させるのに用いる論理ページの画像を前記画像生成ステップで生成する際に前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生したことに対応して、前記記憶装置に記憶され当該エラーが発生したレコードに対応する論理ページの画像と同じ用紙に印刷されるべき論理ページの画像群を用いた印刷を禁止するとともに、画像生成の対象レコードを当該用紙の次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続するエラー処理ステップと、
を実行させるためのプログラム。
On the computer,
Receiving variable print data including a plurality of records;
An image generation step of generating an image of a logical page corresponding to a record by executing a designated drawing program for each record in the variable print data;
Storing the image of the generated logical page in a storage device ;
Using images of the logical page stored in the storage device, and a print control step of performing control to execute the printing process for printing images of a plurality of logical pages to one sheet of paper to the printing apparatus,
When the image generating step generates the logical page image used for causing the printing apparatus to execute a printing process for printing a plurality of logical page images on one sheet in the printing control step. In response to the occurrence of an error in any one of the records to be printed on the other paper, the image is printed on the same paper as the logical page image stored in the storage device and corresponding to the record in which the error has occurred. as well as prohibiting the printing using the image group of logical pages to the error processing step for the target record of the image generated by switching the record to be printed on the next sheet of the sheet to continue the production of the image of the logical pages ,
A program for running
前記画像生成ステップでは、前記レコードごとについて前記描画プログラムを解釈する解釈処理と、前記解釈処理による前記レコードごとについての前記描画プログラムの解釈結果に基づき当該レコードに対応する論理ページの画像を生成する画像生成処理と、を実行し、  In the image generation step, an image for generating an image of a logical page corresponding to the record based on an interpretation process for interpreting the drawing program for each record and an interpretation result of the drawing program for each record by the interpretation process Generation process, and
前記プログラムは、前記画像生成ステップにて前記1枚の用紙に対して印刷されるべき前記複数の論理ページのうち何ページ目までについて前記解釈処理が完了したかを示す情報を管理するページ数管理ステップ、を更に前記コンピュータに実行させ、  The program manages the number of pages for managing information indicating how many logical pages of the plurality of logical pages to be printed on the one sheet in the image generating step are completed. Further causing the computer to execute a step,
前記エラー処理ステップでは、前記1枚の用紙に印刷されるべきレコードのいずれかのレコードについてエラーが発生した場合に、前記ページ数管理ステップにより管理された情報に基づき、前記エラーが発生したレコード以降前記1枚の用紙に印刷されるべき最後の論理ページに対応するレコードまでは、前記画像生成ステップにて少なくとも前記解釈処理を実行し、前記最後の論理ページに対応するレコードの次のレコードを前記次の用紙に印刷されるべきレコードとし、前記画像生成ステップに画像生成対象のレコードを当該次の用紙に印刷されるべきレコードに切り替えて論理ページの画像の生成を継続させる、  In the error processing step, when an error occurs in any one of the records to be printed on the one sheet of paper, based on the information managed in the page number management step, the records after the error occurred Until the record corresponding to the last logical page to be printed on the one sheet, at least the interpretation processing is executed in the image generation step, and the record next to the record corresponding to the last logical page is A record to be printed on the next sheet, and in the image generation step, the record of the image generation target is switched to a record to be printed on the next sheet and the generation of the logical page image is continued.
ことを特徴とする請求項5に記載のプログラム。  The program according to claim 5.
JP2007252150A 2007-09-18 2007-09-27 Image processing apparatus, printing system, and program Expired - Fee Related JP4586839B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007252150A JP4586839B2 (en) 2007-09-27 2007-09-27 Image processing apparatus, printing system, and program
US12/051,308 US8089644B2 (en) 2007-09-18 2008-03-19 Image-processing device, recording medium, and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007252150A JP4586839B2 (en) 2007-09-27 2007-09-27 Image processing apparatus, printing system, and program

Publications (2)

Publication Number Publication Date
JP2009086740A JP2009086740A (en) 2009-04-23
JP4586839B2 true JP4586839B2 (en) 2010-11-24

Family

ID=40660133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007252150A Expired - Fee Related JP4586839B2 (en) 2007-09-18 2007-09-27 Image processing apparatus, printing system, and program

Country Status (1)

Country Link
JP (1) JP4586839B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05162409A (en) * 1991-12-11 1993-06-29 Fujitsu Ltd Printing apparatus equipped with recovery function
JPH07141132A (en) * 1993-11-16 1995-06-02 Fujitsu Ltd Network printer and lan network system
JPH09254503A (en) * 1996-03-25 1997-09-30 Ricoh Co Ltd Image forming device
JPH10177464A (en) * 1996-10-18 1998-06-30 Fuji Xerox Co Ltd Printing controller
JP2001260494A (en) * 2000-03-22 2001-09-25 Ricoh Co Ltd Imaging system
JP2007233820A (en) * 2006-03-02 2007-09-13 Fuji Xerox Co Ltd Printing management device, program, and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05162409A (en) * 1991-12-11 1993-06-29 Fujitsu Ltd Printing apparatus equipped with recovery function
JPH07141132A (en) * 1993-11-16 1995-06-02 Fujitsu Ltd Network printer and lan network system
JPH09254503A (en) * 1996-03-25 1997-09-30 Ricoh Co Ltd Image forming device
JPH10177464A (en) * 1996-10-18 1998-06-30 Fuji Xerox Co Ltd Printing controller
JP2001260494A (en) * 2000-03-22 2001-09-25 Ricoh Co Ltd Imaging system
JP2007233820A (en) * 2006-03-02 2007-09-13 Fuji Xerox Co Ltd Printing management device, program, and method

Also Published As

Publication number Publication date
JP2009086740A (en) 2009-04-23

Similar Documents

Publication Publication Date Title
US8089644B2 (en) Image-processing device, recording medium, and method
JP4530012B2 (en) Image processing apparatus and program
US8804172B2 (en) Non-transitory computer readable recording medium stored with printer driver updating program and printer driver updating method
JP6008657B2 (en) Information processing apparatus, control method therefor, and information processing program
US20180063366A1 (en) Image output apparatus, history display apparatus, history display method, and non-transitory computer readable medium
US20110242565A1 (en) Printer control system, printing method, and storage medium
US20070276781A1 (en) Apparatus and method for controlling user interface
US8045198B2 (en) System and method for processing a change history of a PDF file
US8913269B2 (en) Method for printing PDF files containing corrupted pages
US8842338B2 (en) Printer driver
US8823964B2 (en) Control device for causing a print execution unit to execute printing
JPH11327856A (en) Printing controller, data processing method for the same and storage medium storing program which computer can read
KR20090101767A (en) Printing method to load a filter dynamically and recordable medium with a program to execute the printing method and host apparatus
US8355144B2 (en) Apparatus and method of changing printer driver, and printing system and method using the same
US20030076519A1 (en) Spool file modifying device
US20110242564A1 (en) Printer control system, printing method, and storage medium
US20130258377A1 (en) Printer control system, printing method, and storage medium
JP5807460B2 (en) Information processing apparatus, program, and storage medium
JP2010167710A (en) Image formation device and method of controlling the same
US8045211B2 (en) Image forming device
JP2009151702A (en) Information processor, information processing method, and program
US8107098B2 (en) Apparatus for controlling printing, method for the same, printing system, and computer program
KR100529330B1 (en) Printing method and apparatus being capable of recovering error, computer-readable recording media for storing computer program
JP4586839B2 (en) Image processing apparatus, printing system, and program
US20110242582A1 (en) Printer control system, printing method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100205

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100823

R150 Certificate of patent or registration of utility model

Ref document number: 4586839

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130917

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees