JPH07178976A - Printing method and printing apparatus - Google Patents
Printing method and printing apparatusInfo
- Publication number
- JPH07178976A JPH07178976A JP32812093A JP32812093A JPH07178976A JP H07178976 A JPH07178976 A JP H07178976A JP 32812093 A JP32812093 A JP 32812093A JP 32812093 A JP32812093 A JP 32812093A JP H07178976 A JPH07178976 A JP H07178976A
- Authority
- JP
- Japan
- Prior art keywords
- font
- dot
- printing
- dot font
- outline
- 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.)
- Withdrawn
Links
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【目的】 安価な装置で、高品質の文字を高速に印字で
きるようにすること。
【構成】 電源投入時、MPU1はフォント展開部6を
制御して使用頻度が高い文字のメモリ7内のアウトライ
ンフォントをドットフォントパターンに展開し、これを
RAM8に格納しておく。その後、MPU1は入力制御
部2から入力される文字のドットフォントパターンがR
AM8にある場合は、これを読みだして、出力制御部4
に与えることにより、前記文字の印字を行う。従って、
本例では、既に展開されているドットフォントパターン
を持たない文字についてだけ、アウトラインフォントを
ドットフォントパターンに展開すればよく、この展開に
かかる総時間を非常に少なくすることができ、高速且つ
高品質で文字を印字することができる。しかも、RAM
8には使用頻度が高い文字のドットフォントパターンだ
けが格納されるため、大容量のRAMを必要とせず、装
置を安価にできる。
(57) [Summary] [Purpose] To print high-quality characters at high speed with an inexpensive device. [Structure] When the power is turned on, the MPU 1 controls a font expansion unit 6 to expand an outline font in a memory 7 of frequently used characters into a dot font pattern and store it in a RAM 8. After that, the MPU 1 sets the dot font pattern of the character input from the input control unit 2 to R
If it is in AM8, it is read out and output control unit 4
To print the character. Therefore,
In this example, outline fonts can be expanded to dot font patterns only for characters that do not have dot font patterns that have already been expanded, and the total time required for this expansion can be greatly reduced. You can print characters with. Moreover, RAM
Since only a dot font pattern of frequently used characters is stored in 8, a large-capacity RAM is not required and the device can be made inexpensive.
Description
【0001】[0001]
【産業上の利用分野】本発明は漢字や平仮名等の日本語
を印刷する際の印刷方法及び印刷装置に係わり、特にア
ウトラインフォントを使用する際の印字速度の高速化に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing method and a printing apparatus for printing Japanese such as kanji and hiragana, and more particularly to speeding up the printing speed when using an outline font.
【0002】[0002]
【従来の技術】従来の日本語用の印刷装置は、例えば図
5に示すような構成を有している。入力制御部2に図示
されないホストシステム等から印刷用の文字データ10
0が入力されると、主プロセッサ(MPU)1は入力さ
れた文字コードに対応するドットフォントパターンをド
ットフォント用メモリ3から読み出して、これを出力制
御部4に与える。これにより、出力制御部4は与えられ
たドットフォントパターンに基づいて印字部5を制御す
ることにより、図示されない印字ヘッドで用紙に文字を
印字する。しかし、通常のフォントパターンを用いてい
るため、大きな文字等を印字すると文字がギザギザにな
って、あまり品質のよい印字をすることができないとい
う欠点があった。2. Description of the Related Art A conventional printing device for Japanese has a structure as shown in FIG. Character data 10 for printing from a host system (not shown) in the input control unit 2
When 0 is input, the main processor (MPU) 1 reads the dot font pattern corresponding to the input character code from the dot font memory 3 and supplies it to the output control unit 4. As a result, the output control unit 4 controls the printing unit 5 based on the given dot font pattern, so that the print head (not shown) prints characters on the paper. However, since a normal font pattern is used, there is a drawback that when printing a large character or the like, the character becomes jagged and it is not possible to perform printing with very good quality.
【0003】そこで、近年、種々の大きさの文字を自由
にしかも綺麗に印字するために、アウトラインフォント
が使用されるようになってきており、図6はこのアウト
ラインフォントを用いた印刷装置の従来例を示した図で
ある。MPU1は入力制御部2から渡された文字コード
に対応するアウトラインフォントをアウトラインフォン
ト用メモリ7から読み出して、これをフォント展開部6
に与える。フォント展開部6は与えられたアウトライン
フォント(コマンド)からドットフォントパターンを展
開する。MPU1はこのフォント展開部6により展開さ
れたフォントパターンを出力制御部4に与える。これに
より、出力制御部4は与えられたドットフォントパター
ンに基づいて印字部5を制御することにより、図示され
ない印字ヘッドで用紙に文字を印字する。しかし、従来
のアウトラインフォントを用いる上記のような印刷装置
では、前記アウトラインフォントをフォント展開部6に
てドットパターンに展開するのに時間がかかるため、印
字速度が図5の方式に比べてかなり遅くなってしまうと
いう欠点があった。Therefore, in recent years, an outline font has been used in order to print characters of various sizes freely and neatly, and FIG. 6 shows a conventional printer using the outline font. It is the figure which showed the example. The MPU 1 reads out the outline font corresponding to the character code passed from the input control unit 2 from the outline font memory 7, and the font expansion unit 6
Give to. The font development unit 6 develops a dot font pattern from the given outline font (command). The MPU 1 gives the font pattern expanded by the font expansion unit 6 to the output control unit 4. As a result, the output control unit 4 controls the printing unit 5 based on the given dot font pattern, so that the print head (not shown) prints characters on the paper. However, in the above-described printing apparatus that uses the conventional outline font, it takes time to develop the outline font into a dot pattern by the font developing unit 6, so that the printing speed is considerably slower than that of the method of FIG. It had the drawback of becoming
【0004】又、上記したアウトラインフォントを用い
る従来の印刷装置の中には、フォント展開部6を持た
ず、アウトラインフォントからドットフォントパターン
を展開する際の作業をMPU1に行なわせる装置もあ
る。しかし、この方式の装置はフォント展開部6を備え
た装置よりも更に前記ドットフォントの展開に時間がか
かると共に、MPU1が行なう他の仕事も遅くなってし
まうため、結局印字速度が図6に示した装置よりも更に
遅くなる傾向があった。Further, among the conventional printing apparatuses using the above-mentioned outline font, there is also an apparatus which does not have the font developing unit 6 and causes the MPU 1 to perform the work for developing the dot font pattern from the outline font. However, in this type of apparatus, it takes longer time to develop the dot font than in the apparatus equipped with the font expanding section 6, and other work performed by the MPU 1 also becomes slower, so that the printing speed is eventually shown in FIG. The device tended to be even slower.
【0005】上記のような欠点を回避するために、装置
の電源投入時等に、全ての文字のアウトラインフォント
からドットフォントパターンを展開し、これをRAM等
に格納しておけば、入力印字文字に対応するドットフォ
ントパターンを直ちに前記RAMから読み出して印字す
ることができ、高品質の印字を高速で行うことができ
る。しかし、これには全アウトラインフォントから展開
した全ドットフォントパターンを格納することができる
大容量のRAMを必要とし、装置のコストが高くなると
いう欠点があると共に、電源投入時の前記アウトライン
フォントからドットフォントを展開するのに時間がかか
り、装置の速やかな立ち上げができないという欠点があ
った。In order to avoid the above drawbacks, when the power of the apparatus is turned on, the dot font pattern is expanded from the outline font of all the characters and stored in the RAM or the like. The dot font pattern corresponding to can be immediately read from the RAM and printed, and high-quality printing can be performed at high speed. However, this requires a large-capacity RAM that can store all dot font patterns expanded from all outline fonts, which has the drawback of increasing the cost of the device, and the dots from the outline fonts when the power is turned on. There is a drawback that it takes time to develop the font and the device cannot be started up quickly.
【0006】[0006]
【発明が解決しようとする課題】印字文字が綺麗で且つ
その大きさを自由に設定することができるアウトライン
フォントを用いた従来の印刷方法及び印刷装置では、ア
ウトラインフォントからドットフォントを展開しなけれ
ばならず、これに時間がかかるため、印字速度が遅くな
るという欠点があった。そこで、予め全文字のアウトラ
インフォントをドットフォントに展開して、RAM等に
格納しておく方法や装置もあるが、これには大容量のR
AMを必要として装置のコストが高くなると共に、前記
ドットフォントの展開に時間がかかって装置の速やかな
立ち上げができないという欠点があった。In the conventional printing method and printing apparatus using an outline font in which printed characters are beautiful and whose size can be freely set, the dot font must be expanded from the outline font. However, since this takes time, there is a drawback that the printing speed becomes slow. Therefore, there is also a method or device for expanding the outline font of all characters into a dot font in advance and storing it in a RAM or the like.
There is a disadvantage that the cost of the apparatus becomes high because AM is required, and that it takes time to develop the dot font and the apparatus cannot be started up quickly.
【0007】そこで本発明は上記の欠点を除去し、文字
をアウトラインフォントを用いて安価な装置で高品質の
文字を高速に印字することができる印刷装置及び印刷方
法を提供することを目的としている。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks and to provide a printing apparatus and a printing method capable of printing high-quality characters at high speed with an inexpensive device using outline fonts. .
【0008】[0008]
【課題を解決するための手段】本発明はアウトラインフ
ォントを用いて文字を印字する印刷装置において、任意
の範囲の文字を設定する設定手段と、この設定手段によ
って設定された範囲の文字のアウトラインフォントから
ドットフォントを展開する展開手段と、この展開手段に
より展開されたドットフォントを記憶する記憶手段と、
前記入力文字のドットフォントが前記記憶手段にあるか
ないを判定する判定手段と、この判定手段により前記入
力文字のドットフォントが前記記憶手段内にあると判定
された場合、前記記憶手段内の該当のドットフォントを
用いて印字し、ないと判定された場合はこの入力文字の
アウトランインフォントを前記展開手段により展開して
得たドットフォントを用いて印字を行う印字制御手段と
を具備した構成を有する。According to the present invention, in a printing apparatus for printing characters using an outline font, setting means for setting characters in an arbitrary range and outline font of characters in the range set by the setting means. Expansion means for expanding the dot font from the, and storage means for storing the dot font expanded by this expansion means,
The determination means for determining whether or not the dot font of the input character is present in the storage means, and when the determination means determines that the dot font of the input character is in the storage means, If it is determined that the dot font is not used for printing and the non-run-in font of the input character is determined to be not printed, the dot font obtained by expanding the input character by the expanding means is used for printing. .
【0009】[0009]
【作用】本発明の印刷装置において、設定手段は任意の
範囲の文字を設定する。展開手段は前記設定手段によっ
て設定された範囲の文字のアウトラインフォントからド
ットフォントを展開する。記憶手段は前記展開手段によ
り展開されたドットフォントを記憶する。判定手段は前
記入力文字のドットフォントが前記記憶手段にあるかな
いを判定する。印字制御手段は前記判定手段により前記
入力文字のドットフォントが前記記憶手段内にあると判
定された場合、前記記憶手段内の該当のドットフォント
を用いて印字し、ないと判定された場合はこの入力文字
のアウトランインフォントを前記展開手段により展開し
て得たドットフォントを用いて印字を行う。In the printing apparatus of the present invention, the setting means sets a character in an arbitrary range. The expanding means expands the dot font from the outline font of the characters in the range set by the setting means. The storage means stores the dot font expanded by the expanding means. The determination means determines whether or not the dot font of the input character is in the storage means. If the determination means determines that the dot font of the input character is in the storage means, the print control means prints using the corresponding dot font in the storage means. Printing is performed using a dot font obtained by expanding the out-run-in font of the input character by the expanding means.
【0010】これにより、入力文字のドットフォントが
前記記憶手段にある場合は、この記憶手段から該当のド
ットフォントを読み出して印字すればよく、前記文字の
アウトラインフォントからドットフォントを展開する時
間を省略することができ、高品質の文字を高速で印字す
ることができる。又、前記記憶手段には所定範囲の文字
のドットフォントのみが記憶されるため、記憶容量を大
きくする必要がなく、装置を安価に構成することができ
る。Accordingly, when the dot font of the input character is in the storage means, the dot font corresponding to the input character may be read out and printed, and the time for developing the dot font from the outline font of the character is omitted. Therefore, high quality characters can be printed at high speed. Further, since only a dot font of characters within a predetermined range is stored in the storage means, there is no need to increase the storage capacity, and the device can be constructed at low cost.
【0011】[0011]
【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の印刷装置の一実施例を示したブ
ロック図である。1は印字動作全体を制御する主プロセ
ッサ(MPU)、2は印字データを図示されないホスト
システム等から入力する入力制御部、4は入力されるド
ットフォントパターンに従って印字部5を制御する出力
制御部、5は出力制御部4により文字をヘッド(図示せ
ず)で用紙(図示せず)に印刷して出力する印字部、6
はアウトラインフォントからドットフォントを展開する
フォント展開部、7はアウトラインフォントを格納して
いるアウトラインフォント用メモリ、8はフォント展開
部6により展開されたドットフォントを保持するRA
M、12はシステムバスである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the printing apparatus of the present invention. Reference numeral 1 is a main processor (MPU) for controlling the entire printing operation, 2 is an input control unit for inputting print data from a host system (not shown), 4 is an output control unit for controlling the printing unit 5 according to an input dot font pattern, A printing unit 5 prints characters on a paper (not shown) with a head (not shown) by the output control unit 4 and outputs the characters.
Is a font expansion unit for expanding a dot font from the outline font, 7 is an outline font memory storing the outline font, and 8 is an RA for holding the dot font expanded by the font expansion unit 6.
M and 12 are system buses.
【0012】次に本実施例の動作について説明する。電
源投入時、MPU1は予め設定されている文字群、例え
ば平仮名や数字等のアウトラインフォントからドットフ
ォントパターンを展開する動作をフォント展開部6を用
いて行なう。即ち、MPU1は上記した文字のアウトラ
インフォントをアウトラインフォント用メモリ7から読
み出して、これをフォント展開部6に与える。フォント
展開部6は与えられたアウトラインフォントからドット
フォントパターンを展開するため、MPU1はこのフォ
ント展開部6により展開されたドットフォントパターン
をRAM8に格納する。このため、電源投入後、RAM
8には上記した文字のドットフォントパターンが格納さ
れることになる。尚、MPU1に予め設定しておく上記
文字群は使用頻度の高い文字である。このような文字群
は予めメーカが設定しておいてもよいし、或いはユーザ
がメニュー画面等から文字の種類及び範囲を選択して設
定できるようにしておいてもよい。Next, the operation of this embodiment will be described. When the power is turned on, the MPU 1 uses the font expanding unit 6 to expand a dot font pattern from a preset character group, for example, an outline font such as hiragana or numbers. That is, the MPU 1 reads out the outline font of the above-mentioned character from the outline font memory 7 and gives it to the font expansion unit 6. Since the font expanding unit 6 expands the dot font pattern from the given outline font, the MPU 1 stores the dot font pattern expanded by the font expanding unit 6 in the RAM 8. Therefore, after turning on the power, the RAM
8 stores the dot font pattern of the above character. The above-mentioned character group preset in the MPU 1 is a frequently used character. Such a character group may be set in advance by the manufacturer, or may be set by the user by selecting the type and range of the character from the menu screen or the like.
【0013】このような状態で、入力制御部2に印字デ
ータ100が入力されると、MPU1は入力された文字
コードに対応するドットフォントパターンがRAM8に
格納されているかどうかを調べ、格納されている場合に
は該当のドットフォントパターンを読み出して、これを
出力制御部4に与える。しかし、該当のドットフォント
パターンがRAM8内に格納されていない場合、MPU
1は入力制御部2から入力された前記文字のアウトライ
ンフォントからドットフォントパターンをフォント展開
部6を用いて展開する制御を行なう。即ち、フォント展
開部6はアウトラインフォント用メモリ7から読み出さ
れた前記文字のアウトラインフォントからドットフォン
トパターンを展開し、MPU1はこの展開されたドット
フォントパターンをRAM8内に格納した後、これを読
み出して出力制御部4に与える。出力制御部4は与えら
れたドットフォントパターンに基づいて印字部5を制御
することにより、図示されない印字ヘッドで用紙に文字
を印字する。When the print data 100 is input to the input control section 2 in such a state, the MPU 1 checks whether or not the dot font pattern corresponding to the input character code is stored in the RAM 8 and is stored. If so, the corresponding dot font pattern is read and given to the output control unit 4. However, if the corresponding dot font pattern is not stored in RAM8, MPU
The reference numeral 1 controls the development of a dot font pattern from the outline font of the character input from the input control unit 2 using the font development unit 6. That is, the font expansion unit 6 expands a dot font pattern from the outline font of the character read from the outline font memory 7, and the MPU 1 stores the expanded dot font pattern in the RAM 8 and then reads it. To the output control unit 4. The output control unit 4 controls the printing unit 5 on the basis of the given dot font pattern to print a character on the paper by a print head (not shown).
【0014】ところで、RAM8の容量には限りがある
ため、当初RAM8に格納されているドットフォントパ
ターン以外のドットフォントパターンを上記のように後
からRAM8内に追加していくと、そのうちRAM8の
容量が足りなくなる。そこで、MPU1はRAM8内に
格納されているドットフォントパターンの中で使用され
たものに対してドットフォントパターンの中で使用され
たパターンにその使用回数を付記するようにし、RAM
8が一杯になったところで、最も使用されていないドッ
トフォントパターンを捨てて、新たにフォント展開部6
により展開されたドットフォントンパターンをこのRA
M8に格納するような制御を行なう。By the way, since the capacity of the RAM 8 is limited, if the dot font patterns other than the dot font patterns initially stored in the RAM 8 are added later in the RAM 8 as described above, the capacity of the RAM 8 is eventually increased. Will run out. Therefore, the MPU 1 adds the number of times of use to the pattern used in the dot font pattern with respect to the one used in the dot font pattern stored in the RAM 8.
When 8 is full, discard the least used dot font pattern and add a new font expansion unit 6
This RA is a dot font pattern developed by
The control for storing in M8 is performed.
【0015】図2は図1に示したMPU1の動作を示し
たフローチャートである。ステップ201にて装置に電
源が投入されると、MPU1はステップ202にて予め
設定されている文字群のアウトラインフォントからドッ
トフォントパターンを展開して、これをステップ203
にてRAM8内に格納しておく。その後、MPU1はス
テップ204にて入力制御部2からの文字の入力待ちを
行い、文字が入力されると、ステップ205にて前記文
字のドットフォントパターンがRAM8内にあるかない
かを判定し、ない場合はステップ208に進み、ある場
合はステップ206に進む。MPU1はステップ206
にて該当のドットフォントパターンをRAM8から読み
出して、これを出力制御部4に与えることにより、入力
文字を印字部5で印字する。次にMPU1はステップ2
07にて全ての文字を印字したかどうかを判断し、印字
していないならばステップ204に戻り、印字した場合
は処理を終了する。一方、ステップ208に進んだ場
合、MPU1は入力された文字のアウトラインフォント
からドットフォントパターンをフォント展開部6により
展開して、これをステップ209にてRAM8に格納し
た後、ステップ206に進む。FIG. 2 is a flow chart showing the operation of the MPU 1 shown in FIG. When the apparatus is powered on in step 201, the MPU 1 develops a dot font pattern from the outline font of the preset character group in step 202, and develops this in step 203.
It is stored in the RAM 8 at. After that, the MPU 1 waits for the input of the character from the input control unit 2 in step 204, and when the character is input, it determines in step 205 whether or not the dot font pattern of the character exists in the RAM 8 and does not exist. If yes, go to step 208; if yes, go to step 206. Step 206 of MPU1
At, the corresponding dot font pattern is read from the RAM 8 and given to the output control section 4, so that the input section prints the input character. Next, MPU1 is step 2
At 07, it is determined whether or not all the characters have been printed. If not, the process returns to step 204, and if so, the process ends. On the other hand, if the process proceeds to step 208, the MPU 1 develops the dot font pattern from the outline font of the input character by the font developing unit 6, stores it in the RAM 8 at step 209, and then proceeds to step 206.
【0016】本実施例によれば、使用頻度が高い文字の
アウトラインフォンから展開されたドットフォントパタ
ーンをRAM8内に予め格納しておくことにより、入力
制御部2に入力される印字データのほとんどがこのRA
M8内に既に展開されているドットフォントパターンを
持つことになるため、MPU1は入力文字に対応するド
ットフォントパターンをRAM8から読み出して出力制
御部4に送るだけで、入力文字の印字を行なうことがで
きる。従って、MPU1はフォント展開部6をあまり動
作させることなくアウトラインフォンによる印字を行う
ことができ、アウトラインフォントからドットフォント
を展開する時間がほとんどなくなるため、従来に比べて
高速且つ高品位の印字を印字部5にて行なうことができ
る。又、RAM8内には使用頻度が高い所定範囲の文字
のドットフォントパターンが格納されるだけであるた
め、小容量のRAM8を用いることができ、装置のコス
トを上昇させることなく、上記効果を実現できると共
に、電源投入時のドットフォント展開量が少ないため、
装置の立ち上げを迅速に行うことができる。According to the present embodiment, the dot font pattern developed from the outline phone of the character that is frequently used is stored in the RAM 8 in advance, so that most of the print data input to the input control unit 2 can be stored. This RA
Since the M8 has a dot font pattern already developed in M8, the MPU 1 can print the input character only by reading the dot font pattern corresponding to the input character from the RAM 8 and sending it to the output control unit 4. it can. Therefore, the MPU 1 can perform printing by the outline phone without operating the font development unit 6 so much, and there is almost no time to develop the dot font from the outline font, so that high-speed and high-quality printing is performed compared to the conventional case. Part 5 can be performed. In addition, since the dot font pattern of a predetermined range of frequently used characters is stored in the RAM 8, the RAM 8 having a small capacity can be used, and the above effect is realized without increasing the cost of the device. In addition to being able to do it, the amount of dot font expansion at power on is small,
The device can be started up quickly.
【0017】尚、RAM8内にアウトラインフォントか
ら展開されたドットフォントパターンを追加する際に、
追加用の領域をRAM8内に設けておき、追加するドッ
トフォントパターンはこの領域に順次格納するように
し、この領域が一杯になった場合は古い順から捨てて、
新たなドットフォントパターンを格納する方式としても
同様の効果を得ることができ。When adding the dot font pattern expanded from the outline font to the RAM 8,
An additional area is provided in the RAM 8 and the dot font patterns to be added are sequentially stored in this area. When this area becomes full, the oldest order is discarded,
The same effect can be obtained as a method of storing a new dot font pattern.
【0018】図3は本発明の他の実施例を示したブロッ
ク図である。本例はRAM8に接続されるローカルバス
13上にサブプロセッサ(SPU)9、フォント展開部
6及びアウトラインフォント用メモリ7が接続されてい
る。SPU9はMPU1からシステムバス12を介して
アウトラインフォント展開指令を受け取ると、以降MP
U1とは独立にこのSPU9が指定されたアウトライン
フォントに基づいてドットフォントパターンをフォント
展開部6を用いて展開する。従って、電源投入時SPU
9はMPU1の指令により、頻繁に使用される文字のア
ウトラインフォントをアウトラインフォント用メモリ7
から読み出してフォント展開部6に与えることによりド
ットフォントパターンに展開し、これをRAM8に格納
しておく。FIG. 3 is a block diagram showing another embodiment of the present invention. In this example, a sub-processor (SPU) 9, a font expansion unit 6, and an outline font memory 7 are connected on a local bus 13 connected to a RAM 8. When the SPU 9 receives the outline font expansion command from the MPU 1 via the system bus 12, the SPU 9 thereafter executes MP
Independently of U1, the SPU 9 develops a dot font pattern using the font development unit 6 based on the designated outline font. Therefore, when the power is turned on, the SPU
9 is an outline font memory 7 for displaying an outline font of frequently used characters according to a command from the MPU 1.
Is read out and applied to the font expansion unit 6 to be expanded into a dot font pattern, which is stored in the RAM 8.
【0019】その後、入力制御部2から印字データ10
0が入力されると、MPU1は入力された文字に対応す
るドットフォントパターンがRAM8にあれば、これを
読み出して出力制御部4に与え、対応するドットフォン
トパターンがなければ、前記文字のアウトラインフォン
トをドットフォントパターンに展開する指令をSPU9
に出す。これにより、前記文字のドットフォントパター
ンがRAM8に格納されるため、MPU1はこれを読み
出して出力制御部4へ与える。上記SPU9がアウトラ
インフォントからドットフォントを展開する制御を行な
う際、MPU1はシステムバス12を通してRAM8内
のドットフォントデータを読み出すことができ、又SP
U9は前記RAM8にドットフォントを書き込む場合は
ローカルバス13を介して行うことができる。このた
め、SPU9のフォント展開部6を用いたアウトライン
フォントのドットフォント展開制御は、MPU1のRA
M8からのドットフォントパターン読み出し制御に規制
されることなく、独立に行なうことができ、図1に示し
た実施例よりもアウトラインフォントからドットフォン
トを更に高速に展開することができる。Thereafter, the print data 10 is input from the input control unit 2.
When 0 is input, the MPU 1 reads out the dot font pattern corresponding to the input character in the RAM 8 and outputs it to the output control unit 4. If there is no corresponding dot font pattern, the outline font of the character is read. SPU9 command to expand the
To put out. As a result, the dot font pattern of the character is stored in the RAM 8, and the MPU 1 reads it and gives it to the output control unit 4. When the SPU 9 controls the expansion of the dot font from the outline font, the MPU 1 can read the dot font data in the RAM 8 through the system bus 12, and SP
U9 can write the dot font in the RAM 8 via the local bus 13. Therefore, the dot font expansion control of the outline font using the font expansion unit 6 of the SPU 9 is performed by the RA of the MPU 1.
The dot font pattern read control from M8 can be performed independently without being restricted, and the dot font can be developed at a higher speed than the outline font as compared with the embodiment shown in FIG.
【0020】本実施例も上記実施例と同様の効果がある
が、アウトラインフォントからドットフォントを展開す
る制御をSPU9が行なうため、MPU1の負荷を図1
に示した実施例に比べて更に減らしているため、この分
アウトラインフォントからドットフォントを展開する速
度が上昇し、図1に示した実施例よりも更に高速に高品
位の印字を行うことができる。This embodiment also has the same effect as the above embodiment, but since the SPU 9 controls the expansion of the dot font from the outline font, the load on the MPU 1 is as shown in FIG.
Since the number is smaller than that in the embodiment shown in FIG. 3, the speed of developing the dot font from the outline font is increased accordingly, and high-quality printing can be performed at a higher speed than in the embodiment shown in FIG. .
【0021】図4は本発明の更に他の実施例を示したブ
ロック図である。本例はローカルバス13上にSPU9
及びフォント展開部6が固定的に接続されており、更に
このローカルバス13にメモリカード10、11が着脱
自在に接続されている。メモリカード10にはドットフ
ォント用メモリ3が搭載されており、メモリカード11
にはアウトラインフォント用メモリ7が搭載されてい
る。図のようにメモリカード10、11が両方とも実装
されている場合、ユーザが通常のドットフォントによる
印字を選択すると、MPU1はメモリカード10内のド
ットフォント用メモリ3内に格納されている通常のドッ
トフォントパターンをSPU9を通してRAM8に格納
することにより、通常の印字品質で印字を行うことがで
きる。FIG. 4 is a block diagram showing still another embodiment of the present invention. In this example, the SPU 9 is installed on the local bus 13.
The font expanding unit 6 is fixedly connected, and the memory cards 10 and 11 are detachably connected to the local bus 13. The memory card 10 is equipped with the dot font memory 3, and the memory card 11
Is equipped with an outline font memory 7. When both the memory cards 10 and 11 are mounted as shown in the figure, when the user selects the normal dot font printing, the MPU 1 is stored in the dot font memory 3 in the memory card 10. By storing the dot font pattern in the RAM 8 through the SPU 9, printing can be performed with normal print quality.
【0022】又、MPU1はユーザがアウトラインフォ
ントによる印字を選択した場合、SPU9に使用頻度の
高い文字のアウトラインフォントをドットフォントに添
加してこれをRAM8に格納しておく指令を出す。これ
により、SPU9はメモリカード11のアウトラインフ
ォント用メモリ7から該当のアウトラインフォントを読
み出し、このアウトラインフォントからドットフォント
パターンをフォント展開部6により展開してRAM8に
格納しておく。又、RAM8に格納したドットフォント
パターンを持たない印字文字が入力制御部2から入力さ
れた場合、MPU1はSPU9に指令を出して前記文字
のアウトラインフォントからドットフォントパターンを
展開させ、これをRAM8に格納するようにして、図3
に示した実施例と同様の印字動作を行なう。When the user selects the printing with the outline font, the MPU 1 issues a command to the SPU 9 to add the outline font of the character that is frequently used to the dot font and store it in the RAM 8. As a result, the SPU 9 reads out the corresponding outline font from the outline font memory 7 of the memory card 11, expands the dot font pattern from this outline font by the font expansion unit 6, and stores it in the RAM 8. Further, when a print character having no dot font pattern stored in the RAM 8 is input from the input control unit 2, the MPU 1 issues a command to the SPU 9 to expand the dot font pattern from the outline font of the character, which is stored in the RAM 8. As shown in FIG.
The same printing operation as in the embodiment shown in FIG.
【0023】本実施例によれば、通常のドットフォント
による印字とアウトラインフォントによる印字をユーザ
が選択できると共に、アウトラインフォントの印字も通
常のドットフォントによる印字と同様の高速で行なうこ
とができる。尚、メモリカード10、11のいずれか一
方が実装されている場合は、実装されたメモリカードの
フォントによる印字が行われる。尚、メモリカードを1
種類だけ着脱するようにした場合は、実装されているメ
モリカードのフォントによる印字が行われるためユーザ
は装着されるメモリカードの種類を選択することにより
用いるフオントの種類を選択することができる。According to this embodiment, the user can select the normal dot font printing and the outline font printing, and the outline font printing can be performed at the same high speed as the normal dot font printing. When either one of the memory cards 10 and 11 is mounted, the font of the mounted memory card is used for printing. In addition, 1 memory card
When only the type is attached and detached, the font of the mounted memory card is printed, so that the user can select the type of font to be used by selecting the type of the mounted memory card.
【0024】[0024]
【発明の効果】以上記述した如く本発明の印刷装置及び
印刷方法によれば、文字をアウトラインフォントを用い
て安価な装置で高品質の文字を高速に印字することがで
きる。As described above, according to the printing apparatus and the printing method of the present invention, high-quality characters can be printed at high speed by using an outline font for inexpensive characters.
【図1】本発明の印刷装置の一実施例を示したブロック
図。FIG. 1 is a block diagram showing an embodiment of a printing apparatus of the present invention.
【図2】図1に示したMPUの動作を示したフローチャ
ート。2 is a flowchart showing the operation of the MPU shown in FIG.
【図3】本発明の他の実施例を示したブロック図。FIG. 3 is a block diagram showing another embodiment of the present invention.
【図4】本発明の更に他の実施例を示したブロック図。FIG. 4 is a block diagram showing still another embodiment of the present invention.
【図5】従来の日本語用の印字装置のブロック図。FIG. 5 is a block diagram of a conventional printing device for Japanese.
【図6】従来のアウトラインフォントを用いた印字装置
のブロック図。FIG. 6 is a block diagram of a printing apparatus using a conventional outline font.
1…主プロセッサ 2…入力制御部 4…出力制御部 5…印字部 6…フォント展開部 7…アウトライン
フォント用メモリ 8…RAM 9…サブプロセッ
サ 12…入力制御部 13…ローカルバ
ス1 ... Main processor 2 ... Input control unit 4 ... Output control unit 5 ... Printing unit 6 ... Font expansion unit 7 ... Outline font memory 8 ... RAM 9 ... Sub processor 12 ... Input control unit 13 ... Local bus
Claims (7)
を用いて印字する印字方法において、予め設定された範
囲の文字のアウトラインフォントからドットフォントを
展開して、これらドットフォントを記憶しておき、その
後,入力された文字に対応する前記記憶されたドットフ
ォントがある場合は、このドットフォントを用いて印字
を行い、前記記憶されたドットフォントがない場合は入
力文字のアウトラインフォントからドットフォントを展
開し、得られたドットフォントを用いて印字を行うこと
を特徴とした印刷方法。1. A printing method for printing an input character using an outline font, wherein a dot font is expanded from an outline font of characters in a preset range, these dot fonts are stored, and then, When there is the stored dot font corresponding to the input character, printing is performed using this dot font, and when there is no stored dot font, the dot font is expanded from the outline font of the input character, A printing method characterized by performing printing using the obtained dot font.
字する印刷装置において、任意の範囲の文字を設定する
設定手段と、この設定手段によって設定された範囲の文
字のアウトラインフォントからドットフォントを展開す
る展開手段と、この展開手段により展開されたドットフ
ォントを記憶する記憶手段と、前記入力文字のドットフ
ォントが前記記憶手段にあるかないを判定する判定手段
と、この判定手段により前記入力文字のドットフォント
が前記記憶手段内にあると判定された場合、前記記憶手
段内の該当のドットフォントを用いて印字し、ないと判
定された場合はこの入力文字のアウトランインフォント
を前記展開手段により展開して得たドットフォントを用
いて印字を行う印字制御手段とを具備したことを特徴と
する印刷装置。2. In a printing device for printing characters using an outline font, setting means for setting characters in an arbitrary range, and expansion for expanding a dot font from the outline font of characters in the range set by this setting means Means, a storage means for storing the dot font expanded by the expanding means, a judgment means for judging whether or not the dot font of the input character exists in the storage means, and a dot font for the input character by the judging means. If it is determined that the input character is in the storage means, printing is performed using the corresponding dot font in the storage means, and if it is determined that it is not, the out-run-in font of this input character is expanded by the expansion means. And a print control means for printing using a dot font.
トの使用頻度を求めてこれを各ドットフォントに付記し
ておき、記憶手段が一杯になった場合は使用頻度が少な
いドットフォントを消去して新たなドットフォントを記
憶することを特徴とする請求項2記載の印刷装置。3. The storage means obtains the frequency of use of the stored dot fonts and adds this to each dot font. When the storage means is full, the dot fonts with low frequency of use are deleted. The printing apparatus according to claim 2, wherein a new dot font is stored.
することを特徴とした請求項2又は3記載の印刷装置。4. The printing apparatus according to claim 2, wherein the developing means operates independently of the print control means.
トを記憶手段に書き込むためのデータ伝送バスと、印刷
制御手段が記憶手段からドットフォントを読み出すため
のデータ伝送バスとを別系統にしたことを特徴とする請
求項4記載の印刷装置。5. A data transmission bus for writing the dot font expanded by the expanding means into the storage means and a data transmission bus for reading the dot font from the storage means by the print control means are separate systems. The printing device according to claim 4.
トを格納したメモリを設け、このメモリに格納されてい
るフォントの種類に従って入力文字の印刷を行うことを
特徴とする請求項2記載の印刷装置。6. The printing according to claim 2, wherein a memory storing a character font that is detachably attached to the apparatus is provided and an input character is printed according to the type of the font stored in this memory. apparatus.
し、且つ前記メモリの一方はアウトラインフォントを格
納したメモリで、他方はドットフォントを格納したメモ
リの2種類とし、しかも、アウトラインフォントを用い
て印字するか、又はドットフォントを用いて印字するか
をユーザに指定させる指定手段を具備したことを特徴と
する請求項6記載の印刷装置。7. The apparatus is equipped with two kinds of memories, one of the memories is a memory storing an outline font and the other is a memory storing a dot font, and the outline font is used. 7. The printing apparatus according to claim 6, further comprising: a specifying unit that allows a user to specify whether to print with a dot font or with a dot font.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32812093A JPH07178976A (en) | 1993-12-24 | 1993-12-24 | Printing method and printing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32812093A JPH07178976A (en) | 1993-12-24 | 1993-12-24 | Printing method and printing apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07178976A true JPH07178976A (en) | 1995-07-18 |
Family
ID=18206710
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32812093A Withdrawn JPH07178976A (en) | 1993-12-24 | 1993-12-24 | Printing method and printing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07178976A (en) |
-
1993
- 1993-12-24 JP JP32812093A patent/JPH07178976A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6317193B2 (en) | Image forming apparatus | |
| JPH07178976A (en) | Printing method and printing apparatus | |
| JPH07177348A (en) | Printer device | |
| JP3311056B2 (en) | Image forming method and apparatus | |
| JP3817077B2 (en) | Print processing system and image forming apparatus | |
| JPH0434505B2 (en) | ||
| JP2606557B2 (en) | DTP system | |
| KR0146901B1 (en) | Logo insert printer | |
| JP2998915B2 (en) | Double-sided printing device | |
| JPH06183074A (en) | Character processing device | |
| JP3196788B2 (en) | Printer and print control method | |
| JP2922676B2 (en) | Image forming device | |
| JP2974638B2 (en) | Document processing apparatus and method | |
| JPH05212916A (en) | Printer device | |
| JPH089144A (en) | Printing apparatus and control method thereof | |
| JPH0321468A (en) | Printer controller | |
| JP2728916B2 (en) | Character processing apparatus and method | |
| JP2001229002A (en) | Printer system | |
| JPH08230254A (en) | Printer | |
| JPH10326166A (en) | Printer device | |
| JPH02202461A (en) | Recording device | |
| JPH03128259A (en) | Character generation device | |
| JPH0732674A (en) | Printer | |
| JPH08216475A (en) | Printer | |
| JPH02235097A (en) | Image recording device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20010306 |