JP2989727B2 - Printing apparatus and printing method - Google Patents

Printing apparatus and printing method

Info

Publication number
JP2989727B2
JP2989727B2 JP5103708A JP10370893A JP2989727B2 JP 2989727 B2 JP2989727 B2 JP 2989727B2 JP 5103708 A JP5103708 A JP 5103708A JP 10370893 A JP10370893 A JP 10370893A JP 2989727 B2 JP2989727 B2 JP 2989727B2
Authority
JP
Japan
Prior art keywords
character
processing mechanism
expansion processing
information
font
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.)
Expired - Fee Related
Application number
JP5103708A
Other languages
Japanese (ja)
Other versions
JPH06286233A (en
Inventor
修 細田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP5103708A priority Critical patent/JP2989727B2/en
Publication of JPH06286233A publication Critical patent/JPH06286233A/en
Application granted granted Critical
Publication of JP2989727B2 publication Critical patent/JP2989727B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】本発明は、文字展開処理を使用して文字展
開処理を行い発生した文字パターンに基づいて印刷を行
う印刷装置および印刷方法に関するものである。
[0001] The present invention relates to a printing apparatus and a printing method for performing printing based on a generated character pattern by performing character expansion processing using character expansion processing.

【0002】[0002]

【従来の技術】従来、2次記憶装置を有し、RAM上に
装備された文字展開機構を使用して印刷を行う印刷装置
において、印刷装置のRAM上に装備される文字展開機
構は、その文字展開機構に対応するフォントの使用の有
無に関わらず、常に印刷装置のRAM上に装備されてい
た。
2. Description of the Related Art Conventionally, in a printing apparatus which has a secondary storage device and performs printing using a character expansion mechanism provided on a RAM, a character expansion mechanism provided on the RAM of the printing apparatus has a Regardless of whether or not a font corresponding to the character development mechanism is used, the font is always provided on the RAM of the printing apparatus.

【0003】また、文字展開機構を有し、その文字展開
機構によって文字パターンに展開されるフォントデータ
をRAM上に記憶させる手段と、文字展開機構およびR
AM上に記憶されているフォントデータを削除する手段
とを備えた印刷装置が提案されている。この種の印刷装
置において、文字展開機構の削除は、その文字展開機構
によって文字パターンに展開させるフォントデータをR
AM上から削除することとは無関係であった。
[0003] Further, a means for storing a font data to be expanded into a character pattern by the character expansion mechanism in the RAM by the character expansion mechanism, a character expansion mechanism and an R
There has been proposed a printing apparatus including means for deleting font data stored on an AM. In this type of printing apparatus, the deletion of the character expansion mechanism is performed by converting the font data to be expanded into a character pattern by the character expansion mechanism into R.
It had nothing to do with deletion from the AM.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来例では、2次記憶装置を有し、RAM上に装備された
文字展開機構を使用して印刷を行う印刷装置において、
その文字展開機構に対応するフォントの使用を行わない
場合でも、その文字展開機構によって印刷装置のRAM
領域が使用されてしまうといった問題点があった。
However, in the above-mentioned conventional example, in a printing apparatus having a secondary storage device and performing printing using a character development mechanism provided on a RAM,
Even when the font corresponding to the character expansion mechanism is not used, the RAM of the printing apparatus is used by the character expansion mechanism.
There is a problem that an area is used.

【0005】また、上記従来例では、印刷装置におい
て、不要となった文字展開機構を削除しようとする場
合、その文字展開機構によって文字パターンに展開され
るフォントデータをRAM上から削除することは行われ
ておらず、印刷装置に存在しない文字展開機構のフォン
トデータによってRAM領域が使用されてしまうという
問題点があった。
Further, in the above-described conventional example, when an unnecessary character expanding mechanism is to be deleted in the printing apparatus, it is not possible to delete from the RAM font data expanded into a character pattern by the character expanding mechanism. There is a problem that the RAM area is used by font data of a character expansion mechanism that does not exist in the printing apparatus.

【0006】さらに、印刷において、不要となった文字
展開機構の削除と、その文字展開機構によって文字パタ
ーンに展開されるフォントデータのRAM上からの削除
を行う場合には、文字展開機構の削除に関する指示と、
フォントデータの削除に関する指示の2つを印刷装置に
与えなくてはならいという問題点があった。
Further, in printing, when deleting a character development mechanism that is no longer needed and deleting font data developed into a character pattern from the RAM by the character development mechanism, the character development mechanism is deleted. Instructions,
There has been a problem that two instructions regarding deletion of font data must be given to the printing apparatus.

【0007】本発明は、上記の問題点を解決するために
なされたもので、入力される情報に基づいて、フォント
データを文字パターンに展開するための文字展開処理機
構を削除すると判断された場合に、前記文字展開処理機
構を削除するとともに、併せて文字展開処理機構によっ
て展開され、記憶されている文字パターンを削除するこ
とにより、削除される文字展開処理機構により展開され
不要となった状態で占有する文字パターンも同時に削除
して、メモリの空き容量を確実に確保できる印刷装置お
よび印刷方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and it is intended to eliminate a character expansion processing mechanism for expanding font data into a character pattern based on input information. The character expansion processing mechanism is deleted, and the character pattern expanded and stored by the character expansion processing mechanism is also deleted. An object of the present invention is to provide a printing apparatus and a printing method that can simultaneously secure deletion of an occupied character pattern and ensure free space in a memory.

【0008】[0008]

【課題を解決するための手段】本発明に係る第1の発明
は、入力される情報に基づいて、フォントデータを文字
パターンに展開するための文字展開処理機構を削除する
かどうかを判断する判断手段と、前記判断手段によっ
て、前記文字展開処理機構を削除すると判断された場合
に、前記文字展開処理機構を削除する機構削除手段と、
前記判断手段によって、前記文字展開処理機構を削除す
ると判断された場合に、前記文字展開処理機構によって
展開され、記憶されている文字パターンを削除する文字
パターン削除手段とを有するものである。
According to a first aspect of the present invention, a determination is made as to whether or not to delete a character expansion processing mechanism for expanding font data into a character pattern based on input information. Means, and mechanism deleting means for deleting the character expansion processing mechanism when it is determined by the determining means to delete the character expansion processing mechanism,
When the determining means determines that the character expansion processing mechanism is to be deleted, the character expansion processing mechanism has character pattern deletion means for deleting the stored character pattern.

【0009】本発明に係る第2の発明は、前記入力され
る情報は、フォント情報或は削除指示情報である。本発
明に係る第3の発明は、前記入力される情報は、前記文
字展開処理機構の入れ替えを指示する情報である。本発
明に係る第4の発明は、前記削除はメモリ占有を開放す
るためである。
According to a second aspect of the present invention, the input information is font information or deletion instruction information. In a third aspect according to the present invention, the input information is information for instructing replacement of the character development processing mechanism. According to a fourth aspect of the present invention, the deletion is for releasing memory occupation.

【0010】本発明に係る第5の発明は、入力される情
報に基づいて、フォントデータを文字パターンに展開す
るための文字展開処理機構を備える印刷装置における印
刷方法であって、前記文字展開処理機構を削除するかど
うかを判断する判断工程と、前記判断工程によって、前
記文字展開処理機構を削除すると判断された場合に、前
記文字展開処理機構を削除する機構削除工程と、前記判
断工程によって、前記文字展開処理機構を削除すると判
断された場合に、前記文字展開処理機構によって展開さ
れ、記憶されている文字パターンを削除する文字パター
ン削除工程とを有するものである。
According to a fifth aspect of the present invention, there is provided a printing method for a printing apparatus including a character expansion processing mechanism for expanding font data into a character pattern based on input information. A determining step of determining whether to delete the mechanism, and, if the determining step determines that the character expanding processing mechanism is to be deleted, a mechanism deleting step of deleting the character expanding processing mechanism; and the determining step, And a character pattern deleting step of deleting a character pattern which is expanded and stored by the character expansion processing mechanism when it is determined that the character expansion processing mechanism is to be deleted.

【0011】本発明に係る第6の発明は、前記入力され
る情報は、フォント情報或は削除指示情報である。本発
明に係る第7の発明は、前記入力される情報は、前記文
字展開処理機構の入れ替えを指示する情報である。本発
明に係る第8の発明は、前記削除はメモリ占有を開放す
るためである。
In a sixth aspect according to the present invention, the input information is font information or deletion instruction information. In a seventh aspect according to the present invention, the input information is information for instructing replacement of the character expansion processing mechanism. In an eighth aspect according to the present invention, the deletion is for releasing memory occupation.

【0012】[0012]

【作用】第1の発明においては、入力される情報に基づ
いて、フォントデータを文字パターンに展開するための
文字展開処理機構を削除すると判断された場合に、機構
削除手段により前記文字展開処理機構を削除するととも
に、併せて文字パターン削除手段が文字展開処理機構に
よって展開され、記憶されている文字パターンを削除し
て、削除された文字展開処理機構により展開されて不要
となる文字パターンを同時に削除して、メモリ上に占有
する状態を回避させて有効な空き容量を確保する。
According to the first aspect of the present invention, when it is determined that a character development processing mechanism for developing font data into a character pattern is to be deleted based on the input information, the mechanism deletion means is used by the mechanism deletion means. And the character pattern deletion means is expanded by the character expansion processing mechanism to delete the stored character pattern, and simultaneously deletes unnecessary character patterns developed by the deleted character expansion processing mechanism. Then, a state of occupying the memory is avoided to secure an effective free space.

【0013】第2〜第4の発明においては、入力される
フォント情報,文字展開処理機構の入れ替え指示に基づ
いて、フォントデータを文字パターンに展開するための
文字展開処理機構を削除すると判断して、文字展開処理
機構と該文字展開処理機構により展開された文字パター
ンがメモリに占有してしまう事態を回避する。
In the second to fourth inventions, it is determined that the character development processing mechanism for developing the font data into the character pattern is deleted based on the input font information and the instruction to replace the character development processing mechanism. This avoids the situation where the character expansion processing mechanism and the character pattern expanded by the character expansion processing mechanism occupy the memory.

【0014】第5の発明においては、入力される情報に
基づいて、フォントデータを文字パターンに展開するた
めの文字展開処理機構を削除すると判断された場合に、
前記文字展開処理機構を削除するとともに、併せて文字
展開処理機構によって展開され、記憶されている文字パ
ターンを削除して、削除された文字展開処理機構により
展開されて不要となる文字パターンを同時に削除して、
メモリ上に占有する状態を回避させて有効な空き容量を
確保する。
In the fifth invention, when it is determined that the character development processing mechanism for developing the font data into the character pattern is deleted based on the input information,
The character expansion processing mechanism is deleted, and at the same time, the character patterns that are expanded and stored by the character expansion processing mechanism are deleted, and unnecessary character patterns that are expanded by the deleted character expansion processing mechanism are simultaneously deleted. do it,
Avoid the state of occupying the memory and secure an effective free space.

【0015】第6〜第8の発明においては、入力される
フォント情報,文字展開処理機構の入れ替え指示に基づ
いて、フォントデータを文字パターンに展開するための
文字展開処理機構を削除すると判断して、文字展開処理
機構と該文字展開処理機構により展開された文字パター
ンがメモリを占有してしまう事態を回避する。
In the sixth to eighth inventions, it is determined that the character development processing mechanism for developing the font data into the character pattern is deleted based on the input font information and the instruction to replace the character development processing mechanism. This prevents the character expansion processing mechanism and the character pattern expanded by the character expansion processing mechanism from occupying the memory.

【0016】[0016]

【実施例】【Example】

〔第1実施例〕本実施例の構成を説明する前に、本実施
例を適用するレーザビームプリンタの構成を図1を参照
しながら説明する。
[First Embodiment] Before describing the configuration of this embodiment, the configuration of a laser beam printer to which this embodiment is applied will be described with reference to FIG.

【0017】図1は本実施例を適用するレーザビームプ
リンタの構成を説明する断面図であり、図示しないデー
タ源から文字パターンの登録や定型書式(フォームデー
タ)の登録が行えるように構成されている。
FIG. 1 is a cross-sectional view for explaining the configuration of a laser beam printer to which the present embodiment is applied. The laser beam printer is configured so that a character pattern can be registered and a fixed format (form data) can be registered from a data source (not shown). I have.

【0018】図において、100はレーザビームプリン
タ(LBP)本体(以下、単に本体と呼ぶ)であり、外
部に接続されている、例えば図2に示すホストコンピュ
ータ等の外部装置209から供給される文字情報(文字
コード)やフォーム情報あるいはマクロ命令等を入力し
て記憶するとともに、それらの情報に従って対応する文
字パターンやフォームパターン等を作成し、記録媒体で
ある記録用紙上に像を形成する。112は操作のための
スイッチおよびプリンタの状態を表示するLED表示器
やLCD表示器が配設されている操作パネル、101は
LBP100全体の制御およびホストコンピュータから
供給される文字情報等を解析するプリンタ制御ユニット
である。このプリンタ制御ユニット101は主に文字情
報を対応する文字パターンのビデオ信号に変換してレー
ザドライバ102に出力する。レーザドライバ102は
半導体レーザ103を駆動するための回路であり、入力
されたビデオ信号に応じて半導体レーザ103から発射
されるレーザ光104をオン/オフ切換えする。これに
より、静電ドラム106上には文字パターンの静電潜像
が形成される。105はポリゴンミラーである。
In FIG. 1, reference numeral 100 denotes a laser beam printer (LBP) main body (hereinafter, simply referred to as a main body), which is a character supplied from an external device 209 such as a host computer shown in FIG. In addition to inputting and storing information (character code), form information, macro instructions, and the like, a corresponding character pattern, form pattern, and the like are created in accordance with the information, and an image is formed on a recording sheet as a recording medium. Reference numeral 112 denotes an operation panel provided with switches for operation and an LED display or an LCD display for displaying the status of the printer. 101 denotes a printer which controls the entire LBP 100 and analyzes character information and the like supplied from the host computer. It is a control unit. The printer control unit 101 mainly converts character information into a video signal having a corresponding character pattern and outputs the video signal to the laser driver 102. The laser driver 102 is a circuit for driving the semiconductor laser 103, and switches on / off a laser beam 104 emitted from the semiconductor laser 103 according to an input video signal. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 106. 105 is a polygon mirror.

【0019】この潜像は、静電ドラム106周囲の現象
ユニット107によって現像された後、記録用紙に転写
される。この記録用紙にはカットシートを用い、カット
シートは本体100に装着した用紙カセット108に収
容され、給紙ローラ109および搬送ローラ110およ
び111とにより装置内に取り込まれて静電ドラム10
6に供給される。
This latent image is developed by the phenomenon unit 107 around the electrostatic drum 106 and then transferred to a recording sheet. A cut sheet is used as the recording paper, and the cut sheet is stored in a paper cassette 108 mounted on the main body 100 and is taken into the apparatus by a paper feed roller 109 and transport rollers 110 and 111 to be transferred to the electrostatic drum 10.
6.

【0020】図2は、図1に示した本体100の制御構
成を説明するブロック図である。
FIG. 2 is a block diagram for explaining a control configuration of the main body 100 shown in FIG.

【0021】この図に示すように、ホストコンピュータ
等の外部装置209より印刷データを入力する入力イン
タフェース201と本体100全体の制御を司るCPU
202と、このCPU202の動作処理手順や文字フォ
ントパターン等を記憶したROM203と、出力イメー
ジを展開するフレームメモリ等として使用されるRAM
204と、ハードディスク等の2次記憶装置205と、
出力イメージの印刷を行う出力部207と、この出力部
207に上記出力イメージを出力する出力インタフェー
ス206と、これら各構成要素間でデータ等の転送を行
うシステムバス208を有する。
As shown in FIG. 1, an input interface 201 for inputting print data from an external device 209 such as a host computer, and a CPU for controlling the entire main body 100 are provided.
202, a ROM 203 storing operation processing procedures of the CPU 202, character font patterns, and the like, and a RAM used as a frame memory for expanding an output image
204, a secondary storage device 205 such as a hard disk,
An output unit 207 for printing an output image, an output interface 206 for outputting the output image to the output unit 207, and a system bus 208 for transferring data and the like between these components are provided.

【0022】図3は、図1に示した本体100の印刷制
御機構を説明する詳細ブロック図である。
FIG. 3 is a detailed block diagram for explaining the print control mechanism of the main body 100 shown in FIG.

【0023】図において、312はホストコンピュータ
等の外部装置、301はデータを受信する入力部、30
2は受信したデータを一時的に記憶する受信バッファ、
303は入力したデータを解析する解析部、304は解
析の結果を格納するページバッファ、305は前記ペー
ジバッファ304に内容に基づいてビットマップメモリ
等の出力イメージに展開する展開部、306,307は
前記展開部305によって起動される、RAM上に装備
されている文字展開機構部、308は展開した出力イメ
ージを格納するフレームメモリ、309は前記フレーム
メモリ308に従って、例えばレーザビーム等による出
力機構310を制御する出力部、311は記録媒体であ
る。
Referring to FIG. 3, reference numeral 312 denotes an external device such as a host computer; 301, an input unit for receiving data;
2 is a reception buffer for temporarily storing received data,
Reference numeral 303 denotes an analysis unit for analyzing input data; 304, a page buffer for storing the result of the analysis; 305, a development unit for developing the page buffer 304 into an output image such as a bitmap memory based on the contents; A character developing mechanism provided on the RAM, which is started by the developing unit 305, a frame memory 308 for storing a developed output image, and a reference numeral 309, according to the frame memory 308, an output mechanism 310 such as a laser beam. The output unit 311 to be controlled is a recording medium.

【0024】このように構成された第1の印刷装置によ
れば、比較手段(本実施例では、CPU202)が入力
されるフォントデータ中で指定される文字展開指定情報
(フォントデータ401(後述する)中で指定される情
報)と内部メモリとしてのRAM204に設定されてい
る文字展開処理機構情報(後述するテーブル400中の
文字展開機構装備有無を示すフラグ)とを比較し、該比
較結果に基づいて外部メモリ(本実施例では例えばハー
ドディスクで構成される2次記憶装置205)に記憶さ
れている文字展開機構を内部メモリに転送して制御手段
が文字展開処理機構の入れ換えを制御するので、文字展
開処理に応じて必要ないずれかの文字展開処理機構が内
部メモリに設定され、不要な文字展開処理機構を内部メ
モリ占有から解放することが可能となる。
According to the first printing apparatus constructed as described above, the comparison means (in this embodiment, the CPU 202) designates character development designation information (font data 401 (to be described later) designated in the input font data. ) Is compared with character expansion processing mechanism information (a flag indicating the presence or absence of a character expansion mechanism in a table 400 described later) set in the RAM 204 as an internal memory, and based on the comparison result. Then, the character expansion mechanism stored in the external memory (in this embodiment, for example, the secondary storage device 205 composed of a hard disk) is transferred to the internal memory, and the control means controls the replacement of the character expansion processing mechanism. Any necessary character expansion processing mechanism is set in the internal memory according to the expansion processing, and unnecessary character expansion processing mechanisms are released from internal memory occupation. Rukoto is possible.

【0025】図4は本発明に係る複数の文字展開機構の
所在と文字展開機構の指定との関係を説明するテーブル
対応図であり、(a)は例えば図2に示したROM20
3に設けられた文字展開機構情報テーブル400を示
し、本実施例では、文字展開機構1(本実施例ではRA
M204に設けられる),文字展開機構2(本実施例で
は2次記憶装置205に設けられる)の装備状態がフラ
グのオン/オフで設定される。(b)は入力されるフォ
ントデータ401中での文字展開機構指定情報を示す。
FIG. 4 is a table corresponding to a table for explaining the relationship between the locations of a plurality of character expansion mechanisms according to the present invention and the designation of the character expansion mechanisms. FIG. 4A shows, for example, the ROM 20 shown in FIG.
3 shows a character expansion mechanism information table 400 provided in the character expansion mechanism 1 (in this embodiment, RA).
M204), the equipment status of the character expansion mechanism 2 (in this embodiment, provided on the secondary storage device 205) is set by turning on / off a flag. (B) shows character development mechanism designation information in the input font data 401.

【0026】この図に示されるように、文字展開機構と
その文字展開機構によって文字パターンに展開されるフ
ォントデータ401との対応を識別するためおよびその
文字展開機構が印刷装置本体に装備されているかどう
か、それとも文字展開機構がRAM204に記憶されて
いるかどうかを判断するために必要な、印刷装置側に設
けられた文字展開機構の種類およびその文字展開機構が
印刷装置に装備されているかどうか、2次記憶装置20
5上に記憶されているものかどうかを表すテーブル40
0とフォントデータ401側に設けられた、文字パター
ンに展開するための文字展開機構の種類を示すための情
報部401とが設けられている。
As shown in this figure, in order to identify the correspondence between the character expansion mechanism and the font data 401 expanded into a character pattern by the character expansion mechanism, and whether the character expansion mechanism is provided in the printing apparatus main body. Whether or not the type of character expansion mechanism provided on the printing apparatus necessary to determine whether or not the character expansion mechanism is stored in the RAM 204 and whether the character expansion mechanism is provided in the printing apparatus. Secondary storage device 20
5 is a table 40 indicating whether or not it is stored on
0 and an information section 401 provided on the font data 401 side for indicating the type of a character developing mechanism for developing into a character pattern.

【0027】印刷装置がフォントの種類を変更するデー
タを受信した際に、フォントデータ内の情報部401に
対応する文字展開機構を印刷装置内のテーブル400の
中において、該当する文字展開機構が印刷装置に装備さ
れているかどうか、および2次記憶装置205に記憶さ
れているかどうかを判断する。
When the printing apparatus receives the data for changing the font type, the character developing mechanism corresponding to the information section 401 in the font data is printed in the table 400 in the printing apparatus by the corresponding character developing mechanism. It is determined whether the device is installed in the device and whether it is stored in the secondary storage device 205.

【0028】以下、図5に示すフローチャートを参照し
ながら本発明に係る印刷装置における第1の文字展開機
構判定処理動作について説明する。
Hereinafter, the operation of the first character developing mechanism determination processing in the printing apparatus according to the present invention will be described with reference to the flowchart shown in FIG.

【0029】図5は本発明に係る印刷装置における第1
の文字展開機構判定処理手順の一例を説明するフローチ
ャートである。なお、(1)〜(8)は各ステップを示
す。まず、印刷装置のデータ受信待ち状態において、C
PU201は、入力インタフェース201を通して外部
装置209から出力されるデータの有無の検出を行う
(1)。この検出処理で、データの受信が検出された
ら、CPU202はそのデータが、使用するフォントの
種類を変更する命令かどうかを判断する(2)。そし
て、ステップ(2)の判定で、受信したデータが使用す
るフォントの種類を変更する命令以外だと判定された場
合には、CPU201はその命令に相当する処理を行
い、その処理の終了後、次のデータを受信するために、
データ受信待ち状態になる(3)。
FIG. 5 shows a first embodiment of the printing apparatus according to the present invention.
9 is a flowchart illustrating an example of a character expansion mechanism determination processing procedure. (1) to (8) indicate each step. First, in the data reception waiting state of the printing apparatus, C
The PU 201 detects the presence or absence of data output from the external device 209 through the input interface 201 (1). In this detection process, when data reception is detected, the CPU 202 determines whether the data is a command to change the type of font to be used (2). If it is determined in step (2) that the received data is not a command to change the type of font to be used, the CPU 201 performs a process corresponding to the command, and after the process is completed, To receive the next data,
The data reception wait state is set (3).

