JPH03218859A - thermal line printer - Google Patents

thermal line printer

Info

Publication number
JPH03218859A
JPH03218859A JP2013846A JP1384690A JPH03218859A JP H03218859 A JPH03218859 A JP H03218859A JP 2013846 A JP2013846 A JP 2013846A JP 1384690 A JP1384690 A JP 1384690A JP H03218859 A JPH03218859 A JP H03218859A
Authority
JP
Japan
Prior art keywords
data
microcomputer
parallel
thermal line
thermal
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
JP2013846A
Other languages
Japanese (ja)
Inventor
Keita Sakai
敬太 坂井
Kazumine Koshi
越 一峰
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2013846A priority Critical patent/JPH03218859A/en
Publication of JPH03218859A publication Critical patent/JPH03218859A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、サーマルラインプリンタに関するものである
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to thermal line printers.

従来の技術 近年、サーマルラインプリンタは高速印字はもちろんで
解像度の高いものが要求される傾向にあり、サーマルラ
インヘッドの発熱素子数が増加し処理するデータ数もそ
れに比例して増加し短時間により多くのデータを処理す
ることが強く要求されている。
Conventional technology In recent years, thermal line printers are required not only to print at high speed but also to have high resolution.The number of heating elements in thermal line heads has increased, and the amount of data to be processed has also increased proportionately. There is a strong need to process large amounts of data.

以下に従来のサーマルラインプリンタについて説明する
。従来のグラフィックデータの処理方法は、第5図に示
すようにホストシステムからパラレルに入力された1バ
イトの印字データを、サーマルラインヘッドの熱履歴制
御を行うために、度マイクロコンピュータ11内部にバ
ッファ12を介して取り込み、マイクロコンピュータ1
1内部でソフト計算とパラレルシリアル変換を行い、マ
イクロコンピュータ11のボートからシリアルデータを
サーマルラインヘッド13に転送する方式か、または第
6図に示すようにホストシステムからパラレルに入力さ
れた1バイトの印字データをサーマルラインヘッド13
の熱履歴制御を行うために、一度マイクロコンピュータ
11内部に取り込みソフト計算を行った後、マイクロコ
ンビュータ11のポートからパラレルデータをパラレル
シリアル変換回路14へ転送し、そこでマイクロコンピ
ュータ1lから出力されるクロックを利用して変換され
たシリアルデータをサーマルラインヘッド13に転送す
るものであった。
A conventional thermal line printer will be explained below. In the conventional graphic data processing method, as shown in FIG. 5, 1-byte print data input in parallel from the host system is buffered inside the microcomputer 11 in order to control the thermal history of the thermal line head. 12, microcomputer 1
1 performs software calculation and parallel-to-serial conversion inside the microcomputer 11 and transfers the serial data from the port of the microcomputer 11 to the thermal line head 13, or as shown in Fig. 6, 1-byte data input in parallel from the host system Print data to thermal line head 13
In order to control the thermal history of the microcomputer 11, the parallel data is transferred from the port of the microcomputer 11 to the parallel-to-serial converter circuit 14, and then the clock output from the microcomputer 1l is transferred from the port of the microcomputer 11 to the parallel serial converter circuit 14. The converted serial data was transferred to the thermal line head 13 using the .

発明が解決しようとする課題 しかしながら、前記従来の構成その中でも第5図を利用
したグラフィックデータ処理方式では、マイクロコンピ
ュータ内部のパラレルシリアル変換時間が長く、また変
換されたシリアルデータをサーマルラインヘッドへ転送
する時にマイクロコンピュータの内部クロツクに同期さ
せて転送するが、このマイクロコンピュータの内部クロ
ツク周波数が小さいため、グラフィックデータ処理時間
が長《なってしまう。
Problems to be Solved by the Invention However, among the conventional configurations described above, the graphic data processing method using FIG. When doing so, the data is transferred in synchronization with the internal clock of the microcomputer, but since the internal clock frequency of this microcomputer is low, the graphic data processing time becomes long.

また、第6図を利用したグラフィックデータ処理方式で
はマイクロコンピュータから出力されるクロツク周波数
が小さいため、グラフィックデータの処理時間が長くな
ってしまう。そして、上記両者に共通することであるが
、ホストシステムがら入力されたグラフィックデータを
一度マイクロコンピュータ内部に取り込んでそれをサー
マルラインヘッド側に出力するため、グラフィックデー
タの処理時間に無駄が生じる。
Furthermore, in the graphic data processing method using FIG. 6, the clock frequency output from the microcomputer is low, so the processing time for graphic data becomes long. What is common to both of the above methods is that the graphic data input from the host system is once taken into the microcomputer and then output to the thermal line head, which wastes time in processing the graphic data.

本発明は、上記問題点を解決するためにホストシステム
から入力されたパラレルのグラフィックデータをマイク
ロコンピュータ内部に取り込まずにパラレルシリアル変
換回路に直接転送させ、高周波数の外部クロックに同期
させてシリアルデータに変換し、サーマルラインヘッド
の熱履歴制御をハードウェアで行いながらサーマルライ
ンヘッドにデータを転送することによってグラフィック
の高速印字を実現できるサーマルラインプリンタを提供
することを目的とする。
In order to solve the above-mentioned problems, the present invention directly transfers parallel graphic data input from a host system to a parallel-to-serial conversion circuit without importing it into the microcomputer, and synchronizes it with a high-frequency external clock to convert it into serial data. The purpose of the present invention is to provide a thermal line printer that can realize high-speed printing of graphics by transferring data to the thermal line head while controlling the thermal history of the thermal line head using hardware.

課題を解決するための手段 上記目的を達成するために、本発明のサーマルラインプ
リンタはその制御回路の中でホストシステムから出力さ
れたデータ(キャラクタコードデータおよびグラフィッ
クデータ)を受信し、マイクロコンピュータが読み込む
までそのデータを保J’lLておくバッファと、そのバ
ッファから取り出したパラレルのグラフィックデータま
たは前記バッファから取り出したキャラクタコードデー
タを一度マイクロコンピュータに取り込みそこで変換さ
れたパラレルのキャラクタフォントデータを、シリアル
データに変換しサーマルラインヘッドへ転送するパラレ
ルシリアル変換回路と、マイクロコンピュータのリード
信号(RD信号)をラッチパルスとしてパラレルシリア
ル変換回路に接続され、マイクロコンピュータがデータ
を読み込むときにそのデータがグラフィックデータなら
ば前記パラレルシリアル変換回路にデータを同時に保持
するダイレクトラッチ制御回路と、前記パラレルシリア
ル変換回路に保持されたパラレルのグラフィックデータ
またはキャラクタフォントデータをシリアルデータに高
速に変換するための高周波数のシフトクロツクを発生す
る外部発振回路と、前記シフトクロツクの駆動と停止を
制御するシフトクロツク制御手段と、パラレルシリアル
変換回路から出力されたシリアルデータの数を監視する
パラレルシリアル変換数監視回路、また現在のデータと
過去のデータを記憶してハード的に熱履歴補正を行う熱
履歴補正回路とを備えた構成である。
Means for Solving the Problems In order to achieve the above object, the thermal line printer of the present invention receives data (character code data and graphic data) output from the host system in its control circuit, and the microcomputer receives the data (character code data and graphic data) output from the host system. There is a buffer that retains the data until it is read, and the parallel graphic data taken out from the buffer or the character code data taken out from the buffer is once transferred to a microcomputer, and the parallel character font data converted there is serialized. A parallel-to-serial conversion circuit converts the data into data and transfers it to the thermal line head, and the microcomputer's read signal (RD signal) is connected to the parallel-to-serial conversion circuit as a latch pulse, and when the microcomputer reads the data, the data is converted into graphic data. Then, a direct latch control circuit that simultaneously holds data in the parallel-to-serial conversion circuit, and a high-frequency shift clock to convert parallel graphic data or character font data held in the parallel-to-serial conversion circuit to serial data at high speed. an external oscillator circuit that generates the shift clock, a shift clock control means that controls driving and stopping of the shift clock, a parallel-serial conversion number monitoring circuit that monitors the number of serial data output from the parallel-serial conversion circuit, and a current data and past This configuration includes a thermal history correction circuit that stores data and performs thermal history correction using hardware.

作用 本発明は、ホストシステムから出力されたキャラクタコ
ードデータについては既存の方法でマイクロコンピュー
タ内部に取り込み、キャラクタフォントデータに変換後
パラレルシリアル変換を行いサーマルラインヘッドヘ熱
履歴制御を行いながら転送する。一方、ホストシステム
から出力されたグラフィックデータはマイクロコンピュ
ータ内部に取り込まずに直接パラレルシリアル変換を行
い、サーマルラインヘッドヘ熱履歴補正を行いながら転
送することによって、グラフィックデータ処理時間を短
縮しグラフィック印字速度の高速性が得られ、更に高解
像度のグラフィック印字を可能にすることができる。
Function: According to the present invention, character code data output from a host system is taken into a microcomputer using an existing method, converted into character font data, subjected to parallel-to-serial conversion, and transferred to a thermal line head while controlling thermal history. On the other hand, graphic data output from the host system is directly converted from parallel to serial without being imported into the microcomputer, and then transferred to the thermal line head while being corrected for its thermal history. This reduces graphic data processing time and speeds up graphic printing. It is possible to obtain high-speed performance, and also to enable high-resolution graphic printing.

実施例 以下本発明の一実施例について図面を参考にしながら説
明する。第1図は本発明の一実施例を示す構成図で、1
はマイクロコンピュータ、2はホストシステムから入力
されたキャラクタコードデータおよびグラフィックデー
タを保持するバッファ、3はパラレルのグラフィッデー
タおよびマイクロコンピュータ1から出力されたパラレ
ルのキャラクタフォントデータをシリアルデータに変換
するパラレルシリアル変換回路、4は前記パラレルシリ
アル変換回路3で変換を行うためのシフドクロツクを発
生する外部発振回路、5はパラレルからシリアルに変換
されたデータの個数を監視する8ビット監視カウンター
、6はパラレルシリアル変換回路3て変換されたシリア
ルデータに熱履歴補正を加え、サーマルヘッド7へ熱履
歴補正データを転送する熱履歴補正回路、8はORゲー
ト、9,10はANDゲートである。また、RD信号は
パラレルシリアル変換回路3のデータラッチパルス入力
部に接続されている。
EXAMPLE An example of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing one embodiment of the present invention.
is a microcomputer, 2 is a buffer that holds character code data and graphic data input from the host system, and 3 is a parallel/serial that converts parallel graphic data and parallel character font data output from microcomputer 1 into serial data. a conversion circuit; 4 is an external oscillation circuit that generates a shifted clock for conversion in the parallel-to-serial conversion circuit 3; 5 is an 8-bit monitoring counter that monitors the number of data converted from parallel to serial; 6 is a parallel-to-serial conversion circuit; A thermal history correction circuit adds thermal history correction to the serial data converted by the circuit 3 and transfers the thermal history correction data to the thermal head 7, 8 is an OR gate, and 9 and 10 are AND gates. Further, the RD signal is connected to a data latch pulse input section of the parallel-serial conversion circuit 3.

以上のように構成されたサーマルラインプリンタの制御
回路について、以下に第1図の構成図と第2図の動作全
体のフローチャートを用いて説明する。
The control circuit of the thermal line printer configured as described above will be explained below using the configuration diagram in FIG. 1 and the overall operation flowchart in FIG. 2.

まず第1にホストシステムから入力されたデータがキャ
ラクタコードデータかグラフィックデータかを判断し、
キャラクタコードデータならばマイクロコンピュータ1
内部に1行分取り込み、次にそのキャラクタコードデー
タからキャラクタフォントデータに変換し、パラレルシ
リアル変換回路3に転送する。次に前記パラレルシリア
ル変換回路3に外部発振回路4から発生するシフトクロ
ツク信号を転送し、8クロツク転送したところでシフト
クロツクを停止させることによって熱履歴補正回路6に
キャラクタフォントデータがシリアルに転送される。熱
履歴補正回路6では、前記シリアルデータ(現在のデー
タ)をサーマルラインヘッド7へ転送する動作と、現在
と1つ過去のデータを反転させたデータとの論理積デー
タをサーマルラインヘッド7へ転送する動作と、現在と
2つ過去のデータを反転させたデータとの論理積データ
をサーマルラインヘッド7へ転送する動作とを行い、1
ラインの発色の間に前記3種類のデータをそれぞれ1ラ
イン分転送することによって、サーマルラインヘッド7
の発熱素子の蓄熱を補正することができる(第3図,第
4図参照)。
First, it is determined whether the data input from the host system is character code data or graphic data.
Microcomputer 1 for character code data
One line is captured internally, and then the character code data is converted into character font data and transferred to the parallel-serial conversion circuit 3. Next, the shift clock signal generated from the external oscillation circuit 4 is transferred to the parallel-to-serial conversion circuit 3, and the shift clock is stopped after 8 clocks have been transferred, thereby serially transferring the character font data to the thermal history correction circuit 6. The thermal history correction circuit 6 transfers the serial data (current data) to the thermal line head 7, and transfers AND data of the current data and data obtained by inverting the previous data to the thermal line head 7. and the operation of transferring the AND data of the current data and the data obtained by inverting the two past data to the thermal line head 7.
By transferring one line of each of the three types of data during line color development, the thermal line head 7
It is possible to correct the heat accumulation of the heating element (see FIGS. 3 and 4).

第2にホストシステムから入力されたデータがグラフィ
ックデータだった場合、マイクロコンピュータ1に読み
込む動作を行うだけで自動的にパラレルシリアル変換回
路3にグラフィックデータが転送されラッチされる。つ
まり、マイクロコンピュータ1のRD信号によってデー
タが自動的にパラレルシリアル変換回路3に転送されラ
ッチされる仕組みである。ここからは、前述したキャラ
クタフォントデータの処理方法同様に行えばよい。
Second, if the data input from the host system is graphic data, simply by reading it into the microcomputer 1, the graphic data is automatically transferred to the parallel-serial conversion circuit 3 and latched. That is, data is automatically transferred to the parallel-serial conversion circuit 3 and latched by the RD signal of the microcomputer 1. From here on, the process can be carried out in the same manner as the character font data processing method described above.

上記実施例の構成によれば、ヘッドの熱履歴補正をハー
ドウェアで行うことによって、グラフィックデータを一
度マイクロコンピュータに読み込み、ヘッドの熱履歴補
正データをマイクロコンピュータ内部で計算し作成する
必要がなく、マイクロコンピュータがグラフィックデー
タを読み込むだけで自動的にパラレルシリアル変換回路
にデータがラッチされ、またパラレルシリアル変換回路
へのシフドクロツクも外部発振回路から出力される高周
波数のクロツクを使用することによってグラフィックデ
ータの処理時間を短縮することができるものである。
According to the configuration of the above embodiment, by performing head thermal history correction using hardware, there is no need to read graphic data once into the microcomputer and calculate and create head thermal history correction data within the microcomputer. When the microcomputer simply reads the graphic data, the data is automatically latched into the parallel-to-serial converter circuit, and the shifted clock to the parallel-to-serial converter circuit uses a high-frequency clock output from an external oscillation circuit. This allows processing time to be shortened.

発明の効果 以上のように本発明は、ヘッドの熱履歴補正をハードウ
ェアで行うことによって、ホストシステムから入力され
たグラフィックデータをマイクロコンピュータ内部に取
り込む動作を行うだけで、そのデータをパラレルシリア
ル変換回路に直接転送させ高周波数の外部クロツクによ
ってパラレルシリアル変換を行い、同時にヘッドの熱履
歴補正を行いながらサーマルラインヘッドにデータを転
送できるというグラフィックの高印字品質および高速印
字可能という優れた効果を有するサーマルラインプリン
タを実現できるものである
Effects of the Invention As described above, the present invention corrects the thermal history of the head using hardware, thereby converting the data from parallel to serial by simply importing graphic data input from the host system into the microcomputer. The data is transferred directly to the circuit and parallel-to-serial conversion is performed using a high-frequency external clock. At the same time, data can be transferred to the thermal line head while correcting the thermal history of the head, which has the excellent effect of high graphic printing quality and high-speed printing. It is possible to realize a thermal line printer.

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

第1図は本発明の一実施例によるサーマルラインプリン
タを示す構成図、第2図は同プリンタの動作説明のため
のフローチャート、第3図はヘッドへのデータ転送タイ
ミング図、第4図はヘッド印加パルス幅決定アルゴリズ
ムを示す説明図、第5図はマイクロコンピュータ内部で
熱履歴補正データを計算,作成しそのデータをマイクロ
コンピュータ内部でパラレルシリアル変換し、サーマル
ラインヘッドへ転送する従来のグラフィックデータ処理
方式の構成図、第6図はマイクロコンピュータ内部で熱
履歴補正データを計算,作成しそのデータを外部のパラ
レルシリアル変換回路に転送し、マイクロコンピュータ
から出力されるシフトクロツクを用いてサーマルライン
ヘッドへデータを転送する従来のグラフィックデータ処
理方式の構成図である。 1・・・・・・マイクロコンピュータ、2・・・・・・
バッファ、3・・・・・・パラレルシリアル変換回路、
4・・・・・・外部発振回路、5・・・・・・8ビット
監視カウンター、6・・・・・・熱履歴補正回路、7・
・・・・・サーマルラインヘッド、8・・・・・・OR
回路、9,10・・・・・・AND回路。 邊÷Nu−..’tKl}4 第 2 図 第 4 図 区 七ミトCL目へ」<1トク
Fig. 1 is a configuration diagram showing a thermal line printer according to an embodiment of the present invention, Fig. 2 is a flowchart for explaining the operation of the printer, Fig. 3 is a timing diagram of data transfer to the head, and Fig. 4 is a head An explanatory diagram showing the applied pulse width determination algorithm, Figure 5 shows conventional graphic data processing in which thermal history correction data is calculated and created inside the microcomputer, the data is converted from parallel to serial inside the microcomputer, and then transferred to the thermal line head. The system configuration diagram, Figure 6, calculates and creates thermal history correction data inside the microcomputer, transfers the data to an external parallel-to-serial converter circuit, and transfers the data to the thermal line head using the shift clock output from the microcomputer. 1 is a configuration diagram of a conventional graphic data processing method for transferring . 1...Microcomputer, 2...
Buffer, 3...Parallel-serial conversion circuit,
4...External oscillation circuit, 5...8-bit monitoring counter, 6...Thermal history correction circuit, 7.
・・・・・・Thermal line head, 8・・・・・・OR
Circuit, 9, 10...AND circuit. Side ÷ Nu−. .. 'tKl}4 Figure 2 Figure 4 To the 7th CL of Figure Ward''<1 toku

Claims (1)

【特許請求の範囲】[Claims] グラフィック印字を行わせる機能を持つマイクロコンピ
ュータと、このマイクロコンピュータがグラフィックデ
ータを読み込むと同時にそのデータが転送されかつ前記
マイクロコンピュータからのコントロール信号により制
御されるパラレルシリアル変換回路と、このパラレルシ
リアル変換回路で変換されたグラフィックデータに熱履
歴補正を加えたデータをサーマルラインヘッドのドライ
バへ転送する回路とを備えたことを特徴とするサーマル
ラインプリンタ。
A microcomputer that has a function to perform graphic printing, a parallel-to-serial conversion circuit to which the data is transferred at the same time as this microcomputer reads graphic data, and which is controlled by a control signal from the microcomputer, and this parallel-to-serial conversion circuit. 1. A thermal line printer comprising: a circuit for transmitting data obtained by adding thermal history correction to graphic data converted by the above to a driver of a thermal line head.
JP2013846A 1990-01-24 1990-01-24 thermal line printer Pending JPH03218859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013846A JPH03218859A (en) 1990-01-24 1990-01-24 thermal line printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013846A JPH03218859A (en) 1990-01-24 1990-01-24 thermal line printer

Publications (1)

Publication Number Publication Date
JPH03218859A true JPH03218859A (en) 1991-09-26

Family

ID=11844643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013846A Pending JPH03218859A (en) 1990-01-24 1990-01-24 thermal line printer

Country Status (1)

Country Link
JP (1) JPH03218859A (en)

Similar Documents

Publication Publication Date Title
JPH03218859A (en) thermal line printer
JP3182789B2 (en) Printer control device, printer and control method therefor
US6897887B2 (en) Heat history control system, printer, and program
JP2753632B2 (en) Thermal head printer
JP3125310B2 (en) Interface device
JPS6339360A (en) Thermal recording method
JPH03219958A (en) Video data control circuit
JP2589580B2 (en) Thermal head recording control method
JP2500170Y2 (en) Thermal printer
JPH0358859A (en) Thermal head control method
JPS59150767A (en) Control system of thermal printing head
JPS62234954A (en) Thermal head driving system
JP3222971B2 (en) Serial dot printer
JPS59221168A (en) Recording method
JP2552305Y2 (en) Image data transfer device
JPH08118705A (en) Heat-sensitive recording apparatus and image recording method
JPS61241170A (en) Driving-controlling system for thermal serial printer
JPS61167268A (en) Driver ic for thermal head
JPH106545A (en) Printer
JPH03221467A (en) Driving method for head
JPS62299173A (en) Thermal head control method
JPH01249458A (en) Printer
JPH04193556A (en) Printer
JPH0671794B2 (en) Thermal head drive circuit for video printer
JPH02125760A (en) Thermal head control circuit