JP6923247B2 - Label printers, label printer control methods and programs - Google Patents
Label printers, label printer control methods and programs Download PDFInfo
- Publication number
- JP6923247B2 JP6923247B2 JP2017043638A JP2017043638A JP6923247B2 JP 6923247 B2 JP6923247 B2 JP 6923247B2 JP 2017043638 A JP2017043638 A JP 2017043638A JP 2017043638 A JP2017043638 A JP 2017043638A JP 6923247 B2 JP6923247 B2 JP 6923247B2
- Authority
- JP
- Japan
- Prior art keywords
- light
- unit
- mount
- slit
- roll paper
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 21
- 238000001514 detection method Methods 0.000 claims description 46
- 230000032258 transport Effects 0.000 claims description 40
- 238000006243 chemical reaction Methods 0.000 claims description 23
- 230000007246 mechanism Effects 0.000 claims description 20
- 238000004804 winding Methods 0.000 claims description 15
- 230000009906 terminal region determination Effects 0.000 claims description 5
- 238000002834 transmittance Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 239000000463 material Substances 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 102100036285 25-hydroxyvitamin D-1 alpha hydroxylase, mitochondrial Human genes 0.000 description 3
- 101000875403 Homo sapiens 25-hydroxyvitamin D-1 alpha hydroxylase, mitochondrial Proteins 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Controlling Sheets Or Webs (AREA)
- Printers Characterized By Their Purpose (AREA)
Description
本発明は、ラベルプリンタ、ラベルプリンタの制御方法及びプログラムに関する。 The present invention relates to a label printer, a control method and a program for the label printer.
台紙に貼付されたラベルに印刷するラベルプリンタなど、さまざまな印刷装置がある。
特許文献1には、関連する技術として、印字処理中の用紙の搬送距離から用紙の残量を演算する技術が開示されている。
There are various printing devices such as label printers that print on labels attached to mounts.
ところで、台紙に貼付されたラベルに印刷するラベルプリンタには、ラベルの端部を検出し印刷位置を特定するためにフォトトランジスタを備えるものがある。このフォトトランジスタは、搬送されている台紙及びラベルに照射された光の透過光を受光する。台紙とラベルとでは、光の透過率が異なるため、台紙に光が照射される場合とラベルに光が照射される場合とでフォトトランジスタが受光する光の光量に差が生じる。ラベルプリンタは、フォトトランジスタが受光する光の光量の差を利用して台紙とラベルとを区別し、ラベルの端部を検出し印刷位置を特定している。ラベルプリンタで使用されるこのようなフォトトランジスタは、一般的に高価である。
そのため、ラベルの端部を検出するためのフォトトランジスタを備えるラベルプリンタにおいて、そのフォトトランジスタを利用してロール紙のニアエンドを判定することのできる技術が求められていた。
By the way, some label printers that print on a label attached to a mount include a phototransistor for detecting an end portion of the label and specifying a printing position. This phototransistor receives the transmitted light of the light applied to the conveyed mount and label. Since the light transmittance differs between the mount and the label, there is a difference in the amount of light received by the phototransistor between the case where the mount is irradiated with light and the case where the label is irradiated with light. The label printer distinguishes between the mount and the label by using the difference in the amount of light received by the phototransistor, detects the end of the label, and specifies the printing position. Such phototransistors used in label printers are generally expensive.
Therefore, in a label printer provided with a phototransistor for detecting the end portion of a label, there has been a demand for a technique capable of determining the near end of roll paper using the phototransistor.
本発明は、上記の課題を解決することのできるラベルプリンタ、ラベルプリンタの制御方法及びプログラムを提供することを目的としている。 An object of the present invention is to provide a label printer, a control method and a program for the label printer, which can solve the above problems.
上記目的を達成するために、本発明は、芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定する端部特定部と、前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定する回転速度特定部と、前記回転速度特定部が特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定する終端領域判定部と、前記芯部と前記芯部から距離を隔てて設けられた回転体とに巻回され、前記台紙と並行して設けられるスリットであって、隣り合う前記ラベルの端部間の検出周期よりも短い検出周期で検出可能に設けられるスリット状ベルトと、を備え、前記光検出部は、前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状ベルトの下方において検出する、ラベルプリンタである。
また、本発明は、芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定する端部特定部と、前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定する回転速度特定部と、前記回転速度特定部が特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定する終端領域判定部と、前記芯部の回転軸を別の回転軸に変換する回転変換機構と、前記回転変換機構によって変換される変換後の回転軸を中心に回転する前記台紙に盤面が平行なスリット状円盤と、を備え、前記光検出部は、前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出する、ラベルプリンタである。
In order to achieve the above object, the present invention comprises a transport unit which is a mount fed from a roll paper wound around a core portion and in which a plurality of labels are provided at predetermined intervals to convey the mount in the transport direction. , The light detection unit that detects light, the end identification unit that specifies the end portion of each of the plurality of labels based on the light detected by the light detection unit, and the light detected by the light detection unit. A rotation speed specifying unit that specifies the rotation speed of the core portion based on the above, a terminal region determination unit that determines the winding end region in the core portion based on the rotation speed specified by the rotation speed specifying unit, and the core portion. And a slit that is wound around a rotating body provided at a distance from the core portion and provided in parallel with the mount, and has a detection cycle shorter than the detection cycle between the ends of the adjacent labels. A label printer including a slit-shaped belt provided so as to be detectable, wherein the light detection unit detects the light applied toward the roll paper from above the roll paper below the slit-shaped belt. Is.
Further, the present invention comprises a transport unit which is a mount fed from a roll paper wound around a core portion and in which a plurality of labels are provided at predetermined intervals to convey the mount in the transport direction, and light for detecting light. The detection unit, the end identification unit that specifies the end of each of the plurality of labels based on the light detected by the light detection unit, and the core portion based on the light detected by the light detection unit. The rotation speed specifying unit that specifies the rotation speed, the end area determination unit that determines the winding end region in the core portion based on the rotation speed specified by the rotation speed specifying unit, and the rotation axis of the core portion are different. The optical detection unit includes a rotation conversion mechanism that converts to a rotation axis and a slit-shaped disk whose surface is parallel to the mount that rotates around the conversion rotation axis that is converted by the rotation conversion mechanism. It is a label printer that detects the light applied to the roll paper from above the roll paper below the slit-shaped disk.
また、本発明は、芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記芯部と前記芯部から距離を隔てて設けられた回転体とに巻回され、前記台紙と並行して設けられるスリットであって、隣り合う前記ラベルの端部間の検出周期よりも短い検出周期で検出可能に設けられるスリット状ベルトと、を備えるラベルプリンタの制御方法であって、前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状ベルトの下方において検出することと、前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、を含むラベルプリンタの制御方法である。
また、本発明は、芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記芯部の回転軸を別の回転軸に変換する回転変換機構と、前記回転変換機構によって変換される変換後の回転軸を中心に回転する前記台紙に盤面が平行なスリット状円盤と、を備えるラベルプリンタの制御方法であって、前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出することと、前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、を含むラベルプリンタの制御方法である。
Further, the present invention comprises a transport unit which is a mount sent out from a roll paper wound around a core portion and in which a plurality of labels are provided at predetermined intervals to convey the mount in the transport direction, and light for detecting light. A slit wound around a detection unit and a rotating body provided at a distance from the core portion and the core portion and provided in parallel with the mount, and detects between adjacent ends of the label. A control method for a label printer including a slit-shaped belt provided so as to be detectable in a detection cycle shorter than the cycle, wherein the light detection unit is applied to the roll paper from above the roll paper. The light is detected below the slit-shaped belt, the end of each of the plurality of labels is specified based on the light detected by the light detection unit, and the light detected by the light detection unit. It is a control method of a label printer including specifying the rotation speed of the core portion based on the above, and determining the winding end region in the core portion based on the specified rotation speed.
Further, the present invention comprises a transport unit which is a mount sent out from a roll paper wound around a core portion and in which a plurality of labels are provided at predetermined intervals to convey the mount in the transport direction, and light for detecting light. The detection unit, the rotation conversion mechanism that converts the rotation axis of the core portion to another rotation axis, and the slit shape whose board surface is parallel to the mount that rotates around the conversion rotation axis converted by the rotation conversion mechanism. A control method for a label printer including a disk, wherein the light detection unit detects the light applied to the roll paper from above the roll paper and below the slit-shaped disc. Identifying each end of the plurality of labels based on the light detected by the light detection unit, and specifying the rotation speed of the core portion based on the light detected by the light detection unit. It is a control method of a label printer including determining a winding end region in the core portion based on the specified rotation speed.
また、本発明は、芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記芯部と前記芯部から距離を隔てて設けられた回転体とに巻回され、前記台紙と並行して設けられるスリットであって、隣り合う前記ラベルの端部間の検出周期よりも短い検出周期で検出可能に設けられるスリット状ベルトと、を備え、前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状ベルトの下方において検出するラベルプリンタが含むコンピュータに、前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、を実行させるプログラムである。
また、本発明は、芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記芯部の回転軸を別の回転軸に変換する回転変換機構と、前記回転変換機構によって変換される変換後の回転軸を中心に回転する前記台紙に盤面が平行なスリット状円盤と、を備え、前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出するラベルプリンタが含むコンピュータに、前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、を実行させるプログラムである。
Further, the present invention comprises a transport unit which is a mount sent out from a roll paper wound around a core portion and in which a plurality of labels are provided at predetermined intervals to convey the mount in the transport direction, and light for detecting light. A slit wound around a detection unit and a rotating body provided at a distance from the core portion and the core portion and provided in parallel with the mount, and detects between adjacent ends of the label. A slit-shaped belt provided so as to be detectable in a detection cycle shorter than the cycle is provided, and the light directed from above the roll paper toward the roll paper is directed below the slit-shaped belt. To the computer included in the label printer to be detected in the above, the end of each of the plurality of labels is specified based on the light detected by the light detection unit, and the light is detected by the light detection unit. It is a program for specifying the rotation speed of the core portion and determining the winding end region in the core portion based on the specified rotation speed.
Further, the present invention comprises a transport unit which is a mount fed from a roll paper wound around a core portion and in which a plurality of labels are provided at predetermined intervals to convey the mount in the transport direction, and light for detecting light. The detection unit, the rotation conversion mechanism that converts the rotation axis of the core portion to another rotation axis, and the slit shape whose board surface is parallel to the mount that rotates around the conversion rotation axis converted by the rotation conversion mechanism. The light detection unit is provided in a computer including a label printer including a disk, wherein the light detection unit detects the light applied to the roll paper from above the roll paper below the slit-shaped disk. Identifying each end of the plurality of labels based on the light detected by the light detection unit, and specifying the rotation speed of the core portion based on the light detected by the light detection unit. It is a program to determine the winding end region in the core portion based on the rotation speed and to execute.
本発明によれば、1つの光検出部が受光した光量に基づいて、ラベルの端部を特定することができると共に、ロール紙のニアエンドを判定することができる。 According to the present invention, the edge of the label can be specified and the near end of the roll paper can be determined based on the amount of light received by one photodetector.
<第1の実施形態>
本発明の第1の実施形態によるラベルプリンタ1について説明する。
なお、本発明の各実施形態によるラベルプリンタ1は、ラベルのエッジ検出のために予め備えている1つのフォトトランジスタを有効利用する例である。
本発明の第1の実施形態によるラベルプリンタ1は、ロール紙のニアエンド(終端領域)を検出し、ユーザに対して間もなくロール紙が無くなることを事前に通知する機能を有する。ラベルプリンタ1は、図1に示すように、第1ローラ71(芯部)と、第3ローラ73(回転体)と、スリット状ベルト80と、ロール紙40と、台紙50と、ラベル60と、第4ローラ74と、発光部10と、受光部20(光検出部)と、第2ローラ72(搬送部)と、印刷部90と、信号処理部30と、報知部31と、を備える。
なお、図1において符号A1で示す矢印は、ラベルL1が搬送される搬送方向を示している。
<First Embodiment>
The
The
The
The arrow indicated by the reference numeral A1 in FIG. 1 indicates the transport direction in which the label L1 is transported.
第1ローラ71は、ロール紙40の回転軸となるローラである。
第3ローラ73は、第1ローラ71の位置を基準とした搬送方向A1の所定の位置に設けられる。第1ローラ71と第3ローラ73とにはスリット状ベルト80が巻回される。
The
The
スリット状ベルト80は、図2に示すように、搬送方向A1に一定の間隔をあけて複数のスリットSLを設ける。複数のスリットSLは、後述するラベル60の端部間の検出周期よりも短い検出周期で検出可能に設けられる。例えば、複数のスリットSLは、後述する隣り合うラベル60どうしの間隔に比べて充分に短い間隔で設けられる。複数のスリットSLのそれぞれは、例えば、搬送方向A1に交差する方向に長い長方形のスリットである。上述のように、第3ローラ73は、第1ローラ71の位置を基準とした搬送方向A1の所定の位置に設けられる。そのため、スリット状ベルト80が回転したときのスリットSLの移動方向は、搬送方向A1の方向に一致する。なお、スリット状ベルト80のスリット以外の部分の光の透過率は、スリット状ベルト80のスリットの光の透過率よりも低い。
As shown in FIG. 2, the slit-
ロール紙40は、第1ローラ71に巻き付けられる。ロール紙40は、台紙50が巻かれたものである。
台紙50は、ラベル60を貼付するための台紙である。なお、台紙50の光の透過率は、スリット状ベルト80のスリット以外の部分の光の透過率よりも高い。また、台紙50の光の透過率は、スリット状ベルト80のスリットの光の透過率よりも低い。
The
The
ラベル60は、印刷部90の印刷対象物である。ラベル60は、台紙50に、搬送方向A1に所定の間隔をあけて貼付される。なお、ラベル60の光の透過率は、台紙50、スリット状ベルト80のスリット以外の部分、及び、スリット状ベルト80のスリットのいずれの光の透過率よりも低い。台紙50、ラベル60、スリット状ベルト80のスリット以外の部分、及び、スリット状ベルト80のスリットのそれぞれの光の透過率は、受光部20が受光する光の光量に影響を及ぼす。後述するように、受光部20が出力する電圧Vout1は、受光部20が受光する光の光量に応じた電圧である。そのため、受光部20が出力する電圧Vout1は、台紙50、ラベル60、スリット状ベルト80のスリット以外の部分、及び、スリット状ベルト80のスリットのそれぞれの光の透過率に応じた電圧である。
The
ラベル60が貼付された台紙50が搬送方向A1に搬送される搬送路において、台紙50の上方側には、第4ローラ74と、発光部10と、印刷部90と、が設けられる。また、印刷部90の下方には、台紙50を隔てて第2ローラ72が設けられる。また、発光部10の下方には、台紙50とスリット状ベルト80とを隔てて受光部20が設けられる。また、受光部20には、信号処理部30が接続される。また、信号処理部30には報知部31が設けられる。
In the transport path where the
第4ローラ74は、台紙50の上方から台紙50を押さえて、ラベル60の上方の印刷面を水平に保つローラである。
The
発光部10は、図3に示すように、発光ダイオード101と、抵抗102と、を備える。
As shown in FIG. 3, the
発光ダイオード101のカソードは、グラウンドGNDに接続される。発光ダイオード101のアノードは、抵抗102の第1端子に接続される。抵抗102の第2端子は、電源端子VDD1に接続される。抵抗102は、発光ダイオード101に過電流が流れないように電流を制限する抵抗である。ここで、電源端子VDD1は、発光ダイオード101がある一定の光量で発光するように決定された一定の電圧を出力する端子である。
The cathode of the
発光ダイオード101及び抵抗102がこのように接続された場合、発光ダイオード101は、電源端子VDD1が出力する一定の電圧に応じた一定の電流を流す。発光ダイオード101は、一定の電流が流れる間、その電流の大きさに応じた一定の光量の光を台紙50及びラベル60に照射する。この光は、ラベル60の端部を特定するための光であって第1ローラ71の回転速度を特定するための照射光である。なお、ラベル60の端部とは、台紙50とラベル60との境目のことである。
When the
第2ローラ72は、図示されていない駆動装置(例えば、モータなど)によって一定の回転速度で回転する。第2ローラ72が一定の回転速度で回転すると、第2ローラ72と台紙50との間に発生する摩擦力によって、台紙50が搬送方向A1に引き出されると、第1ローラ71に巻き付けられたロール紙40から台紙50が送り出されて第1ローラ71が回転する。第1ローラ71が回転すると、スリット状ベルト80が巻回されている第3ローラ73が回転する。
したがって、第2ローラ72が回転している間、ロール紙40から台紙50が送り出され、台紙50に貼付されたラベル60が送方向A1に搬送されると、第1ローラ71に巻き付けられたロール紙40の半径は小さくなる。その結果、第2ローラ72が一定の回転速度で回転し、台紙50が搬送方向A1に搬送されるにつれて、第1ローラ71の回転速度は速くなる。そのため、第1ローラ71の回転速度が速くなると、スリット状ベルト80の回転速度と第3ローラ73の回転速度が速くなる。このとき、スリット状ベルト80は、図1及び図3に示すように、発光部10と受光部20との間を台紙50に並行して通過して搬送方向A1に搬送される。
なお、第1ローラ71、第3ローラ73及び第4ローラ74のそれぞれは、第2ローラ72が駆動装置によって一定の回転速度で回転して、初めて回転するロータである。
The
Therefore, while the
Each of the
印刷部90は、台紙50に貼付されたラベル60が印刷部90の位置まで搬送されると、所定の印刷を施す。
When the
受光部20は、図3に示すように、フォトトランジスタ201(光検出部)と、抵抗202と、を備える。
As shown in FIG. 3, the
フォトトランジスタ201のエミッタは、グラウンドGNDに接続される。フォトトランジスタ201のコレクタは、抵抗202の第1端子に接続される。抵抗202の第2端子は、電源端子VDD2に接続される。なお、抵抗202の抵抗値と電源端子VDD2が出力する電圧の電圧値は、フォトトランジスタ201が受光した光の光量に応じて流す電流量が変化するように(例えば、フォトトランジスタ201が線形領域で動作するように)決定される。
The emitter of the
フォトトランジスタ201及び抵抗202がこのように接続された場合、フォトトランジスタ201は、光を受光している間、その光量に応じた電流を流す。具体的には、フォトトランジスタ201は、発光ダイオード101が発光する光のうち、台紙50、ラベル60及びスリット状ベルト80を透過する透過光を受光し、その受光した光の光量に応じた電流を流す。このとき、フォトトランジスタ201のコレクタの電圧Vout1は、抵抗202の抵抗値にフォトトランジスタ201に流れる電流の電流値を乗算して算出した電圧を、電源端子VDD2の電圧から減算した電圧となる。
When the
信号処理部30は、ラベル60の端部を特定するとともに第1ローラ71の回転速度を特定する。信号処理部30は、図3に示すように、第1コンパレータ301(端部特定部)と、第2コンパレータ302と、周波数カウンタ303(回転速度特定部)と、ニアエンド判定部304(終端領域判定部)と、を備える。
The
第1コンパレータ301は、ラベル60の端部を特定するためのコンパレータである。第1コンパレータ301は、基準電圧VREF1を受ける。また、第1コンパレータ301は、フォトトランジスタ201の第2端子における電圧Vout1を受ける。
第1コンパレータ301は、電圧Vout1と基準電圧VREF1とを比較する。第1コンパレータ301は、その比較結果に応じた電圧VS1を出力する。
具体的には、例えば、第1コンパレータ301は、図4の(a)の部分に示すように、比較結果が電圧Vout1が基準電圧VREF1よりも高いことを示す場合、Highレベルを示す電圧VS1を出力する。また、例えば、第1コンパレータ301は、図4の(a)の部分に示すように、比較結果が電圧Vout1が基準電圧VREF1よりも低いことを示す場合、Lowレベルを示す電圧VS1を出力する。なお、第1コンパレータ301は、電圧Vout1と基準電圧VREF1とが同一の電圧である場合、理想的な動作を仮定するとLowレベルとHighレベルとの間のレベルを示す電圧VS1を出力する。しかしながら、実際の第1コンパレータ301は、内部回路の非対称性やノイズなどによって、Lowレベル及びHighレベルのいずれか一方のレベルを示す電圧VS1を出力する。
The
The
Specifically, for example, when the comparison result shows that the voltage Vout1 is higher than the reference voltage VREF1, as shown in the part (a) of FIG. 4, the
第2コンパレータ302は、ロール紙40のニアエンドを検出するためのコンパレータである。第2コンパレータ302は、基準電圧VREF2を受ける。また、第2コンパレータ302は、フォトトランジスタ201の第2端子における電圧Vout1を受ける。
第2コンパレータ302は、電圧Vout1と基準電圧VREF2とを比較する。第2コンパレータ302は、その比較結果に応じた電圧VS2を出力する。
具体的には、例えば、第2コンパレータ302は、図4の(a)の部分に示すように、比較結果が電圧Vout1が基準電圧VREF2よりも高いことを示す場合、Highレベルを示す電圧VS2を出力する。また、例えば、第2コンパレータ302は、図4の(a)の部分に示すように、比較結果が電圧Vout1が基準電圧VREF2よりも低いことを示す場合、Lowレベルを示す電圧VS2を出力する。なお、第2コンパレータ302は、電圧Vout1と基準電圧VREF2とが同一の電圧である場合、理想的な動作を仮定するとLowレベルとHighレベルとの間のレベルを示す電圧VS2を出力する。しかしながら、実際の第2コンパレータ302は、内部回路の非対称性やノイズなどによって、Lowレベル及びHighレベルのいずれか一方のレベルを示す電圧VS2を出力する。
The
The
Specifically, for example, the
周波数カウンタ303は、第1コンパレータ301から電圧VS1を取得する。また、周波数カウンタ303は、第2コンパレータ302から電圧VS2を取得する。周波数カウンタ303は、取得した電圧VS1と電圧VS2とに基づいて、第1ローラ71の回転速度を特定する。
具体的には、周波数カウンタ303は、電圧VS1がラベル60が存在しないことを示す期間において、電圧VS2の単位時間当たりの立ち上がり及び立ち下がりをカウントして電圧VS2の周波数を特定する。電圧VS2の単位時間当たりの立ち上がり及び立ち下がりのカウント数は、第1ローラ71の回転速度が高速になるにつれて増加し、カウント数と第1ローラ71の回転速度とは一対一で対応する。したがって、周波数カウンタ303が電圧VS2の周波数を特定することは、第1ローラ71の回転速度を特定することと等価である。
なお、電圧VS1がラベル60が存在しないことを示す期間とは、例えば、図4の(b)の部分における電圧VS1がLowレベルを示す期間である。図4に示す電圧波形についての詳細な説明は、後述する。
The
Specifically, the
The period in which the voltage VS1 indicates that the
ニアエンド判定部304は、周波数カウンタ303が特定した第1ローラ71の回転速度に基づいて、ロール紙40のニアエンドであるか否かを判定する。
具体的には、ニアエンド判定部304は、周波数カウンタ303が特定した電圧VS2の周波数(すなわち、第1ローラ71の回転速度と等価)と、ニアエンドであるか否かを判定するために予め定めた周波数のしきい値(すなわち、回転速度のしきい値と等価)とを比較する。そして、ニアエンド判定部304は、例えば、電圧VS2の周波数が周波数のしきい値を超える場合、ロール紙40のニアエンドである、すなわち、間もなくロール紙40を交換する時期となると判定する。また、ニアエンド判定部304は、例えば、電圧VS2の周波数が周波数のしきい値以下である場合、ロール紙40のニアエンドではない、すなわち、まだロール紙40を交換する必要はないと判定する。
ニアエンド判定部304は、ロール紙40のニアエンドであるか否かの判定結果を報知部31に出力する。
The near-
Specifically, the near-
The near-
報知部31は、ニアエンド判定部304からロール紙40のニアエンドであるか否かの判定結果を受け取る。報知部31は、受け取った判定結果に基づいて、ユーザにロール紙40を交換する必要の有無を報知する。
具体的には、報知部31は、受け取った判定結果がロール紙40のニアエンドであることを示す結果である場合、「ロール紙を交換する時期が近づいている」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知する。また、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、特に何も報知しない。なお、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、「ロール紙40を交換する必要はない」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知してもよい。
The
Specifically, when the received determination result is a result indicating that the
なお、発光部10、受光部20及び印刷部90のそれぞれは、予め定められた固定の位置に設けられる。また、上述のように、第2ローラ72は、一定の回転速度で回転し、台紙50に貼付されたラベル60を搬送方向A1に搬送する。そのため、ラベル60の端部が特定されると、受光部20(発光部10)とラベル60との位置関係が特定される。したがって、ラベル60と印刷部90との位置関係を特定することができ、第2ローラ72の回転速度を用いて、ラベル60が印刷部90の位置まで搬送されるタイミングを予測することができる。
Each of the
次に、図4に示す電圧波形について説明する。
なお、第2ローラ72は、一定の回転速度で回転しているものとする。また、発光ダイオード101は、一定の光量で発光しているものとする。
Next, the voltage waveform shown in FIG. 4 will be described.
It is assumed that the
第2ローラ72が一定の回転速度で回転すると、発光部10と受光部20との間には、搬送されている物体(すなわち、台紙50、ラベル60及びスリット状ベルト80)の組み合わせによって4つの状態が存在する。
When the
第1の状態は、台紙50にラベル60が設けられた状態で、かつ、スリット状ベルト80のスリットSLが存在しない状態である。この第1の状態は、発光部10が放出する光が、ラベル60、台紙50及びスリット状ベルト80の3つによって遮られる状態である。そのため、第1の状態は、4つの状態の中で、発光部10が放出する光が受光部20に最も届き難い、すなわち、受光部20が受光する光量が最も少ない状態である。したがって、第1の状態においてフォトトランジスタ201が流す電流は4つの状態の中で最も少なく、受光部20の電圧Vout1は図4の(a)の部分に示す最も高い電圧V1となる。
The first state is a state in which the
第2の状態は、台紙50にラベル60が設けられた状態で、かつ、スリット状ベルト80のスリットSLが存在する状態である。この第2の状態は、発光部10が放出する光が、台紙50及びラベル60の2つによって遮られる状態である。そのため、第2の状態は、4つの状態の中で、発光部10が放出する光が受光部20に2番目に届き難い、すなわち、受光部20が受光する光量が2番目に少ない状態である。なお、ラベル60は光をほぼ100%遮断する。したがって、第2の状態においてフォトトランジスタ201が流す電流は第1の状態においてフォトトランジスタ201が流す電流とほぼ同様であり、受光部20の電圧Vout1は図4の(a)の部分に示す電圧V1となる。
The second state is a state in which the
第3の状態は、台紙50にラベル60が存在しない状態で、かつ、スリット状ベルト80のスリットSLが存在する状態である。この第3の状態は、発光部10が放出する光が、台紙50のみによって遮られる状態である。そのため、第3の状態は、4つの状態の中で、発光部10が放出する光が受光部20に最も届き易い、すなわち、受光部20が受光する光量が最も多い状態である。したがって、第3の状態においてフォトトランジスタ201が流す電流は4つの状態の中で最も多く、受光部20の電圧Vout1は図4の(a)の部分に示す最も低い電圧V3となる。
The third state is a state in which the
第4の状態は、台紙50にラベル60が存在しない状態で、かつ、スリット状ベルト80のスリットSLが存在しない状態である。この第4の状態は、発光部10が放出する光が、台紙50及びスリット状ベルト80の2つによって遮られる状態である。そのため、第4の状態は、4つの状態の中で、発光部10が放出する光が受光部20に3番目に届き難い、すなわち、受光部20が受光する光量が3番目に少ない状態である。したがって、第4の状態においてフォトトランジスタ201が流す電流は第1の状態及び第2の状態においてフォトトランジスタ201が流す電流よりも多く、第3の状態においてフォトトランジスタ201が流す電流よりも少ない。その結果、第4の状態における受光部20の電圧Vout1は図4の(a)の部分に示す電圧V1と電圧V3との間の電圧V2となる。
The fourth state is a state in which the
上述の第1から第4までの状態から、台紙50にラベル60が設けられた状態では、電圧Vouot1は電圧V1となることがわかる。また、台紙50にラベル60が存在しない状態では、電圧Vout1は電圧V2または電圧V3となることがわかる。
したがって、第1コンパレータ301が受ける基準電圧VREF1を電圧V1と電圧V2との間の電圧とする。第1コンパレータ301は、受けた基準電圧VREF1と受けた電圧Vout1とを比較する。第1コンパレータ301は、電圧Vout1が基準電圧VREF1を超える場合、台紙50にラベル60が設けられた状態であると判定する。また、第1コンパレータ301は、電圧Vout1が基準電圧VREF1未満である場合、台紙50にラベル60が存在しない状態と判定する。
こうすることで、第1コンパレータ301は、台紙50にラベル60が設けられた状態であるか否かを判定することができる。すなわち、第1コンパレータ301は、台紙50にラベル60が設けられている状態から台紙50にラベル60が設けられていない状態へ判定が変化したとき、または、台紙50にラベル60が設けられていない状態から台紙50にラベル60が設けられている状態へ判定が変化したときの受光部20の上方の台紙50の位置をラベル60の端部と判定することができる。
なお、図4の(b)の部分における電圧VS1の波形は、電圧Vout1が基準電圧VREF1を超える場合(すなわち、台紙50にラベル60が設けられた状態であると判定された場合)に第1コンパレータ301がHighレベルの電圧VS1を出力し、電圧Vout1が基準電圧VREF1未満である場合(すなわち、台紙50にラベル60が存在しない状態であると判定された場合)に第1コンパレータ301がLowレベルの電圧VS1を出力する波形の例である。
From the first to fourth states described above, it can be seen that the voltage Boot1 becomes the voltage V1 in the state where the
Therefore, the reference voltage VREF1 received by the
By doing so, the
The waveform of the voltage VS1 in the portion (b) of FIG. 4 is the first when the voltage Vout1 exceeds the reference voltage VREF1 (that is, when it is determined that the
また、上述の第1から第4までの状態から、台紙50にラベル60が存在しない状態において、スリット状ベルト80のスリットSLが存在しない状態では、電圧Vout1は電圧V2となることがわかる。また、台紙50にラベル60が存在しない状態において、スリット状ベルト80のスリットSLが存在する状態では、電圧Vout1は電圧V3となることがわかる。
したがって、第2コンパレータ302が受ける基準電圧VREF2を電圧V2と電圧V3との間の電圧とする。第2コンパレータ302は、受けた基準電圧VREF2と受けた電圧Vout1とを比較する。第2コンパレータ302は、台紙50にラベル60が存在しない状態(図4に示す例では電圧VS1がLowレベルの期間)において、電圧Vout1が基準電圧VREF2を超える場合、スリット状ベルト80のスリットSLが存在する状態であることを示す。また、第2コンパレータ302は、台紙50にラベル60が存在しない状態(図4に示す例では電圧VS1がLowレベルの期間)において、電圧Vout1が基準電圧VREF2未満である場合、スリット状ベルト80のスリットSLが存在する状態であることを示す。
こうすることで、第2コンパレータ302は、台紙50にラベル60が存在しない状態において、スリット状ベルト80のスリットSLが存在する状態であるか否かを判定することができる。
なお、図4の(c)の部分における電圧VS2の波形は、電圧Vout1が基準電圧VREF2を超える場合(すなわち、台紙50にラベル60が存在しない状態においては、スリット状ベルト80のスリットSLが存在すると判定された場合)に第2コンパレータ302がHighレベルの電圧VS2を出力し、電圧Vout1が基準電圧VREF2未満である場合(すなわち、台紙50にラベル60が存在しない状態においては、スリット状ベルト80のスリットSLが存在しない状態であると判定された場合)に第2コンパレータ302がLowレベルの電圧VS2を出力する波形の例である。
Further, from the first to fourth states described above, it can be seen that the voltage Vout1 becomes the voltage V2 in the state where the
Therefore, the reference voltage VREF2 received by the
By doing so, the
The waveform of the voltage VS2 in the portion (c) of FIG. 4 shows that the slit SL of the slit-shaped
上述したように、第2ローラ72が一定の回転速度で台紙50を搬送方向A1に搬送するにつれて、第1ローラ71の回転速度は速くなる。第1ローラ71の回転速度が速くなると、スリット状ベルト80の回転速度と第3ローラ73の回転速度が速くなる。そのため、第2ローラ72が一定の回転速度で台紙50を搬送方向A1に搬送するにつれて、図4に示す電圧波形は、時間軸方向に短くなる。すなわち、第2ローラ72が一定の回転速度で台紙50を搬送方向A1に搬送するにつれて、電圧VS1がLowレベルである期間(すなわち、台紙50にラベル60が存在しない状態)において、電圧VS2の変化する周期T1、その周期T1におけるLowレベルの期間t1、その周期T1におけるHighレベルの期間t2のそれぞれが短くなる。
したがって、周波数カウンタ303は、電圧VS1がLowレベルである期間において、電圧VS2の周波数を特定することで、電圧VS2の変化する周期T1、その周期T1におけるLowレベルの期間t1、及び、その周期T1におけるHighレベルの期間t2を検出することができる。ニアエンド判定部304は、周波数カウンタ303が検出した電圧VS2の周波数が所定のしきい値を超えたか否かを判定する。そして、ニアエンド判定部304は、電圧VS2の周波数が所定のしきい値を超えたと判定した場合、ロール紙40のニアエンドであると判定する。また、ニアエンド判定部304は、電圧VS2の周波数が所定のしきい値以下であると判定した場合、ロール紙40のニアエンドではないと判定する。
こうすることで、ニアエンド判定部304は、ロール紙40のニアエンドを判定することができる。
As described above, as the
Therefore, the
By doing so, the near-
次に、本発明の第1の実施形態によるラベルプリンタ1の処理について説明する。
ここでは、図5に示すラベルプリンタ1の処理フローについて説明する。
なお、第2ローラ72は、一定の回転速度で回転しているものとする。また、発光部10は、一定の光量で光を放出しているものとする。
Next, the processing of the
Here, the processing flow of the
It is assumed that the
第2ローラ72が一定の回転速度で回転すると、台紙50は、搬送方向A1に搬送される。台紙50は、発光部10と受光部20との間を通過する。そのため、発光部10と受光部20との間には、搬送されている物体(すなわち、台紙50、ラベル60及びスリット状ベルト80)の組み合わせによって4つの状態が存在する。受光部20が受光する光量は、この4つの状態によって異なる。受光部20は、受光した光の光量に応じた電圧Vout1を生成する(ステップS1)。そのため、受光部20は、4つの状態に応じた電圧Vout1を第1コンパレータ301及び第2コンパレータ302に出力する。
When the
第1コンパレータ301は、受光部20から電圧Vout1を受ける。また、第1コンパレータ301は、基準電圧VREF1を受ける。例えば、受光部20が出力する電圧Vout1が図4の(a)の部分に示した波形である場合、基準電圧VREF1は、電圧V1と電圧V2との間の電圧に設定されている。
第1コンパレータ301は、受けた電圧Vout1と受けた基準電圧VREF1とに基づいて、台紙50にラベル60が存在しない状態であるか否かを判定する(ステップS2)。
具体的には、第1コンパレータ301は、受けた基準電圧VREF1と電圧Vout1とを比較する。そして、例えば、受光部20が出力する電圧Vout1が図4の(a)の部分に示した波形である場合、第1コンパレータ301は、電圧Vout1が基準電圧VREF1を超える場合(すなわち、台紙50にラベル60が設けられた状態であると判定した場合)にHighレベルの電圧VS1を出力する。また、第1コンパレータ301は、電圧Vout1が基準電圧VREF1未満である場合(すなわち、台紙50にラベル60が存在しない状態であると判定した場合)にLowレベルの電圧VS1を出力する。
第1コンパレータ301は、台紙50にラベル60が存在しない状態であるか否かの判定結果を示す電圧VS1を周波数カウンタ303に出力する。
The
The
Specifically, the
The
第2コンパレータ302は、受光部20から電圧Vout1を受ける。また、第2コンパレータ302は、基準電圧VREF2を受ける。例えば、受光部20が出力する電圧Vout1が図4の(a)の部分に示した波形である場合、基準電圧VREF2は、電圧V2と電圧V3との間の電圧に設定されている。
第2コンパレータ302は、受けた電圧Vout1と受けた基準電圧VREF2との比較結果に基づいて、電圧VS2を生成する(ステップS3)。
具体的には、例えば、受光部20が出力する電圧Vout1が図4の(a)の部分に示した波形である場合、第2コンパレータ302は、電圧Vout1が基準電圧VREF2を超える場合にHighレベルの電圧VS2を出力する。また、第2コンパレータ302は、電圧Vout1が基準電圧VREF2未満である場合にLowレベルの電圧VS2を出力する。
第2コンパレータ302は、生成した電圧VS2を周波数カウンタ303に出力する。
なお、第2コンパレータ302が行うステップS3の処理は、第1コンパレータ301が行うステップS2の処理と並行して行われる。
The
The
Specifically, for example, when the voltage Vout1 output by the
The
The process of step S3 performed by the
周波数カウンタ303は、第1コンパレータ301から電圧VS1を受ける。また、周波数カウンタ303は、第2コンパレータ302から電圧VS2を受ける。
周波数カウンタ303は、受けた電圧VS1と受けた電圧VS2とに基づいて、台紙50にラベル60が存在しない状態において、電圧VS2の周波数f1を特定する(ステップS4)。
具体的には、周波数カウンタ303が第1コンパレータ301から受ける電圧VS1が、例えば、図4の(a)の部分に示した波形である場合、第1コンパレータ301が生成した電圧VS1がLowレベルである期間は、台紙50にラベル60が存在しない状態を示す。また、台紙50にラベル60が存在しない状態において第2コンパレータ302が生成した電圧VS2は、スリット状ベルト80のスリットSLが存在するか否かを示す。そのため、周波数カウンタ303は、電圧VS1がLowレベルである期間において、第2コンパレータ302から受けた電圧VS2の単位時間当たりのLowレベルとHighレベルとの間の遷移回数をカウントする。
周波数カウンタ303は、特定した電圧VS2の周波数をニアエンド判定部304に出力する。
なお、周波数カウンタ303が行うステップS4の処理は、第1コンパレータ301が行うステップS2の処理、及び、第2コンパレータ302が行うステップS3の処理と並行して行われる。周波数カウンタ303がステップS4の処理で特定した電圧VS2の周波数の逆数は、図4の(c)の部分に示した周期T1に相当する。
また、周波数カウンタ303の代わりに、例えば、ユニバーサルカウンタを用いてもよい。ユニバーサルカウンタは、パルスの立ち上がりから立ち下がりまでの時間幅を計測することができる。そのため、ユニバーサルカウンタを用いた場合には、図4の(c)の部分に示した時間t1と時間t2とを特定することができる。
The
The
Specifically, when the voltage VS1 received by the
The
The process of step S4 performed by the
Further, instead of the
ニアエンド判定部304は、周波数カウンタ303から周波数f1を受ける。ニアエンド判定部304は、受けた周波数f1とニアエンドであるか否かを判定するために予め定めた周波数のしきい値とに基づいて、ロール紙40のニアエンドを判定する。
具体的には、ニアエンド判定部304は、受けた周波数f1とニアエンドであるか否かを判定するために予め定めた周波数のしきい値とを比較し、周波数f1がそのしきい値を超えているか否かを判定する(ステップS5)。
ニアエンド判定部304は、周波数f1がしきい値を超えていると判定した場合(ステップS5においてYES)、ロール紙40のニアエンドである、すなわち、間もなくロール紙40を交換する時期となると判定する(ステップS6)。
また、ニアエンド判定部304は、周波数f1が周波数のしきい値以下であると判定した場合、ロール紙40のニアエンドではない、すなわち、まだロール紙40を交換する必要はないと判定する。そして、ニアエンド判定部304は、ステップS2の処理に戻す。
なお、ニアエンドであるか否かを判定するために予め定めた周波数のしきい値は、シミュレーションや実験などにより決定すればよい。
ニアエンド判定部304は、ロール紙40のニアエンドであるか否かの判定結果を報知部31に出力する。
The near-
Specifically, the near-
When the near-
Further, when the near-
It should be noted that a predetermined frequency threshold value for determining whether or not it is near-end may be determined by simulation, experiment, or the like.
The near-
報知部31は、ニアエンド判定部304からロール紙40のニアエンドであるか否かの判定結果を受け取る。報知部31は、受け取った判定結果に基づいて、ユーザにロール紙40を交換する必要の有無を報知する(ステップS7)。
具体的には、報知部31は、受け取った判定結果がロール紙40のニアエンドであることを示す結果である場合、「ロール紙を交換する時期が近づいている」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知する。また、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、特に何も報知しない。なお、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、「ロール紙40を交換する必要はない」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知するものであってもよい。
The
Specifically, when the received determination result is a result indicating that the
以上、本発明の第1の実施形態によるラベルプリンタ1について説明した。
本発明の第1の実施形態によるラベルプリンタ1は、第2ローラ72(搬送部)と、フォトトランジスタ201(光検出部)と、周波数カウンタ303(回転速度特定部)と、ニアエンド判定部304(終端領域判定部)と、を備える。第2ローラ72は、台紙50にラベル60が複数間隔を隔てて設けられたロール紙40を搬送方向A1に搬送する。フォトトランジスタ201は、ラベル60の端部を特定するための光とともにロール紙40の巻き付けられた第1ローラ71(芯部)の回転速度を特定するための光を検出する。周波数カウンタ303は、フォトトランジスタ201が検出したロール紙40の巻き付けられた第1ローラ71の回転速度を特定するための光に基づいて回転速度を特定する。ニアエンド判定部304は、周波数カウンタ303が特定した第1ローラ71の回転速度に基づいて第1ローラ71における巻き付け終端領域を判定する。
このようにすれば、ラベルプリンタ1は、1つのフォトトランジスタ201が受光した光量に基づいて、ラベル60の端部を特定することができると共に、ロール紙40のニアエンドを判定することができる。
The
The
In this way, the
<第2の実施形態>
本発明の第2の実施形態によるラベルプリンタ1について説明する。
本発明の第2の実施形態によるラベルプリンタ1は、ロール紙のニアエンドを検出し、ユーザに対して間もなくロール紙が無くなることを事前に通知する機能を有する。ラベルプリンタ1は、図6に示すように、発光部10と、受光部20(光検出部)と、信号処理部30と、ロール紙40と、台紙50と、ラベル60と、第1ローラ71(芯部)と、第2ローラ72(搬送部)と、第4ローラ74と、回転変換機構81と、スリット状円盤82と、回転軸83と、印刷部90と、を備える。
なお、図6において符号A1で示す矢印は、ラベルL1が搬送される搬送方向を示している。
<Second embodiment>
The
The
The arrow indicated by the reference numeral A1 in FIG. 6 indicates the transport direction in which the label L1 is transported.
回転変換機構81は、回転軸の方向を変える機構である。回転変換機構81は、例えば、複数の歯車を組み合わせて実現される。本発明の第2の実施形態による回転変換機構81は、第1ローラ71の回転軸をスリット状円盤82の回転軸に変換する機構である。
The
スリット状円盤82は、図7に示すように、回転軸83を中心に円周方向に間隔をあけて放射状の複数のスリットSLを設ける。複数のスリットSLのそれぞれは、例えば、三角形の形状を有する。スリット状円盤82の盤面は、台紙50に平行である。スリット状円盤82は、第1ローラ71が回転すると、回転変換機構81によって変換された回転軸83を中心に回転する。
As shown in FIG. 7, the slit-shaped
なお、本発明の第2の実施形態によるラベルプリンタ1は、本発明の第1の実施形態によるラベルプリンタ1において第1ローラ71の回転に連動して回転するスリット状ベルト80を、第1ローラ71の回転に連動して回転するスリット状円盤82に置き換えたものである。そのため、本発明の第2の実施形態によるラベルプリンタ1は、本発明の第1の実施形態と同様に、第1から第4の状態が存在する。したがって、本発明の第2の実施形態による受光部20が生成するVout1は、本発明の第1の実施形態による受光部20が生成するVout1と同様になる。本発明の第2の実施形態によるラベルプリンタ1の処理は、本発明の第1の実施形態によるラベルプリンタ1の処理と同様に考えることができる。
The
以上、本発明の第2の実施形態によるラベルプリンタ1について説明した。
本発明の第2の実施形態によるラベルプリンタ1は、第2ローラ72(搬送部)と、フォトトランジスタ201(光検出部)と、周波数カウンタ303(回転速度特定部)と、ニアエンド判定部304(終端領域判定部)と、を備える。第2ローラ72は、台紙50にラベル60が複数間隔を隔てて設けられたロール紙40を搬送方向A1に搬送する。フォトトランジスタ201は、ラベル60の端部を特定するための光とともにロール紙40の巻き付けられた第1ローラ71(芯部)の回転速度を特定するための光を検出する。周波数カウンタ303は、フォトトランジスタ201が検出したロール紙40の巻き付けられた第1ローラ71の回転速度を特定するための光に基づいて回転速度を特定する。ニアエンド判定部304は、周波数カウンタ303が特定した第1ローラ71の回転速度に基づいて第1ローラ71における巻き付け終端領域を判定する。
このようにすれば、ラベルプリンタ1は、1つのフォトトランジスタ201が受光した光量に基づいて、ラベル60の端部を特定することができると共に、ロール紙40のニアエンドを判定することができる。
The
The
In this way, the
本発明の実施形態による最小構成のラベルプリンタ1について説明する。
本発明の実施形態による最小構成のラベルプリンタ1は、図8に示すように、第2ローラ72(搬送部)と、フォトトランジスタ201(光検出部)と、周波数カウンタ303(回転速度特定部)と、ニアエンド判定部304(終端領域判定部)と、を備える。
The
As shown in FIG. 8, the
第2ローラ72は、台紙にラベルが複数間隔を隔てて設けられたロール紙を搬送方向に搬送する。
The
フォトトランジスタ201は、ラベルの端部を特定するための光とともにロール紙の巻き付けられた第1ローラ(芯部)の回転速度を特定するための光を検出する。
The
周波数カウンタ303は、フォトトランジスタ201が検出したロール紙の巻き付けられた第1ローラの回転速度を特定するための光に基づいて回転速度を特定する。
The
ニアエンド判定部304は、周波数カウンタ303が特定した第1ローラの回転速度に基づいてロール紙のニアエンド(第1ローラにおける巻き付け終端領域)を判定する。
The near-
このようにすれば、ラベルプリンタ1は、1つのフォトトランジスタ201(光検出部)が受光した光量に基づいて、ラベルの端部を特定することができると共に、ロール紙のニアエンドを判定することができる。
In this way, the
なお、スリット状ベルト80は、第1ローラ(芯部)の代わりに、第1ローラの回転速度を複数の歯車のギヤ比によって別の回転速度(例えば、第1ローラの回転速度よりも速い回転速度)に変換された別の芯部に巻回されてもよい。スリット状ベルト80が第1ローラの回転速度よりも速い回転速度の芯部に巻回された場合、スリット状ベルト80は、その芯部と第3ローラ73との間で台紙50よりも高速に回転する。その結果、複数のスリットSLは、隣り合うラベル60どうしの間隔に比べて充分に短い間隔に設けられた場合と同様に、ラベル60の端部間の検出周期よりも短い検出周期で検出可能となる。
In the slit-shaped
なお、本発明の各実施形態では、受光部20は、発光部10が放出した光が物体(すなわち、台紙50、ラベル60及びスリット状ベルト80、または、台紙50、ラベル60及びスリット状円盤82)の組み合わせによって決定される4つの状態における透過光を受光するものとして説明した。しかしながら、受光部20は、発光部10が放出した光の反射光を用いるものであってもよい。
例えば、ロール紙40は、照射された光の大部分(例えば、90%)を透過させるものとする。ラベル60は、光を透過させず印刷可能な表面となる材料とする。また、スリット状ベルト80(または、スリット状円盤82)のスリットの部分は、光を透過させずかつラベル60の表面よりも反射率が高い材料で埋める。また、スリット状ベルト80(または、スリット状円盤82)のスリット以外の部分は、光を透過させずかつラベル60の表面よりも反射率が高く、スリットを埋めた材料よりも反射率が低い材料で加工する。また、ラベル60で反射した光をミラーなどで反射させながら受光部20にその光を照射させる光経路と、スリット状ベルト80(または、スリット状円盤82)で反射した光をミラーなどで反射させながら受光部20にその光を照射させる光経路とを設ける。
このようにすれば、各光経路における光の損失によって反射率の順番による光量の順番が変わらない範囲において、受光部20では、スリット状ベルト80(または、スリット状円盤82)のスリットを埋めた材料で反射した光の光量が最も多く、ラベル60で反射した光の光量が最も少なく、スリット状ベルト80(または、スリット状円盤82)のスリット以外の加工された材料で反射した光の光量は、それらの間となる。つまり、各光経路における光の損失によって反射率の順番による光量の順番が変わらない範囲において、受光部20が受光する光に基づいて生成する電圧Vout1は、図4の(a)の部分に示した電圧Vout1と同様になる。したがって、本発明の別の実施形態によるラベルプリンタ1が反射光を用いた場合であっても、1つのフォトトランジスタ201(光検出部)が受光した光量に基づいて、ラベルの端部を特定することができると共に、ロール紙40のニアエンドを判定することができる。
In each embodiment of the present invention, in the
For example, the
By doing so, the slit of the slit-shaped belt 80 (or the slit-shaped disk 82) is filled in the
なお、本発明の実施形態における処理フローは、適切な処理が行われる範囲において、処理の順番が入れ替わってもよい。 In the processing flow according to the embodiment of the present invention, the order of processing may be changed as long as appropriate processing is performed.
本発明の実施形態における記憶部のそれぞれは、適切な情報の送受信が行われる範囲においてどこに備えられていてもよい。また、記憶部のそれぞれは、適切な情報の送受信が行われる範囲において複数存在しデータを分散して記憶していてもよい。 Each of the storage units in the embodiment of the present invention may be provided anywhere as long as appropriate information is transmitted and received. Further, each of the storage units may exist in a plurality of units within a range in which appropriate information is transmitted and received, and the data may be distributed and stored.
本発明の実施形態について説明したが、上述のラベルプリンタ1、その他の制御装置のそれぞれは内部に、コンピュータシステムを有していてもよい。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータがそのプログラムを実行するようにしてもよい。
Although the embodiment of the present invention has been described, each of the above-mentioned
また、上記プログラムは、前述した機能の一部を実現してもよい。さらに、上記プログラムは、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるファイル、いわゆる差分ファイル(差分プログラム)であってもよい。 Further, the above program may realize a part of the above-mentioned functions. Further, the program may be a file that can realize the above-mentioned functions in combination with a program already recorded in the computer system, that is, a so-called difference file (difference program).
図9は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。
コンピュータ5は、図9に示すように、CPU6、メインメモリ7、ストレージ8、インターフェース9を備える。
例えば、上述の信号処理部30及び報知部31のそれぞれは、コンピュータ5に実装される。そして、上述した各処理部の動作は、プログラムの形式でストレージ8に記憶されている。CPU6は、プログラムをストレージ8から読み出してメインメモリ7に展開し、当該プログラムに従って上記処理を実行する。また、CPU6は、プログラムに従って、上述した各記憶部に対応する記憶領域をメインメモリ7に確保する。
FIG. 9 is a schematic block diagram showing the configuration of a computer according to at least one embodiment.
As shown in FIG. 9, the
For example, each of the above-mentioned
ストレージ8の例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、磁気ディスク、光磁気ディスク、CD−ROM(Compact Disc Read Only Memory)、DVD−ROM(Digital Versatile Disc Read Only Memory)、半導体メモリ等が挙げられる。ストレージ8は、コンピュータ5のバスに直接接続された内部メディアであってもよいし、インターフェース9または通信回線を介してコンピュータ5に接続される外部メディアであってもよい。また、このプログラムが通信回線によってコンピュータ5に配信される場合、配信を受けたコンピュータ5が当該プログラムをメインメモリ7に展開し、上記処理を実行してもよい。少なくとも1つの実施形態において、ストレージ8は、一時的でない有形の記憶媒体である。
Examples of the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例であり、発明の範囲を限定しない。これらの実施形態は、発明の要旨を逸脱しない範囲で、追加、種々の省略、置き換え、変更を行ってよい。 Although some embodiments of the present invention have been described, these embodiments are examples and do not limit the scope of the invention. These embodiments may be added, omitted, replaced, or modified without departing from the gist of the invention.
1・・・ラベルプリンタ
5・・・コンピュータ
6・・・CPU
7・・・メインメモリ
8・・・ストレージ
9・・・インターフェース
10・・・発光部
20・・・受光部
30・・・信号処理部
31・・・報知部
40・・・ロール紙
50・・・台紙
60・・・ラベル
71・・・第1ローラ
72・・・第2ローラ
73・・・第3ローラ
74・・・第4ローラ
80・・・スリット状ベルト
81・・・回転変換機構
82・・・スリット状円盤
83・・・回転軸
90・・・印刷部
101・・・発光ダイオード
102、202・・・抵抗
201・・・フォトトランジスタ
301・・・第1コンパレータ
302・・・第2コンパレータ
303・・・周波数カウンタ
304・・・ニアエンド判定部
VDD・・・電源電圧
GND・・・グラウンド
1 ...
7 ...
Claims (7)
光を検出する光検出部と、
前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定する端部特定部と、
前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定する回転速度特定部と、
前記回転速度特定部が特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定する終端領域判定部と、
前記芯部と前記芯部から距離を隔てて設けられた回転体とに巻回され、前記台紙と並行して設けられるスリットであって、隣り合う前記ラベルの端部間の検出周期よりも短い検出周期で検出可能に設けられるスリット状ベルトと、
を備え、
前記光検出部は、
前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状ベルトの下方において検出する、
ラベルプリンタ。 A transport unit that transports the mount, which is a mount sent out from a roll paper wound around a core portion and has a plurality of labels provided at predetermined intervals, in a transport direction.
A photodetector that detects light and
An end specifying part that specifies each end of the plurality of labels based on the light detected by the light detecting part, and an end specifying part.
A rotation speed specifying unit that specifies the rotation speed of the core portion based on the light detected by the light detecting unit, and a rotation speed specifying unit.
A terminal region determination unit that determines the winding end region in the core portion based on the rotation speed specified by the rotation speed specification unit, and a terminal region determination unit.
A slit wound around the core portion and a rotating body provided at a distance from the core portion and provided in parallel with the mount, which is shorter than the detection cycle between the ends of the adjacent labels. A slit-shaped belt that can be detected in the detection cycle and
Equipped with a,
The photodetector
The light applied from above the roll paper toward the roll paper is detected below the slit-shaped belt.
Label printer.
光を検出する光検出部と、 A photodetector that detects light and
前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定する端部特定部と、 An end specifying part that specifies each end of the plurality of labels based on the light detected by the light detecting part, and an end specifying part.
前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定する回転速度特定部と、 A rotation speed specifying unit that specifies the rotation speed of the core portion based on the light detected by the light detecting unit, and a rotation speed specifying unit.
前記回転速度特定部が特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定する終端領域判定部と、 A terminal region determination unit that determines the winding end region in the core portion based on the rotation speed specified by the rotation speed specification unit, and a terminal region determination unit.
前記芯部の回転軸を別の回転軸に変換する回転変換機構と、 A rotation conversion mechanism that converts the rotation axis of the core to another rotation axis,
前記回転変換機構によって変換される変換後の回転軸を中心に回転する前記台紙に盤面が平行なスリット状円盤と、 A slit-shaped disk whose surface is parallel to the mount that rotates around the converted rotation axis converted by the rotation conversion mechanism.
を備え、 With
前記光検出部は、 The photodetector
前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出する、 The light applied from above the roll paper toward the roll paper is detected below the slit-shaped disk.
ラベルプリンタ。 Label printer.
請求項1または請求項2に記載のラベルプリンタ。 The light detected by the photodetector includes reflected light reflected by the label.
The label printer according to claim 1 or 2.
前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状ベルトの下方において検出することと、
前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、
前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、
特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、
を含むラベルプリンタの制御方法。 A transport unit that conveys the mount, which is a mount sent out from a roll paper wound around a core portion and has a plurality of labels provided at predetermined intervals in a transport direction, a light detection unit that detects light, and the core. A slit wound around a portion and a rotating body provided at a distance from the core portion and provided in parallel with the mount, and has a detection cycle shorter than the detection cycle between the ends of adjacent labels. It is a control method of a label printer provided with a slit-shaped belt provided so as to be detectable by.
The light detection unit detects the light applied to the roll paper from above the roll paper below the slit-shaped belt.
Identifying the end of each of the plurality of labels based on the light detected by the photodetector.
To specify the rotation speed of the core portion based on the light detected by the photodetector unit,
Determining the winding end region in the core based on the specified rotation speed,
How to control a label printer, including.
前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出することと、 The light detection unit detects the light applied to the roll paper from above the roll paper below the slit-shaped disk.
前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、 Identifying the end of each of the plurality of labels based on the light detected by the photodetector.
前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、 To specify the rotation speed of the core portion based on the light detected by the photodetector unit,
特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、 Determining the winding end region in the core based on the specified rotation speed,
を含むラベルプリンタの制御方法。 How to control a label printer, including.
前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、
前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、
特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、
を実行させるプログラム。 A transport unit that conveys the mount, which is a mount sent out from a roll paper wound around a core portion and has a plurality of labels provided at predetermined intervals in a transport direction, a light detection unit that detects light, and the core. A slit wound around a portion and a rotating body provided at a distance from the core portion and provided in parallel with the mount, and has a detection cycle shorter than the detection cycle between the ends of adjacent labels. label printer in comprising a slit-like belt is provided so as to be detected, and you detect the said light detecting section is devoted directed to the roll from the upper side of the roll paper light at the lower of the slit-shaped belt On the computer that contains
Identifying the end of each of the plurality of labels based on the light detected by the photodetector.
To specify the rotation speed of the core portion based on the light detected by the photodetector unit,
Determining the winding end region in the core based on the specified rotation speed,
A program that executes.
前記光検出部が検出する前記光に基づいて前記複数のラベルのそれぞれの端部を特定することと、 Identifying the end of each of the plurality of labels based on the light detected by the photodetector.
前記光検出部が検出した前記光に基づいて前記芯部の回転速度を特定することと、 To specify the rotation speed of the core portion based on the light detected by the photodetector unit,
特定した前記回転速度に基づいて前記芯部における巻き付け終端領域を判定することと、 Determining the winding end region in the core based on the specified rotation speed,
を実行させるプログラム。 A program that executes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017043638A JP6923247B2 (en) | 2017-03-08 | 2017-03-08 | Label printers, label printer control methods and programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017043638A JP6923247B2 (en) | 2017-03-08 | 2017-03-08 | Label printers, label printer control methods and programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018144415A JP2018144415A (en) | 2018-09-20 |
| JP6923247B2 true JP6923247B2 (en) | 2021-08-18 |
Family
ID=63590432
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017043638A Expired - Fee Related JP6923247B2 (en) | 2017-03-08 | 2017-03-08 | Label printers, label printer control methods and programs |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6923247B2 (en) |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6030382A (en) * | 1983-07-27 | 1985-02-15 | Katsuragawa Denki Kk | Roll paper remaining amount detection device |
| JP3436382B2 (en) * | 1993-03-26 | 2003-08-11 | 株式会社オートニクス | Roll paper supply device |
| JP3377624B2 (en) * | 1994-10-14 | 2003-02-17 | 桂川電機株式会社 | Roll paper remaining detector |
| JP2000289908A (en) * | 1999-03-31 | 2000-10-17 | Copyer Co Ltd | Image forming device |
| JP2003073001A (en) * | 2001-08-31 | 2003-03-12 | Sato Corp | Printing equipment |
| US6719167B2 (en) * | 2002-08-23 | 2004-04-13 | International Currency Technologies Corporation | Ticket roll detection arrangement for a ticket vending machine |
| JP4602868B2 (en) * | 2005-08-15 | 2010-12-22 | キヤノンファインテック株式会社 | Recording device |
| JP2012131165A (en) * | 2010-12-22 | 2012-07-12 | Sato Knowledge & Intellectual Property Institute | Thermal printer, and method for detecting label sheet in thermal printer |
| KR20130127875A (en) * | 2012-05-15 | 2013-11-25 | 주식회사 엘지씨엔에스 | Paper residual quantity sensing apparatus and financial device using the same |
| JP6220686B2 (en) * | 2014-01-31 | 2017-10-25 | 東芝テック株式会社 | Image forming apparatus |
-
2017
- 2017-03-08 JP JP2017043638A patent/JP6923247B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018144415A (en) | 2018-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9561675B2 (en) | Printing device, control method of a printing device, and a program | |
| CN106626847B (en) | Printing method and printer | |
| JP2018001703A (en) | Label printer and program | |
| US10421298B2 (en) | Printer and control method of a printer | |
| JP6923247B2 (en) | Label printers, label printer control methods and programs | |
| US20260008278A1 (en) | Printing apparatus, control method thereof, and non-transitory computer-readable storage medium | |
| JP2010253932A5 (en) | ||
| JP2011215028A (en) | Printer, method of determining light intensity and light reception sensitivity, and program | |
| US11066266B2 (en) | Cutting device, printer and method for detecting operation error | |
| JP6220686B2 (en) | Image forming apparatus | |
| CN110554589B (en) | Sheet discharge apparatus and image forming apparatus | |
| CN104349005A (en) | Image formation device and method for controlling the image formation device | |
| US10868924B2 (en) | Information processing apparatus and image forming apparatus | |
| US9721197B2 (en) | Control device and control method | |
| JP2013035616A (en) | Conveyance device, recording apparatus and control method | |
| JP5290221B2 (en) | Position detection apparatus and program | |
| JP6351555B2 (en) | Printing apparatus and computer program | |
| JP7319135B2 (en) | WIRELESS TAG WRITING DEVICE, CALIBRATION METHOD AND PROGRAM | |
| US10723146B2 (en) | Printing system reduced throughput mode | |
| CN113022151B (en) | Method for automatically identifying dpi of thermal printer core, printer and storage medium | |
| KR20220114900A (en) | Method for setting print density of printer using light sensor and printer for performing the same | |
| JP3638197B2 (en) | Printer device | |
| TWI246467B (en) | Automatic recognition system and its method of printer recording media | |
| JP4098481B2 (en) | Information code reading method and apparatus | |
| US20070036602A1 (en) | Apparatus and method for detecting the amount of ink ribbon used |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200207 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201020 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201104 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210104 |
|
| 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: 20210629 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210721 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6923247 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |