JP2001121765A - Printer and control method therefor - Google Patents

Printer and control method therefor

Info

Publication number
JP2001121765A
JP2001121765A JP30995399A JP30995399A JP2001121765A JP 2001121765 A JP2001121765 A JP 2001121765A JP 30995399 A JP30995399 A JP 30995399A JP 30995399 A JP30995399 A JP 30995399A JP 2001121765 A JP2001121765 A JP 2001121765A
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.)
Granted
Application number
JP30995399A
Other languages
Japanese (ja)
Other versions
JP3855564B2 (en
Inventor
Yushi Takamizawa
雄史 高見沢
Atsushi Yamaji
篤志 山路
Jinichi Takizawa
仁一 滝沢
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

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide printer, and a control method therefore, in which a sheet can be discharged surely even when the residual quantity of sheets is low. SOLUTION: A continuous form is printed (501) and then reprinted (501) if the end of the continuous form is detected by means of a paper end sensor (510, YES) but not detected by means of a real end sensor (510, NO) until a cut command is received (505, NO). If the end of the continuous form is detected by means of the real end sensor (511, YES), a feed roller and a discharge roller are driven to discharge the sheet (512).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、連続紙上に印刷を
行うプリンタ及びその制御方法に関し、特に、残量の少
なくなった連続紙の排出制御に特徴を有するプリンタ及
びその制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer for printing on continuous paper and a control method thereof, and more particularly to a printer characterized by discharge control of continuous paper having a small remaining amount and a control method thereof.

【0002】[0002]

【従来の技術】ATM装置等に内蔵され、レシートなど
を出力するためのプリンタとしては、ロール紙その他の
連続紙を搭載し、オートカッター機構によりこれを適宜
切断分離するものが広く知られている。この種のプリン
タは、その管理者や技術者が常駐しないところに設置さ
れる場合が多いので、その使用に伴う障害をできるだけ
少なくすることが重要な課題である。
2. Description of the Related Art As a printer built in an ATM device or the like for outputting a receipt or the like, a printer in which roll paper or other continuous paper is mounted and which is appropriately cut and separated by an automatic cutter mechanism is widely known. . Since this type of printer is often installed in a place where its manager or technician is not resident, it is an important issue to minimize the obstacles associated with its use.

【0003】また、障害が発生した場合であっても、そ
の障害からの復帰方法ができるだけ簡単であることが重
要となる。
It is important that, even when a failure occurs, a method for recovering from the failure is as simple as possible.

【0004】このためプリンタには、印字部の近傍に、
連続紙の終端を検出するリアルエンドセンサが設けられ
ている。そして、このリアルエンドセンサによって連続
紙の終端が検出されると、連続紙の紙切れが生じたもの
として印字が停止される。そして、紙送りが行われて残
りの連続紙が排出口から排出される。その後、メンテナ
ンス員により連続紙が新たなものに交換された後に印刷
が再び行われる。
[0004] For this reason, a printer has a
A real end sensor for detecting the end of the continuous paper is provided. When the end of the continuous paper is detected by the real end sensor, printing is stopped assuming that the continuous paper has run out. Then, the paper is fed and the remaining continuous paper is discharged from the discharge port. Thereafter, after the continuous paper is replaced by a new one by the maintenance staff, printing is performed again.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のプリンタにおいては、連続紙の残りがわずか
しかない場合に印刷を行うと、排出口近傍に設けた排出
ローラに連続紙の先端が至る前に、リアルエンドセンサ
にて終端が検出されることがある。このような場合には
連続紙を排出ローラに送り込むことができないため、連
続紙を排出することができず、プリンタ内に残ってしま
う。そして、プリンタ内に残った連続紙をメンテナンス
員が手作業で抜き取らなければ印刷を再開できないとい
う問題があった。また、プリンタ内の狭い用紙経路から
用紙を抜き取る作業は、非常に手間のかかるものでもあ
る。
However, in such a conventional printer, if printing is performed when there is only a small amount of continuous paper left, the leading end of the continuous paper reaches a discharge roller provided near the discharge port. Before that, the end may be detected by the real end sensor. In such a case, since the continuous paper cannot be sent to the discharge roller, the continuous paper cannot be discharged and remains in the printer. Then, there is a problem that printing cannot be resumed unless the maintenance staff manually removes the continuous paper remaining in the printer. Also, the task 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-mentioned conventional problems and to provide a printer capable of reliably discharging continuous paper even when the remaining amount of continuous paper is small, and a control method thereof. .

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
本発明は、連続紙上に印刷を行うプリンタの制御方法に
おいて、(a)前記連続紙の終端を、該連続紙をプリン
タの排出口から排出可能な時点で検出する工程と、
(b)前記連続紙の終端が検出された際には、前記連続
紙をプリンタの排出口から排出する工程とを備えて構成
される。
According to the present invention, there is provided a method for controlling a printer for printing on continuous paper, comprising the steps of: (a) connecting the end of the continuous paper to a discharge port of the printer; A step of detecting when discharge is possible;
(B) discharging the continuous paper from an outlet of a 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 at the time when the continuous paper can be discharged, and the discharging 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 the maintenance staff does not need to manually remove the continuous paper.

【0009】また本発明は、連続紙上に印刷を行うプリ
ンタの制御方法において、(a)前記連続紙の終端を、
該連続紙をプリンタの排出口から排出可能な時点で検出
する工程と、(b)前記連続紙の終端を、該連続紙への
印字が不可能となる時点で検出する工程と、(c)前記
工程(a)で連続紙の終端が検出された後、前記工程
(b)で連続紙の終端が検出される前に印字が終了した
場合には、前記連続紙をプリンタの排出口から排出し、
前記工程(a)で連続紙の終端が検出された後、印字が
終了する前に前記工程(b)で連続紙の終端が検出され
た場合には、前記連続紙への印字を停止して、前記連続
紙をプリンタの排出口から排出する工程とを備えて構成
される。
The present invention also relates to a method of controlling a printer for printing on continuous paper, wherein (a) the end of the continuous paper is
(B) detecting the end of the continuous paper at a point where printing on the continuous paper becomes impossible; and (c) detecting the end of the continuous paper at a point where the continuous paper cannot be printed. If printing is completed after the end of the continuous paper is detected in the step (a) and 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
If the end of the continuous paper is detected in the step (b) after the end of the continuous paper is detected in the step (a) and before the printing is completed, the printing on the continuous paper is stopped. Discharging the continuous paper from a discharge port of the printer.

【0010】この場合には、連続紙の終端が検出された
時点で、あと少し印字を行えば印刷が終了するような場
合に、印字を続行して印刷を完了することができる。し
たがって、連続紙の交換後に印刷をやり直す必要がなく
なる。
[0010] In this case, when the end of the continuous paper is detected, if the printing is to be completed with a little more printing, the printing can be continued to complete the printing. Therefore, it is not necessary to perform printing again after replacing the continuous paper.

【0011】本発明はまた、連続紙上に印刷を行うプリ
ンタに関する。本発明のプリンタは、連続紙上に印刷を
行うプリンタにおいて、前記連続紙の印刷された領域を
プリンタの排出口に向けて搬送させる第1の搬送手段
と、前記排出口の近傍に設置され、前記連続紙の印刷さ
れた領域を前記排出口から外へ搬送させる第2の搬送手
段と、前記連続紙の終端を、該連続紙をプリンタの排出
口から排出可能な時点で検出するペーパーエンドセンサ
と、前記ペーパーエンドセンサにて前記連続紙の終端が
検出された際には、前記第1の搬送手段及び前記第2の
搬送手段を駆動して、前記連続紙をプリンタの排出口か
ら排出する制御手段とを備えて構成される。
[0011] The present invention also relates to a printer for printing on continuous paper. The printer according to the present invention is a printer that performs printing on continuous paper, wherein a first transport unit that transports a printed area of the continuous paper toward an output port of the printer; and A second conveying means for conveying the printed area of the continuous paper out of 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, control is performed to drive the first transport means and the second transport means to discharge the continuous paper from a discharge port of a printer. Means.

【0012】また、本発明のプリンタは、連続紙上に印
刷を行うプリンタにおいて、前記連続紙の印刷された領
域をプリンタの排出口に向けて搬送させる第1の搬送手
段と、前記排出口の近傍に設置され、前記連続紙の印刷
された領域を前記排出口から外へ搬送させる第2の搬送
手段と、前記連続紙の終端を、該連続紙をプリンタの排
出口から排出可能な時点で検出するペーパーエンドセン
サと、前記連続紙の終端を、該連続紙への印字が不可能
となる時点で検出するリアルエンドセンサと、前記ペー
パーエンドセンサにて連続紙の終端が検出された後、前
記リアルエンドセンサにて連続紙の終端が検出される前
に印字が終了した場合には、前記第1の搬送手段及び前
記第2の搬送手段を駆動して、前記連続紙をプリンタの
排出口から排出し、前記ペーパーエンドセンサにて連続
紙の終端が検出された後、印字が終了する前に前記リア
ルエンドセンサにて連続紙の終端が検出された場合に
は、前記連続紙への印字を停止して、前記第1の搬送手
段及び前記第2の搬送手段を駆動して、前記連続紙をプ
リンタの排出口から排出する制御手段とを備えて構成さ
れる。
Further, the printer according to the present invention, in a printer for printing on continuous paper, a first transport means for transporting a printed area of the continuous paper toward an outlet of the printer, and a vicinity of the outlet. And a second transport unit that transports the printed area of the continuous paper out of the discharge port, and detects the end of the continuous paper when the continuous paper can be discharged from the discharge port of the printer. A paper end sensor that detects the end of the continuous paper, a real end sensor that detects when printing on the continuous paper becomes impossible, and the end of the continuous paper detected by the paper end sensor. If 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 are driven to drive the continuous paper from the printer outlet. Discharge After the end of the continuous paper is detected by the paper end sensor, if the end of the continuous paper is detected by the real end sensor before printing is completed, printing on the continuous paper is stopped. And 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.

【0013】更に、本発明のプリンタにおいて、前記ペ
ーパーエンドセンサを、前記第1の搬送手段の上流側で
あって、前記ペーパーエンドセンサと前記第1の搬送手
段の相互間隔が前記第1の搬送手段と前記第2の搬送手
段の相互間隔以上となる位置に配置することができる。
Further, in the printer according to the present invention, the paper end sensor may be provided on the upstream side of the first transport means, and the interval between the paper end sensor and the first transport means may be different from the first transport means. It can be arranged at a position that is at least equal to the mutual distance between the means and the second transport means.

【0014】これにより、ペーパーエンドセンサで連続
紙の終端を検出した時点においては、連続紙の残りの長
さが、第1の搬送手段と第2の搬送手段の相互間隔以上
となる。したがって、連続紙を確実に第2の搬送手段に
送り込むことができる。
Thus, 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 means and the second transport means. Therefore, the continuous paper can be reliably sent to the second transport unit.

【0015】また、本発明のプリンタは、ホストコンピ
ュータから送信される制御コマンドと印字データを受信
する受信手段と、該受信手段が受信した内容に伴い、ウ
エブ状の用紙に印刷する印刷手段と、前記ウエブ状の用
紙の終端を検出する第1の紙検出手段と、前記印刷手段
近傍に設けられ、必要に応じて前記用紙を切断する切断
手段と、前記印刷手段と対向する位置に設けられ、前記
用紙を排出口に向かって搬送する第1の搬送手段と、前
記第1の搬送手段より下流側の前記排出口近傍に設けら
れ、前記第1の搬送手段から搬送された用紙を受け入
れ、さらに前記排出口から外に排出させる第2の搬送手
段とを備え、前記印刷手段による印刷中に、前記用紙の
終端を前記第1の検出手段が検出すると、前記ホストコ
ンピュータから切断コマンドを受信していても前記切断
手段による切断動作を行わず、前記第1の搬送手段と前
記第2の搬送手段による搬送動作により前記用紙を排出
するよう制御する制御手段を備えたことを特徴とする。
Further, the printer of the present invention comprises: a receiving means for receiving a control command and print data transmitted from a host computer; a printing means for printing on a web-shaped sheet according to the content received by the receiving means; First paper detection means for detecting the end of the web-shaped paper, cutting means provided near the printing means, if necessary, for cutting the paper, provided at a position facing the printing means, A first transport unit that transports the paper toward the discharge port, and a first transport unit that is provided near the discharge port downstream of the first transport unit and receives the paper transported from the first transport unit; A second transport unit for discharging the sheet from the discharge port, wherein when the first detecting unit detects the end of the sheet during printing by the printing unit, the first computer disconnects the sheet from the host computer. A control means is provided for controlling so as not to perform a cutting operation by the cutting means even when a command is received, and to discharge the sheet by a conveying operation by the first conveying means and the second conveying means. And

【0016】この構成によれば、ホストコンピュータか
ら印字終了を示す切断コマンドを受信していた場合で
も、その切断コマンドによる切断を行わず、用紙を排出
することができるため、プリンタ内部に紙が滞留するこ
とはない。
According to this configuration, even if a disconnection command indicating the end of printing is received from the host computer, the paper can be ejected without cutting by the disconnection command, so that the paper stays inside the printer. I will not do it.

【0017】また、本発明のプリンタは、ホストコンピ
ュータから送信される制御コマンドと印字データを受信
する受信手段と、該受信手段が受信した内容に伴い、ウ
エブ状の用紙に印刷する印刷手段と、前記ウエブ状の用
紙の終端を検出する第1の紙検出手段と、前記印刷手段
近傍に設けられ、前記用紙への印刷可能下端を検出する
第2の紙検出手段と、前記印刷手段と対向する位置に設
けられ、前記用紙を排出口に向かって搬送する第1の搬
送手段と、前記第1の搬送手段より下流側の前記排出口
近傍に設けられ、前記第1の搬送手段から送られた用紙
を受け入れ、さらに前記排出口から外に排出させる第2
の搬送手段とを備え、前記印刷手段による印刷中に前記
第1の紙検出手段が前記用紙の終端を検出しても、前記
用紙の終端が前記第2の検出手段により検出されるまで
は印刷を停止せず、前記第1の搬送手段により用紙を搬
送させるよう制御する制御手段を備えたことを特徴とす
る。
Further, the printer of the present invention comprises: a receiving means for receiving a control command and print data transmitted from a host computer; a printing means for printing on a web-shaped sheet according to the content received by the receiving means; First paper detecting means for detecting the end of the web-shaped paper; second paper detecting means provided near the printing means for detecting a lower end of a printable state on the paper; and facing the printing means. A first transport unit that is provided at a position and transports the sheet toward the discharge port; and is provided near the discharge port downstream of the first transport unit and is sent from the first transport unit. A second sheet for receiving paper and discharging it out of 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 continued until the end of the paper is detected by the second detection means. And control means for controlling the first conveying means to convey the sheet without stopping.

【0018】この構成によれば、印刷中に印刷データを
少し残して終端を第1の検出手段が検出した場合でも、
第2の検出手段が用紙の終端を検出するまでは印字可能
なため、完全な印字データを印刷した用紙を出力するこ
とができる。
According to this configuration, even if the first detecting means detects the end while printing data is slightly left during printing,
Since printing is possible until the second detecting means detects the end of the sheet, it is possible to output a sheet on which complete print data is printed.

【0019】また、本発明のプリンタは、ホストコンピ
ュータから送信される制御コマンドと印字データを受信
する受信手段と、該受信手段が受信した内容に伴い、ウ
エブ状の用紙に印刷する印刷手段と、前記ウエブ状の用
紙の終端を検出する第1の紙検出手段と、前記印刷手段
近傍に設けられ、必要に応じて前記用紙を切断する切断
手段と、前記印刷手段と対向する位置に設けられ、前記
用紙を排出口に向かって搬送する第1の搬送手段と、前
記第1の搬送手段より下流側の前記排出口近傍に設けら
れ、前記第1の搬送手段から搬送された用紙を受け入
れ、さらに前記排出口から外に排出する第2の搬送手段
とを備え、前記切断手段と前記第2の搬送手段との間の
距離よりも、前記第1の紙検出手段と前記切断手段との
間の距離を大きくしたことを特徴とする。
Further, the printer of the present invention comprises: a receiving means for receiving a control command and print data transmitted from a host computer; a printing means for printing on a web-shaped sheet according to the content received by the receiving means; First paper detection means for detecting the end of the web-shaped paper, cutting means provided near the printing means, if necessary, for cutting the paper, provided at a position facing the printing means, A first transport unit that transports the paper toward the discharge port, and a first transport unit that is provided near the discharge port downstream of the first transport unit and receives the paper transported from the first transport unit; A second conveying means for discharging the paper from the discharge port to the outside, wherein a distance between the first paper detecting means and the cutting means is larger than a distance between the cutting means and the second conveying means. Increase the distance It is characterized in.

【0020】この構成によれば、切断手段によって切断
された前回の印字の用紙の終端(今回の印字の始端)〜
第2の搬送手段との間の距離よりも、今回の印字の始端
〜第1の検出手段までの距離(すなわち用紙の最終回の
印字長の最小値)が大きいため、最終回(用紙終端)の
印字部分の頭が確実に第2の搬送手段によって搬送さ
れ、プリンタ内部に紙が滞留することがない。
According to this configuration, the end of the sheet of the previous print cut by the cutting means (the start of the current print) to
Since the distance from the start end of the current printing to the first detecting means (that is, the minimum value of the printing time of the last printing of the paper) is larger than the distance between the second conveyance means and the last printing (the end of the paper). Is reliably transported by the second transport means, and the paper does not stay inside the printer.

【0021】また、本発明のプリンタの制御方法は、ウ
エブ状の連続用紙に印刷手段により印字し、印字した用
紙をホストコンピュータから受信した切断コマンドに基
づいて切断手段により切断し、切断した用紙を搬送手段
により排出口から排出するプリンタの制御方法におい
て、前記受信した切断コマンドを解釈するとき、前記切
断手段による切断後の用紙長が、前記排出口から排出可
能な長さになるかどうか判断し、(a)該用紙長が排出
可能な長さであれば、前記切断手段により切断し、
(b)該用紙長が排出不可能な長さになると判断すれ
ば、前記切断手段により切断せず、前記排出口から排出
するいずれかを選択することを特徴とする。
Further, according to the printer control method of the present invention, printing is performed on continuous web paper by a printing means, and the printed paper is cut by the cutting means based on a cutting command received from a host computer. In interpreting the received cutting command in the printer control method for discharging from the discharge port by the transport means, it is determined whether or not the sheet length after cutting by the cutting means is a length that can be discharged from the discharge port. (A) if the length of the sheet is a length that can be discharged, the sheet is cut by the cutting means;
(B) If it is determined that the length of the sheet is such that the sheet cannot be discharged, any one of the sheets discharged from the discharge port without cutting by the cutting means is selected.

【0022】この構成によれば、切断コマンドに基づい
て切断を行うプリンタにおいて、切断前に用紙がプリン
タ内部に滞留するかどうか判断でき、切断後プリンタ内
部に滞留してしまうような短い用紙が生成されることを
防止することができる。
According to this configuration, in a printer that performs cutting based on a cutting command, it is possible to determine whether or not paper stays inside the printer before cutting, and short paper that stays inside the printer after cutting is generated. Can be prevented.

【0023】[0023]

【発明の実施の形態】以下、本発明の第1実施形態を図
面に沿って説明する。図1は、本実施形態に係るプリン
タの内部構造を示す概略側面図である。プリンタ10
は、ATM等に搭載されるレシート印刷用のプリンタで
あり、その内部にロール紙Rを収納する。ロール紙Rの
収納部からロール紙の排出口11を連通する紙経路上に
は、印字ヘッド12、用紙切断機構13、送り側排出ロ
ーラ(以下、送りローラという)14及び排出側排出ロ
ーラ(以下、第1,第2の排出ローラという)15、1
6が設置される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present 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 the present embodiment. Printer 10
Is a printer for printing receipts mounted on an ATM or the like, and stores 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 "feed roller") are provided on a paper path communicating the roll paper discharge port 11 from the roll paper R storage section. , 15 and 1).
6 is installed.

【0024】不図示のホストコンピュータから不図示の
受信手段により受信した印字命令に従って、これら搬送
ローラ14〜16が適宜駆動され、ロール紙Rがそのロ
ール部分から順次引き出される。送りローラ14による
ロール紙Rの送りと共に、印字ヘッド12が駆動され所
望の文字、記号等がロール紙R上に印刷される。ロール
紙Rにおける印刷された領域は、排出口11に向けてさ
らに搬送され、その印刷領域の後端部が用紙切断機構1
3の位置まで来たときに、これによって切断分離され、
排出口11から単票のレシートとして利用者に供給され
る。
In accordance with a print command received from a host computer (not shown) by a receiving means (not shown), these transport rollers 14 to 16 are appropriately driven, and the roll paper R is sequentially pulled out from the roll portion. With the feed of the roll paper R by the feed roller 14, the print head 12 is driven to print desired characters and symbols on the roll paper R. The printed area of the roll paper R is further conveyed toward the discharge port 11, and the rear end of the printed area is provided with the paper cutting mechanism 1.
When it comes to position 3, it is cut and separated by this,
It is supplied to the user from the discharge port 11 as a single receipt.

【0025】第1,第2の排出ローラ15、16は、送
りローラ14によって送られるロール紙Rの先端を受け
取り、排出口11に導く。第1,第2の排出ローラ1
5、16によるロール紙Rの搬送速度は、基本的に送り
ローラ14におけるそれと同じに設定されている。従っ
て、送りローラ14及び第1,第2の排出ローラ15、
16が駆動されている状態で、送りローラ14によって
送られ、その先端が第1,第2の排出ローラ15、16
間に引き込まれたロール紙Rには、引っ張り力が掛かっ
たり、余計な撓みが生じたりすることがない。
The first and second discharge rollers 15 and 16 receive the leading end of the roll paper R fed by the feed roller 14 and guide the roll paper R to the discharge port 11. First and second discharge rollers 1
The transport speed of the roll paper R by 5 and 16 is set basically the same as that of the feed roller 14. Therefore, the feed roller 14 and the first and second discharge rollers 15,
While the roller 16 is being driven, the paper is fed by the feed roller 14, and the leading ends thereof are first and second discharge rollers 15, 16.
There is no pulling force applied to the roll paper R drawn in between and no extra bending occurs.

【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と
は独立して駆動・停止される。この制御の詳細について
は後述する。
The leading end of the paper (hereinafter referred to as paper r) cut off from the upstream side of the roll paper R by the paper cutting mechanism 13 is continuously transported by the first and second discharge rollers 15 and 16 and substantially conveyed. The entire area is sent out through the outlet 11. The second discharge roller 16 on the downstream side in the transport direction holds the sheet r with a smaller 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. As described above, since the paper r is held by the second discharge roller 16 with a small force, the user can easily pull out the paper r. 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】プリンタ10は、また、前記二対の第1,
第2の排出ローラ15、16間に、用紙センサ17を備
える。用紙センサ17は、ロール紙Rが搬送されて、そ
の先端が上流側の第1の排出ローラ15を超えたとき
に、これを検出する。用紙センサ17は、また、切断さ
れた用紙rの後端部がここを超えたときに、これを検出
する。用紙センサ17による検出信号に基づいて、各種
制御が実行される。
The printer 10 also includes the two pairs of the first and the first pairs.
A paper sensor 17 is provided between the second discharge rollers 15 and 16. The paper sensor 17 detects when the roll paper R has been conveyed and its leading end has passed over the upstream first discharge roller 15. The paper sensor 17 also detects when the trailing end of the cut paper r exceeds this. Various controls are executed based on the detection signal from the paper sensor 17.

【0028】また、プリンタ10には、リアルエンドセ
ンサ(第2の紙検出手段)18及びペーパーエンドセン
サ(第1の紙検出手段)19が設けられている。リアル
エンドセンサ18は、連続紙の終端を、該連続紙への印
字が不可能となる時点で検出する。具体的には、リアル
エンドセンサ18は、印字ヘッド12の上流側の直近位
置に配置されており、連続紙の終端がリアルエンドセン
サ18を通過したことを検出する。またペーパーエンド
センサ19は、連続紙の終端を、該連続紙をプリンタ1
0の排出口11から排出可能な時点で検出する。具体的
には、ペーパーエンドセンサ19は、送りローラ14の
上流側であって、ペーパーエンドセンサ19と送りロー
ラ14の相互間隔(L1)が、送りローラ14と上流側
の第1の排出ローラ15の相互間隔(L2)以上になる
位置(L1≧L2)に配置されており、この位置を連続
紙の終端が通過したことを検出する。これらリアルエン
ドセンサ18及びペーパーエンドセンサ19はいかなる
方式にて検出を行うものであってもよいが、例えば連続
紙に光を投光し、連続紙による光の遮光状態又は反射状
態を検出することによって、連続紙の終端が通過したか
否かを検出することができる。
The printer 10 is provided with a real end sensor (second paper detecting means) 18 and a paper end sensor (first paper detecting 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 arranged at a position immediately upstream 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,
It is detected at the time when it can be discharged from the discharge port 11 of 0. Specifically, the paper end sensor 19 is on the upstream side of the feed roller 14, and the mutual interval (L 1) between the paper end sensor 19 and the feed roller 14 is different from the first discharge roller 15 on the upstream side of the feed roller 14. Is located at a position (L1 ≧ L2) that is equal to or longer than the mutual interval (L2), and detects that the end of the continuous paper has passed this position. The real-end sensor 18 and the paper-end sensor 19 may perform any type of detection. Thereby, it is possible to detect whether or not the end of the continuous paper has passed.

【0029】なお、L1、L2として、ペーパーエンド
センサ19−送りローラ14、送りローラ14−第1の
排出ローラ15としたが、これは、用紙切断機構13
が、送りローラ(印字ヘッド)直近にあるからであり、
用紙切断機構13による切断箇所〜ペーパーエンドセン
サ19,用紙切断機構13による切断箇所〜第1の排出
ローラ15によって挟持される位置、による大小の比較
が望ましい。
Note that the paper end sensor 19-feed roller 14, feed roller 14-first discharge roller 15 are used as L1 and L2.
Is near the feed roller (print head),
It is desirable to compare the size according to the position cut by the sheet cutting mechanism 13 to the position cut by the paper end sensor 19 and the sheet cutting mechanism 13 to the position sandwiched by the first discharge roller 15.

【0030】プリンタ10は、切断分離されたレシート
の回収装置20を備える。所定時間を超えると排出口1
1にレシートが放置されたままの状態にある場合、ホス
トコンピュータからの命令に基いて第1,第2の排出ロ
ーラ15、16はレシートを逆送させ、プリンタ10内
部へ引き込む。引き込まれたレシートは、回収経路21
に搬入され、回収トレイ22内へ順次回収される。
The printer 10 includes a receipt collecting device 20 for cutting and separating receipts. Outlet 1
When the receipt is left unattended at 1, the first and second discharge rollers 15 and 16 reversely feed the receipt based on a command from the host computer and draw the receipt into the printer 10. The received receipt is transferred to the collection path 21
, And are sequentially collected in the collection tray 22.

【0031】プリンタ10は、図示しない制御用のCP
U(制御手段)及びROMを実装する。プリンタ10に
実装されたCPUは、ホストコンピュータからの制御コ
マンド及びROMに格納された制御プログラムに従っ
て、プリンタの前記各機構部分を制御する。本発明に関
連して、プリンタ10内蔵のCPUは、送りローラ1
4、第1,第2の排出ローラ15、16、用紙切断機構
13を駆動制御し、所定の用紙排出動作を実現する。ま
た、CPUは、用紙センサ17、リアルエンドセンサ1
8,ペーパーエンドセンサ19を監視し、必要に応じて
その状態をホストコンピュータに通知する。また、CP
Uは、印字ヘッド12を駆動して、用紙Rに印刷を行
う。
The printer 10 includes a control CP (not shown).
U (control means) and ROM are mounted. A CPU mounted on the printer 10 controls each of the above-described mechanical parts of the printer according to a control command from a host computer and a control program stored in a ROM. In connection with the present invention, the CPU incorporated in the printer 10
4. Drive control of the first and second discharge rollers 15, 16 and the paper cutting mechanism 13 to realize a predetermined paper discharge operation. The CPU includes the paper sensor 17 and the real end sensor 1.
8. Monitor the paper end sensor 19 and notify its status to the host computer as needed. Also, CP
U drives the print head 12 to perform printing on the paper R.

【0032】(第1の実施形態)図2は、本発明の第1
の実施形態おけるロール紙Rの送り状態を示すプリンタ
10の概略側面図、図3は印刷処理のフローチャートで
ある。これらの図を参照しつつ、プリンタ10における
印刷制御を説明する。
(First Embodiment) FIG. 2 shows a first embodiment of the present invention.
FIG. 3 is a schematic side view of the printer 10 showing a feeding state of the roll paper R in the embodiment, and FIG. 3 is a flowchart of a printing process. The print control in the printer 10 will be described with reference to these drawings.

【0033】印刷開始時点においては、図2(a)に示
すように、前の印刷にて切断された連続紙の先端が、用
紙切断機構13の直近位置に配置されている。この状態
において、プリンタ10は、ホストコンピュータからの
データを受信すると、これを一旦受信バッファ(不図
示)に格納し、順次CPUによって実現される解釈部で
その内容を解釈し、解釈されたデータが印字コマンドで
ある場合には印字処理を行う。この印字処理においてC
PUは、まず送りローラ14によって用紙rを送りつ
つ、印字ヘッド12を駆動(走査)制御して、ホストコ
ンピュータから受信した印字コマンドに続く印字データ
に従う印字を実施する。この印字は所定長毎(例えば1
行毎)に行われ、送りローラ14は印字が行われる毎に
用紙rを前記所定長だけ搬送する(図3の工程30
1)。この印字動作に伴い用紙rは、排出口11に向け
て徐々に送られる。
At the time of starting printing, as shown in FIG. 2A, the leading end of the continuous paper cut by the previous printing is arranged at a position immediately near the paper cutting mechanism 13. In this state, when receiving data from the host computer, the printer 10 temporarily stores the data in a reception buffer (not shown), and sequentially interprets the content by an interpretation unit implemented by the CPU. If it is a print command, print processing is performed. In this printing process, C
The PU drives (scans) the print head 12 while feeding the paper r by the feed roller 14, and performs printing in accordance with print data following the print command received from the host computer. This printing is performed every predetermined length (for example, 1
Each time the printing is performed, the feed roller 14 conveys the paper r by the predetermined length (step 30 in FIG. 3).
1). With this printing operation, the paper r is gradually sent toward the outlet 11.

【0034】次いで、CPUは用紙センサ17による用
紙rの先端の検出を確認し(図3の工程302)、未だ
検出されていない場合には、第1,第2の排出ローラ1
5、16を、送りローラ14に同期して駆動させる(図
3の工程303)。
Next, the CPU confirms the detection of the leading end of the sheet r by the sheet sensor 17 (step 302 in FIG. 3). If not detected, the first and second discharge rollers 1 are detected.
5 and 16 are driven in synchronization with the feed roller 14 (step 303 in FIG. 3).

【0035】また、CPUは印字を行う毎に、用紙rの
切断を実行させるための切断コマンドをホストコンピュ
ータから受信したか否かを監視し(図3の工程30
5)、切断コマンドを受信していない場合(工程30
5、いいえ)、ペーパーエンドセンサ19によって連続
紙の終端が検出されたか否かを監視する(図3の工程3
09)。そして、ホストコンピュータから切断コマンド
を受信(工程305,はい)、または連続紙のペーパー
エンドセンサ検出による終端検出(工程309,はい)
があるまで、工程301〜303が繰り返し実行され
る。
Further, every time printing is performed, the CPU monitors whether or not a cutting command for executing cutting of the paper r has been received from the host computer (step 30 in FIG. 3).
5) If no disconnect command has been received (step 30)
5, No), it is monitored whether or not the end of the continuous paper is detected by the paper end sensor 19 (Step 3 in FIG. 3).
09). Then, a disconnection command is received from the host computer (Step 305, Yes) or the end of the continuous paper is detected by detecting the paper end sensor (Step 309, Yes).
Until there is, steps 301 to 303 are repeatedly executed.

【0036】ここで、工程305のはい(切断コマン
ド)とは、受信バッファに溜まっているホストコンピュ
ータからの受信データを順番に解釈し、印字データの終
わりを示す切断コマンドを解釈した時点を、工程305
のはい、とする。
Here, the yes (disconnect command) in step 305 means that the received data from the host computer stored in the receive buffer is interpreted in order, and the point in time when the disconnect command indicating the end of the print data is interpreted. 305
Yes.

【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の排出ローラ1
5の間にループ(撓み)が形成される(図2(c))。
この制御は、用紙rが切断前に排出されると、利用者に
よりATM等の出口に排出されている用紙rが引っ張ら
れて破けることがあるため、これを防止するため、排出
口から排出させずに撓ませるものである。ただし、この
ような制御は本実施形態において必須ではない。
When the leading end of the sheet r is detected by the sheet sensor 17 (Step 302, Yes), the first and second discharge rollers 15, 16 are stopped (Step 304). Therefore, the leading end of the sheet r between the first discharge roller 15 and the second discharge roller 16 is in a state of being sandwiched by the first discharge roller 15 (FIG. 2B). When the process 301 is repeatedly executed, the first discharge roller 15 is stopped but the feed roller 14 is driven, so that the paper r gradually bends, and the print head 12 and the first discharge roller 1
5, a loop (bending) is formed (FIG. 2C).
In this control, if the paper r is discharged before cutting, the paper r discharged to the exit of the ATM or the like by the user may be pulled and torn. It is to bend without making it. However, such control is not essential in the present embodiment.

【0038】その後、図3の工程305において、ホス
トコンピュータからの切断コマンドを受信したと判断さ
れ、ペーパーエンドセンサ19によってペーパーエンド
を検出していない場合(図3の工程306,いいえ)、
CPUは、最初に第1,第2の排出ローラ15、16を
駆動し(図3の工程307)、次いで用紙切断機構13
を駆動して用紙rの後端部を切断する(図3の工程30
8)。この用紙rの切断は、形成されたループが完全に
なくなる前に完了される(以降、図3のフローチャート
では図示せず)。
Thereafter, in step 305 of FIG. 3, when it is determined that the disconnection command has been received from the host computer, and the paper end is not detected by the paper end sensor 19 (step 306 in FIG. 3, no),
The CPU first drives the first and second discharge rollers 15 and 16 (step 307 in FIG. 3), and then drives the paper cutting mechanism 13
To cut the rear end of the paper r (step 30 in FIG. 3).
8). The cutting of the sheet r is completed before the formed loop completely disappears (hereinafter, not shown in the flowchart of FIG. 3).

【0039】用紙切断機構13によりロール紙Rから切
り離された用紙rは、第1,第2の排出ローラ15、1
6によって排出口11外へ搬送される。そして、切断後
の用紙rの後端部が用紙センサ17を超えたことによ
り、これが検出されると、第1,第2の排出ローラ1
5、16の駆動が停止される。この結果、図2(d)に
示すように、用紙rの後端部は第2の排出ローラ16に
弱く保持された状態となり、利用者による取り出しが可
能にされる。これにて印刷処理が終了する。
The paper r separated from the roll paper R by the paper cutting mechanism 13 is supplied to the first and second discharge rollers 15, 1
6 conveys out of the outlet 11. When the rear end of the cut sheet r exceeds the sheet sensor 17 and this is detected, the first and second discharge rollers 1
The driving of 5 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 the user can take out the paper r. This ends the printing process.

【0040】一方、工程305においてホストコンピュ
ータから切断コマンドを受信したと判断される前、つま
り印字が終了する前に、ペーパーエンドセンサ19によ
って連続紙の終端が検出されると(工程309、いい
え)、図3の工程310に移行して、送りローラ14と
第1,第2の排出ローラ15、16が駆動され、既に印
刷された用紙r及び残りの連続紙が全て排出される。
On the other hand, before the end of the continuous paper is detected by the paper end sensor 19 before it is determined in Step 305 that the disconnection command has been received from the host computer, that is, before printing is completed (Step 309, No). In step 310 in FIG. 3, the feed roller 14 and the first and second discharge rollers 15 and 16 are driven to discharge all the printed paper r and the remaining continuous paper.

【0041】例えば工程308にて用紙rを切断した後
(図2(d))、次の印刷処理において工程301〜3
05を実行している際、連続紙が紙切れとなった場合を
想定する。この場合、図2(e)に示すように、連続紙
の終端がペーパーエンドセンサ19を通過した時点で該
終端の検出が行われ、工程309から工程310に移行
して、残りの連続紙の排出が行われる。ここで、図2
(e)においてL1≧L2となるようにペーパーエンド
センサ19が配置されていることから、連続紙の終端が
ペーパーエンドセンサ19で検出された時点では、残り
の連続紙を送りローラ14で送り出すことよって第1の
排出ローラ15に確実に送り込むことができる。したが
って、図2(f)に示すように、残りの連続紙を排出口
11から排出することができる。この後、メンテナンス
員が連続紙を新しいものに交換し、再度印刷を実行す
る。なお、本実施形態においては、リアルエンドセンサ
18を省略することができる。
For example, after cutting the paper r in step 308 (FIG. 2D), in the next printing process, steps 301 to 303 are performed.
It is assumed that the continuous paper has run out of paper while executing step 05. In this case, as shown in FIG. 2E, when the end of the continuous paper has passed through the paper end sensor 19, the end of the continuous paper is detected. Discharge takes place. Here, FIG.
Since the paper end sensor 19 is arranged such that L1 ≧ L2 in (e), when the end of the continuous paper is detected by the paper end sensor 19, the remaining continuous paper is sent out by the feed roller 14. Therefore, it can be reliably fed to the first discharge roller 15. Therefore, as shown in FIG. 2F, the remaining continuous paper can be discharged from the discharge port 11. 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】ここで、用紙センサ17によって用紙の先
端を検出してもしなくても(工程302、はい;いい
え)、ホストコンピュータから切断コマンドを受信して
もしなくても(工程305、はい;いいえ)、ペーパー
エンドセンサ19によって連続紙の終端が検出されてい
るかどうかチェックしているので、連続紙の終端が検出
された場合(工程306、はい)、(または工程30
9、はい)、オートカッタなどからなる用紙切断機構1
3を動作させずに、搬送ローラ14〜16によって用紙
を排出する。
Here, whether or not the leading edge of the sheet is detected by the sheet sensor 17 (step 302, yes; no), whether or not a disconnection command is received from the host computer (step 305, yes; no) ), Since it is checked whether the end of the continuous paper is detected by the paper end sensor 19, if the end of the continuous paper is detected (Step 306, Yes), (or Step 30)
9, Yes), paper cutting mechanism 1 including auto cutter
The paper is discharged by the transport rollers 14 to 16 without operating the printer 3.

【0043】(第2実施形態)次に、本発明の第2実施
形態について説明する。図4は、本実施形態おけるロー
ル紙Rの要部の送り状態を示すプリンタの概略側面図、
図5は印刷処理のフローチャートである。ただし、特に
説明なき構成及び制御方法については、第1実施形態と
同じである。
(Second Embodiment) Next, a second embodiment of the present invention will be described. FIG. 4 is a schematic side view of the printer showing a feeding state of a main part of the roll paper R in the embodiment,
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 in the first embodiment.

【0044】第1実施形態ではペーパーエンドセンサ1
9で連続紙の終端を検出した場合にはこれを直ちに排出
していた。したがって、終端が検出された時点で、あと
少し印字を行えば印刷が終了するような場合でも、連続
紙を交換して始めから印刷をやり直す必要があった。本
実施形態ではこの点を改善し、終端が検出されても印字
を続行することによって、印刷のやり直しを不要とする
ものである。本実施形態では、第1実施形態と同様に、
リアルエンドセンサ18及びペーパーエンドセンサ19
が設けられる。また、図5の工程501〜504は、上
述の図3の工程301〜304とそれぞれ同じである。
In the first embodiment, the paper end sensor 1
When the end of the continuous paper was detected in step 9, it was immediately discharged. Therefore, even when printing is completed if a little more printing is performed when the end is detected, it is necessary to replace the continuous paper and restart printing from the beginning. In the present embodiment, this point is improved, and printing is continued even if the end is detected, thereby eliminating the need for printing again. In the present embodiment, similar to the first embodiment,
Real end sensor 18 and paper end sensor 19
Is provided. Steps 501 to 504 in FIG. 5 are the same as steps 301 to 304 in FIG.

【0045】いま、ペーパーエンドセンサ19で連続紙
の終端が検出された場合(図5の工程510、はい;図
4(a))、さらにリアルエンドセンサ18によって連
続紙の終端が検出されているか否かが確認される(図5
の工程511)。そして検出されていない場合(工程5
11,いいえ)には、工程501に戻り、そのまま印字
を継続する。この印字に伴って、用紙rは徐々に下流側
に搬送される。たとえ、エンドセンサ19によって、連
続紙の終端が検出されても(工程510、はい)、リア
ルエンドセンサ18によって連続紙の終端が検出されな
い場合(工程511、いいえ)、用紙センサ17によっ
て用紙rの先端が検出されるまで印字されるとともに搬
送され(工程502〜工程504)、用紙センサ17が
先端を検出してもまだ、リアルエンドセンサ18によっ
て連続紙の終端が検出されない場合、L1≧L2のた
め、工程501を引き続き行い、用紙rが撓む(図4
(b)、(c))。
Now, when the end of the continuous paper is detected by the paper end sensor 19 (step 510 in FIG. 5, Yes; FIG. 4A), whether the end of the continuous paper is detected by the real end sensor 18 is determined. Is confirmed (see FIG. 5).
Step 511). If not detected (Step 5
(11, No), the process returns to step 501, and printing is continued as it is. With this printing, the paper r is gradually conveyed to the downstream side. Even if the end of the continuous paper is detected by the end sensor 19 (Step 510, Yes), but the end of the continuous paper is not detected by the real end sensor 18 (Step 511, No), the paper sensor 17 detects the end of the paper r. If the paper sensor 17 detects the leading edge and the real-end sensor 18 has not yet detected the end of the continuous paper, the printing is performed until the leading edge is detected. Therefore, the process 501 is continuously performed, and the sheet r is bent (FIG. 4).
(B), (c)).

【0046】ここで、第1実施形態で述べたのと同様に
ホストコンピュータからの切断コマンドの受信が確認さ
れ(図5の工程505、はい)、リアルエンドセンサ1
8,ペーパーエンドセンサ19による終端がともに検出
されない場合(工程506,507、いいえ)、通常時
と同様に工程508、509に移行して、用紙rの排出
及び切断が行われ、用紙rが排出口11から排出され
る。したがって、印刷を完全に行うことができ、連続紙
の交換後に印刷をやり直す必要がなくなる。
Here, as described in the first embodiment, the reception of the disconnection command from the host computer is confirmed (step 505 in FIG. 5, Yes), and the real end sensor 1
8. If neither the end of the paper end sensor 19 is detected (steps 506 and 507, no), the process proceeds to steps 508 and 509 in the same manner as usual, where the paper r is discharged and cut, and the paper r is discharged. It is discharged from the outlet 11. Therefore, printing can be completely performed, and it is not necessary to perform printing again after replacing the continuous paper.

【0047】なお、工程506,工程510は、必要に
応じてその工程を削除できる。
Steps 506 and 510 can be omitted if necessary.

【0048】一方、ホストコンピュータからの切断コマ
ンドの受信が確認される前(工程505,いいえ)、リ
アルエンドセンサ18で連続紙の終端が検出されると
(工程511、図4(c))、上述の工程310と同様
に、既に印刷された用紙r及び残りの連続紙が排出され
る(工程512、図3(d))。この場合には、第1実
施形態と同様に、連続紙が残り少ない場合にもこれを排
出することができる。
On the other hand, before the reception of the disconnection command from the host computer is confirmed (Step 505, No), when the end of the continuous paper is detected by the real end sensor 18 (Step 511, FIG. 4C), As in step 310 described above, the paper r already printed and the remaining continuous paper are discharged (step 512, FIG. 3D). In this case, as in the first embodiment, the continuous paper can be discharged even when the remaining amount is small.

【0049】また、ホストコンピュータからの切断コマ
ンドを受信しても(工程505、はい)、リアルエンド
センサ18またはペーパーエンドセンサ19による連続
紙の終端が検出された場合(工程506,507,は
い)、用紙を切断することなく、搬送ローラ14〜16
を駆動して、用紙を排出する。
Even if a disconnection command is received from the host computer (step 505, Yes), the end of continuous paper is detected by the real end sensor 18 or the paper end sensor 19 (Steps 506, 507, Yes). , Without cutting the paper,
To discharge the paper.

【0050】なお、切断コマンドを受信する前、ペーパ
ーエンドセンサ19が検出しても(工程510,は
い)、リアルエンドセンサ18が検出するまで印字を行
い(工程501)、リアルエンドセンサ18が検出した
とき(工程511、はい)、用紙を切断することなく、
印字を停止し、搬送ローラ14〜16を駆動して(工程
510)、用紙を排出する。
Before the disconnection command is received, even if the paper end sensor 19 detects (Step 510, Yes), printing is performed until the real end sensor 18 detects (Step 501). (Step 511, Yes), without cutting the paper
The printing is stopped, and the transport rollers 14 to 16 are driven (Step 510), and the sheet is discharged.

【0051】以上、本発明の一実施形態を図面に沿って
説明したが、本発明は前記実施形態において示された事
項に限定されず、特許請求の範囲及び発明の詳細な説明
の記載、並びに周知の技術に基づいて、当業者がその変
更・応用を行うことができる範囲が含まれる。
As described above, one embodiment of the present invention has been described with reference to the drawings. However, the present invention is not limited to the matters described in the above embodiment, and is described in the claims and the detailed description of the invention. The range in which those skilled in the art can make changes and applications based on well-known techniques is included.

【0052】[0052]

【発明の効果】以上のごとく本発明によれば、連続紙を
排出可能な時点でその終端を検出し、排出動作を行うこ
とができる。したがって、連続紙を排出用のローラに確
実に送り込むことができ、連続紙を排出することができ
るので、メンテナンス員が手作業で用紙を抜き取る必要
がなくなる。
As described above, according to the present invention, the end of the continuous paper can be detected at the time when the continuous paper can be discharged, and the discharging 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 the maintenance staff does not need to manually remove the paper.

【0053】あるいは、連続紙の終端が検出された時点
で、あと少し印字を行えば印刷が終了するような場合
に、印字を続行して印刷を完了することができる。した
がって、連続紙の交換後に印刷をやり直す必要がなくな
る。
Alternatively, when the end of the continuous paper is detected, if the printing is to be completed with a little more printing, the printing can be continued to complete the printing. Therefore, it is not necessary to perform printing again after replacing the continuous paper.

【0054】更には、ペーパーエンドセンサで連続紙の
終端を検出した時点においては、連続紙の残りの長さ
が、第1の搬送手段と第2の搬送手段の相互間隔以上と
なる。したがって、連続紙を確実に第2の搬送手段に送
り込むことができる。
Further, 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 means and the second transport means. Therefore, the continuous paper can be reliably sent to the second transport unit.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施形態に係るプリンタの内部構
造を示す概略側面図である。
FIG. 1 is a schematic side view illustrating an internal structure of a printer according to a first embodiment of the present invention.

【図2】本発明の第1実施形態におけるロール紙の送り
状態を示すプリンタの概略側面図である。
FIG. 2 is a schematic side view of the printer showing a roll paper feeding state according to the first embodiment of the present invention.

【図3】本発明の第1実施形態における印刷処理のフロ
−チャートである。
FIG. 3 is a flowchart of a printing process according to the first embodiment of the present invention.

【図4】本発明の第2実施形態におけるロール紙の送り
状態を示すプリンタの概略側面図である。
FIG. 4 is a schematic side view of a printer showing a roll paper feeding state according to a second embodiment of the present invention.

【図5】本発明の第2実施形態における印刷処理のフロ
−チャートである。
FIG. 5 is a flowchart of a printing process according to a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 プリンタ 11 排出口 12 印字ヘッド 13 用紙切断機構 14 送りローラ 15 第1の排出ローラ 16 第2の排出ローラ 17 用紙センサ 18 リアルエンドセンサ 19 ペーパーエンドセンサ 20 回収装置 21 回収経路 22 回収トレイ R ロール紙 r 用紙 REFERENCE SIGNS LIST 10 printer 11 discharge port 12 print head 13 paper cutting mechanism 14 feed roller 15 first discharge roller 16 second discharge roller 17 paper sensor 18 real end sensor 19 paper end sensor 20 collection device 21 collection path 22 collection tray R roll paper r paper

───────────────────────────────────────────────────── フロントページの続き (72)発明者 滝沢 仁一 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 Fターム(参考) 2C058 LA03 LA24 LB09 LC02 LC12 LC16 LC25 2C061 AS05 LL06 3F105 AA01 AB04 DA23 DA51 5B021 CC05 KK00 KK07  ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Jinichi Takizawa 3-3-5 Yamato, Suwa-shi, Nagano F-term in Seiko Epson Corporation (reference) 2C058 LA03 LA24 LB09 LC02 LC12 LC16 LC25 2C061 AS05 LL06 3F105 AA01 AB04 DA23 DA51 5B021 CC05 KK00 KK07

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 連続紙上に印刷を行うプリンタの制御方
法において、 (a)前記連続紙の終端を、該連続紙をプリンタの排出
口から排出可能な時点で検出する工程と、 (b)前記連続紙の終端が検出された際には、前記連続
紙をプリンタの排出口から排出する工程と、を備えるプ
リンタの制御方法。
1. A method for controlling a printer that performs printing on continuous paper, comprising: (a) detecting the end of the continuous paper at a time when the continuous paper can be discharged from a discharge port of the printer; Discharging the continuous paper from an output port of the printer when the end of the continuous paper is detected.
【請求項2】 連続紙上に印刷を行うプリンタの制御方
法において、 (a)前記連続紙の終端を、該連続紙をプリンタの排出
口から排出可能な時点で検出する工程と、 (b)前記連続紙の終端を、該連続紙への印字が不可能
となる時点で検出する工程と、 (c)前記工程(a)で連続紙の終端が検出された後、
前記工程(b)で連続紙の終端が検出される前に印字が
終了した場合には、前記連続紙をプリンタの排出口から
排出し、 前記工程(a)で連続紙の終端が検出された後、印字が
終了する前に前記工程(b)で連続紙の終端が検出され
た場合には、前記連続紙への印字を停止して、前記連続
紙をプリンタの排出口から排出する工程と、を備えるプ
リンタの制御方法。
2. A method for controlling a printer that performs printing on continuous paper, comprising: (a) detecting the end of the continuous paper at a time when the continuous paper can be discharged from a discharge port of the printer; (C) detecting the end of the continuous paper at the time when printing on the continuous paper becomes impossible; and (c) detecting the end of the continuous paper in the step (a).
If 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). Thereafter, if the end of the continuous paper is detected in the step (b) before the printing is completed, the printing on the continuous paper is stopped, and the continuous paper is discharged from a discharge port of a printer. And a printer control method comprising:
【請求項3】 連続紙上に印刷を行うプリンタにおい
て、 前記連続紙の印刷された領域をプリンタの排出口に向け
て搬送させる第1の搬送手段と、 前記排出口の近傍に設置され、前記連続紙の印刷された
領域を前記排出口から外へ搬送させる第2の搬送手段
と、 前記連続紙の終端を、該連続紙をプリンタの排出口から
排出可能な時点で検出するペーパーエンドセンサと、 前記ペーパーエンドセンサにて前記連続紙の終端が検出
された際には、前記第1の搬送手段及び前記第2の搬送
手段を駆動して、前記連続紙をプリンタの排出口から排
出する制御手段と、を備えるプリンタ。
3. A printer for performing printing on continuous paper, wherein: a first transport unit configured to transport a printed area of the continuous paper toward an outlet of the printer; A second conveying unit that conveys the printed area of the paper out of the discharge port, a paper end sensor that detects the end of the continuous paper at a time 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 control means drives the first transport means and the second transport means to discharge the continuous paper from a discharge port of a printer. And a printer comprising:
【請求項4】 連続紙上に印刷を行うプリンタにおい
て、 前記連続紙の印刷された領域をプリンタの排出口に向け
て搬送させる第1の搬送手段と、 前記排出口の近傍に設置され、前記連続紙の印刷された
領域を前記排出口から外へ搬送させる第2の搬送手段
と、 前記連続紙の終端を、該連続紙をプリンタの排出口から
排出可能な時点で検出するペーパーエンドセンサと、 前記連続紙の終端を、該連続紙への印字が不可能となる
時点で検出するリアルエンドセンサと、 前記ペーパーエンドセンサにて連続紙の終端が検出され
た後、前記リアルエンドセンサにて連続紙の終端が検出
される前に印字が終了した場合には、前記第1の搬送手
段及び前記第2の搬送手段を駆動して、前記連続紙をプ
リンタの排出口から排出し、 前記ペーパーエンドセンサにて連続紙の終端が検出され
た後、印字が終了する前に前記リアルエンドセンサにて
連続紙の終端が検出された場合には、前記連続紙への印
字を停止して、前記第1の搬送手段及び前記第2の搬送
手段を駆動して、前記連続紙をプリンタの排出口から排
出する制御手段と、を備えるプリンタ。
4. A printer for performing printing on continuous paper, comprising: a first transport unit configured to transport a printed area of the continuous paper toward an outlet of the printer; A second conveying unit that conveys the printed area of the paper out of the discharge port, a paper end sensor that detects the end of the continuous paper at a time when the continuous paper can be discharged from the discharge port of the printer, A real end sensor that detects the end of the continuous paper when printing on the continuous paper becomes impossible; and a continuous end that is detected by the real end sensor after the end of the continuous paper is detected by the paper end sensor. When printing is completed before the end of the paper is detected, the first transport unit and the second transport unit are driven to discharge the continuous paper from a printer outlet, and the paper end is output. C If the end of the continuous paper is detected by the real end sensor after the end of the continuous paper is detected by the sensor and before the printing is completed, the printing on the continuous paper is stopped and the Control means for driving the first transport means and the second transport means to discharge the continuous paper from a discharge port of the printer.
【請求項5】 前記ペーパーエンドセンサが、前記第1
の搬送手段の上流側であって、前記ペーパーエンドセン
サと前記第1の搬送手段の相互間隔が前記第1の搬送手
段と前記第2の搬送手段の相互間隔以上となる位置に配
置されている請求項3又は4記載のプリンタ。
5. The paper end sensor according to claim 1, wherein
Upstream of the conveying means, and is disposed at a position where the interval between the paper end sensor and the first conveying means is greater than or equal to the interval between the first conveying means and the second conveying means. The printer according to claim 3.
【請求項6】 ホストコンピュータから送信される制御
コマンドと印字データを受信する受信手段と、 該受信手段が受信した内容に伴い、ウエブ状の用紙に印
刷する印刷手段と、 前記ウエブ状の用紙の終端を検出する第1の紙検出手段
と、 前記印刷手段近傍に設けられ、必要に応じて前記用紙を
切断する切断手段と、 前記印刷手段と対向する位置に設けられ、前記用紙を排
出口に向かって搬送する第1の搬送手段と、 前記第1の搬送手段より下流側の前記排出口近傍に設け
られ、前記第1の搬送手段から搬送された用紙を受け入
れ、さらに前記排出口から外に排出させる第2の搬送手
段とを備え、 前記印刷手段による印刷中に、前記用紙の終端を前記第
1の検出手段が検出すると、前記ホストコンピュータか
ら切断コマンドを受信していても前記切断手段による切
断動作を行わず、前記第1の搬送手段と前記第2の搬送
手段による搬送動作により前記用紙を排出するよう制御
する制御手段を備えたことを特徴とするプリンタ。
6. A receiving means for receiving a control command and print data transmitted from a host computer, a printing means for printing on a web-like sheet according to the content received by the receiving means, A first paper detecting means for detecting the end, a cutting means provided in the vicinity of the printing means and for cutting the paper as required, and a cutting means provided at a position facing the printing means, and A first transport unit that transports the paper toward the discharge port, which is provided downstream of the first transport unit in the vicinity of the discharge port, receives the paper transported from the first transport unit, and further moves out of the discharge port. And a second transport unit for discharging the sheet. When the first detecting unit detects the end of the sheet during printing by the printing unit, a disconnection command is received from the host computer. And a control means for controlling so as not to perform the cutting operation by the cutting means, and to discharge the sheet by the conveying operation by the first conveying means and the second conveying means.
【請求項7】ホストコンピュータから送信される制御コ
マンドと印字データを受信する受信手段と、 該受信手段が受信した内容に伴い、ウエブ状の用紙に印
刷する印刷手段と、 前記ウエブ状の用紙の終端を検出する第1の紙検出手段
と、 前記印刷手段近傍に設けられ、前記用紙への印刷可能下
端を検出する第2の紙検出手段と、 前記印刷手段と対向する位置に設けられ、前記用紙を排
出口に向かって搬送する第1の搬送手段と、 前記第1の搬送手段より下流側の前記排出口近傍に設け
られ、前記第1の搬送手段から搬送された用紙を受け入
れ、さらに前記排出口から外に排出させる第2の搬送手
段とを備え、 前記印刷手段による印刷中に前記第1の紙検出手段が前
記用紙の終端を検出しても、前記用紙の終端が前記第2
の紙検出手段により検出されるまでは印刷を停止せず、
前記第1の搬送手段により用紙を搬送させるよう制御す
る制御手段を備えたことを特徴とするプリンタ。
7. A receiving means for receiving a control command and print data transmitted from a host computer, a printing means for printing on a web-shaped sheet according to the content received by the receiving means, A first paper detecting means for detecting an end, a second paper detecting means provided in the vicinity of the printing means and detecting a lower end capable of printing on the paper, and a second paper detecting means provided at a position facing the printing means; A first transport unit that transports the paper toward the discharge port, provided near the discharge port downstream of the first transport unit, for receiving the paper transported from the first transport unit; A second conveying means for discharging the paper from the discharge port, wherein even if the first paper detection means detects the end of the paper during printing by the printing means, the end of the paper is the second paper.
Do not stop printing until it is detected by the paper detection means of
A printer comprising control means for controlling the first transport means to transport the paper.
【請求項8】 ホストコンピュータから送信される制御
コマンドと印字データを受信する受信手段と、 該受信手段が受信した内容に伴い、ウエブ状の用紙に印
刷する印刷手段と、 前記ウエブ状の用紙の終端を検出する第1の紙検出手段
と、 前記印刷手段近傍に設けられ、必要に応じて前記用紙を
切断する切断手段と、 前記印刷手段と対向する位置に設けられ、前記用紙を排
出口に向かって搬送する第1の搬送手段と、 前記第1の搬送手段より下流側の前記排出口近傍に設け
られ、前記第1の搬送手段から搬送された用紙を受け入
れ、さらに前記排出口から外に排出する第2の搬送手段
とを備え、 前記切断手段と前記第2の搬送手段との間の距離より
も、前記第1の紙検出手段と前記切断手段との間の距離
を大きくしたことを特徴とするプリンタ。
8. A receiving means for receiving a control command and print data transmitted from a host computer, a printing means for printing on a web-shaped sheet according to the contents received by the receiving means, A first paper detecting means for detecting the end, a cutting means provided in the vicinity of the printing means and for cutting the paper as required, and a cutting means provided at a position facing the printing means, and A first transport unit that transports the paper toward the discharge port, which is provided downstream of the first transport unit in the vicinity of the discharge port, receives the paper transported from the first transport unit, and further moves out of the discharge port. A second conveying means for discharging, wherein a distance between the first paper detecting means and the cutting means is larger than a distance between the cutting means and the second conveying means. Features Pre Nta.
【請求項9】 ウエブ状の連続用紙に印刷手段により印
字し、印字した用紙をホストコンピュータから受信した
切断コマンドに基づいて切断手段により切断し、切断し
た用紙を搬送手段により排出口から排出するプリンタの
制御方法において、 前記受信した切断コマンドを解釈するとき、前記切断手
段による切断後の用紙長が、前記排出口から排出可能な
長さになるかどうか判断し、(a)該用紙長が排出可能
な長さであれば、前記切断手段により切断し、(b)該
用紙長が排出不可能な長さになると判断すれば、前記切
断手段により切断せず、前記排出口から排出するいずれ
かを選択することを特徴とするプリンタの制御方法。
9. A printer for printing on continuous web paper by a printing means, cutting the printed paper by a cutting means based on a cutting command received from a host computer, and discharging the cut paper from a discharge port by a transport means. In the control method of (1), when interpreting the received cutting command, it is determined whether or not the sheet length after cutting by the cutting means is a length that can be discharged from the discharge port. If the length is possible, the sheet is cut by the cutting means. (B) If it is determined that the sheet length becomes a length that cannot be discharged, the sheet is discharged from the discharge port without cutting by the cutting means. And a printer control method.
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 true JP2001121765A (en) 2001-05-08
JP3855564B2 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006150652A (en) * 2004-11-26 2006-06-15 Konica Minolta Holdings Inc Image recording device, and image recording method
EP2062735A3 (en) * 2004-10-15 2009-11-25 Sanford, L.P. Control of printing mechanisms
JP2012064119A (en) * 2010-09-17 2012-03-29 Seiko Epson Corp 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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2062735A3 (en) * 2004-10-15 2009-11-25 Sanford, L.P. Control of printing mechanisms
EP2305479A1 (en) * 2004-10-15 2011-04-06 Sanford L.P. Control of printing mechanisms
JP2006150652A (en) * 2004-11-26 2006-06-15 Konica Minolta Holdings Inc Image recording device, and image recording method
JP4552619B2 (en) * 2004-11-26 2010-09-29 コニカミノルタホールディングス株式会社 Image recording apparatus and image recording method
JP2012064119A (en) * 2010-09-17 2012-03-29 Seiko Epson Corp 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
JP3855564B2 (en) 2006-12-13

Similar Documents

Publication Publication Date Title
JP5136659B2 (en) Printer, control method therefor, and information recording medium
JP2006062266A (en) Printer and control method for printer
US8066278B2 (en) Printer
US6631903B2 (en) Paper discharge apparatus and printer
JP2001121765A (en) Printer and control method therefor
JP2006289887A (en) Method of loading recording paper of printer
JP2009190245A (en) Roll paper printer and print control method of roll paper printer
JP5327209B2 (en) Printing device
JP4759796B2 (en) Printer, control method therefor, and information recording medium
JP3770002B2 (en) Printer and control method thereof
US20110215130A1 (en) Sheet handling apparatus and sheet collecting method
JP3864640B2 (en) Printer and control method thereof
JP2004338382A (en) Printer
JP2006326994A (en) Printing apparatus and automatic ticket vending machine
JP2014073645A (en) Printing system
JP6961867B2 (en) Image forming device, print medium ejection device, and control method
JP3788137B2 (en) Printer and control method thereof
JP2001293918A (en) Printer and its controlling method
JP3196913B2 (en) Printer feed control device
JP3061130B2 (en) Printer with cutter
JP5308110B2 (en) Automatic transaction equipment
JP7236026B2 (en) printer
JP2002036671A (en) Serial printer
JP2006082889A (en) Paper sheet carrying device
JP2019209606A (en) Printer

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