JP7143695B2 - Information processing device, image forming device, printing system, program - Google Patents
Information processing device, image forming device, printing system, program Download PDFInfo
- Publication number
- JP7143695B2 JP7143695B2 JP2018170601A JP2018170601A JP7143695B2 JP 7143695 B2 JP7143695 B2 JP 7143695B2 JP 2018170601 A JP2018170601 A JP 2018170601A JP 2018170601 A JP2018170601 A JP 2018170601A JP 7143695 B2 JP7143695 B2 JP 7143695B2
- Authority
- JP
- Japan
- Prior art keywords
- page
- data
- document file
- pages
- target page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Description
本発明は、情報処理装置、画像形成装置、印刷システム、及び、プログラムに関する。 The present invention relates to an information processing device, an image forming device, a printing system, and a program.
画像形成装置は、PCL(Printer Control Language)、PS(PostScript)、又はPDF(Portable Document Format)などの各種ファイルを受信して、印刷処理を実行する。PCL及びPSなどのシーケンシャルアクセス形式のファイルについては、各ページのコンテンツがページ順に配置される。このため、画像形成装置は、シーケンシャルアクセス形式のファイルを受信したときに、データをスプールしつつ、データ順に各ページのコンテンツを読み出して印刷する。これに対し、PDFファイルなどのランダムアクセス形式のデータについては、各ページのコンテンツがページ順とは関係なく配置され得るので、画像形成装置は、受信したファイルのスプールが完了してから、ファイルの後方に配置されたデータ(PDFではオブジェクトという)の位置情報を参照し、各ページのデータにアクセスして印刷する。 An image forming apparatus receives various files such as PCL (Printer Control Language), PS (PostScript), or PDF (Portable Document Format) and executes print processing. For sequential access format files such as PCL and PS, the contents of each page are arranged in page order. Therefore, when the image forming apparatus receives a sequential access file, the image forming apparatus spools the data and reads and prints the contents of each page in the data order. On the other hand, for random access format data such as PDF files, the content of each page can be arranged regardless of the page order. By referring to the position information of the data (called an object in PDF) placed in the back, the data of each page is accessed and printed.
このようなPDFファイルの構造のため、PDFファイルの全体を受信しないと画像形成装置が印刷を開始できない。そこで、印刷開始までの時間を短縮する技術が考案されている(例えば、特許文献1参照。)。特許文献1には、PDFを複数のデータブロックに分割し、最後尾のデータブロックを先に画像形成装置に転送し、相互参照表を画像形成装置が受信したことを示す通知を当該画像形成装置から受信した後に最初のデータブロックから送信する。これにより、画像形成装置側では、従来は相互参照表を取得するためにPDFの最後尾まで受信した後でなければ印刷を開始できなかったが、最初に相互参照表を取得できるため、その後はデータの受信と平行して印刷を開始することができる。
Due to such a PDF file structure, the image forming apparatus cannot start printing until the entire PDF file is received. Therefore, a technique for shortening the time until the start of printing has been devised (for example, see Patent Document 1). In
しかしながら、従来の技術では、面付けが行われるファイルの高速化については考慮されていないという問題がある。面付けとは1つの用紙(片面)に複数のページを配置することをいう。例えば集約印刷で行われる処理であり、4in1の集約印刷を例にすると、4ページ分のデータを受信してからでないと印刷に関する処理を開始できなかった。 However, the conventional technology has a problem that speeding up of imposition files is not taken into consideration. Imposition means arranging a plurality of pages on one sheet (one side). For example, it is a process performed in aggregate printing, and in the case of 4-in-1 aggregate printing, the printing process cannot be started until data for four pages is received.
本発明は上記課題に鑑み、面付けが行われるファイルの印刷時間を短縮できる情報処理装置を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an information processing apparatus capable of shortening the printing time of a file to be imposed.
上記課題に鑑み、本発明は、面付け対象ページ群の各ページのデータの境界を識別するための境界情報がページのデータの間に配置された第2の文書ファイルを第1の文書ファイルから生成する生成手段と、前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、前記面付け対象ページ群の各ページを所定の基準でソートするソート手段と、を有し、前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、前記ソート手段は、前記面付け対象ページ群の各ページを、データサイズの小さい順にソートすることを特徴とする情報処理装置を提供する。 In view of the above-described problems, the present invention provides a second document file in which boundary information for identifying boundaries of data of each page of a group of imposition target pages is arranged between page data, from a first document file. generation means for generating, transmission means for transmitting the second document file generated by the generation means to an image forming apparatus, sorting means for sorting the pages of the imposition target page group according to a predetermined criterion; wherein the generating means arranges the data of the imposition target page group in the order of the predetermined standard and generates the second document file in which the boundary information is arranged between the data; The information processing apparatus is provided , wherein the sorting means sorts the pages of the imposition target page group in ascending order of data size .
面付けが行われるファイルの印刷時間を短縮できる情報処理装置を提供することができる。 It is possible to provide an information processing apparatus capable of shortening the printing time of a file to be imposed.
以下、本発明を実施するための形態について図面を参照しながら説明する。 EMBODIMENT OF THE INVENTION Hereinafter, it demonstrates, referring drawings for the form for implementing this invention.
<PDFファイルのシリアライズについて>
まず、ランダムアクセスファイルの一例としてPDFファイル(第1の文書ファイルの一例)のシリアライズについて説明する。PDFファイルではページデータのアドレス情報となる相互参照表がボディと呼ばれるページデータよりもPDFファイルの末尾側に付随するため、画像形成装置はPDFファイルのほぼ最後尾まで受信した後でなければ印刷を開始できなかった。
<Regarding serialization of PDF files>
First, serialization of a PDF file (an example of a first document file) will be described as an example of a random access file. In a PDF file, a cross-reference table, which is address information for page data, is attached to the end of the PDF file rather than the page data called the body. failed to start.
そこで、本出願人は、PDFファイルをページ毎に分割して、ページ順にオブジェクト(PDFファイルにおいてページデータに相当する)が配置されたPDFファイルに変換する技術を考案した。後述するクラウドサービスは、PDFファイルのオブジェクトをページ順に並べてページの区切りに境界情報を設定する。また、ページ順にオブジェクトが配置されたPDFファイルであることを意味する判断情報をオブジェクトよりもPDFファイルの先頭側に設定する。 Therefore, the applicant devised a technique for dividing a PDF file into pages and converting the PDF file into a PDF file in which objects (corresponding to page data in the PDF file) are arranged in order of pages. A cloud service, which will be described later, arranges PDF file objects in page order and sets boundary information at page breaks. Further, determination information indicating that the PDF file is a PDF file in which objects are arranged in order of pages is set at the beginning of the PDF file rather than the objects.
クラウドサービスは、ページ順にオブジェクトが配置されたPDFファイルを通常通りにPDFファイルの先頭から画像形成装置に送信する。画像形成装置は、PDFファイルの後方にある相互参照表を参照することなく、PDFファイルの先頭から順にページの区切りに基づいてページ順に受信しながら印刷を開始することができる。以下、このようにページ順にオブジェクトが配置されたPDFファイル(第2の文書ファイルの一例)に変換することをシリアライズという。 The cloud service normally transmits the PDF file in which the objects are arranged in page order from the beginning of the PDF file to the image forming apparatus. The image forming apparatus can start printing from the beginning of the PDF file while receiving the PDF files in page order based on the page breaks without referring to the cross-reference table at the end of the PDF file. Hereinafter, conversion into a PDF file (an example of a second document file) in which objects are arranged in page order is called serialization.
図1は、シリアライズを模式的に説明する図の一例である。複数ページ(3ページ)の原稿を画像形成装置がスキャンして印刷する場合を想定して説明する。
(1)画像形成装置はページ順にオブジェクトが配置され、ページごとにデータの区切り「%Page1 Object」等(境界情報)を設定したPDFファイルを生成する。なお、通常のPDFファイルと同様に、相互参照表とトレイラー等がPDFファイルの最後尾に付随している。相互参照表はオブジェクトのファイル内アドレス情報を有し、トレイラーはファイル全体のオブジェクトの数、先頭のオブジェクト(どこから処理を開始するか)、及び、相互参照表の位置情報を指定している。
(2)シリアライズされたPDFファイルを受信した画像形成装置は、判断情報(後述する「%Enable Page Split Mode」)を検出すると、PDFファイルの先頭から(受信した順に)、境界情報に基づいて各ページのオブジェクトを特定する。したがって、PDFファイルの全体を受信しなくても各ページの印刷を開始できる。
(3)画像形成装置は、不足データを補ってページ毎にPDFファイルを作成する。図1ではP1~P3のそれぞれに相互参照表とトレイラーが補われ、3つのPDFファイルが作成されている。
FIG. 1 is an example of a diagram schematically explaining serialization. Description will be made on the assumption that a document of multiple pages (three pages) is scanned and printed by the image forming apparatus.
(1) The image forming apparatus generates a PDF file in which objects are laid out in the order of pages, and data delimiters such as "%Page1 Object" (boundary information) are set for each page. A cross-reference table, a trailer, and the like are attached to the end of the PDF file in the same manner as a normal PDF file. The cross-reference table has in-file address information of objects, and the trailer specifies the number of objects in the entire file, the top object (where to start processing), and position information of the cross-reference table.
(2) When the image forming apparatus that has received the serialized PDF file detects the determination information (“%Enable Page Split Mode” to be described later), each image forming apparatus starts from the top of the PDF file (in the order received) based on the boundary information. Identifies an object on the page. Therefore, it is possible to start printing each page without having to receive the entire PDF file.
(3) The image forming apparatus supplements the missing data and creates a PDF file for each page. In FIG. 1, each of P1 to P3 is supplemented with a cross-reference table and a trailer, and three PDF files are created.
なお、画像形成装置が判断情報を検出しない場合、画像形成装置は相互参照表とトレイラーを参照すれば従来と同様に印刷できる。 Note that if the image forming apparatus does not detect the determination information, the image forming apparatus can print in the same manner as before by referring to the cross-reference table and the trailer.
また、シリアライズされたPDFファイルはISOの規格を満たすため、シリアライズされたPDFファイルに画像形成装置が対応していない場合でも、相互参照表とトレイラーを参照すれば従来と同様に印刷できる。したがって、シリアライズされたPDFファイルを生成するクラウドサービスは、送信先の画像形成装置がシリアライズされたPDFファイルに対応しているか否かを意識する必要がない。処理に必要なメモリサイズが変化することもない。 In addition, since serialized PDF files meet ISO standards, even if the image forming apparatus does not support serialized PDF files, they can be printed in the same way as before by referring to the cross-reference table and trailer. Therefore, a cloud service that generates a serialized PDF file does not need to be aware of whether the destination image forming apparatus supports serialized PDF files. The memory size required for processing does not change.
図2は、シリアライズされたPDFファイルの印刷性能を説明する図の一例である。図2(a)はシリアライズされる前のPDFファイルが印刷される際のタイムチャート図を示し、図2(b)はシリアライズされたPDFファイルが印刷される際のタイムチャート図を示す。なお、印刷は、スプール(spool)、パース(parse)、描画(Rend)、及び、排紙(feed)のプロセスを経る。なお、パースとはデータの構造を解析して処理に必要な情報を抽出することをいう。 FIG. 2 is an example of a diagram illustrating print performance of a serialized PDF file. FIG. 2(a) shows a time chart when a PDF file before serialization is printed, and FIG. 2(b) shows a time chart when a serialized PDF file is printed. Note that printing goes through the processes of spool, parse, render, and feed. Note that parsing means analyzing the structure of data and extracting information necessary for processing.
図2では3ページを含む印刷ジョブを例にしている。シリアライズされていないPDFファイルの場合、3ページ分の印刷ジョブの全体のスプールが終わるまで画像形成装置は1ページ目のパース、レンダリング及び印刷を開始することができない。
・1ページ目の印刷開始=印刷ジョブのスプール完了+1ページ目の描画完了
これに対し、シリアライズされたPDFファイルは、1ページ目のスプールが終われば1ページ目のパース、描画及び排紙を開始することができる。
・1ページ目の印刷開始=1ページ目のスプール完了+1ページ目の描画完了
したがって、シリアライズされたPDFファイルは1ページ目の印刷開始までの時間を短縮できる。
In FIG. 2, a print job including three pages is taken as an example. For non-serialized PDF files, the imaging device cannot begin parsing, rendering, and printing the first page until the entire three-page print job has been spooled.
・Starting printing of
- Start of printing of
図3は、印刷に必要なメモリサイズを説明する図の一例である。図3(a)はシリアライズされる前のPDFファイルの印刷に必要なメモリサイズを示し、図3(b)はシリアライズされたPDFファイルの印刷に必要なメモリサイズを示す。シリアライズされる前のPDFファイルではジョブ全体のデータサイズを格納するメモリが必要である。
・印刷に必要なメモリ=印刷ジョブのデータサイズ
これに対し、シリアライズされたPDFファイルでは、1ページ分のデータサイズを格納するメモリがあればよい。
・印刷に必要なメモリ=1ページ分のデータサイズ
このように、シリアライズされたPDFファイルは、1ページ目の印刷開始までの時間の短縮、必要なメモリの削減、ISOの規格に従ったPDFファイルであること、という多くのメリットを有する。
FIG. 3 is an example of a diagram for explaining the memory size required for printing. FIG. 3(a) shows the memory size required for printing a PDF file before serialization, and FIG. 3(b) shows the memory size required for printing a serialized PDF file. A PDF file before serialization requires a memory for storing the data size of the entire job.
Memory Required for Printing=Data Size of Print Job On the other hand, a serialized PDF file only needs a memory for storing the data size of one page.
・Memory required for printing = data size for one page In this way, a serialized PDF file shortens the time to start printing the first page, reduces the required memory, and complies with ISO standards. It has many advantages of being
なお、特許文献1の技術では、送信元がPDFファイルを分割して最後尾から先に送信し、相互参照表の受信通知を受けてから残りを送信するという独自のフローでのPDFファイルを送信するため、この送信方法に対応している画像形成装置にしか当該フローでPDFファイルを送信できない。このため、送信元は、この送信方法に対応している画像形成装置と非対応の画像形成装置とで送信処理を分ける必要がある。
In addition, in the technique of
また、特許文献1の技術では、PDFファイルのボディのオブジェクトがページ順に並んでいるとは限らないため、画像形成装置が相互参照表を先に受け取ったとしても、1ページ目のオブジェクトが最後尾近くに配置されている場合には、印刷開始が遅れる。本実施形態の画像形成装置はこれら従来技術の課題を解決することができる。 In addition, in the technique disclosed in Japanese Patent Application Laid-Open No. 2002-200012, the objects in the body of the PDF file are not necessarily arranged in order of pages. If they are placed close to each other, the start of printing will be delayed. The image forming apparatus of this embodiment can solve these problems of the prior art.
<シリアライズされたPDFファイルの印刷に面付けが必要な場合>
しかしながら、シリアライズされたPDFファイルであっても印刷に面付けが行われる場合、印刷の高速化についてはこれまでは考慮されていなかった。図4を用いて説明する。
<When imposition is required to print a serialized PDF file>
However, even a serialized PDF file has not been considered for speeding up printing when imposition is performed for printing. Description will be made with reference to FIG.
図4は印刷に面付けが必要なPDFファイルの印刷時の手順を説明する図である。図4(a)は4in1で面付けされた4ページ分のPDFファイルのスプール、描画、及び排紙の流れを示す。4in1で1物理ページ(排紙される1用紙の片面)なので、4ページごとに区切りが設定されている。このため、画像形成装置は、4ページ目のオブジェクトが読み込まれるまで区切りを検出できず、面付けが必要な場合、シリアライズされたPDFファイルでも4ページ分のスプールが終わるまでは描画を開始できなかった。 FIG. 4 is a diagram for explaining the procedure for printing a PDF file that requires imposition for printing. FIG. 4(a) shows the flow of spooling, drawing, and ejecting a PDF file of 4 pages imposed in 4in1. Since 4in1 is 1 physical page (one side of 1 paper that is ejected), a break is set every 4 pages. For this reason, the image forming apparatus cannot detect a break until the object on the fourth page is read, and when imposition is required, even a serialized PDF file cannot start drawing until the spool for four pages is completed. rice field.
そこで、本実施形態では、集約印刷を指示されたPDFファイルが印刷される場合、後述するクラウドサービスは、面付け設定ページ群(4in1の場合、1~4ページ目)の各ページごとに区切りを設定する。また、クラウドサービスは面付け設定ページ群の各ページをページサイズでソートして、ページサイズの小さい順にPDFファイルに配置する。
Therefore, in the present embodiment, when a PDF file for which aggregate printing is instructed is printed, the cloud service described later divides each page of the imposition setting page group (
図4(b)は集約印刷を指示されたPDFファイルのスプール、描画、排紙の流れを示す。図4(b)に示すように、面付け設定ページ群の各ページごとに区切りが設定される。区切りがあれば、区切りまでにスプールされたオブジェクトの描画を開始できる。 FIG. 4B shows the flow of spooling, drawing, and discharging a PDF file for which aggregate printing has been instructed. As shown in FIG. 4B, a break is set for each page of the imposition setting page group. If there is a break, you can start drawing the objects that were spooled before the break.
また、図4(b)ではデータサイズの小さい順(P4、P2、P3、P1の順)にページのオブジェクトがソートされている。画像形成装置はP4のスプールが終了するとP4の描画を開始できる。データサイズが小さいページはスプールされるまでの時間も短いので、単にページごとに区切りが設定されるよりも1ページ目の印刷開始までの時間を短縮できる。 In FIG. 4B, the objects on the page are sorted in ascending order of data size (in the order of P4, P2, P3, and P1). The image forming apparatus can start drawing P4 when the spooling of P4 ends. A page with a small data size takes a short time to be spooled, so the time to start printing the first page can be shortened compared to simply setting a break for each page.
P2,P3,P1についても同様で、当該ページのスプールと前のページの描画が終了したタイミングで、画像形成装置がすぐに印刷を開始できる。 The same is true for P2, P3, and P1, and the image forming apparatus can immediately start printing at the timing when the spooling of the current page and the drawing of the previous page are completed.
図4(a)と図4(b)とを比較すると、スプールと描画を並列に実行できる分、各ページの印刷開始までの時間を短縮できることがわかる。なお、必ずしもページサイズの小さい順にPDFファイルに配置しなくても、各ページごとに区切りが設定されることで印刷開始までの時間を短縮できる。 Comparing FIGS. 4A and 4B, it can be seen that the time required to start printing each page can be shortened by the amount that spooling and drawing can be executed in parallel. Even if the PDF files are not necessarily arranged in ascending order of page size, the time until printing can be started can be shortened by setting a separator for each page.
<用語について>
面付けとは、1つの用紙(片面)に複数の描画対象物を配置することをいう。描画対象物は例えば1ページである。例えば、ファイルの集約印刷において面付けが必要になる。PDFファイルは集約印刷や面付けの設定に関する情報を有するわけではなく、集約印刷や面付けの設定は印刷設定(PJL:Printer Job Language)などで指示される。
<Terms>
Imposition refers to arranging a plurality of objects to be drawn on one sheet (one side). A drawing object is, for example, one page. For example, imposition is required in aggregate printing of files. A PDF file does not have information about aggregate printing and imposition settings, and the aggregate printing and imposition settings are indicated by print settings (PJL: Printer Job Language) or the like.
本実施形態では1ページとは印刷対象の文書ファイルの1ページをいい、1物理ページとは1つの用紙(片面)をいう。1物理ページに複数のページが印刷されることを集約印刷という。 In this embodiment, one page refers to one page of a document file to be printed, and one physical page refers to one sheet (one side). Combining printing refers to printing a plurality of pages on one physical page.
面付け対象ページ群とは、1物理ページに印刷される複数のページをいう。 An imposition target page group refers to a plurality of pages to be printed on one physical page.
境界情報とは、各ページのオブジェクトの境界位置を示す何らかの情報をいう。 Boundary information refers to some kind of information indicating the boundary position of an object on each page.
<印刷システム>
図5は、本発明の一実施形態に係る印刷システム1の全体構成図である。以下、通信端末を単に端末と表す。図1に示されているように、印刷システム1は、端末10A,10B、画像形成装置20A,20B、及びクラウドサービス50を有している。端末10A,10Bのうち任意のものを端末10と表す。画像形成装置20A,20Bのうち任意のものを画像形成装置20と表す。印刷システム1において、端末10、画像形成装置20、及びクラウドサービス50の数は、特に限定されない。
<Printing system>
FIG. 5 is an overall configuration diagram of the
端末10は、通信機能を有する情報処理装置であり、例えば、タブレット、スマートフォンなどのスマートデバイス、ノートPC(Personal Computer)、テレビ会議端末、電子黒板、又はカメラである。図5において、端末10Aは、例えば、ノートPCであり、端末10Bは、例えば、スマートデバイスである。 The terminal 10 is an information processing device having a communication function, and is, for example, a tablet, a smart device such as a smartphone, a notebook PC (Personal Computer), a video conference terminal, an electronic blackboard, or a camera. In FIG. 5, terminal 10A is, for example, a notebook PC, and terminal 10B is, for example, a smart device.
画像形成装置20は、画像処理機能及び通信機能を有する情報処理装置であり、例えば、MFP(Multifunction Peripheral/Printer/Product)、ファクシミリ、スキャナ、又はプリンタである。図5において、画像形成装置20Aは、例えば、ファクシミリ、スキャナ、及びプリンタ機能を有するMFPであり、画像形成装置20Bは、例えば、プリンタである。
The
クラウドサービス50は、通信機能を有する情報処理装置である(特許請求の範囲の情報処理装置の一例)。クラウドサービス50は、端末10又は画像形成装置20からの要求に基づいてPDF(Portable Document Format)ファイルなどの文書ファイルを管理し、画像形成装置20へ送信するプリントサーバとして機能する。また、クラウドサービス50は、文書ファイルをシリアライズする変換機能を有する。
The
端末10及び画像形成装置20は、直接、あるいは無線LANルータ2Rを介して、LAN2L(Local Area Network)に接続している。端末10及び画像形成装置20は、LAN2Lからインターネット2Iに接続し、インターネット2I上のクラウドサービス50に接続する。LAN2L及びインターネット2Iのうち任意のものを通信ネットワーク2と表す。通信ネットワーク2の全部又は一部には、Wi-Fi(Wireless Fidelity)などの無線による通信が行われる箇所があってもよい。
The terminal 10 and the
端末10、及びクラウドサービス50は、任意のアプリケーション又はプリンタドライバを用いて、PDFファイルなどのランダムアクセス形式の文書ファイルを生成する。端末10及びクラウドサービス50は、文書ファイルを含む印刷要求を画像形成装置20へ送信する。画像形成装置20は、端末10又はクラウドサービス50によって送信された文書ファイルを受信して印刷処理を実行する。
The terminal 10 and the
<ハードウェア構成>
図6は、一実施形態に係る端末のハードウェア構成図である。図6を用いて、端末10
のハードウェア構成について説明する。
<Hardware configuration>
FIG. 6 is a hardware configuration diagram of a terminal according to one embodiment. Using FIG. 6, the terminal 10
hardware configuration will be described.
端末10は、CPU101(Central Processing Unit)と、ROM102(Read Only Memory)と、RAM103(Random Access Memory)と、SSD104(Solid State Drive)と、メディアI/F105(Interface)と、ネットワークI/F107と、ユーザI/F108と、バスライン110と、を有する。
The terminal 10 includes a CPU 101 (Central Processing Unit), a ROM 102 (Read Only Memory), a RAM 103 (Random Access Memory), an SSD 104 (Solid State Drive), a media I/F 105 (Interface), and a network I/
CPU101は、端末10全体の動作を制御する。ROM102は、端末10上で動作する各種プログラム及びアプリケーションを記憶する。以下、アプリケーションを単にアプリと表す。RAM103は、CPU101のワークエリアとして使用される。SSD104は、各種プログラム又はアプリで利用されるデータを記憶する。メディアI/F105は、外部メモリなどの記録メディア106に記憶されている情報を読み出したり、記録メディア106に情報を書き込んだりするためのインタフェースである。ネットワークI/F107は、通信ネットワーク2を介して他の装置と通信するためのインタフェースである。ユーザI/F108は、ユーザによる操作入力を受け付けるためのインタフェースである。ユーザI/F108は、例えば、タッチパネル機能を搭載した液晶表示装置又は有機EL(Electro Luminescence)表示装置、もしくはキーボード及びマウスである。バスライン110は、上記各構成要素を図6に示されているように電気的に接続するためのアドレスバス又はデータバスである。
The
クラウドサービス50のハードウェア構成は、端末10のハードウェア構成と同様であるので説明を省略する。ただし、SSD104は、HDD(Hard Disk Drive)などの任意の不揮発性の記憶装置に置き換え可能である。
The hardware configuration of the
図7は、一実施形態に係る画像形成装置20のハードウェア構成図である。図7を用いて、画像形成装置20のハードウェア構成について説明する。
FIG. 7 is a hardware configuration diagram of the
画像形成装置20のコントローラ200は、CPU201と、ROM202と、RAM203と、NVRAM204(Non-volatile RAM)と、HDD205と、ネットワークI/F206と、エンジンI/F207と、パネルI/F208と、スキャナI/F209と、メディアI/F215と、バスライン210と、を有する。また、画像形成装置20は、プロッタエンジン211と、操作パネル212と、スキャナエンジン213と、を有する。
CPU201は、画像形成装置20全体の動作を制御する。ROM202は、画像形成装置20上で動作する各種プログラム及びアプリを記憶する。RAM203は、CPU201のワークエリアとして使用される。NVRAM204及びHDD205は、各種プログラム又はアプリで利用されるデータを記憶する。ネットワークI/F206は、通信ネットワーク2を介して他の装置と通信するためのインタフェースである。エンジンI/F207は、プロッタエンジン211と接続するためのインタフェースである。パネルI/F208は、操作パネル212と接続するためのインタフェースである。スキャナI/F209は、スキャナエンジン213と接続するためのインタフェースである。メディアI/F215は、外部メモリなどの記録メディア216に記憶されている情報を読み出したり、記録メディア216に情報を書き込んだりするためのインタフェースである。バスライン210は、上記各構成要素を図7に示されているように電気的に接続するためのアドレスバス又はデータバスである。
The
プロッタエンジン211は、記録媒体への画像の印刷処理において、画像形成装置20のプロッタの動作を制御する。プロッタは、任意の印刷装置であり、インクジェット方式の場合、例えば、インクジェットヘッドであり、レーザープリンタ方式の場合、例えば、感光体、レーザー照射装置、あるいは転写装置である。操作パネル212は、ユーザから設定、条件、指示などの入力を受け付けるためのパネルであり、例えば、タッチパネル機能を搭載した液晶表示装置又は有機EL表示装置、もしくはキーボード及びマウスである。スキャナエンジン213は、画像形成装置20におけるスキャナの動作を制御する。なお、スキャナは、特に限定されないが、例えば、圧版、ADF(Auto Document Feeder)、及び撮像素子を有する公知のものが例示される。
The
<機能構成>
次に、図8を用いて一実施形態に係る画像形成装置20及びクラウドサービス50の機能構成について説明する。図8は、一実施形態に係る画像形成装置20及びクラウドサービス50の機能ブロック図である。
<Functional configuration>
Next, functional configurations of the
<<画像形成装置>>
画像形成装置20は、通信部2100と、ページデータ生成部2210と、印刷データ処理部2220と、印刷部2230とを有する。これら各部は、図7に示されている各構成要素のいずれかが、ROM202からRAM203上に展開された画像形成装置20用のプログラム又はアプリに従ったCPU201からの命令によって動作することで実現される機能である。また、画像形成装置20は、ROM202、RAM203、NVRAM204、又はHDD205により構築される記憶部2000を有する。
<<Image forming apparatus>>
The
通信部2100は、CPU201からの命令、及びネットワークI/F206の処理により、通信ネットワーク2を介した他の装置との通信を制御する。
The
ページデータ生成部2210は、CPU201からの命令に基づいて、複数ページを有するPDFファイル(シリアライズ済み)から、ページごとに分割されたPDFファイルを生成する。ただし、集約印刷を指示されたPDFファイルに関しては、面付け対象ページ群ごとのPDFファイルを生成する。これら1ページ又は面付け対象ページ群に分割されたPDFファイルを分割ファイルという。
A page
印刷データ処理部2220は、CPU201からの命令に基づいて、分割ファイル(PDLファイル)のパース、及び、描画(レンダリング)等のデータ処理を行う。集約印刷を指示されたPDFファイルに関しては、何ページ目かに基づいて面付けする。
A print
印刷部2230は、CPU201からの命令に基づくプロッタエンジン211の動作により、印刷データ処理部2220により描画された画像を用紙などのシート材に形成する印刷処理を行う。
The
<<クラウドサービス>>
クラウドサービス50は、通信部5100と、ファイル生成部5200と、を有する。これら各部は、図6に示されている各構成要素のいずれかが、ROM102からRAM103上に展開されたクラウドサービス50用のプログラム又はアプリに従ったCPU101からの命令によって動作することで実現される機能である。また、クラウドサービス50は、ROM102、RAM103、又はSSD104により構築される記憶部5000を有する。
<<Cloud Service>>
The
通信部5100は、CPU101からの命令、及びネットワークI/F107の処理により、通信ネットワーク2を介した他の装置との通信を制御する。
The
ファイル生成部5200は、CPU101からの命令に基づいて、PDFファイルをシリアライズし、ページごと又は面付け対象ページ群ごとのPDFファイルに分割可能な、PDFファイルを生成する。また、印刷に面付けが必要なPDFファイルにおいてページごとに区切りを設定する。
A
ファイル生成部5200はページソート部5300を有している。ページソート部5300は面付け対象ページ群を所定の基準でソートする。所定の基準は例えばページサイズの小さい順である。描画時間の小さい順にソートしてもよい。ページサイズ又は描画時間大きい順にソートしてもよい。
The
<ファイル構造>
図9は、PDFファイルの構造の一例を示す概念図である。PDFファイルは、国際標準化機構(ISO: International Organization for Standardization)で管理されているオープンスタンダードに準拠して、先頭から順に、ヘッダPH、ボディPB、相互参照表PR、及びトレイラーPTを有する。なお、図9において、ヘッダPH、ボディPB、相互参照表PR、及びトレイラーPTに含まれる情報は一例である。
<File structure>
FIG. 9 is a conceptual diagram showing an example of the structure of a PDF file. A PDF file conforms to open standards managed by the International Organization for Standardization (ISO) and has, from the top, a header PH, a body PB, a cross-reference table PR, and a trailer PT. In FIG. 9, the information included in the header PH, body PB, cross-reference table PR, and trailer PT are examples.
ヘッダPHには、PDFのバージョン情報などが含まれる。 The header PH includes PDF version information and the like.
ボディPBには、オブジェクト番号ごとに、ドキュメントカタログ、ページツリーオブジェクト、各ページのオブジェクト情報などが定義されている。オブジェクト番号は、オブジェクトの識別子であり、例えば、「1 0 obj」のように、参照番号(x)、生成番号(y)、及び「obj」が左から順に並んだものである。ドキュメントカタログは、オブジェクト階層のルート(最上位)である。ページツリーオブジェクトには、各ページのオブジェクト情報への参照などが含まれる。各ページのオブジェクト情報には、各ページを描画するためのデータ(ページデータ)が含まれる。 In the body PB, a document catalog, a page tree object, object information of each page, etc. are defined for each object number. An object number is an identifier of an object, and is composed of a reference number (x), a generation number (y), and "obj" arranged in order from the left, such as "1 0 obj". The Document Catalog is the root (top level) of the object hierarchy. The page tree object includes references to object information of each page. The object information of each page includes data (page data) for drawing each page.
相互参照表PRには、ボディPBに定義されている各オブジェクト番号のオブジェクトのアドレス情報が含まれている。アドレス情報は、オブジェクトがヘッダPHの先頭から何バイト目かを示すオフセット情報である。したがって、アドレス情報によりオブジェクトの位置が分かる。画像形成装置20は、相互参照表PRに基づいて、オブジェクトの位置を特定し、アクセスする。
The cross-reference table PR contains address information of objects of each object number defined in the body PB. The address information is offset information indicating how many bytes the object is from the beginning of the header PH. Therefore, the address information provides the location of the object. The
トレイラーPTには、相互参照表PRの位置を示す位置情報(startxref)、ドキュメントカタログのオブジェクト番号(Root)、及びPDFファイルの作成日時への参照(Info)などが含まれている。 The trailer PT includes position information (startxref) indicating the position of the cross-reference table PR, an object number (Root) of the document catalog, and a reference (Info) to the creation date and time of the PDF file.
このようなPDFファイルの構造上、画像形成装置20は、ドキュメントカタログのオブジェクト番号をトレイラーPTから特定し、このオブジェクト番号に対応するアドレス情報を相互参照表PRから特定することで、ドキュメントカタログにアクセスする。すなわち、画像形成装置20による通常の動作では、PDFファイルのトレイラーPTまでを読み込んだ上で、PDFファイルに係る画像処理を開始する。
Due to such a PDF file structure, the
このようなPDFの言語仕様上、オブジェクト情報はページ順に並んでいなくてもよく、オブジェクト番号も連番である必要はない。例えば、図9において、「5 0 obj,18 0 obj,7 0 obj」は、それぞれ文書における5ページ目、1ページ目、又は3ページ目を描画するためのオブジェクト情報であってもよい。オブジェクト情報が整列されていないので、画像形成装置20は、オブジェクト情報におけるどこまでが何ページ目か相互参照表PRなしに判断できない。
Due to such PDF language specifications, the object information does not have to be arranged in page order, and the object numbers do not have to be consecutive. For example, in FIG. 9, "5 0 obj, 18 0 obj, 7 0 obj" may be object information for rendering the 5th, 1st, or 3rd pages of the document, respectively. Since the object information is not aligned, the
図10は、ボディに存在するオブジェクトがどのような論理構造になっているかを簡略化して示す図の一例である。説明の便宜上、ページツリーオブジェクトが1つの例で記載しているが、言語仕様としてはページツリーオブジェクトにも階層構造を持たせる事ができる。 FIG. 10 is an example of a simplified diagram showing what kind of logical structure an object existing in the body has. For convenience of explanation, one page tree object is described as an example, but as a language specification, the page tree object can also have a hierarchical structure.
一番上にドキュメントカタログのオブジェクト番号(Root)の位置を示すトレイラー辞書(トレイラー辞書のみ、図9のトレイラー部分に定義される)が存在し、それにより論理構造のルートとなるドキュメントカタログと呼ばれるオブジェクトが指定される。ドキュメントカタログはページツリーオブジェクトを指定するので、ページツリーオブジェクトが各ページの情報を示すページオブジェクトを指示する。 There is a trailer dictionary (only the trailer dictionary, defined in the trailer part of FIG. 9) indicating the position of the object number (Root) of the document catalog at the top, and the object called the document catalog that becomes the root of the logical structure. is specified. Since the document catalog specifies a page tree object, the page tree object points to a page object that indicates information for each page.
ページオブジェクトは、フォントや画像等のリソースを定義するオブジェクトや、描画情報が記載されるコンテントストリームを有する。 A page object has an object that defines resources such as fonts and images, and a content stream that describes drawing information.
このような構成のため、ページツリーオブジェクトがないと各ページがどのオブジェクト情報を有するかを特定できない。 Due to such a configuration, it is impossible to specify what object information each page has without the page tree object.
<動作手順>
続いて、図11を用いて印刷システム1における処理について説明する。図11は、PDFファイルを生成する処理の一例を示すシーケンス図である。
<Operation procedure>
Next, processing in the
<<集約印刷の設定がない場合>>
比較のため、まず、集約印刷の設定がない印刷要求が端末10から送信された場合を説明する。以下、端末10による要求に基づいて、クラウドサービス50において管理されている文書ファイルを画像形成装置20へ送信し、画像形成装置20において印刷する一例の処理について説明する。
<<If there is no combined printing setting>>
For comparison, first, a case in which a print request without aggregate print setting is transmitted from the terminal 10 will be described. An example of processing for transmitting a document file managed by the
ただし、端末10が、クラウドサービス50と同様の機能を有している場合、端末10から直接、画像形成装置20へ印刷要求を送信することもできる。この場合、図11におけるクラウドサービス50の処理は、端末10の処理に置き換えられる。また、画像形成装置20による印刷要求に基づいて、クラウドサービス50から画像形成装置20へ文書ファイルを送信し、画像形成装置20において印刷処理を実行してもよい。この場合、図11における端末10の処理は画像形成装置20の処理に置き換えられる。
However, if the terminal 10 has functions similar to those of the
端末10は、ユーザによる印刷要求の入力に応じて、通信ネットワーク2を介してクラウドサービス50へ印刷要求を送信する(ステップS1)。印刷要求には、印刷するファイルのファイル名が含まれている。以下、印刷するファイルがPDFファイルである場合について説明する。
The terminal 10 transmits a print request to the
クラウドサービス50の通信部5100は、端末10によって送信された印刷要求を受信する。クラウドサービス50のファイル生成部5200は、印刷要求に含まれるファイル名のPDFファイルを記憶部5000から読み込む(ステップS11)。
A
クラウドサービス50のファイル生成部5200は、読み込まれたPDFファイルのヘッダに、複数のPDFファイルに分割可能なファイルであることを特定するための判断情報として、予め定められたコメントを挿入する(ステップS12)。
The
図12は、PDFファイルの構造の一例を示す概念図である。図12(A)は、判断情報(%Enable Page Split Mode)が挿入されたヘッダPHiを示す。ただし、図12(A)の判断情報は一例に過ぎず、分割可能なファイルであることが画像形成装置で検出できればよい。 FIG. 12 is a conceptual diagram showing an example of the structure of a PDF file. FIG. 12A shows a header PHi in which determination information (%Enable Page Split Mode) is inserted. However, the determination information in FIG. 12A is merely an example, and it is sufficient if the image forming apparatus can detect that the file is divisible.
図11に戻って説明する。続いて、クラウドサービス50のファイル生成部5200は、ステップS11で読み込まれたPDFファイルに含まれる各ページのデータについて、以下のループ処理を繰り返す。
Returning to FIG. 11, description will be made. Subsequently, the
まず、クラウドサービス50のファイル生成部5200は、ステップS11で読み込まれたPDFファイルを検索して、文書の1ページ目を描画するためのオブジェクト情報を読み込む(ステップS21)。このとき、検索されたオブジェクト情報が圧縮されていた場合でも、ファイル生成部5200は、オブジェクト情報を解凍せず、圧縮されたままの状態で読み込む。
First, the
クラウドサービス50のファイル生成部5200は、ステップS21で読み込まれた1ページ目を描画するためのオブジェクトを、PDFファイルにおけるボディPBの先頭側に移動することにより、ボディPBの記述がページ順になるように整列する(ステップS22)。
The
クラウドサービス50のファイル生成部5200は、PDFファイルにおけるボディPBに、1ページ目のオブジェクトの境界位置を示す境界情報(区切り位置を示すページ区切情報ともいう)を付加する(ステップS23)。境界情報を付加する方法の2つの例について説明する。
The
境界情報を付加する1つ目の方法では、予め定められたオブジェクト情報を境界情報として用いる。図12(B-1)は、PDFファイルのボディPBを示す概念図である。図12(B-2)は、PDFファイルのnページ目のオブジェクト群を示す概念図である。 A first method of adding boundary information uses predetermined object information as boundary information. FIG. 12B-1 is a conceptual diagram showing the body PB of the PDF file. FIG. 12B-2 is a conceptual diagram showing an object group on the n-th page of the PDF file.
図12(B-1)及び(B-2)の例では、「/Pageオブジェクト」を境界情報として用いる。すなわち、クラウドサービス50のファイル生成部5200は、図12(B-1)のボディPBにおける「/Pagesオブジェクト」から、nページにかかる「/Pageオブジェクト」を抽出して、nページ目のオブジェクト群PBnの後端に挿入することにより(図12(B-2)参照)、「/Pageオブジェクト」を境界情報とする。なお、ファイル生成部5200は、nページにかかる「/Pageオブジェクト」を、nページ目のオブジェクト群PBnの先端に挿入することにより、「/Pageオブジェクト」を境界情報としてもよい。なお、「/Pageオブジェクト」は、PDFの言語仕様で定義されているものである。ファイル生成部5200は、「/Pageオブジェクト」以外の「/Contentsオブジェクト」などの他のオブジェクト情報を、オブジェクト群の先端又は後端に挿入することで境界情報としてもよい。
In the examples of FIGS. 12B-1 and 12B-2, "/Page object" is used as boundary information. That is, the
境界情報を付加する2つ目の方法では、ページの区切りを示すコメントを境界情報として用いる。ページの区切りを示すコメントは、PDF言語において、ページの描画内容に直接影響を与えないコメントである。図12(C-1)及び(C-2)は、ページの区切りを示すコメントが付加されたPDFファイルのボディの概念図である。 In the second method of adding boundary information, comments indicating page breaks are used as boundary information. A comment indicating a page break is a comment that does not directly affect the drawing content of a page in the PDF language. FIGS. 12C-1 and 12C-2 are conceptual diagrams of the body of a PDF file to which comments indicating page breaks are added.
図12(C-1)の例では、各ページのオブジェクト群の後端に、ページの区切りを示すコメント「%End Page」が付加されている。図12(C-2)の例では、各ページのオブジェクト群の先端に、ページの区切りを示すコメント「%Start Page」が付加されている。画像形成装置20は、PDFファイルを読み込むときに、これらの判断情報によりページ区切り位置を判断できるので、シリアライズされたPDFファイルの末尾のトレイラーPTと相互参照表PRを読み取らなくても(全体を読み取らなくても)PDFファイルの1ページ目から分割ファイルを作成できる。
In the example of FIG. 12C-1, a comment "%End Page" indicating a page break is added to the end of the object group on each page. In the example of FIG. 12(C-2), a comment “%Start Page” indicating a page break is added to the top of the object group on each page. When reading the PDF file, the
ステップS23の処理が完了すると、クラウドサービス50のファイル生成部5200は、ステップS11で読み込まれたPDFファイルにおいて、未処理のデータがあるか判断する。未処理のデータがある場合、ファイル生成部5200は、未処理のデータに対しループ処理を繰り返す。このとき、クラウドサービス50のファイル生成部5200は、ステップS21で読み込まれたnページ目のオブジェクト群を、PDFファイルにおけるボディPBのn-1ページ目のオブジェクト群の後に挿入することにより、ボディPBの記述がページ順になるように整列する(ステップS22)。すなわち、シリアライズする。
When the process of step S23 is completed, the
ループ処理が完了してから、クラウドサービス50のファイル生成部5200は、境界情報が付加されたPDFファイルに対し、ファイル構造情報を追加して、更新する(ステップS31)。ファイル構造情報は、PDF言語で規定されているページツリー、ドキュメントカタログ、相互参照表PR、トレイラーPTなどを含む。ファイル構造情報が追加されたファイルは、PDF言語仕様を満たすものとなる。
After the loop processing is completed, the
クラウドサービス50のファイル生成部5200は、印刷ジョブに必要なページツリーを生成して追加する。この場合、ページツリーのオブジェクト番号には、予め定められた値が割り当てられる。ページツリーには、ページ数と、ページを描画するためのオブジェクトへの参照が含まれる。
The
クラウドサービス50のファイル生成部5200は、印刷ジョブに必要なジョブ情報としてドキュメントカタログを生成して生成過程にあるPDFファイルに追加する。ドキュメントカタログのオブジェクト番号は予め定められた値が割り当てられる。印刷ジョブに必要なジョブ情報には、ページツリーのオブジェクトへの参照が含まれる。上記のように、ページツリーのオブジェクトのオブジェクト番号は予め定められているので、ページツリーへの参照は予め定められた値となる。
The
クラウドサービス50のファイル生成部5200は、相互参照表PRを生成して、境界情報が付加された生成過程にあるPDFファイルにおけるボディPBの後に追加する。相互参照表PRは、ボディPBにおける各オブジェクトの位置をオフセット情報として表したアドレス情報である。ページデータ生成部2210は、先に生成したボディPBから、各オブジェクトを検索し、検索された各オブジェクトの位置を示すアドレス情報をオフセット情報として記述することで、相互参照表PRを生成する。
The
クラウドサービス50の通信部5100は、ファイル構造情報が追加されたPDF形式のファイルを含む印刷要求を画像形成装置20へ送信する(ステップS41)。ファイル構造情報が追加されたPDF形式のファイルを変換ファイルと表す。
The
クラウドサービス50のファイル生成部5200は、変換ファイルを記憶部5000に記憶する(ステップS42)。変換ファイルは、PDFの言語仕様にしたがっているので、記憶部5000に記憶されている変換ファイルをビュアーにより読み出して、文書の全体を閲覧することができる。
The
<<集約印刷の設定がある場合>>
続いて、印刷要求に集約印刷の設定が含まれる場合にクラウドサービスが生成するPDFファイルについて説明する。
<<If you have combined printing settings>>
Next, the PDF file generated by the cloud service when the print request includes the aggregate print setting will be described.
図13は、PDFファイルを生成する処理の一例を示すシーケンス図である。なお、図13の説明では図11との相違を主に説明する。 FIG. 13 is a sequence diagram showing an example of processing for generating a PDF file. Note that in the explanation of FIG. 13, differences from FIG. 11 are mainly explained.
端末10は、ユーザによる印刷要求の入力に応じて、通信ネットワーク2を介してクラウドサービス50へ印刷要求を送信する(ステップS1)。この印刷要求には、4in1などの集約印刷の設定が含まれている。
The terminal 10 transmits a print request to the
続く、ステップS11、S12の処理は図11と同様でよい。ただし、クラウドサービス50のファイル生成部5200は、PDFファイルを読み込む際に集約印刷の設定も読み込む。
The subsequent processing of steps S11 and S12 may be the same as in FIG. However, the
次に、ファイル生成部5200はどのオブジェクトが何ページ目かという情報(/pages)を出力バッファに入れる(S13)。このような情報はページツリーオブジェクトに含まれる。これにより各ページとこのページに含まれるオブジェクトの対応が特定される。本実施形態ではシリアライズされても、ページ順にオブジェクトが整列されるとは限らないので、ボディよりもPDFファイルの先頭側にページツリーオブジェクトが必要になる。ページツリーオブジェクトがボディよりも末尾側にあると、画像形成装置20がPDFファイルの全体を受信するまで印刷を開始できない。
Next, the
どのオブジェクトが何ページ目かという情報はページツリーと呼ばれ、PDFファイルのページツリーオブジェクトに記述されている。ページツリーオブジェクトは「/pages」という記述を有する。出力バッファとは、PDFファイルを生成するために一時的にファイルのオブジェクトをオブジェクトの順番に保存するメモリである。 Information about which object is on which page is called a page tree, and is described in the page tree object of the PDF file. A page tree object has the description "/pages". An output buffer is a memory that temporarily stores objects of a file in object order to generate a PDF file.
続く、ステップS21~S23は面付け対象ページ群に対し繰り返して実行される。例えば、4in1の集約印刷の場合、1~4ページ、5~8ページ、…のように4ページ分のオブジェクトに対し実行される。
Subsequently, steps S21 to S23 are repeatedly executed for the imposition target page group. For example, in the case of 4-in-1 aggregate printing, it is executed for four pages of objects such as
まず、クラウドサービス50のファイル生成部5200は、ステップS11で読み込まれたPDFファイルを検索して、面付け対象ページ群(例えば1~4ページ目)を描画するためのオブジェクト情報を読み込む(ステップS21)。
First, the
次に、クラウドサービスのページソート部5300は、面付け対象ページ群(例えば1~4ページ)の各ページサイズを算出する(ステップS21-2)。各ページサイズは各ページが含むオブジェクトのバイト数であるので、相互参照表のバイトオフセットにより求めることができる。相互参照表にはオブジェクトが何バイト目から始まるかが記述されているので、バイトオフセットの差分が各ページのバイト数(ページサイズ)である。
Next, the page sorting unit 5300 of the cloud service calculates each page size of the imposition target page group (for example,
続く、ステップS22,S23は図11と同様の処理であるが、S22,S23は面付け対象ページ群に含まれる各ページに対し繰り返し実行される。 The subsequent steps S22 and S23 are the same processes as in FIG. 11, but S22 and S23 are repeatedly executed for each page included in the imposition target page group.
クラウドサービス50のファイル生成部5200は、ステップS21-2で算出した各ページサイズの小さい順にこのページを描画するためのオブジェクトを、PDFファイルにおけるボディPBの先頭側に移動することにより、ボディPBの記述がページサイズの順番になるように整列する(ステップS22)。つまり、面付け対象ページ群が4ページなら、1~4ページのオブジェクトに着目し、1~4ページのうちページサイズの小さい順にオブジェクトを整列する。したがって、PDFファイルの全体のオブジェクトをページ順に整列する処理と、面付け対象ページ群内でページサイズの小さい順にオブジェクトを整列する2つの処理が含まれている。
The
クラウドサービス50のファイル生成部5200は、PDFファイルにおけるボディPBに、各ページのオブジェクトの境界位置を示す境界情報を付加する(ステップS23)。つまり、面付け対象ページ群内で各ページの境界が設定される。境界情報は図11と同様でよい。
The
以降のステップS31、S41,S42の処理については図11と同様でよい。ページツリーオブジェクトは設定済みなのでステップS31では追加されないくてよいが、追加されても構わない。 Subsequent steps S31, S41, and S42 may be the same as those in FIG. Since the page tree object has already been set, it need not be added in step S31, but it may be added.
<面付けが必要なPDFファイルのシリアライズの一例>
図14は、図13のようなシリアライズの処理により作成されたPDFファイルの一例である。なお、図14の説明では、4in1の面付け対象ページ群のうち、4ページ目、2ページ目、3ページ目、1ページ目の順にページサイズが小さいものとする。
<Example of serialization of a PDF file that requires imposition>
FIG. 14 is an example of a PDF file created by serialization processing as shown in FIG. In the description of FIG. 14, it is assumed that the 4th page, the 2nd page, the 3rd page, and the 1st page of the 4-in-1 imposition target page group have smaller page sizes in this order.
図14のPDFファイルはファイルの構成を先頭から順番に示している。
PDFヘッダ:図12(A)のヘッダPHである。
高速PDF識別子:判断情報に相当し、図12(A)の「%Enable Page Split Mode」である。
ページツリー:ページツリーオブジェクトである。
4ページ目オブジェクト群:最もページサイズが小さい4ページ目のオブジェクト群である。
ページ区切り:4ページ目のオブジェクト群と2ページ目のオブジェクト群の境界を示す境界情報である。境界情報は、例えば、図12(C-1)又は(C-2)の「%End Page」「%Start Page」であるがこれらには限られない。
The PDF file in FIG. 14 shows the structure of the file in order from the beginning.
PDF header: Header PH in FIG. 12(A).
High Speed PDF Identifier: Corresponds to judgment information, which is “%Enable Page Split Mode” in FIG. 12(A).
Page Tree: A page tree object.
4th page object group: The object group of the 4th page with the smallest page size.
Page break: Boundary information indicating the boundary between the object group on the fourth page and the object group on the second page. The boundary information is, for example, "%End Page" and "%Start Page" in FIG. 12 (C-1) or (C-2), but is not limited to these.
3ページ目、2ページ目、1ページ目の構成も同様であり、ページとページの境界(データとデータの間)にページ区切り(境界情報)が設定される。 The configurations of the third page, the second page, and the first page are the same, and page breaks (boundary information) are set at the boundaries between pages (between data).
図14ではnページ目まで存在するが、面付け対象ページ群の4ページごとに、ページサイズでソートされた各ページのオブジェクトがページ区切りで区切られてPDFファイルに設定されている。図示するように、集約印刷に関する設定(例えば4in1など)はPDFファイルには含まれない。集約印刷であることの判断はPDFファイルからではなくPJLなどに基づいて画像形成装置20が行う。
In FIG. 14, there are up to the n-th page, but for every four pages of the imposition target page group, the objects of each page sorted by page size are separated by page breaks and set in the PDF file. As shown, the PDF file does not include settings related to aggregate printing (for example, 4in1). The
<シリアライズされたPDFファイルの印刷>
続いて、図15を用いて、印刷要求を受信した画像形成装置20の処理について説明する。図15は、画像形成装置20における印刷処理の一例を示すシーケンス図である。
<Print serialized PDF file>
Next, processing of the
画像形成装置20の通信部2100は、端末10によって送信されたクラウドサービス50からの印刷要求の受信を開始すると、印刷要求に含まれるPDFファイルを、バッファとしてRAM203に順次記憶(バッファリング)する。画像形成装置20は、バッファリングの完了を待機することなく、以下の印刷処理を継続する。
When the
通信部2100は、印刷を開始するための印刷開始通知をページデータ生成部2210へ送信する(ステップS52)。
The
ページデータ生成部2210は、印刷開始通知を受信すると、印刷要求に含まれるPDFファイルから、印刷する各ページのデータが分割されたPDFファイル(分割ファイル)を生成可能であるか判断する(ステップS53)。例えば、印刷要求に含まれるPDFファイルのページ数が10であり、全ページを印刷する場合、ページデータ生成部2210は、10個のページごとの分割ファイルを生成可能であるか判断する。
Upon receiving the print start notification, the page
ページデータ生成部2210は、受信バッファにおけるヘッダPHiの部分を読み込んだ時点で、判断情報を検知すれば、分割ファイルを生成可能であると判断する。
If the page
ステップS53において分割ファイルを生成可能でないと判断された場合、ページデータ生成部2210はPDFファイルの全体を印刷データ処理部2220に送信する(ステップS54)。
If it is determined in step S53 that the split files cannot be generated, the page
印刷データ処理部2220は従来と同様にPDFファイルの末尾から読み取って構造を解析し(パースし)、プロッタエンジン211に印刷を指示する(ステップS55)。このように、画像形成装置20は、ヘッダに判断情報がない場合、最後尾まで受信後に相互参照表を参照して印刷を行うことができるため、クラウドサービス50は送信先の画像形成装置がシリアライズされたPDFファイルに対応している画像形成装置か否かを意識する必要がない。
The print
ステップS53において、分割ファイルを生成可能であると判断された場合、画像形成装置20のページデータ生成部2210は、PDFファイルにおける各ページのオブジェクトが受信されるたびに、1物理ページごとの分割ファイルを生成する(ステップS61)。ステップS61の処理については図16を用いて詳細に説明する。
In step S53, if it is determined that the split files can be generated, the page
1物理ページ分の分割ファイルが完成すると、ページデータ生成部2210は、生成された分割ファイルを印刷データ処理部2220へ送信する(ステップS62)。
When the divided files for one physical page are completed, the page
印刷データ処理部2220は、受信された分割ファイルを解析し、データにアクセスしながらフレームメモリに1ページ分の画像を描画することで印刷画像を生成する。印刷データ処理部2220は、印刷画像を含む印刷指示を印刷部2230へ送信して、印刷処理を実行させる(ステップS63)。印刷部2230は印刷処理の指示を受けると、プロッタエンジンを制御して用紙に1ページの印刷画像を転写し、排紙する。ステップS63の処理については図17を用いて詳細に説明する。
The print
ページデータ生成部2210は、印刷対象のページのデータのうち、分割ファイルの生成が完了していない未処理のページのデータがバッファに含まれているか判断する。未処理のページのデータが含まれていると判断された場合には、画像形成装置20は、ステップS61乃至S63の処理を繰り返す。このようにして、印刷する各ページの画像コンテンツに対応する分割ファイルが生成され、1物理ページずつ印刷処理が実行される。
The page
印刷対象のすべてのページの印刷処理が完了してから、ページデータ生成部2210は、バッファとして残っている情報を削除する(ステップS64)。これにより、バッファがクリアされた状態で、次のデータの受信待ち状態に遷移するので、バッファに必要な容量は、1ページ分の受信データで足りることになる。
After the print processing for all pages to be printed is completed, the
<<分割ファイルの生成>>
図15のステップS61の処理について図16を用いて詳細に説明する。図16は、分割ファイルを生成する処理の一例を示すフロー図である。なお、ステップS61の処理は、クラウドサービス50から送られてきたPDFファイルの受信の完了を待つことなく実行される。
<<Generation of split files>>
The processing of step S61 in FIG. 15 will be described in detail using FIG. FIG. 16 is a flowchart showing an example of processing for generating split files. Note that the process of step S61 is executed without waiting for the completion of reception of the PDF file sent from the
ページデータ生成部2210は送信されたPDFファイル及び印刷設定を読み込んで集約印刷の設定を確認する(S61-1)。
The page
ページデータ生成部2210はPDFファイルからPDFヘッダ、高速PDF識別子(判断情報)、及びページツリーオブジェクトを退避する(S61-2)。面付け対象ページ群ごとにこれらを追加するためである。
The
ステップS61-3は面付け対象ページ群ごとに実行される。ページデータ生成部2210はPDFヘッダ、高速PDF識別子、及び、ページツリーオブジェクトを1物理ページのPDFファイルの先頭に設定する(S61-3)。PDFヘッダと高速PDF識別子は退避したものと同じでよい。ページツリーオブジェクトは面付け対象ページ群を指定するため、1~4ページ、5~8ページのように1物理ページごとに異なる内容になる。
Step S61-3 is executed for each imposition target page group. The
RAM203には、通信部2100によって受信されたPDFファイルの一部が、バッファとして順次記憶される。ページデータ生成部2210は、バッファをレコード(オブジェクト)ごとに読み込む(ステップS61-4)。
A part of the PDF file received by the
ページデータ生成部2210は、読み込まれたレコードが、相互参照表PR、ドキュメントカタログ、又はトレイラーPTに該当するか判断する(ステップS61-5)。
The
ステップS61-2において、レコードが、相互参照表PR、ドキュメントカタログ、又はトレイラーPTのいずれかに該当すると判断された場合(Yes)、ページデータ生成部2210は、読み込まれたレコードを削除する(ステップS61-6)。相互参照表PR、ドキュメントカタログ、及びトレイラーPTの各レコードは、後述の処理で、分割ファイルを作成する際に、新たに生成されるためである。
In step S61-2, if it is determined that the record corresponds to any of the cross-reference table PR, document catalog, or trailer PT (Yes), the page
ステップS61-5において、該当しないと判断された場合(No)、ページデータ生成部2210は、読み込まれたレコードを、記憶部2000に記憶する(ステップS61-7)。
In step S61-5, if it is determined that this does not apply (No), the page
ページデータ生成部2210は、ステップS61-4乃至S61-7の処理を、1ページ分のレコード、すなわちオブジェクトを読み終えるまで繰り返す。なお、ページデータ生成部2210は、ボディPBにおける境界情報を読み込むことで、1ページ分のレコードを読み終えたか判断することができる。
The page
また、ページデータ生成部2210は、ステップS61-4乃至S61-7の処理を、面付け対象ページ群のオブジェクトを読み終えるまで繰り返す。4in1の場合は4ページ分のオブジェクトを読み終えるまで繰り返す。
In addition, the page
上記のループ処理が完了した時点で、記憶部2000にはPDFファイルから抽出された面付け対象ページ群のレコードのうち、相互参照表PR、ドキュメントカタログ、又はトレイラーPTが除かれた各レコード、すなわち1ページを描画するための各データを含むオブジェクトが記憶される。ページデータ生成部2210は、記憶部2000に記憶されたレコードを、分割ファイルにおけるボディとする。
When the above loop processing is completed, among the records of the imposition target page group extracted from the PDF file, each record excluding the cross-reference table PR, the document catalog, or the trailer PT is stored in the
このボディには、ステップS61-6の処理で読み捨てられる相互参照表PR、ドキュメントカタログ、及びトレイラーPTなどが含まれない。このボディを分割ファイルとして、印刷データ処理部2220に送信しても、PDF言語に準拠していないため、印刷データ処理部2220は、印刷処理を実行できない。そこで、ページデータ生成部2210は、ボディに、必要な情報を追加して、PDF言語仕様に基づいたPDFファイルを完成させる。
This body does not include the cross-reference table PR, document catalog, trailer PT, etc., which are discarded in the process of step S61-6. Even if this body is transmitted to the print
ページデータ生成部2210は生成されたドキュメントカタログをボディの後端に追加する(ステップS61-8)。ドキュメントカタログはページツリーオブジェクトを指定するが、本実施形態ではページツリーオブジェクトはボディよりも前方に配置されるので、ドキュメントカタログは参照されない場合がある。
The
続いて、ページデータ生成部2210は、相互参照表を生成して、生成過程にある分割ファイルにおけるボディの後に追加する(ステップS61-9)。
Next, the page
ページデータ生成部2210は、分割ファイルにおけるトレイラーを生成し、生成過程にある分割ファイルにおける相互参照表PRの後に追加することで、PDF言語に従った分割ファイルを完成させる(ステップS61-10)。
The page
ステップS61-8乃至S61-10の処理は、図13のステップS31のファイル構造情報を追加する処理と同様である。 The processing of steps S61-8 to S61-10 is the same as the processing of adding the file structure information in step S31 of FIG.
ページデータ生成部2210は、PDFファイルの最後まで終了したか否かを判断し(ステップS61-11)、終了していなければ面付け対象ページ群に対するループ処理から繰り返す。
The page
以上の処理で面付け対象ページ群ごとに1物理ページのPDFファイルが作成される。画像形成装置20は1物理ページずつ印刷する。
Through the above processing, a PDF file of one physical page is created for each imposition target page group. The
<<印刷指示>>
図15のステップS63の処理について図17を用いて詳細に説明する。図17は、分割ファイルを印刷する処理の一例を示すフロー図である。
<<Print Instructions>>
The processing of step S63 in FIG. 15 will be described in detail using FIG. FIG. 17 is a flow chart showing an example of processing for printing a split file.
まず、画像形成装置20の印刷データ処理部2220は、どのオブジェクトが何ページ目かという情報(ページツリーオブジェクト)をパースする(ステップS63-1)。
First, the print
次に、PDFファイルの先頭からページ(オブジェクト)の区切り(%PageEndなど)までパースする(ステップS63-2)。この時点でこのページが何ページ目かわかる。 Next, the PDF file is parsed from the beginning to page (object) delimiters (%PageEnd, etc.) (step S63-2). At this point, you know what page this page is.
次に、印刷データ処理部2220はページツリーオブジェクトに基づいて、パースしたページが何ページ目なのか判断する(ステップS63-3)。これは、パースしたページを元の文書のページ順に、1物理ページに配置するためである。
Next, the print
印刷データ処理部2220は、パースしたページを1物理ページの適切な位置(4in1であれば、左上/右上/左下/右下のどこか)に描画する(ステップS63-4)。例えば、1、5、9…ページ目であれば左上、例えば、2、6、10…ページ目であれば右上、例えば、3、7、11…ページ目であれば左下、例えば、4、8、12…ページ目であれば右下に配置する。こうすることで、PDFファイル内の配置順とは関係なく、元の文書のページ順に、各ページを配置できる。
The print
印刷データ処理部2220は面付け対象ページ群が終了したか否かを判断し(ステップS63-5)、終了していなければステップS63-2以降の処理を繰り返す。終了した場合は、印刷部2230は1物理ページを排紙する(S63-6)。
The print
このように、印刷データ処理部2220は、面付け対象ページ群がデータサイズの小さい順に配置されたPDFファイルをページ区切りに基づいて先頭から描画するので、4in1の集約印刷だとしても4ページ分のスプールを待つことなく、1ページ分のスプールが完了すれば描画を開始でき、1物理ページの排紙までの時間を短縮できる。
In this way, the print
なお、画像形成装置20が集約印刷を含む印刷設定を受け付ける機能を有していてもよい。この場合、ユーザが新たに設定した集約印刷の設定で印刷される。
Note that the
<まとめ>
以上説明したように、本実施例の印刷システム1は、面付け対象ページ群においてページ間にページ区切りを設定し、データサイズの小さい順にソートするので、スプールと描画を並列に実行できるため、印刷開始までの時間を短縮できる。
<Summary>
As described above, the
本実施例では、ページサイズに加えて各ページの描画時間を考慮し、プリンタが効率よく分割できる並びにページをシリアライズしたPDFファイルを生成する印刷システム1について説明する。
In the present embodiment, a
なお、本実施例においては、上記の実施例にて説明した図6、図7のハードウェア構成図、及び、図8に示した機能ブロック図を援用できるものとして説明する。 In this embodiment, the hardware configuration diagrams of FIGS. 6 and 7 and the functional block diagram of FIG. 8 described in the above embodiment can be used.
図18は、画像を印刷する処理の一例を示すシーケンス図である。なお、図18の説明では図13との相違を主に説明する。 FIG. 18 is a sequence diagram illustrating an example of processing for printing an image. Note that in the description of FIG. 18, differences from FIG. 13 will be mainly described.
ステップS1、S11~S13、S21,S21-2の処理は図13と同様である。ステップS21-2で面付け対象ページ群の各ページサイズを算出すると、ステップS21-3において、クラウドサービス50のページソート部5300は面付け対象ページ群で各ページの共通オブジェクト数と描画時間を算出する(ステップS21-3)。ページの共通オブジェクトとは、ページが異なっても共通に描画されるオブジェクト(例えばロゴマーク、共通の画像、ヘッダなどである)。描画時間は、オブジェクトの種類と各オブジェクトの数から算出される。例えば、1文字、単位面積当たりの画像、及び、1図形の描画に必要な時間が決まっており、各オブジェクトの描画時間を文字数、画像の大きさ、図形の数から算出する。
The processes of steps S1, S11 to S13, S21, and S21-2 are the same as in FIG. When each page size of the imposition target page group is calculated in step S21-2, the page sorting unit 5300 of the
次に、ファイル生成部5200はオブジェクトを整列するが、この処理の詳細を図19に基づいて説明する。図19は、面付け対象ページ群のページの整列処理を説明するフローチャート図の一例である。
Next, the
まず、ファイル生成部5200はページごとに面付け対象ページ群の先頭か否かを判断する(ステップS21-31)。面付け対象ページ群の先頭のページは描画時間を考慮しないためである。面付け対象ページ群の先頭のページは、例えば4in1であれば4ページごとのデータサイズに基づく先頭のページである。
First, the
面付け対象ページ群の先頭のページでない場合(ステップS21-31のYes)、ファイル生成部5200は最もサイズの小さいページを出力バッファに入れる(ステップS21-32)。
If the page is not the top page of the imposition target page group (Yes in step S21-31), the
面付け対象ページ群の先頭のページの場合(ステップS21-31のNo)、ファイル生成部5200は共通オブジェクトの描画時間が長いページ同士が隣接するように出力バッファに入れる(ステップS21-33)。
In the case of the first page of the imposition target page group (No in step S21-31), the
例えば、2ページ目で利用する描画オブジェクトを4ページ目でも利用しているケースにおいて、2ページ目の後に4ページ目を配置した方が、2ページ目で描画したオブジェクトを4ページ目で使い回せるため、描画時間が短縮できる。また、2ページ目と4ページ目に共通のオブジェクトの描画時間が10ミリ秒で、1ページ目と3ページ目に共通のオブジェクトの描画時間が20ミリ秒の場合、1ページ目と3ページ目を隣接させることが優先される。先頭のページはページサイズで決まってしまうので、先頭のページと共通のオブジェクトを有するページが優先される場合もある。 For example, in the case where the drawing object used on the 2nd page is also used on the 4th page, placing the 4th page after the 2nd page allows the objects drawn on the 2nd page to be reused on the 4th page. Therefore, the drawing time can be shortened. Also, if the rendering time for objects common to the second and fourth pages is 10 milliseconds and the rendering time for common objects between the first and third pages is 20 milliseconds, then the first and third pages priority is given to adjacent Since the top page is determined by the page size, a page having objects in common with the top page may be prioritized.
以降は図13と同様に、ページ毎に境界情報が付加され、ファイル構造情報が追加され、シリアライズされたPDFファイルが生成される。 Thereafter, as in FIG. 13, boundary information is added for each page, file structure information is added, and a serialized PDF file is generated.
なお、画像形成装置20側の処理は実施例1と同様になる。
Note that the processing on the
<シリアライズされたPDFファイル>
図20は、シリアライズされたPDFファイルの一例を示す図である。なお、図20の説明では主に図14との相違を説明する。PDFヘッダからページツリーまでは図14と同様でよい。
<Serialized PDF file>
FIG. 20 is a diagram showing an example of a serialized PDF file. 20 mainly describes the difference from FIG. From the PDF header to the page tree, the same as in FIG. 14 may be used.
図20では、4<2<3<1の順でページサイズが大きくなる。1ページ目の印刷開始まで(1stプリント)の時間を最も効果的に高速化するため先頭のページはページサイズが一番小さいページ(今回の例では4ページ目)である。
In FIG. 20, the page size increases in the order of 4<2<3<1. The first page is the page with the smallest page size (
2ページ以降は、描画時間が短くなる並びにする。図20では、4ページ目と1ページで多くの共通オブジェクトがあり、4ページ目の次に1ページ目を印刷すると描画時間が短縮できるため、4ページ目の後に1ページ目が配置されている。1ページ目の後は、3ページ目と2ページ目のうち共通のオブジェクトがある方が先に配置される。共通のオブジェクトがない場合はページサイズの順で配置される。 From the second page onwards, the drawing time is shortened. In FIG. 20, the 4th page and the 1st page have many common objects, and the drawing time can be shortened by printing the 1st page after the 4th page, so the 1st page is arranged after the 4th page. . After the first page, the third page and the second page, whichever has a common object, are laid out first. If there are no common objects, they are laid out in order of page size.
<シリアライズされたPDFファイルの印刷性能>
図21は、本実施例において、シリアライズされたPDFファイルの印刷性能を説明する図の一例である。図21(a)は実施例1の方法でシリアライズされたPDFファイルの印刷時のタイムチャート図を示し、図21(b)は本実施例の方法でシリアライズされたPDFファイルのタイムチャート図を示す。
<Print performance of serialized PDF files>
FIG. 21 is an example of a diagram illustrating print performance of a serialized PDF file in this embodiment. FIG. 21(a) shows a time chart for printing a PDF file serialized by the method of the first embodiment, and FIG. 21(b) shows a time chart for the PDF file serialized by the method of this embodiment. .
図21(a)では2ページ目の描画に25秒かかっているが、図21(b)では2ページ目の描画に15秒しかかからない。これは、4ページ目と1ページ目で多くの共通オブジェクトを利用しており、続きで印刷する事で描画時間を短縮できるためである。 Although it takes 25 seconds to draw the second page in FIG. 21(a), it takes only 15 seconds to draw the second page in FIG. 21(b). This is because many common objects are used on the 4th page and the 1st page, and drawing time can be shortened by printing them continuously.
このように先頭のページは描画を早く開始するため、最小のページサイズのページを配置して、その後に続くページは描画時間で決定することで、実施例1よりも1ページ目の印刷開始まで(1stプリント)の時間を短縮できる。 In this way, since the drawing of the first page starts early, by arranging the page of the smallest page size and determining the subsequent pages by the drawing time, it is possible to print the first page more quickly than in the first embodiment. (1st print) can be shortened.
<まとめ>
以上説明したように、本実施例の印刷システム1は、面付け対象ページ群において先頭ページをデータサイズの最も小さいページに配置し、以降のページを共通オブジェクトの描画時間が長いページ同士が隣接するように配置するので、描画時間を短縮し、印刷開始までの時間を短縮できる。
<Summary>
As described above, the
実施例1は、どのオブジェクトが何ページ目かという情報(ページツリーオブジェクト))を、PDFファイルの先頭に配置したが、本実施例では面付け単位でページツリーオブジェクトを配置する印刷システムについて説明する。 In the first embodiment, the information (page tree object) indicating which object is on which page is arranged at the top of the PDF file, but in this embodiment, a printing system that arranges the page tree object for each imposition will be described. .
図22は、PDFファイルを生成する処理の一例を示すシーケンス図である。なお、図22の説明では図13との相違を主に説明する。 FIG. 22 is a sequence diagram showing an example of processing for generating a PDF file. 22 mainly describes the difference from FIG.
図22の処理では、ステップS13の「どのオブジェクトが何ページ目かという情報(/pages)を出力バッファに入れる」処理が面付け対象ページ群のループ内で実行されている。したがって、面付け単位でページツリーオブジェクトが配置される。以降の処理は図13と同様でよい。 In the process of FIG. 22, the step S13 of "entering the information (/pages) which object is on which page into the output buffer" is executed within the loop of the imposition target page group. Therefore, page tree objects are arranged for each imposition. Subsequent processing may be the same as in FIG.
図23は、面付けが必要なPDFファイルのシリアライズの一例を示す図である。図23では図14との相違を主に説明する。図23のPDFファイルは、1つ目のページツリーオブジェクトの後に4ページ目~1ページ目のオブジェクトがあり、その次に更に2つめのページツリーオブジェクトが配置されている。すなわち、面付け対象ページ群ごとにページツリーオブジェクトが配置される。 FIG. 23 is a diagram showing an example of serialization of a PDF file that requires imposition. In FIG. 23, differences from FIG. 14 will be mainly described. In the PDF file shown in FIG. 23, the first page tree object is followed by the fourth to first page objects, and then the second page tree object is arranged. That is, a page tree object is arranged for each imposition target page group.
先頭のページツリーオブジェクトはルートのページツリーオブジェクトであり、2つ目以降のページツリーオブジェクトは、ルートのページツリーオブジェクトの子ノードとなるページツリーである。PDFファイルでは仕様として、ページツリーオブジェクトの子ノードに他のページツリーオブジェクトを指定することができる。 The top page tree object is a root page tree object, and the second and subsequent page tree objects are page trees that are child nodes of the root page tree object. As a specification of the PDF file, other page tree objects can be designated as child nodes of the page tree object.
このようにページツリーオブジェクトを配置することで、先頭のページツリーオブジェクトのサイズを小さくでき、1物理ページ分のPDFファイルを受信する時間を短くできる。 By arranging the page tree objects in this way, the size of the top page tree object can be reduced, and the time required to receive the PDF file for one physical page can be shortened.
なお、本実施例のように、面付け単位でPDFファイルにページツリーオブジェクトが配置された場合、図16のPDFファイルの生成処理ではステップS61-3の処理においてページツリーオブジェクトを設定しなくてよい。ステップS61-5、61-6でページツリーオブジェクトは読み捨てられないので、PDFファイルに設定される。 Note that when the page tree object is arranged in the PDF file for each imposition as in this embodiment, the page tree object need not be set in the process of step S61-3 in the process of generating the PDF file in FIG. . Since the page tree object is not discarded in steps S61-5 and S61-6, it is set to the PDF file.
<まとめ>
本実施例によれば、実施例1の効果に加え、1物理ページ分のPDFファイルを受信する時間を短くできる。
<Summary>
According to this embodiment, in addition to the effect of the first embodiment, the time required to receive a PDF file for one physical page can be shortened.
<その他の適用例>
以上、本発明を実施するための最良の形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。
<Other application examples>
Although the best mode for carrying out the present invention has been described above using examples, the present invention is by no means limited to such examples, and various modifications can be made without departing from the scope of the present invention. and substitutions can be added.
例えば、本実施形態ではPDFファイルを例にして説明したが、ランダムアクセスファイルであれば好適に適用できる。例えば、XPSファイルでもよい。 For example, although the PDF file has been described as an example in the present embodiment, any random access file can be suitably applied. For example, it may be an XPS file.
また、図8などの構成例は、クラウドサービス50及び画像形成装置20による処理の理解を容易にするために、主な機能に応じて分割したものである。処理単位の分割の仕方や名称によって本願発明が制限されることはない。クラウドサービス50及び画像形成装置20の処理は、処理内容に応じて更に多くの処理単位に分割することもできる。また、1つの処理単位が更に多くの処理を含むように分割することもできる。
Further, the configuration example of FIG. 8 and the like is divided according to main functions in order to facilitate understanding of the processing by the
なお、印刷システム1が複数のクラウドサービス50を有していてもよく、クラウドサービス50の機能が複数のサーバに分散して設置されていてもよい。
Note that the
なお、ファイル生成部5200は生成手段の一例であり、通信部5100は送信手段の一例であり、ページソート部5300はソート手段の一例であり、通信部2100は受信手段の一例であり、印刷データ処理部2220は処理手段の一例である。
Note that the
1 印刷システム
2 通信ネットワーク
10 端末
20 画像形成装置
50 クラウドサービス
1
Claims (10)
前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、
前記面付け対象ページ群の各ページを所定の基準でソートするソート手段と、を有し、
前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、
前記ソート手段は、前記面付け対象ページ群の各ページを、データサイズの小さい順にソートすることを特徴とする情報処理装置。 generating means for generating, from the first document file, a second document file in which boundary information for identifying boundaries of data of each page of the imposition target page group is arranged between data of the pages;
a transmission unit configured to transmit the second document file generated by the generation unit to an image forming apparatus;
sorting means for sorting each page of the imposition target page group according to a predetermined criterion;
The generation means generates the second document file in which the data of the imposition target page group are arranged in the order of the predetermined reference and the boundary information is arranged between the data,
The information processing apparatus , wherein the sorting means sorts the pages of the imposition target page group in ascending order of data size .
前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、
前記面付け対象ページ群の各ページを所定の基準でソートするソート手段と、を有し、
前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、
前記ソート手段は、前記面付け対象ページ群の各ページをデータサイズの小さい順にソートして、最もデータサイズが小さいページのデータを前記面付け対象ページ群における先頭に配置し、
前記面付け対象ページ群の各ページに共通のデータが隣接するように前記面付け対象ページ群の残りのページのデータを配置することを特徴とする情報処理装置。 generating means for generating, from the first document file, a second document file in which boundary information for identifying boundaries of data of each page of the imposition target page group is arranged between data of the pages;
a transmission unit configured to transmit the second document file generated by the generation unit to an image forming apparatus;
sorting means for sorting each page of the imposition target page group according to a predetermined criterion;
The generation means generates the second document file in which the data of the imposition target page group are arranged in the order of the predetermined reference and the boundary information is arranged between the data,
The sorting means sorts the pages of the imposition target page group in ascending order of data size, and arranges the data of the page with the smallest data size at the top of the imposition target page group;
An information processing apparatus , wherein data of remaining pages of the imposition target page group are arranged such that common data is adjacent to each page of the imposition target page group .
前記受信手段が受信した前記第2の文書ファイルの先頭から前記境界情報に基づいて検出されたページの描画を、検出された順に開始する処理手段と、を有し、
前記第2の文書ファイルは、面付け対象ページ群のデータが所定の基準に基づく順番で配置されており、
前記処理手段は、面付け対象ページ群のデータから前記境界情報に基づいて検出されたページの描画を、検出された順に開始し、
前記第2の文書ファイルは、各ページのデータがどのページのものかという情報を各ページのデータよりも先頭側に有しており、
前記処理手段は、面付け対象ページ群のデータから前記境界情報に基づいて検出されたページを、どのページのものかという情報に基づいて1物理ページの予め定められた位置に描画することを特徴とする画像形成装置。 receiving means for receiving, from the information processing apparatus, a second document file in which boundary information for identifying a boundary of data of each page of the imposition target page group is arranged between page data;
processing means for starting drawing of pages detected based on the boundary information from the beginning of the second document file received by the receiving means in order of detection;
In the second document file, the data of the imposition target page group are arranged in an order based on a predetermined standard,
The processing means starts drawing the pages detected from the data of the imposition target page group based on the boundary information in the order of detection;
The second document file has information indicating which page the data of each page belongs to on the head side of the data of each page,
The processing means draws the page detected from the data of the imposition target page group based on the boundary information at a predetermined position of one physical page based on information as to which page it belongs to. image forming apparatus.
前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、
前記面付け対象ページ群の各ページを所定の基準でソートするソート手段と、を有し、
前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、
前記ソート手段は、前記面付け対象ページ群の各ページを、データサイズの小さい順にソートする情報処理装置と、
前記第2の文書ファイルを情報処理装置から受信する受信手段と、
前記受信手段が受信した前記第2の文書ファイルの先頭から前記境界情報に基づいて検出されたページの描画を、検出された順に開始する処理手段と、
を有する画像形成装置と、を有することを特徴とする印刷システム。 generating means for generating, from the first document file, a second document file in which boundary information for identifying boundaries of data of each page of the imposition target page group is arranged between data of the pages;
a transmission unit configured to transmit the second document file generated by the generation unit to an image forming apparatus;
sorting means for sorting each page of the imposition target page group according to a predetermined criterion;
The generation means generates the second document file in which the data of the imposition target page group are arranged in the order of the predetermined reference and the boundary information is arranged between the data,
The sorting means is an information processing device that sorts the pages of the imposition target page group in ascending order of data size ;
receiving means for receiving the second document file from an information processing device;
processing means for starting drawing of pages detected based on the boundary information from the beginning of the second document file received by the receiving means in order of detection;
and an image forming apparatus having a printing system.
前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、
前記面付け対象ページ群の各ページを所定の基準でソートするソート手段と、を有し、
前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、
前記ソート手段は、前記面付け対象ページ群の各ページをデータサイズの小さい順にソートして、最もデータサイズが小さいページのデータを前記面付け対象ページ群における先頭に配置し、
前記面付け対象ページ群の各ページに共通のデータが隣接するように前記面付け対象ページ群の残りのページのデータを配置する情報処理装置と、
前記第2の文書ファイルを情報処理装置から受信する受信手段と、
前記受信手段が受信した前記第2の文書ファイルの先頭から前記境界情報に基づいて検出されたページの描画を、検出された順に開始する処理手段と、
を有する画像形成装置と、を有することを特徴とする印刷システム。 generating means for generating, from the first document file, a second document file in which boundary information for identifying boundaries of data of each page of the imposition target page group is arranged between data of the pages;
a transmission unit configured to transmit the second document file generated by the generation unit to an image forming apparatus;
sorting means for sorting each page of the imposition target page group according to a predetermined criterion;
The generation means generates the second document file in which the data of the imposition target page group are arranged in the order of the predetermined reference and the boundary information is arranged between the data,
The sorting means sorts the pages of the imposition target page group in ascending order of data size, and arranges the data of the page with the smallest data size at the top of the imposition target page group;
an information processing device that arranges data of the remaining pages of the imposition target page group such that common data is adjacent to each page of the imposition target page group ;
receiving means for receiving the second document file from an information processing device;
processing means for starting drawing of pages detected based on the boundary information from the beginning of the second document file received by the receiving means in order of detection;
and an image forming apparatus having a printing system.
面付け対象ページ群の各ページのデータの境界を識別するための境界情報がページのデータの間に配置された第2の文書ファイルを第1の文書ファイルから生成する生成手段と、
前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、
前記面付け対象ページ群の各ページを所定の基準でソートするソート手段、として機能させ、
前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、
前記ソート手段は、前記面付け対象ページ群の各ページを、データサイズの小さい順にソートすることを特徴とするプログラム。 information processing equipment,
generating means for generating, from the first document file, a second document file in which boundary information for identifying boundaries of data of each page of the imposition target page group is arranged between data of the pages;
a transmission unit configured to transmit the second document file generated by the generation unit to an image forming apparatus;
functioning as sorting means for sorting each page of the imposition target page group according to a predetermined criterion ;
The generation means generates the second document file in which the data of the imposition target page group are arranged in the order of the predetermined reference and the boundary information is arranged between the data,
A program, wherein the sorting means sorts the pages of the imposition target page group in ascending order of data size .
面付け対象ページ群の各ページのデータの境界を識別するための境界情報がページのデータの間に配置された第2の文書ファイルを第1の文書ファイルから生成する生成手段と、
前記生成手段によって生成された前記第2の文書ファイルを画像形成装置へ送信する送信手段と、
前記面付け対象ページ群の各ページを所定の基準でソートするソート手段、として機能させ、
前記生成手段は、前記面付け対象ページ群のデータを前記所定の基準の順番で配置し、前記境界情報をデータとデータの間に配置した前記第2の文書ファイルを生成し、
前記ソート手段は、前記面付け対象ページ群の各ページをデータサイズの小さい順にソートして、最もデータサイズが小さいページのデータを前記面付け対象ページ群における先頭に配置し、
前記面付け対象ページ群の各ページに共通のデータが隣接するように前記面付け対象ページ群の残りのページのデータを配置することを特徴とするプログラム。 information processing equipment,
generating means for generating, from the first document file, a second document file in which boundary information for identifying boundaries of data of each page of the imposition target page group is arranged between data of the pages;
a transmission unit configured to transmit the second document file generated by the generation unit to an image forming apparatus;
functioning as sorting means for sorting each page of the imposition target page group according to a predetermined criterion ;
The generation means generates the second document file in which the data of the imposition target page group are arranged in the order of the predetermined reference and the boundary information is arranged between the data,
The sorting means sorts the pages of the imposition target page group in ascending order of data size, and arranges the data of the page with the smallest data size at the top of the imposition target page group;
A program for arranging data of remaining pages of the imposition target page group such that common data is adjacent to each page of the imposition target page group .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018170601A JP7143695B2 (en) | 2018-09-12 | 2018-09-12 | Information processing device, image forming device, printing system, program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018170601A JP7143695B2 (en) | 2018-09-12 | 2018-09-12 | Information processing device, image forming device, printing system, program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020042630A JP2020042630A (en) | 2020-03-19 |
JP7143695B2 true JP7143695B2 (en) | 2022-09-29 |
Family
ID=69798453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018170601A Active JP7143695B2 (en) | 2018-09-12 | 2018-09-12 | Information processing device, image forming device, printing system, program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7143695B2 (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004287763A (en) | 2003-03-20 | 2004-10-14 | Konica Minolta Business Technologies Inc | Image processor, image forming device, image forming system, and program |
JP2004348622A (en) | 2003-05-26 | 2004-12-09 | Kyocera Mita Corp | Electronic document printing system |
JP2007060505A (en) | 2005-08-26 | 2007-03-08 | Fuji Xerox Co Ltd | Image reading device, image processing method, image formation apparatus, image processing system and its printing time shortening method |
JP2008262543A (en) | 2007-03-01 | 2008-10-30 | Konica Minolta Systems Lab Inc | Discontinuous transfer of pdf data for pdf direct printing |
JP2008262546A (en) | 2007-03-23 | 2008-10-30 | Konica Minolta Systems Lab Inc | Pdf direct printing method utilizing page printing order information for efficient handling of data |
JP2009237695A (en) | 2008-03-26 | 2009-10-15 | Fuji Xerox Co Ltd | Information processor, image forming apparatus, and program |
JP2012058795A (en) | 2010-09-06 | 2012-03-22 | Canon Inc | Information processor, document image processor, electronic document processing method, and program |
JP2012113356A (en) | 2010-11-19 | 2012-06-14 | Canon Inc | Printing control device, printing control method, and computer program |
JP2015026134A (en) | 2013-07-24 | 2015-02-05 | 株式会社リコー | Information processing terminal, control program of information processing terminal, control method of information processing terminal, and image processing system |
JP2016112822A (en) | 2014-12-17 | 2016-06-23 | コニカミノルタ株式会社 | Imposition control program, image processor, and imposition control method |
JP2018094750A (en) | 2016-12-09 | 2018-06-21 | コニカミノルタ株式会社 | Image formation apparatus, image formation system, program and image formation control apparatus |
JP2018124869A (en) | 2017-02-02 | 2018-08-09 | キヤノン株式会社 | Image processing device, image processing method, and program |
-
2018
- 2018-09-12 JP JP2018170601A patent/JP7143695B2/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004287763A (en) | 2003-03-20 | 2004-10-14 | Konica Minolta Business Technologies Inc | Image processor, image forming device, image forming system, and program |
JP2004348622A (en) | 2003-05-26 | 2004-12-09 | Kyocera Mita Corp | Electronic document printing system |
JP2007060505A (en) | 2005-08-26 | 2007-03-08 | Fuji Xerox Co Ltd | Image reading device, image processing method, image formation apparatus, image processing system and its printing time shortening method |
JP2008262543A (en) | 2007-03-01 | 2008-10-30 | Konica Minolta Systems Lab Inc | Discontinuous transfer of pdf data for pdf direct printing |
JP2008262546A (en) | 2007-03-23 | 2008-10-30 | Konica Minolta Systems Lab Inc | Pdf direct printing method utilizing page printing order information for efficient handling of data |
JP2009237695A (en) | 2008-03-26 | 2009-10-15 | Fuji Xerox Co Ltd | Information processor, image forming apparatus, and program |
JP2012058795A (en) | 2010-09-06 | 2012-03-22 | Canon Inc | Information processor, document image processor, electronic document processing method, and program |
JP2012113356A (en) | 2010-11-19 | 2012-06-14 | Canon Inc | Printing control device, printing control method, and computer program |
JP2015026134A (en) | 2013-07-24 | 2015-02-05 | 株式会社リコー | Information processing terminal, control program of information processing terminal, control method of information processing terminal, and image processing system |
JP2016112822A (en) | 2014-12-17 | 2016-06-23 | コニカミノルタ株式会社 | Imposition control program, image processor, and imposition control method |
JP2018094750A (en) | 2016-12-09 | 2018-06-21 | コニカミノルタ株式会社 | Image formation apparatus, image formation system, program and image formation control apparatus |
JP2018124869A (en) | 2017-02-02 | 2018-08-09 | キヤノン株式会社 | Image processing device, image processing method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP2020042630A (en) | 2020-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8244065B2 (en) | Information processing apparatus including print job retrieval function, information processing method, program, and recording medium | |
US8599431B2 (en) | Print-data processing apparatus and print-data processing method | |
US10884680B2 (en) | Print control apparatus and control method for receiving and printing print data | |
US8064084B2 (en) | Distributed processing of print jobs | |
US8823964B2 (en) | Control device for causing a print execution unit to execute printing | |
US11003399B2 (en) | Method, apparatus and non-transitory recording medium for reducing a printing time utilizing file division | |
JP6575074B2 (en) | Information processing apparatus, information processing method, and program | |
US9507544B2 (en) | Information processing apparatus, recording medium, and control method to process print data using filters | |
US9830541B2 (en) | Image output system, image output method, document server, and non-transitory computer readable recording medium | |
US9639304B2 (en) | Data supplying device and image processing system | |
JP4543945B2 (en) | Printing system, control method therefor, and print management program | |
US10521161B2 (en) | Information processing device, communication system, and recording medium storing instructions | |
US8665460B2 (en) | Print system, printing apparatus, printing method and printing program | |
JP7143695B2 (en) | Information processing device, image forming device, printing system, program | |
US9030702B2 (en) | Client apparatus, printing system, and display method for converting printing formats, generating preview images, and displaying preview images | |
JP7172150B2 (en) | Information processing device, communication system, image forming method, program | |
US10185903B2 (en) | Image forming output control device and non-transitory recording medium storing program | |
JP5244770B2 (en) | Image forming apparatus | |
US10719276B2 (en) | System for printing a document using a PDF converter based on a complex page | |
JP7091748B2 (en) | Information processing equipment, image forming equipment, information processing systems and programs | |
JP5577759B2 (en) | Information processing apparatus, print control method, print control program, and recording medium | |
JP7091914B2 (en) | Image forming device, image forming system, communication system, program | |
US10656881B1 (en) | System for printing a document using a PDF converter based on page size value | |
JP2015011488A (en) | Print data management system, information processing device, print data acquisition program, and method | |
JP2011028363A (en) | Printing system and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210712 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220531 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220531 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220725 |
|
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: 20220816 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220829 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7143695 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |