JPS6246874B2 - - Google Patents
Info
- Publication number
- JPS6246874B2 JPS6246874B2 JP18956681A JP18956681A JPS6246874B2 JP S6246874 B2 JPS6246874 B2 JP S6246874B2 JP 18956681 A JP18956681 A JP 18956681A JP 18956681 A JP18956681 A JP 18956681A JP S6246874 B2 JPS6246874 B2 JP S6246874B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- character pattern
- memory
- circuit
- data length
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 description 7
- 239000011159 matrix material Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
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.
ドツトマトリツクス方式のプリンタ装置におい
て印字を行なう場合上位装置からは、JIS―C―
6226等で定められた文字コードが与えられ、与え
られた文字コードから何らかの方法で対応する文
字パターンが格納されている文字パターンメモリ
のアドレスを得て印字に必要な文字パターンを取
り出し印字を行なう。 When printing on a dot matrix printer, the host device must use JIS-C-
A character code such as 6226 is given, and the address of the character pattern memory where the corresponding character pattern is stored is obtained by some method from the given character code, and the character pattern necessary for printing is extracted and printed.
文字コードから文字パターンメモリアドレスを
得る方法としては汎用性、論理の簡単さから文字
毎に文字コードと文字パターンメモリの対応関係
を記憶したコード変換テーブルを用いる方法が一
般的である。 A common method for obtaining a character pattern memory address from a character code is to use a code conversion table that stores the correspondence between a character code and a character pattern memory for each character due to its versatility and logical simplicity.
ところがコード変換テーブルに文字パターンメ
モリアドレスを記憶する方法では、複数の大きさ
の文字あるいは複数の書体の文字の印字を行なう
場合複数のコード変換テーブルが必要となるため
構成するためのハードウエアが増大する欠点があ
つた。 However, with the method of storing character pattern memory addresses in code conversion tables, when printing characters of multiple sizes or characters of multiple fonts, multiple code conversion tables are required, which increases the hardware required to configure them. There was a drawback.
本発明の第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 a set of characters of the same size or a set of characters of the same font into one character set into a plurality of groups, and to divide the characters of each group into different groups. An object of the present invention is to provide a character pattern generation circuit that allows character patterns to be stored in a character pattern memory.
文字セツト内のグループ分割の方法としては、
文字パターンメモリの記憶素子が読み出し専用メ
モリであるか、書き換え可能なメモリであるかの
記憶素子の相異あるいは内字文字パターンメモリ
として使用するか外字パターン一時記憶メモリと
して使用するか、あるいは読み出し専用メモリで
構成された内字パターンの一部を置換あるいは追
加するための文字パターンメモリとして使用する
かの使用方法等によつて分割する方法が考えられ
る。 The method for dividing groups within a character set is as follows:
Differences in storage elements such as whether the character pattern memory is read-only memory or rewritable memory, and whether it is used as internal character pattern memory or external character pattern temporary storage memory, or read-only A possible method is to divide the memory according to the method of use, such as whether to use it as a character pattern memory for replacing or adding a part of the internal character pattern formed in the memory.
次に本発明の一実施例を示した図面を用いて、
本発明を詳細に説明する。 Next, using a drawing showing an embodiment of the present invention,
The present invention will be explained in detail.
本発明の一実施例における文字パターンメモリ
は、第2図に示すように1文字のドツトマトリツ
クス表現が24×24,32×32および40×40の3種類
から構成されている。ここでは、ドツトマトリツ
クスの大きさで分類し文字セツトと呼ぶ。また24
×24,32×32および40×40の各文字セツトはそれ
ぞれ読み出し専用メモリおよび書き換え可能なメ
モリの2種類のグループから構成されている。そ
の先頭アドレスをそれぞれ、A24,A24′,A32,
A32′およびA40,A40′とする。 As shown in FIG. 2, the character pattern memory in one embodiment of the present invention is composed of three types of dot matrix representations of one character: 24×24, 32×32, and 40×40. Here, the characters are classified based on the size of the dot matrix and are called character sets. 24 again
Each of the x24, 32x32, and 40x40 character sets consists of two groups: read-only memory and rewritable memory. The first addresses are A 24 , A 24 ′, A 32 ,
A 32 ′ and A 40 , A 40 ′.
第1図を参照すると、コード変換テーブル1は
書き換え可能なメモリから構成された文字コード
aを与えることにより、文字コードaに対応する
文字パターンが読み出し専用メモリに記憶されて
いるかまたは書き変え可能なメモリに記憶されて
いるかのグループ選択信号eおよび文字番号dを
出力する。ここで文字番号は文字パターンメモリ
に一対一で対応するように読み出し専用メモリお
よび書き換え可能メモリ毎に一連に付けられた番
号である。例えば、文字パターンメモリの各メモ
リグループにおいて、文字の格納順序が「A」、
「B」、「C」、…の順であれば、これらの文字番号
dとして、各々「0」、「1」、「2」、…が割当て
られる。 Referring to FIG. 1, the code conversion table 1 is configured so that by giving a character code a made up of a rewritable memory, the character pattern corresponding to the character code a is stored in a read-only memory or is rewritable. The group selection signal e and character number d stored in the memory are output. Here, the character numbers are numbers sequentially assigned to each read-only memory and rewritable memory so as to correspond one-to-one to the character pattern memory. For example, in each memory group of character pattern memory, the storage order of characters is "A",
If the order is "B", "C", . . . , "0", "1", "2", . . . are assigned as the character numbers d, respectively.
データ長発生回路2は、文字セツト選択信号b
を与えることにより、選択する文字セツトの1文
字の文字パターンデータ長fを出力する。例え
ば、24×24ドツトの文字セツトが選択されたとき
には、24×24=576ビツト=72バイトのデータ長
が出力される。また、基準アドレス発生回路3
は、レジスタと選択回路とから構成され、先頭ア
ドレスA24,A24′,A32,A32′およびA40,A40′が
あらかじめ書き込まれており、文字セツト選択信
号bおよびコード変換テーブル1に文字コードを
与えることによつて得たグループ選択信号bとの
組み合せにより対応する文字セツトの対応するメ
モリグループの先頭アドレスであるA24,A24′,
A32,A32′およびA40,A40′の中の1つをグループ
基準アドレスgとして出力する。 The data length generation circuit 2 generates a character set selection signal b
By giving , the character pattern data length f of one character of the character set to be selected is output. For example, when a character set of 24 x 24 dots is selected, a data length of 24 x 24 = 576 bits = 72 bytes is output. In addition, the reference address generation circuit 3
is composed of a register and a selection circuit, and has the start addresses A 24 , A 24 ′, A 32 , A 32 ′ and A 40 , A 40 ′ written in advance, and the character set selection signal b and code conversion table 1. A 24 , A 24 ', which is the start address of the corresponding memory group of the corresponding character set, is determined by combining with the group selection signal b obtained by giving the character code
One of A 32 , A 32 ′ and A 40 , A 40 ′ is output as the group reference address g.
一方、コード変換テーブル1の出力の1つであ
る文字番号dはデータ長発生回路2の出力である
文字パターンデータ長fとともに乗算回路4に接
続され、乗算結果としてグループ内相対アドレス
hを出力する。すなわち、文字パターンメモリ7
を1アドレスで1バイトのパターンデータを読出
すように構成したとすれば、例えば24×24ドツト
の文字セツトの場合は1文字の文字パターンを72
(=576/8)個のアドレスで読出すことになる。
従つて、この文字セツトを格納する文字パターン
メモリ7において、例えば文字「A」のパターン
は0〜71番地に、文字「B」は72〜143番地に、
文字「C」は144〜185番地に格納される。すなわ
ち、文字「A」のパターンのグループ内相対アド
レスh(先頭アドレス)はd×f=0×72=0に
よつて、文字「B」のパターンの相対アドレスh
はd×f=1×72=72によつて、文字「C」のパ
ターンの相対アドレスhはd×f=2×72=144
によつて算出できる。 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 outputs the intra-group relative address h as the multiplication result. . That is, the character pattern memory 7
For example, in the case of a character set of 24 x 24 dots, the character pattern of one character can be read out by 72 characters.
(=576/8) addresses will be read.
Therefore, in the character pattern memory 7 that stores this character set, for example, the pattern for the letter "A" is stored at addresses 0 to 71, the character "B" is stored at addresses 72 to 143, and so on.
The character "C" is stored at addresses 144-185. In other words, the intra-group relative address h (starting address) of the pattern of the character "A" is the relative address h of the pattern of the character "B" by d×f=0×72=0.
is d×f=1×72=72, and the relative address h of the pattern of letter “C” is d×f=2×72=144
It can be calculated by
また、計数回路5は計数開始信号cによつて0
から計数を開始し、その計数値が文字パターンデ
ータ長fと一致するまで計数を続ける。その出力
である文字パターン内相対アドレスiは、グルー
プ基準アドレスgおよびグループ内相対アドレス
hとともに加算回路6に接続され、加算結果とし
て文字パターンメモリ絶対アドレスを出力する。
ここで計数回路5は前述のように計数開始信号c
によつて0から文字パターンデータ長fと一致す
るまで計数するため、文字パターンメモリ絶対ア
ドレスjは目的とする文字パターンの先頭アドレ
スから最終アドレスまで順次増加し、読み書き制
御信号lがOFFの場合は文字パターンメモリ7
の出力として目的とする文字パターンがパターン
データkとして順次発生し読み書き制御信号lが
ONの場合はパターンデータkを目的とする文字
パターン格納エリアに順次格納する。 Further, the counting circuit 5 is set to 0 by the counting start signal c.
Counting starts from , and continues counting until the counted value matches the character pattern data length f. The output character pattern relative address i is connected to an adder circuit 6 together with the group reference address g and the group relative address h, and outputs a character pattern memory absolute address as the addition result.
Here, the counting circuit 5 receives the counting start signal c as described above.
Since counting is performed from 0 until it matches the character pattern data length f, the character pattern memory absolute address j increases sequentially from the first address to the last address of the target character pattern, and when the read/write control signal l is OFF, Character pattern memory 7
The desired character pattern is sequentially generated as pattern data k as an output, and the read/write control signal l is output.
When ON, pattern data k is sequentially stored in the target character pattern storage area.
以上、文字パターンメモリ絶対アドレスjが文
字セツト選択信号bおよび文字コードaによつて
決定される過程を説明した。 The process by which character pattern memory absolute address j is determined by character set selection signal b and 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, there are differences in the storage element of the character pattern memory, such as whether it 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 will be used, such as whether it will be 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 it to any position on the memory address space.
第1図は本発明の一実施例の構成を示すブロツ
ク図で、第2図は第1図における文字パターンメ
モリ7の詳細を示す図である。
1……コード変換テーブル、2……データ長発
生回路、3……基準アドレス発生回路、4……乗
算回路、5……計数回路、6……加算回路、7…
…文字パターンメモリ、a……文字コード、b…
…文字セツト選択信号、c……計数開始信号、d
……文字番号、e……グループ選択信号、f……
文字パターンデータ長、g……グループ基準アド
レス、h……グループ内相対アドレス、i……文
字パターン内相対アドレス、j……文字パターン
メモリ絶対アドレス、k……パターンデータ、l
……読み書き制御信号。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and 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, a...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, i...Relative address within the character pattern, j...Character pattern memory absolute address, k...Pattern data, l
...Read/write control signal.
Claims (1)
対応する文字番号およびメモリグループ選択情報
を出力するコード変換回路と、文字セツト選択情
報により文字パターンデータ長を出力する文字パ
ターンデータ長発生回路と、前記文字セツト選択
情報と前記メモリグループ選択情報とによりグル
ープ基準アドレスを出力する基準アドレス発生回
路と、前記文字番号と前記文字パターンデータ長
との乗算を行なう乗算回路と、計数開始指令によ
り動作を開始し前記文字パターンデータ長に一致
するまで計数する計数回路と、前記計数回路の出
力と前記乗算回路の出力と前記グループ基準アド
レス発生回路の出力とを加算する加算回路と、前
記加算回路の出力により文字パターンデータを発
生する文字パターン記憶回路とを具備することを
特徴とする文字パターン発生回路。1. A code conversion circuit that outputs a character number and memory group selection information corresponding to a character code by giving a character code; a character pattern data length generation circuit that outputs a character pattern data length according to character set selection information; a reference address generation circuit that outputs a group reference address based on the selection information and the memory group selection information; a multiplication circuit that multiplies the character number by the character pattern data length; a counting circuit that counts until it matches the pattern data length; an addition circuit that adds the output of the counting circuit, the output of the multiplication circuit, and the output of the group reference address generation circuit; A character pattern generation circuit comprising: a character pattern storage circuit that generates a character pattern.
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 JPS5891493A (en) | 1983-05-31 |
JPS6246874B2 true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61116551A (en) * | 1984-10-22 | 1986-06-04 | Fujitsu Ltd | Character pattern reading system |
JP2547719B2 (en) * | 1984-10-30 | 1996-10-23 | キヤノン株式会社 | Document processing device |
JP2889572B2 (en) * | 1987-05-20 | 1999-05-10 | 株式会社日立製作所 | Font data processing device |
-
1981
- 1981-11-26 JP JP18956681A patent/JPS5891493A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS5891493A (en) | 1983-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62182795A (en) | Data managing system for font cartridge | |
JPH04220764A (en) | Method and apparatus for compressing character font | |
US4445115A (en) | Display control unit having means for symbolic representation of graphical symbols | |
SE424927B (en) | character generator | |
JPS6246874B2 (en) | ||
JPS594706B2 (en) | Print pattern generator | |
JPS5949584A (en) | System of processing data in mixed various character sizes | |
JPH0228474B2 (en) | ||
JPS648851B2 (en) | ||
JP3013512B2 (en) | Barcode printer | |
JPS5816186B2 (en) | character pattern generator | |
JPH0596811A (en) | Printing method | |
JPS61209167A (en) | Printing control circuit in wire dotline printer | |
JPS61129683A (en) | Character generation system | |
JPS5829513B2 (en) | Special character selection control method | |
KR970022837A (en) | Repeated printing execution circuit of printer and its method | |
KR930009672B1 (en) | Composing method of chinese character font rom for protecting copy | |
JPS6152684A (en) | Utilization of blank area for pattern mask rom | |
JPS63178292A (en) | Character pattern generator | |
JPS61179752A (en) | Pattern converting apparatus | |
JPS629962A (en) | Character pattern write system | |
JPS58119865A (en) | Printing mode for ruled line | |
JPS61179751A (en) | Pattern converting apparatus | |
JPS62293289A (en) | Character pattern generation circuit | |
JPS6227789A (en) | Data compression system for character generator |