JPS62270344A - Character pattern generating system - Google Patents

Character pattern generating system

Info

Publication number
JPS62270344A
JPS62270344A JP61115371A JP11537186A JPS62270344A JP S62270344 A JPS62270344 A JP S62270344A JP 61115371 A JP61115371 A JP 61115371A JP 11537186 A JP11537186 A JP 11537186A JP S62270344 A JPS62270344 A JP S62270344A
Authority
JP
Japan
Prior art keywords
character
pattern
patterns
address
character pattern
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
JP61115371A
Other languages
Japanese (ja)
Inventor
Keisuke Nakamura
桂祐 中村
Mari Nagayama
永山 萬里
Kenji Sawada
賢次 澤田
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 JP61115371A priority Critical patent/JPS62270344A/en
Publication of JPS62270344A publication Critical patent/JPS62270344A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To enable reduction of memory capacity by splitting a dot matrix into plural regions then recording respectively into a character generator for sharing. CONSTITUTION:Print data, i.e. a character code and a printing position (the column number from the original point) are read out from an input buffer 2. A referential table 18 for a character generator (CG) address table is referred based upon a character code so as to read out the start address and the table length of CG address table 17. The start address, the character width and the start column number of CG16 are read out from the table 17 then the pattern is read out bite by bite and stored in a line buffer 4. If the table length corresponds to two patterns, it means a combination of splitted patterns thereby the next table is referred so as to develop the remaining pattern similarly with reference to 8-th column number. If there is no residual pattern, next character is referred and said operation is repeated.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔概要〕 文字パターンの高密度化、収容文字数の増加に伴い、文
字パターンデータを発生するキャラクタジェネレータの
メモリ容量が増大しつつある。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Summary] With the increasing density of character patterns and the increase in the number of characters that can be accommodated, the memory capacity of character generators that generate character pattern data is increasing.

本発明は、文字パターンを分割してそれぞれ1組のパタ
ーンとしてメモリに記録し、そのパターンを合成して所
定の文字パターンデータを発生せしめるもので、分割さ
れたパターンを複数の文字で共用することにより、メモ
リ容量を削減する。
The present invention divides a character pattern, records each set of patterns in memory, and synthesizes the patterns to generate predetermined character pattern data.The divided patterns can be shared by multiple characters. This reduces memory capacity.

〔産業上の利用分野〕[Industrial application field]

本発明は文字パターン発生方式の改良に関する。 The present invention relates to improvements in character pattern generation methods.

例えば、シリアルドツトプリンタでは、ホストコンピュ
ータより受は取った印字コードに基づき、キャラクタジ
ェネレータ(CG)からその文字パターンを続出し、1
行分のパターンデータを格納するラインバッファに展開
して文字を印字している。
For example, in a serial dot printer, based on the print code received from the host computer, the character generator (CG) continuously outputs the character pattern.
Characters are printed by expanding them into a line buffer that stores pattern data for a line.

このキャラクタジェネレータCGは、所定のドツトマト
リックスに展開された複数の文字パターンを不揮発性の
続出し専用メモリ (ROM)に記憶させたもので、そ
のデータ量は、文字パターンのドツト密度および収容文
字数に係わり、特に漢字を印字するプリンタでは、コス
トに占める割合が大きいものである。
This character generator CG stores multiple character patterns developed in a predetermined dot matrix in a non-volatile read-only memory (ROM), and the amount of data depends on the dot density of the character pattern and the number of characters that can be accommodated. In particular, for printers that print kanji, the cost occupies a large proportion.

近年、益々パターンの高密度化、収容文字数の増加が求
められており、キャラクタジェネレータのメモリ容量を
削減する文字パターン発生方式が必要とされる。
In recent years, there has been a demand for higher density patterns and an increase in the number of characters that can be accommodated, and a character pattern generation method that reduces the memory capacity of a character generator is needed.

〔従来の技術〕[Conventional technology]

以下、シリアルドツトプリンタを例として、従来の文字
発生方式を説明する。
Hereinafter, a conventional character generation method will be explained using a serial dot printer as an example.

第3図(alは従来のシリアルドツトプリンタのブロッ
ク図であり、文字パターン発生に係わる部分を示したも
のである。
FIG. 3 (al) is a block diagram of a conventional serial dot printer, showing the parts involved in character pattern generation.

このシリアルドツトプリンタにおいて、インタフェース
部1で受信した印字データは、一旦入力バソファ2に格
納され、1行分の印字データを受信した後、1文字づつ
、キャラクタジェネレータCG7から文字パターンが続
出されてラインバッファ4の所定位置に格納される。
In this serial dot printer, the print data received by the interface unit 1 is temporarily stored in the input buffer 2, and after receiving one line of print data, character patterns are outputted one by one from the character generator CG7 to the line buffer. 4 is stored in a predetermined position.

ラインバッファ4は、プリンタの1行分の印字ドツト数
に対応する容量を備えるもので、上記格納されたパター
ンデータは、スペーシングと同期して列(カラム)単位
に読出され、ヘッド6に供給されて印字される。
The line buffer 4 has a capacity corresponding to the number of printed dots for one line of the printer, and the stored pattern data is read out column by column in synchronization with the spacing and supplied to the head 6. and printed.

上記、キャラクタジェネレータCG7を参照して文字パ
ターンを発生する従来の文字パターン発生方式を、第3
図(bl、 (C1を参照しつつ、以下に説明する。
The conventional character pattern generation method that generates character patterns by referring to the character generator CG7 described above is replaced by the third method.
This will be explained below with reference to Figure (bl, (C1).

第3図(b)は、16(列、カラム)X16(行。FIG. 3(b) shows 16 (columns) by 16 (rows).

ロウ)のドツトマトリックスで1文字を構成した文字パ
ターン例を示すもので、例えばカラムスキャン型で且つ
8ビツト(1バイト)単位に読出しを行うCGの場合は
、カラム番号0より順次バイト(bO〜b7、b8〜b
15)単位にROMに記録される。
This example shows an example of a character pattern in which one character is made up of a dot matrix (row).For example, in the case of a column scan type CG that reads in 8-bit (1 byte) units, the bytes (bO~ b7, b8~b
15) Recorded in ROM in units.

そのスタートアドレスは文字コードに基づいて設定され
ており、文字コードより直接アドレスしてパターンデー
タ(以下読出したパターンデータも単にパターンと称す
る)を読出すことができる。
The start address is set based on the character code, and pattern data (hereinafter read pattern data will also be simply referred to as a pattern) can be read out by directly addressing the character code.

第3図tarのCG7は、メモリ容量を削減するため、
文字パターンの存在するカラムのみ記録〔第3図(bl
ではカラム番号2〜13〕したもので、これを読出すた
めにCGアドレステーブル8が設けられる。
CG7 of the tar in Fig. 3 is, in order to reduce memory capacity,
Only columns with character patterns are recorded [Figure 3 (bl
In order to read out the column numbers 2 to 13, a CG address table 8 is provided.

CGアドレステーブル8は、第3図(C)に示すように
、各文字コードをアドレスとして、1文字分のCGのス
タートアドレス、文字幅(カラム数またはバイト数)、
パターンの開始位置を表すスタートカラム番号が記入さ
れており、例えば文字「C」であれば、カラム番号2の
1バイト目が記録されているスタートアドレスより文字
幅×2バイトのアドレスまで読取られて、スタートカラ
ム番号に基づいてラインバッファ4の所定位置に展開さ
れる。
As shown in FIG. 3(C), the CG address table 8 includes each character code as an address, the CG start address for one character, the character width (number of columns or number of bytes),
The start column number representing the start position of the pattern is written. For example, for the character "C", the data is read from the start address where the first byte of column number 2 is recorded to an address of character width x 2 bytes. , are developed at a predetermined position in the line buffer 4 based on the start column number.

〔発明が解決しようとする問題点9 以上説明したように、キャラクタジェネレータCGのメ
モリ容量を削減する文字発生方法は種々試みられている
が、ドツト密度2文字数の増加とともに、コストに占め
るCGの割合が益々増大している。
[Problem to be Solved by the Invention 9] As explained above, various character generation methods have been attempted to reduce the memory capacity of the character generator CG, but as the number of characters increases, the proportion of CG in cost increases. is increasing.

本発明は上記問題点に鑑み、CGのメモリ容量を削減す
るための文字パターン発生方式を提供することを目的と
するものである。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a character pattern generation method for reducing the memory capacity of CG.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的のため、本発明の文字パターン発生方式は、第
1図原理説明図に示すように、文字パターンを構成する
ドツトマトリックスを複数の領域に分割し、該領域に展
開されたそれぞれの文字パターンをluのパターンデー
タとしてメモリ (19−A、B)に記録するとともに
、各々文字パターンを構成する該パターンデータを記録
したメモリ領域を指示するテーブル手段(20)と、 文字コードに基づき該テーブル(20)を参照し、該パ
ターンデータをそれぞれ読取って所定の文字パターンを
合成する処理手段(21)と、を設け、分割された該パ
ターンを複数の文字で共用する方式である。
For the above purpose, the character pattern generation method of the present invention, as shown in the principle explanatory diagram in FIG. table means (20) for recording the pattern data of lu in the memory (19-A, B) and for indicating the memory area in which the pattern data constituting each character pattern is recorded; 20), a processing means (21) for reading each of the pattern data and synthesizing a predetermined character pattern is provided, and the divided pattern is shared by a plurality of characters.

〔作用〕[Effect]

第2図(alに例示するように、ドツトマトリックスを
カラム方向に1/2に分割(カラム番号O〜7.8〜1
5)すれば、例えばrCJとrGJでは左半分(領域A
)のパターンは同一となり、共用できる。
As shown in Figure 2 (al), the dot matrix is divided into halves in the column direction (column numbers O~7.8~1).
5) Then, for example, in rCJ and rGJ, the left half (area A
) are the same and can be shared.

この共用できるパターン、即ちrcJ  rGJの共通
パターン9と、「C」の残り分のパターン10および「
G」の残り分のパターン11とを、それぞれ1組のパタ
ーンとして記録しておき、これを読出し合成すれば、所
定の文字パターンが発生できる。
These patterns that can be shared, that is, the common pattern 9 of rcJ rGJ, the remaining pattern 10 of "C" and "
The remaining patterns 11 of "G" are recorded as a set of patterns, and by reading and combining these patterns, a predetermined character pattern can be generated.

文字によっては、AまたはB a域に共通パターンが使
用できるもの、A、B?+]W域とも共通バターが使用
できるもの等種々あり、共通パターン分のメモリ容量が
削減できる。
Depending on the character, a common pattern can be used in the A or B area, A, B? +] There are various types that can use common butter for both the W range and the memory capacity for common patterns can be reduced.

上記分割したパターンを合成するため、それぞれ2組の
パターンを記録したメモリ領域、即ちスタートアドレス
と文字幅およびスタートカラム番号とを文字コードに対
応して設け、文字コードが字旨定されたとき、そのテー
ブルを参照し、それぞれのパターンを続出してラインバ
ッファに展開しつつ合成する。
In order to synthesize the above-described divided patterns, a memory area in which two sets of patterns are recorded, that is, a start address, a character width, and a start column number, is provided corresponding to the character code, and when the character code is determined, Referring to the table, each pattern is successively generated and combined while being developed into a line buffer.

〔実施例〕〔Example〕

本発明の実施例を第2図を参照しつつ説明する。 An embodiment of the present invention will be described with reference to FIG.

本実施例は、ドツトマトリ・ノクスをカラム方向に1/
2に分割した例を示すもので、第2図(blに実施例の
シリアルドツトプリンタのブロック図、第2図(C1に
テーブル詳細図、第2図fd+に文字パターン発生動作
フローチャート図を示す。
In this example, the dotted tree/nox is 1/1/2 in the column direction.
FIG. 2 (bl) is a block diagram of the serial dot printer of the embodiment, FIG. 2 (C1 is a detailed diagram of the table, and FIG. 2 (fd+) is a flowchart of the character pattern generation operation.

第2図(b)において、 16は、共用可能で2組に分割されたパターンおよび共
用不可能のフルパターンを記録したキャラクタジェネレ
ータCG。
In FIG. 2(b), reference numeral 16 denotes a character generator CG which records a pattern that can be shared and is divided into two sets, and a full pattern that cannot be shared.

17は、CG16を参照するためのCGアドレステーブ
ル、 18は、上記CGアドレステーブル17を参照するため
のCGアドレステーブル参照用テーブル、15は、文字
パターン発生処理を行う制御部で、処理手段21に相当
するもの、 であり、その他、第3図と同一符号は同一対象物を表し
ている。
17 is a CG address table for referring to the CG 16; 18 is a CG address table reference table for referring to the CG address table 17; 15 is a control unit that performs character pattern generation processing; The corresponding one is , and the same reference numerals as in Fig. 3 represent the same objects.

CG16は、分割されたパターンと、共用できないフル
パターンとを記録したもので、それぞれのパターンは、
パターンが開始されるスタートカラムより、バイト単位
に記録される。
CG16 records divided patterns and full patterns that cannot be shared, and each pattern is
It is recorded in bytes starting from the start column where the pattern begins.

例えば、第2図(alに示す共通パターン9は、第2カ
ラムの1バイト目より第7カラムの2バイト目まで12
バイト幅で、また「C」の残り分のパターン10は、第
8カラムの1バイト目より第13カラムの2ハイド目ま
で12ハイド幅で記録される。
For example, the common pattern 9 shown in FIG. 2 (al) has 12
The remaining pattern 10 of "C" is recorded in a byte width, and the pattern 10 is recorded in a 12 hide width from the 1st byte of the 8th column to the 2nd hide of the 13th column.

CGアドレステーブル17は、文字コード毎に、文字パ
ターンを構成する分割パターンについて、それぞれ記録
されたメモリ令頁域を指定するテーブルであって、CG
16のスタートアドレスと文字幅(バイト数)と、スタ
ートカラム番号とが左側(領域A)パターンから順次記
入される。
The CG address table 17 is a table that specifies, for each character code, the memory order page area recorded for each division pattern that constitutes a character pattern.
16 start addresses, character widths (number of bytes), and start column numbers are written sequentially from the left (area A) pattern.

なおフルパターンの場合は、上記同様にフルパターンの
情報が格納される。
Note that in the case of a full pattern, information on the full pattern is stored in the same manner as above.

CGアドレステーブル参照用テーブル18は、上記CG
アドレステーブル17を、文字コードによって参照する
テーブルであり、そのスタートアドレスとテーブル長が
記入される。即ち、このテーブル18は、CGアドレス
テーブル17のテーブル長が文字ごとに異なるために設
けられたものである。
The CG address table reference table 18 is
This table refers to the address table 17 by character code, and its start address and table length are entered. That is, this table 18 is provided because the table length of the CG address table 17 is different for each character.

上記キャラクタジェネレータCG16および各テーブル
手段によるパターン発生動作を第2図(dlを参照しつ
つ説明する。
The pattern generation operation by the character generator CG16 and each table means will be explained with reference to FIG. 2 (dl).

(1)  入カバソファ2より、印字データ、即ち文字
コードおよび印字位1(原点からのカラム番号)を読取
る。
(1) Read the print data, that is, the character code and print position 1 (column number from the origin) from the input cover sofa 2.

(21CGアドレステーブル参照用テーブル18を文字
コードに基づいて参照し、CGアドレステーブル17の
スタートアドレスおよびテーブル長を読取る。
(The 21 CG address table reference table 18 is referred to based on the character code, and the start address and table length of the CG address table 17 are read.

(31CGアドレステーブル17より、CG16のスタ
ートアドレス、文字幅、スタートカラム番号を読取り、
CG16のパターンを1バイトづつ読出して、ラインバ
ッファ4の所定位置に格納する。
(Read the start address, character width, and start column number of CG16 from the 31CG address table 17,
The pattern of the CG 16 is read out one byte at a time and stored in a predetermined position in the line buffer 4.

(4)テーブル長が2パタ一ン分あれば、分割パターン
の合成であるから、CGアドレステーブル17の次のテ
ーブルを参照し、第8カラム番号を基準として残りパタ
ーンを上記同様に展開する。
(4) If the table length is one for two patterns, it is a combination of divided patterns, so the table next to the CG address table 17 is referred to, and the remaining patterns are expanded in the same manner as above using the eighth column number as a reference.

(5)  残りパターンが存在しないとき、次の文字に
移り、(1)〜(4)の動作を繰り返す。
(5) When there are no remaining patterns, move to the next character and repeat operations (1) to (4).

以上のごとく、文字パターンを分割し、それぞれのパタ
ーンをIMiとしてキャラクタジェネレータCGに記録
するとともに、その分割パターンを上記テーブル手段に
よって合成するため、メモリ容量を大幅に削減すること
ができる。
As described above, the character pattern is divided and each pattern is recorded as IMi in the character generator CG, and the divided patterns are synthesized by the table means, so that the memory capacity can be significantly reduced.

なお、上記例ではカラム方向に分割したが、ロ一方向に
分割することもでき、またロースキャン型のCGでもカ
ラム方向に分割して同様にメモリ容量を削減することが
できる。
Note that in the above example, the data is divided in the column direction, but it can also be divided in the row direction, and even in the case of a low scan type CG, the memory capacity can be similarly reduced by dividing it in the column direction.

〔発明の効果〕〔Effect of the invention〕

本発明は、ドツトマトリックスを複数の領域に分割し、
キャラクタジェネレータにそれぞれ記録して共用するも
のであるから、メモリ容量を削減する効果は極めて大で
ある。
The present invention divides a dot matrix into multiple regions,
Since they are recorded in each character generator and shared, the effect of reducing memory capacity is extremely large.

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

第1図は本発明の原理説明図、 第2図(alはパターン分割例を表す図、第2図(bl
は実施例のシリアルド・ノドプリンタ・ブロック図、 第2図(C)はテーブル詳細図、 第2図Fdlは文字パターン発生動作フローチャート図
、 第3図(a)は従来のシリアルドツトプリンタブロック
図、 第3図(b)は文字パターン例を表す図、第3図fc)
は従来のCGアドレステーブル説明図、である。図中、 1はインタフェース部、2は大力バッファ、3は制御部
、      4はラインバッファ、6はヘッド、 7は従来のキャラクタジェネレータCG8はCG7を読
出すためのCGアドレステーブル、 15は制御部、 16は本発明のキャラクタジェネレータCG、17はC
G16を言売出すためのCGアドレステーブル、 18はCGアドレステーブル参照用テーブル、である。
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 (al is a diagram showing an example of pattern division, Fig. 2 (bl
2 is a block diagram of a serial dot printer according to the embodiment, FIG. 2 (C) is a detailed table diagram, FIG. Figure 3(b) is a diagram showing an example of a character pattern, Figure 3fc)
is an explanatory diagram of a conventional CG address table. In the figure, 1 is an interface section, 2 is a power buffer, 3 is a control section, 4 is a line buffer, 6 is a head, 7 is a conventional character generator CG8 is a CG address table for reading CG7, 15 is a control section, 16 is the character generator CG of the present invention, 17 is C
CG address table for promoting G16; 18 is a CG address table reference table.

Claims (1)

【特許請求の範囲】 所定のドットマトリックスに展開された複数の文字パタ
ーンをメモリに記録するとともに、文字コードに基づき
該メモリを読出して文字パターンデータを発生する文字
パターン発生方式であって、該ドットマトリックスを複
数の領域に分割し、該領域に展開されたそれぞれの文字
パターンを1組のパターンデータとしてメモリ(19−
A、B)に記録するとともに、 各々文字パターンを構成する該パターンデータを記録し
たメモリ領域を指示するテーブル手段(20)と、 文字コードに基づき該テーブル(20)を参照し、該パ
ターンデータをそれぞれ読取って所定の文字パターンを
合成する処理手段(21)と、を設け、分割された該パ
ターンを複数の文字で共用することを特徴とする文字パ
ターン発生方式。
[Scope of Claims] A character pattern generation method that records a plurality of character patterns developed in a predetermined dot matrix in a memory, and reads the memory based on a character code to generate character pattern data, the method comprising: The matrix is divided into a plurality of regions, and each character pattern developed in the region is stored as a set of pattern data in a memory (19-
A, B) and a table means (20) for indicating a memory area in which the pattern data constituting each character pattern is recorded; A character pattern generation method characterized in that a processing means (21) is provided for reading each character pattern and synthesizing a predetermined character pattern, and the divided pattern is shared by a plurality of characters.
JP61115371A 1986-05-19 1986-05-19 Character pattern generating system Pending JPS62270344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61115371A JPS62270344A (en) 1986-05-19 1986-05-19 Character pattern generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61115371A JPS62270344A (en) 1986-05-19 1986-05-19 Character pattern generating system

Publications (1)

Publication Number Publication Date
JPS62270344A true JPS62270344A (en) 1987-11-24

Family

ID=14660872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61115371A Pending JPS62270344A (en) 1986-05-19 1986-05-19 Character pattern generating system

Country Status (1)

Country Link
JP (1) JPS62270344A (en)

Similar Documents

Publication Publication Date Title
EP0066579B1 (en) Character generator
KR960704283A (en) PAGE-MAKEUP SYSTEM
JPS5936778B2 (en) data printing device
JPS6329791A (en) Font conversion system of character/image generator
JPS62270344A (en) Character pattern generating system
JPS5949584A (en) System of processing data in mixed various character sizes
JPS594706B2 (en) Print pattern generator
US4187552A (en) Read only memory character generator system
JPH0462627A (en) Data converting device
JPS59125485A (en) Page memory of printer device
JP2636312B2 (en) Printer interface device
JP2699035B2 (en) Impact dot printer and printing method
JPS62211720A (en) Printing system
JPS6364086A (en) Output unit
JPH0417462B2 (en)
JPS61103358A (en) System for generating character with n-time angle
JPH0570856B2 (en)
JPH0729448B2 (en) Printer controller
JPS5824799B2 (en) Kanji output system
JPS5931752B2 (en) printing device
JPS6246874B2 (en)
KR850005647A (en) Printer controller
JPH01164992A (en) Vector font generator
JPH058454A (en) Bar code printer
JPS607469A (en) Character pattern generator