JPH02234286A - Font pattern forming device - Google Patents

Font pattern forming device

Info

Publication number
JPH02234286A
JPH02234286A JP1053612A JP5361289A JPH02234286A JP H02234286 A JPH02234286 A JP H02234286A JP 1053612 A JP1053612 A JP 1053612A JP 5361289 A JP5361289 A JP 5361289A JP H02234286 A JPH02234286 A JP H02234286A
Authority
JP
Japan
Prior art keywords
font
pattern
memory
character
ram
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
JP1053612A
Other languages
Japanese (ja)
Other versions
JP2737880B2 (en
Inventor
Satoshi Nagata
聡 永田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1053612A priority Critical patent/JP2737880B2/en
Priority to EP94201793A priority patent/EP0618547B1/en
Priority to EP90302442A priority patent/EP0387039B1/en
Priority to DE69033390T priority patent/DE69033390T2/en
Priority to DE69022756T priority patent/DE69022756T2/en
Publication of JPH02234286A publication Critical patent/JPH02234286A/en
Priority to US08/458,455 priority patent/US5696984A/en
Application granted granted Critical
Publication of JP2737880B2 publication Critical patent/JP2737880B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To improve a whole throughput by expanding a font cache area according to a prescribed rule as RAM capacity is expanded. CONSTITUTION:A font pattern generated in a font pattern generator 204 is stored into a font cache memory 207 so as to be retrievable by a dot image. Further a memory space is dynamically altered so that an expanded RAM port 205, which is not ordinarily used for the storage of a font pattern but is storable by the dot image, ma be incorporated to a part of a font cache memory 207, and the space of the font cache memory 207 to store the font pattern as necessary is increased/decreased. Thus since the font cache area can be expanded according to a prescribed rule as the RAM capacity is expanded, the whole RAM space can be effectively utilized, and the throughput of the whole device can be improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字記号等のフォントパターンを生成する生
成装置に関し、より具体的には、例えば、着脱可能のオ
プションRAMボードを装着した場合におけるフォント
パターン記憶領域の動的なアロケーション(配置)の改
良に関するものである. [従来の技術] 従来、例えばプリンタ等の出力装置のうち、活字プリン
タ以外の文字記号等をドットパターン(以下、フォント
パターン若しくは文字等パターンと呼ぶ)にて、出力す
る多くの出力装置においては、ホストコンピュータ等か
ら与えられる文字コードデータを文字発生器により予め
文字等パターンをフレームバツファメモリ(一ページ分
の画像メモリ)に展開して出力している。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a generation device for generating font patterns such as character symbols, and more specifically, for example, when a removable optional RAM board is installed. This paper concerns improvements to the dynamic allocation (location) of font pattern storage areas. [Prior Art] Conventionally, among output devices such as printers, many output devices other than type printers output characters and symbols in dot patterns (hereinafter referred to as font patterns or character patterns). Character code data given from a host computer or the like is developed in advance into a frame buffer memory (image memory for one page) into a character pattern using a character generator and output.

文字発生器内の文字等パターン情報のもち方については
、次の3通りに大別することができると考えられる. ■:文字等パターンが、単純なドットマトリクスそのも
の(未加工)で構成されるフォント(以下“ドットマト
リクス”と総称する。) ■:文字の輪郭や、ストロークや、若しくは文字原点に
対する座標点で記憶したフォント(以下、“ベクトルフ
ォント”と総称する。) ■:ドットマトリクスパターンを何らかの圧縮技術(例
えば、ランレングス符号化法)を用いて加工した形で構
成されるフォント(以下“圧縮フォント”と総称する。
The way character pattern information is stored in a character generator can be roughly classified into the following three ways. ■: A font in which the character pattern is composed of a simple dot matrix itself (unprocessed) (hereinafter collectively referred to as the "dot matrix") ■: Memorized as the outline of the character, the stroke, or the coordinate point relative to the character origin fonts (hereinafter collectively referred to as "vector fonts") ■: Fonts that are formed by processing a dot matrix pattern using some kind of compression technology (for example, run-length encoding method) (hereinafter referred to as "compressed fonts") collectively.

) このうち、従来の出力装置で最も用いられるのは、“ド
ットマトリクスフォント”である。これは、文字等パタ
ーンそのものをドットマトリクス上に記憶しているため
、フレームバツファメモリへの展開が容易に高速に行な
われるのが、多用されている理由である。
) Among these, "dot matrix fonts" are most commonly used in conventional output devices. The reason this is so widely used is that since the character patterns themselves are stored on a dot matrix, they can be expanded easily and quickly into the frame buffer memory.

しかしながら、出力装置の高機能化、高解像度化に伴い
、文字の回転や変形が要求される様になり、いわゆる“
ベクトルフォント”も一般的に使用され始めている.又
、高解像度化から来るフォントの大容量化に対する方策
として、“圧縮フォント“が使用される様になってきて
いる。更に最近ではこれらの混合型まで登場している.
これらすべてを“非ドットマトリクス型”と称すると、
“非ドットマトリクス型“フォントは、“ドットマトリ
クス型フォントにない長所を持つものの、一般に単純な
“ドットマトリクス型”フォントに比べてフレームバツ
ファメモリへの文字等.バy −ン展開処理時間を多く
要するという短所が存在する。
However, as output devices become more sophisticated and have higher resolution, it becomes necessary to rotate and transform characters, so-called “
"Vector fonts" are also beginning to be commonly used.Also, "compressed fonts" have come to be used as a measure to cope with the increase in font size due to higher resolution.More recently, mixed types of these It has appeared up to.
If all of these are called "non-dot matrix type",
Although "non-dot matrix" fonts have advantages that "dot matrix" fonts do not have, they generally take longer to process characters, etc. in frame buffer memory than do simple "dot matrix" fonts. The disadvantage is that it requires a lot of energy.

これを解決するための方法として、“フォントキャッシ
ュ法”がある。これは、“非ドットマトリクス型”フォ
ントをフレームバツファメモリへ展開する際、前もって
“ドットマトリクス型”フォントに転換してそのパター
ンを記憶、蓄積するもので、全体の処理速度向上に寄与
する方法として、多くの出力装置で採用されている。こ
のためのパターン記憶領域のことをフォントキャッシュ
メモリと呼び、通常本体装置に内蔵するランダムアクセ
スメモリ(RAM)中に、その領域がとられている。
There is a "font cache method" as a method to solve this problem. This is a method that contributes to improving overall processing speed by converting a "non-dot matrix" font to a "dot matrix" type font in advance and storing and storing the pattern when it is expanded to the frame buffer memory. As such, it is used in many output devices. The pattern storage area for this purpose is called a font cache memory, and this area is usually reserved in a random access memory (RAM) built into the main device.

一方、装置自体の拡張性を富ます方法として、全体のR
AM容量をオプションボード等で容易に広げることので
きる装置も多く存在する。この拡張RAMボードは一般
目的に使われのが普通である。
On the other hand, as a method to increase the expandability of the device itself, the overall R
There are also many devices whose AM capacity can be easily expanded using an option board or the like. This expansion RAM board is typically used for general purposes.

[発明が解決しようとする課題] 従って、従来のこの種の機種は、この様な拡張RAMボ
ードを装着しても、フォントキャッシュメモリがそのま
ま固定的に領域確保されているために、フォントキャッ
シュメモリのサイズが実際には増加せず、フォントキャ
ッシュメモリとしては使われることはなく、そのために
、フォントキャッシュメモリの容量が足りなくなると、
既存のキャッシュメモリ内のデータを消去して新たに文
字等パターンを格納するという事態になる。従って、拡
張RAMボードが付加された意味は、少なくともフォン
トキャッシュメモリの観点からは無意味となり、文字等
を可視像として出力することの効率が落ちる原因となっ
ていた。
[Problems to be Solved by the Invention] Therefore, in conventional models of this type, even if such an expansion RAM board is installed, the font cache memory area is fixedly secured, so the font cache memory is does not actually increase in size and is not used as font cache memory, so when the font cache memory runs out of space,
This results in a situation where data in the existing cache memory is erased and new patterns such as characters are stored. Therefore, the addition of the extended RAM board is meaningless, at least from the perspective of the font cache memory, and this causes a drop in the efficiency of outputting characters and the like as visible images.

そこで本発明は、フォントパターンを格納する領域を必
要に応じて動的に変更することのできるフォントパター
ン生成装置を提案することを目的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to propose a font pattern generation device that can dynamically change the area in which font patterns are stored as necessary.

[課題を解決するための手段コ 上記課題を達成するための本発明の構成は、文字記号等
のフォントバクーンを発生するパターン発生手段と、発
生されたフォントパターンをドットイメージで検索可能
に記憶する第1の記憶手段と、通常はフォントパターン
の記憶には使用されないが、ドットイメージで記憶可能
な第2の記憶手段と、第2の記憶手段を第1の記憶手段
の一部に組み込むように、メモリ空間を動的に変更する
変更手段とを備えたことを特徴とする。
[Means for Solving the Problems] The configuration of the present invention for achieving the above problems includes a pattern generating means for generating font patterns such as character symbols, and storing the generated font patterns in a searchable manner as dot images. A first storage means, a second storage means which is not normally used for storing font patterns but can be stored as a dot image, and the second storage means is incorporated into a part of the first storage means. , and changing means for dynamically changing the memory space.

[実施例〕 以下添付図面を参照して本発明に好適なる一実施例な詳
細に説明する。この実施例は、“非ドットマトリクス型
”のフォントを扱い、RAM容量が拡張ボード等により
増加可能な出力装置において、RAM容量の拡張に従っ
て、“フォントキャッシュ”領域をある所定のルールで
拡張することを可能としたものである。
[Embodiment] A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings. This embodiment deals with "non-dot matrix" fonts, and in an output device whose RAM capacity can be increased by an expansion board, etc., the "font cache" area is expanded according to a certain predetermined rule as the RAM capacity is expanded. This made it possible.

第2図は本発明に係る実施例のレーザビームプリンタ(
以下、LBPとも称する)の内部構成を示す断面図であ
る.尚、同図に示すレーザビームプリンタは不図示のデ
ータ源から文字等パターンの登録や、定型書式(フォー
ムパターン)の登録を行うことができるものである゜.
図において、10oはLBP本体であり外部に接続した
ホストコンピュータ(201)から供給される文字情報
(文字コード)等を対応する文字等パターン、フォーム
パターン等に変換して記録媒体である用紙上に像形成す
る、300は操作のためのスイッチ及びLED表示器等
が配されている操作パネル、101はLBP 1 00
全体の制御及びホストコンビ二一タから供給される文字
情報等の解析をするプリンタ制御ユニットである。プリ
ンタ制御ユニット101は主に文字情報を対応する文字
等パターンのビデオ信号に変換してレーザドライバ10
2に出力する。レーザドライバ102は半導体レーザ1
03を駆動制御するための回路であり、入力されたビデ
オ信号に応じて半導体レーザ103から発射されるレー
ザ光104をオン・オフ切替する.レーザ光104は回
転多面鏡105で左右方向に振られて静電ドラム106
上に照査され、静電ドラム106上には文字等パターン
の潜像が形成される。この潜像は静電ドラム106周囲
の現像ユニット107により現像されたのち用紙に転写
される。用紙にはカットシ一ト紙を用い、カットシ一ト
紙はLBP 1 00に装着した用紙カセット108に
収納され、給紙ローラ109および搬送ローラ110と
111とにより装置内に取り込まれて静電ドラム106
に供給される.第1図は第2図の出力装置の制御系の構
成例を示す。なお図示の構成による制御系は印刷情報発
生源から送られてきた文字コードデータ及び制御指令を
入力して、レーザビームプリンタ等のページ毎に文書を
印刷する印刷機構により印刷する場合の一例を示してい
る.ここで201は文字コードデータ及び制御指令を発
生する印刷情報発生原としてのホストコンピュータであ
る.202はホストコンピュータ201から発生した文
字コードデータ及び制御指令を受信するための受信用イ
ンタフェース回路からなる入力インタフェース部であり
、203はその文字コードデータ及び制御指令を一次蓄
積するRAMからなる入カバツファメモリである. 204は文字等パターン発生器であり、ランレングス技
法を用いて圧縮符号化された文字等パターンを格納する
ROMとその制御回路とからなり、文字コードデータか
ら各文字等パターンのアドレスを算出するいわゆるコー
ドコンバータ機能を併せもつ。
FIG. 2 shows a laser beam printer according to an embodiment of the present invention (
FIG. 2 is a sectional view showing the internal structure of the LBP (hereinafter also referred to as LBP). The laser beam printer shown in the figure is capable of registering patterns such as characters and regular formats (form patterns) from a data source (not shown).
In the figure, 10o is the LBP main body, which converts character information (character code) etc. supplied from an externally connected host computer (201) into corresponding character patterns, form patterns, etc. and prints it on paper, which is a recording medium. 300 is an operation panel on which operation switches, LED indicators, etc. are arranged; 101 is an LBP 100 that forms an image;
This is a printer control unit that performs overall control and analyzes character information etc. supplied from the host computer. The printer control unit 101 mainly converts text information into a video signal of a corresponding pattern such as text and sends it to the laser driver 10.
Output to 2. Laser driver 102 is semiconductor laser 1
03, and switches on/off the laser beam 104 emitted from the semiconductor laser 103 according to the input video signal. The laser beam 104 is swung left and right by a rotating polygon mirror 105 and is directed to an electrostatic drum 106.
A latent image of a pattern such as a character is formed on the electrostatic drum 106. This latent image is developed by a developing unit 107 around the electrostatic drum 106 and then transferred onto paper. Cut sheet paper is used as the paper, and the cut sheet paper is stored in a paper cassette 108 attached to the LBP 100, taken into the device by a paper feed roller 109 and transport rollers 110 and 111, and transferred to an electrostatic drum 106.
is supplied to FIG. 1 shows an example of the configuration of a control system of the output device shown in FIG. The control system with the illustrated configuration is an example of a case where character code data and control commands sent from a print information generation source are input, and printing is performed by a printing mechanism such as a laser beam printer that prints a document page by page. ing. Here, 201 is a host computer as a print information generation source that generates character code data and control commands. 202 is an input interface section consisting of a receiving interface circuit for receiving character code data and control commands generated from the host computer 201, and 203 is an input buffer memory consisting of a RAM for temporarily storing the character code data and control commands. be. Reference numeral 204 denotes a character pattern generator, which is composed of a ROM that stores character patterns compressed and encoded using the run-length technique and a control circuit thereof, and calculates the address of each character pattern from character code data. It also has a code converter function.

205はRAMカートリッジであり、IMバイトの容量
をもつRAM素子とその制御回路、本体装置に装着する
ためのコネクタ206とからなる。このカートリッジ2
05は、本体装置にソケット212を介して装着される
ことにより、本体プリンタのCPU208のバスと直結
される。
A RAM cartridge 205 is composed of a RAM element with a capacity of IM bytes, its control circuit, and a connector 206 for attachment to the main unit. This cartridge 2
05 is directly connected to the bus of the CPU 208 of the main printer by being attached to the main printer via the socket 212.

207は圧縮符号化された文字等パターンな未加工のド
ットマトリクスパターンに復号化したパターンを記憶、
蓄積するためのRAMからなるフォントキャッシュメモ
リである。このフォントキャッシュメモリに復号化した
文字等パターンを記憶することより、一度使用した文字
を再度復号化するという必要がなくなり、高速印字が可
能となる。
207 stores the decoded pattern into a raw dot matrix pattern, such as a compression-encoded character pattern;
This is a font cache memory consisting of RAM for storage. By storing decoded character patterns in the font cache memory, there is no need to decode once-used characters again, and high-speed printing becomes possible.

208は制御部全体を制御する汎用マイクロプロセッサ
であり、ROM2 1 2を内蔵し、ROMの中に格納
されたプログラムに従って制御系全体を制御する。
208 is a general-purpose microprocessor that controls the entire control section, has a built-in ROM 2 1 2, and controls the entire control system according to a program stored in the ROM.

209は文字等パターン発生器から、一旦フォントキャ
ッシュメモリに展開された文字等パターンをホストコン
ピュータからの印字位置指令に応じて、然るべき位置に
画像展開するためのRAMからなる1ページ分のフレー
ムバツファメモリである。210はフレームバツファメ
モリ209よりのドットパターン情報に従ったビデオ信
号を発生し、ページプリンタ印字111とのインターフ
ェースを行う出力インタフェース部、211は出力イン
タフェース部210からのビデオ信号を受け、このビデ
オ信号による画像情報を印刷するぺ一ジプリンタ、10
1は本制御機構の実装されているCPUボードである. 第3A図乃至第3C図は実施例における“ドットマトリ
ックスフォント”と“非ドットマトリクスフォント”の
実際の記憶法を説明するための図である。第3A図は未
加工の“ドットマトリクスフォント”を視覚的に表わし
た図であり、図中、文字等パターンの“●“の部分が黒
で画像形成され、  ・”の部分が像形成されないこと
を示している.。なお、本文字等パターンは32ドット
幅十32ドット高の構成をとっている。また、図中の■
等は行番号である。“ドットマトリクスパターン”の形
式で第3A図の文字を格納すると128バイト分のメモ
リを要することがわかる.第3B図は、第3A図の如く
に視覚的に表わされる文字等パターンを、ROM又はR
AM中に未加工の“ドットマトリクスパターン”の形式
で収納した場合のメモリの内容を、16進表現で記述し
たものであり、黒く画像形成される部分は対応するビッ
トが“l”1“で像形成しない部分は対応するビットが
“0”で形成される。本実施例においては、フォントキ
ャッシュメモリ207に格納される文字等パターンは、
この第3B図の形態である。第3C図は“非ドットマト
リクスパターン”フォントの形式で収納した場合のメモ
リの内容を16進表現で記述したものであり、.本実施
例の場合にはランレングスの手法を用いた”圧縮フォン
ト”である。このランレングス手法は、具体的には次の
ルールからなりたつ. ■:各符号単位は4ビットである。
Reference numeral 209 is a frame buffer for one page consisting of a RAM, which is used to develop an image of a character pattern, etc., once developed in the font cache memory from a character etc. pattern generator, into an appropriate position according to a print position command from the host computer. It's memory. 210 is an output interface section that generates a video signal according to the dot pattern information from the frame buffer memory 209 and interfaces with the page printer printing 111; 211 receives the video signal from the output interface section 210 and outputs the video signal; Page printer that prints image information by
1 is the CPU board on which this control mechanism is mounted. FIGS. 3A to 3C are diagrams for explaining the actual memorization method of "dot matrix font" and "non-dot matrix font" in the embodiment. Figure 3A is a diagram that visually represents the unprocessed "dot matrix font", and in the diagram, the "●" part of the character pattern etc. is imaged in black, and the "・" part is not imaged. This character pattern is 32 dots wide and 32 dots high.
etc. are line numbers. It can be seen that storing the characters in Figure 3A in the form of a "dot matrix pattern" requires 128 bytes of memory. Figure 3B shows how the visually represented character patterns as shown in Figure 3A can be stored in ROM or R
This is a hexadecimal representation of the memory contents when stored in the unprocessed "dot matrix pattern" format in the AM, and the corresponding bits are "l" and "1" for the parts where the image is formed in black. In the non-image forming portion, the corresponding bit is set to “0”. In this embodiment, the character patterns etc. stored in the font cache memory 207 are as follows:
This is the form shown in FIG. 3B. Figure 3C shows the hexadecimal representation of the contents of the memory when stored in the form of a "non-dot matrix pattern" font. In the case of this embodiment, it is a "compressed font" using a run-length method. Specifically, this run-length method consists of the following rules. ■: Each code unit is 4 bits.

■:1文字のフォントパターンの各水平方向(スキャン
方向)毎に、区切り符号コード”E゛(16進)をもつ
■: Each horizontal direction (scan direction) of the font pattern of one character has a delimiter code "E" (hexadecimal).

◎:コード“E”は、この”E“の後に続くラインパタ
ーンのビットは、すべて“O“にするという意味をもつ
. ■:直前のスキャンラインと全く同じ内容をもつスキャ
ンラインはコード“F”で表す.■:スキャン内の各符
号単位(4ビット)は、“O” (白)、“l” (黒
)の順で表わし、この繰返しとする。
◎: The code “E” means that all bits in the line pattern following this “E” are set to “O”. ■: A scan line that has exactly the same content as the previous scan line is represented by the code “F”. (2): Each code unit (4 bits) within a scan is represented in the order of "O" (white) and "l" (black), and this is repeated.

■:但し、レングスが13個以上の場合は、コード”D
” (16進)と、それに続く1符号単位(4ビット)
の和で表す.即ち、このときのみ、8ビットでレングス
を表す. 例えば、第3C図において、14スキャン目の内容“8
464” (16進)は、左からr″O”が8ビット、
“1”が4ビット、“0”が6ビット、“l”が4ビッ
ト、そして、以下“O″Jで像形成することを表現して
いる。又、24スキャン目の内容″”44D14E” 
(16進)は同じく左から、『“0”が4ビット、“1
”が4ビット、“0“が14ビット(13+1)、“1
”が4ビット、以下“O″Jで像形成することを表現し
ている.以上のルールを用いることにより、第3B図で
表わされる文字等パターンは、39バイト分のメモリし
か要さないことがわかる。
■: However, if the length is 13 or more, code “D”
” (hexadecimal) followed by 1 code unit (4 bits)
Expressed as the sum of That is, only in this case, the length is represented by 8 bits. For example, in FIG. 3C, the content of the 14th scan is "8".
464" (hexadecimal), r"O" is 8 bits from the left,
"1" is 4 bits, "0" is 6 bits, "l" is 4 bits, and hereinafter "O"J represents image formation. Also, the content of the 24th scan is “44D14E”
(Hexadecimal) is also from the left: “4 bits of “0”, “1”
” is 4 bits, “0” is 14 bits (13+1), “1”
” represents 4 bits, hereinafter “O”J, to form an image. By using the above rules, the character etc. pattern represented in Figure 3B requires only 39 bytes of memory. I understand.

本実施例においては、文字等パターン発生器2?4、こ
の技法を用いた“非ドットマトリクスフォント”である
In this embodiment, character pattern generators 2 to 4 are "non-dot matrix fonts" using this technique.

第4A図乃至第4C図はメモリの利用状態を説明するメ
モリマップである。
FIGS. 4A to 4C are memory maps illustrating the state of memory usage.

第4A図は装置全体をCPU2.08から見たときのメ
モリ空間のメモリマップであり、全体16MBの空間を
、各デバイス(メモリ)に割り当てた状態を説明してい
る。08番地乃至FFFFF■番地まではCPU208
の制御プロトコルの格納領域であり、1000008番
地からIFFFFF.番地までは文字等パターン発生器
204の内蔵ROMに割り当てられた空間である.本体
装置に内蔵されるRAMは200008番地から3FF
FFFH番地までの2MBが割り当てられており、RA
M素子も実装されている。内蔵RAMとは、第1図にお
いて、カートリッジ205が装着されていない状態での
、フォントキャッシュメモリ209とフレームバツファ
メモリ209内のメモリである. 更に拡張RAMは、400000s番地から4FFFF
FH番地までのIMBが割り当てられており、拡張RA
Mボード205上の実装もIMBとなっている。
FIG. 4A is a memory map of the memory space when the entire device is viewed from the CPU 2.08, and explains a state in which a total of 16 MB of space is allocated to each device (memory). From address 08 to address FFFFF■, CPU208
This is the storage area for the control protocol of IFFFFF. from address 1000008. The space up to the address is allocated to the built-in ROM of the character pattern generator 204. The RAM built into the main unit is 3FF from address 200008.
2MB up to address FFFH is allocated and RA
An M element is also mounted. The built-in RAM is the memory in the font cache memory 209 and frame buffer memory 209 when the cartridge 205 is not installed in FIG. Furthermore, the expanded RAM is 4FFFF from address 400000s.
IMB up to FH address is allocated and extended RA
The mounting on the M board 205 is also IMB.

第4B図は、拡張RAMボード205が装着されていな
いときの、全体のRAM (すなわち内蔵RAMのみ)
の、RAM内部の利用目的的割りふりを説明しており、
フォントキャッシュとして使われる領域は全体の25%
、即ち、0.5MB確保されている。
Figure 4B shows the total RAM (i.e., only the built-in RAM) when the expansion RAM board 205 is not installed.
It explains the allocation of RAM internally for purposes of use,
25% of the total area is used as font cache
, that is, 0.5MB is secured.

又、第4C図は、IMBの拡張RAMボード205が装
着されているときの全体のRAMの利用目的別割りふり
を説明している。このボード205のIMBのうち、0
.25MBはフォントキャッシュに割り当てられ、0.
75MBワーク用に割り当てられる。従って、フォント
キャッシュとして使用される領域は全体の25%である
点は同じであるが、容量としては0.75MBに拡張さ
れていることがわかる.本体側のソケット212には、
押されると入るスイッチ(不図示)が装備されており、
カートリッジ205が装着されると、このスイッチが押
されるので、これにより、カートリッジ205が装着さ
れたか否かを判断できる。
Further, FIG. 4C explains the allocation of the entire RAM according to usage purposes when the IMB expansion RAM board 205 is installed. Of the IMBs on this board 205, 0
.. 25MB is allocated to the font cache, 0.
Allocated for 75MB work. Therefore, although the area used as font cache remains the same at 25% of the total, it can be seen that the capacity has been expanded to 0.75MB. In the socket 212 on the main body side,
It is equipped with a switch (not shown) that turns on when pressed.
When the cartridge 205 is installed, this switch is pressed, so that it can be determined whether the cartridge 205 is installed.

第5図はCPU208の初期化ルーチンにより内蔵RA
Mのワーク領域に展開されたフォントテーブルである。
Figure 5 shows the internal RA
This is a font table developed in the work area of M.

このフォントテーブルは、文字等コード毎に、各単位が
固定長で形成されているもので、格納されている情報は
、フォントキャツシユメモリ209にフォントパターン
が既に展開されているか否かを示す1ビットの情報と、
展開されている場合のキャッシュメモリ209内の番地
フィールドからなる。
This font table is formed with each unit having a fixed length for each character code, etc., and the stored information is 1 indicating whether or not a font pattern has already been developed in the font cache memory 209. Bit information and
It consists of an address field in the cache memory 209 when expanded.

第6図は、CPU208の制御を示す全体のフローチャ
ート図である。以降、第5図のフローチャートに従い、
本実施例のプリンタ部及びCPUボード101に電源が
入ったときから、入カバツファメモリ202に格納され
た文字コードデータを文字等パターンデータに変換して
、フレームバツファメモリ209に文字等パターンを転
送し、ページプリンタ印字部211にて印刷するまでの
動作を説明する。
FIG. 6 is an overall flowchart showing the control of the CPU 208. From then on, according to the flowchart in Figure 5,
When the printer unit and CPU board 101 of this embodiment are powered on, the character code data stored in the input buffer memory 202 is converted into character, etc. pattern data, and the character, etc. pattern is transferred to the frame buffer memory 209. , operations up to printing by the page printer printing unit 211 will be explained.

CPUボード101に電源が投入されると、CPU20
8は図示せぬ所定の初期化処理を終了した後、直ちにス
テップS1にて、ソケット212にRAMカートリッジ
205が装着しているか否かを判断する。装着されてい
る場合には、ステップS2に進む。ステップS2では総
RAM容量の3Mバイトのうち、フォントキャッシュを
0.75MBとする第4C図のメモリレイアウトに合う
様に各領域を初期化する。この初期化においそち、第5
図に示した、キャッシュメモリ内にフォントパターンが
展開されているか否かを示すビット等は“O”とされる
When power is applied to the CPU board 101, the CPU 20
8, after completing a predetermined initialization process (not shown), it is immediately determined in step S1 whether or not the RAM cartridge 205 is installed in the socket 212. If it is attached, the process advances to step S2. In step S2, each area of the total RAM capacity of 3 MB is initialized to match the memory layout shown in FIG. 4C in which the font cache is 0.75 MB. During this initialization, the fifth
The bits shown in the figure that indicate whether or not the font pattern is developed in the cache memory are set to "O".

RAMカートリッジ205が装着されていない場合は、
ステップS3に進み、総RAM容fi2Mバイトのうち
フォントキャッシュを0.5MBとし、前述第4B図の
メモリレイアウトに合う様に各領域を初期化する。この
初期化においても、第5図に示した、キャッシュメモリ
内にフォントパターンが展開されているか否かを示すビ
ット等は“0”とされる。
If the RAM cartridge 205 is not installed,
Proceeding to step S3, the font cache is set to 0.5 MB of the total RAM capacity fi2 MB, and each area is initialized to match the memory layout shown in FIG. 4B. In this initialization as well, the bits shown in FIG. 5 that indicate whether or not the font pattern is developed in the cache memory are set to "0".

次にステップS4に進み、ホストコンピュータ201か
ら送られてきた印字データを入力インタフェース部を介
して入カバツファメモリ203より受け取る。ここでは
1文字印字するための情報、すなわち、文字のコード、
印字位置の指定、印字するフォントの種類等を受けとっ
た後、ステップS5に進む。ステップS5では、文字の
コードを検査し、改ページ(フォームフイード)コード
であるかどうかを知る。改ページコードでない場合には
、それは印字すべき文字コードであるので、ステップS
6に進み、その印字する文字等パターンが既にフォント
キャッシュメモリ207に収納されているか否かの検査
を行う。この検査は第5図の検査ビットにより行なう。
Next, the process advances to step S4, and print data sent from the host computer 201 is received from the input buffer memory 203 via the input interface section. Here, the information for printing one character, that is, the character code,
After receiving the designation of the print position, the type of font to be printed, etc., the process advances to step S5. In step S5, the character code is checked to determine whether it is a page break (form feed) code. If it is not a page break code, it is a character code to be printed, so step S
In step 6, it is checked whether the character pattern to be printed is already stored in the font cache memory 207. This test is performed using the test bits shown in FIG.

すでに収納されている場合には、ステップS8に進み、
フレームバツファメモリ内のどの位置に像形成するかを
制御しつつ、該当の文字等パターンをフォントキャッシ
ュメモリ207からフレームバツファメモリ209に転
送する。
If it is already stored, proceed to step S8,
The corresponding character pattern is transferred from the font cache memory 207 to the frame buffer memory 209 while controlling where in the frame buffer memory the image is to be formed.

ステップS6で、フレームバツファに収納されていない
と判断された場合には、前述ステップS3、ステップS
2でのフォントキャツシユングの際に残しておいたキャ
ッシュメモリスペースを利用して、必要とする文字等パ
ターンを文字等パターン発生器204から読出し、フォ
ントキャッシュメモリ209に展開する。このとき、前
記検査ビットを“1”にし、また、併せて、フォントキ
ャッシュメモリ内における格納位置も記憶する。
If it is determined in step S6 that the frame buffer is not stored in the frame buffer, step S3 and step S
Using the cache memory space left during font caching in step 2, the required character, etc. pattern is read from the character, etc. pattern generator 204 and developed in the font cache memory 209. At this time, the check bit is set to "1" and the storage location in the font cache memory is also stored.

尚、既にキャッシュメモリ209の空きスペースも満杯
であった場合には、FIFO方式で最も以前にキャッシ
ングした文字等パターンから、順次削除していくことで
対応している。また、ステップS7を経て、ステップS
8に至った場合にも前述ステップS8の処理は同一であ
る。
Incidentally, if the free space in the cache memory 209 is already full, this is handled by sequentially deleting the characters, etc. patterns cached earliest using the FIFO method. Also, after step S7, step S
8, the process of step S8 described above is the same.

この様にして1文字分の文字等パターンをフレームバツ
ファメモリ209に展開した後は再びステップS4に戻
り、上述の処理を繰返す。この途中、ステップS5にて
改ページコードと判定された場合には、ステップS9に
進み、出力インタフェース部40を通して、ビデオ信号
が作られ、ページプリンタ印字部に1ページ分のビデオ
信号が送られ、前述の電子写真プロセスにより1枚の印
刷を終了する。更に次ページのデータをとりにステツブ
S4に戻り、上述の処理を繰返し、次々にページを作成
する。
After the character pattern for one character is developed in the frame buffer memory 209 in this manner, the process returns to step S4 and the above-described process is repeated. During this process, if it is determined in step S5 that it is a page break code, the process proceeds to step S9, where a video signal is created through the output interface section 40, and the video signal for one page is sent to the page printer printing section. Printing of one sheet is completed by the electrophotographic process described above. Furthermore, the process returns to step S4 to obtain data for the next page, and the above-described process is repeated to create pages one after another.

このようにして、上記実施例によれば、“非ドットマト
リクス型”のフォントを扱い、RAM容量が拡張ボード
等により増加可能な出力装置において、RAM容量の拡
張に従って、“フォントキャッシュ“領域をある所定の
ルールで拡張することを可能となった.このために、オ
プションによるRAMカードの追加に対応したフォント
キャッシュメモリの増加により、全体のRAM空間を有
効に利用し、フォントキャッシュヒット率を向上させる
効果がある。これにより、装置全体のスルーブットが向
上する。
In this way, according to the above embodiment, in an output device that handles "non-dot matrix" fonts and whose RAM capacity can be increased by an expansion board, the "font cache" area is It is now possible to expand using predetermined rules. For this reason, increasing the font cache memory in response to the addition of an optional RAM card has the effect of effectively utilizing the entire RAM space and improving the font cache hit rate. This improves the throughput of the entire device.

本発明はその主旨を逸脱しない範囲で種々変形が可能で
ある。
The present invention can be modified in various ways without departing from the spirit thereof.

上記実施例では、拡張RAMが着脱式のものであった.
そこで以下のような変形例を提案する.即ち、本体内の
内蔵RAMには、例えば複数べ一ジ分のフレームバッフ
ァや他のプログラムのための領域が確保されている。そ
こで、このような予備の領域をフォントキャッシュメモ
リに流用するようにしてもよい. また、上記実施例では、レーザビームプリンタを出力装
置としているが、この様なプリンタではなく、CRTな
どの像出力装置にも適応できる。
In the above embodiment, the expansion RAM is removable.
Therefore, we propose the following modification example. That is, the built-in RAM in the main body has an area reserved for, for example, a frame buffer for multiple pages and other programs. Therefore, such a spare area may be used as font cache memory. Further, in the above embodiment, a laser beam printer is used as the output device, but the present invention can also be applied to an image output device such as a CRT instead of such a printer.

また、“非ドットマトリクス型”フォントとして、ラン
レングス技法を用いたフォントを実施例では用いている
が、他のいわゆる輪郭座標を記憶するアウトラインフォ
ントや、文字のストロークを記憶するフォント、また、
漢字の部首を合成して作るフォント等の幅広い“非ドッ
トマトリクスフォント”において、活用できる。更にフ
ォントキャッシュをRAM上においているが、これを多
の記憶媒体(ハードディスク等)に置き換えることも容
易である。
In addition, although a font using a run-length technique is used as a "non-dot matrix type" font in the embodiment, other so-called outline fonts that memorize contour coordinates, fonts that memorize character strokes,
It can be used in a wide range of "non-dot matrix fonts" such as fonts created by combining radicals of kanji. Furthermore, although the font cache is stored in RAM, it can be easily replaced with other storage media (such as a hard disk).

本実施例では文字発生器が一つであり、単一の“非ドッ
トマトリクス型”フォントを用いているが、複数の文字
発生器をもつものであってもかまわない。
Although this embodiment has one character generator and uses a single "non-dot matrix" font, it is also possible to have multiple character generators.

更には、本実施例ではフォントキャッシュメモリの総R
AM容量中の割合を25%に固定しているが、この比率
を外部からの操作によって変更可能とすることも極めて
容易である。また、RAMカード非装着時は25%、R
 A Mカード装着時は20%等の実用に応じた切替え
を行うことも意味がある。
Furthermore, in this embodiment, the total R of the font cache memory is
Although the proportion in the AM capacity is fixed at 25%, it is extremely easy to change this proportion by external operation. Also, when no RAM card is installed, 25%, R
When an AM card is installed, it is also meaningful to switch to 20% or the like according to practical use.

又はRAMカードは形状としてボード状のもの、カート
リッジ状のもの、ICカード状のもの、いずれかを特定
しているものではないことも論を待たない。
It goes without saying that the shape of the RAM card is not limited to board-like, cartridge-like, or IC card-like.

[発明の効果] 以上説明した様に本発明によれば、文字記号等のフォン
トパターンを発生するパターン発生手段と、発生された
フォントパターンをドットイメージで検索可能に記憶す
る第1の記憶手段と、通常はフォントパターンの記憶に
は使用されないが、ドットイメージで記憶可能な第2の
記憶手段と、第2の記憶手段を第1の記憶手段の一部に
組み込むように、メモリ空間を動的に変更する変更手段
とを備えたことにより、必要に応じて、フォントパター
ンを記憶すべき第1の記憶手段の空間が増減される。
[Effects of the Invention] As explained above, according to the present invention, there are provided a pattern generation means for generating a font pattern such as a character symbol, a first storage means for storing the generated font pattern in a searchable manner as a dot image. , a second storage means which is not normally used for storing font patterns but can be stored as a dot image, and the memory space is dynamically configured such that the second storage means is incorporated into a part of the first storage means. By providing a changing means for changing the font pattern, the space of the first storage means in which the font pattern is to be stored can be increased or decreased as necessary.

特に、第2項若しくは第3項の発明によれば、第1の記
憶手段は該フォントパターン作成装置本体に内蔵され、
第2の記憶手段は、該本体と着脱可能なメモリ手段から
なる事により、第2の記憶手段を外部から装着したとき
も、新たに追加されたメモリがフォントパターンの記憶
に使用される。
In particular, according to the invention of item 2 or 3, the first storage means is built in the font pattern creation device main body,
The second storage means is composed of a memory means that is detachable from the main body, so that even when the second storage means is attached from the outside, the newly added memory is used for storing font patterns.

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

第1図は本発明が適用できるレーザビームプリンタの内
部を示す断面図、 第2図はプリンタ制御ユニット101の構成例態を説明
するメモリマップ、 第5図は実施例装置におけるフォントパターンを管理す
るためのテーブルのフォーマットを示す図、 第6図は本実施例装置におけるCPUの制御動作を示す
フローチャートである。 図中、 201・・・ホストコンピュータ、202・・・入力イ
ンターフェース部、203・・・入カバッファメモリ、
204・・・文字パターン発生器、205・・・RAM
カートリッジ、208・・・CPU,209・・・フレ
ームバツファメモリ、210・・・出力インターフェー
ス部、211・・・ページプリンタである。 特許出願人  キヤノン株式会社
FIG. 1 is a sectional view showing the inside of a laser beam printer to which the present invention can be applied, FIG. 2 is a memory map explaining an example of the configuration of the printer control unit 101, and FIG. 5 is a diagram for managing font patterns in the embodiment device. FIG. 6 is a flowchart showing the control operation of the CPU in the device of this embodiment. In the figure, 201... host computer, 202... input interface section, 203... input buffer memory,
204...Character pattern generator, 205...RAM
Cartridge, 208...CPU, 209...Frame buffer memory, 210...Output interface unit, 211...Page printer. Patent applicant Canon Inc.

Claims (4)

【特許請求の範囲】[Claims] (1)文字記号等のフォントパターンを発生するパター
ン発生手段と、 発生されたフォントパターンをドットイメージで検索可
能に記憶する第1の記憶手段と、 通常はフォントパターンの記憶には使用されないが、ド
ットイメージを記憶可能を第2の記憶手段と、 第2の記憶手段を第1の記憶手段の一部に組み込むよう
に、メモリ空間を動的に変更する変更手段とを備えたフ
ォントパターン作成装置。
(1) pattern generation means for generating font patterns such as character symbols, first storage means for storing the generated font patterns in a searchable manner as dot images; A font pattern creation device comprising: a second storage means capable of storing dot images; and a changing means for dynamically changing the memory space so that the second storage means is incorporated into a part of the first storage means. .
(2)前記第1の記憶手段は該フォントパターン作成装
置本体に内蔵され、第2の記憶手段は、該本体と着脱可
能なメモリ手段からなる事を特徴とする請求項の第1項
に記載のフォントパターン作成装置。
(2) The first storage means is built in the main body of the font pattern creation device, and the second storage means is comprised of a memory means that is removable from the main body. font pattern creation device.
(3)前記変更手段は、上記メモリ手段の本体への着脱
状態を判断する判断手段を含む事を特徴とする請求項の
第2項に記載のフォントパターン作成装置。
(3) The font pattern creation device according to claim 2, wherein the changing means includes determining means for determining whether the memory means is attached to or removed from the main body.
(4)前記パターン発生手段は未加工のパターンドット
マトリクス以外の記憶法によつて構成される事を特徴と
する請求項の第1項に記載のフォントパターン作成装置
(4) The font pattern creation device according to claim 1, wherein the pattern generation means is constructed using a memory method other than a raw pattern dot matrix.
JP1053612A 1989-03-08 1989-03-08 Character processing apparatus and method Expired - Fee Related JP2737880B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP1053612A JP2737880B2 (en) 1989-03-08 1989-03-08 Character processing apparatus and method
EP94201793A EP0618547B1 (en) 1989-03-08 1990-03-07 Output device
EP90302442A EP0387039B1 (en) 1989-03-08 1990-03-07 Output device
DE69033390T DE69033390T2 (en) 1989-03-08 1990-03-07 Dispenser
DE69022756T DE69022756T2 (en) 1989-03-08 1990-03-07 Dispenser.
US08/458,455 US5696984A (en) 1989-03-08 1995-06-02 Output apparatus and method for varying size of cache memory area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1053612A JP2737880B2 (en) 1989-03-08 1989-03-08 Character processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH02234286A true JPH02234286A (en) 1990-09-17
JP2737880B2 JP2737880B2 (en) 1998-04-08

Family

ID=12947727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1053612A Expired - Fee Related JP2737880B2 (en) 1989-03-08 1989-03-08 Character processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2737880B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62284395A (en) * 1986-06-03 1987-12-10 富士通株式会社 Character pattern loading system
JPS6446795A (en) * 1987-08-17 1989-02-21 Minolta Camera Kk Font managing apparatus
JPH0229353A (en) * 1987-12-28 1990-01-31 Ricoh Co Ltd Printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62284395A (en) * 1986-06-03 1987-12-10 富士通株式会社 Character pattern loading system
JPS6446795A (en) * 1987-08-17 1989-02-21 Minolta Camera Kk Font managing apparatus
JPH0229353A (en) * 1987-12-28 1990-01-31 Ricoh Co Ltd Printer

Also Published As

Publication number Publication date
JP2737880B2 (en) 1998-04-08

Similar Documents

Publication Publication Date Title
JP3119429B2 (en) Printer control device and method
US6317217B1 (en) Printing system and printing control method
US5567061A (en) Output apparatus with detachable character storing cartridge
JP2610993B2 (en) Information processing apparatus and method
US6469799B1 (en) Image forming apparatus and image forming method
US6310693B1 (en) Printing control apparatus and method, and printing system for reducing processing overhead
JP2004192390A (en) Data processor
JPH02234286A (en) Font pattern forming device
JP2974322B2 (en) Character processing apparatus and method
JP2942117B2 (en) Output device
JP2942118B2 (en) Output control method
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JPH0496095A (en) Font-free raster image processing system
JP4603731B2 (en) Image forming apparatus and image forming method
JP4325339B2 (en) Printing system, host computer and printer driver
JP3054157B2 (en) Character processing device and character processing method
JPH11170656A (en) Method and apparatus for outputting image
JPH11305962A (en) Printing processor, data processing method therefor and medium for storing computer readable program
JP2000194349A (en) Device and method for outputting character pattern and recording medium
JP2988303B2 (en) Image processing device
JP2002059596A (en) Data processing device, data processing system, data processing method, printing device, printing system, printing method and medium providing processing program
JP2005178028A (en) Printing apparatus
JPH113184A (en) Print controller, print control method and storage medium in which program readable by computer is stored
JPH03223896A (en) Output device
JP2004009416A (en) Laser beam type output apparatus and output method

Legal Events

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

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees