[go: up one dir, main page]

JP2010131925A - Near-end detection method of long consumables and printing apparatus - Google Patents

Near-end detection method of long consumables and printing apparatus Download PDF

Info

Publication number
JP2010131925A
JP2010131925A JP2008311841A JP2008311841A JP2010131925A JP 2010131925 A JP2010131925 A JP 2010131925A JP 2008311841 A JP2008311841 A JP 2008311841A JP 2008311841 A JP2008311841 A JP 2008311841A JP 2010131925 A JP2010131925 A JP 2010131925A
Authority
JP
Japan
Prior art keywords
consumable
length
paper
long
consumables
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.)
Withdrawn
Application number
JP2008311841A
Other languages
Japanese (ja)
Inventor
Yasuhiro Gyotoku
保広 行徳
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 JP2008311841A priority Critical patent/JP2010131925A/en
Publication of JP2010131925A publication Critical patent/JP2010131925A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

【課題】装填されている消耗品のサイズや位置を直接検出する検出器を用いずにニアエンド状態を精度良く検出可能な長尺状の消耗品のニアエンド検出方法を提案すること。
【解決手段】ロール紙プリンタ1のニアエンド検出手段30dは、印刷を実行する毎などの所定のタイミングで、紙送り量累積手段30cによって累積している記録紙12aの搬送量の累積値Lを、予め設定した規定消費長さLneと比較する。そして、累積値Lが規定消費長さLne以上であれば、記録紙12aの残量が規定残量Lxよりも少ないニアエンド状態と判定する。また、紙検出器26によって搬送路A上に記録紙12aがないことを検出したときにはペーパーエンド状態と判定し、ペーパーエンド状態を検出した場合には、その時点での記録紙12aの搬送量の累積値Lから規定残量Lxを引いた値を、新たな規定消費長さLneとする。
【選択図】図5
To provide a near-end detection method for a long consumable that can accurately detect a near-end state without using a detector that directly detects the size and position of a loaded consumable.
A near-end detection unit 30d of a roll paper printer 1 calculates a cumulative value L of a conveyance amount of a recording paper 12a accumulated by a paper feed amount accumulation unit 30c at a predetermined timing such as every time printing is performed. It is compared with a preset specified consumption length Lne. If the accumulated value L is greater than or equal to the specified consumption length Lne, it is determined that the recording paper 12a is in a near-end state where the remaining amount of the recording paper 12a is less than the specified remaining amount Lx. When the paper detector 26 detects that there is no recording paper 12a on the transport path A, it is determined that the paper end state is detected. When the paper end state is detected, the transport amount of the recording paper 12a at that time is determined. A value obtained by subtracting the specified remaining amount Lx from the accumulated value L is set as a new specified consumption length Lne.
[Selection] Figure 5

Description

本発明は、装置内に装填されているロール紙やインクリボンなどの長尺状の消耗品の残量が所定長さよりも短くなったこと(ニアエンド状態)を検出するニアエンド検出方法に関し、特に、装填されている消耗品のサイズや位置を直接検出する検出器を用いずにニアエンド状態を検出可能な長尺状の消耗品のニアエンド検出方法、および、当該ニアエンド検出方法により長尺状の消耗品のニアエンド状態の検出を行う印刷装置に関するものである。   The present invention relates to a near-end detection method for detecting that the remaining amount of long consumables such as roll paper and ink ribbon loaded in the apparatus is shorter than a predetermined length (near-end state), and in particular, A near-end detection method for a long-type consumable that can detect the near-end state without using a detector that directly detects the size and position of the loaded consumable, and a long-type consumable by the near-end detection method The present invention relates to a printing apparatus that detects a near-end state.

記録媒体として長尺状の記録紙が巻き芯に巻き取られた構成のロール紙を用いるプリンタやFAXなどの印刷装置では、ロール紙を全て使い切って印刷不能状態になる前にロール紙の交換がもうすぐ必要になることをユーザに報知するために、ロール紙収納部内に装填されたロール紙の残りが所定量よりも少なくなったこと(ニアエンド状態)を、ロール紙の巻き芯や外周面の位置に基づいて検出している。このような検出には、リミットスイッチなどの機械式センサや光学式センサが用いられている。例えば、特許文献1には、ロール紙の外径が小さくなって巻き芯の高さ位置が下がるとリミットスイッチが作動するように構成し、このリミットスイッチの検出出力に基づいてニアエンド状態を検出することが記載されている。
特開2007−112529号公報
In a printing apparatus such as a printer or FAX that uses a roll paper having a configuration in which a long recording paper is wound around a winding core as a recording medium, the roll paper can be replaced before the roll paper is completely used up and printing becomes impossible. In order to notify the user that it will be necessary soon, the roll paper loaded in the roll paper storage unit is less than the predetermined amount (near-end state), the position of the roll paper winding core and outer peripheral surface Based on the detection. For such detection, a mechanical sensor such as a limit switch or an optical sensor is used. For example, Patent Document 1 is configured such that a limit switch is activated when the outer diameter of the roll paper is reduced and the height position of the winding core is lowered, and the near-end state is detected based on the detection output of the limit switch. It is described.
JP 2007-112529 A

ここで、印刷装置を指定した姿勢で置くことができない状態では、印刷装置内のロール紙の装填位置が偏ってしまう。従って、この状態でロール紙の巻き芯や外周面の位置を検出しても、ニアエンド状態を正確に検出できないという問題点があった。また、ロール紙の巻き芯や外周面の位置から算出される残量(長さ)は、使用するロール紙の芯径や紙厚によって異なるため、ユーザが工場出荷時の想定と異なる芯径や紙厚のロール紙を装填した場合には、正確にニアエンド状態を検出できないという問題点があった。また、光学式センサを用いる場合、外乱光の影響によって検出精度が低下したり、ロール紙の色によって反射光のレベルが低下して検出精度が低下するという問題点があった。更に、光学センサや機械式センサなどの検出器を設けることによって部品点数が増加して装置構成が複雑になると共に、検出器の設置スペースを装置内に確保しなければならないため装置の小型化の障害になるという問題点もあった。このような問題点は、ロール紙に限らず、インクリボンなどの他の長尺状の消耗品のニアエンド状態を検出して消耗品切れになる前に交換時期を知ろうとする場合に共通の課題といえる。   Here, in a state where the printing apparatus cannot be placed in the designated posture, the roll paper loading position in the printing apparatus is biased. Accordingly, there is a problem in that the near end state cannot be accurately detected even if the position of the roll core or the outer peripheral surface of the roll paper is detected in this state. In addition, the remaining amount (length) calculated from the roll paper roll core and the position of the outer peripheral surface varies depending on the roll paper core diameter and paper thickness to be used. When a roll paper having a thickness is loaded, there is a problem that the near-end state cannot be accurately detected. Further, when an optical sensor is used, the detection accuracy is lowered due to the influence of ambient light, and the detection accuracy is lowered due to the level of reflected light being lowered due to the color of the roll paper. Furthermore, the provision of detectors such as optical sensors and mechanical sensors increases the number of components and complicates the device configuration, and the installation space for the detectors must be secured in the device, thereby reducing the size of the device. There was also the problem of becoming an obstacle. Such a problem is not limited to roll paper, but is a common problem when it is necessary to detect the near-end state of other long consumables such as ink ribbons and to know the replacement time before the consumables run out. I can say that.

本発明の課題は、このような点に鑑みて、装填されている消耗品のサイズや位置を直接検出する検出器を用いずにニアエンド状態を精度良く検出可能な長尺状の消耗品のニアエンド検出方法を提案することにある。また、このニアエンド検出方法を用いることにより、長尺状の消耗品のニアエンド状態を精度良く検出でき、且つ、部品点数の削減や装置構成の簡素化および小型化を図った印刷装置を提案することにある。   In view of the above, the problem of the present invention is to provide a long-end consumable near end that can accurately detect the near-end state without using a detector that directly detects the size and position of the loaded consumable. It is to propose a detection method. Also, by using this near-end detection method, it is possible to accurately detect the near-end state of a long consumable, and to propose a printing apparatus that reduces the number of parts, simplifies the apparatus configuration, and reduces the size. It is in.

上記の課題を解決するために、本発明は、
所定形状に巻かれたあるいは折り畳まれた状態で装填され、一端側から送り出して使用される長尺状の消耗品の残量が所定長さよりも短いニアエンド状態になったことを検出する長尺状の消耗品のニアエンド検出方法であって、
未使用状態で装填されている前記消耗品の使用を開始した時点からの当該消耗品の送り出し長さを累積し、
当該送り出し長さの累積値が予め設定した規定消費長さ以上になったか否かを監視し、
前記送り出し長さの累積値が前記規定消費長さ以上になった場合に、前記ニアエンド状態になったと判定することを特徴としている。
In order to solve the above problems, the present invention provides:
A long shape that detects that the remaining amount of long consumables that are loaded in a predetermined shape or wound in a folded state and sent out from one end side is in a near-end state shorter than a predetermined length. A near-end detection method for consumables,
Accumulate the delivery length of the consumables from the start of use of the consumables loaded in an unused state,
Monitor whether the cumulative value of the delivery length exceeds the preset consumption length,
When the cumulative value of the delivery length becomes equal to or greater than the specified consumption length, it is determined that the near end state has been reached.

本発明は、このような構成により、ニアエンド状態の検出精度が、装置の傾きに起因する消耗品の装填位置の偏りの影響を受けないようにしている。また、装置内の外乱光や装置の振動、あるいは消耗品の色や材質などに起因する検出精度の低下を回避できる。従って、従来よりも精度良くニアエンド状態を検出できる。また、装置内における消耗品のサイズや装填位置を検出する検出器を必要としないので、部品点数を削減でき、装置構成の簡素化および装置の小型化を図ることができる。   According to this configuration, the present invention prevents the near-end detection accuracy from being affected by the bias of the consumable loading position caused by the inclination of the apparatus. In addition, it is possible to avoid a decrease in detection accuracy due to ambient light in the apparatus, vibration of the apparatus, or the color or material of the consumables. Therefore, the near-end state can be detected with higher accuracy than in the past. In addition, since a detector for detecting the size and loading position of consumables in the apparatus is not required, the number of parts can be reduced, and the apparatus configuration can be simplified and the apparatus can be downsized.

本発明において、前記消耗品の終端を検出するまで前記送り出し長さの累積を継続し、前記消耗品の終端を検出したときの前記送り出し長さの累積値から、予め設定した前記消耗品の規定残量を減じた長さを、前記規定消費長さとして再設定することが望ましい。このようにすれば、ニアエンド状態に対応する判定値として工場出荷時に予め設定されている規定消費長さを、実際に使用している消耗品の全長に応じて自動で変更することができる。よって、予め想定されている消耗品とは仕様が異なる消耗品を用いた場合でも、予め設定した規定残量になったときに精度良くニアエンド状態と判定させることができる。しかも、その設定変更をその都度ユーザが行う必要がなく、再設定の手間を省略できる。また、各装置毎に規定消費長さの再設定を行うので、装置の個体差を反映したニアエンド検出を行うことができる。   In the present invention, the accumulation of the delivery length is continued until the end of the consumable is detected, and the consumable specification specified in advance is determined from the accumulated value of the delivery length when the end of the consumable is detected. It is desirable to reset the length obtained by reducing the remaining amount as the specified consumption length. In this way, the specified consumption length preset at the time of factory shipment as a determination value corresponding to the near-end state can be automatically changed according to the total length of the consumables actually used. Therefore, even when a consumable having a specification different from that of a consumable that is assumed in advance is used, it is possible to accurately determine the near-end state when the predetermined remaining amount is reached. In addition, it is not necessary for the user to change the setting each time, and the trouble of resetting can be omitted. In addition, since the specified consumption length is reset for each device, near-end detection reflecting individual differences among devices can be performed.

このとき、前記消耗品の終端を検出した場合には、前記送り出し長さの累積値をリセットすることが望ましい。このようにすれば、累積値をリセットした状態で次の消耗品が装填されるので、次に装填された消耗品の送り出し長さの累積を、消耗品が未使用状態の時点から開始することができる。   At this time, when the end of the consumable is detected, it is desirable to reset the cumulative value of the delivery length. In this way, since the next consumable is loaded with the accumulated value reset, accumulation of the delivery length of the next loaded consumable starts from the point when the consumable is unused. Can do.

また、印刷装置の装填部に装填されており、紙送りの長さまたは印刷動作毎に印刷内容に対応する長さだけ前記装填部から送り出される長尺状の消耗品のニアエンド状態の検出方法として、本発明を用いることができる。このとき、前記装填部を開閉する開閉部材の開閉動作が行われたか否かを監視し、前記開閉動作が行われた場合には、前記送り出し長さの累積値に予め設定した加算値を加算するか、あるいは、新たな消耗品が装填されたと判断して前記送り出し長さの累積値をリセットすることが望ましい。印刷装置では、紙ジャムなどの消耗品を余分に消費する不具合から復帰するために装填部を開閉する処置を行うことが想定されるので、このような場合には、予め設定した一定量だけ消耗品の送り出し長さを加算することにより、送り出し長さの累積値をより正確に算出できる。また、新たな消耗品が装填された可能性が高い場合には送り出し長さの累積値をリセットすることにより、新たな消耗品の送り出し長さを正確に把握できる。   Also, as a method for detecting the near-end state of a long consumable that is loaded in the loading unit of the printing apparatus and is sent out from the loading unit by a length corresponding to the printing content for each paper feed length or printing operation. The present invention can be used. At this time, it is monitored whether or not the opening / closing member that opens and closes the loading unit has been opened / closed, and when the opening / closing operation has been performed, a preset addition value is added to the cumulative value of the delivery length. Alternatively, it is desirable to reset the accumulated value of the delivery length by determining that a new consumable is loaded. In the printing device, it is assumed that a measure is taken to open and close the loading unit in order to recover from the problem of excessive consumption of consumables such as paper jams. By adding the delivery length of the product, the accumulated value of the delivery length can be calculated more accurately. Further, when there is a high possibility that a new consumable is loaded, the delivery length of the new consumable can be accurately grasped by resetting the cumulative value of the delivery length.

さらに、前記印刷装置のロール紙収納部に装填され、前記ロール紙収納部から送り出されて前記印刷装置内の印刷位置を経由する搬送路に沿って搬送されるロール紙のニアエンド状態の検出方法として、本発明を用いることができる。このとき、前記送り出し長さを、前記印刷内容、または、前記ロール紙を前記搬送路に沿って搬送する搬送用モータの回転量に基づいて算出するとよい。印刷内容や搬送用モータの回転量に基づいて算出した送り出し長さは実際に送り出された長さと高い精度で一致するので、ニアエンド状態をより正確に検出できる。   Further, as a method for detecting the near-end state of roll paper loaded in the roll paper storage unit of the printing apparatus, sent out from the roll paper storage part, and conveyed along a conveyance path passing through a printing position in the printing apparatus. The present invention can be used. At this time, the delivery length may be calculated based on the printing content or the rotation amount of a conveyance motor that conveys the roll paper along the conveyance path. Since the feed length calculated based on the printing contents and the rotation amount of the conveying motor coincides with the actually sent length with high accuracy, the near-end state can be detected more accurately.

本発明において、前記ニアエンド状態になったと判定した場合には、所定の報知を行うか、または、外部装置に所定の信号を出力するように構成するとよい。このようにすれば、ニアエンド状態になったことをユーザに適切なタイミングで知らせて交換時期が近いことを知らせることができる。   In the present invention, when it is determined that the near-end state has been reached, a predetermined notification may be performed or a predetermined signal may be output to an external device. In this way, it is possible to notify the user that the near end state has been reached at an appropriate timing and to notify that the replacement time is near.

次に、本発明の印刷装置は、
所定形状に巻かれたあるいは折り畳まれた長尺状の消耗品を装填する装填部と、
当該装填部から前記消耗品を送り出す搬送部と、
前記装填部からの前記搬送部による前記消耗品の送り出し長さを累積する累積手段と、
前記消耗品の規定消費長さを記憶する記憶手段と、
上記の長尺状の消耗品のニアエンド検出方法により、前記消耗品の残量が所定長さよりも短いニアエンド状態になったことを検出するニアエンド検出手段と、を備えることを特徴としている。
Next, the printing apparatus of the present invention includes:
A loading section for loading a long consumable wound or folded into a predetermined shape;
A transport unit for delivering the consumable from the loading unit;
Accumulating means for accumulating the delivery length of the consumable by the conveying unit from the loading unit;
Storage means for storing a prescribed consumption length of the consumables;
According to the above-described long-end consumables near-end detection method, near-end detection means for detecting that the remaining amount of the consumables is in a near-end state shorter than a predetermined length is provided.

本発明によれば、未使用状態からの消耗品の送り出し長さの累積値に基づいてニアエンド状態を検出するので、ニアエンド状態の検出精度が、装置の傾きに起因する消耗品の装填位置の偏りの影響を受けない。また、装置内の外乱光や装置の振動、あるいは、消耗品の色や材質などに起因する検出精度の低下を回避できる。従って、従来よりも精度良くニアエンド状態を検出できる。また、装置内における消耗品のサイズや装填位置を検出する検出器を必要としないので、部品点数を削減でき、装置構成の簡素化および装置の小型化を図ることができる。   According to the present invention, since the near-end state is detected based on the cumulative value of the supply length of the consumables from the unused state, the near-end state detection accuracy is biased in the loading position of the consumables due to the inclination of the apparatus. Not affected. In addition, it is possible to avoid a decrease in detection accuracy due to ambient light in the apparatus, vibration of the apparatus, or the color or material of the consumables. Therefore, the near-end state can be detected with higher accuracy than in the past. In addition, since a detector for detecting the size and loading position of consumables in the apparatus is not required, the number of parts can be reduced, and the apparatus configuration can be simplified and the apparatus can be downsized.

以下に、図面を参照して、本発明を適用した印刷装置および長尺状の消耗品のニアエンド検出方法について説明する。   Hereinafter, a printing apparatus to which the present invention is applied and a near-end detection method for an elongated consumable will be described with reference to the drawings.

(全体構成)
図1は本発明を適用したロール紙プリンタ(印刷装置)の外観斜視図であり、図2はロール紙プリンタの開閉蓋を全開にした状態の外観斜視図である。ロール紙プリンタ1は、全体としてほぼ直方体形状をしたプリンタ本体2と、当該プリンタ本体2の前面に取り付けた開閉蓋3(開閉部材)とを有している。プリンタ本体2の外装ケース2aの前面には、所定幅の排出口4が形成されている。排出口4の下側には排紙ガイド5が前方に突出しており、当該排紙ガイド5の側方には蓋開閉レバー6が配置されている。外装ケース2aにおける排紙ガイド5および蓋開閉レバー6の下側には、ロール紙出し入れ用の矩形の開口部2bが形成されており、この開口部2bが開閉蓋3によって封鎖されている。
(overall structure)
FIG. 1 is an external perspective view of a roll paper printer (printing apparatus) to which the present invention is applied, and FIG. 2 is an external perspective view of the roll paper printer with the open / close lid fully opened. The roll paper printer 1 includes a printer main body 2 having a substantially rectangular parallelepiped shape as a whole, and an open / close lid 3 (open / close member) attached to the front surface of the printer main body 2. A discharge port 4 having a predetermined width is formed on the front surface of the outer case 2 a of the printer body 2. A paper discharge guide 5 protrudes forward below the discharge port 4, and a lid opening / closing lever 6 is disposed on the side of the paper discharge guide 5. A rectangular opening 2b for inserting and removing roll paper is formed below the paper discharge guide 5 and the lid opening / closing lever 6 in the outer case 2a. The opening 2b is sealed by the opening / closing lid 3.

蓋開閉レバー6を操作すると開閉蓋3のロックが解除される。ロック解除後、排紙ガイド5を前方に引くと、開閉蓋3はその下端部を中心として前方に旋回し、ほぼ水平となるまで開く。開閉蓋3が開くと、図2に示すように、プリンタ内部に形成されているロール紙収納部11が開放状態となり、同時に、ロール紙収納部11から排出口4に到る搬送路A(図3参照)が開放状態となる。なお、図2では開閉蓋3の外装部分および蓋開閉レバー6を省略してある。   When the lid opening / closing lever 6 is operated, the opening / closing lid 3 is unlocked. When the paper discharge guide 5 is pulled forward after unlocking, the opening / closing lid 3 pivots forward about its lower end and opens until it is almost horizontal. When the opening / closing lid 3 is opened, as shown in FIG. 2, the roll paper storage unit 11 formed inside the printer is opened, and at the same time, the transport path A (see FIG. 2) from the roll paper storage unit 11 to the discharge port 4. 3) becomes an open state. In FIG. 2, the exterior portion of the opening / closing lid 3 and the lid opening / closing lever 6 are omitted.

開閉蓋3の近傍には開閉検出器3aが取り付けられている。開閉検出器3aは、フォトセンサ、磁気センサ、マイクロスイッチなどから構成されている。開閉検出器3aは、開閉蓋3が開き状態から閉じ状態に切り換わったこと、および、閉じ状態から開き状態に切り換わったことを検出できる。   An open / close detector 3 a is attached in the vicinity of the open / close lid 3. The open / close detector 3a includes a photo sensor, a magnetic sensor, a micro switch, and the like. The open / close detector 3a can detect that the open / close lid 3 has been switched from the open state to the closed state, and that the open / close lid 3 has been switched from the closed state to the open state.

図3はロール紙プリンタ1の内部構成を示す概略縦断面図である。ロール紙収納部11には、ロール紙12が、プリンタ幅方向に向いた横置き状態で転動可能に収納されている。ロール紙12は、一定幅の長尺状の記録紙12aをロール状に巻き付けたものである。   FIG. 3 is a schematic longitudinal sectional view showing the internal configuration of the roll paper printer 1. A roll paper 12 is stored in the roll paper storage unit 11 so as to be able to roll in a horizontal state facing the printer width direction. The roll paper 12 is obtained by winding a long recording paper 12a having a constant width in a roll shape.

ロール紙収納部11の上側には、プリンタ本体フレーム10の上端に水平に取り付けられたヘッドユニットフレーム13が配置されている。ヘッドユニットフレーム13には、インクジェットヘッド14、インクジェットヘッド14を搭載しているキャリッジ15、キャリッジ15のプリンタ幅方向への移動をガイドするキャリッジガイド軸16が配置されている。キャリッジガイド軸16はプリンタ幅方向に水平に掛け渡されている。インクジェットヘッド14は、インクノズル面14aが下向きになるようにキャリッジ15に搭載されている。また、ヘッドユニットフレーム13には、キャリッジ15をキャリッジガイド軸16に沿って往復移動させるためのキャリッジモータ17およびタイミングベルト18を備えたキャリッジ搬送機構が配置されている。   A head unit frame 13 attached horizontally to the upper end of the printer main body frame 10 is disposed above the roll paper storage unit 11. In the head unit frame 13, an inkjet head 14, a carriage 15 on which the inkjet head 14 is mounted, and a carriage guide shaft 16 that guides the movement of the carriage 15 in the printer width direction are arranged. The carriage guide shaft 16 is stretched horizontally in the printer width direction. The inkjet head 14 is mounted on the carriage 15 so that the ink nozzle surface 14a faces downward. The head unit frame 13 is provided with a carriage conveyance mechanism including a carriage motor 17 and a timing belt 18 for reciprocating the carriage 15 along the carriage guide shaft 16.

インクジェットヘッド14の下側には、プリンタ幅方向に水平に延びるプラテン19がインクノズル面14aと一定のギャップを隔てて対向配置されている。プラテン19の後側には、後側紙送りローラ21および後側紙押えローラ22がプリンタ幅方向に水平に架け渡されている。後側紙送りローラ21には、記録紙12aを介して後側紙押えローラ22が上側から所定の押圧力で押し付けられている。また、プラテン19の前端側には、前側紙送りローラ23および前側紙押えローラ24が配置されている。前側紙送りローラ23には、記録紙12aを介して前側紙押えローラ24が上側から押し付けられている。後側紙送りローラ21および前側紙送りローラ23は、プリンタ本体フレーム10に搭載されている紙送りモータ25によって同期して回転駆動される。   A platen 19 that extends horizontally in the printer width direction is disposed below the inkjet head 14 so as to face the ink nozzle surface 14a with a certain gap therebetween. On the rear side of the platen 19, a rear paper feeding roller 21 and a rear paper pressing roller 22 are stretched horizontally in the printer width direction. A rear paper pressing roller 22 is pressed against the rear paper feeding roller 21 from above with a predetermined pressing force via the recording paper 12a. Further, a front paper feed roller 23 and a front paper press roller 24 are disposed on the front end side of the platen 19. A front paper pressing roller 24 is pressed against the front paper feeding roller 23 from above via the recording paper 12a. The rear paper feed roller 21 and the front paper feed roller 23 are rotationally driven in synchronization by a paper feed motor 25 mounted on the printer main body frame 10.

ロール紙収納部11内のロール紙12から繰り出される記録紙12aは、テンションガイド20によって所定の張力が付与された状態で、プラテン19上の印刷位置を経由する搬送路A(図3に示す太い一点鎖線)に沿って搬送され、排出口4から引き出された状態にセットされる。この状態で紙送りモータ25が駆動制御されると、後側紙送りローラ21および前側紙送りローラ23が回転し、記録紙12aが一定の搬送量ずつ紙送りされる。そして、記録紙12aの紙送りと同期してインクジェットヘッド14が駆動され、印刷位置を通過する記録紙12aの表面に印刷が行われる。その後、印刷済みの記録紙12aが排出口4から排出された状態で搬送が停止し、排出口4の近傍に配置されたオートカッタ28によって記録紙12aの印刷部分が切断され、印刷済みの記録紙片が発行される。   The recording paper 12a fed out from the roll paper 12 in the roll paper storage unit 11 is given a predetermined tension by the tension guide 20, and the conveyance path A (shown in FIG. 3) passing through the printing position on the platen 19. It is conveyed along the alternate long and short dash line) and set in a state of being pulled out from the discharge port 4. When the paper feed motor 25 is driven and controlled in this state, the rear paper feed roller 21 and the front paper feed roller 23 are rotated, and the recording paper 12a is fed by a constant transport amount. Then, the inkjet head 14 is driven in synchronization with the paper feed of the recording paper 12a, and printing is performed on the surface of the recording paper 12a passing through the printing position. Thereafter, the conveyance is stopped in a state in which the printed recording paper 12a is discharged from the discharge port 4, and the printed portion of the recording paper 12a is cut by the auto cutter 28 arranged in the vicinity of the discharge port 4, and the printed recording is performed. A piece of paper is issued.

搬送路Aのインクジェットヘッド14よりも上流側の記録紙検出位置には、紙検出器26が配置されている。紙検出器26は、反射型フォトセンサあるいは透過型フォトセンサにより構成されており、搬送路A上に引き出されている記録紙12aからの反射光あるいは透過光を利用して、記録紙12aの有無あるいは記録紙12aの用紙種類を検出する。   A paper detector 26 is arranged at a recording paper detection position on the upstream side of the inkjet head 14 in the transport path A. The paper detector 26 is constituted by a reflection type photosensor or a transmission type photosensor, and the presence or absence of the recording paper 12a is detected by using reflected light or transmitted light from the recording paper 12a drawn on the conveyance path A. Alternatively, the paper type of the recording paper 12a is detected.

(制御系)
図4は、ロール紙プリンタ1の制御系を示す概略ブロック図である。ロール紙プリンタ1の制御系は、CPU、ROM、RAMなどを備えた制御部30を中心に構成されている。本実施形態の制御部30は、印刷制御手段30a、紙送り制御手段30b、紙送り量累積手段30c、ニアエンド検出手段30d等を備えている。制御部30には、図示しない送受信部を介して、ホスト装置32などの外部機器から印刷データやコマンドなどが供給される。また、制御部30には、フラッシュROMなどの不揮発性メモリ31が接続されている。
(Control system)
FIG. 4 is a schematic block diagram showing a control system of the roll paper printer 1. The control system of the roll paper printer 1 is mainly configured by a control unit 30 including a CPU, a ROM, a RAM, and the like. The control unit 30 of the present embodiment includes a print control unit 30a, a paper feed control unit 30b, a paper feed amount accumulation unit 30c, a near end detection unit 30d, and the like. Print data, commands, and the like are supplied to the control unit 30 from an external device such as the host device 32 via a transmission / reception unit (not shown). The control unit 30 is connected to a nonvolatile memory 31 such as a flash ROM.

制御部30の出力側には、ヘッドドライバ14bを介してインクジェットヘッド14が接続され、モータドライバ17aおよびモータドライバ25aを介してキャリッジモータ17および紙送りモータ25が接続されている。また、制御部30の入力側には、開閉検出器3aおよび紙検出器26が接続されている。制御部30は、これらの各検出器の検出出力に基づいて、ロール紙プリンタ1における各種動作を検出する。すなわち、上述したように、制御部30は、開閉検出器3aの検出出力に基づいて、開閉蓋3を開くカバーオープン動作が行われたことを検出する。また、制御部30は、紙検出器26の検出出力に基づいて、搬送路A上の記録紙検出位置における記録紙12aの有無の検出を行う。   The inkjet head 14 is connected to the output side of the control unit 30 via a head driver 14b, and the carriage motor 17 and the paper feed motor 25 are connected via a motor driver 17a and a motor driver 25a. An open / close detector 3 a and a paper detector 26 are connected to the input side of the control unit 30. The control unit 30 detects various operations in the roll paper printer 1 based on the detection outputs of these detectors. That is, as described above, the control unit 30 detects that the cover opening operation for opening the opening / closing lid 3 has been performed based on the detection output of the opening / closing detector 3a. Further, the control unit 30 detects the presence or absence of the recording paper 12a at the recording paper detection position on the conveyance path A based on the detection output of the paper detector 26.

制御部30は、ホスト装置32などからの印刷データやコマンドに基づき、ロール紙を送り出す紙送り機構やキャリッジ搬送機構などの各部の駆動を制御する。制御部30の印刷制御手段30aは、ホスト装置32から受信した印刷データに基づいて、インクジェットヘッド14をプラテン19の幅方向に移動させながら、記録紙12aに印刷を行う。紙送り制御手段30bは、紙送りモータ25を駆動制御して、インクジェットヘッド14の動作に連動させて所定量ずつ記録紙12aを搬送する。また、記録紙12a上の印刷開始位置をプラテン19上に規定されている印刷位置に位置合わせするための搬送や、記録紙12aの印刷済み部分をオートカッタ28による切断位置まで送り出すための搬送を行う。   The control unit 30 controls driving of each unit such as a paper feed mechanism that feeds roll paper and a carriage transport mechanism, based on print data and commands from the host device 32 and the like. The print control unit 30 a of the control unit 30 performs printing on the recording paper 12 a while moving the inkjet head 14 in the width direction of the platen 19 based on the print data received from the host device 32. The paper feed control means 30b controls the drive of the paper feed motor 25 and conveys the recording paper 12a by a predetermined amount in conjunction with the operation of the inkjet head 14. Further, conveyance for aligning the printing start position on the recording paper 12a with the printing position defined on the platen 19, and conveyance for sending the printed portion of the recording paper 12a to the cutting position by the auto cutter 28 are performed. Do.

(ニアエンド検出制御)
次に、本実施形態のロール紙プリンタにおける記録紙12aのニアエンド検出制御について説明する。ロール紙プリンタ1の不揮発性メモリ31には、ニアエンド検出における判定値として使用するための記録紙12aの規定消費長さLne、および、ニアエンド状態における記録紙12aの規定残量Lxなどが記憶されている。これらの記憶値は、ロール紙プリンタ1の工場出荷時に予め想定した値を初期設定値として記憶させてあるが、必要に応じて書き換え可能となっている。規定消費長さLneは、ロール紙プリンタ1での使用が想定されているメーカ推奨品などのロール紙12の全長から規定残量Lxを減じた値に設定されている。例えば、全長100mの記録紙12aをロール状に巻いたロール紙12では、規定残量Lxを5mとし、規定消費長さLneを95mとするなどしている。
(Near-end detection control)
Next, the near-end detection control of the recording paper 12a in the roll paper printer of this embodiment will be described. The non-volatile memory 31 of the roll paper printer 1 stores a specified consumption length Lne of the recording paper 12a to be used as a determination value in near-end detection, a specified remaining amount Lx of the recording paper 12a in the near-end state, and the like. Yes. As these stored values, values assumed in advance when the roll paper printer 1 is shipped from the factory are stored as initial set values, but can be rewritten as necessary. The specified consumption length Lne is set to a value obtained by subtracting the specified remaining amount Lx from the total length of the roll paper 12 such as a manufacturer recommended product expected to be used in the roll paper printer 1. For example, in the roll paper 12 in which the recording paper 12a having a total length of 100 m is wound in a roll shape, the specified remaining amount Lx is set to 5 m, and the specified consumption length Lne is set to 95 m.

紙送り量累積手段30cは、紙送りモータ25が送り出し方向に駆動制御されるステップ数あるいは紙送りモータ25の出力軸の回転を検出する回転検出器の出力などに基づいて検出した紙送りモータ25の回転量を積算することにより、記録紙12aの搬送量(送り出し長さ)を算出し累積する。また、紙送り量累積手段30cは、ロール紙プリンタ1の電源オフ時には、その時点での搬送量の累積値Lを不揮発性メモリ31に記憶保持させておき、その後、電源が投入され印刷を行う際には、不揮発性メモリ31に記憶されている累積値Lを読み出し、読み出した累積値Lに対して継続して搬送量を累積する。これにより、記録紙12aの搬送量の累積値Lが電源オンオフによってはリセットされず、継続して累積されるようにしている。一方、紙送り量累積手段30cは、紙検出器26によって搬送路A上に記録紙12aが存在しないことが検出されたときは、搬送量の累積値Lをリセットして0に戻す。これにより、新たな未使用状態のロール紙12が装填されたときに、このロール紙12の使用を開始した時点からの記録紙12aの搬送量を累積するようにしている。   The paper feed amount accumulating means 30c is detected based on the number of steps in which the paper feed motor 25 is driven and controlled in the feed direction or the output of a rotation detector that detects the rotation of the output shaft of the paper feed motor 25. Is accumulated and the transport amount (feed length) of the recording paper 12a is calculated and accumulated. Further, when the roll paper printer 1 is powered off, the paper feed amount accumulating means 30c stores and holds the accumulated value L of the carry amount at that time in the nonvolatile memory 31, and then the power is turned on to perform printing. At this time, the accumulated value L stored in the nonvolatile memory 31 is read, and the transport amount is accumulated with respect to the read accumulated value L. As a result, the accumulated value L of the conveyance amount of the recording paper 12a is not reset when the power is turned on / off, and is continuously accumulated. On the other hand, when the paper detector 26 detects that the recording paper 12a is not present on the transport path A, the paper transport amount accumulating unit 30c resets the accumulated amount L of the transport amount to zero. Thus, when a new unused roll paper 12 is loaded, the conveyance amount of the recording paper 12a from the time when the use of the roll paper 12 is started is accumulated.

また、紙送り量累積手段30cは、開閉検出器3aの検出出力に基づいて開閉蓋3のカバーオープン動作があったと判定された場合には、紙ジャム等が発生してその復帰処理が行われたと判断し、紙ジャムによる記録紙12aの消費量を反映させるために、搬送量の累積値Lに、予め設定した加算値Laを加算することができる。加算値Laは制御プログラム中に設定しておいてもよいし、不揮発性メモリ31に記憶させておいて適宜読み出してもよい。但し、開閉蓋3のカバーオープン動作は、新たなロール紙12の装填動作が行われた場合にも検出される。そこで、本実施形態では、新たなロール紙12の装填が行われる可能性が高い状況においてカバーオープン動作を検出したときの処理の流れを、不揮発性メモリ31に予め記憶させてある設定値Inの内容に応じて決める。   Further, when it is determined that the cover open operation of the open / close lid 3 has been performed based on the detection output of the open / close detector 3a, the paper feed amount accumulating means 30c generates a paper jam or the like and performs a return process thereof. In order to reflect the consumption amount of the recording paper 12a due to the paper jam, the preset addition value La can be added to the accumulated value L of the conveyance amount. The addition value La may be set in the control program, or may be stored in the nonvolatile memory 31 and read as appropriate. However, the cover open operation of the open / close lid 3 is also detected when a new roll paper 12 loading operation is performed. Therefore, in the present embodiment, the processing flow when the cover open operation is detected in a situation where there is a high possibility that a new roll paper 12 will be loaded is the set value In stored in the nonvolatile memory 31 in advance. Decide according to the content.

設定値Inは、ロール紙プリンタ1の工場出荷時にIn=1またはIn=0のいずれかの値を初期設定値として記憶させるが、必要に応じて適宜書き換え可能となっている。設定値Inは、ニアエンド状態を知ったユーザがすぐに新たなロール紙12の装填を行うことが想定される場合(例えば、用紙切れによる印刷不能状態を発生させずにロール紙プリンタ1を使用したい場合)には、In=1に設定される。そして、この場合には、開閉蓋3のカバーオープン動作が検出されたら、新たなロール紙12の装填動作が行われたと判断する。一方、記録紙12aを全て使い切ってペーパーエンド状態になるまではユーザが新たなロール紙12の装填を行わないことが想定される場合(例えば、最後まで無駄なく記録紙12aを使い切りたい場合)には、In=0に設定される。そして、この場合には、開閉蓋3のカバーオープン動作が検出されたら、紙ジャム等からの復帰処理が行われたと判断する。   As the set value In, a value of In = 1 or In = 0 is stored as an initial set value when the roll paper printer 1 is shipped from the factory, but can be appropriately rewritten as necessary. When the user who knows the near-end state is expected to immediately load a new roll paper 12 (for example, the user wants to use the roll paper printer 1 without causing an unprintable state due to running out of paper). In case, In = 1 is set. In this case, when a cover open operation of the open / close lid 3 is detected, it is determined that a new roll paper 12 loading operation has been performed. On the other hand, when it is assumed that the user does not load a new roll paper 12 until all the recording paper 12a is used up to the paper end state (for example, when the recording paper 12a is used up without waste until the end). Is set to In = 0. In this case, when the cover open operation of the open / close lid 3 is detected, it is determined that the return processing from the paper jam or the like has been performed.

図5は、ニアエンド検出処理のフローチャートである。ニアエンド検出手段30dは、未使用状態のロール紙12が装填された後、ホスト装置32などからの印刷データに基づいて印刷が開始される前に、まず、ステップS1において、不揮発性メモリ31に記憶保持されている記録紙12aの規定消費長さLneを読み出す。この規定消費長さLneは、現在装填されているロール紙12が工場出荷後最初に装填された第1番目のロール紙12である場合には、工場出荷時に設定されたデフォルトの値となっている。一方、現在装填されているロール紙12が最初のロール紙12でない場合には、前回使用されたロール紙12に基づいて再設定された規定消費長さLneとなっている。この再設定については後述する。また、ニアエンド検出手段30dは、ステップS1において、上述したカバーオープン動作検出時の処理決定のための設定値Inを不揮発性メモリ31から読み出す。   FIG. 5 is a flowchart of the near-end detection process. The near-end detection unit 30d first stores in the nonvolatile memory 31 in step S1 before printing is started based on the print data from the host device 32 or the like after the unused roll paper 12 is loaded. The specified consumption length Lne of the recording paper 12a held is read. The specified consumption length Lne is a default value set at the time of factory shipment when the currently loaded roll paper 12 is the first roll paper 12 loaded first after factory shipment. Yes. On the other hand, when the currently loaded roll paper 12 is not the first roll paper 12, the specified consumption length Lne is reset based on the roll paper 12 used last time. This resetting will be described later. Further, the near-end detection unit 30d reads the setting value In for determining the process when the cover open operation is detected from the nonvolatile memory 31 in step S1.

次に、ステップS2において、印刷データに基づく印刷内容を記録紙12aに印刷する印刷ジョブを実行する。そして、当該印刷ジョブによる記録紙12aの搬送量を、紙送り量累積手段30cによって累積する。すなわち、紙送り量累積手段30cは、上述したように紙送りモータ25の回転量に基づいて搬送量を算出して累積する。   Next, in step S2, a print job for printing the print contents based on the print data on the recording paper 12a is executed. Then, the transport amount of the recording paper 12a by the print job is accumulated by the paper feed amount accumulating means 30c. That is, the paper feed amount accumulating unit 30c calculates and accumulates the carry amount based on the rotation amount of the paper feed motor 25 as described above.

ステップS2において印刷ジョブが完了すると、ニアエンド検出手段30dは、ステップS3において、印刷ジョブ完了時点での記録紙12aの搬送量の累積値Lと、不揮発性メモリ31から読み出した規定消費長さLneとを比較して、印刷終了時点における搬送量の累積値Lが規定消費長さLne以上であるか否かを判定する。この判定で、累積値Lが規定消費長さLne以上であると判定された場合には(ステップS3:Yes)、ニアエンド状態であると判定して、後述するステップS5に進む。一方、累積値Lが規定消費長さLneよりも小さいと判定された場合には(ステップS3:No)、次のステップS4に進む。   When the print job is completed in step S2, the near-end detection unit 30d determines in step S3 that the accumulated amount L of the transport amount of the recording paper 12a at the time of completion of the print job and the specified consumption length Lne read from the nonvolatile memory 31. Are compared to determine whether or not the cumulative value L of the carry amount at the end of printing is equal to or greater than the specified consumption length Lne. In this determination, when it is determined that the accumulated value L is equal to or greater than the specified consumption length Lne (step S3: Yes), it is determined that the near end state is set, and the process proceeds to step S5 described later. On the other hand, when it is determined that the accumulated value L is smaller than the specified consumption length Lne (step S3: No), the process proceeds to the next step S4.

ステップS4では、ニアエンド検出手段30dは、紙検出器26の検出出力に基づき、搬送路A上の記録紙12aの有無を判定する。ステップS4において搬送路A上に記録紙12aが存在しないと判定された場合には(ステップS4:Yes)、後述するステップS11に進む。この場合、ニアエンド状態の検出前にペーパーエンド状態を検出したことになる。一方、搬送路A上にまだ記録紙12aが存在すると判定された場合には(ステップS4:No)、ステップS2に戻る。そして、ステップS3で累積値Lが規定消費長さLne以上と判定されてステップS5へ進むか、あるいは、ステップS4で搬送路A上に記録紙12aが存在しないと判定されてステップS11に進むか、のどちらかの処理に進むまでは、ステップS2〜ステップS4の処理を繰り返す。   In step S4, the near-end detection unit 30d determines the presence or absence of the recording paper 12a on the conveyance path A based on the detection output of the paper detector 26. If it is determined in step S4 that the recording paper 12a does not exist on the transport path A (step S4: Yes), the process proceeds to step S11 described later. In this case, the paper end state is detected before the near end state is detected. On the other hand, when it is determined that the recording paper 12a still exists on the transport path A (step S4: No), the process returns to step S2. In step S3, whether the accumulated value L is determined to be equal to or greater than the specified consumption length Lne and the process proceeds to step S5, or in step S4, it is determined that the recording paper 12a does not exist on the conveyance path A and the process proceeds to step S11. Steps S2 to S4 are repeated until the process proceeds to either of the above.

ここで、ステップS2〜ステップS4の処理中は、まだ記録紙12aのニアエンド状態が検出されていないので、ユーザがロール紙交換(新たなロール紙の装填)を行う可能性は極めて低い。そこで、紙送り量累積手段30cは、ステップS2〜ステップS4の処理を繰り返している間に開閉検出器3aの検出出力に基づいて開閉蓋3のカバーオープン動作が検出された場合には、設定値Inの内容にかかわらず、一律に紙ジャム等の復帰処理のためのカバーオープン動作が行われたと判断し、搬送量の累積値Lに加算値Laを加算する。例えば、ステップS2において、印刷ジョブ実行中にカバーオープン動作が検出された場合には、搬送量の累積値Lに加算値Laを加算する。   Here, since the near-end state of the recording paper 12a has not yet been detected during the processing from step S2 to step S4, the possibility that the user will replace the roll paper (load a new roll paper) is extremely low. Accordingly, the paper feed amount accumulating means 30c determines that the set value is set when the cover open operation of the open / close lid 3 is detected based on the detection output of the open / close detector 3a while the processes of steps S2 to S4 are repeated. Regardless of the content of In, it is determined that the cover open operation for paper jam recovery processing has been performed uniformly, and the addition value La is added to the accumulated value L of the carry amount. For example, if a cover open operation is detected during execution of the print job in step S2, the addition value La is added to the accumulated value L of the carry amount.

ステップS5に進むと、ニアエンド検出手段30dは、ステップS3においてニアエンド状態であると判定されたこと、すなわち、記録紙12aの残り長さが予め設定された規定残量Lxよりも短くなったと想定されることに基づき、ロール紙プリンタ1からホスト装置32にニアエンド検出信号を出力する。ホスト装置32では、このニアエンド検出信号を受信すると、ロール紙プリンタ1の記録紙12aの残量が少なく交換時期が近いことをユーザに報知するための表示を行う。あるいは、ニアエンド検出手段30dは、ステップS5において、ロール紙プリンタ1に設けられている図示しないニアエンド報知ランプなどを点灯させて、ロール紙プリンタ1本体側で報知を行う。そして、次のステップS6に進む。   Proceeding to step S5, it is assumed that the near-end detection means 30d is determined to be in the near-end state in step S3, that is, the remaining length of the recording paper 12a is shorter than the preset remaining amount Lx. Based on this, a near-end detection signal is output from the roll paper printer 1 to the host device 32. When the host device 32 receives this near-end detection signal, it displays to notify the user that the remaining amount of the recording paper 12a of the roll paper printer 1 is low and the replacement time is near. Alternatively, the near-end detection means 30d turns on a near-end notification lamp (not shown) provided in the roll paper printer 1 in step S5 to notify the roll paper printer 1 main body. Then, the process proceeds to the next step S6.

ステップS6に進んだ場合には、記録紙12aの残量は少ないがまだ印刷は可能な状態が想定される。従って、このステップS6では、ステップS2と同様に印刷処理およびそれに伴う記録紙12aの搬送量の累積を行う。   When the process proceeds to step S6, it is assumed that the remaining amount of the recording paper 12a is small but printing is still possible. Accordingly, in this step S6, the printing process and the accompanying conveyance amount of the recording paper 12a are accumulated as in step S2.

続いて、ステップS7に進み、ステップS5からステップS6に進んだ後、現時点までの間に、開閉蓋3のカバーオープン動作が検出されたか否かを判定する。ステップS7でカバーオープン動作を検出したと判定した場合には(ステップS7:Yes)、ステップS8に進み、上述した設定値Inの値に応じてその後の処理を決定する。一方、ステップS7でカバーオープン動作が検出されていないと判定した場合には(ステップS7:No)、後述するステップS10に進む。   Then, it progresses to step S7, and after progressing to step S6 from step S5, it is determined whether the cover open operation | movement of the opening-and-closing lid 3 was detected until the present time. If it is determined in step S7 that the cover open operation has been detected (step S7: Yes), the process proceeds to step S8, and the subsequent processing is determined according to the set value In described above. On the other hand, when it is determined in step S7 that the cover open operation is not detected (step S7: No), the process proceeds to step S10 described later.

ステップS8では、ニアエンド検出処理開始時に読み出した設定値Inが1であったか0であったかの判定を行う。この判定は、すでにニアエンド状態が検出されている現段階以降の処理において、紙無し状態を発生させないようにする使い方を想定するか、最後まで記録紙12aを使い切る使い方を想定するかで処理を分けるために行っている。すなわち、In=1の場合には(ステップS8:Yes)、ステップS7で検出したカバーオープン動作が新たなロール紙12の装填動作であったと判断するので、ステップS1に戻る。この際、紙送り量累積手段30cによる搬送量の累積値Lをリセットして0に戻す。一方、In=0の場合には(ステップS8:No)、新たなロール紙12の装填動作ではなく紙ジャムからの復帰動作が行われたと判断するので、ステップS9に進んで搬送量の累積値Lに加算値Laを加算する。そして、ステップS10に進む。   In step S8, it is determined whether the set value In read at the start of the near-end detection process is 1 or 0. This determination is divided into processing depending on whether the usage to prevent the occurrence of the no-paper state is assumed in the processing after the current stage where the near-end state has already been detected, or the usage to use up the recording paper 12a to the end. Is going for. That is, when In = 1 (step S8: Yes), it is determined that the cover opening operation detected in step S7 is a loading operation of a new roll paper 12, and the process returns to step S1. At this time, the accumulated value L of the carry amount by the paper feed amount accumulating means 30c is reset to zero. On the other hand, if In = 0 (step S8: No), it is determined that the return operation from the paper jam is performed instead of the loading operation of the new roll paper 12, and therefore the process proceeds to step S9 and the accumulated value of the transport amount is obtained. The addition value La is added to L. Then, the process proceeds to step S10.

ステップS10では、ステップS4と同様に、搬送路A上に記録紙12aが存在しているか否かの判定処理を行う。ここで搬送路A上に記録紙12aが存在しないと判定された場合には(ステップS10:Yes)、ステップS11に進む。一方、搬送路A上にまだ記録紙12aが存在すると判定された場合には(ステップS10:No)、ステップS6に戻る。そして、カバーオープン動作が行われ、且つ、設定値In=1であると判定されるか、あるいは、搬送路A上に記録紙12aが存在しないと判定されるまでは、ステップS6〜ステップS10を繰り返す。   In step S10, as in step S4, a determination process is performed to determine whether or not the recording paper 12a exists on the conveyance path A. If it is determined that the recording paper 12a does not exist on the transport path A (step S10: Yes), the process proceeds to step S11. On the other hand, when it is determined that the recording paper 12a still exists on the transport path A (step S10: No), the process returns to step S6. Steps S6 to S10 are performed until the cover open operation is performed and it is determined that the set value In = 1 or the recording paper 12a does not exist on the conveyance path A. repeat.

ステップS11に進んだ場合には、搬送路A上に記録紙12aが存在しないと判定されており、ペーパーエンド状態が検出されている。そこで、ニアエンド検出手段30dは、ロール紙プリンタ1からホスト装置32にペーパーエンド検出信号を出力して、ホスト装置32側で、ロール紙プリンタ1の紙無し状態をユーザに報知するための表示を行う。あるいは、ロール紙プリンタ1に設けられている図示しない紙無しランプなどを点灯させて、ロール紙プリンタ1本体側で報知を行う。そして、ステップS12に進む。   When the process proceeds to step S11, it is determined that the recording paper 12a does not exist on the conveyance path A, and the paper end state is detected. Therefore, the near-end detection unit 30d outputs a paper end detection signal from the roll paper printer 1 to the host device 32, and performs a display on the host device 32 side to notify the user that the roll paper printer 1 is out of paper. . Alternatively, a paper-not-shown lamp (not shown) provided in the roll paper printer 1 is turned on to notify the roll paper printer 1 main body. Then, the process proceeds to step S12.

続いて、ステップS12では、ニアエンド検出手段30dは、ペーパーエンド状態を検出したときの搬送量の累積値Lpeが今回使用したロール紙12における記録紙12aの全長であると想定されることに基づき、この累積値Lpeから上述した規定残量Lxを減算した値を、新たな記録紙12aの規定消費長さLneとして不揮発性メモリ31に記憶させる。すなわち、現在記憶している規定消費長さLneを、Lne=Lpe−Lxによって算出される値に更新する。更新後は、搬送量の累積値Lをリセットして0に戻す。そして、新たに装填されたロール紙12のニアエンド検出処理を行う場合には、ステップS1に戻り、更新後の規定消費長さLneや他の設定値を読み込む。更新後の規定消費長さLneを用いれば、次に同一種類のロール紙12を装填して用いた場合には、記録紙12aの残量がLxよりも少なくなったか否か(ニアエンド状態か否か)を精度良く判定できる。   Subsequently, in step S12, the near-end detection unit 30d is based on the assumption that the accumulated value Lpe of the transport amount when the paper end state is detected is the total length of the recording paper 12a in the roll paper 12 used this time. A value obtained by subtracting the specified remaining amount Lx from the accumulated value Lpe is stored in the nonvolatile memory 31 as the specified consumption length Lne of the new recording paper 12a. That is, the currently stored specified consumption length Lne is updated to a value calculated by Lne = Lpe−Lx. After the update, the conveyance amount accumulated value L is reset to zero. When the near-end detection process of the newly loaded roll paper 12 is performed, the process returns to step S1 to read the updated specified consumption length Lne and other set values. If the specified consumption length Lne after the update is used, when the same type of roll paper 12 is loaded and used next, whether or not the remaining amount of the recording paper 12a is less than Lx (whether it is in the near-end state). Can be determined with high accuracy.

以上のように、本実施形態のニアエンド検出方法は、未使用状態からの消耗品の送り出し長さの累積値に基づいてニアエンド状態を検出するようにしており、装置内にロール紙のサイズや装填位置を検出する検出器を用いないので、部品点数を削減でき、装置構成の簡素化および装置の小型化を図ることができる。また、ニアエンド状態の検出精度が、装置の傾きに起因する消耗品の装填位置の偏りの影響や、装置内の外乱光や装置の振動、あるいは消耗品の色や材質などに起因する検出精度の低下の影響を受けない。更に、搬送用モータの回転量や駆動ステップ数に基づいて算出した送り出し長さは実際に送り出された長さと高い精度で一致するので、精度良くニアエンド状態を検出できる。特に、実際に使われた消耗品の長さをもとにニアエンドを検出するため、実使用上での検出精度がよい。   As described above, the near-end detection method according to the present embodiment detects the near-end state based on the accumulated value of the supply length of the consumables from the unused state. Since the detector for detecting the position is not used, the number of parts can be reduced, the apparatus configuration can be simplified, and the apparatus can be downsized. In addition, the detection accuracy of the near-end state is the detection accuracy due to the influence of bias of the loading position of consumables due to the tilt of the device, disturbance light in the device, vibration of the device, the color and material of the consumables, etc. Unaffected by decline. Furthermore, since the delivery length calculated based on the rotation amount of the transport motor and the number of drive steps coincides with the actually delivered length with high accuracy, the near-end state can be detected with high accuracy. In particular, since near-end is detected based on the length of consumables actually used, the detection accuracy in actual use is good.

なお、ロール紙だけでなく、インクリボンやテープなどの任意の長尺状の消耗品をロール状に巻いたり折り畳んだ状態で装填して用いる任意の装置における消耗品のニアエンド検出を、本実施形態と同様な方法で行うことができる。   In this embodiment, not only roll paper but also any long consumables such as ink ribbons and tapes, which are loaded and used in a rolled state or in a folded state, are used for near-end detection of consumables. It can be done in the same way.

(改変例)
上記実施形態は、以下のように改変できる。
(1)記録紙12aの送り出し長さを、ホスト装置32から受信する印刷データに基づいて算出し、累積するようにしてもよい。
(Modification example)
The above embodiment can be modified as follows.
(1) The feeding length of the recording paper 12a may be calculated based on print data received from the host device 32 and accumulated.

(2)規定消費長さLneや規定残量Lx、カバーオープン検出時に紙ジャムからの復帰処理を行ったと判断した場合の加算値La、設定値Inなどを設定する設定画面をホスト装置32に表示させ、ユーザが入力した値に設定を変更するコマンドをホスト装置32からロール紙プリンタ1に送信して設定データを書き換えるようにしてもよい。 (2) A setting screen for setting a specified consumption length Lne, a specified remaining amount Lx, an addition value La when it is determined that a recovery process from paper jam has been performed when a cover open is detected, a setting value In, and the like is displayed on the host device 32. The setting data may be rewritten by transmitting a command for changing the setting to the value input by the user from the host device 32 to the roll paper printer 1.

(3)印刷ジョブが完了する毎に記録紙12aの搬送量の累積値Lが規定消費長さLne以上であるか否かを判定するだけでなく、印刷ジョブ実行中にも所定のタイミングで累積値Lと規定消費長さLneとの比較判定を行うようにしてもよい。あるいは、搬送量が所定のピッチで増加する毎に累積値Lと規定消費長さLneとの比較判定を行ってもよいし、一定時間間隔で比較判定を行っても良い。このようにすれば、より正確なタイミングでニアエンド状態の検出および報知を行うことができる。 (3) Every time a print job is completed, not only is it determined whether or not the cumulative value L of the transport amount of the recording paper 12a is greater than or equal to the specified consumption length Lne, but also accumulates at a predetermined timing during execution of the print job. A comparison determination between the value L and the specified consumption length Lne may be performed. Alternatively, each time the transport amount increases at a predetermined pitch, the cumulative value L and the specified consumption length Lne may be compared and determined, or the comparative determination may be performed at regular time intervals. In this way, the near-end state can be detected and notified at a more accurate timing.

(4)不揮発性メモリ31に工場出荷時に記憶させた規定消費長さLneの初期値を書き換えずにそのまま記憶保持させておき、新たに算出した規定消費長さLneについては別個に更新値として記憶させて通常はこちらを用い、必要なときには初期値を用いることができるようにしてもよい。 (4) The initial value of the specified consumption length Lne stored in the nonvolatile memory 31 at the time of shipment from the factory is stored without being rewritten, and the newly calculated specified consumption length Lne is stored separately as an updated value. Normally, this may be used, and the initial value may be used when necessary.

(5)規定残量Lxを、印刷物の平均長さや記録紙12aの消費スピードなどに応じて適宜増減させるようにしてもよい。 (5) The specified remaining amount Lx may be increased or decreased as appropriate according to the average length of the printed matter, the consumption speed of the recording paper 12a, and the like.

本発明を適用したロール紙プリンタの外観斜視図である。1 is an external perspective view of a roll paper printer to which the present invention is applied. 開閉蓋を開いた状態のロール紙プリンタの外観斜視図である。FIG. 2 is an external perspective view of a roll paper printer with an open / close lid open. ロール紙プリンタの内部構成を示す概略縦断面図である。It is a schematic longitudinal cross-sectional view which shows the internal structure of a roll paper printer. ロール紙プリンタの制御系を示す概略ブロック図である。FIG. 2 is a schematic block diagram illustrating a control system of a roll paper printer. ニアエンド検出処理のフローチャートである。It is a flowchart of a near end detection process.

符号の説明Explanation of symbols

1…ロール紙プリンタ、2…プリンタ本体、2a…外装ケース、2b…開口部、3…開閉蓋、3a…開閉検出器、4…排出口、5…排紙ガイド、6…蓋開閉レバー、10…プリンタ本体フレーム、11…ロール紙収納部、12…ロール紙、12a…記録紙、13…ヘッドユニットフレーム、14…インクジェットヘッド、14a…インクノズル面、14b…ヘッドドライバ、15…キャリッジ、16…キャリッジガイド軸、17…キャリッジモータ、17a…モータドライバ、18…タイミングベルト、19…プラテン、20…テンションガイド、21…後側紙送りローラ、22…後側紙押えローラ、23…前側紙送りローラ、24…前側紙押えローラ、25…紙送りモータ、25a…モータドライバ、26…紙検出器、28…オートカッタ、30…制御部、30a…印刷制御手段、30b…紙送り制御手段、30c…紙送り量累積手段、30d…ニアエンド検出手段、31…不揮発性メモリ、32…ホスト装置、A…搬送路、In…設定値、L、Lpe…累積値、La…加算値、Lne…規定消費長さ、Lx…規定残量 DESCRIPTION OF SYMBOLS 1 ... Roll paper printer, 2 ... Printer main body, 2a ... Exterior case, 2b ... Opening part, 3 ... Opening / closing lid, 3a ... Opening / closing detector, 4 ... Discharge port, 5 ... Discharge guide, 6 ... Cover opening / closing lever, 10 ... Printer body frame, 11 ... roll paper storage unit, 12 ... roll paper, 12a ... recording paper, 13 ... head unit frame, 14 ... ink jet head, 14a ... ink nozzle surface, 14b ... head driver, 15 ... carriage, 16 ... Carriage guide shaft, 17 ... Carriage motor, 17a ... Motor driver, 18 ... Timing belt, 19 ... Platen, 20 ... Tension guide, 21 ... Rear paper feed roller, 22 ... Rear paper press roller, 23 ... Front paper feed roller , 24 ... front paper pressing roller, 25 ... paper feed motor, 25a ... motor driver, 26 ... paper detector, 28 ... auto cutter DESCRIPTION OF SYMBOLS 30 ... Control part, 30a ... Print control means, 30b ... Paper feed control means, 30c ... Paper feed amount accumulation means, 30d ... Near end detection means, 31 ... Non-volatile memory, 32 ... Host apparatus, A ... Conveyance path, In ... Set value, L, Lpe ... cumulative value, La ... addition value, Lne ... prescribed consumption length, Lx ... prescribed remaining amount

Claims (9)

所定形状に巻かれたあるいは折り畳まれた状態で装填され、一端側から送り出して使用される長尺状の消耗品の残量が所定長さよりも短いニアエンド状態になったことを検出する長尺状の消耗品のニアエンド検出方法であって、
未使用状態で装填されている前記消耗品の使用を開始した時点からの当該消耗品の送り出し長さを累積し、
当該送り出し長さの累積値が予め設定した規定消費長さ以上になったか否かを監視し、
前記送り出し長さの累積値が前記規定消費長さ以上になった場合に、前記ニアエンド状態になったと判定することを特徴とする長尺状の消耗品のニアエンド検出方法。
A long shape that detects that the remaining amount of long consumables that are loaded in a predetermined shape or wound in a folded state and sent out from one end side is in a near-end state shorter than a predetermined length. A near-end detection method for consumables,
Accumulate the delivery length of the consumables from the start of use of the consumables loaded in an unused state,
Monitor whether the cumulative value of the delivery length exceeds the preset consumption length,
A near-end detection method for a long consumable, wherein when the cumulative value of the delivery length becomes equal to or greater than the specified consumption length, it is determined that the near-end state has been reached.
請求項1に記載の長尺状の消耗品のニアエンド検出方法であって、
前記消耗品の終端を検出するまで前記送り出し長さの累積を継続し、
前記消耗品の終端を検出したときの前記送り出し長さの累積値から、予め設定した前記消耗品の規定残量を減じた長さを、前記規定消費長さとして再設定することを特徴とする長尺状の消耗品のニアエンド検出方法。
A method for detecting a near-end of the elongated consumable according to claim 1,
Continue to accumulate the delivery length until the end of the consumable is detected,
A length obtained by subtracting a preset remaining amount of the consumable from a cumulative value of the delivery length when the end of the consumable is detected is reset as the specified consumption length. Near-end detection method for long consumables.
請求項1または2に記載の長尺状の消耗品のニアエンド検出方法であって、
前記消耗品の終端を検出したか否かを監視し、
前記消耗品の終端を検出した場合には、前記送り出し長さの累積値をリセットすることを特徴とする印刷装置における長尺状の消耗品のニアエンド検出方法。
A method for detecting a near-end of a long consumable according to claim 1 or 2,
Monitoring whether the end of the consumable is detected;
A method for detecting a near-end of a long consumable item in a printing apparatus, wherein when the end of the consumable item is detected, the cumulative value of the delivery length is reset.
請求項1ないし3のいずれかの項に記載の長尺状の消耗品のニアエンド検出方法であって、
前記消耗品は、印刷装置の装填部に装填されており、紙送りの長さまたは印刷動作毎に印刷内容に対応する長さだけ前記装填部から送り出されることを特徴とする長尺状の消耗品のニアエンド検出方法。
A method for detecting a near-end of an elongated consumable according to any one of claims 1 to 3,
The consumable item is loaded in a loading unit of a printing apparatus, and is sent out from the loading unit by a length corresponding to a printing content for each paper feeding length or printing operation. Near-end detection method for products.
請求項4に記載の長尺状の消耗品のニアエンド検出方法であって、
前記装填部を開閉する開閉部材の開閉動作が行われたか否かを監視し、
前記開閉動作が行われた場合には、前記送り出し長さの累積値に予め設定した加算値を加算するか、あるいは、新たな消耗品が装填されたと判断して前記送り出し長さの累積値をリセットすることを特徴とする長尺状の消耗品のニアエンド検出方法。
A method for detecting a near-end of a long consumable according to claim 4,
Monitoring whether an opening / closing operation of an opening / closing member for opening / closing the loading unit has been performed;
When the opening / closing operation is performed, an addition value set in advance is added to the cumulative value of the delivery length, or the cumulative value of the delivery length is determined by determining that a new consumable has been loaded. A near-end detection method for long consumables, characterized by resetting.
請求項4または5に記載の長尺状の消耗品のニアエンド検出方法であって、
前記消耗品は、前記印刷装置のロール紙収納部に装填されるロール紙であり、前記ロール紙収納部から送り出されて前記印刷装置内の印刷位置を経由する搬送路に沿って搬送されることを特徴とする長尺状の消耗品のニアエンド検出方法。
It is a near-end detection method of the elongate expendable supplies according to claim 4 or 5,
The consumable is roll paper loaded in a roll paper storage unit of the printing apparatus, and is sent out from the roll paper storage part and conveyed along a conveyance path passing through a printing position in the printing apparatus. A near-end detection method for long consumables.
請求項6に記載の長尺状の消耗品のニアエンド検出方法であって、
前記送り出し長さを、前記印刷内容、または、前記ロール紙を前記搬送路に沿って搬送する搬送用モータの回転量に基づいて算出することを特徴とする長尺状の消耗品のニアエンド検出方法。
A method for detecting a near-end of a long consumable according to claim 6,
A method for detecting a near-end of a long consumable, characterized in that the delivery length is calculated based on the printing content or a rotation amount of a conveyance motor that conveys the roll paper along the conveyance path. .
請求項1ないし7のいずれかの項に記載の長尺状の消耗品のニアエンド検出方法であって、
前記ニアエンド状態になったと判定した場合には、所定の報知を行うか、または、外部装置に所定の信号を出力することを特徴とする長尺状の消耗品のニアエンド検出方法。
A method for detecting a near-end of a long consumable according to any one of claims 1 to 7,
When it is determined that the near end state has been reached, a predetermined notification is performed or a predetermined signal is output to an external device.
所定形状に巻かれたあるいは折り畳まれた長尺状の消耗品を装填する装填部と、
当該装填部から前記消耗品を送り出す搬送部と、
前記装填部からの前記搬送部による前記消耗品の送り出し長さを累積する累積手段と、
前記消耗品の規定消費長さを記憶する記憶手段と、
請求項1ないし8のいずれかの項に記載の長尺状の消耗品のニアエンド検出方法により、前記消耗品の残量が所定長さよりも短いニアエンド状態になったことを検出するニアエンド検出手段と、を備えることを特徴とする印刷装置。
A loading section for loading a long consumable wound or folded into a predetermined shape;
A transport unit for delivering the consumable from the loading unit;
Accumulating means for accumulating the delivery length of the consumable by the conveying unit from the loading unit;
Storage means for storing a prescribed consumption length of the consumables;
A near-end detection means for detecting that the remaining amount of the consumables is in a near-end state shorter than a predetermined length by the long-end consumable near-end detection method according to any one of claims 1 to 8. A printing apparatus comprising:
JP2008311841A 2008-12-08 2008-12-08 Near-end detection method of long consumables and printing apparatus Withdrawn JP2010131925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008311841A JP2010131925A (en) 2008-12-08 2008-12-08 Near-end detection method of long consumables and printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008311841A JP2010131925A (en) 2008-12-08 2008-12-08 Near-end detection method of long consumables and printing apparatus

Publications (1)

Publication Number Publication Date
JP2010131925A true JP2010131925A (en) 2010-06-17

Family

ID=42343745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008311841A Withdrawn JP2010131925A (en) 2008-12-08 2008-12-08 Near-end detection method of long consumables and printing apparatus

Country Status (1)

Country Link
JP (1) JP2010131925A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9713929B2 (en) 2012-05-30 2017-07-25 International Business Machines Corporation Paper level measurement

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6327287A (en) * 1986-07-18 1988-02-04 Brother Ind Ltd Printer
JP2001018469A (en) * 1999-07-09 2001-01-23 Toshiba Tec Corp Continuous paper printer
JP2001139202A (en) * 1999-11-12 2001-05-22 Sharp Corp Printing device using roll paper
JP2008127108A (en) * 2006-11-16 2008-06-05 Seiko Epson Corp Method of detecting failure of paper detector of rolled paper printer
JP2008143605A (en) * 2006-12-06 2008-06-26 Canon Inc Printer, its control method and its control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6327287A (en) * 1986-07-18 1988-02-04 Brother Ind Ltd Printer
JP2001018469A (en) * 1999-07-09 2001-01-23 Toshiba Tec Corp Continuous paper printer
JP2001139202A (en) * 1999-11-12 2001-05-22 Sharp Corp Printing device using roll paper
JP2008127108A (en) * 2006-11-16 2008-06-05 Seiko Epson Corp Method of detecting failure of paper detector of rolled paper printer
JP2008143605A (en) * 2006-12-06 2008-06-26 Canon Inc Printer, its control method and its control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9713929B2 (en) 2012-05-30 2017-07-25 International Business Machines Corporation Paper level measurement

Similar Documents

Publication Publication Date Title
JP5298954B2 (en) Printer recording paper transport control method and printer
US8696084B2 (en) Method of controlling printing in a printer, and a printer
JP5371283B2 (en) Recording device
KR102070189B1 (en) Recording apparatus and method for determining a sheet
CN100453331C (en) How to Load Recording Paper in the Printer
US8646996B2 (en) Method of setting paper in a printer, and a printer
US10137709B2 (en) Recording device and medium feeding method for recording device
JP5181909B2 (en) Printer reprint control method and printer
JP2011143997A (en) Method of monitoring conveying state of recording paper of printer and printer
JP5151527B2 (en) Roll paper printer and printing control method for roll paper printer
JP5955058B2 (en) Sheet feeding apparatus, printing apparatus, and sheet processing apparatus
JP2010131925A (en) Near-end detection method of long consumables and printing apparatus
JP2021160880A (en) Recording device
US8845214B2 (en) Conveying device and printer
US20040252145A1 (en) Printer
JP4872618B2 (en) Paper detector failure detection method for roll paper printer
JP5556912B2 (en) Print control method in printer and printer
JP2003146508A (en) Roll paper compatible printer and paper feed error detection method in such printer
JP2013126759A (en) Method for controlling reprint of printer, and printer
JP3916051B2 (en) Printing device
JP5328418B2 (en) Printer
JP2022117129A (en) Printers and image inspection equipment
JPH1058662A (en) Ink jet printing device
JP2001328330A (en) Recording apparatus and control method thereof
JP2012131073A (en) Printing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20111102

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130227

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20130312