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 PDF

Info

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
Application number
JP2003196003A
Other languages
Japanese (ja)
Inventor
Hideki Morozumi
秀樹 両角
Kenji Sakuta
健二 作田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003196003A priority Critical patent/JP2005028730A/en
Publication of JP2005028730A publication Critical patent/JP2005028730A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image output system comprising an image supply device and an image output device in which the image output device securely receives an image output request command concerning an index image output and can correctly execute the index image output. <P>SOLUTION: The image supply device 1 forms a plurality of image output requests by dividing the image output request for the index image output depending on the number of images intended for the index image output and transmits them successively to the image output device 2. The image output device 2 executes the index image output in an output area corresponding to the image output request for the index image output when the image output request for the index image output is received, and executes the index image output from the continuation of the last index image output to the same output area corresponding to the image output request for the index image output when the image output request for the index image output is received after the last image output request. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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, Patent Documents 1 and 2).
[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]
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of an image output system according to Embodiment 1 of the present invention. In FIG. 1, an image supply apparatus 1 is an 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 an image output apparatus 2. The index image output refers to outputting a plurality of images to a predetermined output area in a predetermined two-dimensional array in the image output apparatus 2. An example of index image output is index printing. The image output request includes an image output condition and designation of an image data file of an image to be output. The image output condition is a description part that designates a function that can be selected at the time of image output. For example, in the case of printing, designation of the size of the printing paper, designation of the quality of the printing paper, designation of the printing layout, and the like are the image output conditions. Further, in the case of an image output request for index printing, the image output condition includes a designation of index image output as a layout designation.
[0051]
The form of the image supply device 1 can be a digital camera device, various electronic devices that incorporate an image pickup device that electronically picks up images. Further, the form of the image output device 1 may be an electronic device that can incorporate a recording medium for storing an image data file without incorporating an imaging device. In addition to the above, these electronic devices include personal computers, mobile phones, PDAs (Personal Digital Assistants), music players, television receivers, video recording / playback devices, television phones, television vision conferencing devices, and the like. . The image supply device 1 may be a portable device or a device that is not very portable.
[0052]
The image output device 2 is connected to the image supply device 1 via the communication path 3 and is supplied with an image data file. As an index image output, a plurality of images are output in a predetermined output area in a predetermined two-dimensional array. Is output based on a plurality of image data files. The form of the image output device 2 may be a printer device, a device that records an image on various materials other than the printer device, a display device that displays an image, a projection device that projects an image, or the like.
[0053]
The communication path 3 is a wired or wireless communication path. When the communication path 3 is wired, it is a cable of a predetermined interface, and when the communication path 3 is wireless, it is a wireless link.
[0054]
FIG. 2 is a block diagram showing a configuration example of the image supply device 1 in the image output system according to Embodiment 1 of the present invention. In FIG. 2, an MPU 11 is an arithmetic processing unit that executes a program and executes processing described in the program. The MPU 11 includes an SRAM (Static RAM) 31 that can be accessed in a shorter time than the external DRAM 13. The SRAM 31 is used as a cache or the like, and temporarily stores programs and data. The ROM 12 is a nonvolatile memory that stores programs and data in advance. A DRAM (Dynamic RAM) 13 is a memory that temporarily stores the program and data when the program is executed. Generally, the DRAM 13 is slower than the SRAM 31 but has a larger capacity.
[0055]
The storage unit 14 is a recording medium that stores an application program such as a program 41 that executes the following image output control process, and a plurality of image data files 42. As the storage unit 14, for example, a rewritable nonvolatile memory, a memory card, a magnetic recording medium, or the like is used. The storage unit 14 may be detachable from the image supply apparatus 1. The image data file 42 is a data file stored in an image data format such as JPEG (Joint Photographic Experts Group) or EXIF (EXchangeable Image File format).
[0056]
The communication circuit 15 is a circuit connected to the bus 20 such as a personal computer peripheral device interface, a network interface card, and a modem. When the communication path 3 is wired, the communication circuit 15 is connected to the cable of the communication path 3. When the communication path 3 is wireless, the communication circuit 15 is a wireless device, a wireless LAN card, a baseband portion of a mobile phone, or the like. As the communication circuit 15, for example, a USB (Universal Serial Bus) interface is used.
[0057]
The interface 17 is an interface circuit that is connected to the bus 20 and can be connected to an input device 16 such as a keyboard, a mouse, a switch provided on a housing, and a dial.
[0058]
The image processing circuit 19 is connected to the bus 20 and outputs an image signal corresponding to the data when the image data is written. A display device 18 that displays an image based on the image signal can be connected to the image processing circuit 19. As the display device 18, for example, a liquid crystal display provided in a housing is used.
[0059]
The bus 20 is a signal path that interconnects the MPU 11, ROM 12, DRAM 13, storage unit 14, communication circuit 15, interface 17, and image processing circuit 19. The number of buses 20 and the connection form to the buses 20 such as the MPU 11 are not limited to those shown in FIG.
[0060]
FIG. 3 is a block diagram illustrating a configuration example of the image output apparatus 2 in the image output system according to Embodiment 1 of the present invention. In FIG. 3, an MPU 51 is an arithmetic processing unit that executes a program and executes processing described in the program. The MPU 51 incorporates an SRAM 61 that can be accessed in a shorter time than the external DRAM 53. The SRAM 61 is used as a cache or the like and temporarily stores programs and data. The ROM 52 is a nonvolatile memory that stores programs and data in advance. The DRAM 53 is a memory that temporarily stores the program and data when the program is executed. In general, the DRAM 53 is slower than the SRAM 61 but has a larger capacity.
[0061]
The storage unit 54 is a recording medium that stores an application program such as a program 71 that executes the following image output control process. As the storage unit 54, for example, a nonvolatile memory capable of rewriting data is used.
[0062]
The communication circuit 55 is a circuit connected to the bus 59, such as an interface for a peripheral device for personal computers, a network interface card, a modem, or the like. When the communication path 3 is wired, the communication circuit 55 is connected to the cable of the communication path 3. When the communication path 3 is wireless, the communication circuit 55 is a wireless device, a wireless LAN card, a baseband portion of a mobile phone, or the like. For example, a USB interface is used as the communication circuit 55.
[0063]
The interface 57 is an interface circuit that is connected to the bus 59 and can be connected to an input device 56 such as a switch or a dial provided in the housing.
[0064]
The image output unit 58 is connected to the bus 59, supplied with image output control data, and outputs an image based on the image output control data. For example, when the image output device 2 is a printing device, the image output unit 58 is supplied with print control data such as ESC / P (Epson Standard Code for Printer) and prints an image based on the print control data. It is supposed to be a part to do. For example, when the image output device 2 is a display device or a projection device, the image output unit 58 is supplied with image drawing data, and supplies a video signal to the display device or projection device based on the image drawing data. The image is displayed.
[0065]
The bus 59 is a signal path that connects the MPU 51, ROM 52, DRAM 53, storage unit 54, communication circuit 55, and interface 57 to each other. The number of buses 59 and the connection form to the buses 59 such as the MPU 51 are not limited to those shown in FIG.
[0066]
FIG. 4 is a diagram illustrating an example of a protocol used between the image supply device 1 and the image output device 2 in the image output system according to the first embodiment of the present invention. 4A is a diagram showing a protocol hierarchy of the entire image output system, and FIG. 4B is a diagram showing a detailed hierarchical structure of the DPDP protocol layers 84a and 84b.
[0067]
In the first embodiment, first, as the physical layer 81, the communication path 3 that is a USB cable, the signal transmission / reception circuit in the communication circuit 15 as the USB device side interface, and the signal in the communication circuit 55 as the USB host side interface A transmission / reception circuit is used.
[0068]
As a layer for controlling the physical layer 81, the USB layer 82a is realized by the communication circuit 15 of the image supply apparatus 1 as a USB device side interface, and by the communication circuit 55 of the image output apparatus 2 as a USB host side interface. The USB layer 82b is realized. In the USB layers 82a and 82b, a still image class (SIC) is used as a USB device class. Thus, a data transmission path between the image supply device 1 and the image output device 2 is realized.
[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 communication path 3, the image supply device 1 is a USB device, and the image output device 2 is a USB host.
[0070]
In the first embodiment, in the upper layers of the USB layers 82a and 82b, the programs 41 and 71 control the digital still image device (DSPD) from the outside and the image data to the outside of the digital still image device (DSPD). PTP layers 83a and 83b that transmit and receive data files according to an image transfer protocol (PTP) that defines transfer are realized. As a standard for PTP, there is “PIMA 15740: 2000” of PHOTOGRAPHIC AND IMAGEING MANUFACTURERS ASSOCIATION, INC. PTP is a protocol that provides a communication method for exchanging image data between DSPDs. In PTP, objects (image data files, etc.) in storage are specified by object IDs (object handles) instead of paths. Is done.
[0071]
Further, in the first embodiment, the image data stored in the image supply device 1 is directly supplied to the image output device 2 via the communication path 3 above the PTP layers 82a and 82b to output the image. In accordance with a direct image output protocol (hereinafter referred to as a DPDP protocol) that is a predetermined protocol for performing image processing, DPDP layers 84a and 84b that control image output processing by transmitting and receiving control information related to image output are provided as programs 41 and 71, respectively. It is realized by. The DPDP layer 84a of the image supply apparatus 1 is a processing unit on the device side (client side), and the DPDP layer 84b of the image output apparatus 2 is a processing unit on the host side (server side). The XML script received by the DPDP layers 84a and 84b is stored in a predetermined memory area provided in the SRAMs 31 and 61 in advance. The predetermined memory area in the SRAM 31 is about 1 kilobyte in the low-end model, and the predetermined memory area in the SRAM 61 is about 64 kilobytes in the low-end model. Therefore, the image supply device 1 transmits a control command for the amount of data that can be communicated by an XML script described later without any problem even if the communication memory area of the image output device 2 is 64 kilobytes.
[0072]
In the DPDP protocol layers 84a and 84b, control information related to image output between the image supply device 1 and the image output device 2 is a series of scripts (in this case, XML; eXtensible Markup Language) described in a series of scripts ( Text data) is transmitted and received via the communication path 3. Note that the control information related to image output includes various commands in image output, responses to the commands, notification of the status of the apparatus and image output job, and the like. The script includes only control information, and does not include the image data file itself that is the target of image output. That is, information such as the storage location of the image data file is included in this script, but the image data itself is not included.
[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 transport layer 91 that exchanges control information corresponding to the input / output format (command set, response format) of the lower layer. Therefore, the lower layers of the DPDP protocol layers 84a and 84b are not limited to the PTP layers 83a and 83b, and the transport layer 91 is changed according to the lower layers.
[0074]
In the DPDP protocol layers 84a and 84b, an XML processing layer 92 for generating and interpreting an XML script including control information is provided above the transport layer 91, and further, control information is provided above the XML processing layer 92. An application layer 93 is provided for transmitting and receiving the image and proceeding with the image output process.
[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 image supply device 1 during index image output processing by the image output system according to Embodiment 1 of the present invention. FIG. 6 is a flowchart for explaining the operation of the image output apparatus 2 during index image output processing by the image output system according to Embodiment 1 of the present invention.
[0076]
In the image supply device 1 and the image output device 2, the MPUs 11 and 51 execute the programs 41 and 71 when starting up or when the user performs a predetermined operation on the input devices 16 and 56. Thereby, a processing unit having a hierarchical structure of the processing units shown in FIG. 4 is realized. Further, the image supply device 1 and the image output device 2 are physically connected by the communication path 3 by the user as necessary. After connection through the communication path 3, a data transmission path is established by the processing units below the USB layers 82a and 82b.
[0077]
Then, when an execution of the index image output process is instructed by a predetermined operation by the user with respect to the input device 16 of the image supply device 1, the DPDP layer 84a of the image supply device 1 first sets an image to be an index image output target. The data file and the number thereof are specified (step S1).
[0078]
Next, the DPDP layer 84a of the image supply device 1 generates and transmits an image output request for causing the image output device 2 to output an image. At that time, first, the DPDP layer 84a of the image supply device 1 specifies a plurality of image data files up to a predetermined predetermined reference number among the image data files to be index image output targets (step S2). Then, the DPDP layer 84a of the image supply device 1 generates an image output request for outputting an index image for image data files equal to or less than the specified predetermined number (step S3).
[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 DPDP layer 84a of the image supply device 1 transmits the generated image output request. At that time, in the DPDP layer 84a of the image supply device 1, the transport layer 91 supplies a command to the lower layer (here, the PTP layer 83a), and the XML script of the image output request generated by the XML processing layer 92 is It transmits to the image output apparatus 2 as one data file (step S4). The data file of the XML script transmitted by the DPDP layer 84a of the image supply device 1 is transferred to the image output device 2 via the USB layers 82a and 82b and the physical layer 81 by the PTP layers 83a and 83b.
[0081]
Then, the DPDP layer 84a of the image supply device 1 determines whether or not an image output request has been transmitted for all of the image data files that are specified in step S1 and are to be index image output (step S5).
[0082]
When the DPDP layer 84a of the image supply device 1 determines that the image output request has been transmitted for all of the image data files that are the targets of the index image output, the transmission of the image output request is completed. On the other hand, if the DPDP layer 84a of the image supply device 1 determines that the image output request has not been transmitted for all of the image data files to be index image output, the DPDP layer 84a of the image supply device 1 Wait until the image output device 2 can receive the next image output request (step S6).
[0083]
On the other hand, in the image output device 2, the PTP layer 83 b receives the XML script from the image supply device 1 and stores it in a predetermined memory area in the SRAM 61. When the reception of the XML script by the PTP layer 83b is notified to the transport layer 91 of the DPDP layer 84b of the image output apparatus 2 (step S21), the XML script is interpreted by the XML processing layer 92 of the DPDP layer 84b. Then, the content of the image output request as the XML script is supplied to the application layer 93 (step S22).
[0084]
If the application layer 93 of the DPDP layer 84b of the image output apparatus 2 determines that the image output request is an image output request for index image output, the application layer 93 can accept the next image output request (step S23). At that time, the application layer 93 of the DPDP layer 84b of the image output apparatus 2 releases the memory area for the received image output request, and notifies that the new image output request can be received as an XML script. It transmits to the image supply apparatus 1. This XML script is transferred as one file from the image output apparatus 2 to the image supply apparatus 1 according to PTP.
[0085]
Then, the application layer 93 of the DPDP layer 84b of the image output apparatus 2 starts a timer (not shown) and starts timing. Note that the starting point for this timing is, for example, the timing at which the notification is transmitted to the image supply device 1. However, the starting point of this timing may be the timing when the image output request is received, or may be the timing when the image output request is determined to be for the index image output by the interpretation of the image output request. In these cases, a predetermined time measurement in step S27 described later is set according to the timing of the starting point.
[0086]
Then, the DPDP layer 84b of the image output device 2 acquires the image data file specified by the received image output request for the index image output from the image supply device 1, and outputs the index image under the conditions specified by the image output request. Is executed by the image output unit 58 (step S25). At that time, the DPDP layer 84b of the image output apparatus 2 transmits a file transmission request for each image data file designated by the image output request to the image supply apparatus 1 as an XML script. The image supply device 1 reads out the image data file designated by the file transmission request from the storage unit 14 and transmits it to the image output device 2. In the image output device 2, the image data file designated by the image output request is received and stored in the DRAM 13. This image data file is converted into image output data for the image output unit 58 by the MPU 51 in accordance with the program 71, and the converted image output data is supplied to the image output unit 58. In this way, index image output is performed. Then, when the index image output designated by the image output request is completed, the DPDP layer 84b of the image output apparatus 2 causes the image output unit 58 to wait in the state at the time of completion.
[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 Embodiment 1 of the present invention. As shown in FIG. 7, for example, when the image 111 is output in a two-dimensional array of 4 columns and 5 columns in the output area 101 and preset in the image output apparatus 2, the first When 16 images 111 are output in the image output based on the image output request, and the fraction of the image is generated in the output area 101, the DPDP layer 84b of the image output apparatus 2 keeps the image output unit 58 in the state shown in FIG. Wait.
[0088]
Further, the DPDP layer 84b of the image output apparatus 2 monitors whether the next image output request is received until the elapsed time of the timer reaches a predetermined time (steps S26 and S27).
[0089]
On the other hand, when the DPDP layer 84a of the image supply device 1 receives a notification that the next image output request can be received during the standby in step S6, A predetermined reference number of image data files are identified (step S2), and the next image output request for these image data files is generated (step S3) and transmitted (step S4). Thereafter, as in the case described above, when the DPDP layer 84a of the image supply device 1 determines that the image output request has been transmitted for all of the image data files to be index image output, the image output request is transmitted. When it is determined that the image output request has not been transmitted for all of the image data files to be index image output, the DPDP layer 84a of the image supply device 1 causes the image output device 2 to display the next image. It waits again until the output request can be received (step S6).
[0090]
When the next image output request is received from the image supply device 1 before the elapsed time of the timer exceeds the predetermined time, the DPDP layer 84b of the image output device 2 interprets the image output request (step S28).
[0091]
When the DPDP layer 84b of the image output apparatus 2 determines that the image output request is an image output request subsequent to the index image output being executed, the DPDP layer 84b can accept the next image output request (step S29). The time count is reset to zero (step S30), and the image output request is made to be an image output request subsequent to the previously received image output request, and the index output is restarted by the image output unit 58 according to the image output request (step S30). Step S31).
[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 Embodiment 1 of the present invention. As shown in FIG. 8, for example, when the image 111 is output in a two-dimensional array of 4 columns and 5 columns in the output area 101 and is preset in the image output device 2, FIG. When the image output unit 58 is on standby in the state shown in FIG. 8, the DPDP layer 84b of the image output device 2 resumes index image output, and the index starts from the continuation of the standby position in a certain output area 101 as shown in FIG. Output the image. Note that the movement from one output area 101 to the next output area 101 is switching of printing paper or switching of the display page of the display screen.
[0093]
Then, the DPDP layer 84b of the image output apparatus 2 monitors again whether the next image output request has been received (steps S26 and S27). Thereafter, every time an image output request for outputting an index image is received within a predetermined time, the DPDP layer 84b of the image output apparatus 2 repeats the processes of steps S28 to S31.
[0094]
When the image output request for index image output is not received within a predetermined time, the DPDP layer 84b of the image output apparatus 2 determines that the image output request for index image output received last is a series of index image output images. It is determined that the output request is the last one, and the index image output is completed.
[0095]
As described above, according to the first embodiment, in the image supply device 1, the DPDP layer 84 a functioning as an image output request generation unit has its index image according to the number of images to be index image output. The communication circuit 15 that functions as a transmission unit divides the output image output request to generate a plurality of image output requests, and sequentially transmits the plurality of image output requests generated by the DPDP layer 84a to the image output device 2. In addition, the image data file 42 is transmitted to the image output apparatus 2. On the other hand, in the image output device 2, the communication circuit 55 that functions as a receiving unit receives an image output request and an image data file, and the image output unit 58 that functions as an image output unit in the output area 101 based on the image data file. The image 111 is output. Then, when the DPDP layer 84b functioning as a control unit controls the image output unit 58 and an image output request for index image output is received by the communication circuit 55, an image corresponding to the image output request for index image output is received. When the output unit 58 causes the output area 101 to execute index image output, and a subsequent image output request for index image output is received after the image output request for index image output, the previous output to the same output area 101 is performed. From the continuation of the index image output, the image output unit 58 executes the index image output in response to an image output request subsequent to the index image output.
[0096]
As a result, a plurality of image output request commands related to the index image output from the image supply device 1 are reliably received by the image output device 2, and the index output is accurately executed by the image output device 2. Note that the image supply device 1 automatically divides an image output request into a plurality of images as necessary as described above when the user performs one operation on the input device 16 to output an index image.
[0097]
Furthermore, according to the first embodiment, the communication circuit 15 of the image supply device 1 is the same based on the command of the DPDP layer 84a after the image output device 2 can accept the next image output request. The image output request subsequent to the index image output is transmitted.
[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 DPDP layer 84b of the image output device 2 transmits a notification indicating that the next image output request can be accepted at a predetermined timing to the image supply device 1, and the timing thereof. Only when a subsequent image output request for index image output is received before the predetermined time elapses from the continuation of the previous index image output to the subsequent output of the index image output for the same output area In response to the image output request, the image output unit 58 executes index image output.
[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 SRAM 61 functioning as a storage unit stores the image output request received by the communication circuit 15. Then, the XML processing unit 92 functioning as a request interpretation unit interprets the image output request stored in the SRAM 61. When the interpretation of the image output request by the XML processing unit 92 is completed, the DPDP layer 84b transmits a notification indicating that the next image output request can be accepted to the image supply device 1.
[0103]
Thereby, the next image output request for the series of index image outputs can be acquired from the image supply apparatus 1 earlier, and the time required for the series of index image outputs can be shortened. In particular, even when the image output apparatus 2 does not have a queue (queue) means (FIFO (First-In First-Out) buffer or the like) for an image output request, an image related to the previous image output request. By transmitting the notification before the output process is completed, the next image output request can be immediately interpreted following the previous image output request.
[0104]
In the first embodiment, when a plurality of independent index image outputs are continuously performed, the communication circuit 15 of the image supply apparatus 1 transmits an image output request for index image output, and the image output apparatus 2 The image output request for the next index image output may be transmitted after the image output by is completed and the image output apparatus is in the idle state. At this time, when the series of image output is completed and the job is exhausted, the image output device 2 transmits a notification that the image supply device 1 is in an idle state, and the image supply device 1 receives the notification. Then, it is recognized that the image output apparatus 2 is in an idle state.
[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 communication circuit 55 receives an image output request including an image output condition, and the DPDP layer 84b issues two image output requests for index image output. When receiving continuously, only when the image output conditions of these image output requests are the same, for the same output area, from the continuation of the previous index image output, the subsequent image output request of the index image output In response to this, the index output may be executed by the image output unit 58. In such a case, an image output request related to a series of index image outputs can be accurately identified, and the index image output can be executed accurately. Further, this may be done when all of the image output conditions are the same, or when a predetermined part of the image output conditions (for example, a part designating index image output) is the same. It may be.
[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 MPU 51 performs color conversion processing, halftoning processing, and the like on the image data of the image data file according to the program 71, and print control such as ESC / P from the processed image data. Data is generated. The image output unit 58 also includes a recording mechanism that records an image on a medium such as printing paper, a feeding mechanism that feeds paper, ejects paper, feeds paper during recording, a driving mechanism that drives these, and an electrical mechanism that drives the driving mechanism. A print control data such as ESC / P is supplied, and an image is printed based on the print control data.
[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 image supply device 1 in the image output system according to the second embodiment is the same as that in the first embodiment, the description thereof will be omitted and the operation of the image output device 2 will be described. FIG. 9 is a flowchart for explaining the operation of the image output apparatus 2 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 the details of the initial index printing process in FIG. FIG. 11 is a flowchart for explaining the details of the continuous index printing process in FIG. FIG. 12 is a flowchart for explaining the details of the final index printing process in FIG.
[0110]
In the image supply device 1 and the image output device 2, the MPUs 11 and 51 execute the programs 41 and 71 when starting up or when the user performs a predetermined operation on the input devices 16 and 56. Thereby, a processing unit having a hierarchical structure of the processing units shown in FIG. 4 is realized. Further, the image supply device 1 and the image output device 2 are physically connected by the communication path 3 by the user as necessary. After connection through the communication path 3, a data transmission path is established by the processing units below the USB layers 82a and 82b.
[0111]
When the execution of the index printing process is instructed by a predetermined operation by the user with respect to the input device 16 of the image supply device 1, the DPDP layer 84a of the image supply device 1 first sets an image data file to be index printed. And the number is specified (step S1). For example, when image data files in a predetermined folder in the storage unit 14 are selected in a batch based on a menu display by the input device 16 and the display device 18 and a user interface using a cursor, the contents in the folder are selected. Image data files are identified and the number thereof is counted.
[0112]
Next, the DPDP layer 84a of the image supply device 1 generates and transmits an image output request for causing the image output device 2 to perform index printing. At that time, first, the DPDP layer 84a of the image supply device 1 specifies a plurality of image data files up to a predetermined reference number among the image data files to be index printed (step S2). Then, the DPDP layer 84a of the image supply device 1 generates an image output request for index printing for the image data file having the specified reference number or less (step S3). This reference number is set in the same manner as in the first embodiment. The DPDP layer 84a of the image supply device 1 transmits the generated image output request in the same manner as in the first embodiment (step S4). Then, the DPDP layer 84a of the image supply device 1 determines whether or not an image output request has been transmitted for all of the image data files to be index printed (step S5).
[0113]
When the DPDP layer 84a of the image supply device 1 determines that the image output request has been transmitted for all of the image data files to be index printed, the transmission of the image output request is completed. On the other hand, if the DPDP layer 84a of the image supply apparatus 1 determines that the image output request has not been transmitted for all of the image data files to be index printed, the DPDP layer 84a of the image supply apparatus 1 Wait until the output device 2 can receive the next image output request (step S6).
[0114]
The data file of the XML script transmitted by the DPDP layer 84a of the image supply device 1 is transferred to the image output device 2 by the USB layers 82a and 82b and the physical layer 81.
[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 SRAM 61. When the reception of the XML script by the PTP layer 83b is notified to the transport layer 91 of the DPDP layer 84b of the image output apparatus 2 (step S41), the XML processing layer 92 of the DPDP layer 84b interprets the XML script. Then, the content of the image output request as the XML script is supplied to the application layer 93 (step S42).
[0116]
If the application layer 93 of the DPDP layer 84b of the image output apparatus 2 determines that the image output request is an image output request for index printing, the application layer 93 can accept the next image output request (step S43). At that time, the application layer 93 of the DPDP layer 84b of the image output apparatus 2 releases the memory area for the received image output request, and notifies that the new image output request can be received as an XML script. It transmits to the image supply apparatus 1.
[0117]
Then, the application layer 93 of the DPDP layer 84b of the image output apparatus 2 starts a timer (not shown) and starts timing. Note that the starting point for this timing is, for example, the timing at which the notification is transmitted to the image supply device 1. However, the starting point of this timing may be the timing at which the image output request is received, or may be the timing at which this image output request is determined to be for index printing by interpretation of the image output request. In those cases, a predetermined time is set in step S47, which will be described later, according to the timing of the starting point.
[0118]
The DPDP layer 84b of the image output apparatus 2 regards the received image output request as the first image output request for index printing, acquires the image data file specified by the image output request from the image supply apparatus 1, The initial index printing process is executed under the conditions specified by the image output request (step S45).
[0119]
In the initial index printing process, as shown in FIG. 10, first, the DPDP layer 84 b of the image output apparatus 2 determines the number of image data files specified in the received first image output request, and the image output apparatus 2. Index printing of the image of the image data file specified in the first image output request based on the image arrangement (number of vertical images and horizontal images on one print sheet) If printing is to be performed along the arrangement, it is determined whether or not a fraction occurs in the last image column to be printed (step S101).
[0120]
Next, when it is determined that a fraction occurs in the last image column to be printed, the DPDP layer 84b of the image output apparatus 2 causes the image output unit 58 to execute index printing up to the column immediately before the last column, Then, it is made to wait (step S102). At that time, the image output unit 58 stops the operation of the paper feeding function without feeding paper so that the next image can be printed in the next row of the printed image row. On the other hand, if it is determined that no fraction occurs in the last image column to be printed, the DPDP layer 84b of the image output apparatus 2 causes the image output unit 58 to execute index printing up to the last column, and then waits (step). S103).
[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 DRAM 53 holds the 37th and 38th image data files, and the image output unit 58 enters a standby state.
[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 DRAM 53 in the same manner as in the first embodiment.
[0123]
The DPDP layer 84b of the image output apparatus 2 monitors whether the next image output request has been received until the elapsed time of the timer reaches a predetermined time (steps S46 and S47).
[0124]
On the other hand, when the DPDP layer 84a of the image supply apparatus 1 receives the above notification during standby in step S6, the DPDP layer 84a identifies a predetermined reference number of image data files among the remaining image data files in a series of index image outputs. Then, a subsequent image output request for these image data files is generated (step S3) and transmitted within a predetermined time (that is, before the image output device 2 is in an idle state) (step S2). S4). Thereafter, as in the case described above, when the DPDP layer 84a of the image supply device 1 determines that the image output request has been transmitted for all of the image data files to be index printed, the image output request is transmitted. When it is determined that the image output request has not been transmitted for all the image data files to be index-printed, the DPDP layer 84a of the image supply device 1 causes the image output device 2 to execute the next image output request. (Step S6).
[0125]
When the next image output request is received from the image supply device 1 before the elapsed time of the timer exceeds the predetermined time, the DPDP layer 84b of the image output device 2 interprets the image output request (step S48).
[0126]
If the DPDP layer 84b of the image output apparatus 2 determines that the image output request is an image output request for index printing, the next image output request can be accepted (step S49), and the timer time is reset to zero. Then, the continuous index printing process is executed with the image output request as an image output request subsequent to the previously received image output request (step S51). When it is determined that the image output request is not an image output request subsequent to index printing but an image output request for a completely different image output, the DPDP layer 84b of the image output apparatus 2 determines the final index described later. A printing process is executed, and then a completely different image is output according to the image output request.
[0127]
In the continuous index printing process, as shown in FIG. 11, first, the DPDP layer 84b of the image output apparatus 2 has no fraction in the last column in the printing process corresponding to the preceding image output request in the series of index printing. It is determined whether a print image exists (step S121).
[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 DPDP layer 84b of the image output device 2 receives the image specified by the image output request received this time. Based on the sum of the number of data files and the number of unprinted images related to the previous image output request, and the arrangement of images in index printing in the image output apparatus 2, printing from the last unprinted column last time Then, it is determined whether or not a fraction occurs in the last image row (step S122).
[0129]
If it is determined that printing will occur in response to the current image output request, the DPDP layer 84b of the image output apparatus 2 will not print the previously unprinted image in the current printing process. The image output unit performs index printing from the last column for the previous image output request to the previous column for the last image output request based on the image data file and the image data file specified this time 58, and then waits (step S123). On the other hand, if it is determined that there is no fraction in the last image column even if printing is performed in response to the current image output request, the DPDP layer 84b of the image output apparatus 2 performs the previous unprinted print in the current print processing. Based on the image data file of the image and the image data file specified this time, the image output unit 58 executes index printing from the last column for the previous image output request to the last column for the current image output request, Then, it is made to wait (step S124).
[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 DPDP layer 84b of the image output apparatus 2 receives the image output request received this time. Based on the number of image data files specified by, and the arrangement of images in index printing in the image output device 2, if printing is attempted from the next column of the previous printing, the current image output request is satisfied. When printing is performed, it is determined whether or not a fraction occurs in the last image row (step S125).
[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 DPDP layer 84b of the image output device 2 will use the image data specified this time in the current printing process. Based on the file, the image output unit 58 executes index printing from the next column of the last column for the previous image output request to the previous column of the last column for the current image output request, and then Wait (step S126). On the other hand, if it is determined that no fraction is generated in the last image column when printing is performed in response to the current image output request, the DPDP layer 84b of the image output device 2 performs the image specified this time in the current print processing. Based on the data file, the index output is executed by the image output unit 58 from the column next to the last column for the previous image output request to the last column for the current image output request, and then waits (step S127). ).
[0132]
Then, the DPDP layer 84b of the image output apparatus 2 monitors again whether the next image output request has been received (steps S46 and S47). Thereafter, every time an image output request for outputting an index image is received within a predetermined time, the DPDP layer 84b of the image output apparatus 2 repeats the processes of steps S48 to S51.
[0133]
If the image output request for index image output is not received within a predetermined time, the DPDP layer 84b of the image output device 2 determines that the last received image output request for index image output is a series of index print image output requests. The final index printing process is determined (step S52), and the index printing is completed.
[0134]
In the final index printing process, as shown in FIG. 12, the DPDP layer 84b of the image output apparatus 2 has a fraction in the last column at the time of printing corresponding to the previous image output request in a series of index printing, and an unprinted image is displayed. It is determined whether or not it exists (step S141).
[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 DPDP layer 84b of the image output apparatus 2 performs an unprinted image related to the previous image output request. The image in the final column is printed on the image output unit 58, and then the index printing is completed (step S142). On the other hand, if it is determined that an unprinted image has not occurred during printing by the previous image output request in a series of index printing, the DPDP layer 84b of the image output apparatus 2 prints the image output unit 58 as it is. Complete. Thereby, when printing is completed, the image output unit 58 appropriately executes processing such as paper discharge. When there is no print job, the DPDP layer 84b enters an idle state and transmits a notification to that effect to the image supply apparatus 1.
[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 image output apparatus 2, 20 images of 5 × 4 are printed on one printing sheet 301, and 86 images stored in the image supply apparatus 1 are printed. Assume that the data file 42 is a target of index printing, the reference number is 38, and a maximum of 38 image data files are specified in one image output request. Here, the reference number is set to 38 for convenience of explanation, but it is highly possible that the reference number is about 600. For example, when the memory area for communication using the DPDP protocol in the SRAM 61 is 64 kilobytes, if a text data amount of about 50 bytes is required to specify one image data file in the image output request, The reference number is about 1250 or less. In addition to simply designating an image data file, if each image data file is designated as text data such as a date for printing a date, a file name for printing a file name, etc., one image output request is included in the image output request. The amount of text data of about 100 bytes is required for specifying the image data file, and the reference number is about 640 or less.
[0139]
First, the image supply device 1 generates the first image output request 201-1 shown in FIG. 13 for the first 38 image data files of the 86 image data files.
[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 element group 211 indicating printing conditions is described in the first part, and thereafter, an element group 212 specifying 38 image data files to be index printed. Is described.
[0141]
In the element group 211 indicating the printing conditions, the print quality is set in the element based on the tag Quality, the size of the printing paper is set in the element based on the tag PaperSize, the type of the printing paper is set in the element based on the tag PaperType, and the tag FileType is used. The format of the image data file is set in the element, the date printing on / off is set in the element by the tag DatePrint, the image optimization processing is turned on / off in the element by the tag ImageEnhancement, and the image of the image in the element by the tag Layout is set. The print layout is set.
[0142]
In this example, in the element 211a, the print layout is set to index printing. In the case of index printing, the arrangement at the time of printing and the print size of each image are set in advance in the image output apparatus 2, and in general, such information is not notified to the image supply apparatus 1. When setting the printing arrangement on the image supply apparatus 1 side, the print layout may be set to 1 up, 2 up, etc. in the image output conditions of the image output request.
[0143]
In the element group 212, the file ID of the image data file 42 is set in the element based on the tag ImageFileID. The file ID is a unique number assigned to each image data file 42. In the DPDP protocol, the image data file 42 is referred to by the file ID.
[0144]
Then, the image supply device 1 transmits the first image output request 201-1 illustrated in FIG. 13 to the image output device 2. When receiving the image output request 201-1, the image output device 2 stores it in the SRAM 31. Thereafter, when the interpretation of the image output request 201-1 is completed, the image output device 2 discards the data of the image output request 201-1 on the SRAM 31, and notifies that the next image output request can be received. It transmits to the image supply apparatus 1. Further, when the image output apparatus 2 determines that 38 image data files are designated in the first image output request 201-1 in the initial index printing process, the image output device 2 feeds the number of image data files (= 38). Divide by the number of images in one column in the vertical direction (= 4), and determine that the fraction is 2. The image output apparatus 2 recognizes that a fraction (= 2) occurs in the last column, and as shown in FIG. 14, the image 311- of the 16th image data file designated in the first image output request 201-1. Print up to 16 one row (4 images) at a time, and wait in that state.
[0145]
Next, when receiving a notification that the next image output request can be received, the image supply device 1 generates a second image output request 201-2 shown in FIG. In the second image output request 201-2, the element group 221 indicating the printing condition is the same as the element group 211 in the first image output request 201-1, and in the element group 222 indicating the image data file, the 39th element group 221 is displayed. The 38th image data file to the 76th image data file are designated by 38 elements.
[0146]
Then, the image supply device 1 transmits the second image output request 201-2 illustrated in FIG. 15 to the image output device 2. When receiving the image output request 201-2, the image output device 2 stores the image output request 201-2 in the SRAM 31. Thereafter, when the interpretation of the image output request 201-2 is completed, the image output apparatus 2 discards the data of the image output request 201-2 on the SRAM 31, and notifies that the next image output request can be received. It transmits to the image supply apparatus 1. Further, when the image output apparatus 2 determines that 38 image data files are designated in the second image output request 201-2 in the continuous index printing process, the number of image data files (= 18) is determined as unrecognized. The sum (= 20) with the number of printed images (= 2) is calculated, and the sum (= 40) is divided by the number of images in one column (= 4) in the vertical direction of the paper feed direction, and the fraction is 0. It is determined that The image output apparatus 2 recognizes that no fraction occurs in the last column, and as shown in FIG. 16, the 38th image data file (76 in a series of index printings) specified in the second image output request 201-2. The first image data file) up to images 311 to 76 are printed one by one (four images), and the system stands by at that time.
[0147]
Next, when receiving a notification that the next image output request can be received, the image supply device 1 generates a third image output request 201-3 illustrated in FIG. At this time, the image supply device 1 generates a third image output request 201-3 for the remaining 77th to 86th image data files. In the third image output request 201-3, the element group 231 indicating the printing condition is the same as the element group 221 in the second image output request 201-2, and in the element group 232 indicating the image data file, the 77th element group 231 is displayed. From the image data file to the 86th image data file are designated by 10 elements.
[0148]
Then, the image supply device 1 transmits the third image output request 201-3 illustrated in FIG. 17 to the image output device 2. When receiving the image output request 201-3, the image output device 2 stores it in the SRAM 31. After that, when the interpretation of the image output request 201-3 is completed, the image output apparatus 2 discards the data of the image output request 201-3 on the SRAM 31 and notifies that the next image output request can be received. It transmits to the image supply apparatus 1. Further, when the image output apparatus 2 determines that ten image data files are designated in the third image output request 201-3 in the continuous index printing process, the number of image data files (= 10) is set to the paper number. Divide by the number of images in one column (= 4) in the vertical direction of the feed direction, and determine that the fraction is 2. The image output apparatus 2 recognizes that a fraction occurs in the last column, and as shown in FIG. 18, the eighth image data file (84th in a series of index printing) designated in the second image output request 201-2. (Image data file) of images 311 to 84 are printed one column (four images) at a time, and the apparatus stands by in the state at that time.
[0149]
Since the image supply apparatus 1 has already transmitted the image output request for the 86 image data files to be index printed in three times, the index printing for this series of index printing is performed thereafter. Do not send the image output request. Therefore, when a predetermined time elapses after the above notification is transmitted, the image output apparatus 2 executes the final index printing process. As a result, the unprinted 85th and 86th image data file images are printed from the continuation of the state shown in FIG. 18, and a series of index printing is completed.
[0150]
As described above, according to the second embodiment, in the image output apparatus 2, the image output unit 58 prints an image for each column in a certain direction (a direction perpendicular to the paper feed direction). Then, in the initial index processing and the continuation index processing, the DPDP layer 84b, when there is a fractional image in the final column of the image output in accordance with one image output request, displays the image up to the column immediately before the final column. Is printed on the image output unit 58.
[0151]
As a result, even when the image output unit 58 prints an image for each column in a certain direction, a series of index printing specified by a plurality of image output requests is continuously executed without interruption in the middle of the image. . Thereby, index printing can be executed accurately.
[0152]
Further, according to the second embodiment, the DPDP layer 84b of the image output device 2 causes the image output unit 58 to print an image up to the previous row and the previous row in the continuation index process, and an unprinted image. If there is an image, the image of the previous image output request and the image of the current image output request are determined based on the unprinted fractional image in the previous last column and the image of the image data file specified by the current image output request. The previous last column consisting of both of the above is collectively printed on the image output unit 58.
[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 DPDP layer 84b of the image output apparatus 2 transmits a notification indicating that the next image output request can be accepted at a predetermined timing to the image supply apparatus, and from that timing. If the next image output request for index printing is not received before the predetermined time elapses, the image output unit 58 prints the unprinted final row image in the final index printing process.
[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]
Embodiment 3 FIG.
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 image supply apparatus 1 has an image output request (that is, the last image output request). A character string (in this case, an XML element) indicating that there is a subsequent image output request is inserted into the image output request other than the image output request in FIG. It is determined whether there is a subsequent image output request. In this case, it is not particularly necessary for the image output apparatus 2 to monitor whether or not a subsequent image output request arrives within a predetermined time by using a timer as in the first and second embodiments.
[0157]
Note that the basic configurations of the image supply device 1 and the image output device 2 in the image output system according to the third embodiment of the present invention may be the same as those in the first and second embodiments. However, the generation of the image output request by the image supply device 1 and the determination of the presence or absence of the subsequent image output request by the image output device 2 are performed by the DPDP layers 84a and 84b as described above.
[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 image supply device 1 inserts an empty element with a tag NextRequest as a character string indicating that there is a subsequent image output request. The image output apparatus 2 determines that there is a subsequent image output request when there is an empty element by the tag NextRequest in the image output request, and waits for the arrival of the subsequent image output request. When a subsequent image output request arrives, the image output apparatus 2 resumes and continues image output based on the subsequent image output request. On the other hand, when there is no empty element by the tag NextRequest, the image output apparatus 2 determines that there is no subsequent image output request, and completes the image output process.
[0159]
As described above, according to the third embodiment, in the image supply device 1, the DPDP layer 84 a functioning as a control command generation unit has a data amount of a control command related to image output of text data such as an image output request. In response, the control command is divided to generate a plurality of control commands, and among these control commands, a predetermined character indicating that the subsequent control command exists in the previous control command in which the subsequent control command exists The column is inserted, and the communication circuit 15 sequentially transmits the plurality of control commands generated by the DPDP layer 84a to the image output apparatus 2, and transmits the image data file 42 to the image output apparatus. On the other hand, in the image output device 2, the communication circuit 55 receives the control command and the image data file, and the image output unit 58 outputs an image based on the image data file according to the control command. When the DPDP layer 84b has a predetermined character string in the control command of the text data received by the communication circuit 55, the processing of the image output unit 58 is performed at the beginning or in the middle of the image output specified by the control command. Until the subsequent control command is received by the communication circuit 55, and when the subsequent control command is received by the communication circuit 55, the image output is resumed based on the received subsequent control command.
[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 SRAM 61 in the image output device 2, but a predetermined memory of a memory element outside the MPU 51 such as the DRAM 53 or the like. It may be stored in the area. The element may be an SRAM. The XML script and the image data file may be stored in different predetermined memory areas in the same memory element.
[0163]
In each of the above embodiments, when the storage unit 14 of the image supply device 1 is a removable recording medium such as a memory card, when the recording medium is replaced with another recording medium, It is determined that the index image output for the image data file 42 in the recording medium and the index image output for the image data file 42 in the exchanged recording medium are independent from each other, and the images in both recording media are continuous. The index image output may be executed so as not to do so.
[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 image supply apparatus 1 are described as an XML script that is text data, but in another markup language. You may make it describe, It is good also as text data of another form.
[0165]
In each of the above embodiments, the notification from the image output apparatus 2 to the image supply apparatus 1 is also divided in the same manner as the control command from the image supply apparatus 1 to the image output apparatus 2 and transferred as a plurality of notifications. You may make it do.
[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 Embodiment 1 of the present invention.
FIG. 2 is a block diagram showing a configuration example of an image supply device in the image output system according to Embodiment 1 of the present invention.
FIG. 3 is a block diagram showing a configuration example of an image output apparatus in the image output system according to Embodiment 1 of the present invention.
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 Embodiment 1 of the present invention;
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 Embodiment 1 of the present invention;
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 Embodiment 1 of the present invention; FIG.
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)

インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力する画像出力装置と、上記画像出力装置へ、上記インデックス画像出力の画像出力要求、およびその画像出力要求により指定された複数の画像データファイルを供給する画像供給装置とを備える画像出力システムであって、
上記画像供給装置は、インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成する画像出力要求生成手段と、上記画像出力要求生成手段により生成された複数の画像出力要求を順番に上記画像出力装置へ送信し、また、上記画像データファイルを上記画像出力装置へ送信する送信手段とを有し、
上記画像出力装置は、上記画像出力要求および上記画像データファイルを受信する受信手段と、上記画像データファイルに基づき上記出力領域に画像を出力する画像出力手段と、上記画像出力手段を制御し、上記受信手段によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して上記画像出力手段により上記出力領域におけるインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にそのインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して上記画像出力手段によりインデックス画像出力を実行させる制御手段とを有すること、
を特徴とする画像出力システム。
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
インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力させるためのインデックス画像出力の画像出力要求を画像出力装置へ送信する画像供給装置であって、
インデックス画像出力の対象となる画像の数に応じて、そのインデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成する画像出力要求生成手段と、
上記画像出力要求生成手段により生成された画像出力要求を順番に上記画像出力装置へ送信し、また、上記画像データファイルを上記画像出力装置へ送信する送信手段と、
を備えることを特徴とする画像供給装置。
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:
前記送信手段は、前記画像出力装置が次の画像出力要求を受付可能となった後で、同一のインデックス画像出力の後続の画像出力要求を送信することを特徴とする請求項2記載の画像供給装置。3. The image supply according to claim 2, wherein the transmission unit transmits a subsequent image output request of the same index image output after the image output apparatus can accept a next image output request. apparatus. 前記送信手段は、複数のインデックス画像出力を行う場合、インデックス画像出力の画像出力要求を送信し、前記画像出力装置による画像出力が完了して前記画像出力装置がアイドル状態になった後で、次のインデックス画像出力のための画像出力要求を送信することを特徴とする請求項2記載の画像供給装置。When transmitting a plurality of index images, the transmission means transmits an image output request for outputting an index image, and after the image output by the image output device is completed and the image output device is in an idle state, The image supply apparatus according to claim 2, wherein an image output request for outputting an index image is transmitted. 前記送信手段は、画像出力要求をテキストデータとして送信することを特徴とする請求項2から請求項4のうちのいずれか1項記載の画像供給装置。5. The image supply apparatus according to claim 2, wherein the transmission unit transmits the image output request as text data. 6. 複数の画像データファイルを受信し、インデックス画像出力として、予め定められた2次元配列で所定の出力領域に複数の画像を複数の画像データファイルに基づき出力する画像出力装置であって、
上記画像データファイルを供給する画像供給装置から画像出力要求およびその画像データファイルを受信する受信手段と、
上記画像データファイルに基づき上記出力領域に画像を出力する画像出力手段と、
上記画像出力手段を制御し、上記受信手段によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して上記画像出力手段により上記出力領域にインデックス画像出力を実行させ、インデックス画像出力の画像出力要求の後にインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して上記画像出力手段によりインデックス画像出力を実行させる制御手段と、
を備えることを特徴とする画像出力装置。
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:
前記制御手段は、所定のタイミングで次の画像出力要求を受付可能であることを示す通知を前記画像供給装置へ送信し、そのタイミングから所定の時間が経過するまでにインデックス画像出力の後続の画像出力要求が受信された場合にのみ、同一の出力領域に対して、そのインデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して前記画像出力手段によりインデックス画像出力を実行させることを特徴とする請求項6記載の画像出力装置。The control means transmits a notification indicating that the next image output request can be accepted at a predetermined timing to the image supply device, and a subsequent image of the index image output until a predetermined time elapses from the timing. Only when an output request is received, for the same output area, the index output is executed by the image output means in response to an image output request subsequent to the index image output from the continuation of the index image output. The image output apparatus according to claim 6, wherein: 前記受信手段により受信された画像出力要求を記憶する記憶手段と、上記記憶手段により記憶された画像出力要求を解釈する要求解釈手段とを備え、
前記制御手段は、上記要求解釈手段による画像出力要求の解釈が完了すると、次の画像出力要求を受付可能であることを示す通知を前記画像供給装置へ送信すること、
を特徴とする請求項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.
前記制御手段は、前記最終列の1つ前の列まで画像を前記画像出力手段に出力させた場合に、前記最終列における端数の画像と、前記後続の画像出力要求により指定された画像データファイルによる画像とにより、前記最終列の画像を前記画像出力手段に出力させることを特徴とする請求項9記載の画像出力装置。The control means, when the image output means outputs an image up to the previous row of the last row, the fractional image in the last row and the image data file specified by the subsequent image output request. The image output apparatus according to claim 9, wherein the image output unit causes the image output unit to output the image of the last column based on the image obtained by the step (a). 前記制御手段は、所定のタイミングで次の画像出力要求を受付可能であることを示す通知を前記画像供給装置へ送信し、そのタイミングから所定の時間が経過するまでにインデックス画像出力の後続の画像出力要求が受信されない場合には、前記最終列の端数の画像を前記画像出力手段に出力させることを特徴とする請求項9記載の画像出力装置。The control means transmits a notification indicating that the next image output request can be accepted at a predetermined timing to the image supply device, and a subsequent image of the index image output until a predetermined time elapses from the timing. The image output apparatus according to claim 9, wherein, when an output request is not received, the image output unit is caused to output an image of a fraction of the last column. 前記受信手段は、画像出力時に選択可能な機能を指定する画像出力条件を含む画像出力要求を受信し、
前記制御手段は、インデックス画像出力の画像出力要求の次にインデックス画像出力の画像出力要求を受信すると、これらの画像出力要求の上記画像出力条件が同一である場合にのみ、それらのうちの、後に受信された画像出力要求を、前に受信された画像出力要求の後続の画像出力要求であると判定し、同一の出力領域に対して、上記前に受信された画像出力要求についてのインデックス画像出力の続きから、その後続の画像出力要求に対応して前記画像出力手段によりインデックス画像出力を実行させること、
を特徴とする請求項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.
前記受信手段は、テキストデータである画像出力要求を受信することを特徴とする請求項6から請求項12のうちのいずれか1項記載の画像出力装置。The image output apparatus according to claim 6, wherein the receiving unit receives an image output request that is text data. 画像供給装置から画像出力装置へ、予め定められた2次元配列で所定の出力領域に複数の画像を出力するインデックス画像出力の画像出力要求、およびその画像出力要求により指定された複数の画像データファイルを転送し、上記画像出力装置により上記インデックス画像出力を実行する画像出力方法であって、
上記画像供給装置により、インデックス画像出力の対象となる画像の数に応じて、インデックス画像出力の画像出力要求を分割して複数の画像出力要求を生成するステップと、
上記画像供給装置により、生成した複数の画像出力要求を順番に上記画像出力装置へ送信するステップと、
上記画像出力装置により、上記画像出力要求を受信するステップと、
上記画像出力装置により、上記画像出力要求により指定された画像データファイルを上記画像供給装置から取得するステップと、
上記画像出力装置によりインデックス画像出力の画像出力要求が受信されると、そのインデックス画像出力の画像出力要求に対応して上記出力領域に上記画像データファイルに基づきインデックス画像出力を実行するステップと、
上記画像出力装置によりインデックス画像出力の画像出力要求の後にそのインデックス画像出力の後続の画像出力要求が受信されると、同一の出力領域に対して、上記インデックス画像出力の続きから、そのインデックス画像出力の後続の画像出力要求に対応して上記画像データファイルに基づきインデックス画像出力を実行するステップと、
を備えることを特徴とする画像出力方法。
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:
JP2003196003A 2003-07-11 2003-07-11 Image output system, image supply device, image output device and method for outputting image Withdrawn JP2005028730A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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