JPH02291014A - printing device - Google Patents

printing device

Info

Publication number
JPH02291014A
JPH02291014A JP1083205A JP8320589A JPH02291014A JP H02291014 A JPH02291014 A JP H02291014A JP 1083205 A JP1083205 A JP 1083205A JP 8320589 A JP8320589 A JP 8320589A JP H02291014 A JPH02291014 A JP H02291014A
Authority
JP
Japan
Prior art keywords
data
font
cache
ram
area
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
JP1083205A
Other languages
Japanese (ja)
Inventor
Youichi Toyokura
豊倉 洋一
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 JP1083205A priority Critical patent/JPH02291014A/en
Publication of JPH02291014A publication Critical patent/JPH02291014A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the time from the input of data to the output of the data by providing a control means to prepare a cache font by utilizing a usable RAM area at maximum. CONSTITUTION:An analyzing part 4 analyzes received print data and requests the cache font to a memory management part 7 when font data are required. To the request of the cache font, when the cache font is not prepared in a RAM yet, the memory management part 7 prepares the cache font on the RAM from the storage part of data not to be composed of a bit map such as an out-in font, etc. When the RAM area is secured by the analyzing part 4, the required area is secured by the memory management part 7 and given to the analyzing part 4. When the used RAM area is not required any more, the RAM area is defined as an idle area and released by the memory management part 7. Finally, based on the result analyzed by the analyzing part 4, an output part 5 outputs the data to a medium 6 to be recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えばホスト・コンピュータのような外部装
置から人力したデータに従って、記録用紙等に印字出力
を行う印字装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device that prints out data on recording paper or the like in accordance with data manually input from an external device such as a host computer.

[従来の技術] 従来の印字装置においては、アウトラインフォントのよ
うなビットマップの形で構成されないフォント・データ
を、RAM上のビット・マップ・フォントに展開して持
つ(以下、これをキャッシュ・フォントと称す)場合は
キャッシュ・フォント用の領域は、専用固定領域であり
、キャッシュ・フォントを作成するタイミングは、外部
装置からフォントのデータが人力した時点であった。
[Prior Art] In conventional printing devices, font data that is not configured in bitmap format, such as outline fonts, is expanded into bitmap fonts on RAM (hereinafter referred to as cache fonts). In this case, the cache font area is a dedicated fixed area, and the cache font is created when the font data is manually input from an external device.

[発明が解決しようとしている課題コ しかしながら、上記従来例では、データが人力されてか
らキャッシュ・フォントを作成するために、データの入
力から印字出力までに時間がかかるという欠点があった
。また、RAM上に既にあるキャッシュ・フォントと同
じフォント・データが人力された場合には、再度作る必
要があるため、出力までの時間が短縮されるが、キャッ
シュ・フォント用の領域か小さい場合には、人力フAン
1〜・データと同しキャッシュ・フAン[〜かある確率
(以下、ヒット率と称す)が悪くなり、出力までの時間
の短縮か図りにくいという欠点かあった。
[Problems to be Solved by the Invention] However, in the conventional example described above, the cache font is created after the data is entered manually, so there is a drawback that it takes time from data input to print output. Also, if font data that is the same as a cache font that already exists in RAM is manually created, it will be necessary to create it again, which shortens the time to output, but if the area for cache fonts is small, This has the disadvantage that the probability (hereinafter referred to as hit rate) of the human power fan A1~ and the data and the cash fan A[~ is poor, and it is difficult to shorten the time until output.

本発明の目的は、」二述の欠点を除去し、データの人力
から出力までの時間を短縮した印字装置を1是供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printing device that eliminates the above-mentioned drawbacks and shortens the time from manual input to output of data.

[課題を解決するための手段(及び作用)コこのような
目的を達成するために、木発明は、使用可能なRAM領
域を最大限に利用してキャッシュ・フ1ントを作成して
おく制御手段を具えることにより、データの人力から出
力までの時間を短縮できるようにしたものである。
[Means (and actions) for solving the problem] In order to achieve this purpose, the invention provides a control system that creates a cache fund by maximally utilizing the available RAM area. By providing a means to do so, it is possible to shorten the time from data manual input to output.

[実施例] 第1図は、本発明に係る印字装置のブロック図であり、
同図において、2はホストコンピュータ等の外部装置、
3はデータを受信する人力部、4は受信したデータの解
析を行う解析部、5は出力を制御する出力部、6は用紙
等の被記録媒体てあり、7はRAMの使用を管理するメ
モリ管理部、8はRAM,9はアウトライン・フィン]
〜のようなヒッl−マップの形で構成されないフ2ンl
・データの格納部である。
[Example] FIG. 1 is a block diagram of a printing device according to the present invention,
In the figure, 2 is an external device such as a host computer;
3 is a human power section that receives data, 4 is an analysis section that analyzes the received data, 5 is an output section that controls output, 6 is a recording medium such as paper, and 7 is a memory that manages the use of RAM. Management section, 8 is RAM, 9 is outline fin]
A function that is not constructed in the form of a map such as
・It is a data storage unit.

印字装置1においては、まず外部装置2からの印字デー
タを人力部3て受信する。次に解析部4において、受信
データを解析し、解析の結果、フォントデータか必要で
あれば、メモリ管理部7にキャッシュ・フ1ン1・を要
求する。メモリ管理部7においては、キャッシュ・フィ
ン1・の要求に対して既にRAMに作成してなりれば、
アウトラインフォント等のビッ1・マップで構成されて
いないデータの格納部9から、RAM上にキャッシュ・
フォントを作成する。
In the printing device 1, the printing data from the external device 2 is first received by the human power section 3. Next, the analysis section 4 analyzes the received data, and if font data is required as a result of the analysis, requests the memory management section 7 for the cache fan 1. In the memory management unit 7, if the cache fin 1 has already been created in RAM in response to the request,
From the storage section 9 of data that does not consist of bit 1 maps such as outline fonts, cache is stored on the RAM.
Create a font.

又、解析部4において、解析結果を格納する等でRAM
領域を確保する場合にも、メモリ管理部7に要求し、メ
モリ管理部7では必要な領域を確保し、解析部4に与え
る。又、解析部4は、使用していたRAM領域が不用に
なった場合も、メモリ管理部7にその解放を要求し、メ
モリ管理部7は、そのRAM領域を空き領域として解放
する。
In addition, in the analysis section 4, RAM is used to store the analysis results.
When securing an area, a request is made to the memory management unit 7, and the memory management unit 7 secures the necessary area and provides it to the analysis unit 4. Also, when the RAM area that was being used is no longer needed, the analysis unit 4 requests the memory management unit 7 to release it, and the memory management unit 7 releases the RAM area as a free area.

最後に解析部4に解析した結果をもとに、出力部5か被
記録媒体6に出力を行う。
Finally, based on the results analyzed by the analysis section 4, the output is performed to the output section 5 or the recording medium 6.

第2図は、木発明を実施したメモリ管理部7におりる処
理の流れを示すフローヂャートである。
FIG. 2 is a flowchart showing the flow of processing in the memory management unit 7 that implements the tree invention.

このフローヂャー1−で表わされるプログラムはメモリ
管理部7に格納されているものとする。メモリ管理部7
では、まずステップS1て解析部から何らかの要求が出
されているか調へ、要求かない場合にはステップS2で
、RAMに空き領域か無ければステップS1に戻り、有
ればこの時間を利用して、今後使用されそうなフォンl
〜を予測し、アウトライン・フォント9からキャッシュ
・フォントを作成する。つまり、要求が来ない間は、R
AMの空ぎが無くなるまで次に要求されるであろうキャ
ッシュ・フォントを予め作成しておこうとするものであ
る。S3における予測の方法としては、例えば、フォン
トに予め優先度を付けておき、優先度の高いものからキ
ャッシュ・フォントを作成していくことが考えられる。
It is assumed that the program represented by this flower 1- is stored in the memory management section 7. Memory management section 7
First, go to step S1 to see if any request has been issued from the analysis section. If there is no request, go to step S2. If there is no free space in the RAM, go back to step S1. If there is, use this time to Phones likely to be used in the future
Predict ~ and create a cache font from outline font 9. In other words, as long as no request comes, R
The attempt is made to create in advance the cache fonts that will be requested next until AM runs out. As a method of prediction in S3, for example, it is possible to assign priorities to fonts in advance, and create cache fonts in descending order of priority.

スデップS1て、解析部からの要求かあった場合には、
ステッフS4でキャッシュ・フ副ン1〜作成要求かどう
か調へ、そうてあれば、ステップS5で要求されたフォ
ントか、既にキャッシュ・フォントとしてRAM上に作
られているか調へる。もし既に作られていれは新たには
作らずステップS1に戻る。作られていなければ、ステ
ップS6てRAM上の空き領域を捜し、空きがなCプれ
ば、ステップS7て必要なだけ不要なキャッシュ・フォ
ンI〜を削除してから、ステップS8で、要求されたキ
ャッシュ・フ才ン1・を作成する。尚、不要なフォント
は、使用頻度をRAM8において、記憶させておぎ、頻
度の低いものを不要なフォントとしても良い。空きがあ
れは、すぐにステップS8へ移る。その後またステップ
S1へ戻る。
Step S1, if there is a request from the analysis department,
In step S4, it is checked whether there is a request for creation of cache font 1. If so, in step S5 it is checked whether the requested font is already created on the RAM as a cache font. If it has already been created, do not create a new one and return to step S1. If it is not created, step S6 searches for free space on the RAM, and if there is no free space, step S7 deletes as many unnecessary cache phones as necessary, and step S8 searches for a free space on the RAM. Create a cash fund 1. Incidentally, the frequency of use of unnecessary fonts may be stored in the RAM 8, and the less frequently used fonts may be designated as unnecessary fonts. If there is space, the process immediately moves to step S8. After that, the process returns to step S1 again.

ステップS4で、キャッシュ・フォント作成要求でなか
った場合には、ステップS9で、解析部4で使用するR
AM領域の解放要求であるか、確保要求であるか調へる
。解放要求であれば、解析部で使用したRAM領域を解
放して空き領域とする。確保要求であれは、ステップS
KIで、RAMに空き領域があるか調へ、なりねばスデ
ップSl2て、必要なたり、不要なキャソシュ・フォン
トを削除してからステッSl3で、要求された容量のR
AM領域を解析部のためにli7C保する。空きかあれ
ば、すぐに、ステップSI3へ移る。その後、またスデ
ップS1に戻る。
In step S4, if the request is not a cache font creation request, in step S9, the R
Check whether it is a request to release or reserve the AM area. If it is a release request, the RAM area used by the analysis unit is released and made into a free area. If it is a reservation request, step S
Use KI to check if there is free space in the RAM, and if so, go to step Sl2 to delete any necessary or unnecessary cache fonts, and then go to step Sl3 to check if there is free space in the RAM.
The AM area is reserved for the analysis section. If there is space, immediately proceed to step SI3. After that, the process returns to step S1 again.

[他の実施例] 他の実施例としては、第2図のステップS2においてR
AMの空き領域かなかった場合に、メモリの再配置等を
行って、空き領域を作り出すなとのメモリの有効利用を
図ることか考えられる。また、この時、今後不要と思わ
れるキャッシュ・フォントを削除して今後より必要とな
るてあろうフォントを新たに作成するといった制御を行
うことてさらに、ヒッ1〜率を向上させることも考えら
れる。
[Other Embodiments] As another embodiment, in step S2 of FIG.
If there is no free space in the AM, it may be possible to rearrange the memory to make effective use of the memory without creating a free space. Also, at this time, it is possible to further improve the hit rate by performing controls such as deleting cached fonts that are considered unnecessary in the future and creating new fonts that are likely to be needed in the future. .

また、RAM領域を、解析部専用、キャッシュ・フォン
ト専用、共用領域の3つに区分し、共用領域に対しての
み、木発明を実施することも考えられる。
It is also conceivable to divide the RAM area into three areas: a dedicated area for the analysis section, a dedicated area for cache fonts, and a shared area, and perform the tree invention only on the shared area.

[発明の効果] 以上説明したように、使用可能なRAM領域に最大限の
キャッシュ・フ1ントを作成しておくことで、キャッシ
ュ・フォントのヒット率を向上し、データ人力から出力
までの時間を短縮てきるという効果かある。
[Effects of the invention] As explained above, by creating the maximum amount of cache in the available RAM area, the hit rate of cache fonts can be improved, and the time from data input to output can be reduced. It has the effect of shortening the time.

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

第1図は、本発明を実施した印字装置のブロック図 第2図はメモリ管理部7におりる処理を示すフローチャ
ート てある。 1・・・印字装置 2・・・外部装置 3・・・人力部 4・・・解析部 5・・・出力部 6・・・被記録媒体 7・・・メモリ管理部 8 ・・・ RAM 9・・・ヒット・マップで構成されないデータの格納部
FIG. 1 is a block diagram of a printing apparatus embodying the present invention. FIG. 2 is a flowchart showing the processing carried out by the memory management section 7. As shown in FIG. 1...Printing device 2...External device 3...Manpower section 4...Analysis section 5...Output section 6...Recording medium 7...Memory management section 8...RAM 9 ...Storage area for data that does not consist of hit maps

Claims (1)

【特許請求の範囲】 ビットマップフォント以外のフォントを記憶する記憶手
段、 前記記憶手段に記憶された、フォントをビットマップフ
ォントに変換する変換手段、 あるフォントデータに対して、前記変換手段による変換
を指示する指示手段、 前記変換手段によって変換されたビットマップフォント
を一時的に格納する格納手段、 前記指示手段による変換の要求が無い場合に、前記格納
手段の格納領域を最大限に利用して、変換手段による所
定のフォントデータに対する変換処理を行うことを特徴
とする印字装置。
[Scope of Claims] Storage means for storing fonts other than bitmap fonts; Conversion means for converting the fonts stored in the storage means into bitmap fonts; Conversion by the conversion means for certain font data. an instruction means for instructing; a storage means for temporarily storing the bitmap font converted by the conversion means; when there is no request for conversion by the instruction means, the storage area of the storage means is utilized to the maximum; A printing device characterized in that a conversion unit performs conversion processing on predetermined font data.
JP1083205A 1989-03-31 1989-03-31 printing device Pending JPH02291014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1083205A JPH02291014A (en) 1989-03-31 1989-03-31 printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1083205A JPH02291014A (en) 1989-03-31 1989-03-31 printing device

Publications (1)

Publication Number Publication Date
JPH02291014A true JPH02291014A (en) 1990-11-30

Family

ID=13795825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1083205A Pending JPH02291014A (en) 1989-03-31 1989-03-31 printing device

Country Status (1)

Country Link
JP (1) JPH02291014A (en)

Similar Documents

Publication Publication Date Title
JPH02291014A (en) printing device
JPH0887433A (en) File system block management system
JP2011113231A (en) Image forming apparatus
JPH086829A (en) Simultaneous all search method of database
JPH02260027A (en) Printer
JPH04251291A (en) Character string plotting system in raster image processing system
JPH03255554A (en) Temporary file input/output control system
JPH02233273A (en) printing device
JPH09218809A (en) File information confirmation apparatus and method
JPH02202463A (en) Printing device
JPH04352042A (en) Memory dump collecting system
JPH0635767A (en) Data base system
JPH05165686A (en) Data store control system
JPH10154089A (en) File input-output device
JPH05274199A (en) Record storing system in file system
JPS6029401B2 (en) Data output method
JPH0854870A (en) Character pattern generator
JPH06243020A (en) File conversion device
JPH0293933A (en) Program developing device
JPH0589091A (en) Kana/kanji conversion server device and its system
JPH01282630A (en) Temporary accumulating system for data base retrieving information
JPS62109172A (en) Image data search system
JPH06324664A (en) Inference type output device
JPH0414473A (en) Printing control device
JPH0689089A (en) Acquisition system for character image data