JP3788137B2 - Printer and control method thereof - Google Patents

Printer and control method thereof Download PDF

Info

Publication number
JP3788137B2
JP3788137B2 JP29440199A JP29440199A JP3788137B2 JP 3788137 B2 JP3788137 B2 JP 3788137B2 JP 29440199 A JP29440199 A JP 29440199A JP 29440199 A JP29440199 A JP 29440199A JP 3788137 B2 JP3788137 B2 JP 3788137B2
Authority
JP
Japan
Prior art keywords
paper
printer
cut sheet
cut
discharge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP29440199A
Other languages
Japanese (ja)
Other versions
JP2001114464A (en
Inventor
雄史 高見沢
篤志 山路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP29440199A priority Critical patent/JP3788137B2/en
Publication of JP2001114464A publication Critical patent/JP2001114464A/en
Application granted granted Critical
Publication of JP3788137B2 publication Critical patent/JP3788137B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Separation, Sorting, Adjustment, Or Bending Of Sheets To Be Conveyed (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、連続紙上に印刷を行うプリンタ及びその制御方法、システム、情報記憶媒体に関し、特に、印刷後の単票紙の搬送制御に特徴を有するプリンタ及びその制御方法に関する。
【0002】
【従来の技術】
ATM装置等に内蔵され、レシートなどを出力するためのプリンタとしては、ロール紙その他の連続紙を搭載し、用施設断機構によりこれを適宜切断分離して単票紙として出力するものが広く知られている。この種のプリンタは、その管理者や技術者が常駐しないところに設置される場合が多いので、その使用に伴う障害をできるだけ少なくすることが重要な課題である。
【0003】
この種のプリンタにおいては、供給されたレシートを顧客が必要としない場合を考慮して、その回収を行うための装置(以下、回収装置という)を備えたものがある。回収装置は、搬出口から用紙回収位置へ単票紙を搬送する搬送経路及び搬送ローラを備え、また用紙回収位置には、回収した用紙を積層状に収容するために用紙積層トレイを備える。
【0004】
回収装置を備えたプリンタにおいては、印字後のレシートは、排出口近傍に設けた搬送ローラ対によって、所定時間保持される。該所定時間経過しても(以下、これをタイムアウト時間という)、顧客がこれを取り出さない場合、搬送ローラ対が逆方向に駆動されて、レシートを前記搬送経路を通して用紙回収位置へ導く。
【0005】
【発明が解決しようとする課題】
しかしながら、このような従来のプリンタにおいては、前記回収装置が使用不能なときがあり(例えば、回収ボックスが一杯になっている場合)、このような場合、タイムアウト時間後にレシートを回収せずに、排出口から排出させたいという要望がある。特に、その使用状況に応じて前記回収装置がプリンタ本体に対して着脱可能な構成を採っているものにあっては、設置態様によっては回収装置が装備されない場合があり、タイムアウト後のレシートの取り扱い、すなわち回収装置に回収するか又は排出口から排出するかを遠隔から簡単に設定できれば便利である。
【0006】
また、従来の回収装置を備えたプリンタにおいては、前記タイムアウトまでの時間は固定的であったが、プリンタの設置場所、稼動時間、使用態様によって、これを遠隔から簡単に変更したいという要望がある。
【0007】
従って本発明の目的は、タイムアウト後にレシートのような単票紙を回収するか又は排出するかを設定可能なプリンタ及びその制御方法を提供することにある。
【0008】
また本発明の別の目的は、単票紙を回収するか又は排出するかの設定、変更を遠隔から簡単に行うことができるプリンタ及びその制御方法を提供することにある。
【0009】
更に本発明の別の目的は、前記タイムアウトまでの時間の設定、変更を遠隔から簡単に行うことができるプリンタ及びその制御方法を提供することにある。
【0010】
【課題を解決するための手段】
前記目的を達成するため本発明は、印字後の単票紙を排出する排出口の上流側に備えられた搬送ローラ対と、前記単票紙を回収する回収装置とを備え、ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタの制御方法において、前記搬送ローラ対を正方向に駆動して、前記単票紙を前記排出口から筐体外へ搬送する工程と、前記単票紙の先端側が前記排出口から筐体外へ出された位置で、該単票紙を前記搬送ローラ対により保持した状態を維持する工程と、所定時間経過後に、予め設定された前記単票紙を排出するか回収するかの動作設定を読み出す工程と、前記読み出された動作設定が、単票紙を排出する設定である場合に、前記搬送ローラ対を正方向に駆動して、該単票紙を前記筐体外へ排出する工程と、前記読み出された動作設定が、単票紙を回収する設定である場合に、前記搬送ローラ対を逆方向に駆動して、該単票紙を前記回収装置内へ搬送する工程とを備えて構成される。
【0011】
このように動作設定に応じて、単票紙を回収又は排出することによって、プリンタの設置態様に応じた適切な動作を保証することができる。
【0012】
本発明はまた、前記単票紙を排出するか回収するかの動作を指定するコマンドを受信する工程と、前記コマンドによる指定を、所定の記憶域上に設定する工程とを更に備えて構成することができる。
【0013】
本発明は更に、前記所定時間を指定するコマンドを受信する工程と、前記コマンドによる指定を、所定の記憶域上に設定する工程とを備えて構成することができる。
【0014】
ホストコンピュータからのコマンドによって、前記所定時間後の単票紙の処理の方法及び該所定時間を指定できることから、遠隔からの設定及び変更が可能となり、設置場所、稼動時間、使用態様などに応じた適切な設定ができるようになる。
【0015】
また、前記単票紙を回収装置内へ搬送する工程に代えて、前記読み出された動作設定が、単票紙を回収する設定である場合に、前記回収装置による単票紙の回収が可能か否かを判断する工程と、単票紙の回収が可能であると判断された場合に、前記搬送ローラ対を逆方向に駆動して、該単票紙を前記回収装置内へ搬送する工程と、単票紙の回収が不可能であると判断された場合に、前記搬送ローラ対を正方向に駆動して、該単票紙を前記筐体外へ排出する工程とを備えて本発明を構成することもできる。
【0016】
この場合に、前記回収装置がプリンタに対し着脱可能に構成され、前記単票紙の回収が可能か否かを判断する工程は、前記回収装置が取り外されている場合に、単票紙の回収が不可能であると判断することを含むことが好ましい。
【0017】
また、前記単票紙は、連続紙を印字後に切断分離して得られるものであることが好ましい。
【0018】
本発明はまた、ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタに関する。本発明のプリンタは、印字後の単票紙を排出する排出口の上流側に備えられた正逆回転可能な搬送ローラ対と、前記単票紙を回収する回収装置と、前記単票紙を排出するか回収するかの動作設定を記憶する記憶手段と、前記単票紙の先端側が前記排出口から筐体外へ出された位置で、該単票紙を前記搬送ローラ対により保持した状態を維持すると共に、所定時間経過後に、前記動作設定に従って前記搬送ローラ対を正又は逆方向に駆動して、該単票紙を前記筐体外へ排出させ、又は前記回収装置内へ搬送させる制御手段とを備えて構成される。
【0019】
この場合に、前記記憶手段への動作設定が、ホストコンピュータからのコマンドにより指定されるものであることが好ましい。
【0020】
また、前記記憶手段は、前記所定時間の設定を記憶し、前記記憶手段への前記所定時間の設定が、ホストコンピュータからのコマンドにより指定されるものであることが好ましい。
【0021】
また、本発明のホストコンピュータと、該ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタとを含むシステムは、
前記プリンタは、ロール紙に印字する印字ヘッドと、該印字ヘッドにより印字されたロール紙を切断する切断機構と、該切断機構により切断された用紙を排出口まで搬送する搬送手段と、該搬送手段により搬送された用紙を除去可能に前記排出口に保持する保持手段と、を備え、
前記ホストコンピュータからの指令に基づいて、前記プリンタは、前記排出口に保持された前記用紙を、所定時間経過後、自動的に排出するか、または、回収するか決定することを特徴とする。
【0022】
この構成によれば、ホストコンピュータからのコマンドに基づくプリンタとを用い、簡単にシステムを構築することができる。
【0023】
また、本発明のホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタは、
前記プリンタは、ロール紙に印字する印字ヘッドと、該印字ヘッドにより印字されたロール紙を切断する切断機構と、該切断機構により切断された用紙を排出口まで搬送する搬送手段と、該搬送手段により搬送された用紙を除去可能に前記排出口に保持する保持手段を備え、
前記ホストコンピュータからの指令に基づいて、前記排出口に保持された前記用紙を、所定時間経過後、自動的に排出するか、または、回収するか決定する決定手段を有することを特徴とする。
【0024】
さらに、前記ホストコンピュータから、前記排出または回収を決定すべき所定時間としてのデータを受信する受信手段を備え、
前記決定手段は、前記受信したデータに基づいて決定することを特徴とする。
【0025】
さらに、前記受信したデータとして、ある特定の値を受信したと前記受信手段が判断したとき、前記決定手段は、排出も回収も行わないことを特徴とする。
【0026】
この構成によれば、ホストコンピュータからのコマンドに基づいて、プリンタを制御できる。また、特定値を受信することにより、永久にユーザの除去を待ち続けるプリンタを簡単に実現することができる。
【0027】
また、本発明のコンピュータ読み取り可能な記録媒体は、プリンタの排出口に保持された切断後の用紙を、保持されてから所定時間経過後、自動的に排出するか、または、回収するかを決定するコマンドを前記プリンタに送信するステップと、
前記排出または回収までの所定時間を決定するコマンドを前記プリンタに送信するステップとを実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体である。
【0028】
この構成によれば、プリンタをコマンドによってコントロールするプログラムソフトを、ホストコンピュータにセットアップされるプログラムソフトとして簡単に提供できる。
【0029】
【発明の実施の形態】
以下、本発明の一実施形態を図面に沿って説明する。図1は、本発明の一実施形態に係るプリンタの内部構造を示す概略側面図である。プリンタ10は、ATM等に搭載されるレシート印刷用のプリンタであり、その内部にロール紙Rを収納する。ロール紙Rの収納部からロール紙の排出口11を連通する紙経路上には、印字ヘッド12、用紙切断機構13、送り側搬送ローラ(以下、送りローラという)14及び排出側搬送ローラ(以下、第1、第2の排出ローラという)15、16が設置される。ホストからの印字命令に従って、これら搬送ローラ14〜16が適宜駆動され、ロール紙Rがそのロール部分から順次引き出される。
【0030】
送りローラ14によるロール紙Rの送りと共に、印字ヘッド12が走査(駆動)され所望の文字、記号等がロール紙R上に印刷される。ロール紙Rにおける印刷された領域は、排出口11に向けてさらに搬送され、その後端部が用紙切断機構であるオートカッタ13の位置まで来たときに、これによって切断分離され、排出口11から単票のレシートとして利用者に供給される。
【0031】
第1の排出ローラ15及び第2の排出ローラ16は、送りローラ14によって送られるロール紙Rの先端を受け取り、排出口11に導く。第1の排出ローラ15及び第2の排出ローラ16によるロール紙Rの搬送速度は、基本的に送りローラ14における搬送速度それと同じに設定されている。従って、送りローラ14及び第1,第2の排出ローラ15、16が駆動されている状態で、送りローラ14によって送られ、その先端が第1,第2の排出ローラ15、16間に引き込まれたロール紙Rには、引っ張り力が掛かったり、余計な撓みが生じたりすることがない。
【0032】
用紙切断機構13によってロール紙Rの上流側部分から切り離される用紙の先端部分(以下、用紙rという)は、第1,第2の排出ローラ15、16によって、引き続き搬送され、その略全域が排出口11から外へ送り出される。搬送方向下流側の第2の排出ローラ16は、上流側の第1の排出ローラ15よりも弱い押圧力で用紙rを挟持する。後に説明するように、切断された用紙rの後端は、最終的にこの下流側の第2の排出ローラ16で保持される。このように用紙rは、第2の排出ローラ16によって弱い力で保持されているので、利用者は容易にこれを引き抜くことができる。本発明に係る制御に関し、第1,第2の排出ローラ15、16は、前記送りローラ14とは独立して駆動・停止される。この制御の詳細については後述する。
【0033】
プリンタ10は、また、第1,第2の排出ローラ15、16間に第1の用紙センサ17を、第2の排出ローラ16の下流側に第2の用紙センサ18を、それぞれ備える。第1の用紙センサ17は、ロール紙Rが搬送されて、その先端が上流側の第1の排出ローラ15を超えたときに、これを検知する。第1の用紙センサ17は、また、切断された後の用紙rの後端部がここを超えたときに、これを検知する。また第2の用紙センサ18は、用紙rが排出口11からユーザによって完全に排出されたときや、回収装置に完全に回収されたに、これを検知する。第1,第2の用紙センサ17、18による検知信号に基づいて、各種制御が実行される。
【0034】
プリンタ10は、切断分離されたレシート(切断後の用紙)の回収装置20を備える。所定時間排出口11にレシートが放置されたままの状態にある場合、ホストから予め受信した命令に基いて第1,第2の排出ローラ15、16はレシートを逆送させ、プリンタ10内部へ引き込む。引き込まれたレシートは、回収経路21に搬入され、回収トレイ22内へ順次回収される。後述するプリンタの制御に関連して、回収トレイ22の近傍には、図示しない紙センサが設置される。この紙センサは、回収トレイ22内のレシートが一杯になったとき、これを検知し制御部へ通知する。実施形態において回収装置20はユニット化され、プリンタ10本体に対し、着脱自在に構成される。従って、プリンタ10の設置の態様に応じて、回収装置20を装着し又は装着しない構成を採ることが可能である。
【0035】
プリンタ10は、図示しない制御用のCPU、EEPROM(書き換え可能な不揮発性メモリ、たとえばフラッシュメモリ)及びRAMを実装する。プリンタ10に実装されたCPUは、ホストコンピュータからの制御コマンド及び前記EEPROMに格納された制御プログラムに従って、プリンタの前記各機構部分を制御する。本発明に関連して、プリンタ内蔵のCPUは、送りローラ14、第1,第2の排出ローラ15、16、用紙切断機構13を駆動制御し、所定の用紙排出動作を実現する。また、本発明に関連して、前記ホストコンピュータからの制御コマンドには、回収装置20への用紙の回収又は排出口11からの用紙の排出を設定するためのコマンド(以下、回収/排出コマンドという)が含まれる。回収/排出設定コマンドは、例えば以下のように構成することができる。
【0036】
<ESC X 1>
ここで、「ESC X」は回収/排出設定の制御コマンドを指定し、引数「1」は、その設定値として、回収を指定する。引数が「0」の場合は、設定値として排出が指定されることとなる。前記回収/排出設定コマンドで指定された状態は、プリンタ10のCPUで解釈され、RAM上の所定の領域に記録される。後述するように、一定時間経過しても、利用者によって用紙rが取り出されず、排出口11に残ったままの状態にある場合、該RAM上の設定値が読み出され、これに従って、用紙は回収又は排出されることとなる。
【0037】
また、前記制御コマンドには、前記用紙の回収又は排出を実行させるための一定時間、すなわちタイムアウトまでの時間を設定するためのコマンド(以下、タイムアウト設定コマンドという)が含まれる。タイムアウト設定コマンドは、例えば以下のように構成することができる。
【0038】
<ESC Y 60>
ここで、「ESC Y」はタイムアウト時間設定の制御コマンドを指定し、引数「60」は、その設定されるタイムアウト時間(秒)を指定する。前記タイムアウト設定コマンドで指定された状態は、プリンタ10のCPUで解釈され、RAM上の所定の領域に記録される。引数は、たとえば10〜2550(秒)の値をとることができる。また、特に、引数として「0」を指定した場合は、タイムアウト時間が無効となり、プリンタは自動的には回収も排出もせず、ユーザの除去を永久に待ち続ける。
【0039】
図2に示す(A)〜(F)は、プリンタ10におけるロール紙Rへの印字から排出までの各段階を示す排出部付近の側面図である。本発明に係る制御の説明に先立って、前記処理について説明する。プリンタ10では、印字中に利用者が用紙を引っ張らないようにするため、印字終了までは用紙が排出口から出ないよう搬送制御する。
【0040】
すなわちプリンタ10は、ホストコンピュータからのデータを受けると、これを一旦受信バッファに格納し、順次CPUによって実現される解釈部でその内容を解釈する。解釈されたデータが、印字コマンドである場合、CPUは送りローラ14によって用紙rを送りつつ、印字ヘッド12を駆動して、該紙面上に該コマンドに続く印字データに従う印字を実施する(図2(A))。この時、CPUは、第1,第2の排出ローラ15、16を、送りローラ14に同期して駆動させる(これらローラの動きを矢印で示した)。
【0041】
この印字動作に伴い用紙rは、排出口11に向けて徐々に送られ、その先端は上流側の第1の排出ローラ15に達し、第1の排出ローラ15が用紙の先端をかみ、さらにその駆動力によって更に下流側に送る(同図(B))。用紙rの先端が、第1の排出ローラ15を超えることによって、その下流側に設置された第1の用紙センサ17が、用紙の先端これを検出する。CPUは、この検出信号を受けると、第1の排出ローラ15の駆動を一旦停止させる。第1の排出ローラ15の停止により、用紙rの先端付近は、第1の排出ローラ15に挟持された状態となる。
【0042】
一方で、印字ヘッド12では印字が継続され、送りローラ14は該印字データの全ての印字が終わるまで、用紙rを搬送する。この結果、その先端側を第1の排出ローラ15によって固定された用紙rは、図2の(C)に示すように、徐々に撓んでいき、印字部と第1の排出ローラ15間にループが形成される。
【0043】
このようにするのは、カッター(印字部)と第1の排出ローラ15間よりも切断された印字長が長いとき、カッター13による切断前に、第1の排出ローラ15をストップさせずに排出口11から紙を排出してしまうと、ユーザが印字終了したと勘違いして排出口11から出てきた紙を除去しようとして、紙がプリンタの内部でぐしゃぐしゃになってしまい、紙詰まりが起きるのを防止するためである。第1の排出ローラ15をストップさせて紙を挟持させ、その先に紙が出ないようにすることにより、そのようなことは防止できる。また、印字データによって得られる印字長(用紙長)が異なるため、カッタ13と第1の排出ローラ15との間の距離よりも用紙長が長くなれば、自然にループが形成される。
【0044】
1枚のレシートに対する印字データに続いて、ホストコンピュータからは用紙rの切断を実行させるための切断コマンド(この実施形態では1枚のレシートに対する印字終了を示すコマンドと等価である)が送信される。なお、この時点で送りローラ14は停止している。CPUによるデータの解釈部によって、用紙rの切断コマンドが解釈されると、CPUは、印字の終了処理を開始する。
【0045】
印字の終了処理では、最初に第1,第2の排出ローラ15、16が駆動される。この結果、同図(D)に示すように、排出口11から用紙rの先端が排出されていき、これに伴って、形成された用紙rのループは、徐々に小さくなっていく。そして、用紙切断機構13が駆動されて、用紙rの後端部が切断され、上流側のロール紙Rと切り離される(同図(E))。該用紙rの切断は、形成されたループが完全になくなる前に完了される。用紙切断機構13によりロール紙Rから切り離された用紙rは、同図(F)に示すように、第1,第2の排出ローラ15、16によって排出口11外へ搬送される。そして、切断後の用紙rの後端部が第1の用紙センサ17を超えたことにより、これを検出する。プリンタ10のCPUは、この検出信号を受けると、第1,第2の排出ローラ15、16の駆動を停止する。この結果、用紙rの後端部は第2の排出ローラ16に弱く保持された状態となり、利用者による取り出しが可能にされる。利用者により、用紙rが取り出された場合、排出口11手前の第2の用紙センサ18がこれを検出し、CPUに通知する。
【0046】
図3は、本発明に係るプリンタの制御の一実施形態に係るフローチャートを示している。本フローチャートに従って、プリンタ10は、利用者が第2の排出ローラ16に保持された用紙rを所定時間放置した場合、これを前記回収装置へ回収するか又は排出口から排出するよう制御される。
【0047】
図2(F)で示したように、第1の用紙センサ17によって用紙rの後端部が検出されると(図3の工程301)、第1,第2の排出ローラ15、16の駆動が停止され、用紙rの後端部が第2の排出ローラ16に弱く保持された状態となる(工程302)。第1,第2の排出ローラ15、16が停止されると、継続時間をカウントするタイマーがセットされると共に、そのタイムアウト時間の設定情報が読み出される(工程303及び304)。前述のようにタイムアウト時間は、ホストコンピュータからのタイムアウト設定コマンドによって予め設定され、プリンタ10のRAMの所定領域に書き込まれているので、これを読み出す。
【0048】
工程305の判断で、前記タイマーの継続時間が、前記読み出されたタイムアウト時間になる前に、用紙rが利用者によって排出口11から取り出された場合、すなわち第2の用紙センサ18が用紙後端部の通過を検出した場合、回収/排出の処理は実行されず、工程306を介して、本工程による処理は終了する。
【0049】
利用者が用紙rを取り出さずに、設定されたタイムアウト時間が経過すると、処理は工程307に移り、回収/排出設定コマンドによって設定されたRAM上の状態が読み出される。工程308の判断で、設定された排出方法が、「排出」を指示するものである場合、工程309に移り、第2の排出ローラ16を正方向に駆動し、これによって用紙rを排出口11から筐体外へ落とす。
【0050】
一方、工程308の判断で、設定された排出方法が、「回収」を指示するものである場合、処理は工程310に移される。工程310では、前記回収装置20による用紙rの回収が可能か否かが判断される。例えば、プリンタ10に回収装置20が装着されていない場合、または、回収トレイ22内の用紙が一杯である場合、または、回収経路21で紙ジャムが発生している場合などの際に、回収が不能であると判断される。該工程310において、回収が可能であると判断された場合、第2の排出ローラ16は逆方向に駆動され、これによって用紙rは図1に示す回収経路21側に搬送され、回収トレイ22へ導かれる(工程311)。一方、工程310において、回収が不能であると判断された場合、前記読み出された設定に拘わらず、第2の排出ローラ16を正方向に駆動し、これによって用紙rを排出口11から筐体外へ落とす。以上のように、排出口11に保持された用紙rは、前記処理を経て、回収装置20に回収され、また筐体外へ排出されることとなる。
【0051】
以上、本発明の一実施形態を図面に沿って説明したが、本発明は前記実施形態において示された事項に限定されず、特許請求の範囲及び発明の詳細な説明の記載、並びに周知の技術に基づいて、当業者がその変更・応用を行うことができる範囲が含まれる。前記実施形態においては、排出ローラを上流側と下流側の二対のものとした例を示したが、一対のローラからなる排出ローラによっても本発明を実現することができる。また、前記実施形態ではロール紙を切断して単票紙を得る構成のプリンタを示したが、多数の単票紙を積層して備えるプリンタにおいても本発明を適用することができる。
【0052】
また、コマンドによる設定をRAMではなく、EEPROMのに保存してもよい。
【0053】
本発明においては、プリンタ10に電源が投入され、印字可能な状態になったとき、ホストコンピュータからESC X、ESC Yが送られてくるまでは、デフォルトとして、回収/排出については、排出を行い、タイムアウト値としては0(永久に自動回収、排出しない)となっている。
【0054】
また、ESC Yが送られたとき、ESC Yのタイムアウト値については、ESC Xによって決められる値に基づいて、つまり、回収までのタイムアウトか、排出までのタイムアウトかが決められる。
【0055】
本発明のタイムアウト値は、たとえば、ホストコンピュータの電源を投入したとき、コマンドESC Yを1回送れば、プリンタ10のRAMに書き込まれるため、プリンタ10の電源をオフしない限り、そのタイムアウト値が有効である。本発明のプリンタをたとえば、ATM(現金自動支払機)に応用した場合、ATMの設置場所に応じ、駅前などの人の出入りが激しく、それぞれのユーザの利用時間も短い場合、タイムアウト値を短く設定することができる。また、ATMを都会でない場所、人通りの少なくユーザ一人当たりのの利用時間も長い場合、タイムアウト値を長く設定することができる。さらに、ATMの利用時間に応じて、たとえば、昼間は短く、夜間は長く、設定するといった、利用状況、利用場所に応じたタイムアウト値を、ホストコンピュータからの制御コマンドによって、簡単にプリンタに設定することが可能となる。
【0056】
【発明の効果】
以上のごとく本発明によれば、所定のタイムアウト後に単票紙を回収するか又は排出するかを設定可能となり、プリンタの設置態様等に応じた適切な排出処理を実行することができる。
【0057】
またホストコンピュータからの制御コマンドによって、単票紙を回収するか又は排出するかの設定、変更及びタイムアウトまでの時間の設定、変更を可能にしたことによって、プリンタを設置した後からも容易にその設定の変更が可能になり、プリンタの設置場所、稼動時間、使用態様などに応じた適切な設定ができるようになる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るプリンタの内部構造を示す概略側面図である。
【図2】図1のプリンタにおけるロール紙の排出制御の各段階を示す排出部付近の側面図である。
【図3】本発明に係るプリンタの制御の一実施形態に係るフローチャートである。
【符号の説明】
10 プリンタ
11 排出口
12 印字ヘッド
13 用紙切断機構
14 送りローラ
15 第1の排出ローラ
16 第2の排出ローラ
17 第1の用紙センサ
18 第2の用紙センサ
20 回収装置
21 回収経路
22 回収トレイ
r 用紙
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer that performs printing on continuous paper, a control method thereof, a system, and an information storage medium, and more particularly, to a printer characterized by conveyance control of cut sheet paper after printing and a control method thereof.
[0002]
[Prior art]
Widely known printers that are built into ATM devices, etc., and output receipts, etc. are equipped with roll paper or other continuous paper, and are cut and separated appropriately by a facility cutting mechanism and output as sheet paper. It has been. Since this type of printer is often installed in a place where the administrator or engineer is not resident, it is an important issue to minimize the troubles associated with its use.
[0003]
Some printers of this type include a device (hereinafter referred to as a collection device) for collecting the received receipt in consideration of the case where the customer does not need the supplied receipt. The collection device includes a conveyance path and conveyance rollers for conveying the cut sheet from the carry-out port to a sheet collection position, and a sheet stacking tray for storing the collected sheets in a stacked form at the sheet collection position.
[0004]
In a printer equipped with a collecting device, a printed receipt is held for a predetermined time by a pair of conveying rollers provided in the vicinity of a discharge port. If the customer does not take out this predetermined time (hereinafter referred to as the time-out time), the conveyance roller pair is driven in the reverse direction to guide the receipt to the paper collection position through the conveyance path.
[0005]
[Problems to be solved by the invention]
However, in such a conventional printer, the collection device may not be usable (for example, when the collection box is full). In such a case, the receipt is not collected after the timeout time, There is a desire to discharge from the outlet. In particular, in the case where the collection device is configured to be detachable from the printer body depending on the usage situation, the collection device may not be equipped depending on the installation mode, and handling of the receipt after a timeout In other words, it is convenient if it is possible to easily set remotely whether to collect in the collection device or to discharge from the discharge port.
[0006]
Also, in a printer equipped with a conventional collecting device, the time until the timeout is fixed, but there is a demand to easily change this from a remote location depending on the installation location, operation time, and usage mode of the printer. .
[0007]
Accordingly, an object of the present invention is to provide a printer capable of setting whether to collect or discharge a cut sheet such as a receipt after a time-out and a control method therefor.
[0008]
Another object of the present invention is to provide a printer which can easily and remotely set or change whether to collect or eject cut sheets and a control method therefor.
[0009]
Still another object of the present invention is to provide a printer and a control method therefor that can easily and remotely set and change the time until timeout.
[0010]
[Means for Solving the Problems]
In order to achieve the above object, the present invention comprises a pair of conveying rollers provided upstream of a discharge port for discharging printed cut paper and a collecting device for collecting the cut paper, and is provided by a host computer. In the printer control method controlled in accordance with the various commands, a step of driving the pair of conveyance rollers in the forward direction to convey the cut sheet out of the housing from the discharge port, and a leading end side of the cut sheet Maintaining the state in which the cut sheet is held by the pair of transport rollers at a position where the cut sheet exits from the housing, and discharging or collecting the preset cut sheet after a predetermined time has elapsed. If the read operation setting is a setting for discharging the cut sheet paper, the pair of conveyance rollers is driven in the forward direction to remove the cut sheet paper from the housing. A step of discharging outside the body; A step of driving the pair of conveying rollers in the reverse direction and conveying the cut sheet into the collecting device when the extracted operation setting is a setting for collecting the cut sheet. Is done.
[0011]
As described above, by collecting or discharging the cut sheets according to the operation setting, it is possible to ensure an appropriate operation according to the installation mode of the printer.
[0012]
The present invention further includes a step of receiving a command designating an operation of discharging or collecting the cut sheet paper, and a step of setting the designation by the command on a predetermined storage area. be able to.
[0013]
The present invention may further comprise a step of receiving a command designating the predetermined time, and a step of setting designation by the command on a predetermined storage area.
[0014]
By the command from the host computer, it is possible to specify the processing method of the cut sheet after the predetermined time and the predetermined time, so that setting and changing from a remote location are possible, depending on the installation location, operating time, usage mode, etc. Appropriate settings can be set.
[0015]
Further, instead of the step of transporting the cut paper into the collecting device, the cut-out paper can be collected by the collecting device when the read operation setting is a setting for collecting the cut paper. And a step of driving the pair of conveyance rollers in the reverse direction to convey the cut paper into the collecting device when it is determined that the cut paper can be collected. And a step of driving the pair of transport rollers in the forward direction and discharging the cut paper out of the housing when it is determined that the cut paper cannot be collected. It can also be configured.
[0016]
In this case, the collecting device is configured to be detachable from the printer, and the step of determining whether or not the cut sheet can be collected includes the step of collecting the cut sheet when the collecting device is removed. Preferably comprises determining that is impossible.
[0017]
The cut sheet is preferably obtained by cutting and separating continuous paper after printing.
[0018]
The present invention also relates to a printer controlled according to various commands given by a host computer. The printer according to the present invention includes a pair of transport rollers capable of rotating in the forward and reverse directions provided upstream of a discharge port for discharging printed cut paper, a collection device for collecting the cut paper, and the cut paper. Storage means for storing operation settings for discharging or collecting; and a state in which the cut sheet is held by the pair of conveying rollers at a position where the leading end side of the cut sheet is taken out of the housing from the discharge port. And a control means for driving the pair of transport rollers in the forward or reverse direction according to the operation setting to discharge the cut sheet out of the housing or transport it into the collecting device after a predetermined time has elapsed. It is configured with.
[0019]
In this case, it is preferable that the operation setting to the storage means is specified by a command from the host computer.
[0020]
The storage means preferably stores the setting of the predetermined time, and the setting of the predetermined time in the storage means is designated by a command from a host computer.
[0021]
Further, a system including the host computer of the present invention and a printer controlled according to various commands given by the host computer,
The printer includes a print head for printing on roll paper, a cutting mechanism for cutting the roll paper printed by the print head, a transport unit for transporting the paper cut by the cutting mechanism to a discharge port, and the transport unit Holding means for removably holding the paper conveyed by the discharge port,
Based on a command from the host computer, the printer determines whether the paper held in the discharge port is automatically discharged or collected after a predetermined time has elapsed.
[0022]
According to this configuration, a system can be easily constructed using a printer based on a command from the host computer.
[0023]
The printer controlled according to various commands given by the host computer of the present invention is
The printer includes a print head for printing on roll paper, a cutting mechanism for cutting the roll paper printed by the print head, a transport unit for transporting the paper cut by the cutting mechanism to a discharge port, and the transport unit Holding means for holding the paper conveyed by the discharge port so as to be removable,
According to a command from the host computer, there is provided a determining unit that determines whether the paper held in the discharge port is automatically discharged or collected after a predetermined time has elapsed.
[0024]
Furthermore, it comprises receiving means for receiving data from the host computer as a predetermined time at which the discharge or collection should be determined,
The determining means determines based on the received data.
[0025]
Furthermore, when the receiving unit determines that a certain value is received as the received data, the determining unit does not perform discharge or collection.
[0026]
According to this configuration, the printer can be controlled based on a command from the host computer. In addition, by receiving the specific value, it is possible to easily realize a printer that keeps waiting for the user's removal permanently.
[0027]
Further, the computer-readable recording medium of the present invention determines whether the cut sheet held at the printer outlet is automatically discharged or collected after a predetermined time has elapsed since being held. Sending a command to the printer;
A computer-readable recording medium having recorded thereon a program for executing a step of transmitting a command for determining a predetermined time until discharging or collecting to the printer.
[0028]
According to this configuration, the program software for controlling the printer with commands can be easily provided as program software set up in the host computer.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic side view showing the internal structure of a printer according to an embodiment of the present invention. The printer 10 is a receipt printing printer mounted on an ATM or the like, and stores the roll paper R therein. A print head 12, a paper cutting mechanism 13, a feed-side transport roller (hereinafter referred to as “feed roller”) 14 and a discharge-side transport roller (hereinafter referred to as “the feed roller”) are disposed on a paper path that communicates from the roll paper R storage portion to the roll paper discharge port 11. (Referred to as first and second discharge rollers) 15 and 16. In accordance with a print command from the host, these transport rollers 14 to 16 are appropriately driven, and the roll paper R is sequentially pulled out from the roll portion.
[0030]
As the roll paper R is fed by the feed roller 14, the print head 12 is scanned (driven) and desired characters, symbols, and the like are printed on the roll paper R. The printed area of the roll paper R is further conveyed toward the discharge port 11, and when the rear end portion reaches the position of the auto cutter 13 that is a paper cutting mechanism, the printed region is cut and separated by this, from the discharge port 11. It is supplied to the user as a single receipt.
[0031]
The first discharge roller 15 and the second discharge roller 16 receive the leading end of the roll paper R fed by the feed roller 14 and guide it to the discharge port 11. The transport speed of the roll paper R by the first discharge roller 15 and the second discharge roller 16 is basically set to be the same as the transport speed of the feed roller 14. Accordingly, the feed roller 14 and the first and second discharge rollers 15 and 16 are driven, and the feed roller 14 feeds the leading end of the feed roller 14 and the first and second discharge rollers 15 and 16. The rolled paper R is not subjected to a pulling force or excessive bending.
[0032]
The leading end portion (hereinafter referred to as “paper r”) of the paper cut from the upstream portion of the roll paper R by the paper cutting mechanism 13 is continuously conveyed by the first and second discharge rollers 15 and 16, and substantially the entire area is discharged. It is sent out from the outlet 11. The second discharge roller 16 on the downstream side in the transport direction pinches the paper r with a weaker pressing force than the first discharge roller 15 on the upstream side. As will be described later, the trailing edge of the cut sheet r is finally held by the second discharge roller 16 on the downstream side. Thus, since the paper r is held by the second discharge roller 16 with a weak force, the user can easily pull it out. Regarding the control according to the present invention, the first and second discharge rollers 15 and 16 are driven and stopped independently of the feed roller 14. Details of this control will be described later.
[0033]
The printer 10 also includes a first paper sensor 17 between the first and second discharge rollers 15 and 16, and a second paper sensor 18 on the downstream side of the second discharge roller 16. The first paper sensor 17 detects when the roll paper R is conveyed and the leading end of the roll paper R exceeds the first discharge roller 15 on the upstream side. The first paper sensor 17 also detects this when the trailing edge of the paper r after being cut exceeds this. The second paper sensor 18 detects when the paper r has been completely discharged from the discharge port 11 by the user or when it has been completely recovered by the recovery device. Various controls are executed based on detection signals from the first and second paper sensors 17 and 18.
[0034]
The printer 10 includes a collection device 20 for collecting a cut and separated receipt (paper after cutting). When the receipt is left in the discharge port 11 for a predetermined time, the first and second discharge rollers 15 and 16 reversely feed the receipt based on a command received in advance from the host and pull it into the printer 10. . The receipts that are pulled in are carried into the collection path 21 and are sequentially collected into the collection tray 22. A paper sensor (not shown) is installed in the vicinity of the collection tray 22 in connection with printer control described later. When the receipt in the collection tray 22 is full, this paper sensor detects this and notifies the control unit. In the embodiment, the collection device 20 is unitized and configured to be detachable from the printer 10 body. Therefore, it is possible to adopt a configuration in which the collection device 20 is attached or not attached in accordance with the installation mode of the printer 10.
[0035]
The printer 10 includes a control CPU, EEPROM (rewritable nonvolatile memory such as flash memory), and RAM (not shown). The CPU mounted on the printer 10 controls each mechanism part of the printer according to a control command from a host computer and a control program stored in the EEPROM. In connection with the present invention, the CPU built in the printer drives and controls the feed roller 14, the first and second discharge rollers 15, 16, and the paper cutting mechanism 13, thereby realizing a predetermined paper discharge operation. Further, in connection with the present invention, the control command from the host computer includes a command for setting the collection of paper to the collection device 20 or the discharge of paper from the discharge port 11 (hereinafter referred to as a collection / discharge command). ) Is included. The collection / discharge setting command can be configured as follows, for example.
[0036]
<ESC X 1>
Here, “ESC X” designates a control command for collection / discharge setting, and an argument “1” designates collection as its set value. When the argument is “0”, discharge is designated as a set value. The state specified by the collection / discharge setting command is interpreted by the CPU of the printer 10 and recorded in a predetermined area on the RAM. As will be described later, when the paper r is not taken out by the user and remains in the discharge port 11 even after a predetermined time has elapsed, the set value on the RAM is read out, and the paper is It will be collected or discharged.
[0037]
Further, the control command includes a command for setting a certain time for executing the collection or discharge of the sheet, that is, a time until timeout (hereinafter referred to as a timeout setting command). The timeout setting command can be configured as follows, for example.
[0038]
<ESC Y 60>
Here, “ESC Y” designates a control command for setting a timeout time, and an argument “60” designates the set timeout time (seconds). The state specified by the timeout setting command is interpreted by the CPU of the printer 10 and recorded in a predetermined area on the RAM. The argument can take a value of 10 to 2550 (seconds), for example. In particular, when “0” is specified as an argument, the timeout time becomes invalid, and the printer does not automatically collect or discharge, but continues to wait for the user to be removed forever.
[0039]
FIGS. 2A to 2F are side views of the vicinity of the discharge portion showing each stage from printing on the roll paper R to discharge in the printer 10. Prior to the description of the control according to the present invention, the processing will be described. In the printer 10, in order to prevent the user from pulling the paper during printing, conveyance control is performed so that the paper does not exit from the discharge port until the printing is completed.
[0040]
In other words, when the printer 10 receives data from the host computer, it temporarily stores it in the reception buffer, and sequentially interprets the contents by the interpretation unit realized by the CPU. When the interpreted data is a print command, the CPU drives the print head 12 while feeding the paper r by the feed roller 14, and performs printing according to the print data following the command on the paper surface (FIG. 2). (A)). At this time, the CPU drives the first and second discharge rollers 15 and 16 in synchronization with the feed roller 14 (the movements of these rollers are indicated by arrows).
[0041]
With this printing operation, the paper r is gradually sent toward the discharge port 11, the leading end thereof reaches the first discharge roller 15 on the upstream side, the first discharge roller 15 bites the leading end of the paper, and further It is sent further downstream by the driving force ((B) in the figure). When the leading edge of the paper r exceeds the first discharge roller 15, the first paper sensor 17 installed on the downstream side detects the leading edge of the paper. Upon receiving this detection signal, the CPU temporarily stops driving the first discharge roller 15. Due to the stop of the first discharge roller 15, the vicinity of the leading edge of the paper r is held between the first discharge rollers 15.
[0042]
On the other hand, printing is continued at the print head 12, and the feed roller 14 conveys the paper r until all the print data is printed. As a result, the sheet r having its leading end fixed by the first discharge roller 15 gradually bends as shown in FIG. 2C, and loops between the printing unit and the first discharge roller 15. Is formed.
[0043]
In this way, when the printing length cut between the cutter (printing unit) and the first discharge roller 15 is longer, the first discharge roller 15 is discharged without being stopped before being cut by the cutter 13. If the paper is discharged from the outlet 11, the user misunderstands that printing has been completed and the paper that has come out of the outlet 11 is removed, and the paper becomes messy inside the printer, causing a paper jam. It is for preventing. Such a situation can be prevented by stopping the first discharge roller 15 to hold the paper and preventing the paper from coming out. Further, since the print length (paper length) obtained by the print data is different, if the paper length becomes longer than the distance between the cutter 13 and the first discharge roller 15, a loop is naturally formed.
[0044]
Following the print data for one receipt, a cutting command for cutting the paper r is transmitted from the host computer (this is equivalent to a command indicating the end of printing for one receipt in this embodiment). . At this time, the feed roller 14 is stopped. When the CPU interprets the cutting command for the paper r by the data interpretation unit, the CPU starts a print end process.
[0045]
In the printing end process, the first and second discharge rollers 15 and 16 are first driven. As a result, as shown in FIG. 4D, the leading edge of the sheet r is discharged from the discharge port 11, and accordingly, the loop of the formed sheet r is gradually reduced. Then, the paper cutting mechanism 13 is driven, and the rear end portion of the paper r is cut and separated from the upstream roll paper R ((E) in the same figure). The cutting of the paper r is completed before the formed loop is completely removed. The paper r cut from the roll paper R by the paper cutting mechanism 13 is conveyed out of the discharge port 11 by the first and second discharge rollers 15 and 16 as shown in FIG. Then, when the trailing edge of the cut paper r exceeds the first paper sensor 17, this is detected. When receiving the detection signal, the CPU of the printer 10 stops driving the first and second discharge rollers 15 and 16. As a result, the rear end portion of the paper r is weakly held by the second discharge roller 16 and can be taken out by the user. When the user removes the paper r, the second paper sensor 18 in front of the discharge port 11 detects this and notifies the CPU.
[0046]
FIG. 3 shows a flowchart according to an embodiment of the control of the printer according to the present invention. According to this flowchart, the printer 10 is controlled so that when the user leaves the paper r held on the second discharge roller 16 for a predetermined time, it is recovered to the recovery device or discharged from the discharge port.
[0047]
As shown in FIG. 2F, when the trailing edge of the paper r is detected by the first paper sensor 17 (step 301 in FIG. 3), the first and second discharge rollers 15 and 16 are driven. Is stopped and the trailing edge of the paper r is held weakly by the second discharge roller 16 (step 302). When the first and second discharge rollers 15 and 16 are stopped, a timer for counting the duration time is set and setting information of the timeout time is read (steps 303 and 304). As described above, the time-out time is set in advance by a time-out setting command from the host computer and is written in a predetermined area of the RAM of the printer 10, so that it is read out.
[0048]
If it is determined in step 305 that the paper r is removed from the discharge port 11 by the user before the duration of the timer reaches the read timeout time, that is, the second paper sensor 18 When the passage of the end portion is detected, the recovery / discharge process is not executed, and the process according to this process ends via the process 306.
[0049]
If the set time-out time elapses without the user taking out the paper r, the process proceeds to step 307, and the state on the RAM set by the collection / discharge setting command is read. If it is determined in step 308 that the set discharge method indicates “discharge”, the process proceeds to step 309, where the second discharge roller 16 is driven in the forward direction, whereby the sheet r is discharged to the discharge port 11. Remove from the outside of the housing.
[0050]
On the other hand, if it is determined in step 308 that the set discharging method indicates “collection”, the process proceeds to step 310. In step 310, it is determined whether or not the paper r can be collected by the collecting device 20. For example, when the collecting device 20 is not attached to the printer 10, when the paper in the collecting tray 22 is full, or when a paper jam occurs in the collecting path 21, the collecting is performed. It is judged impossible. If it is determined in step 310 that the collection is possible, the second discharge roller 16 is driven in the reverse direction, whereby the paper r is conveyed to the collection path 21 shown in FIG. Guided (step 311). On the other hand, if it is determined in step 310 that the collection is impossible, the second discharge roller 16 is driven in the forward direction regardless of the read setting, and thereby the sheet r is removed from the discharge port 11. Drop outside the body. As described above, the paper r held in the discharge port 11 is collected by the collection device 20 through the above-described processing, and is discharged outside the housing.
[0051]
As mentioned above, although one embodiment of the present invention has been described with reference to the drawings, the present invention is not limited to the matters shown in the embodiment, and the description of the claims and the detailed description of the invention, as well as the well-known technology. Based on the above, a range in which those skilled in the art can make changes and applications thereof is included. In the above-described embodiment, an example in which the discharge rollers are two pairs of the upstream side and the downstream side has been described. However, the present invention can be realized by a discharge roller including a pair of rollers. In the above-described embodiment, a printer having a configuration in which roll paper is cut to obtain cut paper is shown. However, the present invention can also be applied to a printer including a plurality of stacked cut paper.
[0052]
Further, the setting by the command may be stored in the EEPROM instead of the RAM.
[0053]
In the present invention, when the printer 10 is turned on and is ready for printing, the collection / discharge is performed as a default until ESC X and ESC Y are sent from the host computer. The timeout value is 0 (permanent automatic collection and no discharge).
[0054]
When ESC Y is sent, the timeout value of ESC Y is determined based on the value determined by ESC X, that is, the timeout until collection or the timeout until discharge.
[0055]
The timeout value of the present invention is written in the RAM of the printer 10 if the command ESCY is sent once when the host computer is turned on. Therefore, the timeout value is valid unless the printer 10 is turned off. It is. When the printer of the present invention is applied to, for example, an ATM (automated teller machine), the time-out value is set to be short when there are many people in and out of the station depending on the installation location of the ATM and the usage time of each user is short. can do. Further, when the ATM is not in a city, there are few people and the usage time per user is long, the timeout value can be set long. Further, according to the usage time of the ATM, for example, a time-out value corresponding to the usage status and usage location, such as setting a short daytime and a long nighttime, is easily set in the printer by a control command from the host computer. It becomes possible.
[0056]
【The invention's effect】
As described above, according to the present invention, it is possible to set whether to collect or discharge a cut sheet after a predetermined timeout, and it is possible to execute an appropriate discharge process according to the installation mode of the printer.
[0057]
In addition, the control command from the host computer makes it possible to set / change whether to collect or eject cut sheets, and to set / change the time until timeout. The setting can be changed, and an appropriate setting according to the installation location, operating time, usage mode, and the like of the printer can be performed.
[Brief description of the drawings]
FIG. 1 is a schematic side view showing an internal structure of a printer according to an embodiment of the present invention.
FIG. 2 is a side view of the vicinity of a discharge unit showing each stage of roll paper discharge control in the printer of FIG. 1;
FIG. 3 is a flowchart according to an embodiment of printer control according to the present invention.
[Explanation of symbols]
10 Printer
11 Discharge port
12 Print head
13 Paper cutting mechanism
14 Feed roller
15 First discharge roller
16 Second discharge roller
17 First paper sensor
18 Second paper sensor
20 Recovery device
21 Collection route
22 Collection tray
r paper

Claims (15)

印字後の単票紙を排出する排出口の上流側に備えられた搬送ローラと、前記単票紙を回収する回収装置とを備え、ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタの制御方法において、
前記搬送ローラ対を正方向に駆動して、前記単票紙を前記排出口から筐体外へ搬送する工程と、
前記単票紙の先端側が前記排出口から筐体外へ出された位置で、該単票紙を前記搬送ローラ対により保持した状態を維持する工程と、
所定時間経過後に、予め設定された前記単票紙を排出するか回収するかの動作設定を読み出す工程と、
前記読み出された動作設定が、単票紙を排出する設定である場合に、前記搬送ローラ対を正方向に駆動して、該単票紙を前記筐体外へ排出する工程と、
前記読み出された動作設定が、単票紙を回収する設定である場合に、前記搬送ローラ対を逆方向に駆動して、該単票紙を前記回収装置内へ搬送する工程と、
を備えたプリンタの制御方法。
Control of a printer comprising a transport roller provided upstream of a discharge port for discharging cut sheet paper after printing, and a collecting device for collecting the cut sheet paper, and controlled according to various commands given by a host computer In the method
Driving the pair of transport rollers in the forward direction to transport the cut sheet out of the housing from the discharge port;
Maintaining the state in which the cut sheet is held by the pair of conveying rollers at the position where the leading end side of the cut sheet is taken out of the housing from the discharge port;
A step of reading a preset operation setting for discharging or collecting the cut sheet paper after a predetermined time; and
When the read operation setting is a setting for discharging a cut sheet, driving the pair of transport rollers in a forward direction to discharge the cut sheet out of the housing; and
When the read operation setting is a setting for collecting cut paper, driving the pair of conveyance rollers in the reverse direction to convey the cut paper into the collecting device; and
Control method for a printer comprising:
前記単票紙を排出するか回収するかの動作を指定するコマンドを受信する工程と、
前記コマンドによる指定を、所定の記憶域上に設定する工程と、
を更に備え、前記動作設定を読み出す工程は、前記記憶域上の設定を読み出すものである請求項1記載のプリンタ。
Receiving a command specifying an operation of discharging or collecting the cut sheet; and
Setting the designation by the command on a predetermined storage area;
The printer according to claim 1, further comprising: reading the operation setting.
前記所定時間を指定するコマンドを受信する工程と、
前記コマンドによる指定を、所定の記憶域上に設定する工程と、
を更に備え、前記動作設定を読み出す工程は、前記記憶域上の指定時間及び動作設定を読み出すものである請求項2記載のプリンタ。
Receiving a command designating the predetermined time;
Setting the designation by the command on a predetermined storage area;
The printer according to claim 2, further comprising: reading the operation setting in the storage area.
前記単票紙を回収装置内へ搬送する工程に代えて、
前記読み出された動作設定が、単票紙を回収する設定である場合に、前記回収装置による単票紙の回収が可能か否かを判断する工程と、
単票紙の回収が可能であると判断された場合に、前記搬送ローラ対を逆方向に駆動して、該単票紙を前記回収装置内へ搬送する工程と、
単票紙の回収が不可能であると判断された場合に、前記搬送ローラ対を正方向に駆動して、該単票紙を前記筐体外へ排出する工程と、
を備えた請求項1、2又は3記載のプリンタの制御方法。
Instead of the step of transporting the cut sheet into the collection device,
When the read operation setting is a setting for collecting cut paper, it is determined whether or not the cut paper can be collected by the collecting device; and
When it is determined that the cut sheet paper can be collected, driving the pair of conveying rollers in the reverse direction to convey the cut sheet paper into the collecting device;
When it is determined that the cut sheet cannot be collected, driving the pair of transport rollers in the forward direction and discharging the cut sheet out of the housing;
A printer control method according to claim 1, 2 or 3.
前記回収装置がプリンタに対し着脱可能に構成され、前記単票紙の回収が可能か否かを判断する工程は、前記回収装置が取り外されている場合に、単票紙の回収が不可能であると判断することを含む請求項4記載のプリンタの制御方法。The step of determining whether the collecting device is configured to be detachable from the printer and the cut sheet can be collected is not possible to collect the cut sheet when the collecting device is detached. The method for controlling a printer according to claim 4, comprising determining that the printer is present. 前記単票紙は、連続紙を印字後に切断分離して得られるものである請求項1、2、3、4又は5記載のプリンタの制御方法。6. The printer control method according to claim 1, wherein the sheet paper is obtained by cutting and separating continuous paper after printing. ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタにおいて、
印字後の単票紙を排出する排出口の上流側に備えられた正逆回転可能な搬送ローラと、
前記単票紙を回収する回収装置と、
前記単票紙を排出するか回収するかの動作設定を記憶する記憶手段と、
前記単票紙の先端側が前記排出口から筐体外へ出された位置で、該単票紙を前記搬送ローラにより保持した状態を維持すると共に、所定時間経過後に、前記動作設定に従って前記搬送ローラを正又は逆方向に駆動して、該単票紙を前記筐体外へ排出させ、又は前記回収装置内へ搬送させる制御手段と、
を備えたプリンタ。
In a printer controlled according to various commands given by a host computer,
A transport roller provided on the upstream side of a discharge port for discharging cut sheet paper after printing;
A collecting device for collecting the cut sheet;
Storage means for storing an operation setting for discharging or collecting the cut sheet;
At the position where the leading edge side of the cut sheet is taken out of the housing from the discharge port, the state where the cut sheet is held by the transfer roller is maintained, and after a predetermined time has passed, the transfer roller is moved according to the operation setting. Control means for driving in the forward or reverse direction to discharge the cut sheet out of the housing or to transport it into the collecting device;
With printer.
前記記憶手段への動作設定が、ホストコンピュータからのコマンドにより指定されるものである請求項7記載のプリンタ。8. The printer according to claim 7, wherein the operation setting in the storage means is designated by a command from a host computer. 前記記憶手段は、前記所定時間の設定を記憶し、
前記記憶手段への前記所定時間の設定が、ホストコンピュータからのコマンドにより指定されるものである請求項8記載のプリンタ。
The storage means stores the setting of the predetermined time,
9. The printer according to claim 8, wherein the setting of the predetermined time in the storage means is designated by a command from a host computer.
前記単票紙は、連続紙を印字後に切断分離して得られるものである請求項7、8又は9記載のプリンタ。The printer according to claim 7, 8 or 9, wherein the cut sheet paper is obtained by cutting and separating continuous paper after printing. ホストコンピュータと、該ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタとを含むシステムにおいて、
前記プリンタは、ロール紙に印字する印字ヘッドと、該印字ヘッドにより印字されたロール紙を切断する切断機構と、該切断機構により切断された用紙を排出口まで搬送する搬送手段と、該搬送手段により搬送された用紙を除去可能に前記排出口に保持する保持手段と、を備え、
前記ホストコンピュータからの指令に基づいて、前記プリンタは、前記排出口に保持された前記用紙を、所定時間経過後、自動的に排出するか、または、回収するか決定することを特徴とするシステム。
In a system including a host computer and a printer controlled according to various commands given by the host computer,
The printer includes a print head for printing on roll paper, a cutting mechanism for cutting the roll paper printed by the print head, a transport unit for transporting the paper cut by the cutting mechanism to a discharge port, and the transport unit Holding means for removably holding the paper conveyed by the discharge port,
Based on a command from the host computer, the printer determines whether the paper held in the discharge port is automatically discharged or collected after a predetermined time has elapsed. .
ホストコンピュータにより与えられた各種コマンドに従って制御されるプリンタにおいて、
前記プリンタは、ロール紙に印字する印字ヘッドと、該印字ヘッドにより印字されたロール紙を切断する切断機構と、該切断機構により切断された用紙を排出口まで搬送する搬送手段と、該搬送手段により搬送された用紙を除去可能に前記排出口に保持する保持手段を備え、
前記ホストコンピュータからの指令に基づいて、前記排出口に保持された前記用紙を、所定時間経過後、自動的に排出するか、または、回収するか決定する決定手段を有することを特徴とするプリンタ。
In a printer controlled according to various commands given by a host computer,
The printer includes a print head for printing on roll paper, a cutting mechanism for cutting the roll paper printed by the print head, a transport unit for transporting the paper cut by the cutting mechanism to a discharge port, and the transport unit Holding means for holding the paper conveyed by the discharge port so as to be removable,
A printer comprising: a determination unit that determines whether the paper held in the discharge port is to be automatically discharged or collected after a lapse of a predetermined time based on a command from the host computer. .
前記ホストコンピュータから、前記排出または回収を決定すべき所定時間としてのデータを受信する受信手段を備え、
前記決定手段は、前記受信したデータに基づいて決定することを特徴とする請求項12記載のプリンタ。
Receiving means for receiving data from the host computer as a predetermined time for determining the discharge or collection;
The printer according to claim 12, wherein the determining unit determines based on the received data.
前記受信したデータとして、ある特定の値を受信したと前記受信手段が判断したとき、前記決定手段は、排出も回収も行わないことを特徴とする請求項13記載のプリンタ。14. The printer according to claim 13, wherein when the receiving unit determines that a certain value is received as the received data, the determining unit does not perform discharge or collection. プリンタの排出口に保持された切断後の用紙を、保持されてから所定時間経過後、自動的に排出するか、または、回収するかを決定するコマンドを前記プリンタに送信するステップと、
前記排出または回収までの所定時間を決定するコマンドを前記プリンタに送信するステップとを実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
Transmitting a command to the printer for determining whether to automatically discharge or collect the cut paper held at the discharge port of the printer after a predetermined time has elapsed since being held;
A computer-readable recording medium having recorded thereon a program for executing a step of transmitting a command for determining a predetermined time until discharging or collecting to the printer.
JP29440199A 1999-10-15 1999-10-15 Printer and control method thereof Expired - Fee Related JP3788137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29440199A JP3788137B2 (en) 1999-10-15 1999-10-15 Printer and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29440199A JP3788137B2 (en) 1999-10-15 1999-10-15 Printer and control method thereof

Publications (2)

Publication Number Publication Date
JP2001114464A JP2001114464A (en) 2001-04-24
JP3788137B2 true JP3788137B2 (en) 2006-06-21

Family

ID=17807271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29440199A Expired - Fee Related JP3788137B2 (en) 1999-10-15 1999-10-15 Printer and control method thereof

Country Status (1)

Country Link
JP (1) JP3788137B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5483471B2 (en) * 2011-07-15 2014-05-07 エヌイーシーコンピュータテクノ株式会社 Printing apparatus, printing apparatus control method, and control program
JP7268414B2 (en) * 2019-03-14 2023-05-08 ブラザー工業株式会社 printer

Also Published As

Publication number Publication date
JP2001114464A (en) 2001-04-24

Similar Documents

Publication Publication Date Title
JP5136659B2 (en) Printer, control method therefor, and information recording medium
JPH08268638A (en) Paper sheet discharging device
CN105291608A (en) Printing apparatus, and control method for printing apparatus
US5954438A (en) Sheet presenter and method of using same
US8066278B2 (en) Printer
JP4517926B2 (en) Printer recording paper loading method
JP3493336B2 (en) Paper ejection device and printer
JP3788137B2 (en) Printer and control method thereof
JP3880510B2 (en) Recording apparatus and recording medium type discrimination method
JPH10273260A (en) Paper discharging device
JP2532178B2 (en) Positioning mechanism for printing paper
JP3770002B2 (en) Printer and control method thereof
JPH1135208A (en) Paper ejecting device
EP0204452B1 (en) Recording medium feed apparatus
JP3855564B2 (en) Printer and control method thereof
JP5885246B2 (en) Receipt processing apparatus, receipt clogging prevention method, and receipt discharge control program
JPH0543127A (en) Issuing device for receipt and the like
JP4759796B2 (en) Printer, control method therefor, and information recording medium
US20110215130A1 (en) Sheet handling apparatus and sheet collecting method
JP2008094555A (en) Sheet storage device and recorder
JP2018154503A (en) Recording device
JP7236026B2 (en) printer
JP6916850B2 (en) Recording device, control method of recording device, program and storage medium
US20220194105A1 (en) Sheet stacking apparatus, printing apparatus, control method, and storage medium
JP4770008B2 (en) Printer, paper jam handling method, and information recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060320

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140407

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees