JPH0255161A - Information output device - Google Patents

Information output device

Info

Publication number
JPH0255161A
JPH0255161A JP63204678A JP20467888A JPH0255161A JP H0255161 A JPH0255161 A JP H0255161A JP 63204678 A JP63204678 A JP 63204678A JP 20467888 A JP20467888 A JP 20467888A JP H0255161 A JPH0255161 A JP H0255161A
Authority
JP
Japan
Prior art keywords
pattern
character
bitmap
stored
bit pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63204678A
Other languages
Japanese (ja)
Inventor
Yutaka Murakami
裕 村上
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 JP63204678A priority Critical patent/JPH0255161A/en
Publication of JPH0255161A publication Critical patent/JPH0255161A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To flexibly cope with a practical request by judging whether the bit pattern of a character code should be of a direct object of reference or not by referring to a detachable memory, converting the code into a bit pattern in case to be of the object to store it in a predetermined area, and using the stored bit pattern by directly referring it from next time. CONSTITUTION:The bit map pattern of a character is formed, and stored in a vacant area of a memory area 252. The bit map existing flag 2512 of the developed character is set to '1', and a pattern pointer 2512 is so updated as to similarly designate the address of the memory area. The bit map pattern developed in the memory area 252 is copied to an output buffer 26. Thus, only the bit map pattern to be preserved is stored in the area 252 according to the information of a detachable ROM cartridge 24, and a high speed printing is conducted while effectively using a RAM 25.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は情報出力装置に関し、特にビットパターン以外
のフォントをビットパターンに変換して使用する情報出
力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information output device, and particularly to an information output device that converts a font other than a bit pattern into a bit pattern.

[従来の技術] この種の装置ではベクトルフォントをビットパターンに
変換して所定エリアに記憶し、次回からは前記記憶した
ビットパターンを直接参照して使用するものが有る。こ
うすれば同一文字は直接記憶エリアからフレームメモリ
にコピーできるので迅速な変換を行える。しかし記憶エ
リアは一般に有限であり、複数の文字パターンで満たさ
れるとその後の変換に支障を生じる。そこで、従来は装
置内のプログラムにより一定条件に適合する比較的使用
頻度の高い文字パターンのみを記憶し、条件に適合しな
い文字パターンは使用される度にビットパターンに変換
されたいた。
[Prior Art] Some devices of this type convert a vector font into a bit pattern, store it in a predetermined area, and use the stored bit pattern by directly referring to it from the next time onwards. In this way, the same character can be directly copied from the storage area to the frame memory, allowing rapid conversion. However, the storage area is generally limited, and if it is filled with multiple character patterns, subsequent conversion will be hindered. Therefore, in the past, a program within the device stored only relatively frequently used character patterns that met certain conditions, and character patterns that did not meet the conditions were converted into bit patterns each time they were used.

条件は、例えば ■6.8又は10ポイントの文字であること■直立体で
あること ■標準又は太字(Bold)の文字であることである。
The conditions are, for example: ■ The character must be 6.8 or 10 points; ■ The character must be upright; and ■ The character must be standard or bold.

[発明が解決しようとする課題] しかし、上記の如く単純な条件で固定してしまうと実用
上の要求に柔軟に対処できない。
[Problems to be Solved by the Invention] However, if the conditions are fixed to simple conditions as described above, practical demands cannot be flexibly met.

本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、実用上の要求に柔軟に対処でき
る情報出力装置を提供することにある。
The present invention eliminates the above-mentioned drawbacks of the prior art, and its purpose is to provide an information output device that can flexibly meet practical demands.

[課題を解決するための手段] 本発明の情報出力装置は上記の目的を達成するために、
文字コードを着脱自在なメモリに参照して当該文字コー
ドのビットパターンを直接参照の対象とすべきか否かを
判別する判別手段と、前記判別により対象とすべき時は
当該文字コードをビットパターンに変換して所定エリア
に記憶すると供に次回からは当該記憶したビットパター
ンを直接参照して使用する出力制御手段を備えることを
その概要とする。
[Means for Solving the Problems] In order to achieve the above object, the information output device of the present invention has the following features:
a determination means that refers to a character code in a removable memory and determines whether or not the bit pattern of the character code should be directly referenced; The outline thereof is to include an output control means that converts the bit pattern and stores it in a predetermined area, and directly refers to and uses the stored bit pattern from the next time onwards.

[作用] かかる構成において、判別手段は文字コードを着脱自在
なメモリに参照して当該文字コニドのビットパターンを
直接参照の対象とすべきか否かを判別する。出力制御手
段は前記判別により対象とすべき時は当該文字コードを
ビットパターンに変換して所定エリアに記憶すると供に
次回からは当該記憶したビットパターンを直接参照して
使用する。
[Operation] In this configuration, the determining means refers to the character code in the removable memory and determines whether or not the bit pattern of the character conid should be directly referenced. The output control means converts the character code into a bit pattern and stores it in a predetermined area when the character code should be targeted based on the above discrimination, and directly refers to and uses the stored bit pattern from next time onwards.

[実施例の説明] 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は実施例の印刷装置のブロック構成図である。図
中、1は外部のホストコンピュータであり、実施例の印
刷装置に印刷データ(文字、記号のデータ及び制御デー
タ等)及びコマンドデータを送る。2は実施例の印刷装
置本体である。21は入力バッファであり、ホストコン
ピュータからの受信データを一時的に蓄える。
FIG. 1 is a block diagram of a printing apparatus according to an embodiment. In the figure, 1 is an external host computer, which sends print data (character, symbol data, control data, etc.) and command data to the printing apparatus of the embodiment. 2 is the printing apparatus main body of the embodiment. 21 is an input buffer, which temporarily stores data received from the host computer.

22はCPUであり、印刷装置2の主制御を行う、23
はROMであり、CPU22が実行する実施例の第4図
(A)、(B)の印刷制御プログラムを格納している。
22 is a CPU, which performs main control of the printing device 2; 23;
is a ROM, which stores the print control programs shown in FIGS. 4(A) and 4(B) of the embodiment executed by the CPU 22.

25はRAMであり、CPU22がワークエリアとして
使用する。
25 is a RAM, which the CPU 22 uses as a work area.

またRAM25は第3図のパターンポインタテーブル2
51、ビットマツプパターン記憶エリア252を有する
。26は出力バッファであり、CPU22によって印刷
用1ページ分のパターンデータな展開されてこれを記憶
する。27は出力部であり、出力バッファ26のパター
ンデータな用紙上に可視像形成する。
In addition, the RAM 25 is the pattern pointer table 2 shown in FIG.
51 and a bitmap pattern storage area 252. 26 is an output buffer, which is developed by the CPU 22 into one page worth of pattern data for printing and stored therein. Reference numeral 27 denotes an output unit, which forms a visible image on the paper of the pattern data in the output buffer 26.

24はROMカートリッジであり、外部より印刷装置本
体2に着脱自在である。該ROMカートリッジ24は複
数の文字セット1〜nを含んでおり、各文字セット1〜
nはビットマツプ形式以外の形式(例えばベクトル形式
)のフォントを記憶している。241〜24nはビット
マツプ保存フラグテーブルであり、各文字についてビッ
トパターン形式に変換した文字パターンを記憶して直接
使用する対象とすべきか否かの情報を記憶している。
24 is a ROM cartridge, which can be attached to and detached from the printing apparatus main body 2 from the outside. The ROM cartridge 24 includes a plurality of character sets 1-n, each character set 1-n.
n stores a font in a format other than bitmap format (for example, vector format). Bitmap storage flag tables 241 to 24n store information as to whether character patterns converted into bit pattern format should be stored and used directly for each character.

第2図は実施例のビットマツプ保存フラグテーブル24
nの記憶構造を示す図である。尚、ビットマツプ保存フ
ラグテーブル241.・・・についても同様である。例
えば、文字コード20H(Hはヘキサ表示)については
ビットマツプ形式で保存すべきでない旨がビット“O”
で記憶され、文字コード21Hについてはビットマツプ
形式で保存すべき旨がビット“1”で記憶されている。
Figure 2 shows the bitmap storage flag table 24 of the embodiment.
FIG. 3 is a diagram showing the storage structure of n. Note that the bitmap save flag table 241. The same applies to... For example, for character code 20H (H is hex), the bit “O” indicates that it should not be saved in bitmap format.
The character code 21H is stored as a bit "1" indicating that it should be saved in bitmap format.

こうすることで文字毎にビットマツプ形式で保存すべき
か否かを決められるので実用上の要求にマツチしたパタ
ーン変換処理が行える。
By doing this, it can be determined whether or not each character should be saved in bitmap format, so that pattern conversion processing that meets practical requirements can be performed.

第3図は実施例のパターンポインタテーブル251の記
憶構造を示す図である。図中、2511はビットマツプ
保存フラグの欄であり、文字フード20H,21H,・
・・(コード順)等に対するビットマツプ保存フラグの
内容がビットマツプ保存フラグテーブル24nから読み
出されてストアされる。2512はビットマツプ既製フ
ラグの欄であり、ビットマツプ化された文字パターンが
既に保存されている時はパ1” まだ保存されていない
時はO”である。2513はパターンポインタの欄であ
り、ビットマツプ既製フラグが“O”の時はROMカー
トリッジ24内の当該文字のベクトルフォント等のアド
レスをポイントする。またビットマツプ既製フラグが“
1”の時はビットマツプパターン記憶エリア252の当
該ビットマツプ文字パターンのアドレスをポイントする
FIG. 3 is a diagram showing the storage structure of the pattern pointer table 251 of the embodiment. In the figure, 2511 is a bitmap save flag column, and character hoods 20H, 21H, .
The contents of the bitmap storage flag for . . . (code order), etc. are read from the bitmap storage flag table 24n and stored. Reference numeral 2512 is a bitmap ready flag field, which is 1" when the bitmap character pattern has already been saved, and 0 when it has not been saved yet. Reference numeral 2513 is a pattern pointer column, which points to the address of the vector font, etc. of the character in the ROM cartridge 24 when the bitmap ready-made flag is "O". Also, the bitmap ready-made flag is “
1'', it points to the address of the bitmap character pattern in the bitmap pattern storage area 252.

第4図(A)、(B)は実施例の印刷制御手順のフロー
チャートである。ステップS1では文字セットを選択す
る。文字セットは例えばホストコンピュータ1からのコ
マンド(文字セット名の指定、文字セット属性の指定等
)で選択できる。
FIGS. 4(A) and 4(B) are flowcharts of the print control procedure of the embodiment. In step S1, a character set is selected. The character set can be selected, for example, by a command from the host computer 1 (designation of character set name, designation of character set attributes, etc.).

ステップS2では当該文字セットのパターンポインタテ
ーブル251を作成する。ステップS3では入力バッフ
ァ21に入力データが有るか否かを判別し、無い時は処
理終了する。また入力データが有る時はステップS4で
入力データを読み出す。ステップS5では入力データが
排紙コマンドか否かを判別し、排紙コマンドならステッ
プS6で排紙する。また排紙コマンドでないならステッ
プS7で文字コードか否かを判別する。文字コードでな
いならステップS8でその他の処理を行う。また文字コ
ードならステップS9で当該文字コードのビットマツプ
既製フラグ2512が°゛1”か否かを判別する。既製
フラグが“1”なら当該文字は既にビットパターン化さ
れており、ステップS19でビットマツプパターン記憶
エリア252から対応ビットマツプパターンを読み出し
、出力バッファ26に展開する。また既製フラグがO“
ならステップSIOでビットマツプ保存フラグ2511
が“1”か否かを判別する。
In step S2, a pattern pointer table 251 for the character set is created. In step S3, it is determined whether or not there is input data in the input buffer 21, and if there is no input data, the process ends. If there is input data, the input data is read out in step S4. In step S5, it is determined whether the input data is a paper ejection command, and if it is a paper ejection command, the paper is ejected in step S6. If it is not a paper discharge command, it is determined in step S7 whether or not it is a character code. If it is not a character code, other processing is performed in step S8. If it is a character code, it is determined in step S9 whether the bitmap ready-made flag 2512 of the character code is "1".If the ready-made flag is "1", the character has already been made into a bit pattern, and the bitmap The corresponding bitmap pattern is read from the pattern storage area 252 and expanded to the output buffer 26. Also, if the ready-made flag is set to O“
If so, set bitmap save flag 2511 in step SIO.
It is determined whether or not is "1".

保存フラグが“O”の時はビットマツプパターンを保存
する必要が無いのでステップSllで出力バッファ26
に文字パターンを直接展開するだけである。また保存フ
ラグが1”の時はステップS12でビットマツプパター
ン記憶エリア252の空きエリア有無を判別する。空き
エリアが無い時はステップS13で必要性の低い文字パ
ターンを記憶エリア252から消去する。例えば最近の
使用頻度の最も少ない文字パターンを消去する。
When the save flag is "O", there is no need to save the bitmap pattern, so the output buffer 26 is stored in step Sll.
It simply expands the character pattern directly. When the save flag is 1'', it is determined in step S12 whether or not there is an empty area in the bitmap pattern storage area 252.If there is no empty area, less necessary character patterns are deleted from the storage area 252 in step S13.For example, Erase the least recently used character patterns.

ステップS14では消去した文字のビットマツプ既製フ
ラグな“0”にする。ステップS15では当該文字のパ
ターンポインタを本来のベクトルフォント等のアドレス
なを指す様に変更する。
In step S14, the bitmap ready flag of the erased character is set to "0". In step S15, the pattern pointer of the character is changed to point to the address of the original vector font or the like.

ステップS12で空きエリアが有る時、又はステップS
15からはステップS16に入力する。ステップS16
では当該文字のビットマツプパターンを形成して記憶エ
リア252の空きエリアに格納する。ステップS17で
は当該展開した文字のビットマツプ既製フラグ2512
を“1”にし、ステップS18では同じくパターンポイ
ンタ2513を当該記憶エリアのアドレスを指すように
更新する。ステップS19では記憶エリア252に展開
したビットマツプパターンを出力バッファ26にコピー
する。こうして、着脱自在なROMカートリッジ24の
情報に従い、保存すべきビットマツプパターンのみを記
憶エリア252に保存し、RAM25を有効に使いなが
らかつ高速印刷処理を行える。
When there is a vacant area in step S12, or in step S
From 15 onwards, input is made to step S16. Step S16
Then, a bitmap pattern of the character is formed and stored in an empty area of the storage area 252. In step S17, the bitmap ready-made flag 2512 of the expanded character is
is set to "1", and in step S18, the pattern pointer 2513 is similarly updated to point to the address of the storage area. In step S19, the bitmap pattern developed in the storage area 252 is copied to the output buffer 26. In this way, only the bitmap pattern to be stored is stored in the storage area 252 according to the information in the removable ROM cartridge 24, and high-speed printing processing can be performed while effectively using the RAM 25.

[他の実施例] 上述実施例ではビットマツプ保存の必要性有無を“1”
又は“0”の情報で規定したがこれに限らない。他にも
多値情報で構成して優先順位を待たせ、メモリの空き具
合等も加味し、より効率の高い制御を行える。
[Other embodiments] In the above embodiment, whether or not bitmap storage is necessary is set to “1”.
or "0" information, but the information is not limited to this. In addition, more efficient control can be achieved by configuring multi-valued information, making the priority order wait, and taking into consideration the availability of memory, etc.

また上述実施例ではビットマツプパターンへの変換は当
該文字の印字の際に行ったがこれに限らない。空きエリ
アが存在する時は他の処理の空き時間等を利用して、現
実の使用にかかわらず適当な文字を選択してビットパタ
ーン変換し、保存をしても良い。
Further, in the above-described embodiment, conversion to a bitmap pattern is performed when printing the character, but the invention is not limited to this. When a free area exists, the free time of other processes may be used to select an appropriate character, convert the bit pattern, and save it, regardless of actual use.

また上述実施例ではROMカートリッジ24の全文字セ
ットがビットマツプ形式以外(ベクトルフォント形式等
)のフォントであるとして説明したがこれに限らない。
Further, in the above-described embodiment, the entire character set of the ROM cartridge 24 was described as being a font other than a bitmap format (such as a vector font format), but the present invention is not limited to this.

例えば一部の文字セットは最初からビットマツプ形式の
フォントでも良い。
For example, some character sets may be bitmap format fonts from the beginning.

この場合、当該文字セットが選択された時は文字コード
で当該文字セットを直接アクセスする。
In this case, when the character set is selected, the character set is directly accessed using the character code.

また出力部27は表示装置でも良い。Further, the output section 27 may be a display device.

[発明の効果コ 以上述べた如く本発明によれば、ROMカートリッジの
交換により様々な文字セットについて柔軟に対応して高
いメモリー効率で文字キャッシュを行える。
[Effects of the Invention] As described above, according to the present invention, by replacing the ROM cartridge, it is possible to flexibly support various character sets and perform character caching with high memory efficiency.

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

第1図は実施例の印刷装置のブロック構成図、第2図は
実施例のビットマツプ保存フラグテーブル24nの記憶
構造を示す図、 第3図は実施例のパターンポインタテーブル251の記
憶構造を示す図、 第4図(A)、(B)は実施例の印刷制御手順のフロー
チャートである。 図中、1・・・ホストコンピュータ、2・・・印刷装置
本体、21・・・入力バッファ、22・・・cpu。 23・・・ROM、24ROMカートリッジ、25・・
・RAM、26・・・出力バッファ、27・・・出力部
である。 特許出願人  キャノン株式会社 四:Lごi、+ 第2 図 第3 図
FIG. 1 is a block diagram of the printing apparatus of the embodiment, FIG. 2 is a diagram showing the storage structure of the bitmap storage flag table 24n of the embodiment, and FIG. 3 is a diagram showing the storage structure of the pattern pointer table 251 of the embodiment. , FIGS. 4(A) and 4(B) are flowcharts of the print control procedure of the embodiment. In the figure, 1... host computer, 2... printer main body, 21... input buffer, 22... CPU. 23...ROM, 24ROM cartridge, 25...
-RAM, 26...output buffer, 27...output section. Patent applicant: Canon Co., Ltd. 4: Lgoi, + Figure 2 Figure 3

Claims (1)

【特許請求の範囲】 ビットパターン以外のフォントをビットパターンに変換
して記憶し、該記憶したビットパターンを直接参照して
使用する情報出力装置において、 文字コードを着脱自在なメモリに参照して当該文字コー
ドのビットパターンを直接参照の対象とすべきか否かを
判別する判別手段と、 前記判別により対象とすべき時は当該文字コードをビッ
トパターンに変換して所定エリアに記憶すると供に次回
からは当該記憶したビットパターンを直接参照して使用
する出力制御手段を備えることを特徴とする情報出力装
置。
[Scope of Claims] An information output device that converts a font other than a bit pattern into a bit pattern and stores it, and directly refers to and uses the stored bit pattern, wherein a character code is referred to in a removable memory and the corresponding A determination means for determining whether or not a bit pattern of a character code should be directly referenced; and when the character code is determined to be a target for direct reference, converting the character code into a bit pattern, storing it in a predetermined area, and storing it from the next time. An information output device comprising an output control means that directly refers to and uses the stored bit pattern.
JP63204678A 1988-08-19 1988-08-19 Information output device Pending JPH0255161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63204678A JPH0255161A (en) 1988-08-19 1988-08-19 Information output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63204678A JPH0255161A (en) 1988-08-19 1988-08-19 Information output device

Publications (1)

Publication Number Publication Date
JPH0255161A true JPH0255161A (en) 1990-02-23

Family

ID=16494488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63204678A Pending JPH0255161A (en) 1988-08-19 1988-08-19 Information output device

Country Status (1)

Country Link
JP (1) JPH0255161A (en)

Similar Documents

Publication Publication Date Title
JPH04325267A (en) Output method and its device
JPH0255161A (en) Information output device
JP2973260B2 (en) Print information processing device
JPH043219A (en) Printer
JPH01290448A (en) Character generator
JPH03114856A (en) Printer data management system
JPH06274145A (en) Character processor
JPH0255162A (en) Information output device
KR20020070106A (en) Method of controlling the display of a character based on a dynamic code generation
JP2878298B2 (en) Image output device
JPS61175765A (en) Format setting system for document processor
JPS6288025A (en) Receiving buffer memory control system
JPH01229666A (en) Printer
JPH048473Y2 (en)
JP3054157B2 (en) Character processing device and character processing method
JPH051491B2 (en)
JPH0325667A (en) Japanese word processing system
JPH03132371A (en) Print controller
JPH03112668A (en) Printer
JPS61278977A (en) Picture processor
JPH05173536A (en) External character processor
JPH0542724A (en) Character generation device
JPH03240098A (en) Font cache system for outline font
JPH03114857A (en) Printer data management system
JPH07168836A (en) Document processing system