JPH08216462A - Printer and its control - Google Patents

Printer and its control

Info

Publication number
JPH08216462A
JPH08216462A JP7021596A JP2159695A JPH08216462A JP H08216462 A JPH08216462 A JP H08216462A JP 7021596 A JP7021596 A JP 7021596A JP 2159695 A JP2159695 A JP 2159695A JP H08216462 A JPH08216462 A JP H08216462A
Authority
JP
Japan
Prior art keywords
compression
data
binary data
compressed
comparison
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
JP7021596A
Other languages
Japanese (ja)
Inventor
Yuuya Hayata
裕冶 早田
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 JP7021596A priority Critical patent/JPH08216462A/en
Publication of JPH08216462A publication Critical patent/JPH08216462A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To restrain the capacity of a memory occupied by bit-mapped information by providing a comparison process for comparing compression efficiency by the first compression process and compression efficiency by the second compression process. CONSTITUTION: Bit-mapped data are inputted from an external device and developed to a bit-map (S101). The data developed to the bit-map are read from a RAM part, and the bit-mapped data read with an image data converting circuit are compressed (S102). The data compressed once are stored in the RAM part again to send the attribute information of the compressed data to the comparison circuit. The data stored once are read from the RAM part and compressed, and the attribute information of the data compressed twice are sent to the comparison circuit (S102, S103). Based on the attribute which the comparison circuit receives, the comparison of compression ratio to an original image is carried out (S104).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば印刷情報を受信
して印刷をおこなう印刷装置およびその制御方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus for receiving print information and printing, and a control method thereof.

【0002】[0002]

【従来の技術】従来、外部装置よりコードデータを受け
取り、そのコードデータに応じて、メモリ上にデータを
展開する装置としては、プリンタの印字速度を上げるた
め、スケーラブルフォントを予め展開し、メモリ上にビ
ットマップフォントとして情報を格納し、フォントキャ
ッシュとし使用出来るように構成されている。
2. Description of the Related Art Conventionally, as a device for receiving code data from an external device and developing the data in a memory according to the code data, a scalable font is previously developed in the memory in order to increase the printing speed of a printer. The information is stored as a bitmap font in and can be used as a font cache.

【0003】[0003]

【発明が解決しようとする課題】しかしながらこのよう
な装置としては、フォントの情報がビットマップ情報に
展開されているため、フォントキャッシュとして使用す
るメモリの範囲を広くとることとなり、他の作業で使用
するメモリの範囲を限定する結果になるばかりか、メモ
リを増設することにより装置自体の価格を上げることに
なる。
However, in such a device, since the font information is expanded into the bitmap information, the range of the memory used as the font cache is widened and it is used in other work. In addition to limiting the range of memory to be used, the price of the device itself will be increased by adding more memory.

【0004】本発明は上記従来例に鑑みてなされたもの
で、ビットマップ情報により占拠されるメモリの容量を
抑制し、効率良くメモリを使用する印刷制御装置および
その方法を提供することを目的とする。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide a print control apparatus and method for suppressing the capacity of the memory occupied by the bitmap information and efficiently using the memory. To do.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明の印刷装置およびその制御方法は次のような
構成から成る。すなわち、2値データを格納し、それを
基に印刷出力する印刷制御方法であって、2値データを
圧縮して格納する第1の圧縮工程と、該第1の圧縮工程
により圧縮された2値データを更に圧縮する第2の圧縮
工程と、前記第1の圧縮工程による圧縮効率と、前記第
2の圧縮工程による圧縮効率とを比較する比較工程とを
備え、該比較工程による比較の結果、前記第2の圧縮工
程による圧縮効率が高ければ、前記第2の圧縮工程によ
り得られた2値データを格納し、該格納された2値デー
タについて前記第2の圧縮工程から繰り返す。
In order to achieve the above object, a printing apparatus and a control method thereof according to the present invention have the following constitution. That is, it is a print control method of storing binary data and printing out based on the binary data. A first compression step of compressing and storing the binary data and a second compression step performed by the first compression step. A second compression step of further compressing the value data, a comparison step of comparing the compression efficiency of the first compression step with the compression efficiency of the second compression step, and the result of the comparison by the comparison step. If the compression efficiency in the second compression step is high, the binary data obtained in the second compression step is stored, and the stored binary data is repeated from the second compression step.

【0006】また、本発明の印刷制御方法は次のような
構成から成る。すなわち、2値データを格納し、それを
基に印刷出力する印刷装置であって、2値データを圧縮
して格納する第1の圧縮手段と、該第1の圧縮手段によ
り圧縮された2値データを更に圧縮する第2の圧縮手段
と、前記第1の圧縮手段による圧縮効率と、前記第2の
圧縮手段による圧縮効率とを比較する比較手段と、該比
較手段による比較の結果、前記第2の圧縮手段による圧
縮効率が高ければ、前記第2の圧縮手段により得られた
2値データを格納し、該2値データについて更に前記第
1の圧縮手段から繰り返すべく制御する制御手段とを備
える。
The print control method of the present invention has the following configuration. That is, a printing apparatus that stores binary data and prints out based on the binary data, and includes a first compression unit that compresses and stores the binary data, and a binary value compressed by the first compression unit. A second compression means for further compressing the data, a comparison means for comparing the compression efficiency by the first compression means with the compression efficiency by the second compression means, and a result of the comparison by the comparison means, If the compression efficiency of the second compression means is high, the binary data obtained by the second compression means is stored, and the binary data is further controlled by the first compression means. .

【0007】[0007]

【作用】上記構成により、圧縮されたデータを更に圧縮
することを、圧縮効率があがらなくなるまで繰り返すこ
とで、最も効率良くデータを圧縮することができる。
With the above structure, the data can be compressed most efficiently by further compressing the compressed data until the compression efficiency is not improved.

【0008】[0008]

【実施例】以下に添付の図面を用いて本発明の実施例に
ついて説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0009】図3は本実施例のプリンタを適用した印刷
システムを表す図である。
FIG. 3 is a diagram showing a printing system to which the printer of this embodiment is applied.

【0010】図面において3はプリンタであり、ホスト
コンピュータ等の各種外部装置よりデータを入力し、記
録媒体上への記録を実行する。
In the drawing, reference numeral 3 denotes a printer, which inputs data from various external devices such as a host computer and executes recording on a recording medium.

【0011】本実施例において、プリンタ3にはレーザ
ビームプリンタが適用されている。以下に本実施例を適
応するレーザビームプリンタの構成について図3を参照
して説明する。
In this embodiment, a laser beam printer is used as the printer 3. The configuration of the laser beam printer to which this embodiment is applied will be described below with reference to FIG.

【0012】図3は本実施例のプリンタ3の内部構造を
示す断面図で、このプリンタ3は不図示のデータ源から
文字パターンの登録が行える。
FIG. 3 is a sectional view showing the internal structure of the printer 3 of this embodiment. The printer 3 can register a character pattern from a data source (not shown).

【0013】図3において、3はプリンタ本体であり、
外部に接続されているホストコンピュータから供給され
る印字情報(文字コード等)やフォーム情報或いはマク
ロ命令などを入力して記憶するとともに、それらの情報
に従って対応する文字パターンやフォームパターン等を
作成し、記録媒体である記録紙上に像を形成する。
In FIG. 3, 3 is a printer main body,
Input and store print information (character code etc.) and form information or macro command etc. supplied from the externally connected host computer, and create corresponding character patterns and form patterns according to those information, An image is formed on a recording paper which is a recording medium.

【0014】300は各種操作のためのスイッチ及びL
ED表示器などが配されている操作パネル、301はプ
リンタ3における全体の制御を実行すると共に、ホスト
コンピュータ等から供給される文字情報などを解析する
プリンタ制御ユニットである。
Reference numeral 300 is a switch for various operations and L
An operation panel 301 provided with an ED display and the like is a printer control unit 301 for performing overall control of the printer 3 and analyzing character information supplied from a host computer or the like.

【0015】このプリンタ制御ユニット301は主に文
字情報を対応する文字パターンのビデオ信号に変換して
レーザドライバ302に出力する。
The printer control unit 301 mainly converts character information into a video signal of a corresponding character pattern and outputs it to the laser driver 302.

【0016】レーザドライバ302は半導体レーザ30
3を駆動するための回路であり、入力されたビデオ信号
に応じて半導体レーザ303から発射されるレーザ光3
04のオン・オフを切り換える。
The laser driver 302 is a semiconductor laser 30.
3 is a circuit for driving the laser beam 3, and the laser beam 3 emitted from the semiconductor laser 303 in accordance with the input video signal.
Switch 04 on / off.

【0017】このレーザ光304は回転多面鏡305で
左右方向にふらされて静電ドラム306上には文字パタ
ーンの静電潜像が形成されることになる。この潜像は静
電ドラム306の周囲に配置された現像ユニット307
により現像された後、記録紙にはカットシートを用い、
カットシート記録紙はLBP3に装着した用紙カセット
308に収納され、給紙ローラ309及び搬送ローラ3
10と311により、装置内に取り込まれて、静電ドラ
ム306に供給される。
The laser beam 304 is deflected in the left-right direction by the rotary polygon mirror 305, and an electrostatic latent image of a character pattern is formed on the electrostatic drum 306. The latent image is formed on the developing unit 307 arranged around the electrostatic drum 306.
After development by, use a cut sheet for recording paper,
The cut sheet recording paper is stored in the paper cassette 308 attached to the LBP 3, and the paper feed roller 309 and the transport roller 3
It is taken into the apparatus by 10 and 311 and supplied to the electrostatic drum 306.

【0018】図1は上述のプリンタ3におけるプリンタ
制御ユニット301の詳細構成を表すブロック図であ
る。同図において、101はインタフェース部(I/
F)であり、外部装置(ホストコンピュータ102やイ
メージスキャナ等)よりコードデータやイメージデータ
を入力する。102はCPUであり、本プリンタ全体の
制御を行う。103は記録部110との通信を行うため
のインタフェース部(I/F部)である。104はペー
ジバッファメモリであり、ホストコンピュータから送ら
れてきた1ページ分の記録データを蓄えておく。
FIG. 1 is a block diagram showing the detailed arrangement of the printer control unit 301 in the printer 3 described above. In the figure, 101 is an interface unit (I /
F), in which code data and image data are input from an external device (host computer 102, image scanner, etc.). A CPU 102 controls the entire printer. An interface unit (I / F unit) 103 communicates with the recording unit 110. A page buffer memory 104 stores print data for one page sent from the host computer.

【0019】105はワークバッファメモリであり、C
PU102が各種制御を実行する際に必要な作業領域を
提供する。106はフレームバッファメモリであり、記
録データに含まれるコードデータを展開して得られたイ
メージデータや、イメージスキャナから入力したイメー
ジデータ等を格納する。112はフォントキャッシュ用
のメモリ領域である。なお、上記のページバッファメモ
リ104、ワークバッファメモリ105、フレームバッ
ファメモリ106、フォントキャッシュメモリ112は
それぞれRAMで構成されている。
Reference numeral 105 denotes a work buffer memory, which is C
It provides a work area required when the PU 102 executes various controls. A frame buffer memory 106 stores image data obtained by expanding the code data included in the print data, image data input from the image scanner, and the like. Reference numeral 112 is a memory area for the font cache. The page buffer memory 104, the work buffer memory 105, the frame buffer memory 106, and the font cache memory 112 are each composed of RAM.

【0020】107はファームメモリであり、CPU1
02が実行各種制御プログラム(ファームウェア)を格
納する。108はフォントメモリであり、コードデータ
をイメージ展開するための各種フォントデータが格納さ
れている。上記のファームメモリ107、フォントメモ
リ108はそれぞれROMで構成されている。
Reference numeral 107 denotes a firmware memory, which is the CPU 1
02 stores various control programs (firmware) executed. Reference numeral 108 denotes a font memory, which stores various font data for developing an image of code data. The firmware memory 107 and the font memory 108 are each composed of a ROM.

【0021】また、109はメモリ制御部であり、コー
ドデータを展開して得られたイメージデータやイメージ
スキャナより入力したイメージデータをフレームバッフ
ァメモリ106に転送、格納するとともに、イメージデ
ータをビデオ信号として出力するためにフレームバッフ
ァメモリ106よりも読みだしの制御を行う。110は
記録部であり、上記のレーザビーム方式によりI/F部
103を介して入力したビデオ信号に従って記録紙上に
画像を形成する。
A memory control unit 109 transfers image data obtained by expanding the code data and image data input from the image scanner to the frame buffer memory 106 for storage and stores the image data as a video signal. In order to output, the reading control is performed rather than the frame buffer memory 106. A recording unit 110 forms an image on a recording sheet according to the video signal input through the I / F unit 103 by the above laser beam method.

【0022】次に図4フローチャート1を参照し本実施
例の動作説明を行う。
Next, the operation of this embodiment will be described with reference to the flowchart 1 of FIG.

【0023】まず、ステップS101より、外部装置よ
りビットマップデータを入力するか、またはフォントメ
モリ108からフォント情報を読み出して、ビットマッ
プに展開する。
First, in step S101, bitmap data is input from an external device or font information is read from the font memory 108 and developed into a bitmap.

【0024】ステップS102では、ビットマップに展
開されたデータをRAM部から読みだし、図2の画像デ
ータ変換回路111を使用して読み出したビットマップ
データを圧縮し、1回圧縮されたデータ(データ#1)
を再びRAM部に格納すると共に比較回路202に圧縮
データの大きさあるいは圧縮率等を含む属性情報を送
る。
In step S102, the data expanded in the bit map is read from the RAM section, the read bit map data is compressed using the image data conversion circuit 111 of FIG. # 1)
Is stored again in the RAM section and attribute information including the size or compression rate of the compressed data is sent to the comparison circuit 202.

【0025】次にステップS103により、ステップS
102で一旦格納したデータ#1をRAM部から読みだ
して更に圧縮を行い、2回圧縮されたデータ(データ#
2)を作成し、その属性情報を比較回路202に送る。
Next, in step S103, step S
The data # 1 once stored at 102 is read from the RAM section and further compressed, and the data compressed twice (data # 1
2) is created and the attribute information is sent to the comparison circuit 202.

【0026】ステップS104においては、比較回路2
02が、ステップS102,S103で受け取った属性
情報を基に原画像に対する圧縮率(圧縮効率と呼ぶ)の
比較を行う。圧縮データ#2の圧縮効率が高ければ、ス
テップS106より、圧縮回路201がRAM部に格納
した圧縮データ#1を圧縮データ#2に書き直し、再び
ステップS103に戻る。なお、ステップS106にお
いてデータをRAM部に格納する際には、何回圧縮が行
われているデータであるかを示す情報もともに格納して
おく。
In step S104, the comparison circuit 2
02 compares the compression rate (called compression efficiency) with respect to the original image based on the attribute information received in steps S102 and S103. If the compression efficiency of the compressed data # 2 is high, the compressed circuit 201 rewrites the compressed data # 1 stored in the RAM section into the compressed data # 2 from step S106, and the process returns to step S103 again. When the data is stored in the RAM unit in step S106, information indicating how many times the data has been compressed is also stored.

【0027】ステップS103からは、今度は元データ
をデータ#1に、データ#1をデータ#2に置き換えて
前述の処理をおこなう。
From step S103, the original data is replaced with the data # 1 and the data # 1 is replaced with the data # 2, and the above-described processing is performed.

【0028】このように、圧縮データ#nを圧縮して圧
縮データ#(n+1)を作成し、圧縮データ1と圧縮デ
ータ2の比較を行い、圧縮効率が上がるかぎり、この作
業を繰り返す。なお、図4においては、元データはデー
タ#0として表している。
In this way, the compressed data #n is compressed to create the compressed data # (n + 1), the compressed data 1 and the compressed data 2 are compared, and this operation is repeated as long as the compression efficiency is improved. In FIG. 4, the original data is represented as data # 0.

【0029】ステップS105において圧縮データ#n
の圧縮効率が高ければ、直前にRAM部に格納した圧縮
データ#nを圧縮データとしてそのまま格納しておく。
In step S105, the compressed data #n
If the compression efficiency is high, the compressed data #n stored in the RAM section immediately before is stored as the compressed data as it is.

【0030】逆に、RAM部に格納されている圧縮デー
タをビットマップに展開する場合には、展開回路203
により、圧縮データに付加された圧縮回数に応じた回数
だけ展開され、フレームメモリ106上に書き込まれ
る。
On the contrary, when the compressed data stored in the RAM section is expanded into a bitmap, the expansion circuit 203
As a result, the compressed data is expanded a number of times corresponding to the number of times of compression added to the compressed data and written in the frame memory 106.

【0031】なお、ステップS105においては、圧縮
されたデータ量そのものを比較してもよい。 <圧縮手順の一例>ここで、図4ステップS102,S
103で行われるデータ圧縮の一例を説明する。図5は
圧縮のしかたを表している図である。
In step S105, the compressed data amounts themselves may be compared. <Example of compression procedure> Here, steps S102 and S in FIG.
An example of data compression performed in 103 will be described. FIG. 5 is a diagram showing a compression method.

【0032】図5(a)は、2値画像の一例であり、白
い升目は白画素であり、黒い升目は黒画素である。な
お、この黒い矩形領域は描かれていない上方領域から続
いているものとする。図5(b)は、(a)の画像を圧
縮したデータであり、原画像の各ラインに対応してライ
ン毎に定まる3種の値A,B,Cを含んでいる。値A
は、対象となるラインと直前のラインとを比較して、色
の異なる画素間の境界であるエッジの数が変化した値で
ある。図5ではすべてのラインにおいてエッジの数は2
であるため変化はなく、値Aはすべて0となっている。
また、値Bは直前のラインと比べて左側のエッジが移動
した量であり、値Cは右側のエッジが移動した量である
(エッジ数はその性格上偶数であるためこのように定義
できる)。図5ではいずれのエッジも移動していないた
め、値B,Cともにすべて0となっている。ここでは示
していないが、先頭のラインについては、そのエッジの
位置を符号で示す等の方法により符号化することができ
る。そのため、図5(a)の画像を圧縮して得られるデ
ータは、先頭のラインのエッジ位置を示す符号と、図5
(b)のように第2ライン目以降を符号化して得られた
0の列である。
FIG. 5A is an example of a binary image, in which white squares are white pixels and black squares are black pixels. It is assumed that this black rectangular area continues from the upper area that is not drawn. FIG. 5B is data obtained by compressing the image of FIG. 5A, and includes three types of values A, B, and C that are determined for each line of the original image. Value A
Is a value obtained by comparing the target line with the immediately preceding line and changing the number of edges which are boundaries between pixels of different colors. In Figure 5, the number of edges is 2 for all lines.
Therefore, there is no change and all the values A are 0.
Further, the value B is the amount of movement of the left side edge compared to the immediately preceding line, and the value C is the amount of movement of the right side edge (the number of edges is an even number in terms of its character, and can be defined in this way) . In FIG. 5, since neither edge has moved, both the values B and C are 0. Although not shown here, the leading line can be coded by a method such as showing the position of the edge with a code. Therefore, the data obtained by compressing the image of FIG. 5A includes the code indicating the edge position of the leading line and the data of FIG.
It is a sequence of 0s obtained by encoding the second and subsequent lines as shown in (b).

【0033】図5(c)は1回の圧縮によって得られた
データの一部を示しており、図5(b)を並び変えたも
のである。圧縮の結果得られるデータはバイナリデータ
であり、画像のビットマップデータと同様に圧縮するこ
とができる。図5(c)において、0を白画素とみなせ
ば、図5(a),(b)で示したのと同様の方法で図5
(d)のように圧縮できる。図示してはいないが、前に
述べたように、この場合には先頭のラインについてはエ
ッジ位置を示しているためすべて0ではないが、図5
(c)がすべて白画素であってエッジが無ければ、エッ
ジの移動を示す値B,Cは不要となり、更に圧縮の効率
をあげることができる。もちろん、図5(d)のデータ
を更に圧縮することも可能である。
FIG. 5 (c) shows a part of the data obtained by one compression, which is a rearranged version of FIG. 5 (b). The data obtained as a result of the compression is binary data and can be compressed in the same manner as the bitmap data of the image. In FIG. 5C, if 0 is regarded as a white pixel, the same method as shown in FIGS. 5A and 5B is used.
It can be compressed as in (d). Although not shown in the drawing, as described above, in this case, the leading line indicates the edge position, so that all are not 0.
If (c) is all white pixels and there is no edge, the values B and C indicating the movement of the edge are unnecessary, and the compression efficiency can be further improved. Of course, the data shown in FIG. 5D can be further compressed.

【0034】このように、圧縮の方法や圧縮対象の画像
データによっては圧縮を繰り返すことで原画像に対する
圧縮率を高めていくことができるため、図4の手順で圧
縮を行うことが極めて有効である。
As described above, depending on the compression method and the image data to be compressed, the compression rate for the original image can be increased by repeating the compression. Therefore, it is extremely effective to perform the compression in the procedure of FIG. is there.

【0035】以上のように、高い圧縮率で圧縮した画像
データをRAM部に格納しておくため、ビットマップデ
ータをそのまま格納するのに比べてメモリを有効に使用
することができる。
As described above, since the image data compressed at a high compression rate is stored in the RAM section, the memory can be used more effectively than when the bitmap data is stored as it is.

【0036】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0037】[0037]

【発明の効果】以上説明したように、本発明にかかる印
刷装置およびその制御方法は、データの圧縮効率を上
げ、内部メモリを有効に使うことが出来るという効果を
奏する。
As described above, the printing apparatus and the control method thereof according to the present invention have the effects of increasing the data compression efficiency and effectively using the internal memory.

【0038】[0038]

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

【図1】本実施例のプリンタのブロック図である。FIG. 1 is a block diagram of a printer of this embodiment.

【図2】本実施例のプリンタにおける画像データ変換回
路のブロック図である。
FIG. 2 is a block diagram of an image data conversion circuit in the printer of this embodiment.

【図3】本実施例のプリンタの内部構造を示す断面図で
ある。
FIG. 3 is a cross-sectional view showing the internal structure of the printer of this embodiment.

【図4】本実施例のプリンタによるビットマップデータ
格納手順のフローチャートである。
FIG. 4 is a flowchart of a bitmap data storage procedure by the printer of this embodiment.

【図5】二重圧縮による圧縮率の違いを示した図であ
る。
FIG. 5 is a diagram showing a difference in compression rate due to double compression.

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

101 I/F部 102 CPU 103 I/F部 104 ページバッファ 105 ワークバッファ 106 フレームメモリ 107 ファームメモリ 108 フォントメモリ 109 制御部 110 記録部 111 画像データ変換回路 112 フォントキャッシュ用メモリ 101 I / F section 102 CPU 103 I / F section 104 Page buffer 105 Work buffer 106 Frame memory 107 Firmware memory 108 Font memory 109 Control section 110 Recording section 111 Image data conversion circuit 112 Font cache memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 2値データを格納し、それを基に印刷出
力する印刷制御方法であって、 2値データを圧縮して格納する第1の圧縮工程と、 該第1の圧縮工程により圧縮された2値データを更に圧
縮する第2の圧縮工程と、 前記第1の圧縮工程による圧縮効率と、前記第2の圧縮
工程による圧縮効率とを比較する比較工程とを備え、 該比較工程による比較の結果、前記第2の圧縮工程によ
る圧縮効率が高ければ、前記第2の圧縮工程により得ら
れた2値データを格納し、該格納された2値データにつ
いて前記第2の圧縮工程から繰り返すことを特徴とする
印刷制御方法。
1. A print control method for storing binary data and printing out based on the binary data, comprising a first compression step of compressing and storing the binary data, and compression by the first compression step. A second compression step of further compressing the binary data obtained, and a comparison step of comparing the compression efficiency of the first compression step with the compression efficiency of the second compression step. As a result of the comparison, if the compression efficiency in the second compression step is high, the binary data obtained in the second compression step is stored, and the stored binary data is repeated from the second compression step. A printing control method characterized by the above.
【請求項2】 前記第1と第2の圧縮工程は、2値デー
タを所定の大きさに区分し、隣接する区分のデータの差
異に基づいて圧縮を行うことを特徴とする請求項1に記
載の印刷制御方法。
2. The first and second compression steps divide the binary data into a predetermined size and perform compression based on a difference between data in adjacent divisions. The print control method described.
【請求項3】 2値データを格納し、それを基に印刷出
力する印刷装置であって、 2値データを圧縮して格納する第1の圧縮手段と、 該第1の圧縮手段により圧縮された2値データを更に圧
縮する第2の圧縮手段と、 前記第1の圧縮手段による圧縮効率と、前記第2の圧縮
手段による圧縮効率とを比較する比較手段と、 該比較手段による比較の結果、前記第2の圧縮手段によ
る圧縮効率が高ければ、前記第2の圧縮手段により得ら
れた2値データを格納し、該2値データについて更に前
記第1の圧縮手段から繰り返すべく制御する制御手段
と、を備えることを特徴とする印刷装置。
3. A printing apparatus which stores binary data and prints out based on the binary data, comprising first compression means for compressing and storing the binary data, and compression by the first compression means. Second compression means for further compressing the binary data, comparison means for comparing the compression efficiency by the first compression means with the compression efficiency by the second compression means, and the result of the comparison by the comparison means. If the compression efficiency of the second compression means is high, the control means for storing the binary data obtained by the second compression means and controlling the binary data to be repeated from the first compression means. A printing device comprising:
【請求項4】 前記第1と第2の圧縮手段は、2値デー
タを所定の大きさに区分し、隣接する区分のデータの差
異に基づいて圧縮を行うことを特徴とする請求項3に記
載の印刷装置。
4. The first and second compression means divides binary data into a predetermined size, and performs compression based on a difference between data in adjacent divisions. The printing device described.
JP7021596A 1995-02-09 1995-02-09 Printer and its control Pending JPH08216462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7021596A JPH08216462A (en) 1995-02-09 1995-02-09 Printer and its control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7021596A JPH08216462A (en) 1995-02-09 1995-02-09 Printer and its control

Publications (1)

Publication Number Publication Date
JPH08216462A true JPH08216462A (en) 1996-08-27

Family

ID=12059425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7021596A Pending JPH08216462A (en) 1995-02-09 1995-02-09 Printer and its control

Country Status (1)

Country Link
JP (1) JPH08216462A (en)

Similar Documents

Publication Publication Date Title
JP2922680B2 (en) Compressed image storage method for high-resolution computer graphics
EP0575134B1 (en) Method and apparatus for printing according to a graphic language
US20050254713A1 (en) Image processing using processing by bands and fixed-size work buffer
JP3297445B2 (en) Output method and device
JP3728183B2 (en) Printing control apparatus, drawing control apparatus, data processing method, and storage medium
JP3203660B2 (en) Image recording device
JPH08216462A (en) Printer and its control
JPH11165434A (en) Lithography processing device
US6246795B1 (en) Image processing apparatus and method
JP4474487B2 (en) Image processing apparatus and image processing method
JP3204136B2 (en) Image processing apparatus and compression processing method
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JP3428817B2 (en) Print control device and method
JPH10151815A (en) Printing-processing apparatus
JPH04323058A (en) Output method and apparatus
JP3591096B2 (en) How to control a page printer
JP3117987B2 (en) Image processing device
JPH04182822A (en) Printer device
JP3757297B2 (en) Printing device
JP3327744B2 (en) Recording apparatus and method, and computer control apparatus
JPH07137355A (en) Image processor
JP2006159458A (en) Image output device
JP2001053957A (en) Printer host, printer, printer system and storage medium storing program for converting plotting instruction to binarized image data
JPH10191066A (en) Image processor
JPH05205015A (en) Image processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020610