JPH02225066A - Printing device - Google Patents

Printing device

Info

Publication number
JPH02225066A
JPH02225066A JP1043293A JP4329389A JPH02225066A JP H02225066 A JPH02225066 A JP H02225066A JP 1043293 A JP1043293 A JP 1043293A JP 4329389 A JP4329389 A JP 4329389A JP H02225066 A JPH02225066 A JP H02225066A
Authority
JP
Japan
Prior art keywords
printing
caching
print
pattern information
cache memory
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
JP1043293A
Other languages
Japanese (ja)
Inventor
Toshiya Mihashi
俊哉 三橋
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 JP1043293A priority Critical patent/JPH02225066A/en
Publication of JPH02225066A publication Critical patent/JPH02225066A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To make possible efficient printing by automatically setting a caching order for pattern information in advance during test printing and referring to the caching order during routine printing. CONSTITUTION:Print data is registered in a caching order control table 23 each time the data requiring caching is received from a host computer, if printing is performed in the draft mode. If the print data of a single page is completely developed, test printing is performed to print only a cell frame for characters. The registration of data in the table is completed at the same time as the output of print data from the host. In addition, the content of the caching order control table 23 is reexamined and the order is rearranged so that the best efficiency is obtained. If the routine printing mode is set, printing is performed by controlling the caching in accordance with the content of the caching order control table 23 prepared. Thus the routine printing results are achieved at high speed, and even a slight printing change can be responded to by changing the content of the caching order control table 23 simply.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は入力される印字情報に基づいて印字を行う印刷
装置に係り、特に試し印刷モード(以下ドラフトモード
とも言う)と通常印刷モードとを有する印刷装置に関す
るものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a printing device that performs printing based on input printing information, and particularly relates to a printing device that performs printing based on input printing information, and in particular, a printing device that has a trial printing mode (hereinafter also referred to as draft mode) and a normal printing mode. The present invention relates to a printing device having a printer.

[従来の技術] 従来、この種の印刷装置における試し印刷と通常印刷と
の違いは、印字される文字の品位の違いのみであった。
[Prior Art] Conventionally, the only difference between trial printing and normal printing in this type of printing apparatus was the difference in the quality of printed characters.

又、使用頻度の高い文字パターンをキャッシュメモリ等
にキャッシングする印刷装置では、既にその文字がキャ
ッシュメモリ上に登録されていない場合、印字される文
字情報が来る度に毎回キャッシングを行うような構成と
なっている。
Furthermore, in a printing device that caches frequently used character patterns in a cache memory, etc., if the character is not already registered in the cache memory, the printer is configured to cache it every time character information to be printed comes. It has become.

[発明が解決しようとしている課題] ところが、この種の印刷装置において、近年印字対象と
なる文字の種類(書体、大きさ、修飾方法1色等)が豊
富になるにつれて、印刷装置内でその文字パターン発生
のための時間とキャッシングのための記憶領域とがとも
に大きな負担となり、最終的な印刷結果を得るまでに多
大な時間を費やしてしまう場合が多くなって来た。
[Problems to be Solved by the Invention] However, in recent years, as the types of characters that can be printed in this type of printing device have become more diverse (font type, size, decoration method, single color, etc.), it has become difficult to Both the time required for pattern generation and the storage area required for caching become a large burden, and it has become common for a large amount of time to be spent until the final print result is obtained.

さらに、このような状況において得られた印刷結果にほ
んのわずかな変更を加えるような場合においても、やは
り同じように印刷結果を得るまでに時間を費やしてしま
う等の問題点があった。
Furthermore, even when making a slight change to the print result obtained in such a situation, there is still a problem in that it takes time to obtain the same print result.

本発明は、前記従来の欠点を除去し、キャッシュメモリ
の使用効率を向上させ、文字の展開回数(展開時間)を
最小限に押さえる印刷装置を提供する。
The present invention provides a printing device that eliminates the conventional drawbacks, improves cache memory usage efficiency, and minimizes the number of times characters are expanded (expanding time).

[課題を解決するための手段] この課題を解決するために、本発明の印刷装置は、入力
情報を対応するパターン情報に展開して、該パターン情
報をキャッシュメモリを使用しながら印刷する印刷装置
において、 前記パターン情報の一部を使って試し印刷を行う試し印
刷手段と、前記試し印刷中に、前記パターン情報のキャ
ッシングの優先順位を記憶するキャッシング順位記憶手
段と、通常印刷を行う際に、前記キャッシング順位記憶
手段に記憶された優先順位に従って展開された前記パタ
ーン情報を前記キャッシュメモリにキャッシングしなが
ら印刷を行う通常印刷手段とを備える。
[Means for Solving the Problem] In order to solve this problem, the printing device of the present invention is a printing device that expands input information into corresponding pattern information and prints the pattern information while using a cache memory. A trial printing means for performing trial printing using a part of the pattern information; a caching order storage means for storing a priority order of caching of the pattern information during the trial printing; and when performing normal printing, and normal printing means for printing while caching the pattern information developed in accordance with the priority order stored in the caching order storage means in the cache memory.

更に、前記キャッシング順位記憶手段は、キャッシュメ
モリの記憶容量と装置の印刷処理速度とに基づいて、キ
ャッシング順位を再評価する再評価手段を備える [作用] かかる構成において、試し印刷中にパターン情報のキャ
ッシング順位を前もって自動設定し、通常印刷時にその
キャッシング順位を参照することにより、従来より効率
の良い印刷を可能とするものである。
Further, the caching order storage means includes a re-evaluation means for re-evaluating the caching order based on the storage capacity of the cache memory and the print processing speed of the apparatus. By automatically setting the caching order in advance and referring to the caching order during normal printing, it is possible to print more efficiently than before.

又、キャッシング順位を、キャッシュメモリの記憶容量
や装置の印刷処理速度に基づいて再評価して、更に効率
を良くする。
In addition, the caching order is re-evaluated based on the storage capacity of the cache memory and the print processing speed of the device to further improve efficiency.

[実施例] 第1図は本実施例の印刷装置の構成を示すブロック図で
ある。
[Embodiment] FIG. 1 is a block diagram showing the configuration of a printing apparatus of this embodiment.

1はホストコンピュータで、プリントデータおよび制御
コードからなる印字情報をプリンタ装置2に出力する。
A host computer 1 outputs print information consisting of print data and control codes to the printer device 2 .

プリンタ装置2は、制御部21、キャッシュメモリ22
.キャッシング順序管理用テーブル23.プリンタ部2
4等から構成される。制御部21は、さらにキャッシン
グ制御処理部211.通常印字処理部212.試し印字
処理部213等の各種処理部を含む、キャッシング制御
処理部211では、以下に詳細に説明するように所定手
順でキャッシング順序を制御し、その結果をキャッシン
グ順序管理用テーブル23に格納する。また、実際にキ
ャッシングされる文字パターン情報はキャッシングメモ
リ22に格納される。プリンタ部24は現在選択されて
いる印刷モードに従って、通常印字処理部212あるい
は試し印字処理部213の制御により、印字情報を記録
紙に永久可視画像形成させるための印字機構部を備えて
いる。
The printer device 2 includes a control unit 21 and a cache memory 22.
.. Caching order management table 23. Printer section 2
Consists of 4th grade. The control unit 21 further includes a caching control processing unit 211. Normal print processing section 212. The caching control processing unit 211, which includes various processing units such as the trial print processing unit 213, controls the caching order according to a predetermined procedure as described in detail below, and stores the results in the caching order management table 23. Furthermore, character pattern information that is actually cached is stored in the caching memory 22. The printer section 24 includes a printing mechanism section for forming a permanent visible image of print information on recording paper under the control of the normal printing processing section 212 or the trial printing processing section 213 according to the currently selected printing mode.

第2A図にキャッシング順序管理用テーブル23の構造
を示す。例えば、第2B図のような原稿を印刷する場合
には、このテーブルには次のような値がセットされる。
FIG. 2A shows the structure of the caching order management table 23. For example, when printing a document as shown in FIG. 2B, the following values are set in this table.

文字コード部にはその文字固有のコード。The character code section contains a code specific to that character.

開始位置にはその文字がそのページ内で何番目に現われ
るかが入り、終了位置にはその文字が最後に使われた位
置を記憶する(説明のため、第2B図では文字の上に位
置の番号を記入しである)、使用頻度はその文字がその
ページ内で何回使われたかを記憶する。キャッシュメモ
リ・アドレスにはキャッシュメモリ22内のパターン情
報が記憶されている開始アドレスが入る。
The start position stores the number in which the character appears on the page, and the end position stores the position where the character was last used. Enter the number) and Frequency remembers how many times that character is used on the page. The cache memory address contains the start address at which pattern information in the cache memory 22 is stored.

パターンサイズには、その文字のパターンサイズが入る
0以上の値は、試し印刷処理中に順次、キャッシング順
序管理用テーブル23に登録されて行くことになる。
In the pattern size, values of 0 or more, which include the pattern size of the character, are sequentially registered in the caching order management table 23 during the trial printing process.

次に、第3図の本実施例の印刷装置の印刷処理手順の一
例を説明するフローチャートを参照しながら、印刷処理
について説明する。
Next, the printing process will be described with reference to a flowchart illustrating an example of the printing process procedure of the printing apparatus of this embodiment shown in FIG.

まず、ステップS1で印刷モードの判別を行う。印刷モ
ードがドラフト・モードであった場合は、キャッシング
が必要な印字データをホストから受信するごとに、ステ
ップS2でキャッシング順序管理用テニブル23にその
情報を第2A図のように登録していく、1ペ一ジ分の印
字データを展開し終ったら、ステップS3で試し印刷処
理を実行する。これにより、第4A図に示すような印字
がなされる。第4A図は、パターン情報の一部の情報と
して文字のセル幅。
First, in step S1, a print mode is determined. If the print mode is the draft mode, each time print data that requires caching is received from the host, the information is registered in the caching order management table 23 as shown in FIG. 2A in step S2. When the printing data for one page has been developed, a trial printing process is executed in step S3. This results in printing as shown in FIG. 4A. FIG. 4A shows the cell width of a character as part of the pattern information.

セル高を使い、文字のセル枠のみを印字したものである
。出力と同時にステップS4でテーブルへの登録を終了
する。この後、ステップS5でドラフト・干−ドの試し
印刷で満足のいくレイアウトが得られたか否かにより、
ステップS2に戻って、ステップ82〜S5を繰り返す
This uses cell height and prints only the cell frame of the text. At the same time as the output, the registration in the table ends in step S4. After this, in step S5, depending on whether a satisfactory layout has been obtained in draft/dry trial printing,
Returning to step S2, steps 82 to S5 are repeated.

満足のいくレイアウトが得られたならば、ステップS6
でキャッシング順序管理用テーブル23の内容をふり返
り、最も効率が良くなるようにキャッシング順序の並び
変えを行う、ここで、キャッシング順序管理用テーブル
23の最適化処理とは、最も効率の良いキャッシング順
序を求めるための処理であり、この処理の結果、キャッ
シング順序管理用テーブル23の優先順位の欄の最適な
値が決定する。
If a satisfactory layout is obtained, step S6
The contents of the caching order management table 23 are reviewed and the caching order is rearranged to be most efficient. As a result of this process, the optimum value in the priority column of the caching order management table 23 is determined.

この処理においては、以下の優先度が高い順に列記した
条件について検討される。
In this process, the following conditions listed in descending order of priority are considered.

■使用頻度の多い文字はど優先される。■Characters that are used frequently are given priority.

■開始位置の番号の若いものほど優先される。■The smaller the start position number, the higher the priority.

■サイズが大きな文字は展開時間も長いので、キャッシ
ング効果が大きいため、パターンサイズの大きなものを
優先する。
■Large characters take a long time to develop, so give priority to large pattern sizes, as they have a large caching effect.

さらに、キャッシュメモリ22の容量が足りなくなった
ときは、次の条件も考慮される。
Furthermore, when the capacity of the cache memory 22 becomes insufficient, the following conditions are also taken into consideration.

■現在の印字位置とキャッシング順序管理用テーブル2
3の終了位置を比較し、既に使われたものであれば、キ
ャッシング順序管理用テーブル23とキャッシュメモリ
22とからそのパターンを削除する。
■Current print position and caching order management table 2
3, and if the pattern has already been used, that pattern is deleted from the caching order management table 23 and the cache memory 22.

以上の条件による処理の結果、ステップS6の終了時に
は、キャッシュメモリ22の最適使用(容量あるいは装
置の処理速度)が行えるように、キャッシング順序管理
用テーブル23が確定される。
As a result of the processing under the above conditions, at the end of step S6, the caching order management table 23 is determined so that the cache memory 22 can be used optimally (capacity or processing speed of the device).

ここで、印刷モードはドラフト・モードから通常印刷モ
ードに変更される0通常印刷モードでは、ステップS1
からステップS7に進んで、ステップ87〜S9で先に
作成されたキャッシング順序管理用テーブル23の内容
に従ってキャッシング制御が行なわれ、通常の印字を行
う。
Here, the print mode is changed from draft mode to normal print mode.0 In normal print mode, step S1
The process then proceeds to step S7, where caching control is performed according to the contents of the caching order management table 23 previously created in steps 87 to S9, and normal printing is performed.

すなわち、ドラフト・モードの印刷処理時に既にキャッ
シング順序管理用テーブル23が確定しているため、通
常印刷時にはキャッシング順序管理用テーブル23を参
照してパターン情報をキャッシュメモリ22に記憶する
か否かの決定すればよい。
That is, since the caching order management table 23 has already been determined during print processing in draft mode, the caching order management table 23 is referred to during normal printing to determine whether or not to store pattern information in the cache memory 22. do it.

これにより、第4B図に示すような通常の印字結果が、
従来よりより高速に得られるものである。又、わずかな
変更の場合にも、キャッシング順序管理用テーブル23
の簡単な変更で実現出来るため、余分な時間を費やす必
要がない。
As a result, the normal printing result as shown in Fig. 4B is
This can be achieved faster than before. In addition, even in the case of a slight change, the caching order management table 23
This can be achieved with a simple change, so there is no need to spend extra time.

尚、上記実施例では、文字パターン情報についてのキャ
ッシングを行う場合について説明したが、図形描画情報
に関するものであっても良い。
In the above embodiment, a case has been described in which caching is performed regarding character pattern information, but caching may be performed regarding graphic drawing information.

この際キャッシング順序管理用テーブル23で管理され
るものは、図形の描画順序であったりすることも可能で
ある。
At this time, what is managed by the caching order management table 23 may also be the drawing order of figures.

以上説明したように、本実施例の印刷装置においては、
キャッシングの最適制御が可能となると共に、メモリの
使用効率も向上する。さらに、煩雑なレイアウトの印字
データであっても、短時間でレイアウト調整が行え、最
終的に通常印字を行う際もあらかじめ求めた最適なキャ
ッシング順序に従うので短時間で効率よく印字できる優
れた効果を奏する。
As explained above, in the printing apparatus of this embodiment,
Optimum control of caching becomes possible, and memory usage efficiency also improves. Furthermore, even if the printing data has a complicated layout, the layout can be adjusted in a short time, and even when performing normal printing, the optimum caching order determined in advance is followed, resulting in an excellent effect of printing efficiently in a short time. play.

[発明の効果] 本発明により、キャッシュメモリの使用効率を向上させ
、文字の展開回数(展開時間)を最小限に押さえる印刷
装置を提供できる。
[Effects of the Invention] According to the present invention, it is possible to provide a printing device that improves cache memory usage efficiency and minimizes the number of character expansions (development time).

詳細には、試し印刷処理のときに、あらかじめ使われる
文字の使用範囲と使用頻度の情報を求めてしまうので、
キャッシュメモリに不必要な文字を格納せずにすむので
、メモリの使用効率が向上する。
In detail, during the trial printing process, information on the usage range and usage frequency of the characters used is required in advance.
Since unnecessary characters do not need to be stored in the cache memory, memory usage efficiency is improved.

また、使用頻度の高い文字はど優先的にキャッシュメモ
リに残しておくので、文字の展開回数(展開時間)も最
小限に押さえられる。
Furthermore, since frequently used characters are preferentially left in the cache memory, the number of character expansions (expansion time) can be kept to a minimum.

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

第1図は本実施例の印刷装置の構成を示すブロック図、 第2A図は本実施例のキャッシング順序管理用テーブル
の構造例を示す図、 第2B図は第2A図のキャッシング順序管理用テーブル
の内容に対応する印刷原稿例を示す図、第3図はこの発
明による印刷処理手順の一例を説明するフローチャート
、 第4A図は本実施例の印刷装置のドラフト・モードにお
ける印字出力の一例を説明する模式第4B図は本実施例
の印刷装置の通常印刷モードにおける印字出力の一例を
説明する模式図である。 図中、1・・・ホストコンピュータ、2・・・プリンタ
装置、21・・・制御部、22・・・キャッシュメモリ
、23・・・キャッシング順序管理用テーブル、24・
・・プリンタ部、211・・・キャッシング制御処理部
、212・・・通常印字処理部、213・・・試し印字
処理部である。 第2A図 第2B図 第3図
FIG. 1 is a block diagram showing the configuration of the printing device of this embodiment, FIG. 2A is a diagram showing an example of the structure of the caching order management table of this embodiment, and FIG. 2B is the caching order management table of FIG. 2A. FIG. 3 is a flowchart illustrating an example of a print processing procedure according to the present invention, and FIG. 4A is an example of print output in draft mode of the printing apparatus of this embodiment. FIG. 4B is a schematic diagram illustrating an example of print output in the normal print mode of the printing apparatus of this embodiment. In the figure, 1... host computer, 2... printer device, 21... control unit, 22... cache memory, 23... caching order management table, 24...
...printer section, 211...caching control processing section, 212...normal print processing section, 213...trial print processing section. Figure 2A Figure 2B Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)入力情報を対応するパターン情報に展開して、該
パターン情報をキャッシュメモリを使用しながら印刷す
る印刷装置において、 前記パターン情報の一部を使つて試し印刷を行う試し印
刷手段と、 前記試し印刷中に、前記パターン情報のキヤッシングの
優先順位を記憶するキヤッシング順位記憶手段と、 通常印刷を行う際に、前記キヤッシング順位記憶手段に
記憶された優先順位に従つて展開された前記パターン情
報を前記キャッシュメモリにキヤッシングしながら印刷
を行う通常印刷手段とを備えることを特徴とする印刷装
置。
(1) In a printing device that develops input information into corresponding pattern information and prints the pattern information while using a cache memory, a trial printing unit that performs trial printing using a part of the pattern information; caching order storage means for storing the caching priority order of the pattern information during trial printing; and caching order storage means for storing the caching priority order of the pattern information during normal printing; A printing device characterized by comprising: a normal printing unit that performs printing while caching to the cache memory.
(2)前記キヤッシング順位記憶手段は、キャッシュメ
モリの記憶容量と装置の印刷処理速度とに基づいて、キ
ヤッシング順位を再評価する再評価手段を備えることを
特徴とする請求項1記載の印刷装置。
(2) The printing apparatus according to claim 1, wherein the caching ranking storage means includes re-evaluation means for re-evaluating the caching ranking based on the storage capacity of the cache memory and the print processing speed of the apparatus.
JP1043293A 1989-02-27 1989-02-27 Printing device Pending JPH02225066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1043293A JPH02225066A (en) 1989-02-27 1989-02-27 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1043293A JPH02225066A (en) 1989-02-27 1989-02-27 Printing device

Publications (1)

Publication Number Publication Date
JPH02225066A true JPH02225066A (en) 1990-09-07

Family

ID=12659747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1043293A Pending JPH02225066A (en) 1989-02-27 1989-02-27 Printing device

Country Status (1)

Country Link
JP (1) JPH02225066A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252456A (en) * 2005-03-14 2006-09-21 Ricoh Co Ltd Image forming system and image forming method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252456A (en) * 2005-03-14 2006-09-21 Ricoh Co Ltd Image forming system and image forming method

Similar Documents

Publication Publication Date Title
JPS60141076A (en) Control system of printer
JPH02225066A (en) Printing device
JPH01208141A (en) Printing control apparatus
JPH01190465A (en) Character output device by utilizing vector font reproduction
JPS6189861A (en) Printing controller
JP2710131B2 (en) Character processing apparatus and method
JPS63242561A (en) Font reducing system
JPH0325495A (en) Printer
JP2647510B2 (en) Character processing apparatus and method
JPH10119357A (en) Combination character printer
JPH08216475A (en) Printer
JPH04146166A (en) Image feeder
JPS61148065A (en) Control of input and output of recording information
JPH058454A (en) Bar code printer
JPH0570856B2 (en)
JPH02238515A (en) Recording device
JPH06149208A (en) Character generating device
JPH06270496A (en) Document forming apparatus
JPH04269565A (en) Document preparing device
JPH02238965A (en) Recorder
JPH02233269A (en) Printer
JPH08241311A (en) Document processor
JPH03126992A (en) Font controller
JPH08197807A (en) Printer and multiple column printing method thereof
JPH0524258A (en) Printing method