JP2018002459A - Medium detection device, medium conveyance device and image formation apparatus - Google Patents
Medium detection device, medium conveyance device and image formation apparatus Download PDFInfo
- Publication number
- JP2018002459A JP2018002459A JP2016135174A JP2016135174A JP2018002459A JP 2018002459 A JP2018002459 A JP 2018002459A JP 2016135174 A JP2016135174 A JP 2016135174A JP 2016135174 A JP2016135174 A JP 2016135174A JP 2018002459 A JP2018002459 A JP 2018002459A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- medium
- processing unit
- absence
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 328
- 230000015572 biosynthetic process Effects 0.000 title abstract 5
- 230000003287 optical effect Effects 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims 1
- 239000000428 dust Substances 0.000 abstract description 53
- 239000000843 powder Substances 0.000 abstract 1
- 239000000123 paper Substances 0.000 description 773
- 238000000034 method Methods 0.000 description 54
- 230000008569 process Effects 0.000 description 53
- 238000010586 diagram Methods 0.000 description 7
- 230000007423 decrease Effects 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 6
- 238000011144 upstream manufacturing Methods 0.000 description 6
- 238000007599 discharging Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 239000000126 substance Substances 0.000 description 4
- 238000002834 transmittance Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Images
Landscapes
- Controlling Sheets Or Webs (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Handling Of Sheets (AREA)
Abstract
Description
本発明は、媒体検出装置、媒体搬送装置及び画像形成装置に関するものである。 The present invention relates to a medium detection device, a medium conveyance device, and an image forming apparatus.
従来、プリンタ、複写機、ファクシミリ、複合機等の画像形成装置、例えば、ドットインパクト式のプリンタには、媒体としての用紙を搬送するための媒体搬送装置としての用紙搬送装置が配設される。該用紙搬送装置は、用紙をセットするためのテーブルを備え、例えば、用紙がテーブル上に載置されることによってプリンタにセットされ、印字を開始するための操作スイッチが押下されるか、ホストコンピュータからプリンタに印字データが送られるかすると、用紙が印字ヘッドとプラテンとの間、すなわち、印字部に給紙され、印字ヘッドによって印字が行われ、用紙に画像が形成されるようになっている。 2. Description of the Related Art Conventionally, an image forming apparatus such as a printer, a copier, a facsimile machine, or a multifunction machine, for example, a dot impact type printer, is provided with a paper transport device as a medium transport device for transporting paper as a medium. The paper transport device includes a table for setting paper. For example, the paper is set on the printer by placing the paper on the table, and an operation switch for starting printing is pressed, or a host computer When print data is sent from the printer to the printer, the paper is fed between the print head and the platen, that is, the paper is fed to the printing unit, and printing is performed by the print head, so that an image is formed on the paper. .
また、前記プリンタには媒体検出装置としての用紙検出装置が配設され、該用紙検出装置によって、プリンタに用紙がセットされたかどうか、すなわち、プリンタにセットされた用紙の有無が判断されるようになっている。 Further, the printer is provided with a paper detection device as a medium detection device, and the paper detection device determines whether paper is set in the printer, that is, whether or not there is paper set in the printer. It has become.
すなわち、前記プリンタにおいて、用紙検出装置は、プリンタにセットされた用紙を検出するための用紙セット検出センサから送られたセンサ出力とスライスレベルとを比較し、センサ出力がスライスレベル以下である場合、セットされた用紙が無いと判断し、センサ出力がスライスレベルより大きい場合、セットされた用紙が有ると判断する(例えば、特許文献1参照。)。 That is, in the printer, the paper detection device compares the sensor output sent from the paper set detection sensor for detecting the paper set in the printer with the slice level, and if the sensor output is below the slice level, It is determined that there is no set paper, and if the sensor output is larger than the slice level, it is determined that there is a set paper (see, for example, Patent Document 1).
しかしながら、前記従来のプリンタにおいては、用紙セット検出センサとして透過型のセンサが使用されている場合、用紙セット検出センサに紙片、紙粉、埃等の付着物が付着し、発光部で発光させられた光が受光部によって受光されにくくなると、センサ出力がスライスレベルより大きくなることがあり、その場合、用紙検出装置が用紙の有無を誤って判断してしまう。 However, in the conventional printer, when a transmissive sensor is used as a paper set detection sensor, a paper piece, paper dust, dust or other adhering matter adheres to the paper set detection sensor, and light is emitted from the light emitting unit. If the received light is less likely to be received by the light receiving unit, the sensor output may become larger than the slice level, and in this case, the paper detection device erroneously determines the presence or absence of paper.
本発明は、前記従来のプリンタの問題点を解決して、画像形成装置にセットされた媒体の有無を誤って判断することがない媒体検出装置、媒体搬送装置及び画像形成装置を提供することを目的とする。 The present invention provides a medium detection device, a medium conveyance device, and an image forming apparatus that solve the problems of the conventional printer and do not erroneously determine the presence or absence of a medium set in the image forming apparatus. Objective.
そのために、本発明の媒体検出装置においては、画像形成装置に媒体をセットするための媒体配置部と、該媒体配置部に配設され、発光部及び受光部を備えた光学センサから成り、画像形成装置にセットされた媒体の有無に応じてセンサ出力を発生させる媒体検出部と、媒体の有無を検出するための、発光部の発光出力に応じて設定された複数のスライスレベルが記録された記憶装置と、前記媒体検出部によって媒体有りが検出された場合に、媒体検出部のセンサ出力と、発光部の発光出力が大きくされたときのスライスレベルとを比較することによって、画像形成装置にセットされた媒体の有無を判断する媒体有無判断処理部とを有する。 For this purpose, the medium detection device according to the present invention includes a medium placement unit for setting a medium in the image forming apparatus, and an optical sensor disposed in the medium placement unit and including a light emitting unit and a light receiving unit. A medium detection unit that generates a sensor output according to the presence or absence of a medium set in the forming apparatus, and a plurality of slice levels set according to the light emission output of the light emission unit for detecting the presence or absence of the medium are recorded When the presence of a medium is detected by the storage device and the medium detection unit, the sensor output of the medium detection unit is compared with the slice level when the light emission output of the light emitting unit is increased, thereby allowing the image forming apparatus to A medium presence / absence determination processing unit for determining the presence / absence of the set medium.
本発明によれば、媒体検出装置においては、画像形成装置に媒体をセットするための媒体配置部と、該媒体配置部に配設され、発光部及び受光部を備えた光学センサから成り、画像形成装置にセットされた媒体の有無に応じてセンサ出力を発生させる媒体検出部と、媒体の有無を検出するための、発光部の発光出力に応じて設定された複数のスライスレベルが記録された記憶装置と、前記媒体検出部によって媒体有りが検出された場合に、媒体検出部のセンサ出力と、発光部の発光出力が大きくされたときのスライスレベルとを比較することによって、画像形成装置にセットされた媒体の有無を判断する媒体有無判断処理部とを有する。 According to the present invention, the medium detection device includes a medium placement unit for setting a medium in the image forming apparatus, and an optical sensor disposed in the medium placement unit and including a light emitting unit and a light receiving unit. A medium detection unit that generates a sensor output according to the presence or absence of a medium set in the forming apparatus, and a plurality of slice levels set according to the light emission output of the light emission unit for detecting the presence or absence of the medium are recorded When the presence of a medium is detected by the storage device and the medium detection unit, the sensor output of the medium detection unit is compared with the slice level when the light emission output of the light emitting unit is increased, thereby allowing the image forming apparatus to A medium presence / absence determination processing unit for determining the presence / absence of the set medium.
この場合、媒体検出部によって媒体有りが検出された場合に、媒体有無判断処理部が、媒体検出部のセンサ出力と、発光部の発光出力が大きくされたときのスライスレベルとを比較することによって、画像形成装置にセットされた媒体の有無を判断するので、媒体検出部に紙片、紙粉、埃等の付着物が付着していても、媒体の有無を誤って判断することがない。 In this case, when the presence of the medium is detected by the medium detection unit, the medium presence / absence determination processing unit compares the sensor output of the medium detection unit with the slice level when the light emission output of the light emitting unit is increased. Since the presence / absence of the medium set in the image forming apparatus is determined, the presence / absence of the medium is not erroneously determined even if an adhering material such as a piece of paper, paper dust, or dust adheres to the medium detection unit.
以下、本発明の実施の形態について図面を参照しながら詳細に説明する。この場合、画像形成装置としてのドットインパクト式のプリンタについて説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this case, a dot impact type printer as an image forming apparatus will be described.
図2は本発明の第1の実施の形態におけるプリンタの要部を示す断面図、図3は本発明の第1の実施の形態におけるプリンタの要部を示す平面図である。 FIG. 2 is a cross-sectional view showing the main part of the printer according to the first embodiment of the present invention, and FIG. 3 is a plan view showing the main part of the printer according to the first embodiment of the present invention.
図において、Pは媒体としての用紙、Rt1は用紙Pを案内し、矢印方向に搬送するための媒体搬送路、10は用紙Pに対して印字を行うプリンタ、11は該プリンタ10に用紙Pをセットするための媒体配置部としてのテーブル、12は印字ヘッドである。該印字ヘッド12は、プリンタ10の左右方向、すなわち、主走査方向(図3における左右方向)に移動自在に配設された図示されないキャリッジに搭載され、該キャリッジと共に移動させられる。
In the figure, P is a sheet as a medium, Rt1 is a medium conveyance path for guiding the sheet P and conveyed in the direction of the arrow, 10 is a printer for printing on the sheet P, 11 is a sheet P on the
また、13は、前記印字ヘッド12の下方において、印字ヘッド12と対向させて、かつ、主走査方向に延在させて配設された媒体支持部材としてのプラテンであり、印字ヘッド12とプラテン13との間に印字部が形成される。
そして、15は、テーブル11において用紙Pの搬送方向における印字部より上流側に回転自在に配設され、回転に伴い、用紙Pを副走査方向に搬送し、印字部に給紙するための第1の搬送部材としてのフロントフィードローラ対であり、該フロントフィードローラ対15は、軸sh1に複数のローラr1を取り付けることによって形成され、媒体搬送路Rt1の上側及び下側に配設された一対のフィードローラ15a、15bから成る。また、17は、テーブル11において用紙Pの搬送方向における印字部より下流側に回転自在に配設され、回転に伴い、用紙Pを印字部から排出するための第2の搬送部材としてのリヤフィードローラ対であり、該リヤフィードローラ対17は、軸sh2に複数のローラr2を取り付けることによって形成され、媒体搬送路Rt1の上側及び下側に配設された一対のフィードローラ17a、17bから成る。
A table 15 is rotatably disposed upstream of the printing unit in the conveyance direction of the paper P in the table 11, and is rotated to convey the paper P in the sub-scanning direction and feed the paper P to the printing unit. A pair of front feed rollers as one transport member, and the pair of
そして、21は、テーブル11において用紙Pの搬送方向(矢印方向)におけるフロントフィードローラ対15の各フィードローラ15a、15bの噛込み部より上流側に配設された第1の媒体検出部としての用紙セット検出センサであり、該用紙セット検出センサ21は、各ローラr1に近接させて、用紙Pの搬送方向に対して直交する方向において複数配設され、プリンタ10にセットされた用紙Pの有無を検出し、用紙Pの有無に応じてセンサ出力を発生させる。そのために、用紙セット検出センサ21は、透過型の光学センサから成り、媒体搬送路Rt1の下側に配設されたLED等から成る発光部21e、及び媒体搬送路Rt1の上側に配設されたフォトトランジスタ等から成る受光部21rを備え、発光部21eによって発生させられ、用紙Pを透過した赤外線等の光を受光部21rが受光すると、用紙Pの透過率に応じた、また、受光部21rの受光量に応じた検出電圧をセンサ出力として発生させる。
本実施の形態において、用紙セット検出センサ21の検出回路は、発光部21eの発光出力が大きくなり、受光部21rの受光量が多くなると、用紙セット検出センサ21のセンサ出力が小さくなり、発光部21eの発光出力が小さくなり、受光部21rの受光量が少なくなると、用紙セット検出センサ21のセンサ出力が大きくなるように形成される。
In the present embodiment, the detection circuit of the paper
また、23は、テーブル11において用紙Pの搬送方向におけるフロントフィードローラ対15の各フィードローラ15a、15bの噛込み部より下流側に配設された第2の媒体検出部としての用紙斜行検出センサであり、該用紙斜行検出センサ23は、各ローラr2に近接させて、用紙Pの搬送方向に対して直交する方向において複数配設され、プリンタ10にセットされた用紙Pの有無及び斜行を検出するとともに、用紙Pの有無に応じてセンサ出力を発生させる。そのために、用紙斜行検出センサ23は、透過型の光学センサであり、媒体搬送路Rt1の下側に配設されたLED等から成る発光部23e、及び媒体搬送路Rt1の上側に配設されたフォトトランジスタ等から成る受光部23rを備え、発光部23eによって発生させられ、用紙Pを透過した赤外線等の光を受光部23rが受光すると、用紙Pの透過率に応じた、また、受光部23rの受光量に応じた検出電圧をセンサ出力として発生させる。
Further,
本実施の形態において、用紙斜行検出センサ23の検出回路は、用紙セット検出センサ21と同様に、発光部23eの発光出力が大きくなり、受光部23rの受光量が多くなると、用紙斜行検出センサ23のセンサ出力が小さくなり、発光部23eの発光出力が小さくなり、受光部23rの受光量が少なくなると、用紙斜行検出センサ23のセンサ出力が大きくなるように形成される。
In the present embodiment, the detection circuit of the paper
各用紙斜行検出センサ23と各用紙斜行検出センサ23とは互いに対応させて、前記主走査方向における同じ位置に配設される。
Each paper
なお、用紙Pの搬送方向における用紙斜行検出センサ23より下流側で、かつ、印字部より上流側に、用紙Pの斜行を矯正するシャッタ等の図示されない斜行矯正機構が配設される。
A skew correction mechanism (not shown) such as a shutter for correcting the skew of the paper P is disposed downstream of the paper
また、25は、印字ヘッド12に近接させて、かつ、プラテン13と対向させてキャリッジに取り付けられ、印字部に給紙された用紙Pの幅、すなわち、用紙幅を算出するためのセンサ出力を発生させる第3の媒体検出部としての用紙幅検出センサである。
該用紙幅検出センサ25は、反射型の光学センサであり、LED等から成る図示されない発光部及びフォトトランジスタ等から成る図示されない受光部を備え、発光部によって発生させられ、プラテン13及び用紙Pに照射された赤外線等の光が、プラテン13及び用紙Pにおいて反射され、受光部によって受光されると、プラテン13及び用紙Pの反射率に応じた検出電圧をセンサ出力として発生させる。
The paper
前記印字ヘッド12は、複数の印字ワイヤを備え、キャリッジを主走査方向に往復移動させながら印字ヘッド12を駆動すると、前記印字ワイヤが選択的に前進させられて、図示されないインクリボンに打ち付けられ、インクリボンのインクがプラテン上の用紙Pに転写され、ドット列による印字が行われる。
The
次に、プリンタ10の制御装置について説明する。
Next, the control device of the
図1は本発明の第1の実施の形態におけるプリンタの制御ブロック図である。 FIG. 1 is a control block diagram of the printer according to the first embodiment of the present invention.
図において、30は上位装置としてのホストコンピュータ、31はプリンタ10の全体の制御を行う中央処理装置としての、かつ、制御部としてのCPUであり、該CPU31には、第1の記憶装置としての揮発性メモリであるRAM32、第2の記憶装置としての不揮発性メモリであるROM33、及び集積回路から成るI/Oインタフェース35が接続される。
In the figure, 30 is a host computer as a host device, 31 is a CPU as a central processing unit for controlling the
該I/Oインタフェース35は、プリンタ10の状態を検出するための入出力I/Oとして機能するとともに、用紙セット検出センサ21、用紙斜行検出センサ23及び用紙幅検出センサ25に接続されてプリンタ10の制御を行うための入出力I/Oとして機能し、インタフェース基板34に接続されるとともに、印字ヘッド12を駆動するための印字ヘッド駆動回路37、第1の駆動部としてのスペースモータMsを駆動するためのスペースモータ駆動回路38、及び第2の駆動部としてのフィードモータMfを駆動するためのフィードモータ駆動回路39に接続される。
The I /
前記スペースモータMsは、キャリッジ及び印字ヘッド12を主走査方向に移動させるためのモータであり、スペースモータMsを駆動することによって発生させられた回転は、図示されないプーリ及びタイミングベルトを介して往復運動に変換され、往復運動がキャリッジに伝達される。
The space motor Ms is a motor for moving the carriage and the
また、前記フィードモータMfは、用紙Pを副走査方向に移動させるためのモータであり、フィードモータMfを駆動することによって、フロントフィードローラ対15(図2)及びリヤフィードローラ対17が回転させられる。
The feed motor Mf is a motor for moving the paper P in the sub-scanning direction, and the front feed roller pair 15 (FIG. 2) and the rear
前記ホストコンピュータ30には、オペレーティングシステム、アプリケーション等がインストールされていて、印字を行う際に、ホストコンピュータ30は印字データをプリンタ10に送信する。
The
前記CPU31は、ROM33に記録されたプログラムを実行することによって動作させられる各制御処理部、本実施の形態においては、用紙セット検出センサ21がプリンタ10にセットされた用紙Pの有無を検出するために使用される判断値(用紙有無判断値)、すなわち、スライスレベルを生成するスライスレベル生成処理部Pr1、用紙セット検出センサ21のセンサ出力に基づいて、プリンタ10に用紙Pがセットされたかどうか、すなわち、プリンタ10にセットされた用紙Pの有無を判断する媒体有無判断処理部としての用紙有無判断処理部Pr2、プリンタ10にセットされた用紙Pを印字部に給紙することによって印字の準備を整える給紙処理部Pr3、用紙幅検出センサ25のセンサ出力に基づいて、給紙された用紙Pの用紙幅を算出する媒体幅算出処理部としての用紙幅算出処理部P4、印字部から用紙Pを排出する排紙処理部Pr5等を備える。
The CPU 31 is a control processing unit that is operated by executing a program recorded in the ROM 33. In this embodiment, the paper
また、前記RAM32には、各種のデータ、本実施の形態においては、CPU31の各制御処理部において処理を実施するための制御情報、ホストコンピュータ30から送信された印字データ等が記録される。
The
そして、ROM33には、プリンタ10の動作を制御するためのプログラムが記録される。
The ROM 33 records a program for controlling the operation of the
なお、前記テーブル11、用紙セット検出センサ21、用紙斜行検出センサ23、CPU31、RAM32、ROM33等によって媒体検出装置が、該媒体検出装置及び媒体搬送路Rt1、フロントフィードローラ対15、リヤフィードローラ対17等によって媒体搬送装置が構成される。
The table 11, paper set
ところで、本実施の形態においては、印字を行う用紙Pとして薄紙、通常用紙及び厚紙を使用することができ、操作者は、プリンタ10の操作部を操作することによって、印字モードを設定し、薄紙を使用して薄紙モードで、通常用紙を使用して通常モードで、厚紙を使用して厚紙モードで印字を行うことができる。
By the way, in the present embodiment, thin paper, normal paper, and thick paper can be used as the paper P to be printed, and the operator sets the print mode by operating the operation unit of the
この場合、前記用紙有無判断処理部Pr2によって、プリンタ10にセットされた用紙Pの有無を判断するに当たり、用紙セット検出センサ21において用紙Pの透過率に応じたセンサ出力が発生させられるので、発光部21eの発光出力は、薄紙モードが設定されたときに最も小さく、通常モードが設定されたとき及び厚紙モードが設定されたときの順にセンサの出力が大きくなるように設定される。
In this case, when the paper presence / absence determination processing unit Pr2 determines the presence / absence of the paper P set in the
すなわち、薄紙を使用して薄紙モードで印字を行う場合、薄紙の用紙厚が極めて小さいので、発光出力を大きくすると、発光部21rで発光させられた光のほとんどが用紙Pを透過し、用紙セット検出センサ21においてセンサ出力が大きくなりすぎ、用紙Pの有無を検出することができなくなってしまう。そこで、本実施の形態において、薄紙モードが設定された場合の発光部21eの発光出力は小さく設定される。
That is, when printing in thin paper mode using thin paper, the paper thickness of the thin paper is extremely small. Therefore, when the light emission output is increased, most of the light emitted by the
これに対して、通常用紙を使用して通常モードで印字を行う場合、通常用紙の用紙厚が小さくないので、発光出力を大きくしても、発光部21eで発光させられた光のほとんどが用紙Pを透過せず、用紙セット検出センサ21においてセンサ出力が大きくならない。そこで、本実施の形態において、通常モードが設定された場合の発光部21eの発光出力は薄紙と比較して大きく設定される。なお、トレーシングペーパーのような比較的透過率の高い用紙Pにおいては、通常モードが設定されても用紙Pを検出することができるので、発光出力は小さくされる。
On the other hand, when printing is performed in the normal mode using the normal paper, the paper thickness of the normal paper is not small. Therefore, even if the light emission output is increased, most of the light emitted by the
また、厚紙を使用して厚紙モードで印字を行う場合、厚紙の用紙厚が大きいので、発光出力を大きくしても、発光部21eで発光させられた光は用紙Pを透過せず、用紙セット検出センサ21においてセンサ出力が大きくならない。そこで、本実施の形態において、通常モードが設定された場合の発光部21eの発光出力は通常モードより大きく設定される。
Further, when printing in thick paper mode using thick paper, since the paper thickness of the thick paper is large, even if the light emission output is increased, the light emitted by the
そして、ROM33には、用紙Pの有無を検出するための、用紙セット検出センサ21の発光部21eにおける発光出力に応じて設定され、用紙セット検出センサ21のセンサ出力と比較するための複数のスライスレベルが記録されたスライスレベル記録エリアが形成され、該スライスレベル記録エリアに、用紙Pの厚さに応じて設定された印字モードごとに異ならせて設定された、第1の閾値としての薄紙用のスライスレベルth1、第2の閾値としての通常用のスライスレベルth2及び第3の閾値としての厚紙用のスライスレベルth3が記録される。
In the ROM 33, a plurality of slices are set according to the light emission output of the
前記薄紙用のスライスレベルth1は、薄紙モードで印字を行う際に用紙セット検出センサ21のセンサ出力と比較するためのスライスレベルであり、通常用のスライスレベルth2は、通常モードで印字を行う際に用紙セット検出センサ21のセンサ出力と比較するためのスライスレベルであり、厚紙用のスライスレベルth3は、厚紙モードで印字を行う際に用紙セット検出センサ21のセンサ出力と比較するためのスライスレベルである。
The slice level th1 for thin paper is a slice level for comparison with the sensor output of the paper
ところで、前記用紙セット検出センサ21においては、プリンタ10に用紙Pがセットされると、発光部21eと受光部21rとが用紙Pによって遮られ、センサ出力が大きくなり、前記用紙有無判断処理部Pr2が、プリンタ10にセットされた用紙Pが有ると判断するが、用紙セット検出センサ21に紙片、紙粉、埃等の付着物が付着し、発光部21eで発光させられた光が受光部21rによって受光されにくくなることがあり、その場合、センサ出力がスライスレベルより大きくなると、用紙有無判断処理部Pr2が用紙Pの有無を誤って判断してしまう。
By the way, in the paper
そこで、本実施の形態においては、前述されたように、ROM33のスライスレベル記録エリアに、互いに値が異なる薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3が記録されるようになっている。 Therefore, in the present embodiment, as described above, the slice level th1 for thin paper, the slice level th2 for normal paper, and the slice level th3 for thick paper having different values are recorded in the slice level recording area of the ROM 33. It has become so.
なお、ROM33は、不揮発性メモリであり、記録されたデータを変更することはできない。したがって、前記薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3は、スライスレベル生成処理部Pr1によって、プリンタ10の製造時に設定され、記録されるか、又はプリンタ10の修理時等においてプリンタ10の操作部において所定の方法でスイッチ操作を行うことによって、再設定され、記録される。
The ROM 33 is a non-volatile memory, and recorded data cannot be changed. Therefore, the slice level th1 for thin paper, the slice level th2 for normal paper, and the slice level th3 for thick paper are set and recorded by the slice level generation processing unit Pr1 when the
次に、薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3を生成するためのスライスレベル生成処理部Pr1の動作について説明する。 Next, the operation of the slice level generation processing unit Pr1 for generating the slice level th1 for thin paper, the slice level th2 for normal paper, and the slice level th3 for thick paper will be described.
図4は本発明の第1の実施の形態におけるスライスレベル生成処理部の動作を示す第1のフローチャート、図5は本発明の第1の実施の形態におけるスライスレベル生成処理部の動作を示す第2のフローチャート、図6は本発明の第1の実施の形態におけるスライスレベル生成処理部の動作を説明するための図である。 FIG. 4 is a first flowchart showing an operation of the slice level generation processing unit in the first embodiment of the present invention, and FIG. 5 is a first flowchart showing an operation of the slice level generation processing unit in the first embodiment of the present invention. FIG. 6 is a flowchart for explaining the operation of the slice level generation processing unit according to the first embodiment of the present invention.
まず、スライスレベル生成処理部Pr1は、各用紙セット検出センサ21のゲイン値、すなわち、各用紙セット検出センサ21において発光部21eを発光させるときの発光出力のゲイン値を最小ゲイン値にする。
First, the slice level generation processing unit Pr1 sets the gain value of each paper set
次に、スライスレベル生成処理部Pr1は、薄紙用のスライスレベルth1を生成するための変数V1及びあらかじめ設定された加算値αをセットする。 Next, the slice level generation processing unit Pr1 sets a variable V1 for generating a slice level th1 for thin paper and a preset addition value α.
続いて、スライスレベル生成処理部Pr1は、薄紙用のスライスレベルth1を生成するかどうかを判断し、薄紙用のスライスレベルth1を生成する場合、発光部21eを発光させ、用紙セット検出センサ21のセンサ出力Vを読み込む。
Subsequently, the slice level generation processing unit Pr1 determines whether or not to generate the slice level th1 for thin paper. When the slice level th1 for thin paper is generated, the
一方、薄紙用のスライスレベルth1を生成しない場合、スライスレベル生成処理部Pr1は、通常用のスライスレベルth2を生成するための変数V2及び前記加算値αをセットし、通常用のスライスレベルth2を生成するかどうかを判断し、通常用のスライスレベルth2を生成する場合、発光部21eを発光させ、用紙セット検出センサ21のセンサ出力Vを読み込む。
On the other hand, when the slice level th1 for thin paper is not generated, the slice level generation processing unit Pr1 sets the variable V2 for generating the normal slice level th2 and the addition value α, and sets the normal slice level th2 When it is determined whether or not to generate the normal slice level th2, the
また、通常用のスライスレベルth2を生成しない場合、スライスレベル生成処理部Pr1は、厚紙用のスライスレベルth3を生成するための変数V3及び前記加算値αをセットし、発光部21eを発光させ、用紙セット検出センサ21のセンサ出力Vを読み込む。
When the normal slice level th2 is not generated, the slice level generation processing unit Pr1 sets the variable V3 and the added value α for generating the slice level th3 for cardboard, and causes the
このようにして、発光部21eを発光させ、用紙セット検出センサ21のセンサ出力Vを読み込むと、スライスレベル生成処理部Pr1は、用紙セット検出センサ21のセンサ出力Vが、あらかじめ設定された値、すなわち、XX〔V〕未満であるかどうかを判断し、用紙セット検出センサ21のセンサ出力VがXX〔V〕未満である場合、現在の発光出力のゲイン値を用紙Pの有無を検出するときのゲイン値にするとともに、現在の変数V1〜V3に加算値αを加算した値を薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3にする。なお、XX〔V〕はセンサ出力Vが最大値Vmax(=3.3〔V〕)にならないように設定される。
In this way, when the
そして、スライスレベル生成処理部Pr1は、すべての用紙セット検出センサ21の薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3を生成したかどうかを判断し、すべての用紙セット検出センサ21の薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3を生成した場合、薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3並びに発光出力のゲイン値をROM33に記録する。
Then, the slice level generation processing unit Pr1 determines whether or not the slice level th1 for thin paper, the slice level th2 for normal paper, and the slice level th3 for thick paper of all the paper
また、すべての用紙セット検出センサ21の薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3を生成してはいない場合、スライスレベル生成処理部Pr1は、次の用紙セット検出センサ21のゲイン値を最小ゲイン値にする。
If the slice level th1 for thin paper, the slice level th2 for normal paper, and the slice level th3 for thick paper are not generated by all the paper
そして、発光部21eを発光させたときの用紙セット検出センサ21のセンサ出力Vが、XX〔V〕以上である場合、スライスレベル生成処理部Pr1は、用紙セット検出センサ21のすべてのゲイン値でセンサ出力VがXX〔V〕以上であるかどうかを判断し、用紙セット検出センサ21のすべてのゲイン値でセンサ出力VがXX〔V〕以上である場合、エラーを発生させる。
When the sensor output V of the paper
一方、用紙セット検出センサ21のすべてのゲイン値でセンサ出力VがXX〔V〕以上ではない場合、スライスレベル生成処理部Pr1は、ゲイン値を一つ上げ、用紙セット検出センサ21のセンサ出力VがXX〔V〕未満になるまで、各用紙セット検出センサ21の発光部21eの発光出力を大きくする。
On the other hand, when the sensor output V is not equal to or higher than XX [V] at all the gain values of the paper
次に、図4及び5のフローチャートについて説明する。
ステップS1 スライスレベル生成処理部Pr1は各用紙セット検出センサ21のゲイン値を最小ゲイン値にする。
ステップS2 スライスレベル生成処理部Pr1は変数V1及び加算値αをセットする。
ステップS3 スライスレベル生成処理部Pr1は薄紙用のスライスレベルth1を生成するかどうかを判断する。薄紙用のスライスレベルth1を生成する場合はステップS7に、薄紙用のスライスレベルth1を生成しない場合はステップS4に進む。
ステップS4 スライスレベル生成処理部Pr1は変数V2及び加算値αをセットする。
ステップS5 スライスレベル生成処理部Pr1は通常用のスライスレベルth2を生成するかどうかを判断する。通常用のスライスレベルth2を生成する場合はステップS7に、通常用のスライスレベルth2を生成しない場合はステップS6に進む。
ステップS6 スライスレベル生成処理部Pr1は変数V3及び加算値αをセットする。
ステップS7 スライスレベル生成処理部Pr1はセンサ出力Vを読み込む。
ステップS8 スライスレベル生成処理部Pr1はセンサ出力VがXX〔V〕未満であるかどうかを判断する。センサ出力VがXX〔V〕未満である場合はステップS9に、センサ出力VがXX〔V〕以上である場合はステップS14に進む。
ステップS9 スライスレベル生成処理部Pr1は現在の発光出力のゲイン値を用紙Pの有無を検出するときのゲイン値にする。
ステップS10 スライスレベル生成処理部Pr1は現在の変数V1〜V3に加算値αを加算した値を薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3にする。
ステップS11 スライスレベル生成処理部Pr1はすべての用紙セット検出センサ21のスライスレベルを生成したかどうかを判断する。すべての用紙セット検出センサ21のスライスレベルを生成した場合はステップS12に、すべての用紙セット検出センサ21のスライスレベルを生成してはいない場合はステップS13に進む。
ステップS12 スライスレベル生成処理部Pr1は薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3並びに発光出力のゲイン値をROM33に記録し、処理を終了する。
ステップS13 スライスレベル生成処理部Pr1は次の用紙セット検出センサ21のゲイン値を最小ゲイン値にし、ステップS2に戻る。
ステップS14 スライスレベル生成処理部Pr1は用紙セット検出センサ21のすべてのゲイン値でセンサ出力VがXX〔V〕以上であるかどうかを判断する。用紙セット検出センサ21のすべてのゲイン値でセンサ出力VがXX〔V〕以上である場合はステップS15に進み、用紙セット検出センサ21のすべてのゲイン値でセンサ出力VがXX〔V〕以上ではない場合はステップS16に進む。
ステップS15 スライスレベル生成処理部Pr1はエラーを発生させる。
ステップS16 スライスレベル生成処理部Pr1はゲイン値を一つ上げ、ステップS2に戻る。
Next, the flowcharts of FIGS. 4 and 5 will be described.
Step S1 The slice level generation processing unit Pr1 sets the gain value of each paper set
Step S2: The slice level generation processing unit Pr1 sets the variable V1 and the addition value α.
Step S3: The slice level generation processing unit Pr1 determines whether to generate a slice level th1 for thin paper. If the slice level th1 for thin paper is generated, the process proceeds to step S7. If the slice level th1 for thin paper is not generated, the process proceeds to step S4.
Step S4: The slice level generation processing unit Pr1 sets the variable V2 and the addition value α.
Step S5: The slice level generation processing unit Pr1 determines whether or not to generate a normal slice level th2. If the normal slice level th2 is to be generated, the process proceeds to step S7. If the normal slice level th2 is not to be generated, the process proceeds to step S6.
Step S6: The slice level generation processing unit Pr1 sets the variable V3 and the addition value α.
Step S7 The slice level generation processing unit Pr1 reads the sensor output V.
Step S8: The slice level generation processing unit Pr1 determines whether or not the sensor output V is less than XX [V]. If the sensor output V is less than XX [V], the process proceeds to step S9. If the sensor output V is greater than or equal to XX [V], the process proceeds to step S14.
Step S9: The slice level generation processing unit Pr1 sets the gain value of the current light emission output to the gain value when detecting the presence or absence of the paper P.
Step S10 The slice level generation processing unit Pr1 sets the values obtained by adding the addition value α to the current variables V1 to V3 to the thin paper slice level th1, the normal slice level th2, and the thick paper slice level th3.
Step S11: The slice level generation processing unit Pr1 determines whether the slice levels of all the paper
Step S12 The slice level generation processing unit Pr1 records the slice level th1 for thin paper, the slice level th2 for normal paper, the slice level th3 for thick paper, and the gain value of the light emission output in the ROM 33, and the process is terminated.
Step S13: The slice level generation processing unit Pr1 sets the gain value of the next paper
Step S14 The slice level generation processing unit Pr1 determines whether or not the sensor output V is XX [V] or more for all the gain values of the paper
Step S15: The slice level generation processing unit Pr1 generates an error.
Step S16: The slice level generation processing unit Pr1 increases the gain value by one and returns to step S2.
次に、単票の用紙Pを使用して印字を行うときのCPU31の動作について説明する。 Next, the operation of the CPU 31 when performing printing using a single sheet of paper P will be described.
図7は本発明の第1の実施の形態におけるCPUの動作を示す第1のフローチャート、図8は本発明の第1の実施の形態におけるCPUの動作を示す第2のフローチャートである。 FIG. 7 is a first flowchart showing the operation of the CPU in the first embodiment of the present invention, and FIG. 8 is a second flowchart showing the operation of the CPU in the first embodiment of the present invention.
まず、CPU31の用紙有無判断処理部Pr2は、用紙有無判断処理を行い、プリンタ10に用紙Pがセットされたかどうかを判断する。
First, the paper presence / absence determination processing unit Pr2 of the CPU 31 performs a paper presence / absence determination process to determine whether or not the paper P is set in the
そのために、前記用紙有無判断処理部Pr2は、用紙セット検出センサ21のセンサ出力Vを定期的に監視することによって、用紙Pのプリンタ10へのセット状態の変化を把握する。
For this purpose, the paper presence / absence determination processing unit Pr2 periodically monitors the sensor output V of the paper
用紙有無判断処理部Pr2によって、プリンタ10に用紙Pがセットされたと判断されると、給紙処理部Pr3は、まず、用紙Pの現在のセットされた位置から、媒体搬送路Rt1上における用紙幅検出センサ25の位置、すなわち、用紙幅検出位置までの用紙Pの搬送量であるフィード量を算出する。
When the paper presence / absence determination processing unit Pr2 determines that the paper P is set in the
続いて、給紙処理部Pr3は、各用紙斜行検出センサ23のセンサ出力をチェックし、センサ出力が閾値より大きく、用紙Pを検出している用紙斜行検出センサ23のうちの、最左端の用紙斜行検出センサ23の位置、及び最右端の用紙斜行検出センサ23の位置を算出する。このように、用紙Pを検出している用紙斜行検出センサ23のうちの、最左端の用紙斜行検出センサ23の位置及び最右端の用紙斜行検出センサ23の位置を算出することによって、主走査方向における用紙Pの位置をほぼ特定することができる。
Subsequently, the paper feed processing unit Pr3 checks the sensor output of each paper
次に、給紙処理部Pr3は、用紙Pの用紙幅検出位置までの給紙を開始し、用紙Pの用紙幅検出位置までの給紙を終了すると、印字ヘッド12を最左端の用紙斜行検出センサ23の次の用紙斜行検出センサ23(最左端の用紙斜行検出センサ23より一つ左の用紙斜行検出センサ23)の位置まで移動させ、用紙幅検出センサ25のセンサ出力に基づいて、用紙Pの左端部及び右端部の判定を開始する。
Next, the paper feed processing unit Pr3 starts feeding the paper P to the paper width detection position, and when the paper P is fed to the paper width detection position, the
なお、用紙幅検出センサ25は反射型の光学センサであるので、用紙幅検出センサ25の検出回路は、プラテン13上に用紙Pがなく、反射率が低い場合、発光部によって発生させられ、プラテン13で反射された光を受光部が受光したときのセンサ出力が小さく、プラテン13上に用紙Pがあり、反射率が高い場合、発光部によって発生させられ、プラテン13で反射された光を受光部が受光したときのセンサ出力が大きくなるように形成される。したがって、印字ヘッド12を最左端の用紙斜行検出センサ23の次の用紙斜行検出センサ23の位置から右方に移動させたときの用紙幅検出センサ25のセンサ出力が、小から大に変化したときに用紙Pの左端部を判定することができ、大から小に変化したときに用紙Pの右端部を判定することができる。
Since the paper
このようにして、用紙Pの左端部及び右端部の判定が行われ、用紙Pの左端部及び右端部の判定が終了すると、給紙処理部Pr3は、用紙Pの左端部の位置及び右端部の位置に基づいて用紙幅を算出する。 In this way, the determination of the left end portion and the right end portion of the sheet P is performed, and when the determination of the left end portion and the right end portion of the sheet P is completed, the paper feed processing unit Pr3 determines the position of the left end portion and the right end portion of the sheet P. The paper width is calculated based on the position of.
続いて、給紙処理部Pr3は、用紙Pの左端部の位置及び右端部の位置に基づいて、用紙Pの主走査方向における印字ヘッド12による印字の開始位置及び終了位置を算出するとともに、用紙Pの中央位置を算出し、印字ヘッド12を用紙Pの中央位置へ移動させる。
Subsequently, the paper feed processing unit Pr3 calculates the start position and the end position of printing by the
そして、給紙処理部Pr3は、媒体搬送路Rt1上における用紙幅検出位置から、印字ヘッド12によって用紙Pに対して印字を実行する位置、すなわち、印字実行位置までのフィード量を算出し、用紙Pの印字実行位置までの給紙を開始する。なお、印字実行位置は、用紙Pの搬送方向における用紙幅検出位置より上流側であっても、下流側であってもよい。
The paper feed processing unit Pr3 calculates the feed amount from the paper width detection position on the medium conveyance path Rt1 to the position where the
用紙Pの印字実行位置までの給紙が終了すると、給紙処理部Pr3は、給紙処理を終了する。 When the paper supply to the print execution position of the paper P is completed, the paper supply processing unit Pr3 ends the paper supply process.
次に、図7及び8のフローチャートについて説明する。
ステップS21 用紙有無判断処理部Pr2は用紙有無判断処理を行う。
ステップS22 用紙有無判断処理部Pr2はプリンタ10に用紙Pがセットされたかどうかを判断する。プリンタ10に用紙Pがセットされた場合はステップS23に進む。
ステップS23 給紙処理部Pr3は用紙幅検出位置までの用紙Pのフィード量を算出する。
ステップS24 給紙処理部Pr3は最左端の用紙斜行検出センサ23の位置を算出する。
ステップS25 給紙処理部Pr3は最右端の用紙斜行検出センサ23の位置を算出する。
ステップS26 給紙処理部Pr3は用紙幅検出位置までの給紙を開始する。
ステップS27 給紙処理部Pr3は用紙幅検出位置までの給紙が終了したかどうかを判断する。用紙幅検出位置までの給紙が終了した場合はステップS28に進む。
ステップS28 給紙処理部Pr3は印字ヘッド12を最左端の用紙斜行検出センサ23の次の用紙斜行検出センサ23の位置まで移動させる。
ステップS29 給紙処理部Pr3は用紙Pの左端部及び右端部の判定を開始する。
ステップS30 給紙処理部Pr3は用紙Pの左端部及び右端部の判定が終了するのを待機する。
ステップS31 給紙処理部Pr3は印字の開始位置及び終了位置を算出する。
ステップS32 給紙処理部Pr3は用紙Pの中央位置を算出する。
ステップS33 給紙処理部Pr3は印字ヘッド12を用紙Pの中央位置へ移動させる。
ステップS34 給紙処理部Pr3は印字実行位置までのフィード量を算出する。
ステップS35 給紙処理部Pr3は印字実行位置までの給紙を開始する。
ステップS36 給紙処理部Pr3は印字実行位置までの給紙が終了するのを待機する。
Next, the flowcharts of FIGS. 7 and 8 will be described.
Step S21 The paper presence / absence determination processing unit Pr2 performs paper presence / absence determination processing.
Step S22 The paper presence / absence determination processing unit Pr2 determines whether or not the paper P is set in the
Step S23 The paper feed processing unit Pr3 calculates the feed amount of the paper P up to the paper width detection position.
Step S24 The paper feed processing unit Pr3 calculates the position of the leftmost paper
Step S25 The paper feed processing unit Pr3 calculates the position of the rightmost sheet
Step S26 The paper feed processing unit Pr3 starts paper feed up to the paper width detection position.
Step S27 The paper feed processing unit Pr3 determines whether or not the paper feed up to the paper width detection position has been completed. If the paper feed to the paper width detection position is completed, the process proceeds to step S28.
Step S28 The paper feed processing unit Pr3 moves the
Step S29 The paper feed processing unit Pr3 starts the determination of the left end and the right end of the paper P.
Step S30 The paper feed processing unit Pr3 waits for the determination of the left end and the right end of the paper P to be completed.
Step S31 The paper feed processing unit Pr3 calculates the print start position and end position.
Step S32 The paper feed processing unit Pr3 calculates the center position of the paper P.
Step S33 The paper feed processing unit Pr3 moves the
Step S34 The paper feed processing unit Pr3 calculates the feed amount up to the print execution position.
Step S35 The paper feed processing unit Pr3 starts paper feed to the print execution position.
Step S36 The paper feed processing unit Pr3 waits for completion of paper feed to the print execution position.
次に、用紙有無判断処理のサブルーチンについて説明する。 Next, a subroutine for paper presence / absence determination processing will be described.
図9は本発明の第1の実施の形態における用紙有無判断処理のサブルーチンを示す第1の図、図10は本発明の第1の実施の形態における用紙有無判断処理のサブルーチンを示す第2の図である。 FIG. 9 is a first diagram showing a subroutine for paper presence / absence determination processing according to the first embodiment of the present invention, and FIG. 10 is a second flowchart showing a subroutine for paper presence / absence determination processing according to the first embodiment of the present invention. FIG.
まず、用紙有無判断処理部Pr2は、前回、単票の用紙Pがプリンタ10にセットされたときに読み込んだすべての用紙セット検出センサ21のセンサ出力VをRAM32に記録する。また、用紙有無判断処理部Pr2は、現時点におけるすべての用紙セット検出センサ21のセンサ出力VをRAM32に記録する。
First, the paper presence / absence determination processing unit Pr2 records in the
そして、用紙有無判断処理部Pr2は、現時点におけるすべての用紙セット検出センサ21のセンサ出力VをRAM32から読み出すとともに、現在、プリンタ10に薄紙モードが設定されているかどうかを判断し、薄紙モードが設定されている場合、すべての用紙セット検出センサ21のセンサ出力Vと薄紙用のスライスレベルth1とを比較し、薄紙モードが設定されていない場合、すべての用紙セット検出センサ21のセンサ出力Vと通常用のスライスレベルth2とを比較し、センサ出力が薄紙用のスライスレベルth1及び通常用のスライスレベルth2より大きい用紙セット検出センサ21、すなわち、媒体有り(以下、「用紙有り」という。)を検出した用紙セット検出センサ21が存在するかどうかを判断し、用紙有りを検出した用紙セット検出センサ21が存在しない場合、プリンタ10に用紙Pがセットされなかった旨を操作者に通知する。
Then, the paper presence / absence determination processing unit Pr2 reads the sensor outputs V of all the paper
一方、用紙有りを検出した用紙セット検出センサ21が存在する場合、プリンタ10に用紙Pがセットされていて用紙有りが検出されたのか、又は用紙セット検出センサ21に紙片、紙粉、埃等の付着物が付着してセンサ出力が大きくなり、用紙有りが検出されたのかを判断するために、用紙有無判断処理部Pr2は、すべての用紙セット検出センサ21が用紙有りを検出したかどうかを判断する。
On the other hand, when there is a paper
すべての用紙セット検出センサ21が用紙有りを検出した場合、印字モードの設定によって用紙有りが検出された可能性があるので、用紙有無判断処理部Pr2は、用紙セット検出センサ21のセンサ出力Vと、発光部21eの発光出力が大きくされたときのスライスレベルとを比較することによって、プリンタ10に用紙Pがセットされたかどうかを判断する。そのために、用紙有無判断処理部Pr2は、印字モードの設定の状況を確認し、現在設定されている印字モードに比べて、用紙Pの厚さが大きい印字モード、本実施の形態においては、発光部21eの発光出力が一段階上の印字モードを設定し、発光出力が一段階上の印字モードで用紙セット検出センサ21が用紙有りを検出するかどうかを判断し、用紙セット検出センサ21による用紙Pの検出結果が変化したかどうかを判断する。
When all the paper
すなわち、用紙有無判断処理部Pr2は、現在、薄紙モードが設定されているかどうかを判断し、薄紙モードが設定されている場合、通常モードを設定し、すべての用紙セット検出センサ21のセンサ出力Vと通常用のスライスレベルth2とを比較し、薄紙モードが設定されていない場合、厚紙モードを設定し、すべての用紙セット検出センサ21のセンサ出力Vと厚紙用のスライスレベルth3とを比較し、媒体無し(以下、「用紙無し」という。)を検出した用紙セット検出センサ21が存在するかどうかを判断する。
That is, the paper presence / absence determination processing unit Pr2 determines whether or not the thin paper mode is currently set. If the thin paper mode is set, the normal mode is set and the sensor outputs V of all the paper
用紙無しを検出した用紙セット検出センサ21が存在しない場合、用紙有無判断処理部Pr2は、プリンタ10に用紙がセットされなかったと判断し、プリンタ10に用紙がセットされなかった旨を操作者に通知する。
When there is no paper set
また、用紙無しを検出した用紙セット検出センサ21が存在する場合、用紙セット検出センサ21による用紙Pの検出結果が変化したので、薄紙モード又は通常モードで、紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着したことにより、すべての用紙セット検出センサ21が用紙有りを検出した可能性がある。
In addition, when the paper
そこで、用紙有無判断処理部Pr2は、スライスレベルの設定を要求し、用紙セット検出センサ21のセンサ出力Vと比較するためのスライスレベルを、発光出力が一段階上の印字モードのスライスレベルに変更する。
Therefore, the paper presence / absence determination processing unit Pr2 requests the setting of the slice level, and changes the slice level for comparison with the sensor output V of the paper
そして、一般に、用紙Pの両端で紙片、紙粉、埃等の付着物が発生し、用紙セット検出センサ21に付着しやすいことから、用紙有無判断処理部Pr2は、用紙Pの搬送によって紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着しやすい領域を予測し、予測した領域の近傍にある用紙セット検出センサ21が用紙有りを検出した場合に、用紙セット検出センサ21のセンサ出力Vが紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着したことによる影響を受けていると判断して、用紙セット検出センサ21の検出結果を用紙有無判断処理の対象から外す。
In general, adhering material such as paper pieces, paper dust, and dust is generated at both ends of the paper P and easily adheres to the paper
そのために、用紙有無判断処理部Pr2は、用紙Pの左端部及び右端部の判定履歴、並びに用紙セット検出センサ21の検出結果を確認し、用紙Pの左端部及び右端部の位置と、用紙有りを検出した用紙セット検出センサ21の位置とが近いかどうかによって、紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着したことによる用紙セット検出センサ21のセンサ出力への影響があるかどうかを判断する。
For this purpose, the paper presence / absence determination processing unit Pr2 confirms the determination history of the left and right edges of the paper P and the detection result of the paper
用紙セット検出センサ21のセンサ出力への影響がある場合、用紙有無判断処理部Pr2は、用紙有りを検出した用紙セット検出センサ21以外の用紙セット検出センサ21の検出結果を用紙有無判断処理の対象とし、用紙セット検出センサ21のセンサ出力への影響がない場合、用紙無しを検出したすべての用紙セット検出センサ21の検出結果を用紙有無判断処理の対象とし、用紙有無判断処理の対象とした用紙セット検出センサ21における前回のセンサ出力VをRAM32から読み出し、前回のセンサ出力Vと今回のセンサ出力Vとの変化を確認し、用紙セット検出センサ21による用紙Pの検出結果が、用紙無しから用紙有りになったかどうかを判断する。
When there is an influence on the sensor output of the paper
そして、用紙有無判断処理部Pr2は、用紙セット検出センサ21による用紙Pの検出結果が用紙無しから用紙有りになった場合、プリンタ10に用紙Pがセットされたと判断し、プリンタ10に用紙Pがセットされた旨を操作者に通知し、用紙セット検出センサ21による用紙Pの検出結果が用紙無しから用紙有りにならなかった場合、プリンタ10に用紙Pがセットされなかったと判断し、プリンタ10に用紙Pがセットされなかった旨を操作者に通知する。
Then, the paper presence / absence determination processing unit Pr2 determines that the paper P is set in the
また、用紙有りを検出した用紙セット検出センサ21が存在する場合において、すべての用紙セット検出センサ21が用紙有りを検出してはおらず、特定の用紙セット検出センサ21が用紙有りを検出した場合は、すべての用紙セット検出センサ21が用紙有りを検出した場合と同様に、用紙セット検出センサ21に紙片、紙粉、埃等の付着物が付着して、特定の用紙セット検出センサ21において用紙有りが検出された可能性がある。
Further, when there is a paper
そこで、用紙有無判断処理部Pr2は、用紙Pの左端部及び右端部の判定履歴、並びに用紙セット検出センサ21の検出結果を確認し、用紙Pの左端部及び右端部の位置と、用紙有りを検出した用紙セット検出センサ21の位置とが近いかどうかによって、紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着したことによる用紙セット検出センサ21のセンサ出力への影響があるかどうかを判断する。
Therefore, the paper presence / absence determination processing unit Pr2 confirms the determination history of the left and right edges of the paper P and the detection result of the paper
用紙セット検出センサ21のセンサ出力への影響がある場合、用紙有無判断処理部Pr2は、用紙有りを検出した用紙セット検出センサ21以外の用紙セット検出センサ21の検出結果を用紙有無判断処理の対象とし、用紙セット検出センサ21のセンサ出力への影響がない場合、用紙無しを検出したすべての用紙セット検出センサ21の検出結果を用紙有無判断処理の対象とし、用紙有無判断処理の対象とした用紙セット検出センサ21における前回のセンサ出力VをRAM32から読み出し、前回のセンサ出力Vと今回のセンサ出力Vとの変化を確認し、用紙セット検出センサ21による用紙Pの検出結果が、用紙無しから用紙有りになったかどうかを判断する。
When there is an influence on the sensor output of the paper
そして、用紙有無判断処理部Pr2は、用紙セット検出センサ21による用紙Pの検出結果が用紙無しから用紙有りになった場合、プリンタ10に用紙Pがセットされたと判断し、プリンタ10に用紙Pがセットされた旨を操作者に通知し、用紙セット検出センサ21による用紙Pの検出結果が用紙無しから用紙有りにならなかった場合、プリンタ10に用紙Pがセットされなかったと判断し、プリンタ10に用紙Pがセットされなかった旨を操作者に通知する。
Then, the paper presence / absence determination processing unit Pr2 determines that the paper P is set in the
次に、図9及び10のフローチャートについて説明する。
ステップS21−1 用紙有無判断処理部Pr2は前回読み込んだすべての用紙セット検出センサ21のセンサ出力VをRAM32に記録する。
ステップS21−2 用紙有無判断処理部Pr2は現時点におけるすべての用紙セット検出センサ21のセンサ出力VをRAM32に記録する。
ステップS21−3 用紙有無判断処理部Pr2は薄紙モードが設定されているかどうかを判断する。薄紙モードが設定されている場合はステップS21−4に、薄紙モードが設定されていない場合はステップS21−5に進む。
ステップS21−4 用紙有無判断処理部Pr2はセンサ出力Vと薄紙用のスライスレベルth1とを比較する。
ステップS21−5 用紙有無判断処理部Pr2はセンサ出力Vと通常用のスライスレベルth2とを比較する。
ステップS21−6 用紙有無判断処理部Pr2は用紙有りを検出した用紙セット検出センサ21が存在するかどうかを判断する。用紙有りを検出した用紙セット検出センサ21が存在する場合はステップS21−7に、用紙有りを検出した用紙セット検出センサ21が存在しない場合はステップS21−20に進む。
ステップS21−7 用紙有無判断処理部Pr2はすべての用紙セット検出センサ21が用紙有りを検出したかどうかを判断する。すべての用紙セット検出センサ21が用紙有りを検出した場合はステップS21−8に、すべての用紙セット検出センサ21が用紙有りを検出しなかった場合はステップS21−13に進む。
ステップS21−8 用紙有無判断処理部Pr2は薄紙モードが設定されているかどうかを判断する。薄紙モードが設定されている場合はステップS21−9に、薄紙モードが設定されていない場合はステップS21−10に進む。
ステップS21−9 用紙有無判断処理部Pr2はセンサ出力Vと通常用のスライスレベルth2とを比較する。
ステップS21−10 用紙有無判断処理部Pr2はセンサ出力Vと厚紙用のスライスレベルth3とを比較する。
ステップS21−11 用紙有無判断処理部Pr2は用紙無しを検出した用紙セット検出センサ21が存在するかどうかを判断する。用紙無しを検出した用紙セット検出センサ21が存在する場合はステップS21−12に、用紙無しを検出した用紙セット検出センサ21が存在しない場合はステップS21−20に進む。
ステップS21−12 用紙有無判断処理部Pr2はスライスレベルの設定を要求する。
ステップS21−13 用紙有無判断処理部Pr2は用紙Pの左端部及び右端部の判定履歴、並びに用紙セット検出センサ21の検出結果を確認する。
ステップS21−14 用紙有無判断処理部Pr2はセンサ出力への影響があるかどうかを判断する。センサ出力への影響がある場合はステップS21−15に、センサ出力への影響がない場合はステップS21−19に進む。
ステップS21−15 用紙有無判断処理部Pr2は用紙有りを検出した用紙セット検出センサ21以外の用紙セット検出センサ21の検出結果を用紙有無判断処理の対象とする。
ステップS21−16 用紙有無判断処理部Pr2は前回のセンサ出力Vと今回のセンサ出力Vとの変化を確認する。
ステップS21−17 用紙有無判断処理部Pr2は検出結果が用紙無しから用紙有りになったかどうかを判断する。検出結果が用紙無しから用紙有りになった場合はステップS21−18に、検出結果が用紙無しから用紙有りにならなかった場合はステップS21−20に進む。
ステップS21−18 用紙有無判断処理部Pr2はプリンタ10に用紙Pがセットされた旨を通知し、リターンする。
ステップS21−19 用紙有無判断処理部Pr2は用紙無しを検出したすべての用紙セット検出センサ21の検出結果を用紙有無判断処理の対象とする。
ステップS21−20 用紙有無判断処理部Pr2はプリンタ10に用紙Pがセットされなかった旨を通知し、リターンする。
Next, the flowcharts of FIGS. 9 and 10 will be described.
Step S21-1 The paper presence / absence determination processing unit Pr2 records the sensor outputs V of all the paper
Step S21-2 The paper presence / absence determination processing unit Pr2 records the sensor outputs V of all the paper
Step S21-3: The paper presence / absence determination processing unit Pr2 determines whether the thin paper mode is set. If the thin paper mode is set, the process proceeds to step S21-4. If the thin paper mode is not set, the process proceeds to step S21-5.
Step S21-4 The paper presence / absence determination processing unit Pr2 compares the sensor output V with the slice level th1 for thin paper.
Step S21-5 The paper presence / absence determination processing unit Pr2 compares the sensor output V with the normal slice level th2.
Step S21-6 The paper presence / absence determination processing unit Pr2 determines whether or not there is a paper
Step S21-7: Paper presence / absence determination processing unit Pr2 determines whether all the paper
Step S21-8: The paper presence / absence determination processing unit Pr2 determines whether or not the thin paper mode is set. If the thin paper mode is set, the process proceeds to step S21-9. If the thin paper mode is not set, the process proceeds to step S21-10.
Step S21-9 The paper presence / absence determination processing unit Pr2 compares the sensor output V with the normal slice level th2.
Step S21-10 The paper presence / absence determination processing unit Pr2 compares the sensor output V with the thick paper slice level th3.
Step S21-11: The paper presence / absence determination processing unit Pr2 determines whether there is a paper
Step S21-12 The paper presence / absence determination processing unit Pr2 requests the setting of the slice level.
Step S21-13 The sheet presence / absence determination processing unit Pr2 confirms the determination history of the left and right ends of the sheet P and the detection result of the sheet set
Step S21-14 The paper presence / absence determination processing unit Pr2 determines whether there is an influence on the sensor output. If there is an influence on the sensor output, the process proceeds to step S21-15, and if there is no influence on the sensor output, the process proceeds to step S21-19.
Step S21-15 The paper presence / absence determination processing unit Pr2 sets the detection result of the paper
Step S21-16 The paper presence / absence determination processing unit Pr2 confirms a change between the previous sensor output V and the current sensor output V.
Step S21-17 The sheet presence / absence determination processing unit Pr2 determines whether the detection result is from the absence of sheets to the presence of sheets. If the detection result is from the absence of paper to the presence of paper, the process proceeds to step S21-18. If the detection result is not from the absence of paper, the process proceeds to step S21-20.
Step S21-18 The paper presence / absence determination processing unit Pr2 notifies the
Step S21-19 The paper presence / absence determination processing unit Pr2 sets the detection results of all the paper
Step S21-20 The paper presence / absence determination processing unit Pr2 notifies the
ところで、前記用紙有無判断処理部Pr2による用紙有無判断処理においては、紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着して、用紙セット検出センサ21のセンサ出力Vがスライスレベルより大きくなると、発光部21rの発光出力が一段階上の印字モードが設定されるようになっているが、用紙セット検出センサ21の使用状況によって、紙片、紙粉、埃等の付着物の付着に関係なく、用紙セット検出センサ21のセンサ出力Vがスライスレベルより大きくなることがある。
By the way, in the paper presence / absence determination processing by the paper presence / absence determination processing unit Pr2, adhering substances such as paper pieces, paper dust, and dust adhere to the paper
そこで、本実施の形態においては、印字が終了し、用紙Pが印字部から排出されたときに、排紙処理部Pr5によって薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3が設定されるようになっている。 Therefore, in the present embodiment, when printing is completed and the paper P is discharged from the printing unit, the paper discharge processing unit Pr5 performs the thin paper slice level th1, the normal slice level th2, and the thick paper slice. Level th3 is set.
次に、排紙処理部Pr5の動作について説明する。 Next, the operation of the paper discharge processing unit Pr5 will be described.
図11は本発明の第1の実施の形態における排紙処理部の動作を示すフローチャートである。 FIG. 11 is a flowchart showing the operation of the paper discharge processing unit in the first embodiment of the present invention.
まず、排紙処理部Pr5は、例えば、印字が終了したときのように、用紙Pが印字部に給紙されたかどうかを判断し、用紙Pが印字部に給紙された場合、用紙Pを排出するための搬送量である最大のフィード量を算出する。 First, the paper discharge processing unit Pr5 determines whether or not the paper P has been fed to the printing unit, for example, when printing is finished, and if the paper P is fed to the printing unit, the paper P is removed. The maximum feed amount that is the transport amount for discharging is calculated.
続いて、排紙処理部Pr5は、スペースモータMsを駆動して、印字ヘッド12を用紙Pの中央位置に移動させ、フィードモータMfを駆動して排紙を開始する。
Subsequently, the paper discharge processing unit Pr5 drives the space motor Ms to move the
そして、排紙処理部Pr5は、用紙セット検出センサ21のセンサ出力Vを読み込み、用紙セット検出センサ21によって用紙無しが検出されたかどうかを判断し、用紙無しが検出されると、排紙を終了する。
Then, the paper discharge processing unit Pr5 reads the sensor output V of the paper
次に、排紙処理部Pr5は、前記用紙有無判断処理部Pr2による用紙有無判断処理において用紙セット検出センサ21によって発生させられたセンサ出力Vに応じて薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3の設定を変更する。そのために、排紙処理部Pr5は、用紙セット検出センサ21のセンサ出力が小さくなったかどうかを、前記用紙有無判断処理において、用紙セット検出センサ21のセンサ出力Vと比較するためのスライスレベルが、発光出力が一段階上の印字モードのスライスレベルに変更されたかどうかによって判断する。
Next, the paper discharge processing unit Pr5 determines the slice level th1 for thin paper and the normal slice according to the sensor output V generated by the paper
用紙セット検出センサ21のセンサ出力Vが大きくなり、用紙有無判断処理において、用紙セット検出センサ21のセンサ出力Vと比較するためのスライスレベルが発光出力が一段階上の印字モードのスライスレベルに変更された場合、排紙処理部Pr5は、ROM33のスライスレベル記録エリアを更新し、薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3の設定を変更する。
The sensor output V of the paper
次に、フローチャートについて説明する。
ステップS41 排紙処理部Pr5は用紙Pが印字部に給紙されたかどうかを判断する。用紙Pが印字部に給紙された場合はステップS42に進み、用紙Pが印字部に給紙されなかった場合は処理を終了する。
ステップS42 排紙処理部Pr5は用紙Pを排出するための最大のフィード量を算出する。
ステップS43 排紙処理部Pr5は印字ヘッド12を用紙Pの中央位置に移動させる。
ステップS44 排紙処理部Pr5は排紙を開始する。
ステップS45 排紙処理部Pr5は用紙無しが検出されたかどうかを判断する。用紙無しが検出された場合はステップS46に進む。
ステップS46 排紙処理部Pr5はセンサ出力Vが小さくなったかどうかを判断する。センサ出力Vが小さくなった場合はステップS47に進み、センサ出力Vが小さくならなかった場合は処理を終了する。
ステップS47 排紙処理部Pr5は薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3の設定を変更する。
Next, a flowchart will be described.
Step S41 The paper discharge processing unit Pr5 determines whether or not the paper P is fed to the printing unit. When the paper P is fed to the printing unit, the process proceeds to step S42, and when the paper P is not fed to the printing unit, the process ends.
Step S42 The paper discharge processing unit Pr5 calculates the maximum feed amount for discharging the paper P.
Step S43 The paper discharge processing unit Pr5 moves the
Step S44 The paper discharge processing unit Pr5 starts paper discharge.
Step S45: The paper discharge processing unit Pr5 determines whether or not paper is detected. If no paper is detected, the process proceeds to step S46.
Step S46 The paper discharge processing unit Pr5 determines whether or not the sensor output V has decreased. If the sensor output V has decreased, the process proceeds to step S47, and if the sensor output V has not decreased, the process ends.
Step S47 The paper discharge processing section Pr5 changes the settings of the thin paper slice level th1, the normal slice level th2, and the thick paper slice level th3.
このように、本実施の形態においては、用紙セット検出センサ21によって用紙有りが検出された場合に、用紙有無判断処理部Pr2が、用紙セット検出センサ21のセンサ出力Vと、発光部21eの発光出力が大きくされたときのスライスレベルとを比較することによって、プリンタ10にセットされた用紙Pの有無を判断するので、用紙セット検出センサ21に紙片、紙粉、埃等の付着物が付着していても、プリンタ10にセットされた用紙Pの有無を誤って判断することがない。
As described above, in the present embodiment, when the presence of a sheet is detected by the sheet set
また、給紙処理部Pr3によって給紙処理が行われているときに、用紙Pの左端部及び右端部が判定され、用紙Pの左端部及び右端部の判定履歴、及び用紙セット検出センサ21による用紙Pの有無の検出結果が確認され、紙片、紙粉、埃等の付着物が用紙セット検出センサ21に付着したことによる用紙セット検出センサ21のセンサ出力Vへの影響がある場合に、用紙有りを検出した用紙セット検出センサ21以外の用紙セット検出センサ21の検出結果が用紙有無判断処理の対象にされるので、プリンタ10にセットされた用紙Pの有無を誤って判断することがない。
Further, when the paper feed process is performed by the paper feed processing unit Pr3, the left end portion and the right end portion of the paper P are determined, the determination history of the left end portion and the right end portion of the paper P, and the paper
そして、用紙Pがプリンタ10外に排紙されたときに、用紙有無判断処理において用紙セット検出センサ21によって発生させられたセンサ出力Vに応じて薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3の設定が変更されるので、用紙セット検出センサ21のセンサ出力Vに最も適した薄紙用のスライスレベルth1、通常用のスライスレベルth2及び厚紙用のスライスレベルth3を設定することができ、プリンタ10にセットされた用紙Pの有無を誤って判断することがない。
When the paper P is discharged out of the
ところで、用紙Pが印字部に給紙されてから、印字部において印字が行われ、用紙Pが印字部からプリンタ10外に排紙されるまでの用紙Pの搬送、印字等によって、プリンタ10における用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等に紙片、紙粉、埃等が落下して付着物として付着すると、次の用紙Pに対する給紙処理及び用紙幅算出処理等を正常に行うことができなくなってしまう。
By the way, printing is performed in the printing unit after the paper P is fed to the printing unit, and the printing in the
次に、用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等に付着した紙片、紙粉、埃等の付着物を除去することができるようにした本発明の第2の実施の形態について説明する。
Next, on the paper
図12は本発明の第2の実施の形態における排紙処理部の動作を示す第1のフローチャート、図13は本発明の第2の実施の形態における排紙処理部の動作を示す第2のフローチャート、図14は本発明の第2の実施の形態における排紙処理部の動作を説明するための第1の図、図15は本発明の第2の実施の形態における排紙処理部の動作を説明するための第2の図である。 FIG. 12 is a first flowchart showing the operation of the paper discharge processing unit in the second embodiment of the present invention, and FIG. 13 is a second flowchart showing the operation of the paper discharge processing unit in the second embodiment of the present invention. FIG. 14 is a flowchart for explaining the operation of the paper discharge processing unit according to the second embodiment of the present invention. FIG. 15 shows the operation of the paper discharge processing unit according to the second embodiment of the present invention. It is the 2nd figure for demonstrating.
まず、排紙処理部Pr5は、例えば、印字が終了したときのように、媒体としての用紙Pが印字部に給紙されたかどうかを判断し、用紙Pが印字部に給紙された場合、用紙Pを排出するための搬送量である最大のフィード量を算出する。 First, the paper discharge processing unit Pr5 determines whether or not the paper P as a medium is fed to the printing unit, for example, when printing is finished, and when the paper P is fed to the printing unit, The maximum feed amount that is the transport amount for discharging the paper P is calculated.
続いて、排紙処理部Pr5は、第1の駆動部としてのスペースモータMsを駆動して、印字ヘッド12を用紙Pの中央位置に移動させる。
Subsequently, the paper discharge processing unit Pr5 drives the space motor Ms as the first drive unit to move the
次に、排紙処理部Pr5は、用紙Pが給紙される前に、第1の媒体検出部としての用紙セット検出センサ21、及び第2の媒体検出部としての用紙斜行検出センサ23のうちの少なくとも一方によって用紙有りが検出されたかどうかを判断する。
Next, before the paper P is fed, the paper discharge processing unit Pr5 includes a paper
用紙有りが検出された場合、排紙処理部Pr5は、用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等に紙片、紙粉、埃等の付着物が付着していると判断し、第2の駆動部としてのフィードモータMfを駆動して排紙を開始し、用紙Pの端部、本実施の形態においては、後端Pbを利用して、用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等に付着した紙片、紙粉、埃等の付着物を除去する。
When the presence of paper is detected, the paper discharge processing unit Pr5 detects a piece of paper, paper dust, dust, etc. on the paper
そのために、排紙処理部Pr5は、用紙Pを前方及び後方に移動させることによって、複数回にわたりフィード動作を行う。すなわち、排紙処理部Pr5は、フィードモータMfを正方向に駆動し、印字部に給紙された用紙Pを、フォワードフィードして搬送方向における下流側に向けて搬送し、用紙Pの後端Pbを、用紙斜行検出センサ23が配設された位置より距離L1だけ下流側に置き、続いて、フィードモータMfを逆方向に駆動し、用紙Pをリバースフィードして搬送方向における上流側に向けて搬送し、用紙Pの後端Pbを、用紙セット検出センサ21が配設された位置より距離L2だけ上流側に置き、さらに、フィードモータMfを正方向に駆動し、用紙Pをフォワードフィードして搬送方向における下流側に向けて搬送し、用紙Pの後端Pbを、用紙斜行検出センサ23が配設された位置より距離L1だけ下流側に置く。
For this purpose, the paper discharge processing unit Pr5 performs the feed operation a plurality of times by moving the paper P forward and backward. That is, the paper discharge processing unit Pr5 drives the feed motor Mf in the forward direction to forward feed the paper P fed to the printing unit and transport it downstream in the transport direction. Pb is placed on the downstream side by a distance L1 from the position where the paper
続いて、排紙処理部Pr5は、紙片、紙粉、埃等の付着物を除去することができたかどうかを、用紙セット検出センサ21及び用紙斜行検出センサ23によって用紙有りが検出されたかどうかにより判断する。
Subsequently, the paper discharge processing unit Pr5 determines whether or not an adhering matter such as a piece of paper, paper dust, or dust has been removed, and whether or not the paper is detected by the paper
排紙処理部Pr5は、用紙セット検出センサ21及び用紙斜行検出センサ23によって用紙有りが検出されず、紙片、紙粉、埃等の付着物を除去することができた場合、排紙を開始し、用紙セット検出センサ21及び用紙斜行検出センサ23のうちの少なくとも一方によって用紙有りが検出され、紙片、紙粉、埃等の付着物を除去することができなかった場合、プリンタ10のLEDランプ、LCD等の表示部にメッセージを表示することによって、操作者に、用紙Pを搬送する上で不具合がある旨を通知し、プリンタ10内部を確認し、用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等を清掃し、紙片、紙粉、埃等の付着物を除去するように促す。
The paper discharge processing unit Pr5 starts paper discharge when the paper
排紙が開始されると、排紙処理部Pr5は、用紙セット検出センサ21の状態を監視し、用紙セット検出センサ21によって用紙無しが検出されると、排紙を終了する。
When the paper discharge is started, the paper discharge processing unit Pr5 monitors the state of the paper
次に、排紙処理部Pr5は、用紙セット検出センサ21のセンサ出力Vが小さくなったかどうかを、媒体有無判断処理部としての用紙有無判断処理部Pr2による用紙有無判断処理において、用紙セット検出センサ21のセンサ出力Vと比較するためのスライスレベルが、発光出力が一段階上の印字モードのスライスレベルに変更されたかどうかによって判断する。
Next, the paper discharge processing unit Pr5 determines whether or not the sensor output V of the paper
用紙セット検出センサ21のセンサ出力Vが大きくなり、用紙有無判断処理において、用紙セット検出センサ21のセンサ出力Vと比較するためのスライスレベルが、発光出力が一段階上の印字モードのスライスレベルに変更された場合、ROM33のスライスレベル記録エリアを更新し、変更されたスライスレベルを設定する。
The sensor output V of the paper
次に、図12及び13のフローチャートについて説明する。
ステップS51 排紙処理部Pr5は用紙Pが印字部に給紙されたかどうかを判断する。用紙Pが印字部に給紙された場合はステップS52に進み、用紙Pが印字部に給紙されなかった場合は処理を終了する。
ステップS52 排紙処理部Pr5は用紙Pを排出するための最大のフィード量を算出する。
ステップS53 排紙処理部Pr5は印字ヘッド12を用紙Pの中央位置に移動させる。
ステップS54 排紙処理部Pr5は用紙有りが検出されたかどうかを判断する。用紙有りが検出された場合はステップS55に、用紙有りが検出されなかった場合はステップS60に進む。
ステップS55 排紙処理部Pr5は用紙Pをフォワードフィードする。
ステップS56 排紙処理部Pr5は用紙Pをリバースフィードする。
ステップS57 排紙処理部Pr5は用紙Pをフォワードフィードする。
ステップS58 排紙処理部Pr5は用紙有りが検出されたかどうかを判断する。用紙有りが検出された場合はステップS59に、用紙有りが検出されなかった場合はステップS60に進む。
ステップS59 排紙処理部Pr5は操作者に用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等を清掃し、紙片、紙粉、埃を除去するように促す。
ステップS60 排紙処理部Pr5は排紙を開始する。
ステップS61 排紙処理部Pr5は用紙無しが検出されるのを待機する。
ステップS62 排紙処理部Pr5は排紙を終了する。
ステップS63 排紙処理部Pr5はセンサ出力Vが小さくなったかどうかを判断する。センサ出力が小さくなった場合はステップS64に進み、センサ出力が小さくならなかった場合は処理を終了する。
ステップS64 排紙処理部Pr5はスライスレベルを設定し、処理を終了する。
Next, the flowcharts of FIGS. 12 and 13 will be described.
Step S51 The paper discharge processing unit Pr5 determines whether or not the paper P is fed to the printing unit. If the paper P has been fed to the printing unit, the process proceeds to step S52. If the paper P has not been fed to the printing unit, the process ends.
Step S52 The paper discharge processing unit Pr5 calculates the maximum feed amount for discharging the paper P.
Step S53 The paper discharge processing unit Pr5 moves the
Step S54 The paper discharge processing section Pr5 determines whether or not the presence of paper is detected. If the presence of paper is detected, the process proceeds to step S55. If the presence of paper is not detected, the process proceeds to step S60.
Step S55 The paper discharge processing section Pr5 feeds the paper P forward.
Step S56 The paper discharge processing unit Pr5 reverse feeds the paper P.
Step S57 The paper discharge processing section Pr5 feeds the paper P forward.
Step S58: The paper discharge processing unit Pr5 determines whether the presence of paper is detected. If the presence of paper is detected, the process proceeds to step S59. If the presence of paper is not detected, the process proceeds to step S60.
Step S59 The paper discharge processing unit Pr5 cleans the print area and the like on the paper
Step S60 The paper discharge processing unit Pr5 starts paper discharge.
Step S61 The paper discharge processing unit Pr5 waits for detection of the absence of paper.
Step S62 The paper discharge processing unit Pr5 ends the paper discharge.
Step S63: The paper discharge processor Pr5 determines whether or not the sensor output V has become small. If the sensor output has decreased, the process proceeds to step S64. If the sensor output has not decreased, the process ends.
Step S64 The paper discharge processing unit Pr5 sets the slice level and ends the process.
このように、本実施の形態においては、用紙Pが給紙される前に、用紙セット検出センサ21及び用紙斜行検出センサ23のうちの少なくとも一方によって用紙有りが検出されたかどうかが判断され、用紙有りが検出された場合、用紙Pが前方及び後方に移動させられるので、用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等に付着している紙片、紙粉、埃等の付着物を除去することができる。したがって、プリンタ10にセットされた用紙Pの有無を誤って判断することがない。
Thus, in the present embodiment, before the paper P is fed, it is determined whether or not the presence of paper is detected by at least one of the paper
また、用紙Pを前方及び後方に移動させても、紙粉、埃等の付着物を除去することができなかった場合、操作者に、用紙Pを搬送する上で不具合がある旨が通知され、プリンタ10内部を確認し、用紙セット検出センサ21上、用紙斜行検出センサ23上、用紙幅を検出するライン上、印字領域等を清掃することが促されるので、プリンタ10にセットされた用紙Pの有無を誤って判断することがない。
In addition, when the paper P is moved forward and backward and the adhered matter such as paper dust and dust cannot be removed, the operator is notified that there is a problem in transporting the paper P. The inside of the
前記各実施の形態においては、ドットインパクト式のプリンタについて説明しているが、本発明を、インクジェットプリンタ等の他のプリンタに適用することができるだけでなく、複写機、ファクシミリ、複合機等の画像形成装置に適用することができる。 In each of the above embodiments, a dot impact type printer has been described. However, the present invention can be applied not only to other printers such as an ink jet printer, but also to an image of a copying machine, a facsimile machine, a multifunction machine, etc. It can be applied to a forming apparatus.
なお、本発明は前記各実施の形態に限定されるものではなく、本発明の趣旨に基づいて種々変形させることが可能であり、それらを本発明の範囲から排除するものではない。 The present invention is not limited to the above embodiments, and various modifications can be made based on the gist of the present invention, and they are not excluded from the scope of the present invention.
10 プリンタ
11 テーブル
15 フロントフィードローラ対
17 リヤフィードローラ対
21 用紙セット検出センサ
21e、23e 発光部
21r、23r 受光部
23 用紙斜行検出センサ
31 CPU
32 RAM
33 ROM
P 用紙 Pr2 用紙有無判断処理部
Rt1 媒体搬送路
th1 薄紙用のスライスレベル
th2 通常用のスライスレベル
th3 厚紙用のスライスレベル
V センサ出力
DESCRIPTION OF
32 RAM
33 ROM
P Paper Pr2 Paper presence / absence determination processing unit Rt1 Medium conveyance path th1 Thin paper slice level th2 Normal slice level th3 Thick paper slice level V Sensor output
Claims (10)
(b)該媒体配置部に配設され、発光部及び受光部を備えた光学センサから成り、画像形成装置にセットされた媒体の有無に応じてセンサ出力を発生させる媒体検出部と、
(c)媒体の有無を検出するための、発光部の発光出力に応じて設定された複数のスライスレベルが記録された記憶装置と、
(d)前記媒体検出部によって媒体有りが検出された場合に、媒体検出部のセンサ出力と、発光部の発光出力が大きくされたときのスライスレベルとを比較することによって、画像形成装置にセットされた媒体の有無を判断する媒体有無判断処理部とを有することを特徴とする媒体検出装置。 (A) a medium placement unit for setting a medium in the image forming apparatus;
(B) a medium detection unit that is disposed in the medium arrangement unit and includes an optical sensor including a light emitting unit and a light receiving unit, and generates a sensor output according to the presence or absence of a medium set in the image forming apparatus;
(C) a storage device in which a plurality of slice levels set according to the light emission output of the light emitting unit for detecting the presence or absence of a medium are recorded;
(D) When the presence of the medium is detected by the medium detection unit, the sensor output of the medium detection unit is set in the image forming apparatus by comparing the slice level when the light emission output of the light emitting unit is increased. A medium detection apparatus comprising: a medium presence / absence determination processing unit that determines the presence / absence of a recorded medium.
(b)前記媒体有無判断処理部は、すべての媒体検出部が媒体有りを検出した場合に、各媒体検出部のセンサ出力と、発光部の発光出力が大きくされたときのスライスレベルとを比較することによって、画像形成装置にセットされた媒体の有無を判断する請求項1に記載の媒体検出装置。 (A) A plurality of the medium detection units are arranged in a direction orthogonal to the medium conveyance direction,
(B) The medium presence / absence determination processing unit compares the sensor output of each medium detection unit with the slice level when the light emission output of the light emitting unit is increased when all the medium detection units detect the presence of the medium. The medium detection apparatus according to claim 1, wherein the presence or absence of a medium set in the image forming apparatus is determined.
(b)前記媒体有無判断処理部は、媒体検出部によって媒体有りが検出された場合に、各媒体検出部のセンサ出力と、媒体の厚さが大きい印字モードにおいて設定されたスライスレベルとを比較することによって、画像形成装置にセットされた媒体の有無を判断する請求項1又は2に記載の媒体検出装置。 (A) Each slice level is set differently for each print mode set according to the thickness of the medium,
(B) When the medium detection unit detects the presence of a medium, the medium presence / absence determination processing unit compares the sensor output of each medium detection unit with the slice level set in the print mode in which the medium thickness is large. The medium detection device according to claim 1, wherein the presence / absence of a medium set in the image forming apparatus is determined.
(b)前記媒体有無判断処理部は、特定の媒体検出部が媒体有りを検出した場合に、特定の媒体検出部の前回のセンサ出力と今回のセンサ出力とを比較し、特定の媒体検出部による媒体の検出結果が、媒体無しから媒体有りになったかどうかによって、画像形成装置にセットされた媒体の有無を判断する請求項1又は2に記載の媒体検出装置。 (A) A plurality of the medium detection units are arranged in a direction orthogonal to the medium conveyance direction,
(B) When the specific medium detection unit detects the presence of the medium, the medium presence / absence determination processing unit compares the previous sensor output of the specific medium detection unit with the current sensor output, and determines the specific medium detection unit. The medium detection device according to claim 1, wherein the presence / absence of a medium set in the image forming apparatus is determined based on whether the medium detection result of the medium is changed from the absence of the medium to the presence of the medium.
(b)媒体の搬送方向に対して直交する方向において複数配設され、画像形成装置にセットされた媒体の有無を検出する第2の媒体検出部と、
(c)該第2の媒体検出部による媒体の有無の検出結果に基づいて、媒体の左端部及び右端部を判定する給紙処理部と、
(d)該給紙処理部による媒体の左端部及び右端部の判定履歴、及び第1の媒体検出部による媒体の検出結果を確認し、媒体有りを検出した第1の媒体検出部以外の第1の媒体検出部による媒体の検出結果に基づいて、画像形成装置にセットされた媒体の有無を判断する媒体有無判断処理部とを有することを特徴とする媒体検出装置。 (A) a first medium detection unit that is provided in a plurality in a direction orthogonal to the medium conveyance direction and detects the presence or absence of a medium set in the image forming apparatus;
(B) a second medium detection unit that is arranged in a direction orthogonal to the medium conveyance direction and detects the presence or absence of the medium set in the image forming apparatus;
(C) a paper feed processing unit that determines a left end portion and a right end portion of the medium based on the detection result of the presence or absence of the medium by the second medium detection unit;
(D) Confirmation history of the left and right edges of the medium by the paper feed processing unit and the detection result of the medium by the first medium detection unit, and the first medium detection unit other than the first medium detection unit detecting the presence of the medium A medium detection apparatus comprising: a medium presence / absence determination processing section that determines the presence / absence of a medium set in an image forming apparatus based on a medium detection result by one medium detection section.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016135174A JP6833368B2 (en) | 2016-07-07 | 2016-07-07 | Medium detection device, medium transfer device and image forming device |
CN201710536436.6A CN107584908B (en) | 2016-07-07 | 2017-07-04 | Medium detection device, medium conveyance device, and image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016135174A JP6833368B2 (en) | 2016-07-07 | 2016-07-07 | Medium detection device, medium transfer device and image forming device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018002459A true JP2018002459A (en) | 2018-01-11 |
JP6833368B2 JP6833368B2 (en) | 2021-02-24 |
Family
ID=60948327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016135174A Active JP6833368B2 (en) | 2016-07-07 | 2016-07-07 | Medium detection device, medium transfer device and image forming device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6833368B2 (en) |
CN (1) | CN107584908B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110202956B (en) * | 2019-04-15 | 2021-11-02 | 厦门汉印电子技术有限公司 | Light emitting unit brightness configuration method and device in printer and printer |
CN110614856B (en) * | 2019-09-04 | 2021-05-25 | 广州洛图终端技术有限公司 | Printing medium detection device and method and printer |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62198783A (en) * | 1986-02-27 | 1987-09-02 | Oki Electric Ind Co Ltd | Optical medium monitoring system |
US4785295A (en) * | 1986-02-27 | 1988-11-15 | Oki Electric Industry Co., Ltd. | Optical media monitoring device |
JPH05213485A (en) * | 1991-12-13 | 1993-08-24 | Nec Corp | Object detection device |
JPH0713854U (en) * | 1993-08-16 | 1995-03-10 | 株式会社三協精機製作所 | Optical sensor of card reader |
JPH0797097A (en) * | 1993-09-24 | 1995-04-11 | Toshiba Corp | Recording medium processing device |
JPH0836064A (en) * | 1994-07-21 | 1996-02-06 | Hitachi Ltd | Optical sensor controlling method |
JPH1120990A (en) * | 1997-07-02 | 1999-01-26 | Tec Corp | Medium detecting device |
JP2005096991A (en) * | 2003-08-27 | 2005-04-14 | Oki Data Corp | Medium width detection device |
JP2007003734A (en) * | 2005-06-22 | 2007-01-11 | Ricoh Co Ltd | Image forming apparatus |
JP2009155013A (en) * | 2007-12-26 | 2009-07-16 | Seiko Epson Corp | Recording device and control method of recording device |
-
2016
- 2016-07-07 JP JP2016135174A patent/JP6833368B2/en active Active
-
2017
- 2017-07-04 CN CN201710536436.6A patent/CN107584908B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62198783A (en) * | 1986-02-27 | 1987-09-02 | Oki Electric Ind Co Ltd | Optical medium monitoring system |
US4785295A (en) * | 1986-02-27 | 1988-11-15 | Oki Electric Industry Co., Ltd. | Optical media monitoring device |
JPH05213485A (en) * | 1991-12-13 | 1993-08-24 | Nec Corp | Object detection device |
JPH0713854U (en) * | 1993-08-16 | 1995-03-10 | 株式会社三協精機製作所 | Optical sensor of card reader |
JPH0797097A (en) * | 1993-09-24 | 1995-04-11 | Toshiba Corp | Recording medium processing device |
JPH0836064A (en) * | 1994-07-21 | 1996-02-06 | Hitachi Ltd | Optical sensor controlling method |
JPH1120990A (en) * | 1997-07-02 | 1999-01-26 | Tec Corp | Medium detecting device |
JP2005096991A (en) * | 2003-08-27 | 2005-04-14 | Oki Data Corp | Medium width detection device |
JP2007003734A (en) * | 2005-06-22 | 2007-01-11 | Ricoh Co Ltd | Image forming apparatus |
JP2009155013A (en) * | 2007-12-26 | 2009-07-16 | Seiko Epson Corp | Recording device and control method of recording device |
Also Published As
Publication number | Publication date |
---|---|
CN107584908A (en) | 2018-01-16 |
CN107584908B (en) | 2020-12-25 |
JP6833368B2 (en) | 2021-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6624039B2 (en) | Inkjet recording device | |
JP6000194B2 (en) | Sheet detection apparatus and image forming apparatus | |
US9764568B2 (en) | Inkjet printer, sheet discriminating device and inkjet printing method | |
JP2007261136A (en) | Printer | |
JP6833368B2 (en) | Medium detection device, medium transfer device and image forming device | |
JP5668280B2 (en) | Printing apparatus and edge detection method of printing medium | |
JP2009196752A (en) | Image forming device | |
JP6357404B2 (en) | Paper detection apparatus, image forming apparatus, and paper detection method | |
JP5862173B2 (en) | Image recording device | |
JP4496840B2 (en) | Medium detection apparatus and medium detection method | |
JP2019130755A (en) | Double-sided printing system | |
JP6350125B2 (en) | Inkjet recording apparatus, program, and image recording method | |
JP6361574B2 (en) | Image forming apparatus and recording medium edge position detection method of image forming apparatus | |
JP2008126452A (en) | Recorder and method of detecting presence/absence of recording medium | |
JP2019018493A (en) | Detection device and image formation apparatus | |
JP6241307B2 (en) | Printing device | |
JP5278478B2 (en) | Image forming apparatus, program thereof, and recording medium conveyance monitoring method in image forming apparatus | |
JP2018001537A (en) | Image formation apparatus | |
JP2016204100A (en) | Image formation apparatus | |
JP4858606B2 (en) | Medium detection apparatus and medium detection method | |
JP2006076293A (en) | Recording apparatus and recording method | |
JP2019093608A (en) | Image recording device | |
JP5907840B2 (en) | Image forming apparatus and medium detection method | |
JP2023108262A (en) | Recording device and recording device control method | |
JP2014019093A (en) | Recording device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181211 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191004 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191029 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191227 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200630 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200805 |
|
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: 20210112 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210203 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6833368 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |