JP2023175137A - recording device - Google Patents

recording device Download PDF

Info

Publication number
JP2023175137A
JP2023175137A JP2022087437A JP2022087437A JP2023175137A JP 2023175137 A JP2023175137 A JP 2023175137A JP 2022087437 A JP2022087437 A JP 2022087437A JP 2022087437 A JP2022087437 A JP 2022087437A JP 2023175137 A JP2023175137 A JP 2023175137A
Authority
JP
Japan
Prior art keywords
recording medium
output
light
unit
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022087437A
Other languages
Japanese (ja)
Inventor
健嗣 久保園
Kenji Kubozono
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2022087437A priority Critical patent/JP2023175137A/en
Publication of JP2023175137A publication Critical patent/JP2023175137A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a recording device that senses a width of a medium to be recorded medium using an optical sensor, which can calculate a threshold by which presence or absence of the medium to be recorded can be determined accurately, regardless of a kind of the medium to be recorded.SOLUTION: A recording device which is used comprises: a recording part that performs recording on a medium to be recorded; a conveying part that supports the medium to be recorded; a sensor part including an emitting and a light receiving part for reflected light; a scanning part that scans the sensor part in a width direction; and a control part that compares output of the light receiving part with a threshold to sense presence or absence of the medium to be recorded. The control part obtains a quantity of adjusted light at which output from the light receiving part becomes equal to target output, by making the emitting part emit light to the medium to be recorded while adjusting a quantity of emitted light, obtains output of the conveying part by emitting light using the quantity of adjusted light in a state where the medium to be recorded does not exist in front of the sensor part, and determines the threshold on the basis of the target output and the output of the conveying part.SELECTED DRAWING: Figure 4

Description

本発明は、記録装置に関する。 The present invention relates to a recording device.

従来、紙などの被記録媒体を搬送して記録を行う記録装置において、被記録媒体の領域の外に印刷をしてしまうことを防ぐため、被記録媒体幅(紙幅)の検知が行われている。この検知手段の一例として、幅方向(被記録媒体の搬送方向と交差する方向)に走査可能であり、光を照射して被記録媒体からの反射光を受光する光学センサを有する機構がある。光学センサの受信する光量は光反射量に基づいて変化する。そのため、光学センサを走査しながら反射光の強度に基づく出力信号を閾値と比較することにより、被記録媒体の有無を検知することができ、その結果、被記録媒体幅を検知することができる。 Conventionally, in a recording device that transports and records on a recording medium such as paper, the width of the recording medium (paper width) is detected in order to prevent printing outside the area of the recording medium. There is. An example of this detection means is a mechanism that is capable of scanning in the width direction (a direction intersecting the conveyance direction of the recording medium) and has an optical sensor that irradiates light and receives reflected light from the recording medium. The amount of light received by the optical sensor changes based on the amount of light reflection. Therefore, by comparing an output signal based on the intensity of reflected light with a threshold value while scanning the optical sensor, the presence or absence of a recording medium can be detected, and as a result, the width of the recording medium can be detected.

このような検知手段を用いて被記録媒体幅を検知する記録装置において、反射光の強度に応じて光学センサが出力する信号の強度が、被記録媒体が有ることを示す値であるかどうかを判定するための閾値を設定する必要がある。特許文献1(特開平7-179248号公報)には、光学センサにより被記録媒体幅を検知する前に、検知動作と同じ予備検知動作を行い、上記の閾値を予め設定する技術が開示されている。 In a recording device that uses such a detection means to detect the width of a recording medium, it is possible to determine whether the intensity of a signal output by an optical sensor according to the intensity of reflected light is a value indicating that a recording medium is present. It is necessary to set a threshold for determination. Patent Document 1 (Japanese Unexamined Patent Application Publication No. 7-179248) discloses a technique in which, before detecting the recording medium width with an optical sensor, a preliminary detection operation similar to the detection operation is performed to preset the above threshold value. There is.

特開平7-179248号公報Japanese Unexamined Patent Publication No. 7-179248

図11は、従来例の動作を模式的に示すフローチャートである。ステップS100にて被記録媒体幅検知が開始されると、ステップS101にて給紙動作が開始される。ステップS102の給紙検知にて、一定位置まで給紙が行われたかが確認される。判定結果がNoであれば、間をおいて再び給紙検知が行われる。判定結果がYesであれば、ステップS103にて、被記録媒体が、光学センサによる走査が可能な被記録媒体幅検知位置まで搬送される。ステップS104にて、予備検知動作が行われ、光学センサを幅方向に走査させながら、被記録媒体部分と被記録媒体以外の部分それぞれにおける光学センサの出力が取得される。この取得結果を出力の強度ごとの度数分布にすると、記録媒体がある部分とない部分それぞれのピークを持った分布となる。ステップS105にて、二つのピークレベルから、例えば平均値を求めるなどの方法で閾値を算出する。ステップS106にて、算出した閾値を用いて被記録媒体に対する紙幅検知動作を行う。 FIG. 11 is a flowchart schematically showing the operation of the conventional example. When recording medium width detection is started in step S100, paper feeding operation is started in step S101. In the paper feeding detection in step S102, it is confirmed whether the paper has been fed to a certain position. If the determination result is No, paper feeding detection is performed again after a pause. If the determination result is Yes, in step S103, the recording medium is transported to a recording medium width detection position where it can be scanned by the optical sensor. In step S104, a preliminary detection operation is performed, and while scanning the optical sensor in the width direction, the outputs of the optical sensor in each of the recording medium portion and the portion other than the recording medium are acquired. If this obtained result is made into a frequency distribution for each output intensity, the distribution will have peaks for areas where there is a recording medium and areas where there is no recording medium. In step S105, a threshold value is calculated from the two peak levels by, for example, calculating an average value. In step S106, a paper width detection operation for the recording medium is performed using the calculated threshold value.

しかしながら、このような従来例の技術では、被記録媒体の種類によっては、被記録媒体が有る部分から得られる出力と無い部分から得る出力の差が小さい場合があった。その結果、予備検知動作で得られた出力に基づいて算出した閾値を用いても、被記録媒体の有無を精度良く判定できず、結果として被記録媒体幅の検知精度が低下する問題があった。 However, in such conventional techniques, depending on the type of recording medium, the difference between the output obtained from the area where the recording medium is present and the output obtained from the area where there is no recording medium may be small. As a result, even if the threshold value calculated based on the output obtained in the preliminary detection operation was used, it was not possible to accurately determine the presence or absence of a recording medium, and as a result, there was a problem that the detection accuracy of the recording medium width decreased. .

本発明は上記課題に鑑みてなされたものであり、光学センサを用いて被記録媒体の幅を検知する記録装置において、被記録媒体の種類を問わず、被記録媒体の有無を精度良く判定できるような閾値を算出することを目的とする。 The present invention has been made in view of the above problems, and is capable of accurately determining the presence or absence of a recording medium regardless of the type of recording medium in a recording device that detects the width of a recording medium using an optical sensor. The purpose is to calculate such a threshold value.

本発明は以下の構成を採用する。すなわち、
被記録媒体に記録を行う記録部と、
搬送される前記被記録媒体を支持する搬送部と、
照射光を照射する照射部と、反射光を受光して前記反射光の強度に応じた信号を出力する受光部と、を含むセンサ部と、
前記センサ部を、前記搬送部による搬送方向と交差する幅方向に走査する走査部と、
前記受光部からの出力を閾値と比較して前記被記録媒体の有無を検知することにより前記被記録媒体の幅を検知する制御部と、
を備える記録装置であって、
前記制御部は、
前記照射光の光量を調整しながら前記照射部から前記被記録媒体への照射を行うことにより、前記受光部からの前記出力が目標出力となるような調整済み光量を取得し、
走査される前記センサ部に対向する範囲に前記被記録媒体が存在しない状態で前記調整済み光量を用いて前記照射光を照射することにより、前記搬送部からの反射光に基づく前記受光部からの前記出力である搬送部出力を取得し、
前記目標出力および前記搬送部出力に基づいて前記被記録媒体の有無を検知するための前記閾値を決定する
ことを特徴とする記録装置である。
The present invention employs the following configuration. That is,
a recording unit that records on a recording medium;
a conveyance unit that supports the recording medium being conveyed;
a sensor unit including an irradiation unit that irradiates irradiation light; and a light reception unit that receives reflected light and outputs a signal according to the intensity of the reflected light;
a scanning unit that scans the sensor unit in a width direction that intersects with a conveyance direction by the conveyance unit;
a control unit that detects the width of the recording medium by comparing the output from the light receiving unit with a threshold value to detect the presence or absence of the recording medium;
A recording device comprising:
The control unit includes:
By irradiating the recording medium from the irradiation unit while adjusting the intensity of the irradiation light, an adjusted light intensity is obtained such that the output from the light receiving unit becomes a target output,
By irradiating the irradiation light using the adjusted light amount in a state where the recording medium is not present in a range facing the sensor unit to be scanned, the light receiving unit can detect light from the light receiving unit based on the reflected light from the transport unit. Obtaining the transport unit output which is the output,
The recording apparatus is characterized in that the threshold value for detecting the presence or absence of the recording medium is determined based on the target output and the output of the conveying section.

本発明によれば、光学センサを用いて被記録媒体の幅を検知する記録装置において、被記録媒体の種類を問わず、被記録媒体の有無を精度良く判定できるような閾値を算出することができる。 According to the present invention, in a recording device that detects the width of a recording medium using an optical sensor, it is possible to calculate a threshold value that can accurately determine the presence or absence of a recording medium regardless of the type of recording medium. can.

記録装置の構成を示す模式的な断面図A schematic cross-sectional view showing the configuration of a recording device キャリッジと光学センサの構成を示す模式的な図Schematic diagram showing the configuration of the carriage and optical sensor 記録装置の制御ブロックの構成を示す図Diagram showing the configuration of the control block of the recording device 実施例1の被記録媒体幅決定シーケンスを示すフローチャートFlowchart showing the recording medium width determination sequence of Example 1 実施例1の被記録媒体幅検出方法に関する模式図Schematic diagram regarding the recording medium width detection method of Example 1 実施例1の被記録媒体幅検出方法に関する続きの模式図Continuation of schematic diagram regarding recording medium width detection method of Example 1 実施例1の被記録媒体幅検出方法に関する続きの模式図Continuation of schematic diagram regarding recording medium width detection method of Example 1 出力調整に関する構成を示す図Diagram showing the configuration related to output adjustment 実施例2の被記録媒体幅決定シーケンスを示すフローチャートFlowchart showing recording medium width determination sequence of Example 2 実施例3の被記録媒体幅決定シーケンスを示すフローチャートFlowchart showing the recording medium width determination sequence of Example 3 従来例の動作を示すフローチャートFlowchart showing the operation of the conventional example 従来例の被記録媒体幅検出方法に関する模式図Schematic diagram of a conventional recording medium width detection method 従来例の被記録媒体幅検出方法に関する続きの模式図Continuation of the schematic diagram of the conventional recording medium width detection method

以下、図面を参照して、本発明の好適な実施例を例示的に詳しく説明する。ただし、以下の実施例に記載されている構成部品の寸法、材質、形状、それらの相対配置などは、本発明が適用される装置の構成や各種条件により適宜変更されるべきものである。したがって、特に特定的な記載がない限りは、本発明の範囲を限定する趣旨のものではない。 Hereinafter, preferred embodiments of the present invention will be described in detail by way of example with reference to the drawings. However, the dimensions, materials, shapes, and relative positions of the components described in the following examples should be changed as appropriate depending on the configuration and various conditions of the device to which the present invention is applied. Therefore, unless there is a specific description, it is not intended to limit the scope of the present invention.

[実施例1]
以下の実施例において記録(印刷)の対象となる被記録媒体とは、記録装置による印刷が可能なシート状の部材であればよい。例えば、各種の用紙や、樹脂製のシート(典型的にはクリアフィルムのような透明シート)など、種々のシート状部材を含むことができる。下記の説明において被記録媒体のことを「紙」と呼んだり、「被記録媒体幅」のことを「紙幅」と呼んだりしたとしても、被記録媒体の種類を限定する趣旨ではない。
[Example 1]
In the following embodiments, the recording medium to be recorded (printed) may be a sheet-like member that can be printed by a recording device. For example, it can include various sheet-like members such as various papers and resin sheets (typically transparent sheets such as clear films). In the following description, even if the recording medium is referred to as "paper" or the "recording medium width" is referred to as "paper width," this is not intended to limit the type of recording medium.

(装置構成)
図1は、記録装置100の概略構成を示す断面図である。給紙トレイ101には被記録媒体104(例えば印刷用紙)が格納されている。給紙ローラ103は、給紙トレイ101に格納されている印刷用紙を搬送ローラ105、106に給紙する。被記録媒体104は、搬送ローラ105、106により、部材107、108により形成される搬送路に送出され、搬送ローラ109、110に搬送される。搬送ローラ109、110は、被記録媒体104を、搬送部としてのプラテン111に搬送する。搬送部は、被記録媒体104の経路を構成する部材であり、搬送中の被記録媒体104を支持することができる。被記録媒体104は、搬送ローラの動作によって、搬送部の上を搬送される。
(Device configuration)
FIG. 1 is a sectional view showing a schematic configuration of a recording apparatus 100. A recording medium 104 (for example, printing paper) is stored in the paper feed tray 101 . Paper feed roller 103 feeds printing paper stored in paper feed tray 101 to transport rollers 105 and 106 . The recording medium 104 is sent to a transport path formed by members 107 and 108 by transport rollers 105 and 106, and is transported to transport rollers 109 and 110. Conveyance rollers 109 and 110 convey the recording medium 104 to a platen 111 serving as a conveyance section. The transport unit is a member that constitutes a path for the recording medium 104, and can support the recording medium 104 during transport. The recording medium 104 is conveyed on the conveyance section by the operation of the conveyance roller.

プラテン111の上部には、印刷ヘッド112を搭載したキャリッジ113が設けられている。キャリッジ113は、ガイドレール114に沿って図1に示すA方向(紙面で手前から奥に向かう方向)、B方向(奥から手前に向かう方向)に往復走査する。A方向およびB方向は、被記録媒体104の搬送方向に交差(典型的には直交)する方向であり、幅方向とも呼ぶ。制御部308は、キャリッジ113をA方向とB方向に走査させながら、印刷ヘッド112に駆動パルスを印加することにより、印刷ヘッド112からインク等の記録剤を吐出させる。このように印刷ヘッド112が走査しながら被記録媒体104に記録剤を吐出することで、被記録媒体104に印刷対象の画像が印刷される。画像が印刷された被記録媒体104はさらに搬送ローラ109、110により、排紙ローラ115、116に搬送される。排紙ローラ115、116は、被記録媒体104を排紙トレイ117に排紙する。 A carriage 113 on which a print head 112 is mounted is provided above the platen 111. The carriage 113 reciprocates along the guide rail 114 in the A direction (direction from the front to the back in the drawing) and the B direction (direction from the back to the front) shown in FIG. The A direction and the B direction are directions that intersect (typically orthogonal to) the transport direction of the recording medium 104, and are also referred to as the width direction. The control unit 308 causes the print head 112 to eject recording material such as ink by applying a drive pulse to the print head 112 while causing the carriage 113 to scan in the A direction and the B direction. By ejecting the recording agent onto the recording medium 104 while the print head 112 scans in this manner, an image to be printed is printed on the recording medium 104. The recording medium 104 on which the image has been printed is further conveyed to discharge rollers 115 and 116 by conveyance rollers 109 and 110. Paper discharge rollers 115 and 116 discharge the recording medium 104 to a paper discharge tray 117.

また、キャリッジ113には、反射型の光学センサである用紙センサ118が設けられている。記録装置100は、この用紙センサ118が受光した光の強さを示す出力レベル(出力電圧)を取得し、その出力レベルが被記録媒体からの反射光に対応するレベルであるか判定することにより、当該受光された位置に被記録媒体が存在するか検知することができる。また上記のように、用紙センサ118はキャリッジ113に設けられており、印刷ヘッド112とともに走査される。記録装置100は、用紙センサ118の走査が行われる範囲について被記録媒体104が存在するか検知することで、当該走査の範囲における印刷用紙の端部を判定することができる。そして当該印刷用紙の左右の端部間の距離に基づいて、当該印刷用紙の幅を検知することができる。 Further, the carriage 113 is provided with a paper sensor 118 that is a reflective optical sensor. The recording device 100 obtains the output level (output voltage) indicating the intensity of light received by the paper sensor 118, and determines whether the output level corresponds to the reflected light from the recording medium. , it is possible to detect whether a recording medium exists at the position where the light is received. Also, as described above, the paper sensor 118 is provided on the carriage 113 and is scanned together with the print head 112. The recording apparatus 100 can determine the edge of the printing paper in the scanning range by detecting whether the recording medium 104 is present in the scanning range of the paper sensor 118. Then, the width of the printing paper can be detected based on the distance between the left and right edges of the printing paper.

(検知のための構成)
この用紙センサ118による検知処理の詳細について図2を用いて説明する。用紙センサ118(キャリッジ113)の走査位置は、後述するエンコーダ224によって検知される。
(Configuration for detection)
The details of the detection process by the paper sensor 118 will be explained using FIG. 2. The scanning position of the paper sensor 118 (carriage 113) is detected by an encoder 224, which will be described later.

記録装置100はキャリッジ113をガイドレール114に沿って矢印A方向、B方向に往復移動させながら、印刷ヘッド112から記録剤を吐出させることにより、被記録媒体104上に画像を印刷する。またキャリッジ113の移動範囲(用紙センサの位置x)においてプラテン111から外れた位置には、印刷ヘッド112のキャッピングを行うためにヘッド回復機構119が設けられている。用紙センサの位置xは、後述するエンコーダ224により検知されたキャリッジ113の位置により特定される。 The recording apparatus 100 prints an image on a recording medium 104 by discharging a recording material from a print head 112 while moving a carriage 113 back and forth along a guide rail 114 in the directions of arrows A and B. Further, a head recovery mechanism 119 is provided at a position away from the platen 111 in the moving range of the carriage 113 (position x of the paper sensor) in order to cap the print head 112. The position x of the paper sensor is specified by the position of the carriage 113 detected by an encoder 224, which will be described later.

用紙センサ118はプラテン111上を走査しながら光を照射し、反射光を受信するする。図2の下側に示すグラフは、キャリッジ113の移動範囲において用紙センサ118が検知した光の出力レベルの推移を示す。なおこの例においては、被記録媒体104は白色等の明るい色であり、プラテン111は黒色等の暗い色である。そのため、被記録媒体104がプラテン111に存在する位置については高い出力レベル(印刷用紙からの強い
反射光)が取得され、被記録媒体104が存在しない位置については低い出力レベル(プラテン111からの弱い反射光)が検知される。
The paper sensor 118 irradiates light while scanning the platen 111 and receives reflected light. The graph shown at the bottom of FIG. 2 shows changes in the output level of light detected by the paper sensor 118 within the movement range of the carriage 113. In this example, the recording medium 104 is a bright color such as white, and the platen 111 is a dark color such as black. Therefore, a high output level (strong reflected light from the printing paper) is obtained for the position where the recording medium 104 is present on the platen 111, and a low output level (weak reflected light from the platen 111) is obtained for the position where the recording medium 104 is not present. reflected light) is detected.

用紙センサ118は、キャリッジ113がヘッド回復機構119の位置にいるときにプラテン111における位置Eの反射光を受光する。そして、キャリッジ113がA方向に向かって移動すると、被記録媒体104の端部に対応する位置で出力レベルが上がる。そして、被記録媒体104の端部から反対側の端部までは、およそ一定の出力レベルが取得され、端部において出力レベルが下がる。 Paper sensor 118 receives reflected light at position E on platen 111 when carriage 113 is at the position of head recovery mechanism 119 . Then, when the carriage 113 moves in the direction A, the output level increases at a position corresponding to the end of the recording medium 104. A roughly constant output level is obtained from one end of the recording medium 104 to the opposite end, and the output level decreases at the end.

本実施形態においては、用紙センサ118の出力レベルが所定の閾値Vthを超える場合に、当該出力レベルが検知された位置に被記録媒体104が存在するものと判定する。具体的には、図2における位置G、位置Fが被記録媒体104の端の位置であり、位置G~位置Fまでの範囲を、被記録媒体104が存在する範囲とする。そして、位置G~位置Fの距離を、被記録媒体104の搬送方向と直交する方向における紙幅として検知する。 In this embodiment, when the output level of the paper sensor 118 exceeds a predetermined threshold value Vth, it is determined that the recording medium 104 is present at the position where the output level is detected. Specifically, positions G and F in FIG. 2 are the end positions of the recording medium 104, and the range from position G to position F is the range in which the recording medium 104 exists. Then, the distance from position G to position F is detected as the paper width in the direction orthogonal to the conveyance direction of the recording medium 104.

なお本実施形態において記録装置100は、被記録媒体104の中心がプラテン111の中央位置Cとなるように、被記録媒体104を中央寄せで搬送する。このとき仮に被記録媒体104が大きく、図2において被記録媒体104の右端が位置Eよりも右側であった場合、被記録媒体104の右端の位置を検知できないことがある。 Note that in this embodiment, the recording apparatus 100 transports the recording medium 104 in a centered manner so that the center of the recording medium 104 is at the center position C of the platen 111. At this time, if the recording medium 104 is large and the right end of the recording medium 104 is on the right side of position E in FIG. 2, the position of the right end of the recording medium 104 may not be detected.

そこで本実施形態において記録装置100は、被記録媒体104の右端の位置が位置Eよりも右にある場合、中央位置Cと被記録媒体104の左端の位置Gとの距離により、被記録媒体104の用紙幅を判定する。具体的には、まず位置Eにおける出力レベルがVthを超える場合、被記録媒体104の右端の位置が位置Eもしくは位置Eよりも右側であると判定される。このように判定された場合、中央位置Cと位置Gの距離を2倍した長さが、被記録媒体104の用紙幅として検知される。これは、上述したように、記録装置100は被記録媒体104の中心が中央位置Cとなるように被記録媒体104を搬送するので、中央位置Cと被記録媒体104の左端の位置Gとの距離が用紙幅の半分の長さとなるからである。なお、キャリッジの走査範囲における中央位置Cを示す値が記録装置100内のメモリに予め記憶されており、記録装置100はこの値を参照することで、中央位置Cと位置Gとの距離を求めることができる。 Therefore, in this embodiment, when the right end position of the recording medium 104 is to the right of the position E, the recording apparatus 100 adjusts the distance between the center position C and the left end position G of the recording medium 104. Determine the paper width. Specifically, first, when the output level at position E exceeds Vth, it is determined that the right end position of the recording medium 104 is at position E or to the right of position E. When it is determined in this way, the length obtained by doubling the distance between the center position C and the position G is detected as the paper width of the recording medium 104. This is because, as described above, the recording device 100 transports the recording medium 104 so that the center of the recording medium 104 is at the center position C, so the center position C and the left end position G of the recording medium 104 are This is because the distance is half the paper width. Note that a value indicating the center position C in the scanning range of the carriage is stored in advance in the memory within the recording device 100, and the recording device 100 calculates the distance between the center position C and the position G by referring to this value. be able to.

なお、後述するように、上記の閾値Vthは固定の値でなくてもよく、位置Eにおける出力レベルに応じて閾値を変更してもよい。また印刷媒体の表面の特性による反射光の強さに応じて閾値Vthを決定してもよい。具体的には、印刷に用いられる用紙の種別(普通紙、光沢紙等)に応じて、閾値Vthを変更する。 Note that, as described later, the threshold value Vth does not need to be a fixed value, and may be changed depending on the output level at the position E. Further, the threshold value Vth may be determined depending on the intensity of reflected light depending on the surface characteristics of the print medium. Specifically, the threshold value Vth is changed depending on the type of paper used for printing (plain paper, glossy paper, etc.).

(ブロック構成)
次に、記録装置100の構成を説明する。図3は、記録装置100の機能ブロックの構成を示すブロック図である。
(Block configuration)
Next, the configuration of the recording device 100 will be explained. FIG. 3 is a block diagram showing the configuration of functional blocks of the recording device 100.

制御部308は、記録装置100を制御する。制御部308としては、CPUやメモリなどの演算手段を備え、プログラムやユーザの指示に従って動作する情報処理装置や、処理回路などを利用できる。メモリ204は記憶手段であり、RAM、ROMやハードディスク等任意の記憶装置を利用できる。ユーザの指示は、記録装置100と通信可能なコンピュータ等の外部装置Fからのジョブとして与えられてもよいし、記録装置100の操作パネルなどを用いたユーザ入力により与えられてもよい。また制御部308は、後述する各種の制御ブロックを含んでいる。各制御ブロックは、例えば、特定の機能を実現するように構成されたプログラムモジュールである。 The control unit 308 controls the recording device 100. As the control unit 308, it is possible to use an information processing device, a processing circuit, etc., which is equipped with arithmetic means such as a CPU and memory, and operates according to a program or a user's instructions. The memory 204 is a storage means, and any storage device such as RAM, ROM, or hard disk can be used. The user's instructions may be given as a job from an external device F such as a computer that can communicate with the recording device 100, or may be given by user input using an operation panel of the recording device 100. Further, the control unit 308 includes various control blocks described below. Each control block is, for example, a program module configured to implement a particular function.

モータ制御部209は制御部308による制御により、記録装置100の印刷機構を駆動するための各種モータを制御する。搬送モータ210は、モータ制御部209の制御に従って、給紙ローラ103と、搬送ローラ105、106、109、110と、排紙ローラ115、116と、を駆動する。キャリッジモータ(CRモータ211)は、モータ制御部209の制御に従って、走査部としてのキャリッジ113を駆動し、キャリッジ113を往復移動させる。走査部は、センサ部を被記録媒体またはそれ以外の被検出物の上を走査させるブロックである。回復モータ212は、モータ制御部209の制御に従ってヘッド回復機構119を駆動する。 The motor control unit 209 controls various motors for driving the printing mechanism of the recording apparatus 100 under the control of the control unit 308 . The conveyance motor 210 drives the paper feed roller 103 , the conveyance rollers 105 , 106 , 109 , and 110 , and the paper discharge rollers 115 and 116 under the control of the motor control unit 209 . The carriage motor (CR motor 211) drives the carriage 113 as a scanning unit under the control of the motor control unit 209, and causes the carriage 113 to reciprocate. The scanning section is a block that causes the sensor section to scan over a recording medium or other object to be detected. Recovery motor 212 drives head recovery mechanism 119 under the control of motor control section 209 .

ヘッド制御部213は、制御部308の制御に従って、記録部としての印刷ヘッド112を制御し、印刷ヘッド112にインク等の記録剤を吐出させる。記録部は、記録命令をもとに被記録媒体に対して記録動作を行うブロックである。制御部308は印刷ヘッド112と搬送モータ210を共に駆動させることで、印刷ヘッド112を走査させながら印刷用紙に画像を印刷させる。即ち、記録装置100内の制御部308が印刷制御装置として動作し、印刷機構としての各種のモータ、印刷ヘッド112を制御して、当該印刷機構に画像を印刷させる。 The head control unit 213 controls the print head 112 as a recording unit under the control of the control unit 308, and causes the print head 112 to eject a recording agent such as ink. The recording unit is a block that performs a recording operation on a recording medium based on a recording command. The control unit 308 drives both the print head 112 and the conveyance motor 210 to print an image on the printing paper while scanning the print head 112. That is, the control unit 308 in the recording apparatus 100 operates as a print control device, controls various motors as a printing mechanism, and the print head 112, and causes the printing mechanism to print an image.

センサ制御部214は、制御部308の制御に従って、センサ部としての用紙センサ118に含まれるセンサ光源215(照射部)を発光させ、また用紙センサ118が備える光学センサ216(受光部)に反射光を受光させる。センサ部は、被検出物に対して光を照射し反射した光を検出するブロックである。用紙センサ118が走査される範囲に対向する部分には、プラテン111が存在する。よって、被記録媒体104がプラテン111上に存在する状態であれば、センサ光源215からの照射光の照射対象は被記録媒体104であり、被記録媒体104がプラテン111上に存在しない状態であれば、センサ光源215からの照射光の照射対象はプラテン111である。 Under the control of the control unit 308, the sensor control unit 214 causes a sensor light source 215 (irradiation unit) included in the paper sensor 118 as a sensor unit to emit light, and also causes an optical sensor 216 (light reception unit) included in the paper sensor 118 to emit reflected light. to receive light. The sensor section is a block that irradiates light onto an object to be detected and detects the reflected light. The platen 111 is present in a portion facing the range scanned by the paper sensor 118. Therefore, if the recording medium 104 is present on the platen 111, the target of the irradiation light from the sensor light source 215 is the recording medium 104, and even if the recording medium 104 is not present on the platen 111, For example, the platen 111 is irradiated with the irradiation light from the sensor light source 215 .

またセンサ制御部214は、光学センサ216が受光した光の強さを示す出力レベルを取得する。制御部308は、センサ制御部214が取得した出力レベルを取得することで、被記録媒体幅の判定を行うことができる。センサ制御部214は、受光した光強度に基づいて光学センサ216から出力される信号の強度が目標出力となるように、センサ光源215から発光される光量を調整する、出力調整部としての機能を備える。 The sensor control unit 214 also acquires an output level indicating the intensity of light received by the optical sensor 216. The control unit 308 can determine the recording medium width by acquiring the output level acquired by the sensor control unit 214. The sensor control unit 214 functions as an output adjustment unit that adjusts the amount of light emitted from the sensor light source 215 so that the intensity of the signal output from the optical sensor 216 becomes the target output based on the intensity of the received light. Be prepared.

エンコーダ224は、ガイドレール114に沿ってキャリッジ113が走査するときのキャリッジ113の位置を特定する。制御部308は、エンコーダ224により特定されたキャリッジ113の位置と、キャリッジ113における用紙センサ118の取り付け位置により、図2に示した用紙センサの位置xを特定する。 Encoder 224 specifies the position of carriage 113 as it scans along guide rail 114. The control unit 308 specifies the paper sensor position x shown in FIG. 2 based on the position of the carriage 113 specified by the encoder 224 and the mounting position of the paper sensor 118 on the carriage 113.

本実施形態の記録装置100では、用紙センサ118が印刷ヘッド112とともにキャリッジ113に設けられている。そして、キャリッジ113を移動させるための各種のモータやガイドレール114、キャリッジ113の位置を特定するためのエンコーダ224等の部材は、印刷ヘッド112による印刷と用紙センサ118による被記録媒体幅の検知の両方に共通して用いられる。そのため、印刷のための部材とは別に、被記録媒体幅の検知のために上記の部材を設けなくてもよく、記録装置100が大型化してしまうことを防ぐことができる。 In the recording apparatus 100 of this embodiment, a paper sensor 118 is provided on the carriage 113 together with the print head 112. Various motors and guide rails 114 for moving the carriage 113, encoders 224 for specifying the position of the carriage 113, and other members are used for printing by the print head 112 and detecting the recording medium width by the paper sensor 118. Commonly used for both. Therefore, it is not necessary to provide the above-mentioned member for detecting the width of the recording medium in addition to the member for printing, and it is possible to prevent the recording apparatus 100 from increasing in size.

制御部308の検知部305は、センサ部からの出力と閾値の比較結果から、被記録媒体の幅を検出するブロックである。閾値設定部306は、センサ部の出力を受けて検出に最適な閾値を設定するブロックである。 The detection unit 305 of the control unit 308 is a block that detects the width of the recording medium based on the comparison result between the output from the sensor unit and a threshold value. The threshold value setting unit 306 is a block that receives the output of the sensor unit and sets an optimal threshold value for detection.

(従来例の問題点)
発明者は、従来例の記録装置における問題点に関して検討を行った。従来の被記録媒体幅の検知方法では、光学センサからの光に対する反射率の高い被記録媒体であれば、被記録媒体から得る出力と、被記録媒体が無い部分から得る出力の差が十分にあるため、それぞれの分布のピークから閾値を算出して紙幅を検知することが可能である。しかし、例えばトレーシングペーパーやクリアフィルムのような、光学センサからの光に対する反射率の低い被記録媒体の場合、被記録媒体が有る部分と被記録媒体が無い部分の間で、得られる出力の差が小さい状態となる。その結果、被記録媒体の有無について誤検知が発生し、被記録媒体幅が誤って検知されるおそれがある。
(Problems with conventional example)
The inventor conducted a study on problems in conventional recording devices. In the conventional recording medium width detection method, if the recording medium has a high reflectance to the light from the optical sensor, the difference between the output obtained from the recording medium and the output obtained from the part without the recording medium is sufficient. Therefore, it is possible to detect the paper width by calculating a threshold value from the peak of each distribution. However, in the case of a recording medium such as tracing paper or clear film, which has a low reflectance to light from an optical sensor, the output that can be obtained will vary between the area where the recording medium is and the area where there is no recording medium. The difference becomes small. As a result, there is a possibility that the presence or absence of the recording medium may be erroneously detected, and the width of the recording medium may be erroneously detected.

図12、図13を参照して、上記検討を詳述する。図12は反射率の高い被記録媒体104a、図13は反射率の低い被記録媒体104bについて、それぞれ同様の閾値算出を行った様子を示す。各図において、最上段(a)は、被記録媒体104が、搬送ローラ110によってプラテン111上に搬送された様子を示す。プラテン111には、搬送方向に沿って、搬送面からの高さが低いリブであるリブ(低)111aと、搬送面からの高さが高いリブであるリブ(高)111bが設けられている。また、各図の上から二段目(b)は、搬送方向と直交する面での断面図を示す。被記録媒体104が検知位置にあるときに用紙センサ118が矢印の方向に走査されることで、紙幅検知が行われる。 The above study will be described in detail with reference to FIGS. 12 and 13. FIG. 12 shows how similar threshold calculations were performed for a recording medium 104a with a high reflectance, and FIG. 13 a recording medium 104b with a low reflectance. In each figure, the top row (a) shows the state in which the recording medium 104 is conveyed onto the platen 111 by the conveyance roller 110. The platen 111 is provided with ribs (low) 111a, which are ribs with a low height from the transport surface, and ribs (high) 111b, which are ribs with a high height from the transport surface, along the transport direction. . Further, the second row (b) from the top of each figure shows a cross-sectional view in a plane perpendicular to the conveyance direction. Paper width detection is performed by scanning the paper sensor 118 in the direction of the arrow when the recording medium 104 is at the detection position.

また、各図の上から三段目(c)は、横軸がキャリッジ113の走査範囲内の位置を、縦軸が用紙センサ118の光学センサ216から出力された信号の強度(出力Vout)を示すグラフである。横軸上の位置は、最上段および二段目の横方向に示されるプラテン111上の位置と対応している。例えば図12で、出力Voutは、反射率の高い被記録媒体104a上を走査しているとき(符号910)が最も高い値となる(符号908)。出力Voutは、リブ(高)111b上を走査しているとき、リブ(低)111a上を走査しているとき、プラテン111のリブのない部分を走査しているとき、の順に低くなる。 In addition, in the third row (c) from the top of each figure, the horizontal axis represents the position within the scanning range of the carriage 113, and the vertical axis represents the intensity of the signal output from the optical sensor 216 of the paper sensor 118 (output Vout). This is a graph showing. The position on the horizontal axis corresponds to the position on the platen 111 shown in the horizontal direction of the uppermost stage and the second stage. For example, in FIG. 12, the output Vout has the highest value (908) when scanning the recording medium 104a with high reflectance (910). The output Vout becomes lower in the following order: when scanning over the rib (high) 111b, when scanning over the rib (low) 111a, and when scanning a portion of the platen 111 without ribs.

また、各図の最下段(d)は、横軸に出力Voutの値を、縦軸に出現回数を取ったグラフである。出現回数とは、光学センサ216が走査中に出力した信号を所定のサンプリングレートでデジタル変換したときの信号数を指す。このとき、被記録媒体104aが存在する位置における出力Voutに対応するピーク911(紙白出力VWHITE)と、被記録媒体104aが存在しない位置(プラテン111の非リブ部分)における出力Voutに対応するピーク910(プラテン出力VDARK)が存在する。図12(d)には他にも、リブ(低)111aとリブ(高)111bにそれぞれ対応する小さな2つのピークが存在する。 The bottom row (d) of each figure is a graph in which the horizontal axis represents the value of the output Vout and the vertical axis represents the number of appearances. The number of appearances refers to the number of signals when the signals output by the optical sensor 216 during scanning are digitally converted at a predetermined sampling rate. At this time, a peak 911 (paper white output V WHITE ) corresponding to the output Vout at the position where the recording medium 104a exists, and a peak 911 (paper white output V WHITE ) corresponding to the output Vout at the position where the recording medium 104a does not exist (the non-ribbed portion of the platen 111). A peak 910 (platen output V DARK ) is present. In FIG. 12(d), there are also two small peaks corresponding to the rib (low) 111a and the rib (high) 111b, respectively.

従来の記録装置では、下式(1)のように2つのピークの平均値を求めることにより、閾値VTHを算出していた。閾値VTHは、(c)および(d)では符号909で示す。
TH=(VWHITE+VDARK)/2 …(1)
In the conventional recording apparatus, the threshold value V TH was calculated by calculating the average value of two peaks as shown in equation (1) below. The threshold value V TH is indicated by reference numeral 909 in (c) and (d).
V TH = (V WHITE + V DARK )/2...(1)

図12の場合は、上記のように算出された閾値VTHにより、紙の有無を精度良く判定することができた。一方、図13の場合は様相が異なる。すなわち、被記録媒体104bについて同様に光学センサによる操作を行うと、被記録媒体104bの存在する部分における出力Voutは、図13(c)に符号914で示すような低い値となる。そのため、出力Voutごとの出現回数をグラフにすると、図13(d)に示すように、紙白出力VWHITEのピーク(符号918)と、プラテン出力VDARKのピーク(符号917)が接近する。よって、図13(c)に示すように、式(1)で算出された閾値VTH(符号913)は、リブ(低)111aの位置での出力Voutと同程度の値となる。その結果、本来の被記録媒体幅は符号915で示す幅であるにもかかわらず、符号916で示す幅であると誤検知してしまう。そこで発明者は、被記録媒体の種類に関わらず閾値を好適
に設定し、被記録媒体幅検知の精度を向上させる方法を考案した。
In the case of FIG. 12, the presence or absence of paper could be accurately determined using the threshold value VTH calculated as described above. On the other hand, the situation in FIG. 13 is different. That is, when the optical sensor performs the same operation on the recording medium 104b, the output Vout in the portion where the recording medium 104b exists becomes a low value as shown by reference numeral 914 in FIG. 13(c). Therefore, when the number of appearances for each output Vout is graphed, as shown in FIG. 13(d), the peak of the paper white output V WHITE (code 918) and the peak of the platen output V DARK (code 917) are close to each other. Therefore, as shown in FIG. 13(c), the threshold value V TH (symbol 913) calculated by equation (1) has a value comparable to the output Vout at the position of the rib (low) 111a. As a result, although the original width of the recording medium is the width shown by 915, it is mistakenly detected as the width shown by 916. Therefore, the inventor devised a method of appropriately setting a threshold value regardless of the type of recording medium to improve the accuracy of recording medium width detection.

(処理シーケンス)
図4は、本実施例の被記録媒体幅決定の処理シーケンスを示すフローチャートである。ステップS400にて被記録媒体幅検出シーケンスが開始される。ステップS401の第1の被記録媒体通紙動作にて、搬送ローラ群による被記録媒体104の用紙センサ118の直下への搬送が行われる。第1の被記録媒体通紙動作は、実際の幅検知に先立って行われる予備的な検知のための通紙である。
(Processing sequence)
FIG. 4 is a flowchart showing the processing sequence for determining the recording medium width in this embodiment. A recording medium width detection sequence is started in step S400. In the first recording medium passing operation in step S401, the recording medium 104 is conveyed directly below the paper sensor 118 by the conveying roller group. The first recording medium paper passing operation is paper passing for preliminary detection performed prior to actual width detection.

ステップS402にて、用紙センサ118を被記録媒体104に対向させた状態で、出力Voutの測定が行われる。このとき、用紙センサ118を、被記録媒体104が確実にあると分かっている場所に対向させておく。具体的には、搬送方向においては、被記録媒体104のサイズおよび搬送ローラによる送り量に基づいて、被記録媒体104の先端の位置を把握することができる。また、搬送方向に直交する方向においては、記録装置100で印刷可能な紙幅の範囲が分かっているため、基準位置から所定の範囲内にキャリッジ113を移動させることにより、用紙センサ118を被記録媒体104に対向させることができる。基準位置は例えば、通紙経路の中央や、通紙経路の端部突き当て部である。かかる対向状態にて、センサ制御部214は所定の光量でセンサ光源215を発光させ、光学センサ216の出力Voutを測定する。 In step S402, the output Vout is measured with the paper sensor 118 facing the recording medium 104. At this time, the paper sensor 118 is placed facing a location where the recording medium 104 is known to be present. Specifically, in the conveyance direction, the position of the leading end of the recording medium 104 can be determined based on the size of the recording medium 104 and the amount of feed by the conveyance roller. In addition, in the direction perpendicular to the conveyance direction, since the range of paper width that can be printed by the recording device 100 is known, by moving the carriage 113 within a predetermined range from the reference position, the paper sensor 118 is moved toward the recording medium. 104. The reference position is, for example, the center of the paper passing path or the end abutting portion of the paper passing path. In such a facing state, the sensor control unit 214 causes the sensor light source 215 to emit light with a predetermined amount of light, and measures the output Vout of the optical sensor 216.

ステップS403にて、制御部308は、出力Voutを、所定の目標出力の値と比較する。ここで目標出力とは、光学センサ216の仕様により定まっている、出力Voutの最大値(飽和値)である。なお、誤差を招かないために、飽和値よりも少し低い値(例えば飽和値より5%低い値)を目標出力としてもよい。出力Voutが目標出力に達しない場合、ステップS404に進み、制御部308はセンサ光源215の光量を増加させて出力測定を続ける。そして、出力Voutが目標出力に達すると、ステップS405にて、制御部308は目標到達時の光量をメモリ204に保存する。このS402~S405は、センサ出力が目標出力になるよう調整する、出力調整工程である。 In step S403, the control unit 308 compares the output Vout with a predetermined target output value. The target output here is the maximum value (saturation value) of the output Vout, which is determined by the specifications of the optical sensor 216. Note that in order to avoid causing errors, a value slightly lower than the saturation value (for example, a value 5% lower than the saturation value) may be set as the target output. If the output Vout does not reach the target output, the process advances to step S404, and the control unit 308 increases the light amount of the sensor light source 215 and continues output measurement. Then, when the output Vout reaches the target output, the control unit 308 stores in the memory 204 the amount of light when the target is reached in step S405. S402 to S405 are output adjustment steps in which the sensor output is adjusted to the target output.

ステップS406にて、制御部308は、いったん被記録媒体104を用紙センサ118の読取範囲から退避させる。ステップS407にて、黒出力検出工程を行う。具体的には、制御部308は、キャリッジ113を走査させながら用紙センサ118による出力測定を行い、被記録媒体104が存在しない状態での検知結果を取得する。これにより、プラテン111の反射による検知結果を記録できる。ステップS408にて、閾値設定部306は、目標出力と黒出力検出工程での測定結果を用いて、閾値VTHを算出する。この処理については後述する。 In step S406, the control unit 308 temporarily retreats the recording medium 104 from the reading range of the paper sensor 118. In step S407, a black output detection step is performed. Specifically, the control unit 308 measures the output by the paper sensor 118 while scanning the carriage 113, and obtains the detection result in a state where the recording medium 104 is not present. Thereby, the detection result based on the reflection of the platen 111 can be recorded. In step S408, the threshold value setting unit 306 calculates the threshold value VTH using the target output and the measurement results in the black output detection step. This process will be described later.

ステップS409にて、第2の被記録媒体通紙動作が行われる。第2の被記録媒体通紙動作は、実際の紙幅検知のための通紙である。ここで、搬送ローラ群により、被記録媒体104が再び用紙センサ118の直下へ搬送される。ステップS410の被記録媒体幅の読み取り工程にて、制御部308は、キャリッジ113を走査させながら、S405でメモリに保存した光量によりセンサ光源215を発光させ、光学センサ216の出力Voutを測定する。ステップS411にて、検知部305は、S410での読取結果と、S408で算出した閾値VTHから、被記録媒体104の端部を検知し、紙幅を算出する。以上で被記録媒体幅検出シーケンスを完了する(ステップS411)。 In step S409, a second recording medium passing operation is performed. The second recording medium paper passing operation is paper passing for actual paper width detection. Here, the recording medium 104 is again transported directly below the paper sensor 118 by the transport roller group. In the process of reading the recording medium width in step S410, the control unit 308 causes the sensor light source 215 to emit light according to the amount of light stored in the memory in S405 while scanning the carriage 113, and measures the output Vout of the optical sensor 216. In step S411, the detection unit 305 detects the edge of the recording medium 104 based on the reading result in S410 and the threshold value VTH calculated in S408, and calculates the paper width. This completes the recording medium width detection sequence (step S411).

図5~図7を用いて、本シーケンスでの閾値算出を詳述する。各図において、上段(a)は、被記録媒体104が、搬送ローラ110によってプラテン111上に搬送された様子を示す。中段(b)は、搬送方向と直交する面での断面図を示す。下段(c)は、横軸がキャリッジ113の走査範囲内の位置を、縦軸が用紙センサ118の光学センサ216
から出力された信号の強度(出力Vout)を示すグラフである。
The threshold calculation in this sequence will be described in detail using FIGS. 5 to 7. In each figure, the upper part (a) shows the state in which the recording medium 104 is conveyed onto the platen 111 by the conveyance roller 110. The middle row (b) shows a cross-sectional view taken in a plane perpendicular to the transport direction. In the lower row (c), the horizontal axis represents the position within the scanning range of the carriage 113, and the vertical axis represents the optical sensor 216 of the paper sensor 118.
It is a graph showing the strength of the signal (output Vout) output from the .

図5は、上記フローの出力調整工程(S402~S405)の模式図である。搬送ローラ110により、被記録媒体104がプラテン11上の用紙センサ118による読み取り位置まで搬送されている。このとき被記録媒体104は、プラテン111の一部であるリブ(低)111aもしくはリブ(高)111bに支持され、印刷に必要とされる姿勢を保つ。また、用紙センサ118は、被記録媒体104が確実に存在する場所に対向している。 FIG. 5 is a schematic diagram of the output adjustment step (S402 to S405) of the above flow. The recording medium 104 is transported by the transport roller 110 to a reading position by a paper sensor 118 on the platen 11 . At this time, the recording medium 104 is supported by ribs (low) 111a or ribs (high) 111b, which are part of the platen 111, and maintains the posture required for printing. Further, the paper sensor 118 faces a location where the recording medium 104 is definitely present.

なお、図5(c)のグラフにおいて、実線部分が実際に測定された出力であり、破線部分は参考として示したものである。ここで、制御部308が、所定の初期光量でセンサ光源215を発光させて、第1の出力Vout(符号509)を得たとする。制御部308は、第1の出力Voutを目標出力の値(符号510)と比較し、第1の出力Voutが目標出力よりも低い場合、センサ制御部214による出力調整を行い、所望の目標出力(VWHITE、符号511)が得られるまで光量を増加させる。 In the graph of FIG. 5(c), the solid line portion is the actually measured output, and the broken line portion is shown for reference. Here, it is assumed that the control unit 308 causes the sensor light source 215 to emit light with a predetermined initial light amount to obtain the first output Vout (reference numeral 509). The control unit 308 compares the first output Vout with the target output value (symbol 510), and if the first output Vout is lower than the target output, the sensor control unit 214 adjusts the output to reach the desired target output. The amount of light is increased until (V WHITE , code 511) is obtained.

図6は、上記フローの黒出力検出工程S406の模式図である。被記録媒体104は、用紙センサ118の読み取り範囲以外に退避した状態である。センサ制御部214は、S405でメモリに保存された光量(調整済み光量)によりセンサ光源215を発光させ、出力測定を行う。このとき、キャリッジ113が矢印507で示す範囲を走査しながら、用紙センサ118による測定が行われる。これにより、プラテン111や、プラテン上にあるリブ(低)111a、リブ(高)111bなどからの反射光が読み取られ、プラテン反射に由来する出力としての、黒検出時の出力Vout(符号512)が得られる(搬送部出力)。閾値設定部306は、この出力の中の最大値をVDARK(符号513)としてメモリに記憶する。 FIG. 6 is a schematic diagram of the black output detection step S406 of the above flow. The recording medium 104 is in a state of being evacuated outside the reading range of the paper sensor 118. The sensor control unit 214 causes the sensor light source 215 to emit light using the light amount (adjusted light amount) stored in the memory in S405, and measures the output. At this time, the paper sensor 118 performs measurement while the carriage 113 scans the range indicated by the arrow 507. As a result, the reflected light from the platen 111, the ribs (low) 111a, the ribs (high) 111b, etc. on the platen is read, and the output Vout (reference 512) at the time of black detection is output derived from the platen reflection. is obtained (transport unit output). The threshold value setting unit 306 stores the maximum value among these outputs in the memory as V DARK (code 513).

図7は、上記フローの被記録媒体幅の読み取り工程および算出工程(S410~S411)の模式図である。被記録媒体104は再び読み取り範囲まで搬送されている。制御部308は、用紙センサ118を矢印507で示す範囲で走査しながら、S405で保存された光量を用いた出力測定を行う。これにより、紙幅検知時の出力Vout(符号514)が得られる。このとき、被記録媒体104が存在する位置における出力Voutは、目標出力(VWHITE511)となっている。 FIG. 7 is a schematic diagram of the recording medium width reading step and calculation step (S410 to S411) in the above flow. The recording medium 104 has been conveyed to the reading range again. The control unit 308 performs output measurement using the light amount stored in S405 while scanning the paper sensor 118 in the range indicated by the arrow 507. As a result, an output Vout (reference numeral 514) at the time of paper width detection is obtained. At this time, the output Vout at the position where the recording medium 104 exists is the target output (V WHITE 511).

閾値設定部308は、VWHITE511と、VDARK513に基づいて、閾値VTHを算出する。例えば、式(1)と同様の下式(2)により算出が行われる(符号515)。
TH=(VWHITE+VDARK)/2 …(2)
なお、閾値をVWHITE511とVDARK513から算出する方法は平均値取得のみに限定されず、VWHITE511とVDARK513の中間の値として決定することができる。
The threshold value setting unit 308 calculates the threshold value V TH based on the V WHITE 511 and the V DARK 513 . For example, calculation is performed using the following equation (2), which is similar to equation (1) (reference numeral 515).
V TH = (V WHITE + V DARK )/2...(2)
Note that the method for calculating the threshold value from V WHITE 511 and V DARK 513 is not limited to obtaining an average value, but can be determined as an intermediate value between V WHITE 511 and V DARK 513.

そして、検知部305は、Vout514と閾値VTH515を比較して、被記録媒体幅516を算出する。このように、閾値VTH515を、出力調整工程で求めたVWHITE511と黒出力検出工程で求めたVDARK513から算出することにより、被記録媒体幅の検知において、リブ(高)111bの幅517の影響を低減することができる。 Then, the detection unit 305 calculates the recording medium width 516 by comparing Vout 514 and the threshold value V TH 515. In this way, by calculating the threshold value V TH 515 from the V WHITE 511 obtained in the output adjustment step and the V DARK 513 obtained in the black output detection step, the height of the rib (height) 111b is calculated in the detection of the recording medium width. The influence of the width 517 can be reduced.

図8は、出力調整工程に関する構成例の模式図である。この例の用紙センサ118は、LED光源であるセンサ光源215と、光電変換部である光学センサ216と、を含む。制御部308は、電流制御回路であるセンサ制御部214を有する。センサ光源215は、センサ制御部214から制御された電流を供給されると照射光604を発光する。光学
センサ216は、照射光604が被記録媒体104により反射された反射光606を受信して光電変換することで、出力Vout(符号607)が得られる。制御部308は、出力Voutが所望の出力になるように、センサ制御部214を制御する。
FIG. 8 is a schematic diagram of a configuration example related to the output adjustment process. The paper sensor 118 in this example includes a sensor light source 215 that is an LED light source, and an optical sensor 216 that is a photoelectric conversion unit. The control unit 308 includes a sensor control unit 214 that is a current control circuit. The sensor light source 215 emits irradiation light 604 when supplied with a controlled current from the sensor control unit 214 . The optical sensor 216 receives reflected light 606 obtained by reflecting the irradiated light 604 by the recording medium 104 and photoelectrically converts the received reflected light 606 to obtain an output Vout (reference numeral 607). The control unit 308 controls the sensor control unit 214 so that the output Vout becomes a desired output.

以上述べたように、本実施例では、まず被記録媒体に対する出力調整を行い、目標出力となる光量が得られるような光源の制御値を決定する。そして、その光量を用いて、被記録媒体が無い状態での黒検出工程を行う。そして、黒検出時の出力と目標出力に基づいて閾値を決定する。そして、保存された光源制御値により被記録媒体の走査を行った結果を閾値と比較し、被記録媒体幅を決定する。このようにすることで、被記録媒体の種類によって反射率が違ったとしても、光学センサ出力のばらつきによる影響を低減することができる。特に、被記録媒体の反射率が低いために従来例の手法では閾値を用いた判定の分解能が低下するような場合でも、光学センサの出力レベルを最大値(または最大値の近傍)まで引き上げることにより、ダイナミックレンジを拡大して分解能の高い閾値を算出することができる。よって、被記録媒体の有無を検知するために適切な閾値を設定可能となる。その結果、被記録媒体の幅を正確に検知でき、紙面外への印刷を防止できる。 As described above, in this embodiment, first, the output of the recording medium is adjusted, and the control value of the light source is determined so that the amount of light corresponding to the target output can be obtained. Then, using the amount of light, a black detection step is performed in a state where there is no recording medium. Then, a threshold value is determined based on the output during black detection and the target output. Then, the result of scanning the recording medium using the stored light source control value is compared with a threshold value to determine the width of the recording medium. By doing this, even if the reflectance varies depending on the type of recording medium, the influence of variations in optical sensor output can be reduced. In particular, even in cases where the resolution of determination using a threshold value is reduced in conventional methods due to the low reflectance of the recording medium, it is possible to raise the output level of the optical sensor to the maximum value (or near the maximum value). Accordingly, it is possible to expand the dynamic range and calculate a threshold value with high resolution. Therefore, it is possible to set an appropriate threshold value for detecting the presence or absence of a recording medium. As a result, the width of the recording medium can be accurately detected, and printing outside the paper surface can be prevented.

[実施例2]
図9は、実施例2の処理を説明するフローチャートである。以下、実施例1と異なる部分を中心として説明し、同じ部分については同じステップ番号や符号を付して、説明を省略する。
[Example 2]
FIG. 9 is a flowchart illustrating the processing of the second embodiment. Hereinafter, the explanation will focus on the parts that are different from the first embodiment, and the same parts will be given the same step numbers and symbols, and the explanation will be omitted.

実施例1では、被記録媒体104の種別にかかわらず、出力調整工程(S402~S405)から閾値算出工程(S408)が行われていた。しかし、一般的な被記録媒体104では、あらかじめ決められた光学センサの駆動条件および光量や、紙幅検知時の閾値を用いても、被記録媒体の幅を正確に検知できる。そのため、全ての被記録媒体104に実施例1のフローを適用すると、余計な時間を消費してしまう。そこで実施例2では、被記録媒体の種別をあらかじめユーザの入力により判別する。 In the first embodiment, regardless of the type of recording medium 104, the output adjustment step (S402 to S405) to the threshold value calculation step (S408) are performed. However, in the case of a general recording medium 104, the width of the recording medium can be accurately detected even by using predetermined driving conditions and light intensity of an optical sensor or a threshold value for paper width detection. Therefore, if the flow of the first embodiment is applied to all recording media 104, extra time will be consumed. Therefore, in the second embodiment, the type of recording medium is determined in advance based on user input.

シーケンスが開始される前提は、制御部308が、印刷対象となる被記録媒体104の種別情報を認識していることである。ここで言う種別情報とは、被記録媒体104が、既定の光学センサ駆動条件や閾値を適用できる通常の反射率を持つものであるか、特殊な閾値を算出する必要があるほどに低い反射率を持つものであるか、を示す情報である。前者の典型は一般的な白色の印刷用紙であり、後者の典型はトレーシングペーパーやクリアフィルムである。かかる種別情報としては、外部装置Fからのジョブに含まれる情報や、ユーザが記録装置100のパネルから入力した情報を利用できる。 The premise for starting the sequence is that the control unit 308 recognizes the type information of the recording medium 104 to be printed. The type information here means that the recording medium 104 has a normal reflectance to which predetermined optical sensor driving conditions and thresholds can be applied, or has a reflectance so low that it is necessary to calculate a special threshold. This is information indicating whether the A typical example of the former is common white printing paper, while a typical example of the latter is tracing paper or clear film. As such type information, information included in a job from the external device F or information input by the user from the panel of the recording device 100 can be used.

ステップS700にて被記録媒体幅検出シーケンスが開始される。ステップS701において、制御部308は、出力調整が必要な被記録媒体104であるかどうかを判断する。出力調整が必要な場合は(S701=Yes)、実施例1と同様の処理(ステップS401~S408)を行い、閾値VTHを算出する。一方、出力調整が必要ない場合(S701=No)、あらかじめ設定された光学センサの駆動方法と閾値でS409以降の処理を進める。 A recording medium width detection sequence is started in step S700. In step S701, the control unit 308 determines whether the recording medium 104 requires output adjustment. If output adjustment is necessary (S701=Yes), the same processing as in the first embodiment (steps S401 to S408) is performed to calculate the threshold value V TH . On the other hand, if output adjustment is not necessary (S701=No), the process from S409 onwards is performed using the preset optical sensor driving method and threshold value.

本実施例では、印刷時開始にユーザに指定された被記録媒体の種別情報を用いて出力調整工程を実施するかを決定する。そのため、必要が無い場合は出力調整工程が実施されないので、動作時間を短縮することができる。 In this embodiment, the type information of the recording medium specified by the user at the start of printing is used to determine whether to perform the output adjustment step. Therefore, since the output adjustment process is not performed if it is not necessary, the operation time can be shortened.

[実施例3]
図10は、本実施例の処理を説明するフローチャートである。以下、実施例1と異なる部分を中心として説明し、同じ部分については同じステップ番号や符号を付して、説明を
省略する。
[Example 3]
FIG. 10 is a flowchart illustrating the processing of this embodiment. Hereinafter, the explanation will focus on the parts that are different from the first embodiment, and the same parts will be given the same step numbers and symbols, and the explanation will be omitted.

実施例1では、被記録媒体の種別にかかわらず、出力調整工程(S402~S405)から閾値算出工程(S408)が行われていた。しかし、一般的な被記録媒体104では、あらかじめ決められた光学センサの駆動条件および光量や、紙幅検知時の閾値を用いても、被記録媒体の幅を正確に検知できる。そのため、全ての被記録媒体104に実施例1のフローを適用すると、余計な時間を消費してしまう。これに対し実施例2では、被記録媒体の種別をあらかじめユーザの入力により判別していた。しかしながら、ユーザによる入力ミスや被記録媒体104の個体間のばらつきによって、想定していた出力が得られない場合がある。そこで実施例3では、通紙時に光学センサ出力をあらかじめ設定されている閾値と比較する。 In the first embodiment, the threshold value calculation step (S408) is performed from the output adjustment step (S402 to S405) regardless of the type of recording medium. However, in the case of a general recording medium 104, the width of the recording medium can be accurately detected even by using predetermined driving conditions and light intensity of an optical sensor or a threshold value for paper width detection. Therefore, if the flow of the first embodiment is applied to all recording media 104, extra time will be consumed. On the other hand, in the second embodiment, the type of recording medium is determined in advance based on the user's input. However, due to input errors by the user or variations between individual recording media 104, the expected output may not be obtained. Therefore, in the third embodiment, the optical sensor output is compared with a preset threshold value when paper is passed.

ステップS800にて被記録媒体幅検出シーケンスが開始される。ステップS401~S402は、実施例1と同様の処理である。ステップS801において、制御部308は、S402での所定の初期光量での光照射により得られたセンサ出力Voutを、所定の第2の閾値と比較する。そして、出力が第2の閾値以下であれば(S801=Yes)、現在の被記録媒体104が、トレーシングペーパーやクリアフィルムなどの特殊な用紙であると判断し、ステップS802で光量を増加させたのち、ステップS403以降の実施例1と同様の処理に進む。一方、出力が第2の閾値よりも大きければ(S801=No)
、制御部308は、反射率が十分に高い被記録媒体104だと判断し、あらかじめ設定された光学センサの駆動方法と閾値でS409以降の処理を進める。第2の閾値は、予め各種の被記録媒体104の反射率測定の結果に基づいて、コピー紙など一般的な用紙の反射率に基づく出力と、特殊な用紙の反射率に基づく出力の間の値となるように設定されることが好ましい。
A recording medium width detection sequence is started in step S800. Steps S401 and S402 are the same processes as in the first embodiment. In step S801, the control unit 308 compares the sensor output Vout obtained by light irradiation with a predetermined initial light amount in S402 with a predetermined second threshold value. If the output is equal to or less than the second threshold (S801=Yes), it is determined that the current recording medium 104 is a special paper such as tracing paper or clear film, and the light intensity is increased in step S802. Thereafter, the process proceeds to step S403 and subsequent steps similar to those in the first embodiment. On the other hand, if the output is larger than the second threshold (S801=No)
The control unit 308 determines that the recording medium 104 has a sufficiently high reflectance, and proceeds with the processing from S409 onwards using the preset optical sensor driving method and threshold value. The second threshold value is determined based on the results of reflectance measurements of various types of recording media 104 in advance, and is determined between the output based on the reflectance of general paper such as copy paper and the output based on the reflectance of special paper. It is preferable that the value be set to the value.

本実施例では、通紙時のセンサ部の出力に応じて、出力調整工程を実施するかを決定する。これにより、ユーザによる入力ミスや被記録媒体の固体ばらつきの影響を低減し、正しく被記録媒体の幅を検知することができる。 In this embodiment, it is determined whether to perform the output adjustment process depending on the output of the sensor unit when paper is passed. As a result, the influence of input errors by the user and individual variations in the recording medium can be reduced, and the width of the recording medium can be accurately detected.

[構成1]
被記録媒体に記録を行う記録部と、
搬送される前記被記録媒体を支持する搬送部と、
照射光を照射する照射部と、反射光を受光して前記反射光の強度に応じた信号を出力する受光部と、を含むセンサ部と、
前記センサ部を、前記搬送部による搬送方向と交差する幅方向に走査する走査部と、
前記受光部からの出力を閾値と比較して前記被記録媒体の有無を検知することにより前記被記録媒体の幅を検知する制御部と、
を備える記録装置であって、
前記制御部は、
前記照射光の光量を調整しながら前記照射部から前記被記録媒体への照射を行うことにより、前記受光部からの前記出力が目標出力となるような調整済み光量を取得し、
走査される前記センサ部に対向する範囲に前記被記録媒体が存在しない状態で前記調整済み光量を用いて前記照射光を照射することにより、前記搬送部からの反射光に基づく前記受光部からの前記出力である搬送部出力を取得し、
前記目標出力および前記搬送部出力に基づいて前記被記録媒体の有無を検知するための前記閾値を決定する
ことを特徴とする記録装置。
[構成2]
前記制御部は、前記センサ部が走査されながら前記受光部が出力した前記搬送部出力の中の最大値と、前記目標出力と、の中間の値を前記閾値とする
ことを特徴とする構成1に記載の記録装置。
[構成3]
前記目標出力は、前記受光部からの前記出力が飽和するときの前記出力の値に基づいて設定される
ことを特徴とする構成1または2に記載の記録装置。
[構成4]
前記目標出力は、前記受光部からの前記出力が飽和するときの前記出力の値よりも低い値に設定される
ことを特徴とする構成3に記載の記録装置。
[構成5]
前記制御部は、前記被記録媒体の種別情報に応じて、前記調整済み光量の取得、および、前記搬送部出力の取得を行うかどうかを決定する
ことを特徴とする構成1から4のいずれか1項に記載の記録装置。
[構成6]
前記制御部は、前記被記録媒体の前記種別情報をユーザから取得する
ことを特徴とする構成5に記載の記録装置。
[構成7]
前記制御部は、所定の初期光量により前記照射光を前記被記録媒体に照射したときの前記出力が第2の閾値以下であれば、前記調整済み光量の取得、および、前記搬送部出力の取得を行う
ことを特徴とする構成1から4のいずれか1項に記載の記録装置。
[Configuration 1]
a recording unit that records on a recording medium;
a conveyance unit that supports the recording medium being conveyed;
a sensor unit including an irradiation unit that irradiates irradiation light; and a light reception unit that receives reflected light and outputs a signal according to the intensity of the reflected light;
a scanning unit that scans the sensor unit in a width direction that intersects with a conveyance direction by the conveyance unit;
a control unit that detects the width of the recording medium by comparing the output from the light receiving unit with a threshold value to detect the presence or absence of the recording medium;
A recording device comprising:
The control unit includes:
By irradiating the recording medium from the irradiation unit while adjusting the intensity of the irradiation light, an adjusted light intensity is obtained such that the output from the light receiving unit becomes a target output,
By irradiating the irradiation light using the adjusted light amount in a state where the recording medium is not present in a range facing the sensor unit to be scanned, the light receiving unit can detect light from the light receiving unit based on the reflected light from the transport unit. Obtaining the transport unit output which is the output,
A recording apparatus characterized in that the threshold value for detecting the presence or absence of the recording medium is determined based on the target output and the output of the conveying section.
[Configuration 2]
Configuration 1, wherein the control unit sets the threshold value to an intermediate value between the maximum value of the outputs of the transport unit outputted by the light receiving unit while the sensor unit is scanned, and the target output. Recording device described in .
[Configuration 3]
3. The recording apparatus according to configuration 1 or 2, wherein the target output is set based on a value of the output when the output from the light receiving section is saturated.
[Configuration 4]
The recording apparatus according to configuration 3, wherein the target output is set to a value lower than a value of the output when the output from the light receiving section is saturated.
[Configuration 5]
Any one of configurations 1 to 4, wherein the control unit determines whether to acquire the adjusted light amount and the output of the conveyance unit, depending on type information of the recording medium. The recording device according to item 1.
[Configuration 6]
The recording device according to configuration 5, wherein the control unit acquires the type information of the recording medium from a user.
[Configuration 7]
If the output when the recording medium is irradiated with the irradiation light with a predetermined initial light intensity is equal to or less than a second threshold, the control unit acquires the adjusted light intensity and obtains the transport unit output. 5. The recording device according to any one of configurations 1 to 4, wherein the recording device performs the following steps.

100:記録装置、104:被記録媒体、111:プラテン、112:印刷ヘッド、113:キャリッジ、118:用紙センサ、215:センサ光源、216:光学センサ、308:制御部 100: Recording device, 104: Recording medium, 111: Platen, 112: Print head, 113: Carriage, 118: Paper sensor, 215: Sensor light source, 216: Optical sensor, 308: Control unit

Claims (7)

被記録媒体に記録を行う記録部と、
搬送される前記被記録媒体を支持する搬送部と、
照射光を照射する照射部と、反射光を受光して前記反射光の強度に応じた信号を出力する受光部と、を含むセンサ部と、
前記センサ部を、前記搬送部による搬送方向と交差する幅方向に走査する走査部と、
前記受光部からの出力を閾値と比較して前記被記録媒体の有無を検知することにより前記被記録媒体の幅を検知する制御部と、
を備える記録装置であって、
前記制御部は、
前記照射光の光量を調整しながら前記照射部から前記被記録媒体への照射を行うことにより、前記受光部からの前記出力が目標出力となるような調整済み光量を取得し、
走査される前記センサ部に対向する範囲に前記被記録媒体が存在しない状態で前記調整済み光量を用いて前記照射光を照射することにより、前記搬送部からの反射光に基づく前記受光部からの前記出力である搬送部出力を取得し、
前記目標出力および前記搬送部出力に基づいて前記被記録媒体の有無を検知するための前記閾値を決定する
ことを特徴とする記録装置。
a recording unit that records on a recording medium;
a conveyance unit that supports the recording medium being conveyed;
a sensor unit including an irradiation unit that irradiates irradiation light; and a light reception unit that receives reflected light and outputs a signal according to the intensity of the reflected light;
a scanning unit that scans the sensor unit in a width direction that intersects with a conveyance direction by the conveyance unit;
a control unit that detects the width of the recording medium by comparing the output from the light receiving unit with a threshold value to detect the presence or absence of the recording medium;
A recording device comprising:
The control unit includes:
By irradiating the recording medium from the irradiation unit while adjusting the intensity of the irradiation light, an adjusted light intensity is obtained such that the output from the light receiving unit becomes a target output,
By irradiating the irradiation light using the adjusted light amount in a state where the recording medium is not present in a range facing the sensor unit to be scanned, the light receiving unit can detect light from the light receiving unit based on the reflected light from the transport unit. Obtaining the transport unit output which is the output,
A recording apparatus characterized in that the threshold value for detecting the presence or absence of the recording medium is determined based on the target output and the output of the conveying section.
前記制御部は、前記センサ部が走査されながら前記受光部が出力した前記搬送部出力の中の最大値と、前記目標出力と、の中間の値を前記閾値とする
ことを特徴とする請求項1に記載の記録装置。
The control unit sets the threshold value to a value intermediate between the maximum value of the outputs of the transport unit outputted by the light receiving unit while the sensor unit is scanned, and the target output. 1. The recording device according to 1.
前記目標出力は、前記受光部からの前記出力が飽和するときの前記出力の値に基づいて設定される
ことを特徴とする請求項1に記載の記録装置。
The recording apparatus according to claim 1, wherein the target output is set based on a value of the output when the output from the light receiving section is saturated.
前記目標出力は、前記受光部からの前記出力が飽和するときの前記出力の値よりも低い値に設定される
ことを特徴とする請求項3に記載の記録装置。
4. The recording apparatus according to claim 3, wherein the target output is set to a value lower than a value of the output when the output from the light receiving section is saturated.
前記制御部は、前記被記録媒体の種別情報に応じて、前記調整済み光量の取得、および、前記搬送部出力の取得を行うかどうかを決定する
ことを特徴とする請求項1から4のいずれか1項に記載の記録装置。
5. The control unit determines whether to acquire the adjusted light amount and the output of the transport unit according to type information of the recording medium. The recording device according to item 1.
前記制御部は、前記被記録媒体の前記種別情報をユーザから取得する
ことを特徴とする請求項5に記載の記録装置。
The recording apparatus according to claim 5, wherein the control unit acquires the type information of the recording medium from a user.
前記制御部は、所定の初期光量により前記照射光を前記被記録媒体に照射したときの前記出力が第2の閾値以下であれば、前記調整済み光量の取得、および、前記搬送部出力の取得を行う
ことを特徴とする請求項1から4のいずれか1項に記載の記録装置。
If the output when the recording medium is irradiated with the irradiation light with a predetermined initial light intensity is equal to or less than a second threshold, the control unit acquires the adjusted light intensity and obtains the transport unit output. 5. The recording apparatus according to claim 1, wherein the recording apparatus performs the following.
JP2022087437A 2022-05-30 2022-05-30 recording device Pending JP2023175137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022087437A JP2023175137A (en) 2022-05-30 2022-05-30 recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022087437A JP2023175137A (en) 2022-05-30 2022-05-30 recording device

Publications (1)

Publication Number Publication Date
JP2023175137A true JP2023175137A (en) 2023-12-12

Family

ID=89121388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022087437A Pending JP2023175137A (en) 2022-05-30 2022-05-30 recording device

Country Status (1)

Country Link
JP (1) JP2023175137A (en)

Similar Documents

Publication Publication Date Title
JP3822824B2 (en) Medium detection method and apparatus, and printing apparatus
US6869241B2 (en) Printer and printing method for obtaining a remaining printable distance on the rear end side of a paper
KR100529336B1 (en) Method for detecting an edge portion of printing medium and Edge detection apparatus
JP4652929B2 (en) Inkjet printer
US7762659B2 (en) Recording apparatus, computer readable medium storing thereon recording control program and recording method
US7027076B2 (en) Media-position media sensor
KR20050022647A (en) Method and apparatus for detecting page edge, and borderless printing method thereby
JP5362481B2 (en) Recording paper width detection method
JP5311973B2 (en) Printer
JP3876734B2 (en) Print sheet discrimination apparatus, printing apparatus, computer program, computer system, and print sheet discrimination method
JP2023175137A (en) recording device
JP2007160629A (en) Recording apparatus
JP2002127521A (en) Edge detector and printer
US6863459B2 (en) Medium-edge setting device and image forming apparatus
JP2007098760A (en) Recorder, recording control program
US6938975B2 (en) Method of reducing printing defects in an ink jet printer
JP5664095B2 (en) Skew detection method, skew detection apparatus, and printing apparatus including the same
US7140708B2 (en) Method of edge-to-edge imaging with an imaging apparatus
JP7336216B2 (en) Image recording device, reading device, image recording method and recording medium conveying method
JP3948311B2 (en) Print sheet discrimination apparatus, printing apparatus, computer program, computer system, and print sheet discrimination method
JP2008126452A (en) Recorder and method of detecting presence/absence of recording medium
EP3912820A1 (en) Ejection apparatus and ejection speed calculation method
JP2003182170A (en) Inkjet printer and method for detecting printing medium of inkjet printer
JP2005313497A (en) Recorder and method of calibration of optical sensor for the same
JP2018183896A (en) Recording device