JPS61198274A - Character pattern memory system - Google Patents

Character pattern memory system

Info

Publication number
JPS61198274A
JPS61198274A JP60039223A JP3922385A JPS61198274A JP S61198274 A JPS61198274 A JP S61198274A JP 60039223 A JP60039223 A JP 60039223A JP 3922385 A JP3922385 A JP 3922385A JP S61198274 A JPS61198274 A JP S61198274A
Authority
JP
Japan
Prior art keywords
storage means
character pattern
address
character
data
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
JP60039223A
Other languages
Japanese (ja)
Other versions
JPH0569231B2 (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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60039223A priority Critical patent/JPS61198274A/en
Publication of JPS61198274A publication Critical patent/JPS61198274A/en
Publication of JPH0569231B2 publication Critical patent/JPH0569231B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明はドツト式印字装置における文字パターン記憶方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a character pattern storage system in a dot printing device.

従来の技術 ドツト式印字装置Kj?ける文字パターンの記憶形式は
第S図に示す様忙なっていた。すなわち。
Conventional technology dot type printing device Kj? The storage format of the character patterns used in the writing process was busy, as shown in Figure S. Namely.

受信コードに論理演算処理を行なった結果が文字パター
ン先頭番地になるという形式であった。この場合の演算
処理とは、受信コードをX、文字パターン先頭番地をA
とすると A = (’Ic−K)xL+B   ・・・・・−・
・・・・・・・・  (ハである。ここで、Kは受信コ
ードXの最小値、Lは1文字当たりの文字パターンデー
タ長、Bはメモリの先頭番地である。
The format was such that the result of performing logical operations on the received code became the first address of the character pattern. The arithmetic processing in this case means that the reception code is X and the first address of the character pattern is A.
Then, A = ('Ic-K)xL+B ・・・・・・−・
(C) Here, K is the minimum value of the reception code X, L is the character pattern data length per character, and B is the start address of the memory.

発明が解決しようとする問題点 本方式の場合、受信コードのコード表に虫くいがある場
合に問題が発生する。虫くいとは、受信コードXかに1
〜に2およびに3〜に4の場合は、文字パターンが定義
されてB、9.に2〜に5の場合は空白パターンを出力
する場合のことである(この場合、K2〜に5を虫くい
箇所と呼ぶ)。この場合のメモリへの文字パターンの記
憶範囲としては、第6図に示す様にコつの方法がある。
Problems to be Solved by the Invention In this method, a problem occurs when there is a bug in the code table of the received code. Mushi Kui is reception code X crab 1
In the case of ~2 and ~3~4, the character pattern is defined and B,9. 2 to 5 corresponds to the case where a blank pattern is output (in this case, K2 to 5 are called blank spots). In this case, there are several methods for storing the character pattern in the memory, as shown in FIG.

第1の方法はに1からに4までを文字パターンとして記
憶する方法であシ、この場合〈は (Kl−に2)XL  ・・・・・・・・・・・・・・
・・・・・・・ (コ)は無駄になる。また第2の方法
は、 K2からに5は記憶しない方法であるが、この方
法によればメモリでの無駄は発生しないが、論理演算処
理において、受信コードXかに1からに2 、あるいは
に3からに4I/c入っているかを確認する必要があシ
、従って虫くい箇所が多くなるほど処理時間が長くなる
The first method is to store characters from 1 to 4 as character patterns; in this case, <(Kl-2)XL...
・・・・・・・・・ (ko) will be wasted. In the second method, 5 is not stored from K2 to K2, but this method does not waste memory, but in logical operation processing, the received code It is necessary to check whether 4 I/c is present from 3 to 4. Therefore, the more insect-infested areas there are, the longer the processing time will be.

また、ドツト式印字装置において、印字装置の操作盤上
のスイッチあるいは制御コードによりモードが切替られ
、このモード切替により、ある受信コードに対応した文
字パターンは別な文字パターンに、また、ある受信コー
ドに対応した文字パターンは同一のパターンのままと変
更される場合がある。しかも、このモード切替が一通シ
以上となる場合がある。これは、例えば、横書きと縦書
きの切替、1つの装置で数種類のコード表のサポート、
異なったモデルの印字装置でのメモリの共通利用といっ
た場合である。この場合、第3図の方式では、メモリ容
量が増大してしまう。
In addition, in a dot-type printing device, the mode is switched by a switch or control code on the printing device's operation panel, and by switching the mode, the character pattern corresponding to one reception code can be changed to another character pattern, and the character pattern corresponding to a certain reception code can be changed to another character pattern. The corresponding character pattern may remain the same or may be changed. Moreover, this mode switching may be required more than once. This includes, for example, switching between horizontal and vertical writing, supporting several types of code tables on one device,
This is the case when memory is commonly used by printers of different models. In this case, with the method shown in FIG. 3, the memory capacity increases.

本発明は従来の技術に内在する上記問題点を解消する為
になされたものであり、従って本発明の目的は、文字パ
ターンを記憶する第2の記憶手段の他に、文字パターン
先頭番地がデータとして記憶している第1の記憶手段を
も持つことにより、虫くい箇所に対する記憶領域は取ら
れないが、処理時間は長くならないようくした新規な文
字パターン記憶方式を提供することにある。
The present invention has been made in order to solve the above-mentioned problems inherent in the conventional technology.Therefore, an object of the present invention is to provide a second storage means for storing character patterns, and to To provide a new character pattern storage method which does not take up a storage area for the missing parts and does not increase the processing time by also having a first storage means for storing the data.

さらに1本発明の他の目的は、第1の記憶手段のデータ
中に制御72グを持ち、モード切替により文字パターン
が異なる受信コードと文字パターンが同一となる受信コ
ードを区別できるようにし、文字パターンが異なる文字
のみ第一の記憶手段へ記憶することにより、少なくとも
コ種類以上のモードに対しても第一の記憶手段のメモリ
容量を増大させることのない新規な文字パターン記憶方
式を提供することにある。
Furthermore, another object of the present invention is to provide a control 72 in the data of the first storage means, so that it is possible to distinguish between received codes with different character patterns and received codes with the same character pattern by mode switching. To provide a novel character pattern storage method that does not increase the memory capacity of a first storage means even for at least four types of modes by storing only characters with different patterns in the first storage means. It is in.

問題点を解決するための手段 上記目的を達成する為に、本発明に係る文字パターン記
憶方式は、受信コードを演算することにより続出し番地
となり、かつ読出し番地により読出したデータが文字パ
ターン先頭アドレスとなる第1の記憶手段と、前記第7
の記憶手段の読出しデータにより生成された文字パター
ン先頭番地から所定のデータ長までの間に受信コードに
対応した文字パターンが記憶されている第一の記憶手段
とを具備して構成される。
Means for Solving the Problems In order to achieve the above object, the character pattern storage method according to the present invention calculates a reception code to become a successive address, and the data read by a readout address is the first address of a character pattern. the first storage means, and the seventh storage means;
and a first storage means in which a character pattern corresponding to the received code is stored between the first address of the character pattern generated by the read data of the storage means and a predetermined data length.

さらに、本発明に係る文字パターン記憶方式は。Furthermore, the character pattern storage method according to the present invention is as follows.

前記第一の記憶手段の文字パターン先頭番地が少なくと
もコ通シ得られるように、前記第1の記憶手段のデータ
中にさらに制御用フラグが含まれるように構成される。
The data in the first storage means further includes a control flag so that the first address of the character pattern in the first storage means can be obtained at least once.

発明の実施例 次に本発明をその好ましい一実施例について図面を参照
して詳細に説明する。
Embodiment of the Invention Next, a preferred embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
。第1図において、参照番号lは受信コード、コは論理
演算手段、コlは論理演算の結果なそれぞれ示す。論理
演算結果コlは第1の記憶手段3の先頭番地となる。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, reference number 1 indicates a received code, 1 indicates a logic operation means, and 1 indicates a result of the logic operation. The logical operation result 1 becomes the leading address of the first storage means 3.

論理演算は受信コードなx1演算結果をAIとすると AI −(X−K ) x LJ/ + B/  −−
・−−−−−−=  (j)となる。ここで、Kは受信
コードXの最小値、 L/は第7の記憶手段3における
1文字当たシのデータ長、B/は第1の記憶手段3の先
頭番地である。
The logical operation is the received code.If the x1 operation result is AI, then AI - (X-K) x LJ/ + B/ --
・−−−−−−= (j). Here, K is the minimum value of the reception code X, L/ is the data length per character in the seventh storage means 3, and B/ is the starting address of the first storage means 3.

第7の記憶手段3よυA/A7番地AI + L/ −
/番地までのデータを読出し、出力−を得る。出力−は
、第一の記憶子ν番地情報となり、出力nの値をAコ、
第1の記憶手段4Z[おける1文字当たシのデータ長を
Lコとすると、第一の記憶手段ダにおけるA2番地から
Aコ+Lコー/番地までのデータが。
Seventh storage means 3 υA/A7 address AI + L/ −
Reads data up to /address and obtains output -. The output - becomes the first memory child ν address information, and the value of the output n is set to A,
If the data length per character in the first storage means 4Z is L, then the data from address A2 to address A+L/in the first storage means DA is.

受信コードlに対応した文字パターンとなる。The character pattern corresponds to the reception code l.

第2図は第1の記憶手段3のデータ形式の例を示す。デ
ータは、フラグ領域とアドレス領域から成る。
FIG. 2 shows an example of the data format of the first storage means 3. The data consists of a flag area and an address area.

アドレス領域aは、第一の記憶手段亭の文字パターン先
頭番地Aコの生成に使用される。フラグ領域fは、外部
装置よシ指定されたモードにより、第一の記憶手段ダへ
の先頭番地AJを切シ替えるものである。フラグ領域f
への説明を簡単にするために、フラグ領域ではlビット
で構成されるものとする。印字装置は、モード切替によ
り、モード/とモートコを持ち、モードl状態ではフラ
グ領域fの値によらず 第2図 a  ・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・ (4=)とし、モー
トコ状態では、 !=0の場合には A、2 wa a  ・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・ (af=/の
場合には Aコーa+Lコ ・・・・・・・・・・・・・・・・・
・・・・・・・  (a)と処理されるものとすると、
第3図に示すように。
The address area a is used to generate the first address A of the character pattern in the first storage means. The flag area f is used to switch the starting address AJ to the first storage means DA depending on the mode specified by the external device. flag area f
To simplify the explanation, it is assumed that the flag area consists of l bits. The printing device has modes / and motco by mode switching, and in the mode l state, it does not depend on the value of the flag area f.
・・・・・・・・・・・・・・・ (4=), and in the Mortco state, ! If = 0, then A, 2 wa a ・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・ (If af=/, A+L・・・・・・・・・・・・・・・・・・・
・・・・・・・・・ Assuming that it is processed as (a),
As shown in Figure 3.

モードlとモートコにより文字パターンが異なる場合を
含んだ場合には、第参図に示すように、第1の記憶手段
3及び第一の記憶手段l[データを記憶すると、2通9
のモードを持っても第一の記憶手段ダの容量はコ倍には
ならない。
In the case where the character pattern is different depending on the mode 1 and the mode 1, as shown in the figure, the first storage means 3 and the first storage means 1
Even if there is a mode, the capacity of the first storage means will not be doubled.

第3図は受信コードXがX ==llK5の場合には、
モードがモードl、モートコどちらでも、第一の記憶手
段ダの先頭番地がPiとなる文字パターンを印字し、X
=に6の場合には、モードlの時にはPJ、モートコの
時にはPJから始まる文字パターンを印字するように装
置が動作することを示す。
Figure 3 shows that when the received code X is X ==llK5,
Regardless of whether the mode is Mode L or Mortco, a character pattern whose first address of the first storage means DA is Pi is printed, and
=6 indicates that the device operates to print a character pattern starting from PJ in mode 1 and PJ in mode 1.

第弘図は第3図を実現するための具体的データを示す図
である。フラグ領域f=/の時には、二種類の文字パタ
ーンが第一の記憶手段弘へ連続して記憶されていること
を示す。従って、フラグ領域を無視するモードの場合に
は。
Figure 3 is a diagram showing specific data for realizing Figure 3. When the flag area f=/, it indicates that two types of character patterns are successively stored in the first storage means. Therefore, if the mode ignores the flag area.

X=Ksの場合には Aコ=Pt  ・・・・−・・・・・・・・・・・・・
・・・・・・・・・・・・  (7)X−Kbの場合に
は 第2図 トコ ・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・  (ざ)となるが、フラグ
領域を有効とするモードの場合には。
In the case of X=Ks, A=Pt ・・・・−・・・・・・・・・・・・・・・
(7) In the case of X-Kb, refer to Figure 2.
・・・・・・・・・・・・ However, in the case of the mode where the flag area is enabled.

X=Ksの場合には AJ = Pi  ・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・  (9)xwKbの場
合には AJ ; トコ + Lコ (=P、7)  ・・・・
・・・・・   (tO)が先頭番地となる。
When X=Ks, AJ=Pi ・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・ (9) In the case of xwKb, AJ; Toko + Lko (=P, 7) ...
...(tO) is the first address.

以上1本実施例においては、フラグ領域fをlピッ)K
固定して説明したが、フラグ領域fのビット数を増やす
ととにより、数種類の印字モード忙対しても、第一の記
憶手段亭のメモリ容量を必要最小限増やすだけで、対応
可能となることは明らかである。
In this embodiment, the flag area f is
Although it has been explained that it is fixed, by increasing the number of bits in the flag area f, even if several types of printing modes are busy, it can be handled by simply increasing the memory capacity of the first storage means to the minimum necessary. is clear.

発明の効果 本発明は、以上説明したように、文字パターンの他に、
先頭番地制御フラグを記憶した記憶手段を別に用意する
ことにより、必要最小限の容量で。
Effects of the Invention As explained above, the present invention provides, in addition to character patterns,
By preparing a separate storage means that stores the start address control flag, the capacity can be kept to the minimum necessary.

様々なモード、様々な装置で、メモリを使用することが
可能となる。
It becomes possible to use the memory in various modes and in various devices.

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

第1図は本発明の一実施例を示すブロック構成図、第2
図は第1の記憶手段の記憶形式の一例を示す図、第3図
及び第参図はモード切替時の動作例を示す図、第S図は
従来方式゛の一例を示すブロック図、第6図は従来方式
の不利な点を示すメモリ化範囲の図である。 l・・・受信コード、λ・・・論理演算手段、3・・・
第1の記憶手段、ダ・・・第一の記憶手段 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部 451図 1I2図 113図
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure shows an example of the storage format of the first storage means; FIGS. 3 and 3 show examples of operation when switching modes; FIG. The figure is a diagram of the memorization range showing the disadvantages of the conventional method. l... Reception code, λ... Logical operation means, 3...
First storage means, da... First storage means patent applicant NEC Corporation Representative Patent attorney Yutabe Kumagai 451 Figure 1I2 Figure 113

Claims (2)

【特許請求の範囲】[Claims] (1)、受信コードを演算することにより読出し番地と
なりかつ読出し番地により読出したデータが文字パター
ン先頭アドレスとなる第1の記憶手段と、前記第1の記
憶手段の読出しデータにより生成された文字パターン先
頭番地から所定のデータ長までの間に受信コードに対応
した文字パターンが記憶されている第2の記憶手段とを
具備することを特徴とした文字パターン記憶方式。
(1) a first storage means which becomes a readout address by calculating a received code and whose data read by the readout address becomes a character pattern start address, and a character pattern generated from the readout data of the first storage means; 1. A character pattern storage system comprising: second storage means in which a character pattern corresponding to a received code is stored between a leading address and a predetermined data length.
(2)、前記第2の記憶手段の文字パターン先頭番地が
少なくとも2通り得られるように、前記第1の記憶手段
のデータの中に制御用フラグが含まれていることを更に
特徴とする特許請求の範囲第(1)項に記載の文字パタ
ーン記憶方式。
(2) A patent further characterized in that a control flag is included in the data in the first storage means so that at least two starting addresses of character patterns in the second storage means can be obtained. A character pattern storage method according to claim (1).
JP60039223A 1985-02-28 1985-02-28 Character pattern memory system Granted JPS61198274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60039223A JPS61198274A (en) 1985-02-28 1985-02-28 Character pattern memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60039223A JPS61198274A (en) 1985-02-28 1985-02-28 Character pattern memory system

Publications (2)

Publication Number Publication Date
JPS61198274A true JPS61198274A (en) 1986-09-02
JPH0569231B2 JPH0569231B2 (en) 1993-09-30

Family

ID=12547129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60039223A Granted JPS61198274A (en) 1985-02-28 1985-02-28 Character pattern memory system

Country Status (1)

Country Link
JP (1) JPS61198274A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63287894A (en) * 1987-05-20 1988-11-24 株式会社日立製作所 Font data processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5250641A (en) * 1975-10-22 1977-04-22 Fujitsu Ltd Character pattern generating device
JPS52109334A (en) * 1976-03-10 1977-09-13 Fujitsu Ltd Chinese character pattern generating method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5250641A (en) * 1975-10-22 1977-04-22 Fujitsu Ltd Character pattern generating device
JPS52109334A (en) * 1976-03-10 1977-09-13 Fujitsu Ltd Chinese character pattern generating method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63287894A (en) * 1987-05-20 1988-11-24 株式会社日立製作所 Font data processor

Also Published As

Publication number Publication date
JPH0569231B2 (en) 1993-09-30

Similar Documents

Publication Publication Date Title
JPS63205257A (en) Printing control system
JPS63172665A (en) Output device
JPS61198274A (en) Character pattern memory system
JPS594706B2 (en) Print pattern generator
JPS5949584A (en) System of processing data in mixed various character sizes
JPH0218496B2 (en)
JPS62293289A (en) Character pattern generation circuit
JP2623077B2 (en) Display information creation device
JPH0596811A (en) Printing method
JPH049149B2 (en)
JPS63260462A (en) Character generating method for printer
JPS61100472A (en) Printer-controlling system
JPS61275885A (en) Character pattern generation
JPH0373913B2 (en)
KR950011809B1 (en) Korean character compound writing method in laser printer
JPS5897084A (en) Font memory access circuit
JPS6260656A (en) Dot pattern storage system for dot printer
JPH026995A (en) Display device
JPS61144019A (en) Pattern data transfer system of electron beam exposure equipment
JPS634293A (en) Pattern storage system
JPS6152684A (en) Utilization of blank area for pattern mask rom
JPS59217387A (en) Method of generating printed pattern
JPS59172881A (en) Picture information processing system
JPH02239956A (en) Printer control system
JPS60159886A (en) Character pattern generation system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term