JP2003291429A - Thermal head driver circuit - Google Patents

Thermal head driver circuit

Info

Publication number
JP2003291429A
JP2003291429A JP2002101708A JP2002101708A JP2003291429A JP 2003291429 A JP2003291429 A JP 2003291429A JP 2002101708 A JP2002101708 A JP 2002101708A JP 2002101708 A JP2002101708 A JP 2002101708A JP 2003291429 A JP2003291429 A JP 2003291429A
Authority
JP
Japan
Prior art keywords
data
buffer
thermal head
control circuit
line
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.)
Abandoned
Application number
JP2002101708A
Other languages
Japanese (ja)
Inventor
Hiroyuki Shikame
鹿目  浩之
Naoki Shigeta
直希 重田
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.)
Max Co Ltd
Original Assignee
Max 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 Max Co Ltd filed Critical Max Co Ltd
Priority to JP2002101708A priority Critical patent/JP2003291429A/en
Publication of JP2003291429A publication Critical patent/JP2003291429A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a higher printing rate in a multi-gradation thermal printer. <P>SOLUTION: The thermal head driver circuit is provided with a first buffer 3 and a second buffer 4. Line data of 8 bit per one dot are written by a first control circuit 2 alternately in the first buffer and the second buffer, and read out by a second control circuit 5 alternately from the first buffer and the second buffer, so as to be outputted to a thermal head 7 via a comparator 6. Since the data writing and reading operations to the dual buffers can be processed alternately and parallel, multi-gradation data can be transferred to the thermal head at a high speed, so that the printing rate can be improved. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、サーマルヘッド
ドライバ回路に関するものであり、特に、データ転送速
度を高速化したサーマルヘッドドライバ回路に関するも
のである。 【0002】 【従来の技術及び発明が解決しようとする課題】サーマ
ルプリンタには多諧調印刷や熱履歴による諧調制御を行
うものがある。諧調制御を行うサーマルヘッドドライバ
回路は、例えば1ドットを8ビットデータとして表して1
ドットにおける発熱体通電時間を分割制御する手段を用
いている。熱履歴制御は、1ラインの印刷にあたって1
ラインを構成するドット毎の通電時間を通電履歴に応じ
て短縮し、1ドット毎に例えばそのドットの1ライン前
と2ライン前のデータ及びそのドットの左隣ドットと右
隣ドットの1ライン前のデータに応じて通電時間を短縮
することにより、高精度の諧調制御を行う。 【0003】サーマルヘッドドライバ回路の制御回路
は、ページメモリに展開された1ドットあたり8ビットの
印刷データを読出して1ラインのデータを比較器へ入力
し、比較器からサーマルヘッドのシフトレジスタへシリ
アル伝送する。比較器はクロック信号に同期して8ビッ
トデータの内容を出力し、ストローブパルス発生中にシ
フトレジスタの保持データを複数回にわたって書き換え
ることにより各発熱素子の通電時間を制御して1ライン
の印刷を実行する。1ラインの印刷実行後に、サーマル
ヘッドドライバ回路は次の1ラインデータを比較器へ転
送して上記の処理を繰り返す。 【0004】このように、諧調制御を行う場合は諧調制
御を行わない場合と比較してデータ量が著しく多いの
で、サーマルヘッドドライバ回路におけるデータの読出
しと転送の負担が大きく、印刷速度の高速化におけるボ
トルネックになっている。そこで、サーマルヘッドへの
データの転送速度を高速化するために解決すべき技術的
課題が生じてくるのであり、本発明は上記課題を解決す
ることを目的とする。 【0005】 【課題を解決するための手段】この発明は、上記目的を
達成するために提案するものであり、二つのバッファ
と、二つのバッファへ1ライン毎の印刷データを交互に
書込む第一制御回路と、二つのバッファから1ライン毎
の印刷データを交互に読出して比較器へ転送する第二制
御回路を備え、第一制御回路により一方のバッファへ1
ラインの印刷データを書込むと同時に第二制御回路によ
り他方のバッファから1ラインの印刷データを読出すこ
とで二つのバッファへの書込みと読出しとを並行処理す
るように構成したサーマルヘッドドライバ回路を提供す
るものである。 【0006】 【発明の実施の形態】以下、この発明の実施の一形態を
図に従って詳述する。図1はサーマルヘッド駆動回路を
示し、1はページメモリ、2は第一制御回路、3は第一バ
ッファ、4は第二バッファ、5は第二制御回路、6は比較
器である。7はサーマルヘッドであり、シフトレジスタ
8、ラッチ9、発熱素子10を備えている。本発明は、第一
制御回路2がページメモリ1から印刷データを読出して第
一バッファ3と第二バッファ4へ1ライン毎のデータを交
互に書込み、第二制御回路5が第一バッファ3と第二バッ
ファ4から交互にデータを読出して比較器6へ転送するよ
うに回路を構成し、第一制御回路2の書込み動作と第二
制御回路5の読出し動作を並行処理することを特徴とし
ている。 【0007】ドットパターン展開部(図示せず)により
生成された1ドットあたり8bitの印刷データはページメ
モリに格納される。例えば、64段階の熱量制御を行う場
合は、8bitドットデータに0(hex)から40(hex)までの値
が振り当てられ、128段階の熱量制御を行う場合は0(he
x)から80(hex)までの値が振り当てられる。図2は、64
段階熱量制御における1ドットの印刷パルスの例を示
し、Aはデータ40(hex)によるドット、Bは1ライン前の
データと2ライン前のデータがオンの履歴により出力時
間を25パーセント短縮したデータ30(hex)の印刷パル
ス、CはBに加えてさらに1ライン前の左隣と右隣のデー
タのオン履歴により、出力時間を50パーセント短縮した
データ20(hex)による印刷パルスである。 【0008】サーマルヘッド駆動回路の第一制御回路2
は、印刷データをページメモリ1から読出し、まず1ライ
ン目のデータを第一バッファ3に書込む。次に第一制御
回路2は2ライン目のデータを第ニバッファ4に書込む。
第一制御回路2が第一バッファ3へ1ライン目のデータの
書込みを完了した時点で、第二制御回路5は第一バッフ
ァ3から1ライン目のデータを読出して比較器6へ転送す
る。比較器6はカウンタを内蔵しており、クロックに同
期して1ラインの印刷時間をカウント毎に区切る。1ライ
ンの印刷時間の分割数は64段階熱量制御においては64で
ある。比較器6は区切られた時間帯毎にカウント値とド
ットデータを比較し、真ならば“1”、偽ならば“0”の
2値シリアルデータに変換し、クロックに同期してサー
マルヘッド7のシフトレジスタ8へ出力する。この処理を
1ラインの印刷の間にカウント値の回数分(この例では6
4回)行う。 【0009】続いて、第一制御回路2は3ライン目のデー
タを第一バッファ3に書込み、その間に第二制御回路5が
第ニバッファ4から2ライン目のデータを読出し、比較器
6にかけて2値シリアルデータをシフトレジスタ8へ64回
出力する。以上のように、1ラインデータ毎に2つのバッ
ファ3, 4へ交互に書込み、2つのバッファ3, 4から交互
にデータを読出して書込みと読出しとを並行処理する。
これにより、ページメモリから制御回路への転送は1回
で完了し、かつ多階調のデータをサーマルヘッドへ高速
転送でき、高速、高精細の印刷を実現できる。 【0010】尚、この発明は上記の実施形態に限定する
ものではなく、この発明の技術的範囲内において種々の
改変が可能であり、この発明がそれらの改変されたもの
に及ぶことは当然である。 【0011】 【発明の効果】以上説明したように、本発明のサーマル
ヘッド駆動回路は二系統のバッファを設け、二系統のバ
ッファへのデータ書込みと読出しとを交互に並行処理す
るので、多階調のデータをサーマルヘッドへ高速転送で
き、印刷速度を向上することができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal head driver circuit, and more particularly, to a thermal head driver circuit having a high data transfer speed. 2. Description of the Related Art Some thermal printers perform multi-tone printing or tone control based on thermal history. A thermal head driver circuit that performs gradation control, for example, represents one dot as 8-bit data, and
A means for dividing and controlling the heating element energizing time in the dot is used. Thermal history control is used for printing one line.
The energizing time for each dot constituting the line is shortened in accordance with the energizing history, and for each dot, for example, data one line before and two lines before the dot and one dot before the left and right adjacent dots of the dot By reducing the energization time in accordance with the data of (1), high-precision gradation control is performed. The control circuit of the thermal head driver circuit reads out the print data of 8 bits per dot developed in the page memory, inputs one line of data to the comparator, and serially transmits the data to the shift register of the thermal head from the comparator. Transmit. The comparator outputs the contents of 8-bit data in synchronization with the clock signal, and controls the energization time of each heating element by rewriting the data held in the shift register multiple times during the generation of the strobe pulse to print one line. Execute. After printing one line, the thermal head driver circuit transfers the next one line data to the comparator and repeats the above processing. As described above, when gradation control is performed, the amount of data is significantly larger than when gradation control is not performed. Therefore, the burden of reading and transferring data in the thermal head driver circuit is large, and the printing speed is increased. Bottlenecks in Therefore, there arises a technical problem to be solved in order to increase the data transfer speed to the thermal head, and an object of the present invention is to solve the above problem. SUMMARY OF THE INVENTION The present invention is proposed to achieve the above object, and has two buffers and a method for alternately writing print data for each line to the two buffers. A control circuit; and a second control circuit for alternately reading print data for each line from the two buffers and transferring the print data to the comparator.
A thermal head driver circuit configured to write and print two lines in parallel by reading one line of print data from the other buffer by the second control circuit while writing the line print data. To provide. An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 shows a thermal head drive circuit, wherein 1 is a page memory, 2 is a first control circuit, 3 is a first buffer, 4 is a second buffer, 5 is a second control circuit, and 6 is a comparator. 7 is a thermal head, a shift register
8, a latch 9, and a heating element 10. According to the present invention, the first control circuit 2 reads the print data from the page memory 1 and writes the data for each line alternately to the first buffer 3 and the second buffer 4, and the second control circuit 5 The circuit is configured to alternately read data from the second buffer 4 and transfer the data to the comparator 6, and performs a write operation of the first control circuit 2 and a read operation of the second control circuit 5 in parallel. . [0007] Print data of 8 bits per dot generated by a dot pattern developing unit (not shown) is stored in a page memory. For example, when performing 64 levels of calorie control, values from 0 (hex) to 40 (hex) are assigned to 8-bit dot data, and when performing 128 levels of calorie control, 0 (he
Values from x) to 80 (hex) are assigned. Figure 2 shows 64
An example of a 1-dot print pulse in stepwise calorie control is shown, where A is a dot based on data 40 (hex), B is data obtained by shortening the output time by 25% due to the history of the data before one line and the data before two lines being on. C is a print pulse of 30 (hex), and C is a print pulse of data 20 (hex) whose output time has been reduced by 50% by the ON history of the data on the left and right adjacent one line before in addition to B. First control circuit 2 of thermal head drive circuit
Reads the print data from the page memory 1 and writes the data of the first line into the first buffer 3 first. Next, the first control circuit 2 writes the data of the second line into the second buffer 4.
When the first control circuit 2 completes writing the first line data to the first buffer 3, the second control circuit 5 reads the first line data from the first buffer 3 and transfers it to the comparator 6. The comparator 6 has a built-in counter, and divides the printing time of one line for each count in synchronization with a clock. The number of divisions of the printing time for one line is 64 in the 64-step calorie control. The comparator 6 compares the count value with the dot data in each of the divided time zones, converts the count value into binary serial data of "1" if true and "0" if false, and synchronizes the thermal head 7 with the clock. To the shift register 8. This process
The number of count values during printing of one line (6 in this example)
4 times). Subsequently, the first control circuit 2 writes the data of the third line into the first buffer 3, while the second control circuit 5 reads the data of the second line from the second buffer 4,
The binary serial data is output to the shift register 8 64 times in 6 steps. As described above, data is alternately written to the two buffers 3 and 4 for each line data, and data is alternately read from the two buffers 3 and 4 to perform the writing and the reading in parallel.
As a result, the transfer from the page memory to the control circuit is completed in one time, and the multi-gradation data can be transferred to the thermal head at high speed, and high-speed, high-definition printing can be realized. The present invention is not limited to the above-described embodiment, and various modifications are possible within the technical scope of the present invention, and it is natural that the present invention extends to those modifications. is there. As described above, the thermal head drive circuit of the present invention is provided with two systems of buffers, and performs data writing and reading in two systems of buffers alternately in parallel. Key data can be transferred to the thermal head at high speed, and the printing speed can be improved.

【図面の簡単な説明】 【図1】本発明の実施の一形態を示し、サーマルヘッド
駆動回路のブロック図。 【図2】印刷パルスのタイミングチャート。 【符号の説明】 1 ページメモリ 2 第一制御回路 3 第一バッファ 4 第二バッファ 5 第二制御回路 6 比較器 7 サーマルヘッド 8 シフトレジスタ 9 ラッチ 10 発熱素子
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows an embodiment of the present invention and is a block diagram of a thermal head drive circuit. FIG. 2 is a timing chart of a print pulse. [Explanation of Signs] 1 Page memory 2 First control circuit 3 First buffer 4 Second buffer 5 Second control circuit 6 Comparator 7 Thermal head 8 Shift register 9 Latch 10 Heating element

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C066 AA01 AC15 AC17 AD03 CD05 CD19 CD27 2C187 AC05 BF03 BF05 FC12 FD12 FD14    ────────────────────────────────────────────────── ─── Continuation of front page    F term (reference) 2C066 AA01 AC15 AC17 AD03 CD05                       CD19 CD27                 2C187 AC05 BF03 BF05 FC12 FD12                       FD14

Claims (1)

【特許請求の範囲】 【請求項1】 二つのバッファと、二つのバッファへ1
ライン毎の印刷データを交互に書込む第一制御回路と、
二つのバッファから1ライン毎の印刷データを交互に読
出して比較器へ転送する第二制御回路を備え、第一制御
回路により一方のバッファへ1ラインの印刷データを書
込むと同時に第二制御回路により他方のバッファから1
ラインの印刷データを読出すことで二つのバッファへの
書込みと読出しとを並行処理するように構成したサーマ
ルヘッドドライバ回路。
Claims 1. Two buffers and one buffer for two buffers
A first control circuit for alternately writing print data for each line,
A second control circuit for alternately reading print data for each line from the two buffers and transferring the print data to a comparator, wherein the first control circuit writes one line of print data to one of the buffers and simultaneously executes a second control circuit From the other buffer
A thermal head driver circuit configured to read and write line print data so that writing and reading to two buffers are performed in parallel.
JP2002101708A 2002-04-03 2002-04-03 Thermal head driver circuit Abandoned JP2003291429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002101708A JP2003291429A (en) 2002-04-03 2002-04-03 Thermal head driver circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002101708A JP2003291429A (en) 2002-04-03 2002-04-03 Thermal head driver circuit

Publications (1)

Publication Number Publication Date
JP2003291429A true JP2003291429A (en) 2003-10-14

Family

ID=29241932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002101708A Abandoned JP2003291429A (en) 2002-04-03 2002-04-03 Thermal head driver circuit

Country Status (1)

Country Link
JP (1) JP2003291429A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009208460A (en) * 2007-12-06 2009-09-17 Seiko Epson Corp Image processing device, image forming apparatus, and image forming method
JP7165503B2 (en) 2018-03-29 2022-11-04 富士通コンポーネント株式会社 Thermal printer and print control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009208460A (en) * 2007-12-06 2009-09-17 Seiko Epson Corp Image processing device, image forming apparatus, and image forming method
JP7165503B2 (en) 2018-03-29 2022-11-04 富士通コンポーネント株式会社 Thermal printer and print control method

Similar Documents

Publication Publication Date Title
JP2003291429A (en) Thermal head driver circuit
JP4735070B2 (en) Thermal printer
US6897887B2 (en) Heat history control system, printer, and program
JP3357972B2 (en) Data DMA transfer circuit for thermal transfer line printer
EP0391689B1 (en) Thermal line printer
US6480215B1 (en) Control device for thermal printer head and printer using the same
JP4218131B2 (en) Digital printer
JP2760303B2 (en) Thermal head drive
JP4322909B2 (en) Gradation control apparatus and method
JP2570723B2 (en) Thermal head control circuit
JPH02214673A (en) Heat history control lsi
JPS63265661A (en) Thermal head controlling system
JPS63141766A (en) Printing system
JPH0245174A (en) Line printer
JPS6130173A (en) Thermal print head controller
JPS61241170A (en) Driving-controlling system for thermal serial printer
JPH07329337A (en) Driving circuit for thermal head
JP2000108397A (en) Method and device for controlling of thermal print head
JPH04201274A (en) Drive circuit of gradation expressing printing head
JPH09267504A (en) Line thermal head
JPH0834138A (en) Printing head driving circuit and printing head
JPS63280661A (en) Drive control system of printer head for gradation expression
JPH0431220B2 (en)
JPS63246262A (en) Thermal head-driving circuit
JPS60237763A (en) Driving circuit for heating resistor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050328

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20080924