JP2011037158A - Receipt printer - Google Patents

Receipt printer Download PDF

Info

Publication number
JP2011037158A
JP2011037158A JP2009187226A JP2009187226A JP2011037158A JP 2011037158 A JP2011037158 A JP 2011037158A JP 2009187226 A JP2009187226 A JP 2009187226A JP 2009187226 A JP2009187226 A JP 2009187226A JP 2011037158 A JP2011037158 A JP 2011037158A
Authority
JP
Japan
Prior art keywords
paper
hopper
upstream
average value
downstream
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
JP2009187226A
Other languages
Japanese (ja)
Other versions
JP5327862B2 (en
Inventor
Morikazu Furukawa
盛一 古川
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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2009187226A priority Critical patent/JP5327862B2/en
Publication of JP2011037158A publication Critical patent/JP2011037158A/en
Application granted granted Critical
Publication of JP5327862B2 publication Critical patent/JP5327862B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Handling Of Continuous Sheets Of Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Handling Of Sheets (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a receipt printer which can collect paper sheets under being used before the occurrence of poor transfer and feed the paper of the other hopper automatically, and then continue a processing operation of receipt issuing. <P>SOLUTION: The receipt printer includes paper sheet delivery means 8, 9 and 10 for respective hoppers 5, 6 and 7 storing paper sheets 2, 3 and 4, respectively, wound in the shape of roll, and paper rewinding means 11, 12 and 13. The total length of already-cut paper sheets 58 is measured on a downstream-side paper sheets transfer route 19 for leading the paper sheets to a receipt outlet 18, and the presence or absence of the occurrence of poor transfer is predicted by comparing the total length with the total length of the paper sheets to be cut in an appropriate state. While collecting the paper under usage to the hopper by operating the paper sheet rewinding means of the hopper selected at the point in the case that the occurrence of poor transfer is predicted, the paper under usage is collected before the occurrence of poor transfer by operating the paper sheet delivery means by selecting one of other hoppers, and the processing operation of receipt issuing is continued by automatically feeding the paper of the other hopper. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、ロール状に巻回された用紙を引き出して先端から順に印字処理を行ない切断して排出するようにしたレシートプリンタの改良に関する。   The present invention relates to an improvement in a receipt printer in which a sheet wound in a roll shape is pulled out, subjected to print processing in order from the leading edge, cut and discharged.

ロール状に巻回された用紙を複数個投入して利用するようにしたレシートプリンタとしては既に様々なものが公知である。   Various types of receipt printers are already known in which a plurality of sheets wound in a roll are loaded and used.

特許文献1に開示されるレシートプリンタは、上下方向に連通するホッパにロール状の用紙を重ねて投入し、下段から順にロール状の用紙を消費していくものに過ぎず、用紙の搬送不良を検出するための手段は特に備えていない。
また、仮に、用紙の搬送不良を検出するための手段を併設したとしても、ホッパの下段側に位置するロールのみから用紙が送り出される構造であるため、下段側の用紙ロールに変形等の不都合が生じて用紙の送り出しに不都合が生じたような場合には、予備のロールがホッパ内に有るにも関わらず此れを有効に使用することは全くできない。
The receipt printer disclosed in Japanese Patent Laid-Open No. 2004-228561 merely rolls paper into a hopper that communicates in the vertical direction and consumes the roll paper in order from the lower stage, resulting in poor paper conveyance. There is no particular means for detection.
Even if a means for detecting a paper conveyance failure is provided, the paper is fed only from the roll located on the lower side of the hopper, so that there is a problem such as deformation of the lower paper roll. If a problem arises in the feeding of the paper, it cannot be used effectively even though there is a spare roll in the hopper.

特許文献2に開示される印刷装置は用紙を巻き取ることは可能だが、供給用のロール紙のスプールと回収用のスプールとが別体であり、ロール紙の搬送方向は一方向に制限されるので、ロール紙の使用中に搬送不良が生じたとしても、別のロール紙を使用して処理を継続するといったことはできない。
仮に、回収用のスプールに供給用のロール紙の全てを巻き取ることが可能であったとしても、もともと予備ロール紙をホッパ内に貯溜する構造ではないので、用紙の自動交換は不可能であり、そもそも、用紙の搬送不良が生じた状態で回収用のスプールに用紙を巻き取り続けることができないであろう。
ロール紙の残量を検出してロールの交換作業を利用者に促す点に関しては特許文献2に開示があるが、その交換作業は飽くまでも利用者の手動操作で行われるものに過ぎない。
特許文献2に開示される印刷装置は供給用のロール紙を回収用のスプールに巻き取る構造であるから、当然、印字処理を行なった部分を切断して排出するようにしたレシートプリンタに其の構造を転用することはできない。
The printing apparatus disclosed in Patent Document 2 can take up paper, but the supply roll paper spool and the collection spool are separate, and the roll paper conveyance direction is limited to one direction. Therefore, even if a conveyance failure occurs during the use of roll paper, processing cannot be continued using another roll paper.
Even if it is possible to wind up all of the roll paper to be supplied to the collection spool, it is not possible to automatically replace the paper because the spare roll paper is not stored in the hopper. In the first place, it will not be possible to continue winding the paper on the collecting spool in a state where the paper conveyance failure has occurred.
Japanese Patent Application Laid-Open No. 2003-228688 discloses a method for prompting the user to replace the roll by detecting the remaining amount of roll paper. However, the replacement is only performed manually by the user until he gets tired.
Since the printing apparatus disclosed in Patent Document 2 has a structure in which the roll paper to be supplied is wound around a collection spool, naturally, a receipt printer that cuts and discharges the portion where the printing process has been performed is included in the printing apparatus. The structure cannot be diverted.

特許文献3に開示される処理装置では、搬送速度と搬送距離から予測される用紙の搬送所要時間に基いて用紙詰まりを検知する点に関しての記載が認められる。
但し、この処理装置はトレイに入れられた単票の用紙に対して処理を行なうものであるため、用紙詰まりが検出されても用紙を自動的に取り除いたり別の用紙を選択したりして処理を継続することはできず、処理装置を停止させて手動で用紙詰まりを解消する必要がある。
In the processing apparatus disclosed in Japanese Patent Laid-Open No. 2004-260260, a description regarding the point of detecting a paper jam based on a required time for transporting a paper predicted from a transport speed and a transport distance is recognized.
However, since this processing unit processes single sheets of paper placed in the tray, even if a paper jam is detected, the paper is automatically removed or another paper is selected. Cannot be continued, and it is necessary to manually stop the paper jam by stopping the processing device.

特許文献4に開示されるロール紙の自動供給装置は、供給用のロール紙を回収用のスプールに巻き取りながら処理を行なう点で特許文献2に開示される印刷装置と同等であり、また、上下方向に連通するホッパにロール状の用紙を重ねて投入し、下段から順にロール状の用紙を消費していく点では特許文献1に開示されるレシートプリンタと同等である。
特許文献4に開示されるロール紙の自動供給装置はホッパ内に貯溜された予備のロール紙を新たな使用対象としてセットするためのオートローディング機構を備えているが、オートローディングが可能なのはホッパの下段側に位置するロールが使い切られた場合のみであり、下段側の用紙ロールに変形等の不都合が生じて用紙の送り出しに不都合が生じたような場合には、予備のロールがホッパ内に有っても此れを使用することはできない。
特許文献2に開示される印刷装置と同様に供給用のロール紙を回収用のスプールに巻き取る構造であるから、当然、印字処理を行なった部分を切断して排出するようにしたレシートプリンタに其の構造を転用することは不可能である。
The roll paper automatic supply apparatus disclosed in Patent Document 4 is equivalent to the printing apparatus disclosed in Patent Document 2 in that the roll paper for supply is processed while being wound on a recovery spool, It is the same as the receipt printer disclosed in Patent Document 1 in that roll-shaped paper is stacked on a hopper that communicates in the vertical direction, and roll-shaped paper is consumed in order from the bottom.
The roll paper automatic supply device disclosed in Patent Document 4 includes an autoloading mechanism for setting a spare roll paper stored in the hopper as a new object to be used. This is only when the lower roll is used up. If there is a problem such as deformation in the lower paper roll, and there is an inconvenience in feeding the paper, there is a spare roll in the hopper. But you can't use it.
Since the supply roll paper is wound around the collection spool in the same manner as the printing apparatus disclosed in Patent Document 2, it is a matter of course that a receipt printer that cuts and discharges the printed portion is used. It is impossible to divert that structure.

特開2002−172828号公報(図1)JP 2002-172828 A (FIG. 1) 特開2008−143605号公報(段落0028,0045)JP 2008-143605 A (paragraphs 0028 and 0045) 特開2009−28908号公報(段落0053)JP 2009-28908 A (paragraph 0053) 特開平4−310773号公報(図1)JP-A-4-310773 (FIG. 1)

本発明の目的は、用紙の搬送不良の発生を未然に予測し、搬送不良が発生する可能性がある場合には搬送不良の発生前に使用中の用紙を回収して別のホッパの用紙を自動的に供給してレシート発行の処理動作を継続することのできるレシートプリンタを提供することにある。   An object of the present invention is to predict the occurrence of a paper conveyance failure, and if there is a possibility that a conveyance failure will occur, collect the paper in use before the occurrence of the conveyance failure and collect the paper of another hopper. It is an object of the present invention to provide a receipt printer that can automatically supply and continue the process of issuing a receipt.

本発明のレシートプリンタは、ロール状に巻回された用紙を引き出して先端から順に印字処理を行ない切断して排出するようにしたレシートプリンタであり、前記目的を達成するため、特に、
ロール状に巻回された用紙を格納する複数のホッパと、各ホッパに格納された用紙の先端を送り出す各ホッパ毎の用紙送り出し手段と、用紙をロールに巻回して巻き戻す各ホッパ毎の用紙巻き戻し手段と、選択されたホッパから送り出された用紙を印字ヘッドに導く上流側用紙搬送経路に配置された上流側用紙搬送手段と、上流側用紙搬送経路の下流側端部に設けられた用紙カッターと、用紙カッターで切断された用紙をレシート取出口に導く下流側用紙搬送経路に配置された下流側用紙搬送手段と、切断された用紙の全長を下流側用紙搬送経路上で測長する測長手段と、適性状態で切断される用紙の全長を記憶した基準長記憶手段と、前記測長手段で測長された用紙の全長と前記基準長記憶手段に記憶された用紙の全長を比較して搬送不良の発生の有無を予測する異常予測手段と、前記異常予測手段によって搬送不良の発生が有ると予測されると其の時点で選択されているホッパの用紙巻き戻し手段を作動させて使用中の用紙を上流側用紙搬送経路からホッパに回収すると共に他のホッパの1つを選択して其のホッパの用紙送り出し手段を作動させることにより当該ホッパに格納された用紙の先端を上流側用紙搬送経路に送り出す用紙再選択手段を備えたことを特徴とする構成を有する。
The receipt printer of the present invention is a receipt printer that pulls out the paper wound in a roll shape, performs the printing process in order from the front end, cuts and discharges, and in order to achieve the above object,
A plurality of hoppers that store paper wound in a roll shape, a paper feeding means for each hopper that feeds the leading edge of the paper stored in each hopper, and a paper for each hopper that winds and rewinds the paper Rewinding means, upstream paper conveying means arranged in the upstream paper conveying path for guiding the paper fed from the selected hopper to the print head, and paper provided at the downstream end of the upstream paper conveying path A cutter, a downstream paper transport means arranged in the downstream paper transport path for guiding the paper cut by the paper cutter to the receipt outlet, and a measurement for measuring the total length of the cut paper on the downstream paper transport path. The length means, the reference length storage means for storing the total length of the paper to be cut in an appropriate state, the total length of the paper measured by the length measurement means and the total length of the paper stored in the reference length storage means are compared. Transport failure An abnormality prediction means for predicting the occurrence of occurrence, and when it is predicted by the abnormality prediction means that a conveyance failure has occurred, the paper rewinding means of the hopper selected at that time is operated to remove the paper in use. By collecting one of the other hoppers from the upstream paper transport path and selecting one of the other hoppers and operating the paper feed means of that hopper, the leading edge of the paper stored in the hopper is sent to the upstream paper transport path. It has a configuration characterized by comprising paper reselecting means.

また、前記と同様の目的を達成するため、前記測長手段と基準長記憶手段に代えて、印字ヘッドの駆動が開始されてから用紙カッターが作動するまでの間の上流側用紙搬送手段の送り速度の平均値を求める平均値算出手段と適性状態で検出される上流側用紙搬送手段の送り速度の平均値を記憶した平均値記憶手段とを設け、平均値算出手段で求められた平均値と平均値記憶手段に記憶された平均値を比較して異常予測手段が搬送不良の発生の有無を予測するように構成してもよい。   In order to achieve the same object as described above, instead of the length measuring means and the reference length storage means, the upstream paper transport means feeds after the print head drive is started until the paper cutter operates. An average value calculating means for calculating an average value of the speed and an average value storing means for storing an average value of the feeding speed of the upstream sheet conveying means detected in the appropriate state are provided, and the average value obtained by the average value calculating means The abnormality predicting unit may be configured to predict the occurrence of a conveyance failure by comparing the average values stored in the average value storing unit.

あるいは、前記測長手段と基準長記憶手段に代えて、印字ヘッドの駆動が開始されてから用紙カッターが作動するまでの間の上流側用紙搬送手段の駆動トルクの平均値を求める平均値算出手段と適性状態で検出される上流側用紙搬送手段の駆動トルクの平均値を記憶した平均値記憶手段とを設け、平均値算出手段で求められた平均値と平均値記憶手段に記憶された平均値を比較して異常予測手段が搬送不良の発生の有無を予測するように構成してもよい。   Alternatively, instead of the length measuring means and the reference length storage means, an average value calculating means for obtaining an average value of the driving torque of the upstream side paper conveying means from when the drive of the print head is started until the paper cutter is actuated. And an average value storage means for storing the average value of the driving torque of the upstream side sheet conveying means detected in the appropriate state, and the average value obtained by the average value calculation means and the average value stored in the average value storage means May be configured so that the abnormality prediction means predicts the occurrence of a conveyance failure.

本発明のレシートプリンタは、ロール状に巻回された用紙を格納する複数のホッパ毎に用紙送り出し手段と用紙巻き戻し手段を設け、用紙をレシート取出口に導く下流側用紙搬送経路上で切断済みの用紙の全長を測長して適性状態で切断される用紙の全長と比較すること、または、上流側用紙搬送手段の送り速度の平均値と適性状態で検出される上流側用紙搬送手段の送り速度の平均値とを比較すること、あるいは、上流側用紙搬送手段の駆動トルクの平均値と適性状態で検出される上流側用紙搬送手段の駆動トルクの平均値とを比較することにより搬送不良の発生の有無を予測し、搬送不良の発生が有ると予測された場合には、其の時点で選択されているホッパの用紙巻き戻し手段を作動させて使用中の用紙をホッパに回収すると共に他のホッパの1つを選択して其のホッパの用紙送り出し手段を作動させることにより当該ホッパに格納された用紙の先端を上流側用紙搬送経路に送り出すようにしたので、搬送不良の発生前に使用中の用紙を自動的に回収して別のホッパの用紙を供給してレシート発行の処理動作を継続することができる。
従って、ジャミングの発生を未然に防止してレシート発行の処理動作を継続することが可能となり、レシートプリンタや其の上位装置の機能が不用意に停止するといった不都合が改善され、また、レシートプリンタを継続して稼動させるためにオペレータが頻繁にレシートプリンタの動作状況をチェックするといった煩わしさもなくなる。
しかも、搬送不良が発生した状態で各部のモータや駆動機構に過剰な負荷が作用することもなくなるので、レシートプリンタの機械的なダメージも未然に防止され得る。
The receipt printer of the present invention is provided with a paper feeding means and a paper rewinding means for each of a plurality of hoppers that store paper wound in a roll shape, and has been cut on a downstream paper conveyance path that guides the paper to the receipt outlet. Measure the total length of the paper and compare it with the total length of the paper to be cut in the appropriate state, or feed the upstream paper transport means detected in the appropriate state with the average value of the feed speed of the upstream paper transport means Compare the average value of the speed, or compare the average value of the driving torque of the upstream sheet conveying means with the average value of the driving torque of the upstream sheet conveying means detected in the appropriate state. If it is predicted whether or not there is a conveyance failure, the paper rewinding means of the hopper selected at that time is operated to collect the used paper in the hopper and of By selecting one of the hoppers and operating the paper feeding means of the hopper, the leading edge of the paper stored in the hopper is sent to the upstream paper conveyance path, so it is used before the occurrence of conveyance failure. It is possible to automatically collect the paper inside and supply paper from another hopper to continue the receipt issue processing operation.
Therefore, it is possible to prevent the occurrence of jamming and continue the processing operation for issuing a receipt, thereby improving the inconvenience that the functions of the receipt printer and its host device are stopped carelessly. There is no need for the operator to frequently check the operating status of the receipt printer in order to keep it operating.
Moreover, since no excessive load is applied to the motors and drive mechanisms of the respective parts in a state where the conveyance failure has occurred, mechanical damage to the receipt printer can be prevented beforehand.

本発明を適用した一実施形態のレシートプリンタのハードウェア構成について簡略化して示した側断面図である。It is the sectional side view which simplified and showed the hardware constitutions of the receipt printer of one Embodiment to which this invention is applied. 同実施形態のレシートプリンタの制御部について簡略化して示したブロック図である。It is the block diagram which simplified and showed the control part of the receipt printer of the embodiment. 同実施形態のレシートプリンタの制御部に設けられたマイクロプロセッサによって実行される処理の概略について示したフローチャートである。3 is a flowchart illustrating an outline of processing executed by a microprocessor provided in the control unit of the receipt printer of the embodiment. 同実施形態のレシートプリンタの制御部に設けられたマイクロプロセッサによって実行される処理の概略について示したフローチャートの続きである。It is a continuation of the flowchart showing the outline of the processing executed by the microprocessor provided in the control unit of the receipt printer of the embodiment. 同実施形態のレシートプリンタの制御部に設けられたマイクロプロセッサによって実行される処理の概略について示したフローチャートの続きである。It is a continuation of the flowchart showing the outline of the processing executed by the microprocessor provided in the control unit of the receipt printer of the embodiment. 同実施形態のレシートプリンタの制御部に設けられたマイクロプロセッサによって実行される処理の概略について示したフローチャートの続きである。It is a continuation of the flowchart showing the outline of the processing executed by the microprocessor provided in the control unit of the receipt printer of the embodiment. 選択順序記憶手段として機能する不揮発性メモリに設けられた選択順序記憶テーブルの構成を示した概念図である。It is the conceptual diagram which showed the structure of the selection order memory | storage table provided in the non-volatile memory which functions as a selection order memory | storage means. 用紙の送りと印字および切断と測長ならびに用紙の巻き戻しに関わる動作の概要を示した作用原理図であり、図8(a)は印字開始位置に用紙の先端が位置決めされた状態、図8(b)は印字が完了した状態、図8(c)は印字ヘッドを基準として図8(b)の印字完了位置から用紙の全長Bと印字長Aの差分B−Aに相当する距離だけ用紙に送りを掛けた状態、図8(d)は印字ヘッドを基準として図8(b)の印字完了位置から用紙の全長Bと印字長Aの差分B−Aおよび印字ヘッドと用紙カッターの離間距離Cに相当する距離B−A+Cだけ用紙に送りを掛けて用紙の先端を切断した状態、図8(e)は切断された用紙が搬送されて測長されるときの状態、図8(f)は次の印字動作を開始するための位置決め動作が完了した状態、図8(g)は異常の発生が予測されて巻き戻される過程にある用紙の状態について示している。FIG. 8A is an operation principle diagram showing an outline of operations related to paper feeding, printing, cutting, length measurement, and paper rewinding, and FIG. 8A shows a state where the leading edge of the paper is positioned at the printing start position. 8B shows a state where printing has been completed, and FIG. 8C shows a sheet corresponding to the difference B−A between the total length B of the sheet and the printing length A from the printing completion position in FIG. FIG. 8D shows the difference B−A between the total length B of the paper and the print length A from the print completion position of FIG. 8B and the separation distance between the print head and the paper cutter with reference to the print head. FIG. 8E shows a state in which the leading edge of the paper is cut by feeding the paper by a distance B−A + C corresponding to C, FIG. 8E shows a state in which the cut paper is conveyed and measured, and FIG. Indicates the state where the positioning operation for starting the next printing operation is completed. (G) shows the state of the paper that is in the process of generation of abnormality is unwound been predicted.

次に、本発明を実施するための形態について一例を挙げ、図面を参照して具体的に説明する。   Next, an example is given about the form for implementing this invention, and it demonstrates concretely with reference to drawings.

図1は本発明を適用した一実施形態のレシートプリンタのハードウェア構成について簡略化して示した側断面図、図2は同実施形態のレシートプリンタの制御部について簡略化して示したブロック図である。   FIG. 1 is a side sectional view schematically showing a hardware configuration of a receipt printer according to an embodiment to which the present invention is applied, and FIG. 2 is a block diagram showing a simplified control unit of the receipt printer according to the embodiment. .

本実施形態のレシートプリンタ1は、ロール状に巻回された用紙を引き出して先端から順に印字処理を行ない切断して排出するレシートプリンタであり、図1に示されるように、ロール状に巻回された用紙2,3,4を格納する複数のホッパ5,6,7と、各ホッパ5,6,7に格納された用紙2,3,4の先端を送り出す各ホッパ5,6,7毎の用紙送り出し手段8,9,10と、用紙をロールに巻回して巻き戻す各ホッパ毎の用紙巻き戻し手段11,12,13と、選択された何れかのホッパから送り出された用紙を印字ヘッド14に導く略L字型の上流側用紙搬送経路15と、上流側用紙搬送経路15に沿って配置された上流側用紙搬送手段16と、上流側用紙搬送経路15の下流側端部に設けられた用紙カッター17と、用紙カッター17で切断された用紙をレシート取出口18に導く下流側用紙搬送経路19と、下流側用紙搬送経路19に沿って配置された下流側用紙搬送手段20を備える。   The receipt printer 1 according to the present embodiment is a receipt printer that pulls out a sheet wound in a roll shape, sequentially performs printing processing from the leading edge, cuts and discharges the sheet, and is wound in a roll shape as shown in FIG. A plurality of hoppers 5, 6, 7 that store the received sheets 2, 3, 4, and each hopper 5, 6, 7 that feeds the tips of the sheets 2, 3, 4 stored in each hopper 5, 6, 7 Paper feeding means 8, 9, and 10; paper rewinding means 11, 12, and 13 for each hopper that winds and winds the paper around a roll; and paper fed from one of the selected hoppers A substantially L-shaped upstream sheet conveying path 15 led to 14, upstream sheet conveying means 16 disposed along the upstream sheet conveying path 15, and a downstream end of the upstream sheet conveying path 15. Paper cutter 17 and paper cutter Includes a downstream paper conveying path 19 for guiding the cut paper 17 to the receipt outlet 18, downstream sheet conveying means 20 disposed along the downstream sheet conveying path 19.

このうち、用紙送り出し手段8,9,10の各々は、各ホッパ5,6,7に格納された用紙2,3,4の先端を上流側用紙搬送手段16に導くための接続路21,22,23の内部に突入して設けられた搬送ローラ24,25,26と、各搬送ローラ24,25,26を回転駆動する図2中の送り出しモータm1,m2,m3によって構成され、各搬送ローラ24,25,26よりも僅かに下流側の接続路21,22,23上の位置には、用紙2,3,4の有無を確認するための用紙確認センサSR1,SR2,SR3が配置されている。   Among these, each of the sheet feeding means 8, 9, 10 has connection paths 21, 22 for guiding the leading ends of the sheets 2, 3, 4 stored in the hoppers 5, 6, 7 to the upstream sheet conveying means 16. , 23 and the feed rollers 24, 25, 26 provided in the interior of the inside, and the feed motors m1, m2, m3 in FIG. Sheet check sensors SR1, SR2, SR3 for checking the presence of sheets 2, 3, 4 are arranged at positions on connection paths 21, 22, 23 slightly downstream of 24, 25, 26. Yes.

また、用紙巻き戻し手段11,12,13の各々は、各ホッパ5,6,7に格納されたロール状の用紙2,3,4の中空部に嵌合するスプール27,28,29と、各スプール27,28,29を回転駆動する図2中の巻き戻しモータM1,M2,M3によって構成される。   Each of the paper rewinding means 11, 12, 13 includes spools 27, 28, 29 that fit into the hollow portions of the roll-shaped papers 2, 3, 4 stored in the hoppers 5, 6, 7, respectively. The spools 27, 28, 29 are rotationally driven, and are constituted by rewinding motors M1, M2, M3 in FIG.

上流側用紙搬送手段16は、プーリ30,31と、プーリ30,31に巻回されて上流側用紙搬送経路15の内部に突入する搬送ベルト32と、プーリ30,30を同方向に回転駆動する図2中の上流側搬送モータM02、および、上流側搬送モータM02とプーリ30,30との間の物理的な接続を係脱するクラッチCRによって構成される。   The upstream sheet conveying means 16 rotationally drives the pulleys 30 and 31, the conveying belt 32 wound around the pulleys 30 and 31 and entering the upstream sheet conveying path 15, and the pulleys 30 and 30 in the same direction. 2 includes the upstream side conveyance motor M02 and a clutch CR that engages and disengages the physical connection between the upstream side conveyance motor M02 and the pulleys 30 and 30.

上流側用紙搬送経路15の下流側端部に設けられた用紙カッター17は、図2のカッター駆動ソレノイドSOLによって上下方向に駆動され、先端のカッティングエッジで用紙を切断するようになっている。   The paper cutter 17 provided at the downstream end of the upstream paper transport path 15 is driven in the vertical direction by the cutter drive solenoid SOL in FIG. 2 to cut the paper at the cutting edge at the tip.

下流側用紙搬送手段20は、プーリ33,34と、プーリ33,34に巻回されて下流側用紙搬送経路19の内部に突入する搬送ベルト35と、プーリ33を回転駆動する図2中の下流側搬送モータM01によって構成される。   The downstream-side sheet conveying means 20 includes pulleys 33 and 34, a conveying belt 35 wound around the pulleys 33 and 34 and entering the inside of the downstream-side sheet conveying path 19, and the downstream side in FIG. It is comprised by the side conveyance motor M01.

図1中の符号S1は上流側用紙搬送経路15に沿って送られてくる用紙の先端を検出するための先端検出センサであり、印字ヘッド14よりも僅かに上流側に配置されている。   Reference numeral S1 in FIG. 1 is a leading edge detection sensor for detecting the leading edge of the sheet fed along the upstream sheet conveying path 15, and is disposed slightly upstream from the print head.

また、図1中の符号S2は下流側用紙搬送経路19に沿って送られてくる切断済みの用紙の先端を検出するための用紙検出センサであり、用紙カッター17よりも下流に位置する下流側用紙搬送経路19上に配置されている。
用紙検出センサS2は、切断された用紙の全長を測長する測長手段の一部として機能する。
1 is a paper detection sensor for detecting the leading end of the cut paper that is sent along the downstream paper transport path 19, and is downstream of the paper cutter 17. It is arranged on the paper transport path 19.
The sheet detection sensor S2 functions as part of a length measuring unit that measures the entire length of the cut sheet.

この実施形態にあっては上流側用紙搬送手段16および下流側用紙搬送手段20をベルト式の搬送手段によって構成しているが、これらのものはローラ式の搬送手段であっても構わない。   In this embodiment, the upstream-side paper transporting means 16 and the downstream-side paper transporting means 20 are constituted by belt-type transporting means, but these may be roller-type transporting means.

レシートプリンタ1の各部を駆動制御する制御部37はレシートプリンタ1のアウターケーシング36に内蔵されており、その主要部は、図2に示されるように、演算処理用のマイクロプロセッサ38(以下、単にCPU38という)と、CPU38の制御プログラムを格納したリード・オンリー・メモリ39(以下、単にROM39という)と、各種のパラメータを記憶するための不揮発性メモリ40と、データの一時記憶等に利用されるランダム・アクセス・メモリ(以下、単にRAM41という)等によって構成される。   A control unit 37 for driving and controlling each part of the receipt printer 1 is built in the outer casing 36 of the receipt printer 1, and its main part is a microprocessor 38 (hereinafter simply referred to as an arithmetic processing unit) as shown in FIG. CPU 38), read-only memory 39 (hereinafter simply referred to as ROM 39) storing a control program for CPU 38, non-volatile memory 40 for storing various parameters, and temporary storage of data. It is composed of a random access memory (hereinafter simply referred to as RAM 41).

制御部37は、更に、上位装置たとえば銀行に配置されたホストコンピュータやATM本体等との間でデータの遣り取りを行なうための入出力インターフェイス43と、オペレータが簡単な入力操作を行なうための手動操作盤42(ディップスイッチ等でもよい)と、オペレータに注意を促すためのアラームランプ44等を備える。   The control unit 37 further includes an input / output interface 43 for exchanging data with a host computer such as a host computer or an ATM main body arranged in a bank, and a manual operation for an operator to perform a simple input operation. A panel 42 (a dip switch or the like) and an alarm lamp 44 for alerting the operator are provided.

用紙送り出し手段8,9,10の搬送ローラ24,25,26を回転駆動する送り出しモータm1,m2,m3および用紙巻き戻し手段11,12,13のスプール27,28,29を回転駆動する巻き戻しモータM1,M2,M3は、各々のモータ駆動回路46,47,48,49,50,51と制御部37の入出力回路45を介してCPU38によって駆動制御される。   Rewinding motors m1, m2, and m3 for rotationally driving the conveying rollers 24, 25, and 26 of the paper feeding means 8, 9, and 10 and rewinding for rotating the spools 27, 28, and 29 of the paper rewinding means 11, 12, and 13 The motors M 1, M 2, M 3 are driven and controlled by the CPU 38 via the motor drive circuits 46, 47, 48, 49, 50, 51 and the input / output circuit 45 of the control unit 37.

下流側用紙搬送手段20のプーリ33,34と搬送ベルト35を回転駆動する下流側搬送モータM01、および、上流側用紙搬送手段16のプーリ30,31と搬送ベルト32を回転駆動する上流側搬送モータM02は、各々のモータ駆動回路52,53と制御部37の入出力回路45を介してCPU38によって駆動制御される。   A downstream transport motor M01 that rotationally drives the pulleys 33 and 34 of the downstream paper transport unit 20 and the transport belt 35, and an upstream transport motor that rotationally drives the pulleys 30 and 31 of the upstream paper transport unit 16 and the transport belt 32. M02 is driven and controlled by the CPU 38 via the motor drive circuits 52 and 53 and the input / output circuit 45 of the controller 37.

上流側搬送モータM02とプーリ30,30との間の物理的な接続を係脱するクラッチCRは、クラッチ駆動回路54と制御部37の入出力回路45を介してCPU38によってオン/オフ制御される。
この実施形態では、クラッチCRをオンとした状態で上流側搬送モータM02とプーリ30,30が物理的に接続され、クラッチCRをオフとした状態で上流側搬送モータM02とプーリ30,30との接続が切り離されるようになっている。
The clutch CR that engages and disengages the physical connection between the upstream conveyance motor M02 and the pulleys 30 and 30 is controlled on / off by the CPU 38 via the clutch drive circuit 54 and the input / output circuit 45 of the controller 37. .
In this embodiment, the upstream transport motor M02 and the pulleys 30 and 30 are physically connected with the clutch CR turned on, and the upstream transport motor M02 and the pulleys 30 and 30 are connected with the clutch CR turned off. The connection is to be disconnected.

また、印字ヘッド14はヘッド駆動回路55と制御部37の入出力回路45を介してCPU38によって駆動制御され、用紙カッター17を上下動させるカッター駆動ソレノイドSOLもソレノイド駆動回路56と制御部37の入出力回路45を介してCPU38によって駆動制御される。   The print head 14 is driven and controlled by the CPU 38 via the head drive circuit 55 and the input / output circuit 45 of the control unit 37, and the cutter drive solenoid SOL that moves the paper cutter 17 up and down is also connected to the solenoid drive circuit 56 and the control unit 37. The drive is controlled by the CPU 38 via the output circuit 45.

接続路21,22,23上に配置された用紙確認センサSR1,SR2,SR3が用紙の存在を確認した時に出力する各用紙確認センサSR1,SR2,SR3毎の用紙確認信号、上流側用紙搬送経路15上に配置された先端検出センサS1が用紙の先端を検出した時に出力する先端検出信号、下流側用紙搬送経路19上に配置された用紙検出センサS2が切断された用紙の存在を確認する間だけ出力する用紙検出信号の各々は、制御部37の入出力回路45を介してCPU38に読み込まれるようになっている。   A sheet confirmation signal for each sheet confirmation sensor SR1, SR2, SR3 output when the sheet confirmation sensors SR1, SR2, SR3 arranged on the connection paths 21, 22, 23 confirm the presence of the sheet, upstream sheet conveyance path While the leading edge detection sensor S1 disposed on the leading edge detection sensor S1 detects the leading edge of the sheet, the sheet detection sensor S2 disposed on the downstream sheet conveyance path 19 confirms the presence of the cut sheet. Each of the sheet detection signals to be output is read by the CPU 38 via the input / output circuit 45 of the control unit 37.

また、手動操作盤42を介して入力される設定は、入出力回路45を介してCPU38に読み込まれ、不揮発性メモリ40に記憶される。   In addition, settings input via the manual operation panel 42 are read into the CPU 38 via the input / output circuit 45 and stored in the nonvolatile memory 40.

この実施形態にあっては、不揮発性メモリ40が、適性状態で切断される用紙の全長Bを記憶する基準長記憶手段、および、搬送異常の発生が予測された際に利用すべきホッパの選択順序を記憶する選択順序記憶手段としても機能する。   In this embodiment, the non-volatile memory 40 selects the reference length storage means for storing the total length B of the sheet to be cut in the appropriate state, and the hopper to be used when the occurrence of the conveyance abnormality is predicted. It also functions as selection order storage means for storing the order.

図7は選択順序記憶手段として機能する不揮発性メモリ40に設けられた選択順序記憶テーブル57の構成を示した概念図である。
選択順序記憶テーブル57中ではホッパ番号1が図1中のホッパ5を表し、ホッパ番号2が図1中のホッパ6を表し、ホッパ番号3が図1中のホッパ7を表している。
フラグF1,F2,F3は各ホッパ5,6,7が使用可能状態にあるか否かを示すフラグであり、フラグがセットされた状態でホッパの使用可能状態を表し、フラグがリセットされた状態でホッパの使用不能状態を表す。
ホッパ5(ホッパ番号1),ホッパ6(ホッパ番号2),ホッパ7(ホッパ番号3)の選択順序は図示例では1,2,3となっているが、この選択順序は手動操作盤42からの入力操作で自由に設定が可能である。
FIG. 7 is a conceptual diagram showing the configuration of the selection order storage table 57 provided in the nonvolatile memory 40 functioning as selection order storage means.
In the selection order storage table 57, the hopper number 1 represents the hopper 5 in FIG. 1, the hopper number 2 represents the hopper 6 in FIG. 1, and the hopper number 3 represents the hopper 7 in FIG.
Flags F1, F2, and F3 are flags that indicate whether or not each hopper 5, 6, and 7 are in a usable state. The flag indicates a usable state of the hopper when the flag is set, and the flag is reset. Represents the unusable state of the hopper.
The selection order of the hopper 5 (hopper number 1), hopper 6 (hopper number 2), and hopper 7 (hopper number 3) is 1, 2, and 3 in the illustrated example. It is possible to set freely by input operation.

不揮発性メモリ40には、適性状態で切断される用紙の全長Bや選択順序記憶テーブル57の他、下流側用紙搬送手段20の設計上の用紙送り速度や、上流側用紙搬送経路15に沿って上流側から先端検出センサS1の位置まで送られた用紙の先端を更に印字ヘッド14の位置まで移動させるために必要とされる上流側用紙搬送手段16の駆動量つまり上流側搬送モータM02に与えるべき駆動指令パルスの値、更には、基準長記憶手段である不揮発性メモリ40に記憶された用紙の全長Bに対する切断済み用紙の実測長Dの比率D/Bに基いて異常予測手段が搬送不良の発生の有無を予測する際に利用する許容範囲の下限値ε1と上限値ε2、および、比率D/Bの値が連続的に許容範囲を外れても用紙の搬送に支障なしとして許容する連続逸脱回数の許容値nの値、印字ヘッド14と用紙カッター17の離間距離C等がパラメータとして記憶されている。   In the non-volatile memory 40, in addition to the total length B of the sheets to be cut in the appropriate state and the selection order storage table 57, the sheet feeding speed in the design of the downstream sheet conveying means 20 and the upstream along the upstream sheet conveying path 15. The drive amount of the upstream paper transporting means 16 required for moving the front end of the paper sent from the side to the position of the front end detection sensor S1 to the position of the print head 14, that is, the drive to be given to the upstream transport motor M02 Based on the value of the command pulse and the ratio D / B of the actually measured length D of the cut sheet to the total length B of the sheet stored in the non-volatile memory 40 as the reference length storage unit, the abnormality predicting unit generates a conveyance failure. The lower limit value ε1 and the upper limit value ε2 of the allowable range used when predicting the presence / absence of the sheet and the continuous value that allows the conveyance of the sheet without any trouble even if the value of the ratio D / B is continuously outside the allowable range The allowable value n of the number of deviations, the separation distance C between the print head 14 and the paper cutter 17 and the like are stored as parameters.

アラームランプ44はCPU38からの指令によって点灯もしくは点滅される。   The alarm lamp 44 is turned on or blinked according to a command from the CPU 38.

図3〜図6は制御部37のCPU38によって実行される処理の概略について示したフローチャート、また、図8(a)〜図8(g)は用紙の送りと印字および切断と測長ならびに用紙の巻き戻しに関わる動作の概要を示した作用原理図である。   3 to 6 are flowcharts showing an outline of processing executed by the CPU 38 of the control unit 37, and FIGS. 8A to 8G are sheet feeding, printing, cutting, length measurement, and sheet feeding. It is an effect | action principle figure which showed the outline | summary of the operation | movement regarding rewinding.

次に、図3〜図6のフローチャートおよび図8(a)〜図8(g)の作用原理図を参照して本実施形態のレシートプリンタ1の全体的な処理動作、特に、測長手段の主要部,異常予測手段,用紙再選択手段として機能するCPU38の処理動作について具体的に説明する。   Next, referring to the flowcharts of FIGS. 3 to 6 and the operation principle diagrams of FIGS. 8A to 8G, the overall processing operation of the receipt printer 1 of the present embodiment, in particular, the length measuring means. The processing operation of the CPU 38 functioning as the main part, the abnormality prediction means, and the paper reselection means will be specifically described.

レシートプリンタ1に電源が投入されると、CPU38は、まず、選択順序記憶手段として機能する不揮発性メモリ40にアクセスし、選択順序記憶テーブル57にホッパの選択順序が既に設定されているか否かを判定し(ステップa1)、ホッパの選択順序が設定されていなければ、更に、オペレータによる手動操作盤42の操作によって選択順序が入力されているか否かを判定する(ステップa2)。   When the receipt printer 1 is powered on, the CPU 38 first accesses the non-volatile memory 40 functioning as a selection order storage unit, and determines whether or not the hopper selection order has already been set in the selection order storage table 57. If it is determined (step a1) and the selection order of the hopper is not set, it is further determined whether or not the selection order is input by operating the manual operation panel 42 by the operator (step a2).

そして、選択順序も入力されていなければ、ステップa1〜ステップa2の判定処理を繰り返し実行しつつ、オペレータがホッパの選択順序を入力するのを待機し、手動操作盤42の操作によってオペレータがホッパの選択順序を入力すると、この操作をステップa2の判定処理で検知し、入力された選択順序を不揮発性メモリ40の選択順序記憶テーブル57に格納する(ステップa3,図7参照)。   If the selection order has not been input, the determination process in steps a1 to a2 is repeatedly executed while waiting for the operator to input the selection order of the hopper. When the selection order is input, this operation is detected by the determination process in step a2, and the input selection order is stored in the selection order storage table 57 of the nonvolatile memory 40 (see step a3 and FIG. 7).

ホッパの選択順序の設定が完了してステップa1の判定結果が真となると、CPU38は、入出力回路45を介して用紙確認センサSR1,SR2,SR3からの用紙確認信号の全てが入力されているか否かを判定し(ステップa4)、用紙確認信号を入力していない用紙確認センサが1つでもあれば、入出力回路45を介してアラームランプ44を点灯もしくは点滅させて初期設定操作に不備があることをオペレータに知らせる(ステップa5)。   When the setting of the hopper selection order is completed and the determination result in step a1 is true, the CPU 38 has received all of the sheet confirmation signals from the sheet confirmation sensors SR1, SR2, SR3 via the input / output circuit 45. (Step a4), and if there is at least one sheet confirmation sensor that does not receive a sheet confirmation signal, the alarm lamp 44 is lit or blinked via the input / output circuit 45 and the initial setting operation is incomplete. Inform the operator that there is (step a5).

これを受けたオペレータは、ホッパ5,6,7の各々にロール状に巻回された用紙2,3,4を正しくセットし、用紙2,3,4の先端を接続路21,22,23の内部に引き出し、更に、搬送ローラ24,25,26を経て用紙確認センサSR1,SR2,SR3の位置にまで用紙2,3,4の先端を導き出す。
用紙の先端を正しくセットしたときの状態は図1中の用紙3,4によって示される通りである(図1中の用紙2は上流側用紙搬送経路15の途中まで用紙が引き出された状態を示したものであって初期設定操作の完了状態を示したものではない)。
Upon receipt of this, the operator correctly sets the papers 2, 3, and 4 wound in the roll shape on each of the hoppers 5, 6, and 7, and connects the leading ends of the papers 2, 3, and 4 to the connection paths 21, 22, and 23. In addition, the leading ends of the papers 2, 3 and 4 are led to the positions of the paper check sensors SR1, SR2 and SR3 through the transport rollers 24, 25 and 26.
The state when the leading edge of the paper is correctly set is as shown by the papers 3 and 4 in FIG. 1 (the paper 2 in FIG. 1 shows a state in which the paper is pulled out partway along the upstream paper transport path 15. It does not indicate the completion status of the initial setting operation).

ホッパ5,6,7の各々に用紙2,3,4が正しくセットされて用紙確認センサSR1,SR2,SR3からの用紙確認信号の全てが入力されたことがステップa4の判定処理で確認されると、CPU38は、アラームランプ44を消灯し(ステップa6)、不揮発性メモリ40の選択順序記憶テーブル57にフラグF1,F2,F3をセットして、ホッパ番号1,2,3で表される全てのホッパ5,6,7に用紙2,3,4が正しくセットされたことを記憶する(ステップa7,図7参照)。   It is confirmed in the determination process in step a4 that the sheets 2, 3, and 4 are correctly set in the hoppers 5, 6, and 7 and all the sheet confirmation signals from the sheet confirmation sensors SR1, SR2, and SR3 are input. Then, the CPU 38 turns off the alarm lamp 44 (step a6), sets the flags F1, F2, and F3 in the selection order storage table 57 of the nonvolatile memory 40, and displays all the hopper numbers 1, 2, and 3 The fact that the sheets 2, 3, and 4 are correctly set in the hoppers 5, 6, and 7 is stored (step a7, see FIG. 7).

次いで、CPU38は、ホッパの選択順位の初期値である値1を選択順位特定指標jにセットし(ステップa8)、選択順位特定指標jの現在値に対応するホッパ番号を図7の選択順序記憶テーブル57から読み込み、選択ホッパ記憶レジスタR1に記憶させる(ステップa9)。
この段階ではj=1であるから、図7の選択順序記憶テーブル57の例に従えば、選択順位の初期値である値1に対応するホッパ番号1が選択ホッパ記憶レジスタR1に記憶されることになる。なお、ホッパ5(ホッパ番号1),ホッパ6(ホッパ番号2),ホッパ7(ホッパ番号3)の選択順序を自由に設定できることは既に述べた通りであり、仮に、図7の選択順序記憶テーブル57の第2行の欄に1,2,3ではなく2,1,3が記憶されていたとすれば、選択順位の初期値である値1に対応するホッパ番号2が選択ホッパ記憶レジスタR1に記憶されることになる。
Next, the CPU 38 sets a value 1 which is an initial value of the selection order of the hopper to the selection order specifying index j (step a8), and stores the hopper number corresponding to the current value of the selection order specifying index j in the selection order shown in FIG. The data is read from the table 57 and stored in the selected hopper storage register R1 (step a9).
Since j = 1 at this stage, according to the example of the selection order storage table 57 of FIG. 7, the hopper number 1 corresponding to the value 1 that is the initial value of the selection order is stored in the selection hopper storage register R1. become. As described above, the selection order of the hopper 5 (hopper number 1), hopper 6 (hopper number 2), and hopper 7 (hopper number 3) can be set freely. If 2, 1 and 3 are stored in the second row column of 57 instead of 1, 2 and 3, the hopper number 2 corresponding to the value 1 which is the initial value of the selection order is stored in the selected hopper storage register R1. Will be remembered.

次いで、CPU38は、入出力回路45を介してクラッチCRをオン状態とすることで上流側搬送モータM02を上流側用紙搬送手段16のプーリ30,30に接続し(ステップa10)、選択ホッパ記憶レジスタR1の現在値に基いて送り出しモータm(R1)と上流側搬送モータM02の正転を開始させる(ステップa11)。
既に述べた通り、この実施形態にあっては各モータの駆動制御はCPU38が各モータ宛てに出力する駆動指令パルスに基いて行われるようになっており、各モータの回転速度は単位時間当たりにCPU38から出力される駆動指令パルスの値によって特定され、また、各モータの回転量は駆動指令パルスの値(積算値)によって特定される。
Next, the CPU 38 turns on the clutch CR via the input / output circuit 45 to connect the upstream conveying motor M02 to the pulleys 30 and 30 of the upstream sheet conveying means 16 (step a10), and the selected hopper storage register. Based on the current value of R1, the forward rotation of the feed motor m (R1) and the upstream transport motor M02 is started (step a11).
As already described, in this embodiment, the drive control of each motor is performed based on the drive command pulse output from the CPU 38 to each motor, and the rotational speed of each motor is determined per unit time. The value of the drive command pulse output from the CPU 38 is specified, and the rotation amount of each motor is specified by the value (integrated value) of the drive command pulse.

この時点では選択ホッパ記憶レジスタR1の現在値は1であるから、送り出しモータm1と上流側搬送モータM02が正転され、結果的に、送り出しモータm1の正転によってホッパ番号が1であるホッパ5に設けられた用紙送り出し手段8の搬送ローラ24が図1中の反時計方向に回転駆動され、同時に、上流側搬送モータM02の正転によって上流側用紙搬送手段16を構成するプーリ30,31と搬送ベルト32が図1中の反時計方向に回転駆動されて、ホッパ5の用紙2の先端が接続路21を経て上流側用紙搬送経路15に導かれることになる。   At this time, since the current value of the selected hopper storage register R1 is 1, the feed motor m1 and the upstream transport motor M02 are rotated forward, and as a result, the hopper 5 whose hopper number is 1 by the forward rotation of the feed motor m1. 1 is rotated in the counterclockwise direction in FIG. 1, and at the same time, pulleys 30 and 31 that constitute the upstream paper transporting means 16 by forward rotation of the upstream transport motor M02; The conveyance belt 32 is rotationally driven in the counterclockwise direction in FIG. 1, and the leading edge of the sheet 2 of the hopper 5 is guided to the upstream sheet conveyance path 15 through the connection path 21.

次いで、CPU38は、入出力回路45を介して先端検出センサS1からの先端検出信号が入力されているか否かを判定し(ステップa12)、先端検出信号の入力が検知されていなければ其のまま送り出しモータm(R1)と上流側搬送モータM02の正転を継続させる。   Next, the CPU 38 determines whether or not the tip detection signal from the tip detection sensor S1 is input via the input / output circuit 45 (step a12). If the input of the tip detection signal is not detected, it remains as it is. The forward rotation of the delivery motor m (R1) and the upstream side conveyance motor M02 is continued.

そして、先端検出センサS1からの先端検出信号の入力がステップa12の判定処理で確認され、用紙2の先端が上流側用紙搬送経路15上の先端検出センサS1の位置に達したことが明らかになると、CPU38は、上流側搬送モータM02に出力する駆動指令パルスのカウントを開始する(ステップa13)。   Then, the input of the leading edge detection signal from the leading edge detection sensor S1 is confirmed by the determination processing in step a12, and it becomes clear that the leading edge of the sheet 2 has reached the position of the leading edge detection sensor S1 on the upstream sheet conveyance path 15. The CPU 38 starts counting the drive command pulses output to the upstream side conveyance motor M02 (step a13).

次いで、CPU38は、上流側搬送モータM02に出力した駆動指令パルスのカウント値が、先端検出センサS1の位置にある用紙2の先端を印字ヘッド14の位置まで移動させるために必要とされる上流側搬送モータM02の駆動指令パルスの設定値に達しているか否かを判定し(ステップa14)、達していなければ其のまま送り出しモータm(R1)と上流側搬送モータM02の正転を継続させる。   Next, the CPU 38 is required to move the leading edge of the sheet 2 whose drive command pulse count value output to the upstream conveying motor M02 is at the position of the leading edge detection sensor S1 to the position of the print head 14. It is determined whether or not the set value of the drive command pulse for the transport motor M02 has been reached (step a14), and if not, the forward motor m (R1) and the upstream transport motor M02 continue to rotate normally.

そして、駆動指令パルスのカウント値が設定値に達したことがステップa14の判定処理で確認され、用紙2の先端が印字ヘッド14の位置に到達したことが明らかになると、CPU38は、上流側搬送モータM02と送り出しモータm(R1)の駆動を停止する(ステップa15)。
この状態で、図8(a)に示されるようにして用紙2の先端が印字ヘッド14の直下に位置決めされることになる。
Then, it is confirmed in the determination process of step a14 that the count value of the drive command pulse has reached the set value, and when it is clear that the leading edge of the paper 2 has reached the position of the print head 14, the CPU 38 performs upstream conveyance. The driving of the motor M02 and the feed motor m (R1) is stopped (step a15).
In this state, the leading edge of the sheet 2 is positioned directly below the print head 14 as shown in FIG.

次いで、CPU38は、駆動指令パルスのカウントに用いるカウンタの値をリセットし(ステップa16)、ホストコンピュータやATM本体等の上位装置から入出力インターフェイス43を介して印字指令や印字データが入力されるのを待機する(ステップa17)。   Next, the CPU 38 resets the value of the counter used for counting drive command pulses (step a16), and a print command or print data is input via the input / output interface 43 from a host device such as a host computer or ATM main body. (Step a17).

そして、印字指令や印字データが上位装置から入力されると、CPU38は、下流側用紙搬送手段20のプーリ33,34と搬送ベルト35を回転駆動する下流側搬送モータM01の正転を開始して下流側用紙搬送手段20を上流側用紙搬送手段16に同期させて作動させると共に(ステップa18)、入力された印字指令および印字データに基いて印字ヘッド14および上流側搬送モータM02と送り出しモータm(R1)を駆動制御し、従来と同様にして用紙2に送りを掛けながら印字処理を開始し(ステップa19)、併せて、上流側搬送モータM02に出力する駆動指令パルスのカウントを開始する(ステップa20)。   When a print command or print data is input from the host device, the CPU 38 starts normal rotation of the downstream side conveyance motor M01 that rotationally drives the pulleys 33 and 34 of the downstream side sheet conveyance means 20 and the conveyance belt 35. The downstream sheet conveying means 20 is operated in synchronism with the upstream sheet conveying means 16 (step a18), and the print head 14, upstream conveyance motor M02 and delivery motor m (based on the input print command and print data) R1) is driven and the printing process is started while feeding the paper 2 in the same manner as in the prior art (step a19). At the same time, the count of drive command pulses output to the upstream side transport motor M02 is started (step a19). a20).

最終的に、印字データの印字出力が全て完了したことがステップa21の判定処理で確認されると、CPU38は、駆動指令パルスのカウントに用いたカウンタの値に基いて、図8(b)に示される印字長Aすなわち用紙2の先端から印字完了位置までの距離Aを求める(ステップa22)。
印字長Aは用紙2に印字すべき印字データの量(行数)によって変動するが、駆動指令パルスのカウントに用いられるカウンタは用紙2の先端が印字ヘッド14の真下に位置決めされてから印字動作が完了するまでの間に上流側搬送モータM02に与えられる駆動指令パルスの値をカウントしているので、このカウント値に1パルス相当分の送り量を乗じることによって印字長Aを正確に求めることができる。
When it is finally confirmed in step a21 that the print output of the print data has been completed, the CPU 38 determines that the value of the counter used for counting the drive command pulses is as shown in FIG. The indicated printing length A, that is, the distance A from the leading edge of the paper 2 to the printing completion position is obtained (step a22).
Although the print length A varies depending on the amount (number of lines) of print data to be printed on the paper 2, the counter used for counting the drive command pulse performs the printing operation after the front end of the paper 2 is positioned directly below the print head 14. Since the value of the drive command pulse given to the upstream side conveyance motor M02 is counted until the completion of the printing, the print length A is accurately obtained by multiplying this count value by the feed amount corresponding to one pulse. Can do.

次いで、CPU38は、基準長記憶手段として機能する不揮発性メモリ40から適性状態で切断される用紙の全長Bの値、および、印字ヘッド14と用紙カッター17の離間距離Cの値を読み込み、これらの値と測定された印字長Aの値に基いて、用紙カッター17で用紙2の先端をBの長さに切断するために必要とされる更なる用紙2の送り量B−A+Cの値を求める(ステップa23)。
送り量B−A+Cは、現在位置すなわち図8(b)に示される印字完了位置(印字ヘッド14の直下)を基準としたインクリメンタル量である。
既に述べた通り、Bはレシートプリンタ1が完全に調整された状態にあるとき、つまり、上流側用紙搬送手段16の搬送ベルト32と用紙との間に不用意な滑りがなく、且つ、ホッパからの用紙の引き出しが円滑に行われ、用紙にも弛みや過剰なテンションが作用せず、上流側搬送モータM02や送り出しモータにも脱調が生じていない状況下で用紙が切断された場合の用紙の全長つまり切断長の理論値である。上位装置から与えられる印字データの量は印字長Aが適性状態で切断される用紙の全長Bを超えない範囲に制限されているので両者の関係は必然的にA<Bとなる。
Next, the CPU 38 reads the value of the total length B of the paper to be cut in an appropriate state and the value of the separation distance C between the print head 14 and the paper cutter 17 from the non-volatile memory 40 functioning as the reference length storage means. Based on the measured value and the value of the measured printing length A, the value of the further feeding amount B−A + C of the sheet 2 required for cutting the leading end of the sheet 2 into the length B by the sheet cutter 17 is obtained. (Step a23).
The feed amount B−A + C is an incremental amount based on the current position, that is, the print completion position (directly below the print head 14) shown in FIG. 8B.
As already described, B is when the receipt printer 1 is in a completely adjusted state, that is, there is no inadvertent slip between the transport belt 32 of the upstream paper transport means 16 and the paper, and from the hopper. When the paper is cut under the condition that the paper is smoothly pulled out, is not slackened or excessively applied to the paper, and the upstream conveying motor M02 or the feeding motor is not stepped out. This is the theoretical value of the total length, that is, the cutting length. Since the amount of print data given from the host device is limited to a range in which the print length A does not exceed the total length B of the paper to be cut in an appropriate state, the relationship between the two is inevitably A <B.

そして、CPU38は、駆動指令パルスのカウントに用いるカウンタの値を一旦リセットした後(ステップa24)、送り出しモータm(R1)と上流側搬送モータM02および下流側搬送モータM01の正転を継続して(ステップa25)、上流側搬送モータM02に出力する駆動指令パルスのカウントを開始し(ステップa26)、上流側搬送モータM02に出力した駆動指令パルスのカウント値が、用紙カッター17によって用紙2の先端をBの長さに切断するために必要とされる更なる用紙2の送り量B−A+Cに相当する駆動指令パルスの値に達しているか否かを判定する(ステップa27)。   The CPU 38 once resets the value of the counter used for counting the drive command pulses (step a24), and then continues normal rotation of the feed motor m (R1), the upstream side conveyance motor M02, and the downstream side conveyance motor M01. (Step a25), the count of the drive command pulse output to the upstream side conveyance motor M02 is started (Step a26), and the count value of the drive command pulse output to the upstream side conveyance motor M02 is set to the leading edge of the paper 2 by the paper cutter 17 It is determined whether or not the value of the drive command pulse corresponding to the further feed amount B−A + C of the sheet 2 required for cutting the sheet to B length is reached (step a27).

そして、出力済みの駆動指令パルスの値が必要とされる駆動指令パルスの値に達していなければ其のまま送り出しモータm(R1)と上流側搬送モータM02および下流側搬送モータM01の正転を継続させる。   If the output drive command pulse value does not reach the required drive command pulse value, the feed motor m (R1), the upstream transport motor M02, and the downstream transport motor M01 perform normal rotation. Let it continue.

このようにして、上流側搬送モータM02で駆動される上流側用紙搬送手段16と下流側搬送モータM01で駆動される下流側用紙搬送手段20によって用紙2に送りが掛けられる間に、用紙2の先端からBの長さに匹敵する用紙2上の箇所が、図8(c)に示されるようにして印字ヘッド14の下方位置を通過し、更に、用紙カッター17に向けて移動していく。   In this way, while the sheet 2 is being fed by the upstream sheet conveying means 16 driven by the upstream conveying motor M02 and the downstream sheet conveying means 20 driven by the downstream conveying motor M01, A location on the paper 2 that is comparable to the length B from the leading edge passes through the lower position of the print head 14 as shown in FIG. 8C and further moves toward the paper cutter 17.

そして、上流側搬送モータM02に出力した駆動指令パルスのカウント値が送り量B−A+Cに相当する駆動指令パルスの値に達したことがステップa27の判定処理で確認され、用紙2の先端からBの長さに匹敵する用紙2上の箇所が用紙カッター17の直下に到達した筈であることが明らかになると、CPU28は、送り出しモータm(R1)と上流側搬送モータM02の駆動を停止して用紙送り出し手段8と上流側用紙搬送手段16の作動を停止させ(ステップa28)、駆動指令パルスのカウントに用いるカウンタの値をリセットする(ステップa29)。   Then, it is confirmed by the determination process in step a27 that the count value of the drive command pulse output to the upstream side conveyance motor M02 has reached the value of the drive command pulse corresponding to the feed amount B−A + C. When it becomes clear that a place on the paper 2 that is comparable to the length of the paper 2 has just reached the bottom of the paper cutter 17, the CPU 28 stops driving the feed motor m (R1) and the upstream transport motor M02. The operations of the paper feeding means 8 and the upstream paper conveying means 16 are stopped (step a28), and the value of the counter used for counting the drive command pulse is reset (step a29).

次いで、CPU28は、入出力回路45を介してカッター駆動ソレノイドSOLを1回作動させ、用紙カッター17を上から下に下から上へと1往復させて、例えば、図8(d)に示されるような状況下で用紙2の先端部分を切断する(ステップa30)。   Next, the CPU 28 operates the cutter drive solenoid SOL once via the input / output circuit 45 to reciprocate the paper cutter 17 from top to bottom and from bottom to top, for example, as shown in FIG. Under such circumstances, the leading end portion of the sheet 2 is cut (step a30).

ここで、仮に、レシートプリンタ1が完全に調整された状態にあり、上流側用紙搬送手段16の搬送ベルト32と用紙2との間に不用意な滑りがなく、且つ、ホッパ5からの用紙2の引き出しが円滑に行われ、用紙2にも弛みや過剰なテンションが作用せず、上流側搬送モータM02や送り出しモータm(R1)にも脱調が生じていないとすれば、まさしく、図8(d)に示される通りに用紙2は其の先端からBの箇所で切断されることになるが、用紙2のロール部分に変形が生じていてホッパ5の内壁との干渉のために引き出しが円滑に行なえない場合や用紙2に捩れ等が生じてジャミングに近い現象が生じていた場合、あるいは、用紙2の引き出しのために過剰なトルクが必要となる結果として上流側用紙搬送手段16の搬送ベルト32と用紙2との間に滑りが生じた場合、更には、上流側搬送モータM02や送り出しモータm(R1)の駆動自体が困難となって脱調等の現象が生じた場合には、実際に切断された部分の用紙58の長さは基準となる値Bよりも短くなる。
また、これとは逆に、用紙2のロール部分に巻きの甘い箇所があって用紙2の引き出しに要する力が急激に減少したような場合にあっては、実際に切断された部分の用紙58の長さが基準となる値Bよりも長くなることも有りえる。
Here, it is assumed that the receipt printer 1 is completely adjusted, there is no inadvertent slip between the transport belt 32 of the upstream paper transport means 16 and the paper 2, and the paper 2 from the hopper 5 is present. If the paper is smoothly drawn out, no slack or excessive tension is applied to the paper 2 and no out-of-step occurs in the upstream conveying motor M02 or the feeding motor m (R1), FIG. As shown in (d), the sheet 2 is cut from the leading end at a point B, but the roll portion of the sheet 2 is deformed and the drawer is pulled out due to interference with the inner wall of the hopper 5. If the sheet 2 is not smooth, or if the paper 2 is twisted or the like, causing a phenomenon close to jamming, or if excessive torque is required to pull out the paper 2, the conveyance of the upstream paper conveyance means 16 Belt 32 If slippage occurs between the sheet 2 and the upstream conveyance motor M02 or the delivery motor m (R1) itself, it becomes difficult to drive out of the sheet. The length of the paper 58 in the portion thus made becomes shorter than the reference value B.
On the other hand, if the roll portion of the paper 2 has a sweet part and the force required to pull out the paper 2 is drastically reduced, the paper 58 in the actually cut portion is removed. Can be longer than the reference value B.

そして、用紙カッター17で切断された用紙58は、下流側搬送モータM01の正転によって駆動される下流側用紙搬送手段20によって送りを掛けられ、図8(e)に示されるようにして、そのままレシート取出口18に向けて移動していく。   Then, the paper 58 cut by the paper cutter 17 is fed by the downstream paper transport means 20 driven by the forward rotation of the downstream transport motor M01, and as it is as shown in FIG. 8 (e). It moves toward the receipt outlet 18.

次いで、測長手段の主要部として機能するCPU38は、測長手段の一部を構成する用紙検出センサS2から用紙検出信号が入力されているか否か、つまり、下流側用紙搬送手段20によって送りを掛けられて下流側用紙搬送経路19に沿って移動する切断済みの用紙58の先端が用紙検出センサS2の位置にまで到達しているか否かを判定し(ステップa31)、達していなければ其のまま待機する。   Next, the CPU 38 functioning as the main part of the length measuring means determines whether or not a paper detection signal is input from the paper detection sensor S2 constituting a part of the length measuring means, that is, the downstream paper transport means 20 sends the feed. It is determined whether or not the leading end of the cut paper 58 that has been hooked and moved along the downstream paper transport path 19 has reached the position of the paper detection sensor S2 (step a31). Wait for a while.

そして、用紙検出センサS2からの用紙検出信号の入力がステップa31の判定処理で確認され、切断済みの用紙58の先端が用紙検出センサS2の位置に到達したことが明らかになると、測長手段の主要部として機能するCPU38は、経過時間測定タイマを起動し、切断済みの用紙58の先端が用紙検出センサS2によって最初に検知されてからの経過時間の測定を開始する(ステップa32)。   Then, when the input of the paper detection signal from the paper detection sensor S2 is confirmed in the determination process of step a31, and it becomes clear that the leading edge of the cut paper 58 has reached the position of the paper detection sensor S2, the length measuring means The CPU 38 functioning as the main part starts an elapsed time measurement timer, and starts measuring the elapsed time since the leading edge of the cut paper 58 is first detected by the paper detection sensor S2 (step a32).

次いで、測長手段の主要部として機能するCPU38は、用紙検出センサS2からの用紙検出信号の入力が途絶えたか否かを判定するが(ステップa33)、途絶えていなければ其のまま待機して用紙検出センサS2からの用紙検出信号の入力が途絶えるのを待つ。
なお、ここでいう経過時間測定タイマはCPU38のクロック周期を利用してソフトウェア的に実現される手段であり、格別なハードウェアは必要としない。
Next, the CPU 38 functioning as the main part of the length measuring means determines whether or not the input of the paper detection signal from the paper detection sensor S2 has been interrupted (step a33). It waits for the input of the paper detection signal from the detection sensor S2 to be interrupted.
The elapsed time measuring timer here is a means realized by software using the clock cycle of the CPU 38, and does not require any special hardware.

そして、用紙検出センサS2からの用紙検出信号の入力が途絶えたことがステップa33の判定処理で確認され、切断済みの用紙58の後端が用紙検出センサS2の位置を通過したことが明らかになると、測長手段の主要部として機能するCPU38は、経過時間測定タイマの作動を停止させて計時を終了し(ステップa34)、下流側搬送モータM01で駆動される下流側用紙搬送手段20の設計上の用紙送り速度を不揮発性メモリ40から読み込み、経過時間測定タイマで測定された経過時間すなわち下流側用紙搬送経路19上に設置された用紙検出センサS2が切断済みの用紙58を検出し続けた時間と下流側用紙搬送手段20の設計上の用紙送り速度とを乗じて、切断済みの用紙58の実測長Dを求める(ステップa35)。   Then, it is confirmed in step a33 that the input of the paper detection signal from the paper detection sensor S2 has been interrupted, and it becomes clear that the trailing edge of the cut paper 58 has passed the position of the paper detection sensor S2. The CPU 38 functioning as the main part of the length measuring means stops the operation of the elapsed time measuring timer and finishes the time measurement (step a34), and the downstream paper conveying means 20 driven by the downstream conveying motor M01 is designed. , The elapsed time measured by the elapsed time measurement timer, that is, the time during which the paper detection sensor S2 installed on the downstream side paper transport path 19 continues to detect the cut paper 58. The measured length D of the cut paper 58 is determined by multiplying the design paper feed speed of the downstream paper transport means 20 (step a35).

下流側用紙搬送手段20は切断済みの用紙58のみを独立して搬送する構成である。従って、ロールと一体化したままの用紙2の上流側の部分に捩れや滑り,弛み,ホッパとの干渉等の異常が生じていた場合であっても下流側用紙搬送手段20の用紙搬送速度が其の影響を受けることはない。よって、下流側用紙搬送手段20の設計上の用紙送り速度に経過時間測定タイマで測定された経過時間を乗じるといった簡単な処理によって、切断済みの用紙5の全長Dを極めて正確に求めることができる。   The downstream side paper conveyance means 20 is configured to independently convey only the cut paper 58. Therefore, even if abnormalities such as twisting, slipping, loosening, interference with the hopper, etc. occur in the upstream portion of the sheet 2 that is still integrated with the roll, the sheet conveying speed of the downstream sheet conveying means 20 is high. It is not affected by it. Therefore, the total length D of the cut paper 5 can be obtained very accurately by a simple process of multiplying the design paper feed speed of the downstream paper transport means 20 by the elapsed time measured by the elapsed time measurement timer.

次いで、異常予測手段として機能するCPU38は、測長された用紙58の全長Dと基準長記憶手段である不揮発性40に記憶された適性状態で切断される用紙の全長Bに基いて、適性状態で切断される用紙の全長B対する切断済みの用紙58の実測長Dの比率D/Bを求める(ステップa36)。   Next, the CPU 38 functioning as the abnormality predicting means determines the suitability state based on the total length D of the measured paper 58 and the total length B of the paper to be cut in the suitability state stored in the nonvolatile 40 as the reference length storage means. The ratio D / B of the measured length D of the cut paper 58 with respect to the total length B of the paper to be cut is obtained (step a36).

そして、CPU38は、下流側用紙搬送手段20のプーリ33,34と搬送ベルト35を回転駆動する下流側搬送モータM01の正転を停止して下流側用紙搬送手段20による切断済みの用紙58の搬送を止め(ステップa37)、切断済みの用紙58を下流側用紙搬送経路19の最下流部すなわちレシート取出口18に保持させ、レシートプリンタ1の利用者が切断済みの用紙58を受け取れるようにする。   Then, the CPU 38 stops the forward rotation of the pulleys 33 and 34 of the downstream paper transport unit 20 and the downstream transport motor M01 that rotationally drives the transport belt 35 and transports the cut paper 58 by the downstream paper transport unit 20. (Step a37), the cut paper 58 is held in the most downstream portion of the downstream paper transport path 19, that is, the receipt outlet 18, so that the user of the receipt printer 1 can receive the cut paper 58.

次いで、異常予測手段として機能するCPU38は、適性状態で切断される用紙の全長Bに対する実測長Dの比率D/Bが予め決められた許容範囲の下限値ε1と上限値ε2の間にあるか否かを判定する(ステップa38)。   Next, the CPU 38 functioning as an abnormality predicting means determines whether the ratio D / B of the measured length D to the total length B of the paper to be cut in an appropriate state is between a predetermined lower limit value ε1 and an upper limit value ε2. It is determined whether or not (step a38).

ステップa38の判定結果が真となり、比率D/Bが許容範囲であるε1〜ε2の間にあることが明らかとなった場合には、異常予測手段として機能するCPU38は、選択順位特定指標jの値に対応したホッパ番号R1を有するホッパ内でのロール状の用紙の回転および当該ホッパと上流側用紙搬送経路15を接続する接続路内での用紙の搬送ならびに上流側用紙搬送経路15内での用紙の搬送が共に適切な状態で行なわれているものと見做し、切断された用紙58の全長Dに長さの異常が発生していることを記憶する異常記憶フラグFの値をリセットし(ステップa39)、比率D/Bの値が連続的に許容範囲を外れた回数を計数する連続逸脱回数カウンタiの値を0に初期化する(ステップa40)。   When the determination result of step a38 is true and it is clear that the ratio D / B is between the allowable ranges ε1 and ε2, the CPU 38 functioning as the abnormality predicting means determines the selection order specifying index j. The rotation of the roll-shaped paper in the hopper having the hopper number R1 corresponding to the value, the transport of the paper in the connection path connecting the hopper and the upstream paper transport path 15, and the upstream paper transport path 15 Assume that both sheets are transported in an appropriate state, and reset the value of the abnormality storage flag F that stores the fact that a length abnormality has occurred in the entire length D of the cut sheet 58. (Step a39), the value of the continuous deviation number counter i that counts the number of times the value of the ratio D / B is continuously out of the allowable range is initialized to 0 (Step a40).

次いで、CPU38は、入出力回路45を介してクラッチCRをオフ状態とすることで上流側搬送モータM02と上流側用紙搬送手段16のプーリ30,30との接続を解除し(ステップa49)、選択ホッパ記憶レジスタR1の現在値に基いて巻き戻しモータM(R1)を設定時間だけ回転させてから停止させることにより、使用中の用紙つまりホッパ番号R1を有するホッパから引き出されている用紙の先端を先端検出センサS1よりも僅かに上流側に巻き戻す(ステップa50)。   Next, the CPU 38 releases the connection between the upstream conveyance motor M02 and the pulleys 30 and 30 of the upstream sheet conveyance means 16 by turning off the clutch CR via the input / output circuit 45 (step a49). By rotating the rewinding motor M (R1) for a set time based on the current value of the hopper storage register R1, and then stopping it, the leading edge of the paper being used, that is, the paper drawn from the hopper having the hopper number R1 is removed. Rewind slightly upstream from the tip detection sensor S1 (step a50).

ついで、CPU38は、ステップa10の処理に復帰し、前記と同様にしてステップa10以降の処理操作を繰り返し実行することにより、ホストコンピュータやATM本体等の上位装置から新たな印字指令や印字データが入力されるのを待ち受け、前記と同様にして用紙2の先端に印字処理を施して切断し、切断済みの用紙58をレシート取出口18に排出するといったレシート発行動作を繰り返す。
但し、この場合は電源投入直後の処理とは相違し、使用中の用紙の先端は先端検出センサS1よりも僅かに上流側に巻き戻されているに過ぎないので、用紙の先端を印字ヘッド14の直下に位置決めするために必要とされる所要時間(ステップa11の処理が行なわれてからステップa12の判定結果が真となるまでの所要時間)は非常に短い。
Next, the CPU 38 returns to the processing of step a10 and repeats the processing operations after step a10 in the same manner as described above, whereby a new print command or print data is input from the host computer or the host device such as the ATM main body. In the same manner as described above, the receipt issue operation is repeated in which the leading end of the sheet 2 is cut by cutting, and the cut sheet 58 is discharged to the receipt outlet 18.
However, in this case, unlike the processing immediately after the power is turned on, the leading edge of the sheet in use is merely rewound upstream of the leading edge detection sensor S1, so that the leading edge of the sheet is moved to the print head 14. The time required for positioning immediately below (the time required from when the processing at step a11 is performed until the determination result at step a12 becomes true) is very short.

同一の用紙を往復動作させてレシートの発行を繰り返す場合の用紙の動きの概要を図8(f)に示す。   FIG. 8 (f) shows an outline of the movement of the sheet when the same sheet is reciprocated to repeatedly issue a receipt.

これに対し、ステップa38の判定結果が偽となった場合、つまり、適性状態で切断される用紙の全長Bに対する用紙58の実測長Dの比率D/Bが予め決められた許容範囲ε1〜ε2から外れていることが明らかとなった場合には、異常予測手段として機能するCPU38は、更に、適性状態で切断される用紙の全長Bに対する用紙58の実測長Dの比率D/Bが予め決められた許容範囲の下限値ε1に満たないか或いは上限値ε2を超えているかを判定する(ステップa41)。   On the other hand, if the determination result in step a38 is false, that is, the ratio D / B of the measured length D of the paper 58 to the total length B of the paper to be cut in the appropriate state is a predetermined allowable range ε1 to ε2. If it becomes clear that the deviation is not within the range, the CPU 38 functioning as an abnormality predicting unit further determines in advance the ratio D / B of the measured length D of the paper 58 to the total length B of the paper to be cut in an appropriate state. It is determined whether the lower limit value ε1 of the given allowable range is not reached or the upper limit value ε2 is exceeded (step a41).

ここで、ステップa41の判定結果が真となった場合つまり適性状態で切断される用紙の全長Bに対する用紙58の実測長Dの比率D/Bが予め決められた許容範囲ε1に満たないことが明らかとなった場合には、異常予測手段として機能するCPU38は、異常記憶フラグFに値1が既にセットされているか否か、つまり、前回のレシート発行動作の時点で既にD/B<ε1となっていたか否かを判定する(ステップa42)。   Here, when the determination result in step a41 is true, that is, the ratio D / B of the actual measured length D of the paper 58 to the total length B of the paper to be cut in an appropriate state is not less than the predetermined allowable range ε1. When it becomes clear, the CPU 38 functioning as the abnormality predicting means determines whether or not the value 1 is already set in the abnormality storage flag F, that is, D / B <ε1 already at the time of the previous receipt issuing operation. It is determined whether or not (step a42).

異常記憶フラグFに値1がセットされていなければ、前回のレシート発行動作の時点ではD/B<ε1とはなっておらず、今回のレシート発行動作に際して新たにD/B<ε1となる状況が発生したことを意味するので、異常予測手段として機能するCPU38は、異常記憶フラグFに改めて値1をセットすることによってD/B<ε1となる状況が発生したことを記憶し(ステップa43)、比率D/Bの値が連続的にε1を下回った回数を計数する連続逸脱回数カウンタiに初期値1をセットする(ステップa44)。
この実施形態にあっては、D/B<ε1となる状況が1回発生しただけでは、搬送不良の発生する可能性があるものとは予測しない。
If the value 1 is not set in the abnormal storage flag F, D / B <ε1 is not satisfied at the time of the previous receipt issuing operation, and D / B <ε1 is newly established in the current receipt issuing operation. Therefore, the CPU 38 functioning as an abnormality predicting means stores the fact that a situation of D / B <ε1 has occurred by setting a value 1 to the abnormality storage flag F again (step a43). The initial value 1 is set in a continuous deviation number counter i that counts the number of times that the value of the ratio D / B is continuously below ε1 (step a44).
In this embodiment, it is not predicted that there is a possibility that a conveyance failure may occur if the situation where D / B <ε1 occurs only once.

従って、この場合は、前記と同様、CPU38は、クラッチCRをオフ状態とすることで上流側搬送モータM02と上流側用紙搬送手段16のプーリ30,30との接続を解除し(ステップa49)、選択ホッパ記憶レジスタR1の現在値に基いて巻き戻しモータM(R1)を設定時間だけ回転させてから停止させることにより、使用中の用紙つまりホッパ番号R1を有するホッパから引き出されている用紙の先端を先端検出センサS1よりも僅かに上流側に巻き戻し(ステップa50)、改めてステップa10の処理に復帰し、前記と同様にしてステップa10以降の処理操作を繰り返し実行することにより、ホストコンピュータやATM本体等の上位装置から新たな印字指令や印字データが入力されるのを待ち受け、前記と同様にして用紙2の先端に印字処理を施して切断し、切断済みの用紙58をレシート取出口18に排出するといったレシート発行動作を繰り返す。   Therefore, in this case, as described above, the CPU 38 releases the connection between the upstream conveyance motor M02 and the pulleys 30 and 30 of the upstream sheet conveyance means 16 by turning off the clutch CR (step a49). By rotating the rewind motor M (R1) for a set time based on the current value of the selected hopper storage register R1, and then stopping it, the leading edge of the paper being used, that is, the paper drawn from the hopper having the hopper number R1 Is slightly rewound upstream of the leading edge detection sensor S1 (step a50), and the process returns to step a10 again, and the processing operations after step a10 are repeatedly executed in the same manner as described above, so that the host computer or ATM Wait for a new print command or print data to be input from a higher-level device such as the main unit. 2 of tip and cut by performing a printing process, repeated receipt issuing operation such discharges a receipt outlet 18 and the pre-cut sheet 58.

また、ステップa42の判定結果が真となり、異常記憶フラグFに値1が既にセットされていた場合には、前回のレシート発行動作の時点で既にD/B<ε1となっていたことが明らかであるから、異常予測手段として機能するCPU38は、比率D/Bの値が連続的にε1を下回った回数を計数する連続逸脱回数カウンタiの値を1インクリメントした後(ステップa45)、該連続逸脱回数カウンタiの現在値が、用紙の搬送を許容する連続逸脱回数の許容値nの値を超えているか否かを判定する(ステップa48)。   If the determination result in step a42 is true and the value 1 is already set in the abnormal storage flag F, it is clear that D / B <ε1 has already been established at the time of the previous receipt issuing operation. Therefore, the CPU 38 functioning as the abnormality prediction means increments the value of the continuous deviation counter i that counts the number of times that the value of the ratio D / B is continuously less than ε1 by 1 (step a45), and then the continuous deviation. It is determined whether or not the current value of the number counter i exceeds the allowable value n of the number of consecutive deviations that allow the conveyance of the sheet (step a48).

そして、連続逸脱回数カウンタiの現在値が許容値nの値を超えていなければ、前記と同様、用紙を交換せずにレシートプリンタ1を作動させ続けても支障はないものと見做し、CPU38は、クラッチCRをオフ状態とすることで上流側搬送モータM02と上流側用紙搬送手段16のプーリ30,30との接続を解除し(ステップa49)、選択ホッパ記憶レジスタR1の現在値に基いて巻き戻しモータM(R1)を設定時間だけ回転させてから停止させることにより、使用中の用紙つまりホッパ番号R1を有するホッパから引き出されている用紙の先端を先端検出センサS1よりも僅かに上流側に巻き戻し(ステップa50)、改めてステップa10の処理に復帰してから、前記と同様にしてステップa10以降の処理操作を繰り返し実行することにより、ホストコンピュータやATM本体等の上位装置から新たな印字指令や印字データが入力されるのを待ち受け、前記と同様にして用紙2の先端に印字処理を施して切断し、切断済みの用紙58をレシート取出口18に排出するといったレシート発行動作を繰り返す。   If the current value of the continuous deviation counter i does not exceed the allowable value n, it is assumed that there is no problem even if the receipt printer 1 is continuously operated without replacing the paper, as described above. The CPU 38 releases the connection between the upstream transport motor M02 and the pulleys 30 and 30 of the upstream paper transport means 16 by turning off the clutch CR (step a49), and based on the current value of the selected hopper storage register R1. Then, by rotating the rewind motor M (R1) for a set time and then stopping it, the leading edge of the paper being used, that is, the paper drawn from the hopper having the hopper number R1, is slightly upstream from the leading edge detection sensor S1. After rewinding to the side (step a50) and returning to the processing of step a10 again, the processing operations after step a10 are repeated in the same manner as described above. As a result, it waits for a new print command or print data to be input from a host computer or an upper-level device such as an ATM main body, and in the same way as described above, the front end of the paper 2 is subjected to print processing and cut. Receipt issuing operations such as discharging the paper 58 to the receipt outlet 18 are repeated.

また、ステップa41の判定結果が偽となった場合、つまり、適性状態で切断される用紙の全長Bに対する用紙58の実測長Dの比率D/Bが予め決められた許容範囲ε2を超えていることが明らかとなった場合には、異常予測手段として機能するCPU38は、異常記憶フラグFに値2が既にセットされているか否か、つまり、前回のレシート発行動作の時点で既にD/B>ε2となっていたか否かを判定し(ステップa46)、異常記憶フラグFに値2がセットされていなければ、異常記憶フラグFに改めて値2をセットすることによってD/B>ε2となる状況が新たに発生したことを記憶し(ステップa47)、連続逸脱回数カウンタiに初期値1をセットして(ステップa44)、前記と同様にしてステップa49,ステップa50の処理を実行した後、ステップa10以降の処理操作を繰り返し実行することにより、ホストコンピュータやATM本体等の上位装置から新たな印字指令や印字データが入力されるのを待ち受け、前記と同様にして用紙2の先端に印字処理を施して切断し、切断済みの用紙58をレシート取出口18に排出するといったレシート発行動作を繰り返す。また、異常記憶フラグFに値2が既にセットされていた場合には、比率D/Bの値が連続的にε2を上回った回数を計数する連続逸脱回数カウンタiの値を1インクリメントした後(ステップa45)、連続逸脱回数カウンタiの現在値が許容値nの値を超えているか否かを判定し(ステップa48)、連続逸脱回数カウンタiの現在値が許容値nの値を超えていなければ、前記と同様にステップa49,ステップa50の処理を実行した後、前記と同様にしてステップa10以降の処理操作を繰り返し実行することにより、ホストコンピュータやATM本体等の上位装置から新たな印字指令や印字データが入力されるのを待ち受け、前記と同様にして用紙2の先端に印字処理を施して切断し、切断済みの用紙58をレシート取出口18に排出するといったレシート発行動作を繰り返す。   If the determination result in step a41 is false, that is, the ratio D / B of the measured length D of the paper 58 to the total length B of the paper to be cut in the appropriate state exceeds a predetermined allowable range ε2. If it becomes clear, the CPU 38 functioning as an abnormality predicting means determines whether or not the value 2 is already set in the abnormality storage flag F, that is, already D / B> at the time of the previous receipt issuing operation. It is determined whether or not ε2 is satisfied (step a46). If the value 2 is not set in the abnormal memory flag F, the value 2 is set in the abnormal memory flag F so that D / B> ε2. Is newly generated (step a47), the initial value 1 is set to the continuous deviation counter i (step a44), and steps a49 and a50 are performed in the same manner as described above. After executing the processing, the processing operation after step a10 is repeatedly executed to wait for a new print command or print data to be input from a host device such as a host computer or ATM main body. The receipt issuing operation is repeated in which the leading end of the sheet 2 is cut by performing printing processing, and the cut paper 58 is discharged to the receipt outlet 18. If the value 2 is already set in the abnormal memory flag F, the value of the continuous deviation counter i that counts the number of times the value of the ratio D / B continuously exceeds ε2 is incremented by 1 ( In step a45), it is determined whether or not the current value of the continuous deviation number counter i exceeds the allowable value n (step a48), and the current value of the continuous deviation number counter i must exceed the allowable value n. For example, after the processing of step a49 and step a50 is executed in the same manner as described above, the processing operation after step a10 is repeatedly executed in the same manner as described above, so that a new print command is issued from the host computer or the host device such as the ATM body. In the same manner as described above, the leading edge of the paper 2 is cut and cut, and the cut paper 58 is discharged to the receipt outlet 18. Repeating the receipt issuing operations, such as to.

これに対し、ステップa48の判定結果が偽となった場合、つまり、適性状態で切断される用紙の全長Bに対する用紙58の実測長Dの比率D/Bの値が連続的にε1を下回った回数i、もしくは、全長Bに対する実測長Dの比率D/Bの値が連続的にε2を上回った回数iが許容値nを超えてしまった場合には、異常予測手段として機能するCPU38は、このままの状態でレシートプリンタ1の作動を継続すると深刻な搬送不良の発生する可能性があるものと予測して、用紙再選択手段を作動させる。   On the other hand, when the determination result in step a48 is false, that is, the value of the ratio D / B of the measured length D of the paper 58 to the total length B of the paper to be cut in the appropriate state continuously falls below ε1. When the number of times i or the number of times i that the ratio D / B of the measured length D to the total length B continuously exceeds ε2 exceeds the allowable value n, the CPU 38 functioning as an abnormality predicting means If the operation of the receipt printer 1 is continued in this state, it is predicted that a serious conveyance failure may occur, and the paper reselecting means is operated.

ここで、比率D/Bの値がε1に満たないのは用紙58が相当に短くなっている場合であって、その異常原因としては、前述したように用紙のロール部分の変形によるホッパの内壁との干渉,上流側用紙搬送経路15内における用紙の捩れ等による引き出し抵抗の増大,上流側用紙搬送手段16の搬送ベルト32と用紙との間に生じる滑り,上流側搬送モータM02や送り出しモータm(R1)の脱調等が考えられ、また、比率D/Bの値がε2を超える場合の異常つまり用紙58が相対的に長くなる場合の異常原因としては、用紙のロール部分に巻きの甘い箇所があって用紙の引き出しが過剰となること等が考えられる。
このうち、特に、用紙のロール部分の変形や巻きの甘さ等を初めとするロール紙に固有の不都合、および、上流側用紙搬送経路15内における用紙の捩れ等に起因する異常は、使用中の用紙を巻き戻せるうちに巻き戻して他のホッパに格納された別の用紙を使用することで容易にジャミングの発生を防止することが可能である。
Here, the value of the ratio D / B is less than ε1 when the paper 58 is considerably shortened, and the cause of the abnormality is the inner wall of the hopper due to deformation of the roll portion of the paper as described above. Interference with the paper, an increase in drawing resistance due to twisting of paper in the upstream paper transport path 15, slippage between the transport belt 32 of the upstream paper transport means 16 and the paper, upstream transport motor M02 and feed motor m (R1) step-out or the like may be considered, and an abnormality when the value of the ratio D / B exceeds ε2, that is, an abnormality when the paper 58 becomes relatively long, is that the roll portion of the paper is loosely wound. It is conceivable that there are places and the paper is pulled out excessively.
Among these, inconveniences inherent to roll paper such as deformation of the roll portion of the paper, sweetness of winding, etc., and abnormalities caused by twisting of the paper in the upstream paper transport path 15 are in use. It is possible to easily prevent jamming by rewinding and using another paper stored in another hopper while the paper can be rewound.

そこで、ステップa48の判定結果が偽となり、異常予測手段によって搬送不良の発生が予測された場合、用紙再選択手段として機能するCPU38は、まず、クラッチCRをオフ状態とすることで上流側搬送モータM02と上流側用紙搬送手段16のプーリ30,30との接続を解除し(ステップa51)、選択ホッパ記憶レジスタR1の現在値に基いて巻き戻しモータM(R1)を回転させ、ホッパ番号R1を有するホッパの用紙巻き戻し手段を駆動し、使用中の用紙つまりホッパ番号R1を有するホッパから引き出されている用紙の巻き戻しを開始し(ステップa52)、ホッパ番号R1を有するホッパの用紙確認センサSR(R1)からの用紙確認信号が途絶えているか否かを判定する(ステップa53)。   Therefore, when the determination result in step a48 is false and the occurrence of a conveyance failure is predicted by the abnormality prediction unit, the CPU 38 functioning as the sheet reselecting unit first turns off the clutch CR to turn the upstream conveyance motor. The connection between M02 and the pulleys 30 and 30 of the upstream sheet conveying means 16 is released (step a51), the rewinding motor M (R1) is rotated based on the current value of the selected hopper storage register R1, and the hopper number R1 is set. The paper rewinding means of the hopper having the hopper is driven to start rewinding the paper being used, that is, the paper drawn from the hopper having the hopper number R1 (step a52), and the paper confirmation sensor SR of the hopper having the hopper number R1 It is determined whether or not the paper confirmation signal from (R1) is interrupted (step a53).

用紙確認センサSR(R1)からの用紙確認信号が途絶えていなければ、使用中の用紙つまりホッパ番号R1を有するホッパから引き出されている用紙の先端が用紙確認センサSR(R1)よりも下流側つまり上流側用紙搬送経路15内もしくは接続路内に位置することを意味するので、用紙再選択手段として機能するCPU38は其のまま巻き戻しモータM(R1)の回転を継続する。   If the paper confirmation signal from the paper confirmation sensor SR (R1) is not interrupted, the leading edge of the paper being used, that is, the paper drawn out from the hopper having the hopper number R1, is downstream of the paper confirmation sensor SR (R1). This means that it is located in the upstream side paper conveyance path 15 or in the connection path, so that the CPU 38 functioning as the paper reselecting means continues the rotation of the rewinding motor M (R1).

そして、ステップa53の判定結果が真となり、ホッパ番号R1を有するホッパから引き出されている用紙の先端が用紙確認センサSR(R1)よりも上流側つまりホッパ内に巻き戻されたことが確認されると、用紙再選択手段として機能するCPU38は、巻き戻しモータM(R1)の回転すなわちホッパ番号R1を有するホッパに対応した用紙巻き戻し手段の作動を終了させ(ステップa54)、不揮発性メモリ40にアクセスして、選択順序記憶テーブル57におけるフラグF(R1)つまりホッパ番号R1を有するホッパに対応した使用可能状態記憶フラグをリセットし、このホッパの用紙が使用できなくなったことを記憶する(ステップa55)。
従って、仮に、現時点でj=1,R1=1であって、図7の例に倣ってホッパ5の用紙2が使用されていたとすれば、巻き戻しモータM(1)で駆動されるホッパ5の用紙巻き戻し手段11が作動して使用中の用紙2がホッパ5に回収され、用紙確認センサSR(1)がオフとなり、図7に示される選択順序記憶テーブル57におけるフラグF(1)つまりホッパ番号1を有するホッパ5の使用可能状態記憶フラグF1がリセットされることになる。
Then, it is confirmed that the determination result in step a53 is true, and that the leading edge of the sheet pulled out from the hopper having the hopper number R1 is rewound upstream from the sheet confirmation sensor SR (R1), that is, in the hopper. Then, the CPU 38 functioning as the paper reselecting means terminates the operation of the paper rewinding means corresponding to the rotation of the rewinding motor M (R1), that is, the hopper having the hopper number R1 (step a54). Access is performed to reset the flag F (R1) in the selection order storage table 57, that is, the available state storage flag corresponding to the hopper having the hopper number R1, and store that the sheet of the hopper can no longer be used (step a55). ).
Accordingly, if j = 1 and R1 = 1 at the present time and the sheet 2 of the hopper 5 is used according to the example of FIG. 7, the hopper 5 driven by the rewinding motor M (1). The sheet rewinding means 11 is activated and the sheet 2 in use is collected by the hopper 5, the sheet confirmation sensor SR (1) is turned off, and the flag F (1) in the selection order storage table 57 shown in FIG. The usable state storage flag F1 of the hopper 5 having the hopper number 1 is reset.

次いで、用紙再選択手段として機能するCPU38は、選択順位特定指標jの値を1インクリメントし(ステップa56)、指標jの現在値がホッパの総数k(本実施形態にあってはk=3)の範囲内にあるか否かを判定する(ステップa57)。   Next, the CPU 38 functioning as a sheet reselecting unit increments the value of the selection order specifying index j by 1 (step a56), and the current value of the index j is the total number k of hoppers (k = 3 in this embodiment). It is determined whether it is within the range (step a57).

ここで、指標jの現在値がホッパの総数kの範囲内にあれば、用紙の取り出し先として選択可能な別のホッパが存在することを意味するので、用紙再選択手段として機能するCPU38は、更新された選択順位特定指標jの現在値に対応するホッパ番号を選択ホッパ記憶レジスタR1に改めて記憶させ(ステップa58)、ステップa10の処理に復帰して、電源投入直後の際の処理と同様に、クラッチCRをオン状態とすることで上流側搬送モータM02を上流側用紙搬送手段16のプーリ30,30に接続した後、選択ホッパ記憶レジスタR1の現在値に基いて用紙送り出し手段の送り出しモータm(R1)と上流側搬送モータM02の正転を開始させる(ステップa11)。
従って、仮に、現時点でj=2,R1=2であって、図7の例に倣ってホッパ6の用紙3が改めて選択されたとすれば、送り出しモータm2の正転によってホッパ番号が2であるホッパ6に設けられた用紙送り出し手段9の搬送ローラ25が図1中の反時計方向に回転駆動され、同時に、上流側搬送モータM02の正転によって上流側用紙搬送手段16を構成するプーリ30,31と搬送ベルト32が図1中の反時計方向に回転駆動されて、ホッパ6の用紙3の先端が接続路22を経て上流側用紙搬送経路15に送り出され、ステップa12の判定処理において用紙3の先端が先端検出センサS1によって検出されることになる。
但し、この場合は、用紙確認センサSR(R1)よりも僅かに下流側にある用紙の先端を印字ヘッド14の位置まで搬送する必要があるので、用紙の先端を位置決めするために必要とされる所要時間(ステップa11の処理が行なわれてからステップa12の判定結果が真となるまでの所要時間)は、電源投入直後の処理と同等である。
Here, if the current value of the index j is within the range of the total number of hoppers k, it means that there is another hopper that can be selected as a paper take-out destination. The hopper number corresponding to the updated current value of the selection order specifying index j is stored again in the selected hopper storage register R1 (step a58), the processing returns to step a10, and is the same as the processing immediately after the power is turned on. Then, the clutch CR is turned on to connect the upstream transport motor M02 to the pulleys 30 and 30 of the upstream paper transport means 16, and then the feed motor m of the paper feed means based on the current value of the selected hopper storage register R1. (R1) and normal rotation of the upstream side conveyance motor M02 are started (step a11).
Accordingly, if j = 2 and R1 = 2 at the present time and the sheet 3 of the hopper 6 is selected again according to the example of FIG. 7, the hopper number is 2 by the forward rotation of the feed motor m2. A pulley 30 constituting the upstream sheet conveying means 16 is driven by the conveyance roller 25 of the sheet feeding means 9 provided in the hopper 6 being rotated counterclockwise in FIG. 1 and the conveying belt 32 are rotated in the counterclockwise direction in FIG. 1, and the leading edge of the sheet 3 of the hopper 6 is sent out to the upstream sheet conveying path 15 via the connection path 22, and the sheet 3 is determined in the determination process of step a12. Is detected by the tip detection sensor S1.
However, in this case, since it is necessary to transport the leading end of the sheet slightly downstream of the sheet check sensor SR (R1) to the position of the print head 14, it is necessary for positioning the leading end of the sheet. The required time (the required time from when the processing at step a11 is performed until the determination result at step a12 becomes true) is equivalent to the processing immediately after the power is turned on.

使用中の用紙を回収してから新たに別のホッパの用紙を選択してレシートの発行を継続する場合の用紙の動きの概要を図8(g)に示す。   FIG. 8G shows an outline of the movement of the paper in the case where the used paper is collected and another hopper paper is selected and the receipt issuance is continued.

このように、用紙の搬送不良の発生を異常予測手段として機能するCPU38により未然に予測し、搬送不良が発生する可能性がある場合には、実質的な搬送不良が発生する前の段階、つまり、使用中の用紙を巻き戻せるうちに巻き戻して、他のホッパに格納された別の用紙を自動的に供給することで、ジャミングの発生を未然に防止してレシート発行の処理動作を継続することが可能となり、上位装置であるATM等の機能が不用意に停止するといった不都合が改善され、また、レシートプリンタ1を継続して稼動させるためにオペレータが頻繁にレシートプリンタ1の動作状況をチェックするといった煩わしさもなくなる。   As described above, when the CPU 38 that functions as an abnormality predicting unit predicts the occurrence of the conveyance failure of the sheet and there is a possibility that the conveyance failure may occur, the stage before the occurrence of the substantial conveyance failure, that is, By rewinding the paper in use while it can be rewound and automatically supplying another paper stored in another hopper, jamming can be prevented and the receipt issue processing operation can be continued. Inconveniences such as inadvertently stopping the functions of the host device such as ATM are improved, and the operator frequently checks the operating status of the receipt printer 1 in order to keep the receipt printer 1 operating continuously. No need to bother.

また、搬送不良が発生した状態で各部のモータや駆動機構、たとえば、上流側搬送モータM02や上流側用紙搬送手段16および巻き戻しモータM1,M2,M3や用紙巻き戻し手段11,12,13等に過剰な負荷が作用することもなくなるので、レシートプリンタ1の機械的なダメージも未然に防止され得る。   Further, in the state where the conveyance failure has occurred, the motors and drive mechanisms of each part, for example, the upstream conveyance motor M02, the upstream sheet conveyance means 16, the rewinding motors M1, M2, M3, the sheet rewinding means 11, 12, 13 and the like Therefore, the mechanical damage to the receipt printer 1 can be prevented.

なお、ステップa57の判定結果が偽となった場合、つまり、k個のホッパに貯溜されている用紙の全てが利用済みとなった場合にあっては、新たに別のホッパの用紙を選択してレシートの発行処理を継続することはできないので、CPU38は、入出力回路45を介してアラームランプ44を点灯もしくは点滅させてレシートの発行が不能となったことをオペレータに知らせ、全ての処理を停止する(ステップa59)。   If the determination result in step a57 is false, that is, if all the sheets stored in the k hoppers have been used, a new sheet for another hopper is selected. Since the receipt issuing process cannot be continued, the CPU 38 turns on or blinks the alarm lamp 44 via the input / output circuit 45 to inform the operator that the receipt cannot be issued and perform all the processes. Stop (step a59).

この実施形態にあってはホッパ5,6,7といったk=3個のホッパがあるので、異常予測手段によって搬送不良の発生が2回予測されてもオペレータの手を煩わすことなくレシートの発行を継続することが可能である。   In this embodiment, there are k = 3 hoppers such as hoppers 5, 6, and 7. Therefore, even if the occurrence of a conveyance failure is predicted twice by the abnormality prediction means, the receipt can be issued without bothering the operator. It is possible to continue.

コスト等の問題を別にすれば、ホッパ,用紙送り出し手段,用紙巻き戻し手段に個数の制限はなく、幾つでも設けることが可能であり、仮にk個のホッパを設けた場合では、異常予測手段によって搬送不良の発生がk−1回予測されてもオペレータの手を煩わすことなくレシートの発行を継続することが可能となる。   Apart from cost and other problems, there is no limit to the number of hoppers, paper feeding means, and paper rewinding means. Any number of hoppers, paper feeding means, and paper rewinding means can be provided. Even if the occurrence of a conveyance failure is predicted k-1 times, it is possible to continue issuing a receipt without bothering the operator.

ここでは一例として下流側用紙搬送経路19上に設置された用紙検出センサS2が下流側用紙搬送経路19上を移動する切断済みの用紙58を検出し続ける時間と下流側用紙搬送手段20の用紙送り速度に基いて切断済みの用紙58の全長Dを求める例について述べたが(ステップa31〜ステップa35参照)、下流側用紙搬送経路19上に設置された用紙検出センサS2が下流側用紙搬送経路19上を移動する切断済みの用紙58を検出し続ける間に下流側用紙搬送手段20の回転部に設けられたパルスコーダから出力されるパルスの数に基いて切断済みの用紙58の全長Dを求めるようにしてもよい。
その場合、パルスコーダは、例えば、プーリ33やプーリ34と一体に回転する回転軸もしくは下流側搬送モータM01のモータシャフトに取り付けることが可能である。
プーリ33,プーリ34,下流側搬送モータM01の回転量は下流側用紙搬送手段20の送り量と一対一に対応するので、パルスコーダから出力されるパルス1つ分に相当する下流側用紙搬送手段20の送り量を予め不揮発性メモリ40に記憶しておき、用紙検出センサS2から用紙検出信号が入力されている間だけパルスコーダの出力パルスの数をCPU38で計数し、この計数値にパルス1つ分に相当する送り量を乗じれば、切断済みの用紙58の全長Dを容易に求めることができる。
下流側用紙搬送手段20は切断済みの用紙58のみを独立的に搬送する構成であり、ロールと一体化したままの用紙の上流側の部分にホッパの内壁との干渉あるいは捩れや滑り等の異常が生じていた場合であっても下流側用紙搬送手段20の搬送ベルト35によって切断済みの用紙58を滑りなく搬送することができるので、用紙検出センサS2が切断済みの用紙58を検出する間だけパルスコーダの出力パルスの数を計数し、この計数値にパルス1つ分に相当する送り量を乗じるといった簡単な処理で切断済みの用紙58の全長Dを的確に求めることができる。
Here, as an example, the time during which the paper detection sensor S2 installed on the downstream paper transport path 19 continues to detect the cut paper 58 moving on the downstream paper transport path 19 and the paper feed speed of the downstream paper transport means 20 The example of obtaining the total length D of the cut paper 58 based on the above has been described (see step a31 to step a35), but the paper detection sensor S2 installed on the downstream paper transport path 19 is on the downstream paper transport path 19 The total length D of the cut paper 58 is obtained based on the number of pulses output from the pulse coder provided in the rotating section of the downstream paper transport means 20 while the cut paper 58 that moves is continuously detected. May be.
In that case, the pulse coder can be attached to, for example, a rotation shaft that rotates integrally with the pulley 33 or the pulley 34 or a motor shaft of the downstream side conveyance motor M01.
Since the rotation amounts of the pulley 33, the pulley 34, and the downstream transport motor M01 correspond one-to-one with the feed amount of the downstream paper transport unit 20, the downstream paper transport unit 20 corresponding to one pulse output from the pulse coder. Is stored in advance in the non-volatile memory 40, and the number of pulse coder output pulses is counted by the CPU 38 only while a paper detection signal is input from the paper detection sensor S2, and one pulse is added to this count value. If the feed amount corresponding to is multiplied, the total length D of the cut paper 58 can be easily obtained.
The downstream-side paper conveying means 20 is configured to independently convey only the cut paper 58, and the upstream side of the paper that remains integrated with the roll interferes with the inner wall of the hopper, or is abnormal such as twisting or slipping. Even if this occurs, the cut paper 58 can be transported without slippage by the transport belt 35 of the downstream paper transport means 20, so only while the paper detection sensor S2 detects the cut paper 58. By counting the number of output pulses of the pulse coder and multiplying the counted value by a feed amount corresponding to one pulse, the total length D of the cut paper 58 can be accurately obtained.

更には、印字ヘッド14の駆動が開始されてから用紙カッター17が作動するまでの間、つまり、図8(a)に示される位置から図8(d)に示される位置まで用紙が送られる間に亘って上流側用紙搬送手段16の送り速度の平均値Vaを求める平均値算出手段を設けると共に、適性状態で検出される上流側用紙搬送手段16の送り速度の平均値V0を平均値記憶手段として機能する不揮発性メモリ40に記憶させておき、平均値算出手段によって実際に求められた平均値Vaと不揮発性メモリ40に記憶された平均値V0を比較して搬送不良の発生の有無を予測するようにしてもよい。
平均値算出手段は、例えば、上流側用紙搬送手段16の回転部であるプーリ30,31等に接続したパルスコーダからの出力をF/V(Frequency to Voltage)変換するF/V変換器と、F/V変換器から出力される電圧すなわち送り速度を所定周期毎にサンプリングして平均化するCPU38によって構成することができる。
この場合、異常予測手段として機能するCPU38は、比率Va/V0の値と判定基準である許容範囲の下限値ε1’と上限値ε2’とを比較し、比率Va/V0が連続的にε1’を下回った回数もしくは比率Va/V0が連続的にε2’を上回った回数が連続逸脱回数の許容値nを超えた場合に搬送不良の発生を予測することになるが、全体的な処理の流れは図3〜図6に示したものと同様である。
この場合も、最初に述べた実施形態の場合と同様、比率Va/V0の値がε1’に満たないのは搬送速度の低下によって用紙58が短くなっている場合であり、その異常原因としては、用紙のロール部分の変形によるホッパの内壁との干渉,上流側用紙搬送経路15内における用紙の捩れ等による引き出し抵抗の増大,上流側搬送モータM02や送り出しモータm(R1)の脱調等が考えられる。但し、上流側用紙搬送手段16の搬送ベルト32と用紙との間に滑りが生じた場合であっても上流側用紙搬送手段16の回転部であるプーリ30,31等に接続したパルスコーダからは適正なパルスが出力され、上流側用紙搬送手段16の送り速度自体には異常がないと判定される場合があるので、上流側用紙搬送手段16の搬送ベルト32と用紙との間の滑りによる異常は必ずしも的確に検出されるとは限らない。また、比率Va/V0の値がε2’を超えるのは搬送速度の増大によって用紙58が相対的に長くなる場合であり、その異常原因としては、用紙のロール部分に巻きの甘い箇所があって用紙の引き出しが過剰となること等が考えられる。
Furthermore, from when the drive of the print head 14 is started until the paper cutter 17 is actuated, that is, while the paper is fed from the position shown in FIG. 8A to the position shown in FIG. 8D. In addition, an average value calculating means for obtaining an average value Va of the feeding speed of the upstream sheet conveying means 16 is provided, and an average value storage means for the average value V0 of the feeding speed of the upstream sheet conveying means 16 detected in the appropriate state is provided. The average value Va actually obtained by the average value calculating means is compared with the average value V0 stored in the non-volatile memory 40 to predict the occurrence of conveyance failure. You may make it do.
The average value calculation means includes, for example, an F / V converter that performs F / V (Frequency to Voltage) conversion on the output from the pulse coder connected to the pulleys 30 and 31 that are the rotating parts of the upstream paper conveyance means 16, and F The voltage output from the / V converter, that is, the feed rate, can be constituted by the CPU 38 that samples and averages the voltage every predetermined period.
In this case, the CPU 38 functioning as an abnormality predicting means compares the value of the ratio Va / V0 with the lower limit value ε1 ′ of the allowable range that is the criterion and the upper limit value ε2 ′, and the ratio Va / V0 is continuously ε1 ′. The occurrence of a conveyance failure is predicted when the number of times that the ratio Va / V0 has continuously exceeded ε2 ′ exceeds the allowable value n of the number of consecutive deviations. Is the same as that shown in FIGS.
In this case as well, as in the first embodiment, the value of the ratio Va / V0 is less than ε1 ′ when the paper 58 is shortened due to a decrease in the conveyance speed. Interference with the inner wall of the hopper due to deformation of the roll portion of the paper, increase in drawing resistance due to twisting of the paper in the upstream paper transport path 15, etc., step-out of the upstream transport motor M02 and the feed motor m (R1), etc. Conceivable. However, even if slippage occurs between the conveyance belt 32 of the upstream sheet conveyance unit 16 and the sheet, it is appropriate from the pulse coder connected to the pulleys 30, 31, etc., which are the rotating sections of the upstream sheet conveyance unit 16. Since there is a case where it is determined that there is no abnormality in the feed speed itself of the upstream sheet conveying unit 16, there is an abnormality due to slippage between the conveying belt 32 of the upstream sheet conveying unit 16 and the sheet. It is not always detected accurately. Further, the value of the ratio Va / V0 exceeds ε2 ′ is when the paper 58 becomes relatively long due to the increase in the conveyance speed, and the cause of the abnormality is that there is a part where the roll of the paper is unwinding. It is conceivable that the paper drawer becomes excessive.

あるいは、印字ヘッド14の駆動が開始されてから用紙カッター17が作動するまでの間、つまり、図8(a)に示される位置から図8(d)に示される位置まで用紙が送られる間に亘って上流側用紙搬送手段16を駆動する上流側搬送モータM02の駆動トルクの平均値Iaを求める平均値算出手段を設けると共に、適性状態で検出される上流側搬送モータM02の駆動トルクの平均値I0を平均値記憶手段として機能する不揮発性メモリ40に記憶させておき、平均値算出手段によって実際に求められた平均値Iaと不揮発性メモリ40に記憶された平均値I0を比較して搬送不良の発生の有無を予測するようにしてもよい。
平均値算出手段は、例えば、上流側搬送モータM02の駆動トルクに比例したモータ駆動電流を検出する電流検出器と、その値を所定周期毎にサンプリングして平均化するCPU38によって構成することができる。
この場合、異常予測手段として機能するCPU38は、比率Ia/I0の値と判定基準である許容範囲の下限値ε1”と上限値ε2”とを比較し、比率Ia/I0が連続的にε1”を下回った回数もしくは比率Ia/I0が連続的にε2”を上回った回数が連続逸脱回数の許容値nを超えた場合に搬送不良の発生を予測することになるが、全体的な処理の流れは図3〜図6に示したものと同様である。
この場合は、比率Ia/I0がε2”を超えるのは搬送抵抗の増大によって用紙58が短くなっている場合であって、その異常原因としては、用紙のロール部分の変形によるホッパの内壁との干渉,上流側用紙搬送経路15内における用紙の捩れ等による引き出し抵抗の増大等が考えられる。また、比率Ia/I0の値がε1”に満たないのはロールの巻きの甘さ等によって搬送抵抗が減少して用紙58が相対的に長くなる場合であると考えることができる。
Alternatively, after the drive of the print head 14 is started until the paper cutter 17 is actuated, that is, while the paper is fed from the position shown in FIG. 8A to the position shown in FIG. 8D. An average value calculating means for obtaining an average value Ia of the driving torque of the upstream conveying motor M02 that drives the upstream paper conveying means 16 is provided, and an average value of the driving torque of the upstream conveying motor M02 detected in the appropriate state. I0 is stored in the non-volatile memory 40 functioning as an average value storage means, and the average value Ia actually obtained by the average value calculation means is compared with the average value I0 stored in the non-volatile memory 40, resulting in poor conveyance. Presence or absence of occurrence may be predicted.
The average value calculation means can be constituted by, for example, a current detector that detects a motor drive current proportional to the drive torque of the upstream side conveyance motor M02, and a CPU 38 that samples and averages the value at predetermined intervals. .
In this case, the CPU 38 functioning as an abnormality predicting means compares the value of the ratio Ia / I0 with the lower limit value ε1 ″ of the allowable range that is the criterion and the upper limit value ε2 ″, and the ratio Ia / I0 is continuously ε1 ″. The occurrence of a conveyance failure is predicted when the number of times that the ratio Ia / I0 has continuously exceeded ε2 ″ exceeds the allowable value n of the number of consecutive deviations. Is the same as that shown in FIGS.
In this case, the ratio Ia / I0 exceeds ε2 ″ when the paper 58 is shortened due to an increase in the conveyance resistance. The cause of the abnormality is that the ratio between the ratio Ia / I0 and the inner wall of the hopper due to the deformation of the paper roll portion. It is conceivable that the pull-out resistance increases due to interference, torsion of the paper in the upstream paper transport path 15, etc. The ratio Ia / I0 is less than ε1 ″ because of the roll winding sweetness and the like. It can be considered that this is a case where the paper 58 is relatively long.

更に、切断済み用紙の長さの比率D/B,上流側用紙搬送手段16における用紙の送り速度の比率Va/V0,上流側用紙搬送手段16の駆動トルクに比例したモータ駆動電流の比率Ia/I0を下限値や上限値と比較する代わりに、異常予測手段として機能するCPU38により、直前のレシートの払い出しの際に求められた此れらの比率と今回のレシートの払い出しの際に求められた比率との大小関係を比較し、予め決められた回数nを超えて連続的に比率が増大した場合と予め決められた回数nを超えて連続的に比率が減少した場合に搬送不良の発生を予測するようにしてもよい。   Further, the ratio D / B of the length of the cut sheet, the ratio Va / V0 of the sheet feeding speed in the upstream sheet conveying means 16, and the ratio Ia / of the motor driving current proportional to the driving torque of the upstream sheet conveying means 16 Instead of comparing I0 with the lower limit value or the upper limit value, the CPU 38 functioning as an abnormality prediction means obtains these ratios obtained at the time of delivery of the immediately preceding receipt and the receipt of the current receipt. Compare the magnitude relationship with the ratio, and if a ratio increases continuously after a predetermined number of times n and if the ratio decreases continuously after a predetermined number of times n, the occurrence of conveyance failure You may make it predict.

本発明は、レシートプリンタに限らず、ロール状に巻回された長尺の用紙を用いる各種の印字装置・印刷装置に転用が可能である。   The present invention is not limited to a receipt printer, and can be diverted to various printing apparatuses and printing apparatuses that use long paper wound in a roll shape.

1 レシートプリンタ
2,3,4 ロール状に巻回された用紙
5,6,7 ホッパ
8,9,10 用紙送り出し手段
11,12,13 用紙巻き戻し手段
14 印字ヘッド
15 上流側用紙搬送経路
16 上流側用紙搬送手段
17 用紙カッター
18 レシート取出口
19 下流側用紙搬送経路
20 下流側用紙搬送手段
21,22,23 接続路
24,25,26 搬送ローラ
27,28,29 スプール
30,31 プーリ
32 搬送ベルト
33,34 プーリ
35 搬送ベルト
36 アウターケーシング
37 制御部
38 マイクロプロセッサ(測長手段の主要部,異常予測手段,用紙再選択手段)
39 リード・オンリー・メモリ
40 不揮発性メモリ(基準長記憶手段,選択順序記憶手段)
41 ランダム・アクセス・メモリ
42 手動操作盤
43 入出力インターフェイス
44 アラームランプ
45 入出力回路
46,47,48,49,50,51,52,53 モータ駆動回路
54 クラッチ駆動回路
55 ヘッド駆動回路
56 ソレノイド駆動回路
57 選択順序記憶テーブル
58 切断された用紙
A 印字長
B 適性状態で切断される用紙の全長
C 印字ヘッドと用紙カッターの離間距離
CR クラッチ
D 切断された用紙2の実際の全長
M01 下流側搬送モータ
M02 上流側搬送モータ
M1,M2,M3 巻き戻しモータ
m1,m2,m3 送り出しモータ
S1 先端検出センサ
S2 用紙検出センサ(測長手段の一部)
SR1,SR2,SR3 用紙確認センサ
SOL カッター駆動ソレノイド
ε1 許容範囲の下限値
ε2 許容範囲の上限値
1 Receipt printer 2, 3, 4 Paper 5, 6, 7 rolled in roll form 8, 9, 10 Paper feed means 11, 12, 13 Paper rewind means 14 Print head 15 Upstream paper transport path 16 Upstream Side paper conveying means 17 Paper cutter 18 Receipt outlet 19 Downstream paper conveying path 20 Downstream paper conveying means 21, 22, 23 Connection paths 24, 25, 26 Conveying rollers 27, 28, 29 Spools 30, 31 Pulley 32 Conveying belt 33, 34 Pulley 35 Conveying belt 36 Outer casing 37 Control unit 38 Microprocessor (main part of length measuring means, abnormality prediction means, paper reselection means)
39 Read only memory 40 Non-volatile memory (reference length storage means, selection order storage means)
41 Random Access Memory 42 Manual Operation Panel 43 I / O Interface 44 Alarm Lamp 45 I / O Circuits 46, 47, 48, 49, 50, 51, 52, 53 Motor Drive Circuit 54 Clutch Drive Circuit 55 Head Drive Circuit 56 Solenoid Drive Circuit 57 Selection order storage table 58 Cut paper A Print length B Total length C of paper to be cut in an appropriate state CR Print head and paper cutter separation distance CR Clutch D Actual full length M01 of cut paper 2 Downstream transport motor M02 Upstream conveying motors M1, M2, M3 Rewinding motors m1, m2, m3 Feeding motor S1 Tip detection sensor S2 Paper detection sensor (part of length measuring means)
SR1, SR2, SR3 Paper confirmation sensor SOL Cutter drive solenoid ε1 Lower limit value of allowable range ε2 Upper limit value of allowable range

Claims (9)

ロール状に巻回された用紙を引き出して先端から順に印字処理を行ない切断して排出するようにしたレシートプリンタにおいて、
ロール状に巻回された用紙を格納する複数のホッパと、各ホッパに格納された用紙の先端を送り出す各ホッパ毎の用紙送り出し手段と、用紙をロールに巻回して巻き戻す各ホッパ毎の用紙巻き戻し手段と、選択されたホッパから送り出された用紙を印字ヘッドに導く上流側用紙搬送経路に配置された上流側用紙搬送手段と、上流側用紙搬送経路の下流側端部に設けられた用紙カッターと、用紙カッターで切断された用紙をレシート取出口に導く下流側用紙搬送経路に配置された下流側用紙搬送手段と、切断された用紙の全長を下流側用紙搬送経路上で測長する測長手段と、適性状態で切断される用紙の全長を記憶した基準長記憶手段と、前記測長手段で測長された用紙の全長と前記基準長記憶手段に記憶された用紙の全長を比較して搬送不良の発生の有無を予測する異常予測手段と、前記異常予測手段によって搬送不良の発生が有ると予測されると其の時点で選択されているホッパの用紙巻き戻し手段を作動させて使用中の用紙を上流側用紙搬送経路からホッパに回収すると共に他のホッパの1つを選択して其のホッパの用紙送り出し手段を作動させることにより当該ホッパに格納された用紙の先端を上流側用紙搬送経路に送り出す用紙再選択手段を備えたことを特徴とするレシートプリンタ。
In the receipt printer in which the paper wound in a roll shape is pulled out, printed sequentially from the leading edge, cut and discharged,
A plurality of hoppers that store paper wound in a roll shape, a paper feeding means for each hopper that feeds the leading edge of the paper stored in each hopper, and a paper for each hopper that winds and rewinds the paper Rewinding means, upstream paper conveying means arranged in the upstream paper conveying path for guiding the paper fed from the selected hopper to the print head, and paper provided at the downstream end of the upstream paper conveying path A cutter, a downstream paper transport means arranged in the downstream paper transport path for guiding the paper cut by the paper cutter to the receipt outlet, and a measurement for measuring the total length of the cut paper on the downstream paper transport path. The length means, the reference length storage means for storing the total length of the paper to be cut in an appropriate state, the total length of the paper measured by the length measurement means and the total length of the paper stored in the reference length storage means are compared. Transport failure An abnormality prediction means for predicting the occurrence of occurrence, and when it is predicted by the abnormality prediction means that a conveyance failure has occurred, the paper rewinding means of the hopper selected at that time is operated to remove the paper in use. By collecting one of the other hoppers from the upstream paper transport path and selecting one of the other hoppers and operating the paper feed means of that hopper, the leading edge of the paper stored in the hopper is sent to the upstream paper transport path. A receipt printer comprising paper reselecting means.
前記測長手段は、下流側用紙搬送経路上に設置された用紙検出センサが下流側用紙搬送経路上を移動する用紙を検出し続ける時間と前記下流側用紙搬送手段の用紙送り速度に基いて切断された用紙の全長を求めることを特徴とした請求項1記載のレシートプリンタ。   The length measuring means is cut based on the time during which the paper detection sensor installed on the downstream paper transport path continues to detect the paper moving on the downstream paper transport path and the paper feed speed of the downstream paper transport means. 2. The receipt printer according to claim 1, wherein the total length of the sheet is obtained. 前記測長手段は、下流側用紙搬送経路上に設置された用紙検出センサが下流側用紙搬送経路上を移動する用紙を検出し続ける間に前記下流側用紙搬送手段の回転部に設けられたパルスコーダから出力されるパルスの数に基いて切断された用紙の全長を求めることを特徴とした請求項1記載のレシートプリンタ。   The length measuring means is a pulse coder provided in the rotating section of the downstream paper transport means while the paper detection sensor installed on the downstream paper transport path continues to detect the paper moving on the downstream paper transport path. 2. The receipt printer according to claim 1, wherein the total length of the cut paper is obtained based on the number of pulses output from the printer. 前記異常予測手段は、前記基準長記憶手段に記憶された用紙の全長に対する前記測長手段で測長された用紙の全長の比率を求め、この比率が予め決められた許容範囲から外れると搬送不良の発生が有ると予測するように構成されていることを特徴とする請求項1,請求項2または請求項3のうち何れか一項に記載のレシートプリンタ。   The abnormality prediction unit obtains a ratio of the total length of the sheet measured by the length measuring unit to the total length of the sheet stored in the reference length storage unit, and if this ratio is out of a predetermined allowable range, the conveyance failure The receipt printer according to any one of claims 1 to 3, wherein the receipt printer is configured to predict that the occurrence of the occurrence of the occurrence of the occurrence of the occurrence. ロール状に巻回された用紙を引き出して先端から順に印字処理を行ない切断して排出するようにしたレシートプリンタにおいて、
ロール状に巻回された用紙を格納する複数のホッパと、各ホッパに格納された用紙の先端を送り出す各ホッパ毎の用紙送り出し手段と、用紙をロールに巻回して巻き戻す各ホッパ毎の用紙巻き戻し手段と、選択されたホッパから送り出された用紙を印字ヘッドに導く上流側用紙搬送経路に配置された上流側用紙搬送手段と、上流側用紙搬送経路の下流側端部に設けられた用紙カッターと、用紙カッターで切断された用紙をレシート取出口に導く下流側用紙搬送経路に配置された下流側用紙搬送手段と、印字ヘッドの駆動が開始されてから用紙カッターが作動するまでの間の上流側用紙搬送手段の送り速度の平均値を求める平均値算出手段と、適性状態で検出される上流側用紙搬送手段の送り速度の平均値を記憶した平均値記憶手段と、前記平均値算出手段で求められた平均値と前記平均値記憶手段に記憶された平均値を比較して搬送不良の発生の有無を予測する異常予測手段と、前記異常予測手段によって搬送不良の発生が有ると予測されると其の時点で選択されているホッパの用紙巻き戻し手段を作動させて使用中の用紙を上流側用紙搬送経路からホッパに回収すると共に他のホッパの1つを選択して其のホッパの用紙送り出し手段を作動させることにより当該ホッパに格納された用紙の先端を上流側用紙搬送経路に送り出す用紙再選択手段を備えたことを特徴とするレシートプリンタ。
In the receipt printer in which the paper wound in a roll shape is pulled out, printed sequentially from the leading edge, cut and discharged,
A plurality of hoppers that store paper wound in a roll shape, a paper feeding means for each hopper that feeds the leading edge of the paper stored in each hopper, and a paper for each hopper that winds and rewinds the paper Rewinding means, upstream paper conveying means arranged in the upstream paper conveying path for guiding the paper fed from the selected hopper to the print head, and paper provided at the downstream end of the upstream paper conveying path A cutter, downstream paper transport means arranged in the downstream paper transport path for guiding the paper cut by the paper cutter to the receipt outlet, and a period from the start of driving of the print head to the operation of the paper cutter An average value calculating means for obtaining an average value of the feeding speed of the upstream sheet conveying means, an average value storing means for storing an average value of the feeding speed of the upstream sheet conveying means detected in the suitability state; An abnormality predicting unit that predicts whether or not a conveyance defect has occurred by comparing the average value obtained by the value calculating unit and the average value stored in the average value storage unit, and the occurrence of a conveyance defect by the abnormality predicting unit. If it is predicted, the paper rewinding means of the hopper selected at that time is operated to collect the paper in use from the upstream paper conveyance path to the hopper and select one of the other hoppers. A receipt printer comprising: a sheet reselecting means for operating the sheet feeding means of the hopper to send the leading edge of the paper stored in the hopper to the upstream sheet conveying path.
ロール状に巻回された用紙を引き出して先端から順に印字処理を行ない切断して排出するようにしたレシートプリンタにおいて、
ロール状に巻回された用紙を格納する複数のホッパと、各ホッパに格納された用紙の先端を送り出す各ホッパ毎の用紙送り出し手段と、用紙をロールに巻回して巻き戻す各ホッパ毎の用紙巻き戻し手段と、選択されたホッパから送り出された用紙を印字ヘッドに導く上流側用紙搬送経路に配置された上流側用紙搬送手段と、上流側用紙搬送経路の下流側端部に設けられた用紙カッターと、用紙カッターで切断された用紙をレシート取出口に導く下流側用紙搬送経路に配置された下流側用紙搬送手段と、印字ヘッドの駆動が開始されてから用紙カッターが作動するまでの間の上流側用紙搬送手段の駆動トルクの平均値を求める平均値算出手段と、適性状態で検出される上流側用紙搬送手段の駆動トルクの平均値を記憶した平均値記憶手段と、前記平均値算出手段で求められた平均値と前記平均値記憶手段に記憶された平均値を比較して搬送不良の発生の有無を予測する異常予測手段と、前記異常予測手段によって搬送不良の発生が有ると予測されると其の時点で選択されているホッパの用紙巻き戻し手段を作動させて使用中の用紙を上流側用紙搬送経路からホッパに回収すると共に他のホッパの1つを選択して其のホッパの用紙送り出し手段を作動させることにより当該ホッパに格納された用紙の先端を上流側用紙搬送経路に送り出す用紙再選択手段を備えたことを特徴とするレシートプリンタ。
In the receipt printer in which the paper wound in a roll shape is pulled out, printed sequentially from the leading edge, cut and discharged,
A plurality of hoppers that store paper wound in a roll shape, a paper feeding means for each hopper that feeds the leading edge of the paper stored in each hopper, and a paper for each hopper that winds and rewinds the paper Rewinding means, upstream paper conveying means arranged in the upstream paper conveying path for guiding the paper fed from the selected hopper to the print head, and paper provided at the downstream end of the upstream paper conveying path A cutter, downstream paper transport means arranged in the downstream paper transport path for guiding the paper cut by the paper cutter to the receipt outlet, and a period from the start of driving of the print head to the operation of the paper cutter An average value calculating means for obtaining an average value of the driving torque of the upstream sheet conveying means, an average value storing means for storing an average value of the driving torque of the upstream sheet conveying means detected in the suitability state, An abnormality prediction unit that compares the average value obtained by the average value calculation unit with the average value stored in the average value storage unit to predict whether or not a conveyance failure has occurred, and the occurrence of a conveyance failure by the abnormality prediction unit. If it is predicted to be present, the paper rewinding means of the hopper selected at that time is operated to collect the paper in use from the upstream paper transport path to the hopper and select one of the other hoppers. A receipt printer comprising paper reselecting means for operating the paper feeding means of the hopper to feed the leading edge of the paper stored in the hopper to the upstream paper transport path.
前記異常予測手段は、前記平均値記憶手段に記憶された平均値に対する前記平均値算出手段で求められた平均値の比率を求め、この比率が予め決められた許容範囲から外れると搬送不良の発生が有ると予測するように構成されていることを特徴とする請求項5または請求項6記載のレシートプリンタ。   The abnormality prediction unit obtains a ratio of the average value obtained by the average value calculation unit with respect to the average value stored in the average value storage unit, and if this ratio deviates from a predetermined allowable range, a conveyance failure occurs. The receipt printer according to claim 5 or 6, wherein the receipt printer is configured to predict that there is. 前記異常予測手段は、前記比率が予め決められた許容範囲の下限値を連続的に下回った場合と許容範囲の上限値を連続的に上回った場合に搬送不良の発生が有ると予測するように構成されていることを特徴とする請求項4または請求項7のうち何れか一項に記載のレシートプリンタ。   The abnormality predicting means predicts that there is a conveyance failure when the ratio is continuously lower than a predetermined lower limit value of the allowable range and when the ratio is continuously higher than the upper limit value of the allowable range. The receipt printer according to claim 4, wherein the receipt printer is configured. ホッパの選択順序を記憶する選択順序記憶手段を備え、前記用紙再選択指令手段は、前記選択順序記憶手段に記憶された選択順序に従って用紙送り出し手段を作動させるホッパを選択することを特徴とする請求項1,請求項2,請求項3,請求項4,請求項5,請求項6,請求項7または請求項8のうち何れか一項に記載のレシートプリンタ。   A selection order storage means for storing a selection order of hoppers is provided, wherein the paper reselection command means selects a hopper for operating the paper feed means according to the selection order stored in the selection order storage means. The receipt printer according to any one of claims 1, 2, 3, 4, 5, 6, 7, and 8.
JP2009187226A 2009-08-12 2009-08-12 Receipt printer Active JP5327862B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009187226A JP5327862B2 (en) 2009-08-12 2009-08-12 Receipt printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009187226A JP5327862B2 (en) 2009-08-12 2009-08-12 Receipt printer

Publications (2)

Publication Number Publication Date
JP2011037158A true JP2011037158A (en) 2011-02-24
JP5327862B2 JP5327862B2 (en) 2013-10-30

Family

ID=43765446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009187226A Active JP5327862B2 (en) 2009-08-12 2009-08-12 Receipt printer

Country Status (1)

Country Link
JP (1) JP5327862B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156704A (en) * 2012-01-26 2013-08-15 Nec Computertechno Ltd Receipt processing device, method for preventing receipt jamming, and receipt discharge control program
KR102155014B1 (en) * 2020-01-29 2020-09-11 주식회사 비알씨테크 Apparatus and method for maintenance of kiosk

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001139211A (en) * 1999-11-12 2001-05-22 Juki Corp Method for cutting/carrying and controlling continuous document and cutting/carrying device
JP2002348011A (en) * 2001-03-16 2002-12-04 Canon Inc Recording device
JP2003326798A (en) * 2002-05-16 2003-11-19 Seiko Epson Corp Record controller, ink jet recorder
JP2007076267A (en) * 2005-09-16 2007-03-29 Brother Ind Ltd Label manufacturing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001139211A (en) * 1999-11-12 2001-05-22 Juki Corp Method for cutting/carrying and controlling continuous document and cutting/carrying device
JP2002348011A (en) * 2001-03-16 2002-12-04 Canon Inc Recording device
JP2003326798A (en) * 2002-05-16 2003-11-19 Seiko Epson Corp Record controller, ink jet recorder
JP2007076267A (en) * 2005-09-16 2007-03-29 Brother Ind Ltd Label manufacturing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156704A (en) * 2012-01-26 2013-08-15 Nec Computertechno Ltd Receipt processing device, method for preventing receipt jamming, and receipt discharge control program
KR102155014B1 (en) * 2020-01-29 2020-09-11 주식회사 비알씨테크 Apparatus and method for maintenance of kiosk

Also Published As

Publication number Publication date
JP5327862B2 (en) 2013-10-30

Similar Documents

Publication Publication Date Title
US20020113160A1 (en) Paper money handling device
JP6608163B2 (en) Label winding device and printing system
TWI469909B (en) Media conveyance device, printing device, and media conveyance method
JP5174643B2 (en) Printing apparatus, medium remaining amount management apparatus, medium remaining amount calculation method, and program
CN107235360B (en) Medium conveying device
JP6619246B2 (en) Winding device and cutting detection method
JP5371283B2 (en) Recording device
JPWO2010052795A1 (en) Paper sheet storage and feeding device
JP5327862B2 (en) Receipt printer
JP2011110770A (en) Image recording apparatus and controlling method of image recording apparatus
JP5975628B2 (en) Image forming apparatus
JP5176528B2 (en) Medium storage and feeding device
JP6087659B2 (en) Image recording device
JP6841554B2 (en) Media supply unit
EP2857334B1 (en) Conveyance device, printer, and conveyance method
CN109155092B (en) Paper sheet accommodating apparatus and method of controlling the same
JP2007112594A (en) Tape extracting device
WO2009130783A1 (en) Coin processing device
JP6198470B2 (en) Conveying apparatus and recording apparatus
JP5343411B2 (en) Paper belt feeder and banknote sealing machine
JP6058567B2 (en) Printer device
JP3350086B2 (en) Paper feeder
JP5838751B2 (en) RECORDING MEDIUM CONVEYING DEVICE AND RECORDING DEVICE
JP6945813B2 (en) Paper processing equipment
JP6198914B2 (en) Printer device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130617

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130718

R150 Certificate of patent or registration of utility model

Ref document number: 5327862

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350