JP4095296B2 - Printing apparatus and printing control method therefor - Google Patents

Printing apparatus and printing control method therefor Download PDF

Info

Publication number
JP4095296B2
JP4095296B2 JP2001392256A JP2001392256A JP4095296B2 JP 4095296 B2 JP4095296 B2 JP 4095296B2 JP 2001392256 A JP2001392256 A JP 2001392256A JP 2001392256 A JP2001392256 A JP 2001392256A JP 4095296 B2 JP4095296 B2 JP 4095296B2
Authority
JP
Japan
Prior art keywords
size
page
printing
compression
printing apparatus
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
JP2001392256A
Other languages
Japanese (ja)
Other versions
JP2003191572A (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 JP2001392256A priority Critical patent/JP4095296B2/en
Publication of JP2003191572A publication Critical patent/JP2003191572A/en
Application granted granted Critical
Publication of JP4095296B2 publication Critical patent/JP4095296B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えばホストコンピュータから送信された印刷イメージデータを印刷機構部の出力形式に適したデータに変換して印刷を行う印刷装置およびその印刷制御方法に関する。
【0002】
【従来の技術】
従来、一般的な使用形態として、この種の印刷装置は、1つの双方向インターフェース(例えば、シリアル、パラレル、USB等)を介してホストコンピュータと1対1で接続されていた。
【0003】
そして、ホストコンピュータ上で動作するプリンタドライバは、同じくホストコンピュータ上で動作するアプリケーションプログラムから出力される印刷データを受け取り、頁単位のイメージデータに展開した後、圧縮処理を行って圧縮イメージデータを生成し、さらにスプール処理を行ってから圧縮イメージデータを印刷装置に転送していた。
【0004】
一方、印刷装置は、ホストコンピュータから圧縮イメージデータを受信し始めると、印刷パフォーマンスを高めるために同時に給紙処理を開始し、さらにホストコンピュータから送信されてくる圧縮イメージデータを順次受信しながら伸張処理を行い、伸張したイメージデータをビデオ信号に変換し、変換されたビデオ信号を印刷装置内の印刷機構部(プリンタエンジン)に出力していた。
【0005】
このような印刷処理を頁単位で行い、一連の印刷処理を終了させることが一般的に行われていた。また、ホストコンピュータから送信されてくる圧縮イメージデータの受信処理、圧縮イメージデータの伸張処理、および伸張したイメージデータをビデオ信号に変換して印刷装置内のプリンタエンジンに出力する処理を並行させることが一般的に行われ、これにより、印刷装置内の圧縮イメージデータの記憶領域が小容量であっても、高い印刷パフォーマンスを実現させることができた。
【0006】
【発明が解決しようとする課題】
しかしながら、上記従来の印刷装置では、レーザビームプリンタのように、一旦、給紙処理を開始すると、用紙の搬送を途中で停止できない印刷装置の場合、用紙搬送時間内で圧縮イメージデータを転送できるサイズ(最大転送可能サイズ)までしか正しい印刷結果を得ることができなかった。
【0007】
即ち、頁単位の圧縮イメージデータが非常に大きい場合、上記印刷処理では、用紙搬送速度に対してホストコンピュータからの圧縮イメージデータの転送が追いつかなくなってしまい、結果的に印刷の欠落(OVER RUN)を起こしてしまうという問題が発生していた。
【0008】
また、この問題に対し、最近では、圧縮イメージデータを一旦、全部印刷装置内の記憶領域(メモリ)に確保した後、給紙処理を開始するようにした印刷制御方法も一般化しているが、この場合、1頁分の圧縮イメージデータを確保するための大容量メモリを印刷装置内に設ける必要があった。さらに、圧縮イメージデータを一旦、全部印刷装置内の記憶領域に確保してから印刷動作を開始するので、印刷速度が大きく低下するという問題も生じていた。
【0009】
そこで、本発明は、印刷装置内のメモリが小容量であっても、印刷の欠落を発生させることなく、高い印刷パフォーマンスを維持しつつ、ホストコンピュータからの印刷処理を行うことができる印刷装置およびその印刷制御方を提供することを目的とする。
【0010】
【課題を解決するための手段】
上記目的を達成するために、本発明の印刷装置は、頁単位の印刷データを受信してメモリに記憶し、記録媒体の給送を開始し、前記メモリに記憶された印刷データを前記給送された記録媒体に印刷する印刷装置において、各セグメント単位に圧縮され、圧縮後の1頁分のサイズが先頭に付加された印刷データを受信する受信手段と、前記受信手段で受信された印刷データの先頭に付加された圧縮後の1頁分のサイズを取得する取得手段と、該取得した圧縮後の1頁分のサイズと、該印刷装置の用紙搬送時間内で転送できる圧縮された印刷データのサイズを示す最大転送可能サイズを比較する比較手段と、前記比較手段による比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより小さい場合に、印刷データのデータ部の受信に応じて前記記録媒体の給送開始を行い、一方、前記比較手段による比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより大きい場合に、前記圧縮後ののサイズと前記最大転送可能サイズの差分を算出し、算出された差分だけ圧縮後の印刷データを読み込み、読み込み終了後に前記記録媒体の給送開始を行う給送開始時期決定手段とを備えたことを特徴とする。
【0012】
本発明の印刷装置の印刷制御方法は、頁単位の印刷データを受信してメモリに記憶し、記録媒体の給送を開始し、前記メモリに記憶された印刷データを前記給送された記録媒体に印刷する印刷装置の印刷制御方法において、前記印刷装置の受信手段が、各セグメント単位に圧縮され、圧縮後の1頁分のサイズが先頭に付加された印刷データを受信する受信工程と、前記印刷装置の取得手段が、前記受信工程で受信された印刷データの先頭に付加された圧縮後の1頁分のサイズを取得する取得工程と、前記印刷装置の比較手段が、該取得した圧縮後の1頁分のサイズと、該印刷装置の用紙搬送時間内で転送できる圧縮された印刷データのサイズを示す最大転送可能サイズを比較する比較工程と、前記印刷装置の給送開始時期決定手段が、前記比較工程での比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより小さい場合に、印刷データのデータ部の受信に応じて前記記録媒体の給送開始を行い、一方、前記比較工程での比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより大きい場合に、前記圧縮後ののサイズと前記最大転送可能サイズの差分を算出し、算出された差分だけ圧縮後の印刷データを読み込み、読み込み終了後に前記記録媒体の給送開始を行う給送開始時期決定工程とを有することを特徴とする。
【0014】
【発明の実施の形態】
本発明の印刷装置およびその印刷制御方法の実施の形態について、図面を参照しながら説明する。本実施形態では、レーザビームを用いた電子写真プロセス方式により頁単位で印刷を行う印刷装置(レーザビームプリンタ)に適用された場合を示す。図1は実施の形態における印刷システムの機能的構成を示すブロック図である。この印刷システムはホストコンピュータ100および印刷装置101から構成される。
【0015】
ホストコンピュータ100内において、102はホストコンピュータ100上で動作するアプリケーションプログラムの印刷処理を実行した際、アプリケーションプログラムから出力される印刷情報を解析して画像情報を出力する印刷情報解析部である。
【0016】
103は印刷情報解析部102によって解析された画像情報を、印刷装置101に独自な中間言語に変換する画像情報生成部である。104は画像情報生成部103によって生成された中間言語に基づいて印刷イメージデータを展開し、さらに展開された印刷イメージデータの圧縮処理を行うイメージデータ展開・圧縮部である。
【0017】
105はイメージデータ展開・圧縮部104によって作成された圧縮イメージデータのサイズを算出する圧縮データサイズ算出部である。106はイメージデータ展開・圧縮部104から出力された圧縮イメージデータをスプールファイルに書き込むスプールファイル管理部である。スプールファイル管理部106は、圧縮イメージデータをスプールファイルに書き込むと同時に、スプールファイルに書き込まれた圧縮イメージデータを順次読み出し、圧縮イメージデータ転送部107に送り出す。107はスプールファイル管理部106から送り出された圧縮イメージデータを、印刷装置101内の処理と同期を取りながら印刷装置101に転送する圧縮イメージデータ転送部である。
【0018】
この他、ホストコンピュータ100内には、画面表示・操作制御部210、印刷環境検知部209およびアプリケーション202が設けられている(図2参照)。尚、上記各部は、ホストコンピュータ100内のCPU(図示せず)が記録媒体(図示せず)に格納された制御プログラムを実行することによって実現される。
【0019】
一方、印刷装置101において、108はホストコンピュータ100から送信された圧縮イメージデータを受信し、伸張処理を行った後、伸張したイメージデータをビデオ信号に変換して印刷機構部110に転送する印刷情報制御部である。
【0020】
109は圧縮データサイズ算出部105によって算出された圧縮イメージデータのサイズに基づき、頁の印刷の欠落(OVER RUN)を発生させることなく、最適な印刷パフォーマンスを実現するための給紙タイミングを決定する給紙開始タイミング決定部であり、この給紙開始タイミング決定部109によって決定されたタイミングにしたがって、給紙処理を開始するように印刷機構部110に指示を出す。
【0021】
110は印刷機構部であり、印刷制御を司る印刷機構(プリンタエンジン)214、および印刷機構部内の給紙搬送処理(給紙モードや排紙処理)等を司る制御機構(エンジンコントローラ)213からなる(図2参照)。
【0022】
図2は印刷システム内の各機能部の動作を示す図である。ホストコンピュータ100側では、ホストコンピュータ100の起動と同時に、ホストコンピュータ100内の印刷情報解析部102、圧縮イメージデータ転送部107および印刷環境検知部209が起動する。
【0023】
そして、操作者が何らかのアプリケーションプログラム202の実行中に印刷出力を指示すると、アプリケーションプログラム202は描画命令、制御命令等の印刷情報を印刷情報解析部102に送出する。印刷情報解析部102は、アプリケーションプログラム202から出力される印刷情報を解析し、その解析結果である画像情報を画像情報生成部103に出力する。ここで、印刷情報とは、実際に印刷処理を行うための文字コード、図形、イメージ等のデータや、印刷位置や大きさ、印刷の向き(オリエンテーション)等を指定する印刷描画命令である。
【0024】
画像情報生成部103は、頁単位の画像情報を後述するセグメント単位で印刷装置101及び当印刷システムに独自な中間言語に変換し、1頁分の中間言語を生成すると、生成した中間言語をイメージデータ展開・圧縮部105に送出する。
【0025】
イメージデータ展開・圧縮部104は、セグメント単位の中間言語に基づいて印刷イメージデータを展開し、展開された印刷イメージデータに圧縮処理を施して圧縮イメージデータとし、この圧縮イメージデータをスプールファイル管理部106に送出する。このとき、圧縮データサイズ算出部105は、イメージデータ展開・圧縮部104の圧縮処理に同期して、各セグメント単位に圧縮されたイメージデータのサイズの加算処理を行い、最終的に1頁分の圧縮イメージデータのサイズを算出する。算出された圧縮イメージデータのサイズは、圧縮イメージデータと一緒にスプールファイル管理部106に送出される。
【0026】
スプールファイル管理部106は、イメージデータ展開・圧縮部104により送出された圧縮イメージデータをスプールファイルに書き込むと同時に、スプールファイルに書き込まれた1頁分の圧縮イメージデータを順次読み出し、圧縮イメージデータ転送部107に送出する。圧縮イメージデータ転送部107は、スプールファイルから読み出した圧縮イメージデータを、インターフェースケーブルを介して印刷装置101に転送する。
【0027】
また、印刷環境検知部209は、インターフェースケーブルを介して印刷装置101から送られてくる印刷装置の状態(ステータス)を監視する。さらに、画面表示・操作制御部210は、ホストコンピュータ100の画面上に印刷環境検知部209からの印刷装置の状態(ステータス)を表示したり、操作者がこの印刷装置に対して行った印刷環境を設定する。図3、図4および図5は画面表示・操作制御部210によってホストコンピュータ100の画面上に表示された印刷装置の状態(ステータス)を示す図である。図3では印刷に失敗した状態であること(警告)が表示され、図4では印刷可能な状態であることが表示され、図5では印刷中であることが表示されている。
【0028】
つぎに、印刷装置101側の各機能部の動作を示す。ホストコンピュータ100は、1頁分の圧縮イメージデータがスプールファイルに書き込まれると、圧縮イメージデータ転送部107を介して印刷装置101に対し、印刷開始命令を送信する。ホストコンピュータ100から送出された印刷開始命令は、プリンタコントローラ212を経由してエンジンコントローラ213に転送される。ここで、プリンタコントローラ212は、図1の印刷情報制御部108および給紙開始タイミング決定部109を構成する。
【0029】
また、圧縮イメージデータ転送部107を介して、ホストコンピュータ100から送出されたセグメント単位の圧縮イメージデータは、プリンタコントローラ212内の画像メモリ(RAM)1304に転送され、元のイメージデータに伸張された後、ビデオ信号に変換され、さらに実際の印刷処理を行うプリンタエンジン214に送られる。
【0030】
ここで、プリンタコントローラ212内に組み込まれた制御プログラムは、後述するように、ホストコンピュータ100から送出された圧縮イメージデータのサイズに基づき、この頁の印刷欠落(OVER RUN)を発生させることなく、最適な印刷パフォーマンスを実現するための給紙タイミングを決定する給紙開始タイミング決定部109を実現させる。
【0031】
プリンタコントローラ212は、最適なタイミングで給紙処理を開始するように、プリンタエンジン214に指示を出す。
【0032】
印刷機構部110の印刷環境情報は、プリンタコントローラ212を介してホストコンピュータ100に転送される。そして、ホストコンピュータ100内の印刷環境検知部209は、印刷装置101から送信された印刷環境情報を受信し、印刷情報解析部102および画面表示・操作制御部210に印刷環境情報を通知する。
【0033】
図6はホストコンピュータ100上における中間言語の生成動作を示す図である。まず、1頁分の印刷イメージを複数の部分(セグメント単位)302に分割する。ここで、印刷情報解析部102および画像情報生成部103は、アプリケーションプログラム202が出力する各種描画命令に対し、その描画命令を各セグメント単位に分解し、中間言語形式データ301に変換し、ホストコンピュータ100のワークメモリに格納する。
【0034】
図7は印刷処理の概略を示す図である。アプリケーションプログラム202から出力された描画命令は、セグメント毎に中間言語形式データ301に変換される。そして、1頁分の中間言語形式データ301が整うと、イメージデータ展開・圧縮部104によってセグメント単位に順次、中間言語からイメージデータが展開され、さらに圧縮処理された後、スプールファイル402に書き込まれる。
【0035】
図8は展開・圧縮処理を示す図である。まず、セグメント毎に生成された中間言語形式データ301から1セグメント毎にイメージデータの展開処理を行い、さらに、展開されたイメージデータ401に圧縮処理を施し、セグメント単位の圧縮イメージデータ901を作成する。この一連の処理を全セグメントに対して行い、最後に全セグメント(頁単位)の圧縮イメージデータ902を1つにまとめてスプールファイル402に書き込む。このとき、圧縮データサイズ算出部105によりセグメント毎に圧縮されたイメージデータ901のサイズの合計値を、圧縮イメージデータ902と一緒にスプールファイル402に書き込む。
【0036】
つぎに、1頁分の圧縮イメージデータ902がスプールファイル402に書き込まれると、スプールファイル402から圧縮イメージデータが順次、印刷装置101に転送される。
【0037】
図9はスプールファイル402の形式を示す図である。まず、スプールファイル402は、1ドキュメント当たり1つのファイルとしてハードディスクなどの2次記憶装置に格納される。各ファイルは、図9に示す形式を有する。
【0038】
1001はドキュメント全体の情報を格納するドキュメント開始情報である。このドキュメント開始情報には、印刷部数などの情報が設定されている。1002は頁毎の情報(印刷データ)である。1003は各頁情報内の頁開始情報である。頁開始情報1003には、用紙サイズや給排紙口指定などの情報が設定されている。902は、前述したように、頁単位の圧縮イメージデータである。頁単位の圧縮イメージデータ902は、圧縮データサイズおよび実際の圧縮イメージデータから構成される。1004は頁終了情報である。1005はドキュメント全体の終了情報である。
【0039】
つぎに、本実施形態の印刷制御処理の概略を示す。図10、図11、図12は1頁分の圧縮イメージデータと最大転送可能サイズとの関係を示す図である。レーザビームプリンタのような電子写真プロセス方式の印刷装置では、一旦給紙を開始すると、印刷途中で用紙搬送を停止させることができない。したがって、印刷パフォーマンスを高めるために、ホストコンピュータからの圧縮イメージデータの転送開始と同時に給紙を開始する。しかし、この場合、印刷装置の用紙搬送時間内で転送できる圧縮イメージデータのサイズ(最大転送可能サイズ)までしか正しい印刷結果を得ることができない。
【0040】
図10に示すように、1頁分の圧縮イメージデータが最大転送可能サイズより小さい場合、圧縮イメージデータの転送開始と同時に給紙を開始することにより最大スループットを実現することができる。ところが、図11に示すように、1頁分の圧縮イメージデータが最大転送可能サイズより大きい場合、圧縮イメージデータの転送開始と同時に給紙を開始すると、圧縮イメージデータの転送が用紙搬送に追いつかなくなり、印刷の欠落(OVER RUN)が発生してしまう。この場合、例えば、図3に示す警告がホストコンピュータ100の画面に表示される。
【0041】
そこで、1頁分の圧縮イメージデータが最大転送可能サイズより大きい場合、図12に示すように、圧縮イメージデータサイズと最大転送可能サイズの差分を先行して印刷装置101の受信バッファ(BUFFER)に転送し、差分転送終了時点で給紙を開始することにより、印刷の欠落を発生させることなく、最大のスループットを実現できる。
【0042】
図13は印刷装置101の具体的な構成を示す図である。ホストコンピュータ100は、インターフェースケーブルを介して印刷装置101と接続されており、印刷装置101に種々の印刷データを送信したり、印刷装置101からステータスを受信する。
【0043】
印刷装置101は、前述したように、発光素子によるレーザビームを使用するレーザビームプリンタであり、主にプリンタコントローラ212および印刷機構部110から構成される。
【0044】
プリンタコントローラ212は、ホストコンピュータ100から送信された印刷データを受け取り、この印刷データに基づいて印刷イメージ(ビットマップデータ)を生成し、印刷機構部110に対し、順次、ビットマップデータをビデオ信号に変換して送信する。また、プリンタコントローラ212は、印刷機構部110からの各種ステータスを受け取り、必要に応じてステータスをホストコンピュータ100に送信する。
【0045】
印刷機構部110は、プリンタコントローラ212から送出されたビデオ信号に基づき、実際に感光ドラム上に潜像を形成し、トナーを用いて潜像を顕在化して用紙(普通紙)に転写した後、定着器に用紙を通すことにより、安定した印刷出力を得る。この印刷機構部110は、印刷機構部全体を制御するエンジンコントローラ(制御部)213、光学系1106、および電子写真プロセス/用紙搬送系1107から構成される。
【0046】
制御部213は、プリンタコントローラ212からビデオ信号や印刷機構部110に対する制御コマンドを受信したり、印刷機構部110のステータスをプリンタコントローラ212に送信すると共に、電子写真プロセス/用紙搬送系1107および光学系1106を制御する。
【0047】
図14は電子写真プロセス/用紙搬送系1107の構成を示す斜視図である。図14において、1201は給紙カセットである。1202は用紙搬送ローラである。1203は感光ドラムである。1204は定着器である。1205は用紙である。
【0048】
図15はプリンタコントローラ212の構成を示す図である。図において、1301はホストコンピュータインタフェース回路であり、ホストコンピュータ100に対する信号の入出力部として機能する。1302はプリンタコントローラ212全体の制御を司る中央演算装置(CPU)である。1303は中央演算装置(CPU)1302によって実行される制御プログラムが格納されたメモリ(ROM)である。1304はCPU1302がメモリ(ROM)1303に格納された制御プログラムを実行する際、必要な情報を格納する書き換え可能なメモリ(RAM)である。
【0049】
給紙開始タイミング決定部109は、前述したように、CPU1302がメモリ(ROM)1303に格納された制御プログラムを実行することによって実現される。また、ホストコンピュータ100から送信される圧縮イメージデータの受信BUFFER、および受信したセグメント単位の圧縮イメージデータの伸張領域は、メモリ(RAM)1304内に確保される。1305は、書き換え可能なメモリ(RAM)1304内に伸張された印刷イメージデータ(ビットマップデータ)を画像信号VDOに変換する出力バッファレジスタである。1306は、BD信号に同期した画像クロック信号VCLKを発生する同期クロック発生回路である。さらに、1307は印刷機構部110に対する信号の入出力部であるインタフェース回路である。
【0050】
上記構成を有する印刷システムの印刷制御動作を示す。図16はホストコンピュータ100における1頁分の印刷イメージデータの展開・圧縮処理手順および圧縮データサイズの算出処理手順を示すフローチャートである。この処理プログラムは、ホストコンピュータ100内のハードディスク等の記録媒体に格納されており、実行時に一旦、ホストコンピュータ100内のRAM(図示せず)にロードされた後、ホストコンピュータ100内のCPU(図示せず)によって実行される。
【0051】
まず、圧縮データサイズを値0に設定する(ステップS1)。そして、この頁の全セグメントの処理を終了したか否かを判別する(ステップS2)。全セグメントの処理が終了していない場合、このセグメントの中間言語からイメージデータを展開する(ステップS3)。さらに、展開されたイメージデータに圧縮処理を施す(ステップS4)。そして、圧縮されたイメージデータのサイズを圧縮データサイズに加算し、次のセグメントの処理を行うため、ステップS2の処理に戻る。一方、ステップS2で全セグメントの処理が終了した場合、1頁分の圧縮イメージデータ902の先頭に圧縮データサイズを設定し、スプールファイル402に書き込み、本処理を終了する。
【0052】
図17は印刷装置101内のプリンタコントローラ212における印刷処理手順を示すフローチャートである。この処理プログラムは、プリンタコントローラ212内のROM1303に格納されており、CPU1302によって実行される。まず、印刷装置101内のプリンタコントローラ212は、ホストコンピュータ100からのデータ入力待ちになる(ステップS11)。そして、何らかの入力があると、入力データを解析する(ステップS12)。
【0053】
解析の結果、入力データがドキュメント開始情報1001である場合、印刷開始処理を行い(ステップS13)、次の入力データを受信するためにステップS11の処理に戻る。一方、入力データが頁毎の情報(印刷データ)1002である場合、印刷処理を行い(ステップS14)、次の入力データを受信するためにステップS11の処理に戻る。この印刷処理の詳細については後述する。また一方、入力データがドキュメント終了情報1005である場合、印刷終了処理を行い(ステップS15)、次の入力データを受信するためにステップS11の処理に戻る。また、入力データがその他である場合、何も処理することなく、次の入力データを受信するためにステップS11の処理に戻る。
【0054】
図18はステップS14における印刷処理手順を示すフローチャートである。まず、ホストコンピュータ100からの印刷データの入力待ちになる(ステップS21)。ここで、何らかの入力があると、入力データを解析する(ステップS22)。解析の結果、入力データが頁開始情報1003である場合、頁開始処理を行い(ステップS23)、次の入力データを受信するためにステップS21の処理に戻る。一方、入力データが圧縮イメージデータ902である場合、印刷処理を行い(ステップS24)、次の入力データを受信するためにステップS21の処理に戻る。この印刷処理の詳細については後述する。また一方、入力データが頁終了情報1004である場合、頁終了処理を行い(ステップS25)、本処理を終了する。また、入力データがその他である場合、何もすることなくステップS21の処理に戻る。
【0055】
図19はステップS24における印刷処理手順を示すフローチャートである。まず、圧縮イメージデータ902の先頭に設定されている圧縮データサイズを参照し、圧縮イメージデータのサイズと最大転送可能サイズを比較する(ステップS31)。圧縮イメージデータのサイズが最大転送可能サイズより小さい場合、ステップS34の処理に移行する。
【0056】
一方、圧縮イメージデータのサイズが最大転送可能サイズより大きい場合、圧縮イメージデータのサイズと最大転送可能サイズの差分を算出する(ステップS32)。算出された差分だけ圧縮イメージデータを受信バッファ(BUFFER)に先行して読み込む(ステップS33)。この読み込み終了後、プリンタエンジン214に起動をかけ、給紙を開始する(ステップS34)。
【0057】
さらに、残りの圧縮イメージデータを受信バッファに転送しながら、圧縮イメージデータの伸張処理およびこの伸張したイメージデータのプリンタエンジン214への転送処理を行い、1頁分の圧縮イメージデータの処理を終了すると、本処理を終了する。
【0058】
このように、本実施形態では、圧縮イメージデータのサイズと最大転送可能サイズの差分だけを先行して転送することで、印刷装置101内の受信バッファが小容量であっても、印刷の欠落を発生させることなく、高い印刷パフォーマンスを維持しつつ、ホストコンピュータ100からの印刷処理を行うことができる。
【0059】
以上が本発明の実施の形態の説明であるが、本発明は、これら実施の形態の構成に限られるものではなく、特許請求の範囲で示した機能、または実施の形態の構成が持つ機能が達成できる構成であればどのようなものであっても適用可能である。
【0060】
例えば、上記実施形態では、印刷装置がレーザビームプリンタである場合を示したが、これに限らず、LEDアレイ、液晶シャッタ等を発光素子とする印刷装置に対しても有効であることはいうまでもない。また、印刷機構として、電子写真プロセス方式の印刷装置を示したが、本発明は、印刷機構の如何に関わらず、頁単位で印刷処理を行う印刷機構であれば適用可能であり、どのような印刷機構(インクジェット、シリアル、熱転写等)に対しても有効である。
【0061】
また、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードをシステムあるいは装置に供給することによって達成される場合にも適用できることはいうまでもない。この場合、プログラムコード自体が本発明の新規な機能を実現することになり、そのプログラム自体およびそのプログラムを記憶した記憶媒体は本発明を構成することになる。
【0062】
上記実施形態では、図17、図18、図19のフローチャートに示すプログラムコードは記憶媒体であるROMに格納されている。プログラムコードを供給する記憶媒体としては、ROMに限らず、例えばフレキシブルディスク、ハードディスク、CD−ROM、CD−R、DVD、磁気テープ、不揮発性のメモリカードなどを用いることができる。
【0063】
【発明の効果】
本発明によれば、印刷装置内のメモリが小容量であっても、印刷の欠落を発生させることなく、高い印刷パフォーマンスを維持しつつ、ホストコンピュータからの印刷処理を行うことができる。
【図面の簡単な説明】
【図1】実施の形態における印刷システムの機能的構成を示すブロック図である。
【図2】印刷システム内の各機能部の動作を示す図である。
【図3】画面表示・操作制御部210によってホストコンピュータ100の画面上に表示された印刷装置の状態(ステータス)を示す図である。
【図4】画面表示・操作制御部210によってホストコンピュータ100の画面上に表示された印刷装置の状態(ステータス)を示す図である。
【図5】画面表示・操作制御部210によってホストコンピュータ100の画面上に表示された印刷装置の状態(ステータス)を示す図である。
【図6】ホストコンピュータ100上における中間言語の生成動作を示す図である。
【図7】印刷処理の概略を示す図である。
【図8】展開・圧縮処理を示す図である。
【図9】スプールファイル402の形式を示す図である。
【図10】1頁分の圧縮イメージデータと最大転送可能サイズとの関係を示す図である。
【図11】1頁分の圧縮イメージデータと最大転送可能サイズとの関係を示す図である。
【図12】1頁分の圧縮イメージデータと最大転送可能サイズとの関係を示す図である。
【図13】印刷装置101の具体的な構成を示す図である。
【図14】電子写真プロセス/用紙搬送系1107の構成を示す斜視図である。
【図15】プリンタコントローラ212の構成を示す図である。
【図16】ホストコンピュータ100における1頁分の印刷イメージデータの展開・圧縮処理手順および圧縮データサイズの算出処理手順を示すフローチャートである。
【図17】印刷装置101内のプリンタコントローラ212における印刷処理手順を示すフローチャートである。
【図18】ステップS14における印刷処理手順を示すフローチャートである。
【図19】ステップS24における印刷処理手順を示すフローチャートである。
【符号の説明】
100 ホストコンピュータ
101 印刷装置
110 印刷機構部
212 プリンタコントローラ
402 スプールファイル
902 圧縮イメージデータ
1302 CPU
1303 ROM
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing apparatus that performs printing by converting print image data transmitted from, for example, a host computer into data suitable for an output format of a printing mechanism unit And its Print control method To the law Related.
[0002]
[Prior art]
Conventionally, as a general usage pattern, this type of printing apparatus is connected to a host computer on a one-to-one basis via one bidirectional interface (for example, serial, parallel, USB, etc.).
[0003]
The printer driver that operates on the host computer receives print data output from an application program that also operates on the host computer, expands it into image data for each page, and performs compression processing to generate compressed image data. In addition, the compressed image data is transferred to the printing apparatus after further spool processing.
[0004]
On the other hand, when the printing apparatus starts to receive the compressed image data from the host computer, it starts the paper feeding process at the same time in order to improve the printing performance, and further performs the expansion process while sequentially receiving the compressed image data transmitted from the host computer. The decompressed image data is converted into a video signal, and the converted video signal is output to a printing mechanism (printer engine) in the printing apparatus.
[0005]
In general, such a printing process is performed for each page, and a series of printing processes is terminated. In addition, the reception processing of compressed image data transmitted from the host computer, the decompression processing of the compressed image data, and the processing of converting the decompressed image data into a video signal and outputting the video signal to the printer engine in the printing apparatus may be performed in parallel. In general, it is possible to realize high printing performance even if the storage area of the compressed image data in the printing apparatus has a small capacity.
[0006]
[Problems to be solved by the invention]
However, in the conventional printing apparatus, such as a laser beam printer, once the paper feeding process is started, the printing apparatus in which the conveyance of the paper cannot be stopped halfway, the size capable of transferring the compressed image data within the paper conveyance time. Correct print results could only be obtained up to (maximum transferable size).
[0007]
In other words, when the compressed image data for each page is very large, the print processing cannot keep up with the transfer of the compressed image data from the host computer with respect to the paper conveyance speed, resulting in a lack of printing (OVER RUN). There was a problem that would cause.
[0008]
Further, recently, a print control method in which the compressed image data is once secured in a storage area (memory) in the printing apparatus and then the paper feeding process is started has been generalized. In this case, it is necessary to provide a large-capacity memory in the printing apparatus for securing one page of compressed image data. Furthermore, since the printing operation is started after all the compressed image data is once secured in the storage area in the printing apparatus, there has been a problem that the printing speed is greatly reduced.
[0009]
Accordingly, the present invention provides a printing apparatus capable of performing printing processing from a host computer while maintaining high printing performance without causing printing loss even when the memory in the printing apparatus has a small capacity. And its Print control method Law The purpose is to provide.
[0010]
[Means for Solving the Problems]
In order to achieve the above object, the printing apparatus of the present invention receives print data in page units and stores it in a memory, starts feeding a recording medium, and sends the print data stored in the memory to the feed In the printing apparatus for printing on the recorded recording medium, receiving means for receiving print data compressed in each segment unit and having the size of one page after compression added to the head, and the print data received by the receiving means Prepended to After compression 1 page No Acquisition means for acquiring the Izu, and the acquired After compression 1 page No Comparing means for comparing the maximum transferable size indicating the size of the compressed print data that can be transferred within the paper transport time of the printing apparatus and the comparison result by the comparing means After compression 1 page No When the size is smaller than the maximum transferable size, feeding of the recording medium is started in response to reception of the data portion of the print data, while the acquisition is performed based on the comparison result by the comparison unit. After compression 1 page No When the noise is larger than the maximum transferable size, After compression 1 page Min No A feeding start time determining unit that calculates a difference between the size and the maximum transferable size, reads the compressed print data by the calculated difference, and starts feeding the recording medium after the reading is completed. Features.
[0012]
According to the printing control method of the printing apparatus of the present invention, print data in units of pages is received and stored in a memory, feeding of the recording medium is started, and the printing data stored in the memory is sent to the fed recording medium In the printing control method of the printing apparatus for printing on the receiving device, the receiving unit of the printing apparatus receives the print data that is compressed in units of segments and the size of one page after compression is added to the head, and The acquisition unit of the printing apparatus is added to the head of the print data received in the reception step. After compression 1 page No The acquisition step for acquiring the noise and the comparison means of the printing apparatus After compression 1 page No A comparison step for comparing the size and the maximum transferable size indicating the size of the compressed print data that can be transferred within the paper conveyance time of the printing device, and a feeding start time determination means of the printing device in the comparison step It was acquired by the comparison result of After compression 1 page No When the size is smaller than the maximum transferable size, the feeding of the recording medium is started in response to reception of the data portion of the print data, while the acquisition is performed based on the comparison result in the comparison step. After compression 1 page No When the noise is larger than the maximum transferable size, After compression 1 page Min No A feed start time determination step of calculating a difference between the size and the maximum transferable size, reading the compressed print data by the calculated difference, and starting feeding of the recording medium after the reading is completed. And
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Printing apparatus of the present invention And its Print control method Legal Embodiments will be described with reference to the drawings. In the present embodiment, a case where the present invention is applied to a printing apparatus (laser beam printer) that performs printing in page units by an electrophotographic process method using a laser beam is shown. FIG. 1 is a block diagram illustrating a functional configuration of a printing system according to an embodiment. This printing system includes a host computer 100 and a printing apparatus 101.
[0015]
In the host computer 100, reference numeral 102 denotes a print information analysis unit that analyzes print information output from the application program and outputs image information when print processing of the application program running on the host computer 100 is executed.
[0016]
An image information generation unit 103 converts the image information analyzed by the print information analysis unit 102 into an intermediate language unique to the printing apparatus 101. An image data expansion / compression unit 104 expands the print image data based on the intermediate language generated by the image information generation unit 103 and compresses the expanded print image data.
[0017]
A compressed data size calculation unit 105 calculates the size of the compressed image data created by the image data expansion / compression unit 104. A spool file management unit 106 writes the compressed image data output from the image data development / compression unit 104 into a spool file. The spool file management unit 106 writes the compressed image data to the spool file, and at the same time, sequentially reads the compressed image data written to the spool file and sends it to the compressed image data transfer unit 107. A compressed image data transfer unit 107 transfers the compressed image data sent from the spool file management unit 106 to the printing apparatus 101 in synchronization with the processing in the printing apparatus 101.
[0018]
In addition, a screen display / operation control unit 210, a printing environment detection unit 209, and an application 202 are provided in the host computer 100 (see FIG. 2). The above-described units are realized by a CPU (not shown) in the host computer 100 executing a control program stored in a recording medium (not shown).
[0019]
On the other hand, in the printing apparatus 101, the print information 108 receives the compressed image data transmitted from the host computer 100, performs decompression processing, converts the decompressed image data into a video signal, and transfers it to the print mechanism unit 110. It is a control unit.
[0020]
Reference numeral 109 denotes a sheet feeding timing for realizing optimum printing performance without causing a missing page printing (OVER RUN) based on the size of the compressed image data calculated by the compressed data size calculation unit 105. A paper feed start timing determination unit, which instructs the printing mechanism unit 110 to start paper feed processing according to the timing determined by the paper feed start timing determination unit 109.
[0021]
Reference numeral 110 denotes a printing mechanism unit, which includes a printing mechanism (printer engine) 214 that controls printing control, and a control mechanism (engine controller) 213 that controls paper feeding / conveying processing (paper feeding mode and paper discharge processing) in the printing mechanism unit. (See FIG. 2).
[0022]
FIG. 2 is a diagram illustrating the operation of each functional unit in the printing system. On the host computer 100 side, simultaneously with the activation of the host computer 100, the print information analysis unit 102, the compressed image data transfer unit 107, and the printing environment detection unit 209 in the host computer 100 are activated.
[0023]
When the operator instructs print output during execution of some application program 202, the application program 202 sends print information such as a drawing command and a control command to the print information analysis unit 102. The print information analysis unit 102 analyzes the print information output from the application program 202 and outputs image information that is the analysis result to the image information generation unit 103. Here, the print information is a print drawing command for designating data such as character codes, graphics, and images for actually performing print processing, a print position and size, a print direction (orientation), and the like.
[0024]
The image information generating unit 103 converts the image information in page units into an intermediate language unique to the printing apparatus 101 and the printing system in segment units to be described later, and generates the intermediate language for one page. The data is sent to the data expansion / compression unit 105.
[0025]
An image data expansion / compression unit 104 expands print image data based on an intermediate language in segment units, compresses the expanded print image data into compressed image data, and uses the compressed image data as a spool file management unit 106. At this time, the compressed data size calculation unit 105 performs an addition process of the size of the image data compressed in units of segments in synchronization with the compression process of the image data development / compression unit 104, and finally, for one page. Calculate the size of the compressed image data. The calculated size of the compressed image data is sent to the spool file management unit 106 together with the compressed image data.
[0026]
The spool file management unit 106 writes the compressed image data sent from the image data decompressing / compressing unit 104 to the spool file, and at the same time, sequentially reads the compressed image data for one page written in the spool file, and transfers the compressed image data. To the unit 107. The compressed image data transfer unit 107 transfers the compressed image data read from the spool file to the printing apparatus 101 via the interface cable.
[0027]
The printing environment detection unit 209 also monitors the status (status) of the printing apparatus sent from the printing apparatus 101 via the interface cable. Further, the screen display / operation control unit 210 displays the status (status) of the printing apparatus from the printing environment detection unit 209 on the screen of the host computer 100, or the printing environment performed by the operator on the printing apparatus. Set. 3, 4, and 5 are views showing the status (status) of the printing apparatus displayed on the screen of the host computer 100 by the screen display / operation control unit 210. In FIG. 3, it is displayed that printing has failed (warning), in FIG. 4, it is displayed that printing is possible, and in FIG. 5, it is displayed that printing is in progress.
[0028]
Next, the operation of each functional unit on the printing apparatus 101 side is shown. When the compressed image data for one page is written in the spool file, the host computer 100 transmits a print start command to the printing apparatus 101 via the compressed image data transfer unit 107. A print start command sent from the host computer 100 is transferred to the engine controller 213 via the printer controller 212. Here, the printer controller 212 constitutes the print information control unit 108 and the paper feed start timing determination unit 109 of FIG.
[0029]
Also, the segment unit compressed image data sent from the host computer 100 via the compressed image data transfer unit 107 is transferred to an image memory (RAM) 1304 in the printer controller 212 and decompressed to the original image data. After that, it is converted into a video signal and further sent to the printer engine 214 which performs the actual printing process.
[0030]
Here, as will be described later, the control program incorporated in the printer controller 212 is based on the size of the compressed image data sent from the host computer 100, without causing this page to be missing (OVER RUN). A paper feed start timing determining unit 109 that determines a paper feed timing for realizing optimum printing performance is realized.
[0031]
The printer controller 212 instructs the printer engine 214 to start the paper feed process at an optimal timing.
[0032]
The printing environment information of the printing mechanism unit 110 is transferred to the host computer 100 via the printer controller 212. The printing environment detection unit 209 in the host computer 100 receives the printing environment information transmitted from the printing apparatus 101 and notifies the printing information analysis unit 102 and the screen display / operation control unit 210 of the printing environment information.
[0033]
FIG. 6 is a diagram showing an intermediate language generation operation on the host computer 100. First, a print image for one page is divided into a plurality of portions (segment units) 302. Here, the print information analysis unit 102 and the image information generation unit 103 divide the drawing commands output from the application program 202 into segment units, convert them into intermediate language format data 301, and the host computer. 100 work memories are stored.
[0034]
FIG. 7 is a diagram showing an outline of the printing process. The drawing command output from the application program 202 is converted into intermediate language format data 301 for each segment. When the intermediate language format data 301 for one page is prepared, the image data expansion / compression unit 104 sequentially expands the image data from the intermediate language in units of segments, and further compresses the data, and then writes it to the spool file 402. .
[0035]
FIG. 8 is a diagram showing decompression / compression processing. First, image data expansion processing is performed for each segment from the intermediate language format data 301 generated for each segment, and further, compression processing is performed on the expanded image data 401 to generate compressed image data 901 for each segment. . This series of processing is performed for all segments, and finally, the compressed image data 902 for all segments (page units) is combined and written into the spool file 402. At this time, the total size of the image data 901 compressed for each segment by the compressed data size calculation unit 105 is written into the spool file 402 together with the compressed image data 902.
[0036]
Next, when the compressed image data 902 for one page is written in the spool file 402, the compressed image data is sequentially transferred from the spool file 402 to the printing apparatus 101.
[0037]
FIG. 9 is a diagram showing the format of the spool file 402. First, the spool file 402 is stored in a secondary storage device such as a hard disk as one file per document. Each file has the format shown in FIG.
[0038]
Reference numeral 1001 denotes document start information for storing information on the entire document. Information such as the number of copies is set in the document start information. Reference numeral 1002 denotes information (print data) for each page. Reference numeral 1003 denotes page start information in each page information. In the page start information 1003, information such as paper size and paper feed / outlet designation is set. As described above, reference numeral 902 denotes compressed image data in units of pages. The page-by-page compressed image data 902 includes a compressed data size and actual compressed image data. Reference numeral 1004 denotes page end information. Reference numeral 1005 denotes end information of the entire document.
[0039]
Next, an outline of the print control process of the present embodiment is shown. 10, 11 and 12 are diagrams showing the relationship between the compressed image data for one page and the maximum transferable size. In an electrophotographic process type printing apparatus such as a laser beam printer, once paper feeding is started, paper conveyance cannot be stopped during printing. Therefore, in order to improve printing performance, paper feeding is started simultaneously with the start of transfer of compressed image data from the host computer. However, in this case, a correct print result can be obtained only up to the size of the compressed image data (maximum transferable size) that can be transferred within the paper conveyance time of the printing apparatus.
[0040]
As shown in FIG. 10, when the compressed image data for one page is smaller than the maximum transferable size, the maximum throughput can be realized by starting the paper feeding simultaneously with the transfer of the compressed image data. However, as shown in FIG. 11, when the compressed image data for one page is larger than the maximum transferable size, if the paper feeding is started simultaneously with the transfer of the compressed image data, the transfer of the compressed image data cannot catch up with the sheet conveyance. , Printing loss (OVER RUN) occurs. In this case, for example, the warning shown in FIG. 3 is displayed on the screen of the host computer 100.
[0041]
Therefore, when the compressed image data for one page is larger than the maximum transferable size, the difference between the compressed image data size and the maximum transferable size is preceded in the reception buffer (BUFFER) of the printing apparatus 101 as shown in FIG. By transferring and starting paper feeding at the end of the differential transfer, the maximum throughput can be realized without causing printing loss.
[0042]
FIG. 13 is a diagram illustrating a specific configuration of the printing apparatus 101. The host computer 100 is connected to the printing apparatus 101 via an interface cable, and transmits various print data to the printing apparatus 101 and receives statuses from the printing apparatus 101.
[0043]
As described above, the printing apparatus 101 is a laser beam printer that uses a laser beam by a light emitting element, and mainly includes a printer controller 212 and a printing mechanism unit 110.
[0044]
The printer controller 212 receives print data transmitted from the host computer 100, generates a print image (bitmap data) based on the print data, and sequentially converts the bitmap data to a video signal to the print mechanism unit 110. Convert and send. The printer controller 212 receives various statuses from the printing mechanism unit 110 and transmits the statuses to the host computer 100 as necessary.
[0045]
The printing mechanism unit 110 actually forms a latent image on the photosensitive drum based on the video signal sent from the printer controller 212, reveals the latent image using toner, and transfers the latent image to paper (plain paper). Stable printing output is obtained by passing the paper through the fixing device. The printing mechanism unit 110 includes an engine controller (control unit) 213 that controls the entire printing mechanism unit, an optical system 1106, and an electrophotographic process / paper conveyance system 1107.
[0046]
The control unit 213 receives a video signal and a control command for the printing mechanism unit 110 from the printer controller 212, transmits the status of the printing mechanism unit 110 to the printer controller 212, and includes an electrophotographic process / paper transport system 1107 and an optical system. 1106 is controlled.
[0047]
FIG. 14 is a perspective view showing the configuration of the electrophotographic process / paper transport system 1107. In FIG. 14, reference numeral 1201 denotes a paper feed cassette. Reference numeral 1202 denotes a paper transport roller. Reference numeral 1203 denotes a photosensitive drum. Reference numeral 1204 denotes a fixing device. Reference numeral 1205 denotes a sheet.
[0048]
FIG. 15 is a diagram illustrating the configuration of the printer controller 212. In the figure, reference numeral 1301 denotes a host computer interface circuit, which functions as a signal input / output unit for the host computer 100. A central processing unit (CPU) 1302 controls the entire printer controller 212. A memory (ROM) 1303 stores a control program executed by a central processing unit (CPU) 1302. Reference numeral 1304 denotes a rewritable memory (RAM) that stores necessary information when the CPU 1302 executes a control program stored in a memory (ROM) 1303.
[0049]
As described above, the paper feed start timing determination unit 109 is realized by the CPU 1302 executing the control program stored in the memory (ROM) 1303. In addition, a reception buffer for compressed image data transmitted from the host computer 100 and a decompression area for the received compressed image data in segment units are secured in a memory (RAM) 1304. An output buffer register 1305 converts print image data (bitmap data) expanded in a rewritable memory (RAM) 1304 into an image signal VDO. Reference numeral 1306 denotes a synchronous clock generation circuit that generates an image clock signal VCLK synchronized with the BD signal. Reference numeral 1307 denotes an interface circuit which is a signal input / output unit for the printing mechanism unit 110.
[0050]
The printing control operation of the printing system having the above configuration will be described. FIG. 16 is a flowchart showing the expansion / compression processing procedure of the print image data for one page and the calculation processing procedure of the compressed data size in the host computer 100. This processing program is stored in a recording medium such as a hard disk in the host computer 100, and once loaded into a RAM (not shown) in the host computer 100 at the time of execution, the CPU (in FIG. (Not shown).
[0051]
First, the compressed data size is set to 0 (step S1). Then, it is determined whether or not the processing of all the segments on this page has been completed (step S2). If all segments have not been processed, image data is developed from the intermediate language of this segment (step S3). Further, the decompressed image data is compressed (step S4). Then, the size of the compressed image data is added to the compressed data size, and the processing of the next segment is performed, so that the processing returns to step S2. On the other hand, when all the segments have been processed in step S2, the compressed data size is set at the head of the compressed image data 902 for one page, and the compressed data size is written in the spool file 402.
[0052]
FIG. 17 is a flowchart illustrating a printing processing procedure in the printer controller 212 in the printing apparatus 101. This processing program is stored in the ROM 1303 in the printer controller 212 and is executed by the CPU 1302. First, the printer controller 212 in the printing apparatus 101 waits for data input from the host computer 100 (step S11). If there is any input, the input data is analyzed (step S12).
[0053]
If the input data is document start information 1001 as a result of the analysis, a print start process is performed (step S13), and the process returns to step S11 to receive the next input data. On the other hand, if the input data is information (print data) 1002 for each page, a print process is performed (step S14), and the process returns to step S11 to receive the next input data. Details of this printing process will be described later. On the other hand, if the input data is the document end information 1005, a print end process is performed (step S15), and the process returns to step S11 to receive the next input data. If the input data is other, the process returns to step S11 to receive the next input data without performing any processing.
[0054]
FIG. 18 is a flowchart showing the print processing procedure in step S14. First, it waits for input of print data from the host computer 100 (step S21). If there is any input, the input data is analyzed (step S22). If the input data is page start information 1003 as a result of the analysis, a page start process is performed (step S23), and the process returns to step S21 to receive the next input data. On the other hand, when the input data is the compressed image data 902, the printing process is performed (step S24), and the process returns to the process of step S21 to receive the next input data. Details of this printing process will be described later. On the other hand, if the input data is page end information 1004, page end processing is performed (step S25), and this processing ends. If the input data is other, the process returns to step S21 without doing anything.
[0055]
FIG. 19 is a flowchart showing the print processing procedure in step S24. First, the compressed data size set at the head of the compressed image data 902 is referred to, and the size of the compressed image data is compared with the maximum transferable size (step S31). If the size of the compressed image data is smaller than the maximum transferable size, the process proceeds to step S34.
[0056]
On the other hand, if the size of the compressed image data is larger than the maximum transferable size, the difference between the compressed image data size and the maximum transferable size is calculated (step S32). The compressed image data is read in advance in the reception buffer (BUFFER) by the calculated difference (step S33). After this reading is completed, the printer engine 214 is activated to start paper feeding (step S34).
[0057]
Further, while the remaining compressed image data is transferred to the reception buffer, the compressed image data is decompressed and the decompressed image data is transferred to the printer engine 214, and the processing of the compressed image data for one page is completed. This process is terminated.
[0058]
As described above, according to the present exemplary embodiment, only the difference between the size of the compressed image data and the maximum transferable size is transferred in advance, so that even if the reception buffer in the printing apparatus 101 has a small capacity, printing is lost. It is possible to perform printing processing from the host computer 100 while maintaining high printing performance without causing it.
[0059]
The above is the description of the embodiments of the present invention. However, the present invention is not limited to the configurations of these embodiments, and the functions shown in the claims or the functions of the configurations of the embodiments are included. Any configuration that can be achieved is applicable.
[0060]
For example, in the above-described embodiment, the case where the printing apparatus is a laser beam printer has been described. Nor. Further, although an electrophotographic process type printing apparatus has been shown as a printing mechanism, the present invention is applicable to any printing mechanism that performs printing processing in units of pages regardless of the printing mechanism. It is also effective for printing mechanisms (inkjet, serial, thermal transfer, etc.).
[0061]
It goes without saying that the present invention can also be applied to a case where the present invention is achieved by supplying software program codes for realizing the functions of the above-described embodiments to a system or apparatus. In this case, the program code itself realizes the novel function of the present invention, and the program itself and the storage medium storing the program constitute the present invention.
[0062]
In the above embodiment, the program codes shown in the flowcharts of FIGS. 17, 18, and 19 are stored in the ROM that is a storage medium. The storage medium for supplying the program code is not limited to the ROM, and for example, a flexible disk, a hard disk, a CD-ROM, a CD-R, a DVD, a magnetic tape, a nonvolatile memory card, or the like can be used.
[0063]
【The invention's effect】
According to the present invention, even if the memory in the printing apparatus has a small capacity, printing processing from the host computer can be performed while maintaining high printing performance without causing printing loss.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a functional configuration of a printing system according to an embodiment.
FIG. 2 is a diagram illustrating an operation of each functional unit in the printing system.
FIG. 3 is a diagram illustrating a state (status) of the printing apparatus displayed on the screen of the host computer 100 by the screen display / operation control unit 210;
4 is a diagram illustrating a state (status) of a printing apparatus displayed on the screen of the host computer 100 by the screen display / operation control unit 210. FIG.
FIG. 5 is a diagram illustrating a state (status) of the printing apparatus displayed on the screen of the host computer 100 by the screen display / operation control unit 210;
6 is a diagram showing an intermediate language generation operation on the host computer 100. FIG.
FIG. 7 is a diagram illustrating an outline of a printing process.
FIG. 8 is a diagram illustrating decompression / compression processing;
FIG. 9 is a diagram showing a format of a spool file 402;
FIG. 10 is a diagram illustrating a relationship between compressed image data for one page and a maximum transferable size.
FIG. 11 is a diagram illustrating a relationship between compressed image data for one page and a maximum transferable size.
FIG. 12 is a diagram illustrating a relationship between compressed image data for one page and a maximum transferable size.
13 is a diagram showing a specific configuration of the printing apparatus 101. FIG.
14 is a perspective view showing a configuration of an electrophotographic process / paper transport system 1107. FIG.
15 is a diagram showing a configuration of a printer controller 212. FIG.
FIG. 16 is a flowchart showing a print image data expansion / compression processing procedure and a compression data size calculation processing procedure for one page in the host computer 100;
FIG. 17 is a flowchart illustrating a print processing procedure in the printer controller 212 in the printing apparatus 101.
FIG. 18 is a flowchart illustrating a printing processing procedure in step S14.
FIG. 19 is a flowchart illustrating a printing processing procedure in step S24.
[Explanation of symbols]
100 Host computer
101 Printing device
110 Printing mechanism
212 Printer controller
402 Spool file
902 Compressed image data
1302 CPU
1303 ROM

Claims (2)

頁単位の印刷データを受信してメモリに記憶し、記録媒体の給送を開始し、前記メモリに記憶された印刷データを前記給送された記録媒体に印刷する印刷装置において、
各セグメント単位に圧縮され、圧縮後の1頁分のサイズが先頭に付加された印刷データを受信する受信手段と、
前記受信手段で受信された印刷データの先頭に付加された圧縮後の1頁分のサイズを取得する取得手段と、
該取得した圧縮後の1頁分のサイズと、該印刷装置の用紙搬送時間内で転送できる圧縮された印刷データのサイズを示す最大転送可能サイズを比較する比較手段と、
前記比較手段による比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより小さい場合に、印刷データのデータ部の受信に応じて前記記録媒体の給送開始を行い、一方、前記比較手段による比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより大きい場合に、前記圧縮後ののサイズと前記最大転送可能サイズの差分を算出し、算出された差分だけ圧縮後の印刷データを読み込み、読み込み終了後に前記記録媒体の給送開始を行う給送開始時期決定手段とを備えたことを特徴とする印刷装置。
In a printing apparatus that receives print data in page units and stores it in a memory, starts feeding a recording medium, and prints the printing data stored in the memory on the fed recording medium,
Receiving means for receiving print data that is compressed in units of segments and the size of one page after compression is added to the head;
Acquisition means for acquiring one page size after compression, which is added to the head of the print data received by said receiving means,
Comparing means for comparing the size of one page after compression that the acquired, the maximum transferable size indicating the size of the compressed print data can be transferred in the sheet conveyance time of the printing apparatus,
When one page size after compression that the acquired by the comparison result by the comparing means is smaller than the maximum transferable size, it performs feeding start of the recording medium in response to the reception of the data portion of print data, on the other hand, if the acquired size of one page is greater than the maximum transferable size after compression by the comparison result by the comparison means, the difference between the size of one page after the compression and the maximum transferable size And a feeding start time determining means for reading the compressed print data by the calculated difference and starting feeding of the recording medium after the reading is completed.
頁単位の印刷データを受信してメモリに記憶し、記録媒体の給送を開始し、前記メモリに記憶された印刷データを前記給送された記録媒体に印刷する印刷装置の印刷制御方法において、
前記印刷装置の受信手段が、各セグメント単位に圧縮され、圧縮後の1頁分のサイズが先頭に付加された印刷データを受信する受信工程と、
前記印刷装置の取得手段が、前記受信工程で受信された印刷データの先頭に付加された圧縮後の1頁分のサイズを取得する取得工程と、
前記印刷装置の比較手段が、該取得した圧縮後の1頁分のサイズと、該印刷装置の用紙搬送時間内で転送できる圧縮された印刷データのサイズを示す最大転送可能サイズを比較する比較工程と、
前記印刷装置の給送開始時期決定手段が、前記比較工程での比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより小さい場合に、印刷データのデータ部の受信に応じて前記記録媒体の給送開始を行い、一方、前記比較工程での比較結果により前記取得した圧縮後の1頁分のサイズが前記最大転送可能サイズより大きい場合に、前記圧縮後ののサイズと前記最大転送可能サイズの差分を算出し、算出された差分だけ圧縮後の印刷データを読み込み、読み込み終了後に前記記録媒体の給送開始を行う給送開始時期決定工程とを有することを特徴とする印刷装置の印刷制御方法。
In a printing control method for a printing apparatus that receives print data in units of pages, stores the print data in a memory, starts feeding a recording medium, and prints the print data stored in the memory on the fed recording medium.
A receiving step in which the receiving unit of the printing apparatus receives print data that is compressed in units of segments and the size of one page after compression is added to the head;
Acquisition means of the printing apparatus, an acquisition step of acquiring one page size after compression, which is added to the head of the print data received in said receiving step,
Comparing the comparison means of the printing apparatus, to compare the size of one page after compression that the acquired, the maximum transferable size indicating the size of the compressed print data can be transferred in the sheet conveyance time of the printing device Process,
The feeding start timing determining means of the printing apparatus, when the size of one page after compression that the acquired comparison result in said comparing step is less than the maximum transferable size, the reception of the data portion of the print data performs feeding start of the recording medium in accordance with, on the other hand, one page of the size after compression that the acquired comparison result in said comparison step if the maximum transferable larger size after the compression calculates a one page size and the difference between the maximum transferable size, only the calculated difference reads print data after compression, and feeding start timing determining step performs feeding start of the recording medium after reading completion A printing control method for a printing apparatus, comprising:
JP2001392256A 2001-12-25 2001-12-25 Printing apparatus and printing control method therefor Expired - Fee Related JP4095296B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001392256A JP4095296B2 (en) 2001-12-25 2001-12-25 Printing apparatus and printing control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001392256A JP4095296B2 (en) 2001-12-25 2001-12-25 Printing apparatus and printing control method therefor

Publications (2)

Publication Number Publication Date
JP2003191572A JP2003191572A (en) 2003-07-09
JP4095296B2 true JP4095296B2 (en) 2008-06-04

Family

ID=27599634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001392256A Expired - Fee Related JP4095296B2 (en) 2001-12-25 2001-12-25 Printing apparatus and printing control method therefor

Country Status (1)

Country Link
JP (1) JP4095296B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8155436B2 (en) 2008-03-31 2012-04-10 Konica Minolta Laboratory U.S.A., Inc. Systems and methods for color data compression

Also Published As

Publication number Publication date
JP2003191572A (en) 2003-07-09

Similar Documents

Publication Publication Date Title
JP5038229B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium for recording the same
JP4343461B2 (en) Printing apparatus and control method thereof
JP4174476B2 (en) Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system
JP4532993B2 (en) Printing system and control method thereof, printing method, host device, and printer
JP3154393B2 (en) Information processing apparatus and information processing method
JP4095296B2 (en) Printing apparatus and printing control method therefor
US8134723B2 (en) Information processing apparatus, and method discriminating between sheet feed from cassette and manual port, and image transfer based thereon
US6701384B1 (en) Image output method and system with a function to change a received print condition
JP2007130850A (en) Image forming apparatus, its control method, and program
US7630096B2 (en) Image processing apparatus, image processing method, image forming apparatus, image forming method, computer program and computer-readable storage medium
JP4337220B2 (en) Image recording device
JP2002152488A (en) Spool data generating device and method, and recording medium
JP2001325086A (en) Print controller, data-storing method and storage medium
JP2003256177A (en) Image forming system, control method of image forming system, storage medium and program
JP2000305925A (en) Method and device for print control and storage medium
JP3902853B2 (en) Data processing apparatus, data processing method, and storage medium
JPH09218758A (en) Image forming method and device therefor
JP2003330649A (en) Print control system
JP2001142659A (en) Device and method for information processing and printing method
JP2006195604A (en) Data processor, printer, print system, data processing method, computer-readable storage medium storing program, and program
JP2003341152A (en) Printing controlling unit, printing controlling method, printing system, and program
JP2004082401A (en) Printer, print system, control method of printer, control program of printer and recording medium
JP2000078416A (en) Device and method for processing image
JP2000187567A (en) Method and device for printing control
JPH10177462A (en) Page printer controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060406

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061024

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061221

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080131

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080307

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees