Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6923247B2 - Label printers, label printer control methods and programs - Google Patents
[go: Go Back, main page]

JP6923247B2 - Label printers, label printer control methods and programs - Google Patents

Label printers, label printer control methods and programs Download PDF

Info

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
Application number
JP2017043638A
Other languages
Japanese (ja)
Other versions
JP2018144415A (en
Inventor
康彦 小玉
康彦 小玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Embedded Products Ltd
Original Assignee
NEC Embedded Products Ltd
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 NEC Embedded Products Ltd filed Critical NEC Embedded Products Ltd
Priority to JP2017043638A priority Critical patent/JP6923247B2/en
Publication of JP2018144415A publication Critical patent/JP2018144415A/en
Application granted granted Critical
Publication of JP6923247B2 publication Critical patent/JP6923247B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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.
Patent Document 1 discloses, as a related technique, a technique for calculating the remaining amount of paper from the transport distance of the paper during printing processing.

特開2005−313496号公報Japanese Unexamined Patent Publication No. 2005-313496

ところで、台紙に貼付されたラベルに印刷するラベルプリンタには、ラベルの端部を検出し印刷位置を特定するためにフォトトランジスタを備えるものがある。このフォトトランジスタは、搬送されている台紙及びラベルに照射された光の透過光を受光する。台紙とラベルとでは、光の透過率が異なるため、台紙に光が照射される場合とラベルに光が照射される場合とでフォトトランジスタが受光する光の光量に差が生じる。ラベルプリンタは、フォトトランジスタが受光する光の光量の差を利用して台紙とラベルとを区別し、ラベルの端部を検出し印刷位置を特定している。ラベルプリンタで使用されるこのようなフォトトランジスタは、一般的に高価である。
そのため、ラベルの端部を検出するためのフォトトランジスタを備えるラベルプリンタにおいて、そのフォトトランジスタを利用してロール紙のニアエンドを判定することのできる技術が求められていた。
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の実施形態によるラベルプリンタの構成の一例を示す図である。It is a figure which shows an example of the structure of the label printer by 1st Embodiment of this invention. 本発明の第1の実施形態によるスリット状ベルトの構成の一例を示す図である。It is a figure which shows an example of the structure of the slit-shaped belt by 1st Embodiment of this invention. 本発明の第1の実施形態による発光部、受光部及び信号処理部の構成の一例を示す図である。It is a figure which shows an example of the structure of the light emitting part, the light receiving part and the signal processing part by 1st Embodiment of this invention. 本発明の第1の実施形態によるラベルプリンタにおける電圧波形の一例を示す図である。It is a figure which shows an example of the voltage waveform in the label printer by 1st Embodiment of this invention. 本発明の第1の実施形態によるラベルプリンタの処理フローを示す図である。It is a figure which shows the processing flow of the label printer by 1st Embodiment of this invention. 本発明の第2の実施形態によるラベルプリンタの構成の一例を示す図である。It is a figure which shows an example of the structure of the label printer by the 2nd Embodiment of this invention. 本発明の第2の実施形態によるスリット状円盤の例を示す図である。It is a figure which shows the example of the slit-shaped disk by the 2nd Embodiment of this invention. 本発明の実施形態によるラベルプリンタの最小構成を示す図である。It is a figure which shows the minimum structure of the label printer by embodiment of this invention. 少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the computer which concerns on at least one Embodiment.

<第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 label printer 1 according to the first embodiment of the present invention will be described.
The label printer 1 according to each embodiment of the present invention is an example of effectively utilizing one phototransistor provided in advance for detecting the edge of a label.
The label printer 1 according to the first embodiment of the present invention has a function of detecting the near end (termination region) of the roll paper and notifying the user in advance that the roll paper will soon run out. As shown in FIG. 1, the label printer 1 includes a first roller 71 (core portion), a third roller 73 (rotating body), a slit-shaped belt 80, a roll paper 40, a mount 50, and a label 60. A fourth roller 74, a light emitting unit 10, a light receiving unit 20 (light detection unit), a second roller 72 (conveying unit), a printing unit 90, a signal processing unit 30, and a notification unit 31 are provided. ..
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 first roller 71 is a roller that serves as a rotation axis of the roll paper 40.
The third roller 73 is provided at a predetermined position in the transport direction A1 with reference to the position of the first roller 71. A slit-shaped belt 80 is wound around the first roller 71 and the third roller 73.

スリット状ベルト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-shaped belt 80 is provided with a plurality of slit SLs at regular intervals in the transport direction A1. The plurality of slits SL are provided so as to be detectable in a detection cycle shorter than the detection cycle between the ends of the label 60, which will be described later. For example, the plurality of slits SL are provided at intervals sufficiently shorter than the intervals between adjacent labels 60, which will be described later. Each of the plurality of slits SL is, for example, a rectangular slit that is long in a direction intersecting the transport direction A1. As described above, the third roller 73 is provided at a predetermined position in the transport direction A1 with respect to the position of the first roller 71. Therefore, the moving direction of the slit SL when the slit-shaped belt 80 rotates coincides with the direction of the transport direction A1. The light transmittance of the portion of the slit-shaped belt 80 other than the slit is lower than the light transmittance of the slit of the slit-shaped belt 80.

ロール紙40は、第1ローラ71に巻き付けられる。ロール紙40は、台紙50が巻かれたものである。
台紙50は、ラベル60を貼付するための台紙である。なお、台紙50の光の透過率は、スリット状ベルト80のスリット以外の部分の光の透過率よりも高い。また、台紙50の光の透過率は、スリット状ベルト80のスリットの光の透過率よりも低い。
The roll paper 40 is wound around the first roller 71. The roll paper 40 is a roll around which the mount 50 is wound.
The mount 50 is a mount for attaching the label 60. The light transmittance of the mount 50 is higher than the light transmittance of the portion other than the slit of the slit-shaped belt 80. Further, the light transmittance of the mount 50 is lower than the light transmittance of the slit of the slit-shaped belt 80.

ラベル60は、印刷部90の印刷対象物である。ラベル60は、台紙50に、搬送方向A1に所定の間隔をあけて貼付される。なお、ラベル60の光の透過率は、台紙50、スリット状ベルト80のスリット以外の部分、及び、スリット状ベルト80のスリットのいずれの光の透過率よりも低い。台紙50、ラベル60、スリット状ベルト80のスリット以外の部分、及び、スリット状ベルト80のスリットのそれぞれの光の透過率は、受光部20が受光する光の光量に影響を及ぼす。後述するように、受光部20が出力する電圧Vout1は、受光部20が受光する光の光量に応じた電圧である。そのため、受光部20が出力する電圧Vout1は、台紙50、ラベル60、スリット状ベルト80のスリット以外の部分、及び、スリット状ベルト80のスリットのそれぞれの光の透過率に応じた電圧である。 The label 60 is a print object of the printing unit 90. The label 60 is attached to the mount 50 at a predetermined interval in the transport direction A1. The light transmittance of the label 60 is lower than the light transmittance of the mount 50, the portion other than the slit of the slit-shaped belt 80, and the slit of the slit-shaped belt 80. The light transmittance of each of the mount 50, the label 60, the portion other than the slit of the slit-shaped belt 80, and the slit of the slit-shaped belt 80 affects the amount of light received by the light receiving unit 20. As will be described later, the voltage Vout1 output by the light receiving unit 20 is a voltage corresponding to the amount of light received by the light receiving unit 20. Therefore, the voltage Vout1 output by the light receiving unit 20 is a voltage corresponding to the light transmittance of each of the mount 50, the label 60, the portion other than the slit of the slit-shaped belt 80, and the slit of the slit-shaped belt 80.

ラベル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 mount 50 to which the label 60 is affixed is transported in the transport direction A1, a fourth roller 74, a light emitting unit 10, and a printing unit 90 are provided on the upper side of the mount 50. Further, a second roller 72 is provided below the printing unit 90 with a mount 50 interposed therebetween. Further, below the light emitting unit 10, a light receiving unit 20 is provided so as to separate the mount 50 and the slit-shaped belt 80. Further, a signal processing unit 30 is connected to the light receiving unit 20. Further, the signal processing unit 30 is provided with a notification unit 31.

第4ローラ74は、台紙50の上方から台紙50を押さえて、ラベル60の上方の印刷面を水平に保つローラである。 The fourth roller 74 is a roller that presses the mount 50 from above the mount 50 to keep the printed surface above the label 60 horizontal.

発光部10は、図3に示すように、発光ダイオード101と、抵抗102と、を備える。 As shown in FIG. 3, the light emitting unit 10 includes a light emitting diode 101 and a resistor 102.

発光ダイオード101のカソードは、グラウンドGNDに接続される。発光ダイオード101のアノードは、抵抗102の第1端子に接続される。抵抗102の第2端子は、電源端子VDD1に接続される。抵抗102は、発光ダイオード101に過電流が流れないように電流を制限する抵抗である。ここで、電源端子VDD1は、発光ダイオード101がある一定の光量で発光するように決定された一定の電圧を出力する端子である。 The cathode of the light emitting diode 101 is connected to the ground GND. The anode of the light emitting diode 101 is connected to the first terminal of the resistor 102. The second terminal of the resistor 102 is connected to the power supply terminal VDD1. The resistor 102 is a resistor that limits the current so that an overcurrent does not flow through the light emitting diode 101. Here, the power supply terminal VDD1 is a terminal that outputs a constant voltage determined so that the light emitting diode 101 emits light with a certain amount of light.

発光ダイオード101及び抵抗102がこのように接続された場合、発光ダイオード101は、電源端子VDD1が出力する一定の電圧に応じた一定の電流を流す。発光ダイオード101は、一定の電流が流れる間、その電流の大きさに応じた一定の光量の光を台紙50及びラベル60に照射する。この光は、ラベル60の端部を特定するための光であって第1ローラ71の回転速度を特定するための照射光である。なお、ラベル60の端部とは、台紙50とラベル60との境目のことである。 When the light emitting diode 101 and the resistor 102 are connected in this way, the light emitting diode 101 flows a constant current corresponding to a constant voltage output by the power supply terminal VDD1. While a constant current flows, the light emitting diode 101 irradiates the mount 50 and the label 60 with a constant amount of light according to the magnitude of the current. This light is light for specifying the end portion of the label 60 and is irradiation light for specifying the rotation speed of the first roller 71. The end of the label 60 is the boundary between the mount 50 and the label 60.

第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 second roller 72 is rotated at a constant rotational speed by a driving device (for example, a motor or the like) (not shown). When the second roller 72 rotates at a constant rotation speed and the mount 50 is pulled out in the transport direction A1 due to the frictional force generated between the second roller 72 and the mount 50, the roll wound around the first roller 71. The mount 50 is sent out from the paper 40, and the first roller 71 rotates. When the first roller 71 rotates, the third roller 73 around which the slit-shaped belt 80 is wound rotates.
Therefore, while the second roller 72 is rotating, the mount 50 is sent out from the roll paper 40, and when the label 60 attached to the mount 50 is conveyed in the feeding direction A1, the roll wound around the first roller 71. The radius of the paper 40 becomes smaller. As a result, the second roller 72 rotates at a constant rotational speed, and as the mount 50 is conveyed in the conveying direction A1, the rotational speed of the first roller 71 increases. Therefore, as the rotation speed of the first roller 71 increases, the rotation speed of the slit-shaped belt 80 and the rotation speed of the third roller 73 increase. At this time, as shown in FIGS. 1 and 3, the slit-shaped belt 80 passes between the light emitting unit 10 and the light receiving unit 20 in parallel with the mount 50 and is conveyed in the conveying direction A1.
Each of the first roller 71, the third roller 73, and the fourth roller 74 is a rotor that rotates for the first time when the second roller 72 is rotated at a constant rotation speed by the driving device.

印刷部90は、台紙50に貼付されたラベル60が印刷部90の位置まで搬送されると、所定の印刷を施す。 When the label 60 attached to the mount 50 is conveyed to the position of the printing unit 90, the printing unit 90 performs predetermined printing.

受光部20は、図3に示すように、フォトトランジスタ201(光検出部)と、抵抗202と、を備える。 As shown in FIG. 3, the light receiving unit 20 includes a phototransistor 201 (photodetector unit) and a resistor 202.

フォトトランジスタ201のエミッタは、グラウンドGNDに接続される。フォトトランジスタ201のコレクタは、抵抗202の第1端子に接続される。抵抗202の第2端子は、電源端子VDD2に接続される。なお、抵抗202の抵抗値と電源端子VDD2が出力する電圧の電圧値は、フォトトランジスタ201が受光した光の光量に応じて流す電流量が変化するように(例えば、フォトトランジスタ201が線形領域で動作するように)決定される。 The emitter of the phototransistor 201 is connected to ground GND. The collector of the phototransistor 201 is connected to the first terminal of the resistor 202. The second terminal of the resistor 202 is connected to the power supply terminal VDD2. The resistance value of the resistor 202 and the voltage value of the voltage output by the power supply terminal VDD2 are such that the amount of current flowing through the phototransistor 201 changes according to the amount of light received by the phototransistor 201 (for example, in the linear region of the phototransistor 201). Determined to work).

フォトトランジスタ201及び抵抗202がこのように接続された場合、フォトトランジスタ201は、光を受光している間、その光量に応じた電流を流す。具体的には、フォトトランジスタ201は、発光ダイオード101が発光する光のうち、台紙50、ラベル60及びスリット状ベルト80を透過する透過光を受光し、その受光した光の光量に応じた電流を流す。このとき、フォトトランジスタ201のコレクタの電圧Vout1は、抵抗202の抵抗値にフォトトランジスタ201に流れる電流の電流値を乗算して算出した電圧を、電源端子VDD2の電圧から減算した電圧となる。 When the phototransistor 201 and the resistor 202 are connected in this way, the phototransistor 201 passes a current corresponding to the amount of light while receiving light. Specifically, the phototransistor 201 receives the transmitted light transmitted through the mount 50, the label 60, and the slit-shaped belt 80 among the light emitted by the light emitting diode 101, and receives a current corresponding to the amount of the received light. Shed. At this time, the voltage Vout1 of the collector of the phototransistor 201 is a voltage obtained by subtracting the voltage calculated by multiplying the resistance value of the resistor 202 by the current value of the current flowing through the phototransistor 201 from the voltage of the power supply terminal VDD2.

信号処理部30は、ラベル60の端部を特定するとともに第1ローラ71の回転速度を特定する。信号処理部30は、図3に示すように、第1コンパレータ301(端部特定部)と、第2コンパレータ302と、周波数カウンタ303(回転速度特定部)と、ニアエンド判定部304(終端領域判定部)と、を備える。 The signal processing unit 30 specifies the end portion of the label 60 and the rotation speed of the first roller 71. As shown in FIG. 3, the signal processing unit 30 includes a first comparator 301 (end identification unit), a second comparator 302, a frequency counter 303 (rotation speed identification unit), and a near-end determination unit 304 (termination region determination). Part) and.

第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 first comparator 301 is a comparator for identifying the end of the label 60. The first comparator 301 receives the reference voltage VREF1. Further, the first comparator 301 receives the voltage Vout1 at the second terminal of the phototransistor 201.
The first comparator 301 compares the voltage Vout1 with the reference voltage VREF1. The first comparator 301 outputs the voltage VS1 according to the comparison result.
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 first comparator 301 sets the voltage VS1 indicating the High level. Output. Further, for example, as shown in the portion (a) of FIG. 4, the first comparator 301 outputs the voltage VS1 indicating the Low level when the comparison result indicates that the voltage Vout1 is lower than the reference voltage VREF1. When the voltage Vout1 and the reference voltage VREF1 are the same voltage, the first comparator 301 outputs a voltage VS1 indicating a level between the Low level and the High level assuming ideal operation. However, the actual first comparator 301 outputs a voltage VS1 indicating one of the Low level and the High level due to the asymmetry of the internal circuit, noise, and the like.

第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 second comparator 302 is a comparator for detecting the near end of the roll paper 40. The second comparator 302 receives the reference voltage VREF2. Further, the second comparator 302 receives the voltage Vout1 at the second terminal of the phototransistor 201.
The second comparator 302 compares the voltage Vout1 with the reference voltage VREF2. The second comparator 302 outputs the voltage VS2 according to the comparison result.
Specifically, for example, the second comparator 302 sets the high level voltage VS2 when the comparison result shows that the voltage Vout1 is higher than the reference voltage VREF2, as shown in the part (a) of FIG. Output. Further, for example, the second comparator 302 outputs the voltage VS2 indicating the Low level when the comparison result indicates that the voltage Vout1 is lower than the reference voltage VREF2, as shown in the part (a) of FIG. When the voltage Vout1 and the reference voltage VREF2 are the same voltage, the second comparator 302 outputs a voltage VS2 indicating a level between the Low level and the High level assuming ideal operation. However, the actual second comparator 302 outputs a voltage VS2 indicating one of the Low level and the High level due to the asymmetry of the internal circuit, noise, and the like.

周波数カウンタ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 frequency counter 303 acquires the voltage VS1 from the first comparator 301. Further, the frequency counter 303 acquires the voltage VS2 from the second comparator 302. The frequency counter 303 specifies the rotation speed of the first roller 71 based on the acquired voltage VS1 and voltage VS2.
Specifically, the frequency counter 303 identifies the frequency of the voltage VS2 by counting the rise and fall of the voltage VS2 per unit time during the period when the voltage VS1 indicates that the label 60 does not exist. The number of rising and falling counts of the voltage VS2 per unit time increases as the rotation speed of the first roller 71 increases, and the count number and the rotation speed of the first roller 71 have a one-to-one correspondence. Therefore, specifying the frequency of the voltage VS2 by the frequency counter 303 is equivalent to specifying the rotation speed of the first roller 71.
The period in which the voltage VS1 indicates that the label 60 does not exist is, for example, a period in which the voltage VS1 in the portion (b) of FIG. 4 indicates the Low level. A detailed description of the voltage waveform shown in FIG. 4 will be described later.

ニアエンド判定部304は、周波数カウンタ303が特定した第1ローラ71の回転速度に基づいて、ロール紙40のニアエンドであるか否かを判定する。
具体的には、ニアエンド判定部304は、周波数カウンタ303が特定した電圧VS2の周波数(すなわち、第1ローラ71の回転速度と等価)と、ニアエンドであるか否かを判定するために予め定めた周波数のしきい値(すなわち、回転速度のしきい値と等価)とを比較する。そして、ニアエンド判定部304は、例えば、電圧VS2の周波数が周波数のしきい値を超える場合、ロール紙40のニアエンドである、すなわち、間もなくロール紙40を交換する時期となると判定する。また、ニアエンド判定部304は、例えば、電圧VS2の周波数が周波数のしきい値以下である場合、ロール紙40のニアエンドではない、すなわち、まだロール紙40を交換する必要はないと判定する。
ニアエンド判定部304は、ロール紙40のニアエンドであるか否かの判定結果を報知部31に出力する。
The near-end determination unit 304 determines whether or not the roll paper 40 is near-end based on the rotation speed of the first roller 71 specified by the frequency counter 303.
Specifically, the near-end determination unit 304 is predetermined to determine the frequency of the voltage VS2 specified by the frequency counter 303 (that is, equivalent to the rotation speed of the first roller 71) and whether or not it is near-end. Compare with the frequency threshold (ie, equivalent to the rotational speed threshold). Then, for example, when the frequency of the voltage VS2 exceeds the threshold value of the frequency, the near-end determination unit 304 determines that the roll paper 40 is near-end, that is, it is time to replace the roll paper 40 soon. Further, the near-end determination unit 304 determines that, for example, when the frequency of the voltage VS2 is equal to or lower than the frequency threshold value, the roll paper 40 is not near-end, that is, it is not necessary to replace the roll paper 40 yet.
The near-end determination unit 304 outputs a determination result of whether or not the roll paper 40 is near-end to the notification unit 31.

報知部31は、ニアエンド判定部304からロール紙40のニアエンドであるか否かの判定結果を受け取る。報知部31は、受け取った判定結果に基づいて、ユーザにロール紙40を交換する必要の有無を報知する。
具体的には、報知部31は、受け取った判定結果がロール紙40のニアエンドであることを示す結果である場合、「ロール紙を交換する時期が近づいている」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知する。また、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、特に何も報知しない。なお、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、「ロール紙40を交換する必要はない」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知してもよい。
The notification unit 31 receives a determination result of whether or not the roll paper 40 is near-end from the near-end determination unit 304. The notification unit 31 notifies the user whether or not it is necessary to replace the roll paper 40 based on the received determination result.
Specifically, when the received determination result is a result indicating that the roll paper 40 is near-end, the notification unit 31 indicates that "the time to replace the roll paper is approaching" by sound (including voice). ), Image (including characters), vibration, etc. to notify the user. Further, when the received determination result is a result indicating that the roll paper 40 is not the near end, the notification unit 31 does not particularly notify anything. If the received determination result is a result indicating that the roll paper 40 is not near-end, the notification unit 31 indicates that "the roll paper 40 does not need to be replaced" with a sound (including voice) and an image (including voice). The user may be notified by vibration (including characters) or vibration.

なお、発光部10、受光部20及び印刷部90のそれぞれは、予め定められた固定の位置に設けられる。また、上述のように、第2ローラ72は、一定の回転速度で回転し、台紙50に貼付されたラベル60を搬送方向A1に搬送する。そのため、ラベル60の端部が特定されると、受光部20(発光部10)とラベル60との位置関係が特定される。したがって、ラベル60と印刷部90との位置関係を特定することができ、第2ローラ72の回転速度を用いて、ラベル60が印刷部90の位置まで搬送されるタイミングを予測することができる。 Each of the light emitting unit 10, the light receiving unit 20, and the printing unit 90 is provided at a predetermined fixed position. Further, as described above, the second roller 72 rotates at a constant rotation speed and conveys the label 60 attached to the mount 50 in the conveying direction A1. Therefore, when the end portion of the label 60 is specified, the positional relationship between the light receiving unit 20 (light emitting unit 10) and the label 60 is specified. Therefore, the positional relationship between the label 60 and the printing unit 90 can be specified, and the timing at which the label 60 is conveyed to the position of the printing unit 90 can be predicted by using the rotation speed of the second roller 72.

次に、図4に示す電圧波形について説明する。
なお、第2ローラ72は、一定の回転速度で回転しているものとする。また、発光ダイオード101は、一定の光量で発光しているものとする。
Next, the voltage waveform shown in FIG. 4 will be described.
It is assumed that the second roller 72 is rotating at a constant rotation speed. Further, it is assumed that the light emitting diode 101 emits light with a constant amount of light.

第2ローラ72が一定の回転速度で回転すると、発光部10と受光部20との間には、搬送されている物体(すなわち、台紙50、ラベル60及びスリット状ベルト80)の組み合わせによって4つの状態が存在する。 When the second roller 72 rotates at a constant rotation speed, four objects (that is, a mount 50, a label 60, and a slit-shaped belt 80) are conveyed between the light emitting unit 10 and the light receiving unit 20. The state exists.

第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 label 60 is provided on the mount 50 and the slit SL of the slit-shaped belt 80 does not exist. In this first state, the light emitted by the light emitting unit 10 is blocked by the label 60, the mount 50, and the slit-shaped belt 80. Therefore, the first state is a state in which the light emitted by the light emitting unit 10 is the most difficult to reach the light receiving unit 20, that is, the amount of light received by the light receiving unit 20 is the smallest among the four states. Therefore, the current flowing through the phototransistor 201 in the first state is the smallest among the four states, and the voltage Vout1 of the light receiving unit 20 is the highest voltage V1 shown in the portion (a) of FIG.

第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 label 60 is provided on the mount 50 and a slit SL of the slit-shaped belt 80 is present. In this second state, the light emitted by the light emitting unit 10 is blocked by the mount 50 and the label 60. Therefore, the second state is a state in which the light emitted by the light emitting unit 10 is the second most difficult to reach the light receiving unit 20, that is, the amount of light received by the light receiving unit 20 is the second smallest among the four states. .. The label 60 blocks light almost 100%. Therefore, the current flowing through the phototransistor 201 in the second state is substantially the same as the current flowing through the phototransistor 201 in the first state, and the voltage Vout1 of the light receiving unit 20 is the voltage V1 shown in the portion (a) of FIG. It becomes.

第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 label 60 does not exist on the mount 50 and a slit SL of the slit-shaped belt 80 exists. In this third state, the light emitted by the light emitting unit 10 is blocked only by the mount 50. Therefore, the third state is a state in which the light emitted by the light emitting unit 10 reaches the light receiving unit 20 most easily, that is, the amount of light received by the light receiving unit 20 is the largest among the four states. Therefore, the current flowing through the phototransistor 201 in the third state is the largest among the four states, and the voltage Vout1 of the light receiving unit 20 is the lowest voltage V3 shown in the portion (a) of FIG.

第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 label 60 does not exist on the mount 50 and a state in which the slit SL of the slit-shaped belt 80 does not exist. In this fourth state, the light emitted by the light emitting unit 10 is blocked by the mount 50 and the slit-shaped belt 80. Therefore, the fourth state is a state in which the light emitted by the light emitting unit 10 is the third most difficult to reach the light receiving unit 20, that is, the amount of light received by the light receiving unit 20 is the third smallest among the four states. .. Therefore, the current flowing through the phototransistor 201 in the fourth state is larger than the current flowing through the phototransistor 201 in the first and second states, and less than the current flowing through the phototransistor 201 in the third state. As a result, the voltage Vout1 of the light receiving unit 20 in the fourth state becomes the voltage V2 between the voltage V1 and the voltage V3 shown in the portion (a) of FIG.

上述の第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 label 60 is provided on the mount 50. Further, it can be seen that the voltage Vout1 becomes the voltage V2 or the voltage V3 when the label 60 does not exist on the mount 50.
Therefore, the reference voltage VREF1 received by the first comparator 301 is set as the voltage between the voltage V1 and the voltage V2. The first comparator 301 compares the received reference voltage VREF1 with the received voltage Vout1. When the voltage Vout1 exceeds the reference voltage VREF1, the first comparator 301 determines that the label 60 is provided on the mount 50. Further, when the voltage Vout1 is less than the reference voltage VREF1, the first comparator 301 determines that the label 60 does not exist on the mount 50.
By doing so, the first comparator 301 can determine whether or not the label 60 is provided on the mount 50. That is, when the determination of the first comparator 301 changes from the state in which the label 60 is provided on the mount 50 to the state in which the label 60 is not provided on the mount 50, or the label 60 is not provided on the mount 50. The position of the mount 50 above the light receiving unit 20 when the determination changes from the state to the state where the label 60 is provided on the mount 50 can be determined as the end of the label 60.
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 label 60 is provided on the mount 50). When the comparator 301 outputs the high level voltage VS1 and the voltage Vout1 is less than the reference voltage VREF1 (that is, when it is determined that the label 60 does not exist on the mount 50), the first comparator 301 is at the low level. This is an example of a waveform that outputs the voltage VS1 of.

また、上述の第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 label 60 does not exist on the mount 50 and in the state where the slit SL of the slit-shaped belt 80 does not exist. Further, it can be seen that the voltage Vout1 becomes the voltage V3 in the state where the label 60 does not exist on the mount 50 and the slit SL of the slit-shaped belt 80 exists.
Therefore, the reference voltage VREF2 received by the second comparator 302 is set as the voltage between the voltage V2 and the voltage V3. The second comparator 302 compares the received reference voltage VREF2 with the received voltage Vout1. In the second comparator 302, when the voltage Vout1 exceeds the reference voltage VREF2 in the state where the label 60 does not exist on the mount 50 (in the example shown in FIG. 4, the voltage VS1 is at the Low level), the slit SL of the slit-shaped belt 80 is formed. Indicates that it is in an existing state. Further, the second comparator 302 uses the slit-shaped belt 80 when the voltage Vout1 is less than the reference voltage VREF2 in the state where the label 60 does not exist on the mount 50 (in the example shown in FIG. 4, the voltage VS1 is at the Low level). Indicates that the slit SL is present.
By doing so, the second comparator 302 can determine whether or not the slit SL of the slit-shaped belt 80 is present in the state where the label 60 is not present on the mount 50.
The waveform of the voltage VS2 in the portion (c) of FIG. 4 shows that the slit SL of the slit-shaped belt 80 exists when the voltage Vout1 exceeds the reference voltage VREF2 (that is, when the label 60 does not exist on the mount 50). When it is determined that the second comparator 302 outputs a high level voltage VS2 and the voltage Vout1 is less than the reference voltage VREF2 (that is, when the label 60 does not exist on the mount 50, the slit-shaped belt 80 This is an example of a waveform in which the second comparator 302 outputs the Low level voltage VS2 when it is determined that the slit SL of the above does not exist.

上述したように、第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 second roller 72 conveys the mount 50 in the conveying direction A1 at a constant rotational speed, the rotational speed of the first roller 71 increases. As the rotation speed of the first roller 71 increases, the rotation speed of the slit-shaped belt 80 and the rotation speed of the third roller 73 increase. Therefore, as the second roller 72 conveys the mount 50 in the conveying direction A1 at a constant rotation speed, the voltage waveform shown in FIG. 4 becomes shorter in the time axis direction. That is, as the second roller 72 transports the mount 50 in the transport direction A1 at a constant rotation speed, the voltage VS2 changes during the period when the voltage VS1 is at the Low level (that is, the label 60 does not exist on the mount 50). Each of the cycle T1, the low level period t1 in the cycle T1, and the high level period t2 in the cycle T1 becomes shorter.
Therefore, the frequency counter 303 specifies the frequency of the voltage VS2 in the period when the voltage VS1 is the Low level, so that the period T1 in which the voltage VS2 changes, the period t1 of the Low level in the period T1, and the period T1 thereof. The period t2 of the High level in. The near-end determination unit 304 determines whether or not the frequency of the voltage VS2 detected by the frequency counter 303 exceeds a predetermined threshold value. Then, when the near-end determination unit 304 determines that the frequency of the voltage VS2 exceeds a predetermined threshold value, it determines that the roll paper 40 is near-end. Further, when the near-end determination unit 304 determines that the frequency of the voltage VS2 is equal to or less than a predetermined threshold value, it determines that the roll paper 40 is not near-end.
By doing so, the near-end determination unit 304 can determine the near-end of the roll paper 40.

次に、本発明の第1の実施形態によるラベルプリンタ1の処理について説明する。
ここでは、図5に示すラベルプリンタ1の処理フローについて説明する。
なお、第2ローラ72は、一定の回転速度で回転しているものとする。また、発光部10は、一定の光量で光を放出しているものとする。
Next, the processing of the label printer 1 according to the first embodiment of the present invention will be described.
Here, the processing flow of the label printer 1 shown in FIG. 5 will be described.
It is assumed that the second roller 72 is rotating at a constant rotation speed. Further, it is assumed that the light emitting unit 10 emits light with a constant amount of light.

第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 second roller 72 rotates at a constant rotation speed, the mount 50 is conveyed in the conveying direction A1. The mount 50 passes between the light emitting unit 10 and the light receiving unit 20. Therefore, there are four states between the light emitting unit 10 and the light receiving unit 20 depending on the combination of the conveyed objects (that is, the mount 50, the label 60, and the slit-shaped belt 80). The amount of light received by the light receiving unit 20 differs depending on these four states. The light receiving unit 20 generates a voltage Vout1 according to the amount of received light (step S1). Therefore, the light receiving unit 20 outputs the voltage Vout1 corresponding to the four states to the first comparator 301 and the second comparator 302.

第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 first comparator 301 receives the voltage Vout1 from the light receiving unit 20. Further, the first comparator 301 receives the reference voltage VREF1. For example, when the voltage Vout1 output by the light receiving unit 20 has the waveform shown in the portion (a) of FIG. 4, the reference voltage VREF1 is set to a voltage between the voltage V1 and the voltage V2.
The first comparator 301 determines whether or not the label 60 does not exist on the mount 50 based on the received voltage Vout1 and the received reference voltage VREF1 (step S2).
Specifically, the first comparator 301 compares the received reference voltage VREF1 with the voltage Vout1. Then, for example, when the voltage Vout1 output by the light receiving unit 20 has the waveform shown in the portion (a) of FIG. 4, the first comparator 301 determines that the voltage Vout1 exceeds the reference voltage VREF1 (that is, on the mount 50). When it is determined that the label 60 is provided), the high level voltage VS1 is output. Further, the first comparator 301 outputs the Low level voltage VS1 when the voltage Vout1 is less than the reference voltage VREF1 (that is, when it is determined that the label 60 does not exist on the mount 50).
The first comparator 301 outputs a voltage VS1 indicating a determination result of whether or not the label 60 does not exist on the mount 50 to the frequency counter 303.

第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 second comparator 302 receives the voltage Vout1 from the light receiving unit 20. Further, the second comparator 302 receives the reference voltage VREF2. For example, when the voltage Vout1 output by the light receiving unit 20 has the waveform shown in the portion (a) of FIG. 4, the reference voltage VREF2 is set to a voltage between the voltage V2 and the voltage V3.
The second comparator 302 generates the voltage VS2 based on the comparison result between the received voltage Vout1 and the received reference voltage VREF2 (step S3).
Specifically, for example, when the voltage Vout1 output by the light receiving unit 20 has the waveform shown in the portion (a) of FIG. 4, the second comparator 302 has a high level when the voltage Vout1 exceeds the reference voltage VREF2. The voltage VS2 of is output. Further, the second comparator 302 outputs the Low level voltage VS2 when the voltage Vout1 is less than the reference voltage VREF2.
The second comparator 302 outputs the generated voltage VS2 to the frequency counter 303.
The process of step S3 performed by the second comparator 302 is performed in parallel with the process of step S2 performed by the first comparator 301.

周波数カウンタ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 frequency counter 303 receives the voltage VS1 from the first comparator 301. Further, the frequency counter 303 receives the voltage VS2 from the second comparator 302.
The frequency counter 303 identifies the frequency f1 of the voltage VS2 based on the received voltage VS1 and the received voltage VS2 in a state where the label 60 does not exist on the mount 50 (step S4).
Specifically, when the voltage VS1 received by the frequency counter 303 from the first comparator 301 is, for example, the waveform shown in the portion (a) of FIG. 4, the voltage VS1 generated by the first comparator 301 is at the Low level. For a certain period of time, the mount 50 shows a state in which the label 60 does not exist. Further, the voltage VS2 generated by the second comparator 302 in a state where the label 60 does not exist on the mount 50 indicates whether or not the slit SL of the slit-shaped belt 80 exists. Therefore, the frequency counter 303 counts the number of transitions between the Low level and the High level per unit time of the voltage VS2 received from the second comparator 302 during the period when the voltage VS1 is the Low level.
The frequency counter 303 outputs the frequency of the specified voltage VS2 to the near-end determination unit 304.
The process of step S4 performed by the frequency counter 303 is performed in parallel with the process of step S2 performed by the first comparator 301 and the process of step S3 performed by the second comparator 302. The reciprocal of the frequency of the voltage VS2 identified by the frequency counter 303 in the process of step S4 corresponds to the period T1 shown in the part (c) of FIG.
Further, instead of the frequency counter 303, for example, a universal counter may be used. The universal counter can measure the time width from the rise to the fall of the pulse. Therefore, when the universal counter is used, the time t1 and the time t2 shown in the part (c) of FIG. 4 can be specified.

ニアエンド判定部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-end determination unit 304 receives the frequency f1 from the frequency counter 303. The near-end determination unit 304 determines the near-end of the roll paper 40 based on the received frequency f1 and a predetermined frequency threshold value for determining whether or not the roll paper 40 is near-end.
Specifically, the near-end determination unit 304 compares the received frequency f1 with a predetermined frequency threshold value for determining whether or not the frequency f1 is near-end, and the frequency f1 exceeds the threshold value. Whether or not it is determined (step S5).
When the near-end determination unit 304 determines that the frequency f1 exceeds the threshold value (YES in step S5), it determines that the roll paper 40 is near-end, that is, it is time to replace the roll paper 40 soon (). Step S6).
Further, when the near-end determination unit 304 determines that the frequency f1 is equal to or lower than the frequency threshold value, it determines that the roll paper 40 is not near-end, that is, it is not necessary to replace the roll paper 40 yet. Then, the near-end determination unit 304 returns to the process of step S2.
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-end determination unit 304 outputs a determination result of whether or not the roll paper 40 is near-end to the notification unit 31.

報知部31は、ニアエンド判定部304からロール紙40のニアエンドであるか否かの判定結果を受け取る。報知部31は、受け取った判定結果に基づいて、ユーザにロール紙40を交換する必要の有無を報知する(ステップS7)。
具体的には、報知部31は、受け取った判定結果がロール紙40のニアエンドであることを示す結果である場合、「ロール紙を交換する時期が近づいている」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知する。また、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、特に何も報知しない。なお、報知部31は、受け取った判定結果がロール紙40のニアエンドではないことを示す結果である場合、「ロール紙40を交換する必要はない」ことを、音(音声を含む)、画像(文字を含む)、振動などによってユーザに報知するものであってもよい。
The notification unit 31 receives a determination result of whether or not the roll paper 40 is near-end from the near-end determination unit 304. The notification unit 31 notifies the user whether or not it is necessary to replace the roll paper 40 based on the received determination result (step S7).
Specifically, when the received determination result is a result indicating that the roll paper 40 is near-end, the notification unit 31 indicates that "the time to replace the roll paper is approaching" by sound (including voice). ), Image (including characters), vibration, etc. to notify the user. Further, when the received determination result is a result indicating that the roll paper 40 is not the near end, the notification unit 31 does not particularly notify anything. If the received determination result is a result indicating that the roll paper 40 is not near-end, the notification unit 31 indicates that "the roll paper 40 does not need to be replaced" with a sound (including voice) and an image (including voice). It may notify the user by vibration (including characters) or vibration.

以上、本発明の第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 label printer 1 according to the first embodiment of the present invention has been described above.
The label printer 1 according to the first embodiment of the present invention includes a second roller 72 (conveying unit), a phototransistor 201 (photodetecting unit), a frequency counter 303 (rotational speed specifying unit), and a near-end determining unit 304 (near-end determination unit 304). (Termination area determination unit) and. The second roller 72 conveys the roll paper 40 on which the labels 60 are provided on the mount 50 at a plurality of intervals in the conveying direction A1. The phototransistor 201 detects the light for specifying the end portion of the label 60 and the light for specifying the rotation speed of the first roller 71 (core portion) around which the roll paper 40 is wound. The frequency counter 303 specifies the rotation speed based on the light for specifying the rotation speed of the first roller 71 around which the roll paper 40 is wound, which is detected by the phototransistor 201. The near-end determination unit 304 determines the winding end region of the first roller 71 based on the rotation speed of the first roller 71 specified by the frequency counter 303.
In this way, the label printer 1 can identify the end portion of the label 60 and determine the near end of the roll paper 40 based on the amount of light received by one phototransistor 201.

<第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 label printer 1 according to the second embodiment of the present invention will be described.
The label printer 1 according to the second embodiment of the present invention has a function of detecting the near end of the roll paper and notifying the user in advance that the roll paper will soon run out. As shown in FIG. 6, the label printer 1 includes a light emitting unit 10, a light receiving unit 20 (light detecting unit), a signal processing unit 30, a roll paper 40, a mount 50, a label 60, and a first roller 71. A (core portion), a second roller 72 (conveyance portion), a fourth roller 74, a rotation conversion mechanism 81, a slit-shaped disk 82, a rotation shaft 83, and a printing portion 90 are provided.
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 rotation conversion mechanism 81 is a mechanism for changing the direction of the rotation axis. The rotation conversion mechanism 81 is realized, for example, by combining a plurality of gears. The rotation conversion mechanism 81 according to the second embodiment of the present invention is a mechanism that converts the rotation axis of the first roller 71 into the rotation axis of the slit-shaped disk 82.

スリット状円盤82は、図7に示すように、回転軸83を中心に円周方向に間隔をあけて放射状の複数のスリットSLを設ける。複数のスリットSLのそれぞれは、例えば、三角形の形状を有する。スリット状円盤82の盤面は、台紙50に平行である。スリット状円盤82は、第1ローラ71が回転すると、回転変換機構81によって変換された回転軸83を中心に回転する。 As shown in FIG. 7, the slit-shaped disk 82 is provided with a plurality of radial slits SL at intervals in the circumferential direction about the rotation shaft 83. Each of the plurality of slits SL has, for example, a triangular shape. The surface of the slit-shaped disk 82 is parallel to the mount 50. When the first roller 71 rotates, the slit-shaped disk 82 rotates about the rotation shaft 83 converted by the rotation conversion mechanism 81.

なお、本発明の第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 label printer 1 according to the second embodiment of the present invention has a slit-shaped belt 80 that rotates in conjunction with the rotation of the first roller 71 in the label printer 1 according to the first embodiment of the present invention. It is replaced with a slit-shaped disk 82 that rotates in conjunction with the rotation of 71. Therefore, the label printer 1 according to the second embodiment of the present invention has the first to fourth states as in the first embodiment of the present invention. Therefore, the Vout1 generated by the light receiving unit 20 according to the second embodiment of the present invention is the same as the Vout1 generated by the light receiving unit 20 according to the first embodiment of the present invention. The processing of the label printer 1 according to the second embodiment of the present invention can be considered in the same manner as the processing of the label printer 1 according to the first embodiment of the present invention.

以上、本発明の第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 label printer 1 according to the second embodiment of the present invention has been described above.
The label printer 1 according to the second embodiment of the present invention includes a second roller 72 (conveying unit), a phototransistor 201 (photodetecting unit), a frequency counter 303 (rotational speed specifying unit), and a near-end determining unit 304 (near-end determination unit 304). (Termination area determination unit) and. The second roller 72 conveys the roll paper 40 on which the labels 60 are provided on the mount 50 at a plurality of intervals in the conveying direction A1. The phototransistor 201 detects the light for specifying the end portion of the label 60 and the light for specifying the rotation speed of the first roller 71 (core portion) around which the roll paper 40 is wound. The frequency counter 303 specifies the rotation speed based on the light for specifying the rotation speed of the first roller 71 around which the roll paper 40 is wound, which is detected by the phototransistor 201. The near-end determination unit 304 determines the winding end region of the first roller 71 based on the rotation speed of the first roller 71 specified by the frequency counter 303.
In this way, the label printer 1 can identify the end portion of the label 60 and determine the near end of the roll paper 40 based on the amount of light received by one phototransistor 201.

本発明の実施形態による最小構成のラベルプリンタ1について説明する。
本発明の実施形態による最小構成のラベルプリンタ1は、図8に示すように、第2ローラ72(搬送部)と、フォトトランジスタ201(光検出部)と、周波数カウンタ303(回転速度特定部)と、ニアエンド判定部304(終端領域判定部)と、を備える。
The label printer 1 having the minimum configuration according to the embodiment of the present invention will be described.
As shown in FIG. 8, the label printer 1 having the minimum configuration according to the embodiment of the present invention includes a second roller 72 (conveying unit), a phototransistor 201 (photodetecting unit), and a frequency counter 303 (rotational speed specifying unit). And a near-end determination unit 304 (termination area determination unit).

第2ローラ72は、台紙にラベルが複数間隔を隔てて設けられたロール紙を搬送方向に搬送する。 The second roller 72 conveys the roll paper having labels provided on the mount at a plurality of intervals in the conveying direction.

フォトトランジスタ201は、ラベルの端部を特定するための光とともにロール紙の巻き付けられた第1ローラ(芯部)の回転速度を特定するための光を検出する。 The phototransistor 201 detects the light for specifying the end portion of the label and the light for specifying the rotation speed of the first roller (core portion) around which the roll paper is wound.

周波数カウンタ303は、フォトトランジスタ201が検出したロール紙の巻き付けられた第1ローラの回転速度を特定するための光に基づいて回転速度を特定する。 The frequency counter 303 specifies the rotation speed based on the light for specifying the rotation speed of the first roller around which the roll paper is wound, which is detected by the phototransistor 201.

ニアエンド判定部304は、周波数カウンタ303が特定した第1ローラの回転速度に基づいてロール紙のニアエンド(第1ローラにおける巻き付け終端領域)を判定する。 The near-end determination unit 304 determines the near-end (winding end region in the first roller) of the roll paper based on the rotation speed of the first roller specified by the frequency counter 303.

このようにすれば、ラベルプリンタ1は、1つのフォトトランジスタ201(光検出部)が受光した光量に基づいて、ラベルの端部を特定することができると共に、ロール紙のニアエンドを判定することができる。 In this way, the label printer 1 can identify the end of the label based on the amount of light received by one phototransistor 201 (photodetector), and can determine the near end of the roll paper. can.

なお、スリット状ベルト80は、第1ローラ(芯部)の代わりに、第1ローラの回転速度を複数の歯車のギヤ比によって別の回転速度(例えば、第1ローラの回転速度よりも速い回転速度)に変換された別の芯部に巻回されてもよい。スリット状ベルト80が第1ローラの回転速度よりも速い回転速度の芯部に巻回された場合、スリット状ベルト80は、その芯部と第3ローラ73との間で台紙50よりも高速に回転する。その結果、複数のスリットSLは、隣り合うラベル60どうしの間隔に比べて充分に短い間隔に設けられた場合と同様に、ラベル60の端部間の検出周期よりも短い検出周期で検出可能となる。 In the slit-shaped belt 80, instead of the first roller (core portion), the rotation speed of the first roller is changed to another rotation speed (for example, faster than the rotation speed of the first roller) depending on the gear ratios of the plurality of gears. It may be wound around another core converted to (speed). When the slit-shaped belt 80 is wound around a core having a rotation speed faster than that of the first roller, the slit-shaped belt 80 is faster than the mount 50 between the core and the third roller 73. Rotate. As a result, the plurality of slits SL can be detected with a detection cycle shorter than the detection cycle between the ends of the labels 60, as in the case where the plurality of slits SL are provided at intervals sufficiently shorter than the distance between the adjacent labels 60. Become.

