JP2787095B2 - Font data reading device - Google Patents

Font data reading device

Info

Publication number
JP2787095B2
JP2787095B2 JP6071934A JP7193494A JP2787095B2 JP 2787095 B2 JP2787095 B2 JP 2787095B2 JP 6071934 A JP6071934 A JP 6071934A JP 7193494 A JP7193494 A JP 7193494A JP 2787095 B2 JP2787095 B2 JP 2787095B2
Authority
JP
Japan
Prior art keywords
font
data
font data
character code
character
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 - Fee Related
Application number
JP6071934A
Other languages
Japanese (ja)
Other versions
JPH07276718A (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.)
KASHIO DENSHI KOGYO KK
KASHIO KEISANKI KK
Original Assignee
KASHIO DENSHI KOGYO KK
KASHIO KEISANKI KK
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 KASHIO DENSHI KOGYO KK, KASHIO KEISANKI KK filed Critical KASHIO DENSHI KOGYO KK
Priority to JP6071934A priority Critical patent/JP2787095B2/en
Publication of JPH07276718A publication Critical patent/JPH07276718A/en
Application granted granted Critical
Publication of JP2787095B2 publication Critical patent/JP2787095B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えばホストコンピュ
ータ等の上位機器に接続され、この上位機器から送られ
て来る印字情報に従った印字動作を行なう印字装置に係
り、特に、そのような印字装置に於いて、印字情報内に
含まれる文字コードに対応するフォントデータをフォン
トテーブルから検索して読出し出力するフォントデータ
読出し装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus which is connected to a host device such as a host computer and performs a printing operation in accordance with print information sent from the host device. The present invention relates to a font data reading device that searches a font table for font data corresponding to a character code included in print information, reads out the font data, and outputs the font data.

【0002】[0002]

【従来の技術】近年、ワードプロセッサやオフィスコン
ピュータ等の文書作成装置に接続される印字装置とし
て、ページプリンタが普及してきている。このようなペ
ージプリンタは、ホストコンピュータとのデータの授受
のための画像生成制御部(通称、インターフェース(I
/F)コントローラ)と、印字ヘッド(露光ヘッド)や
感光体ドラムを有する印字部とで構成されている。
2. Description of the Related Art In recent years, page printers have become widespread as printing devices connected to document creation devices such as word processors and office computers. Such a page printer includes an image generation control unit (commonly called an interface (I / O) for exchanging data with a host computer.
/ F) controller) and a printing unit having a print head (exposure head) and a photosensitive drum.

【0003】即ち、この種のページプリンタは、I/F
コントローラに於いて、ホストコンピュータから送信さ
れて来る文字コードをドットで構成されたフォントデー
タ(イメージ)に変換してビットマップメモリ(イメー
ジメモリ)上に展開し、このイメージメモリに展開され
たイメージデータを、印字部により印字用紙上に印字出
力するというものである。なお、ホストコンピュータか
ら送られて来る印字情報中には、上記文字コードデータ
の他に、印字装置に予め定義された印字動作の実行を指
示するための印字動作指定情報(以下、コマンドと称
す)が含まれている。このコマンドは統一規格が無いた
め、プリンタメーカ各社が独自に定義したコマンドが利
用されているが、上記文字コードの大部分は、JIS
(ASCII)コード等の規格によって共通のものが使
われ、また、一部プリンタメーカ各社が独自に定義した
ものも利用される。
[0003] That is, this type of page printer uses an I / F.
In the controller, the character code transmitted from the host computer is converted into font data (image) composed of dots, expanded on a bitmap memory (image memory), and the image data expanded on this image memory. Is printed out on a printing paper by a printing unit. The print information sent from the host computer includes, in addition to the character code data, print operation designation information (hereinafter, referred to as a command) for instructing the printing device to execute a predefined print operation. It is included. Since there is no unified standard for this command, commands uniquely defined by printer manufacturers are used, but most of the above character codes are JIS
Common ones are used according to standards such as (ASCII) codes, and some that are uniquely defined by printer manufacturers are also used.

【0004】文字コードから文字パターンへの変換は、
文字コードに対応するフォントデータ(イメージデー
タ)が記憶されたCGROMや、ユーザのデザインによ
る(外字)フォントデータが記憶されるCGRAMとい
った、文字コードに対応するフォントデータを記憶する
フォントテーブルから、指定の文字コードに対応するフ
ォントデータを検索して、読出し出力することにより行
われる。
[0004] Conversion from a character code to a character pattern is as follows.
A font table storing font data corresponding to a character code, such as a CGROM storing font data (image data) corresponding to a character code and a CGRAM storing font data (external character) designed by a user, is stored in a specified font table. This is performed by searching for font data corresponding to the character code, and reading and outputting the font data.

【0005】[0005]

【発明が解決しようとする課題】ところで、このような
ページプリンタは、顧客に販売後、フォントデータ(デ
ザイン)の変更、修正及びリニューアル(バージョンア
ップ)を行う場合がある。
However, such page printers sometimes change, correct, and renew (upgrade) font data (design) after sales to customers.

【0006】そのような場合には、そのフォントデータ
を所持するフォントテーブル(例えばCGROM)自体
を交換(フォントデータを全て交換)する必要があっ
た。従って、このようにメモリ自体の交換によりフォン
トデータを更新すると、交換を不必要とするフォントデ
ータまで交換しなくてはならず、無駄が発生する。ま
た、交換作業自体にも労力を必要とする。
In such a case, it is necessary to exchange the font table (for example, CGROM) itself having the font data (exchange all the font data). Therefore, when the font data is updated by exchanging the memory itself, font data that does not need to be exchanged has to be exchanged, resulting in waste. Further, the replacement operation itself requires labor.

【0007】また、更新された(或いは別の)フォント
データを、ページプリンタに追加する手法もあるが、制
御上の問題により、その追加するフォントデータは固定
的な場所(方法)にしか許されていなかった(例えば、
追加データは、必ず、全文字セットを含む外部CGRO
Mとし、制御としては、必ず、外部CGROMからフォ
ントデータの検索を行う、というように固定的であ
る)。従って、フォントデータを格納する場所が固定的
になり、フォントデータ追加に関する自由度が乏しい。
There is also a method of adding updated (or another) font data to a page printer. However, due to control problems, the added font data is allowed only in a fixed place (method). (For example,
Additional data must be an external CGRO including all character sets
M, and the control is fixed such that the font data is always retrieved from the external CGROM). Therefore, the location for storing the font data is fixed, and the degree of freedom in adding the font data is poor.

【0008】本発明は、上記の点に鑑みてなされたもの
で、フォントデータ(デザイン)の変更、修正及びリニ
ューアルを効率良く行い得るフォントデータ読出し装置
を提供することを目的とする。
The present invention has been made in view of the above points, and has as its object to provide a font data reading device capable of efficiently changing, correcting, and renewing font data (design).

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明によるフォントデータ読出し装置は、指定
された印字情報内に含まれる文字コードに対応するフォ
ントデータをフォントテーブルから検索する検索手段
と、該検索手段によって検索されたフォントデータを読
出し出力する読出し手段とを有するフォントデータ読出
し装置であって、上記フォントテーブルは、文字コード
単位で新たなフォントデータが登録された際増設登録さ
れた、それぞれ登録時期の異なる複数種類のフォントテ
ーブルを含み、上記検索手段は、各フォントテーブルの
登録識別情報を有し、上記文字コードに対応するフォン
トデータを該登録時期識別情報をもとに最新のフォント
テーブルから優先的に検索することを特徴とする。
In order to achieve the above object, a font data reading apparatus according to the present invention provides a font data reading apparatus for searching a font table for font data corresponding to a character code included in designated print information. means, a font data reading device having a reading means for outputting the read font data retrieved by said retrieval means, the font table is the character code
When new font data is registered in units,
A plurality of font tables each having a different registration time, wherein the search means has registration identification information of each font table, and font data corresponding to the character code is obtained based on the registration time identification information. The latest font table is preferentially searched.

【0010】また、上記フォントデータは、文字コード
単位で更新され、上記複数のフォントテーブルは、全て
の文字コードに対応するフォントデータを含む少なくと
も一つの当初から備えられたフォントテーブルと、上記
文字コード単位で更新されたフォントデータを含み且つ
非更新フォントデータは持たない少なくとも一つの増設
フォントテーブルとを含むようにしても良い。
The font data is updated in units of character codes, and the plurality of font tables include at least one initially provided font table including font data corresponding to all character codes; At least one additional font table that includes font data updated in units and does not have non-updated font data may be included.

【0011】[0011]

【作用】即ち、本発明のフォントデータ読出し装置によ
れば、フォントテーブルとして、文字コード単位で新た
なフォントデータが登録された際増設登録された、それ
ぞれ登録時期の異なる複数種類のフォントテーブルを用
意し、また検索手段には、これら各フォントテーブルの
登録識別情報を持たせておく。そして、外部から印字情
報が指定されたとき、検索手段は、その印字情報内に含
まれる文字コードに対応するフォントデータを、上記登
録時期識別情報をもとに最新のフォントテーブルから優
先的に検索し、この検索されたフォントデータを読出し
手段によって読出し出力する。よって、常に、新しいフ
ォントデータを用いることができるので、フォントデー
タ(デザイン)の変更、修正及びリニューアルを効率良
く行えるようになる。
According to the font data reading apparatus of the present invention, a font table is newly created for each character code.
A plurality of types of font tables having different registration times , which are registered when new font data is registered, are prepared, and the search means is provided with registration identification information of each of the font tables. Then, when print information is designated from the outside, the search means preferentially searches font data corresponding to the character code included in the print information from the latest font table based on the registration time identification information. Then, the retrieved font data is read out and output by the reading means. Therefore, since new font data can always be used, it is possible to efficiently change, correct, and renew font data (design).

【0012】また、上記フォントデータは文字コード単
位で更新され、上記複数のフォントテーブルは、全ての
文字コードに対応するフォントデータを含む少なくとも
一つの当初から備えられたフォントテーブルと、上記文
字コード単位で更新されたフォントデータを含み且つ非
更新フォントデータは持たない少なくとも一つの増設
ォントテーブルとを含むようにしても良い。このように
することにより、更新すべき必要なフォントデータのみ
の追加を行うだけで良くなり、データの追加方法(場
所)に自由度があるため、種々の手法(例えば、外付け
CGROM、又はダウンロード)によるバージョンアッ
プが可能となる。
The font data is updated in units of character codes. The plurality of font tables include at least one initially provided font table including font data corresponding to all character codes, and the character code units. And at least one additional font table that includes the updated font data and does not have the non-updated font data. By doing so, it is only necessary to add only necessary font data to be updated, and since there is a degree of freedom in a method (location) of adding data, various methods (for example, an external CGROM or a download method) can be used. ) Can be upgraded.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は、本発明の一実施例のフォントデータ読
出し装置の適用された印字装置のブロック構成図であ
る。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a printing apparatus to which a font data reading apparatus according to one embodiment of the present invention is applied.

【0014】同図に於いて、参照番号10は文字コード
データ及び印字装置に予め定義された印字動作の実行を
指示するための印字動作指定情報(コマンド)とを含む
印字情報を送り出すホストコンピュータ等の外部機器で
あり、20は印字装置本体である。
In FIG. 1, reference numeral 10 denotes a host computer or the like which sends print information including character code data and print operation designation information (command) for instructing a printing device to execute a print operation defined in advance. Reference numeral 20 denotes a printing apparatus main body.

【0015】また、参照番号21は、上記外部機器10
から送られて来るデータをまず一時的に蓄える受信デー
タバッファであり、22は、この受信データバッファ2
1に蓄えられたデータを解析し、制御用の内部コードに
変換して、実行コードデータバッファ23に格納するコ
マンド解析部である。24は、実行コードデータバッフ
ァ23に格納した内部コードを判別し、文字コードに対
応するフォントパターン(イメージ)をフォントテーブ
ルから検索して読出し、描画データバッファ25に格納
するコマンド実行部である。26は、描画データバッフ
ァ25に格納されたフォントパターンをその位置情報に
従ってイメージメモリ27上に展開する描画部であり、
28は、イメージメモリ27に展開されたイメージデー
タを、印字ヘッド(露光ヘッド)や感光体ドラムを有す
る印字制御部29に出力するビデオインタフェース(I
/F)部である。
Reference numeral 21 denotes the external device 10.
A receiving data buffer for temporarily storing data sent from the receiving data buffer 22;
1 is a command analysis unit that analyzes data stored in 1, converts the data into an internal code for control, and stores it in the execution code data buffer 23. Reference numeral 24 denotes a command execution unit that determines the internal code stored in the execution code data buffer 23, retrieves and reads a font pattern (image) corresponding to the character code from a font table, and stores it in the drawing data buffer 25. Reference numeral 26 denotes a drawing unit that develops the font pattern stored in the drawing data buffer 25 on the image memory 27 in accordance with the position information.
Reference numeral 28 denotes a video interface (I) for outputting image data developed in the image memory 27 to a print control unit 29 having a print head (exposure head) and a photosensitive drum.
/ F) section.

【0016】そして、30は、文字コードに対応するフ
ォントデータ(イメージデータ)が記憶された印字装置
本体20に内蔵のフォントテーブル(CGROM)であ
り、31は、ユーザのデザインによる(外字)フォント
データなどが記憶される印字装置本体20に内蔵のフォ
ントテーブル(CGRAM)である。また、32は、文
字コードに対応するフォントデータ(イメージデータ)
が記憶された外付けの外部フォントテーブル(CGRO
M)であり、33は、ユーザのデザインによる(外字)
フォントデータなどが記憶される外付けの外部フォント
テーブル(CGRAM)である。なお、コマンド実行部
24は、内部に構成した検索用テーブル24Aをもと
に、これら複数のフォントテーブル30〜33の内の最
新のものからフォントデータを検索読出しする。
Reference numeral 30 denotes a font table (CGROM) built in the printing apparatus main body 20 in which font data (image data) corresponding to the character code is stored. Reference numeral 31 denotes (external character) font data designed by the user. This is a font table (CGRAM) built in the printing apparatus main body 20 in which information is stored. Reference numeral 32 denotes font data (image data) corresponding to the character code.
Is stored in an external font table (CGRO)
M), and 33 is according to the user's design (external character)
This is an external font table (CGRAM) in which font data and the like are stored. The command execution unit 24 retrieves and reads out font data from the latest font table among the plurality of font tables 30 to 33 based on the retrieval table 24A formed therein.

【0017】ここで、各フォントテーブル30〜33
は、図2の(A)に示すようなデータ構成を有してお
り、また検索用テーブル24Aは同図の(B)に示すよ
うなデータ構成を有している。これらの図に於いて、参
照符号TblNumはテーブルナンバ、VerDatは
バージョンデータ、ChrQtyは文字数、ChrCo
d[n]は文字コード、ChrDat[n]は文字パタ
ーン(フォント)データを示しており、TblQtyは
テーブル個数、TblNum[n]はテーブルナンバを
示している。実際には、図3の(A)及び(B)に示す
ようになる。ただし、図3の(A)の4個のフォントテ
ーブルは、上記4個のフォントテーブル30〜33に1
対1に対応するものに限らず、どれか1個のフォントテ
ーブルにこれら4個のテーブルを含むものであっても良
い。また、バージョンデータVerDatとしては、更
新日付を用いている。
Here, each of the font tables 30 to 33
Has a data configuration as shown in FIG. 2A, and the search table 24A has a data configuration as shown in FIG. 2B. In these figures, reference symbols TblNum are table numbers, VerDat is version data, ChrQty is the number of characters, ChrCo
d [n] indicates a character code, ChrDat [n] indicates character pattern (font) data, TblQty indicates the number of tables, and TblNum [n] indicates a table number. Actually, it is as shown in FIGS. However, the four font tables shown in FIG.
The font table is not limited to the one-to-one correspondence, and any one font table may include these four tables. The update date is used as the version data VerDat.

【0018】次に、このような構成に於ける動作を説明
する。まず、図4の(A)に示すように、文字制御プロ
グラムの初期時に、コマンド実行部24は、検索用テー
ブル24Aの作成を行う(ステップS11)。この処理
は、存在するフォントテーブルの個数を計数してテーブ
ル個数TblQtyに格納し、また全てのフォントテー
ブルのテーブルナンバTblNumをバージョンデータ
VerDat順にソートして格納する。これにより、例
えば図3の(A)のような4個のフォントテーブルが存
在する場合には、図3の(B)に示すように、テーブル
個数TblQty「4」、テーブルナンバTblNum
「2」,「3」,「1」,「0」が順に並んだ検索用テ
ーブル24Aが作成される。
Next, the operation in such a configuration will be described. First, as shown in FIG. 4A, at the beginning of the character control program, the command execution unit 24 creates a search table 24A (step S11). In this process, the number of existing font tables is counted and stored in the table number TblQty, and the table numbers TblNum of all the font tables are sorted and stored in the order of the version data VerDat. Thereby, for example, when there are four font tables as shown in FIG. 3A, as shown in FIG. 3B, the number of tables TblQty “4” and the table number TblNum
A search table 24A in which "2", "3", "1", and "0" are arranged in order is created.

【0019】そして、フォントデータの検索を行う場合
には、コマンド実行部24は、文字コード毎に、図4の
(B)に示すような処理を行う。まず、検索を行う文字
コードInpCodの入力を行い(ステップS21)、
テーブル検索用カウンタSrcCnt及び文字検索用カ
ウンタChrCntを初期化する(ステップS22,S
23)。
When searching for font data, the command execution unit 24 performs a process as shown in FIG. 4B for each character code. First, a character code InpCod to be searched is input (step S21).
The table search counter SrcCnt and the character search counter ChrCnt are initialized (steps S22 and S22).
23).

【0020】その後、検索用テーブル24Aにより、最
新を示すフォントテーブルを選択し、選択されたフォン
トテーブルに対し、そのフォントテーブル内に、入力さ
れた文字コードと同一の文字コードを示すデータが有る
か無いか判別する。
Thereafter, a font table indicating the latest is selected from the search table 24A, and for the selected font table, is there data in the font table indicating the same character code as the input character code? Determine if there is any.

【0021】即ち、まず、テーブル検索用カウンタSr
cCntの値番目のテーブルナンバTblNumのフォ
ントテーブル内の、文字検索用カウンタChrCntの
値番目の文字コードChrCodと上記入力文字コード
InpCodとを比較する(ステップS24)。例え
ば、上記図2の(A),(B)及び図3の(A),
(B)の例に於いて、入力文字コードInpCodとし
て文字「A」を示す「41H」が入力されていたとすれ
ば、ここではテーブルナンバTblNum[2]の文字
コードChrCod[0]の文字コードつまり「42
H 」と比較されることとなる。そして、両者が不一致で
あれば、文字検索用カウンタChrCntの値を更新し
(ステップS25)、その更新後の値が現在対象として
いるフォントテーブルの文字数ChrQtyに達するま
で(ステップS26)、上記ステップS24からの処理
を繰り返す。即ち、今度は、テーブルナンバTblNu
m[2]の文字コードChrCod[1]の文字コード
つまり「45H 」との比較がなされ、やはり不一致とし
て、文字検索用カウンタChrCntの値が更新される
が、今度は更新後の値が現在対象としているフォントテ
ーブルの文字数ChrQty即ち「2」に達してしまう
ので、この現在処理対象としているフォントテーブルに
は、入力された文字コードと同一の文字コードを示すデ
ータが無いことになる。
That is, first, the table search counter Sr
The character code ChrCod at the value of the character search counter ChrCnt in the font table of the table number TblNum at the value of cCnt is compared with the input character code InpCod (step S24). For example, FIGS. 2A and 3B and FIGS.
In the example of (B), assuming that "41 H " indicating the character "A" has been input as the input character code InpCod, here, the character code of the table number TblNum [2] and the character code of ChrCod [0] That is, "42
H ". If they do not match, the value of the character search counter ChrCnt is updated (step S25), and the above-described step S24 is performed until the updated value reaches the number of characters ChrQty of the font table currently targeted (step S26). Is repeated. That is, this time, the table number TblNu
The character code of m [2] is compared with the character code of ChrCod [1], that is, “45 H ”. As a result, the value of the character search counter ChrCnt is updated as a mismatch, but the updated value is now Since the number of characters ChrQty of the target font table reaches “2”, there is no data indicating the same character code as the input character code in the font table currently being processed.

【0022】このように入力文字コードと同一の文字コ
ードを示すデータが無いときには、検索用テーブル24
Aにより、次に新しいフォントテーブルを選択し、同様
な手順で、フォントテーブル検索を行う。
When there is no data indicating the same character code as the input character code, the search table 24
A, a new font table is selected next, and a font table search is performed in the same procedure.

【0023】即ち、テーブル検索用カウンタSrcCn
tの値を更新し(ステップS27)、その更新後の値が
テーブル個数TblQtyに達するまで(ステップS2
8)、上記ステップS23からの処理を繰り返す。例え
ば、上記の例では、テーブル検索用カウンタSrcCn
tの値は「1」に更新されるが、テーブル個数つまり
「4」には達しないので、上記ステップS23に処理が
戻され、文字検索用カウンタChrCntが初期化され
た後、ステップS24に於いて、入力文字コードとの比
較が行われる。即ち、今度は、テーブルナンバTblN
um[3]の文字コードChrCod[0]の文字コー
ドつまり「41H 」と比較されることとなる。そして、
この場合は、両者が一致するので、そのフォントテーブ
ルのその文字コードに対応するフォントデータ、つまり
テーブルナンバTblNum[3]のフォントデータC
hrDat[0]のフォントデータが読出すべきフォン
トデータとして決定される(ステップS29)。
That is, the table search counter SrcCn
The value of t is updated (step S27), and until the updated value reaches the number of tables TblQty (step S2).
8) The process from step S23 is repeated. For example, in the above example, the table search counter SrcCn
Although the value of t is updated to "1", but does not reach the number of tables, that is, "4", the process returns to step S23, and the character search counter ChrCnt is initialized. Is compared with the input character code. That is, this time, the table number TblN
The character code of um [3] is compared with the character code of ChrCod [0], that is, “41 H ”. And
In this case, since they match, the font data corresponding to the character code in the font table, that is, the font data C of the table number TblNum [3]
The font data of hrDat [0] is determined as the font data to be read (step S29).

【0024】このように、該当するフォントデータが無
い場合は、次々に、フォントテーブルを更新し続け、ど
こかで該当する文字コードが有れば、この検索処理を終
了する。
As described above, if there is no corresponding font data, the font table is continuously updated, and if there is a corresponding character code somewhere, the search process is terminated.

【0025】一方、例えば入力文字コードInpCod
として文字「G」を示す「47H 」が入力されていたと
すれば、上記のステップS23乃至ステップS28の処
理を繰り返したとしても、一致する文字コードChrC
od[n]が無い。この場合には、テーブルナンバTb
lNum[0]のフォントテーブルの最後の文字コード
ChrCod[4]との不一致が判定され、その後に更
新されたテーブル検索用カウンタSrcCntの値がテ
ーブル個数TblQtyに達してしまうので、該当フォ
ントパターン無しとして(ステップS30)、エラー終
了とする。
On the other hand, for example, the input character code InpCod
If “47 H ” indicating the character “G” has been input, the same character code ChrC is obtained even if the processing of steps S23 to S28 is repeated.
There is no odd [n]. In this case, the table number Tb
A mismatch with the last character code ChrCod [4] of the font table of 1Num [0] is determined, and the value of the updated table search counter SrcCnt reaches the table number TblQty. (Step S30), the process ends with an error.

【0026】以上のように、フォントデータに対し、他
のフォントデータとの新旧が判別できるような情報を持
ち、常に、新しいフォントデータを用いるよう制御を行
うようにしているので、更新すべき必要なフォントデー
タのみの追加で良くなる。また、フォントデータの追加
方法(場所)に自由度があるため、いろいろな手法(外
付け,ダウンロード)によるバージョンアップが可能と
なる。
As described above, the font data has information that allows the discrimination between new font data and old font data, and the font data is always controlled to use the new font data. It can be improved by adding only font data. In addition, since there is a degree of freedom in a method (location) of adding font data, it is possible to upgrade the version by various methods (external or download).

【0027】なお、本発明の上記実施態様によれば以下
のごとき構成が得られる。 (1) 指定された印字情報内に含まれる文字コードに
対応するフォントデータをフォントテーブルから検索す
る検索手段と、該検索手段によって検索されたフォント
データを読出し出力する読出し手段とを有するフォント
データ読出し装置に於いて、上記フォントテーブルは、
それぞれ登録時期の異なる複数種類のフォントテーブル
を含み、上記検索手段は、各フォントテーブルの登録時
期識別情報を有し、上記文字コードに対応するフォント
データを該登録時期識別情報をもとに最新のフォントテ
ーブルから優先的に検索することを特徴とするフォント
データ読出し装置。
According to the above embodiment of the present invention, the following configuration can be obtained. (1) Font data readout having search means for searching a font table for font data corresponding to a character code included in designated print information, and readout means for reading and outputting the font data searched by the search means In the device, the font table is
Each of the font tables includes a plurality of types of font tables having different registration times. The search means has registration time identification information of each font table, and font data corresponding to the character code is updated based on the registration time identification information. A font data reading device which preferentially searches a font table.

【0028】(2) 上記フォントデータは文字コード
単位で更新され、上記複数のフォントテーブルは、全て
の文字コードに対応するフォントデータを含む少なくと
も一つのフォントテーブルと、上記文字コード単位で更
新されたフォントデータを含み且つ非更新フォントデー
タは持たない少なくとも一つのフォントテーブルとを含
むことを特徴とする(1)に記載のフォントデータ読出
し装置。
(2) The font data is updated in units of character codes, and the plurality of font tables are updated in at least one font table including font data corresponding to all character codes and in units of the character codes. The font data reading device according to (1), further including at least one font table including font data and not having non-updated font data.

【0029】(3) 上記登録時期識別情報は、文字制
御プログラムの初期時に、各フォントテーブルを参照し
て作成された検索用テーブルであることを特徴とする
(1)に記載のフォントデータ読出し装置。
(3) The font data reading device according to (1), wherein the registration time identification information is a search table created by referring to each font table at the beginning of the character control program. .

【0030】(4) 各フォントテーブルは、当該フォ
ントテーブルを識別するためのテーブルナンバと当該フ
ォントテーブルの登録時期を示すバージョンデータとを
含み、上記検索用テーブルは、上記テーブルナンバを上
記バージョンデータ順にソートして作成されることを特
徴とする(3)に記載のフォントデータ読出し装置。
(4) Each font table includes a table number for identifying the font table and version data indicating the registration time of the font table. The search table stores the table numbers in the order of the version data. The font data reading device according to (3), which is created by sorting.

【0031】(5) 上記複数のフォントテーブルは、
当該フォントデータ読出し装置に内蔵の複数のフォント
テーブルを含むことを特徴とする(1)に記載のフォン
トデータ読出し装置。
(5) The plurality of font tables are:
The font data reading device according to (1), wherein the font data reading device includes a plurality of built-in font tables.

【0032】(6) 上記複数のフォントテーブルは、
当該フォントデータ読出し装置に外付けされる複数のフ
ォントテーブルを含むことを特徴とする(1)に記載の
フォントデータ読出し装置。
(6) The plurality of font tables are:
The font data reading device according to (1), including a plurality of font tables external to the font data reading device.

【0033】(7) 上記複数のフォントテーブルは、
当該フォントデータ読出し装置に内蔵の少なくとも一つ
のフォントテーブルと、当該フォントデータ読出し装置
に外付けされる少なくとも一つのフォントテーブルを含
むことを特徴とする(1)に記載のフォントデータ読出
し装置。
(7) The plurality of font tables are:
The font data reading device according to (1), including at least one font table built in the font data reading device and at least one font table external to the font data reading device.

【0034】(8) それぞれ登録時期の異なる複数種
類のフォントテーブルを用意し、各フォントテーブルの
登録時期識別情報を作成し、指定された印字情報内に含
まれる文字コードに対応するフォントデータをフォント
テーブルから検索する際に、上記登録時期識別情報をも
とに最新のフォントテーブルから優先的に検索すること
を特徴とするフォントデータ読出し方法。
(8) A plurality of types of font tables having different registration times are prepared, registration time identification information of each font table is created, and font data corresponding to the character code included in the specified print information is converted to a font. A font data reading method, wherein when searching from a table, the latest font table is preferentially searched based on the registration time identification information.

【0035】(9) 上記フォントデータは文字コード
単位で更新され、上記複数のフォントテーブルは、全て
の文字コードに対応するフォントデータを含む少なくと
も一つのフォントテーブルと、上記文字コード単位で更
新されたフォントデータを含み且つ非更新フォントデー
タは持たない少なくとも一つのフォントテーブルとを含
むことを特徴とする(8)に記載のフォントデータ読出
し方法。
(9) The font data is updated in units of character codes, and the plurality of font tables are updated in units of at least one font table including font data corresponding to all character codes. The font data reading method according to (8), further including at least one font table including font data and not having non-updated font data.

【0036】(10) 上記登録時期識別情報は、文字
制御プログラムの初期時に、各フォントテーブルを参照
して作成された検索用テーブルであることを特徴とする
(8)に記載のフォントデータ読出し方法。
(10) The font data reading method according to (8), wherein the registration time identification information is a search table created by referring to each font table at the beginning of the character control program. .

【0037】(11) 各フォントテーブルは、当該フ
ォントテーブルを識別するためのテーブルナンバと当該
フォントテーブルの登録時期を示すバージョンデータと
を含み、上記検索用テーブルは、上記テーブルナンバを
上記バージョンデータ順にソートして作成されることを
特徴とする(10)に記載のフォントデータ読出し方
法。
(11) Each font table includes a table number for identifying the font table and version data indicating the registration time of the font table. The search table stores the table numbers in the order of the version data. The font data reading method according to (10), wherein the font data is created by sorting.

【0038】(12) 上記複数のフォントテーブル
は、当該フォントデータ読出し方法の適用されるフォン
トデータ読出し装置に内蔵の複数のフォントテーブルを
含むことを特徴とする(8)に記載のフォントデータ読
出し方法。
(12) The font data reading method according to (8), wherein the plurality of font tables include a plurality of font tables built in a font data reading device to which the font data reading method is applied. .

【0039】(13) 上記複数のフォントテーブル
は、当該フォントデータ読出し方法の適用されるフォン
トデータ読出し装置に外付けされる複数のフォントテー
ブルを含むことを特徴とする(8)に記載のフォントデ
ータ読出し方法。
(13) The font data according to (8), wherein the plurality of font tables include a plurality of font tables external to a font data reading device to which the font data reading method is applied. Read method.

【0040】(14) 上記複数のフォントテーブル
は、当該フォントデータ読出し方法の適用されるフォン
トデータ読出し装置に内蔵の少なくとも一つのフォント
テーブルと、該フォントデータ読出し装置に外付けされ
る少なくとも一つのフォントテーブルを含むことを特徴
とする(8)に記載のフォントデータ読出し方法。
(14) The plurality of font tables include at least one font table built in the font data reading device to which the font data reading method is applied, and at least one font externally attached to the font data reading device. The font data reading method according to (8), further comprising a table.

【0041】[0041]

【発明の効果】以上詳述したように、本発明によれば、
フォントデータ(デザイン)の変更、修正及びリニュー
アルを効率良く行い得るフォントデータ読出し装置を提
供することができる。
As described in detail above, according to the present invention,
A font data reading device capable of efficiently changing, modifying, and renewing font data (design) can be provided.

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

【図1】本発明の一実施例のフォントデータ読出し装置
の適用された印字装置のブロック構成図である。
FIG. 1 is a block diagram of a printing apparatus to which a font data reading device according to an embodiment of the present invention is applied.

【図2】(A)はフォントテーブルのデータ構成を示す
図であり、(B)は検索用テーブルのデータ構成を示す
図である。
FIG. 2A is a diagram illustrating a data configuration of a font table, and FIG. 2B is a diagram illustrating a data configuration of a search table;

【図3】(A)はフォントテーブルの具体例を示す図で
あり、(B)は検索用テーブルの具体例を示す図であ
る。
FIG. 3A is a diagram illustrating a specific example of a font table, and FIG. 3B is a diagram illustrating a specific example of a search table;

【図4】(A)は初期化プログラムのフローチャートで
あり、(B)はフォントテーブル検索プログラムのフロ
ーチャートである。
FIG. 4A is a flowchart of an initialization program, and FIG. 4B is a flowchart of a font table search program.

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

10…外部機器、20…印字装置本体、21…受信デー
タバッファ、22…コマンド解析部、23…実行コード
データバッファ、24…コマンド実行部、24A…検索
用テーブル、25…描画データバッファ、26…描画
部、27…イメージメモリ、28…ビデオインタフェー
ス(I/F)部、29…印字制御部、30…内蔵フォン
トテーブル(CGROM)、31…内蔵フォントテーブ
ル(CGRAM)、32…外部フォントテーブル(CG
ROM)、33…外部フォントテーブル(CGRA
M)、TblNum…テーブルナンバ、VerDat…
バージョンデータ、ChrQty…文字数、ChrCo
d[n]…文字コード、ChrDat[n]…文字パタ
ーン(フォント)データ、TblQty…テーブル個
数、TblNum[n]…テーブルナンバ。
DESCRIPTION OF SYMBOLS 10 ... External equipment, 20 ... Printing apparatus main body, 21 ... Reception data buffer, 22 ... Command analysis part, 23 ... Execution code data buffer, 24 ... Command execution part, 24A ... Search table, 25 ... Drawing data buffer, 26 ... Drawing unit, 27: Image memory, 28: Video interface (I / F) unit, 29: Print control unit, 30: Built-in font table (CGROM), 31: Built-in font table (CGRAM), 32: External font table (CG)
ROM), 33 ... external font table (CGRA)
M), TblNum ... Table number, VerDat ...
Version data, ChrQty ... number of characters, ChrCo
d [n]: character code, ChrDat [n]: character pattern (font) data, TblQty: number of tables, TblNum [n]: table number.

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 2/485 G06F 3/12 G06F 17/21Continued on the front page (58) Fields surveyed (Int.Cl. 6 , DB name) B41J 5/30 B41J 2/485 G06F 3/12 G06F 17/21

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 指定された印字情報内に含まれる文字コ
ードに対応するフォントデータをフォントテーブルから
検索する検索手段と、該検索手段によって検索されたフ
ォントデータを読出し出力する読出し手段とを有するフ
ォントデータ読出し装置に於いて、 前記フォントテーブルは、文字コード単位で新たなフォ
ントデータが登録された際増設登録された、それぞれ登
録時期の異なる複数種類のフォントテーブルを含み、前
記検索手段は、各フォントテーブルの登録識別情報を有
し、前記文字コードに対応するフォントデータを該登録
時期識別情報をもとに最新のフォントテーブルから優先
的に検索することを特徴とするフォントデータ読出し装
置。
1. A font comprising: a search unit for searching a font table for font data corresponding to a character code included in designated print information; and a reading unit for reading and outputting the font data searched by the search unit. In the data reading device, the font table stores a new font for each character code.
A plurality of types of font tables registered at different times when registration data was registered, each having a different registration time, wherein the search means has registration identification information of each font table and stores font data corresponding to the character code. A font data reading device for preferentially searching the latest font table based on the registration time identification information.
【請求項2】 前記フォントデータは、文字コード単位
で更新され、前記複数のフォントテーブルは、全ての文
字コードに対応するフォントデータを含む少なくとも一
つの当初から備えられたフォントテーブルと、前記文字
コード単位で更新されたフォントデータを含み且つ非更
新フォントデータは持たない少なくとも一つの増設フォ
ントテーブルとを含むことを特徴とする請求項1に記載
のフォントデータ読出し装置。
2. The method according to claim 1, wherein the font data is updated in units of character codes, and the plurality of font tables include at least one initially provided font table including font data corresponding to all character codes; 2. The font data reading device according to claim 1, further comprising at least one additional font table including font data updated in units and not having non-updated font data.
JP6071934A 1994-04-11 1994-04-11 Font data reading device Expired - Fee Related JP2787095B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6071934A JP2787095B2 (en) 1994-04-11 1994-04-11 Font data reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6071934A JP2787095B2 (en) 1994-04-11 1994-04-11 Font data reading device

Publications (2)

Publication Number Publication Date
JPH07276718A JPH07276718A (en) 1995-10-24
JP2787095B2 true JP2787095B2 (en) 1998-08-13

Family

ID=13474847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6071934A Expired - Fee Related JP2787095B2 (en) 1994-04-11 1994-04-11 Font data reading device

Country Status (1)

Country Link
JP (1) JP2787095B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3091535B2 (en) * 1991-08-23 2000-09-25 日本ヒューレット・パッカード株式会社 Font data management method

Also Published As

Publication number Publication date
JPH07276718A (en) 1995-10-24

Similar Documents

Publication Publication Date Title
KR0167617B1 (en) Printing control apparatus and method of the same
US7752290B2 (en) Information processing apparatus connectable to peripheral device, controlling method, and computer-readable storage medium storing control program thereon
EP1194293A1 (en) Method and apparatus for replacing or modifying a postscript built-in font in a printer
EP0777175A1 (en) Printer with code conversion tables
JP2787095B2 (en) Font data reading device
JP2004078744A (en) Information processor and method, and control program
KR960012763B1 (en) Character processing in window system
JP2974322B2 (en) Character processing apparatus and method
JP2875403B2 (en) Printing equipment
JP3100268B2 (en) Printing equipment
JP4239392B2 (en) Printing apparatus, printing system, and printing method
JPH08185295A (en) Printer and its control method
JPH05147275A (en) Printing device
JP3121103B2 (en) Character processing apparatus and method
JP2595978B2 (en) Font management device
JP2869923B2 (en) Printing control device
JPH08156371A (en) Image output device, host computer and network housing both of them
JP2921899B2 (en) Printing operation control device
JPH07276719A (en) Font data-reading device
JP3554053B2 (en) Printing method and apparatus
JPH02235669A (en) Printer
JP2821309B2 (en) Printing apparatus and method
JP3267458B2 (en) Output device and output method
JP2020135833A (en) Image processing system, print control system, and program
JP2595086B2 (en) Output control device and ruled line generation method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100605

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees