JP2005028730A - Image output system, image supply device, image output device and method for outputting image - Google Patents
Image output system, image supply device, image output device and method for outputting image Download PDFInfo
- Publication number
- JP2005028730A JP2005028730A JP2003196003A JP2003196003A JP2005028730A JP 2005028730 A JP2005028730 A JP 2005028730A JP 2003196003 A JP2003196003 A JP 2003196003A JP 2003196003 A JP2003196003 A JP 2003196003A JP 2005028730 A JP2005028730 A JP 2005028730A
- Authority
- JP
- Japan
- Prior art keywords
- image output
- image
- index
- request
- control command
- 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.)
- Withdrawn
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、画像供給装置から画像出力装置へ、画像出力に係る制御コマンドおよび画像データファイルを供給し、画像出力装置により制御コマンドに従ってその画像データファイルに基づく画像を出力する画像出力システムおよび画像出力方法、並びにそれらに使用される画像供給装置および画像出力装置に関するものである。
【0002】
【従来の技術】
従来の画像出力装置の一種である印刷装置には、インデックス印刷が可能なものがある(例えば特許文献1,2参照)。
【0003】
インデックス印刷では、印刷装置側で予め定められた2次元配列(例えば、4コマ×5コマ、8コマ×10コマ)で1枚の印刷用紙に複数のサムネイル画像が印刷される。
【0004】
【特許文献1】
特開2001−88399号公報(段落0006〜0008)
【特許文献2】
特開2001−88389号公報(段落0006〜0008)
【0005】
【発明が解決しようとする課題】
近年、パーソナルコンピュータなどを介さずに、デジタルカメラとプリンタとを直接接続し、デジタルカメラに格納された画像データファイルをプリンタに転送し、プリンタによりその画像データファイルから印刷制御データを生成し画像を印刷する、いわゆるダイレクト印刷システムが開発されている。
【0006】
このようなダイレクト印刷システムにおいてインデックス印刷を実行しようとした場合、デジタルカメラにより、インデックス印刷の対象となる複数の画像についての複数の画像データファイルが印刷要求コマンドにおいて指定されることとなる。
【0007】
しかしながら、ダイレクト印刷システムにおいて使用されるプリンタなどのような画像出力装置では、ダイレクト印刷のための制御情報(制御コマンド、その応答、機器またはジョブの状態通知など)の送受信に使用されるメモリ領域が予め一定量に確保されているため、インデックス印刷といったインデックス画像出力において多数の画像データファイルが1つの画像出力要求コマンドにおいて指定されると、画像出力要求コマンドのデータ量が大きくなり、プリンタなどの画像出力装置では、画像出力要求コマンドを完全に受信しきれない可能性があるという問題がある。この問題は、画像出力要求コマンドがテキストデータで記述される場合には、特に顕著となる。
【0008】
本発明は、上記の問題に鑑みてなされたものであり、画像出力装置により、インデックス画像出力に係る画像出力要求コマンドなどの制御コマンドを確実に受信し、インデックス画像出力などの画像出力を正確に実行することができる画像出力システムおよび画像出力方法、並びに、その画像出力システムおよび画像出力方法に使用される画像供給装置および画像出力装置を得ることを目的とする。
【0009】
【課題を解決するための手段】
上記の課題を解決するために、本発明の画像出力システムは、インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力する画像出力装置と、画像出力装置へ、インデックス画像出力の画像出力要求、およびその画像出力要求により指定された複数の画像データファイルを供給する画像供給装置とを備える画像出力システムである。そして、その画像供給装置および画像出力装置は、次の特徴を有する。
【0010】
画像供給装置は、インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成する画像出力要求生成手段と、画像出力要求生成手段により生成された複数の画像出力要求を順番に画像出力装置へ送信し、また、画像データファイルを画像出力装置へ送信する送信手段とを有する。
【0011】
画像出力装置は、画像出力要求および画像データファイルを受信する受信手段と、画像データファイルに基づき出力領域に画像を出力する画像出力手段と、画像出力手段を制御し、受信手段によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して画像出力手段により出力領域におけるインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像出力手段によりインデックス画像出力を実行させる制御手段とを有する。
【0012】
この画像出力システムを利用すると、画像出力装置により、インデックス画像出力に係る画像出力要求コマンドを確実に受信し、インデックス画像出力を正確に実行することができる。
【0013】
本発明の画像供給装置は、インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力させるためのインデックス画像出力の画像出力要求を画像出力装置へ送信する画像供給装置であって、インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成する画像出力要求生成手段と、画像出力要求生成手段により生成された画像出力要求を順番に画像出力装置へ送信し、また、画像データファイルを画像出力装置へ送信する送信手段とを備える。
【0014】
この画像供給装置を利用すると、画像出力要求の送信先である画像出力装置により、インデックス画像出力に係る画像出力要求コマンドが確実に受信され、インデックス画像出力が正確に実行される。
【0015】
さらに、本発明の画像供給装置は、上記発明の画像供給装置に加え、送信手段が、画像出力装置が次の画像出力要求を受付可能となった後で、同一のインデックス画像出力の後続の画像出力要求を送信するようにしたものである。
【0016】
この画像供給装置を利用すると、一連のインデックス画像出力について、分割された複数の画像出力要求コマンドが画像出力装置により確実に受信される。
【0017】
さらに、本発明の画像供給装置は、上記発明の画像供給装置のいずれかに加え、複数のインデックス画像出力を行う場合、送信手段が、インデックス画像出力の画像出力要求を送信し、画像出力装置による画像出力が完了して画像出力装置がアイドル状態になった後で、次のインデックス画像出力のための画像出力要求を送信するようにしたものである。
【0018】
この画像供給装置を利用すると、一連のインデックス画像出力とは別の一連のインデックス画像出力を新たに実行させる場合、新たな一連のインデックス画像出力が先の一連のインデックス画像出力の続きとしてインデックス画像出力されずに済む。
【0019】
さらに、本発明の画像供給装置は、上記発明の画像供給装置のいずれかに加え、送信手段が、画像出力要求をテキストデータとして送信するようにしたものである。
【0020】
バイナリデータよりデータ量が大きくなるテキストデータの画像出力要求を使用しても、上記画像供給装置を利用すると、上述の効果が得られる。
【0021】
本発明の画像出力装置は、複数の画像データファイルを受信し、インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力する画像出力装置であって、画像データファイルを供給する画像供給装置から画像出力要求およびその画像データファイルを受信する受信手段と、画像データファイルに基づき出力領域に画像を出力する画像出力手段と、画像出力手段を制御し、受信手段によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して画像出力手段により出力領域にインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像出力手段によりインデックス画像出力を実行させる制御手段とを備える。
【0022】
この画像出力装置を利用すると、画像供給装置から、インデックス画像出力に係る画像出力要求コマンドを確実に受信し、インデックス画像出力を正確に実行することができる。
【0023】
さらに、本発明の画像出力装置は、上記発明の画像出力装置に加え、制御手段が、所定のタイミングで次の画像出力要求を受付可能であることを示す通知を画像供給装置へ送信し、そのタイミングから所定の時間が経過するまでにインデックス画像出力の後続の画像出力要求が受信された場合にのみ、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像出力手段によりインデックス画像出力を実行させるようにしたものである。
【0024】
この画像出力装置を利用すると、ある画像出力要求の次の画像出力要求が、一連のインデックス画像出力についてのものか否かが、次の画像出力要求の到着までの経過時間で判断され、一連のインデックス画像出力の完了を正確に把握することができ、インデックス画像出力および次の画像出力を正確に実行することができる。
【0025】
さらに、本発明の画像出力装置は、上記発明の画像出力装置のいずれかに加え、受信手段により受信された画像出力要求を記憶する記憶手段と、記憶手段により記憶された画像出力要求を解釈する要求解釈手段とを備える。そして、制御手段は、要求解釈手段による画像出力要求の解釈が完了すると、次の画像出力要求を受付可能であることを示す通知を画像供給装置へ送信する。
【0026】
この画像出力装置を利用すると、一連のインデックス画像出力についての次の画像出力要求をより早く画像供給装置から取得することができ、一連のインデックス画像出力に要する時間を短くすることができる。特に、この画像出力装置が画像出力要求のためのキュー(待ち行列)の手段を有さない場合でも、先の画像出力要求についての画像出力処理が完了する前に、上記通知を送信することで、先の画像出力要求に続いてすぐに次の画像出力要求を解釈可能となる。
【0027】
さらに、本発明の画像出力装置は、上記発明の画像出力装置のいずれかに加え、画像出力手段および制御手段を次のようにしたものである。画像出力手段は、ある方向の一列ごとに画像を出力する。そして、制御手段は、インデックス画像出力の画像出力要求に従って出力したとすると画像の最終列に端数の画像が存在する場合、その最終列の1つ前の列まで画像を画像出力手段に出力させる。
【0028】
この画像出力装置を利用すると、例えば印刷装置のように、画像出力手段がある方向の一列ごとに画像を出力する場合でも、複数の画像出力要求により指定された一連のインデックス画像出力が、画像が途中で途切れることなく、継続して実行される。これにより、正確にインデックス画像出力を実行することができる。
【0029】
本発明の画像出力装置は、上記発明の画像出力装置のいずれかに加え、制御手段が、最終列の1つ前の列まで画像を画像出力手段に出力させた場合に、最終列における端数の画像と、後続の画像出力要求により指定された画像データファイルによる画像とにより、最終列の画像を画像出力手段に出力させるようにしたものである。
【0030】
この画像出力装置を利用すると、例えば印刷装置のように、画像出力手段がある方向の一列ごとに画像を出力する場合にも、複数の画像出力要求により指定された一連のインデックス画像出力を、画像が途中で途切れることなく、継続させることができる。これにより、正確にインデックス画像出力を実行することができる。
【0031】
さらに、本発明の画像出力装置は、上記発明の画像出力装置のいずれかに加え、制御手段が、所定のタイミングで次の画像出力要求を受付可能であることを示す通知を画像供給装置へ送信し、そのタイミングから所定の時間が経過するまでにインデックス画像出力の後続の画像出力要求が受信されない場合には、最終列の端数の画像を画像出力手段に出力させるようにしたものである。
【0032】
この画像出力装置を利用すると、例えば印刷装置のように、画像出力手段がある方向の一列ごとに画像を出力する場合にも、一連のインデックス画像出力の最終列の画像が確実に印刷される。これにより、正確にインデックス画像出力を実行することができる。
【0033】
さらに、本発明の画像出力装置は、上記発明の画像出力装置のいずれかに加え、受信手段および制御手段を次のようにしたものである。受信手段は、画像出力時に選択可能な機能を指定する画像出力条件を含む画像出力要求を受信する。そして、制御手段は、インデックス画像出力の画像出力要求の次にインデックス画像出力の画像出力要求を受信すると、これらの画像出力要求の画像出力条件が同一である場合にのみ、それらのうちの、後に受信された画像出力要求を、前に受信された画像出力要求の後続の画像出力要求であると判定し、同一の出力領域に対して、前に受信された画像出力要求についてのインデックス画像出力の続きから、その後続の画像出力要求に対応して画像出力手段によりインデックス画像出力を実行させる。
【0034】
この画像出力装置を利用すると、一連のインデックス画像出力の係る複数の画像出力要求が正確に識別され、正確にインデックス画像出力を実行することができる。
【0035】
さらに、本発明の画像出力装置は、上記発明の画像出力装置のいずれかに加え、受信手段が、テキストデータである画像出力要求を受信するようにしたものである。
【0036】
バイナリデータよりデータ量が大きくなるテキストデータの画像出力要求を使用しても、上記画像出力装置を利用すると、上述の効果が得られる。
【0037】
本発明の画像出力方法は、画像供給装置から画像出力装置へ、予め定められた2次元配列で所定の出力領域に複数の画像を出力するインデックス画像出力の画像出力要求、およびその画像出力要求により指定された複数の画像データファイルを転送し、画像出力装置によりインデックス画像出力を実行する画像出力方法であって、画像供給装置により、インデックス画像出力の対象となる画像の数に応じて、インデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成するステップと、画像供給装置により、生成した複数の画像出力要求を順番に画像出力装置へ送信するステップと、画像出力装置により、画像出力要求を受信するステップと、画像出力装置により、画像出力要求により指定された画像データファイルを画像供給装置から取得するステップと、画像出力装置によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して出力領域に画像データファイルに基づきインデックス画像出力を実行するステップと、画像出力装置によりインデックス画像出力の画像出力要求の後にそのインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像データファイルに基づきインデックス画像出力を実行するステップとを備える。
【0038】
この画像出力方法を利用すると、画像出力装置により、インデックス画像出力に係る画像出力要求コマンドを確実に受信し、インデックス画像出力を正確に実行することができる。
【0039】
本発明の画像出力システムは、テキストデータとされた画像出力に係る制御コマンドを受信し画像データファイルに基づき出力する画像出力装置と、上記画像出力装置へ、テキストデータの上記制御コマンドおよび画像データファイルを供給する画像供給装置とを備える画像出力システムである。そして、その画像供給装置および画像出力装置は、次の特徴を有する。
【0040】
画像供給装置は、テキストデータの制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入する制御コマンド生成手段と、制御コマンド生成手段により生成された複数の制御コマンドを順番に画像出力装置へ送信し、また、画像データファイルを画像出力装置へ送信する送信手段とを有する。
【0041】
画像出力装置は、制御コマンドおよび画像データファイルを受信する受信手段と、制御コマンドに従って画像データファイルに基づき画像を出力する画像出力手段と、受信手段により受信されたテキストデータの制御コマンド内に所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、画像出力手段の処理を、受信手段により後続の制御コマンドが受信されるまで停止させ、受信手段により後続の制御コマンドが受信されると、その後続の制御コマンドに基づいて画像出力を再開させる制御手段とを有する。
【0042】
この画像出力システムを利用すると、画像出力装置により、画像出力に係る制御コマンドを確実に受信し、その画像出力を正確に実行することができる。
【0043】
本発明の画像供給装置は、テキストデータとされた画像出力に係る制御コマンドを受信し画像データファイルに基づき出力する画像出力装置へ、テキストデータの制御コマンドおよび画像データファイルを供給する画像供給装置であって、テキストコマンドの制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入する制御コマンド生成手段と、制御コマンド生成手段により生成された複数の制御コマンドを順番に画像出力装置へ送信し、また、画像データファイルを画像出力装置へ送信する送信手段とを備える。
【0044】
この画像供給装置を利用すると、画像出力に係る制御コマンドの送信先となる画像出力装置により、制御コマンドが確実に受信され、その画像出力が正確に実行される。
【0045】
本発明の画像出力装置は、テキストデータとされた画像出力に係る制御コマンドを受信し画像データファイルに基づき出力する画像出力装置であって、制御コマンドおよび画像データファイルを受信する受信手段と、制御コマンドに従って画像データファイルに基づき画像を出力する画像出力手段と、受信手段により受信されたテキストデータの制御コマンド内に所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、画像出力手段の処理を、受信手段により後続の制御コマンドが受信されるまで停止させ、受信手段により後続の制御コマンドが受信されると、その後続の制御コマンドに基づいて画像出力を再開させる制御手段とを備える。
【0046】
この画像出力装置を利用すると、画像供給装置から、画像出力に係る制御コマンドを確実に受信し、その画像出力を正確に実行することができる。
【0047】
本発明の画像出力方法は、画像供給装置から画像出力装置へ、テキストデータとされた画像出力に係る制御コマンドおよび画像データファイルを転送し、画像出力装置により制御コマンドに従ってその画像データファイルに基づく画像を出力する画像出力方法であって、画像供給装置により、テキストデータの制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入するステップと、画像供給装置により、生成した複数の制御コマンドを順番に画像出力装置へ送信するステップと、画像出力装置により、制御コマンドを受信するステップと、画像供給装置により、画像データファイルを画像出力装置へ送信するステップと、画像出力装置により、画像データファイルを受信するステップと、画像出力装置により、制御コマンドに従って画像データファイルに基づく画像の出力を開始するステップと、画像出力装置において、受信したテキストデータの制御コマンド内に所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、画像出力の処理を、後続の制御コマンドが受信されるまで停止するステップと、画像出力装置において後続の制御コマンドが受信されると、その後続の制御コマンドに基づいて画像出力を再開するステップとを備える。
【0048】
この画像出力方法を利用すると、画像出力装置により、画像出力に係る制御コマンドを確実に受信し、その画像出力を正確に実行することができる。
【0049】
【発明の実施の形態】
以下、図に基づいて本発明の実施の形態を説明する。
【0050】
実施の形態1.
図1は、本発明の実施の形態1に係る画像出力システムの構成を示すブロック図である。図1において、画像供給装置1は、画像出力装置2へ、インデックス画像出力の画像出力要求、およびその画像出力要求により指定された複数の画像データファイルを供給する装置である。なお、インデックス画像出力とは、画像出力装置2において予め定められた2次元配列で所定の出力領域に複数の画像を出力することを指す。インデックス画像出力の一例としては、インデックス印刷がある。また、画像出力要求には、画像出力条件、および画像出力の対象となる画像の画像データファイルの指定が含まれる。画像出力条件とは、画像出力時に選択可能な機能を指定する記述部分である。例えば、印刷の場合には、印刷用紙のサイズの指定、印刷用紙の紙質の指定、印刷レイアウトの指定などが、画像出力条件となる。また、インデックス印刷の画像出力要求の場合には、画像出力条件に、レイアウトの指定として、インデックス画像出力である旨の指定が含まれる。
【0051】
この画像供給装置1の形態は、デジタルカメラ装置、画像を電子的に撮像する撮像装置を内蔵した各種電子機器などとすることができる。また、画像出力装置1の形態を、撮像装置を内蔵せずに、画像データファイルを格納する記録媒体を内蔵可能な電子機器としてもよい。これらの電子機器としては、上記の他、パーソナルコンピュータ、移動体電話機、PDA(Personal Digital Assistant)、音楽プレーヤ、テレビジョン受像機、ビデオ録画/再生装置、テレビジョン電話機、テレビビジョン会議装置などがある。また、画像供給装置1は、可搬性のある装置でもよいし、あまり可搬性のない装置でもよい。
【0052】
また、画像出力装置2は、通信路3を介して画像供給装置1に接続され、画像データファイルを供給され、インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力する装置である。画像出力装置2の形態は、プリンタ装置、プリンタ装置以外の、各種材質に画像を記録する装置や、画像を表示する表示装置、画像を投影する投影装置などとすることができる。
【0053】
また、通信路3は、有線または無線の通信路である。通信路3が有線である場合には、所定のインタフェースのケーブルとされ、通信路3が無線である場合には、無線リンクとされる。
【0054】
図2は、本発明の実施の形態1に係る画像出力システムにおける画像供給装置1の構成例を示すブロック図である。図2において、MPU11は、プログラムを実行し、プログラムに記述された処理を実行する演算処理装置である。MPU11には、外部のDRAM13より短時間でアクセス可能なSRAM(Static RAM)31が内蔵される。SRAM31は、キャッシュなどとして使用され、プログラムやデータを一時的に記憶する。また、ROM12は、プログラムおよびデータを予め記憶した不揮発性のメモリである。また、DRAM(Dynamic RAM)13は、プログラムを実行する際にそのプログラムおよびデータを一時的に記憶するメモリである。一般に、DRAM13には、SRAM31より低速であるが大容量であるものが使用される。
【0055】
また、記憶部14は、下記の画像出力制御処理を実行するプログラム41などのアプリケーションプログラム、複数の画像データファイル42などを格納する記録媒体である。記憶部14としては、例えば、データ書換可能な不揮発性メモリ、メモリカード、磁気記録媒体などが使用される。また、この記憶部14は、画像供給装置1に着脱可能なものでもよい。画像データファイル42は、JPEG(Joint Photographic Experts Group)、EXIF(EXchangeable Image File format)などといった画像データ形式で記憶されたデータファイルである。
【0056】
また、通信回路15は、バス20に接続された、パーソナルコンピュータ用周辺機器のインタフェース、ネットワークインタフェースカード、モデムなどといった回路である。通信路3が有線である場合には、この通信回路15には、その通信路3のケーブルが接続される。通信路3が無線である場合には、この通信回路15は、無線機、無線LANカード、移動体電話機のベースバンド部分などとされる。なお、通信回路15としては、例えば、USB(Universal Serial Bus)インタフェースが使用される。
【0057】
また、インタフェース17は、バス20に接続され、キーボード、マウス、筐体に設けられたスイッチ、ダイヤルなどといった入力装置16を接続可能なインタフェース回路である。
【0058】
また、画像処理回路19は、バス20に接続され、画像データを書き込まれると、そのデータに対応する画像信号を出力する回路である。この画像処理回路19には、その画像信号に基づいて画像を表示する表示装置18が接続可能である。表示装置18としては、例えば、筐体に設けられた液晶ディスプレイなどが使用される。
【0059】
バス20は、MPU11、ROM12、DRAM13、記憶部14、通信回路15、インタフェース17、および画像処理回路19を相互に接続する信号路である。なお、バス20の本数、およびMPU11などのバス20への接続形態は、図2のものに限定されるものではない。
【0060】
図3は、本発明の実施の形態1に係る画像出力システムにおける画像出力装置2の構成例を示すブロック図である。図3において、MPU51は、プログラムを実行し、プログラムに記述された処理を実行する演算処理装置である。MPU51には、外部のDRAM53より短時間でアクセス可能なSRAM61が内蔵される。SRAM61は、キャッシュなどとして使用され、プログラムやデータを一時的に記憶する。また、ROM52は、プログラムおよびデータを予め記憶した不揮発性のメモリである。また、DRAM53は、プログラムを実行する際にそのプログラムおよびデータを一時的に記憶するメモリである。一般に、DRAM53には、SRAM61より低速であるが大容量であるものが使用される。
【0061】
また、記憶部54は、下記の画像出力制御処理を実行するプログラム71などのアプリケーションプログラムなどを格納する記録媒体である。記憶部54としては、例えば、データ書換可能な不揮発性メモリなどが使用される。
【0062】
また、通信回路55は、バス59に接続された、パーソナルコンピュータ用周辺機器のインタフェース、ネットワークインタフェースカード、モデムなどといった回路である。通信路3が有線である場合には、この通信回路55には、その通信路3のケーブルが接続される。通信路3が無線である場合には、この通信回路55は、無線機、無線LANカード、移動体電話機のベースバンド部分などとされる。なお、通信回路55としては、例えば、USBインタフェースが使用される。
【0063】
また、インタフェース57は、バス59に接続され、筐体に設けられたスイッチ、ダイヤルなどといった入力装置56を接続可能なインタフェース回路である。
【0064】
また、画像出力部58は、バス59に接続され、画像出力制御データを供給され、その画像出力制御データに基づき画像を出力する部分である。例えば、この画像出力装置2が印刷装置である場合には、画像出力部58は、ESC/P(Epson Standard Code for Printer )などといった印刷制御データを供給され、その印刷制御データに基づき画像を印刷する部分とされる。また、例えば、この画像出力装置2が表示装置や投影装置である場合には、画像出力部58は、画像描画データを供給され、その画像描画データに基づきビデオ信号を表示装置や投影装置に供給し画像を表示させる部分とされる。
【0065】
バス59は、MPU51、ROM52、DRAM53、記憶部54、通信回路55、およびインタフェース57を相互に接続する信号路である。なお、バス59の本数、およびMPU51などのバス59への接続形態は、図3のものに限定されるものではない。
【0066】
図4は、本発明の実施の形態1に係る画像出力システムにおいて、画像供給装置1と画像出力装置2との間で使用されるプロトコルの一例を示す図である。図4(A)は、画像出力システム全体のプロトコル階層を示す図であり、図4(B)は、そのうちのDPDPプロトコル層84a,84bの詳細な階層構造を示す図である。
【0067】
この実施の形態1では、まず、物理層81として、USBケーブルである通信路3、並びにUSBデバイス側インタフェースとしての通信回路15内の信号送受信回路およびUSBホスト側インタフェースとしての通信回路55内の信号送受信回路が使用される。
【0068】
そして、この物理層81を制御する層として、USBデバイス側インタフェースとしての画像供給装置1の通信回路15により、USB層82aが実現され、USBホスト側インタフェースとしての画像出力装置2の通信回路55により、USB層82bが実現される。このUSB層82a,82bでは、USBデバイスクラスとしてスチルイメージクラス(SIC)が使用される。これにより、画像供給装置1と画像出力装置2との間のデータ伝送路が実現される。
【0069】
なお、USB規格については、現在USB1.1、USB2.0など存在するが、将来提案される次バージョン以降のものでもよく、USBと同等の通信規格のものを代わりに使用してもよい。なお、通信路3にUSBを使用する場合、画像供給装置1がUSBデバイスとなり、画像出力装置2がUSBホストとなる。
【0070】
そして、この実施の形態1では、USB層82a,82bの上位において、プログラム41,71により、デジタル静止画装置(DSPD)の外部からの制御やデジタル静止画装置(DSPD)の外部への画像データ転送を規定した画像転送プロトコル(PTP)に従ってデータファイルの送受を行うPTP層83a,83bが実現される。なお、PTPの標準規格としては、PHOTOGRAPHIC AND IMAGING MANUFACTURERS ASSOCIATION,INCの「PIMA15740:2000」がある。PTPは、DSPD間での画像データの交換のための通信方式を提供するプロトコルであり、PTPでは、ストレージ内のオブジェクト(画像データファイルなど)は、パスではなく、オブジェクトID(オブジェクトハンドル)で指定される。
【0071】
さらに、この実施の形態1では、上述のPTP層82a,82bの上位で、画像供給装置1に格納された画像データを、通信路3を介して直接、画像出力装置2へ供給して画像出力を行うための所定のプロトコルであるダイレクト画像出力プロトコル(以下、DPDPプロトコルという)に従って、画像出力に係る制御情報を送受して画像出力処理の制御を行うDPDP層84a,84bが、プログラム41,71により実現される。なお、画像供給装置1のDPDP層84aは、デバイス側(クライアント側)の処理部とされ、画像出力装置2のDPDP層84bは、ホスト側(サーバ側)の処理部とされる。また、DPDP層84a,84bにより受信されるXMLスクリプトは、SRAM31,61に予め設けられた所定のメモリ領域に記憶される。なお、このSRAM31内の所定のメモリ領域は、ローエンドの機種では1キロバイト程度とされ、SRAM61内の所定のメモリ領域は、ローエンドの機種では64キロバイト程度とされる。したがって、画像供給装置1は、画像出力装置2の通信用メモリ領域が64キロバイトでも問題なく、後述のXMLスクリプトによる通信処理を行うことができるデータ量の制御コマンドを送信する。
【0072】
DPDPプロトコル層84a,84bでは、画像供給装置1と画像出力装置2との間で、画像出力に係る制御情報が、マークアップ言語(ここでは、XML;eXtensible Markup Language)で記述した一連のスクリプト(テキストデータ)として通信路3を介して送受される。なお、画像出力に係る制御情報としては、画像出力における各種コマンド、そのコマンドに対する応答、装置や画像出力ジョブの状態の通知などがある。また、このスクリプトには、制御情報のみが含まれ、画像出力の対象となる画像データファイル自体は含まれない。すなわち、画像データファイルの格納場所などの情報はこのスクリプトに含まれるが、画像データそのものは含まれない。
【0073】
そして、このDPDP層84a,84bでは、図4(B)に示すように、DPDPプロトコル層84a,84bと複数種類の下位層との整合性を得るために、DPDPプロトコル層84a,84bの最下位層に、下位層の入出力フォーマット(コマンドセット、応答のフォーマット)に対応して制御情報の授受を行うトランスポート層91が設けられる。このため、DPDPプロトコル層84a,84bの下位層は、PTP層83a,83bに限定されず、その下位層に応じてトランスポート層91は変更される。
【0074】
また、DPDPプロトコル層84a,84bでは、トランスポート層91の上位に、制御情報を含むXMLスクリプトの生成および解釈を行うXML処理層92が設けられ、さらに、XML処理層92の上位に、制御情報を送受して画像出力処理を進行させるアプリケーション層93が設けられる。
【0075】
次に、上記システムにおけるインデックス画像出力時の各装置の動作について説明する。図5は、本発明の実施の形態1に係る画像出力システムによるインデックス画像出力処理時の画像供給装置1の動作について説明するフローチャートである。図6は、本発明の実施の形態1に係る画像出力システムによるインデックス画像出力処理時の画像出力装置2の動作について説明するフローチャートである。
【0076】
画像供給装置1および画像出力装置2では、起動時にあるいはユーザにより所定の操作が入力装置16,56になされると、MPU11,51が、プログラム41,71を実行する。これにより、図4に示す処理部の階層構造の処理部が実現される。また、必要に応じて、ユーザにより画像供給装置1と画像出力装置2が通信路3により物理的に接続される。通信路3による接続後、USB層82a,82b以下の処理部により、データ伝送路が確立される。
【0077】
そして、画像供給装置1の入力装置16に対するユーザによる所定の操作により、インデックス画像出力処理の実行が指示されると、画像供給装置1のDPDP層84aは、まず、インデックス画像出力の対象となる画像データファイルおよびその数を特定する(ステップS1)。
【0078】
次に、画像供給装置1のDPDP層84aは、画像出力装置2に画像出力を行わせるための画像出力要求を生成し、送信する。その際、まず、画像供給装置1のDPDP層84aは、インデックス画像出力の対象となる画像データファイルのうち、最初の所定の基準数までの複数の画像データファイルを特定する(ステップS2)。そして、画像供給装置1のDPDP層84aは、その特定した所定の基準数以下の画像データファイルについてのインデックス画像出力用の画像出力要求を生成する(ステップS3)。
【0079】
この基準数は、画像出力要求のコマンドフォーマット、画像出力要求内で指定される各種画像出力条件などにより決定される画像出力要求のデータ量と、画像出力装置2におけるこのDPDPプロトコルに基づく通信のために用意されるメモリ領域の容量とに基づいて、画像出力要求がそのメモリ領域に完全に格納可能な数とされる。
【0080】
画像供給装置1のDPDP層84aは、生成した画像出力要求を送信する。その際、画像供給装置1のDPDP層84aでは、トランスポート層91が、下位層(ここではPTP層83a)にコマンドを供給し、XML処理層92により生成された画像出力要求のXMLスクリプトを、1つのデータファイルとして画像出力装置2に送信する(ステップS4)。画像供給装置1のDPDP層84aにより送信されたXMLスクリプトのデータファイルは、PTP層83a,83bにより、USB層82a,82bおよび物理層81を介して画像出力装置2へ転送される。
【0081】
そして、画像供給装置1のDPDP層84aは、ステップS1で特定しインデックス画像出力の対象となる画像データファイルのすべてについて画像出力要求を送信したか否かを判定する(ステップS5)。
【0082】
画像供給装置1のDPDP層84aは、インデックス画像出力の対象となる画像データファイルのすべてについて画像出力要求を送信したと判定した場合には、画像出力要求の送信を完了する。一方、画像供給装置1のDPDP層84aは、インデックス画像出力の対象となる画像データファイルのすべてについて画像出力要求を送信していないと判定した場合には、画像供給装置1のDPDP層84aは、画像出力装置2が次の画像出力要求を受信可能になるまで待機する(ステップS6)。
【0083】
一方、画像出力装置2では、PTP層83bが、画像供給装置1からのXMLスクリプトを受信し、SRAM61における所定のメモリ領域に記憶させる。そして、PTP層83bによるXMLスクリプトの受信が、画像出力装置2のDPDP層84bのトランスポート層91へ通知されると(ステップS21)、DPDP層84bのXML処理層92により、そのXMLスクリプトが解釈されて、そのXMLスクリプトとされた画像出力要求の内容がアプリケーション層93に供給される(ステップS22)。
【0084】
画像出力装置2のDPDP層84bのアプリケーション層93は、その画像出力要求がインデックス画像出力の画像出力要求であると判断すると、次の画像出力要求を受付可能とする(ステップS23)。その際、画像出力装置2のDPDP層84bのアプリケーション層93は、受信した画像出力要求のためのメモリ領域を解放し、また、新たな画像出力要求を受信可能である旨の通知をXMLスクリプトとして画像供給装置1へ送信する。このXMLスクリプトは、1つのファイルとしてPTPに従って画像出力装置2から画像供給装置1に転送される。
【0085】
そして、画像出力装置2のDPDP層84bのアプリケーション層93は、図示せぬタイマを起動させ、計時を開始させる。なお、この計時の起算点は、例えば、上記通知を画像供給装置1へ送信したタイミングとされる。ただし、この計時の起算点を、画像出力要求を受信したタイミングとしてもよいし、画像出力要求の解釈によりこの画像出力要求がインデック画像出力についてのものであると判定されたタイミングでもよい。それらの場合には、その起算点のタイミングに応じて、後述のステップS27における所定の計時時間が設定される。
【0086】
そして、画像出力装置2のDPDP層84bは、受信したインデックス画像出力の画像出力要求により指定された画像データファイルを画像供給装置1から取得し、その画像出力要求により指定された条件でインデックス画像出力を画像出力部58に実行させる(ステップS25)。その際、画像出力装置2のDPDP層84bは、画像出力要求により指定された各画像データファイルについてのファイル送信要求をXMLスクリプトとして画像供給装置1へ送信する。画像供給装置1は、そのファイル送信要求で指定された画像データファイルを記憶部14から読み出し画像出力装置2へ送信する。画像出力装置2では、その画像出力要求により指定された画像データファイルが受信され、DRAM13に記憶される。この画像データファイルは、プログラム71に従ってMPU51により画像出力部58のための画像出力用データに変換され、変換後の画像出力用データが画像出力部58に供給される。このようにして、インデックス画像出力が行われる。そして、画像出力装置2のDPDP層84bは、この画像出力要求で指定されたインデックス画像出力が完了した場合、画像出力部58をその完了時点の状態で待機させる。
【0087】
図7は、本発明の実施の形態1に係る画像出力システムにおいて、インデックス画像出力について、第1番目の画像出力要求に対応する画像出力処理が完了したところの画像出力例を示す図である。図7に示すように、例えば、出力領域101に、画像111が縦4列、横5列の2次元配列で出力されるものと画像出力装置2において予め設定されている場合に、第1番目の画像出力要求に基づく画像出力で16個の画像111が出力され、出力領域101で画像の端数が生じると、画像出力装置2のDPDP層84bは、画像出力部58を図7に示す状態で待機させる。
【0088】
また、画像出力装置2のDPDP層84bは、上記タイマの経過時間が所定の時間となるまで、次の画像出力要求が受信されたかを監視する(ステップS26,S27)。
【0089】
一方、画像供給装置1のDPDP層84aは、ステップS6における待機中に、次の画像出力要求を受信可能である旨の通知を受信すると、一連のインデックス画像出力における、残りの画像データファイルのうちの所定の基準数の画像データファイルを特定し(ステップS2)、それらの画像データファイルについての次の画像出力要求を生成し(ステップS3)、送信する(ステップS4)。その後、上述の場合と同様に、画像供給装置1のDPDP層84aは、インデックス画像出力の対象となる画像データファイルのすべてについて画像出力要求を送信したと判定した場合には、画像出力要求の送信を完了し、インデックス画像出力の対象となる画像データファイルのすべてについて画像出力要求を送信していないと判定した場合には、画像供給装置1のDPDP層84aは、画像出力装置2が次の画像出力要求を受信可能になるまで再度待機する(ステップS6)。
【0090】
そして、画像出力装置2のDPDP層84bは、上記タイマの経過時間が所定の時間を超える前に画像供給装置1から次の画像出力要求が受信されると、その画像出力要求を解釈する(ステップS28)。
【0091】
画像出力装置2のDPDP層84bは、その画像出力要求が、実行中のインデックス画像出力の後続の画像出力要求であると判定すると、次の画像出力要求を受付可能とし(ステップS29)、タイマの計時時間をゼロにリセットし(ステップS30)、その画像出力要求を、前回受信された画像出力要求の続きの画像出力要求として、その画像出力要求に従ってインデックス画像出力を画像出力部58に再開させる(ステップS31)。
【0092】
図8は、本発明の実施の形態1に係る画像出力システムにおいて、インデックス画像出力について、第2番目の画像出力要求に対応する画像出力処理が完了したところの画像出力例を示す図である。図8に示すように、例えば、出力領域101に、画像111が縦4列、横5列の2次元配列で出力されるものと画像出力装置2において予め設定されている場合に、図7に示す状態で画像出力部58が待機しているときには、画像出力装置2のDPDP層84bは、インデックス画像出力を再開させ、図8に示すように、ある出力領域101内の待機位置の続きからインデックス画像の出力を行う。なお、ある出力領域101から次の出力領域101への移動は、印刷用紙の切り換えとされたり、表示画面の表示ページの切り換えとされたりする。
【0093】
そして、画像出力装置2のDPDP層84bは、再度、次の画像出力要求が受信されたかを監視する(ステップS26,S27)。その後、インデックス画像出力の画像出力要求が所定の時間内に受信されるたびに、画像出力装置2のDPDP層84bは、ステップS28〜ステップS31の処理を繰り返す。
【0094】
そして、インデックス画像出力の画像出力要求が所定の時間内に受信されない場合には、画像出力装置2のDPDP層84bは、最後に受信したインデックス画像出力の画像出力要求が一連のインデックス画像出力の画像出力要求の最後のものと判定し、インデックス画像出力を完了させる。
【0095】
以上のように、上記実施の形態1によれば、画像供給装置1では、画像出力要求生成手段として機能するDPDP層84aが、インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成し、送信手段として機能する通信回路15が、DPDP層84aにより生成された複数の画像出力要求を順番に画像出力装置2へ送信し、また、画像データファイル42を画像出力装置2へ送信する。一方、画像出力装置2では、受信手段として機能する通信回路55が、画像出力要求および画像データファイルを受信し、画像出力手段として機能する画像出力部58が、画像データファイルに基づき出力領域101に画像111を出力する。そして、制御手段として機能するDPDP層84bが、画像出力部58を制御し、通信回路55によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して画像出力部58により出力領域101にインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域101に対して、前のインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像出力部58によりインデックス画像出力を実行させる。
【0096】
これにより、画像供給装置1からのインデックス画像出力に係る複数の画像出力要求コマンドが画像出力装置2により確実に受信され、画像出力装置2によりインデックス画像出力が正確に実行される。なお、画像供給装置1は、インデックス画像出力のためにユーザにより1回の操作が入力装置16にあると、上述のように、必要に応じて自動的に画像出力要求を複数に分割する。
【0097】
さらに、上記実施の形態1によれば、画像供給装置1の通信回路15は、画像出力装置2が次の画像出力要求を受付可能となった後で、DPDP層84aの指令に基づいて、同一のインデックス画像出力の後続の画像出力要求を送信する。
【0098】
これにより、一連のインデックス画像出力について、分割された複数の画像出力要求コマンドが画像出力装置2により確実に受信される。
【0099】
さらに、上記実施の形態1によれば、画像出力要求としてテキストデータであるXMLスクリプトが使用される。このように、バイナリデータよりデータ量が大きくなるテキストデータの画像出力要求を使用した場合でも、上記実施の形態1のようにすることで、上述の効果が得られる。
【0100】
さらに、上記実施の形態1によれば、画像出力装置2のDPDP層84bが、所定のタイミングで次の画像出力要求を受付可能であることを示す通知を画像供給装置1へ送信し、そのタイミングから所定の時間が経過するまでにインデックス画像出力の後続の画像出力要求が受信された場合にのみ、同一の出力領域に対して、前のインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像出力部58によりインデックス画像出力を実行させる。
【0101】
これにより、ある画像出力要求の次の画像出力要求が、一連のインデックス画像出力についてのものか否かが、次の画像出力要求の到着までの経過時間で判断され、一連のインデックス画像出力の完了を正確に把握することができ、インデックス画像出力および次の画像出力を正確に実行することができる。
【0102】
さらに、上記実施の形態1によれば、画像出力装置2では、記憶手段として機能するSRAM61は、通信回路15により受信された画像出力要求を記憶する。そして、要求解釈手段として機能するXML処理部92は、SRAM61により記憶された画像出力要求を解釈する。DPDP層84bは、XML処理部92による画像出力要求の解釈が完了すると、次の画像出力要求を受付可能であることを示す通知を画像供給装置1へ送信する。
【0103】
これにより、一連のインデックス画像出力についての次の画像出力要求をより早く画像供給装置1から取得することができ、一連のインデックス画像出力に要する時間を短くすることができる。特に、この画像出力装置2が画像出力要求のためのキュー(待ち行列)の手段(FIFO(First−In First−Out)のバッファなど)を有さない場合でも、先の画像出力要求についての画像出力処理が完了する前に、上記通知を送信することで、先の画像出力要求に続いてすぐに次の画像出力要求を解釈可能となる。
【0104】
なお、上記実施の形態1において、複数の独立したインデックス画像出力を連続して行う場合には、画像供給装置1の通信回路15が、インデックス画像出力の画像出力要求を送信し、画像出力装置2による画像出力が完了して画像出力装置がアイドル状態になった後で、次のインデックス画像出力のための画像出力要求を送信するようにすればよい。その際、画像出力装置2は、一連の画像出力が完了し、ジョブがなくなると、画像供給装置1へアイドル状態となった旨の通知を送信し、画像供給装置1は、その通知を受信すると、画像出力装置2がアイドル状態であることを認識する。
【0105】
このようにした場合には、一連のインデックス画像出力とは別の一連のインデックス画像出力を新たに実行させる場合、新たな一連のインデックス画像出力が先の一連のインデックス画像出力の続きとして誤って実行されずに済む。
【0106】
さらに、上記実施の形態1においては、画像出力装置2において、通信回路55が、画像出力条件を含む画像出力要求を受信し、DPDP層84bが、インデックス画像出力のための2つの画像出力要求を連続して受信すると、これらの画像出力要求の画像出力条件が同一である場合にのみ、同一の出力領域に対して、前のインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して画像出力部58によりインデックス画像出力を実行させるようにしてもよい。そのようにした場合、一連のインデックス画像出力の係る画像出力要求が正確に識別され、正確にインデックス画像出力を実行することができる。また、画像出力条件の全部が同一である場合に、このようにしてもよいし、画像出力条件の所定の一部(例えば、インデックス画像出力を指定する部分)が同一である場合に、このようにしてもよい。
【0107】
実施の形態2.
本発明の実施の形態2に係る画像出力システムは、実施の形態1に係る画像出力システムを応用し、画像出力装置2の形態を印刷装置とした場合の一例である。したがって、画像出力装置2では、プログラム71に従ってMPU51により、画像データファイルの画像データに対して色変換処理、ハーフトーニング処理などが施され、さらに、処理後の画像データからESC/Pなどといった印刷制御データが生成される。また、画像出力部58は、印刷用紙などの媒体に画像を記録する記録機構、給紙、排紙、記録時の紙送りなどを行う送り機構、これらの駆動する駆動機構、この駆動機構を電気的に制御する制御回路などを有し、ESC/Pなどといった印刷制御データを供給され、その印刷制御データに基づき画像を印刷する。
【0108】
なお、実施の形態2に係る画像出力システムにおける各装置のその他の構成については、実施の形態1のものと同様であるので、その説明を省略する。
【0109】
次に、上記システムにおける各装置の動作について説明する。実施の形態2に係る画像出力システムにおける画像供給装置1の動作は、実施の形態1の場合と同様であるので、その説明を省略し、画像出力装置2の動作について説明する。図9は、本発明の実施の形態2に係る画像出力システムによるインデックス印刷処理時の画像出力装置2の動作について説明するフローチャートである。図10は、図9における初回インデックス印刷処理の詳細を説明するフローチャートである。図11は、図9における継続インデックス印刷処理の詳細を説明するフローチャートである。図12は、図9における最終インデックス印刷処理の詳細を説明するフローチャートである。
【0110】
画像供給装置1および画像出力装置2では、起動時にあるいはユーザにより所定の操作が入力装置16,56になされると、MPU11,51が、プログラム41,71を実行する。これにより、図4に示す処理部の階層構造の処理部が実現される。また、必要に応じて、ユーザにより画像供給装置1と画像出力装置2が通信路3により物理的に接続される。通信路3による接続後、USB層82a,82b以下の処理部により、データ伝送路が確立される。
【0111】
そして、画像供給装置1の入力装置16に対するユーザによる所定の操作により、インデックス印刷処理の実行が指示されると、画像供給装置1のDPDP層84aは、まず、インデックス印刷の対象となる画像データファイルおよびその数を特定する(ステップS1)。例えば、入力装置16および表示装置18によるメニュー表示およびカーソルなどを使用したユーザインタフェースに基づいて、記憶部14の所定のフォルダ内の画像データファイルが一括して選択された場合には、そのフォルダ内の画像データファイルが特定され、その数がカウントされる。
【0112】
次に、画像供給装置1のDPDP層84aは、画像出力装置2にインデックス印刷を行わせるための画像出力要求を生成し、送信する。その際、まず、画像供給装置1のDPDP層84aは、インデックス印刷の対象となる画像データファイルのうち、最初の所定の基準数までの複数の画像データファイルを特定する(ステップS2)。そして、画像供給装置1のDPDP層84aは、その特定した所定の基準数以下の画像データファイルについてのインデックス印刷用の画像出力要求を生成する(ステップS3)。なお、この基準数は、実施の形態1の場合と同様にして設定される。画像供給装置1のDPDP層84aは、実施の形態1の場合と同様にして、生成した画像出力要求を送信する(ステップS4)。そして、画像供給装置1のDPDP層84aは、インデックス印刷の対象となる画像データファイルのすべてについて画像出力要求を送信したか否かを判定する(ステップS5)。
【0113】
画像供給装置1のDPDP層84aは、インデックス印刷の対象となる画像データファイルのすべてについて画像出力要求を送信したと判定した場合には、画像出力要求の送信を完了する。一方、画像供給装置1のDPDP層84aは、インデックス印刷の対象となる画像データファイルのすべてについて画像出力要求を送信していないと判定した場合には、画像供給装置1のDPDP層84aは、画像出力装置2が次の画像出力要求を受信可能になるまで待機する(ステップS6)。
【0114】
画像供給装置1のDPDP層84aにより送信されたXMLスクリプトのデータファイルは、USB層82a,82bおよび物理層81により画像出力装置2へ転送される。
【0115】
画像出力装置2のPTP層83bは、そのXMLスクリプトを受信し、SRAM61における所定のメモリ領域に記憶させる。そして、PTP層83bによるXMLスクリプトの受信が、画像出力装置2のDPDP層84bのトランスポート層91へ通知されると(ステップS41)、DPDP層84bのXML処理層92により、そのXMLスクリプトが解釈されて、そのXMLスクリプトとされた画像出力要求の内容がアプリケーション層93に供給される(ステップS42)。
【0116】
画像出力装置2のDPDP層84bのアプリケーション層93は、その画像出力要求がインデックス印刷の画像出力要求であると判断すると、次の画像出力要求を受付可能とする(ステップS43)。その際、画像出力装置2のDPDP層84bのアプリケーション層93は、受信した画像出力要求のためのメモリ領域を解放し、また、新たな画像出力要求を受信可能である旨の通知をXMLスクリプトとして画像供給装置1へ送信する。
【0117】
そして、画像出力装置2のDPDP層84bのアプリケーション層93は、図示せぬタイマを起動させ、計時を開始させる。なお、この計時の起算点は、例えば、上記通知を画像供給装置1へ送信したタイミングとされる。ただし、この計時の起算点を、画像出力要求を受信したタイミングとしてもよいし、画像出力要求の解釈によりこの画像出力要求がインデック印刷についてのものであると判定されたタイミングでもよい。それらの場合には、その起算点のタイミングに応じて、後述のステップS47における所定の計時時間が設定される。
【0118】
そして、画像出力装置2のDPDP層84bは、受信した画像出力要求をインデックス印刷の1番目の画像出力要求とみなし、その画像出力要求により指定された画像データファイルを画像供給装置1から取得し、その画像出力要求により指定された条件で、初回インデックス印刷処理を実行する(ステップS45)。
【0119】
初回インデックス印刷処理では、図10に示すように、まず、画像出力装置2のDPDP層84bは、受信した1番目の画像出力要求内で指定された画像データファイルの数、およびこの画像出力装置2でのインデックス印刷における画像の配列(1枚の印刷用紙内での縦の画像数および横の画像数)に基づいて、1番目の画像出力要求内で指定された画像データファイルの画像をインデックス印刷の配列に沿って印刷しようすると、印刷される最後の画像の列に端数が発生するか否かを判定する(ステップS101)。
【0120】
次に、印刷される最後の画像の列に端数が発生すると判定した場合、画像出力装置2のDPDP層84bは、最終列の1つ前の列までインデックス印刷を画像出力部58に実行させ、その後、待機させる(ステップS102)。その際、画像出力部58は、次の画像を、印刷した画像の列の次の列に印刷できるように、紙送りをせずに、紙送り機能の動作を停止する。一方、印刷される最後の画像の列に端数が発生しないと判定した場合、画像出力装置2のDPDP層84bは、最終列までインデックス印刷を画像出力部58に実行させ、その後、待機させる(ステップS103)。
【0121】
例えば、1枚の印刷用紙に縦5×横4の20個の画像がインデックス印刷される場合に、1番目の画像出力要求において、38個の画像データファイルが指定されると、1枚目の印刷用紙に20個の画像がインデックス印刷され、2枚目の印刷用紙に、最終列の1つ前の列までの画像(すなわち、21番目から36番目までの画像データファイルの画像)が印刷される。そして、37番目および38番目の画像データファイルの画像は印刷されず、画像出力装置2では、DRAM53は、37番目および38番目の画像データファイルを保持し、画像出力部58は待機状態となる。
【0122】
なお、その際、画像出力装置2は、実施の形態1の場合と同様にして、画像出力要求により指定された各画像データファイルを取得し、DRAM53に記憶する。
【0123】
また、画像出力装置2のDPDP層84bは、上記タイマの経過時間が所定の時間となるまで、次の画像出力要求が受信されたかを監視する(ステップS46,S47)。
【0124】
一方、画像供給装置1のDPDP層84aは、ステップS6における待機中に、上記通知を受信すると、一連のインデックス画像出力における、残りの画像データファイルのうちの所定の基準数の画像データファイルを特定し(ステップS2)、それらの画像データファイルについての後続の画像出力要求を生成し(ステップS3)、所定の時間内に(すなわち、画像出力装置2がアイドル状態とならないうちに)送信する(ステップS4)。その後、上述の場合と同様に、画像供給装置1のDPDP層84aは、インデックス印刷の対象となる画像データファイルのすべてについて画像出力要求を送信したと判定した場合には、画像出力要求の送信を完了し、インデックス印刷の対象となる画像データファイルのすべてについて画像出力要求を送信していないと判定した場合には、画像供給装置1のDPDP層84aは、画像出力装置2が次の画像出力要求を受信可能になるまで待機する(ステップS6)。
【0125】
そして、画像出力装置2のDPDP層84bは、上記タイマの経過時間が所定の時間を超える前に画像供給装置1から次の画像出力要求が受信されると、その画像出力要求を解釈する(ステップS48)。
【0126】
画像出力装置2のDPDP層84bは、その画像出力要求が、インデックス印刷の画像出力要求であると判定すると、次の画像出力要求を受付可能とし(ステップS49)、タイマの計時時間をゼロにリセットし(ステップS50)、その画像出力要求を、前回受信された画像出力要求の続きの画像出力要求として、継続インデックス印刷処理を実行する(ステップS51)。なお、その画像出力要求が、インデックス印刷の後続の画像出力要求ではなく、全く別の画像出力についての画像出力要求であると判定した場合、画像出力装置2のDPDP層84bは、後述の最終インデックス印刷処理を実行し、その後、その画像出力要求に従って全く別の画像出力を行う。
【0127】
継続インデックス印刷処理では、図11に示すように、まず、画像出力装置2のDPDP層84bは、一連のインデックス印刷における先行の画像出力要求に対応する印刷処理において、最終列に端数が存在し未印刷の画像が存在するか否かを判定する(ステップS121)。
【0128】
そして、一連のインデックス印刷における1つ前の画像出力要求による印刷時に未印刷の画像が発生したと判定した場合、画像出力装置2のDPDP層84bは、今回受信した画像出力要求により指定された画像データファイルの数と1つ前の画像出力要求に関する未印刷の画像の数との和、およびこの画像出力装置2でのインデックス印刷における画像の配列に基づいて、前回未印刷の最終列から印刷しようとすると最後の画像の列に端数が発生するか否かを判定する(ステップS122)。
【0129】
今回の画像出力要求に応じて印刷を行うと最後の画像の列に端数が発生してしまうと判定した場合、画像出力装置2のDPDP層84bは、今回の印刷処理では、前回未印刷の画像の画像データファイルおよび今回指定された画像データファイルに基づいて、1つ前の画像出力要求についての最終列から今回の画像出力要求についての最終列の1つ前の列までインデックス印刷を画像出力部58に実行させ、その後、待機させる(ステップS123)。一方、今回の画像出力要求に応じて印刷を行っても最後の画像の列に端数が発生しないと判定した場合、画像出力装置2のDPDP層84bは、今回の印刷処理では、前回未印刷の画像の画像データファイルおよび今回指定された画像データファイルに基づいて、1つ前の画像出力要求についての最終列から今回の画像出力要求についての最終列までインデックス印刷を画像出力部58に実行させ、その後、待機させる(ステップS124)。
【0130】
また、ステップS121において一連のインデックス印刷における1つ前の画像出力要求による印刷時に未印刷の画像が発生していないと判定した場合、画像出力装置2のDPDP層84bは、今回受信した画像出力要求により指定された画像データファイルの数、およびこの画像出力装置2でのインデックス印刷における画像の配列に基づいて、前回の印刷の最終列の次から印刷しようとすると、今回の画像出力要求に応じて印刷を行うと最後の画像の列に端数が発生するか否かを判定する(ステップS125)。
【0131】
そして、今回の画像出力要求に応じて印刷を行うと最後の画像の列に端数が発生すると判定した場合、画像出力装置2のDPDP層84bは、今回の印刷処理では、今回指定された画像データファイルに基づいて、1つ前の画像出力要求についての最終列の次の列から今回の画像出力要求についての最終列の1つ前の列までインデックス印刷を画像出力部58に実行させ、その後、待機させる(ステップS126)。一方、今回の画像出力要求に応じて印刷を行うと最後の画像の列に端数が発生しないと判定した場合、画像出力装置2のDPDP層84bは、今回の印刷処理では、今回指定された画像データファイルに基づいて、1つ前の画像出力要求についての最終列の次の列から今回の画像出力要求についての最終列までインデックス印刷を画像出力部58に実行させ、その後、待機させる(ステップS127)。
【0132】
そして、画像出力装置2のDPDP層84bは、再度、次の画像出力要求が受信されたかを監視する(ステップS46,S47)。その後、インデックス画像出力の画像出力要求が所定の時間内に受信されるたびに、画像出力装置2のDPDP層84bは、ステップS48〜ステップS51の処理を繰り返す。
【0133】
インデックス画像出力の画像出力要求が所定の時間内に受信されない場合には、画像出力装置2のDPDP層84bは、最後に受信したインデックス画像出力の画像出力要求が一連のインデックス印刷の画像出力要求の最後のものと判定し、最終インデックス印刷処理を実行し(ステップS52)、インデックス印刷を完了させる。
【0134】
最終インデックス印刷処理では、図12に示すように、画像出力装置2のDPDP層84bは、一連のインデックス印刷における前回の画像出力要求に対応する印刷時に最終列に端数が存在し未印刷の画像が存在するか否かを判定する(ステップS141)。
【0135】
そして、一連のインデックス印刷における1つ前の画像出力要求による印刷時に未印刷の画像が発生したと判定した場合、画像出力装置2のDPDP層84bは、1つ前の画像出力要求に関する未印刷の最終列の画像を画像出力部58に印刷させ、その後、インデックス印刷を完了させる(ステップS142)。一方、一連のインデックス印刷における1つ前の画像出力要求による印刷時に未印刷の画像が発生していないと判定した場合、画像出力装置2のDPDP層84bは、そのまま、画像出力部58に印刷を完了させる。これにより、印刷が完了すると、画像出力部58は、排紙などの処理を適宜実行する。また、印刷ジョブがなくなると、DPDP層84bは、アイドル状態となり、その旨の通知を画像供給装置1へ送信する。
【0136】
なお、画像出力装置2は、インデックス印刷完了後に新たなインデックス印刷の画像出力要求を受信した場合には、その画像出力要求は別の一連のインデックス印刷についての1番目の画像出力要求であると認識し、印刷用紙の最初からインデックス印刷を開始させる。
【0137】
ここで、実施の形態2に係る画像出力システムにおけるインデックス印刷の具体例について説明する。図13は、実施の形態2における、一連のインデックス印刷についての1番目の画像出力要求の一例を示す図である。図14は、実施の形態2における、図13に示す1番目の画像出力要求に応じて画像を印刷された印刷用紙の一例を示す図である。図15は、実施の形態2における、一連のインデックス印刷についての2番目の画像出力要求の一例を示す図である。図16は、実施の形態2における、図15に示す2番目の画像出力要求に応じて画像を印刷された印刷用紙の一例を示す図である。図17は、実施の形態2における、一連のインデックス印刷についての3番目の画像出力要求の一例を示す図である。図18は、実施の形態2における、図17に示す3番目の画像出力要求に応じて画像を印刷された印刷用紙の一例を示す図である。図19は、実施の形態2における、図17に示す3番目の画像出力要求の後続の画像出力要求がない場合の最終インデックス印刷処理により画像を印刷された印刷用紙の一例を示す図である。
【0138】
まず、ここでは、画像出力装置2によるインデックス印刷では、1枚の印刷用紙301に縦5×横4の20個の画像が印刷されるものとし、画像供給装置1に格納された86個の画像データファイル42がインデックス印刷の対象とされ、上述の基準数を38とし、1つの画像出力要求では、最大38個の画像データファイルが指定されるものとする。なお、ここでは、基準数を、説明の便宜上、38としているが、600程度とされる可能性が高い。例えば、SRAM61におけるDPDPプロトコルによる通信用のメモリ領域が、64キロバイトである場合に、画像出力要求内で1つの画像データファイルを指定するのに約50バイトのテキストデータ量が必要であると、上記基準数は、約1250以下とされる。また、単に画像データファイルを指定するだけでなく、各画像データファイルに対して、日付印刷用の日付、ファイル名印刷用のファイル名などをそれぞれテキストデータとして指定すると、画像出力要求内で1つの画像データファイルについての指定に約100バイトのテキストデータ量が必要となり、上記基準数は、約640以下とされる。
【0139】
まず、画像供給装置1は、86個の画像データファイルのうちの最初の38個分の画像データファイルについて、図13に示す1番目の画像出力要求201−1を生成する。
【0140】
図13に示す画像出力要求201−1は、XMLで記述されており、タグDPDP_Requestは、このXMLスクリプトがDPDPプロトコルの制御コマンドであることを示すタグである。なお、タグxxxxといった場合、始端タグ<xxxx>および終端タグ</xxxx>を指すものとする。そして、図13に示す画像出力要求201−1では、最初の部分に印刷条件を示す要素群211が記述され、その後に、インデックス印刷の対象となる38個の画像データファイルを指定する要素群212が記述される。
【0141】
印刷条件を示す要素群211においては、タグQualityによる要素において印刷品質が設定され、タグPaperSizeによる要素において印刷用紙のサイズが設定され、タグPaperTypeによる要素において印刷用紙のタイプが設定され、タグFileTypeによる要素において画像データファイルの形式が設定され、タグDatePrintによる要素において日付印刷のオン/オフが設定され、タグImageEnhancementによる要素において画像最適化処理のオン/オフが設定され、タグLayoutによる要素において画像の印刷レイアウトが設定される。
【0142】
この例では、要素211aにおいて、印刷レイアウトがインデックス印刷に設定されている。なお、インデックス印刷の場合、印刷時の配列や各画像の印刷サイズは、画像出力装置2に予め設定されているものが使用され、一般にこれらの情報は、画像供給装置1に通知されない。画像供給装置1側で印刷時の配列を設定する場合には、印刷レイアウトを1アップ、2アップなどとして、画像出力要求の画像出力条件において設定すればよい。
【0143】
また、要素群212においては、タグImageFileIDによる要素において、画像データファイル42のファイルIDが設定されている。なお、ファイルIDは、各画像データファイル42に付された固有の番号であり、DPDPプロトコルでは、画像データファイル42は、ファイルIDにより参照される。
【0144】
そして、画像供給装置1は、図13に示す1番目の画像出力要求201−1を画像出力装置2へ送信する。画像出力装置2は、その画像出力要求201−1を受信すると、SRAM31に格納する。その後、画像出力装置2は、その画像出力要求201−1の解釈が完了すると、SRAM31上の画像出力要求201−1のデータを廃棄し、次の画像出力要求を受信可能である旨の通知を画像供給装置1に送信する。さらに、画像出力装置2は、初回インデックス印刷処理において、1番目の画像出力要求201−1において38個の画像データファイルが指定されていると判定すると、画像データファイル数(=38)を紙送り方向の垂直方向における1列の画像数(=4)で割り、端数が2となると判定する。画像出力装置2は、最終列に端数(=2)が発生すると認識し、図14に示すように、1番目の画像出力要求201−1において指定された16番目の画像データファイルの画像311−16までを1列(4画像)ずつ印刷し、その時点の状態で待機する。
【0145】
次に、画像供給装置1は、次の画像出力要求を受信可能である旨の通知を受信すると、図15に示す2番目の画像出力要求201−2を生成する。2番目の画像出力要求201−2では、印刷条件を示す要素群221は、1番目の画像出力要求201−1の要素群211と同一とされ、画像データファイルを示す要素群222では、39番目の画像データファイルから76番目の画像データファイルまでが、38個の要素により指定される。
【0146】
そして、画像供給装置1は、図15に示す2番目の画像出力要求201−2を画像出力装置2へ送信する。画像出力装置2は、その画像出力要求201−2を受信すると、SRAM31に格納する。その後、画像出力装置2は、その画像出力要求201−2の解釈が完了すると、SRAM31上の画像出力要求201−2のデータを廃棄し、次の画像出力要求を受信可能である旨の通知を画像供給装置1に送信する。さらに、画像出力装置2は、継続インデックス印刷処理において、2番目の画像出力要求201−2において38個の画像データファイルが指定されていると判定すると、その画像データファイル数(=18)と未印刷の画像の数(=2)との和(=20)を計算し、その和(=40)を紙送り方向の垂直方向における1列の画像数(=4)で割り、端数が0となると判定する。画像出力装置2は、最終列に端数が発生しないと認識し、図16に示すように、2番目の画像出力要求201−2において指定された38番目の画像データファイル(一連のインデックス印刷における76番目の画像データファイル)の画像311−76までを1列(4画像)ずつ印刷し、その時点の状態で待機する。
【0147】
次に、画像供給装置1は、次の画像出力要求を受信可能である旨の通知を受信すると、図17に示す3番目の画像出力要求201−3を生成する。その際、画像供給装置1は、77番目から86番目までの残りの画像データファイルについての3番目の画像出力要求201−3を生成する。3番目の画像出力要求201−3では、印刷条件を示す要素群231は、2番目の画像出力要求201−2の要素群221と同一とされ、画像データファイルを示す要素群232では、77番目の画像データファイルから86番目の画像データファイルまでが、10個の要素により指定される。
【0148】
そして、画像供給装置1は、図17に示す3番目の画像出力要求201−3を画像出力装置2へ送信する。画像出力装置2は、その画像出力要求201−3を受信すると、SRAM31に格納する。その後、画像出力装置2は、その画像出力要求201−3の解釈が完了すると、SRAM31上の画像出力要求201−3のデータを廃棄し、次の画像出力要求を受信可能である旨の通知を画像供給装置1に送信する。さらに、画像出力装置2は、継続インデックス印刷処理において、3番目の画像出力要求201−3において10個の画像データファイルが指定されていると判定すると、その画像データファイル数(=10)を紙送り方向の垂直方向における1列の画像数(=4)で割り、端数が2となると判定する。画像出力装置2は、最終列に端数が発生すると認識し、図18に示すように、2番目の画像出力要求201−2において指定された8番目の画像データファイル(一連のインデックス印刷における84番目の画像データファイル)の画像311−84までを1列(4画像)ずつ印刷し、その時点の状態で待機する。
【0149】
そして、画像供給装置1は、既に、インデックス印刷の対象である86個の画像データファイルについての画像出力要求を3回に分けて送信したので、その後には、この一連のインデックス印刷についてのインデックス印刷の画像出力要求を送信しない。したがって、上述の通知の送信後、所定の時間が経過すると、画像出力装置2は、最終インデックス印刷処理を実行する。これにより、図18に示す状態の続きから、未印刷の85番目および86番目の画像データファイルの画像が印刷され、一連のインデックス印刷が完了する。
【0150】
以上のように、上記実施の形態2によれば、画像出力装置2では、画像出力部58は、ある方向(紙送り方向と垂直な方向)の一列ごとに画像を印刷する。そして、DPDP層84bは、初回インデックス処理および継続インデックス処理において、1つの画像出力要求に従ってインデックス画像出力される画像の最終列に端数の画像が存在する場合、最終列の1つ前の列まで画像を画像出力部58に印刷させる。
【0151】
これにより、画像出力部58がある方向の一列ごとに画像を印刷する場合でも、複数の画像出力要求により指定された一連のインデックス印刷が、画像が途中で途切れることなく、継続して実行される。これにより、正確にインデックス印刷を実行することができる。
【0152】
さらに、上記実施の形態2によれば、画像出力装置2のDPDP層84bが、継続インデックス処理において、前回、最終列の1つ前の列まで画像を画像出力部58に印刷させ未印刷の画像がある場合に、前回の最終列における未印刷の端数の画像と、今回の画像出力要求により指定された画像データファイルによる画像とにより、前回の画像出力要求による画像と今回の画像出力要求による画像の両方からなる前回の最終列を一括して画像出力部58に印刷させる。
【0153】
これにより、複数の画像出力要求により指定された一連のインデックス印刷を、画像が途中で途切れることなく、継続させることができる。これにより、正確にインデックス印刷を実行することができる。
【0154】
さらに、上記実施の形態2によれば、画像出力装置2のDPDP層84bが、所定のタイミングで次の画像出力要求が受付可能であることを示す通知を画像供給装置へ送信し、そのタイミングから所定の時間が経過するまでにインデックス印刷のための次の画像出力要求が受信されない場合には、最終インデックス印刷処理において、未印刷の最終列の画像を画像出力部58に印刷させる。
【0155】
これにより、一連のインデックス印刷の最終列の画像が確実に印刷される。これにより、正確にインデックス画像出力を実行することができる。
【0156】
実施の形態3.
本発明の実施の形態3に係る画像出力システムは、一連の画像出力について複数の画像出力要求を使用する場合、画像供給装置1において、後続の画像出力要求が存在する画像出力要求(すなわち、最後の画像出力要求以外の画像出力要求)に、後続の画像出力要求が存在することを示す文字列(ここでは、XMLによる要素)を挿入し、画像出力装置2において、その文字列に基づいて、後続の画像出力要求が存在するか否かを判定する。この場合には、画像出力装置2が、実施の形態1,2のようにタイマを使用して、後続の画像出力要求が所定の時間内に到着するか否かを監視する必要は特にない。
【0157】
なお、本発明の実施の形態3に係る画像出力システムにおける画像供給装置1および画像出力装置2の基本的な構成は、実施の形態1,2のいずれかと同様にすればよい。ただし、画像供給装置1による画像出力要求の生成および画像出力装置2による後続の画像出力要求の有無の判定については、DPDP層84a,84bにより上述したように行われる。
【0158】
図20は、実施の形態2における図13の画像出力要求と同内容の、実施の形態3における画像出力要求の一例を示す図である。図20に示すように、画像供給装置1は、後続の画像出力要求が存在することを示す文字列として、タグNextRequestによる空要素を挿入する。画像出力装置2は、画像出力要求においてタグNextRequestによる空要素が存在すると、後続の画像出力要求が存在すると判定し、後続の画像出力要求の到着まで待機する。そして、後続の画像出力要求が到着すると、画像出力装置2は、その後続の画像出力要求に基づいて画像出力を再開、継続させる。一方、タグNextRequestによる空要素が存在しない場合には、画像出力装置2は、後続の画像出力要求が存在しないと判定し、画像出力処理を完了させる。
【0159】
以上のように、上記実施の形態3によれば、画像供給装置1では、制御コマンド生成手段として機能するDPDP層84aが、画像出力要求などのテキストデータの画像出力に係る制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入し、通信回路15が、DPDP層84aにより生成された複数の制御コマンドを順番に画像出力装置2へ送信し、また、画像データファイル42を画像出力装置へ送信する。一方、画像出力装置2では、通信回路55が、制御コマンドおよび画像データファイルを受信し、画像出力部58が、制御コマンドに従って画像データファイルに基づき画像を出力する。そして、DPDP層84bが、通信回路55により受信されたテキストデータの制御コマンド内に所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、画像出力部58の処理を、通信回路55により後続の制御コマンドが受信されるまで停止させ、通信回路55により後続の制御コマンドが受信されると、受信された後続の制御コマンドに基づいて画像出力を再開させる。
【0160】
これにより、画像出力装置により、後続の画像出力要求コマンドの有無が確実に認識されるため、画像出力要求コマンドを確実に受信し、その画像出力要求コマンドにより指定された画像出力を正確に実行することができる。
【0161】
なお、上述の各実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。
【0162】
例えば、上記各実施の形態においては、画像出力装置2で、制御コマンドのXMLスクリプトは、SRAM61内の所定のメモリ領域に格納されるが、DRAM53などといったMPU51の外にあるメモリ素子の所定のメモリ領域に格納されるようにしてもよい。また、その素子は、SRAMでもよい。また、そのXMLスクリプトと画像データファイルとを同一のメモリ素子内の異なる所定のメモリ領域に格納するようにしてもよい。
【0163】
また、上記各実施の形態において、画像供給装置1の記憶部14がメモリカードなどの着脱可能な記録媒体である場合、その記録媒体が他の記録媒体に交換された場合には、交換前の記録媒体内の画像データファイル42に対するインデックス画像出力と、交換後の記録媒体内の画像データファイル42に対するインデックス画像出力とは互いに独立したものと判定するようにし、両者の記録媒体内の画像が連続しないようにインデックス画像出力を実行させるようにしてもよい。
【0164】
また、上記各実施の形態において、画像出力要求などの制御コマンド、および画像出力装置2から画像供給装置1への通知は、テキストデータであるXMLスクリプトとして記述されるが、別のマークアップ言語で記述するようにしてもよいし、別の形式のテキストデータとしてもよい。
【0165】
また、上記各実施の形態において、画像出力装置2から画像供給装置1への通知についても、画像供給装置1から画像出力装置2への制御コマンドと同様にして分割して、複数の通知として転送するようにしてもよい。
【0166】
【発明の効果】
本発明によれば、画像出力装置により、インデックス画像出力に係る画像出力要求コマンドなどの制御コマンドを確実に受信し、インデックス画像出力などの画像出力を正確に実行する画像出力システムおよび画像出力方法、並びに、その画像出力システムおよび画像出力方法に使用可能な画像供給装置および画像出力装置を得ることができる。
【図面の簡単な説明】
【図1】図1は、本発明の実施の形態1に係る画像出力システムの構成を示すブロック図である。
【図2】図2は、本発明の実施の形態1に係る画像出力システムにおける画像供給装置の構成例を示すブロック図である。
【図3】図3は、本発明の実施の形態1に係る画像出力システムにおける画像出力装置の構成例を示すブロック図である。
【図4】図4は、本発明の実施の形態1に係る画像出力システムにおいて、画像供給装置と画像出力装置との間で使用されるプロトコルの一例を示す図である。
【図5】図5は、本発明の実施の形態1に係る画像出力システムによるインデックス画像出力処理時の画像供給装置の動作について説明するフローチャートである。
【図6】図6は、本発明の実施の形態1に係る画像出力システムによるインデックス画像出力処理時の画像出力装置の動作について説明するフローチャートである。
【図7】図7は、本発明の実施の形態1に係る画像出力システムにおいて、インデックス画像出力について、第1番目の画像出力要求に対応する画像出力処理が完了したところの画像出力例を示す図である。
【図8】図8は、本発明の実施の形態1に係る画像出力システムにおいて、インデックス画像出力について、第2番目の画像出力要求に対応する画像出力処理が完了したところの画像出力例を示す図である。
【図9】図9は、本発明の実施の形態2に係る画像出力システムによるインデックス印刷処理時の画像出力装置の動作について説明するフローチャートである。
【図10】図10は、図9における初回インデックス印刷処理の詳細を説明するフローチャートである。
【図11】図11は、図9における継続インデックス印刷処理の詳細を説明するフローチャートである。
【図12】図12は、図9における最終インデックス印刷処理の詳細を説明するフローチャートである。
【図13】図13は、実施の形態2における、一連のインデックス印刷についての1番目の画像出力要求の一例を示す図である。
【図14】図14は、実施の形態2における、図13に示す1番目の画像出力要求に応じて画像を印刷された印刷用紙の一例を示す図である。
【図15】図15は、実施の形態2における、一連のインデックス印刷についての2番目の画像出力要求の一例を示す図である。
【図16】図16は、実施の形態2における、図15に示す2番目の画像出力要求に応じて画像を印刷された印刷用紙の一例を示す図である。
【図17】図17は、実施の形態2における、一連のインデックス印刷についての3番目の画像出力要求の一例を示す図である。
【図18】図18は、実施の形態2における、図17に示す3番目の画像出力要求に応じて画像を印刷された印刷用紙の一例を示す図である。
【図19】図19は、実施の形態2における、図17に示す3番目の画像出力要求の後続の画像出力要求がない場合の最終インデックス印刷処理により画像を印刷された印刷用紙の一例を示す図である。
【図20】図20は、実施の形態2における図13の画像出力要求と同内容の、実施の形態3における画像出力要求の一例を示す図である。
【符号の説明】
1 画像供給装置
2 画像出力装置
15 通信回路(送信手段)
42 画像データファイル
55 通信回路(受信手段)
58 画像出力部(画像出力手段)
61 SRAM(記憶手段)
84a DPDP層(画像出力要求生成手段、制御コマンド生成手段)
84b DPDP層(制御手段)
92 XML処理部(要求解釈手段)[0001]
BACKGROUND OF THE INVENTION
The present invention provides an image output system for supplying a control command and an image data file related to image output from an image supply device to an image output device, and outputting an image based on the image data file according to the control command from the image output device. The present invention relates to a method, and an image supply device and an image output device used therefor.
[0002]
[Prior art]
Some printing apparatuses that are a type of conventional image output apparatus are capable of index printing (see, for example,
[0003]
In index printing, a plurality of thumbnail images are printed on one sheet of printing paper in a two-dimensional array (for example, 4 frames × 5 frames, 8 frames × 10 frames) predetermined on the printing apparatus side.
[0004]
[Patent Document 1]
JP 2001-88399 A (paragraphs 0006 to 0008)
[Patent Document 2]
JP 2001-88389 A (paragraphs 0006 to 0008)
[0005]
[Problems to be solved by the invention]
In recent years, a digital camera and a printer are directly connected without using a personal computer or the like, an image data file stored in the digital camera is transferred to the printer, print control data is generated from the image data file by the printer, and an image is generated. A so-called direct printing system for printing has been developed.
[0006]
When index printing is to be executed in such a direct printing system, a digital camera designates a plurality of image data files for a plurality of images to be index printed in a print request command.
[0007]
However, in an image output device such as a printer used in a direct printing system, a memory area used for transmission / reception of control information (control command, response, device or job status notification, etc.) for direct printing is not provided. Since a predetermined amount is secured in advance, if a large number of image data files are specified in one image output request command for index image output such as index printing, the data amount of the image output request command increases, and an image of a printer or the like There is a problem in the output device that the image output request command may not be completely received. This problem is particularly noticeable when the image output request command is described in text data.
[0008]
The present invention has been made in view of the above problems, and the image output apparatus reliably receives a control command such as an image output request command related to index image output, and accurately outputs an image output such as an index image output. An object is to obtain an image output system and an image output method that can be executed, and an image supply device and an image output device used in the image output system and the image output method.
[0009]
[Means for Solving the Problems]
In order to solve the above-described problems, the image output system of the present invention outputs, as an index image output, a plurality of images based on a plurality of image data files in a predetermined output area in a predetermined two-dimensional array. An image output system includes an apparatus and an image supply apparatus that supplies an image output request for index image output and a plurality of image data files specified by the image output request to the image output apparatus. The image supply device and the image output device have the following characteristics.
[0010]
The image supply device includes: an image output request generation unit configured to generate an image output request by dividing an image output request for index image output according to the number of images to be index image output; A plurality of image output requests generated by the means in order to the image output apparatus, and a transmission means for transmitting the image data file to the image output apparatus.
[0011]
The image output apparatus controls an image output request and an image data file, an image output unit that outputs an image to an output area based on the image data file, and an image output unit. When the image output request is received, the index output in the output area is executed by the image output means in response to the image output request of the index image output, and the index image output subsequent to the index image output is executed after the image output request of the index image output. When an image output request is received, control for causing the image output means to execute index image output for the same output area from the continuation of the index image output to the subsequent image output request of the index image output Means.
[0012]
If this image output system is used, the image output request command related to the index image output can be reliably received by the image output device, and the index image output can be executed accurately.
[0013]
The image supply apparatus according to the present invention provides an image output request for outputting an index image for outputting a plurality of images in a predetermined output area based on a plurality of image data files in a predetermined two-dimensional array as an index image output. An image supply device that transmits to an output device, and generates an image output request by dividing an image output request of the index image output according to the number of images to be index image output. Means, and an image output request generated by the image output request generating means in order, and transmitting means for transmitting the image data file to the image output apparatus.
[0014]
When this image supply device is used, the image output request command relating to the index image output is reliably received by the image output device which is the transmission destination of the image output request, and the index image output is executed accurately.
[0015]
In addition to the image supply apparatus of the above invention, the image supply apparatus of the present invention includes a subsequent image of the same index image output after the transmission means can accept the next image output request by the image output apparatus. An output request is transmitted.
[0016]
When this image supply device is used, a plurality of divided image output request commands are reliably received by the image output device for a series of index image outputs.
[0017]
Furthermore, when the image supply apparatus of the present invention performs output of a plurality of index images in addition to any of the image supply apparatuses of the above invention, the transmission means transmits an image output request for index image output, and the image output apparatus An image output request for outputting the next index image is transmitted after the image output is completed and the image output apparatus is in an idle state.
[0018]
When this image supply device is used, when a series of index image outputs different from the series of index image outputs are newly executed, the new series of index image outputs is output as an index image output as a continuation of the previous series of index image outputs. You do n’t have to.
[0019]
Furthermore, the image supply apparatus of the present invention is such that, in addition to any of the image supply apparatuses of the present invention, the transmission means transmits an image output request as text data.
[0020]
Even when an image output request for text data having a data amount larger than that of binary data is used, the above-described effects can be obtained by using the image supply device.
[0021]
The image output device of the present invention receives a plurality of image data files and outputs an image as an index image output based on the plurality of image data files in a predetermined output area in a predetermined two-dimensional array. An image output request for receiving an image output request from an image supply device for supplying an image data file and the image data file, an image output unit for outputting an image to an output area based on the image data file, and an image output unit When the image output request for the index image output is received by the receiving means, the image output means executes the index image output in the output area in response to the image output request for the index image output. If an image output request subsequent to the index image output is received after the image output request, the same Respect of the output area, the continuation of the index image output, and a control means for executing the index image output by the image output means in response to subsequent image output request of the index image output.
[0022]
By using this image output device, it is possible to reliably receive an image output request command related to index image output from the image supply device, and to accurately execute the index image output.
[0023]
Furthermore, the image output device of the present invention, in addition to the image output device of the above invention, transmits a notification indicating that the next image output request can be accepted at a predetermined timing to the image supply device, and Only when a subsequent image output request for index image output is received before a predetermined time elapses from the timing, from the continuation of the index image output to the succeeding index image output for the same output area In response to the image output request, the index output is executed by the image output means.
[0024]
When this image output apparatus is used, whether or not the next image output request for an image output request is for a series of index image outputs is determined based on the elapsed time until the arrival of the next image output request. The completion of the index image output can be accurately grasped, and the index image output and the next image output can be accurately executed.
[0025]
Furthermore, the image output apparatus of the present invention interprets the image output request stored by the storage means and the storage means for storing the image output request received by the receiving means in addition to any of the image output apparatuses of the above invention. A request interpreting means. Then, when the interpretation of the image output request by the request interpretation unit is completed, the control unit transmits a notification indicating that the next image output request can be accepted to the image supply device.
[0026]
When this image output apparatus is used, the next image output request for a series of index image outputs can be acquired earlier from the image supply apparatus, and the time required for the series of index image outputs can be shortened. In particular, even when this image output apparatus does not have a queue (queue) means for image output requests, the above-mentioned notification is transmitted before the image output process for the previous image output request is completed. The next image output request can be immediately interpreted following the previous image output request.
[0027]
Furthermore, an image output apparatus according to the present invention includes an image output means and a control means as follows in addition to any of the image output apparatuses according to the present invention. The image output means outputs an image for each column in a certain direction. Then, if the image is output in accordance with the image output request for outputting the index image, the control unit causes the image output unit to output the image up to the column immediately before the final column when there is a fractional image in the final column of the image.
[0028]
When this image output device is used, a series of index image outputs specified by a plurality of image output requests can be obtained even when an image output unit outputs an image for each column in a certain direction, such as a printing device. It is continuously executed without interruption on the way. Thereby, the index image output can be executed accurately.
[0029]
The image output apparatus according to the present invention, in addition to any one of the image output apparatuses according to the present invention, is configured such that, when the control unit causes the image output unit to output an image up to the column immediately before the final column, The image in the final column is output to the image output means by the image and the image by the image data file specified by the subsequent image output request.
[0030]
When this image output device is used, a series of index image outputs specified by a plurality of image output requests can be obtained even when an image output means outputs an image for each column in a certain direction, such as a printing device. Can be continued without interruption. Thereby, the index image output can be executed accurately.
[0031]
Furthermore, the image output apparatus of the present invention, in addition to any of the image output apparatuses of the above invention, transmits a notification to the image supply apparatus indicating that the control means can accept the next image output request at a predetermined timing. When a subsequent image output request for outputting the index image is not received before a predetermined time has elapsed from that timing, the image output means outputs the fractional image of the last column.
[0032]
When this image output device is used, the image in the last column of the series of index image outputs is reliably printed even when the image output means outputs an image for each column in a certain direction, such as a printing device. Thereby, the index image output can be executed accurately.
[0033]
Furthermore, an image output apparatus according to the present invention includes a receiving means and a control means as follows in addition to any of the image output apparatuses according to the present invention. The receiving means receives an image output request including an image output condition that designates a function that can be selected during image output. When the control means receives the image output request for index image output after the image output request for index image output, only when the image output conditions for these image output requests are the same, The received image output request is determined to be an image output request subsequent to the previously received image output request, and the index image output of the previously received image output request is determined for the same output area. Subsequently, an index image output is executed by the image output means in response to the subsequent image output request.
[0034]
When this image output apparatus is used, a plurality of image output requests related to a series of index image outputs can be accurately identified, and the index image output can be executed accurately.
[0035]
Furthermore, the image output apparatus of the present invention is such that, in addition to any of the image output apparatuses of the present invention, the receiving means receives an image output request that is text data.
[0036]
Even when an image output request for text data having a data amount larger than that of binary data is used, the above-described effects can be obtained by using the image output apparatus.
[0037]
The image output method according to the present invention includes an image output request for index image output for outputting a plurality of images in a predetermined output area in a predetermined two-dimensional array from the image supply device to the image output device, and the image output request. An image output method for transferring a plurality of designated image data files and executing an index image output by an image output device, wherein an index image is output by an image supply device according to the number of images to be index image output. Dividing the output image output request to generate a plurality of image output requests; transmitting the generated plurality of image output requests to the image output device in order by the image supply device; and The step of receiving the output request and the image data file specified by the image output request by the image output device. When the image output request for the index image output is received by the image output device and the step of obtaining from the device, the index image output is executed based on the image data file in the output area in response to the image output request for the index image output And when the subsequent image output request for the index image output is received after the image output request for the index image output by the image output device, the index is output from the continuation of the index image output for the same output area. Executing index image output based on the image data file in response to a subsequent image output request for image output.
[0038]
If this image output method is used, the image output request command relating to the index image output can be reliably received by the image output apparatus, and the index image output can be executed accurately.
[0039]
An image output system according to the present invention includes an image output device that receives a control command related to image output as text data and outputs the control command based on an image data file, and the control command and image data file for text data to the image output device. An image output system including an image supply device that supplies the image data. The image supply device and the image output device have the following characteristics.
[0040]
The image supply device generates a plurality of control commands by dividing the control command according to the data amount of the control command of the text data. Among these control commands, the control command is a preceding control command in which a subsequent control command exists. A control command generation means for inserting a predetermined character string indicating that a subsequent control command exists, and a plurality of control commands generated by the control command generation means are sequentially transmitted to the image output device, and image data Transmitting means for transmitting the file to the image output apparatus.
[0041]
The image output device includes a receiving unit that receives the control command and the image data file, an image output unit that outputs an image based on the image data file according to the control command, and a text data control command received by the receiving unit. If there is a character string, the processing of the image output means is stopped until the subsequent control command is received by the receiving means at the beginning or in the middle of the image output specified by the control command, and the subsequent control command is received by the receiving means. And a control means for restarting image output based on the subsequent control command.
[0042]
When this image output system is used, the image output apparatus can reliably receive a control command related to image output and accurately execute the image output.
[0043]
An image supply apparatus according to the present invention is an image supply apparatus that supplies a control command for text data and an image data file to an image output apparatus that receives a control command related to image output as text data and outputs the control command based on the image data file. In accordance with the amount of text command control command data, the control command is divided to generate a plurality of control commands. Of these control commands, the succeeding control command in which the subsequent control command exists follows Control command generation means for inserting a predetermined character string indicating that the control command exists, and a plurality of control commands generated by the control command generation means are sequentially transmitted to the image output device, and the image data file is Transmitting means for transmitting to the image output apparatus.
[0044]
When this image supply device is used, the control command is reliably received by the image output device that is the transmission destination of the control command for image output, and the image output is executed accurately.
[0045]
An image output apparatus according to the present invention is an image output apparatus that receives a control command related to image output in the form of text data and outputs the control command based on an image data file, receiving means for receiving the control command and the image data file, and a control When there is a predetermined character string in the control command of the text data received by the image output means that outputs the image based on the image data file according to the command and the receiving means, the first or middle of the image output specified by the control command Then, the processing of the image output means is stopped until the subsequent control command is received by the receiving means, and when the subsequent control command is received by the receiving means, the image output is resumed based on the subsequent control command. Control means.
[0046]
When this image output apparatus is used, it is possible to reliably receive a control command related to image output from the image supply apparatus and execute the image output accurately.
[0047]
The image output method of the present invention transfers a control command and an image data file related to image output as text data from the image supply device to the image output device, and an image based on the image data file according to the control command by the image output device. The image supply method generates a plurality of control commands by dividing the control command according to the data amount of the text data control command by the image supply device. A step of inserting a predetermined character string indicating that a subsequent control command exists in a preceding control command in which a control command exists, and a plurality of generated control commands are sequentially transmitted to the image output device by the image supply device A step of receiving a control command by the image output device; and Transmitting the image data file to the image output device; receiving the image data file by the image output device; and starting the output of the image based on the image data file according to the control command by the image output device; In the image output device, when there is a predetermined character string in the received text data control command, the subsequent control command receives the image output processing at the beginning or in the middle of the image output specified by the control command. And a step of stopping image output when a subsequent control command is received by the image output apparatus, and restarting image output based on the subsequent control command.
[0048]
When this image output method is used, the image output apparatus can reliably receive a control command related to image output and accurately execute the image output.
[0049]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0050]
FIG. 1 is a block diagram showing a configuration of an image output system according to
[0051]
The form of the
[0052]
The image output device 2 is connected to the
[0053]
The
[0054]
FIG. 2 is a block diagram showing a configuration example of the
[0055]
The
[0056]
The
[0057]
The
[0058]
The
[0059]
The
[0060]
FIG. 3 is a block diagram illustrating a configuration example of the image output apparatus 2 in the image output system according to
[0061]
The
[0062]
The
[0063]
The
[0064]
The
[0065]
The bus 59 is a signal path that connects the
[0066]
FIG. 4 is a diagram illustrating an example of a protocol used between the
[0067]
In the first embodiment, first, as the
[0068]
As a layer for controlling the
[0069]
The USB standard currently exists such as USB 1.1, USB 2.0, etc., but may be a version proposed after the next version or a communication standard equivalent to USB may be used instead. When USB is used for the
[0070]
In the first embodiment, in the upper layers of the USB layers 82a and 82b, the
[0071]
Further, in the first embodiment, the image data stored in the
[0072]
In the DPDP protocol layers 84a and 84b, control information related to image output between the
[0073]
In the DPDP layers 84a and 84b, as shown in FIG. 4B, in order to obtain consistency between the DPDP protocol layers 84a and 84b and a plurality of types of lower layers, the lowest layers of the DPDP protocol layers 84a and 84b. The layer is provided with a
[0074]
In the DPDP protocol layers 84a and 84b, an
[0075]
Next, the operation of each device when outputting an index image in the system will be described. FIG. 5 is a flowchart for explaining the operation of the
[0076]
In the
[0077]
Then, when an execution of the index image output process is instructed by a predetermined operation by the user with respect to the
[0078]
Next, the
[0079]
This reference number is used for the image output request data amount determined by the command format of the image output request, various image output conditions specified in the image output request, and the communication based on the DPDP protocol in the image output apparatus 2. The number of image output requests that can be completely stored in the memory area is determined based on the capacity of the memory area prepared in the above.
[0080]
The
[0081]
Then, the
[0082]
When the
[0083]
On the other hand, in the image output device 2, the PTP layer 83 b receives the XML script from the
[0084]
If the
[0085]
Then, the
[0086]
Then, the
[0087]
FIG. 7 is a diagram illustrating an image output example when the image output process corresponding to the first image output request is completed for the index image output in the image output system according to
[0088]
Further, the
[0089]
On the other hand, when the
[0090]
When the next image output request is received from the
[0091]
When the
[0092]
FIG. 8 is a diagram showing an image output example when the image output process corresponding to the second image output request is completed for the index image output in the image output system according to
[0093]
Then, the
[0094]
When the image output request for index image output is not received within a predetermined time, the
[0095]
As described above, according to the first embodiment, in the
[0096]
As a result, a plurality of image output request commands related to the index image output from the
[0097]
Furthermore, according to the first embodiment, the
[0098]
Thus, the divided image output request commands are reliably received by the image output apparatus 2 for a series of index image outputs.
[0099]
Furthermore, according to the first embodiment, an XML script that is text data is used as an image output request. As described above, even when an image output request for text data having a data amount larger than that of binary data is used, the above-described effects can be obtained by using the first embodiment.
[0100]
Furthermore, according to the first embodiment, the
[0101]
As a result, whether or not the next image output request for a certain image output request is for a series of index image outputs is determined by the elapsed time until the arrival of the next image output request, and the series of index image outputs is completed. Can be accurately grasped, and the index image output and the next image output can be accurately executed.
[0102]
Further, according to the first embodiment, in the image output device 2, the
[0103]
Thereby, the next image output request for the series of index image outputs can be acquired from the
[0104]
In the first embodiment, when a plurality of independent index image outputs are continuously performed, the
[0105]
In this case, when a series of index image outputs different from the series of index image outputs are newly executed, the new series of index image outputs is erroneously executed as a continuation of the previous series of index image outputs. You do n’t have to.
[0106]
Furthermore, in the first embodiment, in the image output device 2, the
[0107]
Embodiment 2. FIG.
The image output system according to the second embodiment of the present invention is an example in which the image output system according to the first embodiment is applied and the form of the image output apparatus 2 is a printing apparatus. Therefore, in the image output apparatus 2, the
[0108]
Note that other configurations of the devices in the image output system according to the second embodiment are the same as those in the first embodiment, and thus the description thereof is omitted.
[0109]
Next, the operation of each device in the system will be described. Since the operation of the
[0110]
In the
[0111]
When the execution of the index printing process is instructed by a predetermined operation by the user with respect to the
[0112]
Next, the
[0113]
When the
[0114]
The data file of the XML script transmitted by the
[0115]
The PTP layer 83 b of the image output apparatus 2 receives the XML script and stores it in a predetermined memory area in the
[0116]
If the
[0117]
Then, the
[0118]
The
[0119]
In the initial index printing process, as shown in FIG. 10, first, the
[0120]
Next, when it is determined that a fraction occurs in the last image column to be printed, the
[0121]
For example, when 20 images of 5 × 4 are index-printed on one printing paper, if 38 image data files are specified in the first image output request, the first image Twenty images are index-printed on the printing paper, and images up to the last row before the last row (that is, images of the 21st to 36th image data files) are printed on the second printing paper. The Then, the images of the 37th and 38th image data files are not printed, and in the image output device 2, the
[0122]
At that time, the image output apparatus 2 acquires each image data file designated by the image output request and stores it in the
[0123]
The
[0124]
On the other hand, when the
[0125]
When the next image output request is received from the
[0126]
If the
[0127]
In the continuous index printing process, as shown in FIG. 11, first, the
[0128]
When it is determined that an unprinted image has occurred during printing by the previous image output request in a series of index printing, the
[0129]
If it is determined that printing will occur in response to the current image output request, the
[0130]
If it is determined in step S121 that an unprinted image is not generated during printing by the previous image output request in the series of index printing, the
[0131]
Then, if it is determined that printing will occur in response to the current image output request, fractions will occur in the last image row, the
[0132]
Then, the
[0133]
If the image output request for index image output is not received within a predetermined time, the
[0134]
In the final index printing process, as shown in FIG. 12, the
[0135]
When it is determined that an unprinted image has occurred during printing by the previous image output request in a series of index printing, the
[0136]
When the image output apparatus 2 receives a new index print image output request after completing index printing, the image output apparatus 2 recognizes that the image output request is the first image output request for another series of index prints. Then, index printing is started from the beginning of the printing paper.
[0137]
Here, a specific example of index printing in the image output system according to the second embodiment will be described. FIG. 13 is a diagram illustrating an example of a first image output request for a series of index printing in the second embodiment. FIG. 14 is a diagram illustrating an example of printing paper on which an image is printed in response to the first image output request illustrated in FIG. 13 according to the second embodiment. FIG. 15 is a diagram illustrating an example of a second image output request for a series of index printing in the second embodiment. FIG. 16 is a diagram illustrating an example of printing paper on which an image is printed in response to the second image output request illustrated in FIG. 15 according to the second embodiment. FIG. 17 is a diagram illustrating an example of a third image output request for a series of index printing in the second embodiment. FIG. 18 is a diagram illustrating an example of printing paper on which an image is printed in response to the third image output request illustrated in FIG. 17 in the second embodiment. FIG. 19 is a diagram illustrating an example of a printing sheet on which an image is printed by the final index printing process when there is no image output request subsequent to the third image output request illustrated in FIG.
[0138]
First, here, in index printing by the
[0139]
First, the
[0140]
The image output request 201-1 shown in FIG. 13 is described in XML, and the tag DPDP_Request is a tag indicating that this XML script is a control command of the DPDP protocol. Note that the tag xxx refers to the start tag <xxxx> and the end tag </ xxxx>. In the image output request 201-1 shown in FIG. 13, an
[0141]
In the
[0142]
In this example, in the
[0143]
In the
[0144]
Then, the
[0145]
Next, when receiving a notification that the next image output request can be received, the
[0146]
Then, the
[0147]
Next, when receiving a notification that the next image output request can be received, the
[0148]
Then, the
[0149]
Since the
[0150]
As described above, according to the second embodiment, in the image output apparatus 2, the
[0151]
As a result, even when the
[0152]
Further, according to the second embodiment, the
[0153]
As a result, a series of index printing designated by a plurality of image output requests can be continued without interruption of the image. Thereby, index printing can be executed accurately.
[0154]
Furthermore, according to the second embodiment, the
[0155]
Thereby, the image of the last column of a series of index printing is printed reliably. Thereby, the index image output can be executed accurately.
[0156]
In the image output system according to the third embodiment of the present invention, when a plurality of image output requests are used for a series of image outputs, the
[0157]
Note that the basic configurations of the
[0158]
FIG. 20 is a diagram illustrating an example of an image output request in the third embodiment having the same content as the image output request in FIG. 13 in the second embodiment. As illustrated in FIG. 20, the
[0159]
As described above, according to the third embodiment, in the
[0160]
As a result, the image output device reliably recognizes whether or not there is a subsequent image output request command, so that the image output request command is reliably received and the image output specified by the image output request command is executed accurately. be able to.
[0161]
Each embodiment described above is a preferred example of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. It is.
[0162]
For example, in each of the embodiments described above, the XML script of the control command is stored in a predetermined memory area in the
[0163]
In each of the above embodiments, when the
[0164]
In each of the above embodiments, the control command such as an image output request and the notification from the image output apparatus 2 to the
[0165]
In each of the above embodiments, the notification from the image output apparatus 2 to the
[0166]
【The invention's effect】
According to the present invention, an image output system and an image output method for reliably receiving a control command such as an image output request command related to an index image output and accurately executing an image output such as an index image output by the image output device, In addition, an image supply apparatus and an image output apparatus that can be used in the image output system and the image output method can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an image output system according to
FIG. 2 is a block diagram showing a configuration example of an image supply device in the image output system according to
FIG. 3 is a block diagram showing a configuration example of an image output apparatus in the image output system according to
FIG. 4 is a diagram illustrating an example of a protocol used between an image supply device and an image output device in the image output system according to the first embodiment of the present invention.
FIG. 5 is a flowchart for explaining the operation of the image supply device during index image output processing by the image output system according to
FIG. 6 is a flowchart for explaining the operation of the image output apparatus during index image output processing by the image output system according to
FIG. 7 shows an image output example when the image output processing corresponding to the first image output request is completed for the index image output in the image output system according to the first embodiment of the present invention. FIG.
FIG. 8 shows an example of image output when an image output process corresponding to a second image output request is completed for index image output in the image output system according to
FIG. 9 is a flowchart illustrating an operation of the image output apparatus during index printing processing by the image output system according to the second embodiment of the present invention.
FIG. 10 is a flowchart for explaining details of the initial index printing process in FIG. 9;
FIG. 11 is a flowchart for explaining details of continuous index printing processing in FIG. 9;
FIG. 12 is a flowchart illustrating details of final index printing processing in FIG. 9;
FIG. 13 is a diagram illustrating an example of a first image output request for a series of index printing in the second embodiment.
14 is a diagram illustrating an example of a print sheet on which an image is printed in response to the first image output request illustrated in FIG. 13 according to the second embodiment.
FIG. 15 is a diagram illustrating an example of a second image output request for a series of index printing in the second embodiment.
FIG. 16 is a diagram illustrating an example of a print sheet on which an image is printed in response to the second image output request illustrated in FIG. 15 according to the second embodiment.
FIG. 17 is a diagram illustrating an example of a third image output request for a series of index printing in the second embodiment.
FIG. 18 is a diagram illustrating an example of print paper on which an image is printed in response to the third image output request illustrated in FIG. 17 in the second embodiment.
FIG. 19 illustrates an example of a printing sheet on which an image is printed by the final index printing process in the second embodiment when there is no image output request subsequent to the third image output request illustrated in FIG. FIG.
FIG. 20 is a diagram showing an example of an image output request in the third embodiment having the same content as the image output request in FIG. 13 in the second embodiment.
[Explanation of symbols]
1 Image supply device
2 Image output device
15 Communication circuit (transmission means)
42 Image data file
55 Communication circuit (receiving means)
58 Image output unit (image output means)
61 SRAM (storage means)
84a DPDP layer (image output request generation means, control command generation means)
84b DPDP layer (control means)
92 XML processing part (request interpretation means)
Claims (18)
上記画像供給装置は、インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成する画像出力要求生成手段と、上記画像出力要求生成手段により生成された複数の画像出力要求を順番に上記画像出力装置へ送信し、また、上記画像データファイルを上記画像出力装置へ送信する送信手段とを有し、
上記画像出力装置は、上記画像出力要求および上記画像データファイルを受信する受信手段と、上記画像データファイルに基づき上記出力領域に画像を出力する画像出力手段と、上記画像出力手段を制御し、上記受信手段によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して上記画像出力手段により上記出力領域におけるインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にそのインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して上記画像出力手段によりインデックス画像出力を実行させる制御手段とを有すること、
を特徴とする画像出力システム。As an index image output, an image output device that outputs a plurality of images in a predetermined output area in a predetermined two-dimensional array based on a plurality of image data files, and an image output request for the index image output to the image output device And an image supply system that supplies a plurality of image data files specified by the image output request,
The image supply apparatus includes: an image output request generation unit configured to generate an image output request by dividing an image output request for index image output according to the number of images to be index image output; A plurality of image output requests generated by the request generating means in order to transmit to the image output apparatus, and a transmission means for transmitting the image data file to the image output apparatus,
The image output apparatus controls the image output request and the image data file, receiving means for receiving the image data file, image output means for outputting an image to the output area based on the image data file, and the image output means, When the image output request for index image output is received by the receiving means, the image output means executes index image output in the output area in response to the image output request for index image output, and the image output for index image output When a subsequent image output request for the index image output is received after the request, the continuation of the index image output from the continuation of the index image output corresponding to the subsequent image output request for the index image output. Control means for executing index image output by the image output means
An image output system characterized by
インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成する画像出力要求生成手段と、
上記画像出力要求生成手段により生成された画像出力要求を順番に上記画像出力装置へ送信し、また、上記画像データファイルを上記画像出力装置へ送信する送信手段と、
を備えることを特徴とする画像供給装置。An image supply device for transmitting an image output request for an index image output for outputting a plurality of images to a predetermined output area based on a plurality of image data files in a predetermined two-dimensional array as an index image output Because
Image output request generating means for generating a plurality of image output requests by dividing the image output request of the index image output according to the number of images to be index image output;
Transmitting means for sequentially transmitting the image output requests generated by the image output request generating means to the image output apparatus, and transmitting the image data file to the image output apparatus;
An image supply apparatus comprising:
上記画像データファイルを供給する画像供給装置から画像出力要求およびその画像データファイルを受信する受信手段と、
上記画像データファイルに基づき上記出力領域に画像を出力する画像出力手段と、
上記画像出力手段を制御し、上記受信手段によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して上記画像出力手段により上記出力領域にインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して上記画像出力手段によりインデックス画像出力を実行させる制御手段と、
を備えることを特徴とする画像出力装置。An image output device that receives a plurality of image data files and outputs a plurality of images to a predetermined output area in a predetermined two-dimensional array as an index image output based on the plurality of image data files,
A receiving means for receiving an image output request and the image data file from an image supply device that supplies the image data file;
Image output means for outputting an image to the output area based on the image data file;
When the image output means is controlled and an image output request for index image output is received by the receiving means, an index image output is output to the output area by the image output means in response to the image output request for index image output. When a subsequent image output request for index image output is received after an image output request for index image output, from the continuation of the index image output to the succeeding index image output for the same output area Control means for causing the image output means to execute index image output in response to an image output request;
An image output apparatus comprising:
前記制御手段は、上記要求解釈手段による画像出力要求の解釈が完了すると、次の画像出力要求を受付可能であることを示す通知を前記画像供給装置へ送信すること、
を特徴とする請求項7記載の画像出力装置。Storage means for storing the image output request received by the receiving means, and request interpreting means for interpreting the image output request stored by the storage means,
When the control means completes the interpretation of the image output request by the request interpreting means, the control means transmits a notification indicating that the next image output request can be accepted to the image supply apparatus.
The image output device according to claim 7.
前記制御手段は、インデックス画像出力の画像出力要求に従って出力したとすると画像の最終列に端数の画像が存在する場合、その最終列の1つ前の列まで画像を前記画像出力手段に出力させること、
を特徴とする請求項6から請求項8のうちのいずれか1項記載の画像出力装置。The image output means outputs an image for each row in a certain direction,
If the control means outputs in accordance with an image output request for index image output, if there is a fractional image in the last column of the image, the control means causes the image output means to output an image up to the previous row of the last row. ,
The image output device according to claim 6, wherein the image output device is an image output device.
前記制御手段は、インデックス画像出力の画像出力要求の次にインデックス画像出力の画像出力要求を受信すると、これらの画像出力要求の上記画像出力条件が同一である場合にのみ、それらのうちの、後に受信された画像出力要求を、前に受信された画像出力要求の後続の画像出力要求であると判定し、同一の出力領域に対して、上記前に受信された画像出力要求についてのインデックス画像出力の続きから、その後続の画像出力要求に対応して前記画像出力手段によりインデックス画像出力を実行させること、
を特徴とする請求項6から請求項11のうちのいずれか1項記載の画像出力装置。The receiving means receives an image output request including an image output condition for designating a selectable function at the time of image output,
When the control means receives an image output request for index image output after an image output request for index image output, only when the image output conditions of these image output requests are the same, It is determined that the received image output request is an image output request subsequent to the previously received image output request, and the index image output for the previously received image output request is output to the same output area. The index image output is executed by the image output means in response to the subsequent image output request.
The image output device according to claim 6, wherein the image output device is an image output device.
上記画像供給装置により、インデックス画像出力の対象となる画像の数に応じて、インデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成するステップと、
上記画像供給装置により、生成した複数の画像出力要求を順番に上記画像出力装置へ送信するステップと、
上記画像出力装置により、上記画像出力要求を受信するステップと、
上記画像出力装置により、上記画像出力要求により指定された画像データファイルを上記画像供給装置から取得するステップと、
上記画像出力装置によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して上記出力領域に上記画像データファイルに基づきインデックス画像出力を実行するステップと、
上記画像出力装置によりインデックス画像出力の画像出力要求の後にそのインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、上記インデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して上記画像データファイルに基づきインデックス画像出力を実行するステップと、
を備えることを特徴とする画像出力方法。Image output request for index image output for outputting a plurality of images in a predetermined output area in a predetermined two-dimensional array from the image supply device to the image output device, and a plurality of image data files specified by the image output request And outputting the index image by the image output device,
Generating a plurality of image output requests by dividing the image output request for index image output according to the number of images to be index image output by the image supply device;
Transmitting the plurality of generated image output requests to the image output device in order by the image supply device;
Receiving the image output request by the image output device;
Acquiring from the image supply device the image data file specified by the image output request by the image output device;
When an image output request for index image output is received by the image output device, executing an index image output based on the image data file in the output area in response to the image output request for index image output;
When an image output request subsequent to the index image output is received after the image output request for index image output by the image output device, the index image output is continued from the continuation of the index image output to the same output area. Performing an index image output based on the image data file in response to subsequent image output requests;
An image output method comprising:
上記画像供給装置は、上記テキストデータの制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入する制御コマンド生成手段と、上記制御コマンド生成手段により生成された複数の制御コマンドを順番に上記画像出力装置へ送信し、また、画像データファイルを上記画像出力装置へ送信する送信手段とを有し、
上記画像出力装置は、上記制御コマンドおよび画像データファイルを受信する受信手段と、上記制御コマンドに従って上記画像データファイルに基づき画像を出力する画像出力手段と、上記受信手段により受信されたテキストデータの上記制御コマンド内に上記所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、上記画像出力手段の処理を、上記受信手段により後続の制御コマンドが受信されるまで停止させ、上記受信手段により後続の制御コマンドが受信されると、その後続の制御コマンドに基づいて画像出力を再開させる制御手段とを有すること、
を特徴とする画像出力システム。An image output device that receives a control command related to image output as text data and outputs the control command based on an image data file; and an image supply device that supplies the control command and image data file of text data to the image output device. An image output system comprising:
The image supply device generates a plurality of control commands by dividing the control command according to the data amount of the control command for the text data, and the preceding control in which the subsequent control command exists among the control commands. A control command generation unit that inserts a predetermined character string indicating that a subsequent control command exists in the command, and a plurality of control commands generated by the control command generation unit are sequentially transmitted to the image output device, A transmission unit configured to transmit the image data file to the image output device;
The image output device includes a receiving unit that receives the control command and the image data file, an image output unit that outputs an image based on the image data file according to the control command, and the text data received by the receiving unit. If the predetermined character string is included in the control command, the processing of the image output means is stopped until the subsequent control command is received by the receiving means at the beginning or in the middle of the image output specified by the control command. Control means for restarting image output based on the subsequent control command when a subsequent control command is received by the receiving means.
An image output system characterized by
上記テキストコマンドの制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入する制御コマンド生成手段と、
上記制御コマンド生成手段により生成された複数の制御コマンドを順番に上記画像出力装置へ送信し、また、画像データファイルを上記画像出力装置へ送信する送信手段と、
を備えることを特徴とする画像供給装置。An image supply device that supplies a control command and an image data file of text data to an image output device that receives a control command related to image output as text data and outputs the control command based on an image data file,
According to the data amount of the control command of the above text command, the control command is divided to generate a plurality of control commands, and among those control commands, the subsequent control command has a subsequent control command. Control command generation means for inserting a predetermined character string indicating that a command exists;
A plurality of control commands generated by the control command generation means in order to transmit to the image output device, and a transmission means for transmitting an image data file to the image output device;
An image supply apparatus comprising:
上記制御コマンドおよび画像データファイルを受信する受信手段と、
上記制御コマンドに従って上記画像データファイルに基づき画像を出力する画像出力手段と、
上記受信手段により受信されたテキストデータの上記制御コマンド内に上記所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、上記画像出力手段の処理を、上記受信手段により後続の制御コマンドが受信されるまで停止させ、上記受信手段により後続の制御コマンドが受信されると、その後続の制御コマンドに基づいて画像出力を再開させる制御手段と、
を備えることを特徴とする画像出力装置。An image output device that receives a control command related to image output as text data and outputs the control command based on an image data file,
Receiving means for receiving the control command and the image data file;
Image output means for outputting an image based on the image data file in accordance with the control command;
When the predetermined character string is included in the control command of the text data received by the receiving unit, the processing of the image output unit is performed at the beginning or in the middle of the image output specified by the control command. Control means for stopping until a subsequent control command is received, and when the subsequent control command is received by the receiving means, a control means for restarting image output based on the subsequent control command;
An image output apparatus comprising:
上記画像供給装置により、上記テキストデータの制御コマンドのデータ量に応じて、制御コマンドを分割して複数の制御コマンドを生成し、それらの制御コマンドのうち、後続の制御コマンドが存在する先行の制御コマンドに、後続の制御コマンドが存在することを示す所定の文字列を挿入するステップと、
上記画像供給装置により、生成した複数の制御コマンドを順番に上記画像出力装置へ送信するステップと、
上記画像出力装置により、上記制御コマンドを受信するステップと、
上記画像供給装置により、上記画像データファイルを上記画像出力装置へ送信するステップと、
上記画像出力装置により、上記画像データファイルを受信するステップと、
上記画像出力装置により、上記制御コマンドに従って上記画像データファイルに基づく画像の出力を開始するステップと、
上記画像出力装置において、受信したテキストデータの上記制御コマンド内に上記所定の文字列がある場合、その制御コマンドにより指定された画像出力の最初または途中で、上記画像出力の処理を、後続の制御コマンドが受信されるまで停止するステップと、
上記画像出力装置において後続の制御コマンドが受信されると、その後続の制御コマンドに基づいて画像出力を再開するステップと、
を備えることを特徴とする画像出力方法。An image output method for transferring a control command and an image data file related to image output as text data from an image supply device to an image output device, and outputting an image based on the image data file according to the control command by the image output device. There,
The image supply device generates a plurality of control commands by dividing the control command according to the data amount of the control command for the text data, and the preceding control in which a subsequent control command exists among those control commands Inserting a predetermined character string indicating that a subsequent control command exists in the command;
Transmitting a plurality of generated control commands to the image output device in order by the image supply device;
Receiving the control command by the image output device;
Transmitting the image data file to the image output device by the image supply device;
Receiving the image data file by the image output device;
Starting output of an image based on the image data file according to the control command by the image output device;
In the image output device, when the predetermined character string is included in the control command of the received text data, the image output processing is performed at the beginning or during the image output specified by the control command. Stopping until a command is received;
When a subsequent control command is received in the image output device, resuming image output based on the subsequent control command;
An image output method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003196003A JP2005028730A (en) | 2003-07-11 | 2003-07-11 | Image output system, image supply device, image output device and method for outputting image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003196003A JP2005028730A (en) | 2003-07-11 | 2003-07-11 | Image output system, image supply device, image output device and method for outputting image |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005028730A true JP2005028730A (en) | 2005-02-03 |
Family
ID=34206673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003196003A Withdrawn JP2005028730A (en) | 2003-07-11 | 2003-07-11 | Image output system, image supply device, image output device and method for outputting image |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005028730A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1698963A2 (en) | 2005-03-03 | 2006-09-06 | Ricoh Company, Ltd. | Image printing control apparatus and image printing control method |
-
2003
- 2003-07-11 JP JP2003196003A patent/JP2005028730A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1698963A2 (en) | 2005-03-03 | 2006-09-06 | Ricoh Company, Ltd. | Image printing control apparatus and image printing control method |
US7706009B2 (en) | 2005-03-03 | 2010-04-27 | Ricoh Company, Ltd. | Image printing control apparatus and image printing control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8390839B2 (en) | Image formation system, information processor, and computer-readable recording medium to select apparatus for executing process | |
US9135360B2 (en) | Information transmission apparatus, control method thereof, and recording medium storing computer program | |
US20110128572A1 (en) | Printing apparatus, printing method and storage medium | |
WO2004009362A1 (en) | Printing system | |
JP2010267067A (en) | System and apparatus for processing information, and signal transmitting device | |
JP2004070868A (en) | Image data sending device and image data sending/receiving system | |
JP2004254296A (en) | Recording device, communication device, recording system, and its control method | |
US9386082B2 (en) | Information processing apparatus, and control method and storage medium therefor | |
CA2566483A1 (en) | Method of providing multimedia data for direct printing, direct printing method and apparatus thereof | |
JP2006347110A (en) | Image forming device and alternate printing control program | |
JP4259071B2 (en) | Printing system | |
JP4374916B2 (en) | Image input device, image output device, and image output system | |
JP2005028730A (en) | Image output system, image supply device, image output device and method for outputting image | |
JP2002036679A (en) | Imaging system and imaging method | |
JP2008269566A (en) | Printer driver program, and printer system having the same | |
JP2004351793A (en) | Image output unit, image output system, and image output method | |
JP2001109591A (en) | Printer, printing method, print system with printers, and recording medium where plural-printer selecting and transferring processing program is recorded | |
JP6299643B2 (en) | Job management system and image forming apparatus | |
JP2001047706A (en) | Imaging system in network environment | |
JP2001260435A (en) | Imaging apparatus | |
JP2000151756A (en) | Network system and data transferring method | |
JP2001138595A (en) | Printing system and printer | |
JP2003256154A (en) | Image output system | |
JP2005004457A (en) | Image output system, image output device, and terminal device | |
JP2005004458A (en) | Image output system, computer, and computer-readable program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20061003 |