JP2024070161A - Image forming apparatus, image forming method, and image forming program - Google Patents

Image forming apparatus, image forming method, and image forming program Download PDF

Info

Publication number
JP2024070161A
JP2024070161A JP2022180602A JP2022180602A JP2024070161A JP 2024070161 A JP2024070161 A JP 2024070161A JP 2022180602 A JP2022180602 A JP 2022180602A JP 2022180602 A JP2022180602 A JP 2022180602A JP 2024070161 A JP2024070161 A JP 2024070161A
Authority
JP
Japan
Prior art keywords
recording medium
image
image forming
camera
tray
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
JP2022180602A
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2022180602A priority Critical patent/JP2024070161A/en
Publication of JP2024070161A publication Critical patent/JP2024070161A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

【課題】 記録媒体に誤った画像が形成される事象の発生を抑制する。【解決手段】 画像形成装置100は、画像形成に供する記録媒体が載置される載置面が上方に開放した手差しトレイ153と、載置面を撮像範囲とするカメラ180と、カメラで撮影された画像データに基づいて、記録媒体がトレイに載置された状態を示すセット状態が正常か否かを判断する判断手段と、を備える。【選択図】 図1[Problem] To prevent the occurrence of an event in which an incorrect image is formed on a recording medium. [Solution] An image forming device (100) includes a manual feed tray (153) with an upwardly open mounting surface on which a recording medium to be used for image formation is placed, a camera (180) whose imaging range is the mounting surface, and a determination means for determining whether or not the set state, which indicates the state in which the recording medium is placed on the tray, is normal, based on image data captured by the camera. [Selected Figure] Figure 1

Description

この発明は、画像形成装置、画像形成方法および画像形成プログラムに関し、特に、手差しトレイを備えた画像形成装置、その画像形成装置で実行される画像形成方法および画像形成プログラムに関する。 This invention relates to an image forming device, an image forming method, and an image forming program, and in particular to an image forming device equipped with a manual feed tray, and an image forming method and an image forming program executed by the image forming device.

MFP(Multi Function Peripheral)で代表される画像形成装置は、手差しトレイを備えている。手差しトレイには、画像を形成される用紙、封筒、はがき等の様々な記録媒体がユーザーにより載置される。このため、ユーザーは、手差しトレイに画像形成の対象となる記録媒体を載置した後に、MFPに対してその記録媒体に画像を形成させるための設定等の操作が要求される場合がある。例えば、特開平11-191051号公報には、手差しトレイに載置された記録媒体をカメラで撮像し、画像から記録媒体に描かれた罫線を検出し、罫線ピッチに合わせて画像を縮小、拡大して形成する技術が記載されている。 Image forming devices, such as MFPs (Multi Function Peripherals), are equipped with a manual feed tray. In the manual feed tray, users place various recording media, such as paper, envelopes, and postcards, on which images will be formed. For this reason, after placing the recording media on the manual feed tray that is the subject of image formation, the user may be required to perform operations such as setting the MFP to form an image on that recording media. For example, Japanese Patent Application Laid-Open No. 11-191051 describes a technology in which a recording medium placed on the manual feed tray is imaged by a camera, ruled lines drawn on the recording medium are detected from the image, and the image is reduced or enlarged to match the pitch of the ruled lines.

一方、手差しトレイには、サイズ、紙厚等が異なる種々の記録媒体が載置可能であるため、手差しトレイに記録媒体を載置する際に、ユーザーに種々の操作が要求される。例えば、記録媒体が載置される方向、記録媒体が載置される位置等を手差しトレイに合わせて載置する操作が要求される。このため、手差しトレイに記録媒体が正しくセットされていなければ、画像形成装置は、記録媒体を正常に搬送することができず、記録媒体に画像が正しく形成されない場合があるといった問題がある。 On the other hand, since the manual feed tray can accommodate a variety of recording media with different sizes and thicknesses, the user is required to perform various operations when placing a recording medium on the manual feed tray. For example, the user is required to match the direction and position of the recording medium to the manual feed tray. For this reason, if the recording medium is not set correctly on the manual feed tray, the image forming device cannot transport the recording medium properly, which can result in an image not being formed correctly on the recording medium.

特開平11-191051号公報Japanese Patent Application Laid-Open No. 11-191051

この発明は上述した問題点を解決するためになされたもので、この発明の目的の1つは、記録媒体に誤った画像が形成される事象の発生を抑制した画像形成装置を提供することである。 This invention has been made to solve the above-mentioned problems, and one of the objects of this invention is to provide an image forming device that suppresses the occurrence of an event in which an incorrect image is formed on a recording medium.

この発明の他の目的は、記録媒体に誤った画像が形成される事象の発生を抑制した画像形成方法を提供することである。 Another object of the invention is to provide an image forming method that suppresses the occurrence of an event in which an incorrect image is formed on a recording medium.

この発明の他の目的は、記録媒体に誤った画像が形成される事象の発生を抑制した画像形成プログラムを提供することである。 Another object of the present invention is to provide an image forming program that suppresses the occurrence of an event in which an incorrect image is formed on a recording medium.

この発明のある局面によれば、画像形成装置は、画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、載置面を撮像範囲とするカメラと、カメラで撮影された画像データに基づいて、記録媒体がトレイに載置された状態を示すセット状態が正常か否かを判断する判断手段と、を備える。 According to one aspect of this invention, the image forming device includes a tray with an upwardly open loading surface on which a recording medium to be used for image formation is placed, a camera whose imaging range is the loading surface, and a determination means for determining whether the set state, which indicates the state in which the recording medium is placed on the tray, is normal or not, based on image data captured by the camera.

この発明の他の局面によれば、画像形成方法は、画像形成装置で実行される画像形成方法であって、画像形成装置は、画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、載置面を撮像範囲とするカメラと、を備え、カメラで撮影された画像データに基づいて、記録媒体がトレイに載置された状態を示すセット状態が正常か否かを判断する判断ステップを含む。 According to another aspect of the invention, the image forming method is an image forming method executed by an image forming device, the image forming device having a tray with an upwardly open loading surface on which a recording medium to be used for image formation is placed, and a camera having an image capturing range of the loading surface, and including a determination step of determining whether a set state indicating the state in which the recording medium is placed on the tray is normal or not based on image data captured by the camera.

この発明の他の局面によれば、画像形成プログラムは、画像形成装置を制御するコンピューターで実行される画像形成プログラムであって、画像形成装置は、画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、載置面を撮像範囲とするカメラと、を備え、カメラで撮影された画像データに基づいて、記録媒体がトレイに載置された状態を示すセット状態が正常か否かを判断する判断ステップを含む。 According to another aspect of the invention, the image forming program is an image forming program executed by a computer that controls an image forming device, the image forming device having a tray with an upwardly open loading surface on which a recording medium to be used for image formation is placed, and a camera having an image capturing range that covers the loading surface, and including a determination step that determines whether a set state indicating a state in which the recording medium is placed on the tray is normal or not based on image data captured by the camera.

本発明の実施の形態の1つにおけるMFPの正面図である。1 is a front view of an MFP according to an embodiment of the present invention; MFPの内部構成を示す模式的断面図である。FIG. 2 is a schematic cross-sectional view showing the internal configuration of the MFP. 手差しトレイの斜視図である。FIG. MFPのハードウェア構成の概要を示すブロック図である。FIG. 2 is a block diagram showing an outline of a hardware configuration of the MFP. 本実施の形態におけるMFPが備えるCPUが有する機能の一例を示すブロック図である。2 is a block diagram showing an example of functions of a CPU included in the MFP according to the present embodiment. FIG. 画像形成処理の流れの一例を示すフローチャートである。10 is a flowchart showing an example of the flow of an image forming process. セット状態決定処理の流れの一例を示すフローチャートである。13 is a flowchart showing an example of the flow of a set state determination process.

以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。 Below, an embodiment of the present invention will be described with reference to the drawings. In the following description, identical parts are given the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated.

図1は、本発明の実施の形態の1つにおけるMFPの正面図である。図2は、MFPの内部構成を示す模式的断面図である。図1および図2を参照して、MFP(Multi Function Peripheral)100は、画像形成装置の一例であり、原稿を読み取る原稿読取部130と、原稿を原稿読取部130に搬送する自動原稿搬送装置120と、画像データに基づいて用紙に画像を形成する画像形成部140と、画像形成部140に用紙を供給する給紙部150と、操作パネル160と、カメラ180と、を含む。 Fig. 1 is a front view of an MFP according to one embodiment of the present invention. Fig. 2 is a schematic cross-sectional view showing the internal configuration of the MFP. With reference to Figs. 1 and 2, an MFP (Multi Function Peripheral) 100 is an example of an image forming device, and includes a document reading unit 130 that reads a document, an automatic document feeder 120 that transports the document to the document reading unit 130, an image forming unit 140 that forms an image on paper based on image data, a paper feed unit 150 that supplies paper to the image forming unit 140, an operation panel 160, and a camera 180.

原稿読取部130は、自動原稿搬送装置120により原稿ガラス11上にセットされた原稿の画像を、その下方を移動するスライダー12に取付けられた露光ランプ13で露光する。原稿からの反射光は、ミラー14と2枚の反射ミラー15,15Aによりレンズ16に導かれ、CCD(Charge Coupled Devices)センサー18に結像する。 The document reading unit 130 exposes the image of the document set on the document glass 11 by the automatic document feeder 120 with an exposure lamp 13 attached to a slider 12 that moves below the document. The light reflected from the document is guided to a lens 16 by a mirror 14 and two reflecting mirrors 15 and 15A, and forms an image on a CCD (Charge Coupled Devices) sensor 18.

CCDセンサー18に結像した反射光は、CCDセンサー18内で電気信号としての画像データに変換される。画像データは、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の印字用データに変換されて、画像形成部140に出力される。 The reflected light that forms an image on the CCD sensor 18 is converted into image data as an electrical signal within the CCD sensor 18. The image data is converted into printing data for cyan (C), magenta (M), yellow (Y), and black (K), and output to the image forming unit 140.

画像形成部140は、イエロー、マゼンタ、シアンおよびブラックそれぞれに対応する、現像ユニット20Y,20M,20C,20K、およびトナーボトル41Y,41M,41C,41Kを有する。ここで、“Y”、“M”、“C”および“K”は、それぞれイエロー、マゼンタ、シアンおよびブラックを表す。 The image forming section 140 has developing units 20Y, 20M, 20C, and 20K, and toner bottles 41Y, 41M, 41C, and 41K, which correspond to yellow, magenta, cyan, and black, respectively. Here, "Y", "M", "C", and "K" stand for yellow, magenta, cyan, and black, respectively.

現像ユニット20Y,20M,20C,20Kおよびトナーボトル41Y,41M,41C,41Kは、取扱うトナーの色彩が異なるのみなので、ここでは、イエローの画像を形成するための現像ユニット20Yおよびトナーボトル41Yについて説明する。 The only difference between developing units 20Y, 20M, 20C, and 20K and toner bottles 41Y, 41M, 41C, and 41K is the color of the toner they use. Here, we will explain developing unit 20Y and toner bottle 41Y for forming yellow images.

トナーボトル41Yは、イエローのトナーを収容する。現像剤は、非磁性体のトナーと磁性体のキャリアとを含む。トナーボトル41Yは、トナーボトルモーターを駆動源として回転し、トナーを外部に排出する。トナーボトル41Yから排出されたトナーは、現像装置24Yに供給される。トナーボトル41Yは、現像装置24Yに収容されたトナーの残量が予め定められた下限値以下になることに応じて現像装置24Yに現像剤を供給する。 The toner bottle 41Y contains yellow toner. The developer contains non-magnetic toner and magnetic carrier. The toner bottle 41Y rotates using a toner bottle motor as a drive source, and discharges toner to the outside. The toner discharged from the toner bottle 41Y is supplied to the developing device 24Y. The toner bottle 41Y supplies developer to the developing device 24Y when the remaining amount of toner contained in the developing device 24Y falls below a predetermined lower limit.

中間転写ベルト30は、駆動ローラー33と従動ローラー34とにより弛まないように懸架されている。駆動ローラー33が図1中で反時計回りに回転すると、中間転写ベルト30が所定の速度で図中反時計回りに回転する。中間転写ベルト30の回転に伴って、従動ローラー34が、反時計回りに回転する。 The intermediate transfer belt 30 is suspended by a drive roller 33 and a driven roller 34 so as not to slacken. When the drive roller 33 rotates counterclockwise in FIG. 1, the intermediate transfer belt 30 rotates counterclockwise in the figure at a predetermined speed. As the intermediate transfer belt 30 rotates, the driven roller 34 rotates counterclockwise.

現像ユニット20Yは、現像剤を収容する。現像剤は、非磁性体のトナーと磁性体のキャリアとを含む。現像ユニット20Yは、トナーボトル41Yからトナーが補給され、キャリアとトナーとを撹拌する。現像ユニット20Yは、現像剤に含まれるトナーでトナー像を形成し、トナー像を中間転写ベルト30に転写する。現像ユニット20Yが、中間転写ベルト30上にトナー像を転写するタイミングは、中間転写ベルト30に付された基準マークを検出することにより、調整される。 The developing unit 20Y contains developer. The developer contains non-magnetic toner and magnetic carrier. The developing unit 20Y receives toner from the toner bottle 41Y and mixes the carrier and toner. The developing unit 20Y forms a toner image with the toner contained in the developer and transfers the toner image to the intermediate transfer belt 30. The timing at which the developing unit 20Y transfers the toner image onto the intermediate transfer belt 30 is adjusted by detecting a reference mark on the intermediate transfer belt 30.

MFP100は、フルカラーの画像を形成する場合、現像ユニット20Y,20M,20C,20Kのすべてを駆動させる。これにより、イエロー、マゼンタ、シアンおよびブラックのトナー像が中間転写ベルト30上に重畳される。MFP100は、モノクロの画像を形成する場合、現像ユニット20Y,20M,20C,20Kのいずれか1つを駆動する。また、現像ユニット20Y,20M,20C,20Kの2以上を組み合わせて画像を形成することもできる。 When forming a full-color image, the MFP 100 drives all of the developing units 20Y, 20M, 20C, and 20K. This causes yellow, magenta, cyan, and black toner images to be superimposed on the intermediate transfer belt 30. When forming a monochrome image, the MFP 100 drives any one of the developing units 20Y, 20M, 20C, and 20K. It is also possible to form an image by combining two or more of the developing units 20Y, 20M, 20C, and 20K.

給紙部150は、2つの給紙カセット151,152と、1つの手差しトレイ153とを含む。2つの給紙カセット151,152は、それぞれサイズの異なる用紙の複数を収容可能である。2つの給紙カセット151,152それぞれに収容された1以上の用紙は、給紙カセット151,152にそれぞれ対応して取付けられている取出ローラー36,36Aにより、最上段の用紙が取り出され、搬送経路へ供給される。搬送経路を通る用紙は、給紙ローラー37によりタイミングローラー31へ送られる。 The paper feed section 150 includes two paper feed cassettes 151, 152 and one manual feed tray 153. The two paper feed cassettes 151, 152 can each store multiple sheets of paper of different sizes. The topmost sheet of paper stored in each of the two paper feed cassettes 151, 152 is removed by removal rollers 36, 36A attached to the paper feed cassettes 151, 152, respectively, and supplied to the transport path. The paper passing through the transport path is sent to the timing roller 31 by the paper feed roller 37.

手差しトレイ153は、記録媒体の1以上を保持する。手差しトレイ153が保持可能な記録媒体は、サイズの異なる用紙、紙厚の異なる用紙、封筒、はがき等の複数の種類がある。手差しトレイ153が保持する1以上の記録媒体は、手差しトレイ153に対応して取付けられている取出ローラー36Bにより、最上段の記録媒体が取り出され、搬送経路へ供給される。搬送経路を通る記録媒体は、給紙ローラー37によりタイミングローラー31へ送られる。 The manual feed tray 153 holds one or more recording media. The manual feed tray 153 can hold multiple types of recording media, including paper of different sizes and thicknesses, envelopes, postcards, etc. The topmost recording medium held by the manual feed tray 153 is removed by the removal roller 36B attached to the manual feed tray 153 and supplied to the transport path. The recording medium passing through the transport path is sent to the timing roller 31 by the paper feed roller 37.

タイミングローラー31は、給紙ローラー37により搬送される用紙を中間転写ベルト30と転写部材である2次転写ローラー26との間のニップ部に搬送する。2次転写ローラー26は、ニップ部において電界を発生させる。このニップ部において電界力の作用により、タイミングローラー31により搬送される用紙に、中間転写ベルト30に形成されたトナー像が用紙に転写される。トナー像が転写された用紙は、定着ローラー32に搬送され、定着ローラー32により加熱および加圧される。これにより、トナーが溶かされて用紙に定着する。その後、用紙は排紙トレイ39に排出される。中間転写ベルト30の現像装置24Yの上流に、ベルト清掃ブレード29が設けられている。ベルト清掃ブレード29は、中間転写ベルト30上で用紙に転写されずに残ったトナーを除去する。 The timing roller 31 transports the paper transported by the paper feed roller 37 to the nip between the intermediate transfer belt 30 and the secondary transfer roller 26, which is a transfer member. The secondary transfer roller 26 generates an electric field at the nip. The toner image formed on the intermediate transfer belt 30 is transferred to the paper transported by the timing roller 31 by the action of the electric field force at this nip. The paper with the transferred toner image is transported to the fixing roller 32, where it is heated and pressed. This melts the toner and fixes it to the paper. The paper is then discharged to the paper output tray 39. A belt cleaning blade 29 is provided upstream of the developing device 24Y of the intermediate transfer belt 30. The belt cleaning blade 29 removes toner remaining on the intermediate transfer belt 30 that has not been transferred to the paper.

なお、ここでは、MFP100は、用紙に4色のトナーそれぞれを形成する現像装置24Y,24M,24C,24Kを備えたタンデム方式を採用する例について説明するが、1つの感光体ドラムで4色のトナーを順に用紙に転写する4サイクル方式を採用してもよい。 Here, we will explain an example in which the MFP 100 employs a tandem system with developing devices 24Y, 24M, 24C, and 24K that form four color toners on paper, but it may also employ a four-cycle system in which the four color toners are transferred to paper in sequence using a single photoconductor drum.

カメラ180は、手差しトレイ153の上方で、原稿読取部130の側面に固定される。カメラ180の画角が手差しトレイ153を含むように、レンズの倍率が設定されている。また、カメラ180は、自動焦点調節機能を有する。カメラ180は、手差しトレイ153の記録媒体が載置される載置面または手差しトレイ153に記録媒体が載置されている場合にはその記録媒体の最上面で合焦する。また、カメラ180は、原稿読取部130と接続される部分に、チルト機構を有する。これにより、カメラ180のレンズの光軸が、手差しトレイ153の載置面153A(図3参照)に垂直になるように調整される。この調整は、ユーザーにより調整される。なお、モーターが駆動されることによりチルト角を変更する機構が設けられる場合には、モーターを駆動することによりチルト角が調整されてもよい。 The camera 180 is fixed to the side of the document reading unit 130 above the manual feed tray 153. The lens magnification is set so that the angle of view of the camera 180 includes the manual feed tray 153. The camera 180 also has an automatic focus adjustment function. The camera 180 focuses on the surface of the manual feed tray 153 on which the recording medium is placed, or on the top surface of the recording medium when a recording medium is placed on the manual feed tray 153. The camera 180 also has a tilt mechanism in the part connected to the document reading unit 130. This adjusts the optical axis of the lens of the camera 180 so that it is perpendicular to the placement surface 153A (see FIG. 3) of the manual feed tray 153. This adjustment is performed by the user. Note that if a mechanism for changing the tilt angle by driving a motor is provided, the tilt angle may be adjusted by driving the motor.

図3は、手差しトレイの斜視図である。図3においては、MFP100の手差しトレイ153が設置される部分が切り取られて示される。図3を参照して、手差しトレイ153は、一対の用紙幅調整板173A,173Bと、溝174A,174Bと、用紙検出突起175A,175Bとを備える。手差しトレイ153は、MFP100の本体と結合する端部176を有する。手差しトレイ153は、端部176においてMFP100の側面に並行かつ水平方向に延びる回転軸を介してMFP100に接続される。手差しトレイ153は、端部176が接続される回転軸を中心に回転し、開状態と閉状態とに状態が切り換わる。図3においては、手差しトレイ153が開状態の場合が示される。手差しトレイ153は、開状態において、その上面である載置面153Aに記録媒体が載置さる。 Figure 3 is a perspective view of the manual feed tray. In Figure 3, the portion of the MFP 100 where the manual feed tray 153 is installed is cut away. Referring to Figure 3, the manual feed tray 153 has a pair of paper width adjustment plates 173A, 173B, grooves 174A, 174B, and paper detection protrusions 175A, 175B. The manual feed tray 153 has an end 176 that is coupled to the main body of the MFP 100. The manual feed tray 153 is connected to the MFP 100 at the end 176 via a rotation shaft that extends parallel to the side of the MFP 100 and in the horizontal direction. The manual feed tray 153 rotates around the rotation shaft to which the end 176 is connected, and the state is switched between an open state and a closed state. Figure 3 shows the case where the manual feed tray 153 is in the open state. When the manual feed tray 153 is in the open state, a recording medium is placed on the upper surface, which is the placement surface 153A.

手差しトレイ153は、開状態において、載置面153Aが傾斜する。端部176が最も低く、端部176に対向する端部が最も高い位置となる。載置面153AがMFP100の本体に向かって下降するように傾斜しているので、手差しトレイ153の載置面153Aに載置された記録媒体は、自重によりMFP100の本体に向かう方向に力を受ける。 When manual feed tray 153 is open, mounting surface 153A is inclined. End 176 is the lowest, and the end opposite end 176 is at the highest position. Because mounting surface 153A is inclined downward toward the main body of MFP 100, the recording medium placed on mounting surface 153A of manual feed tray 153 is subjected to a force due to its own weight in a direction toward the main body of MFP 100.

一対の用紙幅調整板173A,173Bは、溝174A,174Bそれぞれに沿ってスライド可能に手差しトレイ153に装着される。溝174Aと溝174Bとは平行である。一対の用紙幅調整板173A,173Bは、溝174A,174Bに垂直でかつ対向する面を有する。 The pair of paper width adjustment plates 173A and 173B are attached to the manual feed tray 153 so as to be slidable along the grooves 174A and 174B, respectively. The grooves 174A and 174B are parallel. The pair of paper width adjustment plates 173A and 173B have surfaces that are perpendicular to and face the grooves 174A and 174B.

手差しトレイ153の載置面153Aに用紙が載置される場合、用紙は手差しトレイ153の載置面153Aの傾斜に沿って端部176に向かって滑り落ち、MFP100の本体に当接することにより、用紙の端部が揃えられる。これにより、溝174A,174Bに垂直な方向における用紙と手差しトレイ153との相対位置が定められる。MFP100の本体には、手差しトレイ153の載置面153Aの端部176に存在する用紙を検出する用紙検出センサー154が設けられている。 When paper is placed on the loading surface 153A of the manual feed tray 153, the paper slides down along the slope of the loading surface 153A of the manual feed tray 153 toward the edge 176, and abuts against the main body of the MFP 100, aligning the edges of the paper. This determines the relative position of the paper and the manual feed tray 153 in the direction perpendicular to the grooves 174A and 174B. The main body of the MFP 100 is provided with a paper detection sensor 154 that detects paper present at the edge 176 of the loading surface 153A of the manual feed tray 153.

一対の用紙幅調整板173A,173Bは、ラックアンドピニオン機構によって連結される。このため、一対の用紙幅調整板173A,173Bそれぞれは、一方がユーザーにより他方に向かう方向にスライドされると他方が一方に向かう方向に移動し、一方がユーザーにより他方から離れる方向にスライドされると他方が一方から離れる方向に移動する。ユーザーは、一対の用紙幅調整板173A,173Bの間隔が、溝174A,174Bと平行な方向の用紙の長さ(用紙の幅)よりも大きくなるように一対の用紙幅調整板173A,173Bのいずれか一方を移動させた後に、用紙を手差しトレイ153に載置し、その後、一対の用紙幅調整板173A,173Bそれぞれが用紙に当接するまで一対の用紙幅調整板173A,173Bのいずれか一方を移動させる。これにより、用紙の溝174A,174Bと平行な方向の中心が一対の用紙幅調整板173A,173Bの中心となるように定められるので、手差しトレイ153に対する用紙の相対位置が定められる。ラックアンドピニオン機構は、一対の用紙幅調整板173A,173Bの間の距離を計測する用紙幅センサーが装着されている。 The pair of paper width adjustment plates 173A, 173B are connected by a rack and pinion mechanism. Therefore, when one of the pair of paper width adjustment plates 173A, 173B is slid toward the other by the user, the other moves toward the other, and when one is slid away from the other by the user, the other moves away from the other. The user moves one of the pair of paper width adjustment plates 173A, 173B so that the distance between the pair of paper width adjustment plates 173A, 173B is greater than the length of the paper (width of the paper) in the direction parallel to the grooves 174A, 174B, and then places the paper on the manual feed tray 153, and then moves one of the pair of paper width adjustment plates 173A, 173B until each of the pair of paper width adjustment plates 173A, 173B abuts against the paper. This determines the center of the paper in a direction parallel to the grooves 174A, 174B to be the center of the pair of paper width adjustment plates 173A, 173B, thereby determining the relative position of the paper with respect to the manual feed tray 153. The rack and pinion mechanism is equipped with a paper width sensor that measures the distance between the pair of paper width adjustment plates 173A, 173B.

用紙検出突起175Aは、用紙検出突起175Bよりも端部176側に手差しトレイ153に配置される。このため、端部176から用紙検出突起175Aとの間の距離は、端部176から用紙検出突起175Aとの間の距離よりも短い。用紙検出突起175A,175Bそれぞれは、手差しトレイ153に対して上下移動が可能となるように手差しトレイ153に取り付けられている。用紙検出突起175A,175Bそれぞれは、手差しトレイ153に対して上方にばねで付勢されている。このため、手差しトレイ153に用紙がセットされていない状態では、用紙検出突起175A,175Bそれぞれは、手差しトレイ153の載置面153Aよりも上方に突出する。用紙検出突起175A,175Bそれぞれは、手差しトレイ153にセットされた用紙の重さにより下方に押し下げられる。用紙検出突起175A,175Bそれぞれに対して、下方に押し下げられたことを検出するセンサーが設けられている。ここでは、用紙検出突起175A,175Bそれぞれに対して設けられるセンサーは、用紙検出突起175A,175Bそれぞれが手差しトレイ153の載置面153Aから突出している場合にOFFを出力し、用紙検出突起175A,175Bそれぞれが下方に押し下げられた場合にONを出力する。 The paper detection protrusion 175A is disposed on the manual feed tray 153 closer to the end 176 than the paper detection protrusion 175B. Therefore, the distance between the end 176 and the paper detection protrusion 175A is shorter than the distance between the end 176 and the paper detection protrusion 175A. Each of the paper detection protrusions 175A and 175B is attached to the manual feed tray 153 so that it can move up and down relative to the manual feed tray 153. Each of the paper detection protrusions 175A and 175B is biased upward relative to the manual feed tray 153 by a spring. Therefore, when no paper is set in the manual feed tray 153, each of the paper detection protrusions 175A and 175B protrudes upward from the loading surface 153A of the manual feed tray 153. Each of the paper detection protrusions 175A and 175B is pressed downward by the weight of the paper set in the manual feed tray 153. A sensor is provided for each of the paper detection protrusions 175A and 175B to detect that it has been pressed downward. Here, the sensors provided for the paper detection protrusions 175A and 175B each output an OFF signal when the paper detection protrusions 175A and 175B each protrude from the loading surface 153A of the manual feed tray 153, and output an ON signal when the paper detection protrusions 175A and 175B each are pressed downward.

端部176から用紙検出突起175Aとの間の距離は、B5サイズの用紙の短手方向の長さより長く、A4サイズの用紙の短手方向の長さより短くなるように、調整されている。また、端部176から用紙検出突起175Bとの間の距離は、A4サイズの用紙の短手方向の長さより長く、B5サイズの用紙の長手方向の長さより短くなるように、調整されている。 The distance between end 176 and paper detection protrusion 175A is adjusted to be longer than the short side length of B5 size paper and shorter than the short side length of A4 size paper. Also, the distance between end 176 and paper detection protrusion 175B is adjusted to be longer than the short side length of A4 size paper and shorter than the long side length of B5 size paper.

手差しトレイ153にセットされる用紙のサイズによって、用紙検出突起175A,175Bそれぞれに対応するセンサーの出力が異なる。用紙検出突起175A,175Bそれぞれに対応するセンサーの出力の組み合わせは、用紙検出突起175Aに対応するセンサーがOFFで用紙検出突起175Bに対応するセンサーがOFFとなる第1組と、用紙検出突起175Aに対応するセンサーがONで用紙検出突起175Bに対応するセンサーがOFFとなる第2組と、用紙検出突起175Aに対応するセンサーがONで用紙検出突起175Bに対応するセンサーがONとなる第3組と、がある。 The output of the sensors corresponding to the paper detection protrusions 175A and 175B varies depending on the size of the paper loaded in the manual feed tray 153. There are three combinations of output of the sensors corresponding to the paper detection protrusions 175A and 175B: a first combination in which the sensor corresponding to the paper detection protrusion 175A is OFF and the sensor corresponding to the paper detection protrusion 175B is OFF; a second combination in which the sensor corresponding to the paper detection protrusion 175A is ON and the sensor corresponding to the paper detection protrusion 175B is OFF; and a third combination in which the sensor corresponding to the paper detection protrusion 175A is ON and the sensor corresponding to the paper detection protrusion 175B is ON.

このため、用紙検出センサー154により手差しトレイ153に用紙がセットされたことが検出される場合、用紙幅センサーにより検出される用紙の幅と、用紙検出突起175A,175Bそれぞれに対応するセンサーの出力の組み合わせとから、用紙のサイズが定まる。用紙幅センサーにより検出される用紙の幅から、手差しトレイ153にセットされた用紙が、A4サイズおよびA3サイズを含むAサイズと、B5サイズおよびB4サイズを含むBサイズのいずれかであるかが判別される。用紙の幅がBサイズで、用紙検出突起175A,175Bそれぞれに対応するセンサーの出力が第1組の場合、用紙のサイズはB5である。用紙の幅がBサイズで、用紙検出突起175A,175Bそれぞれに対応するセンサーの出力が第3組の場合、用紙のサイズはB4である。用紙の幅がAサイズで、用紙検出突起175A,175Bそれぞれに対応するセンサーの出力が第2組の場合、用紙のサイズはA4である。用紙の幅がAサイズで、用紙検出突起175A,175Bそれぞれに対応するセンサーの出力が第3組の場合、用紙のサイズはA3である。 Therefore, when the paper detection sensor 154 detects that paper has been set in the manual feed tray 153, the size of the paper is determined from the combination of the width of the paper detected by the paper width sensor and the output of the sensors corresponding to the paper detection protrusions 175A and 175B. From the width of the paper detected by the paper width sensor, it is determined whether the paper set in the manual feed tray 153 is A size, which includes A4 and A3 sizes, or B size, which includes B5 and B4 sizes. If the width of the paper is B size and the output of the sensors corresponding to the paper detection protrusions 175A and 175B is the first set, the size of the paper is B5. If the width of the paper is B size and the output of the sensors corresponding to the paper detection protrusions 175A and 175B is the third set, the size of the paper is B4. If the width of the paper is A size and the output of the sensors corresponding to the paper detection protrusions 175A and 175B is the second set, the size of the paper is A4. If the paper width is size A and the output of the sensors corresponding to paper detection protrusions 175A and 175B is set 3, the paper size is A3.

載置面153Aの中央部分に、基準シート155が張り付けられている。基準シート155は、矩形であり、載置面153Aの色と異なる色のべた画像が印刷されている。基準シート155の縦横のサイズは予め定められている。 A reference sheet 155 is attached to the center of the placement surface 153A. The reference sheet 155 is rectangular, and has a solid image printed on it in a color different from the color of the placement surface 153A. The length and width of the reference sheet 155 are predetermined.

図4は、MFPのハードウェア構成の概要を示すブロック図である。図4を参照して、MFP100は、メイン回路110を含む。メイン回路110は、自動原稿搬送装置120と、原稿読取部130と、画像形成部140と、給紙部150と、ユーザーインターフェースとしての操作パネル160と、カメラ180と、接続される。 Figure 4 is a block diagram showing an outline of the hardware configuration of an MFP. Referring to Figure 4, the MFP 100 includes a main circuit 110. The main circuit 110 is connected to an automatic document feeder 120, a document reading unit 130, an image forming unit 140, a paper feed unit 150, an operation panel 160 as a user interface, and a camera 180.

メイン回路110は、中央演算装置(CPU)111と、通信インターフェース(I/F)部112と、ROM(Read Only Memory)113と、RAM(Random Access Memory)114と、大容量記憶装置としてのハードディスクドライブ(HDD)115と、ファクシミリ部116と、CD(Compact Disc)-ROM118が装着される外部記憶装置117と、を含む。CPU111は、自動原稿搬送装置120、原稿読取部130、画像形成部140、給紙部150、操作パネル160およびカメラ180と接続され、MFP100の全体を制御する。 The main circuit 110 includes a central processing unit (CPU) 111, a communication interface (I/F) section 112, a ROM (Read Only Memory) 113, a RAM (Random Access Memory) 114, a hard disk drive (HDD) 115 as a large-capacity storage device, a facsimile section 116, and an external storage device 117 to which a CD (Compact Disc)-ROM 118 is attached. The CPU 111 is connected to the automatic document feeder 120, the document reading section 130, the image forming section 140, the paper feeding section 150, the operation panel 160, and the camera 180, and controls the entire MFP 100.

ROM113は、CPU111が実行するプログラム、またはそのプログラムを実行するために必要なデータを記憶する。RAM114は、CPU111がプログラムを実行する際の作業領域として用いられる。さらに、RAM114は、原稿読取部130から連続的に送られてくる画像データを一時的に記憶する。 The ROM 113 stores the programs executed by the CPU 111, or data necessary to execute the programs. The RAM 114 is used as a working area when the CPU 111 executes the programs. Furthermore, the RAM 114 temporarily stores image data that is continuously sent from the document reading unit 130.

通信I/F部112は、MFP100をネットワークに接続するためのインターフェースである。CPU111は、通信I/F部112を介して、ネットワークに接続されたパーソナルコンピューター(PC)との間で通信し、データを送受信する。また、通信I/F部112は、ネットワークを介してインターネットに接続されたコンピューターと通信が可能である。 The communication I/F unit 112 is an interface for connecting the MFP 100 to a network. The CPU 111 communicates with a personal computer (PC) connected to the network via the communication I/F unit 112 to send and receive data. The communication I/F unit 112 can also communicate with a computer connected to the Internet via the network.

ファクシミリ部116は、公衆交換電話網(PSTN)に接続され、PSTNにファクシミリデータを送信する、またはPSTNからファクシミリデータを受信する。ファクシミリ部116は、受信したファクシミリデータを、HDD115に記憶する、または画像形成部140に出力する。画像形成部140は、ファクシミリ部116により受信されたファクシミリデータを用紙にプリントする。また、ファクシミリ部116は、HDD115に記憶されたデータをファクシミリデータに変換して、PSTNに接続されたファクシミリ装置に送信する。 Facsimile unit 116 is connected to the public switched telephone network (PSTN) and transmits facsimile data to the PSTN or receives facsimile data from the PSTN. Facsimile unit 116 stores the received facsimile data in HDD 115 or outputs it to image forming unit 140. Image forming unit 140 prints the facsimile data received by facsimile unit 116 on paper. Facsimile unit 116 also converts data stored in HDD 115 into facsimile data and transmits it to a facsimile device connected to the PSTN.

外部記憶装置117は、CD-ROM118が装着される。CPU111は、外部記憶装置117を介してCD-ROM118にアクセス可能である。CPU111は、外部記憶装置117に装着されたCD-ROM118に記録されたプログラムをRAM114にロードして実行する。なお、CPU111が実行するプログラムを記憶する記録媒体としては、CD-ROM118に限られず、フレキシブルディスク、カセットテープ、光ディスク(MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc))、ICカード、光カード、マスクROM、EPROM(Erasable Programmable ROM)等の半導体メモリ等の記録媒体でもよい。 CD-ROM 118 is attached to external storage device 117. CPU 111 can access CD-ROM 118 via external storage device 117. CPU 111 loads a program recorded on CD-ROM 118 attached to external storage device 117 into RAM 114 and executes the program. Note that the recording medium for storing the program executed by CPU 111 is not limited to CD-ROM 118, but may be a recording medium such as a flexible disk, cassette tape, optical disk (MO (Magnetic Optical Disc)/MD (Mini Disc)/DVD (Digital Versatile Disc)), IC card, optical card, mask ROM, EPROM (Erasable Programmable ROM), or other semiconductor memory.

また、CPU111が実行するプログラムは、CD-ROM118に記録されたプログラムに限られず、HDD115に記憶されたプログラムをRAM114にロードして実行するようにしてもよい。この場合、ネットワークに接続された他のコンピューターが、MFP100のHDD115に記憶されたプログラムを書き換える、または、新たなプログラムを追加して書き込むようにしてもよい。さらに、MFP100が、ネットワークに接続された他のコンピューターからプログラムをダウンロードして、そのプログラムをHDD115に記憶するようにしてもよい。ここでいうプログラムは、CPU111が直接実行可能なプログラムだけでなく、ソースプログラム、圧縮処理されたプログラム、暗号化されたプログラム等を含む。 The programs executed by CPU 111 are not limited to those recorded on CD-ROM 118, but may be those stored in HDD 115 that are loaded into RAM 114 and executed. In this case, another computer connected to the network may rewrite the programs stored in HDD 115 of MFP 100, or may add and write new programs. Furthermore, MFP 100 may download programs from other computers connected to the network and store the programs in HDD 115. The programs referred to here include not only programs that CPU 111 can directly execute, but also source programs, compressed programs, encrypted programs, etc.

操作パネル160は、MFP100の上面に設けられ、表示部161と操作部163とを含む。表示部161は、例えば、液晶表示装置(LCD)または有機LE(electroluminescence)ディスプレイであり、ユーザーに対する指示メニューや取得した画像データに関する情報等を表示する。操作部163は、タッチパネル165と、ハードキー部167とを含む。タッチパネル165は、表示部161の上面または下面に表示部161に重畳して設けられる。ハードキー部167は、複数のハードキーを含む。ハードキーは、例えば接点スイッチである。タッチパネル165は、表示部161の表示面中でユーザーにより指示された位置を検出する。 The operation panel 160 is provided on the top surface of the MFP 100, and includes a display unit 161 and an operation unit 163. The display unit 161 is, for example, a liquid crystal display (LCD) or an organic LE (electroluminescence) display, and displays an instruction menu for the user, information on the acquired image data, and the like. The operation unit 163 includes a touch panel 165 and a hard key unit 167. The touch panel 165 is provided on the top or bottom surface of the display unit 161, superimposed on the display unit 161. The hard key unit 167 includes a plurality of hard keys. The hard keys are, for example, contact switches. The touch panel 165 detects a position indicated by the user on the display surface of the display unit 161.

図5は、本実施の形態におけるMFPが備えるCPUが有する機能の一例を示すブロック図である。図5に示す機能は、MFP100が備えるCPU111が、ROM113、HDD115またはCD-ROM118に記憶された画像形成プログラムを実行することにより、CPU111に実現される機能である。 Figure 5 is a block diagram showing an example of functions of a CPU included in an MFP according to this embodiment. The functions shown in Figure 5 are realized by CPU 111 included in MFP 100 as a result of CPU 111 executing an image forming program stored in ROM 113, HDD 115, or CD-ROM 118.

図5を参照して、CPU111は、撮像制御部51と、画像解析部53と、判断部55と、警告部57と、画像形成制御部59と、を含む。 Referring to FIG. 5, the CPU 111 includes an imaging control unit 51, an image analysis unit 53, a determination unit 55, a warning unit 57, and an image formation control unit 59.

撮像制御部51は、カメラ180を制御し、カメラ180が被写体を撮像して出力する画像データを取得する。撮像制御部51は、取得された画像データを画像解析部53に出力する。また、撮像制御部51は、カメラ180の電源のON/OFFを制御する。MFP100の電源がONの状態でカメラ180の電源をONにする。従って、撮像制御部51は、MFP100の電源がONに切り換わることに応じて、カメラ180の電源をONにし、MFP100の電源がOFFに切り換わることに応じて、カメラ180の電源をOFFにする。また、MFP100が動作モードを、通常モードと、通常モードよりも消費電力の低い省電力モードとに切り換える場合、動作モードが切り換わることに応じてカメラ180の電源を切り換えてもよい。撮像制御部51は、MFP100の動作モードが通常モードの間、カメラ180の電源をONにし、MFP100の動作モードが省電力モードに間、カメラ180の電源をOFFにする。さらに、手差しトレイ153の状態として開状態と閉状態とが検出される場合、撮像制御部51は、手差しトレイ153の開閉状態に応じてカメラ180の電源を制御してもよい。この場合、撮像制御部51は、手差しトレイ153の状態として開状態が検出されている間はカメラ180の電源をONにし、手差しトレイ153の状態として閉状態が検出されている間はカメラ180の電源をOFFにする。 The imaging control unit 51 controls the camera 180 and acquires image data that the camera 180 captures and outputs from the subject. The imaging control unit 51 outputs the acquired image data to the image analysis unit 53. The imaging control unit 51 also controls the ON/OFF of the power of the camera 180. The power of the camera 180 is turned ON when the power of the MFP 100 is ON. Therefore, the imaging control unit 51 turns ON the power of the camera 180 in response to the power of the MFP 100 being switched ON, and turns OFF the power of the camera 180 in response to the power of the MFP 100 being switched OFF. In addition, when the MFP 100 switches the operating mode between a normal mode and a power saving mode that consumes less power than the normal mode, the power of the camera 180 may be switched in response to the switching of the operating mode. The imaging control unit 51 turns on the power of the camera 180 while the operating mode of the MFP 100 is the normal mode, and turns off the power of the camera 180 while the operating mode of the MFP 100 is the power saving mode. Furthermore, when the open state and the closed state are detected as the state of the manual feed tray 153, the imaging control unit 51 may control the power of the camera 180 according to the open/closed state of the manual feed tray 153. In this case, the imaging control unit 51 turns on the power of the camera 180 while the open state is detected as the state of the manual feed tray 153, and turns off the power of the camera 180 while the closed state is detected as the state of the manual feed tray 153.

撮像制御部51は、焦点調整部61を含む。焦点調整部61は、カメラ180のレンズの焦点を調整し、レンズの焦点距離を取得する。焦点調整部61は、焦点距離を判断部55の積載高決定部71に出力する。 The imaging control unit 51 includes a focus adjustment unit 61. The focus adjustment unit 61 adjusts the focus of the lens of the camera 180 and obtains the focal length of the lens. The focus adjustment unit 61 outputs the focal length to the loading height determination unit 71 of the judgment unit 55.

また、撮像制御部51は、カメラ180が出力する画像データの画像から歪を除去する歪除去処理を実行する。カメラ180の光軸が手差しトレイ153の載置面153Aと垂直であれば、基準シート155は矩形になるが、垂直でない場合は台形になる。このため、撮像制御部51は、カメラ180が手差しトレイ153を撮像して出力する画像データを用いて歪除去処理を実行する。撮像制御部51は、画像データ中の基準シート155の画像が矩形になるように、画像データを変形させる。これにより、撮像制御部51が、手差しトレイ153に載置された記録媒体を撮像する場合に、カメラ180が出力する画像データに含まれる記録媒体の形状が実際の形状に修正される。 The imaging control unit 51 also executes a distortion removal process to remove distortion from the image of the image data output by the camera 180. If the optical axis of the camera 180 is perpendicular to the loading surface 153A of the manual feed tray 153, the reference sheet 155 will be rectangular, but if it is not perpendicular, it will be trapezoidal. For this reason, the imaging control unit 51 executes a distortion removal process using the image data output by the camera 180 after capturing an image of the manual feed tray 153. The imaging control unit 51 deforms the image data so that the image of the reference sheet 155 in the image data becomes rectangular. As a result, when the imaging control unit 51 captures an image of a recording medium placed on the manual feed tray 153, the shape of the recording medium included in the image data output by the camera 180 is corrected to the actual shape.

カメラ180の画角は、手差しトレイ153を含む。このため、カメラ180が出力する画像データは、手差しトレイ153を含む。また、手差しトレイ153に記録媒体が載置されている場合は、画像データは、手差しトレイ153と記録媒体とを含む。 The angle of view of the camera 180 includes the manual feed tray 153. Therefore, the image data output by the camera 180 includes the manual feed tray 153. Also, if a recording medium is placed on the manual feed tray 153, the image data includes both the manual feed tray 153 and the recording medium.

画像解析部53は、画像データを解析する。画像解析部53は、トレイ抽出部63と、記録媒体抽出部65と、基準シート抽出部67と、を含む。トレイ抽出部63は、画像データ中の手差しトレイ153の画像を抽出する。例えば、手差しトレイ153の画像を記憶しておき、パターンマッチングで手差しトレイ153の画像を抽出する。トレイ抽出部63は、手差しトレイ153の画像と、画像データ中の手差しトレイ153の画像の位置を示すトレイ位置情報と、を判断部55の相対位置決定部77に出力する。 The image analysis unit 53 analyzes the image data. The image analysis unit 53 includes a tray extraction unit 63, a recording medium extraction unit 65, and a reference sheet extraction unit 67. The tray extraction unit 63 extracts an image of the manual feed tray 153 from the image data. For example, the image of the manual feed tray 153 is stored, and the image of the manual feed tray 153 is extracted by pattern matching. The tray extraction unit 63 outputs the image of the manual feed tray 153 and tray position information indicating the position of the image of the manual feed tray 153 in the image data to the relative position determination unit 77 of the determination unit 55.

記録媒体抽出部65は、画像データ中の記録媒体の画像を抽出する。手差しトレイ153と重なる部分であって、予め記憶された手差しトレイの画像との差分の部分を記録媒体として抽出する。記録媒体抽出部65は、画像データから記録媒体の画像が抽出される場合、記録媒体の画像と、画像データ中の記録媒体の画像の位置を示す記録媒体位置情報と、を判断部55の相対位置決定部77およびサイズ決定部78に出力する。 The recording medium extraction unit 65 extracts an image of the recording medium from the image data. It extracts as the recording medium the portion that overlaps with the manual feed tray 153 and that is a difference from the pre-stored image of the manual feed tray. When an image of the recording medium is extracted from the image data, the recording medium extraction unit 65 outputs the image of the recording medium and recording medium position information indicating the position of the image of the recording medium in the image data to the relative position determination unit 77 and size determination unit 78 of the judgment unit 55.

基準シート抽出部67は、画像データ中の基準シート155の画像を抽出する。基準シート―155の形状および色は予め定められているので、基準シート抽出部67は、例えば、パターンマッチングにより基準シート155の画像を抽出する。基準シート抽出部67は、画像データから基準シート155の画像が抽出される場合、画像データ中の基準シート155の画像を判断部55のサイズ決定部78に出力する。 The reference sheet extraction unit 67 extracts an image of the reference sheet 155 from the image data. Since the shape and color of the reference sheet 155 are predetermined, the reference sheet extraction unit 67 extracts the image of the reference sheet 155 by, for example, pattern matching. When the image of the reference sheet 155 is extracted from the image data, the reference sheet extraction unit 67 outputs the image of the reference sheet 155 in the image data to the size determination unit 78 of the judgment unit 55.

判断部55は、手差しトレイ153に記録媒体が載置されているセット状態を判断する。判断部55は、積載高決定部71と、種類決定部73と、方向決定部75と、相対位置決定部77と、サイズ決定部78と、を含む。 The determination unit 55 determines the set state in which a recording medium is placed on the manual feed tray 153. The determination unit 55 includes a stacking height determination unit 71, a type determination unit 73, a direction determination unit 75, a relative position determination unit 77, and a size determination unit 78.

種類決定部73は、画像解析部53から入力される記録媒体の画像に基づいて記録媒体の種類を決定する。種類決定部73は、記録媒体の種類ごとに画像を予め記憶している。記録媒体の種類は、例えば、封筒、はがき、用紙を含む。また、用紙は、無地の用紙と、送り状等の予め定められた画像が形成された用紙を含む。種類決定部73は、記録媒体の種類ごとに記憶された画像を用いてパターンマッチングすることにより、記録媒体の種類を決定する。 The type determination unit 73 determines the type of recording medium based on the image of the recording medium input from the image analysis unit 53. The type determination unit 73 stores images for each type of recording medium in advance. Types of recording medium include, for example, envelopes, postcards, and paper. Paper also includes plain paper and paper on which a predetermined image, such as a shipping label, is formed. The type determination unit 73 determines the type of recording medium by pattern matching using the images stored for each type of recording medium.

積載高決定部71は、焦点調整部61から入力される焦点距離に基づいて、手差しトレイ153に載置された記録媒体の高をセット状態として決定する。積載高決定部71は、手差しトレイ153に記録媒体が載置されていない状態における焦点距離と、手差しトレイ153に記録媒体が載置されている状態における焦点距離と、の差分から記録媒体が重なる高さ方向の距離を算出する。判断部55は、記録媒体の高さ方向の距離がしきい値以上ならばエラー信号を警告部57に出力する。エラー信号は、記録媒体の高さ方向の距離を含む。 The stacking height determination unit 71 determines the height of the recording media placed on the manual feed tray 153 as the set state based on the focal length input from the focus adjustment unit 61. The stacking height determination unit 71 calculates the height distance at which the recording media overlap from the difference between the focal length when no recording media is placed on the manual feed tray 153 and the focal length when a recording media is placed on the manual feed tray 153. The judgment unit 55 outputs an error signal to the warning unit 57 if the height distance of the recording media is equal to or greater than a threshold value. The error signal includes the height distance of the recording media.

積載高決定部71は、種類決定部73により決定される記録媒体の種類に基づいて、その記録媒体の厚さを決定し、カメラ180の焦点距離から算出した高さと記録媒体の厚さとから手差しトレイ153に載置された記録媒体の枚数を決定してもよい。この場合、積載高決定部71が警告部57に出力するエラー信号は、記録媒体の枚数を含む。 The stacking height determination unit 71 may determine the thickness of the recording medium based on the type of recording medium determined by the type determination unit 73, and may determine the number of recording media placed on the manual feed tray 153 from the height calculated from the focal length of the camera 180 and the thickness of the recording media. In this case, the error signal that the stacking height determination unit 71 outputs to the warning unit 57 includes the number of recording media.

方向決定部75は、種類決定部73により特定の種類が決定される場合、画像解析部53から入力される記録媒体の画像に基づいて、特定の種類の記録媒体が手差しトレイ153に載置されている方向を決定する。方向決定部75は、種類決定部73により決定された記録媒体の種類に対応して予め記憶されたその種類の記録媒体の画像を、画像解析部53から入力される記録媒体の画像と比較することにより、記録媒体が手差しトレイ153に載置される方向を決定する。例えば、記録媒体の種類が封筒の場合、のりしろ部分の位置に基づいて、記録媒体の方向を決定する。また、記録媒体の種類が予め定められた情報が描かれている場合、その情報に基づいて記録媒体の方向を決定する。記録媒体の方向は、記録媒体の搬送方向に対して記録媒体の上下のいずれであるかを示す。記録媒体の上側が搬送方向を向く場合とは記録媒体の上側が搬送方向の下流となり、記録媒体の下側が搬送方向を向く場合とは記録媒体の下側が搬送方向の下流となる。記録媒体に描かれる画像は、例えば、文字または/および図形である。記録媒体に描かれる画像は、例えば、はがきの場合は、郵便番号を記載するための枠である。 When a specific type is determined by the type determination unit 73, the direction determination unit 75 determines the direction in which a specific type of recording medium is placed on the manual feed tray 153 based on the image of the recording medium input from the image analysis unit 53. The direction determination unit 75 determines the direction in which the recording medium is placed on the manual feed tray 153 by comparing the image of the recording medium of the type determined by the type determination unit 73, which is pre-stored in correspondence with the type of recording medium, with the image of the recording medium input from the image analysis unit 53. For example, when the type of recording medium is an envelope, the direction of the recording medium is determined based on the position of the overlapping portion. Also, when the type of recording medium is depicted with predetermined information, the direction of the recording medium is determined based on that information. The direction of the recording medium indicates whether it is above or below the recording medium in the conveying direction of the recording medium. When the top side of the recording medium faces the conveying direction, the top side of the recording medium is downstream in the conveying direction, and when the bottom side of the recording medium faces the conveying direction, the bottom side of the recording medium is downstream in the conveying direction. The image depicted on the recording medium is, for example, a character or/and a figure. The image drawn on the recording medium is, for example, a frame for writing the postal code on a postcard.

また、方向決定部75は、画像解析部53から入力される記録媒体の画像に基づいて、記録媒体の表裏のいずれが上方を向いた状態であるかを決定する。方向決定部75は、例えば、記録媒体の種類が封筒の場合、のりしろ部分の近傍に封筒の入口を示す線の画像の有無を判別する。封筒は、封筒の裏側の紙と表側の紙とが重なる部分と重ならない部分とを有する。封筒を表側から見ると、封筒の表側の紙のみが見えるが、封筒を裏側から見ると、封筒の表側の紙のうち封筒の裏側の紙と重ならない部分が見える。このため、封筒を裏側からカメラ180が撮像して出力する画像データに、封筒の表側の紙と裏側の紙とが重なる部分とかさならない部分との境界が、封筒の入口を示す線の画像が含まれる。方向決定部75は、入り口を示す線が検出される場合に記録媒体の裏側が上方を向いた状態に決定し、入り口を示す線が検出されない場合に記録媒体の表側が上方を向いた状態に決定する。 The direction determination unit 75 also determines whether the front or back of the recording medium faces upward based on the image of the recording medium input from the image analysis unit 53. For example, when the type of recording medium is an envelope, the direction determination unit 75 determines whether there is an image of a line indicating the entrance of the envelope near the glue margin. An envelope has a portion where the paper on the back side of the envelope overlaps with the paper on the front side and a portion where they do not overlap. When the envelope is viewed from the front side, only the paper on the front side of the envelope is visible, but when the envelope is viewed from the back side, the portion of the paper on the front side of the envelope that does not overlap with the paper on the back side of the envelope is visible. For this reason, the image data output by the camera 180 capturing an image of the envelope from the back side includes an image of a line indicating the entrance of the envelope, which is the boundary between the portion where the paper on the front side of the envelope overlaps with the portion where the paper on the back side of the envelope does not overlap. The direction determination unit 75 determines that the back side of the recording medium faces upward when a line indicating the entrance is detected, and determines that the front side of the recording medium faces upward when a line indicating the entrance is not detected.

相対位置決定部77は、トレイ抽出部63から手差しトレイ153の画像とトレイ位置情報とが入力され、記録媒体抽出部65から記録媒体の画像と記録媒体位置情報とが入力される。相対位置決定部77は、手差しトレイ153と記録媒体との相対位置を決定する。相対位置決定部77は、手差しトレイ153の画像と記録媒体の画像とをトレイ位置情報と記録媒体位置情報とに基づいて重ね合わせることにより、手差しトレイ153と記録媒体との相対位置を決定する。手差しトレイ153は、MFP100の本体と接続される回転軸を有し、その回転軸に垂直な方向が記録媒体の搬送方向に一致する。相対位置決定部77は、手差しトレイ153の画像から搬送方向を決定し、記録媒体が搬送方向に平行か否かを判断する。記録媒体の方向は、記録媒体の輪郭の対向する2つの辺により定まる。相対位置決定部77は、記録媒体が搬送方向に平行でない場合、記録媒体が搬送方向に平行に載置されていないことを示すエラー信号を警告部57に出力する。 The relative position determination unit 77 receives the image of the manual feed tray 153 and the tray position information from the tray extraction unit 63, and receives the image of the recording medium and the recording medium position information from the recording medium extraction unit 65. The relative position determination unit 77 determines the relative position between the manual feed tray 153 and the recording medium. The relative position determination unit 77 determines the relative position between the manual feed tray 153 and the recording medium by superimposing the image of the manual feed tray 153 and the image of the recording medium based on the tray position information and the recording medium position information. The manual feed tray 153 has a rotation axis connected to the main body of the MFP 100, and the direction perpendicular to the rotation axis coincides with the transport direction of the recording medium. The relative position determination unit 77 determines the transport direction from the image of the manual feed tray 153 and judges whether the recording medium is parallel to the transport direction. The direction of the recording medium is determined by two opposing sides of the contour of the recording medium. If the recording medium is not parallel to the transport direction, the relative position determination unit 77 outputs an error signal indicating that the recording medium is not placed parallel to the transport direction to the warning unit 57.

また、相対位置決定部77は、記録媒体と、手差しトレイ153が備える一対の用紙幅調整板173A,173Bとの相対位置を決定する。一対の用紙幅調整板173A,173Bの形状は予め定まるので、パターンマッチングにより手差しトレイ153の画像から一対の用紙幅調整板173A,173Bの位置が決定される。相対位置決定部77は、記録媒体の画像から抽出される記録媒体の輪郭の対向する2つの辺と、用紙幅調整板173A,173Bの位置とが一致するか否かを判断する。相対位置決定部77は、記録媒体の輪郭の対向する2つの辺と、用紙幅調整板173A,173Bとの間の距離が所定の距離以上離れている場合に、用紙幅調整板173A,173Bの設定不良を示すエラー信号を警告部57に出力する。 The relative position determination unit 77 also determines the relative position between the recording medium and the pair of paper width adjustment plates 173A, 173B provided on the manual feed tray 153. Since the shapes of the pair of paper width adjustment plates 173A, 173B are predetermined, the positions of the pair of paper width adjustment plates 173A, 173B are determined from the image of the manual feed tray 153 by pattern matching. The relative position determination unit 77 determines whether the positions of the paper width adjustment plates 173A, 173B match the two opposing sides of the contour of the recording medium extracted from the image of the recording medium. If the distance between the two opposing sides of the contour of the recording medium and the paper width adjustment plates 173A, 173B is greater than a predetermined distance, the relative position determination unit 77 outputs an error signal to the warning unit 57 indicating that the paper width adjustment plates 173A, 173B are not properly set.

サイズ決定部78は、基準シート抽出部67から基準シート155の画像が入力され、記録媒体抽出部65から記録媒体の画像が入力される。基準シート155のサイズは予め定められている。サイズ決定部78は、記録媒体の画像を基準シートの画像と比較することにより、記録媒体のサイズを決定する。サイズ決定部78は、記録媒体の画像から記録媒体の輪郭を抽出することにより、記録媒体の4つの辺を特定する。記録媒体の画像中における記録媒体の4つの辺の長さと、基準シート155の画像中における基準シート155の4つの辺の少なくとも1つの長さとの比から記録媒体の4つの辺の長さを決定する。 The size determination unit 78 receives the image of the reference sheet 155 from the reference sheet extraction unit 67 and the image of the recording medium from the recording medium extraction unit 65. The size of the reference sheet 155 is determined in advance. The size determination unit 78 determines the size of the recording medium by comparing the image of the recording medium with the image of the reference sheet. The size determination unit 78 identifies the four sides of the recording medium by extracting the contour of the recording medium from the image of the recording medium. The length of the four sides of the recording medium is determined from the ratio between the length of the four sides of the recording medium in the image of the recording medium and the length of at least one of the four sides of the reference sheet 155 in the image of the reference sheet 155.

警告部57は、判断部55からエラー信号が入力されることに応じて、画像形成制御部59に禁止信号を出力するとともに、エラー信号に対応する警告をする。警告部57は、例えば、エラー信号に対して予め定められたメッセージを表示部161に出力する。また、MFP100がスピーカーを備える場合には、警告部57は、音声でメッセージを出力してもよい。 In response to an error signal being input from the determination unit 55, the warning unit 57 outputs a prohibition signal to the image formation control unit 59 and issues a warning corresponding to the error signal. For example, the warning unit 57 outputs a predetermined message in response to the error signal to the display unit 161. In addition, if the MFP 100 is equipped with a speaker, the warning unit 57 may output the message by voice.

画像形成制御部59は、画像形成部140および給紙部150を制御して、手差しトレイ153に載置された記録媒体を搬送させ、記録媒体に画像を形成させる。画像形成制御部59は、警告部57から禁止信号が入力される場合は、画像形成部140および給紙部150に記録媒体に画像を形成させない。 The image formation control unit 59 controls the image forming unit 140 and the paper feeding unit 150 to transport the recording medium placed on the manual feed tray 153 and form an image on the recording medium. When a prohibition signal is input from the warning unit 57, the image formation control unit 59 does not allow the image forming unit 140 and the paper feeding unit 150 to form an image on the recording medium.

図6は、画像形成処理の流れの一例を示すフローチャートである。画像形成処理は、MFP100が備えるCPU111が、ROM113、HDD115またはCD-ROM118に記憶された画像形成プログラムを実行することにより、CPU111により実行される処理である。図6を参照して、MFP100が備えるCPU111は、手差しトレイ153が閉状態から開状態に状態が変化したか否かが判断される(ステップS01)。手差しトレイ153の状態を検出するセンサーにより、手差しトレイ153が閉状態から開状態に状態が変化したことが検出さる前待機状態となり(ステップS01でNO)、開状態への状態の変化が検出されたならば(ステップS01でYES)、処理はステップS02に進む。 Figure 6 is a flow chart showing an example of the flow of image formation processing. Image formation processing is processing that is executed by CPU 111 of MFP 100 as CPU 111 executes an image formation program stored in ROM 113, HDD 115, or CD-ROM 118. Referring to Figure 6, CPU 111 of MFP 100 determines whether manual feed tray 153 has changed from a closed state to an open state (step S01). A sensor that detects the state of manual feed tray 153 detects that manual feed tray 153 has changed from a closed state to an open state, and the system enters a standby state (NO in step S01). If a change to the open state is detected (YES in step S01), the process proceeds to step S02.

ステップS02においては、カメラ180の電源がONに切り換えられ、処理はステップS03に進む。ステップS03においては、カメラ180で基準カーマ―153Aが撮像され、処理はステップS04に進む。この段階で、カメラ180が基準シート―153Aを撮像して得られる画像データが取得される。 In step S02, the power of the camera 180 is switched ON, and the process proceeds to step S03. In step S03, the camera 180 captures an image of the reference sheet 153A, and the process proceeds to step S04. At this stage, image data obtained by the camera 180 capturing an image of the reference sheet 153A is acquired.

ステップS04においては、カメラ180が基準シート―153Aを撮像した時点の焦点距離が取得され、処理はステップS05に進む。ステップS05においては、ステップS03において取得された画像データから基準シート―153Aが抽出される。パターンマッチングにより基準シート155の画像が抽出される。この段階で、画像データ中の基準シート―153Aのサイズが決定される。 In step S04, the focal length at the time when the camera 180 captured the image of the reference sheet 153A is acquired, and the process proceeds to step S05. In step S05, the reference sheet 153A is extracted from the image data acquired in step S03. An image of the reference sheet 155 is extracted by pattern matching. At this stage, the size of the reference sheet 153A in the image data is determined.

ステップS06においては、手差しトレイ153に記録媒体が載置されたことが検出されたか否かが判断される。カメラ180が出力する画像データを解析して、画像中に記録媒体が含まれることが検出されてもよい。また、用紙検出突起175Aが押し下げられたことを検出するセンサーの出力に基づいて、記録媒体が手差しトレイ153に載置されたことが検出される。記録媒体が手差しトレイ153に載置されたことが検出されるまで待機状態となり(ステップS06でNO)、記録媒体が手差しトレイ153に載置されたことが検出されたならば(ステップS06でYES)、処理はステップS07に進む。 In step S06, it is determined whether or not it has been detected that a recording medium has been placed on the manual feed tray 153. The image data output by the camera 180 may be analyzed to detect that a recording medium is included in the image. Also, based on the output of a sensor that detects that the paper detection protrusion 175A has been pressed down, it is detected that a recording medium has been placed on the manual feed tray 153. A standby state is entered until it is detected that a recording medium has been placed on the manual feed tray 153 (NO in step S06), and if it is detected that a recording medium has been placed on the manual feed tray 153 (YES in step S06), the process proceeds to step S07.

ステップS07においては、カメラ180で記録媒体が撮像され、処理はステップS08に進む。この段階で、カメラ180が記録媒体を撮像して得られる画像データが取得される。 In step S07, the recording medium is imaged by the camera 180, and the process proceeds to step S08. At this stage, image data obtained by the camera 180 capturing an image of the recording medium is acquired.

ステップS08においては、カメラ180が記録媒体を撮像した時点の焦点距離が取得され、処理はステップS09に進む。カメラ180は、記録媒体の上面で合焦した時点の焦点距離が取得される。 In step S08, the focal length at the time when the camera 180 captured the image of the recording medium is acquired, and the process proceeds to step S09. The focal length at the time when the camera 180 focused on the top surface of the recording medium is acquired.

ステップS09においては、ステップS07において取得された画像データから手差しトレイ153の画像が抽出される。例えば、CPU111は、手差しトレイ153の画像を記憶しておき、パターンマッチングで手差しトレイ153の画像を抽出する。ステップS10においては、ステップS07において取得された画像データから記録媒体が抽出される。例えば、CPU111は、手差しトレイ153の画像と重なる部分であって、予め記憶された手差しトレイ153の画像との差分の部分が記録媒体として抽出される。手差しトレイ153の画像と、記録媒体の画像とは、同じ画像データから抽出される。ステップS11においては、セット状態決定処理が実行され、処理はステップS12に進む。 In step S09, an image of the manual feed tray 153 is extracted from the image data acquired in step S07. For example, CPU 111 stores an image of the manual feed tray 153 and extracts the image of the manual feed tray 153 by pattern matching. In step S10, a recording medium is extracted from the image data acquired in step S07. For example, CPU 111 extracts as the recording medium a portion that overlaps with the image of the manual feed tray 153 and is a difference from the image of the manual feed tray 153 previously stored. The image of the manual feed tray 153 and the image of the recording medium are extracted from the same image data. In step S11, a set state determination process is executed, and the process proceeds to step S12.

図7は、セット状態決定処理の流れの一例を示すフローチャートである。図7を参照して、CPU111は、記録媒体の種類を決定し(ステップS21)、処理をステップS22に進める。記録媒体の画像に基づいて記録媒体の種類を決定する。記録媒体の画像が記録媒体の種類ごとに予め記憶された画像を用いて、パターンマッチングにより記録媒体の種類が決定される。記録媒体の種類は、例えば、封筒、はがき、用紙を含む。 Figure 7 is a flow chart showing an example of the flow of the set status determination process. Referring to Figure 7, the CPU 111 determines the type of recording medium (step S21) and proceeds to step S22. The type of recording medium is determined based on an image of the recording medium. The type of recording medium is determined by pattern matching using images of the recording medium that are pre-stored for each type of recording medium. Types of recording media include, for example, envelopes, postcards, and paper.

ステップS22においては、記録媒体の方向が決定され、処理はステップS23に進む。CPU111は、ステップS21において決定された記録媒体の種類に対応して予め記憶されたその種類の記録媒体の画像を用いてパターンマッチングにより、記録媒体が手差しトレイ153に載置される方向が決定される。記録媒体の方向は、上下方向が定められた記録媒体に対して、上下のいずれが搬送方向に向いているかを示す。例えば、記録媒体の種類が封筒の場合、のりしろ部分の位置に基づいて、記録媒体の方向を決定する。また、方向は、記録媒体の表裏の別を含む。記録媒体の画像に基づいて、記録媒体の表裏のいずれが上方を向いた状態であるかが決定される。例えば、記録媒体の種類が封筒の場合、のりしろ部分の近傍に封筒の入口を示す線の画像が検出される場合に記録媒体の裏側が上方を向いた状態に決定され、入り口を示す線が検出されない場合に記録媒体の表側が上方を向いた状態に決定される。 In step S22, the orientation of the recording medium is determined, and the process proceeds to step S23. The CPU 111 determines the orientation of the recording medium placed on the manual feed tray 153 by pattern matching using an image of the recording medium of the type determined in step S21 that is prestored in correspondence with that type of recording medium. The orientation of the recording medium indicates which of the top and bottom faces the conveying direction for a recording medium whose up and down directions are determined. For example, if the type of recording medium is an envelope, the orientation of the recording medium is determined based on the position of the overlapping portion. The orientation also includes whether the recording medium is front or back. Based on the image of the recording medium, it is determined whether the front or back of the recording medium is facing upward. For example, if the type of recording medium is an envelope, if an image of a line indicating the entrance of the envelope is detected near the overlapping portion, the back side of the recording medium is determined to be facing upward, and if the line indicating the entrance is not detected, the front side of the recording medium is determined to be facing upward.

ステップS23においては、手差しトレイ153と記録媒体との相対位置が決定され、処理はステップS24に進む。手差しトレイ153の画像と記録媒体の画像とが重ね合わされて、手差しトレイ153と記録媒体との相対位置が決定される。手差しトレイ153の画像から搬送方向が決定され、記録媒体の搬送方向に対する角度が決定される。記録媒体の方向は、記録媒体の輪郭の対向する2つの辺により定まる。また、手差しトレイ153が備える一対の用紙幅調整板173A,173Bと記録媒体との相対位置が決定される。記録媒体の輪郭の対向する2つの辺と、用紙幅調整板173A,173Bとの間の距離が検出される。 In step S23, the relative position between the manual feed tray 153 and the recording medium is determined, and processing proceeds to step S24. The image of the manual feed tray 153 and the image of the recording medium are superimposed to determine the relative position between the manual feed tray 153 and the recording medium. The transport direction is determined from the image of the manual feed tray 153, and the angle of the recording medium relative to the transport direction is determined. The direction of the recording medium is determined by two opposing sides of the contour of the recording medium. In addition, the relative position between the pair of paper width adjustment plates 173A, 173B provided on the manual feed tray 153 and the recording medium is determined. The distance between the two opposing sides of the contour of the recording medium and the paper width adjustment plates 173A, 173B is detected.

ステップS24においては、記録媒体の高さが決定される。ステップS04において取得された焦点距離とステップS08において取得された焦点距離との差分に基づいて、記録媒体が重なる高さ方向の距離が算出される。ステップS21において決定された記録媒体の種類から記録媒体の1枚当たりの厚さが決定され、手差しトレイ153に載置された1以上の記録媒体の高さ方向の距離と厚さとから手差しトレイ153に載置された記録媒体の枚数に換算されてもよい。 In step S24, the height of the recording media is determined. Based on the difference between the focal length acquired in step S04 and the focal length acquired in step S08, the height distance at which the recording media overlap is calculated. The thickness of each recording medium is determined from the type of recording medium determined in step S21, and the height distance and thickness of one or more recording media placed on the manual feed tray 153 may be converted into the number of recording media placed on the manual feed tray 153.

ステップS25においては、記録媒体のサイズが決定される。ステップS05において画像データから抽出された基準シートの画像と、ステップS10において画像データから抽出された記録媒体の画像とが比較され、記録媒体のサイズが決定される。基準シート155のサイズは予め定められているので、記録媒体の画像を基準シートの画像との各辺の長さの比から記録媒体のサイズが決定される。 In step S25, the size of the recording medium is determined. The image of the reference sheet extracted from the image data in step S05 is compared with the image of the recording medium extracted from the image data in step S10, and the size of the recording medium is determined. Since the size of the reference sheet 155 is predetermined, the size of the recording medium is determined from the ratio of the lengths of each side of the image of the recording medium to the image of the reference sheet.

図6に戻って、ステップS12においては、セット状態が判断される。記録媒体が載置される方向が正しいか否かが判断される。方向は、上下方向が定められた記録媒体において、搬送方向に対して正しい方向を向いているか否かが判断される。正しい方向は、画像形成部140が形成する画像の方向に一致している方向である。また、記録媒体の表裏が正しいか否かが判断される。画像が形成される面が下方を向いていれば正しいと判断される。 Returning to FIG. 6, in step S12, the setting state is judged. It is judged whether the direction in which the recording medium is placed is correct. The direction is judged whether the recording medium, which has a fixed up-down direction, faces the correct direction relative to the transport direction. The correct direction is the direction that matches the direction of the image formed by the image forming unit 140. It is also judged whether the front and back of the recording medium are correct. It is judged to be correct if the side on which the image is formed faces downward.

また、記録媒体と手差しトレイ153との相対位置に基づいて、記録媒体が手差しトレイ153に正しく載置されているか否かが判断される。記録媒体の搬送方向に対する角度に基づいて、記録媒体が搬送方向に平行か否かが判断される。相対位置として、記録媒体の搬送方向に対する角度が検出されるので、この角度に基づいて、記録媒体が搬送方向に平行となるように載置されているか否かが判断される。また、記録媒体と用紙幅調整板173A,173Bとの間の距離に基づいて、記録媒体が手差しトレイ153に正しく載置されているか否かが判断される。記録媒体と用紙幅調整板173A,173Bとの間の距離が所定の値以下であれば正しく設定されていると判断される。 In addition, based on the relative position of the recording medium and the manual feed tray 153, it is determined whether the recording medium is correctly placed on the manual feed tray 153. Based on the angle of the recording medium with respect to the transport direction, it is determined whether the recording medium is parallel to the transport direction. Since the angle of the recording medium with respect to the transport direction is detected as the relative position, it is determined based on this angle whether the recording medium is placed so that it is parallel to the transport direction. In addition, based on the distance between the recording medium and the paper width adjustment plates 173A, 173B, it is determined whether the recording medium is correctly placed on the manual feed tray 153. If the distance between the recording medium and the paper width adjustment plates 173A, 173B is equal to or less than a predetermined value, it is determined that the setting is correct.

また、記録媒体の高さ方向の距離に基づいて、過積載か否かが判断される。記録媒体の高さ方向の距離が所定の値以上であれば、過積載と判断され、そうでなければ記録媒体が手差しトレイ153に正しく載置されていると判断される。 In addition, the system determines whether the recording medium is overloaded based on the height of the recording medium. If the height of the recording medium is equal to or greater than a predetermined value, the system determines that the recording medium is overloaded; otherwise, the system determines that the recording medium is correctly placed on the manual feed tray 153.

ステップS13においては、判断結果に基づいて、画像形成可能か否かが判断される。画像形成が可能ならば処理はステップS14に進むが、そうでなければ処理はステップS16に進む。記録媒体が手差しトレイ153に正しく載置されていないと判断される場合は、画像形成不可能と判断される。記録媒体が手差しトレイ153に正しく載置されていると判断される場合、記録媒体の方向によっては、画像形成可能な場合と不可能な場合とがある。上下方向が定められた記録媒体が正しい方向に載置されていない場合は、画像形成可能である。表裏が定められた記録媒体が正しい方向に載置されていない場合は、画像形成不可能である。 In step S13, it is determined whether or not an image can be formed based on the result of the determination. If image formation is possible, the process proceeds to step S14, otherwise the process proceeds to step S16. If it is determined that the recording medium is not correctly placed on the manual feed tray 153, it is determined that image formation is not possible. If it is determined that the recording medium is correctly placed on the manual feed tray 153, image formation may or may not be possible depending on the orientation of the recording medium. If a recording medium with a defined up-down direction is not placed in the correct orientation, image formation is possible. If a recording medium with a defined front-back direction is not placed in the correct orientation, image formation is not possible.

ステップS16においては、CPU111は、ユーザーに警告し、処理をステップS17に進める。例えば、判断結果に対して予め定められたメッセージが表示部161に表示される。また、MFP100がスピーカーを備える場合には、音声でメッセージが出力されてもよい。 In step S16, the CPU 111 warns the user and proceeds to step S17. For example, a predetermined message in response to the judgment result is displayed on the display unit 161. If the MFP 100 is equipped with a speaker, the message may be output by voice.

例えば、記録媒体が載置される方向が正しくないと判断される場合、「記録媒体の表裏が逆です。」のメッセージが表示される。また、記録媒体が搬送方向に平行でないと判断される場合、または、記録媒体と用紙幅調整板173A,173Bとの間の距離が所定の値より大きい場合、「用紙幅調整板を正しい位置に設定してください。」のメッセージが表示される。さらに、記録媒体の高さ方向の距離が所定の値以上の場合、「記録媒体の枚数を少なくしてください。」のメッセージが表示される。 For example, if it is determined that the recording medium is placed in the wrong direction, the message "The recording medium is upside down" is displayed. If it is determined that the recording medium is not parallel to the transport direction, or if the distance between the recording medium and the paper width adjustment plates 173A, 173B is greater than a specified value, the message "Please set the paper width adjustment plates to the correct position" is displayed. Furthermore, if the distance in the height direction of the recording medium is greater than or equal to a specified value, the message "Please reduce the number of recording media" is displayed.

ステップS14においては、画像形成条件が変更され、処理はステップS15に進む。ステップS14が実行される場合は、ステップS12において記録媒体が手差しトレイ153に正しく載置されていないと判断される場合であって、ステップS13において画像形成可能と判断される場合である。例えば、上下方向が定められた記録媒体が正しい方向に載置されていない場合である。この場合は、画像形成部140が形成する画像の向きを上下反転させる設定に画像形成条件が変更される。また、ステップS14は、ステップS12において記録媒体が手差しトレイ153に正しく載置されていると判断される場合であって、ステップS13において画像形成可能と判断される場合に実行される場合がある。例えば、ステップS21において、記録媒体の種類が、封筒または送り状が検出される場合であって、ステップS12において記録媒体が手差しトレイ153に正しく載置されていると判断される場合であって、ステップS13において画像形成可能と判断される場合である。この場合には、画像形成条件が、ステップS21にいて検出された記録媒体の種類に対して予め定められた画像形成条件に自動的に設定される。記録媒体の種類が封筒に決定さる場合は、封筒に対して定められた画像形成条件が自動的に設定され、記録媒体の種類が送り状に決定さる場合は、送り状に対して定められた画像形成条件が自動的に設定される。ステップS15においては、記録媒体に画像が形成され、処理はステップS17に進む。 In step S14, the image forming conditions are changed, and the process proceeds to step S15. Step S14 is executed when it is determined in step S12 that the recording medium is not correctly placed on the manual feed tray 153, and when it is determined in step S13 that an image can be formed. For example, when a recording medium with a specified up-down direction is not placed in the correct direction. In this case, the image forming conditions are changed to a setting that inverts the orientation of the image formed by the image forming unit 140 up-down. Step S14 may also be executed when it is determined in step S12 that the recording medium is correctly placed on the manual feed tray 153, and when it is determined in step S13 that an image can be formed. For example, when the type of recording medium is detected as an envelope or a shipping label in step S21, when it is determined in step S12 that the recording medium is correctly placed on the manual feed tray 153, and when it is determined in step S13 that an image can be formed. In this case, the image forming conditions are automatically set to the image forming conditions that are predetermined for the type of recording medium detected in step S21. If the type of recording medium is determined to be an envelope, the image formation conditions defined for the envelope are automatically set, and if the type of recording medium is determined to be an invoice, the image formation conditions defined for the invoice are automatically set. In step S15, an image is formed on the recording medium, and the process proceeds to step S17.

ステップS17においては、MFP100が電源OFFになったか否かが判断される。ここでの電源OFFは、通常よりも消費電力が低いスリープ状態への移行を含む。電源がOFFに切り替わったことが検出されたならば処理はステップS18に進むが、そうでなければ処理はステップS06に戻る。ステップS18においては、カメラ180の電源がOFFに切り換えられ、処理は終了する。 In step S17, it is determined whether the MFP 100 has been powered off. Powering off here includes transitioning to a sleep state in which power consumption is lower than normal. If it is detected that the power has been switched off, the process proceeds to step S18, but if not, the process returns to step S06. In step S18, the power of the camera 180 is switched off, and the process ends.

以上説明したように本実施の形態におけるMFP100は、画像形成装置として機能し、カメラ180で撮影された画像データに基づいて、記録媒体が手差しトレイ153に載置された状態を示すセット状態が正常か否かを判断する。このため、ユーザーにより手差しトレイ153に記録媒体が誤った状態でセットされていることが記録媒体に画像が形成される前に判断することができる。したがって、記録媒体に誤った画像が形成される事象の発生を抑制することができる。 As described above, the MFP 100 in this embodiment functions as an image forming device, and determines whether the set state, which indicates the state in which the recording medium is placed on the manual feed tray 153, is normal or not, based on image data captured by the camera 180. Therefore, it is possible to determine before an image is formed on the recording medium that the user has set the recording medium in an incorrect state on the manual feed tray 153. Therefore, it is possible to prevent the occurrence of an event in which an incorrect image is formed on the recording medium.

また、MFP100は、画像データを解析して、記録媒体と手差しトレイ153(載置面153A)との相対位置に基づいて、セット状態が正常か否かを判断する。このため、記録媒体が載置面153Aに載置される位置および方向が正しくいか否かを判断することができる。 The MFP 100 also analyzes the image data and determines whether the recording medium is set correctly based on the relative position between the recording medium and the manual feed tray 153 (loading surface 153A). This makes it possible to determine whether the position and direction in which the recording medium is loaded on the loading surface 153A are incorrect.

MFP100は、記録媒体の種類ごとに相対位置を判断するので、記録媒体のセット状態を正確に判断することができる。 The MFP 100 determines the relative position for each type of recording medium, so it can accurately determine the setting status of the recording medium.

また、MFP100は、画像データに基づいて載置面153Aに載置された記録媒体が向く方向を検出し、セット状態が正常と判断される場合に、記録媒体が向く方向に応じた画像形成条件に変更した後に、記録媒体に画像を形成する。このため、記録媒体が方向を有する場合に、記録媒体が載置された方向と、その記録媒体に形成される画像の方向とを一致させることができる。 The MFP 100 also detects the direction in which the recording medium placed on the placement surface 153A faces based on image data, and when it is determined that the set state is normal, it changes the image formation conditions to correspond to the direction in which the recording medium faces, and then forms an image on the recording medium. Therefore, when the recording medium has a direction, it is possible to match the direction in which the recording medium is placed with the direction of the image formed on that recording medium.

また、MFP100は、セット状態が異常の場合に画像が形成される前に警告するので、記録媒体に誤って画像が形成されることが抑制される。 In addition, the MFP 100 warns before an image is formed if the setting state is abnormal, preventing an image from being erroneously formed on the recording medium.

また、MFP100は、カメラ180の焦点距離に基づいて、記録媒体の積載方向の高さを検出するので、手差しトレイ153に載置された記録媒体の過積載を検出することができる。 In addition, the MFP 100 detects the height of the recording media in the loading direction based on the focal length of the camera 180, so it can detect overloading of recording media placed on the manual feed tray 153.

また、MFP100は、基準シート155の画像と記録媒体の画像とを比較することにより記録媒体のサイズを決定する。このため、記録媒体のサイズを正確に決定することができる。 The MFP 100 also determines the size of the recording medium by comparing the image of the reference sheet 155 with the image of the recording medium. This allows the size of the recording medium to be accurately determined.

また、MFP100は、画像データに含まれる基準シート155の形状に基づいて、カメラ180が出力する画像の歪を補正する。このため、カメラ180のチルト角が適切に調整されていなくても、画像データから記録媒体を正確に抽出することができ、また、記録媒体のサイズを正確に検出することができる。 The MFP 100 also corrects distortion of the image output by the camera 180 based on the shape of the reference sheet 155 contained in the image data. Therefore, even if the tilt angle of the camera 180 is not properly adjusted, the recording medium can be accurately extracted from the image data, and the size of the recording medium can be accurately detected.

また、MFP100は、動作モードが省電力モードに切り換えられている間、または、メイン電源がOFFの間、カメラ180の電源をOFFにする。このため、消費電力を抑制することができる。 In addition, the MFP 100 turns off the power to the camera 180 while the operating mode is switched to the power saving mode or while the main power supply is off. This makes it possible to reduce power consumption.

<実施の形態の総括>
(項1) 画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、
前記載置面を撮像範囲とするカメラと、
カメラで撮影された画像データに基づいて、前記記録媒体が前記トレイに載置された状態を示すセット状態が正常か否かを判断する判断手段と、を備えた画像形成装置。
<Summary of the embodiment>
(Item 1) A tray having an upwardly open mounting surface on which a recording medium to be used for image formation is placed;
a camera having an image capturing range including the placement surface;
and a determination unit that determines whether a set state, which indicates a state in which the recording medium is placed on the tray, is normal or not, based on image data captured by a camera.

この局面に従えば、カメラで撮影された画像データに基づいて、記録媒体がトレイに載置された状態を示すセット状態が正常か否かが判断される。このため、ユーザーによりトレイに記録媒体が誤った状態でセットされていることが記録媒体に画像が形成される前に判断される。その結果、記録媒体に誤った画像が形成される事象の発生を抑制した画像形成装置を提供することができる。 According to this aspect, it is determined whether the set state, which indicates the state in which the recording medium is placed on the tray, is normal or not, based on image data captured by the camera. Therefore, it is determined that the recording medium has been set on the tray in an incorrect state by the user before an image is formed on the recording medium. As a result, it is possible to provide an image forming device that suppresses the occurrence of an event in which an incorrect image is formed on the recording medium.

(項2) 前記判断手段は、前記画像データに基づいて前記記録媒体と前記載置面との相対位置を決定し、決定された前記相対位置に基づいて前記セット状態が正常か否かを判断する、項1に記載の画像形成装置。 (Item 2) The image forming device according to item 1, wherein the determination means determines the relative position between the recording medium and the placement surface based on the image data, and determines whether the setting state is normal or not based on the determined relative position.

この局面に従えば、記録媒体と載置面との相対位置に基づいて、セット状態が正常か否かが判断される。このため、記録媒体が載置面に載置される位置および方向が正しくいか否かを判断することができる。 According to this aspect, whether the setting state is normal or not is determined based on the relative position between the recording medium and the placement surface. Therefore, it is possible to determine whether the position and direction in which the recording medium is placed on the placement surface are correct.

(項3) 前記判断手段は、前記画像データに含まれる前記記録媒体の画像に基づいて、前記記録媒体の種類を決定し、前記相対位置を決定された前記種類に対して予め定められた位置関係と比較する、項2に記載の画像形成装置。 (Item 3) The image forming device according to Item 2, wherein the determination means determines the type of the recording medium based on an image of the recording medium included in the image data, and compares the relative position with a predetermined positional relationship for the determined type.

この局面に従えば、記録媒体の種類ごとに相対位置が判断されるので、正確にセット状態を判断することができる。 In this way, the relative position is determined for each type of recording medium, so the setting status can be determined accurately.

(項4) 前記記録媒体に画像を形成する画像形成手段を、さらに備え、
前記判断手段は、前記画像データに基づいて前記載置面に載置された前記記録媒体が向く方向を検出し、
前記画像形成手段は、前記判断手段により前記セット状態が正常と判断される場合に、前記記録媒体が向く方向に応じた画像形成条件で前記記録媒体に画像を形成する、項3に記載の画像形成装置。
(Item 4) The image forming device further includes an image forming unit for forming an image on the recording medium,
The determination means detects a direction in which the recording medium placed on the placement surface faces based on the image data,
4. The image forming apparatus according to claim 3, wherein when the determination unit determines that the set state is normal, the image forming unit forms an image on the recording medium under image forming conditions according to the direction in which the recording medium is facing.

この局面に従えば、画像データに基づいて載置面に載置された記録媒体が向く方向が検出され、セット状態が正常と判断される場合に、記録媒体が向く方向に応じた画像形成条件で記録媒体に画像が形成される。このため、記録媒体が方向を有する場合に、記録媒体が載置された方向と、その記録媒体に形成される画像の方向とを一致させることができる。 According to this aspect, the direction in which the recording medium placed on the placement surface faces is detected based on image data, and if the set state is determined to be normal, an image is formed on the recording medium under image formation conditions according to the direction in which the recording medium faces. Therefore, if the recording medium has a direction, it is possible to match the direction in which the recording medium is placed with the direction of the image formed on the recording medium.


(項5) 前記記録媒体に画像を形成する画像形成手段を、さらに備え、
前記画像形成手段は、前記判断手段により前記記録媒体の種類が封筒または送り状に決定され、かつ、前記セット状態が正常と判断される場合に、封筒または送り状に対して予め定められた画像形成条件を自動的に設定し、前記記録媒体に画像を形成する。

(Item 5) Further comprising an image forming unit for forming an image on the recording medium,
When the judgment means determines that the type of the recording medium is an envelope or a shipping invoice and the set state is determined to be normal, the image forming means automatically sets predetermined image forming conditions for the envelope or the shipping invoice and forms an image on the recording medium.

(項6) 前記判断手段により前記セット状態が異常であると判断される場合に、前記記録媒体が前記トレイから搬送される前に警告する警告手段を、さらに備えた項1に記載の画像形成装置。 (Item 6) The image forming device according to item 1, further comprising a warning means for issuing a warning before the recording medium is transported from the tray if the determination means determines that the set state is abnormal.

この局面に従えば、セット状態が異常の場合に画像が形成される前に警告するので、記録媒体に誤って画像が形成されることが抑制される。 In this aspect, if the setting state is abnormal, a warning is issued before an image is formed, preventing an image from being erroneously formed on the recording medium.

(項7) 前記警告手段は、画像を表示する表示手段に警告を表示する、項6記載の画像形成装置。 (Item 7) The image forming device according to item 6, wherein the warning means displays a warning on a display means that displays an image.

(項8) 前記トレイは、前記載置面に予め定められた形状の基準シートが設けられており、
前記カメラが有するレンズの焦点距離を自動調整する調整手段と、
前記カメラの撮像範囲に前記基準シートが含まれる間における前記レンズの第1焦点距離と、前記カメラの撮像範囲に前記記録媒体が含まれる間における前記レンズの第2焦点距離とを比較することにより、前記記録媒体の積載方向の高さを決定する高さ決定手段と、をさらに備えた、項1に記載の画像形成装置。
(Item 8) The tray has a reference sheet having a predetermined shape provided on the placement surface,
an adjustment means for automatically adjusting the focal length of a lens of the camera;
2. The image forming apparatus described in item 1, further comprising a height determination means for determining a height of the recording medium in a loading direction by comparing a first focal length of the lens while the reference sheet is included in the imaging range of the camera with a second focal length of the lens while the recording medium is included in the imaging range of the camera.

この局面に従えば、トレイに載置された記録媒体の積載高が決定されるので、過積載か否かを判断することができる。 In this way, the stack height of the recording media placed on the tray can be determined, making it possible to determine whether or not the recording media is overloaded.

(項9) 前記トレイは、前記載置面に予め定められた形状の基準シートが設けられており、
前記カメラが有するレンズの焦点距離を自動調整する調整手段と、
前記画像データに含まれる前記記録媒体の画像のサイズを、前記カメラの撮像範囲に前記基準シートが含まれる間における前記画像データに含まれる前記基準シートの画像のサイズと比較することにより、前記記録媒体のサイズを決定するサイズ決定手段と、をさらに備えた、項1に記載の画像形成装置。
(Item 9) The tray has a reference sheet having a predetermined shape provided on the placement surface,
an adjustment means for automatically adjusting the focal length of a lens of the camera;
2. The image forming apparatus described in item 1, further comprising a size determination means for determining the size of the recording medium by comparing the size of the image of the recording medium contained in the image data with the size of the image of the reference sheet contained in the image data while the reference sheet is included in the camera's imaging range.

この局面に従えば、記録媒体のサイズを正確に検出することができる。 By following this aspect, the size of the recording medium can be accurately detected.

(項10) 前記カメラの撮像範囲に前記基準シートが含まれる間における前記画像データに含まれる前記基準シートの形状に基づいて、前記カメラの撮像範囲に前記記録媒体が含まれる間における前記画像データに含まれる前記記録媒体の歪を補正する画像補正手段を、さらに備えた、項9に記載の画像形成装置。 (Item 10) The image forming apparatus according to Item 9, further comprising an image correction means for correcting distortion of the recording medium contained in the image data while the recording medium is included in the imaging range of the camera, based on the shape of the reference sheet contained in the image data while the reference sheet is included in the imaging range of the camera.

この局面に従えば、記録媒体のサイズを正確に検出することができる。 By following this aspect, the size of the recording medium can be accurately detected.

(項11) 前記カメラは、前記載置面の上方に配置される、項1に記載の画像形成装置。 (Item 11) The image forming device according to item 1, wherein the camera is disposed above the placement surface.

(項12) 前記カメラが有する光軸が前記載置面と交わる角度を調整する調整機構を、さらに備えた、項1に記載の画像形成装置。 (Item 12) The image forming device described in item 1 further includes an adjustment mechanism that adjusts the angle at which the optical axis of the camera intersects with the placement surface.

(項13) 通常モードと、前記通常モードよりも消費電力が少ない省電力モードとに動作モードを切り換える切換手段と、
前記カメラを制御するカメラ制御手段と、を、さらに備え、
前記カメラ制御手段は、前記省電力モードに切り換えられている間、または、メイン電源がOFFの間、前記カメラの電源をOFFにする、項1に記載の画像形成装置。
(Item 13) A switching means for switching an operation mode between a normal mode and a power saving mode in which power consumption is less than that in the normal mode;
A camera control unit for controlling the camera is further provided.
2. The image forming apparatus according to claim 1, wherein the camera control means turns off the power supply of the camera while the image forming apparatus is in the power saving mode or while a main power supply is off.

この局面に従えば、消費電力を抑制することができる。 By following this approach, power consumption can be reduced.

(項14) 前記記録媒体に画像を形成する画像形成手段を、さらに備え、
前記警告手段は、前記記録媒体が封筒でかつセット状態が表裏逆と判断される場合、前記画像形成手段に画像を形成させない、項6に記載の画像形成装置。
(項15) 前記記録媒体に画像を形成する画像形成手段を、さらに備え、
前記警告手段は、前記判断手段により前記セット状態が複数の記録媒体が所定量より多いと判断される場合、前記画像形成手段に画像を形成させない、項8に記載の画像形成装置。
(Item 14) The image forming apparatus further includes an image forming unit for forming an image on the recording medium,
7. The image forming apparatus according to claim 6, wherein the warning means prevents the image forming means from forming an image when it is determined that the recording medium is an envelope and that the recording medium is set upside down.
(Item 15) The image forming apparatus further includes an image forming unit for forming an image on the recording medium,
9. The image forming apparatus according to claim 8, wherein the warning unit does not allow the image forming unit to form an image when the determination unit determines that the number of recording media set is greater than a predetermined number.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is indicated by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims.

100 MFP、51 撮像制御部、53 画像解析部、55 判断部、57 警告部、59 画像形成制御部、61 焦点調整部、63 トレイ抽出部、65 記録媒体抽出部、67 基準シート抽出部、71 積載高決定部、73 種類決定部、75 方向決定部、77 相対位置決定部、78 サイズ決定部、110 メイン回路、111 CPU、118 CD-ROM、120 自動原稿搬送装置、130 原稿読取部、140 画像形成部、150 給紙部、151,152 給紙カセット、153 手差しトレイ、153A 載置面、154 用紙検出センサー、155 基準シート、160 操作パネル、161 表示部、163 操作部、165 タッチパネル、167 ハードキー部、173A,173B 用紙幅調整板、174A,174B 溝、175A,175B 用紙検出突起、180 カメラ。 100 MFP, 51 Imaging control unit, 53 Image analysis unit, 55 Determination unit, 57 Warning unit, 59 Image formation control unit, 61 Focus adjustment unit, 63 Tray extraction unit, 65 Recording medium extraction unit, 67 Reference sheet extraction unit, 71 Stacking height determination unit, 73 Type determination unit, 75 Orientation determination unit, 77 Relative position determination unit, 78 Size determination unit, 110 Main circuit, 111 CPU, 118 CD-ROM, 120 Automatic document feeder, 130 Document reading unit, 140 Image forming unit, 150 Paper feed unit, 151, 152 Paper feed cassette, 153 Manual feed tray, 153A Placement surface, 154 Paper detection sensor, 155 Reference sheet, 160 Operation panel, 161 Display unit, 163 Operation unit, 165 Touch panel, 167 Hard key section, 173A, 173B paper width adjustment plate, 174A, 174B groove, 175A, 175B paper detection protrusion, 180 camera.

Claims (15)

画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、
前記載置面を撮像範囲とするカメラと、
前記カメラで撮影された画像データに基づいて、前記記録媒体が前記トレイに載置された状態を示すセット状態が正常か否かを判断する判断手段と、を備えた画像形成装置。
a tray having an upwardly open placement surface on which a recording medium to be used for image formation is placed;
a camera having an image capturing range including the placement surface;
and a determination means for determining whether a set state, which indicates a state in which the recording medium is placed on the tray, is normal or not, based on image data captured by the camera.
前記判断手段は、前記画像データに基づいて前記記録媒体と前記載置面との相対位置を決定し、決定された前記相対位置に基づいて前記セット状態が正常か否かを判断する、請求項1に記載の画像形成装置。 The image forming device according to claim 1, wherein the determining means determines the relative position between the recording medium and the placement surface based on the image data, and determines whether the setting state is normal or not based on the determined relative position. 前記判断手段は、前記画像データに含まれる前記記録媒体の画像に基づいて、前記記録媒体の種類を決定し、前記相対位置を決定された前記種類に対して予め定められた位置関係と比較する、請求項2に記載の画像形成装置。 The image forming device according to claim 2, wherein the determination means determines the type of the recording medium based on an image of the recording medium included in the image data, and compares the relative position with a predetermined positional relationship for the determined type. 前記記録媒体に画像を形成する画像形成手段を、さらに備え、
前記判断手段は、前記画像データに基づいて前記載置面に載置された前記記録媒体が向く方向を検出し、
前記画像形成手段は、前記判断手段により前記セット状態が正常と判断される場合に、前記記録媒体が向く方向に応じた画像形成条件で前記記録媒体に画像を形成する、請求項3に記載の画像形成装置。
The image forming apparatus further includes an image forming unit for forming an image on the recording medium,
The determination means detects a direction in which the recording medium placed on the placement surface faces based on the image data,
4. The image forming apparatus according to claim 3, wherein the image forming means forms an image on the recording medium under image forming conditions according to a direction in which the recording medium faces when the determination means determines that the set state is normal.
前記記録媒体に画像を形成する画像形成手段を、さらに備え、
前記画像形成手段は、前記判断手段により前記記録媒体の種類が封筒または送り状に決定され、かつ、前記セット状態が正常と判断される場合に、封筒または送り状に対して予め定められた画像形成条件を自動的に設定し、前記記録媒体に画像を形成する、請求項3に記載の画像形成装置。
Further, the image forming apparatus includes an image forming unit for forming an image on the recording medium,
4. The image forming apparatus according to claim 3, wherein when the determination means determines that the type of the recording medium is an envelope or a shipping invoice and the set state is determined to be normal, the image forming means automatically sets predetermined image forming conditions for the envelope or the shipping invoice and forms an image on the recording medium.
前記判断手段により前記セット状態が異常であると判断される場合に、前記記録媒体が前記トレイから搬送される前に警告する警告手段を、さらに備えた請求項1に記載の画像形成装置。 The image forming device according to claim 1, further comprising a warning means for warning before the recording medium is transported from the tray if the judgment means judges that the set state is abnormal. 前記警告手段は、画像を表示する表示手段に警告を表示する、請求項6に記載の画像形成装置。 The image forming device according to claim 6, wherein the warning means displays a warning on a display means that displays an image. 前記トレイは、前記載置面に予め定められた形状の基準シートが設けられており、
前記カメラが有するレンズの焦点距離を自動調整する調整手段と、
前記カメラの撮像範囲に前記基準シートが含まれる間における前記レンズの第1焦点距離と、前記カメラの撮像範囲に前記記録媒体が含まれる間における前記レンズの第2焦点距離とを比較することにより、前記記録媒体の積載方向の高さを決定する積載高決定手段と、をさらに備えた、請求項1に記載の画像形成装置。
The tray has a reference sheet having a predetermined shape provided on the placement surface,
an adjustment means for automatically adjusting the focal length of a lens of the camera;
2. The image forming apparatus of claim 1, further comprising a stacking height determination means for determining a height of the recording medium in a stacking direction by comparing a first focal length of the lens while the reference sheet is included in the imaging range of the camera with a second focal length of the lens while the recording medium is included in the imaging range of the camera.
前記トレイは、前記載置面に予め定められた形状の基準シートが設けられており、
前記カメラが有するレンズの焦点距離を自動調整する調整手段と、
前記画像データに含まれる前記記録媒体の画像のサイズを、前記カメラの撮像範囲に前記基準シートが含まれる間における前記画像データに含まれる前記基準シートの画像のサイズと比較することにより、前記記録媒体のサイズを決定するサイズ決定手段と、をさらに備えた、請求項1に記載の画像形成装置。
The tray has a reference sheet having a predetermined shape provided on the placement surface,
an adjustment means for automatically adjusting the focal length of a lens of the camera;
2. The image forming apparatus of claim 1, further comprising a size determination means for determining the size of the recording medium by comparing the size of the image of the recording medium contained in the image data with the size of the image of the reference sheet contained in the image data while the reference sheet is included in the camera's imaging range.
前記カメラの撮像範囲に前記基準シートが含まれる間における前記画像データに含まれる前記基準シートの形状に基づいて、前記カメラの撮像範囲に前記記録媒体が含まれる間における前記画像データに含まれる前記記録媒体の歪を補正する画像補正手段を、さらに備えた、請求項9に記載の画像形成装置。 The image forming apparatus according to claim 9, further comprising an image correction means for correcting distortion of the recording medium contained in the image data while the recording medium is included in the imaging range of the camera, based on the shape of the reference sheet contained in the image data while the reference sheet is included in the imaging range of the camera. 前記カメラは、前記載置面の上方に配置される、請求項1に記載の画像形成装置。 The image forming device according to claim 1, wherein the camera is disposed above the placement surface. 前記カメラが有する光軸が前記載置面と交わる角度を調整する調整機構を、さらに備えた、請求項1に記載の画像形成装置。 The image forming device according to claim 1, further comprising an adjustment mechanism for adjusting the angle at which the optical axis of the camera intersects with the placement surface. 通常モードと、前記通常モードよりも消費電力が少ない省電力モードとに動作モードを切り換える切換手段と、
前記カメラを制御するカメラ制御手段と、を、さらに備え、
前記カメラ制御手段は、前記省電力モードに切り換えられている間、または、メイン電源がOFFの間、前記カメラの電源をOFFにする、請求項1に記載の画像形成装置。
A switching means for switching an operation mode between a normal mode and a power saving mode which consumes less power than the normal mode;
A camera control unit for controlling the camera is further provided.
2. The image forming apparatus according to claim 1, wherein said camera control means turns off the power supply of said camera while said image forming apparatus is in said power saving mode or while a main power supply is off.
画像形成装置で実行される画像形成方法であって、
前記画像形成装置は、画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、
前記載置面を撮像範囲とするカメラと、を備え、
前記カメラで撮影された画像データに基づいて、前記記録媒体が前記トレイに載置された状態を示すセット状態が正常か否かを判断する判断ステップを含む、画像形成方法。
An image forming method performed in an image forming apparatus, comprising:
The image forming apparatus includes a tray having an upwardly open mounting surface on which a recording medium to be used for image formation is placed;
a camera having an image capturing range including the placement surface,
The image forming method includes a determination step of determining whether or not a set state indicating a state in which the recording medium is placed on the tray is normal based on image data captured by the camera.
画像形成装置を制御するコンピューターで実行される画像形成プログラムであって、
前記画像形成装置は、画像形成に供する記録媒体が載置される載置面が上方に開放したトレイと、
前記載置面を撮像範囲とするカメラと、を備え、
前記カメラで撮影された画像データに基づいて、前記記録媒体が前記トレイに載置された状態を示すセット状態が正常か否かを判断する判断ステップを含む、画像形成プログラム。
An image forming program executed by a computer that controls an image forming apparatus,
The image forming apparatus includes a tray having an upwardly open mounting surface on which a recording medium to be used for image formation is placed;
a camera having an image capturing range including the placement surface,
an image forming program including a determination step of determining whether a set state indicating a state in which the recording medium is placed on the tray is normal or not, based on image data captured by the camera;
JP2022180602A 2022-11-10 2022-11-10 Image forming apparatus, image forming method, and image forming program Pending JP2024070161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022180602A JP2024070161A (en) 2022-11-10 2022-11-10 Image forming apparatus, image forming method, and image forming program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022180602A JP2024070161A (en) 2022-11-10 2022-11-10 Image forming apparatus, image forming method, and image forming program

Publications (1)

Publication Number Publication Date
JP2024070161A true JP2024070161A (en) 2024-05-22

Family

ID=91121781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022180602A Pending JP2024070161A (en) 2022-11-10 2022-11-10 Image forming apparatus, image forming method, and image forming program

Country Status (1)

Country Link
JP (1) JP2024070161A (en)

Similar Documents

Publication Publication Date Title
EP1256851B1 (en) Image forming apparatus capable of determining type of recording sheet to prevent sheet jam
US7509068B2 (en) Image forming apparatus
US8218994B2 (en) Image forming apparatus
US8009331B2 (en) Image forming apparatus
JP5823454B2 (en) Paper feeding device and image forming apparatus
JP2024070161A (en) Image forming apparatus, image forming method, and image forming program
JP4665547B2 (en) Printing device
JP3842038B2 (en) Image forming apparatus
WO2004089794A1 (en) Paper tray, paper feeder with the tray, and image forming device
JP2004125975A (en) Device and method for deciding document size and image reader
JP2003081446A (en) Cassette with size detecting function
JP4267398B2 (en) Image forming apparatus
JPH05297763A (en) Electrophotographic device
US20070003295A1 (en) Image-processing device, image forming device, electronic equipment, and image forming method
US11558518B2 (en) Image reading apparatus and image forming apparatus
JP2006086693A (en) Image reader and reading method
JP2013123093A (en) Image reading device and image forming device
JP3301899B2 (en) Image copier
JPH0812101A (en) Sheet feeding device and image forming device
US20230179721A1 (en) Image reading apparatus and image forming apparatus
JPH05134502A (en) Image forming device
JPH09235032A (en) Image recording device
JP2022067807A (en) Image forming apparatus, automatic copying method, and automatic copying program
JP2022054165A (en) Image forming apparatus
JPH0981010A (en) Image copying device and facsimile equipment