JPH04208473A - Character-code/image-data conveter and thermal recorder equipped therewith - Google Patents

Character-code/image-data conveter and thermal recorder equipped therewith

Info

Publication number
JPH04208473A
JPH04208473A JP2340143A JP34014390A JPH04208473A JP H04208473 A JPH04208473 A JP H04208473A JP 2340143 A JP2340143 A JP 2340143A JP 34014390 A JP34014390 A JP 34014390A JP H04208473 A JPH04208473 A JP H04208473A
Authority
JP
Japan
Prior art keywords
image data
dot pattern
character
conversion table
storage means
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
JP2340143A
Other languages
Japanese (ja)
Other versions
JPH0777811B2 (en
Inventor
Sumio Watanabe
渡辺 寿美男
Kunihiko Funada
邦彦 舟田
Katsuhiro Maeda
克広 前田
Hideyuki Yamaji
秀幸 山路
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2340143A priority Critical patent/JPH0777811B2/en
Publication of JPH04208473A publication Critical patent/JPH04208473A/en
Publication of JPH0777811B2 publication Critical patent/JPH0777811B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To make a capacity of a memory small, a processing speedy, and enlarge or contract a character with other multiplying factor than integer multiples or reciprocal multiples of integer by converting a character code into an image data of an ordinary character size at character font table memory means and enlarging or contracting a dot pattern of the image data at dot pattern conversion table memory means. CONSTITUTION:In a character-code/image-data converter 1, a character font table of ordinary character size is provided in a character font table memory means 2. The character font table memory means 2 converts a character code into an image data and a dot pattern conversion table memory means 3 enlarges or contracts a dot pattern of this image data. When a length is to be multiplied by M/m and a width is to be multiplied by N/n at the dot pattern conversion table memory means 3, a rectangular image data having a length of m bit and a width of n bit is converted into a rectangular image data having a length of M bit and a width of N bit.

Description

【発明の詳細な説明】[Detailed description of the invention]

[[E要] 与えられた文字コードに対し、拡大又は縮小した文字サ
イズのイメージデータをプリンタやデイスプレィ装置等
の出力装置に供給する文字コード/イメージデータ変換
装置及びこれを用いた熱記録装置に関し、 文字コードをイメージデータに変換するためのメモリを
小容量にすることができ、高速処理ができ、しかも、整
数倍又は整数の逆数倍以外の倍率で文字を拡大又は縮小
することができるようにすることを目的とし、 文字コードを普通の文字サイズのイメージデータに変換
する文字フォントテーブル記憶手段と、該イメージデー
タのドラトノずターンを拡大又1ま縮小するドツトパタ
ーン変換テーブル記憶手段と、を備えて構成する。  
  ′
[[E Required] Concerning a character code/image data conversion device that supplies image data of enlarged or reduced character size to an output device such as a printer or display device for a given character code, and a thermal recording device using the same. , the memory capacity for converting character codes into image data can be reduced, high-speed processing is possible, and characters can be enlarged or reduced at a magnification other than an integer multiple or a reciprocal of an integer. A character font table storage means for converting a character code into image data of a normal character size, and a dot pattern conversion table storage means for enlarging or reducing a dot pattern of the image data by one. Prepare and configure.

【産業上の利用分野】[Industrial application field]

本発明は、与えられた文字コードに対し、拡大又は縮小
した文字サイズのイメージデータをプリンタやデイスプ
レィ装置等の出力装置に供給する文字コード/イメージ
データ変換装置及びこれを用いた感熱記録装置又は熱転
写装置などの熱記録装置に関する。
The present invention relates to a character code/image data conversion device that supplies image data of a character size enlarged or reduced to a given character code to an output device such as a printer or a display device, and a thermal recording device or thermal transfer device using the same. The present invention relates to thermal recording devices such as devices.

【従来の技術】[Conventional technology]

この種の従来の文字コード/イメージデータ変換装置に
は、次のようなものがある。 (1)各種文字サイズの文字フォントテーブルを備えた
もの。 (2)普通の文字サイズの文字フォントテーブルのみを
備え、簡単なアルゴリズムで整数倍又はその逆数倍に文
字を拡縮したイメージデータを得るもの。 (3)ベクトル文字フォントテーブルを備え、文字上の
隣合う点の間を拡大し曲線で結ぶことにより拡大するも
の。
Conventional character code/image data conversion devices of this type include the following. (1) Equipped with character font tables for various character sizes. (2) A device that is equipped with only a character font table of normal character size and uses a simple algorithm to obtain image data in which characters are scaled by an integer multiple or its reciprocal. (3) A vector character font table that enlarges adjacent points on a character by connecting them with a curved line.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかし、上記(1)及び(3)は、大容量のメモリを必
要とするので、小型の出力装置には採用することができ
ず、また、(3)は演算に長時間を要するので、高速プ
リンタ等には採用することができない。上記(2)は、
整数倍またはその逆数倍以外の倍率で文字の拡縮を行な
うことができない。 本発明の目的は、このような問題点に鑑み、文字コード
をイメージデータに変換するためのメモリを小容量にす
ることができ、高速処理が可能であり、しかも、整数倍
又は整数の逆数倍以外の倍率で文字を拡大又は縮小する
ことが可能な文字コード/−イメージデータ変換装置及
びこれを用いた熱記録装置に関する。
However, since (1) and (3) above require a large capacity of memory, they cannot be used in small-sized output devices, and (3) requires a long time to calculate, so it cannot be used at high speeds. It cannot be used in printers, etc. The above (2) is
Characters cannot be enlarged or reduced at a magnification other than an integer or its reciprocal. In view of these problems, it is an object of the present invention to reduce the memory capacity for converting character codes into image data, enable high-speed processing, and furthermore, The present invention relates to a character code/image data conversion device capable of enlarging or reducing characters at a magnification other than double, and a thermal recording device using the same.

【課題を解決するための手段及びその作用】第1図は本
発明に係る文字コード/イメージデータ変換装置及びこ
れを用いた熱記録装置の原理構成を示す。 この文字コード/イメージデータ変換装置1は文字フォ
ントテーブル記憶手段2と、ドツトパターン変換テーブ
ル記憶手段3とを有している。 文字フォントテーブル記憶手段2は、文字コードを普通
の文字サイズのイメージデータに変換する。  ドツト
パターン変換テーブル記憶手段3は、該イメージデータ
のドツトパターンを拡大又は縮小する。 上記の如く構成された文字コード/イメージデータ変換
装置は、普通の文字サイズの文字フォントテーブルを文
字フォントテーブル記憶手段2に備え、文字フォントテ
ーブル記憶手段2で文字コ−ドをイメージデータに変換
し、記憶容量が比較的小さいドツトパターン変換テーブ
ル記憶手段3でこのイメージデータのドツトパターン(
書体は問わない)を拡大又は縮小するので、各種文字サ
イズの文字フォントテーブルを備える必要がなく、文字
コードをイメージデータに変換するためのメモリを小容
量にすることができる。 また、ベクトルフォントテーブル方式の場合のような拡
縮計算をする必要がないので、高速に、文字コードを拡
大文字または縮小文字のイメージデータに変換すること
ができる。 しかも、整数倍又は整数の逆数倍以外の倍率で文字を拡
大又は縮小することができる。 上記文字コード/イメージデータ変換装置において、ド
ツトパターン変換テーブル記憶手段3を、縦をM / 
m倍し横をN71倍する場合に、縦がmビットで横がn
ビットの矩形イメージデータを縦がMビットで横がNビ
ットの矩形イメージデータに変換する構成とすれば、ド
ツトパターン変換テーブル記憶手段3の容量を必要最小
限にすることができる。例えば、任意の書体かつ任意の
偶数ドツト構成の文字を3/2倍に拡大する場合、僅か
16個の2ビツト×2ビツトのパターンをそれぞれ3ビ
ツト×3ビツトのパターンに変換するドツトパターン変
換テーブルを備えればよい。 上記文字コード/イメージデータ変換装置において、ド
ツトパターン変換テーブル記憶手段3に、イメージデー
タのドツトパターンを普通よりも細くして拡大又は縮小
する細線ドツトパターン変換テーブルを備え、細線拡縮
モードが指定された場合に該細線ドツトパターン変換テ
ーブルを使用すれば、黒率が減少するので、熱記録装置
での印字(本明細書では、「印字」は図形等のイメージ
の印刷を含むものとする。)の高速化に寄与する。 また、上記文字コード/イメージデータ変換装置におい
て、ドツトパターン変換テーブル記憶手段3に、イメー
ジデータのドツトパターンを普通よりも太くして拡大又
は縮小する太線ドツトパターン変換テーブルを備え、太
線拡縮モードが指定された場合に該太線ドツトパターン
変換テーブルを使用すれば、熱記録装置で複数部同時印
字するる速度の高速化に寄与する。 本発明に係る熱記録装置では、第1図に示す如く、上記
文字コード/イメージデータ変換装置1の他にさらに、
黒率変換テーブル記憶手段4と、通電制御手段5と、印
字ヘッド6とを有している。 印字ヘッド6には、熱記録用発熱抵抗素子が配列されて
いる。 文字コード/イメージデータ変換装置1は、イメージデ
ータを黒率変換テーブル記憶手段4及び印字ヘッド6へ
供給する。 黒率変換テーブル記憶手段4は、イメージデータ゛を、
該イメージデータを分割したときの複数の範囲の各々に
存在する黒のビット数に変換する。 通電制御手段5は、黒率変換テーブル記憶手段6から読
み出されたデータに基づいて印字ヘッド6の発熱抵抗素
子を通電制御する。 上記の如く構成された熱記録装置は、黒率変換テーブル
記憶手段4でイメージデータを黒率に変換するので、高
速に黒率を求めることができ、高速印字が可能となる。
[Means for Solving the Problems and Their Effects] FIG. 1 shows the basic structure of a character code/image data converting device and a thermal recording device using the same according to the present invention. This character code/image data conversion device 1 has a character font table storage means 2 and a dot pattern conversion table storage means 3. The character font table storage means 2 converts the character code into image data of normal character size. The dot pattern conversion table storage means 3 enlarges or reduces the dot pattern of the image data. The character code/image data conversion device configured as described above includes a character font table of normal character size in the character font table storage means 2, and the character font table storage means 2 converts the character code into image data. , the dot pattern of this image data (
Since the font size (typeface does not matter) is enlarged or reduced, there is no need to provide character font tables for various character sizes, and the capacity of memory for converting character codes into image data can be reduced. Furthermore, since there is no need to perform scaling calculations as in the case of the vector font table method, character codes can be quickly converted into image data of enlarged or reduced characters. Furthermore, characters can be enlarged or reduced at a magnification other than an integer multiple or a reciprocal integer multiple. In the above character code/image data conversion device, the dot pattern conversion table storage means 3 is arranged vertically as M/
When multiplying the width by m and the width by N71, the length is m bits and the width is n bits.
If the configuration is such that the rectangular image data of bits is converted into rectangular image data of M bits in length and N bits in width, the capacity of the dot pattern conversion table storage means 3 can be minimized. For example, if you want to enlarge a character of any even number of dots in any font by 3/2 times, you will need a dot pattern conversion table that converts only 16 2-bit x 2-bit patterns into 3-bit x 3-bit patterns. All you have to do is prepare. In the above character code/image data conversion device, the dot pattern conversion table storage means 3 is provided with a thin line dot pattern conversion table for enlarging or reducing the dot pattern of image data by making it thinner than usual, and a thin line enlargement/reduction mode is specified. In this case, if the thin line dot pattern conversion table is used, the black rate will be reduced, which will increase the speed of printing (in this specification, "printing" includes printing of images such as figures) with a thermal recording device. Contribute to Further, in the character code/image data conversion device, the dot pattern conversion table storage means 3 is provided with a thick line dot pattern conversion table for enlarging or reducing the dot pattern of the image data by making it thicker than normal, and a thick line enlargement/reduction mode is specified. If the thick line dot pattern conversion table is used in such a case, it will contribute to increasing the speed of simultaneous printing of a plurality of copies using a thermal recording device. In the thermal recording device according to the present invention, as shown in FIG. 1, in addition to the character code/image data conversion device 1,
It has a black ratio conversion table storage means 4, an energization control means 5, and a print head 6. In the print head 6, heating resistive elements for thermal recording are arranged. The character code/image data conversion device 1 supplies image data to the black ratio conversion table storage means 4 and the print head 6. The black rate conversion table storage means 4 stores the image data as
The image data is converted into the number of black bits existing in each of a plurality of ranges when the image data is divided. The energization control means 5 controls the energization of the heating resistor elements of the print head 6 based on the data read from the black rate conversion table storage means 6. Since the thermal recording device configured as described above converts the image data into a black rate using the black rate conversion table storage means 4, the black rate can be determined at high speed, and high-speed printing is possible.

【実施例】【Example】

以下、図面に基づいて本発明に係る文字コード/イメー
ジデータ変換装置及びこれを用いた熱記録装置の一実施
例を説明する。 第2図は、文字コード/イメージデータ変換装置が適用
された熱記録装置の要部構成を示す。 拡張文字コード又はイメージデータは、印刷順に拡張文
字コード/イメージバッファメモリ10に供給されて一
時記憶される。この拡張文字コードは、例えば第3図に
示す如く構成されており、修飾コードと、文字コードC
とからなる。修飾コードはさらに、拡縮コード八と、書
体コードBとからなる。拡縮コードAは、例えば、2ピ
ツ)A1、A2で構成されている。そして、ピッ)AI
は、例えば、°0°のとき普通の文字サイズを表し、°
1°のとき3/2倍に拡大した文字サイズを表す。また
、ピッ)A2は、例えば、“0゛のとき細線拡大を示し
、“1゛のとき太線拡大を示す。書体コードBは、例え
ば、1ビツト構成であって、0′のとき明朝体を表し、
lのときゴシック体を表す。文字コードCは、例えば1
バイトのアスキーコードであり、0〜255の数字で表
される。第2図に示す拡張文字コード/イメージバッフ
ァメモリ10にはまた、拡張文字コードであるかイメー
ジデータであるかを識別する1ビツトのデータが格納さ
れる。 拡張文字コード/イメージバッファメモリ10の内容は
、2組選択出力のデマルチプレクサ12A及び2組選択
入力のマルチプレクサ12Bの一方の組の入力端子に供
給される。デマルチプレクサ12Aの一組の出力端子は
文字フォントテーブルROM14のアドレス入力端子に
接続され、文字フォントテーブルROM14のデータ出
力端子は4組選択入力のマルチプレクサ12Cの1組の
入力端子に接続されている。デマルチプレクサ12Aの
他方の組の出力端子は直接マルチプレクサ12Cの1組
の入力端子に接続されている。また、文字フォントテー
ブルROM14の出力端子はマルチプレクサ12Bの他
方の組の入力端子に接続されている。マルチプレクサ1
2Bの出力端子は、拡縮回路16を介してマルチプレク
サ12cの1組の入力端子に接続されている。マルチプ
レクサ12Cの出力端子は、イメージバッファメモリ1
8のデータ入力端子に接続されている。デマルチプレク
サ12A1マルチプレクサ12B及び12Cの選択制御
は、選択制御回路20により拡張文字コード/イメージ
バッファメモリ10の内容に応じて行われ、次の(1)
〜(4)のようにデータが移動する。 (1)拡張文字コード/イメージバッファメモリ10の
内容が拡張文字コードで拡大倍率が1(普通の文字サイ
ズ)の場合には、その文字コードCがデマルチプレクサ
12Aを介し文字フォントテーブルROM14に供給さ
れてイメージデータに変換され、このイメージデータが
マルチプレクサ12Cを介してイメージバッファメモリ
18に保持される。 (2)拡張文字コード/イメージバッファメモリ10の
内容が拡張文字コードで拡大倍率が1でない場合には、
その文字コードCはデマルチプレクサ12Aを介し文字
フォントテーブルROMI4に供給されてイメージデー
タに変換され、このイメージデータがマルチプレクサ1
2Bを介して拡縮回路16に供給され、そのドツトパタ
ーンが拡大倍率に応じて拡縮され、これがマルチプレク
サ12Cを介しイメージバッファメモリ18に保持され
る。 (3)拡張文字コード/イメージバッファメモリ10の
内容がイメージデータで拡大倍率が1の場合には、この
イメージデータはデマルチプレクサ12A1マルチプレ
クサ12Cを介してイメージバッファメモリ18に保持
される。 (4)拡張文字コード/イメージバッファメモリ10の
内容がイメージデータで拡大倍率が1でない場合には、
このイメージデータはマルチプレクサ12Bを介して拡
縮回路16に供給され、そノトットハターンが拡大倍率
に応じて拡縮され、これがマルチプレクサ12Cを介し
てイメージバッファメモリ18に保持される。 文字フォントテーブルROM14に格納されているある
書体の文字フォントテーブルのアドレスとその内容は、
文字コードCが1バイト文字の場合、第4図に示す如く
なっている。すなわち、1文字が(m+1)ラインのイ
メージデータで表され、1ラインが1バイトで表される
場合には、C=1とすると、第にライン(k = 1〜
m+ 1 )のイメージデータはアドレスAO+256
  (k−1)+iに格納されている。文字フォントテ
ーブル14Aの先頭アドレスアAOは、書体コードBの
値により定まる。第2図に示す文字フォントテーブルR
OM14には、書体コードBの値に応じた書体の文字フ
ォントテーブルが全て格納されている。上記のことから
、文字フォントテーブルROM14のアドレスは、第5
図に示す如く、書体コードBと、クロックを計数する不
図示のカウンタで指定されるラインナンバDと、文字コ
ードCとで表される。 第21!lに示す拡縮回路16の一例を第6A図及び第
6B図に示す。この拡縮回路16の拡大倍率は3/2の
みであり、第6A図は細線3/2倍モードの場合のドツ
トパターン変換状態を示し、第6B図は太113/2倍
モードの場合のドツトパターン変換状態を示す。 第6A図において、元イメージバッファレジスタ161
はマルチプレクサ12Bから供給される2バイトのイメ
ージデータを保持する。この2バイトのイメージデータ
は、縦横がそれぞれ2ビツトの2X2矩形イメ一ジ部1
6A〜16Dに分割され、それぞれ4組選択人力のマル
チプレクサ162に供給される。ここで、ドツトパター
ン変換テーブルROM163には、細線拡大の変換テー
ブルと太線拡大の変換テーブルとが格納されており、拡
縮コードAの内容が“10°の場合には細線拡大の変換
テーブルが選択され、拡縮コードAの内容が°11°の
場合には太線拡大の変換デープルが選択される。マルチ
プレクサ162で選択された1組の4ビツトでドツトパ
ターン変換テーブルROM163がアドレス指定され、
ドツトパターン変換テーブルROM163から、縦横が
それぞれ3ピツトに拡大されたイメージデータが読み出
される。このイメージデータは、4組選択出力のデマル
チプレクサ164を介し、拡大イメージバッファレジス
タ165を構成する縦横がそれぞれ3ビツトの3X3矩
形イメ一ジ部16R〜16Uの1つに保持される。この
拡大イメージバッファレジスタ165は通常、2バイト
×3で構成される。マルチプレクサ162及びデマルチ
プレクサ164の選択制御は、クロックCLKを計数す
る4進カウンタ166の計数値により行われる。 すなわち、2X2矩形イメ一ジ部16A〜16Dの内容
がこの順にそれぞれ3X3矩形イメ一ジ部16R〜16
Uの内容に変換される。 第6A図及び第6B図はそれぞれ4個のパターンのta
s拡大変換例及び太線拡大変換例を示しており、°1°
が黒点に対応する。任意の書体で任意の偶数ドツト構成
の文字を3/2倍に拡大する場合、僅か16個の2ビツ
ト×2ビツトのパターンを3ビツト×3ビツトに変換す
るドツトパターン変換テーブルを備えればよい。第6A
図及び第6B図に示す4個のパターン以外のパターン変
換は、これら4個のパターン変換から容易の類推するこ
とができるので、その説明を省略する。 このように構成された拡縮回路16により、例えば、各
種書体の縦16ドツ)X横8ドツトの文字を縦24ドツ
ト×横12ドツトの文字に変換することができる。 第2図において、イメージバッファメモリ18に保持さ
れたイメージデータは、直接印字ヘッド24へ供給され
るとともに、分割・通電時間判定回路22に供給されて
通電制御データが作成された後、印字ヘッド24に供給
される。 第7図は分割・通電時間判定回路22の一例を示す。イ
メージバッファレジスタ221には、イメージバッファ
メモリ18から供給されたイメージデータが保持され、
このイメージデータにより黒率テーブルROM222が
アドレス指定されて黒率BNI〜BN5が読み出され、
黒率バッファレジスタ223に保持される。黒率BNI
〜BN5は、図示の如く、イメージバッファレジスタ2
21を4ビット単位で3分割したときの、最上位ビット
から4ビツト、最上位ビットから8ビツト、最下位ビッ
トから4ビツト、最下位ビットから8ピツト及び全12
ピツトのそれぞれの範囲に含まれる、ビットが1″の個
数である。 従来では、これら黒率BNI〜BN5を演算により求め
ていたが、本実施例では、イメージバッファレジスタ2
21の内容で黒率テーブルROM222をアドレス指定
して黒率BNI〜BN5を読み出すので、黒率BNI〜
BN5を高速に求めることができる。 黒率バッファレジスタ223の内容は分割・通電時間判
定プロセッサ224に供給され、公知の如く、印字ヘッ
ド24に配列された複数の発熱抵抗素子を、消費電力を
小さくかつ均一にし印字が掠れないよう分割し高速に印
字するための、分割数及び各分割領域の通電時間を求め
、これを通電制御データとして第2図に示す印字ヘッド
24へ供給する。 なお、本発明には外にも種々の変形例が含まれる。例え
ば、上記ROMは他の記憶手段でもよく、また、第2図
に示す構成要素12A、12B、12C,20はソフト
ウェアで構成してもよく、さらに、構成要素16及び2
2はメモリとソフトウェアとで構成してもよいことは勿
論である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a character code/image data conversion device and a thermal recording device using the same according to the present invention will be described below with reference to the drawings. FIG. 2 shows the main structure of a thermal recording device to which a character code/image data conversion device is applied. The extended character code or image data is supplied to the extended character code/image buffer memory 10 in printing order and temporarily stored therein. This extended character code is configured as shown in Figure 3, for example, and includes a modification code and a character code C.
It consists of The modification code further includes an expansion/contraction code 8 and a font code B. The expansion/contraction code A is composed of, for example, two pins) A1 and A2. And beep) AI
For example, °0° represents normal font size, °
When it is 1°, it represents the character size enlarged by 3/2 times. Furthermore, for example, when A2 is "0", it indicates thin line enlargement, and when it is "1", it indicates thick line enlargement. For example, the font code B has a 1-bit configuration, and when it is 0', it represents a Mincho font,
When it is l, it represents a Gothic typeface. For example, the character code C is 1
This is a byte ASCII code and is expressed as a number from 0 to 255. The extended character code/image buffer memory 10 shown in FIG. 2 also stores 1-bit data for identifying whether the data is an extended character code or image data. The contents of the extended character code/image buffer memory 10 are supplied to one set of input terminals of a demultiplexer 12A with two selection outputs and a multiplexer 12B with two selection inputs. A set of output terminals of the demultiplexer 12A is connected to an address input terminal of a character font table ROM 14, and a data output terminal of the character font table ROM 14 is connected to a set of input terminals of a multiplexer 12C having four selection inputs. The other set of output terminals of demultiplexer 12A is directly connected to one set of input terminals of multiplexer 12C. Further, the output terminal of the character font table ROM 14 is connected to the other set of input terminals of the multiplexer 12B. Multiplexer 1
The output terminal of 2B is connected via the expansion/contraction circuit 16 to a set of input terminals of the multiplexer 12c. The output terminal of the multiplexer 12C is the image buffer memory 1
8 data input terminals. The selection control of the demultiplexer 12A1 and the multiplexers 12B and 12C is performed by the selection control circuit 20 according to the contents of the extended character code/image buffer memory 10.
The data moves as shown in ~(4). (1) When the content of the extended character code/image buffer memory 10 is an extended character code and the enlargement factor is 1 (normal character size), the character code C is supplied to the character font table ROM 14 via the demultiplexer 12A. The image data is converted into image data, and this image data is held in the image buffer memory 18 via the multiplexer 12C. (2) If the contents of the extended character code/image buffer memory 10 are extended character codes and the enlargement magnification is not 1,
The character code C is supplied to the character font table ROMI4 via the demultiplexer 12A and converted into image data, and this image data is sent to the multiplexer 1.
The dot pattern is supplied to the enlarging/reducing circuit 16 via the dot 2B, and the dot pattern is enlarged/reduced according to the enlargement factor, and is held in the image buffer memory 18 via the multiplexer 12C. (3) When the contents of the extended character code/image buffer memory 10 are image data and the enlargement factor is 1, this image data is held in the image buffer memory 18 via the demultiplexer 12A1 and the multiplexer 12C. (4) If the contents of the extended character code/image buffer memory 10 are image data and the enlargement factor is not 1,
This image data is supplied to the enlarging/reducing circuit 16 via the multiplexer 12B, and the image data is enlarged/reduced according to the enlargement factor, and is held in the image buffer memory 18 via the multiplexer 12C. The address and contents of the character font table of a certain typeface stored in the character font table ROM 14 are as follows:
When the character code C is a 1-byte character, it is as shown in FIG. In other words, if one character is represented by (m+1) lines of image data, and one line is represented by one byte, then if C=1, then the first line (k=1~
m+1) image data is at address AO+256
It is stored in (k-1)+i. The starting address AO of the character font table 14A is determined by the value of the font code B. Character font table R shown in Figure 2
The OM 14 stores all character font tables of fonts corresponding to the value of font code B. From the above, the address of the character font table ROM 14 is the fifth
As shown in the figure, it is represented by a font code B, a line number D specified by a counter (not shown) that counts clocks, and a character code C. 21st! An example of the expansion/contraction circuit 16 shown in FIG. 1 is shown in FIGS. 6A and 6B. The magnification factor of this enlarging/reducing circuit 16 is only 3/2, and FIG. 6A shows the dot pattern conversion state in the thin line 3/2x mode, and FIG. 6B shows the dot pattern conversion state in the thick 113/2x mode. Indicates conversion status. In FIG. 6A, the original image buffer register 161
holds 2 bytes of image data supplied from multiplexer 12B. This 2-byte image data is a 2x2 rectangular image part 1 with 2 bits each in the vertical and horizontal directions.
The signals are divided into 6A to 16D, and each of them is supplied to a multiplexer 162 that selects four groups manually. Here, the dot pattern conversion table ROM 163 stores a conversion table for thin line enlargement and a conversion table for thick line enlargement, and when the content of the enlargement/reduction code A is "10°", the conversion table for thin line enlargement is selected. , when the content of the expansion/reduction code A is 11 degrees, the thick line expansion conversion table is selected.The dot pattern conversion table ROM 163 is addressed by a set of 4 bits selected by the multiplexer 162,
From the dot pattern conversion table ROM 163, image data enlarged to three pits in the vertical and horizontal directions is read out. This image data is held in one of the 3×3 rectangular image units 16R to 16U, each having 3 bits in the vertical and horizontal directions, constituting the enlarged image buffer register 165 through a demultiplexer 164 with four selected outputs. This enlarged image buffer register 165 is normally composed of 2 bytes x 3. Selection control of the multiplexer 162 and the demultiplexer 164 is performed by the count value of a quaternary counter 166 that counts the clock CLK. That is, the contents of the 2X2 rectangular image sections 16A to 16D are stored in the 3X3 rectangular image sections 16R to 16, respectively, in this order.
Converted to the contents of U. Figures 6A and 6B each show four patterns of ta.
An example of s enlargement conversion and an example of thick line enlargement conversion are shown.
corresponds to a sunspot. When enlarging a character with an arbitrary even number of dots in an arbitrary typeface by 3/2 times, it is sufficient to provide a dot pattern conversion table that converts only 16 2-bit x 2-bit patterns into 3-bit x 3-bit. . 6th A
Since pattern conversions other than the four patterns shown in the figures and FIG. 6B can be easily inferred from these four pattern conversions, their explanations will be omitted. By means of the enlargement/contraction circuit 16 configured in this manner, for example, characters of 16 dots vertically by 8 dots horizontally in various fonts can be converted into characters of 24 dots vertically by 12 dots horizontally. In FIG. 2, the image data held in the image buffer memory 18 is directly supplied to the print head 24, and is also supplied to the division/energization time determination circuit 22 to create energization control data. is supplied to FIG. 7 shows an example of the division/energization time determination circuit 22. The image buffer register 221 holds the image data supplied from the image buffer memory 18,
The black ratio table ROM 222 is addressed by this image data, and the black ratios BNI to BN5 are read out.
It is held in the black rate buffer register 223. Black rate BNI
~BN5 is the image buffer register 2 as shown in the figure.
When 21 is divided into 3 parts in 4-bit units, 4 bits from the most significant bit, 8 bits from the most significant bit, 4 bits from the least significant bit, 8 pits from the least significant bit, and a total of 12
This is the number of 1" bits included in each range of pits. Conventionally, these black ratios BNI to BN5 were calculated by calculation, but in this embodiment, the image buffer register 2
Since the black ratio table ROM 222 is addressed with the contents of 21 and the black ratios BNI to BN5 are read out, the black ratios BNI to BN5 are read out.
BN5 can be determined quickly. The contents of the black ratio buffer register 223 are supplied to the division/energization time determination processor 224, which divides the plurality of heat generating resistive elements arranged in the print head 24, as is well known, so as to reduce and uniformly consume power and prevent printing from blurring. In order to print at high speed, the number of divisions and the energization time of each divided area are determined and supplied as energization control data to the print head 24 shown in FIG. 2. Note that the present invention includes various other modifications. For example, the ROM may be any other storage means, the components 12A, 12B, 12C, and 20 shown in FIG.
Of course, 2 may be composed of memory and software.

【発明の効果】【Effect of the invention】

以上説明した如く、本発明に係る文字コード/イメージ
データ変換装置は、普通の文字サイズの文字フォントテ
ーブルが格納された文字フォントテーブル記憶手段で文
字コードをイメージデータに変換し、記憶容量が比較的
小さいドツトパターン変換テーブル記憶手段でこのイメ
ージデータのドツトパターンを拡大又は縮小するので、
各種文字サイズの文字フォントテーブルを備える必要が
なく、文字コードをイメージデータに変換するためのメ
モリを小容量にすることができ、また、ベクトルフォン
トテーブル方式の場合のような拡縮計算をする必要がな
いので、高速に、文字コードを拡大文字または縮小文字
のイメージデータに変換することができ、しかも、整数
倍又は整数の逆数倍以外の倍率で文字を拡大又は縮小す
ることができるという優れた効果を奏する。 上記文字コード/イメージデータ変換装置において、ド
ツトパターン変換テーブル記憶手段を、縦をM / m
倍し横をN / n倍する場合に、縦がmビットで横が
nビットの矩形イメージデータを縦がMビットで横がN
ビットの矩形イメージデータに変換する構成とすれば、
ドツトパターン変換テーブル記憶手段3の容量を必要最
小限にすることができるという効果を奏する。 上記文字コード/イメージデータ変換装置において、ド
ツトパターン変換テーブル記憶手段に、イメージデータ
のドツトパターンを普通よりも細くして拡大又は縮小す
る細線ドツトパターン変換テーブルを備え、細線拡縮モ
ードが指定された場合に該細線ドツトパターン変換テー
ブルを使用すれば、熱記録装置での印字の高速化に寄与
する。 また、上記文字コード/イメージデータ変換装置におい
て、ドツトパターン変換テーブル記憶手段に、イメージ
データのドツトパターンを普通よりも太くして拡大又は
縮小する太線ドツトパターン変換テーブルを備え、太線
拡縮モードが指定された場合に該太線ドツトパターン変
換テーブルを使用すれば、熱記録装置で複数部同時印字
する速度の高速化に寄与する。 本発明に係る熱記録装置では、第1図に示す如く、上記
文字コード/イメージデータ変換装置の他にさらに、黒
率変換テーブル記憶手段と、通電制御手段と、印字ヘッ
ドとを備えており、黒率変換テーブル配憶手段でイメー
ジデータを黒率に変換するので、高速に黒率を求めるこ
とができ、高速印字が可能となるという効果を奏する。
As explained above, the character code/image data conversion device according to the present invention converts character codes into image data using a character font table storage means storing a character font table of normal character size, and has a relatively large storage capacity. Since the dot pattern of this image data is enlarged or reduced by a small dot pattern conversion table storage means,
There is no need to prepare character font tables for various character sizes, the amount of memory required to convert character codes into image data can be reduced, and there is no need to perform scaling calculations as in the case of the vector font table method. This is an excellent method that can quickly convert character codes into image data of enlarged or reduced characters, and can also enlarge or reduce characters at a magnification other than an integer or reciprocal of an integer. be effective. In the above character code/image data conversion device, the dot pattern conversion table storage means has a length of M/m.
When multiplying the width by N/n, rectangular image data of m bits in height and n bits in width is converted to M bits in height and N bits in width.
If the configuration is to convert to bit rectangular image data,
This has the effect that the capacity of the dot pattern conversion table storage means 3 can be minimized. In the above character code/image data conversion device, when the dot pattern conversion table storage means includes a thin line dot pattern conversion table for enlarging or reducing the dot pattern of image data by making it thinner than normal, and a thin line enlargement/reduction mode is specified. If the thin line dot pattern conversion table is used in this, it will contribute to speeding up printing in a thermal recording device. Further, in the character code/image data conversion device, the dot pattern conversion table storage means is provided with a thick line dot pattern conversion table for enlarging or reducing the dot pattern of the image data by making it thicker than usual, and a thick line enlargement/reduction mode is specified. In such a case, if the thick line dot pattern conversion table is used, it will contribute to increasing the speed of simultaneous printing of a plurality of copies with a thermal recording device. As shown in FIG. 1, the thermal recording device according to the present invention further includes, in addition to the character code/image data conversion device, a black rate conversion table storage means, an energization control means, and a print head, Since the image data is converted into black ratio by the black ratio conversion table storage means, the black ratio can be determined at high speed, and high-speed printing is possible.

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

第1図は本発明に係る文字コード/イメージデータ変換
装置及びこれを用いた熱記録装置の原理構成を示すブロ
ック図である。 第2図乃至第7図は本発明に係る文字コード/イメージ
データ変換装置及びこれを用いた熱記録装置の一実施例
に係り、 第2図は文字コード/イメージデータ変換装置が適用さ
れた熱記録装置の要部構成を示すブロック図、 第3図は拡張文字コードの構成図、 第4図は文字フォントテーブル構成図、第5図は文字フ
ォントテーブルアドレス構成図、第6A図は細線372
倍モードの場合の変換状態を示す拡縮回路図、 第6B図は太線3/2倍モードの場合の変換状態を示す
拡縮回路図、 第7!!lは分割・通電時間判定回路図である。 図中、 16A〜16Dは2x2矩形イメ一ジ部16R〜16U
は3×3矩形イメ一ジ部161は元イメージバッファレ
ジスタ 165は拡大イメージバッファレジスタ文字コード 拡張文字コード/イメージデータ 修飾コード マルチプレクサ12Bより 第68図
FIG. 1 is a block diagram showing the basic structure of a character code/image data conversion device and a thermal recording device using the same according to the present invention. 2 to 7 relate to an embodiment of a character code/image data converting device and a thermal recording device using the same according to the present invention, and FIG. 2 shows a thermal recording device to which the character code/image data converting device is applied. A block diagram showing the configuration of the main parts of the recording device, Figure 3 is a configuration diagram of the extended character code, Figure 4 is a configuration diagram of the character font table, Figure 5 is a configuration diagram of the character font table address, and Figure 6A is the configuration diagram of the thin line 372.
An enlarged/reduced circuit diagram showing the conversion state in the case of double mode. Figure 6B is an enlarged/reduced circuit diagram showing the conversion state in the case of 3/2 times mode with thick lines. 7th! ! 1 is a division/energization time determination circuit diagram. In the figure, 16A to 16D are 2x2 rectangular image parts 16R to 16U.
The 3×3 rectangular image portion 161 is the original image buffer register 165 is the enlarged image buffer register character code extended character code/image data modification code from the multiplexer 12B.