なお、本発明の各実施形態では、受光部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 light receiving unit 20, the light emitted by the light emitting unit 10 is an object (that is, the mount 50, the label 60 and the slit-shaped belt 80, or the mount 50, the label 60 and the slit-shaped disk 82. ) Are received in the four states determined by the combination of). However, the light receiving unit 20 may use the reflected light of the light emitted by the light emitting unit 10.
For example, the roll paper 40 is supposed to transmit most of the irradiated light (for example, 90%). The label 60 is made of a material that is a printable surface without transmitting light. Further, the slit portion of the slit-shaped belt 80 (or the slit-shaped disk 82) is filled with a material that does not transmit light and has a higher reflectance than the surface of the label 60. Further, the portion of the slit-shaped belt 80 (or the slit-shaped disk 82) other than the slit is a material that does not transmit light, has a higher reflectance than the surface of the label 60, and has a lower reflectance than the material in which the slit is filled. Process with. Further, the light path that irradiates the light receiving portion 20 with the light reflected by the label 60 while being reflected by the mirror or the like and the light reflected by the slit-shaped belt 80 (or the slit-shaped disk 82) are reflected by the mirror or the like. However, the light receiving unit 20 is provided with an optical path for irradiating the light.
By doing so, the slit of the slit-shaped belt 80 (or the slit-shaped disk 82) is filled in the light receiving unit 20 within a range in which the order of the amount of light according to the order of the reflectance does not change due to the loss of light in each optical path. The amount of light reflected by the material is the largest, the amount of light reflected by the label 60 is the smallest, and the amount of light reflected by the processed material other than the slit of the slit-shaped belt 80 (or slit-shaped disk 82) is , Between them. That is, the voltage Vout1 generated based on the light received by the light receiving unit 20 is shown in the portion (a) of FIG. 4 within a range in which the order of the amount of light according to the order of reflectance does not change due to the loss of light in each optical path. It becomes the same as the voltage Vout1. Therefore, even when the label printer 1 according to another embodiment of the present invention uses reflected light, the end portion of the label is specified based on the amount of light received by one phototransistor 201 (photodetector). At the same time, the near end of the roll paper 40 can be determined.

なお、本発明の実施形態における処理フローは、適切な処理が行われる範囲において、処理の順番が入れ替わってもよい。 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 label printer 1 and other control devices may have a computer system inside. The process of the above-mentioned processing is stored in a computer-readable recording medium in the form of a program, and the above-mentioned processing is performed by the computer reading and executing this program. Here, the computer-readable recording medium refers to a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Further, this computer program may be distributed to a computer via a communication line, and the computer receiving the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現してもよい。さらに、上記プログラムは、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるファイル、いわゆる差分ファイル(差分プログラム)であってもよい。 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 computer 5 includes a CPU 6, a main memory 7, a storage 8, and an interface 9.
For example, each of the above-mentioned signal processing unit 30 and notification unit 31 is mounted on the computer 5. The operation of each processing unit described above is stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8, expands it into the main memory 7, and executes the above processing according to the program. Further, the CPU 6 secures a storage area corresponding to each of the above-mentioned storage units in the main memory 7 according to the program.

ストレージ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 storage 8 include HDD (Hard Disk Drive), SSD (Solid State Drive), magnetic disk, optical magnetic disk, CD-ROM (Compact Disk Read Only Memory), DVD-ROM (Digital Versaille Disk Read). , Semiconductor memory and the like. The storage 8 may be internal media directly connected to the bus of computer 5, or external media connected to computer 5 via an interface 9 or a communication line. When this program is distributed to the computer 5 via a communication line, the distributed computer 5 may expand the program in the main memory 7 and execute the above processing. In at least one embodiment, the storage 8 is a non-temporary tangible storage medium.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例であり、発明の範囲を限定しない。これらの実施形態は、発明の要旨を逸脱しない範囲で、追加、種々の省略、置き換え、変更を行ってよい。 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 ... Label printer 5 ... Computer 6 ... CPU
7 ... Main memory 8 ... Storage 9 ... Interface 10 ... Light emitting unit 20 ... Light receiving unit 30 ... Signal processing unit 31 ... Notification unit 40 ... Roll paper 50 ... -Mount 60 ... Label 71 ... 1st roller 72 ... 2nd roller 73 ... 3rd roller 74 ... 4th roller 80 ... Slit-shaped belt 81 ... Rotation conversion mechanism 82 ... Slit-shaped disk 83 ... Rotating shaft 90 ... Printing unit 101 ... Light emitting diode 102, 202 ... Resistance 201 ... Phototransistor 301 ... First comparator 302 ... Second Comparator 303 ... Frequency counter 304 ... Near-end determination unit VDD ... Power supply voltage LED ... Ground

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 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 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.
芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記芯部の回転軸を別の回転軸に変換する回転変換機構と、前記回転変換機構によって変換される変換後の回転軸を中心に回転する前記台紙に盤面が平行なスリット状円盤と、を備えるラベルプリンタの制御方法であって、 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 label including a rotation conversion mechanism that converts the rotation axis of the unit into another rotation axis, and a slit-shaped disk whose surface is parallel to the mount that rotates around the conversion rotation axis converted by the rotation conversion mechanism. It ’s a printer control method.
前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出することと、 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.
芯部に巻き付けられたロール紙から送り出される台紙であって複数のラベルが所定の間隔を隔てて設けられる前記台紙を搬送方向に搬送する搬送部と、光を検出する光検出部と、前記芯部の回転軸を別の回転軸に変換する回転変換機構と、前記回転変換機構によって変換される変換後の回転軸を中心に回転する前記台紙に盤面が平行なスリット状円盤と、を備え、前記光検出部が前記ロール紙の上方から前記ロール紙に向けられて当てられた前記光を前記スリット状円盤の下方において検出するラベルプリンタが含むコンピュータに、 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. It is provided with a rotation conversion mechanism that converts the rotation axis of the unit into another rotation axis, and a slit-shaped disk whose surface is parallel to the mount that rotates around the conversion rotation axis converted by the rotation conversion mechanism. A computer including a label printer that detects the light applied to the roll paper from above the roll paper by the light detection unit 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,
を実行させるプログラム。 A program that executes.
JP2017043638A 2017-03-08 2017-03-08 Label printers, label printer control methods and programs Expired - Fee Related JP6923247B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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