JP4415362B2 - Printing apparatus, control method, and information recording medium - Google Patents

Printing apparatus, control method, and information recording medium Download PDF

Info

Publication number
JP4415362B2
JP4415362B2 JP2000104966A JP2000104966A JP4415362B2 JP 4415362 B2 JP4415362 B2 JP 4415362B2 JP 2000104966 A JP2000104966 A JP 2000104966A JP 2000104966 A JP2000104966 A JP 2000104966A JP 4415362 B2 JP4415362 B2 JP 4415362B2
Authority
JP
Japan
Prior art keywords
recording medium
printing
paper
detector
printing paper
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
JP2000104966A
Other languages
Japanese (ja)
Other versions
JP2001287861A (en
JP2001287861A5 (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 JP2000104966A priority Critical patent/JP4415362B2/en
Publication of JP2001287861A publication Critical patent/JP2001287861A/en
Publication of JP2001287861A5 publication Critical patent/JP2001287861A5/ja
Application granted granted Critical
Publication of JP4415362B2 publication Critical patent/JP4415362B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、現金自動預貯金器(ATM)、現金自動支払機(CD)、販売時点管理システム(POSシステム)、KIOSK端末装置等に使用するプリンタに関する。特に、電源投入時に記録媒***置を初期調整するプリンタ及びその初期調整方法に関する。尚、このようなプリンタでは、文字の他に図形、絵、写真等もプリント可能であるが、本明細書(特許請求の範囲を含む)では文字記号の印字だけでなく図形等を印刷する場合も含めて「印字」という用語を使用し、図形等印字可能なプリンタも含めて「印字装置」と称するものとする。
【0002】
【従来の技術】
ATM、CD、POS等では、利用者に利用明細書、レシート等を発行するためのプリンタを内蔵している。また、最近では、コンビニエンスストア等に各種エンターテイメント関連のイベントの予約、切符の発行等の端末機(KIOSK端末)が置かれており、このようなKIOSK端末は、予約明細書の発行等に使用するプリンタを内蔵している。このようなプリンタでは、通常、連続した帯状の未使用印字用紙を内蔵しており、ATM、POS等の制御部(ホスト)からの要求に応じて、未使用印字用紙上に必要事項を印字する。印字が終了すると印字済みの部分がカッタ装置等で切り取られて利用明細書またはレシートとして外部へ発行される。
【0003】
印字は、ATM等を制御しているコンピュータ等(ホスト)から受信したデータに基づき、印字ヘッドにより印字用紙上にインクを転写または噴出することにより行われる。また、感熱紙または感圧紙が使用される場合には、印字ヘッドによりこれらの用紙に熱または圧力を加えて発色させることにより印字する。印字ヘッドには、複数の印字エレメントが備えられ、これらの必要エレメントを選択駆動することにより文字図形等の印字が行われる。印字エレメントとしては、発熱体、インク噴出装置、加圧ワイヤ等が利用されるが、印字エレメントの構成及び印字データの送受信については、本発明の理解にはあまり重要ではないので、これ以上の説明はしない。
【0004】
従来、これらのプリンタにおいては、印字が終わるとカッタ装置等により印字用紙の印字完了部分が切り取られて、利用明細書またはレシート等として外部に発行される。他方印字用紙の未使用部分は切り取られた位置に停止した状態で、次の印字命令を待っている。
【0005】
プリンタは、印字命令を受信すると、印字開始位置が印字ヘッドの下に整合するように印字用紙を移送した後に、印字を開始する。利用明細書またはレシート等の所定の位置に正確に印字するためには、未使用印字用紙の先端部が予め定められた所定の位置(これを基準位置と呼ぶ)に正確に停止していることが重要である。レシート等の印字開始位置は、基準位置から印字ヘッドまでの距離をもとに算出されて印字用紙の移送距離が制御されるからである。
【0006】
もし、印字用紙の先端部が基準位置になければ、印字開始位置がずれてしまい、レシート上端部分に広い空白を生じること、又は、最初の行の印字が印字用紙から外れて印字されない等、印字開始位置のずれによる印字異常が発生する。従って、未使用の印字用紙の先端部は基準位置に正確に停止していなければならない。
【0007】
図1に従来の印字用紙の搬送機構の概略を示す。印字用紙は、所定の搬送路内に設けられた駆動ローラにより搬送される。駆動ローラは印字用紙を正確に搬送するために、通常ステップモータにより駆動される。
【0008】
【発明が解決しようとする課題】
しかしながら、動作途中に何らかの異常により電源が遮断されること、又は誤って電源を切る等の誤操作を行うことがあり、そのような場合には印字用紙は動作の途中で停止しているので、印字用紙の位置調整が必要となる。また、電源をオフしているときに、オペレータにより機器メンテナンス等のための操作が行われた場合には、電源投入時に印字用紙の先端位置が所定の基準位置からずれてしまう。その他、伝達機構の遊びが印字用紙の位置ずれの要因となることもある。すなわち、モータから駆動ローラへの回転運動の伝達には複数の歯車又は歯付ベルト等が使用されているが、歯車の噛合部分の遊びによっても印字用紙の先端位置のずれが生じることがある。いずれの場合であっても、印字用紙の位置のずれは、上述のような印字異常を引き起こす要因となる。
【0009】
また、操作ミス又は故障等のために印字途中で電源が切断されたり操作が停止した場合に、再度印字し直したり、直前の印字を中止して全く別の印字を行うことがある。この場合に、印字用紙にその中止した直前の印字が残っているのは望ましくないので、何らかの処理が必要である。しかし、単純にレシートの切断を行うと、搬送ローラの間隔より短い長さの印字用紙片ができてしまう可能性がある。このような短い印字用紙片は搬送できないので、紙ジャムの原因となる。従って、不用意に印字用紙を切断することは必ずしも好ましくないことがある。
【0010】
そこで、本発明は、印字用紙の先端位置ずれを電源投入時または所定の調整信号により初期調整する印字装置または方法を提供することを目的とする。さらに、本発明の他の目的は、初期調整の際に印字済み部分が存在する場合には、所定の長さだけ搬送した後に記録媒体をカットして初期調整を行う印字装置及び印字制御方法を提供することを目的とする。
【0011】
【課題を解決するための手段】
上記目的を達成するため、本発明の第1の態様にかかる印字制御方法は、(a)印字装置内に保有する記録媒体の位置調整を指示する位置調整信号に基づき、記録媒体搬送路内の所定の基準位置と記録媒体排出口との間に設けられた記録媒体検知器の検知状態を確認する工程と、(b)記録媒体検知器が非検知状態のときに、第1の調整動作により記録媒体の先端を基準位置に整合させるように記録媒体を搬送する工程と、(c)記録媒体検知器が検知状態のときに、第1の調整動作と異なる第2の調整動作により記録媒体の先端を基準位置に整合させるように記録媒体を搬送する工程とを備えることを特徴とする。
【0012】
本態様により、位置調整信号と記録媒体検知器の検知状態応じて、記録媒体の位置を基準位置に調整し直すことが可能となった。
【0013】
また、本発明の第2の態様にかかる印字制御方法は、第1の調整動作が、記録媒体を記録媒体検知器が記録媒体を検知するまで記録媒体検知器の方向(順方向)に搬送する順送り工程と、記録媒体検知器が記録媒体を検知した後に記録媒体を記録媒体検知器と反対の方向(逆方向)に搬送して記録媒体の先端部を基準位置に停止させる逆送り工程とからなり、第2の調整動作が、記録媒体を順方向に所定の距離だけ搬送した後に切断する工程と、切断した記録媒体のみを順方向に搬送して記録媒体排出口から排出する排出工程とからなることを特徴とする。
【0014】
この態様により、記録媒体検知器が非検知状態のときは、記録媒体を一旦前方に記録媒体を送り出して用紙先端を検知させることにより用紙先端位置を確認した後に確実に基準位置まで搬送することが可能となる。さらに記録媒体検知器が検知状態にあるときは、記録媒体を前方に所定量搬送してから切断することにより、短い記録媒体の切片が作成されることを防止しつつ用紙先端を基準位置に揃えることが可能となった。逆送により記録媒体を基準位置に停止させる手段としては、基準位置近くに他の検知器を設けて位置制御を行う方法、または、順送りで停止した位置から基準位置までの距離を算出しておき、その距離だけ逆送させる方法等種々の手段を採ることが可能である。
【0015】
本発明の第3の態様にかかる印字制御方法は、記録媒体検知器により検知された位置から基準位置までの長さに相当する所定の距離だけ、記録媒体を逆方向に搬送することにより前記用紙先端を基準位置に停止させることを特徴とする。この態様ににより、検知器が1個でも記録媒体を基準位置に正確に停止させることが可能となる。
【0016】
本発明の第4の態様にかかる印字制御方法は、第1の調整動作における逆送り工程が、記録媒体検知器から基準位置までの距離を僅かに超える距離に相当する長さだけ記録媒体を逆方向に搬送して停止する工程と、その後記録媒体を順方向に僅かに搬送して基準位置に記録媒体の先端を停止する工程とを備えることを特徴とする。
【0017】
この態様により、搬送方向の切り替えに伴なう遊び量をも調整して基準位置に正確に停止させることが可能となった。
【0018】
本発明の第5の態様にかかる印字制御方法は、記録媒体がステップモータにより搬送され、記録媒体の搬送量はステップモータの回転に伴なって生成されるステップの数によって制御されることを特徴とする。
【0019】
本発明の第6の態様にかかる印字制御方法は、位置調整信号が、印字装置への電源投入の度に出力されることを特徴とする。
【0020】
この態様により、誤ってまたは故障により動作途中で電源が切断された場合であっても、電源が投入されたときに自動的に記録媒体先端の位置調整が行われるので、正しい印字が可能となる。
【0021】
本発明の第7の態様にかかる印字制御方法は、印字更に、位置調整信号を受信したときに、第1の調整動作の前に記録媒体を搬送可能な状態かどうかを確認し、搬送不能であるときには第1及び第2の調整動作を中止する工程を備えたことを特徴とする。
【0022】
本発明の第8の態様にかかる印字制御方法は、
(a)記録媒体の位置調整を指示する位置調整信号を受信したときに、記録媒体搬送路内の所定の基準位置と記録媒体排出口との間に設けられた第1の記録媒体検知器と、第1の記録媒体検知器と記録媒体排出口の間であって記録媒体排出口の近くに設けられた第2の記録媒体検知器の各々の検知状態を確認する工程と、
(b)第1及び第2の記録媒体検知器の双方が非検知状態のときに、印字装置内に保有している記録媒体の先端を基準位置に整合させるように記録媒体を搬送して第1の調整動作を行う工程と、
(c)第1の記録媒体検知器が検知状態のときに、第1の調整動作と異なる第2の動作に基づき記録媒体の先端を基準位置に整合させるように前記記録媒体を搬送して調整を行う工程と、
(d)第1の記録媒体検知器が非検知状態でありかつ第2の記録媒体検知器が検知状態のときに、第1及び第2の調整動作と異なる第3の調整動作に基づき記録媒体の先端を前記基準位置に整合させるよう記録媒体を搬送して調整を行う工程を備えることを特徴とする。
【0023】
本発明の第9の態様にかかる印字制御方法は、第1の調整動作が、記録媒体を前記第1の記録媒体検知器が記録媒体を検知するまで第1の記録媒体検知器の方向(順方向)に搬送する順送り工程と、第1の記録媒体検知器が記録媒体を検知した後、記録媒体を第1の記録媒体検知器と反対の方向(逆方向)に搬送して記録媒体の先端部を基準位置に停止させる逆送り工程とを備え、第2の調整動作が、記録媒体を順方向に所定の距離だけ搬送した後に切断する切断工程と、切断した記録媒体のみを順方向に搬送して記録媒体排出口から排出する第1の排出工程とを備え、第3の調整動作が、第2の記録媒体検知器で検知した記録媒体を第2の記録媒体検知器が非検知状態となるまで順方向に搬送して排出口から排出する第2の排出工程と、それに引き続き第1の調整動作を行う工程とを備えることを特徴とする。
【0024】
本発明の第10の態様にかかる印字制御方法は、第1の調整動作の前記逆送り工程は、第1の記録媒体検知器から基準位置までの距離に相当する長さだけ記録媒体を逆方向に搬送させて停止する工程を備えることを特徴とする。
【0025】
本発明の第11の態様にかかる印字制御方法は、第1の調整動作の前記逆送り工程は、第1の記録媒体検知器から基準位置までの距離を僅かに超える距離に相当する長さだけ記録媒体を逆方向に搬送して停止する工程と、その後記録媒体を順方向に僅かに搬送して基準位置に記録媒体の先端を停止する工程とを備えることを特徴とする。
【0026】
本発明の第12の態様にかかる印字制御方法は、各工程において記録媒体がステップモータにより搬送され、各工程における記録媒体の搬送量がステップモータの回転に伴ない生成されるステップの数により制御されることを特徴とする。
【0027】
本発明の第13の態様にかかる印字制御方法は、位置調整信号が前記印字装置への電源投入の度に出力されることを特徴とする。
【0028】
本発明の第14の態様にかかる印字制御方法は、記録媒体の印字制御方法が更に、位置調整信号を受信したときに、記録媒体が搬送可能であるかどうかを確認し、搬送不能であるときには第1、第2及び第3の調整動作を中止する工程を備えたことを特徴とする。
【0029】
搬送不能であるときとは、例えば記録媒体が無い状態であるとか、記録媒体が搬送可能な状態にセットされていない状態(オートロード不良)等により発生する。このような場合には、記録媒体の搬送ができないので初期調整動作ができないため、初期動作は行わない。
【0030】
本発明の第15の態様にかかる印字装置は、(a)印字装置内に保有している記録媒体を、所定の搬送路内において搬送する記録媒体搬送手段と、(b)搬送路内の予め定められた基準位置の近くに設けられ、記録媒体を切断する用紙切断部と、(c)基準位置と前記搬送路の終端である記録媒体排出口との間に配置されて、記録媒体の存在を検知する少なくとも1つの記録媒体検知器と、(d)記録媒体検知器、記録媒体搬送手段、及び記録媒体切断部に接続されており、位置調整信号を受信したときに、接続された記録媒体検知器の検知状態に応じて記録媒体搬送手段及び用紙切断部を制御して記録媒体の位置調整動作を制御する位置調整制御手段とを備えることを特徴とする。
【0031】
本発明の第16の態様にかかる印字装置は、位置調整制御手段が、記録媒体検知器が検知状態のときには、(f)記録媒体検知器が記録媒体を検知するまで記録媒体を記録媒体検知器の方向(順方向)に搬送し、その後記録媒体を記録媒体検知器と反対の方向(逆方向)に搬送する逆送り搬送を行って記録媒体の先端部を基準位置に整合する位置に停止させるよう記録媒体搬送手段を制御する第1の調整動作を行い、記録媒体検知器が非検知状態のときには、(g)記録媒体を順方向に所定の距離だけ搬送した後に切断し、当該切断した記録媒体のみを順方向に搬送して記録媒体排出口から排出するように記録媒体搬送手段及び用紙切断部を制御する第2の調整動作を行うことを特徴とする。位置調整制御手段が、第1の調整動作の逆送り搬送において、記録媒体検知器から準位置までの距離を僅かに超える距離に相当する長さだけ記録媒体を逆方向に搬送して停止させ、その後記録媒体を順方向に僅かに搬送して基準位置に整合させて記録媒体の先端を停止させるよう記録媒体搬送手段を制御することを特徴とする。
【0032】
本発明の第17の態様にかかる印字装置は、印字装置が、第1の記録媒体検知器と、当該第1の記録媒体検知器と前記記録媒体排出口の間であって当該記録媒体排出口の近くに設けられた第2の記録媒体検知器とを有しており、位置調整制御手段は、第1及び第2の記録媒体検知器のいずれも非検知状態のときに第1の調整動作を行い、第1の記録媒体検知器が検知状態であるときは第2の調整動作を行い、第2の記録媒体検知器のみが検知状態であるときには第3の調整動作を行うことを特徴とする。
【0033】
本発明の第18の態様にかかる印字装置は、第3の調整動作が、第2の記録媒体検知器で検知中の記録媒体のみを第2の記録媒体検知器が非検知状態となるまで順方向に搬送し、その後前記第1の調整動作を実行するよう記録媒体搬送手段を制御することを特徴とする。
【0034】
本発明の第19の態様にかかる印字装置は、記録媒体搬送手段が、搬送ローラと当該搬送ローラを駆動するステップモータとを備えることを特徴とする。
【0035】
本発明の第20の態様にかかる印字装置は、動作選択手段が、位置調整信号を前記印字装置へ電源が投入される度に受信することを特徴とする。
【0036】
本発明の第21の態様にかかる印字装置は、記録媒体切断部と記録媒体排出口との間に配置され、記録媒体切断部によって切断された記録媒体を記録媒体排出口に搬送するプレゼンタ部を有し、記録媒体検知器は、プレゼンタに配置されてなることを特徴とする。従って、本態様によると、新たに初期調整専用の記録媒体検知器を設ける必要がないという効果を有する。
【0037】
【発明の実施の形態】
以下、図面を参照しつつ、本発明の実施形態を説明する。
【0038】
図1は、本発明の適用されるプリンタ(印字装置)の構成の要部を示す図であり、記録媒体の一例としての印字用紙ロール34を保管している印字用紙保管部から印字用紙排出口28までの印字用紙搬送路2を簡略化して示している。
【0039】
この実施例では、プレゼンタ26を有する印字装置の例を示している。プレゼンタ26とは、印字用紙30が印字中に排出口28から印字装置の外に出ていかないように印字用紙30の搬送を制御する機構である。これにより、印字の最中に印字用紙30が外部から無理やり引き出され、プリントヘッド等が破損したり、正確な印字ができなくなったりすることを防止している。通常、プレゼンタ26は、1個以上の記録媒体検知器の一例としての用紙検知器を有しており、本実施例ではこのプレゼンタ26の用紙検知器を利用して印字用紙30の位置の初期調整を行う場合を示している。本実施例では、プレゼンタ26は用紙検知器40、44を2個有しており、第1の搬送ローラ10及び第2の搬送ローラ14の2組を有している。
【0040】
図中、34は印字用紙ロールであり、帯状に連続した印字用紙30を巻取り、ロール形状にしたものである。印字用紙30は、初期設定状態において、印字用紙先端部32が印字ヘッド20の下を通過する位置まで印字用紙ロール34から引き出された状態でセットされる。印字用紙30は、印字ヘッド20の下にあるプラテンローラ8により、プレゼンタ26の方向に搬送される。図1の印字装置では、プレゼンタ26の搬送ローラ10、14まで、搬送ローラが設けられていないが、正確な印字用紙30の搬送を行う等の必要に応じて、この間に搬送ローラを設けることも可能である。
【0041】
プレゼンタ26に設けられた搬送ローラ10、14には、それぞれ対向する位置に第1の従動ローラ12と第2の従動ローラ16が設けられており、搬送ローラ10、14と従動ローラ12、16で印字用紙30を狭持しつつ回転することにより印字用紙30を移送する。
【0042】
プランテンローラ8及び搬送ローラ10、14はモータで回転駆動される。駆動モータは、正確な印字用紙30の搬送のためにステップモータ(ステッピングモータともいう)を使用するのが好ましい。本実施例では、プラテンローラ8は駆動第1のモータ4で駆動しており、搬送ローラ10、14はプレゼンタ26用駆動モータ6(以下駆動第2のモータ6と称する)で駆動している。この実施例ではプレゼンタ26を利用するものであるため、2個の駆動モータ4及び6を用いているが、1個の駆動モータで全てプラテンローラ8、搬送ローラ10、14等を駆動するよう構成してもよく、必要に応じて3個以上のモータを用いてもよい。
【0043】
モータ4、6は正逆双方に回転可能であり、印字用紙30を図1の左方向又は右方向の双方に移送させるようプラテンローラ8及び搬送ローラ10、14を回転駆動させることができる。駆動モータ4、6は、搬送制御手段3によりその動作を制御される。
【0044】
プレゼンタ26の搬送ローラ10、14の左側には印字用紙30の存在を検知する用紙検知器40、44が設けられている。用紙検知器40、44は、例えば光センサでよく、各光センサに対応して光源(発行ダイオード等)42、46が設けられる。印字用紙30が光源42、46とこれらに対応する用紙検知器40、44との間に存在すると、光源からの光が遮断されるため、用紙検知器40、44は印字用紙30の存在を検知することができる。用紙検知器40、44の信号は搬送制御手段3に送られ、これに基づいて印字用紙30の搬送制御を行う。
【0045】
印字用紙30への印字は印字制御部18に基づき印字ヘッド20により行われる。所定の印字が終わるとカッタ24により印字用紙30が切断されて、切断された印字済み記録紙は搬送ローラ10、14等により排出口28の方向に移送される。
【0046】
図2を用いて、印字の最中及び印字終了後に印字用紙30が通常どのように移送されるかについて説明する。
【0047】
印字前には、図1に示す位置に印字用紙30の先端32が停止している。この実施例では、印字用紙30をカットした位置を基準位置として説明するが、印字用紙30がカットされた位置から次の印字開始動作に備え所定量移動させた位置を基準位置として設定することもできる。
【0048】
印字装置が印字コマンド等の印字動作を伴うデータを受信し実行を開始すると、まず搬送制御部が印字開始位置まで印字用紙30を移送して、印字制御部18の制御の下に印字ヘッド20により印字が開始される。図2(a)に示すように、各行の印字が終了するたびに搬送制御手段3は駆動モータ4、6を駆動して印字用紙30を左方向に移送する。
【0049】
印字用紙30の先端部32を用紙検知器40が検知すると、第2のモータ6が停止し搬送ローラ10による印字用紙30の移送は停止される。一方、所定の印字が終了するまで印字は継続され、印字用紙30はプラテンローラ8により左方向に移送されるため、図2(b)に示すように、印字用紙30は印字ヘッドアセンブリ48とプレゼンタ26の間に押し出されて印字用紙30の紙剛性により上方向に***していく。以後、この状態をストック状態と称する。
【0050】
印字が終了すると、図2(c)に示すように、駆動モータ4を停止し、カッタ24により印字用紙30を切断する。その後、図2(d)に示すように、第2のモータ6のみを駆動して切断された印字済みの印字用紙3031を用紙排出口28の方に移送する。用紙検知器40が非検知の状態になると第2のモータ6が停止する。この状態は、図2(e)に示すように、印字済みの印字用紙31(レシート等)が第2の搬送ローラ14と第2の従動ローラ16に挟まれた状態で保持されており、外部から取り出されるのを待っている状態である。
【0051】
上述の説明からわかるように、印字開始前に印字用紙先端32が所定の基準位置に停止していることが、正確な印字を行うために非常に重要である。搬送制御手段3は印字用紙30の先端部32が基準位置に停止していることを前提として、印字用紙30を印字開始位置が印字ヘッド20の直下に位置決めされるよう移送制御する。従って、印字用紙30の先端部32が所定の基準位置33にないときには印字開始位置がずれてしまい、最初の印字行が所定の位置に正しく印字されないことになる。図3に、印字用紙先端部32が基準位置に停止していなかったために、印字位置がずれて印字された例を示す。印字用紙位置がずれていると、番号37又は38で示すように、レシート31の本来の印字開始位置36よりも上又は下に印字されることになる。
【0052】
このように印字用紙30の先端部32が所定の基準位置からずれる原因としては、動作途中に何らかの原因(故障又は操作ミス等)により電源が切断される場合、エラー発生により動作が途中で停止してしまう場合等が考えられる。本発明は、このような印字用紙先端部32のずれを修正するため、電源投入時、又はリセット信号により、印字用紙30の先端部32が所定の基準位置に停止するように印字用紙位置を初期調整するものである。
【0053】
次に図4及び図5を用いて、本発明の電源投入時に行われる印字用紙30の位置を初期調整する基本動作を説明する。図4は、本発明の一実施例による初期調整の基本動作を示すフローチャートであり、図5(a)乃至(e)は、その具体的な動きを説明するための図である。今、図5(a)のように印字用紙30の先端部32が基準位置33からずれた状態で電源が切断されたとする。本実施例では、印字用紙30の位置がずれているかいないかにかかわらず、電源投入時に必ず印字用紙位置の初期調整が行われるものとする。
【0054】
この状態で電源が投入されると(図4工程50)、まず用紙検出器40が印字用紙30を検出しているかどうかが確認される(工程51)。印字用紙30を検出していると、▲1▼に分岐し図6のフローチャートを実行する。
【0055】
図5(a)の状態では、用紙検出器40が印字用紙30を検出していないので、次の処理工程52に進み、用紙検知器44が印字用紙30を検知しているかどうかが確認される。もし印字用紙30を検知していたら、分岐▲2▼から図7の処理を行う。今、用紙検知器44も印字用紙30を検知していないので、次の工程で、搬送制御手段3がモータ4、6を図5(b)に示すように反時計回りに回転駆動させて、印字用紙30を順送り方向(用紙排出口28の方向)に移送する(工程53)。
【0056】
印字用紙30が順方向(図5の左方向)に移送されることにより、用紙検知器40が印字用紙30の先端部32を検知したかどうかがチェックされ(工程54)、用紙検知器40が印字用紙30を検知するまで順方送りが続けられる(工程53、54)。用紙検知器40が印字用紙30を検知すると、図5(c)に示すように両モータ4、6は停止される。次に、モータ4、6は逆方向に回転(時計回りに回転)されて印字用紙30を逆送り方向(印字ヘッドの方向)に移動させる(工程55)。その移送状態を図5(d)に示す。
【0057】
印字用紙30が用紙検知器40から所定の距離を移動するまで、モータ4、6は時計回りに回転駆動されて(工程55、56)、所定距離を移動すると両モータ4、6は停止される(工程56、57)。この際の印字用紙30の移動距離は、用紙検知器40が印字用紙30を検出した後の第1のモータ4の回転量(第1のモータ4のステップ数等)により算出することができる。その後、第1のモータ4を僅かに順送り方向(反時計回り)に回転させて所定の基準位置に停止させる(工程58、59)。
【0058】
最後に第1のモータ4を順方向に駆動させるのは、第1のモータ4を順方向に僅かに駆動することにより、回転方向を順方向に切換えた時に生じる第1のモータ4とプラテンローラ8間の伝達歯車の遊びを無くしておくためである。これにより、印字の際に順方向へ印字用紙30を搬送するためにモータを回転駆動した時、伝達歯車の遊びにより生じる僅かな移送のずれをなくすようにすることができる。伝達歯車の僅かな遊びによって印字用紙30の搬送にずれが生じると、最初の印字ドット行と2番目のドット行が一部重なって印字される等により不鮮明な印字となるおそれがあるので、これを防止したものである。
【0059】
以上説明したような、用紙検知器40のみが印字用紙30を検知している状態のときに行われる動作、すなわち、「用紙検知器40が検知するまで印字用紙30を順送りし、その後印字用紙30を逆送りして印字用紙先端部31を基準位置に停止させる初期調整動作」を、本発明では「用紙先端検出動作」と呼ぶ。
【0060】
次に、電源投入時に用紙検知器40が印字用紙30を検知している場合について、図6、図7、図8及び図9を用いて説明する。図6は、電源投入時に用紙検知器40が印字用紙30を検知している場合の初期調整動作処理を示すフローチャートであり、図7は、用紙検知器40及び44の双方が印字用紙30を検知している場合に、図4の工程52から分岐される▲2▼の処理を示している。図8は、用紙検知器40が印字用紙30を検知しているときに印字用紙30がどのような位置にあるかを種々示している。図9は、図6のフローチャートに基づく処理を行う際の印字用紙30の動きを説明するための図である。
【0061】
図4の工程51で用紙検知器40が印字用紙30を検知している場合には、分岐▲1▼から図6の処理が行われる。用紙検知器40により印字用紙30が検知されている代表的な例を、図8を用いて説明する。図8(a)乃至(d)は、プリンタが動作中に何らかの原因で電源が切断された場合、又は異常状態のため動作が停止したために、印字用紙30が用紙検出器40に検出された状態になっている種々のケースを示している。
【0062】
図8(a)は印字の途中で、印字用紙30の先端部32が用紙検知器40に検知された直後の状態を示している。図8(b)は、用紙検知器40により印字用紙30の先端部32が検知された後に印字が続けられて、印字用紙30のストック状態を示している。
【0063】
図8(c)及び(d)は、印字が終わって印字用紙30が切断された後、印字済みのレシート31を発行するために、排出口28の方向に印字済みのレシート31を移送中に停止した状態を示している。
【0064】
図8(a)乃至(d)の場合は、いずれも用紙検知器40が印字用紙30を検知しているため、搬送制御手段3により図4の工程52から▲2▼に分岐し、図6の処理が行われる。図6ではまず、モータ4、6が順方向に回転駆動される(工程61)。
【0065】
搬送制御手段3は、用紙検知器40の検知情報だけでは、印字用紙30が既に切断されているのか、それとも未だ切断されていないのかが判断できない。そのため図8に示す何れの場合であっても、まず順送り方向に所定量だけ印字用紙30を搬送するようにしている。これにより、用紙検知器40が検知中の印字用紙30がもし既に切断されているのであれば、その印字用紙30は排出されることになるが、まだ切断されていなければ、連続した状態で印字用紙排出口28から装置の外にまで送り出されることになる。
【0066】
この動作を図9(a)及び(b)に示す。図9(a)は印字用紙30が未だ切断されていない場合、即ち図8の(a)及び(b)の状態であった場合を示している。従って、順方向に移送される印字用紙30は切断されておらず、連続したままの状態で排出口28の方向へ移送されている。図8(b)のように印字用紙30がストック状態であった場合には、プラテンローラ8と搬送ローラ10、14が同期して順方向に回転するため、図9(a)に点線で示すように、プレゼンタ26と印字ヘッドアセンブリ48の間で印字用紙30が撓んだ状態(ストック状態)で順方向に移送される。
【0067】
図8の(c)及び(d)のように印字用紙30が切断されている場合には、図9(b)に示すように、印刷済みレシート部31が排出され、続いて印字用紙30が順方向に搬送される。印字用紙30が所定の量(距離)搬送されるまで、モータ4、6は順方向に駆動され、所定量搬送された後に停止される(工程63)。所定量搬送されたかどうかは、モータ4又は6のステップ数をカウントすることにより判断することができるが、モータの回転時間により搬送量を決めてもよい。この場合に、順方向に搬送する所定の搬送量は、通常発行されるレシートの最大長さ以上の量に設定するのが望ましい。
【0068】
所定量の順方向の搬送が終了してモータ4、6が停止された後(工程63)、カッタ24が駆動されて印字用紙30が切断される(工程64)。この状態が図9(c)に示してある。
【0069】
印字用紙30を切断した後、更に第2のモータ6のみを順方向に回転駆動して図9(d)に示すように、搬送ローラ10、14により切断された印字用紙3035を順方向に移動させる(工程65)。切断された印字用紙3035が順方向に移送されてその終端部39が用紙検知器44から外れて図9の(e)の状態になり、用紙検知器44が検知状態から非検知状態に変化したら(工程66)、初期調整の処理は終了する。すなわち、この状態で、印字用紙先端部31はカットされた位置(基準位置)に停止しており、かつ第1のモータ4の停止直前の回転方向は順送り方向であるので印字の際に第1のモータ4の回転方向を切替る必要もなく、従って伝達歯車の遊び調整も不要である。
【0070】
このような用紙検知40のみが印字用紙30を検知しているときに行われる動作、すなわち「印字用紙30を所定長さだけ順送りし、その後印字用紙30をカットし、さらにカットしたい印字用紙30を排出する初期調整動作」を、本発明では「順送り+カット+排出動作」と呼ぶ。
【0071】
次に、図4の工程52で▲2▼に分岐する場合、すなわち用紙検知器40がオフ(用紙未検知状態)であって用紙検知器44がオン(用紙検知状態)である場合について図7を用いて説明する。この状態は、図2の(e)に示すように、発行したレシート31が未だ取り出されていない状況、又はレシート31の終端部が用紙検知器40と41の間の位置で停止している状態である。この場合には、用紙検知器44が印字用紙30を検知しなくなるまでモータ4、6を順送り駆動して、レシート31を排出する(工程67、68)。このように用紙検出器44だけが印字用紙30を検出しているときの処理動作を、本願発明では「排出動作」と呼ぶ。
【0072】
「排出動作」が終わると、分岐▲3▼から図4の工程53に戻り、前述と同じ「用紙先端検出動作」処理を行って初期調整動作は終了する(図4工程53乃至59)。用紙排出後に「用紙先端検出動作」を行うのは、電源切断時に印字用紙30の先端部31が基準位置に停止していたとしても、電源が切断された状態のときに基準位置から動いてしまうこと又は電源投入時に第1のモータ4が位相の安定する位置まで回転することがあるからである。
【0073】
以上の説明で明らかな通り、この第1の実施例によると、印字装置は電源投入の度に印字用紙位置の初期調整を行うため、たとえ動作途中に電源が切断されたとしても、電源投入時に印字用紙30の先端部32が基準位置に正確に停止するように調整される。従って、電源投入直後から正確な印字が可能となる。また、印字途中に電源が切断された場合には、所定の長さだけ紙送りした後に印字用紙30が切断されて、印字済み部分は排出されるので、印字済みの部分に重ねて次の印字が行われることもない。
【0074】
次に、第2の実施例を、図10を用いて説明する。第2の実施例は、図4の「用紙先端検出動作」の一部である処理工程55〜59(点線枠部60)を変更したものである。図10は図4の点線の枠で囲った部分60処理を変更した工程を示すフローチャートである。第2の実施例は、第1の実施例の一部変更するものであり、変更部分以外は第1の実施例と同様の処理を行うものである。
【0075】
第2の実施例の「用紙先端検出動作」を説明する。電源を投入すると図4の処理工程50〜54の処理手順に従って、印字用紙先端部32が用紙検知器40により検知される。印字用紙先端部32が検知されると、図10の工程70によりモータ4、6を逆回転させる。これにより、印字用紙30は基準位置の方向に搬送される。次に、予め定められた第1の所定のステップ数だけモータ4、6が回転したか確認され(工程71)、所定のステップ数(第1のステップ数)回転したら、モータ4、6は停止される(工程72)。
【0076】
ここで、工程71の第1のステップ数は印字用紙30の先端部32が第1の搬送ローラ10から外れる位置まで移動させることを目的として、用紙検知器40と第1の搬送ローラ10の距離を基準に予め設定される。従って、この段階では印字用紙30は搬送ローラ10、14上にはなく、プラテンローラ8のみで搬送され得る状態となっている。
【0077】
尚、この実施例では、モータ4、6にステップモータを用い、その回転を制御するために発生させるステップの数をカウントすることにより印字用紙30の搬送距離を確定しているが、当業者に明らかな通り、モータ4、6の駆動時間による制御又は所定位置にセンサを設けることによるセンサによる制御の何れを採用することも可能である(この点は本明細書中の説明おいて、モータのステップ数による動作決定を行う処理工程の何れの場合においても同様である)。
【0078】
次に、搬送制御手段3は、印字用紙30の先端部31が搬送されるべき基準位置が、印字用紙30をカットした位置と同じであるのか、又はカットした位置から所定の距離だけ移動した位置であるのかの確認を行う(工程73)。
【0079】
第2の実施例においてこのような確認工程を設けるかどうかは任意であるが、この工程を設けるのは以下の理由による。印字装置の種類によっては、印字ヘッド20とカッタ24の位置が異なる。印字装置によっては、印字用紙30をカットしたときの印字用紙30の位置が印字ヘッドの位置と整合していないものもある。このような印字装置では、印字用紙30をカット位置から印字開始位置まで所定量移動させた位置を基準位置として設定する場合もある。この場合には、カット位置と基準位置とが異なるため、カット位置と基準位置の差を補正する必要がある。そのために、この工程により印字装置の種類を確認し、印字装置の種類に対応した正しい基準位置まで印字用紙30を搬送するようにしたものである。
【0080】
基準位置がカット位置と同じである場合には、第1のモータ4を第2のステップ数だけ回転駆動して印字用紙先端部32を基準位置まで搬送する(工程73、74、75)。その後、第1のモータ4を停止した後順送り方向に僅かに回転させて、回転方向の切り替えに伴なう歯車の遊びをなくすようにする。
【0081】
工程75の第2のステップ数は、印字用紙先端部32がカット位置(基準位置)に正確に停止するように、処理工程72の状態における印字用紙30停止位置及び処理工程76における第1のモータ4の順方向の駆動量等を考慮の上確定される。
【0082】
基準位置がカット位置と異なる場合には、処理工程73から処理工程77へ進み基準位置の設定の種類が確認される。本実施例では2種類の設定があり、設定Aの場合には、第3のステップ数だけ第1のモータ4を駆動して、印字用紙30を基準位置方向に搬送するようにしている(工程77、78、79)。設定がAでない場合には、第4のステップ数だけ第1のモータ4を駆動して、印字用紙30を基準位置方向に搬送する(工程77、80、81)。
【0083】
それぞれ所定のステップ数に相当する印字用紙30の搬送が終わると、前述と同様に、第1のモータ4を停止した後に順方向に僅かに回転駆動して初期調整処理を終了する(工程76、82)。
【0084】
第2の実施例において、基準位置がカット位置以外の場所に設定されているかどうかの確認をするようにした場合には、図6に示す「順送り+カット+排出動作」後に、基準位置に対応した「用紙先端検出動作」が必要になる。そのため、図6の工程66の処理の終了後にさらに、分岐▲4▼から図10の工程73以降の処理が行われて初期調整は終了する。
【0085】
この第2の実施例では、基準位置が3種類ある場合を示しているが、基準位置の種類に応じてさらに多くの種類の選択ができるようにすることも可能である。
【0086】
以上説明したことから明らかなように、第2の実施例では、モータ4、6を第1のステップ数だけ回転して停止し、以後は第1のモータ4のみで印字用紙30を搬送するようにすることにより、モータの駆動電力を抑えることができるのみならず、モータ駆動音を抑制することができ、さらに不要の動作を抑えることにより関連部品の消耗も抑えることができる。また、印字装置の種類に応じて、所定の基準位置に正確に印字用紙30を停止させることが可能となる。
【0087】
図11は、第1の実施例及び第2の実施例の各制御手段を中央制御装置(CPU)85及びRAM88、ROM87により実現する場合の概略構成を示す機能ブロック図である。
【0088】
印字ヘッド20、モータ類4、6及びプランジャ類91並びにこれらを駆動する印字機構駆動回路89は、印字用紙30の搬送、印字、切断等の物理的動作を伴なうプリント機構90を構成している。これらのプリント機構90には、キャリッジ検出器92、ホームポジション検出器93、オートカッタ検出器94、用紙検出器40、44、カバー検出器95等の各種検出器が設けられており、中央制御装置(CPU)85と接続されている。これらの検出器により、印字用紙30の位置、カッタエラー、カバーオプン等のエラー状態を検出する。
【0089】
ROM87には前述した各機能を実現するためのプログラムコード及びデータを記憶しており、CPU85がこれを読み出すことにより、前述の各種機能を実現する。
【0090】
以上の説明では、第1の実施例も第2の実施例でも用紙検知器として、プレゼンタの用紙検知器を本発明の用紙検知器と兼用する例を示したが、プレゼンタを有しない印字装置であってもよい。その場合にはプレゼンタの用紙検知器に変わる別の用紙検知が必要になる。また、用紙検知を1個にしてその検知状態によって、2種類の初期調整動作を行うようにしてもよい。たとえば、用紙検知器が検知状態のときには先端検知動作後基準位置まで引き戻すようにし、非検知状態の時には、用紙カットを行って、カットした用紙を排出するだけの2種類の処理だけを行うようにすることも可能である。
【0091】
さらに、電源投入時及びリセット時に必ず1種類だけの初期調整動作を行うようにしてもよい。たとえば、電源投入時には、必ず先端検知動作及び引き戻し動作のみ行うようにすること又は、電源投入時必ず順方向に所定長さだけ搬送してカットするようにすることも可能である。
【0092】
【発明の効果】
以上説明したように本発明によれば、所定の初期調整信号により印字用紙位置を初期調整することができるので、たとえば電源投入時に常に初期調整を行わせることができる。これにより、印字動作の途中で電源を立ち上げなおしても正しい位置に印字ができるようになった。
【図面の簡単な説明】
【図1】本発明の適用されるプリンタ(印字装置)の構成の要部を示す図である。
【図2】印字の最中及び印字終了後に印字用紙30が通常どのように移送されるかについて説明する図である。
【図3】印字用紙先端が基準位置に停止していなかったために、印字位置がずれて印字された例を示す図である。
【図4】本発明の一実施例による初期調整の基本動作を示すフローチャートである。
【図5】図4のフローチャートの具体的な動きを説明するための図である。
【図6】用紙検知器40が印字用紙30を検知している場合の初期調整動作処理を示すフローチャートである。
【図7】用紙検知器40及び44の双方が印字用紙30を検知している場合に、図4の工程52から分岐される▲2▼の処理フローを示す図である。
【図8】用紙検知器40が印字用紙30を検知しているときに印字用紙30がどのような位置にあるかを種々示す図である。
【図9】図6のフローチャートに基づく処理を行う際の印字用紙30の動きを説明するための図である。
【図10】図4の工程55〜59(点線部60)に相当する他の実施例による処理を示すフローチャートである。
【図11】第1の実施例及び第2の実施例の各制御手段を、中央制御装置(CPU)85及びRAM88、ROM87により実現する場合の概略構成を示す機能ブロック図である。
【符号の説明】
2 印字用紙搬送路
3 搬送制御手段
4 第1のモータ
5 印字用紙位置調整手段
6 第2のモータ
8 プラテンローラ
10 第1の搬送ローラ
12 第1の従動ローラ
14、第2の搬送ローラ
16 第2の従動ローラ
18 印字制御部
20 印字ヘッド
24 カッタ
26 プレゼンタ
28 排出口
30 印字用紙
31 印字済み印字用紙(レシート)
32 印字用紙先端部
34 印字用紙ロール
35 切断された印字用紙
40 第1の用紙検知器
42、46 光源
48 印字ヘッドアセンブリ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer used for an automatic teller machine (ATM), an automatic teller machine (CD), a point-of-sale management system (POS system), a KIOSK terminal device, and the like. In particular, the present invention relates to a printer that initially adjusts a recording medium position when power is turned on, and an initial adjustment method thereof. In addition to characters, graphics, pictures, photographs, etc. can be printed with such a printer. However, in this specification (including claims), not only character symbols but also graphics can be printed. The term “printing” is used, and a printer capable of printing figures and the like is also referred to as “printing device”.
[0002]
[Prior art]
ATMs, CDs, POSs, etc. have built-in printers for issuing usage statements, receipts, etc. to users. Recently, terminals (KIOSK terminals) for reservation of various entertainment-related events and ticket issuance are placed in convenience stores and the like, and such KIOSK terminals are used for issuing reservation details. Built-in printer. Such a printer normally has a continuous strip of unused printing paper, and prints necessary items on unused printing paper in response to a request from a control unit (host) such as ATM or POS. . When printing is completed, the printed portion is cut out by a cutter device or the like and issued to the outside as a usage statement or a receipt.
[0003]
Printing is performed by transferring or ejecting ink onto printing paper by a print head based on data received from a computer or the like (host) that controls ATM or the like. Further, when thermal paper or pressure sensitive paper is used, printing is performed by applying heat or pressure to these papers to cause the paper to develop color. The print head is provided with a plurality of print elements, and character figures and the like are printed by selectively driving these necessary elements. As the printing element, a heating element, an ink ejection device, a pressure wire, and the like are used. However, the configuration of the printing element and the transmission / reception of printing data are not so important for the understanding of the present invention. I do not.
[0004]
Conventionally, in these printers, when printing is completed, a printing completion portion of the printing paper is cut out by a cutter device or the like and issued to the outside as a usage statement or a receipt. On the other hand, the unused portion of the printing paper is stopped at the cut-out position and is waiting for the next printing command.
[0005]
When the printer receives the print command, the printer starts printing after transporting the print paper so that the print start position is aligned below the print head. In order to print accurately at a predetermined position such as a usage statement or a receipt, the leading edge of unused printing paper must be accurately stopped at a predetermined position (referred to as a reference position). is important. This is because the print start position of a receipt or the like is calculated based on the distance from the reference position to the print head, and the transfer distance of the print paper is controlled.
[0006]
If the leading edge of the printing paper is not at the reference position, the printing start position will be shifted and a large blank will be generated at the top of the receipt, or the first line will not be printed out of the printing paper. A printing error occurs due to a deviation in the start position. Therefore, the leading edge of the unused printing paper must be accurately stopped at the reference position.
[0007]
FIG. 1 shows an outline of a conventional printing paper transport mechanism. The printing paper is conveyed by a driving roller provided in a predetermined conveyance path. The driving roller is normally driven by a step motor in order to accurately convey the printing paper.
[0008]
[Problems to be solved by the invention]
However, the power supply may be interrupted due to some abnormality during operation, or erroneous operation such as turning off the power may be performed. In such a case, the printing paper is stopped during the operation. The paper position needs to be adjusted. Further, when the operator performs an operation for equipment maintenance or the like while the power is off, the leading end position of the printing paper is deviated from a predetermined reference position when the power is turned on. In addition, the play of the transmission mechanism may cause the positional deviation of the printing paper. That is, a plurality of gears or toothed belts are used to transmit the rotational motion from the motor to the drive roller, but the leading edge of the printing paper may be displaced due to play of the meshing portion of the gears. In either case, the misalignment of the printing paper becomes a cause of the above-described printing abnormality.
[0009]
In addition, when the power is cut off or the operation is stopped during printing due to an operation error or failure, printing may be performed again, or the previous printing may be stopped to perform completely different printing. In this case, it is not desirable that the print immediately before the stop remains on the print sheet, and some processing is necessary. However, if the receipt is simply cut, there is a possibility that a printing paper piece having a length shorter than the interval between the conveying rollers may be formed. Since such a short print sheet piece cannot be conveyed, it causes a paper jam. Therefore, it may not always be desirable to carelessly cut the printing paper.
[0010]
SUMMARY An advantage of some aspects of the invention is that it provides a printing apparatus or method that initially adjusts the misalignment of the leading edge of printing paper when power is turned on or by a predetermined adjustment signal. Another object of the present invention is to provide a printing apparatus and a printing control method for performing initial adjustment by cutting a recording medium after transporting a predetermined length when a printed portion exists at the time of initial adjustment. The purpose is to provide.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, a printing control method according to a first aspect of the present invention includes: (a) a position adjustment signal instructing position adjustment of a recording medium held in a printing apparatus; A step of confirming a detection state of a recording medium detector provided between the predetermined reference position and the recording medium discharge port; and (b) when the recording medium detector is in a non-detection state, A step of conveying the recording medium so that the leading end of the recording medium is aligned with the reference position; and (c) when the recording medium detector is in a detection state, the second adjustment operation different from the first adjustment operation causes the recording medium And a step of conveying the recording medium so as to align the front end with the reference position.
[0012]
According to this aspect, the position of the recording medium can be readjusted to the reference position according to the position adjustment signal and the detection state of the recording medium detector.
[0013]
Further, in the printing control method according to the second aspect of the present invention, the first adjustment operation conveys the recording medium in the direction of the recording medium detector (forward direction) until the recording medium detector detects the recording medium. A forward feed process and a reverse feed process in which after the recording medium detector detects the recording medium, the recording medium is conveyed in the opposite direction (reverse direction) to stop the leading end of the recording medium at the reference position. And the second adjustment operation includes a step of cutting after the recording medium is conveyed by a predetermined distance in the forward direction, and a discharging step of conveying only the cut recording medium in the forward direction and discharging it from the recording medium discharge port. It is characterized by becoming.
[0014]
According to this aspect, when the recording medium detector is in the non-detection state, the recording medium is once sent forward and the leading edge of the sheet is detected to confirm the leading edge position of the recording medium and then reliably transport the recording medium to the reference position. It becomes possible. Further, when the recording medium detector is in a detection state, the recording medium is conveyed forward by a predetermined amount and then cut, thereby preventing a short section of the recording medium from being created and aligning the leading end of the sheet with the reference position. It became possible. As a means for stopping the recording medium at the reference position by reverse feeding, a method for controlling the position by providing another detector near the reference position, or calculating the distance from the position stopped at the forward feeding to the reference position in advance. It is possible to adopt various means such as a method of reversely feeding the distance.
[0015]
The print control method according to the third aspect of the present invention is characterized in that the paper is conveyed in the reverse direction by a predetermined distance corresponding to the length from the position detected by the recording medium detector to the reference position. The tip is stopped at a reference position. According to this aspect, it is possible to accurately stop the recording medium at the reference position even with one detector.
[0016]
In the printing control method according to the fourth aspect of the present invention, the reverse feeding step in the first adjustment operation reverses the recording medium by a length corresponding to a distance slightly exceeding the distance from the recording medium detector to the reference position. A step of conveying and stopping in the direction, and a step of subsequently conveying the recording medium slightly in the forward direction and stopping the leading end of the recording medium at the reference position.
[0017]
According to this aspect, it is possible to accurately stop at the reference position by adjusting the play amount accompanying switching of the transport direction.
[0018]
In the printing control method according to the fifth aspect of the present invention, the recording medium is conveyed by the step motor, and the conveyance amount of the recording medium is controlled by the number of steps generated as the step motor rotates. And
[0019]
The printing control method according to the sixth aspect of the present invention is characterized in that the position adjustment signal is output every time the printing apparatus is powered on.
[0020]
According to this aspect, even when the power supply is cut off during operation due to an error or a failure, the position of the leading edge of the recording medium is automatically adjusted when the power supply is turned on, so that correct printing is possible. .
[0021]
In the printing control method according to the seventh aspect of the present invention, when printing and a position adjustment signal are received, it is confirmed whether or not the recording medium can be conveyed before the first adjustment operation. In some cases, the method includes a step of stopping the first and second adjustment operations.
[0022]
The print control method according to the eighth aspect of the present invention is:
(A) a first recording medium detector provided between a predetermined reference position in the recording medium conveyance path and the recording medium discharge port when a position adjustment signal for instructing position adjustment of the recording medium is received; Checking each detection state of the second recording medium detector provided between the first recording medium detector and the recording medium discharge port and in the vicinity of the recording medium discharge port;
(B) When both the first and second recording medium detectors are in the non-detection state, the recording medium is conveyed so that the leading end of the recording medium held in the printing apparatus is aligned with the reference position. Performing the adjustment operation of 1;
(C) When the first recording medium detector is in the detection state, the recording medium is conveyed and adjusted so as to align the leading end of the recording medium with the reference position based on a second operation different from the first adjustment operation. A process of performing
(D) When the first recording medium detector is in the non-detecting state and the second recording medium detector is in the detecting state, the recording medium is based on a third adjustment operation different from the first and second adjustment operations. And a step of adjusting by conveying the recording medium so that the leading edge of the recording medium is aligned with the reference position.
[0023]
In the printing control method according to the ninth aspect of the present invention, the first adjustment operation causes the direction of the first recording medium detector (in order) until the first recording medium detector detects the recording medium. A forward feeding step in which the recording medium is conveyed, and after the first recording medium detector detects the recording medium, the recording medium is conveyed in the opposite direction (reverse direction) to the first recording medium detector, and the leading edge of the recording medium And a reverse feed process for stopping the recording medium at the reference position, and the second adjustment operation includes a cutting process in which the recording medium is transported by a predetermined distance in the forward direction, and a cutting process in which only the cut recording medium is transported in the forward direction. A first discharge step of discharging from the recording medium discharge port, and the third recording medium detector detects that the second recording medium detector detects that the second recording medium detector detects the recording medium detected by the second recording medium detector. A second discharging process in which the sheet is conveyed in the forward direction until discharged, and discharged from the discharge port; Characterized in that it subsequently comprises a step of performing a first adjustment operation.
[0024]
In the printing control method according to the tenth aspect of the present invention, in the reverse feeding step of the first adjustment operation, the recording medium is reversely moved by a length corresponding to the distance from the first recording medium detector to the reference position. It is characterized by comprising a step of transporting and stopping.
[0025]
In the print control method according to the eleventh aspect of the present invention, the reverse feeding step of the first adjustment operation is a length corresponding to a distance slightly exceeding the distance from the first recording medium detector to the reference position. The method includes the steps of conveying the recording medium in the reverse direction and stopping it, and then conveying the recording medium slightly in the forward direction to stop the leading end of the recording medium at the reference position.
[0026]
In the printing control method according to the twelfth aspect of the present invention, the recording medium is conveyed by a step motor in each process, and the conveyance amount of the recording medium in each process is controlled by the number of steps generated as the step motor rotates. It is characterized by being.
[0027]
A print control method according to a thirteenth aspect of the present invention is characterized in that a position adjustment signal is output each time the printer is powered on.
[0028]
The print control method according to the fourteenth aspect of the present invention is such that when the print control method for a recording medium further receives a position adjustment signal, it checks whether the recording medium can be conveyed, A step of stopping the first, second and third adjustment operations is provided.
[0029]
The case where the conveyance is impossible occurs, for example, when there is no recording medium or when the recording medium is not set in a state where the recording medium can be conveyed (autoload failure). In such a case, since the recording medium cannot be conveyed and the initial adjustment operation cannot be performed, the initial operation is not performed.
[0030]
A printing apparatus according to a fifteenth aspect of the present invention includes: (a) recording medium conveying means for conveying a recording medium held in the printing apparatus in a predetermined conveying path; and (b) a recording medium in advance in the conveying path. The presence of the recording medium provided between the paper cutting section provided near the predetermined reference position and for cutting the recording medium; and (c) the recording position and the recording medium discharge port at the end of the transport path. At least one recording medium detector for detecting the recording medium, and (d) a recording medium connected to the recording medium detector, the recording medium conveying means, and the recording medium cutting unit, and connected when receiving a position adjustment signal And a position adjustment control means for controlling the recording medium position adjusting operation by controlling the recording medium conveying means and the paper cutting unit in accordance with the detection state of the detector.
[0031]
According to a sixteenth aspect of the present invention, in the printing apparatus according to the sixteenth aspect, when the position adjustment control means is in a detection state of the recording medium detector, (f) the recording medium is detected until the recording medium detector detects the recording medium. The recording medium is conveyed in the direction (forward direction), and then the recording medium is conveyed in the opposite direction (reverse direction) to the recording medium detector, so that the leading end of the recording medium is stopped at a position aligned with the reference position. When the recording medium detector is in a non-detection state, the first adjustment operation for controlling the recording medium conveying means is performed. (G) The recording medium is cut after being conveyed by a predetermined distance in the forward direction, and the cut recording A second adjustment operation for controlling the recording medium conveying means and the sheet cutting unit is performed so that only the medium is conveyed in the forward direction and discharged from the recording medium discharge port. The position adjustment control means conveys the recording medium in the reverse direction for a length corresponding to a distance slightly exceeding the distance from the recording medium detector to the quasi-position in the reverse feeding conveyance of the first adjustment operation, and stops. Thereafter, the recording medium conveying means is controlled so that the recording medium is slightly conveyed in the forward direction and aligned with the reference position to stop the leading edge of the recording medium.
[0032]
A printing apparatus according to a seventeenth aspect of the present invention is the printing apparatus comprising: a first recording medium detector; and between the first recording medium detector and the recording medium discharge port. A second recording medium detector provided in the vicinity of the first recording medium detector, and the position adjustment control means performs the first adjustment operation when both the first and second recording medium detectors are in the non-detection state. The second adjustment operation is performed when the first recording medium detector is in the detection state, and the third adjustment operation is performed when only the second recording medium detector is in the detection state. To do.
[0033]
In the printing apparatus according to the eighteenth aspect of the present invention, the third adjustment operation is performed in order until only the recording medium being detected by the second recording medium detector is in the non-detecting state. The recording medium conveying means is controlled so as to convey the recording medium in the direction and then execute the first adjustment operation.
[0034]
A printing apparatus according to a nineteenth aspect of the present invention is characterized in that the recording medium conveying means includes a conveying roller and a step motor for driving the conveying roller.
[0035]
The printing apparatus according to the twentieth aspect of the present invention is characterized in that the operation selecting means receives a position adjustment signal every time power is turned on to the printing apparatus.
[0036]
A printing apparatus according to a twenty-first aspect of the present invention includes a presenter unit that is disposed between the recording medium cutting unit and the recording medium discharge port, and that conveys the recording medium cut by the recording medium cutting unit to the recording medium discharge port. The recording medium detector is arranged on a presenter. Therefore, according to this aspect, there is an effect that it is not necessary to newly provide a recording medium detector dedicated for initial adjustment.
[0037]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0038]
FIG. 1 is a diagram showing the main part of the configuration of a printer (printing apparatus) to which the present invention is applied, from a printing paper storage unit storing a printing paper roll 34 as an example of a recording medium to a printing paper discharge port. The printing paper conveyance path 2 up to 28 is shown in a simplified manner.
[0039]
In this embodiment, an example of a printing apparatus having a presenter 26 is shown. The presenter 26 is a mechanism for controlling the conveyance of the printing paper 30 so that the printing paper 30 does not come out of the printing apparatus from the discharge port 28 during printing. As a result, the printing paper 30 is forcibly pulled out from the outside during printing, preventing the print head or the like from being damaged or preventing accurate printing from being performed. Usually, the presenter 26 has a paper detector as an example of one or more recording medium detectors. In this embodiment, the present invention uses the paper detector of the presenter 26 to perform initial adjustment of the position of the print paper 30. It shows the case of doing. In the present embodiment, the presenter 26 has two sheet detectors 40 and 44, and has two sets of the first conveyance roller 10 and the second conveyance roller 14.
[0040]
In the figure, reference numeral 34 denotes a printing paper roll, which is formed by winding a continuous printing paper 30 in a belt shape into a roll shape. In the initial setting state, the printing paper 30 is set in a state where the printing paper leading end 32 is pulled out from the printing paper roll 34 to a position where it passes under the print head 20. The print paper 30 is conveyed in the direction of the presenter 26 by the platen roller 8 under the print head 20. In the printing apparatus of FIG. 1, no conveying rollers are provided up to the conveying rollers 10 and 14 of the presenter 26, but a conveying roller may be provided between them as necessary, for example, to accurately convey the printing paper 30. Is possible.
[0041]
The conveying rollers 10 and 14 provided in the presenter 26 are provided with a first driven roller 12 and a second driven roller 16 at positions opposed to each other, and the conveying rollers 10 and 14 and the driven rollers 12 and 16 are The printing paper 30 is transferred by rotating while holding the printing paper 30.
[0042]
The plantain roller 8 and the transport rollers 10 and 14 are rotationally driven by a motor. The drive motor preferably uses a step motor (also referred to as a stepping motor) for accurate conveyance of the printing paper 30. In this embodiment, the platen roller 8 is driven by the driving first motor 4, and the conveying rollers 10 and 14 are driven by the driving motor 6 for the presenter 26 (hereinafter referred to as the driving second motor 6). In this embodiment, since the presenter 26 is used, two drive motors 4 and 6 are used. However, the platen roller 8, the transport rollers 10, 14 and the like are all driven by one drive motor. Alternatively, three or more motors may be used as necessary.
[0043]
The motors 4 and 6 can rotate in both forward and reverse directions, and the platen roller 8 and the transport rollers 10 and 14 can be driven to rotate so as to transfer the printing paper 30 in both the left direction and the right direction in FIG. The operation of the drive motors 4 and 6 is controlled by the conveyance control means 3.
[0044]
On the left side of the conveying rollers 10 and 14 of the presenter 26, paper detectors 40 and 44 for detecting the presence of the printing paper 30 are provided. The paper detectors 40 and 44 may be optical sensors, for example, and light sources (issuing diodes and the like) 42 and 46 are provided corresponding to the respective optical sensors. When the printing paper 30 exists between the light sources 42 and 46 and the paper detectors 40 and 44 corresponding thereto, the light from the light source is blocked, so that the paper detectors 40 and 44 detect the presence of the printing paper 30. can do. The signals from the paper detectors 40 and 44 are sent to the conveyance control means 3 and the conveyance control of the printing paper 30 is performed based on the signals.
[0045]
Printing on the printing paper 30 is performed by the printing head 20 based on the printing control unit 18. When predetermined printing is completed, the printing paper 30 is cut by the cutter 24, and the cut printed recording paper is transferred in the direction of the discharge port 28 by the conveying rollers 10, 14 and the like.
[0046]
With reference to FIG. 2, how the printing paper 30 is normally transported during printing and after printing is finished will be described.
[0047]
Prior to printing, the leading end 32 of the printing paper 30 is stopped at the position shown in FIG. In this embodiment, the position where the printing paper 30 is cut will be described as the reference position. However, a position where the printing paper 30 is moved by a predetermined amount from the position where the printing paper 30 was cut for the next printing start operation may be set as the reference position. it can.
[0048]
When the printing apparatus receives data accompanying a printing operation such as a printing command and starts execution, first, the conveyance control unit transfers the printing paper 30 to the printing start position, and is controlled by the printing head 20 under the control of the printing control unit 18. Printing starts. As shown in FIG. 2A, the conveyance control means 3 drives the drive motors 4 and 6 to move the printing paper 30 leftward every time printing of each line is completed.
[0049]
When the paper detector 40 detects the leading end 32 of the printing paper 30, the second motor 6 is stopped and the transfer of the printing paper 30 by the conveying roller 10 is stopped. On the other hand, printing is continued until predetermined printing is completed, and the printing paper 30 is moved leftward by the platen roller 8, so that the printing paper 30 is connected to the print head assembly 48 and the presenter as shown in FIG. 26, and is raised upward due to the paper rigidity of the printing paper 30. Hereinafter, this state is referred to as a stock state.
[0050]
When printing is completed, the drive motor 4 is stopped and the printing paper 30 is cut by the cutter 24 as shown in FIG. Thereafter, as shown in FIG. 2D, only the second motor 6 is driven to transfer the printed printing paper 3031 cut to the paper discharge port 28. When the paper detector 40 is in a non-detection state, the second motor 6 stops. In this state, as shown in FIG. 2 (e), the printed printing paper 31 (receipt or the like) is held between the second conveying roller 14 and the second driven roller 16, Waiting to be taken out of
[0051]
As can be seen from the above description, it is very important for accurate printing that the leading end 32 of the printing paper stops at a predetermined reference position before printing starts. The conveyance control means 3 controls the transfer of the print paper 30 so that the print start position is positioned directly below the print head 20 on the assumption that the leading end 32 of the print paper 30 is stopped at the reference position. Accordingly, when the leading end 32 of the printing paper 30 is not at the predetermined reference position 33, the printing start position is shifted, and the first print line is not correctly printed at the predetermined position. FIG. 3 shows an example in which printing is performed with the printing position shifted because the leading end 32 of the printing paper has not stopped at the reference position. If the printing paper position is shifted, printing is performed above or below the original printing start position 36 of the receipt 31 as indicated by reference numeral 37 or 38.
[0052]
As described above, the cause that the leading end 32 of the printing paper 30 is displaced from the predetermined reference position is that when the power supply is cut off for some reason (failure or operation error) during the operation, the operation stops midway due to an error. The case where it ends is considered. In the present invention, in order to correct such a deviation of the leading end portion 32 of the printing paper, the printing paper position is initially set so that the leading end portion 32 of the printing paper 30 stops at a predetermined reference position when the power is turned on or by a reset signal. To be adjusted.
[0053]
Next, a basic operation for initial adjustment of the position of the printing paper 30 performed when the power is turned on will be described with reference to FIGS. FIG. 4 is a flowchart showing the basic operation of the initial adjustment according to one embodiment of the present invention, and FIGS. 5A to 5E are diagrams for explaining the specific movement. Now, assume that the power is turned off with the leading end 32 of the printing paper 30 shifted from the reference position 33 as shown in FIG. In this embodiment, it is assumed that the initial adjustment of the printing paper position is always performed when the power is turned on regardless of whether the printing paper 30 is misaligned or not.
[0054]
When the power is turned on in this state (step 50 in FIG. 4), it is first confirmed whether or not the paper detector 40 detects the printing paper 30 (step 51). If the printing paper 30 is detected, the process branches to (1) and the flowchart of FIG. 6 is executed.
[0055]
In the state of FIG. 5A, the paper detector 40 has not detected the printing paper 30, so the process proceeds to the next processing step 52 to check whether the paper detector 44 has detected the printing paper 30. . If the printing paper 30 is detected, the processing of FIG. Now, since the paper detector 44 has not detected the printing paper 30, in the next step, the conveyance control means 3 rotates the motors 4 and 6 counterclockwise as shown in FIG. The printing paper 30 is transferred in the forward feed direction (direction of the paper discharge port 28) (step 53).
[0056]
When the printing paper 30 is transferred in the forward direction (left direction in FIG. 5), it is checked whether or not the paper detector 40 has detected the leading end 32 of the printing paper 30 (step 54). The forward feeding is continued until the printing paper 30 is detected (steps 53 and 54). When the paper detector 40 detects the printing paper 30, the motors 4 and 6 are stopped as shown in FIG. Next, the motors 4 and 6 are rotated in the reverse direction (rotated clockwise) to move the print paper 30 in the reverse feed direction (print head direction) (step 55). The transfer state is shown in FIG.
[0057]
Until the printing paper 30 moves a predetermined distance from the paper detector 40, the motors 4 and 6 are rotated clockwise (steps 55 and 56). When the printing paper 30 moves a predetermined distance, the motors 4 and 6 are stopped. (Steps 56 and 57). The moving distance of the printing paper 30 at this time can be calculated from the amount of rotation of the first motor 4 (the number of steps of the first motor 4 etc.) after the paper detector 40 detects the printing paper 30. Thereafter, the first motor 4 is slightly rotated in the forward feed direction (counterclockwise) and stopped at a predetermined reference position (steps 58 and 59).
[0058]
Finally, the first motor 4 is driven in the forward direction because the first motor 4 and the platen roller that are generated when the rotation direction is switched to the forward direction by slightly driving the first motor 4 in the forward direction. This is to eliminate the play of the transmission gear between the eight. As a result, when the motor is driven to rotate in order to transport the printing paper 30 in the forward direction during printing, it is possible to eliminate slight transfer deviations caused by play of the transmission gear. If there is a shift in the conveyance of the printing paper 30 due to slight play of the transmission gear, the first printing dot line and the second dot line may be partially overlapped and printed, which may result in unclear printing. It is what prevented.
[0059]
As described above, the operation performed when only the paper detector 40 is detecting the print paper 30, that is, “the print paper 30 is sequentially fed until the paper detector 40 detects it, and then the print paper 30 The initial adjustment operation that reversely feeds and stops the printing paper leading edge 31 at the reference position is referred to as “paper leading edge detection operation” in the present invention.
[0060]
Next, the case where the paper detector 40 detects the print paper 30 when the power is turned on will be described with reference to FIGS. 6, 7, 8 and 9. FIG. 6 is a flowchart showing an initial adjustment operation process when the paper detector 40 detects the printing paper 30 when the power is turned on. FIG. 7 shows both of the paper detectors 40 and 44 detecting the printing paper 30. In this case, the process (2) branched from the step 52 in FIG. 4 is shown. FIG. 8 shows various positions of the printing paper 30 when the paper detector 40 detects the printing paper 30. FIG. 9 is a diagram for explaining the movement of the printing paper 30 when the processing based on the flowchart of FIG. 6 is performed.
[0061]
If the paper detector 40 detects the print paper 30 in step 51 of FIG. 4, the processing from branch (1) to FIG. 6 is performed. A typical example in which the printing paper 30 is detected by the paper detector 40 will be described with reference to FIG. 8A to 8D show a state in which the printing paper 30 is detected by the paper detector 40 when the power is cut off for some reason during the operation of the printer or because the operation is stopped due to an abnormal state. Various cases are shown.
[0062]
FIG. 8A shows a state immediately after the leading end 32 of the printing paper 30 is detected by the paper detector 40 during printing. FIG. 8B shows a stock state of the printing paper 30 in which printing is continued after the leading edge 32 of the printing paper 30 is detected by the paper detector 40.
[0063]
FIGS. 8C and 8D show that the printed receipt 31 is being transferred in the direction of the discharge port 28 in order to issue the printed receipt 31 after the printing is finished and the printing paper 30 is cut. Indicates a stopped state.
[0064]
8A to 8D, since the paper detector 40 detects the print paper 30 in all of the cases, the conveyance control means 3 branches from step 52 in FIG. Is performed. In FIG. 6, first, the motors 4 and 6 are rotationally driven in the forward direction (step 61).
[0065]
The conveyance control means 3 cannot determine whether the printing paper 30 has already been cut or has not been cut by only the detection information of the paper detector 40. Therefore, in any case shown in FIG. 8, first, the printing paper 30 is conveyed by a predetermined amount in the forward feed direction. As a result, if the printing paper 30 being detected by the paper detector 40 has already been cut, the printing paper 30 will be discharged, but if it has not been cut, printing will continue in a continuous state. The paper is discharged from the paper discharge port 28 to the outside of the apparatus.
[0066]
This operation is shown in FIGS. 9A and 9B. FIG. 9A shows the case where the printing paper 30 has not been cut, that is, the state shown in FIGS. 8A and 8B. Therefore, the printing paper 30 transferred in the forward direction is not cut and is transferred toward the discharge port 28 in a continuous state. When the printing paper 30 is in a stock state as shown in FIG. 8B, the platen roller 8 and the transport rollers 10 and 14 rotate in the forward direction synchronously, and therefore, the dotted line is shown in FIG. 9A. As described above, the printing paper 30 is transferred in the forward direction between the presenter 26 and the print head assembly 48 in a bent state (stock state).
[0067]
When the printing paper 30 is cut as shown in FIGS. 8C and 8D, the printed receipt portion 31 is discharged as shown in FIG. It is conveyed in the forward direction. Until the printing paper 30 is conveyed by a predetermined amount (distance), the motors 4 and 6 are driven in the forward direction and stopped after being conveyed by a predetermined amount (step 63). Whether or not a predetermined amount has been conveyed can be determined by counting the number of steps of the motor 4 or 6, but the conveyance amount may be determined by the rotation time of the motor. In this case, it is desirable that the predetermined transport amount transported in the forward direction is set to an amount equal to or larger than the maximum length of a receipt that is normally issued.
[0068]
After the predetermined amount of forward conveyance is completed and the motors 4 and 6 are stopped (step 63), the cutter 24 is driven to cut the printing paper 30 (step 64). This state is shown in FIG.
[0069]
After cutting the printing paper 30, only the second motor 6 is rotationally driven in the forward direction, and the printing paper 3035 cut by the transport rollers 10 and 14 is moved in the forward direction as shown in FIG. (Step 65). When the cut printing paper 3035 is transported in the forward direction and its end portion 39 is removed from the paper detector 44 and enters the state shown in FIG. 9E, and the paper detector 44 changes from the detection state to the non-detection state. (Step 66), the initial adjustment process ends. That is, in this state, the printing paper front end 31 is stopped at the cut position (reference position), and the rotation direction immediately before the first motor 4 is stopped is the forward feed direction. Therefore, it is not necessary to switch the rotation direction of the motor 4, and therefore, it is not necessary to adjust the play of the transmission gear.
[0070]
The operation performed when only the paper detection 40 is detecting the printing paper 30, that is, “the printing paper 30 is sequentially fed by a predetermined length, then the printing paper 30 is cut, and the printing paper 30 to be cut is further selected. The “initial adjustment operation for discharging” is referred to as “forward feed + cut + discharge operation” in the present invention.
[0071]
Next, when branching to {circle around (2)} in step 52 of FIG. 4, that is, when the paper detector 40 is off (paper not detected state) and the paper detector 44 is on (paper detected state). Will be described. In this state, as shown in FIG. 2E, the issued receipt 31 has not yet been taken out, or the end of the receipt 31 is stopped at a position between the paper detectors 40 and 41. It is. In this case, the motors 4 and 6 are driven forward until the paper detector 44 no longer detects the print paper 30, and the receipt 31 is discharged (steps 67 and 68). The processing operation when only the paper detector 44 detects the printing paper 30 in this way is referred to as “discharge operation” in the present invention.
[0072]
When the “discharge operation” is completed, the process returns from the branch {circle around (3)} to the step 53 of FIG. “Paper leading edge detection operation” is performed after the paper is discharged even if the leading edge 31 of the printing paper 30 is stopped at the reference position when the power is turned off, and moves from the reference position when the power is turned off. This is because the first motor 4 may rotate to a position where the phase is stable when the power is turned on.
[0073]
As apparent from the above description, according to the first embodiment, since the printing apparatus performs initial adjustment of the printing paper position every time the power is turned on, even if the power is turned off during the operation, The leading end 32 of the printing paper 30 is adjusted so as to stop accurately at the reference position. Therefore, accurate printing can be performed immediately after the power is turned on. If the power is cut off during printing, the printing paper 30 is cut after feeding a predetermined length, and the printed part is discharged. Therefore, the printed part is overlapped with the printed part. Is never done.
[0074]
Next, a second embodiment will be described with reference to FIG. In the second embodiment, processing steps 55 to 59 (dotted line frame portion 60), which are a part of the “paper leading edge detection operation” in FIG. 4, are changed. FIG. 10 is a flowchart showing a process in which the process of the portion 60 surrounded by the dotted frame in FIG. 4 is changed. In the second embodiment, a part of the first embodiment is changed, and the same processing as that of the first embodiment is performed except for the changed portion.
[0075]
The “paper leading edge detection operation” of the second embodiment will be described. When the power is turned on, the leading end 32 of the printing paper is detected by the paper detector 40 in accordance with the processing procedure of processing steps 50 to 54 in FIG. When the leading end 32 of the printing paper is detected, the motors 4 and 6 are rotated in reverse by the process 70 in FIG. Thereby, the printing paper 30 is conveyed in the direction of the reference position. Next, it is confirmed whether or not the motors 4 and 6 have been rotated by a predetermined first predetermined number of steps (step 71). When the motors 4 and 6 have been rotated by a predetermined number of steps (first number of steps), the motors 4 and 6 are stopped. (Step 72).
[0076]
Here, the first step number of the process 71 is a distance between the paper detector 40 and the first conveyance roller 10 for the purpose of moving the leading end 32 of the printing paper 30 to a position where it is separated from the first conveyance roller 10. Is set in advance with reference to. Accordingly, at this stage, the printing paper 30 is not on the conveying rollers 10 and 14 but can be conveyed only by the platen roller 8.
[0077]
In this embodiment, stepping motors are used for the motors 4 and 6, and the transport distance of the printing paper 30 is determined by counting the number of steps generated to control the rotation. As will be apparent, it is possible to employ either control based on the driving time of the motors 4 and 6 or control using sensors by providing sensors at predetermined positions (this point is described in the present specification in the description of the motor). The same applies to any of the processing steps for determining the operation based on the number of steps).
[0078]
Next, the conveyance control unit 3 determines whether the reference position to which the leading end portion 31 of the printing paper 30 is to be conveyed is the same as the position where the printing paper 30 is cut or a position moved by a predetermined distance from the cut position. Is confirmed (step 73).
[0079]
Whether or not such a confirmation step is provided in the second embodiment is optional, but this step is provided for the following reason. Depending on the type of printing apparatus, the positions of the print head 20 and the cutter 24 are different. Depending on the printing apparatus, the position of the printing paper 30 when the printing paper 30 is cut may not match the position of the print head. In such a printing apparatus, a position where the printing paper 30 is moved by a predetermined amount from the cutting position to the printing start position may be set as the reference position. In this case, since the cut position and the reference position are different, it is necessary to correct the difference between the cut position and the reference position. For this purpose, the type of the printing device is confirmed by this process, and the printing paper 30 is conveyed to the correct reference position corresponding to the type of the printing device.
[0080]
If the reference position is the same as the cut position, the first motor 4 is rotationally driven by the second number of steps to convey the print paper leading end 32 to the reference position (steps 73, 74, 75). Thereafter, the first motor 4 is stopped and then slightly rotated in the forward feed direction so as to eliminate the play of the gears accompanying the switching of the rotation direction.
[0081]
The second step number of step 75 is that the printing paper 30 stop position in the state of the processing step 72 and the first motor in the processing step 76 so that the printing paper front end portion 32 is accurately stopped at the cutting position (reference position). 4 is determined in consideration of the forward drive amount and the like.
[0082]
If the reference position is different from the cut position, the process proceeds from the process step 73 to the process step 77, and the type of setting of the reference position is confirmed. In this embodiment, there are two types of settings. In the case of setting A, the first motor 4 is driven by the number of third steps so that the printing paper 30 is conveyed in the reference position direction (step). 77, 78, 79). If the setting is not A, the first motor 4 is driven by the number of fourth steps, and the printing paper 30 is conveyed in the reference position direction (steps 77, 80, 81).
[0083]
When the conveyance of the printing paper 30 corresponding to the predetermined number of steps is completed, the first motor 4 is stopped and then slightly rotated in the forward direction to finish the initial adjustment process (step 76, similarly to the above). 82).
[0084]
In the second embodiment, when it is confirmed whether or not the reference position is set at a place other than the cut position, it corresponds to the reference position after “forward feed + cut + discharge operation” shown in FIG. The “paper leading edge detection operation” is required. For this reason, after the process of step 66 in FIG. 6 is completed, the processes after step 73 in FIG. 10 from branch (4) are performed, and the initial adjustment is completed.
[0085]
Although the second embodiment shows a case where there are three types of reference positions, it is possible to select more types according to the types of reference positions.
[0086]
As is apparent from the above description, in the second embodiment, the motors 4 and 6 are rotated by the first number of steps and stopped, and thereafter, the printing paper 30 is conveyed only by the first motor 4. Thus, it is possible not only to suppress the driving power of the motor, but also to suppress the motor driving sound, and also to suppress the consumption of related parts by suppressing unnecessary operations. Further, the printing paper 30 can be accurately stopped at a predetermined reference position according to the type of printing device.
[0087]
FIG. 11 is a functional block diagram showing a schematic configuration when each control means of the first embodiment and the second embodiment is realized by a central control unit (CPU) 85, a RAM 88, and a ROM 87.
[0088]
The print head 20, the motors 4 and 6, the plungers 91, and the print mechanism drive circuit 89 that drives them constitute a print mechanism 90 that involves physical operations such as conveyance, printing, and cutting of the printing paper 30. Yes. These print mechanisms 90 are provided with various detectors such as a carriage detector 92, a home position detector 93, an auto cutter detector 94, paper detectors 40 and 44, a cover detector 95, and the like. (CPU) 85 is connected. These detectors detect error states such as the position of the printing paper 30, cutter error, and cover open.
[0089]
The ROM 87 stores program codes and data for realizing the above-described functions, and the CPU 85 reads the program codes to realize the various functions described above.
[0090]
In the above description, an example in which the paper detector of the presenter is also used as the paper detector of the present invention is shown as the paper detector in both the first and second embodiments. However, in a printing apparatus that does not have a presenter. There may be. In that case, it is necessary to detect another sheet in place of the presenter sheet detector. In addition, one sheet detection may be performed, and two types of initial adjustment operations may be performed depending on the detection state. For example, when the paper detector is in the detection state, it is pulled back to the reference position after the leading edge detection operation. When the paper detector is in the non-detection state, the paper is cut and only two types of processing are performed to discharge the cut paper. It is also possible to do.
[0091]
Furthermore, only one type of initial adjustment operation may be performed at power-on and reset. For example, when the power is turned on, it is always possible to perform only the tip detection operation and the pull-back operation, or when the power is turned on, it is always possible to convey and cut by a predetermined length in the forward direction.
[0092]
【The invention's effect】
As described above, according to the present invention, since the print paper position can be initially adjusted by a predetermined initial adjustment signal, for example, the initial adjustment can always be performed when the power is turned on. As a result, even if the power is turned on again during the printing operation, printing can be performed at the correct position.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a main part of a configuration of a printer (printing apparatus) to which the present invention is applied.
FIG. 2 is a diagram for explaining how the printing paper 30 is normally transferred during printing and after printing is completed.
FIG. 3 is a diagram illustrating an example in which printing is performed with a printing position shifted because the leading edge of the printing paper has not stopped at the reference position.
FIG. 4 is a flowchart showing a basic operation of initial adjustment according to an embodiment of the present invention.
FIG. 5 is a diagram for explaining a specific operation of the flowchart of FIG. 4;
FIG. 6 is a flowchart showing an initial adjustment operation process when the paper detector 40 detects the print paper 30;
7 is a diagram showing a processing flow of (2) branched from step 52 in FIG. 4 when both the paper detectors 40 and 44 detect the printing paper 30. FIG.
FIG. 8 is a diagram showing various positions of the printing paper 30 when the paper detector 40 is detecting the printing paper 30;
FIG. 9 is a diagram for explaining the movement of the printing paper 30 when performing processing based on the flowchart of FIG. 6;
10 is a flowchart showing a process according to another embodiment corresponding to steps 55 to 59 (dotted line portion 60) in FIG. 4;
FIG. 11 is a functional block diagram showing a schematic configuration when each control means of the first embodiment and the second embodiment is realized by a central control unit (CPU) 85, a RAM 88, and a ROM 87;
[Explanation of symbols]
2 Printing paper transport path
3 Transport control means
4 First motor
5 Printing paper position adjustment means
6 Second motor
8 Platen roller
10 First transport roller
12 First driven roller
14. Second transport roller
16 Second driven roller
18 Print controller
20 Print head
24 cutters
26 Presenter
28 Discharge port
30 Printing paper
31 Preprinted printing paper (receipt)
32 Printing paper tip
34 Printing paper roll
35 Cut printing paper
40 First paper detector
42, 46 Light source
48 Printhead assembly

Claims (5)

以下の工程を備えることを特徴とする印字制御方法。
(a)記録媒体の位置調整動作を始動する位置調整信号を受信したときに、記録媒体搬送路内の所定の基準位置と記録媒体排出口との間に設けられた記録媒体検知器の検知状態を確認する工程と、
(b)前記記録媒体検知器が非検知状態のときに、前記記録媒体を前記記録媒体検知器が前記記録媒体を検知するまで前記記録媒体検知器の方向である搬送方向に搬送する順送り工程と、前記記録媒体検知器が前記記録媒体を検知した後に前記記録媒体を搬送方向とは反対の方向に搬送して前記記録媒体の先端部を前記基準位置に停止させる逆送り工程とを含むもので、前記記録媒体を搬送方向に移動させてその先端を前記基準位置に整合させる第1の工程と、
(c)前記記録媒体検知器が検知状態のときに、前記記録媒体を前記順送り方向に所定の距離だけ搬送した後に切断する工程と、前記切断した記録媒体のみを前記順送り方向に搬送して前記記録媒体排出口から排出する排出工程とを含むもので、前記記録媒体を搬送方向に移動させてその先端を前記基準位置に整合させる第2の工程。
A printing control method comprising the following steps.
(A) Detection state of a recording medium detector provided between a predetermined reference position in the recording medium conveyance path and the recording medium discharge port when a position adjustment signal for starting the recording medium position adjusting operation is received. A process of confirming,
(B) a forward feed step of transporting the recording medium in a transport direction that is a direction of the recording medium detector until the recording medium detector detects the recording medium when the recording medium detector is in a non-detecting state ; And a reverse feeding step of conveying the recording medium in a direction opposite to the conveying direction after the recording medium detector detects the recording medium and stopping the leading end of the recording medium at the reference position. A first step of moving the recording medium in the transport direction and aligning the leading end with the reference position;
(C) when the recording medium detector is in a detection state , cutting the recording medium after transporting the recording medium by a predetermined distance in the forward feed direction, transporting only the cut recording medium in the forward feed direction, and A second step of moving the recording medium in the transport direction and aligning the leading end with the reference position.
前記逆送り工程は、前記記録媒体検知器により検知された位置から前記基準位置までの長さに相当する所定の距離だけ前記記録媒体を前記逆方向に搬送することにより、前記基準位置に前記記録媒体先端を停止させることを特徴とする請求項に記載の印字制御方法。In the reverse feeding step, the recording medium is transported in the reverse direction by a predetermined distance corresponding to the length from the position detected by the recording medium detector to the reference position, so that the recording is performed at the reference position. The print control method according to claim 1 , wherein the front end of the medium is stopped. 前記逆送り工程は、前記記録媒体検知器から前記基準位置までの距離を僅かに超える距離に相当する長さだけ前記記録媒体を逆方向に搬送して停止する工程と、その後前記記録媒体を順方向に僅かに搬送して前記基準位置に前記記録媒体の先端を停止する工程とを備えることを特徴とする請求項に記載の印字制御方法。The reverse feeding step includes a step of conveying the recording medium in the reverse direction by a length corresponding to a distance slightly exceeding the distance from the recording medium detector to the reference position, and then stopping the recording medium. printing control method according to claim 1, characterized in that it comprises a step of stopping the leading end of the recording medium to the reference position slightly transported in the direction. 前記位置調整信号は、印字装置への電源投入の度に出力されることを特徴とする請求項1〜のいずれか1項に記載の印字制御方法。The alignment signal is a printing control method according to any one of claims 1 to 3, characterized in that output whenever the power supply to the printing apparatus. 印字制御方法は更に、前記位置調整信号を受信したときに、前記第1の工程の前に前記記録媒体が搬送可能な状態かどうかを確認し、搬送不能であるときには前記第1及び第2の工程を中止する工程を備えたことを特徴とする請求項1〜のいずれか1項に記載の印字制御方法。In the printing control method, when the position adjustment signal is received, it is checked whether or not the recording medium is in a transportable state before the first step. printing control method according to any one of claims 1 to 4, characterized in that it comprises a step to stop the process.
JP2000104966A 2000-04-06 2000-04-06 Printing apparatus, control method, and information recording medium Expired - Fee Related JP4415362B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000104966A JP4415362B2 (en) 2000-04-06 2000-04-06 Printing apparatus, control method, and information recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000104966A JP4415362B2 (en) 2000-04-06 2000-04-06 Printing apparatus, control method, and information recording medium

Publications (3)

Publication Number Publication Date
JP2001287861A JP2001287861A (en) 2001-10-16
JP2001287861A5 JP2001287861A5 (en) 2007-03-29
JP4415362B2 true JP4415362B2 (en) 2010-02-17

Family

ID=18618420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000104966A Expired - Fee Related JP4415362B2 (en) 2000-04-06 2000-04-06 Printing apparatus, control method, and information recording medium

Country Status (1)

Country Link
JP (1) JP4415362B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5095484B2 (en) * 2008-04-25 2012-12-12 日立オムロンターミナルソリューションズ株式会社 Printing unit and automatic cash transaction device
JP5394678B2 (en) * 2008-08-25 2014-01-22 セイコーインスツル株式会社 Thermal printer
JP5664125B2 (en) * 2010-10-28 2015-02-04 セイコーエプソン株式会社 Printing apparatus and recording paper positioning method
JP6712145B2 (en) * 2016-02-09 2020-06-17 株式会社イシダ Printing unit
CN109353131B (en) * 2018-10-10 2020-11-24 杭州天谷信息科技有限公司 Printer based on block chain technology
JP7314923B2 (en) * 2020-12-22 2023-07-26 カシオ計算機株式会社 PRINTING DEVICE, CONTROL METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP2001287861A (en) 2001-10-16

Similar Documents

Publication Publication Date Title
EP0288089B1 (en) Recording paper transporting device in a recording apparatus
JP3715842B2 (en) Printing apparatus and printing medium feeding method in the printing apparatus
JP5123707B2 (en) Printer device and boarding pass cut position control method
KR0171545B1 (en) Printing system by paper lenght automatic sensing and controlling method thereof
JP4415362B2 (en) Printing apparatus, control method, and information recording medium
JP4604352B2 (en) Printer, control method therefor, and information recording medium
JP3686721B2 (en) Printer paper feeding apparatus and paper feeding control method thereof
JP2000327196A (en) Roll sheet supplying device and image forming device
JPH1110970A (en) Thermal printer
JP2011073184A (en) Method of controlling conveyance of recording paper of printer, and printer
JPH04152161A (en) Label printer
JPH07276721A (en) Printer
JP2004058552A (en) Printer
JP2946739B2 (en) Printing apparatus and control method thereof
JP5095651B2 (en) Printing device
JP3003411B2 (en) Ticket transfer control method in ticket issuing device
KR200380009Y1 (en) Paper position control system of thermal printer
JP2002361991A (en) Printing apparatus
JP6198914B2 (en) Printer device
JPH04266344A (en) Recording device
JP3426802B2 (en) Paper transport control method and control device for printer
JP4473682B2 (en) Printing device
JPH04347670A (en) Label printer
JPH11314414A (en) Image recorder
JPH0577500A (en) Automatic jam removal device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070209

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090128

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091115

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131204

Year of fee payment: 4

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