[go: up one dir, main page]

JP2024068419A - Printing device and edge detection device - Google Patents

Printing device and edge detection device Download PDF

Info

Publication number
JP2024068419A
JP2024068419A JP2022178856A JP2022178856A JP2024068419A JP 2024068419 A JP2024068419 A JP 2024068419A JP 2022178856 A JP2022178856 A JP 2022178856A JP 2022178856 A JP2022178856 A JP 2022178856A JP 2024068419 A JP2024068419 A JP 2024068419A
Authority
JP
Japan
Prior art keywords
light
label
amount
emitting element
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.)
Pending
Application number
JP2022178856A
Other languages
Japanese (ja)
Inventor
敦志 松中
Atsushi Matsunaka
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2022178856A priority Critical patent/JP2024068419A/en
Publication of JP2024068419A publication Critical patent/JP2024068419A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

【課題】1個の透過型センサを用いて、台紙の端とラベルの端とを検知できる、印刷装置および端検知装置を提供する。【解決手段】透過型センサ31の検知位置における台紙Pの有無により、発光素子32の発光量に対する受光素子33の受光量が変化するので、その受光量の変化から台紙Pの端を検知することができる。また、透過型センサ31の検知位置におけるラベルLの有無により、発光素子32の発光量に対する受光素子33の受光量が変化するので、その受光量の変化からラベルLの端を検知することができる。台紙Pの透過率と台紙Pに貼られたラベルLの透過率とに差があるので、台紙Pの端を検知するときには、発光素子32を第1発光量E1で発光させ、ラベルLの端を検知するときには、発光素子32を第1発光量E1とは異なる第2発光量E2で発光させる。【選択図】図6[Problem] To provide a printing device and an edge detection device capable of detecting the edge of a backing paper and the edge of a label using one transmission sensor. [Solution] The presence or absence of a backing paper P at the detection position of the transmission sensor 31 changes the amount of light received by the light receiving element 33 relative to the amount of light emitted by the light emitting element 32, so that the edge of the backing paper P can be detected from the change in the amount of received light. Also, the presence or absence of a label L at the detection position of the transmission sensor 31 changes the amount of light received by the light receiving element 33 relative to the amount of light emitted by the light emitting element 32, so that the edge of the label L can be detected from the change in the amount of received light. Since there is a difference between the transmittance of the backing paper P and the transmittance of the label L affixed to the backing paper P, when detecting the edge of the backing paper P, the light emitting element 32 is caused to emit light with a first light emission amount E1, and when detecting the edge of the label L, the light emitting element 32 is caused to emit light with a second light emission amount E2 different from the first light emission amount E1. [Selected Figure] Fig. 6

Description

本発明は、印刷装置および端検知装置に関する。 The present invention relates to a printing device and an edge detection device.

従来、ロール状に巻回された長尺のラベル紙を送り出しつつ、ラベル紙の台紙上にその長手方向に並んで設けられたラベルに順次に画像を印刷するプリンタが知られている。 A printer is known that prints images sequentially onto labels arranged in the longitudinal direction on a label paper backing while feeding out a long, rolled label paper.

この種のプリンタの一例では、各ラベルにおける印刷開始位置を決定するため、ラベル紙を透過する光量に応じた電気信号を出力する透過型センサと、ラベル紙で反射する光量に応じた電気信号を出力する反射型センサとが備えられている。台紙の有無で透過型センサの受光量が変化するので、透過型センサにより台紙の先端を検知できる。また、そのプリンタで使用されるラベル紙には、各ラベルの搬送方向(台紙の長手方向)の端に対して一定の位置にマークが付されている。マークの境界で反射光量が変化するので、反射型センサによりマークの端を検知できる。1枚目(先頭)のラベルにおける印刷開始位置は、台紙の先端の位置を基準に決定され、2枚目以降のラベルにおける印刷開始位置は、マークの端の位置を基準に決定される。 In one example of this type of printer, in order to determine the print start position for each label, a transmission sensor outputs an electrical signal according to the amount of light that passes through the label paper, and a reflective sensor outputs an electrical signal according to the amount of light reflected by the label paper. The amount of light received by the transmission sensor changes depending on whether a backing paper is present or not, so the transmission sensor can detect the leading edge of the backing paper. The label paper used in this printer also has marks at fixed positions relative to the edge of each label in the transport direction (longitudinal direction of the backing paper). The amount of reflected light changes at the boundary of the marks, so the reflective sensor can detect the edge of the mark. The print start position for the first (leading) label is determined based on the leading edge of the backing paper, and the print start positions for the second and subsequent labels are determined based on the edge of the mark.

特開2002-47641号公報JP 2002-47641 A

ところが、前述のプリンタでは、透過型センサおよび反射型センサの2個の検知部が必要である。 However, the printer mentioned above requires two detection units: a transmissive sensor and a reflective sensor.

本発明の目的は、1個の透過型センサを用いて、台紙の端とラベルの端とを検知できる、印刷装置および端検知装置を提供することである。 The object of the present invention is to provide a printing device and an edge detection device that can detect the edge of a backing sheet and the edge of a label using a single transmission sensor.

前記の目的を達成するため、本発明の一の局面に係る印刷装置は、複数のラベルが台紙に搬送方向に並べて貼られたラベル紙を、搬送路に沿って搬送方向に搬送する搬送部と、ラベルに画像を印刷する印刷部と、搬送路を挟んで対向する発光素子および受光素子を含み、発光素子からの光を受光素子で受光する透過型センサと、制御部とを備え、制御部は、発光素子を第1発光量で発光させて、搬送部によるラベル紙の搬送中における受光素子の受光量の変化から、台紙の端を検知し、発光素子を第1発光量と異なる第2発光量で発光させて、搬送部によるラベル紙の搬送中における受光素子の受光量の変化から、ラベルの端を検知する。 In order to achieve the above object, a printing device according to one aspect of the present invention includes a conveying section that conveys label paper, on which multiple labels are attached to a backing paper in a line in the conveying direction, along a conveying path in the conveying direction; a printing section that prints images on the labels; a transmission sensor including a light-emitting element and a light-receiving element that face each other across the conveying path and that receives light from the light-emitting element with the light-receiving element; and a control section, in which the control section causes the light-emitting element to emit light at a first light emission amount, and detects the edge of the backing paper from a change in the amount of light received by the light-receiving element while the label paper is being conveyed by the conveying section, and causes the light-emitting element to emit light at a second light emission amount different from the first light emission amount, and detects the edge of the label from a change in the amount of light received by the light-receiving element while the label paper is being conveyed by the conveying section.

この構成によれば、ラベル紙の台紙には、複数のラベルが並べて貼られている。ラベル紙は、搬送路に沿って、ラベルの並び方向である搬送方向に搬送される。搬送路を挟んだ一方側および他方側に、それぞれ透過型センサの発光素子および受光素子が配置されている。 According to this configuration, multiple labels are affixed to the label paper backing in a row. The label paper is transported along the transport path in the transport direction in which the labels are arranged. The light emitting element and light receiving element of the transmission sensor are arranged on one side and the other side of the transport path, respectively.

発光素子から受光素子に至る光路上における台紙の有無により、発光素子の発光量に対する受光素子の受光量が変化するので、その受光量の変化から台紙の端を検知することができる。また、発光素子から受光素子に至る光路上におけるラベルの有無により、発光素子の発光量に対する受光素子の受光量が変化するので、その受光量の変化からラベルの端を検知することができる。台紙の透過率(透過度)と台紙に貼られたラベルの透過率とに差があるので、台紙の端を検知する際とラベルの端を検知する際とで発光素子の発光量を異ならせることにより、受光素子の受光量の変化から台紙の端およびラベルの端を良好に検知することができる。 The presence or absence of a backing sheet on the optical path from the light-emitting element to the light-receiving element changes the amount of light received by the light-receiving element relative to the amount of light emitted by the light-emitting element, so the edge of the backing sheet can be detected from the change in the amount of light received. Also, the presence or absence of a label on the optical path from the light-emitting element to the light-receiving element changes the amount of light received by the light-receiving element relative to the amount of light emitted by the light-emitting element, so the edge of the label can be detected from the change in the amount of light received. Since there is a difference between the transmittance (degree of transparency) of the backing sheet and the transmittance of the label affixed to the backing sheet, by making the amount of light emitted by the light-emitting element different when detecting the edge of the backing sheet and when detecting the edge of the label, the edge of the backing sheet and the edge of the label can be detected well from the change in the amount of light received by the light-receiving element.

よって、1個の透過型センサを用いて、台紙の端とラベルの端との両方を検知することができる。 Therefore, a single transmission sensor can be used to detect both the edge of the backing paper and the edge of the label.

また、台紙に各ラベルに対する一定の位置にマークが付されていなくても、台紙の端および各ラベルの端を検知できるので、豊富な種類のラベル紙を印刷装置で使用することができる。 In addition, even if the backing paper does not have marks at specific positions for each label, the edges of the backing paper and each label can be detected, so a wide variety of label papers can be used with the printing device.

本発明の他の局面に係る端検知装置は、複数のラベルが台紙に搬送方向に並べて貼られたラベル紙を、搬送路に沿って搬送方向に搬送する搬送部と、搬送路を挟んで対向する発光素子および受光素子を含み、発光素子からの光を受光素子で受光する透過型センサと、制御部とを備え、制御部は、発光素子を第1発光量で発光させて、搬送部によるラベル紙の搬送中における受光素子の受光量の変化から、台紙の端を検知し、発光素子を第1発光量と異なる第2発光量で発光させて、搬送部によるラベル紙の搬送中における受光素子の受光量の変化から、ラベルの端を検知する。 An edge detection device according to another aspect of the present invention includes a conveying section that conveys label paper, on which multiple labels are affixed to a backing paper in a line in the conveying direction, along a conveying path in the conveying direction; a transmission sensor including a light-emitting element and a light-receiving element that face each other across the conveying path and that receives light from the light-emitting element with the light-receiving element; and a control section, in which the control section causes the light-emitting element to emit light at a first light emission amount and detects the edge of the backing paper from a change in the amount of light received by the light-receiving element while the label paper is being conveyed by the conveying section, and causes the light-emitting element to emit light at a second light emission amount different from the first light emission amount and detects the edge of the label from a change in the amount of light received by the light-receiving element while the label paper is being conveyed by the conveying section.

この端検知装置によって、前述の印刷装置と同様、1個の透過型センサを用いて、台紙の端とラベルの端との両方を検知することができる。 This edge detection device can detect both the edge of the backing paper and the edge of the label using a single transmission sensor, just like the printing device described above.

本発明によれば、1個の透過型センサを用いて、台紙の端とラベルの端との両方を検知することができる。 According to the present invention, it is possible to detect both the edge of the backing paper and the edge of the label using a single transmission sensor.

本発明の一実施形態に係るラベルプリンタの構成を図解的に示す断面図である。1 is a cross-sectional view diagrammatically illustrating a configuration of a label printer according to an embodiment of the present invention. ラベルプリンタの電気的構成の要部を示すブロック図である。FIG. 2 is a block diagram showing a main part of the electrical configuration of the label printer. ラベルプリンタの動作の流れを示す図である。FIG. 4 is a diagram illustrating the flow of operations of the label printer. 透過型センサの検知位置にラベル紙の台紙が存在するときと検知位置にラベル紙が存在しないときとの受光素子の受光量に差がない場合の受光量の変化を示す図である。13 is a diagram showing changes in the amount of light received when there is no difference in the amount of light received by the light receiving element between when a label paper backing is present at the detection position of the transmission sensor and when no label paper is present at the detection position. FIG. 透過型センサの発光量と受光量との関係を示す図である。FIG. 4 is a diagram showing the relationship between the amount of light emitted and the amount of light received by a transmission type sensor. 透過型センサの検知位置にラベル紙の台紙が存在するときと検知位置にラベル紙が存在しないときとの受光素子の受光量に差がある場合の受光量の変化を示す図である。13A and 13B are diagrams illustrating changes in the amount of light received when there is a difference in the amount of light received by the light receiving element between when a label paper backing is present at the detection position of the transmission sensor and when no label paper is present at the detection position.

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。 The following describes in detail an embodiment of the present invention with reference to the attached drawings.

<ラベルプリンタの全体構成>
ラベルプリンタ1(印刷装置および端検知装置の一例)は、図1に示されるように、長尺のラベル紙LPを搬送しつつ、ラベル紙LPの台紙P上にラベル紙LPの長手方向に並べて設けられたラベルLに順次に画像を印刷する装置である。ラベルプリンタ1は、外殻をなす筐体11を備えており、筐体11の側面には、ラベル紙LPを排出する排出口12が形成されている。
<Overall configuration of label printer>
1, a label printer 1 (an example of a printing device and an edge detection device) is a device that transports long label paper LP and sequentially prints images on labels L that are arranged in the longitudinal direction of the label paper LP on a backing P of the label paper LP. The label printer 1 has a housing 11 that forms an outer shell, and an outlet 12 for discharging the label paper LP is formed on the side of the housing 11.

なお、排出口12が形成されている側をラベルプリンタ1の前側と規定し、その反対側を後側と規定する。また、ラベルプリンタ1の上下は、ラベルプリンタ1が水平面上に設置された状態で規定し、その水平面上に設置されたラベルプリンタ1を前側から見て、ラベルプリンタ1の左右を規定する。図1に示される断面図は、ラベルプリンタ1を前後方向に延びる切断面で切断した断面を右側から見た図である。 The side where the discharge port 12 is formed is defined as the front side of the label printer 1, and the opposite side is defined as the rear side. The top and bottom of the label printer 1 are defined when the label printer 1 is placed on a horizontal surface, and the left and right of the label printer 1 are defined when the label printer 1 placed on the horizontal surface is viewed from the front side. The cross-sectional view shown in Figure 1 is a cross-section of the label printer 1 cut along a cutting plane extending in the front-to-rear direction, viewed from the right side.

ラベル紙LPは、ラベルLを外側に向けてロール芯に巻回されたロールの形態で提供される。筐体11内には、ラベル紙LPのロールを保持するロールホルダ13が設けられている。ロールホルダ13は、中心線が左右方向に延びる円柱状を有している。ラベル紙LPのロール芯がロールホルダ13に外嵌されて、ロール芯がロールホルダ13に固定されることにより、ラベル紙LPのロールがロールホルダ13に保持される。 The label paper LP is provided in the form of a roll, with the label L facing outwards, wound around a roll core. A roll holder 13 that holds the roll of label paper LP is provided inside the housing 11. The roll holder 13 has a cylindrical shape with a centre line extending in the left-right direction. The roll core of the label paper LP is fitted onto the roll holder 13 and fixed to the roll holder 13, thereby holding the roll of label paper LP in the roll holder 13.

筐体11内には、方向変更ガイド14が設けられている。方向変更ガイド14は、ロールホルダ13の後上方かつ排出口12の後方の位置に配置されて、後上方に膨出する円弧状をなしている。 A direction change guide 14 is provided inside the housing 11. The direction change guide 14 is located above and rearward of the roll holder 13 and behind the discharge port 12, and has an arc shape that bulges upward and rearward.

また、筐体11内には、排出口12と方向変更ガイド14との間に、搬送路15が設定されている。搬送路15は、方向変更ガイド14の前端から排出口12に向けて、直線状に延びている。 In addition, a transport path 15 is set between the discharge opening 12 and the direction change guide 14 inside the housing 11. The transport path 15 extends linearly from the front end of the direction change guide 14 toward the discharge opening 12.

方向変更ガイド14に対して前側に間隔を空けた位置に、搬送ローラ21(搬送部の一例)が設けられている。搬送ローラ21は、駆動ローラ22および従動ローラ23の対からなる。駆動ローラ22および従動ローラ23は、それぞれ左右方向に延びる回転軸線を中心に回転可能に設けられ、それらの周面が搬送路15を挟んで互いに当接している。駆動ローラ22は、搬送路15の下側に配置され、従動ローラ23は、搬送路15の上側に配置されている。 A transport roller 21 (an example of a transport section) is provided at a position spaced forward from the direction change guide 14. The transport roller 21 is made up of a pair of a drive roller 22 and a driven roller 23. The drive roller 22 and the driven roller 23 are each rotatable about a rotation axis extending in the left-right direction, and their peripheral surfaces abut against each other with the transport path 15 in between. The drive roller 22 is disposed below the transport path 15, and the driven roller 23 is disposed above the transport path 15.

排出口12と搬送ローラ21との間であって、排出口12の近傍の位置には、排出ローラ24が設けられている。排出ローラ24は、駆動ローラ25および従動ローラ26の対からなる。駆動ローラ25および従動ローラ26は、それぞれ左右方向に延びる回転軸線を中心に回転可能に設けられ、それらの周面が搬送路15を挟んで互いに当接している。駆動ローラ25は、搬送路15の下側に配置され、従動ローラ26は、搬送路15の上側に配置されている。 Between the discharge port 12 and the transport rollers 21, and in the vicinity of the discharge port 12, the discharge rollers 24 are provided. The discharge rollers 24 are made up of a pair of a drive roller 25 and a driven roller 26. The drive roller 25 and the driven roller 26 are each provided rotatably about a rotation axis extending in the left-right direction, and their peripheral surfaces abut against each other with the transport path 15 in between. The drive roller 25 is disposed below the transport path 15, and the driven roller 26 is disposed above the transport path 15.

ラベル紙LPは、ロールホルダ13に保持されたロールから方向変更ガイド14の後側に向けて引き出され、方向変更ガイド14に沿わせることにより前側に方向を変えられる。そして、ラベル紙LPの先端部分が搬送ローラ21の駆動ローラ22と従動ローラ23との間に後側から差し込まれる。 The label paper LP is pulled from the roll held by the roll holder 13 toward the rear side of the direction change guide 14, and its direction is changed to the front side by aligning it with the direction change guide 14. Then, the leading end of the label paper LP is inserted from the rear side between the drive roller 22 and the driven roller 23 of the transport roller 21.

搬送ローラ21の駆動ローラ22および排出ローラ24の駆動ローラ25には、モータM(図2参照)の正転による回転力の伝達経路が接続されている。モータMが正転されて、その正転による回転力が駆動ローラ22,25に伝達されると、駆動ローラ22,25が右側から見て反時計回りに回転する。 The drive roller 22 of the conveyor roller 21 and the drive roller 25 of the discharge roller 24 are connected to a transmission path for the rotational force generated by the forward rotation of the motor M (see FIG. 2). When the motor M rotates forward and the rotational force generated by the forward rotation is transmitted to the drive rollers 22 and 25, the drive rollers 22 and 25 rotate counterclockwise when viewed from the right side.

ラベル紙LPが搬送ローラ21の駆動ローラ22と従動ローラ23との間に通された状態で、モータMの正転により駆動ローラ22が回転すると、駆動ローラ22の周面とラベル紙LP(台紙P)との接触点で生じる摩擦力の反力により、ラベル紙LPが搬送路15を搬送ローラ21から排出口12に向かう搬送方向に搬送される。従動ローラ23は、ラベル紙LPの移動に従動して回転する。 When the label paper LP is passed between the drive roller 22 and driven roller 23 of the transport roller 21 and the drive roller 22 rotates due to the forward rotation of the motor M, the label paper LP is transported along the transport path 15 in the transport direction from the transport roller 21 toward the discharge outlet 12 due to the reaction force of the frictional force generated at the contact point between the circumferential surface of the drive roller 22 and the label paper LP (backing paper P). The driven roller 23 rotates following the movement of the label paper LP.

ラベル紙LPが排出ローラ24の駆動ローラ25と従動ローラ26との間に通されていない状態では、従動ローラ26が駆動ローラ25の回転に従動して回転する。駆動ローラ25および従動ローラ26が回転した状態で、ラベル紙LPの先端が駆動ローラ25または従動ローラ26の少なくとも一方の周面に当接すると、ラベル紙LPが駆動ローラ25と従動ローラ26との間に引き込まれる。そして、ラベル紙LPは、駆動ローラ25の周面との接触点で生じる摩擦力の反力を受けつつ、駆動ローラ25と従動ローラ26との間を通過し、排出口12を通して筐体11外に排出されていく。 When the label paper LP is not passed between the drive roller 25 and the driven roller 26 of the discharge roller 24, the driven roller 26 rotates following the rotation of the drive roller 25. When the drive roller 25 and the driven roller 26 are rotating and the leading edge of the label paper LP abuts against the circumferential surface of at least one of the drive roller 25 or the driven roller 26, the label paper LP is pulled between the drive roller 25 and the driven roller 26. The label paper LP then passes between the drive roller 25 and the driven roller 26 while receiving a reaction force of the frictional force generated at the contact point with the circumferential surface of the drive roller 25, and is discharged outside the housing 11 through the discharge port 12.

また、ロールホルダ13には、モータMの逆転による回転力の伝達経路が接続されている。モータMが逆転されて、その逆転による回転力がロールホルダ13に伝達されると、ロールホルダ13が右側から見て時計回りに回転する。ラベル紙LPのロールがロールホルダ13と一体に回転することにより、ラベル紙LPは、ロールに巻き戻され、搬送方向と逆方向に搬送される。このとき、搬送ローラ21および排出ローラ24は、自由回転状態とされ、ラベル紙LPの移動に従動して回転する。 The roll holder 13 is also connected to a transmission path for the rotational force generated by the reverse rotation of the motor M. When the motor M is reversed and the rotational force generated by the reverse rotation is transmitted to the roll holder 13, the roll holder 13 rotates clockwise as viewed from the right side. As the roll of label paper LP rotates integrally with the roll holder 13, the label paper LP is rewound onto the roll and transported in the opposite direction to the transport direction. At this time, the transport rollers 21 and discharge rollers 24 are in a free rotating state and rotate in response to the movement of the label paper LP.

搬送ローラ21と排出ローラ24との間には、ヘッド27(印刷部の一例)およびCIS(Contact Image Sensor)ユニット28が設けられている。 Between the transport roller 21 and the discharge roller 24, a head 27 (an example of a printing unit) and a CIS (Contact Image Sensor) unit 28 are provided.

ヘッド27は、搬送路15の上側に配置されている。ヘッド27は、その位置が固定されたラインヘッドである。ヘッド27の下面には、複数のノズルが左右方向にラベルLの幅(搬送方向と直交する方向の長さ)と同等の長さにわたって配列されている。具体的には、ヘッド27の下面には、複数のノズルが左右方向に間隔を空けて並ぶことによりノズル列をなして、複数のノズル列が前後方向(搬送方向)に並列し、ノズル列間でノズルが左右方向に位置をずらして配置されている。ヘッド27は、ノズルから液体を選択的に吐出して、ラベルLに液滴を着滴させることによりドットを形成し、ドットからなる画像をラベルLに印刷する。 The head 27 is disposed above the transport path 15. The head 27 is a line head whose position is fixed. On the underside of the head 27, multiple nozzles are arranged in the left-right direction over a length equivalent to the width of the label L (the length in the direction perpendicular to the transport direction). Specifically, on the underside of the head 27, multiple nozzles are arranged at intervals in the left-right direction to form nozzle rows, and the multiple nozzle rows are parallel in the front-back direction (transport direction), with the nozzles being shifted in the left-right direction between the nozzle rows. The head 27 selectively ejects liquid from the nozzles, and forms dots by depositing droplets on the label L, and prints an image made of dots on the label L.

CISユニット28は、搬送路15の上側において、ヘッド27の前側に配置されている。CISユニット28は、ラベルLに印刷されている画像を読み取る。CISユニット28には、光源、ロッドレンズアレイおよびリニアイメージセンサが内蔵されている。リニアイメージセンサでは、複数の撮像素子(イメージセンサ)が主走査方向である左右方向に1列に並べられている。光源からラベルLにライン状の光が照射され、ラベルLで反射された光がロッドレンズアレイを通してリニアイメージセンサに入射することにより、ラベルLに印刷されている画像の主走査方向の1ラインが読み取られる。そして、ラベルLが搬送されつつ、ラベルLに印刷されている画像が1ラインずつ読み取られていくことにより、CISユニット28による画像の読み取りが達成される。 The CIS unit 28 is disposed above the transport path 15 and in front of the head 27. The CIS unit 28 reads the image printed on the label L. The CIS unit 28 has a built-in light source, a rod lens array, and a linear image sensor. In the linear image sensor, multiple imaging elements (image sensors) are arranged in a row in the left-right direction, which is the main scanning direction. A line of light is irradiated from the light source onto the label L, and the light reflected by the label L enters the linear image sensor through the rod lens array, thereby reading one line of the image printed on the label L in the main scanning direction. Then, while the label L is transported, the image printed on the label L is read line by line, thereby achieving image reading by the CIS unit 28.

また、搬送ローラ21とヘッド27との間に、透過型センサ31(光電センサの一例)が設けられている。透過型センサ31は、発光素子32(発光部の一例)および受光素子33(受光部の一例)を備えており、発光素子32および受光素子33は、搬送路15を挟んで上下に分かれて、搬送路15と交差する直線上に配置されている。たとえば、発光素子32は、搬送路15の下側に配置され、受光素子33は、搬送路15の上側に配置されている。発光素子32から出される光は、搬送路15を通過して、受光素子33に向かって進む。発光素子32からの光が受光素子33で受けられて、受光素子33から受光量に応じた信号電圧の電気信号が検知信号として出力される。 A transmission type sensor 31 (an example of a photoelectric sensor) is provided between the transport roller 21 and the head 27. The transmission type sensor 31 includes a light emitting element 32 (an example of a light emitting section) and a light receiving element 33 (an example of a light receiving section), and the light emitting element 32 and the light receiving element 33 are separated into upper and lower parts on either side of the transport path 15 and are arranged on a straight line intersecting the transport path 15. For example, the light emitting element 32 is arranged on the lower side of the transport path 15, and the light receiving element 33 is arranged on the upper side of the transport path 15. The light emitted from the light emitting element 32 passes through the transport path 15 and travels toward the light receiving element 33. The light from the light emitting element 32 is received by the light receiving element 33, and an electrical signal of a signal voltage corresponding to the amount of received light is output from the light receiving element 33 as a detection signal.

<電気的構成の要部>
ラベルプリンタ1は、図2に示されるように、コントローラ41(制御部の一例)を備えている。コントローラ41は、たとえば、ASIC(Application Specific Integrated Circuit)からなり、CPU(Central Processing Unit)42およびメモリ43を内蔵している。メモリ43には、フラッシュメモリなどの書き換え可能な不揮発性メモリと、DRAM(Dynamic Random Access Memory)などの揮発性メモリとが含まれる。不揮発性メモリには、CPU42によって実行されるプログラムおよび各種のデータなどが記憶されている。揮発性メモリは、CPU42がプログラムを実行する際のワークエリアとして使用される。
<Main parts of electrical configuration>
As shown in Fig. 2, the label printer 1 includes a controller 41 (an example of a control unit). The controller 41 is, for example, an ASIC (Application Specific Integrated Circuit) and includes a CPU (Central Processing Unit) 42 and a memory 43. The memory 43 includes a rewritable non-volatile memory such as a flash memory, and a volatile memory such as a DRAM (Dynamic Random Access Memory). The non-volatile memory stores programs executed by the CPU 42 and various data. The volatile memory is used as a work area when the CPU 42 executes a program.

コントローラ41には、透過型センサ31の検知信号が入力される。 The detection signal from the transmission sensor 31 is input to the controller 41.

また、搬送ローラ21の駆動ローラ22には、エンコーダ44が付随して設けられており、コントローラ41には、エンコーダ44から駆動ローラ22の回転に同期したパルス信号であるエンコーダ信号が入力される。CPU42は、メモリ43の揮発性メモリをステップ数カウンタとして使用し、エンコーダ信号のパルス数をステップ数カウンタでカウントして、そのカウント数からラベル紙LPの位置を把握することができる。 An encoder 44 is also provided to the drive roller 22 of the transport roller 21, and an encoder signal, which is a pulse signal synchronized with the rotation of the drive roller 22, is input from the encoder 44 to the controller 41. The CPU 42 uses the volatile memory of the memory 43 as a step number counter, and counts the number of pulses of the encoder signal with the step number counter, and can determine the position of the label paper LP from the count number.

ラベルプリンタ1は、PC(Personal Computer)などの外部端末との通信のための通信インタフェース45を備えている。通信インタフェース45は、外部端末とUSB(Universal Serial Bus)ケーブルまたはLAN(Local Area Network)ケーブルなどのケーブルを介して有線通信する構成であってもよいし、電波を介して無線通信する構成であってもよい。通信インタフェース45は、コントローラ41と接続されている。 The label printer 1 is equipped with a communication interface 45 for communicating with an external terminal such as a PC (Personal Computer). The communication interface 45 may be configured for wired communication with the external terminal via a cable such as a USB (Universal Serial Bus) cable or a LAN (Local Area Network) cable, or may be configured for wireless communication via radio waves. The communication interface 45 is connected to the controller 41.

コントローラ41は、透過型センサ31、エンコーダ44および通信インタフェース45などから入力される信号やデータに基づいて、ヘッド27およびモータMなど、ラベルプリンタ1の各部の動作を制御する。 The controller 41 controls the operation of each part of the label printer 1, such as the head 27 and the motor M, based on signals and data input from the transmission sensor 31, the encoder 44, the communication interface 45, etc.

<ラベルプリンタの動作>
ラベルプリンタ1の筐体11には、図示されていないが、ラベルプリンタ1の電源のオンおよびオフを切り替えるための電源スイッチが設けられている。ラベルプリンタ1の使用に際しては、ユーザが電源スイッチを操作して、図3に示されるように、ラベルプリンタ1の電源をオンにする。
<Label printer operation>
Although not shown, a power switch for turning on and off the power of the label printer 1 is provided on the housing 11 of the label printer 1. When using the label printer 1, the user operates the power switch to turn on the power of the label printer 1, as shown in FIG.

また、ユーザがラベル紙LPをラベルプリンタ1にセットする。すなわち、ユーザは、ラベル紙LPのロールのロール芯をロールホルダ13に外嵌させて、ロール芯をロールホルダ13に固定した後、ラベル紙LPのロールからラベル紙LPを方向変更ガイド14の後側に引き出す。その後、ユーザは、ラベル紙LPを方向変更ガイド14の後側から方向変更ガイド14に沿わせて前側にさらに引き出す。そして、ユーザは、ラベル紙LPの先端部分を搬送ローラ21の駆動ローラ22と従動ローラ23との間に後側から差し込み、ラベル紙LPの端を駆動ローラ22と従動ローラ23との間よりも前側に位置させる。 The user also sets the label paper LP in the label printer 1. That is, the user fits the roll core of the label paper LP roll onto the roll holder 13, fixes the roll core to the roll holder 13, and then pulls the label paper LP from the roll to the rear side of the direction change guide 14. The user then pulls the label paper LP further from the rear side of the direction change guide 14 to the front side along the direction change guide 14. The user then inserts the leading end of the label paper LP from the rear side between the drive roller 22 and driven roller 23 of the transport roller 21, and positions the end of the label paper LP forward of the gap between the drive roller 22 and driven roller 23.

ラベル紙LPがセットされると、テンションイニシャライズ動作が行われる。テンションイニシャライズ動作では、コントローラ41(CPU42)は、モータMを一定の初期回転量だけ正転駆動させる(S11)。モータMの初期回転量の正転により、ラベル紙LPの端が排出口12に向かう搬送方向(以下、「正転搬送方向」という。)に所定量だけ移動する。初期回転量は、ユーザによってセットされたラベル紙LPの端の位置にかかわらず、モータMの初期回転量の正転により、ラベル紙LP(台紙P)の端が透過型センサ31の検知位置、つまり透過型センサ31の発光素子32から受光素子33に至る光路の位置より前側に到達するように設定される。 When the label paper LP is set, a tension initialization operation is performed. In the tension initialization operation, the controller 41 (CPU 42) drives the motor M to rotate in the forward direction by a fixed initial rotation amount (S11). The forward rotation of the initial rotation amount of the motor M moves the edge of the label paper LP by a predetermined amount in the conveying direction toward the discharge outlet 12 (hereinafter referred to as the "forward conveying direction"). The initial rotation amount is set so that the forward rotation of the initial rotation amount of the motor M causes the edge of the label paper LP (backing paper P) to reach the detection position of the transmission sensor 31, that is, the position of the optical path from the light emitting element 32 to the light receiving element 33 of the transmission sensor 31, regardless of the position of the edge of the label paper LP set by the user.

その後、コントローラ41は、モータMを一定の微小回転量だけ逆転させる(S12)。モータMの微小回転量の逆転により、ラベル紙LPがロールに巻き戻され、ラベル紙LPの端が搬送方向と逆方向(以下、「逆転搬送方向」という。)に一定の巻き戻し量だけ移動する。 Then, the controller 41 reverses the motor M by a fixed, small amount of rotation (S12). By reversing the motor M by a small amount of rotation, the label paper LP is rewound onto the roll, and the end of the label paper LP moves by a fixed amount of rewinding in the direction opposite to the conveying direction (hereinafter referred to as the "reverse conveying direction").

モータMの微小回転量の逆転後、コントローラ41は、モータMの微小回転量の逆転中にラベル紙LPの台紙Pの端を検知したか否かを判断する(S13)。 After the motor M has reversed its rotation by the small amount, the controller 41 determines whether or not the end of the backing P of the label paper LP has been detected during the small amount of reversal of the motor M's rotation (S13).

透過型センサ31の検知位置にラベル紙LPが存在せず、透過型センサ31の発光素子32からの光がラベル紙LPの台紙Pに照射されないとき、図4に示されるように、受光素子33による受光量が最大になる。 When there is no label paper LP at the detection position of the transmission sensor 31 and light from the light-emitting element 32 of the transmission sensor 31 is not irradiated onto the backing P of the label paper LP, the amount of light received by the light-receiving element 33 becomes maximum, as shown in Figure 4.

透過型センサ31の検知位置にラベル紙LPのラベルLが存在せず、検知位置にラベル紙LPの台紙Pが存在するとき、検知位置にラベル紙LPが存在しないときと発光素子32の発光量が同じであれば、受光素子33による受光量が最大から台紙Pの透過率に応じて低下する。 When the label L of the label paper LP is not present at the detection position of the transmission sensor 31, but the backing P of the label paper LP is present at the detection position, if the amount of light emitted by the light-emitting element 32 is the same as when the label paper LP is not present at the detection position, the amount of light received by the light-receiving element 33 decreases from a maximum according to the transmittance of the backing P.

透過型センサ31の検知位置にラベル紙LPのラベルLが存在するとき、検知位置にラベル紙LPが存在しないときと発光素子32の発光量が同じであっても、ラベル紙LPを透過する発光素子32からの光の量が激減し、受光素子33による受光量が最大から大きく低下して最小になる。 When a label L of the label paper LP is present at the detection position of the transmission sensor 31, even if the amount of light emitted by the light-emitting element 32 is the same as when the label paper LP is not present at the detection position, the amount of light from the light-emitting element 32 that passes through the label paper LP is drastically reduced, and the amount of light received by the light-receiving element 33 drops significantly from a maximum to a minimum.

したがって、台紙Pの端が透過型センサ31の検知位置よりも前側に位置する状態からラベル紙LPが逆転搬送方向に搬送されるときに、透過型センサ31の検知信号の信号電圧(受光素子33の受光量に応じた信号電圧)が予め設定された台紙端検知用閾値まで低下したことを以て、コントローラ41は、台紙Pの端を検知したと判断できる。 Therefore, when the label paper LP is transported in the reverse transport direction from a state in which the edge of the backing paper P is located forward of the detection position of the transmission sensor 31, the controller 41 can determine that the edge of the backing paper P has been detected when the signal voltage of the detection signal of the transmission sensor 31 (the signal voltage according to the amount of light received by the light receiving element 33) drops to a preset threshold value for detecting the edge of the backing paper.

ところが、台紙Pの透過率が1に近いと、発光素子32の発光量の設定によっては、透過型センサ31の検知位置に台紙Pが到達しても、受光素子33の受光量の低下量が小さく、受光量に応じた信号電圧が台紙端検知用閾値まで低下しないために、台紙Pの端を検知できない。そのため、ラベル紙LPの逆転搬送方向の搬送時に、透過型センサ31の検知位置に到達した最前(先頭)のラベルLの後端(逆転搬送方向の下流端)を台紙Pの端として誤検知される。その結果、ラベル紙LPは、最前のラベルLの後端が透過型センサ31の検知位置とほぼ同じホームポジションに位置し、台紙Pの端がホームポジションに位置していない状態で停止する。 However, when the transmittance of the backing paper P is close to 1, depending on the setting of the light emission amount of the light-emitting element 32, even if the backing paper P reaches the detection position of the transmission sensor 31, the amount of decrease in the amount of light received by the light-receiving element 33 is small, and the signal voltage corresponding to the amount of light received does not decrease to the threshold value for detecting the end of the backing paper, so the end of the backing paper P cannot be detected. Therefore, when the label paper LP is transported in the reverse transport direction, the rear end (downstream end in the reverse transport direction) of the foremost (leading) label L that reaches the detection position of the transmission sensor 31 is erroneously detected as the end of the backing paper P. As a result, the label paper LP stops with the rear end of the foremost label L located at the home position that is almost the same as the detection position of the transmission sensor 31, and the end of the backing paper P not located at the home position.

そこで、コントローラ41は、台紙Pの端を検知するときには、透過型センサ31の発光素子32を第1発光量E1で発光させる。第1発光量E1は、図5に示されるように、透過型センサ31の検知位置(発光素子32から受光素子33に至る光路上)にラベル紙LP(台紙P)が存在しない状態で、発光素子32の発光量を所定量から上昇させて、受光素子33による受光量が飽和したときの発光素子32の発光量である。 Therefore, when the controller 41 detects the edge of the backing paper P, it causes the light-emitting element 32 of the transmission sensor 31 to emit light at the first light emission amount E1. As shown in FIG. 5, the first light emission amount E1 is the light emission amount of the light-emitting element 32 when the light-emitting element 32 is increased from a predetermined amount and the light-receiving element 33 receives a saturated amount of light in a state where the label paper LP (backing paper P) is not present at the detection position of the transmission sensor 31 (on the optical path from the light-emitting element 32 to the light-receiving element 33).

発光素子32を第1発光量E1で発光させることにより、図6に示されるように、透過型センサ31の検知位置にラベル紙LPが存在しないときには、受光素子33の受光量が最大となり、透過型センサ31の検知位置に台紙Pが存在するときには、受光素子33の受光量が受光量R1となる。したがって、台紙Pの端が透過型センサ31の検知位置よりも前側に位置する状態からラベル紙LPが逆転搬送方向に搬送されて、台紙Pの端が透過型センサ31の検知位置に到達すると、受光素子33の受光量に応じた信号電圧が台紙端検知用閾値よりも小さい受光量R1に応じた信号電圧から最大まで上昇する。よって、コントローラ41は、台紙Pの端を検知することができる。 By making the light emitting element 32 emit light at the first light emission amount E1, as shown in FIG. 6, when the label paper LP is not present at the detection position of the transmission sensor 31, the amount of light received by the light receiving element 33 is maximum, and when the liner P is present at the detection position of the transmission sensor 31, the amount of light received by the light receiving element 33 is light reception amount R1. Therefore, when the label paper LP is transported in the reverse transport direction from a state in which the end of the liner P is located forward of the detection position of the transmission sensor 31, and the end of the liner P reaches the detection position of the transmission sensor 31, the signal voltage according to the amount of light received by the light receiving element 33 increases from the signal voltage according to the amount of light received R1, which is smaller than the liner end detection threshold, to the maximum. Therefore, the controller 41 can detect the end of the liner P.

コントローラ41は、台紙Pの端を検知していないと判断した場合(S13:NO)、モータMを微小回転量だけ逆転させて(S12)、モータMの微小回転量の逆転中に台紙Pの端を検知したか否かを判断する(S13)。これにより、コントローラ41がモータMの微小回転量の逆転中に台紙Pの端を検知したと判断するまで、モータMの微小回転量の逆転が繰り返される。 When the controller 41 determines that the edge of the backing paper P has not been detected (S13: NO), it reverses the motor M by a small amount of rotation (S12) and determines whether or not the edge of the backing paper P has been detected during the small amount of reversal of the motor M (S13). As a result, the reversal of the small amount of rotation of the motor M is repeated until the controller 41 determines that the edge of the backing paper P has been detected during the small amount of reversal of the motor M.

コントローラ41は、モータMの微小回転量の逆転中に台紙Pの端を検知したと判断すると(S13:YES)、台紙Pの端が透過型センサ31の検知位置からその検知位置に対して逆転搬送方向の下流に設定されたホームポジションに到達するまで、モータMの微小回転量の逆転を繰り返す。そして、コントローラ41は、台紙Pの端がホームポジションに到達するタイミングで、モータMの微小回転量の逆転を終了する(S14)。 When the controller 41 determines that the edge of the backing paper P has been detected during the small amount of rotation reversal of the motor M (S13: YES), it repeats the small amount of rotation reversal of the motor M until the edge of the backing paper P reaches a home position set downstream in the reverse conveying direction from the detection position of the transmission sensor 31. Then, the controller 41 ends the small amount of rotation reversal of the motor M at the timing when the edge of the backing paper P reaches the home position (S14).

このように、コントローラ41がモータMの微小回転量の逆転中に台紙Pの端を検知したと判断するまで、モータMの微小回転量の逆転が繰り返され、コントローラ41がモータMの微小回転量の逆転中に台紙Pの端を検知したと判断すると、台紙Pの端が透過型センサ31の検知位置からその検知位置に対して逆転搬送方向の下流に設定されたホームポジションに到達するまで、ラベル紙LPが逆転搬送方向に搬送される。これにより、ラベル紙LPは、その端がホームポジションに位置した状態で停止し、ラベル紙LPが搬送ローラ21の駆動ローラ22と従動ローラ23との間から後側に抜けることがない。 In this way, the motor M is repeatedly rotated in the small amount until the controller 41 determines that the end of the backing paper P has been detected during the small amount of rotation of the motor M. When the controller 41 determines that the end of the backing paper P has been detected during the small amount of rotation of the motor M, the label paper LP is transported in the reverse transport direction until the end of the backing paper P reaches a home position set downstream in the reverse transport direction from the detection position of the transmission sensor 31. This causes the label paper LP to stop with its end located at the home position, and the label paper LP does not slip out from between the drive roller 22 and driven roller 23 of the transport roller 21 to the rear.

印刷(印刷ジョブ)の開始に際しては、たとえば、外部端末から通信インタフェース45を介してコントローラ41に、印刷指示とともに、各ラベルLに印刷される画像のラスタデータが入力される。ラスタデータは、ラスタ画像のデータであり、メモリ43に設定された画像メモリ領域に書き込まれる。少なくとも1ページ分のラスタデータがメモリ43に書き込まれると、ラベルLに画像を印刷する印刷動作を開始することができる。印刷動作中、コントローラ41は、モータMを正転させ(S21)、ヘッド27の動作を制御する。 When printing (a print job) begins, for example, raster data of the image to be printed on each label L is input to the controller 41 from an external terminal via the communication interface 45 along with a print command. The raster data is data of a raster image, and is written to an image memory area set in the memory 43. When at least one page of raster data has been written to the memory 43, the printing operation of printing the image on the label L can be started. During the printing operation, the controller 41 rotates the motor M in the forward direction (S21) and controls the operation of the head 27.

各ラベルLに画像が位置精度よく印刷されるためには、コントローラ41が各ラベルLの先端の位置を把握する必要がある。 In order to print an image on each label L with good positional accuracy, the controller 41 needs to know the position of the leading edge of each label L.

ラベルLへの画像の印刷時には、コントローラ41は、透過型センサ31の検知信号から、ラベルLの先端を検知する。 When printing an image on the label L, the controller 41 detects the leading edge of the label L from the detection signal of the transmission sensor 31.

透過型センサ31の検知位置にラベル紙LPの台紙Pが存在している状態から、ラベル紙LPが正転搬送方向に搬送されて、ラベルLの先端が検知位置に到達すると、受光素子33の受光量が低下する。したがって、透過型センサ31の検知信号の信号電圧(受光量に応じた信号電圧)が予め設定されたラベル端検知用閾値まで低下したことを以て、コントローラ41は、ラベルLの先端を検知したと判断できる。 When the label paper LP is transported in the forward transport direction from a state in which the backing P of the label paper LP is present at the detection position of the transmission sensor 31, and the leading edge of the label L reaches the detection position, the amount of light received by the light receiving element 33 decreases. Therefore, when the signal voltage of the detection signal of the transmission sensor 31 (signal voltage according to the amount of light received) decreases to a preset threshold value for detecting the label end, the controller 41 can determine that the leading edge of the label L has been detected.

ところが、透過型センサ31の発光素子32の発光量が第1発光量E1であると、図5に示されるように、ラベルLの先端が透過型センサ31の検知位置に到達したことに応じて、透過型センサ31の受光素子33の受光量が受光量R1から受光量R2に低下する。たとえば、テンションイニシャライズ動作中に、コントローラ41により、透過型センサ31の検知位置に台紙Pが存在するときの受光量R1に応じた信号電圧と、検知位置にラベルLが存在するときの受光量R2に応じた信号電圧とが読み取られて、それらの信号電圧の中間値にラベル端検知用閾値が設定される。受光素子33の受光量の低下量R1-R2が小さいと、透過型センサ31の検知信号の信号電圧の変更やラベル紙LPの姿勢などの影響により、ラベルLの先端が検知位置に到達しても、信号電圧がラベル端検知用閾値以下に低下しない場合が生じるおそれがあり、ラベルLの先端の検知精度が低下する。ユーザによって、ラベル紙LPに応じたラベル端検知用閾値が外部端末からコントローラ41に入力される場合も同様である。 However, when the light emitting element 32 of the transmission sensor 31 emits the first light emitting amount E1, as shown in FIG. 5, the amount of light received by the light receiving element 33 of the transmission sensor 31 drops from the amount of light received R1 to the amount of light received R2 in response to the leading edge of the label L reaching the detection position of the transmission sensor 31. For example, during tension initialization, the controller 41 reads the signal voltage corresponding to the amount of light received R1 when the backing paper P is present at the detection position of the transmission sensor 31 and the signal voltage corresponding to the amount of light received R2 when the label L is present at the detection position, and sets the label end detection threshold to the intermediate value of these signal voltages. If the amount of drop R1-R2 in the amount of light received by the light receiving element 33 is small, there is a risk that the signal voltage will not drop below the label end detection threshold even when the leading edge of the label L reaches the detection position due to the influence of the change in the signal voltage of the detection signal of the transmission sensor 31 and the attitude of the label paper LP, and the detection accuracy of the leading edge of the label L will decrease. The same applies when the user inputs a label edge detection threshold value corresponding to the label paper LP from an external terminal to the controller 41.

そこで、コントローラ41は、印刷時に、透過型センサ31の発光素子32を第2発光量E2で発光させる。第2発光量E2は、透過型センサ31の検知位置(発光素子32から受光素子33に至る光路上)にラベルLが存在せずに台紙Pが存在する状態で、発光素子32の発光量を所定量から上昇させて、受光素子33による受光量が飽和したときの発光素子32の発光量であり、第1発光量E1よりも大きい。 Therefore, during printing, the controller 41 causes the light-emitting element 32 of the transmission sensor 31 to emit light at the second light emission amount E2. The second light emission amount E2 is the amount of light emitted by the light-emitting element 32 when the amount of light received by the light-receiving element 33 becomes saturated by increasing the amount of light emitted by the light-emitting element 32 from a predetermined amount in a state where there is no label L but a backing paper P at the detection position of the transmission sensor 31 (on the optical path from the light-emitting element 32 to the light-receiving element 33), and is greater than the first light emission amount E1.

発光素子32を第2発光量E2で発光させることにより、透過型センサ31の検知位置にラベル紙LPが存在せずに台紙Pが存在するときには、受光素子33の受光量が最大となり、透過型センサ31の検知位置にラベルLが存在するときには、受光素子33の受光量が受光量R3となる。したがって、ラベルLの先端が透過型センサ31の検知位置に到達すると、受光素子33の受光量が最大から受光量R3まで低下し、その受光量に応じた信号電圧がラベル端検知用閾値以下となる。よって、コントローラ41は、透過型センサ31の検知信号の信号電圧がラベル端検知用閾値に低下したことを以て、ラベルLの先端を検知したと判断することができる。 By making the light emitting element 32 emit light at the second light emission amount E2, when there is no label paper LP but a backing paper P at the detection position of the transmission sensor 31, the amount of light received by the light receiving element 33 is maximum, and when a label L is present at the detection position of the transmission sensor 31, the amount of light received by the light receiving element 33 is R3. Therefore, when the leading edge of the label L reaches the detection position of the transmission sensor 31, the amount of light received by the light receiving element 33 drops from maximum to R3, and the signal voltage according to the amount of light received becomes equal to or less than the label end detection threshold. Therefore, the controller 41 can determine that the leading edge of the label L has been detected when the signal voltage of the detection signal of the transmission sensor 31 drops to the label end detection threshold.

コントローラ41は、透過型センサ31の検知位置に到達したラベルLの先端の検知に基づいて、そのラベルLへのヘッド27による印刷を制御する。すなわち、コントローラ41は、ラベルLにおける印刷開始位置をラベルLの先端から一定距離を隔てた位置に設定し、ラベルLの先端の現在の位置から印刷開始位置がヘッド27の印刷位置に到達するタイミングを求めて、そのタイミングでヘッド27にラベルLへの画像の印刷を開始させる。 The controller 41 controls printing by the head 27 on the label L based on the detection of the leading edge of the label L that has reached the detection position of the transmission sensor 31. That is, the controller 41 sets the print start position on the label L to a position a certain distance away from the leading edge of the label L, determines the timing at which the print start position reaches the printing position of the head 27 from the current position of the leading edge of the label L, and causes the head 27 to start printing an image on the label L at that timing.

外部端末からコントローラ41に入力されたラスタデータのすべてがラベルLに印刷されると、コントローラ41は、モータMを停止させ、ヘッド27の動作を停止させる。これにより、印刷動作が終了となる。 When all of the raster data input from the external terminal to the controller 41 has been printed on the label L, the controller 41 stops the motor M and stops the operation of the head 27. This ends the printing operation.

印刷動作の終了後、ラベルプリンタ1がラベル紙LPにおける印刷済みのラベルLを有する部分を残りの部分から切り離すオートカット機能を有している場合、そのオートカット機能により、ラベル紙LPが切断される(S31:カット)。ラベルプリンタ1がオートカット機能を有していない場合は、ユーザによって、ラベル紙LPにおける印刷済みのラベルLを有する部分が切り離された後、ラベル紙LPがカット済みである旨の情報が外部端末またはラベルプリンタ1に設けられた操作パネル(図示せず)からコントローラ41に入力される。 After the printing operation is completed, if the label printer 1 has an auto-cutting function that separates the portion of the label paper LP with the printed label L from the remaining portion, the label paper LP is cut by the auto-cutting function (S31: Cut). If the label printer 1 does not have an auto-cutting function, the user separates the portion of the label paper LP with the printed label L, and then inputs information that the label paper LP has been cut to the controller 41 from an external terminal or an operation panel (not shown) provided on the label printer 1.

その後、コントローラ41は、モータMを逆転させる(S32)。モータMの逆転により、ラベル紙LPが逆転搬送方向に搬送される。コントローラ41は、モータMを逆転させながら、透過型センサ31の検知信号から、ラベル紙LPの台紙Pの端を検知したか否かを判断する。このとき、コントローラ41は、透過型センサ31の発光素子32を第1発光量E1で発光させる。 Then, the controller 41 reverses the motor M (S32). The reverse rotation of the motor M transports the label paper LP in the reverse transport direction. While reversing the motor M, the controller 41 determines from the detection signal of the transmission sensor 31 whether or not the edge of the backing paper P of the label paper LP has been detected. At this time, the controller 41 causes the light-emitting element 32 of the transmission sensor 31 to emit light at the first light emission amount E1.

コントローラ41は、モータMの逆転中に台紙Pの端を検知したと判断すると、台紙Pの端が透過型センサ31の検知位置からホームポジションに到達するまで、モータMの逆転を継続させる。そして、コントローラ41は、台紙Pの端がホームポジションに到達するタイミングで、モータMを停止させる(S33)。これにより、ラベル紙LPは、その端がホームポジションに位置した状態で停止する。したがって、ラベル紙LPがセットされたままの状態で、新たな印刷が行われる場合に、テンションイニシャライズ動作を行わなくても、ラベル紙LPの端がホームポジションに位置した状態からラベル紙LPの正転搬送方向への搬送を開始することができる。 When the controller 41 determines that the end of the backing paper P has been detected while the motor M is rotating in the reverse direction, it continues to rotate the motor M in the reverse direction until the end of the backing paper P moves from the detection position of the transmission sensor 31 to the home position. The controller 41 then stops the motor M when the end of the backing paper P reaches the home position (S33). This causes the label paper LP to stop with its end located at the home position. Therefore, when new printing is performed with the label paper LP still set, it is possible to start conveying the label paper LP in the forward conveying direction from a state in which the end of the label paper LP is located at the home position without performing a tension initialization operation.

ラベルプリンタ1がオートカット機能を有しておらず、印刷動作の終了から所定時間内に、ラベル紙LPにおける印刷済みのラベルLを有する部分が切り離されない場合には、画像が未だ印刷されていないラベルLのうちの先頭のラベルLの印刷開始位置がヘッド27の印刷位置に位置するように、コントローラ41は、モータMを一定量だけ逆転させる。これにより、ラベル紙LPがセットされたままの状態で、新たな印刷が行われる場合に、未印刷のラベルLのうちの先頭のラベルLから印刷が開始され、印刷済みのラベルLに画像が重ねて印刷されることが防止される。 If the label printer 1 does not have an auto-cut function and the portion of the label paper LP with the printed label L is not cut off within a specified time from the end of the printing operation, the controller 41 reverses the motor M by a certain amount so that the print start position of the first label L among the labels L on which an image has not yet been printed is located at the print position of the head 27. This ensures that when new printing is performed with the label paper LP still set, printing starts from the first label L among the unprinted labels L, preventing an image from being printed on top of the printed label L.

<作用効果>
以上のように、ラベル紙LPの台紙Pには、複数のラベルLが並べて貼られている。ラベル紙LPは、搬送路15に沿って、ラベルLの並び方向である搬送方向に搬送される。透過型センサ31の発光素子32および受光素子33が搬送路15を挟んで互いに対向して配置されている。
<Action and effect>
As described above, multiple labels L are affixed in a row to the backing P of the label paper LP. The label paper LP is transported in the transport direction, which is the arrangement direction of the labels L, along the transport path 15. The light-emitting element 32 and the light-receiving element 33 of the transmission sensor 31 are arranged opposite each other with the transport path 15 in between.

透過型センサ31の検知位置(発光素子32から受光素子33に至る光路上)における台紙Pの有無により、発光素子32の発光量に対する受光素子33の受光量が変化し、受光量の変化に応じて透過型センサ31の検知信号の信号電圧が変化するので、その信号電圧の変化から台紙Pの端を検知することができる。また、透過型センサ31の検知位置におけるラベルLの有無により、発光素子32の発光量に対する受光素子33の受光量が変化し、受光量の変化に応じて透過型センサ31の検知信号の信号電圧が変化するので、その信号電圧の変化からラベルLの端を検知することができる。台紙Pの透過率(透過度)と台紙Pに貼られたラベルLの透過率とに差があるので、台紙Pの端を検知するときには、発光素子32を第1発光量E1で発光させ、ラベルLの端を検知するときには、発光素子32を第1発光量E1とは異なる第2発光量E2で発光させることにより、コントローラ41は、受光素子33の受光量の変化に応じた信号電圧の変化から台紙Pの端およびラベルLの端を良好に検知することができる。 Depending on the presence or absence of the backing paper P at the detection position of the transmission sensor 31 (on the optical path from the light emitting element 32 to the light receiving element 33), the amount of light received by the light receiving element 33 relative to the amount of light emitted by the light emitting element 32 changes, and the signal voltage of the detection signal of the transmission sensor 31 changes according to the change in the amount of received light, so that the end of the backing paper P can be detected from the change in signal voltage. Also, depending on the presence or absence of the label L at the detection position of the transmission sensor 31, the amount of light received by the light receiving element 33 relative to the amount of light emitted by the light emitting element 32 changes, and the signal voltage of the detection signal of the transmission sensor 31 changes according to the change in the amount of received light, so that the end of the label L can be detected from the change in signal voltage. Since there is a difference between the transmittance (light transmittance) of the mount P and the transmittance of the label L affixed to the mount P, when detecting the edge of the mount P, the light-emitting element 32 is caused to emit light at a first light emission amount E1, and when detecting the edge of the label L, the light-emitting element 32 is caused to emit light at a second light emission amount E2 different from the first light emission amount E1. This allows the controller 41 to properly detect the edge of the mount P and the edge of the label L from the change in signal voltage according to the change in the amount of light received by the light-receiving element 33.

また、台紙Pに各ラベルLに対する一定の位置にマークが付されていなくても、台紙Pの端および各ラベルLの端を検知できるので、豊富な種類のラベル紙LPを印刷装置で使用することができる。 In addition, even if the backing paper P does not have marks at fixed positions for each label L, the edges of the backing paper P and each label L can be detected, so a wide variety of label papers LP can be used with the printing device.

第1発光量E1は、第2発光量E2より小さい発光量に設定されている。具体的には、第1発光量E1は、透過型センサ31の検知位置に台紙Pが存在しない状態で、発光素子32の発光量を所定量から上昇させて、前記受光素子33による受光量が飽和したときの前記発光素子32の発光量に設定されている。これにより、台紙Pの透過率が1に近くても、透過型センサ31の検知位置に台紙Pが存在しないときの受光量と検知位置に台紙Pが存在するときの受光量との差が大きく現れる。そのため、コントローラ41により、光路上における台紙Pの有無を良好に判定でき、台紙Pの端を良好に検知することができる。 The first light emission amount E1 is set to a light emission amount smaller than the second light emission amount E2. Specifically, the first light emission amount E1 is set to the light emission amount of the light-emitting element 32 when the light-receiving element 33 receives a saturated light amount by increasing the light emission amount of the light-emitting element 32 from a predetermined amount in a state where the backing P is not present at the detection position of the transmission sensor 31. As a result, even if the transmittance of the backing P is close to 1, there is a large difference between the light-receiving amount when the backing P is not present at the detection position of the transmission sensor 31 and the light-receiving amount when the backing P is present at the detection position. Therefore, the controller 41 can accurately determine the presence or absence of the backing P on the optical path and accurately detect the edge of the backing P.

ラベルプリンタ1にラベル紙LPがセットされた後、ラベルLへの印刷が開始される前には、テンションイニシャライズ動作が行われ、そのテンションイニシャライズ動作中に、台紙Pの端が検知される。テンションイニシャライズ動作では、ラベル紙LPが正転搬送方向に所定量搬送された後、ラベル紙LPが逆転搬送方向に搬送される。台紙Pの端が検知されると、台紙Pの端がホームポジションに到達するタイミングで、ラベル紙LPの逆転搬送方向の搬送が停止される。これにより、ラベル紙LP(台紙P)の端をホームポジションに配置することができる。よって、ラベル紙LPの端がホームポジションに配置された状態からラベル紙LPの搬送を開始して、ラベルLへの画像の印刷を開始することができる。 After the label paper LP is set in the label printer 1, a tension initialization operation is performed before printing on the label L begins, and the edge of the backing paper P is detected during the tension initialization operation. In the tension initialization operation, the label paper LP is transported a predetermined distance in the forward transport direction, and then the label paper LP is transported in the reverse transport direction. When the edge of the backing paper P is detected, transport of the label paper LP in the reverse transport direction is stopped at the timing when the edge of the backing paper P reaches the home position. This allows the edge of the label paper LP (backing paper P) to be positioned at the home position. Therefore, transport of the label paper LP can be started from a state in which the edge of the label paper LP is positioned at the home position, and printing of an image on the label L can be started.

印刷動作中は、ラベル紙LPが正転搬送方向に搬送されながら、各ラベルLの先端が検知される。そのため、ラベルLの先端の検知に基づいて、ラベルLの印刷開始位置がヘッド27の印刷位置に到達するタイミングで、ヘッド27にラベルLへの画像の印刷を開始させることができる。 During printing, the leading edge of each label L is detected while the label paper LP is transported in the forward transport direction. Therefore, based on the detection of the leading edge of the label L, the head 27 can be made to start printing an image on the label L at the timing when the print start position of the label L reaches the print position of the head 27.

<変形例>
以上、本発明の一実施形態について説明したが、本発明は、他の形態で実施することもできる。
<Modification>
Although one embodiment of the present invention has been described above, the present invention can be embodied in other forms.

たとえば、ヘッド27は、インクジェット記録方式により画像を印刷する構成に限らず、熱転写方式により画像を印刷する構成であってもよいし、電子写真方式により画像を印刷する構成であってもよい。 For example, the head 27 is not limited to a configuration that prints images using an inkjet recording method, but may be a configuration that prints images using a thermal transfer method or a configuration that prints images using an electrophotographic method.

また、前述の実施形態では、ラベルプリンタ1を取り上げた。しかし、ラベルプリンタ1に限らず、本発明は、たとえば、ラベルLに印刷された画像を読み取る装置に台紙Pの端およびラベルLの端を検知するために適用されてもよい。 In the above embodiment, the label printer 1 was taken up. However, the present invention is not limited to the label printer 1, and may be applied to, for example, a device that reads an image printed on a label L to detect the edge of a backing sheet P and the edge of a label L.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。 In addition, various design modifications can be made to the above-mentioned configuration within the scope of the claims.

1:ラベルプリンタ
15:搬送路
21:搬送ローラ
27:ヘッド
31:透過型センサ
32:発光素子
33:受光素子
41:コントローラ
E1:第1発光量
E2:第2発光量
L:ラベル
LP:ラベル紙
P:台紙
1: Label printer 15: Transport path 21: Transport roller 27: Head 31: Transmission sensor 32: Light emitting element 33: Light receiving element 41: Controller E1: First light emission amount E2: Second light emission amount L: Label LP: Label paper P: Backing paper

Claims (9)

複数のラベルが台紙に搬送方向に並べて貼られたラベル紙を、搬送路に沿って前記搬送方向に搬送する搬送部と、
前記ラベルに画像を印刷する印刷部と、
前記搬送路を挟んで対向する発光素子および受光素子を含み、前記発光素子からの光を前記受光素子で受光する透過型センサと、
制御部と、を備え、
前記制御部は、
前記発光素子を第1発光量で発光させて、前記搬送部による前記ラベル紙の搬送中における前記受光素子の受光量の変化から、前記台紙の端を検知し、
前記発光素子を前記第1発光量と異なる第2発光量で発光させて、前記搬送部による前記ラベル紙の搬送中における前記受光素子の受光量の変化から、前記ラベルの端を検知する、印刷装置。
a conveying section that conveys a label sheet, on which a plurality of labels are affixed to a backing sheet in a conveying direction, along a conveying path in the conveying direction;
a printing unit that prints an image on the label;
a transmission sensor including a light emitting element and a light receiving element facing each other across the transport path, the light from the light emitting element being received by the light receiving element;
A control unit,
The control unit is
causing the light emitting element to emit light at a first light emission amount, and detecting an edge of the backing paper from a change in the amount of light received by the light receiving element while the conveying unit is conveying the label paper;
a light-emitting element that emits light at a second light emission amount different from the first light emission amount, and detects an edge of the label from a change in the amount of light received by the light-receiving element while the label paper is being transported by the transport unit.
請求項1に記載の印刷装置であって、
前記第1発光量は、前記第2発光量よりも小さい、印刷装置。
2. The printing device according to claim 1,
A printing device, wherein the first amount of light emitted is less than the second amount of light emitted.
請求項2に記載の印刷装置であって、
前記第1発光量は、前記発光素子から前記受光素子に至る光路上に前記台紙が存在しない状態で、前記発光素子の発光量を所定量から上昇させて、前記受光素子による受光量が飽和したときの前記発光素子の発光量である、印刷装置。
3. The printing device according to claim 2,
A printing device in which the first light emission amount is the light emission amount of the light-emitting element when the light emission amount of the light-emitting element is increased from a predetermined amount and the light received by the light-receiving element becomes saturated when the backing paper is not present on the optical path from the light-emitting element to the light-receiving element.
請求項3に記載の印刷装置であって、
前記制御部は、前記印刷部による印刷の開始前に、前記発光素子から前記受光素子に至る光路上に前記台紙が存在しない状態で、前記発光素子の発光量を所定量から上昇させて、前記受光素子による受光量が飽和したときの前記発光素子の発光量を、前記第1発光量に設定する、印刷装置。
4. The printing device according to claim 3,
The control unit of the printing device increases the light emission amount of the light-emitting element from a predetermined amount when the backing paper is not present on the optical path from the light-emitting element to the light-receiving element before the printing unit starts, and sets the light emission amount of the light-emitting element when the light received by the light-receiving element becomes saturated to the first light emission amount.
請求項1~4のいずれか一項に記載の印刷装置であって、
前記制御部は、前記印刷部による印刷の開始前に、前記発光素子を前記第1発光量で発光させて、前記台紙の端を検知する、印刷装置。
The printing device according to any one of claims 1 to 4,
The control unit causes the light-emitting element to emit light at the first light emission amount before the printing unit starts printing, thereby detecting an edge of the mount.
請求項5に記載の印刷装置であって、
前記制御部は、
前記搬送部に前記ラベル紙を前記搬送方向の一方に搬送させつつ、前記印刷部に前記ラベルに画像を印刷させ、
前記印刷部による印刷の開始前に、前記搬送部に、前記ラベル紙を前記搬送方向の前記一方に所定量搬送させた後、前記ラベル紙を前記搬送方向の他方に搬送させつつ、前記発光素子を前記第1発光量で発光させて、前記台紙の端を検知する、印刷装置。
6. The printing device according to claim 5,
The control unit is
causing the conveying unit to convey the label paper in one direction of the conveying direction, and causing the printing unit to print an image on the label;
a conveying unit that conveys the label paper a predetermined amount in one of the conveying directions before the printing unit starts printing, and then conveys the label paper in the other direction in the conveying direction while causing the light-emitting element to emit the first light emission amount to detect the end of the backing paper.
請求項1~4のいずれか一項に記載の印刷装置であって、
前記制御部は、
前記搬送部に前記ラベル紙を前記搬送方向の一方に搬送させつつ、前記印刷部に前記ラベルに画像を印刷させ、
前記印刷部による印刷中、前記発光素子を前記第2発光量で発光させて、前記ラベルの端を検知する、印刷装置。
The printing device according to any one of claims 1 to 4,
The control unit is
causing the conveying unit to convey the label paper in one direction of the conveying direction, and causing the printing unit to print an image on the label;
A printing device that detects an edge of the label by causing the light-emitting element to emit light at the second light emission amount during printing by the printing unit.
請求項1~4のいずれか一項に記載の印刷装置であって、
前記制御部は、
前記搬送部に前記ラベル紙を前記搬送方向の一方に搬送させつつ、前記印刷部に前記ラベルに画像を印刷させ、
前記印刷部による印刷の終了後、前記搬送部に、前記ラベル紙を前記搬送方向の他方に搬送させつつ、前記発光素子を前記第1発光量で発光させて、前記台紙の端を検知する、印刷装置。
The printing device according to any one of claims 1 to 4,
The control unit is
causing the conveying unit to convey the label paper in one direction of the conveying direction, and causing the printing unit to print an image on the label;
a conveying unit that conveys the label paper in the other direction in the conveying direction while causing the light-emitting element to emit light at the first light emission amount, thereby detecting an end of the backing paper.
複数のラベルが台紙に搬送方向に並べて貼られたラベル紙を、搬送路に沿って前記搬送方向に搬送する搬送部と、
前記搬送路を挟んで対向する発光素子および受光素子を含み、前記発光素子からの光を前記受光素子で受光する透過型センサと、
制御部と、を備え、
前記制御部は、
前記発光素子を第1発光量で発光させて、前記搬送部による前記ラベル紙の搬送中における前記受光素子の受光量の変化から、前記台紙の端を検知し、
前記発光素子を前記第1発光量と異なる第2発光量で発光させて、前記搬送部による前記ラベル紙の搬送中における前記受光素子の受光量の変化から、前記ラベルの端を検知する、端検知装置。
a conveying section that conveys a label sheet, on which a plurality of labels are affixed to a backing sheet in a conveying direction, along a conveying path in the conveying direction;
a transmission sensor including a light emitting element and a light receiving element facing each other across the transport path, the light from the light emitting element being received by the light receiving element;
A control unit,
The control unit is
causing the light emitting element to emit light at a first light emission amount, and detecting an edge of the backing paper from a change in the amount of light received by the light receiving element while the conveying unit is conveying the label paper;
an edge detection device that causes the light-emitting element to emit light at a second light emission amount different from the first light emission amount, and detects the edge of the label from a change in the amount of light received by the light-receiving element while the label paper is being transported by the transport unit.
JP2022178856A 2022-11-08 2022-11-08 Printing device and edge detection device Pending JP2024068419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022178856A JP2024068419A (en) 2022-11-08 2022-11-08 Printing device and edge detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022178856A JP2024068419A (en) 2022-11-08 2022-11-08 Printing device and edge detection device

Publications (1)

Publication Number Publication Date
JP2024068419A true JP2024068419A (en) 2024-05-20

Family

ID=91082668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022178856A Pending JP2024068419A (en) 2022-11-08 2022-11-08 Printing device and edge detection device

Country Status (1)

Country Link
JP (1) JP2024068419A (en)

Similar Documents

Publication Publication Date Title
JP5014462B2 (en) Printing apparatus and sheet processing apparatus
JP4398797B2 (en) Medium width detection device
JP5720086B2 (en) Image forming apparatus and control method in image forming apparatus
JP5115521B2 (en) Printing apparatus and printing method
JP5668280B2 (en) Printing apparatus and edge detection method of printing medium
JP2024068419A (en) Printing device and edge detection device
JP2000289908A (en) Image forming device
JP5539444B2 (en) Control method of printing apparatus
JP5862173B2 (en) Image recording device
JP2024068417A (en) Printing device and mark detection device
US20060044381A1 (en) Printer
JP2024068418A (en) Printing device and label leading edge detection device
JP2008246672A (en) Image recording device
US11775232B2 (en) Printer and printing system for reprinting low quality image and marking discard images
JP2022117129A (en) Printers and image inspection equipment
JP2022153915A (en) IMAGE RECORDING DEVICE, CONTROL METHOD AND PROGRAM THEREOF
JP2020203415A (en) Printing device, and printing device control method
US20190217641A1 (en) Printing apparatus, home position setting method, and recording medium
JP7363087B2 (en) printer
JP5414478B2 (en) Sheet conveying apparatus and recording apparatus
US20240317526A1 (en) Sheet feeder and image forming apparatus
JP7559583B2 (en) Printing device and printing control method
CN108621604B (en) printing device
JP7600827B2 (en) Printers and Printing Systems
JP3089578U (en) Inkjet printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250916