JP2004334489A - Printer and printing control device - Google Patents
Printer and printing control device Download PDFInfo
- Publication number
- JP2004334489A JP2004334489A JP2003128977A JP2003128977A JP2004334489A JP 2004334489 A JP2004334489 A JP 2004334489A JP 2003128977 A JP2003128977 A JP 2003128977A JP 2003128977 A JP2003128977 A JP 2003128977A JP 2004334489 A JP2004334489 A JP 2004334489A
- Authority
- JP
- Japan
- Prior art keywords
- image
- request
- print data
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、プリンタにおける印刷速度向上の技術に関するものである。
【0002】
【従来の技術】
プリンタにおける印刷速度を向上する技術としては、プリンタに、主制御部のスレーブとして動作するアクセラレータを設け、アクセラレータに印刷データの画像へのレンダリング(ラスタライズ)を行わせることにより、印刷速度を向上する技術が知られている(たとえば、特開2002−211050号公報)。
【0003】
図6に、このようなアクセラレータを備えたプリンタの一構成例を示す。
図示するように、このプリンタ1は、それぞれ、適当なインタフェースを介して接続されたプリンタコントローラ11と、アクセラレータ12と、用紙の給排紙や用紙上への画像形成を行うプリントエンジン13を備えている。
また、プリンタコントローラ11は、ホスト装置2から印刷データとしてPDLデータ(ページ記述言語データ)の受信を行うデータ送受信部111と、プリンタ1における印刷ジョブを統括するジョブコントローラ112と、メモリ113と、プリントエンジン13における実際の用紙上への印刷動作を制御するエンジン制御部114とを有する。
【0004】
そして、アクセラレータ12は、PDLデータの解析や画像へのレンダリングなどのPDLデータの処理を担うPDL処理部121と、アクセラレータメモリ122とを備えている。
次に、図7は、このようなプリンタ1における印刷シーケンス例を示すものである。
さて、データ送受信部111は、ホスト装置2からPDLデータを受信するとメモリ113に格納し、印刷ジョブ発生をジョブコントローラ112に通知する。
印刷ジョブが発生すると、ジョブコントローラ112は、まず、アクセラレータ12のPDL処理部121にジョブ開始要求を発行する(701)。ジョブ開始要求を受けたPDL処理部121は、ジョブ処理可能な状態にあれば、ジョブコントローラ112にPDLデータ要求を発行する(702)。PDLデータ発行要求を受けたジョブコントローラ112は、メモリ113に格納されているPDLデータをアクセラレータメモリ122に転送し(703)、PDL解析要求をPDL処理部121に発行する(704)。
【0005】
PDL解析要求を受けたPDL処理部121は、アクセラレータメモリ122に格納されているPDLデータの解析を行い、所定の中間言語によるデータの作成を、たとえばアクセラレータメモリ122上に行い、中間言語データの作成の完了や作成の失敗を解析結果としてジョブコントローラ112に応答する(705)。
【0006】
ジョブコントローラ112は、中間言語データ作成の完了を示す解析結果応答を受け取ると、レンダリング要求をPDL処理部121に発行する(706)。ただし、PDL処理部121による解析結果の応答の送信から、ジョブコントローラ112によるレンダリング要求の送信までの間には、その時点での各種処理状況などに応じて比較的大きな遅延が生じることがある。
【0007】
レンダリング要求を受けたPDL処理部121は、先に作成した中間言語データが規定する画像をイメージデータとしてアクセラレータメモリ122上に展開し、展開した画像のイメージデータを、プリンタコントローラ11のメモリ113に転送する(707)。そして、転送の終了や転送の失敗を、ジョブコントローラ112に応答する(708)。
【0008】
応答を受けたジョブコントローラ112は、エンジン制御部114に、メモリ113にイメージデータが格納された画像のプリントエンジン13における印刷を行わせる。
この出願の発明に関連する先行技術文献情報としては以下のものがある。
【0009】
【特許文献1】
特開2002−211050号公報
【0010】
【発明が解決しようとする課題】
図6、7に示した従来のプリンタ1の動作によれば、図7より理解されるように、PDL処理部121がPDLデータの解析を行って解析結果応答をジョブコントローラ112に返した後、ジョブコントローラ112からPDL処理部121がレンダリング要求を受け取るまでの期間Tは、PDL処理部121にとってはジョブコントローラ112の処理完了待ち時間となっており、この期間、PDL処理部121は有意な処理を行っていない。
【0011】
したがって、このような処理待ち期間を有効利用することができれば、プリンタの印刷速度をより向上することができる。
そこで、本発明は、印刷ジョブ処理中におけるアクセラレータの処理待ち時間を有効利用することにより、プリンタの印刷速度を向上することを課題とする。
【0012】
【課題を解決するための手段】
前記課題達成のために、本発明は、ホスト装置から印刷データを受け入れ当該印刷データについての印刷動作を制御する主制御装置と、印刷データの解析及び画像への展開を行う印刷データ処理装置とを備えたプリンタにおいて、前記主制御装置に、前記印刷データ処理装置に印刷データの解析の要求を発行し、前記解析の要求の応答として前記印刷データ処理装置から得られた解析結果が、当該印刷データを当該プリンタで印刷可能であることを示す場合に、印刷データの画像への展開の要求を発行し、前記展開の要求の応答として提供された画像の印刷を制御する印刷動作制御部を備え、前記印刷データ処理装置に、前記解析の要求を前記印刷動作制御部より発行された場合に前記印刷データの解析を行い解析結果を前記解析の要求に対する応答として前記印刷動作制御部に提供する解析手段と、前記印刷動作制御部が発行する前記展開の要求の応答として当該印刷動作制御部に提供する画像の、前記解析を行った印刷データからの展開を行う画像展開手段とを備え、前記画像展開手段において、前記解析手段の前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を開始するようにしたものである。
【0013】
このようなプリンタによれば、印刷データ処理装置において、印刷データの解析後、即座に印刷データの展開を、主制御装置からの印刷データの画像への展開要求の発行に先行して開始することによって印刷データ処理部の待ち時間を有効利用することにより、画像への展開要求の発行を待ってから画像の展開を行う従来のプリンタに比べ、プリンタの印刷動作を高速化することができる。
【0014】
ここで、このようなプリンタにおいては、前記主制御装置に、バッファメモリと、先行転送処理部とをさらに備え、前記画像展開手段において、前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を行って、前記バッファメモリに展開した画像を転送するようにし、前記先行転送処理部において、前記印刷動作制御部より前記展開の要求が発行された場合に、当該展開の要求に対する応答として、前記バッファメモリに格納された画像を前記印刷動作制御部に提供するようにしてもよい。
【0015】
このようにすることにより、画像の展開に加え、画像の主制御装置への転送までの処理を、主制御装置からの印刷データの画像への展開要求の発行に先行して行うことができ、かつ、バッファメモリからの印刷動作制御部への画像の提供は、同装置内での処理であって高速に行うことができることより、プリンタの印刷動作をより高速化することができる。
【0016】
また、以上のプリンタにおいては、前記主制御装置に、前記印刷動作制御部に前記展開の要求の応答として提供される画像を格納するメモリと、バッファメモリと、先行転送処理部とを、さらに備え、前記画像展開手段において、前記解析手段の前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を行って、展開した画像のデータを、前記印刷動作制御部より前記展開の要求が発行されるまでは前記バッファメモリへ転送すると共に、前記バッファメモリへの画像データの転送完了前に前記印刷動作制御部より前記展開の要求が発行された場合には、以降、前記バッファメモリへ未転送の画像のデータを前記メモリ上の前記展開の要求で指定された領域に転送し、前記先行転送処理部において、前記印刷動作制御部より前記展開の要求が発行された場合に、バッファメモリに画像データが格納されている場合には、当該バッファメモリに格納された画像のデータを前記メモリ上の前記展開の要求で指定された領域内に転送するようにしてもよい。
【0017】
このようにすることにより、主制御装置からの印刷データの画像への展開要求の発行に先行して画像の転送を主制御装置のバッファメモリに対して行うことにより生じてしまうバッファメモリからメモリ上の指定領域へのデータ転送のオーバーヘッド量を低減することができる。
【0018】
【発明の実施の形態】
以下、本発明の実施形態について説明する。
図1に、本実施形態に係るプリンタ1の構成を示す。
図示するように、このプリンタ1は、それぞれ、適当なインタフェースを介して接続されたプリンタコントローラ11と、アクセラレータ12と、用紙の給排紙や用紙上への画像形成を行うプリントエンジン13を備えている。
また、プリンタコントローラ11は、ホスト装置2から印刷データとしてPDLデータ(ページ記述言語データ)の受信を行うデータ送受信部111と、プリンタ1における印刷ジョブを統括するジョブコントローラ112と、メモリ113と、プリントエンジン13における実際の用紙上への印刷動作を制御するエンジン制御部114と、マスタ側先行処理制御部115とを有する。
【0019】
そして、アクセラレータ12は、PDLデータの解析や画像へのレンダリングなどのPDLデータの処理を担うPDL処理部121と、アクセラレータメモリ122と、スレーブ側先行処理制御部123とを備えている。
すなわち、本実施形態に係るプリンタ1は、図6に示したプリンタ1において、プリンタコントローラ11にマスタ側先行処理制御部115を備え、アクセラレータ12側にスレーブ側先行処理制御部123とを備えた構成となっている。
なお、プリンタコントローラ11とアクセラレータ12は、たとえば、それぞれ別回路基盤上に構成されたCPU回路である。そして、プリンタコントローラ11とアクセラレータ12の各部は、CPU回路のプログラム実行によりプロセスや各プロセスが利用可能な記憶空間として、プリンタコントローラ11やアクセラレータ12上に実現されるものであってよいし、CPU回路内に組み込まれたCPUの周辺回路やLSIによって実現されるものであってもよい。また、プリンタコントローラ11とアクセラレータ12が別回路基盤上に構成されていることより、プリンタコントローラ11内のデータ転送やアクセラレータ12内のデータ転送は、プリンタコントローラ11とアクセラレータ12間のデータ転送よりも高速に行えるように構成されている。
【0020】
以下、このようなプリンタ1の印刷動作について説明する。
なお、ジョブコントローラ112とPDL処理部121間のデータの送受は、全てマスタ側先行処理制御部115とスレーブ側先行処理制御部123とを中継して行われる。
まず、第1の印刷動作例を示す。
図2に、本印刷動作例による動作シーケンスを示す。
データ送受信部111は、ホスト装置2からPDLデータを受信するとメモリ113に格納し、印刷ジョブ発生をジョブコントローラ112に通知する。
印刷ジョブが発生すると、ジョブコントローラ112は、まず、アクセラレータ12のPDL処理部121にジョブ開始要求を発行する(701)。ジョブ開始要求を受けたPDL処理部121は、ジョブ処理可能な状態にあれば、ジョブコントローラ112にPDLデータ要求を発行する(702)。PDLデータ発行要求を受けたジョブコントローラ112は、メモリ113に格納されているPDLデータをアクセラレータメモリ122に転送し(703)、PDL解析要求をPDL処理部121に発行する(704)。
【0021】
PDL解析要求を受けたPDL処理部121は、アクセラレータメモリ122に格納されているPDLデータの解析を行い、所定の中間言語によるデータの作成を、たとえばアクセラレータメモリ122上に行い、中間言語データの作成の完了や作成の失敗を解析結果としてジョブコントローラ112に応答する(705)。ここまでのシーケンスは、図7を用いて説明した従来のシーケンスと同様である。
【0022】
さて、このPDL処理部121からの、中間言語データ作成の完了を示す解析結果応答が発生すると、スレーブ側先行処理制御部123は、PDL処理部121に、アクセラレータメモリ122上へのレンダリング処理を求めるレンダリング要求を発行する(201)。レンダリング要求を受けたPDL処理部121は、先に作成しておいた中間言語データが規定する画像をイメージデータとしてアクセラレータメモリ122上に展開し、スレーブ側先行処理制御部123に応答を返す(203)。
【0023】
一方、ジョブコントローラ112は、中間言語データ作成の完了を示す解析結果応答を受け取ると、レンダリング要求をPDL処理部121に発行する(202)。ただし、PDL処理部121による解析結果の応答の送信から、ジョブコントローラ112によるレンダリング要求の送信までの間には、その時点での各種処理状況などに応じて比較的大きな遅延が生じることがある。
【0024】
スレーブ側先行処理制御部123は、このレンダリング要求をトラップし、その時点でPDL処理部121から応答(203)が返されていれば即座に、その時点でPDL処理部121から応答が返されていなければ応答(203)が返されるのを待ってから、アクセラレータ12上に展開された画像のイメージデータをプリンタコントローラ11のメモリ113に転送する(204)。そして、転送が完了したならば、応答をジョブコントローラ112に返す(205)。
【0025】
応答を受けたジョブコントローラ112は、エンジン制御部114に、メモリ113に格納された画像のプリントエンジン13における印刷を行わせる。
なお、スレーブ側先行処理制御部123は、ジョブコントローラ112から、レンダリング要求に代えてジョブキャンセル要求を受け取った場合には、イメージデータの転送は行わず、アクセラレータメモリ122のイメージデータが格納された領域の解放処理を行って、ジョブコントローラ112にキャンセル成功の応答を返し、そのまま、この印刷ジョブについての処理を終了する。
【0026】
以上のように、本第1の印刷動作例によれば、PDL処理部121に、PDLデータの解析結果応答後、即座にPDLデータの画像への展開を開始させることができるので、従来よりもプリンタ1の印刷動作速度を向上することができる。また、ジョブコントローラ112の処理に一切の変更が必要なく、PDL処理部121のレンダリング要求に対して行う処理をアクセラレータメモリ122に画像を展開するだけの処理に変更するたけで実現することができる。なお、本第1の印刷動作例においては、マスタ側先行処理制御部115は必ずしも必要ではない。
【0027】
さて、以上の第1の印刷動作例によれば、PDL処理部121による画像の展開終了前に、ジョブコントローラ112からのレンダリング要求が発行されない場合、PDL処理部121による画像の展開終了からレンダリング要求発行までの期間が空き時間となる。そこで、次に、第2の印刷動作例として、この空き時間を低減する印刷動作例を示す。
【0028】
図3に、本第2の印刷動作例における印刷動作のシーケンスを示す。
図示するように、PDL処理部121が解析結果をジョブコントローラ112に応答するまでのシーケンス(701−705)は、第1の印刷動作例と同様である。
さて、この解析結果の応答(705)が発生すると、マスタ側先行処理制御部115は、PDL処理部121に、プリンタコントローラ11のメモリ113上に確保したバッファ領域へのレンダリング処理を求めるレンダリング要求を発行する(301)。レンダリング要求を受けたPDL処理部121は、アクセラレータメモリ122に格納されているPDLデータを画像としてアクセラレータメモリ122上に展開し、展開した画像のイメージデータをプリンタコントローラ11のメモリ113上のバッファ領域に転送し(302)、応答を返す(303)。
【0029】
一方、ジョブコントローラ112は、中間言語データ作成の完了を示す解析結果応答を受け取ると、レンダリング要求をPDL処理部121に発行する(304)。ただし、PDL処理部121による解析結果の応答の送信から、ジョブコントローラ112によるレンダリング要求の送信までの間には、その時点での各種処理状況などに応じて比較的大きな遅延が生じることがある。
【0030】
マスタ側先行処理制御部115は、このレンダリング要求をトラップし、その時点でPDL処理部121から応答(303)が返されていれば即座に、その時点でPDL処理部121から応答(303)が返されていなければ応答が返されるのを待ってから、バッファ領域上に転送されたイメージデータを、レンダリング要求でジョブコントローラ112から指定されたメモリ113上の領域に転送する(305)。そして、転送が完了したならば、応答をジョブコントローラ112に返す(306)。
【0031】
応答を受けたジョブコントローラ112は、エンジン制御部114に、メモリ113のレンダリング要求で指定したイメージデータの領域に格納された画像のプリントエンジン13における印刷を行わせる。
なお、マスタ側先行処理制御部115は、ジョブコントローラ112から、レンダリング要求に代えてジョブキャンセル要求を受け取った場合には、バッファ領域の解放処理を行って、イメージデータの転送は行わず、ジョブコントローラ112にキャンセル成功の応答を返し、そのまま、この印刷ジョブについての処理を終了する。
【0032】
以上のように、本第2の印刷動作例によれば、ジョブコントローラ112からのレンダリング要求発行を待たずに、イメージデータのプリンタコントローラ11のメモリ113のバッファ領域への転送までの処理を行う。ここで、バッファ領域からジョブコントローラ112のレンダリング要求によって指定されたメモリ113の領域への転送は、プリンタコントローラ11内の転送であり、アクセラレータ12とプリンタコントローラ11間のデータ転送より高速に行うことができる。したがって、プリンタ1の印刷動作をより高速化することができる。また、ジョブコントローラ112の処理にも、PDL処理部121の処理にも、一切変更を加える必要がない。なお、本第2の印刷動作例においては、スレーブ側先行処理制御部123は必ずしも必要ではない。
【0033】
さて、以上の第2の印刷動作例によれば、PDL処理部121の、イメージデータのプリンタコントローラ11のメモリ113のバッファ領域への転送の完了前に、ジョブコントローラ112からレンダリング要求が発行された場合、その後もバッファ領域へイメージデータを転送することは効率的ではない。最終的にイメージデータを転送するメモリ113上の領域が既知であるにもかかわず、それと異なるバッファ領域に一旦イメージデータに転送し、その後に最終的なメモリ113上の領域にイメージデータを転送することになるためである。
【0034】
そこで、次に、第3の印刷動作例として、レンダリング要求発行後のイメージデータの転送の効率を向上することのできる印刷動作例を示す。
図4に、本第3の印刷動作例による印刷動作のシーケンスを示す。
図示するように、PDL処理部121が解析結果をジョブコントローラ112に応答するまでのシーケンス(701−705)は、第1の印刷動作例と同様である。
さて、この解析結果の応答(705)が発生すると、スレーブ側先行処理制御部123は、PDL処理部121に、アクセラレータメモリ122上へのレンダリング処理を求めるレンダリング要求を発行する(401)。レンダリング要求を受けたPDL処理部121は、アクセラレータメモリ122に格納されているPDLデータを画像としてアクセラレータメモリ122上に展開し、スレーブ側先行処理制御部123に応答を返す(402)。
【0035】
応答を受けた、スレーブ側先行処理制御部123は、アクセラレータメモリ122上に展開されたイメージデータを、所定データサイズのブロックに分割し、各ブロックを順次、ジョブコントローラ112からレンダリング要求が発行されるまで、プリンタコントローラ11のメモリ113上のバッファ領域へ転送する(403)。
【0036】
一方、ジョブコントローラ112は、中間言語データ作成の完了を示す解析結果応答を受け取ると、レンダリング要求をPDL処理部121に発行する(404)。
【0037】
スレーブ側先行処理制御部123は、このレンダリング要求をトラップし、イメージデータのブロックの転送先を、レンダリング要求でジョブコントローラ112から指定されたメモリ113上のイメージデータの領域内の、当該ブロックに対応する領域に切り替えた上で、以降のイメージデータのブロックの転送を行う(405)。そして、イメージデータの全てのブロックの転送が終了したならば、マスタ側先行処理制御部115に、転送の終了と、イメージデータのどのブロックまでバッファ領域に転送したかと、レンダリング要求でジョブコントローラ112から指定されたメモリ113上のイメージデータの領域とを通知する転送通知を発行する(406)。
【0038】
転送通知を受けたマスタ側先行処理制御部115は、転送通知に基づき、メモリ113のバッファ領域に転送されているイメージデータのブロックを、レンダリング要求でジョブコントローラ112が指定したメモリ113上のイメージデータの領域内の、当該ブロックに対応する領域に転送し(407)、応答をジョブコントローラ112に送る(408)。
【0039】
応答を受けたジョブコントローラ112は、エンジン制御部114に、メモリ113のレンダリング要求で指定したイメージデータの領域に格納された画像のプリントエンジン13における印刷を行わせる。
なお、スレーブ側先行処理制御部123は、ジョブコントローラ112から、レンダリング要求に代えてジョブキャンセル要求を受け取った場合には、その時点でまだブロックの転送を行っている場合には、イメージデータのブロックの転送を中止し、アクセラレータメモリ122のイメージデータが格納された領域の解放処理を行って、マスタ側先行処理制御部115にキャンセル通知を行い、そのまま、この印刷ジョブについての処理を終了する。一方、キャンセル通知を受けたマスタ側先行処理部は、バッファ領域の解放処理を行って、そのまま、ジョブコントローラ112にキャンセル成功の応答を返し、そのまま、この印刷ジョブについての処理を終了する。
【0040】
さて、このような第3の印刷動作例によれば、イメージデータの転送は、たとえば、図5に示すように行われる。
いま、イメージデータが5つのブロックに分割されてスレーブ側先行処理制御部123によって転送されるものとすると、まず、図5aのようにスレーブ側先行処理制御部123によってバッファ領域のB1にイメージデータの最初のブロックが転送される(403)。次に、図5bに示すようにスレーブ側先行処理制御部123がバッファ領域のB2にイメージデータの2番目のブロックの転送中に、ジョブコントローラ112からレンダリング要求(404)が発行されると、図5cに示すようにスレーブ側先行処理制御部123は、まず、バッファ領域のB2へのイメージデータの2番目のブロックの転送を完了させる(403)。
【0041】
そして、次のイメージデータの3番目のブロックからは、図5d、eに示すように、スレーブ側先行処理制御部123は、メモリ113上のレンダリング要求によって指定されたイメージデータの領域の、転送するブロック(3番目、4番目、5番目のブロック)に対応する領域M3、M4、M5に、ブロックを転送する(405)。
【0042】
そして、スレーブ側先行処理制御部123が全てのブロックの転送を終了し、転送通知をマスタ側先行処理制御部115に送ると(406)、これを受けたマスタ側先行処理制御部115は、図5fに示すように、バッファ領域のB1、B2に格納されているイメージデータの1番目と2番目のブロックを、メモリ113上のレンダリング要求によって指定されたイメージデータの領域の、1番目、2番目のブロックに対応する領域M1、M2に転送し(407)、応答をジョブコントローラ112に送る(408)。
【0043】
したがって、この例では、3番目、4番目、5番目のブロックをバッファ領域から、メモリ113上のレンダリング要求によって指定されたイメージデータの領域に転送する必要がなくなり、その分、前記第2の印刷動作例よりも、プリンタ1の印刷動作を高速化できることになる。また、この第3の印刷動作例は、ジョブコントローラ112の処理に一切の変更が必要なく、PDL処理部121のレンダリング要求に対して行う処理をアクセラレータメモリ122に画像を展開するだけの処理に変更するだけで実現することができる。
【0044】
以上、本発明の実施形態について説明した。
なお、図2、3、4に示した印刷動作のシーケンスは、複数のジョブについて平行して行われるものであってかまわない。また、マスタ側先行処理制御部115の処理のうち以上の印刷動作の高速化のメカニズムを損なわずにスレーブ側先行処理制御部123で行うことができるものはスレーブ側先行処理制御部123で行うようにしてもよく、スレーブ側先行処理制御部123の処理のうち以上の印刷動作の高速化の効果のメカニズムを損なわずにマスタ側先行処理制御部115で行うことができるものはマスタ側先行処理制御部115で行うようにしてもよい。また、スレーブ側先行処理制御部123の処理はPDL処理部121の処理として実現するようにしてもよく、マスタ側先行処理制御部115の処理はジョブコントローラ112の処理として実現するようにしてもかまわない。
【0045】
【発明の効果】
以上のように、本発明によれば、印刷ジョブ処理中におけるアクセラレータの処理待ち時間を先行処理に用いることにより、プリンタの印刷速度を向上することができる。
【図面の簡単な説明】
【図1】本発明の実施形態に係るプリンタの構成を示すブロック図である。
【図2】本発明の実施形態に係るプリンタの第1の印刷動作例による印刷動作を示すシーケンス図である。
【図3】本発明の実施形態に係るプリンタの第2の印刷動作例による印刷動作を示すシーケンス図である。
【図4】本発明の実施形態に係るプリンタの第3の印刷動作例による印刷動作を示すシーケンス図である。
【図5】本発明の実施形態に係るプリンタの第3の印刷動作例によるイメージデータの転送のようすを示す図である。
【図6】従来のプリンタの構成を示すブロック図である。
【図7】従来のプリンタの第1の印刷動作例による印刷動作を示すシーケンス図である。
【符号の説明】
1…プリンタ、2…ホスト装置、11…プリンタコントローラ、12…アクセラレータ、13…プリントエンジン、111…データ送受信部、112…ジョブコントローラ、113…メモリ、114…エンジン制御部、115…マスタ側先行処理制御部、121…PDL処理部、122…アクセラレータメモリ、123…スレーブ側先行処理制御部。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a technique for improving a printing speed in a printer.
[0002]
[Prior art]
As a technique for improving the printing speed in a printer, a technique for improving the printing speed by providing an accelerator that operates as a slave of a main control unit in the printer and causing the accelerator to render (rasterize) the print data to an image. Is known (for example, JP-A-2002-2111050).
[0003]
FIG. 6 shows a configuration example of a printer having such an accelerator.
As shown in FIG. 1, the
Further, the
[0004]
The
Next, FIG. 7 shows an example of a print sequence in such a
When the PDL data is received from the
When a print job occurs, the
[0005]
Upon receiving the PDL analysis request, the
[0006]
Upon receiving the analysis result response indicating the completion of the creation of the intermediate language data, the
[0007]
Upon receiving the rendering request, the
[0008]
The
Prior art document information related to the invention of this application includes the following.
[0009]
[Patent Document 1]
JP 2002-2111050 A
[0010]
[Problems to be solved by the invention]
According to the operation of the
[0011]
Therefore, if the processing waiting period can be effectively used, the printing speed of the printer can be further improved.
Therefore, an object of the present invention is to improve the printing speed of a printer by effectively utilizing the processing waiting time of an accelerator during print job processing.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a main control device that receives print data from a host device and controls a printing operation of the print data, and a print data processing device that analyzes the print data and expands the print data into an image. A printer that issues a request for analysis of print data to the print data processing device to the main control device, and the analysis result obtained from the print data processing device in response to the analysis request is the print data. When indicating that printing is possible with the printer, a print operation control unit that issues a request for developing print data into an image and controls printing of an image provided as a response to the development request, When the request for analysis is issued by the print operation control unit to the print data processing apparatus, the print data is analyzed, and the analysis result is compared with the request for analysis. Analyzing means for providing the print operation control unit as a response to the print operation control unit, and analyzing the image to be provided to the print operation control unit as a response to the development request issued by the print operation control unit, from the analyzed print data. Image developing means for performing development, wherein the image developing means waits for the issuance of the development request from the printing operation control unit after responding the result of the analysis to the printing operation control unit of the analyzing means. Instead, development of the analyzed print data into an image is started.
[0013]
According to such a printer, in the print data processing apparatus, after the analysis of the print data, the expansion of the print data is started immediately prior to the issuance of a request to expand the print data into an image from the main control device. By effectively utilizing the waiting time of the print data processing unit, the printing operation of the printer can be sped up as compared with a conventional printer which develops an image after waiting for the issuance of an image development request.
[0014]
Here, in such a printer, the main control device further includes a buffer memory and a preceding transfer processing unit, and in the image expansion unit, after a response of the result of the analysis to the printing operation control unit, Without waiting for the issuance of the request for expansion from the print operation control unit, the analyzed print data is expanded into an image, and the expanded image is transferred to the buffer memory, and the advance transfer is performed. In the processing unit, when the print operation control unit issues the expansion request, the image stored in the buffer memory may be provided to the print operation control unit as a response to the expansion request. Good.
[0015]
By doing so, in addition to the image development, processing up to the transfer of the image to the main control device can be performed prior to the issuance of a print data development request from the main control device to the image, In addition, the provision of the image from the buffer memory to the print operation control unit is a process in the same apparatus and can be performed at high speed, so that the print operation of the printer can be further accelerated.
[0016]
In the above-described printer, the main control device further includes a memory that stores an image provided as a response to the expansion request to the print operation control unit, a buffer memory, and a preceding transfer processing unit. The image developing means, after a response of the analysis result to the printing operation control unit of the analysis means, does not wait for issuance of the expansion request from the printing operation control unit, and performs the printing which has performed the analysis. The data is expanded to an image, and the expanded image data is transferred to the buffer memory until the print operation control unit issues the expansion request, and the image data is transferred to the buffer memory. If the print operation control unit issues the rasterization request before the completion, the image data not transferred to the buffer memory is transferred to the buffer memory. The image data is transferred to a designated area, and when the image data is stored in the buffer memory when the printing operation control unit issues the development request, the preceding transfer processing unit stores the image data in the buffer memory. The stored image data may be transferred to an area of the memory specified by the request for development.
[0017]
By doing so, the image is transferred to the buffer memory of the main control device prior to the issuance of a request to expand the print data from the main control device to the image. The overhead amount of data transfer to the designated area can be reduced.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described.
FIG. 1 shows a configuration of a
As shown in FIG. 1, the
Further, the
[0019]
The
That is, the
The
[0020]
Hereinafter, the printing operation of the
The transmission and reception of data between the
First, a first printing operation example will be described.
FIG. 2 shows an operation sequence according to the present printing operation example.
Upon receiving the PDL data from the
When a print job occurs, the
[0021]
Upon receiving the PDL analysis request, the
[0022]
When an analysis result response indicating completion of intermediate language data generation is generated from the
[0023]
On the other hand, when the
[0024]
The slave-side preceding
[0025]
The
When the slave-side preceding
[0026]
As described above, according to the first printing operation example, the
[0027]
According to the first printing operation example described above, when the rendering request from the
[0028]
FIG. 3 shows a sequence of a printing operation in the second printing operation example.
As illustrated, the sequence (701-705) until the
When the response (705) of the analysis result is generated, the master-side preceding
[0029]
On the other hand, when the
[0030]
The master-side preceding
[0031]
The
When the master-side preceding
[0032]
As described above, according to the second printing operation example, the processing up to the transfer of the image data to the buffer area of the
[0033]
According to the second example of the printing operation, the
[0034]
Therefore, next, as a third printing operation example, a printing operation example capable of improving the efficiency of image data transfer after the rendering request is issued will be described.
FIG. 4 shows a sequence of a printing operation according to the third printing operation example.
As illustrated, the sequence (701-705) until the
When the response (705) of the analysis result is generated, the slave-side preceding
[0035]
Upon receiving the response, the slave-side preceding
[0036]
On the other hand, when the
[0037]
The slave-side preceding
[0038]
Upon receiving the transfer notification, the master-side preceding
[0039]
The
When the slave-side preceding
[0040]
Now, according to the third printing operation example, the transfer of the image data is performed, for example, as shown in FIG.
Now, assuming that the image data is divided into five blocks and transferred by the slave-side preceding
[0041]
Then, from the third block of the next image data, as shown in FIGS. 5D and 5E, the slave-side preceding
[0042]
Then, when the slave-side preceding
[0043]
Therefore, in this example, it is not necessary to transfer the third, fourth, and fifth blocks from the buffer area to the area of the image data designated by the rendering request on the
[0044]
The embodiments of the present invention have been described above.
The sequence of the printing operation shown in FIGS. 2, 3, and 4 may be performed in parallel for a plurality of jobs. Further, among the processes of the master-side preceding
[0045]
【The invention's effect】
As described above, according to the present invention, the printing speed of the printer can be improved by using the processing waiting time of the accelerator during the print job processing for the preceding processing.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a printer according to an embodiment of the present invention.
FIG. 2 is a sequence diagram illustrating a printing operation according to a first printing operation example of the printer according to the embodiment of the present invention.
FIG. 3 is a sequence diagram illustrating a printing operation according to a second printing operation example of the printer according to the embodiment of the present invention.
FIG. 4 is a sequence diagram showing a printing operation according to a third printing operation example of the printer according to the embodiment of the present invention.
FIG. 5 is a diagram illustrating how image data is transferred according to a third printing operation example of the printer according to the embodiment of the present invention.
FIG. 6 is a block diagram illustrating a configuration of a conventional printer.
FIG. 7 is a sequence diagram showing a printing operation according to a first printing operation example of a conventional printer.
[Explanation of symbols]
DESCRIPTION OF
Claims (5)
前記主制御装置は、前記印刷データ処理装置に印刷データの解析の要求を発行し、前記解析の要求の応答として前記印刷データ処理装置から得られた解析結果が、当該印刷データを当該プリンタで印刷可能であることを示す場合に、印刷データの画像への展開の要求を発行し、前記展開の要求の応答として提供された画像の印刷を制御する印刷動作制御部を有し、
前記印刷データ処理装置は、前記解析の要求を前記印刷動作制御部より発行された場合に前記印刷データの解析を行い解析結果を前記解析の要求に対する応答として前記印刷動作制御部に提供する解析手段と、前記印刷動作制御部が発行する前記展開の要求の応答として当該印刷動作制御部に提供する画像の、前記解析を行った印刷データからの展開を行う画像展開手段とを有し、
前記画像展開手段は、前記解析手段の前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を開始することを特徴とするプリンタ。A printer comprising: a main control device that receives print data from a host device and controls a printing operation for the print data; and a print data processing device that analyzes the print data and develops the print data into an image.
The main controller issues a request for analysis of print data to the print data processing apparatus, and the analysis result obtained from the print data processing apparatus in response to the analysis request prints the print data on the printer. When indicating that it is possible, has a print operation control unit that issues a request to expand the print data to an image, and controls printing of the image provided as a response to the expansion request,
Analyzing means for analyzing the print data when the request for analysis is issued by the print operation control unit and providing an analysis result to the print operation control unit as a response to the request for analysis; And an image expansion unit that expands an image provided to the print operation control unit in response to the expansion request issued by the print operation control unit, from the analyzed print data,
The image developing unit, after responding to the printing operation control unit of the analysis unit with the result of the analysis, does not wait for the printing operation control unit to issue the expansion request, and performs the analysis on the print data. A printer that starts developing the image into an image.
前記主制御装置は、バッファメモリと、先行転送処理部とを有し、
前記画像展開手段は、前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を行って、前記バッファメモリに展開した画像を転送し、
前記先行転送処理部は、前記印刷動作制御部より前記展開の要求が発行された場合に、当該展開の要求に対する応答として、前記バッファメモリに格納された画像を前記印刷動作制御部に提供することを特徴とするプリンタ。The printer according to claim 1,
The main controller has a buffer memory and a preceding transfer processing unit,
After responding to the print operation control unit with the result of the analysis, the image expanding unit may convert the analyzed print data to an image without waiting for the print operation control unit to issue the expansion request. Performing the development, transferring the developed image to the buffer memory,
The preceding transfer processing unit, when the request for the development is issued from the printing operation control unit, provides the image stored in the buffer memory to the printing operation control unit as a response to the request for the development. A printer.
前記主制御装置は、前記印刷動作制御部に前記展開の要求の応答として提供される画像を格納するメモリと、バッファメモリと、先行転送処理部とを有し、
前記画像展開手段は、前記解析手段の前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を行って、展開した画像のデータを、前記印刷動作制御部より前記展開の要求が発行されるまでは前記バッファメモリへ転送すると共に、前記バッファメモリへの画像データの転送完了前に前記印刷動作制御部より前記展開の要求が発行された場合には、以降、前記バッファメモリへ未転送の画像のデータを前記メモリ上の前記展開の要求で指定された領域に転送し、
前記先行転送処理部は、前記印刷動作制御部より前記展開の要求が発行された場合に、バッファメモリに画像データが格納されている場合には、当該バッファメモリに格納された画像のデータを前記メモリ上の前記展開の要求で指定された領域内に転送することを特徴とするプリンタ。The printer according to claim 1,
The main controller has a memory that stores an image provided as a response to the expansion request to the print operation control unit, a buffer memory, and a preceding transfer processing unit,
The image developing unit, after responding to the printing operation control unit of the analysis unit with the result of the analysis, does not wait for the printing operation control unit to issue the expansion request, and performs the analysis on the print data. The data of the expanded image is transferred to the buffer memory until the request for expansion is issued from the printing operation control unit, and the transfer of the image data to the buffer memory is completed. If the print operation control unit previously issued the expansion request, thereafter, transfer the data of the image that has not been transferred to the buffer memory to the area specified by the expansion request on the memory,
The preceding transfer processing unit, when the image processing request is issued from the print operation control unit, if the image data is stored in the buffer memory, the image data stored in the buffer memory A printer, wherein the data is transferred to an area specified by the expansion request on a memory.
ホスト装置から印刷データを受け入れ当該印刷データについての印刷動作を制御する主制御装置と、印刷データの解析及び画像への展開を行う印刷データ処理装置とを備え、
前記主制御装置は、前記印刷データ処理装置に印刷データの解析の要求を発行し、前記解析の要求の応答として前記印刷データ処理装置から得られた解析結果が、当該印刷データを当該プリンタで印刷可能であることを示す場合に、印刷データの画像への展開の要求を発行し、前記展開の要求の応答として提供された画像のプリントエンジンにおける印刷を制御する印刷動作制御部を有し、
前記印刷データ処理装置は、前記解析の要求を前記印刷動作制御部より発行された場合に前記印刷データの解析を行い解析結果を前記解析の要求に対する応答として前記印刷動作制御部に提供する解析手段と、前記印刷動作制御部が発行する前記展開の要求の応答として当該印刷動作制御部に提供する画像の、前記解析を行った印刷データからの展開を行う画像展開手段とを有し、
前記画像展開手段は、前記解析手段の前記印刷動作制御部への前記解析の結果の応答後、前記印刷動作制御部よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を開始することを特徴とするプリンタの印刷制御装置。A print control device for controlling a printing operation of a printer,
A main control device that receives print data from the host device and controls a printing operation of the print data, and a print data processing device that analyzes the print data and develops the data into an image,
The main controller issues a request for analysis of print data to the print data processing apparatus, and the analysis result obtained from the print data processing apparatus in response to the analysis request prints the print data on the printer. When indicating that it is possible, has a print operation control unit that issues a request to expand the print data into an image, and controls printing in the print engine of the image provided as a response to the expansion request,
Analyzing means for analyzing the print data when the request for analysis is issued by the print operation control unit and providing an analysis result to the print operation control unit as a response to the request for analysis; And an image expansion unit that expands an image provided to the print operation control unit in response to the expansion request issued by the print operation control unit, from the analyzed print data,
The image developing unit, after responding to the printing operation control unit of the analysis unit with the result of the analysis, does not wait for the printing operation control unit to issue the expansion request, and performs the analysis on the print data. A print control device for a printer, which starts developing the image into an image.
前記主制御装置において、前記印刷データ処理装置に印刷データの解析の要求を発行するステップと、
前記印刷データ処理装置において、前記解析の要求を前記主制御装置より発行された場合に前記印刷データの解析を行い解析結果を前記解析の要求に対する応答として前記主制御装置に提供し、前記主制御装置よりの前記展開の要求の発行を待たずに、当該解析を行った印刷データの画像への展開を開始するステップと、
前記主制御装置において、前記解析の要求の応答として前記印刷データ処理装置から得られた解析結果が、当該印刷データを当該プリンタで印刷可能であることを示す場合に、印刷データの画像への展開の要求を発行するステップと、
前記印刷データ処理装置が展開した画像を、前記主制御装置が発行した前記画像への展開の要求の応答として、前記主制御装置に提供するステップと、
前記主制御装置において、前記展開の要求の応答として提供された画像の印刷を制御するステップとを有することを特徴とするプリンタの印刷動作制御方法。A method for controlling a printing operation of a printer including a main control device that receives print data from a host device and controls a printing operation of the printing data, and a print data processing device that analyzes the printing data and develops the image into an image And
In the main control device, issuing a request for analysis of print data to the print data processing device;
In the print data processing device, when the analysis request is issued from the main control device, the print data analysis device analyzes the print data and provides an analysis result to the main control device as a response to the analysis request. Starting the development of the analyzed print data into an image without waiting for the issuance of the development request from the device; and
In the main control device, if the analysis result obtained from the print data processing device in response to the analysis request indicates that the print data can be printed by the printer, the print data is developed into an image. Issuing a request for
Providing an image developed by the print data processing device to the main control device as a response to a request to develop the image issued by the main control device;
Controlling printing of an image provided as a response to the expansion request in the main controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003128977A JP2004334489A (en) | 2003-05-07 | 2003-05-07 | Printer and printing control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003128977A JP2004334489A (en) | 2003-05-07 | 2003-05-07 | Printer and printing control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004334489A true JP2004334489A (en) | 2004-11-25 |
Family
ID=33504956
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003128977A Pending JP2004334489A (en) | 2003-05-07 | 2003-05-07 | Printer and printing control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004334489A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006327125A (en) * | 2005-05-30 | 2006-12-07 | Brother Ind Ltd | Image forming apparatus |
JP2011056751A (en) * | 2009-09-09 | 2011-03-24 | Seiko Epson Corp | Printing system, printer, and pdl processing apparatus |
-
2003
- 2003-05-07 JP JP2003128977A patent/JP2004334489A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006327125A (en) * | 2005-05-30 | 2006-12-07 | Brother Ind Ltd | Image forming apparatus |
JP4639959B2 (en) * | 2005-05-30 | 2011-02-23 | ブラザー工業株式会社 | Image forming apparatus |
US8040550B2 (en) | 2005-05-30 | 2011-10-18 | Brother Kogyo Kabushiki Kaisha | Image forming apparatus with a ratio change of receive buffer in response to a cancellation instruction |
JP2011056751A (en) * | 2009-09-09 | 2011-03-24 | Seiko Epson Corp | Printing system, printer, and pdl processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9304897B2 (en) | Image data producing apparatus, image forming apparatus and computer readable medium | |
JP2009146251A (en) | Image processing device, and image forming system and program | |
JP2006067587A (en) | Method of monitoring and pipelining image forming job | |
JP2010000629A (en) | Printing control device, printer, and printing control program | |
JP2011098500A (en) | Image forming apparatus, control method for image forming apparatus, and program | |
JP5482238B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image forming method, and program | |
JP5268427B2 (en) | Image forming apparatus and image forming system | |
JP2003303068A (en) | Image output system, image output method, program and storage medium | |
JP2009214348A (en) | Image processing apparatus, image processing system and image processing program | |
JP2004334489A (en) | Printer and printing control device | |
JP3134539B2 (en) | Printer control device | |
JP3583879B2 (en) | Printer control device | |
JP2000339111A (en) | Print control method and its device | |
JP4325298B2 (en) | Printing control apparatus, printing apparatus, and printing control method | |
JP2981400B2 (en) | Printing apparatus and data processing method for printing apparatus | |
JP6068090B2 (en) | Image forming apparatus | |
JPH0844509A (en) | Print control method and print system | |
JP2000172477A (en) | Printer | |
JPH0971012A (en) | Device and method for processing image | |
JP2004074543A (en) | Method and apparatus for printing, and printing controller | |
JP2004255675A (en) | Printer and print control method | |
JP2012061687A (en) | Image forming system and method for plotting and developing printing data | |
JP2004086590A (en) | Image processing system | |
JP2002073301A (en) | Information processing system and method, printer device, and storage medium which stores computer readable program | |
JPH09218758A (en) | Image forming method and device therefor |