JPH0197663A - Compression of font data - Google Patents

Compression of font data

Info

Publication number
JPH0197663A
JPH0197663A JP62255118A JP25511887A JPH0197663A JP H0197663 A JPH0197663 A JP H0197663A JP 62255118 A JP62255118 A JP 62255118A JP 25511887 A JP25511887 A JP 25511887A JP H0197663 A JPH0197663 A JP H0197663A
Authority
JP
Japan
Prior art keywords
font
data
emulation
resident
printer
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
JP62255118A
Other languages
Japanese (ja)
Inventor
Toshikatsu Suzuki
敏克 鈴木
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP62255118A priority Critical patent/JPH0197663A/en
Publication of JPH0197663A publication Critical patent/JPH0197663A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To reduce communication time for downloading from a host computer by reading the font data and link data for emulating, and then composing all the font data required for the emulation. CONSTITUTION:Emulation font data are stored in a memory within a host computer or an external storage. The data include special font data EFa for part of an emulation font containing no character image corresponding to a resident font RF stored in a ROM; and linkdata LD indicating the correlation between the common data in the resident font RF and the emulation font. According to this method, the data of the emulation font can be compressed to a great extent, and this decreases the necessary memory capacity and the time required for communication with the host computer.

Description

【発明の詳細な説明】 五4分互 この発明は、1組以上のレジデントフォントを保持し、
複数のプリンタエミュレーションが可能なプリンタにお
けるフォントデータ圧縮方式に関する。
DETAILED DESCRIPTION OF THE INVENTION This invention maintains one or more sets of resident fonts,
This invention relates to a font data compression method for a printer capable of multiple printer emulations.

従来1生 従来から、例えばレーザプリンタ等の光プリンタにおい
ては、各種のプリンタエミュレーションが可能なものが
あり、同じプリンタでデージホイールプリンタやワイヤ
ドツトプリンタのような種類の異なるプリンタに代る動
作をさせたり、各社のプリンタ仕様に合せた動作をさせ
たりすることができる。
Conventionally, for example, optical printers such as laser printers have been capable of various types of printer emulation, and it has been possible to use the same printer to operate in place of different types of printers, such as age wheel printers and wire dot printers. , it is possible to perform operations that match the printer specifications of each company.

その場合、あるエミュレーションを実行するには、その
エミュレーションを実行するためのプログラムデータ(
エミュレーションプログラム)と。
In that case, to run a certain emulation, the program data (
emulation program).

そのエミュレーションに必要なフォントデータ(エミュ
レーションフォント)が不可欠である。
Font data (emulation font) necessary for the emulation is essential.

そのため、従来は各エミュレーション毎に、そのプリン
タ仕様によるエミュレーションフォントをキャラクタセ
ットの全てについて用意していたので、エミュレーショ
ンプログラムとこのエミュレーションフォントとで非常
に多量のデータとなっていた。
For this reason, conventionally, emulation fonts based on the printer specifications were prepared for all character sets for each emulation, resulting in an extremely large amount of data between the emulation program and the emulation fonts.

このデータは、プリンタ内部のROMに格納されたり、
プリンタに接続可能な外部記憶装置あるいはホストコン
ピュータ等から得ていた。
This data is stored in the ROM inside the printer,
The information was obtained from an external storage device or host computer that could be connected to the printer.

しかしながら、データ量が多いため、内部のROMある
いは外部記憶装置として大容量のものが必要になるので
コストが高くなるという問題があり、ホストコンピュー
タからダウンロードする場合には通信時間が長くかかる
という問題があった。
However, since the amount of data is large, it requires a large capacity internal ROM or external storage device, resulting in high costs, and when downloading from a host computer, it takes a long time to communicate. there were.

1−煎 この発明は上記の点に鑑みてなされたものであり、エミ
ュレーションフォントのデータ量を圧縮して、記憶装置
の容量を軽減し、あるいはホストコンピュータからダウ
ンロードする際の通信時間を短縮することを目′的とす
る。
1-1 This invention was made in view of the above points, and it is an object of the present invention to compress the amount of data of an emulation font to reduce the capacity of a storage device or to shorten the communication time when downloading from a host computer. With the goal.

皇−鬼 この発明は上記の目的を達成するため、複数のプリンタ
エミュレーションが可能なプリンタにおいては、常に1
組以上のキャラクタセットを構成するフォントデータを
ROMに格納保持している(このフォントデータをこの
明細書中では「レジデントフォント」と称する)ことに
着目して、エミユレーション用のフォントデータとして
1、レジデントフォントに対応するキャラクタイメージ
がない一部の専用フォントデータと、レジデントフォン
トに対応するキャラクタイメージがあるフォントデータ
についての当該エミュレーションに必要なフォントデー
タとの対応関係を示すリンクデータとを記憶させておき
、エミュレーションを実行する際に、上記専用のフォン
トデータとリンクデータとを読み出し、上記レジデント
フォントを利用してエミュレーションに必要な全てのフ
ォントデータを完成させるフォントデータ圧縮方式を提
供する。
In order to achieve the above-mentioned purpose, this invention always uses one printer in a printer capable of multiple printer emulations.
Focusing on the fact that font data constituting more than one character set is stored and maintained in the ROM (this font data is referred to as a "resident font" in this specification), one type of font data for emulation is created. , store link data indicating the correspondence between some dedicated font data that does not have a character image corresponding to the resident font and font data necessary for the emulation of the font data that has a character image that corresponds to the resident font. To provide a font data compression method which reads out the dedicated font data and link data and completes all the font data necessary for emulation by using the resident font when executing emulation.

以下、この発明の一実施例に基づいて具体的に説明する
Hereinafter, a detailed explanation will be given based on one embodiment of the present invention.

第2図は、この発明を実施した光プリンタにおけるプリ
ンタコントローラの構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a printer controller in an optical printer embodying the present invention.

このプリンタコントローラは、ホストインタフェース1
.外部記憶装置インタフェース(I/F’)2、CPU
3.プログラムメモリであるROM4゜データメモリで
あるRAMP、及びエンジンインタフェース6によって
構成されている。
This printer controller has host interface 1
.. External storage device interface (I/F') 2, CPU
3. It is composed of a ROM 4 which is a program memory, a RAMP which is a data memory, and an engine interface 6.

ホストインタフェース1は、オフィスコンピュータ、パ
ーソナルコンピュータ、ワードプロセッサ等(総称して
「ホストコンピュータ」という)と接続するためのイン
タフェースであり、ホストコンピュータに合せて各種パ
ラレルインタフェースあるいはシリアルインタフェース
を選択することができる。
The host interface 1 is an interface for connecting to an office computer, a personal computer, a word processor, etc. (collectively referred to as a "host computer"), and various parallel interfaces or serial interfaces can be selected depending on the host computer.

外部記憶装置インタフェース2は、このプリンタに着脱
可能なフォントカートリッジやエミュレーションカード
あるいはフロッピディスク装置等の外部記憶装置に内蔵
するROM又はRAMあるいはフロッピディスク等に格
納されているデータを読み出すためのインタフェースで
ある。
The external storage device interface 2 is an interface for reading data stored in a ROM, RAM, floppy disk, etc. built into an external storage device such as a removable font cartridge, emulation card, or floppy disk device in this printer. .

CPtには、このプリンタコントローラ全体を7統括制
御する中央処理装置であり、汎用の16ビツト又は32
ビツトのCPUを使用する。
The CPt is a central processing unit that centrally controls the entire printer controller, and is a general-purpose 16-bit or 32-bit central processing unit.
Uses Bit CPU.

ROM4は、このプリンタコントローラを動作させるた
めのCPU3の各種処理プログラムと。
The ROM 4 contains various processing programs for the CPU 3 to operate this printer controller.

少くとも1組のキャラクタセットを構成するレジデント
フォントのデータを格納している。
Stores data of resident fonts that constitute at least one character set.

RAM5は、大容量のランダムアクセスメモリであり、
主として次のような用途に使用される。
RAM5 is a large capacity random access memory,
It is mainly used for the following purposes.

(a)インプットバッファ (b)ページバッファ(e
)ビデオバッファ   (d)フォントファイル(e)
システムメモリ なお、(a)〜(c)の各バッファ及び(d)のフォン
トファイルは、システムメモリとして使用する以外のR
AM領域を必要な量だけ事前に確保して使用する。
(a) Input buffer (b) Page buffer (e
) Video buffer (d) Font file (e)
System memory Note that each buffer in (a) to (c) and the font file in (d) are
To secure and use the required amount of AM area in advance.

インプットバッファは、ホストコンピュータからホスト
インタフェース1を通して送られてくるデータを一時的
に保持しておくためのバッファであり、それをプリンタ
ソフトウェアにより順次取り出して、そのデータが実際
に記憶されているソースアドレスとビデオバッファのど
こにビデオデータを作るかを指定するディスティネーシ
ョンアドレス及びサイズの情報等を付加してページバッ
ファにページデータを作る。
The input buffer is a buffer that temporarily holds data sent from the host computer through the host interface 1, and is sequentially retrieved by the printer software to locate the source address where the data is actually stored. Then, page data is created in the page buffer by adding information such as a destination address and size that specify where in the video buffer the video data is to be created.

このページデータとフォントファイルのフォントデータ
(ソースデータ)を用いて、ビデオバッファ上にビデオ
データを作成する。
Using this page data and font data (source data) of the font file, video data is created on the video buffer.

フォントファイルには、ホストコンピュータからホスト
インタフェース1を通し転送されるか、あるいは外部記
憶装置からインターフェイス2を通して読み出されるエ
ミュレーションフォントに関するデータと、ROM4に
保持しているレジデントフォントデータとによって完成
されるエミュレーションフォントデータがロードされる
The font file includes emulation font data that is completed by emulation font data transferred from the host computer through host interface 1 or read from an external storage device through interface 2, and resident font data held in ROM 4. Data is loaded.

エンジンインターフェイス6は、作像部及びそのシーケ
ンスコントローラを含むプリンタエンジンに接続するた
めのシリアルインタフェースであり、プリントが開始さ
れると、RAM55上のビデオバッファに作成されたビ
デオデータをCPU3が読み出し、それをエンジンドラ
イバからの書込クロック同期してシリアルの書込信号に
変換して順次出力する。
The engine interface 6 is a serial interface for connecting to a printer engine including an image forming unit and its sequence controller. When printing is started, the CPU 3 reads out the video data created in the video buffer on the RAM 55, and processes it. is converted into a serial write signal in synchronization with the write clock from the engine driver and sequentially output.

次に、第1図を参照してこの実施例によるフォントデー
タ圧縮方式について説明する。
Next, the font data compression method according to this embodiment will be explained with reference to FIG.

このプリンタによって実行する各種エミュレーションに
必要なデータのうち、エミュレーションプログラムのデ
ータは従来どおりホストコンピュータ内のメモリあるい
は外部記憶装置に格納しているが、エミュレーションフ
ォントのデータとしては、第2図のROM4に格納され
ているレジデントフォントRFに対応するキャラクタイ
メージがないエミュレーションフォントの一部の専用フ
ォントデータEFaと、レジデントフォントRFにある
共通文字データCFについてのエミュレーションフォン
トとの対応関係を示すリンクデータLDとをホストコン
ピュータ内のメモリあるいは外部記憶装置に格納してお
く。
Among the data necessary for the various emulations executed by this printer, the emulation program data is stored in the host computer's internal memory or external storage device as before, but the emulation font data is stored in the ROM4 shown in Figure 2. Dedicated font data EFa that is part of the emulation font that does not have a character image corresponding to the stored resident font RF, and link data LD that indicates the correspondence relationship between the common character data CF in the resident font RF and the emulation font. It is stored in the memory within the host computer or in an external storage device.

それによって、エミュレーションフォントのデータを大
幅に圧縮することができ、メモリの記憶量の軽減あるい
はホストコンピュータとの通信時間の短縮を計ることが
できる。
As a result, the data of the emulation font can be significantly compressed, and the amount of memory storage or communication time with the host computer can be reduced.

そして、プリンタがそのエミュレーションを実行する際
には、第2図のホストインタフェース1あるいは外部記
憶装置インタフェース2を通して、エミュレーションプ
ログラムと共に上述した専用フォントデータEFaとリ
ンクデータLDとを読み出して、リンクデータLDによ
ってレジデントフォントデータRF中の共通文字データ
CFを利用して対応づけ、専用フォントデータEFaと
組合せてエミュレーションに必要な全てのフォントデー
タ(エミュレーションフォント)EFを完成させて、第
2図のRAM5内のフォントファイルにロードする。
When the printer executes the emulation, it reads out the dedicated font data EFa and link data LD together with the emulation program through the host interface 1 or external storage interface 2 shown in FIG. The common character data CF in the resident font data RF is used to make a correspondence and combined with the dedicated font data EFa to complete all the font data (emulation font) EF necessary for emulation, and the font in RAM 5 shown in Figure 2 is created. Load into file.

ここで、レジデントフォントとエミュレーションフォン
ト及びリンクデータについて、第3図を参照して具体的
に説明する。
Here, the resident font, emulation font, and link data will be specifically explained with reference to FIG.

同一の書体及び大きさの文字でキャラクタセットが異な
る、あるいは文字コードとキャラクタイメージの対応が
異なるフォントaとフォントa/。
Font a and font a/ have the same font and size but different character sets, or different correspondences between character codes and character images.

フォントbとフォントb′があると仮定する。Assume that there are font b and font b'.

フォントa及びフォントbはレジデントフォントであり
、フォントa′とフォントb′はエミュレーションフォ
ントである。そして、第3図中のaXX、a’ XX、
bXX、b’ XXは文字コードを示す。
Font a and font b are resident fonts, and font a' and font b' are emulation fonts. And aXX, a' XX, in Figure 3
bXX, b' XX indicate character codes.

エミュレーションフォント(フォントa′及びフォント
b’)のうち、斜線部はレジデントフォント(フォント
a、フォントb)に存在しないキャラクタイメージであ
り、別途用意しなければならない専用のフォントデータ
である。それ以外はレジデントフォント内にキャラクタ
イメージが存在するので、キャラクタイメージのデータ
を用意する必要がなく1文字コードの対応関係を示す次
ページに例示するようなリンクデータを用意すればよい
Among the emulation fonts (font a' and font b'), the shaded portions are character images that do not exist in the resident fonts (font a, font b), and are dedicated font data that must be prepared separately. In other cases, since the character image exists in the resident font, there is no need to prepare character image data, and it is sufficient to prepare link data such as the one illustrated on the next page that shows the correspondence between single character codes.

そして、プリンタエミュレーション実行の際には、この
リンクデータを用いてレジデントフォントのキャラクタ
イメージを共有あるいはコピーすることにより、斜線部
以外の専用のフォントデータとでエミュレーションフォ
ントに必要な全てのキャラクタイメージを用意すること
ができる。
Then, when executing printer emulation, by sharing or copying the character image of the resident font using this link data, all character images necessary for the emulation font are prepared with dedicated font data other than the shaded area. can do.

以上説明したように、この発明によればエミュレーショ
ンフォントのデータ量を圧縮できるので、それを記憶す
るためのメモリの容量を軽減できる。
As explained above, according to the present invention, the amount of data of an emulation font can be compressed, so the capacity of the memory for storing it can be reduced.

エミュレーションのプログラム及びフォントデータをホ
ストコンピュータから送る場合には、そのデータ量が減
るので通信時間を短縮できる。プリンタ内部のメモリを
使用する場合も有効に使用できる。
When sending the emulation program and font data from the host computer, the amount of data is reduced, so communication time can be shortened. It can also be effectively used when using the printer's internal memory.

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

第1図はこの発明によるフォントデータ圧縮方式第2図
はこの発明を実施した光プリンタにおけるプリンタコン
トローラの構成を示すブロック図。 第3図はレジデントフォントとエミュレーションフォン
トの例を示す説明図である。 1・・・ホストインタフェース 2・・・外部記憶装置インタフェース 3・・・cpty    4・・・ROM    5・
・・RA M6°°°エンジンインタフェース
FIG. 1 is a font data compression method according to the present invention. FIG. 2 is a block diagram showing the configuration of a printer controller in an optical printer embodying the present invention. FIG. 3 is an explanatory diagram showing an example of resident fonts and emulation fonts. 1...Host interface 2...External storage device interface 3...cpty 4...ROM 5.
・・RA M6°°°Engine Interface

Claims (1)

【特許請求の範囲】 1 1組以上のレジデントフオントを保持し、複数のプ
リンタエミュレーションが可能なプリンタにおいて、 エミュレーション用のフォントデータとして、前記レジ
デントフオントに対応するキャラクタイメージがない一
部の専用フォントデータと、前記レジデントフオントデ
ータに対応するキャラクタイメージがあるフォントデー
タについての当該エミュレーションに必要なフォントデ
ータとの対応関係を示すリンクデータとを記憶させてお
き、エミュレーションを実行する際に、前記専用のフォ
ントデータとリンクデータとを読み出し、前記レジデン
トフオントを利用してエミュレーションに必要な全ての
フォントデータを完成させることを特徴とするフォント
データ圧縮方式。
[Claims] 1. In a printer that holds one or more sets of resident fonts and is capable of multiple printer emulations, some dedicated font data that does not have a character image corresponding to the resident font is used as font data for emulation. and link data indicating the correspondence between the font data that has a character image corresponding to the resident font data and the font data necessary for the emulation, and when executing the emulation, the dedicated font is stored. A font data compression method characterized in that data and link data are read out and all font data necessary for emulation is completed using the resident font.
JP62255118A 1987-10-09 1987-10-09 Compression of font data Pending JPH0197663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62255118A JPH0197663A (en) 1987-10-09 1987-10-09 Compression of font data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62255118A JPH0197663A (en) 1987-10-09 1987-10-09 Compression of font data

Publications (1)

Publication Number Publication Date
JPH0197663A true JPH0197663A (en) 1989-04-17

Family

ID=17274341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62255118A Pending JPH0197663A (en) 1987-10-09 1987-10-09 Compression of font data

Country Status (1)

Country Link
JP (1) JPH0197663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580951A (en) * 1991-03-29 1993-04-02 Fujitsu Ltd Printing control system of printing process system
JPH0588826A (en) * 1991-03-29 1993-04-09 Fujitsu Ltd Control system of character resources

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580951A (en) * 1991-03-29 1993-04-02 Fujitsu Ltd Printing control system of printing process system
JPH0588826A (en) * 1991-03-29 1993-04-09 Fujitsu Ltd Control system of character resources

Similar Documents

Publication Publication Date Title
JP2951572B2 (en) Image data conversion method and system
US6456390B1 (en) Image processing device, image processing method and recording medium
US6809832B2 (en) Print control apparatus with decompression, and method and storage medium
JPH0197663A (en) Compression of font data
JPH10329371A (en) Printer memory boost
JPS6214689A (en) Character output controller
JP3230815B2 (en) Printer
JP3203660B2 (en) Image recording device
US20020126311A1 (en) Image processing apparatus
JP3079956B2 (en) Printer
JPH0973408A (en) Data processor and data input/output processing method
JPH05242002A (en) Auxiliary storage device
JPH03276383A (en) Communication system for ic card
JPH0452968B2 (en)
JPH11102268A (en) Printer and printing control method
JPH10235972A (en) Image processing device and method for controlling the device
JPS5953579B2 (en) character compression device
JPH09274546A (en) Printer, data processing method for the same and storage medium storing program readable for computer
JP3053196B2 (en) Image data raster converter
CN115221132A (en) Configuration method and device of flash memory word stock and storage medium
JPH07191822A (en) Data storage device and data system
JPS61149365A (en) Data controlling device
JP2001328298A (en) Method of controlling page printer control device
JPS6337735A (en) Data conversion system in communication processor
JP2000276317A (en) Banding method