JP2019006018A - Printing device, method for controlling printing of printing device, and program - Google Patents

Printing device, method for controlling printing of printing device, and program Download PDF

Info

Publication number
JP2019006018A
JP2019006018A JP2017123918A JP2017123918A JP2019006018A JP 2019006018 A JP2019006018 A JP 2019006018A JP 2017123918 A JP2017123918 A JP 2017123918A JP 2017123918 A JP2017123918 A JP 2017123918A JP 2019006018 A JP2019006018 A JP 2019006018A
Authority
JP
Japan
Prior art keywords
printing
printing apparatus
color
detection
medium
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.)
Granted
Application number
JP2017123918A
Other languages
Japanese (ja)
Other versions
JP2019006018A5 (en
JP7047266B2 (en
Inventor
瞭 熊谷
Ryo Kumagai
瞭 熊谷
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2017123918A priority Critical patent/JP7047266B2/en
Priority to PCT/JP2018/015850 priority patent/WO2019003593A1/en
Priority to CN201880043026.0A priority patent/CN110799340B/en
Publication of JP2019006018A publication Critical patent/JP2019006018A/en
Publication of JP2019006018A5 publication Critical patent/JP2019006018A5/ja
Priority to JP2022046285A priority patent/JP7231088B2/en
Application granted granted Critical
Publication of JP7047266B2 publication Critical patent/JP7047266B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/36Blanking or long feeds; Feeding to a particular line, e.g. by rotation of platen or feed roller
    • B41J11/42Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J15/00Devices or arrangements of selective printing mechanisms, e.g. ink-jet printers or thermal printers, specially adapted for supporting or handling copy material in continuous form, e.g. webs
    • B41J15/04Supporting, feeding, or guiding devices; Mountings for web rolls or spindles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J17/00Mechanisms for manipulating page-width impression-transfer material, e.g. carbon paper
    • B41J17/32Detachable carriers or holders for impression-transfer material mechanism
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • B41J2/325Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads by selective transfer of ink from ink carrier, e.g. from ink ribbon or sheet
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/46Applications of alarms, e.g. responsive to approach of end of line
    • B41J29/48Applications of alarms, e.g. responsive to approach of end of line responsive to breakage or exhaustion of paper or approach of bottom of paper
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/36Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for portability, i.e. hand-held printers or laptop printers

Abstract

To detect an end edge of residual quantity of a medium to be printed without processing an existing medium to be printed.SOLUTION: A printing device 1 includes: a photosensor 42 for detecting a color of an object to be conveyed that is conveyed along a conveyance passage; and a control device 5. The control device 5 detects an end edge E of a medium to be printed M based on the color of the medium to be printed M that is detected by the photosensor 42 and a color of an ink ribbon R that is conveyed while overlapping with the medium to be printed M and detected by the photosensor 42.SELECTED DRAWING: Figure 9

Description

本明細書は、印刷装置、印刷装置の印刷制御方法、及び、プログラムに関する。   The present specification relates to a printing apparatus, a printing control method for the printing apparatus, and a program.

従来、長尺状の被印刷媒体(印刷テープ)に文字等の印刷を行ってから切断することで、文字等が印刷された印刷テープ片(ラベル)を作成する印刷装置(ラベルプリンタ)及びこれに用いられる被印刷媒体を収納したテープカセットが知られている。
このような印刷装置において、テープカセット内の被印刷媒体の残量がなくなる前に、被印刷媒体に形成された識別マークを検出することで、被印刷媒体の終端を検出することができる機能を備えた印刷装置がある(例えば、特許文献1参照)。
2. Description of the Related Art Conventionally, a printing apparatus (label printer) that creates a printing tape piece (label) on which characters or the like are printed by printing characters and the like on a long print medium (printing tape) and then cutting the same 2. Description of the Related Art A tape cassette that stores a printing medium used for printing is known.
In such a printing apparatus, a function that can detect the end of the printing medium by detecting the identification mark formed on the printing medium before the remaining printing medium in the tape cassette runs out. There is a printing apparatus provided (for example, see Patent Document 1).

特開2006−181829号公報JP 2006-181829 A

しかしながら、特許文献1の技術を用いることで被印刷媒体の終端を検出できるものの、この技術を使用するためには被印刷媒体に対して識別マークを形成する加工をしなければならなかった。   However, although the end of the printing medium can be detected by using the technique of Patent Document 1, in order to use this technique, a process for forming an identification mark on the printing medium has to be performed.

以上のような実情を踏まえ、本発明の一側面に係る目的は、被印刷媒体を加工することなく、被印刷媒体の終端を検出する技術を提供することである。   In view of the above circumstances, an object of one aspect of the present invention is to provide a technique for detecting the end of a printing medium without processing the printing medium.

本発明の一態様に係る印刷装置は、少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の前記色又は前記明るさを、前記少なくとも一方の面側から検出する検出装置と、前記搬送対象物の少なくとも一部に印刷を行う印刷ヘッドと、前記検出装置の検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出する制御装置と、を備える。   In the printing apparatus according to one aspect of the present invention, the first member and the first member have different colors included in each region of at least one surface, or different in brightness in each region of at least one surface. A detection device that detects the color or the brightness of the object to be conveyed in a state where a plurality of members having two members are stacked, and at least a part of the object to be conveyed A control device for detecting one boundary between the first member and the second member of the transport object as viewed from the at least one surface side based on a print head for performing printing and a detection result of the detection device And comprising.

本発明の一態様に係る印刷装置の印刷制御方法は、前記印刷装置は、印刷を行う印刷ヘッドと、対象物の色又は明るさを検出する検出装置と、を備え、少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の色又は明るさを、前記検出装置により、前記少なくとも一方の面側から検出し、前記検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出する。   In the printing control method for a printing apparatus according to an aspect of the present invention, the printing apparatus includes a print head that performs printing, and a detection device that detects a color or brightness of an object, and includes at least one of the surfaces. Transport in which a plurality of members having a first member and a second member having different colors in each region or having different brightness in each region of at least one surface are stacked. The first member of the conveyance object is detected from the at least one surface side by the detection device and is viewed from the at least one surface side based on the detection result. And detecting one boundary of the second member.

本発明の一態様に係るプログラムは、印刷装置のコンピュータに実行させるプログラムであって、前記印刷装置は、印刷を行う印刷ヘッドと、対象物の色又は明るさを検出する検出装置と、を備え、前記コンピュータに、少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の色又は明るさを、前記検出装置により、前記少なくとも一方の面側から検出させ、前記検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出させる。   A program according to an aspect of the present invention is a program that is executed by a computer of a printing apparatus, and the printing apparatus includes a print head that performs printing and a detection device that detects the color or brightness of an object. The computer includes a plurality of first members and second members in which colors included in each region of at least one surface are different from each other, or brightness in each region of at least one surface is different from each other. The detection device detects the color or brightness of an object to be conveyed in a state where the members are overlapped, from the at least one surface side, and based on the detection result, the color or brightness is viewed from the at least one surface side. In addition, one boundary of the first member and the second member of the conveyance object is detected.

上記の態様によれば、既存の被印刷媒体を加工せずに、長尺状の被印刷媒体の終端を検出することができる。   According to the above aspect, it is possible to detect the end of the long print medium without processing the existing print medium.

印刷装置1を含む印刷システムの構成を例示した図である。1 is a diagram illustrating a configuration of a printing system including a printing apparatus 1. FIG. 印刷装置1の開閉蓋3を開放した状態の斜視図である。FIG. 3 is a perspective view of the printing apparatus 1 with an opening / closing lid 3 opened. 印刷装置1に使用される被印刷媒体Mを媒体幅方向Yから見た断面図である。3 is a cross-sectional view of a printing medium M used in the printing apparatus 1 when viewed from the medium width direction Y. FIG. 印刷装置1に収納されるテープカセット30の斜視図である。FIG. 3 is a perspective view of a tape cassette 30 stored in the printing apparatus 1. 印刷装置1のカセット収納部19の斜視図である。3 is a perspective view of a cassette storage unit 19 of the printing apparatus 1. FIG. 印刷装置1の要部断面図である。2 is a cross-sectional view of a main part of the printing apparatus 1. FIG. 印刷装置1のテープエンド検出基板41の正面図である。2 is a front view of a tape end detection substrate 41 of the printing apparatus 1. FIG. 印刷装置1と電子機器100のハードウェア構成を示したブロック図である。2 is a block diagram showing hardware configurations of the printing apparatus 1 and the electronic device 100. FIG. テープエンド判断処理のフローチャートである。It is a flowchart of a tape end judgment process. 被印刷媒体M及びインクリボンRの搬送状態を示す図である。FIG. 4 is a diagram illustrating a conveyance state of a printing medium M and an ink ribbon R.

図1は、本実施形態に係る印刷装置を含む印刷システムの構成を例示した図である。図2は、印刷装置の開閉蓋を開放した状態の斜視図である。図1に示す印刷システムは、印刷装置1と、印刷装置1へ印刷データを送信する電子機器100と、を含んでいる。印刷装置1と電子機器100は、無線通信又は有線通信でデータをやり取りする。   FIG. 1 is a diagram illustrating a configuration of a printing system including a printing apparatus according to the present embodiment. FIG. 2 is a perspective view of the printing apparatus with the opening / closing lid opened. The printing system shown in FIG. 1 includes a printing apparatus 1 and an electronic device 100 that transmits print data to the printing apparatus 1. The printing apparatus 1 and the electronic device 100 exchange data by wireless communication or wired communication.

なお、本実施形態において、被印刷媒体M(印刷テープ)の搬送される方向を「搬送方向X」とし、この搬送方向Xに直交する被印刷媒体M(印刷テープ)の幅方向を「媒体幅方向Y」とし、被印刷媒体M(印刷テープ)の厚み方向を「厚み方向Z」とする。これらX方向、Y方向、及びZ方向は、互いに直交する。
印刷装置1は、被印刷媒体に印刷を行うサーマルヘッド(印刷ヘッド)を備える印刷装置であり、例えば、長尺な帯状の被印刷媒体Mに、シングルパス方式で印刷を行うラベルプリンタである。図3は、印刷装置1に使用される被印刷媒体Mを媒体幅方向Yから見た断面図である。被印刷媒体Mは、例えば、粘着層Aを有する基材Bと、粘着層A(のり面)と、粘着層Aを覆う剥離可能な剥離紙Fと、を有する長尺状のテープ部材である。被印刷媒体Mは、剥離紙Fなしの長尺状のテープ部材であってもよい。
本実施形態では、基材Bの粘着層Aとは反対側の面(基材Bの表面。これを「印刷面P」とする。)に対しサーマルヘッド10により印刷が行われる。以降では、インクリボンを使用する熱転写方式のラベルプリンタを例にして説明するが、印刷方式は特に限定されない。本実施形態では、被印刷媒体(第2部材)Mの一方の面と、インクリボン(第1部材)Rの一方の面と、が同じ向きで重ねられた状態で、被印刷媒体MとインクリボンRの長さ方向が搬送経路に沿って搬送方向に搬送される。以下、被印刷媒体Mと、インクリボンRと、が重ねられた状態の搬送対象を区別しないときは単に搬送対象物ともいう。第1部材及び第2部材は、少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる。
In this embodiment, the direction in which the printing medium M (printing tape) is conveyed is “conveying direction X”, and the width direction of the printing medium M (printing tape) orthogonal to the conveying direction X is “medium width”. “Direction Y”, and the thickness direction of the printing medium M (printing tape) is “thickness direction Z”. These X direction, Y direction, and Z direction are orthogonal to each other.
The printing apparatus 1 is a printing apparatus that includes a thermal head (printing head) that performs printing on a printing medium. For example, the printing apparatus 1 is a label printer that performs printing on a long band-shaped printing medium M using a single-pass method. FIG. 3 is a cross-sectional view of the printing medium M used in the printing apparatus 1 as seen from the medium width direction Y. The print medium M is, for example, a long tape member having a base material B having an adhesive layer A, an adhesive layer A (paste surface), and a peelable release paper F covering the adhesive layer A. . The printing medium M may be a long tape member without the release paper F.
In the present embodiment, printing is performed by the thermal head 10 on the surface of the base material B opposite to the adhesive layer A (the surface of the base material B, which is referred to as “printing surface P”). Hereinafter, a thermal transfer type label printer using an ink ribbon will be described as an example, but the printing method is not particularly limited. In the present embodiment, the printing medium M and the ink are printed in a state where one surface of the printing medium (second member) M and one surface of the ink ribbon (first member) R are overlapped in the same direction. The length direction of the ribbon R is transported in the transport direction along the transport path. Hereinafter, when the transport target in a state where the printing medium M and the ink ribbon R are overlapped is not distinguished, it is also simply referred to as a transport target. The first member and the second member have different colors included in each region of at least one surface, or different brightness in each region of at least one surface.

図1、図2に示すように、印刷装置1は、装置筐体2と、この装置筐体2に開閉自在に取り付けられた開閉蓋3を備える。図2に示すように、装置筐体2は、内部にテープカセット30を収納するカセット収納部19を備えている。カセット収納部19の詳細については後述する。
装置筐体2の上面には、電源ボタン25の他、各種操作を行う操作ボタン26a,26b,26c(以下、「操作ボタン26」と呼ぶ)、開閉蓋3を開放させる蓋開閉ボタン27等が配置されている。
外部電源D(図8参照)が接続されている状態(すなわちACアダプタ接続状態)で電源ボタン25が押下されると、電源回路40(図8参照)に信号が送られて印刷装置1の電源がONになる。また、操作ボタン26や蓋開閉ボタン27が押下されると、制御装置5(図8参照)に信号が送られて、各ボタンに応じた処理が行われる。
また、図示しないが、装置筐体2には、電源コード接続端子、外部機器接続端子、記憶媒体挿入口等が設けられている。なお、印刷装置1が電池等の内部電源で動作するものである場合には、電源コード接続端子はなくてもよい。また、印刷装置1がパーソナルコンピュータや各種の端末装置等の外部機器との接続を行わずに使用できるものである場合や、外部機器と無線で接続可能に構成されている場合には、外部機器接続端子を備えていなくてもよい。
As shown in FIGS. 1 and 2, the printing apparatus 1 includes an apparatus housing 2 and an opening / closing lid 3 attached to the apparatus housing 2 so as to be freely opened and closed. As shown in FIG. 2, the apparatus housing 2 includes a cassette storage unit 19 that stores the tape cassette 30 therein. Details of the cassette storage unit 19 will be described later.
On the upper surface of the apparatus housing 2, in addition to the power button 25, operation buttons 26 a, 26 b, 26 c (hereinafter referred to as “operation buttons 26”) for performing various operations, a lid opening / closing button 27 for opening the opening / closing lid 3, and the like. Has been placed.
When the power button 25 is pressed while the external power supply D (see FIG. 8) is connected (that is, the AC adapter is connected), a signal is sent to the power supply circuit 40 (see FIG. 8) to supply power to the printing apparatus 1. Is turned on. When the operation button 26 or the lid opening / closing button 27 is pressed, a signal is sent to the control device 5 (see FIG. 8), and processing corresponding to each button is performed.
Although not shown, the apparatus housing 2 is provided with a power cord connection terminal, an external device connection terminal, a storage medium insertion port, and the like. When the printing apparatus 1 is operated by an internal power source such as a battery, the power cord connection terminal may not be provided. When the printing apparatus 1 can be used without being connected to an external device such as a personal computer or various terminal devices, or when the printing apparatus 1 is configured to be connectable to the external device wirelessly, the external device The connection terminal may not be provided.

開閉蓋3は、カセット収納部19の上部を覆うように開閉可能に配置されている。開閉蓋3は、蓋開閉ボタン27が押下されることにより開放される。
また、開閉蓋3には、この開閉蓋3が閉じた状態でもカセット収納部19にテープカセット30(図4参照)が収納されているか否かを目視で確認可能とするために、窓3aが形成されている。
また、装置筐体2の側面であって、被印刷媒体Mの搬送方向Xの下流側に位置する部分には、排出口2aが形成されている。印刷装置1内でサーマルヘッド10による印刷が行われた被印刷媒体Mは、排出口2aから装置外へ排出される。
The open / close lid 3 is disposed so as to be openable and closable so as to cover the upper portion of the cassette housing portion 19. The opening / closing lid 3 is opened when the lid opening / closing button 27 is pressed.
Further, the opening / closing lid 3 has a window 3a in order to make it possible to visually confirm whether or not the tape cassette 30 (see FIG. 4) is housed in the cassette housing portion 19 even when the opening / closing lid 3 is closed. Is formed.
Further, a discharge port 2 a is formed on a side surface of the apparatus housing 2 on the downstream side in the transport direction X of the printing medium M. The printing medium M on which printing by the thermal head 10 is performed in the printing apparatus 1 is discharged out of the apparatus from the discharge port 2a.

図4は、印刷装置1に収納されるテープカセット30の斜視図である。図5は、印刷装置1のカセット収納部19の斜視図である。図6は、印刷装置1の本実施形態に係る要部断面図である。図4に示すテープカセット30は、図5に示すカセット収納部19に着脱自在に収納される。図6には、テープカセット30がカセット収納部19に収納された状態が示されている。   FIG. 4 is a perspective view of the tape cassette 30 housed in the printing apparatus 1. FIG. 5 is a perspective view of the cassette storage unit 19 of the printing apparatus 1. FIG. 6 is a cross-sectional view of a main part according to the present embodiment of the printing apparatus 1. The tape cassette 30 shown in FIG. 4 is detachably stored in the cassette storage unit 19 shown in FIG. FIG. 6 shows a state in which the tape cassette 30 is stored in the cassette storage unit 19.

テープカセット30は、図4に示すように、サーマルヘッド被挿入部36及び係合部37が形成された、被印刷媒体MとインクリボンRを収容するカセットケース31を有する。カセットケース31には、テープコア32とインクリボン供給コア34とインクリボン巻取りコア35が設けられている。被印刷媒体Mは、カセットケース31内部のテープコア32にロール状に巻かれている。また、熱転写用のインクリボンRは、その先端がインクリボン巻取りコア35に巻きつけられた状態で、カセットケース31内部のインクリボン供給コア34にロール状に巻かれている。   As shown in FIG. 4, the tape cassette 30 includes a cassette case 31 that accommodates a printing medium M and an ink ribbon R in which a thermal head insertion portion 36 and an engagement portion 37 are formed. The cassette case 31 is provided with a tape core 32, an ink ribbon supply core 34, and an ink ribbon winding core 35. The print medium M is wound around a tape core 32 inside the cassette case 31 in a roll shape. In addition, the thermal transfer ink ribbon R is wound around the ink ribbon supply core 34 inside the cassette case 31 in a state where the leading end of the ink ribbon R is wound around the ink ribbon winding core 35.

装置筐体2のカセット収納部19には、図5に示すように、テープカセット30を所定の位置で支持するための複数のカセット受け部20が設けられている。   As shown in FIG. 5, the cassette housing part 19 of the apparatus housing 2 is provided with a plurality of cassette receiving parts 20 for supporting the tape cassette 30 at a predetermined position.

カセット収納部19には、さらに、複数の発熱素子を有し、被印刷媒体Mに印刷を行うサーマルヘッド10と、被印刷媒体Mを搬送する搬送機構であるプラテンローラ21と、テープコア係合軸22と、インクリボン巻取り駆動軸23が設けられている。さらに、サーマルヘッド10には、サーミスタ13が埋め込まれている。サーミスタ13は、サーマルヘッド10の温度を測定するヘッド温度測定部である。   The cassette housing portion 19 further includes a plurality of heat generating elements, a thermal head 10 that performs printing on the printing medium M, a platen roller 21 that is a transport mechanism that transports the printing medium M, and a tape core engagement shaft. 22 and an ink ribbon winding drive shaft 23 are provided. Further, a thermistor 13 is embedded in the thermal head 10. The thermistor 13 is a head temperature measuring unit that measures the temperature of the thermal head 10.

カセット収納部19には、さらに、被印刷媒体Mの残量の有無の判断を行うための構成を有するテープエンド検出基板41が設けられている。図7は、印刷装置1のテープエンド検出基板41の正面図である。図7(a)に示すように、テープエンド検出基板41には、光センサ42と、光源(照射装置)43と、が設けられている。光センサ42は光を受光する受光領域42aを有している。光センサ42及び光源43が設けられたテープエンド検出基板41は、図7(b)に示す被印刷媒体Mの搬送経路Cにおける搬送方向において、サーマルヘッド10の上流側に配置されている。従って、サーマルヘッド10により印刷が開始される前に、光センサ42により搬送対象物の色又は明るさを検出することにより、被印刷媒体Mの境界の一つである終端Eが光センサ42による検出位置Sを通過したか否か、すなわち、被印刷媒体Mの残量が無くなったか否かの判断することにより境界の検出を行うことができる。さらに、図7(b)に示すように、光センサ42及び光源43は、搬送経路Cの搬送方向において、被印刷媒体M及びインクリボンRの媒体幅方向Yのほぼ中央と対向する位置に配置される。搬送対象物における光センサ42の受光領域42aと対向する領域が検出位置Sとなる。ここで、カセット収納部19は、被印刷媒体Mの幅が互いに異なる複数種類のテープカセット30を収納可能となっている。そして、被印刷媒体Mの幅が互いに異なる複数種類のテープカセット30の何れがカセット収納部19に収納された場合でも、被印刷媒体Mの媒体幅方向Yの中央はほぼ一定の位置になるように構成されている。これにより、被印刷媒体Mの幅が互いに異なる複数種類のテープカセット30のうちのどれがカセット収納部19に収納されても、被印刷媒体Mの媒体幅方向Yのほぼ中央と対向する位置に光センサ42及び光源43が配置されることになる。このため、被印刷媒体Mの幅によらず、被印刷媒体Mの残量の有無の判断を良好に行うことができる。
図6に示すように、光センサ42及び光源43が配置されたテープエンド検出基板41は、光センサ42及び光源43が被印刷媒体M(被印刷媒体Mが剥離紙Fを有している場合には剥離紙F、被印刷媒体Mが剥離紙Fを有していない場合には基材B)と対向する向きで、テープエンド検出基板41と被印刷媒体Mとの間隔が概ね所定の間隔(d1)となるように配置されている。本実施形態においては、間隔(d1)は、およそ5mm程度に設定されている。また、図7に示すように、光センサ42と、光源43とは、所定の間隔(d2)をおいてテープエンド検出基板41上に配置されている。本実施形態においては、間隔(d2)は、およそ3mm程度に設定されている。
The cassette storage unit 19 is further provided with a tape end detection substrate 41 having a configuration for determining whether or not the printing medium M is remaining. FIG. 7 is a front view of the tape end detection substrate 41 of the printing apparatus 1. As shown in FIG. 7A, the tape end detection substrate 41 is provided with an optical sensor 42 and a light source (irradiation device) 43. The optical sensor 42 has a light receiving region 42a that receives light. The tape end detection substrate 41 provided with the optical sensor 42 and the light source 43 is disposed on the upstream side of the thermal head 10 in the transport direction in the transport path C of the print medium M shown in FIG. Therefore, before the printing by the thermal head 10 is started, the optical sensor 42 detects the color or brightness of the conveyance object, so that the end E, which is one of the boundaries of the printing medium M, is detected by the optical sensor 42. The boundary can be detected by determining whether or not the detection position S has been passed, that is, whether or not the remaining amount of the printing medium M has been exhausted. Further, as shown in FIG. 7B, the optical sensor 42 and the light source 43 are arranged at positions facing the substantially center in the medium width direction Y of the printing medium M and the ink ribbon R in the conveying direction of the conveying path C. Is done. An area facing the light receiving area 42a of the optical sensor 42 in the conveyance object is the detection position S. Here, the cassette storage unit 19 can store a plurality of types of tape cassettes 30 having different widths of the printing medium M. The center of the print medium M in the medium width direction Y is substantially constant regardless of which of the plurality of types of tape cassettes 30 having different widths of the print medium M is stored in the cassette storage unit 19. It is configured. As a result, regardless of which of the plurality of types of tape cassettes 30 having different widths of the printing medium M are stored in the cassette storage unit 19, the printing medium M is positioned substantially opposite the center in the medium width direction Y. The optical sensor 42 and the light source 43 are arranged. For this reason, regardless of the width of the printing medium M, the presence / absence of the remaining amount of the printing medium M can be determined satisfactorily.
As shown in FIG. 6, the tape end detection substrate 41 on which the optical sensor 42 and the light source 43 are arranged has the optical sensor 42 and the light source 43 when the printing medium M (the printing medium M has the release paper F). In the case where the release paper F and the printing medium M do not have the peeling paper F, the distance between the tape end detection substrate 41 and the printing medium M is approximately a predetermined distance in the direction facing the base material B). It arrange | positions so that it may become (d1). In the present embodiment, the interval (d1) is set to about 5 mm. Further, as shown in FIG. 7, the optical sensor 42 and the light source 43 are arranged on the tape end detection substrate 41 with a predetermined interval (d2). In the present embodiment, the interval (d2) is set to about 3 mm.

光源43は、例えば白色LEDにより形成され、光センサ42が搬送対象物の色又は明るさの検出を行う際に、搬送対象物に照明光を照射する。光源43は、光センサ42の感度特性に合わせて、光センサ42が検出可能な波長範囲を含む光を照射するものである。すなわち、光源43は、所望の波長範囲を含む光を照射することが可能なものであれば、白色LEDに限らず、例えば、赤色(R)、緑色(G)、青色(B)の3色のLEDにより構成されていてもよく、白熱電球でも、蛍光灯でもよい。   The light source 43 is formed of, for example, a white LED, and irradiates illumination light to the transport target when the optical sensor 42 detects the color or brightness of the transport target. The light source 43 emits light including a wavelength range that can be detected by the optical sensor 42 in accordance with the sensitivity characteristics of the optical sensor 42. In other words, the light source 43 is not limited to a white LED as long as it can irradiate light including a desired wavelength range, and for example, three colors of red (R), green (G), and blue (B). LED may be comprised, and an incandescent lamp or a fluorescent lamp may be sufficient.

光センサ42は、受光領域42aと対向する位置にある搬送対象物の色又は明るさを検出する検出装置である。本実施形態において、検出対象物は被印刷媒体M又はインクリボンRであり、光センサ42は、被印刷媒体M(被印刷媒体Mが剥離紙Fを有している場合には剥離紙F、被印刷媒体Mが剥離紙Fを有していない場合には基材B)の色又は明るさと、インクリボンRの色又は明るさと、を検出することが可能である。光センサ42は、例えば、赤色値(R)、緑色値(G)及び青色値(B)の各色のフィルターを有するフォトダイオードを備えて構成されているカラーセンサである。この場合、光センサ42は、各フォトダイオードにより検出された光の強度を例えば16bitのデジタル値に変換して、RGB値とする。このため、光センサ42は、検出した光のスペクトルに応じたRGB値を有する色の情報を検出し、これを検出信号として出力する。これにより、光センサ42は、被印刷媒体Mの色と、インクリボンRの色と、が同系色であっても、それぞれの色に対して互いに異なるRGB値を検出することができる。光センサ42は、検出したRGB値を検出信号として制御装置5へ送る。従って、制御装置5は、被印刷媒体Mの色と、インクリボンRの色と、が同系色であっても、光センサ42で検出された搬送対象物の色に対するRGB値の変化に基づいて、光センサ42の受光領域42aと対向する位置にある搬送対象物が、被印刷媒体MからインクリボンRに変わったと判断することができる。   The optical sensor 42 is a detection device that detects the color or brightness of an object to be transported at a position facing the light receiving region 42a. In the present embodiment, the detection target is the printing medium M or the ink ribbon R, and the optical sensor 42 detects the printing medium M (if the printing medium M has the release paper F, the release paper F, When the printing medium M does not have the release paper F, it is possible to detect the color or brightness of the base material B) and the color or brightness of the ink ribbon R. The optical sensor 42 is a color sensor configured to include, for example, a photodiode having filters for each color of a red value (R), a green value (G), and a blue value (B). In this case, the optical sensor 42 converts the intensity of light detected by each photodiode into, for example, a 16-bit digital value to obtain an RGB value. Therefore, the optical sensor 42 detects color information having RGB values corresponding to the detected light spectrum, and outputs this as a detection signal. Thereby, even if the color of the to-be-printed medium M and the color of the ink ribbon R are similar colors, the optical sensor 42 can detect mutually different RGB values for each color. The optical sensor 42 sends the detected RGB value to the control device 5 as a detection signal. Therefore, even if the color of the printing medium M and the color of the ink ribbon R are similar colors, the control device 5 is based on the change in the RGB value with respect to the color of the conveyance object detected by the optical sensor 42. Thus, it can be determined that the conveyance object at the position facing the light receiving region 42a of the optical sensor 42 has changed from the printing medium M to the ink ribbon R.

光センサ42は、搬送対象物の明るさを検出するものであってもよい。すなわち、光源43により照明されている照射面の反射率の違いによる明るさの違いを検出するものであってもよい。この場合、検出した明るさに基づいて、検出対象物が、被印刷媒体MからインクリボンRに変わったことを判断する。光センサ42は、カラーセンサの他、CCD(Charge-Coupled Device)イメージセンサ、CMOS(Complementary MOS)イメージセンサ、赤外線センサ等、搬送対象物である被印刷媒体Mの色又は明るさと、インクリボンRの色又は明るさとを識別できるセンサにより形成してもよい。   The optical sensor 42 may detect the brightness of the conveyance object. That is, a difference in brightness due to a difference in reflectance of the irradiated surface illuminated by the light source 43 may be detected. In this case, based on the detected brightness, it is determined that the detection target has changed from the printing medium M to the ink ribbon R. The optical sensor 42 is a color sensor, a color-coupled device (CCD) image sensor, a CMOS (Complementary MOS) image sensor, an infrared sensor, or the like, and the ink ribbon R It may be formed by a sensor that can distinguish the color or brightness.

テープカセット30がカセット収納部19に収納された状態では、図6に示すように、カセットケース31に設けられた係合部37がカセット収納部19に設けられたカセット受け部20に支持されて、サーマルヘッド10がカセットケース31に形成されたサーマルヘッド被挿入部36に挿入される。また、テープコア係合軸22には、テープカセット30のテープコア32が係合し、さらに、インクリボン巻取り駆動軸23には、インクリボン巻取りコア35が係合する。   In the state in which the tape cassette 30 is stored in the cassette storage unit 19, as shown in FIG. 6, the engaging unit 37 provided in the cassette case 31 is supported by the cassette receiving unit 20 provided in the cassette storage unit 19. The thermal head 10 is inserted into a thermal head insertion portion 36 formed in the cassette case 31. Further, the tape core 32 of the tape cassette 30 is engaged with the tape core engaging shaft 22, and the ink ribbon winding core 35 is engaged with the ink ribbon winding drive shaft 23.

印刷装置1に印刷指示が入力されると、被印刷媒体Mは、プラテンローラ21の回転によりテープコア32から繰り出される。この際、インクリボン巻取り駆動軸23がプラテンローラ21に同調して回転することで、被印刷媒体MとともにインクリボンRがインクリボン供給コア34から繰り出される。これにより、被印刷媒体MとインクリボンRは重なった状態で搬送される。そして、サーマルヘッド10とプラテンローラ21の間を通過する際にインクリボンRがサーマルヘッド10によって加熱されることで、インクが被印刷媒体Mに転写され、印刷が行われる。   When a printing instruction is input to the printing apparatus 1, the printing medium M is fed out from the tape core 32 by the rotation of the platen roller 21. At this time, the ink ribbon winding drive shaft 23 rotates in synchronization with the platen roller 21, whereby the ink ribbon R is fed out from the ink ribbon supply core 34 together with the printing medium M. As a result, the printing medium M and the ink ribbon R are conveyed in an overlapping state. The ink ribbon R is heated by the thermal head 10 when passing between the thermal head 10 and the platen roller 21, whereby the ink is transferred to the printing medium M and printing is performed.

サーマルヘッド10とプラテンローラ21の間を通過した使用済みのインクリボンRは、インクリボン巻取りコア35に巻き取られる。一方、サーマルヘッド10とプラテンローラ21の間を通過した印刷済みの被印刷媒体Mは、ハーフカット装置16及びフルカット装置17で切断され、排出口2aから排出される。
なお、本実施形態においては、被印刷媒体Mの長さは、インクリボンRの長さよりも短く形成されている。そして、被印刷媒体Mの終端Eは、テープコア32に固定されていないため、被印刷媒体Mの終端Eは、最終的には光センサ42の前を通過して排出口2aから排出される。一方で、インクリボンRの両端は、インクリボン供給コア34及びインクリボン巻取りコア35に固定されているため、インクリボンRの終端は、テープカセット30の外に露呈することはなく、光センサ42の前を通過することもない。
The used ink ribbon R that has passed between the thermal head 10 and the platen roller 21 is wound around the ink ribbon winding core 35. On the other hand, the printed medium M that has passed between the thermal head 10 and the platen roller 21 is cut by the half-cut device 16 and the full-cut device 17 and discharged from the discharge port 2a.
In the present embodiment, the length of the print medium M is shorter than the length of the ink ribbon R. Since the end E of the print medium M is not fixed to the tape core 32, the end E of the print medium M finally passes through the front of the optical sensor 42 and is discharged from the discharge port 2a. On the other hand, since both ends of the ink ribbon R are fixed to the ink ribbon supply core 34 and the ink ribbon take-up core 35, the end of the ink ribbon R is not exposed to the outside of the tape cassette 30, and the optical sensor It does not pass in front of 42.

本実施形態においては、光センサ42が配置されたテープエンド検出基板41は、カセット収納部19側に配置されている。従って、光センサ42による搬送対象物の色又は明るさの検出は、重なった状態で搬送される被印刷媒体MとインクリボンRのうち、被印刷媒体M側から行われる。
従って、被印刷媒体Mが残存している場合には、光センサ42は被印刷媒体M(被印刷媒体Mが剥離紙Fを有している場合には剥離紙F、被印刷媒体Mが剥離紙Fを有していない場合には基材B)の色又は明るさを検出する。そして、被印刷媒体Mが搬送されて、被印刷媒体Mの終端(境界)Eが光センサ42と対向する位置(検出位置S)を通過した後は、光センサ42はインクリボンRの色又は明るさを検出する。制御装置5は、光センサ42により検出された色又は明るさの変化に基づき、光センサ42による検出対象が被印刷媒体MからインクリボンRに変化したことを認識することで、被印刷媒体Mの終端Eが検出位置Sを通過して、被印刷媒体Mの残量が無くなったか否かを判断することができる。
In the present embodiment, the tape end detection substrate 41 on which the optical sensor 42 is disposed is disposed on the cassette storage unit 19 side. Therefore, the detection of the color or brightness of the transport object by the optical sensor 42 is performed from the print medium M side of the print medium M and the ink ribbon R that are transported in an overlapping state.
Accordingly, when the print medium M remains, the optical sensor 42 detects the print medium M (if the print medium M has the release paper F, the release paper F and the print medium M are peeled off). When the paper F is not provided, the color or brightness of the base material B) is detected. After the printing medium M is transported and the end (boundary) E of the printing medium M passes the position (detection position S) facing the optical sensor 42, the optical sensor 42 detects the color of the ink ribbon R or Detect brightness. The control device 5 recognizes that the detection target by the optical sensor 42 has changed from the printing medium M to the ink ribbon R based on the change in color or brightness detected by the optical sensor 42, and thereby the printing medium M It is possible to determine whether or not the end E of the print medium has passed the detection position S and the remaining amount of the printing medium M has been exhausted.

図8は、印刷装置1と電子機器100のハードウェア構成を示したブロック図である。印刷装置1は、上述のサーマルヘッド10、サーミスタ13、ハーフカット装置16、フルカット装置17、プラテンローラ21に加えて、制御装置5、ROM(Read Only Memory)6、RAM(Random Access Memory)7、通信インターフェース(IF)8、ヘッド駆動回路9、搬送用モータ駆動回路11、ステッピングモータ12、カッターモータ駆動回路14、カッターモータ15、及び、電源回路40を備える。なお、少なくとも制御装置5、ROM6、及びRAM7は、印刷装置1のコンピュータを構成する。   FIG. 8 is a block diagram illustrating hardware configurations of the printing apparatus 1 and the electronic device 100. In addition to the thermal head 10, the thermistor 13, the half-cut device 16, the full-cut device 17, and the platen roller 21, the printing device 1 includes a control device 5, a ROM (Read Only Memory) 6, and a RAM (Random Access Memory) 7. , A communication interface (IF) 8, a head drive circuit 9, a conveyance motor drive circuit 11, a stepping motor 12, a cutter motor drive circuit 14, a cutter motor 15, and a power supply circuit 40. Note that at least the control device 5, the ROM 6, and the RAM 7 constitute a computer of the printing device 1.

制御装置5は、例えばCPU(Central Processing Unit)などのプロセッサ5aを含む。制御装置5は、ROM6に記憶されているプログラムをRAM7に展開し実行することで、印刷装置1の各部の動作を制御する。   The control device 5 includes a processor 5a such as a CPU (Central Processing Unit). The control device 5 controls the operation of each unit of the printing device 1 by expanding and executing the program stored in the ROM 6 on the RAM 7.

制御装置5は、例えば、制御信号(ストローブ信号、ラッチ信号、クロック信号)と印刷データをヘッド駆動回路9へ供給し、ヘッド駆動回路9を介してサーマルヘッド10を制御する。また、制御装置5は、モータ駆動回路(搬送用モータ駆動回路11、カッターモータ駆動回路14)を介してモータ(ステッピングモータ12、カッターモータ15)を制御する。   For example, the control device 5 supplies a control signal (strobe signal, latch signal, clock signal) and print data to the head drive circuit 9 and controls the thermal head 10 via the head drive circuit 9. The control device 5 controls the motors (stepping motor 12 and cutter motor 15) via the motor drive circuits (conveyance motor drive circuit 11 and cutter motor drive circuit 14).

制御装置5は、光センサ42で検出された搬送対象物の色又は明るさの変化に基づいて、被印刷媒体Mの終端Eが検出位置Sを通過したか否か、すなわち、被印刷媒体Mの残量があるか否かを判断する。具体的には、制御装置5は、光センサ42が搬送対象物の色を検出する場合、光センサ42により検出されたRGB値に含まれる赤色値(R)、緑色値(G)及び青色値(B)のうち、少なくとも1の値が所定の割合以上変化したか否かに基づいて、被印刷媒体Mの残量があるか否かを判断する。制御装置5は、光センサ42により検出される剥離紙Fの色の情報と、インクリボンRの色の情報と、に基づいて、被印刷媒体Mの終端Eが検出位置Sを通過したか否か、すなわち、残量があるか否かを判断する。従って、剥離紙Fがついた被印刷媒体Mの残量があるか否かを判断することができる。制御装置5による被印刷媒体Mの残量があるか否かの判断の詳細については後述する。   The control device 5 determines whether or not the end E of the printing medium M has passed the detection position S based on the change in the color or brightness of the conveyance object detected by the optical sensor 42, that is, the printing medium M. It is determined whether there is a remaining amount. Specifically, when the optical sensor 42 detects the color of the conveyance object, the control device 5 detects the red value (R), the green value (G), and the blue value included in the RGB values detected by the optical sensor 42. In (B), it is determined whether there is a remaining amount of the printing medium M based on whether at least one value has changed by a predetermined ratio or more. The control device 5 determines whether or not the end E of the print medium M has passed the detection position S based on the color information of the release paper F detected by the optical sensor 42 and the color information of the ink ribbon R. That is, it is determined whether there is a remaining amount. Therefore, it can be determined whether there is a remaining amount of the printing medium M with the release paper F attached. Details of the determination by the control device 5 as to whether or not there is a remaining amount of the printing medium M will be described later.

ROM6は、被印刷媒体Mに印刷を行う印刷プログラム、印刷プログラムの実行に必要な各種データ(例えば、フォント等)を記憶する。ROM6は、制御装置5によって読取り可能なプログラムが記憶された記憶媒体としても機能する。RAM7は、印刷内容のパターンを示すデータ(以降、印刷データと記す)を記憶する印刷データ記憶部を含む。さらに、RAM7は、表示データを記憶する表示データ記憶部を含む。通信インターフェース8は、有線通信又は無線通信により外部装置(例えば、電子機器100)との間でデータを授受する。   The ROM 6 stores a printing program for printing on the printing medium M and various data (for example, fonts) necessary for executing the printing program. The ROM 6 also functions as a storage medium in which a program readable by the control device 5 is stored. The RAM 7 includes a print data storage unit that stores data (hereinafter referred to as print data) indicating a pattern of print contents. Further, the RAM 7 includes a display data storage unit that stores display data. The communication interface 8 exchanges data with an external device (for example, the electronic device 100) by wired communication or wireless communication.

ヘッド駆動回路9は、制御装置5から供給された制御信号と印刷データに基づいてサーマルヘッド10を駆動する。サーマルヘッド10は、主走査方向に配列された複数の発熱素子10aを有する印刷ヘッドである。ヘッド駆動回路9が、制御装置5から供給されたストローブ信号により指定される通電期間中に、ヘッド駆動回路9から出力された印刷データに応じて複数の発熱素子10aの何れかへ電流を選択的に流すことで、複数の発熱素子10aの何れかが発熱してインクリボンRを加熱する。これにより、サーマルヘッド10は、熱転写により被印刷媒体Mに1ラインずつ印刷を行う。即ち、印刷装置1は、サーマルラインプリンタである。   The head drive circuit 9 drives the thermal head 10 based on the control signal and print data supplied from the control device 5. The thermal head 10 is a print head having a plurality of heating elements 10a arranged in the main scanning direction. During the energization period specified by the strobe signal supplied from the control device 5, the head drive circuit 9 selectively selects a current to one of the plurality of heating elements 10a according to the print data output from the head drive circuit 9. , One of the plurality of heating elements 10a generates heat and heats the ink ribbon R. As a result, the thermal head 10 performs printing on the printing medium M line by line by thermal transfer. That is, the printing apparatus 1 is a thermal line printer.

搬送用モータ駆動回路11は、ステッピングモータ12を駆動する。ステッピングモータ12は、プラテンローラ21を回転させる。プラテンローラ21は、ステッピングモータ12の動力によって回転し、被印刷媒体Mの長手方向(副走査方向)に被印刷媒体Mを搬送する搬送機構である。   The conveyance motor drive circuit 11 drives the stepping motor 12. The stepping motor 12 rotates the platen roller 21. The platen roller 21 is a transport mechanism that is rotated by the power of the stepping motor 12 and transports the print medium M in the longitudinal direction (sub-scanning direction) of the print medium M.

カッターモータ駆動回路14は、カッターモータ15を駆動する。ハーフカット装置16及びフルカット装置17は、カッターモータ15の動力によって動作し、被印刷媒体Mをハーフカット又はフルカットする。フルカットとは、被印刷媒体Mの基材を剥離紙とともに幅方向に沿って切断する動作のことであり、ハーフカットは、基材のみを幅方向に沿って切断する動作のことである。電源回路40は、外部電源Dからの直流電圧(例えば、24V)から出力電圧を生成し、印刷装置1の各部に電力を供給する電源部である。   The cutter motor drive circuit 14 drives the cutter motor 15. The half-cut device 16 and the full-cut device 17 operate by the power of the cutter motor 15 and half-cut or full-cut the printing medium M. The full cut is an operation of cutting the base material of the printing medium M along the width direction together with the release paper, and the half cut is an operation of cutting only the base material along the width direction. The power supply circuit 40 is a power supply unit that generates an output voltage from a DC voltage (for example, 24 V) from the external power supply D and supplies power to each unit of the printing apparatus 1.

電子機器100は、図1及び図8に示すように、表示装置101と入力装置102を備える、例えば、スマートフォン、タブレット端末などの携帯型のコンピュータである。表示装置101は、例えば、液晶ディスプレイであっても、有機エレクトロルミネッセンス(有機EL)ディスプレイであってもよい。入力装置102は、例えば、タッチパネルである。   As illustrated in FIGS. 1 and 8, the electronic device 100 is a portable computer including a display device 101 and an input device 102, such as a smartphone or a tablet terminal. The display device 101 may be, for example, a liquid crystal display or an organic electroluminescence (organic EL) display. The input device 102 is, for example, a touch panel.

電子機器100は、上記の構成に加えて、表示部駆動装置103、通信インターフェース(IF)104、ROM105、RAM106、制御装置107を備える。表示部駆動装置103は、例えば、液晶表示ドライバ回路、有機EL表示ドライバ回路である。制御装置107は、プロセッサ108を備える。プロセッサ108は、演算部であり、アプリケーションプログラムを実行することで、印刷装置1から送られてきたエラーメッセージを表示装置101に表示する。   In addition to the above configuration, the electronic device 100 includes a display unit driving device 103, a communication interface (IF) 104, a ROM 105, a RAM 106, and a control device 107. The display unit driving device 103 is, for example, a liquid crystal display driver circuit or an organic EL display driver circuit. The control device 107 includes a processor 108. The processor 108 is a calculation unit, and displays an error message sent from the printing apparatus 1 on the display apparatus 101 by executing an application program.

図9は、テープエンド判断処理のフローチャートである。テープエンド判断処理について、図10と併せて説明する。図10は、被印刷媒体M及びインクリボンRの搬送状態を示す図である。ここで、被印刷媒体Mは剥離紙Fを有しているものとする。剥離紙Fは、例えば、少なくとも光センサ42側の面がクリーム色や水色等の色を有している。インクリボンRは、例えば、黒色、赤色、白色を有している。図10(a)は、被印刷媒体Mの終端Eが光センサ42による、搬送経路C上の検出位置Sを通過する前の状態であって、被印刷媒体M及びインクリボンRを幅方向Yから見た搬送状態を示す模式図である。図10(b)は、被印刷媒体Mの終端Eが光センサ42による検出位置Sを通過した後の状態であって、被印刷媒体M及びインクリボンRを幅方向Yから見た搬送状態を示す模式図である。以下では、光センサ42が搬送対象物の検出位置Sにおける色を検出する場合について説明するが、光センサ42が搬送対象物の検出位置Sにおける明るさを検出する場合も、色の情報を明るさの情報に置き換えるだけで、同様に処理を行うことができる。   FIG. 9 is a flowchart of the tape end determination process. The tape end determination process will be described with reference to FIG. FIG. 10 is a diagram illustrating a conveyance state of the printing medium M and the ink ribbon R. Here, it is assumed that the print medium M has release paper F. For example, at least the surface of the release paper F on the side of the optical sensor 42 has a color such as cream or light blue. The ink ribbon R has, for example, black, red, and white. FIG. 10A shows a state before the end E of the printing medium M passes the detection position S on the transport path C by the optical sensor 42, and the printing medium M and the ink ribbon R are moved in the width direction Y. It is a schematic diagram which shows the conveyance state seen from. FIG. 10B shows a state after the end E of the printing medium M has passed the detection position S by the optical sensor 42, and shows a conveyance state when the printing medium M and the ink ribbon R are viewed from the width direction Y. It is a schematic diagram shown. In the following, the case where the optical sensor 42 detects the color at the detection position S of the conveyance object will be described. However, even when the optical sensor 42 detects the brightness at the detection position S of the conveyance object, the color information is bright. The same processing can be performed simply by replacing the information.

テープエンド判断処理では、被印刷媒体Mである印刷テープの残量の有無を判断する処理が行われる。印刷装置1は、印刷開始の指示に基づき、図9に示すテープエンド判断処理を開始する。テープエンド判断処理では、制御装置5は、まず、被印刷媒体Mの搬送前に光センサ42を動作させ、光センサ42で検出された検出信号のRGB値を初期値として取得する(ステップS101)。
被印刷媒体Mの搬送前においては、図10(a)に示すように、被印刷媒体Mの終端Eは、被印刷媒体Mの搬送経路Cの搬送方向において、光センサ42による検出位置Sより上流側に位置している。従って、被印刷媒体Mの搬送前においては、光センサ42は被印刷媒体Mの剥離紙Fと対向しており、剥離紙Fの色に対応する赤色値(R)、緑色値(G)及び青色値(B)を含むRGB値を検出し、これを検出信号として制御装置5へ送る。そして、制御装置5は、光センサ42から送られてきた検出信号のRGB値に含まれる赤色値(R)、緑色値(G)及び青色値(B)をそれぞれ、初期値Rbefore、Gbefore、Bbeforeとして取得し、RAM7に記憶する。
In the tape end determination process, a process for determining whether there is a remaining amount of the print tape that is the printing medium M is performed. The printing apparatus 1 starts the tape end determination process shown in FIG. 9 based on the print start instruction. In the tape end determination process, the control device 5 first operates the optical sensor 42 before transporting the printing medium M, and acquires the RGB value of the detection signal detected by the optical sensor 42 as an initial value (step S101). .
Before the printing medium M is conveyed, as shown in FIG. 10A, the end E of the printing medium M is detected from the detection position S by the optical sensor 42 in the conveying direction of the conveying path C of the printing medium M. Located upstream. Therefore, before the printing medium M is conveyed, the optical sensor 42 faces the release paper F of the printing medium M, and the red value (R), the green value (G) and the color corresponding to the color of the release paper F The RGB values including the blue value (B) are detected and sent as detection signals to the control device 5. Then, the control device 5 sets the red value (R), green value (G), and blue value (B) included in the RGB value of the detection signal sent from the optical sensor 42 to the initial values R before and G before , respectively. , B before and stored in the RAM 7.

そして、制御装置5は、サーマルヘッド10をONとし、ステッピングモータ12をONとする。これにより、プラテンローラ21が搬送方向に回転し、被印刷媒体Mの搬送が開始され、印刷データに基づいて被印刷媒体Mへの印刷が行われる。印刷データに基づく印刷が終了した場合には、制御装置5は、サーマルヘッド10をOFFとするとともに、ステッピングモータ12をOFFとする。これにより、プラテンローラ21の回転が停止し、被印刷媒体Mの搬送も終了し、被印刷媒体Mへの印刷も終了となる(ステップS102)。   Then, the control device 5 turns on the thermal head 10 and turns on the stepping motor 12. Accordingly, the platen roller 21 rotates in the transport direction, the transport of the printing medium M is started, and printing on the printing medium M is performed based on the print data. When printing based on the print data is completed, the control device 5 turns off the thermal head 10 and turns off the stepping motor 12. Thereby, the rotation of the platen roller 21 is stopped, the conveyance of the printing medium M is also completed, and the printing on the printing medium M is also completed (step S102).

被印刷媒体Mの搬送が終了すると、制御装置5は、被印刷媒体Mの搬送終了後に光センサ42を動作させ、光センサ42で検出された検出信号のRGB値を取得する(ステップS103)。
このとき、図10(a)の場合と同様に、被印刷媒体Mの搬送後でも被印刷媒体Mがまだ残存している場合には、被印刷媒体Mの終端Eは、被印刷媒体Mの搬送経路Cの搬送方向において、光センサ42による検出位置Sより上流側に位置していることとなる。この場合、光センサ42による検出位置Sには、被印刷媒体MとインクリボンRが重なった状態で存在し、光センサ42は被印刷媒体Mの剥離紙Fと対向した状態になっている。そのため、光センサ42は、検出位置Sに存在する被印刷媒体Mの剥離紙Fの色に対応する赤色値(R)、緑色値(G)及び青色値(B)を含むRGB値を検出し、これを検出信号として制御装置5へ送る。そして、制御装置5は、光センサ42から送られてきた検出信号のRGB値に含まれる赤色値(R)、緑色値(G)及び青色値(B)をそれぞれ、被印刷媒体Mの搬送終了後のRGB値Rafter,Gafter,Bafterとして取得する。
When the conveyance of the printing medium M is completed, the control device 5 operates the optical sensor 42 after the conveyance of the printing medium M is completed, and acquires the RGB value of the detection signal detected by the optical sensor 42 (step S103).
At this time, similarly to the case of FIG. 10A, when the printing medium M still remains after the printing medium M is conveyed, the terminal E of the printing medium M is the end of the printing medium M. In the transport direction of the transport path C, it is located upstream from the detection position S by the optical sensor 42. In this case, the printing medium M and the ink ribbon R are present at the detection position S by the optical sensor 42, and the optical sensor 42 is opposed to the release paper F of the printing medium M. Therefore, the optical sensor 42 detects RGB values including a red value (R), a green value (G), and a blue value (B) corresponding to the color of the release paper F of the printing medium M present at the detection position S. This is sent to the control device 5 as a detection signal. Then, the control device 5 ends the conveyance of the printing medium M with the red value (R), the green value (G), and the blue value (B) included in the RGB value of the detection signal sent from the optical sensor 42, respectively. The subsequent RGB values R after , G after , and B after are acquired.

これに対し、図10(b)に示すように、被印刷媒体Mの搬送後に被印刷媒体Mの残量が無くなった場合には、被印刷媒体Mの終端Eは、被印刷媒体Mの搬送経路Cの搬送方向において、光センサ42による検出位置Sより下流側に位置することとなる。この場合、光センサ42による検出位置Sには、被印刷媒体Mは無く、インクリボンRのみが存在し、光センサ42はインクリボンRと対向した状態になる。そのため、光センサ42は、検出位置Sに存在するインクリボンRの色に対応する赤色値(R)、緑色値(G)及び青色値(B)を含むRGB値を検出し、これを検出信号として制御装置5へ送る。そして、制御装置5は、光センサ42から送られてきた検出信号のRGB値に含まれる赤色値(R)、緑色値(G)及び青色値(B)をそれぞれ、被印刷媒体Mの搬送終了後のRGB値Rafter,Gafter,Bafterとして取得する。 On the other hand, as shown in FIG. 10B, when the remaining amount of the printing medium M runs out after the printing medium M is transported, the end E of the printing medium M is transported of the printing medium M. In the conveyance direction of the path C, the optical sensor 42 is positioned downstream of the detection position S. In this case, there is no printing medium M at the detection position S by the optical sensor 42, and only the ink ribbon R exists, and the optical sensor 42 faces the ink ribbon R. Therefore, the optical sensor 42 detects an RGB value including a red value (R), a green value (G), and a blue value (B) corresponding to the color of the ink ribbon R present at the detection position S, and this is detected as a detection signal. To the control device 5. Then, the control device 5 ends the conveyance of the printing medium M with the red value (R), the green value (G), and the blue value (B) included in the RGB value of the detection signal sent from the optical sensor 42, respectively. The subsequent RGB values R after , G after , and B after are acquired.

次いで、制御装置5は、被印刷媒体Mの搬送前に光センサ42で検出したRGB値の初期値(Rbefore、Gbefore、Bbefore)(第1の検出結果)と、被印刷媒体Mの搬送終了後に光センサ42で検出したRGB値(Rafter,Gafter,Bafter)(第2の検出結果)との比較に基づいて、変化があるか否かを判定する(ステップS104)。
この処理では、制御装置5は、ステップS101で取得した被印刷媒体Mの搬送前のRGB値の初期値Rbefore,Gbefore,Bbeforeのそれぞれの値と、ステップS103で取得した被印刷媒体Mの搬送後のRGB値Rafter,Gafter,Bafterのそれぞれの値と、の変化の割合を判定する。すなわち、Rafterに対するRbeforeの変化の割合、Gafterに対するGbeforeの変化の割合、Bafterに対するBbeforeの変化の割合を判定する。
制御装置5は、RGB値に含まれる赤色値(R)、緑色値(G)及び青色値(B)のうちの、少なくともいずれか1つの値が、所定の割合(閾値)以上変化したか否かを判定する。具体的には、制御装置5は、RGB値に含まれる赤色値(R)、緑色値(G)及び青色値(B)のうちの、少なくともいずれか1つの値が所定の閾値以上変化したか、すなわち、RGB値を比較した結果所定の閾値以上変化したか否かを判定する。本実施形態においては、閾値は例えば10%に設定される。なお、閾値の値はこの限りではなく、任意の割合に設定することができる。
即ち、制御装置5は、下記(式1)〜(式3)の少なくともいずれかが満たされているか否かを判定する。
(|Rafter−Rbefore|/Rbefore)≦0.1・・・(式1)
(|Gafter−Gbefore|/Gbefore)≦0.1・・・(式2)
(|Bafter−Bbefore|/Bbefore)≦0.1・・・(式3)
Next, the control device 5 detects the initial RGB values (R before , G before , B before ) (first detection result) detected by the optical sensor 42 before the printing medium M is conveyed, and the printing medium M. Based on the comparison with the RGB values (R after , G after , B after ) (second detection result) detected by the optical sensor 42 after the end of conveyance, it is determined whether or not there is a change (step S104).
In this process, the control device 5 determines the initial values R before , G before , and B before RGB values of the print medium M acquired in step S101 and the print medium M acquired in step S103. Of the RGB values R after , G after , and B after after the transfer of the above are determined. That is, the rate of change of R before with respect to R after, the rate of change of G before with respect to G after , and the rate of change of B before with respect to B after are determined.
The control device 5 determines whether at least one of the red value (R), the green value (G), and the blue value (B) included in the RGB value has changed by a predetermined ratio (threshold value) or more. Determine whether. Specifically, the control device 5 determines whether at least one of the red value (R), the green value (G), and the blue value (B) included in the RGB value has changed by a predetermined threshold value or more. That is, it is determined whether or not the RGB values have changed by a predetermined threshold or more as a result of comparison. In the present embodiment, the threshold is set to 10%, for example. The threshold value is not limited to this, and can be set to an arbitrary ratio.
That is, the control device 5 determines whether at least one of the following (Expression 1) to (Expression 3) is satisfied.
(| R after −R before | / R before ) ≦ 0.1 (Formula 1)
(| G after −G before | / G before ) ≦ 0.1 (Expression 2)
(| B after −B before | / B before ) ≦ 0.1 (Expression 3)

被印刷媒体Mの搬送前後に取得したRGB値の間に閾値以上の変化がない場合(ステップS104のYES)には、制御装置5は、被印刷媒体Mの搬送前後で取得されたRGB値は被印刷媒体Mの剥離紙Fの色の情報を示していると判定する。この場合、制御装置5は、搬送経路C上を被印刷媒体Mの終端Eが未だ通過しておらず、境界Eは検出位置Sをまだ通過しておらず、被印刷媒体Mの残量がまだあると判断する。この処理が終了すると、テープエンド判断処理は終了となる。   If there is no change greater than or equal to the threshold value between the RGB values acquired before and after conveyance of the printing medium M (YES in step S104), the control device 5 determines that the RGB values acquired before and after conveyance of the printing medium M are It is determined that the color information of the release paper F of the printing medium M is indicated. In this case, the control device 5 has not yet passed the end E of the printing medium M on the conveyance path C, the boundary E has not yet passed the detection position S, and the remaining amount of the printing medium M is low. Judge that it still exists. When this process ends, the tape end determination process ends.

これに対し、被印刷媒体Mの搬送前後に取得したRGB値の間に閾値以上の変化がある場合(ステップS104のNO)には、制御装置5は、被印刷媒体Mの搬送後に取得したRGB値は、被印刷媒体Mの剥離紙Fの色の情報を示しているのではなく、インクリボンRの色の情報を示していると判定する。即ち、制御装置5は、光センサ42により検出される色の情報が変化したことに基づいて、検出位置Sにおける搬送対象物が被印刷媒体Mの剥離紙FからインクリボンRに変化したことを検出し、これにより被印刷媒体Mの終端Eが搬送経路C上の検出位置Sを通過し、境界Eは検出位置Sを通過したと判断する。制御装置5は、被印刷媒体Mの終端Eが検出位置Sを通過したと判断すると、被印刷媒体Mの残量が無くなったと判断する。   On the other hand, when there is a change greater than or equal to the threshold value between the RGB values acquired before and after the conveyance of the printing medium M (NO in step S104), the control device 5 acquires the RGB acquired after the conveyance of the printing medium M. The value is determined not to indicate the color information of the release paper F of the printing medium M but to indicate the color information of the ink ribbon R. That is, the control device 5 determines that the conveyance object at the detection position S has changed from the release paper F of the printing medium M to the ink ribbon R based on the change of the color information detected by the optical sensor 42. Thus, it is determined that the end E of the printing medium M has passed the detection position S on the transport path C, and the boundary E has passed the detection position S. When the control device 5 determines that the end E of the print medium M has passed the detection position S, the control device 5 determines that the remaining amount of the print medium M has run out.

制御装置5は、被印刷媒体Mの搬送前後に検出したRGB値に基づき被印刷媒体Mの残量が無くなったと判断すると、例えば、電子機器100の表示装置101に被印刷媒体Mの残量が無くなった旨のエラーメッセージを表示したり、電子機器100の図示しないスピーカ等により被印刷媒体Mの残量が無くなった旨のメッセージ音を出力したりして、被印刷媒体Mの残量が無くなったことを報知する制御を行う(ステップS105)。これにより、被印刷媒体Mの残量がなくなったことを利用者に明確に伝達することができる。
また、制御装置5は、印刷装置1の動作を停止させる(ステップS106)。この処理では、制御装置5は、別のテープカセット30に交換されるまで、サーマルヘッド10及びステッピングモータ12への電源の供給を停止することにより、印刷装置1の搬送及び印刷動作を一時的に停止する。そして、制御装置5は、別のテープカセット30に交換されると、サーマルヘッド10及びステッピングモータ12への電源の供給の停止を解除する。この処理が終了すると、テープエンド判断処理は終了となる。これにより、被印刷媒体Mの残量がなくなった場合に、サーマルヘッド10による印刷の空打ちを未然に防ぐことができる。これにより、サーマルヘッド10及びプラテンローラ21等の印刷装置1の構成部品を保護することができる。
When the control device 5 determines that the remaining amount of the printing medium M has run out based on the RGB values detected before and after the conveyance of the printing medium M, for example, the remaining amount of the printing medium M is displayed on the display device 101 of the electronic device 100. An error message indicating that the printing medium has been lost is displayed, or a message sound indicating that the remaining amount of the printing medium M has been exhausted is output from a speaker (not illustrated) of the electronic device 100, so that the remaining printing medium M is exhausted. Control which notifies that is performed (step S105). Thereby, it can be clearly communicated to the user that the remaining amount of the printing medium M has been exhausted.
Further, the control device 5 stops the operation of the printing device 1 (step S106). In this process, the control device 5 temporarily stops the supply of power to the thermal head 10 and the stepping motor 12 until it is replaced with another tape cassette 30, thereby temporarily transporting and printing the printing device 1. Stop. Then, when the control device 5 is replaced with another tape cassette 30, the control device 5 cancels the stop of the supply of power to the thermal head 10 and the stepping motor 12. When this process ends, the tape end determination process ends. As a result, when the remaining amount of the printing medium M runs out, it is possible to prevent printing from being performed by the thermal head 10 in advance. Thereby, the components of the printing apparatus 1 such as the thermal head 10 and the platen roller 21 can be protected.

以上のように構成された印刷装置1では、光センサ42により検出される搬送対象物の色又は明るさの変化に基づいて、被印刷媒体Mの残量があるか否かを判断する。これにより、被印刷媒体M何らかの加工を加えることなく、被印刷媒体Mの残量があるか否かを判断することができる。また、インクリボンRと、被印刷媒体Mと、の色の情報の違いに基づいて被印刷媒体Mの残量があるか否かを判断しているため、この判断に対して、外部の光や、温度変化等の環境の変化の影響を受け難くすることができる。さらに、色や明るさの変化に基づいて被印刷媒体Mの残量があるか否かを判断しているため、被印刷媒体Mと、インクリボンRとの関係において、任意の色や素材、構造の組み合わせを採用した場合であっても、被印刷媒体Mの残量があるか否かを判断することができる。例えば、被印刷媒体Mの構造が剥離紙Fを有していないタイプであっても、被印刷媒体Mの残量の有無を判断することができる。   In the printing apparatus 1 configured as described above, it is determined whether or not there is a remaining amount of the printing medium M based on a change in the color or brightness of the conveyance target detected by the optical sensor 42. As a result, it is possible to determine whether or not there is a remaining amount of the printing medium M without adding any processing. In addition, since it is determined whether or not there is a remaining amount of the printing medium M based on the difference in color information between the ink ribbon R and the printing medium M, an external light is used for this determination. And can be made less susceptible to environmental changes such as temperature changes. Further, since it is determined whether or not there is a remaining amount of the printing medium M based on a change in color and brightness, any color or material in the relationship between the printing medium M and the ink ribbon R, Even when a combination of structures is employed, it can be determined whether or not there is a remaining amount of the printing medium M. For example, even if the structure of the printing medium M is a type that does not have the release paper F, the presence or absence of the remaining amount of the printing medium M can be determined.

また、制御装置5は、光センサ42が色を検出するものである場合、光センサ42により検出された赤色値(R)、緑色値(G)及び青色値(B)を含むRGB値のうちの、少なくともいずれか1つの値が所定の割合以上変化したか否かに基づいて、被印刷媒体Mの残量の有無を判断している。これにより、例えばインクリボンRと被印刷媒体Mとが同系色であっても、被印刷媒体Mの残量の有無を判断することができる。   In addition, when the optical sensor 42 detects the color, the control device 5 includes RGB values including the red value (R), the green value (G), and the blue value (B) detected by the optical sensor 42. Whether or not there is a remaining amount of the printing medium M is determined based on whether at least one of the values has changed by a predetermined ratio or more. Thereby, for example, even if the ink ribbon R and the printing medium M are similar in color, it is possible to determine whether or not the remaining amount of the printing medium M is present.

また、光センサ42は、光源43により照射された照射面における被印刷媒体Mの色の情報と、インクリボンRの色の情報と、を検出する。従って、周囲が暗い環境下であっても、被印刷媒体MとインクリボンRとを区別して検出することができる。これにより、被印刷媒体Mの残量の有無の判断精度を向上させることができる。
また被印刷媒体Mと、インクリボンRと、はそれぞれ異なる材料により形成されているため、被印刷媒体MとインクリボンRの色が同系色であっても、相互に反射率は異なっている。そのため、反射率の違いによる明るさの違いにより被印刷媒体MとインクリボンRとを区別して検出することができる。これにより、被印刷媒体Mの残量の有無の判断精度を向上させることができる。
Further, the optical sensor 42 detects color information of the printing medium M on the irradiation surface irradiated by the light source 43 and color information of the ink ribbon R. Therefore, even in an environment where the surroundings are dark, the printing medium M and the ink ribbon R can be distinguished and detected. Thereby, the determination accuracy of the presence or absence of the remaining amount of the printing medium M can be improved.
Further, since the printing medium M and the ink ribbon R are formed of different materials, the reflectance is different from each other even if the printing medium M and the ink ribbon R have similar colors. Therefore, the printing medium M and the ink ribbon R can be distinguished and detected by the difference in brightness due to the difference in reflectance. Thereby, the determination accuracy of the presence or absence of the remaining amount of the printing medium M can be improved.

また、制御装置5は、被印刷媒体Mが搬送される前に光センサ42により検出された色の情報と、被印刷媒体Mが搬送された後に光センサ42により検出された色の情報と、に基づき被印刷媒体Mの残量の有無を検出する。従って、光センサ42による検出間隔が比較的短いことから、被印刷媒体Mの残量の有無の判断において、外部の光や、半導体を使用する光センサ42に対する温度変化等の環境の変化の影響を受け難くすることができ、これにより、被印刷媒体Mの残量の有無の判断精度を向上させることができる。
また、従来技術では、被印刷媒体の終端を検出するために被印刷媒体に加工された識別マークを検出しており、そのために識別マークの検出を継続して行う必要があった、これに対し、本実施形態においては、被印刷媒体Mが搬送される前と後の2回だけ光センサ42による検出を行うだけで済む。このため、被印刷媒体Mの残量の有無の判断に関わる消費電力を押さえることができ、かつ、制御装置5の処理負担も軽減することができる。
Further, the control device 5 includes color information detected by the optical sensor 42 before the printing medium M is conveyed, color information detected by the optical sensor 42 after the printing medium M is conveyed, The presence or absence of the remaining amount of the printing medium M is detected based on Therefore, since the detection interval by the optical sensor 42 is relatively short, the influence of environmental changes such as external light and temperature changes on the optical sensor 42 using a semiconductor in determining whether the printing medium M is remaining or not is determined. Therefore, it is possible to improve the determination accuracy of the presence or absence of the remaining amount of the printing medium M.
In the prior art, the identification mark processed on the printing medium is detected in order to detect the end of the printing medium. For this reason, it is necessary to continuously detect the identification mark. In this embodiment, the detection by the optical sensor 42 only needs to be performed twice before and after the printing medium M is conveyed. For this reason, it is possible to suppress the power consumption related to the determination of the presence or absence of the remaining amount of the printing medium M, and to reduce the processing load of the control device 5.

上述した実施形態は、発明の理解を容易にするために具体例を示したものであり、本発明はこれらの実施形態に限定されるものではない。印刷装置、印刷装置の印刷制御方法、及び、プログラムは、特許請求の範囲の記載を逸脱しない範囲において、さまざまな変形、変更が可能である。   The embodiments described above are specific examples for facilitating understanding of the invention, and the present invention is not limited to these embodiments. The printing apparatus, the printing control method of the printing apparatus, and the program can be variously modified and changed without departing from the scope of the claims.

上述の実施形態においては、制御装置5は、電子機器100の表示装置101にエラーメッセージを表示しているがこの限りではない。例えば、印刷装置1にディスプレイや発光ダイオード等の表示装置を設け、制御装置5は、被印刷媒体Mの残量が無くなったと判断した場合には、被印刷媒体Mの残量が無くなった旨のエラーメッセージを印刷装置1の表示装置に表示する制御を行ってもよい。これにより、被印刷媒体Mの残量がなくなったことを利用者に明確に伝達することができる。   In the above-described embodiment, the control device 5 displays an error message on the display device 101 of the electronic device 100, but this is not restrictive. For example, if the printing apparatus 1 is provided with a display device such as a display or a light emitting diode, and the control device 5 determines that the remaining amount of the printing medium M has run out, it indicates that the remaining amount of the printing medium M has run out. Control to display the error message on the display device of the printing apparatus 1 may be performed. Thereby, it can be clearly communicated to the user that the remaining amount of the printing medium M has been exhausted.

上述した実施形態では、光センサ42により検出される被印刷媒体Mの色又は明るさの情報と、インクリボンRの色又は明るさの情報と、に基づいて被印刷媒体Mの残量の有無を判断する例を示したが、この限りではない。例えば、被印刷媒体Mを長さ毎に複数の色(例えば3色)で作成し、長さ毎に変動する被印刷媒体M(剥離紙F)の色又は明るさの情報と、インクリボンRの色又は明るさの情報と、の違いに基づいて被印刷媒体Mの残量の有無を判断してもよい。この場合、制御装置5は残量に応じたメッセージを表示する制御を行う。   In the above-described embodiment, the presence or absence of the remaining amount of the print medium M based on the color or brightness information of the print medium M detected by the optical sensor 42 and the color or brightness information of the ink ribbon R. However, this is not a limitation. For example, the printing medium M is created with a plurality of colors (for example, three colors) for each length, information on the color or brightness of the printing medium M (release paper F) that varies for each length, and the ink ribbon R The presence or absence of the remaining amount of the printing medium M may be determined based on the difference between the color and the brightness information. In this case, the control device 5 performs control to display a message corresponding to the remaining amount.

上述した実施形態では、光センサ42を、被印刷媒体Mの搬送経路Cの搬送方向において、サーマルヘッド10より上流側に配置する例を示したが、この限りではない。例えば、光センサ42を、サーマルヘッド10より下流側等、被印刷媒体MとインクリボンRとが重なった状態で搬送される搬送経路C上に配置してもよい。   In the above-described embodiment, the example in which the optical sensor 42 is disposed on the upstream side of the thermal head 10 in the transport direction of the transport path C of the print medium M has been described. For example, the optical sensor 42 may be disposed on a conveyance path C that is conveyed in a state where the printing medium M and the ink ribbon R are overlapped, such as on the downstream side of the thermal head 10.

上述した実施形態では、制御装置5は、被印刷媒体Mが搬送される前に光センサ42により検出された色又は明るさの情報と、被印刷媒体Mが搬送された後に光センサ42により検出された色又は明るさの情報と、の変化に基づき被印刷媒体の残量の有無を判断する例を示したが、この限りではない。例えば、光センサ42は、被印刷媒体Mが搬送される間は連続(例えば、1秒ごと)して色又は明るさの情報を検出し、制御装置5は、連続して検出される色又は明るさの情報の違いに基づき被印刷媒体Mの残量の有無を判断してもよい。被印刷媒体Mの残量が無くなったと判断した場合、制御装置5は、サーマルヘッド10及びステッピングモータ12への電源の供給を停止することにより、印刷装置1の搬送及び印刷動作を停止する。これにより、サーマルヘッド10による印刷の空打ちを未然に防ぐことで、サーマルヘッド10及びプラテンローラ21等の印刷装置1の構成部品を保護することができる。さらに、印刷装置1の無駄な動作を防ぐことで、印刷装置1の消費電力の低減を図ることができる。   In the embodiment described above, the control device 5 detects the color or brightness information detected by the optical sensor 42 before the printing medium M is conveyed and the optical sensor 42 after the printing medium M is conveyed. Although an example in which the presence or absence of the remaining amount of the printing medium is determined based on the change in the color or brightness information, the present invention is not limited to this. For example, the optical sensor 42 detects color or brightness information continuously (for example, every second) while the printing medium M is being conveyed, and the control device 5 detects the color or brightness detected continuously. The presence or absence of the remaining amount of the printing medium M may be determined based on the difference in brightness information. When determining that the remaining amount of the printing medium M has run out, the control device 5 stops the conveyance and printing operation of the printing device 1 by stopping the supply of power to the thermal head 10 and the stepping motor 12. Thereby, the printing head 1 can be protected by preventing the thermal head 10 from being emptied in advance, so that the components of the printing apparatus 1 such as the thermal head 10 and the platen roller 21 can be protected. Furthermore, the power consumption of the printing apparatus 1 can be reduced by preventing useless operations of the printing apparatus 1.

上述した実施形態では、制御装置5は、被印刷媒体Mの搬送前に光センサ42で検出したRGB値の初期値と、被印刷媒体Mの搬送終了後に光センサ42で検出したRGB値と、に変化があるか判定する例を示したが、この限りではない。例えば、制御装置5は、テープカセット30の交換時に、一度だけ検出したRGB値を初期値として記憶し、記憶しているRGB値の初期値と、被印刷媒体Mの搬送終了後に光センサ42で検出したRGB値と、に変化があるか判定してもよい。   In the above-described embodiment, the control device 5 includes the initial RGB value detected by the optical sensor 42 before transporting the printing medium M, the RGB value detected by the optical sensor 42 after transporting the printing medium M, Although an example of determining whether or not there is a change is shown, this is not restrictive. For example, when the tape cassette 30 is replaced, the control device 5 stores the RGB value detected only once as an initial value, and stores the initial value of the RGB value and the optical sensor 42 after the conveyance of the print medium M is completed. It may be determined whether there is a change in the detected RGB value.

上述した実施形態では、光センサ42による被印刷媒体の色又は明るさの検出は、被印刷媒体M側から行う例を示したが、この限りではない。例えば、被印刷媒体Mの長さを、インクリボンRの長さよりも長く形成した場合には、光センサ42による被印刷媒体の色又は明るさの検出は、インクリボンR側から行ってもよい。   In the above-described embodiment, the example in which the color or brightness of the printing medium by the optical sensor 42 is detected from the printing medium M side is shown, but the present invention is not limited to this. For example, when the length of the printing medium M is formed longer than the length of the ink ribbon R, the color or brightness of the printing medium by the optical sensor 42 may be detected from the ink ribbon R side. .

以下、本願の出願当初の特許請求の範囲に記載された発明を付記する。
[付記1]
少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の前記色又は前記明るさを、前記少なくとも一方の面側から検出する検出装置と、
前記搬送対象物の少なくとも一部に印刷を行う印刷ヘッドと、
前記検出装置の検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出する制御装置と、
を備える、ことを特徴とする印刷装置。
Hereinafter, the invention described in the scope of claims at the beginning of the application of the present application will be added.
[Appendix 1]
A plurality of members having a first member and a second member in which colors included in each region of at least one surface are different from each other or brightness in each region of at least one surface are different from each other are stacked. A detection device that detects the color or the brightness of a conveyance object conveyed in a state from the at least one surface side;
A print head for printing on at least a part of the transport object;
A control device for detecting one boundary of the first member and the second member of the transport object as viewed from the at least one surface side based on a detection result of the detection device;
A printing apparatus comprising:

[付記2]
前記制御装置は、前記搬送が行われる前に前記検出装置が検出した第1の検出結果と、前記搬送が行われた後に前記検出装置が検出した第2の検出結果との比較に基づいて、前記境界が検出位置を通過したか否かを判断することにより前記境界を検出する、
ことを特徴とする付記1に記載の印刷装置。
[Appendix 2]
The control device is based on a comparison between a first detection result detected by the detection device before the transport is performed and a second detection result detected by the detection device after the transport is performed. Detecting the boundary by determining whether the boundary has passed a detection position;
The printing apparatus according to Supplementary Note 1, wherein

[付記3]
前記検出装置は、前記第1の検出結果及び前記第2の検出結果として、前記検出位置における前記搬送対象物の色の、赤色値(R)、緑色値(G)及び青色値(B)を含むRGB値を検出し、
前記制御装置は、前記第1の検出結果及び前記第2の検出結果における、前記赤色値、前記緑色値及び前記青色値のうちの、少なくとも一つの値の比較に基づいて、前記境界が前記検出位置を通過したか否かを判断する、
ことを特徴とする付記2に記載の印刷装置。
[Appendix 3]
The detection device uses, as the first detection result and the second detection result, a red value (R), a green value (G), and a blue value (B) of the color of the conveyance object at the detection position. Detect RGB values including
The control device detects the boundary based on a comparison of at least one of the red value, the green value, and the blue value in the first detection result and the second detection result. Determine whether it has passed the position,
The printing apparatus according to Supplementary Note 2, wherein

[付記4]
前記搬送対象物は、前記第1部材の前記一方の面と前記第2部材の前記一方の面とが同じ向きで重ねられた状態で搬送される、
ことを特徴とする付記1に記載の印刷装置。
[Appendix 4]
The transport object is transported in a state where the one surface of the first member and the one surface of the second member are overlapped in the same direction.
The printing apparatus according to Supplementary Note 1, wherein

[付記5]
前記第1部材は、前記印刷ヘッドによる前記印刷に使用されるインクリボンであり、
前記第2部材は、前記印刷ヘッドにより前記印刷が行われる被印刷媒体である、
ことを特徴とする付記1に記載の印刷装置。
[Appendix 5]
The first member is an ink ribbon used for the printing by the print head,
The second member is a printing medium on which the printing is performed by the print head.
The printing apparatus according to Supplementary Note 1, wherein

[付記6]
前記被印刷媒体は、前記印刷ヘッドによる前記印刷が行われる印刷面を一方に有する長尺状の基材を有し、
前記被印刷媒体は前記インクリボンより短く、
前記搬送対象物は、前記被印刷媒体の残量があるときは、前記インクリボンが前記基材の前記印刷面側に重ねられた状態で搬送され、前記被印刷媒体の残量が無くなったときは、前記インクリボンが前記基材と重ならない状態で搬送され、
前記検出装置は、前記基材の前記印刷面の反対側から前記搬送対象物の色又は明るさを検出するように設けられ、
前記制御装置は、前記境界が前記検出位置を通過したと判断した場合に、前記被印刷媒体の残量が無くなったと判断する、
ことを特徴とする付記5に記載の印刷装置。
[Appendix 6]
The printing medium has a long base material having a printing surface on one side where the printing by the printing head is performed,
The printing medium is shorter than the ink ribbon,
The transport object is transported in a state where the ink ribbon is stacked on the printing surface side of the base material when there is a remaining amount of the print medium, and the remaining amount of the print medium is exhausted. Is transported in a state where the ink ribbon does not overlap the substrate,
The detection device is provided to detect the color or brightness of the conveyance object from the opposite side of the printing surface of the base material,
When the control device determines that the boundary has passed the detection position, the control device determines that the remaining amount of the printing medium is exhausted.
The printing apparatus according to appendix 5, characterized in that:

[付記7]
前記被印刷媒体は、前記基材の前記印刷面と反対側の面を、粘着層を介して覆う剥離紙を有し、
前記検出装置は、前記被印刷媒体の残量があるときは、前記剥離紙の前記検出装置側の色又は明るさを検出する、
ことを特徴とする付記6に記載の印刷装置。
[Appendix 7]
The printing medium has a release paper that covers the surface of the substrate opposite to the printing surface via an adhesive layer;
The detection device detects the color or brightness of the release paper on the detection device side when there is a remaining amount of the print medium;
The printing apparatus according to appendix 6, wherein:

[付記8]
表示装置をさらに備え、
前記制御装置は、前記第2部材の残量が無くなったと判断した場合に、前記第2部材の残量が無くなった旨を前記表示装置に表示する制御を実行する、
ことを特徴とする付記6又は付記7に記載の印刷装置。
[Appendix 8]
A display device,
When the control device determines that the remaining amount of the second member has run out, the control device executes control to display on the display device that the remaining amount of the second member has run out.
The printing apparatus according to Supplementary Note 6 or Supplementary Note 7, wherein

[付記9]
前記搬送対象物の搬送経路に沿って前記被印刷媒体を搬送する搬送装置をさらに備え、
前記制御装置は、前記第2部材の残量が無くなったと判断した場合には、前記搬送装置による搬送を停止させる制御を実行する、
ことを特徴とする付記6乃至付記8のうちいずれかに記載の印刷装置。
[Appendix 9]
A transport device that transports the print medium along a transport path of the transport object;
When the control device determines that the remaining amount of the second member has run out, the control device executes control to stop the conveyance by the conveyance device;
The printing apparatus according to any one of Supplementary Note 6 to Supplementary Note 8, wherein

[付記10]
前記検出装置が前記搬送対象物の前記検出位置における色又は明るさを検出するときに、前記搬送対象物の前記検出位置を照明する照射装置をさらに備える、
ことを特徴とする付記1乃至付記9のうちいずれかに記載の印刷装置。
[Appendix 10]
An irradiation device that illuminates the detection position of the transport object when the detection device detects a color or brightness at the detection position of the transport object;
The printing apparatus according to any one of Supplementary Note 1 to Supplementary Note 9, wherein:

[付記11]
前記検出位置は、前記搬送対象物の搬送方向に直交する幅方向の中央となる位置に配置されている、
ことを特徴とする付記1乃至付記10のうちいずれかに記載の印刷装置。
[Appendix 11]
The detection position is disposed at a position that is the center of the width direction orthogonal to the transport direction of the transport object.
The printing apparatus according to any one of Supplementary Note 1 to Supplementary Note 10, wherein:

[付記12]
前記検出装置は、前記搬送対象物の搬送経路において、前記印刷ヘッドに対して前記搬送方向における上流側に配置されている、
ことを特徴とする付記1乃至付記11のうちいずれかに記載の印刷装置。
[Appendix 12]
The detection device is arranged on the upstream side in the transport direction with respect to the print head in the transport path of the transport object.
The printing apparatus according to any one of Supplementary Note 1 to Supplementary Note 11, wherein

[付記13]
印刷装置の印刷制御方法であって、
前記印刷装置は、印刷を行う印刷ヘッドと、対象物の色又は明るさを検出する検出装置と、を備え、
少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の色又は明るさを、前記検出装置により、前記少なくとも一方の面側から検出し、
前記検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出する、
ことを特徴とする印刷装置の印刷制御方法。
[Appendix 13]
A printing control method for a printing apparatus,
The printing apparatus includes a print head that performs printing, and a detection device that detects a color or brightness of an object,
A plurality of members having a first member and a second member in which colors included in each region of at least one surface are different from each other or brightness in each region of at least one surface are different from each other are stacked. The color or brightness of the object to be transported in the state is detected from the at least one surface side by the detection device;
Based on the detection result, one boundary of the first member and the second member of the conveyance object as viewed from the at least one surface side is detected.
A printing control method for a printing apparatus.

[付記14]
印刷装置のコンピュータに実行させるプログラムであって、
前記印刷装置は、印刷を行う印刷ヘッドと、対象物の色又は明るさを検出する検出装置と、を備え、
前記コンピュータに、
少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の色又は明るさを、前記検出装置により、前記少なくとも一方の面側から検出させ、
前記検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出させる、
ことを特徴とするプログラム。
[Appendix 14]
A program to be executed by a computer of a printing apparatus,
The printing apparatus includes a print head that performs printing, and a detection device that detects a color or brightness of an object,
In the computer,
A plurality of members having a first member and a second member in which colors included in each region of at least one surface are different from each other or brightness in each region of at least one surface are different from each other are stacked. The detection device detects the color or brightness of the object to be conveyed in a state from the at least one surface side,
Based on the detection result, one boundary of the first member and the second member of the conveyance object as viewed from the at least one surface side is detected.
A program characterized by that.

1・・・印刷装置、2・・・装置筐体、2a・・・排出口、3・・・開閉蓋、3a・・・窓、5・・・制御装置、5a・・・プロセッサ、6・・・ROM、7・・・RAM、8・・・通信インターフェース(IF)、9・・・ヘッド駆動回路、10・・・サーマルヘッド、10a・・・発熱素子、11・・・搬送用モータ駆動回路、12・・・ステッピングモータ、13・・・サーミスタ、14・・・カッターモータ駆動回路、15・・・カッターモータ、16・・・ハーフカット装置、17・・・フルカット装置、19・・・カセット収納部、20・・・カセット受け部、21・・・プラテンローラ、22・・・テープコア係合軸、23・・・インクリボン巻取り駆動軸、25・・・電源ボタン、26・・・操作ボタン、27・・・蓋開閉ボタン、30・・・テープカセット、31・・・カセットケース、32・・・テープコア、34・・・インクリボン供給コア、35・・・インクリボン巻取りコア、36・・・サーマルヘッド被挿入部、37・・・係合部、40・・・電源回路、41・・・テープエンド検出基板、42・・・光センサ、43・・・光源、100・・・電子機器、101・・・表示装置、102・・・入力装置、103・・・表示部駆動装置、104・・・通信インターフェース(IF)、105・・・ROM、106・・・RAM、107・・・制御装置、108・・・プロセッサ、M・・・被印刷媒体、R・・・インクリボン   DESCRIPTION OF SYMBOLS 1 ... Printing device, 2 ... Apparatus housing, 2a ... Discharge port, 3 ... Opening / closing lid, 3a ... Window, 5 ... Control device, 5a ... Processor, 6. ..ROM, 7 ... RAM, 8 ... communication interface (IF), 9 ... head drive circuit, 10 ... thermal head, 10a ... heating element, 11 ... conveyance motor drive Circuit, 12 ... Stepping motor, 13 ... Thermistor, 14 ... Cutter motor drive circuit, 15 ... Cutter motor, 16 ... Half-cut device, 17 ... Full-cut device, 19 ...・ Cassette storage section, 20... Cassette receiving section, 21... Platen roller, 22... Tape core engaging shaft, 23.・ Operation buttons, 27 ... Open / close lid 30 ... Tape cassette, 31 ... Cassette case, 32 ... Tape core, 34 ... Ink ribbon supply core, 35 ... Ink ribbon winding core, 36 ... Thermal head insertion part 37 ... engagement part, 40 ... power supply circuit, 41 ... tape end detection substrate, 42 ... light sensor, 43 ... light source, 100 ... electronic device, 101 ... display Device 102... Input device 103 Display unit drive device 104 Communication interface (IF) 105 ROM ROM 106 RAM 107 Control device 108.・ Processor, M ・ ・ ・ Print medium, R ・ ・ ・ Ink ribbon

Claims (14)

少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の前記色又は前記明るさを、前記少なくとも一方の面側から検出する検出装置と、
前記搬送対象物の少なくとも一部に印刷を行う印刷ヘッドと、
前記検出装置の検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出する制御装置と、
を備える、ことを特徴とする印刷装置。
A plurality of members having a first member and a second member in which colors included in each region of at least one surface are different from each other or brightness in each region of at least one surface are different from each other are stacked. A detection device that detects the color or the brightness of a conveyance object conveyed in a state from the at least one surface side;
A print head for printing on at least a part of the transport object;
A control device for detecting one boundary of the first member and the second member of the transport object as viewed from the at least one surface side based on a detection result of the detection device;
A printing apparatus comprising:
前記制御装置は、前記搬送が行われる前に前記検出装置が検出した第1の検出結果と、前記搬送が行われた後に前記検出装置が検出した第2の検出結果との比較に基づいて、前記境界が検出位置を通過したか否かを判断することにより前記境界を検出する、
ことを特徴とする請求項1に記載の印刷装置。
The control device is based on a comparison between a first detection result detected by the detection device before the transport is performed and a second detection result detected by the detection device after the transport is performed. Detecting the boundary by determining whether the boundary has passed a detection position;
The printing apparatus according to claim 1.
前記検出装置は、前記第1の検出結果及び前記第2の検出結果として、前記検出位置における前記搬送対象物の色の、赤色値(R)、緑色値(G)及び青色値(B)を含むRGB値を検出し、
前記制御装置は、前記第1の検出結果及び前記第2の検出結果における、前記赤色値、前記緑色値及び前記青色値のうちの、少なくとも一つの値の比較に基づいて、前記境界が前記検出位置を通過したか否かを判断する、
ことを特徴とする請求項2に記載の印刷装置。
The detection device uses, as the first detection result and the second detection result, a red value (R), a green value (G), and a blue value (B) of the color of the conveyance object at the detection position. Detect RGB values including
The control device detects the boundary based on a comparison of at least one of the red value, the green value, and the blue value in the first detection result and the second detection result. Determine whether it has passed the position,
The printing apparatus according to claim 2.
前記搬送対象物は、前記第1部材の前記一方の面と前記第2部材の前記一方の面とが同じ向きで重ねられた状態で搬送される、
ことを特徴とする請求項1に記載の印刷装置。
The transport object is transported in a state where the one surface of the first member and the one surface of the second member are overlapped in the same direction.
The printing apparatus according to claim 1.
前記第1部材は、前記印刷ヘッドによる前記印刷に使用されるインクリボンであり、
前記第2部材は、前記印刷ヘッドにより前記印刷が行われる被印刷媒体である、
ことを特徴とする請求項1に記載の印刷装置。
The first member is an ink ribbon used for the printing by the print head,
The second member is a printing medium on which the printing is performed by the print head.
The printing apparatus according to claim 1.
前記被印刷媒体は、前記印刷ヘッドによる前記印刷が行われる印刷面を一方に有する長尺状の基材を有し、
前記被印刷媒体は前記インクリボンより短く、
前記搬送対象物は、前記被印刷媒体の残量があるときは、前記インクリボンが前記基材の前記印刷面側に重ねられた状態で搬送され、前記被印刷媒体の残量が無くなったときは、前記インクリボンが前記基材と重ならない状態で搬送され、
前記検出装置は、前記基材の前記印刷面の反対側から前記搬送対象物の色又は明るさを検出するように設けられ、
前記制御装置は、前記境界が前記検出位置を通過したと判断した場合に、前記被印刷媒体の残量が無くなったと判断する、
ことを特徴とする請求項5に記載の印刷装置。
The printing medium has a long base material having a printing surface on one side where the printing by the printing head is performed,
The printing medium is shorter than the ink ribbon,
The transport object is transported in a state where the ink ribbon is stacked on the printing surface side of the base material when there is a remaining amount of the print medium, and the remaining amount of the print medium is exhausted. Is transported in a state where the ink ribbon does not overlap the substrate,
The detection device is provided to detect the color or brightness of the conveyance object from the opposite side of the printing surface of the base material,
When the control device determines that the boundary has passed the detection position, the control device determines that the remaining amount of the printing medium is exhausted.
The printing apparatus according to claim 5.
前記被印刷媒体は、前記基材の前記印刷面と反対側の面を、粘着層を介して覆う剥離紙を有し、
前記検出装置は、前記被印刷媒体の残量があるときは、前記剥離紙の前記検出装置側の色又は明るさを検出する、
ことを特徴とする請求項6に記載の印刷装置。
The printing medium has a release paper that covers the surface of the substrate opposite to the printing surface via an adhesive layer;
The detection device detects the color or brightness of the release paper on the detection device side when there is a remaining amount of the print medium;
The printing apparatus according to claim 6.
表示装置をさらに備え、
前記制御装置は、前記第2部材の残量が無くなったと判断した場合に、前記第2部材の残量が無くなった旨を前記表示装置に表示する制御を実行する、
ことを特徴とする請求項6又は請求項7に記載の印刷装置。
A display device,
When the control device determines that the remaining amount of the second member has run out, the control device executes control to display on the display device that the remaining amount of the second member has run out.
The printing apparatus according to claim 6, wherein the printing apparatus is a printer.
前記搬送対象物の搬送経路に沿って前記被印刷媒体を搬送する搬送装置をさらに備え、
前記制御装置は、前記第2部材の残量が無くなったと判断した場合には、前記搬送装置による搬送を停止させる制御を実行する、
ことを特徴とする請求項6乃至請求項8のうちいずれか1項に記載の印刷装置。
A transport device that transports the print medium along a transport path of the transport object;
When the control device determines that the remaining amount of the second member has run out, the control device executes control to stop the conveyance by the conveyance device;
The printing apparatus according to claim 6, wherein the printing apparatus is a printer.
前記検出装置が前記搬送対象物の前記検出位置における色又は明るさを検出するときに、前記搬送対象物の前記検出位置を照明する照射装置をさらに備える、
ことを特徴とする請求項1乃至請求項9のうちいずれか1項に記載の印刷装置。
An irradiation device that illuminates the detection position of the transport object when the detection device detects a color or brightness at the detection position of the transport object;
The printing apparatus according to claim 1, wherein the printing apparatus is a printing apparatus.
前記検出位置は、前記搬送対象物の搬送方向に直交する幅方向の中央となる位置に配置されている、
ことを特徴とする請求項1乃至請求項10のうちいずれか1項に記載の印刷装置。
The detection position is disposed at a position that is the center of the width direction orthogonal to the transport direction of the transport object.
The printing apparatus according to claim 1, wherein the printing apparatus is a printer.
前記検出装置は、前記搬送対象物の搬送経路において、前記印刷ヘッドに対して前記搬送方向における上流側に配置されている、
ことを特徴とする請求項1乃至請求項11のうちいずれか1項に記載の印刷装置。
The detection device is arranged on the upstream side in the transport direction with respect to the print head in the transport path of the transport object.
The printing apparatus according to claim 1, wherein the printing apparatus is a printing apparatus.
印刷装置の印刷制御方法であって、
前記印刷装置は、印刷を行う印刷ヘッドと、対象物の色又は明るさを検出する検出装置と、を備え、
少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の色又は明るさを、前記検出装置により、前記少なくとも一方の面側から検出し、
前記検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出する、
ことを特徴とする印刷装置の印刷制御方法。
A printing control method for a printing apparatus,
The printing apparatus includes a print head that performs printing, and a detection device that detects a color or brightness of an object,
A plurality of members having a first member and a second member in which colors included in each region of at least one surface are different from each other or brightness in each region of at least one surface are different from each other are stacked. The color or brightness of the object to be transported in the state is detected from the at least one surface side by the detection device;
Based on the detection result, one boundary of the first member and the second member of the conveyance object as viewed from the at least one surface side is detected.
A printing control method for a printing apparatus.
印刷装置のコンピュータに実行させるプログラムであって、
前記印刷装置は、印刷を行う印刷ヘッドと、対象物の色又は明るさを検出する検出装置と、を備え、
前記コンピュータに、
少なくとも一方の面同士のそれぞれの領域に含まれる色が互いに異なる、又は、少なくとも一方の面同士のそれぞれの領域における明るさが互いに異なる第1部材及び第2部材を有する複数の部材が重ねられた状態で搬送される搬送対象物の色又は明るさを、前記検出装置により、前記少なくとも一方の面側から検出させ、
前記検出結果に基づいて、前記少なくとも一方の面側から見た、前記搬送対象物の前記第1部材及び前記第2部材の一方の境界を検出させる、
ことを特徴とするプログラム。
A program to be executed by a computer of a printing apparatus,
The printing apparatus includes a print head that performs printing, and a detection device that detects a color or brightness of an object,
In the computer,
A plurality of members having a first member and a second member in which colors included in each region of at least one surface are different from each other or brightness in each region of at least one surface are different from each other are stacked. The detection device detects the color or brightness of the object to be conveyed in a state from the at least one surface side,
Based on the detection result, one boundary of the first member and the second member of the conveyance object as viewed from the at least one surface side is detected.
A program characterized by that.
JP2017123918A 2017-06-26 2017-06-26 Printing device, printing control method of printing device, and program Active JP7047266B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017123918A JP7047266B2 (en) 2017-06-26 2017-06-26 Printing device, printing control method of printing device, and program
PCT/JP2018/015850 WO2019003593A1 (en) 2017-06-26 2018-04-17 Printing device, printing control method, and recording medium
CN201880043026.0A CN110799340B (en) 2017-06-26 2018-04-17 Printing apparatus, printing control method, and recording medium
JP2022046285A JP7231088B2 (en) 2017-06-26 2022-03-23 PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017123918A JP7047266B2 (en) 2017-06-26 2017-06-26 Printing device, printing control method of printing device, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022046285A Division JP7231088B2 (en) 2017-06-26 2022-03-23 PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM

Publications (3)

Publication Number Publication Date
JP2019006018A true JP2019006018A (en) 2019-01-17
JP2019006018A5 JP2019006018A5 (en) 2019-12-19
JP7047266B2 JP7047266B2 (en) 2022-04-05

Family

ID=64741340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017123918A Active JP7047266B2 (en) 2017-06-26 2017-06-26 Printing device, printing control method of printing device, and program

Country Status (3)

Country Link
JP (1) JP7047266B2 (en)
CN (1) CN110799340B (en)
WO (1) WO2019003593A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021065479A1 (en) * 2019-09-30 2021-04-08 ブラザー工業株式会社 Printing device
CN116749658A (en) * 2023-08-21 2023-09-15 武汉精臣智慧标识科技有限公司 RFID label printer and read-write method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001146362A (en) * 1999-11-19 2001-05-29 Mitsubishi Paper Mills Ltd Web cut detecting device in web manufacturing process
JP2005001887A (en) * 2003-05-21 2005-01-06 Seiko Epson Corp Printer, control method and program of printer
JP2013075373A (en) * 2011-09-29 2013-04-25 Canon Inc Recording device
JP2015063045A (en) * 2013-09-24 2015-04-09 カシオ計算機株式会社 Printing device, printing method, program, and tape
JP2015066719A (en) * 2013-09-27 2015-04-13 セイコーエプソン株式会社 Printer and method of controlling printer

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6083862A (en) * 1983-10-17 1985-05-13 Fuji Xerox Co Ltd Multi-color transfer type thermal transfer printing apparatus
JPS61172480A (en) * 1985-01-25 1986-08-04 Matsushita Electric Ind Co Ltd Multi-color heat transfer recording device
JPH08127167A (en) * 1994-11-01 1996-05-21 Arutetsuku Kk Apparatus and method for detecting end of rolled sheet
JP2000071589A (en) * 1998-06-16 2000-03-07 Alps Electric Co Ltd Ink ribbon assembly and heat transfer printer using this ink ribbon assembly
CN1319752C (en) * 2003-05-21 2007-06-06 精工爱普生株式会社 Printing device and its controlling method
JP2008009598A (en) * 2006-06-28 2008-01-17 Konica Minolta Business Technologies Inc Print controller, print control program, and print control method
JP2011104828A (en) * 2009-11-16 2011-06-02 Canon Inc Rolled recording medium and method for detecting final end of rolled recording medium
US9132674B2 (en) * 2013-09-27 2015-09-15 Seiko Epson Corporation Printer and control method of a printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001146362A (en) * 1999-11-19 2001-05-29 Mitsubishi Paper Mills Ltd Web cut detecting device in web manufacturing process
JP2005001887A (en) * 2003-05-21 2005-01-06 Seiko Epson Corp Printer, control method and program of printer
JP2013075373A (en) * 2011-09-29 2013-04-25 Canon Inc Recording device
JP2015063045A (en) * 2013-09-24 2015-04-09 カシオ計算機株式会社 Printing device, printing method, program, and tape
JP2015066719A (en) * 2013-09-27 2015-04-13 セイコーエプソン株式会社 Printer and method of controlling printer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021065479A1 (en) * 2019-09-30 2021-04-08 ブラザー工業株式会社 Printing device
CN114514123A (en) * 2019-09-30 2022-05-17 兄弟工业株式会社 Printing apparatus
JP7367430B2 (en) 2019-09-30 2023-10-24 ブラザー工業株式会社 printing device
US11813879B2 (en) 2019-09-30 2023-11-14 Brother Kogyo Kabushiki Kaisha Printer
CN116749658A (en) * 2023-08-21 2023-09-15 武汉精臣智慧标识科技有限公司 RFID label printer and read-write method thereof
CN116749658B (en) * 2023-08-21 2023-11-14 武汉精臣智慧标识科技有限公司 RFID label printer and read-write method thereof

Also Published As

Publication number Publication date
CN110799340A (en) 2020-02-14
WO2019003593A1 (en) 2019-01-03
CN110799340B (en) 2021-09-14
JP7047266B2 (en) 2022-04-05

Similar Documents

Publication Publication Date Title
JP6885254B2 (en) Printing device, printing control method of printing device, and program
US7938588B2 (en) Thermal printer having first and second ring-like conveyance paths
CN110014751A (en) Printing equipment, printing control method and storage medium
JP7047266B2 (en) Printing device, printing control method of printing device, and program
JP2014019049A (en) Tape-shaped printing medium, tape cartridge, tape printing device, and method for controlling a tape printing device
WO2013137216A1 (en) Sensor level adjustment device for printer, and sensor level adjustment method
JP7231088B2 (en) PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM
JP7350681B2 (en) Printer, printer control method and program
US11034171B2 (en) Printer and control method for printer
JP2018052105A (en) Printer, printing method, and program
JP7024363B2 (en) Printing device, control method of printing device, and program
JP6316046B2 (en) Label printer
JP7318254B2 (en) PRINTING DEVICE, PRINT CONTROL METHOD, AND PROGRAM
JP7167690B2 (en) PRINTING DEVICE, CONTROL METHOD, AND PROGRAM
JP2022018324A (en) Printer, printed medium width derivation method, and program
JP2021176692A (en) Printing device, printing method and program
JP2019155751A (en) Printer, printing method, and program
JP2004058653A (en) Printer
JP2019055566A (en) Printer, printing control method of printer, and program
JP2003285567A (en) Ink ribbon sheet set, ink ribbon cassette and printing device
JP2005234269A (en) Image forming apparatus
JP2017080983A (en) Thermal transfer type printer
JP2012183673A (en) Image forming apparatus and control method of image forming apparatus
JP2005250098A (en) Image processing apparatus
JP2005148175A (en) Image forming apparatus and method

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20190415

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210907

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211027

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220307

R150 Certificate of patent or registration of utility model

Ref document number: 7047266

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150