Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7616182B2 - Printing device, printing control method, and program - Google Patents
[go: Go Back, main page]

JP7616182B2 - Printing device, printing control method, and program - Google Patents

Printing device, printing control method, and program Download PDF

Info

Publication number
JP7616182B2
JP7616182B2 JP2022150829A JP2022150829A JP7616182B2 JP 7616182 B2 JP7616182 B2 JP 7616182B2 JP 2022150829 A JP2022150829 A JP 2022150829A JP 2022150829 A JP2022150829 A JP 2022150829A JP 7616182 B2 JP7616182 B2 JP 7616182B2
Authority
JP
Japan
Prior art keywords
dot group
printing
sticking
density
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022150829A
Other languages
Japanese (ja)
Other versions
JP2024045820A (en
Inventor
直輝 小川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2022150829A priority Critical patent/JP7616182B2/en
Priority to CN202311154688.4A priority patent/CN117734320A/en
Publication of JP2024045820A publication Critical patent/JP2024045820A/en
Application granted granted Critical
Publication of JP7616182B2 publication Critical patent/JP7616182B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Printers Characterized By Their Purpose (AREA)

Description

本発明は、印刷装置、印刷制御方法、及びその処理に係るプログラムに関する。 The present invention relates to a printing device, a printing control method, and a program related to the processing.

サーマルヘッドから感熱式の発色剤やインクリボンに対して熱を加えて被印刷媒体への印刷を行う印刷装置(サーマルプリンタ)では、印字中にサーマルヘッドの貼り付き(スティッキング)が発生する場合がある。例えば、被印刷媒体に含まれる発色剤を加熱によって顕色化させる感熱式のサーマルプリンタでは、サーマルヘッドが被印刷媒体に貼り付いてスティッキングが発生する。インクリボンに塗布されたインクを加熱によって被印刷媒体に転写する熱転写式のサーマルプリンタでは、サーマルヘッドがインクリボンに貼り付いてスティッキングが発生する。スティッキングは印刷品質を低下させる原因になる。 In printing devices (thermal printers) that print on print media by applying heat from a thermal head to a thermal color former or ink ribbon, the thermal head can sometimes stick during printing. For example, in a thermal printer that uses heat to develop the color former contained in the print media, the thermal head can stick to the print media, causing sticking. In a thermal transfer printer that transfers ink applied to an ink ribbon to the print media by heating, the thermal head can stick to the ink ribbon, causing sticking. Sticking can cause a decrease in print quality.

サーマルプリンタの印刷では、印字パターンに応じてサーマルヘッドに温度変化がもたらされる。そして、サーマルヘッドが高温から低温へ急激に温度変化した場合にスティッキングが生じやすい。 When printing with a thermal printer, the temperature of the thermal head changes depending on the print pattern. Sticking is likely to occur when the temperature of the thermal head changes suddenly from high to low.

特許文献1には、チョッパ制御によりスティッキングの発生を防止するサーマルプリンタが記載されている。チョッパ制御は、サーマルヘッドへの通電と非通電の切換を頻繁に行う技術であり、チョッパ制御を行うことでサーマルヘッドの急激な温度変化を防止する効果が得られる。 Patent document 1 describes a thermal printer that uses chopper control to prevent sticking. Chopper control is a technique that frequently switches between energizing and deenergizing the thermal head, and chopper control has the effect of preventing sudden temperature changes in the thermal head.

特開2013-52539号公報JP 2013-52539 A

特許文献1に記載されるように、既存のスティッキング対策は、サーマルヘッドへの通電頻度を低下させないようにして、サーマルヘッドの温度変化(特に温度低下)を抑制することを骨子としている。しかし、特許文献1に記載の対策では、印刷表現によっては適切に対策できないおそれがあった。例えば、スティッキングの発生リスクが低い場合にも、スティッキング対策用の通電を行ってしまう場合がある。スティッキングの発生リスクが低い場合にサーマルヘッドにスティッキング対策用の通電を行うことは、エネルギーを無駄に消費する。また、サーマルヘッドにスティッキング対策用の通電を行っても、印刷品質に影響を及ぼさないことが求められる。つまり、スティッキングの発生リスクが高い状況を見極めて、過不足の無いスティッキング対策を実現するという課題がある。 As described in Patent Document 1, the main feature of existing anti-sticking measures is to suppress temperature changes (particularly temperature drops) in the thermal head by not reducing the frequency of current application to the thermal head. However, the measures described in Patent Document 1 may not be adequate for some print expressions. For example, there are cases where current is applied to the thermal head to prevent sticking even when the risk of sticking is low. Applying current to the thermal head to prevent sticking when the risk of sticking is low wastes energy. In addition, it is required that printing quality is not affected even if current is applied to the thermal head to prevent sticking. In other words, there is a challenge in identifying situations where the risk of sticking is high and implementing just the right amount of anti-sticking measures.

本発明は、サーマルヘッドのスティッキング発生を効率的に抑制可能な印刷装置、印刷制御方法、及びプログラムを提供することを目的とする。 The present invention aims to provide a printing device, a printing control method, and a program that can efficiently prevent sticking of a thermal head.

本発明の一態様に係る印刷装置は、複数の発熱素子を有し、前記複数の発熱素子に対応した複数のドットからなるドット群であって、設定された印刷データに基づいて印刷されるドット群ごとに被印刷媒体への印刷を行うサーマルヘッドと、制御装置と、を備え、前記制御装置は、第1ドット群において、所定の第1濃度以上の印字領域の割合が第1の閾値以上であること、及び、前記第1ドット群における前記第1濃度以上の印刷濃度で印字される印字領域と、前記第1ドット群よりも時系列として後続に印刷されるドット群を示す第2ドット群における前記第1濃度よりも低い印刷濃度を示す所定の第2濃度を超える印字領域との比較結果が、第2の閾値以上であること、を満たす場合に、少なくとも前記第2ドット群を含むドット群セットを、前記サーマルヘッドが前記被印刷媒体に貼り付く現象であるスティッキングが発生する可能性が高いスティッキング対策対象ドット群セットとして設定し、前記被印刷媒体に印刷を行うための第1の通電制御期間とは別に、前記被印刷媒体に印刷を行うことなく前記スティッキングを防止するための第2の通電制御期間を設定し、前記スティッキング対策対象ドット群セットの各ドット群における前記第2の通電制御期間において前記複数の発熱素子の少なくとも一部に通電するための対策データに基づく前記サーマルヘッドへの通電制御を行う、ことを特徴とする。 A printing device according to one aspect of the present invention includes a thermal head having a plurality of heating elements, the thermal head printing on a print medium for each dot group formed of a plurality of dots corresponding to the plurality of heating elements and printed based on set print data, and a control device, the control device determining that a ratio of a printed area having a predetermined first density or higher in a first dot group is equal to or higher than a first threshold value, and that a comparison result between a printed area in the first dot group printed at a print density equal to or higher than the first density and a printed area exceeding a predetermined second density indicating a print density lower than the first density in a second dot group indicating a dot group printed chronologically subsequent to the first dot group is equal to or higher than a second threshold value. When the above conditions are met, a dot group set including at least the second dot group is set as a dot group set subject to sticking prevention measures in which sticking, a phenomenon in which the thermal head sticks to the printing medium, is likely to occur, and a second current control period is set for preventing the sticking without printing on the printing medium, separate from a first current control period for printing on the printing medium, and current control to the thermal head is performed based on countermeasures data for currenting at least a portion of the multiple heating elements during the second current control period for each dot group in the sticking prevention measure dot group set.

本発明の一態様に係る印刷制御方法は、複数の発熱素子を有、前記複数の発熱素子に対応した複数のドットからなるドット群であって、設定された印刷データに基づいて印刷されるドット群ごとに被印刷媒体への印刷を行うサーマルヘッドを制御する印刷制御方法であって、第1ドット群において、所定の第1濃度以上の印字領域の割合が第1の閾値以上であること、及び、前記第1ドット群における前記第1濃度以上の印刷濃度で印字される印字領域と、前記第1ドット群よりも時系列として後続に印刷されるドット群を示す第2ドット群における前記第1濃度よりも低い印刷濃度を示す所定の第2濃度を超える印字領域との比較結果が、第2の閾値以上であること、を満たす場合に、少なくとも前記第2ドット群を含むドット群セットを、前記サーマルヘッドが前記被印刷媒体に貼り付く現象であるスティッキングが発生する可能性が高いスティッキング対策対象ドット群セットとして設定し、前記被印刷媒体に印刷を行うための第1の通電制御期間とは別に、前記被印刷媒体に印刷を行うことなく前記スティッキングを防止するための第2の通電制御期間を設定し、前記スティッキング対策対象ドット群セットの各ドット群における前記第2の通電制御期間において前記複数の発熱素子の少なくとも一部に通電するための対策データに基づく前記サーマルヘッドへの通電制御を行う、ことを特徴とする。 A print control method according to one aspect of the present invention is a print control method for controlling a thermal head that has a plurality of heating elements and prints on a print medium for each dot group that is made up of a plurality of dots corresponding to the plurality of heating elements and is printed based on set print data , the method controlling the thermal head that performs printing on a print medium for each dot group that has a ... When the above condition is met, a dot group set including at least the second dot group is set as a dot group set subject to sticking prevention measures in which sticking, a phenomenon in which the thermal head sticks to the printing medium, is likely to occur, and a second current control period is set for preventing the sticking without printing on the printing medium, separate from a first current control period for printing on the printing medium, and current control to the thermal head is performed based on countermeasures data for currenting at least a portion of the multiple heating elements during the second current control period for each dot group in the sticking prevention measure dot group set.

本発明の一態様に係るプログラムは、複数の発熱素子を有し、前記複数の発熱素子に対応した複数のドットからなるドット群であって、設定された印刷データに基づいて印刷されるドット群ごとに被印刷媒体への印刷を行うサーマルヘッドを備える印刷装置に搭載されたコンピュータに対し、第1ドット群において、所定の第1濃度以上の印字領域の割合が第1の閾値以上であること、及び、前記第1ドット群における前記第1濃度以上の印刷濃度で印字される印字領域と、前記第1ドット群よりも時系列として後続に印刷されるドット群を示す第2ドット群における前記第1濃度よりも低い印刷濃度を示す所定の第2濃度を超える印字領域との比較結果が、第2の閾値以上であること、を満たす場合に、少なくとも前記第2ドット群を含むドット群セットを、前記サーマルヘッドが前記被印刷媒体に貼り付く現象であるスティッキングが発生する可能性が高いスティッキング対策対象ドット群セットとして設定させ、前記被印刷媒体に印刷を行うための第1の通電制御期間とは別に、前記被印刷媒体に印刷を行うことなく前記スティッキングを防止するための第2の通電制御期間を設定させ、前記スティッキング対策対象ドット群セットの各ドット群における前記第2の通電制御期間において前記複数の発熱素子の少なくとも一部に通電するための対策データに基づく前記サーマルヘッドへの通電制御を行わせる、ことを特徴とする。 A program according to one aspect of the present invention provides a printing device having a thermal head that has a plurality of heating elements and that prints on a print medium each dot group consisting of a plurality of dots corresponding to the plurality of heating elements, the dot group being printed based on set print data, the program instructing a computer mounted on the printing device to detect that in a first dot group, a proportion of a printed area having a predetermined first density or higher is equal to or higher than a first threshold value, and that a comparison result between a printed area in the first dot group that is printed at a print density equal to or higher than the first density and a printed area exceeding a predetermined second density that indicates a print density lower than the first density in a second dot group indicating a dot group that is printed chronologically subsequent to the first dot group, is equal to or higher than a second threshold value. value or more, a dot group set including at least the second dot group is set as a dot group set subject to sticking prevention measures in which sticking, a phenomenon in which the thermal head sticks to the printing medium, is likely to occur, a second current control period is set for preventing the sticking without printing on the printing medium, separate from a first current control period for printing on the printing medium, and current control to the thermal head is performed based on countermeasures data for currenting at least a portion of the multiple heating elements during the second current control period for each dot group in the sticking prevention measure dot group set.

以上の態様によれば、スティッキング対策の実施を必要最小限にして、スティッキングの発生を効率的に抑制することができる。 According to the above aspect, sticking countermeasures can be implemented to a minimum extent, and the occurrence of sticking can be effectively suppressed.

印刷装置の正面図である。FIG. カセット収納部にテープカセットを収納した状態の正面図である。11 is a front view of the cassette storage section with the tape cassette stored therein; FIG. 印刷装置のハードウェア構造を示したブロック図である。FIG. 2 is a block diagram showing a hardware configuration of the printing device. サーマルヘッドの1ドット周期の通電制御の例を示す図である。11A and 11B are diagrams illustrating an example of energization control of a thermal head in one dot period. 印刷装置の機能的構造を示したブロック図である。FIG. 2 is a block diagram showing the functional structure of a printing device. スティッキング発生推定ドット群の判定方法と対策データのパターン設定方法を説明するための図である。11A and 11B are diagrams for explaining a method of determining a sticking occurrence estimated dot group and a method of setting a pattern of countermeasure data. スティッキング対策処理のフローチャートである。13 is a flowchart of a sticking countermeasure process. スティッキング発生推定ドット群の判定処理のフローチャートである。13 is a flowchart of a process for determining a sticking occurrence estimated dot group. 別形態の印刷装置におけるスティッキング発生推定ドット群の判定方法と対策データのパターン設定方法を説明するための図である。13A and 13B are diagrams for explaining a method of determining a sticking occurrence estimated dot group and a method of setting a pattern of countermeasure data in a printing device of another embodiment.

以下、本発明を実施するための形態について図面を参照しながら詳細に説明する。図1は、本実施形態に係る印刷装置10の正面図である。印刷装置10は、印字部としてサーマルヘッド30(図2参照)を備えるサーマルプリンタであり、例えば、長尺の帯状の被印刷媒体であるテープ20に対して、シングルパス方式で印刷を行う。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a front view of a printing device 10 according to this embodiment. The printing device 10 is a thermal printer equipped with a thermal head 30 (see FIG. 2) as a printing unit, and performs printing, for example, on a tape 20, which is a long, band-shaped printing medium, using a single pass method.

テープ20は、加熱によって発色する感熱式のテープである。例えば、テープ20は、接着層を有する基材、発色剤を含む発色層、基材の接着層に貼付された剥離可能な剥離紙、などを積層した構成である。 Tape 20 is a heat-sensitive tape that changes color when heated. For example, tape 20 is configured by laminating a substrate having an adhesive layer, a coloring layer containing a color former, and a removable release paper attached to the adhesive layer of the substrate.

印刷装置10は装置筐体11を有し、装置筐体11の上面手前側に入力部12を有し、装置筐体11の上面奥側に表示装置13と開閉蓋14を有している。 The printing device 10 has a device housing 11, an input section 12 on the front side of the top surface of the device housing 11, and a display device 13 and an opening/closing cover 14 on the rear side of the top surface of the device housing 11.

入力部12は、複数の入力キーなどを備えており、入力部12への操作によって、印刷する文字や図形などの印刷内容の入力や、印刷の実行を含む各種動作に関する入力や、その他の機能や設定の選択などが行われる。なお、印刷装置10に対する印刷内容の入力は、メモリカードなどの記憶媒体や、外部機器との間の通信を用いて行ってもよい。 The input unit 12 is equipped with a number of input keys, and operations on the input unit 12 are used to input print contents such as characters and figures to be printed, input related to various operations including execution of printing, and selection of other functions and settings. Note that print contents may be input to the printing device 10 using a storage medium such as a memory card, or communication with an external device.

表示装置13は、液晶表示パネルなどの表示手段を備えており、入力部12への入力に対応する文字や図形などの表示、各種設定のための選択メニューの表示、各種処理に関するメッセージ類の表示、印刷処理の進捗状況の表示などを行う。なお、表示装置13を入力受付可能なタイプ(タッチパネル入力方式など)にして、入力部12としての機能を表示装置13に持たせてもよい。 The display device 13 is equipped with a display means such as a liquid crystal display panel, and displays characters and figures corresponding to input to the input unit 12, displays selection menus for various settings, displays messages related to various processes, displays the progress of the printing process, etc. The display device 13 may be of a type capable of accepting input (such as a touch panel input method) and may have the function of the input unit 12.

開閉蓋14は、装置筐体11に対して開閉可能に取り付けられている。装置筐体11の内部には、閉じた状態の開閉蓋14により覆われるカセット収納部15(図2参照)が設けられている。カセット収納部15の内部構造については後述する。開閉蓋14は閉じた状態でロック可能であり、解除ボタン16を押し込むことにより、ロックを解除して開閉蓋14の開放動作が行われる。 The opening/closing cover 14 is attached to the device housing 11 so as to be openable and closable. Inside the device housing 11, a cassette storage section 15 (see FIG. 2) is provided which is covered by the opening/closing cover 14 in the closed state. The internal structure of the cassette storage section 15 will be described later. The opening/closing cover 14 can be locked in the closed state, and the lock is released by pressing the release button 16, allowing the opening/closing cover 14 to be opened.

装置筐体11の側面には、カセット収納部15に通じる排出口17(図2参照)が形成されている。印刷装置10の内部で印刷が行われたテープ20は、排出口17を通って印刷装置10の外側へ排出される。 An outlet 17 (see FIG. 2) that leads to the cassette storage section 15 is formed on the side of the device housing 11. The tape 20 on which printing has been performed inside the printing device 10 is discharged to the outside of the printing device 10 through the outlet 17.

図2は、印刷装置10のカセット収納部15に、テープカセット21を収納した状態を示している。テープカセット21は、箱状のカセットケース22の内部にテープコア23を備えており、ロール状のテープ20がテープコア23に支持されている。 Figure 2 shows the state in which the tape cassette 21 is stored in the cassette storage section 15 of the printing device 10. The tape cassette 21 has a tape core 23 inside a box-shaped cassette case 22, and the roll-shaped tape 20 is supported by the tape core 23.

カセット収納部15の内部には、サーマルヘッド30が設けられている。サーマルヘッド30は、テープ20への印刷時に発熱制御される複数の発熱素子30a(図3参照)を備えている。サーマルヘッド30には、温度を測定するヘッド温度測定部としてサーミスタ31(図3参照)が埋め込まれている。また、カセット収納部15の内部には、プラテンローラ32とテープコア係合軸33が設けられている。 A thermal head 30 is provided inside the cassette storage section 15. The thermal head 30 has a number of heating elements 30a (see FIG. 3) whose heat generation is controlled when printing on the tape 20. A thermistor 31 (see FIG. 3) is embedded in the thermal head 30 as a head temperature measurement section that measures temperature. A platen roller 32 and a tape core engagement shaft 33 are also provided inside the cassette storage section 15.

カセット収納部15の内部にはさらに、テープカセット21を所定の位置に支持するための複数のカセット受け部34と、テープカセット21が収容するテープ20の幅を検出するためのテープ幅検出スイッチ35(図3参照)が設けられている。テープ幅検出スイッチ35は、テープカセット21の形状に基づいてテープ20の幅を検出する検出部である。 The cassette storage section 15 further includes a plurality of cassette receiving sections 34 for supporting the tape cassette 21 in a predetermined position, and a tape width detection switch 35 (see FIG. 3) for detecting the width of the tape 20 contained in the tape cassette 21. The tape width detection switch 35 is a detection section that detects the width of the tape 20 based on the shape of the tape cassette 21.

装置筐体11の排出口17の近傍には、テープ20を幅方向に沿って切断するためのフルカッター36とハーフカッター37とが設けられている。フルカッター36は、剥離紙を含むテープ20の厚み全体を切断する。ハーフカッター37は、剥離紙を残してテープ20を切断する。 A full cutter 36 and a half cutter 37 are provided near the discharge port 17 of the device housing 11 to cut the tape 20 widthwise. The full cutter 36 cuts the entire thickness of the tape 20, including the release paper. The half cutter 37 cuts the tape 20 while leaving the release paper.

テープカセット21がカセット収納部15に収納された状態では、テープカセット21のテープコア23がテープコア係合軸33に係合し、テープコア23から引き出されたテープ20がサーマルヘッド30とプラテンローラ32の間を通る。開閉蓋14を閉じると、サーマルヘッド30がプラテンローラ32に接近して、サーマルヘッド30とプラテンローラ32の間にテープ20が挟まれる。 When the tape cassette 21 is stored in the cassette storage section 15, the tape core 23 of the tape cassette 21 engages with the tape core engagement shaft 33, and the tape 20 pulled out from the tape core 23 passes between the thermal head 30 and the platen roller 32. When the opening/closing lid 14 is closed, the thermal head 30 approaches the platen roller 32, and the tape 20 is sandwiched between the thermal head 30 and the platen roller 32.

印刷装置10に印刷実行の指示が入力されると、プラテンローラ32が回転駆動され、テープ20がテープコア23から繰り出されて搬送される。そして、サーマルヘッド30とプラテンローラ32との間をテープ20が通過する際に、サーマルヘッド30から加熱された部分でテープ20の発色層が発色して印字される。 When a command to print is input to the printer 10, the platen roller 32 is rotated and the tape 20 is unwound from the tape core 23 and transported. Then, when the tape 20 passes between the thermal head 30 and the platen roller 32, the color layer of the tape 20 develops color in the area heated by the thermal head 30 and is printed.

サーマルヘッド30とプラテンローラ32の間を通過した印刷済みのテープ20は、フルカッター36又はハーフカッター37で切断(フルカット又はハーフカット)され、排出口17からカセット収納部15の外部へ排出される。 The printed tape 20 that has passed between the thermal head 30 and the platen roller 32 is cut (full cut or half cut) by the full cutter 36 or half cutter 37, and is discharged from the discharge port 17 to the outside of the cassette storage section 15.

図3は、印刷装置10のハードウェア構造を示したブロック図である。このブロック図は、上述した入力部12、表示装置13、サーマルヘッド30、サーミスタ31、プラテンローラ32、テープ幅検出スイッチ35、フルカッター36、ハーフカッター37、を含んでいる。印刷装置10はさらに、制御装置40、ROM(Read Only Memory)41、RAM(Random Access Memory)42、表示装置駆動回路43、ヘッド駆動回路44、搬送用モータ駆動回路45、ステッピングモータ46、カッターモータ駆動回路47、カッターモータ48、温度センサ49を備える。 Figure 3 is a block diagram showing the hardware structure of the printing device 10. This block diagram includes the above-mentioned input unit 12, display device 13, thermal head 30, thermistor 31, platen roller 32, tape width detection switch 35, full cutter 36, and half cutter 37. The printing device 10 further includes a control device 40, a ROM (Read Only Memory) 41, a RAM (Random Access Memory) 42, a display device drive circuit 43, a head drive circuit 44, a transport motor drive circuit 45, a stepping motor 46, a cutter motor drive circuit 47, a cutter motor 48, and a temperature sensor 49.

制御装置40は、CPU(Central Processing Unit)などのプロセッサ40aを含む。制御装置40は、ROM41に記憶されているプログラムを読み出してRAM42に展開し実行することで、印刷装置10の各部の動作を制御する。後述するスティッキング対策に関する一連の制御や処理についても、ROM41に記憶されているプログラムに基づいて行われる。なお、少なくとも制御装置40、ROM41、及びRAM42は、印刷装置10のコンピュータを構成している。 The control device 40 includes a processor 40a such as a CPU (Central Processing Unit). The control device 40 reads out a program stored in ROM 41, expands it into RAM 42, and executes it to control the operation of each part of the printing device 10. A series of controls and processes related to anti-sticking measures, which will be described later, are also performed based on the program stored in ROM 41. At least the control device 40, ROM 41, and RAM 42 constitute the computer of the printing device 10.

ROM41は、テープ20に印刷を行う印刷プログラム、印刷プログラムの実行に必要な各種データ(例えば、フォント、通電テーブルなど)を記憶する。RAM42は、印刷内容のパターン(画像)を示す印刷データを記憶する印刷データ記憶部42a(図5参照)を含む。 The ROM 41 stores a printing program for printing on the tape 20 and various data required to execute the printing program (e.g., fonts, power supply tables, etc.). The RAM 42 includes a print data storage unit 42a (see FIG. 5) that stores print data indicating the pattern (image) of the print content.

表示装置駆動回路43は、表示装置13を駆動するディスプレイドライバを備えている。RAM42に記憶された印刷データに基づく印刷内容や、印刷処理の進捗状況などが、表示装置駆動回路43の制御下で表示装置13に表示される。 The display device drive circuit 43 includes a display driver that drives the display device 13. The print contents based on the print data stored in the RAM 42, the progress of the print process, and the like are displayed on the display device 13 under the control of the display device drive circuit 43.

ヘッド駆動回路44は、制御装置40から供給された制御信号であるストローブ信号と印刷データと対策データとに基づいてサーマルヘッド30を駆動するヘッド駆動部である。ヘッド駆動回路44は、複数の発熱素子30aへの通電又は非通電を行う。 The head drive circuit 44 is a head drive unit that drives the thermal head 30 based on a strobe signal, which is a control signal supplied from the control device 40, print data, and countermeasure data. The head drive circuit 44 turns on or off electricity to the multiple heating elements 30a.

サーマルヘッド30は、主走査方向(図6参照)に配列された複数の発熱素子30aを有する印刷ヘッドである。主走査方向は、テープ20の幅方向でもある。ヘッド駆動回路44が、制御装置40から供給されたストローブ信号の通電制御期間中に、印刷データ又は対策データに応じて、サーマルヘッド30の複数の発熱素子30aに電圧を選択的に印加することで、印刷データや対策データで指定された箇所の発熱素子30aが発熱する。 The thermal head 30 is a print head having multiple heating elements 30a arranged in the main scanning direction (see FIG. 6). The main scanning direction is also the width direction of the tape 20. During the energization control period of the strobe signal supplied from the control device 40, the head drive circuit 44 selectively applies voltage to the multiple heating elements 30a of the thermal head 30 in accordance with the print data or countermeasure data, causing the heating elements 30a in the locations specified by the print data or countermeasure data to generate heat.

テープ20は、主走査方向に対して垂直な副走査方向(図6参照)に長手方向を向けて、副走査方向への移動によりサーマルヘッド30の位置まで搬送される。そして、テープ20を副走査方向に搬送しながらサーマルヘッド30の各発熱素子30aの発熱を制御することで、サーマルヘッド30は、テープ20に対して、複数の発熱素子30aに対応した複数のドットからなるドット群ごとに印刷を行う。つまり、副走査方向へのサーマルヘッド30とテープ20の相対位置の変化と、サーマルヘッド30の各発熱素子30aの発熱制御とによって、テープ20には、複数のドット群が順次印刷される。 The tape 20 is transported to the position of the thermal head 30 by moving in the sub-scanning direction, with its length oriented in the sub-scanning direction (see FIG. 6) perpendicular to the main scanning direction. Then, by controlling the heat generation of each heating element 30a of the thermal head 30 while transporting the tape 20 in the sub-scanning direction, the thermal head 30 prints on the tape 20 dot groups each consisting of a plurality of dots corresponding to the plurality of heating elements 30a. In other words, by changing the relative positions of the thermal head 30 and the tape 20 in the sub-scanning direction and controlling the heat generation of each heating element 30a of the thermal head 30, a plurality of dot groups are printed sequentially on the tape 20.

搬送用モータ駆動回路45はステッピングモータ46を駆動し、ステッピングモータ46はプラテンローラ32を回転させる。プラテンローラ32は、ステッピングモータ46の動力によって回転し、テープ20を長手方向(副走査方向)に搬送する。ステッピングモータ46に入力するパルス数をカウントすることで、テープ20の搬送量に関する情報を得ることができる。 The transport motor drive circuit 45 drives the stepping motor 46, which rotates the platen roller 32. The platen roller 32 rotates by the power of the stepping motor 46 and transports the tape 20 in the longitudinal direction (sub-scanning direction). By counting the number of pulses input to the stepping motor 46, information regarding the transport amount of the tape 20 can be obtained.

カッターモータ駆動回路47は、カッターモータ48を駆動する。フルカッター36とハーフカッター37は、カッターモータ48の動力によって動作して、テープ20をフルカット又はハーフカットする。 The cutter motor drive circuit 47 drives the cutter motor 48. The full cutter 36 and the half cutter 37 are operated by the power of the cutter motor 48 to make a full cut or half cut of the tape 20.

温度センサ49は、印刷装置10の周囲の温度を環境温度として測定する環境温度測定部である。 The temperature sensor 49 is an environmental temperature measurement unit that measures the temperature around the printing device 10 as the environmental temperature.

印刷装置10で印刷を行う際に、サーマルヘッド30において高温状態から低温状態への急激な温度変化(温度低下)が生じると、サーマルヘッド30がテープ20に貼り付く現象であるスティッキングが生じる可能性がある。サーマルヘッド30におけるこのような急激な温度低下は、印字率の高い(発熱させる発熱素子30aの数が多い)ドット群から印字率の低い(発熱させる発熱素子30aの数が少ない)ドット群に急に切り替わる印刷内容である場合に生じやすい。すなわち、副走査方向で隣接又は近接する関係のドット群間で印字率が急減するような境界部分を印刷するときに、スティッキングが生じやすい。 When printing with the printing device 10, if a sudden temperature change (temperature drop) occurs in the thermal head 30 from a high temperature state to a low temperature state, sticking, a phenomenon in which the thermal head 30 sticks to the tape 20, may occur. Such a sudden drop in temperature in the thermal head 30 is likely to occur when the print content suddenly switches from a dot group with a high print rate (a large number of heating elements 30a that generate heat) to a dot group with a low print rate (a small number of heating elements 30a that generate heat). In other words, sticking is likely to occur when printing a boundary part where the print rate suddenly decreases between adjacent or nearby dot groups in the sub-scanning direction.

また、印刷装置10は、サーマルヘッド30の各発熱素子30aに対応する印字領域(ドット)ごとに3階調以上の異なる濃度で印字する多階調印刷に対応している。各印字領域での印字濃度が高いほど、発熱素子30aへの通電量が増えてサーマルヘッド30の温度が高くなりやすいので、ドット群における印字率に加えて、各ドットの印字濃度もスティッキングの発生に関係する。具体的には、印字濃度の高いドット群から印字濃度の低いドット群に急に切り替わる印刷内容である場合に、スティッキングが生じやすい。 The printing device 10 also supports multi-tone printing, which prints at three or more different densities for each printing area (dot) corresponding to each heating element 30a of the thermal head 30. The higher the printing density in each printing area, the more electricity is supplied to the heating elements 30a, and the higher the temperature of the thermal head 30 tends to become. Therefore, in addition to the printing rate in the dot group, the printing density of each dot also relates to the occurrence of sticking. Specifically, sticking is likely to occur when the printing content suddenly switches from a dot group with a high printing density to a dot group with a low printing density.

印刷装置10では、サーマルヘッド30の発熱素子30aへの通電制御によって、スティッキングの発生を抑制する。具体的には、各ドット群に対応する1ドット周期内に、テープ20に印刷を行うための第1の通電制御期間と、テープ20に印刷を行うことなくサーマルヘッド30の温度変化を調整するための第2の通電制御期間と、を設定し、第1の通電制御期間と第2の通電制御期間での発熱素子30aへの通電及び非通電を制御する。 In the printing device 10, the occurrence of sticking is suppressed by controlling the energization of the heating elements 30a of the thermal head 30. Specifically, within one dot period corresponding to each dot group, a first energization control period for printing on the tape 20 and a second energization control period for adjusting the temperature change of the thermal head 30 without printing on the tape 20 are set, and energization and de-energization of the heating elements 30a are controlled during the first energization control period and the second energization control period.

図4は、多階調印刷に対応した、サーマルヘッド30の各発熱素子30aの1ドット周期Tの通電制御の例を示す図である。第1の通電制御期間TAには、複数回の通電時間P1-P7が含まれる。各通電時間P1-P7におけるONが通電、OFFが非通電を意味する。通電回数は印字の階調に対応しており、全ての通電時間P1-P7で通電する場合に最大階調の濃度になる。通電回数が少なくなるにつれて印字の濃度が薄く(階調が低く)なり、最小の通電回数のみで通電する場合に、最も薄い濃度での印字になる。また、全ての通電時間P1-P7で非通電の場合には、印字を行わない非印字領域(白ドット)になる。つまり、図4の通電制御は、非印字から最大階調まで8段階の階調表現が可能なサーマルヘッド30において、最大階調(最も高い濃度)で印字する場合を例示している。 Figure 4 is a diagram showing an example of energization control of one dot period T of each heating element 30a of the thermal head 30 corresponding to multi-tone printing. The first energization control period TA includes multiple energization times P1-P7. ON during each energization time P1-P7 means energization, and OFF means no energization. The number of energizations corresponds to the printing gradation, and the maximum gradation density is achieved when energization is performed during all energization times P1-P7. As the number of energizations decreases, the printing density becomes lighter (the gradation becomes lower), and when energization is performed only the minimum number of times, printing is performed at the lightest density. Also, when no energization is performed during all energization times P1-P7, a non-printing area (white dots) where no printing is performed is created. In other words, the energization control in Figure 4 illustrates a case where printing is performed at the maximum gradation (highest density) in a thermal head 30 capable of eight levels of gradation expression from no printing to the maximum gradation.

第2の通電制御期間TBは、テープ20に印刷を行うことなくサーマルヘッド30の温度変化を調整するための期間であり、第1の通電制御期間TAよりも後に離間した期間として設定されている。第1の通電制御期間TAにおいて非通電である場合や通電時間が短い(通電回数が少ない)場合に、第2の通電制御期間TB中の通電時間P8で発熱素子30aに通電(ON)することによって、発熱素子30aの温度低下を抑制する作用が得られる。このように、印刷装置10は、第2の通電制御期間TBでのサーマルヘッド30への電圧の印加を利用してスティッキングの発生を抑制するものであり、その詳細を以下に説明する。 The second current control period TB is a period for adjusting the temperature change of the thermal head 30 without printing on the tape 20, and is set as a period spaced later than the first current control period TA. When no current is applied during the first current control period TA or when the current application time is short (the number of times current is applied is small), the heating element 30a is energized (ON) during the current application time P8 during the second current control period TB, thereby suppressing the temperature drop of the heating element 30a. In this way, the printing device 10 suppresses the occurrence of sticking by utilizing the application of voltage to the thermal head 30 during the second current control period TB, and the details of this are described below.

図5は、スティッキングの発生抑制に関する印刷装置10の機能的構造を示したブロック図である。図5では主に、印刷装置10に含まれる制御装置40の機能的構造を示している。制御装置40は、判定部50、データ生成部60、ヘッド制御部70を備えている。なお、制御装置40では、図5に示す各機能ブロックに対応する個々の電子部品や回路を必ずしも備えるわけではなく、所定の電子部品や回路が複数の機能ブロックの役割を有する場合や、複数の電子部品や回路の協働によって1つの機能ブロックとして成立する場合もある。 Figure 5 is a block diagram showing the functional structure of the printing device 10 with respect to preventing the occurrence of sticking. Figure 5 mainly shows the functional structure of the control device 40 included in the printing device 10. The control device 40 has a determination unit 50, a data generation unit 60, and a head control unit 70. Note that the control device 40 does not necessarily have individual electronic components and circuits corresponding to each functional block shown in Figure 5, and a specific electronic component or circuit may have the role of multiple functional blocks, or multiple electronic components and circuits may work together to form a single functional block.

判定部50は、サーマルヘッド30により印刷する複数のドット群のそれぞれに対応する、複数のドット群データを含む印刷データに基づいて、第1ドット群よりも後続である(第1ドット群から所定回数後のドット周期である)第2ドット群を、スティッキングが発生する可能性が高いドット群(以降、スティッキング発生推定ドット群と記す)であるか否か判定する。スティッキングが発生する可能性が高いドット群とは、サーマルヘッド30の温度が急激に低下する可能性があるドット群である。判定部50が使用する印刷データは、RAM42の印刷データ記憶部42aから読み出される。本実施形態では、第1ドット群と第2ドット群が連続する2つのドット群である場合を例として説明し、第1ドット群を第(n-1)ドット群、第2ドット群を第nドット群(nは2以上の整数)として表す。 Based on print data including multiple dot group data corresponding to each of the multiple dot groups printed by the thermal head 30, the determination unit 50 determines whether the second dot group that follows the first dot group (is a dot period a predetermined number of times after the first dot group) is a dot group that is likely to cause sticking (hereinafter referred to as a sticking occurrence estimated dot group). A dot group that is likely to cause sticking is a dot group that may cause a sudden drop in temperature of the thermal head 30. The print data used by the determination unit 50 is read from the print data storage unit 42a of the RAM 42. In this embodiment, a case where the first dot group and the second dot group are two consecutive dot groups will be described as an example, and the first dot group will be represented as the (n-1)th dot group and the second dot group as the nth dot group (n is an integer of 2 or more).

判定部50は、先行ドット群判定部51と比較部52とを備えている。先行ドット群判定部51は、第nドット群の1つ前の第(n-1)ドット群におけるドット群データが所定の条件に合致するかを判定する。比較部52は、第(n-1)ドット群のドット群データと第nドット群のドット群データとを比較して、この2つのドット群の関係が所定の条件に合致するかを判定する。そして、先行ドット群判定部51と比較部52の両方で所定の条件に合致すると判定された場合に、判定部50は、第nドット群がスティッキング発生推定ドット群であると判定する。 The judgment unit 50 includes a preceding dot group judgment unit 51 and a comparison unit 52. The preceding dot group judgment unit 51 judges whether the dot group data of the (n-1)th dot group immediately preceding the nth dot group meets a predetermined condition. The comparison unit 52 compares the dot group data of the (n-1)th dot group with the dot group data of the nth dot group to judge whether the relationship between these two dot groups meets a predetermined condition. Then, when both the preceding dot group judgment unit 51 and the comparison unit 52 judge that the predetermined condition is met, the judgment unit 50 judges that the nth dot group is an estimated dot group where sticking will occur.

より詳細には、先行ドット群判定部51は、第(n-1)ドット群において、第1濃度以上の印字領域の割合が、第1の閾値以上であるか否かを判定する。例えば、印字の複数の階調(例えば、図4の通電制御で実現される8段階の階調)のうち最も濃度が高い最大階調を第1濃度に設定することが望ましい。また、テープ20の幅方向(主走査方向)の印字領域全体に対する3分の2を第1の閾値として設定することが望ましい。つまり、テープ20の幅方向の印字領域(1つのドット群を構成する全ドット数)のうち、最大階調の印字領域(最大階調で印字されるドット数)が3分の2以上である場合に、先行ドット群判定部51は、第(n-1)ドット群のドット群データがスティッキング発生の第1条件に合致すると判定する。テープ20の幅方向の印字領域については、ドット群データの他に、テープ幅検出スイッチ35で検出されるテープ幅の情報を参照してもよい。 More specifically, the preceding dot group determination unit 51 determines whether the proportion of the printing area with a first density or higher in the (n-1)th dot group is equal to or higher than the first threshold value. For example, it is desirable to set the highest density of the multiple printing gradations (for example, the eight gradations realized by the current control in FIG. 4) as the first density. It is also desirable to set two-thirds of the entire printing area in the width direction (main scanning direction) of the tape 20 as the first threshold value. In other words, when the printing area with the maximum gradation (the number of dots printed with the maximum gradation) is two-thirds or more of the printing area in the width direction of the tape 20 (the total number of dots constituting one dot group), the preceding dot group determination unit 51 determines that the dot group data of the (n-1)th dot group meets the first condition for the occurrence of sticking. For the printing area in the width direction of the tape 20, in addition to the dot group data, information on the tape width detected by the tape width detection switch 35 may be referenced.

先行ドット群判定部51で判定する第1条件は、第(n-1)ドット群を印刷する際にサーマルヘッド30の温度がどの程度まで高くなるかに関するものである。第1条件を満たす場合、第(n-1)ドット群において高い階調での印字率が高いため、サーマルヘッド30の温度が高くなると推定される。 The first condition determined by the preceding dot group determination unit 51 is related to how high the temperature of the thermal head 30 will become when printing the (n-1)th dot group. If the first condition is met, it is estimated that the temperature of the thermal head 30 will become high because the printing rate at high gradations is high in the (n-1)th dot group.

比較部52は、第(n-1)ドット群の第1濃度以上の印字領域と、第nドット群で第1濃度よりも低い第2濃度を超える印字領域との比が、第2の閾値以上であるか否かを判定する。例えば、第2濃度の印字領域を非印字領域(白ドット)に設定することが望ましい。また、第2の閾値を1.5倍に設定することが望ましい。つまり、第(n-1)ドット群の最大階調の印字領域(最大階調で印字されるドット数)が、第nドット群で非印字領域以外の印字領域(最小階調から最大階調までのいずれかの濃度で印字されるドット数)と比べて、1.5倍以上である場合に、比較部52は、第(n-1)ドット群のドット群データと第nドット群のドット群データの関係がスティッキング発生の第2条件に合致すると判定する。 The comparison unit 52 determines whether the ratio of the print area of the (n-1)th dot group having a first density or more to the print area of the nth dot group having a second density or more that is lower than the first density is equal to or greater than a second threshold value. For example, it is preferable to set the print area of the second density to a non-print area (white dots). It is also preferable to set the second threshold value to 1.5 times. In other words, when the print area of the maximum gradation of the (n-1)th dot group (the number of dots printed at the maximum gradation) is 1.5 times or more compared to the print area other than the non-print area of the nth dot group (the number of dots printed at any density from the minimum gradation to the maximum gradation), the comparison unit 52 determines that the relationship between the dot group data of the (n-1)th dot group and the dot group data of the nth dot group meets the second condition for the occurrence of sticking.

比較部52で判定する第2条件は、第(n-1)ドット群の印刷から第nドット群の印刷に移行する際に、サーマルヘッド30の温度がどの程度低下するかに関するものである。第2条件を満たす場合、第(n-1)ドット群において印字率と階調を掛け合わせた印字レベルが、第nドット群において印字率と階調を掛け合わせた印字レベルを大きく上回っており、サーマルヘッド30の温度低下が著しくなると推定される。 The second condition determined by the comparison unit 52 relates to the extent to which the temperature of the thermal head 30 drops when transitioning from printing the (n-1)th dot group to printing the nth dot group. If the second condition is met, the printing level obtained by multiplying the printing rate and gradation in the (n-1)th dot group is significantly higher than the printing level obtained by multiplying the printing rate and gradation in the nth dot group, and it is estimated that the temperature drop of the thermal head 30 will be significant.

第1条件と第2条件の両方を満たす場合には、第(n-1)ドット群の印刷から第nドット群の印刷に移行する際に、サーマルヘッド30の温度が高い状態から急激に低下し、スティッキングが発生しやすいと推定される。従って、先行ドット群判定部51及び比較部52で第1条件及び第2条件に合致すると判定された場合に、判定部50は、第nドット群がスティッキング発生推定ドット群であると判定する。 If both the first and second conditions are met, it is estimated that when switching from printing the (n-1)th dot group to printing the nth dot group, the temperature of the thermal head 30 drops rapidly from a high state, making it easy for sticking to occur. Therefore, when the preceding dot group determination unit 51 and the comparison unit 52 determine that the first and second conditions are met, the determination unit 50 determines that the nth dot group is a dot group estimated to cause sticking.

このように、互いに隣接して印刷される2つのドット群のそれぞれに対応する2つのドット群データに基づいて判定することで、互いに隣接して印刷される2つのドット群間で生じる急激な温度変化を予想し、スティッキング発生推定ドット群を決定することができる。特に、各ドット群の印字率だけではなく、印字領域の階調情報を含めて判定することによって、サーマルヘッド30の温度変化を高い精度で推定することができ、スティッキング対策の実施を必要最小限にする効果が得られる。 In this way, by making a judgment based on two dot group data corresponding to two dot groups printed adjacent to each other, it is possible to predict the sudden temperature change that will occur between two dot groups printed adjacent to each other and determine the dot group where sticking is likely to occur. In particular, by making a judgment based not only on the printing rate of each dot group but also on the gradation information of the printing area, it is possible to estimate the temperature change of the thermal head 30 with high accuracy, and it is possible to achieve the effect of minimizing the implementation of sticking countermeasures.

なお、本実施形態では、第1濃度の印字領域を最大階調の印字領域とし、第2濃度の印字領域を非印字領域とし、第(n-1)ドット群と第nドット群との間で最も急激な温度低下が発生しやすい階調の違いを基準として判定するようにしているが、第1濃度や第2濃度を複数階調のうちの中間階調の濃度として設定することも可能である。つまり、少なくとも第1濃度よりも第2濃度の方が低い印字濃度(階調)であるという関係を満たしていればよい。 In this embodiment, the first density print area is the maximum gradation print area, and the second density print area is the non-print area, and the difference in gradation at which the most rapid temperature drop is likely to occur between the (n-1)th dot group and the nth dot group is used as the criterion for judgment. However, it is also possible to set the first density and the second density as intermediate gradation densities among multiple gradations. In other words, it is sufficient to satisfy at least the relationship that the second density is a lower print density (gradation) than the first density.

また、比較部52で判定する第(n-1)ドット群と第nドット群との比較において、階調の絶対値(指定の印字濃度)ではなく、階調差に基づいて比較判断を行ってもよい。すなわち、第(n-1)ドット群と第nドット群との間において、所定以上の階調差のあるドット数がいくつあるかという基準で、スティッキング発生の第2条件を設定してもよい。一例として、0(非印字)から7(最大階調)までの8段階の階調の印刷において、第(n-1)ドット群よりも第nドット群の方がm階調以上(mは7以下の整数)低いドットの数がp個(pは任意の整数)以上有る場合に、比較部52は、スティッキング発生の第2条件に合致すると判定する。 In addition, in the comparison between the (n-1)th dot group and the nth dot group by the comparison unit 52, the comparison judgment may be made based on the gradation difference rather than the absolute value of the gradation (specified print density). In other words, the second condition for the occurrence of sticking may be set based on the number of dots with a gradation difference of a predetermined level or more between the (n-1)th dot group and the nth dot group. As an example, in printing with eight gradations from 0 (non-printing) to 7 (maximum gradation), if the number of dots in the nth dot group that is m gradations or more (m is an integer equal to or less than 7) is p (p is any integer), the comparison unit 52 judges that the second condition for the occurrence of sticking is met.

また、判定部50での上記判定における第1の閾値(本実施形態では3分の2)や第2の閾値(本実施形態では1.5倍)は、一例であり、異なる値であってもよい。例えば、これらの値は、温度センサ49で測定された環境温度に基づいて変更されてよい。一般的に、環境温度が低いほど、発熱素子の発熱時と非発熱時の温度差が大きくなりやすく、スティッキングが発生しやすいことから、環境温度に基づいて設定変更する場合には、環境温度が低いほど、第1の閾値や第2の閾値を下げることが望ましい。 The first threshold value (two-thirds in this embodiment) and the second threshold value (1.5 times in this embodiment) in the above judgment by the judgment unit 50 are merely examples and may be different values. For example, these values may be changed based on the environmental temperature measured by the temperature sensor 49. In general, the lower the environmental temperature, the greater the temperature difference between when the heating element is generating heat and when it is not generating heat, and sticking is more likely to occur. Therefore, when changing the settings based on the environmental temperature, it is desirable to lower the first threshold value and the second threshold value the lower the environmental temperature.

判定部50は、スティッキング発生推定ドット群を特定するデータ(以降、スティッキング発生推定ドット群データと記す)をデータ生成部60へ出力する。 The determination unit 50 outputs data identifying the dot group estimated to cause sticking (hereinafter referred to as sticking occurrence estimated dot group data) to the data generation unit 60.

データ生成部60は、RAM42の印刷データ記憶部42aから読み出された印刷データと、判定部50で生成されたスティッキング発生推定ドット群データと、に基づいて、第2の通電制御期間TB中における複数の発熱素子30aへの通電又は非通電を指定する対策データを生成する。 The data generating unit 60 generates countermeasure data that specifies whether to energize or not energize the multiple heating elements 30a during the second energization control period TB based on the print data read from the print data storage unit 42a of the RAM 42 and the sticking occurrence estimated dot group data generated by the determining unit 50.

印刷装置10では、スティッキングを引き起こす可能性が高い温度低下が予想される期間において、印刷データとは別のデータである対策データに基づいて発熱素子30aを発熱させることでサーマルヘッド30の急激な温度低下を抑制し、スティッキングの発生を抑制する。データ生成部60は、印刷データに基づいて、スティッキング発生推定ドット群(第nドット群)を含むスティッキング対策対象ドット群セットにおいて、第2の通電制御期間TB中に複数の発熱素子30aの少なくとも一部へ電圧が印加されるように、対策データを生成する。 In the printing device 10, during a period when a temperature drop that is likely to cause sticking is expected, a sudden drop in temperature of the thermal head 30 is suppressed and the occurrence of sticking is suppressed by causing the heating elements 30a to heat up based on countermeasure data, which is data separate from the print data. The data generating unit 60 generates countermeasure data based on the print data so that a voltage is applied to at least some of the heating elements 30a during the second current control period TB in the sticking countermeasure target dot group set that includes the sticking occurrence estimated dot group (nth dot group).

データ生成部60は、ドット群数設定部61を備えている。ドット群数設定部61は、対策データにより第2の通電制御期間TB中に発熱素子30aに電圧が印加される対策対象ドット群セットに含まれるドット群の数を設定する。より具体的には、ドット群数設定部61は、印刷データに基づいて、少なくともスティッキング発生推定ドット群(第nドット群)をスティッキング対策対象ドット群セットに設定する。より望ましくは、ドット群数設定部61は、印刷データに基づいて、スティッキング発生推定ドット群(第nドット群)と、スティッキング発生推定ドット群から連続して印刷される所定数(少なくとも一つ)の後続ドット群と、を対策対象ドット群セットに設定する。 The data generating unit 60 includes a dot group number setting unit 61. The dot group number setting unit 61 sets the number of dot groups included in the countermeasure target dot group set to which a voltage is applied to the heating element 30a during the second current control period TB according to the countermeasure data. More specifically, the dot group number setting unit 61 sets at least the sticking occurrence estimated dot group (nth dot group) to the sticking countermeasure target dot group set based on the print data. More preferably, the dot group number setting unit 61 sets the sticking occurrence estimated dot group (nth dot group) and a predetermined number (at least one) of subsequent dot groups printed consecutively from the sticking occurrence estimated dot group to the countermeasure target dot group set based on the print data.

ドット群数設定部61は、温度センサ49で検出した環境温度に基づいて、スティッキング対策対象ドット群セットに含まれるドット群の数を設定してもよい。一般に環境温度が低いほどスティッキングが発生しやすいことから、環境温度に基づいて設定する場合には、環境温度が低いほどスティッキング対策対象ドット群セットに含まれるドット群の数を増やして、環境温度の低下に起因する急激な温度低下を抑制することが望ましい。これにより、印刷装置10が置かれた環境によらずスティッキングの発生を抑制することができる。一方、環境温度が比較的高い環境ではスティッキングは発生し難くなる。そのため、環境温度が予め設定された閾値(例えば、40℃など)よりも高い場合には、スティッキング発生推定ドット群(第nドット群)のみをスティッキング対策対象ドット群セットにしてもよい。 The dot group number setting unit 61 may set the number of dot groups included in the sticking prevention target dot group set based on the environmental temperature detected by the temperature sensor 49. Generally, the lower the environmental temperature, the more likely sticking is to occur. Therefore, when setting based on the environmental temperature, it is desirable to increase the number of dot groups included in the sticking prevention target dot group set as the environmental temperature decreases, thereby suppressing a sudden drop in temperature caused by a drop in the environmental temperature. This makes it possible to suppress the occurrence of sticking regardless of the environment in which the printing device 10 is placed. On the other hand, sticking is less likely to occur in an environment where the environmental temperature is relatively high. Therefore, when the environmental temperature is higher than a preset threshold value (e.g., 40°C), only the sticking occurrence estimated dot group (nth dot group) may be set as the sticking prevention target dot group set.

また、ドット群数設定部61は、印刷データに基づいて、スティッキング対策対象ドット群セットに含まれるドット群の数を設定してもよい。例えば、スティッキング発生推定ドット群(第nドット群)に続く後続ドット群において、第1の通電制御期間TAに十分な数の発熱素子30aに電圧が印加される場合には、スティッキング発生推定ドット群(第nドット群)に続くドット群では温度低下が生じず、第2の通電制御期間TBにおける通電制御は省略可能と判断できる。従って、ドット群数設定部61は、印刷データに基づいて、スティッキング発生推定ドット群(第nドット群)以降に、印字率が低い低印字率ドット群がいくつ連続して並んでいるかを算出し、算出した低印字率ドット群の連続数に基づいて、スティッキング対策対象ドット群セットに含めるドット群の数を設定してもよい。 The dot group number setting unit 61 may also set the number of dot groups included in the sticking prevention target dot group set based on the print data. For example, in the subsequent dot group following the sticking occurrence estimated dot group (nth dot group), if a voltage is applied to a sufficient number of heating elements 30a during the first current control period TA, it can be determined that the temperature does not decrease in the dot group following the sticking occurrence estimated dot group (nth dot group), and current control during the second current control period TB can be omitted. Therefore, the dot group number setting unit 61 may calculate how many consecutive low print rate dot groups with low print rates are lined up after the sticking occurrence estimated dot group (nth dot group) based on the print data, and set the number of dot groups to be included in the sticking prevention target dot group set based on the calculated number of consecutive low print rate dot groups.

データ生成部60は、さらにパターン設定部62を備えている。パターン設定部62は、スティッキング対策対象ドット群セットに含まれる各ドット群の対策データの各々のパターンを設定する。 The data generation unit 60 further includes a pattern setting unit 62. The pattern setting unit 62 sets the pattern of each of the countermeasure data for each dot group included in the sticking countermeasure target dot group set.

図6は、スティッキング発生推定ドット群の判定方法と、対策データのパターン設定方法について説明するための図である。図6は、サーマルヘッド30の個々の発熱素子30aに対応する印字領域である各ドットQ1-Q8を、最大階調(濃)、中間階調(淡)、非印字(白)の3階調で印字可能な場合を例としている。本通電データとは、印刷データの一部であり、第1の通電制御期間TA中に印刷が行われるドット群に形成すべき印刷パターンを示す印刷データである。図6では、本通電データにおいて、最大階調の濃度に対応して発熱素子30aを発熱させる場合を黒丸で示し、中間階調の濃度に対応して発熱素子30aを発熱させる場合をグレーの丸で示し、発熱素子30aを発熱させずに非印字にする場合を白丸で示している。また、第2の通電制御期間TBでの通電に関する対策データにおいて、発熱素子30aに通電する場合を斜線付きの丸で示し、発熱素子30aに通電しない場合を破線の白丸で示している。 Figure 6 is a diagram for explaining a method for determining a dot group estimated to have a sticking occurrence and a method for setting a pattern of countermeasure data. Figure 6 shows an example in which each dot Q1-Q8, which is a printing area corresponding to each heating element 30a of the thermal head 30, can be printed in three gradations: maximum gradation (dark), intermediate gradation (light), and non-printing (white). The main energization data is a part of the print data, and is print data that indicates the print pattern to be formed in the dot group where printing is performed during the first energization control period TA. In Figure 6, in the main energization data, a black circle indicates a case in which the heating element 30a is heated corresponding to the maximum gradation density, a gray circle indicates a case in which the heating element 30a is heated corresponding to the intermediate gradation density, and a white circle indicates a case in which the heating element 30a is not heated and non-printing is performed. Additionally, in the countermeasure data regarding energization during the second energization control period TB, cases in which energization is applied to the heating element 30a are indicated by shaded circles, and cases in which energization is not applied to the heating element 30a are indicated by dashed white circles.

判定部50は、第2ドット群である第nドット群について、スティッキング発生推定ドット群に該当するか否かを判定する。例えば、先行ドット群判定部51でのスティッキング発生の上記第1条件を、「第(n-1)ドット群における最大階調のドット数が、テープ20の幅方向の全ドット数の3分の2以上であること」に設定する。また、比較部52でのスティッキング発生の上記第2条件を、「第(n-1)ドット群の最大階調のドット数が、第nドット群の非印字ドット以外のドット数の1.5倍以上であること」に設定する。 The determination unit 50 determines whether the nth dot group, which is the second dot group, is a dot group estimated to cause sticking. For example, the first condition for the occurrence of sticking in the preceding dot group determination unit 51 is set to "the number of dots with the maximum tone in the (n-1)th dot group is more than two-thirds of the total number of dots in the width direction of the tape 20." In addition, the second condition for the occurrence of sticking in the comparison unit 52 is set to "the number of dots with the maximum tone in the (n-1)th dot group is more than 1.5 times the number of dots other than non-printed dots in the nth dot group."

図6の例では、第1ドット群である第(n-1)ドット群の本通電データにおいて、最大階調のドット数が6であり、テープ20の幅方向の全ドット数が8であるため、第1条件を満たす。また、第(n-1)ドット群の本通電データにおいて最大階調のドット数が6であり、第nドット群の本通電データにおいて非印字ドット以外のドット数が2であるため、第2条件を満たす。従って、判定部50は、第nドット群がスティッキング発生推定ドット群であると判定する。そして、第nドット群を対象としたスティッキング発生推定ドット群データが判定部50からデータ生成部60に送られる。 In the example of FIG. 6, the number of dots at the maximum tone in the main energization data for the (n-1)th dot group, which is the first dot group, is 6, and the total number of dots in the width direction of the tape 20 is 8, so the first condition is met. Also, the number of dots at the maximum tone in the main energization data for the (n-1)th dot group is 6, and the number of dots other than non-printed dots in the main energization data for the nth dot group is 2, so the second condition is met. Therefore, the determination unit 50 determines that the nth dot group is an estimated dot group where sticking will occur. Then, the sticking occurrence estimated dot group data for the nth dot group is sent from the determination unit 50 to the data generation unit 60.

なお、図6は、第(n-1)ドット群、第nドット群、第(n+1)ドット群、第(n+2)ドット群の位置が、副走査方向で異なっていることを模式的に示している。各ドット群用の本通電データと対策データは、副走査方向において同じ印刷領域に対するデータであり、図6においては、便宜上、各ドット群用の本通電データと対策データを分けて示している。 Note that Figure 6 shows that the positions of the (n-1)th dot group, the nth dot group, the (n+1)th dot group, and the (n+2)th dot group are different in the sub-scanning direction. The main energization data and countermeasure data for each dot group are data for the same printing area in the sub-scanning direction, and for convenience, the main energization data and countermeasure data for each dot group are shown separately in Figure 6.

データ生成部60のドット群数設定部61は、スティッキング発生推定ドット群であると判定された第nドット群と、第nドット群の後に連続する2つの後続ドット群である第(n+1)ドット群及び第(n+2)ドット群とを、スティッキング対策対象ドット群セットに設定する。 The dot group number setting unit 61 of the data generation unit 60 sets the nth dot group determined to be a dot group estimated to cause sticking, and the (n+1)th dot group and the (n+2)th dot group, which are the two subsequent dot groups following the nth dot group, as a dot group set to be targeted for sticking prevention.

パターン設定部62は、注目する印字領域(発熱素子30a)について、第(n-1)ドット群での本通電データが最大階調に対応しており、且つ、スティッキング対策対象ドット群セットの各ドット群(n、n+1、n+2)での本通電データが非印字(非通電)である場合に、第2の通電制御期間TBで通電を行うように対策データを生成する。すなわち、複数の発熱素子30aのうち、第(n-1)ドット群で第1濃度以上であり、且つスティッキング対策対象ドット群セットの各ドット群で第2濃度以下である印字領域に対応する発熱素子30aを、第2の通電制御期間TBで通電させるように対策データを生成する。 The pattern setting unit 62 generates countermeasure data for the print area (heating element 30a) of interest such that when the main energization data in the (n-1)th dot group corresponds to the maximum gradation and the main energization data in each dot group (n, n+1, n+2) of the dot group set targeted for sticking countermeasures is non-printing (non-energized) for the second energization control period TB. In other words, countermeasure data is generated so that, among the multiple heating elements 30a, the heating elements 30a corresponding to the print area that have a first density or more in the (n-1)th dot group and a second density or less in each dot group of the dot group set targeted for sticking countermeasures are energized for the second energization control period TB.

例えば、ドットQ1については、第(n-1)ドット群とスティッキング対策対象ドット群セットの各ドット群(n、n+1、n+2)はいずれも、本通電データが最大階調に対応するものである。従って、スティッキング対策対象ドット群セット(n、n+1、n+2)での発熱素子30aの急激な温度低下が発生しないので、パターン設定部62は、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)において、ドットQ1を第2の通電制御期間TBでの通電の対象に含めない。 For example, for dot Q1, the current application data corresponds to the maximum gradation in both the (n-1) dot group and each of the dot groups (n, n+1, n+2) in the sticking prevention target dot group set. Therefore, since a sudden drop in temperature of the heating element 30a does not occur in the sticking prevention target dot group set (n, n+1, n+2), the pattern setting unit 62 does not include dot Q1 in the targets for current application during the second current application control period TB in all dot groups (n, n+1, n+2) in the sticking prevention target dot group set.

ドットQ2については、第(n-1)ドット群及び第(n+1)ドット群で、本通電データが最大階調に対応し、第nドット群及び第(n+2)ドット群で、本通電データが中間階調に対応している。すなわち、ドットQ2は、最大階調で印字した次のドット群が非印字になることが無く、発熱素子30aにおける急激な温度低下が発生しないと推定されるため、パターン設定部62は、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)において、ドットQ2を第2の通電制御期間TBでの通電の対象に含めない。 For dot Q2, the main energization data corresponds to the maximum gradation in the (n-1)th dot group and the (n+1)th dot group, and corresponds to an intermediate gradation in the nth dot group and the (n+2)th dot group. In other words, since it is estimated that the dot group next to dot Q2 printed at the maximum gradation will not be unprinted and a sudden drop in temperature will not occur in the heating element 30a, the pattern setting unit 62 does not include dot Q2 as a target for energization during the second energization control period TB in all dot groups (n, n+1, n+2) in the sticking countermeasure target dot group set.

ドットQ3及びドットQ4については、第(n-1)ドット群において本通電データが最大階調に対応し、第nドット群及び第(n+1)ドット群で本通電データが非印字(非通電)である。第(n-1)ドット群と第nドット群との階調差が大きく、発熱素子30aで急激な温度低下が発生しやすいと推定されるため、パターン設定部62は、第nドット群と第(n+1)ドット群について、ドットQ3及びドットQ4を第2の通電制御期間TBでの通電の対象に含める。 For dots Q3 and Q4, the main energization data corresponds to the maximum gradation in the (n-1)th dot group, and the main energization data corresponds to non-printing (non-energized) in the nth dot group and the (n+1)th dot group. Since it is estimated that the gradation difference between the (n-1)th dot group and the nth dot group is large and a sudden drop in temperature is likely to occur in the heating element 30a, the pattern setting unit 62 includes dots Q3 and Q4 as targets for energization during the second energization control period TB for the nth dot group and the (n+1)th dot group.

また、第(n+2)ドット群では、ドットQ3及びドットQ4の本通電データが中間階調に対応する。中間階調の印字用に発熱素子30aを発熱させてスティッキングの発生可能性が低減するので、パターン設定部62は、第(n+2)ドット群について、ドットQ3及びドットQ4を第2の通電制御期間TBでの通電の対象に含めない。 In addition, in the (n+2)th dot group, the main energization data for dots Q3 and Q4 corresponds to a halftone. Since the possibility of sticking is reduced by heating the heating element 30a for printing halftones, the pattern setting unit 62 does not include dots Q3 and Q4 in the energization targets for the second energization control period TB for the (n+2)th dot group.

ドットQ5及びドットQ6については、第(n-1)ドット群における本通電データが最大階調に対応し、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)における本通電データが非印字(非通電)である。そのため、発熱素子30aの急激な温度低下が発生しやすい条件であり、パターン設定部62は、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)において、ドットQ5及びドットQ6を第2の通電制御期間TBでの通電の対象に含める。 For dots Q5 and Q6, the main energization data in the (n-1)th dot group corresponds to the maximum gradation, and the main energization data in all dot groups (n, n+1, n+2) in the dot group set that is the target of sticking prevention measures is non-printing (non-energized). Therefore, this is a condition that is likely to cause a sudden drop in temperature of the heating element 30a, and the pattern setting unit 62 includes dots Q5 and Q6 in all dot groups (n, n+1, n+2) in the dot group set that is the target of sticking prevention measures as targets for energization during the second energization control period TB.

ドットQ7については、第(n-1)ドット群における本通電データが中間階調に対応するものであり、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)における第1の通電制御期間TAでの本通電データが非印字(非通電)である。ドットQ7は、非印字の第nドット群の1つ前の第(n-1)ドット群が中間階調での印字であり、第(n-1)ドット群の印字の際に発熱素子30aがあまり高温にならず、その後の急激な温度低下が発生しないと推定される。そのため、パターン設定部62は、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)において、ドットQ7を第2の通電制御期間TBでの通電の対象に含めない。 For dot Q7, the main energization data in the (n-1) dot group corresponds to a middle gradation, and the main energization data in the first energization control period TA in all dot groups (n, n+1, n+2) in the sticking countermeasure target dot group set is non-printed (non-energized). For dot Q7, the (n-1) dot group immediately preceding the non-printed n dot group is printed in a middle gradation, and it is estimated that the heating element 30a does not become very hot when printing the (n-1) dot group, and there is no sudden drop in temperature thereafter. Therefore, the pattern setting unit 62 does not include dot Q7 in the targets for energization in the second energization control period TB in all dot groups (n, n+1, n+2) in the sticking countermeasure target dot group set.

ドットQ8については、第(n-1)ドット群とスティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)における本通電データが非印字(非通電)である。そのため、発熱素子30aの急激な温度低下は発生せず、パターン設定部62は、スティッキング対策対象ドット群セットの全てのドット群(n、n+1、n+2)において、ドットQ8を第2の通電制御期間TBでの通電の対象に含めない。 For dot Q8, the main energization data is non-printing (non-energized) in the (n-1) dot group and all dot groups (n, n+1, n+2) in the sticking prevention target dot group set. Therefore, no sudden temperature drop occurs in the heating element 30a, and the pattern setting unit 62 does not include dot Q8 in the targets for energization during the second energization control period TB in all dot groups (n, n+1, n+2) in the sticking prevention target dot group set.

以上のようにして、パターン設定部62によって各ドット群での対策データが生成される。パターン設定部62による対策データのパターン設定をまとめると、スティッキング対策対象ドット群セットの各ドット群(n、n+1、n+2)において、1つ前のドット群で最大階調で印字され且つ当該ラインで非印字である印字領域について、第2の通電制御期間TBにおいて発熱素子30aに通電を行うように対策データを生成する。 In this manner, countermeasure data for each dot group is generated by the pattern setting unit 62. To summarize the pattern setting of countermeasure data by the pattern setting unit 62, for each dot group (n, n+1, n+2) in the sticking countermeasure target dot group set, countermeasure data is generated so that current is applied to the heating element 30a during the second current application control period TB for the print area that is printed at maximum gradation in the previous dot group and is not printed on the line.

パターン設定部62による対策データのパターン設定を別の態様でまとめると、第nドット群において第2の通電制御期間TBで発熱素子30aに通電を行い、且つ後続ドット群において第2濃度以下である印字領域については、後続ドット群において第2の通電制御期間TBで発熱素子30aに通電を行う。具体的には、第(n+1)ドット群のドットQ3からドットQ6と、第(n+2)ドット群のドットQ5及びドットQ6が該当する。また、第nドット群において第2の通電制御期間TBで発熱素子30aに通電を行い、且つ後続ドット群において第2濃度を超える印字領域については、後続ドット群において第2の通電制御期間TBで発熱素子30aに通電を行わない。具体的には、第(n+2)ドット群のドットQ3及びドットQ4が該当する。 In another embodiment, the pattern setting of the countermeasure data by the pattern setting unit 62 is summarized as follows: in the nth dot group, the heating element 30a is energized during the second energization control period TB, and in the subsequent dot group, for the print area where the density is equal to or lower than the second density, the heating element 30a is energized during the second energization control period TB. Specifically, this applies to dots Q3 to Q6 in the (n+1)th dot group, and dots Q5 and Q6 in the (n+2)th dot group. Also, in the nth dot group, the heating element 30a is energized during the second energization control period TB, and in the subsequent dot group, for the print area where the density exceeds the second density, the heating element 30a is not energized during the second energization control period TB. Specifically, this applies to dots Q3 and Q4 in the (n+2)th dot group.

本通電データが最大階調であるドットについては、1ドット周期中に最大階調での印字が行われた後に対策データに基づく発熱素子30aの通電を行っても、既に最大階調で印字されている当該ドットの印字表現が目立って変化することがなく、印刷品質に実質的な影響を及ぼさない。これに対し、本通電データが中間階調であるドットについては、1ドット周期中に対策データに基づく発熱素子30aの通電を行うと、発熱素子30aの加熱で当該ドットが本来の印字階調よりも濃くなるなどして、印刷品質に影響が及ぶ可能性がある。 For dots whose main energization data is the maximum gradation, energizing the heating element 30a based on the countermeasure data after printing at the maximum gradation during one dot period does not noticeably change the print expression of the dot that has already been printed at the maximum gradation, and does not substantially affect print quality. In contrast, for dots whose main energization data is an intermediate gradation, energizing the heating element 30a based on the countermeasure data during one dot period may affect print quality, such as by causing the dot to become darker than the original print gradation due to heating by the heating element 30a.

本実施形態のパターン設定部62における対策データの生成では、第1の通電制御期間TAでの本通電データが中間階調に対応するドットについては、第2の通電制御期間TBで発熱素子30aを非通電にしている。その結果、第2の通電制御期間TBでのスティッキング対策用の発熱素子30aの通電が印刷品質に影響を及ぼすことを防ぎ、多階調印刷におけるスティッキング対策と印刷品質の高さとを両立させることができる。 In generating countermeasure data in the pattern setting unit 62 of this embodiment, for dots for which the main energization data in the first energization control period TA corresponds to an intermediate gradation, the heating element 30a is de-energized in the second energization control period TB. As a result, energization of the heating element 30a for sticking countermeasures in the second energization control period TB is prevented from affecting print quality, and it is possible to achieve both sticking countermeasures and high print quality in multi-tone printing.

なお、図6の例では、第(n-1)ドット群には第2の通電制御期間TBでの通電を行っていないが、ドット群数設定部61は、第(n-1)ドット群をスティッキング対策対象ドット群セットに含めてもよく、パターン設定部62は、第(n-1)ドット群用の対策データを生成してもよい。 In the example of FIG. 6, the (n-1)th dot group is not energized during the second energization control period TB, but the dot group number setting unit 61 may include the (n-1)th dot group in the sticking countermeasure target dot group set, and the pattern setting unit 62 may generate countermeasure data for the (n-1)th dot group.

例えば、図6のドットQ3、ドットQ4、ドットQ5及びドットQ6については、第(n-1)ドット群で本通電データによる第1の通電制御期間TAでの発熱素子30aの通電を行った後に、第nドット群で対策データによる第2の通電制御期間TBでの発熱素子30aの通電を行うまでに、1ドット周期以上の期間が空くことになる。そこで、第(n-1)ドット群において、対策データによる第2の通電制御期間TBでの発熱素子30aの通電を行うことにより、第(n-1)ドット群と第nドット群との間での発熱素子30aの急激な温度低下を抑制しやすくなる。 For example, for dots Q3, Q4, Q5, and Q6 in FIG. 6, after energizing the heating element 30a in the (n-1)th dot group during the first energization control period TA using the present energization data, a period of one dot period or more is allowed to elapse before energizing the heating element 30a in the nth dot group during the second energization control period TB using the countermeasure data. Therefore, by energizing the heating element 30a in the (n-1)th dot group during the second energization control period TB using the countermeasure data, it becomes easier to suppress a sudden drop in temperature of the heating element 30a between the (n-1)th dot group and the nth dot group.

データ生成部60は、以上のようにして生成された対策データを、ヘッド制御部70へ出力する。 The data generation unit 60 outputs the countermeasures data generated in the above manner to the head control unit 70.

ヘッド制御部70は、第1の通電制御期間TAと第2の通電制御期間TBの通電及び非通電を指定する制御信号であるストローブ信号を生成し、ヘッド駆動回路44へ出力する。ヘッド制御部70は、より詳細には、ROM41に記憶された通電テーブルから読み出した通電時間データとサーミスタ31で測定したヘッド温度とに基づいて、第1の通電制御期間TAの通電時間(例えば、図4の通電時間P1-P7のそれぞれ)と第2の通電制御期間TBの通電時間(例えば、図4の通電時間P8)を算出する。そして、通電時間に応じたストローブ信号(制御信号)と、印刷データと、データ生成部60で生成された対策データと、をヘッド駆動回路44へ出力する。 The head control unit 70 generates a strobe signal, which is a control signal that specifies the energization and non-energization of the first energization control period TA and the second energization control period TB, and outputs it to the head drive circuit 44. More specifically, the head control unit 70 calculates the energization time of the first energization control period TA (e.g., each of the energization times P1-P7 in FIG. 4) and the energization time of the second energization control period TB (e.g., the energization time P8 in FIG. 4) based on the energization time data read from the energization table stored in the ROM 41 and the head temperature measured by the thermistor 31. Then, the head control unit 70 outputs a strobe signal (control signal) corresponding to the energization time, the print data, and the countermeasure data generated by the data generation unit 60 to the head drive circuit 44.

以上のように構成及び制御される印刷装置10によれば、対策データに基づいて第2の通電制御期間TBにおける複数の発熱素子30aへの通電を制御することで、サーマルヘッド30の急激な温度低下を抑制することができる。従って、簡単な制御でスティッキングの発生を抑制することができ、スティッキングに起因する印刷品質の低下を回避することができる。 The printing device 10 configured and controlled as described above can suppress a sudden drop in temperature of the thermal head 30 by controlling the power supply to the multiple heating elements 30a during the second power supply control period TB based on the countermeasure data. Therefore, the occurrence of sticking can be suppressed with simple control, and a decrease in print quality due to sticking can be avoided.

特に、判定部50で、上記の第1条件及び第2条件に基づいてスティッキング発生推定ドット群を判定することによって、スティッキングが発生する状況を高精度に切り分けることが可能になっている。その結果、スティッキング発生対策(第2の通電制御期間TBでの発熱素子30aへの通電)の実施を必要最小限に抑えることができる。スティッキング発生対策の実施を必要最小限にすることで、電力消費を抑制する効果が得られる。 In particular, by having the determination unit 50 determine the dot group estimated to be a sticking occurrence location based on the above first and second conditions, it is possible to isolate the situations in which sticking occurs with high precision. As a result, the implementation of measures to prevent sticking (energizing the heating element 30a during the second current control period TB) can be kept to a minimum. By keeping the implementation of measures to prevent sticking to a minimum, the effect of suppressing power consumption can be obtained.

また、従来の制御方法では、スティッキング発生対策が不要な状況でも、第2の通電制御期間TBにおいて発熱素子への通電が実行されてしまう場合があった。第2の通電制御期間TBでの発熱素子への通電は、印刷を行うことなくサーマルヘッドを温度調整するためのものであるが、発熱素子に加熱を行うことで印刷品質に影響が及ぶ可能性があるため、不要なスティッキング発生対策はできるだけ実施しないことが望ましい。特に、3階調以上の多階調で印刷可能な印刷装置では、中間階調での印字に続いてスティッキング発生対策用の通電を行うと、本来の印刷データよりも印字の濃度が高くなってしまうおそれがある。 Furthermore, in conventional control methods, there were cases where current was applied to the heating elements during the second current control period TB even in situations where measures to prevent sticking were not necessary. The current applied to the heating elements during the second current control period TB is intended to adjust the temperature of the thermal head without printing, but since heating the heating elements can affect print quality, it is desirable to avoid unnecessary measures to prevent sticking as much as possible. In particular, in printing devices capable of printing in multiple gradations of three or more, if current is applied to prevent sticking following printing in intermediate gradations, the print density may become higher than the original print data.

本実施形態の印刷装置10では、判定部50での判定に基づいてスティッキング発生対策の実施を必要最小限にすると共に、データ生成部60(パターン設定部62)によって、階調表現に影響が生じない設定(本通電データが中間階調での印字の場合に、スティッキング対策用の通電は行わない)で対策データを生成している。これにより、スティッキング発生対策が階調表現に影響を及ぼすことを防いで、優れた印刷品質を実現できる。 In the printing device 10 of this embodiment, the implementation of measures to prevent sticking is minimized based on the judgment of the judgment unit 50, and the data generation unit 60 (pattern setting unit 62) generates countermeasure data with settings that do not affect the gradation expression (when the main current data is printed in intermediate gradations, no current is applied for sticking countermeasures). This prevents the sticking countermeasures from affecting the gradation expression, achieving excellent print quality.

図7は、印刷装置10におけるスティッキング対策処理のフローチャートである。図8は、スティッキング対策処理に含まれるスティッキング発生推定ドット群の判定処理のフローチャートである。図7及び図8を参照して、印刷装置10が行うスティッキング対策の流れについて説明する。 Figure 7 is a flowchart of the anti-sticking process in the printing device 10. Figure 8 is a flowchart of the process of determining the dot group estimated to cause sticking, which is included in the anti-sticking process. The flow of the anti-sticking process performed by the printing device 10 will be described with reference to Figures 7 and 8.

印刷装置10の制御装置40は、印刷データが入力されると、図7に示すスティッキング対策処理を開始する。まず、スティッキング発生推定ドット群の判定処理(ステップS100)が実行される。 When print data is input, the control device 40 of the printing device 10 starts the anti-sticking process shown in FIG. 7. First, a process for determining the dot group estimated to be at risk of sticking (step S100) is executed.

スティッキング発生推定ドット群の判定処理は、図8に示すサブルーチンで実行される。判定部50は、印刷データの各ドット群のドット群データに含まれる、8ドット連続した印刷ドットを示すデータ“0xff”をカウントし、1つのドット群のドット数(0xff数)を取得する(ステップS200)。 The process of determining the dot groups where sticking is suspected is executed in the subroutine shown in FIG. 8. The determination unit 50 counts the data "0xff" indicating eight consecutive print dots contained in the dot group data of each dot group in the print data, and obtains the number of dots in one dot group (the number of 0xff) (step S200).

続いて、判定部50の先行ドット群判定部51は、第nドット群の1つ前の第(n-1)ドット群における第1濃度以上のドット数の割合が、第1の閾値以上であるかを判定する(ステップS201)。例えば、第(n-1)ドット群における最大階調のドット数と、第(n-1)ドット群の全ドット数とを比較して、前者のドット数が後者のドット数の3分の2(第1の閾値)以上であるか否かを判定する。 Then, the preceding dot group determination unit 51 of the determination unit 50 determines whether the ratio of the number of dots with a first density or higher in the (n-1)th dot group immediately preceding the nth dot group is equal to or higher than a first threshold value (step S201). For example, it compares the number of dots with the maximum tone in the (n-1)th dot group with the total number of dots in the (n-1)th dot group to determine whether the number of dots in the former is equal to or higher than two-thirds of the number of dots in the latter (first threshold value).

ステップS201での判定結果がYES(第1の閾値以上)である場合、判定部50の比較部52は、第(n-1)ドット群の第1濃度以上の印字領域と、第nドット群で第1濃度よりも低い第2濃度を超える印字領域との比が、第2の閾値以上であるか否かを判定する(ステップS202)。例えば、第(n-1)ドット群における最大階調のドット数と、第nドット群における非印字ドット以外のドット数とを比較して、前者のドット数が後者のドット数の1.5倍(第2の閾値)以上であるか否かを判定する。 If the result of the determination in step S201 is YES (first threshold or more), the comparison unit 52 of the determination unit 50 determines whether the ratio of the printed area of the (n-1)th dot group having a first density or more to the printed area of the nth dot group having a second density or more that is lower than the first density is a second threshold or more (step S202). For example, the number of dots of the maximum tone in the (n-1)th dot group is compared with the number of dots other than non-printed dots in the nth dot group to determine whether the number of dots of the former is 1.5 times the number of dots of the latter (second threshold) or more.

ステップS202での判定結果がYES(第2の閾値以上)である場合、判定部50は、第nドット群がスティッキング発生推定ドット群であるというフラグをセットする(ステップS203)。 If the result of the determination in step S202 is YES (greater than or equal to the second threshold), the determination unit 50 sets a flag indicating that the nth dot group is a dot group estimated to cause sticking (step S203).

続いて、制御装置40は、第nドット群が印刷データの最終ドット群であるか否かを判定する(ステップS204)。 Next, the control device 40 determines whether the nth dot group is the final dot group of the print data (step S204).

ステップS202及びステップS203での判定結果がNOである場合は、ステップS203のフラグセットを経ずに、ステップS204に直接進む。つまり、これらの場合は、第nドット群がスティッキング発生推定ドット群ではない、という判定結果になる。 If the determination results in steps S202 and S203 are NO, the process proceeds directly to step S204 without going through the flag setting in step S203. In other words, in these cases, the determination result is that the nth dot group is not a dot group estimated to cause sticking.

ステップS204での判定結果がNO(最終ドット群ではない)の場合は、制御装置40は、nの数を1つ増やすドット群の更新処理を行い(ステップS205)、ステップS200に戻る。 If the determination result in step S204 is NO (not the final dot group), the control device 40 performs a dot group update process to increase the number n by 1 (step S205) and returns to step S200.

ステップS204での判定結果がYES(最終ドット群である)の場合は、制御装置40は、図8のサブルーチンから抜けて図7のステップS100を完了する。ステップS100の完了段階で、印刷データの先頭ドット群以外の各ドット群について、スティッキング発生推定ドット群であるか否かが判別された状態にある。 If the result of the determination in step S204 is YES (it is the final dot group), the control device 40 exits from the subroutine in FIG. 8 and completes step S100 in FIG. 7. At the completion stage of step S100, it has been determined whether each dot group other than the first dot group of the print data is a dot group estimated to cause sticking.

続いて、制御装置40は、第nドット群の本通電データを展開し(ステップS101)、本通電データを展開した当該第nドット群におけるスティッキング発生推定ドット群のフラグの有無を判定する(ステップS102)。 Next, the control device 40 expands the main energization data for the nth dot group (step S101), and determines whether or not a flag is set for the dot group estimated to have caused sticking in the nth dot group into which the main energization data has been expanded (step S102).

ステップS102での判定結果がYES(第nドット群がスティッキング発生推定ドット群である)の場合、データ生成部60は、ステップS101で展開した本通電データに基づいて、第nドット群を含むスティッキング対策対象ドット群セットについて対策データを生成する(ステップS103)。 If the determination result in step S102 is YES (the nth dot group is a dot group estimated to have caused sticking), the data generation unit 60 generates countermeasure data for the sticking countermeasure target dot group set including the nth dot group based on the main current data expanded in step S101 (step S103).

ステップS103では、ドット群数設定部61によって、スティッキング対策対象ドット群セットに含まれるドット群の数を設定する。また、パターン設定部62によって、スティッキング対策対象ドット群セットの各ドット群の対策データを作成する。具体的には、パターン設定部62は、1つ前のドット群で最大階調で印字され且つ当該ドット群で非印字であるドットについて、第2の通電制御期間TBにおいて発熱素子30aに通電を行うように対策データを生成する。 In step S103, the dot group number setting unit 61 sets the number of dot groups included in the sticking countermeasure target dot group set. In addition, the pattern setting unit 62 creates countermeasure data for each dot group in the sticking countermeasure target dot group set. Specifically, the pattern setting unit 62 generates countermeasure data so that for dots that are printed at maximum gradation in the previous dot group and are not printed in the current dot group, current is applied to the heating element 30a during the second current application control period TB.

ステップS102での判定結果がNO(第nドット群がスティッキング発生推定ドット群ではない)の場合、第nドット群について新たな対策データの作成は行わず、既存の対策データを適用する(ステップS104)。つまり、第nドット群が、それよりも前のドット群に関するスティッキング対策対象ドット群セットに含まれる場合には、既に作成されている第nライン用の対策データをそのまま適用して、本通電データと組み合わせて、第nドット群の最終的なドット群データとして確定する。また、第nドット群が、それよりも前のドット群に関するスティッキング対策対象ドット群セットに含まれない場合には、第nドット群に関する対策データは存在しない(言い換えれば、第2の通電制御期間TBでいずれの発熱素子30aにも通電しないという対策データになっている)ので、本通電データを第nドット群の最終的なドット群データとして確定する。 If the result of the determination in step S102 is NO (the nth dot group is not a dot group estimated to cause sticking), no new countermeasure data is created for the nth dot group, and the existing countermeasure data is applied (step S104). In other words, if the nth dot group is included in the dot group set that is the target of sticking countermeasures for the dot group prior to that, the countermeasure data for the nth line that has already been created is applied as is, and combined with the current energization data, it is determined as the final dot group data for the nth dot group. Also, if the nth dot group is not included in the dot group set that is the target of sticking countermeasures for the dot group prior to that, there is no countermeasure data for the nth dot group (in other words, the countermeasure data is that no current is applied to any of the heating elements 30a during the second energization control period TB), so the current energization data is determined as the final dot group data for the nth dot group.

ステップS103又はステップS104に続いて、制御装置40は、第nドット群が印刷データの最終ドット群であるか否かを判定する(ステップS105)。 Following step S103 or step S104, the control device 40 determines whether the nth dot group is the final dot group of the print data (step S105).

ステップS105での判定結果がNO(最終ドット群ではない)の場合は、nの数を1つ増やすドット群の更新処理を行い(ステップS106)、ステップS101に戻る。 If the result of the determination in step S105 is NO (not the final dot group), a dot group update process is performed to increase the number of n by 1 (step S106), and the process returns to step S101.

ステップS105での判定結果がYES(最終ドット群である)の場合は、図7の処理を完了する。図7の処理が完了した段階で、印刷データの各ドット群について、対策データを含むドット群データが確定された状態にある。 If the result of the determination in step S105 is YES (this is the final dot group), the process in FIG. 7 is completed. When the process in FIG. 7 is completed, the dot group data including the countermeasure data has been finalized for each dot group in the print data.

以上のフローチャートに沿った処理を行うことによって、スティッキング発生対策の実施を必要最小限にして、スティッキング発生対策による印刷品質への影響を抑制することができる。また、スティッキング発生対策に要する電力消費を抑えることができる。 By performing the process according to the above flowchart, it is possible to minimize the implementation of measures to prevent sticking and suppress the impact of such measures on print quality. It is also possible to reduce the power consumption required for measures to prevent sticking.

上記実施形態の印刷装置10は、3以上の多階調の印刷が可能であるが、本発明は2階調で印刷するタイプの印刷装置にも適用が可能である。 The printing device 10 of the above embodiment is capable of printing in three or more tones, but the present invention can also be applied to printing devices that print in two tones.

図9を参照して、2階調で印刷する別形態の印刷装置における、スティッキング発生推定ドット群の判定方法と、対策データのパターン設定方法について説明する。この別形態の印刷装置は、上記実施形態の印刷装置10と同様の構成を備えており、各部の構成については詳細な説明を省略して、印刷装置10の構成と同じ符号で表現する。 Referring to Figure 9, we will explain a method for determining dot groups estimated to cause sticking and a method for setting patterns of countermeasure data in a different type of printing device that prints in two tones. This different type of printing device has a similar configuration to the printing device 10 of the above embodiment, and detailed descriptions of the configuration of each part will be omitted and the same reference numerals as the configuration of the printing device 10 will be used.

図9では、本通電データにおいて、発熱素子30aを発熱させて印字する場合を黒丸で示し、発熱素子30aを発熱させずに非印字にする場合を白丸で示している。また、対策データにおいて、発熱素子30aに通電する場合を斜線付きの丸で示し、発熱素子30aに通電しない場合を破線の白丸で示している。 In Figure 9, in the power supply data, cases where the heating element 30a is heated to print are indicated by black circles, and cases where the heating element 30a is not heated to print are indicated by white circles. In addition, in the countermeasures data, cases where power is supplied to the heating element 30a are indicated by diagonally shaded circles, and cases where power is not supplied to the heating element 30a are indicated by dashed white circles.

2階調での印刷の場合、判定部50は、本通電データにおける印字有りの箇所を第1濃度の印字領域、非印字の箇所を第2濃度の印字領域として扱う。従って、判定部50は、先行ドット群判定部51でのスティッキング発生の第1条件を、「第(n-1)ドット群における印字ドット数が、テープ20の幅方向の全ドット数の3分の2以上であること」に設定する。また、比較部52でのスティッキング発生の第2条件を、「第(n-1)ドット群の印字ドット数が、第nドット群の非印字ドット以外のドット数の1.5倍以上であること」に設定する。 When printing in two gradations, the judgment unit 50 treats the printed areas in the current data as first density print areas, and the non-printed areas as second density print areas. Therefore, the judgment unit 50 sets the first condition for the occurrence of sticking in the preceding dot group judgment unit 51 to "the number of printed dots in the (n-1)th dot group is at least two-thirds of the total number of dots in the width direction of the tape 20." In addition, the judgment unit 50 sets the second condition for the occurrence of sticking in the comparison unit 52 to "the number of printed dots in the (n-1)th dot group is at least 1.5 times the number of dots other than non-printed dots in the nth dot group."

図9の例では、第(n-1)ドット群の本通電データにおいて、印字するドット数が6であり、テープ20の幅方向の全ドット数が8であるため、第1条件を満たす。また、第(n-1)ドット群の本通電データにおいて印字するドット数が6であり、第nドット群の本通電データにおいて非印字ドット以外のドット数が2であるため、第2条件を満たす。従って、判定部50は、第nドット群がスティッキング発生推定ドット群であると判定する。 In the example of FIG. 9, the number of dots to be printed in the main energization data for the (n-1)th dot group is 6, and the total number of dots in the width direction of the tape 20 is 8, so the first condition is met. In addition, the number of dots to be printed in the main energization data for the (n-1)th dot group is 6, and the number of dots other than non-printed dots in the main energization data for the nth dot group is 2, so the second condition is met. Therefore, the determination unit 50 determines that the nth dot group is a dot group estimated to be subject to sticking.

以上のようにして、判定部50によるスティッキング発生推定ドット群の判定を行うことで、スティッキング発生対策の実施を必要最小限にする効果が得られる。 In this manner, by having the determination unit 50 determine the dot group where sticking is likely to occur, it is possible to minimize the need to implement measures to prevent sticking.

データ生成部60のドット群数設定部61は、スティッキング発生推定ドット群であると判定された第nドット群と、第nドット群の後に連続する2つのドット群である第(n+1)ドット群及び第(n+2)ドット群とを、スティッキング対策対象ドット群セットに設定する。 The dot group number setting unit 61 of the data generation unit 60 sets the nth dot group determined to be a dot group estimated to cause sticking, and the (n+1)th dot group and the (n+2)th dot group, which are the two dot groups following the nth dot group, as a dot group set to be targeted for sticking prevention.

パターン設定部62は、注目する印字領域(発熱素子30a)について、第(n-1)ドット群での本通電データが印字であり、第nドット群での本通電データが非印字(非通電)である場合に、第2の通電制御期間TBで通電を行うように、第nドット群における対策データを生成する。 The pattern setting unit 62 generates countermeasure data for the nth dot group so that, for the print area (heating element 30a) of interest, when the main current flow data for the (n-1)th dot group is printing and the main current flow data for the nth dot group is non-printing (non-current flow), current is passed during the second current flow control period TB.

また、パターン設定部62は、第nドット群の後続ドット群である第(n+1)ドット群及び第(n+2)ドット群については、第nドット群の対策データと同じ対策データを適用する。 In addition, the pattern setting unit 62 applies the same countermeasure data as the countermeasure data for the nth dot group to the (n+1)th dot group and the (n+2)th dot group, which are the dot groups subsequent to the nth dot group.

第(n+2)ドット群の本通電データは、第nドット群及び第(n+1)ドット群の本通電データとは異なり、ドットQ1及びドットQ2に加えてドットQ3及びドットQ4でも印字するものとなっている。従って、第(n+2)ドット群では、ドットQ3及びドットQ4において、第1の通電制御期間TAでの本通電を行った後に、第2の通電制御期間TBでの対策用の通電を行う。2階調印刷の場合、本通電データが印字であるドットについては、同じ1ドット周期中に対策データに基づく発熱素子30aの通電を行っても、既に印字されている当該ドットの印字表現が目立って変化することがない。従って、第(n+2)ドット群の対策データを、第nドット群及び第(n+1)ドット群の対策データと同じ内容にしても、印刷品質に実質的な影響を及ぼさない。そして、スティッキング対策対象ドット群セットの各ドット群の対策データを共通化することで、対策データを生成するための処理負担を軽減できる。 The main energization data for the (n+2)th dot group is different from the main energization data for the nth dot group and the (n+1)th dot group, and is used to print dots Q3 and Q4 in addition to dots Q1 and Q2. Therefore, in the (n+2)th dot group, after the main energization is performed in the first energization control period TA for dots Q3 and Q4, countermeasure energization is performed in the second energization control period TB. In the case of two-tone printing, for dots for which the main energization data is printed, even if the heating element 30a is energized based on countermeasure data during the same one dot period, the print expression of the dot that has already been printed does not change noticeably. Therefore, even if the countermeasure data for the (n+2)th dot group is the same as the countermeasure data for the nth dot group and the (n+1)th dot group, it does not substantially affect the print quality. Furthermore, by sharing the countermeasure data for each dot group of the sticking countermeasure target dot group set, the processing load for generating countermeasure data can be reduced.

以上の実施形態は、発明の理解を容易にするために具体例を示したものであり、本発明はこの実施形態に限定されるものではなく、発明の要旨を逸脱しない範囲において、さまざまな変形、変更が可能である。 The above embodiment is a concrete example shown to facilitate understanding of the invention, and the present invention is not limited to this embodiment, and various modifications and alterations are possible without departing from the gist of the invention.

例えば、上記実施形態では、発色層を含むテープ20を被印刷媒体とする感熱方式の印刷装置10に適用しているが、テープと重ねて搬送されるインクリボンを加熱してインクリボンのインクをテープに付着させる熱転写方式の印刷装置にも適用が可能である。熱転写方式の印刷装置は、図9を参照して説明した2階調タイプの印刷装置での採用が多い。 For example, in the above embodiment, the present invention is applied to a thermal printing device 10 in which the printing medium is a tape 20 containing a color-developing layer, but the present invention can also be applied to a thermal transfer printing device in which an ink ribbon that is transported overlapping the tape is heated to cause the ink of the ink ribbon to adhere to the tape. Thermal transfer printing devices are often used in the two-tone type printing devices described with reference to FIG. 9.

上記実施形態の印刷装置10は、複数種類のテープ幅のテープ20に印刷することが可能であるが、一つの固定値のテープ幅のテープだけを印刷する印刷装置に本発明を適用することも可能である。この場合、テープ幅に対応してサーマルヘッドの発熱素子の数が一義的に決まる。そのため、判定部が行うスティッキング発生推定ドット群の判定の第2条件について、第(n-1)ドット群の第1濃度以上の印字領域と、第nドット群で第2濃度を超える印字領域との比ではなく、これらの各印字領域に対応する発熱素子の個数の差によって第2の閾値を決めることも可能である。従って、本発明において第2の閾値に関する比較結果は、上記2つのドット群の上記印字領域の比として求めてもよいし、あるいは上記2つのドット群の上記印字領域に対応する発熱素子の個数の差として求めてもよい。 The printing device 10 of the above embodiment is capable of printing on tape 20 of multiple tape widths, but the present invention can also be applied to a printing device that prints only on tape of one fixed tape width. In this case, the number of heating elements of the thermal head is uniquely determined according to the tape width. Therefore, for the second condition for the judgment of the dot group estimated to have sticking performed by the judgment unit, it is also possible to determine the second threshold value not by the ratio between the printing area of the (n-1)th dot group having a first density or higher and the printing area of the nth dot group having a second density or higher, but by the difference in the number of heating elements corresponding to each of these printing areas. Therefore, in the present invention, the comparison result regarding the second threshold value may be obtained as the ratio of the printing areas of the two dot groups, or may be obtained as the difference in the number of heating elements corresponding to the printing areas of the two dot groups.

上記実施形態では、スティッキング対策制御において、先行の第1ドット群と後続である第2ドット群とが連続する場合に基づいて説明したが、第1ドット群と第2ドット群が連続しない場合、すなわち、第2ドット群が第1ドット群から2回以上後のドット周期である場合にも、本発明は適用が可能である。例えば、第1ドット群から2回後のドット周期に第2ドット群を設定する場合には、上記実施形態の第(n-1)ドット群を第(n-2)ドット群と読み替えることで適用可能である。 In the above embodiment, the sticking prevention control has been described based on the case where the preceding first dot group and the following second dot group are consecutive, but the present invention can also be applied when the first dot group and the second dot group are not consecutive, that is, when the second dot group is two or more dot periods after the first dot group. For example, when the second dot group is set in a dot period two dot periods after the first dot group, the (n-1)th dot group in the above embodiment can be read as the (n-2)th dot group for application.

また、本発明を適用する印刷装置や印刷方式は、上記実施形態や変形例には限定されず、スティッキングが発生する可能性があるものであればよい。 The printing device and printing method to which the present invention is applied are not limited to the above-mentioned embodiment and modified examples, but may be any device in which sticking may occur.

10 :印刷装置
15 :カセット収納部
20 :テープ(被印刷媒体)
21 :テープカセット
30 :サーマルヘッド
30a :発熱素子
31 :サーミスタ
32 :プラテンローラ
40 :制御装置
40a :プロセッサ
41 :ROM
42 :RAM
44 :ヘッド駆動回路
49 :温度センサ
50 :判定部
51 :先行ドット群判定部
52 :比較部
60 :データ生成部
61 :ドット群数設定部
62 :パターン設定部
70 :ヘッド制御部
T :1ドット周期
TA :第1の通電制御期間
TB :第2の通電制御期間
10: Printing device 15: Cassette storage section 20: Tape (printing medium)
21: Tape cassette 30: Thermal head 30a: Heating element 31: Thermistor 32: Platen roller 40: Control device 40a: Processor 41: ROM
42: RAM
44: Head drive circuit 49: Temperature sensor 50: Determination section 51: Leading dot group determination section 52: Comparison section 60: Data generation section 61: Dot group number setting section 62: Pattern setting section 70: Head control section T: 1 dot period TA: First energization control period TB: Second energization control period

Claims (8)

複数の発熱素子を有し、前記複数の発熱素子に対応した複数のドットからなるドット群であって、設定された印刷データに基づいて印刷されるドット群ごとに被印刷媒体への印刷を行うサーマルヘッドと、
制御装置と、
を備え、
前記制御装置は、
第1ドット群において、所定の第1濃度以上の印字領域の割合が第1の閾値以上であること、及び、
前記第1ドット群における前記第1濃度以上の印刷濃度で印字される印字領域と、前記第1ドット群よりも時系列として後続に印刷されるドット群を示す第2ドット群における前記第1濃度よりも低い印刷濃度を示す所定の第2濃度を超える印字領域との比較結果が、第2の閾値以上であること、
を満たす場合に、少なくとも前記第2ドット群を含むドット群セットを、前記サーマルヘッドが前記被印刷媒体に貼り付く現象であるスティッキングが発生する可能性が高いスティッキング対策対象ドット群セットとして設定し、
前記被印刷媒体に印刷を行うための第1の通電制御期間とは別に、前記被印刷媒体に印刷を行うことなく前記スティッキングを防止するための第2の通電制御期間を設定し、前記スティッキング対策対象ドット群セットの各ドット群における前記第2の通電制御期間において前記複数の発熱素子の少なくとも一部に通電するための対策データに基づく前記サーマルヘッドへの通電制御を行う
ことを特徴とする印刷装置。
a thermal head having a plurality of heating elements, the thermal head printing on a print medium for each dot group that is made up of a plurality of dots corresponding to the plurality of heating elements and that is printed based on set print data ;
A control device;
Equipped with
The control device includes:
In the first dot group, the ratio of the printing area having a predetermined first density or higher is equal to or higher than a first threshold value; and
a comparison result between a print area in the first dot group that is printed at a print density equal to or higher than the first density and a print area exceeding a predetermined second density that indicates a print density lower than the first density in a second dot group that indicates a dot group that is printed chronologically subsequent to the first dot group is equal to or higher than a second threshold value;
If the above condition is satisfied, a dot group set including at least the second dot group is set as a dot group set to be subjected to sticking countermeasures in which sticking, which is a phenomenon in which the thermal head sticks to the print medium, is likely to occur ;
a second current control period for preventing the sticking without printing on the print medium, which is set separately from a first current control period for printing on the print medium, and current control of the thermal head is performed based on countermeasure data for currenting at least a part of the plurality of heating elements during the second current control period for each dot group of the sticking countermeasure target dot group set;
A printing device comprising:
前記サーマルヘッドは3以上の階調で印刷可能であり、
前記第1濃度の印字領域は最大階調の印字領域であり、前記第2濃度の印字領域は非印字領域であり、
前記制御装置は、
前記スティッキング対策対象ドット群セットの各ドット群において、1つ前のドット群で最大階調で印字され且つ当該ドット群で非印字である印字領域について、前記第2の通電制御期間において前記発熱素子に通電を行うように前記対策データを生成する、
ことを特徴とする請求項1に記載の印刷装置。
The thermal head is capable of printing in three or more gradations,
the first density printing area is a maximum gradation printing area, and the second density printing area is a non-printing area,
The control device includes:
generating the countermeasure data so as to energize the heating elements during the second energization control period for a print area in which the previous dot group is printed at the maximum gradation and the current is not printed in the current dot group in each dot group of the sticking countermeasure target dot group set;
2. The printing device according to claim 1.
前記第1の閾値は、前記第1ドット群の印字領域全体の3分の2である、ことを特徴とする請求項1又は2に記載の印刷装置。 The printing device according to claim 1 or 2, characterized in that the first threshold value is two-thirds of the entire printing area of the first dot group. 前記第2の閾値は1.5倍である、ことを特徴とする請求項1又は2に記載の印刷装置。 The printing device according to claim 1 or 2, characterized in that the second threshold is 1.5 times. 前記制御装置は、
前記複数の発熱素子のうち、前記第1ドット群で前記第1濃度以上であり、且つ前記スティッキング対策対象ドット群セットの各ドット群で前記第2濃度以下である印字領域に対応する前記発熱素子を、前記第2の通電制御期間で通電させるように前記対策データを生成する、
ことを特徴とする請求項1又は2に記載の印刷装置。
The control device includes:
generating the countermeasure data so as to energize the heating elements among the plurality of heating elements, which correspond to a print area in which the density in the first dot group is equal to or higher than the first density and the density in each dot group in the sticking countermeasure target dot group set is equal to or lower than the second density, during the second energization control period;
3. The printing apparatus according to claim 1, wherein the first and second printing units are arranged in a first direction.
前記制御装置は、
前記第2ドット群と、前記第2ドット群から連続して印刷される所定数の後続ドット群と、を前記スティッキング対策対象ドット群セットとして設定し、
前記第2ドット群において前記第2の通電制御期間で前記発熱素子に通電を行い、且つ前記後続ドット群において前記第2濃度以下である印字領域については、前記後続ドット群において前記第2の通電制御期間で前記発熱素子に通電を行い、
前記第2ドット群において前記第2の通電制御期間で前記発熱素子に通電を行い、且つ前記後続ドット群において前記第2濃度を超える印字領域については、前記後続ドット群において前記第2の通電制御期間で前記発熱素子に通電を行わないように前記対策データを生成する、
ことを特徴とする請求項1又は2に記載の印刷装置。
The control device includes:
The second dot group and a predetermined number of subsequent dot groups printed consecutively from the second dot group are set as the sticking countermeasure target dot group set;
In the second dot group, the heating elements are energized during the second energization control period, and in the subsequent dot group, for a printing area having a density equal to or lower than the second density, the heating elements are energized during the second energization control period;
generating the countermeasure data so as to energize the heating elements in the second dot group during the second energization control period, and not energize the heating elements in the subsequent dot group during the second energization control period for a printing area in the subsequent dot group that exceeds the second density;
3. The printing apparatus according to claim 1, wherein the first and second printing units are arranged in a first direction.
複数の発熱素子を有、前記複数の発熱素子に対応した複数のドットからなるドット群であって、設定された印刷データに基づいて印刷されるドット群ごとに被印刷媒体への印刷を行うサーマルヘッドを制御する印刷制御方法であって、
第1ドット群において、所定の第1濃度以上の印字領域の割合が第1の閾値以上であること、及び、
前記第1ドット群における前記第1濃度以上の印刷濃度で印字される印字領域と、前記第1ドット群よりも時系列として後続に印刷されるドット群を示す第2ドット群における前記第1濃度よりも低い印刷濃度を示す所定の第2濃度を超える印字領域との比較結果が、第2の閾値以上であること、
を満たす場合に、少なくとも前記第2ドット群を含むドット群セットを、前記サーマルヘッドが前記被印刷媒体に貼り付く現象であるスティッキングが発生する可能性が高いスティッキング対策対象ドット群セットとして設定し、
前記被印刷媒体に印刷を行うための第1の通電制御期間とは別に、前記被印刷媒体に印刷を行うことなく前記スティッキングを防止するための第2の通電制御期間を設定し、
前記スティッキング対策対象ドット群セットの各ドット群における前記第2の通電制御期間において前記複数の発熱素子の少なくとも一部に通電するための対策データに基づく前記サーマルヘッドへの通電制御を行う
ことを特徴とする印刷制御方法。
A print control method for controlling a thermal head that has a plurality of heat elements, each of which is a dot group consisting of a plurality of dots corresponding to the plurality of heat elements, and that performs printing on a print medium for each dot group printed based on set print data, comprising :
In the first dot group, the ratio of the printing area having a predetermined first density or higher is equal to or higher than a first threshold value; and
a comparison result between a print area in the first dot group that is printed at a print density equal to or higher than the first density and a print area exceeding a predetermined second density that indicates a print density lower than the first density in a second dot group that indicates a dot group that is printed chronologically subsequent to the first dot group is equal to or higher than a second threshold value;
If the above condition is satisfied, a dot group set including at least the second dot group is set as a dot group set to be subjected to sticking countermeasures in which sticking, which is a phenomenon in which the thermal head sticks to the print medium, is likely to occur ;
a second current control period for preventing the sticking without printing on the print medium is set separately from a first current control period for printing on the print medium;
performing a current control for the thermal head based on countermeasure data for currenting at least a part of the plurality of heating elements in the second current control period for each dot group of the sticking countermeasure target dot group set;
A printing control method comprising:
複数の発熱素子を有し、前記複数の発熱素子に対応した複数のドットからなるドット群であって、設定された印刷データに基づいて印刷されるドット群ごとに被印刷媒体への印刷を行うサーマルヘッドを備える印刷装置に搭載されたコンピュータに対し
第1ドット群において、所定の第1濃度以上の印字領域の割合が第1の閾値以上であること、及び、
前記第1ドット群における前記第1濃度以上の印刷濃度で印字される印字領域と、前記第1ドット群よりも時系列として後続に印刷されるドット群を示す第2ドット群における前記第1濃度よりも低い印刷濃度を示す所定の第2濃度を超える印字領域との比較結果が、第2の閾値以上であること、
を満たす場合に、少なくとも前記第2ドット群を含むドット群セットを、前記サーマルヘッドが前記被印刷媒体に貼り付く現象であるスティッキングが発生する可能性が高いスティッキング対策対象ドット群セットとして設定させ、
前記被印刷媒体に印刷を行うための第1の通電制御期間とは別に、前記被印刷媒体に印刷を行うことなく前記スティッキングを防止するための第2の通電制御期間を設定させ、
前記スティッキング対策対象ドット群セットの各ドット群における前記第2の通電制御期間において前記複数の発熱素子の少なくとも一部に通電するための対策データに基づく前記サーマルヘッドへの通電制御を行わせる
ことを特徴とするプログラム。
A computer installed in a printing device having a thermal head that has a plurality of heating elements, each of which is a dot group consisting of a plurality of dots corresponding to the plurality of heating elements, and which prints on a print medium each dot group based on set print data,
In the first dot group, the ratio of the printing area having a predetermined first density or higher is equal to or higher than a first threshold value; and
a comparison result between a print area in the first dot group that is printed at a print density equal to or higher than the first density and a print area exceeding a predetermined second density that indicates a print density lower than the first density in a second dot group that indicates a dot group that is printed chronologically subsequent to the first dot group is equal to or higher than a second threshold value;
if the above condition is satisfied, a dot group set including at least the second dot group is set as a dot group set subject to sticking countermeasures in which sticking, which is a phenomenon in which the thermal head sticks to the print medium, is likely to occur ;
a second current control period for preventing the sticking without printing on the print medium is set separately from a first current control period for printing on the print medium;
performing a current control for the thermal head based on countermeasure data for currenting at least a part of the plurality of heating elements in each dot group of the sticking countermeasure target dot group set during the second current control period;
A program characterized by:
JP2022150829A 2022-09-22 2022-09-22 Printing device, printing control method, and program Active JP7616182B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022150829A JP7616182B2 (en) 2022-09-22 2022-09-22 Printing device, printing control method, and program
CN202311154688.4A CN117734320A (en) 2022-09-22 2023-09-07 Printing apparatus, printing control method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022150829A JP7616182B2 (en) 2022-09-22 2022-09-22 Printing device, printing control method, and program

Publications (2)

Publication Number Publication Date
JP2024045820A JP2024045820A (en) 2024-04-03
JP7616182B2 true JP7616182B2 (en) 2025-01-17

Family

ID=90276411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022150829A Active JP7616182B2 (en) 2022-09-22 2022-09-22 Printing device, printing control method, and program

Country Status (2)

Country Link
JP (1) JP7616182B2 (en)
CN (1) CN117734320A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150328902A1 (en) 2012-12-17 2015-11-19 Shandong New Beiyang Information Technology Co., Ltd. Printer and control method for printer
JP2016068289A (en) 2014-09-26 2016-05-09 富士通コンポーネント株式会社 Thermal printer
JP2018144447A (en) 2017-03-09 2018-09-20 カシオ計算機株式会社 Printing apparatus, printing system, printing control method, and program
CN114261215A (en) 2021-12-22 2022-04-01 北京思普瑞特科技发展有限公司 Printing control method and system of thermal printer

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0615245B2 (en) * 1987-11-20 1994-03-02 三菱電機株式会社 Halftone recording device
JPH0577469A (en) * 1991-09-20 1993-03-30 Tokyo Electric Co Ltd Thermal printer
EP0622217B1 (en) * 1993-04-27 1997-01-02 Agfa-Gevaert N.V. Method for making an image using a direct thermal imaging element
JP3515640B2 (en) * 1994-06-08 2004-04-05 京セラ株式会社 Thermal printer and thermal printer driving method
JP2993441B2 (en) * 1996-10-08 1999-12-20 松下電器産業株式会社 Driving method of thermal line printer
SG89371A1 (en) * 2000-01-31 2002-06-18 Canon Kk Printhead, printhead driving method, and data output apparatus
JP2003019842A (en) * 2001-07-09 2003-01-21 Matsushita Electric Ind Co Ltd Thermal line printer
JP2009039937A (en) * 2007-08-08 2009-02-26 Canon Inc Printer and printing control method
WO2014109703A1 (en) * 2013-01-11 2014-07-17 Floor Iptech Ab Digital thermal binder and powder printing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150328902A1 (en) 2012-12-17 2015-11-19 Shandong New Beiyang Information Technology Co., Ltd. Printer and control method for printer
JP2016068289A (en) 2014-09-26 2016-05-09 富士通コンポーネント株式会社 Thermal printer
JP2018144447A (en) 2017-03-09 2018-09-20 カシオ計算機株式会社 Printing apparatus, printing system, printing control method, and program
CN114261215A (en) 2021-12-22 2022-04-01 北京思普瑞特科技发展有限公司 Printing control method and system of thermal printer

Also Published As

Publication number Publication date
JP2024045820A (en) 2024-04-03
CN117734320A (en) 2024-03-22

Similar Documents

Publication Publication Date Title
JP7111138B2 (en) PRINTING DEVICE, PRINT CONTROL METHOD, AND PROGRAM
JP7276396B2 (en) PRINTING DEVICE, PRINTING SYSTEM, PRINT CONTROL METHOD, AND PROGRAM
CN102233742B (en) Printing apparatus
JP7616182B2 (en) Printing device, printing control method, and program
US5682504A (en) Driving technique for printhead of thermal printer to improve print quality
JP5827479B2 (en) Thermal transfer color printer
JP7131591B2 (en) PRINTING DEVICE, PRINT CONTROL METHOD, AND PROGRAM
JP4973000B2 (en) Image forming apparatus
CN108569039B (en) Printing apparatus, printing system, printing control method, and computer-readable recording medium
JP2018047641A (en) Printer, control method and program of printer
JP6406401B2 (en) Printing apparatus, printing method, and program
JP6347267B2 (en) Printing device
JP2023046434A (en) PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM
JP7687328B2 (en) Thermal printer, energizing method and program
JP5699513B2 (en) Printing device
JP5353451B2 (en) Thermal recording device
JP3031158B2 (en) Printing device
JP2011056874A (en) Line printer and control method therefor
JP3031157B2 (en) Printing device
JP2006167967A (en) Printing device
JPH07214813A (en) Thermal printer
JP4999383B2 (en) Thermal printer, thermal printer control method
JP2005262814A (en) Thermal head apparatus
JP2014172173A (en) Printer and program
JP2007090661A (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230913

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20231011

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241016

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241216

R150 Certificate of patent or registration of utility model

Ref document number: 7616182

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150