JP4784330B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP4784330B2
JP4784330B2 JP2006039823A JP2006039823A JP4784330B2 JP 4784330 B2 JP4784330 B2 JP 4784330B2 JP 2006039823 A JP2006039823 A JP 2006039823A JP 2006039823 A JP2006039823 A JP 2006039823A JP 4784330 B2 JP4784330 B2 JP 4784330B2
Authority
JP
Japan
Prior art keywords
label
printing
mount
printing apparatus
image sensor
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.)
Active
Application number
JP2006039823A
Other languages
Japanese (ja)
Other versions
JP2007216515A (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.)
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 JP2006039823A priority Critical patent/JP4784330B2/en
Publication of JP2007216515A publication Critical patent/JP2007216515A/en
Application granted granted Critical
Publication of JP4784330B2 publication Critical patent/JP4784330B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Handling Of Continuous Sheets Of Paper (AREA)
  • Labeling Devices (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Handling Of Sheets (AREA)

Description

本発明は、印刷装置に関するものであり、詳細には、多数のラベルが台紙に粘着されたラベル用紙に印刷を行う印刷装置に関するものである。   The present invention relates to a printing apparatus, and more particularly, to a printing apparatus that performs printing on a label sheet having a number of labels adhered to a mount.

従来、多数のラベルが台紙に粘着されたラベル用紙に印刷を行う印刷装置において、印刷されたシールを台紙から剥離する機能を有する印刷装置では、次々に印刷してラベルを剥離し、排出していると、排出されたラベルが前に排出されたラベルや周囲に貼り付いてしまうという問題点があった。そこで、このような印刷装置では、印刷されて剥離されたラベルがユーザにより取出口から取り出されたことを確認した後に、次のラベルへの印刷を開始させるような制御が一般的に行われている。ここで、ラベルが取り出されたことの確認として、取出口手前に透過型光学センサを配置してラベルの有無の判断が行われている。   Conventionally, in a printing apparatus that prints on a label sheet in which a large number of labels are adhered to the mount, in a printing apparatus having a function of peeling the printed sticker from the mount, the labels are peeled off one after another and discharged. The discharged label sticks to the previously discharged label or the surrounding area. Therefore, in such a printing apparatus, after confirming that the printed and peeled label has been taken out from the outlet by the user, control is generally performed so as to start printing on the next label. Yes. Here, as a confirmation that the label has been taken out, a transmissive optical sensor is arranged in front of the outlet, and the presence / absence of the label is determined.

こうした中で、台紙の幅方向に複数のラベルが配置されているような場合に対応するために、光学センサをラベルの数だけ配置して、すべてのラベルが取り出された場合にのみ、次のラベルの印刷を行うようなラベルプリンタが提案されている(例えば、特許文献1)。
特開平5−170240公報
Under these circumstances, in order to cope with the case where a plurality of labels are arranged in the width direction of the mount, only when the number of the optical sensors is arranged and all the labels are taken out, the following is performed. A label printer that prints a label has been proposed (for example, Patent Document 1).
JP 5-170240 A

しかしながら、特許文献1に記載の発明のラベルプリンタでは、ラベルと光学センサとの関係を1対1としている。このようなラベルプリンタでは、例えば、光学センサが2つしか設けられていないラベルプリンタで台紙の幅方向に3枚のラベルが配置されているようなラベル用紙を使用すると、検出できないラベルが存在してしまうことになり、取り出されていないラベルがあるにもかかわらず、次のラベルの印刷を行ってしまい、せっかく印刷したラベルが周囲に貼り付いてしまう。また、2枚のラベルが配置されている場合であっても、台紙の幅や、ラベルの幅にはさまざまなものが存在するので、あるラベル用紙には対応しても、別のラベルには対応できないこともある。つまり、特許文献1に記載の発明のラベルプリンタでは、台紙の幅方向のラベルの配置が光学センサの配置に対応しているラベル用紙しか使用できないという問題点がある。よって、このようなラベルプリンタで、未対応のラベル配置のラベル用紙を使用するためには、光学センサの設置位置を変更したり、光学センサの数を増やしたりというようなハードウェアの変更が必要となり、コストや手間がかかり現実的でないという問題点がある。また、ラベル用紙の搬送方向に並ぶラベルの種類が異なるようなラベル用紙、例えば、台紙幅7cmの台紙に、両端に3mmの余白を設けてラベル幅3cmのラベルが2枚、4mmの間隔で配置されており、次のラベルは両端に3mmの余白を設けてラベル幅1cmのラベルとラベル幅5cmのラベルとの2枚が4mmの間隔で配置されており、次のラベルは両端に3mmの余白を設けてラベル幅2cmのラベルが3枚、2mmの間隔で配置されているというような複雑な配置のラベル用紙を用いる場合には、光学センサの配置位置も微妙なものとなる。   However, in the label printer of the invention described in Patent Document 1, the relationship between the label and the optical sensor is 1: 1. In such a label printer, for example, if a label printer in which only two optical sensors are provided and a label sheet having three labels arranged in the width direction of the mount is used, there are labels that cannot be detected. Even though there is a label that has not been taken out, the next label is printed, and the printed label sticks around. Even when two labels are arranged, there are various widths of mounts and labels, so even if one label paper is supported, another label has It may not be possible. That is, the label printer according to the invention described in Patent Document 1 has a problem that only label sheets whose label placement in the width direction of the mount corresponds to the placement of the optical sensor can be used. Therefore, in order to use label paper with an unsupported label layout in such a label printer, it is necessary to change the hardware such as changing the installation position of the optical sensor or increasing the number of optical sensors. Therefore, there is a problem that it is not realistic because of cost and labor. Also, label papers with different types of labels arranged in the transport direction of the label paper, for example, a mount with a width of 7 cm, a margin of 3 mm at both ends, and two labels with a width of 3 cm are arranged at intervals of 4 mm. The next label has 3 mm margins at both ends, and two labels of 1 cm label width and 5 cm label width are arranged at 4 mm intervals, and the next label has 3 mm margins at both ends. When a label sheet having a complicated arrangement such that three labels having a label width of 2 cm are arranged at intervals of 2 mm is used, the arrangement position of the optical sensor is also delicate.

本発明は、上述の問題点を解決するためになされたものであり、多数のラベルが台紙に粘着されたラベル用紙において、ラベル幅にかかわらず印刷制御可能な印刷装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a printing apparatus capable of controlling printing regardless of the label width in a label sheet in which a large number of labels are adhered to a mount. To do.

上記課題を解決するため、請求項1に係る発明の印刷装置では、多数のラベルが台紙に粘着されたラベル用紙に印刷データを印刷する印刷手段を備えた印刷装置であって、前記ラベルを前記台紙から剥離する剥離手段と、当該剥離手段により前記台紙から剥離された前記ラベルが前記台紙から突出する位置に、前記ラベルの有無を検出するために前記台紙の幅方向に配置されているラベル検出手段と、前記ラベル検出手段に対向し、前記台紙から突出した前記ラベルを挟む位置に交換可能に設けた反射手段であって、前記ラベル表面の色又は裏面の色とは異なる色の反射手段と、前記反射手段の色を識別する識別手段と前記識別手段によって識別した色に応じた閾値と、前記ラベル検出手段によって検出された値とを比較することによって、前記ラベルの有無を判断する判断手段とを備えていることを特徴とする。 In order to solve the above-described problem, the printing apparatus according to the first aspect of the present invention is a printing apparatus including a printing unit that prints print data on a label sheet in which a number of labels are adhered to a mount, A peeling means for peeling from the mount, and a label detection arranged in the width direction of the mount to detect the presence or absence of the label at a position where the label peeled from the mount by the peeling means protrudes from the mount And a reflection means that is provided so as to be exchangeable at a position opposite to the label detection means and sandwiching the label protruding from the mount, the reflection means having a color different from the color of the label surface or the back surface; By comparing the identification means for identifying the color of the reflection means, the threshold value corresponding to the color identified by the identification means, and the value detected by the label detection means, Characterized in that it comprises a determination means for determining whether the serial label.

また、請求項2に係る発明の印刷装置では、請求項1に記載の発明の構成に加えて、前記ラベル検出手段は、前記ラベルの印字面に対向して設けられていることを特徴とする。   According to a second aspect of the present invention, in addition to the configuration of the first aspect of the invention, the label detecting means is provided to face the printing surface of the label. .

また、請求項3に係る発明の印刷装置では、請求項1に記載の発明の構成に加えて、前記ラベル検出手段は、前記ラベルの印字面の裏面に対向して設けられていることを特徴とする。   Further, in the printing apparatus of the invention according to claim 3, in addition to the configuration of the invention of claim 1, the label detecting means is provided to face the back surface of the printing surface of the label. And

また、請求項4に係る発明の印刷装置では、請求項1乃至3のいずれかに記載の発明の構成に加えて、前記ラベル検出手段は光電素子がライン状に配置されたイメージセンサであることを特徴とする。   According to a fourth aspect of the present invention, in addition to the configuration of the first aspect of the present invention, the label detecting means is an image sensor in which photoelectric elements are arranged in a line. It is characterized by.

請求項1に係る発明の印刷装置では、剥離手段により台紙から剥離されたラベルが台紙から突出する位置に、ラベルの有無を検出するためのラベル検出手段が台紙の幅方向に配置されているので、剥離されたすべてのラベルの存在を検出することができる。よって、どのようなラベル配置のラベル用紙を使用する場合であっても、ハードウェアの変更をすることなくすべてのラベルの有無を検出することができる。したがって、ラベルが存在するにもかかわらずラベルが無いと判断されてしまうことがない。また、ラベル検出手段に対向し、台紙から突出したラベルを挟む位置に交換可能な反射手段が設けられている。したがって、検出対象であるラベルを検出しやすい。 In the printing apparatus according to the first aspect of the present invention, the label detecting means for detecting the presence or absence of the label is arranged in the width direction of the mount at the position where the label peeled off from the mount by the peeling means protrudes from the mount. The presence of all peeled labels can be detected. Therefore, it is possible to detect the presence / absence of all labels without changing the hardware, regardless of the label layout of any label. Therefore, it is not determined that there is no label despite the presence of the label. Further, an exchangeable reflecting means is provided at a position facing the label detecting means and sandwiching the label protruding from the mount. Therefore, it is easy to detect a label that is a detection target.

また、請求項2に係る発明の印刷装置では、請求項1に記載の発明の効果に加えて、ラベル検出手段は、ラベルの印字面に対向して設けられているので、ラベルの印字面の状態を検知してラベルの有無を検出することができる。   Further, in the printing apparatus of the invention according to claim 2, in addition to the effect of the invention of claim 1, the label detecting means is provided facing the printing surface of the label. The presence or absence of a label can be detected by detecting the state.

また、請求項3に係る発明の印刷装置では、請求項1に記載の発明の効果に加えて、ラベル検出手段は、ラベルの印字面の裏面に対向して設けられているので、ラベルの印字面の裏側の状態を検知してラベルの有無を検出することができる。よって、印刷結果の色に左右されない。   Moreover, in the printing apparatus of the invention according to claim 3, in addition to the effect of the invention of claim 1, the label detection means is provided facing the back surface of the printing surface of the label. The presence or absence of the label can be detected by detecting the state of the back side of the surface. Therefore, it does not depend on the color of the printing result.

また、請求項4に係る発明の印刷装置では、請求項1乃至3のいずれかに記載の発明の効果に加えて、ラベル検出手段は光電素子がライン状に配置されたイメージセンサとすることができる。したがって、ラベルの幅方向をくまなく検知することができ、どのような幅のラベルが、どのような位置で配置されていても、すべてのラベルの有無を検出することができる。   In the printing apparatus of the invention according to claim 4, in addition to the effect of the invention according to any one of claims 1 to 3, the label detection means may be an image sensor in which photoelectric elements are arranged in a line. it can. Therefore, it is possible to detect all the width directions of the labels, and it is possible to detect the presence / absence of all the labels regardless of the width of the labels at any position.

以下、本発明の実施の形態を図面を参照して説明する。まず、印刷装置1について図1乃至図3を参照して説明する。図1は、印刷装置1の概略を示す外観斜視図であり、図2は、印刷装置1の電気的構成を示すブロック図である。図3は、印刷装置1の排出口13の内部の模式図である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, the printing apparatus 1 will be described with reference to FIGS. 1 to 3. FIG. 1 is an external perspective view illustrating an outline of the printing apparatus 1, and FIG. 2 is a block diagram illustrating an electrical configuration of the printing apparatus 1. FIG. 3 is a schematic diagram of the inside of the discharge port 13 of the printing apparatus 1.

図1に示すように、印刷装置1は、例えばUSB等の規格に基づくUSBケーブル10によりコンピュータ装置2に接続しており、USBケーブル10を介してデータの授受を行っている。コンピュータ装置2は、周知のパーソナルコンピュータであり、図1に示すように、CPUを備えた本体21と、モニタ31と、キーボード41、マウス42とを備えており、モニタ31、キーボード41、マウス42はそれぞれ本体21に接続ケーブルによって接続されている。そして、コンピュータ装置2は、印刷装置1で印刷を行うための印刷データを作成し、作成された印刷データを印刷装置1へ送信する。そして、印刷装置1は、受信した印刷データに基づいて印刷を行う。なお、このコンピュータ装置2は、デスクトップ型、ノート型、タワー型等のいずれの形状であってもでもよい。   As shown in FIG. 1, the printing apparatus 1 is connected to the computer apparatus 2 via a USB cable 10 based on a standard such as USB, and exchanges data via the USB cable 10. The computer apparatus 2 is a well-known personal computer, and as shown in FIG. 1, includes a main body 21 having a CPU, a monitor 31, a keyboard 41, and a mouse 42. The monitor 31, keyboard 41, and mouse 42 are included. Are connected to the main body 21 by a connection cable. Then, the computer apparatus 2 creates print data for printing by the printing apparatus 1 and transmits the created print data to the printing apparatus 1. The printing apparatus 1 performs printing based on the received print data. The computer device 2 may have any shape such as a desktop type, a notebook type, or a tower type.

また、図1に示すように、印刷装置1は略直方体形状の筐体12でケーシングされており、その前面(図1における右手前方向の面)にはテープ17を排出するための排出口13が設けられている。また、筐体12の左側面の内部にはテープカセット収納部14が設けられており、筐体12の左側面に設けられたカバー15を開放してテープカセットを着脱可能に装着することができる。印刷装置1では、テープ形状の被印刷媒体を収納したテープカセットをテープカセット収納部14に収納して印刷を行う。テープカセット収納部14には、複数の発熱素子を有するサーマルヘッド19(図2、図3参照)とそのサーマルヘッド19に当接されるプラテンローラとを備えた印刷機構が設けられており、テープカセット収納部14に収納されたテープカセットのテープ17は、サーマルヘッド19とプラテンローラとの間にテープ17を走行し、印刷が行われる。そして、印刷が行われたテープ17は排出口13から排出される。   As shown in FIG. 1, the printing apparatus 1 is casing with a substantially rectangular parallelepiped casing 12, and a discharge port 13 for discharging the tape 17 is provided on the front surface (surface in the right front direction in FIG. 1). Is provided. Further, a tape cassette housing portion 14 is provided inside the left side surface of the housing 12, and the cover 15 provided on the left side surface of the housing 12 can be opened to detachably mount the tape cassette. . In the printing apparatus 1, a tape cassette storing a tape-shaped print medium is stored in the tape cassette storage unit 14 to perform printing. The tape cassette housing section 14 is provided with a printing mechanism including a thermal head 19 (see FIGS. 2 and 3) having a plurality of heating elements and a platen roller that comes into contact with the thermal head 19. The tape 17 of the tape cassette stored in the cassette storage unit 14 runs on the tape 17 between the thermal head 19 and the platen roller, and printing is performed. Then, the printed tape 17 is discharged from the discharge port 13.

また、筐体12の左側面のテープカセット収納部14の上部には、印刷装置1の電源をオフオンする電源スイッチ4が設けられている。また、図1では図示されていないが、筐体12の右側面には、印刷装置1への指示を与えるキー3(図2参照)が設けられている。   In addition, a power switch 4 that turns off the power of the printing apparatus 1 is provided on the upper side of the tape cassette housing portion 14 on the left side of the housing 12. Although not shown in FIG. 1, a key 3 (see FIG. 2) that gives an instruction to the printing apparatus 1 is provided on the right side surface of the housing 12.

本発明の印刷装置1では、テープ17の一種類として、テープ状の台紙711に多数のラベル712が粘着されたラベル用紙71(図3参照)を印刷することができる。排出口13の内部にはラベルを剥離する剥離機構45(図3参照)が設けられており、台紙から剥離されたラベル712は排出口13から排出される。このようなラベル用紙71では、剥離されたラベル712が排出されるので、次々と印刷を行い、排出を続けると、排出口13から排出されたラベル712の粘着面が周囲に貼り付いてしまう。そこで、印刷装置1では、剥離されたラベル712の一部が排出口13から排出された状態で、搬送が停止され、ラベル712がユーザにより取り除かれた後に、次のラベルの印刷のための処理が開始される。このラベルがユーザにより取り除かれたか否かの判断には、イメージセンサヘッド27が使用される。このイメージセンサヘッド27については、図3を用いて後に詳述する。   In the printing apparatus 1 of the present invention, as one type of tape 17, label paper 71 (see FIG. 3) in which a number of labels 712 are adhered to a tape-like mount 711 can be printed. A peeling mechanism 45 (see FIG. 3) for peeling the label is provided inside the discharge port 13, and the label 712 peeled from the mount is discharged from the discharge port 13. In such a label paper 71, since the peeled label 712 is discharged, when printing is performed one after another and the discharge is continued, the adhesive surface of the label 712 discharged from the discharge port 13 is stuck to the periphery. Therefore, in the printing apparatus 1, after a part of the peeled label 712 is discharged from the discharge port 13, the conveyance is stopped and the label 712 is removed by the user, and then the process for printing the next label is performed. Is started. The image sensor head 27 is used to determine whether or not this label has been removed by the user. The image sensor head 27 will be described later in detail with reference to FIG.

次に、図2を参照して、印刷装置1の電気的構成を説明する。印刷装置1には、主制御基板30が設けられ、当該主制御基板30には、印刷装置1の主制御を司るCPU11が設けられ、CPU11には、文字や記号等のグラフィックデータを記憶したCGROM32と、制御プログラムを記憶したROM33と、後述するコンピュータ装置2から受信した印刷データ、他のデータ及びフラグ等を記憶するRAM34と、日時のデータを発生するタイマ18と、コンピュータ装置2と通信するための通信用インターフェース16と、入出力インターフェース35とが、データバス36を介して接続されている。   Next, the electrical configuration of the printing apparatus 1 will be described with reference to FIG. The printing apparatus 1 is provided with a main control board 30, and the main control board 30 is provided with a CPU 11 that performs main control of the printing apparatus 1. The CPU 11 stores a CGROM 32 that stores graphic data such as characters and symbols. A ROM 33 that stores a control program, a RAM 34 that stores print data received from the computer apparatus 2 to be described later, other data and flags, a timer 18 that generates date and time data, and the computer apparatus 2. The communication interface 16 and the input / output interface 35 are connected via a data bus 36.

また、図2に示すように、印刷装置1の入出力インターフェース35には、テープカセット収納部14に収納されたテープカセットの有無とその種類を検出するためのカセットセンサ22と、サーマルヘッド19を駆動する駆動回路23と、テープ送りモータ20を駆動する駆動回路24と、テープを切断するカッター刃を動作させる切断用モータ28を駆動する駆動回路25と、印刷装置1の状態やユーザへのメッセージを表示するLCD29を駆動する駆動回路26と、ユーザからの入力を受け付けるキー3と、排出口13から排出されたラベルの状態を検出するイメージセンサヘッド27と、電源スイッチ4とが接続されている。   As shown in FIG. 2, the input / output interface 35 of the printing apparatus 1 includes a cassette sensor 22 for detecting the presence and type of a tape cassette stored in the tape cassette storage section 14 and a thermal head 19. A driving circuit 23 for driving, a driving circuit 24 for driving the tape feeding motor 20, a driving circuit 25 for driving a cutting motor 28 for operating a cutter blade for cutting the tape, a state of the printing apparatus 1 and a message to the user Is connected to the drive circuit 26 for driving the LCD 29, the key 3 for receiving input from the user, the image sensor head 27 for detecting the state of the label discharged from the discharge port 13, and the power switch 4. .

次に、図3を参照して、排出口13の内部に設けられているイメージセンサヘッド27によるラベルの状態の検出について説明する。なお、図3における手前側に排出口13側が設けられている。図3に示すラベル用紙71では、ラベル用紙71の幅方向に異なる幅の2枚のラベル7121,7122が並んで台紙711に粘着されており、その搬送方向の下流側(図3における奥側)には、さらにラベル7123,7124が粘着され、さらに下流側にはラベル7125,7126が粘着されというように、ラベル用紙71が続いている。なお、ラベル7121〜7126等のラベル用紙71に粘着されているラベルをラベル712とする。そして、ラベル用紙71の図3における上側を印刷面、印刷面と反対側の面を裏面とし、ラベル712の図3における上側を印刷面、台紙711に粘着されている面を粘着面とし、台紙711におけるラベル712が粘着されている面を表面、ラベル712が粘着されていない面を裏面と呼ぶこととする。   Next, with reference to FIG. 3, the detection of the label state by the image sensor head 27 provided inside the discharge port 13 will be described. In addition, the discharge port 13 side is provided in the near side in FIG. In the label paper 71 shown in FIG. 3, two labels 7121 and 7122 having different widths in the width direction of the label paper 71 are aligned and adhered to the mount 711, and downstream in the transport direction (the back side in FIG. 3). Further, the labels 7123 and 7124 are adhered, and the labels 7125 and 7126 are further adhered to the downstream side, so that the label paper 71 continues. A label adhered to the label paper 71 such as the labels 7121 to 7126 is referred to as a label 712. The upper side in FIG. 3 of the label paper 71 is the printing surface, the opposite side to the printing surface is the back surface, the upper side in FIG. 3 of the label 712 is the printing surface, and the surface that is adhered to the mount 711 is the adhesive surface. The surface to which the label 712 in 711 is adhered is referred to as the front surface, and the surface to which the label 712 is not adhered is referred to as the back surface.

図3に示すように、排出口13の内部では、ラベル用紙71の台紙711の幅方向に複数の発熱素子を有して印刷を実施するサーマルヘッド19が、ラベル用紙71の印刷面に対向して架設されている。そして、ラベル用紙71の裏面側には、ラベル用紙71の台紙711の搬送方向を転換させ、ラベル712を台紙711から剥離させるための剥離機構45が設けられている。この剥離機構45は、台紙711の幅方向に架設された棒状の部材であり、サーマルヘッド19の発熱素子が列設されている印字位置よりも、排出口13側に設けられている。駆動回路24の制御によるテープ送りモータ20の駆動により台紙711が搬送されると、剥離機構45よりも上流側では、図3における奥側から手前側(矢印A方向)に搬送されるが、剥離機構45より下流側では、剥離機構45により台紙711の搬送方向が転換され、図3における手前側から奥側(矢印B方向)に搬送される。しかしながら、ラベル712は台紙711の搬送方向が転換されても、ラベル712の搬送方向は転換されず、台紙711から剥離され、そのまま図3における奥側から手前側(矢印A方向)に搬送されることとなる。なお、ラベル712は剥離機構45により台紙711から剥離されるように、台紙711への粘着力よりもその剛性が勝るような素材、厚さで作られている。すなわち、剥離機構45において、台紙711の搬送方向が転換されることにより、ラベル712が剥離された状態で排出口13の方向へ排出されることとなる。   As shown in FIG. 3, in the discharge port 13, the thermal head 19 that performs printing with a plurality of heating elements in the width direction of the mount 711 of the label paper 71 faces the printing surface of the label paper 71. Is built. Further, on the back side of the label paper 71, a peeling mechanism 45 for changing the transport direction of the mount 711 of the label paper 71 and peeling the label 712 from the mount 711 is provided. The peeling mechanism 45 is a rod-like member installed in the width direction of the mount 711, and is provided closer to the discharge port 13 than the print position where the heating elements of the thermal head 19 are arranged. When the mount 711 is transported by the drive of the tape feed motor 20 under the control of the drive circuit 24, it is transported from the back side in FIG. On the downstream side of the mechanism 45, the transport direction of the mount 711 is changed by the peeling mechanism 45 and is transported from the near side in FIG. 3 to the far side (arrow B direction). However, even if the transport direction of the mount 711 is changed, the transport direction of the label 712 is not changed, the label 712 is peeled off from the mount 711, and is transported as it is from the back side to the near side (arrow A direction) in FIG. It will be. Note that the label 712 is made of a material and a thickness so that its rigidity is superior to the adhesive force to the mount 711 so that the label 712 is peeled from the mount 711 by the peeling mechanism 45. That is, in the peeling mechanism 45, the transport direction of the mount 711 is changed, so that the label 712 is discharged in the direction of the discharge port 13 in a peeled state.

そして、剥離機構45よりも図3における手前側には、剥離機構45により剥離されたラベル7121,7122を挟むように、ラベル712の幅方向にイメージセンサヘッド27及び反射部材271が設けられている。本実施の形態では、ラベル712の印刷面側にイメージセンサヘッド27が設けられており、ラベル712の粘着面側に反射部材271が設けられている。このイメージセンサヘッド27にはLEDが設けられており、このLEDから出力された光の反射光を、ラベル用紙71の幅方向に列設されている光学素子で検出する。本実施の形態のイメージセンサヘッド27では、1216個の光学素子が300dpiの密度で設けられている。反射部材271は、板状の部材であり、イメージセンサヘッド27から出力された光を反射するように、イメージセンサヘッド27と平行となるように設置されており、ラベル712が存在しない場合には、イメージセンサヘッド27から出力される光はすべて反射部材271により反射して、イメージセンサヘッド27へ集光され、1216個の光学素子により検出される。   Further, the image sensor head 27 and the reflection member 271 are provided in the width direction of the label 712 so as to sandwich the labels 7121 and 7122 peeled by the peeling mechanism 45 on the near side in FIG. . In the present embodiment, the image sensor head 27 is provided on the printing surface side of the label 712, and the reflecting member 271 is provided on the adhesive surface side of the label 712. The image sensor head 27 is provided with an LED, and the reflected light of the light output from the LED is detected by an optical element arranged in the width direction of the label paper 71. In the image sensor head 27 of the present embodiment, 1216 optical elements are provided at a density of 300 dpi. The reflection member 271 is a plate-like member, and is installed so as to be parallel to the image sensor head 27 so as to reflect the light output from the image sensor head 27, and when the label 712 is not present. All the light output from the image sensor head 27 is reflected by the reflecting member 271, condensed on the image sensor head 27, and detected by 1216 optical elements.

印刷装置1では、光を反射させた部材の色によりイメージセンサヘッド27の光学素子の検出する値が異なることを利用して、反射部材271に光が反射したのか、それとも、ラベル712に反射したのか、すなわちラベル712が存在するか、ラベル712が存在しない(ユーザにより取り去られた)かを判断するのにこのイメージセンサヘッド27を利用している。つまり、イメージセンサヘッド27において検出された値が反射部材271に反射した際の値と異なる場合には、ラベル712が存在すると判断することができる。そこで、ラベル712は一般的に白色が多いため、反射部材271のイメージセンサヘッド27に対抗する面である反射面2711をラベル712の色との差異がより明確になる色として黒色に彩色している。   In the printing apparatus 1, the light detected by the optical element of the image sensor head 27 is different depending on the color of the member that reflects the light, so that the light is reflected on the reflective member 271, or is reflected on the label 712. That is, the image sensor head 27 is used to determine whether the label 712 exists or does not exist (removed by the user). That is, when the value detected by the image sensor head 27 is different from the value when reflected by the reflecting member 271, it can be determined that the label 712 exists. Therefore, since the label 712 is generally white, the reflective surface 2711 which is the surface facing the image sensor head 27 of the reflective member 271 is colored black as a color that makes the difference from the color of the label 712 more clear. Yes.

次に、図4及び図5のフローチャートを参照して、印刷装置1の動作について説明する。図4は、印刷装置1で実施されるメイン処理のフローチャートであり、図5は、メイン処理の中で実施されるイメージセンサ検出処理のフローチャートである。メイン処理は印刷装置1の電源スイッチ4がオンされて起動されると開始される。   Next, the operation of the printing apparatus 1 will be described with reference to the flowcharts of FIGS. FIG. 4 is a flowchart of main processing performed in the printing apparatus 1, and FIG. 5 is a flowchart of image sensor detection processing performed in the main processing. The main process is started when the power switch 4 of the printing apparatus 1 is turned on and started.

図4に示すように、まず、初期化処理が行われる(S1)。ここでは、各種記憶エリアの初期化等の処理が行われる。そして、電源スイッチ4の操作により電源がオフされたか否かの判断が行われる(S2)。電源スイッチ4がオフされていなければ(S2:NO)、コンピュータ装置2からデータを受信したか否かの判断が行われる(S3)。データを受信していなければ(S3:NO)、S2へ戻り、電源スイッチ4オフの判断(S2)、データ受信の判断(S3)が繰り返し行われる。   As shown in FIG. 4, first, an initialization process is performed (S1). Here, processing such as initialization of various storage areas is performed. Then, it is determined whether or not the power is turned off by operating the power switch 4 (S2). If the power switch 4 is not turned off (S2: NO), it is determined whether data has been received from the computer device 2 (S3). If no data has been received (S3: NO), the process returns to S2, and the power switch 4 off determination (S2) and the data reception determination (S3) are repeatedly performed.

コンピュータ装置2からデータを受信していれば(S3:YES)、受信したデータに応じた処理が行われる(S4〜S11)。受信したデータがラスタデータであれば(S4:YES)、RAM34に受信したラスタデータを記憶するラスタデータ蓄積処理が行われる(S7)。そして、S2へ戻る。また、ラスタデータでなく(S4:NO)、印刷開始データであれば(S5:YES)、S7のラスタデータ蓄積処理によりRAM34に蓄積されているラスタデータについて印刷処理が行われる(S8)。具体的には、RAM34のラスタデータを1ラインずつ読み込み、駆動回路23を制御してサーマルヘッド19を駆動させて、1ライン分の印刷が行われる。そして、駆動回路24を制御してテープ送りモータ20の駆動により、1ライン分ラベル用紙71が搬送される。次いで次の1ライン分のラスタデータが読み込まれて、印刷が行われ、1ライン分ラベル用紙71が搬送される。このようにして、すべてのラインの印刷が行われる。そして、印刷処理が終了したら、排出処理が行われる(S9)。ここでは、ラベル用紙71をテープ送りモータ20により搬送することにより、剥離機構45により、ラベル7121,7122が剥離され、台紙711はカセットテープに巻き取られることとなる。ここでの搬送量は、ユーザが排出口13から排出された取り出し可能な量(数cm)だけ、ラベル7121,7122を排出する量である。   If data is received from the computer device 2 (S3: YES), processing according to the received data is performed (S4 to S11). If the received data is raster data (S4: YES), raster data storage processing for storing the received raster data in the RAM 34 is performed (S7). Then, the process returns to S2. If it is not raster data (S4: NO) and it is print start data (S5: YES), the raster data stored in the RAM 34 is printed by the raster data storage process of S7 (S8). Specifically, raster data in the RAM 34 is read line by line, the drive circuit 23 is controlled to drive the thermal head 19, and printing for one line is performed. Then, the label paper 71 is conveyed by one line by controlling the driving circuit 24 and driving the tape feed motor 20. Next, raster data for the next line is read, printing is performed, and label paper 71 for one line is conveyed. In this way, all lines are printed. When the printing process is completed, a discharge process is performed (S9). Here, when the label paper 71 is conveyed by the tape feed motor 20, the labels 7121 and 7122 are peeled off by the peeling mechanism 45, and the mount 711 is wound around the cassette tape. The transport amount here is an amount by which the labels 7121 and 7122 are discharged by an amount (several centimeters) that can be taken out from the discharge port 13 by the user.

そして、本発明の要部であるイメージセンサ検出処理が行われる(S10)。図5に示すように、イメージセンサ検出処理では、イメージセンサヘッド27のアナログ値検出処理が行われる(S21)。ここでは、イメージセンサヘッド27のアナログ値が読み込まれ、AD変換が行われ、RAM34に設けられているイメージセンサ出力用バッファへ格納される。そして、イメージセンサヘッド27の光学素子の数(画素数)をカウントするための変数nに初期値の「0」がセットされる(S22)。そして、変数nに「1」が加算され(S23)、変数nの値がイメージセンサヘッド27の光学素子の数「1216」よりも大きく、すべての画素の処理が終了したか否かの判断が行われる(S24)。まだ、変数nの値は「1」であるので(S24:NO)、1画素目の値がメージセンサ出力用バッファから読み込まれる(S25)。   And the image sensor detection process which is the principal part of this invention is performed (S10). As shown in FIG. 5, in the image sensor detection process, an analog value detection process of the image sensor head 27 is performed (S21). Here, the analog value of the image sensor head 27 is read, AD conversion is performed, and stored in an image sensor output buffer provided in the RAM 34. Then, an initial value “0” is set in a variable n for counting the number of optical elements (number of pixels) of the image sensor head 27 (S22). Then, “1” is added to the variable n (S23), the value of the variable n is larger than the number “1216” of the optical elements of the image sensor head 27, and it is determined whether or not the processing of all the pixels has been completed. Performed (S24). Since the value of the variable n is still “1” (S24: NO), the value of the first pixel is read from the image sensor output buffer (S25).

そして、その値が閾値以下であるか否かの判断が行われる(S26)。本実施の形態では、前述したようにイメージセンサヘッド27の値は0〜255の値をとる。そして、反射部材271のイメージセンサヘッド27に対抗する反射面2711が黒色に彩色されており、ラベル712は白色なので、イメージセンサヘッド27の値が0〜255の中間値である「127」以下であれば、「黒色」でない、即ち「ラベル」が存在すると判断され、「127」より大きければ、「黒色」である、即ち「ラベル」が存在しないと判断されるものとする。   And it is judged whether the value is below a threshold value (S26). In the present embodiment, as described above, the value of the image sensor head 27 takes a value of 0 to 255. Since the reflection surface 2711 of the reflection member 271 facing the image sensor head 27 is colored black and the label 712 is white, the value of the image sensor head 27 is not more than “127” which is an intermediate value of 0 to 255. If there is, it is determined that it is not “black”, that is, “label” exists, and if it is larger than “127”, it is determined that it is “black”, that is, “label” does not exist.

そこで、値が閾値「127」以下である場合には(S26:YES)、ラベルが存在しているので、まだラベルの取り除きの監視を続ける必要がある。そこで、S21へ戻り、新たにセンサのアナログ値の検出処理が行われる(S21)。   Therefore, when the value is equal to or smaller than the threshold value “127” (S26: YES), since the label exists, it is necessary to continue monitoring the removal of the label. Therefore, the process returns to S21, and a detection process of the analog value of the sensor is newly performed (S21).

一方、値が閾値「127」以下でない場合には(S26:NO)、その画素の位置にはラベルが存在しないので、S23へ進み、変数nに「1」が加算されて(S23)、次の画素の処理が行われる(S24〜S26)。繰り返しS23〜S26の処理が行われて、S24において、変数nの値が「1216」よりも大きくなれば(S24:YES)、すべての画素について閾値以下でなかった(S26:NO)こととなる。即ち、すべての画素が「黒色」である、「ラベル」が存在しないと判断されたこととなる。よって、ラベル7121,7122がユーザにより取り除かれているので、イメージセンサ検出処理は終了し、メイン処理へ戻る。つまり、このイメージセンサ検出処理(S10)において、印刷されたすべてのラベル712がユーザにより取り除かれるまで、次の処理を待機させている。そして、メイン処理では、図4に示すように、イメージセンサ検出処理が終了すると(S10)、次の処理を進めることができるので、S2へ戻り、電源スイッチ4オフの判断が行われる(S2)。   On the other hand, if the value is not less than or equal to the threshold value “127” (S26: NO), since there is no label at the pixel position, the process proceeds to S23, and “1” is added to the variable n (S23). These pixels are processed (S24 to S26). If the processes of S23 to S26 are repeatedly performed and the value of the variable n is larger than “1216” in S24 (S24: YES), all the pixels are not below the threshold (S26: NO). . That is, it is determined that all the pixels are “black” and there is no “label”. Therefore, since the labels 7121 and 7122 have been removed by the user, the image sensor detection process ends, and the process returns to the main process. That is, in this image sensor detection process (S10), the next process is kept on standby until all printed labels 712 are removed by the user. Then, in the main process, as shown in FIG. 4, when the image sensor detection process is completed (S10), the next process can proceed, so the process returns to S2 to determine whether the power switch 4 is turned off (S2). .

また、コンピュータ装置2から受信したデータが、ラスタデータでも印刷開始データでもなかった場合には(S4:NO,S5:NO)、その他の指示コマンドのデータである以下否かの判断が行われ(S6)、その他の指示コマンドのデータであれば(S6:YES)、その指示コマンドに応じた処理が行われ(S11)、S2へ戻る。その他の指示コマンドデータでもなければ(S6:NO)、何もせずにS2へ戻る。そして、S2〜S11の処理が繰り返される中で、電源スイッチ4がオフされると(S2:YES)、電源オフの処理が行われ(S12)、本処理は終了する。   If the data received from the computer device 2 is neither raster data nor print start data (S4: NO, S5: NO), it is determined whether or not the following is the data of other instruction commands ( If it is the data of the other instruction command (S6), the process according to the instruction command is performed (S11), and the process returns to S2. If it is not other instruction command data (S6: NO), the process returns to S2 without doing anything. If the power switch 4 is turned off while the processes of S2 to S11 are repeated (S2: YES), the power off process is performed (S12), and this process ends.

以上のようにして、ラベル用紙71の幅方向に配置されたイメージセンサヘッド27により、1216個の光学素子のうちの1つでも閾値「127」以下となれば、ラベル712が存在しているとして、イメージセンサ検出処理が継続されるので、次の印刷処理が行われることがない。よって、複数のラベル712が幅方向に配置されているようなラベル用紙において、1枚のラベルのみが取り除かれており、他のラベルは残っているような場合であっても、イメージセンサヘッド27は光学素子が1216個も備えられており、300dpiの密度で配置されているので、確実にラベル712を検出することができる。したがって、印刷済みのラベル712が排出口13から排出されて、周囲にくっついてしまうことがない。   As described above, if one of the 1216 optical elements falls below the threshold value “127” by the image sensor head 27 arranged in the width direction of the label paper 71, the label 712 is present. Since the image sensor detection process is continued, the next printing process is not performed. Therefore, even in a case where only one label is removed from a label sheet in which a plurality of labels 712 are arranged in the width direction, and the other labels remain, the image sensor head 27 Since 1216 optical elements are provided and arranged at a density of 300 dpi, the label 712 can be detected reliably. Therefore, the printed label 712 is not discharged from the discharge port 13 and stuck to the periphery.

さらに、図6は不規則にラベル812が配置されているラベル用紙81のイメージ図であり、図7は不規則にラベル912が配置されているラベル用紙91のイメージ図であるが、図6に示すようなラベル用紙81、図7に示すようなラベル用紙91であっても、すべてのラベル812,912を検出することができる。なお、図6及び図7における上下方向がラベル用紙81,91の幅方向となり、ラベル用紙81,91は図6及び図7における右から左に搬送されるものとし、図6及び図7の右側を上流側、左側を下流側とする。   Further, FIG. 6 is an image diagram of the label paper 81 on which the labels 812 are irregularly arranged, and FIG. 7 is an image diagram of the label paper 91 on which the labels 912 are irregularly arranged, as shown in FIG. Even if the label sheet 81 is a label sheet 91 as shown in FIG. 7, all the labels 812 and 912 can be detected. 6 and 7 is the width direction of the label sheets 81 and 91, and the label sheets 81 and 91 are transported from right to left in FIGS. 6 and 7, and the right side of FIGS. Is the upstream side, and the left side is the downstream side.

図6に示すように、ラベル用紙81は、台紙811の下流側の幅方向右(図6における上側)にラベル8121,左にラベル8121よりも幅の広いラベル8122が配置されており、その上流側の次の列には、幅方向右にラベル8123、左にラベル8123よりも幅の狭いラベル8124が配置されており、その上流側の次の列には幅の同じラベル8125,8126が配置されている。このように、列ごとにラベル幅の異なる種々のラベルが配置されていても、イメージセンサヘッド27によりすべてのラベルを検出することができる。また、図7に示すように、ラベル用紙91は、台紙911の下流側の幅方向右にラベル9121,左にラベル9121よりも幅の広いラベル9122が配置されており、その上流側の次の列には、幅の等しい3つのラベル9123,9124,9125が配置されており、その上流側の次の列には1枚のラベル9126が配置されている。このように、列ごとにラベル幅の異なる種々のラベルが異なる枚数で配置されていても、イメージセンサヘッド27によりすべてのラベルを検出することができる。   As shown in FIG. 6, in the label paper 81, a label 8121 is arranged on the right in the width direction on the downstream side of the mount 811 (upper side in FIG. 6), and a label 8122 wider than the label 8121 is arranged on the left. In the next column on the side, a label 8123 is arranged on the right in the width direction, and a label 8124 narrower than the label 8123 is arranged on the left, and labels 8125 and 8126 having the same width are arranged on the next column on the upstream side. Has been. Thus, even if various labels having different label widths are arranged for each column, all the labels can be detected by the image sensor head 27. Further, as shown in FIG. 7, the label sheet 91 has a label 9121 on the right in the width direction downstream of the mount 911 and a label 9122 wider than the label 9121 on the left. Three labels 9123, 9124, and 9125 having the same width are arranged in the column, and one label 9126 is arranged in the next column on the upstream side. As described above, even if various labels having different label widths are arranged in different numbers for each column, all the labels can be detected by the image sensor head 27.

尚、本発明の印刷装置は、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。印刷装置1の形状は図1に示すようなものでなくともよい。また、被印刷媒体であるラベル用紙のラベルは図3,6,7に示したような略長方形の形状に限らず、楕円や丸、その他の多角形や、車型や犬型など模りをした形状であってもよい。また、被印刷媒体は、テープカセットに収納されているものでなく、ロール状のものであってもよい。この場合には、台紙も印刷装置1の外部へ排出される。また、印刷装置1は、テープ形状の被印刷媒体を印刷するラベルプリンタでなく、カット紙を印刷する印刷装置であってもよい。この場合には、ラベル用紙の台紙はテープ形状でなく、カット紙形状となり、台紙も印刷装置1の外部へ排出される。また、印刷装置1はサーマルヘッド19を用いた熱転写型のものに限らず、インクジェットプリンタやレーザプリンタであってもよいことは言うまでもない。   Note that the printing apparatus of the present invention is not limited to the above-described embodiment, and it is needless to say that various changes can be made without departing from the gist of the present invention. The shape of the printing apparatus 1 may not be as shown in FIG. In addition, the label of the label paper, which is the printing medium, is not limited to the substantially rectangular shape as shown in FIGS. 3, 6 and 7, but it is similar to an ellipse, a circle, other polygons, a car shape or a dog shape. It may be a shape. Further, the printing medium is not stored in the tape cassette but may be a roll-shaped medium. In this case, the mount is also discharged outside the printing apparatus 1. The printing apparatus 1 may be a printing apparatus that prints a cut sheet instead of a label printer that prints a tape-shaped print medium. In this case, the mount of the label paper is not a tape shape but a cut paper shape, and the mount is also discharged to the outside of the printing apparatus 1. Needless to say, the printing apparatus 1 is not limited to the thermal transfer type using the thermal head 19 but may be an ink jet printer or a laser printer.

また、印刷装置の変形例として、コンピュータ装置2から受信した印刷データを印刷するのではなく、予め記憶されている印刷データを印刷するような、単独で印刷を行う印刷装置であってもよい。ここでは、図8のフローチャートを参照して、この印刷装置の動作について説明する。この印刷装置は、この印刷装置の電気的構成は、コンピュータ装置2へ接続するための通信用I/F16を備えていないだけで、印刷装置1と同様であるので、印刷装置1の説明を引用して、説明を省略するが、ラスタデータの元となる図形データはCGROM32に記憶されている。また、印刷装置の排出口13の内部の構造についても印刷装置1と同様であるので、図3の説明を引用して、説明を省略する。   Further, as a modification of the printing apparatus, a printing apparatus that performs printing alone, such as printing print data stored in advance, instead of printing print data received from the computer apparatus 2 may be used. Here, the operation of the printing apparatus will be described with reference to the flowchart of FIG. This printing apparatus has the same electrical configuration as that of the printing apparatus 1 except that the electrical configuration of the printing apparatus does not include the communication I / F 16 for connection to the computer apparatus 2. Therefore, the description of the printing apparatus 1 is cited. Then, although explanation is omitted, the graphic data that is the source of the raster data is stored in the CGROM 32. Further, since the internal structure of the discharge port 13 of the printing apparatus is also the same as that of the printing apparatus 1, the description of FIG.

図8に示すメイン処理は、印刷装置が起動すると開始される。図8に示すように、まず、初期化処理が行われる(S51)。ここでは、各種記憶エリアの初期化等の処理が行われる。そして、電源スイッチ4の操作により電源がオフされたか否かの判断が行われる(S52)。電源スイッチ4がオフされていなければ(S52:NO)、印刷回数の入力を受け付けたか否かの判断が行われる(S53)。この印刷回数の入力はキー3により行われる。そして、印刷回数の入力を受け付けていなければ(S53:NO)、S52へ戻り、電源スイッチ4オフの判断(S52)、データ受信の判断(S53)が繰り返し行われる。   The main process shown in FIG. 8 is started when the printing apparatus is activated. As shown in FIG. 8, first, initialization processing is performed (S51). Here, processing such as initialization of various storage areas is performed. Then, it is determined whether or not the power is turned off by operating the power switch 4 (S52). If the power switch 4 is not turned off (S52: NO), it is determined whether or not an input of the number of times of printing has been accepted (S53). The number of times of printing is input by the key 3. If the input of the number of times of printing has not been received (S53: NO), the process returns to S52, and the power switch 4 off determination (S52) and the data reception determination (S53) are repeatedly performed.

印刷回数の入力を受け付けたら(S53:YES)、RAM34に設けられている印刷回数Kを記憶する記憶エリアに入力された印刷回数が格納される(S54)。そして、印刷回数Kの値が「0」であるか否かの判断が行われる(S55)。印刷回数Kが「0」であれば(S54:YES)、印刷をする必要はないので、S52へ戻る。印刷回数Kが「0」でなければ(S55:NO)、印刷を行う必要があるので、まずイメージセンサ検出処理が行われる(S56)。このイメージセンサ検出処理は上記実施の形態で図5のフローチャートを参照して説明したものと同様であるので、ここでは引用して説明を省略するが、イメージセンサヘッド27がラベル712を検出している間は、イメージセンサ検出処理が継続し、イメージセンサヘッド27がラベル712を検出しなくなると、イメージセンサ検出処理が終了し、印刷イメージ処理が行われる(S57)。具体的には、CGROM32から図形データが読み出されて、ラスタデータが作成されRAM34に記憶される。そして、印刷処理が行われる(S58)。具体的には、RAM34のラスタデータを1ラインずつ読み込み、駆動回路23を制御してサーマルヘッド19を駆動させて、1ライン分の印刷が行われる。そして、駆動回路24を制御してテープ送りモータ20の駆動により、1ライン分ラベル用紙71が搬送される。次いで次の1ライン分のラスタデータが読み込まれて、印刷が行われ、1ライン分ラベル用紙71が搬送される。このようにして、すべてのラインの印刷が行われる。   When an input of the number of times of printing is accepted (S53: YES), the number of times of printing input is stored in a storage area for storing the number of times of printing K provided in the RAM 34 (S54). Then, it is determined whether or not the value of the printing count K is “0” (S55). If the number of times of printing K is “0” (S54: YES), there is no need to print, and the process returns to S52. If the number of times of printing K is not “0” (S55: NO), since it is necessary to perform printing, image sensor detection processing is first performed (S56). Since this image sensor detection process is the same as that described with reference to the flowchart of FIG. 5 in the above embodiment, the description is omitted here, but the image sensor head 27 detects the label 712. When the image sensor detection process continues and the image sensor head 27 does not detect the label 712, the image sensor detection process ends and the print image process is performed (S57). Specifically, graphic data is read from the CGROM 32, raster data is created and stored in the RAM. Then, a printing process is performed (S58). Specifically, raster data in the RAM 34 is read line by line, the drive circuit 23 is controlled to drive the thermal head 19, and printing for one line is performed. Then, the label paper 71 is conveyed by one line by controlling the driving circuit 24 and driving the tape feed motor 20. Next, raster data for the next line is read, printing is performed, and label paper 71 for one line is conveyed. In this way, all lines are printed.

そして、印刷処理が終了したら、排出処理が行われる(S59)。そして、印刷回数Kから「1」が減算され(S60)、S55へ戻る。そして、印刷回数Kが「0」となっていれば(S55:YES)、S52へ戻るが、「0」となっていなければ(S55:NO)、イメージセンサ検出処理が行われて(S56)、印刷済みのラベル712が取り除かれた後に、次の印刷の処理が行われる(S57〜S60)。そして、印刷回数が「0」となり(S54:YES)、電源スイッチ4がオフされると(S52:YES)、電源オフの処理が行われ(S61)、本処理は終了する。   When the printing process is completed, a discharge process is performed (S59). Then, “1” is subtracted from the print count K (S60), and the process returns to S55. If the print count K is “0” (S55: YES), the process returns to S52, but if it is not “0” (S55: NO), an image sensor detection process is performed (S56). After the printed label 712 is removed, the next printing process is performed (S57 to S60). When the number of times of printing becomes “0” (S54: YES) and the power switch 4 is turned off (S52: YES), a power-off process is performed (S61), and this process ends.

以上のようにして、コンピュータ装置2に接続せずに単独で動作する印刷装置においても、種々のサイズのラベルが配置されたラベル用紙においても、すべてのラベルが取り除かれるまで次の印刷が行われないので、印刷済みのラベルが排出口13の周囲に貼り付いてしまうことがない。したがって、どのようなラベル配置のラベル用紙であっても、ハードウェアの変更を行うことなく対応することができる。   As described above, even in a printing apparatus that operates independently without being connected to the computer apparatus 2, even on a label sheet on which labels of various sizes are arranged, the next printing is performed until all the labels are removed. Therefore, the printed label does not stick around the discharge port 13. Therefore, any label sheet with any label arrangement can be handled without changing the hardware.

また、図9に示すように、イメージセンサヘッド37がラベル用紙71の裏面側に設けられており、反射部材371がラベル用紙71の印刷面側に設けられていてもよい。この場合には、イメージセンサヘッド37はラベル712の粘着面側で反射された光を検出することになるので、検出結果が印刷結果の色に左右されることがない。   As shown in FIG. 9, the image sensor head 37 may be provided on the back side of the label paper 71, and the reflection member 371 may be provided on the printing surface side of the label paper 71. In this case, since the image sensor head 37 detects the light reflected on the adhesive surface side of the label 712, the detection result does not depend on the color of the printing result.

また、反射部材271の反射面2711の色は黒でなくともよく、特に黒色のラベルを印刷する印刷装置1では、黒以外の色を用いることが望ましい。また、反射部材271,371を交換可能に設計し、使用するラベルの色を検出しやすい色の反射部材に交換して使用してもよい。そして、上記実施の形態では、反射部材271の反射面2711の色が黒色であるので、イメージセンサヘッド27で検出された値を比較する閾値を「127」としているが、この閾値はこの値に限らず、反射面2711の色とラベル712の検出面(イメージセンサヘッドからの光を反射する面)の色とに基づいて設定されていればよい。そして、予め取り付けられている反射部材271ごとに閾値をROM33に記憶しておき、取り付けられている反射部材271に応じた閾値を用いてラベル有無の判断を行うようにすればよい。なお、取り付けられている反射部材271の種類(色)を認識するためには、ユーザにより種類を入力させたり、反射部材271の識別手段を設けたりすればよい。識別手段としては、例えば、印刷装置1の反射部材271の設置位置に複数の接触スイッチを設け、反射部材271には接触スイッチのいずれかに接触する位置に突出部を、それぞれの反射部材で異なるように設ける。そして、接触スイッチの接触の検知/非検知の組み合わせと反射部材271の種類との対応をROM33に予め記憶させておく。これにより、どの接触スイッチが接触を検知しているかにより反射部材271の種類を識別することができる。   Further, the color of the reflection surface 2711 of the reflection member 271 does not have to be black, and it is desirable to use a color other than black particularly in the printing apparatus 1 that prints a black label. Further, the reflecting members 271 and 371 may be designed so as to be exchangeable, and the color of the label to be used may be replaced with a reflecting member having a color that can be easily detected. In the above embodiment, since the color of the reflecting surface 2711 of the reflecting member 271 is black, the threshold value for comparing the values detected by the image sensor head 27 is set to “127”. Not limited to this, it may be set based on the color of the reflection surface 2711 and the color of the detection surface of the label 712 (the surface that reflects light from the image sensor head). Then, a threshold value may be stored in the ROM 33 for each reflection member 271 attached in advance, and the presence / absence of the label may be determined using the threshold value corresponding to the reflection member 271 attached. In order to recognize the type (color) of the attached reflection member 271, the type may be input by the user or an identification unit for the reflection member 271 may be provided. As the identification means, for example, a plurality of contact switches are provided at the installation position of the reflection member 271 of the printing apparatus 1, and the reflection member 271 has a protruding portion at a position in contact with any one of the contact switches. Provide as follows. Then, the correspondence between the contact detection / non-detection combination of the contact switch and the type of the reflection member 271 is stored in the ROM 33 in advance. Thereby, the type of the reflecting member 271 can be identified depending on which contact switch detects the contact.

また、印刷装置1に書き込み可能な不揮発性メモリを備えておき、制御プログラムや制御プログラムが読み込むデータ(例えば、閾値や接触スイッチの接触の検知/非検知の組み合わせと反射部材271の種類との対応)をROM33でなく不揮発性メモリに記憶させるように構成すれば、新しい色のラベルのラベル用紙を使用するために閾値を変更したり、使用する反射部材271を増やしたりするような場合であっても、ソフトウェアの変更をするだけでよく、ハードウェアの変更をする必要がないので、コストや手間が軽減される。   In addition, a non-volatile memory that can be written to the printing apparatus 1 is provided, and a control program and data read by the control program (for example, correspondence between threshold value and contact switch detection / non-detection combination and the type of reflecting member 271) ) Is stored in the non-volatile memory instead of the ROM 33, the threshold value is changed in order to use a label sheet of a new color label, or the number of reflecting members 271 to be used is increased. However, since it is only necessary to change the software, and it is not necessary to change the hardware, the cost and labor are reduced.

また、上記実施の形態では、「ラベル検出手段」として反射型の光センサの複合体であるイメージセンサヘッド27を使用しているが、「ラベル検出手段」として用いるセンサはこれに限らず、単独の反射型の光センサを複数使用したものであってもよい。   In the above embodiment, the image sensor head 27, which is a composite of a reflection type photosensor, is used as the “label detection means”. However, the sensor used as the “label detection means” is not limited to this, and is independent. A plurality of reflection type optical sensors may be used.

なお、上記実施の形態の剥離機構45が「剥離手段」に相当し、イメージセンサヘッド27が「ラベル検出手段」に相当し、サーマルヘッド19が「印刷手段」に相当する。   The peeling mechanism 45 of the above embodiment corresponds to “peeling means”, the image sensor head 27 corresponds to “label detection means”, and the thermal head 19 corresponds to “printing means”.

本発明の実施の形態における印刷装置1の概略を示す外観斜視図である。1 is an external perspective view showing an outline of a printing apparatus 1 in an embodiment of the present invention. 印刷装置1の電気的構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of the printing apparatus 1. 印刷装置1の排出口13の内部の模式図である。3 is a schematic diagram of the inside of a discharge port 13 of the printing apparatus 1. 印刷装置1で実施されるメイン処理のフローチャートである。4 is a flowchart of main processing performed by the printing apparatus 1. メイン処理の中で実施されるイメージセンサ検出処理のフローチャートであ る。6 is a flowchart of an image sensor detection process performed in the main process. 不規則にラベル812が配置されているラベル用紙81のイメージ図である 。It is an image figure of the label paper 81 in which the label 812 is irregularly arranged. 不規則にラベル912が配置されているラベル用紙91のイメージ図である 。It is an image figure of the label paper 91 in which the label 912 is irregularly arranged. 本発明の実施の形態の変形例における印刷装置で実施されるメイン処理のフ ローチャートである。10 is a flowchart of main processing performed by a printing apparatus according to a modification of the embodiment of the present invention. 印刷装置1の排出口13の内部の変形例の模式図である。FIG. 6 is a schematic diagram of a modified example inside the discharge port 13 of the printing apparatus 1.

1 印刷装置
11 CPU
13 排出口
19 サーマルヘッド
20 モータ
27 イメージセンサヘッド
32 CGROM
34 RAM
37 イメージセンサヘッド
45 剥離機構
71 ラベル用紙
81 ラベル用紙
91 ラベル用紙
271 反射部材
2711 反射面
371 反射部材
711 台紙
712 ラベル
7121〜7126 ラベル
811 台紙
812 ラベル
8121〜8126 ラベル
911 台紙
912 ラベル
9121〜9126 ラベル
1 Printing device 11 CPU
13 Discharge port 19 Thermal head 20 Motor 27 Image sensor head 32 CGROM
34 RAM
37 Image sensor head 45 Peeling mechanism 71 Label paper 81 Label paper 91 Label paper 271 Reflective member 2711 Reflective surface 371 Reflective member 711 Mount 712 Label 7121-7126 Label 811 Mount 812 Label 8121-8126 Label 911 Mount 912 Label 9121-9126 Label

Claims (4)

多数のラベルが台紙に粘着されたラベル用紙に印刷データを印刷する印刷手段を備えた印刷装置であって、
前記ラベルを前記台紙から剥離する剥離手段と、
当該剥離手段により前記台紙から剥離された前記ラベルが前記台紙から突出する位置に、前記ラベルの有無を検出するために前記台紙の幅方向に配置されているラベル検出手段と
前記ラベル検出手段に対向し、前記台紙から突出した前記ラベルを挟む位置に交換可能に設けた反射手段であって、前記ラベル表面の色又は裏面の色とは異なる色の反射手段と、
前記反射手段の色を識別する識別手段と
前記識別手段によって識別した色に応じた閾値と、前記ラベル検出手段によって検出された値とを比較することによって、前記ラベルの有無を判断する判断手段と
を備えていることを特徴とする印刷装置。
A printing apparatus comprising printing means for printing print data on a label sheet in which a number of labels are adhered to a mount,
Peeling means for peeling the label from the mount;
Label detecting means arranged in the width direction of the mount to detect the presence or absence of the label at a position where the label peeled off from the mount by the peeling means protrudes from the mount ;
Reflecting means provided opposite to the label detecting means and provided at a position sandwiching the label protruding from the mount, the reflecting means having a color different from the color of the label surface or the back surface;
Identifying means for identifying the color of the reflecting means;
Determination means for determining the presence or absence of the label by comparing a threshold corresponding to the color identified by the identification means with a value detected by the label detection means. A printing device.
前記ラベル検出手段は、前記ラベルの印字面に対向して設けられていることを特徴とする請求項1に記載の印刷装置。   The printing apparatus according to claim 1, wherein the label detection unit is provided to face a printing surface of the label. 前記ラベル検出手段は、前記ラベルの印字面の裏面に対向して設けられていることを特徴とする請求項1に記載の印刷装置。   The printing apparatus according to claim 1, wherein the label detection unit is provided to face a back surface of a printing surface of the label. 前記ラベル検出手段は光電素子がライン状に配置されたイメージセンサであることを特徴とする請求項1乃至3のいずれかに記載の印刷装置。   The printing apparatus according to claim 1, wherein the label detection unit is an image sensor in which photoelectric elements are arranged in a line.
JP2006039823A 2006-02-16 2006-02-16 Printing device Active JP4784330B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006039823A JP4784330B2 (en) 2006-02-16 2006-02-16 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006039823A JP4784330B2 (en) 2006-02-16 2006-02-16 Printing device

Publications (2)

Publication Number Publication Date
JP2007216515A JP2007216515A (en) 2007-08-30
JP4784330B2 true JP4784330B2 (en) 2011-10-05

Family

ID=38494291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006039823A Active JP4784330B2 (en) 2006-02-16 2006-02-16 Printing device

Country Status (1)

Country Link
JP (1) JP4784330B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5060939B2 (en) * 2007-12-27 2012-10-31 パナソニック デバイスSunx株式会社 Label attaching device and photoelectric sensor
JP5217737B2 (en) * 2008-07-30 2013-06-19 セイコーエプソン株式会社 Paper width detection method for label printer, printing control method for label printer, and label printer
EP2149454B1 (en) 2008-07-30 2016-11-16 Seiko Epson Corporation Paper width determination method for a label printer, printing control method for a label printer, and a label printer
JP5093046B2 (en) * 2008-10-22 2012-12-05 ブラザー工業株式会社 Tape printer
GB2471846A (en) * 2009-07-14 2011-01-19 Illinois Tool Works Label printer for a weighing scale
KR101239616B1 (en) * 2010-06-24 2013-03-11 황영수 Label Feeder
JP6310829B2 (en) * 2014-09-24 2018-04-11 株式会社東芝 Label processing apparatus and label processing program
US9894228B2 (en) * 2015-06-03 2018-02-13 Kabushiki Kaisha Toshiba Image processing apparatus and image forming apparatus
CN113199879B (en) * 2021-05-17 2022-05-17 威海新北洋技术服务有限公司 Label peeling printing structure, label printer and control method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57102876U (en) * 1980-12-17 1982-06-24
JPS61181669A (en) * 1985-02-07 1986-08-14 Ishida Scales Mfg Co Ltd Label printer
JPH05170240A (en) * 1991-12-17 1993-07-09 Tokyo Electric Co Ltd Label printer
JPH06183605A (en) * 1992-12-22 1994-07-05 Fuji Xerox Co Ltd Paper abnormal conveyance detector
JPH07126937A (en) * 1993-11-02 1995-05-16 Toyota Autom Loom Works Ltd Device for detecting sliver end of cane
JP4632693B2 (en) * 2004-05-31 2011-02-16 株式会社サトー Label detection device

Also Published As

Publication number Publication date
JP2007216515A (en) 2007-08-30

Similar Documents

Publication Publication Date Title
JP4784330B2 (en) Printing device
WO2004000564A1 (en) Tape printer and tape cassette
JP5093046B2 (en) Tape printer
JP6891840B2 (en) Printing device, control method, and program
JP4889542B2 (en) Printing device
WO2006038374A1 (en) Printer and printing method
JP4321071B2 (en) Label making system,
JP4084977B2 (en) Recording device
JP2004345307A (en) Printing device
JP2010179462A (en) Printer
CN110744926B (en) Printing apparatus, control method, and recording medium
JP2012131165A (en) Thermal printer, and method for detecting label sheet in thermal printer
JP6717328B2 (en) Printing device, control method, and program
JP4244719B2 (en) Error recovery method for printing apparatus, program, and printing apparatus
JP4604352B2 (en) Printer, control method therefor, and information recording medium
JP4696984B2 (en) Printing apparatus and printing program
JPH09109425A (en) Printer and recording paper used therein
JP2006198859A (en) Recording apparatus and method for controlling recording apparatus
JP2005001887A (en) Printer, control method and program of printer
JP4962240B2 (en) Printing device
JP2005047193A (en) Paper sheet and electronic device
JP2003312070A (en) Label printer
JP7318254B2 (en) PRINTING DEVICE, PRINT CONTROL METHOD, AND PROGRAM
EP2644400B1 (en) Printer and computer-readable storage medium storing printing control program
WO2006109523A1 (en) Printer

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080223

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101227

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110627

R150 Certificate of patent or registration of utility model

Ref document number: 4784330

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3