JPH09174959A - Output unit and output method - Google Patents

Output unit and output method

Info

Publication number
JPH09174959A
JPH09174959A JP7343346A JP34334695A JPH09174959A JP H09174959 A JPH09174959 A JP H09174959A JP 7343346 A JP7343346 A JP 7343346A JP 34334695 A JP34334695 A JP 34334695A JP H09174959 A JPH09174959 A JP H09174959A
Authority
JP
Japan
Prior art keywords
intermediate data
data
output
stored
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.)
Pending
Application number
JP7343346A
Other languages
Japanese (ja)
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 JP7343346A priority Critical patent/JPH09174959A/en
Publication of JPH09174959A publication Critical patent/JPH09174959A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an output unit in which the image of an outputted figure can be grasped even under memory full state where the volume of intermediate data exceeds the residual capacity of a memory means at the time of storing an input data while converting into an intermediate data. SOLUTION: An output data is stored in a memory means while being converted into a corresponding intermediate data, which is then developed into a bit map and outputted based on the bit map. In such an output unit, an intermediate data producing a figure having smallest area is retrieved when a decision is made that the data being stored exceeds the capacity of memory means and that intermediate data is erased from a recording means.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、受信した頁記述コ
−ドを中間デ−タに変換して記憶したうえ、記憶した中
間デ−タをビットマップに展開することによって、頁記
述コ−ドで記述された図形を出力する出力装置及び出力
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention converts a received page description code into intermediate data, stores the converted page intermediate code, and then expands the stored intermediate data into a bit map so as to convert the page description code. TECHNICAL FIELD The present invention relates to an output device and an output method for outputting a graphic described by a code.

【0002】[0002]

【従来の技術】パーソナルコンピュータなどのホストコ
ンピュータでは、オペレータが頁記述言語を用いて画面
を描く(すなわち画面を定義するコードないしデータを
入力してゆく)。この頁記述言語はオペレータにとって
認識し易くかつ入力データ数も少なくすむように工夫さ
れており、その一例が図9に例示されている。図中例え
ば頁記述コード201は、中心座標を(1000,18
75)にもつ半径500の円を黒色で描くことに対する
頁記述コードの例を示している。以後頁記述コードとは
頁記述言語に従って入力された図形ないし文字を定義す
るデータのことをいう。
2. Description of the Related Art In a host computer such as a personal computer, an operator draws a screen using a page description language (that is, inputs codes or data defining the screen). This page description language is designed so that it is easy for the operator to recognize and the number of input data is small, and an example thereof is illustrated in FIG. In the figure, for example, the page description code 201 has a center coordinate of (1000, 18
75) shows an example of a page description code for drawing a circle with a radius of 500 in black. Hereinafter, the page description code refers to data defining a figure or character input according to the page description language.

【0003】例えば印字ヘッドと印字ヘッドの左右駆動
機構と用紙送り機構、あるいはレーザとレーザ走査機構
とドラムなど、印刷図形を最終的に出力する機構部を制
御するためには、印刷装置において各画素に対応するビ
ットマップを必要とする。このビットマップは、各画素
毎に印刷の有無を示す1ビットのデータを持つものであ
り、例えば図10に例示する2481×3508個の画
素で構成される1頁の画面に対し、2481×3508
ビットのデータ長を持つ。
In order to control a mechanism for finally outputting a print pattern, such as a print head, a left and right driving mechanism of the print head and a paper feeding mechanism, or a laser, a laser scanning mechanism and a drum, each pixel in a printing device is controlled. Requires the corresponding bitmap. This bitmap has 1-bit data indicating the presence / absence of printing for each pixel. For example, for a 1-page screen composed of 2481 × 3508 pixels illustrated in FIG. 10, 2481 × 3508 is displayed.
Has a data length of bits.

【0004】低機能の印刷装置の場合、ホストコンピュ
ータの側で頁記述コードをビットマップに展開し、展開
されたビットマップを印刷装置の側へ送ることで必要な
出力が行なわれるようにする。しかるにこの方式による
と、ホストコンピュータの負担が高くなる。そこで高機
能印刷装置の場合には、頁記述コードをビットマップへ
展開する処理を印刷装置の側で行なう。
In the case of a low-function printing device, the page description code is expanded into a bit map on the host computer side and the expanded bit map is sent to the printing device side so that the necessary output is performed. However, according to this method, the load on the host computer increases. Therefore, in the case of a high function printing device, the process of expanding the page description code into a bitmap is performed on the printing device side.

【0005】頁記述コードをビットマップへ展開するに
あたって、一旦中間データに変換する方法が普及してい
る。例えば、頁記述コードが「円を描く」というコード
である場合、それを多数の頂点を持つ正多角形を示すデ
ータに変換する。この形式の中間データに変換しておく
と、「円を描く」という定義から直接的にビットマップ
へ展開する処理に比して高速にビットマップへ展開でき
る。この中間データについては種々の形式が提案されて
おり、前述した例のように、曲線図形を近似する直線図
形に変換する例(以下頂点形式という)、画素形成手段
(例えばレーザプリンタの場合のレーザ)の走査線ごと
に、印刷開始位置と印刷終了位置を示すデータに変換す
る例(以下ランレングス形式という)、頁記述コードに
対応するビットマップがすでに記憶されている場合には
そのビットマップの記憶アドレスに変換する例、あるい
は最終的にビットマップへまで展開したあとにそれを他
の中間データと同様に中間データとして処理する例が存
在する。最後の例の場合、すでにビットマップに転換さ
れている中間データをそのままコピーすることでビット
マップに展開される。しかも同一の印刷装置が複数の形
式で中間データを持つことがあり、例えば、特定の頁記
述コードはランレングス形式に変換し、他の特定の記述
コードは頂点形式に変換することがある。
In developing the page description code into a bit map, a method of once converting it into intermediate data is widely used. For example, when the page description code is a code "drawing a circle", it is converted into data indicating a regular polygon having many vertices. If converted to intermediate data of this format, it can be expanded into a bitmap faster than the process of expanding directly into a bitmap from the definition of "drawing a circle". Various formats have been proposed for this intermediate data. As in the example described above, an example of converting a curved figure into a linear figure approximating (hereinafter referred to as apex format), pixel forming means (for example, a laser in the case of a laser printer). ) Of each scan line into data indicating the print start position and the print end position (hereinafter referred to as run length format), if the bitmap corresponding to the page description code is already stored, There is an example of converting to a storage address, or an example of finally expanding it to a bit map and then processing it as intermediate data like other intermediate data. In the case of the last example, the intermediate data that has already been converted into a bitmap is copied as it is to be expanded into a bitmap. Moreover, the same printing device may have intermediate data in a plurality of formats. For example, a specific page description code may be converted into a run length format, and another specific description code may be converted into a vertex format.

【0006】さらに1頁分の頁記述コードをビットマッ
プへ展開するためにバンド処理という手法が普及してい
る。この方式では、1頁を複数の領域(各領域をバンド
という)で構成し、各領域ごとにビットマップへ展開す
る。この場合、展開されたビットマップを一時記憶する
バンドバッファを少なくとも2個用い、一方のバンドバ
ッファに記憶されているビットマップに基づいて一つの
領域への印刷を実行するのと平行して、次のバンドにつ
いてビットマップへの展開処理を進めて展開されたビッ
トマップを他方のバンドバッファに記憶する。一つの領
域に対する出力と次の領域に対するビットマップの展開
が終了すると、次には他方のバンドバッファに展開され
ているビットマップによってその次の領域(バンド)へ
の出力を続け、それと同時平行してさらに別のバンドに
おけるビットマップへの展開処理を続ける。この方式に
よると、1頁中の1部領域をカバーすることができるだ
けの記憶容量を持つバンドバッファを2つ用いれば足り
ることから、1頁を3バンド以上に区割することによっ
て、展開されたビットマップを記憶しておくバンドバッ
ファの合計記憶容量を少なくすることができる。
Furthermore, a method called band processing has become widespread in order to develop a page description code for one page into a bitmap. In this method, one page is composed of a plurality of areas (each area is called a band), and each area is developed into a bitmap. In this case, at least two band buffers that temporarily store the developed bitmap are used, and printing to one area is performed based on the bitmap stored in one of the band buffers. The band expansion processing is advanced for the band of, and the expanded bitmap is stored in the other band buffer. When the output to one area and the expansion of the bitmap to the next area are completed, the bitmap expanded to the other band buffer continues to output to the next area (band), and at the same time parallel to it. Then, the process of expanding to a bitmap in another band is continued. According to this method, it suffices to use two band buffers having a storage capacity capable of covering a partial area in one page. Therefore, it is developed by dividing one page into three or more bands. It is possible to reduce the total storage capacity of the band buffer that stores the bitmap.

【0007】図1は、中間データへの変換処理とバンド
処理をともに実行する印刷装置の制御体系図を示してい
る。この印刷装置1はホストコンピュータ2と信号線3
で接続されて用いられ、プロセッサCPU(以後CPU
と記載する)4を中心とするコンピュータシステムを内
蔵している。すなわちCPU4、インターフェイス5、
ロムROM(以後ROMと記載する)6、ラムRAM
(以後RAMと記載する)7がバス8で接続されてコン
ピュータシステムが形成され、このコンピュータシステ
ムで印刷手段9が制御される。インターフェイス5はホ
ストコンピュータ2との間でデータの送受を行う。
FIG. 1 shows a control system diagram of a printing apparatus for executing both conversion processing into intermediate data and band processing. The printer 1 includes a host computer 2 and a signal line 3.
It is used by connecting with a processor CPU (hereinafter CPU
4) is built-in. That is, the CPU 4, the interface 5,
ROM ROM (hereinafter referred to as ROM) 6, RAM RAM
7 (hereinafter referred to as RAM) is connected by a bus 8 to form a computer system, and the printing means 9 is controlled by this computer system. The interface 5 sends and receives data to and from the host computer 2.

【0008】ROM6のなかには、ホストコンピュータ
2から送られてくる頁記述コード10を受信して受信バ
ッファ11に記憶するプログラム、受信バッファ11に
記憶された頁記述コード10を中間データに変換するプ
ログラム、変換された中間データをビットマップへ展開
するプログラム、展開されたビットマップに基づいて印
刷手段9を制御するプログラムなどが記憶されている。
この他、頁記述コード10が文字コードである場合に備
えて、その文字コードで特定される文字を形成するビッ
トマップを記憶している。この文字のためのビットマッ
プはフォントROM12に記憶されている。
In the ROM 6, a program for receiving the page description code 10 sent from the host computer 2 and storing it in the reception buffer 11, a program for converting the page description code 10 stored in the reception buffer 11 into intermediate data, A program that expands the converted intermediate data into a bitmap, a program that controls the printing unit 9 based on the expanded bitmap, and the like are stored.
In addition, in case the page description code 10 is a character code, a bit map forming a character specified by the character code is stored. The bitmap for this character is stored in the font ROM 12.

【0009】RAM7には、受信バッファ11の他、各
バンド13,14,15毎に中間データを記憶する領域
(16,17),(18,19),(20,21)と、
2つのバンドバッファ23,24と、ワークメモリ22
とを持っている。
In the RAM 7, in addition to the reception buffer 11, areas (16, 17), (18, 19), (20, 21) for storing intermediate data for each band 13, 14, 15 are provided.
Two band buffers 23 and 24 and work memory 22
And have

【0010】ワークメモリ22は、頁記述コード10を
中間データに変換する処理、中間データをビットマップ
に展開する処理、ビットマップによって印刷手段9を制
御する処理などの印刷デ−タ処理において、各種データ
を一時的に記憶するために用いられる。この各バンド1
3〜15とワ−クメモリ22のサイズは固定ではなく、
必要に応じてリサイズ(サイズ変更)できる。
The work memory 22 is used for various print data processes such as a process of converting the page description code 10 into intermediate data, a process of expanding the intermediate data into a bitmap, a process of controlling the printing means 9 by the bitmap, and the like. Used to store data temporarily. This each band 1
The sizes of 3 to 15 and the work memory 22 are not fixed,
Can be resized (resized) as needed.

【0011】中間データを記憶する領域(16,1
7),(18,19),(20,21)は、1頁を分割
するバンドの数nだけ存在し、各バンド別に中間データ
を記憶する。中間データは、パケットと形状中間データ
ないしパケットと文字中間データとで構成される。各パ
ケットは、頁記述コード毎に設けられ、識別子25、色
26、位置27、ポインタ28で構成される。色26は
頁記述コードで記述される図形又は文字の色を示し、位
置27は頁記述コードで記述される図形又は文字の頁中
の位置を示し、これは頁記述コード自体あるいは頁記述
コードが送られる順序から決められる。ポインタ28
は、図形又は文字の形状に対応する中間データの記憶場
所をアドレスで示し、例えば円が多角形近似された場合
には、その多角形の形状を定義する頂点座標の記憶され
ているアドレスを示す。また記述コードが文字コードで
ある場合にはその文字コードに対応する文字のためのビ
ットマップが記憶されているフォントROM12内のア
ドレスを示す。文字等のように予め定められているパタ
ーン以外の形状中間データ、例えば多角形を定める中間
データは、RAM7中の形状中間データ群記憶エリア1
7,19,21に記憶され、ポインタ28はそのアドレ
スを示す。識別子25は、中間データをいかなる形式で
記憶しているか、例えばフォントROM12内のアドレ
スを指定しているのか、形状中間データ群中の多角形形
状データを指定するのか、あるいは形状中間データ群中
のランレングスデータ又はビットマットを示すデータの
アドレスを指定しているのかといった中間データの形式
を示す。
Area (16, 1) for storing intermediate data
7), (18, 19), (20, 21) exist by the number n of bands that divide one page, and store intermediate data for each band. The intermediate data is composed of a packet and shape intermediate data or a packet and character intermediate data. Each packet is provided for each page description code, and includes an identifier 25, a color 26, a position 27, and a pointer 28. The color 26 indicates the color of the figure or character described by the page description code, and the position 27 indicates the position on the page of the figure or character described by the page description code, which is the page description code itself or the page description code. Determined from the order in which they are sent. Pointer 28
Indicates, by an address, a storage location of intermediate data corresponding to the shape of a figure or a character. For example, when a circle is approximated by a polygon, it indicates the stored address of vertex coordinates that define the shape of the polygon. . When the description code is a character code, it indicates the address in the font ROM 12 in which the bitmap for the character corresponding to the character code is stored. Shape intermediate data other than a predetermined pattern such as characters, for example, intermediate data defining a polygon, is stored in the shape intermediate data group storage area 1 in the RAM 7.
Stored in 7, 19, 21 and pointer 28 points to the address. The identifier 25 indicates in what format the intermediate data is stored, for example, whether an address in the font ROM 12 is designated, polygon shape data in the shape intermediate data group is designated, or in the shape intermediate data group. This indicates the format of the intermediate data such as whether the address of the data indicating the run length data or the bit mat is designated.

【0012】この印刷装置1の場合、受信バッファ11
に頁記述コードが記憶されたあと、この頁記述コードの
種類にあわせた形式の中間データに変換され、変換され
た中間データが領域(バンド)に対応する中間データ記
憶エリアに記憶される。そして1頁分の中間デ−タの変
換処理が終了した後、2つのバンドバッファ23,24
を交互に利用しながらバンド処理を実行して1頁分の印
刷を実行する。
In the case of this printing apparatus 1, the reception buffer 11
After the page description code is stored in, the page description code is converted into intermediate data of a format suitable for the type of the page description code, and the converted intermediate data is stored in the intermediate data storage area corresponding to the area (band). After the conversion processing of the intermediate data for one page is completed, the two band buffers 23 and 24 are
The band processing is executed while alternately using the, and printing for one page is executed.

【0013】上記のバンド処理について図11を参照し
て具体的に説明すれば次のようになる。即ち、印刷エン
ジン起動後に、 バンドB1の中間デ−タを、バンドバッファ23に
ビットマップ展開する。 バンドバッファ23のビットマップデ−タを印刷エ
ンジンに転送し、紙Pの領域1を印刷する。 と同時にバンドB2の中間デ−タを、バンドバッ
ファ24にビットマップ展開する。 バンドバッファ24のビットマップデ−タを印刷エ
ンジンに転送し、紙Pの領域2を印刷する。 と同時にバンドB3の中間デ−タを、バンドバッ
ファ23にビットマップ展開する。 バンドバッファ23のビットマップデ−タを印刷エ
ンジンに転送し、紙Pの領域3を印刷する。 と同時にバンドB4の中間デ−タを、バンドバッ
ファ24にビットマップ展開する。 バンドバッファ24のビットマップデ−タを印刷エ
ンジンに転送し、紙Pの領域4を印刷する。 尚、上記バンドB1〜B4は、図1におけるバンド1
3,14,15に対応し、n=4の4つのバンドに相当
する。
The above band processing will be described in detail with reference to FIG. That is, after the print engine is activated, the intermediate data of the band B1 is bit map expanded in the band buffer 23. The bitmap data of the band buffer 23 is transferred to the print engine, and the area 1 of the paper P is printed. At the same time, the intermediate data of band B2 is expanded in the band buffer 24 as a bitmap. The bitmap data of the band buffer 24 is transferred to the print engine, and the area 2 of the paper P is printed. At the same time, the intermediate data of band B3 is bit-mapped in the band buffer 23. The bitmap data of the band buffer 23 is transferred to the print engine, and the area 3 of the paper P is printed. At the same time, the intermediate data of band B4 is bit map expanded in the band buffer 24. The bitmap data of the band buffer 24 is transferred to the print engine, and the area 4 of the paper P is printed. The bands B1 to B4 are the band 1 in FIG.
It corresponds to 3, 14 and 15 and corresponds to four bands of n = 4.

【0014】[0014]

【発明が解決しようとする課題】上記印刷装置1の場
合、前述のバンド13,14,15は、ホストコンピュ
−タ2からの頁記述コード、例えば、図12に示すよう
な花と茎と複数の葉から成る図形Fを印刷するための頁
記述コードを中間デ−タに変換して記憶する際、花の部
分は円と多数の斜線とから成るため中間デ−タの量が多
くなる。花の部分の中間デ−タの量が多くなり、当該バ
ンドのメモリ残量が無くなると、CPU4によりメモリ
フルの状態が確認される。このメモリフルが発生する
と、従来は、それまで各バンドに記憶された中間デ−タ
を捨てて、そのページの印刷をしない(白紙の状態)
か、メモリフル発生時までの中間デ−タに基づいて途中
まで印刷している。そのためそのページ全体の印刷イメ
−ジをつかむことは困難である。
In the case of the printing apparatus 1 described above, the bands 13, 14 and 15 are the page description codes from the host computer 2, for example, flowers and stems as shown in FIG. When the page description code for printing the figure F composed of leaves is converted into intermediate data and stored, the amount of intermediate data increases because the flower portion is composed of circles and a large number of diagonal lines. When the amount of intermediate data in the flower portion increases and the remaining memory capacity of the band runs out, the CPU 4 confirms that the memory is full. When this memory full occurs, conventionally, the intermediate data stored in each band until then is discarded and the page is not printed (blank page).
Alternatively, printing is performed halfway based on the intermediate data until the memory full occurs. Therefore, it is difficult to grasp the print image of the entire page.

【0015】そこで本発明では、上記のようなメモリフ
ルが発生したとき、記憶手段に記憶されている中間デ−
タのうち、面積が所定値より小さい図形を検索したう
え、その検索した図形の中間デ−タを消去し、記憶手段
のメモリ残量を増加させることにより、中間デ−タ記憶
処理を続行させ、そのページ全体の出力イメ−ジをつか
むことができるように出力することを課題とするもので
ある。
Therefore, in the present invention, when the above memory full occurs, the intermediate data stored in the storage means is stored.
Among the data, a graphic having an area smaller than a predetermined value is searched, the intermediate data of the searched graphic is erased, and the remaining memory capacity of the storage means is increased to continue the intermediate data storage processing. The problem is to output so that the output image of the entire page can be grasped.

【0016】[0016]

【課題を解決するための手段】上記課題を解決するため
の第1の手段は、入力される出力デ−タを出力図形に対
応した中間デ−タに変換する変換手段と、前記中間デ−
タをビットマップに展開するビットマップ展開手段と、
前記ビットマップに基づいて出力する出力手段と、前記
各手段が処理を行う際、一時的に発生する各種デ−タと
前記変換手段により得られる中間デ−タを記憶する記憶
手段とを備える出力装置において、前記記憶手段の記憶
容量以上に記憶するデ−タが多くなると判断されると
き、記憶された中間デ−タのうちで面積が所定値より小
さい図形となる中間デ−タを検索し、その中間デ−タを
前記記憶手段から消去する消去手段を備えることであ
る。
The first means for solving the above problems is a converting means for converting input output data into intermediate data corresponding to an output graphic, and the intermediate data.
Bitmap expansion means for expanding the data into a bitmap,
Output including output means for outputting on the basis of the bit map, and storage means for storing various data that are temporarily generated when each means performs processing and intermediate data obtained by the converting means In the device, when it is determined that the amount of data to be stored exceeds the storage capacity of the storage means, the stored intermediate data is searched for intermediate data whose area is smaller than a predetermined value. , Erasing means for erasing the intermediate data from the storage means.

【0017】上記第1の手段において、記憶手段の記憶
容量以上に記憶するデ−タが多くなると判断されると
き、消去手段は、記憶された中間デ−タのうちで面積が
所定値より小さい図形となる中間デ−タを検索し、その
中間デ−タを前記記憶手段から消去するため、記憶手段
のメモリ残量に余裕ができて中間デ−タ記憶処理を続行
することが可能になり、出力したとき、目標とする図形
の一部が消去されるが、その頁全体の出力イメ−ジをつ
かむことができる。
In the first means, when it is determined that more data will be stored than the storage capacity of the storage means, the erasing means has an area smaller than a predetermined value in the stored intermediate data. Since the intermediate data in the form of a graphic is searched and the intermediate data is erased from the storage means, the remaining memory capacity of the storage means has a margin and the intermediate data storage processing can be continued. When output, a part of the target figure is erased, but the output image of the entire page can be grasped.

【0018】また、課題を解決するための第2の手段
は、入力される出力デ−タを出力図形に対応した中間デ
−タに変換する変換手段と、前記中間デ−タをビットマ
ップに展開するビットマップ展開手段と、前記ビットマ
ップに基づいて出力する出力手段と、前記各手段が処理
を行う際、一時的に発生する各種デ−タと前記変換手段
により得られる中間デ−タを記憶する記憶手段とを備え
る出力装置において、前記記憶手段の記憶容量以上に記
憶するデ−タが多くなると判断されるとき、記憶された
中間デ−タのうちで面積が最も小さい図形となる中間デ
−タを検索し、その中間デ−タを前記記憶手段から消去
する消去手段を備えることである。
A second means for solving the problem is a converting means for converting input output data into intermediate data corresponding to an output graphic, and the intermediate data into a bit map. Bit map expanding means for expanding, output means for outputting based on the bit map, various data temporarily generated when the respective means perform processing, and intermediate data obtained by the converting means. In an output device having a storage means for storing, when it is determined that the amount of data to be stored exceeds the storage capacity of the storage means, an intermediate figure which has the smallest area among the stored intermediate data is obtained. It is provided with erasing means for retrieving data and erasing the intermediate data from the storage means.

【0019】上記第2の手段において、記憶手段の記憶
容量以上に記憶するデ−タが多くなると判断されると
き、消去手段は、記憶された中間デ−タのうちで面積が
最も小さい図形となる中間デ−タを検索し、その中間デ
−タを前記記憶手段から消去するため、記憶手段のメモ
リ残量に余裕ができて中間デ−タ記憶処理を続行するこ
とが可能になり、出力したとき、目標とする図形の一部
が消去されるが、その頁全体の出力イメ−ジをつかむこ
とができる。
In the second means, when it is determined that more data will be stored than the storage capacity of the storage means, the erasing means determines that the figure having the smallest area out of the stored intermediate data. Since the intermediate data is retrieved and the intermediate data is erased from the storage means, the remaining memory capacity of the storage means has a margin and the intermediate data storage processing can be continued. When this is done, a part of the target graphic is erased, but the output image of the entire page can be grasped.

【0020】また、課題を解決するための第3の手段
は、上記第1の手段、第2の手段において、前記面積
は、中間デ−タで表される図形に外接する矩形の面積と
することである。
A third means for solving the problem is the above-mentioned first means and second means, wherein the area is a rectangular area circumscribing the figure represented by the intermediate data. That is.

【0021】上記第3の手段によれば、中間デ−タの図
形の面積の大小判断処理が容易に且つ迅速になる。
According to the third means, the size of the area of the figure of the intermediate data can be judged easily and quickly.

【0022】また、課題を解決するための第4の手段
は、前記第1の手段、第2の手段、又は第3の手段にお
ける前記消去手段を有効にするか否かを設定するモ−ド
設定手段を備えることである。
A fourth means for solving the problem is a mode for setting whether or not the erasing means in the first means, the second means, or the third means is enabled. It is to have a setting means.

【0023】上記第4の手段によれば、記憶手段のメモ
リ残量が不足した時、モ−ド設定手段により、図形の一
部を消去してでも、全体の出力を得たい場合に限って、
消去処理を行うことができる。
According to the fourth means, when the memory remaining in the storage means is insufficient, the mode setting means can be used to obtain the entire output even if a part of the figure is erased. ,
An erasing process can be performed.

【0024】また、課題を解決するための第5の手段
は、出力デ−タを出力図形に対応した中間デ−タに変換
して記憶し、その中間デ−タをビットマップに展開し、
そのビットマップに基づいて出力する出力方法におい
て、前記出力デ−タを処理する際、記憶容量以上に記憶
するデ−タが多くなると判断されるとき、記憶された中
間デ−タのうちで面積が所定値より小さい図形となる中
間デ−タを検索し、その中間デ−タを消去することであ
る。
A fifth means for solving the problem is to convert the output data into intermediate data corresponding to the output figure and store the intermediate data, and expand the intermediate data into a bit map.
In the output method of outputting based on the bit map, when processing the output data, when it is determined that more data will be stored than the storage capacity, the area of the stored intermediate data is increased. Is to search for intermediate data whose figure is smaller than a predetermined value and delete the intermediate data.

【0025】上記第5の手段によれば、出力デ−タを処
理する際、記憶容量以上に記憶するデ−タが多くなると
判断されるとき、記憶された中間デ−タのうちで面積が
所定値より小さい図形となる中間デ−タを検索し、その
中間デ−タを消去するため、記憶される中間デ−タ量が
減少し、記憶手段のメモリ残量に余裕ができて中間デ−
タ記憶処理を続行することが可能になり、出力したと
き、目標とする図形の一部が消去されるが、その頁全体
の出力イメ−ジをつかむことができる。
According to the fifth means, when it is determined that the amount of data to be stored exceeds the storage capacity when the output data is processed, the area of the stored intermediate data is reduced. Since the intermediate data having a figure smaller than the predetermined value is searched and the intermediate data is erased, the amount of intermediate data to be stored is reduced, and the remaining amount of memory in the storage means becomes large, so that the intermediate data can be saved. −
It becomes possible to continue the data storage processing, and when outputting, a part of the target figure is erased, but the output image of the entire page can be grasped.

【0026】また、課題を解決するための第6の手段
は、出力デ−タを出力図形に対応した中間デ−タに変換
して記憶し、その中間デ−タをビットマップに展開し、
そのビットマップに基づいて出力する出力方法におい
て、前記出力デ−タを処理する際、記憶容量以上に記憶
するデ−タが多くなると判断されるとき、記憶された中
間デ−タのうちで面積が最も小さい図形となる中間デ−
タを検索し、その中間デ−タを消去することである。
A sixth means for solving the problem is to convert the output data into intermediate data corresponding to the output figure and store it, develop the intermediate data into a bit map,
In the output method of outputting based on the bit map, when processing the output data, when it is determined that more data will be stored than the storage capacity, the area of the stored intermediate data is increased. Intermediate data with the smallest figure
To retrieve the intermediate data.

【0027】上記第6の手段によれば、出力デ−タを処
理する際、記憶容量以上に記憶するデ−タが多くなると
判断されるとき、記憶された中間デ−タのうちで面積が
最も小さい図形となる中間デ−タを検索し、その中間デ
−タを消去するため、記憶される中間デ−タ量が減少
し、記憶手段のメモリ残量に余裕ができて中間デ−タ記
憶処理を続行することが可能になり、出力したとき、目
標とする図形の一部が消去されるが、その頁全体の出力
イメ−ジをつかむことができる。
According to the sixth means, when it is judged that the amount of data to be stored exceeds the storage capacity when the output data is processed, the area of the stored intermediate data is reduced. Since the intermediate data having the smallest figure is searched and the intermediate data is erased, the amount of intermediate data to be stored is reduced, and the remaining amount of memory in the storage means has a margin so that the intermediate data can be saved. It becomes possible to continue the storage process, and when outputting, a part of the target figure is erased, but the output image of the entire page can be grasped.

【0028】また、課題を解決するための第7の手段
は、上記第5の手段、又は第6の手段において、前記面
積は、中間デ−タで表される図形に外接する矩形の面積
とすることである。
A seventh means for solving the problem is the above-mentioned fifth means or sixth means, wherein the area is a rectangular area circumscribing a figure represented by intermediate data. It is to be.

【0029】上記第7の手段によれば、中間デ−タの図
形の面積の大小判断処理が容易に且つ迅速になる。
According to the seventh means, the size of the area of the figure of the intermediate data can be easily and quickly determined.

【0030】[0030]

【発明の実施の形態】次に、本発明の実施の形態を図面
を参照しながら説明する。本実施の形態における印刷装
置1は、従来の技術の欄で説明した図1の制御体系図に
示したと同じように構成されている。従って、この制御
構成については従来の技術の欄で説明しているため、重
複説明を省略する。本実施の形態における印刷装置1
は、ホストコンピュ−タ2から頁記述コード(特許請求
の範囲では出力デ−タと記載している)10を入力する
と、この頁記述コード10を、例えば曲線図形を、近似
する直線図形に変換する頂点形式の中間デ−タに変換し
てバンド(特許請求の範囲では記憶手段と記載してい
る)13〜15に記憶したうえ、図11に示したような
手順(既に、従来の技術の欄で説明しているため、この
欄での説明は省略する)でバンドバッファ(特許請求の
範囲ではビットマップ展開手段と記載している)23,
24にビットマップ展開し、印刷手段9で印刷するとい
う制御をする。
Next, embodiments of the present invention will be described with reference to the drawings. The printing apparatus 1 according to the present embodiment has the same configuration as that shown in the control system diagram of FIG. 1 described in the section of the related art. Therefore, since this control configuration has been described in the section of the related art, duplicate description will be omitted. Printing device 1 according to the present embodiment
When a page description code (which is described as output data in the claims) 10 is input from the host computer 2, the page description code 10 is converted into, for example, a curved line figure into an approximate straight line figure. Converted to intermediate data in the form of vertices and stored in bands (described as storage means in claims) 13 to 15, and the procedure as shown in FIG. Since it is described in the column, the description in this column is omitted), and the band buffer (in the claims, is described as a bit map developing means) 23,
The bitmap is expanded to 24 and the printing means 9 performs printing.

【0031】上記制御行程において、中間デ−タの量
が、バンド13〜15のメモリ残量を越えたとき、当該
バンドに既に記憶されている中間デ−タの図形のうちで
面積が所定値以下、例えば最も面積の小さな図形を検索
したうえ、その図形の中間デ−タを消去することによ
り、各バンド13〜15のメモリ残量に余裕を持たせ、
図11に示したようなバンド処理を続行させるもので、
印刷手段9で印刷された頁全体の図形のイメ−ジを容易
につかむことを可能にするものである。
In the above control process, when the amount of intermediate data exceeds the remaining memory capacity of the bands 13 to 15, the area of the intermediate data graphic already stored in the band has a predetermined value. In the following, for example, a graphic having the smallest area is searched, and the intermediate data of the graphic is erased to give a margin to the remaining memory capacity of each band 13 to 15,
The band processing as shown in FIG. 11 is continued,
This makes it possible to easily grasp the image of the figure of the entire page printed by the printing means 9.

【0032】図2は、印刷装置1の基本的な印刷処理を
示したフロ−チャ−トである。図2のステップS1,S
2,S3に示すように、ホストコンピュ−タ2からの頁
記述コード10を入力すると、CPU4はこの頁記述コ
ード10を、例えば前記頂点形式の中間デ−タに変換
し、RAM7の各バンド13〜15に記憶する。ステッ
プS4に示すように、頁記述コード10に対応した中間
デ−タへの変換及び各バンド13〜15に対する記憶が
1頁分終了したと判断したとき、ステップS5に示すよ
うに、印刷エンジンがスタ−トされる。
FIG. 2 is a flowchart showing the basic printing process of the printing apparatus 1. Steps S1 and S of FIG.
As shown in S2 and S3, when the page description code 10 from the host computer 2 is input, the CPU 4 converts the page description code 10 into, for example, the intermediate data of the apex format, and each band 13 of the RAM 7 is converted. Store in ~ 15. When it is determined that the conversion into the intermediate data corresponding to the page description code 10 and the storage for each band 13 to 15 have been completed for one page as shown in step S4, the print engine Started.

【0033】しかしながら、上記ステップS1〜S4の
行程で、頁記述コード10に基づく中間デ−タの量が、
バンド13〜15のメモリ残量を越えたとき、所謂メモ
リフルの状態が発生する。又、頁記述コード10を中間
デ−タに変換する処理において各種デ−タを一時的に記
憶する量がワ−クメモリ22のメモリ残量を超えたとき
もメモリフルの状態が発生する。CPU4はこのメモリ
フルの発生を監視しており、メモリ残量が所定以下とな
るメモリフルの状態が発生すると、図3のフロ−チャ−
トに示されたメモリ確保処理に移る。
However, in the process of steps S1 to S4, the amount of intermediate data based on the page description code 10 becomes
When the remaining memory capacity of the bands 13 to 15 is exceeded, a so-called memory full state occurs. Also, in the process of converting the page description code 10 into the intermediate data, when the amount of temporarily storing various data exceeds the memory remaining amount of the work memory 22, the memory full state occurs. The CPU 4 monitors the occurrence of this memory full, and when a memory full state occurs in which the remaining amount of memory is below a predetermined level, the flow chart of FIG.
The process proceeds to the memory allocation process shown in FIG.

【0034】図3のステップS10に示すように、RA
M7の各バンド13〜15に記憶された中間デ−タのう
ち、最も面積の小さい図形を検索する。この図形の検索
においては、例えば図4に示すような図形Lのように長
さ×太さが最も小さな値の図形を探したり、図5に示す
ように図形Mに外接する矩形MBや、図6に示すように
図形Nに外接する矩形NBを生成し、それぞれの中間デ
−タで表される図形の矩形の面積を演算したうえ、最も
小さな面積の矩形が外接した図形を最も面積の小さい図
形と判断する。この矩形MBやNBは、図形Mや図形N
を表す中間デ−タの中でX方向の最小点Xminと最大
点Xmax、Y方向の最小点Yminと最大点Ymax
を周知な方法で求めることにより知ることができる。
尚、この図形検索においては面積が最も小さな図形とす
る以外に、面積が所定値以下の図形を検索しても良い。
As shown in step S10 of FIG.
Of the intermediate data stored in each band 13 to 15 of M7, the graphic having the smallest area is searched. In this figure search, for example, a figure having the smallest value of length × thickness, such as the figure L as shown in FIG. 4, or the rectangle MB circumscribing the figure M as shown in FIG. As shown in FIG. 6, a rectangle NB circumscribing the figure N is generated, the area of the rectangle of the figure represented by each intermediate data is calculated, and the figure circumscribing the rectangle of the smallest area has the smallest area. Judge as a figure. These rectangles MB and NB are figures M and figures N.
Of the intermediate data representing the minimum point Xmin and maximum point Xmax in the X direction, and the minimum point Ymin and maximum point Ymax in the Y direction.
Can be determined by a known method.
In this figure search, a figure having an area less than or equal to a predetermined value may be searched in addition to the figure having the smallest area.

【0035】ステップS11において、CPU4は上記
のようにして検索した図形の中間デ−タが記憶された当
該バンドのアドレスからそのデ−タを消去する。次に、
ステップS12において、RAM7のメモリ残量がメモ
リ要求量より多くなったか否かを判断する。ステップS
12において、RAM7のメモリ残量がメモリ要求量よ
り少なければステップS10に戻り、そのバンドのメモ
リ残量がメモリ要求量より多くなったと判断するまでス
テップS10,11,12を繰り返し、メモリフルの状
態を解消する。
In step S11, the CPU 4 erases the data from the address of the band in which the intermediate data of the graphic retrieved as described above is stored. next,
In step S12, it is determined whether the memory remaining amount of the RAM 7 is larger than the memory request amount. Step S
If the memory remaining amount of the RAM 7 is less than the memory required amount in 12, the process returns to step S10, and steps S10, 11, and 12 are repeated until it is determined that the memory remaining amount of the band is greater than the memory required amount, and the memory is full. To eliminate.

【0036】このようにしてメモリフルの状態が解消
し、頁記述コ−ドに基づいた1ページ分の中間デ−タが
各バンドに記憶されると、図2のステップS5に示すよ
うに印刷エンジンがスタ−トされる。ステップS6,S
7に示すように、各バンド13〜15に記憶された中間
デ−タを、順次バンドバッファ23,24に展開し、印
刷手段9で印刷する。そして、ステップS8に示すよう
に1ページ分の印刷が終了したとき、ステップS9にお
いて紙を送出する。
When the memory full state is resolved in this way and the intermediate data for one page based on the page description code is stored in each band, printing is performed as shown in step S5 of FIG. The engine is started. Steps S6, S
As shown in FIG. 7, the intermediate data stored in each band 13 to 15 is sequentially developed in the band buffers 23 and 24 and printed by the printing means 9. Then, as shown in step S8, when the printing for one page is completed, the paper is fed out in step S9.

【0037】以上のようにメモリフルの状態になって
も、最も面積の小さい、あるいは所定値以下の面積の図
形の中間デ−タを消去することにより、当該バンドのメ
モリ残量を増やし、更にその結果、メモリの再配置やリ
サイズを行うことにより、ワ−クメモリ22の残量を増
やすことができるようになり、目標とする印刷図形が図
7に示すような図形Fである場合、図8に示すように花
や葉の中の線が消去される程度の図形F1になる変形は
あるものの、全体のイメ−ジが確保された出力を得るこ
とができる。また、上記のようなメモリ確保処理を、指
定があった時だけ実行するようにしてもよい。つまり、
上述のようなメモリフルの状態になることがCPU4の
監視処理により予測されてメモリ確保処理に入る前に、
図13に示すフロ−チャ−トのように、RAM7内のモ
−ド設定フラグ(図示せず)がONか否かをチェックし
(ステップS13)、ONならば(ステップS13でY
ES)上述したメモリ確保処理を行い、ONでないなら
ばメモリフルエラ−の処理を行うというものである。こ
のモ−ド設定フラグは、印刷装置1に設けられたパネル
スイッチ(図示せず)によって、ユ−ザ−がON/OF
Fすることが可能であり、あるいは、ホストコンピュ−
タ2から送られてくるモ−ド設定のコマンドによっても
設定可能となっている。このように、ユ−ザ−はこのモ
−ド設定を行うことにより、メモリが不足したとき、図
形の一部を変形してでも、全体の出力を得たい場合に限
って、一部の中間デ−タをRAM7から消去する処理も
行える。
Even when the memory is full as described above, the remaining memory capacity of the band is increased by erasing the intermediate data of the graphic having the smallest area or the area less than the predetermined value. As a result, the remaining amount of the work memory 22 can be increased by rearranging and resizing the memory, and when the target print figure is the figure F as shown in FIG. Although there is a transformation such that the line in the flower or the leaf is erased as shown in FIG. 3, the output with the entire image secured can be obtained. Further, the memory securing process as described above may be executed only when specified. That is,
Before the monitoring process of the CPU 4 predicts that the memory is full as described above and before entering the memory securing process,
As in the flow chart shown in FIG. 13, it is checked whether a mode setting flag (not shown) in the RAM 7 is ON (step S13), and if it is ON (Y in step S13).
ES) The above-mentioned memory allocation processing is performed, and if it is not ON, memory full error processing is performed. This mode setting flag is turned on / off by the user by a panel switch (not shown) provided in the printer 1.
It is possible to do
It can also be set by a mode setting command sent from the computer 2. In this way, the user can set the mode so that when the memory is insufficient, the intermediate part of the figure can be obtained only when the whole output is desired even if the figure is partially deformed. A process of deleting the data from the RAM 7 can also be performed.

