JP2024065648A - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
JP2024065648A
JP2024065648A JP2022174627A JP2022174627A JP2024065648A JP 2024065648 A JP2024065648 A JP 2024065648A JP 2022174627 A JP2022174627 A JP 2022174627A JP 2022174627 A JP2022174627 A JP 2022174627A JP 2024065648 A JP2024065648 A JP 2024065648A
Authority
JP
Japan
Prior art keywords
size
document
image
scanning direction
processing
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.)
Pending
Application number
JP2022174627A
Other languages
Japanese (ja)
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2022174627A priority Critical patent/JP2024065648A/en
Priority to US18/381,318 priority patent/US20240146856A1/en
Publication of JP2024065648A publication Critical patent/JP2024065648A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/23Reproducing arrangements
    • H04N1/2307Circuits or arrangements for the control thereof, e.g. using a programmed control device, according to a measured quantity
    • H04N1/2338Circuits or arrangements for the control thereof, e.g. using a programmed control device, according to a measured quantity according to user specified instructions, e.g. user selection of reproduction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00795Reading arrangements
    • H04N1/00798Circuits or arrangements for the control thereof, e.g. using a programmed control device or according to a measured quantity
    • H04N1/00816Determining the reading area, e.g. eliminating reading of margins
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00795Reading arrangements
    • H04N1/00798Circuits or arrangements for the control thereof, e.g. using a programmed control device or according to a measured quantity
    • H04N1/00801Circuits or arrangements for the control thereof, e.g. using a programmed control device or according to a measured quantity according to characteristics of the original
    • H04N1/00809Orientation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

【課題】ユーザによる操作やプリンタドライバの設定が印刷の都度行われなくても、混載原稿に対してユーザが読み易くかつ後処理の設定が解除されにくい印刷処理を可能にする。【解決手段】複数の原稿を読み取る原稿読取部と、各原稿のサイズを検出する原稿サイズ検出部と、原稿の画像に画像処理を行う画像処理部と、画像処理が行われあるいは行われていない画像を印刷用紙に印刷する印刷部と、主走査方向サイズが同一の印刷用紙に後処理を行う後処理部と、原稿の読み取り、画像処理、印刷および後処理を制御する制御部とを備え、制御部は、後処理が設定されている場合、各原稿の画像に回転、拡大縮小、余白の増減調整の少なくとも何れかの画像処理を適用することによって主走査方向サイズを何れかの原稿の主走査方向サイズに揃えることが可能であれば、そのサイズを基準に各画像の主走査方向サイズを揃えて後処理が行えるようにする画像形成装置。【選択図】図5[Problem] To enable printing processing for mixed originals that is easy for the user to read and that is less likely to cause post-processing settings to be cancelled, even without user operations or printer driver settings being performed each time printing is performed. [Solution] An image forming apparatus that includes an original reading unit that reads multiple originals, an original size detection unit that detects the size of each original, an image processing unit that performs image processing on the original images, a printing unit that prints images that have been image-processed or have not been image-processed on printing paper, a post-processing unit that performs post-processing on printing paper of the same main scanning direction size, and a control unit that controls original reading, image processing, printing and post-processing, and when post-processing is set, the control unit applies at least one of image processing such as rotation, enlargement/reduction and margin increase/decrease adjustment to the image of each original, so that if it is possible to align the main scanning direction size to the main scanning direction size of one of the originals, the main scanning direction size of each image can be aligned based on that size and post-processing can be performed. [Selected Figure] Figure 5

Description

本開示は、主走査方向サイズが同一の複数の印刷用紙に後処理を行い得る画像形成装置および画像形成方法に関する。 This disclosure relates to an image forming apparatus and an image forming method that can perform post-processing on multiple print sheets that have the same size in the main scanning direction.

複合機等の画像形成装置は、印刷済みの印刷用紙にステープル、パンチ、サドルステッチ等の後処理を行う後処理装置(フィニッシャとも呼ばれる)を備えるものがある。それらの後処理は、複数の印刷用紙が搬送方向(以下、この明細書で副走査方向と呼ぶ)に直交する方向(以下、この明細書で主走査方向と呼ぶ)において同一のサイズであることを前提にしている。なお、主走査方向における印刷用紙のサイズ(主走査方向サイズ)が同一であっても副走査方向におけるサイズ(副走査方向サイズ)が異なる印刷用紙がある。
例えば、A4サイズとA3サイズの印刷用紙は、何れも一辺の長さが297mmである。その辺が主走査方向になるように搬送される場合、A4サイズとA3サイズの両方が含まれていても上述の後処理が可能である。また、例えばB5サイズとB4サイズ、A5サイズとA4サイズについても同様である。以上はAB系列のサイズの例であるが、インチ系についても、例えば11”×8.5”(レターサイズ)と11”×17”(ダブルレターサイズ)、8.5”×11”(レターサイズ)と8.5”×13”(または13.5”、14”)(リーガルサイズ)、8.5”×5.5”(ハーフレターサイズ)と8.5”×11”(レターサイズ)なども主走査方向サイズが同一で後処理が可能な組み合わせとして挙げられる。
一方、印刷原稿のサイズについては、主走査方向サイズが必ずしも揃っているとは限らない。異なる主走査方向サイズおよび異なる副走査方向サイズの原稿の場合もある。その場合、原稿の画像を90°回転させて縦横を入れ替えるだけで同一サイズの印刷用紙に揃え得る場合に画像回転させる機能(自動回転機能)や、画像回転に加えて各原稿の画像を縮小または拡大して選択したサイズの印刷用紙に揃える機能(倍率自動選択機能)が知られている。
また、自動用紙選択モードの時、検知された原稿のサイズに基づいて、後処理が可能なサイズ及び向きを有する用紙が給紙されるように制御する画像処理装置が知られている(例えば、特許文献1)。しかし、記載されている具体例は、上述の自動回転機能に相当するものである。
Some image forming apparatuses such as multifunction peripherals are equipped with post-processing devices (also called finishers) that perform post-processing such as stapling, punching, and saddle stitching on printed sheets of paper. Such post-processing is based on the premise that multiple sheets of paper are the same size in a direction (hereinafter referred to as the main scanning direction in this specification) perpendicular to the transport direction (hereinafter referred to as the sub-scanning direction in this specification). Note that even if the size of the sheets of paper in the main scanning direction (main scanning direction size) is the same, there are sheets of paper that have different sizes in the sub-scanning direction (sub-scanning direction size).
For example, the length of one side of both A4 and A3 size printing paper is 297 mm. When the paper is transported so that the side is in the main scanning direction, the above-mentioned post-processing is possible even if both A4 and A3 sizes are included. The same is true for B5 and B4 sizes, and A5 and A4 sizes. The above are examples of sizes in the AB series, but in the inch series, for example, 11" x 8.5" (letter size) and 11" x 17" (double letter size), 8.5" x 11" (letter size) and 8.5" x 13" (or 13.5", 14") (legal size), 8.5" x 5.5" (half letter size) and 8.5" x 11" (letter size) are also examples of combinations that have the same size in the main scanning direction and can be post-processed.
On the other hand, the size of the print document is not necessarily the same in the main scanning direction. There may be documents with different main scanning and sub-scanning sizes. In such cases, there are known functions for rotating the image of the document by 90 degrees and swapping the length and width to fit the same size of print paper (automatic rotation function), and functions for reducing or enlarging the image of each document in addition to rotating the image to fit the selected size of print paper (automatic magnification selection function).
Also, there is known an image processing apparatus that controls the feeding of paper having a size and orientation that allows post-processing based on the detected size of the document in the automatic paper selection mode (for example, see Japanese Patent Application Laid-Open No. 2003-233633). However, the specific example described therein corresponds to the above-mentioned automatic rotation function.

特開2008-236486号公報JP 2008-236486 A

特許文献1には、後処理が可能なサイズ及び向きを有する用紙が給紙カセットからなくなった場合に、用紙がなくなったことをユーザに知らせるメッセージを表示することが記載されているが、自動回転を行うだけで後処理が可能なサイズ及び向きを有する用紙が存在するとは限らない。その場合は、後処理ができないものとして後処理の設定を解除するしかない。
本開示は、以上のような事情を考慮してなされたものであって、余白の増減調整を含めた画像処理を原稿画像に適用することで、ユーザによる操作やプリンタドライバの設定が印刷の都度行われなくても、混載原稿に対してユーザが読み易くかつ後処理の設定が解除されにくい印刷処理を可能にするものである。
Japanese Patent Laid-Open No. 2006-133663 describes a method of displaying a message to inform the user that paper has run out when paper of a size and orientation suitable for post-processing is exhausted from a paper feed cassette, but there is no guarantee that paper of a size and orientation suitable for post-processing will be available simply by performing automatic rotation. In that case, the only option is to cancel the post-processing setting as post-processing is not possible.
The present disclosure has been made in consideration of the above circumstances, and by applying image processing, including adjusting the increase and decrease of margins, to original images, it enables printing processing for mixed originals that is easy for users to read and that is less likely to cause post-processing settings to be canceled, even without requiring user operations or printer driver settings to be performed each time printing is performed.

本開示は、主走査方向のサイズが異なる複数の原稿を読み取る原稿読取部と、各原稿の主走査方向サイズおよび副走査方向サイズを検出する原稿サイズ検出部と、読み取られた前記原稿の画像に画像処理を行う画像処理部と、前記画像処理が行われあるいは行われていない前記画像を定型サイズの印刷用紙に印刷する印刷部と、ユーザの設定に応じて主走査方向サイズが同一の複数の印刷用紙に後処理を行う後処理部と、前記原稿の読み取り、前記画像処理、前記印刷および前記後処理を制御する制御部とを備え、前記制御部は、前記後処理が設定されている場合、各原稿の画像に90度単位の回転、拡大縮小、余白の増減調整の少なくとも何れかの画像処理を適用することによって前記主走査方向サイズを何れかの原稿の主走査方向サイズに揃えることが可能であれば、そのサイズを基準に各画像の前記主走査方向サイズを揃えて前記後処理が行えるようにする画像形成装置を提供する。 The present disclosure provides an image forming apparatus that includes an original reading unit that reads multiple originals having different sizes in the main scanning direction, an original size detection unit that detects the main scanning direction size and sub-scanning direction size of each original, an image processing unit that performs image processing on the image of the original that has been read, a printing unit that prints the image that has been or has not been image-processed on a standard-sized printing paper, a post-processing unit that performs post-processing on multiple printing papers having the same main scanning direction size according to a user setting, and a control unit that controls the reading of the originals, the image processing, the printing, and the post-processing, and when the post-processing is set, the control unit applies at least one of image processing such as rotation in 90-degree increments, enlargement/reduction, and margin increase/decrease adjustment to the image of each original, so that if it is possible to align the main scanning direction size to the main scanning direction size of one of the originals, the main scanning direction size of each image can be aligned based on that size and the post-processing can be performed.

また、異なる観点から本開示は、画像形成装置の制御部が、主走査方向のサイズが異なる複数の原稿の画像を読み取るステップと、各原稿の主走査方向および副走査方向のサイズを検出するステップと、必要に応じて読み取られた前記原稿に画像処理を行うステップと、前記画像処理が行われあるいは行われていない前記画像を印刷用紙に印刷するステップと、ユーザの設定に応じて主走査方向サイズが同一の複数の印刷用紙に後処理を行うステップとを備え、前記画像処理を行うステップは、前記後処理が設定されている場合、前記原稿の画像に90度単位の回転、拡大縮小、余白の増減調整の少なくとも何れかの画像処理を適用することによって前記主走査方向サイズを何れかの原稿の主走査方向サイズに揃えることが可能であれば、前記主走査方向サイズを基準のサイズに揃えて前記後処理が行えるようにする画像形成方法を提供する。 From a different perspective, the present disclosure provides an image forming method including a step in which a control unit of an image forming device reads images of multiple documents having different sizes in the main scanning direction, a step in which the control unit detects the sizes in the main scanning direction and sub-scanning direction of each document, a step in which image processing is performed on the read documents as necessary, a step in which the image processing is performed on the print paper, the image being subjected to the image processing or not, and a step in which post-processing is performed on multiple print papers having the same main scanning direction size according to a user setting, and the step of performing the image processing includes, when the post-processing is set, applying at least one of image processing such as rotation in 90-degree increments, enlargement/reduction, and margin increase/decrease adjustment to the image of the document, so that the main scanning direction size can be aligned to the main scanning direction size of one of the documents by aligning the main scanning direction size to a standard size and performing the post-processing.

本開示による画像形成装置において、制御部は、後処理が設定されている場合、各原稿の画像に90度単位の回転、拡大縮小、余白の増減調整の少なくとも何れかの画像処理を適用することによって前記主走査方向サイズを何れかの原稿の主走査方向サイズに揃えることが可能であれば、基準となるそのサイズに各画像の前記主走査方向サイズを揃えて前記後処理が行えるようにするので、ユーザによる操作やプリンタドライバの設定が印刷の都度行われなくても、混載原稿に対してユーザが読み易くかつ後処理の設定が解除されにくい印刷処理が可能になる。
本開示による画像形成方法も同様の作用効果を奏する。
In the image forming device according to the present disclosure, when post-processing is set, the control unit applies at least one of image processes, such as rotation in 90-degree increments, enlargement/reduction, and margin increase/decrease adjustment, to the image of each original document so that the main scanning direction size can be aligned to the main scanning direction size of one of the original documents, and then performs the post-processing by aligning the main scanning direction size of each image to that standard size. This makes it possible to perform printing processing for mixed original documents that is easy for the user to read and that is less likely to cause the post-processing settings to be canceled, even without the user having to perform operations or printer driver settings each time printing is performed.
The image forming method according to the present disclosure also achieves the same effects.

本開示による画像形成装置の一実施形態として、フィニッシャを備える複合機の外観を示す斜視図である。1 is a perspective view showing an external appearance of a multifunction peripheral including a finisher as an embodiment of an image forming apparatus according to the present disclosure. 図1に示す複合機の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of the multifunction peripheral shown in FIG. 1 . 従来の、画像回転により主走査方向サイズを揃える例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a conventional method for aligning the main scanning direction size by rotating an image. 従来の、画像回転と画像拡大縮小により主走査方向サイズを揃える例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a conventional method for adjusting the main scanning direction size by rotating and enlarging/reducing an image. 図1に示す複合機が、余白の付加および画像回転により主走査方向サイズを揃え後処理を可能にする例を示す説明図である。1. FIG. 4 is an explanatory diagram showing an example in which the multifunction peripheral shown in FIG. 1 aligns the main scanning direction size by adding margins and rotating an image, enabling post-processing. 図1に示す複合機が、文字の有無に応じて画像拡大、余白の付加および画像回転により主走査方向サイズを揃え後処理を可能にする例を示す説明図である。1A and 1B are explanatory diagrams showing an example in which the multifunction peripheral shown in FIG. 1 enlarges an image, adds margins, and rotates the image depending on whether or not text is present, thereby enabling post-processing to be performed to align the main scanning direction size. 図1に示す複合機の操作部に表示されるポップアップウィンドウの例を示す説明図である。4 is an explanatory diagram showing an example of a pop-up window displayed on the operation unit of the multifunction peripheral shown in FIG. 1 . 図2に示す制御部が実行する、実施の形態1に係る処理の一例を示すフローチャートである。3 is a flowchart showing an example of a process according to the first embodiment, which is executed by a control unit shown in FIG. 2 . 図8に続く処理の例を示すフローチャートである。9 is a flowchart showing an example of processing following that shown in FIG. 8 . 図2に示す制御部が実行する、実施の形態2に係る処理の一例を示すフローチャートである。10 is a flowchart showing an example of a process according to the second embodiment, which is executed by a control unit shown in FIG. 2 図10に続く処理の例を示すフローチャートである。11 is a flowchart showing an example of the process following FIG. 10 . 図2に示す制御部が実行する、実施の形態4に係る処理の一例を示すフローチャートである。11 is a flowchart showing an example of a process according to the fourth embodiment, which is executed by the control unit shown in FIG. 2 . 図12に続く処理の例を示すフローチャートである。13 is a flowchart showing an example of the process following FIG. 12 .

以下、図面を用いて本開示をさらに詳述する。なお、以下の説明は、すべての点で例示であって、本開示を限定するものと解されるべきではない。
≪後処理装置を備える画像形成装置の構成≫
まず、後処理装置を備える画像形成装置の構成について述べる。
図1は、この実施形態において、画像形成装置の一態様であるフィニッシャを備える複合機の外観を示す斜視図である。図2は、図1に示す画像形成装置の構成を示すブロック図である。
The present disclosure will be described in further detail below with reference to the drawings. Note that the following description is illustrative in all respects and should not be construed as limiting the present disclosure.
Configuration of an image forming apparatus equipped with a post-processing device
First, the configuration of an image forming apparatus equipped with a post-processing device will be described.
Fig. 1 is a perspective view showing the appearance of a multifunction peripheral including a finisher, which is one aspect of an image forming apparatus in this embodiment Fig. 2 is a block diagram showing the configuration of the image forming apparatus shown in Fig. 1 .

図1に示すように、複合機100は、本体に印刷部14、原稿読取部15、操作部19、手差しトレイ108および給紙トレイ109を備える。さらに、周辺機器として給紙デスク110、大容量給紙トレイ120、後処理装置130および原稿送り装置160を備える。本体は手差しトレイ108と給紙トレイ109を備えており、給紙デスク110は、3つの給紙トレイ111、112および113を備えている。手差しトレイ108、給紙トレイ109、111、112、113および大容量給紙トレイ120には異なるサイズの印刷用紙が収容されており、それらのうち印刷に適したサイズの印刷用紙を用いて印刷を行うことができる。
また、図2に示すように、複合機100の本体は、制御部11、記憶装置13をさらに備える。制御部11は、通信制御部11C、周辺機器制御部11D、ファイル制御部11F、画像処理部11P、原稿サイズ検出部11S、ユーザインターフェース制御部11Uを備える。また、文字認識部11Rを任意に備える。
1, the multifunction peripheral 100 includes a printing unit 14, a document reading unit 15, an operation unit 19, a manual feed tray 108, and a paper feed tray 109 in the main body. In addition, the multifunction peripheral 100 includes a paper feed desk 110, a large-capacity paper feed tray 120, a post-processing device 130, and a document feeder 160 as peripheral devices. The main body includes the manual feed tray 108 and the paper feed tray 109, and the paper feed desk 110 includes three paper feed trays 111, 112, and 113. The manual feed tray 108, the paper feed trays 109, 111, 112, and 113, and the large-capacity paper feed tray 120 store printing paper of different sizes, and printing can be performed using a printing paper of a size suitable for printing.
2, the main body of the multifunction device 100 further includes a control unit 11 and a storage device 13. The control unit 11 includes a communication control unit 11C, a peripheral device control unit 11D, a file control unit 11F, an image processing unit 11P, a document size detection unit 11S, and a user interface control unit 11U. In addition, the control unit 11 may optionally include a character recognition unit 11R.

制御部11は、ハードウェア資源としてプロセッサおよびメモリを中心に構成される回路である。プロセッサがメモリに格納された制御プログラムを実行することによって周辺機器制御部11D、画像処理部11P、原稿サイズ検出部11S、ユーザインターフェース制御部11U等、上述の各部の機能が実現される。
記憶装置13は、制御部11からアクセス可能に構成され、RAMおよび不揮発性メモリが組み合わさったものである。RAMには、DDR4やDDR5などのDDR SDRAM(Double-Data-Rage Synchronous Dynamic Random Access Memory)が適用されてもよい。不揮発性メモリには、SSD(Solid State Disk)やHDD(Hard Disk Drive)が適用されてもよい。
The control unit 11 is a circuit mainly composed of a processor and a memory as hardware resources. The processor executes a control program stored in the memory to realize the functions of the above-mentioned units, such as the peripheral device control unit 11D, the image processing unit 11P, the document size detection unit 11S, and the user interface control unit 11U.
The storage device 13 is configured to be accessible from the control unit 11, and is a combination of a RAM and a non-volatile memory. A DDR SDRAM (Double-Data-Rage Synchronous Dynamic Random Access Memory) such as DDR4 or DDR5 may be applied to the RAM. A solid state disk (SSD) or a hard disk drive (HDD) may be applied to the non-volatile memory.

印刷部14は、電子写真方式の帯電、露光、現像、転写、定着を行うための機構および回路、本体の給紙トレイ109および印刷用紙を給紙搬送する給紙搬送機構を含み、印刷を実行する部分である。給紙搬送機構は、印刷済の印刷用紙を搬送して後処理装置130へ導く。
原稿読取部15は、原稿を走査して読み取るための機構、回路およびイメージセンサを含み、原稿に対応する画像データを生成する部分である。
操作部19は、複合機100の状態や操作に係る情報を表示するLCD(Liquid Cristal Display)やOLED(Organic Light Emitting Display)などの表示デバイスと、操作を検出するタッチパネルなどの入力検出デバイスを含んで構成される。
The printing unit 14 is a part that executes printing, and includes mechanisms and circuits for electrophotographic charging, exposure, development, transfer, and fixing, a paper feed tray 109 in the main body, and a paper feed and transport mechanism that feeds and transports print paper. The paper feed and transport mechanism transports printed print paper and leads it to the post-processing device 130.
The document reading unit 15 includes a mechanism, a circuit, and an image sensor for scanning and reading a document, and generates image data corresponding to the document.
The operation unit 19 includes a display device such as an LCD (Liquid Crystal Display) or an OLED (Organic Light Emitting Display) that displays information related to the status and operation of the multifunction device 100, and an input detection device such as a touch panel that detects operations.

制御部11が備える通信制御部11Cは、イサーネット等の通信回路(図2に不図示)を介した外部の機器との通信を制御する。
周辺機器制御部11Dは、後処理装置130との通信を担う例えばRS422等の機内シリアル通信を介した周辺機器(給紙デスク110、大容量給紙トレイ120、後処理装置130および原稿送り装置160)との通信を制御する。
ファイル制御部11Fは、記憶装置13に対するデータの読み書きを制御する。
画像処理部11Pは、原稿の読み取りおよび印刷に係る処理および読み取られた原稿画像に対する画像処理を制御する。本開示における後処理との関係では、原稿画像の回転、余白の増減調整、画像の拡大縮小を行うが、それ以外にもユーザの設定に応じた画質の調整等の画像処理を行う。
A communication control unit 11C included in the control unit 11 controls communication with external devices via a communication circuit (not shown in FIG. 2) such as an Ethernet.
The peripheral device control unit 11D controls communication with peripheral devices (the paper feed desk 110, the large capacity paper feed tray 120, the post-processing device 130, and the document feeder 160) via internal serial communication such as RS422 that is responsible for communication with the post-processing device 130.
The file control unit 11F controls reading and writing of data from and to the storage device 13.
The image processing unit 11P controls processes related to reading and printing of documents and image processing of the read document images. In relation to post-processing in the present disclosure, the image processing unit 11P rotates the document image, adjusts the margins, and enlarges or reduces the image, but also performs other image processing such as adjusting the image quality according to user settings.

文字認識部11Rは、原稿の画像から文字を抽出して何れの文字であるかを特定する処理(文字認識処理)を行う。さらに、認識した文字の配置に基づいて原稿画像の天地の判別、斜め補正あるいは余白領域の特定を行う。
原稿サイズ検出部11Sは、物理的な原稿のサイズを検出するセンサや原稿画像を用いて各原稿のサイズを検出する。各原稿が矩形であることを前提に、主走査方向サイズおよび副走査方向サイズを検出する。
制御部11が備えるユーザインターフェース制御部11Uは、操作部19を介してユーザに情報を提供し、ユーザの操作を受け付ける処理に係る制御を実行する。
The character recognition unit 11R extracts characters from an image of a document and performs a process of identifying which characters they are (character recognition process). Furthermore, based on the arrangement of the recognized characters, it determines the top and bottom of the document image, corrects the skew, and identifies the margin area.
The document size detection unit 11S detects the size of each document by using a sensor that detects the physical size of the document or the document image, and detects the main scanning direction size and the sub-scanning direction size of each document, assuming that each document is rectangular.
A user interface control unit 11U included in the control unit 11 provides information to a user via the operation unit 19, and executes control related to processing for accepting user operations.

続いて、後処理装置130の構成について述べる。後処理装置130は、本体の周辺機器制御部11Dと通信し、周辺機器制御部11Dからの指示に応じて後処理機能を含めた動作を行う。後処理機能としては、ステープル、パンチおよびサドルステッチが可能である。いずれの後処理機能も、主走査方向サイズが同一の印刷用紙を対象にしている。
ステープルは印刷用紙の複数の印刷用紙の主走査方向を揃えると共に、後端を揃えた状態で後端部の1か所または2か所にステープルを行う。
パンチも同様に、印刷用紙の複数の印刷用紙の主走査方向を揃えると共に、後端を揃えた状態で後端部の1か所または2か所にステープルを行う。
Next, the configuration of the post-processing device 130 will be described. The post-processing device 130 communicates with the peripheral device control unit 11D of the main body, and performs operations including post-processing functions according to instructions from the peripheral device control unit 11D. Possible post-processing functions include stapling, punching, and saddle stitching. All post-processing functions are intended for printing paper of the same size in the main scanning direction.
The stapler aligns a plurality of sheets of printing paper in the main scanning direction and staples the sheets at one or two points on the trailing edge while aligning the trailing edges.
Similarly, the punch aligns a plurality of sheets of printing paper in the main scanning direction, and staples the sheets at one or two locations on the trailing edge while aligning the trailing edges.

サドルステッチは、中とじコピーした用紙の中央を二つ折りして中折りの冊子状にしたうえで、中折りの線上の2箇所をステープルする。
何れかの後処理が行われ、あるいは行われない状態の印刷用紙は、後処理装置130の3つある排出トレイの何れかに排出される。なお、サドルステッチされた冊子(印刷用紙)は、最下段の排出トレイに排出される。
In saddle stitching, the center of a saddle-stitched copy is folded in half to form a booklet, and then stapled in two places along the fold line.
Printed paper that has undergone any post-processing or has not undergone any post-processing is discharged to one of three discharge trays in the post-processing device 130. Note that saddle-stitched booklets (printed paper) are discharged to the lowest discharge tray.

≪回転させて主走査方向サイズを揃える例(従来例1)≫
参考として、画像回転により主走査方向サイズをそろえる従来の手法を、図面を用いて説明しておく。図3は、従来の、画像回転により主走査方向サイズを揃える例を示す説明図である。図3に示す例において、4枚の原稿31~34を上段の左から右へ並べて示している。1枚目の原稿31はA4サイズであり、297mmの長辺が主走査方向サイズ(図3にLmで示す)に対応する。2枚目の原稿32はA3サイズであり、297mmの短辺が主走査方向サイズに対応する。3枚目の原稿33および4枚目の原稿34は、何れも1枚目の原稿31と同じA4サイズであるが、主走査方向サイズが210mmの方向に置かれている(以下、A4Rサイズと呼ぶ)。
<Example of rotating to align main scanning direction size (conventional example 1)>
For reference, a conventional method of aligning the main scanning direction size by rotating an image will be described with reference to the drawings. FIG. 3 is an explanatory diagram showing an example of a conventional method of aligning the main scanning direction size by rotating an image. In the example shown in FIG. 3, four originals 31 to 34 are arranged from left to right on the top row. The first original 31 is A4 size, and the long side of 297 mm corresponds to the main scanning direction size (shown as Lm in FIG. 3). The second original 32 is A3 size, and the short side of 297 mm corresponds to the main scanning direction size. The third original 33 and the fourth original 34 are both A4 size like the first original 31, but are placed in a direction in which the main scanning direction size is 210 mm (hereinafter referred to as A4R size).

制御部11が1枚目の原稿31を読み取って印刷する際に、原稿サイズ検出部11Sは、A4サイズで主走査方向サイズが297mmであることを検出する。1枚目の原稿31の主走査方向サイズが、後続の原稿の主走査方向サイズを揃える基準になる。
図3に示す例においては、設定された倍率(100%)を優先し、原稿サイズと設定された倍率に基づいて適切な印刷用紙を選択し印刷するものとする(用紙自動選択機能)。
When the control unit 11 reads and prints the first document 31, the document size detection unit 11S detects that the main scanning size is 297 mm for A4 size. The main scanning size of the first document 31 becomes the standard for aligning the main scanning size of the subsequent documents.
In the example shown in FIG. 3, the set magnification (100%) is given priority, and appropriate printing paper is selected based on the document size and the set magnification for printing (automatic paper selection function).

図3の用紙自動選択機能に基づき制御部11が各原稿に対して選択する印刷用紙を下段の左から右へ並べて示している。なお、後処理が設定されているので画像回転を用いて主走査方向サイズを揃えるように印刷用紙を選択するものとする。原稿31に対応する印刷用紙36はA4サイズであり、原稿32に対応する印刷用紙37はA3サイズである。原稿33に対応する印刷用紙38は原稿画像を回転させたA4サイズである。同様に、原稿34に対応する印刷用紙39もA4サイズである。
このように、画像処理部11Pとして制御部11は、3枚目と4枚目の原稿画像を回転させることにより主走査方向サイズを揃え、後処理ができるようにする。
The print papers selected by the control unit 11 for each document based on the automatic paper selection function of Fig. 3 are shown lined up from left to right in the lower row. Since post-processing is set, the print papers are selected so that the main scanning direction size is uniform using image rotation. The print paper 36 corresponding to document 31 is A4 size, and the print paper 37 corresponding to document 32 is A3 size. The print paper 38 corresponding to document 33 is A4 size with the document image rotated. Similarly, the print paper 39 corresponding to document 34 is also A4 size.
In this manner, the control unit 11 as the image processing unit 11P rotates the third and fourth document images to make the main scanning direction sizes uniform, thereby enabling post-processing.

≪回転および拡大縮小して主走査方向サイズを揃える例(従来例2)≫
図4は、画像の拡大縮小を加えて主走査方向サイズをそろえる従来の手法の例を示している。図3と同様に、主走査方向を揃える基準のサイズは、1枚目の原稿41の主走査方向サイズ、即ち297mmである。
図4に示す例は、1枚目の原稿41および2枚目の原稿42のサイズは図3に示す例と同様にA4およびA3サイズである。しかし、3枚目の原稿43は、図3に示す例と異なりB4サイズである。また、4枚目の原稿44も、図3に示す例と異なりB5Rサイズである。原稿43と原稿44は、画像を回転させても主走査方向サイズが揃わない。
<Example of rotating and enlarging/reducing to make the main scanning direction size uniform (conventional example 2)>
Fig. 4 shows an example of a conventional method for adjusting the main scanning direction size by enlarging or reducing an image. As in Fig. 3, the reference size for adjusting the main scanning direction is the main scanning direction size of the first document 41, i.e., 297 mm.
In the example shown in Fig. 4, the sizes of the first document 41 and the second document 42 are A4 and A3, respectively, as in the example shown in Fig. 3. However, the third document 43 is B4 size, unlike the example shown in Fig. 3. Also, the fourth document 44 is B5R size, unlike the example shown in Fig. 3. The main scanning direction sizes of the documents 43 and 44 do not match even if the images are rotated.

図4に示す例において制御部11は、画像回転だけでなく原稿画像を拡大縮小させることで主走査方向サイズを揃えている。原稿43については、原稿画像を回転させてA4サイズに縮小することにより主走査方向サイズを基準の297mmに揃えている。なお、原稿43の原稿画像をA3サイズに拡大してもよい。原稿44については、原稿画像を回転させてA4サイズに拡大することで主走査方向サイズを基準に揃えている。原稿41に対応する印刷用紙46はA4サイズであり、原稿42に対応する印刷用紙47はA3サイズである。原稿43に対応する印刷用紙48は回転および縮小によりA4サイズである。原稿44に対応する印刷用紙49は回転および拡大によりA4サイズである。
このように、画像処理部11Pとして制御部11は、3枚目と4枚目の原稿画像を回転させさらに拡大縮小することによって主走査方向サイズを揃え、後処理ができるようにする。
In the example shown in FIG. 4, the control unit 11 not only rotates the image but also enlarges and reduces the document image to make the main scanning direction size uniform. For the document 43, the document image is rotated and reduced to A4 size to make the main scanning direction size uniform to the standard 297 mm. The document image of the document 43 may be enlarged to A3 size. For the document 44, the document image is rotated and enlarged to A4 size to make the main scanning direction size uniform to the standard. The printing paper 46 corresponding to the document 41 is A4 size, and the printing paper 47 corresponding to the document 42 is A3 size. The printing paper 48 corresponding to the document 43 is A4 size due to rotation and reduction. The printing paper 49 corresponding to the document 44 is A4 size due to rotation and enlargement.
In this manner, the control unit 11 as the image processing unit 11P rotates and further enlarges or reduces the images of the third and fourth original documents to make the main scanning direction sizes uniform, thereby enabling post-processing.

≪余白を付加して主走査方向サイズを揃える例(実施の形態1)≫
本開示によれば、制御部11は、なるべく原稿画像の倍率を変えずに主走査方向サイズを揃えるようにする。原稿画像の倍率を変えると、例えば文字が小さくなって読みにくくなることがある。また、拡大することで線のエッジがなまり不自然に見えたり背景や画像が荒れて見えたりすることがある。
<<Example of adding margins to make the main scanning direction size uniform (first embodiment)>>
According to the present disclosure, the control unit 11 tries to make the main scanning direction size uniform without changing the magnification of the document image as much as possible. If the magnification of the document image is changed, for example, characters may become small and difficult to read. In addition, enlarging the document image may make the edges of lines appear unnatural and the background or image may appear rough.

図5は、原稿画像に余白を付加することにより主走査方向サイズを揃える例を示す説明図である。
1枚目から4枚目の原稿51~54は、図4に示す例と同じサイズである。3枚目の原稿53については、B4サイズの主走査方向サイズ257mmの両側に余白を付加することにより主走査方向サイズを基準の297mmに揃えている。原稿54については、原稿画像を回転させて両側に余白を付加することで主走査方向サイズを基準に揃えている。原稿51に対応する印刷用紙56はA4サイズであり、原稿52に対応する印刷用紙57はA3サイズである。原稿53に対応する印刷用紙58は余白の付加によりA3サイズである。原稿54に対応する印刷用紙59は回転および余白の付加によりA4サイズである。
FIG. 5 is an explanatory diagram showing an example of making the main scanning direction size uniform by adding margins to document images.
The first to fourth originals 51 to 54 are the same size as the example shown in Fig. 4. For the third original 53, the main scanning direction size is adjusted to the standard 297 mm by adding margins to both sides of the B4 size main scanning direction size of 257 mm. For the original 54, the main scanning direction size is adjusted to the standard by rotating the original image and adding margins to both sides. The printing paper 56 corresponding to the original 51 is A4 size, and the printing paper 57 corresponding to the original 52 is A3 size. The printing paper 58 corresponding to the original 53 is A3 size due to the addition of margins. The printing paper 59 corresponding to the original 54 is A4 size due to the rotation and the addition of margins.

このように、画像処理部11Pとして制御部11は、3枚目と4枚目の原稿画像に余白を付加することによって主走査方向サイズを揃え、後処理ができるようにする。
なお、原稿画像の余白が大きい場合は、余白を減らすようにしてもよい。例えば、図5に示す例において原稿53の原稿画像がA4サイズにトリミングしても画像が欠けない大きさの余白を有している場合は、原稿画像を回転させて余白を減らしA4サイズにしてもよい。余白の大きさは、画像処理部11Pが原稿画像に色画素が存在する領域を特定することにより判定できる。
この実施の形態によれば、元の画像の倍率のままで後処理を伴う画像形成を行うことができるようになる。
図5に示す例では、主走査方向および副走査方向の何れについても、両側に均等に余白を付加しているが、余白を付加する態様はこれに限るものでない。例えば、印刷用紙の左上隅の箇所にステープルを打つ後処理の場合に、主走査方向において下端側のみに、副走査方向において右端側のみに余白を付加するようにしてもよい。このようにすれば、印刷されてステープル綴じされた頁に付加された余白を、事後的ユーザが不要と考えた場合にその頁の下端部および右端部に付加された余白をハサミなどで切り取って元の原稿と同じサイズにすることも可能である。
同様に、例えば印刷用紙の左端の上下2か所にステープルを打つ後処理の場合、主走査方向においては上下両端に、副走査方向においては右端側のみに余白を付加するようにしてもよい。
In this manner, the control unit 11 as the image processing unit 11P adds margins to the third and fourth document images to make the main scanning direction sizes uniform, thereby enabling post-processing.
If the margins of the document image are large, the margins may be reduced. For example, in the example shown in Fig. 5, if the document image of document 53 has margins large enough that the image is not lost even when the document image is trimmed to A4 size, the document image may be rotated to reduce the margins and make the document A4 size. The size of the margins can be determined by the image processing unit 11P identifying an area in the document image where color pixels exist.
According to this embodiment, it becomes possible to perform image formation accompanied by post-processing while maintaining the original image magnification.
In the example shown in Fig. 5, the margins are added equally on both sides in both the main scanning direction and the sub-scanning direction, but the manner in which the margins are added is not limited to this. For example, in the case of post-processing in which a staple is placed at the upper left corner of the printed paper, the margins may be added only to the bottom edge in the main scanning direction and only to the right edge in the sub-scanning direction. In this way, if a user later deems the margins added to the printed and stapled pages unnecessary, the margins added to the bottom and right edges of the pages can be cut off with scissors or the like to make them the same size as the original document.
Similarly, in the case of post-processing in which staples are placed at two positions, one above and one below, on the left edge of the print paper, margins may be added to both the top and bottom ends in the main scanning direction and only to the right edge in the sub-scanning direction.

≪拡大縮小する原稿画像の数を最小化して主走査方向を揃える例(実施の形態2)≫
従来例1および2ならびに実施の形態1は、いずれも1枚目の原稿の主走査方向サイズを基準に、後続の原稿の主走査方向サイズを揃えるものである。それに対してこの実施の形態では、主走査方向サイズを揃える基準を1枚目の原稿に限定せず、拡大縮小する原稿画像の数を最小化する観点から最適なサイズを基準にする。なお、実施の形態1は基準のサイズを1枚目の原稿の主走査方向サイズに限定することを意図するものでない。この実施形態と同様、拡大縮小または余白の増減調整を行う原稿画像の数を最小化する観点から最適なサイズを基準にしてもよい。
この実施形態における最適なサイズとは、言い換えると、各原稿の縦または横の一片の長さのうちで、長さが共通する辺が最多のもといえる。その辺の長さを基準にして主走査方向サイズを揃えるようにする。
なお、この態様によれば、それぞれの原稿のサイズが検出されるまで基準のサイズを確定させることができない。従って、印刷を開始することができない。しかし、縮小拡大する原稿画像の数を最小化できる基準を採用する点において、一枚目の原稿の主走査方向サイズを基準にするよりも印刷の仕上がりをより好ましいものにできる。
従来の倍率自動選択機能では、指定された用紙サイズになるように各原稿の画像が拡大縮小され印刷が行われる。また、従来例1および2ならびに実施の形態1では、1枚目の原稿の主走査方向サイズを基準に主走査方向サイズを揃えるようにする。それに対してこの態様によれば、基準となる主走査方向サイズと異なる原稿画像が最も少なくなるように基準の主走査方向サイズを決定する。そうすることで、変倍される画像の数を最小化できる。
<<Example of minimizing the number of document images to be enlarged or reduced and aligning them in the main scanning direction (second embodiment)>>
In both of the conventional examples 1 and 2 and the embodiment 1, the main scanning direction size of the subsequent documents is made uniform based on the main scanning direction size of the first document. In contrast, in this embodiment, the standard for making the main scanning direction sizes uniform is not limited to the first document, but is set to the optimal size from the viewpoint of minimizing the number of document images to be enlarged or reduced. Note that the embodiment 1 does not intend to limit the standard size to the main scanning direction size of the first document. As in this embodiment, the optimal size may be set to the standard from the viewpoint of minimizing the number of document images to be enlarged or reduced or the margins to be increased or decreased.
In this embodiment, the optimal size is, in other words, the length of the length or width of each document that has the most common side. The main scanning direction size is made uniform based on the length of that side.
According to this embodiment, the reference size cannot be determined until the size of each document is detected. Therefore, printing cannot start. However, since a reference that can minimize the number of document images to be enlarged or reduced is adopted, the finished print can be more preferable than if the main scanning direction size of the first document was used as the reference.
In the conventional automatic magnification selection function, the image of each document is enlarged or reduced so as to fit the specified paper size before printing. In the conventional examples 1 and 2 and the first embodiment, the main scanning size is made uniform based on the main scanning size of the first document. In contrast, according to this aspect, the standard main scanning size is determined so as to minimize the number of document images that differ from the standard main scanning size. This makes it possible to minimize the number of images to be resized.

≪拡大倍率を最小化し縮小倍率を最大化して主走査方向を揃える例(実施の形態3)≫
この実施形態は、主走査方向サイズを揃える基準を1枚目の原稿に限定しない点で実施の形態2と類似する側面がある。実施の形態2は、縮小拡大する原稿画像の数を最小化することに着目したものであるが、この実施の形態では、縮小拡大する倍率を100%に近づけることに着目したものである。
この実施形態で基準とする主走査方向サイズは、各原稿に対して従来例2のように画像回転および縮小拡大を適用して主走査方向サイズを揃える際に、拡大される原稿画像の倍率および縮小される原稿の縮小倍率がなるべく等倍に近くするように基準のサイズを決める。
<<Example of minimizing the enlargement ratio and maximizing the reduction ratio to align the main scanning direction (third embodiment)>>
This embodiment is similar to the second embodiment in that the standard for aligning the main scanning direction size is not limited to the first document. While the second embodiment focuses on minimizing the number of document images to be reduced or enlarged, this embodiment focuses on bringing the reduction or enlargement ratio closer to 100%.
In this embodiment, the standard main scanning direction size is determined so that when image rotation and reduction/enlargement are applied to each original document to make the main scanning direction size uniform as in Conventional Example 2, the magnification of the enlarged original document image and the reduction magnification of the reduced original document are as close to unity as possible.

この態様についても実施の形態2と同様、それぞれの原稿のサイズが検出されるまで基準のサイズを確定させることができない。従って、印刷を開始することができない。しかし、縮小拡大される原稿画像を等倍に近くできる基準を採用する点において、一枚目の原稿の主走査方向サイズを基準にするよりも印刷の仕上がりをより好ましいものにできる。
この態様によれば、縮小拡大される原稿画像が等倍に近くなるように基準の主走査方向サイズを決定する。そうすることで、変倍される画像の倍率を等倍に近くできる
In this embodiment, as in the second embodiment, the reference size cannot be determined until the size of each document is detected. Therefore, printing cannot start. However, since a reference that allows the document image to be reduced or enlarged to be close to life-size is adopted, the print finish can be more satisfactory than if the main scanning direction size of the first document was used as the reference.
According to this aspect, the standard size in the main scanning direction is determined so that the original image to be reduced or enlarged is close to the same size. By doing so, the magnification of the image to be enlarged or reduced can be made close to the same size.

≪文字を含むか否かに応じた処理で主走査方向サイズを揃える例(実施の形態4)≫
この実施形態において、制御部11は文字認識部11Rを備えており、各原稿が文字データを含むものか否かを判定するものとする。
制御部11は、文字データを含む原稿については、それらの原稿についてできる限り拡大および縮小を行わないようにする。例えば、そのために余白の増減調整を拡大縮小より優先する。それでも拡大および縮小を行わなければ主走査方向サイズを揃えることができないと判定した場合は、なるべく等倍に近くするように基準のサイズを決める。
一方、文字データを含まないと判定した原稿については、従来例2と同様に画像回転および拡大縮小を行ってそれらの原稿の主走査方向サイズを基準のサイズに揃える。
文字を拡大縮小すると、元の原稿に比べて読みにくくなる傾向にあるので文字を含む原稿については等倍またはそれに近い倍率にする。一方、文字を含まない画像のみの原稿については、拡大縮小を行ってもあまり違和感を与えないものとして、従来例2と同様の扱いとする。
<<Example of Adjusting Main Scanning Direction Size by Processing Depending on Whether Characters Are Included or Not (Fourth Embodiment)>>
In this embodiment, the control unit 11 includes a character recognition unit 11R, which determines whether each document contains character data or not.
The control unit 11 tries to avoid enlarging or reducing the document including character data as much as possible. For example, to achieve this, the control unit 11 prioritizes the adjustment of margins over enlarging or reducing the document. If it is still determined that the main scanning direction size cannot be made uniform without enlarging or reducing the document, the control unit 11 determines the reference size to be as close to the same size as possible.
On the other hand, for documents that are determined not to contain character data, image rotation and enlargement/reduction are performed in the same manner as in the second conventional example to make the main scanning direction size of those documents the same as the reference size.
When text is enlarged or reduced, it tends to become harder to read than the original document, so for documents that contain text, the magnification is set to the same or close to the original. On the other hand, for documents that are only images and do not contain text, the enlargement or reduction does not cause much discomfort, so they are treated in the same way as in Conventional Example 2.

図6は、この実施の形態により主走査方向サイズを揃える例を示す説明図である。
1枚目および3枚目の原稿61、63は、図5に示す例と同様に、それぞれA4およびB4サイズである。2枚目の原稿はA3サイズであり、4枚目の原稿は、A4Rサイズである。2枚目の原稿62は、文字認識部11Rが画像データのみの原稿画像と判定し、1枚目の原稿61、3枚目の原稿63および4枚目の原稿64は文字データを含む原稿画像と判定したものとする。
文字データを含む1枚目の原稿61、3枚目の原稿63および4枚目の原稿64の倍率を変えずに主走査方向サイズを揃えるために、制御部11は、主走査方向サイズを揃える基準のサイズを297mmと決定する。
FIG. 6 is an explanatory diagram showing an example of making the main scanning direction size uniform according to this embodiment.
The first and third originals 61, 63 are A4 and B4 sizes, respectively, as in the example shown in Fig. 5. The second original is A3 size, and the fourth original is A4R size. The second original 62 is determined by the character recognition unit 11R to be an original image containing only image data, while the first original 61, the third original 63, and the fourth original 64 are determined to be original images containing character data.
In order to align the main scanning direction sizes of the first document 61, the third document 63, and the fourth document 64 containing character data without changing the magnification, the control unit 11 determines the standard size for aligning the main scanning direction sizes to be 297 mm.

1枚目の原稿61は、そのままで主走査方向サイズが基準のサイズである。4枚目の原稿64は、画像回転すれば主走査方向サイズを基準のサイズに揃えることができる。3枚目の原稿63については、画像回転をしても主走査方向サイズを基準に揃えることができないが、両側に余白を付加してA3サイズにすることで主走査方向サイズを基準に揃えることができる。
文字データを含まない2枚目の原稿62については、倍率を変えて主走査方向サイズを基準に揃える。
よって、原稿61に対応する印刷用紙66はA4サイズであり、原稿62に対応する印刷用紙67はA4サイズである。原稿63に対応する印刷用紙68はA3サイズであり、原稿64に対応する印刷用紙69はA4サイズである。
The first document 61 has a standard main scanning size as is. The fourth document 64 can be made uniform in main scanning size to the standard size by rotating the image. The third document 63 cannot be made uniform in main scanning size even by rotating the image, but it can be made uniform in main scanning size by adding margins on both sides to make it A3 size.
For the second document 62 which does not contain character data, the magnification is changed and the documents are aligned based on the size in the main scanning direction.
Therefore, the printing paper 66 corresponding to the document 61 is A4 size, the printing paper 67 corresponding to the document 62 is A4 size, the printing paper 68 corresponding to the document 63 is A3 size, and the printing paper 69 corresponding to the document 64 is A4 size.

このように、画像処理部11Pとして制御部11は、2枚目の原稿画像を拡大し、3枚目の原稿画像に余白を付加し、4枚目の原稿を回転させることによって主走査方向サイズを揃え、後処理ができるようにする。
実施の形態1と同様、原稿画像の余白が大きい場合は、余白を減らすようにしてもよい。また、文字データを含む原稿を拡大縮小せざるを得ない場合は、実施の形態3と同様、拡大される原稿画像の倍率および縮小される原稿の縮小倍率がなるべく等倍に近くするように基準のサイズを決める。
この態様によれば、文字が含まれる原稿の画像については、元の画像と同じ倍率または近い倍率で印刷を行うようにすることで、文字の大きさが変化せず、あるいは変化を最小化してユーザが読みやすいようにできる。
In this way, the control unit 11, functioning as the image processing unit 11P, enlarges the image of the second original document, adds margins to the image of the third original document, and rotates the image of the fourth original document to align the main scanning direction size so that post-processing can be performed.
As in the first embodiment, if the margins of the document image are large, the margins may be reduced. Furthermore, if it is necessary to enlarge or reduce a document that contains character data, as in the third embodiment, the reference size is determined so that the magnification of the enlarged document image and the reduction magnification of the reduced document are as close to the same size as possible.
According to this aspect, for an image of an original containing text, the image is printed at the same magnification as the original image or at a magnification close to the original magnification, so that the size of the text does not change or the change is minimized, making it easy for the user to read.

≪後処理優先かサイズ優先かを選択させる態様(実施の形態5)≫
以上に述べた実施の形態1~4において、画像回転のみで主走査方向サイズを揃えることができない原稿サイズが検出されたと判定した場合、制御部11は後処理の設定を優先して印刷するか、後処理の設定を解除して、原稿のサイズおよび倍率の設定に基づくサイズで印刷するかをユーザに選択させるようにしてもよい。
例えば、図5に示す例で3枚目の原稿53および4枚目の原稿54の原稿サイズが検出され、画像回転のみで主走査方向サイズを揃えることができないと判断すると、ユーザインターフェース制御部11Uとして制御部11は、操作部19に図7に示すポップアップウィンドウ70を表示させる。
<<Selection of Post-Processing Priority or Size Priority (Fifth Embodiment)>>
In the above-described first to fourth embodiments, if it is determined that an original size has been detected that cannot be adjusted in the main scanning direction size by image rotation alone, the control unit 11 may allow the user to select whether to print by prioritizing the post-processing settings, or to cancel the post-processing settings and print at a size based on the original size and magnification settings.
For example, in the example shown in Figure 5, when the document sizes of the third document 53 and the fourth document 54 are detected and it is determined that the main scanning direction size cannot be aligned by image rotation alone, the control unit 11, as the user interface control unit 11U, causes the operation unit 19 to display a pop-up window 70 shown in Figure 7.

図7に示すように、制御部11は、ポップアップウィンドウ70に、「異なるサイズの原稿が検出されました。以下の何れかを選択してください。」とのメッセージ71を表示させる。さらに、その下に、2つの選択肢を表示させる。
第1の選択肢は後処理優先ボタン72である。後処理優先ボタン72は、図7に示すように「ステープル処理を優先し、各頁の印刷用紙幅を揃え」て印刷する選択肢を提供する。
第2の選択肢はサイズ優先ボタン74である。サイズ優先ボタン74は、図7に示すように「元の原稿サイズを優先し、ステープル処理を解除」して印刷する選択肢を提供する。
7, the control unit 11 displays a message 71 saying "A document of a different size has been detected. Please select one of the following" in a pop-up window 70. Furthermore, two options are displayed below the message 71.
The first option is a post-processing priority button 72. The post-processing priority button 72 provides an option to "prioritize stapling and align the print paper width of each page" for printing, as shown in FIG.
The second option is a size priority button 74. The size priority button 74 provides the option of printing by "giving priority to the original document size and canceling staple processing" as shown in FIG.

後処理優先ボタン72、サイズ優先ボタン74の何れかのボタンがタッチされると、ユーザインターフェース制御部11Uとして制御部11は、ユーザの選択に従い印刷を行う。即ち、後処理優先ボタン72がタッチされた場合は、実施の形態1~4に述べたような画像処理を行って後処理を行うようにする。一方、サイズ優先ボタン74がタッチされた場合は、後処理を解除し、主走査方向サイズを揃えることをせずに原稿のサイズに応じた印刷用紙を選択して印刷を行うようにする。
この態様によれば、後処理優先かサイズ優先かをユーザに選択させることで、後処理よりも倍率を重視するユーザについても、ユーザの意図に反した印刷がされないようにできる。
なお、図7はユーザがジョブを実行する際にポップアップウィンドウを表示する例を示しているが、それに限るものでない。例えば、後処理を優先するか原稿サイズを優先するかの設定を予め受け付ける設定メニューを用意してもよい。そうすれば、ジョブを実行する際にユーザがポップアップウィンドウ70で選択の操作をする手間が省略される。
When either the post-processing priority button 72 or the size priority button 74 is touched, the control unit 11, functioning as the user interface control unit 11U, performs printing according to the user's selection. That is, when the post-processing priority button 72 is touched, the image processing described in the first to fourth embodiments is performed for post-processing. On the other hand, when the size priority button 74 is touched, post-processing is canceled, and printing is performed by selecting a print paper according to the size of the document without aligning the main scanning direction size.
According to this aspect, by allowing the user to select whether to prioritize post-processing or size, it is possible to prevent printing contrary to the user's intentions even for a user who places more importance on magnification than on post-processing.
7 shows an example in which a pop-up window is displayed when the user executes a job, but the present invention is not limited to this. For example, a setting menu may be prepared that accepts a setting as to whether to give priority to post-processing or to document size. In this way, the user does not have to go through the trouble of making a selection in the pop-up window 70 when executing a job.

≪実施の形態1に係るフローチャート≫
以下、フローチャートを参照しながら制御部11が実行する処理について述べる。
図8は、上述の実施の形態1に係る処理の一例を示すフローチャートである。図9は、図8に続く処理の例を示すフローチャートである。
図8に示すフローチャートは、後処理を含むジョブの一例として、ステープルが設定されたコピージョブを想定したものである。原稿の読み取りは、原稿送り装置160を用いて行うことを想定している。
Flowchart according to the first embodiment
The process executed by the control unit 11 will be described below with reference to the flowchart.
Fig. 8 is a flowchart showing an example of the process according to the above-mentioned embodiment 1. Fig. 9 is a flowchart showing an example of the process subsequent to Fig. 8 .
8 is an example of a job including post-processing, in which a copy job with stapling is set. It is assumed that the document is read using the document feeder 160.

ユーザインターフェース制御部11Uとしてユーザからジョブ実行の指示を受付けると、周辺機器制御部11Dとして制御部11は、原稿送り装置160に原稿の給送を指示する。そして、画像処理部11Pとして制御部11は、給送される1枚目の原稿(図5に示す原稿51)を読み取る。また、原稿サイズ検出部11Sとして制御部11は、原稿51のサイズを検出する。画像処理部11Pとして制御部は、読み取られた原稿51の印刷に用いる印刷用紙のサイズを決定する。図5に示す例ではA4サイズである。そして、選択したサイズの印刷用紙に1枚目の原稿画像を印刷する。また、原稿51の主走査方向サイズ297mmを後続の原稿52~54に対応する印刷用紙を選択する際の基準のサイズとする。(ステップS11)。 When the user interface control unit 11U receives a job execution instruction from the user, the control unit 11 as the peripheral device control unit 11D instructs the document feeder 160 to feed a document. Then, the control unit 11 as the image processing unit 11P reads the first document (document 51 shown in FIG. 5) that is fed. Also, the control unit 11 as the document size detection unit 11S detects the size of the document 51. The control unit as the image processing unit 11P determines the size of the printing paper to be used to print the read document 51. In the example shown in FIG. 5, it is A4 size. Then, the first document image is printed on the printing paper of the selected size. Also, the main scanning direction size of the document 51, 297 mm, is set as the reference size when selecting printing paper corresponding to the subsequent documents 52 to 54. (Step S11).

1枚目の原稿(図5に示す例では原稿51)の読み取りに続いて、制御部11は次の原稿(原稿51の場合は次に原稿52)を読み取り、次の原稿(原稿52)のサイズを検出する(ステップS13)。そして、次の原稿(原稿52)の印刷に用いる印刷用紙のサイズを決定するために画像処理部11Pとして制御部11は以下の判定を行う。まず、次の原稿(原稿52)は、前の原稿(原稿51)と異なるサイズか否かを判定する(ステップS15)。前の原稿と同じサイズであれば(ステップS15のNo)、処理を図9のステップS31の印刷処理へ進める。 Following reading of the first document (document 51 in the example shown in FIG. 5), the control unit 11 reads the next document (document 52 in the case of document 51) and detects the size of the next document (document 52) (step S13). Then, in order to determine the size of the printing paper to be used to print the next document (document 52), the control unit 11 as the image processing unit 11P makes the following judgment. First, it is judged whether the next document (document 52) is a different size from the previous document (document 51) (step S15). If it is the same size as the previous document (No in step S15), the process proceeds to the printing process of step S31 in FIG. 9.

前の原稿と異なるサイズであれば(ステップS15のYes)、必要に応じて画像を回転させることにより主走査方向サイズを揃えることができるサイズか否かを判定する(ステップS17)。図5に示す原稿52の例では、原稿のサイズがA3サイズであり、画像を回転させることなく主走査方向サイズは基準の297mmに揃う。よって、ステップS17の判定はYesになる。 If the size is different from the previous document (Yes in step S15), it is determined whether the size can be adjusted to match the main scanning direction size by rotating the image as necessary (step S17). In the example of document 52 shown in Figure 5, the document size is A3 size, and the main scanning direction size can be adjusted to the standard 297 mm without rotating the image. Therefore, the determination in step S17 is Yes.

ステップS17の判定がYesの場合、画像処理部11Pとして制御部11は、画像回転を含めて主走査方向サイズを基準に揃える印刷用紙を選択する。原稿52の例では、A3サイズの印刷用紙を選択する。そして、処理を図9のステップS31へ進める。
一方、ステップS17の判定がNoの場合(図5に示す例では、前の原稿が原稿52、次の原稿が原稿53の場合)、画像処理部11Pとして制御部11は、余白を増減調整して主走査方向サイズを基準に揃えられるか否かを判定する(ステップS21)。図5に示す原稿53の例では、B4サイズの原稿53に余白を付加してA3サイズにすることで主走査方向サイズを基準に揃えることができるので、ステップS21の判定はYesになる。原稿54の例についても、B5Rサイズの原稿54を画像回転させて余白を付加しA4サイズにすることで方向サイズを基準に揃えることができる。よって、ステップS21の判定はYesになる。なお、原稿54を画像回転させずに余白を付加してA3サイズに揃えることもできなくないが、それより小さい余白で済むA4サイズの方が好ましいと判定する。
If the determination in step S17 is Yes, the control unit 11 as the image processing unit 11P selects a print sheet to be aligned based on the main scanning direction size including image rotation. In the example of the document 52, an A3 size print sheet is selected. Then, the process proceeds to step S31 in FIG. 9.
On the other hand, if the determination in step S17 is No (in the example shown in FIG. 5, the previous document is document 52 and the next document is document 53), the control unit 11 as the image processing unit 11P determines whether or not the margins can be increased or decreased to align the main scanning direction size as a standard (step S21). In the example of document 53 shown in FIG. 5, the main scanning direction size can be aligned as a standard by adding margins to document 53 of B4 size to make it A3 size, so the determination in step S21 is Yes. In the example of document 54, the direction size can be aligned as a standard by rotating the image of document 54 of B5R size, adding margins, and making it A4 size. Therefore, the determination in step S21 is Yes. It is possible to align document 54 to A3 size by adding margins without rotating the image, but it is determined that A4 size is preferable because it requires a smaller margin.

ステップS21の判定がYesの場合、画像処理部11Pとして制御部11は、画像回転を含めて主走査方向サイズを基準に揃える印刷用紙を選択する。原稿53の例では、A3サイズの印刷用紙を選択する。原稿54の例では、A4サイズの印刷用紙を選択する。そして、処理を図9のステップS31へ進める。
一方、ステップS21の判定がNoの場合、画像処理部11Pとして制御部11は、対象の原稿の主走査方向サイズを基準に揃えることができないと判定し、後処理の設定を解除する。よって、対象の原稿以降については、主走査方向サイズを基準に揃えるための画像処理を行わずに適切な印刷用紙を選択して印刷を続ける。
If the determination in step S21 is Yes, the control unit 11 as the image processing unit 11P selects a print sheet to be aligned based on the main scanning direction size including image rotation. In the example of the original 53, A3 size print sheet is selected. In the example of the original 54, A4 size print sheet is selected. Then, the process proceeds to step S31 in FIG. 9.
On the other hand, if the determination in step S21 is No, the control unit 11 as the image processing unit 11P determines that the target document cannot be aligned based on the main scanning direction size, and cancels the setting of post-processing. Therefore, for the target document and subsequent documents, the control unit 11 selects an appropriate print paper and continues printing without performing image processing for aligning the main scanning direction size as the standard.

図9に示すステップS31は、次の原稿に対する印刷の処理である。画像処理部11Pとして制御部11は、選択された印刷用紙に印刷するために余白の増減調整が必要か否かを判定する。
余白の増減調整が必要であると判定した場合(ステップS31のYes)、必要に応じて原稿画像を回転させたうえで、余白を増減調整して選択された印刷用紙に原稿画像を印刷する(ステップS33)。そして、処理をステップS37へ進める。
一方、余白の増減調整が不要であると判定した場合(ステップS31のNo)、必要に応じて原稿画像を回転させたうえで、余白の増減調整はせずに選択された印刷用紙に原稿画像を印刷する(ステップS35)。そして、処理をステップS37へ進める。
Step S31 shown in Fig. 9 is a printing process for the next document. The control unit 11 functioning as the image processing unit 11P determines whether or not the margin needs to be increased or decreased in order to print on the selected printing paper.
If it is determined that the margins need to be adjusted (Yes in step S31), the document image is rotated as necessary, and the document image is printed on the selected printing paper with the margins adjusted (step S33).Then, the process proceeds to step S37.
On the other hand, if it is determined that the margin adjustment is not necessary (No in step S31), the document image is rotated as necessary and printed on the selected printing paper without adjusting the margin (step S35).Then, the process proceeds to step S37.

ステップS37で、画像処理部11Pとして制御部11は、最終の原稿について印刷に係る処理を行ったか否かを判定する。
未だ最終の原稿について処理を行っていない場合は(ステップS37のNo)、処理を図8に示すステップS13へ戻し、次の原稿について処理を続ける。図5に示す例では、このようにして原稿52、53および54についての処理が続く。
前記ステップS37で、最終の原稿について処理を行ったと判定した場合は(ステップS37のYes,図5に示す例では、原稿54の処理が済んでいる場合)、続いて前述のステップS25の処理で後処理(ステープル)の設定が解除されていないかを判定する(ステップS41)。
In step S37, the control section 11 functioning as the image processing section 11P determines whether or not the printing process has been performed on the final document.
If the final document has not yet been processed (No in step S37), the process returns to step S13 in Fig. 8, and the process continues with the next document. In the example shown in Fig. 5, the processes continue in this manner for documents 52, 53, and 54.
If it is determined in step S37 that the final document has been processed (Yes in step S37; in the example shown in FIG. 5, document 54 has been processed), it is then determined whether the post-processing (stapling) setting has been released in the processing of step S25 described above (step S41).

後処理(ステープル)の設定が解除されていなければ(ステップS41のYes)、主走査方向サイズが揃った印刷用紙に後処理(ステープル)を行って(ステップS43)ジョブを終了する。
一方、後処理(ステープル)の設定が解除されている場合は(ステップS41のNo)、後処理(ステープル)を行わずに(ステップS45)ジョブを終了する。
以上が、図8、9に示す実施の形態1に係る処理の具体例としての、ステープルが設定されたコピージョブの流れである。
If the setting of post-processing (stapling) has not been released (Yes in step S41), post-processing (stapling) is performed on the print sheets whose main scanning direction size is uniform (step S43), and the job is ended.
On the other hand, if the setting of post-processing (stapling) is canceled (No in step S41), the job is ended without performing post-processing (stapling) (step S45).
The above is the flow of a copy job in which stapling is set, as a specific example of the process according to the first embodiment shown in FIGS.

≪実施の形態2に係るフローチャート≫
続いて、実施の形態2に係る処理の流れについて述べる。
図10は、上述の実施の形態2に係る処理の一例を示すフローチャートである。図11は、図10に続く処理の例を示すフローチャートである。
図8、9に示すフローチャートと共通の処理は、説明を簡略化する。実施の形態2では、原稿を読み終えてから主走査方向サイズを揃える基準のサイズを決定し、印刷を開始する。また、各原稿に適用する画像処理は、画像回転、拡大縮小としている。実施の形態1で述べた余白の増減調整と組み合わせることはできるが、ここでは説明を単純化して分かりやすくするために余白の増減調整と組み合わせることはしていない。
Flowchart according to the second embodiment
Next, the flow of processing according to the second embodiment will be described.
Fig. 10 is a flowchart showing an example of the process according to the above-mentioned embodiment 2. Fig. 11 is a flowchart showing an example of the process subsequent to Fig. 10 .
The explanation of the processes common to the flowcharts shown in Figures 8 and 9 will be simplified. In the second embodiment, after the original is read, a standard size for aligning the main scanning direction size is determined, and printing is started. The image processing applied to each original is image rotation and enlargement/reduction. Although it can be combined with the margin increase/decrease adjustment described in the first embodiment, it is not combined with the margin increase/decrease adjustment here in order to simplify the explanation and make it easier to understand.

図10に示すように、ユーザインターフェース制御部11Uとしてユーザからジョブ実行の指示を受付けると、画像処理部11Pとして制御部11は、1枚目の原稿を読み取る。また、原稿サイズ検出部11Sとして制御部は、その原稿のサイズを検出する。画像処理部11Pとして制御部11は、読み取られた原稿画像と検出された原稿サイズとを対応付ける。ファイル制御部11Fとして制御部11は、そのデータを記憶装置13に格納する(ステップS51)。 As shown in FIG. 10, when the user interface control unit 11U receives an instruction to execute a job from a user, the control unit 11, acting as the image processing unit 11P, reads the first page of the document. The control unit, acting as the document size detection unit 11S, detects the size of the document. The control unit 11, acting as the image processing unit 11P, associates the read document image with the detected document size. The control unit 11, acting as the file control unit 11F, stores the data in the storage device 13 (step S51).

1枚目の原稿の読み取りに続いて、制御部11は次の原稿を読み取り、次の原稿のサイズを検出する。そして、次の原稿の原稿画像と検出された原稿サイズとを対応付ける。ファイル制御部11Fとして制御部11は、そのデータを記憶装置13に格納する(ステップS53)。
そして、画像処理部11Pとして制御部11は、最後の原稿まで読み取ったか否かを判定する(ステップS55)。未だ最後の原稿を読み取っていない場合は(ステップS55のNo)、処理をステップS53へ戻し、次の原稿を読み取る。そして、各原稿の原稿画像と検出された原稿サイズとを対応付けて記憶装置13に格納する。
After reading the first document, the control unit 11 reads the next document and detects the size of the next document. Then, the document image of the next document is associated with the detected document size. The control unit 11, functioning as the file control unit 11F, stores the data in the storage device 13 (step S53).
Then, the control unit 11 as the image processing unit 11P judges whether the last document has been read (step S55). If the last document has not yet been read (No in step S55), the process returns to step S53 and the next document is read. Then, the document image of each document is stored in the storage device 13 in association with the detected document size.

前記ステップS55で、最後の原稿まで読み取ったと判定した場合は(ステップS55のYes)、画像処理部11Pとして制御部11は、読み取られた各原稿のサイズを参照して異なるサイズの原稿が含まれているか否かを判定する(ステップS57)。何れの原稿も同じサイズである場合は(ステップS57のNo)、処理を後述するステップS65へ進める。
異なるサイズの原稿が含まれている場合は(ステップS57のYes)、必要に応じて画像を回転させることにより主走査方向サイズを揃えることができるか否かを判定する(ステップS59)。
When it is determined in step S55 that the last document has been read (Yes in step S55), the control unit 11 as the image processing unit 11P determines whether documents of different sizes are included by referring to the sizes of the documents read (step S57). When all the documents are the same size (No in step S57), the process proceeds to step S65 described later.
If documents of different sizes are included (Yes in step S57), it is determined whether or not the main scanning direction sizes can be made uniform by rotating the images as necessary (step S59).

画像回転により主走査方向サイズを揃えることができる場合は(ステップS59のYes)、そのサイズに対応した印刷用紙を選択し(ステップS61)、処理を後述するステップS65へ進める。
画像回転だけで主走査方向サイズを揃えることができない場合は(ステップS59のNo)、原稿画像の拡大縮小をさらに含めて主走査方向サイズを揃えることができるサイズを決定する。そして、そのサイズに対応する印刷用紙を選択する。ここで、画像回転と拡大縮小を組み合わせれば、何れかの印刷用紙に主走査方向を揃えることができるが、この実施形態では。拡大縮小を行う原稿の数が最小になるサイズを基準として選択する(ステップS63)。
If the main scanning direction size can be made uniform by rotating the images (Yes in step S59), a print paper sheet corresponding to that size is selected (step S61), and the process proceeds to step S65, which will be described later.
If the main scanning size cannot be made uniform by image rotation alone (No in step S59), a size that can make the main scanning size uniform by further including the enlargement/reduction of the original image is determined. Then, a print paper corresponding to that size is selected. Here, if image rotation and enlargement/reduction are combined, the main scanning direction can be made uniform on any print paper, but in this embodiment, the size that minimizes the number of originals to be enlarged/reduced is selected as the standard (step S63).

この実施形態に係る図でなく従来例に係る図であるが便宜上、図4を参照して説明する。図4は、それぞれA4サイズ、A3サイズ、B4サイズおよびB5Rサイズの4枚の原稿の例である。図4に係る従来例では、1枚目の原稿41の主走査方向サイズである297mmが基準のサイズである。しかし、画像回転および拡大縮小を組み合わせれば、297mm以外のサイズに主走査方向サイズを揃えることもできる。 Although this is not a diagram relating to this embodiment but a diagram relating to a conventional example, for convenience, the description will be given with reference to FIG. 4. FIG. 4 shows an example of four originals, each of which is A4 size, A3 size, B4 size, and B5R size. In the conventional example shown in FIG. 4, the standard size is 297 mm, which is the main scanning direction size of the first original 41. However, by combining image rotation and enlargement/reduction, it is possible to align the main scanning direction size to a size other than 297 mm.

例えば、B4サイズの3枚目の原稿43の主走査方向サイズ、257mmに揃えることも可能である。その場合、A4サイズの原稿41は、画像回転して拡大すればよい。2枚目の原稿42は、縮小すればよい。4枚目の原稿44は、拡大すればよい。その場合、拡大縮小すべき原稿の数は3である。
また、B5Rサイズの4枚目の原稿44の主走査方向サイズ182mmに揃えることも可能である。その場合、原稿41は画像回転して縮小し、原稿42および43は何れも縮小すればよい。その場合、拡大縮小すべき原稿の数は3である。
図4と同様に、主走査方向サイズを297mmに揃えれば、拡大縮小すべき原稿の数は2であり、結果的には従来例2と同様に297mmを主走査方向サイズの基準とすることになる。ただし、基準を決定する過程は従来例2と異なる。
For example, it is possible to align the main scanning direction size of the third document 43 of B4 size to 257 mm. In this case, the A4 size document 41 can be enlarged by rotating the image. The second document 42 can be reduced. The fourth document 44 can be enlarged. In this case, the number of documents to be enlarged or reduced is three.
It is also possible to align the size in the main scanning direction to 182 mm of the fourth document 44 of B5R size. In this case, the document 41 is reduced by rotating the image, and documents 42 and 43 are both reduced. In this case, the number of documents to be enlarged or reduced is three.
4, if the main scanning direction size is set to 297 mm, the number of documents to be enlarged or reduced is two, and as a result, 297 mm is set as the standard for the main scanning direction size as in Prior Art 2. However, the process of determining the standard differs from that in Prior Art 2.

以上のようにして、画像処理部11Pとして制御部11は、拡大縮小を行う原稿の数が最小になるように主走査方向サイズを揃える基準のサイズを決定する(ステップS65)。
基準のサイズを決定したら、画像処理部11Pとして制御部11は、必要に応じて画像回転を行うが、拡大縮小は行わずに選択された印刷用紙に印刷できるか否かを判定する(ステップS71)。
必要に応じて画像回転するだけで印刷可能と判定した場合(ステップS71のYes)、必要な原稿画像を回転させて主走査方向サイズを揃えたうえで選択された印刷用紙に原稿画像を印刷する(ステップS73)。そして、処理をステップS77へ進める。
一方、拡大縮小が必要であると判定した場合(ステップS71のNo)、必要に応じて原稿画像を回転させ、また必要に応じて拡大縮小を行って選択された印刷用紙に原稿画像を印刷する(ステップS75)。そして、処理をステップS77へ進める。
In this manner, the control unit 11 functioning as the image processing unit 11P determines a reference size for aligning the main scanning direction size so as to minimize the number of documents to be enlarged or reduced (step S65).
After determining the reference size, the control unit 11 as the image processing unit 11P rotates the image as necessary, but determines whether the image can be printed on the selected printing paper without enlarging or reducing it (step S71).
If it is determined that printing is possible by simply rotating the image as necessary (Yes in step S71), the necessary document images are rotated to align the main scanning direction size, and then the document images are printed on the selected printing paper (step S73).Then, the process proceeds to step S77.
On the other hand, if it is determined that enlargement or reduction is necessary (No in step S71), the document image is rotated as necessary, and enlarged or reduced as necessary to print the document image on the selected printing paper (step S75), and the process proceeds to step S77.

ステップS77で、画像処理部11Pとして制御部11は、最終の原稿について印刷に係る処理を行ったか否かを判定する。
未だ最終の原稿について印刷に係る処理を行っていない場合は(ステップS77のNo)、処理を図8に示すステップS71へ戻し、次の原稿について印刷に係る処理を続ける。
前記ステップS77で、最終の原稿について印刷に係る処理を行ったと判定した場合は(ステップS77のYes)、主走査方向サイズが揃った印刷用紙に後処理(ステープル)を行って(ステップS79)ジョブを終了する。
以上が、図10、11に示す実施の形態2に係る処理の具体例としての、ステープルが設定されたコピージョブの流れである。
なお、実施の形態3の処理は、実施の形態2に処理の流れとしては共通点が多いためフローチャートは省略している。
In step S77, the control section 11 functioning as the image processing section 11P determines whether or not the printing process has been performed on the final document.
If the printing process has not yet been performed on the last document (No in step S77), the process returns to step S71 shown in FIG. 8, and the printing process continues on the next document.
If it is determined in step S77 that printing processing has been performed on the final document (Yes in step S77), post-processing (stapling) is performed on the print sheets whose main scanning direction size is uniform (step S79), and the job is completed.
The above is the flow of a copy job in which stapling is set, as a specific example of the process according to the second embodiment shown in FIGS.
The process of the third embodiment has many points in common with the process of the second embodiment in terms of the flow of the process, so a flowchart is omitted.

≪実施の形態4に係るフローチャート≫
続いて、実施の形態4に係る処理の流れについて述べる。
図12は、上述の実施の形態4に係る処理の一例を示すフローチャートである。図13は、図12に続く処理の例を示すフローチャートである。
図10、11に示すフローチャートと共通の処理は、説明を簡略化し差異を中心に処理の流れを以下に述べる。実施の形態2では、文字認識を行って文字データを含む原稿(文字原稿)を特定する。文字原稿については、拡大縮小よりも画像回転、余白の増減調整を優先する。それでも拡大縮小を行わなければ主走査方向サイズを揃えることができないと判定した場合、拡大および縮小の倍率が等倍に近くなるように基準のサイズを決定する。
Flowchart according to the fourth embodiment
Next, the flow of processing according to the fourth embodiment will be described.
Fig. 12 is a flowchart showing an example of the process according to the above-mentioned embodiment 4. Fig. 13 is a flowchart showing an example of the process subsequent to Fig. 12.
The process flow will be described below with a focus on the differences and a simplified explanation of the processes common to the flowcharts shown in Figures 10 and 11. In the second embodiment, character recognition is performed to identify documents containing character data (text documents). For text documents, priority is given to image rotation and margin adjustment over enlargement/reduction. If it is still determined that the main scanning direction size cannot be made uniform without enlargement/reduction, a reference size is determined so that the enlargement and reduction magnifications are close to unity.

図12に示すステップS91~S101の処理は、図10に示すステップS51~S61にそれぞれ対応しているので説明を省略する。
ステップS99で制御部11は、必要に応じて画像を回転させることにより主走査方向サイズを揃えることができるか否かを判定するが、画像回転だけで主走査方向サイズを揃えることができない場合は(ステップS99のNo)、以下の処理を行う。
文字認識部11Rとして制御部11は、各原稿の画像が文字データを含むか否かを判定し、文字データを含む原稿(文字原稿)かそうでない原稿(画像原稿)かを特定する(ステップS103)。
The processes in steps S91 to S101 shown in FIG. 12 correspond to steps S51 to S61 shown in FIG. 10, respectively, and therefore will not be described.
In step S99, the control unit 11 determines whether the main scanning direction size can be made uniform by rotating the image as necessary, but if the main scanning direction size cannot be made uniform by image rotation alone (No in step S99), the following processing is performed.
The control unit 11 functioning as the character recognition unit 11R determines whether the image of each document contains character data, and identifies whether the document contains character data (character document) or not (image document) (step S103).

文字原稿については(ステップS103のYes)、各原稿画像を回転させる処理を優先し、その次に各原稿の余白を増減調整する処理を優先して主走査方向サイズを揃えるようにする。それだけでは各原稿の主走査方向サイズを揃えることができない場合は、さらに拡大縮小を行う。その場合、拡大縮小が必要な原稿の倍率が等倍に近くなるように主走査方向サイズを揃える基準のサイズを選択する(ステップS105)。
一方、画像原稿については(ステップS103のNo)、従来例2と同様に画像回転と拡大縮小を必要に応じて適用し、主走査方向サイズを基準に揃える(ステップS107)。ここで、基準のサイズは、文字原稿について決定された基準のサイズである。
なお、原稿が画像原稿のみの場合は、実施の形態3の手法を適用して基準のサイズを決定すればよい。
For text documents (Yes in step S103), the process of rotating each document image is prioritized, followed by the process of increasing or decreasing the margins of each document to align the main scanning size. If this alone does not align the main scanning size of each document, further enlargement or reduction is performed. In this case, a standard size for aligning the main scanning size is selected so that the magnification of documents that need to be enlarged or reduced is close to unity (step S105).
On the other hand, for image documents (No in step S103), image rotation and enlargement/reduction are applied as necessary in the same manner as in the conventional example 2, and the size in the main scanning direction is made the standard (step S107). Here, the standard size is the standard size determined for the text document.
When the document is only an image document, the method of the third embodiment may be applied to determine the reference size.

以上のようにして、画像処理部11Pとして制御部11は、文字原稿について拡大縮小の倍率が等倍に近くなるように主走査方向サイズを揃える基準のサイズを決定する(図13に示すステップS111)。
続く、ステップS113、S115、S123、S125は、図11のステップS71、S73、S77、S79にそれぞれ対応しているので説明を省略する。
ステップS113で、画像処理部11Pとして制御部11は、画像回転だけで選択された印刷用紙に印刷できるか否かを判定するが、画像回転だけで主走査方向サイズを揃えることができないと判定した場合は(ステップS113のNo)、以下の処理を行う。
In this manner, the control unit 11 as the image processing unit 11P determines a reference size for aligning the main scanning direction size so that the magnification of enlargement or reduction of the text document is close to unity (step S111 shown in FIG. 13).
The following steps S113, S115, S123, and S125 correspond to steps S71, S73, S77, and S79 in FIG. 11, respectively, and therefore description thereof will be omitted.
In step S113, the control unit 11 as the image processing unit 11P determines whether or not it is possible to print on the selected printing paper by simply rotating the image, but if it determines that it is not possible to align the main scanning direction size by simply rotating the image (No in step S113), the control unit 11 performs the following processing.

各原稿が文字原稿が画像原稿かに基づき(ステップS117)、文字原稿の場合は(ステップS117のYes)、各原稿画像を回転させる処理を優先し、その次に各原稿の余白を増減調整する処理を優先して主走査方向サイズを揃えるようにする。それだけでは各原稿の主走査方向サイズを揃えることができない原稿は、さらに拡大縮小を行う(ステップS119)。その場合、上述のステップS105の処理によって、拡大縮小が必要な原稿の倍率が等倍に近くなるように基準のサイズが選択されている。
画像原稿については(ステップS117のNo)、必要に応じて原稿画像を回転させ、また必要に応じて拡大縮小を行って主走査方向サイズを基準に揃え、選択された印刷用紙に原稿画像を印刷する(ステップS121)。
以上が、図12、13に示す実施の形態4に係る処理の具体例としての、ステープルが設定されたコピージョブの流れである。
Based on whether each document is a text document or an image document (step S117), if it is a text document (Yes in step S117), the process of rotating each document image is prioritized, and then the process of increasing or decreasing the margins of each document is prioritized to make the main scanning direction sizes uniform. If the main scanning direction sizes of each document cannot be made uniform by this alone, further enlargement or reduction is performed (step S119). In this case, the standard size is selected by the process of step S105 described above so that the magnification of documents that need to be enlarged or reduced is close to 1:1.
For an image original (No in step S117), the original image is rotated as necessary, and enlarged or reduced as necessary to align the main scanning direction size as a standard, and the original image is printed on the selected printing paper (step S121).
The above is the flow of a copy job in which stapling is set, as a specific example of the process according to the fourth embodiment shown in FIGS.

本開示には、上述した複数の態様のうちの何れかを組み合わせたものも含まれると解されるべきである。
前述した実施の形態の他にも、本開示についての種々の変形例があり得る。それらの変形例は、本開示の範囲に属さないと解されるべきものではない。本開示に係る発明には、請求の範囲と均等の意味および本開示の範囲に属するすべての変形が含まれるべきである。
It should be understood that the present disclosure also includes any combination of the above-described aspects.
In addition to the above-described embodiment, various modifications of the present disclosure are possible. These modifications should not be interpreted as not belonging to the scope of the present disclosure. The invention according to the present disclosure should include all modifications that are equivalent to the scope of the claims and that belong to the scope of the present disclosure.

11:制御部、 11C:通信制御部、 11D:周辺機器制御部、 11F:ファイル制御部、 11P:画像処理部、 11R:文字認識部、 11S:原稿サイズ検出部、 11U:ユーザインターフェース制御部、 13:記憶装置、 14:印刷部、 15:原稿読取部、 19:操作部
31,32,33,34,41,42,43,44,51,52,53,54,61,62,63,64:原稿、 36,37,38,39,46,47,48,49,56,57,58,59,66,67,68,69:印刷用紙
70:ポップアップウィンドウ、 71:メッセージ、 72:後処理優先ボタン、 74:サイズ優先ボタン
100:複合機、 108:手差しトレイ、 109,111,112,113:給紙トレイ、 110:給紙デスク、 120:大容量給紙トレイ、 130:後処理装置、 160:原稿送り装置
11: Control unit, 11C: Communication control unit, 11D: Peripheral device control unit, 11F: File control unit, 11P: Image processing unit, 11R: Character recognition unit, 11S: Document size detection unit, 11U: User interface control unit, 13: Storage device, 14: Printing unit, 15: Document reading unit, 19: Operation unit 31, 32, 33, 34, 41, 42, 43, 44, 51, 52, 53, 54, 61, 62, 63, 64: Document, 36, 37, 38, 39, 46, 47, 48, 49, 56, 57, 58, 59, 66, 67, 68, 69: Print paper, 70: Pop-up window, 71: Message, 72: Post-processing priority button, 74: Size priority button 100: Multifunction device, 108: Manual feed tray, 109, 111, 112, 113: paper feed tray, 110: paper feed desk, 120: large capacity paper feed tray, 130: post-processing device, 160: document feeder

Claims (6)

主走査方向のサイズが異なる複数の原稿を読み取る原稿読取部と、
各原稿の主走査方向サイズおよび副走査方向サイズを検出する原稿サイズ検出部と、
読み取られた前記原稿の画像に画像処理を行う画像処理部と、
前記画像処理が行われあるいは行われていない前記画像を定型サイズの印刷用紙に印刷する印刷部と、
ユーザの設定に応じて主走査方向サイズが同一の複数の印刷用紙に後処理を行う後処理部と、
前記原稿の読み取り、前記画像処理、前記印刷および前記後処理を制御する制御部とを備え、
前記制御部は、前記後処理が設定されている場合、各原稿の画像に90度単位の回転、拡大縮小、余白の増減調整の少なくとも何れかの画像処理を適用することによって前記主走査方向サイズを何れかの原稿の主走査方向サイズに揃えることが可能であれば、そのサイズを基準に各画像の前記主走査方向サイズを揃えて前記後処理が行えるようにする画像形成装置。
an original reading unit that reads a plurality of originals having different sizes in a main scanning direction;
a document size detection unit for detecting a size of each document in a main scanning direction and a sub-scanning direction;
an image processing unit that performs image processing on the image of the read document;
a printing unit that prints the image, which has been subjected to the image processing or which has not been subjected to the image processing, on a printing paper of a standard size;
a post-processing unit that performs post-processing on a plurality of print sheets having the same main scanning direction size in accordance with a user setting;
a control unit that controls the reading of the document, the image processing, the printing, and the post-processing,
The control unit, when the post-processing is set, applies at least one of image processing such as rotation in 90-degree increments, enlargement/reduction, and margin increase/decrease adjustment to the image of each original document, so that if it is possible to align the main scanning direction size to the main scanning direction size of one of the original documents, the control unit aligns the main scanning direction size of each image based on that size and enables the post-processing to be performed on the image forming device.
前記制御部は、前記原稿サイズ検出部により検出された各原稿のサイズが回転を行うだけでは前記基準のサイズに主走査方向のサイズを揃えられないが余白を付加すれば揃えられると判定した場合、拡大縮小は行わずに必要な原稿の画像に余白を付加する画像処理を行う請求項1に記載の画像形成装置。 The image forming device according to claim 1, wherein the control unit performs image processing to add margins to the image of the required document without enlarging or reducing it when it determines that the size of each document detected by the document size detection unit cannot be adjusted to the reference size in the main scanning direction by simply rotating the document but can be adjusted by adding margins. 前記制御部は、前記原稿読取部に各原稿の画像を読み取らせ前記原稿サイズ検出部に各原稿のサイズを検出させた後、拡大縮小を適用する原稿が最も少なくなるように前記基準のサイズを決定する請求項1に記載の画像形成装置。 The image forming apparatus according to claim 1, wherein the control unit causes the document reading unit to read the image of each document and the document size detection unit to detect the size of each document, and then determines the reference size so as to minimize the number of documents to which enlargement or reduction is applied. 各原稿の画像に文字が含まれるか否かを判定する文字認識部をさらに備え、
前記制御部は、前記画像に文字が含まれる原稿については、拡大縮小を行わずに余白を付加し、前記画像に文字が含まれない原稿については拡大縮小を行って主走査方向サイズを揃えるように前記基準のサイズを決定する請求項1に記載の画像形成装置。
A character recognition unit is further provided to determine whether or not each document image contains characters.
2. The image forming apparatus according to claim 1, wherein the control unit determines the reference size by adding margins without enlarging or reducing the image of an original document whose image includes text, and by enlarging or reducing the image of an original document whose image does not include text to align the main scanning direction size.
前記制御部は、前記後処理が設定されている場合、主走査方向のサイズが異なる原稿を検出した時に後処理を優先し必要に応じて画像処理を適用するか、後処理の設定を解除して、各原稿もしくは、ユーザが設定した印刷設定に基づいた印刷を優先するかのユーザによる選択を受け付ける請求項1~4の何れかに記載の画像形成装置。 The image forming device according to any one of claims 1 to 4, wherein the control unit, when the post-processing is set and an original with a different size in the main scanning direction is detected, accepts a user's selection of whether to prioritize the post-processing and apply image processing as necessary, or to cancel the post-processing setting and prioritize printing based on each original or print settings set by the user. 画像形成装置の制御部が、
主走査方向のサイズが異なる複数の原稿の画像を読み取るステップと、
各原稿の主走査方向および副走査方向のサイズを検出するステップと、
必要に応じて読み取られた前記原稿に画像処理を行うステップと、
前記画像処理が行われあるいは行われていない前記画像を印刷用紙に印刷するステップと、
ユーザの設定に応じて主走査方向サイズが同一の複数の印刷用紙に後処理を行うステップとを備え、
前記画像処理を行うステップは、前記後処理が設定されている場合、前記原稿の画像に90度単位の回転、拡大縮小、余白の増減調整の少なくとも何れかの画像処理を適用することによって前記主走査方向サイズを何れかの原稿の主走査方向サイズに揃えることが可能であれば、前記主走査方向サイズを基準のサイズに揃えて前記後処理が行えるようにする画像形成方法。
A control unit of the image forming apparatus
A step of reading images of a plurality of documents having different sizes in a main scanning direction;
detecting the size of each document in the main scanning direction and the sub-scanning direction;
performing image processing on the read document as necessary;
printing the image, with or without the image processing, on a printing sheet;
performing post-processing on a plurality of print papers having the same size in the main scanning direction in accordance with a user setting;
The image processing step is an image forming method in which, when the post-processing is set, if it is possible to align the main scanning direction size to the main scanning direction size of any original by applying at least one of image processing such as rotation in 90-degree increments, enlargement/reduction, and margin increase/decrease adjustment to the image of the original, the main scanning direction size is align to a standard size and the post-processing can be performed.
JP2022174627A 2022-10-31 2022-10-31 Image forming apparatus and image forming method Pending JP2024065648A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022174627A JP2024065648A (en) 2022-10-31 2022-10-31 Image forming apparatus and image forming method
US18/381,318 US20240146856A1 (en) 2022-10-31 2023-10-18 Image forming apparatus and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022174627A JP2024065648A (en) 2022-10-31 2022-10-31 Image forming apparatus and image forming method

Publications (1)

Publication Number Publication Date
JP2024065648A true JP2024065648A (en) 2024-05-15

Family

ID=90833513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022174627A Pending JP2024065648A (en) 2022-10-31 2022-10-31 Image forming apparatus and image forming method

Country Status (2)

Country Link
US (1) US20240146856A1 (en)
JP (1) JP2024065648A (en)

Also Published As

Publication number Publication date
US20240146856A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
US7349644B2 (en) Operation unit for formation of an image on a recording medium by an image forming unit in an image forming apparatus
US7453588B2 (en) Image forming apparatus, image forming system, sheet feeding source designation control method, image formation control method, and storage media
US7792455B2 (en) Image forming system including finisher applying punching processing and staple processing to printed papers, and image forming apparatus having mechanism for printing on both surfaces of paper
JP2005269174A (en) Image forming apparatus, image processing method, program, and recording medium
US20120140277A1 (en) Image forming apparatus and processing control method
JP5326636B2 (en) Image forming apparatus main body and image forming system
JP2024065648A (en) Image forming apparatus and image forming method
JP2009182812A (en) Image processor
JP2008048185A (en) Image reading apparatus and control program, and image forming system
JP2008107978A (en) Information processor allowing print preview display
JPH0789256A (en) Image recording device
JP4790363B2 (en) Information processing apparatus and image forming apparatus having the same
JP4669676B2 (en) Printing device
JP4092331B2 (en) Image forming apparatus
US20240045361A1 (en) Printing system, method, and storage medium
JP2005280896A (en) Image forming apparatus
JP2000211797A (en) Image forming device provided with slip sheet processing means
JP2013215990A (en) Printer, control method of the same, and program
JP2004326512A (en) Printing system
JP2006131322A (en) Image forming device, sheet processing device, and sheet handling method
JP2005216300A (en) Operating unit for image forming apparatus having pop-up screen
JP2004086559A (en) Printing processing system, and program and recording medium to be used for the same
JP2006279256A (en) Image editing apparatus, image forming system, and image forming program
JP2004066567A (en) Apparatus and method for specifying print conditions
JP2007084311A (en) Image forming device