JPH07102719B2 - Printer - Google Patents

Printer

Info

Publication number
JPH07102719B2
JPH07102719B2 JP63129480A JP12948088A JPH07102719B2 JP H07102719 B2 JPH07102719 B2 JP H07102719B2 JP 63129480 A JP63129480 A JP 63129480A JP 12948088 A JP12948088 A JP 12948088A JP H07102719 B2 JPH07102719 B2 JP H07102719B2
Authority
JP
Japan
Prior art keywords
font
pattern
landscape
character code
printing
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
JP63129480A
Other languages
Japanese (ja)
Other versions
JPH01299071A (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 JP63129480A priority Critical patent/JPH07102719B2/en
Priority to GB8910054A priority patent/GB2218550B/en
Priority to DE3915142A priority patent/DE3915142C2/en
Priority to FR8906056A priority patent/FR2633753B1/en
Priority to US07/430,057 priority patent/US5044790A/en
Publication of JPH01299071A publication Critical patent/JPH01299071A/en
Publication of JPH07102719B2 publication Critical patent/JPH07102719B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、入力される印字情報を解析して文字コード
に対応するフォントパターンをランドスケープまたはポ
ートレイトに印字する印刷装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus that analyzes input print information and prints a font pattern corresponding to a character code on a landscape or portrait.

〔従来の技術〕[Conventional technology]

従来、この種の印刷装置においては、入力された文書情
報を記録媒体の長手方向に対して対抗する方向に印字す
るポートレイト印字と入力された文書情報を記録媒体の
長手方向に対して平行に印字するランドスケープ印字処
理を実行できるように構成されているものが実用化され
ている。
Conventionally, in this type of printing apparatus, portrait printing for printing the input document information in a direction opposite to the longitudinal direction of the recording medium and for inputting the document information parallel to the longitudinal direction of the recording medium. The one configured so that the landscape printing process for printing can be executed has been put into practical use.

そして、この種の印字装置において、印字するフォント
パターンを、例えばフォントカートリッジ等の外部記憶
装置から供給する構成とする場合、外部記憶装置にポー
トレイト印字用のフォントパターンとランドスケープ印
字用のフォントパターンをあらかじめ記憶させて、印字
制御情報に応じて何れか一方のフォントパターンを供給
して印字処理を実行するか、ランドスケープ印字処理の
際に、外部記憶装置からポートレイト印字用のフォント
パターンをプリンタ装置のソフトウエアまたは高価な展
開回路等のハードウエアを介してランドスケープ印字フ
ォントを発生させていた。
When a font pattern to be printed is supplied from an external storage device such as a font cartridge in this type of printing device, a font pattern for portrait printing and a font pattern for landscape printing are provided to the external storage device. Either the font pattern is stored in advance and either one of the font patterns is supplied according to the print control information to perform the printing process, or the font pattern for portrait printing is stored in the printer device from the external storage device during the landscape printing process. The landscape print font is generated through software or hardware such as an expensive developing circuit.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

このため、前者においては、ポートレイト印字用のフォ
ントパターンとランドスケープ印字用のフォントパター
ンを全て記憶する大容量の記憶媒体が必要となり、どち
らも高速に所望のフォントパターンを発生させることが
できる反面、フォントカートリッジのコストが大幅に高
くなってしまう問題点があった。
Therefore, in the former case, a large-capacity storage medium for storing all the font patterns for portrait printing and the font patterns for landscape printing is required, and both of them can generate a desired font pattern at high speed. There was a problem that the cost of the font cartridge was significantly increased.

一方、後者においては、ポートレイト印字用のフォント
パターンをフォントカートリッジに記憶させれば済むの
で、フォントカートリッジのコストを下げることができ
る反面、ポートレイト印字用のフォントパターンからラ
ンドスケープ印字用のフォントパターンに変換するため
のソフト処理に相当の時間を要し、印字処理効率を低下
させ、プリンタ装置におけるトータルスループットを大
幅に低下させてしまう等の問題点があった。
On the other hand, in the latter, it is sufficient to store the font pattern for portrait printing in the font cartridge, so the cost of the font cartridge can be reduced, while the font pattern for portrait printing is changed to the font pattern for landscape printing. There has been a problem that a considerable amount of time is required for the software processing for conversion, the printing processing efficiency is reduced, and the total throughput in the printer is significantly reduced.

この発明は、上記の問題点を解決するためになされたも
ので、印字頻度の高いポートレイトフォント情報を不揮
発性メモリに記憶し、該不揮発性メモリに記憶された印
字頻度の高いポートレイトフォント情報と現在キャッシ
ュされているランドスケープフォント情報とが一致する
ように、ランドスケープフォントのキャッシュ状態を制
御するとともに、印字頻度の高いポートレイトフォント
情報を所定印字間隔毎に不揮発性メモリに書き込むこと
により、常にユーザが使用する頻度の高いポートレイト
フォントパターンのランドスケープフォントパターンを
フォントキャッシュにキャッシュできる印刷装置を提供
することを目的とする。
The present invention has been made to solve the above problems, and stores portrait font information with high printing frequency in a non-volatile memory, and portrait font information with high printing frequency stored in the non-volatile memory. The landscape font cache status is controlled so that the current and the currently cached landscape font information match, and the portrait font information, which is frequently printed, is written to the non-volatile memory at specified print intervals, so that the An object of the present invention is to provide a printing device that can cache a landscape font pattern of a portrait font pattern that is frequently used by a font cache.

〔問題を解決するための手段〕[Means for solving problems]

この発明に係る印刷装置は、フォントパターン記憶手段
から読み出されるポートレイトフォントパターンをラン
ドスケープフォントパターンに変換するパターン変換手
段と、このパターン変換手段により変換されたランドス
ケープフォントパターンを文字コードとともに所定文字
数分記憶するフォントキャッシュと、ポートレイトフォ
ントパターンの印字処理に応じて、印字された各ポート
レイトフォントパターンに対する文字コードの印字頻度
を更新して不揮発性メモリに記憶する更新手段と、前記
不揮発性メモリに記憶された文字コードの内、印字頻度
の高い上位所定文字数分の文字コードを選択する選択手
段と、前記選択手段で選択した所定文字数分の文字コー
ドとフォントキャッシュに所定文字数分記憶された文字
コードとが一致するかどうかを判定する判定手段と、こ
の判定手段が不一致と判定した場合に、不一致となる文
字コードに対応するポートレイトフォントパターンのラ
ンドスケープフォントパターンを前記パターン変換手段
を用いて生成し、前記フォントキャッシュに順次書き込
むキャッシュ制御手段とを備えるものである。
A printing apparatus according to the present invention includes a pattern conversion unit that converts a portrait font pattern read from a font pattern storage unit into a landscape font pattern, and the landscape font pattern converted by the pattern conversion unit together with a character code for a predetermined number of characters. A font cache, updating means for updating the printing frequency of the character code for each printed portrait font pattern in accordance with the printing processing of the portrait font pattern and storing it in the non-volatile memory, and storing it in the non-volatile memory. Of the selected character codes, a selection means for selecting a character code for a predetermined number of high-ranking characters having a high printing frequency, a character code for the predetermined number of characters selected by the selection means, and a character code stored for the predetermined number of characters in the font cache. Matches Determining means for determining whether or not there is a mismatch, and when this determining means determines that they do not match, a landscape font pattern of a portrait font pattern corresponding to a character code that does not match is generated using the pattern conversion means, and the font cache is generated. And a cache control means for sequentially writing to

〔作用〕[Action]

この発明においては、選択手段により選択された不揮発
性メモリに更新記憶されたポートレイトフォントパター
ンで印字頻度の高い上位所定文字数分の文字コードと前
記フォントキャッシュに所定文字数分記憶されたランド
スケープフォントパターンの文字コードとが不一致であ
ると判定手段が判定した場合に、キャッシュ制御手段が
不一致となる文字コードに対応するポートレイトフォン
トパターンのランドスケープフォントパターンを前記フ
ォントキャッシュに順次書き込み、直前までの印字に基
づく印字頻度の高いポートレイトフォントパターンに対
応する文字コードに合致するようにランドスケープフォ
ントパターンがフォントキャッシュに生成し、常にユー
ザが使用する頻度の高いポートレイトフォントパターン
のランドスケープフォントパターンをフォントキャッシ
ュにキャッシュしておくことを可能とする。
According to the present invention, the portrait font pattern updated and stored in the non-volatile memory selected by the selection means has a character code for a predetermined number of high-ranked characters having a high printing frequency and a landscape font pattern stored for a predetermined number of characters in the font cache. If the determination means determines that the character code does not match, the cache control means sequentially writes the landscape font pattern of the portrait font pattern corresponding to the character code that does not match to the font cache, and based on the printing up to immediately before. The landscape font pattern is generated in the font cache so that it matches the character code corresponding to the portrait font pattern that is frequently printed, and the landscape of the portrait font pattern that the user frequently uses It makes it possible to cache the Ontopatan in the font cache.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す印刷装置の一例を説
明するブロック図であり、1はホストコンピュータで、
印字情報となる文字コード,印字制御情報(ランドスケ
ープ印字指定,ポートレイト印字指定等を含む)を印字
手段となるプリンタ部2に出力する。
FIG. 1 is a block diagram for explaining an example of a printing apparatus showing an embodiment of the present invention, and 1 is a host computer,
The character code serving as print information and print control information (including landscape print designation, portrait print designation, etc.) are output to the printer unit 2 serving as a printing unit.

プリンタ部2は、制御部21,縦/横変換部22,フォントキ
ャッシュ23,管理テーブル24,フレームバッファ25,ドッ
トプリンタ部26,フォントパターン格納部27,不揮発性メ
モリ28等から構成されており、制御部21はCPU21a,ROM21
b,RAM21c等から構成され、CPU21aはROM21bに格納された
制御プログラム(後述するフローチャートを含む制御手
順)に基づいて印字情報処理を実行する。
The printer unit 2 includes a control unit 21, a vertical / horizontal conversion unit 22, a font cache 23, a management table 24, a frame buffer 25, a dot printer unit 26, a font pattern storage unit 27, a non-volatile memory 28, and the like. Control unit 21 is CPU21a, ROM21
b, RAM 21c, etc., and CPU 21a executes print information processing based on a control program (control procedure including a flowchart described later) stored in ROM 21b.

縦/横変換部22は、ホストコンピュータ1から入力され
た文字コードまたは不揮発性メモリ28に記憶される印字
頻度情報中の文字コードに対応するポートレイトフォン
トパターンの縦横を変換してランドスケープパターンを
発生させる。フォントキャッシュ23は、この発明のラン
ドスケープメモリを構成し、この管理手段となるCPU21a
により更新管理される印字頻度情報に基づいて縦/横変
換部22が変換するランドスケープフォントパターンを所
定数更新可能に記憶する。なお、CPU21aは印字処理に並
行して不揮発性メモリ28に記憶される印字頻度情報を更
新管理し、印字頻度情報が電源投入時に管理テーブル24
に一旦ファイルし、以後印字処理実行中は、この管理テ
ーブル24を更新管理し、印字処理実行毎、例えば所定ペ
ージ印字処理終了毎または所定時間経過毎に管理テーブ
ル24の内容を不揮発性メモリ28に記憶させる。
The vertical / horizontal conversion unit 22 converts the vertical / horizontal direction of the portrait font pattern corresponding to the character code input from the host computer 1 or the character code in the printing frequency information stored in the non-volatile memory 28 to generate a landscape pattern. Let The font cache 23 constitutes the landscape memory of the present invention, and the CPU 21a which serves as the management means thereof.
The landscape font pattern converted by the vertical / horizontal conversion unit 22 based on the print frequency information updated and managed by the above is stored so that the predetermined number can be updated. The CPU 21a updates and manages the print frequency information stored in the non-volatile memory 28 in parallel with the print processing, and the print frequency information is stored in the management table 24 when the power is turned on.
The management table 24 is updated and managed during execution of the printing process thereafter, and the contents of the management table 24 are stored in the non-volatile memory 28 each time the printing process is executed, for example, every time a predetermined page printing process ends or a predetermined time elapses. Remember.

フレームバッファ25は、制御部21から出力されるドット
パターンを、例えば1頁分記憶し、ドットプリンタ部26
との同期をとりながら、展開されたポートレイトまたは
ランドスケープのドットパターンをドットプリンタ部26
に転送し印字を行う。なお、この発明のフォントパター
ン記憶手段となるフォントパターン格納部27にはポート
レイトのフォントパターンが文字コードに1対1に対応
して記憶されている。不揮発性メモリ28はこの発明の頻
度情報メモリであり、後述する管理手段により各ポート
レイトフォントパターンの印字頻度情報(後述する)を
更新可能に記憶する。また、制御部21はこの発明のラン
ドスケープフォントパターン発生制御手段を兼ねてお
り、入力される印字情報と印字頻度情報とを比較しなが
らフォントキャッシュ23から優先して対応するランドス
ケープフォントパターンを発生させる。
The frame buffer 25 stores the dot pattern output from the control unit 21, for example, for one page, and the dot printer unit 26
The dot pattern of the developed portrait or landscape dot pattern is synchronized with the dot printer section 26.
And print it. The font pattern storage unit 27, which is the font pattern storage means of the present invention, stores portrait font patterns in a one-to-one correspondence with character codes. The non-volatile memory 28 is the frequency information memory of the present invention, and stores the printing frequency information (described later) of each portrait font pattern so that it can be updated by the management means described below. The control unit 21 also serves as the landscape font pattern generation control means of the present invention, and preferentially generates the corresponding landscape font pattern from the font cache 23 while comparing the input print information and the print frequency information.

第2図は、第1図に示したホストコンピュータ1から入
力される印字データの一例を説明する図であり、L1〜L4
は印字データで、各印字データL1〜L4に印字制御コマン
ドとなるキャリッジリターンコードCR,ラインフィード
コードLFが付加され、特に印字データL4にはフォームフ
ィードコードFFが付加されている状態を示してある。
FIG. 2 is a diagram for explaining an example of print data input from the host computer 1 shown in FIG.
Is print data, and the carriage return code CR and line feed code LF, which are print control commands, are added to each print data L1 to L4, and in particular, the form feed code FF is added to the print data L4. .

第3図は、第1図に示したフォントキャッシュ23の構成
を説明する模式図であり、C31〜C35はコードエリアで、
コードエリアC31にはフォントエリアP31に格納される文
字「の」のランドスケープフォントパターンに対応する
文字コード「244EH」が格納される。コードエリアC32に
はフォントエリアP32に格納される文字「太」のランド
スケープフォントパターンに対応する文字コード「4240
H」が格納される。
FIG. 3 is a schematic diagram for explaining the configuration of the font cache 23 shown in FIG. 1, and C31 to C35 are code areas,
The code area C31 stores the character code “244E H ” corresponding to the landscape font pattern of the character “NO” stored in the font area P31. The code area C32 contains the character code "4240" corresponding to the landscape font pattern of the character "thick" stored in the font area P32.
H "is stored.

コードエリアC33にはフォントエリアP33に格納される文
字「郎」のランドスケープフォントパターンに対応する
文字コード「4F3AH」が格納される。
The code area C33 stores the character code “4F3A H ” corresponding to the landscape font pattern of the character “ro” stored in the font area P33.

コードエリアC34にはフォントエリアP34に格納される文
字「花」のランドスケープフォントパターンに対応する
文字コード「3256H」が格納される。
Character code corresponding to the landscape font pattern of the character "flower" stored in the font area P34 "3256 H" is stored in the code area C34.

コードエリアC35にはフォントエリアP35に格納される文
字「子」のランドスケープフォントパターンに対応する
文字コード「3B52H」が格納される。
Character code corresponding to the landscape font patterns of characters "child" stored in the font area P35 "3B52 H" is stored in the code area C35.

第4図は、第1図に示した管理テーブル24,不揮発性メ
モリ28のデータ構造を説明する模式図であり、41は文字
コードで、フォントパターン格納部27に記憶される各ポ
ートレイトフォントパターンに対応し、この文字コード
41に1対1に対応する印字頻度情報42が、例えば2ビッ
トで記憶管理した状態を示してある。特に文字コード41
が「P244E」のポートレイトフォントパターンは、文字
「の」に対応し、印字頻度が3、すなわち2進数で「1
1」の場合を示してある。
FIG. 4 is a schematic diagram for explaining the data structure of the management table 24 and the non-volatile memory 28 shown in FIG. 1, 41 is a character code, and each portrait font pattern stored in the font pattern storage unit 27. Corresponding to this character code
Reference numeral 41 indicates a state in which the printing frequency information 42 corresponding to one to one is stored and managed by, for example, 2 bits. Especially character code 41
The portrait font pattern with "P244E" corresponds to the character "no", and the printing frequency is 3, that is, "1" in binary.
The case of "1" is shown.

この図から分かるように、第2図に示した各印字データ
L1〜L4を処理すると、各文字コード41に対応する印字頻
度情報42が順次更新され、印字に供しない文字コード41
に対応するエリアの印字頻度情報42は「00」がセットさ
れる。特に、各印字データL1〜L4には文字「の」が3個
あるので、印字頻度情報42が「11」となる。
As can be seen from this figure, each print data shown in Figure 2
When L1 to L4 are processed, the print frequency information 42 corresponding to each character code 41 is sequentially updated, and the character code 41 not used for printing is printed.
The printing frequency information 42 of the area corresponding to is set to "00". In particular, since each print data L1 to L4 has three characters "no", the print frequency information 42 is "11".

次に第5図から第7図を参照しながらこの発明によるラ
ンドスケープフォントパターン印字処理動作について詳
細に説明する。
Next, the landscape font pattern print processing operation according to the present invention will be described in detail with reference to FIGS.

第5図はこの発明による印字頻度情報ロード処理手順の
一例を説明するフローチャートである。なお、(1)〜
(3)は各ステップを示す。また、この処理は、電源投
入時あるいはドットプリンタ部26がアイドル状態の時に
実行される。
FIG. 5 is a flow chart for explaining an example of the printing frequency information loading processing procedure according to the present invention. In addition, (1) ~
(3) shows each step. Further, this processing is executed when the power is turned on or when the dot printer unit 26 is in the idle state.

まず、CPU21aは不揮発性メモリ28をアクセスして、各ポ
ートレイトフォントパターンに対応する印字頻度情報42
を管理テーブル24にロードする(1)。
First, the CPU 21a accesses the non-volatile memory 28 and prints the print frequency information 42 corresponding to each portrait font pattern.
Is loaded into the management table 24 (1).

次いで、管理テーブル24の中の文字の印字頻度情報42を
チェックし、頻度順位の高い上位5文字の文字コード41
を選択して、フォントキャッシュ23内に登録されている
5文字と比較してその内容が一致するかどうかを判断し
(2)、YESならば処理を終了し、NOならば一致してい
ない文字コード41に対応するポートレイトフォントパタ
ーンをフォントパターン格納部27から読み出し、縦/横
変換部22を使用して不一致の文字コード41に対応するラ
ンドスケープパターンを発生させ、その文字コード41と
ともにフォントキャッシュ23に登録するアップデート
(更新処理)を行い(3)、処理を終了する。
Next, the printing frequency information 42 of the characters in the management table 24 is checked, and the character code 41 of the upper 5 characters with the highest frequency ranking is checked.
Select and compare the five characters registered in the font cache 23 to determine whether their contents match (2). If YES, end the process, and if NO, do not match. The portrait font pattern corresponding to the code 41 is read from the font pattern storage unit 27, the landscape / horizontal conversion unit 22 is used to generate a landscape pattern corresponding to the mismatched character code 41, and the font cache 23 is generated together with the character code 41. Update (update process) registered in (3) is performed, and the process ends.

なお、特に電源投入時にはフォントキャッシュ23は全て
「NULL」がセットされているため、上位5文字分全ての
ランドスケープパターンが記憶されることとなる。
In particular, since "NULL" is set in the font cache 23 when the power is turned on, all the landscape patterns of the upper 5 characters are stored.

このように構成された印刷装置において、不揮発性メモ
リ28に更新記憶されたポートレイトフォントパターンの
内、選択手段(CPU21a)により選択された印字頻度の高
い上位所定文字数分のポートレイトフォントパターンの
文字コードとフォントキャッシュ23に所定文字数分記憶
されたランドスケープフォントパターンの文字コードと
が不一致であると判定手段(CPU21a)が判定した場合
に、キャッシュ制御手段(CPU21aが第5図の制御手順に
従って行う)が不一致となる文字コードに対応するポー
トレイトフォントパターンのランドスケープフォントパ
ターンをフォントキャッシュ23に順次書き込み、直前ま
での印字に基づく印字頻度の高いポートレイトフォント
パターンに対応する文字コードに合致するようにランド
スケープフォントパターンがフォントキャッシュに生成
し、常にユーザが使用する頻度の高いポートレイトフォ
ントパターンのランドスケープフォントパターンをフォ
ントキャッシュにキャッシュ23しておくことを可能とす
る。
In the printing device configured as described above, among the portrait font patterns updated and stored in the non-volatile memory 28, characters of the portrait font pattern for the predetermined number of high-ranking characters with high printing frequency selected by the selection unit (CPU 21a) are selected. When the determining means (CPU 21a) determines that the code and the character code of the landscape font pattern stored in the font cache 23 for a predetermined number of characters do not match, the cache control means (the CPU 21a performs the control procedure of FIG. 5) Landscape of portrait font pattern corresponding to the character code that does not match is sequentially written to the font cache 23, and the landscape is matched so as to match the character code corresponding to the portrait font pattern that is frequently printed based on the previous printing. The font pattern is Generated O cement cache always allows the landscape font pattern of high portrait font patterns frequently used by the user in the font cache to cache 23.

第6図はこの発明によるランドスケープ印字処理手順の
一例を説明するフローチャートである。なお、(1)〜
(5)は各ステップを示す。
FIG. 6 is a flow chart for explaining an example of the landscape printing processing procedure according to the present invention. In addition, (1) ~
(5) shows each step.

まず、CPU21aはホストコンピュータ1より印字データを
受信し(1)、受信した文字コード41がフォントキャッ
シュ23のコードエリアC31〜C35に存在するかどうかを判
断し(2)、NOならば受信した文字コード41に対応する
ポートレイトフォントパターンをフォトパターン格納部
27より読出し、縦/横変換部22を介してランドスケープ
フォントパターンを発生させフレームバッファ25に展開
する(3)。次いで、管理テーブル24の印字頻度情報42
をアップデートして(4)、処理を終了する。
First, the CPU 21a receives print data from the host computer 1 (1), determines whether the received character code 41 exists in the code area C31 to C35 of the font cache 23 (2), and if NO, the received character code 41. The portrait font pattern corresponding to code 41 is stored in the photo pattern storage section.
It is read from 27, a landscape font pattern is generated through the vertical / horizontal conversion unit 22, and is developed in the frame buffer 25 (3). Next, the printing frequency information 42 of the management table 24
Is updated (4) and the process ends.

一方、ステップ(2)の判断で、YESの場合は、フォン
トキャッシュ23から変換済みランドスケープフォントパ
ターンを読み取り、フレームバッファ25に展開し
(5)、処理を終了する。
On the other hand, if the judgment in step (2) is YES, the converted landscape font pattern is read from the font cache 23, expanded in the frame buffer 25 (5), and the process is terminated.

第7図はこの発明による印字頻度情報更新処理手順の一
例を示すフローチャートである。なお、(1)〜(4)
は各ステップを示す。
FIG. 7 is a flow chart showing an example of the printing frequency information update processing procedure according to the present invention. Note that (1) to (4)
Indicates each step.

まず、CPU21aは受信した文字コード41に対応する管理テ
ーブル24の格納位置を算出する(1)。次いで、算出さ
れた文字コード41に対応する印字頻度情報42が「11B
かどうかを判断し(2)、NOならば現在の印字頻度情報
42に「1」を加算し(3)、処理を終了する。
First, the CPU 21a calculates the storage position of the management table 24 corresponding to the received character code 41 (1). Next, the printing frequency information 42 corresponding to the calculated character code 41 is "11 B ".
Whether it is (2), if NO, the current print frequency information
"1" is added to 42 (3), and the process ends.

一方、ステップ(2)の判断で、YESの場合は対応する
文字コード41に対応する印字頻度情報42をそのままにし
て、他の文字コードに対応する印字頻度情報42から
「1」を減算し(4)、処理を終了する。なお、他の印
字頻度情報42が「00B」の場合には、減算を実行しな
い。
On the other hand, if YES in the determination in step (2), the printing frequency information 42 corresponding to the corresponding character code 41 is left as it is, and "1" is subtracted from the printing frequency information 42 corresponding to the other character code ( 4), the process ends. When the other print frequency information 42 is "00 B ", the subtraction is not executed.

なお、管理テーブル24の内容を不揮発性メモリ28に格納
するタイミングは特に言及していないが、一定時間経過
毎あるいは一定枚数印字終了毎に実行すれば、常に最新
の印字頻度情報42に従ったランドスケープフォント印字
処理を効率よく実行することが可能となる。
Although the timing of storing the contents of the management table 24 in the non-volatile memory 28 is not particularly mentioned, if it is executed every time a certain period of time elapses or every time the printing of a certain number of sheets is completed, the landscape always follows the latest print frequency information 42. It is possible to efficiently execute font printing processing.

なお、上記実施例ではポートレイトフォントパターンを
ランドスケープパターンに変換(縦横変換)するといっ
たフォントパターンを印字頻度情報42に従って処理する
場合について説明したが、縦横変換ばかりでなく、拡大
/縮小変換に適用して印字頻度情報42に従った拡大フォ
ントパターン展開処理を高速に実行することも可能であ
る。
In the above embodiment, the case where the font pattern such as the portrait font pattern is converted into the landscape pattern (vertical / horizontal conversion) is processed according to the print frequency information 42 has been described. It is also possible to execute the enlarged font pattern expansion processing according to the print frequency information 42 at high speed.

また、上記実施例では言語として日本語を印字する印刷
装置を例として説明したが、日本語以外の多数の文字セ
ットをサポートする中国語プリンタにもこの発明を適用
できる。
Further, in the above-described embodiment, the printing apparatus that prints Japanese as a language has been described as an example, but the present invention can be applied to a Chinese printer that supports a large number of character sets other than Japanese.

〔発明の効果〕〔The invention's effect〕

以上説明したように、この発明によれば、不揮発性メモ
リに更新記憶されたポートレイトフォントパターンの
内、選択手段により選択された印字頻度の高い上位所定
文字数分のポートレイトフォントパターンの文字コード
と前記フォントキャッシュに所定文字数分記憶されたラ
ンドスケープフォントパターンの文字コードとが不一致
であると判定手段が判定した場合に、キャッシュ制御手
段が不一致となる文字コードに対応するポートレイトフ
ォントパターンのランドスケープフォントパターンをフ
ォントキャッシュに順次書き込み、直前までの印字に基
づく印字頻度の高いポートレイトフォントパターンに対
応する文字コードに合致するようにランドスケープフォ
ントパターンがフォントキャッシュに生成するので、ラ
ンドスケープフォントパターンによる印字処理開始前
に、電源の入切状態に拘わらず、それまでにユーザが使
用していた頻度の高いポートレイトフォントパターンの
ランドスケープフォントパターンをフォントキャッシュ
にキャッシュしておくことができる。
As described above, according to the present invention, among the portrait font patterns updated and stored in the non-volatile memory, the character code of the portrait font pattern for the predetermined number of high-ranking characters having a high printing frequency selected by the selection unit and When the determining means determines that the character code of the landscape font pattern stored in the font cache for a predetermined number of characters does not match, the cache control means landscape font pattern of the portrait font pattern corresponding to the mismatching character code. Are sequentially written to the font cache, and the landscape font pattern is generated in the font cache so as to match the character code corresponding to the portrait font pattern that is frequently printed based on the previous printing. Before printing process started by the pattern, it can be cached regardless of on-off state of the power supply, the landscape font pattern of high portrait font patterns frequently the user has used so far in the font cache.

従って、安価な構成でユーザが使用していた使用頻度の
高いポートレイトフォントパターンの文字コードを不揮
発性メモリで管理して、直前使用されていたヒット率が
高いポートレイトフォントパターンのランドスケープフ
ォントパターンをフォントキャッシュにいつでも生成で
き、ランドスケープフォントパターンの印字を効率よく
行える等の効果を奏する。
Therefore, the character code of the frequently used portrait font pattern used by the user with an inexpensive configuration is managed in the non-volatile memory, and the landscape font pattern of the portrait font pattern used immediately before that has a high hit rate is used. It can be generated in the font cache at any time, and it has the effect of efficiently printing landscape font patterns.

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

第1図はこの発明の一実施例を示す印刷装置の一例を説
明するブロック図、第2図は、第1図に示したホストコ
ンピュータから入力される印字データの一例を説明する
図、第3図は、第1図に示したフォントキャッシュの構
成を説明する模式図、第4図は、第1図に示した管理テ
ーブル,不揮発メモリのデータ構造を説明する模式図、
第5図はこの発明による印字頻度情報ロード処理手順の
一例を説明するフローチャート、第6図はこの発明によ
るランドスケープ印字処理手順の一例を説明するフロー
チャート、第7図はこの発明による印字頻度情報更新処
理手順の一例を示すフローチャートである。 図中、1はホストコンピュータ、2はプリンタ部、21は
制御部、21aはCPU、21bはROM、21cはRAM、22は縦/横変
換部、23はフォントキャッシュ、24は管理テーブル、25
はフレームバッファ、26はドットプリンタ部、27はフォ
ントパターン格納部、28は不揮発性メモリである。
FIG. 1 is a block diagram illustrating an example of a printing apparatus according to an embodiment of the present invention, FIG. 2 is a diagram illustrating an example of print data input from the host computer illustrated in FIG. 1, and FIG. FIG. 4 is a schematic diagram for explaining the configuration of the font cache shown in FIG. 1, FIG. 4 is a schematic diagram for explaining the data structure of the management table and non-volatile memory shown in FIG.
FIG. 5 is a flowchart explaining an example of a printing frequency information loading processing procedure according to the present invention, FIG. 6 is a flowchart explaining an example of a landscape printing processing procedure according to the present invention, and FIG. 7 is a printing frequency information updating processing according to the present invention. It is a flowchart which shows an example of a procedure. In the figure, 1 is a host computer, 2 is a printer unit, 21 is a control unit, 21a is a CPU, 21b is a ROM, 21c is a RAM, 22 is a vertical / horizontal conversion unit, 23 is a font cache, 24 is a management table, 25
Is a frame buffer, 26 is a dot printer unit, 27 is a font pattern storage unit, and 28 is a non-volatile memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】フォントパターン記憶手段から読み出され
るポートレイトフォントパターンをランドスケープフォ
ントパターンに変換するパターン変換手段と、 このパターン変換手段により変換されたランドスケープ
フォントパターンを文字コードとともに所定文字数分記
憶するフォントキャッシュと、 ポートレイトフォントパターンの印字処理に応じて、印
字された各ポートレイトフォントパターンに対する文字
コードの印字頻度を更新して不揮発性メモリに記憶する
更新手段と、 前記不揮発性メモリに記憶された文字コードの内、印字
頻度の高い上位所定文字数分の文字コードを選択する選
択手段と、 前記選択手段で選択した所定文字数分の文字コードと前
記フォントキャッシュに所定文字数分記憶された文字コ
ードとが一致するかどうかを判定する判定手段と、 この判定手段が不一致と判定した場合に、不一致となる
文字コードに対応するポートレイトフォントパターンの
ランドスケープフォントパターンを前記パターン変換手
段を用いて生成し、前記フォントキャッシュに順次書き
込むキャッシュ制御手段と、 を具備したことを特徴とする印刷装置。
1. A pattern conversion means for converting a portrait font pattern read from a font pattern storage means into a landscape font pattern, and a font cache for storing the landscape font pattern converted by the pattern conversion means together with a character code for a predetermined number of characters. Updating means for updating the printing frequency of the character code for each printed portrait font pattern in accordance with the printing process of the portrait font pattern and storing it in the non-volatile memory; and the character stored in the non-volatile memory. Among the codes, the selection means for selecting the character code for the predetermined number of high-ranked characters with high printing frequency, the character code for the predetermined number of characters selected by the selection means, and the character code stored for the predetermined number of characters in the font cache match. Whether to do If the determination means determines whether or not there is a mismatch, the landscape font pattern of the portrait font pattern corresponding to the mismatched character code is generated using the pattern conversion means, and is stored in the font cache. A printing apparatus comprising: a cache control unit for sequentially writing.
JP63129480A 1988-05-10 1988-05-28 Printer Expired - Fee Related JPH07102719B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP63129480A JPH07102719B2 (en) 1988-05-28 1988-05-28 Printer
GB8910054A GB2218550B (en) 1988-05-10 1989-05-03 Printing apparatus
DE3915142A DE3915142C2 (en) 1988-05-10 1989-05-09 Printing device for printing in landscape or portrait format
FR8906056A FR2633753B1 (en) 1988-05-10 1989-05-09 PRINTING APPARATUS
US07/430,057 US5044790A (en) 1988-05-10 1989-10-31 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63129480A JPH07102719B2 (en) 1988-05-28 1988-05-28 Printer

Publications (2)

Publication Number Publication Date
JPH01299071A JPH01299071A (en) 1989-12-01
JPH07102719B2 true JPH07102719B2 (en) 1995-11-08

Family

ID=15010525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63129480A Expired - Fee Related JPH07102719B2 (en) 1988-05-10 1988-05-28 Printer

Country Status (1)

Country Link
JP (1) JPH07102719B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6197739A (en) * 1984-10-18 1986-05-16 Mitsubishi Electric Corp Printer external character processing method
JPS61148066A (en) * 1984-12-24 1986-07-05 Usac Electronics Ind Co Ltd Printer control processing system
JPH0688433B2 (en) * 1988-05-10 1994-11-09 キヤノン株式会社 Printer

Also Published As

Publication number Publication date
JPH01299071A (en) 1989-12-01

Similar Documents

Publication Publication Date Title
US5044790A (en) Printing apparatus
JPH0263763A (en) Printing apparatus
JPH07102719B2 (en) Printer
JPH0688433B2 (en) Printer
EP0292726B1 (en) Correction buffer
JP3218088B2 (en) Printer
JP2972211B2 (en) Character output control device and method
JP2997558B2 (en) Printer
JPH0434505B2 (en)
JPS59201870A (en) Printer
JPH03156668A (en) Document preparing device
JPH09166974A (en) Document processing device and cache functioning method
JPH0765591A (en) Information processing device
JP2525333B2 (en) Output device
JP2647510B2 (en) Character processing apparatus and method
JPH1044533A (en) Font cache
JPS61156192A (en) Input/output controller
JPS63242561A (en) Font reducing system
JPH0442322A (en) Document output device
JPH0768993A (en) Brush format forming system
JPH0477277A (en) Printing device
JPH06106795A (en) Printer
JPH04246570A (en) Printer
JPH06243133A (en) Document processor
JPS62257867A (en) Printer

Legal Events

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