JP6898581B2 - Image forming device and control program of image forming device - Google Patents

Image forming device and control program of image forming device Download PDF

Info

Publication number
JP6898581B2
JP6898581B2 JP2016172920A JP2016172920A JP6898581B2 JP 6898581 B2 JP6898581 B2 JP 6898581B2 JP 2016172920 A JP2016172920 A JP 2016172920A JP 2016172920 A JP2016172920 A JP 2016172920A JP 6898581 B2 JP6898581 B2 JP 6898581B2
Authority
JP
Japan
Prior art keywords
envelope
reflected light
amount
profile
detection unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016172920A
Other languages
Japanese (ja)
Other versions
JP2018039585A (en
Inventor
西川 英史
英史 西川
高広 横谷
高広 横谷
清仁 小島
清仁 小島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2016172920A priority Critical patent/JP6898581B2/en
Publication of JP2018039585A publication Critical patent/JP2018039585A/en
Application granted granted Critical
Publication of JP6898581B2 publication Critical patent/JP6898581B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像形成装置および画像形成装置の制御プログラムに関し、特に、封筒に画像形成する画像形成装置および画像形成装置の制御プログラムに関する。 The present invention relates to an image forming apparatus and a control program for the image forming apparatus, and more particularly to an image forming apparatus for forming an image on an envelope and a control program for the image forming apparatus.

近年、複写機やプリンター等の画像形成装置の用途が拡大し、普通紙だけなく、封筒等の多様なメディアに対する印刷の対応が求められている。 In recent years, the applications of image forming devices such as copiers and printers have expanded, and it is required to support printing not only on plain paper but also on various media such as envelopes.

封筒は、普通紙と異なり、封を閉じるためのフラップを有する。従来から、封筒のフラップを検知して、封筒に対して適切な処理を行う種々の技術が提案されてきた。たとえば、特許文献1に記載の発明では、フラップを閉じた状態の封筒において、フラップの封筒面内位置をセンサー等により検知して、封筒の表裏等のセット間違いを防止する技術が提案されている。また、特許文献2に記載の発明では、封筒の厚さをセンサーにより検知して、フラップの開閉状態を判断し、フラップの状態に合わせた搬送制御や印字制御を行う技術が提案されている。 Envelopes, unlike plain paper, have flaps to close the envelope. Conventionally, various techniques have been proposed in which flaps of envelopes are detected and appropriate processing is performed on the envelopes. For example, in the invention described in Patent Document 1, in an envelope with a flap closed, a technique is proposed in which the position of the flap inside the envelope surface is detected by a sensor or the like to prevent an error in setting the front and back of the envelope. .. Further, in the invention described in Patent Document 2, a technique is proposed in which the thickness of an envelope is detected by a sensor, the open / closed state of the flap is determined, and transport control and print control are performed according to the flap state.

特開平5−92841号公報Japanese Unexamined Patent Publication No. 5-92841 特開2007−152644号公報JP-A-2007-152644

しかし、上記特許文献1に記載の発明は、フラップの封筒面内位置によって封筒の表裏を判断するため、フラップを開いた状態の封筒の表裏を判定できないという問題があった。また、特許文献2に記載の発明は、フラップを開いた状態の封筒に合わせた制御を行うが、当該封筒の表裏については判定できないという問題があった。 However, the invention described in Patent Document 1 has a problem that the front and back of the envelope with the flap open cannot be determined because the front and back of the envelope are determined by the position of the flap in the envelope surface. Further, the invention described in Patent Document 2 has a problem that the front and back sides of the envelope cannot be determined, although the control is performed according to the envelope in the open state of the flap.

本発明は、上記事情に鑑みてなされたものであり、フラップを開いた状態の封筒の表裏を判定し、セット間違いを防止する画像形成装置および画像形成装置の制御プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image forming apparatus and a control program of the image forming apparatus for determining the front and back sides of an envelope with the flaps open and preventing setting mistakes. To do.

本発明の上記の目的は、下記の手段によって達成される。 The above object of the present invention is achieved by the following means.

(1)袋状の本体部の封を閉じるためのフラップを有する封筒を搬送する搬送路と、
前記封筒の搬送方向に沿って、発光素子により、当該封筒の少なくとも一部の範囲に光を照射し、当該封筒における、前記発光素子によって照射された位置からの反射光量を受光素子により検知する検知部と、前記発光素子によって前記封筒上に光を照射した位置と、当該位置において検知した前記反射光量との対応を示すプロファイルに基づいて、前記封筒の表裏を判定する制御部と、を有する画像形成装置。
(1) A transport path for transporting an envelope having a flap for closing the seal of the bag-shaped main body, and
Detection in which the light emitting element irradiates at least a part of the envelope with light along the transport direction of the envelope, and the light receiving element detects the amount of reflected light from the position irradiated by the light emitting element in the envelope. An image including a unit, a control unit that determines the front and back of the envelope based on a profile indicating a correspondence between a position where light is irradiated onto the envelope by the light emitting element and the amount of reflected light detected at the position. Forming device.

(2)前記検知部は、前記搬送方向に沿って前記封筒の前端から後端にわたる前記反射光量を検知し、前記制御部は、前記前端から前記後端にわたる前記プロファイルに基づいて、前記封筒の表裏を判定する上記(1)に記載の画像形成装置。 (2) The detection unit detects the amount of reflected light from the front end to the rear end of the envelope along the transport direction, and the control unit detects the amount of reflected light of the envelope from the front end to the rear end based on the profile extending from the front end to the rear end. The image forming apparatus according to (1) above, which determines the front and back sides.

(3)前記制御部は、前記プロファイルを参照し、前記反射光量の変化による段差があるか否かを判定し、前記段差がない場合、前記封筒が前記検知部に表面を向けていると判定し、前記段差がある場合、前記封筒が前記検知部に裏面を向けていると判定する上記(1)または(2)に記載の画像形成装置。 (3) The control unit refers to the profile and determines whether or not there is a step due to a change in the amount of reflected light, and if there is no step, it is determined that the envelope faces the detection unit. The image forming apparatus according to (1) or (2) above, wherein when there is a step, it is determined that the envelope faces the back surface of the detection unit.

(4)前記制御部は、前記プロファイルに前記段差がある場合、当該段差が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定する上記(3)に記載の画像形成装置。 (4) The image forming apparatus according to (3) above, wherein when the profile has the step, the control unit determines the position of the flap with respect to the main body of the envelope based on the position where the step appears. ..

(5)前記制御部は、前記プロファイルに前記段差がない場合、前記反射光量の変化による傾斜があるか否かを判定し、前記傾斜がある場合、当該傾斜が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定する上記(3)または(4)に記載の画像形成装置。 (5) If the profile does not have the step, the control unit determines whether or not there is an inclination due to a change in the amount of reflected light, and if there is an inclination, the envelope is based on a position where the inclination appears. The image forming apparatus according to (3) or (4) above, which determines the position of the flap with respect to the main body portion of the above.

(6)前記検知部は、前記搬送方向に直交する方向に並ぶ複数のセンサーを有し、前記制御部は、前記複数のセンサーに含まれる一つのセンサーにより得られる前記プロファイルに基づいて、前記封筒の表裏を判定し、前記一つのセンサーにより得られる前記プロファイルを参照し、前記プロファイルに前記段差も前記傾斜もない場合、前記複数のセンサーが検知した前記反射光量に基づいて前記封筒の平面形状を特定し、前記封筒の前記本体部に対する前記フラップの位置を判定する上記(5)に記載の画像形成装置。 (6) The detection unit has a plurality of sensors arranged in a direction orthogonal to the transport direction, and the control unit has the envelope based on the profile obtained by one sensor included in the plurality of sensors. When the front and back sides of the envelope are determined and the profile obtained by the one sensor is referred to, and the profile has neither the step nor the inclination, the planar shape of the envelope is determined based on the reflected light amount detected by the plurality of sensors. The image forming apparatus according to (5) above, which identifies and determines the position of the flap with respect to the main body of the envelope.

(7)前記検知部は、前記搬送路上に設けられる上記(1)〜(6)のいずれか一つに記載の画像形成装置。 (7) The image forming apparatus according to any one of (1) to (6) above, wherein the detection unit is provided on the transport path.

(8)前記封筒を収容する収容部をさらに有し、前記検知部は、前記収容部内に設けられる上記(1)〜(6)のいずれか一つに記載の画像形成装置。 (8) The image forming apparatus according to any one of (1) to (6) above, which further has an accommodating portion for accommodating the envelope, and the detecting unit is provided in the accommodating portion.

(9)前記収容部は、前記検知部を前記封筒に対して相対的に上昇させる移動手段をさらに有し、前記制御部は、前記プロファイルの精度が低い場合において、前記プロファイルを参照しても前記反射光量の変化による段差があるか否かを判定できない場合には、前記反射光量の変化による傾斜があるか否かを判定し、前記傾斜がある場合には、前記移動手段により前記検知部を相対的に上昇させ、前記検知部の上昇により前記反射光量が増加しない場合、前記封筒が前記検知部に表面を向けていると判定し、前記検知部の上昇により前記反射光量が増加する場合、前記封筒が前記検知部に裏面を向けていると判定する上記(8)に記載の画像形成装置。 (9) The accommodating unit further has a moving means for raising the detection unit relative to the envelope, and the control unit may refer to the profile when the accuracy of the profile is low. If it cannot be determined whether or not there is a step due to the change in the reflected light amount, it is determined whether or not there is an inclination due to the change in the reflected light amount, and if there is an inclination, the detection unit is used by the moving means. When the amount of reflected light does not increase due to the increase of the detection unit, it is determined that the envelope faces the detection unit, and the amount of reflected light increases due to the increase of the detection unit. The image forming apparatus according to (8) above, which determines that the envelope faces the back surface of the detection unit.

(10)袋状の本体部の封を閉じるためのフラップを有する封筒を搬送する搬送路と、
前記封筒の搬送方向に沿って、発光素子により、当該封筒の少なくとも一部の範囲に光を照射し、当該封筒における、前記発光素子によって照射された位置からの反射光量を受光素子により検知する検知部と、
を有する画像形成装置の制御プログラムであって、
前記発光素子によって前記封筒上に光を照射した位置と、当該位置において検知した前記反射光量との対応を示すプロファイルに基づいて、前記封筒の表裏を判定するステップ(a)をコンピューターに実行させるための制御プログラム。
(10) A transport path for transporting an envelope having a flap for closing the seal of the bag-shaped main body, and
Detection in which the light emitting element irradiates at least a part of the envelope with light along the transport direction of the envelope, and the light receiving element detects the amount of reflected light from the position irradiated by the light emitting element in the envelope. Department and
It is a control program of an image forming apparatus having
To cause a computer to perform step (a) of determining the front and back of the envelope based on a profile showing the correspondence between the position where the light emitting element irradiates the envelope with light and the amount of reflected light detected at the position. Control program.

(11)前記ステップ(a)においては、前記搬送方向に沿って前記封筒の前端から後端にわたる前記反射光量についての前記プロファイルに基づいて、前記封筒の表裏を判定する上記(10)に記載の制御プログラム。 (11) In the step (a), the front and back sides of the envelope are determined based on the profile of the reflected light amount from the front end to the rear end of the envelope along the transport direction. Control program.

(12)前記ステップ(a)は、前記プロファイルを参照し、前記反射光量の変化による段差があるか否かを判定するステップ(b)と、前記ステップ(b)において前記段差がない場合、前記封筒が前記検知部に表面を向けていると判定するステップ(c)と、前記ステップ(b)において前記段差がある場合、前記封筒が前記検知部に裏面を向けていると判定するステップ(d)と、を含む上記(10)または(11)に記載の制御プログラム。 (12) The step (a) refers to the profile and determines whether or not there is a step due to a change in the amount of reflected light, and if there is no step in the step (b), the step is described. A step (c) for determining that the envelope faces the detection unit, and a step (d) for determining that the envelope faces the detection unit when there is a step in the step (b). ), And the control program according to (10) or (11) above.

(13)前記ステップ(b)において前記プロファイルに前記段差がある場合、当該段差が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定するステップ(e)をさらに含む上記(12)に記載の制御プログラム。 (13) When the profile has the step in the step (b), the above (e) further includes a step (e) of determining the position of the flap with respect to the main body of the envelope based on the position where the step appears. The control program according to 12).

(14)前記ステップ(b)において前記プロファイルに前記段差がない場合、前記反射光量の変化による傾斜があるか否かを判定するステップ(f)と、前記ステップ(f)において前記傾斜がある場合、当該傾斜が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定するステップ(g)と、をさらに含む上記(12)または(13)に記載の制御プログラム。 (14) When there is no step in the profile in the step (b), there is a step (f) for determining whether or not there is a tilt due to a change in the reflected light amount, and there is a tilt in the step (f). The control program according to (12) or (13) above, further comprising a step (g) of determining the position of the flap with respect to the main body of the envelope based on the position where the inclination appears.

(15)前記ステップ(a)においては、前記搬送方向に直交する方向に並ぶ複数のセンサーである前記検知部に含まれる一つのセンサーにより得られる前記プロファイルに基づいて、前記封筒の表裏を判定し、前記一つのセンサーにより得られる前記プロファイルを参照し、前記プロファイルに前記段差も前記傾斜もない場合、前記複数のセンサーが検知した前記反射光量に基づいて前記封筒の平面形状を特定し、前記封筒の前記本体部に対する前記フラップの位置を判定するステップ(h)をさらに含む上記(14)に記載の制御プログラム。 (15) In the step (a), the front and back sides of the envelope are determined based on the profile obtained by one sensor included in the detection unit, which is a plurality of sensors arranged in a direction orthogonal to the transport direction. When the profile has neither the step nor the inclination, the planar shape of the envelope is specified based on the amount of reflected light detected by the plurality of sensors, and the envelope is identified. The control program according to (14) above, further comprising a step (h) of determining the position of the flap with respect to the main body portion of the above.

(16)前記プロファイルの精度が低い場合において、前記プロファイルを参照しても前記反射光量の変化による段差があるか否かを判定できない場合には、前記反射光量の変化による傾斜があるか否かを判定するステップ(i)と、前記傾斜がある場合には、移動手段により前記検知部を相対的に上昇させるステップ(j)と、前記検知部の上昇により前記反射光量が増加しない場合、前記封筒が前記検知部に表面を向けていると判定するステップ(k)と、前記検知部の上昇により前記反射光量が増加する場合、前記封筒が前記検知部に裏面を向けていると判定するステップ(l)と、をさらに含む上記(10)〜(15)のいずれか一つに記載の制御プログラム。 (16) When the accuracy of the profile is low and it is not possible to determine whether or not there is a step due to the change in the reflected light amount even with reference to the profile, whether or not there is a gradient due to the change in the reflected light amount. The step (i) for determining the above, the step (j) for relatively raising the detection unit by the moving means when there is the inclination, and the step (j) when the amount of reflected light does not increase due to the rise of the detection unit. A step (k) of determining that the envelope faces the detection unit, and a step of determining that the envelope faces the back surface of the detection unit when the amount of reflected light increases due to the rise of the detection unit. The control program according to any one of (10) to (15) above, further comprising (l) and.

画像形成装置によれば、封筒の搬送方向に沿って、封筒からの反射光量を検知し、検知位置と反射光量との対応を示すプロファイルに基づいて、封筒の表裏を判定する。画像形成装置は、プロファイルに基づいて判定することにより、フラップの折れ曲がり状態に関わらず、封筒の表裏のセット間違いを防止できる。 According to the image forming apparatus, the amount of reflected light from the envelope is detected along the transport direction of the envelope, and the front and back sides of the envelope are determined based on the profile showing the correspondence between the detected position and the amount of reflected light. By making a determination based on the profile, the image forming apparatus can prevent an error in setting the front and back of the envelope regardless of the bent state of the flap.

本実施形態に係る画像形成装置の概略構成を示す図である。It is a figure which shows the schematic structure of the image forming apparatus which concerns on this embodiment. 画像形成装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware structure of an image forming apparatus. 封筒の各部の構成と封筒上の検知位置とを説明するための図である。It is a figure for demonstrating the structure of each part of an envelope, and the detection position on an envelope. 封筒上の検知位置と反射光量との関係を説明するための図である。It is a figure for demonstrating the relationship between the detection position on an envelope, and the amount of reflected light. 画像形成装置の処理の手順を示すフローチャートである。It is a flowchart which shows the processing procedure of an image forming apparatus. 変形例1の収容部の概略構成を示す図である。It is a figure which shows the schematic structure of the accommodating part of the modification 1. 変形例2の画像形成装置の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the processing of the image forming apparatus of the modification 2. 変形例3の封筒上の検知位置を説明するための図である。It is a figure for demonstrating the detection position on the envelope of the modification 3. 変形例3の画像形成装置の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the processing of the image forming apparatus of the modification 3. 図9のステップS309に示す、封筒向き追加判定の処理を説明するための図である。It is a figure for demonstrating the process of the envelope orientation addition determination shown in step S309 of FIG. 図9のステップS309に示す、封筒向き追加判定の処理の手順を示すサブルーチンフローチャートである。9 is a subroutine flowchart showing a procedure for processing an envelope orientation addition determination shown in step S309 of FIG. 変形例4の画像形成装置の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the processing of the image forming apparatus of the modification 4. フラップが幅方向に向いている封筒の反射光量を説明するための図である。It is a figure for demonstrating the amount of reflected light of the envelope with the flap facing in the width direction.

以下、添付した図面を参照して、本発明の実施形態を説明する。なお、図面の説明において、同一の要素には同一の符号を付し、重複する説明を省略する。また、図面の寸法比率は、説明の都合上誇張され、実際の比率とは異なる場合がある。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the description of the drawings, the same elements are designated by the same reference numerals, and duplicate description will be omitted. In addition, the dimensional ratios in the drawings are exaggerated for convenience of explanation and may differ from the actual ratios.

まず、画像形成装置の概略構成について説明する。 First, a schematic configuration of the image forming apparatus will be described.

図1は、本実施形態に係る画像形成装置の概略構成を示す図である。図2は、画像形成装置のハードウェア構成を示すブロック図である。 FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus according to the present embodiment. FIG. 2 is a block diagram showing a hardware configuration of the image forming apparatus.

図1および図2に示すように、画像形成装置10は、ハードウェア構成として、制御部11、記憶部12、通信部13、操作パネル14、給紙部15、搬送部16、画像形成部17および検知部18を有する。これらは、信号をやり取りするためのバス等の信号線を介して、相互に接続されている。また、図1に示すように、画像形成装置10は、画像形成装置本体部10aと、画像形成装置本体部10aに記録媒体を給紙する給紙装置10bとから構成されてもよい。 As shown in FIGS. 1 and 2, the image forming apparatus 10 has a control unit 11, a storage unit 12, a communication unit 13, an operation panel 14, a paper feeding unit 15, a conveying unit 16, and an image forming unit 17 as hardware configurations. And has a detection unit 18. These are connected to each other via a signal line such as a bus for exchanging signals. Further, as shown in FIG. 1, the image forming apparatus 10 may be composed of an image forming apparatus main body 10a and a paper feeding device 10b for feeding a recording medium into the image forming apparatus main body 10a.

制御部11は、CPU(Central Processing Unit)であり、プログラムに従い、上記各部の制御や各種の演算処理を行う。 The control unit 11 is a CPU (Central Processing Unit), and controls each of the above units and performs various arithmetic processes according to a program.

記憶部12は、予め各種プログラムや各種データを格納するROM(Read Only Memory)、作業領域として一時的にプログラムやデータを記憶するRAM(Random Access Memory)、各種プログラムや各種データを格納するハードディスク等から構成される。 The storage unit 12 includes a ROM (Read Only Memory) that stores various programs and various data in advance, a RAM (Random Access Memory) that temporarily stores programs and data as a work area, a hard disk that stores various programs and various data, and the like. Consists of.

通信部13は、LAN等のネットワークを介して、PC(Personal Computer)等と通信するためのインターフェースであり、たとえば、ユーザーが操作するPCから印刷ジョブを受信する。 The communication unit 13 is an interface for communicating with a PC (Personal Computer) or the like via a network such as a LAN, and receives, for example, a print job from a PC operated by a user.

操作パネル14は、タッチパネル、テンキー、スタートボタン、ストップボタン等を有し、各種情報の表示および各種指示の入力に使用される。 The operation panel 14 has a touch panel, a numeric keypad, a start button, a stop button, and the like, and is used for displaying various information and inputting various instructions.

給紙部15は、収容部(給紙トレイ)151および給紙ローラー152を有する。収容部151は、封筒20等の複数枚の記録媒体を収容する。給紙ローラー152は、記録媒体を1枚ずつ、後述する下流側の搬送路161に給紙する。給紙部15は、図1に示すように、複数の収容部151を有してもよい。 The paper feed unit 15 has an accommodating unit (paper feed tray) 151 and a paper feed roller 152. The storage unit 151 stores a plurality of recording media such as an envelope 20. The paper feed roller 152 feeds the recording media one by one to the transport path 161 on the downstream side, which will be described later. As shown in FIG. 1, the paper feeding unit 15 may have a plurality of accommodating units 151.

搬送部16は、搬送路161、搬送路161に沿って配置された複数の搬送ローラー対、および、搬送ローラー対を駆動する駆動モーター(図示なし)を有する。搬送部16は、給紙部15から1枚ずつ給紙された記録媒体を、搬送路161に沿って、後述する画像形成部17に搬送する。 The transport unit 16 has a transport path 161, a plurality of transport roller pairs arranged along the transport path 161 and a drive motor (not shown) for driving the transport roller pair. The transport unit 16 transports the recording media fed one by one from the paper feed unit 15 to the image forming unit 17, which will be described later, along the transport path 161.

画像形成部17は、帯電、露光、現像、転写および定着の各工程を含む電子写真方式等の周知の作像プロセスを用いて、封筒20等の記録媒体上に画像を形成する。 The image forming unit 17 forms an image on a recording medium such as an envelope 20 by using a well-known image forming process such as an electrophotographic method including each step of charging, exposure, development, transfer and fixing.

検知部18は、CIS(Contact Image Sensor)等のセンサーであり、発光素子、受光素子およびレンズアレイ等の光学エレメントを有する。検知部18は、図1に示すように、搬送路161上に設けられる。検知部18は、封筒20が検知部18の位置を搬送部16により搬送されるときに、発光素子により、封筒20の少なくとも一部の範囲に光を照射し、受光素子により、当該封筒20から反射される光の量(以下「反射光量」と呼ぶ)を検知する。 The detection unit 18 is a sensor such as a CIS (Contact Image Sensor), and has an optical element such as a light emitting element, a light receiving element, and a lens array. As shown in FIG. 1, the detection unit 18 is provided on the transport path 161. When the envelope 20 is transported by the transport unit 16 at the position of the detection unit 18, the detection unit 18 irradiates at least a part of the envelope 20 with light by the light emitting element, and the light receiving element transmits the light from the envelope 20. The amount of reflected light (hereinafter referred to as "reflected light amount") is detected.

図1に示す例では、検知部18は、各収容部151からの搬送路が合流する合流地点よりも下流側に一つ設けられているが、当該合流地点よりも上流側に、各収容部151に対して一つずつ設けられてもよい。すなわち、検知部18は、給紙部15から給紙される封筒20が、検知部18を少なくとも一回通過するように設けられればよい。 In the example shown in FIG. 1, one detection unit 18 is provided on the downstream side of the confluence point where the transport paths from each accommodating unit 151 meet, but each accommodating unit 18 is on the upstream side of the confluence point. It may be provided one by one for 151. That is, the detection unit 18 may be provided so that the envelope 20 fed from the paper feeding unit 15 passes through the detection unit 18 at least once.

また、検知部18は、最大長さの封筒20の後端が検知部18の検知領域を抜けるときに、当該封筒20の前端が未だ画像形成部17に到達しないような位置に設けられることが望ましい。 Further, the detection unit 18 may be provided at a position where the front end of the envelope 20 does not yet reach the image forming unit 17 when the rear end of the envelope 20 having the maximum length exits the detection area of the detection unit 18. desirable.

(封筒の表裏の判定方法)
次に、本実施形態に係る封筒20の表裏の判定方法について説明する。
(How to judge the front and back of an envelope)
Next, a method of determining the front and back sides of the envelope 20 according to the present embodiment will be described.

図3は、封筒の各部の構成と封筒上の検知位置とを説明するための図である。図4は、封筒上の検知位置と反射光量との関係を説明するための図である。 FIG. 3 is a diagram for explaining the configuration of each part of the envelope and the detection position on the envelope. FIG. 4 is a diagram for explaining the relationship between the detection position on the envelope and the amount of reflected light.

以下の図面では、封筒20の搬送方向をX方向、搬送方向に直交する封筒20の幅方向をY方向とする。 In the drawings below, the transport direction of the envelope 20 is the X direction, and the width direction of the envelope 20 orthogonal to the transport direction is the Y direction.

図3の(a)に示すように、封筒20は、袋状の本体部21と、本体部21の封を閉じるためのフラップ22とを有する。また、封筒20は、フラップ22を折り曲げできるように、本体部21とフラップ22との間に折り筋を有する。フラップ22は、当該折り筋に沿って折り曲げられることによって、本体部21の封を閉じる。 As shown in FIG. 3A, the envelope 20 has a bag-shaped main body 21 and a flap 22 for closing the seal of the main body 21. Further, the envelope 20 has a crease between the main body 21 and the flap 22 so that the flap 22 can be bent. The flap 22 closes the seal of the main body 21 by being bent along the crease.

封筒20には、様々なサイズが想定される。そのため、本実施形態の検知部18は、様々な幅の封筒20に対応するために、たとえば図3の(a)に示すように、封筒20の幅方向(Y方向)の中心付近の位置を検知するように設けられる。ただし、封筒20の裏面の幅方向の中心付近には、封筒20の貼り合わせ部(図示なし)が存在する場合もある。したがって、検知部18は、当該貼り合わせ部の段差における反射光量を検知して検知結果を不安定にしないように、適切な位置に設けられることが望ましい。 Envelopes 20 are expected to come in a variety of sizes. Therefore, the detection unit 18 of the present embodiment determines the position near the center of the envelope 20 in the width direction (Y direction), for example, as shown in FIG. 3A, in order to correspond to the envelopes 20 having various widths. It is provided to detect. However, there may be a bonded portion (not shown) of the envelope 20 near the center of the back surface of the envelope 20 in the width direction. Therefore, it is desirable that the detection unit 18 is provided at an appropriate position so as not to detect the amount of reflected light at the step of the bonded portion and make the detection result unstable.

また、図3の(b)に示すように、フラップ22が、封筒20を構成する紙1枚分の厚さを有する一方で、本体部21は、少なくとも紙2枚分の厚さを有する。したがって、本体部21およびフラップ22の厚さは異なる。 Further, as shown in FIG. 3B, the flap 22 has the thickness of one sheet of paper constituting the envelope 20, while the main body 21 has a thickness of at least two sheets of paper. Therefore, the thicknesses of the main body 21 and the flap 22 are different.

さらに、図3の(b)に示すように、検知部18は、本体部21上に焦点を合わせるように予め調整され、本体部21に光を照射した場合に、最大の反射光量(以下「最大反射光量」と呼ぶ)を検知するように構成される。なお、以下では、フラップ22が、封筒20の搬送方向(X方向)の前端または後端にある状態で、封筒20が搬送される状況を前提とする。 Further, as shown in FIG. 3B, the detection unit 18 is preliminarily adjusted so as to focus on the main body portion 21, and when the main body portion 21 is irradiated with light, the maximum amount of reflected light (hereinafter, “” It is configured to detect (called "maximum reflected light amount"). In the following, it is assumed that the envelope 20 is transported with the flap 22 at the front end or the rear end of the envelope 20 in the transport direction (X direction).

図3に示す封筒20は、図4に示すように、封筒20の表裏状態と、フラップ22の折り曲げの有無との組み合わせにより、(a)〜(d)のいずれかに示す状態で搬送されうる。(a)および(b)は、封筒20が検知部18に表面を向けている状態を示し、(c)および(d)は、封筒20が検知部18に裏面を向けている状態を示す。また、(a)および(c)は、フラップ22を開いた状態で、かつ、フラップ22を折り筋に沿って折り曲げていない場合を示す。(b)および(d)は、フラップ22を開いた状態で、かつ、フラップ22を折り筋に沿って折り曲げている状態を示す。 As shown in FIG. 4, the envelope 20 shown in FIG. 3 can be transported in the state shown in any of (a) to (d) depending on the combination of the front and back states of the envelope 20 and the presence or absence of bending of the flap 22. .. (A) and (b) indicate a state in which the envelope 20 faces the detection unit 18, and (c) and (d) indicate a state in which the envelope 20 faces the back surface toward the detection unit 18. Further, (a) and (c) show a case where the flap 22 is open and the flap 22 is not bent along the crease. (B) and (d) show a state in which the flap 22 is opened and the flap 22 is bent along the crease.

以下では、(a)〜(d)のそれぞれの場合における、封筒20上の検知部18の検知位置(すなわち、封筒20上に光を照射する位置)と、検知される反射光量との関係を説明する。なお、以下では、検知部18と本体部21との間の距離を「第1距離」と呼び、検知部18とフラップ22との間の距離を「第2距離」と呼ぶ。本体部21上では、第1距離は一定である。また、上述したように、検知部18は、本体部21上に焦点を合わせるように予め調整されているため、検知部18の焦点距離は、第1距離と等しくなる。 In the following, the relationship between the detection position of the detection unit 18 on the envelope 20 (that is, the position of irradiating the light on the envelope 20) and the detected reflected light amount in each of the cases (a) to (d) will be described. explain. In the following, the distance between the detection unit 18 and the main body 21 is referred to as a “first distance”, and the distance between the detection unit 18 and the flap 22 is referred to as a “second distance”. On the main body 21, the first distance is constant. Further, as described above, since the detection unit 18 is adjusted in advance so as to focus on the main body portion 21, the focal length of the detection unit 18 is equal to the first distance.

(a)の場合、第1距離と同様に、第2距離も一定であり、第1距離と第2距離とは等しい。したがって、反射光量は、封筒20上の検知位置によらず最大反射光量になる。 In the case of (a), the second distance is constant as well as the first distance, and the first distance and the second distance are equal. Therefore, the reflected light amount is the maximum reflected light amount regardless of the detection position on the envelope 20.

(b)の場合、第2距離は、検知部18が折り筋から遠ざかるにつれて(図4における右方向に向かうにつれて)増加する。第2距離が増加すると、焦点距離からのずれも増加するため、反射光量は減少する。したがって、反射光量は、本体部21上では、検知位置によらず最大反射光量になり、フラップ22上では、検知位置が折り筋から遠ざかるにつれて減少する。この場合、図4の(b)に示すように、反射光量の変化として、フラップ22の折れ曲がりに対応する傾斜が表れる。 In the case of (b), the second distance increases as the detection unit 18 moves away from the fold line (toward the right in FIG. 4). As the second distance increases, the deviation from the focal length also increases, so that the amount of reflected light decreases. Therefore, the amount of reflected light reaches the maximum amount of reflected light on the main body 21 regardless of the detection position, and decreases as the detection position moves away from the fold line on the flap 22. In this case, as shown in FIG. 4B, the inclination corresponding to the bending of the flap 22 appears as the change in the amount of reflected light.

(c)の場合、上述したように、フラップ22が本体部21よりも通常薄いため、第2距離は、焦点距離である第1距離よりも一定量増加する。したがって、反射光量は、本体部21上では、検知位置によらず最大反射光量になり、フラップ22上では、検知位置によらず、最大反射光量よりも一定量減少した反射光量になる。この場合、図4の(c)に示すように、反射光量の変化として、本体部21とフラップ22との厚さの違いに対応する段差が表れる。 In the case of (c), as described above, since the flap 22 is usually thinner than the main body 21, the second distance increases by a certain amount from the first distance, which is the focal length. Therefore, the amount of reflected light is the maximum amount of reflected light on the main body 21 regardless of the detection position, and the amount of reflected light on the flap 22 is a certain amount less than the maximum amount of reflected light regardless of the detection position. In this case, as shown in FIG. 4C, a step corresponding to the difference in thickness between the main body 21 and the flap 22 appears as a change in the amount of reflected light.

(d)の場合、反射光量は、上記(b)および(c)を組み合わせたように、複雑に変化する。まず、第2距離は、(c)と同様に、本体部21とフラップ22との厚さの違いにより、焦点距離である第1距離よりも一定量増加するため、反射光量は一旦減少する。しかし、第2距離は、検知部18が折り筋から遠ざかるにつれて減少し、図4に示す位置p1では、焦点距離である第1距離と等しくなる。そのため、検知部18が折り筋からp1までにある間、反射光量は増加し、検知部18がp1からp2に向かうにつれて、反射光量は減少する。したがって、反射光量は、本体部21上では、検知位置によらず最大反射光量になり、フラップ22上では、検知位置が折り筋から遠ざかるにつれて複雑に変化し、最終的には減少する。この場合、図4の(d)に示すように、反射光量の変化として、本体部21とフラップ22との厚さの違いに対応する段差と、フラップ22の折れ曲がりに対応する傾斜との両方が表れる。なお、図4の(d)に示す例では、p1における反射光量が、最大反射光量まで戻っているが、フラップ22の折れ曲がりの傾斜により反射光が影響を受けて、実際には最大反射光量までは戻らない場合もある。 In the case of (d), the amount of reflected light changes in a complicated manner as if the above (b) and (c) were combined. First, as in (c), the second distance increases by a certain amount from the first distance, which is the focal length, due to the difference in thickness between the main body 21 and the flap 22, so that the amount of reflected light decreases once. However, the second distance decreases as the detection unit 18 moves away from the fold line, and at the position p1 shown in FIG. 4, it becomes equal to the first distance, which is the focal length. Therefore, the amount of reflected light increases while the detection unit 18 is from the fold line to p1, and the amount of reflected light decreases as the detection unit 18 moves from p1 to p2. Therefore, the amount of reflected light reaches the maximum amount of reflected light on the main body 21 regardless of the detection position, and on the flap 22, the amount of reflected light changes in a complicated manner as the detection position moves away from the fold line, and finally decreases. In this case, as shown in FIG. 4D, as the change in the amount of reflected light, both the step corresponding to the difference in thickness between the main body 21 and the flap 22 and the inclination corresponding to the bending of the flap 22 are both present. appear. In the example shown in FIG. 4D, the amount of reflected light at p1 has returned to the maximum amount of reflected light, but the reflected light is affected by the inclination of the flap 22 and actually reaches the maximum amount of reflected light. May not return.

本実施形態では、画像形成装置10は、検知部18が検知した封筒20からの反射光量が、上記(a)〜(d)のいずれの特徴を有するかに基づいて、封筒20の表裏を判定する。たとえば、画像形成装置10は、図4の(a)および(b)に示すように、プロファイルに段差が表れない場合、封筒20が検知部18に表面を向けていると判定する。一方で、制御部11は、図4の(c)および(d)に示すように、プロファイルに段差が表れる場合、封筒20が検知部18に裏面を向けていると判定する。画像形成装置10は、たとえば、封筒20の搬送方向に沿って隣接する検知位置における反射光量の差が、所定の量以上である場合に、段差があると判定してもよい。 In the present embodiment, the image forming apparatus 10 determines the front and back sides of the envelope 20 based on which of the above features (a) to (d) the reflected light amount from the envelope 20 detected by the detection unit 18 has. To do. For example, as shown in FIGS. 4A and 4B, the image forming apparatus 10 determines that the envelope 20 faces the detection unit 18 when a step does not appear in the profile. On the other hand, the control unit 11 determines that the envelope 20 faces the detection unit 18 when a step appears in the profile, as shown in FIGS. 4 (c) and 4 (d). The image forming apparatus 10 may determine that there is a step when, for example, the difference in the amount of reflected light at the detection positions adjacent to each other along the transport direction of the envelope 20 is equal to or greater than a predetermined amount.

(本実施形態に係る制御方法)
続いて、上述したような封筒20の表裏の判定の処理を実行する、画像形成装置10の制御方法について説明する。
(Control method according to this embodiment)
Subsequently, a control method of the image forming apparatus 10 for executing the process of determining the front and back of the envelope 20 as described above will be described.

図5は、画像形成装置の処理の手順を示すフローチャートである。 FIG. 5 is a flowchart showing a processing procedure of the image forming apparatus.

図5のフローチャートに示されるアルゴリズムは、記憶部12にプログラムとして記憶されており、制御部11によって実行される。 The algorithm shown in the flowchart of FIG. 5 is stored as a program in the storage unit 12, and is executed by the control unit 11.

図5に示すように、まず、印刷ジョブの印刷設定に対応する封筒20が、検知部18の位置を搬送されるときに、検知部18により、封筒20の搬送方向に沿って、一定の間隔で、封筒20の前端から後端にわたる反射光量を検知する(ステップS101)。 As shown in FIG. 5, when the envelope 20 corresponding to the print setting of the print job is conveyed at the position of the detection unit 18, the detection unit 18 first conveys the envelope 20 at regular intervals along the transfer direction of the envelope 20. Then, the amount of reflected light from the front end to the rear end of the envelope 20 is detected (step S101).

続いて、制御部11は、ステップS101で検知した反射光量の情報を取得し、検知部18の検知位置と、各検知位置において検知した反射光量とに基づいて、プロファイルを取得する(ステップS102)。すなわち、制御部11は、封筒20の前端から後端にわたる反射光量のプロファイルを取得する。制御部11は、ステップS101で検知した反射光量の情報を記憶部12に記憶させ、封筒20の検知が終了した後に、反射光量のプロファイルを作成してもよい。あるいは、制御部11は、反射光量の情報を取得しながら、プロファイルを作成してもよい。 Subsequently, the control unit 11 acquires information on the amount of reflected light detected in step S101, and acquires a profile based on the detection position of the detection unit 18 and the amount of reflected light detected at each detection position (step S102). .. That is, the control unit 11 acquires a profile of the amount of reflected light from the front end to the rear end of the envelope 20. The control unit 11 may store the information of the reflected light amount detected in step S101 in the storage unit 12, and may create a profile of the reflected light amount after the detection of the envelope 20 is completed. Alternatively, the control unit 11 may create a profile while acquiring information on the amount of reflected light.

続いて、制御部11は、ステップS102で取得したプロファイルを参照し、反射光量の変化による段差があるか否かを判定する(ステップS103)。すなわち、制御部11は、上述したような、本体部21とフラップ22との厚さの違いによって生じる反射光量の変化が、段差としてプロファイルに表れているか否かを判定する。 Subsequently, the control unit 11 refers to the profile acquired in step S102 and determines whether or not there is a step due to a change in the amount of reflected light (step S103). That is, the control unit 11 determines whether or not the change in the amount of reflected light caused by the difference in thickness between the main body unit 21 and the flap 22 as described above appears in the profile as a step.

プロファイルに段差がない場合(ステップS103:NO)、制御部11は、封筒20が検知部18に表面を向けていると判定する(ステップS104)。
プロファイルに段差がある場合(ステップS103:YES)、制御部11は、封筒20が検知部18に裏面を向けていると判定する(ステップS105)。
When there is no step in the profile (step S103: NO), the control unit 11 determines that the envelope 20 faces the detection unit 18 (step S104).
When there is a step in the profile (step S103: YES), the control unit 11 determines that the envelope 20 faces the detection unit 18 (step S105).

続いて、制御部11は、封筒20の表裏の判定結果と、印刷ジョブの印刷設定における画像の形成面とが一致するか否かを判定する(ステップS106)。 Subsequently, the control unit 11 determines whether or not the determination result of the front and back sides of the envelope 20 and the image formation surface in the print setting of the print job match (step S106).

一致する場合(ステップS106:YES)、制御部11は、処理を終了する。この場合、制御部11は、封筒20の表裏のセット間違いがないと判定したことになる。 If they match (step S106: YES), the control unit 11 ends the process. In this case, the control unit 11 determines that there is no mistake in setting the front and back sides of the envelope 20.

一致しない場合(ステップS106:NO)、制御部11は、搬送部16に封筒20の搬送を停止させて、ユーザーに警告する(ステップS107)。制御部11は、操作パネル14に警告を表示させたり、通信部13を介してユーザーのPC等に警告を送信したりして、ユーザーに警告する。そして、制御部11は、処理を終了する。この場合、制御部11は、封筒20の表裏のセット間違いがあると判定したことになる。 If they do not match (step S106: NO), the control unit 11 causes the transport unit 16 to stop the transport of the envelope 20 to warn the user (step S107). The control unit 11 warns the user by displaying a warning on the operation panel 14 or transmitting a warning to the user's PC or the like via the communication unit 13. Then, the control unit 11 ends the process. In this case, the control unit 11 has determined that the front and back sides of the envelope 20 are set incorrectly.

以上のように、画像形成装置10によれば、封筒20の搬送方向に沿って、封筒20からの反射光量を検知し、検知位置と反射光量との対応を示すプロファイルに基づいて、封筒20の表裏を判定する。画像形成装置10は、プロファイルに基づいて判定することにより、フラップ22の折れ曲がり状態に関わらず、封筒20の表裏のセット間違いを防止できる。 As described above, according to the image forming apparatus 10, the amount of reflected light from the envelope 20 is detected along the transport direction of the envelope 20, and the envelope 20 is based on a profile showing the correspondence between the detected position and the amount of reflected light. Judge the front and back. By making a determination based on the profile, the image forming apparatus 10 can prevent an error in setting the front and back of the envelope 20 regardless of the bent state of the flap 22.

また、画像形成装置10は、封筒20の搬送方向に沿って、封筒20の前端から後端にわたる反射光量を検知する。そして、画像形成装置10は、封筒20の前端から後端にわたるプロファイルに基づいて、封筒20の表裏を判定する。したがって、画像形成装置10は、封筒20の全体について判定するため、フラップ22が封筒20の搬送方向の前端および後端のいずれにある場合でも、封筒20の表裏を判定できる。 Further, the image forming apparatus 10 detects the amount of reflected light from the front end to the rear end of the envelope 20 along the transport direction of the envelope 20. Then, the image forming apparatus 10 determines the front and back sides of the envelope 20 based on the profile extending from the front end to the rear end of the envelope 20. Therefore, since the image forming apparatus 10 determines the entire envelope 20, the front and back sides of the envelope 20 can be determined regardless of whether the flap 22 is at the front end or the rear end of the envelope 20 in the transport direction.

また、画像形成装置10は、プロファイルを参照し、反射光量の変化に段差があるか否かに基づいて、封筒20の表裏を判定する。封筒20が検知部18に裏面を向けている場合、フラップ22の折れ曲がり状態によらず、反射光量の変化には段差が表れるため、画像形成装置10は、この部分の特徴を捉えて封筒20の表裏を判定できる。 Further, the image forming apparatus 10 refers to the profile and determines the front and back sides of the envelope 20 based on whether or not there is a step in the change in the amount of reflected light. When the envelope 20 faces the detection unit 18 with the back surface facing, a step appears in the change in the amount of reflected light regardless of the bent state of the flap 22, so that the image forming apparatus 10 captures the characteristics of this portion and the envelope 20 You can judge the front and back.

また、検知部18は、搬送路161上に設けられる。画像形成装置10は、封筒20が検知部18の位置を搬送されるときに反射光量を検知すればよいため、検知部18を移動させる必要がない。また、画像形成装置10は、検知部18に相当するセンサーを既に有している場合には、当該センサーを検知部18としても使用できる場合がある。したがって、画像形成装置10は、複雑な構成を準備することなく、本実施形態を実現できる。 Further, the detection unit 18 is provided on the transport path 161. Since the image forming apparatus 10 only needs to detect the amount of reflected light when the envelope 20 conveys the position of the detection unit 18, it is not necessary to move the detection unit 18. Further, when the image forming apparatus 10 already has a sensor corresponding to the detection unit 18, the sensor may also be used as the detection unit 18. Therefore, the image forming apparatus 10 can realize the present embodiment without preparing a complicated configuration.

なお、上記実施形態では、画像形成装置10の処理の手順の一例を説明した。しかし、本実施形態はこれに限定されない。以下のような、種々の変更や改良等が可能である。 In the above embodiment, an example of the processing procedure of the image forming apparatus 10 has been described. However, this embodiment is not limited to this. Various changes and improvements are possible as follows.

画像形成装置10は、封筒20の搬送方向に沿って、封筒20の前端から後端にわたる反射光量を検知する。しかし、本実施形態はこれに限定されない。画像形成装置10は、反射光量を検知しつつプロファイルを作成してもよいため、封筒20の前端から反射光量の検知を開始し、プロファイルの段差を確認した時点で、ステップS101およびステップS102の処理を終了してもよい。これにより、画像形成装置10は、プロファイルの段差を検知しつつ、処理負荷を適切に軽減できる。 The image forming apparatus 10 detects the amount of reflected light from the front end to the rear end of the envelope 20 along the transport direction of the envelope 20. However, this embodiment is not limited to this. Since the image forming apparatus 10 may create a profile while detecting the amount of reflected light, the processing of steps S101 and S102 starts when the detection of the amount of reflected light is started from the front end of the envelope 20 and the step of the profile is confirmed. May be terminated. As a result, the image forming apparatus 10 can appropriately reduce the processing load while detecting the step difference in the profile.

また、画像形成装置10は、封筒20の表裏のセット間違いがあると判定した場合、ユーザーに警告する。しかし、本実施形態はこれに限定されない。画像形成装置10は、封筒20の表裏のセット間違いがあると判定した場合、画像データのページ設定等を変更して表裏のデータを入れ替えることにより、画像の形成面を変更してもよい。これにより、画像形成装置10は、ユーザーに封筒20を再セットさせることなく、正しい印刷面に印刷した封筒20を出力できるため、ユーザーの利便性を向上できる。 Further, when the image forming apparatus 10 determines that the front and back surfaces of the envelope 20 are set incorrectly, the image forming apparatus 10 warns the user. However, this embodiment is not limited to this. When the image forming apparatus 10 determines that the front and back surfaces of the envelope 20 are set incorrectly, the image forming surface may be changed by changing the page setting of the image data or the like and exchanging the front and back data. As a result, the image forming apparatus 10 can output the envelope 20 printed on the correct printing surface without having the user reset the envelope 20, so that the convenience of the user can be improved.

また、画像形成装置10は、封筒20の表裏のセット間違いがあると判定した場合、ユーザーに警告するとともに、画像を形成しないで、封筒20をパージトレイ(図示なし)等に排紙してもよい。これにより、ユーザーは、封筒20を再利用できる。 Further, when the image forming apparatus 10 determines that the front and back sides of the envelope 20 are set incorrectly, the image forming apparatus 10 may warn the user and eject the envelope 20 to a purge tray (not shown) or the like without forming an image. .. This allows the user to reuse the envelope 20.

また、画像形成装置10の検知部18は、本体部21上に焦点を合わせるように予め調整される。しかし、本実施形態はこれに限定されない。検知部18は、たとえば、図4の(c)の状態における、フラップ22上に焦点を合わせてもよい。すると、(c)の場合、反射光量は、フラップ22上で最大反射光量になり、本体部21上で、最大反射光量よりも一定量減少した反射光量になるが、反射光量の変化による段差が表れる点は共通する。このように、画像形成装置10は、本体部21上に焦点を合わせない場合でも、封筒20の表裏を判定できる。 Further, the detection unit 18 of the image forming apparatus 10 is adjusted in advance so as to focus on the main body 21. However, this embodiment is not limited to this. The detection unit 18 may focus on the flap 22 in the state (c) of FIG. 4, for example. Then, in the case of (c), the reflected light amount becomes the maximum reflected light amount on the flap 22, and the reflected light amount becomes a certain amount less than the maximum reflected light amount on the main body 21, but there is a step due to the change in the reflected light amount. The points that appear are common. In this way, the image forming apparatus 10 can determine the front and back sides of the envelope 20 even when the main body 21 is not focused.

また、画像形成装置10は、フラップ22を閉じた状態の封筒20に対しても、本実施形態の表裏の判定を適用してもよい。封筒20がフラップ22を閉じた状態で、検知部18に表面を向けている場合、プロファイルには変化が表れない。一方で、封筒20がフラップ22を閉じた状態で、検知部18に裏面を向けている場合、フラップ22が本体部21に重なるため、プロファイルに段差が表れる。この結果は、フラップ22を開いた状態で、かつ、フラップ22を折り筋に沿って折り曲げていない場合のプロファイルと同様の結果になる。したがって、画像形成装置10は、フラップ22を閉じた状態の封筒20の表裏についても判定できる。 Further, the image forming apparatus 10 may apply the determination of the front and back sides of the present embodiment to the envelope 20 in the state where the flap 22 is closed. When the envelope 20 faces the detection unit 18 with the flap 22 closed, no change appears in the profile. On the other hand, when the envelope 20 faces the detection unit 18 with the flap 22 closed, the flap 22 overlaps the main body 21, so that a step appears in the profile. This result is similar to the profile when the flap 22 is open and the flap 22 is not bent along the creases. Therefore, the image forming apparatus 10 can also determine the front and back sides of the envelope 20 with the flap 22 closed.

また、封筒20の形状により、封筒20の裏面の下部(底部)付近に、封筒20の幅方向に沿って形成された貼り合わせ部が存在する場合がある。検知部18は、貼り合わせ部を横切って反射光量を検知しうるため、制御部11が、反射光量のプロファイルに基づいて、貼り合わせ部を段差として判定する可能性がある。しかし、当該貼り合わせ部は、通常、封筒20の裏面にしか存在せず、封筒の裏面の上部付近には、本体部21とフラップ22との厚さの違いに対応する段差も存在する。したがって、画像形成装置10が、貼り合わせ部を段差として判定した場合でも、封筒20の表裏の判定結果には影響しない。これにより、画像形成装置10は、貼り合わせ部の有無に関わらず、封筒20の表裏を正しく判定できる。 Further, depending on the shape of the envelope 20, there may be a bonded portion formed along the width direction of the envelope 20 near the lower portion (bottom portion) of the back surface of the envelope 20. Since the detection unit 18 can detect the amount of reflected light across the bonded portion, the control unit 11 may determine the bonded portion as a step based on the profile of the reflected light amount. However, the bonded portion usually exists only on the back surface of the envelope 20, and there is also a step corresponding to the difference in thickness between the main body portion 21 and the flap 22 near the upper portion of the back surface of the envelope. Therefore, even if the image forming apparatus 10 determines that the bonded portion is a step, it does not affect the determination result of the front and back surfaces of the envelope 20. As a result, the image forming apparatus 10 can correctly determine the front and back sides of the envelope 20 regardless of the presence or absence of the bonded portion.

また、図1には示していないが、画像形成装置10は、手差しトレイを有する場合には、手差しトレイから給紙される封筒20の表裏についても判定してもよい。 Further, although not shown in FIG. 1, when the image forming apparatus 10 has a manual feed tray, the image forming apparatus 10 may also determine the front and back sides of the envelope 20 to be fed from the manual feed tray.

(変形例1)
以下、図面を参照して、本実施形態の変形例を説明する。
(Modification example 1)
Hereinafter, a modified example of the present embodiment will be described with reference to the drawings.

上記実施形態では、検知部は、搬送路161上に設けられると説明した。変形例1では、検知部は、収容部251内に設けられる。 In the above embodiment, it has been explained that the detection unit is provided on the transport path 161. In the first modification, the detection unit is provided in the accommodating unit 251.

図6は、変形例1の収容部の概略構成を示す図である。 FIG. 6 is a diagram showing a schematic configuration of the accommodating portion of the modified example 1.

図6に示すように、変形例1の検知部28は、収容部251内に設けられる。画像形成装置10が複数の収容部251を有する場合には、検知部28は、各収容部251内に一つずつ設けられる。検知部28は、検知部18と同様の構成を有し、積層された最上部に位置する封筒20について、反射光量を検知する。また、画像形成装置10は、検知部28を収容部251内で移動させる移動手段252をさらに有する。 As shown in FIG. 6, the detection unit 28 of the modified example 1 is provided in the accommodating unit 251. When the image forming apparatus 10 has a plurality of accommodating units 251, one detection unit 28 is provided in each accommodating unit 251. The detection unit 28 has the same configuration as the detection unit 18, and detects the amount of reflected light from the envelopes 20 located at the top of the stacked envelopes. Further, the image forming apparatus 10 further includes a moving means 252 for moving the detecting unit 28 within the accommodating unit 251.

封筒20は、図4の(a)〜(d)のいずれかに示す上記実施形態と同様の状態で、収容部251に収容されうる。画像形成装置10は、検知部28が収容部251内に設けられた場合でも、図5と同様の処理を実行する。しかし、変形例1では、上記実施形態のように、封筒20が搬送されることにより、検知部28が封筒20に対して相対的に移動することがない。そこで、検知部28は、図5のステップS101の処理を実行する場合には、封筒20の搬送方向に沿って、移動手段252により封筒20上を移動しながら、反射光量を検知する必要がある。この場合、制御部11は、移動手段252を制御する移動手段制御部として機能してもよい。 The envelope 20 can be stored in the storage unit 251 in the same state as the above-described embodiment shown in any one of FIGS. 4A to 4D. The image forming apparatus 10 executes the same processing as in FIG. 5 even when the detecting unit 28 is provided in the accommodating unit 251. However, in the first modification, as in the above embodiment, the detection unit 28 does not move relative to the envelope 20 due to the transportation of the envelope 20. Therefore, when executing the process of step S101 of FIG. 5, the detection unit 28 needs to detect the amount of reflected light while moving on the envelope 20 by the moving means 252 along the transport direction of the envelope 20. .. In this case, the control unit 11 may function as a movement means control unit that controls the movement means 252.

なお、上記実施形態と同様に、画像形成装置10は、反射光量の検知と同時にプロファイルを作成してもよい。この場合、画像形成装置10は、封筒20の一端から反射光量の検知を開始し、当該一端付近にプロファイルの段差を確認した時点で、反射光量の検知およびプロファイルの取得を終了できる。 As in the above embodiment, the image forming apparatus 10 may create a profile at the same time as detecting the amount of reflected light. In this case, the image forming apparatus 10 can start detecting the reflected light amount from one end of the envelope 20, and when the step of the profile is confirmed in the vicinity of the one end, the detection of the reflected light amount and the acquisition of the profile can be completed.

また、検知部28は、封筒20の搬送方向に沿って、封筒20の前端から後端までを覆うように並ぶ、複数のセンサーから構成されてもよい。この場合、検知部28は、封筒20の前端から後端にわたる反射光量を一度に検知できる。したがって、画像形成装置10は、移動手段252を有しない場合でも、反射光量を検知できる。 Further, the detection unit 28 may be composed of a plurality of sensors arranged so as to cover the envelope 20 from the front end to the rear end along the transport direction of the envelope 20. In this case, the detection unit 28 can detect the amount of reflected light from the front end to the rear end of the envelope 20 at once. Therefore, the image forming apparatus 10 can detect the amount of reflected light even when the moving means 252 is not provided.

(変形例2)
上記実施形態では、画像形成装置10が、反射光量のプロファイルを参照して、封筒20の表裏を判定することについて説明した。変形例2では、画像形成装置10は、反射光量のプロファイルに他の手段を組み合わせて、封筒20の表裏を判定する。
(Modification 2)
In the above embodiment, it has been described that the image forming apparatus 10 determines the front and back sides of the envelope 20 with reference to the profile of the reflected light amount. In the second modification, the image forming apparatus 10 combines the profile of the reflected light amount with other means to determine the front and back sides of the envelope 20.

画像形成装置10が、反射光量のプロファイルのみを参照する場合、反射光量のプロファイルは、高精度であることが望まれる。たとえば、図4の(d)は、折り筋からp1までの間の反射光量の小さな変化により、(b)と区別される。しかし、画像形成装置10は、精度の問題により、このような反射光量の小さな変化を検知できない、あるいは、小さな変化をプロファイル化できない場合には、(b)と(d)とを区別できなくなってしまう。そこで、変形例2の画像形成装置10は、検知またはプロファイルの精度が低い場合でも、封筒20の表裏を判定できるように構成される。変形例2は、変形例1と同様に、検知部28が収容部251内に設けられた場合に適用される。 When the image forming apparatus 10 refers only to the profile of the reflected light amount, it is desired that the profile of the reflected light amount has high accuracy. For example, (d) in FIG. 4 is distinguished from (b) by a small change in the amount of reflected light between the fold line and p1. However, the image forming apparatus 10 cannot distinguish between (b) and (d) when such a small change in the reflected light amount cannot be detected or the small change cannot be profiled due to the problem of accuracy. It ends up. Therefore, the image forming apparatus 10 of the modification 2 is configured so that the front and back sides of the envelope 20 can be determined even when the accuracy of detection or profile is low. The modified example 2 is applied when the detection unit 28 is provided in the accommodating unit 251 as in the modified example 1.

図7は、変形例2の画像形成装置の処理の手順を示すフローチャートである。 FIG. 7 is a flowchart showing a processing procedure of the image forming apparatus of the second modification.

図7のフローチャートに示されるアルゴリズムは、記憶部12にプログラムとして記憶されており、制御部11によって実行される。なお、図7のステップS101、S102およびS104〜S107は、図5の同ステップ番号と同様の処理であるため、説明を省略する。 The algorithm shown in the flowchart of FIG. 7 is stored as a program in the storage unit 12, and is executed by the control unit 11. Since steps S101, S102 and S104 to S107 in FIG. 7 are the same processes as those in the same step number in FIG. 5, description thereof will be omitted.

制御部11は、ステップS102で取得したプロファイルを参照し、反射光量の変化があるか否かを判定する(ステップS201)。制御部11は、上記実施形態では、プロファイルに段差があるか否かを高精度に判定するが、変形例2では、より簡易に、プロファイルに何らかの変化があるか否かのみを判定する。 The control unit 11 refers to the profile acquired in step S102 and determines whether or not there is a change in the amount of reflected light (step S201). In the above embodiment, the control unit 11 determines with high accuracy whether or not there is a step in the profile, but in the modified example 2, it simply determines whether or not there is any change in the profile.

プロファイルに変化がない場合(ステップS201:NO)、制御部11は、ステップS104の処理に進む。この場合、制御部11は、封筒20が、図4の(a)に示す状態で収容部251に収容されており、検知部28に表面を向けていると判定する。 If there is no change in the profile (step S201: NO), the control unit 11 proceeds to the process of step S104. In this case, the control unit 11 determines that the envelope 20 is housed in the storage unit 251 in the state shown in FIG. 4A and faces the detection unit 28.

プロファイルに変化がある場合(ステップS201:YES)、制御部11は、プロファイルに、反射光量の変化による傾斜があるか否かを判定する(ステップS202)。 When there is a change in the profile (step S201: YES), the control unit 11 determines whether or not the profile has an inclination due to the change in the amount of reflected light (step S202).

プロファイルに傾斜がない場合(ステップS202:NO)、制御部11は、ステップS105の処理に進む。この場合、制御部11は、封筒20が、図4の(c)に示す状態で収容部251に収容されており、検知部28に裏面を向けていると判定する。 If there is no inclination in the profile (step S202: NO), the control unit 11 proceeds to the process of step S105. In this case, the control unit 11 determines that the envelope 20 is housed in the storage unit 251 in the state shown in FIG. 4C, and the back surface of the envelope 20 is facing the detection unit 28.

プロファイルに傾斜がある場合(ステップS202:YES)、制御部11は、ステップS203の処理に進む。この場合、制御部11は、封筒20が、図4の(b)および(d)のいずれかに示す状態で収容部251に収容されていると判定するが、この時点では、封筒20の表裏を判定できない。 If the profile is tilted (step S202: YES), the control unit 11 proceeds to the process of step S203. In this case, the control unit 11 determines that the envelope 20 is housed in the storage unit 251 in the state shown in any of (b) and (d) of FIG. 4, but at this point, the front and back sides of the envelope 20. Cannot be determined.

続いて、制御部11は、変形例1で説明した移動手段252により、検知部28をプロファイルの傾斜部分に対応する位置(すなわち、フラップ22上)に移動させる(ステップS203)。制御部11は、検知部28を、封筒20の折り筋からできるだけ遠い位置に移動させることが望ましい。 Subsequently, the control unit 11 moves the detection unit 28 to a position corresponding to the inclined portion of the profile (that is, on the flap 22) by the moving means 252 described in the modification 1 (step S203). It is desirable that the control unit 11 moves the detection unit 28 to a position as far as possible from the fold line of the envelope 20.

続いて、制御部11は、ステップS203で移動させた位置において、移動手段252により検知部28を上昇させる(ステップS204)。そして、制御部11は、検知部28が検知する反射光量が増加するか否かを判定する(ステップS205)。すなわち、制御部11は、検知部28とフラップ22との間の距離である第2距離を増加させ、反射光量の変化を確認する。 Subsequently, the control unit 11 raises the detection unit 28 by the moving means 252 at the position moved in step S203 (step S204). Then, the control unit 11 determines whether or not the amount of reflected light detected by the detection unit 28 increases (step S205). That is, the control unit 11 increases the second distance, which is the distance between the detection unit 28 and the flap 22, and confirms the change in the amount of reflected light.

反射光量が増加しない場合(ステップS205:NO)、制御部11は、ステップS104の処理に進む。この場合、制御部11は、封筒20が、図4の(b)に示す状態で収容部251に収容されており、検知部28に表面を向けていると判定する。 If the amount of reflected light does not increase (step S205: NO), the control unit 11 proceeds to the process of step S104. In this case, the control unit 11 determines that the envelope 20 is housed in the storage unit 251 in the state shown in FIG. 4B, and the surface of the envelope 20 is facing the detection unit 28.

反射光量が増加する場合(ステップS205:YES)、制御部11は、ステップS105の処理に進む。この場合、制御部11は、封筒20が、図4の(d)に示す状態で収容部251に収容されており、検知部28に裏面を向けていると判定する。 When the amount of reflected light increases (step S205: YES), the control unit 11 proceeds to the process of step S105. In this case, the control unit 11 determines that the envelope 20 is housed in the storage unit 251 in the state shown in FIG. 4D, and the back surface of the envelope 20 is facing the detection unit 28.

図4に示すように、(b)および(d)は、第2距離の変化の様子において異なる。(b)の場合、第2距離は、検知部28が折り筋から遠ざかるにつれて増加する。したがって、ステップS204で検知部28を上昇させると、第2距離がさらに増加し、焦点距離からのずれもさらに増加するため、反射光量が減少する。 As shown in FIG. 4, (b) and (d) are different in the appearance of the change of the second distance. In the case of (b), the second distance increases as the detection unit 28 moves away from the fold line. Therefore, when the detection unit 28 is raised in step S204, the second distance is further increased and the deviation from the focal length is further increased, so that the amount of reflected light is reduced.

一方で、(d)の場合、第2距離は、検知部28がp1から遠ざかるにつれて減少する。したがって、ステップS204で、p1とp2との間の位置において検知部28を上昇させると、減少した第2距離が増加し、焦点距離からのずれが減少するため、反射光量が増加する。変形例2では、このように、第2距離を増加させた場合の反射光量の変化に基づいて、(b)および(d)が明確に区別される。 On the other hand, in the case of (d), the second distance decreases as the detection unit 28 moves away from p1. Therefore, when the detection unit 28 is raised at the position between p1 and p2 in step S204, the reduced second distance increases and the deviation from the focal length decreases, so that the amount of reflected light increases. In the second modification, (b) and (d) are clearly distinguished based on the change in the amount of reflected light when the second distance is increased in this way.

以上のように、画像形成装置10は、検知またはプロファイルの精度が低い場合でも、第2距離を増加させて反射光量の変化を確認することにより、封筒20の表裏を判定できる。 As described above, the image forming apparatus 10 can determine the front and back sides of the envelope 20 by increasing the second distance and confirming the change in the amount of reflected light even when the accuracy of the detection or the profile is low.

なお、変形例2では、画像形成装置10は、検知部28を上昇させることにより、反射光量の変化を確認すると説明したが、検知部28を下降させることにより、反射光量の変化を確認してもよい。画像形成装置10は、検知部28を下降させることにより、反射光量が増加する場合、封筒20が検知部28に表面を向けており、反射光量が増加しない場合、封筒20が検知部28に裏面を向けていると判定できる。 In the second modification, the image forming apparatus 10 explained that the change in the reflected light amount was confirmed by raising the detection unit 28, but the change in the reflected light amount was confirmed by lowering the detection unit 28. May be good. In the image forming apparatus 10, when the amount of reflected light increases by lowering the detection unit 28, the envelope 20 faces the detection unit 28, and when the amount of reflected light does not increase, the envelope 20 faces the detection unit 28 on the back surface. Can be determined to be pointing.

また、変形例2では、画像形成装置10は、収容部251内での封筒20の位置を昇降させる昇降板を上昇または下降させることにより、反射光量の変化を確認してもよい。たとえば、昇降板を下降させると、検知部28を封筒20に対して相対的に上昇させられるため、画像形成装置10は、ステップS204と同様に、第2距離を増加して反射光量の変化を確認できる。 Further, in the second modification, the image forming apparatus 10 may confirm the change in the amount of reflected light by raising or lowering the elevating plate that raises or lowers the position of the envelope 20 in the accommodating portion 251. For example, when the elevating plate is lowered, the detection unit 28 is raised relative to the envelope 20, so that the image forming apparatus 10 increases the second distance to change the amount of reflected light, as in step S204. You can check it.

(変形例3)
上記実施形態では、画像形成装置10が、封筒20の表裏を判定することについて説明した。変形例3では、画像形成装置10は、封筒20の表裏だけでなく、封筒20の向きについても判定する。
(Modification example 3)
In the above embodiment, it has been described that the image forming apparatus 10 determines the front and back sides of the envelope 20. In the third modification, the image forming apparatus 10 determines not only the front and back sides of the envelope 20 but also the orientation of the envelope 20.

図8は、変形例3の封筒上の検知位置を説明するための図である。 FIG. 8 is a diagram for explaining the detection position on the envelope of the modified example 3.

図8に示すように、変形例3の検知部38は、封筒20の搬送方向(X方向)に直交する幅方向(Y方向)に並ぶ複数のセンサーを有するラインセンサーである。検知部38は、発光素子により、封筒20の幅方向に均一な光を照射する。そして、検知部38は、受光素子により、封筒20からの幅方向の反射光量を検知する。検知部38は、封筒20の搬送方向(X方向)に沿って、たとえば封筒20の前端から後端にわたって、反射光量を検知する。変形例3は、検知部38が搬送路161上に設けられた場合、および、収容部251内に設けられた場合のいずれにも適用できるが、以下では、搬送路161上に設けられた場合について説明する。また、以下では、理解を容易にするため、図8に示すように、ラインセンサーの中心位置をs50、最も手前側の位置をs0、最も奥側の位置をs100とし、その間には位置に応じた数値を付して説明する。 As shown in FIG. 8, the detection unit 38 of the modified example 3 is a line sensor having a plurality of sensors arranged in the width direction (Y direction) orthogonal to the transport direction (X direction) of the envelope 20. The detection unit 38 irradiates the envelope 20 with uniform light in the width direction by the light emitting element. Then, the detection unit 38 detects the amount of reflected light in the width direction from the envelope 20 by the light receiving element. The detection unit 38 detects the amount of reflected light along the transport direction (X direction) of the envelope 20, for example, from the front end to the rear end of the envelope 20. Modification 3 can be applied to both the case where the detection unit 38 is provided on the transport path 161 and the case where it is provided in the accommodating section 251. In the following, the case where the detection unit 38 is provided on the transport path 161. Will be described. Further, in the following, in order to facilitate understanding, as shown in FIG. 8, the center position of the line sensor is set to s50, the position on the foremost side is set to s0, and the position on the innermost side is set to s100. It will be explained with the numerical values.

図9は、変形例3の画像形成装置の処理の手順を示すフローチャートである。 FIG. 9 is a flowchart showing a processing procedure of the image forming apparatus of the modification example 3.

図9のフローチャートに示されるアルゴリズムは、記憶部12にプログラムとして記憶されており、制御部11によって実行される。 The algorithm shown in the flowchart of FIG. 9 is stored as a program in the storage unit 12, and is executed by the control unit 11.

図9に示すように、まず、印刷ジョブの印刷設定に対応する封筒20が、検知部38の位置を搬送されるときに、検知部38により、封筒20の搬送方向に沿って、一定の間隔で、封筒20の前端から後端にわたる反射光量を検知する(ステップS301)。制御部11は、検知位置と、検知部38が有する複数のセンサーが検知した複数の反射光量との情報を、記憶部12に記憶させる。 As shown in FIG. 9, first, when the envelope 20 corresponding to the print setting of the print job is conveyed at the position of the detection unit 38, the detection unit 38 at a constant interval along the transfer direction of the envelope 20. Then, the amount of reflected light from the front end to the rear end of the envelope 20 is detected (step S301). The control unit 11 stores the information of the detection position and the amount of reflected light detected by the plurality of sensors included in the detection unit 38 in the storage unit 12.

続いて、制御部11は、検知部38の検知位置と、検知部38の複数のセンサーに含まれる一つのセンサー(以下「代表センサー」と呼ぶ)が検知した反射光量とに基づいて、プロファイルを取得する(ステップS302)。制御部11は、ステップS301で検知した反射光量のうち、代表センサーが検知した反射光量の情報を取得し、プロファイルを取得する。様々な幅の封筒20に対応するために、代表センサーとしては、図8に示すs50付近に位置するセンサーが選択されることが望ましい。 Subsequently, the control unit 11 creates a profile based on the detection position of the detection unit 38 and the amount of reflected light detected by one sensor (hereinafter referred to as "representative sensor") included in the plurality of sensors of the detection unit 38. Acquire (step S302). The control unit 11 acquires information on the amount of reflected light detected by the representative sensor among the amount of reflected light detected in step S301, and acquires a profile. In order to accommodate envelopes 20 of various widths, it is desirable to select a sensor located near s50 shown in FIG. 8 as a representative sensor.

続いて、制御部11は、ステップS302で取得したプロファイルを参照し、反射光量の変化による段差があるか否かを判定する(ステップS303)。 Subsequently, the control unit 11 refers to the profile acquired in step S302 and determines whether or not there is a step due to a change in the amount of reflected light (step S303).

プロファイルに段差がある場合(ステップS303:YES)、制御部11は、封筒20が検知部38に裏面を向けていると判定する(ステップS304)。さらに、制御部11は、プロファイルに段差が表れる位置に基づいて、封筒20の向きを判定する(ステップS305)。上述したように、プロファイルの段差は、本体部21とフラップ22との厚さの違いにより表れる。したがって、封筒20が、図4の(c)および(d)のいずれかに示す状態で搬送されている場合には、制御部11は、段差の位置を特定することによって、本体部21に対するフラップ22の位置を特定し、封筒20の向きを判定できる。 When there is a step in the profile (step S303: YES), the control unit 11 determines that the envelope 20 faces the detection unit 38 (step S304). Further, the control unit 11 determines the orientation of the envelope 20 based on the position where the step appears in the profile (step S305). As described above, the step difference in the profile appears due to the difference in thickness between the main body 21 and the flap 22. Therefore, when the envelope 20 is transported in the state shown in any of (c) and (d) of FIG. 4, the control unit 11 flaps the main body 21 by specifying the position of the step. The position of 22 can be specified and the orientation of the envelope 20 can be determined.

プロファイルに段差がない場合(ステップS303:NO)、制御部11は、封筒20が検知部38に表面を向けていると判定する(ステップS306)。さらに、制御部11は、プロファイルに、反射光量の変化による傾斜があるか否かを判定する(ステップS307)。 When there is no step in the profile (step S303: NO), the control unit 11 determines that the envelope 20 faces the detection unit 38 (step S306). Further, the control unit 11 determines whether or not the profile has an inclination due to a change in the amount of reflected light (step S307).

プロファイルに傾斜がある場合(ステップS307:YES)、制御部11は、プロファイルに傾斜が表れる位置に基づいて、封筒20の向きを判定する(ステップS308)。上述したように、プロファイルの傾斜は、フラップ22の折れ曲がりにより表れる。したがって、封筒20が、図4の(b)に示す状態で搬送されている場合には、制御部11は、傾斜の位置を特定することによって、本体部21に対するフラップ22の位置を特定し、封筒20の向きを判定できる。 When the profile has an inclination (step S307: YES), the control unit 11 determines the orientation of the envelope 20 based on the position where the inclination appears in the profile (step S308). As mentioned above, the inclination of the profile is manifested by the bending of the flap 22. Therefore, when the envelope 20 is transported in the state shown in FIG. 4B, the control unit 11 specifies the position of the flap 22 with respect to the main body 21 by specifying the tilted position. The orientation of the envelope 20 can be determined.

一方で、プロファイルに段差も傾斜もない場合(ステップS307:NO)、制御部11は、封筒向き追加判定の処理に進む(ステップS309)。画像形成装置10は、代表センサーにより得られるプロファイルに段差または傾斜がない場合には、段差または傾斜が表れる位置に基づいて封筒20の向きを判定できないため、追加の処理を実行して、封筒20の向きを判定する。封筒向き追加判定の処理の詳細については、後述する。 On the other hand, when there is no step or inclination in the profile (step S307: NO), the control unit 11 proceeds to the process of determining the envelope orientation addition (step S309). If the profile obtained by the representative sensor has no step or inclination, the image forming apparatus 10 cannot determine the orientation of the envelope 20 based on the position where the step or inclination appears. Therefore, the image forming apparatus 10 executes an additional process to perform the envelope 20. Determine the orientation of. The details of the process of determining the envelope orientation addition will be described later.

上記の各ステップにより、封筒20の表裏および向きが判定できた後、制御部11は、封筒20の表裏および向きの判定結果と、印刷ジョブの印刷設定における画像の形成面および向きとが一致するか否かを判定する(ステップS310)。 After the front and back sides and orientation of the envelope 20 can be determined by each of the above steps, the control unit 11 matches the determination result of the front and back sides and orientation of the envelope 20 with the image formation surface and orientation in the print setting of the print job. Whether or not it is determined (step S310).

一致する場合(ステップS310:YES)、制御部11は、処理を終了する。この場合、制御部11は、封筒20の表裏および向きのセット間違いがないと判定したことになる。 If they match (step S310: YES), the control unit 11 ends the process. In this case, the control unit 11 determines that there is no mistake in setting the front and back sides and the orientation of the envelope 20.

一致しない場合(ステップS310:NO)、制御部11は、搬送部16に封筒20の搬送を停止させて、ユーザーに警告する(ステップS311)。そして、制御部11は、処理を終了する。この場合、制御部11は、封筒20の表裏または向きのセット間違いがあると判定したことになる。 If they do not match (step S310: NO), the control unit 11 causes the transport unit 16 to stop the transport of the envelope 20 to warn the user (step S311). Then, the control unit 11 ends the process. In this case, the control unit 11 has determined that the front and back sides of the envelope 20 or the orientation of the envelope 20 is set incorrectly.

続いて、図9のステップS309の封筒向き追加判定の処理の詳細について説明する。 Subsequently, the details of the process of determining the envelope orientation addition determination in step S309 of FIG. 9 will be described.

図10は、図9のステップS309に示す、封筒向き追加判定の処理を説明するための図である。 FIG. 10 is a diagram for explaining the process of determining the envelope orientation addition as shown in step S309 of FIG.

封筒向き追加判定の処理は、上述したように、封筒20が検知部38に表面を向けている場合にのみ実行される。検知部38のs0からs100までの範囲に並ぶ複数のセンサーは、図10の(a)に例示する封筒20について、それぞれ異なる反射光量を検知する。図10の(b)は、検知部38の複数のセンサーのうち、代表して、s50、s85、s90、s95およびs100に位置するセンサーが検知する反射光量を示す。s85に位置するセンサーは、s50に位置するセンサーと同様に、封筒20上の検知位置によらず最大反射光量を検知する(以下「Hレベルを示す」とも言う)。一方で、s90に位置するセンサーは、検知位置がp3からp5までの範囲にある場合、Hレベルを示し、検知位置が当該範囲外にある場合、封筒20からの反射を検知できないため、反射光量を検知しない(以下「Lレベルを示す」とも言う)。また、s95に位置するセンサーは、検知位置がp3からp4までの範囲にある場合、Hレベルを示し、検知位置が当該範囲外にある場合、Lレベルを示す。さらに、s100に位置するセンサーは、封筒20の幅方向の端部よりも外側に位置するため、Lレベルを示す。 As described above, the process of determining the envelope orientation addition is executed only when the envelope 20 faces the detection unit 38. The plurality of sensors arranged in the range from s0 to s100 of the detection unit 38 detect different amounts of reflected light for the envelope 20 illustrated in FIG. 10A. FIG. 10B shows the amount of reflected light detected by the sensors located at s50, s85, s90, s95 and s100, among the plurality of sensors of the detection unit 38. Like the sensor located at s50, the sensor located at s85 detects the maximum amount of reflected light regardless of the detection position on the envelope 20 (hereinafter, also referred to as “indicating H level”). On the other hand, the sensor located at s90 indicates the H level when the detection position is in the range from p3 to p5, and when the detection position is outside the range, the reflection from the envelope 20 cannot be detected, so that the amount of reflected light is reflected. Is not detected (hereinafter, also referred to as "indicating L level"). Further, the sensor located at s95 indicates the H level when the detection position is in the range from p3 to p4, and indicates the L level when the detection position is outside the range. Further, the sensor located at s100 indicates the L level because it is located outside the widthwise end of the envelope 20.

変形例3の制御部11は、図10の(b)に示すような反射光量の変化に基づいて、封筒20の端部位置を特定して、図10の(c)に示すような封筒20の平面形状を特定し、封筒20の向きを判定する。具体的には、制御部11は、閾値処理等の公知のエッジ判定処理により、封筒20の端部位置を特定し、封筒20の平面形状を特定する。そして、制御部11は、封筒20の端部位置に対応するエッジラインの傾向が変わる変化点を検出する。さらに、制御部11は、図10の(c)に示すように、エッジラインe1と、これに隣接するエッジラインe2との間の角度が変化する、変化点c1を検出する。同様にして、制御部11は、各エッジラインe1〜e6から、変化点c2〜c6を検出する。そして、制御部11は、これらの変化点が表れる位置に基づいて、封筒20の向きを判定する。制御部11は、たとえば、c1およびc2間の距離と、c2およびc3間の距離とを比較して、封筒20の向きを判定してもよい。 The control unit 11 of the third modification specifies the end position of the envelope 20 based on the change in the amount of reflected light as shown in FIG. 10 (b), and the envelope 20 as shown in FIG. 10 (c). The plane shape of the envelope 20 is specified, and the orientation of the envelope 20 is determined. Specifically, the control unit 11 specifies the end position of the envelope 20 and specifies the planar shape of the envelope 20 by a known edge determination process such as a threshold value process. Then, the control unit 11 detects a change point in which the tendency of the edge line corresponding to the end position of the envelope 20 changes. Further, as shown in FIG. 10C, the control unit 11 detects a change point c1 in which the angle between the edge line e1 and the edge line e2 adjacent thereto changes. Similarly, the control unit 11 detects the change points c2 to c6 from the edge lines e1 to e6. Then, the control unit 11 determines the orientation of the envelope 20 based on the position where these change points appear. The control unit 11 may determine the orientation of the envelope 20 by comparing, for example, the distance between c1 and c2 and the distance between c2 and c3.

図11は、図9のステップS309に示す、封筒向き追加判定の処理の手順を示すサブルーチンフローチャートである。 FIG. 11 is a subroutine flowchart showing a procedure for processing the envelope orientation addition determination shown in step S309 of FIG.

図11に示すように、まず、制御部11は、記憶部12に記憶させた、検知部38の複数のセンサーが検知した反射光量の情報を確認する(ステップS401)。制御部11は、検知位置毎に、検知部38のs0からs100までの範囲に並ぶ複数のセンサーが検知した、反射光量を確認する。 As shown in FIG. 11, first, the control unit 11 confirms the information of the reflected light amount detected by the plurality of sensors of the detection unit 38 stored in the storage unit 12 (step S401). The control unit 11 confirms the amount of reflected light detected by a plurality of sensors arranged in the range from s0 to s100 of the detection unit 38 for each detection position.

続いて、制御部11は、ステップS401で確認した反射光量に基づいて、封筒20の端部位置を特定する(ステップS402)。すなわち、制御部11は、封筒20の平面形状を特定する。そして、制御部11は、上述したように、ステップS402で特定した封筒20の端部位置に対応する、エッジラインの変化点を検出する(ステップS403)。さらに、制御部11は、ステップS403で検出した変化点が表れる位置に基づいて、本体部21に対するフラップ22の位置を特定し、封筒20の向きを判定する(ステップS404)。そして、制御部11は、図9の処理に戻る。 Subsequently, the control unit 11 specifies the position of the end portion of the envelope 20 based on the amount of reflected light confirmed in step S401 (step S402). That is, the control unit 11 specifies the planar shape of the envelope 20. Then, as described above, the control unit 11 detects the change point of the edge line corresponding to the end position of the envelope 20 specified in step S402 (step S403). Further, the control unit 11 identifies the position of the flap 22 with respect to the main body 21 based on the position where the change point detected in step S403 appears, and determines the orientation of the envelope 20 (step S404). Then, the control unit 11 returns to the process of FIG.

以上のように、画像形成装置10は、代表センサーにより得られるプロファイルに段差または傾斜がある場合、当該プロファイルに基づいて、封筒20の向きを判定する。一方で、画像形成装置10は、プロファイルに段差または傾斜がない場合、複数のセンサーが検知した反射光量に基づいて、封筒20の平面形状を特定し、封筒20の向きを判定する。画像形成装置10は、封筒20の状態に合わせて適切な処理を選択することによって、徒に処理負荷を増加させずに、封筒20の表裏および向きを判定できる。 As described above, when the profile obtained by the representative sensor has a step or an inclination, the image forming apparatus 10 determines the orientation of the envelope 20 based on the profile. On the other hand, when the profile has no step or inclination, the image forming apparatus 10 identifies the planar shape of the envelope 20 based on the amount of reflected light detected by the plurality of sensors, and determines the orientation of the envelope 20. The image forming apparatus 10 can determine the front and back sides and the orientation of the envelope 20 without unnecessarily increasing the processing load by selecting an appropriate process according to the state of the envelope 20.

なお、画像形成装置10は、上記実施形態と同様に、封筒20の表裏または向きのセット間違いがあると判定した場合、ユーザーに警告する。しかし、本実施形態はこれに限定されない。画像形成装置10は、封筒20のセット間違いがあると判定した場合、画像データのページ設定等を変更して表裏のデータを入れ替えることにより、画像の形成面を変更してもよく、画像データを回転させることにより、画像の向きを変更してもよい。これにより、画像形成装置10は、ユーザーに封筒20を再セットさせることなく、正しい印刷面および向きに印刷した封筒20を出力できるため、ユーザーの利便性を向上できる。 As in the above embodiment, the image forming apparatus 10 warns the user when it is determined that the front and back sides or the orientation of the envelope 20 is set incorrectly. However, this embodiment is not limited to this. When the image forming apparatus 10 determines that the envelope 20 is set incorrectly, the image forming surface may be changed by changing the page setting of the image data or the like and exchanging the front and back data. The orientation of the image may be changed by rotating it. As a result, the image forming apparatus 10 can output the envelope 20 printed in the correct printing surface and orientation without causing the user to reset the envelope 20, which can improve the convenience of the user.

また、封筒向き追加判定の処理において、画像形成装置10は、検知部38のs0からs100までの範囲に並ぶ複数のセンサーが検知した反射光量に基づいて、封筒20の平面形状を特定する。しかし、変形例3はこれに限定されない。画像形成装置10は、検知部38のs0からs50まで、または、s50からs100までの範囲に並ぶセンサーが検知した反射光量に基づいて、封筒20の平面形状を特定してもよい。図10の(a)に示すように、封筒20は、幅方向に対称な形状を有するため、対称な形状のうち片側の形状を特定できれば、封筒20の向きを判定できるからである。これにより、画像形成装置10は、処理負荷を削減できる。 Further, in the process of determining the envelope orientation addition, the image forming apparatus 10 specifies the planar shape of the envelope 20 based on the amount of reflected light detected by a plurality of sensors arranged in the range from s0 to s100 of the detection unit 38. However, the modification 3 is not limited to this. The image forming apparatus 10 may specify the planar shape of the envelope 20 based on the amount of reflected light detected by the sensors arranged in the range of s0 to s50 or s50 to s100 of the detection unit 38. This is because, as shown in FIG. 10A, the envelope 20 has a symmetrical shape in the width direction, and therefore, if the shape of one side of the symmetrical shapes can be specified, the orientation of the envelope 20 can be determined. As a result, the image forming apparatus 10 can reduce the processing load.

また、封筒向き追加判定の処理において、画像形成装置10は、印刷設定等から封筒20のサイズを予め認識している場合には、封筒20の平面形状を特定することなく、より効率的に、フラップ22の位置を特定できる場合がある。たとえば、ステップS401において、画像形成装置10は、複数のセンサーが検知した反射光量の情報を確認する代わりに、図10の(a)に示すs90付近(封筒20の幅方向の端部位置付近)に位置する一つのセンサーが検知した反射光量を確認する。そして、s90付近に位置するセンサーの反射光量に基づいて、プロファイルを作成する。さらに、画像形成装置10は、当該プロファイルと、ステップS302で取得したプロファイルを比較する。すると、二つのプロファイルは、p5から右側の領域において、反射光量を検知したか否かにより異なることがわかる。画像形成装置10は、このような差分に基づいて、フラップ22の位置を特定してもよい。画像形成装置10は、処理負荷をさらに削減できる。 Further, in the process of determining the envelope orientation addition, when the image forming apparatus 10 recognizes the size of the envelope 20 in advance from the print settings or the like, the image forming apparatus 10 does not specify the plane shape of the envelope 20 and more efficiently. In some cases, the position of the flap 22 can be specified. For example, in step S401, instead of confirming the information on the amount of reflected light detected by the plurality of sensors, the image forming apparatus 10 is near s90 shown in FIG. 10 (a) (near the end position in the width direction of the envelope 20). Check the amount of reflected light detected by one sensor located in. Then, a profile is created based on the amount of reflected light of the sensor located near s90. Further, the image forming apparatus 10 compares the profile with the profile acquired in step S302. Then, it can be seen that the two profiles differ depending on whether or not the reflected light amount is detected in the region on the right side from p5. The image forming apparatus 10 may specify the position of the flap 22 based on such a difference. The image forming apparatus 10 can further reduce the processing load.

また、封筒向き追加判定の処理において、画像形成装置10は、検知位置毎に、検知部38の複数のセンサーが検知した反射光量の平均値(以下「平均反射光量」と呼ぶ)を算出して、封筒20の向きを判定してもよい。具体的には、画像形成装置10は、s0からs100まで(または、s0からs50まで、もしくは、s50からs100まで)の範囲に並ぶ複数のセンサーが検知した平均反射光量に基づいて、平均反射光量のプロファイルを作成する。ここで、フラップ22上では、検知部38の複数のセンサーのうち、反射光量を検知できないセンサーが存在するため、平均反射光量の変化が生じる。そこで、画像形成装置10は、平均反射光量の変化が表れる位置に基づいて、封筒20の向きを判定できる。 Further, in the process of determining the envelope orientation addition, the image forming apparatus 10 calculates the average value of the reflected light amount detected by the plurality of sensors of the detection unit 38 (hereinafter referred to as "average reflected light amount") for each detection position. , The orientation of the envelope 20 may be determined. Specifically, the image forming apparatus 10 has an average reflected light amount based on the average reflected light amount detected by a plurality of sensors arranged in the range of s0 to s100 (or s0 to s50 or s50 to s100). Create a profile for. Here, on the flap 22, among the plurality of sensors of the detection unit 38, there is a sensor that cannot detect the reflected light amount, so that the average reflected light amount changes. Therefore, the image forming apparatus 10 can determine the orientation of the envelope 20 based on the position where the change in the average reflected light amount appears.

また、封筒20の形状により、封筒20の裏面の下部(底部)付近に、封筒20の幅方向に沿って形成された貼り合わせ部が存在する場合がある。そのため、ステップS305において、画像形成装置10は、プロファイルの両端に段差があると判定してしまい、段差の位置に基づいて、封筒20の向きを判定できない可能性がある。このような場合、画像形成装置10は、ステップS305に代えてステップS309を実行し、封筒20の平面形状を特定して、封筒20の向きを判定すればよい。 Further, depending on the shape of the envelope 20, there may be a bonded portion formed along the width direction of the envelope 20 near the lower portion (bottom portion) of the back surface of the envelope 20. Therefore, in step S305, the image forming apparatus 10 may determine that there are steps at both ends of the profile, and may not be able to determine the orientation of the envelope 20 based on the positions of the steps. In such a case, the image forming apparatus 10 may execute step S309 instead of step S305, specify the planar shape of the envelope 20, and determine the orientation of the envelope 20.

(変形例4)
上記実施形態では、フラップ22が、封筒20の搬送方向の前端または後端にある場合を前提として、画像形成装置10の処理を説明した。変形例4では、画像形成装置10は、フラップ22が封筒20の幅方向に向いている場合でも、封筒20の表裏および向きを判定できるように構成される。
(Modification example 4)
In the above embodiment, the processing of the image forming apparatus 10 has been described on the assumption that the flap 22 is located at the front end or the rear end of the envelope 20 in the transport direction. In the fourth modification, the image forming apparatus 10 is configured to be able to determine the front and back sides and the orientation of the envelope 20 even when the flap 22 is oriented in the width direction of the envelope 20.

図12は、変形例4の画像形成装置の処理の手順を示すフローチャートである。図13は、フラップが幅方向に向いている封筒の反射光量を説明するための図である。 FIG. 12 is a flowchart showing a processing procedure of the image forming apparatus of the modified example 4. FIG. 13 is a diagram for explaining the amount of reflected light of the envelope whose flaps are oriented in the width direction.

図12のフローチャートに示されるアルゴリズムは、記憶部12にプログラムとして記憶されており、制御部11によって実行される。図12に示す変形例4のフローチャートは、図9に示す変形例3のフローチャートに処理を追加して取得できる。なお、図12のステップS301〜S305およびS307〜S311は、図9の同ステップ番号と同様の処理であるため、詳細な説明を省略する。 The algorithm shown in the flowchart of FIG. 12 is stored as a program in the storage unit 12, and is executed by the control unit 11. The flowchart of the modified example 4 shown in FIG. 12 can be obtained by adding a process to the flowchart of the modified example 3 shown in FIG. Since steps S301 to S305 and S307 to S311 in FIG. 12 are the same processes as those in the same step number in FIG. 9, detailed description thereof will be omitted.

図12のステップS303に示すように、プロファイルに段差がある場合(ステップS303:YES)の処理は、変形例3と同様になる。 As shown in step S303 of FIG. 12, when the profile has a step (step S303: YES), the process is the same as that of the third modification.

一方で、プロファイルに段差がない場合(ステップS303:NO)、制御部11は、変形例3のステップS306とは異なり、封筒20が検知部38に表面を向けているとはただちに判定しない。図13に示すように、封筒20がフラップ22を幅方向(Y方向)に向けている場合にも、s50付近に位置する代表センサーのプロファイルには変化が表れない。そのため、制御部11は、ステップS303の時点では、プロファイルに段差がない理由が、フラップ22が幅方向に向いていることに起因するのか、封筒20が検知部38に表面を向けていることに起因するのかを判定できない。したがって、制御部11は、ステップS303の時点では、封筒の20の表裏について判定せずに、ステップS307の処理に進む。 On the other hand, when there is no step in the profile (step S303: NO), the control unit 11 does not immediately determine that the envelope 20 faces the detection unit 38, unlike the step S306 of the modified example 3. As shown in FIG. 13, even when the envelope 20 has the flap 22 oriented in the width direction (Y direction), the profile of the representative sensor located near s50 does not change. Therefore, at the time of step S303, the reason why there is no step in the profile of the control unit 11 is that the flap 22 is oriented in the width direction, or the envelope 20 is facing the detection unit 38. It cannot be determined whether it is caused. Therefore, at the time of step S303, the control unit 11 proceeds to the process of step S307 without determining the front and back sides of the envelope 20.

そして、ステップS307において、プロファイルに傾斜がある場合(ステップS307:YES)、制御部11は、封筒20の向きを判定する(ステップS308)。さらに制御部11は、封筒20が検知部38に表面を向けていると判定する(ステップS501)。制御部11は、プロファイルに傾斜がある場合、変形例3と同様に、封筒20の表裏および向きを判定できる。 Then, in step S307, when the profile is inclined (step S307: YES), the control unit 11 determines the orientation of the envelope 20 (step S308). Further, the control unit 11 determines that the envelope 20 faces the detection unit 38 (step S501). When the profile is inclined, the control unit 11 can determine the front and back sides and the orientation of the envelope 20 as in the modified example 3.

一方で、プロファイルに段差も傾斜もない場合(ステップS307:NO)、制御部11は、変形例3と同様に、封筒向き追加判定の処理に進む(ステップS309)。制御部11は、図11に示す封筒向き追加判定の処理を、図10の(a)に示すように、封筒20がフラップ22を搬送方向に向けている場合だけでなく、図13に示すように、封筒20がフラップ22を幅方向に向けている場合にも実行する。制御部11は、変形例3と同様に、封筒20の平面形状を特定し、封筒20の向きを判定する。 On the other hand, when there is no step or inclination in the profile (step S307: NO), the control unit 11 proceeds to the process of determining the envelope orientation addition as in the modification 3 (step S309). The control unit 11 performs the process of determining the envelope orientation addition as shown in FIG. 11 not only when the envelope 20 points the flap 22 in the transport direction as shown in FIG. 10A, but also as shown in FIG. Also, this is done when the envelope 20 has the flap 22 oriented in the width direction. The control unit 11 specifies the planar shape of the envelope 20 and determines the orientation of the envelope 20, as in the modified example 3.

図12に戻って、制御部11は、ステップS309の結果、封筒20がフラップ22を搬送方向に向けていたか否かを確認する(ステップS502)。 Returning to FIG. 12, the control unit 11 confirms whether or not the envelope 20 has the flap 22 oriented in the transport direction as a result of step S309 (step S502).

搬送方向に向けていた場合(ステップS502:YES)、制御部11は、封筒20が検知部38に表面を向けていると判定する(ステップS501)。そして、制御部11は、ステップS310の処理に進む。 When the envelope 20 is oriented in the transport direction (step S502: YES), the control unit 11 determines that the envelope 20 is facing the detection unit 38 (step S501). Then, the control unit 11 proceeds to the process of step S310.

搬送方向に向けていなかった場合(ステップS502:NO)、すなわち、封筒20がフラップ22を幅方向に向けていた場合、制御部11は、ステップS503の処理に進む。そして、制御部11は、搬送方向の任意の検知位置(たとえば、図13に示すp7付近の位置)における、検知部38の幅方向のプロファイルを取得する(ステップS503)。より具体的には、制御部11は、p7付近の検知位置において、検知部38のs0からs100までの範囲に並ぶ各センサーが検知した反射光量の情報を取得する。そして、制御部11は、s0からs100までの範囲に並ぶ各センサーの位置と、各位置における反射光量とに基づいて、幅方向のプロファイルを取得する。 If the envelope 20 is not oriented in the transport direction (step S502: NO), that is, if the envelope 20 is oriented in the width direction, the control unit 11 proceeds to the process of step S503. Then, the control unit 11 acquires a profile in the width direction of the detection unit 38 at an arbitrary detection position in the transport direction (for example, a position near p7 shown in FIG. 13) (step S503). More specifically, the control unit 11 acquires information on the amount of reflected light detected by each sensor arranged in the range from s0 to s100 of the detection unit 38 at the detection position near p7. Then, the control unit 11 acquires a profile in the width direction based on the positions of the sensors arranged in the range from s0 to s100 and the amount of reflected light at each position.

続いて、制御部11は、ステップS503で取得したプロファイルを参照し、反射光量の変化による段差があるか否かを判定する(ステップS504)。 Subsequently, the control unit 11 refers to the profile acquired in step S503 and determines whether or not there is a step due to a change in the amount of reflected light (step S504).

プロファイルに段差がある場合(ステップS504:YES)、制御部11は、封筒20が検知部38に裏面を向けていると判定する(ステップS505)。一方で、プロファイルに段差がない場合(ステップS504:NO)、制御部11は、封筒20が検知部38に表面を向けていると判定する(ステップS501)。そして、制御部11は、ステップS310の処理に進む。 When there is a step in the profile (step S504: YES), the control unit 11 determines that the envelope 20 faces the detection unit 38 (step S505). On the other hand, when there is no step in the profile (step S504: NO), the control unit 11 determines that the envelope 20 faces the detection unit 38 (step S501). Then, the control unit 11 proceeds to the process of step S310.

このように、制御部11は、搬送方向のプロファイルに段差も傾斜もない場合(ステップS307:NO)、封筒20の平面形状を特定し、封筒20の向きを判定する(ステップS309)。しかし、制御部11は、封筒20がフラップ22を幅方向に向けている場合には、ステップS309の時点では、封筒20の表裏を判定できない。したがって、制御部11は、封筒20がフラップ22を幅方向に向けている場合、幅方向のプロファイルを追加で取得し(ステップS503)、封筒20の表裏を判定することとした。 As described above, when the profile in the transport direction has neither a step nor an inclination (step S307: NO), the control unit 11 specifies the planar shape of the envelope 20 and determines the orientation of the envelope 20 (step S309). However, when the envelope 20 has the flap 22 oriented in the width direction, the control unit 11 cannot determine the front and back sides of the envelope 20 at the time of step S309. Therefore, when the envelope 20 has the flap 22 oriented in the width direction, the control unit 11 additionally acquires a profile in the width direction (step S503), and determines the front and back sides of the envelope 20.

以上のように、画像形成装置10は、フラップ22が封筒20の幅方向に向いている場合でも、封筒20の状態に合わせて適切な処理を選択することによって、徒に処理負荷を増加させずに、封筒20の表裏および向きを判定できる。画像形成装置10は、様々な種類の封筒20に対応できる。 As described above, even when the flap 22 is oriented in the width direction of the envelope 20, the image forming apparatus 10 does not unnecessarily increase the processing load by selecting an appropriate process according to the state of the envelope 20. In addition, the front and back sides and the orientation of the envelope 20 can be determined. The image forming apparatus 10 can handle various types of envelopes 20.

本発明による画像形成装置10による処理は、上記各手順を実行するための専用のハードウエア回路によっても、また、上記各手順を記述したプログラムをCPUが実行することによっても実現できる。後者により本発明を実現する場合、画像形成装置10を動作させる上記プログラムは、USBメモリ、フロッピー(登録商標)ディスクやCD−ROMなどのコンピューター読み取り可能な記録媒体によって提供されてもよいし、インターネットなどのネットワークを介してオンラインで提供されてもよい。この場合、コンピューター読み取り可能な記録媒体に記録されたプログラムは、通常、メモリやハードディスクなどに転送され記憶される。また、このプログラムは、たとえば、単独のアプリケーションソフトとして提供されてもよいし、画像形成装置10の一機能としてその装置のソフトウエアに組み込まれてもよい。 The processing by the image forming apparatus 10 according to the present invention can be realized by a dedicated hardware circuit for executing each of the above procedures, or by the CPU executing a program describing each of the above procedures. When the present invention is realized by the latter, the above program for operating the image forming apparatus 10 may be provided by a computer-readable recording medium such as a USB memory, a floppy (registered trademark) disk, or a CD-ROM, or may be provided by the Internet. It may be provided online via a network such as. In this case, the program recorded on the computer-readable recording medium is usually transferred to a memory, a hard disk, or the like and stored. Further, this program may be provided as a single application software, or may be incorporated into the software of the image forming apparatus 10 as a function of the apparatus.

10 画像形成装置、
11 制御部、
12 記憶部、
13 通信部、
14 操作パネル、
15 給紙部、
151、251 収容部、
252 移動手段、
16 搬送部、
161 搬送路、
17 画像形成部、
18、28、38 検知部。
10 Image forming device,
11 Control unit,
12 Memory
13 Communication Department,
14 Operation panel,
15 Paper feed section,
151, 251 containment unit,
252 means of transportation,
16 Transport section,
161 transport path,
17 Image forming part,
18, 28, 38 detectors.

Claims (10)

袋状の本体部の封を閉じるためのフラップを有する封筒を搬送する搬送路と、
前記封筒の搬送方向に沿って、発光素子により、当該封筒の少なくとも一部の範囲に光を照射し、当該封筒における、前記発光素子によって照射された位置からの反射光量を受光素子により検知する検知部と、
前記発光素子によって前記封筒上に光を照射した位置と、当該位置において検知した前記反射光量との対応を示すプロファイルに基づいて、前記封筒の表裏を判定する制御部と、
を有し、
前記制御部は、前記プロファイルを参照し、前記反射光量の変化による段差があるか否かを判定し、前記段差がない場合、前記封筒が前記検知部に表面を向けていると判定し、前記段差がある場合、前記封筒が前記検知部に裏面を向けていると判定するとともに、前記プロファイルに前記段差がない場合、前記反射光量の変化による傾斜があるか否かを判定し、前記傾斜がある場合、当該傾斜が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定する、画像形成装置。
A transport path for transporting envelopes with flaps for closing the bag-shaped body,
Detection in which the light emitting element irradiates at least a part of the envelope with light along the transport direction of the envelope, and the light receiving element detects the amount of reflected light from the position irradiated by the light emitting element in the envelope. Department and
A control unit that determines the front and back of the envelope based on a profile indicating the correspondence between the position where the light is irradiated onto the envelope by the light emitting element and the amount of reflected light detected at the position.
Have a,
The control unit refers to the profile, determines whether or not there is a step due to the change in the amount of reflected light, and if there is no step, determines that the envelope faces the detection unit, and the above-mentioned If there is a step, it is determined that the envelope faces the back surface of the detection unit, and if there is no step in the profile, it is determined whether or not there is an inclination due to a change in the reflected light amount, and the inclination is determined. In some cases, an image forming apparatus that determines the position of the flap with respect to the main body of the envelope based on the position where the inclination appears.
前記検知部は、前記搬送方向に沿って前記封筒の前端から後端にわたる前記反射光量を検知し、
前記制御部は、前記前端から前記後端にわたる前記プロファイルに基づいて、前記封筒の表裏を判定する請求項1に記載の画像形成装置。
The detection unit detects the amount of reflected light from the front end to the rear end of the envelope along the transport direction.
The image forming apparatus according to claim 1, wherein the control unit determines the front and back sides of the envelope based on the profile extending from the front end to the rear end.
前記制御部は、前記プロファイルに前記段差がある場合、当該段差が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定する請求項1又は2に記載の画像形成装置。 The image forming apparatus according to claim 1 or 2 , wherein when the profile has the step, the control unit determines the position of the flap with respect to the main body of the envelope based on the position where the step appears. 前記検知部は、前記搬送方向に直交する方向に並ぶ複数のセンサーを有し、
前記制御部は、
前記複数のセンサーに含まれる一つのセンサーにより得られる前記プロファイルに基づいて、前記封筒の表裏を判定し、
前記一つのセンサーにより得られる前記プロファイルを参照し、前記プロファイルに前記段差も前記傾斜もない場合、前記複数のセンサーが検知した前記反射光量に基づいて前記封筒の平面形状を特定し、前記封筒の前記本体部に対する前記フラップの位置を判定する請求項1〜3に記載の画像形成装置。
The detection unit has a plurality of sensors arranged in a direction orthogonal to the transport direction, and has a plurality of sensors.
The control unit
The front and back of the envelope are determined based on the profile obtained by one sensor included in the plurality of sensors.
With reference to the profile obtained by the one sensor, when the profile has neither the step nor the inclination, the planar shape of the envelope is specified based on the amount of reflected light detected by the plurality of sensors, and the envelope is of the envelope. The image forming apparatus according to claim 1 to 3 , wherein the position of the flap is determined with respect to the main body.
袋状の本体部の封を閉じるためのフラップを有する封筒を搬送する搬送路と、
前記封筒の搬送方向に沿って、発光素子により、当該封筒の少なくとも一部の範囲に光を照射し、当該封筒における、前記発光素子によって照射された位置からの反射光量を受光素子により検知する検知部と、
前記発光素子によって前記封筒上に光を照射した位置と、当該位置において検知した前記反射光量との対応を示すプロファイルに基づいて、前記封筒の表裏を判定する制御部と、
前記封筒を収容する収容部と、
を有し、
前記検知部は、前記収容部内に設けられ、
前記収容部は、前記検知部を前記封筒に対して相対的に上昇させる移動手段をさらに有し、
前記制御部は、
前記プロファイルの精度が低い場合において、前記プロファイルを参照しても前記反射光量の変化による段差があるか否かを判定できない場合には、前記反射光量の変化による傾斜があるか否かを判定し、前記傾斜がある場合には、前記移動手段により前記検知部を相対的に上昇させ、
前記検知部の上昇により前記反射光量が増加しない場合、前記封筒が前記検知部に表面を向けていると判定し、
前記検知部の上昇により前記反射光量が増加する場合、前記封筒が前記検知部に裏面を向けていると判定する画像形成装置。
A transport path for transporting envelopes with flaps for closing the bag-shaped body,
Detection in which the light emitting element irradiates at least a part of the envelope with light along the transport direction of the envelope, and the light receiving element detects the amount of reflected light from the position irradiated by the light emitting element in the envelope. Department and
A control unit that determines the front and back of the envelope based on a profile indicating the correspondence between the position where the light is irradiated onto the envelope by the light emitting element and the amount of reflected light detected at the position.
A housing unit that houses the envelope and
Have,
The detection unit is provided in the storage unit and is provided.
The accommodating unit further comprises a moving means for raising the detection unit relative to the envelope.
The control unit
When the accuracy of the profile is low and it is not possible to determine whether or not there is a step due to the change in the amount of reflected light even with reference to the profile, it is determined whether or not there is a gradient due to the change in the amount of reflected light. When there is the inclination, the detection unit is relatively raised by the moving means.
If the amount of reflected light does not increase due to the rise of the detection unit, it is determined that the envelope faces the detection unit.
If the amount of reflected light due to the rise of the detection portion is increased, it is determined that the envelope is directed toward the back surface to the sensing unit, the image forming apparatus.
袋状の本体部の封を閉じるためのフラップを有する封筒を搬送する搬送路と、
前記封筒の搬送方向に沿って、発光素子により、当該封筒の少なくとも一部の範囲に光を照射し、当該封筒における、前記発光素子によって照射された位置からの反射光量を受光素子により検知する検知部と、
を有する画像形成装置の制御プログラムであって、
前記発光素子によって前記封筒上に光を照射した位置と、当該位置において検知した前記反射光量との対応を示すプロファイルに基づいて、前記封筒の表裏を判定するステップ(a)をコンピューターに実行させ
前記ステップ(a)は、
前記プロファイルを参照し、前記反射光量の変化による段差があるか否かを判定するステップ(b)と、
前記ステップ(b)において前記段差がない場合、前記封筒が前記検知部に表面を向けていると判定するステップ(c)と、
前記ステップ(b)において前記段差がある場合、前記封筒が前記検知部に裏面を向けていると判定するステップ(d)と、を含み、
前記ステップ(b)において前記プロファイルに前記段差がない場合、前記反射光量の変化による傾斜があるか否かを判定するステップ(f)と、
前記ステップ(f)において前記傾斜がある場合、当該傾斜が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定するステップ(g)と、をさらに含む、制御プログラム。
A transport path for transporting envelopes with flaps for closing the bag-shaped body,
Detection in which the light emitting element irradiates at least a part of the envelope with light along the transport direction of the envelope, and the light receiving element detects the amount of reflected light from the position irradiated by the light emitting element in the envelope. Department and
It is a control program of an image forming apparatus having
A computer is made to execute the step (a) of determining the front and back of the envelope based on the profile showing the correspondence between the position where the light is irradiated on the envelope by the light emitting element and the reflected light amount detected at the position .
The step (a) is
With reference to the profile, the step (b) of determining whether or not there is a step due to the change in the amount of reflected light, and
When there is no step in the step (b), it is determined that the envelope faces the detection unit (c).
If there is a step in the step (b), the step (d) for determining that the envelope faces the back surface of the detection unit is included.
When the profile does not have the step in the step (b), the step (f) for determining whether or not there is an inclination due to the change in the reflected light amount, and
A control program further comprising a step (g) of determining the position of the flap with respect to the main body of the envelope based on the position where the inclination appears when the inclination is present in the step (f).
前記ステップ(a)においては、前記搬送方向に沿って前記封筒の前端から後端にわたる前記反射光量についての前記プロファイルに基づいて、前記封筒の表裏を判定する請求項に記載の制御プログラム。 The control program according to claim 6 , wherein in step (a), the front and back sides of the envelope are determined based on the profile of the reflected light amount from the front end to the rear end of the envelope along the transport direction. 前記ステップ(b)において前記プロファイルに前記段差がある場合、当該段差が表れる位置に基づいて、前記封筒の前記本体部に対する前記フラップの位置を判定するステップ(e)をさらに含む請求項6又は7に記載の制御プログラム。 6 or 7 further includes a step (e) of determining the position of the flap with respect to the main body of the envelope based on the position where the step appears when the profile has the step in the step (b). The control program described in. 前記ステップ(a)においては、前記搬送方向に直交する方向に並ぶ複数のセンサーである前記検知部に含まれる一つのセンサーにより得られる前記プロファイルに基づいて、前記封筒の表裏を判定し、
前記一つのセンサーにより得られる前記プロファイルを参照し、前記プロファイルに前記段差も前記傾斜もない場合、前記複数のセンサーが検知した前記反射光量に基づいて前記封筒の平面形状を特定し、前記封筒の前記本体部に対する前記フラップの位置を判定するステップ(h)をさらに含む請求項6〜8に記載の制御プログラム。
In the step (a), the front and back sides of the envelope are determined based on the profile obtained by one sensor included in the detection unit, which is a plurality of sensors arranged in a direction orthogonal to the transport direction.
With reference to the profile obtained by the one sensor, when the profile has neither the step nor the inclination, the planar shape of the envelope is specified based on the amount of reflected light detected by the plurality of sensors, and the envelope is of the envelope. The control program according to claims 6 to 8, further comprising a step (h) of determining the position of the flap with respect to the main body.
袋状の本体部の封を閉じるためのフラップを有する封筒を搬送する搬送路と、
前記封筒の搬送方向に沿って、発光素子により、当該封筒の少なくとも一部の範囲に光を照射し、当該封筒における、前記発光素子によって照射された位置からの反射光量を受光素子により検知する検知部と、
を有する画像形成装置の制御プログラムであって、
前記発光素子によって前記封筒上に光を照射した位置と、当該位置において検知した前記反射光量との対応を示すプロファイルに基づいて、前記封筒の表裏を判定するステップ(a)をコンピューターに実行させ、
前記プロファイルの精度が低い場合において、前記プロファイルを参照しても前記反射光量の変化による段差があるか否かを判定できない場合には、前記反射光量の変化による傾斜があるか否かを判定するステップ(i)と、
前記傾斜がある場合には、移動手段により前記検知部を相対的に上昇させるステップ(j)と、
前記検知部の上昇により前記反射光量が増加しない場合、前記封筒が前記検知部に表面を向けていると判定するステップ(k)と、
前記検知部の上昇により前記反射光量が増加する場合、前記封筒が前記検知部に裏面を向けていると判定するステップ(l)と、をさらに含む制御プログラム。
A transport path for transporting envelopes with flaps for closing the bag-shaped body,
Detection in which the light emitting element irradiates at least a part of the envelope with light along the transport direction of the envelope, and the light receiving element detects the amount of reflected light from the position irradiated by the light emitting element in the envelope. Department and
It is a control program of an image forming apparatus having
A computer is made to execute the step (a) of determining the front and back of the envelope based on the profile showing the correspondence between the position where the light is irradiated on the envelope by the light emitting element and the reflected light amount detected at the position.
When the accuracy of the profile is low and it is not possible to determine whether or not there is a step due to the change in the reflected light amount even with reference to the profile, it is determined whether or not there is a gradient due to the change in the reflected light amount. Step (i) and
When there is the inclination, the step (j) of relatively raising the detection unit by the moving means and
When the reflected light amount does not increase due to the rise of the detection unit, the step (k) of determining that the envelope faces the detection unit and
A control program further comprising a step (l) of determining that the envelope faces the back surface of the envelope when the amount of reflected light increases due to the rise of the detection unit.
JP2016172920A 2016-09-05 2016-09-05 Image forming device and control program of image forming device Active JP6898581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016172920A JP6898581B2 (en) 2016-09-05 2016-09-05 Image forming device and control program of image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016172920A JP6898581B2 (en) 2016-09-05 2016-09-05 Image forming device and control program of image forming device

Publications (2)

Publication Number Publication Date
JP2018039585A JP2018039585A (en) 2018-03-15
JP6898581B2 true JP6898581B2 (en) 2021-07-07

Family

ID=61625114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016172920A Active JP6898581B2 (en) 2016-09-05 2016-09-05 Image forming device and control program of image forming device

Country Status (1)

Country Link
JP (1) JP6898581B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3067279B2 (en) * 1991-07-04 2000-07-17 株式会社リコー Envelope paper feed control device
JP2006239896A (en) * 2005-02-28 2006-09-14 Sharp Corp Image forming apparatus
JP5929178B2 (en) * 2011-12-27 2016-06-01 ブラザー工業株式会社 Image recording device
JP2013199345A (en) * 2012-03-26 2013-10-03 Canon Inc Endless belt conveyance control device, recording device and endless belt conveyance control method
JP2015192366A (en) * 2014-03-28 2015-11-02 キヤノンファインテック株式会社 image forming apparatus

Also Published As

Publication number Publication date
JP2018039585A (en) 2018-03-15

Similar Documents

Publication Publication Date Title
US7282687B2 (en) Image forming apparatus having a processing deciding section and image formation controlling method
JP7056044B2 (en) Paper processing equipment, image forming system and program
US11099512B2 (en) Image forming apparatus that adjusts image forming area based on read test image
JP2016023031A (en) Sheet feeding device and printer
JP6729082B2 (en) Image forming apparatus and control method
JP2013111871A (en) Inspection system, control method of inspection system, and program
JP6898581B2 (en) Image forming device and control program of image forming device
JP2009175485A (en) Image forming apparatus
JP5757929B2 (en) Sheet conveying apparatus and image forming apparatus provided with the same
JP2008155482A (en) Image printer and control method
JP2018070306A (en) Sheet position correction device
US10150641B2 (en) Sheet post-processing device and image forming apparatus
JP4826435B2 (en) Paper break detection device and method
JP6049676B2 (en) Image forming apparatus and image forming method
JP6142866B2 (en) Image forming system and method for discharging recording material in image forming system
US11785156B2 (en) Apparatus for correcting a folding deviation
JP2021017338A (en) Paper powder determination device and paper sheet conveying device
JP2015066727A (en) Printer
JP6252436B2 (en) Image reading apparatus and image forming apparatus
JP7392429B2 (en) Image forming apparatus and transport control method for image forming apparatus
JP7215471B2 (en) Parameter Determining Device, Image Forming Device, Post-Processing Device, Paper Feeding Device, and Creation Method of Determining Model
JP6819567B2 (en) Image forming device
JP2007065394A (en) Document feeder
JP6099911B2 (en) Print control apparatus, print control method, and program
JP2007086129A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190521

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200310

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201006

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201204

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210512

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210525

R150 Certificate of patent or registration of utility model

Ref document number: 6898581

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150