JPS5891493A - Character pattern generation circuit - Google Patents

Character pattern generation circuit

Info

Publication number
JPS5891493A
JPS5891493A JP18956681A JP18956681A JPS5891493A JP S5891493 A JPS5891493 A JP S5891493A JP 18956681 A JP18956681 A JP 18956681A JP 18956681 A JP18956681 A JP 18956681A JP S5891493 A JPS5891493 A JP S5891493A
Authority
JP
Japan
Prior art keywords
character
circuit
character pattern
memory
generation circuit
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
JP18956681A
Other languages
Japanese (ja)
Other versions
JPS6246874B2 (en
Inventor
孝明 横井
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.)
NEC Corp
Original Assignee
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP18956681A priority Critical patent/JPS5891493A/en
Publication of JPS5891493A publication Critical patent/JPS5891493A/en
Publication of JPS6246874B2 publication Critical patent/JPS6246874B2/ja
Granted legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 本発明は、文字パターン発生回路、特にドツトマトリッ
クス方式のプリンタ装置おける文字パターン発生回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character pattern generation circuit, and particularly to a character pattern generation circuit for a dot matrix printer.

ドツトマトリックス方式のプリンタ装置において印字を
行なう場合上位装置からは、JI8−C−6226等で
定められた妥・字コードが与えられ与えられた文字コー
ドから何らかつ方法で対応する文字パターンが格納され
ている文字パターンメモリのアドレスを得て印字に必要
な文字パターンを取り出し印字を行なう。
When printing with a dot matrix type printer device, the host device gives a valid character code specified by JI8-C-6226, etc., and stores a character pattern corresponding to the given character code in some way. It obtains the address of the character pattern memory in the memory, takes out the character pattern necessary for printing, and prints it.

文字=−ドから文字パターンメモリアドレスを得る方法
としては汎用性、論理の簡単さから文字毎に文字コード
と文字パターンメモリの対応関係を記憶したコード変換
テーブルを用いる方法が一般的である。
A common method for obtaining a character pattern memory address from the character =- is to use a code conversion table that stores the correspondence between character codes and character pattern memories for each character due to its versatility and logical simplicity.

ところがコード変換テーブルに文字パターンメモリアド
レスを記憶する方法では、複数の大きさの文字あるいは
複数の書体の文字の印字を行なう場合複数のコード変換
テーブルが必要となるため、構成するためのハードフェ
アが増大する欠点があった。
However, with the method of storing character pattern memory addresses in code conversion tables, multiple code conversion tables are required when printing characters of multiple sizes or characters in multiple fonts, so the hardware required to configure them is There were growing drawbacks.

本発明の第1の目的は複数のコード変換テーブルを持つ
ことなく、複数の大きさの文字あるいは複数の書体の文
字の印字を可能とする文字パターン発生回路を提供する
ことにある。
A first object of the present invention is to provide a character pattern generation circuit that can print characters of multiple sizes or characters of multiple fonts without having multiple code conversion tables.

本発明の第2の目的は同一サイズの文字の集合あるいは
同一書体の文字の集合を一つの文字セットとするとき文
字セットを構成する文字を複数のグループに分割し、各
々のグループの文字を異なった文字パターンメモリに記
憶することを可能とする文字パターン発生回路を提供す
ることにある。
A second object of the present invention is to divide the characters constituting the character set into a plurality of groups, and to divide the characters in each group into different groups when a set of characters of the same size or a set of characters of the same font form one character set. An object of the present invention is to provide a character pattern generation circuit which enables storing a character pattern in a character pattern memory.

文字セット内のグループ分割の方法としては、文字パタ
ーンメモリの記憶素子が読み出し専用メモリであるか、
書き換え可能なメモリであるかの記憶素子の相異あるい
は内字文字パターンメモリとして使用するか外字パター
ン一時記憶メモリとして使用するか、あるいは読み出し
専用メモリで構成された内字パターンの一部を置換ある
いは追加するための文字パターンメモリとして使用する
かの使用方法等によって分割する方法が考えられる。
The method of group division within a character set depends on whether the character pattern memory storage element is read-only memory or
Differences in storage elements such as whether the memory is rewritable, whether it is used as internal character pattern memory or external character pattern temporary storage memory, or whether it is used as read-only memory to replace a part of the internal character pattern or A possible method is to divide it depending on how it is used, such as whether it is used as a character pattern memory for adding.

次に本発明の一実施例を示した図面を用いて、本発明の
詳細な説明する。
Next, the present invention will be described in detail using drawings showing one embodiment of the present invention.

本発明の一実施例における文字ノくターンメモリは、第
2図に示すように1文字のドツトマトリクス表現が24
X24,32X32および40X40の3種類から構成
されている。ここでは、ドツトマトリクスの大きさで分
類し文字セットと呼ぶ。ま・た24X24,32X32
および40X40の各文字セットはそれぞれ読み出し専
用メモリおよび書き変え可能なメモリの2種類のグルー
プから構成されている。その先頭アドレスをそれぞれ、
^4゜A4:、 AH、AH’およびAH,A@’ と
する。
As shown in FIG. 2, the character number turn memory in one embodiment of the present invention has 24
There are three types: X24, 32X32 and 40X40. Here, they are classified based on the size of the dot matrix and are called character sets. Ma・ta 24X24, 32X32
Each of the 40×40 character sets is composed of two groups: read-only memory and rewritable memory. The first address of each
^4゜A4:, AH, AH' and AH, A@'.

第1図を参照すると、コード変換テーブルlは書き換え
可能なメモリから構成され文字コードの麿を与えること
により、文字コード1に対応する文字パターンが読み出
し、専用メモ’JK記憶されているかまたは書き変え可
能なメモリに記憶されているかのグループ選択信号すお
よび文字番号dを出力する。ここで文字番号は文字ノ(
ターンメモリに一対一で対応するように読み出し専用メ
モリおよび書き変え可能メモリ毎に一連に付けられた番
号である。
Referring to FIG. 1, the code conversion table l is composed of a rewritable memory, and by giving the character code number, the character pattern corresponding to character code 1 is read out, and the special memo 'JK' is stored or rewritten. Outputs the group selection signal and character number d stored in the available memory. Here, the character number is the character no (
These numbers are sequentially assigned to each read-only memory and rewritable memory so as to have one-to-one correspondence with turn memories.

データ長発生回路2は、文字セット選択信号すを与える
ことにより、選択する文字°セットの1文字の文字パタ
ーンデータ長fを出力する。また、基f17)’レス発
生回路3は、レジスタと選択回路とから構成され、先頭
アドレスに@4 、 kB’、 AH。
The data length generating circuit 2 outputs the character pattern data length f of one character of the character set to be selected by applying the character set selection signal S. Furthermore, the base f17)' response generation circuit 3 is composed of a register and a selection circuit, and has a starting address of @4, kB', AH.

A、1′およびA4D 、 A46’があらかじめ書き
込まれており、文字セット選択信号すおよびコード変換
テーブル1に文字コードを与えることによって得たグル
ープ選択信号すとの組み合せにより対応する文字セット
の対応するメモリグループの先頭アドレスであるA、、
A、4′、A、、A、、’ #よびAae # ’a’
  の中の1つをグループ基準アドレスgとして出力す
る。
A, 1', A4D, A46' are written in advance, and the corresponding characters of the corresponding character set are determined by the combination of the character set selection signal and the group selection signal obtained by giving the character code to the code conversion table 1. A, which is the start address of the memory group,
A, 4', A,, A,,'# and Aae # 'a'
One of them is output as the group reference address g.

一方、コード変換テーブル1の出力の1つである文字番
号dはデータ長発生回路2の出力である文字パターンデ
ータ長fとともに乗算回路4に接続され、乗算結果とし
てグループ内相対アト°レスhを出力する。
On the other hand, the character number d, which is one of the outputs of the code conversion table 1, is connected to the multiplication circuit 4 together with the character pattern data length f, which is the output of the data length generation circuit 2, and the intra-group relative address h is obtained as the multiplication result. Output.

また、計数回路5は計数開始信号CによってOから計数
を開始し、その計数値が文字ノ(ターンデータ長fと−
7−紘するまで計数を続ける。その出力である文字パタ
ーン内相対アドレス11、グループ基準アドレスgおよ
びグループ内相対アドレスhとともに加算回路6に接続
され、加算結果として文字パターンメモリ絶対アドレス
を出力する。
Further, the counting circuit 5 starts counting from O in response to the counting start signal C, and the counted value is the character number (turn data length f and -
7- Continue counting until the count is complete. It is connected to an adder circuit 6 together with its outputs, which are the character pattern relative address 11, the group reference address g, and the group relative address h, and outputs a character pattern memory absolute address as the addition result.

ここで計数回路5は前述のように計数開始信号Cによっ
1:0から文字パターンデータ長fと一致するまで計数
するため、文字パターンメモリ絶対アドレスjは目的と
する文字)(ターンの先頭アドレスから最終アドレスま
で順次増加し、読み書き制御信号lがOFFの場合は文
字)(ターンメモリ7の出力として目的とする文字)く
ターンがノ(ターンデータにとして順次発生し読み書き
制御信号lがONの場合はパターンデータkを特徴とす
る特許パターン格納エリアに順次格納する。
Here, since the counting circuit 5 counts from 1:0 until it matches the character pattern data length f by the counting start signal C as described above, the character pattern memory absolute address j is the target character) (the start address of the turn). When the read/write control signal 1 is OFF, the characters are sequentially increased from 1 to the final address. If so, the pattern data k is sequentially stored in the characteristic patent pattern storage area.

以上、文字パターンメモリ絶対アドレスjが文字セット
選択信号すおよび文字コードaによって決定される過程
を説明した。
The process by which the character pattern memory absolute address j is determined by the character set selection signal and the character code a has been described above.

上述の回路構成により、マトリクスサイズの異なる複数
の文字セットを一つのアドレス空間に配置することが可
能となる。さらに各文字セットを複数のグループに分割
し、連続しないアドレス空間に配置することが可能とな
る。すなわち、文字パターンメモリの記憶素子が読み出
し専用メモリであるか書き換え可能なメモリであるかの
記憶素子の相^、内字文字パターンメモリとして使用す
るかあるいは外字文字パターン一時記憶メモリとして使
用するか、あるいは読み出し専用メモリで構成された内
字文字パターンの一部を置換あるいは追加するための文
字パターンメモリして使用するのかの使用方法によって
一つの文字セットを複数のグループに分割し、それぞ九
をメモリアドレス空間上の任意の位置に割付けることが
可能となる。
The circuit configuration described above makes it possible to arrange a plurality of character sets with different matrix sizes in one address space. Furthermore, each character set can be divided into multiple groups and placed in non-contiguous address spaces. That is, whether the storage element of the character pattern memory is a read-only memory or a rewritable memory, whether it is used as an internal character pattern memory or an external character pattern temporary storage memory, Alternatively, one character set can be divided into multiple groups depending on how it is used, such as whether it is used as a character pattern memory to replace or add a part of the internal character pattern configured in read-only memory. It becomes possible to allocate to any position in the memory address space.

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

第1図は本発明の一実施例の構成を示すブロック図で、
第2図は第1図における文字パターンメモリ7の詳細を
示す図である。 1・・・コード変換テーブル、2・・・データ長発生回
路、3・・・基準アドレス発生回路、4・・・乗算回路
、5・・・計数回路、6・・・加算回路、7・・・文字
パターンメモリ、ト・・文字コード、b・・・文字セッ
ト選択信号、C・・・計数開始信号、d・・・文字番号
、e・・・グループ選択信号、f・・・文字パターンデ
ータ長、g・・・グループ基準アドレス、h・・・グル
ープ内相対アドレス、ト・・文字パターン内相対アドレ
ス、j・・・文字パターンメモリ絶対アドレス、k・・
・パターンデータ、ト・・読み書き制御信号 填艷イ ンd
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a diagram showing details of the character pattern memory 7 in FIG. 1. DESCRIPTION OF SYMBOLS 1... Code conversion table, 2... Data length generation circuit, 3... Reference address generation circuit, 4... Multiplication circuit, 5... Counting circuit, 6... Addition circuit, 7...・Character pattern memory, G...Character code, b...Character set selection signal, C...Counting start signal, d...Character number, e...Group selection signal, f...Character pattern data length, g...group reference address, h...relative address within the group, g...relative address within the character pattern, j...character pattern memory absolute address, k...
・Pattern data, ・・Read/write control signal filling in d

Claims (1)

【特許請求の範囲】[Claims] 文字コードを与えるととにより文字コードに対応する文
字番号およびグループ選択情報を出力するコード変換回
路と、文字セット選択情報により文字パターンデータ長
を出力する文字パターンデータ長発生回路と、文字セラ
。ト選択情報と一′記憶回路属性とにより基準アドレス
を出力する基準ア□  ドレス発生回路と、文字番号と
文字パターンデータ長との乗算を行な5乗算回路と、計
数開始指令により動作を開始し前記文字パターンデータ
長に一致゛するまで計数する計数回路と、この計数回路
の出力と前記乗算回路の出力および前記基準アドレス発
生回路の出力とを加算する加算回路と、この加算回路の
出力により文字パターンデータを発生する文字パターン
記憶回路とを具備することな特徴とする文字パターン発
生回路。
A code conversion circuit that outputs a character number and group selection information corresponding to a character code when a character code is given, a character pattern data length generation circuit that outputs a character pattern data length according to character set selection information, and a character cella. A reference address generation circuit that outputs a reference address based on the target selection information and the memory circuit attribute, a 5 multiplication circuit that multiplies the character number and the character pattern data length, and a count start command that starts operation. a counting circuit that counts until it matches the character pattern data length, an addition circuit that adds the output of this counting circuit, the output of the multiplication circuit, and the output of the reference address generation circuit; A character pattern generation circuit characterized by comprising a character pattern storage circuit that generates pattern data.
JP18956681A 1981-11-26 1981-11-26 Character pattern generation circuit Granted JPS5891493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18956681A JPS5891493A (en) 1981-11-26 1981-11-26 Character pattern generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18956681A JPS5891493A (en) 1981-11-26 1981-11-26 Character pattern generation circuit

Publications (2)

Publication Number Publication Date
JPS5891493A true JPS5891493A (en) 1983-05-31
JPS6246874B2 JPS6246874B2 (en) 1987-10-05

Family

ID=16243471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18956681A Granted JPS5891493A (en) 1981-11-26 1981-11-26 Character pattern generation circuit

Country Status (1)

Country Link
JP (1) JPS5891493A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61105666A (en) * 1984-10-30 1986-05-23 Canon Inc Document processing device
JPS61116551A (en) * 1984-10-22 1986-06-04 Fujitsu Ltd Character pattern reading system
JPS63287894A (en) * 1987-05-20 1988-11-24 株式会社日立製作所 Font data processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61116551A (en) * 1984-10-22 1986-06-04 Fujitsu Ltd Character pattern reading system
JPH0463414B2 (en) * 1984-10-22 1992-10-09 Fujitsu Ltd
JPS61105666A (en) * 1984-10-30 1986-05-23 Canon Inc Document processing device
JPS63287894A (en) * 1987-05-20 1988-11-24 株式会社日立製作所 Font data processor

Also Published As

Publication number Publication date
JPS6246874B2 (en) 1987-10-05

Similar Documents

Publication Publication Date Title
JPS62182795A (en) Data managing system for font cartridge
JPH04220764A (en) Method and apparatus for compressing character font
US5040129A (en) Data processor for generating character image
JPS5834835B2 (en) Memory data reading device
JPS6329791A (en) Font conversion system of character/image generator
JPS5891493A (en) Character pattern generation circuit
JPS6158852B2 (en)
US4163285A (en) Control circuit for metal paper printer head
JPS594706B2 (en) Print pattern generator
JPS5949584A (en) System of processing data in mixed various character sizes
JPS6144317B2 (en)
JPS5853338B2 (en) Dot pattern output method
JPS6227789A (en) Data compression system for character generator
JP2837461B2 (en) Access method of external character memory
JP3013512B2 (en) Barcode printer
JPH0596811A (en) Printing method
JPH0112308Y2 (en)
JPS61129683A (en) Character generation system
JPS61209167A (en) Printing control circuit in wire dotline printer
JPS58116581A (en) Display unit
JPS6347908Y2 (en)
JPS58119865A (en) Printing mode for ruled line
JPS58119040A (en) Print controller
JPS59136830A (en) Direct memory access controller
JPH07106653B2 (en) Information processing method