JP2000326539A - Printing apparatus and printing method - Google Patents

Printing apparatus and printing method

Info

Publication number
JP2000326539A
JP2000326539A JP13999199A JP13999199A JP2000326539A JP 2000326539 A JP2000326539 A JP 2000326539A JP 13999199 A JP13999199 A JP 13999199A JP 13999199 A JP13999199 A JP 13999199A JP 2000326539 A JP2000326539 A JP 2000326539A
Authority
JP
Japan
Prior art keywords
thermal head
voltage value
printing
voltage
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
JP13999199A
Other languages
Japanese (ja)
Inventor
Koichi Nakamura
浩一 中村
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.)
Sato Corp
Original Assignee
Sato 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 Sato Corp filed Critical Sato Corp
Priority to JP13999199A priority Critical patent/JP2000326539A/en
Publication of JP2000326539A publication Critical patent/JP2000326539A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To control a printing density by setting a pulse width of control pulses to meet a decrease in impressed voltage of a thermal head. SOLUTION: A value obtained by multiplying by a coefficient 0.8 a difference of an impressed voltage value of a thermal head before printing and a minimum voltage value of the impressed voltage value of the thermal head during printing is subtracted from the impressed voltage value of the thermal head before printing, thereby obtaining a threshold value. When the impressed voltage value of the thermal head during printing (detect voltage) is larger than the threshold value, a pulse width of control pulses is obtained on the basis of the threshold value. When the impressed voltage value of the thermal head during printing is the threshold value or smaller, the pulse width of control pulses is obtained on the basis of the impressed voltage value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷装置および印
刷方法に関し、特に、サーマルヘッドを用いて印字を行
う場合に、サーマルヘッドに印加する電圧を制御するこ
とにより、印字濃度のばらつきを抑える印刷装置および
印刷方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus and a printing method, and more particularly, to a printing method in which when printing is performed using a thermal head, a voltage applied to the thermal head is controlled to suppress variations in print density. The present invention relates to an apparatus and a printing method.

【0002】[0002]

【従来の技術】従来、サーマルヘッドを用いて印字を行
うラベルプリンタにおいては、サーマルヘッドの熱エネ
ルギーを均一化し、印字濃度のばらつきを抑えるため
に、ヘッドに印加された電圧の値を、所定の制御プログ
ラムに従って動作するCPU(central pro
cessing unit)が読み込み、読み込んだ電
圧値に基づいて、サーマルヘッドに与える制御パルスの
パルス幅を決定し、決定したパルス幅の制御パルスをサ
ーマルヘッドに印加する帰還制御を行っていた。
2. Description of the Related Art Conventionally, in a label printer that performs printing using a thermal head, in order to equalize the thermal energy of the thermal head and suppress variations in print density, the value of a voltage applied to the head is reduced to a predetermined value. CPU (central pro) that operates according to the control program
sensing unit), a pulse width of a control pulse applied to the thermal head is determined based on the read voltage value, and feedback control for applying a control pulse having the determined pulse width to the thermal head is performed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、サーマ
ルヘッドに供給する制御パルスと、CPUがサーマルヘ
ッドから読み込んだ印加電圧の値との間にはタイムラグ
があるため、サーマルヘッドに供給する制御パルスの制
御がずれてしまい、印字濃度が所定の濃度からずれてし
まう課題があった。
However, since there is a time lag between the control pulse supplied to the thermal head and the value of the applied voltage read from the thermal head by the CPU, the control pulse supplied to the thermal head is controlled. And the print density deviates from a predetermined density.

【0004】即ち、サーマルヘッドに印加された電圧値
をCPUが読み込むタイミングが、サーマルヘッドの印
字動作中であるため、その間、ラベルプリンタの電源に
対する負荷が大きく、電源容量に余裕の無い小型の機器
の場合、電圧低下の現象が発生する場合がある。このよ
うな機器において、印字開始後にサーマルヘッドの印加
電圧が低下しながら変化しているときにCPUが読み込
んだ電圧値は、印加電圧が最低値にまで低下したときに
CPUが読み込んだ電圧値よりも高くなる。
That is, since the timing at which the CPU reads the voltage value applied to the thermal head is during the printing operation of the thermal head, a large load is imposed on the power supply of the label printer and the power supply capacity is small during the printing operation. In this case, a voltage drop phenomenon may occur. In such a device, the voltage value read by the CPU when the applied voltage of the thermal head is changing after the start of printing while decreasing is lower than the voltage value read by the CPU when the applied voltage is reduced to the minimum value. Will also be higher.

【0005】従って、電圧が低下しながら変化している
間にCPUがサーマルヘッドから読み込んだ電圧値に基
づいて、サーマルヘッドに供給する制御パルスを帰還制
御すると、印字濃度が所定の濃度からずれてしまう場合
がある。
Accordingly, when the CPU performs feedback control of the control pulse supplied to the thermal head based on the voltage value read from the thermal head while the voltage is changing while decreasing, the print density deviates from the predetermined density. In some cases.

【0006】本発明はこのような状況に鑑みてなされた
ものであり、印字開始後に印加電圧が低下しても、サー
マルヘッドに供給する制御パルスのパルス幅を効果的に
制御することができるようにするものである。
The present invention has been made in view of such a situation, and it is possible to effectively control the pulse width of the control pulse supplied to the thermal head even if the applied voltage decreases after the start of printing. It is to be.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の印刷装
置は、サーマルヘッドを用いて印字を行う印刷装置にお
いて、サーマルヘッドに制御パルスを供給するパルス供
給手段と、サーマルヘッドが印字を行う前に、サーマル
ヘッドに印加されている電圧値を検出する第1の検出手
段と、サーマルヘッドが印字を行っている最中に、サー
マルヘッドに印加されている電圧値を検出する第2の検
出手段と、第1の検出手段によって検出された電圧値
と、第2の検出手段によって検出された電圧値を記憶す
る記憶手段と、記憶手段に記憶されている、第1の検出
手段によって検出された電圧値と、第2の検出手段によ
って検出された電圧値の最低値とに基づいて、所定の基
準電圧値を演算する演算手段と、第2の検出手段によっ
て検出された電圧値の大きさと、基準電圧値の大きさと
を比較する比較手段と、比較手段による比較結果に基づ
いて、供給手段がサーマルヘッドに供給する制御パルス
のパルス幅を制御する制御手段とを備えることを特徴と
する。また、演算手段は、第1の検出手段によって検出
された電圧値から第2の検出手段によって検出された電
圧値の最低値を減算して得られた演算結果に対して所定
の係数を乗算して得られた演算結果を、第1の検出手段
によって検出された電圧値から減算して得られた演算結
果を基準電圧値とするようにすることができる。請求項
3に記載の印刷方法は、サーマルヘッドを用いて印字を
行う印刷方法において、サーマルヘッドに制御パルスを
供給するパルス供給ステップと、サーマルヘッドが印字
を行う前に、サーマルヘッドに印加されている電圧値を
検出する第1の検出ステップと、サーマルヘッドが印字
を行っている最中に、サーマルヘッドに印加されている
電圧値を検出する第2の検出ステップと、第1の検出ス
テップにおいて検出された電圧値と、第2の検出ステッ
プにおいて検出された電圧値を記憶する記憶ステップ
と、記憶ステップにおいて記憶された、第1の検出ステ
ップにおいて検出された電圧値と、第2の検出ステップ
において検出された電圧値の最低値とに基づいて、所定
の基準電圧値を演算する演算ステップと、第2の検出ス
テップにおいて検出された電圧値の大きさと、基準電圧
値の大きさとを比較する比較ステップと、比較ステップ
における比較結果に基づいて、供給ステップにおいてサ
ーマルヘッドに供給される制御パルスのパルス幅を制御
する制御ステップとを備えることを特徴とする。 本発
明に係る印刷装置および印刷方法においては、サーマル
ヘッドに制御パルスを供給し、サーマルヘッドが印字を
行う前に、サーマルヘッドに印加されている電圧値を検
出し、サーマルヘッドが印字を行っている最中に、サー
マルヘッドに印加されている電圧値を検出し、検出され
た電圧値を記憶し、サーマルヘッドが印字を行う前にサ
ーマルヘッドに印加されている電圧値と、サーマルヘッ
ドが印字を行っている最中にサーマルヘッドに印加され
ている電圧値の最低値とに基づいて、所定の基準電圧値
を演算し、サーマルヘッドが印字を行っている最中にサ
ーマルヘッドに印加されている電圧値の大きさと、基準
電圧値の大きさとを比較し、比較結果に基づいて、サー
マルヘッドに供給される制御パルスのパルス幅を制御す
る。
According to a first aspect of the present invention, there is provided a printing apparatus for performing printing using a thermal head, wherein a pulse supply means for supplying a control pulse to the thermal head and the thermal head performs printing. A first detecting means for detecting a voltage value applied to the thermal head; and a second detecting means for detecting a voltage value applied to the thermal head while the thermal head is performing printing. Means, storage means for storing the voltage value detected by the first detection means, and the voltage value detected by the second detection means, and detection by the first detection means stored in the storage means. Calculating means for calculating a predetermined reference voltage value based on the detected voltage value and the minimum value of the voltage value detected by the second detecting means; and a voltage value detected by the second detecting means. Comparing means for comparing the magnitude with the magnitude of the reference voltage value, and control means for controlling a pulse width of a control pulse supplied from the supply means to the thermal head based on a comparison result by the comparison means. I do. The calculating means multiplies a calculation result obtained by subtracting the lowest value of the voltage value detected by the second detecting means from the voltage value detected by the first detecting means by a predetermined coefficient. The calculation result obtained by subtracting the calculation result obtained from the voltage value detected by the first detection means can be used as the reference voltage value. The printing method according to claim 3, wherein in the printing method for performing printing using the thermal head, a pulse supply step of supplying a control pulse to the thermal head, and the pulse applied to the thermal head before the thermal head performs printing. A first detection step of detecting a voltage value applied to the thermal head, a second detection step of detecting a voltage value applied to the thermal head while the thermal head is performing printing, and a first detection step. A storage step of storing the detected voltage value, the voltage value detected in the second detection step, a voltage value detected in the first detection step, stored in the storage step, and a second detection step A calculating step of calculating a predetermined reference voltage value based on the lowest value of the voltage value detected in A comparison step of comparing the magnitude of the detected voltage value with the magnitude of the reference voltage value; and a control step of controlling a pulse width of a control pulse supplied to the thermal head in the supply step based on a comparison result in the comparison step. And characterized in that: In the printing apparatus and the printing method according to the present invention, a control pulse is supplied to the thermal head to detect a voltage value applied to the thermal head before the thermal head performs printing, and the thermal head performs printing. During printing, the voltage value applied to the thermal head is detected, the detected voltage value is stored, and the voltage value applied to the thermal head before the thermal head performs printing and the thermal head A predetermined reference voltage value is calculated based on the lowest voltage value applied to the thermal head during the printing operation, and the predetermined reference voltage value is applied to the thermal head while the printing operation is performed. The magnitude of the applied voltage value is compared with the magnitude of the reference voltage value, and the pulse width of the control pulse supplied to the thermal head is controlled based on the comparison result.

【0008】[0008]

【発明の実施の形態】図1は、本発明の印刷装置を応用
したラベルプリンタの一実施の形態の構成例を示すブロ
ック図である。同図に示すように、本実施の形態は、制
御プログラムや各種データを記憶するROM(read
only memory)等からなる主記憶装置1
と、各種のデータを記憶するRAM(random a
ccess memory)等からなる記憶装置2(記
憶手段)と、印字を行うサーマルヘッド5と、サーマル
ヘッド5の印加電圧を検出する電圧検出部4(第1の検
出手段、第2の検出手段)と、電圧検出部4によって検
出された印加電圧の値をデジタルの信号に変換するA/
D変換器3と、主記憶装置1に記憶されている制御プロ
グラムに従って動作し、A/D変換器3より供給された
印加電圧値に基づいて、所定のパルス幅のヘッド制御パ
ルス(以下では適宜、制御パルスと記載する)を生成
し、サーマルヘッド5に供給したり、各部を制御するC
PU(central processing uni
t)6(演算手段、比較手段、制御手段)とから構成さ
れている。
FIG. 1 is a block diagram showing a configuration example of an embodiment of a label printer to which a printing apparatus according to the present invention is applied. As shown in the figure, in the present embodiment, a ROM (read
main memory 1 composed of only memory
And a RAM for storing various data (random a
a storage device 2 (storage unit) including a memory (access memory), a thermal head 5 for performing printing, and a voltage detection unit 4 (first detection unit and second detection unit) for detecting a voltage applied to the thermal head 5. A / A that converts the value of the applied voltage detected by the voltage detection unit 4 into a digital signal
The head operates in accordance with the D converter 3 and a control program stored in the main storage device 1, and based on the applied voltage value supplied from the A / D converter 3, a head control pulse having a predetermined pulse width (hereinafter referred to as appropriate) , A control pulse), which is supplied to the thermal head 5 or controls each part.
PU (central processing uniti)
t) 6 (arithmetic means, comparison means, control means).

【0009】サーマルヘッド5に供給する制御パルス
は、サーマルヘッド5を構成する発熱体に熱エネルギー
を与えて暖めるためのものである。サーマルヘッド5
は、1ライン分の画素(ドット)に対応する発熱体によ
って構成され、各発熱体を印字すべき文字や図形に合わ
せて発熱させることにより、熱によって黒色に変化する
感熱紙に所定の文字や図形を1ラインずつ形成するよう
になされている。
The control pulse supplied to the thermal head 5 is for applying heat energy to a heating element constituting the thermal head 5 to warm it. Thermal head 5
Is constituted by heating elements corresponding to pixels (dots) for one line. Each heating element generates heat in accordance with a character or a figure to be printed, so that a predetermined character or character is formed on heat-sensitive paper which changes to black by heat. The figures are formed line by line.

【0010】次に、図2のフローチャート及び図3のタ
イミングチャートを参照して、図1に示した実施の形態
の動作について説明する。図2は、図1に示した実施の
形態の動作を示すフローチャートであり、図3は、図1
に示した実施の形態の動作を示すタイミングチャートで
ある。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to the flowchart of FIG. 2 and the timing chart of FIG. FIG. 2 is a flowchart showing the operation of the embodiment shown in FIG. 1, and FIG.
5 is a timing chart showing the operation of the embodiment shown in FIG.

【0011】図3に示すように、サーマルヘッド5に印
加される印加電圧の電圧値は、印字開始後に低下し、最
低電圧値に到達するとほぼ一定値となって推移し、印字
が終了すると印字前の電圧値に戻る。黒丸は、各ライン
でのサーマルヘッド5の印加電圧(ヘッド電圧)を表し
ている。
As shown in FIG. 3, the voltage value of the applied voltage applied to the thermal head 5 decreases after the start of printing, changes to a substantially constant value when the lowest voltage value is reached, and changes when the printing is completed. Returns to the previous voltage value. The black circles indicate the applied voltage (head voltage) of the thermal head 5 in each line.

【0012】図2において、まず最初に、ステップS1
において、CPU6は、主記憶装置1に記憶されている
制御プログラムに従って、電圧検出部4に対して、サー
マルヘッド5に印加されている印字前の印加電圧の電圧
値(印字前電圧(図3))の検出を指令する。
In FIG. 2, first, at step S1
In accordance with the control program stored in the main storage device 1, the CPU 6 instructs the voltage detection unit 4 to apply the voltage value of the applied voltage applied to the thermal head 5 before printing (voltage before printing (FIG. 3) ) Is detected.

【0013】CPU6からのこの指令を受けた電圧検出
部4は、サーマルヘッド5に印加されている印加電圧の
電圧値を検出し、検出した電圧値をA/D変換器3に供
給する。A/D変換器3は、電圧検出部4より供給され
たサーマルヘッド5の印加電圧の電圧値をデジタルのデ
ータに変換し、CPU6に供給する。
The voltage detector 4 receiving this command from the CPU 6 detects the voltage value of the applied voltage applied to the thermal head 5 and supplies the detected voltage value to the A / D converter 3. The A / D converter 3 converts the voltage value of the applied voltage of the thermal head 5 supplied from the voltage detection unit 4 into digital data and supplies the digital data to the CPU 6.

【0014】CPU6は、A/D変換器3より供給され
た上記印加電圧の電圧値に対応するデータを記憶装置2
に供給し、記憶させる。
The CPU 6 stores data corresponding to the value of the applied voltage supplied from the A / D converter 3 in the storage device 2.
And store it.

【0015】次に、ステップS2において、CPU6の
制御下、サーマルヘッド5は、所定の感熱紙からなるラ
ベル(図3)に対して印字を開始する。次に、ステッ
プS3において、CPU6は、電圧検出部4に対してサ
ーマルヘッド5の印字中の印加電圧を検出するように指
令する。CPU6からのこの指令を受けた電圧検出部4
は、サーマルヘッド5に印加されている印加電圧の電圧
値を検出し、検出した電圧値をA/D変換器3に供給す
る。A/D変換器3は、電圧検出部4より供給されたサ
ーマルヘッド5の印加電圧の電圧値をデジタルのデータ
に変換し、CPU6に供給する。CPU6は、A/D変
換器3より供給された上記印加電圧の電圧値に対応する
データを記憶装置2に供給し、記憶させる。
Next, in step S2, under the control of the CPU 6, the thermal head 5 starts printing on a label (FIG. 3) made of a predetermined thermal paper. Next, in step S3, the CPU 6 instructs the voltage detector 4 to detect the applied voltage during printing of the thermal head 5. Voltage detection unit 4 receiving this command from CPU 6
Detects the voltage value of the applied voltage applied to the thermal head 5 and supplies the detected voltage value to the A / D converter 3. The A / D converter 3 converts the voltage value of the applied voltage of the thermal head 5 supplied from the voltage detection unit 4 into digital data and supplies the digital data to the CPU 6. The CPU 6 supplies data corresponding to the voltage value of the applied voltage supplied from the A / D converter 3 to the storage device 2 and stores the data.

【0016】そして、ステップS4において、CPU6
は、ステップS3において、記憶装置2に記憶させたサ
ーマルヘッド5の印字中の印加電圧の電圧値のデータ
と、直前に検出された印字中の印加電圧の電圧値のう
ち、低い方の電圧値のデータを電圧最低レベルとして、
記憶装置2に記憶させる。
Then, in step S4, the CPU 6
Is the voltage value of the voltage value of the applied voltage during printing of the thermal head 5 stored in the storage device 2 in step S3 and the voltage value of the applied voltage during printing that was detected immediately before, whichever is lower. Is the lowest voltage level,
It is stored in the storage device 2.

【0017】次に、ステップS5に進み、CPU6は、
記憶装置2から読み出した印字前の印加電圧の電圧値か
ら、ステップS4で求めた電圧最低レベルの電圧値を減
算し、得られた結果を電圧差ΔVとする。即ち、次式
(1)によって電圧差ΔVを算出する。算出された電圧
差ΔVは、記憶装置2に供給され、記憶される。
Next, proceeding to step S5, the CPU 6
The voltage value of the lowest voltage level obtained in step S4 is subtracted from the voltage value of the applied voltage before printing read from the storage device 2, and the obtained result is set as a voltage difference ΔV. That is, the voltage difference ΔV is calculated by the following equation (1). The calculated voltage difference ΔV is supplied to the storage device 2 and stored.

【0018】 ΔV=印字前の印加電圧の電圧値−電圧最低レベル ・・・(1)ΔV = voltage value of applied voltage before printing−voltage minimum level (1)

【0019】次に、印字前の印加電圧の電圧値から、電
圧差ΔVに、例えば係数0.8を乗じた値を減算して得
られた結果をしきい値とする。即ち、次式(2)によっ
てしきい値を算出する。算出されたしきい値は、記憶装
置2に供給され、記憶される。
Next, a result obtained by subtracting a value obtained by multiplying the voltage difference ΔV by, for example, a coefficient of 0.8 from the voltage value of the applied voltage before printing is set as a threshold value. That is, the threshold is calculated by the following equation (2). The calculated threshold value is supplied to the storage device 2 and stored.

【0020】 しきい値=印字前の印加電圧の電圧値−0.8×ΔV ・・・(2)Threshold value = voltage value of applied voltage before printing−0.8 × ΔV (2)

【0021】式(1)で求めた電圧差ΔV、及び式
(2)で求めたしきい値は、それぞれ各ライン毎に1回
更新され、印字開始後の最初のラベルの1ライン目を除
いて、それぞれほぼ一定の値をとるようになり、各ライ
ン間であまり変動しない。
The voltage difference ΔV obtained by equation (1) and the threshold value obtained by equation (2) are updated once for each line, except for the first line of the first label after printing starts. As a result, each of them takes a substantially constant value, and does not vary much between lines.

【0022】次に、ステップS6において、CPU6に
より、記憶装置2に記憶されている、ステップS3にお
いて、電圧検出部4によって検出されたサーマルヘッド
5の印字中の印加電圧の電圧値(検出電圧(図3))
と、ステップS5において算出されたしきい値とが比較
され、どちらが大きいかが判定される。
Next, in step S6, the voltage value of the applied voltage during the printing of the thermal head 5 detected by the voltage detection unit 4 in step S3 (detected voltage ( (Fig. 3))
Is compared with the threshold value calculated in step S5, and it is determined which is larger.

【0023】CPU6により、検出電圧の値の方がしき
い値より大きいと判定された場合、ステップS7に進
み、CPU6は、しきい値を使用して、サーマルヘッド
5に供給する制御パルスのパルス幅を設定する。そし
て、設定したパルス幅の制御パルスを生成し、サーマル
ヘッド5に供給する。その後、サーマルヘッド5によ
り、このラインの印字が行われた後、ステップS9に進
む。
When the CPU 6 determines that the value of the detected voltage is larger than the threshold value, the process proceeds to step S7, where the CPU 6 uses the threshold value to control the pulse of the control pulse supplied to the thermal head 5. Set the width. Then, a control pulse having the set pulse width is generated and supplied to the thermal head 5. Then, after printing of this line is performed by the thermal head 5, the process proceeds to step S9.

【0024】一方、CPU6により、検出電圧の値の方
がしきい値より小さいか又は等しいと判定された場合、
ステップS8に進み、CPU6は、検出電圧を使用し
て、サーマルヘッド5に供給する制御パルスのパルス幅
を設定する。そして、設定したパルス幅の制御パルスを
生成し、サーマルヘッド5に供給する。その後、サーマ
ルヘッド5により、このラインの印字が行われた後、ス
テップS9に進む。
On the other hand, when the CPU 6 determines that the value of the detected voltage is smaller than or equal to the threshold value,
Proceeding to step S8, the CPU 6 sets the pulse width of the control pulse supplied to the thermal head 5 using the detected voltage. Then, a control pulse having the set pulse width is generated and supplied to the thermal head 5. Then, after printing of this line is performed by the thermal head 5, the process proceeds to step S9.

【0025】一般に、印字すべき文字の印字率に応じ
て、サーマルヘッド5に対して電流を供給する時間を変
化させ、サーマルヘッド5を暖める時間を制御してい
る。例えば、印字率が大きい場合(例えば、文字の下に
罫線があり、黒の部分が多い場合)には、サーマルヘッ
ド5に電流を供給する時間を長くして、サーマルヘッド
5を暖める時間を長くし、印字率が大きい場合でも、印
字に必要な熱エネルギーが得られるようにしている。
In general, the time for supplying current to the thermal head 5 is changed according to the printing rate of the character to be printed, and the time for warming the thermal head 5 is controlled. For example, when the printing rate is large (for example, when there are ruled lines under characters and there are many black portions), the time for supplying current to the thermal head 5 is increased, and the time for warming the thermal head 5 is increased. However, even when the printing rate is high, the heat energy required for printing is obtained.

【0026】1ライン分を印字する前にサーマルヘッド
5に対して供給可能な制御パルスのパルス幅、即ち、サ
ーマルヘッド5に電流を供給する時間の最大値は固定で
あり、その最大値を越えない範囲内で、印字率に応じて
制御パルスのパルス幅が制御されるようになされてい
る。
The pulse width of a control pulse that can be supplied to the thermal head 5 before printing one line, that is, the maximum value of the time for supplying a current to the thermal head 5 is fixed and exceeds the maximum value. Within such a range, the pulse width of the control pulse is controlled in accordance with the printing rate.

【0027】ステップS9においては、CPU6によ
り、いま、サーマルヘッド5によって印字されたライン
が印字すべき最終ラインであるか否かが判定される。そ
して、サーマルヘッド5によって印字されたラインが印
字すべき最終ラインではないと判定された場合、ステッ
プS10に進み、CPU6は、図示せぬプラテンローラ
等を回転させ、ラベルを1ライン分だけ搬送する。その
後、ステップS3に戻り、ステップS3以降の処理が繰
り返し実行される。
In step S9, the CPU 6 determines whether the line printed by the thermal head 5 is the last line to be printed. If it is determined that the line printed by the thermal head 5 is not the last line to be printed, the process proceeds to step S10, in which the CPU 6 rotates a platen roller or the like (not shown) to convey the label by one line. . Thereafter, the process returns to step S3, and the processes after step S3 are repeatedly executed.

【0028】一方、サーマルヘッド5によって印字され
たラインが印字すべき最終ラインであると判定された場
合、処理を終了する。その後、次のラベルの印字を行う
場合には、そのラベルに対する印字が行われる。
On the other hand, if it is determined that the line printed by the thermal head 5 is the last line to be printed, the processing is terminated. Thereafter, when printing the next label, printing is performed on the label.

【0029】図3に示したタイミングチャートにおい
て、黒丸は、印字すべき各ラインにおけるヘッド電圧の
値(電圧検出部4によって検出されたサーマルヘッド5
の印字電圧の電圧値)を表しており、ラベルに対する
印字が開始された後、ヘッド電圧は低下するが、この例
の場合、ライン1乃至ライン3のヘッド電圧の値がそれ
ぞれしきい値より大きいため、ライン1乃至ライン3を
印字する間、CPU6は、しきい値に基づいて設定した
パルス幅の制御パルスをサーマルヘッド5に供給する。
In the timing chart shown in FIG. 3, the black circles indicate the values of the head voltage in each line to be printed (the thermal head 5 detected by the voltage detector 4).
And the head voltage drops after printing on the label is started. In this example, the head voltage values of the lines 1 to 3 are respectively larger than the threshold value. Therefore, while printing the lines 1 to 3, the CPU 6 supplies a control pulse having a pulse width set based on the threshold value to the thermal head 5.

【0030】そして、この例の場合、ライン4以降は、
ヘッド電圧の値はしきい値より小さいため、ライン4以
降を印字する間、CPU6は、検出電圧(ヘッド電圧)
に基づいて設定したパルス幅の制御パルスをサーマルヘ
ッド5に供給する。サーマルヘッド5は、CPU6より
供給された制御パルスにより暖められ、印字動作を行
い、最終ラインの印字が終了すると、ヘッド電圧の値は
元に戻る。
Then, in this example, after line 4,
Since the value of the head voltage is smaller than the threshold value, the CPU 6 applies the detection voltage (head voltage)
Is supplied to the thermal head 5 with a pulse width set based on the above. The thermal head 5 is heated by the control pulse supplied from the CPU 6, performs a printing operation, and when the printing of the last line is completed, the value of the head voltage returns to the original value.

【0031】このように、印字動作時のヘッド電圧を一
定間隔で読み込み、電圧レベルの変移をモニタし、完全
に電圧が低下したときの電圧最低レベルを得る。そし
て、この電圧最低レベルと、印字前に予め読み込んだ電
圧が低下する前の電圧レベルにより、帰還制御に使用す
る電圧レベルのしきい値を設定し、しきい値よりヘッド
電圧の値が低い場合、そのヘッド電圧の値に基づいて制
御パルスのパルス幅を設定し、しきい値よりヘッド電圧
が高い場合、過去に読み込んだヘッド電圧の最低電圧値
に基づいて制御パルスのパルス幅を設定する。
As described above, the head voltage at the time of the printing operation is read at regular intervals, the change of the voltage level is monitored, and the minimum voltage level when the voltage is completely reduced is obtained. Then, a threshold value of a voltage level used for feedback control is set based on the minimum voltage level and a voltage level before the voltage read before printing decreases, and when the head voltage value is lower than the threshold value. The pulse width of the control pulse is set based on the value of the head voltage, and when the head voltage is higher than the threshold value, the pulse width of the control pulse is set based on the minimum voltage value of the head voltage read in the past.

【0032】従って、印字開始後にヘッド電圧がしきい
値より低い値に低下するまでの間、最低電圧値に基づい
て、制御パルスのパルス幅を設定することができるの
で、印字開始直後のサーマルヘッド5の印加電圧がしき
い値より高い間も、適正なパルス幅の制御パルスをサー
マルヘッド5に供給することができる。これにより、印
字濃度を所定の濃度にほぼ一定にすることができる。
Therefore, the pulse width of the control pulse can be set based on the minimum voltage value until the head voltage drops to a value lower than the threshold value after the start of printing. The control pulse having an appropriate pulse width can be supplied to the thermal head 5 while the applied voltage 5 is higher than the threshold value. Thereby, the print density can be made substantially constant at a predetermined density.

【0033】また、電源の種類(A/Cアダプタ、バッ
テリーなど)によらず、サーマルヘッド5の印加電圧の
電圧値の低下に応じて印字濃度を制御することができる
ので、サーマルヘッド5の印加電圧の変動による印字濃
度の変化を抑制し、印字濃度をほぼ一定にすることがで
きる。
Further, since the print density can be controlled in accordance with a decrease in the voltage applied to the thermal head 5 irrespective of the type of power supply (A / C adapter, battery, etc.), the application of the thermal head 5 It is possible to suppress the change in the print density due to the fluctuation of the voltage and make the print density almost constant.

【0034】なお、上記実施の形態においては、本発明
の印刷装置をラベルプリンタに応用する場合について説
明したが、その他の印刷装置にも本発明を適用すること
ができる。
In the above embodiment, the case where the printing apparatus of the present invention is applied to a label printer has been described. However, the present invention can be applied to other printing apparatuses.

【0035】また、上記実施の形態で用いた具体的な数
値は例であってこれに限定されるものではない。
The specific numerical values used in the above embodiment are examples, and the present invention is not limited to these values.

【0036】[0036]

【発明の効果】以上の如く、本発明に係る印刷装置およ
び印刷方法によれば、サーマルヘッドに制御パルスを供
給し、サーマルヘッドが印字を行う前に、サーマルヘッ
ドに印加されている電圧値を検出し、サーマルヘッドが
印字を行っている最中に、サーマルヘッドに印加されて
いる電圧値を検出し、検出された電圧値を記憶し、サー
マルヘッドが印字を行う前にサーマルヘッドに印加され
ている電圧値と、サーマルヘッドが印字を行っている最
中にサーマルヘッドに印加されている電圧値の最低値と
に基づいて、所定の基準電圧値を演算し、サーマルヘッ
ドが印字を行っている最中にサーマルヘッドに印加され
ている電圧値の大きさと、基準電圧値の大きさとを比較
し、比較結果に基づいて、サーマルヘッドに供給される
制御パルスのパルス幅を制御するようにしたので、サー
マルヘッドに印加されている印加電圧の変動による印字
濃度の変動を抑制することができる。
As described above, according to the printing apparatus and the printing method of the present invention, a control pulse is supplied to the thermal head, and before the thermal head performs printing, the voltage value applied to the thermal head is reduced. Detects and detects the voltage value applied to the thermal head while the thermal head is performing printing, stores the detected voltage value, and applies the voltage value to the thermal head before the thermal head performs printing. A predetermined reference voltage value is calculated based on the voltage value and the lowest voltage value applied to the thermal head while the thermal head is performing printing, and the thermal head performs printing. During the operation, the magnitude of the voltage value applied to the thermal head is compared with the magnitude of the reference voltage value, and based on the comparison result, the pulse of the control pulse supplied to the thermal head is compared. Since so as to control the width, it is possible to suppress variations in print density due to variations in the applied voltage being applied to the thermal head.

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

【図1】本発明の印刷装置を応用したラベルプリンタの
一実施の形態の構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of an embodiment of a label printer to which a printing apparatus according to the invention is applied.

【図2】図1の実施の形態の動作を説明するためのフロ
ーチャートである。
FIG. 2 is a flowchart for explaining the operation of the embodiment of FIG. 1;

【図3】図1の実施の形態の動作を説明するためのタイ
ミングチャートである。
FIG. 3 is a timing chart for explaining the operation of the embodiment of FIG. 1;

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

1 主記憶装置 2 記憶装置 3 A/D変換器 4 電圧検出部 5 サーマルヘッド 6 CPU DESCRIPTION OF SYMBOLS 1 Main storage device 2 Storage device 3 A / D converter 4 Voltage detector 5 Thermal head 6 CPU

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 サーマルヘッドを用いて印字を行う印刷
装置において、 前記サーマルヘッドに制御パルスを供給するパルス供給
手段と、 前記サーマルヘッドが印字を行う前に、前記サーマルヘ
ッドに印加されている電圧値を検出する第1の検出手段
と、 前記前記サーマルヘッドが印字を行っている最中に、前
記サーマルヘッドに印加されている電圧値を検出する第
2の検出手段と、 前記第1の検出手段によって検出された前記電圧値と、
前記第2の検出手段によって検出された前記電圧値を記
憶する記憶手段と、 前記記憶手段に記憶されている、前記第1の検出手段に
よって検出された前記電圧値と、前記第2の検出手段に
よって検出された前記電圧値の最低値とに基づいて、所
定の基準電圧値を演算する演算手段と、 前記第2の検出手段によって検出された電圧値の大きさ
と、前記基準電圧値の大きさとを比較する比較手段と、 前記比較手段による比較結果に基づいて、前記供給手段
が前記サーマルヘッドに供給する前記制御パルスのパル
ス幅を制御する制御手段とを備えることを特徴とする印
刷装置。
1. A printing apparatus for performing printing using a thermal head, comprising: a pulse supply unit configured to supply a control pulse to the thermal head; and a voltage applied to the thermal head before the thermal head performs printing. First detection means for detecting a voltage value; second detection means for detecting a voltage value applied to the thermal head while the thermal head is performing printing; and the first detection. Said voltage value detected by the means;
Storage means for storing the voltage value detected by the second detection means; the voltage value detected by the first detection means stored in the storage means; and the second detection means Calculating means for calculating a predetermined reference voltage value based on the lowest value of the voltage value detected by the second detecting means; the magnitude of the voltage value detected by the second detecting means; and the magnitude of the reference voltage value. And a control unit for controlling a pulse width of the control pulse supplied to the thermal head by the supply unit based on a comparison result by the comparison unit.
【請求項2】 前記演算手段は、前記第1の検出手段に
よって検出された前記電圧値から前記第2の検出手段に
よって検出された前記電圧値の最低値を減算して得られ
た演算結果に対して所定の係数を乗算して得られた演算
結果を、前記第1の検出手段によって検出された前記電
圧値から減算して得られた演算結果を前記基準電圧値と
することを特徴とする請求項1に記載の印刷装置。
2. The arithmetic unit according to claim 1, wherein the arithmetic unit obtains an arithmetic result obtained by subtracting a minimum value of the voltage value detected by the second detecting unit from the voltage value detected by the first detecting unit. An operation result obtained by subtracting an operation result obtained by multiplying a predetermined coefficient from the voltage value detected by the first detecting means is used as the reference voltage value. The printing device according to claim 1.
【請求項3】 サーマルヘッドを用いて印字を行う印刷
方法において、 前記サーマルヘッドに制御パルスを供給するパルス供給
ステップと、 前記サーマルヘッドが印字を行う前に、前記サーマルヘ
ッドに印加されている電圧値を検出する第1の検出ステ
ップと、 前記サーマルヘッドが印字を行っている最中に、前記サ
ーマルヘッドに印加されている電圧値を検出する第2の
検出ステップと、 前記第1の検出ステップにおいて検出された前記電圧値
と、前記第2の検出ステップにおいて検出された前記電
圧値を記憶する記憶ステップと、 前記記憶ステップにおいて記憶された、前記第1の検出
ステップにおいて検出された前記電圧値と、前記第2の
検出ステップにおいて検出された前記電圧値の最低値と
に基づいて、所定の基準電圧値を演算する演算ステップ
と、 前記第2の検出ステップにおいて検出された電圧値の大
きさと、前記基準電圧値の大きさとを比較する比較ステ
ップと、 前記比較ステップにおける比較結果に基づいて、前記供
給ステップにおいて前記サーマルヘッドに供給される前
記制御パルスのパルス幅を制御する制御ステップとを備
えることを特徴とする印刷方法。
3. A printing method for performing printing using a thermal head, comprising: a pulse supplying step of supplying a control pulse to the thermal head; and a voltage applied to the thermal head before the thermal head performs printing. A first detection step of detecting a voltage value; a second detection step of detecting a voltage value applied to the thermal head while the thermal head is performing printing; and the first detection step. And a storage step of storing the voltage value detected in the second detection step, and the voltage value detected in the first detection step, stored in the storage step And calculating a predetermined reference voltage value based on the minimum value of the voltage value detected in the second detection step. A comparing step of comparing the magnitude of the voltage value detected in the second detecting step with the magnitude of the reference voltage value, based on a comparison result in the comparing step, A control step of controlling a pulse width of the control pulse supplied to the thermal head.
JP13999199A 1999-05-20 1999-05-20 Printing apparatus and printing method Pending JP2000326539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13999199A JP2000326539A (en) 1999-05-20 1999-05-20 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13999199A JP2000326539A (en) 1999-05-20 1999-05-20 Printing apparatus and printing method

Publications (1)

Publication Number Publication Date
JP2000326539A true JP2000326539A (en) 2000-11-28

Family

ID=15258402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13999199A Pending JP2000326539A (en) 1999-05-20 1999-05-20 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP2000326539A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797385B2 (en) 2001-08-16 2010-09-14 Minolta Co., Ltd. Image processing apparatus, management apparatus and image processing method that reduce delays in print job processing caused by rewriting of firmware

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797385B2 (en) 2001-08-16 2010-09-14 Minolta Co., Ltd. Image processing apparatus, management apparatus and image processing method that reduce delays in print job processing caused by rewriting of firmware

Similar Documents

Publication Publication Date Title
JP3474281B2 (en) Automatic print speed controller for barcode printer
US8474937B2 (en) Apparatus for and method of controlling jetting of ink in inkjet printer
JP3039229B2 (en) Thermal printer
US5706043A (en) Driving method of thermal printer
JP2000326539A (en) Printing apparatus and printing method
JP3013042B1 (en) Thermal printer
US11020965B2 (en) Printing apparatus and print head heating method
JP2554871B2 (en) Print control device for thermal printer
JP3175727B2 (en) Recording control device
JPH0577470A (en) Thermal printer
JP2580613B2 (en) Recording device
JP2954050B2 (en) Thermal head controller
JPH10297009A (en) Thermal transfer recorder
JPH02145357A (en) Conduction control system for thermal head
WO2020131023A1 (en) Pulse width modulation value calculations
JP2001162854A (en) Thermal printer
JPH07186432A (en) Printing device
JPH0911523A (en) Printing density correctable thermal printer
JPS59138478A (en) Controlling method for thermal printer
JPH0356366Y2 (en)
JP2002144619A (en) Thermal printer and its operation controlling method
JPH04261873A (en) Recording device
JPH024536A (en) Thermal transfer printer
JPH08174893A (en) Thermal hysteresis control device for thermal head
JP3876683B2 (en) Printer and printer preheating control method