JP2008035482A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2008035482A
JP2008035482A JP2007134544A JP2007134544A JP2008035482A JP 2008035482 A JP2008035482 A JP 2008035482A JP 2007134544 A JP2007134544 A JP 2007134544A JP 2007134544 A JP2007134544 A JP 2007134544A JP 2008035482 A JP2008035482 A JP 2008035482A
Authority
JP
Japan
Prior art keywords
width
margin
area
printing
aggregate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007134544A
Other languages
Japanese (ja)
Other versions
JP4841500B2 (en
Inventor
Yangyi Xu
泱一 徐
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007134544A priority Critical patent/JP4841500B2/en
Publication of JP2008035482A publication Critical patent/JP2008035482A/en
Application granted granted Critical
Publication of JP4841500B2 publication Critical patent/JP4841500B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To arbitrarily set the width of a margin between pages to be assembled and the width of a partition line when performing assembled-printing where a plurality of pages are printed on one sheet of paper. <P>SOLUTION: An image processing apparatus 1 generates printing data based on input manuscript data and prints the printing data. According to the image processing apparatus, when assemble-printing is directed wherein two or more pages of manuscript data are to be assembled onto one sheet of printing paper, a magnification ratio to be applied to an assemble-printing domain for printing one page of the manuscript is acquired based on the number of pages to be assemble-printed onto one sheet, the width of a margin, the width of a partition line, and the size of a printable domain of the paper, and the printing data are generated according to the magnification ratio. The margin includes an outer margin that is the distance to an edge of the printable domain, and an inner margin that is the distance between pages to be assembled. Each of the outer and inner margins is arbitrarily specified as desired using a console panel 3. The margin between pages to be assemble-printed can be adjusted to the optimum width, thereby easily reading the assemble-printed text. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、画像処理装置に関し、特に、集約印刷をする際に、集約された各ページ間の余白の幅と仕切り線を任意に設定できる画像処理装置に関する。   The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus capable of arbitrarily setting margin widths and partition lines between aggregated pages when performing aggregate printing.

資料印刷をする際に、用途に応じて仕切り線を設定したり、ページサイズを拡大縮小したり、複数ページを1ページ内に印刷したり、ページ方向を混在して印刷したりすることがある。図12に示すように、印刷用紙にページを隙間なく配置して集約印刷を行うものがあるし、図13に示すように、ページ間に余白を取って印刷するものもある。以下に、これに関連する従来技術の例をいくつかあげる。   When printing a document, you may set a dividing line according to the application, enlarge / reduce the page size, print multiple pages within one page, or print with mixed page orientations. . As shown in FIG. 12, some print pages are arranged with no gaps between them to perform collective printing, and as shown in FIG. 13, some print with margins between pages. Below are some examples of prior art related to this.

特許文献1に開示された「画像形成装置」は、原稿の一部に印刷対象画像がある原稿において、その印刷対象画像を自動で認識し、印刷用紙に無駄なく配置して集約印刷を行う装置である。印刷用紙情報を取得し、原稿を読み取る。原稿から読み取った画像を認識し、その中から印刷対象領域を認識する。印刷対象領域の領域データとサイズを保存する。残りの原稿が無ければ、各印刷対象画像について、印刷用紙中における描画位置を決定する。印刷用紙に、各印刷対象画像を集約して描画する。残りの画像領域が無ければ印刷する。   An “image forming apparatus” disclosed in Patent Document 1 is an apparatus that automatically recognizes a print target image in a document having a print target image as a part of the document and arranges it on a print sheet without waste. It is. Acquires printing paper information and reads a document. An image read from an original is recognized, and a print target area is recognized from the image. Save the area data and size of the print target area. If there is no remaining document, the drawing position in the printing paper is determined for each print target image. The images to be printed are collected and drawn on the printing paper. If there is no remaining image area, print.

特許文献2に開示された「画像形成装置」は、印刷開始または印刷実行中の画像形成ジョブに対する認証が完了するまでの間のミスコピーの増加を防止するものである。印刷実行中の画像形成ジョブに対して一時停止操作を行った際に、給紙動作を中断し、操作者の認証を要求させるための認証画面を操作部上に表示する。更に、操作者の無操作時間を計測するためのタイマーの計測を開始し、無操作状態の時間が所定秒数経過した場合は、コピー動作を再開する。ユーザーは、仕切り線の線種(破線または実線)を選択して設定できるが、その線の太さは調節できない。   The “image forming apparatus” disclosed in Patent Document 2 prevents an increase in miscopy until authentication for an image forming job that is in the process of starting printing or being executed is completed. When a pause operation is performed on an image forming job during printing, the paper feeding operation is interrupted and an authentication screen for requesting authentication of the operator is displayed on the operation unit. Furthermore, the timer for measuring the non-operation time of the operator is started, and when the non-operation state has elapsed for a predetermined number of seconds, the copying operation is resumed. The user can select and set the line type (broken line or solid line) of the partition line, but cannot adjust the thickness of the line.

特許文献3に開示された「画像形成装置」は、複数の原稿から得た画像データを、一枚の出力用紙に印刷する集約印刷のための画像形成装置である。サイズの異なる複数の原稿を、余白を付した一枚の出力用紙に適正な大きさに変換して集約印刷する。出力用紙に余白領域を形成する。余白領域の生成は任意である。出力用紙上の余白領域を除いた原稿描写領域内に、複数の原稿が全て収まるように、原稿の大きさを変える。原稿描写領域の一隅を基準にして、空白が最小限になるように複数の原稿を配置する。
特開2004-104324号公報 特開2005-161677号公報 特開2006-042301号公報
The “image forming apparatus” disclosed in Patent Document 3 is an image forming apparatus for collective printing in which image data obtained from a plurality of originals is printed on one output sheet. A plurality of originals of different sizes are converted into an appropriate size on a single output sheet with margins, and are collectively printed. A margin area is formed on the output sheet. The generation of the margin area is arbitrary. The size of the original is changed so that a plurality of originals are all contained in the original drawing area excluding the margin area on the output paper. A plurality of originals are arranged so that the blank space is minimized with respect to one corner of the original drawing area.
JP 2004-104324 A JP 2005-161677 A JP 2006-042301 A

しかし、従来の集約印刷方法では、次のような問題がある。集約印刷を行う原稿データがテキストのみであったり、集約ページの境界部分に文字が集まっていたりすると、余白がないと読みづらくなる。余白があっても、余白の幅が選択できないと、最適なサイズで集約印刷を行うことができない。また、仕切り線の太さが調節できないと、読みやすい最適なレイアウトを実現できない。   However, the conventional integrated printing method has the following problems. If the document data to be consolidated is text only, or if characters are gathered at the boundary of the consolidated page, it will be difficult to read without margins. Even if there is a margin, if the margin width cannot be selected, aggregate printing cannot be performed at an optimum size. Moreover, if the thickness of the partition line cannot be adjusted, an optimal layout that is easy to read cannot be realized.

本発明の目的は、上記従来の問題を解決して、集約印刷を行う際に、集約された各ページ間の余白の幅と仕切り線の太さを指定できるようにして、ユーザーの要求するレイアウトで、読みやすい最適なサイズで集約印刷ができるようにすることである。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned conventional problems, and when performing aggregate printing, a layout requested by a user by enabling specification of a margin width and a partition line thickness between aggregated pages. Therefore, it is possible to perform aggregate printing with an optimal size that is easy to read.

上記の課題を解決するために、本発明では、入力された原稿データに基づいて印刷データを作成する描画処理手段と、印刷データを印刷用紙に印刷する出力手段とを備えた画像処理装置に、複数ページ分の原稿データを1枚の印刷用紙に印刷する集約印刷を指示する手段と、集約印刷における各余白領域の幅を設定する余白設定手段と仕切り線設定手段とを備え、描画処理手段に、集約印刷処理が指示されたことに応じて、1枚の印刷用紙に集約するページ数と、各余白領域の幅と、仕切り線の太さと、印刷可能領域のサイズとに基づいて、1ページ分の原稿データを印刷する集約領域の印刷可能領域に対する倍率を求める倍率計算手段と、求めた倍率に従って画像データを作成する手段とを備える構成とした。   In order to solve the above problems, in the present invention, an image processing apparatus including a drawing processing unit that creates print data based on input document data and an output unit that prints the print data on printing paper. The drawing processing means includes means for instructing integrated printing for printing document data for a plurality of pages on a single printing sheet, margin setting means for setting the width of each margin area in the aggregate printing, and partition line setting means. In response to the instruction of the aggregate printing process, one page is obtained based on the number of pages to be aggregated on one print sheet, the width of each margin area, the thickness of the dividing line, and the size of the printable area. The image forming apparatus includes a magnification calculating unit that obtains a magnification of a printable area of the aggregated area for printing original document data for a certain amount, and a unit that creates image data according to the obtained magnification.

また、余白設定手段に、集約領域の縁から印刷可能領域の縁までの間の余白領域の幅である縁余白幅を設定する手段と、集約領域間の余白領域の幅である間余白幅を設定する手段とを備える。倍率計算手段に、設定された余白領域の幅が所定範囲外の場合に余白領域の幅の既定値を用いて倍率を求める手段を備える。余白設定手段に、縁余白幅と間余白幅を、長さを示す数値で設定する手段、または、所定の基準値をもとにした比率で設定する手段を備える。   Further, the margin setting means includes means for setting an edge margin width that is the width of the margin area between the edge of the aggregated area and the edge of the printable area, and a margin width that is the width of the margin area between the aggregated areas. Means for setting. The magnification calculating means includes means for obtaining a magnification using a predetermined value of the width of the margin area when the width of the set margin area is outside the predetermined range. The margin setting means includes means for setting the marginal margin width and the marginal margin width with numerical values indicating the length, or means for setting with a ratio based on a predetermined reference value.

さらに、集約印刷における各余白領域に挿入される仕切り線の幅を設定する仕切り線設定手段を備え、倍率計算手段に、各余白領域の幅と仕切り線幅との関係に基づいて集約領域の印刷可能領域に対する倍率を求める手段を備える。仕切り線設定手段は、複数の仕切り線の幅を個別に設定する手段を備える。倍率計算手段に、間余白幅より仕切り線幅が広い場合には間余白幅を仕切り線幅として集約領域の印刷可能領域に対する倍率を計算する手段を備える。   Further, the image forming apparatus includes a partition line setting unit that sets a width of a partition line inserted in each margin area in the aggregate printing, and the magnification calculation unit prints the aggregate area based on a relationship between the width of each margin area and the partition line width. Means for obtaining a magnification for the possible area The partition line setting means includes means for individually setting the widths of the plurality of partition lines. The magnification calculation means includes means for calculating a magnification for the printable area of the aggregated area using the space width as the partition line width when the partition line width is wider than the space width.

上記のように構成したことにより、仕切り線幅と集約印刷のページ間の余白に関する設定が両方ある場合でも、仕切り線と余白を最適な幅に調整できるので、集約印刷されたテキストが読みやすくなる。   With the above configuration, even if there are both settings related to the width of the divider line and the margin between pages for aggregate printing, the divider line and margin can be adjusted to the optimum width, making it easier to read the aggregated text. .

以下、本発明を実施するための最良の形態について、図1〜図11を参照しながら詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to FIGS.

本発明の実施例1は、仕切り線の設定なしの場合、集約印刷のページ間の余白幅を任意に設定できるようにし、1枚に集約印刷するページ数と余白幅と印刷可能サイズとに基づいて、印刷可能領域に対する集約印刷する原稿1ページ分の領域の倍率を求め、求めた倍率に従って印刷データを作成する画像処理装置である。   In the first embodiment of the present invention, when no partition line is set, the margin width between pages for aggregate printing can be arbitrarily set. Based on the number of pages to be aggregate-printed on one sheet, the margin width, and the printable size. Thus, an image processing apparatus that obtains the magnification of an area for one page of documents to be collectively printed with respect to the printable area and creates print data according to the obtained magnification.

図1は、本発明の実施例1における画像処理装置の構成図である。図1において、画像処理装置1は、入力された原稿データに基づいて印刷データを作成して印刷する装置である。画像処理装置1は、操作パネル3と、ホストI/F装置4と、インタプリタ5と、描画エンジン6の4部分から構成される。操作パネル3は、機器本体の設定状態を表示し、ユーザーからの入力を受け付ける手段である。ホストI/F装置4は、ホスト計算機から原稿データを受け付ける手段である。インタプリタ5は、コマンドに従って原稿データから印刷データを作成する手段である。描画エンジン6は、印刷データを印刷用紙に印刷する手段である。   FIG. 1 is a configuration diagram of an image processing apparatus according to Embodiment 1 of the present invention. In FIG. 1, an image processing apparatus 1 is an apparatus that creates and prints print data based on input original data. The image processing apparatus 1 includes four parts: an operation panel 3, a host I / F device 4, an interpreter 5, and a drawing engine 6. The operation panel 3 is means for displaying the setting state of the device main body and receiving input from the user. The host I / F device 4 is means for receiving document data from the host computer. The interpreter 5 is means for creating print data from document data in accordance with a command. The drawing engine 6 is means for printing the print data on a printing paper.

インタプリタ5は、PDLデバイス制御コマンド処理部51と、PDL描画処理制御コマンド処理部52と、描画処理・デバイス制御部53から構成されている。PDLデバイス制御コマンド処理部51は、デバイス制御コマンドの解析と実行処理を行う手段である。PDL描画処理制御コマンド処理部52は、描画処理コマンドの解析と実行処理を行う手段である。描画処理・デバイス制御部53は、PDLデータの解析結果に沿って、デバイスの制御や印刷するページイメージの作成を行う手段である。PDL描画処理制御コマンド処理部52は、描画位置決定処理部521などから構成されている。描画位置決定処理部521は、描画位置を決定する手段である。   The interpreter 5 includes a PDL device control command processing unit 51, a PDL drawing processing control command processing unit 52, and a drawing processing / device control unit 53. The PDL device control command processing unit 51 is a means for performing device control command analysis and execution processing. The PDL drawing process control command processing unit 52 is means for analyzing and executing a drawing process command. The drawing processing / device control unit 53 is a means for controlling the device and creating a page image to be printed in accordance with the analysis result of the PDL data. The PDL drawing processing control command processing unit 52 includes a drawing position determination processing unit 521 and the like. The drawing position determination processing unit 521 is means for determining a drawing position.

図2は、描画位置決定処理部の構成図である。図2において、描画位置決定処理部521は、コマンド解析部11と、通常印刷位置選択部12と、集約印刷位置選択部13から構成されている。コマンド解析部11は、PDLコマンド21を解析する手段である。通常印刷位置選択部12は、通常印刷位置を選択する手段である。集約印刷位置選択部13は、集約印刷位置を選択し、倍率を算出する手段である。   FIG. 2 is a configuration diagram of the drawing position determination processing unit. In FIG. 2, the drawing position determination processing unit 521 includes a command analysis unit 11, a normal printing position selection unit 12, and an aggregate printing position selection unit 13. The command analysis unit 11 is means for analyzing the PDL command 21. The normal print position selection unit 12 is means for selecting a normal print position. The aggregate print position selection unit 13 is a means for selecting the aggregate print position and calculating the magnification.

図3は、通常印刷時の流れを表すフローチャートである。図4は、同じサイズのページを集約印刷する際の描画位置決定処理(SN7)の流れ図である。図5は、仕切り線が設定されていない場合の集約領域の決定プロセス(SN77)を説明する図である。図6は、仕切り線が設定されていない場合の集約印刷領域に反映した結果である。   FIG. 3 is a flowchart showing the flow during normal printing. FIG. 4 is a flowchart of the drawing position determination process (SN7) when pages of the same size are collectively printed. FIG. 5 is a diagram for explaining an aggregation region determination process (SN77) when no partition line is set. FIG. 6 shows the result reflected in the aggregate print area when no partition line is set.

上記のように構成された本発明の実施例1における画像処理装置の機能と動作を説明する。最初に、図1を参照しながら、画像処理装置の機能の概要を説明する。ユーザーが集約印刷を行う際に、間余白幅と縁余白幅と仕切り線(仕切り線の太さ、色、線種)を、別々に設定して調整することができる。間余白幅(innermargin)は、1ページ分の原稿データを印刷する領域である集約領域の間の幅である。縁余白幅(outermargin)は、印刷用紙の印刷可能領域の縁と集約領域の縁との間の幅である。仕切り線(borderline)は、各集約領域を仕切るために用意された線である。間余白幅と縁余白幅と仕切り線の太さは、所定の範囲内(例えば1〜72point以内)なら、任意に設定可能である。   The function and operation of the image processing apparatus according to the first embodiment of the present invention configured as described above will be described. First, an overview of the functions of the image processing apparatus will be described with reference to FIG. When the user performs collective printing, the margin width, the margin width, and the partition line (partition line thickness, color, line type) can be set and adjusted separately. The margin width (innermargin) is a width between aggregated areas that are areas for printing one page of document data. The margin margin width (outermargin) is the width between the edge of the printable area of the printing paper and the edge of the aggregation area. A borderline is a line prepared for partitioning each aggregated area. The margin width, the margin width, and the thickness of the partition line can be arbitrarily set within a predetermined range (for example, within 1 to 72 points).

操作パネル3は、機器本体の設定を表示や、ユーザーからの入力を受け付け、機器本体の設定を変更する。ホストI/F装置4は、ホスト計算機から印刷データを受け付ける。PDLデバイス制御コマンド処理部51は、デバイス制御コマンドの解析と実行処理を行う。PDL描画処理制御コマンド処理部52は、描画処理コマンドの解析と実行処理を行う。描画処理・デバイス制御部53は、PDLデータの解析結果に沿って、デバイスの制御や印刷するページイメージの作成を行う。描画エンジンは6、インタプリタ5から渡されたページイメージを印刷する。PDL(印刷記述言語)のファイルフォーマットとしては、PDFやRTIFFやPictBridgeなどがある。各実施例ではPDFを想定して説明するが、解釈時に用紙サイズが分かる形式のデータなら、他のフォーマットのデータでもよい。   The operation panel 3 displays the settings of the device main body and accepts input from the user, and changes the settings of the device main body. The host I / F device 4 receives print data from the host computer. The PDL device control command processing unit 51 performs device control command analysis and execution processing. The PDL drawing processing control command processing unit 52 performs drawing processing command analysis and execution processing. The drawing processing / device control unit 53 controls the device and creates a page image to be printed in accordance with the analysis result of the PDL data. The drawing engine 6 prints the page image passed from the interpreter 5. PDL (Print Description Language) file formats include PDF, RTIFF, and PictBridge. In each embodiment, explanation will be made assuming PDF, but data in other formats may be used as long as the paper size can be understood at the time of interpretation.

次に、図2を参照しながら、描画位置決定処理部の動作を説明する。コマンド解析部11は、印刷位置に関連するPDLコマンド21を、PDL描画処理制御コマンド処理部52から受信する。通常印刷位置選択部12は、コマンド解析部11から、通常印刷領域情報・用紙情報22を受信し、受信した情報から通常印刷位置を選択し、選択した通常印刷領域24を、描画処理・デバイス制御部53に通知する。集約印刷位置選択部13は、コマンド解析部11から、集約印刷領域情報・用紙情報23を受信し、受信した情報から集約印刷位置を選択し、選択した集約印刷領域25から倍率26を算出し、集約印刷領域25と倍率26を、描画処理・デバイス制御部53に通知する。   Next, the operation of the drawing position determination processing unit will be described with reference to FIG. The command analysis unit 11 receives the PDL command 21 related to the print position from the PDL drawing processing control command processing unit 52. The normal print position selection unit 12 receives the normal print area information / paper information 22 from the command analysis unit 11, selects the normal print position from the received information, and draws the selected normal print area 24 with drawing processing / device control. Notify unit 53. The aggregate print position selection unit 13 receives the aggregate print area information / paper information 23 from the command analysis unit 11, selects the aggregate print position from the received information, calculates the magnification 26 from the selected aggregate print area 25, The integrated print area 25 and the magnification 26 are notified to the drawing processing / device control unit 53.

次に、図3(a)を参照しながら、通常印刷時の流れを説明する。ステップSO1で、PDLコマンドの中から、印刷対象用紙の情報を取得する。ステップSO2で、PDLコマンドを解釈して、原稿の内容を読み取る。ステップSO3で、原稿から読み取った画像を認識する。ステップSO4で、PDLコマンドの中から、印刷用紙の印刷可能な領域の情報を取得する。ステップSO5で、ステップSO4において取得された印刷可能な領域のデータとサイズを認識する。ステップSO6で、ステップSO5において認識された領域のデータとサイズを保存する。ステップSO7で、印刷用紙に各印刷画像を描画する位置を決定する。ステップSO8で、描画を行う。ステップSO9で、印刷する。   Next, the flow during normal printing will be described with reference to FIG. In step SO1, information on the print target paper is acquired from the PDL command. In step SO2, the PDL command is interpreted and the content of the original is read. In step SO3, the image read from the document is recognized. In step SO4, information on the printable area of the printing paper is acquired from the PDL command. In step SO5, the data and size of the printable area acquired in step SO4 are recognized. In step SO6, the data and size of the area recognized in step SO5 are stored. In step SO7, the position for drawing each print image on the printing paper is determined. In step SO8, drawing is performed. Printing is performed at step SO9.

次に、図3(b)を参照しながら、集約印刷時の動作を説明する。PDLコマンドの中で、複数ページ分の原稿データから一枚の用紙に相当する印刷データを作成する集約印刷に関するコマンドがあれば、以下の手順で処理される。ステップSN1で、PDLコマンドの中から印刷用紙の情報を取得する。ステップSN2で、PDLコマンドを解釈して、原稿の内容を読み取る。ステップSN3で、原稿から読み取った画像を認識する。ステップSN4で、PDLコマンドの中から印刷用紙の印刷可能な領域の情報を取得する。ステップSN5で、ステップSN4
において取得された印刷可能な領域のデータとサイズを認識する。ステップSN6で、ステップSN5において認識された領域のデータとサイズを保存する。ステップSN7で、集約印刷するための領域を決定する。ステップSN8で、集約印刷領域から、原稿データを印刷データに変換する際の倍率(拡大・縮小率)を計算する。ステップSN9で、倍率を用いて、各印刷画像の描画位置を決定する。ステップSN10で、描画を行う。ステップSN11で、印刷する。
Next, the operation during collective printing will be described with reference to FIG. In the PDL command, if there is a command related to aggregate printing for creating print data corresponding to one sheet from a plurality of pages of document data, it is processed in the following procedure. In step SN1, print sheet information is acquired from the PDL command. In step SN2, the PDL command is interpreted and the content of the original is read. In step SN3, an image read from the document is recognized. In step SN4, information on the printable area of the printing paper is acquired from the PDL command. At step SN5, step SN4
The data and size of the printable area acquired in step 1 are recognized. In step SN6, the data and size of the area recognized in step SN5 are stored. In step SN7, an area for collective printing is determined. In step SN8, the magnification (enlargement / reduction ratio) for converting the document data into the print data is calculated from the aggregate print area. In step SN9, the drawing position of each print image is determined using the magnification. In step SN10, drawing is performed. In step SN11, printing is performed.

次に、図4を参照しながら、同じサイズのページを集約印刷する際の描画位置決定処理(SN7)の手順を説明する。ステップSN71で、PDLコマンドの中に含まれている印刷領域の幅(wp)を取得し、印刷領域の高さ(hp)を取得する。ステップSN72で、PDLコマンドの中に、各集約ページ間の余白領域の設定があるかどうかを判断する。余白領域の設定がある場合、ステップSN73で、余白領域の設定値が設定可能範囲内にあるかどうかを調べる。余白領域の設定がない場合、もしくは設定値が設定可能範囲外の場合、ステップSN74で、既定値の余白幅を使用する。既定値としては、例えば50pointとする。   Next, the procedure of the drawing position determination process (SN7) when the same size pages are collectively printed will be described with reference to FIG. In step SN71, the width (wp) of the print area included in the PDL command is acquired, and the height (hp) of the print area is acquired. In step SN72, it is determined whether or not a margin area between each aggregated page is set in the PDL command. If there is a margin area setting, it is checked in step SN73 if the margin area setting value is within the settable range. If the margin area is not set or if the set value is outside the settable range, the default margin width is used in step SN74. The default value is 50 points, for example.

ステップSN75で、余白領域の設定があり、かつ設定値が設定可能範囲内の場合、設定値を保存する。ステップSN76で、仕切り線に関する設定情報を保存する。ステップSN761で、仕切り線の設定があるかどうか調べる。実施例1では仕切り線の設定がないため、ステップSN77に進む。余白領域の幅と印刷領域のサイズから、集約領域の幅(wnup)と高さ(hnup)を決定する。ステップSN78で、画像の幅(wa)と高さ(ha)を取得する。ステップSN79で、集約領域と画像の幅・高さから、画像の倍率を求める。ステップSN80で、wa<wnupかつha<hnupになるように、画像の配置を調整する。ステップSN81で、印刷位置を決定する。   In step SN75, if the margin area is set and the set value is within the settable range, the set value is saved. In step SN76, setting information relating to the partition line is stored. In step SN761, it is checked whether a partition line is set. In the first embodiment, since no partition line is set, the process proceeds to step SN77. The width (wnup) and height (hnup) of the aggregate area are determined from the width of the margin area and the size of the print area. In step SN78, the width (wa) and height (ha) of the image are acquired. In step SN79, the magnification of the image is obtained from the aggregate area and the width / height of the image. In step SN80, the image arrangement is adjusted so that wa <wnup and ha <hnup. In step SN81, the printing position is determined.

次に、図5を参照しながら、仕切り線が設定されていない場合の集約領域の決定プロセス(SN77)を説明する。例として、4ページを1ページに集約する際の集約領域の計算方法を説明する。式(1)は、各集約領域の幅を計算する式である。
集約領域幅(wnup)
=(印刷領域幅(wp)−(2×縁余白幅+間余白幅))/2・・・(1)
式(2)は、各集約領域の高さを計算する式である。
集約領域高(hnup)
=(印刷領域高(hp)−(2×縁余白幅+間余白幅))/2・・・(2)
式(1)と式(2)の間余白幅と縁余白幅を変更することによって、各集約領域の幅と高さが変わる。
Next, an aggregation region determination process (SN77) when no partition line is set will be described with reference to FIG. As an example, a method for calculating an aggregation area when four pages are aggregated into one page will be described. Expression (1) is an expression for calculating the width of each aggregated area.
Aggregation area width (wnup)
= (Print area width (wp)-(2 × edge margin width + intermediate margin width)) / 2 (1)
Expression (2) is an expression for calculating the height of each aggregated area.
Aggregate area height (hnup)
= (Print area height (hp)-(2 × Border margin width + Blank margin width)) / 2 (2)
By changing the margin width and the margin margin width between the expressions (1) and (2), the width and height of each aggregated area are changed.

以下の条件における集約印刷領域の例を示す。
印刷領域幅(wp)=1550(point)
集約領域高(hp)=2450(point)
間余白幅=60(point)
縁余白幅=40(point)
pointは、活字の大きさを表す単位である。
1(point)=1/72(inch)=25.4/72(mm)≒0.35(mm)
集約領域幅(wnup)=(1550−(2×40+60))/2=705(point)
集約領域高(hnup)=(2450−(2×40+60))/2=1155(point)
An example of the aggregate print area under the following conditions is shown.
Print area width (wp) = 1550 (point)
Aggregate area height (hp) = 2450 (point)
Margin width = 60 (point)
Border margin width = 40 (point)
“point” is a unit representing the size of a type.
1 (point) = 1/72 (inch) = 25.4 / 72 (mm) ≒ 0.35 (mm)
Aggregation area width (wnup) = (1550-(2 x 40 + 60)) / 2 = 705 (point)
Aggregation area height (hnup) = (2450-(2 x 40 + 60)) / 2 = 1155 (point)

式(3)、(4)、(5)は、集約印刷を行う際の倍率の決定プロセス(SN78)に関する式である。4ページを1ページにまとめて印刷する際の倍率の計算方法である。
scaleX(画像のX方向の倍率)
=集約領域幅(wnup)/画像幅(wa)・・・(3)
scaleY(画像のY方向の倍率)
=集約領域高(hnup)/画像高(ha)・・・(4)
scale(画像の全体倍率)=min(scaleX, scaleY)・・・(5)
式(5)のmin(scaleX, scaleY)とは、両者の中で小さいほうを取ることを意味する。
Expressions (3), (4), and (5) are expressions relating to the magnification determination process (SN78) when performing collective printing. This is a method of calculating a magnification when printing four pages into one page.
scaleX (X magnification of the image)
= Aggregation area width (wnup) / image width (wa) (3)
scaleY (magnification in the Y direction of the image)
= Aggregation area height (hnup) / image height (ha) (4)
scale (overall magnification of the image) = min (scaleX, scaleY) (5)
In formula (5), min (scaleX, scaleY) means taking the smaller of both.

以下の条件における倍率の例を示す。
集約領域幅(wnup)=705(point)
集約領域高(hnup)=1155(point)
画像幅(wa)=1223(point)
画像高(ha)=2225(point)
scaleX(画像のX方向の倍率)=705/1223=0.57
scaleY(画像のY方向の倍率)=1155/2225=0.51
scale(画像の全体倍率)=min(0.57, 0.51)=0.51
The example of the magnification on the following conditions is shown.
Aggregation area width (wnup) = 705 (point)
Aggregate area height (hnup) = 1155 (point)
Image width (wa) = 1223 (point)
Image height (ha) = 2225 (point)
scaleX (magnification in the X direction of the image) = 705/1223 = 0.57
scaleY (magnification in the Y direction of the image) = 1155/2225 = 0.51
scale (total image magnification) = min (0.57, 0.51) = 0.51

4ページを1ページに集約し、間余白幅と縁余白幅を、印刷領域に反映した結果を、図6に示す。画像高が集約領域高に合うように縮小してあるので、集約領域幅は小さくなっている。この差を調整余白として示してある。間余白幅と縁余白幅をpoint単位で設定したが、mm単位で設定してもよい。余白幅の既定値に対する倍率で設定してもよい。間余白幅と縁余白幅を別々に設定したが、区別せずに単に余白幅として設定して同じ値を使うようにしてもよい。4ページに限らず、2ページあるいは6ページなどを1ページに集約する場合も、各式を集約ページ数に応じて変更することにより、同様にできる。   FIG. 6 shows a result of collecting four pages into one page and reflecting the marginal margin width and the marginal margin width in the print area. Since the image height is reduced to match the aggregate area height, the aggregate area width is small. This difference is shown as an adjustment margin. Although the margin width and the margin width are set in point units, they may be set in mm units. You may set by the magnification with respect to the default value of the margin width. Although the margin width and the margin width are set separately, the same value may be used by simply setting the margin width without distinction. Not only four pages but also two pages or six pages are consolidated into one page, the same can be done by changing each formula according to the number of consolidated pages.

上記のように、本発明の実施例1では、仕切り線の設定なしの場合、画像処理装置を、集約印刷のページ間の余白幅を任意に設定できるようにし、1枚に集約印刷するページ数と余白幅と印刷可能サイズとに基づいて、印刷可能領域に対する集約印刷する原稿1ページ分の領域の倍率を求め、求めた倍率に従って印刷データを作成する構成としたので、ページ間の隙間を最適に設定できて読みやすくなる。   As described above, in the first embodiment of the present invention, when there is no setting of the partition line, the image processing apparatus can arbitrarily set the margin width between pages for aggregate printing, and the number of pages to be aggregated and printed on one sheet. And the margin width and the printable size, the magnification of the area for one page of the original to be printed is calculated based on the printable area, and the print data is created according to the calculated magnification. Can be set to be easier to read.

本発明の実施例2は、仕切り線の設定なしの場合、縦方向と横方向の間余白幅と縁余白幅をそれぞれ別々に設定できる画像処理装置である。   The second embodiment of the present invention is an image processing apparatus capable of separately setting a margin width and a margin margin width in the vertical direction and the horizontal direction when no partition line is set.

実施例2における画像処理装置の基本的な構成は、実施例1と同じである。間余白幅と縁余白幅の設定と、それに関連するところが異なる。ユーザーが集約印刷を行う際に、縦方向と横方向の間余白幅と縁余白幅をそれぞれ別々に設定する。4ページを1ページに集約して印刷する場合を例にする。次の値を設定する。
印刷領域幅(wp)=1550(point)
印刷領域高(hp)=2450(point)
縦間余白幅=50(point)
横間余白幅=35(point)
縦縁余白幅=30(point)
横縁余白幅=20(point)
画像幅(wa)=1223(point)
画像高(ha)=2225(point)
The basic configuration of the image processing apparatus according to the second embodiment is the same as that of the first embodiment. The setting of the margin width and the margin width and the related points are different. When the user performs collective printing, the margin width and the margin margin width between the vertical direction and the horizontal direction are set separately. A case where four pages are combined into one page and printed is taken as an example. Set the following values:
Print area width (wp) = 1550 (point)
Print area height (hp) = 2450 (point)
Vertical margin width = 50 (point)
Horizontal margin width = 35 (point)
Vertical margin width = 30 (point)
Horizontal margin width = 20 (point)
Image width (wa) = 1223 (point)
Image height (ha) = 2225 (point)

式(1)と式(2)の値は次のようになる。
集約領域幅(wnup)=(1550−((2×35)+20))/2=730(point)
集約領域高(hnup)=(2450−((2×50)+30))/2=1160(point)
式(3)と式(4)と式(5)を用いて倍率を計算すると次のようになる。
scaleX(画像のX方向の倍率)=730/1223=0.59
scaleY(画像のY方向の倍率)=1160/2225=0.52
scale(画像の全体倍率)=min(0.59, 0.52)=0.52
The values of Equation (1) and Equation (2) are as follows:
Aggregation area width (wnup) = (1550 − ((2 × 35) +20)) / 2 = 730 (point)
Aggregate area height (hnup) = (2450 − ((2 × 50) +30)) / 2 = 1160 (point)
When the magnification is calculated using Equation (3), Equation (4) and Equation (5), it is as follows.
scaleX (magnification in the X direction of the image) = 730/1223 = 0.59
scaleY (magnification in the Y direction of the image) = 1160/2225 = 0.52
scale (total image magnification) = min (0.59, 0.52) = 0.52

図7に、縦方向と横方向の間余白幅と縁余白幅をそれぞれ別々に設定したときの結果を示す。間余白幅と縁余白幅をpoint単位で設定したが、mm単位で設定してもよい。余白幅の既定値に対する倍率で設定してもよい。画像高が集約領域高に合うように縮小してあるので、集約領域幅は小さくなっている。この差を調整余白として示してある。   FIG. 7 shows the results when the margin width and the margin margin width between the vertical direction and the horizontal direction are set separately. Although the margin width and the margin width are set in point units, they may be set in mm units. You may set by the magnification with respect to the default value of the margin width. Since the image height is reduced to match the aggregate area height, the aggregate area width is small. This difference is shown as an adjustment margin.

上記のように、本発明の実施例2では、仕切り線の設定なしの場合、画像処理装置を、縦方向と横方向の間余白幅と縁余白幅をそれぞれ別々に設定できる構成としたので、ページ間の隙間を、最も読みやすい幅にできる。   As described above, in the second embodiment of the present invention, when the partition line is not set, the image processing apparatus is configured so that the margin width and the margin margin width can be set separately in the vertical direction and the horizontal direction. The gap between pages can be set to the most legible width.

本発明の実施例3は、仕切り線の設定なしの場合、間余白幅と縁余白幅の比率に基づいて余白を調節する画像処理装置である。   The third embodiment of the present invention is an image processing apparatus that adjusts the margin based on the ratio between the marginal margin width and the marginal margin width when no partition line is set.

実施例3における画像処理装置の基本的な構成は、実施例1と同じである。間余白幅と縁余白幅の設定と、それに関連するところが異なる。ユーザーが集約印刷を行う際に、間余白幅と縁余白幅の比率を入力する。4ページを1ページに集約して印刷する例で説明する。次の値を設定値とする。
印刷領域幅(wp)=1550(point)
印刷領域高(hp)=2450(point)
画像幅(wa)=1323(point)
画像高(ha)=2225(point)
間余白幅:縁余白幅=3:1
The basic configuration of the image processing apparatus according to the third embodiment is the same as that of the first embodiment. The setting of the margin width and the margin width and the related points are different. When the user performs collective printing, the ratio between the margin width and the margin width is input. An example will be described in which four pages are combined into one page and printed. The following values are set values.
Print area width (wp) = 1550 (point)
Print area height (hp) = 2450 (point)
Image width (wa) = 1323 (point)
Image height (ha) = 2225 (point)
Margin width: Margin width = 3: 1

余白なしの場合を計算すると次のようになる。
集約領域幅(wnup)=1550/2=775(point)
集約領域高(hnup)=2450/2=1225(point)
scaleX(画像のX方向の倍率)=775/1323≒0.58
scaleY(画像のY方向の倍率)=1225/2225≒0.55
scale(画像の全体倍率)=min(0.58, 0.55)=0.55
縦方向の倍率を採用するので、横方向の仮調整余白は次のようになる。
仮調整余白=775−1323×0.55≒47
The calculation without margins is as follows.
Aggregation area width (wnup) = 1550/2 = 775 (point)
Aggregate area height (hnup) = 2450/2 = 1225 (point)
scaleX (magnification in the X direction of the image) = 775/1323 ≒ 0.58
scaleY (magnification in the Y direction of the image) = 1225/2225 ≒ 0.55
scale (total image magnification) = min (0.58, 0.55) = 0.55
Since the magnification in the vertical direction is adopted, the temporary adjustment margin in the horizontal direction is as follows.
Temporary adjustment margin = 775−1323 × 0.55 ≒ 47

仮調整余白を基準として再計算すると、次のようになる。
集約領域幅(wnup)=(1550−235)/2=657.5(point)
集約領域高(hnup)=(2450−235)/2=1107.5(point)
scaleX(画像のX方向の倍率)=520/1323≒0.49
scaleY(画像のY方向の倍率)=1107.5/2225≒0.49
scale(画像の全体倍率)=min(0.49, 0.49)=0.49
仮調整余白を基準として、設定された比率で余白を計算することにより、入力した比率に近い余白となるように調整できる。図8に、間余白幅と縁余白幅をこのように設定したときの結果を示す。仮調整余白が、余白幅の許容範囲を外れていたら、既定値を使う。
Recalculation based on the temporary adjustment margin is as follows.
Aggregation area width (wnup) = (1550−235) /2=657.5 (point)
Aggregate area height (hnup) = (2450−235) / 2 = 1107.5 (point)
scaleX (magnification in the X direction of the image) = 520/1323 ≒ 0.49
scaleY (magnification in the Y direction of the image) = 1107.5 / 2225 ≒ 0.49
scale (total image magnification) = min (0.49, 0.49) = 0.49
By calculating the margin with a set ratio based on the temporary adjustment margin, the margin can be adjusted to be close to the input ratio. FIG. 8 shows the results when the margin width and the margin width are set in this way. If the temporary adjustment margin is outside the margin margin, use the default value.

上記のように、本発明の実施例3では、仕切り線の設定なしの場合、画像処理装置を、間余白幅と縁余白幅の比率に基づいて余白を調節する構成としたので、ページ間の隙間を、最も読みやすい幅にできる。   As described above, in the third embodiment of the present invention, when the partition line is not set, the image processing apparatus is configured to adjust the margin based on the ratio between the marginal margin width and the marginal margin width. The gap can be made the most legible.

本発明の実施例4は、仕切り線の設定ありの場合、仕切り線幅と間余白幅の広い方を優先させ、仕切り線幅が間余白幅より広い場合には、仕切り線幅を間余白幅として集約領域を計算する画像処理装置である。   In the fourth embodiment of the present invention, when the partition line is set, priority is given to the wider partition line width and the margin width. When the partition line width is wider than the margin width, the partition line width is set to the margin width. As an image processing apparatus for calculating an aggregated area.

実施例4における画像処理装置の基本的な構成は、実施例1と同じである。仕切り線幅の設定と、それに関連する処理が異なる。図4は、同じサイズのページを集約印刷する際の描画位置決定処理(SN7)の流れ図である。図9は、本発明の実施例4における画像処理装置で、仕切り線幅より間余白幅が広い場合の集約領域の計算結果を示す図である。図10は、余白領域の幅より広い幅の仕切り線が設定された場合の集約領域の決定プロセス(SN77-SN77)を説明する図である。図11は、仕切り線幅が間余白幅より広い場合に集約領域を再計算した結果を示す図である。   The basic configuration of the image processing apparatus according to the fourth embodiment is the same as that of the first embodiment. The setting of the partition line width is different from the related processing. FIG. 4 is a flowchart of the drawing position determination process (SN7) when pages of the same size are collectively printed. FIG. 9 is a diagram illustrating the calculation result of the aggregated area when the space width is wider than the partition line width in the image processing apparatus according to the fourth embodiment of the present invention. FIG. 10 is a diagram for explaining an aggregation region determination process (SN77 to SN77) when a partition line having a width wider than the width of the margin region is set. FIG. 11 is a diagram illustrating a result of recalculating the aggregated area when the partition line width is wider than the space width.

図4を参照しながら、仕切り線の設定がある場合の集約印刷の処理手順を説明する。仕切り線の設定がある場合、ステップSN762で、その設定値(仕切り線の線種・幅・色)を保存する。ステップSN763で、仕切り線の幅の設定値をデフォルト値と比較する。仕切り線幅がデフォルト値と同じである場合、SN77に進む。仕切り線幅の設定値がデフォルト値と異なる場合、ステップSN764で、仕切り線幅の設定値と間余白幅を比較する。どの仕切り線幅も間余白幅より狭い場合は、SN77に進む。間余白幅より広い仕切り線がある場合、SN765で、縦(横)仕切り線幅より狭い縦(横)間余白幅を、縦(横)仕切り線幅に更新して保存する。ステップSN77で、余白領域の幅と仕切り線幅と印刷領域のサイズから、集約領域の幅(wnup)と高さ(hnup)を決定する。   With reference to FIG. 4, the processing procedure of the collective printing in the case where the partition line is set will be described. If there is a partition line setting, the setting values (line type / width / color of the partition line) are saved in step SN762. In step SN763, the setting value of the partition line width is compared with the default value. If the partition line width is the same as the default value, proceed to SN77. If the setting value of the partition line width is different from the default value, in step SN764, the setting value of the partition line width is compared with the margin width. If any partition line width is narrower than the margin width, proceed to SN77. If there is a partition line wider than the space width, the SN 765 updates the vertical (horizontal) space width narrower than the vertical (horizontal) partition line width to the vertical (horizontal) partition line width and saves it. In step SN77, the width (wnup) and height (hnup) of the aggregate area are determined from the width of the margin area, the partition line width, and the size of the print area.

次に、図9を参照しながら、仕切り線幅が間余白幅より狭い場合の集約領域の計算方法を説明する。ユーザーが集約印刷を行う際に、仕切り線の幅も設定する。縦方向と横方向の間余白幅と縁余白幅をそれぞれ別々に設定する。4ページを1ページに集約して印刷する場合を例にする。次の値を設定する。
印刷領域幅(wp)=1550(point)
印刷領域高(hp)=2450(point)
縦間余白幅=50(point)
横間余白幅=35(point)
縦縁余白幅=30(point)
横縁余白幅=20(point)
仕切り線幅=5(point)
画像幅(wa)=1223(point)
画像高(ha)=2225(point)
Next, with reference to FIG. 9, a method for calculating the aggregate area when the partition line width is narrower than the space width will be described. When the user performs collective printing, the width of the partition line is also set. The margin width and the margin margin width between the vertical direction and the horizontal direction are set separately. A case where four pages are combined into one page and printed is taken as an example. Set the following values:
Print area width (wp) = 1550 (point)
Print area height (hp) = 2450 (point)
Vertical margin width = 50 (point)
Horizontal margin width = 35 (point)
Vertical margin width = 30 (point)
Horizontal margin width = 20 (point)
Divider line width = 5 (point)
Image width (wa) = 1223 (point)
Image height (ha) = 2225 (point)

ここで、
仕切り線幅(5point)<横間余白幅(35point)<縦間余白幅(50point)
であるため、実施例1の式(1)と式(2)が適用される。集約領域幅(wnup)と集約領域高(hnup)と画像のX方向の倍率ScaleXと画像のY方向の倍率ScaleYの計算結果は、実施例1と同じ結果となる。
here,
Divider line width (5 points) <Horizontal margin width (35 points) <Vertical margin width (50 points)
Therefore, Formula (1) and Formula (2) of Example 1 are applied. The calculation results of the aggregate area width (wnup), the aggregate area height (hnup), the magnification ScaleX in the X direction of the image, and the magnification ScaleY in the Y direction of the image are the same as those in the first embodiment.

次に、図10を参照しながら、4ページを1ページに集約する際に、設定された仕切り線幅が間余白幅より広い場合の各集約領域の幅を計算する方法を説明する。式(6)は、横仕切り線幅が横間余白幅より広い場合の集約領域の幅を計算する式である。横仕切り線幅は、横間余白領域に挿入される縦長の仕切り線の幅である。
集約領域幅(wnup)
=(印刷領域幅(wp)−(2×縁余白幅+横仕切り線幅))/2・・・(6)
式(7)は、縦仕切り線幅が縦間余白幅より広い場合の集約領域の高さを計算する式である。縦仕切り線幅は、縦間余白領域に挿入される横長の仕切り線の幅である。
集約領域高(hnup)
=(印刷領域高(hp)−(2×縁余白幅+縦仕切り線幅))/2・・・(7)
式(6)と式(7)の仕切り線幅と縁余白幅を変更することによって、各集約領域の幅と高さが変わる。
Next, a method for calculating the width of each aggregated area when the set partition line width is wider than the margin width when four pages are consolidated into one page will be described with reference to FIG. Expression (6) is an expression for calculating the width of the aggregate region when the horizontal partition line width is wider than the horizontal margin width. The horizontal partition line width is the width of a vertically long partition line inserted into the horizontal margin area.
Aggregation area width (wnup)
= (Print area width (wp)-(2 × Border margin width + Horizontal divider line width)) / 2 (6)
Expression (7) is an expression for calculating the height of the aggregate region when the vertical partition line width is wider than the vertical margin width. The vertical partition line width is the width of a horizontally long partition line inserted in the vertical margin area.
Aggregate area height (hnup)
= (Print area height (hp)-(2 x margin margin width + vertical divider line width)) / 2 (7)
By changing the partition line width and the margin margin width in Expression (6) and Expression (7), the width and height of each aggregated area are changed.

下記の条件における集約印刷領域の例を示す。
印刷領域幅(wp)=1550(point)
印刷領域高(hp)=2450(point)
縦間余白幅=50(point)
横間余白幅=35(point)
縦縁余白幅=30(point)
横縁余白幅=20(point)
仕切り線幅=60(point)
画像幅(wa)=1223(point)
画像高(ha)=2225(point)
An example of the aggregate print area under the following conditions is shown.
Print area width (wp) = 1550 (point)
Print area height (hp) = 2450 (point)
Vertical margin width = 50 (point)
Horizontal margin width = 35 (point)
Vertical margin width = 30 (point)
Horizontal margin width = 20 (point)
Partition line width = 60 (point)
Image width (wa) = 1223 (point)
Image height (ha) = 2225 (point)

ここで、
仕切り線幅(60point)>縦間余白幅(50point)>横間余白幅(35point)
であるため、式(6)と式(7)が適用され、その値は次のようになる。
集約領域幅(wnup)=(1550−((2×20)+60))/2=725(point)
集約領域高(hnup)=(2450−((2×30)+60))/2=1165(point)
式(3)と式(4)と式(5)を用いて倍率を計算すると次のようになる。
scaleX(画像のX方向の倍率)=725/1223≒0.59
scaleY(画像のY方向の倍率)=1165/2225≒0.52
scale(画像の全体倍率)=min(0.59, 0.52)≒0.52
here,
Partition line width (60 points)> Vertical margin width (50 points)> Horizontal margin width (35 points)
Therefore, equations (6) and (7) are applied, and their values are as follows.
Aggregation area width (wnup) = (1550 − ((2 × 20) +60)) / 2 = 725 (point)
Aggregation area height (hnup) = (2450 − ((2 × 30) +60)) / 2 = 1165 (point)
When the magnification is calculated using Equation (3), Equation (4) and Equation (5), it is as follows.
scaleX (X magnification of the image) = 725/1223 ≒ 0.59
scaleY (magnification in the Y direction of the image) = 1165/2225 ≒ 0.52
scale (total image magnification) = min (0.59, 0.52) ≒ 0.52

次に、図11を参照しながら、個別に設定されている縦横の仕切り線幅に、間余白幅より広いものがある場合の集約領域の計算方法を説明する。ユーザーが集約印刷を行う際に、縦横の仕切り線の幅を個別に設定する。縦方向と横方向の間余白幅と縁余白幅もそれぞれ別々に設定する。4ページを1ページに集約して印刷する場合を例にする。次の値を設定する。
印刷領域幅(wp)=1550(point)
印刷領域高(hp)=2450(point)
縦間余白幅=50(point)
横間余白幅=35(point)
縦縁余白幅=30(point)
横縁余白幅=20(point)
縦仕切り線幅=10(point)
横仕切り線幅=60(point)
画像幅(wa)=1223(point)
画像高(ha)=2225(point)
Next, with reference to FIG. 11, a calculation method of the aggregated area in the case where the vertical and horizontal partition line widths set individually are wider than the space width will be described. When the user performs collective printing, the widths of the vertical and horizontal divider lines are individually set. The margin width and the margin margin width between the vertical direction and the horizontal direction are also set separately. A case where four pages are combined into one page and printed is taken as an example. Set the following values:
Print area width (wp) = 1550 (point)
Print area height (hp) = 2450 (point)
Vertical margin width = 50 (point)
Horizontal margin width = 35 (point)
Vertical margin width = 30 (point)
Horizontal margin width = 20 (point)
Vertical partition line width = 10 (point)
Horizontal partition line width = 60 (point)
Image width (wa) = 1223 (point)
Image height (ha) = 2225 (point)

ここで、
横仕切り線幅(60point)>横間余白幅(35point)
縦間余白幅(50point)>縦仕切り線幅(10point)
であるため、式(6)と式(2)が適用され、その値は次のようになる。
集約領域幅(wnup)=(1550−((2×20)+60))/2=725(point)
集約領域高(hnup)=(2450−((2×30)+50))/2=1170(point)
式(3)と式(4)と式(5)を用いて倍率を計算すると次のようになる。
scaleX(画像のX方向の倍率)=725/1223≒0.59
scaleY(画像のY方向の倍率)=1170/2225≒0.52
scale(画像の全体倍率)=min(0.59, 0.52)≒0.52
here,
Horizontal partition line width (60 points)> Horizontal margin width (35 points)
Vertical margin width (50 points)> Vertical partition line width (10 points)
Therefore, Equation (6) and Equation (2) are applied, and their values are as follows.
Aggregation area width (wnup) = (1550 − ((2 × 20) +60)) / 2 = 725 (point)
Aggregate area height (hnup) = (2450 − ((2 × 30) +50)) / 2 = 1170 (point)
When the magnification is calculated using Equation (3), Equation (4) and Equation (5), it is as follows.
scaleX (X magnification of the image) = 725/1223 ≒ 0.59
scaleY (magnification in the Y direction of the image) = 1170/2225 ≒ 0.52
scale (total image magnification) = min (0.59, 0.52) ≒ 0.52

上記のように、本発明の実施例4では、画像処理装置を、仕切り線幅と間余白幅の広い方を優先させ、仕切り線幅が間余白幅より広い場合には、仕切り線幅を間余白幅として集約領域を計算する構成としたので、画像X(Y)方向の倍率をより正確に求めることができて、集約領域の確保ができる。   As described above, in the fourth embodiment of the present invention, the image processing apparatus gives priority to the wider partition line width and the blank space width, and when the divider line width is larger than the blank space width, the partition line width is increased. Since the aggregate area is calculated as the margin width, the magnification in the image X (Y) direction can be obtained more accurately, and the aggregate area can be secured.

本発明の画像処理装置は、集約印刷をする装置として最適である。   The image processing apparatus of the present invention is optimal as an apparatus for performing aggregate printing.

本発明の実施例1における画像処理装置の構成図である。1 is a configuration diagram of an image processing apparatus in Embodiment 1 of the present invention. 本発明の実施例1における画像処理装置の描画位置決定処理部の構成図である。It is a block diagram of the drawing position determination process part of the image processing apparatus in Example 1 of this invention. 本発明の実施例1における画像処理装置の通常印刷時の流れを表すフローチャートである。6 is a flowchart illustrating a flow during normal printing of the image processing apparatus according to the first exemplary embodiment of the present invention. 本発明の実施例1における画像処理装置で、同じサイズのページを集約印刷する際の描画位置決定処理の流れ図である。6 is a flowchart of a drawing position determination process when pages of the same size are collectively printed by the image processing apparatus according to the first exemplary embodiment of the present invention. 本発明の実施例1における画像処理装置で、集約領域の決定プロセスを説明する図である。It is a figure explaining the determination process of an aggregation area | region with the image processing apparatus in Example 1 of this invention. 本発明の実施例1における画像処理装置で、集約印刷領域に反映した結果である。It is the result reflected in the consolidated printing area in the image processing apparatus according to the first embodiment of the present invention. 本発明の実施例2における画像処理装置で、余白領域の余白設定値1と、余白設定値2を任意に設定したときの結果を示す図である。It is a figure which shows the result when the margin setting value 1 of the margin area and the margin setting value 2 are arbitrarily set in the image processing apparatus according to the second embodiment of the present invention. 本発明の実施例3における画像処理装置で、余白領域の余白設定値1と余白設定値2を比率で設定したときの結果を示す図である。It is a figure which shows the result when the margin setting value 1 and margin setting value 2 of a margin area are set by the ratio with the image processing apparatus in Example 3 of this invention. 本発明の実施例4における画像処理装置で、仕切り線幅より間余白幅が広い場合の集約領域の計算結果を示す図である。It is a figure which shows the calculation result of the aggregation area | region in the case of the image processing apparatus in Example 4 of this invention when a space margin width is wider than a partition line width. 本発明の実施例4における画像処理装置で、仕切り線幅が間余白幅より広い場合に集約領域を計算した結果を示す図である。It is a figure which shows the result of having calculated the aggregation area | region in the image processing apparatus in Example 4 of this invention, when a partition line width is wider than a space margin width. 本発明の実施例4における画像処理装置で、仕切り線幅の1つが間余白幅より広い場合に集約領域を計算した結果を示す図である。It is a figure which shows the result of having calculated the aggregation area | region when one of the partition line widths is wider than a space width in the image processing apparatus in Example 4 of this invention. 従来方法の集約印刷の結果を示す図である。It is a figure which shows the result of the consolidated printing of the conventional method. 従来方法の集約印刷の別の結果を示す図である。It is a figure which shows another result of the consolidated printing of a conventional method.

符号の説明Explanation of symbols

1・・・画像処理装置、3・・・操作パネル、4・・・ホストI/F装置、5・・・インタプリタ、6・・・描画エンジン、11・・・コマンド解析部、12・・・通常印刷位置選択部、13・・・集約印刷位置選択部、21・・・PDLコマンド、22・・・通常印刷領域情報・用紙情報、23・・・集約印刷領域情報・用紙情報、24・・・通常印刷領域、25・・・集約印刷領域、26・・・倍率、51・・・PDLデバイス制御コマンド処理部、52・・・PDL描画処理制御コマンド処理部、53・・・描画処理・デバイス制御部、521・・・描画位置決定処理部。 DESCRIPTION OF SYMBOLS 1 ... Image processing device, 3 ... Operation panel, 4 ... Host I / F device, 5 ... Interpreter, 6 ... Drawing engine, 11 ... Command analysis part, 12 ... Normal print position selection part, 13 ... Integrated print position selection part, 21 ... PDL command, 22 ... Normal print area information / paper information, 23 ... Integrated print area information / paper information, 24 ...・ Normal print area, 25 ... Integrated print area, 26 ... Magnification, 51 ... PDL device control command processing unit, 52 ... PDL drawing process control command processing unit, 53 ... Drawing process / device Control unit, 521... Drawing position determination processing unit.

Claims (16)

入力された原稿データに基づいて印刷データを作成する描画処理手段と、印刷データを印刷用紙に印刷する出力手段とを備えた画像処理装置において、複数ページ分の原稿データを1枚の印刷用紙に印刷する集約印刷を指示する手段と、集約印刷における各余白領域の幅を設定する余白設定手段とを備え、前記描画処理手段は、集約印刷処理が指示されたことに応じて、1枚の印刷用紙に集約するページ数と、各余白領域の幅と、印刷可能領域のサイズとに基づいて、1ページ分の原稿データを印刷する領域である集約領域の印刷可能領域に対する倍率を求める倍率計算手段と、求めた倍率に従って画像データを作成する手段とを備えることを特徴とする画像処理装置。   In an image processing apparatus comprising drawing processing means for creating print data based on input original data and output means for printing the print data on a printing paper, the original data for a plurality of pages is put on one printing paper. Means for instructing aggregate printing to be printed, and margin setting means for setting the width of each margin area in aggregate printing, wherein the drawing processing means prints one sheet in response to an instruction for aggregate printing processing Magnification calculation means for obtaining a magnification for the printable area of the consolidated area, which is an area for printing document data for one page, based on the number of pages to be collected on the sheet, the width of each margin area, and the size of the printable area And means for creating image data according to the calculated magnification. 前記余白設定手段は、集約領域の縁から印刷可能領域の縁までの間の余白領域の幅である縁余白幅を設定する手段と、集約領域間の余白領域の幅である間余白幅を設定する手段とを備えることを特徴とする請求項1記載の画像処理装置。   The margin setting means sets a margin width that is the width of the margin area between the edge of the aggregate area and the edge of the printable area, and sets a margin width that is the width of the margin area between the aggregate areas. The image processing apparatus according to claim 1, further comprising: 前記倍率計算手段は、設定された余白領域の幅が所定範囲外の場合に余白領域の幅の既定値を用いて倍率を求める手段を備えることを特徴とする請求項1または2記載の画像処理装置。   3. The image processing according to claim 1, wherein the magnification calculation means includes means for obtaining a magnification using a predetermined value of the width of the margin area when the width of the set margin area is outside a predetermined range. apparatus. 前記余白設定手段は、前記縁余白幅と前記間余白幅を、長さを示す数値で設定する手段を備えることを特徴とする請求項2記載の画像処理装置。   3. The image processing apparatus according to claim 2, wherein the margin setting unit includes a unit that sets the marginal margin width and the marginal margin width with numerical values indicating lengths. 前記余白設定手段は、前記縁余白幅と前記間余白幅の比率を設定する手段を備えることを特徴とする請求項2記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the margin setting unit includes a unit that sets a ratio between the marginal margin width and the marginal margin width. 集約印刷における間余白領域に挿入される仕切り線の幅を設定する仕切り線設定手段を備え、前記倍率計算手段に、各余白領域の幅と仕切り線幅との関係に基づいて集約領域の印刷可能領域に対する倍率を求める手段を備えることを特徴とする請求項1記載の画像処理装置。   A partition line setting unit is provided for setting the width of a partition line inserted in a blank area in aggregate printing, and the magnification calculation unit can print the aggregate area based on the relationship between the width of each margin area and the partition line width. The image processing apparatus according to claim 1, further comprising means for obtaining a magnification for the region. 前記仕切り線設定手段は、縦横の仕切り線の幅を個別に設定する手段を備えることを特徴とする請求項6記載の画像処理装置。   The image processing apparatus according to claim 6, wherein the partition line setting unit includes a unit that individually sets the widths of the vertical and horizontal partition lines. 前記倍率計算手段に、間余白幅より仕切り線幅が広い場合には間余白幅を仕切り線幅として集約領域の印刷可能領域に対する倍率を計算する手段を備えることを特徴とする請求項6または7記載の画像処理装置。   8. The magnification calculating means comprises means for calculating a magnification for the printable area of the aggregate area when the partition line width is wider than the space width, using the space width as the partition line width. The image processing apparatus described. 入力された原稿データに基づいて印刷データを作成し、印刷データを印刷用紙に印刷する画像処理方法において、複数ページ分の原稿データを1枚の印刷用紙に印刷する集約印刷の指示に応じて、1枚の印刷用紙に集約するページ数と、集約印刷における各余白領域について設定された幅と、印刷可能領域のサイズとに基づいて、1ページ分の原稿データを印刷する集約領域の印刷可能領域に対する倍率を求め、求められた倍率に従って印刷データを作成することを特徴とする画像処理方法。   In an image processing method for creating print data based on input document data and printing the print data on a print sheet, in accordance with an instruction for aggregate printing for printing document data for a plurality of pages on a single print sheet, A printable area of an aggregate area that prints one page of document data based on the number of pages to be aggregated on one print sheet, the width set for each margin area in the aggregate print, and the size of the printable area An image processing method characterized by obtaining a magnification with respect to the image and creating print data according to the obtained magnification. 集約領域の縁から印刷可能領域の縁までの間の余白領域の幅が縁余白幅として設定され、集約領域間の余白領域の幅が間余白幅として設定されることを特徴とする請求項9記載の画像処理方法。   10. The width of a margin area between the edge of the aggregate area and the edge of the printable area is set as an edge margin width, and the width of the margin area between the aggregate areas is set as an intermediate margin width. The image processing method as described. 設定された余白領域の幅が所定範囲外の場合には、余白領域の幅の既定値を用いて倍率を求めることを特徴とする請求項9または10記載の画像処理方法。   11. The image processing method according to claim 9, wherein, when the width of the set margin area is outside a predetermined range, the magnification is obtained using a predetermined value of the width of the margin area. 前記縁余白幅と前記間余白幅は、長さを示す数値で設定されることを特徴とする請求項10記載の画像処理方法。   The image processing method according to claim 10, wherein the marginal margin width and the marginal margin width are set as numerical values indicating lengths. 前記縁余白幅と前記間余白幅の比率で余白領域の幅が設定されることを特徴とする請求項10記載の画像処理方法。   The image processing method according to claim 10, wherein a width of a margin area is set by a ratio between the marginal margin width and the marginal margin width. 入力された原稿データに基づいて印刷データを作成し、印刷データを印刷用紙に印刷する画像処理方法において、複数ページ分の原稿データを1枚の印刷用紙に印刷する集約印刷の指示に応じて、1枚の印刷用紙に集約するページ数と、集約印刷における各余白領域について設定された余白幅と、印刷可能領域のサイズと、集約印刷における間余白領域に挿入される仕切り線幅とに基づいて、1ページ分の原稿データを印刷する集約領域の印刷可能領域に対する倍率を求め、間余白幅より仕切り線幅が広い場合は間余白幅を仕切り線幅として集約領域の印刷可能領域に対する倍率を計算し、求められた倍率に従って印刷データを作成することを特徴とする画像処理方法。   In an image processing method for creating print data based on input document data and printing the print data on a print sheet, in accordance with an instruction for aggregate printing for printing document data for a plurality of pages on a single print sheet, Based on the number of pages to be consolidated on one printing sheet, the margin width set for each margin area in aggregate printing, the size of the printable area, and the partition line width inserted in the interim margin area in aggregate printing Calculating the magnification for the printable area of the aggregate area where document data for one page is printed. If the partition line width is wider than the margin width, calculate the magnification for the printable area of the aggregate area using the margin width as the divider line width. And creating print data in accordance with the determined magnification. 請求項9〜14のいずれかに記載の画像処理方法をコンピュータで実行するための処理手順を記述したコンピュータプログラム。   A computer program describing a processing procedure for executing the image processing method according to claim 9 on a computer. 請求項15記載のコンピュータプログラムを格納した記録媒体。
A recording medium storing the computer program according to claim 15.
JP2007134544A 2006-06-28 2007-05-21 Image processing device Expired - Fee Related JP4841500B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007134544A JP4841500B2 (en) 2006-06-28 2007-05-21 Image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006178509 2006-06-28
JP2006178509 2006-06-28
JP2007134544A JP4841500B2 (en) 2006-06-28 2007-05-21 Image processing device

Publications (2)

Publication Number Publication Date
JP2008035482A true JP2008035482A (en) 2008-02-14
JP4841500B2 JP4841500B2 (en) 2011-12-21

Family

ID=39124372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007134544A Expired - Fee Related JP4841500B2 (en) 2006-06-28 2007-05-21 Image processing device

Country Status (1)

Country Link
JP (1) JP4841500B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010134655A (en) * 2008-12-03 2010-06-17 Konica Minolta Business Technologies Inc Printing system, printing method, printing control device, printing control method, and printing control program
JP2010237749A (en) * 2009-03-30 2010-10-21 Canon Inc Printing control method
US8384946B2 (en) 2009-03-13 2013-02-26 Ricoh Company, Ltd. Image forming apparatus, method, and computer product for positioning images of different size on a given paper size
JP2013206088A (en) * 2012-03-28 2013-10-07 Brother Ind Ltd Print control program and print control unit
JP2020093425A (en) * 2018-12-11 2020-06-18 コニカミノルタ株式会社 Image inspection device, image inspection method and image inspection program
US10754598B2 (en) 2018-05-14 2020-08-25 Konica Minolta, Inc. Print controller, non-transitory computer-readable recording medium storing print control program and print control method
JP2021030597A (en) * 2019-08-26 2021-03-01 コニカミノルタ株式会社 Image formation system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573651A (en) * 1991-09-10 1993-03-26 Hitachi Ltd Picture processor
JP2002086832A (en) * 2000-09-11 2002-03-26 Ricoh Co Ltd Imaging apparatus
JP2002335388A (en) * 2001-05-07 2002-11-22 Sharp Corp Image forming device
JP2004104324A (en) * 2002-09-06 2004-04-02 Ricoh Co Ltd Image forming apparatus
JP2004248262A (en) * 2003-01-24 2004-09-02 Canon Inc Image forming apparatus, image repeating method, layout method, memory medium having computer-readable program and program
JP2006033259A (en) * 2004-07-14 2006-02-02 Kyocera Mita Corp Image forming apparatus
JP2006042301A (en) * 2004-06-22 2006-02-09 Kyocera Mita Corp Image forming apparatus, method, and program
JP2006067018A (en) * 2004-08-24 2006-03-09 Ricoh Co Ltd Image forming apparatus
JP2006072113A (en) * 2004-09-03 2006-03-16 Ricoh Co Ltd Image forming apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573651A (en) * 1991-09-10 1993-03-26 Hitachi Ltd Picture processor
JP2002086832A (en) * 2000-09-11 2002-03-26 Ricoh Co Ltd Imaging apparatus
JP2002335388A (en) * 2001-05-07 2002-11-22 Sharp Corp Image forming device
JP2004104324A (en) * 2002-09-06 2004-04-02 Ricoh Co Ltd Image forming apparatus
JP2004248262A (en) * 2003-01-24 2004-09-02 Canon Inc Image forming apparatus, image repeating method, layout method, memory medium having computer-readable program and program
JP2006042301A (en) * 2004-06-22 2006-02-09 Kyocera Mita Corp Image forming apparatus, method, and program
JP2006033259A (en) * 2004-07-14 2006-02-02 Kyocera Mita Corp Image forming apparatus
JP2006067018A (en) * 2004-08-24 2006-03-09 Ricoh Co Ltd Image forming apparatus
JP2006072113A (en) * 2004-09-03 2006-03-16 Ricoh Co Ltd Image forming apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010134655A (en) * 2008-12-03 2010-06-17 Konica Minolta Business Technologies Inc Printing system, printing method, printing control device, printing control method, and printing control program
JP4618369B2 (en) * 2008-12-03 2011-01-26 コニカミノルタビジネステクノロジーズ株式会社 Printing system, printing method, printing control apparatus, printing control method, and printing control program
US8384946B2 (en) 2009-03-13 2013-02-26 Ricoh Company, Ltd. Image forming apparatus, method, and computer product for positioning images of different size on a given paper size
JP2010237749A (en) * 2009-03-30 2010-10-21 Canon Inc Printing control method
JP2013206088A (en) * 2012-03-28 2013-10-07 Brother Ind Ltd Print control program and print control unit
US10754598B2 (en) 2018-05-14 2020-08-25 Konica Minolta, Inc. Print controller, non-transitory computer-readable recording medium storing print control program and print control method
JP2020093425A (en) * 2018-12-11 2020-06-18 コニカミノルタ株式会社 Image inspection device, image inspection method and image inspection program
JP7143750B2 (en) 2018-12-11 2022-09-29 コニカミノルタ株式会社 IMAGE INSPECTION APPARATUS, IMAGE INSPECTION METHOD, AND IMAGE INSPECTION PROGRAM
JP2021030597A (en) * 2019-08-26 2021-03-01 コニカミノルタ株式会社 Image formation system
JP7322596B2 (en) 2019-08-26 2023-08-08 コニカミノルタ株式会社 image forming system

Also Published As

Publication number Publication date
JP4841500B2 (en) 2011-12-21

Similar Documents

Publication Publication Date Title
JP4828338B2 (en) Image processing apparatus and program
JP4828339B2 (en) User interface device, image processing device, and program
JP4704288B2 (en) Image processing apparatus and program
JP4783254B2 (en) User interface device, image forming apparatus, image display method, and program causing computer to execute the method
JP4841500B2 (en) Image processing device
JP4790523B2 (en) Image processing apparatus and program
JP2006341614A (en) Image forming device and image forming method
JP4175625B2 (en) Apparatus and method for print preview
JP2023157920A (en) Program, image processing method, and image processing device
JP2011243004A (en) Information processor, print control program, recording medium, print control system and image-forming apparatus
JP5577766B2 (en) Print control apparatus and print control program
KR20090126836A (en) Image forming apparatus, image forming system and enlargement print processing method of printing data
JP6917285B2 (en) Image forming device
JP2008124951A (en) Image reading apparatus and image forming apparatus
US20080002214A1 (en) Image processing apparatus
JP2008172666A (en) Image forming apparatus and image forming program
JP6071259B2 (en) Image processing apparatus, control method therefor, and program
JP2007076261A (en) Image forming device, image forming method, and image forming program
JP2006260398A (en) Printing controller and its control method
JP2007034371A (en) Image processor, image processing method and program
JP2013071432A (en) Image forming apparatus, image forming method and image forming program
JP2009295044A (en) Installation processor for printer driver program and install program
JP2012141857A (en) Information processor, gui program and recording medium
JP3987066B2 (en) Image forming apparatus, image forming method, and program
JP2008072640A (en) Printer, computer program, and printing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110829

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111004

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141014

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees