JP5160169B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP5160169B2 JP5160169B2 JP2007222998A JP2007222998A JP5160169B2 JP 5160169 B2 JP5160169 B2 JP 5160169B2 JP 2007222998 A JP2007222998 A JP 2007222998A JP 2007222998 A JP2007222998 A JP 2007222998A JP 5160169 B2 JP5160169 B2 JP 5160169B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- bitmap
- compression
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Storing Facsimile Image Data (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
画像形成装置において、メモリオーバーフローが発生した際に、画像変換の色調度や階調度を低下させてデータメモリ量を削減したり、データ圧縮伸長処理を回避したりしてメモリ量に余裕を持たせてメモリオーバーフローを発生させずに印刷を可能とする技術に関するものである。 When a memory overflow occurs in an image forming apparatus, the amount of data memory is reduced by reducing the color tone and gradation of image conversion, or data compression / decompression processing is avoided, so that there is a margin in memory. The present invention relates to a technique that enables printing without causing a memory overflow.
低価格の画像処理装置においては、CPUの性能やメモリの容量もある程度抑えているため、例えば複雑な画像(画像処理に負荷のかかる画像)を印刷実行した場合に、印刷完了までに予想以上に時間がかかってしまう問題や、最悪メモリが足りずにメモリオーバーフローが発生し、結果的にユーザの所望の画像が得られない問題がある。 In a low-cost image processing apparatus, the CPU performance and memory capacity are limited to some extent. For example, when printing a complex image (an image that burdens image processing) is executed, it is more than expected before printing is completed. There is a problem that it takes time, or a memory overflow occurs due to a shortage of the worst memory, resulting in a problem that a user's desired image cannot be obtained.
従来技術として、メモリオーバーフローに起因する印刷不能状態の発生を未然に回避するために、変換される中間コード情報量が確保される領域を超える場合に、ホストから受信する1ページ分の中間コード情報を非可逆圧縮処理して空き領域確保する方法がある(特許文献1参照)。 As a conventional technique, in order to avoid the occurrence of an unprintable state due to memory overflow, intermediate code information for one page received from the host when the amount of intermediate code information to be converted exceeds the reserved area There is a method of securing a free area by irreversible compression processing (see Patent Document 1).
また、フレームバッファの圧縮処理においてメモリオーバーフローが発生する問題をホストマシンのモニタ表示用のカラー画像データから原色毎に印刷フレームデータを作成し、印刷データを重みテーブルで示される順番で非可逆圧縮を行うことにより解決する方法がある(特許文献2参照)。 Also, the problem that memory overflow occurs in the frame buffer compression process is to create print frame data for each primary color from the color image data for monitor display of the host machine, and perform irreversible compression on the print data in the order shown in the weight table. There is a method to solve by performing (refer to Patent Document 2).
しかし、上記の方法ではいずれも非可逆圧縮処理による予測不可の画像の劣化を招いてしまう。また、ユーザに画像データ量を削減する処理の選択を行わせる方法は無かった。 However, any of the above methods causes unpredictable image degradation due to lossy compression processing. There is no method for allowing the user to select a process for reducing the amount of image data.
解決しようとする問題点は、画像形成装置においてメモリオーバーフローが発生した際に、非可逆圧縮処理をせずともメモリオーバーフローを回避することができなかった点である。 The problem to be solved is that when a memory overflow occurs in the image forming apparatus, the memory overflow cannot be avoided without performing irreversible compression processing.
本発明の画像形成装置は、画像データを中間言語データに変換する中間言語変換部と、前記中間言語データをビットマップデータに変換するビットマップ変換部と、前記ビットマップデータを圧縮してメモリ部に保存するデータ圧縮部と、前記データ圧縮部にて圧縮されたビットマップデータをビットマップデータに伸長する圧縮データ伸長部と、前記伸長されたビットマップデータの転送を受けて画像の印刷を行う印刷エンジン部とを備え、前記ビットマップ変換部から前記印刷エンジン部へ前記ビットマップデータの転送を選択可能とするデータ処理選択部を設け、ユーザの入力を受け付ける入力部を有し、前記データ処理選択部は、前記ビットマップデータを前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理後に前記印刷エンジン部に転送するか、又は、前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理を行わずに前記ビットマップ変換部での変換後に前記印刷エンジン部に転送するかを前記入力部からの入力により設定可能である画像形成装置であって、前記データ処理選択部は、エラー後にメモリオーバーフロー低減モードの処理を選択可能であって、メモリオーバーフロー低減モードの処理を選択した場合には前記ビットマップデータを圧縮伸長処理せずに前記印刷エンジン部に転送し直すことを特徴とする。 An image forming apparatus according to the present invention includes an intermediate language conversion unit that converts image data into intermediate language data, a bitmap conversion unit that converts the intermediate language data into bitmap data, and a memory unit that compresses the bitmap data A data compression unit for storing the data, a compressed data decompression unit for decompressing the bitmap data compressed by the data compression unit into bitmap data, and printing the image upon receiving the transfer of the decompressed bitmap data e Bei a print engine, the data processing selector setting only the to the bit map conversion unit can be selected to transfer the bit map data to the print engine unit, an input unit for accepting input of the user, the The data processing selection unit prints the bitmap data after the compression / decompression processing by the data compression unit and the compressed data decompression unit. Whether to transfer to the print engine unit after conversion in the bitmap conversion unit without performing compression / decompression processing in the data compression unit and the compressed data expansion unit The data processing selection unit can select a memory overflow reduction mode process after an error, and if the memory overflow reduction mode process is selected, the data processing selection unit The bitmap data is transferred again to the print engine unit without being subjected to compression / decompression processing .
本発明の画像形成装置は、画像データを中間言語データに変換する中間言語変換部と、前記中間言語データをビットマップデータに変換するビットマップ変換部と、前記ビットマップデータを圧縮してメモリ部に保存するデータ圧縮部と、前記データ圧縮部にて圧縮されたビットマップデータをビットマップデータに伸長する圧縮データ伸長部と、前記伸長されたビットマップデータの転送を受けて画像の印刷を行う印刷エンジン部とを備え、前記ビットマップ変換部から前記印刷エンジン部へ前記ビットマップデータの転送を選択可能とするデータ処理選択部を設け、ユーザの入力を受け付ける入力部を有し、前記データ処理選択部は、前記ビットマップデータを前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理後に前記印刷エンジン部に転送するか、又は、前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理を行わずに前記ビットマップ変換部での変換後に前記印刷エンジン部に転送するかを前記入力部からの入力により設定可能である画像形成装置であって、前記データ処理選択部は、エラー後にメモリオーバーフロー低減モードの処理を選択可能であって、メモリオーバーフロー低減モードの処理を選択した場合には前記ビットマップデータを圧縮伸長処理せずに前記印刷エンジン部に転送し直すことを特徴とするため、画像形成装置においてメモリオーバーフローが発生した際に、データ圧縮伸長処理を行わずに、前記ビットマップデータ変換部で生成されたビットマップデータを前記印刷エンジン部に転送して印刷を行うため、メモリ量に余裕がでてメモリオーバーフローを発生させずに印刷を完了することが可能となった。 An image forming apparatus according to the present invention includes an intermediate language conversion unit that converts image data into intermediate language data, a bitmap conversion unit that converts the intermediate language data into bitmap data, and a memory unit that compresses the bitmap data A data compression unit for storing the data, a compressed data decompression unit for decompressing the bitmap data compressed by the data compression unit into bitmap data, and printing the image upon receiving the transfer of the decompressed bitmap data e Bei a print engine, the data processing selector setting only the to the bit map conversion unit can be selected to transfer the bit map data to the print engine unit, an input unit for accepting input of the user, the The data processing selection unit prints the bitmap data after the compression / decompression processing by the data compression unit and the compressed data decompression unit. Whether to transfer to the print engine unit after conversion in the bitmap conversion unit without performing compression / decompression processing in the data compression unit and the compressed data expansion unit The data processing selection unit can select a memory overflow reduction mode process after an error, and if the memory overflow reduction mode process is selected, the data processing selection unit Since the bitmap data is transferred again to the print engine unit without performing compression / decompression processing, the bitmap data is not subjected to data compression / decompression processing when a memory overflow occurs in the image forming apparatus. Since the bitmap data generated by the conversion unit is transferred to the print engine unit for printing, there is a margin in memory. It has become possible to complete the printing without causing a memory overflow out.
画像形成装置において、メモリオーバーフローが生じた場合、画像データの非可逆な圧縮処理を伴わないでメモリオーバーフローの発生を抑制するために、ユーザに色調度又は階調度の削減を選択させるか、画像データの圧縮伸長処理を行わない方法を選択することにより解決した。 In the image forming apparatus, when a memory overflow occurs, in order to suppress the occurrence of the memory overflow without irreversible compression processing of the image data, the user can select the reduction of the color tone or the gradation or the image data It was solved by selecting a method that does not perform compression / decompression processing.
[構成]
図1は、本発明の実施例に係わる画像形成装置の機能ブロック図である。
[Constitution]
FIG. 1 is a functional block diagram of an image forming apparatus according to an embodiment of the present invention.
画像形成装置101は、中間言語変換部111、ビットマップ変換部113、データ圧縮部115、圧縮データ伸長部117、印刷エンジン部119、入力部121、通信部123、制御部125、メモリ部127、バンドバッファメモリ129、バス131を有している。
The image forming apparatus 101 includes an intermediate
画像形成装置101は、端末装置201と通信部123を経由して接続している。
The image forming apparatus 101 is connected to the
中間言語変換部111は、端末装置201から送信されたプリンタブルデータ(通常はPDL;ページ記述言語で書かれたデータ)をバンドごとの中間言語データ(本実施例においてはDL;ディスプレイリスト)に変換する。
The intermediate
ビットマップ変換部113は、中間言語変換部111で変換された中間言語データ(DL)を印刷エンジンの解するビットマップデータに変換する。
The
データ圧縮部115は、ビットマップデータを圧縮してメモリ部127に保存する。
The
圧縮データ伸長部117は、データ圧縮部115で圧縮されたデータを元のビットマップデータに伸長処理する。伸長処理されたビットマップデータは、後述のバンドバッファメモリ129に転送される。
The compressed
印刷エンジン部119は、前記ビットマップデータをバンドバッファメモリ129から転送されて印刷を行う。
The
入力部121は、端末装置201からのプリンタブルデータの入力を受け取るとともに、メモリオーバーフローが発生した際に、どのように処理を行うかの入力を受け取る。該入力は端末装置201からの通信部123を介して該選択の入力を受信する方法であってもよいし、入力部に含まれる画像形成装置本体に装備されている入力パネルからの入力であっても良い。
The
通信部123は、ネットワークインターフェースを有し、外部装置である端末装置201との間での通信を受け持つ。
The
制御部125(データ処理選択部)は、CPUと周辺制御回路を有して画像形成装置全体の制御を司ると共に、メモリオーバーフローが発生した際に、メモリオーバーフローをどの方法で回避するかの選択をユーザに提示する。そして、その選択を入力部121を介して受け取り、該選択に従って中間言語変換部111、ビットマップ変換部113、データ圧縮部115、圧縮データ伸長部117、印刷エンジン部119でどのように処理を行うかの制御を行う。
The control unit 125 (data processing selection unit) has a CPU and a peripheral control circuit to control the entire image forming apparatus, and selects a method for avoiding the memory overflow when a memory overflow occurs. Present to the user. Then, the selection is received via the
メモリ部127は、半導体メモリと回転磁気ディスク装置からなり、画像形成装置101の動作を機能させるプログラムやデータを保持する。
The
バンドバッファメモリ129は、メモリ部127内の半導体メモリ領域の一部であり、その領域に印刷のためのバンドのビットマップデータを保持する。バンドとは、1ページの印刷データを回転ドラムの走行方向に所定のドット数で区切った画像処理を行うための単位である。バンドバッファメモリは、通常2バンド分のメモリが用意されており、一方が書き込みを行われている間、他方が読み出しを行う。
The
上記各機能部は、バス131を介して相互にデータの授受が可能となっている。
The above functional units can exchange data with each other via a
通常の画像形成装置に備わっているスキャナ部やFAX送受信部などは本発明の本質には関係ないので省略した。 A scanner unit and a FAX transmission / reception unit provided in a normal image forming apparatus are omitted because they are not related to the essence of the present invention.
[中間言語DL(Display List)の説明]
次にプリンタブルデータ(通常はPDL;ページ記述言語)とビットマップデータとの間に介する中間言語であるDL(ディスプレイリスト)について説明する。
[Description of Intermediate Language DL (Display List)]
Next, DL (display list), which is an intermediate language between printable data (usually PDL; page description language) and bitmap data, will be described.
1ページの画像情報を一度に扱うとデータ量が多くなり、また、印刷エンジンは1ページのデータを一度に印刷するわけでは無く、回転ドラムが回転しながら順次データを処理してゆくため、1ページの画像情報は高さが固定の複数のバンド情報に分割されて処理される。 Handling one page of image information at a time increases the amount of data, and the print engine does not print one page of data at a time, but the rotating drum rotates and sequentially processes the data. The image information of the page is divided into a plurality of band information having a fixed height and processed.
端末装置201から画像形成装置101に送信される前記PDL(ページ記述言語)は、バンドごとにDL(ディスプレイリスト)に変換される。一つのバンド情報は複数のDLから構成されており、それぞれのバンドが持つDLの数は、バンドの画像の内容により異なる。
The PDL (page description language) transmitted from the
変換されたDLデータは、図2示すようにリンクリストで繋がれたデータ構造を取る。 The converted DL data has a data structure connected by a linked list as shown in FIG.
次に、中間言語であるDLのビットマップイメージに展開する際の処理を図3に示す。 Next, FIG. 3 shows a process for developing an intermediate language DL bitmap image.
DLはその性質毎に分類されており、具体的には、制御系(CALL/SETなど)、ベクター系(VECTOR_RECTANGLEなど)、カラー/パターン系(SET_ROP/SET_PATTERNなど)、イメージ系(BLT_RECTANGLE/MAP_IMAGEMASKなど)、プレーン操作系(SET_DESTINATIONなど)といったコマンドから構成される。一つ一つのDLは、バンドバッファメモリへの描画処理(ビットマップイメージ展開処理)に必要となるこのようなコマンドの集まりである。 DL is categorized according to its properties. Specifically, control system (CALL / SET etc.), vector system (VECTOR_RECTANGLE etc.), color / pattern system (SET_ROP / SET_PATTERN etc.), image system (BLT_RECTANGLE / MAP_IMAGEMASK etc.) ), A command such as a plane operation system (such as SET_DESTINATION). Each DL is a collection of such commands necessary for drawing processing (bitmap image development processing) in the band buffer memory.
印刷処理が開始されると、印刷エンジンが給紙し搬送動作をさせるのに同期させて、ビットマップ変換部113がバンド単位でDLを一つずつ順番に解釈してビットマップに変換して、その画像イメージをバンドバッファメモリ129に記録し、記録されたビットマップイメージは、順次印刷エンジンに転送されて印刷が実行される。(圧縮伸長処理省略の場合)
画像形成装置では、印刷エンジン部119が一定の回転速度で回転しながら現像処理を行うために、印刷エンジン部119が処理するデータの速度にそれ以前の処理である中間言語変換処理及びビットマップ変換処理が追いつかないと、印刷エンジンが処理するデータが無く停止してしまうエラーが発生する。このエラーをプリントオーバーランという。
When the printing process is started, the
In the image forming apparatus, since the
前記プリントオーバーランエラーを回避するために、特にカラー画像形成装置では、一旦1ページ分のビットマップ画像の保存ができてから、印刷エンジンへのデータ転送を行うという方法が取られている。この場合に1ページ分のビットマップデータイメージの量が非常に大きいため、すべてを保持するためのメモリを確保すると装置の高コスト化を招いてしまうという問題があった。しかし、ビットマップイメージデータは、一般的に同じパターンのデータの繰り返し部分が多い性格を持つためデータ圧縮率が非常に高いので、前記の1ページ分のビットマップデータに関しては、バンド毎に圧縮を行って保存し、1ページ分の圧縮保存が終了すると、バンド毎に圧縮データの伸長を行ってバンドバッファメモリに転送して、そこからさらに印刷エンジンに転送して印刷を行う方法をとっていた。 In order to avoid the print overrun error, particularly in a color image forming apparatus, a bitmap image for one page can be stored once and then transferred to the print engine. In this case, since the amount of the bitmap data image for one page is very large, there is a problem that securing the memory for holding all of them leads to an increase in the cost of the apparatus. However, since the bitmap image data has a very high data compression ratio because it has a large number of repeated portions of data of the same pattern in general, the bitmap data for one page is compressed for each band. When the compressed storage for one page is completed, the compressed data is decompressed for each band, transferred to the band buffer memory, and further transferred to the print engine for printing. .
この方法によりメモリ量をビットマップデータの1ページ分確保せずとも、プリントオーバーランを防ぐことが可能となった。 This method makes it possible to prevent a print overrun without securing a memory amount for one page of bitmap data.
しかし、CPUの高速化により画像形成装置での中間言語変換、ビットマップ変換にかかる時間も短縮化されており、ビットマップ変換後の圧縮伸長処理を行わずに順次バンドバッファメモリへの転送、続いての印刷エンジンへの転送、印刷処理を連続して行ってもプリントオーバーランを発生させずに処理可能となってきた。 However, the time required for intermediate language conversion and bitmap conversion in the image forming apparatus has also been shortened due to the speeding up of the CPU, and the data is sequentially transferred to the band buffer memory without performing compression / decompression processing after the bitmap conversion. Even if transfer to all print engines and print processing are continuously performed, it has become possible to perform processing without causing a print overrun.
本発明実施例では、画像形成装置において従来の圧縮伸長を行って印刷を行う方法と、圧縮伸長を行わずに印刷を行う方法とを制御部125(データ処理選択部)が選択することが可能である。 In the embodiment of the present invention, the control unit 125 (data processing selection unit) can select a method for performing printing by performing conventional compression / decompression in the image forming apparatus and a method for performing printing without performing compression / decompression. It is.
選択方法としては、あらかじめどちらの方法をとるかユーザの設定により選択する方法が可能であるし、又、従来の圧縮伸長を行う方法での印刷を行った際にメモリオーバーフローが発生すると、ユーザにその旨を通知して入力部からの入力により圧縮伸長を行わずに処理を進めるかどうかを選択する方法も可能としている。又、制御部125が印刷データ及びメモリ部127の使用状況からメモリオーバーフローの発生を予測して、発生が予測される場合には前記と同様に圧縮伸長を行わずに処理を進めるとしてもよい。
As a selection method is to be a method of selecting by which method the take or user preset, also the memory overflow occurs when printing was conducted in the way of performing the conventional compression and decompression, the user A method of notifying the fact and selecting whether or not to proceed with the process without performing compression / decompression by an input from the input unit is also possible. Further, the
又、メモリオーバーフローが生じた場合、又は予測される場合には、画像データの色調度の削減又は階調度の削減を選択することによりデータ量を削減して、再度の処理時にメモリオーバーフローを回避する方法も選択可能である。 Also, when a memory overflow occurs or is predicted, the data amount is reduced by selecting the reduction of the color tone or the reduction of the gradation of the image data, and the memory overflow is avoided at the time of the re-processing. The method can also be selected.
上記の圧縮伸長を行わずにメモリ量を確保する方法と、色調度を削減してメモリ量を確保する方法と、階調度を削減してメモリ量を確保する方法は、それぞれ独立に設定が可能であり、そのすべてを同時に設定しても良いし、いずれか1または2方法を選択することも可能である。 The method for securing the amount of memory without performing the above compression / decompression, the method for securing the amount of memory by reducing the color tone, and the method for securing the amount of memory by reducing the gradation can be set independently. All of them may be set at the same time, and either one or two methods can be selected.
[フローチャート]
図4の端末装置201(PC;Personal Computer)側のフローチャートと図5の画像形成装置側でのフローチャートを用いて印刷動作及びメモリオーバーフロー回避動作の流れについて説明する。
[flowchart]
The flow of the printing operation and the memory overflow avoidance operation will be described with reference to the flowchart on the terminal device 201 (PC: Personal Computer) side in FIG. 4 and the flowchart on the image forming apparatus side in FIG.
まず、図4(A)での端末装置201から動作を開始する。
First, the operation is started from the
S11:端末装置201(PC;Personal Computer)側では、プリンタブルデータ(一般的にはPDL;Page Description Language;ページ記述言語で記載された印刷データ)を生成して画像形成装置に送信して印刷指示を行う。ここで動作を図5のP端子に移行する。 S11: On the terminal device 201 (PC: Personal Computer) side, printable data (generally PDL; page description language; print data written in page description language) is generated and transmitted to the image forming apparatus to be printed. I do. Here, the operation shifts to the P terminal in FIG.
S13:画像形成装置101では、前記プリンタブルデータを受信して、印刷データを解析してPJL(Print Job Language)中に減色(色調度の削減)又は、減階調(階調度の削減)の指示が含まれているかどうかを判断する。含まれていれば動作をS14に移行する。含まれていなければ動作をS15に移行する。 S13: The image forming apparatus 101 receives the printable data, analyzes the print data, and gives an instruction for color reduction (reduction in color tone) or gradation reduction (reduction in tone level) during PJL (Print Job Language). Whether or not is included. If it is included, the operation proceeds to S14. If not included, the operation proceeds to S15.
S14:中間言語変換部111に印刷データの変換を行う際に、S13で解析された指示(色調度の削減又は階調度の削減)に従うように設定を行う。
S14: When converting the print data to the intermediate
S15:画像形成装置101では、前記プリンタブルデータを受信して、印刷データを解析してPJL(Print Job Language)中にメモリオーバーフロー低減モード(圧縮伸長を行わないで印刷処理を行うことによりメモリ量を確保する方法)が設定されているかどうかを判断する。メモリオーバーフロー低減モードが設定されている場合は、動作をS31に移行する。設定されていない場合は、動作をS16に移行する。 S15: The image forming apparatus 101 receives the printable data, analyzes the print data, and reduces the memory amount by performing the memory overflow reduction mode (print processing without compression / decompression) during PJL (Print Job Language). Judgment is made as to whether or not a secure method is set. If the memory overflow reduction mode is set, the operation proceeds to S31. If it is not set, the operation proceeds to S16.
S16:中間言語変換部111は、PDL(ページ記述言語)データをDL(ディスプレイリストに変換する。変換されたデータはメモリ部127に保存される。この場合、S14での色調度の削減又は階調度の削減の指示があればその指示に従ってデータを生成する。
S16: The intermediate
S17:ビットマップ変換部113は、前ステップで生成されたDLをビットマップデータに変換する。変換されたデータはメモリ部127に保存される。変換元となったDLはメモリ部127から消去される。
S17: The
S19:データ圧縮部115は、ビットマップデータを圧縮して、メモリ部127に保存する。変換元となったビットマップデータはメモリ部127から消去される。
S19: The
S21:S16,S17,S19でバンドごとに行われるデータ変換が1ページ分終了してメモリに圧縮された1ページ分のビットマップデータが保存されたかどうかを判断する。1ページ分のビットマップデータが仕上がれば動作をS23に移行する。まだ、完成していなければS16に戻ってバンド単位のデータ変換を繰り返す。 S21: It is determined whether or not the data conversion performed for each band in S16, S17, and S19 is completed for one page and the compressed bitmap data for one page is stored in the memory. If the bitmap data for one page is finished, the operation proceeds to S23. If not completed yet, the process returns to S16 and repeats the data conversion in units of bands.
S23:1ページ分のビットマップデータが出来上がったので、圧縮データ伸長部117は、バンド毎に圧縮されたビットマップデータを伸長する。
S23: Since bitmap data for one page has been completed, the compressed
S25:伸長処理によって元に戻されたビットマップデータは、バンドバッファメモリ129に転送される。
S25: The bitmap data restored by the decompression process is transferred to the
S27:バンドバッファメモリ129に転送されたビットマップデータは、印刷エンジン部119に転送される。
S 27: The bitmap data transferred to the
S29:印刷エンジン部119は、転送されたビットマップデータの印刷を行う。
S29: The
上記のS23からS25の処理はバンド毎に順次並列して処理が行われ、1ページ分の印刷が行われる。S29までの処理を終えると図4(B)のフローチャートのQ端子に動作を移行する。 The processes from S23 to S25 are sequentially performed in parallel for each band, and printing for one page is performed. When the processing up to S29 is completed, the operation shifts to the Q terminal in the flowchart of FIG.
S31:メモリオーバーフロー低減モードが選択されている場合には、S31からの処理が開始される。この処理はS16と同じくPDL(ページ記述言語)データをDL(ディスプレイリスト;中間言語)データに変換する。 S31: If the memory overflow reduction mode is selected, the processing from S31 is started. This process converts PDL (page description language) data into DL (display list; intermediate language) data as in S16.
S33:DLをビットマップデータに変換する。S17と同じ処理である。 S33: Convert DL to bitmap data. This is the same processing as S17.
S35:ここで、圧縮処理を行わずに生成されたビットマップデータをバンドバッファメモリに転送する。この処理はS25と同じである。 S35: Here, the bitmap data generated without performing the compression process is transferred to the band buffer memory. This process is the same as S25.
S37:バンドバッファメモリに転送されたビットマップデータを印刷エンジン部119に転送する。この処理はS27と同じである。
S37: The bitmap data transferred to the band buffer memory is transferred to the
S39:印刷エンジン部119は、転送されたビットマップデータの印刷を行う。この処理はS29と同じである。
S39: The
上記のS31からS39の処理はバンド毎に順次並列して処理が行われ、1ページ分の印刷が行われる。S39までの処理を終えると図4(B)のフローチャートのQ端子に動作を移行する。 The processes from S31 to S39 are sequentially performed in parallel for each band, and printing for one page is performed. When the processing up to S39 is completed, the operation shifts to the Q terminal in the flowchart of FIG.
S40:上記のS13からS39の処理中にメモリオーバーフローやプリントオーバーランなどのエラーが発生すると割り込み処理が始まり、これ以上印刷動作を継続できないため、エラー原因を示すエラーコードを持って、図4(B)のフローチャートのQ端子に動作を移行する。 S40: If an error such as a memory overflow or print overrun occurs during the processing from S13 to S39, an interrupt process starts, and the printing operation cannot be continued any more, so an error code indicating the cause of the error is shown in FIG. The operation is shifted to the Q terminal in the flowchart of B).
次に図4(B)のQ端子から始まる端末装置201側の動作を説明する。
Next, the operation on the
S41:画像形成装置でエラー(メモリオーバーフロー、プリントオーバーラン)が発生したかどうかを判断する。エラーが発生していなければ、正常に印刷が行われたとしてS43で動作を正常終了する。エラーが発生した場合には動作をS45に移行する。 S41: It is determined whether an error (memory overflow, print overrun) has occurred in the image forming apparatus. If no error has occurred, it is determined that printing has been performed normally, and the operation ends normally in S43. If an error has occurred, the operation proceeds to S45.
S45:エラー回避動作の設定を行う。印刷動作を中止する「キャンセル」を選択するか、色調度の削減を行う(例えばカラー印刷をモノクロ印刷に変更する)か、階調度の削減を行う(例えば、4bpp(bit per pixel)を2bpp(bit per pixelに変更する)かをユーザが選択する。 S45: An error avoidance operation is set. Select “Cancel” to cancel the printing operation, reduce the color tone (for example, change the color printing to monochrome printing), or reduce the tone level (for example, 4 bpp (bit per pixel) is changed to 2 bpp (bit per pixel) change to bit per pixel).
S47:S45での選択がキャンセルであったかどうかを判断する。キャンセルであれば印刷を行わずS49で動作を終了する。キャンセルでなければ動作をS51に移行する。 S47: It is determined whether or not the selection in S45 is cancel. If cancelled, printing is not performed and the operation ends in S49. If not cancelled, the operation proceeds to S51.
S51:S45での選択が色調度の削減かどうかを判断する。そうであれば動作をS53に移行する。そうでなければ動作をS55に移行する。 S51: It is determined whether or not the selection in S45 is a reduction in color tone. If so, the operation proceeds to S53. Otherwise, the operation proceeds to S55.
S53:色調度の削減の指示をPJL(Print Job Language)に付加する。 S53: An instruction to reduce the color tone is added to PJL (Print Job Language).
S55:S45での選択が階調度の削減かどうかを判断する。そうであれば動作をS57に移行する。そうでなければ動作をS59に移行する。 S55: It is determined whether or not the selection in S45 is a reduction in gradation. If so, the operation proceeds to S57. Otherwise, the operation proceeds to S59.
S57:階調度の削減の指示をPJL(Print Job Language)に付加する。 S57: An instruction to reduce the gradation is added to PJL (Print Job Language).
S59:S45での選択がメモリオーバーフロー低減モードの設定かどうかを判断する。そうであれば動作をS61に移行する。そうでなければ動作をS63に移行する。 S59: It is determined whether or not the selection in S45 is the setting of the memory overflow reduction mode. If so, the operation proceeds to S61. Otherwise, the operation proceeds to S63.
S61:メモリオーバーフロー低減モード実行の指示をPJL(Print Job Language)に付加する。 S61: An instruction to execute the memory overflow reduction mode is added to PJL (Print Job Language).
S63:S53、S57,S61で付加された指示があればその指示を付加した形で、無ければ通常の印刷指示を画像形成装置に対して行う。 S63: If there is an instruction added in S53, S57, S61, the instruction is added, and if not, a normal print instruction is given to the image forming apparatus.
次に画像形成装置側のフローチャート図5のP端子に動作を移行する。 Next, the operation shifts to the P terminal in the flowchart of FIG. 5 on the image forming apparatus side.
以上の一連の動作により、一旦メモリオーバーフローにより印刷を行えなかったデータを上述した回避方法によりメモリ量を確保して印刷を可能とした。 Through the above series of operations, data that could not be printed once due to memory overflow can be printed with the memory amount secured by the avoidance method described above.
なお、本フローチャートでは、1ページ分のデータに関するバンド毎のループのみを示した。実際の印刷データでは、ひとつのジョブに複数のページが含まれているがその場合は、1ページ分の処理を繰り返すこととなる。複数ページ分のループについては本発明の本質には関係ないのでここでは省略した。 In this flowchart, only a loop for each band related to data for one page is shown. In actual print data, a single job includes a plurality of pages. In this case, processing for one page is repeated. Since loops for a plurality of pages are not related to the essence of the present invention, they are omitted here.
本フローチャートでは、S45で一旦エラーが発生した後にエラー回避動作を設定する動作例について示したが、S11の印刷指示以前にあらかじめエラー回避動作を設定しておく方法であってもよい。 In this flowchart, an operation example in which an error avoidance operation is set after an error has occurred once in S45 is shown, but an error avoidance operation may be set in advance before a print instruction in S11.
又、制御部125(データ処理選択部)は、印刷データ及び画像形成装置のメモリ状態より、メモリオーバーフローの発生が予測されるかどうかを判断して、メモリオーバーフローが予測される場合にはエラー回避動作を行うか、又はエラー回避動作設定の選択動作を行うとしても良い。 Further, the control unit 125 (data processing selection unit) determines whether or not a memory overflow is predicted from the print data and the memory state of the image forming apparatus, and avoids an error when a memory overflow is predicted. An operation may be performed or an error avoidance operation setting selection operation may be performed.
本フローチャートでは、S45で一旦エラーが発生した後にエラー回避動作をユーザが選択する動作例について示したが、メモリオーバーフローが発生した際には、自動でメモリオーバーフロー低減モードを選択して、圧縮伸長処理を行わない方法での印刷を再試行する動作としてもよい。 In this flowchart, the operation example in which the user selects the error avoidance operation after an error has occurred once in S45 is shown. However, when a memory overflow occurs, the memory overflow reduction mode is automatically selected and the compression / decompression process is performed. It is also possible to retry printing in a method that does not perform the above.
[実施例の効果]
本発明実施例により、画像形成装置においてメモリオーバーフローが発生した際に、ビットマップデータの圧縮伸長処理を行わないメモリオーバーフロー低減モードをとることにより、メモリ量を確保することができ、印刷データを劣化させること無く印刷することが可能となった。
[Effect of Example]
According to the embodiment of the present invention, when the memory overflow occurs in the image forming apparatus, the memory amount can be secured by adopting the memory overflow reduction mode in which the compression / decompression processing of the bitmap data is not performed, and the print data is deteriorated. It became possible to print without letting.
また、色調度の削減や階調度の削減によりビットマップデータ量を削減することによりメモリ量を確保してメモリオーバーフローの発生を回避した。 In addition, by reducing the amount of bitmap data by reducing the color tone and the gradation, the memory amount is secured and the occurrence of memory overflow is avoided.
画像形成装置101の入力部121を通して入力された上記のデータ処理の選択結果に基づいて、どのような処理を行うかの選択ができることになった。
Based on the data processing selection result input through the
[その他]
減色(色調度の削減)は、カラー画像をモノクロ画像に変換することを含む。
[Others]
The color reduction (reduction in color tone) includes converting a color image into a monochrome image.
本発明実施例では、色調度の削減及び階調度の削減を中間言語変換部111により行ったが、ビットマップ変換部113により行っても良い。
In the embodiment of the present invention, the tone reduction and the gradation reduction are performed by the intermediate
101 画像形成装置
111 中間言語変換部
113 ビットマップ変換部
115 データ圧縮部
117 圧縮データ伸長部
119 印刷エンジン部
121 入力部
125 制御部(データ処理選択部)
201 端末装置
DESCRIPTION OF SYMBOLS 101
201 terminal device
Claims (2)
前記中間言語データをビットマップデータに変換するビットマップ変換部と、
前記ビットマップデータを圧縮してメモリ部に保存するデータ圧縮部と、
前記データ圧縮部にて圧縮されたビットマップデータをビットマップデータに伸長する圧縮データ伸長部と、
前記伸長されたビットマップデータの転送を受けて画像の印刷を行う印刷エンジン部とを備え、
前記ビットマップ変換部から前記印刷エンジン部へ前記ビットマップデータの転送を選択可能とするデータ処理選択部を設け、
ユーザの入力を受け付ける入力部を有し、
前記データ処理選択部は、前記ビットマップデータを前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理後に前記印刷エンジン部に転送するか、又は、前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理を行わずに前記ビットマップ変換部での変換後に前記印刷エンジン部に転送するかを前記入力部からの入力により設定可能である画像形成装置であって、
前記データ処理選択部は、エラー後に前記ビットマップデータのメモリオーバーフロー低減モードの処理を選択可能であって、メモリオーバーフロー低減モードの処理を選択した場合には前記ビットマップデータを圧縮伸長処理せずに前記印刷エンジン部に転送し直す
ことを特徴とする画像形成装置。 An intermediate language conversion unit for converting image data into intermediate language data;
A bitmap converter for converting the intermediate language data into bitmap data;
A data compression unit for compressing the bitmap data and storing it in a memory unit;
A compressed data decompression unit for decompressing the bitmap data compressed by the data compression unit into bitmap data;
A print engine unit that receives the transferred bitmap data and prints an image;
A data processing selection unit that enables selection of transfer of the bitmap data from the bitmap conversion unit to the print engine unit;
It has an input unit that accepts user input,
The data processing selection unit transfers the bitmap data to the print engine unit after compression / decompression processing by the data compression unit and the compressed data decompression unit, or the data compression unit and the compressed data decompression unit Whether to transfer to the print engine unit after conversion in the bitmap conversion unit without performing compression / decompression processing in the input unit, and can be set by input from the input unit,
The data processing selection unit can select a memory overflow reduction mode process for the bitmap data after an error, and if the memory overflow reduction mode process is selected, the bitmap data is not compressed and decompressed. Transferring the image data to the print engine unit again.
前記データ処理選択部は、前記メモリ部の記憶残量の状態に基づいて、前記ビットマップデータを前記データ圧縮部と前記圧縮データ伸長部とでの圧縮伸長処理後に印刷エンジン部に転送するか、又は、前記データ圧縮部と前記圧縮データ伸長部での圧縮伸長処理を行わずに前記ビットマップ変換部での変換後に前記印刷エンジン部に転送するかを選択する
ことを特徴とする画像形成装置。 The image forming apparatus according to claim 1,
The data processing selection unit transfers the bitmap data to the print engine unit after the compression / decompression process in the data compression unit and the compressed data decompression unit based on the state of the remaining storage capacity of the memory unit, Alternatively, the image forming apparatus selects whether to transfer to the print engine unit after conversion by the bitmap conversion unit without performing compression / decompression processing by the data compression unit and the compressed data expansion unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007222998A JP5160169B2 (en) | 2007-08-29 | 2007-08-29 | Image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007222998A JP5160169B2 (en) | 2007-08-29 | 2007-08-29 | Image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009056595A JP2009056595A (en) | 2009-03-19 |
JP5160169B2 true JP5160169B2 (en) | 2013-03-13 |
Family
ID=40552803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007222998A Expired - Fee Related JP5160169B2 (en) | 2007-08-29 | 2007-08-29 | Image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5160169B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7024218B2 (en) * | 2017-06-19 | 2022-02-24 | 富士フイルムビジネスイノベーション株式会社 | Image forming device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07266633A (en) * | 1994-03-29 | 1995-10-17 | Matsushita Electric Ind Co Ltd | Printer |
JP3384553B2 (en) * | 1999-11-19 | 2003-03-10 | セイコーエプソン株式会社 | Printing system |
JP2001191592A (en) * | 2000-01-14 | 2001-07-17 | Ricoh Co Ltd | Printing device and image processing device equipped with printing device |
JP4534713B2 (en) * | 2004-10-22 | 2010-09-01 | ブラザー工業株式会社 | Printing apparatus and program |
JP2007076232A (en) * | 2005-09-15 | 2007-03-29 | Canon Inc | Recording device, and controlling method for recording device |
JP2007150842A (en) * | 2005-11-29 | 2007-06-14 | Canon Inc | Image forming system |
-
2007
- 2007-08-29 JP JP2007222998A patent/JP5160169B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009056595A (en) | 2009-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4543340B2 (en) | Image processing apparatus, image forming system, and program | |
US20120054730A1 (en) | Image processing apparatus capable of reducing time required to update software, method of controlling the same, information processing system, and storage medium | |
JPH11338651A (en) | Printer control circuit, printer and printing system | |
US8547571B2 (en) | Print control apparatus for performing preprocessing of image data | |
US20080198414A1 (en) | Image forming apparatus and image forming method | |
US20050063001A1 (en) | Printing system and printing control method | |
JP5160169B2 (en) | Image forming apparatus | |
US20150242720A1 (en) | Image processing apparatus, image processing method for the same, and recording medium | |
JP4697234B2 (en) | Image processing apparatus and image processing method | |
JP2000198240A (en) | Printer and control method thereof | |
JP2007130887A (en) | Printer, and its controlling method | |
JP6185745B2 (en) | Print control apparatus, print control method, and program | |
JP2010146138A (en) | Printing system, printing method, printer, and host device | |
JP4400097B2 (en) | Printing apparatus, printing control method, program, and recording medium | |
JP7322236B2 (en) | PRINTING DEVICE, CONTROL METHOD, AND PROGRAM | |
JP3907484B2 (en) | Information processing apparatus, control method thereof, and program | |
JP4760751B2 (en) | Image display device, printing device, and image cache method | |
JP2018118477A (en) | Image processing device, control method and program of the same | |
JP6439399B2 (en) | Image processing apparatus, data processing method, and computer program | |
JPH0244397A (en) | Picture data communication equipment | |
JP4259328B2 (en) | Image processing apparatus, printer, and method for reading stored data | |
US20100165385A1 (en) | Image processing apparatus and control method therefor | |
JP2001236186A (en) | Printing processing system, method for processing print data and recording medium with program for performing the method recorded thereon | |
JP3174730B2 (en) | PRINTING APPARATUS, PRINT CONTROL METHOD, AND STORAGE MEDIUM | |
JP3495877B2 (en) | Printer control system, printer control device and their methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100727 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120612 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120807 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120828 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121023 |
|
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: 20121113 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121212 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5160169 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151221 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |