JP3855564B2 - Printer and control method thereof - Google Patents

Printer and control method thereof Download PDF

Info

Publication number
JP3855564B2
JP3855564B2 JP30995399A JP30995399A JP3855564B2 JP 3855564 B2 JP3855564 B2 JP 3855564B2 JP 30995399 A JP30995399 A JP 30995399A JP 30995399 A JP30995399 A JP 30995399A JP 3855564 B2 JP3855564 B2 JP 3855564B2
Authority
JP
Japan
Prior art keywords
paper
printing
continuous paper
printer
discharge port
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.)
Expired - Fee Related
Application number
JP30995399A
Other languages
Japanese (ja)
Other versions
JP2001121765A (en
Inventor
雄史 高見沢
篤志 山路
仁一 滝沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP30995399A priority Critical patent/JP3855564B2/en
Publication of JP2001121765A publication Critical patent/JP2001121765A/en
Application granted granted Critical
Publication of JP3855564B2 publication Critical patent/JP3855564B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Rewinding, Feeding, Winding, Or Abnormalities Of Webs (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、連続紙上に印刷を行うプリンタ及びその制御方法に関し、特に、残量の少なくなった連続紙の排出制御に特徴を有するプリンタ及びその制御方法に関する。
【0002】
【従来の技術】
ATM装置等に内蔵され、レシートなどを出力するためのプリンタとしては、ロール紙その他の連続紙を搭載し、オートカッター機構によりこれを適宜切断分離するものが広く知られている。この種のプリンタは、その管理者や技術者が常駐しないところに設置される場合が多いので、その使用に伴う障害をできるだけ少なくすることが重要な課題である。
【0003】
また、障害が発生した場合であっても、その障害からの復帰方法ができるだけ簡単であることが重要となる。
【0004】
このためプリンタには、印字部の近傍に、連続紙の終端を検出するリアルエンドセンサが設けられている。そして、このリアルエンドセンサによって連続紙の終端が検出されると、連続紙の紙切れが生じたものとして印字が停止される。そして、紙送りが行われて残りの連続紙が排出口から排出される。その後、メンテナンス員により連続紙が新たなものに交換された後に印刷が再び行われる。
【0005】
【発明が解決しようとする課題】
しかしながら、このような従来のプリンタにおいては、連続紙の残りがわずかしかない場合に印刷を行うと、排出口近傍に設けた排出ローラに連続紙の先端が至る前に、リアルエンドセンサにて終端が検出されることがある。このような場合には連続紙を排出ローラに送り込むことができないため、連続紙を排出することができず、プリンタ内に残ってしまう。そして、プリンタ内に残った連続紙をメンテナンス員が手作業で抜き取らなければ印刷を再開できないという問題があった。また、プリンタ内の狭い用紙経路から用紙を抜き取る作業は、非常に手間のかかるものでもある。
【0006】
本発明の目的は、前記従来の課題を解決し、連続紙の残量が少ない場合にも、連続紙が確実に排出されるようにしたプリンタ及びその制御方法を提供することにある。
【0007】
【課題を解決するための手段】
前記目的を達成するため本発明は、連続紙上に印刷を行うプリンタの制御方法において、(a)前記連続紙の終端を、該連続紙をプリンタの排出口から排出可能な時点で検出する工程と、(b)前記連続紙の終端が検出された際には、前記連続紙をプリンタの排出口から排出する工程とを備えて構成される。
【0008】
本発明の制御においては、連続紙を排出可能な時点でその終端を検出し、排出動作を行うことができる。したがって、連続紙を排出用のローラに確実に送り込むことができ、連続紙を排出することができるので、メンテナンス員が手作業で連続紙を抜き取る必要がなくなる。
【0009】
また本発明は、連続紙上に印刷を行うプリンタの制御方法において、(a)ペーパーエンドセンサにより、前記連続紙の終端を、該連続紙をプリンタの排出口から排出可能な時点で検出する工程と、(b)リアルエンドセンサにより、前記連続紙の終端を、該連続紙への印字が不可能となる時点で検出する工程と、(c)前記工程(a)で連続紙の終端が検出された後、前記工程(b)で連続紙の終端が検出される前に印字が終了した場合には、前記連続紙をプリンタの排出口から排出し、前記工程(a)で連続紙の終端が検出された後、印字が終了する前に前記工程(b)で連続紙の終端が検出された場合には、前記連続紙への印字を停止して、前記連続紙をプリンタの排出口から排出する工程とを備えて構成される。
【0010】
この場合には、連続紙の終端が検出された時点で、あと少し印字を行えば印刷が終了するような場合に、印字を続行して印刷を完了することができる。したがって、連続紙の交換後に印刷をやり直す必要がなくなる。
【0011】
本発明はまた、連続紙上に印刷を行うプリンタに関する。本発明のプリンタは、連続紙上に印刷を行うプリンタにおいて、前記連続紙の印刷された領域をプリンタの排出口に向けて搬送させる第1の搬送手段と、前記排出口の近傍に設置され、前記連続紙の印刷された領域を前記排出口から外へ搬送させる第2の搬送手段と、前記連続紙の終端を、該連続紙をプリンタの排出口から排出可能な時点で検出するペーパーエンドセンサと、前記ペーパーエンドセンサにて前記連続紙の終端が検出された際には、前記第1の搬送手段及び前記第2の搬送手段を駆動して、前記連続紙をプリンタの排出口から排出する制御手段とを備えて構成される。
【0012】
また、本発明のプリンタは、連続紙上に印刷を行うプリンタにおいて、前記連続紙の印刷された領域をプリンタの排出口に向けて搬送させる第1の搬送手段と、前記排出口の近傍に設置され、前記連続紙の印刷された領域を前記排出口から外へ搬送させる第2の搬送手段と、前記連続紙の終端を、該連続紙をプリンタの排出口から排出可能な時点で検出するペーパーエンドセンサと、前記連続紙の終端を、該連続紙への印字が不可能となる時点で検出するリアルエンドセンサと、前記ペーパーエンドセンサにて連続紙の終端が検出された後、前記リアルエンドセンサにて連続紙の終端が検出される前に印字が終了した場合には、前記第1の搬送手段及び前記第2の搬送手段を駆動して、前記連続紙をプリンタの排出口から排出し、前記ペーパーエンドセンサにて連続紙の終端が検出された後、印字が終了する前に前記リアルエンドセンサにて連続紙の終端が検出された場合には、前記連続紙への印字を停止して、前記第1の搬送手段及び前記第2の搬送手段を駆動して、前記連続紙をプリンタの排出口から排出する制御手段とを備えて構成される。
【0013】
更に、本発明のプリンタにおいて、前記ペーパーエンドセンサを、前記第1の搬送手段の上流側であって、前記ペーパーエンドセンサと前記第1の搬送手段の相互間隔が前記第1の搬送手段と前記第2の搬送手段の相互間隔以上となる位置に配置することができる。
【0014】
これにより、ペーパーエンドセンサで連続紙の終端を検出した時点においては、連続紙の残りの長さが、第1の搬送手段と第2の搬送手段の相互間隔以上となる。したがって、連続紙を確実に第2の搬送手段に送り込むことができる。
【0015】
また、本発明のプリンタは、ホストコンピュータから送信される制御コマンドと印字データを受信する受信手段と、
該受信手段が受信した内容に伴い、ウエブ状の用紙に印刷する印刷手段と、
前記ウエブ状の用紙の終端を検出する第1の紙検出手段と、
前記印刷手段近傍に設けられ、必要に応じて前記用紙を切断する切断手段と、
前記印刷手段と対向する位置に設けられ、前記用紙を排出口に向かって搬送する第1の搬送手段と、
前記第1の搬送手段より下流側の前記排出口近傍に設けられ、前記第1の搬送手段から搬送された用紙を受け入れ、さらに前記排出口から外に排出させる第2の搬送手段とを備え、
前記印刷手段による印刷中に、前記用紙の終端を前記第1の検出手段が検出すると、前記ホストコンピュータから切断コマンドを受信していても前記切断手段による切断動作を行わず、前記第1の搬送手段と前記第2の搬送手段による搬送動作により前記用紙を排出するよう制御する制御手段を備えたことを特徴とする。
【0016】
この構成によれば、ホストコンピュータから印字終了を示す切断コマンドを受信していた場合でも、その切断コマンドによる切断を行わず、用紙を排出することができるため、プリンタ内部に紙が滞留することはない。
【0017】
また、本発明のプリンタは、ホストコンピュータから送信される制御コマンドと印字データを受信する受信手段と、
該受信手段が受信した内容に伴い、ウエブ状の用紙に印刷する印刷手段と、
前記ウエブ状の用紙の終端を検出する第1の紙検出手段と、
前記印刷手段近傍に設けられ、前記用紙への印刷可能下端を検出する第2の紙検出手段と、
前記印刷手段と対向する位置に設けられ、前記用紙を排出口に向かって搬送する第1の搬送手段と、
前記第1の搬送手段より下流側の前記排出口近傍に設けられ、前記第1の搬送手段から送られた用紙を受け入れ、さらに前記排出口から外に排出させる第2の搬送手段とを備え、
前記印刷手段による印刷中に前記第1の紙検出手段が前記用紙の終端を検出しても、前記用紙の終端が前記第2の検出手段により検出されるまでは印刷を停止せず、前記第1の搬送手段により用紙を搬送させるよう制御する制御手段を備えたことを特徴とする。
【0018】
この構成によれば、印刷中に印刷データを少し残して終端を第1の検出手段が検出した場合でも、第2の検出手段が用紙の終端を検出するまでは印字可能なため、完全な印字データを印刷した用紙を出力することができる。
【0019】
また、本発明のプリンタは、ホストコンピュータから送信される制御コマンドと印字データを受信する受信手段と、
該受信手段が受信した内容に伴い、ウエブ状の用紙に印刷する印刷手段と、
前記ウエブ状の用紙の終端を検出する第1の紙検出手段と、
前記印刷手段近傍に設けられ、必要に応じて前記用紙を切断する切断手段と、
前記印刷手段と対向する位置に設けられ、前記用紙を排出口に向かって搬送する第1の搬送手段と、
前記第1の搬送手段より下流側の前記排出口近傍に設けられ、前記第1の搬送手段から搬送された用紙を受け入れ、さらに前記排出口から外に排出する第2の搬送手段とを備え、
前記切断手段と前記第2の搬送手段との間の距離よりも、前記第1の紙検出手段と前記切断手段との間の距離を大きくしたことを特徴とする。
【0020】
この構成によれば、切断手段によって切断された前回の印字の用紙の終端(今回の印字の始端)〜第2の搬送手段との間の距離よりも、今回の印字の始端〜第1の検出手段までの距離(すなわち用紙の最終回の印字長の最小値)が大きいため、最終回(用紙終端)の印字部分の頭が確実に第2の搬送手段によって搬送され、プリンタ内部に紙が滞留することがない。
【0021】
また、本発明のプリンタの制御方法は、ウエブ状の連続用紙に印刷手段により印字し、印字した用紙をホストコンピュータから受信した切断コマンドに基づいて切断手段により切断し、切断した用紙を搬送手段により排出口から排出するプリンタの制御方法において、
前記受信した切断コマンドを解釈するとき、前記切断手段による切断後の用紙長が、前記排出口から排出可能な長さになるかどうか判断し、
(a)該用紙長が排出可能な長さであれば、前記切断手段により切断し、
(b)該用紙長が排出不可能な長さになると判断すれば、前記切断手段により切断せず、前記排出口から排出する
いずれかを選択することを特徴とする。
【0022】
この構成によれば、切断コマンドに基づいて切断を行うプリンタにおいて、切断前に用紙がプリンタ内部に滞留するかどうか判断でき、切断後プリンタ内部に滞留してしまうような短い用紙が生成されることを防止することができる。
【0023】
【発明の実施の形態】
以下、本発明の第1実施形態を図面に沿って説明する。図1は、本実施形態に係るプリンタの内部構造を示す概略側面図である。プリンタ10は、ATM等に搭載されるレシート印刷用のプリンタであり、その内部にロール紙Rを収納する。ロール紙Rの収納部からロール紙の排出口11を連通する紙経路上には、印字ヘッド12、用紙切断機構13、送り側排出ローラ(以下、送りローラという)14及び排出側排出ローラ(以下、第1,第2の排出ローラという)15、16が設置される。
【0024】
不図示のホストコンピュータから不図示の受信手段により受信した印字命令に従って、これら搬送ローラ14〜16が適宜駆動され、ロール紙Rがそのロール部分から順次引き出される。送りローラ14によるロール紙Rの送りと共に、印字ヘッド12が駆動され所望の文字、記号等がロール紙R上に印刷される。ロール紙Rにおける印刷された領域は、排出口11に向けてさらに搬送され、その印刷領域の後端部が用紙切断機構13の位置まで来たときに、これによって切断分離され、排出口11から単票のレシートとして利用者に供給される。
【0025】
第1,第2の排出ローラ15、16は、送りローラ14によって送られるロール紙Rの先端を受け取り、排出口11に導く。第1,第2の排出ローラ15、16によるロール紙Rの搬送速度は、基本的に送りローラ14におけるそれと同じに設定されている。従って、送りローラ14及び第1,第2の排出ローラ15、16が駆動されている状態で、送りローラ14によって送られ、その先端が第1,第2の排出ローラ15、16間に引き込まれたロール紙Rには、引っ張り力が掛かったり、余計な撓みが生じたりすることがない。
【0026】
用紙切断機構13によってロール紙Rの上流側部分から切り離される用紙の先端部分(以下、用紙rという)は、第1,第2の排出ローラ15、16によって、引き続き搬送され、その略全域が排出口11から外へ送り出される。搬送方向下流側の第2の排出ローラ16は、上流側の第1の排出ローラ15よりも弱い押圧力で用紙rを挟持する。切断された用紙rの後端は、最終的にこの下流側の第2の排出ローラ16で保持される。このように用紙rは、第2の排出ローラ16によって弱い力で保持されているので、利用者は容易にこれを引き抜くことができる。本発明に係る制御に関し、第1,第2の排出ローラ15、16は、送りローラ14とは独立して駆動・停止される。この制御の詳細については後述する。
【0027】
プリンタ10は、また、前記二対の第1,第2の排出ローラ15、16間に、用紙センサ17を備える。用紙センサ17は、ロール紙Rが搬送されて、その先端が上流側の第1の排出ローラ15を超えたときに、これを検出する。用紙センサ17は、また、切断された用紙rの後端部がここを超えたときに、これを検出する。用紙センサ17による検出信号に基づいて、各種制御が実行される。
【0028】
また、プリンタ10には、リアルエンドセンサ(第2の紙検出手段)18及びペーパーエンドセンサ(第1の紙検出手段)19が設けられている。リアルエンドセンサ18は、連続紙の終端を、該連続紙への印字が不可能となる時点で検出する。具体的には、リアルエンドセンサ18は、印字ヘッド12の上流側の直近位置に配置されており、連続紙の終端がリアルエンドセンサ18を通過したことを検出する。またペーパーエンドセンサ19は、連続紙の終端を、該連続紙をプリンタ10の排出口11から排出可能な時点で検出する。具体的には、ペーパーエンドセンサ19は、送りローラ14の上流側であって、ペーパーエンドセンサ19と送りローラ14の相互間隔(L1)が、送りローラ14と上流側の第1の排出ローラ15の相互間隔(L2)以上になる位置(L1≧L2)に配置されており、この位置を連続紙の終端が通過したことを検出する。これらリアルエンドセンサ18及びペーパーエンドセンサ19はいかなる方式にて検出を行うものであってもよいが、例えば連続紙に光を投光し、連続紙による光の遮光状態又は反射状態を検出することによって、連続紙の終端が通過したか否かを検出することができる。
【0029】
なお、L1、L2として、ペーパーエンドセンサ19−送りローラ14、送りローラ14−第1の排出ローラ15としたが、これは、用紙切断機構13が、送りローラ(印字ヘッド)直近にあるからであり、用紙切断機構13による切断箇所〜ペーパーエンドセンサ19,用紙切断機構13による切断箇所〜第1の排出ローラ15によって挟持される位置、による大小の比較が望ましい。
【0030】
プリンタ10は、切断分離されたレシートの回収装置20を備える。所定時間を超えると排出口11にレシートが放置されたままの状態にある場合、ホストコンピュータからの命令に基いて第1,第2の排出ローラ15、16はレシートを逆送させ、プリンタ10内部へ引き込む。引き込まれたレシートは、回収経路21に搬入され、回収トレイ22内へ順次回収される。
【0031】
プリンタ10は、図示しない制御用のCPU(制御手段)及びROMを実装する。プリンタ10に実装されたCPUは、ホストコンピュータからの制御コマンド及びROMに格納された制御プログラムに従って、プリンタの前記各機構部分を制御する。本発明に関連して、プリンタ10内蔵のCPUは、送りローラ14、第1,第2の排出ローラ15、16、用紙切断機構13を駆動制御し、所定の用紙排出動作を実現する。また、CPUは、用紙センサ17、リアルエンドセンサ18,ペーパーエンドセンサ19を監視し、必要に応じてその状態をホストコンピュータに通知する。また、CPUは、印字ヘッド12を駆動して、用紙Rに印刷を行う。
【0032】
(第1の実施形態)
図2は、本発明の第1の実施形態おけるロール紙Rの送り状態を示すプリンタ10の概略側面図、図3は印刷処理のフローチャートである。これらの図を参照しつつ、プリンタ10における印刷制御を説明する。
【0033】
印刷開始時点においては、図2(a)に示すように、前の印刷にて切断された連続紙の先端が、用紙切断機構13の直近位置に配置されている。この状態において、プリンタ10は、ホストコンピュータからのデータを受信すると、これを一旦受信バッファ(不図示)に格納し、順次CPUによって実現される解釈部でその内容を解釈し、解釈されたデータが印字コマンドである場合には印字処理を行う。この印字処理においてCPUは、まず送りローラ14によって用紙rを送りつつ、印字ヘッド12を駆動(走査)制御して、ホストコンピュータから受信した印字コマンドに続く印字データに従う印字を実施する。この印字は所定長毎(例えば1行毎)に行われ、送りローラ14は印字が行われる毎に用紙rを前記所定長だけ搬送する(図3の工程301)。この印字動作に伴い用紙rは、排出口11に向けて徐々に送られる。
【0034】
次いで、CPUは用紙センサ17による用紙rの先端の検出を確認し(図3の工程302)、未だ検出されていない場合には、第1,第2の排出ローラ15、16を、送りローラ14に同期して駆動させる(図3の工程303)。
【0035】
また、CPUは印字を行う毎に、用紙rの切断を実行させるための切断コマンドをホストコンピュータから受信したか否かを監視し(図3の工程305)、切断コマンドを受信していない場合(工程305、いいえ)、ペーパーエンドセンサ19によって連続紙の終端が検出されたか否かを監視する(図3の工程309)。そして、ホストコンピュータから切断コマンドを受信(工程305,はい)、または連続紙のペーパーエンドセンサ検出による終端検出(工程309,はい)があるまで、工程301〜303が繰り返し実行される。
【0036】
ここで、工程305のはい(切断コマンド)とは、受信バッファに溜まっているホストコンピュータからの受信データを順番に解釈し、印字データの終わりを示す切断コマンドを解釈した時点を、工程305のはい、とする。
【0037】
やがて用紙rの先端が用紙センサ17にて検出される(工程302,はい)と、第1,第2の排出ローラ15、16が停止される(工程304)。したがって、第1排出ローラ15と第2排出ローラ16の間にある用紙rの先端は、第1の排出ローラ15に挟持された状態となる(図2(b))。さらに工程301が繰り返して実行されると、第1排出ローラ15は停止しているが送りローラ14は駆動されているため、用紙rは徐々に撓んでいき、印字ヘッド12と第1の排出ローラ15の間にループ(撓み)が形成される(図2(c))。この制御は、用紙rが切断前に排出されると、利用者によりATM等の出口に排出されている用紙rが引っ張られて破けることがあるため、これを防止するため、排出口から排出させずに撓ませるものである。ただし、このような制御は本実施形態において必須ではない。
【0038】
その後、図3の工程305において、ホストコンピュータからの切断コマンドを受信したと判断され、ペーパーエンドセンサ19によってペーパーエンドを検出していない場合(図3の工程306,いいえ)、CPUは、最初に第1,第2の排出ローラ15、16を駆動し(図3の工程307)、次いで用紙切断機構13を駆動して用紙rの後端部を切断する(図3の工程308)。この用紙rの切断は、形成されたループが完全になくなる前に完了される(以降、図3のフローチャートでは図示せず)。
【0039】
用紙切断機構13によりロール紙Rから切り離された用紙rは、第1,第2の排出ローラ15、16によって排出口11外へ搬送される。そして、切断後の用紙rの後端部が用紙センサ17を超えたことにより、これが検出されると、第1,第2の排出ローラ15、16の駆動が停止される。この結果、図2(d)に示すように、用紙rの後端部は第2の排出ローラ16に弱く保持された状態となり、利用者による取り出しが可能にされる。これにて印刷処理が終了する。
【0040】
一方、工程305においてホストコンピュータから切断コマンドを受信したと判断される前、つまり印字が終了する前に、ペーパーエンドセンサ19によって連続紙の終端が検出されると(工程309、いいえ)、図3の工程310に移行して、送りローラ14と第1,第2の排出ローラ15、16が駆動され、既に印刷された用紙r及び残りの連続紙が全て排出される。
【0041】
例えば工程308にて用紙rを切断した後(図2(d))、次の印刷処理において工程301〜305を実行している際、連続紙が紙切れとなった場合を想定する。この場合、図2(e)に示すように、連続紙の終端がペーパーエンドセンサ19を通過した時点で該終端の検出が行われ、工程309から工程310に移行して、残りの連続紙の排出が行われる。ここで、図2(e)においてL1≧L2となるようにペーパーエンドセンサ19が配置されていることから、連続紙の終端がペーパーエンドセンサ19で検出された時点では、残りの連続紙を送りローラ14で送り出すことよって第1の排出ローラ15に確実に送り込むことができる。したがって、図2(f)に示すように、残りの連続紙を排出口11から排出することができる。この後、メンテナンス員が連続紙を新しいものに交換し、再度印刷を実行する。なお、本実施形態においては、リアルエンドセンサ18を省略することができる。
【0042】
ここで、用紙センサ17によって用紙の先端を検出してもしなくても(工程302、はい;いいえ)、ホストコンピュータから切断コマンドを受信してもしなくても(工程305、はい;いいえ)、ペーパーエンドセンサ19によって連続紙の終端が検出されているかどうかチェックしているので、連続紙の終端が検出された場合(工程306、はい)、(または工程309、はい)、オートカッタなどからなる用紙切断機構13を動作させずに、搬送ローラ14〜16によって用紙を排出する。
【0043】
(第2実施形態)
次に、本発明の第2実施形態について説明する。図4は、本実施形態おけるロール紙Rの要部の送り状態を示すプリンタの概略側面図、図5は印刷処理のフローチャートである。ただし、特に説明なき構成及び制御方法については、第1実施形態と同じである。
【0044】
第1実施形態ではペーパーエンドセンサ19で連続紙の終端を検出した場合にはこれを直ちに排出していた。したがって、終端が検出された時点で、あと少し印字を行えば印刷が終了するような場合でも、連続紙を交換して始めから印刷をやり直す必要があった。本実施形態ではこの点を改善し、終端が検出されても印字を続行することによって、印刷のやり直しを不要とするものである。本実施形態では、第1実施形態と同様に、リアルエンドセンサ18及びペーパーエンドセンサ19が設けられる。また、図5の工程501〜504は、上述の図3の工程301〜304とそれぞれ同じである。
【0045】
いま、ペーパーエンドセンサ19で連続紙の終端が検出された場合(図5の工程510、はい;図4(a))、さらにリアルエンドセンサ18によって連続紙の終端が検出されているか否かが確認される(図5の工程511)。そして検出されていない場合(工程511,いいえ)には、工程501に戻り、そのまま印字を継続する。この印字に伴って、用紙rは徐々に下流側に搬送される。たとえ、エンドセンサ19によって、連続紙の終端が検出されても(工程510、はい)、リアルエンドセンサ18によって連続紙の終端が検出されない場合(工程511、いいえ)、用紙センサ17によって用紙rの先端が検出されるまで印字されるとともに搬送され(工程502〜工程504)、用紙センサ17が先端を検出してもまだ、リアルエンドセンサ18によって連続紙の終端が検出されない場合、L1≧L2のため、工程501を引き続き行い、用紙rが撓む(図4(b)、(c))。
【0046】
ここで、第1実施形態で述べたのと同様にホストコンピュータからの切断コマンドの受信が確認され(図5の工程505、はい)、リアルエンドセンサ18,ペーパーエンドセンサ19による終端がともに検出されない場合(工程506,507、いいえ)、通常時と同様に工程508、509に移行して、用紙rの排出及び切断が行われ、用紙rが排出口11から排出される。したがって、印刷を完全に行うことができ、連続紙の交換後に印刷をやり直す必要がなくなる。
【0047】
なお、工程506,工程510は、必要に応じてその工程を削除できる。
【0048】
一方、ホストコンピュータからの切断コマンドの受信が確認される前(工程505,いいえ)、リアルエンドセンサ18で連続紙の終端が検出されると(工程511、図4(c))、上述の工程310と同様に、既に印刷された用紙r及び残りの連続紙が排出される(工程512、図3(d))。この場合には、第1実施形態と同様に、連続紙が残り少ない場合にもこれを排出することができる。
【0049】
また、ホストコンピュータからの切断コマンドを受信しても(工程505、はい)、リアルエンドセンサ18またはペーパーエンドセンサ19による連続紙の終端が検出された場合(工程506,507,はい)、用紙を切断することなく、搬送ローラ14〜16を駆動して、用紙を排出する。
【0050】
なお、切断コマンドを受信する前、ペーパーエンドセンサ19が検出しても(工程510,はい)、リアルエンドセンサ18が検出するまで印字を行い(工程501)、リアルエンドセンサ18が検出したとき(工程511、はい)、用紙を切断することなく、印字を停止し、搬送ローラ14〜16を駆動して(工程510)、用紙を排出する。
【0051】
以上、本発明の一実施形態を図面に沿って説明したが、本発明は前記実施形態において示された事項に限定されず、特許請求の範囲及び発明の詳細な説明の記載、並びに周知の技術に基づいて、当業者がその変更・応用を行うことができる範囲が含まれる。
【0052】
【発明の効果】
以上のごとく本発明によれば、連続紙を排出可能な時点でその終端を検出し、排出動作を行うことができる。したがって、連続紙を排出用のローラに確実に送り込むことができ、連続紙を排出することができるので、メンテナンス員が手作業で用紙を抜き取る必要がなくなる。
【0053】
あるいは、連続紙の終端が検出された時点で、あと少し印字を行えば印刷が終了するような場合に、印字を続行して印刷を完了することができる。したがって、連続紙の交換後に印刷をやり直す必要がなくなる。
【0054】
更には、ペーパーエンドセンサで連続紙の終端を検出した時点においては、連続紙の残りの長さが、第1の搬送手段と第2の搬送手段の相互間隔以上となる。したがって、連続紙を確実に第2の搬送手段に送り込むことができる。
【図面の簡単な説明】
【図1】本発明の第1実施形態に係るプリンタの内部構造を示す概略側面図である。
【図2】本発明の第1実施形態におけるロール紙の送り状態を示すプリンタの概略側面図である。
【図3】本発明の第1実施形態における印刷処理のフロ−チャートである。
【図4】本発明の第2実施形態におけるロール紙の送り状態を示すプリンタの概略側面図である。
【図5】本発明の第2実施形態における印刷処理のフロ−チャートである。
【符号の説明】
10 プリンタ
11 排出口
12 印字ヘッド
13 用紙切断機構
14 送りローラ
15 第1の排出ローラ
16 第2の排出ローラ
17 用紙センサ
18 リアルエンドセンサ
19 ペーパーエンドセンサ
20 回収装置
21 回収経路
22 回収トレイ
R ロール紙
r 用紙
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer that performs printing on continuous paper and a control method thereof, and more particularly, to a printer and a control method thereof characterized by discharge control of continuous paper with a small remaining amount.
[0002]
[Prior art]
2. Description of the Related Art As printers built in an ATM device and the like for outputting receipts and the like, a printer equipped with roll paper or other continuous paper, which is appropriately cut and separated by an auto cutter mechanism, is widely known. Since this type of printer is often installed in a place where the administrator or engineer is not resident, it is an important issue to minimize the troubles associated with its use.
[0003]
Even when a failure occurs, it is important that the recovery method from the failure is as simple as possible.
[0004]
For this reason, the printer is provided with a real end sensor for detecting the end of the continuous paper in the vicinity of the printing unit. When the end of the continuous paper is detected by the real end sensor, printing is stopped as the continuous paper has run out. Then, the paper is fed and the remaining continuous paper is discharged from the discharge port. Thereafter, the printing is performed again after the continuous paper is replaced with a new one by the maintenance staff.
[0005]
[Problems to be solved by the invention]
However, in such a conventional printer, when printing is performed when there is only a small amount of continuous paper remaining, the real end sensor terminates before the leading edge of the continuous paper reaches the discharge roller provided near the discharge port. May be detected. In such a case, since the continuous paper cannot be fed to the discharge roller, the continuous paper cannot be discharged and remains in the printer. In addition, there is a problem that printing cannot be resumed unless the maintenance staff manually pulls out the continuous paper remaining in the printer. Also, the work of extracting paper from a narrow paper path in the printer is very time consuming.
[0006]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described conventional problems and to provide a printer and a control method therefor that can reliably discharge continuous paper even when the remaining amount of continuous paper is small.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a control method for a printer that performs printing on continuous paper. (A) a step of detecting the end of the continuous paper when the continuous paper can be discharged from a discharge port of the printer; And (b) a step of discharging the continuous paper from a discharge port of the printer when the end of the continuous paper is detected.
[0008]
In the control of the present invention, the end of the continuous paper can be detected when it can be discharged, and the discharging operation can be performed. Accordingly, since the continuous paper can be reliably fed to the discharge roller and the continuous paper can be discharged, there is no need for the maintenance staff to manually remove the continuous paper.
[0009]
According to another aspect of the present invention, there is provided a method for controlling a printer that performs printing on continuous paper. (A) a step of detecting the end of the continuous paper by a paper end sensor when the continuous paper can be discharged from a discharge port of the printer; (B) a step of detecting the end of the continuous paper by a real end sensor at a time when printing on the continuous paper becomes impossible; and (c) the end of the continuous paper is detected in the step (a). Then, when printing is completed before the end of the continuous paper is detected in the step (b), the continuous paper is discharged from the discharge port of the printer, and the end of the continuous paper is detected in the step (a). If the end of the continuous paper is detected in step (b) after the detection and before the printing is finished, the printing on the continuous paper is stopped and the continuous paper is discharged from the discharge port of the printer. And the process of comprising.
[0010]
In this case, when the end of the continuous paper is detected, if printing is completed after a short time, printing can be continued and printing can be completed. Therefore, it is not necessary to perform printing again after replacing the continuous paper.
[0011]
The invention also relates to a printer for printing on continuous paper. The printer of the present invention is a printer that performs printing on continuous paper, and is installed in the vicinity of the first transport means for transporting the printed area of the continuous paper toward the discharge port of the printer, A second conveying means for conveying the printed area of the continuous paper to the outside from the discharge port; and a paper end sensor for detecting the end of the continuous paper when the continuous paper can be discharged from the discharge port of the printer; When the end of the continuous paper is detected by the paper end sensor, the first conveyance means and the second conveyance means are driven to discharge the continuous paper from the discharge port of the printer. Means.
[0012]
The printer of the present invention is a printer that performs printing on continuous paper, and is installed in the vicinity of the first transport means for transporting the printed area of the continuous paper toward the discharge port of the printer, and the discharge port. A second conveying means for conveying the printed area of the continuous paper out of the discharge port; and a paper end for detecting the end of the continuous paper at a time when the continuous paper can be discharged from the discharge port of the printer. A sensor, a real end sensor for detecting the end of the continuous paper when printing on the continuous paper is impossible, and the real end sensor after the end of the continuous paper is detected by the paper end sensor. When the printing is finished before the end of the continuous paper is detected at, the first conveying means and the second conveying means are driven to discharge the continuous paper from the discharge port of the printer, The paper After the end of the continuous paper is detected by the end sensor, if the end of the continuous paper is detected by the real end sensor before the end of printing, printing on the continuous paper is stopped, And a control means for driving the first transport means and the second transport means to discharge the continuous paper from the discharge port of the printer.
[0013]
Further, in the printer according to the present invention, the paper end sensor is located upstream of the first transport unit, and a distance between the paper end sensor and the first transport unit is the first transport unit and the first transport unit. They can be arranged at positions that are equal to or greater than the mutual spacing of the second transport means.
[0014]
As a result, when the end of the continuous paper is detected by the paper end sensor, the remaining length of the continuous paper becomes equal to or greater than the mutual interval between the first transport unit and the second transport unit. Therefore, the continuous paper can be reliably fed into the second transport unit.
[0015]
The printer of the present invention includes a receiving means for receiving a control command and print data transmitted from a host computer,
Printing means for printing on web-like paper according to the content received by the receiving means;
First paper detecting means for detecting the end of the web-like paper;
Cutting means provided in the vicinity of the printing means and cutting the paper as required;
A first transport unit that is provided at a position facing the printing unit and transports the paper toward a discharge port;
Provided near the discharge port on the downstream side of the first transport unit, and includes a second transport unit that receives the paper transported from the first transport unit and discharges the paper from the discharge port,
When the first detection unit detects the end of the sheet during printing by the printing unit, the cutting unit does not perform the cutting operation even if a cutting command is received from the host computer, and the first transport is performed. And a control means for controlling to discharge the sheet by a transporting operation by the second transporting means and the second transporting means.
[0016]
According to this configuration, even when a cutting command indicating the end of printing is received from the host computer, the paper can be discharged without being cut by the cutting command. Absent.
[0017]
The printer of the present invention includes a receiving means for receiving a control command and print data transmitted from a host computer,
Printing means for printing on web-like paper according to the content received by the receiving means;
First paper detecting means for detecting the end of the web-like paper;
A second paper detecting means provided in the vicinity of the printing means for detecting a printable lower end on the paper;
A first transport unit that is provided at a position facing the printing unit and transports the paper toward a discharge port;
Provided near the discharge port on the downstream side of the first transfer unit, and includes a second transfer unit that receives the paper sent from the first transfer unit and discharges the sheet from the discharge port.
Even if the first paper detection means detects the end of the paper during printing by the printing means, printing is not stopped until the end of the paper is detected by the second detection means, and the first Control means for controlling the paper to be conveyed by one conveying means is provided.
[0018]
According to this configuration, even if the first detection unit detects the end of the print data while leaving a little print data, printing can be performed until the second detection unit detects the end of the paper. The paper on which the data is printed can be output.
[0019]
The printer of the present invention includes a receiving means for receiving a control command and print data transmitted from a host computer,
Printing means for printing on web-like paper according to the content received by the receiving means;
First paper detecting means for detecting the end of the web-like paper;
Cutting means provided in the vicinity of the printing means and cutting the paper as required;
A first transport unit that is provided at a position facing the printing unit and transports the paper toward a discharge port;
Provided near the discharge port on the downstream side of the first transport unit, and receives a sheet transported from the first transport unit, and further includes a second transport unit for discharging the paper out from the discharge port,
The distance between the first paper detection unit and the cutting unit is made larger than the distance between the cutting unit and the second transport unit.
[0020]
According to this configuration, the start of the current printing to the first detection is based on the distance between the end of the paper of the previous printing cut by the cutting unit (the start of the current printing) and the second transport unit. Since the distance to the means (that is, the minimum value of the printing length of the last paper) is large, the head of the printing part of the last printing (paper end) is reliably conveyed by the second conveying means, and the paper stays inside the printer. There is nothing to do.
[0021]
Also, the printer control method of the present invention prints on a web-like continuous paper by a printing means, cuts the printed paper by a cutting means based on a cutting command received from a host computer, and cuts the cut paper by a conveying means. In the control method of the printer that discharges from the discharge port,
When interpreting the received cutting command, determine whether the paper length after cutting by the cutting means is a length that can be discharged from the discharge port,
(A) If the length of the paper is a length that can be discharged, the paper is cut by the cutting means;
(B) If it is determined that the length of the sheet is a length that cannot be discharged, one of discharging from the discharge port is selected without being cut by the cutting means.
[0022]
According to this configuration, in a printer that performs cutting based on a cutting command, it can be determined whether or not the paper stays inside the printer before cutting, and a short paper that stays inside the printer after cutting is generated. Can be prevented.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a first embodiment of the invention will be described with reference to the drawings. FIG. 1 is a schematic side view showing the internal structure of the printer according to this embodiment. The printer 10 is a receipt printing printer mounted on an ATM or the like, and stores the roll paper R therein. A print head 12, a paper cutting mechanism 13, a feed-side discharge roller (hereinafter referred to as a feed roller) 14 and a discharge-side discharge roller (hereinafter referred to as a “feed roller”) are disposed on a paper path that communicates from the roll paper R storage portion to the roll paper discharge port 11. (Referred to as first and second discharge rollers) 15 and 16.
[0024]
In accordance with a print command received by a receiving means (not shown) from a host computer (not shown), the transport rollers 14 to 16 are appropriately driven, and the roll paper R is sequentially pulled out from the roll portion. As the roll paper R is fed by the feed roller 14, the print head 12 is driven and desired characters, symbols, and the like are printed on the roll paper R. The printed region of the roll paper R is further conveyed toward the discharge port 11, and when the rear end of the print region reaches the position of the paper cutting mechanism 13, the printed region is cut and separated by this, from the discharge port 11. It is supplied to the user as a single receipt.
[0025]
The first and second discharge rollers 15 and 16 receive the leading edge of the roll paper R fed by the feed roller 14 and guide it to the discharge port 11. The conveyance speed of the roll paper R by the first and second discharge rollers 15 and 16 is basically set to be the same as that of the feed roller 14. Accordingly, the feed roller 14 and the first and second discharge rollers 15 and 16 are driven, and the feed roller 14 feeds the leading end of the feed roller 14 and the first and second discharge rollers 15 and 16. The rolled paper R is not subjected to a pulling force or excessive bending.
[0026]
The leading end portion (hereinafter referred to as “paper r”) of the paper cut from the upstream portion of the roll paper R by the paper cutting mechanism 13 is continuously conveyed by the first and second discharge rollers 15 and 16, and substantially the entire area is discharged. It is sent out from the outlet 11. The second discharge roller 16 on the downstream side in the transport direction pinches the paper r with a weaker pressing force than the first discharge roller 15 on the upstream side. The rear end of the cut sheet r is finally held by the second discharge roller 16 on the downstream side. Thus, since the paper r is held by the second discharge roller 16 with a weak force, the user can easily pull it out. Regarding the control according to the present invention, the first and second discharge rollers 15 and 16 are driven and stopped independently of the feed roller 14. Details of this control will be described later.
[0027]
The printer 10 further includes a paper sensor 17 between the two pairs of first and second discharge rollers 15 and 16. The paper sensor 17 detects this when the roll paper R is transported and its leading edge exceeds the upstream first discharge roller 15. The paper sensor 17 also detects this when the trailing edge of the cut paper r exceeds this. Various controls are executed based on detection signals from the paper sensor 17.
[0028]
Further, the printer 10 is provided with a real end sensor (second paper detection means) 18 and a paper end sensor (first paper detection means) 19. The real end sensor 18 detects the end of the continuous paper when printing on the continuous paper becomes impossible. Specifically, the real end sensor 18 is disposed at a position closest to the upstream side of the print head 12 and detects that the end of the continuous paper has passed the real end sensor 18. The paper end sensor 19 detects the end of the continuous paper when the continuous paper can be discharged from the discharge port 11 of the printer 10. Specifically, the paper end sensor 19 is on the upstream side of the feed roller 14, and the mutual distance (L1) between the paper end sensor 19 and the feed roller 14 is the first discharge roller 15 on the upstream side of the feed roller 14. It is arranged at a position (L1 ≧ L2) that is equal to or greater than the mutual interval (L2), and it is detected that the end of the continuous paper has passed through this position. The real end sensor 18 and the paper end sensor 19 may be detected by any method. For example, the real end sensor 18 and the paper end sensor 19 may project light on a continuous paper and detect a light blocking state or a reflection state of the continuous paper. Thus, it is possible to detect whether or not the end of the continuous paper has passed.
[0029]
L1 and L2 are the paper end sensor 19-feed roller 14, feed roller 14-first discharge roller 15. This is because the sheet cutting mechanism 13 is in the vicinity of the feed roller (print head). Yes, it is desirable to compare the size of the cutting position by the paper cutting mechanism 13 to the paper end sensor 19 and the cutting position by the paper cutting mechanism 13 to the position sandwiched by the first discharge rollers 15.
[0030]
The printer 10 includes a collection device 20 for receipts that have been cut and separated. If the receipt is left in the discharge port 11 after a predetermined time, the first and second discharge rollers 15 and 16 reverse the receipt based on a command from the host computer, and the printer 10 Pull in. The receipts that are pulled in are carried into the collection path 21 and are sequentially collected into the collection tray 22.
[0031]
The printer 10 includes a control CPU (control means) and a ROM (not shown). The CPU mounted on the printer 10 controls each of the mechanical parts of the printer in accordance with a control command from the host computer and a control program stored in the ROM. In connection with the present invention, the CPU built in the printer 10 drives and controls the feed roller 14, the first and second discharge rollers 15 and 16, and the paper cutting mechanism 13 to realize a predetermined paper discharge operation. In addition, the CPU monitors the paper sensor 17, the real end sensor 18, and the paper end sensor 19, and notifies the host computer of the status as necessary. In addition, the CPU drives the print head 12 to print on the paper R.
[0032]
(First embodiment)
FIG. 2 is a schematic side view of the printer 10 showing a state of feeding the roll paper R in the first embodiment of the present invention, and FIG. 3 is a flowchart of the printing process. The print control in the printer 10 will be described with reference to these drawings.
[0033]
At the start of printing, as shown in FIG. 2A, the leading edge of the continuous paper cut by the previous printing is arranged at a position closest to the paper cutting mechanism 13. In this state, when the printer 10 receives data from the host computer, the printer 10 temporarily stores the data in a reception buffer (not shown), interprets the contents sequentially by an interpretation unit realized by the CPU, and interprets the data. If it is a print command, print processing is performed. In this printing process, the CPU first drives (scans) the print head 12 while feeding the paper r by the feed roller 14, and performs printing according to the print data following the print command received from the host computer. This printing is performed every predetermined length (for example, every line), and the feed roller 14 conveys the paper r by the predetermined length every time printing is performed (step 301 in FIG. 3). With this printing operation, the paper r is gradually sent toward the discharge port 11.
[0034]
Next, the CPU confirms the detection of the leading edge of the paper r by the paper sensor 17 (step 302 in FIG. 3), and if it has not been detected, the first and second discharge rollers 15 and 16 are moved to the feed roller 14. (Step 303 in FIG. 3).
[0035]
Further, every time printing is performed, the CPU monitors whether or not a cutting command for cutting the paper r has been received from the host computer (step 305 in FIG. 3). Step 305, No), whether the end of the continuous paper is detected by the paper end sensor 19 is monitored (step 309 in FIG. 3). Then, steps 301 to 303 are repeatedly executed until a cutting command is received from the host computer (step 305, yes) or there is an end detection (step 309, yes) by paper end sensor detection of continuous paper.
[0036]
Here, Yes (disconnect command) in step 305 refers to the time when the received data from the host computer accumulated in the reception buffer is interpreted in order and the disconnect command indicating the end of the print data is interpreted. , And.
[0037]
Eventually, when the leading edge of the paper r is detected by the paper sensor 17 (Yes in step 302), the first and second discharge rollers 15 and 16 are stopped (step 304). Therefore, the leading edge of the paper r between the first discharge roller 15 and the second discharge roller 16 is sandwiched between the first discharge rollers 15 (FIG. 2B). When the process 301 is repeatedly executed, the first discharge roller 15 is stopped, but the feed roller 14 is driven. Therefore, the sheet r is gradually bent, and the print head 12 and the first discharge roller. A loop (deflection) is formed between 15 (FIG. 2 (c)). In this control, if the paper r is discharged before cutting, the paper r discharged to the outlet of the ATM or the like may be pulled and broken by the user. In order to prevent this, the paper r is discharged from the discharge port. It is to bend without making it. However, such control is not essential in the present embodiment.
[0038]
Thereafter, in step 305 in FIG. 3, it is determined that a disconnect command has been received from the host computer, and when the paper end sensor 19 has not detected a paper end (step 306 in FIG. 3), the CPU first The first and second discharge rollers 15 and 16 are driven (step 307 in FIG. 3), and then the paper cutting mechanism 13 is driven to cut the trailing edge of the paper r (step 308 in FIG. 3). The cutting of the paper r is completed before the formed loop is completely removed (hereinafter not shown in the flowchart of FIG. 3).
[0039]
The paper r cut from the roll paper R by the paper cutting mechanism 13 is conveyed outside the discharge port 11 by the first and second discharge rollers 15 and 16. When the trailing edge of the cut paper r exceeds the paper sensor 17 and this is detected, the driving of the first and second discharge rollers 15 and 16 is stopped. As a result, as shown in FIG. 2D, the rear end of the paper r is weakly held by the second discharge roller 16, and can be taken out by the user. This completes the printing process.
[0040]
On the other hand, if it is determined in step 305 that the cutting command has been received from the host computer, that is, before the end of printing, the end of the continuous paper is detected by the paper end sensor 19 (step 309, No), FIG. In step 310, the feed roller 14 and the first and second discharge rollers 15 and 16 are driven, and the already printed paper r and the remaining continuous paper are all discharged.
[0041]
For example, it is assumed that after cutting the paper r in step 308 (FIG. 2D), when the steps 301 to 305 are executed in the next printing process, the continuous paper is out of paper. In this case, as shown in FIG. 2 (e), when the end of the continuous paper passes through the paper end sensor 19, the end of the continuous paper is detected, the process proceeds from step 309 to step 310, and the remaining continuous paper is detected. Emission is performed. Here, since the paper end sensor 19 is arranged so that L1 ≧ L2 in FIG. 2E, when the end of the continuous paper is detected by the paper end sensor 19, the remaining continuous paper is fed. By sending it out by the roller 14, it can be surely sent into the first discharge roller 15. Therefore, the remaining continuous paper can be discharged from the discharge port 11 as shown in FIG. Thereafter, the maintenance staff replaces the continuous paper with a new one, and executes printing again. In the present embodiment, the real end sensor 18 can be omitted.
[0042]
Here, whether or not the leading edge of the sheet is detected by the sheet sensor 17 (step 302, yes; no) or whether a cutting command is received from the host computer (step 305, yes; no), the paper Since it is checked whether or not the end of the continuous paper is detected by the end sensor 19, if the end of the continuous paper is detected (step 306, yes) (or step 309, yes), the paper made of an auto cutter or the like The sheet is discharged by the transport rollers 14 to 16 without operating the cutting mechanism 13.
[0043]
(Second Embodiment)
Next, a second embodiment of the present invention will be described. FIG. 4 is a schematic side view of the printer showing the feeding state of the main part of the roll paper R in this embodiment, and FIG. 5 is a flowchart of the printing process. However, the configuration and the control method that are not particularly described are the same as those in the first embodiment.
[0044]
In the first embodiment, when the end of the continuous paper is detected by the paper end sensor 19, this is immediately discharged. Accordingly, even when printing is completed a little later when the end is detected, it is necessary to replace the continuous paper and start printing again from the beginning. In the present embodiment, this point is improved, and printing is continued even when the end is detected, thereby eliminating the need for reprinting. In the present embodiment, as in the first embodiment, a real end sensor 18 and a paper end sensor 19 are provided. Further, steps 501 to 504 in FIG. 5 are the same as steps 301 to 304 in FIG. 3 described above, respectively.
[0045]
If the end of the continuous paper is detected by the paper end sensor 19 (step 510 in FIG. 5, yes; FIG. 4A), whether or not the end of the continuous paper is detected by the real end sensor 18 is determined. This is confirmed (step 511 in FIG. 5). If not detected (No in Step 511), the process returns to Step 501, and printing is continued as it is. With this printing, the paper r is gradually conveyed downstream. Even if the end of the continuous paper is detected by the end sensor 19 (step 510, yes), if the end of the continuous paper is not detected by the real end sensor 18 (step 511, no), the paper sensor 17 detects the paper r. When the leading end is detected and printed (step 502 to step 504) and the end of the continuous paper is not detected by the real end sensor 18 even after the sheet sensor 17 detects the leading end, L1 ≧ L2 Therefore, the process 501 is continued and the paper r is bent (FIGS. 4B and 4C).
[0046]
Here, as described in the first embodiment, reception of a disconnect command from the host computer is confirmed (step 505 in FIG. 5, yes), and the termination by the real end sensor 18 and the paper end sensor 19 is not detected. In the case (Steps 506 and 507, No), the process proceeds to Steps 508 and 509 as in the normal state, and the paper r is discharged and cut, and the paper r is discharged from the discharge port 11. Therefore, printing can be performed completely, and there is no need to repeat printing after replacement of continuous paper.
[0047]
In addition, the process 506 and the process 510 can delete the process as needed.
[0048]
On the other hand, before the reception of the cutting command from the host computer is confirmed (No in Step 505), when the end of the continuous paper is detected by the real end sensor 18 (Step 511, FIG. 4C), the above-described steps are performed. Similar to 310, the already printed paper r and the remaining continuous paper are discharged (step 512, FIG. 3 (d)). In this case, as in the first embodiment, even when there is little remaining continuous paper, it can be discharged.
[0049]
Also, even when a cutting command is received from the host computer (step 505, yes), if the end of the continuous paper is detected by the real end sensor 18 or the paper end sensor 19 (steps 506, 507, yes), the paper is removed. Without cutting, the conveyance rollers 14 to 16 are driven to discharge the paper.
[0050]
In addition, even if the paper end sensor 19 detects (step 510, yes) before receiving the cutting command, printing is performed until the real end sensor 18 detects (step 501), and when the real end sensor 18 detects ( In step 511, yes, printing is stopped without cutting the paper, and the transport rollers 14 to 16 are driven (step 510) to discharge the paper.
[0051]
As mentioned above, although one embodiment of the present invention has been described with reference to the drawings, the present invention is not limited to the matters shown in the embodiment, and the description of the claims and the detailed description of the invention, as well as the well-known technology. Based on the above, a range in which those skilled in the art can make changes and applications thereof is included.
[0052]
【The invention's effect】
As described above, according to the present invention, when the continuous paper can be discharged, the end of the continuous paper can be detected and the discharge operation can be performed. Therefore, the continuous paper can be reliably fed to the discharge roller, and the continuous paper can be discharged, so that it is not necessary for the maintenance staff to manually remove the paper.
[0053]
Alternatively, when the end of the continuous paper is detected, if printing is completed after a little printing, printing can be continued and printing can be completed. Therefore, it is not necessary to perform printing again after replacing the continuous paper.
[0054]
Furthermore, when the end of the continuous paper is detected by the paper end sensor, the remaining length of the continuous paper is equal to or greater than the mutual interval between the first transport unit and the second transport unit. Therefore, the continuous paper can be reliably fed into the second transport unit.
[Brief description of the drawings]
FIG. 1 is a schematic side view showing an internal structure of a printer according to a first embodiment of the present invention.
FIG. 2 is a schematic side view of the printer showing a roll paper feeding state in the first embodiment of the present invention.
FIG. 3 is a flowchart of a printing process according to the first embodiment of the present invention.
FIG. 4 is a schematic side view of a printer showing a roll paper feeding state in a second embodiment of the present invention.
FIG. 5 is a flowchart of a printing process according to the second embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Printer 11 Discharge port 12 Print head 13 Paper cutting mechanism 14 Feed roller 15 1st discharge roller 16 2nd discharge roller 17 Paper sensor 18 Real end sensor 19 Paper end sensor 20 Collection apparatus 21 Collection path 22 Collection tray R Roll paper r paper

Claims (5)

連続紙上に印刷を行うプリンタの制御方法において、
(a)ペーパーエンドセンサにより、前記連続紙の終端を、該連続紙をプリンタの排出口から排出可能な時点で検出する工程と、
(b)リアルエンドセンサにより、前記連続紙の終端を、該連続紙への印字が不可能となる時点で検出する工程と、
(c)前記工程(a)で連続紙の終端が検出された後、前記工程(b)で連続紙の終端が検出される前に印字が終了した場合には、前記連続紙をプリンタの排出口から排出し、
前記工程(a)で連続紙の終端が検出された後、印字が終了する前に前記工程(b)で連続紙の終端が検出された場合には、前記連続紙への印字を停止して、前記連続紙をプリンタの排出口から排出する工程と、
を備えるプリンタの制御方法。
In a control method for a printer that prints on continuous paper,
(A) a step of detecting the end of the continuous paper by a paper end sensor when the continuous paper can be discharged from the discharge port of the printer;
(B) a step of detecting the end of the continuous paper by a real end sensor at a time when printing on the continuous paper is impossible;
(C) If printing ends after the end of continuous paper is detected in step (a) and before the end of continuous paper is detected in step (b), the continuous paper is discharged from the printer. Drain from the exit,
After the end of the continuous paper is detected in the step (a), if the end of the continuous paper is detected in the step (b) before the printing is finished, the printing on the continuous paper is stopped. Discharging the continuous paper from a printer outlet;
A method for controlling a printer comprising:
連続紙上に印刷を行うプリンタにおいて、
前記連続紙の印刷された領域をプリンタの排出口に向けて搬送させる第1の搬送手段と、
前記排出口の近傍に設置され、前記連続紙の印刷された領域を前記排出口から外へ搬送させる第2の搬送手段と、
前記連続紙の終端を、該連続紙をプリンタの排出口から排出可能な時点で検出するペーパーエンドセンサと、
前記連続紙の終端を、該連続紙への印字が不可能となる時点で検出するリアルエンドセンサと、
前記ペーパーエンドセンサにて連続紙の終端が検出された後、前記リアルエンドセンサにて連続紙の終端が検出される前に印字が終了した場合には、前記第1の搬送手段及び前記第2の搬送手段を駆動して、前記連続紙をプリンタの排出口から排出し、
前記ペーパーエンドセンサにて連続紙の終端が検出された後、印字が終了する前に前記リアルエンドセンサにて連続紙の終端が検出された場合には、前記連続紙への印字を停止して、前記第1の搬送手段及び前記第2の搬送手段を駆動して、前記連続紙をプリンタの排出口から排出する制御手段と、
を備えるプリンタ。
In a printer that prints on continuous paper,
First conveying means for conveying the printed area of the continuous paper toward a discharge port of a printer;
A second transport unit installed in the vicinity of the discharge port and configured to transport the printed area of the continuous paper out of the discharge port;
A paper end sensor for detecting the end of the continuous paper at a time when the continuous paper can be discharged from a discharge port of a printer;
A real end sensor for detecting the end of the continuous paper at a time when printing on the continuous paper is impossible;
After the end of the continuous paper is detected by the paper end sensor and before printing is completed before the end of the continuous paper is detected by the real end sensor, the first transport unit and the second transport unit And the continuous paper is discharged from the printer outlet,
After the end of continuous paper is detected by the paper end sensor and before the end of printing, if the end of continuous paper is detected by the real end sensor, printing on the continuous paper is stopped. Control means for driving the first transport means and the second transport means to discharge the continuous paper from a discharge port of a printer;
Printer with.
前記ペーパーエンドセンサが、前記第1の搬送手段の上流側であって、前記ペーパーエンドセンサと前記第1の搬送手段の相互間隔が前記第1の搬送手段と前記第2の搬送手段の相互間隔以上となる位置に配置されている請求項2記載のプリンタ。  The paper end sensor is on the upstream side of the first conveying means, and the mutual distance between the paper end sensor and the first conveying means is the mutual distance between the first conveying means and the second conveying means. The printer according to claim 2, wherein the printer is disposed at the position described above. ホストコンピュータから送信される制御コマンドと印字データを受信する受信手段と、
該受信手段が受信した内容に伴い、ウエブ状の用紙に印刷する印刷手段と、
前記ウエブ状の用紙の終端を検出する第1の紙検出手段と、
前記印刷手段近傍に設けられ、前記用紙への印刷可能下端を検出する第2の紙検出手段と、
前記印刷手段と対向する位置に設けられ、前記用紙を排出口に向かって搬送する第1の搬送手段と、
前記第1の搬送手段より下流側の前記排出口近傍に設けられ、前記第1の搬送手段から搬送された用紙を受け入れ、さらに前記排出口から外に排出させる第2の搬送手段とを備え、
前記印刷手段による印刷中に前記第1の紙検出手段が前記用紙の終端を検出しても、前記用紙の終端が前記第2の紙検出手段により検出されるまでは印刷を停止せず、前記第1の搬送手段により用紙を搬送させるよう制御する制御手段を備えたことを特徴とするプリンタ。
Receiving means for receiving control commands and print data transmitted from the host computer;
Printing means for printing on web-like paper according to the content received by the receiving means;
First paper detecting means for detecting the end of the web-like paper;
A second paper detecting means provided in the vicinity of the printing means for detecting a printable lower end on the paper;
A first transport unit that is provided at a position facing the printing unit and transports the paper toward a discharge port;
Provided near the discharge port on the downstream side of the first transport unit, and includes a second transport unit that receives the paper transported from the first transport unit and discharges the paper from the discharge port,
Even if the first paper detection means detects the end of the paper during printing by the printing means, the printing is not stopped until the end of the paper is detected by the second paper detection means. A printer comprising control means for controlling a sheet to be conveyed by a first conveying means.
ホストコンピュータから送信される制御コマンドと印字データを受信する受信手段と、
該受信手段が受信した内容に伴い、ウエブ状の用紙に印刷する印刷手段と、
前記ウエブ状の用紙の終端を検出する第1の紙検出手段と、
前記印刷手段近傍に設けられ、必要に応じて前記用紙を切断する切断手段と、
前記印刷手段と対向する位置に設けられ、前記用紙を排出口に向かって搬送する第1の搬送手段と、
前記第1の搬送手段より下流側の前記排出口近傍に設けられ、前記第1の搬送手段から搬送された用紙を受け入れ、さらに前記排出口から外に排出する第2の搬送手段とを備え、
前記切断手段と前記第2の搬送手段との間の距離よりも、前記第1の紙検出手段と前記切断手段との間の距離を大きくしたことを特徴とするプリンタ。
Receiving means for receiving control commands and print data transmitted from the host computer;
Printing means for printing on web-like paper according to the content received by the receiving means;
First paper detecting means for detecting the end of the web-like paper;
Cutting means provided in the vicinity of the printing means and cutting the paper as required;
A first transport unit that is provided at a position facing the printing unit and transports the paper toward a discharge port;
Provided near the discharge port on the downstream side of the first transport unit, and receives a sheet transported from the first transport unit, and further includes a second transport unit for discharging the paper out from the discharge port,
A printer characterized in that a distance between the first paper detection means and the cutting means is made larger than a distance between the cutting means and the second transport means.
JP30995399A 1999-10-29 1999-10-29 Printer and control method thereof Expired - Fee Related JP3855564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30995399A JP3855564B2 (en) 1999-10-29 1999-10-29 Printer and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30995399A JP3855564B2 (en) 1999-10-29 1999-10-29 Printer and control method thereof

Publications (2)

Publication Number Publication Date
JP2001121765A JP2001121765A (en) 2001-05-08
JP3855564B2 true JP3855564B2 (en) 2006-12-13

Family

ID=17999352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30995399A Expired - Fee Related JP3855564B2 (en) 1999-10-29 1999-10-29 Printer and control method thereof

Country Status (1)

Country Link
JP (1) JP3855564B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275881B2 (en) * 2004-10-15 2007-10-02 Sanford, L.P. Control of dual printing mechanisms
JP4552619B2 (en) * 2004-11-26 2010-09-29 コニカミノルタホールディングス株式会社 Image recording apparatus and image recording method
JP5664058B2 (en) * 2010-09-17 2015-02-04 セイコーエプソン株式会社 Printer system and printer program
JP2013173281A (en) * 2012-02-25 2013-09-05 Ricoh Co Ltd Image forming apparatus
US8857976B2 (en) 2012-02-25 2014-10-14 Ricoh Company, Ltd. Image forming apparatus

Also Published As

Publication number Publication date
JP2001121765A (en) 2001-05-08

Similar Documents

Publication Publication Date Title
JP5136659B2 (en) Printer, control method therefor, and information recording medium
JP2011143628A (en) Printing method of recording paper and perfecting printer
US7018120B2 (en) Printing method of printer apparatus
US8711389B2 (en) Printing control method and printer for printing on a label
US8066278B2 (en) Printer
JP4517926B2 (en) Printer recording paper loading method
JP3855564B2 (en) Printer and control method thereof
US6631903B2 (en) Paper discharge apparatus and printer
JP3770002B2 (en) Printer and control method thereof
JP2006326994A (en) Printing apparatus and automatic ticket vending machine
US20110215130A1 (en) Sheet handling apparatus and sheet collecting method
JP3864640B2 (en) Printer and control method thereof
JP2001162882A (en) Printer, its control method and information recording medium
JP2007161376A (en) Sheet feeding device and recording device
JP2005088305A (en) Printing device and automatic ticket machine
JP3788137B2 (en) Printer and control method thereof
JP2019209604A (en) Printer
JP7236026B2 (en) printer
JP4770008B2 (en) Printer, paper jam handling method, and information recording medium
JP2002036671A (en) Serial printer
JP5308110B2 (en) Automatic transaction equipment
JP2011073184A (en) Method of controlling conveyance of recording paper of printer, and printer
JP2001293918A (en) Printer and its controlling method
JPH0812148A (en) Roll paper feeder for image forming device
JP3824820B2 (en) Paper feeding method, paper feeding device and facsimile machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060228

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: 20060822

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060904

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090922

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130922

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees