JPH05201064A - Printer device - Google Patents

Printer device

Info

Publication number
JPH05201064A
JPH05201064A JP4038618A JP3861892A JPH05201064A JP H05201064 A JPH05201064 A JP H05201064A JP 4038618 A JP4038618 A JP 4038618A JP 3861892 A JP3861892 A JP 3861892A JP H05201064 A JPH05201064 A JP H05201064A
Authority
JP
Japan
Prior art keywords
outline
storage area
memory
header
bitmap
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
JP4038618A
Other languages
Japanese (ja)
Inventor
Yoko Jingu
葉子 神宮
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 JP4038618A priority Critical patent/JPH05201064A/en
Publication of JPH05201064A publication Critical patent/JPH05201064A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a large capacity of a memory by reducing an occupying area in a substrate mounting area and alleviate controlling load by integrating relational controls of a device and the memory. CONSTITUTION:A character pattern storing memory 6 consists of a physical memory having a sufficient capacity, constituted of a header 60, a bit map storage area 61, and an outline storage area 62. In the header 60, memory storage leading address and storage length of the respective bit map storage area 61 and the outline storage area 62 are written. At the head of the bit map storage area 61, a bit map storage area header 61a in which storing places of dot pattern corresponding to individual character code are written is provided. At the head of the outline storage area 62, an outline storage area header 62a in which storing places of outline character data corresponding to the individual character code are written is provided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】本発明はプリンタ装置に関し、特にプリン
タ装置におけるビットマップフォントおよびアウトライ
ンフォントのフォントデータ格納形式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and more particularly to a font data storage format for bitmap fonts and outline fonts in the printer device.

【0002】[0002]

【従来技術】従来、プリンタ装置においては、ビットマ
ップフォントおよびアウトラインフォントの両フォント
の利用が可能な場合、ビットマップフォントを格納する
ビットマップフォント文字パターン格納メモリ(以下ビ
ットマップメモリとする)からビットマップフォント
を、アウトラインフォントを格納するアウトラインフォ
ント文字パターン格納メモリ(以下アウトラインメモリ
とする)からアウトラインフォントを夫々読出して印字
を行っている。
2. Description of the Related Art Conventionally, in a printer, when both a font of a bitmap font and an outline font can be used, a bit from a bitmap font character pattern storage memory (hereinafter referred to as a bitmap memory) for storing the bitmap font is used. The map fonts are printed by reading out the outline fonts from the outline font character pattern storage memory (hereinafter referred to as the outline memory) that stores the outline fonts.

【0003】このような従来のプリンタ装置では、ビッ
トマップメモリとアウトラインメモリとを夫々個別に用
意する必要があるため、これら2つのメモリの実装面積
が基板実装エリアを大きくとるという問題がある。ま
た、これら2つのメモリの大容量化にも実装上の制約か
ら限界があるとともに、装置とメモリとの対応管理が二
重となって管理上の負荷が大きいという問題がある。
In such a conventional printer device, since it is necessary to separately prepare a bitmap memory and an outline memory, there is a problem that the mounting area of these two memories takes up a large board mounting area. In addition, there is a limitation in increasing the capacity of these two memories due to mounting restrictions, and there is a problem that the management of the correspondence between the device and the memory is duplicated and the management load is large.

【0004】[0004]

【発明の目的】本発明は上記のような従来のものの問題
点を除去すべくなされたもので、基板実装エリアにおけ
る占有面積を低減してメモリの大容量化を図ることがで
き、装置とメモリとの対応管理を一体化して管理上の負
荷を軽減することができるプリンタ装置の提供を目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in order to eliminate the above-mentioned problems of the prior art, and can reduce the occupied area in the board mounting area to increase the capacity of the memory. It is an object of the present invention to provide a printer device that can reduce the management load by integrating the correspondence management with.

【0005】[0005]

【発明の構成】本発明によるプリンタ装置は、印字デー
タ中の文字コードに対応する文字パターンに変換して印
字を行うプリンタ装置であって、座標値からなるアウト
ラインデータを格納する第1の格納領域と、ドットデー
タからなるビットマップデータを格納する第2の格納領
域とを含み、一つの物理メモリからなる文字パターン格
納メモリを設けたことを特徴とする。
A printer device according to the present invention is a printer device for converting a character pattern corresponding to a character code in print data for printing, and a first storage area for storing outline data consisting of coordinate values. And a second storage area for storing bitmap data composed of dot data, and a character pattern storage memory composed of one physical memory is provided.

【0006】[0006]

【実施例】次に、本発明の一実施例について図面を参照
して説明する。
An embodiment of the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、CPU(中央処理装置)1
はインタフェース(I/F)部2を介して図示せぬホス
ト装置からデータ信号を受信すると、編集部3を起動す
る。編集部3はインタフェース部2を介してホスト装置
からのデータを1ワードずつ受信しながら、受信したデ
ータを装置内部コマンドに編集してコードバッファ4に
格納していく。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, a CPU (central processing unit) 1
When receiving a data signal from a host device (not shown) via the interface (I / F) unit 2, starts the editing unit 3. The editing unit 3 receives the data from the host device word by word via the interface unit 2, edits the received data into a device internal command, and stores it in the code buffer 4.

【0008】CPU1は編集部3から1ページ分の印字
データを編集したことを示す編集終了信号を受取ると、
描画部5を起動する。描画部5はコードバッファ4から
内部コマンドを読出し、内部コマンドに含まれる機能コ
ードによってビットマップフォントを印字するか、ある
いはアウトラインフォントを印字するかを判断する。
When the CPU 1 receives from the editing unit 3 an edit end signal indicating that one page of print data has been edited,
The drawing unit 5 is activated. The drawing unit 5 reads the internal command from the code buffer 4 and determines whether to print a bitmap font or an outline font according to the function code included in the internal command.

【0009】描画部5はビットマップフォントを印字す
ると判断すると、文字パターン格納メモリ(CG)6内
のヘッダ部を解析しながら文字コードに対応する文字パ
ターンデータを検索し、該文字パターンデータを取込ん
でフレームバッファ(FB)8に書込む。一方、描画部
5はアウトラインフォントを印字すると判断すると、印
字する文字コードを指定してアウトライン展開部7を起
動する。
When the drawing unit 5 determines to print a bit map font, it searches the character pattern data corresponding to the character code while analyzing the header part in the character pattern storage memory (CG) 6, and acquires the character pattern data. And writes it in the frame buffer (FB) 8. On the other hand, when the drawing unit 5 determines to print the outline font, it specifies the character code to be printed and activates the outline expanding unit 7.

【0010】アウトライン展開部7は指定された文字コ
ードに対応するアウトライン文字データを文字パターン
格納メモリ6内のヘッダ部を解析しながら検索し、該ア
ウトライン文字データを読込んでビットマップパターン
に展開する。アウトライン展開部7が文字の展開の終了
を描画部5に通知すると、描画部5はアウトライン展開
部7によって展開された文字パターンデータを取込んで
フレームバッファ8に書込む。
The outline expanding unit 7 searches for outline character data corresponding to the specified character code while analyzing the header portion in the character pattern storage memory 6, reads the outline character data, and expands it into a bit map pattern. When the outline expanding unit 7 notifies the drawing unit 5 of the end of the character expansion, the drawing unit 5 takes in the character pattern data expanded by the outline expanding unit 7 and writes it in the frame buffer 8.

【0011】ここで、文字パターン格納メモリ6はビッ
トマップフォントを格納するビットマップ格納領域と、
アウトラインフォントを格納するアウトライン格納領域
と、それらビットマップ格納領域およびアウトライン格
納領域各々の先頭アドレスを格納するヘッダ部とからな
る。
Here, the character pattern storage memory 6 has a bitmap storage area for storing a bitmap font,
It comprises an outline storage area for storing outline fonts, and a header section for storing the start addresses of the bitmap storage area and outline storage area.

【0012】CPU1は描画部5からの終了信号を受取
ると、印字部9を起動する。印字部9はデバイス10を
制御しながらフレームバッファ8からデータを引出して
実際の用紙上に印字を行う。
When the CPU 1 receives the end signal from the drawing unit 5, it activates the printing unit 9. The printing unit 9 pulls out data from the frame buffer 8 while controlling the device 10, and prints on actual paper.

【0013】図2は図1の文字パターン格納メモリ6の
構成を示す図である。図において、文字パターン格納メ
モリ6は充分な容量をもった一つの物理メモリからな
り、ヘッダ部60と、ビットマップフォントを格納する
ビットマップ格納領域(CG)61と、アウトラインフ
ォントを格納するアウトライン格納領域(CG)62と
から構成されている。
FIG. 2 is a diagram showing the configuration of the character pattern storage memory 6 of FIG. In the figure, the character pattern storage memory 6 is composed of one physical memory having a sufficient capacity, and includes a header section 60, a bitmap storage area (CG) 61 for storing a bitmap font, and an outline storage for storing an outline font. And a region (CG) 62.

【0014】ヘッダ部60にはビットマップ格納領域6
1およびアウトライン格納領域62夫々のメモリ格納先
頭アドレスと格納レングスとが書込まれている。このヘ
ッダ部60を参照することによってビットマップ格納領
域61またはアウトライン格納領域62の検索が行われ
る。
The header portion 60 has a bitmap storage area 6
The memory storage start address and storage length of each of the 1 and outline storage areas 62 are written. By referring to the header portion 60, the bitmap storage area 61 or the outline storage area 62 is searched.

【0015】ビットマップ格納領域61の先頭にはビッ
トマップ格納領域(CG)ヘッダ61aが設けられてお
り、このビットマップ格納領域ヘッダ61aにはビット
マップ格納領域61内に格納されている個々の文字コー
ドに対応するドットパターンの格納場所が書込まれてい
る。
A bitmap storage area (CG) header 61a is provided at the beginning of the bitmap storage area 61, and each character stored in the bitmap storage area 61 is included in the bitmap storage area header 61a. The storage location of the dot pattern corresponding to the code is written.

【0016】アウトライン格納領域62の先頭にはアウ
トライン格納領域(CG)ヘッダ62aが設けられてお
り、このアウトライン格納領域ヘッダ62aにはアウト
ライン格納領域62内に格納されている個々の文字コー
ドに対応するアウトライン文字データの格納場所が書込
まれている。
An outline storage area (CG) header 62a is provided at the beginning of the outline storage area 62, and the outline storage area header 62a corresponds to each character code stored in the outline storage area 62. The storage location of outline character data is written.

【0017】ビットマップフォントを印字する場合、描
画部5は文字パターン格納メモリ6内のヘッダ部60か
らビットマップ格納領域61のメモリ格納先頭アドレス
および格納レングスを読出す。描画部5は読出したビッ
トマップ格納領域61のメモリ格納先頭アドレスおよび
格納レングスをもとにビットマップ格納領域ヘッダ61
aを参照し、文字コードに対応する文字パターンデータ
を検索して該文字パターンデータを取込む。
When printing a bitmap font, the drawing section 5 reads the memory storage start address and the storage length of the bitmap storage area 61 from the header section 60 in the character pattern storage memory 6. The drawing unit 5 determines the bitmap storage area header 61 based on the memory storage start address and the storage length of the read bitmap storage area 61.
Referring to a, the character pattern data corresponding to the character code is searched and the character pattern data is fetched.

【0018】また、アウトラインフォントを印字する場
合、アウトライン展開部7は文字パターン格納メモリ6
内のヘッダ部60からアウトライン格納領域62のメモ
リ格納先頭アドレスおよび格納レングスを読出す。アウ
トライン展開部7は読出したアウトライン格納領域62
のメモリ格納先頭アドレスおよび格納レングスをもとに
アウトライン格納領域ヘッダ62aを参照し、描画部5
から指定された文字コードに対応するアウトライン文字
データを検索し、該アウトライン文字データを読込んで
ビットマップパターンとしてフレームバッファ8に展開
する。
Further, when printing an outline font, the outline expanding section 7 uses the character pattern storage memory 6
The memory storage start address and the storage length of the outline storage area 62 are read out from the header section 60 inside. The outline expanding section 7 reads out the outline storage area 62.
The outline storage area header 62a is referred to based on the memory storage start address and the storage length of the drawing unit 5
The outline character data corresponding to the designated character code is searched from, and the outline character data is read and developed in the frame buffer 8 as a bitmap pattern.

【0019】よって、上記の文字パターン格納メモリ6
を1つ用意することによって、ビットマップフォントお
よびアウトラインフォントの文字パターンデータを使用
することができる。
Therefore, the character pattern storage memory 6 described above is used.
By preparing one, the character pattern data of the bitmap font and the outline font can be used.

【0020】また、上記の文字パターン格納メモリ6の
ビットマップ格納領域61に使用頻度の高い文字コード
に対応する文字パターンデータを格納しておくことによ
って処理速度を早くすることができる。この場合、ヘッ
ダ部60に該文字パターンの有無を示す情報を格納して
おけば、描画部5はその情報を参照して文字コードに対
応するビットマップフォントの有無を判断し、その判断
結果にしたがって印字フォントを決定する。描画部5は
決定した印字フォントにしたがって上述の動作と同様に
してビットマップフォントおよびアウトラインフォント
の文字パターンデータを取込む。
Further, by storing character pattern data corresponding to a character code that is frequently used in the bitmap storage area 61 of the character pattern storage memory 6, the processing speed can be increased. In this case, if information indicating the presence / absence of the character pattern is stored in the header section 60, the drawing section 5 refers to the information and determines the presence / absence of a bitmap font corresponding to the character code, and the determination result Therefore, the print font is determined. The drawing unit 5 takes in the character pattern data of the bitmap font and the outline font in the same manner as the above according to the determined print font.

【0021】さらに、文字パターン格納メモリ6にマス
クROMを使用し、該マスクROMにビットマップフォ
ントおよびアウトラインフォントの文字パターンデータ
を固定的に格納しておくことによって、文字パターン格
納メモリ6の大容量化を低コストで実現することができ
る。
Further, by using a mask ROM for the character pattern storage memory 6 and storing the character pattern data of the bit map font and the outline font in a fixed manner in the mask ROM, a large capacity of the character pattern storage memory 6 is obtained. Can be realized at low cost.

【0022】このように、一つの物理メモリからなる文
字パターン格納メモリ6にドットデータからなるビット
マップフォントの文字パターンデータと、座標値からな
るアウトラインフォントの文字パターンデータとを格納
することによって、基板実装エリアにおける占有面積を
低減してメモリの大容量化を図ることができる。これに
よって、装置の小型化を図ることができるとともに、装
置とメモリとの対応管理を一体化して管理上の負荷を軽
減することができる。
In this way, by storing the character pattern data of the bitmap font composed of dot data and the character pattern data of the outline font composed of coordinate values in the character pattern storage memory 6 composed of one physical memory, The occupied area in the mounting area can be reduced to increase the capacity of the memory. As a result, the size of the device can be reduced, and the management of the correspondence between the device and the memory can be integrated to reduce the management load.

【0023】[0023]

【発明の効果】以上説明したように本発明によれば、一
つの物理メモリからなる文字パターン格納メモリに座標
値からなるアウトラインデータとドットデータからなる
ビットマップデータとを格納することによって、基板実
装エリアにおける占有面積を低減してメモリの大容量化
を図ることができ、装置とメモリとの対応管理を一体化
して管理上の負荷を軽減することができるという効果が
ある。
As described above, according to the present invention, by storing outline data consisting of coordinate values and bitmap data consisting of dot data in a character pattern storing memory consisting of one physical memory, it is possible to mount on a substrate. There is an effect that the occupied area in the area can be reduced and the capacity of the memory can be increased, and management of correspondence between the device and the memory can be integrated to reduce the management load.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1の文字パターン格納メモリの構成を示す図
である。
FIG. 2 is a diagram showing a configuration of a character pattern storage memory shown in FIG.

【符号の説明】[Explanation of symbols]

5 描画部 6 文字パターン格納メモリ 7 アウトライン展開部 8 フレームバッファ 9 印字部 60 ヘッダ部 61 ビットマップ格納領域 61a ビットマップ格納領域ヘッダ 62 アウトライン格納領域 62a アウトライン格納領域ヘッダ 5 Drawing Section 6 Character Pattern Storage Memory 7 Outline Expansion Section 8 Frame Buffer 9 Printing Section 60 Header Section 61 Bitmap Storage Area 61a Bitmap Storage Area Header 62 Outline Storage Area 62a Outline Storage Area Header

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 印字データ中の文字コードに対応する文
字パターンに変換して印字を行うプリンタ装置であっ
て、座標値からなるアウトラインデータを格納する第1
の格納領域と、ドットデータからなるビットマップデー
タを格納する第2の格納領域とを含み、一つの物理メモ
リからなる文字パターン格納メモリを設けたことを特徴
とするプリンタ装置。
1. A printer device for converting a character pattern corresponding to a character code in print data for printing and storing outline data consisting of coordinate values.
And a second storage area for storing bitmap data composed of dot data, and a character pattern storage memory composed of one physical memory is provided.
【請求項2】 前記文字コードに対応するビットマップ
データが前記第2の格納領域に格納されているか否かを
示す情報を前記文字パターン格納メモリに格納するよう
にしたことを特徴とするプリンタ装置。
2. A printer device, characterized in that information indicating whether or not bitmap data corresponding to the character code is stored in the second storage area is stored in the character pattern storage memory. .
JP4038618A 1992-01-29 1992-01-29 Printer device Pending JPH05201064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4038618A JPH05201064A (en) 1992-01-29 1992-01-29 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4038618A JPH05201064A (en) 1992-01-29 1992-01-29 Printer device

Publications (1)

Publication Number Publication Date
JPH05201064A true JPH05201064A (en) 1993-08-10

Family

ID=12530238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4038618A Pending JPH05201064A (en) 1992-01-29 1992-01-29 Printer device

Country Status (1)

Country Link
JP (1) JPH05201064A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128282A (en) * 1984-11-27 1986-06-16 沖電気工業株式会社 Character generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128282A (en) * 1984-11-27 1986-06-16 沖電気工業株式会社 Character generator

Similar Documents

Publication Publication Date Title
US4989163A (en) Photo printer having a host computer assist function and method of controlling the same
JPH02185475A (en) printing device
US4707153A (en) Printer controller
JP2755308B2 (en) Output method and device
JPH05201064A (en) Printer device
KR960010410B1 (en) Output method and device
JPH01290448A (en) character generator
JP2661742B2 (en) Character processor
JPH05224846A (en) Printing and recording device
JPH03114856A (en) Printer data management system
JPH05177873A (en) Printer device
JPS61264377A (en) Character pattern generator
JP3423113B2 (en) Cache control device and character output device
JP2889390B2 (en) Printer device
JPH0560426B2 (en)
JPH0477277A (en) Printing device
JP2000222140A (en) Printer, memory management method of printer, and recording medium recording program
JP2737880B2 (en) Character processing apparatus and method
JPH0740597A (en) Printer
JPH04282268A (en) Character information memory method in data output system
JPH04288252A (en) printer device
JPH08174917A (en) Page memory control circuit
JPH0477858A (en) Word processor printer
JPS61199378A (en) Printer control device
JPH09150564A (en) Printing equipment