JP5291131B2 - Image forming apparatus and aggregate printing method - Google Patents

Image forming apparatus and aggregate printing method Download PDF

Info

Publication number
JP5291131B2
JP5291131B2 JP2011029771A JP2011029771A JP5291131B2 JP 5291131 B2 JP5291131 B2 JP 5291131B2 JP 2011029771 A JP2011029771 A JP 2011029771A JP 2011029771 A JP2011029771 A JP 2011029771A JP 5291131 B2 JP5291131 B2 JP 5291131B2
Authority
JP
Japan
Prior art keywords
effective image
image original
original
image
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011029771A
Other languages
Japanese (ja)
Other versions
JP2012169909A (en
Inventor
健太 杉村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC AccessTechnica Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2011029771A priority Critical patent/JP5291131B2/en
Publication of JP2012169909A publication Critical patent/JP2012169909A/en
Application granted granted Critical
Publication of JP5291131B2 publication Critical patent/JP5291131B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent occurrence of a collapsed image of characters or drawing printed intensively, by printing lest effective pixels within an effective image area overlap, without reducing image data obtained from a document. <P>SOLUTION: An image formation apparatus comprises input means which reads plural documents to obtain plural pieces of document data. The apparatus also comprises control means which obtains an effective image document of document data with respect to each piece of document data and arranges plural effective image documents so as to be intensively printable within one drawing area for printing without changing the original sizes of the effective image documents. Furthermore, the apparatus is provided with output means which intensively prints the images arranged within the drawing area for printing, onto an output paper. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

本発明は、画像形成装置および集約印刷方法に関する。   The present invention relates to an image forming apparatus and an aggregate printing method.

一般に、ファクシミリ(facsimile)、プリンタ装置、デジタル複写機、或いは、画像読み取り機能・ファックス機能・印刷機能・ネットワーク接続機能などを有するデジタル複合機、などは、画像形成装置と呼ばれている。画像形成装置には、1頁分の文書を1枚の用紙に印刷する通常の印刷機能の他に、複数頁の文書を1枚の用紙に収めて印刷する機能や、複数頁の文書を縮小して一枚の用紙に収めて印刷する機能を備えるものがある。このような、複数頁の文書を1枚の用紙に収めて印刷する機能は、用紙の印刷枚数を減らす目的で使用される機能であり、集約印刷、或いは、エヌ・イン・ワン(N in 1)印刷などの呼称で知られている(例えば、特許文献1参照。)。   In general, a facsimile (facsimile), a printer device, a digital copying machine, or a digital multi-function peripheral having an image reading function, a fax function, a printing function, a network connection function, and the like are called an image forming apparatus. In addition to the normal printing function that prints a document for one page on a sheet of paper, the image forming apparatus has a function for printing a document of a plurality of pages on a sheet of paper, and a reduction of a document of a plurality of pages. Some have a function of printing on a single sheet of paper. Such a function of printing a document of a plurality of pages on a single sheet is a function used for the purpose of reducing the number of printed sheets of paper, such as collective printing or N in 1 (N in 1). ) It is known by names such as printing (for example, see Patent Document 1).

上述した特許文献1「画像形成装置、画像形成方法及びプログラム」には、以下の記載がなされている。   The following description is made in Patent Document 1 “Image Forming Apparatus, Image Forming Method, and Program” described above.

すなわち、複数の原稿から得た画像データを一枚の出力用紙に印刷する集約印刷のための画像形成装置において、出力用紙に余白領域を形成する。そして、出力用紙の余白領域を除いた原稿描写領域に、原稿描写領域の一隅を基準に空白を最小限にして、複数の原稿を配置する。複数の原稿を配置出来ない場合は、複数の原稿を原稿描写領域内に全て収まるように大きさを変倍する。このことにより、サイズの異なる複数の原稿を、余白を付した一枚の出力用紙に適正な大きさに変倍して集約印刷することができるようになる、としている。   That is, in an image forming apparatus for aggregate printing that prints image data obtained from a plurality of documents on one output sheet, a blank area is formed on the output sheet. Then, a plurality of originals are arranged in the original drawing area excluding the margin area of the output paper with a minimum of blanks based on one corner of the original drawing area. When a plurality of originals cannot be arranged, the size is changed so that the plurality of originals can be all accommodated in the original drawing area. As a result, a plurality of originals having different sizes can be combined and printed on a single output sheet with margins at an appropriate size.

また、印刷用紙の空白に画像を印刷することにより、用紙の節減をはかるようにしているものもある(例えば、特許文献2参照。)。   In addition, there is a printer that saves paper by printing an image on a blank of the print paper (see, for example, Patent Document 2).

上述した特許文献2「画像形成装置」には以下の記載がなされている。   The following description is made in Patent Document 2 “Image Forming Apparatus” described above.

すなわち、画像形成装置の給紙トレイに、予め印刷がなされた用紙をセットし、給紙された用紙に印刷された画像と空白領域を、画像読み取り部にて読み取る。そして、用紙における画像領域の大きさが、空白領域の大きさよりも小さいか又は等しい時、画像読み取り部で読み取った画像を空白領域に印刷する。すなわち、用紙から読み取った画像と同じ画像を、その用紙の空白部に印刷する「2 in 1 コピー」、又は、「3 in 1 コピー」が行われる。印刷終了後、用紙は排紙トレイに排出される。また、用紙における画像領域の大きさが、空白領域の大きさよりも大きい時には、画像読み取り部で読み取った画像を縮小して空白領域に印刷する。すなわち、用紙から読み取った画像と同じ画像を縮小して、その用紙の空白部に印刷する「縮小2 in 1 コピー」が行われる。このことにより、用紙の節減をはかることができる、としている。   That is, paper that has been printed in advance is set in the paper feed tray of the image forming apparatus, and the image and blank area printed on the fed paper are read by the image reading unit. When the size of the image area on the paper is smaller than or equal to the size of the blank area, the image read by the image reading unit is printed in the blank area. That is, “2 in 1 copy” or “3 in 1 copy” is performed in which the same image as the image read from the paper is printed on the blank portion of the paper. After printing is completed, the paper is discharged to a paper discharge tray. When the size of the image area on the paper is larger than the size of the blank area, the image read by the image reading unit is reduced and printed in the blank area. That is, “reduced 2 in 1 copy” is performed in which the same image as the image read from the paper is reduced and printed on the blank portion of the paper. This makes it possible to save paper.

さらに、原稿の一部に印刷対象画像がある原稿において、印刷対象画像を自動で認識し、印刷対象用紙に対して無駄なく配置して、集約印刷を行えるようにしているものもある(例えば、特許文献3参照。)。   Further, in a document having a print target image as a part of the document, there is also a document that automatically recognizes the print target image and arranges it without waste on the print target paper so that collective printing can be performed (for example, (See Patent Document 3).

上述した特許文献3「画像形成装置」には以下の記載がなされている。   The following description is made in Patent Document 3 “Image forming apparatus” described above.

すなわち、デジタル複合機は、印刷用紙情報を取得し、複数の原稿を読み取り、原稿から読み取った画像を認識し、その中から印刷対象領域を認識する。次に、印刷対象領域の領域データ、サイズを保存し、印刷対象用紙中で各印刷対象画像の描画位置を決定する。描画位置を決定する時、印刷対象画像がそのままの向きでは配置できないと判定した場合には、印刷対象画像を90°回転させて、再度、配置できるかを判定し、配置できる場合に描画位置を決定する。また、印刷対象画像を縮小すれば配置可能と判定した場合には、印刷対象画像を縮小して描画位置を決定する。このように、印刷対象用紙中に各印刷対象画像を集約して描画し、印刷出力するようにしている。このことにより、印刷対象用紙上に各印刷対象画像を無駄なく配置して、集約印刷を行えるようになる、としている。   That is, the digital multi-function peripheral acquires printing paper information, reads a plurality of originals, recognizes images read from the originals, and recognizes a print target area from them. Next, the area data and size of the print target area are stored, and the drawing position of each print target image in the print target paper is determined. When determining the drawing position, if it is determined that the image to be printed cannot be arranged in the same orientation, the image to be printed is rotated by 90 ° to determine whether the image can be arranged again. decide. If it is determined that the image can be arranged by reducing the print target image, the print target image is reduced to determine the drawing position. In this way, the print target images are collectively drawn on the print target paper and printed out. As a result, the print target images can be arranged on the print target paper without waste, and consolidated printing can be performed.

特開2006−042301号公報(第13〜17頁、図1〜9)Japanese Patent Laying-Open No. 2006-042301 (pages 13 to 17 and FIGS. 1 to 9) 特開2009−169270号公報(第3〜9頁、図1〜13)JP 2009-169270 A (pages 3 to 9, FIGS. 1 to 13) 特開2004−104324号公報(第3〜7頁、図1〜10)JP 2004-104324 A (pages 3-7, FIGS. 1-10)

上述した特許文献1、2、3に記載の画像形成装置においては、何れも、画像の変倍処理や縮小処理を行っているため、画像が小さくなり、出力用紙に印刷された画像に、文字や画像の潰れが生じ、ユーザが判読不可能となる場合がある、という課題を有している。   In the image forming apparatuses described in Patent Documents 1, 2, and 3 described above, since the image scaling process and the reduction process are all performed, the image becomes small, and characters printed on the output paper are displayed. Or the image may be crushed and the user may be unable to read.

本発明は上述した課題を解決するためになされたものである。従って、本発明の目的は、原稿から得た画像データを縮小することなく、有効画像領域内の有効画素が重ならないよう印刷することにより、集約印刷した文字や絵の画像に潰れを生じさせない、画像形成装置および集約印刷方法を提供することにある。   The present invention has been made to solve the above-described problems. Therefore, an object of the present invention is to prevent the image data of the consolidated print from being crushed by printing the image data obtained from the original without reducing the effective pixels in the effective image area. An object of the present invention is to provide an image forming apparatus and an aggregate printing method.

本発明の画像形成装置は、複数の原稿を読み込んで複数の原稿データを得る入力手段と、 前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置する制御手段と、前記印刷用描画領域内に配置された画像を出力用紙に集約印刷する出力手段と、を備え、前記制御手段は、少なくとも1つの有効画像原稿が配置済みの前記印刷用描画領域内に、別の所定の有効画像原稿を配置する際、前記所定の有効画像原稿が縦長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の右側に配置し、前記所定の有効画像原稿が横長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の下側に配置し、前記所定の有効画像原稿が前記印刷用描画領域内に収まっている場合には、前記所定の有効画像原稿の配置を確定し、前記所定の有効画像原稿が前記印刷用描画領域からはみ出した場合は、はみ出した部分が前記印刷用描画領域内に収まるよう前記所定の有効画像原稿を前記はみ出した部分の逆方向にシフトさせ、シフトさせた前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、前記重なり合った領域内に有効画素が有る場合、前記所定の有効画像原稿を180°或いは90°或いは270°回転させ、前記複数の回転のうちのいずれかの回転を実行することにより、前記所定の有効画像原稿が前記印刷用描画領域からはみ出さないか、あるいは回転後にシフトした前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、前記複数の回転すべてを実行しても、前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が有る場合、前記印刷用描画領域における前記所定の有効画像原稿の配置を中断する。 An image forming apparatus according to the present invention includes an input unit that reads a plurality of originals to obtain a plurality of original data, obtains an effective image original of the original data for each of the plurality of original data, A control unit arranged so as to be able to perform aggregate printing in one printing drawing area without changing the size, and an output unit for collectively printing images arranged in the printing drawing area on output paper. When the predetermined valid image original is vertically long when the predetermined valid image original is placed in the print drawing area where at least one effective image original is already arranged, the control means Is arranged on the right side of the arranged effective image original, and when the predetermined effective image original is horizontally long, the predetermined effective image original is arranged below the arranged effective image original. ,Previous When the predetermined effective image original is within the drawing area for printing, the arrangement of the predetermined effective image original is confirmed, and when the predetermined effective image original protrudes from the printing drawing area The predetermined effective image original is shifted in the reverse direction of the protruding portion so that the protruding portion fits in the print drawing area, and the shifted effective image original and the arranged effective image original are If there is no effective pixel in the overlapping area, the arrangement of the predetermined effective image original is determined, and if there is an effective pixel in the overlapping area, the predetermined effective image original is 180 °, 90 °, or 270. The predetermined effective image original does not protrude from the print drawing area or is rotated by rotating and rotating any one of the plurality of rotations. If there is no effective pixel in an area where the predetermined effective image original shifted to the arranged effective image original overlaps, the arrangement of the predetermined effective image original is determined and all the plurality of rotations are executed. However, when there is an effective pixel in an area where the predetermined effective image original and the arranged effective image original overlap, the arrangement of the predetermined effective image original in the drawing area for printing is interrupted.

本発明の集約印刷方法は、複数の原稿を読み込んで複数の原稿データを得、前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置し、前記印刷用描画領域内に配置された画像を出力用紙に集約印刷し、少なくとも1つの有効画像原稿が配置済みの前記印刷用描画領域内に、別の所定の有効画像原稿を配置する際、前記所定の有効画像原稿が縦長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の右側に配置し、前記所定の有効画像原稿が横長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の下側に配置し、前記所定の有効画像原稿が前記印刷用描画領域内に収まっている場合には、前記所定の有効画素画像原稿の配置を確定し、前記所定の有効画像原稿が前記印刷用描画領域からはみ出した場合は、はみ出した部分が前記印刷用描画領域内に収まるよう前記所定の有効画像原稿を前記はみ出した部分の逆方向にシフトさせ、シフトさせた前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、前記重なり合った領域内に有効画素が有る場合、前記所定の有効画像原稿を180°或いは90°或いは270°回転させ、前記複数の回転のうちのいずれかの回転を実行することにより、前記所定の有効画像原稿が前記印刷用描画領域からはみ出さないか、あるいは回転後にシフトした前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、前記複数の回転すべてを実行しても、前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が有る場合、前記印刷用描画領域における前記所定の有効画像原稿の配置を中断することを特徴とする。

The consolidated printing method of the present invention reads a plurality of originals to obtain a plurality of original data, obtains effective image originals of the original data for each of the plurality of original data, and sets the effective image originals to the original sizes. The print image is arranged in one print drawing area without being changed, the images arranged in the print drawing area are collectively printed on output paper, and at least one effective image original is arranged. When another predetermined effective image original is placed in the drawing area for printing, if the predetermined effective image original is vertically long, the predetermined effective image original is placed on the right side of the arranged effective image original. If the predetermined effective image original is horizontally long, the predetermined effective image original is placed below the arranged effective image original, and the predetermined effective image original is placed in the print drawing area. If Determines the arrangement of the predetermined effective pixel image original, and when the predetermined effective image original protrudes from the print drawing area, the predetermined effective image original is arranged so that the protruded portion falls within the print drawing area. The image original is shifted in the opposite direction of the protruding portion, and when there is no effective pixel in an area where the shifted effective image original and the arranged effective image original overlap, the predetermined effective image original If there is an effective pixel in the overlapped area, the predetermined effective image original is rotated 180 °, 90 ° or 270 °, and any one of the plurality of rotations is executed. Thus, the predetermined effective image original does not protrude from the print drawing area, or the predetermined effective image original shifted after rotation and the arranged effective image original are arranged. If there is no effective pixel in the area where the image original overlaps, the predetermined effective image original and the arranged effective original are arranged even if the arrangement of the predetermined effective image original is confirmed and all of the plurality of rotations are executed. The arrangement of the predetermined effective image original in the print drawing area is interrupted when there is an effective pixel in an area where the image original overlaps.

本発明によれば、集約印刷した画像に潰れが生じることはない。   According to the present invention, there is no occurrence of crushing in the aggregate printed image.

本発明の画像形成装置の第1の実施形態を示す機能ブロック図である。1 is a functional block diagram illustrating a first embodiment of an image forming apparatus of the present invention. 本発明の画像形成装置の第1の実施形態のハードウェア構成の一例を示す図である。1 is a diagram illustrating an example of a hardware configuration of a first embodiment of an image forming apparatus according to the present invention. 第1の実施形態の基本的な動作を説明するフローチャートである。It is a flowchart explaining the basic operation | movement of 1st Embodiment. 第1の実施形態の原稿配置処理部の動作を説明するフローチャートである。6 is a flowchart illustrating an operation of a document placement processing unit according to the first embodiment. 第1の実施形態の回転処理の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of the rotation process of 1st Embodiment. 第1の実施形態の具体例を示す第1の図である。It is a 1st figure which shows the specific example of 1st Embodiment. 第1の実施形態の具体例を示す第2の図である。It is a 2nd figure which shows the specific example of 1st Embodiment. 第1の実施形態の具体例を示す第3の図である。It is a 3rd figure which shows the specific example of 1st Embodiment. 本発明の画像形成装置の第2の実施形態を示す機能ブロック図である。It is a functional block diagram showing a second embodiment of the image forming apparatus of the present invention. 本発明の画像形成装置の第2の実施形態のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of 2nd Embodiment of the image forming apparatus of this invention. 第2の実施形態の基本的な動作を説明するフローチャートである。It is a flowchart explaining the basic operation | movement of 2nd Embodiment.

次に、本発明の実施形態について図面を参照して説明する。
[第1の実施形態]
図1は、本発明の画像形成装置の第1の実施形態を示す機能ブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings.
[First embodiment]
FIG. 1 is a functional block diagram showing a first embodiment of the image forming apparatus of the present invention.

図1に示す画像形成装置100は、制御部10を含んでいる。そして、制御部10に接続される装置操作部30、入力部40、記憶部50、表示部60、出力部70を含んでいる。   An image forming apparatus 100 illustrated in FIG. 1 includes a control unit 10. The apparatus includes an apparatus operation unit 30, an input unit 40, a storage unit 50, a display unit 60, and an output unit 70 connected to the control unit 10.

制御部10は、画像形成装置100全体の動作制御を行う。そして、特に、集約印刷を行うために画像の編集処理を行う画像編集部20を含んでいる。   The control unit 10 controls the operation of the entire image forming apparatus 100. In particular, it includes an image editing unit 20 that performs image editing processing in order to perform aggregate printing.

装置操作部30は、画像形成装置100を操作する指示入力を行う。特に、画像形成装置100の各種設定項目を入力し、また、動作指示を入力する機能も有している。   The apparatus operation unit 30 performs an instruction input for operating the image forming apparatus 100. In particular, it has a function of inputting various setting items of the image forming apparatus 100 and an operation instruction.

入力部40は、複数の原稿を読み込み、読み込んだ原稿を原稿データとして取得する機能を有している。   The input unit 40 has a function of reading a plurality of originals and acquiring the read originals as original data.

記憶部50は、画像形成装置100を動作させるプログラムや、各種のデータを記憶する。特に、入力部40が取得した原稿データを記憶する画像記憶部52、画像形成装置100の各種のプログラムを記憶するプログラム記憶部54、制御部10が生成したデータやファイルなどを記憶し、また、それらを読み出させる作業用記憶部56を含んでいる。   The storage unit 50 stores a program for operating the image forming apparatus 100 and various data. In particular, an image storage unit 52 that stores document data acquired by the input unit 40, a program storage unit 54 that stores various programs of the image forming apparatus 100, data and files generated by the control unit 10, and the like are stored. A work storage unit 56 for reading them is included.

表示部60は、画像編集部20が集約印刷を行うために編集した結果の画像イメージを表示する。画像イメージを表示する必要がない場合は、表示部60は無くてもよい。   The display unit 60 displays an image image as a result of editing by the image editing unit 20 to perform aggregate printing. If it is not necessary to display an image, the display unit 60 may be omitted.

出力部70は、画像編集部20が編集した集約印刷用の画像を、出力用紙に印刷する機能を有する。   The output unit 70 has a function of printing an image for aggregation printing edited by the image editing unit 20 on output paper.

上述した制御部10の画像編集部20は、有効画像領域取得部22、原稿配置処理部24、配置済み画像出力部26を含んでいる。   The image editing unit 20 of the control unit 10 described above includes an effective image area acquisition unit 22, a document placement processing unit 24, and a placed image output unit 26.

有効画像領域取得部22は、入力部40が取得した原稿データを、記憶部50の画像記憶部52に記憶させる。そして、画像記憶部52の原稿データから、集約印刷を行う部分画像としての領域、すなわち、有効画像領域を求め、有効画像領域内の画像を有効画像原稿として記憶部50の作業用記憶部56に記憶させる。   The effective image area acquisition unit 22 stores the document data acquired by the input unit 40 in the image storage unit 52 of the storage unit 50. Then, an area as a partial image to be subjected to aggregate printing, that is, an effective image area is obtained from the document data in the image storage unit 52, and an image in the effective image area is stored in the work storage unit 56 of the storage unit 50 as an effective image document. Remember.

原稿配置処理部24は、作業用記憶部56に記憶されている有効画像原稿を複数取得し、
これを、出力用紙の印刷用描画領域に集約して配置する機能を有している。
The document placement processing unit 24 acquires a plurality of valid image documents stored in the work storage unit 56, and
This has a function of arranging and arranging them in the print drawing area of the output paper.

配置済み画像出力部26は、原稿配置処理部24が配置処理した印刷用描画領域の画像を、出力部70に出力し、出力用紙上に集約印刷させる。印刷用描画領域の画像は、1枚とは限らず、原稿データが多い場合は複数枚の画像となる場合もある。   The arranged image output unit 26 outputs the image of the print drawing area arranged by the document arrangement processing unit 24 to the output unit 70, and causes the output image to be consolidated and printed on the output paper. The image in the print drawing area is not limited to one sheet, and may be a plurality of images when there is a large amount of document data.

次に、図1に機能ブロック図として示した画像形成装置を、実際のハードウェアで構成した一例につき、図2を参照して説明する。   Next, an example in which the image forming apparatus shown in the functional block diagram of FIG. 1 is configured by actual hardware will be described with reference to FIG.

図2は、本発明の画像形成装置の第1の実施形態のハードウェア構成の一例を示す図である。   FIG. 2 is a diagram illustrating an example of a hardware configuration of the first embodiment of the image forming apparatus of the present invention.

図2に示す画像形成装置100は、CPU10h、操作パネル30h、スキャナ40h、HDD52h、ROM54h、RAM56h、ディスプレイ60h、プリンタ70hが、バス80hを介して接続されている。   In the image forming apparatus 100 shown in FIG. 2, a CPU 10h, an operation panel 30h, a scanner 40h, an HDD 52h, a ROM 54h, a RAM 56h, a display 60h, and a printer 70h are connected via a bus 80h.

CPU(Central Processing Unit:中央処理装置)10hは、図1の制御部10に相当し、ROM54hに記憶されているプログラムを実行することにより、画像形成装置100全体の動作制御を行う。   A CPU (Central Processing Unit) 10h corresponds to the control unit 10 of FIG. 1, and controls the operation of the entire image forming apparatus 100 by executing a program stored in the ROM 54h.

操作パネル30hは、図1の装置操作部30に相当し、テンキーやファンクションキーなどで構成されている。   The operation panel 30h corresponds to the device operation unit 30 in FIG. 1, and includes a numeric keypad and function keys.

スキャナ40hは、図1の入力部40に相当し、複数の原稿を読み込み、読み込んだ原稿を原稿データとして取得する機能を有している。   The scanner 40h corresponds to the input unit 40 in FIG. 1, and has a function of reading a plurality of originals and acquiring the read originals as original data.

HDD(Hard Disk Drive:エイチ・ディー・ディー)52hは、図1の画像記憶部52に相当する。HDD52hは、磁性体を塗布または蒸着した円板を高速で回転させ、磁気ヘッドを使ってデータ(本実施形態では、原稿データ)の記録と読み取りを行う。HDDに代えて、不揮発性の半導体メモリであるところのフラッシュメモリ(flash memory)を使用してもよい。   An HDD (Hard Disk Drive) 52h corresponds to the image storage unit 52 in FIG. The HDD 52h rotates a disk coated with or vapor-deposited magnetic material at high speed, and records and reads data (original data in this embodiment) using a magnetic head. Instead of the HDD, a flash memory that is a nonvolatile semiconductor memory may be used.

ROM(Read Only Memory:ロム)54hは、図1のプログラム記憶部54に相当し、画像形成装置100の各種のプログラムを記憶している。   A ROM (Read Only Memory: ROM) 54h corresponds to the program storage unit 54 in FIG. 1 and stores various programs of the image forming apparatus 100.

RAM(Random Access Memory:ラム)56hは、図1の作業用記憶部56に相当し、CPU10hの動作により生成されたデータやファイルなどを記憶し、また、これらを読み出させる。   A RAM (Random Access Memory: RAM) 56h corresponds to the work storage unit 56 in FIG. 1, stores data, files, and the like generated by the operation of the CPU 10h, and reads them out.

ディスプレイ(display)60hは、図1の表示部60に相当し、CPU10hの動作により、集約印刷を行うために編集された結果の画像イメージを表示する。ディスプレイ60hは、液晶ディスプレイやプラズマディスプレイなどである。   The display 60h corresponds to the display unit 60 in FIG. 1, and displays an image image obtained as a result of editing for aggregate printing by the operation of the CPU 10h. The display 60h is a liquid crystal display or a plasma display.

プリンタ70hは、図1の出力部70に相当し、CPU10hの動作により編集された集約印刷用の画像を、出力用紙に印刷する。   The printer 70h corresponds to the output unit 70 in FIG. 1, and prints an image for aggregation printing edited by the operation of the CPU 10h on output paper.

バス(bus)80hは、上記の各ハードウェアを結ぶ信号路である。   A bus 80h is a signal path connecting the above hardware.

次に、図3〜図8を参照して、図1に示した本実施形態の動作について説明する。   Next, the operation of this embodiment shown in FIG. 1 will be described with reference to FIGS.

図3は、第1の実施形態の基本的な動作を説明するフローチャートである。   FIG. 3 is a flowchart for explaining the basic operation of the first embodiment.

先ず、画像形成装置100のユーザは、画像形成装置100の入力部40に、複数の原稿(例えば、n枚の原稿とする)をセットし、装置操作部30から集約印刷を行わせる指示入力を行う。すると、制御部10の画像編集部20が図3に示す動作を開始する。   First, the user of the image forming apparatus 100 sets a plurality of originals (for example, n originals) in the input unit 40 of the image forming apparatus 100, and inputs an instruction to perform aggregate printing from the apparatus operation unit 30. Do. Then, the image editing unit 20 of the control unit 10 starts the operation shown in FIG.

はじめに、画像編集部20の有効画像領域取得部22は、入力部40にセットされたn枚の原稿を読み込み、読み込んだ原稿を原稿データとして、記憶部50の画像記憶部52に記憶させる(図3のステップS1)。画像記憶部52に記憶された原稿データはn枚分となる。   First, the effective image area acquisition unit 22 of the image editing unit 20 reads n documents set in the input unit 40, and stores the read documents as document data in the image storage unit 52 of the storage unit 50 (FIG. 3 step S1). The document data stored in the image storage unit 52 is n sheets.

次に、n枚分の原稿データそれぞれの有効画像領域を求め、有効画像領域内の画像を有効画像原稿として、記憶部50の作業用記憶部56に記憶させる(ステップS2)。   Next, an effective image area for each of n sheets of document data is obtained, and an image in the effective image area is stored as an effective image document in the work storage unit 56 of the storage unit 50 (step S2).

ここで、上記ステップS1とS2の動作の具体例につき、図6を参照して説明する。   Here, a specific example of the operations in steps S1 and S2 will be described with reference to FIG.

図6の(a)は、サイズの異なる二枚の原稿を入力部40から読み込み、読み込んだ原稿を原稿データとしたことを示している。左側の1枚目の原稿データ内の黒点は文字を示しているものとする。右側の2枚目の原稿データは、釣り竿の絵を示しているものとする。   FIG. 6A shows that two originals having different sizes are read from the input unit 40, and the read original is used as original data. It is assumed that the black dot in the first document data on the left indicates a character. Assume that the second original data on the right side shows a picture of a fishing rod.

そして、図6(a)の原稿データの有効画像領域を求めたものを、図6の(b)に示している。図6(b)の点線で囲まれた部分が有効画像領域である。ここで、有効画像領域とは、原稿データ内の有効画素をすべて含む最小の長方形または正方形の部分のことである。有効画素であることの判定方法としては、例えば、2値化された原稿データの画像中の白画素を無効画素とし、それ以外の画素を有効画素とする方法がある。或いは、予め無効色を指定しておき、指定された無効色の画素を無効画素とし、それ以外の画素を有効画素とする方法でもよい。   FIG. 6B shows the effective image area of the document data shown in FIG. A portion surrounded by a dotted line in FIG. 6B is an effective image area. Here, the effective image area is a minimum rectangular or square portion including all effective pixels in the document data. As a determination method of being an effective pixel, for example, there is a method in which white pixels in an image of binarized document data are set as invalid pixels and other pixels are set as effective pixels. Alternatively, a method may be used in which invalid colors are designated in advance, the designated invalid color pixels are designated as invalid pixels, and other pixels are designated as valid pixels.

最後に、図6(b)の有効画像領域内の画像を有効画像原稿としたものを、図6の(c)として示している。有効画像原稿は、記憶部50の作業用記憶部56に記憶され、大きい有効画像原稿から順に記憶させておくものとする。すなわち、図6(c)においては、第1の有効画像原稿を1番目として記憶し、第2の有効画像原稿は、その次の大きさの有効画像原稿として記憶する。   Finally, an image in the effective image area shown in FIG. 6B as an effective image original is shown as (c) in FIG. The valid image original is stored in the work storage unit 56 of the storage unit 50, and is stored in order from the largest valid image original. That is, in FIG. 6C, the first effective image original is stored as the first, and the second effective image original is stored as the next effective image original.

図3に戻り、ステップS2の後、画像編集部20の原稿配置処理部24が動作し、出力用紙の印刷用描画領域に、有効画像原稿を集約して配置する処理を行う。この時点では、出力用紙が何枚になるかは分かっていない。そのため、先ず、出力用紙の枚数(mとして表すものとする)を1枚目に設定する。すなわち、m=1とする(ステップS3)。   Returning to FIG. 3, after step S <b> 2, the document placement processing unit 24 of the image editing unit 20 operates to perform a process of collecting and placing valid image documents in the print drawing area of the output paper. At this point, it is not known how many sheets will be output. Therefore, first, the number of output sheets (represented as m) is set to the first sheet. That is, m = 1 is set (step S3).

そして、原稿配置処理部24が動作し、出力用紙の印刷用描画領域に、有効原稿画像を集約して配置する処理を行う(ステップS4)。なお、ステップS4の処理の詳細については図4、図5を参照して後述するものとする。   Then, the document placement processing unit 24 operates to perform a process of collecting and placing valid document images in the print drawing area of the output paper (step S4). The details of the process in step S4 will be described later with reference to FIGS.

ステップS4の後、m枚目の出力用紙に配置されていない有効画像原稿が、作業用記憶部56内に残っているか否かを判定する(ステップS5)。   After step S4, it is determined whether or not an effective image original that is not arranged on the mth output sheet remains in the work storage unit 56 (step S5).

未配置の有効画像原稿が残っている場合(ステップS5でYes)、出力用紙の枚数を1だけ増し、すなわち、m=m+1とし(ステップS6)、ステップS4に戻る。ステップS4では、次の出力用紙の印刷用描画領域に有効画像原稿を集約して配置する処理を再度実行する。   If an unplaced effective image original remains (Yes in step S5), the number of output sheets is increased by 1, that is, m = m + 1 (step S6), and the process returns to step S4. In step S4, the process of collecting and arranging valid image originals in the print drawing area of the next output paper is executed again.

未配置の有効画像原稿が残っていない場合(ステップS5でNo)、制御部10の配置済み画像出力部26が動作し、m個の印刷用描画領域に集約配置された画像を出力部70に出力し、m枚の出力用紙上に集約印刷させる(ステップS7)。   If no unplaced effective image original remains (No in step S5), the placed image output unit 26 of the control unit 10 operates to output the images collectively arranged in the m print drawing areas to the output unit 70. The data is output and printed on m output sheets (step S7).

次に、図4を参照して、本実施形態の詳細な動作について説明する。   Next, the detailed operation of this embodiment will be described with reference to FIG.

図4は、第1の実施形態の原稿配置処理部の動作を説明するフローチャートである。   FIG. 4 is a flowchart for explaining the operation of the document placement processing unit of the first embodiment.

図4において、原稿配置処理部24は、先ず、作業用記憶部56に記憶されている有効画像原稿の内、最大の有効画像原稿を選択し、その有効画像原稿を印刷用描画領域の左上に配置し、その配置を確定する(図4のステップS11)。ここで、印刷用描画領域とは、出力用紙の内側で、集約印刷を行うことが可能な領域のことを示すものとする。なお、印刷用描画領域は、出力用紙の周辺に余白領域を設定して、出力用紙の余白領域の内側に収まる領域、すなわち、出力用紙の大きさよりも小さな領域でもよい。或いは、出力用紙に余白領域を設定せず、出力用紙と同じ大きさの領域であってもよい。また、印刷用描画領域上での配置が確定した有効画像原稿は、作業用記憶部56から消去するものとする。   In FIG. 4, the document placement processing unit 24 first selects the largest valid image document from the valid image documents stored in the work storage unit 56, and places the valid image document in the upper left of the print drawing area. Arrange and confirm the arrangement (step S11 in FIG. 4). Here, the drawing area for printing indicates an area in which output can be collectively performed inside the output paper. The print drawing area may be an area that is set inside the margin area of the output paper by setting a margin area around the output paper, that is, an area smaller than the size of the output paper. Alternatively, the margin area may not be set on the output sheet, and the area may be the same size as the output sheet. In addition, it is assumed that the effective image original whose arrangement on the print drawing area is fixed is deleted from the work storage unit 56.

次に、原稿配置処理部24は、作業用記憶部56に記憶されている有効画像原稿の内、次に大きな有効画像原稿を選択する(ステップS12)。次に、その有効画像原稿の高さ(hで表すものとする)と幅(wで表すものとする)を取得する(ステップS13)。そして、高さ(h)が幅(w)よりも大きいかを判定する(ステップS14)。   Next, the document placement processing unit 24 selects the next largest valid image document from the valid image documents stored in the work storage unit 56 (step S12). Next, the height (represented by h) and the width (represented by w) of the effective image original are acquired (step S13). Then, it is determined whether the height (h) is larger than the width (w) (step S14).

高さ(h)が幅(w)よりも大きい場合(ステップS14でYes)、当該有効画像原稿は縦長の有効画像原稿であるため、印刷用描画領域の中で、配置済みの有効画像原稿の右側に当該有効画像原稿を配置する(ステップS15)。高さ(h)が幅(w)よりも大きくない場合(ステップS14でNo)、当該有効画像原稿は横長の有効画像原稿であるため、印刷用描画領域の中で、配置済みの有効画像原稿の下側に当該有効画像原稿を配置する(ステップS16)。なお、ステップS15或いはS16にて配置する当該有効画像原稿の大きさは、縮小するなどの変更を行わない。   When the height (h) is larger than the width (w) (Yes in step S14), the effective image document is a vertically long effective image document, and therefore, the arranged effective image document in the print drawing area. The effective image original is placed on the right side (step S15). If the height (h) is not larger than the width (w) (No in step S14), the effective image document is a horizontally long effective image document, and therefore, the arranged effective image document in the print drawing area. The effective image original is placed on the lower side (step S16). It should be noted that the size of the effective image original placed in step S15 or S16 is not changed such as being reduced.

ここで、上記ステップS11〜S16の動作の具体例につき、図7を参照して説明する。   Here, a specific example of the operations in steps S11 to S16 will be described with reference to FIG.

図7の(a)は、ステップS11において、図6(c)に示した最大の有効画像原稿、すなわち第1の有効画像原稿を選択し、図7(a)の印刷用描画領域(実線で示す領域)の左上に配置した状態を示している。   In FIG. 7A, in step S11, the maximum effective image original shown in FIG. 6C, that is, the first effective image original is selected, and the print drawing area (solid line in FIG. 7A) is selected. The area arranged at the upper left of the area shown in FIG.

次に、ステップS12において、図6(c)に示した次に大きな有効画像原稿、すなわち第2の有効画像原稿を選択する。そして、第2の有効画像原稿は、図示しているように高さ(h)が幅(w)より小さく、横長の有効画像原稿である。従って、第2の有効画像原稿を、配置済みの有効画像原稿(第1の有効画像原稿)の下側に配置する(ステップS13〜S16)。第2の有効画像原稿を、配置済みの有効画像原稿の下側に配置した状態を図7(b)に示している。   Next, in step S12, the next largest effective image original shown in FIG. 6C, that is, the second effective image original is selected. The second effective image original is a horizontally long effective image original having a height (h) smaller than a width (w) as shown in the drawing. Therefore, the second effective image original is arranged below the arranged effective image original (first effective image original) (steps S13 to S16). FIG. 7B shows a state in which the second effective image original is arranged below the already arranged effective image original.

図4に戻り、ステップS15或いはステップS16で配置した有効画像原稿が、印刷用描画領域の内側に収まっているか否かを判定する(ステップS17)。収まっている場合(ステップS17でYes)、ステップS22に進む。   Returning to FIG. 4, it is determined whether or not the effective image original placed in step S15 or step S16 is within the print drawing area (step S17). If it is within the range (Yes in step S17), the process proceeds to step S22.

ステップS15或いはS16で配置した有効画像原稿が印刷用描画領域に収まっていない場合(ステップS17でNo)、ステップS18に進む。   If the effective image original placed in step S15 or S16 does not fit in the print drawing area (No in step S17), the process proceeds to step S18.

すなわち、ステップS18において、印刷用描画領域からはみ出した領域(以下、領域Aと称するものとする)を検出する。そして、はみ出した領域(領域A)を有する有効画像原稿を、領域Aの逆方向に、印刷用描画領域内に収まる距離だけシフトし、既に印刷用描画領域内で配置が確定している有効画像原稿と重ね合わせを行う(ステップS19)。   That is, in step S18, an area protruding from the printing drawing area (hereinafter referred to as area A) is detected. Then, the effective image original having the protruding area (area A) is shifted in the reverse direction of the area A by a distance that fits in the printing drawing area, and the effective image already arranged in the printing drawing area is determined. Overlaying with the original is performed (step S19).

そして、2つの有効画像原稿が重ね合わさった領域(以下、領域Bと称するものとする)につき、有効画素が有るかを検出する(ステップS20)。次に、何れか一方の領域Bに有効画素が無いかを判定する(ステップS21)。有効画素が無いということは、その領域Bには何の文字も絵も描かれていない空白の領域であることを示している。   Then, it is detected whether there is an effective pixel in an area where the two effective image originals are overlapped (hereinafter referred to as area B) (step S20). Next, it is determined whether there is no effective pixel in any one of the regions B (step S21). The absence of effective pixels indicates that the area B is a blank area in which no characters or pictures are drawn.

何れか一方の領域Bに有効画素が無い場合(ステップS21で無し)、他方の領域Bに有効画素が有ったとしても、その有効画素(文字や絵、など)は目視して判読可能であるため、重ね合わせは可能と判断する。そして、当該有効画像原稿の配置をその位置で確定する(ステップS22)。配置が確定した有効画像原稿は、作業用記憶部56から消去する。   If there is no effective pixel in one of the regions B (no in step S21), even if there is an effective pixel in the other region B, the effective pixel (character, picture, etc.) can be visually read. Therefore, it is determined that superposition is possible. Then, the arrangement of the effective image original is determined at that position (step S22). The valid image original whose arrangement has been determined is erased from the work storage unit 56.

なお、上記のステップS21では、何れか一方の領域Bに有効画素が無いかを判定しているが、これを、2つの領域B共に有効画素が無いか、と判定するようにしてもよい。この場合でも、重ね合わせは可能と判断し、当該有効画像原稿の配置をその位置で確定する。   In step S21, it is determined whether there is no effective pixel in one of the regions B. However, it may be determined that there is no effective pixel in both the regions B. Even in this case, it is determined that superposition is possible, and the arrangement of the effective image original is determined at that position.

ここで、上記ステップS17〜S22の動作の具体例につき図8を参照して説明する。   Here, a specific example of the operations in steps S17 to S22 will be described with reference to FIG.

図8の(a)は、図7(b)と同一であり、ステップS15或いはステップS16で、次に大きな第2の有効画像原稿を配置した状態を示している。   FIG. 8A is the same as FIG. 7B and shows a state in which the second largest effective image original is placed in step S15 or step S16.

そして、図8(a)の領域Aとして示す領域(ハッチングした部分)は、ステップS17及びS18において、印刷用描画領域からはみ出している領域として検出された領域である。ステップS18において、印刷用描画領域からはみ出した領域(領域A)を検出したため、ステップS19で、領域Aが印刷用描画領域の内側に収まるようシフトする。図8(b)は、シフトした後の状態を示しており、第1と第2の有効画像原稿が重ね合わさった領域を、領域B(ハッチングした部分)として示している。   And the area | region (hatched part) shown as the area | region A of Fig.8 (a) is an area | region detected as the area | region which protruded from the printing drawing area | region in step S17 and S18. In step S18, since an area (area A) that protrudes from the print drawing area is detected, in step S19, the area A is shifted to be within the print drawing area. FIG. 8B shows a state after the shift, and an area where the first and second effective image originals are overlapped is shown as an area B (hatched part).

次に、ステップS20で、第1の有効画像原稿の領域Bに有効画素が有るかを検出し、また、第2の有効画像原稿の領域Bに有効画素が有るかを検出する。図8(c)に示すように、第1の有効画像原稿の領域Bには有効画素が無く(何の文字も記載されていない)、第2の有効画像原稿の領域Bには有効画素が有る(釣り竿の絵の一部が描かれている)。従って、ステップS21では、何れか一方の領域B(第1の有効画像原稿の領域B)に有効画素が無い、と判定するので、図8(b)の状態で、第1と第2の有効画像原稿の配置を確定する(ステップS22)。   Next, in step S20, it is detected whether or not there is an effective pixel in the area B of the first effective image original, and whether or not there is an effective pixel in the area B of the second effective image original. As shown in FIG. 8C, there is no effective pixel in the area B of the first effective image original (no character is described), and there is an effective pixel in the area B of the second effective image original. Yes (part of fishing rod picture is drawn). Accordingly, in step S21, since it is determined that there is no effective pixel in any one of the regions B (region B of the first effective image original), the first and second effective pixels are in the state of FIG. 8B. The arrangement of the image original is determined (step S22).

図4に戻り、ステップS22で、当該有効画像原稿の配置を確定したので、次に、印刷用描画領域内に更なる有効画像原稿を配置可能な余白の領域が有るかを判定する(ステップS23)。印刷用描画領域内に余白の領域が無い場合(ステップS23でNo)、図4における原稿配置処理を終了する(ステップS25)。印刷用描画領域内に余白の領域がある場合(ステップS23でYes)、次に、作業用記憶部56に、未だ配置されていない有効画像原稿が有るかを判定する(ステップS24)。未だ配置されていない有効画像原稿がある場合(ステップS24でYes)、ステップS12に戻り、次に大きな有効画像原稿を作業用記憶部56から選択し配置する処理を続ける。未だ配置されていない有効画像原稿が無い場合(ステップS24でNo)、図4における原稿配置処理を終了する(ステップS25)。   Returning to FIG. 4, since the arrangement of the effective image original is determined in step S22, it is next determined whether or not there is a blank area in the print drawing area where an additional effective image original can be arranged (step S23). ). If there is no blank area in the print drawing area (No in step S23), the document placement process in FIG. 4 is terminated (step S25). If there is a blank area in the print drawing area (Yes in step S23), it is next determined whether or not there is a valid image document not yet arranged in the work storage unit 56 (step S24). If there is an effective image original that has not yet been arranged (Yes in step S24), the process returns to step S12, and the process of selecting and arranging the next largest effective image original from the work storage unit 56 is continued. If there is no valid image document that has not yet been placed (No in step S24), the document placement process in FIG. 4 is terminated (step S25).

次に、上記したステップS21の判定で、2つの重ね合わさった領域(領域B)に、共に有効画素が有った場合(ステップS21で有り)の処理について説明する。   Next, a description will be given of processing when there is an effective pixel in the two overlapped regions (region B) in the determination in step S21 described above (Yes in step S21).

2つの重ね合わさった領域(領域B)に、共に有効画素が有った場合(ステップS21で有り)は、領域Bの中で、2つの有効画像原稿に描かれている文字や絵などが重なってしまう。重なった状態の領域Bを目視した際、領域Bは判読不可能となる可能性が高い。従って、当該有効画像原稿のその位置への配置は不可能と判断し、当該有効画像原稿を回転させる処理を行う(ステップS30)。そして、回転させた後の当該有効画像原稿が、印刷用描画領域に集約配置可能かを再度試みる。ステップS30の回転処理の結果は2種類の何れかとなり、図4の「X」、「Y」の何れかの点に進む。   If there are valid pixels in the two overlapped regions (region B) (in step S21), characters and pictures drawn on the two valid image originals overlap in region B. End up. When the overlapping area B is viewed, the area B is likely to be unreadable. Therefore, it is determined that it is impossible to place the effective image original at that position, and the effective image original is rotated (step S30). Then, an attempt is made again to determine whether or not the effective image original after being rotated can be collectively arranged in the print drawing area. The result of the rotation process in step S30 is one of two types, and the process proceeds to either “X” or “Y” in FIG.

次に、図5を参照して、図4のステップS30の回転処理について説明する。   Next, the rotation process in step S30 in FIG. 4 will be described with reference to FIG.

図5は、第1の実施形態の回転処理の動作を説明するフローチャートである。   FIG. 5 is a flowchart for explaining the operation of the rotation processing according to the first embodiment.

図5における前提として、画像形成装置100の作業用記憶部56に記憶されている有効画像原稿は、回転を行っていない状態であるものとする。   As a premise in FIG. 5, it is assumed that the effective image original stored in the work storage unit 56 of the image forming apparatus 100 is not rotated.

図4のステップS21で有効画素有り、と判定された当該有効画像原稿が、先ず、回転を行っていない状態から180°回転されたかを判定する(図5のステップS31)。   It is first determined whether or not the effective image document determined to have effective pixels in step S21 in FIG. 4 has been rotated 180 ° from a state where it has not been rotated (step S31 in FIG. 5).

180°回転されていない場合(ステップS31でNo)、当該有効画像原稿を180°回転させる(ステップS32)。そして図4の「X」点、すなわちステップS14に進み、当該有効画像原稿の高さ(h)と幅(w)を比較し、縦長の有効画像原稿か横長の有効画像原稿かの何れかに基づいて、印刷用描画領域内への配置を再度行う。   If it is not rotated 180 ° (No in step S31), the effective image original is rotated 180 ° (step S32). Then, the process proceeds to the point “X” in FIG. 4, that is, step S 14, and the height (h) and width (w) of the effective image original are compared. Based on this, the arrangement in the printing drawing area is performed again.

180°の回転が既になされている場合(ステップS31でYes)、次に、当該有効画像原稿が90°回転されたかを判定する(ステップS33)。   If the rotation of 180 ° has already been made (Yes in step S31), it is next determined whether or not the effective image document has been rotated by 90 ° (step S33).

90°回転されていない場合(ステップS33でNo)、当該有効画像原稿を90°回転させる(ステップS34)。90°回転させるということは、当該有効画像原稿が当初、縦長であった場合には横長の、横長であった場合には縦長の有効画像原稿になったことと同じである。従って、当該有効画像原稿の高さ(h)と幅(w)の入れ替えを行い(ステップS35)、図4の「X」点、すなわちステップS14に進む。そして、当該有効画像原稿の高さ(h)と幅(w)を比較し、縦長の有効画像原稿か横長の有効画像原稿かの何れかに基づいて、印刷用描画領域内への配置を再度行う。   If it is not rotated by 90 ° (No in step S33), the effective image original is rotated by 90 ° (step S34). The rotation of 90 ° is the same as the case where the effective image original is a portrait image when the portrait image is initially portrait, and the portrait image when the portrait image is landscape. Accordingly, the height (h) and width (w) of the effective image original are exchanged (step S35), and the process proceeds to the “X” point in FIG. 4, ie, step S14. Then, the height (h) and the width (w) of the effective image original are compared, and the arrangement in the drawing area for printing is again performed based on either the vertical effective image original or the horizontal effective image original. Do.

90°の回転が既になされている場合(ステップS33でYes)、次に、当該有効画像原稿が270°回転されたかを判定する(ステップS36)。   If the 90 ° rotation has already been performed (Yes in step S33), it is next determined whether or not the effective image document has been rotated by 270 ° (step S36).

270°回転されていない場合(ステップS36でNo)、当該有効画像原稿を180°回転させる(ステップS37)。180°回転させるということは、直前の回転処理において、当該有効画像原稿がステップS34において90°回転されているため、当初の有効画像原稿(回転が全く行われていない状態)を270°回転させたことに相当する。そして、図4の「X」点、すなわちステップS14に進む。ステップS14以降においては、当該有効画像原稿の高さ(h)と幅(w)を比較し、縦長の有効画像原稿か横長の有効画像原稿かの何れかに基づいて、印刷用描画領域内への配置を再度行う。   If it is not rotated by 270 ° (No in step S36), the effective image original is rotated by 180 ° (step S37). Rotating 180 ° means that the effective image original is rotated 90 ° in step S34 in the immediately preceding rotation process, and therefore the original effective image original (not rotated at all) is rotated 270 °. It corresponds to that. Then, the process proceeds to the point “X” in FIG. 4, that is, step S14. In step S14 and subsequent steps, the height (h) and the width (w) of the effective image original are compared, and the effective image original is entered into the print drawing area based on either the vertical effective image original or the horizontal effective image original. Perform the placement again.

270°の回転が既になされている場合(ステップS36でYes)、当該有効画像原稿は、90°、180°、270°の回転を全て行って、再配置を試みたにもかかわらず、配置不可能と判定された場合となっている。そこで、当該有効画像原稿は、次の印刷用紙に出力するものとし、現在の印刷用描画領域内への配置を中断し(ステップS38)、図4の「Y」点、すなわちステップS23に進む。当該有効画像原稿は、次の印刷用紙に出力するものであるため、作業用記憶部56内にそのまま残しておく。   If the rotation of 270 ° has already been made (Yes in step S36), the effective image document is not arranged even though all the rotations of 90 °, 180 °, and 270 ° are performed and re-arrangement is attempted. In this case, it is determined that it is possible. Therefore, it is assumed that the valid image original is output to the next printing paper, the arrangement in the current print drawing area is interrupted (step S38), and the process proceeds to the “Y” point in FIG. 4, ie, step S23. Since the valid image original is to be output to the next printing paper, it remains in the work storage unit 56 as it is.

以上、本発明の第1の実施形態の動作について説明した。しかし、より良い集約印刷を行うために、以下に示すような変更を行ってもよい。   The operation of the first embodiment of the present invention has been described above. However, in order to perform better consolidated printing, the following changes may be made.

第1に、図4における終了処理(ステップS25)を行う前に、それまでに、印刷用描画領域内に配置した画像イメージ、すなわち、集約印刷可能なように配置された複数の有効画像原稿を含む画像イメージ、を、表示部60に表示するようにしてもよい。そして、表示部60に表示された画像イメージを見たユーザは、図4のステップS21における判定方法を変更するようにしてもよい。つまり、「何れか一方の領域Bに有効画素が無いか?」
の判定方法を、「2つの領域B共に有効画素が無いか?」に変更してもよい。或いは、印刷用描画領域の大きさを変更するようにしてもよい。
First, before the termination process (step S25) in FIG. 4 is performed, an image image arranged in the print drawing area, that is, a plurality of effective image originals arranged so as to be capable of collective printing is obtained. The included image may be displayed on the display unit 60. Then, the user who sees the image displayed on the display unit 60 may change the determination method in step S21 of FIG. That is, “Are there any valid pixels in any one of the regions B?”
The determination method may be changed to “Is there any valid pixel in both of the two regions B?”. Alternatively, the size of the print drawing area may be changed.

第2に、図4における動作により印刷用描画領域内に配置された有効画像原稿の外縁部に境界線を付すようにしてもよい。   Secondly, a boundary line may be attached to the outer edge portion of the effective image original arranged in the print drawing area by the operation in FIG.

第3に、図3のステップS1で入力部40から読み込んだ原稿データに、読み込んだ順を示すページ番号を付加するようにしてもよい。   Third, a page number indicating the reading order may be added to the document data read from the input unit 40 in step S1 of FIG.

このような変更を行うことにより、ユーザが入力部40から入力した原稿の有効画像領域を、より明確に認識することが可能となる。   By making such a change, the effective image area of the document input by the user from the input unit 40 can be recognized more clearly.

以上説明したように、本実施形態の画像形成装置は、複数の原稿を読み込んで複数の原稿データを得る入力手段(入力部40)を備えている。また、前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置する制御手段(制御部10)を備えている。さらに、前記印刷用描画領域内に配置された画像を出力用紙に集約印刷する出力手段(出力部70)を備えている。   As described above, the image forming apparatus according to this embodiment includes the input unit (input unit 40) that reads a plurality of documents and obtains a plurality of document data. Further, an effective image original of original data is obtained for each of the plurality of original data, and the plurality of effective image originals are arranged so that they can be collectively printed in one printing drawing area without changing the original size. Control means (control unit 10) is provided. Furthermore, an output means (output unit 70) is provided for collectively printing the images arranged in the print drawing area on output paper.

また、前記制御手段(制御部10)は、印刷用描画領域内に有効画像原稿を配置する際、前記有効画像原稿が縦長である場合は配置済みの有効画像原稿の右側に配置し、前記有効画像原稿が横長である場合は配置済みの有効画像原稿の下側に配置する。そして、配置した前記有効画像原稿が印刷用描画領域からはみ出した場合は、はみ出した部分が印刷用描画領域内に収まるよう前記有効画像原稿をシフトさせるよう動作する。   In addition, when the effective image original is vertically long, the control means (the control unit 10) arranges the effective image original on the right side of the arranged effective image original when the effective image original is vertically long. If the image original is horizontally long, it is placed below the already placed effective image original. Then, when the arranged effective image original protrudes from the printing drawing area, the effective image original is operated so as to shift the protruding portion within the printing drawing area.

さらに、前記制御手段(制御部10)は、前記有効画像原稿をシフトさせ配置済みの有効画像原稿と重なり合った領域内に有効画素が有るかを判定する。そして、何れか一方の前記重なり合った領域内、或いは両方の前記重なり合った領域内に有効画素が無い場合、前記有効画像原稿の配置をシフトさせた位置で確定するよう動作する。   Further, the control means (control unit 10) shifts the effective image original and determines whether or not there is an effective pixel in an area overlapping with the arranged effective image original. Then, when there is no effective pixel in one of the overlapping areas or in both of the overlapping areas, an operation is performed to determine the position of the effective image original at a shifted position.

またさらに、前記制御手段(制御部10)は、前記有効画像原稿をシフトさせ配置済みの有効画像原稿と重なり合った領域内に有効画素が有るかを判定する。そして、前記重なり合った領域内の両方に有効画素がある場合、前記有効画像原稿を180°或いは90°或いは270°回転させた後、前記有効画像原稿の配置を再度初めから実行するよう動作する。   Furthermore, the control means (control unit 10) shifts the effective image original and determines whether there is an effective pixel in an area overlapping with the arranged effective image original. When there are effective pixels in both of the overlapping areas, the effective image original is rotated by 180 °, 90 ° or 270 °, and then the effective image original is arranged again from the beginning.

従って、本実施形態によれば、集約印刷した画像に潰れが生じることはない。   Therefore, according to the present embodiment, no collapse occurs in the consolidated and printed image.

また、本実施形態によれば、より効率的に集約印刷を行うことが可能となる。   Further, according to the present embodiment, it is possible to perform aggregate printing more efficiently.

さらに、本実施形態によれば、出力用紙を節減することが可能となる。   Furthermore, according to the present embodiment, output paper can be saved.

またさらに、本実施形態によれば、ユーザが入力した原稿の有効画像領域を、より明確に認識することが可能となる。   Furthermore, according to the present embodiment, it is possible to more clearly recognize the effective image area of the document input by the user.

さらにまた、本実施形態によれば、ユーザは原稿を入力部にセットするだけであり、ユーザが時間的に拘束されることはない。
[第2の実施形態]
次に、本発明の画像形成装置の第2の実施形態について説明する。
Furthermore, according to the present embodiment, the user only sets the document on the input unit, and the user is not restricted in time.
[Second Embodiment]
Next, a second embodiment of the image forming apparatus of the present invention will be described.

図9は、本発明の画像形成装置の第2の実施形態を示す機能ブロック図である。   FIG. 9 is a functional block diagram showing a second embodiment of the image forming apparatus of the present invention.

なお、本発明の第2の実施形態は、図1に示した機能ブロック図における入力部40を削除し、入力部40に代えて、制御部10の画像編集部20内にプリンタドライバを追加した点が異なっている。また、記憶部50内にファイル記憶部を追加した点が異なっているものである。従って、図9において、図1の構成要素に対応するものは同一の参照数字または符号を付し、その説明を極力省略するものとする。   In the second embodiment of the present invention, the input unit 40 in the functional block diagram shown in FIG. 1 is deleted, and a printer driver is added in the image editing unit 20 of the control unit 10 in place of the input unit 40. The point is different. Moreover, the point which added the file memory | storage part in the memory | storage part 50 differs. Therefore, in FIG. 9, the same reference numerals or symbols are assigned to the components corresponding to those in FIG. 1, and the description thereof is omitted as much as possible.

図9に示す画像形成装置100−1は、制御部10−1を含んでいる。そして、制御部10−1に接続される装置操作部30、記憶部50−1、表示部60、出力部70を含んでいる。   An image forming apparatus 100-1 illustrated in FIG. 9 includes a control unit 10-1. And the apparatus operation part 30, the memory | storage part 50-1, the display part 60, and the output part 70 connected to the control part 10-1 are included.

制御部10−1は、画像形成装置100−1全体の動作制御を行う。そして、特に、集約印刷を行うために画像の編集処理を行う画像編集部20−1を含んでいる。   The control unit 10-1 controls the operation of the entire image forming apparatus 100-1. In particular, it includes an image editing unit 20-1 that performs image editing processing in order to perform aggregate printing.

上述した制御部10−1の画像編集部20−1は、有効画像領域取得部22−1、原稿配置処理部24、配置済み画像出力部26、プリンタドライバ28を含んでいる。   The image editing unit 20-1 of the control unit 10-1 described above includes an effective image area acquisition unit 22-1, an original arrangement processing unit 24, an arranged image output unit 26, and a printer driver 28.

プリンタドライバ28は、後述する記憶部50−1のファイル記憶部58から、ファイル内の原稿をビットマップデータとして読み込み、記憶部50−1の画像記憶部52に原稿データとして記憶させる。   The printer driver 28 reads a document in the file as bitmap data from a file storage unit 58 of the storage unit 50-1 to be described later, and stores it as image data in the image storage unit 52 of the storage unit 50-1.

有効画像領域取得部22−1は、画像記憶部52の原稿データから、集約印刷を行う部分画像としての領域、すなわち、有効画像領域を求め、有効画像領域内の画像を有効画像原稿として記憶部50−1の作業用記憶部56に記憶させる。   The effective image area acquisition unit 22-1 obtains an area as a partial image to be subjected to aggregate printing, that is, an effective image area, from the document data in the image storage unit 52, and stores an image in the effective image area as an effective image document. The data is stored in the work storage unit 50-1.

原稿配置処理部24、配置済み画像出力部26は、第1の実施形態と同一であるため、その説明を省略する。   Since the document arrangement processing unit 24 and the arranged image output unit 26 are the same as those in the first embodiment, the description thereof is omitted.

記憶部50−1は、画像形成装置100−1を動作させるプログラムや、各種のデータを記憶する。特に、上述した画像編集部20−1のプリンタドライバ28が取得した原稿データを記憶する画像記憶部52を含んでいる。また、画像形成装置100−1の各種のプログラム(プリンタドライバ28のプログラムも含む)を記憶するプログラム記憶部54−1を含んでいる。さらに、制御部10−1が生成したデータやファイルなどを記憶し、また、それらを読み出させる作業用記憶部56を含んでいる。またさらに、文書ファイルや画像ファイルなど、集約印刷の対象となるファイルを記憶するファイル記憶部58を含んでいる。   The storage unit 50-1 stores a program for operating the image forming apparatus 100-1 and various data. In particular, it includes an image storage unit 52 for storing document data acquired by the printer driver 28 of the image editing unit 20-1. Further, it includes a program storage unit 54-1 for storing various programs of the image forming apparatus 100-1 (including programs of the printer driver 28). Furthermore, it includes a work storage unit 56 that stores data and files generated by the control unit 10-1 and reads them. Furthermore, a file storage unit 58 that stores files to be subjected to aggregate printing, such as document files and image files, is included.

装置操作部30、表示部60、出力部70は、第1の実施形態と同一であるため、その説明を省略する。   Since the device operation unit 30, the display unit 60, and the output unit 70 are the same as those in the first embodiment, description thereof is omitted.

次に、図9に機能ブロック図として示した画像形成装置を、実際のハードウェアで構成した一例につき、図10を参照して説明する。   Next, an example in which the image forming apparatus shown as a functional block diagram in FIG. 9 is configured by actual hardware will be described with reference to FIG.

図10は、本発明の画像形成装置の第2の実施形態のハードウェア構成の一例を示す図である。   FIG. 10 is a diagram illustrating an example of a hardware configuration of the second embodiment of the image forming apparatus of the present invention.

図10に示す画像形成装置100−1は、パーソナルコンピュータで構成したものとしたハードウェア構成の一例を示すものである。図10に示す画像形成装置100−1は、CPU10h−1、操作部30h−1、HDD52h、ROM54h−1、RAM56h、フラッシュメモリ58h、ディスプレイ60h、ネットワークI/F(inter face:インターフェース)70h−1が、バス80hを介して接続されている。また、ネットワークI/F70h−1には、ネットワークプリンタ70h−3が、LAN(Local Area Network:ラン)70h−2を介して接続されている。   An image forming apparatus 100-1 illustrated in FIG. 10 illustrates an example of a hardware configuration configured with a personal computer. An image forming apparatus 100-1 shown in FIG. 10 includes a CPU 10h-1, an operation unit 30h-1, an HDD 52h, a ROM 54h-1, a RAM 56h, a flash memory 58h, a display 60h, and a network interface (interface) 70h-1. Are connected via a bus 80h. A network printer 70h-3 is connected to the network I / F 70h-1 via a LAN (Local Area Network) 70h-2.

CPU10h−1は、図9の制御部10−1に相当し、ROM54h−1に記憶されているプログラムを実行することにより、画像形成装置100−1全体の動作制御を行う。   The CPU 10h-1 corresponds to the control unit 10-1 in FIG. 9, and controls the operation of the entire image forming apparatus 100-1 by executing a program stored in the ROM 54h-1.

操作部30h−1は、図9の装置操作部30に相当し、キーボードやマウスなどで構成されている。   The operation unit 30h-1 corresponds to the device operation unit 30 in FIG. 9, and includes a keyboard, a mouse, and the like.

HDD52hは、図9の画像記憶部52に相当する。   The HDD 52h corresponds to the image storage unit 52 in FIG.

ROM54h−1は、図9のプログラム記憶部54−1に相当し、画像形成装置100−1の各種のプログラム(プリンタドライバ28のプログラムも含む)を記憶している。   The ROM 54h-1 corresponds to the program storage unit 54-1 in FIG. 9, and stores various programs (including the printer driver 28 program) of the image forming apparatus 100-1.

RAM56hは、図9の作業用記憶部56に相当する。   The RAM 56h corresponds to the work storage unit 56 in FIG.

ディスプレイ60hは、図9の表示部60に相当する。   The display 60h corresponds to the display unit 60 in FIG.

ネットワークI/F70h−1、LAN70h−2、ネットワークプリンタ70h−3は、図9の出力部70に相当する。   The network I / F 70h-1, the LAN 70h-2, and the network printer 70h-3 correspond to the output unit 70 in FIG.

バス80hは、上記のCPU10h−1、操作部30h−1、HDD52h、ROM54h−1、RAM56h、フラッシュメモリ58h、ディスプレイ60h、ネットワークI/F70h−1の各ハードウェアを結ぶ信号路である。   The bus 80h is a signal path connecting the hardware of the CPU 10h-1, the operation unit 30h-1, the HDD 52h, the ROM 54h-1, the RAM 56h, the flash memory 58h, the display 60h, and the network I / F 70h-1.

次に、図11を参照して、図9に示した本実施形態の動作について説明する。   Next, the operation of the present embodiment shown in FIG. 9 will be described with reference to FIG.

図11は、第2の実施形態の基本的な動作を説明するフローチャートである。   FIG. 11 is a flowchart for explaining the basic operation of the second embodiment.

上述したように、本発明の第2の実施形態は、図1に示した機能ブロック図における入力部40を削除し、入力部40に代えて、制御部10(本実施形態では10−1)の画像編集部20(本実施形態では20−1)内にプリンタドライバ28を追加した点が異なっている。また、記憶部50(本実施形態では50−1)内にファイル記憶部58を追加した点が異なっているものである。従って、図11において、図3の構成要素に対応するものは同一の参照数字または符号を付し、その説明を極力省略するものとする。   As described above, the second embodiment of the present invention deletes the input unit 40 in the functional block diagram shown in FIG. 1 and replaces the input unit 40 with the control unit 10 (10-1 in this embodiment). The difference is that a printer driver 28 is added to the image editing unit 20 (20-1 in this embodiment). Moreover, the point which added the file memory | storage part 58 in the memory | storage part 50 (50-1 in this embodiment) differs. Therefore, in FIG. 11, the same reference numerals or symbols are assigned to components corresponding to those in FIG. 3, and the description thereof is omitted as much as possible.

先ず、画像形成装置100−1のユーザは、画像形成装置100−1の記憶部50−1のファイル記憶部58に、集約印刷させたい原稿を含むファイルを記憶させておくものとする。   First, it is assumed that the user of the image forming apparatus 100-1 stores a file including a document to be consolidated and printed in the file storage unit 58 of the storage unit 50-1 of the image forming apparatus 100-1.

そして、装置操作部30から集約印刷を行わせるファイル名を入力し、集約印刷を行わせる指示入力を行う。すると、制御部10−1の画像編集部20−1が図11に示す動作を開始する。   Then, a file name for performing aggregate printing is input from the apparatus operation unit 30, and an instruction for performing aggregate printing is input. Then, the image editing unit 20-1 of the control unit 10-1 starts the operation illustrated in FIG.

はじめに、画像編集部20−1のプリンタドライバ28は、入力されたファイル名のファイルからn枚分の原稿をビットマップデータとして取得し、取得したビットマップデータを原稿データとして、記憶部50−1の画像記憶部52に記憶させる(図11のステップS1−1)。なお、ファイルから原稿をビットマップデータとして取得するためには、当該ファイルを閲覧するプログラムを起動して閲覧用の画像を作業用記憶部56などに記憶させ、閲覧用の画像をそのままビットマップデータとして取得するようにするとよい。画像記憶部52に記憶された原稿データはn枚分となる。   First, the printer driver 28 of the image editing unit 20-1 acquires n originals as bitmap data from the input file name file, and uses the acquired bitmap data as original data to store the storage unit 50-1. Are stored in the image storage unit 52 (step S1-1 in FIG. 11). In order to acquire a document as bitmap data from a file, a program for browsing the file is started, a browsing image is stored in the work storage unit 56, and the browsing image is directly converted into bitmap data. It is better to get as. The document data stored in the image storage unit 52 is n sheets.

次に、画像編集部20−1の有効画像領域取得部22−1が動作し、画像記憶部52に記憶されたn枚分の原稿データそれぞれの有効画像領域を求め、有効画像領域内の画像を有効画像原稿として、記憶部50−1の作業用記憶部56に記憶させる(ステップS2−1)。なお、ステップS2−1における動作は、第1の実施形態の図6で説明した動作と同一である。   Next, the effective image area acquisition unit 22-1 of the image editing unit 20-1 operates to obtain an effective image area for each of n sheets of document data stored in the image storage unit 52, and an image in the effective image area is obtained. Is stored as an effective image document in the work storage unit 56 of the storage unit 50-1 (step S2-1). Note that the operation in step S2-1 is the same as the operation described in the first embodiment with reference to FIG.

そして、ステップS2−1の後、画像編集部20−1の原稿配置処理部24が動作し、出力用紙の印刷用描画領域に、有効画像原稿を集約して配置する処理を行う。   After step S 2-1, the document arrangement processing unit 24 of the image editing unit 20-1 operates to perform a process of collecting and arranging effective image documents in the print drawing area of the output paper.

なお、原稿配置処理部24が動作を開始した後、集約配置された画像を出力部70に出力し、出力用紙上に集約印刷させる動作(図11のステップS3〜ステップS7の動作)は、第1の実施形態で説明した動作と同一である。従って、第2の実施形態の動作に関するこれ以上の説明は省略するものとする。   In addition, after the document placement processing unit 24 starts operation, the operation of outputting the collectively arranged image to the output unit 70 and performing the aggregate printing on the output paper (the operation of Step S3 to Step S7 in FIG. 11) The operation is the same as that described in the first embodiment. Therefore, further explanation regarding the operation of the second embodiment will be omitted.

以上、本発明の第2の実施形態の動作について説明した。   The operation of the second embodiment of the present invention has been described above.

以上説明したように、本実施形態の画像形成装置は、複数の原稿をファイルから取得して複数の原稿データを得る入力手段(プリンタドライバ28)を備えている。また、前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置する制御手段(制御部10−1)を備えている。さらに、前記印刷用描画領域内に配置された画像を出力用紙に集約印刷する出力手段(出力部70)を備えている。   As described above, the image forming apparatus according to the present embodiment includes the input unit (printer driver 28) that obtains a plurality of document data by acquiring a plurality of documents from a file. Further, an effective image original of original data is obtained for each of the plurality of original data, and the plurality of effective image originals are arranged so that they can be collectively printed in one printing drawing area without changing the original size. Control means (control unit 10-1) is provided. Furthermore, an output means (output unit 70) is provided for collectively printing the images arranged in the print drawing area on output paper.

従って、本実施形態によれば、ファイルから原稿を取得して集約印刷を行うことが可能となる。   Therefore, according to the present embodiment, it is possible to acquire a document from a file and perform collective printing.

また、本実施形態によれば、原稿を読み取るスキャナなどの装置が不要となる。   Further, according to the present embodiment, an apparatus such as a scanner for reading a document is not necessary.

なお、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。
(付記1)
複数の原稿を読み込んで複数の原稿データを得る入力手段と、
前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置する制御手段と、
前記印刷用描画領域内に配置された画像を出力用紙に集約印刷する出力手段と、
を備えていることを特徴とする画像形成装置。
(付記2)
前記制御手段は、印刷用描画領域内に有効画像原稿を配置する際、前記有効画像原稿が縦長である場合は配置済みの有効画像原稿の右側に配置し、前記有効画像原稿が横長である場合は配置済みの有効画像原稿の下側に配置し、配置した前記有効画像原稿が印刷用描画領域からはみ出した場合は、はみ出した部分が印刷用描画領域内に収まるよう前記有効画像原稿をシフトさせる、
ことを特徴とする付記1に記載の画像形成装置。
(付記3)
前記制御手段は、前記有効画像原稿をシフトさせ配置済みの有効画像原稿と重なり合った領域内に有効画素が有るかを判定し、何れか一方の前記重なり合った領域内、或いは両方の前記重なり合った領域内に有効画素が無い場合、前記有効画像原稿の配置をシフトさせた位置で確定する、
ことを特徴とする付記2に記載の画像形成装置。
(付記4)
前記制御手段は、前記有効画像原稿をシフトさせ配置済みの有効画像原稿と重なり合った領域内に有効画素が有るかを判定し、前記重なり合った領域内の両方に有効画素がある場合、前記有効画像原稿を180°或いは90°或いは270°回転させた後、前記有効画像原稿の配置を再度初めから実行する、
ことを特徴とする付記2に記載の画像形成装置。
(付記5)
前記入力手段は、ファイルから原稿を取得して複数の原稿データを得る、
ことを特徴とする付記1から付記4の何れかに記載の画像形成装置。
(付記6)
前記制御手段は、印刷用描画領域内に配置した有効画像原稿のそれぞれの外縁部に境界線を付す、
ことを特徴とする付記1〜付記5の何れかに記載の画像形成装置。
(付記7)
前記制御手段は、印刷用描画領域内に配置した有効画像原稿のそれぞれにページ番号を付加する、
ことを特徴とする付記1〜付記6の何れかに記載の画像形成装置。
(付記8)
複数の原稿を読み込んで複数の原稿データを得、
前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置し、
前記印刷用描画領域内に配置された画像を出力用紙に集約印刷する、
ことを特徴とする集約印刷方法。
(付記9)
前記印刷用描画領域内に有効画像原稿を配置する際、前記有効画像原稿が縦長である場合は配置済みの有効画像原稿の右側に配置し、前記有効画像原稿が横長である場合は配置済みの有効画像原稿の下側に配置し、配置した前記有効画像原稿が印刷用描画領域からはみ出した場合は、はみ出した部分が印刷用描画領域内に収まるよう前記有効画像原稿をシフトさせる、
ことを特徴とする付記8に記載の集約印刷方法。
(付記10)
前記有効画像原稿をシフトさせた後、配置済みの有効画像原稿と重なり合った領域内に有効画素が有るかを判定し、何れか一方の前記重なり合った領域内、或いは両方の前記重なり合った領域内に有効画素が無い場合、前記有効画像原稿の配置をシフトさせた位置で確定する、
ことを特徴とする付記9に記載の集約印刷方法。
(付記11)
前記有効画像原稿をシフトさせた後、配置済みの有効画像原稿と重なり合った領域内に有効画素が有るかを判定し、前記重なり合った領域内の両方に有効画素がある場合、前記有効画像原稿を180°或いは90°或いは270°回転させた後、前記有効画像原稿の配置を再度初めから実行する、
ことを特徴とする付記9に記載の集約印刷方法。
(付記12)
前記印刷用描画領域内に配置した有効画像原稿のそれぞれの外縁部に境界線を付す、
ことを特徴とする付記8〜付記11の何れかに記載の集約印刷方法。
(付記13)
前記印刷用描画領域内に配置した有効画像原稿のそれぞれにページ番号を付加する、
ことを特徴とする付記8〜付記12の何れかに記載の集約印刷方法。
In addition, although a part or all of said embodiment can be described also as the following additional remarks, it is not restricted to the following.
(Appendix 1)
Input means for reading a plurality of documents and obtaining a plurality of document data;
Control means for obtaining an effective image original of original data for each of the plurality of original data and arranging the plurality of effective image originals in a single print drawing area without changing the original size. When,
Output means for collectively printing the images arranged in the drawing area for printing on output paper;
An image forming apparatus comprising:
(Appendix 2)
When the effective image original is vertically long when the effective image original is placed in the print drawing area, the control unit places the effective image original on the right side of the arranged effective image original, and the effective image original is horizontally long. Is placed below the arranged effective image original, and when the arranged effective image original protrudes from the printing drawing area, the effective image original is shifted so that the protruding portion fits within the printing drawing area. ,
The image forming apparatus according to appendix 1, wherein
(Appendix 3)
The control means shifts the effective image original and determines whether or not there is an effective pixel in an area overlapping the arranged effective image original, and either one of the overlapping areas or both of the overlapping areas If there is no effective pixel in the position, the arrangement of the effective image original is determined at a shifted position.
The image forming apparatus according to appendix 2, wherein
(Appendix 4)
The control means shifts the effective image original to determine whether there is an effective pixel in an area overlapping with the arranged effective image original, and when there is an effective pixel in both of the overlapping areas, the effective image After the original is rotated 180 °, 90 ° or 270 °, the arrangement of the effective image original is executed again from the beginning.
The image forming apparatus according to appendix 2, wherein
(Appendix 5)
The input means obtains a document from a file to obtain a plurality of document data;
The image forming apparatus according to any one of Supplementary Note 1 to Supplementary Note 4, wherein:
(Appendix 6)
The control means attaches a boundary line to each outer edge portion of the effective image original arranged in the printing drawing area.
The image forming apparatus according to any one of Supplementary Note 1 to Supplementary Note 5, wherein:
(Appendix 7)
The control means adds a page number to each of the effective image originals arranged in the print drawing area.
The image forming apparatus according to any one of appendix 1 to appendix 6, wherein:
(Appendix 8)
Read multiple originals to obtain multiple original data,
An effective image original of original data is obtained for each of the plurality of original data, and the plurality of effective image originals are arranged so that they can be collectively printed in one print drawing area without changing the original size,
The images arranged in the drawing area for printing are collectively printed on output paper.
An aggregate printing method characterized by the above.
(Appendix 9)
When an effective image original is placed in the print drawing area, if the effective image original is vertically long, it is placed on the right side of the arranged effective image original, and if the effective image original is horizontally long, it is already placed. The effective image original is placed below the effective image original, and when the arranged effective image original protrudes from the print drawing area, the effective image original is shifted so that the protruding portion is within the print drawing area.
The collective printing method according to appendix 8, characterized in that:
(Appendix 10)
After shifting the effective image original, it is determined whether there is an effective pixel in an area overlapping with the arranged effective image original, and in either one of the overlapping areas or both in the overlapping areas. When there is no effective pixel, the position of the effective image original is determined at a shifted position.
The collective printing method according to appendix 9, characterized in that:
(Appendix 11)
After the effective image original is shifted, it is determined whether there is an effective pixel in an area overlapping with the arranged effective image original. If there is an effective pixel in both of the overlapping areas, the effective image original is After rotating 180 °, 90 °, or 270 °, the effective image original is placed again from the beginning.
The collective printing method according to appendix 9, characterized in that:
(Appendix 12)
A boundary line is attached to each outer edge portion of the effective image original arranged in the drawing area for printing,
The collective printing method according to any one of appendix 8 to appendix 11, wherein:
(Appendix 13)
A page number is added to each of the effective image originals arranged in the print drawing area.
The collective printing method according to any one of appendix 8 to appendix 12, characterized in that:

10 制御部
10−1 制御部
20 画像編集部
20−1 画像編集部
22 有効画像領域取得部
22−1 有効画像領域取得部
24 原稿配置処理部
26 配置済み画像出力部
28 プリンタドライバ
30 装置操作部
40 入力部
50 記憶部
50−1 記憶部
52 画像記憶部
54 プログラム記憶部
54−1 プログラム記憶部
56 作業用記憶部
58 ファイル記憶部
60 表示部
70 出力部
100 画像形成装置
100−1 画像形成装置
10h CPU
10h−1 CPU
30h 操作パネル
30h−1 操作部
40h スキャナ
52h HDD
54h ROM
54h−1 ROM
56h RAM
58h フラッシュメモリ
60h ディスプレイ
70h プリンタ
70h−1 ネットワークI/F
70h−2 LAN
70h−3 ネットワークプリンタ
80h バス
DESCRIPTION OF SYMBOLS 10 Control part 10-1 Control part 20 Image edit part 20-1 Image edit part 22 Effective image area | region acquisition part 22-1 Effective image area | region acquisition part 24 Original arrangement | positioning process part 26 Arranged image output part 28 Printer driver 30 Apparatus operation part DESCRIPTION OF SYMBOLS 40 Input part 50 Storage part 50-1 Storage part 52 Image storage part 54 Program storage part 54-1 Program storage part 56 Work storage part 58 File storage part 60 Display part 70 Output part 100 Image forming apparatus 100-1 Image forming apparatus 10h CPU
10h-1 CPU
30h Operation panel 30h-1 Operation unit 40h Scanner 52h HDD
54h ROM
54h-1 ROM
56h RAM
58h Flash memory 60h Display 70h Printer 70h-1 Network I / F
70h-2 LAN
70h-3 network printer 80h bus

Claims (3)

複数の原稿を読み込んで複数の原稿データを得る入力手段と、
前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置する制御手段と、
前記印刷用描画領域内に配置された画像を出力用紙に集約印刷する出力手段と、
を備え、
前記制御手段は、
少なくとも1つの有効画像原稿が配置済みの前記印刷用描画領域内に、別の所定の有効画像原稿を配置する際、前記所定の有効画像原稿が縦長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の右側に配置し、前記所定の有効画像原稿が横長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の下側に配置し、
前記所定の有効画像原稿が前記印刷用描画領域内に収まっている場合には、前記所定の有効画像原稿の配置を確定し、
前記所定の有効画像原稿が前記印刷用描画領域からはみ出した場合は、はみ出した部分が前記印刷用描画領域内に収まるよう前記所定の有効画像原稿を前記はみ出した部分の逆方向にシフトさせ、
シフトさせた前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、前記重なり合った領域内に有効画素が有る場合、前記所定の有効画像原稿を180°或いは90°或いは270°回転させ、
前記複数の回転のうちのいずれかの回転を実行することにより、前記所定の有効画像原稿が前記印刷用描画領域からはみ出さないか、あるいは回転後にシフトした前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、
前記複数の回転すべてを実行しても、前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が有る場合、前記印刷用描画領域における前記所定の有効画像原稿の配置を中断する
ことを特徴とする画像形成装置。
Input means for reading a plurality of documents and obtaining a plurality of document data;
Control means for obtaining an effective image original of original data for each of the plurality of original data and arranging the plurality of effective image originals in a single print drawing area without changing the original size. When,
Output means for collectively printing the images arranged in the drawing area for printing on output paper;
Bei to give a,
The control means includes
When another predetermined effective image original is placed in the print drawing area where at least one effective image original has been arranged, if the predetermined effective image original is vertically long, the predetermined effective image original is Arranged on the right side of the arranged effective image original, and when the predetermined effective image original is horizontally long, the predetermined effective image original is arranged below the arranged effective image original,
If the predetermined effective image original is within the drawing area for printing, the arrangement of the predetermined effective image original is determined,
When the predetermined effective image original protrudes from the printing drawing area, the predetermined effective image original is shifted in a direction opposite to the protruding part so that the protruding part is accommodated in the printing drawing area.
When there is no effective pixel in the area where the shifted predetermined effective image original and the arranged effective image original overlap, the arrangement of the predetermined effective image original is determined, and the effective pixel in the overlapping area is determined. The predetermined effective image original is rotated 180 °, 90 ° or 270 °,
By executing any one of the plurality of rotations, the predetermined effective image original does not protrude from the print drawing area, or the predetermined effective image original shifted after the rotation and the arranged If there is no effective pixel in the area where the effective image original overlaps, the arrangement of the predetermined effective image original is determined,
Even if all of the plurality of rotations are performed, if there is an effective pixel in an area where the predetermined effective image original and the arranged effective image original overlap, the predetermined effective image original in the drawing area for printing An image forming apparatus characterized by interrupting the arrangement of the image forming apparatus.
前記入力手段は、ファイルから原稿を取得して複数の原稿データを得る、
ことを特徴とする請求項1に記載の画像形成装置。
The input means obtains a document from a file to obtain a plurality of document data;
The image forming apparatus according to claim 1 .
複数の原稿を読み込んで複数の原稿データを得、
前記複数の原稿データそれぞれについて原稿データの有効画像原稿を得て、複数の前記有効画像原稿を元の大きさを変えずに1つの印刷用描画領域内に集約印刷可能なように配置し、
前記印刷用描画領域内に配置された画像を出力用紙に集約印刷し、
少なくとも1つの有効画像原稿が配置済みの前記印刷用描画領域内に、別の所定の有効画像原稿を配置する際、前記所定の有効画像原稿が縦長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の右側に配置し、前記所定の有効画像原稿が横長である場合は前記所定の有効画像原稿を前記配置済みの有効画像原稿の下側に配置し、
前記所定の有効画像原稿が前記印刷用描画領域内に収まっている場合には、前記所定の有効画素画像原稿の配置を確定し、
前記所定の有効画像原稿が前記印刷用描画領域からはみ出した場合は、はみ出した部分が前記印刷用描画領域内に収まるよう前記所定の有効画像原稿を前記はみ出した部分の逆方向にシフトさせ、
シフトさせた前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、前記重なり合った領域内に有効画素が有る場合、前記所定の有効画像原稿を180°或いは90°或いは270°回転させ、
前記複数の回転のうちのいずれかの回転を実行することにより、前記所定の有効画像原稿が前記印刷用描画領域からはみ出さないか、あるいは回転後にシフトした前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が無い場合、前記所定の有効画像原稿の配置を確定し、
前記複数の回転すべてを実行しても、前記所定の有効画像原稿と前記配置済みの有効画像原稿とが重なり合った領域内に有効画素が有る場合、前記印刷用描画領域における前記所定の有効画像原稿の配置を中断する
ことを特徴とする集約印刷方法。
Read multiple originals to obtain multiple original data,
An effective image original of original data is obtained for each of the plurality of original data, and the plurality of effective image originals are arranged so that they can be collectively printed in one print drawing area without changing the original size,
The images arranged in the drawing area for printing are collectively printed on output paper ,
When another predetermined effective image original is placed in the print drawing area where at least one effective image original has been arranged, if the predetermined effective image original is vertically long, the predetermined effective image original is Arranged on the right side of the arranged effective image original, and when the predetermined effective image original is horizontally long, the predetermined effective image original is arranged below the arranged effective image original,
When the predetermined effective image original is within the drawing area for printing, the arrangement of the predetermined effective pixel image original is determined,
When the predetermined effective image original protrudes from the printing drawing area, the predetermined effective image original is shifted in a direction opposite to the protruding part so that the protruding part is accommodated in the printing drawing area.
When there is no effective pixel in the area where the shifted predetermined effective image original and the arranged effective image original overlap, the arrangement of the predetermined effective image original is determined, and the effective pixel in the overlapping area is determined. The predetermined effective image original is rotated 180 °, 90 ° or 270 °,
By executing any one of the plurality of rotations, the predetermined effective image original does not protrude from the print drawing area, or the predetermined effective image original shifted after the rotation and the arranged If there is no effective pixel in the area where the effective image original overlaps, the arrangement of the predetermined effective image original is determined,
Even if all of the plurality of rotations are performed, if there is an effective pixel in an area where the predetermined effective image original and the arranged effective image original overlap, the predetermined effective image original in the drawing area for printing An aggregate printing method characterized by interrupting the arrangement of the prints.
JP2011029771A 2011-02-15 2011-02-15 Image forming apparatus and aggregate printing method Expired - Fee Related JP5291131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011029771A JP5291131B2 (en) 2011-02-15 2011-02-15 Image forming apparatus and aggregate printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011029771A JP5291131B2 (en) 2011-02-15 2011-02-15 Image forming apparatus and aggregate printing method

Publications (2)

Publication Number Publication Date
JP2012169909A JP2012169909A (en) 2012-09-06
JP5291131B2 true JP5291131B2 (en) 2013-09-18

Family

ID=46973586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011029771A Expired - Fee Related JP5291131B2 (en) 2011-02-15 2011-02-15 Image forming apparatus and aggregate printing method

Country Status (1)

Country Link
JP (1) JP5291131B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6294373B2 (en) * 2016-03-23 2018-03-14 Necプラットフォームズ株式会社 Image forming apparatus, image forming method, and computer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004104324A (en) * 2002-09-06 2004-04-02 Ricoh Co Ltd Image forming apparatus
JP2006115348A (en) * 2004-10-15 2006-04-27 Ricoh Co Ltd Image information device and image printing method

Also Published As

Publication number Publication date
JP2012169909A (en) 2012-09-06

Similar Documents

Publication Publication Date Title
JP4704288B2 (en) Image processing apparatus and program
US8115968B2 (en) Image processing apparatus, computer program product, and preview image displaying method
JP4828338B2 (en) Image processing apparatus and program
US9203983B2 (en) Image forming apparatus and image data processing method
JP2007188054A (en) Image forming apparatus, program, and item setting processing method
JP7094733B2 (en) Image processing device, program, image processing method
US8891129B2 (en) Image forming apparatus having real-size preview function, method of controlling the same, and storage medium
JP2007036809A (en) Image forming apparatus
JP5291131B2 (en) Image forming apparatus and aggregate printing method
JP2005005768A (en) Image processing apparatus, image processing method, and program
JP2019201356A (en) Image processing apparatus, program, and image processing method
JP5304546B2 (en) Image forming apparatus, image composition method, and program
JP4826241B2 (en) Copier, copier system, and computer program
JP7131341B2 (en) Image forming apparatus, image forming method and program
JP2006260398A (en) Printing controller and its control method
JP6288464B2 (en) Image forming apparatus and image forming program
JP2019106007A (en) Display device, display control method and program
JP3987066B2 (en) Image forming apparatus, image forming method, and program
JP7327591B2 (en) IMAGE FORMING APPARATUS, PROGRAM, AND PREVIEW IMAGE DISPLAY METHOD
JP2006115348A (en) Image information device and image printing method
JP2012105181A (en) Image forming device
JP5015094B2 (en) Image display apparatus, image forming apparatus, and image display method
JP5664866B2 (en) Image processing apparatus, preview image display method, and preview image display program
JP2009049788A (en) Image information processing program, computer readable recording medium recording same, and document reader
JP2009111853A (en) Image processing apparatus and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130408

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130606

LAPS Cancellation because of no payment of annual fees