JP4626308B2 - Roll paper printing device - Google Patents

Roll paper printing device Download PDF

Info

Publication number
JP4626308B2
JP4626308B2 JP2005005385A JP2005005385A JP4626308B2 JP 4626308 B2 JP4626308 B2 JP 4626308B2 JP 2005005385 A JP2005005385 A JP 2005005385A JP 2005005385 A JP2005005385 A JP 2005005385A JP 4626308 B2 JP4626308 B2 JP 4626308B2
Authority
JP
Japan
Prior art keywords
roll paper
conveyance
printing
paper
amount
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
JP2005005385A
Other languages
Japanese (ja)
Other versions
JP2006193259A (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 JP2005005385A priority Critical patent/JP4626308B2/en
Publication of JP2006193259A publication Critical patent/JP2006193259A/en
Application granted granted Critical
Publication of JP4626308B2 publication Critical patent/JP4626308B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Handling Of Continuous Sheets Of Paper (AREA)
  • Controlling Rewinding, Feeding, Winding, Or Abnormalities Of Webs (AREA)

Description

本発明は、ロール紙印字装置、その方法及びプログラムに関し、詳しくは、印字データに基づいてロール紙に印字可能なロール紙印字装置、その方法及びプログラムに関する。   The present invention relates to a roll paper printing apparatus, a method thereof, and a program, and more particularly to a roll paper printing apparatus capable of printing on roll paper based on print data, a method thereof, and a program.

従来より、印字データに基づいてロール紙に印字可能なロール紙印字装置としては、例えば特許文献1に開示されているように、画像形成領域の近傍に配置された媒体検知センサからの検知信号と搬送ローラによる搬送量とに基づいてロール紙の使用量を演算し、このようにして演算したロール紙の使用量をロール紙の初期長さから差し引くことによりロール紙の残量を求め、メモリに記憶させておくものが知られている。また、この装置では、印字が終了してロール紙をカットした後、ロール紙の搬送量を残量から差し引いて新たな残量を求めている。
特開2000−313558(段落0040,段落0054)
Conventionally, as a roll paper printing apparatus capable of printing on roll paper based on print data, for example, as disclosed in Patent Document 1, a detection signal from a medium detection sensor arranged in the vicinity of an image forming area, The amount of roll paper used is calculated based on the amount of conveyance by the conveyance roller, and the remaining amount of roll paper is obtained by subtracting the calculated amount of roll paper used from the initial length of the roll paper and stored in the memory. What is remembered is known. Further, in this apparatus, after printing is completed and the roll paper is cut, a new remaining amount is obtained by subtracting the amount of roll paper transport from the remaining amount.
JP 2000-31558 (paragraph 0040, paragraph 0054)

ところで、特許文献1に開示された装置では、ロール紙は印字ヘッドから吐出されたインクによってカラー画像が形成されたあと排出ローラと拍車とに挟持されながら排出方向下流側のカッタにより切断されることから、ロール紙のうちカッタによる切断位置から画像が形成される位置までの間は余白部分となる。このため、この余白部分を有効に利用しようとしてロール紙を巻取方向に搬送させてから次回の印字を行うことがある。しかしながら、この装置では、ロール紙をカットしたあとロール紙の残量から搬送量を差し引いて新たな残量を求めているが、ロール紙が巻取方向に搬送されたあとの搬送量はカット時の搬送量よりも小さい値となるから、一旦表示された残量がその後増えるという状況が起こり、好ましくない。特に残量が予め定められた紙切れ直前値未満になったときに警告を発する装置の場合には、カット直後に警告が発せられ、その後ロール紙を巻き取ったあとに警告が停止することがあり、好ましくない。   By the way, in the apparatus disclosed in Patent Document 1, a roll paper is cut by a cutter on the downstream side in the discharge direction while being held between a discharge roller and a spur after a color image is formed by ink discharged from the print head. From the cutting position of the roll paper to the position where the image is formed, there is a blank portion. For this reason, there is a case where the next printing is performed after the roll paper is conveyed in the winding direction in order to effectively use the blank portion. However, in this device, after the roll paper is cut, a new remaining amount is obtained by subtracting the conveyance amount from the remaining amount of the roll paper. However, the conveyance amount after the roll paper is conveyed in the winding direction is Since this is a value smaller than the transport amount, the situation in which the remaining amount once displayed increases thereafter is not preferable. In particular, in the case of a device that issues a warning when the remaining amount falls below a predetermined value just before running out of paper, a warning may be issued immediately after cutting, and then the warning may stop after winding the roll paper. It is not preferable.

本発明は、このような課題に鑑みなされたものであり、ロール紙の搬送量に基づく処理を適切に実行することができるロール紙印字装置、その方法及びそのプログラムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a roll paper printing apparatus, a method thereof, and a program thereof that can appropriately execute processing based on the amount of roll paper transport. .

本発明は、上述の目的を達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve the above-mentioned object.

本発明のロール紙印字装置であって、
前記ロール紙が搬送されるとき該搬送量を仮保存手段に保存する仮保存実行手段と、
前記仮保存された搬送量を確定保存すべき確定タイミングか否かを判定する確定タイミング判定手段と、
前記確定タイミング判定手段によって現時点が前記確定タイミングであると判定されたとき前記仮保存された搬送量を確定保存手段に保存する確定保存実行手段と、
前記確定保存手段に保存された搬送量に基づいて処理を実行する処理実行手段と、
を備え、
前記確定タイミング判定手段は、オペレータの操作により巻取方向にロール紙が搬送される可能性の高い浮動期間中は前記確定タイミングであるとは判定しないものである。
A roll paper printing apparatus of the present invention,
Temporary storage executing means for storing the transport amount in the temporary storage means when the roll paper is transported;
A confirmation timing determination means for determining whether or not the provisionally stored transport amount is a confirmation timing to be confirmed and stored;
A deterministic storage executing unit that stores the temporarily stored conveyance amount in the deterministic storage unit when it is determined by the deterministic timing determination unit that the current time is the final determination timing;
Processing execution means for executing processing based on the transport amount stored in the fixed storage means;
With
The determination timing determination means does not determine that the determination timing is during a floating period during which roll paper is likely to be conveyed in the winding direction by an operator's operation.

このロール紙印字装置では、浮動期間中は確定タイミングであるとは判定しないため、一旦確定した搬送量がその後小さな値に変わることはない。すなわち、浮動期間中に確定タイミングであると判定したとすると、一旦確定した搬送量に基づいて処理を実行した場合、その後ロール紙が巻き取られたときには搬送量はその一旦確定した搬送量よりも小さな値に変わることから、先に実行した処理が不適切になることがあるが、本発明では搬送量が一旦確定した搬送量よりも小さな値に変わることがないから、先に実行した処理が不適切になることがない。したがって、本発明によれば、ロール紙の搬送量に基づく処理を適切に実行することができる。   In this roll paper printing apparatus, since it is not determined that it is the fixed timing during the floating period, the once determined transfer amount does not change to a small value thereafter. In other words, if it is determined that it is the fixed timing during the floating period, when the process is executed based on the once confirmed conveyance amount, the conveyance amount is larger than the once confirmed conveyance amount when the roll paper is wound after that. Since the process executed previously may be inappropriate due to the change to a small value, the transport amount does not change to a value smaller than the transport amount once determined in the present invention. It will not be inappropriate. Therefore, according to the present invention, it is possible to appropriately execute processing based on the transport amount of roll paper.

本発明のロール紙印字装置において、前記浮動期間には、印字を伴わない搬送の開始から終了までの期間が含まれていてもよく、更に該搬送の終了から次の動作を行うまでの期間が含まれていてもよい。印字を伴わない搬送を行った場合には、ロール紙の先頭領域に余白が生じることから、オペレータの操作により巻取方向に搬送される可能性が高い。このため、印字を伴わない搬送の開始から終了までの期間や該搬送の終了から次の動作を行うまでの期間は、搬送量を確定しないことが好ましい。   In the roll paper printing apparatus of the present invention, the floating period may include a period from the start to the end of conveyance without printing, and further includes a period from the end of the conveyance to the next operation. It may be included. When transport without printing is performed, a margin is generated in the leading area of the roll paper, and therefore there is a high possibility that the paper will be transported in the winding direction by the operation of the operator. For this reason, it is preferable that the conveyance amount is not determined during a period from the start to the end of conveyance without printing or a period from the end of the conveyance to the next operation.

本発明のロール紙印字装置において、前記浮動期間には、オペレータの操作による搬送の開始から終了までの期間が含まれていてもよく、更に該搬送の終了から次の動作を行うまでの期間が含まれていてもよい。オペレータが自らの操作により搬送を行った場合には、巻取方向への搬送と排出方向への搬送を繰り返したりすることがある。このため、オペレータの操作による搬送の開始から終了までの期間や該搬送の終了から次の動作を行うまでの期間は、搬送量を確定しないことが好ましい。   In the roll paper printing apparatus of the present invention, the floating period may include a period from the start to the end of conveyance by an operator's operation, and further includes a period from the end of the conveyance to the next operation. It may be included. When the operator performs the conveyance by his / her own operation, the conveyance in the winding direction and the conveyance in the discharge direction may be repeated. For this reason, it is preferable that the transport amount is not determined during the period from the start to the end of the transport by the operation of the operator or the period from the end of the transport to the next operation.

本発明のロール紙印字装置において、前記浮動期間には、所定のイベントに伴って開始されるメカシーケンス処理の開始から終了までの期間が含まれていてもよく、更に該メカシーケンス処理の終了から次の動作を行うまでの期間が含まれていてもよい。メカシーケンス処理が行われた場合には、ロール紙の先頭領域に余白が生じたりすることがあるから、オペレータの操作により巻取方向に搬送される可能性が高い。このため、メカシーケンス処理の開始から終了までの期間や該搬送の終了から次の動作を行うまでの期間は、搬送量を確定しないことが好ましい。ここで、「メカシーケンス処理」とは、例えば電源投入というイベントに伴って行われるロール紙の搬送動作などが挙げられる。   In the roll paper printing apparatus of the present invention, the floating period may include a period from the start to the end of the mechanical sequence process started in accordance with a predetermined event, and further from the end of the mechanical sequence process. A period until the next operation is performed may be included. When the mechanical sequence process is performed, a margin may be generated in the leading area of the roll paper, so that there is a high possibility that the roll will be conveyed in the winding direction by the operation of the operator. For this reason, it is preferable that the transport amount is not determined during the period from the start to the end of the mechanical sequence process or the period from the end of the transport to the next operation. Here, the “mechanical sequence process” includes, for example, a roll paper transport operation performed in response to an event of power-on.

本発明のロール紙印字装置において、前記浮動期間には、印字終了時点からカット位置までロール紙を搬送させロール紙をカットしたあと次回印字を開始するための頭出し位置にロール紙を戻すまでの期間が含まれていてもよい。ロール紙をカットした場合にはロール紙の先頭領域に余白が生じることから、オペレータ又は自動的に頭出し位置にロール紙を戻すことが多い。このため、印字終了時点からカット位置までロール紙を搬送させロール紙をカットしたあと頭出し位置にロール紙を戻すまでの期間は、搬送量を確定しないことが好ましい。   In the roll paper printer of the present invention, during the floating period, the roll paper is conveyed from the end of printing to the cutting position, and after the roll paper is cut, the roll paper is returned to the cueing position for starting the next printing. A period may be included. When the roll paper is cut, a margin is generated in the leading area of the roll paper, and the roll paper is often returned to the operator or automatically at the cueing position. For this reason, it is preferable that the conveyance amount is not determined during a period from when the roll paper is conveyed from the printing end point to the cut position until the roll paper is returned to the cue position after the roll paper is cut.

本発明のロール紙印字装置において、前記処理実行手段は、前記確定保存手段に保存された搬送量を初期残量値から差し引くことにより算出したロール紙残量と予め定められた紙切れ直前値とを比較し該比較結果に基づいて紙切れに関する警告を出力してもよい。この場合、確定保存された搬送量はその後小さな値に変わってしまうことがないため、ロール紙残量はその後大きな値に変わってしまうことがない。したがって、ロール紙残量が少なくなって警告が出力されたあと、ロール紙残量が増えて警告が解除されるという事態を招くことがない。ここで、「紙切れ直前値」は、予め装置内部に記憶された固定値としてもよいが、オペレータの操作によって設定入力された値としてよい。こうすれば、オペレータの好みに応じて紙切れ直前値を変更することができる。   In the roll paper printing apparatus of the present invention, the processing execution unit calculates a roll paper remaining amount calculated by subtracting a conveyance amount stored in the fixed storage unit from an initial remaining amount value and a predetermined value immediately before the paper runs out. The comparison may be made, and a warning regarding paper out may be output based on the comparison result. In this case, since the confirmed and stored conveyance amount does not change to a small value thereafter, the remaining amount of roll paper does not change to a large value thereafter. Therefore, after the remaining amount of roll paper is low and a warning is output, there is no case where the remaining amount of roll paper increases and the warning is canceled. Here, the “value just before running out of paper” may be a fixed value stored in the apparatus in advance, or may be a value set and input by an operator's operation. In this way, it is possible to change the value immediately before running out of paper according to the preference of the operator.

本発明のロール紙印字装置において、前記確定タイミングは、オペレータの操作により巻取方向にロール紙が搬送される可能性がほとんどない非浮動期間内で予め定められた所定のタイミングであってもよい。こうすれば、確定保存した搬送量がその後小さな値に変わることがない。このような確定タイミングとしては、例えば、印字終了時点からカット位置までロール紙を搬送させロール紙をカットしたあと次回印字を開始するための頭出し位置にロール紙が戻った時点を採用してもよい。ロール紙が頭出し位置に戻ったあとそれ以上巻取方向に搬送される可能性はほとんどないため、この時点で搬送量を確定保存するのが好ましい。あるいは、このような確定タイミングとして、印字を伴う搬送が終了した時点を採用してもよい。ロール紙のうち印字された領域を戻して再度印字するという状況は考えにくいため、この時点で搬送量を確定保存するのが好ましい。   In the roll paper printing apparatus of the present invention, the determination timing may be a predetermined timing that is predetermined within a non-floating period in which there is almost no possibility of the roll paper being conveyed in the winding direction by an operator's operation. . In this way, the confirmed and stored transport amount does not change to a small value thereafter. As such a determination timing, for example, the time when the roll paper is transported from the printing end time to the cutting position and the roll paper returns to the cueing position for starting the next printing after cutting the roll paper may be adopted. Good. Since there is almost no possibility that the roll paper will be transported further in the winding direction after returning to the cueing position, it is preferable to determine and store the transport amount at this point. Or you may employ | adopt the time when conveyance with printing was complete | finished as such a fixed timing. Since it is difficult to consider a situation in which the printed area of the roll paper is returned and printed again, it is preferable to determine and store the transport amount at this point.

本発明のロール紙印字装置において、前記仮保存実行手段は、ロール紙が実際に搬送される前に前記印字データに基づいて得られる搬送量理論値を前記仮保存手段に保存してもよい。例えば、搬送ローラの回転数に基づいて搬送量を算出することも考えられるが、その場合には、搬送ローラとロール紙との滑り等を考慮して補正する必要があるため、そのような補正の必要のない搬送量理論値を仮保存するのが好ましい。なお、仮保存された搬送量がその後確定保存されるため、確定保存される搬送量も搬送量理論値ということになる。   In the roll paper printing apparatus of the present invention, the temporary storage execution unit may store the transport amount theoretical value obtained based on the print data in the temporary storage unit before the roll paper is actually transported. For example, it may be possible to calculate the conveyance amount based on the number of rotations of the conveyance roller, but in that case, it is necessary to make corrections in consideration of slippage between the conveyance roller and the roll paper. It is preferable to temporarily store the transport amount theoretical value that does not require the above. Since the temporarily stored transport amount is then confirmed and stored, the transport amount that is confirmed and stored is also the transport amount theoretical value.

本発明のロール紙印字方法は、
(a)前記ロール紙が搬送されるとき該搬送量を仮保存手段に保存するステップと、
(b)前記仮保存された搬送量を確定保存すべき確定タイミングか否かを判定するステップと、
(c)前記ステップ(b)で現時点が前記確定タイミングであると判定されたとき前記仮保存された搬送量を確定保存手段に保存するステップと、
(d)前記確定保存手段に保存された搬送量に基づいて処理を実行するステップと、
を含み、
前記ステップ(b)では、オペレータの操作により巻取方向にロール紙が搬送される可能性の高い浮動期間中は前記確定タイミングであるとは判定しないものである。
The roll paper printing method of the present invention comprises:
(A) storing the transport amount in a temporary storage unit when the roll paper is transported;
(B) determining whether the provisionally stored transport amount is a fixed timing to be fixed and stored;
(C) storing the temporarily stored conveyance amount in a fixed storage unit when it is determined in step (b) that the current time is the fixed timing;
(D) executing a process based on the transport amount stored in the fixed storage unit;
Including
In the step (b), the determination timing is not determined during a floating period in which the roll paper is likely to be conveyed in the winding direction by an operator's operation.

このロール紙印字方法では、浮動期間中は確定タイミングであるとは判定しないため、一旦確定した搬送量がその後小さな値に変わることはないから、ロール紙の搬送量に基づく処理を適切に実行することができる。なお、本発明のロール紙印字方法に、上述したロール紙印字装置の機能を実現するステップを追加してもよい。   In this roll paper printing method, since it is not determined that it is the fixed timing during the floating period, the once confirmed conveyance amount does not change to a small value thereafter, and therefore processing based on the roll paper conveyance amount is appropriately executed. be able to. In addition, you may add the step which implement | achieves the function of the roll paper printing apparatus mentioned above to the roll paper printing method of this invention.

本発明のプログラムは、1又は複数のコンピュータに、上述したロール紙印字方法の各ステップを実行させるためのプログラムである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述したロール紙印字方法と同様の効果が得られる。   The program of the present invention is a program for causing one or more computers to execute each step of the above-described roll paper printing method. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by one computer, or if each step is shared and executed by a plurality of computers, the same effect as the roll paper printing method described above can be obtained.

次に、本発明の実施の形態を図面に基づいて説明する。図1は、本発明の一実施形態であるプリンタ10の構成の概略を示すブロック図である。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an outline of the configuration of a printer 10 according to an embodiment of the present invention.

本実施形態のプリンタ10は、LFP(Large Format Printer)とも称される大判プリンタであり、A1サイズ以上の用紙に印刷することができるカラーインクジェットプリンタである。このプリンタ10は、搬送モータ12によってロール紙Pを給紙ガイド14や排紙ガイド16に沿って搬送する機構と、キャリッジモータ18によりロール紙Pを横切る方向(図1で紙面に垂直な方向)に設けられた図示しないガイドレールに沿ってキャリッジ20を往復動させる機構と、キャリッジ20に搭載された印字ヘッド22を駆動して各色のインクカートリッジ24からのインクの吐出およびドット形成を制御する機構と、キャリッジ20上にて印字ヘッド22よりも排出方向下流側に搭載された可動刃26を排紙ガイド16上に形成された固定刃28に対して接触・離間させるカッタ用ソレノイド30と、各種情報を表示したりボタン操作により各種情報を入力したりする操作パネル36と、搬送モータ12,キャリッジモータ18,印字ヘッド22,カッタ用ソレノイド30,操作パネル36及びホストコンピュータ50との信号のやり取りを司るコントローラ40とから構成されている。操作パネル36には搬送ボタン38が設けられ、この搬送ボタン38にはロール紙Pを排出方向に搬送するための排出ボタン38aとロール紙Pを巻取方向に搬送するための巻取ボタン38bの2種類がある。   The printer 10 according to the present embodiment is a large format printer that is also referred to as an LFP (Large Format Printer), and is a color inkjet printer that can print on A1 size paper or larger. The printer 10 has a mechanism for transporting the roll paper P along the paper feed guide 14 and the paper discharge guide 16 by the transport motor 12, and a direction across the roll paper P by the carriage motor 18 (a direction perpendicular to the paper surface in FIG. 1). A mechanism for reciprocating the carriage 20 along a guide rail (not shown) provided in the printer, and a mechanism for controlling the ejection of ink from each color ink cartridge 24 and the dot formation by driving the print head 22 mounted on the carriage 20. A cutter solenoid 30 for bringing the movable blade 26 mounted on the carriage 20 downstream of the print head 22 in the discharge direction into contact with and separating from the fixed blade 28 formed on the discharge guide 16; An operation panel 36 for displaying information and inputting various information by operating buttons, a conveyance motor 12, and a carriage motor 8, the print head 22, the cutter solenoid 30, and an operation panel 36 and the host computer 50 and the controller 40 that controls transmission of signals. The operation panel 36 is provided with a transport button 38. The transport button 38 includes a discharge button 38a for transporting the roll paper P in the discharge direction and a winding button 38b for transporting the roll paper P in the winding direction. There are two types.

また、コントローラ40は、各種処理を実行するCPU41と、各種制御プログラムなどが格納されたROM42と、データを一時的に記憶するRAM43と、計時を行うタイマ44と、ホストコンピュータ50、モータ12,18、印字ヘッド22及び操作パネル36とデータのやり取りを行う入出力ポート45とを備えており、これらはバス47を介して相互に接続されている。ここで、RAM43は、操作パネル36に設けられた電源スイッチ(図示せず)がオフになっているときでもバックアップされているため記憶内容が消失しないものであり、このRAM43には、ロール紙Pの搬送量を仮保存する移動カウンタ43aと、移動カウンタ43aに仮保存された搬送量を確定保存する確定カウンタ43bが設けられている。   The controller 40 includes a CPU 41 that executes various processes, a ROM 42 that stores various control programs, a RAM 43 that temporarily stores data, a timer 44 that measures time, a host computer 50, motors 12 and 18. And an input / output port 45 for exchanging data with the print head 22 and the operation panel 36, and these are connected to each other via a bus 47. Here, since the RAM 43 is backed up even when a power switch (not shown) provided on the operation panel 36 is turned off, the stored contents are not lost. Is provided with a movement counter 43a for temporarily storing the carry amount and a confirmation counter 43b for confirming and saving the carry amount temporarily stored in the movement counter 43a.

次に、本実施形態のプリンタ10の印字処理ルーチンについて図2のフローチャートに基づいて説明する。プリンタ10のコントローラ40は、所定タイミングごとにホストコンピュータ50からビットマップ展開されたイメージデータを受信したか否かを判定し(ステップS102)、受信していないときにはそのまま本ルーチンを終了する。一方、イメージデータを受信したときには、そのイメージデータに基づいてこのプリンタ10に合った印字データを作成して一時的にRAM43に蓄え(ステップS104)、その印字データのうちキャリッジ20がロール紙Pを横切る方向に一往復して印字するときにロール紙Pを搬送方向に移動させる搬送量の理論値を計算し(ステップS106)、その理論値を移動カウンタ43aのカウント値に加算すると共に(ステップS108)、その理論値に基づいて搬送モータ12の回転量を計算する(ステップS110)。ここで、搬送モータ12の回転量は、搬送モータ12の回転軸と共に回転する搬送ローラ12aと、この搬送ローラ12aと共にロール紙Pを挟み込むように配置された従動ローラ12bとの間を通過するロール紙Pとの滑り等を考慮して計算される。例えば、ロール紙Pの用紙種類の性質上滑りが大きい場合には、滑りのない場合に比べて搬送モータ12の回転量が多くなるように計算される。なお、ロール紙Pの用紙種類は、事前にオペレータが操作パネル36から入力しているものとする。   Next, a print processing routine of the printer 10 of this embodiment will be described based on the flowchart of FIG. The controller 40 of the printer 10 determines whether or not the bitmap-developed image data has been received from the host computer 50 at every predetermined timing (step S102). On the other hand, when the image data is received, print data suitable for the printer 10 is created based on the image data and temporarily stored in the RAM 43 (step S104), and the carriage 20 includes the roll paper P in the print data. A theoretical value of the transport amount by which the roll paper P is moved in the transport direction when printing in one reciprocation in the transverse direction is calculated (step S106), and the theoretical value is added to the count value of the movement counter 43a (step S108). ) And the rotation amount of the transport motor 12 is calculated based on the theoretical value (step S110). Here, the rotation amount of the conveyance motor 12 is a roll that passes between a conveyance roller 12a that rotates together with the rotation shaft of the conveyance motor 12 and a driven roller 12b that is arranged so as to sandwich the roll paper P together with the conveyance roller 12a. It is calculated in consideration of slippage with the paper P and the like. For example, when the slip is large due to the nature of the paper type of the roll paper P, the amount of rotation of the transport motor 12 is calculated to be larger than when there is no slip. It is assumed that the paper type of the roll paper P is input in advance from the operation panel 36 by the operator.

そして、計算した搬送モータ12の回転量に基づいて搬送モータ12を制御しつつ、印字データに基づいて印字ヘッド22やキャリッジモータ18の制御を行う(ステップS112)。ここで、印字ヘッド22の制御は、搬送ローラ12aと従動ローラ12bとに挟持されつつ搬送されるロール紙Pのうちプラテン23上の領域に、各色のインクカートリッジ24からインクを吐出してドットを形成する制御であるが、印字すべき内容がない場合にはインクが吐出されない。なお、インクを吐出しない場合には、キャリッジモータ18によるキャリッジ20の往復動を行わずにキャリッジ20を停止したままとしてもよい。その後、今回のロール紙Pの搬送が印字を伴う搬送だったか否かを判定する(ステップS114)。そして、今回のロール紙Pの搬送が印字を伴う搬送だったときには、移動カウンタ43aに仮保存されていた搬送量を確定カウンタ43bに加算したあと移動カウンタ43aをリセットし(ステップS116)、ロール紙Pの初期残量値から確定カウンタ43bのカウント値を差し引いた値をロール紙残量とし(ステップS118)、そのロール紙残量が予め操作パネル36にてオペレータが設定したニアエンド値以下か否かを判定し(ステップS120)、ロール紙残量がニアエンド値以下のときには操作パネル36に紙切れが間近である旨の警告文を出力すると共に図示しないスピーカから警告音を発生させ(ステップS122)、本ルーチンを終了する。一方、ステップS120でロール紙残量がニアエンド値を超えていたときやステップS114で印字を伴わない搬送だったときには、未処理の印字データが残っているか否かを判定し(ステップS124)、未処理の印字データが残っているときには再びステップS106以下の処理を実行し、未処理の印字データが残っていないときには本ルーチンを終了する。このように、印字を伴わない搬送を行った時点では移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算せず、印字を伴う搬送を行った時点を確定タイミングと判定して移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算する。このため、結果的に、印字を伴う搬送を行った時点を確定タイミングと判定しているといえる。   Then, while controlling the carry motor 12 based on the calculated rotation amount of the carry motor 12, the print head 22 and the carriage motor 18 are controlled based on the print data (step S112). Here, the print head 22 is controlled by ejecting ink from the ink cartridges 24 of each color onto the area on the platen 23 of the roll paper P that is conveyed while being sandwiched between the conveyance roller 12a and the driven roller 12b. In this control, ink is not ejected when there is no content to be printed. When ink is not ejected, the carriage 20 may be stopped without reciprocating the carriage 20 by the carriage motor 18. Thereafter, it is determined whether or not the current transport of the roll paper P is transport accompanied by printing (step S114). When the current transport of the roll paper P is transport accompanied by printing, the transport counter 43a is reset after adding the transport amount temporarily stored in the travel counter 43a to the fixed counter 43b (step S116). A value obtained by subtracting the count value of the confirmation counter 43b from the initial remaining amount value of P is set as the remaining amount of roll paper (step S118). (Step S120), when the remaining amount of roll paper is less than or equal to the near-end value, a warning message is output to the operation panel 36 that paper is almost out, and a warning sound is generated from a speaker (not shown) (step S122). End the routine. On the other hand, when the roll paper remaining amount exceeds the near-end value in step S120 or the conveyance is not accompanied by printing in step S114, it is determined whether or not unprocessed print data remains (step S124). When the print data of the process remains, the process after step S106 is executed again, and when the unprocessed print data does not remain, this routine is finished. As described above, when the conveyance without printing is performed, the count value of the movement counter 43a is not added to the count value of the confirmation counter 43b. Is added to the count value of the confirmation counter 43b. For this reason, as a result, it can be said that the time point at which the conveyance with printing is performed is determined as the final timing.

次に、本実施形態のプリンタ10のカット処理ルーチンについて図3のフローチャート及び図4のキャリッジ周辺の動作説明図に基づいて説明する。プリンタ10のコントローラ40は、所定タイミングごとにホストコンピュータ50又は操作パネル36からカット指令が入力されたか否かを判定し(ステップS202)、カット指令がないときにはそのまま本ルーチンを終了する。このカット指令は、通常、印字処理ルーチンが終了した後にホストコンピュータ50又は操作パネル36から入力される。一方、カット指令があったときには、ロール紙Pのうち印字ヘッド22に対向している位置P1(印字処理ルーチン終了直後のときにはロール紙Pの画像形成領域の終端位置にあたる)を固定刃28が設けられたカット位置X(図4(a)参照)まで移動させる搬送量の理論値(正の値)を移動カウンタ43aのカウント値に加算する(ステップS204)。なお、印字ヘッド22に対向する位置からカット位置Xまでの距離は一定であるため、ここでの搬送量の理論値は前もって計算されている。続いて、この理論値に基づいて搬送モータ12の回転量を計算し(ステップS206)、計算した搬送モータ12の回転量に基づいて搬送モータ12を制御する(ステップS208)。この搬送モータ12の制御後、ロール紙Pのうち印字ヘッド22に対向していた位置P1がカット位置Xに到達する。続いて、図4(b)に示すように、可動刃26と固定刃28によりロール紙Pの切断を行う(ステップS210)。すなわち、カッタ用ソレノイド30を励磁してカッタホルダ32に固定された可動鉄心30aをロール紙Pへ引き寄せることによりカッタホルダ32とキャリッジ20との間に配置されたバネ34の付勢力に抗して可動刃26を固定刃28に接するようにしつつ、キャリッジモータ18によりキャリッジ20をロール紙Pを横切る方向へ移動させる。この結果、ロール紙Pはカット位置Xにて切断される。切断後、カッタ用ソレノイド30を消磁する。すると、バネ34の付勢力によりカッタホルダ32がロール紙Pから離れる方向に持ち上がるため、これに伴い可動刃26も同方向へ持ち上がる。   Next, the cut processing routine of the printer 10 of the present embodiment will be described based on the flowchart of FIG. 3 and the operation explanatory diagram around the carriage of FIG. The controller 40 of the printer 10 determines whether or not a cut command has been input from the host computer 50 or the operation panel 36 at every predetermined timing (step S202). If there is no cut command, the present routine is terminated. This cut command is normally input from the host computer 50 or the operation panel 36 after the print processing routine is completed. On the other hand, when a cut command is issued, the fixed blade 28 provides a position P1 of the roll paper P facing the print head 22 (corresponding to the end position of the image forming area of the roll paper P immediately after the end of the print processing routine). The theoretical value (positive value) of the transport amount to be moved to the cut position X (see FIG. 4A) is added to the count value of the movement counter 43a (step S204). Since the distance from the position facing the print head 22 to the cut position X is constant, the theoretical value of the carry amount here is calculated in advance. Subsequently, the rotation amount of the conveyance motor 12 is calculated based on the theoretical value (step S206), and the conveyance motor 12 is controlled based on the calculated rotation amount of the conveyance motor 12 (step S208). After the control of the transport motor 12, the position P <b> 1 facing the print head 22 of the roll paper P reaches the cut position X. Subsequently, as shown in FIG. 4B, the roll paper P is cut by the movable blade 26 and the fixed blade 28 (step S210). That is, the movable blade 30 is moved against the biasing force of the spring 34 disposed between the cutter holder 32 and the carriage 20 by exciting the solenoid 30 for the cutter and pulling the movable iron core 30a fixed to the cutter holder 32 to the roll paper P. While the carriage 26 is in contact with the fixed blade 28, the carriage 20 is moved in a direction across the roll paper P by the carriage motor 18. As a result, the roll paper P is cut at the cutting position X. After cutting, the cutter solenoid 30 is demagnetized. Then, since the cutter holder 32 is lifted in the direction away from the roll paper P by the biasing force of the spring 34, the movable blade 26 is also lifted in the same direction.

その後、次回印字を開始するための頭出し位置Yにロール紙Pの先端位置を戻すための搬送量の理論値(負の値)を移動カウンタ43aのカウント値に加算する(ステップS212)。なお、カット位置Xから頭出し位置Yまでの距離は一定であるため、ここでの搬送量の理論値は前もって計算されている。続いて、この理論値に基づいて搬送モータ12の回転量を計算し(ステップS214)、計算した搬送モータ12の回転量に基づいて搬送モータ12を制御する(ステップS216)。この搬送モータ12の制御後、図4(c)に示すようにロール紙Pの先端位置が頭出し位置Yに到達する。その後、移動カウンタ43aのカウント値を確定カウンタ43bに加算したあと移動カウンタ43aをリセットする(ステップS218)。そして、ロール紙Pの初期残量値から確定カウンタ43bのカウント値を差し引いた値をロール紙残量とし(ステップS220)、そのロール紙残量が予め操作パネル36にてオペレータが設定したニアエンド値以下か否かを判定し(ステップS222)、ロール紙残量がニアエンド値以下のときには操作パネル36に紙切れが間近である旨の警告文を出力すると共に図示しないスピーカから警告音を発生させ(ステップS224)、本ルーチンを終了する。一方、ステップS222でロール紙残量がニアエンド値を超えていたときには、そのまま本ルーチンを終了する。このように、印字終了時点からカット位置Xまでロール紙Pを搬送させロール紙Pをカットしたあと頭出し位置Yにロール紙Pの先端を戻すまでの期間は移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算せず、頭出し位置Yに戻った時点で移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算する。このため、結果的に、頭出し位置Yに戻した時点を確定タイミングと判定しているといえる。   Thereafter, the theoretical value (negative value) of the transport amount for returning the leading end position of the roll paper P to the cueing position Y for starting the next printing is added to the count value of the movement counter 43a (step S212). Since the distance from the cutting position X to the cueing position Y is constant, the theoretical value of the transport amount here is calculated in advance. Subsequently, the rotation amount of the conveyance motor 12 is calculated based on the theoretical value (step S214), and the conveyance motor 12 is controlled based on the calculated rotation amount of the conveyance motor 12 (step S216). After the control of the transport motor 12, the leading end position of the roll paper P reaches the cueing position Y as shown in FIG. Thereafter, the count value of the movement counter 43a is added to the confirmation counter 43b, and then the movement counter 43a is reset (step S218). Then, a value obtained by subtracting the count value of the confirmation counter 43b from the initial remaining amount value of the roll paper P is set as the remaining amount of roll paper (step S220), and the remaining amount of roll paper is a near-end value set by the operator in advance on the operation panel 36. It is determined whether or not it is below (step S222). When the remaining amount of roll paper is less than or equal to the near-end value, a warning message indicating that paper is almost out is output to the operation panel 36 and a warning sound is generated from a speaker (not shown) (step S222). S224), this routine is finished. On the other hand, when the remaining amount of roll paper exceeds the near-end value in step S222, this routine is finished as it is. In this manner, the count value of the movement counter 43a is determined during the period from when the roll paper P is conveyed from the printing end time to the cut position X until the leading edge of the roll paper P is returned to the cue position Y after the roll paper P is cut. The count value of the movement counter 43a is added to the count value of the fixed counter 43b at the time of returning to the cueing position Y without adding to the count value of 43b. Therefore, as a result, it can be said that the time point when the head position is returned to the cueing position Y is determined as the fixed timing.

次に、本実施形態のプリンタ10のパネルによる搬送処理ルーチンについて図5のフローチャートに基づいて説明する。プリンタ10のコントローラ40は、所定タイミングごとに操作パネル36の搬送ボタン38がオペレータにより押下されたか否かを判定し(ステップS302)、搬送ボタン38が押下されていないときにはそのまま本ルーチンを終了する。この搬送ボタン38の押下は、例えばロール紙Pの印字位置を変更するときや印字ヘッド22よりも排出方向下流側に余白があるとき等に行われる。一方、搬送ボタン38が押下されたときには、排出ボタン38aが押下されたか巻取ボタン38bが押下されたかによって搬送方向を判定する(ステップS304)。そして、搬送方向が正転方向のときすなわち排出ボタン38aが押下されたときには、1回押下されるごとにロール紙Pを一定の搬送量だけ排出方向に搬送させるための搬送量の理論値(正の値)を移動カウンタ43aのカウント値に加算する(ステップS306)。一方、ステップS304で搬送方向が逆転方向のときすなわち巻取ボタン38bが押下されたときには、1回押下されるごとにロール紙Pを一定の搬送量だけ巻取方向に搬送させるための搬送量の理論値(負の値)を移動カウンタ43aのカウント値に加算する(ステップS308)。そして、ステップS306又はステップS308のあと、今回の搬送量の理論値に基づいて搬送モータ12の回転量を計算し(ステップS310)、その回転量だけ搬送モータ12を回転させ(ステップS312)、本ルーチンを終了する。このように、搬送処理ルーチンにおいては、移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算することはない。なお、継続して排出ボタン38a又は巻取ボタン38bが押下されているときには、このルーチンが繰り返し実行されることにより断続的にロール紙Pが搬送される。   Next, the conveyance processing routine by the panel of the printer 10 of this embodiment will be described based on the flowchart of FIG. The controller 40 of the printer 10 determines whether or not the transport button 38 of the operation panel 36 is pressed by the operator at every predetermined timing (step S302). When the transport button 38 is not pressed, this routine is finished as it is. The conveyance button 38 is pressed, for example, when the printing position of the roll paper P is changed or when there is a margin on the downstream side in the discharge direction from the print head 22. On the other hand, when the transport button 38 is pressed, the transport direction is determined depending on whether the discharge button 38a or the winding button 38b is pressed (step S304). When the transport direction is the forward rotation direction, that is, when the discharge button 38a is pressed, a theoretical value (normal value) of the transport amount for transporting the roll paper P in the discharge direction by a certain transport amount each time it is pressed. Is added to the count value of the movement counter 43a (step S306). On the other hand, when the transport direction is the reverse direction in step S304, that is, when the take-up button 38b is pressed, a transport amount for transporting the roll paper P in the take-up direction by a predetermined transport amount each time it is pressed. The theoretical value (negative value) is added to the count value of the movement counter 43a (step S308). After step S306 or step S308, the rotation amount of the conveyance motor 12 is calculated based on the theoretical value of the current conveyance amount (step S310), and the conveyance motor 12 is rotated by the rotation amount (step S312). End the routine. In this way, in the transfer processing routine, the count value of the movement counter 43a is not added to the count value of the fixed counter 43b. When the discharge button 38a or the take-up button 38b is continuously pressed, the roll paper P is intermittently conveyed by repeatedly executing this routine.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態の移動カウンタ43aが本発明の仮保存手段に相当し、確定カウンタ43bが確定保存手段に相当し、コントローラ40のCPU41が仮保存実行手段、確定タイミング判定手段、確定保存手段及び処理実行手段に相当する。なお、本実施形態では、ロール紙印字装置としてのプリンタ10の動作を説明することにより本発明のロール紙印字方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The movement counter 43a of this embodiment corresponds to temporary storage means of the present invention, the confirmation counter 43b corresponds to confirmation storage means, and the CPU 41 of the controller 40 performs temporary storage execution means, confirmation timing determination means, confirmation storage means, and process execution. Corresponds to means. In the present embodiment, an example of the roll paper printing method of the present invention is also clarified by describing the operation of the printer 10 as the roll paper printing apparatus.

以上詳述した本実施形態のプリンタ10によれば、オペレータの操作により巻取方向にロール紙Pが搬送される可能性の高い浮動期間(具体的には、印字を伴わない搬送の開始から終了までの期間や印字終了時点からカット位置Xまでロール紙Pを搬送させてロール紙Pをカットしたあと頭出し位置Yにロール紙Pの先端を戻すまでの期間、オペレータの操作パネル36の操作による搬送の開始から終了までの期間)は移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算する処理を行わない(つまり確定タイミングであるとは判定しない)ため、一旦確定した搬送量がその後小さな値に変わることはない。したがって、確定カウンタ43bに保存されたロール紙Pの搬送量を初期残量値から差し引いて求めたロール紙残量に基づいて行う紙切れ間近に関する警告を適切に行うことができ、一旦ロール紙残量が少なくなって警告が出力されたあと、ロール紙残量が増えて警告が解除されるというような事態を招くことがない。   According to the printer 10 of the present embodiment described in detail above, the floating period during which the roll paper P is likely to be conveyed in the winding direction by the operation of the operator (specifically, from the start of conveyance without printing is terminated). Depending on the operation of the operation panel 36 of the operator, the period until the leading end of the roll paper P is returned to the cueing position Y after the roll paper P is transported from the printing end point to the cutting position X and cut. Since the process of adding the count value of the movement counter 43a to the count value of the confirmation counter 43b is not performed during the period from the start to the end of the conveyance) (that is, it is not determined that the confirmation timing is reached), It doesn't change to a small value. Accordingly, it is possible to appropriately issue a warning about a paper shortage that is performed based on the remaining amount of roll paper obtained by subtracting the conveyance amount of the roll paper P stored in the confirmation counter 43b from the initial remaining amount value. After the warning is reduced and the warning is output, a situation in which the remaining amount of roll paper is increased and the warning is canceled is not caused.

ここで、印字を伴わない搬送を行った場合には、ロール紙Pの先頭領域に余白が生じることからオペレータの操作により巻取方向に搬送される可能性が高く、オペレータが自らの操作により搬送を行った場合には、巻取方向への搬送と排出方向への搬送を繰り返したりすることがあり、ロール紙Pをカットした場合には、ロール紙Pの先頭領域に余白が生じることから自動的に頭出し位置にロール紙を戻す。したがって、いずれの場合も移動カウンタ43aのカウント値を確定しないことが好ましい。   Here, when transport without printing is performed, there is a high possibility that the roll will be transported in the winding direction by the operator's operation because a margin is generated in the leading area of the roll paper P. If the roll paper P is carried out, the conveyance in the winding direction and the conveyance in the discharge direction may be repeated. When the roll paper P is cut, a margin is generated in the leading area of the roll paper P. Return the roll paper to the cue position. Therefore, in any case, it is preferable not to determine the count value of the movement counter 43a.

また、ニアエンド値すなわち紙切れ直前値は、オペレータの操作によって設定入力することができるため、オペレータの好みに応じて任意に変更することができる。   Further, the near-end value, i.e., the value immediately before the paper runs out, can be set and inputted by an operator's operation, and can be arbitrarily changed according to the operator's preference.

更に、印字終了時点からカット位置Xまでロール紙Pを搬送させロール紙Pをカットしたあと頭出し位置にロール紙Pの先端が戻った時点や印字を伴う搬送を行った時点で移動カウンタ43aのカウント値を確定しているが、これらの時点ではオペレータの操作により巻取方向にロール紙が搬送される可能性がほとんどないため、移動カウンタ43aのカウント値を確定しても支障が生じることがない。   Further, when the roll paper P is transported from the printing end time to the cutting position X and the roll paper P is cut and then the leading edge of the roll paper P returns to the cueing position or when transport with printing is performed, the movement counter 43a Although the count value is determined, there is almost no possibility that the roll paper is conveyed in the winding direction by the operation of the operator at these points in time, and there is a problem even if the count value of the movement counter 43a is determined. Absent.

更にまた、移動カウンタ43aには、搬送モータ12の回転数に基づいて搬送量を算出し該算出した搬送量を仮保存することも考えられるが、その場合には、搬送ローラ12aとロール紙Pとの滑り等を考慮して補正する必要があるため、そのような補正の必要のない搬送量理論値を仮保存するのが好ましい。なお、仮保存された搬送量がその後確定カウンタ43bに確定保存されるため、確定保存される搬送量も搬送量理論値ということになる。   Further, it is conceivable that the movement counter 43a calculates the conveyance amount based on the number of rotations of the conveyance motor 12 and temporarily stores the calculated conveyance amount. In this case, the conveyance roller 12a and the roll paper P Therefore, it is preferable to temporarily store a transport amount theoretical value that does not require such correction. Since the temporarily stored transport amount is then finally stored in the confirmation counter 43b, the transport amount that is confirmed and stored is also the transport amount theoretical value.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態において、操作パネル36の電源スイッチがオフからオンにされたことに伴って開始されるメカシーケンス処理の開始から終了までの期間は、移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算しないようにしてもよい。ここで、電源スイッチがオフからオンになったときには、予め定められたメカシーケンス処理によってロール紙Pが排出方向に搬送されたり巻取方向に搬送されたりする。このようなメカシーケンス処理が行われた場合には、ロール紙の先頭領域に余白が生じたりすることがあるから、オペレータの操作により巻取方向に搬送される可能性が高いため、移動カウンタ43aのカウント値を確定しないことが好ましい。   For example, in the above-described embodiment, during the period from the start to the end of the mechanical sequence process that is started when the power switch of the operation panel 36 is turned on, the count value of the movement counter 43a is set as the confirmation counter 43b. It may not be added to the count value. Here, when the power switch is turned on from off, the roll paper P is conveyed in the discharge direction or in the winding direction by a predetermined mechanical sequence process. When such a mechanical sequence process is performed, a margin may be generated in the leading area of the roll paper, and therefore there is a high possibility that the roll will be conveyed in the winding direction by an operator's operation. It is preferable not to determine the count value.

また、上述した実施形態の図2のステップS102でイメージデータを受信したとき、その時点を確定タイミングと判定して、移動カウンタ43aのカウント値を確定カウンタ43bのカウント値に加算したあと移動カウンタ43aをリセットし、その確定カウンタ43bのカウント値に基づいてロール紙残量を算出し、そのロール紙残量がニアエンド値以下か否かを判定し、ニアエンド値以下のときには警告を行ったあと本ルーチンを終了し、ニアエンド値を超えているときにはステップS104以降の処理に進むようにしてもよい。つまり、ステップS102でイメージデータを受信したとき、ステップS116,S118,S120,S122の処理を実行してもよい。   In addition, when the image data is received in step S102 of FIG. 2 of the above-described embodiment, the time is determined as the confirmation timing, and the count value of the movement counter 43a is added to the count value of the confirmation counter 43b, and then the movement counter 43a. And the remaining amount of roll paper is calculated based on the count value of the confirmation counter 43b, and it is determined whether or not the remaining amount of roll paper is less than or equal to the near end value. If the near end value is exceeded, the process may proceed to step S104 and subsequent steps. That is, when image data is received in step S102, the processing in steps S116, S118, S120, and S122 may be executed.

更に、上述した実施形態では、プリンタとしてLFPを例示したが、汎用のインクジェットプリンタに本発明を適用してもよいし、インクジェットプリンタ以外のプリンタでもロール紙に印字可能なプリンタであれば本発明を適用することができる。   Further, in the above-described embodiment, the LFP is exemplified as the printer. However, the present invention may be applied to a general-purpose inkjet printer, or the present invention may be applied to any printer other than the inkjet printer as long as it can print on roll paper. Can be applied.

プリンタ10の構成の概略を示すブロック図。FIG. 2 is a block diagram illustrating an outline of a configuration of a printer. 印字処理ルーチンのフローチャート。The flowchart of a printing process routine. カット処理ルーチンのフローチャート。The flowchart of a cut process routine. カット処理に伴うキャリッジ周辺の動作説明図。Explanatory drawing of operation | movement of the carriage periphery accompanying a cut process. パネルによる搬送処理ルーチンのフローチャート。The flowchart of the conveyance processing routine by a panel.

符号の説明Explanation of symbols

10 プリンタ、12 搬送モータ、12a 搬送ローラ、12b 従動ローラ、14 給紙ガイド、16 排紙ガイド、18 キャリッジモータ、20 キャリッジ、22 印字ヘッド、23 プラテン、24 インクカートリッジ、26 可動刃、28 固定刃、30 カッタ用ソレノイド、30a 可動鉄心、32 カッタホルダ、34 バネ、36 操作パネル、38 搬送ボタン、38a 排出ボタン、38b 巻取ボタン、40 コントローラ、41 CPU、42 ROM、43 RAM、43a 移動カウンタ、43b 確定カウンタ、44 タイマ、45 入出力ポート、47 バス、50 ホストコンピュータ。 DESCRIPTION OF SYMBOLS 10 Printer, 12 Carrying motor, 12a Carrying roller, 12b Driven roller, 14 Paper feed guide, 16 Paper discharge guide, 18 Carriage motor, 20 Carriage, 22 Print head, 23 Platen, 24 Ink cartridge, 26 Movable blade, 28 Fixed blade , 30 Cutter solenoid, 30a Movable iron core, 32 Cutter holder, 34 Spring, 36 Operation panel, 38 Transport button, 38a Eject button, 38b Winding button, 40 Controller, 41 CPU, 42 ROM, 43 RAM, 43a Movement counter, 43b Confirmation counter, 44 timer, 45 I / O port, 47 bus, 50 host computer.

Claims (5)

ロール紙に印字可能な印字手段を備えたロール紙印字装置であって、
前記ロール紙に印字すべきデータを受信する受信手段と、
前記ロール紙が搬送されるときの搬送量を保存し、電源がオフとなった場合でも該搬送量が消失しない仮保存手段と、
前記ロール紙が搬送されるときの搬送量を保存し、電源がオフとなった場合でも該搬送量が消失しない確定保存手段と、
前記ロール紙が搬送されるとき該搬送量を前記仮保存手段に保存する仮保存実行手段と、
前記仮保存された搬送量を確定保存すべき確定タイミングか否かを判定する確定タイミング判定手段と、
前記確定タイミング判定手段によって現時点が前記確定タイミングであると判定されたとき前記仮保存された搬送量を前記確定保存手段に保存する確定保存実行手段と、
前記ロール紙の紙切れに関する警告を出力する紙切れ警告手段と、
を備え、
前記確定タイミング判定手段は、印字を伴わない前記ロール紙の搬送の開始から終了までの期間内は前記確定タイミングであるとは判定せず、印字中ではない時に前記印字すべきデータを受信した時点を前記確定タイミングであると判定し、
前記紙切れ警告手段は、前記確定保存実行手段により前記確定保存手段に保存された搬送量を初期残量値から差し引くことにより算出したロール紙残量と予め定められた紙切れ直前値とを比較し、該比較結果に基づいて紙切れに関する警告を出力する、
ロール紙印字装置。
A roll paper printing apparatus provided with printing means capable of printing on roll paper,
Receiving means for receiving data to be printed on the roll paper;
A temporary storage unit that stores the transport amount when the roll paper is transported, and that does not lose the transport amount even when the power is turned off;
A storage unit that stores the transport amount when the roll paper is transported, and a definite storage unit that does not lose the transport amount even when the power is turned off;
And temporarily stored execution means for storing the transport amount when the roll paper is conveyed to the temporary storage means,
A confirmation timing determination means for determining whether or not the provisionally stored transport amount is a confirmation timing to be confirmed and stored;
A deterministic save execution means for the present time to save the conveyance amount of the provisionally stored when it is determined as the a definite timing to said determined storage means by the determined timing determination means,
Out of paper warning means for outputting a warning about out of roll paper,
With
The determination timing determination means does not determine that the determination timing is within the period from the start to the end of conveyance of the roll paper without printing, and the time when the data to be printed is received when printing is not in progress Is determined timing,
The out-of-paper warning means compares the remaining amount of roll paper calculated by subtracting the conveyance amount stored in the confirmed storage means by the confirmed storage executing means from the initial remaining amount value, and a predetermined value immediately before the out of paper, Outputting a warning about running out of paper based on the comparison result;
Roll paper printer.
請求項1に記載のロール紙印字装置であって、
受信が終了した前記印字すべきデータを蓄積する蓄積手段と、
前記蓄積手段に未処理の前記印字すべきデータが蓄積されているか否かを判定する蓄積判定手段と、
前記ロール紙の搬送下流側への搬送が終了した後に、当該ロール紙を搬送上流側へ巻き戻し可能な巻き戻し手段と、
を備え、
前記蓄積判定手段は、印字を伴う前記ロール紙の搬送が終了したあと前記蓄積手段に未処理の前記印字すべきデータが蓄積されているか否かを判定し、
前記確定タイミング判定手段は、印字を伴う前記ロール紙の搬送が終了した時点を前記確定タイミングであると判定し、
前記印字手段は、未処理の印刷すべきデータが蓄積されていたとしても、前記紙切れに関する警告が出力されている時は未処理の当該印字すべきデータの印字を前記ロール紙に行わない、
ロール紙印字装置。
The roll paper printing apparatus according to claim 1,
Storage means for storing the data to be printed that has been received;
Accumulation determining means for determining whether unprocessed data to be printed is accumulated in the accumulation means;
Rewinding means capable of rewinding the roll paper to the upstream side of conveyance after the conveyance of the roll paper to the downstream side of conveyance is completed;
With
The accumulation determination unit determines whether or not the unprocessed data to be printed is accumulated in the accumulation unit after the conveyance of the roll paper accompanied by printing is completed,
The determination timing determination unit determines that the time when the conveyance of the roll paper accompanied by printing is completed is the determination timing,
The printing means does not print the unprocessed data to be printed on the roll paper when the warning about the paper out is output even if the unprocessed data to be printed is accumulated.
Roll paper printer.
前記確定タイミング判定手段は、所定のイベントに伴って開始されるメカシーケンス処理の開始から終了までの期間内は前記確定タイミングであるとは判定しない、
請求項1又は2に記載のロール紙印字装置。
The determination timing determination means does not determine that the determination timing is within the period from the start to the end of the mechanical sequence process that starts with a predetermined event .
The roll paper printing apparatus according to claim 1 or 2 .
請求項1〜3のいずれか1項に記載のロール紙印字装置であって、
オペレータの操作により直接前記ロール紙の搬送が可能であるオペレータ搬送手段
を備え、
前記確定タイミング判定手段は、前記オペレータ搬送手段による搬送の開始から終了までの期間内は前記確定タイミングであるとは判定しない、
ロール紙印字装置。
The roll paper printer according to any one of claims 1 to 3,
Operator conveying means capable of directly conveying the roll paper by an operator's operation
With
The determination timing determination means does not determine that the determination timing is within the period from the start to the end of transfer by the operator transfer means ,
Roll paper printer.
請求項1〜4のいずれか1項に記載のロール紙印字装置であって、
所定の位置で前記ロール紙をカットするカット手段と、
前記カット手段により前記ロール紙がカットされた場合に、前記ロール紙を自動的に搬送して次回印字を開始するための所定の頭出し位置に前記ロール紙の先端を戻すロール紙自動戻し手段と、
を備えたロール紙印字装置。
The roll paper printing apparatus according to any one of claims 1 to 4,
Cutting means for cutting the roll paper at a predetermined position;
Roll paper automatic returning means for automatically transporting the roll paper and returning the leading edge of the roll paper to a predetermined cueing position for starting next printing when the roll paper is cut by the cutting means; ,
A roll paper printing device comprising:
JP2005005385A 2005-01-12 2005-01-12 Roll paper printing device Expired - Fee Related JP4626308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005005385A JP4626308B2 (en) 2005-01-12 2005-01-12 Roll paper printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005005385A JP4626308B2 (en) 2005-01-12 2005-01-12 Roll paper printing device

Publications (2)

Publication Number Publication Date
JP2006193259A JP2006193259A (en) 2006-07-27
JP4626308B2 true JP4626308B2 (en) 2011-02-09

Family

ID=36799641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005005385A Expired - Fee Related JP4626308B2 (en) 2005-01-12 2005-01-12 Roll paper printing device

Country Status (1)

Country Link
JP (1) JP4626308B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6331215B2 (en) 2014-02-28 2018-05-30 ブラザー工業株式会社 Printing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002284439A (en) * 2001-03-26 2002-10-03 Seiko Instruments Inc Residual paper quantity control device, and printing device
JP2003054803A (en) * 2001-06-08 2003-02-26 Seiko Epson Corp Printing system for paper roll
JP2003211796A (en) * 2002-01-28 2003-07-29 Noritsu Koki Co Ltd Image recording medium and image recording apparatus using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002284439A (en) * 2001-03-26 2002-10-03 Seiko Instruments Inc Residual paper quantity control device, and printing device
JP2003054803A (en) * 2001-06-08 2003-02-26 Seiko Epson Corp Printing system for paper roll
JP2003211796A (en) * 2002-01-28 2003-07-29 Noritsu Koki Co Ltd Image recording medium and image recording apparatus using the same

Also Published As

Publication number Publication date
JP2006193259A (en) 2006-07-27

Similar Documents

Publication Publication Date Title
JP6478658B2 (en) Recording device
JP2013039736A (en) Printer and controlling method thereof
JP5617466B2 (en) Recording apparatus and recording / cutting control method
JP6548397B2 (en) Recording device
CN107199788B (en) Recording apparatus and medium transporting method of recording apparatus
JP4517926B2 (en) Printer recording paper loading method
WO2012055329A1 (en) Method and device for print control, and printing device
JP2004345210A (en) Printer and method for controlling printer
JP4626308B2 (en) Roll paper printing device
US9493018B2 (en) Printing apparatus with cut unit configured to cut a sheet according to an operator&#39;s instructions
JP4314174B2 (en) Recording apparatus and recording medium conveyance control method in the apparatus
WO2011108581A1 (en) Printer state notification system
US11838463B2 (en) Printing apparatus and method for controlling printing apparatus
JP5146126B2 (en) Printing apparatus, printing apparatus control method, and printing apparatus control program
JP3840992B2 (en) Printer, printer control method, program for causing computer to execute printer control method, and computer-readable recording medium recording this program
JP2004160797A (en) Recording device
JP6814757B2 (en) Inkjet recording device and recovery method of inkjet recording device
JP2006192655A (en) Apparatus for judging residual amount of paper, its method and program
US20230202215A1 (en) Printing apparatus
JP2002127523A (en) Ink jet printer
JP2006076079A (en) Inkjet printer
JP3890221B2 (en) Roll paper printer
JP2012223897A (en) Device and method for controlling recording, and program
JP5696532B2 (en) Image forming apparatus, printing control method, and program
JP2007069530A (en) Recording control device and method for controlling record

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100420

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

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

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

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4626308

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees