JPH036595A - printing device - Google Patents
printing deviceInfo
- Publication number
- JPH036595A JPH036595A JP1141113A JP14111389A JPH036595A JP H036595 A JPH036595 A JP H036595A JP 1141113 A JP1141113 A JP 1141113A JP 14111389 A JP14111389 A JP 14111389A JP H036595 A JPH036595 A JP H036595A
- Authority
- JP
- Japan
- Prior art keywords
- character
- resolution
- printing
- dot pattern
- information
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は出力解像度の変更可能な印刷装置に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device whose output resolution can be changed.
【従来の技術]
従来、ドツトパターン文字を扱う印刷装置において、そ
の印字解像度を変えると、それまで使っていた文字サイ
ズとは異なる文字サイズとして扱かうか(例えば、解像
度が400dpiの時lOポイントの文字を解像度が2
00dpiの時は、20ポイントの文字とみなす)、或
はドツトの間引き等の補正により対処していた。[Prior Art] Conventionally, in a printing device that handles dot pattern characters, if the printing resolution is changed, the character size is treated as different from the character size used up until then (for example, when the resolution is 400 dpi, Character resolution is 2
At 00 dpi, it is treated as a 20 point character), or by thinning out the dots, etc.
[発明が解決しようとしている課題]
しかしながら、上記従来例では表示解像度を優先したが
ために、解像度を少しでも変えると対応するドツトパタ
ーン文字がなくなるといった不都合が生じていた。又、
逆にドツトパターン文字の方を交換すると解像度が合わ
なくなり、不適合な印字が行われていた。[Problems to be Solved by the Invention] However, in the conventional example described above, priority was given to the display resolution, which caused the problem that if the resolution was changed even slightly, the corresponding dot pattern characters would disappear. or,
Conversely, if the dot pattern characters were replaced, the resolution would no longer match, resulting in non-conforming printing.
また、近年、ベクトルフォント(アウトラインフォント
)による印刷装置が出現しているが、これらの装置では
、印刷出力する段階になって、その都度文字パターンを
発生させるという処理を行なっていたため、装置のスル
ーブツトの低下は免れなかった。In addition, in recent years, printing devices using vector fonts (outline fonts) have appeared, but these devices generate a character pattern each time they print out, which reduces the throughput of the device. The decline was inevitable.
本第1の発明はかかる課題に鑑みなされたものであり、
解像度変更が可能な印刷装置において、文字を構成する
構成ドツト数を変更しても、自動的に最適な出力解像度
で印刷することが可能な印刷装置を提供しようとするも
のである。The first invention was made in view of this problem,
An object of the present invention is to provide a printing device capable of changing the resolution, which can automatically print at the optimum output resolution even if the number of dots constituting a character is changed.
また、第2の発明は、ベクトルフォントによる印刷処理
のスルーブツトを向上させることを可能にした印刷装置
を提供しようとするものである。A second aspect of the invention is to provide a printing device that can improve the throughput of vector font printing processing.
[課題を解決するための手段]
この課題を解決するため、本発明の第1の印刷装置は以
下に示す構成を備える。すなわち、印刷解像度の変更可
能で、且つ印字ドツトパターン文字情報を含む記憶媒体
が着脱可能な印刷装置において、前記記憶媒体には、自
身に格納されている文字のドツトパターンの出力密度情
報を記憶保持する保持手段があって、装置自身には、前
記記憶媒体の出力密度情報を読み出す読み出し手段と、
該読み出し手段で読み出された出力密度に基づいて印刷
解像度を変更する変更手段とを備える。[Means for Solving the Problem] In order to solve this problem, a first printing device of the present invention has the configuration shown below. That is, in a printing device in which the printing resolution can be changed and a storage medium containing printed dot pattern character information is removable, the storage medium stores and holds output density information of character dot patterns stored in the storage medium. The apparatus itself includes a reading means for reading output density information of the storage medium;
and changing means for changing the printing resolution based on the output density read by the reading means.
また、第2の印刷装置は、印刷解像度の変更可能で、且
つベクトル情報に基づいて文字パターンを発生し印刷す
る印刷装置において、変更後の印刷解像度情報及び印刷
文字サイズを記憶保持する保持手段と、該保持手段で保
持された印刷解像度及び文字サイズに基づく印刷文字ド
ツトパターンを順次発生する発生手段と、発生した印刷
文字ドツトパターンを記憶する記憶手段とを備え、外部
より入力した文字コードを受信したときには、前記記憶
手段に記憶された対応する印刷文字ドツトパターンでも
って印刷する。The second printing device is a printing device capable of changing printing resolution and generating and printing a character pattern based on vector information, and the second printing device includes a holding unit for storing and holding the changed printing resolution information and printed character size. , comprising generating means for sequentially generating printed character dot patterns based on the printing resolution and character size held by the holding means, and storage means for storing the generated printed character dot patterns, and receiving character codes input from the outside. If so, printing is performed using the corresponding print character dot pattern stored in the storage means.
[作用]
かかる第1の発明の構成において、記憶媒体には、その
記憶媒体内に記憶されたドツトパターン文字情報の最適
な出力密度情報が保持されている。そして、その記憶媒
体に記憶されているドツトパターン文字情報で印刷する
ときには、その保持された出力密度情報にして印刷する
。[Operation] In the configuration of the first invention, the storage medium holds optimal output density information of the dot pattern character information stored in the storage medium. When printing using the dot pattern character information stored in the storage medium, printing is performed using the held output density information.
また、第2の発明の構成においては、印刷開始に先立ち
、保持手段に保持された印刷解像度情報及び文字サイズ
に適合する印刷文字ドツトパターンを発生させ記憶させ
る。そして、文字コード受信の際には、その記憶された
印刷文字ドツトパターンに基づいて印刷する。Further, in the configuration of the second aspect of the invention, prior to the start of printing, a printed character dot pattern matching the printing resolution information and character size held in the holding means is generated and stored. When a character code is received, printing is performed based on the stored print character dot pattern.
[実施例]
以下、添付図面に従って本発明に係る実施例を詳細に説
明する。[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
く第1の実施例の説明(第1図、第2図)〉第1図は本
実施例における印刷装置の構成図である。Description of the First Embodiment (FIGS. 1 and 2)> FIG. 1 is a block diagram of a printing apparatus in this embodiment.
図中、1は印刷装置本体、2は印刷装置本体1内の各構
成要素の制御を司るCPUである。3は印字制御に係る
プログラムをはじめ、後述する第2図に示すフローチャ
ートに基づくプログラムを格納しているROMである。In the figure, 1 is a printing apparatus main body, and 2 is a CPU that controls each component within the printing apparatus main body 1. Reference numeral 3 denotes a ROM that stores programs related to printing control and programs based on a flowchart shown in FIG. 2, which will be described later.
4は文字コードに対応する文字パターンを記憶している
内蔵フォントメモリであり、標準装備のものである。5
はCPU2が動作中にそのワークエリアとして使用する
RAMである。このRAM5内には、現在の印字時の解
像度を示すデータを格納する解像度格納部5aと、後述
するフォントカートリッジ内の文字情報をアクセスする
ための情報を格納するフォントカートリッジ情報部5b
を備える。6は装置本体1の外部スロット(図示せず)
に着脱自在な構造になっているフォントカートリッジで
ある。このフォントカートリッジには、文字パターンを
記憶している文字フォント部(図示せず)をはじめ、そ
の格納されている文字パターン群に適した出力解像度を
格納している解像度情報部6aと、実際の文字パターン
をアクセスするために必要な情報(例えば、個々の文字
パターンのアドレス情報等)を記憶している文字情報部
6bとを備えている。7は出力部であり、CPU2より
指示された出力解像度による印刷を行なうものである。4 is a built-in font memory that stores character patterns corresponding to character codes, and is a standard feature. 5
is a RAM used by the CPU 2 as its work area during operation. This RAM 5 includes a resolution storage section 5a that stores data indicating the current printing resolution, and a font cartridge information section 5b that stores information for accessing character information in the font cartridge, which will be described later.
Equipped with. 6 is an external slot of the device main body 1 (not shown)
This is a font cartridge that is removable. This font cartridge includes a character font section (not shown) that stores character patterns, a resolution information section 6a that stores an output resolution suitable for the stored character pattern group, and a resolution information section 6a that stores an output resolution suitable for the stored character pattern group. The character information section 6b stores information necessary for accessing character patterns (for example, address information of individual character patterns, etc.). Reference numeral 7 denotes an output unit, which performs printing at the output resolution instructed by the CPU 2.
出力部7は例えばレーザビームによる印刷系からなり、
その印刷系に出力するビデオ信号の出力レートと、記録
紙の搬送速度を制御することにより記録解像度を制御す
ることができるので、その詳述は割愛する。The output section 7 consists of a printing system using a laser beam, for example,
Since the recording resolution can be controlled by controlling the output rate of the video signal output to the printing system and the transport speed of the recording paper, a detailed explanation thereof will be omitted.
上述した構成における本実施例のCPU2の動作処理手
順を第2図のフローチャートに従って説明する。The operation processing procedure of the CPU 2 of this embodiment in the above-described configuration will be explained according to the flowchart of FIG. 2.
本装置に電源が投入されると、CPU2はステップS1
において、外部スロットに接続されているフォントカー
トリッジ6の解像度情報部6aの内容を読み込み、その
データをRAM5内の解像度格納部5aに格納する。そ
して、次のステップS2においては、フォントカートリ
ッジ6内の文字情報部6bより文字情報を読み出し、そ
の情報をフォントカートリッジ情報部5bに格納する。When the power is turned on to this device, the CPU 2 performs step S1.
, the contents of the resolution information section 6a of the font cartridge 6 connected to the external slot are read and the data is stored in the resolution storage section 5a in the RAM 5. Then, in the next step S2, character information is read from the character information section 6b in the font cartridge 6, and the information is stored in the font cartridge information section 5b.
次のステップS3では、解像度格納部5a内に格納され
た値の解像度になるよう、出力部7を解像度切り換え指
示する。以下、外部より入力された文字コードに対応す
る文字パターンは、フォントカートリッジ情報部5b内
に格納された情報に基づいてフォントカートリッジ6よ
り読み出し、出力部7に出力することになる。In the next step S3, the output unit 7 is instructed to switch the resolution so that the resolution is the value stored in the resolution storage unit 5a. Thereafter, the character pattern corresponding to the character code input from the outside is read out from the font cartridge 6 based on the information stored in the font cartridge information section 5b and output to the output section 7.
このようにして、フォントカートリッジ6に記述された
出力解像度で印刷を行なうことが可能となる。In this way, printing can be performed at the output resolution written in the font cartridge 6.
尚、上述したステップ31〜3は電源投入時だけでなく
、別のフォントカートリッジと交換したときにも行なう
ものとする。また、フォントカートリッジの他にディス
ク装置やCDROM等を用いても良いことは勿論である
。Note that steps 31 to 3 described above are performed not only when the power is turned on, but also when replacing the font cartridge with another font cartridge. Furthermore, it goes without saying that a disk device, CDROM, etc. may be used in addition to the font cartridge.
く第2の実施例の説明(第3図)〉
以上の説明では、フォントカートリッジを装着したとき
、そのフォントカートリッジに適した解像度で印刷を行
なうものであった。ところで、対応できない構成ドツト
数のドツトパターンを記憶しているフォントカートリッ
ジを接続したときには、ユーザーの意図しないサイズの
文字が印刷されるといった不具合が発生する。Description of the Second Embodiment (FIG. 3)> In the above description, when a font cartridge is installed, printing is performed at a resolution suitable for the font cartridge. By the way, when a font cartridge that stores a dot pattern with an incompatible number of constituent dots is connected, a problem occurs in that characters of a size not intended by the user are printed.
この場合の処理内容を第3図のフローチャートに従って
説明する。尚、装置構成は第1図と同様であるものとす
る。The processing contents in this case will be explained according to the flowchart shown in FIG. It is assumed that the apparatus configuration is the same as that shown in FIG.
先ず、装置本体に電源が投入されると、処理はステップ
Sllで、プログラムROM5内に予め保持されている
出力解像度を解像度格納部5aに格納し、出力部7に対
して出力解像度の指示を行なう。次にステップS12に
進んで、フォントカートリッジ6内の解像度情報部6a
のデータを取り込む、そして、ステップS13で、その
取り込んだデータと解像度格納部5aに格納されてつる
現在の出力解像度とが一致するか否かを判断する。この
判断が“YES”である場合には、フォントカートリッ
ジ6内の文字情報部6bのデータを取り込み、RAM5
のフォントカートリッジ情報部5bに格納する。これで
、フォントカートリッジ6内に記憶されている文字パタ
ーンがアクセス可能になる。また、ステップS13の判
断が“NO”である場合には、フォントカートリッジ情
報部5にはデータを格納しない。First, when the main body of the apparatus is powered on, the process proceeds to step Sll, in which the output resolution previously held in the program ROM 5 is stored in the resolution storage section 5a, and an output resolution instruction is given to the output section 7. . Next, proceeding to step S12, the resolution information section 6a in the font cartridge 6 is
Then, in step S13, it is determined whether the captured data matches the current output resolution stored in the resolution storage section 5a. If this judgment is "YES", the data of the character information section 6b in the font cartridge 6 is read and the data is stored in the RAM 5.
is stored in the font cartridge information section 5b. The character patterns stored in the font cartridge 6 are now accessible. Further, if the determination in step S13 is "NO", no data is stored in the font cartridge information section 5.
以上の処理により、フォントカートリッジの持つ出力解
像度と印刷装置の現在の出力解像度とが一致したものだ
けが、RAM内に取り込まれ、出力に使用されることに
なる。Through the above processing, only those fonts whose output resolution matches the current output resolution of the printing device are loaded into the RAM and used for output.
また、ステップ312〜ステツプS14の処理は、電源
投入時だけでなく、出力解像度の変更時や(例えば、不
図示の操作パネルから変更指示する)、フォントカート
リッジを交換する時に行なうものとする。It is also assumed that the processing from step 312 to step S14 is performed not only when the power is turned on, but also when changing the output resolution (for example, by issuing a change instruction from an operation panel (not shown)) or when replacing the font cartridge.
く第3の実施例の説明(第4図、第5図)〉第3図に本
箱3の実施例における印刷装置のブロック構成図を示す
。Description of the Third Embodiment (FIGS. 4 and 5)> FIG. 3 shows a block diagram of the printing device in the embodiment of the bookcase 3.
図中、41は装置本体であり、42はCPUである。4
3は不揮発性で書込み可能なメモリであるNVRAMで
あり、イニシャライズ時の出力解像度を記憶している解
像度格納部43aと、同じくイニシャライズ時に作成し
べき文字サイズ(実施例では、ポイント数)を記憶して
いる文字サイズ格納部43bとをそなえる。44はプロ
グラムであり、印刷処理に係るプログラムの他、後述す
る第5図のフローチャートのプログラムも記憶している
。45はCPU42のワークエリアとして使用されるR
AMである。このRAM45には、NVRAM43に格
納されている解像度及び文字サイズに応じて、後述する
ベクトルフォント部46の標準化された文字に対しての
乗率を格納するスケーリング計数格納部45a、及びそ
のスケーリング係数の乗率で発生したドツトパターン文
字を格納するドツトパターン文字格納部45bがある。In the figure, 41 is a device main body, and 42 is a CPU. 4
3 is an NVRAM which is a nonvolatile and writable memory, and includes a resolution storage section 43a that stores the output resolution at the time of initialization, and also stores the character size (number of points in the embodiment) to be created at the time of initialization. A character size storage section 43b is provided. Reference numeral 44 denotes a program, which stores not only a program related to print processing but also a program of a flowchart shown in FIG. 5, which will be described later. 45 is R used as a work area for the CPU 42
It is AM. This RAM 45 includes a scaling factor storage section 45a that stores a multiplication factor for standardized characters of a vector font section 46, which will be described later, according to the resolution and character size stored in the NVRAM 43, and a scaling factor storage section 45a for storing the multiplication factor for standardized characters of the vector font section 46, which will be described later. There is a dot pattern character storage section 45b that stores dot pattern characters generated by the multiplication factor.
46はベクトルフォント部(ROM等で構成されている
)であり、標準化されたX−Y座標内で文字の輪郭を定
義した文字データを記憶している。47は出力部であり
、任意の解像度で印刷可能である。Reference numeral 46 denotes a vector font unit (consisting of ROM, etc.), which stores character data defining the outline of characters within standardized X-Y coordinates. Reference numeral 47 is an output unit, which can print at any resolution.
このような構成における本箱3の実施例における処理内
容を第5図のフローチャートに従って説明する。The processing contents in the embodiment of the bookcase 3 having such a configuration will be explained according to the flowchart shown in FIG.
先ず、本装置に電源が投入されると、ステップS1でN
VRAM43内の解像度格納部33aから出力解像度情
報を読み出す、そして、ステップS2では、文字サイズ
格納部43bから論理文字サイズ(ポイント数)を取り
込む、ステップS3では、ステップSl、S2で取り込
んだ情報からスケーリング係数を計算する。この計算は
、次式より算出する。First, when the power is turned on to this device, in step S1
The output resolution information is read from the resolution storage section 33a in the VRAM 43, and in step S2, the logical character size (number of points) is fetched from the character size storage section 43b.In step S3, scaling is performed from the information fetched in steps Sl and S2. Calculate the coefficients. This calculation is performed using the following formula.
resol X pts
スケーリング係数=
72X em
但し、em:ベクトルを標準化する際に文字サイズを規
定する基本サイズ
pts :ポイント数(l pts :11/72
インチ)resol :解像度(1インチ当りの出
力ドツト数)
また、ステップS53では、更に、ここで求めたスケー
リング係数を、スケーリング係数格納部5aに格納する
。resol X pts Scaling coefficient = 72
inch) resol: resolution (number of output dots per inch) In step S53, the scaling coefficient obtained here is further stored in the scaling coefficient storage section 5a.
次に、処理はステップS54に進んで、ベクトルフォン
ト部46より1文字分のベクトルデータを取り出す、こ
のとき、取り出すべき文字データがない場合には処理は
ステップ358に進むが、ここでは、1文字分のベクト
ルデータな取り出した場合を説明する。この場合、処理
はステップS56に進む。Next, the process proceeds to step S54, and vector data for one character is extracted from the vector font section 46. At this time, if there is no character data to be extracted, the process proceeds to step S54, but here, one character worth of vector data is extracted. We will explain the case where vector data for 2 minutes is extracted. In this case, the process proceeds to step S56.
ステップS・56では、その取り出した1文字分のベク
トルデータに、先に算出したスケーリング係数を乗じる
ことにより、標準化された座標系内の座標値を出力座標
系内の座標値に変換し、各輪郭点間を直線等で結んでい
くこき、更にはその輪郭内部を塗り潰すことでドツトパ
ターン文字を作成する0次に、作成された文字はRAM
45内のドツトパターン文字格納部45bに格納し、ス
テップS4に戻る。以下、順次、ベクトルフォント部4
6より1文字分のベクトル情報を読み込んでは、対応す
る文字パターンを作成してはドツトパターン文字格納4
5bに格納するという処理を繰り返していく、こうして
、最後の文字のベクトルデータに基づくドツトパターン
の格納が終了した後は、当然のことながら、ステップS
55の判断は“NO”となる、この場合には、処理はス
テップS58に進んで、出力部47にそのときの出力解
像度になるよう指示する。この後は、受信した文字コー
ドに対応する文字パターンはRAM45内のドツトパタ
ーン文字格納部45bに格納されたドツトパターンを出
力部47に出力することで印刷処理を行なう。In step S56, the extracted vector data for one character is multiplied by the previously calculated scaling coefficient to convert the coordinate values in the standardized coordinate system into coordinate values in the output coordinate system, and each A dot pattern character is created by connecting the outline points with straight lines, etc., and then filling in the inside of the outline.Next, the created character is stored in RAM.
45 in the dot pattern character storage section 45b, and the process returns to step S4. Below, vector font part 4
Read the vector information for one character from 6, create the corresponding character pattern, and store the dot pattern character 4
5b is repeated, and after the dot pattern based on the vector data of the last character has been stored, it goes without saying that step S
55 is "NO". In this case, the process proceeds to step S58 and instructs the output unit 47 to use the output resolution at that time. Thereafter, the character pattern corresponding to the received character code is printed by outputting the dot pattern stored in the dot pattern character storage section 45b in the RAM 45 to the output section 47.
以上の処理により、NVRAM内に指示された解像度及
び論理文字サイズのドツトパターン文字をイニシャライ
ズ時に作成することにより、予期せぬ大きさの文字が印
刷出力されることがなくなる。By the above processing, by creating dot pattern characters with the specified resolution and logical character size in the NVRAM at the time of initialization, characters of unexpected sizes are prevented from being printed out.
尚、ステップS51〜ステツプ358は、電源投入時だ
けでなく、リセット時、解像度切り換え時、文字サイズ
変更時等に行なうものとする。Note that steps S51 to 358 are performed not only when the power is turned on, but also when resetting, switching resolution, changing character size, etc.
く第4の実施例の説明(第6図、第7図)〉上述した第
3の実施例では、解像度を変更した場合に、その変更後
の解像度に適応できるドツトパターン文字を作成するこ
とが必要であり、解像度変更が伴なうと印刷装置自身の
スルーブツトが低下することが予想される。そこで、本
第4の実施例では、これを解決する装置を説明する。Explanation of the fourth embodiment (Figs. 6 and 7)> In the third embodiment described above, when the resolution is changed, it is possible to create dot pattern characters that can be adapted to the changed resolution. It is expected that the throughput of the printing device itself will decrease if the resolution is changed. Therefore, in the fourth embodiment, a device that solves this problem will be described.
第6図に本第4の実施例における印刷装置の構成を示す
。FIG. 6 shows the configuration of a printing apparatus in the fourth embodiment.
図中、61が装置本体であって、62はデータを出力し
てくるホストコンピュータである。装置本体61内には
以下に示す構成を備えている。In the figure, 61 is the main body of the apparatus, and 62 is a host computer that outputs data. The device main body 61 includes the following configuration.
63は装置反対全体の制御を司るCPU、64はホスト
コンピュータ62より受信したデータを一時記憶する受
信バッファである。65はCPU63の動作処理手順を
記憶しているプログラムROMであり、印刷処理に係る
プログラムの他、第8図及び第9図に示すフローチャー
トに係るプログラムも格納されている。66は標準化さ
れた座標内で文字の輪郭を定義した文字データが格納さ
れているベクトルフォント部、67は印刷装置lが出力
可能な各解像度を記憶している解像度テーブルであり、
例えば第7図に示すようになっている。尚、図示のテー
ブルの欄21には本装置で出力可能な解像度の種類の数
が記憶されており、欄22にはそれら各解像度が記憶さ
れている。但し、各解像度を示す欄中には、例えばその
解像度で印刷するときのビデオ信号出力レート及び記録
紙の搬送速度等、その解像度を実現するに足る情報が格
納されている。68はCPUのワークエリアとして使用
するRAMであり、ホストコンピュータより指定された
文字サイズ及び解像度に応じ、ベクトルフォント部66
の標準化された文字に対しての乗率な格納するスケーリ
ング係数格納部68aと、このスケーリング係数の乗率
で発生したドツト文字パターンを格納するドツト文字パ
ターン格納部68bが設けられている。69は解像度テ
ーブル67の全ての解像度で印刷出力可能な出力部であ
る。Reference numeral 63 is a CPU that controls the entire device, and 64 is a reception buffer that temporarily stores data received from the host computer 62. 65 is a program ROM that stores the operation processing procedures of the CPU 63, and in addition to programs related to print processing, programs related to the flowcharts shown in FIGS. 8 and 9 are also stored. 66 is a vector font section in which character data that defines the outline of a character within standardized coordinates is stored; 67 is a resolution table that stores each resolution that can be output by the printing device l;
For example, it is as shown in FIG. Note that the column 21 of the illustrated table stores the number of types of resolutions that can be output by this apparatus, and the column 22 stores each resolution. However, in the column indicating each resolution, information sufficient to realize the resolution is stored, such as the video signal output rate and recording paper conveyance speed when printing at that resolution. 68 is a RAM used as a work area for the CPU, and the vector font section 66 is used according to the character size and resolution specified by the host computer.
A scaling coefficient storage section 68a for storing a multiplication factor for a standardized character, and a dot character pattern storage section 68b for storing a dot character pattern generated by the multiplication factor of this scaling factor are provided. Reference numeral 69 denotes an output unit capable of printing at all resolutions in the resolution table 67.
上述した構成における本第4の実施例の動作処理手順を
第8図及び第9図のフローチャートを参照して説明する
。The operation processing procedure of the fourth embodiment in the above-described configuration will be explained with reference to the flowcharts of FIGS. 8 and 9.
先ず、ステップS81でホストコンピュータからの論理
文字サイズデータを受信バッファ64を介して受けると
、処理はステップS2に進んで、解像度テーブル67を
参照する。そして次のステップS3で、全ての解像度に
対応する文字パターンの作成が終了したか否かを判断す
る。この判断が“No“の場合には、ステップS84に
進んで、作成すべき解像度を解像度テーブル67より取
り込む0次にステップS85でドツト文字パターンの作
成を行なう、このステップS85の処理内容を第9図の
フローチャートに従って更に詳しく説明する。First, when logical character size data is received from the host computer via the reception buffer 64 in step S81, the process proceeds to step S2, and the resolution table 67 is referred to. In the next step S3, it is determined whether character patterns corresponding to all resolutions have been created. If this determination is "No", the process proceeds to step S84, where the resolution to be created is fetched from the resolution table 67. Next, at step S85, a dot character pattern is created. A more detailed explanation will be given according to the flowchart in the figure.
先ず、ステップS91でスケーリング係数の計算を行な
い、得られたその係数をスケーリング係数格納部68a
に格納する。スケーリング係数の計算式は先の第3の実
施例と同じであるため割愛する0次にステップS12に
進んで、ベクトルフォント部61より1文字分の輪郭座
標群を取り出し、ステップS93でその座標値に基づく
文字パターンの輪郭作成が終了したか否かを判断する。First, in step S91, a scaling coefficient is calculated, and the obtained coefficient is stored in the scaling coefficient storage section 68a.
Store in. The calculation formula for the scaling coefficient is the same as in the third embodiment, so it is omitted.Next, the process proceeds to step S12, where the contour coordinate group for one character is extracted from the vector font section 61, and the coordinate value is calculated in step S93. It is determined whether or not the outline creation of the character pattern based on the character pattern has been completed.
もし′NO”なら、ステップS94で、スケーリング係
数格納部68aに格納されているスケーリング係数を取
り出し、ステップS92で取り出した座標値との乗算を
行ない、その結果をRAM68に一時的に格納し、ステ
ップS92に戻る。また、ステップS93の判断が“Y
ES“の場合には、ステップS95に進む、ここでは、
先にRAM68に一時的に格納された座標値によって表
わされる文字の輪郭を形成し、その文字パターン内部を
塗り潰す処理を行なう、この後、処理は第8図に戻るこ
とになる。If 'NO', in step S94, the scaling coefficient stored in the scaling coefficient storage section 68a is extracted, multiplied by the coordinate value extracted in step S92, the result is temporarily stored in the RAM 68, and step The process returns to S92. Also, the determination in step S93 is “Y”.
ES", the process advances to step S95; here,
First, the outline of the character represented by the coordinate values temporarily stored in the RAM 68 is formed, and the inside of the character pattern is filled in. After this, the process returns to FIG. 8.
このようにして、文字パターンが作成された後は、ステ
ップS86に進み、前述した処理で作成された文字パタ
ーンをドツト文字パターン格納部68bに格納し、ステ
ップS2に戻ることになる。After the character pattern is created in this manner, the process proceeds to step S86, the character pattern created in the above-described process is stored in the dot character pattern storage section 68b, and the process returns to step S2.
一方、ステップS83での判断が’YES”の場合には
処理は終了し、出力部69を制御して、ホストコンピュ
ータより指示された文字サイズ及び解像度で印刷処理を
行なうよう、データの受信を待つ。On the other hand, if the determination in step S83 is 'YES', the process ends, and the output unit 69 is controlled to wait for data reception to be performed in the character size and resolution instructed by the host computer. .
以上説明した処理でもって、本装置の出力可能なそれぞ
れの解像度に対応したドツト文字パターンがドツト文字
パターン格納部68bに格納されることになる。従って
、仮にホストコンピュータ62より解像度及び論理文字
サイズの変更指示があったとしても、即座に対応できる
ことになる。Through the processing described above, dot character patterns corresponding to each resolution that can be output by this apparatus are stored in the dot character pattern storage section 68b. Therefore, even if there is an instruction to change the resolution and logical character size from the host computer 62, it will be possible to respond immediately.
[発明の効果]
以上説明したように本第1の発明によれば、ドツトパタ
ーン文字を格納した記憶媒体に最適な出力解像度情報を
設け、その解像度に応じて出力解像度を切り換えること
により、装着されたドツトパターン文字に適した解像度
で自動的に印刷することが可能となる。従って、記憶媒
体を交換する都度、解像度の指定を行なうことが不要に
なる。[Effects of the Invention] As explained above, according to the first invention, optimal output resolution information is provided in the storage medium storing dot pattern characters, and the output resolution is switched according to the resolution, so that the dot pattern characters can be mounted. This makes it possible to automatically print at a resolution suitable for dot pattern characters. Therefore, it becomes unnecessary to specify the resolution every time the storage medium is replaced.
また、第2の発明によれば、実際に印刷するときに、そ
の都度対応する文字パターンを発生させることが不要に
なるので、装置自身のスルーブトを向上させることが可
能となる。Furthermore, according to the second aspect of the invention, it is not necessary to generate a corresponding character pattern each time when actually printing, so it is possible to improve the throughput of the apparatus itself.
第1図は本第1の実施例における印刷装置のブロック構
成図、
第2図は第1の実施例におけるCPUの処理手順を説明
するためのフローチャート、
第3図は第2の実施例におけるCPUの処理手順を説明
するためのフローチャート、
第4図は第3の実施例における印刷装置のブロック構成
図、
第5図は第3の実施例におけるCPUの処理手順を説明
するためのフローチャート、
第6図は第4の実施例における印刷装置のブロック構成
図、
第7図は第4の実施例における解像度テーブルの内容を
示す図、
第8図は第4の実施例におけるCPUの処理手順を説明
するためのフローチャート、
第9図は第8図のフローチャートの一部詳細を説明する
ためフローチャートである。
図中、1.41及び61・・・印刷装置、2.42及び
63・・−CPU、3.44及び65−・・プログラム
ROM、4・・・内蔵フォント、5,45及び68・・
−RAM、6・・・フォントカートリッジ、7.47及
び69・・・出力部、43・−NVRAM、46及び6
6・・・ベクトルフォント部、67・・・解像度テーブ
ルである。
第
3
図
第
図
データ
1
第
図
1
第
図
琳イシNテーブル
第
図FIG. 1 is a block configuration diagram of the printing device in the first embodiment, FIG. 2 is a flowchart for explaining the processing procedure of the CPU in the first embodiment, and FIG. 3 is a block diagram of the CPU in the second embodiment. FIG. 4 is a block configuration diagram of the printing apparatus in the third embodiment; FIG. 5 is a flowchart for explaining the processing procedure of the CPU in the third embodiment; The figure is a block configuration diagram of the printing device in the fourth embodiment, Figure 7 is a diagram showing the contents of the resolution table in the fourth embodiment, and Figure 8 explains the processing procedure of the CPU in the fourth embodiment. FIG. 9 is a flowchart for explaining some details of the flowchart in FIG. 8. In the figure, 1.41 and 61...Printing device, 2.42 and 63...-CPU, 3.44 and 65--Program ROM, 4...Built-in font, 5, 45, and 68...
-RAM, 6... Font cartridge, 7.47 and 69... Output section, 43 - NVRAM, 46 and 6
6... Vector font section, 67... Resolution table. Figure 3 Figure Data 1 Figure 1 Figure Rinishi N table Figure
Claims (5)
ンの文字情報を含む記憶媒体が着脱可能な印刷装置にお
いて、 前記記憶媒体には、自身に格納されている文字のドット
パターンの出力密度情報を記憶保持する保持手段があつ
て、 装置自身には、前記記憶媒体の出力密度情報を読み出す
読み出し手段と、 該読み出し手段で読み出された出力密度に基づいて印刷
解像度を変更する変更手段とを備えることを特徴とする
印刷装置。(1) In a printing device in which the printing resolution can be changed and a storage medium containing character information of printed dot patterns is removable, the storage medium stores output density information of character dot patterns stored therein. There is a holding means for storing the memory, and the apparatus itself includes a reading means for reading out the output density information of the storage medium, and a changing means for changing the printing resolution based on the output density read by the reading means. A printing device characterized by:
し時の装置自身の印刷解像度と異なるとき、前記記憶媒
体のドットパターンの文字情報を使用しないことを特徴
とする請求項第1項に記載の印刷装置(2) Printing according to claim 1, characterized in that when the output density information read by the reading means is different from the printing resolution of the apparatus itself at the time of reading, the character information of the dot pattern of the storage medium is not used. Device
づいて文字パターンを発生し印刷する印刷装置において
、 変更後の印刷解像度情報及び印刷文字サイズを記憶保持
する保持手段と、 該保持手段で保持された印刷解像度及び文字サイズに基
づく印刷文字ドットパターンを順次発生する発生手段と
、 発生した印刷文字ドットパターンを記憶する記憶手段と
を備え、 外部より入力した文字コードを受信したときには、前記
記憶手段に記憶された対応する印刷文字ドットパターン
でもつて印刷することを特徴とする印刷装置。(3) In a printing device that is capable of changing print resolution and that generates and prints a character pattern based on vector information, a holding means that stores and holds the print resolution information and print character size after the change; a generating means for sequentially generating a printed character dot pattern based on the print resolution and character size, and a storage means for storing the generated printed character dot pattern, and when receiving a character code input from the outside, the storage means A printing device characterized in that it also prints with a corresponding print character dot pattern stored in the printer.
とする請求項第3項に記載の印刷装置。(4) The printing apparatus according to claim 3, wherein the holding means stores the data in a non-volatile memory.
刷文字ドットパターンを記憶することを特徴とする請求
項第3項に記載の印刷装置。(5) The printing device according to claim 3, wherein the storage means stores a print character dot pattern for each resolution that can be printed by the device itself.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1141113A JP2907442B2 (en) | 1989-06-05 | 1989-06-05 | Printing equipment |
| EP90306048A EP0402074B1 (en) | 1989-06-05 | 1990-06-04 | Output apparatus |
| EP96200681A EP0721172A3 (en) | 1989-06-05 | 1990-06-04 | Output apparatus |
| DE69029009T DE69029009T2 (en) | 1989-06-05 | 1990-06-04 | Output apparatus |
| US08/247,403 US5502794A (en) | 1989-06-05 | 1994-05-23 | Output apparatus with controllable output resolution |
| US08/582,912 US5909538A (en) | 1989-06-05 | 1996-01-04 | Output apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1141113A JP2907442B2 (en) | 1989-06-05 | 1989-06-05 | Printing equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH036595A true JPH036595A (en) | 1991-01-14 |
| JP2907442B2 JP2907442B2 (en) | 1999-06-21 |
Family
ID=15284466
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1141113A Expired - Fee Related JP2907442B2 (en) | 1989-06-05 | 1989-06-05 | Printing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2907442B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6093873A (en) * | 1983-10-27 | 1985-05-25 | Mita Ind Co Ltd | Laser beam printer |
| JPS61229151A (en) * | 1985-04-04 | 1986-10-13 | Photo Composing Mach Mfg Co Ltd | System for processing character or the like |
| JPS6249779A (en) * | 1985-08-29 | 1987-03-04 | Canon Inc | printer control device |
| JPS62198468A (en) * | 1986-02-25 | 1987-09-02 | Nec Corp | Dot printer |
| JPS63116192A (en) * | 1986-11-04 | 1988-05-20 | カシオ電子工業株式会社 | Image data output device |
| JPS6487260A (en) * | 1987-09-29 | 1989-03-31 | Nec Corp | Font selection system |
-
1989
- 1989-06-05 JP JP1141113A patent/JP2907442B2/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6093873A (en) * | 1983-10-27 | 1985-05-25 | Mita Ind Co Ltd | Laser beam printer |
| JPS61229151A (en) * | 1985-04-04 | 1986-10-13 | Photo Composing Mach Mfg Co Ltd | System for processing character or the like |
| JPS6249779A (en) * | 1985-08-29 | 1987-03-04 | Canon Inc | printer control device |
| JPS62198468A (en) * | 1986-02-25 | 1987-09-02 | Nec Corp | Dot printer |
| JPS63116192A (en) * | 1986-11-04 | 1988-05-20 | カシオ電子工業株式会社 | Image data output device |
| JPS6487260A (en) * | 1987-09-29 | 1989-03-31 | Nec Corp | Font selection system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2907442B2 (en) | 1999-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5562350A (en) | Output apparatus that selects a vector font based on character size | |
| US5909538A (en) | Output apparatus | |
| EP0467598A2 (en) | Image processing apparatus | |
| US5097426A (en) | Printer controlling apparatus | |
| JP3029136B2 (en) | Output method and device | |
| JPH036595A (en) | printing device | |
| US5664070A (en) | Outputting method and apparatus | |
| JP2572074B2 (en) | Character processor | |
| JPH0583384B2 (en) | ||
| JP3089014B2 (en) | Output control method and device | |
| JP2525333B2 (en) | Output device | |
| JPH0462169A (en) | printing device | |
| JP2839139B2 (en) | Document processing method | |
| JP2711860B2 (en) | Output control method and device | |
| JPH0557962A (en) | Printer | |
| JPH04205346A (en) | Printer device | |
| KR950011809B1 (en) | Korean character compound writing method in laser printer | |
| JPH0747330B2 (en) | Character output device | |
| JPH086542A (en) | Character font and pattern developing method and apparatus for the character font | |
| JPH07132651A (en) | Print processor | |
| JP2000108437A (en) | Printer | |
| JPH03112671A (en) | printing device | |
| JPH06110888A (en) | Document output method and apparatus | |
| JPH07144447A (en) | Printer | |
| JPH05188910A (en) | Character pattern display controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |