JP4039917B2 - Printing apparatus and control method thereof - Google Patents

Printing apparatus and control method thereof Download PDF

Info

Publication number
JP4039917B2
JP4039917B2 JP2002251762A JP2002251762A JP4039917B2 JP 4039917 B2 JP4039917 B2 JP 4039917B2 JP 2002251762 A JP2002251762 A JP 2002251762A JP 2002251762 A JP2002251762 A JP 2002251762A JP 4039917 B2 JP4039917 B2 JP 4039917B2
Authority
JP
Japan
Prior art keywords
printing
print
medium
cutting
printed
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 - Lifetime
Application number
JP2002251762A
Other languages
Japanese (ja)
Other versions
JP2004090280A (en
Inventor
満 佐藤
徹樹 土屋
幸宏 渡邊
Original Assignee
富士通アイソテック株式会社
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 富士通アイソテック株式会社 filed Critical 富士通アイソテック株式会社
Priority to JP2002251762A priority Critical patent/JP4039917B2/en
Publication of JP2004090280A publication Critical patent/JP2004090280A/en
Application granted granted Critical
Publication of JP4039917B2 publication Critical patent/JP4039917B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置およびその制御方法に関し、特に、印刷済みの被印刷媒体を切り離すための被印刷媒体を切断するカッタを有する印刷装置およびその制御方法に関する。
【0002】
【従来の技術】
ロール状に巻かれた被印刷媒体に印刷を行う印刷装置においては、被印刷媒体が印刷ヘッドに向けて供給され、印刷ヘッドでは供給された被印刷媒体に対して順次印刷していき、所定の印刷が完了すると、印刷済み部分を切り離すためカッタを用いて切断される。通常、印刷済みの被印刷媒体を切断するカッタは、被印刷媒体の供給方向に沿って印刷ヘッドから所定の距離だけ離間して設置される。
【0003】
このような印刷装置の例としては、ロール紙給紙形プリンタ、ロール紙給紙形ファックス、テープ印字装置などがあるが、特に、レシートを発行するPOSレジプリンタはその代表的な具体例である。
【0004】
図14は従来例のロール紙給紙形プリンタの基本原理図であり、図15は、従来例のロール紙給紙形プリンタによる印刷例を示す図である。
【0005】
図14に示すロール紙給紙形プリンタ101では、印刷ヘッド53とカッタ54とは、用紙52の給紙方向に沿って所定の距離Lだけ離間して設置されている。
【0006】
図14に例示するロール紙給紙形プリンタ101においては、用紙がロール状に巻かれているロール紙51から被印刷媒体である用紙52が給紙され、印刷ヘッド53では給紙された用紙52に対して、予め決められた印刷データ(ここでは、「第1の印刷データ」と呼ぶ。)に従う印刷が行われる。これらの処理はロール紙給紙形プリンタ101内の制御部(図示せず)によって制御される。第1の印刷データに従う印刷が完了すると、制御部は切断指示コマンドを受信する。すると、カッタ54に関して給紙方向下流側に印刷済みの用紙55の終端部が達するまで給紙し、カッタ54に切断処理を実行させ、印刷済みの用紙55を切り離す。そして、第1の印刷データに続く第2の印刷データに従う印刷が開始される。この結果、次以降の印刷では、印刷ヘッド53とカッタ54との間の距離Lに相当する、印刷されない余白エリア(以下、「印刷余白エリア」と呼ぶ。)が生じる。ここで、用紙上のカッタによる切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの供給方向に沿う長さを「余白長さ」と呼ぶ。
【0007】
このように図14に示す機構を有するロール紙給紙形プリンタ101においては、印刷ヘッド53とカッタ54との間に所定の距離Lが存在するので、図15の印刷結果に例示されるように、余白長さLを有する、点線で囲まれた印刷余白エリアmが必ず生じることになる。
【0008】
【発明が解決しようとする課題】
上述のように、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置では、被印刷媒体の供給方向に沿って印刷ヘッドとカッタとが所定の距離だけ離間して設置されるので、印刷済みの被印刷媒体を切断して切り離した後、次の印刷を開始すると、被印刷媒体上のカッタによる切断ラインから次の印刷開始ラインまでの間に印刷ヘッドとカッタとの間の距離に相当する長さを有する印刷余白エリアが生じる。
【0009】
例えばレシートを発行するPOSレジプリンタでは、レシート上の印刷余白エリアに店舗名やロゴマークなどを印刷して有効活用することが多いが、通常の用途の印刷装置では、このような印刷余白エリアは無駄なものとみなされる場合が多い。したがってこの場合、印刷余白エリアを小さくするために、被印刷媒体を本来の供給方向とは逆向きに戻すことで所望の余白長さに調整する処理がなされる。しかし、1つの印刷データに従う印刷が完了する度にこのような処理を実行するのは、非常に時間がかかり、特に大量の印刷データについて印刷する場合では非効率的である。
【0010】
また、被印刷媒体を印刷ヘッドに向けて供給する供給手段としてはモータが用いられるが、被印刷媒体の印刷余白エリアを調整するために、モータの正逆回転方向を適宜切り換えなればれならない。このため、モータ駆動回路が複雑になる。さらには、モータの正逆回転方向の頻繁な切換えは、モータの騒音および振動の増大をもたらすという問題もある。
【0011】
従って本発明の目的は、上記問題に鑑み、ロール状に巻かれた被印刷媒体に印刷を行う際に生じる印刷余白エリアの、被印刷媒体の供給方向に沿う長さを、供給方向に沿った印刷ヘッドとカッタとの間の距離よりも容易に短くすることができる印刷装置およびその制御方法を提供することにある。
【0012】
【課題を解決するための手段】
上記目的を実現するために、本発明においては、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置において、まず、被印刷媒体上のカッタによる切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの、供給方向に沿う余白長さについて設定する。ここで、余白長さは、被印刷媒体の供給方向に沿った印刷ヘッドとカッタとの間の離間距離よりも短く設定する。
【0013】
そして、ある印刷データに従う印刷が完了し、被印刷媒体の切断をカッタに指示する切断指示コマンドを受信したときは、すぐには切断処理を実行せずに切断処理を保留する。
【0014】
次いで、新たなる印刷データを受信することになるが、余白長さ分だけ被印刷媒体が移動したところで、該新たなる印刷データに関する印刷を開始する。そしてさらに印刷ヘッドとカッタとの間の離間距離から余白長さ分を差し引いた距離だけ被印刷媒体が移動するまで切断処理を保留する。
【0015】
そして、印刷ヘッドとカッタとの間の離間距離から余白長さ分を差し引いた距離だけ被印刷媒体が移動したとき、現在実行中の印刷処理を一時的に中断し、カッタによる被印刷媒体の切断処理を実行する。
【0016】
この切断処理が終わり、先の印刷データで印刷が完了していた被印刷媒体を切り離した後は、中断していた印刷処理を再開して残りの印刷処理を実行する。
【0017】
このように、本発明によれば、ある印刷データに従う印刷処理中に、先の印刷データに従い印刷が完了していた被印刷媒体を切り離すための切断処理が途中に入ることになる。以後、印刷データが続く限り、上述の処理を繰り返す。
【0018】
図1は、本発明による印刷装置の基本構成図である。
【0019】
印刷ヘッド11と、印刷ヘッド11で印刷されるべき被印刷媒体42をロール状に巻かれた被印刷媒体41から印刷ヘッド11に向けて供給する供給手段12と、被印刷媒体42の供給方向に沿って印刷ヘッド11から所定の距離Lだけ離間して設置され、印刷済みの被印刷媒体43を切断するカッタ13と、を備える印刷装置1は、被印刷媒体上のカッタ13による切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの供給方向に沿う余白長さであって、所定の距離Lよりも短い余白長さを設定する設定手段14と、第1の印刷データに従う印刷処理が終了して、被印刷媒体42の切断をカッタ13に指示する切断指示コマンドを受信したときは、所定の距離Lから余白長さを差し引いた距離だけ被印刷媒体が移動するまで被印刷媒体の切断は保留し、第1の印刷データに続く第2の印刷データに従う印刷処理については実行するよう制御する第1の制御手段15と、第2の印刷データに従う印刷処理を実行中に所定の距離Lから余白長さを差し引いた距離だけ被印刷媒体が移動したとき、実行中の第2の印刷データに従う印刷処理を中断して被印刷媒体の切断を実行するよう制御する第2の制御手段16と、第1の印刷データに従う印刷済みの被印刷媒体43の切断後、中断した第2の印刷データに従う印刷処理を再開して残りの印刷処理を実行するよう制御する第3の制御手段17と、を備えてなる。これらの各手段は、印刷装置1内の制御部18内に実現される。
【0020】
なお、設定手段14において、被印刷媒体の余白長さを、印刷ヘッドとカッタとの間の供給方向に沿う距離Lよりも短いか長いかに関係なく設定し、さらに、印刷ヘッドとカッタとの間の供給方向に沿う距離Lよりも余白長さが短いか否かを判定する判定手段(図示せず)をさらに設けてもよい。この判定手段において余白長さが短いと判定された場合は、上述の第1の制御手段15、第2の制御手段16および第3の制御手段17の制御に従う。また、判定手段において余白長さが短くないと判定された場合は、従来どおり切断指示コマンドに従い切断処理を実行するよう制御するのが好ましい。
【0021】
図2は、本発明による印刷装置の制御方法のフローチャートである。
【0022】
本発明による印刷装置の制御方法は、被印刷媒体上のカッタによる切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの供給方向に沿う余白長さであって、印刷ヘッドとカッタとの間の供給方向に沿う距離よりも短い余白長さを設定する設定ステップS101と、第1の印刷データに従う印刷処理が終了して、被印刷媒体の切断をカッタに指示する切断指示コマンドを受信したときは、印刷ヘッドとカッタとの間の被印刷媒体の供給方向に沿う距離から余白長さを差し引いた距離だけ被印刷媒体が移動するまで被印刷媒体の切断は保留し、第1の印刷データに続く第2の印刷データに従う印刷処理については実行するよう制御する第1の制御ステップS102と、実行中の第2の印刷データに従う印刷処理を実行中に印刷ヘッドとカッタとの間の供給方向に沿う距離から余白長さを差し引いた距離だけ被印刷媒体が移動したとき、第2の印刷データに従う印刷処理を中断して被印刷媒体の切断を実行するよう制御する第2の制御ステップS103と、第1の印刷データに従う印刷済みの被印刷媒体の切断後、中断した第2の印刷データに従う印刷処理を再開して残りの印刷処理を実行するよう制御する第3の制御ステップS104と、を備える。
【0023】
図3は、本発明の変形例による印刷装置の制御方法のフローチャートである。
【0024】
本変形例によれば、ステップS101では、被印刷媒体の余白長さを、印刷ヘッドとカッタとの間の供給方向に沿う距離よりも短いか長いかに関係なく設定する。そして、判定ステップS105で、印刷ヘッドとカッタとの間の供給方向に沿う距離よりも余白長さが短いか否かを判定する。
【0025】
判定ステップS105において短いと判定された場合は、ステップS102へ進み、それ以降は図2を参照して説明した通りである。
【0026】
判定ステップS105において短くないと判定された場合は、第4の制御ステップS106へ進む。第4の制御ステップS106では、従来どおり切断指示コマンドに従い切断処理を実行する。
【0027】
本発明によれば、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置において、印刷余白エリアの被印刷媒体の供給方向に沿う長さを供給方向に沿った印刷ヘッドとカッタとの間の距離よりも容易に短くすることができる。換言すれば、印刷余白エリアの給紙方向の長さである余白長さが印刷ヘッドとカッタとの間の離間距離よりも少しでも短いような印刷を効率よく実現することができる。
【0028】
また、本発明によれば、被印刷媒体を本来の供給方向とは逆向きに戻す処理をすることなく、所望の余白長さに容易に調整することができるので、印刷装置の動作時間全体を短縮することができる。特に複数の印刷データについて印刷する場合に有効である。さらに、被印刷媒体を印刷ヘッドに向けて供給するモータの正逆回転方向の切換え動作自体が減るので、モータ駆動回路の構造も比較的簡単となり、モータの騒音および振動も低減することができる。
【0029】
【発明の実施の形態】
本発明の印刷装置の一実施例として、サーマルプリンタであるロール紙給紙形プリンタを例にとって説明する。この場合、被印刷媒体は感熱紙である。
【0030】
図4は、本発明の実施例によるロール紙給紙形プリンタのシステムブロック図である。
【0031】
本実施例のロール紙給紙形プリンタ1は、大きく分けて、メイン制御部21と、駆動部22と、インタフェース部23と、検出部24とから構成される。
【0032】
このうち、メイン制御部21は各部の制御を統括する。
【0033】
また、駆動部22は、印刷ヘッドとしてサーマルヘッド31、感熱紙の供給手段として給紙用モータ32、そしてカッタ駆動用モータ33を備える。給紙用モータ32は、サーマルヘッド31で印刷されるべき感熱紙をロール状に巻かれた感熱紙からサーマルヘッド31に向けて給紙する。カッタ駆動用モータ33は、本実施例では例えばステッピングモータであり、すなわちステッピングモータを一方向に回転させてカッタ(ギロチンカッタ)を往復運動させることで切断動作させて印刷済みの感熱紙を切り離し、切断完了後は、カッタを所定の位置に停止させている。
【0034】
さらに、インタフェース部23は、電源インタフェース34と信号インタフェース35とを備える。交流電源を電源インタフェース34を介して供給するときは整流器などの電圧変換器(図示せず)を備える。信号インタフェース35は、RS232Cインタフェース、USBインタフェースもしくはセントロニクスインタフェースなどでよく、外部に接続されたコンピュータなどのホスト機器との通信に用いられる。
【0035】
そして、検出部24は、各種制御に必要なパラメータを検知するため、種々のセンサを備える。
【0036】
図5は、本発明の実施例によるロール紙給紙形プリンタの動作フローを示すフローチャートである。また、図6〜11は本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その1〜その6)である。
【0037】
本実施例におけるロール紙給紙形プリンタにおいて、印刷ヘッドとカッタとの間の給紙方向に沿う距離を23.2mmとする。そして、印刷余白エリアの給紙方向の長さである余白長さを4.5mmとする。
【0038】
ここでは、ロール紙給紙形プリンタを用いてアルファベットの「A」から「I」が印刷された用紙および数字の「0」から「8」が印刷された用紙の2枚の用紙を得る場合を例にとって説明する。この場合、通常のロール紙給紙形プリンタと同様に、アルファベットの「A」から「I」の印刷を示す印刷データの前には印刷開始コマンドが、数字の「0」から「8」の印刷を示す印刷データの後には印刷終了コマンドが、それぞれ設けられ、かつ、各印刷データの後には切断指示コマンドがそれぞれ設けられているデータが、外部のホスト機器からロール紙給紙形プリンタに送られてくる。
【0039】
なお、印刷ヘッドとカッタとの間の給紙方向に沿う距離は本発明を限定するものではなく、他の距離であってもよい。また、感熱紙を印刷ヘッドからカッタへ給紙させる給紙用モータの回転方向を正転とし、感熱紙をカッタから印刷ヘッドへ戻するようにする給紙用モータの回転方向を逆転と定義する。また、本実施例におけるロール紙給紙形プリンタでは、その解像度を1stepあたり0.125mmとするが、これも本発明を限定するパラメータではない。
【0040】
図6(a)は、本実施例における動作開始前のロール紙給紙形プリンタ1および感熱紙の初期状態を示している。ここでは初期状態として、感熱紙2の先端がロール紙給紙形プリンタのカッタ付近にセットされているものとする。
【0041】
まず、図5のステップS201において、印刷余白エリアの給紙方向の長さである余白長さを設定する。本実施例では、余白長さは4.5mmとする。
【0042】
次にステップS202において、ロール紙給紙形プリンタ1に接続されている外部のホスト機器(図示せず)から、印刷開始コマンドを受信し、一連の印刷処理を開始する。具体的には、まず、ステップS201で設定した印刷余白エリアの余白長さを感熱紙2上に確保することからはじめる。すなわち、図6(b)に示すように、給紙用モータを逆転して感熱紙2を20mm戻し、給紙用モータを正転して1.3mm給紙する。この結果、図6(a)に示された初期状態のときよりも感熱紙2が18.7mm(=23.2−4.5mm)戻されたことになる。なお、このように給紙用モータを逆転した後に正転させるのは、逆転時に生じる感熱紙2のたるみと回転伝達機構部の回転遊びとを除去するためのである。そして、この状態から、受信した印刷データ(本実施例ではアルファベットの「A」から「I」の印刷)にしたがって印刷ヘッドが印刷を開始する。本実施例では、印刷ヘッドとカッタとの間の給紙方向に沿う距離は23.2mmであり、そして上述のように、図6(a)の状態よりも感熱紙2が18.7mm戻されたので、図6(b)に示すように印刷ヘッドの印刷開始ラインは、感熱紙の先端から給紙方向に4.5mm上流になる。このようにして印刷余白エリアが確保されたのち印刷ヘッドによる実際の印刷が開始される。ここでは図6(c)に、余白長さが4.5mmの印刷余白エリアの後に、印刷データに従ってアルファベットの「A」から「I」が印刷されたことを示す。
【0043】
印刷処理の終了後、ステップS204では、前述の印刷データに続いて切断指示コマンドを受信する。
【0044】
ステップS205では、感熱紙2を余白分長さだけ給紙する。本実施例では、図7(a)に示すように4.5mm給紙する。
【0045】
次いでステップS206において、切断指示コマンドが指示する切断処理を感熱紙2が18.7mmさらに移動した後に実行するという予約をする。
【0046】
なお、ステップS205およびS206の代替例として、切断指示コマンドを受信したとき、まず、切断処理を感熱紙2が23.2mm移動した後に実行するという予約をしておき、その後、余白長さである4.5mmだけ給紙させてもよい。
【0047】
ステップS207では、次の印刷処理があるか否かが判定される。具体的には、先の印刷データ(本実施例ではアルファベットの「A」から「I」の印刷)に続く新たなる印刷データが存在するか否か、および/または、印刷終了コマンドを受信したか否か、で判定される。次の印刷処理がある場合はステップS208へ進み、無い場合はステップS214へ進む。
【0048】
ステップS208では、先の印刷データに続く印刷データ(本実施例では数字の「0」から「8」の印刷)の印刷を開始する。ここで、ステップS205において感熱紙2は4.5mmだけ既に給紙されているので、先の印刷データ(アルファベットの「A」から「I」の印刷)による印刷の印刷終了ラインから次の印刷データ(数字の「0」から「8」の印刷)の印刷開始ラインとの間に、4.5mmの余白長さを有する印刷余白エリアが既に確保されていることになる。
【0049】
ステップS209では、感熱紙2が18.7mm(=23.2−4.5mm)給紙されたか否かが判定される。給紙されていればステップS210へ進み、給紙されていなければステップS213へ進む。ステップS213では、現在実行中の印刷処理を継続する。
【0050】
ステップS209で感熱紙2が18.7mm給紙されたと判定されると、ステップS210において、現在実行中の印刷処理を中断する。図7(b)に示す例では、数字の「5」の印刷が終わった時点で印刷処理が中断されている。
【0051】
次いでステップS211において、感熱紙2が切断される。この切断処理は、上述のステップS206においてその実行が予約されていたものである。
【0052】
切断処理が終わり、印刷済みの感熱紙2、すなわちここではアルファベットの「A」から「I」が印刷された感熱紙2−1が切り離されると、ステップS212において、中断した印刷処理を再開する。図8は、中断した印刷処理を再開して残りの数字「6」、「7」および「8」が印刷されたことを示している。その後、ステップS203へ戻り、印刷処理を終了する。
【0053】
以降、印刷データが続く限り、上述の各ステップが繰り返され、印刷ヘッドとカッタとの間の離間距離よりも短い余白エリアを設けた印刷がなされるが、次に、所望の印刷データについての印刷が完了し、ロール紙給紙形プリンタ1の動作を終了する処理について説明する。
【0054】
上述の数字の「0」から「8」の印刷処理が終了すると(ステップS203)、ステップS204において、切断指示コマンドを受信する。通常この段階で印刷終了コマンドも受信する。
【0055】
ステップS205では、感熱紙2を余白分長さだけ給紙する。本実施例では、図9に示すように4.5mm給紙する。
【0056】
次いでステップS206において、切断指示コマンドが指示する切断処理を感熱紙2が18.7mm給紙された後に実行するという予約をする。
【0057】
そしてステップS207において、次の印刷処理があるか否かが判定される。この段階では、印刷データ(本実施例ではアルファベットの「0」から「8」の印刷)に続く新たなる印刷データが無く、また、印刷終了コマンドを既に受信しているので、次の印刷処理が無いと判定されてステップS214へ進む。
【0058】
ステップS214では、終了処理が実行される。具体的には、図10に示すように、感熱紙2が18.7mm給紙され後に、ステップS206で予約されていた切断処理を実行し、数字の「0」から「8」が印刷された感熱紙2−2が切り離される。
【0059】
これによりロール紙給紙形プリンタの動作が終了し、図11に示すように、アルファベットの「A」から「I」が印刷された感熱紙2−1と、数字の「0」から「8」が印刷された感熱紙2−2とが得られる。
【0060】
このように、本実施例によれば、ある印刷データに従う印刷が完了し、被印刷媒体の切断をカッタに指示する切断指示コマンドを受信したときは、すぐには切断処理を実行せずに、印刷ヘッドとカッタとの間の離間距離から余白長さ分を差し引いた距離だけ被印刷媒体が移動するまで、切断処理を保留する。すなわち、この切断処理の保留(予約)こそが、給紙方向に沿った印刷ヘッドとカッタとの間の離間距離よりも短い余白長さの印刷余白エリアを持つような印刷のより効率的な実現を可能とするものである。
【0061】
ここで、切断処理の保留(予約)のより具体的な実施例について説明する。
【0062】
図12は、本発明の実施例によるロール紙給紙形プリンタの切断処理の保留について説明するフローチャートである。図12に示される動作フローは、既に説明した図5のステップS206以降の各処理に相当するものである。
【0063】
通常、印刷データは、横一線分(「1ラスタ」と呼ぶ。)ごとの印字データと、1ラスタ分の印刷終了後に給紙用モータを正転させて1step改行させる指示をする改行データとを備える。
【0064】
既に説明したように、図5のステップS206では、切断指示コマンドが指示する切断処理を、感熱紙を18.7mm給紙した後に実行するという予約をする。本実施例のロール紙給紙形プリンタの解像度は1stepあたり0.125mmであるので、感熱紙を18.7mm給紙することは、150step改行することに相当する。そこで、図5のステップS206で言う予約処理として切断処理実行までの改行量(改行のstep数)を「150」に設定する。そして、これを用紙の改行ごとにカウントダウンしていき、「0」になった時点で切断処理を実行するようにする。なお、ここでは、この切断処理実行までの改行量を「切断保留カウント量」と呼ぶことにする。
【0065】
まず、図12のステップS301において、印刷データ内に改行データが存在するか否かを判定する。改行データが無い場合は、既に印刷が終了していることを意味する。改行データがある場合は、ステップS302へ進む。
【0066】
ステップS302では、1ラスタ分のデータの印刷を実行する。
【0067】
次いでステップS303において、給紙用モータを正転させて用紙を1stepだけ正改行する。
【0068】
次いでステップS304において、切断保留カウント量が「0」であるか否かを判定する。上述のように、本実施例では、図5のステップS206の予約処理として切断保留カウント量の初期値を「150」に設定している。ステップS304において切断保留カウント量が「0」であると判定された場合は、既に切断保留が無いのでステップS301へ戻る。切断保留カウント量が「0」ではないと判定された場合はステップS305へ進む。
【0069】
ステップS305では、切断保留カウント量を「1」減算する。
【0070】
次いで、ステップS306において、切断保留カウント量が「0」であるか否かを判定する。
【0071】
ステップS306において切断保留カウント量が「0」ではないと判定されたときは、まだ切断処理を実行するタイミングではないということなので、切断処理を保留し、ステップS301へ戻る。
【0072】
ステップS306において切断保留カウント量が「0」であると判定されたときは、用紙が150step改行されたということであるので、ステップS307へ進み、印刷処理を一時中断して切断処理を実行する。
【0073】
以上説明したように、本実施例では、切断指示コマンドを受信してもすぐには切断処理は実行せず、図5のステップS206で設定した切断保留カウント量をカウントダウンしていき「0」になった時点で初めて切断処理を実行するという流れで、切断処理の保留(予約)を実現している。なお、図12に示した切断処理の保留(予約)の動作フローは一例であって、所定の距離給紙されたか否かを判定しかつ管理できる方法であればその他の方法であってもよい。例えば、切断保留カウント量の最終到達値を設定し、切断処理カウント量をある適当な初期値からカウントアップしていくことで給紙距離を判定する方法、あるいは、給紙用モータの給紙速度とクロックとの組み合わせから給紙距離を算出する方法などであってもよい。
【0074】
既に図5を参照して説明したように、本実施例によるロール紙給紙形プリンタの正常な終了処理であれば、所望の印刷データに従う印刷が終了したときに、印刷終了コマンドを受信する。しかし、印刷中に強制終了する場合や、本来であれば最終であるはずの印刷データに従う印刷中に、全く新しい印刷データのグループをさらに受信した場合などのように、印刷処理中に印刷終了コマンドを受信してしまうイレギュラーな場合がある。ここでは、このような場合にも対応可能な、ロール紙給紙形プリンタの終了処理のより具体的な実施例について説明する。
【0075】
図13は、本発明の実施例によるロール紙給紙形プリンタの終了処理について説明するフローチャートである。図13に示される動作フローは、既に説明した図5のステップS207およびS214の処理に相当する。
【0076】
まず、ステップS401において、印刷終了コマンドを受信する。
【0077】
続いて、ステップS402において、切断保留カウント量が「150」であるか否かを判定する。
【0078】
切断保留カウント量が「150」である場合は、ステップS403へ進む。この場合は、既に図5を参照して説明したように、ステップS203で印刷処理を終了し、S204で切断指示コマンドを受信し、S205で余白長さ分(本実施例では4.5mmすなわち36step)だけ給紙し、ステップS206で切断処理の予約として切断保留カウント量を「150」に設定するという、最終の印刷データに従う印刷が終わって正常に終了するといった一連の動作を経た場合が該当する。この場合は、ステップS403において、印刷ヘッドとカッタとの間の離間距離(本実施例では23.2mmすなわち186step)から余白長さ分(本実施例では4.5mmすなわち36step)を差し引いた距離(本実施例では18.7mmすなわち150step)だけ用紙を給紙すれば、ステップS405で切断処理を実行したときに、印刷済みの用紙を正常に排出して、ロール紙給紙形プリンタの動作を終了させることができる。
【0079】
ステップS402において切断保留カウント量が「150」でないと判定された場合は、ステップS404へ進む。この場合は、上述の場合のような正常終了時の一連の処理を経ておらず、ステップS206で切断保留カウント量を「150」に設定していない、すなわち、切断処理の予約としていないということを意味する。現在進行中の印刷処理を何らかの理由により強制終了する場合や、本来であれば最終であるはずの印刷データに従う印刷の実行中に全く新しい印刷データのグループを受信してしまった場合などがこれに該当する。そこで、現在処理中の用紙を途中で切断してしまうことなく正常に排出するために、ステップS404において少なくとも印刷ヘッドとカッタとの間の離間距離(本実施例では23.2mmすなわち186step)だけ用紙を給紙し、その後ステップS405で切断処理を実行する。
【0080】
以上説明した方法に従えば、どのような場合であっても処理中の用紙を途中で切断してしまうことなく正常に排出することができる。
【0081】
このように上述の実施例では、印刷余白エリアの給紙方向の長さである余白長さを印刷ヘッドとカッタとの間の離間距離よりも短い長さに予め設定していた。
【0082】
これに加え、従来のロール紙給紙形プリンタのように、印刷ヘッドとカッタとの間の給紙方向に沿う距離を印刷余白エリアの余白長さとして有するような印刷もオプションとしてさらに選択可能としてもよい。
【0083】
すなわち、本発明の変形例として、予め設定した印刷余白エリアの余白長さを印刷ヘッドとカッタとの間の離間距離と比較するプロセスをさらに設け、余白長さが印刷ヘッドとカッタとの間の離間距離よりも短ければ上述の本発明による処理を実行し(例えば「余白短縮印刷モード」と呼ぶ。)、そうでなければ従来どおりの印刷処理を実行して印刷ヘッドとカッタとの間の離間距離を印刷余白エリアの余白長さとして有するような印刷処理を実行できるようにする(例えば「通常印刷モード」と呼ぶ。)など、印刷モードを切り換えることができるようにしてもよい。
【0084】
より具体的に言えば、ロール紙給紙形プリンタを動作させる前に、例えばこのロール紙給紙形プリンタに接続されたコンピュータなどのホスト機器を用いて、印刷余白エリアの余白長さを予め設定できるようにする。そして、ロール紙給紙形プリンタが動作を開始したとき、まず最初に予め設定された余白長さが印刷ヘッドとカッタとの間の離間距離よりも短いか否かを判定し、余白短縮印刷モードあるいは通常印刷モードのいずれか印刷モードを切り換えることができるようにしてもよい。さらにこの場合、ロール紙給紙形プリンタが動作終了時に余白短縮印刷モードにある場合、通常印刷モードに戻るようにしてもよい。
【0085】
以上、本発明による印刷装置について、ロール紙給紙形プリンタを実施例に挙げて説明したが、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置であって印刷ヘッドとカッタとが被印刷媒体の供給方向に沿って所定の距離をあけて設置された印刷装置であればその他の装置であってもよく、例えば、ロール紙給紙形ファックス、テープ印字装置、ラベル印刷装置、レシートを発行するPOSレジプリンタなどであってもよい。このような印刷装置に本発明を適用すれば、印刷余白エリアの給紙方向の長さである余白長さが印刷ヘッドとカッタとの間の離間距離よりも少しでも短いような印刷を、効率的に実現することができる。
【0086】
【発明の効果】
以上説明したように、本発明によれば、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置において、印刷余白エリアの被印刷媒体の供給方向に沿う長さを供給方向に沿った印刷ヘッドとカッタとの間の距離よりも容易に短くすることができる。つまり、印刷余白エリアの給紙方向の長さである余白長さが印刷ヘッドとカッタとの間の離間距離よりも少しでも短いような印刷を効率よく実現することができる。
【0087】
また、本発明によれば、被印刷媒体を本来の供給方向とは逆向きに戻す処理をすることなく、所望の余白長さに調整することができるので、印刷装置の動作時間全体を短縮することができる。特に複数の印刷データが続く印刷の場合は有効である。さらに、被印刷媒体を印刷ヘッドに向けて供給するモータの正逆回転方向の切換え動作自体が減るので、モータ駆動回路の構造も比較的容易となり、モータの騒音および振動も低減することができる。
【0088】
またさらに、予め設定した印刷余白エリアの余白長さを印刷ヘッドとカッタとの間の離間距離と比較するプロセスをさらに設け、余白長さが印刷ヘッドとカッタとの間の離間距離よりも短ければ上述の本発明による処理を実行し、そうでなければ従来どおりの印刷処理を実行して印刷ヘッドとカッタとの間の離間距離を印刷余白エリアの余白長さとして有するような印刷処理を実行できるようにすれば、ロール状に巻かれた被印刷媒体に印刷を行う印刷装置を種々の用途に容易に適用することができるので汎用性が高まる。
【0089】
本発明を適用することができるロール状に巻かれた被印刷媒体に印刷を行う印刷装置は、印刷ヘッドとカッタとが被印刷媒体の供給方向に沿って所定の距離をあけて設置された装置であればよく、例えば、ロール紙給紙形プリンタ、ロール紙給紙形ファックス、テープ印字装置、ラベル印刷装置、レシートを発行するPOSレジプリンタなどであってもよい。
【0090】
例えば、シールラベルをロール紙給紙形プリンタで大量に印刷する場合、従来例では、1枚のシールラベルを印刷するごとに、印刷ヘッドとカッタとが離間設置されていることに起因して生じる印刷の空白域を除去するため、給紙用モータを逆転して印刷余白エリアの大きさを調節する必要があったが、本発明によれば、給紙用モータを何度も逆転させる必要なく、効率よく短時間で印刷することが可能である。
【図面の簡単な説明】
【図1】本発明による印刷装置の基本構成図である。
【図2】本発明による印刷装置の制御方法のフローチャートである。
【図3】本発明の変形例による印刷装置の制御方法のフローチャートである。
【図4】本発明の実施例によるロール紙給紙形プリンタのシステムブロック図である。
【図5】本発明の実施例によるロール紙給紙形プリンタの動作フローを示すフローチャートである。
【図6】本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その1)である。
【図7】本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その2)である。
【図8】本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その3)である。
【図9】本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その4)である。
【図10】本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その5)である。
【図11】本発明の実施例によるロール紙給紙形プリンタの一連の動作を例示する模式図(その6)である。
【図12】本発明の実施例によるロール紙給紙形プリンタの切断処理の保留について説明するフローチャートである。
【図13】本発明の実施例によるロール紙給紙形プリンタの終了処理について説明するフローチャートである。
【図14】従来例のロール紙給紙形プリンタの基本原理図である。
【図15】従来例のロール紙給紙形プリンタによる印刷例を示す図である。
【符号の説明】
1…印刷装置
11…印刷ヘッド
12…供給手段
13…カッタ
14…設定手段
15…第1の制御手段
16…第2の制御手段
17…第3の制御手段
21…メイン制御部
22…駆動部
23…インタフェース部
24…検出部
31…サーマルヘッド
32…給紙用モータ
33…カッタ駆動用モータ
34…電源インタフェース
35…信号インタフェース
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing apparatus that performs printing on a printing medium wound in a roll shape, and a control method thereof, and in particular, a printing apparatus that has a cutter for cutting a printing medium for separating a printed printing medium and the printing apparatus It relates to a control method.
[0002]
[Prior art]
In a printing apparatus that performs printing on a print medium wound in a roll shape, the print medium is supplied toward the print head, and the print head sequentially prints the supplied print medium. When printing is completed, the printed part is cut using a cutter. Usually, a cutter for cutting a printed medium to be printed is installed at a predetermined distance from the print head along the supply direction of the medium to be printed.
[0003]
Examples of such a printing apparatus include a roll paper feed type printer, a roll paper feed type fax machine, and a tape printing apparatus. In particular, a POS cash register printer that issues a receipt is a typical example. .
[0004]
FIG. 14 is a diagram illustrating the basic principle of a conventional roll paper feed type printer, and FIG. 15 is a diagram illustrating an example of printing by a conventional roll paper feed type printer.
[0005]
In the roll paper feed type printer 101 shown in FIG. 14, the print head 53 and the cutter 54 are set apart by a predetermined distance L along the paper feed direction of the paper 52.
[0006]
In the roll paper feed printer 101 illustrated in FIG. 14, a paper 52 as a printing medium is fed from a roll paper 51 in which the paper is wound in a roll shape, and the fed paper 52 is fed by the print head 53. On the other hand, printing is performed according to predetermined print data (referred to herein as “first print data”). These processes are controlled by a control unit (not shown) in the roll paper feed type printer 101. When printing according to the first print data is completed, the control unit receives a cutting instruction command. Then, the paper is fed until the end portion of the printed paper 55 reaches the downstream side in the paper feeding direction with respect to the cutter 54, the cutting process is executed by the cutter 54, and the printed paper 55 is separated. Then, printing according to the second print data following the first print data is started. As a result, in the subsequent printing, a non-printed blank area (hereinafter referred to as “print blank area”) corresponding to the distance L between the print head 53 and the cutter 54 occurs. Here, the length along the supply direction of the print margin area from the cutting line by the cutter on the paper to the next print start line is referred to as “margin length”.
[0007]
As described above, in the roll paper feed type printer 101 having the mechanism shown in FIG. 14, there is a predetermined distance L between the print head 53 and the cutter 54. Therefore, a print margin area m having a margin length L and surrounded by a dotted line is necessarily generated.
[0008]
[Problems to be solved by the invention]
As described above, in a printing apparatus that performs printing on a printing medium wound in a roll shape, the print head and the cutter are set apart by a predetermined distance along the supply direction of the printing medium. When the next printing is started after cutting and separating the printed medium, it corresponds to the distance between the print head and the cutter between the cutting line by the cutter on the printing medium and the next printing start line. A printing margin area having a length to be generated is generated.
[0009]
For example, a POS cash register printer that issues a receipt often prints a store name or a logo mark on a print margin area on a receipt and uses it effectively. Often considered useless. Therefore, in this case, in order to reduce the print margin area, a process for adjusting the desired margin length by returning the printing medium to the opposite direction to the original supply direction is performed. However, it is very time consuming to execute such a process every time printing according to one print data is completed, particularly when printing a large amount of print data.
[0010]
In addition, a motor is used as a supply unit that supplies the print medium toward the print head. However, in order to adjust the print margin area of the print medium, the forward and reverse rotation directions of the motor must be switched as appropriate. This complicates the motor drive circuit. Furthermore, there is a problem that frequent switching between the forward and reverse rotation directions of the motor leads to an increase in noise and vibration of the motor.
[0011]
Therefore, in view of the above problems, an object of the present invention is to set the length along the supply direction of the print medium in the print blank area generated when printing on the print medium wound in a roll shape. It is an object of the present invention to provide a printing apparatus and a control method therefor that can be easily made shorter than the distance between the print head and the cutter.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, in the present invention, in a printing apparatus that prints on a printing medium wound in a roll shape, first, from the cutting line by the cutter on the printing medium to the next printing start line. The margin length along the supply direction of the print margin area is set. Here, the margin length is set shorter than the separation distance between the print head and the cutter along the supply direction of the print medium.
[0013]
When printing according to certain print data is completed and a cutting instruction command for instructing the cutter to cut the printing medium is received, the cutting process is not performed immediately but the cutting process is suspended.
[0014]
Next, new print data is received. When the print medium moves by the margin length, printing for the new print data is started. Further, the cutting process is suspended until the print medium moves by a distance obtained by subtracting the margin length from the separation distance between the print head and the cutter.
[0015]
Then, when the print medium moves by a distance obtained by subtracting the margin length from the separation distance between the print head and the cutter, the printing process currently being executed is temporarily interrupted, and the print medium is cut by the cutter. Execute the process.
[0016]
After the cutting process is completed and the print medium that has been printed with the previous print data is cut off, the interrupted print process is resumed and the remaining print process is executed.
[0017]
As described above, according to the present invention, during the printing process according to certain print data, the cutting process for separating the print medium that has been printed according to the previous print data enters the middle. Thereafter, as long as the print data continues, the above process is repeated.
[0018]
FIG. 1 is a basic configuration diagram of a printing apparatus according to the present invention.
[0019]
The print head 11, the supply means 12 for supplying the print medium 42 to be printed by the print head 11 from the print medium 41 wound in a roll shape toward the print head 11, and the supply direction of the print medium 42 And a cutter 13 that is installed at a predetermined distance L from the print head 11 and cuts the printed print medium 43, the printing apparatus 1 starts from the cutting line by the cutter 13 on the print medium. A setting unit 14 that sets a margin length that is shorter than a predetermined distance L and that is a margin length along the supply direction of the print margin area until the first print start line, and a printing process according to the first print data. When the cutting instruction command for instructing the cutter 13 to cut the print medium 42 is received, the mark is printed until the print medium moves by a distance obtained by subtracting the margin length from the predetermined distance L. The cutting of the medium is suspended, and the first control unit 15 that controls to execute the print process according to the second print data following the first print data, and a predetermined value during execution of the print process according to the second print data When the printing medium is moved by a distance obtained by subtracting the margin length from the distance L, the second control is performed to interrupt the printing process according to the second print data being executed and to cut the printing medium. Means 16 and third control means for controlling to resume the printing process according to the interrupted second print data and to execute the remaining printing process after cutting the printed print medium 43 according to the first print data. 17. Each of these means is realized in the control unit 18 in the printing apparatus 1.
[0020]
Note that the setting means 14 sets the margin length of the print medium regardless of whether it is shorter or longer than the distance L along the supply direction between the print head and the cutter, and between the print head and the cutter. A determination means (not shown) for determining whether the margin length is shorter than the distance L along the supply direction may be further provided. When it is determined by the determination means that the margin length is short, the control of the first control means 15, the second control means 16 and the third control means 17 is followed. In addition, when the determination unit determines that the margin length is not short, it is preferable to perform control so that the cutting process is performed according to the cutting instruction command as in the past.
[0021]
FIG. 2 is a flowchart of the control method of the printing apparatus according to the present invention.
[0022]
A control method for a printing apparatus according to the present invention is a margin length along a supply direction of a print margin area between a cutting line by a cutter on a printing medium and a next printing start line, and includes a print head and a cutter. The setting step S101 for setting a margin length shorter than the distance along the supply direction between them and the cutting process command for instructing the cutter to cut the printing medium after receiving the print processing according to the first print data are received. The cutting of the print medium is suspended until the print medium moves by a distance obtained by subtracting the margin length from the distance along the print medium supply direction between the print head and the cutter, and the first print data The first control step S102 for controlling to execute the print processing according to the second print data following the print data, and the print head during execution of the print processing according to the second print data being executed When the printing medium moves by a distance obtained by subtracting the margin length from the distance along the supply direction with the cutter, the printing process according to the second print data is interrupted and the printing medium is cut. The second control step S103, and after cutting the printed medium to be printed according to the first print data, the print processing according to the interrupted second print data is restarted and the remaining print processing is executed. 3 control step S104.
[0023]
FIG. 3 is a flowchart of a printing apparatus control method according to a modification of the present invention.
[0024]
According to this modification, in step S101, the margin length of the printing medium is set regardless of whether it is shorter or longer than the distance along the supply direction between the print head and the cutter. Then, in a determination step S105, it is determined whether the margin length is shorter than the distance along the supply direction between the print head and the cutter.
[0025]
If it is determined in the determination step S105 that the time is short, the process proceeds to step S102, and the subsequent steps are as described with reference to FIG.
[0026]
If it is determined in the determination step S105 that it is not short, the process proceeds to a fourth control step S106. In the fourth control step S106, the cutting process is executed according to the cutting instruction command as usual.
[0027]
According to the present invention, in a printing apparatus that performs printing on a printing medium wound in a roll shape, the length of the print margin area along the supply direction of the printing medium is set between the print head and the cutter along the supply direction. It is possible to easily shorten the distance. In other words, it is possible to efficiently realize printing in which the margin length, which is the length of the printing margin area in the paper feeding direction, is even shorter than the separation distance between the print head and the cutter.
[0028]
In addition, according to the present invention, it is possible to easily adjust the printing medium to a desired margin length without performing processing for returning the printing medium in the direction opposite to the original supply direction. It can be shortened. This is particularly effective when printing a plurality of print data. Furthermore, since the switching operation itself of the forward / reverse rotation direction of the motor that supplies the print medium to the print head is reduced, the structure of the motor drive circuit becomes relatively simple, and the noise and vibration of the motor can be reduced.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
As an embodiment of the printing apparatus of the present invention, a roll paper feed type printer which is a thermal printer will be described as an example. In this case, the printing medium is thermal paper.
[0030]
FIG. 4 is a system block diagram of a roll paper feed type printer according to an embodiment of the present invention.
[0031]
The roll paper feed type printer 1 of the present embodiment is roughly composed of a main control unit 21, a drive unit 22, an interface unit 23, and a detection unit 24.
[0032]
Of these, the main control unit 21 supervises control of each unit.
[0033]
The drive unit 22 includes a thermal head 31 as a print head, a paper feed motor 32 as a thermal paper supply unit, and a cutter drive motor 33. The paper feed motor 32 feeds the thermal paper to be printed by the thermal head 31 from the thermal paper wound in a roll shape toward the thermal head 31. In this embodiment, the cutter driving motor 33 is, for example, a stepping motor. That is, the cutter (guillotine cutter) is reciprocated by rotating the stepping motor in one direction to cut the printed thermal paper. After the cutting is completed, the cutter is stopped at a predetermined position.
[0034]
Further, the interface unit 23 includes a power interface 34 and a signal interface 35. When AC power is supplied via the power interface 34, a voltage converter (not shown) such as a rectifier is provided. The signal interface 35 may be an RS232C interface, a USB interface, or a Centronics interface, and is used for communication with a host device such as a computer connected to the outside.
[0035]
The detection unit 24 includes various sensors in order to detect parameters necessary for various controls.
[0036]
FIG. 5 is a flowchart showing an operation flow of the roll paper feed type printer according to the embodiment of the present invention. 6 to 11 are schematic views (part 1 to part 6) illustrating a series of operations of the roll paper feed type printer according to the embodiment of the invention.
[0037]
In the roll paper feed type printer in this embodiment, the distance along the paper feed direction between the print head and the cutter is 23.2 mm. The margin length, which is the length of the printing margin area in the paper feeding direction, is set to 4.5 mm.
[0038]
Here, a case where two sheets of papers on which alphabets “A” to “I” are printed and sheets on which numbers “0” to “8” are printed is obtained using a roll paper feed type printer. Let's take an example. In this case, as in the case of a normal roll paper feed type printer, the print start command is printed before the print data indicating printing of alphabets “A” to “I”, and numbers “0” to “8” are printed. A print end command is provided after the print data indicating the print data, and data including a cut instruction command is provided after each print data is sent from the external host device to the roll paper feed printer. Come.
[0039]
Note that the distance along the paper feeding direction between the print head and the cutter does not limit the present invention, and may be another distance. Also, the rotation direction of the paper feed motor that feeds the thermal paper from the print head to the cutter is defined as normal rotation, and the rotation direction of the paper feed motor that returns the thermal paper from the cutter to the print head is defined as reverse rotation. . In the roll paper feed type printer in this embodiment, the resolution is 0.125 mm per step, but this is not a parameter that limits the present invention.
[0040]
FIG. 6A shows an initial state of the roll paper feeding type printer 1 and the thermal paper before the operation start in this embodiment. Here, as an initial state, it is assumed that the leading edge of the thermal paper 2 is set near the cutter of the roll paper feed type printer.
[0041]
First, in step S201 in FIG. 5, a margin length that is the length of the print margin area in the paper feeding direction is set. In this embodiment, the margin length is 4.5 mm.
[0042]
In step S202, a print start command is received from an external host device (not shown) connected to the roll paper feed printer 1, and a series of print processing is started. Specifically, first, the margin length of the print margin area set in step S201 is secured on the thermal paper 2. That is, as shown in FIG. 6B, the paper feed motor is reversed to return the thermal paper 2 by 20 mm, and the paper feed motor is rotated forward to feed 1.3 mm. As a result, the thermal paper 2 is returned by 18.7 mm (= 23.2-4.5 mm) as compared with the initial state shown in FIG. The reason why the paper feeding motor is rotated in the forward direction in this way is to remove the slack of the thermal paper 2 and the rotational play of the rotation transmission mechanism portion that occur during the reverse rotation. From this state, the print head starts printing according to the received print data (in this embodiment, printing from alphabets “A” to “I”). In this embodiment, the distance along the paper feeding direction between the print head and the cutter is 23.2 mm, and as described above, the thermal paper 2 is returned 18.7 mm from the state shown in FIG. Therefore, as shown in FIG. 6B, the print start line of the print head is 4.5 mm upstream from the leading edge of the thermal paper in the paper feeding direction. After the print margin area is secured in this way, actual printing by the print head is started. Here, FIG. 6C shows that letters “A” to “I” are printed in accordance with the print data after the print margin area having a margin length of 4.5 mm.
[0043]
After the printing process is completed, in step S204, a cutting instruction command is received following the above-described print data.
[0044]
In step S205, the thermal paper 2 is fed by the length corresponding to the margin. In the present embodiment, as shown in FIG.
[0045]
Next, in step S206, a reservation is made to execute the cutting process instructed by the cutting instruction command after the thermal paper 2 has further moved 18.7 mm.
[0046]
As an alternative example of steps S205 and S206, when a cutting instruction command is received, a reservation is first made that the cutting process is executed after the thermal paper 2 has moved 23.2 mm, and then the margin length is set. Only 4.5 mm may be fed.
[0047]
In step S207, it is determined whether there is a next printing process. Specifically, whether there is new print data following the previous print data (in this embodiment, printing from alphabets “A” to “I”) and / or whether a print end command has been received Whether or not is determined. If there is a next printing process, the process proceeds to step S208. If there is no next printing process, the process proceeds to step S214.
[0048]
In step S208, printing of the print data following the previous print data (in the present embodiment, printing of numbers “0” to “8”) is started. Here, since the thermal paper 2 is already fed by 4.5 mm in step S205, the next print data from the print end line of the print by the previous print data (printing from alphabet "A" to "I"). A print margin area having a margin length of 4.5 mm is already secured between the print start line (printing numbers “0” to “8”).
[0049]
In step S209, it is determined whether or not the thermal paper 2 has been fed 18.7 mm (= 23.2-4.5 mm). If it is fed, the process proceeds to step S210, and if it is not fed, the process proceeds to step S213. In step S213, the currently executed printing process is continued.
[0050]
If it is determined in step S209 that the thermal paper 2 has been fed 18.7 mm, the printing process currently being executed is interrupted in step S210. In the example shown in FIG. 7B, the printing process is interrupted when the printing of the numeral “5” is completed.
[0051]
Next, in step S211, the thermal paper 2 is cut. This disconnection process has been reserved for execution in step S206 described above.
[0052]
When the cutting process is completed and the printed thermal paper 2, that is, the thermal paper 2-1 printed with the letters “A” to “I” in this case, is cut off, the interrupted printing process is resumed in step S 212. FIG. 8 shows that the remaining numbers “6”, “7”, and “8” are printed by resuming the interrupted printing process. Thereafter, the process returns to step S203, and the printing process is terminated.
[0053]
Thereafter, as long as the print data continues, the above steps are repeated to perform printing with a margin area shorter than the separation distance between the print head and the cutter. Next, printing for the desired print data is performed. Is completed, and the process of ending the operation of the roll paper feed printer 1 will be described.
[0054]
When the printing process of the numbers “0” to “8” is completed (step S203), a disconnection instruction command is received in step S204. Usually, a print end command is also received at this stage.
[0055]
In step S205, the thermal paper 2 is fed by the length corresponding to the margin. In the present embodiment, as shown in FIG.
[0056]
In step S206, a reservation is made to execute the cutting process instructed by the cutting instruction command after the thermal paper 2 has been fed 18.7 mm.
[0057]
In step S207, it is determined whether or not there is a next printing process. At this stage, there is no new print data following the print data (printing of alphabets “0” to “8” in the present embodiment), and since the print end command has already been received, the next print processing is performed. It is determined that there is not, and the process proceeds to step S214.
[0058]
In step S214, an end process is executed. Specifically, as shown in FIG. 10, after the thermal paper 2 is fed 18.7 mm, the cutting process reserved in Step S206 is executed, and the numbers “0” to “8” are printed. The thermal paper 2-2 is cut off.
[0059]
As a result, the operation of the roll paper feed type printer is completed. As shown in FIG. 11, the thermal paper 2-1 printed with the letters “A” to “I” and the numbers “0” to “8” are printed. Can be obtained.
[0060]
As described above, according to this embodiment, when printing according to certain print data is completed and a cutting instruction command for instructing the cutter to cut the printing medium is received, the cutting process is not performed immediately, The cutting process is suspended until the print medium moves by a distance obtained by subtracting the margin length from the separation distance between the print head and the cutter. In other words, this cutting process reservation (reservation) is more efficient realization of printing with a print margin area having a margin length shorter than the separation distance between the print head and the cutter along the paper feeding direction. Is possible.
[0061]
Here, a more specific example of the suspension (reservation) of the disconnection process will be described.
[0062]
FIG. 12 is a flowchart for explaining suspension of the cutting process of the roll paper feed type printer according to the embodiment of the present invention. The operation flow shown in FIG. 12 corresponds to each processing after step S206 in FIG. 5 already described.
[0063]
Normally, the print data includes print data for each horizontal line (referred to as “one raster”) and line feed data for instructing to rotate the paper feed motor forward and perform one step line feed after the end of printing for one raster. Prepare.
[0064]
As already described, in step S206 in FIG. 5, a reservation is made to execute the cutting process specified by the cutting instruction command after feeding 18.7 mm of thermal paper. Since the resolution of the roll paper feed type printer of this embodiment is 0.125 mm per step, feeding 18.7 mm of thermal paper is equivalent to 150 step line feed. Accordingly, the line feed amount (number of line feed steps) until the cutting process is executed is set to “150” as the reservation process in step S206 of FIG. Then, this is counted down for each line break of the paper, and the cutting process is executed when it becomes “0”. Here, the line feed amount until the cutting process is executed is referred to as a “cutting pending count amount”.
[0065]
First, in step S301 in FIG. 12, it is determined whether or not line feed data exists in the print data. If there is no line feed data, it means that printing has already been completed. If there is line feed data, the process proceeds to step S302.
[0066]
In step S302, data for one raster is printed.
[0067]
Next, in step S303, the paper feed motor is rotated in the forward direction so that the sheet is fed forward by 1 step.
[0068]
Next, in step S304, it is determined whether or not the disconnection pending count amount is “0”. As described above, in this embodiment, the initial value of the disconnection pending count amount is set to “150” as the reservation processing in step S206 of FIG. If it is determined in step S304 that the disconnection hold count amount is “0”, the process returns to step S301 because there is no disconnection hold already. If it is determined that the disconnection pending count amount is not “0”, the process proceeds to step S305.
[0069]
In step S305, “1” is subtracted from the cutting suspension count amount.
[0070]
Next, in step S306, it is determined whether or not the disconnection pending count amount is “0”.
[0071]
If it is determined in step S306 that the disconnection pending count amount is not “0”, it means that it is not yet the timing to execute the disconnection process, so the disconnection process is suspended and the process returns to step S301.
[0072]
If it is determined in step S306 that the cutting hold count amount is “0”, this means that the sheet has been line-breaked by 150 steps, and thus the process proceeds to step S307, where the printing process is temporarily interrupted and the cutting process is executed.
[0073]
As described above, in this embodiment, even when a disconnection instruction command is received, the disconnection process is not performed immediately, and the disconnection pending count amount set in step S206 of FIG. 5 is counted down to “0”. The disconnection process is suspended (reserved) in such a flow that the disconnection process is executed for the first time. Note that the operation flow for holding (reserving) the cutting process shown in FIG. 12 is an example, and other methods may be used as long as it is possible to determine and manage whether or not a predetermined distance has been fed. . For example, a method of determining the paper feed distance by setting the final reaching value of the cutting hold count amount and counting up the cutting processing count amount from a certain appropriate initial value, or the paper feed speed of the paper feed motor For example, a method of calculating a sheet feeding distance from a combination of a clock and a clock may be used.
[0074]
As already described with reference to FIG. 5, if the roll paper feed type printer according to the present embodiment is a normal end process, a print end command is received when printing according to desired print data is completed. However, a print termination command during the print process, such as when it is forcibly terminated during printing or when a completely new group of print data is received during printing according to the print data that should have been the final one. May be irregular. Here, a more specific embodiment of the end process of the roll paper feed type printer that can cope with such a case will be described.
[0075]
FIG. 13 is a flowchart for explaining the end processing of the roll paper feed type printer according to the embodiment of the present invention. The operation flow shown in FIG. 13 corresponds to the processing of steps S207 and S214 of FIG. 5 already described.
[0076]
First, in step S401, a print end command is received.
[0077]
Subsequently, in step S402, it is determined whether or not the disconnection pending count amount is “150”.
[0078]
If the disconnection pending count amount is “150”, the process proceeds to step S403. In this case, as already described with reference to FIG. 5, the printing process is terminated in step S203, the cutting instruction command is received in S204, and the margin length (4.5 mm in this embodiment, ie, 36 steps in this embodiment) is received in S205. )), And in step S206, the cutting hold count amount is set to “150” as a reservation for cutting processing, and a series of operations such as completion of printing according to the final print data and normal termination are applicable. . In this case, in step S403, the distance obtained by subtracting the margin length (4.5 mm or 36 steps in this embodiment) from the separation distance (23.2 mm or 186 steps in the present embodiment) between the print head and the cutter (in this embodiment). In this embodiment, if paper is fed by 18.7 mm (ie, 150 steps), when the cutting process is executed in step S405, the printed paper is normally ejected and the operation of the roll paper feed printer is terminated. Can be made.
[0079]
If it is determined in step S402 that the disconnection pending count amount is not “150”, the process proceeds to step S404. In this case, a series of processes at the time of normal termination as in the above-described case has not been performed, and the disconnection pending count amount is not set to “150” in step S206, that is, the disconnection process is not reserved. means. This is the case when the current print processing is forcibly terminated for some reason, or when a completely new group of print data is received during printing according to the print data that should have been the final one. Applicable. Therefore, in order to normally discharge the currently processed sheet without cutting it halfway, at least a separation distance between the print head and the cutter (23.2 mm in this embodiment, that is, 186 steps) in step S404. , And then the cutting process is executed in step S405.
[0080]
According to the method described above, in any case, the paper being processed can be normally discharged without being cut halfway.
[0081]
As described above, in the above-described embodiment, the margin length, which is the length of the print margin area in the paper feeding direction, is set in advance to be shorter than the separation distance between the print head and the cutter.
[0082]
In addition to this, printing such as a conventional roll paper feeding type printer that has the distance along the feeding direction between the print head and the cutter as the margin length of the printing margin area can be further selected as an option. Also good.
[0083]
That is, as a modification of the present invention, a process for comparing the margin length of the preset print margin area with the separation distance between the print head and the cutter is further provided, and the margin length is between the print head and the cutter. If the distance is shorter than the separation distance, the above-described processing according to the present invention is executed (for example, referred to as “margin reduction printing mode”). Otherwise, the conventional printing processing is executed to separate the print head from the cutter. The print mode may be switched such that a print process having the distance as the margin length of the print margin area can be executed (for example, referred to as “normal print mode”).
[0084]
More specifically, before operating the roll paper feed printer, the margin length of the print margin area is set in advance using a host device such as a computer connected to the roll paper feed printer. It can be so. When the roll paper feed printer starts operation, it is first determined whether the preset margin length is shorter than the separation distance between the print head and the cutter, and the margin reduction print mode Alternatively, any one of the normal print modes may be switched. Further, in this case, when the roll paper feed printer is in the margin reduction print mode at the end of the operation, it may be returned to the normal print mode.
[0085]
The printing apparatus according to the present invention has been described by taking the roll paper feed type printer as an example. However, the printing apparatus is a printing apparatus that performs printing on a printing medium wound in a roll shape. Other devices may be used as long as they are installed at a predetermined distance along the print medium supply direction. For example, a roll paper feed fax machine, a tape printer, a label printer, a receipt It may be a POS cash register printer that issues. If the present invention is applied to such a printing apparatus, printing in which the margin length, which is the length of the printing margin area in the paper feeding direction, is slightly shorter than the separation distance between the print head and the cutter can be efficiently performed. Can be realized.
[0086]
【The invention's effect】
As described above, according to the present invention, in a printing apparatus that prints on a printing medium wound in a roll shape, the length along the printing medium supply direction of the printing blank area is printed along the supply direction. It can be easily made shorter than the distance between the head and the cutter. That is, it is possible to efficiently realize printing in which the margin length, which is the length of the printing margin area in the paper feeding direction, is slightly shorter than the separation distance between the print head and the cutter.
[0087]
Further, according to the present invention, it is possible to adjust the print medium to a desired margin length without performing processing for returning the print medium in the direction opposite to the original supply direction, thereby reducing the entire operation time of the printing apparatus. be able to. This is particularly effective when printing is followed by a plurality of print data. Further, since the switching operation itself of the forward / reverse rotation direction of the motor for supplying the printing medium toward the print head is reduced, the structure of the motor drive circuit becomes relatively easy, and the noise and vibration of the motor can be reduced.
[0088]
Furthermore, a process for comparing the margin length of the preset print margin area with the separation distance between the print head and the cutter is further provided, and the margin length is shorter than the separation distance between the print head and the cutter. If the above-described processing according to the present invention is executed, otherwise the conventional printing processing is executed, and the printing processing having the separation distance between the print head and the cutter as the margin length of the printing margin area can be executed. If it does in this way, since the printing apparatus which prints on the to-be-printed medium wound by roll shape can be easily applied to various uses, versatility increases.
[0089]
A printing apparatus that performs printing on a printing medium wound in a roll shape to which the present invention can be applied is an apparatus in which a printing head and a cutter are installed at a predetermined distance along the supply direction of the printing medium. For example, a roll paper feed printer, a roll paper feed fax machine, a tape printer, a label printer, and a POS cash register printer that issues a receipt may be used.
[0090]
For example, when a large amount of sticker labels are printed by a roll paper feed type printer, in the conventional example, the print head and the cutter are spaced apart each time one sticker label is printed. In order to remove the printing blank area, it is necessary to reverse the paper feed motor to adjust the size of the print margin area, but according to the present invention, there is no need to reverse the paper feed motor many times. It is possible to print efficiently and in a short time.
[Brief description of the drawings]
FIG. 1 is a basic configuration diagram of a printing apparatus according to the present invention.
FIG. 2 is a flowchart of a printing apparatus control method according to the present invention.
FIG. 3 is a flowchart of a control method of a printing apparatus according to a modification of the present invention.
FIG. 4 is a system block diagram of a roll paper feeding type printer according to an embodiment of the present invention.
FIG. 5 is a flowchart showing an operation flow of the roll paper feed type printer according to the embodiment of the present invention.
FIG. 6 is a schematic diagram (part 1) illustrating a series of operations of the roll paper feed printer according to the embodiment of the invention.
FIG. 7 is a schematic diagram (part 2) illustrating a series of operations of the roll paper feed printer according to the embodiment of the invention.
FIG. 8 is a schematic diagram (part 3) illustrating a series of operations of the roll paper feed printer according to the embodiment of the invention.
FIG. 9 is a schematic diagram (part 4) illustrating a series of operations of the roll paper feed printer according to the embodiment of the invention.
FIG. 10 is a schematic diagram (part 5) illustrating a series of operations of the roll paper feed printer according to the embodiment of the invention.
FIG. 11 is a schematic diagram (part 6) illustrating a series of operations of the roll paper feed printer according to the embodiment of the invention.
FIG. 12 is a flowchart for explaining the suspension of the cutting process of the roll paper feed type printer according to the embodiment of the invention.
FIG. 13 is a flowchart illustrating an end process of the roll paper feed printer according to the embodiment of the invention.
FIG. 14 is a basic principle diagram of a conventional roll paper feeding type printer.
FIG. 15 is a diagram illustrating an example of printing by a conventional roll paper feed type printer.
[Explanation of symbols]
1 ... Printing device
11 ... Print head
12 ... Supply means
13 ... Cutter
14: Setting means
15: First control means
16 Second control means
17 ... Third control means
21 ... Main control section
22 ... Drive unit
23. Interface part
24. Detection unit
31 ... Thermal head
32 ... Feeding motor
33 ... Cutter driving motor
34 ... Power supply interface
35 ... Signal interface

Claims (5)

印刷ヘッドと、該印刷ヘッドで印刷されるべき被印刷媒体をロール状に巻かれた被印刷媒体から前記印刷ヘッドに向けて供給する供給手段と、前記被印刷媒体の供給方向に沿って前記印刷ヘッドから所定の距離だけ離間して設置され、印刷済みの前記被印刷媒体を切断するカッタとを備える印刷装置であって、
前記被印刷媒体上の前記カッタによる切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの、前記供給方向に沿う余白長さを設定する設定手段と、
前記余白長さが前記所定の距離よりも短いか否かを判定する判定手段と、
第1の印刷データに従う印刷処理が終了して、前記被印刷媒体の切断を前記カッタに指示する切断指示コマンドを受信したときにおいて、前記余白長さが前記所定の距離よりも短いと前記判定手段により判定されていた場合は、前記所定の距離から前記余白長さを差し引いた距離だけ前記被印刷媒体が移動した後に前記被印刷媒体の切断を実行するという予約処理を実行するとともに前記第1の印刷データに続く第2の印刷データに従う印刷処理実行するよう制御し、前記余白長さが前記所定の距離よりも短くないと前記判定手段により判定されていた場合には、前記切断指示コマンドに従い前記被印刷媒体の切断を実行するよう制御する第1の制御手段と、
前記余白長さが前記所定の距離よりも短いと前記判定手段により判定されていた場合において、前記第2の印刷データに従う印刷処理を実行中に前記所定の距離から前記余白長さを差し引いた距離だけ前記被印刷媒体が移動したとき、実行中の前記第2の印刷データに従う印刷処理を中断し前記第1の印刷データに従って印刷された印刷済みの前記被印刷媒体の切断を実行するよう制御する第2の制御手段と、
前記第1の印刷データに従って印刷された印刷済みの前記被印刷媒体の切断後、中断した前記第2の印刷データに従う印刷処理を再開して残りの印刷処理を実行するよう制御する第3の制御手段と、を備えてなることを特徴とする印刷装置。
A print head; supply means for supplying the print medium to be printed by the print head from the print medium wound in a roll shape toward the print head; and the printing along the supply direction of the print medium A printing apparatus provided with a cutter that is installed at a predetermined distance from a head and cuts the printed medium to be printed;
Setting means for setting a margin length along the supply direction of a printing margin area between a cutting line by the cutter on the printing medium and a next printing start line;
Determination means for determining whether the margin length is shorter than the predetermined distance;
And print processing according to the first print data is completed, in a case where the cutting of the printing medium receiving the termination instruction command to instruct the cutter, short and said judging means than the distance the blank length of the predetermined when that has been determined by, the distance obtained by subtracting a predetermined said margin length from a distance the first and executes the reservation processing of the print medium to execute cutting of the printing medium after moving If the determination means determines that the margin length is not shorter than the predetermined distance, the cutting instruction command is controlled to execute the printing process according to the second print data following the print data. First control means for controlling to execute the cutting of the printing medium according to
The distance obtained by subtracting the margin length from the predetermined distance during the execution of the printing process according to the second print data , when the determination unit determines that the margin length is shorter than the predetermined distance. when only the moves the printing medium, interrupts the printing process according to the second print data being executed, perform the cutting of the first print data to be printed I follow the printed the print medium Second control means for controlling to do,
The controls so that after the cutting of the first print data to be printed I follow the printed the printing medium, to resume printing process according interrupted the second print data to perform the rest of the printing process And a control unit. 3. A printing apparatus comprising:
印刷ヘッドと、該印刷ヘッドで印刷されるべき被印刷媒体をロール状に巻かれた被印刷媒体から前記印刷ヘッドに向けて供給する供給手段と、前記被印刷媒体の供給方向に沿って前記印刷ヘッドから所定の距離だけ離間して設置され、印刷済みの前記被印刷媒体を切断するカッタとを備える印刷装置の制御方法であって、
前記被印刷媒体上の前記カッタによる切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの、前記供給方向に沿う余白長さを設定する設定ステップと、
前記余白長さが前記所定の距離よりも短いか否かを判定する判定ステップと、
前記判定ステップにおいて前記余白長さが前記所定の距離よりも短いと判定された場合、第1の印刷データに従う印刷処理が終了して、前記被印刷媒体の切断を前記カッタに指示する切断指示コマンドを受信したときは、前記所定の距離から前記余白長さを差し引いた距離だけ前記被印刷媒体が移動した後に前記被印刷媒体の切断を実行するという予約処理を実行するとともに前記第1の印刷データに続く第2の印刷データに従う印刷処理実行するよう制御する第1の制御ステップと、
前記判定ステップにおいて前記余白長さが前記所定の距離よりも短いと判定された場合において、前記第2の印刷データに従う印刷処理を実行中に前記所定の距離から前記余白長さを差し引いた距離だけ前記被印刷媒体が移動したとき、前記第2の印刷データに従う印刷処理を中断し前記第1の印刷データに従って印刷された印刷済みの前記被印刷媒体の切断を実行するよう制御する第2の制御ステップと、
前記第2の制御ステップにおいて前記第1の印刷データに従って印刷された印刷済みの前記被印刷媒体切断した後、中断した前記第2の印刷データに従う印刷処理を再開して残りの印刷処理を実行するよう制御する第3の制御ステップと、
前記判定ステップにおいて前記余白長さが前記所定の距離よりも短くないと判定された場合に、第1の印刷データに従う印刷処理が終了して、前記被印刷媒体の切断を前記カッタに指示する切断指示コマンドを受信したときは、前記切断指示コマンドに従い切断処理を実行するよう制御する第4の制御ステップと、を備えてなることを特徴とする印刷装置の制御方法。
A print head; supply means for supplying the print medium to be printed by the print head from the print medium wound in a roll shape toward the print head; and the printing along the supply direction of the print medium A control method for a printing apparatus comprising a cutter that is installed at a predetermined distance from a head and that cuts the printed medium to be printed,
A setting step of setting a margin length along the supply direction of a printing margin area between a cutting line by the cutter on the printing medium and a next printing start line;
A determination step of determining whether the margin length is shorter than the predetermined distance;
If the margin length in said determining step is determined to shorter than the predetermined distance, the print processing according to the first print data is completed, the cutting instruction to cut the printing medium to the cutter When a command is received, a reservation process is executed in which the printing medium is cut after the printing medium has moved by a distance obtained by subtracting the margin length from the predetermined distance, and the first printing is performed. A first control step for controlling to execute a printing process according to the second print data following the data;
When it is determined in the determination step that the margin length is shorter than the predetermined distance, only the distance obtained by subtracting the margin length from the predetermined distance during execution of the printing process according to the second print data. when the printing medium is moved, interrupting the printing process according to the second print data, and controls to execute the cutting of the first print data to be printed I follow the printed the print medium A second control step;
After cutting the first of the printing medium printed printed in the print data I follow in the second control step, the rest of the printing to resume printing process according the interrupted second print data A third control step for controlling to execute the process;
When it is determined in the determination step that the margin length is not shorter than the predetermined distance, the printing process according to the first print data is completed, and the cutting that instructs the cutter to cut the printing medium And a fourth control step for controlling to execute a cutting process in accordance with the cutting instruction command when an instruction command is received .
印刷ヘッドと、該印刷ヘッドで印刷されるべき被印刷媒体を、ロール状に巻かれた被印刷媒体から前記印刷ヘッドに向けて供給する供給手段と、前記被印刷媒体の供給方向に沿って前記印刷ヘッドから所定の距離だけ離間して設置され、印刷済みの前記被印刷媒体を切断するカッタとを備える印刷装置の制御方法であって、
前記被印刷媒体上の前記カッタによる切断ラインから次の印刷開始ラインまでの間の印刷余白エリアの、前記供給方向に沿う余白長さを設定する第1のステップと、
前記余白長さが前記所定の距離よりも短いか否かを判定する判定ステップと、
第1の印刷データに従って前記被印刷媒体上に印刷を実行する第2のステップと、
前記第2のステップにおける印刷終了後、前記カッタに前記被印刷媒体の切断を指示する切断指示コマンドを受信する第3のステップと、
前記第3のステップにおいて前記切断指示コマンドを受信したとき、前記判定ステップにおいて前記余白長さが前記所定の距離よりも短いと判定されていた場合には、前記所定の距離から前記余白長さを差し引いた距離だけ前記被印刷媒体が移動するまで前記第1の印刷データに続く第2の印刷データに従って前記被印刷媒体に印刷処理を実行する第4のステップと、
前記第4のステップにおいて前記所定の距離から前記余白長さを差し引いた距離だけ前記被印刷媒体が移動したとき、実行中の前記第2の印刷データに従う印刷処理を中断し前記被印刷媒体の切断を実行する第5のステップと、
前記第5のステップにおける前記被印刷媒体の切断後、中断した前記第2の印刷データに従う印刷処理を再開して残りの印刷処理を実行する第6のステップと、
前記第3のステップにおいて前記切断指示コマンドを受信したとき、前記判定ステップにおいて前記余白長さが前記所定の距離よりも短くないと判定されていた場合には、前記切断指示コマンドに従い切断処理を実行する第7のステップと、を備えてなることを特徴とする印刷装置の制御方法。
A print head; a supply means for supplying a print medium to be printed by the print head from the print medium wound in a roll shape toward the print head; and the supply direction of the print medium along the supply direction. A control method for a printing apparatus comprising a cutter that is installed at a predetermined distance from a print head and that cuts the printed medium to be printed,
A first step of setting a margin length along the supply direction of a printing margin area between a cutting line by the cutter on the printing medium and a next printing start line;
A determination step of determining whether the margin length is shorter than the predetermined distance;
A second step of executing printing on the print medium according to the first print data;
A third step of receiving a cutting instruction command for instructing the cutter to cut the print medium after printing in the second step;
When receiving the disconnection instruction command in the third step, wherein, when the blank length in the judgment step was Tei is judged shorter than the predetermined distance, the margin length before Symbol predetermined distance of A fourth step of executing a printing process on the printing medium in accordance with second printing data following the first printing data until the printing medium moves by a distance obtained by subtracting
When the printing medium is moved by a distance obtained by subtracting the margin length from the predetermined distance in the fourth step, the printing process according to the second print data being executed is interrupted, and the printing medium A fifth step of performing cutting;
A sixth step of restarting the printing process according to the interrupted second print data after the cutting of the print medium in the fifth step and executing the remaining printing process;
When the cutting instruction command is received in the third step, if it is determined in the determining step that the margin length is not shorter than the predetermined distance, a cutting process is executed according to the cutting instruction command And a seventh step of controlling the printing apparatus.
印刷開始コマンドを受信したとき、前記印刷ヘッドが前記印刷開始ラインの位置になるように前記被印刷媒体を前記所定の距離から前記余白長さを差し引いた距離だけ移動させる開始ステップをさらに備える請求項2または3に記載の印刷装置の制御方法。The printing apparatus further comprises a start step of moving the print medium by a distance obtained by subtracting the margin length from the predetermined distance so that the print head is positioned at the print start line when a print start command is received. 4. A method for controlling a printing apparatus according to 2 or 3 . 印刷終了コマンドを受信したとき、前記所定の距離だけ前記被印刷媒体が移動した後、前記被印刷媒体を切断する終了ステップをさらに備える請求項のいずれか一項に記載の印刷装置の制御方法。When receiving the print end command, after a predetermined distance above the printing medium is moved, the printing apparatus according the any of claims 2-4, further comprising an end step of cutting the printing medium Control method.
JP2002251762A 2002-08-29 2002-08-29 Printing apparatus and control method thereof Expired - Lifetime JP4039917B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002251762A JP4039917B2 (en) 2002-08-29 2002-08-29 Printing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002251762A JP4039917B2 (en) 2002-08-29 2002-08-29 Printing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2004090280A JP2004090280A (en) 2004-03-25
JP4039917B2 true JP4039917B2 (en) 2008-01-30

Family

ID=32058263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002251762A Expired - Lifetime JP4039917B2 (en) 2002-08-29 2002-08-29 Printing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4039917B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103158368A (en) * 2011-12-09 2013-06-19 兄弟工业株式会社 Label creation device and feedback controlling method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4492261B2 (en) * 2004-09-10 2010-06-30 セイコーエプソン株式会社 PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM FOR PRINT CONTROL DEVICE
GB0614868D0 (en) * 2006-07-26 2006-09-06 Dymo B V B A Tape printing apparatus and tape cassette
JP5146126B2 (en) * 2008-06-12 2013-02-20 セイコーエプソン株式会社 Printing apparatus, printing apparatus control method, and printing apparatus control program
JP5402952B2 (en) * 2011-01-20 2014-01-29 株式会社リコー Paper transfer method for dot line printer
JP6478658B2 (en) * 2015-01-27 2019-03-06 キヤノン株式会社 Recording device
JP6548397B2 (en) * 2015-01-27 2019-07-24 キヤノン株式会社 Recording device
JP2019104122A (en) * 2017-12-08 2019-06-27 東芝テック株式会社 Printer and program
JP7215520B2 (en) * 2020-07-17 2023-01-31 カシオ計算機株式会社 PRINTING DEVICE, CONTROL METHOD, AND PROGRAM

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103158368A (en) * 2011-12-09 2013-06-19 兄弟工业株式会社 Label creation device and feedback controlling method
CN103158368B (en) * 2011-12-09 2015-04-22 兄弟工业株式会社 Label creation device and feedback controlling method

Also Published As

Publication number Publication date
JP2004090280A (en) 2004-03-25

Similar Documents

Publication Publication Date Title
JP3127716B2 (en) Printer
JP5357171B2 (en) Print job processing method and print job processing system
JP4039917B2 (en) Printing apparatus and control method thereof
JP3840992B2 (en) Printer, printer control method, program for causing computer to execute printer control method, and computer-readable recording medium recording this program
JP2004338382A (en) Printer
JP2001191601A (en) Printer, print system and method for feeding/discharging sheet
JPH11292324A (en) Printer and printing system
JP2017080917A (en) Printer and control method of the same
JPH068544A (en) Printer
JP3538985B2 (en) Control method of compound printer
JPH0640128A (en) Printer device
JPH1017168A (en) Paper sheet cassette automatic switching method
JPH0542731A (en) Sheet cut-off position control
JP3632726B2 (en) Image forming apparatus and image forming method
JP2001030589A (en) Imaging apparatus
JPH0930088A (en) Printer device and control method thereof
JPH08192553A (en) Printer
JPH1083368A (en) Communication controller and method therefor
JP3780192B2 (en) Information processing apparatus, information processing system, information processing apparatus control method, and program
JPH08112961A (en) Printer
JPH10286971A (en) Ink jet printer
JP2002114407A (en) Sheet feeder, and image forming apparatus
JP2021097279A (en) Image forming apparatus
JPH07129338A (en) Device and method for controlling printing
JPH07214835A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070710

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070910

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071106

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4039917

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term