【0038】尚、実施の形態として、上述のようにビッ
トマップを用いて印刷する印刷装置1に限らず、ビット
マップを用いて図形を表示する表示装置でも良い。
The embodiment is not limited to the printing device 1 that prints using a bitmap as described above, but may be a display device that displays graphics using a bitmap.

【0039】[0039]

【発明の効果】請求項1に記載の発明によれば、記憶手
段の記憶容量以上に記憶するデ−タが多くなると判断さ
れるとき、消去手段は、記憶された中間デ−タのうちで
面積が所定値より小さい図形となる中間デ−タを検索
し、その中間デ−タを前記記憶手段から消去するため、
記憶手段のメモリ残量に余裕ができて中間デ−タ記憶処
理を続行することが可能になり、出力したとき、目標と
する図形の一部が消去されるが、その頁全体の出力イメ
−ジをつかむことができるという効果がある。
According to the first aspect of the present invention, when it is determined that the amount of data to be stored exceeds the storage capacity of the storage means, the erasing means will use the stored intermediate data. In order to search for intermediate data whose area is smaller than a predetermined value and erase the intermediate data from the storage means,
It becomes possible to continue the intermediate data storage processing because the remaining memory capacity of the storage means becomes large, and when output, a part of the target figure is erased, but the output image of the entire page is output. It has the effect of being able to grab.

【0040】また、請求項2に記載の発明によれば、記
憶手段の記憶容量以上に記憶するデ−タが多くなると判
断されるとき、消去手段は、記憶された中間デ−タのう
ちで面積が最も小さい図形となる中間デ−タを検索し、
その中間デ−タを前記記憶手段から消去するため、記憶
手段のメモリ残量に余裕ができて中間デ−タ記憶処理を
続行することが可能になり、出力したとき、目標とする
図形の一部が消去されるが、その頁全体の出力イメ−ジ
をつかむことができるという効果がある。
Further, according to the second aspect of the invention, when it is determined that the amount of data to be stored exceeds the storage capacity of the storage means, the erasing means includes the stored intermediate data. Search the intermediate data that has the smallest area,
Since the intermediate data is erased from the storage means, the remaining memory capacity of the storage means can be afforded, and the intermediate data storage processing can be continued. Although the copy is erased, there is an effect that the output image of the entire page can be grasped.

【0041】また、請求項3に記載の発明によれば、中
間デ−タの図形の面積の大小判断処理が容易に且つ迅速
になるという効果がある。
Further, according to the third aspect of the invention, there is an effect that the size judgment process of the area of the figure of the intermediate data becomes easy and quick.

【0042】また、請求項4に記載の発明によれば、記
憶手段のメモリ残量が不足した時、モ−ド設定手段によ
り、図形の一部を消去してでも、全体の出力を得たい場
合に限って、消去処理を行うことができるという効果が
ある。
According to the invention described in claim 4, when the memory remaining amount of the storage means is insufficient, it is desired to obtain the entire output even if a part of the figure is erased by the mode setting means. There is an effect that the erasing process can be performed only in the case.

【0043】また、請求項5に記載の発明によれば、出
力デ−タを処理する際、記憶容量以上に記憶するデ−タ
が多くなると判断されるとき、記憶された中間デ−タの
うちで面積が所定値より小さい図形となる中間デ−タを
検索し、その中間デ−タを消去するため、記憶される中
間デ−タ量が減少し、記憶手段のメモリ残量に余裕がで
きて中間デ−タ記憶処理を続行することが可能になり、
出力したとき、目標とする図形の一部が消去されるが、
その頁全体の出力イメ−ジをつかむことができるという
効果がある。
According to the fifth aspect of the present invention, when the output data is processed and it is determined that the amount of data to be stored exceeds the storage capacity, the intermediate data stored will be stored. Among them, since the intermediate data whose area is smaller than the predetermined value is searched and the intermediate data is erased, the amount of the intermediate data to be stored is reduced, and the remaining memory capacity of the storage means has a margin. It is possible to continue the intermediate data storage processing,
When output, part of the target figure is deleted,
There is an effect that the output image of the entire page can be grasped.

【0044】また、請求項6に記載の発明によれば、出
力デ−タを処理する際、記憶容量以上に記憶するデ−タ
が多くなると判断されるとき、記憶された中間デ−タの
うちで面積が最も小さい図形となる中間デ−タを検索
し、その中間デ−タを消去するため、記憶される中間デ
−タ量が減少し、記憶手段のメモリ残量に余裕ができて
中間デ−タ記憶処理を続行することが可能になり、出力
したとき、目標とする図形の一部が消去されるが、その
頁全体の出力イメ−ジをつかむことができるという効果
がある。
According to the sixth aspect of the present invention, when the output data is processed, it is determined that more data will be stored than the storage capacity, the intermediate data stored will be stored. Since the intermediate data having the smallest area is searched and the intermediate data is erased, the amount of intermediate data to be stored is reduced, and the remaining amount of memory in the storage means becomes large. It becomes possible to continue the intermediate data storage process, and when output, a part of the target figure is erased, but there is an effect that the output image of the entire page can be grasped.

【0045】更に、請求項7に記載の発明によれば、中
間デ−タの図形の面積の大小判断処理が容易に且つ迅速
になるという効果がある。
Further, according to the invention described in claim 7, there is an effect that the size judgment processing of the area of the figure of the intermediate data becomes easy and speedy.

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

【図1】印刷装置の制御構成を示した制御体系図であ
る。
FIG. 1 is a control system diagram showing a control configuration of a printing apparatus.

【図2】印刷装置の制御フロ−チャ−トである。FIG. 2 is a control flowchart of the printing apparatus.

【図3】メモリ確保処理フロ−チャ−トである。FIG. 3 is a memory reservation processing flow chart.

【図4】作用説明図である。FIG. 4 is an operation explanatory view.

【図5】作用説明図である。FIG. 5 is an operation explanatory view.

【図6】作用説明図である。FIG. 6 is an operation explanatory view.

【図7】目標とする印刷図形例を示した図である。FIG. 7 is a diagram showing an example of a target print figure.

【図8】メモリフル発生時の印刷図形例を示した図であ
る。
FIG. 8 is a diagram showing an example of a printed figure when a memory full occurs.

【図9】頁記述コ−ドの内容を示した図である。FIG. 9 is a diagram showing the contents of a page description code.

【図10】ビットマップ説明図である。FIG. 10 is an explanatory diagram of a bitmap.

【図11】バンド処理の説明図である。FIG. 11 is an explanatory diagram of band processing.

【図12】目標とする印刷図形例を示した図である。FIG. 12 is a diagram showing an example of a target print figure.

【図13】モ−ド設定のフロ−チャ−トである。FIG. 13 is a flow chart of mode setting.

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

1 印刷装置 2 ホストコンピュ−タ 4 CPU 6 ROM 7 RAM 9 印刷手段 13,14,15 バンド 23,24 バンドバッファ 1 Printer 2 Host Computer 4 CPU 6 ROM 7 RAM 9 Printing Means 13, 14, 15 Bands 23, 24 Band Buffer

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 入力される出力デ−タを出力図形に対応
した中間デ−タに変換する変換手段と、前記中間デ−タ
をビットマップに展開するビットマップ展開手段と、前
記ビットマップに基づいて出力する出力手段と、前記各
手段が処理を行う際、一時的に発生する各種デ−タと前
記変換手段により得られる中間デ−タを記憶する記憶手
段とを備える出力装置において、 前記記憶手段の記憶容量以上に記憶するデ−タが多くな
ると判断されるとき、記憶された中間デ−タのうちで面
積が所定値より小さい図形となる中間デ−タを検索し、
その中間デ−タを前記記憶手段から消去する消去手段を
備えたことを特徴とする出力装置。
1. A conversion means for converting input output data into intermediate data corresponding to an output graphic, a bit map expanding means for expanding the intermediate data into a bit map, and the bit map An output device comprising: an output unit for outputting based on the above; a storage unit for storing various data temporarily generated when each of the units performs processing; and a storage unit for storing intermediate data obtained by the conversion unit, When it is determined that there will be more data to be stored than the storage capacity of the storage means, the stored intermediate data is searched for intermediate data whose area is smaller than a predetermined value.
An output device comprising erasing means for erasing the intermediate data from the storage means.
【請求項2】 入力される出力デ−タを出力図形に対応
した中間デ−タに変換する変換手段と、前記中間デ−タ
をビットマップに展開するビットマップ展開手段と、前
記ビットマップに基づいて出力する出力手段と、前記各
手段が処理を行う際、一時的に発生する各種デ−タと前
記変換手段により得られる中間デ−タを記憶する記憶手
段とを備える出力装置において、 前記記憶手段の記憶容量以上に記憶するデ−タが多くな
ると判断されるとき、記憶された中間デ−タのうちで面
積が最も小さい図形となる中間デ−タを検索し、その中
間デ−タを前記記憶手段から消去する消去手段を備えた
ことを特徴とする出力装置。
2. A conversion means for converting input output data into intermediate data corresponding to an output figure, a bit map expanding means for expanding the intermediate data into a bit map, and the bit map An output device comprising: an output unit for outputting based on the above; a storage unit for storing various data temporarily generated when each of the units performs processing; and a storage unit for storing intermediate data obtained by the conversion unit, When it is determined that there will be more data to be stored than the storage capacity of the storage means, the intermediate data having the smallest area is retrieved from among the stored intermediate data, and the intermediate data is retrieved. An output device comprising: an erasing means for erasing the data from the storage means.
【請求項3】 前記面積は、中間デ−タで表される図形
に外接する矩形の面積とすることを特徴とする請求項1
あるいは請求項2のいずれかに記載の出力装置。
3. The area is a rectangular area circumscribing a figure represented by intermediate data.
Alternatively, the output device according to claim 2.
【請求項4】 前記消去手段を有効にするか否かを設定
するモ−ド設定手段を備えたことを特徴とする請求項1
から請求項3のいずれかに記載の出力装置。
4. A mode setting means for setting whether or not the erasing means is enabled is provided.
4. The output device according to claim 3.
【請求項5】 出力デ−タを出力図形に対応した中間デ
−タに変換して記憶し、その中間デ−タをビットマップ
に展開し、そのビットマップに基づいて出力する出力方
法において、 前記出力デ−タを処理する際、記憶容量以上に記憶する
デ−タが多くなると判断されるとき、記憶された中間デ
−タのうちで面積が所定値より小さい図形となる中間デ
−タを検索し、その中間デ−タを消去することを特徴と
する出力方法。
5. An output method for converting output data into intermediate data corresponding to an output graphic and storing the intermediate data, developing the intermediate data into a bit map, and outputting based on the bit map. When it is determined that more data will be stored than the storage capacity when the output data is processed, the intermediate data stored becomes a graphic whose area is smaller than a predetermined value among the stored intermediate data. Is output and the intermediate data is deleted, and the output method is characterized.
【請求項6】 出力デ−タを出力図形に対応した中間デ
−タに変換して記憶し、その中間デ−タをビットマップ
に展開し、そのビットマップに基づいて出力する出力方
法において、 前記出力デ−タを処理する際、記憶容量以上に記憶する
デ−タが多くなると判断されるとき、記憶された中間デ
−タのうちで面積が最も小さい図形となる中間デ−タを
検索し、その中間デ−タを消去することを特徴とする出
力方法。
6. An output method for converting output data into intermediate data corresponding to an output graphic, storing the intermediate data, developing the intermediate data into a bit map, and outputting based on the bit map. When processing the output data, when it is determined that the amount of data to be stored exceeds the storage capacity, the intermediate data having the smallest area is searched from the stored intermediate data. Then, the intermediate data is erased, and the output method is characterized.
【請求項7】 上記面積は、中間デ−タで表される図形
に外接する矩形の面積とすることを特徴とする請求項5
あるいは請求項6のいずれかに記載の出力方法。
7. The area is a rectangular area circumscribing a figure represented by intermediate data.
Alternatively, the output method according to claim 6.
JP7343346A 1995-12-28 1995-12-28 Output unit and output method Pending JPH09174959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7343346A JPH09174959A (en) 1995-12-28 1995-12-28 Output unit and output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7343346A JPH09174959A (en) 1995-12-28 1995-12-28 Output unit and output method

Publications (1)

Publication Number Publication Date
JPH09174959A true JPH09174959A (en) 1997-07-08

Family

ID=18360816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7343346A Pending JPH09174959A (en) 1995-12-28 1995-12-28 Output unit and output method

Country Status (1)

Country Link
JP (1) JPH09174959A (en)

Similar Documents

Publication Publication Date Title
JP3018337B2 (en) Image processing device
EP1187059B1 (en) Method and apparatus for printing computer generated images
JPH06149494A (en) Method and device for print information processing
WO1997033219A1 (en) Image processor
JP2755308B2 (en) Output method and device
JPH0916149A (en) Character processor, character processing method, and memory
JPH0619699B2 (en) Page printer control method
JPH09174959A (en) Output unit and output method
JPH10202962A (en) Apparatus for processing printing data and apparatus for forming input data
JPH09174958A (en) Output apparatus and method
JP3450961B2 (en) Printing apparatus and control method thereof
JPH05270055A (en) Image recording method and device, and information processing method
JP3204136B2 (en) Image processing apparatus and compression processing method
JP3450958B2 (en) Printing apparatus and printing method
JPH09188011A (en) Apparatus and method for controlling memory means
JP2711860B2 (en) Output control method and device
JPH09277619A (en) Printer and printing method
JP3817077B2 (en) Print processing system and image forming apparatus
JPH0516450A (en) Data output apparatus
JPH10207662A (en) Image processor, image processing method, and image processing program storage medium
JPH0462080A (en) Printing device
JP2965681B2 (en) Image forming device
JPH03112668A (en) Printer
JP2974638B2 (en) Document processing apparatus and method
JP2715475B2 (en) Graphic output device