JP2013146907A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2013146907A
JP2013146907A JP2012008439A JP2012008439A JP2013146907A JP 2013146907 A JP2013146907 A JP 2013146907A JP 2012008439 A JP2012008439 A JP 2012008439A JP 2012008439 A JP2012008439 A JP 2012008439A JP 2013146907 A JP2013146907 A JP 2013146907A
Authority
JP
Japan
Prior art keywords
compression
print information
information
data
print
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
JP2012008439A
Other languages
Japanese (ja)
Other versions
JP5782388B2 (en
Inventor
Takeshi Shintani
武史 新谷
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2012008439A priority Critical patent/JP5782388B2/en
Publication of JP2013146907A publication Critical patent/JP2013146907A/en
Application granted granted Critical
Publication of JP5782388B2 publication Critical patent/JP5782388B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the utilization efficiency of a memory by enhancing the effectiveness of compression processing.SOLUTION: An image forming apparatus includes: a print information compression means 35 which compresses print information using an arbitrary compression method out of a plurality of compression methods, and stores the compressed print information in a memory; and a compressed information expansion means 36 which expands and outputs the print information stored in the memory. The print information compression means 35 compresses the print information by sequentially changing the compression methods, stores the print information in the memory when the print information with a compression rate satisfying an expected value is detected, and selects the print information with the highest compression rate and stores the information in the memory when the print information with the compression rate satisfying the expected value is not detected.

Description

本発明は、印刷情報を圧縮してメモリに保存し、順次伸張しながら出力を行う画像形成装置に関する。   The present invention relates to an image forming apparatus that compresses print information, stores it in a memory, and outputs it while sequentially expanding it.

ページプリンター等、電子写真方式の画像形成装置においては、印刷情報をビデオRAMなどのメモリに一旦保存し、これを順次取り出して印刷を行う処理が行われる。
このような処理においては、印刷情報をバンドごとに分割し、圧縮・保存・伸張を繰り返すことで、メモリの必要容量を抑えつつ印刷処理を円滑に行うことができる。
例えば、特許文献1には、メモリの残容量に応じて画像情報を圧縮し画像形成を行う画像形成装置が開示されている。
また、特許文献2には、圧縮画像情報転送時間と伸張画像情報転送時間との比較結果に応じた適切な圧縮方式を選択することで、高速プリンタエンジンにおける高品位の出力を行う印刷システムが開示されている。
また、特許文献3には、ページデータの階調に適した圧縮方式を選択する印刷装置が開示されている。
In an electrophotographic image forming apparatus such as a page printer, print information is temporarily stored in a memory such as a video RAM, and then sequentially extracted and printed.
In such a process, the print information is divided for each band, and the compression process, the storage process, and the expansion process are repeated, so that the print process can be smoothly performed while suppressing the necessary memory capacity.
For example, Patent Document 1 discloses an image forming apparatus that performs image formation by compressing image information according to the remaining capacity of a memory.
Patent Document 2 discloses a printing system that performs high-quality output in a high-speed printer engine by selecting an appropriate compression method according to the comparison result between the compressed image information transfer time and the decompressed image information transfer time. Has been.
Patent Document 3 discloses a printing apparatus that selects a compression method suitable for the gradation of page data.

特開2005−28755号公報JP 2005-28755 A 特開平9−147093号公報Japanese Patent Laid-Open No. 9-147093 特開2003−335001号公報JP 2003-335001 A

しかしながら、ある条件に応じて圧縮処理を実行し、又は、ある条件にもとづいて選択された圧縮方式を用いて圧縮を行ったとしても、実際には、圧縮率が期待値より低くなり、また、圧縮後のデータ量が圧縮前のデータ量より増えることがあり、圧縮の実効性の観点から問題とされていた。
これは、プリンター等の画像形成装置においては、画像再現性を保証する必要性から、ランレングス法などの可逆圧縮方式を採用していることが一因として挙げられる。
However, even if a compression process is executed according to a certain condition or compression is performed using a compression method selected based on a certain condition, the compression rate is actually lower than the expected value, The amount of data after compression may be larger than the amount of data before compression, which has been a problem from the viewpoint of compression effectiveness.
One reason for this is that an image forming apparatus such as a printer employs a reversible compression method such as a run length method because of the need to guarantee image reproducibility.

可逆圧縮方式は、圧縮前のデータと圧縮・伸張の処理を経たデータが完全に等しくなる圧縮方式であり、データ列の偏りや法則性を符号化することでデータ量を縮小する方式である。可逆圧縮方式によれば、データ列の偏り等が多い程、印刷情報を小さく圧縮することができる。
ところが、実際の印刷情報では、データがランダムに配列されているため、データ列の隔たり等が少ない場合には効率よい圧縮ができず、上述のような問題を生ずる。
The lossless compression method is a compression method in which pre-compression data and data that has undergone compression / decompression processing are completely equal, and is a method that reduces the amount of data by encoding the deviation and law of the data string. According to the lossless compression method, the print information can be compressed smaller as the deviation of the data string increases.
However, in the actual print information, since the data is arranged at random, efficient compression cannot be performed when there are few gaps in the data string, and the above-described problems occur.

本発明は、以上のような従来の技術が有する問題を解決するために提案されたものであり、複数の圧縮方式に含まれる各圧縮方式を用いて圧縮処理を試しながら、その過程で期待する圧縮結果を得たところの圧縮データを採用し、期待する圧縮結果が得られない場合には、最良の圧縮結果を得たところの圧縮データを採用し、さらに、最良の圧縮結果を得たところの圧縮データが圧縮前のデータより大きい場合には圧縮前のデータを採用することで、圧縮処理の実効性を高め、メモリの利用効率を一層向上させることが可能な画像形成装置の提供を目的とする。   The present invention has been proposed in order to solve the problems of the conventional techniques as described above, and is expected in the process while trying compression processing using each compression method included in a plurality of compression methods. When the compression data obtained from the compression result is used and the expected compression result cannot be obtained, the compression data obtained from the best compression result is adopted, and the best compression result is obtained. The purpose of the present invention is to provide an image forming apparatus capable of improving the effectiveness of the compression process and further improving the memory utilization efficiency by adopting the data before compression when the compressed data in the memory is larger than the data before compression And

上記目的を達成するため、本発明の画像形成装置は、複数の圧縮方式の中から任意の圧縮方式を用いて印刷情報を圧縮し、当該圧縮した印刷情報を記憶媒体に保存する印刷情報圧縮手段と、記憶媒体に保存された印刷情報を伸張して出力する圧縮情報伸張手段と、を備え、印刷情報圧縮手段は、圧縮方式を順次替えながら印刷情報の圧縮を行い、期待値を満たす圧縮率の印刷情報が検出された場合には当該印刷情報を記憶媒体に保存し、期待値を満たす圧縮率の印刷情報が検出されなかった場合に、圧縮率が最も高い印刷情報を選択し記憶媒体に保存する構成としてある。   In order to achieve the above object, the image forming apparatus of the present invention compresses print information using an arbitrary compression method from among a plurality of compression methods, and stores the compressed print information in a storage medium. And a compression information decompression unit that decompresses and outputs the print information stored in the storage medium, and the print information compression unit compresses the print information while sequentially changing the compression method, and satisfies the expected value. If the print information is detected, the print information is stored in the storage medium. If the print information having the compression ratio that satisfies the expected value is not detected, the print information having the highest compression ratio is selected and stored in the storage medium. It is configured to save.

本発明の画像形成装置によれば、圧縮処理の実効性を高め、メモリの利用効率を向上させることができる。   According to the image forming apparatus of the present invention, it is possible to increase the effectiveness of compression processing and improve the memory utilization efficiency.

本発明の実施形態に係る画像形成装置とホストコンピュータを有する印刷システムを示すブロック図である。1 is a block diagram illustrating a printing system having an image forming apparatus and a host computer according to an embodiment of the present invention. 本発明の実施形態に係る画像形成装置の構成を示す機能ブロック図である。1 is a functional block diagram illustrating a configuration of an image forming apparatus according to an embodiment of the present invention. 2つの圧縮機(圧縮方式)を用いた圧縮方法を示すフローチャートである。It is a flowchart which shows the compression method using two compressors (compression system). N個の圧縮機(圧縮方式)を用いた圧縮方法を示すフローチャートである。It is a flowchart which shows the compression method using N compressors (compression system).

(印刷システム)
本発明は、例えば、図1に示すように、画像形成装置20とホストコンピュータ10とがLANなどのネットワーク15を介して相互に通信可能に接続されてなる印刷システム1に適用される。
この印刷システム1において、画像形成装置20は、ホストコンピュータ10から供給される印刷データにもとづき印刷を行う出力機能を備えたプリンター装置であって、装置全体の制御及び各種演算処理を行うコンピュータ(CPU:Central Processing Unit)30、プログラムやデータを格納するためのROM(Read Only Memory)40、作業領域として一時的にプログラムやデータを記憶するためのRAM(Random Access Memory)50、出力部70に出力する印刷情報を一時的に保存しておくためのビデオRAM501、各種情報の表示および各種指示の入力に使用される操作パネル部60、電子写真式プロセス等の周知の画像形成プロセスを用いて、各種データを用紙などの記録媒体上に印刷する出力部(プリンタエンジン)70、及び、ネットワーク15に接続するためのLANカードなどの通信インターフェース80などが、バス90を介して相互に接続されている。
(Printing system)
For example, as illustrated in FIG. 1, the present invention is applied to a printing system 1 in which an image forming apparatus 20 and a host computer 10 are connected to each other via a network 15 such as a LAN so that they can communicate with each other.
In the printing system 1, the image forming apparatus 20 is a printer apparatus having an output function for performing printing based on print data supplied from the host computer 10, and is a computer (CPU that controls the entire apparatus and performs various arithmetic processes. : Central Processing Unit (30), ROM (Read Only Memory) 40 for storing programs and data, RAM (Random Access Memory) 50 for temporarily storing programs and data as a work area, and output to output unit 70 A video RAM 501 for temporarily storing print information to be stored, an operation panel 60 used for displaying various information and inputting various instructions, and a known image forming process such as an electrophotographic process. An output unit (printer engine) 70 for printing data on a recording medium such as paper, and a network A communication interface 80 such as a LAN card for connecting to 15 are connected to each other via a bus 90.

図2に示すように、画像形成装置20は、通信インターフェース80を介してデータを受信するデータ受信部31、データ受信部31により受信したデータの解析を行う印刷情報解析部32、印刷情報解析部32から受け取ったデータにもとづきビットマップ形式の印刷情報を生成する印刷命令生成部33、出力部70を制御するプリンタエンジン制御部34などが、CPU30による処理機能として搭載されており、プリンタエンジンからなる出力部70が印刷情報に従って記録媒体に印刷を行う。   As shown in FIG. 2, the image forming apparatus 20 includes a data receiving unit 31 that receives data via a communication interface 80, a print information analyzing unit 32 that analyzes data received by the data receiving unit 31, and a print information analyzing unit. A print command generation unit 33 that generates bitmap format print information based on data received from the printer 32, a printer engine control unit 34 that controls the output unit 70, and the like are mounted as processing functions by the CPU 30, and includes a printer engine. The output unit 70 performs printing on the recording medium according to the print information.

また、図2に示すように、CPU30の処理機能として、印刷情報圧縮手段35を備え、印刷情報を印刷するまでの過程において、対象の印刷情報を圧縮するようにしている。
印刷情報を圧縮することにより情報量を抑え、描画処理の円滑化やメモリの利用効率を向上させることができる。
具体的には、印刷情報圧縮手段35が、複数の圧縮方式(適宜「圧縮器」という。)の中から任意の圧縮方式を用いて印刷情報を圧縮し、圧縮した印刷情報をビデオRAM501に一時的に保存し、圧縮情報伸張手段36が、ビデオRAM501に保存された印刷情報を順次取り出して伸張する工程を経て、出力部70が印刷を行う。
As shown in FIG. 2, the CPU 30 includes a print information compression unit 35 as a processing function, and compresses the target print information in the process until the print information is printed.
By compressing the print information, the amount of information can be suppressed, and the rendering process can be facilitated and the memory utilization efficiency can be improved.
Specifically, the print information compression unit 35 compresses the print information using an arbitrary compression method from a plurality of compression methods (referred to as “compressor” as appropriate), and temporarily stores the compressed print information in the video RAM 501. The compressed information expansion means 36 sequentially prints out and expands the print information stored in the video RAM 501, and the output unit 70 performs printing.

特に、本実施形態の印刷情報圧縮手段35は、圧縮方式を順次替えながら印刷情報の圧縮を行い、期待値を満たす圧縮率の印刷情報が検出された場合には当該印刷情報をメモリに保存し、期待値を満たす圧縮率の印刷情報が検出されなかった場合に、圧縮率が最も高い印刷情報を選択し、メモリに保存するようにしている。
このようにすると、実際の圧縮結果にもとづいて圧縮後の印刷情報を取捨選択することができるため、係る選択を精度良く行うことができる。
ここで、「圧縮率」は、圧縮前のデータ量に対する圧縮後のデータ量の比率をいい、「期待値」は、例えば、圧縮処理によって本来得られるべき目標となる圧縮率をいい、パネル操作等による設定又は製造時の初期設定によってRAM50に保持される。
すなわち、本発明においては、期待値を得られなかった場合でも、より圧縮率が高い印刷情報を実際の圧縮結果にもとづいて選択してビデオRAM501に保存するようにしている。
このため、所望の圧縮率が得られない場合であっても、最大の圧縮率で圧縮された印刷情報を精度良く取り出して保存させることができるため、メモリの利用効率を可能な限り向上させることができる。
In particular, the print information compression unit 35 of this embodiment compresses print information while sequentially changing the compression method, and when print information having a compression rate that satisfies an expected value is detected, stores the print information in a memory. When print information with a compression rate that satisfies the expected value is not detected, the print information with the highest compression rate is selected and stored in the memory.
In this way, since the compressed print information can be selected based on the actual compression result, such selection can be performed with high accuracy.
Here, “compression rate” refers to the ratio of the amount of data after compression to the amount of data before compression, and “expected value” refers to, for example, the target compression rate that should be originally obtained by the compression process. It is held in the RAM 50 by the setting by the above or the initial setting at the time of manufacture.
In other words, in the present invention, even when the expected value cannot be obtained, print information having a higher compression rate is selected based on the actual compression result and stored in the video RAM 501.
For this reason, even when the desired compression rate cannot be obtained, print information compressed at the maximum compression rate can be accurately extracted and stored, so that the memory utilization efficiency is improved as much as possible. Can do.

また、印刷情報圧縮手段35は、圧縮率が最も高い印刷情報を選択した場合であっても、当該印刷情報の情報量が、圧縮前の印刷情報の情報量より多いときは、当該圧縮前の印刷情報を選択して記憶媒体に保存するようにしている。
このようにすると、圧縮した後のデータ量が圧縮する前のデータ量より多くなるといった従来から存在する不合理やこれに伴う弊害(メモリの圧迫、処理の遅延等)を排除することができる。
Further, even when the print information compression unit 35 selects the print information with the highest compression rate, when the information amount of the print information is larger than the information amount of the print information before compression, the print information compression unit 35 Print information is selected and stored in a storage medium.
In this way, it is possible to eliminate the existing unreasonable fact that the amount of data after compression is larger than the amount of data before compression, and adverse effects (memory compression, processing delay, etc.) associated therewith.

さらに、印刷情報圧縮手段35は、印刷方式を順次替えながら印刷情報の圧縮を行う処理を、期待値を満たす圧縮率の印刷情報が検出された後は行わないようにしている。
このようにすると、所望の圧縮率が得られた場合には、余分な処理を行わず、次の対象の印刷情報の処理を即座に進めることができるため、印刷情報全体としての処理を高速化することができる。
Further, the print information compression unit 35 does not perform the process of compressing the print information while sequentially changing the print method after the print information having the compression rate that satisfies the expected value is detected.
In this way, when the desired compression rate is obtained, the processing of the next target print information can be immediately performed without performing extra processing, so the processing of the entire print information is accelerated. can do.

次に、本実施形態の一例として、2つの圧縮器を用いた圧縮方法について説明する。
図3は、2つの圧縮器を用いた圧縮方法を示すフローチャートである。
まず、対象の印刷情報(適宜、「データ」という。)を第1の圧縮器で圧縮する(ステップ101)。具体的には、印刷情報圧縮手段35が、印刷命令生成部33によって生成された1ページ分又は1バンド分の印刷情報(ビットマップデータ)を、第1の圧縮器を用いて圧縮する。印刷情報圧縮手段35は、圧縮前後の印刷情報、各印刷情報の情報量及び各情報量から算出した圧縮率を対応付けてRAM50に保持させる。
Next, a compression method using two compressors will be described as an example of this embodiment.
FIG. 3 is a flowchart showing a compression method using two compressors.
First, target print information (referred to as “data” as appropriate) is compressed by the first compressor (step 101). Specifically, the print information compression unit 35 compresses print information (bitmap data) for one page or one band generated by the print command generation unit 33 using the first compressor. The print information compression unit 35 stores the print information before and after compression, the information amount of each print information, and the compression rate calculated from each information amount in the RAM 50 in association with each other.

次に、第1の圧縮器を用いて圧縮したときの圧縮率が期待値より高いか否かを判断する(ステップ102)。具体的には、印刷命令生成部33が、RAM50に予め記憶させた圧縮率の期待値と、ステップ101の実行後にRAM50に保持させた第1の圧縮器に係る圧縮率とを比較して判断する。
第1の圧縮器に係る圧縮率が期待値より高いと判断した場合、印刷命令生成部33は、第1の圧縮器を用いて圧縮した印刷情報をビデオRAM501に渡す(ステップ103)。
すなわち、この場合、圧縮処理は終了し、第1の圧縮器を用いて圧縮した印刷情報が後に伸張されて出力されることになる。
このため、以降のステップを省くことができ、印刷情報全体としての処理を高速化することができる。
Next, it is determined whether or not the compression rate when compressed using the first compressor is higher than the expected value (step 102). Specifically, the print command generation unit 33 compares the expected compression rate stored in advance in the RAM 50 with the compression rate related to the first compressor held in the RAM 50 after step 101 is executed. To do.
If it is determined that the compression rate related to the first compressor is higher than the expected value, the print command generation unit 33 passes the print information compressed using the first compressor to the video RAM 501 (step 103).
That is, in this case, the compression process ends, and the print information compressed using the first compressor is later decompressed and output.
For this reason, the subsequent steps can be omitted, and the processing of the entire print information can be speeded up.

第1の圧縮器に係る圧縮率が期待値より低いと判断した場合、印刷情報圧縮手段35は、印刷情報を第2の圧縮器で圧縮する(ステップ104)。印刷情報圧縮手段35は、圧縮前後の印刷情報、各印刷情報の情報量及び各情報量から算出した圧縮率を対応付けてRAM50に保持させる。
次いで、第2の圧縮器を用いて圧縮したときの圧縮率が期待値より高いか否かを判断する(ステップ105)。具体的には、印刷命令生成部33が、RAM50を参照し、第2の圧縮器に係る圧縮率と期待値とを比較して判断する。
第2の圧縮器に係る圧縮率が期待値より高いと判断した場合、印刷命令生成部33は、第2の圧縮器を用いて圧縮した印刷情報をビデオRAM501に渡す(ステップ106)。
If it is determined that the compression rate related to the first compressor is lower than the expected value, the print information compression means 35 compresses the print information with the second compressor (step 104). The print information compression unit 35 stores the print information before and after compression, the information amount of each print information, and the compression rate calculated from each information amount in the RAM 50 in association with each other.
Next, it is determined whether or not the compression rate when compressed using the second compressor is higher than the expected value (step 105). Specifically, the print command generation unit 33 refers to the RAM 50 and determines the comparison by comparing the compression rate related to the second compressor with the expected value.
If it is determined that the compression rate related to the second compressor is higher than the expected value, the print command generation unit 33 passes the print information compressed using the second compressor to the video RAM 501 (step 106).

第2の圧縮器に係る圧縮率が期待値より低いと判断した場合、印刷命令生成部33は、RAM50を参照し、第1の圧縮器に係る圧縮率が第2の圧縮器に係る圧縮率より高いか否かを判断する(ステップ107)。
第1の圧縮器に係る圧縮率が第2の圧縮器に係る圧縮率より高いと判断した場合、印刷命令生成部33は、さらに、圧縮後のデータ量が圧縮前より多いか否かを判断する(ステップ108)。
圧縮後のデータ量が圧縮前より多いと判断した場合、印刷命令生成部33は、圧縮前のデータ(非圧縮の印刷情報)をビデオRAM501に渡し(ステップ109)、圧縮後のデータ量が圧縮前より少ないと判断した場合、印刷命令生成部33は、第1の圧縮器を用いて圧縮したデータをビデオRAM501へ渡す(ステップ110)。
When it is determined that the compression rate related to the second compressor is lower than the expected value, the print command generation unit 33 refers to the RAM 50 and the compression rate related to the first compressor is the compression rate related to the second compressor. It is determined whether or not it is higher (step 107).
When it is determined that the compression rate according to the first compressor is higher than the compression rate according to the second compressor, the print command generation unit 33 further determines whether or not the data amount after compression is larger than that before compression. (Step 108).
If it is determined that the amount of data after compression is greater than that before compression, the print command generation unit 33 passes the data before compression (uncompressed print information) to the video RAM 501 (step 109), and the amount of data after compression is compressed. If it is determined that there is less than before, the print command generation unit 33 passes the data compressed using the first compressor to the video RAM 501 (step 110).

ステップ107において、第1の圧縮器に係る圧縮率が第2の圧縮器に係る圧縮率より低いと判断した場合、印刷命令生成部33は、次に、第2の圧縮器に関し、圧縮後のデータ量が圧縮前より多いか否かを判断する(ステップ111)。
圧縮後のデータ量が圧縮前より多いと判断した場合、印刷命令生成部33は、圧縮前のデータ(非圧縮の印刷情報)をビデオRAM501に渡し(ステップ112)、圧縮後のデータ量が圧縮前より少ないと判断した場合、印刷命令生成部33は、第2の圧縮器を用いて圧縮したデータをビデオRAM501に渡す(ステップ113)。
If it is determined in step 107 that the compression rate related to the first compressor is lower than the compression rate related to the second compressor, the print command generation unit 33 then relates to the second compressor, after compression. It is determined whether the amount of data is greater than before compression (step 111).
If it is determined that the amount of data after compression is greater than that before compression, the print command generation unit 33 passes the data before compression (uncompressed print information) to the video RAM 501 (step 112), and the amount of data after compression is compressed. If it is determined that there is less than before, the print command generation unit 33 passes the data compressed using the second compressor to the video RAM 501 (step 113).

ビデオRAM501に渡された印刷情報は、処理単位量ごと(ページごと又はバンドごと)に保存され、ビデオRAM501に1ページ分の印刷情報が揃った時点、先のページ分の印刷が終了した時点等、一定のタイミングに応じてプリンタエンジン制御部34が伸張処理の命令を発する。
圧縮情報伸張手段36は、係る命令を受けて、対応する伸張方式を適用して圧縮された印刷情報を伸張し、出力部70は、伸張処理によって復元された印刷情報にもとづき印刷処理を行う。
The print information transferred to the video RAM 501 is stored for each processing unit amount (for each page or band), when print information for one page is prepared in the video RAM 501, when printing for the previous page is completed, or the like. The printer engine control unit 34 issues a decompression process command in accordance with a certain timing.
The compression information decompressing means 36 receives such a command and decompresses the print information compressed by applying the corresponding decompression method, and the output unit 70 performs the printing process based on the print information restored by the decompression process.

なお、複数ある伸張方式の中から「対応する伸張方式」を正しく適用するには、印刷情報圧縮手段35が、任意の圧縮方式を用いて圧縮した際に、その圧縮後の印刷情報に圧縮方式のタイプ(例えば、圧縮器の番号、識別子など。)を付してビデオRAM501に記憶させる。
例えば、第1の圧縮器を用いる場合、印刷情報圧縮手段35は、圧縮後の印刷情報のヘッダ等に第一の圧縮器を示す番号(「1」)を付してビデオRAM501に保存する。
このようにすると、圧縮情報伸張手段36は、ビデオRAM501から印刷情報を取り出して伸張処理を実行するに当たり、ヘッダ等に付された番号(「1」)を参照することで、圧縮器のタイプ(第1の圧縮器)を容易に特定することができる。
In order to correctly apply the “corresponding decompression method” from among a plurality of decompression methods, when the print information compression unit 35 performs compression using an arbitrary compression method, the compression method is applied to the compressed print information. (For example, a compressor number, an identifier, etc.) are added and stored in the video RAM 501.
For example, when the first compressor is used, the print information compression unit 35 attaches a number (“1”) indicating the first compressor to the header of the print information after compression and stores it in the video RAM 501.
In this way, the compression information decompressing means 36 refers to the number (“1”) attached to the header or the like when extracting the print information from the video RAM 501 and executing the decompression process, thereby the compressor type (“1”). The first compressor) can be easily identified.

以上、本発明に固有の圧縮処理について、2つの圧縮器を用いた圧縮方法を例に挙げて説明したが、本発明の圧縮処理は、3つの圧縮器を用いてもでき、また、それ以上の圧縮器を用いて実施することができる。
そこで、N個(Nは2以上の整数)の圧縮器を用いた圧縮方法について以下説明する。
As described above, the compression process specific to the present invention has been described by taking the compression method using two compressors as an example. However, the compression process of the present invention can be performed using three compressors, and more. Can be implemented using a compressor of
A compression method using N (N is an integer of 2 or more) compressors will be described below.

図4は、N個の圧縮器を用いた圧縮方法を示すフローチャートである。
図4に示すように、まず、圧縮器の番号aの初期値(a=1)を設定する(ステップ201)。
次に、印刷情報圧縮手段35は、印刷情報を第aの圧縮器を用いて圧縮する(ステップ202)。印刷情報圧縮手段35は、圧縮前後の印刷情報とこれらの情報量から算出した圧縮率とを対応付けてRAM50に保持させる。
印刷命令生成部33は、第aの圧縮器を用いて圧縮したときの圧縮率が予めRAM50上に設定した期待値より高いか否かを判断する(ステップ203)。
第aの圧縮器に係る圧縮率が、期待値より高いと判断した場合、印刷命令生成部33は、第aの圧縮器を用いて圧縮したデータをビデオRAM501に渡す(ステップ204)。
FIG. 4 is a flowchart showing a compression method using N compressors.
As shown in FIG. 4, first, an initial value (a = 1) of the compressor number a is set (step 201).
Next, the print information compressing means 35 compresses the print information using the a-th compressor (step 202). The print information compression unit 35 causes the RAM 50 to hold the print information before and after compression and the compression rate calculated from these information amounts in association with each other.
The print command generation unit 33 determines whether or not the compression rate when compressed using the a-th compressor is higher than an expected value set in advance in the RAM 50 (step 203).
If it is determined that the compression rate related to the a-th compressor is higher than the expected value, the print command generation unit 33 passes the data compressed using the a-th compressor to the video RAM 501 (step 204).

第aの圧縮器に係る圧縮率が、期待値より低いと判断した場合、印刷命令生成部33は、a=Nか否かを判断し(ステップ205)、a≠Nの場合は、圧縮器の番号aに1を加算して(ステップ206)、ステップ202に戻り、ステップ205においてa=Nとなるまでステップ202〜206の処理を繰り返す。
ステップ205において、a=Nと判断された場合、印刷命令生成部33は、最大の圧縮率となるデータを特定する(ステップ207)。具体的には、RAM50を参照し、最大の圧縮率の印刷情報を特定する。
次いで、印刷命令生成部33は、特定したデータのデータ量が圧縮前より多いか否かを判断する(ステップ208)。
特定したデータのデータ量が圧縮前より多いと判断した場合、印刷命令生成部33は、圧縮前のデータ(非圧縮のデータ)をビデオRAM501に渡し(ステップ209)、特定したデータのデータ量が圧縮前より小さいと判断した場合、印刷命令生成部33は、特定したデータをビデオRAM501に渡す(ステップ210)。
If it is determined that the compression rate of the a-th compressor is lower than the expected value, the print command generation unit 33 determines whether a = N (step 205). If a ≠ N, the compressor 1 is added to the number a (step 206), the process returns to step 202, and the processing of steps 202 to 206 is repeated until a = N in step 205.
If it is determined in step 205 that a = N, the print command generation unit 33 specifies data having the maximum compression rate (step 207). Specifically, the RAM 50 is referred to and print information with the maximum compression rate is specified.
Next, the print command generation unit 33 determines whether or not the data amount of the specified data is greater than that before compression (step 208).
When determining that the data amount of the specified data is larger than that before compression, the print command generation unit 33 passes the data before compression (uncompressed data) to the video RAM 501 (step 209), and the data amount of the specified data is If it is determined that the data is smaller than before compression, the print command generation unit 33 passes the specified data to the video RAM 501 (step 210).

以上のように、本実施形態の画像形成装置によれば、実質上、最もデータ量を抑えることができる圧縮方式を選択して圧縮処理を行うことができる。
また、データ量を抑えるべく、いずれの圧縮方式も選択せずに、非圧縮のデータをそのままメモリに保持させ出力するようにすることもできる。
したがって、最良の圧縮方式を用いて圧縮した印刷情報を効率よく用いることができ、また、圧縮によってデータが増大する従来の問題を回避することができるため、メモリの利用効率をより一層向上させることができる。
なお、圧縮処理は、ページごとに行う他、ページを分割した各バンドごとに描画処理を行うバンド処理に適用することもできる。バンド処理によれば、処理の単位量をより抑えることができるため、メモリの利用効率をより向上させることができる。
As described above, according to the image forming apparatus of this embodiment, it is possible to perform compression processing by selecting a compression method that can substantially suppress the data amount.
Further, in order to reduce the amount of data, it is possible to hold and output uncompressed data as it is without selecting any compression method.
Therefore, print information compressed using the best compression method can be used efficiently, and the conventional problem of increasing data due to compression can be avoided, so that the memory utilization efficiency can be further improved. Can do.
Note that the compression processing can be performed for each page, and can also be applied to band processing for performing drawing processing for each band obtained by dividing a page. According to the band processing, the unit amount of processing can be further suppressed, so that the memory utilization efficiency can be further improved.

以上、本発明の画像形成装置について、好ましい実施形態を示して説明したが、本発明は、上述した実施形態にのみ限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。   The image forming apparatus of the present invention has been described with reference to the preferred embodiment, but the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the present invention. Needless to say.

本発明は、ページプリンターなどの画像形成装置に好適に利用することができる。   The present invention can be suitably used for an image forming apparatus such as a page printer.

1 印刷システム
10 ホストコンピュータ
20 画像形成装置
30 CPU
32 印刷情報解析部
33 印刷情報命令部
34 プリンタエンジン制御部
35 印刷情報圧縮手段
36 圧縮情報伸張手段
40 ROM
50 RAM
501 ビデオRAM
70 出力部(プリンタエンジン)
DESCRIPTION OF SYMBOLS 1 Printing system 10 Host computer 20 Image forming apparatus 30 CPU
32 Print Information Analysis Unit 33 Print Information Command Unit 34 Printer Engine Control Unit 35 Print Information Compression Unit 36 Compression Information Expansion Unit 40 ROM
50 RAM
501 Video RAM
70 Output unit (printer engine)

Claims (4)

複数の圧縮方式の中から任意の圧縮方式を用いて印刷情報を圧縮し、当該圧縮した印刷情報を記憶媒体に保存する印刷情報圧縮手段と、
前記記憶媒体に保存された印刷情報を伸張して出力する圧縮情報伸張手段と、を備え、
前記印刷情報圧縮手段は、
圧縮方式を順次替えながら前記印刷情報の圧縮を行い、期待値を満たす圧縮率の印刷情報が検出された場合には当該印刷情報を前記記憶媒体に保存し、期待値を満たす圧縮率の印刷情報が検出されなかった場合に、圧縮率が最も高い印刷情報を選択し前記記憶媒体に保存する
ことを特徴とする画像形成装置。
Print information compression means for compressing print information using an arbitrary compression method from among a plurality of compression methods, and storing the compressed print information in a storage medium;
Compression information decompression means for decompressing and outputting the print information stored in the storage medium,
The print information compression means includes
The print information is compressed while sequentially changing the compression method, and when print information with a compression rate that satisfies the expected value is detected, the print information is stored in the storage medium, and the print information with the compression rate that satisfies the expected value An image forming apparatus comprising: selecting print information having the highest compression rate and storing the selected print information in the storage medium when no image is detected.
前記印刷情報圧縮手段は、
前記圧縮率が最も高い印刷情報を選択した場合であっても、当該印刷情報の情報量が、圧縮前の印刷情報の情報量より多いときは、当該圧縮前の印刷情報を選択して前記記憶媒体に保存する請求項1記載の画像形成装置。
The print information compression means includes
Even when the print information having the highest compression rate is selected, if the information amount of the print information is larger than the information amount of the print information before compression, the print information before compression is selected and stored. The image forming apparatus according to claim 1, wherein the image forming apparatus is stored on a medium.
前記印刷情報圧縮手段は、
印刷方式を順次替えながら前記印刷情報の圧縮を行う処理を、期待値を満たす圧縮率の印刷情報が検出された後は行わない請求項1又は2記載の画像形成装置。
The print information compression means includes
The image forming apparatus according to claim 1, wherein the process of compressing the print information while sequentially changing the printing method is not performed after print information having a compression rate that satisfies an expected value is detected.
前記複数の圧縮方式には、少なくとも可逆圧縮方式を含む請求項1〜3のいずれか一項記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the plurality of compression methods include at least a reversible compression method.
JP2012008439A 2012-01-18 2012-01-18 Image forming apparatus Expired - Fee Related JP5782388B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012008439A JP5782388B2 (en) 2012-01-18 2012-01-18 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012008439A JP5782388B2 (en) 2012-01-18 2012-01-18 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2013146907A true JP2013146907A (en) 2013-08-01
JP5782388B2 JP5782388B2 (en) 2015-09-24

Family

ID=49044940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012008439A Expired - Fee Related JP5782388B2 (en) 2012-01-18 2012-01-18 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP5782388B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016082384A (en) * 2014-10-16 2016-05-16 キヤノン株式会社 Information processing apparatus, control method of the same, and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07231391A (en) * 1994-02-16 1995-08-29 Fuji Xerox Co Ltd Picture processor
JPH09147093A (en) * 1995-11-28 1997-06-06 Canon Inc Printing system, information processor and information processing method
JP2003189111A (en) * 2001-12-21 2003-07-04 Kyocera Mita Corp Image reader and image forming device
JP2003335001A (en) * 2002-05-22 2003-11-25 Canon Inc Printing apparatus
JP2004200893A (en) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd Encoder, encoding method, and encoding program
JP2005028755A (en) * 2003-07-14 2005-02-03 Konica Minolta Business Technologies Inc Image forming apparatus and method of forming image
JP2006352548A (en) * 2005-06-16 2006-12-28 Fujifilm Holdings Corp Data compression apparatus and data compression program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07231391A (en) * 1994-02-16 1995-08-29 Fuji Xerox Co Ltd Picture processor
JPH09147093A (en) * 1995-11-28 1997-06-06 Canon Inc Printing system, information processor and information processing method
JP2003189111A (en) * 2001-12-21 2003-07-04 Kyocera Mita Corp Image reader and image forming device
JP2003335001A (en) * 2002-05-22 2003-11-25 Canon Inc Printing apparatus
JP2004200893A (en) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd Encoder, encoding method, and encoding program
JP2005028755A (en) * 2003-07-14 2005-02-03 Konica Minolta Business Technologies Inc Image forming apparatus and method of forming image
JP2006352548A (en) * 2005-06-16 2006-12-28 Fujifilm Holdings Corp Data compression apparatus and data compression program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016082384A (en) * 2014-10-16 2016-05-16 キヤノン株式会社 Information processing apparatus, control method of the same, and program

Also Published As

Publication number Publication date
JP5782388B2 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
CN107404654B (en) JPEG image decompression method, device and platform
JP5942934B2 (en) Image processing apparatus and program
JP2013198161A (en) Image compression
CN105530402A (en) Information processing apparatus and method related with image compression and image forming system
JP5439510B2 (en) Image forming apparatus and image forming program
US8554003B2 (en) Image data processing apparatus, image data processing method, and computer readable medium
JP5782388B2 (en) Image forming apparatus
US8619312B2 (en) Image processing apparatus for allocating job data for rip processing, image processing method for allocating job data for rip rocessing, and computer-readable storage medium
JP5614122B2 (en) Image data decoding device
JP5479225B2 (en) Image processing apparatus, image processing method, and program
JP2012019357A (en) Image processing device and compression method
CN105791819B (en) The decompression method and device of a kind of frame compression method of image, image
US9083912B2 (en) Method and apparatus for enabling parallel processing of pixels in an image
JP2013043294A (en) Printing apparatus, printing method, computer program, and recording medium
JP2010041193A (en) Image processing controller and image processing apparatus
JP2007030353A (en) Image forming device
TWI639315B (en) Data compression and de-compression method and data compressor and data de-compressor
KR102568052B1 (en) Image decompressing apparatus, control method thereof, and computer program
JP3997851B2 (en) Image coding apparatus and image coding program
NL2027069B1 (en) Method for processing a digital image into print image data
JP2018199277A (en) Information processing device and method, image formation system, and program
JP2011139165A (en) Image processing apparatus and processing method thereof
US20120320390A1 (en) Image forming apparatus, image forming method, and computer-readable medium
JP6428333B2 (en) Printing system, printing control apparatus, printing apparatus, printing method, and printing program
JP6762758B2 (en) Image processing equipment, image processing methods, and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141016

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150106

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: 20150623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150717

R150 Certificate of patent or registration of utility model

Ref document number: 5782388

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees