JPH09164729A - Page printer and control method therefor - Google Patents

Page printer and control method therefor

Info

Publication number
JPH09164729A
JPH09164729A JP7324774A JP32477495A JPH09164729A JP H09164729 A JPH09164729 A JP H09164729A JP 7324774 A JP7324774 A JP 7324774A JP 32477495 A JP32477495 A JP 32477495A JP H09164729 A JPH09164729 A JP H09164729A
Authority
JP
Japan
Prior art keywords
memory
bitmap
stored
page
bit map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7324774A
Other languages
Japanese (ja)
Other versions
JP3591096B2 (en
Inventor
Masahiro Nishihara
雅宏 西原
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP32477495A priority Critical patent/JP3591096B2/en
Publication of JPH09164729A publication Critical patent/JPH09164729A/en
Application granted granted Critical
Publication of JP3591096B2 publication Critical patent/JP3591096B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To attempt the reduction of a required capacity of a memory and prevent occurrence of an error of a memory-full condition by a method wherein a bit map block memory is provided corresponding to each of plural regions that form a page and a signal indicative of whether a bit map of the corresponding region is stored or not is stored in each bit map block memory. SOLUTION: Each of bit map block memories 32, 34... is provided corresponding to each of plural regions 42, 44... that form one print page 40. A control memory 26 that stores a signal indicative of whether the bit map of the corresponding region 42, 44... is stored or not is provided to each of the bit map block memories 32, 34.... A page description code in a receiving buffer 22 is developed by a CPU 14 in accordance with a procedure in a ROM 16 to be stored in the bit map block memory 32, 34 corresponding to the region. The signal of the using condition is stored in the control memory 26. When a work memory 24 is in a memory-full condition, the bit map block memory 32, 34... of which managing memory dose not store the signal is used as a work memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ページプリンタに
おいて、必要なメモリ容量を減少させる技術、あるい
は、メモリ容量を増加させることなくメモリフルエラー
の発生頻度を減少させる技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for reducing a required memory capacity in a page printer, or a technique for reducing the frequency of occurrence of a memory full error without increasing the memory capacity.

【0002】[0002]

【従来の技術】通常のページプリンタは1ページ分のビ
ットマップメモリを備え、そのビットマップメモリに記
憶されているビットマップに基づいて印刷手段を制御し
て1ページの所望の印刷を実行する。ここでビットマッ
プはページ内の画素毎に1ビットの信号を持ち、その画
素に対する印刷の有無を示すデータの並びをいう。近年
高画質化の要望から画素数が多くなり、ビットマップメ
モリの必要容量も大容量化している。
2. Description of the Related Art An ordinary page printer has a bit map memory for one page, and controls printing means based on a bit map stored in the bit map memory to execute desired printing of one page. Here, the bit map has a 1-bit signal for each pixel in the page, and is an array of data indicating the presence or absence of printing for that pixel. In recent years, the number of pixels has increased due to the demand for higher image quality, and the required capacity of the bitmap memory has also increased.

【0003】ページプリンタが機能するためには、その
記憶手段のなかにビットマップメモリを確保する他、ホ
ストコンピュータ(プリンタに印刷させるためのデータ
を生成するコンピュータをいう)から送られる頁記述コ
ードを記憶するエリアや、その頁記述コードをビットマ
ップに展開する処理に用いるワークメモリをも確保しな
ければならず、ビットマップメモリの必要容量が大容量
化すると、それだけ他の処理のための記憶容量が減少
し、メモリフルエラーが発生し易くなる。特に、グラフ
ィクスを含む頁記述コードのデータ長は、ホストコンピ
ュータを使用するオペレータがどれほど複雑な画面を作
成するかによって変化し、それがために必要なワークエ
リアの容量も変化する。このためにプリンタの生産段階
では、標準的な画面の複雑度を想定して必要容量を推定
し、それに若干の猶余をもたせているものの、設計時に
想定したよりも必要容量が多くなる画面が作成されると
メモリフルエラーの発生が避けられない。これを避ける
ためには大容量の記憶手段を用いざるを得なくなるが、
そうするとプリンタの生産コストが増大してしまう。
In order for the page printer to function, a bit map memory is secured in its storage means, and a page description code sent from a host computer (which is a computer that generates data to be printed by the printer) is stored. It is necessary to secure a storage area and a work memory used for processing the page description code into a bitmap. If the required capacity of the bitmap memory increases, the storage capacity for other processing will increase. Is reduced, and a memory full error is likely to occur. In particular, the data length of the page description code including graphics changes depending on how complicated the operator who uses the host computer creates a screen, and the capacity of the work area required for that also changes. For this reason, at the printer production stage, the required capacity is estimated by assuming the standard screen complexity and a slight margin is added to it, but there are screens that require more capacity than expected at the time of design. Once created, a memory full error will occur. In order to avoid this, there is no choice but to use a large-capacity storage means.
This increases the production cost of the printer.

【0004】[0004]

【発明が解決しようとする課題】そこで本発明では、限
られた容量のメモリを有効に活用し、必要なメモリ容量
を減少させるか、あるいは同一のメモリ容量でありなが
らメモリフルエラーが発生しにくくする技術を実現す
る。
Therefore, in the present invention, a memory having a limited capacity is effectively used to reduce the required memory capacity, or a memory full error is less likely to occur even though the memory capacity is the same. Realize the technology to do.

【0005】[0005]

【課題を解決するための手段】本発明の一つの手段で
は、1ページ分のビットマップメモリを有するページプ
リンタにおいて、1ページを構成する複数個の領域のそ
れぞれの領域ごとに対応するビットマップブロックメモ
リを設けるとともに、各ビットマップブロックメモリ毎
に、対応する領域のビットマップを記憶したか否かを示
す信号を記憶しておく管理メモリを設ける。
According to one means of the present invention, in a page printer having a bit map memory for one page, a bit map block corresponding to each of a plurality of areas forming one page. A memory is provided, and a management memory for storing a signal indicating whether or not the bitmap of the corresponding area is stored is provided for each bitmap block memory.

【0006】1ページを構成する複数個の領域のそれぞ
れに対応してビットマップブロックメモリを設ける場
合、複数個のビットマップブロックメモリの総記憶容量
は1ページ分のビットマップメモリの必要容量に等し
い。ところが、画面によっては、その領域のうちの1つ
または複数個に対しては印刷処理を必要としない画面が
存在し、そのような場合、その領域に対するビットマッ
プブロックメモリは使用されない。この手段の場合、管
理メモリに各ビットマップブロックメモリ毎にビットマ
ップが記憶されているか否かが記憶されているために、
この管理メモリによってビットマップメモリとして不必
要なブロックメモリが特定され、このブロックメモリを
他の処理のために使用できる。このようにして本手段に
よると、メモリフルエラーの発生頻度が減少される。こ
の結果、メモリフルエラーの発生を防止するために高価
な大容量の記憶手段を用いる必要が低減され、安価でメ
モリフルエラーの発生し難いプリンタを得ることができ
る。
When a bitmap block memory is provided for each of a plurality of areas forming one page, the total storage capacity of the plurality of bitmap block memories is equal to the required capacity of the bitmap memory for one page. . However, depending on the screen, there is a screen that does not require print processing for one or more of the areas, and in such a case, the bitmap block memory for that area is not used. In the case of this means, since the management memory stores whether or not a bitmap is stored for each bitmap block memory,
By this management memory, an unnecessary block memory is specified as a bitmap memory, and this block memory can be used for other processing. Thus, according to this means, the frequency of occurrence of memory full error is reduced. As a result, the need for using an expensive large-capacity storage means to prevent the occurrence of a memory full error is reduced, and an inexpensive printer in which a memory full error does not easily occur can be obtained.

【0007】本発明の他の一つの手段は、1ページ分の
ビットマップメモリを有するページプリンタの制御方法
において、ページ内の一部領域に対するビットマップを
その領域に対応するビットマップブロックメモリに記憶
し、そのビットマップブロックメモリの使用状態を示す
信号を対応する管理メモリに記憶し、印刷時に、管理メ
モリに使用状態を示す信号が記憶されているビットマッ
プブロックメモリに記憶されているビットマップに基づ
いて印刷することを特徴とする。この方法によると、印
刷処理の必要とされない領域に対応するビットマップブ
ロックメモリを、他の処理のために使用しても、他の処
理のためにそのビットマップブロックメモリに記憶され
たデータに基づいた印刷が実行されず、所望の印刷が実
行される。この方法によると、限られた記憶容量のなか
でメモリフルエラーの発生を低減し、高価な大記憶容量
の記憶手段に対する必要性を低下できる。
According to another aspect of the present invention, in a method of controlling a page printer having a bit map memory for one page, a bit map for a partial area in a page is stored in a bit map block memory corresponding to the area. Then, the signal indicating the usage status of the bitmap block memory is stored in the corresponding management memory, and at the time of printing, the bitmap indicating the usage status signal is stored in the management memory is stored in the bitmap stored in the bitmap memory. It is characterized by printing based on. According to this method, even if the bitmap block memory corresponding to the area where the printing process is not required is used for other processing, it is based on the data stored in the bitmap block memory for other processing. The desired printing is performed without performing the desired printing. According to this method, it is possible to reduce the occurrence of a memory full error in a limited storage capacity and reduce the need for an expensive storage means with a large storage capacity.

【0008】本発明のさらに他の一つの手段は、頁記述
コードをビットマップに展開する処理に用いられるワー
クメモリと、展開されたビットマップを記憶するビット
マップメモリとを有するページプリンタの制御方法にお
いて、1ページを構成する複数個の領域についてそれぞ
れの領域毎にビットマップに展開し、展開されたビット
マップをその領域に対応するビットマップブロックメモ
リに記憶し、そのビットマップブロックメモリの使用状
態を示す信号を対応する管理メモリに記憶し、ワークメ
モリのメモリフル時に、前記管理メモリに使用状態を示
す信号が記憶されていないビットマップブロックメモリ
をワークメモリとして使用することを特徴とする。
Yet another means of the present invention is a method of controlling a page printer having a work memory used for expanding a page description code into a bitmap and a bitmap memory for storing the expanded bitmap. In, a plurality of areas constituting one page are expanded into bitmaps for each area, the expanded bitmaps are stored in the bitmap block memory corresponding to the area, and the usage status of the bitmap block memory Is stored in the corresponding management memory, and when the work memory is full, the bit map block memory in which the signal indicating the usage state is not stored in the management memory is used as the work memory.

【0009】この方法によると、印刷処理の必要とされ
ない領域に対応するビットマップブロックメモリを用い
て、ビットマップの展開処理が実行でき、仮にブロック
分割しないでビットマップメモリを使用すればメモリフ
ルエラーが発生する場合にもメモリフルエラーの発生を
防止しつつ、ビットマップへの展開処理を継続すること
ができる。この方法によると、限られた記憶容量のなか
でメモリフルエラーの発生を低減することができる。換
言すると、メモリフルエラーの発生頻度を減少するため
に、大容量の記憶手段を使用する必要性を低減すること
ができる。
According to this method, the bit map expansion processing can be executed by using the bit map block memory corresponding to the area where the print processing is not required, and if the bit map memory is used without dividing into blocks, a memory full error occurs. Even when the error occurs, the expansion processing to the bitmap can be continued while preventing the occurrence of the memory full error. According to this method, it is possible to reduce the occurrence of a memory full error in a limited storage capacity. In other words, it is possible to reduce the need to use a large-capacity storage means in order to reduce the frequency of occurrence of a memory full error.

【0010】[0010]

【発明の実施の形態】この発明の好ましい実施の形態と
しては、図1に例示するように、頁記述コードを記憶す
る受信バッファ22と、その頁記述コードをビットマッ
プに展開する処理手順を記憶しておくROM16と、そ
の手順に基づいて処理を実行するCPU14と、その手
順に基づいた処理を実行する際にデータを一時的に記憶
するために用いられるワークメモリ24と、展開された
ビットマップを記憶するビットマップメモリ28とを有
するページプリンタ10において、1ページ40を構成
する複数個の領域42,44…ごとにビットマップブロ
ックメモリ32,34…を設け、各ビットマップブロッ
クメモリ32,34…毎に、対応する領域42,44…
のビットマップを記憶したか否かを示す信号を記憶して
おく管理メモリ26を設け、受信バッファ22内の頁記
述コードをROM16の手順に従ってCPU14がビッ
トマップに展開し、展開されたビットマップをその領域
に対応するビットマップブロックメモリ32,34…に
記憶する際に、そのビットマップブロックメモリに対応
する管理メモリ26に使用状態を示す信号を記憶し、ワ
ークメモリ24のメモリフル時には、前記管理メモリ2
6に使用状態を示す信号が記憶されていないビットマッ
プブロックメモリ(32,34…のうちの1つか2以
上)を拡張されたワークメモリとして使用し、印刷時に
は、管理メモリ26に使用状態を示す信号が記憶されて
いるビットマップブロックメモリに記憶されているビッ
トマップに基づいて印刷手段18を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS As a preferred embodiment of the present invention, as illustrated in FIG. 1, a reception buffer 22 for storing a page description code and a processing procedure for expanding the page description code into a bit map are stored. ROM 16 stored therein, CPU 14 that executes processing based on the procedure, work memory 24 that is used to temporarily store data when executing processing based on the procedure, and expanded bitmap In the page printer 10 having the bit map memory 28 for storing the bit map memory 28, the bit map block memories 32, 34 ... Are provided for each of the plurality of areas 42, 44. ..., corresponding areas 42, 44 ...
A management memory 26 for storing a signal indicating whether or not the bitmap of is stored is provided, the CPU 14 expands the page description code in the reception buffer 22 into the bitmap according to the procedure of the ROM 16, and the expanded bitmap is stored. When storing in the bitmap block memories 32, 34, ... Corresponding to the area, a signal indicating the use state is stored in the management memory 26 corresponding to the bitmap block memory, and when the work memory 24 is full, the management is performed. Memory 2
A bit map block memory (one or more of 32, 34 ...) In which a signal indicating a use state is not stored in 6 is used as an extended work memory, and the use state is indicated in the management memory 26 at the time of printing. The printing unit 18 is controlled based on the bitmap stored in the bitmap block memory in which the signal is stored.

【0011】なおここでいう印刷手段18は印字ヘッド
や印字ヘッドを左右動させる機構や用紙送り機構等で構
成され、直接的に印刷処理に寄与する手段を総称する。
これは印刷処理中、ROM16に記憶されている手順
と、ビットマップメモリ28に記憶されているビットマ
ップに基づいて、CPU14によって制御される。なお
RAM20は1つの素子で構成される必要はなく、物理
的には複数個の素子で構成されてもよい。またこの発明
は単色プリンタのみならず、カラープリンタに具現化す
ることが可能である。特に、各色毎にビットマップメモ
リを持つ形式のカラープリンタには各色ごとにこの発明
を適用することができる。
The printing means 18 mentioned here is a general term for means which directly comprises a print head, a mechanism for moving the print head left and right, a paper feed mechanism, etc., and which directly contributes to the printing process.
This is controlled by the CPU 14 during the printing process based on the procedure stored in the ROM 16 and the bitmap stored in the bitmap memory 28. The RAM 20 does not have to be composed of one element, but may be physically composed of a plurality of elements. The present invention can be embodied not only in a monochrome printer but also in a color printer. In particular, the present invention can be applied to each color in a color printer having a bitmap memory for each color.

【0012】[0012]

【実施例】次に本発明を具現化した一実施例について例
示する。以下の実施例では、図2に示すページ40を印
刷する場合を例にして説明を進める。また図2に示すよ
うに1頁を4つの領域42,44,46,48に分割
し、各領域42,44,46,48ごとにビットマップ
ブロックメモリ32,34,36,38を設けた例を示
す。なお頁を分割する数は2以上であればよい。
Next, an embodiment of the present invention will be illustrated. In the following embodiments, the case of printing the page 40 shown in FIG. 2 will be described as an example. Further, as shown in FIG. 2, one page is divided into four areas 42, 44, 46 and 48, and bit map block memories 32, 34, 36 and 38 are provided for the respective areas 42, 44, 46 and 48. Indicates. The number of pages to be divided may be two or more.

【0013】各ビットマップブロックメモリ32,3
4,36,38は各領域42,44,46,48の画素
数に等しいビット数を有している。この実施例の場合、
1頁が2481×3508の画素で構成される例を示
し、各領域42,44,46,48の面積が等しいため
に、各ビットマップブロックメモリ32,34,36,
38は2481×3508/4ビットの容量となってい
る。ビットマップメモリ内の特定アドレスは、ページ4
0内の特定画素に対応し、そのアドレスのデータによっ
てその特定画素に対する印刷の有無が制御される。図2
の場合、ページ40内に2つの円52,54が印刷され
る場合を例示している。
Each bitmap block memory 32, 3
4, 36 and 38 have the same number of bits as the number of pixels in each of the areas 42, 44, 46 and 48. In this example,
An example in which one page is composed of 2481 × 3508 pixels is shown. Since the areas of the regions 42, 44, 46, 48 are equal, the bitmap block memories 32, 34, 36,
38 has a capacity of 2481 × 3508/4 bits. The specific address in the bitmap memory is page 4
Corresponding to a specific pixel within 0, the presence or absence of printing for that specific pixel is controlled by the data of the address. FIG.
In the case of, the case where two circles 52 and 54 are printed in the page 40 is illustrated.

【0014】図3は、ホストコンピュータ8から送られ
て受信バッファ22内に記憶される頁記述コードの内容
を模式的に示しており、各図形の位置と形状等、印刷画
面を定義するのに必要な情報を少ない記憶容量で含んで
いる。この頁記述コードは、ホストコンピュータ8を使
用するオペレータにとって記述し易いコードであり、デ
ータ容量が少ない反面、そのままでは印刷手段18の制
御が困難である。印刷手段18を最終的に制御するに
は、ビットマップが必要とされる。ホストコンピュータ
8から送られてくる頁記述コードは、インターフェイス
12を介して、受信バッファ22に一旦記憶される。
FIG. 3 schematically shows the contents of the page description code sent from the host computer 8 and stored in the reception buffer 22, and is used to define the print screen such as the position and shape of each figure. It contains necessary information with a small storage capacity. This page description code is a code that is easy to describe for an operator who uses the host computer 8, and has a small data capacity, but it is difficult to control the printing means 18 as it is. A bitmap is needed to finally control the printing means 18. The page description code sent from the host computer 8 is temporarily stored in the reception buffer 22 via the interface 12.

【0015】受信バッファ22に所定量の頁記述コード
が入力されると、CPU14はROM16のプログラム
(手順)に基づいて、頁記述コードで記述される図面に
対応するビットマップを演算する。以後これをビットマ
ップに展開するという。この展開処理では、例示の場
合、中心座標を(2000,2250)にもつ半径25
0の円を描くためには、どこの画素に対して印刷するか
といった幾何学的演算を行なう。また頁記述コードの一
部が文字コードであれば、予め用意されているその文字
コードに対応するフォントROM(ROM16内に設け
られている)内のビットマップを検索し、それをビット
マップメモリ28にコピーする処理を行なう。
When a predetermined amount of page description code is input to the reception buffer 22, the CPU 14 calculates the bit map corresponding to the drawing described by the page description code based on the program (procedure) of the ROM 16. After that, this will be expanded into a bitmap. In this expansion processing, in the case of the example, a radius of 25 with the center coordinate at (2000, 2250)
In order to draw a circle of 0, a geometric operation such as which pixel to print is performed. If a part of the page description code is a character code, a bitmap in a font ROM (provided in the ROM 16) corresponding to the character code prepared in advance is searched and the bitmap is stored in the bitmap memory 28. The process of copying to.

【0016】図4(A) は、中心座標を(2000,22
50)にもつ半径250の円を描くための頁記述コード
をビットマップメモリ28に展開した様子を模式的に示
す。なおビットマップメモリ28は、対応するアドレス
のデータを対応する画素の空間位置に合わせて図示し、
黒色はその画素に対する印刷を実現するデータに対応
し、白色はその画素に対する印刷を実行しないデータに
対応するように図示されている。ビットマップに展開す
る前においては、管理エリア26には、未使用ないしビ
ットマップを記憶していない状態を示す情報が初期値と
して記憶されている。図4(A) の場合、ビットマップに
展開した結果、領域46に対応するビットマップブロッ
クメモリ36にビットマップが展開されて記憶されたの
に対応して、領域46ないしブロックメモリ36に対応
する管理エリア26−3に対して使用ないしビットマッ
プが記憶されている状態を示す情報に書き変えられたこ
とを示している。図4(B) はさらに続けて2つの図形コ
ードをビットマップに展開したときの様子を示す。
In FIG. 4A, the central coordinates are (2000, 22)
FIG. 50 schematically shows how the page description code for drawing a circle having a radius of 250 in FIG. 50) is expanded in the bitmap memory 28. The bitmap memory 28 shows the data of the corresponding address in accordance with the spatial position of the corresponding pixel,
Black is shown as corresponding to the data that achieves printing for that pixel, and white is shown as corresponding to the data that does not perform printing for that pixel. Before being expanded into a bitmap, the management area 26 stores information indicating an unused state or no bitmap stored as an initial value. In the case of FIG. 4 (A), as a result of expanding into the bitmap, the bitmap is expanded and stored in the bitmap block memory 36 corresponding to the area 46, and corresponding to the area 46 or the block memory 36. This indicates that the management area 26-3 has been rewritten into information indicating the state of use or bitmap storage. FIG. 4B shows a state in which two graphic codes are further expanded into a bitmap.

【0017】図5は、1頁の印刷処理を終了したあと、
次のページの印刷をする間にCPU14がROM16内
のブログラムによってRAM20を用いて処理する処理
内容を示し、最初に管理エリア26−1〜26−4の内
容を全部未使用状態に初期化し、ついでホストコンピュ
ータ8からインターフェイス12を介して受信バッファ
22に頁記述コードを記憶する(104)。所定量のコ
ードが入力されたあと、ビットマップに展開し、ビット
マップメモリ28にビットマップを記憶する(10
6)。このとき、ビットマップが記憶されたブロックメ
モリに対応する管理メモリに、使用ないしビットマップ
が記憶されたことを示す情報を書き加える(108)。
これを全部の頁記述コードについて、1頁分が終了する
まで繰返す(110)。
In FIG. 5, after the printing process for one page is completed,
While the next page is being printed, the CPU 14 shows the processing contents to be processed using the RAM 20 by the program in the ROM 16, and first initializes all the contents of the management areas 26-1 to 26-4 to an unused state, Next, the page description code is stored in the reception buffer 22 from the host computer 8 via the interface 12 (104). After a predetermined amount of code is input, it is developed into a bitmap and the bitmap is stored in the bitmap memory 28 (10
6). At this time, information indicating that the used or bitmap has been stored is added to the management memory corresponding to the block memory in which the bitmap has been stored (108).
This is repeated for all page description codes until one page is completed (110).

【0018】頁記述データをビットマップに展開する処
理ではワークメモリ24が使用される。このワークメモ
リ24には、例えば次ページに同様の図形を印刷するよ
うな場合に備えて、展開処理に用いたデータを蓄積記憶
していくといった用い方がなされる。この結果、展開処
理が進むほど、未使用のワークエリアが減少し、メモリ
フルといったことが生じ易くなる。
The work memory 24 is used in the process of expanding the page description data into a bit map. The work memory 24 is used in such a manner that the data used for the expansion process is accumulated and stored in preparation for printing a similar figure on the next page, for example. As a result, as the expansion process progresses, the unused work area decreases and the memory becomes full.

【0019】例えば図4(B) は、中心座標を(100
0,1875)に持つ半径500の円を記述するコード
をビットマップに展開したときの様子を示している。こ
の処理の実行中にワークメモリ24がメモリフルとなっ
て、ビットマップへの展開処理が実行不能となることが
あり得る。
For example, in FIG. 4B, the center coordinate is (100
0, 1875) has a code of a circle with a radius of 500 and is expanded into a bitmap. There is a possibility that the work memory 24 becomes full during the execution of this processing and the expansion processing to the bitmap becomes inexecutable.

【0020】図6は、ROM16に記憶されている、ワ
ークメモリ24のメモリフル時に実行される手順を示し
ている。ワークメモリ24がメモリフルとなると処理2
02が実行され、最初の管理メモリ、この場合、管理メ
モリ26−1の情報が読み出され、これが使用済みか未
使用かが判別される(204)。未使用ならば、それに
対応するビットマップブロックメモリ32を拡張された
ワークメモリとし(206)、その拡張されたワークメ
モリの容量で展開処理に必要な容量を確保できるか否か
を判断する(208)。充分なワークメモリが確保され
るのなら、以後ブロックメモリ32を拡張されたワーク
メモリとして処理を進める(216)。これによってメ
モリフル対策が達成される。1つのブロックメモリを拡
張するだけでは足りないときには(208でNのと
き)、最後のブロックにいたるまで(210)、次のブ
ロック(212)が利用可能か否か検索し(204)、
必要容量が確保されるまでビットマップブロックメモリ
を拡張されたワークメモリに転用していく(206)。
最後のブロックメモリまで検索してもなお必要容量が確
保できないとき、あるいは全部のブロックメモリにビッ
トマップが展開されていてワークメモリとして使用でき
るブロックメモリが存在しなければ、メモリフルエラー
の発生処理を行なう(214)。この場合はすべての記
憶容量を無駄なく使用してもなおメモリフルとなる場合
であり、本発明によっても克服することはできない。
FIG. 6 shows a procedure executed when the work memory 24 stored in the ROM 16 is full. Process 2 when the work memory 24 becomes full
02 is executed, the information of the first management memory, in this case, the management memory 26-1 is read, and it is determined whether this is used or unused (204). If it is not used, the corresponding bitmap block memory 32 is set as an expanded work memory (206), and it is determined whether or not the capacity of the expanded work memory can secure the capacity necessary for the expansion processing (208). ). If sufficient work memory is secured, the process proceeds from the block memory 32 to an expanded work memory thereafter (216). This achieves the memory full measure. When it is not enough to expand one block memory (when N in 208), it is searched whether the next block (212) is available until the last block (210) (204),
The bitmap block memory is diverted to the expanded work memory until the required capacity is secured (206).
If the required capacity cannot be secured even after searching to the last block memory, or if there is no block memory that can be used as a work memory because the bitmap is expanded in all block memories, the processing to generate a memory full error is performed. Perform (214). In this case, even if all the storage capacity is used without waste, the memory is still full, which cannot be overcome by the present invention.

【0021】図4(B) は、2つ目の頁記述コードのビッ
トマップへの展開処理の途中でワークメモリ24がメモ
リフルとなったのにもかかわらず、使用されていないビ
ットマップブロックメモリ32を用いてビットマップに
展開した結果、2つ目の円に対応するビットマップへの
展開に成功した例を例示している。なおこの処理によっ
てブロックメモリ34にもビットマップが記憶されたた
めに、対応する管理メモリ26−3も使用状態に書き変
えられている。
FIG. 4B shows a bit map block memory which is not used even though the work memory 24 becomes full during the process of expanding the second page description code into the bit map. As an example, as a result of developing into a bitmap using 32, the example in which the development into the bitmap corresponding to the second circle is successful is illustrated. Since the bitmap is also stored in the block memory 34 by this processing, the corresponding management memory 26-3 is also rewritten into the used state.

【0022】図5の処理300以後は、1頁分をビット
マップに展開したあと、印刷手段18を制御して印刷処
理を実行するときの手順を示し、まず、最初に印刷する
領域(この場合は42であるが下から印字する場合には
48)に対応するビットマップブロックメモリ32に関
する管理メモリ26−1に使用中を示す情報が記憶され
ているか否かを判別し、使用状態でなければ、エンジン
(この場合印刷手段18)に領域42に対応する分だけ
用紙を送る指示を与え(302)、領域42に対する印
刷をスキップさせる(304)。この場合、用紙送り信
号を送るかわりに、印刷しないことを指示するデータ
(いわゆるNULLデータ)を領域42に対応する分だ
けエンジンに出力するようにしてもよい。一方使用中で
あれば、そのブロックメモリ中のビットマップをエンジ
ン(印刷手段18)に送って、領域42内に印刷を実行
する(308)。この場合、エンジン18はビットマッ
プに基づいて制御され、そのビットマップは頁記述コー
ドから展開されているために、頁記述コードに対する印
刷が実行される。以上の処理が最後のブロックメモリな
いし領域まで繰返され(312)、一頁分の印刷が実行
される。
After the process 300 shown in FIG. 5, the procedure for executing the printing process by controlling the printing means 18 after expanding one page into the bitmap will be described. First, the area to be printed first (in this case, Is 42, but when printing from the bottom, it is judged whether or not the information indicating being in use is stored in the management memory 26-1 related to the bitmap block memory 32 corresponding to 48). The engine (printing unit 18 in this case) is instructed to feed the paper by the amount corresponding to the area 42 (302), and the printing for the area 42 is skipped (304). In this case, instead of sending the paper feed signal, the data instructing not to print (so-called NULL data) may be output to the engine by the amount corresponding to the area 42. On the other hand, if it is in use, the bitmap in the block memory is sent to the engine (printing unit 18) to execute printing in the area 42 (308). In this case, the engine 18 is controlled based on the bit map, and since the bit map is expanded from the page description code, the printing for the page description code is executed. The above process is repeated up to the last block memory or area (312) to print one page.

【0023】前述の実施例では、ビットマップメモリ2
8によって一頁分のビットマップを記憶するビットマッ
プメモリが構成され、そのビットマップメモリ28が領
域42,44,46,48に対応してビットマップブロ
ックメモリ32,34,36,38に区割される。そし
て各ビットマップブロックメモリに対応して管理メモリ
26−1,26−2,26−3,26−4が設けられて
いる。また図4(A) に典型的に例示されるように、ペー
ジ内の一部領域(この場合46)に対応するビットマッ
プを、その領域に対応するビットマップブロックメモリ
36に記憶し、そのときに、そのブロックメモリに対応
する管理メモリ26−3に使用状態を示す信号を記憶し
(図5の106,108)、印刷時には、使用状態を示
す信号が記憶されているビットマップブロックメモリに
記憶されているビットマップに基づいて印刷し(30
6,308)、未使用ブロックメモリのデータに基づく
印刷は行なわれない(302,304)。
In the above embodiment, the bitmap memory 2
A bit map memory for storing a bit map for one page is constituted by 8, and the bit map memory 28 is divided into bit map block memories 32, 34, 36, 38 corresponding to the areas 42, 44, 46, 48. To be done. Management memories 26-1, 26-2, 26-3, and 26-4 are provided corresponding to the bit map block memories. Further, as typically illustrated in FIG. 4A, the bitmap corresponding to a partial area (46 in this case) in the page is stored in the bitmap block memory 36 corresponding to the area, and at that time, In addition, a signal indicating the use state is stored in the management memory 26-3 corresponding to the block memory (106 and 108 in FIG. 5), and at the time of printing, stored in the bitmap block memory in which the signal indicating the use state is stored. Print based on the bitmap
6, 308), and printing based on the data in the unused block memory is not performed (302, 304).

【0024】さらにワークメモリ24のメモリフル時に
は、管理メモリ26−1〜4のうちの使用状態を示す信
号が記憶されていないブロックを検索し(図6の20
4)、検索されたブロックをワークメモリとして使用す
る処理を実行する(206)。なおこの実施例では、領
域を横縞状に区割したが、縦縞状に区割したり、格子状
に区割することが可能であり、区割の態様に格別の制限
はない。
Further, when the work memory 24 is full, a search is made for a block in the management memories 26-1 to 26-4 in which a signal indicating the use state is not stored (see 20 in FIG. 6).
4) The process of using the searched block as a work memory is executed (206). In this embodiment, the regions are divided into horizontal stripes, but can be divided into vertical stripes or can be divided into lattices, and there is no particular limitation on the mode of division.

【0025】[0025]

【発明の効果】この結果、最も典型的には、一部の領域
には非常な複雑な画形がある一方、他の領域には印刷し
なくて済むような場合において、従来の技術によると、
その一部領域に存在する複雑な画形のための処理でワー
クメモリがフルとなって印刷処理が実行できないような
場合でも、ワークメモリがメモリフルとなる事態の発生
が回避され、限られた記憶容量を有効に活用してメモリ
フルエラーの発生頻度を少なく押えることが可能とな
る。
As a result, according to the prior art, the result is that, most typically, some areas have very complex features while other areas do not need to be printed. ,
Even if the print job cannot be executed because the work memory becomes full due to the processing for the complicated image existing in a part of the area, the occurrence of the situation where the work memory becomes full is avoided, and it is limited. It is possible to effectively use the storage capacity and suppress the occurrence frequency of the memory full error.

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

【図1】本発明の好ましい実施の形態を模式的に示す図FIG. 1 is a diagram schematically showing a preferred embodiment of the present invention.

【図2】印刷するページの一例を示す図FIG. 2 is a diagram showing an example of a page to be printed.

【図3】図2のページのための頁記述コードの内容を模
式的に示す図
3 is a diagram schematically showing the contents of a page description code for the page of FIG.

【図4】最初の円についてビットマップに展開した状態
を模式的に示す図と、2番目の円についてビットマップ
に展開した状態を模式的に示す図
FIG. 4 is a diagram schematically showing a state in which a first circle is developed on a bitmap and a diagram schematically showing a state in which a second circle is developed on a bitmap.

【図5】1頁の処理において実行する処理手順の全体の
流れを示す図
FIG. 5 is a diagram showing an overall flow of a processing procedure executed in processing of one page.

【図6】メモリフル時において実行する処理手順を示す
FIG. 6 is a diagram showing a processing procedure executed when the memory is full.

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

18 印刷手段(エンジン) 22 受信バッファ 24 ワークメモリ 26 管理メモリ 28 ビットマップメモリ 32,34,36,38 ビットマップブロックメモリ 18 printing means (engine) 22 receiving buffer 24 work memory 26 management memory 28 bit map memory 32, 34, 36, 38 bit map block memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1ページ分のビットマップメモリを有す
るページプリンタにおいて、 1ページを構成する複数個の領域のそれぞれの領域ごと
に対応するビットマップブロックメモリを設けるととも
に、 各ビットマップブロックメモリ毎に、対応する領域のビ
ットマップを記憶したか否かを示す信号を記憶しておく
管理メモリを設けたことを特徴とするページプリンタ。
1. A page printer having a bit map memory for one page, wherein a bit map block memory corresponding to each of a plurality of areas forming one page is provided, and each bit map block memory is provided. , A page printer provided with a management memory for storing a signal indicating whether or not a bitmap of a corresponding area is stored.
【請求項2】 1ページ分のビットマップメモリを有す
るページプリンタの制御方法において、 ページ内の一部領域に対するビットマップをその領域に
対応するビットマップブロックメモリに記憶し、 そのビットマップブロックメモリの使用状態を示す信号
を対応する管理メモリに記憶し、 印刷時に、管理メモリに使用状態を示す信号が記憶され
ているビットマップブロックメモリに記憶されているビ
ットマップに基づいて印刷することを特徴とするページ
プリンタの制御方法。
2. A method of controlling a page printer having a bitmap memory for one page, wherein a bitmap for a partial area in a page is stored in a bitmap block memory corresponding to the area, and the bitmap block memory A feature is that a signal indicating a usage state is stored in a corresponding management memory, and at the time of printing, printing is performed based on a bitmap stored in a bitmap block memory in which the signal indicating the usage state is stored in the management memory. How to control the page printer.
【請求項3】 頁記述コードをビットマップに展開する
処理に用いられるワークメモリと、展開されたビットマ
ップを記憶するビットマップメモリとを有するページプ
リンタの制御方法において、 1ページを構成する複数個の領域についてそれぞれの領
域毎にビットマップに展開し、 展開されたビットマップをその領域に対応するビットマ
ップブロックメモリに記憶し、 そのビットマップブロックメモリの使用状態を示す信号
を対応する管理メモリに記憶し、 ワークメモリのメモリフル時に、前記管理メモリに使用
状態を示す信号が記憶されていないビットマップブロッ
クメモリをワークメモリとして使用することを特徴とす
るページプリンタの制御方法。
3. A page printer control method having a work memory used for processing a page description code into a bitmap and a bitmap memory for storing the expanded bitmap, wherein a plurality of pages compose one page. Each area is expanded into a bitmap for each area, the expanded bitmap is stored in the bitmap block memory corresponding to that area, and the signal indicating the usage status of the bitmap block memory is stored in the corresponding management memory. A method of controlling a page printer, wherein a bitmap block memory, which is stored and in which a signal indicating a use state is not stored in the management memory, is used as a work memory when the work memory is full.
JP32477495A 1995-12-13 1995-12-13 How to control a page printer Expired - Fee Related JP3591096B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32477495A JP3591096B2 (en) 1995-12-13 1995-12-13 How to control a page printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32477495A JP3591096B2 (en) 1995-12-13 1995-12-13 How to control a page printer

Publications (2)

Publication Number Publication Date
JPH09164729A true JPH09164729A (en) 1997-06-24
JP3591096B2 JP3591096B2 (en) 2004-11-17

Family

ID=18169531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32477495A Expired - Fee Related JP3591096B2 (en) 1995-12-13 1995-12-13 How to control a page printer

Country Status (1)

Country Link
JP (1) JP3591096B2 (en)

Also Published As

Publication number Publication date
JP3591096B2 (en) 2004-11-17

Similar Documents

Publication Publication Date Title
JP4393076B2 (en) Image processing method and apparatus
US5926188A (en) Image formation system
EP0769755B1 (en) Apparatus and method for printing partially repetitive data
US6317193B2 (en) Image forming apparatus
JPH10222319A (en) Printing device and printing control method
JPH0655813A (en) Page printer
JP3871011B2 (en) Information processing apparatus and information processing method
JP3591096B2 (en) How to control a page printer
EP1398688A2 (en) Information processing apparatus, image formation apparatus, drawing processing method
JP2003051929A (en) Image processing method and apparatus
JP2001096854A (en) Apparatus and method for printing processing
JPH09240073A (en) Method and apparatus for control of printing, printing system including the apparatus, and recording medium on which control procedure for execution of the method is recorded
JP2003237147A (en) Image processing method and image processor
JP2000006476A (en) Image output apparatus and its control method
JPH0421592B2 (en)
JPH10151815A (en) Printing-processing apparatus
JP3143118B2 (en) Printer and print image pattern development method
JP2000255116A (en) Apparatus for processing printing and method for processing printing
JPH05270092A (en) Method and apparatus for forming image
JPH09252412A (en) Image processor and its control method
JP2000289268A (en) Image processing device, method for processing image, and memory medium
JPH09230846A (en) Printer, its control method and font data management method
JPH04269566A (en) Printing pattern developing method
JP2001331287A (en) Picture processor and picture processing method
JPH10202960A (en) Printing equipment

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040303

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040816

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070903

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110903

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110903

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120903

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees