JP6160914B2 - Preview image generation method, preview image generation program, and preview image generation apparatus - Google Patents

Preview image generation method, preview image generation program, and preview image generation apparatus Download PDF

Info

Publication number
JP6160914B2
JP6160914B2 JP2013206200A JP2013206200A JP6160914B2 JP 6160914 B2 JP6160914 B2 JP 6160914B2 JP 2013206200 A JP2013206200 A JP 2013206200A JP 2013206200 A JP2013206200 A JP 2013206200A JP 6160914 B2 JP6160914 B2 JP 6160914B2
Authority
JP
Japan
Prior art keywords
preview image
image generation
order
image
layer
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
JP2013206200A
Other languages
Japanese (ja)
Other versions
JP2015069616A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2013206200A priority Critical patent/JP6160914B2/en
Publication of JP2015069616A publication Critical patent/JP2015069616A/en
Application granted granted Critical
Publication of JP6160914B2 publication Critical patent/JP6160914B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

本発明は、プレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置に関し、特に、ドキュメントファイルの印刷プレビュー用画像を生成するプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置に関する。   The present invention relates to a preview image generation method, a preview image generation program, and a preview image generation apparatus, and more particularly to a preview image generation method, a preview image generation program, and a preview image that generate a print preview image of a document file. The present invention relates to a generation device.

クライアント端末で作成したドキュメントをMFP(Multi Function Peripheral)などの印刷装置に印刷させる環境の1つとして、通信ネットワークに接続されたサーバ(Webサーバと呼ぶ。)が提供するWebアプリケーションを用いて印刷設定を行い、Webサーバが生成した印刷ジョブに基づいて印刷装置が印刷処理を実行するものがある。その際、印刷ミスを未然に防止するために、Webサーバはプレビュー表示用の画像(以下、印刷プレビュー用画像と呼ぶ。)を生成してクライアント端末に表示させ、実際の印刷物の出来映えを確認できるようにしている。   As one environment in which a document created on a client terminal is printed on a printing apparatus such as an MFP (Multi Function Peripheral), print setting is performed using a Web application provided by a server (referred to as a Web server) connected to a communication network. And the printing apparatus executes print processing based on the print job generated by the Web server. At that time, in order to prevent printing mistakes, the Web server can generate an image for preview display (hereinafter referred to as “print preview image”) and display it on the client terminal to confirm the performance of the actual printed matter. I am doing so.

プレビュー表示では、ドキュメントファイルをレンダリングして印刷プレビュー用画像を生成し、その印刷プレビュー用画像をクライアント端末のビューアなどのアプリケーションで表示させる(印刷プレビュー用画像のデータをクライアント端末に送信する)ことでプレビュー表示を実現している。   In preview display, a document file is rendered to generate a print preview image, and the print preview image is displayed by an application such as a client terminal viewer (sends print preview image data to the client terminal). Realizes preview display.

ここで、通常、印刷プレビュー用画像の生成はページ単位で行うため、ドキュメントファイルの1ページに含まれる全オブジェクト(テキスト、ラスターグラフィックス、イメージ)が印刷プレビュー用画像としてレンダリングされるまでは、クライアント端末には印刷プレビュー用画像は表示されない。そのため、ページ数の多いドキュメントに対して、プレビュー開始直後に高速でページ送りをすると、印刷プレビュー用画像の生成が間に合わずに、ユーザは印刷プレビュー用画像が表示されるまで待たされてしまうことがある。   Here, since the print preview image is normally generated in units of pages, until all objects (text, raster graphics, image) included in one page of the document file are rendered as print preview images, the client The print preview image is not displayed on the terminal. For this reason, if a page with a large number of pages is fed at a high speed immediately after the preview starts, the print preview image cannot be generated in time, and the user may wait until the print preview image is displayed. is there.

このような印刷プレビュー用画像の表示に関連する技術として、例えば、下記特許文献1には、1以上のタイルから構成された画像データを記憶する記憶手段であって、該タイルは当該タイルの符号化についての符号化情報を含むヘッダを少なくとも含む、記憶手段と、前記符号化情報に基づいて前記タイル毎の画像種類を判別する判別手段と、前記画像データについて画像種類の指定を受け付ける受付手段と、前記判別手段において前記画像種類が判別された前記タイルのそれぞれを、受け付けた前記画像種類の指定に従って配列する配列手段と、前記タイルを、前記配列に従って外部装置へ送出する送出手段と、を備え、前記タイルは複数の周波数成分毎に分割されているサーバ装置が開示されている。   As a technique related to the display of such a print preview image, for example, Patent Document 1 below is storage means for storing image data composed of one or more tiles. Storage means including at least a header including encoding information about encoding, determination means for determining an image type for each tile based on the encoding information, and accepting means for receiving designation of an image type for the image data Arrangement means for arranging each of the tiles for which the image type has been determined by the determination means according to the designation of the received image type, and sending means for transmitting the tile to an external device according to the arrangement. A server device in which the tile is divided into a plurality of frequency components is disclosed.

また、下記特許文献2には、コンテンツが読み込まれたとき、最初のページの必要な画像や文章だけを読み込み、それ以外のすぐに表示しなくてもよい2ページ目以降の画像は、データ量の小さい画像に置き換えて読み込み、コンテンツの最初のページの表示を完了させてから、そのページをユーザが見ている間に、関連の深い項目(ページ)から順番をつけてデータの小さい画像を本来のものと差し替えて読み込んでおき、ユーザが他の項目(ページ)を見ようとしたときに表示させる技術が開示されている。   Further, in Patent Document 2 below, when content is read, only necessary images and sentences on the first page are read, and other images on the second page that do not need to be displayed immediately are the amount of data. After the first page of content has been displayed, the user has viewed the page, and while viewing the page, the images with the smallest data are created in order from the relevant items (pages). There is disclosed a technique in which a user replaces an item and reads it and displays it when the user tries to view another item (page).

特開2007−19744号公報JP 2007-19744 A 特開2009−43226号公報JP 2009-43226 A

ドキュメントのページを分割する方法として、特許文献1のようにタイルで分割する方法がある。この方法では、複数のタイル毎の画像を配列することによって1つの印刷プレビュー用画像が生成されるが、一つのオブジェクトが複数のタイルに跨る場合はオブジェクトの一部のみが表示されることになる。ここで、各々のオブジェクトは、通常、その全体で一つの意味を持つため、オブジェクトの一部のみを表示しても、そのページの内容を理解できない場合がある。   As a method of dividing a document page, there is a method of dividing the document page by tile as disclosed in Japanese Patent Application Laid-Open No. 2004-133867. In this method, one print preview image is generated by arranging images for each of a plurality of tiles. However, when one object extends over a plurality of tiles, only a part of the object is displayed. . Here, since each object usually has one meaning as a whole, even if only a part of the object is displayed, the contents of the page may not be understood.

また、特許文献2のように、最初のページの印刷プレビュー用画像を表示している間に他のページの印刷プレビュー用画像を生成する方法でも、ページを素早くめくった場合には印刷プレビュー用画像の生成が間に合わず、ユーザは印刷プレビュー用画像が表示されるまで待たされてしまう。   Further, as in Patent Document 2, even when a print preview image of another page is generated while the print preview image of the first page is displayed, the print preview image is displayed when the page is quickly turned. The user cannot wait until the print preview image is displayed.

本発明は、上記問題点に鑑みてなされたものであって、その主たる目的は、ドキュメントのページ内容を把握しやすくすると共に、印刷プレビュー用画像の表示を開始するまでの時間を短縮することができるプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置を提供することにある。   The present invention has been made in view of the above problems, and its main purpose is to make it easy to grasp the page content of a document and to shorten the time until the display of a print preview image is started. Another object is to provide a preview image generation method, a preview image generation program, and a preview image generation apparatus.

本発明の一側面は、ドキュメントを作成するクライアント端末と、前記ドキュメントの印刷プレビュー用画像を生成するプレビュー用画像生成装置と、が通信ネットワークで接続されたシステムにおけるプレビュー用画像生成方法であって、前記クライアント端末が、前記ドキュメントのデータを前記プレビュー用画像生成装置に送信する送信ステップと、前記プレビュー用画像生成装置が、前記クライアント端末から前記ドキュメントのデータを受信して解析し、前記ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出し、データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定する順序設定ステップと、前記プレビュー用画像生成装置が、前記処理順序に従って、前記オブジェクトの種類毎若しくは前記1又は複数のオブジェクト毎のレイヤ画像を生成し、生成した前記レイヤ画像のデータを順次前記クライアント端末に送信する画像生成ステップと、前記クライアント端末が、前記プレビュー用画像生成装置から前記レイヤ画像のデータを受信し、前記レイヤ画像を順次重ね合わせて表示する画像表示ステップと、を有することを特徴とする。   One aspect of the present invention is a preview image generation method in a system in which a client terminal that creates a document and a preview image generation device that generates a print preview image of the document are connected via a communication network, A transmitting step in which the client terminal transmits the document data to the preview image generating apparatus; and the preview image generating apparatus receives and analyzes the document data from the client terminal, and An order setting step for extracting the type and data size of an object used for the page for each page, and setting the processing order for each type of object or for each one or a plurality of objects in ascending order of the data size; Image generator for preview An image generation step of generating a layer image for each type of the object or each of the one or a plurality of objects according to the processing order, and sequentially transmitting the generated layer image data to the client terminal; Receiving image data of the layer image from the preview image generating device, and displaying the layer image in a superimposed manner.

本発明の一側面は、ドキュメントの印刷プレビュー用画像を生成するプレビュー用画像生成装置で動作するプレビュー用画像生成プログラムであって、前記プレビュー用画像生成装置に、入力された前記ドキュメントのデータを受信して解析し、前記ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出し、データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定する順序設定ステップ、前記処理順序に従って、前記オブジェクトの種類毎若しくは前記1又は複数のオブジェクト毎のレイヤ画像を生成し、生成した前記レイヤ画像のデータを順次出力する画像生成ステップ、を実行させることを特徴とする。   One aspect of the present invention is a preview image generation program that operates in a preview image generation apparatus that generates a print preview image of a document, and receives data of the document input to the preview image generation apparatus For each page of the document, the type and data size of the object used for the page are extracted, and the processing order for each type of object or for one or a plurality of objects in ascending order of the data size. An order setting step for generating a layer image for each type of the object or for each of the one or more objects according to the processing order, and an image generation step for sequentially outputting the generated layer image data. It is characterized by that.

本発明の一側面は、クライアント端末で作成されたドキュメントに基づいて、印刷プレビュー用画像を生成するプレビュー用画像生成装置であって、前記クライアント端末から前記ドキュメントのデータを受信して解析し、前記ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出するドキュメント解析部と、データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定する画像生成制御部と、前記処理順序に従って、前記オブジェクトの種類毎若しくは前記1又は複数のオブジェクト毎のレイヤ画像を生成するプレビュー用画像生成部と、生成された前記レイヤ画像のデータを順次前記クライアント端末に送信するプレビュー用画像送信部と、を備えることを特徴とする。   One aspect of the present invention is a preview image generation device that generates a print preview image based on a document created on a client terminal, and receives and analyzes the document data from the client terminal, For each page of a document, a document analysis unit that extracts the type and data size of the object used on the page, and sets the processing order for each object type or one or more objects in ascending order of data size An image generation control unit that performs, in accordance with the processing order, a preview image generation unit that generates a layer image for each type of the object or for each of the one or more objects, and sequentially generates the generated layer image data in the client A preview image transmitter to be sent to the terminal, Characterized in that it comprises a.

本発明のプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置によれば、ドキュメントのページ内容を把握しやすくすると共に、印刷プレビュー用画像の表示を開始するまでの時間を短縮することができる。   According to the preview image generation method, the preview image generation program, and the preview image generation apparatus of the present invention, it is easy to grasp the page content of the document and the time until the display of the print preview image is started is shortened. be able to.

その理由は、プレビュー用画像生成装置(プレビュー用画像生成プログラム)は、ドキュメントのデータを解析し、ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出し、データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定し、処理順序に従って、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎のレイヤ画像を生成し、生成したレイヤ画像のデータを順次出力するからである。   The reason is that the preview image generation apparatus (preview image generation program) analyzes the document data, extracts the type and data size of the object used for the page for each page of the document, and the data Set the processing order for each object type or one or more objects in the order of size, and generate a layer image for each object type or one or more objects according to the processing order. This is because the data is output sequentially.

本発明の第1の実施例に係る印刷システムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of a printing system according to a first embodiment of the present invention. 本発明の第1の実施例に係る印刷システムの各装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of each device of a printing system according to a first exemplary embodiment of the present invention. 本発明の第1の実施例に係る印刷システムにおけるWebサーバとクライアント端末の動作を示すフローチャート図である。It is a flowchart figure which shows operation | movement of the Web server and client terminal in the printing system which concerns on 1st Example of this invention. 本発明の第1の実施例に係るドキュメントファイルのオブジェクト構成の一例を示す図である。It is a figure which shows an example of the object structure of the document file which concerns on 1st Example of this invention. 本発明の第1の実施例に係る印刷プレビュー用画像の生成例(オブジェクトの種類順に画像を生成する例)を模式的に示す図である。FIG. 5 is a diagram schematically illustrating a print preview image generation example (an example in which images are generated in the order of object types) according to the first embodiment of the present invention. 本発明の第1の実施例に係る印刷プレビュー用画像の生成例(オブジェクトのサイズ順に画像を生成する例)を模式的に示す図である。FIG. 6 is a diagram schematically illustrating an example of generating a print preview image (an example of generating an image in order of object size) according to the first exemplary embodiment of the present invention. 本発明の第1の実施例に係る印刷プレビュー用画像の生成例(オブジェクトのサイズ順に画像を生成する他の例)を模式的に示す図である。FIG. 6 is a diagram schematically illustrating a print preview image generation example (another example of generating images in order of object size) according to the first embodiment of the present invention. 本発明の第2の実施例に係る印刷システムの各装置の構成を示すブロック図である。It is a block diagram which shows the structure of each apparatus of the printing system which concerns on 2nd Example of this invention. 本発明の第2の実施例に係る印刷システムにおけるWebサーバとクライアント端末の動作を示すフローチャート図である。It is a flowchart figure which shows operation | movement of the Web server and client terminal in the printing system which concerns on 2nd Example of this invention. 本発明の第2の実施例に係る印刷プレビュー用画像の生成例(オブジェクトの種類順に重ね合わせ順序情報を付与して画像を生成する例)を模式的に示す図である。It is a figure which shows typically the example of a production | generation of the image for a print preview which concerns on 2nd Example of this invention (example which produces | generates an image by providing superimposition order information in order of the kind of object). 本発明の第3の実施例に係る印刷システムの各装置の構成を示すブロック図である。It is a block diagram which shows the structure of each apparatus of the printing system which concerns on 3rd Example of this invention. 本発明の第3の実施例に係る印刷システムにおけるWebサーバとクライアント端末の動作を示すフローチャート図である。It is a flowchart figure which shows operation | movement of the Web server and client terminal in the printing system which concerns on 3rd Example of this invention. 本発明の第3の実施例に係るドキュメントファイルのオブジェクト構成の一例を示す図である。It is a figure which shows an example of the object structure of the document file which concerns on 3rd Example of this invention. 本発明の第3の実施例に係る印刷プレビュー用画像の生成例(オブジェクトの種類順に低解像度、高解像度の順で画像を生成する例)を模式的に示す図である。FIG. 10 is a diagram schematically illustrating a print preview image generation example (an example in which images are generated in the order of low resolution and high resolution in the order of object types) according to a third embodiment of the present invention. 本発明の第3の実施例に係る印刷プレビュー用画像の表示例(オブジェクトの種類順に低解像度、高解像度の順で画像を表示する例)を模式的に示す図である。FIG. 10 is a diagram schematically illustrating a display example of an image for print preview according to a third embodiment of the present invention (an example in which images are displayed in order of low resolution and high resolution in order of object types). 本発明の第4の実施例に係る印刷システムの各装置の構成を示すブロック図である。It is a block diagram which shows the structure of each apparatus of the printing system which concerns on the 4th Example of this invention. 本発明の第4の実施例に係る印刷システムにおけるWebサーバとクライアント端末の動作を示すフローチャート図である。It is a flowchart figure which shows operation | movement of the Web server and client terminal in the printing system which concerns on the 4th Example of this invention.

背景技術で示したように、プレビュー表示では、各ページのレンダリングに時間がかかるため、印刷プレビュー用画像の表示を開始するまでの時間が長くなるという問題があった。この問題に対して、ページをタイル(領域)に分割してタイル毎の画像を順次生成し、これらの画像を配列することによって印刷プレビュー用画像を表示する方法がある。しかしながら、タイルは各ページを物理的に分割するものであり、オブジェクトが複数のタイルを跨いでいる場合は、オブジェクトの一部しか表示されず、オブジェクトの一部では、そのページの内容を理解することは困難である。従って、印刷プレビュー用画像を分割する場合は、オブジェクトで分割する方が好ましいが、オブジェクトの種類は様々であり、オブジェクトのサイズも様々であるため、適切な順番でオブジェクトを選択しないと、印刷プレビュー用画像の表示を開始するまでの時間を効率的に短縮することができない。   As shown in the background art, in the preview display, since it takes time to render each page, there is a problem that it takes a long time to start displaying the print preview image. In order to solve this problem, there is a method in which a page is divided into tiles (regions), images for each tile are sequentially generated, and the print preview image is displayed by arranging these images. However, tiles physically divide each page. When an object straddles multiple tiles, only part of the object is displayed, and part of the object understands the contents of the page. It is difficult. Therefore, when the print preview image is divided, it is preferable to divide by the object. However, since there are various types of objects and the sizes of the objects, the print preview is required unless the objects are selected in an appropriate order. It is not possible to efficiently shorten the time until the display of the commercial image.

そこで、本発明の一実施の形態では、ドキュメントファイルのプレビュー表示において、各ページの印刷プレビュー用画像を複数のレイヤ画像を重ね合わせることによって表示する場合に、ドキュメントの各ページに使用されるオブジェクトを解析し、あるレイヤ画像に含まれる1又は複数のオブジェクトのデータサイズが、次のレイヤ画像に含まれる1又は複数のオブジェクトのデータサイズよりも小さくなるように、オブジェクトを選択して各レイヤ画像に振り分けるようにする。これにより、ページの内容の理解を容易にしつつ、印刷プレビュー用画像の表示を開始するまでの時間を短縮することができる。   Therefore, in one embodiment of the present invention, when displaying a print preview image of each page by overlaying a plurality of layer images in the document file preview display, an object used for each page of the document is displayed. Analyzing and selecting an object for each layer image so that the data size of one or more objects included in one layer image is smaller than the data size of one or more objects included in the next layer image Try to distribute. Thereby, it is possible to shorten the time until the display of the print preview image is started while facilitating understanding of the contents of the page.

その際、オブジェクトが重なり合う場合は、各レイヤ画像のデータに最背面(又は最前面)から順に数えた重ね合わせ順序情報を付与しておき、プレビュー表示を行うアプリケーションがその重ね合わせ順序情報を参照して、適切な順序でレイヤ画像重ね合わせて表示できるようにすることで、表示順序を正しく保ちながら印刷プレビュー用画像の表示を開始するまでの時間を短縮することができる。   At this time, if the objects overlap, the overlay order information counted from the back (or foreground) in order is added to the data of each layer image, and the application that performs the preview display refers to the overlay order information. Thus, by allowing the layer images to be displayed in an appropriate order, it is possible to shorten the time required to start displaying the print preview image while maintaining the display order correctly.

更に、上記の処理において、最初は低解像度でオブジェクトを描画したレイヤ画像を送ることで表示速度を速めておき、後から高解像度でオブジェクトを描画したレイヤ画像を送り直すことによって、印刷プレビュー用画像の表示を開始するまでの時間をさらに短縮することができる。   Further, in the above processing, the print preview image is obtained by first increasing the display speed by sending a layer image in which the object is drawn at a low resolution, and then sending back the layer image in which the object is drawn at a high resolution. It is possible to further shorten the time until the display of.

上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の第1の実施例に係るプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置について、図1乃至図7を参照して説明する。図1は、本実施例の印刷システムの全体構成を示す図であり、図2は、各装置の構成を示すブロック図である。また、図3は、本実施例のWebサーバとクライアント端末の動作を示すフローチャート図であり、図4は、ドキュメントファイルのオブジェクト構成の一例を示す図である。また、図5乃至図7は、本実施例の印刷プレビュー用画像の生成例を模式的に示す図である。   In order to describe the above-described embodiment of the present invention in more detail, the preview image generation method, the preview image generation program, and the preview image generation apparatus according to the first embodiment of the present invention will be described with reference to FIGS. Will be described with reference to FIG. FIG. 1 is a diagram showing the overall configuration of the printing system of this embodiment, and FIG. 2 is a block diagram showing the configuration of each device. FIG. 3 is a flowchart showing the operations of the Web server and the client terminal of this embodiment, and FIG. 4 is a diagram showing an example of the object configuration of the document file. FIGS. 5 to 7 are diagrams schematically illustrating an example of generation of a print preview image according to the present exemplary embodiment.

図1に示すように、本実施例の印刷システム10は、印刷処理を実行する印刷装置20と、印刷装置20に印刷を指示するWebサーバ30と、文書などのドキュメントを作成するクライアント端末40と、で構成される。これらは、LAN(Local Area Network)やWAN(Wide Area Network)などの通信ネットワークを介して相互に接続されている。   As illustrated in FIG. 1, a printing system 10 according to the present exemplary embodiment includes a printing device 20 that executes printing processing, a Web server 30 that instructs the printing device 20 to print, and a client terminal 40 that creates a document such as a document. , Composed of. These are connected to each other via a communication network such as a LAN (Local Area Network) or a WAN (Wide Area Network).

クライアント端末40及びWebサーバ30は、一般的なコンピュータ装置であり、CPU(Central Processing Unit)、ROM(Read Only Memory)やRAM(Random Access Memory)などのメモリ、HDD(Hard Disk Drive)などの記憶部、NIC(Network Interface Card)などの通信部で構成される制御部を備え、OS(Operating System)により制御されている。本実施例の印刷システムを司るソフトウェア(Webアプリケーション)は、クライアント端末40及びWebサーバ30のメモリやHDDに格納される。また、クライアント端末40のメモリやHDDには、ドキュメントを作成するプログラムやドキュメントファイルなども格納される。また、Webサーバ30のメモリやHDDには、印刷プレビュー用画像の生成を制御するプレビュー用画像生成プログラムなども格納される。   The client terminal 40 and the Web server 30 are general computer devices, such as a CPU (Central Processing Unit), a ROM (Read Only Memory) and a RAM (Random Access Memory), and a HDD (Hard Disk Drive). And a control unit composed of a communication unit such as a NIC (Network Interface Card), and is controlled by an OS (Operating System). Software (Web application) that controls the printing system of this embodiment is stored in the memory and HDD of the client terminal 40 and Web server 30. The memory and HDD of the client terminal 40 also store a program for creating a document, a document file, and the like. The memory or HDD of the Web server 30 also stores a preview image generation program that controls generation of a print preview image.

印刷装置20は、CPU、ROMやRAMなどのメモリ、HDDなどの記憶部、NICなどの通信部で構成される制御部を備え、Webサーバ30より出力された印刷ジョブの内容に従って印刷処理を実行する。印刷装置20のメモリやHDDには、印刷プレビュー用画像の生成を制御するプレビュー用画像生成プログラムなどが格納される。なお、印刷装置20は、ネットワークプリンタとして動作可能な機能を備えていればよく、プリンタとしての機能に加えて、スキャナやファックシミリ、フィニッシャなどとしての機能を備えていてもよい。   The printing apparatus 20 includes a control unit including a CPU, a memory such as a ROM and a RAM, a storage unit such as an HDD, and a communication unit such as a NIC, and executes a printing process according to the contents of the print job output from the Web server 30. To do. A memory or HDD of the printing apparatus 20 stores a preview image generation program for controlling generation of a print preview image. The printing apparatus 20 only needs to have a function operable as a network printer. In addition to the function as a printer, the printing apparatus 20 may have a function as a scanner, a fuck shim, a finisher, or the like.

以下、各装置のソフトウェア構成(制御部上で動作するソフトウェアによって実現される機能)について、図2を参照して説明する。   Hereinafter, the software configuration (function realized by software operating on the control unit) of each apparatus will be described with reference to FIG.

[印刷装置]
印刷装置20は、制御部上で動作するソフトウェアによって、印刷出力部21などとして機能する。
[Printer]
The printing apparatus 20 functions as a print output unit 21 or the like by software operating on the control unit.

印刷出力部21は、Webサーバ30の印刷ジョブ生成部32から受信した印刷ジョブに基づき、用紙への印刷処理を制御する。具体的には、帯電装置により帯電された感光体ドラムに露光装置から画像に応じた光を照射して静電潜像を形成し、現像装置で帯電したトナーを付着させて現像し、そのトナー像を転写ベルトに1次転写し、転写ベルトから紙媒体に2次転写し、更に定着装置で紙媒体にトナー像を定着させる処理を制御する。   The print output unit 21 controls printing processing on paper based on the print job received from the print job generation unit 32 of the Web server 30. Specifically, the photosensitive drum charged by the charging device is irradiated with light corresponding to the image from the exposure device to form an electrostatic latent image, and the toner charged by the developing device is attached and developed. A process for primary transfer of the image to the transfer belt, secondary transfer from the transfer belt to the paper medium, and fixing of the toner image to the paper medium by the fixing device is controlled.

[Webサーバ]
Webサーバ30は、印刷プレビュー用画像を生成する装置であり、制御部上で動作するソフトウェアによって、データ管理部31と印刷ジョブ生成部32とプレビュー用画像生成部33とプレビュー用画像送信部34と画像生成制御部35とドキュメント解析部36などとして機能する。
[Web server]
The Web server 30 is a device that generates a print preview image. The software runs on the control unit, and the data management unit 31, the print job generation unit 32, the preview image generation unit 33, and the preview image transmission unit 34 It functions as an image generation control unit 35 and a document analysis unit 36.

データ管理部31は、Webアプリケーションのプログラム及び画面情報、処理対象のドキュメントファイルの管理などを行う。クライアント端末40は、データ管理部31からプログラム及び画面情報をダウンロードし、Webブラウザを介してWebアプリケーションの内部処理や画面表示を行う。また、データ管理部31で管理されたドキュメントファイルを、印刷ジョブ生成部32及びプレビュー用画像生成部33などに送信する。   The data management unit 31 manages the program and screen information of the Web application, the document file to be processed, and the like. The client terminal 40 downloads a program and screen information from the data management unit 31, and performs internal processing and screen display of the Web application via the Web browser. The document file managed by the data management unit 31 is transmitted to the print job generation unit 32, the preview image generation unit 33, and the like.

印刷ジョブ生成部32は、クライアント端末40の印刷設定部42dで入力された印刷設定情報に基づき、印刷ジョブの生成を行う。ここで生成された印刷ジョブのデータが印刷装置20の印刷出力部21に送信され、印刷出力部21で印刷処理が実行される。   The print job generation unit 32 generates a print job based on the print setting information input by the print setting unit 42d of the client terminal 40. The print job data generated here is transmitted to the print output unit 21 of the printing apparatus 20, and the print output unit 21 executes print processing.

ドキュメント解析部36は、データ管理部31から受け取ったドキュメントファイルの解析を行って、ドキュメントの各ページに使用されている各オブジェクトの種類、データサイズ、必要に応じて位置(ドキュメント上の座標)を抽出する。   The document analysis unit 36 analyzes the document file received from the data management unit 31 and sets the type, data size, and position (coordinates on the document) of each object used for each page of the document as necessary. Extract.

画像生成制御部35は、ドキュメント解析部36にて抽出した各オブジェクトの種類とデータサイズに基づいて、画像生成処理を行うオブジェクト種類(又はオブジェクト)の順序を設定する。具体的には、ドキュメントの各ページに対して、データサイズの小さい順に、オブジェクト種類毎(又はオブジェクト毎)の処理順序を設定する。また、複数のオブジェクトをグループ化する場合は、ドキュメントの各ページに対して、各オブジェクトの位置やデータサイズに基づいて、距離が近いオブジェクト又はデータサイズが近いオブジェクトを選択してグループ化し、データサイズの小さい順に、グループ毎の処理順序を設定する。   The image generation control unit 35 sets the order of object types (or objects) to be subjected to image generation processing based on the type and data size of each object extracted by the document analysis unit 36. Specifically, the processing order for each object type (or for each object) is set for each page of the document in ascending order of data size. In addition, when grouping multiple objects, for each page of the document, based on the position and data size of each object, select and group objects that are close to each other or close to the data size. The processing order for each group is set in ascending order.

プレビュー用画像生成部33は、画像生成制御部35にて設定された処理順序に基づき、オブジェクト種類毎、又はオブジェクト毎、又はグループ毎にレンダリングを行って、印刷プレビュー用画像を構成する各レイヤ画像を生成する。   The preview image generation unit 33 performs rendering for each object type, for each object, or for each group based on the processing order set by the image generation control unit 35, and for each layer image constituting the print preview image Is generated.

プレビュー用画像送信部34は、プレビュー用画像生成部33にて生成された各レイヤ画像のデータをクライアント端末40に送信する。   The preview image transmission unit 34 transmits the data of each layer image generated by the preview image generation unit 33 to the client terminal 40.

[クライアント端末]
クライアント端末40は、制御部上で動作するソフトウェアによって、MFP選択部41と画面表示部42などとして機能する。
[Client terminal]
The client terminal 40 functions as an MFP selection unit 41, a screen display unit 42, and the like by software operating on the control unit.

MFP選択部41は、ドキュメントの印刷出力を行う印刷装置20をユーザに選択させる。   The MFP selection unit 41 allows the user to select the printing apparatus 20 that prints out a document.

画面表示部42は、Webブラウザ上に、設定やプレビュー閲覧のための画面表示を行う。この画面表示部42には、ドキュメントファイル選択部42aとプレビュー表示部42bとプレビュー操作部42cと印刷設定部42dなどが含まれる。   The screen display unit 42 displays a screen for setting and preview browsing on the Web browser. The screen display unit 42 includes a document file selection unit 42a, a preview display unit 42b, a preview operation unit 42c, a print setting unit 42d, and the like.

ドキュメントファイル選択部42aは、印刷プレビュー用画像の表示対象となるドキュメントファイルをユーザに選択させる。選択されたドキュメントファイルは、Webサーバ30側にアップロードされ、データ管理部31にて管理される。   The document file selection unit 42a allows the user to select a document file to be displayed as a print preview image. The selected document file is uploaded to the Web server 30 side and managed by the data management unit 31.

プレビュー表示部42bは、Webサーバ30のプレビュー用画像生成部33にて生成された各レイヤ画像を重ね合わせることによって、印刷プレビュー用画像をWebブラウザ上に表示する。   The preview display unit 42 b displays the print preview image on the Web browser by superimposing the layer images generated by the preview image generation unit 33 of the Web server 30.

プレビュー操作部42cは、印刷プレビュー用画像の、ページ移動、プレビュー表示の拡大/縮小/回転などの操作を可能にする。   The preview operation unit 42c enables operations such as page movement and enlargement / reduction / rotation of the preview display of the print preview image.

印刷設定部42dは、Webサーバ30のデータ管理部31から取得した画面情報に基づき、Webブラウザ上に印刷設定用の画面を表示する。また、印刷設定内容の制御とユーザからの印刷設定入力の受け付け/管理を行う。この印刷設定部42dで設定された印刷設定情報は、Webサーバ30の画像生成制御部35を介してプレビュー用画像生成部33に通知され、印刷設定が反映されたレイヤ画像が生成される。   The print setting unit 42d displays a print setting screen on the Web browser based on the screen information acquired from the data management unit 31 of the Web server 30. It also controls print setting contents and accepts / manages print setting input from the user. The print setting information set by the print setting unit 42d is notified to the preview image generating unit 33 via the image generation control unit 35 of the Web server 30, and a layer image reflecting the print setting is generated.

以下、上記構成の印刷システム10(Webサーバ30及びクライアント端末40)の動作(プレビュー表示までの動作)について説明する。Webサーバ30及びクライアント端末40のCPUは、ROMに記憶したプログラム(Webサーバ30はプレビュー用画像生成プログラム)を読み出し、RAMに展開して実行することにより、図3のフローチャート図に示す各処理を実行する。   Hereinafter, an operation (operation until preview display) of the printing system 10 (the Web server 30 and the client terminal 40) configured as described above will be described. The CPU of the Web server 30 and the client terminal 40 reads the program stored in the ROM (the Web server 30 is a preview image generation program), develops it in the RAM, and executes it, thereby performing each process shown in the flowchart of FIG. Run.

まず、クライアント端末40のドキュメントファイル選択部42aは、ユーザ操作によって選択された、印刷対象となるドキュメントファイルをWebサーバ30のデータ管理部31にアップロードする(S101)。   First, the document file selection unit 42a of the client terminal 40 uploads the document file selected by the user operation to be printed to the data management unit 31 of the Web server 30 (S101).

Webサーバ30では、データ管理部31が、ドキュメントファイル選択部42aから送信されたドキュメントファイルを受信し、保存した後(S102)、ドキュメント解析部36は、受信したドキュメントファイルの内容の解析を行い、ドキュメントの各ページに対して、オブジェクトの種類とデータサイズを抽出する(S103)。次に、画像生成制御部35は、データサイズの小さい順に、オブジェクト種類毎(又はオブジェクト毎やグループ毎)の処理順序を設定する(S104)。   In the Web server 30, after the data management unit 31 receives and saves the document file transmitted from the document file selection unit 42a (S102), the document analysis unit 36 analyzes the content of the received document file, The object type and data size are extracted for each page of the document (S103). Next, the image generation control unit 35 sets the processing order for each object type (or for each object or each group) in ascending order of data size (S104).

次に、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理が終了したかチェックし(S105)、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了していない場合は、プレビュー用画像生成部33は、S104で設定した処理順序に従い、オブジェクトからレイヤ画像を生成し(S106)、プレビュー用画像送信部34は、レイヤ画像のデータをクライアント端末40に送信する(S107)。   Next, the image generation control unit 35 checks whether image generation / transmission processing for all object types (or objects or groups) has been completed (S105), and processing for all object types (or objects or groups) has ended. If not, the preview image generation unit 33 generates a layer image from the object in accordance with the processing order set in S104 (S106), and the preview image transmission unit 34 sends the layer image data to the client terminal 40. Transmit (S107).

クライアント端末40では、プレビュー表示部42bは、レイヤ画像のデータを受信し(S108)、レイヤ画像を重ね合わせて表示する(S109)。   In the client terminal 40, the preview display unit 42b receives the layer image data (S108), and displays the layer images in a superimposed manner (S109).

その後、S105で、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理が終了したかチェックし、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了していなければ、Webサーバ30のS106、S107の処理、及び、クライアント端末40のS108、S109の処理を繰り返し、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了した場合は、クライアント端末40は、各レイヤ画像を重ね合わせた印刷プレビュー用画像の表示を行う(S110)。   Thereafter, in S105, the image generation control unit 35 checks whether the image generation / transmission processing for all object types (or objects or groups) is completed, and the processing for all object types (or objects or groups) is completed. If not, the processing of S106 and S107 of the Web server 30 and the processing of S108 and S109 of the client terminal 40 are repeated, and when the processing of all object types (or objects and groups) is completed, the client terminal 40 Then, the print preview image obtained by superimposing the layer images is displayed (S110).

以下、上記処理について具体例を挙げて説明する。図4は、プレビュー表示の対象となるドキュメントの一例である。このドキュメント50には、テキストオブジェクト51、ベクターグラフィックスオブジェクト52、イメージオブジェクト53の3つのオブジェクト種類が含まれているとし、オブジェクト種類別のデータサイズは、小さい順に、ベクターグラフィックスオブジェクト52、テキストオブジェクト51、イメージオブジェクト53であるとする。   Hereinafter, the above process will be described with a specific example. FIG. 4 is an example of a document to be previewed. The document 50 includes three object types, a text object 51, a vector graphics object 52, and an image object 53. The data size for each object type is the vector graphics object 52, the text object in ascending order. 51, an image object 53.

上記構成のドキュメント50(図5(a)参照)をプレビュー表示するとき、図5(b)に示すように、Webサーバ30の画像生成制御部35は、ドキュメント解析部36が解析したオブジェクト種類及びオブジェクト種類毎のデータサイズに基づいて、プレビュー用画像生成・送信処理の順序を、データサイズの小さいオブジェクト種類順に設定する。そして、プレビュー用画像生成部33は、その順序に従って、ベクターグラフィックスオブジェクト52を描画した第1レイヤ画像、テキストオブジェクト51を描画した第2レイヤ画像、イメージオブジェクト53を描画した第3レイヤ画像を順に生成し、プレビュー用画像送信部34は、プレビュー用画像生成部33が生成した順に、各レイヤ画像のデータをクライアント端末40に送信する。   When previewing the document 50 (see FIG. 5A) configured as described above, as shown in FIG. 5B, the image generation control unit 35 of the Web server 30 uses the object type and the analysis analyzed by the document analysis unit 36. Based on the data size for each object type, the order of preview image generation / transmission processing is set in the order of the object type with the smallest data size. Then, in accordance with the order, the preview image generation unit 33 sequentially displays the first layer image in which the vector graphics object 52 is drawn, the second layer image in which the text object 51 is drawn, and the third layer image in which the image object 53 is drawn. The preview image transmission unit 34 transmits the data of each layer image to the client terminal 40 in the order generated by the preview image generation unit 33.

クライアント端末40のプレビュー表示部42bは、図5(c)に示すように、データを受信した順に各レイヤ画像を重ね合わせて表示する。すなわち、まず、第1レイヤ画像を表示し、その画像に第2レイヤ画像を重ねて表示し、更に、それらの画像に第3レイヤ画像を重ねて表示する。これにより、ユーザは第1レイヤ画像(データサイズが最も小さいベクターグラフィックスオブジェクト52の全体画像)を素早く確認することができるため、ドキュメントをタイルで分割した時よりもドキュメントの内容を容易に理解することができ、印刷プレビュー用画像の表示が開始されるまでの時間を短縮することができる。   As shown in FIG. 5C, the preview display unit 42b of the client terminal 40 superimposes and displays the layer images in the order in which the data is received. That is, first, the first layer image is displayed, the second layer image is superimposed on the image, and further the third layer image is superimposed on the image. As a result, the user can quickly check the first layer image (the entire image of the vector graphics object 52 having the smallest data size), so that the contents of the document can be understood more easily than when the document is divided into tiles. It is possible to reduce the time until the display of the print preview image is started.

図5では、オブジェクトの種類毎にレイヤを分割する場合を示したが、ドキュメントに1種類のオブジェクトが複数含まれている場合には、オブジェクト毎にレイヤ画像を生成することができる。例えば、図6(a)に示すように、ドキュメント50に、サイズの異なる3種類のイメージオブジェクトが含まれており、サイズが小さい順に、イメージ1、イメージ2、イメージ3であるとする。   Although FIG. 5 shows a case where a layer is divided for each type of object, when a document includes a plurality of one type of object, a layer image can be generated for each object. For example, as shown in FIG. 6A, it is assumed that a document 50 includes three types of image objects having different sizes, and is an image 1, an image 2, and an image 3 in order of increasing size.

このとき、図6(b)に示すように、Webサーバ30の画像生成制御部35は、ドキュメント解析部36が解析したオブジェクトのデータサイズに基づいて、プレビュー用画像生成・送信処理の順序を、データサイズの小さいオブジェクト順に設定する。そして、プレビュー用画像生成部33は、その順序に従って、イメージ1を描画した第1レイヤ画像、イメージ2を描画した第2レイヤ画像、イメージ3を描画した第3レイヤ画像を順に生成し、プレビュー用画像送信部34は、プレビュー用画像生成部33が生成した順に、各レイヤ画像のデータをクライアント端末40に送信する。   At this time, as illustrated in FIG. 6B, the image generation control unit 35 of the Web server 30 determines the order of the preview image generation / transmission processing based on the data size of the object analyzed by the document analysis unit 36. Set in order of objects with the smallest data size. Then, the preview image generation unit 33 sequentially generates a first layer image in which the image 1 is drawn, a second layer image in which the image 2 is drawn, and a third layer image in which the image 3 is drawn in order. The image transmission unit 34 transmits the data of each layer image to the client terminal 40 in the order generated by the preview image generation unit 33.

クライアント端末40のプレビュー表示部42bは、図6(c)に示すように、まず、第1レイヤ画像を表示し、その画像に第2レイヤ画像を重ねて表示し、更に、それらの画像に第3レイヤ画像を重ねて表示する。これにより、ユーザは第1レイヤ画像(データサイズが最も小さいイメージ1の全体画像)を素早く確認することができるため、ドキュメントをタイルで分割した時よりもドキュメントの内容を容易に理解することができ、印刷プレビュー用画像の表示が開始されるまでの時間を短縮することができる。   As shown in FIG. 6C, the preview display unit 42b of the client terminal 40 first displays the first layer image, displays the second layer image superimposed on the image, and further displays the first layer image on the image. A three-layer image is superimposed and displayed. As a result, the user can quickly check the first layer image (the entire image of image 1 having the smallest data size), so that the contents of the document can be understood more easily than when the document is divided into tiles. It is possible to shorten the time until the display of the print preview image is started.

図5ではオブジェクトの種類毎のデータサイズ、図6では各オブジェクトのデータサイズを比較したが、1又は複数のオブジェクトからなるグループ毎にデータサイズを比較してもよい。例えば、図7(a)に示すように、ドキュメント50に、6つのイメージオブジェクトが含まれており、イメージ1〜3、イメージ5、6が各々グループを構成しており、サイズが小さい順に、イメージ1〜3、イメージ4、イメージ5、6であるとする。   Although the data size for each object type is compared in FIG. 5 and the data size of each object is compared in FIG. 6, the data size may be compared for each group of one or a plurality of objects. For example, as shown in FIG. 7A, the document 50 includes six image objects, and the images 1 to 3 and the images 5 and 6 each form a group. 1 to 3, image 4, and images 5 and 6.

このとき、図7(b)に示すように、Webサーバ30の画像生成制御部35は、ドキュメント解析部36が解析したオブジェクトの位置及びデータサイズに基づいて、オブジェクトをグループ化(距離が近いオブジェクトやデータサイズが近いオブジェクトをグループとして設定)し、プレビュー用画像生成・送信処理の順序を、データサイズの小さいオブジェクト又はグループ順に設定する。そして、プレビュー用画像生成部33は、その順序に従って、イメージ1〜3を描画した第1レイヤ画像、イメージ4を描画した第2レイヤ画像、イメージ5、6を描画した第3レイヤ画像を順に生成し、プレビュー用画像送信部34は、プレビュー用画像生成部33が生成した順に、各レイヤ画像のデータをクライアント端末40に送信する。   At this time, as shown in FIG. 7B, the image generation control unit 35 of the Web server 30 groups the objects based on the position and data size of the objects analyzed by the document analysis unit 36 (objects with a short distance). Or objects having similar data sizes are set as a group), and the order of preview image generation / transmission processing is set in the order of objects or groups having a smaller data size. Then, the preview image generation unit 33 sequentially generates the first layer image in which the images 1 to 3 are drawn, the second layer image in which the image 4 is drawn, and the third layer image in which the images 5 and 6 are drawn according to the order. Then, the preview image transmission unit 34 transmits the data of each layer image to the client terminal 40 in the order generated by the preview image generation unit 33.

クライアント端末40のプレビュー表示部42bは、図7(c)に示すように、まず、第1レイヤ画像を表示し、その画像に第2レイヤ画像を重ねて表示し、更に、それらの画像に第3レイヤ画像を重ねて表示する。これにより、ユーザは第1レイヤ画像(データサイズが最も小さいイメージ1〜3の全体画像)を素早く確認することができるため、ドキュメントをタイルで分割した時よりもドキュメントの内容を容易に理解することができ、印刷プレビュー用画像の表示が開始されるまでの時間を短縮することができる。   As shown in FIG. 7C, the preview display unit 42b of the client terminal 40 first displays the first layer image, displays the second layer image superimposed on the image, and further displays the first layer image on the images. A three-layer image is superimposed and displayed. As a result, the user can quickly check the first layer image (the entire image of the images 1 to 3 having the smallest data size), so that the contents of the document can be understood more easily than when the document is divided into tiles. And the time until the display of the print preview image is started can be shortened.

なお、図5では、ドキュメントに含まれるオブジェクトの種類を3種類としたが、2種類の場合も同様である。また、図6及び図7では、ドキュメントにイメージオブジェクトのみが含まれる場合を示したが、ベクターグラフィックスオブジェクトのみ又はテキストオブジェクトのみが含まれる場合も同様である。また、図5ではオブジェクトの種類毎、図6及び図7では1又は複数のオブジェクト毎にレイヤ画像を構成したが、これらを組み合わせて、各レイヤ画像に同種又は異種のオブジェクトを1又は複数個配置するようにしてもよい。また、図5乃至図7では、3つのレイヤ画像で印刷プレビュー用画像を構成したが、レイヤ画像は複数であればよい。   In FIG. 5, three types of objects are included in the document, but the same applies to the case of two types. 6 and 7 show the case where only the image object is included in the document, the same applies to the case where only the vector graphics object or only the text object is included. In FIG. 5, a layer image is formed for each object type, and in FIGS. 6 and 7, one or more objects are configured. By combining these, one or more objects of the same type or different types are arranged in each layer image. You may make it do. In FIGS. 5 to 7, the print preview image is composed of three layer images. However, there may be a plurality of layer images.

次に、本発明の第2の実施例に係るプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置について、図8乃至図10を参照して説明する。図8は、本実施例の印刷システムの各装置の構成を示すブロック図であり、図9は、本実施例のWebサーバとクライアント端末の動作を示すフローチャート図である。また、図10は、本実施例のプレビュー用画像の生成例を模式的に示す図である。   Next, a preview image generation method, a preview image generation program, and a preview image generation apparatus according to a second embodiment of the present invention will be described with reference to FIGS. FIG. 8 is a block diagram showing the configuration of each device of the printing system of this embodiment, and FIG. 9 is a flowchart showing the operations of the Web server and client terminal of this embodiment. FIG. 10 is a diagram schematically illustrating a generation example of a preview image according to the present embodiment.

前記した第1の実施例では、ドキュメントに含まれるオブジェクトに重なりがない場合について記載したが、ドキュメントによってはオブジェクトが重なっている(例えば、テキストオブジェクトにベクターグラフィックスオブジェクトの図形が重なっている)場合もある。そこで、本実施例では、オブジェクトに重なりがあっても正しい順序で表示できるようにする手法を説明する。なお、特に記載のない点は、第1の実施例と同じものとする。   In the first embodiment described above, the case where the objects included in the document do not overlap has been described. However, depending on the document, the objects overlap (for example, the text object is overlapped with the graphic of the vector graphics object). There is also. Therefore, in the present embodiment, a method for allowing the objects to be displayed in the correct order even when there is an overlap will be described. The points not particularly described are the same as those in the first embodiment.

本実施例の印刷システム10は、第1の実施例の図1に示すように、印刷処理を実行する印刷装置20と、印刷装置20に印刷を指示するWebサーバ30と、文書などのドキュメントを作成するクライアント端末40と、で構成され、これらは通信ネットワークを介して相互に接続されている。図8は、各装置のソフトウェア構成(制御部上で動作するソフトウェアによって実現される機能)を示している。   As shown in FIG. 1 of the first embodiment, the printing system 10 of this embodiment includes a printing device 20 that executes printing processing, a Web server 30 that instructs the printing device 20 to print, and a document such as a document. And a client terminal 40 to be created, which are connected to each other via a communication network. FIG. 8 shows the software configuration of each device (function realized by software operating on the control unit).

[印刷装置]
印刷装置20は、第1の実施例と同様に、制御部上で動作するソフトウェアによって、印刷出力部21などとして機能する。印刷出力部21は、Webサーバ30の印刷ジョブ生成部32から受信した印刷ジョブに基づき、用紙への印刷処理を制御する。
[Printer]
As in the first embodiment, the printing apparatus 20 functions as a print output unit 21 or the like by software operating on the control unit. The print output unit 21 controls printing processing on paper based on the print job received from the print job generation unit 32 of the Web server 30.

[Webサーバ]
Webサーバ30は、印刷プレビュー用画像を生成する装置であり、制御部上で動作するソフトウェアによって、データ管理部31と印刷ジョブ生成部32とプレビュー用画像生成部33とプレビュー用画像送信部34と画像生成制御部35とドキュメント解析部36a及び36bと重ね合わせ順序付与部37などとして機能する。なお、データ管理部31、印刷ジョブ生成部32及びプレビュー用画像送信部34は、第1の実施例と同様であるため、説明を省略する。
[Web server]
The Web server 30 is a device that generates a print preview image. The software runs on the control unit, and the data management unit 31, the print job generation unit 32, the preview image generation unit 33, and the preview image transmission unit 34 It functions as an image generation control unit 35, document analysis units 36a and 36b, a superposition order giving unit 37, and the like. Note that the data management unit 31, the print job generation unit 32, and the preview image transmission unit 34 are the same as those in the first embodiment, and a description thereof will be omitted.

ドキュメント解析部36aは、データ管理部31から受け取ったドキュメントファイルの解析を行って、ドキュメントの各ページに使用されている各オブジェクトの表示順序(各々のオブジェクトの最背面から順に数えた順序)を抽出する。   The document analysis unit 36a analyzes the document file received from the data management unit 31 and extracts the display order of each object used in each page of the document (the order counted from the back of each object in order). To do.

ドキュメント解析部36bは、ドキュメントファイルの解析を行って、ドキュメントの各ページに使用されている各オブジェクトの種類、データサイズ、必要に応じて位置(ドキュメント上の座標)を抽出する。   The document analysis unit 36b analyzes the document file and extracts the type, data size, and position (coordinates on the document) of each object used for each page of the document.

画像生成制御部35は、ドキュメント解析部36bにて抽出した各オブジェクトの種類とデータサイズに基づいて、画像生成処理を行うオブジェクト種類(又はオブジェクト)の順序を設定する。具体的には、ドキュメントの各ページに対して、データサイズの小さい順に、オブジェクト種類毎(又はオブジェクト毎)の処理順序を設定する。また、ドキュメントの各ページに対して、各オブジェクトの位置やデータサイズに基づいてオブジェクトをグループ化し、データサイズの小さい順に、グループ毎の処理順序を設定する。   The image generation control unit 35 sets the order of object types (or objects) to be subjected to image generation processing based on the type and data size of each object extracted by the document analysis unit 36b. Specifically, the processing order for each object type (or for each object) is set for each page of the document in ascending order of data size. Also, for each page of the document, the objects are grouped based on the position and data size of each object, and the processing order for each group is set in ascending order of the data size.

プレビュー用画像生成部33は、画像生成制御部35にて設定された順序に基づき、オブジェクト種類毎、又はオブジェクト毎、又はグループ毎にレンダリングして、印刷プレビュー用画像を構成する各レイヤ画像を生成する。   The preview image generation unit 33 generates each layer image constituting the print preview image by rendering for each object type, for each object, or for each group based on the order set by the image generation control unit 35. To do.

重ね合わせ順序付与部37は、プレビュー用画像生成部33で生成した各レイヤ画像のデータに対して、ドキュメント解析部36aにて抽出したオブジェクトの表示順序で各レイヤ画像を重ね合わせるための順序情報(重ね合わせ順序情報と呼ぶ。)を付与する。   The overlay order assigning unit 37 superimposes each layer image in the display order of the objects extracted by the document analysis unit 36a on the data of each layer image generated by the preview image generating unit 33 ( (Referred to as superposition order information).

[クライアント端末]
クライアント端末40は、制御部上で動作するソフトウェアによって、MFP選択部41と画面表示部42などとして機能する。画面表示部42には、ドキュメントファイル選択部42aとプレビュー操作部42cとプレビュー表示部42bと印刷設定部42dなどが含まれる。なお、MFP選択部41、ドキュメントファイル選択部42a、プレビュー操作部42c及び印刷設定部42dは、第1の実施例と同様であるため、説明を省略する。
[Client terminal]
The client terminal 40 functions as an MFP selection unit 41, a screen display unit 42, and the like by software operating on the control unit. The screen display unit 42 includes a document file selection unit 42a, a preview operation unit 42c, a preview display unit 42b, a print setting unit 42d, and the like. The MFP selection unit 41, the document file selection unit 42a, the preview operation unit 42c, and the print setting unit 42d are the same as those in the first embodiment, and thus description thereof is omitted.

プレビュー表示部42bは、Webサーバ30のプレビュー用画像生成部33にて生成されたレイヤ画像を重ね合わせることによって、印刷プレビュー用画像をWebブラウザ上に表示する。その際、各レイヤ画像のデータに付与された重ね合わせ順序情報を参照して、各レイヤ画像の表示順序(どのレイヤ画像を手前に表示するか)を判断する。   The preview display unit 42 b displays the print preview image on the Web browser by superimposing the layer images generated by the preview image generation unit 33 of the Web server 30. At this time, the display order of each layer image (which layer image is displayed in front) is determined with reference to the overlay order information given to the data of each layer image.

以下、上記構成の印刷システム10(クライアント端末40及びWebサーバ30)の動作(プレビュー表示までの動作)について説明する。Webサーバ30及びクライアント端末40のCPUは、ROMに記憶したプログラム(Webサーバ30はプレビュー用画像生成プログラム)を読み出し、RAMに展開して実行することにより、図9のフローチャート図に示す各処理を実行する。   Hereinafter, operations (operations until preview display) of the printing system 10 (the client terminal 40 and the Web server 30) configured as described above will be described. The CPU of the Web server 30 and the client terminal 40 reads the program stored in the ROM (the Web server 30 is a preview image generation program), develops it in the RAM, and executes it, thereby performing each process shown in the flowchart of FIG. Run.

まず、クライアント端末40のドキュメントファイル選択部42aは、ユーザ操作によって選択された、印刷対象となるドキュメントファイルをWebサーバ30のデータ管理部31にアップロードする(S201)。   First, the document file selection unit 42a of the client terminal 40 uploads the document file to be printed selected by the user operation to the data management unit 31 of the Web server 30 (S201).

Webサーバ30では、データ管理部31が、ドキュメントファイル選択部42aから送信されたドキュメントファイルを受信し、保存した後(S202)、ドキュメント解析部36bは、受信したドキュメントファイルの内容の解析を行い、ドキュメントの各ページに対して、オブジェクトの種類とデータサイズを抽出する(S203)。次に、画像生成制御部35は、プレビュー用画像生成・送信処理の順序をデータサイズの小さいオブジェクト種類(又はオブジェクトやグループ)の順に設定する(S204)。   In the Web server 30, after the data management unit 31 receives and stores the document file transmitted from the document file selection unit 42a (S202), the document analysis unit 36b analyzes the content of the received document file, The object type and data size are extracted for each page of the document (S203). Next, the image generation control unit 35 sets the order of preview image generation / transmission processing in the order of the object type (or object or group) with the smallest data size (S204).

次に、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理が終了したかチェックし(S205)、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了していない場合は、プレビュー用画像生成部33は、S204で設定した処理順序に従い、オブジェクトからレイヤ画像を生成する(S206)。そして、重ね合わせ順序付与部37は、レイヤ画像のデータに重ね合わせ順序情報を付与し(S207)、プレビュー用画像送信部34は、重ね合わせ順序情報を付与したレイヤ画像のデータをクライアント端末40に送信する(S208)。   Next, the image generation control unit 35 checks whether image generation / transmission processing for all object types (or objects or groups) has been completed (S205), and processing for all object types (or objects or groups) has ended. If not, the preview image generation unit 33 generates a layer image from the object according to the processing order set in S204 (S206). Then, the superimposition order giving unit 37 gives superposition order information to the layer image data (S207), and the preview image transmitting unit 34 sends the layer image data to which the superposition order information is given to the client terminal 40. Transmit (S208).

クライアント端末40では、レイヤ画像のデータを受信し(S209)、レイヤ画像のデータに付与された重ね合わせ順序情報を参照して、このレイヤ画像の表示順序を設定し(S210)、設定した順序に従ってレイヤ画像を重ね合わせて表示する(S211)。   The client terminal 40 receives the layer image data (S209), refers to the overlay order information added to the layer image data, sets the display order of the layer images (S210), and follows the set order. Layer images are superimposed and displayed (S211).

その後、S205で、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理が終了したかチェックし、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了していなければ、Webサーバ30のS206〜S208、及び、クライアント端末40のS209〜S211の処理を繰り返す。すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了した場合は、クライアント端末40は、各レイヤ画像を重ね合わせ順序情報に従って重ね合わせた印刷プレビュー用画像の表示を行う(S212)。   Thereafter, in S205, the image generation control unit 35 checks whether the image generation / transmission processing for all object types (or objects or groups) has been completed, and the processing for all object types (or objects or groups) has been completed. If not, the processes of S206 to S208 of the Web server 30 and S209 to S211 of the client terminal 40 are repeated. When the processing of all object types (or objects and groups) is completed, the client terminal 40 displays a print preview image in which the layer images are superimposed according to the overlay order information (S212).

以下、上記処理について具体例を挙げて説明する。図10(a)は、プレビュー表示の対象となるドキュメントの一例である。このドキュメント50には、テキストオブジェクト51、ベクターグラフィックスオブジェクト52、イメージオブジェクト53の3つのオブジェクト種類が含まれているとし、オブジェクト種類別のデータサイズは、小さい順に、ベクターグラフィックスオブジェクト52、テキストオブジェクト51、イメージオブジェクト53であるとする。また、ベクターグラフィックスオブジェクト52の一部は、テキストオブジェクト51及びイメージオブジェクト53に重なっており、ベクターグラフィックスオブジェクト52(矩形の枠線)は、テキストオブジェクト51よりも前面に描画され、ベクターグラフィックスオブジェクト52(楕円の線)は、イメージオブジェクト53よりも前面に描画されているものとする。   Hereinafter, the above process will be described with a specific example. FIG. 10A shows an example of a document to be previewed. The document 50 includes three object types, a text object 51, a vector graphics object 52, and an image object 53. The data size for each object type is the vector graphics object 52, the text object in ascending order. 51, an image object 53. Further, a part of the vector graphics object 52 overlaps the text object 51 and the image object 53, and the vector graphics object 52 (rectangular border) is drawn in front of the text object 51, and the vector graphics It is assumed that the object 52 (elliptical line) is drawn in front of the image object 53.

上記構成のドキュメント50をプレビュー表示するとき、図10(b)に示すように、Webサーバ30の画像生成制御部35はドキュメント解析部36bが解析したオブジェクト種類及びオブジェクト種類毎のデータサイズに基づいて、プレビュー用画像生成・送信処理の順序を、データサイズの小さいオブジェクト種類順に設定する。そして、プレビュー用画像生成部33は、その順序に従って、ベクターグラフィックスオブジェクト52を描画した第1レイヤ画像、テキストオブジェクト51を描画した第2レイヤ画像、イメージオブジェクト53を描画した第3レイヤ画像を順に生成すると共に、各レイヤ画像のデータに対して重ね合わせ順序情報を付与する。そして、プレビュー用画像送信部34は、プレビュー用画像生成部33が生成した順に、重ね合わせ順序情報を付与した各レイヤ画像のデータをクライアント端末40に送信する。   When previewing the document 50 having the above configuration, as shown in FIG. 10B, the image generation control unit 35 of the Web server 30 is based on the object type analyzed by the document analysis unit 36b and the data size for each object type. The order of the preview image generation / transmission process is set in the order of the object type with the smallest data size. Then, in accordance with the order, the preview image generation unit 33 sequentially displays the first layer image in which the vector graphics object 52 is drawn, the second layer image in which the text object 51 is drawn, and the third layer image in which the image object 53 is drawn. At the same time, the overlay order information is given to the data of each layer image. Then, the preview image transmission unit 34 transmits the data of each layer image to which the overlay order information is added to the client terminal 40 in the order generated by the preview image generation unit 33.

クライアント端末40のプレビュー表示部42bは、図10(c)に示すように、データを受信した順に各レイヤ画像を重ね合わせて表示する。すなわち、まず、第1レイヤ画像を表示し、その画像に第2レイヤ画像を重ねて表示する。その際、第1レイヤ画像は第2レイヤ画像よりも前に表示されるため、テキストオブジェクトと重なるベクターグラフィックスオブジェクト(矩形の枠線)は、テキストオブジェクトによって見えなくなることはない。更に、それらの画像に第3レイヤ画像を重ねて表示する。その際、第1レイヤ画像は第3レイヤ画像よりも前に表示されるため、イメージオブジェクトと重なるベクターグラフィックスオブジェクト(楕円の線)は、イメージオブジェクトによって見えなくなることはない。これにより、オブジェクトが重なるドキュメントをプレビュー表示する場合であっても、ドキュメントの各オブジェクトを適切に表示することができる。   As shown in FIG. 10C, the preview display unit 42b of the client terminal 40 superimposes and displays the layer images in the order in which the data is received. That is, first, the first layer image is displayed, and the second layer image is superimposed on the image. At this time, since the first layer image is displayed before the second layer image, the vector graphics object (rectangular frame line) overlapping the text object is not invisible by the text object. Further, the third layer image is superimposed on these images and displayed. At this time, since the first layer image is displayed before the third layer image, the vector graphics object (elliptical line) overlapping the image object is not invisible by the image object. As a result, each object of the document can be appropriately displayed even when the document where the objects overlap is displayed as a preview.

次に、本発明の第3の実施例に係るプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置について、図11乃至図13を参照して説明する。図11は、本実施例の印刷システムにおける各装置の構成を示すブロック図であり、図12は、本実施例のWebサーバとクライアント端末の動作を示すフローチャート図である。また、図13は、本実施例のプレビュー用画像の生成例を模式的に示す図である。   Next, a preview image generating method, a preview image generating program, and a preview image generating apparatus according to a third embodiment of the present invention will be described with reference to FIGS. FIG. 11 is a block diagram showing the configuration of each device in the printing system of this embodiment, and FIG. 12 is a flowchart showing the operations of the Web server and client terminal of this embodiment. FIG. 13 is a diagram schematically illustrating a generation example of a preview image according to the present embodiment.

前記した第1及び第2の実施例では、最終的に印刷プレビュー用画像となるレイヤ画像を生成する場合について記載したが、本実施例では、印刷プレビュー用画像の表示が開始されるまでの時間を更に短縮するために、一旦解像度を低くしてすべてのオブジェクトを一通り表示し、その後、高解像度の画像で置き換える手法を説明する。なお、特に記載のない点は、第1及び第2の実施例と同じものとする。   In the first and second embodiments described above, the case where a layer image that finally becomes a print preview image is generated has been described, but in this embodiment, the time until the display of the print preview image is started. In order to further reduce the image quality, a method will be described in which the resolution is once lowered and all objects are displayed in a row and then replaced with a high-resolution image. Unless otherwise specified, it is the same as in the first and second embodiments.

本実施例の印刷システム10は、第1の実施例の図1に示すように、印刷処理を実行する印刷装置20と、印刷装置20に印刷を指示するWebサーバ30と、文書などのドキュメントを作成するクライアント端末40と、で構成され、これらは通信ネットワークを介して相互に接続されている。図11は、各装置のソフトウェア構成(制御部上で動作するソフトウェアによって実現される機能)を示している。   As shown in FIG. 1 of the first embodiment, the printing system 10 of this embodiment includes a printing device 20 that executes printing processing, a Web server 30 that instructs the printing device 20 to print, and a document such as a document. And a client terminal 40 to be created, which are connected to each other via a communication network. FIG. 11 shows the software configuration of each device (function realized by software operating on the control unit).

[印刷装置]
印刷装置20は、第1の実施例と同様に、制御部上で動作するソフトウェアによって、印刷出力部21などとして機能する。印刷出力部21は、Webサーバ30の印刷ジョブ生成部32から受信した印刷ジョブに基づき、用紙への印刷処理を制御する。
[Printer]
As in the first embodiment, the printing apparatus 20 functions as a print output unit 21 or the like by software operating on the control unit. The print output unit 21 controls printing processing on paper based on the print job received from the print job generation unit 32 of the Web server 30.

[Webサーバ]
Webサーバ30は、印刷プレビュー用画像を生成する装置であり、制御部上で動作するソフトウェアによって、データ管理部31と印刷ジョブ生成部32とプレビュー用画像生成部33とプレビュー用画像送信部34と画像生成制御部35とドキュメント解析部36a及び36bと重ね合わせ順序付与部37と解像度切替部38などとして機能する。なお、データ管理部31、印刷ジョブ生成部32、ドキュメント解析部36a及び36b、重ね合わせ順序付与部37は、第2の実施例と同様であるため、説明を省略する。
[Web server]
The Web server 30 is a device that generates a print preview image. The software runs on the control unit, and the data management unit 31, the print job generation unit 32, the preview image generation unit 33, and the preview image transmission unit 34 It functions as an image generation control unit 35, document analysis units 36a and 36b, an overlay order assigning unit 37, a resolution switching unit 38, and the like. Note that the data management unit 31, the print job generation unit 32, the document analysis units 36a and 36b, and the overlay order assignment unit 37 are the same as those in the second embodiment, and thus description thereof is omitted.

画像生成制御部35は、ドキュメント解析部36bにて抽出した各オブジェクトの種類とデータサイズに基づいて、画像生成処理を行うオブジェクト種類(又はオブジェクト)の順序を設定する。具体的には、ドキュメントの各ページに対して、データサイズの小さい順に、オブジェクト種類毎(又はオブジェクト毎)の処理順序を設定する。また、ドキュメントの各ページに対して、各オブジェクトの位置やデータサイズに基づいてオブジェクトをグループ化し、データサイズの小さい順に、グループ毎の処理順序を設定する。   The image generation control unit 35 sets the order of object types (or objects) to be subjected to image generation processing based on the type and data size of each object extracted by the document analysis unit 36b. Specifically, the processing order for each object type (or for each object) is set for each page of the document in ascending order of data size. Also, for each page of the document, the objects are grouped based on the position and data size of each object, and the processing order for each group is set in ascending order of the data size.

プレビュー用画像生成部33は、画像生成制御部35にて設定された順序及び解像度切替部38にて設定された解像度に基づき、オブジェクト種類毎、又はオブジェクト毎、又はグループ毎にレンダリングして、印刷プレビュー用画像を構成する各レイヤ画像を生成する。   The preview image generation unit 33 renders and prints for each object type, for each object, or for each group based on the order set by the image generation control unit 35 and the resolution set by the resolution switching unit 38. Each layer image constituting the preview image is generated.

解像度切替部38は、プレビュー用画像生成部33で生成するレイヤ画像の解像度を指定する。具体的には、初めは低解像度(最終的な印刷プレビュー用画像の解像度よりも低い解像度)でレイヤ画像の生成処理を行うように制御し、全オブジェクトの画像生成と送信処理が完了したら、次に高解像度(最終的な印刷プレビュー用画像の解像度)で改めてレイヤ画像の生成処理を行うように制御する。   The resolution switching unit 38 designates the resolution of the layer image generated by the preview image generating unit 33. Specifically, control is performed so that layer image generation processing is initially performed at a low resolution (resolution lower than the resolution of the final print preview image), and when image generation and transmission processing of all objects is completed, The layer image generation processing is controlled to be performed again at a high resolution (the resolution of the final print preview image).

[クライアント端末]
クライアント端末40は、制御部上で動作するソフトウェアによって、MFP選択部41と画面表示部42などとして機能する。画面表示部42には、ドキュメントファイル選択部42aとプレビュー操作部42cとプレビュー表示部42bと印刷設定部42dなどが含まれる。なお、MFP選択部41、ドキュメントファイル選択部42a、プレビュー操作部42c、印刷設定部42dは、第1の実施例と同様であるため、説明を省略する。
[Client terminal]
The client terminal 40 functions as an MFP selection unit 41, a screen display unit 42, and the like by software operating on the control unit. The screen display unit 42 includes a document file selection unit 42a, a preview operation unit 42c, a preview display unit 42b, a print setting unit 42d, and the like. The MFP selection unit 41, the document file selection unit 42a, the preview operation unit 42c, and the print setting unit 42d are the same as those in the first embodiment, and thus description thereof is omitted.

プレビュー表示部42bは、Webサーバ30のプレビュー用画像生成部33にて生成されたレイヤ画像を重ね合わせることによって、印刷プレビュー用画像をWebブラウザ上に表示する。その際、各レイヤ画像のデータに付与された重ね合わせ順序情報を参照して、表示順序を判断する。また、全オブジェクトに対して、低解像度のレイヤ画像を表示した後に、高解像度のレイヤ画像のデータを受信すると、重ね合わせ順序情報を参照して、低解像度のレイヤ画像をそのレイヤ画像に対応する高解像度のレイヤ画像に置き換えて表示する。   The preview display unit 42 b displays the print preview image on the Web browser by superimposing the layer images generated by the preview image generation unit 33 of the Web server 30. At that time, the display order is determined with reference to the superposition order information given to the data of each layer image. In addition, when high-resolution layer image data is received after displaying a low-resolution layer image for all objects, the low-resolution layer image corresponds to the layer image by referring to the overlay order information. Replace with a high-resolution layer image for display.

以下、上記構成の印刷システム10(クライアント端末40及びWebサーバ30)の動作(プレビュー表示までの動作)について説明する。Webサーバ30及びクライアント端末40のCPUは、ROMに記憶したプログラム(Webサーバ30はプレビュー用画像生成プログラム)を読み出し、RAMに展開して実行することにより、図12のフローチャート図に示す各処理を実行する。   Hereinafter, operations (operations until preview display) of the printing system 10 (the client terminal 40 and the Web server 30) configured as described above will be described. The CPU of the Web server 30 and the client terminal 40 reads the program stored in the ROM (the Web server 30 is a preview image generation program), develops it in the RAM, and executes it, thereby performing each process shown in the flowchart of FIG. Run.

まず、クライアント端末40のドキュメントファイル選択部42aは、ユーザ操作によって選択された、印刷対象となるドキュメントファイルをWebサーバ30のデータ管理部31にアップロードする(S301)。   First, the document file selection unit 42a of the client terminal 40 uploads the document file to be printed selected by the user operation to the data management unit 31 of the Web server 30 (S301).

Webサーバ30では、データ管理部31が、ドキュメントファイル選択部42aから送信されたドキュメントファイルを受信し、保存した後(S302)、ドキュメント解析部36bは、受信したドキュメントファイルの内容の解析を行い、ドキュメントの各ページに対して、オブジェクトの種類とデータサイズを抽出する(S303)。次に、画像生成制御部35は、プレビュー用画像生成・送信処理の順序をデータサイズの小さいオブジェクト種類(又はオブジェクトやグループ)の順に設定する(S304)。   In the Web server 30, after the data management unit 31 receives and stores the document file transmitted from the document file selection unit 42a (S302), the document analysis unit 36b analyzes the content of the received document file, The object type and data size are extracted for each page of the document (S303). Next, the image generation control unit 35 sets the order of preview image generation / transmission processing in the order of the object type (or object or group) with the smallest data size (S304).

次に、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理を低解像度で実施したかチェックし(S305)、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理を低解像度で実施していない場合は、プレビュー用画像生成部33は、S304で設定した処理順序に従い、オブジェクトからレイヤ画像を低解像度で生成する(S306)。そして、重ね合わせ順序付与部37は、レイヤ画像のデータに対して重ね合わせ順序情報を付与し(S307)、プレビュー用画像送信部34は、重ね合わせ順序情報を付与した低解像度のレイヤ画像のデータをクライアント端末40に送信する(S308)。   Next, the image generation control unit 35 checks whether image generation / transmission processing for all object types (or objects or groups) has been performed at a low resolution (S305), and all object types (or objects or groups) are checked. When the processing is not performed at a low resolution, the preview image generation unit 33 generates a layer image from the object at a low resolution according to the processing order set in S304 (S306). Then, the overlay order assigning unit 37 assigns overlay order information to the layer image data (S307), and the preview image transmitting unit 34 provides the low resolution layer image data to which the overlay order information is added. Is transmitted to the client terminal 40 (S308).

クライアント端末40では、低解像度のレイヤ画像のデータを受信し(S309)、レイヤ画像のデータに付与された重ね合わせ順序情報を参照して、このレイヤ画像の表示順序を設定し(S310)、設定した順序に従って低解像度のレイヤ画像を重ね合わせて表示する(S311)。   The client terminal 40 receives the data of the low resolution layer image (S309), refers to the overlay order information given to the layer image data, sets the display order of this layer image (S310), and sets In accordance with the order, the low resolution layer images are superimposed and displayed (S311).

その後、S305で、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理を低解像度で実施したかチェックし、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理を低解像度で実施していなければ、Webサーバ30のS306〜S308、及び、クライアント端末40のS309〜S311の処理を繰り返す。すべてのオブジェクト種類(又はオブジェクトやグループ)の処理を低解像度で実施済みの場合、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理を高解像度で実施したかチェックする(S312)。   Thereafter, in S305, the image generation control unit 35 checks whether image generation / transmission processing for all object types (or objects and groups) has been performed at a low resolution, and processing for all object types (or objects and groups) is performed. Is not executed at a low resolution, the processes of S306 to S308 of the Web server 30 and S309 to S311 of the client terminal 40 are repeated. When processing of all object types (or objects or groups) has been performed at a low resolution, the image generation control unit 35 has performed image generation / transmission processing of all object types (or objects or groups) at a high resolution. Is checked (S312).

すべてのオブジェクト種類(又はオブジェクトやグループ)の処理を高解像度で実施していない場合は、プレビュー用画像生成部33は、S304で設定した処理順序に従い、オブジェクトからレイヤ画像を高解像度で生成する(S313)。そして、重ね合わせ順序付与部37は、レイヤ画像のデータに対して重ね合わせ順序情報を付与し(S314)、プレビュー用画像送信部34は、重ね合わせ順序情報を付与したレイヤ画像のデータをクライアント端末40に送信する(S315)。   If all object types (or objects and groups) are not processed at high resolution, the preview image generating unit 33 generates a layer image from the objects at high resolution according to the processing order set in S304 ( S313). Then, the overlay order assigning unit 37 assigns the overlay order information to the layer image data (S314), and the preview image transmitting unit 34 transmits the layer image data to which the overlay order information is added to the client terminal. 40 (S315).

クライアント端末40では、高解像度のレイヤ画像のデータを受信し(S316)、レイヤ画像のデータに付与された重ね合わせ順序を参照し、このレイヤ画像の表示順序を設定し(S317)、設定した順序に従って、低解像度のレイヤ画像を高解像度のレイヤ画像に置き換えて表示する(S318)。   The client terminal 40 receives the high-resolution layer image data (S316), refers to the overlay order given to the layer image data, sets the display order of this layer image (S317), and sets the set order. Accordingly, the low-resolution layer image is replaced with the high-resolution layer image and displayed (S318).

その後、S312で、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理を高解像度で実施したかチェックし、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理を高解像度で実施していなければ、Webサーバ30のS313〜S315、及び、クライアント端末40のS316〜S318の処理を繰り返す。すべてのオブジェクト種類(又はオブジェクトやグループ)の処理を高解像度が実施済みの場合は、クライアント端末40は、高解像度の各レイヤ画像に置き換えて重ね合わせた印刷プレビュー用画像の表示を行う(S319)。   After that, in S312, the image generation control unit 35 checks whether image generation / transmission processing for all object types (or objects and groups) has been performed with high resolution, and processing for all object types (or objects and groups). Is not performed at a high resolution, the processes of S313 to S315 of the Web server 30 and S316 to S318 of the client terminal 40 are repeated. If high resolution processing has been performed for all object types (or objects and groups), the client terminal 40 displays the superimposed print preview image by replacing each layer image with high resolution (S319). .

以下、上記処理について具体例を挙げて説明する。図13(a)は、プレビュー表示の対象となるドキュメントの一例である。このドキュメント50には、テキストオブジェクト51、ベクターグラフィックスオブジェクト52、イメージオブジェクト53の3つのオブジェクト種類が含まれているとし、オブジェクト種類別のデータサイズは、小さい順に、ベクターグラフィックスオブジェクト52、テキストオブジェクト51、イメージオブジェクト53であるとする。   Hereinafter, the above process will be described with a specific example. FIG. 13A shows an example of a document to be previewed. The document 50 includes three object types, a text object 51, a vector graphics object 52, and an image object 53. The data size for each object type is the vector graphics object 52, the text object in ascending order. 51, an image object 53.

上記構成のドキュメント50をプレビュー表示するとき、図13(b)の上段に示すように、Webサーバ30の画像生成制御部35はドキュメント解析部36bが解析したオブジェクト種類及びオブジェクト種類毎のデータサイズに基づいて、プレビュー用画像生成・送信処理の順序を、データサイズの小さいオブジェクト種類順に設定する。そして、プレビュー用画像生成部33は、その順序に従って、ベクターグラフィックスオブジェクト52を低解像度で描画した第1レイヤ(低解像度であることを細線の破線で表現している。)、テキストオブジェクト51を低解像度で描画した第2レイヤ(低解像度であることを細い文字で表現している。)、イメージオブジェクト53を低解像度で描画した第3レイヤ(低解像度であることを粗い画像で表現している。)を順に生成すると共に、各レイヤ画像のデータに対して重ね合わせ順序情報を付与する。そして、プレビュー用画像送信部34は、プレビュー用画像生成部33が生成した順に、重ね合わせ順序情報を付与した各レイヤ画像のデータをクライアント端末40に送信する。   When a preview of the document 50 having the above configuration is displayed, as shown in the upper part of FIG. 13B, the image generation control unit 35 of the Web server 30 sets the object type analyzed by the document analysis unit 36b and the data size for each object type. Based on this, the order of preview image generation / transmission processing is set in the order of the object type with the smallest data size. Then, the preview image generation unit 33 follows the order in which the first layer in which the vector graphics object 52 is drawn at a low resolution (the low resolution is expressed by a thin broken line) and the text object 51 are displayed. A second layer drawn with low resolution (representing low resolution with thin characters), a third layer with image object 53 drawn with low resolution (representing low resolution with a rough image) Are generated in order, and overlay order information is given to the data of each layer image. Then, the preview image transmission unit 34 transmits the data of each layer image to which the overlay order information is added to the client terminal 40 in the order generated by the preview image generation unit 33.

クライアント端末40のプレビュー表示部42bは、図13(c)の上段に示すように、データを受信した順に各レイヤ画像を重ね合わせて表示する。すなわち、まず、第1レイヤ画像を表示し、その画像に第2レイヤ画像を重ねて表示し、更に、それらの画像に第3レイヤ画像を重ねて表示する。このように、一旦、低解像度の画像を表示することにより、印刷プレビュー用画像の表示が開始されるまでの時間を短縮することができる。   As shown in the upper part of FIG. 13C, the preview display unit 42b of the client terminal 40 superimposes and displays the layer images in the order in which the data is received. That is, first, the first layer image is displayed, the second layer image is superimposed on the image, and further the third layer image is superimposed on the image. In this manner, once the low-resolution image is displayed, the time until the display of the print preview image is started can be shortened.

そして、全てのオブジェクトに対して、低解像度で描画したレイヤ画像をクライアント端末40に送信したら、図13(b)の下段に示すように、Webサーバ30のプレビュー用画像生成部33は、設定された順序に従って、ベクターグラフィックスオブジェクト52を高解像度で描画した第1’レイヤ(高解像度であることを太線の実線で表現している。)、テキストオブジェクト51を高解像度で描画した第2’レイヤ(高解像度であることを太い文字で表現している。)、イメージオブジェクト53を高解像度で描画した第3’レイヤ(高解像度であることを精細な画像で表現している。)を順に生成すると共に、各レイヤ画像のデータに対して重ね合わせ順序情報を付与する。そして、プレビュー用画像送信部34は、プレビュー用画像生成部33が生成した順に、重ね合わせ順序情報を付与した各レイヤ画像のデータをクライアント端末40に送信する。   When the layer image drawn at a low resolution is transmitted to all the objects to the client terminal 40, the preview image generation unit 33 of the Web server 30 is set as shown in the lower part of FIG. In accordance with the above order, the first ′ layer in which the vector graphics object 52 is drawn at high resolution (the high resolution is represented by a solid solid line), and the second ′ layer in which the text object 51 is drawn at high resolution. (The high resolution is expressed by thick characters.) And the third 'layer (the high resolution is expressed by a fine image) in which the image object 53 is drawn at a high resolution is generated in order. In addition, superimposition order information is given to the data of each layer image. Then, the preview image transmission unit 34 transmits the data of each layer image to which the overlay order information is added to the client terminal 40 in the order generated by the preview image generation unit 33.

クライアント端末40のプレビュー表示部42bは、図13(c)の下段に示すように、データを受信した順に各レイヤ画像を重ね合わせ順序を考慮して置き換えて表示する。すなわち、まず、第1レイヤ画像を第1’レイヤ画像に置き換えて表示し、次に、第2レイヤ画像を第2’レイヤ画像に置き換えて表示し、更に、第3レイヤ画像を第3’レイヤ画像に置き換えて表示する。   As shown in the lower part of FIG. 13C, the preview display unit 42b of the client terminal 40 displays each layer image in the order in which the data is received in consideration of the overlay order. That is, first, the first layer image is replaced with the first ′ layer image and then displayed, then the second layer image is replaced with the second ′ layer image, and then the third layer image is replaced with the third ′ layer image. Replace with an image to display.

次に、本発明の第4の実施例に係るプレビュー用画像生成方法及びプレビュー用画像生成プログラム並びにプレビュー用画像生成装置について、図14及び図15を参照して説明する。図14は、本実施例の印刷システムにおける各装置の構成を示すブロック図であり、図15は、本実施例のWebサーバとクライアント端末の動作を示すフローチャート図である。   Next, a preview image generation method, a preview image generation program, and a preview image generation apparatus according to a fourth embodiment of the present invention will be described with reference to FIGS. FIG. 14 is a block diagram showing the configuration of each device in the printing system of this embodiment, and FIG. 15 is a flowchart showing the operations of the Web server and client terminal of this embodiment.

前記した第1の実施例では、Webサーバ30側でオブジェクトのデータサイズを比較して、その結果に基づいてオブジェクトの処理順序を設定する場合について記載したが、本実施例では、ユーザが指定した順序も考慮して、オブジェクト種類(又はオブジェクトやグループ)の処理順序を決定する手法を説明する。なお、特に記載のない点は、第1の実施例と同じものとする。   In the first embodiment described above, the case has been described where the data size of the object is compared on the Web server 30 side, and the processing order of the objects is set based on the result, but in this embodiment, the user specified it. A method for determining the processing order of object types (or objects and groups) in consideration of the order will be described. The points not particularly described are the same as those in the first embodiment.

本実施例の印刷システム10は、第1の実施例の図1に示すように、印刷処理を実行する印刷装置20と、印刷装置20に印刷を指示するWebサーバ30と、文書などのドキュメントを作成するクライアント端末40と、で構成され、これらは通信ネットワークを介して相互に接続されている。図14は、各装置のソフトウェア構成(制御部上で動作するソフトウェアによって実現される機能)を示している。   As shown in FIG. 1 of the first embodiment, the printing system 10 of this embodiment includes a printing device 20 that executes printing processing, a Web server 30 that instructs the printing device 20 to print, and a document such as a document. And a client terminal 40 to be created, which are connected to each other via a communication network. FIG. 14 shows a software configuration (functions realized by software operating on the control unit) of each device.

[印刷装置]
印刷装置20は、第1の実施例と同様に、制御部上で動作するソフトウェアによって、印刷出力部21などとして機能する。印刷出力部21は、Webサーバ30の印刷ジョブ生成部32から受信した印刷ジョブに基づき、用紙への印刷処理を制御する。
[Printer]
As in the first embodiment, the printing apparatus 20 functions as a print output unit 21 or the like by software operating on the control unit. The print output unit 21 controls printing processing on paper based on the print job received from the print job generation unit 32 of the Web server 30.

[Webサーバ]
Webサーバ30は、印刷プレビュー用画像を生成する装置であり、制御部上で動作するソフトウェアによって、データ管理部31と印刷ジョブ生成部32とプレビュー用画像生成部33とプレビュー用画像送信部34と画像生成制御部35とドキュメント解析部36などとして機能する。なお、データ管理部31、印刷ジョブ生成部32、プレビュー用画像生成部33、プレビュー用画像送信部34及びドキュメント解析部36は、第1の実施例と同様であるため、説明を省略する。
[Web server]
The Web server 30 is a device that generates a print preview image. The software runs on the control unit, and the data management unit 31, the print job generation unit 32, the preview image generation unit 33, and the preview image transmission unit 34 It functions as an image generation control unit 35 and a document analysis unit 36. Note that the data management unit 31, the print job generation unit 32, the preview image generation unit 33, the preview image transmission unit 34, and the document analysis unit 36 are the same as those in the first embodiment, and thus description thereof is omitted.

画像生成制御部35は、ドキュメント解析部36にて抽出した各オブジェクトの種類とデータサイズ、及び、ユーザが指定したオブジェクト種類の順序に基づいて、ドキュメントの各ページに対して、オブジェクト種類毎(又はオブジェクト毎)の処理順序を設定する。また、必要に応じて、ドキュメントの各ページに対して、各オブジェクトの位置やデータサイズに基づいてオブジェクトをグループ化し、グループ毎の処理順序を設定する。処理順序の設定方法として、基本的にはユーザの指定した順序とすることが好ましいが、例えば、オブジェクト種類(又はオブジェクトやグループ)のデータサイズがある一定の値を超える程度に大きい場合は、そのオブジェクト種類(又はオブジェクトやグループ)はスキップして、ユーザが次に指定したオブジェクト種類(又はオブジェクトやグループ)を処理する。処理が一巡した後で、スキップしたオブジェクト種類(又はオブジェクトやグループ)を順に処理する。   Based on the type and data size of each object extracted by the document analysis unit 36 and the order of the object type specified by the user, the image generation control unit 35 applies to each page of the document for each object type (or Set the processing order for each object). Further, as necessary, the objects are grouped on each page of the document based on the position and data size of each object, and the processing order for each group is set. As a method for setting the processing order, it is basically preferable to use the order specified by the user. For example, if the data size of the object type (or object or group) is large enough to exceed a certain value, The object type (or object or group) is skipped, and the object type (or object or group) designated next by the user is processed. After the processing is completed, the skipped object type (or object or group) is processed in order.

[クライアント端末]
クライアント端末40は、制御部上で動作するソフトウェアによって、MFP選択部41と画面表示部42などとして機能する。画面表示部42には、ドキュメントファイル選択部42aとプレビュー操作部42cとプレビュー表示部42bと印刷設定部42dとオブジェクト順序指定部42eなどが含まれる。なお、MFP選択部41、ドキュメントファイル選択部42a、プレビュー操作部42c及び印刷設定部42dは、第1の実施例と同様であるため、説明を省略する。
[Client terminal]
The client terminal 40 functions as an MFP selection unit 41, a screen display unit 42, and the like by software operating on the control unit. The screen display unit 42 includes a document file selection unit 42a, a preview operation unit 42c, a preview display unit 42b, a print setting unit 42d, an object order designation unit 42e, and the like. The MFP selection unit 41, the document file selection unit 42a, the preview operation unit 42c, and the print setting unit 42d are the same as those in the first embodiment, and thus description thereof is omitted.

オブジェクト順序指定部42eは、ユーザがプレビュー表示の順序として希望するオブジェクト種類(又はオブジェクトやグループ)の順を指定する。例えば、1番目にテキストオブジェクト、2番目にイメージオブジェクト、3番目にラスターグラフィックスオブジェクトなどのように指定する。   The object order designating unit 42e designates the order of the object type (or object or group) that the user desires as the preview display order. For example, the first text object, the second image object, the third raster graphics object, etc. are designated.

以下、上記構成の印刷システム10(クライアント端末40及びWebサーバ30)の動作(プレビュー表示までの動作)について説明する。Webサーバ30及びクライアント端末40のCPUは、ROMに記憶したプログラム(Webサーバ30はプレビュー用画像生成プログラム)を読み出し、RAMに展開して実行することにより、図15のフローチャート図に示す各処理を実行する。   Hereinafter, operations (operations until preview display) of the printing system 10 (the client terminal 40 and the Web server 30) configured as described above will be described. The CPU of the Web server 30 and the client terminal 40 reads each program stored in the ROM (the Web server 30 is a preview image generation program), develops it in the RAM, and executes it, thereby performing each process shown in the flowchart of FIG. Run.

まず、クライアント端末40のドキュメントファイル選択部42aは、ユーザ操作によって選択された、印刷対象となるドキュメントファイルをWebサーバ30のデータ管理部31にアップロードする(S401)。   First, the document file selection unit 42a of the client terminal 40 uploads the document file to be printed selected by the user operation to the data management unit 31 of the Web server 30 (S401).

Webサーバ30では、データ管理部31は、ドキュメントファイル選択部42aから送信されたドキュメントファイルを受信し、保存した後(S402)、ドキュメント解析部36は、受信したドキュメントファイルの内容の解析を行い、ドキュメントの各ページに対して、オブジェクトの種類とデータサイズを抽出し、その結果をクライアント端末40に通知する(S403)。   In the Web server 30, the data management unit 31 receives and stores the document file transmitted from the document file selection unit 42a (S402), and then the document analysis unit 36 analyzes the contents of the received document file, For each page of the document, the object type and data size are extracted, and the result is notified to the client terminal 40 (S403).

次に、クライアント端末40では、オブジェクト順序指定部42eは、ユーザ操作に応じて、画像生成・表示処理を行うオブジェクト種類(又はオブジェクトやグループ)の順序を指定する(S404)。   Next, in the client terminal 40, the object order specifying unit 42e specifies the order of object types (or objects or groups) for which image generation / display processing is performed in accordance with a user operation (S404).

Webサーバ30では、画像生成制御部35は、ユーザに指定された順序、及びオブジェクト種類(又はオブジェクトやグループ)毎のデータサイズを考慮し、プレビュー用画像生成・送信処理の順序を設定する(S405)。次に、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理が終了したかチェックし(S406)、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了していない場合は、プレビュー用画像生成部33は、S405で設定した処理順序に従い、オブジェクトからレイヤ画像を生成し(S407)、プレビュー用画像送信部34は、レイヤ画像のデータをクライアント端末40に送信する(S408)。   In the Web server 30, the image generation control unit 35 sets the order of preview image generation / transmission processing in consideration of the order specified by the user and the data size for each object type (or object or group) (S405). ). Next, the image generation control unit 35 checks whether image generation / transmission processing for all object types (or objects or groups) has been completed (S406), and processing for all object types (or objects or groups) has ended. If not, the preview image generation unit 33 generates a layer image from the object in accordance with the processing order set in S405 (S407), and the preview image transmission unit 34 sends the layer image data to the client terminal 40. Transmit (S408).

クライアント端末40では、プレビュー表示部42bは、レイヤ画像のデータを受信し(S409)、レイヤ画像を重ね合わせて表示する(S410)。   In the client terminal 40, the preview display unit 42b receives the layer image data (S409), and displays the layer images in a superimposed manner (S410).

その後、S406で、画像生成制御部35は、すべてのオブジェクト種類(又はオブジェクトやグループ)の画像生成・送信処理が終了したかチェックし、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了していなければ、Webサーバ30のS407、S408の処理、及び、クライアント端末40のS409、S410の処理を繰り返し、すべてのオブジェクト種類(又はオブジェクトやグループ)の処理が終了した場合は、クライアント端末40は、各レイヤ画像を重ね合わせた印刷プレビュー用画像の表示を行う(S411)。   Thereafter, in S406, the image generation control unit 35 checks whether the image generation / transmission processing for all object types (or objects or groups) is completed, and the processing for all object types (or objects or groups) is completed. If not, when the processing of S407 and S408 of the Web server 30 and the processing of S409 and S410 of the client terminal 40 are repeated and the processing of all object types (or objects and groups) is completed, the client terminal 40 Then, the print preview image obtained by superimposing the layer images is displayed (S411).

このように、ユーザの指定を考慮してオブジェクトの表示順序を設定することにより、印刷プレビュー用画像の内容をより理解しやすくすることができる。   Thus, by setting the object display order in consideration of the user's specification, the contents of the print preview image can be more easily understood.

なお、本発明は上記実施例に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、印刷システム10の構成や制御は適宜変更可能である。   The present invention is not limited to the above-described embodiments, and the configuration and control of the printing system 10 can be changed as appropriate without departing from the spirit of the present invention.

例えば、上記実施例では、Webサーバ30が印刷プレビュー用画像を構成する各レイヤ画像を生成する場合について記載したが、MFPなどの印刷装置やプリンタコントローラ、RIP(Raster Image Processing)コントローラなどの装置が、制御部上で動作するソフトウェアによって印刷プレビュー用画像を構成する各レイヤ画像を生成するようにしてもよい。   For example, in the above embodiment, the case where the Web server 30 generates each layer image constituting the print preview image has been described. However, a printing apparatus such as an MFP, a printer controller, or an apparatus such as a RIP (Raster Image Processing) controller may be used. Each layer image constituting the print preview image may be generated by software operating on the control unit.

本発明は、ドキュメントの印刷プレビュー用画像を生成する装置、当該装置で動作するプログラム、当該プログラムを記録した記録媒体、当該装置を含むシステムにおけるプレビュー用画像の生成方法に利用可能である。   INDUSTRIAL APPLICABILITY The present invention can be used for an apparatus that generates a print preview image of a document, a program that operates on the apparatus, a recording medium that records the program, and a preview image generation method in a system including the apparatus.

10 印刷システム
20 印刷装置
21 印刷出力部
30 Webサーバ
31 データ管理部
32 印刷ジョブ生成部
33 プレビュー用画像生成部
34 プレビュー用画像送信部
35 画像生成制御部
36、36a、36b ドキュメント解析部
37 重ね合わせ順序付与部
38 解像度切替部
40 クライアント端末
41 MFP選択部
42 画面表示部
42a ドキュメントファイル選択部
42b プレビュー表示部
42c プレビュー操作部
42d 印刷設定部
42e オブジェクト順序指定部
50 ドキュメント
51 テキストオブジェクト
52 ベクターグラフィックスオブジェクト
53 イメージオブジェクト
DESCRIPTION OF SYMBOLS 10 Printing system 20 Printing apparatus 21 Print output part 30 Web server 31 Data management part 32 Print job generation part 33 Preview image generation part 34 Preview image transmission part 35 Image generation control part 36, 36a, 36b Document analysis part 37 Superimposition Order assignment unit 38 Resolution switching unit 40 Client terminal 41 MFP selection unit 42 Screen display unit 42a Document file selection unit 42b Preview display unit 42c Preview operation unit 42d Print setting unit 42e Object order specification unit 50 Document 51 Text object 52 Vector graphics object 53 Image Object

Claims (15)

ドキュメントを作成するクライアント端末と、前記ドキュメントの印刷プレビュー用画像を生成するプレビュー用画像生成装置と、が通信ネットワークで接続されたシステムにおけるプレビュー用画像生成方法であって、
前記クライアント端末が、前記ドキュメントのデータを前記プレビュー用画像生成装置に送信する送信ステップと、
前記プレビュー用画像生成装置が、前記クライアント端末から前記ドキュメントのデータを受信して解析し、前記ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出し、データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定する順序設定ステップと、
前記プレビュー用画像生成装置が、前記処理順序に従って、前記オブジェクトの種類毎若しくは前記1又は複数のオブジェクト毎のレイヤ画像を生成し、生成した前記レイヤ画像のデータを順次前記クライアント端末に送信する画像生成ステップと、
前記クライアント端末が、前記プレビュー用画像生成装置から前記レイヤ画像のデータを受信し、前記レイヤ画像を順次重ね合わせて表示する画像表示ステップと、を有する、
ことを特徴とするプレビュー用画像生成方法。
A preview image generation method in a system in which a client terminal that creates a document and a preview image generation apparatus that generates a print preview image of the document are connected via a communication network,
The client terminal transmits the document data to the preview image generating device; and
The preview image generation apparatus receives and analyzes the document data from the client terminal, extracts the type and data size of an object used for the page for each page of the document, and sets the data size. An order setting step for setting the processing order for each type of object or one or more objects in ascending order of
Image generation in which the preview image generation device generates a layer image for each type of the object or each of the one or a plurality of objects according to the processing order, and sequentially transmits the generated layer image data to the client terminal Steps,
An image display step in which the client terminal receives data of the layer image from the preview image generation device and displays the layer image in a superimposed manner;
A preview image generation method characterized by the above.
前記順序設定ステップでは、複数のオブジェクトの描画位置が重なっている場合に、各々のオブジェクトの最背面からの順序を特定し、
前記画像生成ステップでは、前記複数のオブジェクトに対応する複数のレイヤ画像のデータに、前記順序に従って前記複数のレイヤ画像を重ね合わせるための重ね合わせ順序情報を付与し、
前記画像表示ステップでは、前記重ね合わせ順序情報を参照して、前記複数のレイヤ画像の表示順序を設定する、
ことを特徴とする請求項1に記載のプレビュー用画像生成方法。
In the order setting step, when the drawing positions of a plurality of objects overlap, the order from the back of each object is specified,
In the image generation step, superimposition order information for superimposing the plurality of layer images according to the order is added to data of the plurality of layer images corresponding to the plurality of objects,
In the image display step, the display order of the plurality of layer images is set with reference to the overlay order information.
The method for generating a preview image according to claim 1.
前記画像生成ステップでは、前記処理順序に従って、前記オブジェクトの種類毎又は前記1又は複数のオブジェクト毎のレイヤ画像を低解像度で生成し、生成した前記低解像度のレイヤ画像のデータを順次送信し、ページ内の全てのオブジェクトに対して前記低解像度のレイヤ画像のデータを送信したら、前記処理順序に従って、前記オブジェクトの種類毎又は前記1又は複数のオブジェクト毎のレイヤ画像を高解像度で生成し、生成した前記高解像度のレイヤ画像のデータを順次送信し、
前記画像表示ステップでは、前記低解像度のレイヤ画像を順次重ね合わせて表示し、その後、前記高解像度のレイヤ画像のデータを受信したら、前記低解像度のレイヤ画像を当該レイヤ画像に対応する前記高解像度のレイヤ画像に置き換えて表示する、
ことを特徴とする請求項1又は2に記載のプレビュー用画像生成方法。
In the image generation step, according to the processing order, a layer image for each type of the object or for each of the one or more objects is generated at a low resolution, and the generated low resolution layer image data is sequentially transmitted, When the layer image data of the low resolution is transmitted to all the objects within, the layer image for each type of the object or the one or more objects is generated at a high resolution according to the processing order, and generated. Sequentially transmitting the data of the high-resolution layer image,
In the image display step, the low-resolution layer image is sequentially superimposed and displayed, and then when the data of the high-resolution layer image is received, the low-resolution layer image is converted into the high-resolution layer image corresponding to the layer image. To display with the layer image of
The preview image generation method according to claim 1, wherein the preview image generation method is a preview image.
前記順序設定ステップでは、前記ドキュメントのデータを解析した結果を前記クライアント端末に通知し、前記クライアント端末で指定された順序を参照して、前記処理順序を設定する、
ことを特徴とする請求項1乃至3のいずれか一に記載のプレビュー用画像生成方法。
In the order setting step, the client terminal is notified of the result of analyzing the document data, and the processing order is set with reference to the order specified by the client terminal.
The preview image generation method according to any one of claims 1 to 3.
前記オブジェクトは、テキストオブジェクト、ベクターグラフィックスオブジェクト、イメージオブジェクトの中から選択される1以上のオブジェクトを含む、
ことを特徴とする請求項1乃至4のいずれか一に記載のプレビュー用画像生成方法。
The object includes one or more objects selected from a text object, a vector graphics object, and an image object.
The preview image generation method according to claim 1, wherein the preview image generation method is a preview image.
ドキュメントの印刷プレビュー用画像を生成するプレビュー用画像生成装置で動作するプレビュー用画像生成プログラムであって、
前記プレビュー用画像生成装置に、
入力された前記ドキュメントのデータを受信して解析し、前記ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出し、データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定する順序設定ステップ、
前記処理順序に従って、前記オブジェクトの種類毎若しくは前記1又は複数のオブジェクト毎のレイヤ画像を生成し、生成した前記レイヤ画像のデータを順次出力する画像生成ステップ、を実行させる、
ことを特徴とするプレビュー用画像生成プログラム。
A preview image generation program that operates on a preview image generation device that generates a print preview image of a document,
In the preview image generation device,
The input document data is received and analyzed, and for each page of the document, the type and data size of the object used for the page are extracted, and in order of increasing data size, for each type of object or An order setting step for setting a processing order for one or more objects;
In accordance with the processing order, generate a layer image for each type of object or for each one or a plurality of objects, and execute an image generation step of sequentially outputting data of the generated layer image.
A preview image generation program characterized by the above.
前記順序設定ステップでは、複数のオブジェクトの描画位置が重なっている場合に、各々のオブジェクトの最背面からの順序を特定し、
前記画像生成ステップでは、前記複数のオブジェクトに対応する複数のレイヤ画像のデータに、前記順序に従って前記複数のレイヤ画像を重ね合わせるための重ね合わせ順序情報を付与して出力し、
前記重ね合わせ順序情報により、前記複数のレイヤ画像の表示順序を設定可能にする、
ことを特徴とする請求項6に記載のプレビュー用画像生成プログラム。
In the order setting step, when the drawing positions of a plurality of objects overlap, the order from the back of each object is specified,
In the image generation step, the data of a plurality of layer images corresponding to the plurality of objects is added with superposition order information for superimposing the plurality of layer images according to the order, and is output.
The display order of the plurality of layer images can be set by the overlay order information.
The preview image generation program according to claim 6, wherein:
前記画像生成ステップでは、前記処理順序に従って、前記オブジェクトの種類毎又は前記1又は複数のオブジェクト毎のレイヤ画像を低解像度で生成し、生成した前記低解像度のレイヤ画像のデータを順次出力し、ページ内の全てのオブジェクトに対して前記低解像度のレイヤ画像のデータの出力が完了したら、前記処理順序に従って、前記オブジェクトの種類毎又は前記1又は複数のオブジェクト毎のレイヤ画像を高解像度で生成し、生成した前記高解像度のレイヤ画像のデータを順次出力する、
ことを特徴とする請求項6又は7に記載のプレビュー用画像生成プログラム。
In the image generation step, according to the processing order, a layer image for each type of the object or each of the one or more objects is generated at low resolution, and the generated low resolution layer image data is sequentially output, When the output of the data of the low resolution layer image is completed for all the objects within, in accordance with the processing order, the layer image for each type of the object or for each of the one or more objects is generated at a high resolution, Sequentially outputting the data of the generated high-resolution layer image;
The preview image generation program according to claim 6 or 7,
前記順序設定ステップでは、ユーザによって指定された順序を参照して、前記処理順序を設定する、
ことを特徴とする請求項6乃至8のいずれか一に記載のプレビュー用画像生成プログラム。
In the order setting step, the processing order is set with reference to the order specified by the user.
9. The preview image generation program according to claim 6, wherein the preview image generation program is any one of claims 6 to 8.
前記オブジェクトは、テキストオブジェクト、ベクターグラフィックスオブジェクト、イメージオブジェクトの中から選択される1以上のオブジェクトを含む、
ことを特徴とする請求項6乃至9のいずれか一に記載のプレビュー用画像生成プログラム。
The object includes one or more objects selected from a text object, a vector graphics object, and an image object.
The preview image generation program according to any one of claims 6 to 9,
クライアント端末で作成されたドキュメントに基づいて、印刷プレビュー用画像を生成するプレビュー用画像生成装置であって、
前記クライアント端末から前記ドキュメントのデータを受信して解析し、前記ドキュメントの各ページに対して、当該ページに使用されるオブジェクトの種類及びデータサイズを抽出するドキュメント解析部と、
データサイズの小さい順に、オブジェクトの種類毎若しくは1又は複数のオブジェクト毎の処理順序を設定する画像生成制御部と、
前記処理順序に従って、前記オブジェクトの種類毎若しくは前記1又は複数のオブジェクト毎のレイヤ画像を生成するプレビュー用画像生成部と、
生成された前記レイヤ画像のデータを順次前記クライアント端末に送信するプレビュー用画像送信部と、を備える、
ことを特徴とするプレビュー用画像生成装置。
A preview image generation device that generates a print preview image based on a document created on a client terminal,
A document analysis unit that receives and analyzes the data of the document from the client terminal, and extracts, for each page of the document, the type and data size of an object used in the page;
An image generation control unit that sets the processing order for each type of object or for each one or a plurality of objects in ascending order of data size;
An image generation unit for preview that generates a layer image for each type of the object or for each of the one or a plurality of objects according to the processing order;
A preview image transmission unit that sequentially transmits the generated layer image data to the client terminal;
A preview image generating apparatus characterized by that.
複数のオブジェクトの描画位置が重なっている場合に、前記複数のオブジェクトに対応する複数のレイヤ画像のデータに、各々のオブジェクトの最背面からの順序に従って前記複数のレイヤ画像を重ね合わせるための重ね合わせ順序情報を付与する重ね合わせ順序付与部、を更に備え、
前記重ね合わせ順序情報により、前記複数のレイヤ画像の表示順序を設定可能にする、
ことを特徴とする請求項11に記載のプレビュー用画像生成装置。
Superposition for superimposing the plurality of layer images on the data of a plurality of layer images corresponding to the plurality of objects according to the order from the backmost surface of each object when the drawing positions of the plurality of objects overlap. A superposition order giving unit for giving order information;
The display order of the plurality of layer images can be set by the overlay order information.
The preview image generation apparatus according to claim 11, wherein the preview image generation apparatus is a preview image generation apparatus.
前記プレビュー用画像生成部は、前記処理順序に従って、前記オブジェクトの種類毎又は前記1又は複数のオブジェクト毎のレイヤ画像を低解像度で生成し、ページ内の全てのオブジェクトに対して前記低解像度のレイヤ画像を生成したら、前記処理順序に従って、前記オブジェクトの種類毎又は前記1又は複数のオブジェクト毎のレイヤ画像を高解像度で生成し、
前記プレビュー用画像送信部は、前記低解像度のレイヤ画像のデータを順次送信した後、前記低解像度のレイヤ画像のデータを順次送信する、
ことを特徴とする請求項11又は12に記載のプレビュー用画像生成装置。
The preview image generation unit generates a layer image for each object type or each of the one or more objects at a low resolution according to the processing order, and the low resolution layer for all objects in a page. After generating the image, according to the processing order, generate a layer image for each type of the object or for each of the one or more objects at a high resolution,
The preview image transmission unit sequentially transmits the low resolution layer image data, and then sequentially transmits the low resolution layer image data.
The preview image generation apparatus according to claim 11 or 12, wherein the preview image generation apparatus is a preview image generation apparatus.
前記画像生成制御部は、前記ドキュメントのデータを解析した結果を前記クライアント端末に通知し、前記クライアント端末で指定された順序を参照して、前記処理順序を設定する、
ことを特徴とする請求項11乃至13のいずれか一に記載のプレビュー用画像生成装置。
The image generation control unit notifies the client terminal of the analysis result of the document data, refers to the order specified by the client terminal, and sets the processing order;
The preview image generation apparatus according to claim 11, wherein the preview image generation apparatus is a preview image generation apparatus.
前記オブジェクトは、テキストオブジェクト、ベクターグラフィックスオブジェクト、イメージオブジェクトの中から選択される1以上のオブジェクトを含む、
ことを特徴とする請求項11乃至14のいずれか一に記載のプレビュー用画像生成装置。
The object includes one or more objects selected from a text object, a vector graphics object, and an image object.
The preview image generation apparatus according to claim 11, wherein the preview image generation apparatus is a preview image generation apparatus.
JP2013206200A 2013-10-01 2013-10-01 Preview image generation method, preview image generation program, and preview image generation apparatus Expired - Fee Related JP6160914B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013206200A JP6160914B2 (en) 2013-10-01 2013-10-01 Preview image generation method, preview image generation program, and preview image generation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013206200A JP6160914B2 (en) 2013-10-01 2013-10-01 Preview image generation method, preview image generation program, and preview image generation apparatus

Publications (2)

Publication Number Publication Date
JP2015069616A JP2015069616A (en) 2015-04-13
JP6160914B2 true JP6160914B2 (en) 2017-07-12

Family

ID=52836152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013206200A Expired - Fee Related JP6160914B2 (en) 2013-10-01 2013-10-01 Preview image generation method, preview image generation program, and preview image generation apparatus

Country Status (1)

Country Link
JP (1) JP6160914B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6575216B2 (en) * 2015-08-14 2019-09-18 富士ゼロックス株式会社 Image processing apparatus, image forming apparatus, and image processing program
CN111729307B (en) * 2020-07-30 2023-08-22 腾讯科技(深圳)有限公司 Virtual scene display method, device, equipment and storage medium
CN113572961A (en) * 2021-07-23 2021-10-29 维沃移动通信(杭州)有限公司 Shooting processing method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3843538B2 (en) * 1997-05-16 2006-11-08 ブラザー工業株式会社 OUTPUT CONTROL SYSTEM, OUTPUT CONTROL METHOD, OUTPUT CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING SUB-OUTPUT CONTROL PROGRAM
US6854018B1 (en) * 2000-03-20 2005-02-08 Nec Corporation System and method for intelligent web content fetch and delivery of any whole and partial undelivered objects in ascending order of object size
JP2005004320A (en) * 2003-06-10 2005-01-06 Fuji Xerox Co Ltd System and program for controlling printing
JP5074233B2 (en) * 2008-02-26 2012-11-14 パイオニア株式会社 Screen sharing processing apparatus, screen sharing method, and computer program
JP5147742B2 (en) * 2009-01-15 2013-02-20 三菱電機株式会社 Screen transmission system and screen transmission method

Also Published As

Publication number Publication date
JP2015069616A (en) 2015-04-13

Similar Documents

Publication Publication Date Title
US8861022B2 (en) Image processing apparatus with preview display function, image processing method, and image processing program
JP5900803B2 (en) DATA GENERATION DEVICE, DATA GENERATION PROGRAM, AND DATA GENERATION METHOD
US20160241743A1 (en) Image processing system, image processing apparatus, and image forming apparatus
JP2013152606A (en) Image processing system, image forming device, image processing program and image processing method
JP2005278173A (en) Image forming apparatus
US20060075362A1 (en) Image processing apparatus, method, and recording medium on which program is recorded for displaying thumbnail/preview image
JP2019070937A (en) Control device, shortcut icon registration method, and shortcut icon registration control program
US20130249940A1 (en) Display control device, display device, printing apparatus, display control method and non-transitory computer readable medium storing program
JP6160914B2 (en) Preview image generation method, preview image generation program, and preview image generation apparatus
US20160127584A1 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium for performing printing based on collection settings
JP2013091294A (en) Image forming apparatus, method for controlling the same, and control program
US9377976B2 (en) Image processing system, image processing program, and image processing method
JP2008182698A (en) System and method for preview of document processing media
JP6575216B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP4802961B2 (en) Printing system, printing control apparatus and program
JP2014123794A (en) Data generating program and data generating device
JP5516551B2 (en) Image forming system and image forming control method
JP6020135B2 (en) Printing system, Web server, and control program
JP5982916B2 (en) Image processing apparatus, image processing program, image processing system, and image processing method
JP2009143124A (en) Image processing apparatus
US20130188220A1 (en) Image forming apparatus and computer
JP2016120626A (en) Image forming apparatus, image forming method, control program and image forming system
JP2020205493A (en) Information processing apparatus, program, and image forming apparatus
JP6143170B2 (en) Control program, control method, and control apparatus
JP5619245B2 (en) Information processing apparatus, information processing apparatus control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170425

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170601

R150 Certificate of patent or registration of utility model

Ref document number: 6160914

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees