JP3990970B2 - Printing apparatus, printing method, and program - Google Patents

Printing apparatus, printing method, and program Download PDF

Info

Publication number
JP3990970B2
JP3990970B2 JP2002318430A JP2002318430A JP3990970B2 JP 3990970 B2 JP3990970 B2 JP 3990970B2 JP 2002318430 A JP2002318430 A JP 2002318430A JP 2002318430 A JP2002318430 A JP 2002318430A JP 3990970 B2 JP3990970 B2 JP 3990970B2
Authority
JP
Japan
Prior art keywords
image
compression
compressed
degree
display list
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
Application number
JP2002318430A
Other languages
Japanese (ja)
Other versions
JP2004152141A (en
JP2004152141A5 (en
Inventor
直広 一色
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 JP2002318430A priority Critical patent/JP3990970B2/en
Priority to US10/688,961 priority patent/US7286819B2/en
Publication of JP2004152141A publication Critical patent/JP2004152141A/en
Publication of JP2004152141A5 publication Critical patent/JP2004152141A5/en
Application granted granted Critical
Publication of JP3990970B2 publication Critical patent/JP3990970B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、所定のインタフェースを介してコンピュータより印刷情報を受信して処理する印刷装置の制御に関するものである。
【0002】
【従来の技術】
近年、カラー印刷装置と複数のホストコンピュータとが通信可能な情報処理システムは一般化され広く使われるようになってきている。このような状況の中,前記情報処理システム上で作成される多くの電子ドキュメントが作成され、カラー印刷装置への出力要求は増大する傾向にあり、高速かつ安価なカラー印刷装置が望まれている。
【0003】
従来、ホストコンピュータやプリントサーバから送信されてきたページ記述言語(PDL)を解釈しラスタイメージを作成する印刷システムでは、PDLを解釈した上で中間言語であるディスプレイリスト(DL)を作成し、このDLからラスタイメージ変換(レンダリング)を行うのが一般的である。
【0004】
この際、上記PDLデータのサイズは限定されていないため、このPDLデータから作成されるDLのサイズが非常に大きくなることがある。また、DLが複雑になり、そのサイズが大きくなると、このDLをレンダリングするレンダラの使用するワーク領域も大きなものとなる。
【0005】
しかしながら、印刷装置に搭載されるメモリ量は有限であり、且つコスト的な制約から、前記DLを格納するのに十分な量が無いことが多い。
【0006】
したがって、上記DLを格納する領域及びレンダラの使用できるワーク領域のサイズは限定されており、定められた一定サイズ以上のDLを処理できないといった制約がでてくる。
【0007】
この制約を回避する為にフォールバックと呼ばれる処理が行われる。フォールバックは、DLのサイズがある一定のサイズを超えた場合や、そのDLを処理するためのワーク領域が一定のサイズを超えるとわかった場合に、一度そこまでに生成されたDLをレンダリングしてラスタイメージとし、そこまで作成したDLを一度クリアする。
【0008】
このラスタイメージを描画エリアのバックグラウンドイメージとして再びDLの一部に追加する。
【0009】
通常、このバックグラウンドイメージは圧縮されるため、追加されるDLのサイズは元のDLサイズよりも小さくなる。そこで、この空いた領域に残りのDLを作成していくことにより限定されたメモリ空間で大きなサイズのDLを処理できる。また、フォールバック時のレンダリング終了時にレンダラのワーク領域もクリアされるため、このワーク領域のサイズ制限も回避することができ低コストな印刷装置を提供することができる。
【0010】
一方で、前述のようにフォールバック処理を行う過程で作成されたラスタイメージは圧縮されてDLリストに追加されるが、このとき作成される圧縮イメージも所定のサイズに収めなければならない。
【0011】
特に、カラー画像ではレンダリング時に作成されるラスタイメージのサイズは非常に大きく、可逆圧縮では前記圧縮イメージを所定のサイズ内に収めることができないことが多く、通常非可逆圧縮が使用される。
【0012】
しかしながら、非可逆圧縮を使用すると圧縮された画像は劣化してしまう。この画像劣化を最小限に抑える手法としては、レンダリングされた画像に対して低圧縮率から高圧縮率へ(画像劣化の小さい圧縮から画像劣化の大きい圧縮へ)順次圧縮率を変えながら、前記所定のサイズに圧縮イメージが収まるまで、複数回繰り返す。このようにすることにより、所定のサイズが収まる最低の圧縮率で圧縮され、最小限の画像劣化で済む。例えば特開平7−137355号公報参照。
【0013】
【発明が解決しようとする課題】
しかしながら、ラスタイメージ画像の圧縮率は、そのラスタイメージの内容に依存しており、同程度の画像劣化のおこる圧縮でも、圧縮率が非常に悪くなってしまう場合がある。
【0014】
このようなラスタイメージの場合は、前記所定のサイズに収めるためには、画像劣化の大きな圧縮を行わなければならず、圧縮画像の画質は非常に悪いものになってしまう。多くの場合、このような画像劣化した圧縮画像を含む印刷装置はユーザの意図したものではないという問題点があった。
【0015】
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、ユーザの意図しない印刷出力は出力しないようにして、ユーザビリティを向上させることができる印刷装置を提供することである。
【0016】
【課題を解決するための手段】
上記目的を達成する本発明の印刷装置は以下に示す構成を備える。
【0017】
本発明は、印刷データを受信し、ディスプレイリストを生成する際に、ディスプレイリストのサイズがワーク用メモリのサイズを超えるか否かを判定する判定手段と、前記判定手段によりディスプレイリストのサイズがワーク用のサイズを超えると判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度合いで圧縮し、圧縮された画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮し、圧縮された画像がバッファに収まる場合に圧縮された画像を背景画像としてディスプレイリストに登録する登録手段と、前記判定手段によりディスプレイリストのサイズがワーク用メモリのサイズを超えないと判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度で圧縮し、圧縮した画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮するレンダリング手段と、変更された圧縮度合いが指定されている圧縮度合いを超える場合、前記レンダリング手段により圧縮された画像から解凍される画像を印刷せず、変更された圧縮度合いが指定されている圧縮度合いを超えない場合、前記レンダリング手段により圧縮された画像から解凍される画像を印刷する印刷手段と有することを特徴とする。
【0018】
【発明の実施の形態】
本実施形態の構成を説明する前に、本実施形態を適用するに好適なレーザビームプリンタの構成について図1を参照しながら説明する。なお、本実施形態を適用するプリンタは、レーザビームプリンタに限られるものではなく、他のプリント方式のプリンタ(インクジェットプリンタ)でも良いことは言うまでもない。
【0019】
図1は、本発明を適用可能な出力装置の構成を示す断面図であり、例えばレーザビームプリンタ(LBP)の場合を示す。
【0020】
図1において、1000はLBP本体(LBP)であり、外部にネットワークや直接インタフェースで接続されているホストコンピュータ等の外部情報源から供給される印刷情報(文字コード等)やフォーム情報あるいはマクロ命令等を入力して記憶するとともに、それらの情報に従って対応する文字パターンやフォームパターン等を作成し、記録媒体である記録紙等に像を形成する。
【0021】
1012は操作パネルで、操作のためのスイッチおよびLED表示器等が配されている。1001はプリンタ制御ユニットで、LBP1000全体の制御および外部ネットワーク等から供給される文字情報等を解析する。
【0022】
このプリンタ制御ユニット1001は、主に文字情報を対応する文字パターンのビデオ信号に変換してレーザドライバ1002に出力する。レーザドライバ1002は半導体レ−ザ1003を駆動するための回路であり、入力されたビデオ信号に応じて半導体レーザ1003から発射されるレーザ光1004をオン・オフ切り換えする。レーザ光1004は回転多面鏡1005で左右方向に振らされて静電ドラム1006上を走査露光する。
【0023】
これにより、静電ドラム1007上には文字パターンの静電潜像が形成されることになる。この潜像は、静電ドラム1006周囲に配設された現像ユニット1007により現像された後、記録紙に転写される。
【0024】
この記録紙にはカットシートを用い、カットシート記録紙はLBP1000に装着した用紙カセット1008に収納され、給紙ローラ1009および搬送ローラ1010と搬送ローラ1011とにより、装置内に取り込まれて、静電ドラム1006に供給される。
【0025】
〔第1実施形態〕
図2は、本発明の第1実施形態を示す印刷装置におけるプリンタ制御システムの構成を説明するブロック図であり、図1と同一のものには同一の符号を付してある。
【0026】
図2に示すプリンタ制御ユニット1001において、MAIN−CPU1はプリンタのCPUであり、ROM4に記憶された制御プログラムや外部メモリ7に記憶された制御プログラムなどに基づいてシステムバス5に接続される各種のデバイスへのアクセスを総合的に制御し、印刷部インタフェース8を介して接続される印刷部(プリンタエンジン)9に出力情報として画像信号を出力する。
【0027】
なお、ROM4には、後述する図4、図5のフローチャートに示されるようなMAIN−CPU1の制御プログラムや、LBP1000の制御に必要なデータを記憶する。MAIN−CPU1はI/O11を介して外部ネットワーク3000に接続されているホストコンピュータ等の外部装置と通信可能に構成されている。
【0028】
なお、ホストコンピュータと外部ネットワークを介して通信するとしているが、図示しない直接インタフェースを介してホストコンピュータと接続し、通信を行っても良いことは言うまでもでもない。
【0029】
2はRAMで、MAIN−CPU1の主メモリ・ワークエリア等として機能する。なお、RAM2は、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。
【0030】
3は前記RAM2上に用意される画像出力バッファであり、フォールバックバッファや出力バッファとして後述するハードレンダラ20で作成されるラスタイメージ及び属性ビットが記録される。
【0031】
6はメモリコントローラ(MC)であり、ハードディスク等の外部メモリ7へのアクセスを制御する。20はハードレンダラであり、内部にローカルメモリ21を持っている。ハードレンダラ20は、ローカルメモリ21に転送されてきたディスプレイリスト(DL)またはRAM2上にあるDLをそのまま解釈し、ラスタイメージ及びラスタイメージの各ピクセル毎に対応する属性ビットを作成する。
【0032】
ここで生成される各属性ビットは、1bitのカラービット、1bitの細線ビット及び2bitのオブジェクト種ビットの3つのビットフィールド計4bitで構成されている。
【0033】
なお、カラービットは対応するピクセルがカラーオブジェクトを構成するピクセルであるか、白黒オブジェクトを構成するピクセルであるかを表し、このビットが「0」である時にはカラーオブジェクトを構成するピクセルであり、「1」である時には白黒オブジェクトを構成するピクセルであることを示す。
【0034】
細線ビットは対応するピクセルが細線を構成するピクセルであるか否かを表し、このビットが「1」である時には細線を構成するピクセルであることを示す。
【0035】
オブジェクト種ビットは対応するピクセルがどのような種類の描画オブジェクトを構成しているかを表し、「01」の時には文字オブジェクトを構成するピクセルであり、「10」のときにはグラフィックスオブジェクトを構成するピクセルであり、「11」の時にはイメージオブジェクトを構成するピクセルであり、「00」の時には、そのピクセルはどのようなオブジェクトも構成されていないことを示す。
【0036】
非可逆圧縮部22は前記ラスタイメージに非可逆圧縮を施し、RAM2上の画像出力バッファ3へ記憶する。本実施形態による非可逆圧縮部はJPEGを採用している。JPEGは圧縮時に使用するQテーブルを変更することにより、圧縮対象となる画像の圧縮率を変更することが可能であり、圧縮率が高くなるほど画像劣化が大きくなる。
【0037】
ここでは、非可逆圧縮としてJPEGを使用するとしているが、圧縮率を変更可能な非可逆圧縮方法であれば、本発明を適用できるはいうまでもない。
【0038】
可逆圧縮部23は前記属性ビットに可逆圧縮を施し画像出力バッファ3へ記憶する。画像処理部24は、ハードレンダラ20によって生成された属性ビットに基づいて、ラスタデータに文字用の画像処理、イメージ用の画像処理、グラフィック用の画像処理、カラー用の画像処理、白黒用の画像処理、細線用の画像処理のいずれかまたは組み合わせて施す。
【0039】
このように構成されたプリンタ制御システムにおいて、図3及び図4〜図6のフローチャートに従って本発明の実施形態を説明する。
【0040】
LBP1000は、後述するレンダリング時に生成されるラスタ画像を圧縮する際に、非可逆圧縮部22のJPEGに設定するQテーブルを、例えば6種類持っている。各Qテーブルは1から6までの識別子をもっており、この識別子を便宜上QテーブルIDと呼ぶ。各Qテーブルは大きなQテーブルIDを持つほど圧縮率が高くなるように設定されており、したがって大きなQテーブルIDを持つQテーブルを使用するほど画像劣化が大きくなる。
【0041】
なお、ここではQテーブルの種類を6種類としているが、この数は限定されるものではないことは言うまでもない。本実施形態において、QテーブルID1からQテーブルID5までのQテーブルを使用した圧縮結果は一見では、画像劣化が目立たない程度ものであるが、QテーブルID6のQテーブルは、ほとんどの画像の圧縮結果を後述のフォールバックバッファや画像スプール領域へ収めることができるように設計されており、このQテーブルを使用した画像劣化は非常に大きなものとなっている。
【0042】
本実施形態のシステムではユーザが、QテーブルID6のQテーブルを使用した圧縮画像が含まれる画像の出力の可否を選択できるユーザインタフェースを備えている。
【0043】
図3は、図2に示した操作パネル1012の液晶パネル部に表示されるプリンタ使用設定の圧縮画像出力選択画面の一例を説明する図である。
【0044】
図3において、301は液晶パネル(LCD)部で、ユーザが操作パネル1012を操作することにより操作パネル1012へ備えられているLCD301へ表示される画面である。302は出力するボタン及び303はエラー表示するボタンで、ユーザが選択可能なボタンであり、現在の選択されている内容が網掛けで表示されている(図3の例ではエラー表示するボタン303が選択されている)。
【0045】
出力するボタン302が選択されている場合にはQテーブルID6のQテーブルを使用した圧縮画像が含まれる画像は出力されるが、エラー表示するボタン303が選択されている場合にはQテーブルID6のQテーブルを使用した圧縮画像が含まれる画像は印刷出力されず、このQテーブルが使用された画像が生成されたことを示す内容のエラーログが表示される。
【0046】
ユーザが出力するボタン302を選択し、OKボタン304を選択すると、RAM2上にある変数QMAXへ「6」が登録され、エラー表示するボタン303を選択しOKボタン304を選択すると前記変数QMAXへ「5」が登録される。
【0047】
一方、キャンセルボタン305が選択された場合は、出力するボタン302またはエラー表示するボタン303が選択されて以前の内容と変更されたとしても、その内容は前記変数QMAXへ反映されない。
【0048】
以上のユーザインタフェース(設定画面)の説明は一例であり、ユーザはホストコンピュータ上で実行されているプリンタドライバプログラムや、リモートユーザインタフェースプログラムからも同様の設定を行うことが可能である。この場合は、外部ネットワーク3000を介してQテーブルID6を使用した圧縮画像の印刷出力の可否が伝えられ、前記QMAX内容が更新される。
【0049】
図4は、本発明に係る印刷装置における第1のデータ処理手順の一例を示すフローチャートであり、ROM4に記憶される印刷制御プログラムに基づき、PDLジョブ受信時に、MAIN−CPU1が処理するPDLジョブ印刷処理手順に対応する。なお、S400〜S414は各ステップを示す。
【0050】
LBP1000が、外部ネットワーク3000からPDLジョブを受信すると(S401)、ステップS402へ進み 現在設定中のQテーブルIDを示す変数カレントQIDを「1」に設定し、ステップS403へ進む。
【0051】
そして、ステップS403では、MAIN−CPU1においてPDLデータの解析処理を行いながらディスプレイリスト(DL)をRAM2上に生成(作成)するとともに、ステップS404へ進む。なお、ステップS403でのDLの生成時には通常1ページ分のDLが生成される。ただし、常にハードレンダラ20のローカルメモリのサイズ、ワーク用テーブルのサイズをそれぞれ検査しており、生成中のDLがローカルメモリのサイズを超える場合、また生成中のDLをレンダリング時に使用するワーク用テーブルのサイズが、ハードレンダラ20に搭載されているテーブルサイズを超えた場合には、フォールバックを発生し、フォールバックフラグを立て、その時点でステップS404へ進む。
【0052】
そして、ステップS404では、フォールバックフラグを検査し、フォールバックの有無を検査する。ここで、フォールバックが発生していると判定した場合は、ステップS405へ進む。
【0053】
そして、ステップS405ではレンダリング後の圧縮イメージの格納される画像出力バッファをフォールバックバッファへ設定し、ステップS406のレンダリング処理へ進む。そして、ステップS406では、ステップS403で生成されたDLをハードレンダラ20を使用してレンダリングしラスタイメージを生成した後、圧縮イメージを作成する。なお、当該処理の詳細については後述する。
【0054】
そして、ステップS406でレンダリング処理の後、ステップS407へ進み、ステップS406でフォールバックバッファに格納されている圧縮イメージを背景イメージとしてDLへ登録し、ステップS403へ戻り、PDLデータの解析及びDLの生成を続ける。
【0055】
一方、ステップS404でフォールバックが発生していないと判断した場合、ステップS408へ進み、レンダリング後の圧縮イメージの格納される画像出力バッファを印刷用の画像が格納される画像スプールへ設定し、ステップS409のレンダリング処理へ進む。
【0056】
そして、ステップS409のレンダリング処理は、レンダリングの圧縮イメージが画像スプールに格納されることを除いてはステップS406と同一である。ステップS409でのレンダリング処理の後、ステップS410へ進み、ステップS406またはステップS409でのレンダリング処理中に設定される変数圧縮エラーフラグを検査し圧縮エラーの有無を判別して、圧縮エラー有りと判別された場合には、レンダリング中にユーザがあらかじめ容認すると設定している画像劣化以上の画像劣化が発生していると判断し、PDLジョブの印刷処理をそこで中断して処理を終了する(S414)。
【0057】
一方、ステップS410で圧縮エラーなしと判断した場合は、ステップS411へ進み、ステップS409で画像スプールに格納されている圧縮画像と圧縮された属性ビットを画像処理部24へ転送し圧縮画像をラスタイメージへ解凍しながら属性ビットに従って適切な画像処理を施し、ステップS412へ進む。
【0058】
そして、ステップS412では、ステップS411で画像処理を施されたラスタイメージを印刷部9へ転送し紙上へ印刷を行ない、ステップS413へ進み、ステップS401で受信したPDLジョブの全頁の処理が終了したか否かを判断し、全頁の処理が終了していればPDLジョブの印刷処理を終了し(S414)、まだ処理すべきPDLデータが残っていると判断した場合は、ステップS402へ戻り、カレントQIDを「1」に初期化した後、PDLデータの解析およびDL生成処理(DL作成処理)を続ける。
【0059】
図5は、本発明に係る印刷装置における第2のデータ処理手順の一例を示すフローチャートであり、図4に示したステップS406およびステップS409でDLをレンダリングし生成されたラスタイメージが圧縮されて、直前のステップで設定された出力バッファに格納されるまでの詳細手順に対応する。なお、S500〜S511は各ステップを示す。
【0060】
上述した図4に示したステップS406またはステップS409が実行されると本処理が開始され(S500)、ステップS402でRAM2上に生成されたDLをハードレンダラ20上のローカルメモリ21へ転送し(S501)、ステップS502へ進み、変数カレントQIDに設定さているQテーブルIDのQテーブルを非可逆圧縮部22へ設定する。
【0061】
そして、ステップS503では、ハードレンダラ20のレジスタ設定等、各種初期化処理を行った後、レンダリングスタートの信号を送りローカルメモリ22上にあるDLのレンダリングを開始する。
【0062】
そして、ステップS504では、ハードレンダラ20はローカルメモリ21上のDLを解析しながら64スキャンライン分のラスタイメージおよび前記ラスタイメージに対応する属性ビットをローカルメモリ上のバッファに生成する。
【0063】
なお、ここで64スキャンライン分のラスタイメージを生成するとしているが、このスキャンライン数は一例であり、他のスキャンライン数であっても良いことは言うまでもない。
【0064】
次に、ステップS505では、ステップS504で生成された前記ラスタイメージを非可逆圧縮部22へ転送しステップS502で設定されているQテーブルでJPEG圧縮を施し、生成された圧縮画像を前記ステップS405またはS408で設定されている画像出力バッファに格納する。
【0065】
さらに、ステップS505ではステップS504で生成されている属性ビットを可逆圧縮部23へ転送し可逆圧縮を施した後、圧縮された属性ビットを前記画像出力バッファに格納する。
【0066】
なお、ステップS505での圧縮画像および圧縮された属性ビットの画像出力バッファへの格納時には常に画像出力バッファに収めることができるかを検査しているので、ステップS506では画像出力バッファに収めることができたか否かを判断して、出力バッファに収めることができたと判断した場合にはステップS507へ進み、さらに、レンダリングされたスキャンライン数をチェックすることにより、1ページ分のレンダリングが終了したか否かを判断し、1ページ分のレンダリングが終了していると判断した場合は、レンダリング処理を終了し(S508)、1ページ分のレンダリングが終了していないと判断した場合は、ステップS504へ戻り、残りのレンダリングを続ける。
【0067】
一方、ステップS506で画像出力バッファに圧縮画像または圧縮された属性ビットが収まらないと判断された場合は、ステップS509へ進み、変数カレントQIDの値をインクリメントする。
【0068】
そして、ステップS510では変数カレントQIDとユーザの設定により設定されている変数QMAXを比較し変数カレントQIDの値が変数QMAXの値以下であるかどうかを判断して、変数カレントQIDの値が変数QMAXの値以下であると判断した場合は、ステップS502へ戻り、変数カレントQIDに設定されているQテーブルIDのQテーブルを非可逆圧縮部22へ再設定してレンダリングを再スタートする。
【0069】
一方、ステップS510で変数カレントQIDの値が変数QMAXの値よりも大きいと判断した場合は、ステップS511へ進み、変数圧縮エラーフラグを設定した後、ステップS502へ戻る。
【0070】
以上、第1実施形態によれば、ユーザの指定により設定されるQMAXより大きなQテーブルIDのQテーブルで圧縮された圧縮画像が含まれる画像を含むページ以降はエラーとして出力されないので、ユーザの意図しない画像劣化の大きな画像が出力されない。
【0071】
〔第2実施形態〕
第1実施形態では、図4に示したステップS410で圧縮エラーが起きていると判断された場合は、ステップS414へ進みPDLの処理を中断して終了するとしているが、圧縮エラーフラグをクリアしてステップS413へ進むようにしても同様の効果が得られることは言うまでも無い。
【0072】
第2実施形態によれば、PDLジョブ中でユーザの指定により設定されるQMAXより大きなQテーブルIDのQテーブルで圧縮された圧縮画像が含まれる画像を含むページのみ出力されない。
【0073】
〔第3実施形態〕
図6は、本発明に係る印刷装置における第3のデータ処理手順の一例を示すフローチャートであり、LBP1000のPDLジョブ受信時のPDLジョブの印刷処理手順に対応する。なお、図4と同一のステップには同一のステップ番号を付してある。また、S610〜S616は各ステップを示す。さらに、図4に示したステップS400からステップS409まではステップS409終了後、ステップS610へ進むこと以外に第1実施形態と変わらないので、そのステップの説明は省略する。
【0074】
ステップS610では、画像スプールに格納された圧縮イメージ及び圧縮された属性ビットをハードディスクへ格納する。そして、ステップS611では圧縮エラーフラグを検査し圧縮エラーが発生しているか否かを判断して、圧縮エラーが発生していないと判断した場合は、ステップS612で、ステップS402で受信したPDLジョブの全頁の処理が終了したか否かを判断し、全頁の処理が終了していると判断した場合は、ステップS613へ進み、まだ処理すべきPDLデータが残っていればステップS403へ戻り、PDLデータの解析およびDL生成処理を続ける。
【0075】
そして、ステップS613では、ハードディスクより1ページずつ圧縮画像と圧縮された属性ビットを読み出し、画像処理部24へ転送し圧縮画像をラスタイメージへ解凍しながら属性ビットに従って適切な画像処理を施す。
【0076】
そして、ステップS614では、ステップS613で画像処理を施されたラスタイメージを印刷部9へ転送し紙上へ印刷を行う。
【0077】
次に、ステップS615では、ハードディスクに格納された全ページの圧縮画像を印刷したか否かを判断し、全頁の印刷が終了していないと判断した場合は、ステップS613へ戻り、次の頁の画像処理および印刷処理を続ける。
【0078】
一方、ステップS615で、全頁の印刷処理が終了していると判断した場合は、PDLジョブの印刷処理を終了する(S616)。
【0079】
一方、ステップS611で圧縮エラーが発生していると判断した場合、ステップS617進み、ステップS610でハードディスクに格納されたすべての圧縮画像及び圧縮された属性ビットを削除し、PDLの印刷処理を終了する(S616)。
【0080】
以上、第3実施形態によれば、ユーザの指定により設定されるQMAXより大きなQテーブルIDのQテーブルで圧縮された圧縮画像が含まれる画像を含むPDLジョブはエラーとして出力されないので、ユーザの意図しない画像劣化の大きな画像が出力されない。
【0081】
〔第4実施形態〕
図7は、本発明の第4実施形態を示す印刷装置におけるプリンタ使用設定における圧縮画像出力選択画面の一例を示す図である。本実施形態は、第1実施形態から第3実施形態で、図3に示した画面301が操作部1012に表示される代わりに、図7に示す画面701を操作部1012に表示して、ユーザはこの画面上で操作パネル1012を操作することにより、印刷出力する画像劣化の程度を段階的に選択する。
【0082】
703はスライダであり、ユーザは操作パネル1012を操作することによりこのスライダ703をスライダ702稼動域内で自由に移動させることができ、スライダ稼動域702内のスライダ703の位置により、変数QMAXに登録される値が選択される。
【0083】
スライダ703の中心位置が範囲704にあるときに、OKボタン711を選択すると、前記変数QMAXへ「1」が登録され、スライダ703の中心位置が範囲705にあるときに、OKボタン711を選択すると前記変数QMAXへ「2」が登録され、スライダ703の中心位置が範囲706にあるときに、OKボタン711を選択すると前記変数QMAXへ「3」が登録され、スライダ703の中心位置が範囲707にあるときに、OKボタン711を選択すると前記変数QMAXへ「4」が登録され、スライダ703の中心位置が範囲708にあるときに、OKボタン711を選択すると前記変数QMAXへ「5」が登録され、スライダ703の中心位置が範囲709にあるときに、OKボタン711を選択すると前記変数QMAXへ「6」が登録される。なお、710はキャンセルボタンである。
【0084】
以上、第4実施形態によれば、ユーザが任意の出力しない画像劣化の程度を選択できるようになり、よりユーザビリティを向上することができる。
【0085】
以下、図8に示すメモリマップを参照して本発明に係る印刷装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0086】
図8は、本発明に係る印刷装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0087】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0088】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0089】
本実施形態における図4〜図6に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0090】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0091】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0092】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0093】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0094】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0095】
本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から排除するものではない。
【0096】
本発明の様々な例と実施形態を示して説明したが、当業者であれば、本発明の趣旨と範囲は、本明細書内の特定の説明に限定されるのではなく、以下の実施態様も含まれることはいうまでもない。以下、その実施態様1〜11について説明する。
【0097】
〔実施態様1〕
入力される印刷情報に応じて生成されるラスタ画像情報を圧縮して内部メモリ上の画像出力バッファ上に保持させる印刷装置であって、圧縮時における前記ラスタ画像情報の劣化状態を判別するための閾値を指定する画像劣化閾値指定手段(例えば図3に示す圧縮画像出力選択画面により指定する)と、圧縮されたラスタ画像情報の画像劣化状態が、前記画像劣化閾値指定手段により指定されていた閾値を超えているか否かを判別する画像劣化判別手段(例えば図5のステップS510)とを有することを特徴とする印刷装置。
【0098】
〔実施態様2〕
前記画像劣化判別手段が前記画像劣化閾値指定手段の指定する画像劣化を超えていると判断した場合、印刷装置内部で生成されるラスタ画像の圧縮画像を含むページを出力しない手段(図4に示すステップS410)を有することを特徴とする実施態様1記載の印刷装置。
【0099】
〔実施態様3〕
前記画像劣化判別手段が前記画像劣化閾値指定手段の指定する画像劣化を超えていると判断した場合、印刷装置内部で生成されるラスタ画像の圧縮画像を含むページを含む印刷ジョブを出力しない手段(図4に示すステップS410)を有することを特徴とする実施態様1記載の印刷装置。
【0100】
〔実施態様4〕
前記画像劣化閾値指定手段は、圧縮時における前記ラスタ画像情報の劣化状態を判別するための閾値のレベルを可変指定可能(例えば図7に示す圧縮画像出力選択画面により指定する)とすることを特徴とする実施態様1〜3のいずれかに記載の印刷装置。
【0101】
〔実施態様5〕
情報処理装置から入力される印刷情報に応じて生成されるラスタ画像情報を圧縮して内部メモリ上に保持させる印刷装置であって、前記情報処理装置から圧縮時における前記ラスタ画像情報の劣化状態を判別するための閾値を受信する受信手段(図示しない)と、圧縮されたラスタ画像情報の画像劣化状態が、前記受信手段により受信された閾値を超えているか否かを判別する画像劣化判別手段(例えば図5のステップS510)と有することを特徴とする印刷装置。
【0102】
〔実施態様6〕
プリンタドライバを介して印刷装置と通信可能な情報処理装置であって、前記印刷装置が印刷情報に応じて生成されるラスタ画像情報を圧縮時における画像情報の劣化状態を判別するための閾値を指定する指定手段(図示しない)を有することを特徴とする情報処理装置。
【0103】
〔実施態様7〕
入力される印刷情報に応じて生成されるラスタ画像情報を圧縮して内部メモリ上に保持させる印刷装置の制御方法であって、圧縮時における前記ラスタ画像情報の劣化状態を判別するための閾値を指定する画像劣化閾値指定ステップ(図示しない)と、圧縮されたラスタ画像情報の画像劣化状態が、前記画像劣化閾値指定ステップにより指定されていた閾値を超えているか否かを判別する画像劣化判別ステップ(例えば図5のステップS510)と有することを特徴とする印刷装置の制御方法。
【0104】
〔実施態様8〕
前記画像劣化判別ステップが前記画像劣化閾値指定ステップの指定する画像劣化を超えていると判断した場合、印刷装置内部で生成されるラスタ画像の圧縮画像を含むページを出力しない制御ステップ(例えば図4のステップS410)を有することを特徴とする実施態様1記載の印刷装置。
【0105】
〔実施態様9〕
前記画像劣化判別ステップが前記画像劣化閾値指定ステップの指定する画像劣化を超えていると判断した場合、印刷装置内部で生成されるラスタ画像の圧縮画像を含むページを含む印刷ジョブを出力しない制御ステップ(例えば図4のステップS410)を有することを特徴とする実施態様7記載の印刷装置。
【0106】
〔実施態様10〕
実施態様7〜9のいずれかに記載の印刷装置の制御方法を実現するプログラムを記憶したことを特徴とするコンピュータが読み取り可能な記憶媒体。
【0107】
〔実施態様11〕
実施態様7〜9のいずれかに記載の印刷装置の制御方法を実現することを特徴とするプログラム。
【0108】
【発明の効果】
以上説明したように、本発明によれば、ユーザの意図しない印刷出力は出力しないようにして、ユーザビリティを向上させることができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明を適用可能な出力装置の構成を示す断面図である。
【図2】本発明の第1実施形態を示す印刷装置におけるプリンタ制御システムの構成を説明するブロック図である。
【図3】図2に示した操作部の液晶パネル部に表示されるプリンタ使用設定の圧縮画像出力選択画面の一例を説明する図である。
【図4】本発明に係る印刷装置における第1のデータ処理手順の一例を示すフローチャートである。
【図5】本発明に係る印刷装置における第2のデータ処理手順の一例を示すフローチャートである。
【図6】本発明に係る印刷装置における第3のデータ処理手順の一例を示すフローチャートである。
【図7】本発明の第4実施形態を示す印刷装置におけるプリンタ使用設定における圧縮画像出力選択画面の一例を示す図である。
【図8】本発明に係る印刷装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【符号の説明】
1 CPU
2 RAM
3 出力バッファ
20 ハードレンダラ
22 非可逆圧縮部
23 可逆圧縮部
24 画像処理部
1000 LBP
1001 プリンタ制御部
3000 外部ネットワーク
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to control of a printing apparatus that receives and processes print information from a computer via a predetermined interface.
[0002]
[Prior art]
In recent years, information processing systems in which a color printing apparatus and a plurality of host computers can communicate with each other have been generalized and widely used. Under such circumstances, many electronic documents created on the information processing system are created, and output demand to the color printing apparatus tends to increase, and a high-speed and inexpensive color printing apparatus is desired. .
[0003]
Conventionally, a printing system that interprets a page description language (PDL) transmitted from a host computer or a print server and creates a raster image creates a display list (DL) that is an intermediate language after interpreting the PDL. It is common to perform raster image conversion (rendering) from DL.
[0004]
At this time, since the size of the PDL data is not limited, the size of the DL created from the PDL data may be very large. In addition, when the DL becomes complicated and its size increases, the work area used by the renderer that renders the DL also increases.
[0005]
However, the amount of memory installed in the printing apparatus is finite, and due to cost restrictions, there is often no sufficient amount to store the DL.
[0006]
Therefore, the size of the area for storing the DL and the work area that can be used by the renderer are limited, and there is a restriction that a DL larger than a predetermined size cannot be processed.
[0007]
In order to avoid this restriction, a process called fallback is performed. Fallback renders the DL generated once when the DL size exceeds a certain size, or when the work area for processing the DL exceeds a certain size. The raster image is created and the DL created up to that point is cleared once.
[0008]
This raster image is added again to a part of DL as a background image of the drawing area.
[0009]
Since this background image is usually compressed, the size of the added DL is smaller than the original DL size. Therefore, a large DL can be processed in a limited memory space by creating the remaining DL in this vacant area. In addition, since the renderer work area is cleared at the end of rendering during fallback, the size restriction of the work area can be avoided, and a low-cost printing apparatus can be provided.
[0010]
On the other hand, the raster image created in the process of performing the fallback processing as described above is compressed and added to the DL list, and the compressed image created at this time must also be within a predetermined size.
[0011]
In particular, in a color image, the size of a raster image created at the time of rendering is very large. In lossless compression, the compressed image cannot often fit within a predetermined size, and irreversible compression is usually used.
[0012]
However, using lossy compression degrades the compressed image. As a technique for minimizing this image degradation, the predetermined image quality is changed while sequentially changing the compression rate from a low compression rate to a high compression rate (from compression with small image degradation to compression with large image degradation) for a rendered image. Repeat several times until the compressed image fits the size of. By doing so, the image is compressed at the lowest compression rate that fits the predetermined size, and minimal image degradation is sufficient. For example, see JP-A-7-137355.
[0013]
[Problems to be solved by the invention]
However, the compression rate of the raster image image depends on the contents of the raster image, and the compression rate may become very poor even with compression that causes the same degree of image degradation.
[0014]
In the case of such a raster image, in order to fit within the predetermined size, compression with large image deterioration must be performed, and the image quality of the compressed image becomes very bad. In many cases, there has been a problem that a printing apparatus including such a compressed image having deteriorated image is not intended by the user.
[0015]
SUMMARY An advantage of some aspects of the invention is that it provides a printing apparatus capable of improving usability by preventing output of a print output not intended by the user. is there.
[0016]
[Means for Solving the Problems]
The printing apparatus of the present invention that achieves the above object has the following configuration.
[0017]
According to the present invention, when print data is received and a display list is generated, determination means for determining whether or not the size of the display list exceeds the size of the work memory, and the size of the display list by the determination means When it is determined that the size exceeds the specified size, an image is generated based on the display list, the generated image is compressed with the set compression level, and if the compressed image does not fit in the buffer, the compression level is changed. A registration unit that compresses an image generated with the changed compression degree and registers the compressed image in the display list as a background image when the compressed image fits in the buffer; and a size of the display list by the determination unit Is determined not to exceed the size of the work memory, an image is generated based on the display list. And a rendering means for compressing the generated image with the set compression degree, changing the compression degree when the compressed image does not fit in the buffer, and compressing the generated image with the changed compression degree, and If the compressed degree exceeds the designated compression degree, the image decompressed from the image compressed by the rendering means is not printed, and the changed compression degree does not exceed the designated compression degree. Printing means for printing an image decompressed from the image compressed by the rendering means.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Before describing the configuration of the present embodiment, the configuration of a laser beam printer suitable for applying the present embodiment will be described with reference to FIG. Needless to say, the printer to which the present embodiment is applied is not limited to the laser beam printer, but may be a printer (ink jet printer) of another printing method.
[0019]
FIG. 1 is a cross-sectional view showing a configuration of an output device to which the present invention can be applied. For example, a laser beam printer (LBP) is shown.
[0020]
In FIG. 1, reference numeral 1000 denotes an LBP main body (LBP), which is print information (character code, etc.), form information, macro instructions, etc. supplied from an external information source such as a host computer connected to the outside via a network or direct interface Are input and stored, and a corresponding character pattern, form pattern, or the like is created according to the information, and an image is formed on a recording sheet or the like as a recording medium.
[0021]
Reference numeral 1012 denotes an operation panel on which switches for operation, an LED display, and the like are arranged. Reference numeral 1001 denotes a printer control unit that controls the entire LBP 1000 and analyzes character information supplied from an external network or the like.
[0022]
The printer control unit 1001 mainly converts character information into a video signal having a corresponding character pattern and outputs the video signal to the laser driver 1002. The laser driver 1002 is a circuit for driving the semiconductor laser 1003, and switches on / off the laser light 1004 emitted from the semiconductor laser 1003 in accordance with the input video signal. The laser beam 1004 is shaken in the left-right direction by the rotary polygon mirror 1005 to scan and expose the electrostatic drum 1006.
[0023]
As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1007. This latent image is developed by a developing unit 1007 disposed around the electrostatic drum 1006 and then transferred to a recording sheet.
[0024]
A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a paper cassette 1008 mounted on the LBP 1000 and is taken into the apparatus by a paper feed roller 1009, a transport roller 1010, and a transport roller 1011. The drum 1006 is supplied.
[0025]
[First Embodiment]
FIG. 2 is a block diagram illustrating the configuration of the printer control system in the printing apparatus according to the first embodiment of the present invention. The same components as those in FIG. 1 are denoted by the same reference numerals.
[0026]
In the printer control unit 1001 shown in FIG. 2, the MAIN-CPU 1 is a printer CPU, and is connected to the system bus 5 based on a control program stored in the ROM 4 or a control program stored in the external memory 7. Access to the device is comprehensively controlled, and an image signal is output as output information to a printing unit (printer engine) 9 connected via the printing unit interface 8.
[0027]
The ROM 4 stores a control program for the MAIN-CPU 1 as shown in flowcharts of FIGS. 4 and 5 to be described later, and data necessary for control of the LBP 1000. The MAIN-CPU 1 is configured to be able to communicate with an external device such as a host computer connected to the external network 3000 via the I / O 11.
[0028]
Although it is assumed that communication is performed with the host computer via an external network, it goes without saying that communication may be performed by connecting to the host computer via a direct interface (not shown).
[0029]
A RAM 2 functions as a main memory / work area of the MAIN-CPU 1. The RAM 2 is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).
[0030]
Reference numeral 3 denotes an image output buffer prepared on the RAM 2, in which a raster image and attribute bits created by a hard renderer 20 described later are recorded as a fallback buffer and an output buffer.
[0031]
A memory controller (MC) 6 controls access to the external memory 7 such as a hard disk. A hard renderer 20 has a local memory 21 therein. The hard renderer 20 interprets the display list (DL) transferred to the local memory 21 or the DL on the RAM 2 as it is, and creates an attribute bit corresponding to each pixel of the raster image and the raster image.
[0032]
Each attribute bit generated here is composed of three bit fields, 4 bits in total: 1 bit color bit, 1 bit thin line bit, and 2 bit object type bit.
[0033]
The color bit indicates whether the corresponding pixel is a pixel constituting a color object or a pixel constituting a monochrome object. When this bit is “0”, the color bit is a pixel constituting the color object. When it is “1”, it indicates a pixel constituting a monochrome object.
[0034]
The thin line bit indicates whether or not the corresponding pixel is a pixel constituting a thin line. When this bit is “1”, it indicates that the pixel constitutes a thin line.
[0035]
The object type bit indicates what kind of drawing object the corresponding pixel constitutes. When it is “01”, it is a pixel that constitutes a character object, and when it is “10”, it is a pixel that constitutes a graphics object. Yes, when it is “11”, it is a pixel constituting an image object, and when it is “00”, this pixel indicates that no object is constructed.
[0036]
The irreversible compression unit 22 performs irreversible compression on the raster image and stores it in the image output buffer 3 on the RAM 2. The lossy compression unit according to the present embodiment employs JPEG. JPEG can change the compression rate of an image to be compressed by changing the Q table used at the time of compression. The higher the compression rate, the greater the image degradation.
[0037]
Here, JPEG is used as the irreversible compression, but it goes without saying that the present invention can be applied to any irreversible compression method capable of changing the compression rate.
[0038]
The lossless compression unit 23 performs lossless compression on the attribute bits and stores them in the image output buffer 3. Based on the attribute bits generated by the hard renderer 20, the image processing unit 24 processes character image processing, image image processing, graphic image processing, color image processing, and monochrome image processing on raster data. Processing or image processing for fine lines or a combination thereof is performed.
[0039]
In the printer control system configured as described above, an embodiment of the present invention will be described according to the flowcharts of FIGS. 3 and 4 to 6.
[0040]
The LBP 1000 has, for example, six types of Q tables to be set in JPEG of the lossy compression unit 22 when compressing a raster image generated at the time of rendering described later. Each Q table has identifiers 1 to 6, and these identifiers are called Q table IDs for convenience. Each Q table is set so as to have a higher compression ratio as it has a larger Q table ID. Therefore, as a Q table having a larger Q table ID is used, image degradation increases.
[0041]
Here, the number of Q table types is six, but it goes without saying that this number is not limited. In this embodiment, the compression results using the Q tables from the Q table ID 1 to the Q table ID 5 are at a glance that image degradation is not noticeable, but the Q table of the Q table ID 6 is the compression result of most images. Is designed to be stored in a fallback buffer and an image spool area, which will be described later, and image degradation using this Q table is very large.
[0042]
The system of the present embodiment includes a user interface that allows the user to select whether or not to output an image including a compressed image using the Q table of Q table ID6.
[0043]
FIG. 3 is a view for explaining an example of a compressed image output selection screen for printer use settings displayed on the liquid crystal panel portion of the operation panel 1012 shown in FIG.
[0044]
In FIG. 3, reference numeral 301 denotes a liquid crystal panel (LCD) unit, which is a screen displayed on the LCD 301 provided in the operation panel 1012 when the user operates the operation panel 1012. Reference numeral 302 denotes an output button, and 303 denotes an error display button which can be selected by the user. The currently selected content is shaded (in the example of FIG. 3, the error display button 303 is displayed). Selected).
[0045]
When the output button 302 is selected, an image including a compressed image using the Q table of the Q table ID 6 is output, but when the error display button 303 is selected, the Q table ID 6 is selected. An image including a compressed image using the Q table is not printed out, and an error log indicating that an image using the Q table has been generated is displayed.
[0046]
When the user selects the button 302 to be output and selects the OK button 304, “6” is registered in the variable QMAX on the RAM 2, and when the error display button 303 is selected and the OK button 304 is selected, the variable QMAX is changed to “ 5 "is registered.
[0047]
On the other hand, when the cancel button 305 is selected, even if the output button 302 or the error display button 303 is selected and changed to the previous content, the content is not reflected in the variable QMAX.
[0048]
The above description of the user interface (setting screen) is an example, and the user can perform the same setting from a printer driver program executed on the host computer or a remote user interface program. In this case, whether or not a compressed image can be printed out using the Q table ID 6 is notified via the external network 3000, and the QMAX content is updated.
[0049]
FIG. 4 is a flowchart showing an example of the first data processing procedure in the printing apparatus according to the present invention. Based on the print control program stored in the ROM 4, the PDL job printing processed by the MAIN-CPU 1 when a PDL job is received. Corresponds to the processing procedure. In addition, S400-S414 shows each step.
[0050]
When the LBP 1000 receives a PDL job from the external network 3000 (S401), the process proceeds to step S402, the variable current QID indicating the currently set Q table ID is set to “1”, and the process proceeds to step S403.
[0051]
In step S403, the MAIN-CPU 1 generates (creates) a display list (DL) on the RAM 2 while performing PDL data analysis processing, and then proceeds to step S404. It should be noted that a DL for one page is normally generated when generating a DL in step S403. However, the size of the local memory of the hard renderer 20 and the size of the work table are always inspected. If the DL being generated exceeds the size of the local memory, the work table used when rendering the DL being generated is rendered. Falls over the table size mounted on the hard renderer 20, a fallback is generated, a fallback flag is set, and the process proceeds to step S404.
[0052]
In step S404, the fallback flag is inspected to inspect for the presence of fallback. If it is determined that a fallback has occurred, the process proceeds to step S405.
[0053]
In step S405, the image output buffer in which the compressed image after rendering is stored is set as a fallback buffer, and the process proceeds to the rendering process in step S406. In step S406, the DL generated in step S403 is rendered using the hard renderer 20 to generate a raster image, and then a compressed image is created. Details of the process will be described later.
[0054]
Then, after rendering processing in step S406, the process proceeds to step S407. In step S406, the compressed image stored in the fallback buffer is registered in the DL as a background image, and the process returns to step S403 to analyze the PDL data and generate the DL. Continue.
[0055]
On the other hand, if it is determined in step S404 that no fallback has occurred, the process advances to step S408 to set the image output buffer in which the compressed image after rendering is stored in the image spool in which the image for printing is stored. The process proceeds to the rendering process in S409.
[0056]
The rendering process in step S409 is the same as that in step S406 except that the compressed compressed image is stored in the image spool. After the rendering process in step S409, the process proceeds to step S410, in which the variable compression error flag set during the rendering process in step S406 or step S409 is inspected to determine whether there is a compression error, and it is determined that there is a compression error. If it is determined that the image deterioration is higher than the image deterioration set by the user in advance during rendering, the print processing of the PDL job is interrupted and the processing is terminated (S414).
[0057]
On the other hand, if it is determined in step S410 that there is no compression error, the process proceeds to step S411, and in step S409, the compressed image stored in the image spool and the compressed attribute bits are transferred to the image processing unit 24, and the compressed image is converted into a raster image. Appropriate image processing is performed in accordance with the attribute bits while decompressing, and the process proceeds to step S412.
[0058]
In step S412, the raster image subjected to the image processing in step S411 is transferred to the printing unit 9 and printed on paper. Then, the process proceeds to step S413, and the processing of all pages of the PDL job received in step S401 is completed. If all pages have been processed, the PDL job printing process is terminated (S414). If it is determined that there is still PDL data to be processed, the process returns to step S402. After initializing the current QID to “1”, PDL data analysis and DL generation processing (DL creation processing) are continued.
[0059]
FIG. 5 is a flowchart showing an example of the second data processing procedure in the printing apparatus according to the present invention. The raster image generated by rendering the DL in steps S406 and S409 shown in FIG. This corresponds to the detailed procedure until the data is stored in the output buffer set in the immediately preceding step. In addition, S500-S511 shows each step.
[0060]
When step S406 or step S409 shown in FIG. 4 described above is executed, this processing is started (S500), and the DL generated on the RAM 2 in step S402 is transferred to the local memory 21 on the hard renderer 20 (S501). In step S502, the Q table ID of the Q table ID set in the variable current QID is set in the lossy compression unit 22.
[0061]
In step S503, after performing various initialization processing such as register setting of the hard renderer 20, a rendering start signal is sent to start rendering of the DL on the local memory 22.
[0062]
In step S504, the hard renderer 20 generates a raster image for 64 scan lines and attribute bits corresponding to the raster image in a buffer on the local memory while analyzing the DL on the local memory 21.
[0063]
Although the raster image for 64 scan lines is generated here, it goes without saying that the number of scan lines is an example, and other scan lines may be used.
[0064]
Next, in step S505, the raster image generated in step S504 is transferred to the lossy compression unit 22, JPEG compression is performed using the Q table set in step S502, and the generated compressed image is converted into the step S405 or step S405. The image is stored in the image output buffer set in S408.
[0065]
In step S505, the attribute bits generated in step S504 are transferred to the lossless compression unit 23 and subjected to lossless compression, and then the compressed attribute bits are stored in the image output buffer.
[0066]
Since it is inspected whether the compressed image and the compressed attribute bit can be always stored in the image output buffer when stored in the image output buffer in step S505, it can be stored in the image output buffer in step S506. If it is determined that the image could be stored in the output buffer, the process proceeds to step S507, and further, the number of scan lines rendered is checked to determine whether rendering for one page has been completed. If it is determined that rendering for one page has been completed, the rendering process ends (S508), and if it is determined that rendering for one page has not ended, the process returns to step S504. Continue with the rest of the rendering.
[0067]
On the other hand, if it is determined in step S506 that the compressed image or the compressed attribute bit does not fit in the image output buffer, the process proceeds to step S509, and the value of the variable current QID is incremented.
[0068]
In step S510, the variable current QID is compared with the variable QMAX set by the user to determine whether the value of the variable current QID is less than or equal to the value of the variable QMAX. If it is determined that the value is less than or equal to the value of the current table ID, the process returns to step S502, the Q table of the Q table ID set in the variable current QID is reset in the lossy compression unit 22, and rendering is restarted.
[0069]
On the other hand, if it is determined in step S510 that the value of the variable current QID is larger than the value of the variable QMAX, the process proceeds to step S511, the variable compression error flag is set, and then the process returns to step S502.
[0070]
As described above, according to the first embodiment, since pages including an image including a compressed image compressed with a Q table having a Q table ID larger than QMAX set by the user's designation are not output as errors, the user's intention An image with large image deterioration is not output.
[0071]
[Second Embodiment]
In the first embodiment, if it is determined in step S410 shown in FIG. 4 that a compression error has occurred, the process proceeds to step S414, where the PDL processing is interrupted and terminated, but the compression error flag is cleared. It goes without saying that the same effect can be obtained even if the process proceeds to step S413.
[0072]
According to the second embodiment, only pages including an image including a compressed image compressed with a Q table having a Q table ID larger than QMAX set by the user's designation in the PDL job are not output.
[0073]
[Third Embodiment]
FIG. 6 is a flowchart showing an example of a third data processing procedure in the printing apparatus according to the present invention, and corresponds to the PDL job print processing procedure when the LBP 1000 receives the PDL job. The same steps as those in FIG. 4 are denoted by the same step numbers. S610 to S616 indicate each step. Furthermore, steps S400 to S409 shown in FIG. 4 are the same as those in the first embodiment except that the process proceeds to step S610 after the completion of step S409.
[0074]
In step S610, the compressed image stored in the image spool and the compressed attribute bits are stored in the hard disk. In step S611, the compression error flag is checked to determine whether a compression error has occurred. If it is determined that no compression error has occurred, in step S612, the PDL job received in step S402 is checked. It is determined whether or not all pages have been processed. If it is determined that all pages have been processed, the process proceeds to step S613. If there is still PDL data to be processed, the process returns to step S403. Continue PDL data analysis and DL generation processing.
[0075]
In step S613, the compressed image and compressed attribute bits are read page by page from the hard disk, transferred to the image processing unit 24, and subjected to appropriate image processing according to the attribute bits while decompressing the compressed image into a raster image.
[0076]
In step S614, the raster image subjected to the image processing in step S613 is transferred to the printing unit 9 and printed on paper.
[0077]
Next, in step S615, it is determined whether or not the compressed images of all pages stored in the hard disk have been printed. If it is determined that printing of all pages has not been completed, the process returns to step S613 to return to the next page. Continue image processing and printing processing.
[0078]
On the other hand, if it is determined in step S615 that all pages have been printed, the PDL job printing process is terminated (S616).
[0079]
On the other hand, if it is determined in step S611 that a compression error has occurred, the process advances to step S617, and in step S610, all the compressed images and compressed attribute bits stored in the hard disk are deleted, and the PDL printing process ends. (S616).
[0080]
As described above, according to the third embodiment, a PDL job including an image including a compressed image compressed with a Q table having a Q table ID larger than QMAX set by the user is not output as an error. An image with large image deterioration is not output.
[0081]
[Fourth Embodiment]
FIG. 7 is a view showing an example of a compressed image output selection screen in the printer use setting in the printing apparatus showing the fourth embodiment of the present invention. In this embodiment, the screen 301 shown in FIG. 3 is displayed on the operation unit 1012 instead of the screen 301 shown in FIG. By operating the operation panel 1012 on this screen, the degree of deterioration of the image to be printed out is selected step by step.
[0082]
Reference numeral 703 denotes a slider. The user can freely move the slider 703 within the slider 702 operating area by operating the operation panel 1012, and is registered in the variable QMAX depending on the position of the slider 703 in the slider operating area 702. Value is selected.
[0083]
If the OK button 711 is selected when the center position of the slider 703 is in the range 704, “1” is registered in the variable QMAX, and if the OK button 711 is selected when the center position of the slider 703 is in the range 705, When “2” is registered in the variable QMAX and the center position of the slider 703 is in the range 706, if the OK button 711 is selected, “3” is registered in the variable QMAX and the center position of the slider 703 is in the range 707. When the OK button 711 is selected, “4” is registered in the variable QMAX. When the center position of the slider 703 is in the range 708, when the OK button 711 is selected, “5” is registered in the variable QMAX. When the OK button 711 is selected when the center position of the slider 703 is in the range 709, the variable QMAX "6" is registered. Reference numeral 710 denotes a cancel button.
[0084]
As described above, according to the fourth embodiment, the user can select any degree of image deterioration that is not output, and usability can be further improved.
[0085]
The configuration of a data processing program that can be read by the printing apparatus according to the present invention will be described below with reference to the memory map shown in FIG.
[0086]
FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing apparatus according to the present invention.
[0087]
Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.
[0088]
Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.
[0089]
The functions shown in FIGS. 4 to 6 in this embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.
[0090]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.
[0091]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0092]
As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, an EEPROM, or the like is used. it can.
[0093]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0094]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0095]
The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.
[0096]
Although various examples and embodiments of the present invention have been shown and described, those skilled in the art will recognize that the spirit and scope of the present invention are not limited to the specific descriptions in the present specification, but the following embodiments. Needless to say, is also included. Hereinafter, Embodiments 1 to 11 will be described.
[0097]
[Embodiment 1]
A printing apparatus for compressing raster image information generated according to input print information and holding the compressed raster image information on an image output buffer on an internal memory, for determining a deterioration state of the raster image information at the time of compression Image degradation threshold designating means for designating a threshold value (designated by, for example, the compressed image output selection screen shown in FIG. 3), and the image degradation state of the compressed raster image information is the threshold value designated by the image degradation threshold designating means. An image deterioration determining means (for example, step S510 in FIG. 5) for determining whether or not the value exceeds the printing apparatus.
[0098]
[Embodiment 2]
Means for not outputting a page including a compressed image of a raster image generated inside the printing apparatus when the image deterioration determining means determines that the image deterioration specified by the image deterioration threshold value specifying means is exceeded (shown in FIG. 4); The printing apparatus according to embodiment 1, further comprising step S410).
[0099]
[Embodiment 3]
Means for not outputting a print job including a page including a compressed image of a raster image generated inside the printing apparatus when the image deterioration determining means determines that the image deterioration specified by the image deterioration threshold value specifying means has been exceeded ( The printing apparatus according to embodiment 1, further comprising step S410) illustrated in FIG.
[0100]
[Embodiment 4]
The image deterioration threshold value specifying means is capable of variably specifying a threshold level for determining the deterioration state of the raster image information at the time of compression (for example, specifying on the compressed image output selection screen shown in FIG. 7). The printing apparatus according to any one of Embodiments 1 to 3.
[0101]
[Embodiment 5]
A printing apparatus that compresses raster image information generated according to print information input from an information processing apparatus and stores the compressed raster image information in an internal memory. The deterioration state of the raster image information during compression from the information processing apparatus A receiving means (not shown) for receiving a threshold value for determining, and an image deterioration determining means for determining whether the image deterioration state of the compressed raster image information exceeds the threshold value received by the receiving means ( For example, the printing apparatus includes step S510) of FIG.
[0102]
[Embodiment 6]
An information processing apparatus capable of communicating with a printing apparatus via a printer driver, wherein the printing apparatus specifies a threshold value for determining a deterioration state of image information when raster image information generated according to the printing information is compressed An information processing apparatus having a specifying means (not shown).
[0103]
[Embodiment 7]
A method of controlling a printing apparatus that compresses raster image information generated according to input print information and stores the compressed raster image information in an internal memory, and sets a threshold value for determining a deterioration state of the raster image information at the time of compression. An image deterioration threshold specifying step (not shown) to be specified, and an image deterioration determining step for determining whether or not the image deterioration state of the compressed raster image information exceeds the threshold specified by the image deterioration threshold specifying step. (For example, step S510 of FIG. 5) and a control method of a printing apparatus.
[0104]
[Embodiment 8]
When it is determined that the image deterioration determining step exceeds the image deterioration specified by the image deterioration threshold value specifying step, a control step of not outputting a page including a compressed image of a raster image generated inside the printing apparatus (for example, FIG. 4). The printing apparatus according to claim 1, further comprising step S410).
[0105]
[Embodiment 9]
A control step of not outputting a print job including a page including a compressed image of a raster image generated inside the printing apparatus when it is determined that the image deterioration determining step exceeds the image deterioration specified by the image deterioration threshold value specifying step. The printing apparatus according to claim 7, further comprising (for example, step S410 in FIG. 4).
[0106]
[Embodiment 10]
A computer-readable storage medium storing a program for realizing a control method for a printing apparatus according to any one of Embodiments 7 to 9.
[0107]
[Embodiment 11]
A program that realizes the printing apparatus control method according to any one of the seventh to ninth embodiments.
[0108]
【The invention's effect】
As described above, according to the present invention, it is possible to improve usability by not outputting a print output not intended by the user.
[Brief description of the drawings]
FIG. 1 is a cross-sectional view showing a configuration of an output device to which the present invention can be applied.
FIG. 2 is a block diagram illustrating a configuration of a printer control system in the printing apparatus according to the first embodiment of the present invention.
3 is a diagram illustrating an example of a compressed image output selection screen for printer use settings displayed on the liquid crystal panel unit of the operation unit illustrated in FIG. 2; FIG.
FIG. 4 is a flowchart illustrating an example of a first data processing procedure in the printing apparatus according to the present invention.
FIG. 5 is a flowchart showing an example of a second data processing procedure in the printing apparatus according to the present invention.
FIG. 6 is a flowchart showing an example of a third data processing procedure in the printing apparatus according to the present invention.
FIG. 7 is a diagram illustrating an example of a compressed image output selection screen in a printer use setting in the printing apparatus according to the fourth embodiment of the present invention.
FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing apparatus according to the present invention.
[Explanation of symbols]
1 CPU
2 RAM
3 Output buffer
20 Hard renderer
22 Lossy compression section
23 Lossless compression unit
24 Image processing unit
1000 LBP
1001 Printer control unit
3000 external network

Claims (12)

印刷データを受信し、ディスプレイリストを生成する際に、ディスプレイリストのサイズがワーク用メモリのサイズを超えるか否かを判定する判定手段と、
前記判定手段によりディスプレイリストのサイズがワーク用のサイズを超えると判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度合いで圧縮し、圧縮された画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮し、圧縮された画像がバッファに収まる場合に圧縮された画像を背景画像としてディスプレイリストに登録する登録手段と、
前記判定手段によりディスプレイリストのサイズがワーク用メモリのサイズを超えないと判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度で圧縮し、圧縮した画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮するレンダリング手段と、
変更された圧縮度合いが指定されている圧縮度合いを超える場合、前記レンダリング手段により圧縮された画像から解凍される画像を印刷せず、変更された圧縮度合いが指定されている圧縮度合いを超えない場合、前記レンダリング手段により圧縮された画像から解凍される画像を印刷する印刷手段と、
有することを特徴とする印刷装置。
Determination means for determining whether the size of the display list exceeds the size of the work memory when receiving the print data and generating the display list;
When the determination unit determines that the size of the display list exceeds the size for the work, an image is generated based on the display list, the generated image is compressed with a set compression degree, and the compressed image is buffered. Registration means for changing the compression degree when the image does not fit in the image, compressing the image generated with the changed compression degree, and registering the compressed image as a background image in the display list when the compressed image fits in the buffer When,
When the determination means determines that the size of the display list does not exceed the size of the work memory, an image is generated based on the display list, the generated image is compressed with a set degree of compression, and the compressed image is A rendering means for changing a compression degree when it does not fit in a buffer, and compressing an image generated with the changed compression degree;
When the changed compression degree exceeds the specified compression degree, the image decompressed from the image compressed by the rendering means is not printed, and the changed compression degree does not exceed the specified compression degree Printing means for printing an image decompressed from the image compressed by the rendering means;
A printing apparatus comprising:
前記指定されている圧縮度合いを変更する変更手段をさらに有することを特徴とする請求項1記載の印刷装置。The printing apparatus according to claim 1 , further comprising a changing unit that changes the designated degree of compression . 前記登録手段は、変更された圧縮度合いが指定されている圧縮度合いを超えた場合、圧縮エラーフラグを設定し、
前記レンダリング手段は、変更された圧縮度合いが指定されている圧縮度合いを超えた場合、圧縮エラーフラグを設定し、
前記印刷手段は、前記圧縮フラグが設定されている場合、前記レンダリング手段により圧縮された画像から解凍される画像を印刷せず、前記圧縮フラグが設定されていない場合、前記レンダリング手段により圧縮された画像から解凍される画像を印刷することを特徴とする請求項1記載の印刷装置。
The registration means sets a compression error flag when the changed compression degree exceeds the specified compression degree,
The rendering means sets a compression error flag when the changed compression degree exceeds the specified compression degree,
The printing means does not print the image decompressed from the image compressed by the rendering means when the compression flag is set, and is compressed by the rendering means when the compression flag is not set. The printing apparatus according to claim 1, wherein an image decompressed from the image is printed .
前記圧縮度合いは、JPEGのQIDを含むことを特徴とする請求項1記載の印刷装置。The printing apparatus according to claim 1 , wherein the degree of compression includes a JPEG QID . 印刷データを受信し、ディスプレイリストを生成する際に、ディスプレイリストのサイズがワーク用メモリのサイズを超えるか否かを判定する判定ステップと、A determination step of determining whether the size of the display list exceeds the size of the work memory when receiving the print data and generating the display list;
前記判定ステップによりディスプレイリストのサイズがワーク用メモリのサイズを超えると判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度合いで圧縮し、圧縮された画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮し、圧縮された画像がバッファに収まる場合に圧縮された画像を背景画像としてディスプレイリストに登録する登録ステップと、When it is determined by the determination step that the size of the display list exceeds the size of the work memory, an image is generated based on the display list, the generated image is compressed with a set compression degree, and the compressed image is Register to change the compression level when it does not fit in the buffer, compress the image generated with the changed compression level, and register the compressed image as a background image in the display list when the compressed image fits in the buffer Steps,
前記判定ステップによりディスプレイリストのサイズがワーク用メモリのサイズを超えないと判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度合いで圧縮し、圧縮された画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮するレンダリングステップと、When it is determined in the determination step that the size of the display list does not exceed the size of the work memory, an image is generated based on the display list, the generated image is compressed with a set compression degree, and the compressed image A rendering step that changes the compression level when the image does not fit in the buffer and compresses the image generated with the changed compression level;
変更された圧縮度合いが指定されている圧縮度合いを超える場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷せず、変更された圧縮度合いが指定されている圧縮度合いを超えない場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷する印刷ステップと、When the changed compression degree exceeds the specified compression degree, the image decompressed from the image compressed by the rendering step is not printed, and the changed compression degree does not exceed the specified compression degree. A printing step of printing an image decompressed from the image compressed by the rendering step;
を有することを特徴とする印刷方法。A printing method characterized by comprising:
前記指定されている圧縮度合いを変更する変更ステップをさらに有することを特徴とする請求項5記載の印刷方法。 6. The printing method according to claim 5, further comprising a changing step of changing the designated degree of compression. 前記登録ステップは、変更された圧縮度合いが指定されている圧縮度 合いを超えた場合、圧縮エラーフラグを設定し、
前記レンダリングステップは、変更された圧縮度合いが指定されている圧縮度合いを超えた場合、圧縮エラーフラグを設定し、
前記印刷ステップは、前記圧縮フラグが設定されている場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷せず、前記圧縮フラグが設定されていない場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷することを特徴とする請求項5記載の印刷方法。
The registration step, when it exceeds fit compression degree compression degree that has changed is specified, it sets the compression error flag,
The rendering step sets a compression error flag when the changed compression degree exceeds the specified compression degree,
The printing step does not print an image decompressed from the image compressed by the rendering step when the compression flag is set, and is compressed by the rendering step when the compression flag is not set. printing how according to claim 5, wherein the printing the image to be extracted from the image.
前記圧縮度合いは、JPEGのQIDを含むことを特徴とする請求項記載の印刷方法。The degree of compression is printing how according to claim 5, characterized in that it comprises a JPEG of QID. 印刷データを受信し、ディスプレイリストを生成する際に、ディスプレイリストのサイズがワーク用メモリのサイズを超えるか否かを判定する判定ステップと、A determination step of determining whether the size of the display list exceeds the size of the work memory when receiving the print data and generating the display list;
前記判定ステップによりディスプレイリストのサイズがワーク用メモリのサイズを超えると判定された際、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度合いで圧縮し、圧縮された画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮し、圧縮された画像がバッファに収まる場合に圧縮された画像を背景画像としてディスプレイリストに登録する登録ステップと、When it is determined by the determination step that the size of the display list exceeds the size of the work memory, an image is generated based on the display list, the generated image is compressed with a set compression degree, and the compressed image is Register to change the compression level when it does not fit in the buffer, compress the image generated with the changed compression level, and register the compressed image as a background image in the display list when the compressed image fits in the buffer Steps,
前記判定ステップによりディスプレイリストのサイズがワーク用メモリのサイズを超えないと判定された際に、ディスプレイリストに基づき画像を生成し、生成された画像を設定された圧縮度合いで圧縮し、圧縮された画像がバッファに収まらない場合に圧縮度合いを変更し、変更された圧縮度合いで生成された画像を圧縮するレンダリングステップと、When it is determined by the determination step that the size of the display list does not exceed the size of the work memory, an image is generated based on the display list, and the generated image is compressed with a set compression degree and compressed. A rendering step that changes the degree of compression if the image does not fit in the buffer and compresses the image generated with the changed degree of compression;
変更された圧縮度合いが指定されている圧縮度合いを超える場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷せず、変更された圧縮度合いが指定されている圧縮度合いを超えない場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷する印刷ステップと、When the changed compression degree exceeds the specified compression degree, the image decompressed from the image compressed by the rendering step is not printed, and the changed compression degree does not exceed the specified compression degree. A printing step of printing an image decompressed from the image compressed by the rendering step;
をコンピュータに実行させることを特徴とするプログラム。A program that causes a computer to execute.
前記指定されている圧縮度合いを変更する変更ステップをさらにコンピュータに実行させることを特徴とする請求項記載のプログラムThe program according to claim 9 , further causing the computer to execute a changing step of changing the designated degree of compression . 前記登録ステップは、変更された圧縮度合いが指定されている圧縮度合いを超えた場合、圧縮エラーフラグを設定し、
前記レンダリングステップは、変更された圧縮度合いが指定されている圧縮度合いを超えた場合、圧縮エラーフラグを設定し、
前記印刷ステップは、前記圧縮フラグが設定されている場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷せず、前記圧縮フラグが設定されていない場合、前記レンダリングステップにより圧縮された画像から解凍される画像を印刷することを特徴とする請求項9記載のプログラム。
The registration step sets a compression error flag when the changed compression degree exceeds the specified compression degree,
The rendering step sets a compression error flag when the changed compression degree exceeds the specified compression degree,
The printing step does not print an image decompressed from the image compressed by the rendering step when the compression flag is set, and is compressed by the rendering step when the compression flag is not set. 10. The program according to claim 9, wherein an image decompressed from the image is printed.
前記圧縮度合いは、JPEGのQIDを含むことを特徴とする請求項9記載のプログラム。 The program according to claim 9, wherein the degree of compression includes a JPEG QID.
JP2002318430A 2002-10-31 2002-10-31 Printing apparatus, printing method, and program Expired - Fee Related JP3990970B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002318430A JP3990970B2 (en) 2002-10-31 2002-10-31 Printing apparatus, printing method, and program
US10/688,961 US7286819B2 (en) 2002-10-31 2003-10-21 Printing apparatus, print control method, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002318430A JP3990970B2 (en) 2002-10-31 2002-10-31 Printing apparatus, printing method, and program

Publications (3)

Publication Number Publication Date
JP2004152141A JP2004152141A (en) 2004-05-27
JP2004152141A5 JP2004152141A5 (en) 2005-04-07
JP3990970B2 true JP3990970B2 (en) 2007-10-17

Family

ID=32461566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002318430A Expired - Fee Related JP3990970B2 (en) 2002-10-31 2002-10-31 Printing apparatus, printing method, and program

Country Status (1)

Country Link
JP (1) JP3990970B2 (en)

Also Published As

Publication number Publication date
JP2004152141A (en) 2004-05-27

Similar Documents

Publication Publication Date Title
US8422046B2 (en) Print setting based reprinting
KR100871179B1 (en) Print control apparatus, print control method and recording medium
US6683696B1 (en) Filter based data imaging method for an image forming device
US7697772B2 (en) Apparatus, method and computer program product for performing image compression of image data
JP3962606B2 (en) Printing command generation apparatus and method, printing apparatus and control method thereof, information processing apparatus, and printing system
US20040105102A1 (en) Information processing apparatus, information processing method and printing control method
US6918706B2 (en) Reducing a difference in picture quality between deteriorated and non-deteriorated images using a printing apparatus
US20180165046A1 (en) Image processing apparatus and method to form image on sheet using page image data and object information
JP3990970B2 (en) Printing apparatus, printing method, and program
US7286819B2 (en) Printing apparatus, print control method, and program product
JP2006079192A (en) Information processor, image processing system, image processing method, storage medium with computer readable program stored therein and program
US20040012797A1 (en) Load balancing in image generation
JP4136894B2 (en) Printing apparatus, printing method, and storage medium storing computer-readable program
US20080307296A1 (en) System and method for pre-rendering of combined document pages
US6480296B1 (en) Image processing apparatus and memory access method therefor
JP3833106B2 (en) Information processing apparatus, information processing method, program, and storage medium
JP4174547B2 (en) Information processing apparatus, information processing method, and storage medium
JP2017189968A (en) Image processing apparatus and image processing method
JP2005157413A (en) Printer, data processor, print controller, data processing method, storage medium storing computer readable program, and program
JP2006159458A (en) Image output device
JP2000033730A (en) Printer, control thereof and printing system
JP2006164066A (en) Data processing system, data processor, data processing method and control program
JP2003177903A (en) Information processor, information processing system, print control method, storage medium, and program
JP2006023870A (en) Information processor and printing device and data processing method and computer-readable storage medium with program stored and program therefor
JP2003015834A (en) Information processor, printing processor, data processing method and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040531

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061211

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070723

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

Free format text: PAYMENT UNTIL: 20100727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 3990970

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110727

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120727

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120727

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130727

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees