JPH10138546A - Thermal printer - Google Patents

Thermal printer

Info

Publication number
JPH10138546A
JPH10138546A JP30210396A JP30210396A JPH10138546A JP H10138546 A JPH10138546 A JP H10138546A JP 30210396 A JP30210396 A JP 30210396A JP 30210396 A JP30210396 A JP 30210396A JP H10138546 A JPH10138546 A JP H10138546A
Authority
JP
Japan
Prior art keywords
data
pixel
correction
print
printing
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
JP30210396A
Other languages
Japanese (ja)
Inventor
Mikio Munetomo
幹雄 宗友
Susumu Tokumaru
進 徳丸
Terumi Kuwata
照巳 桑田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP30210396A priority Critical patent/JPH10138546A/en
Publication of JPH10138546A publication Critical patent/JPH10138546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a thermal printer capable of enhancing printing image quality by especially suppressing the so-called tailing phenomenon. SOLUTION: A peripheral pixel referring circuit 20 calculates a primary correction value Xa obtained by correcting a value X of an aiming pixel to be printed on the basis of the values B, C of the pixels adjacent to the aiming pixel and the value A of a previous pixel and further corrects the primary correction value Xa on the basis of the difference between the value X of the aiming pixel and the value D of a next pixel to calculate a secondary correction value X1. For example, the primary correction value Xa is corrected in proportion to the difference between the value X of the aiming pixel and the value D of the next pixel, that is, the difference between densities and the secondary correction value X1 is calculated according to formula X1=Xa-0.1(X-D). A heating control circuit 28 controls the generation of heat of a thermal head 30 on the basis of the set PA of the secondary correction value X1. By this constitution, it can be prevented that the density of a next pixel becomes dark by the effect of the heat of the aiming pixel and a tailing phenomenon can be especially suppressed and printing image quality is enhanced.

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, and more particularly to a thermal printer capable of improving the printing quality by reducing unevenness in the density of printing pixels due to the influence of peripheral pixels.

【0002】[0002]

【従来の技術】サーマルプリンタ(以下、単にプリンタ
という場合がある)において、特定の画素に数行連続し
て通電を行った場合に他の発熱画素に比べその画素に熱
が蓄積し記録濃度にむらが生じる問題を解決しようとす
るものとして、例えば特開昭63−319163号公報
や特公平7−88097号公報に示されたものがある。
これらのものは、着目画素とその隣接画素及び着目画素
の前の行の画素とその隣接画素のデータに基づいて着目
画素の通電時間を制御し、前の行や隣接画素の熱の影響
を補正するものである。
2. Description of the Related Art In a thermal printer (hereinafter sometimes simply referred to as a printer), when a specific pixel is continuously energized for several lines, heat is accumulated in that pixel and the recording density is reduced as compared with other heating pixels. In order to solve the problem of unevenness, there are, for example, those disclosed in Japanese Patent Application Laid-Open No. 63-319163 and Japanese Patent Publication No. 7-88097.
These control the energization time of the pixel of interest based on the data of the pixel of interest and its neighboring pixels and the pixel in the row before the pixel of interest and its neighboring pixels, and correct the effects of heat in the previous row and neighboring pixels Is what you do.

【0003】[0003]

【発明が解決しようとする課題】ところで、図23は用
紙の送り方向である副走査方向を横軸にとり、縦軸に印
加する印画エネルギを実線ENで示し、印画濃度を点線
DNで示した説明図である。図23に示すように、用紙
の送り方向である副走査方向において印画しない部分が
あるとき、すなわち印画エネルギが零になる画素がある
ときに当該着目画素の印画濃度は前の印画の熱が残って
いるために印画濃度が零になりにくい。従って、本来印
画したくないのに印画されてしまういわゆる尾引現象が
発生し、印画品質を充分に向上させることができないと
いう問題点があった。特に、べた印画の中に印画しない
横線がある場合に、その横線の直前の印画は、次の印画
行の印画の有無の判断ができないので、印画エネルギの
調節ができず、印画しない横線は潰れたり、細くなった
りするという問題点があった。
FIG. 23 is an illustration in which the horizontal axis represents the sub-scanning direction, which is the paper feeding direction, the printing energy applied on the vertical axis is indicated by a solid line EN, and the printing density is indicated by a dotted line DN. FIG. As shown in FIG. 23, when there is a portion where printing is not performed in the sub-scanning direction which is the paper feeding direction, that is, when there is a pixel where the printing energy becomes zero, the printing density of the pixel of interest has the heat of the previous printing remaining. Therefore, the printing density is hardly reduced to zero. Therefore, there is a problem that a so-called trailing phenomenon occurs in which printing is performed when the user does not want to print, and printing quality cannot be sufficiently improved. In particular, when there is a horizontal line that is not printed in a solid print, the print immediately before the horizontal line cannot be determined as to whether or not there is a print on the next print line, so the print energy cannot be adjusted, and the horizontal line that is not printed is destroyed. Or it becomes thinner.

【0004】この発明は、上記のような問題点を解消し
て、印画品質、特に尾引現象を抑制して印画品質を向上
できるプリンタを得ることを目的とする。また、加え
て、より的確に、あるいはきめ細かい濃度補正ができる
プリンタを得ることを目的とする。さらに、サーマルヘ
ッドの制御ブロックの境界で印画の濃度むらを小さくし
て、あるいは組織的に印画濃度を変化させて濃度のむら
を目立たなくし、一層印画品質の向上できるプリンタを
得ることを目的とする。そして、サーマルヘッドの共通
インピーダンスの影響を補正して濃度のむらを小さくで
きるプリンタを得ることを目的とする。さらには、補正
しない着目画素のデータにより簡易な印画を選択できる
プリンタを得ることを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to obtain a printer capable of improving the printing quality, particularly the printing quality by suppressing the trailing phenomenon. It is another object of the present invention to provide a printer capable of performing more accurate or fine density correction. It is still another object of the present invention to obtain a printer which can reduce the density unevenness of a print at the boundary of a control block of a thermal head or change the print density systematically to make the density unevenness less noticeable and further improve the print quality. It is another object of the present invention to obtain a printer capable of reducing the density unevenness by correcting the influence of the common impedance of the thermal head. Another object of the present invention is to provide a printer that can select a simple print based on data of a target pixel that is not corrected.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、この発明のサーマルプリンタは、隣接画素データと
前画素データと次画素データとに基づき着目画素データ
を補正して補正データを求めるデータ補正手段、及び補
正データに基づきサーマルヘッドの発熱素子の発熱を制
御して印画媒体に印画する印画の濃度を調整する発熱制
御手段を設けたものである。このように、着目画素の周
辺の画素のデータ、特に次画素を含む周辺画素のデータ
に基づき着目画素データを補正するので、次画素に与え
る余熱の影響が補正され、特に次画素において印画しな
い場合の潰れが防止され、印画品質が向上する。
In order to achieve the above object, a thermal printer according to the present invention is a data printer which corrects target pixel data based on adjacent pixel data, previous pixel data and next pixel data to obtain correction data. A correction means and a heat generation control means for controlling the heat generation of the heating element of the thermal head based on the correction data to adjust the density of a print to be printed on a print medium are provided. As described above, since the target pixel data is corrected based on the data of the pixels around the target pixel, particularly the data of the peripheral pixels including the next pixel, the influence of the residual heat on the next pixel is corrected. Is prevented, and the printing quality is improved.

【0006】また、データ補正手段は、隣接画素データ
と前画素データとに基づき着目画素データを補正し、さ
らに着目画素データまたは上記補正した着目画素データ
と次画素データとの差に基づき補正データを求めるもの
である。補正した着目画素データと次画素データとの差
に基づき補正データを求めるので、次画素への余熱の影
響が補正され、特に次画素において印画しない場合の潰
れが防止され、いわゆる尾引現象も抑制される。
The data correcting means corrects the target pixel data based on the adjacent pixel data and the previous pixel data, and further corrects the corrected data based on the target pixel data or the difference between the corrected target pixel data and the next pixel data. Is what you want. Correction data is obtained based on the difference between the corrected pixel data of interest and the next pixel data, so that the influence of residual heat on the next pixel is corrected, and especially when the next pixel is not printed, collapse is prevented, and the so-called tailing phenomenon is also suppressed. Is done.

【0007】さらに、前画素データは、当該行の前の行
において求められた着目画素の補正データであるもので
ある。前の行において実際に印画された着目画素データ
を前画素データとして用いるので、より的確に余熱の影
響が補正される。
Further, the previous pixel data is correction data of the pixel of interest obtained in the row before the row. Since the target pixel data actually printed in the previous row is used as the previous pixel data, the influence of the residual heat is more accurately corrected.

【0008】そして、着目画素データと隣接画素デー
タ、前画素データ、及び次画素データは、おのおの多値
のデータであるものである。おのおのが多値のデータで
あるので、よりきめ細かな補正データを得て発熱素子を
制御することができ、一層印画品質が向上する。
The pixel data of interest, adjacent pixel data, previous pixel data, and next pixel data are each multi-value data. Since each is multi-valued data, finer correction data can be obtained to control the heating element, and the printing quality can be further improved.

【0009】また、着目画素の印画濃度に影響を与える
影響データに基づき補正データをさらに補正して再補正
データを求める再補正手段を設けたものである。着目画
素の印画に影響を与える影響データにより補正データを
さらに補正するので、種々の影響データの変化に対応で
き、濃度のむらが一層減少する。
Further, there is provided a re-correction means for further correcting the correction data based on the influence data which affects the print density of the target pixel to obtain re-correction data. Since the correction data is further corrected by the influence data that affects the printing of the target pixel, it is possible to cope with various changes in the influence data, and the density unevenness is further reduced.

【0010】さらに、サーマルヘッドは発熱素子が複数
の印画ブロックに分割されて配列されたものであり、影
響データを上記印画ブロックの境界の信号としたもので
ある。サーマルヘッドが複数の印画ブロックに分割され
たものである場合、一の印画ブロックの印画とその隣の
印画ブロックの印画との間に時間差がある。このため、
はじめに印画した印画ブロックのインクが冷却して固ま
ってから隣の印画ブロックの印画を行うことになる。従
って、はじめに印画したインクの後から印画するブロッ
ク側が溶けてインクが表面張力で吸い寄せられてしまう
ので、はじめの印画ブロックの端部における印画が薄く
なり、後の印画ブロックの端部における印画が濃くなる
現象が発生する。この現象を、印画ブロック補正手段を
設けて印画ブロックの境界の信号に基づき補正データを
さらに補正することにより補正するので、印画濃度のむ
らが小さくなる。
Further, the thermal head has heating elements divided into a plurality of printing blocks and arranged, and the influence data is used as a signal of the boundary of the printing blocks. When the thermal head is divided into a plurality of printing blocks, there is a time difference between the printing of one printing block and the printing of the next printing block. For this reason,
After the ink of the printing block printed first cools down and solidifies, printing of the next printing block is performed. Therefore, the block to be printed after the first printed ink melts and the ink is sucked by the surface tension, so that the print at the end of the first print block becomes thinner and the print at the end of the later print block becomes darker. Phenomenon occurs. Since this phenomenon is corrected by further correcting the correction data based on the signal of the boundary of the print block by providing the print block correction means, the unevenness of the print density is reduced.

【0011】そして、影響データを、印画の走査方向の
信号及びこの走査方向と直角な方向である副走査方向の
信号としたものである。ディザ補正手段により、組織的
に印画濃度を変化させるので、濃度の変化が分散して濃
度のむらが目立たなくなる。
The influence data is a signal in the scanning direction of printing and a signal in the sub-scanning direction perpendicular to the scanning direction. Since the print density is systematically changed by the dither correction means, the change in the density is dispersed and the unevenness in the density becomes less noticeable.

【0012】また、影響データを、当該行の1行分の着
目画素データから算出された当該行の印画率としたもの
である。印画率が低いときはサーマルヘッドの共通イン
ピーダンスによる電圧降下が小さくなるが、印画率に基
づいて補正データを補正して再補正データを求める。例
えば、印画率が低いとき再補正データが補正データより
も小さくなるようにし、発熱素子に通電する電流を低減
する。これにより、印画濃度の変化が抑制され印画濃度
のむらが小さくなる。
Further, the influence data is the print rate of the row calculated from the pixel data of interest for one row of the row. When the printing rate is low, the voltage drop due to the common impedance of the thermal head is small, but the correction data is corrected based on the printing rate to obtain re-correction data. For example, when the printing rate is low, the re-correction data is made smaller than the correction data, and the current flowing through the heating element is reduced. As a result, a change in print density is suppressed, and uneven print density is reduced.

【0013】さらに、着目画素データと補正データとを
切り換える又は着目画素データと再補正データとを切り
換えるデータ切換手段を設け、発熱制御手段を切り換え
られた着目画素データまたは補正データあるいは再補正
データに基づき発熱素子の発熱を制御して印画媒体に印
画する印画の濃度を調整するものとしたものである。簡
易に印画したいときに、データ切換手段により切り換え
て、補正しない着目画素データに基づいて印画すること
ができる。補正データあるいは再補正データを用いない
で、補正データあるいは再補正データを求める必要がな
く、その分高速になる。
Further, data switching means for switching between the pixel data of interest and the correction data or switching between the pixel data of interest and the re-correction data is provided, and the heat generation control means is switched based on the switched pixel data of interest, the correction data or the re-correction data. The heat generation of the heating element is controlled to adjust the density of a print to be printed on a print medium. When printing is to be performed easily, the data can be switched by the data switching unit, and printing can be performed based on the target pixel data that is not corrected. There is no need to obtain correction data or re-correction data without using correction data or re-correction data.

【0014】[0014]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1〜図6は、この発明の実施の一形態
を示すプリンタを示すもので、図1は構成を示すブロッ
ク図、図2は印画される用紙上の画素の関係を示す説明
図である。図3は周辺画素参照回路の入出力の関係を説
明するための説明図、図4はサーマルヘッドの動作を示
すシーケンス図である。図5は印画データ比較回路の動
作を説明するための説明図、図6はこの実施の形態にお
ける印画エネルギと印画濃度との関係を示す説明図であ
る。
Embodiment 1 FIG. 1 to 6 show a printer according to an embodiment of the present invention. FIG. 1 is a block diagram showing the configuration, and FIG. 2 is an explanatory diagram showing the relationship between pixels on a sheet to be printed. FIG. 3 is an explanatory diagram for explaining the input / output relationship of the peripheral pixel reference circuit, and FIG. 4 is a sequence diagram showing the operation of the thermal head. FIG. 5 is an explanatory diagram for explaining the operation of the print data comparison circuit, and FIG. 6 is an explanatory diagram showing the relationship between print energy and print density in this embodiment.

【0015】図1において、12はエンジンインターフ
ェース回路であり、プリンタの図示しない画像処理部か
らの二値データを受け取る。14は未来データバッファ
回路であり、未来の一行分、すなわち着目行の次の一行
の二値の未来データPFを受取り、保持する。16は入
力データバッファ回路であり、着目行の1行分の二値の
入力データPNを受取り、保持する。18は過去データ
バッファ回路であり、入力データバッファ回路16から
過去の1行分の二値の過去データPPを受取り、保持す
る。未来、入力、過去データバッファ回路は印画すべき
画素に対応する1ビットのメモリ素子を使って各々の二
値データを保持する。
In FIG. 1, reference numeral 12 denotes an engine interface circuit which receives binary data from an image processing unit (not shown) of the printer. Reference numeral 14 denotes a future data buffer circuit which receives and holds binary future data PF for one row in the future, that is, one row after the row of interest. Reference numeral 16 denotes an input data buffer circuit which receives and holds the binary input data PN for one row of interest. Reference numeral 18 denotes a past data buffer circuit, which receives one line of binary past data PP from the input data buffer circuit 16 and holds it. The future, input, and past data buffer circuits hold each binary data using a 1-bit memory element corresponding to the pixel to be printed.

【0016】20はデータ補正手段としての周辺画素参
照回路であり、詳細は図示しないが加算回路、減算回
路、乗算回路、除算回路及び補正係数記憶回路を有す
る。周辺画素参照回路20は、入力データバッファ回路
16に保持された入力データPNと、未来データバッフ
ァ回路14に保持された未来データPFと、過去データ
バッファ回路18に保持された過去データPPとに基づ
き所定の演算を行う。すなわち、上記加減乗除回路によ
り周辺画素参照回路20が内蔵する補正係数記憶回路に
設定された補正係数を用いて補正した二次補正値X1を
算出する。
Reference numeral 20 denotes a peripheral pixel reference circuit as data correction means, which has an addition circuit, a subtraction circuit, a multiplication circuit, a division circuit, and a correction coefficient storage circuit (not shown in detail). The peripheral pixel reference circuit 20 is based on the input data PN stored in the input data buffer circuit 16, the future data PF stored in the future data buffer circuit 14, and the past data PP stored in the past data buffer circuit 18. Perform a predetermined operation. That is, a secondary correction value X1 corrected by the addition / subtraction / multiplication / division circuit using the correction coefficient set in the correction coefficient storage circuit incorporated in the peripheral pixel reference circuit 20 is calculated.

【0017】22は印画データバッファ回路であり、周
辺画素参照回路20が算出したこれから印画すべき1行
分の補正され多値化された二次補正値X1を補正印画デ
ータPAとして保持する。24はプリンタを制御するプ
リンタ制御回路であり、他の回路の信号を入出力してプ
リンタを制御する。26は印画データ比較回路であり、
印画データバッファ回路22の出力する当該行の補正印
画データPAとプリンタ制御回路24からの信号を入力
して比較し、ヘッドデータPHを出力する。28は発熱
制御手段としての発熱制御回路であり、プリンタ制御回
路24からの制御信号により後述のサーマルヘッド30
の発熱を制御する。
Reference numeral 22 denotes a print data buffer circuit which holds the corrected and multivalued secondary correction value X1 for one line to be printed from now on, which is calculated by the peripheral pixel reference circuit 20, as corrected print data PA. A printer control circuit 24 controls the printer by inputting and outputting signals from other circuits. 26 is a printing data comparison circuit,
The corrected print data PA of the row output from the print data buffer circuit 22 and the signal from the printer control circuit 24 are input and compared, and head data PH is output. Reference numeral 28 denotes a heat generation control circuit as heat generation control means.
To control the heat generation of

【0018】30はサーマルヘッドであり、印画データ
比較回路26のヘッドデータPHと発熱制御回路28の
出力とがヘッドデータ信号とストローブ信号として入力
される。32はセンサ入力回路であり、プリンタの用紙
の有無、用紙のサイズ、インクシートの位置などを検出
する図示しない複数のセンサの出力を信号に変換して、
プリンタ制御回路24へ出力する。34はモータ駆動回
路であり、プリンタ制御回路24の出力信号から用紙送
りモータやインク送りモータなどを駆動する。
A thermal head 30 receives the head data PH of the print data comparison circuit 26 and the output of the heat generation control circuit 28 as a head data signal and a strobe signal. Reference numeral 32 denotes a sensor input circuit, which converts outputs of a plurality of sensors (not shown) for detecting presence / absence of paper in the printer, paper size, positions of ink sheets, and the like into signals.
Output to the printer control circuit 24. Reference numeral 34 denotes a motor drive circuit which drives a paper feed motor, an ink feed motor, and the like from an output signal of the printer control circuit 24.

【0019】次に動作を説明する。図示しないプリンタ
の画像処理部から送られた二値データ、すなわち1画素
が1ビットに対応し、印画の有無を1ビットのデータで
表した一行ごとのデータは、未来、当該行(入力行)、
過去の各データバッファ回路14、16、18に順次送
られ、保持される。保持された入力及び未来データP
N、PFは周辺画素参照回路20に入力される。また、
過去データバッファ回路18に蓄積されている当該行の
直前の過去データPPも同様に周辺画素参照回路20に
入力される。なお、印画開始の最初の1行目においては
過去データPPはないので、その値は0である。
Next, the operation will be described. Binary data sent from an image processing unit of a printer (not shown), that is, data for each row in which one pixel corresponds to one bit and whether or not printing is performed is represented by 1-bit data, is the future row (input row). ,
The data is sequentially sent to and held in the past data buffer circuits 14, 16, and 18. Retained input and future data P
N and PF are input to the peripheral pixel reference circuit 20. Also,
The past data PP immediately before the row stored in the past data buffer circuit 18 is similarly input to the peripheral pixel reference circuit 20. Since there is no past data PP in the first line at the start of printing, the value is 0.

【0020】ここで、周辺画素参照回路20の動作につ
いて説明する。プリンタにおいて、図2に示す様に、用
紙の水平方向である横軸が走査方向であり、用紙の垂直
方向である縦軸が副走査方向である。ここで印画する当
該行の任意の着目画素をxとし、画素xの上に既に印画
した前画素としての過去の画素aがある。画素xの左に
隣接する画素b、画素xの右に隣接する画素c、着目画
素xの下に次に印画される次画素としての未来の画素d
があるものとして説明する。
Here, the operation of the peripheral pixel reference circuit 20 will be described. In the printer, as shown in FIG. 2, the horizontal axis which is the horizontal direction of the paper is the scanning direction, and the vertical axis which is the vertical direction of the paper is the sub-scanning direction. Here, an arbitrary pixel of interest in the row to be printed is x, and there is a past pixel a as a previous pixel already printed on the pixel x. A pixel b adjacent to the left of the pixel x, a pixel c adjacent to the right of the pixel x, and a future pixel d as a next pixel to be printed next below the target pixel x
It will be explained as if there is.

【0021】周辺画素参照回路20で前(過去)画素、
左右(隣接)画素、後(未来)画素を参照する。周辺画
素参照回路20は、前画素データとしての前画素aの値
A及び隣接画素のデータとしての左右画素b、cの値
B、Cを参照して、例えば次の式に示す演算を行い、着
目画素xの値Xを補正して一次補正値Xaを算出する。
すなわち、前画素の余熱、左右画素の熱の影響を補正す
る。ここで、二値データにおいて印画があるときを10
0Eとし、印画が無いときを0とする。Eは周辺画素参
照回路20において多値化を行うときの多値化データの
単位を表すもので、任意の値を選定してよい。多値化デ
ータは発熱制御回路28が制御できる範囲の分割数をと
り、例えば発熱制御回路28が印画行または印画ブロッ
クの発熱量を100分割して制御する場合、周辺画素参
照回路20により多値化された多値化データは0から1
00Eの値をとる。
In the peripheral pixel reference circuit 20, the previous (past) pixel,
The left and right (adjacent) pixels and the subsequent (future) pixels are referred to. The peripheral pixel reference circuit 20 refers to the value A of the previous pixel a as the previous pixel data and the values B and C of the left and right pixels b and c as the data of the adjacent pixels, and performs, for example, an operation represented by the following equation: The primary correction value Xa is calculated by correcting the value X of the target pixel x.
That is, the effects of the residual heat of the previous pixel and the heat of the left and right pixels are corrected. Here, when there is a print in the binary data, 10
0E and 0 when there is no print. E represents a unit of multi-level data when multi-level conversion is performed in the peripheral pixel reference circuit 20, and an arbitrary value may be selected. The multi-valued data takes the number of divisions in a range that can be controlled by the heat generation control circuit 28. For example, when the heat generation control circuit 28 controls the heat generation amount of a printing line or a printing block by dividing it into 100, the peripheral pixel reference circuit 20 controls the multi-valued data. Converted multi-valued data is from 0 to 1
Take the value of 00E.

【0022】一次補正値Xaを次の式(1)にて求め
る。なお、以下の計算式では多値化データの単位Eを省
いて表している。 Xa=[1−{A・α+((B+C)/2))・β}/100×2]X ・・・(1) 次に、二次補正値X1を次の式(2)あるいは式(3)
にて求める。着目画素xの値Xが後画素dの値Dよりも
大きいとき(X>D)に限って一次補正値Xaを補正し
て二次補正値X1として用い、小さいとき(X≦D)は
一次補正値Xaをそのまま二次補正値X1として用い
る。X≦Dのときは、着目画素xの印画エネルギが後画
素dへ与える影響が小さいからである。 X>D ならば X1=Xa−(X−D)γ ・・・(2) X≦D ならば X1=Xa ・・・(3) ここに、α、β、γは補正係数、A、B、C、D、Xは
各画素a、b、c、d、xの値である。
The primary correction value Xa is obtained by the following equation (1). In the following formula, the unit E of the multilevel data is omitted. Xa = [1- {A · α + ((B + C) / 2)) · β} / 100 × 2] X (1) Next, the secondary correction value X1 is calculated by the following equation (2) or ( 3)
Ask at. The primary correction value Xa is corrected and used as the secondary correction value X1 only when the value X of the pixel of interest x is larger than the value D of the subsequent pixel d (X> D). The correction value Xa is used as it is as the secondary correction value X1. This is because when X ≦ D, the influence of the printing energy of the target pixel x on the subsequent pixel d is small. If X> D, X1 = Xa− (X−D) γ (2) If X ≦ D, X1 = Xa (3) where α, β, and γ are correction coefficients, and A and B , C, D, and X are the values of each pixel a, b, c, d, and x.

【0023】すなわち、着目画素xの熱の影響によって
後画素dの濃度が濃くなるのを防止するために、着目画
素xの値Xと後画素dの値Dとの差、つまり濃度の差に
比例して、着目画素xの濃度を下げる補正を行う。この
とき、γは影響の度合いを示すことになる。補正係数
α、β、γは、この実施の形態ではそれぞれ0.8、
0.2、0.1とした。これらの係数は、前の画素aの
影響が最も大きく、左右の画素b、cの影響は比較的小
さいこと、及び後画素dへの影響を考慮して決定した。
このとき、上記(1)、(2)、(3)は次のように表
される。
That is, in order to prevent the density of the subsequent pixel d from becoming high due to the influence of heat of the target pixel x, the difference between the value X of the target pixel x and the value D of the subsequent pixel d, that is, the density difference Correction is performed in proportion to decrease the density of the target pixel x. At this time, γ indicates the degree of influence. The correction coefficients α, β, and γ are respectively 0.8 in this embodiment,
0.2 and 0.1. These coefficients were determined in consideration of the effect of the preceding pixel a being the largest, the effect of the left and right pixels b and c being relatively small, and the effect of the following pixel d.
At this time, the above (1), (2), and (3) are expressed as follows.

【0024】 Xa=[1−{A×0.8+((B+C)/2))×0.2}/200]X ・・・(4) X>D ならば X1=Xa−(X−D)×0.1 ・・・(5) X≦D ならば X1=Xa ・・・(6) この算式(4)、(5)、(6)に基づいて周辺画素参
照回路20で算出した一次補正値Xa、二次補正値X1
の一例を図3に示す。なお、これらの図において、行番
1、2、3、・・・ はこれから印画しようとする当該
行における画素に便宜上番号を付したものである。そし
て、この番号順に画素が図2における左端から走査方向
に連続して並んでいるものとし、何行かを印画した後、
次に印画する場合のデータの例を示す。
Xa = [1- {A × 0.8 + ((B + C) / 2)) × 0.2} / 200] X (4) If X> D, X1 = Xa− (X−D) ) × 0.1 (5) If X ≦ D, X1 = Xa (6) Primary calculated by peripheral pixel reference circuit 20 based on equations (4), (5), and (6) Correction value Xa, secondary correction value X1
FIG. 3 shows an example. In these figures, row numbers 1, 2, 3,... Indicate the pixels on the row to be printed from now on with numbers for convenience. Then, it is assumed that the pixels are sequentially arranged in the scanning direction from the left end in FIG. 2 in the order of the numbers, and after printing several lines,
Next, an example of data for printing will be described.

【0025】図3において、行番1における画素は一番
左の端の画素であるから、左画素bはないので、Bは0
としている。図3から明らかなように、二次補正値X1
は後画素dの値Dが100Eのときは、例えば行番1〜
7のごとく、一次補正値Xaに対して補正されない。後
画素dの値Dが0のときは、例えば行番8、9、12の
ごとく、一次補正値Xaより小さくなるように補正され
る。このようにして、Xが大きいときに、次の行の印画
の時に次の行における着目画素に与える影響が小さくな
るようにしている。以上のようにして順次算出された1
行分の二次補正値X1は、補正印画データPAとして印
画データバッファ回路22に蓄積される。
In FIG. 3, since the pixel in row number 1 is the leftmost pixel, there is no left pixel b, so B is 0.
And As is clear from FIG. 3, the secondary correction value X1
When the value D of the rear pixel d is 100E, for example, row numbers 1 to
7, the correction is not performed on the primary correction value Xa. When the value D of the subsequent pixel d is 0, the correction is made to be smaller than the primary correction value Xa, for example, as shown in row numbers 8, 9, and 12. In this way, when X is large, the influence on the target pixel in the next row is reduced when printing the next row. 1 calculated sequentially as described above
The secondary correction values X1 for the rows are stored in the print data buffer circuit 22 as corrected print data PA.

【0026】次に印画データ比較回路26は図4に示す
ようなシーケンス動作を行う。プリンタ制御回路24か
ら印画データバッファ回路22に対して1行分の補正印
画データPA(二次補正値X1の集合)を出力するよう
に指令する制御信号が送られ、同時に印画データ比較回
路26へ最初の発熱番号の1に対応した補正印画データ
PAが送られる。印画データ比較回路26では補正印画
データPAと発熱番号の1とを比較する。
Next, the print data comparison circuit 26 performs a sequence operation as shown in FIG. A control signal for instructing the print data buffer circuit 22 to output one line of corrected print data PA (a set of secondary correction values X1) is sent from the printer control circuit 24 to the print data buffer circuit 22. Corrected print data PA corresponding to the first heat generation number 1 is sent. The print data comparison circuit 26 compares the corrected print data PA with the heat generation number 1.

【0027】補正印画データPAが発熱番号1と等しい
かまたは大きい場合にヘッドデータPHのデータを1と
してサーマルヘッド30へ出力する。補正印画データP
Aが発熱番号1より小さい場合には印画しないデータ0
(零)をサーマルヘッド30へ出力する。このデータの
送出は、ヘッドクロックに合わせてサーマルヘッドの画
素の数分だけ繰り返される。次に、プリンタ制御回路2
4からサーマルヘッド30へラッチ信号が送られサーマ
ルヘッド30へ送られた各画素に対応するデータはヘッ
ドデータとしてサーマルヘッド30の図示しないラッチ
回路に保持される。
When the correction print data PA is equal to or larger than the heat generation number 1, the data of the head data PH is set to 1 and output to the thermal head 30. Corrected print data P
Data 0 not printed when A is smaller than heat generation number 1
(Zero) is output to the thermal head 30. The transmission of this data is repeated by the number of pixels of the thermal head in accordance with the head clock. Next, the printer control circuit 2
4 sends a latch signal to the thermal head 30 and data corresponding to each pixel sent to the thermal head 30 is held as head data in a latch circuit (not shown) of the thermal head 30.

【0028】プリンタ制御回路24は発熱制御回路28
に発熱番号の1に対応した発熱を指示し、発熱制御回路
28は発熱番号の1に対応したヘッドストローブ信号を
サーマルヘッド30へ送る。サーマルヘッド30ではヘ
ッドデータの1、0に対応して各画素の画素において所
定エネルギ量だけ発熱させる。なお、ヘッドストローブ
信号は、図4に示すように初回を長くして加熱時間を多
くとるようにして立ち上がり時の熱が不足しないよう補
償をしている。次に、プリンタ制御回路24は発熱番号
を1だけ増加し、同様の動作を発熱番号が発熱制御回路
28が制御可能な分割数に等しくなるまで繰り返す。こ
の場合、発熱番号100まで繰り返す。
The printer control circuit 24 includes a heat generation control circuit 28
The heating control circuit 28 sends a head strobe signal corresponding to the heating number 1 to the thermal head 30. In the thermal head 30, each pixel generates heat by a predetermined amount of energy corresponding to 1 and 0 of the head data. As shown in FIG. 4, the head strobe signal is compensated so that the initial heat is increased and the heating time is increased so that the heat at the time of rising is not insufficient. Next, the printer control circuit 24 increases the heat generation number by 1, and repeats the same operation until the heat generation number becomes equal to the number of divisions that the heat generation control circuit 28 can control. In this case, the process is repeated up to the heat generation number 100.

【0029】図5は印画データ比較回路26の出力例を
示す説明図であるが、図5に示すように未来、入力、過
去データバッファ回路14、16、18にそれぞれ未
来、入力、過去データPF、PN、PPが、100Eま
たは0として保持されている。周辺画素参照回路20か
ら図5のような1行分の二次補正値X1(図3を参照)
の集合である補正印画データPAが出力される。この補
正印画データPAを、発熱番号の1との比較から100
との比較まで順に行い、各比較の都度サーマルヘッドに
発熱データが送られる。例えば、左端の画素の二次補正
値X1は55であるので、発熱番号が1から55の場合
に発熱データが1となり、55に相当するエネルギ量だ
け発熱し、発熱番号56から100の場合に発熱データ
が0となり発熱しない。すなわち、55のエネルギで印
画したことになり発熱量が制御される。
FIG. 5 is an explanatory diagram showing an output example of the print data comparison circuit 26. As shown in FIG. 5, the future, input, and past data PF are supplied to the future, input, and past data buffer circuits 14, 16, and 18, respectively. , PN, PP are held as 100E or 0. The secondary correction value X1 for one row as shown in FIG. 5 from the peripheral pixel reference circuit 20 (see FIG. 3).
Is output as corrected print data PA. The corrected print data PA is calculated as 100
The heat generation data is sent to the thermal head for each comparison. For example, since the secondary correction value X1 of the leftmost pixel is 55, the heat generation data becomes 1 when the heat generation number is 1 to 55, and heat is generated by the energy amount corresponding to 55, and when the heat generation number is 56 to 100, The heat generation data becomes 0 and no heat is generated. That is, the printing is performed with the energy of 55, and the calorific value is controlled.

【0030】当該行の各画素について、二次補正値X1
に応じて発熱量を制御することにより、副走査方向にお
いて次の行の画素dに印画しない部分があるとき、すな
わち印画エネルギが零になる未来画素があるときに当該
着目画素xの印画濃度を補正減少させて、未来画素dに
余熱が殆ど残らないようにする。このように制御したと
きの副走査方向(紙送り方向)におけるエネルギEN及
び印画濃度DNを図6に示す。
For each pixel in the row, the secondary correction value X1
By controlling the heat generation amount in accordance with the above, when there is a non-printing portion in the pixel d of the next row in the sub-scanning direction, that is, when there is a future pixel whose printing energy becomes zero, the printing density of the target pixel x is changed. The correction is reduced so that little residual heat remains in the future pixel d. FIG. 6 shows the energy EN and the print density DN in the sub-scanning direction (paper feed direction) under such control.

【0031】図6において、印画しない画素の前の画素
において、エネルギを小さくすることにより予め印画濃
度を下げ、次の印画しない画素において印画濃度がほぼ
零にする。このようにして、本来印画したくないのに印
画されてしまういわゆる尾引現象を防止し、印画品質を
向上させることができる。特に、べた印画の中に印画し
ない横線がある場合に、その横線の直前の印画におい
て、次の印画行の印画の有無の判断をし、印画エネルギ
の調節を行うので、印画しない部分である白の横線が潰
れたり、細くなったりすることを防止できる。
In FIG. 6, the printing density is reduced in advance by reducing the energy at the pixel before the non-printing pixel, and the printing density at the next non-printing pixel is made substantially zero. In this way, it is possible to prevent a so-called trailing phenomenon in which printing is performed when printing is not originally desired, and to improve printing quality. In particular, when there is a horizontal line that is not printed in the solid print, in the print immediately before the horizontal line, the presence or absence of printing of the next print line is determined, and the print energy is adjusted. The horizontal line can be prevented from being crushed or thinned.

【0032】実施の形態2.図7はこの発明の他の実施
の形態の要部を示す要部構成図、図8は周辺画素参照回
路の入出力の関係を説明するための説明図である。図1
の実施の形態では、例えば図3の行番1のように印画す
る画素xの値が100Eであり、画素xの周囲の各画素
a、b、c、dの値A、B、C、Dが100、0、10
0、100(E)であるとする。着目画素xの印画は周
囲の画素を参照して補正する算式(4)、(5)、
(6)によった場合、画素xの発熱量は55Eで印画す
る。そして、続いて次の行を印画する場合、前の行にお
ける画素xは今回印画しようとする行における画素aに
相当する。従って、例えば行番1の画素aは実際には5
5Eで印画しているにもかかわらず、参照した過去デー
タバッファ回路18の内容が入力データバッファ回路1
6から転送された二値データのために、補正されずに1
00Eとなっている。
Embodiment 2 FIG. FIG. 7 is a main part configuration diagram showing a main part of another embodiment of the present invention, and FIG. 8 is an explanatory diagram for explaining an input / output relationship of a peripheral pixel reference circuit. FIG.
In the embodiment, for example, the value of the pixel x to be printed is 100E and the values A, B, C, and D of the pixels a, b, c, and d around the pixel x as shown in row number 1 in FIG. Is 100, 0, 10
0, 100 (E). The printing of the pixel of interest x is corrected by referring to the surrounding pixels (4), (5),
In the case of (6), printing is performed at a heating value of 55E of the pixel x. Then, when subsequently printing the next row, the pixel x in the previous row corresponds to the pixel a in the row to be printed this time. Therefore, for example, pixel a in row number 1 is actually 5
5E, the contents of the past data buffer circuit 18 referred to are the same as those of the input data buffer circuit 1.
6 because of the binary data transferred from 6
00E.

【0033】そこで、この実施の形態は、よりきめ細か
く補正するために、図1の過去データバッファ回路18
に代えて、多値化された過去データを記憶する過去デー
タバッファ回路を設けたものである。図7において、4
8は過去データバッファ回路であり、先の行において周
辺画素参照回路20により算出された1行分の二次補正
値X1を印画データバッファ回路22から受け取り過去
データPP ̄Mとして保持する。
Therefore, in this embodiment, the past data buffer circuit 18 shown in FIG.
, A past data buffer circuit for storing multi-valued past data is provided. In FIG. 7, 4
Reference numeral 8 denotes a past data buffer circuit, which receives the secondary correction value X1 for one row calculated by the peripheral pixel reference circuit 20 in the previous row from the print data buffer circuit 22, and stores it as past data PP @ M.

【0034】ここで、過去データバッファ回路48は、
二次補正値X1が最大100Eであれば7ビットのメモ
リ素子を使って保持することになる。周辺画素参照回路
20は、未来データバッファ回路14と入力データバッ
ファ回路16との二値データPF、PN及び過去データ
バッファ回路48の過去データPP ̄Mに基づき、算式
(4)、(5)、(6)により二次補正値X1を算出
し、印画データバッファ回路22へ出力して多値補正印
画データPA ̄Mとして保持する。
Here, the past data buffer circuit 48
If the secondary correction value X1 is 100E at the maximum, it is held using a 7-bit memory element. The peripheral pixel reference circuit 20 calculates the equations (4), (5), and (2) based on the binary data PF and PN of the future data buffer circuit 14 and the input data buffer circuit 16 and the past data PP @ M of the past data buffer circuit 48. The secondary correction value X1 is calculated by (6), output to the print data buffer circuit 22, and held as multi-value corrected print data PA @ M.

【0035】その他の構成については、図1に示したも
のと同様であるので、相当するものに同一符号を付して
説明を省略する。なお、図示していないが、図1に示し
たものと同様のプリンタ制御回路24、印画データ比較
回路26、発熱制御回路28、サーマルヘッド30、セ
ンサ32、モータ駆動回路34を備えている。
The other components are the same as those shown in FIG. 1. Therefore, corresponding components are denoted by the same reference numerals and description thereof is omitted. Although not shown, a printer control circuit 24, a print data comparison circuit 26, a heat generation control circuit 28, a thermal head 30, a sensor 32, and a motor drive circuit 34 similar to those shown in FIG. 1 are provided.

【0036】次に、図8により周辺画素参照回路20の
演算結果を説明する。前の行において、図3に示す二次
補正値X1で印画されたとすると、過去データバッファ
回路48には前の行における二次補正値X1が前画素a
の値Aとして蓄えられる。従って、次の行を印画する場
合、前の行における印画エネルギに応じて一次補正値X
a、二次補正値X1ともに補正される。すなわち、過去
データバッファ回路48に過去データとして多値化デー
タを蓄えることにより、図3の行番1の場合二次補正値
X1は55Eであるのに対し、この実施の形態によった
場合は、図8の行番1に示すように、前の行の実際のエ
ネルギである55Eを画素aの値Aとして用いて、多め
のエネルギ73Eで印画する。このようにして、印画す
る画素の前の行の補正された画素に対する参照補正をお
こなうことができる。
Next, the operation result of the peripheral pixel reference circuit 20 will be described with reference to FIG. Assuming that printing is performed with the secondary correction value X1 shown in FIG. 3 in the previous row, the secondary correction value X1 in the previous row is stored in the past data buffer circuit 48 in the previous pixel a.
Is stored as a value A. Therefore, when printing the next line, the primary correction value X is determined according to the printing energy in the previous line.
a and the secondary correction value X1 are both corrected. That is, by storing multilevel data as past data in the past data buffer circuit 48, the secondary correction value X1 is 55E in the case of the row number 1 in FIG. As shown in row number 1 in FIG. 8, printing is performed with a larger energy 73E using the actual energy 55E of the previous row as the value A of the pixel a. In this manner, reference correction can be performed on the corrected pixels in the row before the pixels to be printed.

【0037】なお、図7においては過去データバッファ
回路48は1行分の過去データPP ̄Mを記憶する場合
を説明したが、複数行分の過去データPP ̄Mを保持し
て、複数の過去データPP ̄Mを参照するようにしてよ
い。この場合、印画データバッファ回路22から印画デ
ータ比較回路26(図1参照)へ補正印画データPA ̄
Mを送る都度、補正印画データPA ̄Mを過去データバ
ッファ回路48へ取込み、複数の過去データPP ̄Mと
して保持する。
Although the case where the past data buffer circuit 48 stores the past data PP # M for one row has been described with reference to FIG. The data PP @ M may be referred to. In this case, the corrected print data PA # is sent from the print data buffer circuit 22 to the print data comparison circuit 26 (see FIG. 1).
Each time M is sent, the corrected print data PA @ M is taken into the past data buffer circuit 48 and held as a plurality of past data PP @ M.

【0038】また、過去データバッファ回路48は印画
データバッファ回路22から多値化データPA ̄Mを得
なくとも、周辺画素参照回路20から二次補正値X1を
得て過去データPP ̄Mとして蓄積しても、同様の効果
を得る。さらに、現在行における左右の画素c、dの値
は実際の出力である二次補正値X1を参照していない。
これは左右の画素b、cの影響は比較的小さいので補正
しない値Xを参照しても影響がないことによる。演算に
時間を要するが、各画素xにおける各値X1が収束する
まで計算を行い、収束して補正されたX1を左右の値
B、Cとして用いることもできる。
The past data buffer circuit 48 obtains the secondary correction value X1 from the peripheral pixel reference circuit 20 and accumulates it as the past data PP @ M without obtaining the multivalued data PA @ M from the print data buffer circuit 22. However, the same effect can be obtained. Further, the values of the left and right pixels c and d in the current row do not refer to the secondary correction value X1, which is the actual output.
This is because the influence of the left and right pixels b and c is relatively small, so that there is no influence even if the value X that is not corrected is referred to. Although a long time is required for the calculation, the calculation may be performed until each value X1 at each pixel x converges, and the converged and corrected X1 may be used as the left and right values B and C.

【0039】この実施の形態においては以上のように動
作するので、図1の過去データバッファ回路18には補
正前の二値データPPが保持されるのに対し、過去デー
タバッファ回路48においては補正され実際に出力され
た補正印画データPP ̄Mを過去データとして保持す
る。そして、この補正印画データPP ̄Mを周辺画素参
照回路20における演算に用いるので、実際に印画した
エネルギとの間に微妙なずれが生じて印画濃度にむらが
発生するのを低減できる。印画データの参照の精度を向
上することで周辺画素の参照を精度よく行い、周囲画素
の影響に対してきめ細かい印画エネルギ補正をおこない
印画品質を向上する。
In this embodiment, since the operation is performed as described above, binary data PP before correction is held in the past data buffer circuit 18 in FIG. Then, the corrected print data PP # M actually output is held as past data. Since the corrected print data PP # M is used for the calculation in the peripheral pixel reference circuit 20, it is possible to reduce the occurrence of a slight deviation from the actually printed energy and the uneven print density. By improving the reference accuracy of print data, reference of peripheral pixels is performed with high accuracy, and fine print energy correction is performed for the influence of peripheral pixels, thereby improving print quality.

【0040】実施の形態3.図9〜図13は、さらにこ
の発明の他の実施の形態を示すものであり、図9はプリ
ンタの構成を示すブロック図、図10は周辺画素参照回
路の演算を説明するための説明図である。図11は周辺
画素参照回路の他の算式による演算を説明するための説
明図、図12及び図13は周辺画素参照回路のさらに他
の算式による演算を説明するための説明図である。図1
あるいは図7の実施の形態においては、入力データP
N、未来データPFは二値データであった。しかし、例
えば昇華形のプリンタの場合、入力及び未来データが多
値で送られてくるのが、一般的である。この実施の形態
は、このような多値のデータに対応するものである。
Embodiment 3 9 to 13 show still another embodiment of the present invention. FIG. 9 is a block diagram showing a configuration of a printer, and FIG. 10 is an explanatory diagram for explaining an operation of a peripheral pixel reference circuit. is there. FIG. 11 is an explanatory diagram for explaining the operation of the peripheral pixel reference circuit by another expression, and FIGS. 12 and 13 are explanatory diagrams for explaining the operation of the peripheral pixel reference circuit by another expression. FIG.
Alternatively, in the embodiment of FIG.
N, the future data PF was binary data. However, in the case of a sublimation type printer, for example, it is common that input and future data are sent in multi-valued form. This embodiment corresponds to such multi-value data.

【0041】まず、構成について説明する。図9におい
て、42はエンジンインターフェース回路であり、プリ
ンタの図示しない画像処理部からの多値データ(データ
の範囲0〜100E)を受け取る。44は未来データバ
ッファ回路であり、未来の一行分、すなわち着目行の次
の一行の多値の未来データPF ̄Mを受取り、保持す
る。46は入力データバッファ回路であり、着目行の1
行分の多値の入力データPN ̄Mを受取り、保持する。
48は過去データバッファ回路であり、入力データバッ
ファ回路46から過去の1行分の多値の過去データPP
 ̄Mを受取り、保持する。未来、入力、過去データバッ
ファ回路44、46、48は印画すべき画素に対応する
7ビットのメモリ素子を使って各々の多値データを保持
する。
First, the configuration will be described. In FIG. 9, reference numeral 42 denotes an engine interface circuit which receives multivalued data (data range 0 to 100E) from an image processing unit (not shown) of the printer. Reference numeral 44 denotes a future data buffer circuit which receives and holds multi-valued future data PF # M of one line in the future, that is, one line after the line of interest. Reference numeral 46 denotes an input data buffer circuit,
The multi-valued input data PN @ M for a row is received and held.
Reference numeral 48 denotes a past data buffer circuit, which is a multi-valued past data PP of one row in the past from the input data buffer circuit 46.
 ̄ Receive and hold M. The future, input, and past data buffer circuits 44, 46, and 48 use a 7-bit memory element corresponding to the pixel to be printed, and hold each multi-value data.

【0042】その他の構成については、図1に示したも
のと同様であるので、相当するものに同一符号を付して
説明を省略する。なお、図示していないが、図1に示し
たものと同様のプリンタ制御回路24、印画データ比較
回路26、発熱制御回路28、サーマルヘッド30、セ
ンサ32、モータ駆動回路34を備えている。
The other components are the same as those shown in FIG. 1, and the corresponding components are denoted by the same reference numerals and description thereof will be omitted. Although not shown, a printer control circuit 24, a print data comparison circuit 26, a heat generation control circuit 28, a thermal head 30, a sensor 32, and a motor drive circuit 34 similar to those shown in FIG. 1 are provided.

【0043】周辺画素参照回路20の動作は、図1のも
のと同様であり、入力された多値の過去、入力、未来デ
ータPP ̄M、PN ̄M、PF ̄Mに基づいて、算式
(4)、(5)、(6)により一次補正値Xa、補正デ
ータとしての二次補正値X1を算出する。算出例を図1
0に示す。前画素a、着目画素x、後画素dの多値化さ
れた値A、X、Dに対応して一次補正値Xa、二次補正
値X1を算出したものである。図10に示すように、
(X−D)>0のとき、二次補正値X1が一次補正値X
aよりも小さくなるように補正されている。すなわち、
後画素dの印画エネルギが小さいときは、着目画素xの
印画エネルギを小さくなるように補正して、後画素が受
ける前画素の影響を軽減する。(X−D)≦0のとき
は、二次補正をしない。後画素dの値Dが大きい(濃度
が高い)ときは、次の画素dも印画するので必ずしも補
正を必要としないからである。
The operation of the peripheral pixel reference circuit 20 is the same as that shown in FIG. 1, and based on the input multi-valued past, input, and future data PP @ M, PN @ M, and PF @ M, an equation ( 4), (5) and (6) are used to calculate a primary correction value Xa and a secondary correction value X1 as correction data. Figure 1 shows an example of calculation
0 is shown. The primary correction value Xa and the secondary correction value X1 are calculated corresponding to the multivalued values A, X, and D of the previous pixel a, the pixel of interest x, and the rear pixel d. As shown in FIG.
When (X−D)> 0, the secondary correction value X1 becomes the primary correction value X
It has been corrected to be smaller than a. That is,
When the printing energy of the rear pixel d is small, the printing energy of the target pixel x is corrected to be small, and the influence of the front pixel on the rear pixel is reduced. When (XD) ≦ 0, no secondary correction is performed. This is because when the value D of the subsequent pixel d is large (the density is high), the next pixel d is also printed, so that correction is not necessarily required.

【0044】以上では、周辺画素参照回路20は、
(5)、(6)式に示すように着目画素と後画素dの値
の差(X−D)に比例して補正するものであった。しか
し、周辺画素参照回路20を次のようにすることもでき
る。すなわち、後画素dの値Dがある一定の値以下の場
合にだけ一次補正値Xaを補正する。後画素dの値Dが
所定の上限値K以下の場合にだけ補正を行うように、補
正データとしての第2の二次補正値X2を定める。 D>K ならば X2=Xa ・・・(7) D≦K ならば X2=X1 ・・・(8) 例えば、(4)、(5)、(6)式に基づいて一次及び
二次補正値Xa及びX1を算出し、上記(7)、(8)
式により補正データとしての第2の二次補正値X2を決
定する。
In the above, the peripheral pixel reference circuit 20
As shown in the equations (5) and (6), the correction is made in proportion to the difference (XD) between the value of the target pixel and the value of the subsequent pixel d. However, the peripheral pixel reference circuit 20 can be configured as follows. That is, the primary correction value Xa is corrected only when the value D of the subsequent pixel d is equal to or less than a certain value. A second secondary correction value X2 as correction data is determined so that correction is performed only when the value D of the subsequent pixel d is equal to or smaller than a predetermined upper limit K. If D> K, X2 = Xa (7) If D ≦ K, X2 = X1 (8) For example, primary and secondary correction based on equations (4), (5), and (6) The values Xa and X1 are calculated, and the above (7), (8)
A second secondary correction value X2 as correction data is determined by the equation.

【0045】図11は、K=50とした場合の、一次補
正値Xa、二次補正値X1、第2の二次補正値X2を示
す説明図である。図11において、行番1、4、6、
7、10、11、13の後画素dの値Dは50を超える
ので(D>50)、第2の二次補正値X2は一次補正値
Xaと同じ値になる。行番2、3、5、8、9、12、
14の後画素dの値Dは50以下なので算式(8)に基
づき一次補正値Xaの補正を行い、二次補正値X1を第
2の二次補正値X2として出力する
FIG. 11 is an explanatory diagram showing the primary correction value Xa, the secondary correction value X1, and the second secondary correction value X2 when K = 50. In FIG. 11, row numbers 1, 4, 6,
Since the value D of the subsequent pixel d of 7, 10, 11, 13 exceeds 50 (D> 50), the second secondary correction value X2 becomes the same value as the primary correction value Xa. Line numbers 2, 3, 5, 8, 9, 12,
Since the value D of the pixel d after 14 is 50 or less, the primary correction value Xa is corrected based on equation (8), and the secondary correction value X1 is output as the second secondary correction value X2.

【0046】さらに、後画素dが印画しない場合に、す
なわち後画素dの値Dが零の場合に、尾引を少なくする
補正を行うことが考えられる。これは、後画素dが濃度
が薄くとも印画する場合は尾引のむらは目立たないが、
全く印画しない場合には尾引きが目立つような場合があ
る。これは、インクの特性によるものである。この場合
は、後画素dの値Dが零のときだけ着目画素xの濃度を
下げる補正を行う。すなわち、次のようにして補正デー
タとしての第3の二次補正値X3を算出する。 D>0 ならば X3=X1 ・・・(9) D=0 ならば X3=X1・δ ・・(10) ここに、δは補正係数である。図12に、δ=0.9と
したときの第3の二次補正値X3の値を示す。行番6
は、後画素dの値Dが零なので第3の二次補正値X3が
一次補正値Xaの90[%]に低減される。
Further, when the rear pixel d does not print, that is, when the value D of the rear pixel d is zero, it is conceivable to perform correction to reduce the tailing. This is because the trailing unevenness is not conspicuous when printing is performed even if the subsequent pixel d has a low density,
If no print is made, the tailing may be noticeable. This is due to the characteristics of the ink. In this case, the correction for lowering the density of the target pixel x is performed only when the value D of the subsequent pixel d is zero. That is, the third secondary correction value X3 as correction data is calculated as follows. If D> 0, X3 = X1 (9) If D = 0, X3 = X1Xδ (10) where δ is a correction coefficient. FIG. 12 shows the value of the third secondary correction value X3 when δ = 0.9. Line number 6
Since the value D of the subsequent pixel d is zero, the third secondary correction value X3 is reduced to 90% of the primary correction value Xa.

【0047】さらに、着目画素xの値Xと後画素dの値
Dとの差が一定値以下であれば、尾引による影響が少な
いので補正しない方がかえって印画品質が向上する。そ
こで、周辺画素参照回路20を次の演算を行うように構
成する。画素の値の差(X−D)が所定値Mを超える場
合は補正を行わず、所定値M以下の場合は補正を行い補
正データとしての第4の二次補正値X4を出力する。す
なわち、 (X−D)>M ならば X4=Xa ・・(11) (X−D)≦M ならば X4=X1 ・・(12) とする。図13は、M=25としたときの第4の二次補
正値X4の算出例を示す説明図である。行番2、4、
6、8、10の着目画素xと後画素dとの差(X−D)
が大きい場合に、第4の二次補正値X4は一次補正値X
aから二次補正値X1に補正低減されている。
Further, if the difference between the value X of the pixel of interest x and the value D of the succeeding pixel d is equal to or less than a certain value, the effect of tailing is small, so that the correction is not performed, so that the printing quality is improved. Therefore, the peripheral pixel reference circuit 20 is configured to perform the following operation. When the difference (X-D) between the pixel values exceeds the predetermined value M, no correction is performed, and when the difference (X-D) is equal to or smaller than the predetermined value M, the correction is performed and a fourth secondary correction value X4 is output as correction data. That is, if (XD)> M, then X4 = Xa (11) If (XD) ≦ M, then X4 = X1 (12) FIG. 13 is an explanatory diagram illustrating a calculation example of the fourth secondary correction value X4 when M = 25. Line numbers 2, 4,
Difference (X-D) between 6, 8, and 10 target pixel x and subsequent pixel d
Is larger, the fourth secondary correction value X4 becomes the primary correction value X4.
The correction is reduced from a to the secondary correction value X1.

【0048】以上の実施の形態において、二次補正値X
1あるいはX4を求める式として(2)式、(3)式、
あるいは(11)式、(12)式は着目画素xの値Xを
用いるものであったが、Xの代わりに着目画素xの補正
後の値Xaを用いてもよい。すなわち、二次補正値X1
を次の式(2a)、(3a)により求める。 Xa>D ならば X1=Xa−(Xa−D)γ ・・(2a) Xa≦D ならば X1=Xa ・・(3a) あるいは、次の式(11a)、(12a)により第4の
二次補正値X4を求める。 (Xa−D)>M ならば X4=Xa ・(11a) (Xa−D)≦M ならば X4=X1 ・(12a) また、以上の実施の形態では説明を簡単にするために参
照する周囲の画素を、周辺の各1個の画素a、b、c、
d計4個の画素(図2参照)を参照するものを示した
が、前の画素aのさらに前の画素、前の画素aに隣接す
る2個の画素、左右の画素b、cにそれぞれ隣接する画
素、後の画素dに隣接する2個の画素、後の画素dのさ
らに後の画素の計12個の画素を参照するなど、4個以
上の周囲の画素を参照する場合も同様にすることができ
る。
In the above embodiment, the secondary correction value X
Equations (2), (3), and
Alternatively, although the expressions (11) and (12) use the value X of the target pixel x, the corrected value Xa of the target pixel x may be used instead of X. That is, the secondary correction value X1
Is obtained by the following equations (2a) and (3a). If Xa> D, then X1 = Xa− (Xa−D) γ (2a) If Xa ≦ D, X1 = Xa (3a) Alternatively, the fourth equation is obtained by the following equations (11a) and (12a). The next correction value X4 is obtained. If (Xa-D)> M, then X4 = Xa. (11a) If (Xa-D) .ltoreq.M, then X4 = X1. (12a). Are replaced with one pixel around each of the pixels a, b, c,
d shows a case in which a total of four pixels (see FIG. 2) are referred to, but a pixel immediately before the previous pixel a, two pixels adjacent to the previous pixel a, and left and right pixels b and c, respectively. The same applies when referring to four or more surrounding pixels, such as referring to a total of twelve pixels: an adjacent pixel, two pixels adjacent to the subsequent pixel d, and a pixel further after the subsequent pixel d. can do.

【0049】さらに、この発明の目的を損なわない範囲
で、補正係数α〜δや演算式(1)〜(12)等の代わ
りに他の式を用いて二次補正値を求めてもよい。また、
ここでは補正手段として周辺画素参照回路20を用いて
周辺画素の値を参照して補正印画データPA(二次補正
値X1〜X4)を算出するものを示したが、補正値記憶
手段に予め定めたテーブルとして記憶させた二次補正値
を用いても同様の効果を奏する。
Further, the secondary correction value may be obtained by using other expressions instead of the correction coefficients α to δ and the arithmetic expressions (1) to (12) as long as the object of the present invention is not impaired. Also,
Here, the correction print data PA (secondary correction values X1 to X4) is calculated by referring to the values of the peripheral pixels by using the peripheral pixel reference circuit 20 as the correction means, but is predetermined in the correction value storage means. Similar effects can be obtained by using the secondary correction values stored as a table.

【0050】以上のように、これらによれば周辺画素参
照回路20により周辺の各画素a〜dの影響をきめ細か
く参照でき、またきめ細かい印画データの補正を行うこ
とができるので、印画品質を向上する。
As described above, according to these, the influence of each of the peripheral pixels a to d can be finely referenced by the peripheral pixel reference circuit 20, and fine print data can be corrected, so that print quality is improved. .

【0051】実施の形態4.図14は、さらにこの発明
の他の実施の形態の要部を示す要部構成図である。サー
マルヘッドを印画ブロックに分割して印画すると、印画
ブロックと印画ブロックの境界に濃度のむらが発生し易
い。これは、先に印画した一の印画ブロックの印画と次
に印画したその隣の印画ブロックの印画との間に時間差
があり、先に印画した印画ブロックのインクが冷却して
固まってから次に印画する印画ブロックの印画を行うの
で、先に印画したインクの後から次に印画するブロック
側が溶けてインクが表面張力で吸い寄せられてしまうの
で、はじめの印画ブロックの端が薄くなり、後の印画ブ
ロックの端部における印画が濃くなるためである。ま
た、周辺画素の影響によって印画ブロックの濃度のむら
は微妙に異なる。この実施の形態では、このような印画
ブロックの端の濃度のむらを低減する。
Embodiment 4 FIG. FIG. 14 is a main part configuration diagram showing a main part of still another embodiment of the present invention. When printing is performed by dividing the thermal head into printing blocks, density unevenness is likely to occur at the boundaries between the printing blocks. This is because there is a time difference between the printing of one printing block printed earlier and the printing of the next printing block printed next, and after the ink of the printing block printed earlier cools down and solidifies, Since the printing block to be printed is printed, the side of the block to be printed next melts after the ink printed earlier, and the ink is sucked by the surface tension, so the edge of the first printing block becomes thinner, and the later printing This is because the print at the end of the block becomes dark. Further, the density unevenness of the print block slightly differs due to the influence of peripheral pixels. In this embodiment, the density unevenness at the edge of the printing block is reduced.

【0052】図14において、周辺画素参照回路20、
印画データバッファ回路22は図9に示したものと同様
のものである。52はプリンタ制御回路であり、サーマ
ルヘッドの印画位置の信号POSを生成するとともに印
画ブロックの左端の画素と印画ブロックの右端の画素と
それ以外の画素とを区別するブロック画素位置信号PO
Sを出力する。54は再補正手段としてのブロック補正
回路である。ブロック補正回路54は、周辺画素参照回
路20から出力された二次補正値X1とプリンタ制御回
路52から出力されたブロック画素位置信号POSとに
基づき二次補正値を補正して再補正データとしてのブロ
ック補正値X1 ̄POSを印画データバッファ回路22
に出力する。印画データバッファ回路22は1行分のブ
ロック補正値X1 ̄POSをブロック補正印画データP
A ̄POSとして記憶する。
In FIG. 14, the peripheral pixel reference circuit 20,
The print data buffer circuit 22 is the same as that shown in FIG. Reference numeral 52 denotes a printer control circuit which generates a signal POS for the printing position of the thermal head, and which is a block pixel position signal PO for distinguishing between the leftmost pixel of the printing block, the rightmost pixel of the printing block, and other pixels.
Output S. Reference numeral 54 denotes a block correction circuit as a re-correction unit. The block correction circuit 54 corrects the secondary correction value based on the secondary correction value X1 output from the peripheral pixel reference circuit 20 and the block pixel position signal POS output from the printer control circuit 52, and uses the corrected secondary correction value as re-correction data. The block correction value X1 ̄POS is stored in the print data buffer circuit 22
Output to The print data buffer circuit 22 converts the block correction value X1 ̄POS for one row into the block correction print data P
Store as A と し て POS.

【0053】なお、図示していないが、図9に示したも
のと同様のエンジンインターフェース回路42、未来、
入力、過去データバッファ回路44、46、48、印画
データ比較回路26、発熱制御回路28、サーマルヘッ
ド30、センサ32、モータ駆動回路34を備えてい
る。
Although not shown, an engine interface circuit 42 similar to that shown in FIG.
Input and past data buffer circuits 44, 46 and 48, print data comparison circuit 26, heat control circuit 28, thermal head 30, sensor 32, and motor drive circuit 34 are provided.

【0054】プリンタ制御回路52は、サーマルヘッド
の単数または複数の印画ブロックにおいて転送中の画素
の位置を示すブロック画素位置信号POSを生成する。
例えば印画ブロックの左端、印画ブロックの右端、左端
でも右端でもない中央といった信号を生成する。ブロッ
ク補正回路54は、補正演算回路20からの二次補正値
X1をプリンタ制御回路52からのブロック画素位置信
号POSに基づき補正してブロック補正印画データPA
 ̄POSを出力する。
The printer control circuit 52 generates a block pixel position signal POS indicating the position of the pixel being transferred in one or more printing blocks of the thermal head.
For example, a signal is generated such as the left end of the print block, the right end of the print block, the center which is neither the left end nor the right end. The block correction circuit 54 corrects the secondary correction value X1 from the correction operation circuit 20 based on the block pixel position signal POS from the printer control circuit 52 to perform block correction print data PA
出力 Output POS.

【0055】例えば、ブロック画素位置信号POSがブ
ロック中央ならば補正を行わずに二次補正値X1のまま
とし、ブロック画素位置信号POSがブロック左端なら
ば二次補正値X1から2を減じ、ブロック画素位置信号
POSがブロック右端ならば2を加える。すなわち、例
えば二次補正値X1が50のとき、ブロック補正値X1
 ̄POSはブロック中央、左端、右端の場合に対応して
それぞれ50、48、52となる。
For example, if the block pixel position signal POS is at the center of the block, the correction is not performed and the secondary correction value X1 is maintained, and if the block pixel position signal POS is at the left end of the block, 2 is subtracted from the secondary correction value X1. If the pixel position signal POS is at the right end of the block, 2 is added. That is, for example, when the secondary correction value X1 is 50, the block correction value X1
 ̄POS is 50, 48, 52 corresponding to the case of the block center, the left end, and the right end, respectively.

【0056】この実施の形態においては、以上のように
構成されているので、先に印画する一の印画ブロックの
印画と次に印画するその隣の印画ブロックの印画との境
界の濃度を補正することにより、はじめに印画した印画
ブロックのインクが冷却して固まってから隣の印画ブロ
ックの印画を行うこととなり、はじめに印画したインク
の後から印画するブロック側が溶けてインクが表面張力
で吸い寄せられてしまうのを防止できる。すなわち、は
じめの印画ブロックの端部における印画が薄くなり、後
の印画ブロックの端部における印画が濃くなるのを防止
して、印画の濃度むらを軽減できる。このように印画ブ
ロックの端部の印画の濃度のむらを周辺画素参照と連動
して印画の補正をおこなって、印画濃度のむらを低減す
る。
In this embodiment, since the configuration is as described above, the density of the boundary between the print of one print block to be printed first and the print of the next print block to be printed next is corrected. As a result, after the ink of the first printing block is cooled and solidified, printing of the next printing block is performed, and the block to be printed is melted after the first printing ink, and the ink is sucked by the surface tension. Can be prevented. That is, it is possible to prevent the print at the end of the first print block from becoming thin and prevent the print at the end of the subsequent print block from becoming dark, thereby reducing the density unevenness of the print. In this way, the print density correction at the end of the print block is performed in conjunction with the reference of the peripheral pixels to correct the print, thereby reducing the print density unevenness.

【0057】実施の形態5.図15は、さらにこの発明
の他の実施の形態の要部を示す要部構成図である。図1
5において、周辺画素参照回路20、印画データバッフ
ァ回路22は図9に示したものと同様のものである。な
お、図示していないが、図9に示したものと同様のエン
ジンインターフェース回路42、未来、入力、過去デー
タバッファ回路44、46、48、印画データ比較回路
26、発熱制御回路28、サーマルヘッド30、センサ
32、モータ駆動回路34を備えている。
Embodiment 5 FIG. 15 is a main part configuration diagram showing a main part of still another embodiment of the present invention. FIG.
In 5, the peripheral pixel reference circuit 20 and the print data buffer circuit 22 are the same as those shown in FIG. Although not shown, the same engine interface circuit 42 as that shown in FIG. 9, future, input, past data buffer circuits 44, 46, 48, print data comparison circuit 26, heat generation control circuit 28, thermal head 30 , A sensor 32, and a motor drive circuit 34.

【0058】図15において、62は温度検出器であ
り、サーマルヘッド30(図9参照)の温度を検出す
る。64はプリンタ制御回路であり、図9におけるプリ
ンタ制御回路24と同様の機能を有するとともに温度検
出器62で検出した温度をサーマルヘッドの温度信号T
Eに変換する。66は再補正手段としての温度補正回路
であり、周辺画素参照回路20から二次補正値X1が、
プリンタ制御回路64から温度信号TEが入力され、再
補正データとしての温度補正値X1 ̄TEを印画データ
バッファ回路22に出力する。
In FIG. 15, reference numeral 62 denotes a temperature detector which detects the temperature of the thermal head 30 (see FIG. 9). A printer control circuit 64 has a function similar to that of the printer control circuit 24 in FIG. 9 and detects a temperature detected by the temperature detector 62 as a temperature signal T of the thermal head.
Convert to E Reference numeral 66 denotes a temperature correction circuit as a re-correction unit.
A temperature signal TE is input from the printer control circuit 64, and a temperature correction value X1 @ TE as re-correction data is output to the print data buffer circuit 22.

【0059】次に、動作を説明する。図15において図
示しないサーマルヘッドの温度を温度検出器62にて検
出し、プリンタ制御回路64に送る。プリンタ制御回路
64はサーマルヘッドの温度に対応する温度信号TEを
温度補正回路66に送る。温度補正回路66は周辺画素
参照回路20からの二次補正値X1を温度信号TEに基
づきサーマルヘッドの温度に最適な温度補正を行い、温
度補正値X1 ̄TEを算出して、印画データバッファ回
路22へ出力する。印画データバッファ回路22は、1
行分の温度補正値X1 ̄TEを温度補正印画データPA
 ̄TEとして保持する。
Next, the operation will be described. The temperature of the thermal head not shown in FIG. 15 is detected by the temperature detector 62 and sent to the printer control circuit 64. The printer control circuit 64 sends a temperature signal TE corresponding to the temperature of the thermal head to the temperature correction circuit 66. The temperature correction circuit 66 performs the temperature correction of the secondary correction value X1 from the peripheral pixel reference circuit 20 on the basis of the temperature signal TE so as to be optimal for the temperature of the thermal head, calculates the temperature correction value X1 ̄TE, and prints the print data buffer circuit. 22. The print data buffer circuit 22
The temperature correction value X1 @ TE for the row is converted to the temperature correction print data PA
保持 Keep as TE.

【0060】最適な温度補正は、例えば次のようにな
る。サーマルヘッドの温度が低い場合には温度補正値X
1 ̄TEが二次補正値X1の値よりも大きくなるように
補正し、低温でも確実に印画するようにし、ヘッド温度
が高い場合には二次補正値X1よりも小さくなるように
補正して印画が潰れないようにする。すなわち、サーマ
ルヘッドの温度を30以下、30超50以下、50超6
0以下、60超(いずれも単位は摂氏)の4段階に区分
して、それぞれに応じて5、2、0、−3の補正値を二
次補正値X1に加えて温度補正値X1 ̄TEとして出力
する。
The optimum temperature correction is, for example, as follows. When the temperature of the thermal head is low, the temperature correction value X
Correction is made so that 1 大 き く TE is larger than the value of the secondary correction value X1, so that printing is performed reliably even at low temperatures, and when the head temperature is high, correction is made so as to be smaller than the secondary correction value X1. Make sure that the prints are not crushed. That is, the temperature of the thermal head is 30 or less, more than 30 and 50 or less, more than 50 6
It is divided into four stages of 0 or less and over 60 (all in degrees Celsius), and the correction values of 5, 2, 0, and -3 are added to the secondary correction value X1 according to the respective levels, and the temperature correction value X1 ̄TE Output as

【0061】サーマルヘッドの温度はサーマルヘッドそ
のものの温度を検出する代りにその周囲温度を検出して
もよい。また、サーマルヘッドの温度を4段階に区分し
て補正するものを示したが、温度の分割は任意でよく、
またはヘッドの温度に応じて補正値を算出してもよく、
同様の効果を奏する。一般に、サーマルヘッドの温度が
低温の場合は画素間に熱が流れる前に冷めてしまうので
周辺画素の影響が少なく、サーマルヘッドの温度が高温
の場合は画素間に流れる熱は冷めないので周辺画素の影
響が多い。これに対し、この実施の形態に示したもの
は、以上のように動作するので、サーマルヘッドの温度
に対して適切な周辺画素参照の補正をおこなうことがで
き、印画品質が向上することができる。
As for the temperature of the thermal head, the ambient temperature may be detected instead of detecting the temperature of the thermal head itself. In addition, although the temperature of the thermal head is divided into four stages and corrected, the temperature can be divided arbitrarily.
Alternatively, the correction value may be calculated according to the temperature of the head,
A similar effect is achieved. Generally, when the temperature of the thermal head is low, it cools before the heat flows between the pixels, so the influence of the peripheral pixels is small.When the temperature of the thermal head is high, the heat flowing between the pixels does not cool, so the peripheral pixels Many effects. On the other hand, the embodiment shown in this embodiment operates as described above, so that it is possible to correct the reference of the peripheral pixels to the temperature of the thermal head and to improve the printing quality. .

【0062】実施の形態6.図16は、さらにこの発明
の他の実施の形態の要部を示す要部構成図である。図1
6において、周辺画素参照回路20、印画データバッフ
ァ回路22は図9に示したものと同様のものである。な
お、図示していないが、図9に示したものと同様のエン
ジンインターフェース回路42、未来、入力、過去デー
タバッファ回路44、46、48、印画データ比較回路
26、発熱制御回路28、サーマルヘッド30、センサ
32、モータ駆動回路34を備えている。
Embodiment 6 FIG. FIG. 16 is a main part configuration diagram showing a main part of another embodiment of the present invention. FIG.
In 6, the peripheral pixel reference circuit 20 and the print data buffer circuit 22 are the same as those shown in FIG. Although not shown, the same engine interface circuit 42 as that shown in FIG. 9, future, input, past data buffer circuits 44, 46, 48, print data comparison circuit 26, heat generation control circuit 28, thermal head 30 , A sensor 32, and a motor drive circuit 34.

【0063】図16において、72はプリンタ制御回路
であり、印画するサーマルヘッドの画素位置に対応した
画素番号DOT ̄Nを出力する。74は抵抗値記憶回路
であり、前記プリンタ制御回路72から出力されたサー
マルヘッドの画素番号DOT ̄Nとこれに対応した抵抗
値RESを記憶し、抵抗値RESを出力する。76は再
補正手段としての発熱体抵抗補正回路であり、抵抗値記
憶回路74の出力RESに基づき周辺画素参照回路20
からの二次補正値X1を補正して再補正データとしての
抵抗補正値X1 ̄RESを出力する。印画データバッフ
ァ回路22は、1行分の抵抗補正値X1 ̄RESを抵抗
補正印画データPA ̄RESとして保持する。
In FIG. 16, reference numeral 72 denotes a printer control circuit, which outputs a pixel number DOT # N corresponding to a pixel position of a thermal head to be printed. A resistance value storage circuit 74 stores the pixel number DOT # N of the thermal head output from the printer control circuit 72 and the resistance value RES corresponding thereto, and outputs the resistance value RES. Reference numeral 76 denotes a heating element resistance correction circuit as a re-correction unit, and a peripheral pixel reference circuit 20 based on an output RES of the resistance value storage circuit 74.
, And outputs a resistance correction value X1 と し て RES as re-correction data. The print data buffer circuit 22 holds the resistance correction value X1 @ RES for one row as the resistance correction print data PA @ RES.

【0064】次に動作について説明する。プリンタ制御
回路72から印画データを転送するためにヘッド画素番
号DOT ̄Nが出力される。これは前記入力データバッ
ファ回路46や過去データバッファ回路48にも出力さ
れ、このヘッド画素番号DOT ̄Nに対応した二値デー
タが前記未来、入力、過去データバッファ回路44、4
6、48から周辺画素参照回路20へ出力される。これ
に基づき、周辺画素参照回路20は二次補正値X1を算
出し、発熱体抵抗補正回路76へ出力する。
Next, the operation will be described. The head pixel number DOT # N is output from the printer control circuit 72 to transfer the print data. This is also output to the input data buffer circuit 46 and the past data buffer circuit 48, and the binary data corresponding to the head pixel number DOT @ N is stored in the future, input and past data buffer circuits 44,
6 and 48 are output to the peripheral pixel reference circuit 20. Based on this, the peripheral pixel reference circuit 20 calculates the secondary correction value X1 and outputs it to the heating element resistance correction circuit 76.

【0065】発熱体抵抗補正回路76は、抵抗値記憶回
路74に記憶されたサーマルヘッドの画素毎の抵抗値R
ESに応じた補正率を算出する。補正率は、全体の印画
濃度が予め定めた印画濃度となるように印画画素毎の印
画の濃度を補正する補正率を抵抗値に対応させて算出す
る。サーマルヘッドの各画素に印加する電圧を一定とす
るとその発熱量は着目画素の抵抗値に反比例するので、
供給エネルギを一定値とするために、補正率RA[%]
を例えば次の算式により算出する。 RA=(r/rs)×100[%] ・・(13) ここに、rは着目画素の抵抗値、rsは基準抵抗値であ
る。発熱体抵抗補正回路76は、周辺画素参照回路20
からの画素毎の二次補正値X1に補正率を乗じ、抵抗補
正値X1 ̄RESを印画データバッファ回路22へ出力
する。
The heating element resistance correction circuit 76 stores the resistance value R for each pixel of the thermal head stored in the resistance value storage circuit 74.
A correction rate corresponding to the ES is calculated. The correction rate is calculated in accordance with the resistance value so that the print density of each print pixel is corrected so that the entire print density becomes a predetermined print density. Assuming that the voltage applied to each pixel of the thermal head is constant, the amount of heat generated is inversely proportional to the resistance value of the pixel of interest.
In order to keep the supplied energy constant, the correction rate RA [%]
Is calculated by the following formula, for example. RA = (r / rs) × 100 [%] (13) Here, r is the resistance value of the pixel of interest, and rs is the reference resistance value. The heating element resistance correction circuit 76 includes the peripheral pixel reference circuit 20.
Is multiplied by the correction factor for the pixel-based secondary correction value X1, and a resistance correction value X1 ̄RES is output to the print data buffer circuit 22.

【0066】発熱体抵抗補正回路76にサーマルヘッド
の画素番号DOT ̄Nを入力すると、二次補正値X1の
うちの画素番号DOT ̄Nに対応する二次補正値X1に
サーマルヘッドの抵抗値rに応じた上記補正率RAを乗
じて、抵抗補正値X1 ̄RESを算出して印画データバ
ッファ回路22へ出力する。発熱体抵抗補正回路76
は、例えば抵抗値rが基準抵抗値rsである画素は補正
を要せず補正率は100[%]、また抵抗値rが大きい
画素は濃度が薄くなるので濃くするために、抵抗値rが
基準抵抗値rsの102[%]ならば補正値を102
[%]にする。抵抗値が小さい画素は濃度が濃くなるの
で濃度を薄くするために例えば抵抗値rが基準抵抗値r
sの97[%]ならば補正率を97[%]に選定する。
When the pixel number DOT @ N of the thermal head is input to the heating element resistance correction circuit 76, the secondary head correction value X1 corresponding to the pixel number DOT @ N of the secondary correction value X1 is changed to the thermal head resistance value r. The resistance correction value X1XRES is calculated by multiplying the correction rate RA according to the above, and is output to the print data buffer circuit 22. Heating element resistance correction circuit 76
For example, a pixel whose resistance value r is the reference resistance value rs does not require correction and the correction rate is 100 [%]. A pixel having a large resistance value r has a low density, so that the resistance value r is high. If the reference resistance value rs is 102 [%], the correction value is 102
Set to [%]. A pixel having a small resistance value has a high density.
If 97% of s, the correction rate is selected as 97%.

【0067】以上の様に動作するので、サーマルヘッド
の各画素の抵抗体の抵抗値のばらつきによる印画の濃度
のむらを補正することができる。また、周辺画素を参照
して補正する周辺画素参照回路20と連動して補正する
ので補正を精度よく行うことができ、印画品質が向上す
る。
Since the operation is performed as described above, it is possible to correct the unevenness of the density of the print due to the variation of the resistance value of the resistor of each pixel of the thermal head. Further, since the correction is performed in conjunction with the peripheral pixel reference circuit 20 that performs correction by referring to the peripheral pixels, the correction can be performed with high accuracy, and the printing quality is improved.

【0068】実施の形態7.図17は、さらにこの発明
の他の実施の形態の要部を示す要部構成図である。図1
7において、周辺画素参照回路20、印画データバッフ
ァ回路22は図9に示したものと同様のものである。な
お、図示していないが、図9に示したものと同様のエン
ジンインターフェース回路42、未来、入力、過去デー
タバッファ回路44、46、48、印画データ比較回路
26、発熱制御回路28、サーマルヘッド30、センサ
32、モータ駆動回路34を備えている。
Embodiment 7 FIG. 17 is a main part configuration diagram showing a main part of still another embodiment of the present invention. FIG.
7, the peripheral pixel reference circuit 20 and the print data buffer circuit 22 are the same as those shown in FIG. Although not shown, the same engine interface circuit 42 as that shown in FIG. 9, future, input, past data buffer circuits 44, 46, 48, print data comparison circuit 26, heat generation control circuit 28, thermal head 30 , A sensor 32, and a motor drive circuit 34.

【0069】図17において、82は媒体検出手段であ
り、印画用紙やインクシートなどの印画媒体の種類を検
出して、媒体種類信号MEDを出力する。具体的には、
例えば印画用紙のカセットに識別する溝を設け、この溝
を検出して、例えば用紙Fと用紙Gという印画用紙の種
類を検出する。また、媒体検出手段82は、例えばイン
クシートのマークを識別し、このマークを検出して、例
えばインクシートfとインクシートgといったインクシ
ートの種類を検出する。そして、これらの検出結果に基
づき、媒体種類信号MEDを出力する。86は再補正手
段としての媒体補正回路であり、周辺画素参照回路20
の出力X1と、プリンタ制御回路84の媒体種類信号M
EDとを入力する。
In FIG. 17, reference numeral 82 denotes a medium detecting means which detects the type of printing medium such as printing paper or ink sheet and outputs a medium type signal MED. In particular,
For example, a groove for identifying a photographic paper cassette is provided, and the groove is detected to detect, for example, types of photographic paper such as paper F and paper G. Further, the medium detecting means 82 identifies a mark on the ink sheet, for example, and detects the mark to detect the type of the ink sheet such as the ink sheet f and the ink sheet g. Then, a medium type signal MED is output based on these detection results. Reference numeral 86 denotes a medium correction circuit as a re-correction unit, and a peripheral pixel reference circuit 20
X1 and the medium type signal M of the printer control circuit 84
Enter ED.

【0070】媒体補正回路86は、プリンタ制御回路8
4から出力される媒体種類信号MEDに基づき例えば以
下の式に基づいて補正値を算出し、周辺画素補正回路2
0から出力される二次補正値X1を補正し、再補正デー
タとしての媒体補正値X1 ̄MEDを出力する。 用紙=Fかつインクシート=fならば、 X1 ̄MED=X1 ・・(14) 用紙=Gかつインクシート=gならば、 X1 ̄MED=X1・a+b ・・(15)
The medium correction circuit 86 includes the printer control circuit 8
4 calculates a correction value based on the medium type signal MED output from the peripheral pixel correction circuit 2 based on, for example, the following equation.
The secondary correction value X1 output from 0 is corrected, and a medium correction value X1 ̄MED is output as re-correction data. If paper = F and ink sheet = f, X1 @ MED = X1 (14) if paper = G and ink sheet = g, X1@MED=X1.a+b (15)

【0071】ここで、例えば上記aは0.95、bは5
を用いる。この例では、用紙Fとインクシートfの場合
に比べて用紙Gとインクシートgの場合が低階調部の濃
度が薄い特性となる為に、用紙Gとインクシートgの場
合に補正印画データPAの低階調濃度を濃くする補正を
行い、媒体補正印画データPA ̄MEDとして出力す
る。
Here, for example, a is 0.95 and b is 5
Is used. In this example, since the density of the low gradation portion is lower in the case of the sheet G and the ink sheet g than in the case of the sheet F and the ink sheet f, the corrected print data is used in the case of the sheet G and the ink sheet g. The correction for increasing the low gradation density of the PA is performed, and output as medium correction print data PA @ MED.

【0072】以上のように動作するので、この実施の形
態においては印画用紙やインクシートなどの印画濃度が
変化する要因を有するものの交換を検出して、最適な印
画の補正を周辺画素参照と連動しておこなうので、印画
品質を向上することができる。なお、(14)式がある
関数式であってもよく、(15)式は一次式でなく二次
式等他の関数式であってもよい。
Since the operation is performed as described above, in this embodiment, the replacement of a printing paper or an ink sheet having a factor that causes a change in the printing density is detected, and the optimum printing correction is linked with the peripheral pixel reference. The printing quality can be improved. Note that the function expression (14) may be a certain function expression, and the expression (15) may not be a linear expression but may be another function expression such as a quadratic expression.

【0073】実施の形態8.図18は、さらにこの発明
の他の実施の形態の要部を示す要部構成図である。図1
8において、周辺画素参照回路20、印画データバッフ
ァ回路22は図9に示したものと同様のものである。な
お、図示していないが、図9に示したものと同様のエン
ジンインターフェース回路42、未来、入力、過去デー
タバッファ回路44、46、48、印画データ比較回路
26、発熱制御回路28、サーマルヘッド30、センサ
32、モータ駆動回路34を備えている。
Embodiment 8 FIG. FIG. 18 is a main part configuration diagram showing a main part of another embodiment of the present invention. FIG.
In 8, the peripheral pixel reference circuit 20 and the print data buffer circuit 22 are the same as those shown in FIG. Although not shown, the same engine interface circuit 42 as that shown in FIG. 9, future, input, past data buffer circuits 44, 46, 48, print data comparison circuit 26, heat generation control circuit 28, thermal head 30 , A sensor 32, and a motor drive circuit 34.

【0074】94はプリンタ制御回路であり、印画画素
にそれぞれ対応した走査方向信号SWM及び副走査方向
信号SWSを生成し出力する。走査方向信号SWMは、
例えばディザの補正が2×2ならば走査方向信号は1ビ
ットで、奇数画素のときに0を出力し偶数画素のときに
1を出力する。また、副走査方向信号SWSは、例えば
ディザの補正が2×2ならば副走査方向信号は1ビット
で、奇数行印画のときに0を出力し、偶数行印画のとき
に1を出力する。
Reference numeral 94 denotes a printer control circuit, which generates and outputs a scanning direction signal SWM and a sub-scanning direction signal SWS respectively corresponding to print pixels. The scanning direction signal SWM is
For example, if the dither correction is 2.times.2, the scanning direction signal is 1 bit, and outputs 0 for odd pixels and outputs 1 for even pixels. If the dither correction is 2 × 2, for example, the sub-scanning direction signal SWS is 1 bit, and outputs 0 for odd-numbered row printing and 1 for even-numbered row printing.

【0075】96は再補正手段としてのディザ補正回路
であり、周辺画素参照回路20からの二次補正値X1
を、走査方向信号SWMと副走査方向信号SWSに基づ
き、さらに微小に変化させた再補正データとしてのディ
ザ補正値X1 ̄DIZを印画データバッファ回路22へ
出力する。具体的には、二次補正値X1と、前記走査方
向信号SWMと、副走査方向信号SWSとが入力され、
例えば次の式に示す演算を行なった結果であるディザ補
正値X1 ̄DIZを印画データバッファ回路22へ出力
する。ここでMOD(X,Y)はXをYで除算した剰余
を返す関数である。
Reference numeral 96 denotes a dither correction circuit serving as a re-correction unit, and a secondary correction value X 1 from the peripheral pixel reference circuit 20.
Is output to the print data buffer circuit 22 as the re-correction data X1 ̄DIZ, which is further finely changed, based on the scanning direction signal SWM and the sub-scanning direction signal SWS. Specifically, the secondary correction value X1, the scanning direction signal SWM, and the sub-scanning direction signal SWS are input,
For example, a dither correction value X1 ̄DIZ, which is a result of performing an operation represented by the following equation, is output to the print data buffer circuit 22. Here, MOD (X, Y) is a function that returns a remainder obtained by dividing X by Y.

【0076】 X1 ̄DIZ=X1−YY+ZZ ・・(16) ここに、YY=MOD(X1,4) ・・(17) ZZ=MOD((SWM×2+SWS×3)、4) ・・(18) である。計算例を図19の説明図に示す。図19(a)
は上記ZZの計算結果、(b)図はX1が50、54あ
るいは56のときのX1 ̄DIZの算出結果である。以
上の様に、2×2の印画画素に対して、組織的に印画濃
度を微小変化させるので、特定濃度の繰り返しに対して
縞模様が見えるのを防ぐことができる。また、印画濃度
が不均一な場合に、濃度の変化が分散して目立たなくな
る。
X1 ̄DIZ = X1-YY + ZZ (16) where YY = MOD (X1, 4) (17) ZZ = MOD ((SWM × 2 + SWS × 3), 4) (18) It is. An example of the calculation is shown in the explanatory diagram of FIG. FIG. 19 (a)
Is the calculation result of the above ZZ, and (b) is the calculation result of X1 ̄DIZ when X1 is 50, 54 or 56. As described above, since the print density is systematically minutely changed for 2 × 2 print pixels, it is possible to prevent a stripe pattern from being seen when a specific density is repeated. Further, when the print density is non-uniform, the change in density becomes dispersed and inconspicuous.

【0077】実施の形態9.図20は、さらにこの発明
の他の実施の形態の要部を示す要部構成図である。図2
0において、周辺画素参照回路20、印画データバッフ
ァ回路22、エンジンインターフェース回路42、未
来、入力、過去データバッファ回路44、46、48
は、図9に示したものと同様のものである。なお、図示
していないが、図9に示したものと同様のプリンタ制御
回路24、印画データ比較回路26、発熱制御回路2
8、サーマルヘッド30、センサ32、モータ駆動回路
34を備えている。
Embodiment 9 FIG. 20 is a main part configuration diagram showing a main part of another embodiment of the present invention. FIG.
At 0, the peripheral pixel reference circuit 20, print data buffer circuit 22, engine interface circuit 42, future, input, past data buffer circuits 44, 46, 48
Is similar to that shown in FIG. Although not shown, the same printer control circuit 24, print data comparison circuit 26, and heat generation control circuit 2 as those shown in FIG.
8, a thermal head 30, a sensor 32, and a motor drive circuit 34.

【0078】図20において、102は印画率測定回路
であり、エンジンインターフェース回路42から入力デ
ータバッファ回路46へ送られる1行分の二次補正値X
1の印画率を計算する。印画率とは、1行分の全画素を
100Eのエネルギにて印画するときのエネルギの合計
値に対する1行分の印画エネルギの合計値の割合であ
る。104は再補正手段としての印画率補正回路であ
り、周辺画素参照回路20の出力と印画率測定回路10
2の出力を入力し二次補正値X1を補正して再補正デー
タとしての印画率補正値X1 ̄PRを印画データバッフ
ァ回路22に出力する。印画補正回路104は、印画率
測定回路102から入力された印画率PR(0から1の
値をとる)と、予め測定されたプリンタの印画率補正係
数KD(0から1の値をとる)とから例えば以下の式に
よって補正を行う。
In FIG. 20, reference numeral 102 denotes a printing rate measuring circuit, which is a secondary correction value X for one row sent from the engine interface circuit 42 to the input data buffer circuit 46.
Calculate the print ratio of 1. The printing ratio is the ratio of the total value of the printing energy for one row to the total value of the energy when printing all the pixels for one row at an energy of 100E. Reference numeral 104 denotes a printing ratio correction circuit as a re-correction unit, which outputs the output of the peripheral pixel reference circuit 20 and the printing ratio measurement circuit 10
2, the secondary correction value X1 is corrected, and the printing ratio correction value X1 ̄PR as re-correction data is output to the printing data buffer circuit 22. The print correction circuit 104 calculates the print ratio PR (takes a value from 0 to 1) input from the print ratio measurement circuit 102 and the print ratio correction coefficient KD (takes a value from 0 to 1) of the printer measured in advance. Then, for example, correction is performed by the following equation.

【0079】 X1 ̄PR=(KD(PR−1)+1)X1 ・・(19) 上記式による補正によって例えば、KD=0.05で、
印画率が1の場合、すなわちすべての画素が印画する場
合はX1 ̄PR=X1となり、印画率補正は行われない
が、印画率が0.1の場合、すなわち印画率が10%の
場合には、 X1 ̄PR=(0.05(0.1−1)+1)X1 ・・(20) =0.955X1 ・・(21) となる。なお、X1 ̄PRは、実際は二次関数である
が、説明を分かりやすくするために一次関数で近似した
ものを示した。
X1 ̄PR = (KD (PR-1) +1) X1 (19) For example, when KD = 0.05,
When the printing ratio is 1, that is, when all the pixels print, X1 ̄PR = X1, and the printing ratio is not corrected. However, when the printing ratio is 0.1, that is, when the printing ratio is 10%, X1 ̄PR = (0.05 (0.1−1) +1) X1 ·· (20) = 0.955X1 ·· (21) Note that X1 ̄PR is actually a quadratic function, but is shown by approximation with a linear function for easy understanding.

【0080】このように動作するので、印画率が低い場
合にサーマルヘッドの共通インピーダンスによる電圧降
下が小さくなり印画濃度が濃くなるのを低減する。逆
に、印画率が高い場合にサーマルヘッドの共通インピー
ダンスによる電圧降下が大きくなり印画濃度が薄くなる
のを防止する。また、あわせて周辺画素参照と連動して
印画濃度のむらを低減する補正を行う。また、印画ブロ
ックが複数に分割されている場合は、印画ブロック毎に
印画率を計測して印画ブロック毎に補正を加えてもよ
く、同様の効果を得る。
Since the operation is performed as described above, when the printing ratio is low, the voltage drop due to the common impedance of the thermal head is reduced, and the printing density is reduced. Conversely, when the printing rate is high, it is possible to prevent the voltage drop due to the common impedance of the thermal head from increasing and the printing density from decreasing. In addition, correction for reducing unevenness in print density is performed in conjunction with reference to peripheral pixels. When the print block is divided into a plurality of blocks, the print ratio may be measured for each print block, and correction may be made for each print block, thereby obtaining the same effect.

【0081】なお、以上の実施の形態におけるブロック
画素位置信号POS、温度信号TE、抵抗値RES、媒
体種類信号MED、走査方向信号SWM及び副走査方向
信号SWS、印画率PR等がこの発明における影響デー
タであり、隣接画素データ、前画素データ、及び次画素
データ以外に着目画素の印画濃度に影響を与えるデータ
の例である。
The block pixel position signal POS, the temperature signal TE, the resistance value RES, the medium type signal MED, the scanning direction signal SWM and the sub-scanning direction signal SWS, the printing ratio PR, and the like in the above embodiment affect the present invention. This is an example of data that affects the print density of the target pixel in addition to the adjacent pixel data, the previous pixel data, and the next pixel data.

【0082】実施の形態10.図21、図22は、さら
にこの発明の他の実施の形態を示すもので、図21は要
部を示す要部構成図、図22は動作シーケンス図であ
る。図21において、周辺画素参照回路20、印画デー
タバッファ回路22、プリンタ制御回路24は図1に示
したものと同様のものである。なお、図示していない
が、図1に示したものと同様のエンジンインターフェー
ス回路12、未来、入力、過去データバッファ回路1
4、16、18、印画データ比較回路26、発熱制御回
路28、サーマルヘッド30、センサ32、モータ駆動
回路34を備えている。
Embodiment 10 FIG. FIGS. 21 and 22 show still another embodiment of the present invention. FIG. 21 is a main part configuration diagram showing main parts, and FIG. 22 is an operation sequence diagram. 21, a peripheral pixel reference circuit 20, a print data buffer circuit 22, and a printer control circuit 24 are the same as those shown in FIG. Although not shown, an engine interface circuit 12 similar to that shown in FIG.
4, 16, and 18, a print data comparison circuit 26, a heat generation control circuit 28, a thermal head 30, a sensor 32, and a motor drive circuit 34 are provided.

【0083】図において、114は切換回路であり、周
辺画素参照回路20の出力X1と、入力データバッファ
回路16の出力PNとを切り換えて印画データバッファ
回路22へ出力する。図示しないプリンタの操作部から
予め切換回路114に二値データである入力データPN
の入力と多値データである二次補正値X1の入力の何れ
かを選択する情報を送る。切換回路114で二値データ
の入力が選択されたならば、入力データバッファ回路1
6の出力PNを印画データバッファ回路22に出力す
る。多値データの入力が選択されたならば、周辺画素参
照回路20の出力である二次補正値X1を印画データバ
ッファ回路22に出力する。
In the figure, a switching circuit 114 switches between the output X1 of the peripheral pixel reference circuit 20 and the output PN of the input data buffer circuit 16 and outputs the output to the print data buffer circuit 22. Input data PN, which is binary data, is supplied in advance to a switching circuit 114 from an operation unit of a printer (not shown).
And information for selecting any one of the input of the secondary correction value X1 which is multi-value data. If binary data input is selected by switching circuit 114, input data buffer circuit 1
6 is output to the print data buffer circuit 22. When the input of the multi-value data is selected, the secondary correction value X1 output from the peripheral pixel reference circuit 20 is output to the print data buffer circuit 22.

【0084】図22に動作シーケンスを示す。予め、印
画用紙とインクシートを二値データの印画用のものにし
ておく。そして、プリンタの操作部から二値データを印
画するように指示して、入力データバッファ回路16の
保持する当該行の1行分の二値データPNを印画データ
バッファ回路22に送り、図1の実施の形態と同様にし
て印画する。なお、この場合図示しない印画データ比較
回路26及び発熱制御回路28は、0から100(E)
までの逐次比較を行わないで、0及び100Eとの2段
階の比較を行うように制御される。次に、印画用紙とイ
ンクシートを多値データの印画用のものに交換し、プリ
ンタの操作部から多値データを印画するように指示する
と、周辺画素参照回路20の出力である多値の二次補正
値X1を印画データバッファ回路22に送り、同様にし
て印画する。
FIG. 22 shows an operation sequence. The printing paper and the ink sheet are used in advance for printing binary data. Then, an instruction is made to print binary data from the operation unit of the printer, and the binary data PN for one row of the row held by the input data buffer circuit 16 is sent to the print data buffer circuit 22. Printing is performed in the same manner as in the embodiment. In this case, the print data comparison circuit 26 and the heat generation control circuit 28 (not shown) are set to 0 to 100 (E).
Is controlled so as to perform a two-stage comparison with 0 and 100E without performing successive comparisons up to. Next, the printing paper and the ink sheet are replaced with those for printing multi-valued data, and an instruction to print the multi-valued data is issued from the operation unit of the printer. The next correction value X1 is sent to the print data buffer circuit 22, and printing is performed in the same manner.

【0085】以上の構成により、この実施の形態におい
ては二値データである入力データPNに切換えて簡易に
印画することができる。二値データ用の印画用紙とイン
クシートは安価であり、少ない印画エネルギにて所要の
発色が得られるので印画速度が速くなる。これにより、
実際の印画は上記のような多値の二次補正値X1を用い
て印画するが、実際の印画に先立ってレイアウトの確認
やゲラ刷り等のために高速で安価に印画したい場合の要
請に応えることができる。また、補正データあるいは再
補正データを求める必要がなく、その演算を待たなくて
よく、発熱制御回路28も細かな逐次比較を行わないの
で、その分高速に印画できる。
With the above configuration, in this embodiment, printing can be easily performed by switching to the input data PN which is binary data. The printing paper and the ink sheet for binary data are inexpensive, and the required color is obtained with a small printing energy, so that the printing speed is increased. This allows
The actual printing is performed using the multi-valued secondary correction value X1 as described above. However, prior to the actual printing, it is necessary to print at a high speed and at a low cost for checking the layout and performing galley printing. Can be. In addition, there is no need to obtain correction data or re-correction data, and there is no need to wait for the calculation, and since the heat generation control circuit 28 does not perform detailed successive comparisons, printing can be performed at a higher speed.

【0086】また、入力データが多値の場合も、二値デ
ータ用の印画用紙とインクシートとを用いて同様に印画
することができる。なお、切換回路114を例えば図
9、図14、図15等に示されたプリンタに適用して、
入力データバッファ回路46の出力である多値の入力デ
ータPN ̄Mと二次補正値X1、ブロック補正値X1 ̄
POS、あるいは温度補正値X1 ̄TEとを切換えるよ
うにすることもできる。
Also, when the input data is multi-valued, printing can be performed in the same manner using the printing paper and ink sheet for binary data. The switching circuit 114 is applied to, for example, the printers shown in FIG. 9, FIG. 14, FIG.
Multi-valued input data PN {M output from the input data buffer circuit 46, the secondary correction value X1, and the block correction value X1}
POS or the temperature correction value X1 @ TE can be switched.

【0087】また、上記各実施の形態において、例えば
未来、入力、過去データバッファ回路44、46、4
8、周辺画素参照回路20、印画データバッファ回路2
2、印画データ比較回路26等の機能をまとめてマイク
ロコンピュータによって実行させてもよい。なお、プリ
ンタは、用途や必要とされる性能等に応じて、上記の各
実施の形態に示したものを適宜組み合わせて使用できる
ことは、いうまでもない。また、プリンタはカラープリ
ンタであってもよいし、未来、入力データは複写機のよ
うに内で原稿を読みとることにより作成されたものであ
ってもよい。
In each of the above embodiments, for example, future, input, past data buffer circuits 44, 46, 4
8, peripheral pixel reference circuit 20, print data buffer circuit 2
2. The functions of the print data comparison circuit 26 and the like may be collectively executed by a microcomputer. It goes without saying that a printer can be used in combination with any of the printers described in the above embodiments as appropriate according to the intended use, required performance, and the like. Further, the printer may be a color printer, or in the future, the input data may be created by reading a document inside like a copier.

【0088】[0088]

【発明の効果】この発明は以上に説明したように構成さ
れているので、以下に記載するような効果を奏する。隣
接画素データと前画素データと次画素データとに基づき
着目画素データを補正して補正データを求めるデータ補
正手段、及び補正データに基づきサーマルヘッドの発熱
素子の発熱を制御する発熱制御手段を設けたので、補正
した着目画素データと次画素データとの差に基づき補正
データを求めるので、次画素への余熱の影響が補正さ
れ、特に次画素において印画しない場合の次の画素での
潰れが防止され、いわゆる尾引現象も抑制される。
Since the present invention is configured as described above, it has the following effects. Data correction means for correcting pixel data of interest based on adjacent pixel data, previous pixel data, and next pixel data to obtain correction data, and heat generation control means for controlling heat generation of a heating element of a thermal head based on the correction data are provided. Therefore, correction data is obtained based on the difference between the corrected pixel data of interest and the next pixel data, so that the influence of residual heat on the next pixel is corrected, and in particular, collapse in the next pixel when printing is not performed in the next pixel is prevented. The so-called tailing phenomenon is also suppressed.

【0089】また、隣接画素データと前画素データとに
基づき着目画素データを補正し、さらに着目画素データ
または上記補正した着目画素データと次画素データとの
差に基づき補正データを求めるものであるので、着目画
素の周辺の画素及び着目画素データと次画素データとの
差を補正データに反映させて次画素に与える余熱の影響
を軽減し、印画品質を向上、特に尾引現象を抑制して印
画品質を向上させることができる。
Further, the target pixel data is corrected based on the adjacent pixel data and the previous pixel data, and the correction data is obtained based on the target pixel data or the difference between the corrected target pixel data and the next pixel data. The effect of the residual heat on the next pixel is reduced by reflecting the difference between the next pixel data and the pixels around the target pixel and the difference between the target pixel data and the next pixel data, and the printing quality is improved. Quality can be improved.

【0090】さらに、前画素データは、当該行の前の行
において求められた着目画素の補正データであるので、
前の行において実際に印画された補正データを用いてよ
り実際的な補正データを求めて次画素に与える余熱の影
響をより的確に補正し、印画品質を向上させることがで
きる。
Further, since the previous pixel data is the correction data of the pixel of interest obtained in the row before the current row,
More accurate correction data is obtained using the correction data actually printed in the previous row, and the influence of residual heat on the next pixel is corrected more accurately, thereby improving printing quality.

【0091】そして、着目画素データと隣接画素デー
タ、前画素データ、及び次画素データは、おのおの多値
のデータであるので、きめ細かな補正データを得て次画
素に与える余熱の影響をきめ細かに補正し、一層印画品
質を向上させることができる。
Since the pixel data of interest, the adjacent pixel data, the previous pixel data, and the next pixel data are each multi-valued data, fine correction data is obtained, and the influence of residual heat on the next pixel is finely corrected. In addition, the printing quality can be further improved.

【0092】また、着目画素の印画濃度に影響を与える
影響データに基づき補正データをさらに補正して再補正
データを求める再補正手段を設けたので、着目画素の印
画に影響を与える影響データに応じて補正データをさら
に補正し、濃度のむらを一層減少させることができる。
Further, since re-correction means for obtaining correction data by further correcting the correction data based on the influence data which influences the print density of the pixel of interest is provided, the re-correction means is provided in accordance with the influence data affecting the printing of the pixel of interest. Thus, the correction data can be further corrected to further reduce the density unevenness.

【0093】さらに、サーマルヘッドは発熱素子が複数
の印画ブロックに分割されて配列されたものであり、影
響データを上記印画ブロックの境界の信号としたので、
印画ブロック間の印画の時間差による印画ブロックの端
部の印画濃度のむらを低減できる。
Further, in the thermal head, the heating elements are divided into a plurality of printing blocks and arranged, and the influence data is used as the signal of the boundary of the printing blocks.
It is possible to reduce uneven printing density at the end of the printing block due to the printing time difference between the printing blocks.

【0094】そして、影響データを、印画の走査方向の
信号及びこの走査方向と直角な方向である副走査方向の
信号としたので、組織的に印画濃度を変化させ、濃度の
変化を分散して濃度のむらを目立たなくすることができ
る。
Since the influence data is a signal in the printing scanning direction and a signal in the sub-scanning direction which is a direction perpendicular to the scanning direction, the printing density is systematically changed and the change in density is dispersed. The unevenness of density can be made inconspicuous.

【0095】また、影響データを、当該行の1行分の着
目画素データから算出された当該行の印画率としたの
で、サーマルヘッドの共通インピーダンスによる電圧降
下の影響を補正して発熱素子の発熱を制御することによ
り、印画濃度の変化を抑制して印画濃度のむらを低減す
ることができる。
Since the influence data is the printing rate of the row calculated from the pixel data of interest of one row of the row, the influence of the voltage drop due to the common impedance of the thermal head is corrected to generate the heat of the heating element. , It is possible to suppress a change in print density and reduce uneven print density.

【0096】そして、着目画素データと補正データとを
切り換える又は着目画素データと再補正データとを切り
換えるデータ切換手段を設けたので、補正しない着目画
素に基づいて簡易に印画することができる。
Since the data switching means for switching between the target pixel data and the correction data or for switching between the target pixel data and the re-correction data is provided, it is possible to easily print based on the target pixel which is not corrected.

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

【図1】 プリンタの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a printer.

【図2】 印画される用紙上の画素の関係を示す説明図
である。
FIG. 2 is an explanatory diagram showing a relationship between pixels on a sheet to be printed.

【図3】 図1のプリンタにおける周辺画素参照回路の
入出力の関係を説明するための説明図である。
FIG. 3 is an explanatory diagram for explaining an input / output relationship of a peripheral pixel reference circuit in the printer of FIG. 1;

【図4】 図1のプリンタにおけるサーマルヘッドの動
作を示すシーケンス図である。
FIG. 4 is a sequence diagram showing an operation of the thermal head in the printer of FIG.

【図5】 図1のプリンタにおける印画データ比較回路
の動作を説明するための説明図である。
FIG. 5 is an explanatory diagram for explaining an operation of a print data comparison circuit in the printer of FIG. 1;

【図6】 図1のプリンタにおける印画エネルギと印画
濃度との関係を示す説明図である。
FIG. 6 is an explanatory diagram showing a relationship between printing energy and printing density in the printer of FIG. 1;

【図7】 この発明の他の実施の形態の要部を示す要部
構成図である。
FIG. 7 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図8】 図7のプリンタにおける周辺画素参照回路の
入出力の関係を説明するための説明図である。
8 is an explanatory diagram illustrating an input / output relationship of a peripheral pixel reference circuit in the printer of FIG. 7;

【図9】 さらに、この発明の他の実施の形態を示すプ
リンタのブロック図である。
FIG. 9 is a block diagram of a printer showing another embodiment of the present invention.

【図10】 図9におけるプリンタの周辺画素参照回路
の演算を説明するための説明図である。
FIG. 10 is an explanatory diagram for explaining an operation of a peripheral pixel reference circuit of the printer in FIG. 9;

【図11】 図9におけるプリンタの周辺画素参照回路
の他の算式による演算を説明するための説明図である。
FIG. 11 is an explanatory diagram for explaining an operation based on another equation of the peripheral pixel reference circuit of the printer in FIG. 9;

【図12】 図9におけるプリンタの周辺画素参照回路
のさらに他の算式による演算を説明するための説明図で
ある。
12 is an explanatory diagram for explaining an operation of the peripheral pixel reference circuit of the printer in FIG. 9 using still another arithmetic expression.

【図13】 図9におけるプリンタの周辺画素参照回路
のさらに他の算式による演算を説明するための説明図で
ある。
FIG. 13 is an explanatory diagram for explaining an operation of the peripheral pixel reference circuit of the printer in FIG. 9 using still another arithmetic expression.

【図14】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 14 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図15】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 15 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図16】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 16 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図17】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 17 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図18】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 18 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図19】 図18のディザ補正回路の出力例を示す説
明図である。
FIG. 19 is an explanatory diagram showing an output example of the dither correction circuit of FIG. 18;

【図20】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 20 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図21】 さらに、この発明の他の実施の形態の要部
を示す要部構成図である。
FIG. 21 is a main part configuration diagram showing a main part of another embodiment of the present invention.

【図22】 図21に示すプリンタの動作シーケンス図
である。
22 is an operation sequence diagram of the printer shown in FIG. 21.

【図23】 従来のプリンタにおける印画エネルギ及び
印画濃度を示した説明図である。
FIG. 23 is an explanatory diagram showing printing energy and printing density in a conventional printer.

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

14:未来データバッファ回路 16:入力データバッファ回路 18:過去データバッファ回路 20:周辺画素参照回路 28:発熱制御回路 30:サーマルヘッド 44:未来データバッファ回路 46:入力データバッファ回路 48:過去データバッファ回路 54:ブロック補正回路 66:温度補正回路 76:発熱体抵抗補正回路 86:媒体補正回路 96:ディザ補正回路 104:印画率補正回路 114:切換回路 14: Future data buffer circuit 16: Input data buffer circuit 18: Past data buffer circuit 20: Peripheral pixel reference circuit 28: Heat generation control circuit 30: Thermal head 44: Future data buffer circuit 46: Input data buffer circuit 48: Past data buffer Circuit 54: Block correction circuit 66: Temperature correction circuit 76: Heating element resistance correction circuit 86: Medium correction circuit 96: Dither correction circuit 104: Print ratio correction circuit 114: Switching circuit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 印画の走査方向に配列された複数の発熱
素子を有するサーマルヘッド、印画しようとする当該行
の着目画素に隣接する画素のデータである隣接画素デー
タと上記当該行の前の行の上記着目画素に対応する画素
のデータである前画素データと上記当該行の次の行の上
記着目画素に対応する画素のデータである次画素データ
とに基づき上記着目画素のデータである着目画素データ
を補正して補正データを求めるデータ補正手段、及び上
記補正データに基づき上記発熱素子の発熱を制御して印
画媒体に印画する印画の濃度を調整する発熱制御手段を
備えたサーマルプリンタ。
1. A thermal head having a plurality of heating elements arranged in a scanning direction of printing, adjacent pixel data which is data of a pixel adjacent to a target pixel of a row to be printed, and a row preceding the row. The target pixel which is data of the target pixel based on the previous pixel data which is the data of the pixel corresponding to the target pixel and the next pixel data which is the data of the pixel corresponding to the target pixel in the next row of the row A thermal printer comprising: data correction means for correcting data to obtain correction data; and heat generation control means for controlling heat generation of the heating element based on the correction data to adjust the density of a print to be printed on a print medium.
【請求項2】 データ補正手段は、隣接画素データと前
画素データとに基づき着目画素データを補正し、さらに
上記着目画素データまたは上記補正した着目画素データ
と次画素データとの差に基づき補正データを求めるもの
であることを特徴とする請求項1記載のサーマルプリン
タ。
2. A data correction means for correcting target pixel data based on adjacent pixel data and previous pixel data, and further correcting data based on the target pixel data or a difference between the corrected target pixel data and the next pixel data. 2. The thermal printer according to claim 1, wherein:
【請求項3】 前画素データは、当該行の前の行におい
て求められた着目画素の補正データであることを特徴と
する請求項1記載のサーマルプリンタ。
3. The thermal printer according to claim 1, wherein the previous pixel data is correction data of a pixel of interest obtained in a row before the row.
【請求項4】 着目画素データと隣接画素データ、前画
素データ、及び次画素データは、おのおの多値のデータ
であることを特徴とする請求項1記載のサーマルプリン
タ。
4. The thermal printer according to claim 1, wherein the pixel data of interest, adjacent pixel data, previous pixel data, and next pixel data are each multi-value data.
【請求項5】 着目画素の印画濃度に影響を与える影響
データに基づき補正データをさらに補正して再補正デー
タを求める再補正手段を設け、発熱制御手段を上記再補
正データに基づき発熱素子の発熱を制御して印画媒体に
印画する印画の濃度を調整するものとしたことを特徴と
する請求項1記載のサーマルプリンタ。
5. A re-correction means for obtaining correction data by further correcting the correction data based on the influence data which influences the print density of the pixel of interest, and controlling the heat generation control means to generate heat of the heating element based on the re-correction data. 2. The thermal printer according to claim 1, wherein the density of the print to be printed on the print medium is adjusted by controlling the print density.
【請求項6】 サーマルヘッドは発熱素子が複数の印画
ブロックに分割されて配列されたものであり、影響デー
タは上記印画ブロックの境界の信号であることを特徴と
する請求項5記載のサーマルプリンタ。
6. The thermal printer according to claim 5, wherein the thermal head has heating elements divided and arranged in a plurality of printing blocks, and the influence data is a signal of a boundary between the printing blocks. .
【請求項7】 影響データを、印画の走査方向の信号及
びこの走査方向と直角な方向である副走査方向の信号で
あることを特徴とする請求項5記載のサーマルプリン
タ。
7. The thermal printer according to claim 5, wherein the influence data is a signal in a printing scanning direction and a signal in a sub-scanning direction perpendicular to the scanning direction.
【請求項8】 影響データは、当該行の1行分の着目画
素データから算出された当該行の印画率であることを特
徴とする請求項5記載のサーマルプリンタ。
8. The thermal printer according to claim 5, wherein the influence data is a printing rate of the row calculated from pixel data of interest of one row of the row.
【請求項9】 着目画素データと補正データとを又は再
補正データとを切り換えるデータ切換手段を設け、発熱
制御手段を切り換えられた着目画素データまたは補正デ
ータあるいは再補正データに基づき発熱素子の発熱を制
御して印画媒体に印画する印画の濃度を調整するものと
したことを特徴とする請求項1ないし請求項8のいずれ
か1項記載のサーマルプリンタ。
9. A data switching means for switching between target pixel data and correction data or re-correction data, wherein the heat generation control means controls heat generation of the heating element based on the switched target pixel data or correction data or re-correction data. 9. The thermal printer according to claim 1, wherein the density of a print to be printed on a print medium is adjusted by controlling the print density.
JP30210396A 1996-11-13 1996-11-13 Thermal printer Pending JPH10138546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30210396A JPH10138546A (en) 1996-11-13 1996-11-13 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30210396A JPH10138546A (en) 1996-11-13 1996-11-13 Thermal printer

Publications (1)

Publication Number Publication Date
JPH10138546A true JPH10138546A (en) 1998-05-26

Family

ID=17904975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30210396A Pending JPH10138546A (en) 1996-11-13 1996-11-13 Thermal printer

Country Status (1)

Country Link
JP (1) JPH10138546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005280054A (en) * 2004-03-29 2005-10-13 Fujitsu Component Ltd Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005280054A (en) * 2004-03-29 2005-10-13 Fujitsu Component Ltd Printer

Similar Documents

Publication Publication Date Title
JP6946983B2 (en) Position detection device, image reader, image forming device, program and position detection method
KR0138362B1 (en) Thermal transfer printing apparatus and method
US5668587A (en) Automatic LED printbar uniformity and adjustment
KR920010609B1 (en) Halftone printer
US5644351A (en) Thermal gradation printing apparatus
JP4530438B2 (en) Image forming apparatus
US5841461A (en) Accumulated heat correction method and apparatus
KR20070080586A (en) Accumulated-heat correction apparatus and accumulated-heat correction method for thermal head
JPH1044482A (en) Thermal transfer recording method
JPH10138546A (en) Thermal printer
US7259775B2 (en) Image recording apparatus
JP3202285B2 (en) Thermal recording apparatus and thermal recording method
JP2005169641A (en) Imaging device and its control method
JP4249840B2 (en) Image recording apparatus and image recording method
JP4703199B2 (en) Thermal transfer printer and recording method
US7474321B2 (en) Thermal recording method and system employing edge printing
JP2530170B2 (en) Thermal transfer gradation control device
JP2916652B2 (en) Thermal transfer printer
JP2006218794A (en) Image forming device, and its controlling method
JPS62218151A (en) Intermediate tone thermal printer
JPS61120774A (en) Thermal head driver
JPS60236769A (en) Heat storage corrector
JP2009143163A (en) Thermal printer
JPWO2020194499A1 (en) Thermal printer and printing method
JP2598079B2 (en) Halftone recording device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040714

A131 Notification of reasons for refusal

Effective date: 20040720

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041207