JPH03147863A - Printer - Google Patents

Printer

Info

Publication number
JPH03147863A
JPH03147863A JP1286895A JP28689589A JPH03147863A JP H03147863 A JPH03147863 A JP H03147863A JP 1286895 A JP1286895 A JP 1286895A JP 28689589 A JP28689589 A JP 28689589A JP H03147863 A JPH03147863 A JP H03147863A
Authority
JP
Japan
Prior art keywords
font
font data
data
storage medium
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
JP1286895A
Other languages
Japanese (ja)
Inventor
Koji Kishi
浩司 岸
Shigeki Kimura
茂樹 木村
Keiichiro Hyodo
啓一郎 兵頭
Koichi Shibata
浩一 柴田
Shigeaki Motooka
茂哲 本岡
Mitsuzo Iwaki
岩城 光造
Nobuhiro Horiuchi
伸浩 堀内
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial 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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP1286895A priority Critical patent/JPH03147863A/en
Publication of JPH03147863A publication Critical patent/JPH03147863A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To load only the frequency used font data by interpreting whether font data stored in an external storage device can meet specified use frequency conditions and loading such font data stored in the external storage device into an internal storage device. CONSTITUTION:CPU 1 is equipped with a font card 11 and interprets whether it is connected to a font card interface 9. If CPU 1 interprets that the font card 11 is connected to the interface 9, it immediately detects the font number (i) of font data recorded in the font card 11. If the use frequency Hi of the font number (i) is higher than a reference use frequency Ho, CPU 1 interprets that the font data meets the specified use frequency conditions. Unless the font data is loaded in the internal storage device as yet, CPU 1 loads said font data in RAM 5 dedicated to such loading.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は、プリンタに関し、特に、コンピュータ用プ
リンタ、ワードプロセッサ用プリンタ等のホスト装置か
らの命令に基づいてプリント動作を行うプリンタに関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a printer, and particularly to a printer that performs a printing operation based on a command from a host device such as a computer printer or a word processor printer.

〈従来の技術〉 コンピュータ、ワードプロセッサ等のホスト装置に接続
され、ホスト装置からの命令を受けて文字を発生するプ
リンタが存在する。
<Prior Art> There are printers that are connected to a host device such as a computer or word processor and generate characters in response to instructions from the host device.

この種のプリンタは、命令に応じて、色々な抽類やサイ
ズの文字を発生しなければならないから通常、複数種類
のフォントデータが記憶された記憶装置が内蔵されてい
る。
Since this type of printer must generate characters of various types and sizes in response to commands, it usually has a built-in storage device that stores a plurality of types of font data.

また、内蔵の記憶装置に記憶されたフォントによっては
所望の文字が作成できない場合を考慮して、それを補う
ために、フォントデータが記憶されたメモリカード、I
Cカード、ROMカートリッジ等の外部記憶媒体を装着
できるようにしたものや、ホストコンピュータからフォ
ントデータをダウンロードできるようにしたものもある
In addition, in consideration of the possibility that a desired character cannot be created depending on the font stored in the built-in storage device, in order to compensate for this, a memory card with font data stored, an I
Some devices allow external storage media such as C cards and ROM cartridges to be attached, and others allow font data to be downloaded from a host computer.

さらに、特開昭61−170781号公報および特開昭
61−170782号公報に記載のものにおいては、カ
ートリッジ形式の外部記憶媒体をプリンタに装着した状
態において、読込命令を与えることにより、外部記憶媒
体に記憶されたフォントデータをプリンタに内蔵された
記憶装置にダウンロードする(コピーする)ことができ
る技術が提案されている。
Furthermore, in the devices described in JP-A-61-170781 and JP-A-61-170782, when an external storage medium in the form of a cartridge is installed in the printer, by giving a read command, the external storage medium can be read. A technique has been proposed that allows font data stored in a printer to be downloaded (copied) to a storage device built into a printer.

〈発明が解決しようとする課題〉 従来のプリンタにおいて、フォントデータが記taされ
た外部記憶媒体をプリンタに装着することによって特定
のフォントを追加するという構成では、1つの外部記憶
媒体を装着することにより追加されるフォントの数は限
られる(その外部記憶媒体に記憶されているlまたは数
種のフォントに限られる。)ため、利用者が多人数いる
場合や、1ページ内に多数の書体で印字を行う場合等に
は、外部記憶媒体を頻繁に交換しなければならないとい
う欠点がある。
<Problems to be Solved by the Invention> In a conventional printer, in a configuration in which a specific font is added by installing an external storage medium on which font data is recorded into the printer, it is difficult to install one external storage medium. The number of fonts that can be added is limited (limited to l or a few fonts stored on the external storage medium), so if there are many users or if there are many fonts on one page, When performing printing, etc., there is a drawback that the external storage medium must be replaced frequently.

勿論、多数個の外部記憶媒体が同時に装着できるように
、装着機構(スロット)を増やすことも考えられるが、
そうすると装置全体のコストアップに繋るという欠点が
発生する。
Of course, it is possible to increase the number of mounting mechanisms (slots) so that a large number of external storage media can be mounted at the same time.
This has the disadvantage of increasing the cost of the entire device.

さらにまた、外部記憶媒体は、それを装着している間し
かフォントデータの読出しができないから、途中で取外
すと使用できなくなってしまうという欠点もある。
Furthermore, since font data can only be read from an external storage medium while it is attached, there is also the disadvantage that if it is removed midway through, it becomes unusable.

次に、ホスト装置から必要なフォントデータをダウンロ
ードする方法を採用すると、ダウンロードする前にホス
ト装置を操作しなければならず、操作のための技術と手
間が必要である。
Next, if a method of downloading necessary font data from a host device is adopted, the host device must be operated before downloading, which requires skill and effort.

一方、上述した特開昭61−170781号公報または
特開昭61−170782号公報に記載の技術では、上
述のような欠点はないものの、外部記憶媒体をプリンタ
に装着した後、外部記憶媒体に記憶されているフォント
データをプリンタ内部の記憶装置にダウンロードすべき
命令を与えたり、プリンタ内部の記憶装置に新たなフォ
ントデータを書込める余裕がない場合には、記憶装置に
書込まれているデータを消去する命令を与える等の操作
を行わなければならず、その操作が複雑で、かつ操作に
手間取るという欠点がある。
On the other hand, although the techniques described in Japanese Patent Application Laid-open No. 61-170781 or No. 61-170782 do not have the above-mentioned drawbacks, it is difficult to store the external storage medium after it is installed in the printer. If you give a command to download the stored font data to the printer's internal storage device, or if there is no room to write new font data to the printer's internal storage device, you can download the data written to the storage device. It is necessary to perform operations such as giving a command to delete the data, which has the drawback that the operation is complicated and takes time.

この発明は、上述のような従来装置における種々の欠点
を解消するためになされたものであり、特別な操作をす
ることなく、必要なフォントデータがプリンタに内蔵さ
れた記憶装置にダウンロードされるようにしたプリンタ
を提供することを目的とする。
This invention was made in order to eliminate the various drawbacks of conventional devices as described above, and allows necessary font data to be downloaded to the storage device built into the printer without any special operations. The purpose is to provide a printer with a

く課題を解決するための手段〉 この発明は、フォントデータが記憶された予め定めるカ
ード状またはパッケージ状のハンディ型外部記憶媒体を
使用することができ、該外部記憶媒体に記憶されたフォ
ントデータに基づく印字が行えるプリンタであって、外
部記憶媒体を着脱自在な記憶媒体装着機構と、任意のデ
ータを記憶可能な内部記憶手段と、装着機構に外部記憶
媒体が装着されたことに応答して、外部記憶媒体に記憶
されているフォントデータが一定の使用頻度条件を満足
するか否かを判別する判別手段と、判別手段が使用頻度
条件を満足する旨判別したことに応答して、外部記憶媒
体に記憶されているフォントデータを内部記憶手段へダ
ウンロードするダウンロード制御手段とを含むことを特
徴とするプリンタ。
Means for Solving the Problems> The present invention can use a predetermined card-shaped or package-shaped handy external storage medium in which font data is stored, and the font data stored in the external storage medium can be used. The printer is capable of printing based on the above, and includes a storage medium mounting mechanism to which an external storage medium can be freely attached and detached, an internal storage means capable of storing arbitrary data, and responsive to the mounting of the external storage medium to the mounting mechanism, a determining means for determining whether or not the font data stored in the external storage medium satisfies a certain usage frequency condition; and in response to the determination that the determining means satisfies the usage frequency condition, the external storage medium and download control means for downloading font data stored in the printer to internal storage means.

また、この発明は、前記プリンタにおいて、判別手段は
、フォントデータごとにその使用頻度をカウントするた
めのカウント手段と、予め定める基準値が記憶された記
憶手段と、外部記憶媒体に記憶されているフォントデー
タを検出して、該フォントデータに対応するカウント手
段のカウント値を記憶手段に記憶されている予め定める
基準値と比較する比較手段とを含むことを特徴とするも
のである。
Further, in the printer of the present invention, the determination means includes a counting means for counting the usage frequency for each font data, a storage means storing a predetermined reference value, and a storage means stored in an external storage medium. The present invention is characterized in that it includes a comparison means for detecting font data and comparing the count value of the counting means corresponding to the font data with a predetermined reference value stored in the storage means.

く作用〉 この発明によれば、外部記憶媒体が装着機構に装着され
ると、判別手段は、外部記憶媒体に記憶されているフォ
ントデータが一定の使用頻度条件を満足しているか否か
を判別する。
According to the present invention, when the external storage medium is attached to the attachment mechanism, the determining means determines whether or not the font data stored in the external storage medium satisfies a certain usage frequency condition. do.

この判別は、たとえば、判別手段に記憶されているフォ
ントデータごとの使用頻度回数の内、外部記憶媒体に記
憶されているフォントデータに対応する使用頻度回数が
、予め定める基準使用回数よりも多いか否かによって行
う。
This determination is performed, for example, by determining whether, among the frequency of use of each font data stored in the determination means, the frequency of use corresponding to the font data stored in the external storage medium is greater than a predetermined standard number of use. It depends on whether or not.

そして、判別手段が使用頻度条件を満足していると判別
した時、すなわち外部記憶媒体に記憶されているフォン
トデータが比較的使用頻度の高いフォントデータと判別
した場合には、ダウンロード制御手段は、自動的に当該
フォントデータを内部記憶手段へダウンロードする。
When the determining means determines that the usage frequency condition is satisfied, that is, when determining that the font data stored in the external storage medium is relatively frequently used font data, the download control means: The font data is automatically downloaded to the internal storage means.

よって、使用者は何ら操作をせずとも、外部記憶媒体を
装着機構に装着するだけでよい。
Therefore, the user only needs to attach the external storage medium to the attachment mechanism without any operation.

〈実施例〉 以下には、図面を参照して、この発明の一実施例につい
て詳細に説明をする。
<Embodiment> Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第4図は、この発明の一実施例に係るプリンタのコント
ローラの構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of a controller of a printer according to an embodiment of the present invention.

プリンタコントローラは、制御処理の中枢としてのCP
UIを備え、CPU1にはバス2を介して、CPUIの
動作プログラムが格納されたプログラムROM 3、複
数種類のフォントデータが記憶されたフォントROM4
、外部からフォントデータがダウンロードされた時にそ
れを記憶するためのダウンロード用RAM5、データ処
理時に必要に応じてデータが書込まれるワークRAM6
、データ処理がなされた1ペ一ジ分のプリント出力デー
タを記憶するための出力用RAM7、ホストインターフ
ェイス8、フォントカードインターフェイス9、予め定
める使用頻度基準回数が設定された書換可能な不揮発性
メモリ14およびバックアップ電源15を備えた使用頻
度カウント用RAM16が接続されている。
The printer controller is a CP as the center of control processing.
The CPU 1 is provided with a UI, and the CPU 1 is connected via a bus 2 to a program ROM 3 in which a CPU operating program is stored, and a font ROM 4 in which a plurality of types of font data are stored.
, a download RAM 5 for storing font data when it is downloaded from the outside, and a work RAM 6 into which data is written as necessary during data processing.
, an output RAM 7 for storing one page's worth of data processed printout data, a host interface 8, a font card interface 9, and a rewritable non-volatile memory 14 in which a predetermined reference frequency of use is set. A usage frequency counting RAM 16 equipped with a backup power source 15 is also connected.

ホストインターフェイス8にはデータ伝送ケーブルを介
してたとえばホストコンピュータ10が接続されている
。ホストコンピュータ10からはコマンドデータやフォ
ントデータ等が当該プリンタコントローラに与えられる
。そしてプリンタコントローラは、与えられたコマンド
データ等に基づいてプリント動作を行う。
For example, a host computer 10 is connected to the host interface 8 via a data transmission cable. Command data, font data, etc. are provided from the host computer 10 to the printer controller. The printer controller then performs a printing operation based on the supplied command data and the like.

フォントカードインターフェイス9は、図示しないフォ
ントカード装着機構にフォントカード11が装着された
場合に、フォントカード11と電気的に結合されて、C
PUIがフォントカード11の内容をアクセスできるよ
うにするためのものである。
The font card interface 9 is electrically coupled to the font card 11 when the font card 11 is installed in a font card installation mechanism (not shown), and the C
This is to allow the PUI to access the contents of the font card 11.

さらに、出力用RAM7にはビデオインターフェイス1
2を介してプリンタエンジンが接続されており、出力用
RAM7のプリント出力データは、ビデオインターフェ
イス12を介してプリンタエンジン13へ与えられ、プ
リンタエンジンが駆動されてプリントが行われるように
なっている。
Furthermore, the output RAM 7 has a video interface 1.
A printer engine is connected via 2, and the print output data of the output RAM 7 is given to the printer engine 13 via the video interface 12, and the printer engine is driven to perform printing.

第1図は、第4図のプリンタコントローラの制御動作の
一例を表わすフローチャートであり、CPUIがフォン
トカード11が装着されたか否かをポーリング処理によ
って判別する場合が示されている。
FIG. 1 is a flowchart showing an example of the control operation of the printer controller shown in FIG. 4, and shows a case where the CPUI determines whether or not the font card 11 is attached by polling processing.

次に、第1図の流れ沿って、第4図のプリンタコントロ
ーラの制御動作について説明をする。
Next, the control operation of the printer controller shown in FIG. 4 will be explained along the flow shown in FIG.

プリンタコントローラに電源が投入されると、CPUI
はダウンロード用RAM5、ワークRAM6、出力用R
AM7等の内容を消去するイニシャライズを行う(ステ
ップSl)。
When the printer controller is powered on, the CPU
RAM5 for download, work RAM6, R for output
Initialization is performed to erase the contents of AM7, etc. (step Sl).

次に、CPU1は、フォントカード11が装着されて、
フォントカードイン多−フエイス9に接続されたか否か
の判別を行う(ステップS2)。
Next, the CPU 1 is equipped with the font card 11, and
It is determined whether or not the font card is connected to the multiface 9 (step S2).

CPUIは、フォントカード11が接続されたことを判
別すると、直ちに、フォントカード11に記憶されてい
るフォントデータのフォント番号i (すなわち、フォ
ントデータの識別番号であり、iはフォントデータによ
り異なる。このフォント番号iは、通常、ヘッダに記憶
されている)を検出する。そして、使用頻度カウント用
RAM16の内容を検出して、対応するフォント番号i
の使用頻度回数Hiを検出し、それを不揮発性メモリ1
4に設定されている使用基準回数H0と比較する。その
結果、当該フォント番号iの使用頻度H1が基準回数H
8以上の場合には、当該フォントデータが一定の使用頻
度条件を満足していると判別する(ステップS7)。
When the CPU determines that the font card 11 is connected, the CPU immediately selects the font number i of the font data stored in the font card 11 (i.e., the identification number of the font data, and i varies depending on the font data. The font number i is usually stored in the header). Then, the content of the usage frequency count RAM 16 is detected and the corresponding font number i is detected.
Detects the usage frequency Hi and stores it in non-volatile memory 1.
It is compared with the usage standard number of times H0 set to 4. As a result, the usage frequency H1 of the font number i is the reference number H
If the number is 8 or more, it is determined that the font data satisfies a certain usage frequency condition (step S7).

そしてその場合には、次に、当該フォントデータがダウ
ンロード用RA M 5に既にダウンロードされている
か否かの判別をする(ステップS8)。
In that case, it is then determined whether the font data has already been downloaded to the download RAM 5 (step S8).

その結果、フォントデータがまだダウンロードされてい
なければ、該フォントデータをダウンロード用RAM5
にダウンロードする(ステップS9)。
As a result, if the font data has not been downloaded yet, the font data is stored in the download RAM 5.
(Step S9).

上述のステップS7、S8およびs9の処理は、フォン
トカード111こ5己憶されているフォントブタが複数
種類ある場合においては、各フォントデータごとに行わ
れる。
The processes of steps S7, S8, and s9 described above are performed for each font data when there are multiple types of font types stored in the font card 111.

また、ステップS7において、フォントカード11に記
憶されているフォントデータが一定の使用頻度条件を満
足しない場合、および、ステップS8において、当該フ
ォントデータが既にダウンロードされている場合には、
フォントデータのダウンロードは行われない。
Further, in step S7, if the font data stored in the font card 11 does not satisfy a certain usage frequency condition, and in step S8, if the font data has already been downloaded,
Font data is not downloaded.

その後、ホストコンピュータ1oから処理データやコマ
ンドデータが与えられた場合(ステップS3) 、CP
UIは与えられたデータを所定のフォントに基づいて処
理をして文字を作成しくステップS4)、1ペ一ジ分の
データ処理が終了すると(ステップS5)、出力用RA
 M 7のプリント出力データをビデオインターフェイ
ス12を介してプリンタエンジン13に与え(ステップ
S6)、1ペ一ジ分のプリントを行わせる。そして、ス
テップS2へ戻る。
After that, when processing data and command data are given from the host computer 1o (step S3), the CP
The UI processes the given data based on a predetermined font to create characters (Step S4). When the data processing for one page is completed (Step S5), the RA for output
The print output data of M7 is given to the printer engine 13 via the video interface 12 (step S6), and one page is printed. Then, the process returns to step S2.

この実施例においては、フォントカード11に記憶され
ているフォントデータがダウンロード用RA M 5に
ダウンロードされた後は、フォントカード11が抜取ら
れても、ダウンロードRAM5にS記憶されているフォ
ントデータ1こ基づいてデータ処理が行える。
In this embodiment, after the font data stored in the font card 11 is downloaded to the download RAM 5, even if the font card 11 is removed, the font data 1 stored in the download RAM 5 is Data processing can be performed based on

よって、プリンタがデータ処理中はずつとフォントカー
ド11を装着しておく必要がないので、他のプリンタ等
にフォントカード11を使用することができる。
Therefore, it is not necessary to keep the font card 11 attached to the printer while the printer is processing data, so the font card 11 can be used in other printers.

また、この実施例では、フォントカード11に記憶され
ているフォントデータがダウンロード用RAM5に既に
ダウンロードされているか否かを判別し、ダウンロード
されていない場合のみフォントデータをダウンロードす
るようにしたが、このような判別を行わずに、フォント
データが一定の使用頻度条件を満足すると判別した後に
、直ちに該カードに5己憶されているフォントデータを
ダウンロードするようにしてもよい。通常、フォントカ
ード11を装着するということは、そのカード11に記
憶されているフォントデータを使用したい場合であるか
ら、ステップS8における判断を行わずにフォントデー
タをダウンロードしても何ら問題はない。
Further, in this embodiment, it is determined whether or not the font data stored in the font card 11 has already been downloaded to the download RAM 5, and the font data is downloaded only when it has not been downloaded. Instead of making such a determination, the font data stored in the card may be downloaded immediately after determining that the font data satisfies a certain usage frequency condition. Normally, when the font card 11 is installed, it is when the user wants to use the font data stored in the card 11, so there is no problem in downloading the font data without making the determination in step S8.

第2A図および第2B図は、第4図のプリンタコントロ
ーラにおいて、CPU1がフォントカード11のデータ
を割込処理によってダウンロードする場合の制御例を表
わすフローチャートである。
2A and 2B are flowcharts showing a control example when the CPU 1 downloads the data of the font card 11 by interrupt processing in the printer controller of FIG. 4.

次に、第2A図および第2B図の流れに沿って、第4図
の回路の動作を説明する。
Next, the operation of the circuit in FIG. 4 will be explained along the flowcharts in FIGS. 2A and 2B.

プリンタコントローラに電源が投入されると、CPUI
はイニシャライズ処理をする(ステップ511)。
When the printer controller is powered on, the CPU
performs initialization processing (step 511).

次いで、CPUIは、ホストコンピュータ10から与え
られた処理データがあるか否かの判別をし、ホストコン
ピュータ10から与えられた処理データがあると判別し
た場合には(ステップ512)、データを処理して所定
のフォントによって文字を作成する(ステップ513)
。そして、1ページの処理が終了するまでステップS1
2およびステップ313を繰返し、1ページの処理が終
了した場合には(ステップ514)、出力用RAM7に
ストアされている処理データすなわちプリント出力デー
タをビデオインターフェイス12を介してプリンタエン
ジン13へ出力しくステップ515)、プリントを行わ
せる。そして、ステップS12へ戻る。
Next, the CPUI determines whether or not there is processing data given from the host computer 10, and if it is determined that there is processing data given from the host computer 10 (step 512), it processes the data. to create characters using a predetermined font (step 513).
. Then, step S1 is continued until the processing of one page is completed.
2 and step 313 are repeated, and when the processing of one page is completed (step 514), the processing data stored in the output RAM 7, that is, the print output data is outputted to the printer engine 13 via the video interface 12. 515) to cause printing to occur. Then, the process returns to step S12.

CPUIは、上述のステップS12〜S15の処理を行
っている間に、フォントカードインターフェイス9にフ
ォントカード11が接続された時、割込処理によって、
フォントカード11に記憶されているフォントデータの
内容を検出し、一定の使用頻度条件を満足するか否か、
つまり、HlaH,か否かの判別をする(ステップ51
6)。そして、当該条件を満足している場合には、さら
に、該フォントデータがダウンロード用RAM5にダウ
ンロードされているか否かを判別する(ステップ517
)。そして、該フォントデータの内容がダウンロードさ
れていなければ、フォントカード11からそのフォント
データを読出し、それをダウンロード用RAM15をダ
ウンロードする(ステップ518)。
When the font card 11 is connected to the font card interface 9 while performing the processing of steps S12 to S15 described above, the CPU
The content of the font data stored in the font card 11 is detected, and whether or not it satisfies a certain frequency of use condition is determined.
In other words, it is determined whether HlaH or not (step 51
6). If the condition is satisfied, it is further determined whether or not the font data has been downloaded to the download RAM 5 (step 517).
). If the contents of the font data have not been downloaded, the font data is read from the font card 11 and downloaded to the download RAM 15 (step 518).

その後、フォントデータのダウンロードが終了した時点
で、割込処理を終え、元の処理に戻る。
Thereafter, when the download of the font data is completed, the interrupt processing is finished and the original processing returns.

割込判別は、たとえばフォントカード11をフォントカ
ードインターフェイス9に接続した場合に、フォントカ
ードインターフェイス9の予め定めるコネクタがオンか
らオフまたはオフからオンに切換わるので、それによっ
て判別する。
Interruption determination is made based on, for example, when the font card 11 is connected to the font card interface 9, a predetermined connector of the font card interface 9 is switched from on to off or from off to on.

割込処理の場合においても、ポーリング処理の場合と同
様に、フォントカード11に記憶されているフォントデ
ータがダウンロード用RAM5に既にダウンロードされ
ているか否かを判別せずに直ちにフォントデータをダウ
ンロードするようにしてもよい。
In the case of interrupt processing, as in the case of polling processing, the font data is immediately downloaded without determining whether or not the font data stored in the font card 11 has already been downloaded to the download RAM 5. You may also do so.

第3図は、第1図のステップs4および第2A図のステ
ップ31Bにおけるデータ処理時に行われる使用頻度の
カウント動作制御を表わすフローチャートである。
FIG. 3 is a flowchart showing usage frequency counting operation control performed during data processing in step s4 of FIG. 1 and step 31B of FIG. 2A.

データ処理時において、cPUlは処理すべき文字デー
タありと判別すると(ステップ521)、その文字を作
成するためのフォントデータをダウンロード用RAM5
から読出しくステップ522)フォント番号iの使用回
数カウンタHiを“1゜インクリメントする(ステップ
523)。
During data processing, when the cPUl determines that there is character data to be processed (step 521), the font data for creating that character is downloaded to the RAM 5 for downloading.
Step 522) Increment the usage counter Hi of font number i by 1° (step 523).

このカウンタインクリメント処理は、1文字車位で行う
。なぜならば、文書を作成する際において、たとえばア
ップライト文字の中に部分的にイタリック文字が使用さ
れるような場合があるからである。
This counter increment process is performed at one character position. This is because when creating a document, for example, italic characters may be used partially in upright characters.

なお、ステップS21において、データが文字データで
なくコマンドの場合には、そのコマンドに対応する処理
、たとえば罫線を引くとかアンダーラインを付す等の処
理を行う(ステップ524)この実施例において、フォ
ントデータの使用回数をカウントするためのカウンタは
、バックアップ電′ri、15が備えられたRAM16
に設けられているため、プリンタ電源をオフにした場合
でもその内容は消えず、次にプリンタ電源をオンした際
に、それまでのフォントデータの使用頻度をフォントデ
ータ別に知ることができる。
Note that in step S21, if the data is not character data but a command, processing corresponding to the command, such as drawing a ruled line or adding an underline, is performed (step 524). A counter for counting the number of uses is a RAM 16 equipped with a backup battery 15.
Since the font data is provided in the font, the contents will not be erased even if the printer power is turned off, and the next time the printer power is turned on, the usage frequency of the font data up to that point can be known for each font data.

なお、図示しないリセットスイッチを設けておき、当該
リセットスイッチを押すことにより、使用頻度カウント
用RAM16のカウント値をリセットできるようにして
おくのが好ましい。
Note that it is preferable to provide a reset switch (not shown) so that the count value of the usage frequency counting RAM 16 can be reset by pressing the reset switch.

また、不揮発性メモリ14に設定されている予め定める
使用基準回数は、不揮発性メモリの内容を書換えること
によって所望の回数に変更可能である。
Further, the predetermined reference number of times of use set in the non-volatile memory 14 can be changed to a desired number of times by rewriting the contents of the non-volatile memory.

上述の実施例では、フォントデータを記憶する外部記憶
媒体としてフォントカードを取上げて説明したが、カー
ド状の記憶媒体に限らず、カートリッジ状またはパッケ
ージ状の記憶媒体を用いてもよい。
In the above embodiment, a font card was used as an external storage medium for storing font data, but the present invention is not limited to a card-shaped storage medium, and a cartridge-shaped or package-shaped storage medium may also be used.

〈発明の効果〉 この発明は、以上のように構成されているので、フォン
トデータが記憶された外部記憶媒体をプリンタに装着す
るだけで、自動的に外部記憶媒体のフォントデータがダ
ウンロードされるので、操n者はダウンロードすべき命
令を与える等の操作をする手間が省け、非常に簡単に外
部記憶媒体のフォントデータを活用することができるプ
リンタとすることができる。
<Effects of the Invention> Since the present invention is configured as described above, the font data on the external storage medium is automatically downloaded by simply installing the external storage medium in which font data is stored in the printer. , the operator does not have to perform operations such as giving commands to download, and the printer can very easily utilize font data stored in an external storage medium.

また、ダウンロードされるフォントデータは、予め定め
る使用頻度条件を満足するものに限られるので、使用頻
度の高いフォントデータだけをダウンロードすることが
でき、内部記憶手段の記憶領域を有効に活用することが
できる。
In addition, the font data to be downloaded is limited to that which satisfies predetermined usage frequency conditions, so only frequently used font data can be downloaded, making it possible to effectively utilize the storage area of the internal storage means. can.

さらにまた、外部記憶媒体に記憶されたフォントデータ
は内蔵の記憶装置にダウンロードされるため、ダウンロ
ード後に外部記憶媒体を抜取っても何ら支承なく、1つ
の外部記憶媒体を複数のプリンタで有効に活用すること
ができると共に、1つのプリンタにとっては複数の外部
記憶媒体から多種類のフォントデータを得ることができ
るという効果がある。
Furthermore, since the font data stored on the external storage medium is downloaded to the built-in storage device, there is no problem even if the external storage medium is removed after downloading, and one external storage medium can be used effectively by multiple printers. In addition, one printer can obtain various types of font data from a plurality of external storage media.

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

第1図は、この発明の一実施例に係るプリンタコントロ
ーラの制御動作の一例を表わすフローチャートである。 第2A図および第2B図は、この発明の一実施例に係る
プリンタコントローラの制御動作の他の例を表わすフロ
ーチャートである。 第3図は、この発明の一実施例における使用頻度カウン
タのカウント動作を表わすフローチャートである。 第4図は、この発明の一実施例に係るプリンタコントロ
ーラの構成を示すブロック図である。 図において、1・・・CPU、5・・・ダウンロード用
RAM、9・・・フォントカードインターフェイス、1
1・・・フォントカード、14・・・不揮発性メモリ、
16・・・使用頻度カウント用RAMを示す。
FIG. 1 is a flowchart showing an example of a control operation of a printer controller according to an embodiment of the present invention. FIGS. 2A and 2B are flowcharts showing other examples of control operations of the printer controller according to an embodiment of the present invention. FIG. 3 is a flowchart showing the counting operation of the usage frequency counter in one embodiment of the present invention. FIG. 4 is a block diagram showing the configuration of a printer controller according to an embodiment of the present invention. In the figure, 1... CPU, 5... RAM for downloading, 9... Font card interface, 1
1... Font card, 14... Non-volatile memory,
16... Indicates a RAM for counting usage frequency.

Claims (1)

【特許請求の範囲】 1、フォントデータが記憶された予め定め るカード状またはパッケージ状のハンデ ィ型外部記憶媒体を使用することができ、 該外部記憶媒体に記憶されたフォントデ ータに基づく印字が行えるプリンタであ って、 外部記憶媒体を着脱自在な記憶媒体装 着機構と、 任意のデータを記憶可能な内部記憶手 段と、 装着機構に外部記憶媒体が装着された ことに応答して、外部記憶媒体に記憶さ れているフォントデータが一定の使用頻 度条件を満足するか否かを判別する判別 手段と、 判別手段が使用頻度条件を満足する旨 判別したことに応答して、外部記憶媒体 に記憶されているフォントデータを内部 記憶手段へダウンロードするダウンロー ド制御手段と、 を含むことを特徴とするプリンタ。 2、請求項第1項記載のプリンタにおいて、判別手段は
、フォントデータごとにそ の使用頻度をカウントするためのカウン ト手段と、予め定める基準値が記憶され た記憶手段と、外部記憶媒体に記憶され ているフォントデータを検出して、該フ ォントデータに対応するカウント手段の カウント値を記憶手段に記憶されている 予め定める基準値と比較する比較手段と を含むことを特徴とするものである。
[Scope of Claims] 1. A printer that can use a predetermined card-shaped or package-shaped handy external storage medium in which font data is stored, and that can perform printing based on the font data stored in the external storage medium. A storage medium attachment mechanism capable of attaching and detaching an external storage medium; an internal storage means capable of storing arbitrary data; a determining means for determining whether or not the font data being displayed satisfies a certain usage frequency condition; A printer comprising: download control means for downloading font data to internal storage means; 2. In the printer according to claim 1, the determining means includes a counting means for counting the frequency of use of each font data, a storage means storing a predetermined reference value, and an external storage medium. The present invention is characterized in that it includes a comparing means for detecting font data that is included in the font data and comparing the count value of the counting means corresponding to the font data with a predetermined reference value stored in the storage means.
JP1286895A 1989-11-02 1989-11-02 Printer Pending JPH03147863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1286895A JPH03147863A (en) 1989-11-02 1989-11-02 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1286895A JPH03147863A (en) 1989-11-02 1989-11-02 Printer

Publications (1)

Publication Number Publication Date
JPH03147863A true JPH03147863A (en) 1991-06-24

Family

ID=17710388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1286895A Pending JPH03147863A (en) 1989-11-02 1989-11-02 Printer

Country Status (1)

Country Link
JP (1) JPH03147863A (en)

Similar Documents

Publication Publication Date Title
US8085425B2 (en) Information processing apparatus
JPH0737155B2 (en) Printer
EP2299353B1 (en) Output device, method of controlling it, and medium storing a program
JPH03147863A (en) Printer
JP2593007B2 (en) Program embedded device
JPH03143660A (en) Printer
JP3001213B2 (en) Printer control device
JPH03147864A (en) Printer
JPH03147862A (en) Printer
JP2003177907A (en) Unit and system for information processing, print control method, storage medium, and program
JPH08212079A (en) Image forming device
JPH05150915A (en) Image forming device
JPH05274157A (en) Image generating device
JP2006181735A (en) Data outputting apparatus and information processing apparatus
JP2571860Y2 (en) Printer device
US20060101448A1 (en) Printing device
JPH04318616A (en) Printer device
JP2003099216A (en) Print setting method for printer driver, information processor, program, and storage medium
JPH11249885A (en) System and method for controlling rewriting
US7075665B1 (en) Creating operating system fonts from printer font metrics
JP2588166B2 (en) Pattern storage medium replacement control device
JP2805642B2 (en) Printer device
JPH03147861A (en) Handy data recording medium
JPH0511984A (en) Printer and updating method for its program
JPH11188934A (en) Printer