JPH1199683A - Thermal printer - Google Patents

Thermal printer

Info

Publication number
JPH1199683A
JPH1199683A JP26433297A JP26433297A JPH1199683A JP H1199683 A JPH1199683 A JP H1199683A JP 26433297 A JP26433297 A JP 26433297A JP 26433297 A JP26433297 A JP 26433297A JP H1199683 A JPH1199683 A JP H1199683A
Authority
JP
Japan
Prior art keywords
heating element
value
thermal printer
time
reference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26433297A
Other languages
Japanese (ja)
Inventor
Kazuhisa Furuya
一寿 古屋
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP26433297A priority Critical patent/JPH1199683A/en
Publication of JPH1199683A publication Critical patent/JPH1199683A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce a time for checking cutting of a heating element. SOLUTION: An output value of a heating element is fetched to be temporarily stored in a memory as a reference value (S5) immediately after an energizing signal is applied to each heating element on a thermal print head. An output value of a heating element to which an energizing signal is continuously applied to be left for a predetermined period of time is fetched as a comparing value (S7). The comparing value is compared with the reference value temporarily stored in the memory to obtain the compared result (S8). Cutting of the heating element is checked by judging whether or not the value of the compared result exceeds a predetermined tolerance value (S9). The variation of the actual output value of the heating element is monitored by comparing the comparing value with the reference value. As a result, it is possible to obtain the adequate judgment result even when an interval time between the fetching time of the reference value and the fetching time of the comparing value is short. Consequently, it is possible to markedly reduce the time for checking the cutting.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、発熱素子がラベル
の幅方向に多数配列されたラインサーマルプリンタヘッ
ドを用いてラベルに文字やバーコード等を印字するラベ
ルプリンタ等のサーマルプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal printer such as a label printer which prints characters, bar codes, etc. on a label using a line thermal printer head in which a large number of heating elements are arranged in the width direction of the label.

【0002】[0002]

【従来の技術】従来、ウェブ状の台紙に一定間隔でラベ
ルが貼付されたラベル用紙をプラテン等の用紙搬送部に
よって搬送し、その搬送過程でラベルに所定の印字を行
なうようにしたラベルプリンタが広く普及している。こ
のようなラベルプリンタにおける印字ヘッドとしては、
バーコードの印字に適している等の理由から、サーマル
プリンタヘッドが用いられることが多い。特に、商品の
流通過程において商品やその包装等に貼付されるラベル
では、ラベルの印字内容が消費者の購買意欲を喚起する
一助となるため、その印字内容の見栄えの良さが重要視
される。このため、このようなラベルの印字発行を用途
とするラベルプリンタでは、印字ヘッドとして、例えば
ドットプリンタヘッドに比べて桁外れに優れた印字品質
を提供するサーマルプリンタヘッドへの要望が強い。
2. Description of the Related Art Heretofore, there has been known a label printer in which a label paper having a label attached to a web-shaped mount at a constant interval is transported by a paper transport unit such as a platen and a predetermined printing is performed on the label in the transport process. Widespread. As a print head in such a label printer,
Thermal printer heads are often used because they are suitable for printing bar codes. In particular, in the case of a label attached to a product or its packaging during the distribution process of the product, the printed content of the label helps to stimulate the consumer's willingness to purchase. Therefore, there is a strong demand for a label printer for printing and issuing such a label as a print head, for example, a thermal printer head which provides a printing quality that is superior to a dot printer head in extraordinary order.

【0003】一方、サーマルプリンタヘッドは、多数の
発熱素子を選択的に発熱させて印字を行なうという構造
上、各発熱素子の断線が問題となる。発熱素子の断線が
生じた場合には、その発熱素子に対応する部分にドット
抜けが生じ、サーマルプリンタヘッドの特徴である印字
品質の高さが維持できなくなってしまうため、この問題
は極めて深刻である。例えば、断線が生じた発熱素子を
用いてバーコードを印字した場合、場合によっては、ド
ット抜けによるバーコードの形状不良からこのバーコー
ドをスキャナ等で読み取ることができなくなってしま
う。そこで、従来、サーマルプリンタヘッドを用いたラ
ベルプリンタでは、例えば1バッチ処理毎に、発熱素子
の断線チェックを行なうのが一般的である。一例を挙げ
ると、100枚のラベルを印字発行する毎に1回の割合
で発熱素子の断線チェックが行なわれる。
[0003] On the other hand, the thermal printer head has a problem of disconnection of each heating element because of the structure in which printing is performed by selectively heating a large number of heating elements. When the heating element is disconnected, dots are missing at a portion corresponding to the heating element, and it becomes impossible to maintain high printing quality, which is a characteristic of the thermal printer head. This problem is extremely serious. is there. For example, when a barcode is printed using a broken heating element, in some cases, the barcode cannot be read by a scanner or the like due to a defective barcode shape due to missing dots. Therefore, conventionally, in a label printer using a thermal printer head, for example, it is common to check the disconnection of the heating element every batch processing. For example, the disconnection of the heating element is checked once every 100 labels printed and issued.

【0004】ここで、発熱素子の断線チェックは、チェ
ック対象となる発熱素子に通電し、所定時間経過後に発
熱素子の出力電圧を取り込み、これを予めメモリに記憶
した基準となる電圧値と比較することによりなされる。
つまり、従来の断線チェックは、発熱素子が断線してい
る場合には抵抗値が増大するため、これを検出して断線
の有無を判定しようという発想である。そして、各発熱
素子について次々とこのような処理を行い、全ての発熱
素子についてそのような処理が実行されることで1回の
断線チェックが終了する。
Here, the disconnection check of the heating element is performed by energizing the heating element to be checked, taking in the output voltage of the heating element after a lapse of a predetermined time, and comparing the output voltage with a reference voltage value stored in a memory in advance. This is done by:
That is, in the conventional disconnection check, the resistance value increases when the heating element is disconnected, and the idea is to detect this and determine whether there is a disconnection. Then, such processing is sequentially performed for each heating element, and such processing is performed for all heating elements, thereby completing one disconnection check.

【0005】[0005]

【発明が解決しようとする課題】従来の断線チェック方
式では、基準電圧と比較すべき発熱素子の出力電圧を取
り込むべきタイミングは、発熱素子に通電後、約5mse
c 経過した時点である。約5msec 経過する時点まで待
つ理由は、出力電圧が安定するまでにこの程度の時間が
必要なためである。したがって、正しい断線チェックを
行なうためには、1つの発熱素子について約5msec 程
度の待機時間が必要である。そこで、発熱素子の数が例
えば832個であるとすると、5(msec )×832
(個)の計算式より、約4.16sec 必要であるという
ことになる。しかも、これ以外にデータ転送時間や出力
電圧の取り込み時間等が必要であるため、実際には更に
多くの時間を必要とする。ところが、前述したように、
発熱素子の断線チェックは、例えば1バッチ、代表的に
は100枚のラベルを印字発行する毎に実行されるた
め、その都度に約4.16sec の断線チェック処理を必
要とすると、大量のラベルを発行する場合には無視でき
ないほどのロスタイムとなる。
In the conventional disconnection check method, the timing for taking in the output voltage of the heating element to be compared with the reference voltage is about 5 ms after the heating element is energized.
c is the time that has elapsed. The reason for waiting until about 5 msec elapses is that this time is required until the output voltage is stabilized. Therefore, in order to perform a correct disconnection check, a standby time of about 5 msec is required for one heating element. Therefore, assuming that the number of heating elements is, for example, 832, 5 (msec) × 832
According to the calculation formula of (number), about 4.16 sec is required. In addition, since a data transfer time, an output voltage capturing time, and the like are required in addition to the above, more time is actually required. However, as mentioned above,
The disconnection check of the heating element is executed, for example, every time one batch of labels, typically 100 labels are printed and issued. Therefore, if a disconnection check process of about 4.16 sec is required every time, a large number of labels are required. If issued, the loss time will not be ignored.

【0006】本発明の目的は、発熱素子の断線チェック
時間を短縮することができるサーマルプリンタを得るこ
とである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a thermal printer capable of shortening a time required for checking a disconnection of a heating element.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明は、
サーマルプリンタヘッドを用いて用紙に所定事項を印字
し発行するサーマルプリンタにおいて、サーマルプリン
タヘッドの各発熱素子に通電信号を付与した直後の発熱
素子の出力値を取り込み基準値としてメモリに一時記憶
する基準値設定手段と、通電信号を継続して付与した所
定時間経過後の対応する発熱素子の出力値を比較値とし
て取り込みメモリに一時記憶された基準値と比較して比
較結果を得る比較手段と、比較手段が得た比較結果の値
が所定の許容値を越えているかどうかを判定する断線判
定手段とを具備する。
According to the first aspect of the present invention,
In a thermal printer that prints and issues predetermined items on paper using a thermal printer head, a reference that captures the output value of the heating element immediately after applying an energizing signal to each heating element of the thermal printer head and temporarily stores it in a memory as a reference value. A value setting unit, and a comparison unit that obtains a comparison result by comparing an output value of a corresponding heating element after a lapse of a predetermined time period in which an energization signal is continuously applied with a reference value temporarily captured in a memory as a comparison value, Disconnection determining means for determining whether the value of the comparison result obtained by the comparing means exceeds a predetermined allowable value.

【0008】したがって、基準値と比較値とを比較する
ことにより、発熱素子の現実の出力値変化がモニタさ
れ、このような発熱素子の出力値変化に基づいて断線判
定手段による断線判定が行なわれる。この際、発熱素子
の現実の出力値変化がモニタされるため、基準値の取り
込み時と比較値の取り込み時との間の時間が短くても、
正しい判定がなされる。
Therefore, by comparing the reference value with the comparison value, the actual change in the output value of the heating element is monitored, and the disconnection determination is performed by the disconnection determining means based on the change in the output value of the heating element. . At this time, since the actual change in the output value of the heating element is monitored, even if the time between the capture of the reference value and the capture of the comparison value is short,
A correct decision is made.

【0009】請求項2記載の発明は、サーマルプリンタ
ヘッドを用いて用紙に所定事項を印字し発行するサーマ
ルプリンタにおいて、サーマルプリンタヘッドの各発熱
素子に通電信号を付与して発熱素子の出力値を取り込
み、この出力値の変動に基づいて発熱素子の断線の有無
を判定する。
According to a second aspect of the present invention, in a thermal printer for printing and issuing predetermined items on paper using a thermal printer head, an energizing signal is applied to each heating element of the thermal printer head to output an output value of the heating element. Then, the presence or absence of disconnection of the heating element is determined based on the fluctuation of the output value.

【0010】したがって、発熱素子の出力値の変動は、
発熱素子に通電信号を付与して得られた発熱素子の現実
の出力値を基準とし、この基準となる値の変化値として
得られるため、発熱素子の現実の出力値変化がモニタさ
れることになり、このような発熱素子の出力値変化に基
づいて断線判定手段による断線判定が行なわれる。この
際、発熱素子の現実の出力値変化がモニタされるため、
データ採取のための時間が短くても正しい判定がなされ
る。
Therefore, the fluctuation of the output value of the heating element is
The actual output value change of the heating element can be monitored because the actual output value change of the heating element is monitored based on the actual output value of the heating element obtained by applying the energization signal to the heating element. The disconnection determination is performed by the disconnection determination means based on such a change in the output value of the heating element. At this time, since the actual output value change of the heating element is monitored,
The correct decision is made even if the time for data collection is short.

【0011】[0011]

【発明の実施の形態】本発明の一実施の形態を図面に基
づいて説明する。本実施の形態は、ラベルプリンタへの
適用例である。このラベルプリンタは、印字ヘッドとし
てサーマルプリンタヘッド1(以下、サーマルヘッドと
略称する)を用いた感熱転写方式を採用している。機構
的には、一般的なサーマルプリンタと変わるところがな
いため、その説明は省略する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to the drawings. This embodiment is an example of application to a label printer. This label printer employs a thermal transfer method using a thermal printer head 1 (hereinafter abbreviated as a thermal head) as a print head. Since the mechanism is the same as that of a general thermal printer, the description is omitted.

【0012】図1は、各部の電気的接続を示すブロック
図である。図示しないラベル用紙を搬送するための駆動
源としてパルスモータ2が用いられ、このパルスモータ
2及びサーマルヘッド1は、バスライン3を介して接続
されたCPU4、ROM5及びRAM6(メモリ)から
なる制御部によって駆動制御される。つまり、CPU4
は、ROM5に書き込まれた動作プログラムに従い各種
演算処理を実行して各部を集中制御し、代表的にはサー
マルヘッド1及びパルスモータ2を駆動制御して図示し
ないラベルに対する印字と印字後のラベルの発行とを行
なう。より詳細には、CPU4を主体とする制御部は、
バスライン3に接続された通信I/F7を介して図示し
ない外部のコンピュータ等から印字データを受信し、受
信した印字データをRAM6における画像メモリ中の描
画領域(何れも図示せず)に展開する。この際、通信I
/F7を介して受信するのはコードデータであり、この
コードデータに基づいてバスライン3に接続されたマス
クROM8に格納されたキャラクタが呼び出され、この
キャラクタが描画領域に展開されることになる。そし
て、CPU4を主体とする制御部は、描画領域に展開さ
れた印字データに基づいてサーマルヘッドドライバ9に
印字信号を出力し、モータドライバ10に駆動信号を出
力する。このような印字信号と駆動信号との出力は、同
期的に行なわれる。これにより、パルスモータ2が駆動
されてラベル用紙が搬送されると共に、サーマルヘッド
ドライバ9がサーマルヘッド1の図示しない多数個の発
熱素子に選択的に通電し、これによってラベルに感熱方
式の印字がなされる。
FIG. 1 is a block diagram showing the electrical connection of each part. A pulse motor 2 is used as a drive source for transporting label paper (not shown). The pulse motor 2 and the thermal head 1 are a control unit including a CPU 4, a ROM 5, and a RAM 6 (memory) connected via a bus line 3. Is driven and controlled. That is, the CPU 4
Performs various arithmetic processing in accordance with an operation program written in the ROM 5 to centrally control each unit. Typically, the thermal head 1 and the pulse motor 2 are drive-controlled to print a label (not shown) and print the label after printing. Issue. More specifically, the control unit mainly composed of the CPU 4
Print data is received from an external computer or the like (not shown) via the communication I / F 7 connected to the bus line 3, and the received print data is developed in a drawing area (not shown) in the image memory in the RAM 6. . At this time, the communication I
The code data received via / F7 is the code data. Based on this code data, the character stored in the mask ROM 8 connected to the bus line 3 is called, and this character is developed in the drawing area. . Then, the control unit mainly composed of the CPU 4 outputs a print signal to the thermal head driver 9 based on the print data developed in the drawing area, and outputs a drive signal to the motor driver 10. The output of the printing signal and the driving signal is performed synchronously. As a result, the pulse motor 2 is driven to convey the label paper, and the thermal head driver 9 selectively energizes a number of heating elements (not shown) of the thermal head 1, thereby printing the label in a heat-sensitive manner. Done.

【0013】そして、このような印字動作に際し、ラベ
ル用紙の搬送経路中に配置された透過センサ11や反射
センサ12の出力信号がA/Dコンバータ構成のセンサ
回路13を介してバスライン3に取り込まれ、CPU4
に送られる。CPU4を主体とする制御部は、このよう
な透過センサ11及び反射センサ12からの出力信号に
基づいてラベル送り量の設定やジャム検出等を実行す
る。
At the time of such a printing operation, output signals of the transmission sensor 11 and the reflection sensor 12 arranged in the label paper conveyance path are taken into the bus line 3 via the sensor circuit 13 having an A / D converter. CPU4
Sent to A control unit mainly composed of the CPU 4 executes setting of a label feed amount, detection of a jam, and the like based on output signals from the transmission sensor 11 and the reflection sensor 12.

【0014】さらに、ラベルプリンタの図示しないカバ
ーが開放された場合には、ヘッドオープンスイッチ14
が作動し、そのアナログ出力がA/Dコンバータ構成の
スイッチ回路15を介してバスライン3に取り込まれ、
CPU4に送られる。これにより、サーマルヘッド1及
びパルスモータ2の駆動制御による印字動作が中断され
る。
Further, when a cover (not shown) of the label printer is opened, the head open switch 14 is opened.
Operates, and its analog output is taken into the bus line 3 via the switch circuit 15 of the A / D converter configuration,
It is sent to CPU4. Thus, the printing operation by the drive control of the thermal head 1 and the pulse motor 2 is interrupted.

【0015】ここで、サーマルヘッド1の発熱素子の断
線チェックのための処理について説明する。図2及び図
3は断線チェック処理を示すフローチャート、図4は断
線チェック時のタイミングチャート、図5は正常な発熱
素子における出力電圧の経時変化を示すグラフ、図6は
断線が生じている発熱素子における出力電圧の経時変化
を示すグラフである。
Here, a process for checking the disconnection of the heating element of the thermal head 1 will be described. 2 and 3 are flowcharts showing a disconnection check process, FIG. 4 is a timing chart at the time of a disconnection check, FIG. 5 is a graph showing a temporal change of an output voltage in a normal heating element, and FIG. 6 is a heating element having a disconnection 5 is a graph showing the change over time of the output voltage at.

【0016】まず、断線チェックのために、最初の発熱
素子に通電する。このためのCPU4を主体とする制御
部の処理として、サーマルヘッドドライバ9に対して対
応する発熱素子を駆動するためのデータ送信を行なう
(ステップS1)。送信されたデータは、サーマルヘッ
ドドライバ9に内蔵された図示しないラッチ回路にラッ
チされ(ステップS2)、イネーブル信号の送出と共に
ラッチが開放されて対応する発熱素子が駆動される(ス
テップS3)。同時に、タイマがスタートする(ステッ
プS4)。その直後、図4に示すように、割込信号又
はが入って対応する発熱素子の出力電圧が取り出さ
れ、これがサーマルヘッドドライバ9でA/D変換され
てCPU4に送られる(ステップS5;基準値設定手
段)。この処理により、基準値が得られる。そして、タ
イマが所定時間経過したら(ステップS6)、再び割込
処理又はが入って対応する発熱素子の出力電圧が取
り出され、これがサーマルヘッドドライバ9でA/D変
換されてCPU4に認識される(ステップS7)。この
処理により、比較値が得られる。ここで、基準値及び比
較値は、ステップS5及びステップS7で、RAM6の
レジスタ領域に一時記憶される。そして、続くステップ
S8では、基準値から比較値を減ずるCPU4での演算
処理が実行される(比較手段)。その演算の結果、基準
値と比較値との差が許容値である1V未満であるかどう
かが判定され(ステップS9;断線判定手段)、1Vの
許容値を越えない場合には、タイマによる計測時間が2
msec 経過した時点で(ステップS10)イネーブル信
号を終了させ(ステップS11)、全ての発熱素子につ
いて同様の処理が終了するまで(ステップS12)処理
を続行する。
First, the first heating element is energized for disconnection check. As a process of the control unit mainly constituted by the CPU 4 for this purpose, data transmission for driving the corresponding heating element is performed to the thermal head driver 9 (step S1). The transmitted data is latched by a latch circuit (not shown) incorporated in the thermal head driver 9 (step S2), and the latch is released with the transmission of the enable signal to drive the corresponding heating element (step S3). At the same time, the timer starts (step S4). Immediately thereafter, as shown in FIG. 4, an interrupt signal or an input signal is input to take out the output voltage of the corresponding heating element, which is A / D converted by the thermal head driver 9 and sent to the CPU 4 (step S5; reference value). Setting means). By this processing, a reference value is obtained. Then, when the timer elapses a predetermined time (step S6), the interrupt processing is again executed, and the output voltage of the corresponding heating element is taken out. The output voltage is A / D converted by the thermal head driver 9 and recognized by the CPU 4 ( Step S7). By this processing, a comparison value is obtained. Here, the reference value and the comparison value are temporarily stored in the register area of the RAM 6 in steps S5 and S7. Then, in the subsequent step S8, a calculation process in the CPU 4 for subtracting the comparison value from the reference value is executed (comparing means). As a result of the calculation, it is determined whether or not the difference between the reference value and the comparison value is less than the allowable value of 1 V (step S9; disconnection determining means). Time 2
When msec has elapsed (step S10), the enable signal is terminated (step S11), and the process is continued until the same process is completed for all the heating elements (step S12).

【0017】次いで、ステップS9で基準値と比較値と
の差が許容値である1V以上と判定された場合、タイマ
による計測時間が2msec 経過した時点で(ステップS
13)イネーブル信号を終了させ(ステップS14)、
再びイネーブル信号をサーマルヘッドドライバ9に送出
する(ステップS15)。これによってラッチが開放さ
れて対応する発熱素子が駆動され、同時に、タイマがス
タートする(ステップS16)。その後、タイマが所定
時間経過したら(ステップS17)、図4に示すよう
に、割込処理又はが入って対応する発熱素子の出力
電圧が取り出され、これがサーマルヘッドドライバ9で
A/D変換されてCPU4に送られる(ステップS1
8)。この処理により、比較値が再度得られる。そこ
で、再び得られた比較値をRAM6のレジスタ領域に一
時記憶されている基準値から減ずるCPU4での演算処
理が実行され(ステップS19;比較手段)、その演算
の結果、基準値と比較値との差が許容値である2V未満
であるかどうかが判定され(ステップS20;断線判定
手段)、2Vの許容値を越えない場合には、タイマによ
る計測時間が1msec 経過した時点で(ステップS2
1)イネーブル信号を終了させ(ステップS22)、ス
テップS12の処理に移行する。
Next, when it is determined in step S9 that the difference between the reference value and the comparison value is equal to or more than the allowable value of 1 V, when the time measured by the timer elapses 2 msec (step S9).
13) Terminate the enable signal (step S14)
An enable signal is sent to the thermal head driver 9 again (step S15). As a result, the latch is opened and the corresponding heating element is driven, and at the same time, the timer starts (step S16). Thereafter, when the timer elapses a predetermined time (step S17), as shown in FIG. 4, an interruption process or interruption is performed, and the output voltage of the corresponding heating element is taken out. Sent to the CPU 4 (step S1
8). By this processing, the comparison value is obtained again. Then, the CPU 4 executes an arithmetic process of subtracting the obtained comparison value from the reference value temporarily stored in the register area of the RAM 6 (step S19; comparison means), and as a result of the calculation, the reference value and the comparison value are compared. Is determined to be less than the allowable value of 2V (step S20; disconnection determining means). If the difference does not exceed the allowable value of 2V, the time measured by the timer has elapsed by 1 msec (step S2).
1) The enable signal is terminated (step S22), and the process proceeds to step S12.

【0018】次いで、ステップS20で基準値と比較値
との差が許容値である2V以上と判定された場合、タイ
マによる計測時間が1msec 経過した時点で(ステップ
S23)イネーブル信号を終了させ(ステップS2
4)、再びイネーブル信号をサーマルヘッドドライバ9
に送出する(ステップS25)。これによってラッチが
開放されて対応する発熱素子が駆動され、同時に、タイ
マがスタートする(ステップS26)。その後、タイマ
が所定時間経過したら(ステップS27)、図4に示す
ように、割込処理又はが入って対応する発熱素子の
出力電圧が取り出され、これがサーマルヘッドドライバ
9でA/D変換されてCPU4に送られる(ステップS
28)。この処理により、比較値が再度得られる。そこ
で、再び得られた比較値が1V以下であるかどうかが判
定され(ステップS29)、その判定の結果、1Vより
も大きければステップS21の処理に移行する。その一
方、比較値が1V以下である場合には、対応する発熱素
子が断線しているという情報をRAM6内に書き込み
(ステップS30)、ステップS21の処理に移行す
る。
Next, if it is determined in step S20 that the difference between the reference value and the comparison value is equal to or more than the allowable value of 2 V, the enable signal is terminated when the time measured by the timer has elapsed by 1 msec (step S23). S2
4), the enable signal is again sent to the thermal head driver 9
(Step S25). As a result, the latch is opened and the corresponding heating element is driven, and at the same time, the timer starts (step S26). Thereafter, when a predetermined time elapses (step S27), as shown in FIG. 4, an interrupt process or interruption is performed, and the output voltage of the corresponding heating element is taken out. Sent to the CPU 4 (step S
28). By this processing, the comparison value is obtained again. Therefore, it is determined whether the obtained comparison value is 1 V or less (step S29). If the determination result indicates that the comparison value is larger than 1 V, the process proceeds to step S21. On the other hand, when the comparison value is 1 V or less, information that the corresponding heating element is disconnected is written into the RAM 6 (step S30), and the process proceeds to step S21.

【0019】つまり、本実施の形態では、第一段階の処
理として、断線の有無のチェック対象である発熱素子の
出力電圧を取り込んで基準値を得(ステップS5)、そ
の後に発熱素子の出力電圧を再度取り込んで比較値を得
(ステップS7)、基準値と比較値との差が所定の許容
値内にあるかどうかを判定し(ステップS9)、これに
よって断線の有無を判定する。そして、断線の可能性が
ある場合には第二段階の処理に進み、断線の有無のチェ
ック対象である発熱素子の出力電圧を再び取り込んで比
較値を得(ステップS18)、基準値と比較値との差が
所定の許容値内にあるかどうかを判定し(ステップS2
0)、これによって断線の有無を判定する。これは、発
熱素子の結線状態が正常である場合にはその出力電圧が
経時変化に拘らず略一定であるのに対し(図5参照)、
発熱素子が断線している場合にはその出力電圧が徐々に
低下するため(図6参照)、ステップS9及びステップ
S18では、発熱素子の出力電圧の変化をモニタしてそ
の結果から断線状態の有無を判定しているわけである。
そして、第二段階の処理において断線の可能性がある場
合には、第三段階の処理に進み、発熱素子の出力電圧値
が1V以上か以下かを判定し(ステップS29)、その
結果に応じて断線の有無を見極めている。したがって、
第一段階の処理と第二段階の処理とでは、基準値と比較
値とを比較することにより、発熱素子の現実の出力値変
化がモニタされ、このような発熱素子の出力値変化に基
づいて断線判定が行なわれることになる。この際、発熱
素子の現実の出力値変化がモニタされるため、基準値の
取り込み時と比較値の取り込み時との間の時間が短くて
も、正しい判定がなされる。具体的には、本実施の形態
の場合、1つの発熱素子について断線チェックを行なう
のに必要な時間は、正常な発熱素子の場合に約3msec
以下で終了する。
That is, in the present embodiment, as the first stage processing, the output voltage of the heating element to be checked for disconnection is taken in to obtain a reference value (step S5). Is obtained again (step S7), and it is determined whether or not the difference between the reference value and the comparative value is within a predetermined allowable value (step S9), thereby determining whether there is a disconnection. If there is a possibility of disconnection, the process proceeds to the second step, in which the output voltage of the heating element to be checked for the presence or absence of disconnection is re-acquired to obtain a comparison value (step S18). Is determined to be within a predetermined tolerance (step S2).
0), thereby determining whether there is a disconnection. This is because when the connection state of the heating element is normal, its output voltage is substantially constant irrespective of aging (see FIG. 5).
If the heating element is disconnected, the output voltage of the heating element gradually decreases (see FIG. 6). Therefore, in steps S9 and S18, a change in the output voltage of the heating element is monitored, and based on the result, the presence or absence of a disconnected state is determined. Is determined.
If there is a possibility of disconnection in the second-stage processing, the process proceeds to the third-stage processing, and it is determined whether the output voltage value of the heating element is 1 V or more (step S29). To determine if there is a disconnection. Therefore,
In the first stage processing and the second stage processing, the actual output value change of the heating element is monitored by comparing the reference value and the comparison value, and based on such output value change of the heating element. The disconnection determination is performed. At this time, since the actual change in the output value of the heating element is monitored, a correct determination can be made even if the time between when the reference value is captured and when the comparison value is captured is short. Specifically, in the case of the present embodiment, the time required to perform a disconnection check for one heating element is about 3 msec for a normal heating element.
It ends with the following.

【0020】[0020]

【発明の効果】請求項1記載の発明は、サーマルプリン
タヘッドの各発熱素子に通電信号を付与した直後の発熱
素子の出力値を取り込み基準値としてメモリに一時記憶
し、通電信号を継続して付与した所定時間経過後の対応
する発熱素子の出力値を比較値として取り込みメモリに
一時記憶された基準値と比較して比較結果を得、この比
較結果の値が所定の許容値を越えているかどうかを判定
することで発熱素子の断線を判定するようにしたので、
基準値と比較値とを比較することにより、発熱素子の現
実の出力値変化をモニタすることができ、したがって、
基準値の取り込み時と比較値の取り込み時との間の時間
が短くても正しい判定結果を得ることができる。よっ
て、断線チェックに要する時間を大幅に短くすることが
できる。
According to the first aspect of the present invention, the output value of the heating element immediately after the application of the conduction signal to each heating element of the thermal printer head is taken in, temporarily stored in a memory as a reference value, and the conduction signal is continued. The output value of the corresponding heating element after the given predetermined time has elapsed is taken as a comparison value and compared with a reference value temporarily stored in a memory to obtain a comparison result, and whether the value of the comparison result exceeds a predetermined allowable value. By judging whether or not the heating element is disconnected,
By comparing the reference value and the comparison value, the actual output value change of the heating element can be monitored, and therefore,
A correct determination result can be obtained even if the time between when the reference value is captured and when the comparison value is captured is short. Therefore, the time required for the disconnection check can be greatly reduced.

【0021】請求項2記載の発明は、サーマルプリンタ
ヘッドの各発熱素子に通電信号を付与して発熱素子の出
力値を取り込み、この出力値の変動に基づいて発熱素子
の断線の有無を判定するようにしたので、発熱素子の出
力値の変動は、発熱素子に通電信号を付与して得られた
発熱素子の現実の出力値を基準とし、この基準となる値
の変化値として得るため、発熱素子の現実の出力値変化
をモニタすることができ、したがって、短時間で正しい
判定結果を得ることができる。よって、断線チェックに
要する時間を大幅に短くすることができる。
According to a second aspect of the present invention, an energization signal is applied to each of the heating elements of the thermal printer head to capture the output value of the heating element, and the presence or absence of a disconnection of the heating element is determined based on the change in the output value. Therefore, the variation of the output value of the heating element is obtained based on the actual output value of the heating element obtained by applying an energization signal to the heating element, and is obtained as a change value of the reference value. A change in the actual output value of the element can be monitored, and thus a correct determination result can be obtained in a short time. Therefore, the time required for the disconnection check can be greatly reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態として、各部の電気的接
続を示すブロック図である。
FIG. 1 is a block diagram showing an electrical connection of each unit according to an embodiment of the present invention.

【図2】断線チェック処理を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating a disconnection check process.

【図3】断線チェック処理を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating a disconnection check process.

【図4】発熱素子が断線している可能性がある場合の断
線チェック時のタイミングチャートである。
FIG. 4 is a timing chart at the time of disconnection check when there is a possibility that the heating element is disconnected.

【図5】正常な発熱素子における出力電圧の経時変化を
示すグラフである。
FIG. 5 is a graph showing a change over time of an output voltage in a normal heating element.

【図6】断線が生じている発熱素子における出力電圧の
経時変化を示すグラフである。
FIG. 6 is a graph showing a change over time of an output voltage in a heating element in which a disconnection has occurred.

【符号の説明】[Explanation of symbols]

1 サーマルプリンタヘッド(サーマルヘッ
ド) 6 メモリ S5 基準値設定手段 S8,19 比較手段 S9,20 断線判定手段
DESCRIPTION OF SYMBOLS 1 Thermal printer head (thermal head) 6 Memory S5 Reference value setting means S8, 19 Comparison means S9, 20 Disconnection determination means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 サーマルプリンタヘッドを用いて用紙に
所定事項を印字し発行するサーマルプリンタにおいて、 前記サーマルプリンタヘッドの各発熱素子に通電信号を
付与した直後の前記発熱素子の出力値を取り込み基準値
としてメモリに一時記憶する基準値設定手段と、 前記通電信号を継続して付与した所定時間経過後の対応
する前記発熱素子の出力値を比較値として取り込み前記
メモリに一時記憶された基準値と比較して比較結果を得
る比較手段と、 前記比較手段が得た比較結果の値が所定の許容値を越え
ているかどうかを判定する断線判定手段と、を具備する
ことを特徴とするサーマルプリンタ。
1. A thermal printer which prints and issues predetermined items on paper using a thermal printer head, wherein an output value of the heating element immediately after an energizing signal is applied to each heating element of the thermal printer head is taken in and a reference value is taken. A reference value setting means for temporarily storing in the memory as the reference value, and taking the output value of the corresponding heating element after a lapse of a predetermined time continuously applying the energization signal as a comparison value and comparing the output value with the reference value temporarily stored in the memory. A thermal printer, comprising: a comparison unit that obtains a comparison result by performing the operation; and a disconnection determination unit that determines whether a value of the comparison result obtained by the comparison unit exceeds a predetermined allowable value.
【請求項2】 サーマルプリンタヘッドを用いて用紙に
所定事項を印字し発行するサーマルプリンタにおいて、 前記サーマルプリンタヘッドの各発熱素子に通電信号を
付与して前記発熱素子の出力値を取り込み、この出力値
の変動に基づいて前記発熱素子の断線の有無を判定する
ことを特徴とするサーマルプリンタ。
2. A thermal printer which prints and issues predetermined items on paper using a thermal printer head, wherein an energizing signal is applied to each heating element of the thermal printer head to capture an output value of the heating element. A thermal printer, wherein the presence or absence of disconnection of the heating element is determined based on a change in the value.
JP26433297A 1997-09-29 1997-09-29 Thermal printer Pending JPH1199683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26433297A JPH1199683A (en) 1997-09-29 1997-09-29 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26433297A JPH1199683A (en) 1997-09-29 1997-09-29 Thermal printer

Publications (1)

Publication Number Publication Date
JPH1199683A true JPH1199683A (en) 1999-04-13

Family

ID=17401717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26433297A Pending JPH1199683A (en) 1997-09-29 1997-09-29 Thermal printer

Country Status (1)

Country Link
JP (1) JPH1199683A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007268918A (en) * 2006-03-31 2007-10-18 Toshiba Tec Corp Open circuit checking apparatus and open circuit checking method of line thermal head
JP2015054474A (en) * 2013-09-13 2015-03-23 サトーホールディングス株式会社 Thermal printer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007268918A (en) * 2006-03-31 2007-10-18 Toshiba Tec Corp Open circuit checking apparatus and open circuit checking method of line thermal head
JP2015054474A (en) * 2013-09-13 2015-03-23 サトーホールディングス株式会社 Thermal printer
CN105531117A (en) * 2013-09-13 2016-04-27 佐藤控股株式会社 Thermal printer
US9738091B2 (en) 2013-09-13 2017-08-22 Sato Holdings Kabushiki Kaisha Thermal printer

Similar Documents

Publication Publication Date Title
JPH1199683A (en) Thermal printer
JPH0485052A (en) Method to control drive of thermal head
JP2011068022A (en) Recording device, control method of recording device and program
JP3321987B2 (en) Printing equipment
JP2007268918A (en) Open circuit checking apparatus and open circuit checking method of line thermal head
JPS6067177A (en) Driving power controller for thermal head
JP2000185424A (en) Method for controlling history of thermal printer
JPH08310034A (en) Printer
JPH11268386A (en) Label printer
JP2003103882A (en) Printer
JPH1170721A (en) Printer device
JP2691738B2 (en) Heater circuit failure detection device for thermal head
JPS6092875A (en) Thermal printer
JP2839779B2 (en) Printing control device
JPH08249081A (en) Method and device for power saving
JPH0516401A (en) Controlling method of printing apparatus
JPS62251826A (en) Recording device
JP2953294B2 (en) Printing device
KR100224875B1 (en) Image forming device
JP2686378B2 (en) Thermal transfer printer controller
JPH01128857A (en) Label printer
JPH0322822B2 (en)
JP2859523B2 (en) Printing control method for document printing system
JPH10157232A (en) Printer
JPS6295278A (en) Recording apparatus