【0030】ステップ(2)において、使用するフォン
トの種類を変更する命令だったと判断された場合、CP
U201は、ステップ(4)において、フォントに対応
する文字展開機構が本体に装備されているかどうかを判
断する。この判断で、変更するフォントに対応する文字
展開機構が印刷装置本体に装備されていると判断された
場合には、ステップ(8)において、フォント変更処理
を行った後、ステップ(1)に戻り、データ受信待ち状
態となる。
If it is determined in step (2) that the instruction is for changing the type of font to be used,
U201 determines in step (4) whether or not the main body is equipped with a character expansion mechanism corresponding to the font. If it is determined in this determination that the character expansion mechanism corresponding to the font to be changed is provided in the printing apparatus main body, the font is changed in step (8), and the process returns to step (1). , And enters a data reception waiting state.

【0031】ステップ(4)の判定で、変更するフォン
トに対応した文字展開機構が印刷装置本体に装備されて
いないと判断された場合には、ステップ(5)におい
て、そのフォントに対応する文字展開機構が2次記憶装
置205に記憶されているかどうかを判断し、変更する
フォントに対応した文字展開機構が印刷装置の2次記憶
装置205に記憶されていないと判断された場合には、
そのフォントの文字を印字することは不可能なので、エ
ラー処理を行い、その後データ受信待ち状態となる
(6)。
If it is determined in step (4) that the character developing mechanism corresponding to the font to be changed is not provided in the printing apparatus main body, in step (5), the character developing mechanism corresponding to the font is changed. It is determined whether or not the mechanism is stored in the secondary storage device 205. If it is determined that the character expansion mechanism corresponding to the font to be changed is not stored in the secondary storage device 205 of the printing device,
Since it is impossible to print the characters in the font, error processing is performed, and the data reception wait state is set (6).

【0032】一方、ステップ(5)において、変更する
フォントに対応した文字展開機構が印刷装置の2次記憶
装置205に記憶されていると判断された場合には、そ
の文字展開機構を2次記憶装置205からRAM204
へ転送する(7)。
On the other hand, if it is determined in step (5) that the character expansion mechanism corresponding to the font to be changed is stored in the secondary storage device 205 of the printing apparatus, the character expansion mechanism is stored in the secondary storage device. From device 205 to RAM 204
(7).

【0033】その後、ステップ(8)において、フォン
ト変更の処理を行う。
Thereafter, in step (8), a font change process is performed.

【0034】このように、第1の印刷方法によれば、入
力されるフォントデータ中で指定される文字展開指定情
報と内部メモリに設定されている文字展開処理機構情報
とを比較し、該比較結果に基づいて外部メモリに記憶さ
れている文字展開機構を内部メモリに転送して文字展開
処理機構の入れ換えを制御するので、文字展開処理に応
じて必要ないずれかの文字展開処理機構が内部メモリに
設定され、不要な文字展開処理機構を内部メモリ占有か
ら解放することが可能となる。
As described above, according to the first printing method, the character expansion designation information specified in the input font data is compared with the character expansion processing mechanism information set in the internal memory. Based on the result, the character expansion mechanism stored in the external memory is transferred to the internal memory to control the replacement of the character expansion processing mechanism. And unnecessary character expansion processing mechanism can be released from the occupation of the internal memory.

【0035】以上のようにして、RAM204上に装備
される文字展開機構によって文字パターンへの展開を行
うフォントを使用する場合には、2次記憶装置205に
記憶されている文字展開機構をRAM204に転送した
後、フォントの変更を行い、RAM204に転送された
文字展開機構とその文字展開機構に対応するフォントデ
ータを使用して印字を行う。
As described above, when using a font that is developed into a character pattern by the character development mechanism provided on the RAM 204, the character development mechanism stored in the secondary storage device 205 is stored in the RAM 204. After the transfer, the font is changed, and printing is performed using the character expansion mechanism transferred to the RAM 204 and the font data corresponding to the character expansion mechanism.

【0036】また、既に印刷装置に装備されている文字
展開機構によって文字パターンに展開されるフォントを
使用する場合には、使用しない文字展開機構を2次記憶
装置205からRAM204へ転送せずに印字を行う。 〔第2実施例〕図6は本発明の第2実施例を示す印刷装
置の制御構成を説明する概略ブロック図であり、第2図
と同一のものには同じ符号を付してある。図7は、図6
に示した本体100の印刷制御機構を説明する詳細ブロ
ック図である。
When a font that is developed into a character pattern by a character development mechanism already provided in the printing apparatus is used, the character development mechanism that is not used is printed without being transferred from the secondary storage device 205 to the RAM 204. I do. [Second Embodiment] FIG. 6 is a schematic block diagram for explaining a control configuration of a printing apparatus according to a second embodiment of the present invention, and the same components as those in FIG. 2 are denoted by the same reference numerals. FIG. 7 shows FIG.
FIG. 3 is a detailed block diagram illustrating a print control mechanism of the main body 100 shown in FIG.

【0037】図において、501はフォントデータで、
文字展開機構306によって文字パターンに展開されて
RAM204上に記憶されている。502はフォントデ
ータで、文字展開機構307によって文字パターンに展
開されてRAM204上に記憶されている。
In the figure, reference numeral 501 denotes font data.
The character pattern is developed into a character pattern by the character development mechanism 306 and stored in the RAM 204. Reference numeral 502 denotes font data, which is expanded into a character pattern by the character expansion mechanism 307 and stored in the RAM 204.

【0038】このように構成された第2の印刷装置によ
れば、入力される情報に基づいて、フォントデータを文
字パターンに展開するための文字展開処理機構を削除す
ると判断された場合に、機構削除手段(本実施例では、
CPU202)により前記文字展開処理機構を削除する
とともに、併せて文字パターン削除手段(本実施例で
は、CPU202)が文字展開処理機構によって展開さ
れ、記憶されている文字パターンを削除して、削除され
た文字展開処理機構により展開されて不要となる文字パ
ターンを同時に削除して、メモリ上に占有する状態を回
避させて有効な空き容量を確保することが可能となる。
According to the second printing apparatus configured as described above, when it is determined that the character development processing mechanism for developing the font data into the character pattern is deleted based on the input information, Deletion means (in this embodiment,
The CPU 202) deletes the character expansion processing mechanism, and at the same time, the character pattern deletion means (in this embodiment, the CPU 202) is expanded by the character expansion processing mechanism, deletes the stored character pattern, and is deleted. Unnecessary character patterns developed by the character development processing mechanism are deleted at the same time, thereby avoiding the state of being occupied on the memory and securing an effective free space.

【0039】図8は本発明に係る印刷装置における第2
の文字展開機構判定処理手順の一例を説明するフローチ
ャートである。なお、(1)〜(6)は各ステップを示
す。まず、印刷装置のデータ受信待ちの状態において、
CPU202は、入力インタフェース201を通してホ
ストコンピュータ等の外部装置209から出力されるデ
ータの有無の検出を行う(1)。データの受信が検出さ
れたら、CPU202はそのデータがRAM204上に
記憶されている文字展開機構をRAM204上から削除
する命令かどうかを判断し(2)、この判断で、受信し
たデータがRAM204上に記憶されている文字展開機
構をRAM204上から削除する命令以外だと判断され
た場合には、CPU020はその命令に相当する処理を
行い、その処理の終了後、次のデータを受信するため
に、データ受信待ち状態になる(3)。
FIG. 8 shows a second embodiment of the printing apparatus according to the present invention.
9 is a flowchart illustrating an example of a character expansion mechanism determination processing procedure. Note that (1) to (6) indicate each step. First, in a state where the printing apparatus is waiting for data reception,
The CPU 202 detects the presence or absence of data output from an external device 209 such as a host computer through the input interface 201 (1). When the reception of the data is detected, the CPU 202 determines whether or not the data is an instruction to delete the character expansion mechanism stored in the RAM 204 from the RAM 204 (2). If it is determined that the instruction is not an instruction to delete the stored character expansion mechanism from the RAM 204, the CPU 020 performs a process corresponding to the instruction, and after completion of the process, receives the next data. The data reception wait state is set (3).

【0040】一方、ステップ(2)の判定において、受
信したデータがRAM204上に記憶されている文字展
開機構をRAM204上から削除する命令だったと判断
された場合、CPU202はステップ(4)において、
該当する文字展開機構をRAM204上から削除する。
On the other hand, if it is determined in step (2) that the received data is a command to delete the character expansion mechanism stored in the RAM 204 from the RAM 204, the CPU 202 proceeds to step (4).
The corresponding character expansion mechanism is deleted from the RAM 204.

【0041】ステップ(4)の処理の後、CPU202
は、ステップ(4)で削除された文字展開機構によって
文字パターンに展開されるフォントデータが、RAM2
04上に記憶されているかどうかを判断する(5)。
After the processing of step (4), the CPU 202
Means that the font data developed into the character pattern by the character development mechanism deleted in step (4) is stored in the RAM 2
It is determined whether or not the information is stored on the file 04 (5).

【0042】この判断で、RAM204上に、ステップ
(4)で削除された文字展開機構によって文字パターン
に展開されるフォントデータが記憶されていないと判断
された場合、次のデータを受信するために、ステップ
(1)に戻り、データ受信待ち状態となる。
If it is determined in this determination that the font data to be expanded into the character pattern by the character expansion mechanism deleted in step (4) is not stored in the RAM 204, the next data is received. Then, the process returns to step (1), and waits for data reception.

【0043】一方、ステップ(5)の判断で、RAM2
04上に、ステップ(4)で削除された文字展開機構に
よって文字パターンに展開されるフォントデータが記憶
されていると判断された場合、そのフォントデータをR
AM204上から削除する(6)。
On the other hand, the RAM 2
If it is determined that font data to be expanded into a character pattern by the character expansion mechanism deleted in step (4) is stored on
It is deleted from the AM 204 (6).

【0044】このステップ(6)の処理の後、印刷装置
は、次のデータを受信するために、ステップ(1)に戻
り、データ受信待ちの状態となる。
After the processing of step (6), the printing apparatus returns to step (1) to receive the next data, and waits for data reception.

【0045】以上のようにして、RAM204上から、
指定した文字展開機構とその文字展開機構によって文字
パターンに展開されるフォントデータの削除が行われた
後、印刷装置は、データの削除が行われたRAM204
を使用して印刷処理を行って行く。
As described above, from the RAM 204,
After the designated character expansion mechanism and the font data to be expanded into the character pattern by the character expansion mechanism are deleted, the printing apparatus operates the RAM 204 from which the data is deleted.
The printing process is performed using.

【0046】このように第2の印刷方法によれば、メモ
リに設定されているいずれかの文字展開処理機構の削除
を指定し、該削除指定された文字展開処理機構および該
削除指定された文字展開処理機構により発生されてメモ
リに記憶されているフォントデータの双方削除を同時に
実行するので、文字展開処理機構の削除指示のみで該文
字展開処理機構により展開されたフォントデータを付随
して同時に削除することが可能となる。
As described above, according to the second printing method, the deletion of any one of the character expansion processing mechanisms set in the memory is designated, and the character expansion processing mechanism designated for deletion and the character designated for deletion are designated. Since both of the font data generated by the expansion processing mechanism and stored in the memory are simultaneously deleted, the font data expanded by the character expansion processing mechanism is simultaneously deleted only by the deletion instruction of the character expansion processing mechanism. It is possible to do.

【0047】なお、上記実施例では、印刷装置から削除
する文字展開機構がRAM204に記憶されている場合
について説明したが、RAM204の代わりに、拡張用
の取り外し可能な記憶装置(拡張用のROM)に記憶さ
れている文字展開機構についても同様の処理を適応する
ことが可能である。その場合、上記フローチャートのス
テップ(1),(2)における命令の判断は、その記憶
装置部品の取り外し等によって行う。
In the above-described embodiment, a case has been described in which the character expansion mechanism to be deleted from the printing apparatus is stored in the RAM 204. However, instead of the RAM 204, a removable storage device for expansion (ROM for expansion) is used. The same processing can be applied to the character expansion mechanism stored in. In this case, the determination of the command in steps (1) and (2) of the above-described flowchart is performed by removing the storage device component or the like.

【0048】[0048]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、入力される情報に基づいて、フォント
データを文字パターンに展開するための文字展開処理機
構を削除すると判断された場合に、機構削除手段により
前記文字展開処理機構を削除するとともに、併せて文字
パターン削除手段が文字展開処理機構によって展開さ
れ、記憶されている文字パターンを削除するので、削除
された文字展開処理機構により展開されて不要となる文
字パターンを同時に削除して、メモリ上に占有する状態
を回避させて有効な空き容量を確保することができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, when it is determined that the character expansion processing mechanism for expanding the font data into the character pattern is to be deleted based on the input information, the mechanism deletion unit deletes the character expansion processing mechanism. In addition, since the character pattern deletion means is expanded by the character expansion processing mechanism and deletes the stored character pattern, the character pattern which becomes unnecessary by being expanded by the deleted character expansion processing mechanism is simultaneously deleted. An effective free space can be secured by avoiding the state of occupying the top.

【0049】本発明に係る第2〜第4の発明は、入力さ
れるフォント情報,文字展開処理機構の入れ替え指示に
基づいて、フォントデータを文字パターンに展開するた
めの文字展開処理機構を削除すると判断するので、文字
展開処理機構と該文字展開処理機構により展開された文
字パターンがメモリに占有してしまう事態を適時に回避
することができる。
According to the second to fourth aspects of the present invention, the character expansion processing mechanism for expanding the font data into the character pattern is deleted based on the input font information and the instruction to replace the character expansion processing mechanism. Since the determination is made, the situation where the character expansion processing mechanism and the character pattern expanded by the character expansion processing mechanism occupy the memory can be timely avoided.

【0050】以上説明したように、本発明に係る第5の
発明によれば、入力される情報に基づいて、フォントデ
ータを文字パターンに展開するための文字展開処理機構
を削除すると判断された場合に、前記文字展開処理機構
を削除するとともに、併せて文字展開処理機構によって
展開され、記憶されている文字パターンを削除するの
で、削除された文字展開処理機構により展開されて不要
となる文字パターンを同時に削除して、メモリ上に占有
する状態を回避させて有効な空き容量を確保することが
できる。
As described above, according to the fifth aspect of the present invention, when it is determined that the character expansion processing mechanism for expanding the font data into the character pattern is deleted based on the input information. In addition, the character expansion processing mechanism is deleted, and at the same time, the character pattern developed and stored by the character expansion processing mechanism is deleted. At the same time, it is possible to avoid the state of being occupied on the memory and to secure an effective free space.

【0051】本発明に係る第6〜第8の発明によれば、
入力されるフォント情報,文字展開処理機構の入れ替え
指示に基づいて、フォントデータを文字パターンに展開
するための文字展開処理機構を削除すると判断するの
で、文字展開処理機構と該文字展開処理機構により展開
された文字パターンがメモリに占有してしまう事態を適
時に回避することができる。
According to the sixth to eighth aspects of the present invention,
Based on the input font information and the instruction to replace the character expansion processing mechanism, it is determined that the character expansion processing mechanism for expanding the font data into a character pattern is to be deleted. It is possible to timely prevent the character pattern from being occupied in the memory.

【0052】従って、少ない容量でも効率よく所望の文
字パターンを展開して出力することができる。
Therefore, a desired character pattern can be efficiently developed and output even with a small capacity.

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

【図1】本実施例を適用するレーザビームプリンタの構
成を説明する断面図である。
FIG. 1 is a cross-sectional view illustrating a configuration of a laser beam printer to which the present embodiment is applied.

【図2】図1に示した本体の制御構成を説明するブロッ
ク図である。
FIG. 2 is a block diagram illustrating a control configuration of a main body shown in FIG.

【図3】図1に示した本体の印刷制御機構を説明する詳
細ブロック図である。
FIG. 3 is a detailed block diagram illustrating a print control mechanism of the main body shown in FIG.

【図4】本発明に係る複数の文字展開機構の所在と文字
展開機構に指定との関係を説明するテーブル対応図であ
る。
FIG. 4 is a table correspondence diagram illustrating a relationship between locations of a plurality of character expansion mechanisms and designation of the character expansion mechanism according to the present invention.

【図5】本発明に係る印刷装置における第1の文字展開
機構判定処理手順の一例を説明するフローチャートであ
る。
FIG. 5 is a flowchart illustrating an example of a first character development mechanism determination processing procedure in the printing apparatus according to the present invention.

【図6】本発明の第2実施例を示す印刷装置の制御構成
を説明する概略ブロック図である。
FIG. 6 is a schematic block diagram illustrating a control configuration of a printing apparatus according to a second embodiment of the present invention.

【図7】図6に示した本体の印刷制御機構を説明する詳
細ブロック図である。
FIG. 7 is a detailed block diagram illustrating a print control mechanism of the main body shown in FIG.

【図8】本発明に係る印刷装置における第2の文字展開
機構判定処理手順の一例を説明するフローチャートであ
る。
FIG. 8 is a flowchart illustrating an example of a second character expansion mechanism determination processing procedure in the printing apparatus according to the present invention.

【符号の説明】[Explanation of symbols]

100 本体 201 入力インタフェース 202 CPU 203 ROM 204 RAM 205 2次記憶装置 206 出力インタフェース 207 出力部 REFERENCE SIGNS LIST 100 main unit 201 input interface 202 CPU 203 ROM 204 RAM 205 secondary storage device 206 output interface 207 output unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 5/44 G06F 3/12 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) B41J 5/30 B41J 5/44 G06F 3/12

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力される情報に基づいて、フォントデ
ータを文字パターンに展開するための文字展開処理機構
を削除するかどうかを判断する判断手段と、前記判断手
段によって、前記文字展開処理機構を削除すると判断さ
れた場合に、前記文字展開処理機構を削除する機構削除
手段と、 前記判断手段によって、前記文字展開処理機構を削除す
ると判断された場合に、前記文字展開処理機構によって
展開され、記憶されている文字パターンを削除する文字
パターン削除手段と、 を有することを特徴とする印刷装置。
A determining means for determining whether or not a character developing mechanism for developing font data into a character pattern is to be deleted based on input information; and determining the character developing mechanism by the determining means. A mechanism deleting unit that deletes the character expansion processing mechanism when it is determined that the character expansion processing mechanism is to be deleted; and a storage unit that is expanded by the character expansion processing mechanism when the determination unit determines that the character expansion processing mechanism is to be deleted. And a character pattern deleting unit for deleting a character pattern that has been set.
【請求項2】 前記入力される情報は、フォント情報或
は削除指示情報であることを特徴とする請求項1記載の
印刷装置。
2. The printing apparatus according to claim 1, wherein the input information is font information or deletion instruction information.
【請求項3】 前記入力される情報は、前記文字展開処
理機構の入れ替えを指示する情報であることを特徴とす
る請求項1記載の印刷装置。
3. The printing apparatus according to claim 1, wherein the input information is information for instructing replacement of the character development processing mechanism.
【請求項4】 前記削除はメモリ占有を開放するためで
あることを特徴とする請求項1記載の印刷装置。
4. The printing apparatus according to claim 1, wherein the deletion is for releasing memory occupation.
【請求項5】 入力される情報に基づいて、フォントデ5. A font file based on input information.
ータを文字パターンに展開するための文字展開処理機構Expansion mechanism for expanding data into character patterns
を備える印刷装置における印刷方法であって、A printing method in a printing apparatus comprising: 前記文字展開処理機構を削除するかどうかを判断する判A judgment to determine whether to delete the character expansion processing mechanism.
断工程と、Disconnection process, 前記判断工程によって、前記文字展開処理機構を削除すIn the determining step, the character expansion processing mechanism is deleted.
ると判断された場合に、前記文字展開処理機構を削除すDeletes the character expansion processing mechanism
る機構削除工程と、Mechanism removing process, 前記判断工程によって、前記文字展開処理機構を削除すIn the determining step, the character expansion processing mechanism is deleted.
ると判断された場合に、前記文字展開処理機構によってIf it is determined that the character expansion processing mechanism
展開され、記憶されている文字パターンを削除する文字Characters that delete expanded and stored character patterns
パターン削除工程と、A pattern deletion process, を有することを特徴とする印刷方法。A printing method comprising:
【請求項6】 前記入力される情報は、フォント情報或6. The input information includes font information or font information.
は削除指示情報であることを特徴とする請求項5記載のIs deletion instruction information.
印刷方法。Printing method.
【請求項7】 前記入力される情報は、前記文字展開処7. The method according to claim 7, wherein the input information is a character expansion process.
理機構の入れ替えを指示する情報であることを特徴とすInformation for instructing the replacement of the management mechanism.
る請求項5記載の印刷方法。The printing method according to claim 5, wherein
【請求項8】 前記削除はメモリ占有を開放するためで8. The deletion is for releasing memory occupation.
あることを特徴とする請求項5記載の印刷方法。6. The printing method according to claim 5, wherein:
JP5103708A 1993-04-07 1993-04-07 Printing apparatus and printing method Expired - Fee Related JP2989727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5103708A JP2989727B2 (en) 1993-04-07 1993-04-07 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5103708A JP2989727B2 (en) 1993-04-07 1993-04-07 Printing apparatus and printing method

Publications (2)

Publication Number Publication Date
JPH06286233A JPH06286233A (en) 1994-10-11
JP2989727B2 true JP2989727B2 (en) 1999-12-13

Family

ID=14361240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5103708A Expired - Fee Related JP2989727B2 (en) 1993-04-07 1993-04-07 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP2989727B2 (en)

Also Published As

Publication number Publication date
JPH06286233A (en) 1994-10-11

Similar Documents

Publication Publication Date Title
JPH10222319A (en) Printing device and printing control method
JP3495865B2 (en) PRINTING APPARATUS, INFORMATION PROCESSOR CONNECTING THE PRINTING APPARATUS, AND CONTROL METHOD THEREOF
JPH07121320A (en) Printing system
JP2989727B2 (en) Printing apparatus and printing method
JPH07112552A (en) Method for control of printing form and apparatus therefor in printer
JP2000357147A (en) Information processing system, print system, information processor, and their control method
JPH06103005A (en) Printer controller
US7027170B1 (en) Printing control system for separation printing
JP3032682B2 (en) Printing apparatus and control method thereof
JPH07178972A (en) Device and method for image recording
JP3583879B2 (en) Printer control device
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP3046478B2 (en) Printing apparatus and printing method
JP3199544B2 (en) Printing apparatus and printing control method
JPH08335150A (en) Printing system
JP2000347823A (en) Host base print system, host computer, printer, printing method, and storage medium
JPH05338280A (en) Method and apparatus for printing
JP3311969B2 (en) Discharge position control method and apparatus in printing apparatus
JP2000343770A (en) Data input and output method and apparatus, and memory medium
JPH1199730A (en) Printer and its control method
JPH09295432A (en) Printer and print controlling method
JPH09282115A (en) Printer and printing method
JP3281465B2 (en) PRINTING APPARATUS, ITS CONTROL METHOD, AND ITS STATUS DISPLAY METHOD
JPH0948155A (en) Printer
JPH11348360A (en) Method and apparatus for printing, and memory medium

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees