JPH0425145B2 - - Google Patents

Info

Publication number
JPH0425145B2
JPH0425145B2 JP5794784A JP5794784A JPH0425145B2 JP H0425145 B2 JPH0425145 B2 JP H0425145B2 JP 5794784 A JP5794784 A JP 5794784A JP 5794784 A JP5794784 A JP 5794784A JP H0425145 B2 JPH0425145 B2 JP H0425145B2
Authority
JP
Japan
Prior art keywords
shift register
bit
data
circuit
clock
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.)
Expired - Lifetime
Application number
JP5794784A
Other languages
Japanese (ja)
Other versions
JPS60201958A (en
Inventor
Mamoru Ishikawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Tokyo 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP59057947A priority Critical patent/JPS60201958A/en
Publication of JPS60201958A publication Critical patent/JPS60201958A/en
Publication of JPH0425145B2 publication Critical patent/JPH0425145B2/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

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 発明の技術分野 本発明は、サーマルプリンタに用いられるサー
マルヘツドに係り、とくにサーマルヘツドのデー
タ送出回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a thermal head used in a thermal printer, and more particularly to a data sending circuit of the thermal head.

技術的背景およびその問題点 一般にサーマルヘツドにおいては、一直線上に
配列されたN個の発熱体に対して1対1で対応す
るNビツトのシフトレジスタを備え、ストローブ
信号によりシフトレジスタの内容に応じてN個の
発熱体の通電を同時に制御しているものである。
そして、シフトレジスタへのデータ送出は1ビツ
トずつ行なうものであるが、これはソフトウエア
操作によつて行なつているものである。しかしな
がら、一般的なマイクロプロセツサによつてサー
マルヘツドをソフトウエア操作でコントロールす
る場合、その命令サイクルは数百nS〜数μSもあ
り、高速印字することは難かしいものである。
Technical Background and Problems In general, a thermal head is equipped with an N-bit shift register that corresponds one-to-one to N heating elements arranged in a straight line, and the contents of the shift register are changed using a strobe signal. energization of N heating elements is controlled simultaneously.
Data is sent to the shift register one bit at a time, and this is done by software operation. However, when a thermal head is controlled by software using a general microprocessor, the instruction cycle is several hundred nanoseconds to several microseconds, making it difficult to perform high-speed printing.

また、高速化のために、印字中のソフトウエア
処理を減らすには印字データの全て(1ラインの
ビツト数×印字ライン数)を印字バツフアとして
持たねばならず、大容量の印字バツフアメモリー
を必要とするものである。
In addition, in order to increase speed and reduce software processing during printing, it is necessary to store all of the print data (number of bits per line x number of print lines) as a print buffer, which requires a large capacity print buffer memory. It is what you need.

発明の目的 本発明は、大容量の印字バツフアメモリーを用
いることなしに高速印字を行なうことができるサ
ーマルヘツドのデータ送出回路を得ることを目的
とする。
OBJECTS OF THE INVENTION An object of the present invention is to provide a data transmission circuit for a thermal head that can perform high-speed printing without using a large-capacity print buffer memory.

発明の概要 本発明は、マイクロプロセツサにより行なう動
作制御はデータのセツト信号のみとし、nビツト
のデータ送出はきわめて高速駆動可能なクロツク
発生回路により行ない、これにより大容量の印字
バツフアを用いることなく高速印字することがで
きるように構成したものである。
Summary of the Invention In the present invention, the operation control performed by a microprocessor uses only a data set signal, and the transmission of n-bit data is performed by a clock generation circuit that can be driven at extremely high speed, thereby eliminating the need for a large-capacity print buffer. It is designed to enable high-speed printing.

発明の実施例 本発明の第一の実施例を第1図および第2図に
基いて説明する。まず、図示しないマイクロプロ
セツサに接続されているスタート端子1はクロツ
ク発生回路2とn進カウンタ3とに接続されてい
る。このn進カウンタ3には前記クロツク発生回
路2の出力側が接続されているとともにそのn進
カウンタ3のRC(リツプルキヤリー)は前記クロ
ツク発生回路2のストツプ信号として接続されて
いる。
Embodiment of the Invention A first embodiment of the invention will be described based on FIGS. 1 and 2. First, a start terminal 1 connected to a microprocessor (not shown) is connected to a clock generation circuit 2 and an n-ary counter 3. The n-ary counter 3 is connected to the output side of the clock generating circuit 2, and the RC (ripple carry) of the n-ary counter 3 is connected as a stop signal for the clock generating circuit 2.

ついで、前記クロツク発生回路2の出力側は、
nビツト並列入力直列出力シフトレジスタ4に接
続されている。このnビツト並列入力直列出力シ
フトレジスタ4にはnビツトのデータが並列に同
時に入力されるものである。そして、このnビツ
ト並列入力直列出力シフトレジスタ4の出力SIN
と前記クロツク発生回路2の出力CLOCKとはN
ビツト(n<N)のシフトレジスタ5に接続され
ている。
Then, the output side of the clock generation circuit 2 is as follows.
It is connected to an n-bit parallel input serial output shift register 4. This n-bit parallel input serial output shift register 4 receives n-bit data simultaneously in parallel. Then, the output SIN of this n-bit parallel input serial output shift register 4
and the output CLOCK of the clock generation circuit 2 is N.
It is connected to a bit (n<N) shift register 5.

しかして、前記シフトレジスタ5にはラツチ回
路6が各ビツト毎に並列に接続され、このラツチ
回路6はストローブ信号端子7が一方の出力に接
続されたN個のANDゲート8に接続され、これ
らのANDゲート8はVoなる電源9に接続された
N個の発熱体10に接続されている。
A latch circuit 6 is connected in parallel to the shift register 5 for each bit. The AND gate 8 is connected to N heating elements 10 connected to a power source 9 called Vo.

このような構成において、初期状態ではクロツ
ク発生回路2が動作しておらず、スタート信号も
Hレベルで信号がなく、n進カウンタ3からのス
トツプ信号もHレベルである。
In this configuration, in the initial state, the clock generating circuit 2 is not operating, the start signal is at H level and there is no signal, and the stop signal from the n-ary counter 3 is also at H level.

そこで、印字動作に入ると、まず、nビツトの
並列データをnビツト並列入力直列出力シフトレ
ジスタ4に入れてラツチする。この状態ではD1
〜Doのnビツトデータのうち、D1が出力されて
いる状態にある。そして、マイクロプロセツサよ
りスタート信号が与えられると、クロツク発生回
路2が動作を始め、クロツクの立上がりでD1
ータがシフトレジスタ5に送られる。次のクロツ
クの立下がりでn進カウンタ3は+1し、nビツ
ト並列入力直列出力シフトレジスタ4はデータを
シフトしてD2を出力する。この動作をn回繰り
返し、n回目のクロツクの立下りでn進カウンタ
3がRC(リツプルキヤリー)を出力し、クロツク
発生回路2を停止させ、nビツトのデータ転送を
終了する。このような動作を行なうシフトレジス
タ5はマイクロプロセツサのソフト操作に較べる
ときわめて高速度であり、数MHzで動作する。
Therefore, when starting the printing operation, first, n-bit parallel data is put into the n-bit parallel input serial output shift register 4 and latched. In this state D 1
Of the n-bit data of ~D o , D1 is being output. When a start signal is applied from the microprocessor, the clock generating circuit 2 starts operating, and the D1 data is sent to the shift register 5 at the rising edge of the clock. At the next falling edge of the clock, the n-ary counter 3 increments by 1, and the n-bit parallel input serial output shift register 4 shifts the data and outputs D2 . This operation is repeated n times, and at the nth falling edge of the clock, the n-ary counter 3 outputs RC (ripple carry), stops the clock generation circuit 2, and completes the n-bit data transfer. The shift register 5, which performs such an operation, has an extremely high speed compared to the software operation of a microprocessor, and operates at several MHz.

このようにしてnビツトのデータ転送を終了す
るとデータはシフトレジスタ5にホールドされ、
ラツチ信号によりラツチ回路6にラツチされる。
そして、ストローブ信号によりANDゲート8が
開いてデータの内容に応じた発熱体10への通電
がなされる。
When the data transfer of n bits is completed in this way, the data is held in the shift register 5,
It is latched into the latch circuit 6 by the latch signal.
Then, the strobe signal opens the AND gate 8 and energizes the heating element 10 according to the content of the data.

このような動作を繰り返してnビツトの印字が
複数行にわたつてなされ、ドツトの集合体として
の文字が印字される。
By repeating these operations, n bits are printed over a plurality of lines, and characters are printed as a collection of dots.

つぎに、第3図ないし第5図に基いて本発明の
第二の実施例を説明する。前記実施例と同一部分
は同一符号を用い説明も省略する。本実施例はク
ロツク発生回路2とnビツト並列入力直列出力シ
フトレジスタ4との間に1/m分周器11を挿入
したものである。
Next, a second embodiment of the present invention will be explained based on FIGS. 3 to 5. The same parts as in the previous embodiment are designated by the same reference numerals, and the description thereof will be omitted. In this embodiment, a 1/m frequency divider 11 is inserted between the clock generating circuit 2 and the n-bit parallel input serial output shift register 4.

このような構成において、シフトレジスタ5に
対してはクロツク発生回路2のクロツクパルスが
パルス毎に与えられるが、nビツト並列入力直列
出力シフトレジスタ4へのシフトクロツクとn進
カウンタ3へのカウンタクロツクとはm回に1回
の割合いで行なわれる。そのため、nビツト並列
入力直列出力シフトレジスタ4からのデータ出力
は、クロツク発生回路2のm回のパルス発生毎に
行なわれる。
In this configuration, the shift register 5 is supplied with a clock pulse from the clock generation circuit 2 for each pulse, but the shift clock to the n-bit parallel input serial output shift register 4 and the counter clock to the n-ary counter 3 are is performed once every m times. Therefore, data output from the n-bit parallel input serial output shift register 4 is performed every m pulses generated by the clock generating circuit 2.

いま、印字すべき文字が第5図aに示すように
n=5によるものとした場合、m=2としたとき
に第5図bに示すような倍角文字が印字される。
そして、mの選択は任意であるので、かなり広幅
の印字が可能である。しかも、発熱体10への通
電時間を延長して紙送りを行なえば、縦方向への
長さ、すなわち、文字高さの拡大も任意であり、
必要に応じて縦横ともに拡大した印字を行なうこ
とができる。なお、従来においては、このように
文字の大きさを変えることはプログラム制御によ
るものであり、きわめて繁雑であつたが、1/m
分周器11の分周比の通電時間の制御とによりき
わめて簡単に大きさの異なる文字を得ることがで
きるものである。
Now, when the characters to be printed are n=5 as shown in FIG. 5a, when m=2, double-width characters as shown in FIG. 5b are printed.
Since the selection of m is arbitrary, printing of a fairly wide width is possible. Moreover, if the paper is fed by extending the energization time to the heating element 10, the length in the vertical direction, that is, the character height can be increased arbitrarily.
Printing can be enlarged both vertically and horizontally if necessary. In the past, changing the font size in this way was based on program control, which was extremely complicated, but
By controlling the frequency division ratio of the frequency divider 11 and the energization time, characters of different sizes can be obtained very easily.

発明の効果 本発明は、上述のように1回のスタート信号に
よりn個のクロツクパルスを発生するクロツクパ
ルス発生回路を発熱体への通電制御をするシフト
レジスタとnビツト並列入力直列出力シフトレジ
スタとに接続したので、命令サクルの遅いマイク
ロプロセツサからはスタート信号のみとし、一行
のnビツトのデータ送出をクロツクパルス発生回
路により行なうようにしたので、大容量の印字バ
ツフアメモリーを用いることなく高速印字を行な
うことができるものである。
Effects of the Invention As described above, the present invention connects a clock pulse generation circuit that generates n clock pulses in response to a single start signal to a shift register that controls energization to a heating element and an n-bit parallel input serial output shift register. Therefore, only a start signal is sent from the microprocessor with a slow instruction cycle, and a clock pulse generation circuit is used to send out one line of n-bit data, allowing high-speed printing without using a large-capacity print buffer memory. It is something that can be done.

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

第1図は本発明の第一の実施例を示す回路図、
第2図はタイミングチヤート、第3図は本発明の
第二の実施例を示す回路図、第4図はそのタイミ
ングチヤート、第5図a,bは印字例を示す平面
図である。 2……クロツク発生回路、4……nビツト並列
入力直列出力シフトレジスタ、5……シフトレジ
スタ、10……発熱体。
FIG. 1 is a circuit diagram showing a first embodiment of the present invention,
2 is a timing chart, FIG. 3 is a circuit diagram showing a second embodiment of the present invention, FIG. 4 is a timing chart thereof, and FIGS. 5a and 5b are plan views showing examples of printing. 2...Clock generation circuit, 4...n-bit parallel input serial output shift register, 5...Shift register, 10...Heating element.

Claims (1)

【特許請求の範囲】[Claims] 1 Nビツトの印字データが1ビツトずつ直列に
入力されるNビツトのシフトレジスタと、ラツチ
回路とゲート回路とを介して前記シフトレジスタ
に1対1で対応させて接続され一直線上に配列さ
れたN個の発熱体と、nビツトのデータが並列に
入力されるnビツト並列入力直列出力シフトレジ
スタと、このnビツト並列入力直列出力シフトレ
ジスタと前記シフトレジスタとに接続されてマイ
クロプロセツサからのスタート信号により動作を
始めるクロツク発生回路と、マイクロプロセツサ
からのスタート信号によりクリアされn個のクロ
ツクをカウントしたときに前記クロツク発生回路
の動作を停止させる停止信号を発生するn進カウ
ンタとよりなることを特徴とするサーマルヘツド
のデータ送出回路。
1. An N-bit shift register into which N-bit print data is serially inputted one bit at a time, and an N-bit shift register connected in a one-to-one correspondence to the shift register via a latch circuit and a gate circuit and arranged in a straight line. N heating elements, an n-bit parallel input serial output shift register into which n bits of data are input in parallel, and an n-bit parallel input serial output shift register connected to the shift register to receive data from the microprocessor. It consists of a clock generation circuit that starts operating in response to a start signal, and an n-ary counter that is cleared by the start signal from the microprocessor and generates a stop signal that stops the operation of the clock generation circuit when n clocks have been counted. A data transmission circuit for a thermal head characterized by the following.
JP59057947A 1984-03-26 1984-03-26 Data forwarding circuit for thermal head Granted JPS60201958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59057947A JPS60201958A (en) 1984-03-26 1984-03-26 Data forwarding circuit for thermal head

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59057947A JPS60201958A (en) 1984-03-26 1984-03-26 Data forwarding circuit for thermal head

Publications (2)

Publication Number Publication Date
JPS60201958A JPS60201958A (en) 1985-10-12
JPH0425145B2 true JPH0425145B2 (en) 1992-04-30

Family

ID=13070225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59057947A Granted JPS60201958A (en) 1984-03-26 1984-03-26 Data forwarding circuit for thermal head

Country Status (1)

Country Link
JP (1) JPS60201958A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4758966A (en) * 1986-05-05 1988-07-19 Ncr Canada Ltd. - Ncr Canada Ltee Thermal printing apparatus and method
JPH0611552B2 (en) * 1987-04-06 1994-02-16 株式会社日立製作所 Printer controller

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51105831A (en) * 1975-03-14 1976-09-20 Oki Electric Ind Co Ltd
JPS5339140A (en) * 1976-09-22 1978-04-10 Nippon Telegr & Teleph Corp <Ntt> Head drive system
JPS53112755A (en) * 1977-03-11 1978-10-02 Omron Tateisi Electronics Co Thermal printer
JPS5484962A (en) * 1977-12-20 1979-07-06 Nippon Steel Corp Generation method of pulse train
JPS5646100B2 (en) * 1974-06-26 1981-10-30
JPS5749584A (en) * 1980-09-09 1982-03-23 Sanyo Electric Co Ltd Printing method of thermal printer
JPS5868787A (en) * 1981-10-21 1983-04-23 東芝テック株式会社 Crt display controller
JPS58143378A (en) * 1982-02-19 1983-08-25 株式会社日立製作所 Display character expansion control system for crt
JPS58162985A (en) * 1982-03-23 1983-09-27 株式会社東芝 Character pattern output control method
JPS58164368A (en) * 1982-03-25 1983-09-29 Ricoh Co Ltd Halftone recording device of thermal head
JPS58188677A (en) * 1982-04-30 1983-11-04 Ricoh Co Ltd Thermal printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS624960Y2 (en) * 1979-09-13 1987-02-04

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5646100B2 (en) * 1974-06-26 1981-10-30
JPS51105831A (en) * 1975-03-14 1976-09-20 Oki Electric Ind Co Ltd
JPS5339140A (en) * 1976-09-22 1978-04-10 Nippon Telegr & Teleph Corp <Ntt> Head drive system
JPS53112755A (en) * 1977-03-11 1978-10-02 Omron Tateisi Electronics Co Thermal printer
JPS5484962A (en) * 1977-12-20 1979-07-06 Nippon Steel Corp Generation method of pulse train
JPS5749584A (en) * 1980-09-09 1982-03-23 Sanyo Electric Co Ltd Printing method of thermal printer
JPS5868787A (en) * 1981-10-21 1983-04-23 東芝テック株式会社 Crt display controller
JPS58143378A (en) * 1982-02-19 1983-08-25 株式会社日立製作所 Display character expansion control system for crt
JPS58162985A (en) * 1982-03-23 1983-09-27 株式会社東芝 Character pattern output control method
JPS58164368A (en) * 1982-03-25 1983-09-29 Ricoh Co Ltd Halftone recording device of thermal head
JPS58188677A (en) * 1982-04-30 1983-11-04 Ricoh Co Ltd Thermal printer

Also Published As

Publication number Publication date
JPS60201958A (en) 1985-10-12

Similar Documents

Publication Publication Date Title
US4059183A (en) Dot matrix printer with slanted print head and modular skewing of dot pattern information
JPS6254676B2 (en)
US4278359A (en) Control circuit for use with a dot matrix printer
JPH0425145B2 (en)
US4163285A (en) Control circuit for metal paper printer head
JPS6133711B2 (en)
JPS6312291B2 (en)
JP2570768B2 (en) Print control device for thermal printer
JPH0382562A (en) Thermal head driver
EP0391689B1 (en) Thermal line printer
EP0441188A2 (en) Dot-matrix printer
JPS60142730A (en) Impact type printer control system
JPH0319069B2 (en)
JP3182789B2 (en) Printer control device, printer and control method therefor
JPS6220035B2 (en)
JP2575930B2 (en) Printer&#39;s print pin control circuit
JPS6319155Y2 (en)
JPH047909B2 (en)
JP2877426B2 (en) Thermal printer
JPH0223411Y2 (en)
JPH0514619B2 (en)
JP2570723B2 (en) Thermal head control circuit
JP2564513B2 (en) Printer control device
JP2932606B2 (en) Printing device
JPH05162358A (en) Thermal recording device