JPS61280954A - Print control circuit for thermal printer - Google Patents

Print control circuit for thermal printer

Info

Publication number
JPS61280954A
JPS61280954A JP60119162A JP11916285A JPS61280954A JP S61280954 A JPS61280954 A JP S61280954A JP 60119162 A JP60119162 A JP 60119162A JP 11916285 A JP11916285 A JP 11916285A JP S61280954 A JPS61280954 A JP S61280954A
Authority
JP
Japan
Prior art keywords
dot
row
pulse width
rpd
heating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60119162A
Other languages
Japanese (ja)
Other versions
JPH0523191B2 (en
Inventor
Masami Yamazaki
山崎 正巳
Koichi Miyazawa
宮澤 幸一
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP60119162A priority Critical patent/JPS61280954A/en
Publication of JPS61280954A publication Critical patent/JPS61280954A/en
Publication of JPH0523191B2 publication Critical patent/JPH0523191B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • B41J2/35Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads providing current or voltage to the thermal head
    • B41J2/355Control circuits for heating-element selection
    • B41J2/36Print density control

Landscapes

  • Electronic Switches (AREA)
  • Fax Reproducing Arrangements (AREA)

Abstract

PURPOSE:To raise the quality of printing by suppressing the change of density as much as possible by controlling the heating time of heating elements more minutely by means of the first controller for within dot blocks and also by means of the second controller for dot block units. CONSTITUTION:To control the heating time of heating elements for dot block units, the second controller 8 to obtain reference pulse width data RPD in the following dot block BLOCKn according to printing data for the previous dot block BLOCK(n-1) is provided. Also, to control the heating time of the heating elements, the first controller 19 to obtain correcting pulse width data alphaA and alphaB for every one dot row separately for A-row and B-row each time one-dot row unit of thermal head is moved, regardless of dot blocks, is provided. (RPD+alphaA) and (RPD+alphaB) are added by adders 20 and 21 for A-row and B-row, and strobe pulse width data PWD-A and PWD-B for A-row and B-row are determined.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、サーマルヘッドの移動方向に対して垂直な発
熱素子列を備え、サーマルヘッドを1ドツト列単位に移
動可能なシリアル屋のサーマルプリンタに係り、特に、
発熱素子の加熱時間を制御する印字制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Field of Application The present invention is directed to a thermal printer for a cereal shop which is equipped with a row of heating elements perpendicular to the direction of movement of the thermal head and can move the thermal head one dot row at a time. Regarding printers, especially
The present invention relates to a printing control circuit that controls the heating time of a heating element.

(ロ) 従来の技術 シリアル製のサーマルプリンタにおいて、過去の印字デ
ータに応じて発熱素子の次の加熱時間を制御することは
、従来より行なわれていた。その方法は、特開昭59−
64373号公報に開示されているように、前ドツト列
の印字データに含まれる発熱ドツトの数をカウントし、
この発熱ドツト数に基づいて、次のドツト列における発
熱素子の加熱時間を制御するものが多かりた。
(b) Prior Art In serial thermal printers, it has been conventional to control the next heating time of a heating element in accordance with past print data. The method is JP-A-59-
As disclosed in Japanese Patent No. 64373, the number of heating dots included in the print data of the previous dot row is counted,
In many cases, the heating time of the heating element in the next dot row is controlled based on the number of heating dots.

(ハ)発明が解決しようとする問題点 従来の技術は、発熱素子の加熱時間を、過去の印字デー
タに応じて、サーマルヘッドの1ドツト列単位の移動毎
に制御していたため、1行の印字結果において、前半が
濃度が薄く、後半が濃度が濃くなるというような、広い
範囲での濃度変化を防止することは、比較的可能となる
が、近接したドツト毎の濃度変化が大きくなり過ぎ、印
字品位が低下するという問題がありだ。
(c) Problems to be solved by the invention In the conventional technology, the heating time of the heating element was controlled every time the thermal head moved in units of one dot column in accordance with past printing data. Although it is relatively possible to prevent density changes over a wide range of printing results, such as the first half being lighter and the second half being darker, it is possible to prevent density changes between adjacent dots to be too large. However, there is a problem that the print quality deteriorates.

に)問題点を解決するための手段 本発明の印字制御回路は、サーマルヘッドの移動方向に
対して垂直な発熱素子列を備えたシリアル型のサーマル
プリンタにおいて、過去の印字データに応じて前記発熱
素子の加熱時間を、前記サーマルヘッドの1ドツト列単
位の移動毎に制御する第1制御手段と、少なくともlキ
ャラクタに相当するドツトブロックにおける過去の印字
データに応じて前記発熱素子の加熱時間を、前記ドツト
ブロック毎に制御する第2制御手段とを備えたものであ
る。
B.) Means for Solving the Problems The print control circuit of the present invention controls the heat generation according to past print data in a serial type thermal printer equipped with a row of heat generating elements perpendicular to the moving direction of the thermal head. a first control means for controlling the heating time of the element every time the thermal head moves in units of one dot row; and a second control means for controlling each dot block.

(ホ)作用 本発明では、サーマルヘッドの発熱素子の加熱時間は、
過去の印字データにより制御され、より詳細には、少な
くとも1キャラクタに相当する各ドツトブロック内で、
加熱時間が均一になるように、第2制御手段により概略
の制御が行なわれ、更に、そのドツトブロック内で第1
制御手段により、きめ細かい制御が行なわれる。
(e) Effect In the present invention, the heating time of the heating element of the thermal head is
Controlled by past printing data, more specifically, within each dot block corresponding to at least one character,
Rough control is performed by the second control means so that the heating time is uniform, and furthermore, the first
Fine control is performed by the control means.

(へ)実施例 本発明の実施例の構成を示すブロック図を第1図に、そ
して、本実施例におけるサーマルヘッドの構成を第2図
に示す。
(F) Embodiment FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 shows the configuration of the thermal head in this embodiment.

本実施例のサーマルヘッド(1)は、サーマルヘッドの
移動方向に対して垂直であって、所定の間隔Pを有する
A列及びB列の2列の発熱素子列を備えており、各発熱
素子列は、24個の発熱素子から構成されている。
The thermal head (1) of this embodiment is perpendicular to the direction of movement of the thermal head, and includes two rows of heating elements, row A and row B, with a predetermined interval P, and each heating element A row is composed of 24 heating elements.

サーマルヘッド(1)の駆動回路(2)は、第1図波線
で示すように、A列の発熱素子列HAI〜HA24及び
B列の発熱素子列HBI−HB24に対し曵、各々、シ
フトレジスタ(3a)及び(3b)、ラッチ回路(4a
)及び(4b)、ドライバ(5a)及び(5b)を有し
、各ドライバ(5a)及び(5b)は、印加されるスト
ローブパルスS T B−A及び5TB−Bのパルス幅
Tに相当する時間、ラッチ回路(4a)及び(4b)か
ら入力される印字データに応じて、対応する発熱素子を
加熱する。印字制御回路(6)は、第1図に示すように
、印字制御を司るCPU(7)、インターフェース(8
)を介して入力される印字データを格納する印字バッフ
ァ(9)、キャリッジモータ駆動情報CRやA列及びB
列の選択信号5L−A及び5L−Bを出力するインター
フェースQl、プログラム及び制御に必要な固定情報を
記憶したR OMQυ、RAM(13、パラレルの印字
データをシリアルに交換し、各々、シフトレジスタ(3
a)及び(3b)K供給するパラレルシリアル交換回路
(13a)及び(13b)、クロックパルス発振器I、
クロックパルスCLをカウントすることにより、セット
されたデータに応じたパルス幅TのストローブパルスS
TBを発生するタイマーカウンタa9、ス)0−ブパル
スSTBを選択信号SL−人及び5L−BK応じていず
れか一方のドライバ(5a)あるいは(5b)に、スト
ローブパルス5TB−Aあるいは5TB−Bとして印加
するセレクタQlより構成されている。
The drive circuit (2) of the thermal head (1), as shown by the broken line in FIG. 3a) and (3b), latch circuit (4a)
) and (4b), drivers (5a) and (5b), each driver (5a) and (5b) corresponding to the pulse width T of the applied strobe pulses S T B-A and 5TB-B. The corresponding heating element is heated in accordance with the time and print data input from the latch circuits (4a) and (4b). As shown in FIG. 1, the print control circuit (6) includes a CPU (7) that controls printing, an interface (8)
), a print buffer (9) that stores print data input via the carriage motor drive information CR, columns A and B
Interface Ql that outputs column selection signals 5L-A and 5L-B, ROMQυ that stores fixed information necessary for programming and control, RAM (13), which exchanges parallel print data serially, and a shift register ( 3
a) and (3b) K-supplying parallel-serial switching circuits (13a) and (13b), clock pulse oscillator I,
By counting the clock pulses CL, a strobe pulse S with a pulse width T according to the set data is generated.
The timer counter a9 that generates TB sends the 0-b pulse STB as a strobe pulse 5 TB-A or 5 TB-B to either one of the drivers (5a) or (5b) according to the selection signal SL-man and 5L-BK. It consists of a selector Ql that applies the voltage.

又、サーマルヘッドには、サーミスタ等の温度センサα
ηが取付けられており、この温度センサ1ηからの温度
情報THが、インターフェースαIK入力されている。
In addition, the thermal head is equipped with a temperature sensor α such as a thermistor.
η is attached, and temperature information TH from this temperature sensor 1η is input to the interface αIK.

更には、濃度調節用の濃度スイッチからの情報SWや、
発熱素子の抵抗ランク情報RRも、インターフェースQ
lに入力されている。
Furthermore, information SW from the concentration switch for concentration adjustment,
The resistance rank information RR of the heating element is also provided by the interface Q.
It is input to l.

そして、本実施例では、印字バッファ(9)K格納され
ている印字データに基づいて、A列及びB列駆動時に、
各々、タイマーカウンタ(IsKセットするストローブ
パルス幅データPWD−A及びPWD−Bを制御し、こ
れにより、ストローブパルス5TB−A及び5TB−B
のパルス幅を制御して、発熱素子の加熱時間を制御して
いる。
In this embodiment, based on the print data stored in the print buffer (9) K, when driving columns A and B,
respectively, control the strobe pulse width data PWD-A and PWD-B to be set by the timer counter (IsK), thereby controlling the strobe pulses 5TB-A and 5TB-B.
The heating time of the heating element is controlled by controlling the pulse width of the heating element.

そこで、本実施例の機能ブロック図を第3図に示し、制
御の概要を説明する。尚、以下の説明においては、lキ
ャラクタは24X24ドツトで構成されているものとし
、第2図に示すように、1行の印字ラインを1キャラク
タ以上のドツトブロック、例えば、1ドツトブロツクが
100ドツト列のブロックBLOCKI 、BLOCK
2 、BLOCK3.・・・・・・・・・に分割する場
合について説明する。
Therefore, a functional block diagram of this embodiment is shown in FIG. 3, and an overview of the control will be explained. In the following explanation, it is assumed that an l character is composed of 24 x 24 dots, and as shown in FIG. BLOCKI, BLOCK
2, BLOCK3. The case of dividing into... will be explained.

本実施例では、発熱素子の加熱時間をドツトブロック単
位に制御するため、前のドツトブロックBLOCK(n
−1)の印字データに応じて、次のドツトブロックBL
OCKルにおける基準パルス幅データRPDを求める第
2制御手段α均と、ドツトブロックに関係なく、サーマ
ルヘッドの1ドツト列単位の移動毎に、発熱素子の加熱
時間を制御するため、A列とB列別々に、1ドツト列毎
の補正パルス幅データα、及びα烏を求める第1制御手
段0とを有しており、A列用及びB列用の加算手段(至
)及びQυで、各々、(RPD+αA)及び(RPD+
α璽)の加算を行なって、A列及びB列の各々のストロ
ーブパルス幅データPWD−A及びPWD−Bを決定し
ている。
In this embodiment, in order to control the heating time of the heating element in units of dot blocks, the previous dot block BLOCK(n
-1) Next dot block BL according to the print data
A second control means α for determining the reference pulse width data RPD in the OCK row, and a second control means α for determining the reference pulse width data RPD in the OCK row, and a second control means for determining the reference pulse width data RPD in the A row and B row in order to control the heating time of the heating element for each dot row unit movement of the thermal head, regardless of the dot block. Each column has a first control means 0 for calculating corrected pulse width data α and α for each dot column, and addition means (to) and Qυ for A column and B column respectively. , (RPD+αA) and (RPD+
The strobe pulse width data PWD-A and PWD-B of the A column and the B column are determined by adding the strobe pulse width data PWD-A and PWD-B, respectively.

即ち、第2制御手段α唱:、前のドツトブロックBLO
CK(ルー1)KおけるA列に関する印字データ中の発
熱ドツト数ル、を累算する累算手段(2)と、1ドツト
ブロツク内の予め定められた発熱ドツト密度に対応する
基準発熱ドツト数M6%例えば、発熱ドツト密度が20
%であれば24X100X0.2X0.5=240と、
累算結果Mとを比較する比較手段(ハ)と、前ドツトブ
ロックBLOCK(f&−1)における基準パルス幅デ
ータRPD(、−、)の1%増加値RP D c n−
1)  と1%減少値RPD(3−1)−を演算する演
算手段c!4と、比較結果に応じて、RPD(、、) 
 とRPD(n−t)−のいずれか一方を選択し、選択
した値を次のドツトブロックBLOCKt&における基
準パルス幅データRPD(a)として出力する選択手段
(ハ)とより成る。従りて、基準パルス幅データRPD
は、前ドツトブロックの発熱ドツト数に応じて変化し、
同一ドツトブロック内では一定となる。
That is, the second control means α calls: the previous dot block BLO.
an accumulating means (2) for accumulating the number of heat-generating dots in the print data regarding column A in CK (Rue 1) K; and a standard number M6 of heat-generating dots corresponding to a predetermined density of heat-generating dots in one dot block. % For example, if the heating dot density is 20
If it is %, 24X100X0.2X0.5=240,
A comparison means (c) for comparing the cumulative result M and a 1% increase value RPDCn- of the reference pulse width data RPD(,-,) in the previous dot block BLOCK(f&-1).
1) and a calculation means c! for calculating the 1% reduction value RPD(3-1)-. 4 and, depending on the comparison result, RPD (,,)
and RPD(nt)-, and outputs the selected value as reference pulse width data RPD(a) in the next dot block BLOCKt&. Therefore, the reference pulse width data RPD
changes depending on the number of heating dots in the previous dot block,
It is constant within the same dot block.

例えば、BLOCKIでのRPDが「440μs」で、
累算値M6ir300Jであれば、BLOCK2でRP
Dは1%減の「436μs」となり、更KBLOCK2
での累算値Mカr350J テアれば、13 L OC
K 3−eRP Dj2更K 1%減ノ「431μs」
となる。
For example, RPD in BLOCKI is "440μs",
If the cumulative value is M6ir300J, RP with BLOCK2
D decreased by 1% to "436μs", and further KBLOCK2
Cumulative value at Mkr350J If tared, 13 L OC
K 3-eRP Dj2 change K 1% decrease "431μs"
becomes.

一方、第1制御手段(1912、A列制御部(イ)とB
列制御部罰とを有し、A列制御部(ハ)は印字しようと
するドツト列がi列目(i:奇数)である場合、<i−
2>列目と<1−4)列目のドツト列の印字データ中に
含まれる発熱ドツト数ル、を累算する累算手段(至)と
、累算結果風、を基準発熱ドツト数m1〜廓・と比較す
る比較手段−と、複数の補正パルス幅データα、〜α、
から、比較結果に応じた補正パルス幅データを選択し、
i列目印字時の補正パルス幅データα、(t)として出
力する選択手段(至)とより成る。ここで、基準発熱ド
ツト数m1〜m・と補正パルス幅データα1〜α、の関
係は、第4図に示すように定められている。
On the other hand, the first control means (1912, A row control section (a) and B
If the dot row to be printed is the i-th column (i: odd number), the A-column control section (c)
An accumulating means (total) for accumulating the number of heat generating dots included in the print data of the dot rows of the 2> column and the <1-4) column, and the cumulative result wind as the standard number of heat generating dots m1. Comparison means for comparing with - and a plurality of corrected pulse width data α, ~α,
Select the corrected pulse width data according to the comparison result from
It consists of a selection means (to) which outputs the corrected pulse width data α,(t) when printing the i-th column. Here, the relationship between the reference number of heating dots m1 to m. and the corrected pulse width data α1 to α is determined as shown in FIG.

又、B列制御部(5)も同様、累算手段C11)、比較
手段r33、選択手段(至)より成り、j列目()°:
偶数)印字時の補正パルス幅データα−<j)は、(j
−2)列目と()°−4)列目の印字データ中に含まれ
る発熱ドツト数n、の累算結果専、に応じて、α。
Similarly, the B column control section (5) is composed of an accumulating means C11), a comparing means r33, and a selecting means (to), and the jth column ()°:
The corrected pulse width data α-<j) during printing (even number) is (j
α according to the cumulative result of the number n of heating dots included in the print data of the -2) and ()°-4) columns.

〜α、のいずれかが選択される。~α, is selected.

このように、第1制御手段(1’Jでは、キャリッジモ
ータを1ステツプ駆動して、サーマルヘッド(1)を1
ドツト列移動させる毎に、α、あるいはα酋が制御され
る。
In this way, the first control means (1'J) drives the carriage motor one step to move the thermal head (1) one step.
Each time the dot row is moved, α or the α value is controlled.

そこで、例えば、101列目と103列目の累算結果m
、が「21」であれば、105列目印字時のαAは「−
25μs」となり、105列目はドツトブロックBLO
CK2の範囲なので、ストローブパルス幅データPWD
−Aは、RPD+α。
Therefore, for example, the cumulative result m of the 101st and 103rd columns is
, is "21", then αA when printing the 105th column is "-"
25μs” and the 105th column is dot block BLO.
Since it is in the range of CK2, the strobe pulse width data PWD
-A is RPD+α.

=435−25=411μSとなる。又、102列目と
104列目の累算結果71L、が「16」であれば、1
06列目印字時のα自はl”−15μs」となり、スト
ローブパルス幅データPWD−Bは、RPD+αm =
436 15 = 421μ3となる。
=435-25=411μS. Also, if the cumulative result 71L of the 102nd and 104th columns is "16", 1
When printing the 06th column, α self is l”-15 μs”, and strobe pulse width data PWD-B is RPD + αm =
436 15 = 421μ3.

次に、第1図の構成において、実際に制御を行なう方法
について、第5図のフローチャートを参照しながら説明
する。
Next, a method of actually controlling the configuration shown in FIG. 1 will be explained with reference to the flowchart shown in FIG. 5.

先ず、初期設定により、第6図に示すRA M(13の
バッファBUF4〜8をクリアし、バッファBUFI−
BUF3に基準パルス幅データの初期値RPDo、例え
ば「440 μsJを設定する。
First, by initial setting, buffers BUF4 to BUF8 of RAM (13) shown in FIG.
Set the initial value RPDo of the reference pulse width data, for example, "440 μsJ" in BUF3.

そし【、第5図のフローチャートに示すように、キャリ
ッジモータを1ステップ送りながら、A列とB列の印字
を交互に行なう。
Then, as shown in the flowchart of FIG. 5, printing of columns A and B is performed alternately while moving the carriage motor one step.

先ず、A列印字時は、印字バッファ(9)からA列印字
データを読出し、これをパラレルシリアル交挽回路(1
3a)及び(13b)へ入力する。すると、シリアルデ
ータに交換された印字データがシフトレジスタ(3a)
及び(3b)に転送され、更に、ラッチ回路(4a)及
び(4b)にラッチされ、ドライバ(5a)及び(5b
)に入力される。そこで、次に、A列ストローブパルス
幅データPWD−AをBUF2から読出し、タイマーカ
クンタa9ヘセットする。この場合、PWD−Aとして
初期値1440μs」がセットされる。すると、440
μsのストローブパルスSTBが出力され、セレクタ0
8でA列側のみが選択され、この5TB4S8TR−A
としてドライバ(5a)K印加される。従って、印字デ
ータに対応したA列の発熱素子のみが、440μsの時
間加熱されることとなり、A列印字が実行される。
First, when printing column A, read column A print data from the print buffer (9) and send it to the parallel serial switching circuit (1
3a) and (13b). Then, the print data exchanged with serial data is transferred to the shift register (3a).
and (3b), is further latched by latch circuits (4a) and (4b), and is transferred to drivers (5a) and (5b).
) is entered. Therefore, next, the A column strobe pulse width data PWD-A is read out from BUF2 and set in timer counter a9. In this case, an initial value of 1440 μs is set as PWD-A. Then, 440
A μs strobe pulse STB is output, and the selector 0
8, only the A row side is selected, and this 5TB4S8TR-A
K is applied to the driver (5a) as follows. Therefore, only the heating elements of the A row corresponding to the print data are heated for 440 μs, and the A row printing is executed.

そして、この人印字処理中に、5EP−5以降へ の制御を行なう。Then, during this person's printing process, go to 5EP-5 or later. control.

即ち、第2制御を実行するため、8TEP3において印
字バッファ(9)からパラレルシリアル変換回路(13
a)及び(13b)へ送出した印字データ中に含まれる
発熱ドツト数ル、を、BUF6へ累算する。即ち、BU
F6は上述した累算結果Mを得るためのバッファである
。又、5TEP−6,7においては、第1制御を実行す
るため、BUF7の内容と発熱ドツト数rLAを加算し
てm、を求め、このmムからα、を求める。そして、こ
のα、とBUFIに記憶されているRPD、より、次の
A列印字時のPWD−Aを求め、BUF2へ記憶する。
That is, in order to execute the second control, in 8TEP3, the print buffer (9) is
The number of heating dots included in the print data sent to a) and (13b) is accumulated in BUF6. That is, B.U.
F6 is a buffer for obtaining the above-mentioned accumulation result M. In addition, in 5TEP-6 and 7, in order to execute the first control, m is obtained by adding the contents of BUF 7 and the number of heating dots rLA, and α is obtained from this mm. Then, from this α and the RPD stored in BUFI, PWD-A for the next A column printing is determined and stored in BUF2.

更に、BUF7にはルムを記憶する。次に、A列の累算
が1ドツトブロツク分、即ち、50ドツト列まで達した
か否か判定し、達していなければ、処理な終了する。
Furthermore, lume is stored in BUF7. Next, it is determined whether the accumulation in column A has reached one dot block, that is, 50 dot columns, and if not, the process is terminated.

以上のように、A列における処理が終了すると、CPU
(71は、キャリッジモータを1ステツプ駆動し、B列
印字処理に移る。B列印字では、A列の場合と同様、印
字バッファ(9)から読出したB列印字データをパラレ
ルシリアル変換回路(13a)及び(13b)へ送出し
、BUF3から読出したB列ストローブパルス幅データ
PWD−Bをタイマーカウンタロタへセットする。この
場合も、PWD−Bは初期値「440μs」である。こ
のB列印字処理においては、A列処理における5TEP
−5の累算処理は行なわず、第1制御に移る。つまり、
5TEP−16において送出した印字データ中に含まれ
る発熱ドツト数ルーとBUF8の内容を加算してrIL
富を求め、このrILIからα1を求める。そして、こ
のα1とBUFlの内容RPD、より、次のB列印字時
のPWD−Bを求め、BUF3へ記憶する。更に、ns
をBUF8に記憶する。この後、5TEP23〜26に
おいて、第2制御における1%増減値の算出を行なう。
As mentioned above, when the processing in column A is completed, the CPU
(71 drives the carriage motor one step and moves on to the B column printing process. In the B column printing, as in the case of the A column, the B column print data read from the print buffer (9) is transferred to the parallel serial conversion circuit (13a). ) and (13b), and set the B column strobe pulse width data PWD-B read from BUF3 to the timer counter rotor. In this case, PWD-B is also the initial value "440 μs". This B column is printed. In processing, 5TEP in A column processing
-5 accumulation processing is not performed and the process moves to the first control. In other words,
5 Add the number of heating dots contained in the print data sent in TEP-16 and the contents of BUF8 to calculate rIL.
Find wealth and find α1 from this rILI. Then, from this α1 and the content RPD of BUF1, PWD-B at the time of printing the next B row is determined and stored in BUF3. Furthermore, ns
is stored in BUF8. After this, in 5TEP23-26, the 1% increase/decrease value in the second control is calculated.

即ち、基準パルス幅データRPDここではRPD、の1
%増加値RPD  と1%減少値RPD  を計算し、
各位を各々BUF4及びBUF51C記憶しておく。以
上によりB列印字処理を終了する。
That is, the reference pulse width data RPD, here RPD, is 1
Calculate the % increase value RPD and 1% decrease value RPD,
BUF4 and BUF51C are stored respectively. With the above steps, the B column printing process is completed.

以下、同様に、A列とB列の処理を交互に行なって行く
と、A列とB列の各々において、第1制御によるαム及
びα■の算出と、これに伴うPWD−A及びPWD−B
の変更が、キャリッジモータの1ステツプの駆動毎に交
互に行なわれ【行く。
Similarly, when the processing of columns A and B is performed alternately, in each of columns A and B, the first control calculates αm and α■, and the accompanying PWD-A and PWD -B
The changes are made alternately for each step of the carriage motor.

そして、1ドツトブロツクBLOCKIK相当する範囲
内でのA列印字が終了すると、BUF6には1ドツトブ
ロツクにおける発熱ドツトの累算結果Mが得られる。従
って、Mと基準発熱ドツト数M0の比較が行なわれ、そ
の結果、B列印字時に計算され、BUF4及び5vc記
憶されたRPDとRPD”のいずれか一方が選択され、
BLOCK2における基準パルス幅データRPDが決定
される。そして、この値はBUFIK格納され、BUF
6の内容はクリアされる。以下、BLOCK2において
は、このRPDに逐次求められるαム及びα、が加算さ
れ、PWD−A及びPWD−Bが決定される。又、印字
が進入ドツトブロックBLOCK2の印字が全て終了す
ると、前述と同様の処理に・より、新たな基準パルス幅
データRPDが決定される。
When the printing of row A within the range corresponding to one dot block BLOCKIK is completed, the cumulative result M of the heating dots in one dot block is obtained in BUF6. Therefore, a comparison is made between M and the standard number of heating dots M0, and as a result, either one of RPD and RPD" calculated at the time of printing column B and stored in BUF4 and 5vc is selected.
Reference pulse width data RPD in BLOCK2 is determined. This value is then stored in BUFIK and BUF
The contents of 6 are cleared. Thereafter, in BLOCK2, αm and α, which are successively obtained, are added to this RPD, and PWD-A and PWD-B are determined. Furthermore, when all printing of the incoming dot block BLOCK2 is completed, new reference pulse width data RPD is determined by the same process as described above.

尚、基準パルス幅データRPDの初期値RPD。Note that the initial value RPD of the reference pulse width data RPD.

ヲ1、インターフェースα〔に入力されるRR,SW。1. RR and SW input to interface α [.

THE応じて変更されるものであり、THに関しては、
基準値を440μsとして、第7図に示すような補正が
、1印字ライン毎に行なわれる。
It will be changed depending on THE, and regarding TH,
With a reference value of 440 μs, correction as shown in FIG. 7 is performed for each print line.

ところで、実施例においては、1ドツトブロツクの累算
結果Mを唯一の固定値Maと比較したが、第1制御の場
合と同様、複数の固定値と比較し、その結果、±1%だ
けでなく±2%、±3%と基準パルス幅データを変化さ
せるようにしてもよい。
By the way, in the embodiment, the accumulated result M of one dot block was compared with the only fixed value Ma, but as in the case of the first control, it was compared with a plurality of fixed values, and as a result, not only ±1% but also The reference pulse width data may be changed by ±2% or ±3%.

又、第1制御においては、印字しようとするドツト列の
1回及び2回前の印字データにより、次のドツト列にお
ける補正パルス幅データα、及びα。
In addition, in the first control, the corrected pulse width data α and α for the next dot train are determined based on the print data of the first and second times before the dot train to be printed.

を求めたが、1回前の印字データのみから求めても、あ
るいは、4〜5回前までの印字データまで用いても良い
。又、1ドツトブロツクとしては、1キャラクタ即ち2
4ドツト列から、250ドツト列程度まで適宜選択すれ
ばよい。
However, it may be determined from only the previous printing data, or may also be obtained using printing data from 4 to 5 previous printings. Also, as one dot block, one character, that is, two
The number may be appropriately selected from 4 dot rows to about 250 dot rows.

更に、上述の説明においては、第1制御手段として、印
字前数ドツト列の印字データに応じて、次の1ドツト列
の発熱素子全ての加熱時間を一挙に制御する例を上げた
が、1ドツト列の各発熱素子を各々別々に制御する方式
を用いても良い。
Furthermore, in the above description, an example was given in which the first control means controls the heating time of all the heating elements of the next one dot row at once in accordance with the print data of several dot rows before printing. A method may be used in which each heating element in the dot row is controlled separately.

(ト)  発明の効果 本発明に依れば、第2制御手段によりドツトブロック単
位に、そして、ドツトブロック内では第1制御手段によ
りきめ細かく、発熱素子の加熱時間が制御されるので、
濃度変化を極力抑え、印字品位が向上する。特に、第2
制御手段を設けることにより、第1制御手段での補正幅
を小さく抑えることが可能となり、このため、近接ドツ
ト間での極端な濃度変化を防止できる。
(G) Effects of the Invention According to the present invention, the heating time of the heat generating element is controlled by the second control means in units of dot blocks, and within each dot block, the heating time of the heating element is finely controlled by the first control means.
Print quality is improved by minimizing density changes. Especially the second
By providing the control means, it is possible to suppress the correction width by the first control means to a small value, and therefore, it is possible to prevent extreme density changes between adjacent dots.

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

第1図は本発明の実施例の構成を示すブロック図、第2
図は本発明の詳細な説明するための説明図、第3図は本
実施例の機能ブロック図、第4図は基準発熱ドツト数と
補正パルス幅データの関係を示す説明図、第5図は本実
施例の処理内容を示すフローチャート、第6図はRAM
内に設定されたバッファの構成を示す説明図、第7図は
温度情報による補正値の具体例を示す説明図である。 主な図番の説明 (1)・・・サーマルヘッド、(2声・・・駆動回路、
(6)・・・印字制御回路、 (7)・・・CP U 
、  (9)・・・印字バッファ・ (15)°°°タ
イマーカウンタ、 α印・・・第2制御手段、 (11
・・・第1制御手段、 CI’Qel)・・・加算手段
。 出願人 三洋電機株式会社 外1名 代理1人 弁理士  佐 野 静 失 策2 図 第7図
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG.
3 is a functional block diagram of this embodiment, FIG. 4 is an explanatory diagram showing the relationship between the reference number of heating dots and correction pulse width data, and FIG. 5 is an explanatory diagram for explaining the present invention in detail. A flowchart showing the processing contents of this embodiment, FIG. 6 is a RAM
FIG. 7 is an explanatory diagram showing a configuration of a buffer set in the buffer, and FIG. 7 is an explanatory diagram showing a specific example of a correction value based on temperature information. Explanation of main drawing numbers (1)...Thermal head, (2 voices...Drive circuit,
(6)...Printing control circuit, (7)...CPU
, (9)... Print buffer, (15) °°° timer counter, α mark... second control means, (11
. . . first control means, CI'Qel) . . . addition means. Applicant Sanyo Electric Co., Ltd. 1 other person and 1 representative Patent attorney Shizuka Sano Mistake 2 Figure 7

Claims (1)

【特許請求の範囲】[Claims] (1)サーマルヘッドの移動方向に対して垂直な発熱素
子列を備えたシリアル型のサーマルプリンタにおいて、
過去の印字データに応じて前記発熱素子の加熱時間を、
前記サーマルヘッドの1ドット列単位の移動毎に制御す
る第1制御手段と、少なくとも1キャラクタに相当する
ドットブロックにおける過去の印字データに応じて前記
発熱素子の加熱時間を、前記ドットブロック毎に制御す
る第2制御手段とを有することを特徴とするサーマルプ
リンタの印字制御回路。
(1) In a serial type thermal printer equipped with a row of heating elements perpendicular to the direction of movement of the thermal head,
The heating time of the heating element is determined according to past printing data.
a first control means for controlling each movement of the thermal head in units of one dot row; and a first control means for controlling the heating time of the heating element for each dot block according to past print data in a dot block corresponding to at least one character. A printing control circuit for a thermal printer, characterized in that it has a second control means.
JP60119162A 1985-05-31 1985-05-31 Print control circuit for thermal printer Granted JPS61280954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60119162A JPS61280954A (en) 1985-05-31 1985-05-31 Print control circuit for thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60119162A JPS61280954A (en) 1985-05-31 1985-05-31 Print control circuit for thermal printer

Publications (2)

Publication Number Publication Date
JPS61280954A true JPS61280954A (en) 1986-12-11
JPH0523191B2 JPH0523191B2 (en) 1993-03-31

Family

ID=14754450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60119162A Granted JPS61280954A (en) 1985-05-31 1985-05-31 Print control circuit for thermal printer

Country Status (1)

Country Link
JP (1) JPS61280954A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5761487A (en) * 1980-09-30 1982-04-13 Fujitsu Fanuc Ltd Hand for industrial robot

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5964373A (en) * 1982-10-05 1984-04-12 Sanyo Electric Co Ltd Thermal recording apparatus
JPS6090780A (en) * 1983-10-25 1985-05-21 Shinko Electric Co Ltd Thermal printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5964373A (en) * 1982-10-05 1984-04-12 Sanyo Electric Co Ltd Thermal recording apparatus
JPS6090780A (en) * 1983-10-25 1985-05-21 Shinko Electric Co Ltd Thermal printer

Also Published As

Publication number Publication date
JPH0523191B2 (en) 1993-03-31

Similar Documents

Publication Publication Date Title
US4590487A (en) Thermal recording apparatus
JPS61280954A (en) Print control circuit for thermal printer
JPS6270064A (en) Recorded density controller
JPS61280955A (en) Print control system for thermal printer
JPS59229365A (en) Heat accumulation correcting method of thermal head
JPH02539A (en) Device for drive of thermal head
EP0401820B1 (en) Recording density correction apparatus in printer
US5160941A (en) Method for driving thermal print head to maintain more constant print density
JP3039608B2 (en) Halftone recording method and apparatus
JP3231354B2 (en) Recording device
JPH05201053A (en) Recording device
JPS6156112B2 (en)
JPS59229363A (en) Heat accumulation correcting method and apparatus of thermal head
JP2928628B2 (en) Thermal recording device
JP2868567B2 (en) Recording method and recording device
JPH0371025B2 (en)
JP3016524B2 (en) Recording device
JPS61120774A (en) Thermal head driver
JPH03147856A (en) Recording head drive method and recording device using same method
JPH03148957A (en) Driving method for recording head and recording device using the method
JPH05330122A (en) Combined use type thermal transfer printer
JPH01288464A (en) Uneven record density correcting method
JPS5852166B2 (en) recording device
JPH0679903A (en) Density gradation control type thermal printer
JPH01186342A (en) Thermal printer