Claims (1)

【特許請求の範囲】 1)、文字コードを普通の文字サイズのイ メージデータに変換する文字フォントテーブル記憶手段
(2)と、 該イメージデータのドットパターンを拡大又は縮小する
ドットパターン変換テーブル記憶手段(3)と、 を有することを特徴とする文字コード/イメージデータ
変換装置(1)。 2)、前記ドットパターン変換テーブル記 憶手段(3)は、縦をM/m倍し横をN/n倍する場合
、縦がmビットで横がnビットの矩形イメージデータを
縦がMビットで横がNビットの矩形イメージデータに変
換することを特徴とする請求項1記載の装置。 3)、前記ドットパターン変換テーブル記 憶手段(3)は、前記イメージデータのドットパターン
を普通よりも細くして拡大又は縮小する細線ドットパタ
ーン変換テーブルを有し、 細線拡縮モードが指定された場合に該細線ドットパター
ン変換テーブルを使用することを特徴とする請求項1又
は2記載の装置。 4)、前記ドットパターン変換テーブル記 憶手段(3)は、前記イメージデータのドットパターン
を普通よりも太くして拡大又は縮小する太線ドットパタ
ーン変換テーブルを有し、 太線拡縮モードが指定された場合に該太線ドットパター
ン変換テーブルを使用することを特徴とする請求項1又
は2記載の装置。 5)、熱記録用発熱抵抗素子が配列された 印字ヘッド(6)と、 前記イメージデータを該印字ヘッドへ供給する請求項1
乃至4のいずれか1つに記載の文字コード/イメージデ
ータ変換装置(1)と、 前記イメージデータを、該イメージデータを分割したと
きの複数の範囲の各々に存在する黒のビット数に変換す
る、黒率変換テーブル記憶手段(4)と、 該黒率変換テーブル記憶手段から読み出されたデータに
基づいて該印字ヘッドの該発熱抵抗素子を通電制御する
通電制御手段(5)と、 を有することを特徴とする熱記録装置。
[Claims] 1) Character font table storage means (2) for converting character codes into image data of normal character size; and dot pattern conversion table storage means (2) for enlarging or reducing the dot pattern of the image data. 3) A character code/image data conversion device (1) characterized by having the following. 2) The dot pattern conversion table storage means (3) converts rectangular image data of m bits in length and n bits in width to M bits in height when multiplying the height by M/m and the width by N/n. 2. The apparatus according to claim 1, wherein the image data is converted into rectangular image data of N bits in width. 3) The dot pattern conversion table storage means (3) has a thin line dot pattern conversion table that enlarges or reduces the dot pattern of the image data by making it thinner than normal, and when a thin line enlargement/reduction mode is specified. 3. The apparatus according to claim 1, wherein the thin line dot pattern conversion table is used. 4) The dot pattern conversion table storage means (3) has a thick line dot pattern conversion table that enlarges or reduces the dot pattern of the image data by making it thicker than usual, and when the thick line enlargement/reduction mode is specified. 3. The apparatus according to claim 1, wherein the thick line dot pattern conversion table is used. 5) A print head (6) in which heating resistive elements for thermal recording are arranged, and the image data is supplied to the print head.
The character code/image data converting device (1) according to any one of items 4 to 4, converting the image data into the number of black bits present in each of a plurality of ranges when the image data is divided. , a black ratio conversion table storage means (4), and an energization control means (5) for controlling energization of the heating resistor element of the print head based on the data read from the black ratio conversion table storage means. A thermal recording device characterized by:
JP2340143A 1990-11-30 1990-11-30 Character code / image data conversion device and thermal recording device using the same Expired - Fee Related JPH0777811B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2340143A JPH0777811B2 (en) 1990-11-30 1990-11-30 Character code / image data conversion device and thermal recording device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2340143A JPH0777811B2 (en) 1990-11-30 1990-11-30 Character code / image data conversion device and thermal recording device using the same

Publications (2)

Publication Number Publication Date
JPH04208473A true JPH04208473A (en) 1992-07-30
JPH0777811B2 JPH0777811B2 (en) 1995-08-23

Family

ID=18334141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2340143A Expired - Fee Related JPH0777811B2 (en) 1990-11-30 1990-11-30 Character code / image data conversion device and thermal recording device using the same

Country Status (1)

Country Link
JP (1) JPH0777811B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57131574A (en) * 1981-02-09 1982-08-14 Fujitsu Ltd Dot matrix printer
JPS6071271A (en) * 1983-09-29 1985-04-23 Fuji Xerox Co Ltd Thermal recorder
JPS6230053A (en) * 1985-08-01 1987-02-09 Casio Comput Co Ltd Dot type face enlargement and reduction system
JPS62299350A (en) * 1986-06-18 1987-12-26 Fujitsu Ltd Drive control system for thermal head

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57131574A (en) * 1981-02-09 1982-08-14 Fujitsu Ltd Dot matrix printer
JPS6071271A (en) * 1983-09-29 1985-04-23 Fuji Xerox Co Ltd Thermal recorder
JPS6230053A (en) * 1985-08-01 1987-02-09 Casio Comput Co Ltd Dot type face enlargement and reduction system
JPS62299350A (en) * 1986-06-18 1987-12-26 Fujitsu Ltd Drive control system for thermal head

Also Published As

Publication number Publication date
JPH0777811B2 (en) 1995-08-23

Similar Documents

Publication Publication Date Title
US4555191A (en) Method of reducing character font
JPH031193A (en) Data converter
JPH04208473A (en) Character-code/image-data conveter and thermal recorder equipped therewith
JPS58144890A (en) Character display area control system for character generator
JPS62212163A (en) Printing controller
JPH04371864A (en) Page printer
JP3006946B2 (en) Printing equipment
JPS62136693A (en) Graphic character output system
JPS595341A (en) Document file outputting system
JP2690567B2 (en) Printing control device
JPH01229666A (en) Printer
JPS61140986A (en) Character rotation apparatus
JPS58154885A (en) Character pattern generator
JPH02178826A (en) Page printer
GB2242297A (en) Transforming patterns of characters/graphics
JPH052643A (en) Picture processor
JPH081554B2 (en) Character processor
JPS6221553A (en) Controller for en letter
JPH0717080A (en) Printing device
JP2001351111A (en) Image processing apparatus and drawing processing apparatus
JPS60140387A (en) Graphic generator
JPS6385594A (en) Font transfer
JPS636653A (en) Data transfer controller
JPH01205280A (en) Picture converter
JPS6218275A (en) Printing control apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080823

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees