JP2004009668A - Paper feeding/delivering mechanism for printer - Google Patents
Paper feeding/delivering mechanism for printer Download PDFInfo
- Publication number
- JP2004009668A JP2004009668A JP2002169651A JP2002169651A JP2004009668A JP 2004009668 A JP2004009668 A JP 2004009668A JP 2002169651 A JP2002169651 A JP 2002169651A JP 2002169651 A JP2002169651 A JP 2002169651A JP 2004009668 A JP2004009668 A JP 2004009668A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- size
- sheet
- actual
- printer
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 57
- 238000007599 discharging Methods 0.000 claims description 6
- 238000012840 feeding operation Methods 0.000 claims description 4
- 239000002699 waste material Substances 0.000 abstract description 13
- 238000011109 contamination Methods 0.000 abstract description 8
- 230000005856 abnormality Effects 0.000 description 22
- 238000000034 method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000005259 measurement Methods 0.000 description 4
- 238000005452 bending Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Controlling Sheets Or Webs (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、プリンタの給排紙機構の改良、特に、プラテンの汚れやインクおよび用紙の浪費を防止するための改良に関する。
【0002】
【従来の技術】
複数の用紙サイズに対応して印刷動作を行うプリンタ装置としては、例えば、様々なサイズの用紙を収納可能としたユニバーサル・カセットを具備し、このユニバーサル・カセットに複数の用紙サイズの内から選択された特定のサイズの用紙を収納して印刷動作を行うようにしたプリンタ装置が公知である。
【0003】
また、この種のプリンタ装置において用紙の入れ違い等に対処するための技術としては、例えば、特開平9−240086号公報に開示されるように、電源投入後あるいはカセット開閉後の最初の印刷動作で供給される用紙のサイズを給紙センサにより検出し、この検出情報に基いて不揮発性サイズメモリの情報を更新するようにしたプリンタ装置が提案されている。
【0004】
しかしながら、このものは、ユニバーサル・カセットに特定のサイズの用紙のみが収納されていることを前提としたものであり、カセット内にサイズの異なる用紙が混在するような状況に対処できるものではない。
【0005】
【発明が解決しようとする課題】
一方、家庭内やスモールオフィス等で利用されるような比較的小型のプリンタ装置では、プリンタの給紙口に直接的に用紙をスタックして供給する形式のものが多く、また、各種のアプリケーションによって生成された様々なサイズの書類を代わる代わる印刷するといった場合も多いので、プリンタの給紙口に不適切なサイズの用紙を残したまま次の印刷作業が行われるといった失敗が発生する可能性が高い。
【0006】
従来のプリンタ装置では、プリンタ装置側での用紙の判定処理は行われず、アプリケーションを介して設定された用紙サイズのみに基いて無条件に印刷作業が行われていたので、設定された用紙サイズよりも小さなサイズの用紙がプリンタ装置に供給されると、用紙幅を越えた印字動作によってプラテンが汚損したり、あるいは、用紙外にインクが吐出されてインクが浪費される等の問題が発生する。
【0007】
一方、アプリケーションを介して設定された用紙サイズよりも大きなサイズの用紙がプリンタ装置に供給された場合には、プラテンがインクで汚されるといった心配はないが、用紙に過剰な余白が生成される結果、用紙自体が浪費されるといった弊害が生じる。
【0008】
【発明の目的】
そこで、本発明の目的は、前記従来技術の欠点を解消し、用紙の供給の不手際によるプラテンの汚損やインクおよび用紙の浪費を未然に防止することのできるプリンタの給排紙機構を提供することにある。
【0009】
【課題を解決するための手段】
本発明は、複数の用紙サイズに対応した給紙口を有するプリンタの給排紙機構であり、前記目的を達成するため、特に、ソフトウェア上で設定された用紙のサイズを読み込む設定サイズ読込手段と、プリンタに給紙された用紙の実サイズを検出する実サイズ検出手段と、前記設定サイズ読込手段で読み込まれた用紙のサイズと前記実サイズ検出手段で検出された用紙の実サイズとを比較して一致不一致を判定する判定手段と、前記判定手段による判定結果が一致した場合には印刷動作の開始を許容し、前記判定手段による判定結果が不一致の場合には印刷動作の開始を禁止する印刷動作制限手段とを備えたことを特徴とする構成を有する。
【0010】
以上の構成により、設定サイズ読込手段がソフトウェア上で設定された用紙のサイズを読み込み、実サイズ検出手段が、プリンタに給紙された用紙の実サイズを検出する。次いで、設定サイズ読込手段で読み込まれた用紙のサイズと実サイズ検出手段で検出された用紙の実サイズとが判定手段によって比較され、両者が一致した場合には印刷動作制限手段が印刷動作の開始を許容し、また、不一致となった場合には印刷動作制限手段が印刷動作の開始を禁止する。
以上に述べた通り、ソフトウェア上で設定された用紙のサイズとプリンタに給紙された用紙の実サイズとが一致した場合に限って印字動作が行われるので、用紙幅を越えた印字動作によるプラテンの汚損や用紙外への無駄なインクの吐出によるインクの浪費、および、過剰な大きさの用紙の誤使用に伴う用紙の浪費が解消される。
【0011】
また、前述の実サイズ検出手段は、給紙口の基準位置に設けられた用紙検出センサと、用紙検出センサに対して横列配備された用紙サイズ毎の用紙サイズセンサと、各用紙サイズセンサからの検出信号に基いて最大の用紙サイズに対応する用紙サイズセンサを求め、この用紙サイズセンサに対応する用紙サイズ以下の全ての用紙サイズセンサと用紙検出センサとが同時に反応している場合に前記最大の用紙サイズを用紙の実サイズとして認識する一方、前記最大の用紙サイズに対応する用紙サイズ以下の1以上の用紙サイズセンサもしくは用紙検出センサの少なくとも一方が無反応の場合に給紙エラーの発生を認識する実サイズ認識手段とによって構成することが可能である。
【0012】
このような構成を適用した場合、実サイズ認識手段は、まず、各用紙サイズセンサからの検出信号を読み込み、用紙を検出している用紙サイズセンサの中から最大の用紙サイズを検出している用紙サイズセンサを求める。
これらの用紙サイズセンサは基準位置から順に小サイズから大サイズの順で横列配備されているので、最大の用紙サイズを検出している用紙サイズセンサと、当該用紙サイズセンサ以下のサイズの全ての用紙サイズセンサ、ならびに、用紙検出センサが同時に反応していれば、用紙の一側が適切に給紙口の基準位置に押し当てられ、その用紙の他端、つまり、用紙幅が最大の用紙サイズに対応する用紙サイズセンサによって検出されていることを意味する。従って、この場合、実サイズ認識手段は、用紙を検出している用紙サイズセンサのうち最大の用紙サイズセンサに対応する用紙を用紙の実サイズとして認識する。
これに対し、用紙を検出している用紙サイズセンサのうち最大の用紙サイズに対応する用紙サイズセンサ以下の用紙サイズセンサの内の少なくとも1つ、あるいは、用紙検出センサが用紙を検出していなければ、この時点で供給されている用紙が変形しているか、あるいは、用紙の一側が適切に給紙口の基準位置に押し当てられていないことを意味する。
この場合、用紙サイズの適不適に関わり無く、印刷の実行それ自体が不適当であるので、実サイズ認識手段は、用紙の実サイズの認識を放棄し、給紙エラーの発生として認識する。このような場合、当然、印刷動作制限手段は印刷動作の開始を禁止する。
【0013】
前記構成に加え、判定手段による判定結果が不一致となった場合および実サイズ認識手段による認識結果が給紙エラーとなった場合に、プリンタに対して用紙の排出動作と再給紙動作を指令するリトライ指令手段を併設するようにしてもよい。
【0014】
不適当な大きさの用紙が給紙されたり用紙の給紙状態に異常が生じた場合に自動的に用紙を排出して次の用紙を給紙することができるので、用紙のサイズ違いによる異常や給紙エラーを解消できる場合がある。
【0015】
更に、前記構成に加え、プリンタから排出される用紙の見掛け上の実サイズを検出する第二の実サイズ検出手段と、前記設定サイズ読込手段で読み込まれた用紙のサイズと第二の実サイズ検出手段で検出された見掛け上の用紙の実サイズとを比較して一致不一致を判定する第二の判定手段と、前記第二の判定手段による判定結果が一致した場合に印刷動作の継続を許容し、前記第二の判定手段による判定結果が不一致の場合には印刷動作の継続を禁止する第二の印刷動作制限手段を併設することも可能である。
【0016】
既に述べた通り、用紙が給紙口に供給された段階で用紙のサイズ異常や供給異常の有無が判定手段により検出され、用紙のサイズ異常や供給異常が無い場合にのみ印刷動作制限手段によって印刷動作の開始が許容されるが、印刷の開始から完了までの全過程に亘って用紙の供給が適正に行われるとは限らない。
そこで、この構成では、更に、プリンタから排出される用紙の見掛け上の実サイズを検出する第二の実サイズ検出手段と、設定サイズ読込手段で読み込まれた用紙のサイズと第二の実サイズ検出手段で検出された見掛け上の用紙の実サイズとを比較して一致不一致を判定する第二の判定手段を設け、第二の判定手段による判定結果が一致した場合に第二の印刷動作制限手段によって印刷動作の継続を許容する一方、第二の判定手段による判定結果が不一致の場合には第二の印刷動作制限手段によって印刷動作の継続を禁止するようにした。
既に印刷が開始されている以上、この時点で供給されている用紙の真のサイズがソフトウェア上で設定された用紙サイズと一致していることは間違いないが、印刷過程で用紙が折れ曲がったり用紙が傾いたりして印刷に適さない状態となる場合がある。
第二の実サイズ検出手段は、用紙の見掛け上の実サイズを前述の実サイズ検出手段と同様にして検出し、見掛け上の実サイズとソフトウェア上で設定された用紙サイズとの一致不一致を判定する。
第二の判定手段による判定結果が一致した場合には、用紙が折れ曲がったり用紙が傾いたりしていないことを意味するので、第二の印刷動作制限手段が印刷動作の継続を許容する。また、第二の判定手段による判定結果が不一致となった場合には、用紙のサイズ自体は適性であっても用紙が折れ曲がったり用紙が傾いたりして見掛け上の実サイズに異常が生じていることを意味するので、第二の印刷動作制限手段が印刷動作の継続を禁止し、ジャミングの発生やジャミングの進行を防止する。
【0017】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態の幾つかについて詳細に説明する。図1は本発明による給排紙機構を適用した一実施形態のプリンタの要部を示した模式図、また、図2は同実施形態のプリンタの制御系の要部について示した機能ブロック図である。
【0018】
プリンタの一般的な構造に関しては既に公知であり、また、本発明の給排紙機構の適用の可否がプリンタの構造に依存するというわけでもないので、図1および図2ではプリンタ自体の構成要素に関しては記載を省略し、プリンタの給排紙機構に設けられた実サイズ検出手段の一部を構成する用紙検出センサや用紙サイズセンサの取付位置の関係等についてのみ明示している。
【0019】
図1はプリンタの給紙口1の周辺構造について示したもので、符号2はプラテン、符号3は用紙供給用のローラであり、本実施形態のプリンタにおいても、従来と同様、用紙搬送ユニットの一部を構成するローラ3の回転によって給紙口1の側から任意サイズの用紙Pがプラテン2に向けて送り込まれるようになっている。
【0020】
図1に示されるように、給紙口1の一側の基準位置には用紙検出センサS0が設けられ、更に、この用紙検出センサS0に対して横列するようにして用紙サイズ毎の用紙サイズセンサS1,S2,S3が順に配備されている。本実施形態においては、用紙サイズセンサS1がA6用紙の検出用、また、用紙サイズセンサS2がB5用紙の検出用であって、用紙サイズセンサS3はA4用紙の検出用である。
【0021】
図2に示されるように、プリンタの制御系は、従来と同様、用紙供給用のローラ3等で構成される用紙搬送ユニット4やキャリッジ駆動ユニット5および印字ヘッド6等を駆動制御するためのCPU7と、該CPU7の制御プログラムを格納したROM8、および、演算処理上のデータや印刷データ等を一時記憶するRAM9によって構成され、用紙搬送ユニット4,キャリッジ駆動ユニット5,印字ヘッド6の各々は、夫々のドライバ回路10,11,12と入出力回路13とを介してCPU7によって駆動制御されるようになっている。
【0022】
入出力インターフェイス14は、パーソナルコンピュータ等を始めとする上位装置15とプリンタ側のCPU7との間でデータの入出力を行うためのものである。上位装置15から送られる印刷データは入出力インターフェイス14およびCPU7を介して一時的にRAM9に記憶され、この印刷データに基いてCPU7の制御の下で用紙搬送ユニット4,キャリッジ駆動ユニット5,印字ヘッド6が駆動制御される。
【0023】
また、本実施形態においては、上位装置15側に実装された各種のアプリケーションプログラム等のソフトウェアによって設定された印刷用紙サイズも、この入出力インターフェイス14を介してCPU7に読み込まれる。
【0024】
本実施形態においては、これらの公知要素に加え、更に、前述の用紙検出センサS0および用紙サイズセンサS1,S2,S3からの信号が入出力回路16を介してCPU7に入力されるようになっており、これらのセンサからの信号に基いて、実サイズ検出手段,実サイズ認識手段,判定手段,印刷動作制限手段およびリトライ指令手段の機能実現手段として動作するCPU7が各種の処理を実行する。
【0025】
図3はCPU7による印刷制御動作の概略について示したフローチャートである。
【0026】
次に、図3を参照して、設定サイズ読込手段,実サイズ検出手段,実サイズ認識手段,判定手段,印刷動作制限手段およびリトライ指令手段として機能するCPU7の処理動作について具体的に説明する。
【0027】
印刷制御動作を開始したCPU7は、まず、入出力インターフェイス14を介して上位装置15からの印刷データを受け取ってRAM9に一時記憶し、更に、設定サイズ読込手段として機能するCPU7が、上位装置15側のソフトウェアによって設定された印刷用紙サイズの値iを読み込み(ステップa1)、この値を設定サイズ記憶レジスタR1に記憶する(ステップa2)。但し、本実施形態においてはi=1でA6用紙、また、i=2でB5用紙、更に、i=3でA4用紙を示すものとする。
【0028】
次いで、実サイズ認識手段として機能するCPU7は、実サイズ記憶レジスタR2の値とセンサ検索指標jの値を0に初期化し(ステップa3)、センサ検索指標jの値を1インクリメントした後(ステップa4)、該指標jの値に対応する用紙サイズセンサS(j)からの用紙検出信号を読み込み、この用紙サイズセンサS(j)が給紙口1で用紙Pを検出しているか否かを判定する(ステップa5)。
【0029】
そして、用紙サイズセンサS(j)が用紙Pを検出していれば、実サイズ認識手段として機能するCPU7は、実サイズ記憶レジスタR2にセンサ検索指標jの現在値を更新して記憶し(ステップa6)、また、用紙サイズセンサS(j)が用紙Pを検出していなければ、CPU7は、実サイズ記憶レジスタR2の現在値をそのまま保持する。
【0030】
次いで、実サイズ認識手段として機能するCPU7は、センサ検索指標jの値が用紙サイズセンサの最大値nに達しているか否かを判定し(ステップa7)、達していなければ、前記と同様にしてステップa4〜ステップa6の処理を繰り返し実行する。
【0031】
この実施形態ではnの値は3であり、前述したステップa4〜ステップa6の処理を3回だけ繰り返すことにより、各用紙サイズセンサS1,S2,S3による用紙の検出状態が検出され、最終的に、最大の用紙サイズを検出している用紙サイズセンサに対応するjの値が実サイズ記憶レジスタR2に記憶されることになる。
【0032】
図1の例では、用紙サイズセンサS1,S2が用紙Pを検出し、また、用紙サイズセンサS3は用紙Pを検出していないので、実サイズ記憶レジスタR2に記憶される最終値は2である。
【0033】
このようにして、ステップa4〜ステップa6の繰り返し処理により、各用紙サイズセンサS1,S2,S3からの検出信号に基いて、実際に用紙Pを検出している用紙サイズセンサの内から最大の用紙サイズに対応する用紙サイズセンサS(R2)が求められることになる。
【0034】
次いで、実サイズ認識手段として機能するCPU7は、用紙サイズセンサS(R2)に対応する用紙サイズ以下の全ての用紙サイズセンサS(1)〜S(R2)と用紙検出センサS0とが同時に用紙Pを検出しているか否か、つまり、S(0)〜S(R2)のセンサの全てが同時に用紙Pを検出しているか否かを判定する(ステップa8)。そして、S(0)〜S(R2)のセンサの全てが同時に用紙Pを検出している場合には、実サイズ検出手段として機能するCPU7が、実サイズ記憶レジスタR2に記憶されている用紙サイズR2を用紙の実サイズとして認識し、また、S(0)〜S(R2)のセンサのうち1つでも用紙Pを検出していないセンサがあれば、実サイズ認識手段として機能するCPU7が、給紙エラーの発生を認識する。
【0035】
つまり、これらの用紙サイズセンサS1〜S3は用紙検出センサS0を配備した基準位置から順に小サイズから大サイズの順で横列配備されているので、最大の用紙サイズを検出している用紙サイズセンサS(R2)と、この用紙サイズセンサS(R2)以下のサイズの全ての用紙サイズセンサ、ならびに、用紙検出センサS0が同時に用紙Pを検出していれば、用紙Pの一側が適切に給紙口1の基準位置に押し当てられ、その用紙Pの他端が用紙サイズセンサS(R2)によって検出されていること、即ち、この用紙Pのサイズが用紙サイズR2であることを意味する。
【0036】
これに対し、用紙Pを検出している用紙サイズセンサのうち最大の用紙サイズに対応する用紙サイズセンサS(R2)以下の用紙サイズセンサの内の少なくとも1つ、あるいは、用紙検出センサS0が用紙Pを検出していなければ、この時点で給紙口1に供給されている用紙Pが変形しているか、あるいは、用紙Pの一側が適切に給紙口1の基準位置に押し当てられていないこと、つまり、用紙サイズの適不適に関わり無く、印刷の実行それ自体が不適当であることを意味するので、CPU7は、用紙の実サイズの認識を放棄し、給紙エラーの発生として認識することになる。
【0037】
ここで、ステップa8の判定結果が真となった場合、つまり、実サイズ検出手段として機能するCPU7によって用紙の実サイズR2が適正に検出された場合には、更に、判定手段として機能するCPU7によって、ソフトウェア上で設定された用紙サイズR1と用紙の実サイズR2とが比較され、その一致不一致が判定されることになる(ステップa9)。
【0038】
ここで、ステップa8またはステップa9の判定結果が偽となった場合、つまり、給紙エラーの発生が検出されるか、または、ソフトウェア上で設定された用紙サイズR1と用紙の実サイズR2との不一致が検出された場合には、印刷動作制限手段として機能するCPU7が、印刷動作に関連するステップa13以降の処理の実行を禁止する。
【0039】
この場合、CPU7は、この時点で既にプリンタのディスプレイにエラーメッセージが表示されているか否かを判定し(ステップa10)、エラーメッセージが非表示であれば、改めてプリンタのディスプレイにエラーメッセージを表示する(ステップa11)。
【0040】
そして、リトライ指令手段として機能するCPU7が、入出力回路13およびドライバ回路10を介して用紙搬送ユニット4を駆動制御し、この時点で給紙口1に供給されている用紙Pを未印刷状態のまま排出すると共に、改めて、次の用紙Pを給紙口1に再供給する(ステップa12)。
【0041】
その後、前記と同様にしてステップa3以降の処理が繰り返し実行され、前述の再給紙動作によって給紙エラーの発生や用紙サイズの不一致が解消された場合、つまり、ステップa8およびステップa9の判定結果が共に真となった場合には、印刷動作制限手段として機能するCPU7によって、ステップa13以降の印刷動作が許容されることになる。
【0042】
一方、前述の再給紙動作を行っても給紙エラーの発生や用紙サイズの不一致が解消されなかった場合、つまり、ステップa8またはステップa9の判定結果が偽となった場合には、再び、前記と同様にして障害復旧のためのリトライ動作(ステップa12)が実行されることになるが、この場合は既にプリンタのディスプレイにエラーメッセージが表示されているので、ステップa10の判定結果は真となり、ステップa11の表示処理が省略されて、エラーメッセージの表示状態がそのまま保持される。
【0043】
これに対し、前述したステップa8およびステップa9の判定結果が共に真となった場合、つまり、給紙状態に異常が無く、しかも、ソフトウェア上で設定された用紙サイズR1と用紙の実サイズR2とが一致していると判定された場合には、印刷動作制限手段として機能するCPU7が印刷動作の開始を許容する。
【0044】
この場合、CPU7は、まず、プリンタのディスプレイにエラーメッセージが表示されているか否かを判定し(ステップa13)、エラーメッセージが表示されていればエラーメッセージの表示を解除し(ステップa14)、また、エラーメッセージが表示されていなければ、非表示状態を保持する。そして、予めRAM9に読み込んである印刷データに基いて、従来と同様、入出力回路13と各々のドライバ回路10,11,12を介して用紙搬送ユニット4,キャリッジ駆動ユニット5,印字ヘッド6を駆動制御し、用紙搬送ユニット4で用紙Pに送りを掛けながらキャリッジ駆動ユニット5でキャリッジを移動させ、印字ヘッド6からインクを吐出させて印刷を実行した後(ステップa15)、次の用紙Pを給紙口1に供給する再給紙動作を行わせる(ステップa16)。
【0045】
以上に述べた通り、この実施形態によれば、ソフトウェア上で設定された用紙サイズR1とプリンタに給紙された用紙の実サイズR2とが一致した場合に限って印字動作が行われるので、用紙Pの用紙幅を越えた印字動作によるプラテン2の汚損や用紙Pの外への無駄なインクの吐出によるインクの浪費、および、過剰な大きさの用紙Pの誤使用に伴う用紙の浪費が解消される。
【0046】
また、用紙Pの変形や給紙位置の異常があった場合にも印字動作が禁止されるようになっているので、用紙Pの供給位置のズレや用紙Pの搬送姿勢の異常または用紙P自体の折れ曲がり等による用紙Pからのインクの食み出し等の問題も未然に防止することが可能である。
【0047】
更に、異常が検出された場合には、その時点で給紙口1に供給されている用紙Pを排出し、改めて次の用紙Pを給紙口1に取り込むようになっているので、用紙のサイズ違いによる異常や給紙エラーを自動的に解消することも可能である。
【0048】
次に、図4〜図7を参照して、プリンタから排出される用紙の見掛け上の実サイズを検出する第二の実サイズ検出手段、および、設定サイズ読込手段で読み込まれた用紙のサイズと見掛け上の用紙の実サイズとを比較して一致不一致を判定する第二の判定手段と、第二の判定手段による判定結果が不一致の場合に印刷動作の継続を禁止する第二の印刷動作制限手段とを併設した給排紙機構の一例について簡単に説明する。
【0049】
図4に示される通り、この実施形態では、プリンタの排紙口17の一側の基準位置に第二の用紙検出センサW0が設けられ、この第二の用紙検出センサW0に対して横列するようにして第二の用紙サイズセンサW1,W2,W3が順に配備されている。各センサW0〜W3の構造および機能に関しては、実質的に、前述したセンサS0〜S3と同様である。
【0050】
図5に示されるように、第二の実サイズ検出手段の一部を構成する第二の用紙検出センサW0および第二の用紙サイズセンサW1,W2,W3からの信号は、前述した各センサS0〜S3と同様に、入出力回路16を介してCPU7に入力されるようになっている。
【0051】
図6〜図7は本実施形態のCPU7による印刷制御動作の概略について示したフローチャートである。
【0052】
次に、図6〜図7を参照して、第二の実サイズ検出手段,第二の判定手段および第二の印刷動作制限手段として機能する本実施形態のCPU7の処理動作について具体的に説明する。但し、ステップb1〜ステップb14の処理に関しては図3を参照して説明したステップa1〜ステップa14の処理と同様であるので、ここでは説明を省略する。つまり、実際の印刷動作が開始されるまでの処理に関しては前述した実施形態も本実施形態も同様であり、本実施形態では、更に、印刷の実行中も第二の実サイズ検出手段,第二の判定手段および第二の印刷動作制限手段として機能するCPU7の処理動作によって用紙Pに生じる異常を検出し、異常の有無に応じて第二の印刷動作制限手段で印刷動作の継続を制限する点が前述の実施形態と相違する。
【0053】
ここでは、ソフトウェア上で設定された用紙サイズR1とプリンタに給紙された用紙の実サイズR2とが一致し、適切な印刷動作が開始されることを前提として、印刷動作開始時点からの処理、つまり、ステップb15以降の処理について説明するものとする。
【0054】
印刷の開始に先駆け、CPU7は、まず、スキャニングカウンタScの値を0に初期化して(ステップb15)、経過時間計測タイマTをリスタートさせる(ステップb16)。これ以降、CPU7は、スキャニングカウンタScの値0または1に基いて、実際の印刷動作に必要とされる処理と印刷動作中に生じる異常を検出するための処理とをタスク処理として交互に繰り返し実行することになる。
【0055】
CPU7は、まず、スキャニングカウンタScの値が0であるか否かを判定するが(ステップb17)、初期段階ではSc=0であるから、CPU7は、予めRAM9に読み込んである印刷データに基いて用紙搬送ユニット4,キャリッジ駆動ユニット5,印字ヘッド6を駆動制御し、用紙搬送ユニット4で用紙Pに送りを掛けながらキャリッジ駆動ユニット5でキャリッジを移動させ、印字ヘッド6からインクを吐出させて1処理周期分の印刷を実行する(ステップb18)。
【0056】
次いで、CPU7は、この周期の処理で印刷が終了しているか否か、つまり、RAM9に読み込まれた印刷データの全てが掃き出されているか否かを判定する(ステップb19)。そして、印刷が終了していなければ、CPU7は、スキャニングカウンタScに1をセットして(ステップb20)、当該周期の処理を終了する。
【0057】
従って、次周期の処理ではスキャニングカウンタScの値は1、即ち、ステップb17の判定結果が偽となり、CPU7は、経過時間計測タイマTによる計測値が設定値tに達しているか否かを判定することになる(ステップb21)。
【0058】
設定値tは、用紙Pの先端が排紙口17に到達するまでに必要とされる印刷開始時点からの所要時間の値である。従って、経過時間計測タイマTによる計測値が設定値tに達していれば、用紙Pの先端がセンサW0〜W3の配設位置に到達していることを意味し、また、経過時間計測タイマTによる計測値が設定値tに達していなければ、用紙Pの先端は未だセンサW0〜W3の配設位置に到達していないことを意味する。
【0059】
ステップb21の判定結果が偽となった場合、つまり、用紙Pの先端がセンサW0〜W3の配設位置に到達していないと判定された場合には、センサW0〜W3による異常検出処理を行うことに意味はない。従って、CPU7は、異常検出に関連するステップb22以降の処理を非実行とし、スキャニングカウンタScに0をセットして(ステップb29)、当該周期の処理を終了する。
【0060】
このように、用紙Pの先端がセンサW0〜W3の配設位置に到達するまでの間は、スキャニングカウンタScの値が1となっても実質的な異常検出処理は非実行とされ、スキャニングカウンタScの値が0となる処理周期において、前述したステップb18の印刷処理のみが繰り返し実行されることになる。
【0061】
そして、印刷処理を継続する間に、経過時間計測タイマTによる計測値が設定値tに達したことがステップb21の判定処理によって検出されると、プリンタから排出される用紙の見掛け上の実サイズを検出する第二の実サイズ検出手段として機能するCPU7がステップb22〜ステップb28の処理を実行し、第二の実サイズ検出手段の一部を構成するセンサW0〜W3の信号に基いて、給紙エラーの発生の有無を判定する。そして、給紙エラーの発生が検出されない場合には、更に、用紙Pの見掛け上の実サイズR2を認識し、第二の判定手段として機能するCPU7が、用紙Pの見掛け上の実サイズR2とソフトウェア上で設定された用紙サイズR1との一致不一致を判定する(以上、ステップb22〜ステップb28)。
【0062】
ステップb22〜ステップb28の処理については、信号を読み込む対象となるセンサがW0〜W3となる点を除けば、図3で説明した実施形態におけるステップa3〜ステップa9の処理と同等である。よって、詳細な説明は省略する。
【0063】
既に印刷が開始されている以上、この時点で供給されている用紙Pの真のサイズがソフトウェア上で設定された用紙サイズR1と一致していることは間違いないが、印刷過程で用紙Pが折れ曲がったり用紙Pが傾いたりして印刷に適さない状態となる場合があり、このような場合には、第二の実サイズ検出手段によって給紙エラーの発生が検出されるか(ステップb27の判定結果が偽)、あるいは、用紙Pの見掛け上の実サイズR2とソフトウェア上で設定された用紙サイズR1とが一致しなくなるので(ステップb28の判定結果が偽)、これらの異常の検出が可能である。
【0064】
ここで、ステップb27およびステップb28の判定結果が共に真となった場合には用紙Pの折れ曲がりや傾き等の異常が発生していないことを意味するので、第二の印刷動作制限手段として機能するCPU7は、印刷動作の継続を許容し、スキャニングカウンタScに0をセットして(ステップb29)、当該周期の処理を終了する。
【0065】
このように、スキャニングカウンタScの値が1であるときに実行される異常検出処理で何らの異常も検出されない場合には、スキャニングカウンタScの値が0となる各処理周期において、前述したステップb18の印刷処理が繰り返し実行される。そして、最終的に、ステップb19の判定処理で印刷の終了が確認された段階で、次の用紙Pを給紙口1に供給する再給紙動作が行われることになる(ステップb31,正常終了の場合)。
【0066】
一方、スキャニングカウンタScの値が1であるときに実行される異常検出処理において何らかの異常が検出された場合、つまり、ステップb27またはステップb28の判定結果が偽となった場合には、第二の印刷動作制限手段として機能するCPU7が印刷動作の継続を禁止し、プリンタのディスプレイにエラーメッセージを表示して処理を停止する(ステップb30)。
【0067】
この場合、それ以降の印刷処理(ステップb18)の実行は禁止されるので、印刷動作は当該時点で自動的に停止する。
【0068】
従って、用紙Pにおけるジャミングの発生やジャミングの進行を防止することが可能であり、プリンタ内で用紙Pが丸められてクシャクシャになったり機構部に噛み込んだりするような事故が未然に防止され、同時に、用紙Pが正常な搬送経路から脱したり変形したときの印字動作に起因するプラテン2の汚損やインクの浪費も防止することができる。
【0069】
【発明の効果】
本発明のプリンタの給排紙機構は、ソフトウェア上で設定された用紙のサイズとプリンタに給紙された用紙の実サイズとが一致した場合に限って印字動作を許容するように構成しているので、用紙幅を越えた印字動作で吐出されるインクによるプラテンの汚損や用紙外への無駄なインクの吐出によるインクの浪費、および、過剰な大きさの用紙の誤使用に伴う用紙の浪費を防止することができる。
【0070】
また、用紙検出センサと用紙サイズ毎の用紙サイズセンサを給紙口に設けることにより用紙の実サイズに加えて給紙エラーの発生も検出するようにしたので、給紙エラーの発生に対処して印刷動作の開始を禁止することも可能となった。
【0071】
しかも、ソフトウェア上で設定された用紙のサイズとプリンタに給紙された用紙の実サイズとが一致しない場合や給紙エラーが検出された場合には、用紙の排出動作と再給紙動作を行うようにしているので、不適当な大きさの用紙が給紙されたり用紙の給紙状態に異常が生じた場合であっても、自動的に用紙を排出して次の用紙を給紙することで用紙のサイズ違いによる異常や給紙エラーを解消することが可能である。
【0072】
更に、実際の印刷動作が開始されてからは、プリンタから排出される用紙の見掛け上の実サイズを検出し、見掛け上の実サイズがソフトウェア上で設定された用紙のサイズと一致しない場合には印刷動作の継続を禁止するようにしているので、印刷過程で用紙が折れ曲がったり用紙が傾いたりして印刷に適さない状態となった場合においてもジャミングの発生やジャミングの進行を防止することができ、また、プリンタ内で用紙が丸められてクシャクシャになったり機構部に噛み込んだりするような事故が未然に防止され、同時に、用紙が正常な搬送経路から脱したり変形したときの印字動作に起因するプラテンの汚損やインクの浪費も防止することができる。
【図面の簡単な説明】
【図1】本発明を適用した一実施形態のプリンタの要部を示した模式図である。
【図2】同実施形態のプリンタの制御系の要部について示した機能ブロック図である。
【図3】実サイズ検出手段(実サイズ認識手段),判定手段,印刷動作制限手段およびリトライ指令手段として機能するCPUの印刷制御動作の概略について示したフローチャートである。
【図4】本発明を適用した他の一実施形態のプリンタの要部を示した模式図である。
【図5】同実施形態のプリンタの制御系の要部について示した機能ブロック図である。
【図6】実サイズ検出手段(実サイズ認識手段),判定手段,印刷動作制限手段およびリトライ指令手段として機能するCPUの印刷制御動作の概略について示したフローチャートである。
【図7】第二の実サイズ検出手段,第二の判定手段および第二の印刷動作制限手段として機能するCPUの印刷制御動作の概略について示したフローチャートである。
【符号の説明】
1 給紙口
2 プラテン
3 ローラ
4 用紙搬送ユニット
5 キャリッジ駆動ユニット
6 印字ヘッド
7 CPU(設定サイズ読込手段,実サイズ検出手段,実サイズ認識手段,判定手段,印刷動作制限手段,リトライ指令手段)
8 ROM
9 RAM
10,11,12 ドライバ回路
13 入出力回路
14 入出力インターフェイス
15 上位装置
16 入出力回路
17 排紙口
P 用紙
S0 用紙検出センサ(実サイズ検出手段の一部,給紙確認用)
S1 用紙サイズセンサ(実サイズ検出手段の一部,A6用紙用)
S2 用紙サイズセンサ(実サイズ検出手段の一部,B5用紙用)
S3 用紙サイズセンサ(実サイズ検出手段の一部,A4用紙用)
W0 第二の用紙検出センサ(第二の実サイズ検出手段の一部)
W1 第二の用紙サイズセンサ(第二の実サイズ検出手段の一部)
W2 第二の用紙サイズセンサ(第二の実サイズ検出手段の一部)
W3 第二の用紙サイズセンサ(第二の実サイズ検出手段の一部)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an improvement in a paper supply / discharge mechanism of a printer, and more particularly, to an improvement for preventing contamination of a platen and waste of ink and paper.
[0002]
[Prior art]
As a printer device that performs a printing operation corresponding to a plurality of paper sizes, for example, a universal cassette capable of storing sheets of various sizes is provided, and the universal cassette is selected from among a plurality of paper sizes. 2. Description of the Related Art There is known a printer device that stores a specific size of paper and performs a printing operation.
[0003]
As a technique for coping with misplacement of sheets in a printer of this type, for example, as disclosed in Japanese Patent Application Laid-Open No. 9-24006, the first printing operation after turning on the power or opening and closing the cassette is described. A printer device has been proposed in which the size of a supplied sheet is detected by a sheet feed sensor, and information in a nonvolatile size memory is updated based on the detected information.
[0004]
However, this is based on the premise that only sheets of a specific size are stored in the universal cassette, and cannot deal with a situation where sheets of different sizes are mixed in the cassette.
[0005]
[Problems to be solved by the invention]
On the other hand, many relatively small printers, such as those used in homes and small offices, stack paper directly into the paper feed port of the printer and supply it. In many cases, the generated documents of various sizes are printed alternately.Therefore, there is a possibility that a failure such as performing the next printing operation while leaving an improperly sized sheet in the paper feed port of the printer may occur. high.
[0006]
In the conventional printer device, the paper determination process is not performed on the printer device side, and the printing operation is performed unconditionally based only on the paper size set via the application. When a small-sized sheet is supplied to the printer device, there arises a problem that the platen becomes dirty due to the printing operation exceeding the sheet width, or the ink is discharged outside the sheet and the ink is wasted.
[0007]
On the other hand, if a sheet of paper that is larger than the paper size set via the application is supplied to the printer, there is no concern that the platen will be stained with ink, but excessive margin will be generated on the sheet. In this case, the paper itself is wasted.
[0008]
[Object of the invention]
SUMMARY OF THE INVENTION An object of the present invention is to provide a paper supply / discharge mechanism for a printer that solves the above-mentioned drawbacks of the prior art and can prevent platen contamination and waste of ink and paper due to improper paper supply. It is in.
[0009]
[Means for Solving the Problems]
The present invention is a paper supply / discharge mechanism of a printer having a paper supply port corresponding to a plurality of paper sizes, and in order to achieve the above object, in particular, setting size reading means for reading a paper size set on software. A real size detecting means for detecting the actual size of the paper fed to the printer, and comparing the size of the paper read by the setting size reading means with the actual size of the paper detected by the real size detecting means. Printing means for permitting the start of the printing operation when the determination result by the determining means matches, and prohibiting the start of the printing operation when the determination result by the determining means does not match. Operation limiting means.
[0010]
With the above configuration, the set size reading unit reads the paper size set on the software, and the actual size detection unit detects the actual size of the paper fed to the printer. Next, the size of the sheet read by the set size reading unit and the actual size of the sheet detected by the actual size detection unit are compared by the determination unit, and if they match, the printing operation restriction unit starts the printing operation. Is permitted, and when they do not match, the print operation restricting means prohibits the start of the print operation.
As described above, the printing operation is performed only when the paper size set on the software matches the actual size of the paper fed to the printer. This eliminates waste of ink due to soiling of paper, wasteful ink ejection outside the paper, and waste of paper due to misuse of excessively large paper.
[0011]
Further, the above-described actual size detecting means includes a paper detection sensor provided at a reference position of the paper feed port, a paper size sensor for each paper size arranged in a row in a row with respect to the paper detection sensor, and A paper size sensor corresponding to the maximum paper size is determined based on the detection signal, and when all the paper size sensors smaller than the paper size corresponding to the paper size sensor and the paper detection sensor are simultaneously reacting, the maximum paper size sensor is determined. While the paper size is recognized as the actual size of the paper, a paper feed error is recognized when at least one of the paper size sensor or the paper detection sensor that is smaller than the paper size corresponding to the maximum paper size does not respond. And the actual size recognition means.
[0012]
When such a configuration is applied, the actual size recognition unit first reads the detection signal from each paper size sensor, and detects the maximum paper size from among the paper size sensors that detect the paper. Find a size sensor.
Since these paper size sensors are arranged in rows in order from the small size to the large size in order from the reference position, the paper size sensor detecting the maximum paper size and all the paper sizes smaller than the paper size sensor are used. If the size sensor and the paper detection sensor are reacting at the same time, one side of the paper is properly pressed to the reference position of the paper feed port, and the other end of the paper, that is, the paper width corresponds to the maximum paper size Is detected by the paper size sensor. Therefore, in this case, the actual size recognizing means recognizes the paper corresponding to the largest paper size sensor among the paper size sensors detecting the paper as the actual size of the paper.
In contrast, if at least one of the paper size sensors below the paper size sensor corresponding to the largest paper size among the paper size sensors that detect the paper, or if the paper detection sensor has not detected the paper, This means that the paper being supplied at this time is deformed, or that one side of the paper is not properly pressed against the reference position of the paper feed port.
In this case, since the execution of the printing itself is inappropriate regardless of the appropriateness of the paper size, the actual size recognizing unit abandons the recognition of the actual size of the paper and recognizes that a paper feed error has occurred. In such a case, the printing operation restricting means naturally prohibits the start of the printing operation.
[0013]
In addition to the above configuration, when the determination result by the determination unit does not match or when the recognition result by the actual size recognition unit indicates a paper feed error, the printer is instructed to perform a paper discharge operation and a paper re-feed operation. A retry instruction means may be provided.
[0014]
If paper of an inappropriate size is fed or an error occurs in the paper feeding state, the paper can be automatically ejected and the next paper can be fed. And paper feed errors may be eliminated.
[0015]
Further, in addition to the above configuration, a second actual size detecting unit for detecting an apparent actual size of the sheet discharged from the printer, and a sheet size and a second actual size detection for the sheet read by the set size reading unit. Means for comparing the apparent size of the paper detected by the means with the actual size of the paper to determine a match or non-match; and permitting the continuation of the printing operation when the result of the determination by the second means matches. If the result of the determination by the second determining means does not match, a second printing operation restricting means for prohibiting the continuation of the printing operation may be provided.
[0016]
As described above, at the stage when the paper is supplied to the paper feed port, the presence or absence of the paper size abnormality or the supply abnormality is detected by the determination unit, and the printing is performed by the print operation restriction unit only when there is no paper size abnormality or the supply abnormality. Although the start of the operation is permitted, the supply of the sheet is not always performed properly in the entire process from the start to the end of the printing.
Therefore, in this configuration, furthermore, the second actual size detecting means for detecting the apparent actual size of the paper ejected from the printer, the size of the paper read by the set size reading means and the second actual size detection Means for comparing the apparent size of the paper detected by the means with the actual size of the paper to determine whether or not there is a match. If the result of the determination by the second determination means matches, the second print operation restricting means is provided. While the continuation of the printing operation is permitted, the continuation of the printing operation is prohibited by the second printing operation restricting unit when the determination result by the second determining unit does not match.
Since printing has already started, it is certain that the true size of the paper supplied at this time matches the paper size set in the software.However, the paper may bend or bend during the printing process. In some cases, the printer may be tilted or become unsuitable for printing.
The second actual size detection unit detects the apparent actual size of the paper in the same manner as the above-described actual size detection unit, and determines whether the apparent actual size matches the paper size set on the software. I do.
If the results of the determination by the second determination means match, it means that the paper is not bent or skewed, so the second print operation restriction means permits the continuation of the print operation. Further, when the determination results by the second determination unit do not match, even if the paper size itself is appropriate, the paper is bent or the paper is inclined, and an abnormality has occurred in the apparent actual size. This means that the second print operation restricting unit prohibits the continuation of the print operation, and prevents the occurrence of jamming and the progress of jamming.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, some embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram showing a main part of a printer according to an embodiment to which a paper supply / discharge mechanism according to the present invention is applied, and FIG. 2 is a functional block diagram showing a main part of a control system of the printer according to the embodiment. is there.
[0018]
The general structure of the printer is already known, and the applicability of the paper supply / discharge mechanism of the present invention does not depend on the structure of the printer. Therefore, FIGS. 1 and 2 show components of the printer itself. Is omitted, and only the relationship between the paper detection sensor and the mounting position of the paper size sensor which constitute a part of the actual size detection means provided in the paper supply / discharge mechanism of the printer is shown.
[0019]
FIG. 1 shows a peripheral structure of a
[0020]
As shown in FIG. 1, a paper detection sensor S0 is provided at a reference position on one side of the
[0021]
As shown in FIG. 2, the control system of the printer includes a CPU 7 for driving and controlling a paper transport unit 4, a
[0022]
The input /
[0023]
In the present embodiment, the print paper size set by software such as various application programs mounted on the
[0024]
In the present embodiment, in addition to these known elements, signals from the above-described paper detection sensor S0 and paper size sensors S1, S2, and S3 are input to the CPU 7 via the input /
[0025]
FIG. 3 is a flowchart showing an outline of the print control operation by the CPU 7.
[0026]
Next, referring to FIG. 3, the processing operation of the CPU 7 functioning as a set size reading unit, an actual size detecting unit, an actual size recognizing unit, a determining unit, a printing operation limiting unit, and a retry instruction unit will be specifically described.
[0027]
The CPU 7 that has started the print control operation first receives print data from the higher-
[0028]
Next, the CPU 7 functioning as the actual size recognizing means initializes the value of the actual size storage register R2 and the value of the sensor search index j to 0 (step a3), and increments the value of the sensor search index j by 1 (step a4). ), A sheet detection signal from the sheet size sensor S (j) corresponding to the value of the index j is read, and it is determined whether or not the sheet size sensor S (j) detects the sheet P at the
[0029]
If the paper size sensor S (j) has detected the paper P, the CPU 7 functioning as the actual size recognizing means updates and stores the current value of the sensor search index j in the real size storage register R2 (step S1). a6) If the paper size sensor S (j) has not detected the paper P, the CPU 7 holds the current value of the actual size storage register R2 as it is.
[0030]
Next, the CPU 7 functioning as the actual size recognizing means determines whether or not the value of the sensor search index j has reached the maximum value n of the paper size sensor (step a7). Steps a4 to a6 are repeatedly executed.
[0031]
In this embodiment, the value of n is 3, and the above-described processing of step a4 to step a6 is repeated three times, whereby the detection state of the sheet by each of the sheet size sensors S1, S2, and S3 is detected. , The value of j corresponding to the paper size sensor detecting the maximum paper size is stored in the actual size storage register R2.
[0032]
In the example of FIG. 1, since the paper size sensors S1 and S2 detect the paper P and the paper size sensor S3 does not detect the paper P, the final value stored in the actual size storage register R2 is 2. .
[0033]
In this way, by repeating the processing of steps a4 to a6, the largest sheet size among the sheet size sensors that are actually detecting the sheet P based on the detection signals from the respective sheet size sensors S1, S2, S3. A paper size sensor S (R2) corresponding to the size is required.
[0034]
Next, the CPU 7 functioning as the actual size recognizing means determines that all the paper size sensors S (1) to S (R2) and the paper detection sensor S0 that are equal to or smaller than the paper size corresponding to the paper size sensor S (R2) Is detected, that is, it is determined whether all of the sensors S (0) to S (R2) are simultaneously detecting the sheet P (step a8). If all of the sensors S (0) to S (R2) are detecting the sheet P at the same time, the CPU 7 functioning as the actual size detecting means determines the sheet size stored in the actual size storage register R2. If there is a sensor that recognizes R2 as the actual size of the paper and does not detect any one of the sensors S (0) to S (R2) that detects the paper P, the CPU 7 that functions as an actual size recognizing unit, Recognize that a paper feed error has occurred.
[0035]
That is, since these sheet size sensors S1 to S3 are arranged in rows in order from the small size to the large size in order from the reference position where the sheet detection sensor S0 is arranged, the sheet size sensors S1 to S4 detect the maximum sheet size. (R2), if all the paper size sensors of the size equal to or smaller than the paper size sensor S (R2) and the paper detection sensor S0 detect the paper P at the same time, one side of the paper P will 1 means that the other end of the sheet P is detected by the sheet size sensor S (R2), that is, the size of the sheet P is the sheet size R2.
[0036]
On the other hand, at least one of the paper size sensors S (R2) and smaller corresponding to the largest paper size among the paper size sensors detecting the paper P, or the paper detection sensor S0 is If P is not detected, the paper P supplied to the
[0037]
Here, when the determination result of step a8 is true, that is, when the actual size R2 of the sheet is properly detected by the CPU 7 functioning as the actual size detecting means, the CPU 7 further functions as the determining means. Then, the paper size R1 set on the software is compared with the actual paper size R2, and it is determined whether they match or not (step a9).
[0038]
Here, when the determination result of step a8 or step a9 is false, that is, the occurrence of a paper feeding error is detected, or the paper size R1 and the actual paper size R2 set on the software are compared. If a mismatch is detected, the CPU 7 functioning as a print operation restricting unit prohibits the execution of the processing after step a13 related to the print operation.
[0039]
In this case, the CPU 7 determines whether an error message is already displayed on the display of the printer at this time (step a10). If the error message is not displayed, the error message is displayed again on the display of the printer. (Step a11).
[0040]
Then, the CPU 7 functioning as a retry command unit controls the driving of the sheet transport unit 4 via the input /
[0041]
Thereafter, the processing after step a3 is repeatedly executed in the same manner as described above, and when the occurrence of a paper feed error and the mismatch of paper sizes are eliminated by the above-described re-feeding operation, that is, the determination results of step a8 and step a9 Are true, the CPU 7 functioning as the print operation restricting means permits the print operation from step a13 on.
[0042]
On the other hand, if the occurrence of a paper feed error or the mismatch of the paper size has not been resolved by performing the above-described re-feed operation, that is, if the determination result of step a8 or step a9 is false, A retry operation (step a12) for failure recovery is performed in the same manner as described above. In this case, since an error message has already been displayed on the display of the printer, the determination result in step a10 is true. The display process of step a11 is omitted, and the display state of the error message is kept as it is.
[0043]
On the other hand, when both the determination results in step a8 and step a9 become true, that is, when there is no abnormality in the paper feeding state, and the paper size R1 and the actual paper size R2 set on the software are different. Is determined to be the same, the CPU 7 functioning as the print operation restricting means permits the start of the print operation.
[0044]
In this case, the CPU 7 first determines whether an error message is displayed on the display of the printer (step a13), and if the error message is displayed, cancels the display of the error message (step a14). If no error message is displayed, the non-display state is maintained. Then, based on the print data read in the
[0045]
As described above, according to this embodiment, the printing operation is performed only when the paper size R1 set on the software matches the actual size R2 of the paper fed to the printer. Eliminates contamination of the
[0046]
Further, the printing operation is prohibited even when the paper P is deformed or the paper feeding position is abnormal, so that the deviation of the paper P supply position, the abnormality of the paper P transporting posture, or the paper P itself. It is also possible to prevent the problem such as the protrusion of the ink from the paper P due to the bending or the like.
[0047]
Further, when an abnormality is detected, the paper P supplied to the
[0048]
Next, referring to FIGS. 4 to 7, second actual size detecting means for detecting the apparent actual size of the paper discharged from the printer, and the size of the paper read by the set size reading means and A second determining means for comparing the apparent size with the actual size of the paper to determine whether or not the printing paper does not match; and a second printing operation restriction for prohibiting the continuation of the printing operation when the determination result by the second determining means does not match. An example of a paper supply / discharge mechanism provided with means will be briefly described.
[0049]
As shown in FIG. 4, in this embodiment, a second paper detection sensor W0 is provided at a reference position on one side of the paper discharge port 17 of the printer, and the second paper detection sensor W0 is arranged in a row with respect to the second paper detection sensor W0. Then, second paper size sensors W1, W2, W3 are provided in order. The structures and functions of the sensors W0 to W3 are substantially the same as those of the sensors S0 to S3 described above.
[0050]
As shown in FIG. 5, signals from the second paper size sensor W0 and the second paper size sensors W1, W2, and W3, which constitute a part of the second actual size detection means, are output from the sensors S0 described above. Similarly to S3, the data is input to the CPU 7 via the input /
[0051]
6 and 7 are flowcharts showing the outline of the print control operation by the CPU 7 of the present embodiment.
[0052]
Next, with reference to FIGS. 6 and 7, the processing operation of the CPU 7 of the present embodiment functioning as the second actual size detection unit, the second determination unit, and the second print operation restriction unit will be specifically described. I do. However, since the processing of step b1 to step b14 is the same as the processing of step a1 to step a14 described with reference to FIG. 3, the description is omitted here. In other words, the processing up to the start of the actual printing operation is the same in the above-described embodiments and this embodiment. In the present embodiment, the second actual size detecting means and the second The abnormality detected in the paper P is detected by the processing operation of the CPU 7 functioning as the determination unit and the second printing operation restriction unit, and the continuation of the printing operation is limited by the second printing operation restriction unit according to the presence or absence of the abnormality. Is different from the above-described embodiment.
[0053]
Here, on the assumption that the paper size R1 set on the software and the actual size R2 of the paper fed to the printer match, and that an appropriate printing operation is started, the processing from the printing operation start time, That is, the processing after step b15 will be described.
[0054]
Prior to the start of printing, the CPU 7 first initializes the value of the scanning counter Sc to 0 (step b15), and restarts the elapsed time measurement timer T (step b16). Thereafter, based on the
[0055]
First, the CPU 7 determines whether or not the value of the scanning counter Sc is 0 (step b17). Since Sc = 0 in the initial stage, the CPU 7 determines whether the value of the scanning counter Sc is 0 based on the print data previously read into the
[0056]
Next, the CPU 7 determines whether or not printing has been completed in this cycle of processing, that is, whether or not all of the print data read into the
[0057]
Therefore, in the processing of the next cycle, the value of the scanning counter Sc is 1, that is, the determination result of step b17 is false, and the CPU 7 determines whether the value measured by the elapsed time measurement timer T has reached the set value t. (Step b21).
[0058]
The set value t is a value of a required time from the printing start time required until the leading edge of the paper P reaches the paper discharge port 17. Therefore, if the value measured by the elapsed time measurement timer T has reached the set value t, it means that the leading end of the paper P has reached the position where the sensors W0 to W3 are provided. Does not reach the set value t, it means that the leading edge of the sheet P has not yet reached the position where the sensors W0 to W3 are provided.
[0059]
If the determination result of step b21 is false, that is, if it is determined that the leading end of the sheet P has not reached the position where the sensors W0 to W3 are provided, the abnormality detection processing by the sensors W0 to W3 is performed. It doesn't matter. Therefore, the CPU 7 sets the scanning counter Sc to 0 (step b29), ending the processing of step b22 and subsequent steps relating to the abnormality detection, and ends the processing of the cycle.
[0060]
As described above, until the leading edge of the sheet P reaches the position where the sensors W0 to W3 are provided, even if the value of the scanning counter Sc becomes 1, the substantial abnormality detection processing is not executed, and the scanning counter is not executed. In the processing cycle in which the value of Sc becomes 0, only the print processing in step b18 described above is repeatedly executed.
[0061]
Then, when it is detected by the determination processing in step b21 that the value measured by the elapsed time measurement timer T has reached the set value t while the printing processing is continued, the apparent actual size of the paper discharged from the printer is determined. CPU 7 functioning as a second actual size detecting means for detecting the actual size, executes the processing of steps b22 to b28, and based on the signals of the sensors W0 to W3 constituting a part of the second actual size detecting means, It is determined whether a paper error has occurred. If the occurrence of a paper feed error is not detected, the CPU 7 further recognizes the apparent actual size R2 of the paper P, and the CPU 7 functioning as a second determination unit determines the apparent actual size R2 of the paper P. It is determined whether the paper size R1 matches the paper size set on the software (steps b22 to b28).
[0062]
The processing in steps b22 to b28 is the same as the processing in steps a3 to a9 in the embodiment described with reference to FIG. 3 except that the sensors from which signals are to be read are W0 to W3. Therefore, detailed description is omitted.
[0063]
Since printing has already been started, it is certain that the true size of the paper P supplied at this time matches the paper size R1 set on the software, but the paper P is bent in the printing process. In some cases, the paper P may be unsuitable for printing due to the paper P being tilted. In such a case, it is determined whether the second actual size detection unit detects the occurrence of the paper feeding error (the determination result in step b27). Is false) or since the apparent actual size R2 of the paper P does not match the paper size R1 set on the software (the determination result in step b28 is false), it is possible to detect these abnormalities. .
[0064]
Here, if both the determination results of step b27 and step b28 are true, it means that no abnormality such as bending or tilting of the paper P has occurred, and thus it functions as the second printing operation restricting means. The CPU 7 permits the continuation of the printing operation, sets 0 to the scanning counter Sc (step b29), and ends the processing in the cycle.
[0065]
As described above, when no abnormality is detected in the abnormality detection processing executed when the value of the scanning counter Sc is 1, in each processing cycle in which the value of the scanning counter Sc becomes 0, the above-described step b18 is performed. Is repeatedly executed. Then, finally, at the stage where the end of printing is confirmed in the determination processing of step b19, a re-feeding operation of supplying the next sheet P to the
[0066]
On the other hand, if any abnormality is detected in the abnormality detection process executed when the value of the scanning counter Sc is 1, that is, if the determination result of step b27 or step b28 is false, the second The CPU 7 functioning as the print operation restricting unit prohibits the continuation of the print operation, displays an error message on the display of the printer, and stops the process (step b30).
[0067]
In this case, since the subsequent execution of the printing process (step b18) is prohibited, the printing operation automatically stops at that point.
[0068]
Accordingly, it is possible to prevent the occurrence of jamming and the progress of jamming in the paper P, and it is possible to prevent the paper P from being rounded and crumpled in the printer, or an accident such as being jammed in the mechanism portion. At the same time, it is possible to prevent contamination of the
[0069]
【The invention's effect】
The paper supply / discharge mechanism of the printer according to the present invention is configured to allow a printing operation only when the paper size set on the software matches the actual size of the paper fed to the printer. Therefore, contamination of the platen due to ink ejected during printing operation exceeding the paper width, waste of ink due to wasteful ejection of ink outside the paper, and waste of paper due to misuse of excessively large paper can be avoided. Can be prevented.
[0070]
In addition, by providing a paper detection sensor and a paper size sensor for each paper size in the paper feed port, the occurrence of a paper feed error is detected in addition to the actual size of the paper. It has become possible to prohibit the start of the printing operation.
[0071]
In addition, when the paper size set on the software does not match the actual size of the paper fed to the printer or when a paper feeding error is detected, the paper discharging operation and the paper re-feeding operation are performed. Even if paper of an inappropriate size is fed or an error occurs in the paper feeding status, automatically eject the paper and feed the next paper. Thus, it is possible to eliminate an abnormality due to a difference in paper size and a paper feeding error.
[0072]
Further, after the actual printing operation is started, the apparent actual size of the paper discharged from the printer is detected, and if the apparent actual size does not match the paper size set on the software, Since the continuation of the printing operation is prohibited, jamming and the progress of jamming can be prevented even if the paper is bent or tilted during the printing process and becomes unsuitable for printing. In addition, accidents such as the paper being rounded and crumpled in the printer and being jammed in the mechanism are prevented beforehand, and at the same time, due to the printing operation when the paper comes off or deforms from the normal transport path. The contamination of the platen and waste of ink can be prevented.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing a main part of a printer according to an embodiment to which the present invention is applied.
FIG. 2 is a functional block diagram illustrating a main part of a control system of the printer according to the embodiment.
FIG. 3 is a flowchart schematically showing a print control operation of a CPU functioning as an actual size detection unit (actual size recognition unit), a determination unit, a print operation restriction unit, and a retry instruction unit.
FIG. 4 is a schematic view illustrating a main part of a printer according to another embodiment to which the present invention is applied.
FIG. 5 is a functional block diagram illustrating a main part of a control system of the printer according to the embodiment.
FIG. 6 is a flowchart schematically showing a print control operation of a CPU functioning as an actual size detecting unit (actual size recognizing unit), a determining unit, a printing operation limiting unit, and a retry instruction unit.
FIG. 7 is a flowchart schematically showing a print control operation of a CPU functioning as a second actual size detection unit, a second determination unit, and a second print operation restriction unit.
[Explanation of symbols]
1 Paper feed port
2 Platen
3 rollers
4 Paper transport unit
5 Carriage drive unit
6 print head
7. CPU (setting size reading means, actual size detecting means, actual size recognizing means, determining means, printing operation limiting means, retry instructing means)
8 ROM
9 RAM
10, 11, 12 driver circuit
13 I / O circuit
14 Input / output interface
15 Host device
16 I / O circuit
17 Exit
P paper
S0 paper detection sensor (part of actual size detection means, for paper feed confirmation)
S1 paper size sensor (part of actual size detection means, for A6 paper)
S2 paper size sensor (part of actual size detection means, for B5 paper)
S3 paper size sensor (part of actual size detection means, for A4 paper)
W0 Second paper detection sensor (part of second actual size detection means)
W1 Second paper size sensor (part of second actual size detection means)
W2 Second paper size sensor (part of second actual size detection means)
W3 Second paper size sensor (part of second actual size detection means)
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002169651A JP2004009668A (en) | 2002-06-11 | 2002-06-11 | Paper feeding/delivering mechanism for printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002169651A JP2004009668A (en) | 2002-06-11 | 2002-06-11 | Paper feeding/delivering mechanism for printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004009668A true JP2004009668A (en) | 2004-01-15 |
Family
ID=30436145
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002169651A Pending JP2004009668A (en) | 2002-06-11 | 2002-06-11 | Paper feeding/delivering mechanism for printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004009668A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9992354B2 (en) | 2012-01-31 | 2018-06-05 | Hewlett-Packard Development Company, L.P. | Media reflectance identifiers |
-
2002
- 2002-06-11 JP JP2002169651A patent/JP2004009668A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9992354B2 (en) | 2012-01-31 | 2018-06-05 | Hewlett-Packard Development Company, L.P. | Media reflectance identifiers |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR0171545B1 (en) | Printing system by paper lenght automatic sensing and controlling method thereof | |
| CN102476513B (en) | Printing apparatus | |
| US8249495B2 (en) | Image forming apparatus | |
| JP3604056B2 (en) | Sheet feeding device | |
| US11845627B2 (en) | Printing apparatus and conveyance control method | |
| JP2004009668A (en) | Paper feeding/delivering mechanism for printer | |
| JPH03153376A (en) | printer paper feed device | |
| JP2001117431A (en) | Image forming device | |
| JPH10194522A (en) | Image forming device | |
| JP2012091361A (en) | Printing apparatus and its control method | |
| JP2005066969A (en) | Printing apparatus and printing apparatus control method | |
| JP3948445B2 (en) | Printing apparatus and paper supply / discharge method | |
| JP3483180B2 (en) | Image forming device | |
| JPH0672572A (en) | Printer transport device | |
| US20250036325A1 (en) | Printing apparatus, method of controlling printing apparatus, and storage medium | |
| JP4770008B2 (en) | Printer, paper jam handling method, and information recording medium | |
| JP2002265096A (en) | Paper feeding controller of printer | |
| CN1322987C (en) | Stencil printing device | |
| JP7361290B2 (en) | double-sided printing device | |
| JP7215195B2 (en) | image forming device | |
| JP2002046309A (en) | Printer, printer host, storage medium storing printer host operation program | |
| JP3916051B2 (en) | Printing device | |
| KR100529340B1 (en) | Paper feeding method of printer | |
| JP2009102120A (en) | Printer device | |
| JP2002114407A (en) | Sheet feeder, and image forming apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040426 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060406 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060418 |
|
| A02 | Decision of refusal |
Effective date: 20060829 Free format text: JAPANESE INTERMEDIATE CODE: A02 |