JP4400307B2 - Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method - Google Patents

Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method Download PDF

Info

Publication number
JP4400307B2
JP4400307B2 JP2004153282A JP2004153282A JP4400307B2 JP 4400307 B2 JP4400307 B2 JP 4400307B2 JP 2004153282 A JP2004153282 A JP 2004153282A JP 2004153282 A JP2004153282 A JP 2004153282A JP 4400307 B2 JP4400307 B2 JP 4400307B2
Authority
JP
Japan
Prior art keywords
image
file
image output
data file
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004153282A
Other languages
Japanese (ja)
Other versions
JP2005335084A (en
Inventor
義奈朗 北原
秀樹 両角
健二 作田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2004153282A priority Critical patent/JP4400307B2/en
Publication of JP2005335084A publication Critical patent/JP2005335084A/en
Application granted granted Critical
Publication of JP4400307B2 publication Critical patent/JP4400307B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像出力要求およびその画像出力要求で指定されたデータファイルを画像供給装置から画像出力装置へ送信し画像出力装置によりその画像出力要求およびデータファイルに基づいて画像を出力する画像出力システム、並びに、その画像出力システムに使用可能な画像供給装置、画像出力装置、コンピュータプログラム、画像供給方法および画像出力方法に関するものである。   The present invention relates to an image output system for transmitting an image output request and a data file designated by the image output request from the image supply device to the image output device, and outputting an image based on the image output request and the data file by the image output device. In addition, the present invention relates to an image supply device, an image output device, a computer program, an image supply method, and an image output method that can be used in the image output system.

近年、パーソナルコンピュータを介さずに、デジタルスチルカメラ装置とプリンタ装置とを直接接続し、デジタルスチルカメラ装置に格納された画像データファイルをプリンタ装置に転送し、プリンタ装置によりその画像データファイルから印刷制御データを生成し画像を印刷する、いわゆるダイレクト印刷システムが開発されている(例えば非特許文献1参照)。   In recent years, a digital still camera device and a printer device are directly connected without using a personal computer, an image data file stored in the digital still camera device is transferred to the printer device, and printing control is performed from the image data file by the printer device. A so-called direct printing system that generates data and prints an image has been developed (see, for example, Non-Patent Document 1).

また、従来、画像データファイルの画像にフレーム画像を重畳させて印刷するフレーム挿入印刷という、画像出力方法が存在する。フレーム挿入印刷では、画像データを有する画像データファイル、フレーム画像などを定義したレイアウト定義ファイルなどの複数のデータファイルに基づいて、画像データファイルの画像にフレーム画像を重畳させた1つの画像が印刷される。このようなフレーム挿入印刷としては、本出願人が提供するPIF(PRINT Image Framer)印刷などがある。   Conventionally, there is an image output method called frame insertion printing in which a frame image is superimposed on an image of an image data file. In frame insertion printing, based on a plurality of data files such as an image data file having image data and a layout definition file defining a frame image, one image is printed by superimposing a frame image on the image of the image data file. The Examples of such frame insertion printing include PIF (PRINT Image Framer) printing provided by the present applicant.

「White Paper of CIPA DC−001−2003 Digital Photo Solutions for Imaging Devices(Japanese)」Camera&Imaging Products Association、2003年2月3日。“White Paper of CIPA DC-001-2003 Digital Photo Solutions for Imaging Devices (Japan)” Camera & Imaging Products Association, February 3, 2003.

上述のダイレクト印刷では、通常、デジタルスチルカメラ装置からプリンタ装置へ転送される印刷要求においては、印刷対象の1つの画像に対して1つの画像データファイルが指定される。そのため、上述のフレーム挿入印刷などのように、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を印刷する印刷方式の実現は困難である。また、この事柄は、印刷以外の他の画像出力の場合においても同様に発生する。   In the direct printing described above, one image data file is normally specified for one image to be printed in a print request transferred from the digital still camera device to the printer device. Therefore, it is difficult to realize a printing method that prints one image using a data file other than the image data file together with the image data file, such as the frame insertion printing described above. This matter also occurs in the case of image output other than printing.

そのような場合、印刷要求において、そのような特殊な場合のためにも対応可能なように印刷要求の記述ルールを修正することも可能であるが、修正前後の互換性の問題が生じる可能性がある。特に、その記述ルールが複数のベンダに使用されていたり、規格化されている場合には、そのような問題が顕著になる。したがって、このような方法は現実的ではない。   In such a case, it is possible to modify the print request description rule so that it can be handled even in such a special case, but there is a possibility that compatibility problems before and after the modification will occur. There is. In particular, such a problem becomes remarkable when the description rule is used by a plurality of vendors or standardized. Therefore, such a method is not realistic.

本発明は、上記の問題に鑑みてなされたものであり、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる画像出力システム、並びに、その画像出力システムに使用可能な画像供給装置、画像出力装置、コンピュータプログラム、画像供給方法および画像出力方法を得ることを目的とする。   The present invention has been made in view of the above problems, and even when an image output request employs a description rule in which one image data file is designated for one image to be output, an image is output. Image output system capable of outputting one image using data file other than image data file together with data file, and image supply apparatus, image output apparatus, computer program, and image supply usable in the image output system It is an object to obtain a method and an image output method.

上記の課題を解決するために、本発明では、次のようにした。   In order to solve the above-described problems, the present invention is configured as follows.

本発明による画像出力システムは、画像出力要求およびその画像出力要求で指定されたデータファイルを送信する画像供給装置と、画像出力要求およびその画像出力要求で指定されたデータファイルを受信し、画像出力要求およびデータファイルに基づいて画像を出力する画像出力装置とを備える。画像供給装置は、複数のデータファイルに基づき1つの画像を出力させる場合に、画像出力要求において、画像出力時に画像とともに出力される画像データファイル名として複数のデータファイルのうちの所定のデータファイルのファイル名を指定し、その画像出力要求を画像出力装置に送信する。画像出力装置は、画像出力要求を受信すると、画像出力要求において指定されている画像データファイル名に基づいて、複数のデータファイルに基づき1つの画像を出力するか否かを判定する。   An image output system according to the present invention receives an image output request and a data file specified by the image output request, and receives an image output request and the data file specified by the image output request. An image output device for outputting an image based on the request and the data file. When outputting one image based on a plurality of data files, the image supply device, in an image output request, specifies a predetermined data file of the plurality of data files as an image data file name output together with the image at the time of image output. A file name is designated and the image output request is transmitted to the image output apparatus. When receiving the image output request, the image output device determines whether to output one image based on the plurality of data files based on the image data file name specified in the image output request.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

本発明による画像供給装置は、画像出力装置とデータ通信を行う通信手段と、複数のデータファイルに基づき1つの画像を出力させる場合に、画像出力時に画像とともに出力される画像データファイル名として複数のデータファイルのうちの所定のデータファイルのファイル名を指定した画像出力要求を、通信手段を制御して画像出力装置に送信する通信制御手段とを備える。   An image supply apparatus according to the present invention includes a communication unit that performs data communication with an image output apparatus, and a plurality of image data file names that are output together with an image when outputting one image based on a plurality of data files. Communication control means for controlling the communication means to transmit an image output request designating the file name of a predetermined data file of the data files to the image output apparatus.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

本発明による画像供給装置は、画像出力装置とデータ通信を行う通信手段と、画像出力のレイアウトデータを含むレイアウト定義ファイルを特定するファイル番号でレイアウト定義ファイルを画像データファイルとして指定し、さらに、画像出力時に画像とともに出力される画像データファイル名として、このレイアウト定義ファイルを示す文字列を指定した画像出力要求を生成する要求生成手段と、通信手段を制御し、要求生成手段により生成された画像出力要求を画像出力装置に送信する通信制御手段とを備える。   An image supply device according to the present invention designates a layout definition file as an image data file with a communication means for performing data communication with an image output device, a file number for specifying a layout definition file including layout data for image output, and an image A request generation unit that generates an image output request specifying a character string indicating the layout definition file as an image data file name output together with an image at the time of output, and an image output generated by the request generation unit by controlling the communication unit Communication control means for transmitting the request to the image output apparatus.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のレイアウト定義ファイルを使用して1つの画像を出力することができる。さらに、画像データファイルの指定に、ファイル名ではなくファイル種別の情報を持たないファイル番号を使用している場合でも、画像出力装置においてレイアウト定義ファイルに基づく画像出力か否かが正確に判定される。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a layout definition file other than the image data file is used together with the image data file. Thus, one image can be output. Furthermore, even when a file number that does not have file type information is used for specifying an image data file, the image output apparatus accurately determines whether or not the image output is based on the layout definition file. .

さらに、本発明による画像供給装置は、上記発明の画像供給装置に加え、要求生成手段を次のようにしたものである。この画像供給装置では、要求生成手段は、メイン画像とフレーム画像とを重畳させた画像を出力する画像出力形式のために使用される複数のデータファイルとしての、メイン画像とフレーム画像のレイアウトデータを含むレイアウト定義ファイルおよびメイン画像のデータファイルを、それぞれ画像データファイルとして画像出力要求において指定する。   Further, the image supply apparatus according to the present invention is configured such that the request generation means is as follows in addition to the image supply apparatus of the above invention. In this image supply device, the request generation unit outputs layout data of the main image and the frame image as a plurality of data files used for an image output format for outputting an image obtained by superimposing the main image and the frame image. The layout definition file and the main image data file to be included are designated as image data files in the image output request.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、フレーム挿入印刷などのフレーム合成画像出力を実現することができる。   Thus, even when a description rule in which one image data file is designated for one image to be output in the image output request is adopted, frame composite image output such as frame insertion printing can be realized. it can.

さらに、本発明による画像供給装置は、上記発明の画像供給装置のいずれかに加え、要求生成手段を次のようにしたものである。この画像供給装置では、要求生成手段は、レイアウト定義ファイルを使用する画像出力のための画像出力要求を生成する際に、画像データファイル名出力機能の設定項目の値をオン以外とする。   Furthermore, an image supply apparatus according to the present invention is configured such that the request generation means is as follows in addition to any of the image supply apparatuses of the present invention. In this image supply device, the request generation means sets the value of the setting item of the image data file name output function to other than ON when generating an image output request for image output using the layout definition file.

これにより、画像データファイル名出力機能のための画像データファイル名の指定を、レイアウト定義ファイルの判別用に使用しても、画像データファイル名が画像に重畳されて出力されずに済む。   Thus, even if the designation of the image data file name for the image data file name output function is used for determining the layout definition file, the image data file name is not superimposed on the image and output.

本発明による画像出力装置は、データ通信を行う通信手段と、所定の画像出力形式に従って複数のデータファイルに基づき画像を出力する画像出力手段と、通信手段により画像出力要求を受信すると、画像出力要求において指定されている、画像出力時に画像とともに出力される画像データファイル名に基づいて、複数のデータファイルに基づき1つの画像を出力するか否かを判定し、その判定結果に応じた画像出力を画像出力手段に実行させる制御手段とを備える。   An image output apparatus according to the present invention includes a communication unit that performs data communication, an image output unit that outputs an image based on a plurality of data files according to a predetermined image output format, and an image output request when receiving an image output request by the communication unit. Based on the image data file name output together with the image specified at the time of image output, it is determined whether or not to output one image based on a plurality of data files, and image output corresponding to the determination result is performed. Control means to be executed by the image output means.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

本発明による画像出力装置は、データ通信を行う通信手段と、所定の画像出力形式に従って複数のデータファイルに基づき画像を出力する画像出力手段と、通信手段により画像出力要求を受信すると、その画像出力要求におけるファイル番号による画像データファイルの指定を検出し、その画像データファイルに対して指定された、画像出力時に画像とともに出力される画像データファイル名の文字列に基づいて、その指定されたファイルがレイアウト定義ファイルであるか否かを判定し、レイアウト定義ファイルが指定されていると判定した場合には、レイアウト定義ファイルに含まれるレイアウトデータに基づいて画像出力を画像出力手段に実行させる制御手段とを備える。   An image output apparatus according to the present invention receives a communication means for performing data communication, an image output means for outputting an image based on a plurality of data files in accordance with a predetermined image output format, and an image output request when the communication means receives an image output request. The designation of the image data file by the file number in the request is detected, and based on the character string of the image data file name that is designated for the image data file and output together with the image, the designated file is A control unit that determines whether or not the file is a layout definition file and, when it is determined that the layout definition file is designated, a control unit that causes the image output unit to execute image output based on layout data included in the layout definition file; Is provided.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のレイアウト定義ファイルを使用して1つの画像を出力することができる。さらに、画像データファイルの指定に、ファイル名ではなくファイル種別の情報を持たないファイル番号を使用している場合でも、レイアウト定義ファイルに基づく画像出力か否かが正確に判定される。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a layout definition file other than the image data file is used together with the image data file. Thus, one image can be output. Furthermore, even when a file number that does not have file type information is used for specifying an image data file, it is accurately determined whether or not the image is output based on the layout definition file.

さらに、本発明による画像出力装置は、上記発明の画像出力装置に加え、制御手段を次のようにしたものである。この画像出力装置では、制御手段は、画像出力要求において、メイン画像とフレーム画像とを重畳させた画像を出力するために使用されるレイアウト定義ファイルが指定されている場合、そのレイアウト定義ファイル、および画像出力要求において指定されているメイン画像の画像データファイルに基づいて、画像出力手段を制御して、メイン画像にフレーム画像を重畳させた1つの画像を出力させる。   Furthermore, an image output apparatus according to the present invention has the following control means in addition to the image output apparatus of the present invention. In this image output apparatus, when the layout definition file used for outputting an image obtained by superimposing the main image and the frame image is specified in the image output request, the control means includes the layout definition file, and Based on the image data file of the main image specified in the image output request, the image output means is controlled to output one image in which the frame image is superimposed on the main image.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、フレーム挿入印刷などのフレーム合成画像出力を実現することができる。   Thus, even when a description rule in which one image data file is designated for one image to be output in the image output request is adopted, frame composite image output such as frame insertion printing can be realized. it can.

さらに、本発明による画像出力装置は、上記発明の画像出力装置に加え、制御手段を次のようにしたものである。この画像出力装置では、制御手段は、画像出力要求における画像データファイル名出力機能の設定項目の値がオン以外である場合のみ、画像データファイル名に基づいて、指定されたファイルがレイアウト定義ファイルであるか否かを判定する。   Furthermore, an image output apparatus according to the present invention has the following control means in addition to the image output apparatus of the present invention. In this image output apparatus, the control means determines that the specified file is a layout definition file based on the image data file name only when the value of the setting item of the image data file name output function in the image output request is other than ON. It is determined whether or not there is.

これにより、画像データファイル名出力機能のための画像データファイル名の指定を、レイアウト定義ファイルの判別用に使用しても、画像データファイル名が画像に重畳されて出力されずに済む。   Thus, even if the designation of the image data file name for the image data file name output function is used for determining the layout definition file, the image data file name is not superimposed on the image and output.

本発明によるコンピュータプログラムは、画像出力装置へ画像出力要求およびデータファイルを供給する画像供給装置に内蔵されるコンピュータを、複数のデータファイルに基づき1つの画像を出力させる場合に、画像出力時に画像とともに出力される画像データファイル名として複数のデータファイルのうちの所定のデータファイルのファイル名を指定した画像出力要求を、画像出力装置とデータ通信を行う通信手段を制御して画像出力装置に送信する通信制御手段として機能させる。   The computer program according to the present invention, when outputting a single image based on a plurality of data files to a computer built in an image supply apparatus that supplies an image output request and data file to the image output apparatus, together with the image at the time of image output. An image output request designating a file name of a predetermined data file among a plurality of data files as an output image data file name is transmitted to the image output device by controlling communication means for performing data communication with the image output device. It functions as communication control means.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

本発明によるコンピュータプログラムは、画像出力要求およびその画像出力要求で指定されたデータファイルに基づいて画像を出力する画像出力装置に内蔵されるコンピュータを、画像出力要求を受信すると、画像出力要求において指定されている、画像出力時に画像とともに出力される画像データファイル名に基づいて、複数のデータファイルに基づき1つの画像を出力するか否かを判定し、その判定結果に応じて画像出力を実行させる制御手段として機能させる。   When the computer program according to the present invention receives an image output request, the computer built in the image output apparatus that outputs an image based on the image output request and the data file specified by the image output request is designated in the image output request. Based on the image data file name output together with the image at the time of image output, it is determined whether to output one image based on a plurality of data files, and image output is executed according to the determination result It functions as a control means.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

本発明による画像供給方法は、複数のデータファイルに基づき1つの画像を出力させる場合に、画像出力時に画像とともに出力される画像データファイル名として複数のデータファイルのうちの所定のデータファイルのファイル名を指定した画像出力要求を画像出力装置に送信するステップと、画像出力要求において指定されたデータファイルを画像出力装置に送信するステップとを備える。   In the image supply method according to the present invention, when one image is output based on a plurality of data files, the file name of a predetermined data file among the plurality of data files is output as the image data file name output together with the image at the time of image output. The method includes a step of transmitting an image output request specifying the image data to the image output device, and a step of transmitting the data file specified in the image output request to the image output device.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

本発明による画像出力方法は、画像出力要求を受信するステップと、受信した画像出力要求において指定されている、画像出力時に画像とともに出力される画像データファイル名に基づいて、複数のデータファイルに基づき1つの画像を出力するか否かを判定するステップと、その判定結果に応じた画像出力を実行するステップとを備える。   An image output method according to the present invention is based on a plurality of data files based on a step of receiving an image output request and an image data file name output together with the image specified in the received image output request. The method includes a step of determining whether to output one image and a step of executing image output according to the determination result.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイルを使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is specified for one image to be output in the image output request is used, a data file other than the image data file is used together with the image data file. One image can be output.

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明の実施の形態1に係る画像出力システムの構成を示すブロック図である。この画像出力システムは、いわゆるダイレクト印刷システムの一種である。図1において、プリンタ装置1は、本発明の画像出力装置の一実施の形態であって、画像出力要求および画像データファイルを受信しその画像出力要求および画像データファイルに基づき画像を印刷する装置である。また、デジタルカメラ装置2は、本発明の画像供給装置の一実施の形態であって、撮影した画像を画像データファイルとして所定の記録媒体に格納し、画像出力要求、その画像出力要求で指定された画像データファイルなどを出力する装置である。
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. This image output system is a kind of so-called direct printing system. In FIG. 1, a printer apparatus 1 is an embodiment of an image output apparatus of the present invention, and is an apparatus that receives an image output request and an image data file and prints an image based on the image output request and the image data file. is there. The digital camera device 2 is an embodiment of the image supply device of the present invention, and stores a captured image as an image data file in a predetermined recording medium, and is designated by an image output request and the image output request. It is a device that outputs the image data file.

この画像出力要求は、所望の印刷条件でプリンタ装置1に印刷を実行させるための制御コマンドである。この画像出力要求には、1つの画像につき1つの画像データファイルが指定される記述ルールが適用される。したがって、例えば、1枚の印刷用紙に4つの画像が印刷される場合には、通常、4つの画像データファイルが指定される。   This image output request is a control command for causing the printer apparatus 1 to execute printing under desired printing conditions. A description rule for designating one image data file per image is applied to the image output request. Therefore, for example, when four images are printed on one printing paper, four image data files are normally designated.

通信路3は、プリンタ装置1とデジタルカメラ装置2とを接続する有線の伝送媒体である。この通信路3は、有線の通信路に限定されず、無線の通信路を使用してもよい。この実施の形態1では、通信路3には、USB(Universal Serial Bus)のケーブルが使用される。なお、通信路3が有線通信路である場合には、プリンタ装置1とデジタルカメラ装置2には図示せぬコネクタが設けられ、通信路3のケーブルの両端のコネクタと両装置1,2のコネクタとが、それぞれ接続される。   The communication path 3 is a wired transmission medium that connects the printer device 1 and the digital camera device 2. The communication path 3 is not limited to a wired communication path, and a wireless communication path may be used. In the first embodiment, a USB (Universal Serial Bus) cable is used for the communication path 3. When the communication path 3 is a wired communication path, the printer apparatus 1 and the digital camera apparatus 2 are provided with connectors (not shown), the connectors at both ends of the cable of the communication path 3 and the connectors of both apparatuses 1 and 2. Are connected to each other.

図1に示すプリンタ装置1において、通信回路11は、通信路3を介して各種情報を電気信号として送受する回路である。また、通信制御部12は、通信回路11を制御し、各種プロトコルに従って通信相手と制御情報(制御コマンド、その応答、機器やジョブの状態通知など)および画像データファイルを送受する回路または装置である。   In the printer apparatus 1 shown in FIG. 1, the communication circuit 11 is a circuit that transmits and receives various types of information as electrical signals via the communication path 3. The communication control unit 12 is a circuit or device that controls the communication circuit 11 and transmits / receives control information (control command, response to the device, job status notification, and the like) and an image data file according to various protocols. .

また、プリンタ装置1において、印刷制御部13は、印刷機構14を制御および監視し、印刷処理を制御する回路または装置である。印刷機構14は、画像を出力する機械的および/または電気的な構成部である。プリンタ装置1の印刷機構14としては、印字機構、紙送り機構などが該当する。また、印刷制御部13および印刷機構14により、画像データファイルに基づき画像を印刷する印刷手段が構成される。   In the printer device 1, the print control unit 13 is a circuit or device that controls and monitors the printing mechanism 14 and controls printing processing. The printing mechanism 14 is a mechanical and / or electrical component that outputs an image. The printing mechanism 14 of the printer apparatus 1 corresponds to a printing mechanism, a paper feeding mechanism, or the like. The printing control unit 13 and the printing mechanism 14 constitute printing means for printing an image based on the image data file.

また、プリンタ装置1において、操作部15は、ユーザにより操作され、その操作に応じた信号を出力する回路または装置である。この操作部15としては、各種スイッチ、タッチパネルなどが、適宜使用される。表示装置16は、各種情報を表示する装置である。この表示装置16としては、各種インジケータ、液晶ディスプレイなどが、適宜使用される。電源回路17は、例えば商用電源やAC/DC変換器に接続され、供給された電力を内部の回路に供給する回路である。   In the printer device 1, the operation unit 15 is a circuit or device that is operated by a user and outputs a signal corresponding to the operation. As the operation unit 15, various switches, a touch panel, and the like are used as appropriate. The display device 16 is a device that displays various types of information. As the display device 16, various indicators, a liquid crystal display, and the like are used as appropriate. The power supply circuit 17 is a circuit that is connected to, for example, a commercial power supply or an AC / DC converter and supplies supplied power to an internal circuit.

図1に示すデジタルカメラ装置2において、通信回路21は、通信路3を介して各種情報を電気信号として送受する回路である。また、通信制御部22は、通信回路21を制御し、各種プロトコルに従って通信相手と情報を送受する回路または装置である。また、中央制御部23は、通信制御部22、記録媒体24などの各種機能の有する回路または装置との間で各種情報の授受を行いながら、各種処理を実行する回路または装置である。   In the digital camera device 2 shown in FIG. 1, the communication circuit 21 is a circuit that transmits and receives various types of information as electrical signals via the communication path 3. The communication control unit 22 is a circuit or device that controls the communication circuit 21 and transmits / receives information to / from a communication partner according to various protocols. The central control unit 23 is a circuit or device that executes various processes while exchanging various information with a circuit or device having various functions such as the communication control unit 22 and the recording medium 24.

また、デジタルカメラ装置2において、記録媒体24は、画像データを含む1または複数の画像データファイル31を格納する装置である。画像データファイル31は、例えばデジタルカメラにより撮影された画像、その他の画像の画像データを含むファイルである。この画像データの形式は、例えばJPEG(Joint Photographic Experts Group)形式、EXIF(EXchangeable Image File )形式などとされる。   In the digital camera device 2, the recording medium 24 is a device that stores one or a plurality of image data files 31 including image data. The image data file 31 is a file including image data taken by a digital camera, for example, and other image data. The format of the image data is, for example, JPEG (Joint Photographic Experts Group) format, EXIF (EXchangeable Image File) format, or the like.

なお、記録媒体24としては、半導体メモリ、半導体メモリを使用したメモリカード、磁気記録媒体、光記録媒体、光磁気記録媒体などが使用され、デジタルカメラ装置2の内部に固定されていてもよいし、デジタルカメラ装置2に対して着脱可能でもよい。   As the recording medium 24, a semiconductor memory, a memory card using a semiconductor memory, a magnetic recording medium, an optical recording medium, a magneto-optical recording medium, or the like may be used, and may be fixed inside the digital camera device 2. The digital camera device 2 may be detachable.

また、デジタルカメラ装置2において、操作部25は、ユーザにより操作され、その操作に応じた信号を出力する回路または装置である。この操作部25としては、各種スイッチ、タッチパネルなどが、適宜使用される。表示装置26は、画像データに基づく画像などの各種情報を表示する装置である。この表示装置26としては、各種インジケータ、液晶ディスプレイなどが、適宜使用される。なお、表示装置26は、各種機能の設定項目をメニュー項目としたメニューを表示する表示手段として機能する。なお、設定項目が所定のコードで表される場合、それに対応するメニュー項目は、その項目を表すテキストとされる。   In the digital camera device 2, the operation unit 25 is a circuit or device that is operated by a user and outputs a signal corresponding to the operation. As the operation unit 25, various switches, a touch panel, and the like are used as appropriate. The display device 26 is a device that displays various information such as an image based on image data. As the display device 26, various indicators, a liquid crystal display, and the like are appropriately used. Note that the display device 26 functions as a display unit that displays a menu having various function setting items as menu items. When the setting item is represented by a predetermined code, the menu item corresponding to the setting item is text representing the item.

また、デジタルカメラ装置2において、撮影部27は、レンズなどの光学系、CCD(Charge Coupled Device )などといった撮像素子などを有し、被写体の撮影を行い、撮影した画像に対応する画像データを出力する機構または装置である。   In the digital camera device 2, the photographing unit 27 includes an optical system such as a lens, an image sensor such as a CCD (Charge Coupled Device), and the like, photographs a subject and outputs image data corresponding to the photographed image. Mechanism or device.

また、バッテリ28は、デジタルカメラ装置2の内部回路に電力を供給する電池である。なお、バッテリ28としては、蓄電池、使い捨て電池などが使用される。また、デジタルカメラ装置2が可搬性を要求される装置である場合には、電源としてバッテリ28が設けられるが、デジタルカメラ装置2が可搬性を要求されない装置である場合には、電源としてプリンタ装置1の電源回路17のような電源回路を代わりに設けるようにしてもよいし、プリンタ装置1から通信路3を介して電力供給を受けるようにしてもよい。   The battery 28 is a battery that supplies power to the internal circuit of the digital camera device 2. In addition, as the battery 28, a storage battery, a disposable battery, etc. are used. When the digital camera device 2 is a device that requires portability, a battery 28 is provided as a power source. However, when the digital camera device 2 is a device that does not require portability, a printer device as a power source. Alternatively, a power supply circuit such as one power supply circuit 17 may be provided instead, or power may be supplied from the printer apparatus 1 via the communication path 3.

図2は、本発明の実施の形態1に係る画像出力システムにおけるプリンタ装置1のハードウェア構成例を示すブロック図である。図2において、CPU41は、コンピュータプログラムを実行し、プログラムに記述された処理を実行する演算装置である。また、ROM42は、コンピュータプログラムおよびデータを予め記憶したメモリである。また、RAM43は、コンピュータプログラムを実行する際にそのプログラムおよびデータを一時的に記憶するメモリである。   FIG. 2 is a block diagram illustrating a hardware configuration example of the printer apparatus 1 in the image output system according to the first embodiment of the present invention. In FIG. 2, a CPU 41 is an arithmetic unit that executes a computer program and executes processing described in the program. The ROM 42 is a memory that stores a computer program and data in advance. The RAM 43 is a memory that temporarily stores the program and data when the computer program is executed.

なお、CPU41が実行するコンピュータプログラムとして、画像データファイルの画像データに対して色変換、ハーフトーニングなどの画像処理を施すためのプログラム、その画像データから印刷用の制御データ(ESC/Pなどといった印刷制御コマンド)を生成するためのプログラム、ダイレクト印刷に係る制御情報および画像データの転送のためのプロトコルに従って処理を行うためのプログラムなどがROM42、不揮発性メモリ46または図示せぬ他の記録媒体に格納されている。   As a computer program executed by the CPU 41, a program for performing image processing such as color conversion and halftoning on the image data of the image data file, and printing data such as control data for printing (ESC / P, etc.) from the image data. Control program), control information related to direct printing, a program for processing according to a protocol for transferring image data, and the like are stored in the ROM 42, the nonvolatile memory 46, or another recording medium (not shown). Has been.

また、図2において、プリントエンジン44は、CPU41から供給される印刷用の制御データに基づいて印刷機構14を制御して印刷処理を実行する回路または装置である。   In FIG. 2, the print engine 44 is a circuit or device that controls the printing mechanism 14 based on the printing control data supplied from the CPU 41 to execute printing processing.

また、USBホスト側インタフェース45は、図1の通信回路11に該当し、USBに規定されたホスト側のインタフェース回路である。   The USB host-side interface 45 corresponds to the communication circuit 11 in FIG. 1 and is a host-side interface circuit defined by USB.

また、不揮発性メモリ46は、各種設定やその履歴などを記憶する記憶手段としての不揮発性の半導体メモリである。なお、この記憶手段としては、半導体メモリの代わりに、磁気記録媒体などの他の記録媒体を使用してもよい。   The non-volatile memory 46 is a non-volatile semiconductor memory as a storage means for storing various settings and their history. As the storage means, another recording medium such as a magnetic recording medium may be used instead of the semiconductor memory.

バス47は、CPU41、ROM42、RAM43、プリントエンジン44、USBホスト側インタフェース45、不揮発性メモリ46、操作部15および表示装置16を相互に接続する信号路である。なお、バス47の本数、およびCPU41、プリントエンジン44などのバス47への接続のトポロジは、図2のものに限定されるものではない。なお、図2における操作部15および表示装置16は、図1のものと同様である。   The bus 47 is a signal path that interconnects the CPU 41, ROM 42, RAM 43, print engine 44, USB host-side interface 45, nonvolatile memory 46, operation unit 15, and display device 16. The number of buses 47 and the topology of connections to the buses 47 such as the CPU 41 and the print engine 44 are not limited to those shown in FIG. The operation unit 15 and the display device 16 in FIG. 2 are the same as those in FIG.

図3は、本発明の実施の形態1に係る画像出力システムにおけるデジタルカメラ装置2のハードウェア構成例を示すブロック図である。図3において、CPU61は、プログラムを実行し、プログラムに記述された処理を実行する演算装置である。また、ROM62は、プログラムおよびデータを予め記憶したメモリである。また、RAM63は、プログラムを実行する際にそのプログラムおよびデータを一時的に記憶するメモリである。   FIG. 3 is a block diagram illustrating a hardware configuration example of the digital camera device 2 in the image output system according to Embodiment 1 of the present invention. In FIG. 3, a CPU 61 is an arithmetic unit that executes a program and executes processing described in the program. The ROM 62 is a memory that stores programs and data in advance. The RAM 63 is a memory that temporarily stores the program and data when the program is executed.

なお、CPU61が実行するプログラムとしては、撮影時やデータ転送時などに各部の制御を行うためのプログラム、ダイレクト印刷に係る制御情報および画像データの転送のためのプロトコルに従って処理を行うためのプログラム、画像データファイルの管理を行うためのプログラムなどがROM62または図示せぬ他の記録媒体に格納されている。   As a program executed by the CPU 61, a program for controlling each unit at the time of shooting or data transfer, a program for performing processing in accordance with a protocol for transfer of control information and image data related to direct printing, A program for managing the image data file is stored in the ROM 62 or other recording medium (not shown).

また、図3において、メモリカード65は、図1の記録媒体24に該当し、撮影により得られた画像データなどを格納する記録媒体である。なお、メモリカード65の代わりに、装置内に固定された半導体メモリ、磁気記録装置などを使用するようにしてもよい。   In FIG. 3, a memory card 65 corresponds to the recording medium 24 of FIG. 1, and is a recording medium for storing image data obtained by photographing. Instead of the memory card 65, a semiconductor memory fixed in the device, a magnetic recording device, or the like may be used.

また、USBデバイス側インタフェース66は、図1の通信回路21に該当し、USBに規定されたデバイス側のインタフェース回路である。   The USB device-side interface 66 corresponds to the communication circuit 21 in FIG. 1 and is a device-side interface circuit defined by USB.

バス67は、CPU61、ROM62、RAM63、メモリカード65、USBデバイス側インタフェース66、操作部25、表示装置26および撮影部27を相互に接続する信号路である。なお、バス67の本数、およびCPU61などのバス67への接続のトポロジは、図3のものに限定されるものではない。なお、図3における操作部25、表示装置26および撮影部27は、図1のものと同様である。   The bus 67 is a signal path that connects the CPU 61, ROM 62, RAM 63, memory card 65, USB device-side interface 66, operation unit 25, display device 26, and photographing unit 27 to each other. The number of buses 67 and the topology of connections to the bus 67 such as the CPU 61 are not limited to those shown in FIG. The operation unit 25, the display device 26, and the photographing unit 27 in FIG. 3 are the same as those in FIG.

図4は、本発明の実施の形態1に係る画像出力システムにおいて、プリンタ装置1とデジタルカメラ装置2との間で使用されるプロトコル階層の一例を示す図である。図4(A)は、印刷システム全体のプロトコル階層を示す図であり、図4(B)は、そのうちのDPDP層84a,84bの詳細なプロトコル構成を示す図である。   FIG. 4 is a diagram showing an example of a protocol hierarchy used between the printer device 1 and the digital camera device 2 in the image output system according to Embodiment 1 of the present invention. 4A is a diagram illustrating a protocol hierarchy of the entire printing system, and FIG. 4B is a diagram illustrating a detailed protocol configuration of the DPDP layers 84a and 84b.

この実施の形態1では、まず、物理層81として、USBケーブルである通信路3、並びにUSBホスト側インタフェース45およびUSBデバイス側インタフェース66内の図示せぬ信号送受信回路が使用される。そして、この実施の形態1におけるプリンタ装置1およびデジタルカメラ装置2では、その物理層を制御する層として、USBホスト側インタフェース45およびUSBデバイス側インタフェース66により実現されるUSB層82a,82bがあり、USBクラスとしてスチルイメージクラス(SIC)が使用される。これにより、データ伝送路が実現される。なお、USB規格については、現在USB1.1、USB2.0など存在するが、将来提案される次バージョン以降のものでもよく、USBと同等の通信規格のものを代わりに使用してもよい。なお、通信路3にUSBを使用する場合、プリンタ装置1がUSBホストとなり、デジタルカメラ装置2がUSBデバイスとなる。   In the first embodiment, first, as the physical layer 81, the communication path 3 which is a USB cable, and a signal transmission / reception circuit (not shown) in the USB host side interface 45 and the USB device side interface 66 are used. In the printer device 1 and the digital camera device 2 according to the first embodiment, there are USB layers 82a and 82b realized by the USB host side interface 45 and the USB device side interface 66 as layers for controlling the physical layer. Still image class (SIC) is used as the USB class. Thereby, a data transmission path is realized. 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 the USB is used for the communication path 3, the printer device 1 is a USB host and the digital camera device 2 is a USB device.

そして、その上位において、デジタル静止画装置(DSPD)の外部からの制御やデジタル静止画装置(DSPD)の外部への画像データ転送を規定した画像転送プロトコル(PTP)が使用される。PTP層83a,83bは、PTPに基づいてデータファイルの転送を行う処理部である。なお、PTPの標準規格としては、PHOTOGRAPHIC AND IMAGING MANUFACTURERS ASSOCIATION,INCの「PIMA15740:2000」がある。PTPは、DSPD間での画像データの交換のための通信方式を提供するプロトコルであり、PTPでは、ストレージ内のオブジェクト(画像データファイルなど)は、パスではなく、オブジェクトハンドルで指定される。   At the higher level, an image transfer protocol (PTP) that defines control from outside the digital still image device (DSPD) and image data transfer to the outside of the digital still image device (DSPD) is used. The PTP layers 83a and 83b are processing units that transfer data files based on PTP. 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, an object (such as an image data file) in storage is specified by an object handle, not a path.

この実施の形態1では、上述のPTPの上位で、デジタルカメラ装置2に格納された画像データを、通信路3を介して直接、プリンタ装置1へ供給して印刷を行うためのプロトコルであるDPDPプロトコルに基づいて印刷に係る制御情報の送受および印刷処理を行うDPDP層84a,84bが使用される。DPDP層84a,84bでは、プリンタ装置1とデジタルカメラ装置2との間で、印刷処理に係る制御情報が、マークアップ言語(ここでは、XML;eXtensible Markup Language)で記述した一連のスクリプト(すなわち、テキストデータ)として通信路3を介して送受される。なお、印刷処理に係る制御情報としては、印刷処理における各種コマンド、そのコマンドに対する応答、装置や印刷ジョブの状態の通知などがある。また、このスクリプトには、制御情報のみが含まれ、印刷の対象となる画像データファイル自体は含まれない。すなわち、画像データファイルの格納場所などの情報はこのスクリプトに含まれるが、画像データそのものは含まれない。   In the first embodiment, DPDP, which is a protocol for printing image data stored in the digital camera device 2 directly to the printer device 1 via the communication path 3 above the PTP described above. DPDP layers 84a and 84b that perform control information transmission / reception and printing processing based on the protocol are used. In the DPDP layers 84a and 84b, a series of scripts (in this case, XML: eXtensible Markup Language) in which control information related to the printing process is described between the printer apparatus 1 and the digital camera apparatus 2 (that is, XML: eXtensible Markup Language) Text data) is transmitted and received via the communication path 3. The control information related to the printing process includes various commands in the printing process, a response to the command, and notification of the status of the apparatus and the print job. Further, this script includes only control information and does not include the image data file itself to be printed. 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.

上述の各プロトコルのうち、物理層81が、この実施の形態1では、通信回路11、通信路3および通信回路21により実現され、USB層82a,82bが、通信回路11および通信回路21により実現され、PTP層83a,83bおよびDPDP層84a,84bが、通信制御部12および通信制御部22により実現される。なお、通信制御部12および通信制御部22は、プログラムがCPU41,61により実行されることで実現される。   Among the above-described protocols, the physical layer 81 is realized by the communication circuit 11, the communication path 3, and the communication circuit 21 in the first embodiment, and the USB layers 82a and 82b are realized by the communication circuit 11 and the communication circuit 21. Thus, the PTP layers 83 a and 83 b and the DPDP layers 84 a and 84 b are realized by the communication control unit 12 and the communication control unit 22. Note that the communication control unit 12 and the communication control unit 22 are realized by executing programs by the CPUs 41 and 61.

そして、DPDP層84a,84bでは、DPDP層84a,84bと複数種類の下位層との整合性を得るために、DPDP層84a,84bの最下位層に、下位層の入出力フォーマット(コマンドセット、応答のフォーマット)に対応して制御情報の授受を行うトランスポート層91が設けられる。このため、DPDP層84a,84bの下位層は、PTP層83a,83bに限定されず、その下位層に応じてトランスポート層91を変更すればよい。   In the DPDP layers 84a and 84b, in order to obtain consistency between the DPDP layers 84a and 84b and a plurality of types of lower layers, the lower layer I / O format (command set, A transport layer 91 for transferring control information corresponding to the response format is provided. Therefore, the lower layers of the DPDP layers 84a and 84b are not limited to the PTP layers 83a and 83b, and the transport layer 91 may be changed according to the lower layers.

また、DPDP層84a,84bでは、トランスポート層91の上位に、制御情報を含むXMLスクリプトの生成および解釈を行うXML処理層92が設けられ、さらに、XML処理層92の上位に、制御情報を送受してダイレクト印刷処理を進行させるアプリケーション層93が設けられる。   In the DPDP 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 sent above the XML processing layer 92. An application layer 93 that transmits and receives and advances the direct printing process is provided.

この実施の形態1では、DPDP層84a,84bは、互いに連携し、フレーム挿入印刷機能を実現する。その際、画像出力要求において、フレーム挿入印刷用のレイアウト定義ファイルと画像データファイルがいずれも画像データファイルとして指定され、ファイル名印刷に使用されるファイル名の指定を利用して、印刷ジョブがフレーム挿入印刷であるか否かが区別される。   In the first embodiment, the DPDP layers 84a and 84b cooperate with each other to realize a frame insertion printing function. At that time, in the image output request, both the layout definition file for frame insertion printing and the image data file are specified as the image data file, and the print job is set to the frame by specifying the file name used for file name printing. It is distinguished whether or not the printing is insertion printing.

ここで、フレーム挿入印刷機能(以下、PIF機能という)について説明する。なお、以下、PIF機能を使用した印刷をPIF印刷という。   Here, the frame insertion printing function (hereinafter referred to as PIF function) will be described. Hereinafter, printing using the PIF function is referred to as PIF printing.

図5は、PIF機能の概念を説明する図である。図6は、PIF印刷の場合の印刷画像の一例を示す図である。PIF機能を使用した場合、例えば図5に示すように、同一の画像エリアに、複数の画像121,122,123が重畳した状態で印刷される。その場合に、例えば、それらの画像121,122,123のうちの1つの画像123は、フレーム画像であり、フレーム画像データには、他の画像122が表示される透明なエリアに関する情報(例えば、そのエリアの位置、透明率など)が記述される。そして、図6に示すように、背景の画像121の画像データ、印刷対象とされるメインの画像122の画像データ、およびフレーム画像である画像123のデータが合成されて、1枚の画像131の画像データが生成され、その画像データに基づき合成後の画像131が印刷される。   FIG. 5 is a diagram for explaining the concept of the PIF function. FIG. 6 is a diagram illustrating an example of a print image in the case of PIF printing. When the PIF function is used, for example, as shown in FIG. 5, a plurality of images 121, 122, and 123 are printed in the same image area in a superimposed state. In that case, for example, one of the images 121, 122, and 123 is a frame image, and the frame image data includes information on a transparent area where the other image 122 is displayed (for example, The position of the area, transparency, etc.) are described. Then, as shown in FIG. 6, the image data of the background image 121, the image data of the main image 122 to be printed, and the data of the image 123, which is a frame image, are combined to form one image 131. Image data is generated, and a combined image 131 is printed based on the image data.

PIF印刷の場合のメイン画像122の位置、背景画像およびフレーム画像のレイアウトは、レイアウト定義ファイルにおいて定義される。図7は、実施の形態1におけるレイアウト定義ファイルの一例を示す図である。レイアウト定義ファイル32は、画像データファイル31とは別のファイルとされ、レイアウトデータ32aとフレーム画像データ32bとを有する。レイアウトデータ32aは、画像の嵌め込み位置などを定義するデータである。フレーム画像データ32bは、フレーム画像のJPEGデータである。レイアウト定義ファイル32のファイル名の拡張子は、使用可能な画像データファイルの拡張子のいずれとも異なるものとされる。   The position of the main image 122 and the layout of the background image and frame image in the case of PIF printing are defined in the layout definition file. FIG. 7 is a diagram showing an example of the layout definition file in the first embodiment. The layout definition file 32 is a file different from the image data file 31, and includes layout data 32a and frame image data 32b. The layout data 32a is data that defines an insertion position of an image. The frame image data 32b is JPEG data of a frame image. The file name extension of the layout definition file 32 is different from any of the usable image data file extensions.

図8は、レイアウト定義ファイル32におけるレイアウトデータ32aの一例を示す図である。図8に示すように、レイアウトデータ32aには、ヘッダ情報(見出し[HEADER]で始まる部分)と、ページ情報(見出し[PAGE]で始まる部分)が記述される。   FIG. 8 is a diagram showing an example of layout data 32 a in the layout definition file 32. As shown in FIG. 8, the layout data 32a describes header information (portion starting with heading [HEADER]) and page information (portion starting with heading [PAGE]).

ヘッダ情報には、レイアウト定義ファイルに関する情報が含まれている。例えば、ヘッダ情報には、変数「HdKeyWord 」、変数「HdDirection 」、変数「HdSound 」と、変数「HdThumbnail 」と、変数「HdPhysicalPaperSize 」、変数「HdMargines」などが含まれる。   The header information includes information related to the layout definition file. For example, the header information includes a variable “HdKeyWord”, a variable “HdDirection”, a variable “HdSound”, a variable “HdThumbnail”, a variable “HdPhysicalPaperSize”, a variable “HdMargines”, and the like.

変数「HdKeyWord 」は、ページレイアウトに関する特定のまたはユーザ所望のキーワードを値として有する変数である。例えば図8では、「Christmas 」や「Greeting」とされている。なお、このキーワードには、半角英数字に限らず所望の文字コードの文字を使用することができる。「HdKeyWord 」によるキーワードに基づいてレイアウト定義ファイルが検索される。   The variable “HdKeyWord” is a variable having a specific or user-desired keyword relating to the page layout as a value. For example, in FIG. 8, “Christmas” and “Greeting” are set. For this keyword, not only single-byte alphanumeric characters but also characters having a desired character code can be used. The layout definition file is searched based on the keyword “HdKeyWord”.

変数「HdDirection 」は、ページレイアウトの表示方向情報を値として有する変数である。表示方向は、デジタルカメラのファインダまたは表示画面に表示されるとき、あるいは印刷されるときのページレイアウトの向きであり、例えば縦向きや横向きとされる。   The variable “HdDirection” is a variable having the display direction information of the page layout as a value. The display direction is the page layout direction when displayed on the finder or display screen of the digital camera, or when printed, for example, portrait or landscape.

変数「HdSound 」は、サウンドファイル情報、すなわち、レイアウト定義ファイルに関連付けられているサウンドファイルのポインタを値として有する変数である。変数「HdSound 」の値は、例えば、サウンドファイルのファイル名(例えば図8に示すように「GSOUND.PCM」)と相対パス名(例えば図8に示すように「\EPUDL\ 」)とされる。相対パス名の代わりに絶対的なパス名を使用してもよい。以下、ファイルポインタの表現方法は、この場合と同様とすることができるものとする。このように、レイアウト定義ファイルにはサウンドファイルを関連付けることが可能であり、例えば、このレイアウト定義ファイルが外部出力される場合には、そのサウンドファイルも出力されるようにしてもよい。サウンドファイルは、所定のときに再生される。例えば、そのレイアウト定義ファイルに記述されているページレイアウトがデジタルカメラのファインダまたは表示部、プリンタの表示部などに表示されたとき、そのページレイアウトを含んだページデザインが印刷されるときなどに、そのサウンドファイルに記録されているが音声などが自動的に再生される。   The variable “HdSound” is a variable having as a value the sound file information, that is, the pointer of the sound file associated with the layout definition file. The value of the variable “HdSound” is, for example, the file name of the sound file (for example, “GSOUND.PCM” as shown in FIG. 8) and the relative path name (for example, “\ EPUDL \” as shown in FIG. 8). . An absolute path name may be used instead of a relative path name. Hereinafter, the file pointer representation method can be the same as in this case. In this way, a sound file can be associated with the layout definition file. For example, when this layout definition file is output to the outside, the sound file may also be output. The sound file is reproduced at a predetermined time. For example, when the page layout described in the layout definition file is displayed in the viewfinder or display section of a digital camera, the display section of a printer, or when a page design including the page layout is printed, Although it is recorded in the sound file, sound etc. are played automatically.

変数「HdThumbnail 」は、サムネイル情報、すなわち、ページレイアウトのサムネイル画像の画像データファイルのポインタを値として有する変数である。なお、このサムネイル画像は、特定の装置(パーソナルコンピュータ、携帯電話機、デジタルカメラ、プリンタなど)を用いて作成される。なお、ユーザの操作に応じて、サムネイル画像を配列した複数のページレイアウトの一覧が表示されたり印刷されたりするようにしてもよい。   The variable “HdThumbnail” is a variable having the thumbnail information, that is, the pointer of the image data file of the thumbnail image of the page layout as a value. The thumbnail image is created using a specific device (such as a personal computer, a mobile phone, a digital camera, or a printer). Note that a list of a plurality of page layouts in which thumbnail images are arranged may be displayed or printed in accordance with a user operation.

変数「HdPhysicalPaperSize 」は、物理的なページサイズ情報、すなわち、ページレイアウトを印刷した場合に、そのページレイアウトのサイズに完全にマッチする用紙サイズを値として有する変数である。   The variable “HdPhysicalPaperSize” is a variable having, as a value, a physical page size information, that is, a paper size that perfectly matches the size of the page layout when the page layout is printed.

変数「HdMargines」は、印刷マージン情報、すなわち、印刷用紙に対してどの程度の余白を残してページレイアウトを印刷するかを表す情報を値として有する変数である。例えば図8に示すように、変数「HdMargines」の値を「3, 3, 3, 3」とした場合には、方形の用紙の上下左右の縁に3ミリメートルの余白が生じるように印刷が行われる。なお、印刷マージンの数値は、正の値に限らず、ゼロまたは負の値であってもよい。そのようにした場合は、余白が全く形成されずに印刷が行われる。   The variable “HdMargines” is a variable having, as a value, print margin information, that is, information indicating how much margin is left on the printing paper and printing the page layout. For example, as shown in Fig. 8, when the value of the variable "HdMargines" is set to "3, 3, 3, 3", printing is performed so that 3 mm margins are generated on the top, bottom, left, and right edges of the square paper. Is called. Note that the numerical value of the print margin is not limited to a positive value, and may be zero or a negative value. In such a case, printing is performed without forming any blank space.

また、レイアウト定義ファイル内のページ情報には、ページレイアウトの属性に関する情報が含まれる。例えば、ページ情報には、関数「Draw Picture」、関数「Draw Strings」、関数「Draw Line 」などが含まれる。   The page information in the layout definition file includes information related to page layout attributes. For example, the page information includes a function “Draw Picture”, a function “Draw Strings”, a function “Draw Line”, and the like.

関数「Draw Picture」は、画像エリアに関する情報などを引数として画像を描画する関数である。   The function “Draw Picture” is a function that draws an image using information about the image area as an argument.

関数「Draw Picture」の第1引数は、画像エリアに適用されるターゲット画像のファイルを関連付ける画像ファイルポインタである。第1引数の画像ファイルポインタの値は、レイアウト定義ファイルの生成時にターゲット画像が決まっている場合には、そのターゲット画像のファイルポインタとされ、レイアウト定義ファイルの生成時にターゲット画像が決まっていない場合には、NULL(空)とされる。ページレイアウトの画像エリアに適用される背景の画像121が予め決定されているときは、その画像のファイルポインタが、第1引数として記述される。なお、適用される画像の種類をファイル名の拡張子によって識別するようにしてもよい。例えば、背景画像の場合には拡張子「EFF」とすればよい。なお、レイアウト定義ファイルの生成時にターゲット画像が決まっていない場合には、ターゲット画像が印刷ジョブ開始コマンド内などで指定される。   The first argument of the function “Draw Picture” is an image file pointer for associating a target image file applied to the image area. If the target image is determined when the layout definition file is generated, the value of the first argument image file pointer is the file pointer of the target image. If the target image is not determined when the layout definition file is generated, Is NULL (empty). When the background image 121 to be applied to the image area of the page layout is determined in advance, the file pointer of the image is described as the first argument. Note that the type of image to be applied may be identified by the extension of the file name. For example, in the case of a background image, the extension “EFF” may be used. If the target image is not determined when the layout definition file is generated, the target image is specified in the print job start command.

関数「Draw Picture」の第2の引数は、画像エリアのフォトIDである。フォトIDの値は、適用される画像が未決定の場合には1以上の整数とされ、適用される画像が決定済みである場合には、ゼロとされる。   The second argument of the function “Draw Picture” is the photo ID of the image area. The value of the photo ID is an integer of 1 or more when the applied image has not been determined, and is zero when the applied image has been determined.

関数「Draw Picture」の第3引数から第6引数までは、方形の画像エリアの外形を示す対角線上の2点のX−Y座標値である。なお、画像エリアの外形は、方形に限らず、多角形、真円、長円などといった形状でもよく、画像エリアの外形を示す方法は、座標を記述する方法に限らず、例えば、境界線を表す関数式でもよい。   The third argument to the sixth argument of the function “Draw Picture” are XY coordinate values of two points on the diagonal line indicating the outer shape of the rectangular image area. Note that the outer shape of the image area is not limited to a square, and may be a polygon, a perfect circle, an ellipse, or the like. The method of indicating the outer shape of the image area is not limited to the method of describing coordinates, for example, a boundary line is used. It may be a functional expression that represents it.

関数「Draw Picture」の第7引数は、画像エリアに適用される画像を回転させる程度を示す回転度合情報である。回転度合情報は、所定の範囲(例えば0度〜360度)の範囲で設定することが可能である。   The seventh argument of the function “Draw Picture” is rotation degree information indicating the degree to which the image applied to the image area is rotated. The degree of rotation information can be set in a predetermined range (for example, 0 to 360 degrees).

関数「Draw Picture」の第8引数は、画像に対して適用するフィッティング規則を指定する数値である。フィッティング規則としては、例えば、画像エリア内に余白が生じるか否かに拘わらず画像をそのまま適用するといった規則、ユーザ所望の縦横比を維持しながらユーザ所望の範囲が表示されるように画像を画像エリアに余白を生じさせること無く適用するといった規則などがある。   The eighth argument of the function “Draw Picture” is a numerical value that specifies a fitting rule to be applied to the image. As a fitting rule, for example, a rule that an image is applied as it is regardless of whether or not a margin is generated in the image area, an image is displayed so that a user-desired range is displayed while maintaining a user-desired aspect ratio. There are rules such as applying without causing margins in the area.

関数「Draw Picture」の第9引数は、画像エリアにおいて画像を配置する位置を決定する位置合わせ規則を指定する数値である。位置合わせ規則としては、例えば、左上合わせ(画像エリアの左上頂点に画像の左上頂点を合わせる方法)、中央合わせ(画像エリアの中央に画像の中央に合わせる方法)などがある。   The ninth argument of the function “Draw Picture” is a numerical value that specifies an alignment rule for determining the position where an image is to be arranged in the image area. Examples of the alignment rule include upper left alignment (a method of aligning the upper left vertex of the image with the upper left vertex of the image area), center alignment (a method of aligning the image area with the center of the image area), and the like.

また、ページ情報のうちの関数「Draw Strings」は、引数で指定された位置に、引数で指定された文字、図形等の飾り部品を描画する関数である。関数「Draw Strings」の構造は、ページレイアウトにどのような飾り部品が適用されるかによって異なる。   Also, the function “Draw Strings” in the page information is a function that draws decorative parts such as characters and graphics specified by the argument at the position specified by the argument. The structure of the function “Draw Strings” varies depending on what decorative parts are applied to the page layout.

関数「Draw Strings」の第1引数は、飾り部品の適用のために使用される画像ファイルのポインタである。関数「Draw Strings」の第2引数は、画像エリアのフォトIDである。   The first argument of the function “Draw Strings” is a pointer to an image file used for applying decorative parts. The second argument of the function “Draw Strings” is the photo ID of the image area.

関数「Draw Strings」の第3引数は、飾り部品の内容を表す第1の飾り部品情報である。図8では、この第2引数は、「%G, %d, %y」とされている。この値「%G, %d, %y」は、使用画像情報として記述されている画像ファイル中の画像の撮影年月日を示す文字列を表す。なお、撮影年月日を示す文字列の代わりに、ユーザ所望の文字列を記述してもよい。   The third argument of the function “Draw Strings” is first decorative part information representing the contents of the decorative part. In FIG. 8, the second argument is “% G,% d,% y”. This value “% G,% d,% y” represents a character string indicating the shooting date of the image in the image file described as the used image information. Note that a character string desired by the user may be described instead of the character string indicating the shooting date.

関数「Draw Strings」の第4引数から第7引数までは、第1の飾り部品情報により指定される飾り部品が配置される位置を示す飾り部品適用位置情報である。図8では、第4引数から第7引数までは、画像エリア外形の指定と同様の形式で、「100, 200, 200, 300」とされている。   The fourth argument to the seventh argument of the function “Draw Strings” are decorative part application position information indicating the position where the decorative part specified by the first decorative part information is arranged. In FIG. 8, the fourth argument to the seventh argument are “100, 200, 200, 300” in the same format as the designation of the image area outline.

関数「Draw Strings」の第8引数から第12引数までは、適用される飾り部品の属性を示す第2の飾り部品情報である。図8では、第8引数から第12引数までは、「“Mincho”, 0, 128, 128, 128」とされている。図8では、第8引数から第12引数までに記述された属性は、上述した飾り部品適用位置に入れ込まれる撮影年月日を表す文字の属性である。ここでは、明朝体で、8ポイントの大きさで、RGB各色が128の値を持った色で、撮影年月日を表す文字列が記述されることが表わされている。   The eighth argument to the twelfth argument of the function “Draw Strings” are second decorative part information indicating the attribute of the decorative part to be applied. In FIG. 8, the eighth argument to the twelfth argument are “Mincho”, 0, 128, 128, 128 ”. In FIG. 8, the attributes described from the eighth argument to the twelfth argument are character attributes representing the shooting date that is inserted into the decorative part application position described above. Here, it is shown that a character string representing the shooting date is described in a Mincho style, a size of 8 points, and each RGB color having a value of 128.

また、ページ情報のうちの関数「Draw Line 」は、ページレイアウトに適用される線を描画する関数である。関数「Draw Line 」は、8個の引数をとり、第1引数および第2引数が、線の始端座標であり、第3引数および第4引数が線の周端座標である。そして、第5引数から第8引数までは、描画される線の属性情報(線の太さおよびRGB値)である。図8では、第5引数から第8引数までは、「5, 255, 0, 0」とされており、線の太さが5ポイントとされ、線の色についてR値が255、G値が0、B値が0とされている。   The function “Draw Line” in the page information is a function for drawing a line applied to the page layout. The function “Draw Line” takes eight arguments, the first argument and the second argument are the start end coordinates of the line, and the third argument and the fourth argument are the peripheral end coordinates of the line. The fifth argument to the eighth argument are attribute information (line thickness and RGB value) of the drawn line. In FIG. 8, the fifth argument to the eighth argument are “5, 255, 0, 0”, the line thickness is 5 points, the R value is 255 and the G value is about the line color. 0 and B value are 0.

PIF印刷を行う場合、上述のレイアウト定義ファイル32に基づいて、プリンタなどにより複数の画像121,122,123が合成され、合成後の画像が印刷される。   When performing PIF printing, a plurality of images 121, 122, and 123 are combined by a printer or the like based on the layout definition file 32 described above, and the combined images are printed.

なお、プリンタ装置1の通信回路11およびデジタルカメラ装置1の通信回路21は、データ通信を行う通信手段として機能する。また、プリンタ装置1の印刷制御部13は、所定の画像出力形式(実施の形態1では、PIF印刷形式)に従って複数のデータファイルに基づき画像を出力する画像出力手段として機能する。   Note that the communication circuit 11 of the printer apparatus 1 and the communication circuit 21 of the digital camera apparatus 1 function as communication means for performing data communication. The print control unit 13 of the printer apparatus 1 functions as an image output unit that outputs an image based on a plurality of data files in accordance with a predetermined image output format (PIF print format in the first embodiment).

また、デジタルカメラ装置2のDPDP層84bは、通信手段を制御して、複数のデータファイルを使用して1つの画像を出力する画像出力形式のために使用される複数のデータファイルを画像データファイルとして指定した画像出力要求をプリンタ装置1に送信する通信制御手段として機能する。また、DPDP層84bは、その画像出力要求を生成する要求生成手段としても機能する。   In addition, the DPDP layer 84b of the digital camera device 2 controls the communication means and outputs a plurality of data files used for an image output format for outputting one image using a plurality of data files to an image data file. It functions as a communication control means for transmitting the image output request designated as, to the printer apparatus 1. The DPDP layer 84b also functions as a request generation unit that generates the image output request.

また、プリンタ装置1のDPDP層84aは、通信手段(実施の形態1では通信回路11)により画像出力要求を受信すると、画像出力要求において指定されている画像データファイル名に基づいて、画像データファイルとして指定されたファイルがレイアウト定義ファイルであるか否かを判定し、レイアウト定義ファイルが指定されていると判定した場合には、レイアウト定義ファイルに含まれるレイアウトデータに基づいて画像出力を画像出力手段(実施の形態1では印刷制御部13)に実行させる制御手段として機能する。   When the DPDP layer 84a of the printer apparatus 1 receives the image output request by the communication means (the communication circuit 11 in the first embodiment), the image data file is based on the image data file name specified in the image output request. It is determined whether the file specified as is a layout definition file. If it is determined that the layout definition file is specified, the image output means outputs the image based on the layout data included in the layout definition file. It functions as a control means that is executed by the print control unit 13 in the first embodiment.

次に、実施の形態1に係る画像出力システムにおける各装置の動作について説明する。図9は、実施の形態1に係る画像出力システムにおいてPIF印刷時に使用される画像出力要求のXMLスクリプトの一例を示す図である。図10は、実施の形態1に係る画像出力システムにおけるプリンタ装置1の動作を説明するフローチャートである。   Next, the operation of each device in the image output system according to Embodiment 1 will be described. FIG. 9 is a diagram illustrating an example of an XML script for an image output request used during PIF printing in the image output system according to the first embodiment. FIG. 10 is a flowchart for explaining the operation of the printer apparatus 1 in the image output system according to the first embodiment.

プリンタ装置1およびデジタルカメラ装置2では、起動後に、CPU41,61が、ROM42,62などに予め記憶されている各種プログラムを実行する。これにより、プリンタ装置1およびデジタルカメラ装置2において、通信制御部12,22、印刷制御部13および中央制御部23が実現され、図4に示す階層的な処理部が実現される。   In the printer device 1 and the digital camera device 2, after startup, the CPUs 41 and 61 execute various programs stored in advance in the ROMs 42 and 62. Thereby, in the printer apparatus 1 and the digital camera apparatus 2, the communication control units 12 and 22, the print control unit 13, and the central control unit 23 are realized, and the hierarchical processing unit shown in FIG. 4 is realized.

その後、ユーザによりプリンタ装置1とデジタルカメラ装置2が通信路3により物理的に接続されると、まず、USB層82a,82bのエンティティにより両者の間のスティルイメージクラスに基づくデータ伝送路が確立される。そして、USBによる伝送路が確立されると、そのUSB層82a,82bの上位にて、そのデータ伝送路を使用するPTP層83a,83bのエンティティが起動される。なお、USB層82a,82bおよびUSB層82a,82bより上位の各プロトコル層のエンティティ(通信主体)は、通信制御部12,22により実現される。   Thereafter, when the printer apparatus 1 and the digital camera apparatus 2 are physically connected by the communication path 3 by the user, first, a data transmission path based on the still image class between the two is established by the entities of the USB layers 82a and 82b. The When the USB transmission path is established, the entities of the PTP layers 83a and 83b that use the data transmission path are activated above the USB layers 82a and 82b. Note that the entities (communication entities) of the protocol layers above the USB layers 82 a and 82 b and the USB layers 82 a and 82 b are realized by the communication control units 12 and 22.

そして、プリンタ装置1とデジタルカメラ装置2は、それぞれ所定の名称のファイルを格納しておき(あるいは、仮想的に格納しているように見せかけて)、通信制御部12,22により、PTPに基づいてそのファイルが検出された場合に、DPDPプロトコルに対応している機器が通信相手として接続されたことを検知する。このコネクション処理により、自己が使用しているものと同一のプロトコル(ここでは、DPDPプロトコル)を通信相手が使用していることが保証される。このコネクション処理により、通信相手としてDPDPプロトコルに対応した機器が接続されると、プリンタ装置1およびデジタルカメラ装置2の通信制御部12,22は、DPDP層84a,84bによりDPDPプロトコルに従った処理を開始する。   Then, the printer device 1 and the digital camera device 2 each store a file with a predetermined name (or pretend to be virtually stored), and the communication control units 12 and 22 make it based on PTP. When the file is detected, it is detected that a device compatible with the DPDP protocol is connected as a communication partner. By this connection processing, it is guaranteed that the communication partner is using the same protocol (in this case, DPDP protocol) that is used by itself. When a device corresponding to the DPDP protocol is connected as a communication partner by this connection processing, the communication control units 12 and 22 of the printer device 1 and the digital camera device 2 perform processing according to the DPDP protocol by the DPDP layers 84a and 84b. Start.

コネクション処理により、通信相手としてDPDPプロトコルに対応したプリンタ装置1が検出されると、デジタルカメラ装置2のDPDP層84bは、DPDPプロトコルのバージョン情報、デジタルカメラ装置2のベンダ名称、このデジタルカメラ装置2に関するベンダ固有のバージョン情報、デジタルカメラ装置2の製品名、デジタルカメラ装置2のシリアル番号などを含む環境情報をプリンタ装置1へ通知する。そして、プリンタ装置1のDPDP層84aは、その環境情報を受信すると、このデジタルカメラ装置2と連携してDPDPプロトコルに従ったダイレクト印刷を実行可能か否かを判断し、DPDPプロトコルに従ったダイレクト印刷を受け付けるか否かを示す情報、DPDPプロトコルのバージョン情報、プリンタ装置1のベンダ名称、このプリンタ装置1に関するベンダ固有のバージョン情報、プリンタ装置1の製品名、プリンタ装置1のシリアル番号などを含む環境情報を有する応答をデジタルカメラ装置2に送信する。デジタルカメラ装置2のDPDP層84bは、そのプリンタ装置1の環境情報を含む応答を受信する。   When the printer process 1 corresponding to the DPDP protocol is detected as a communication partner by the connection process, the DPDP layer 84b of the digital camera apparatus 2 displays the DPDP protocol version information, the vendor name of the digital camera apparatus 2, and the digital camera apparatus 2 Environment information including vendor-specific version information, product name of the digital camera device 2, serial number of the digital camera device 2, etc. is notified to the printer device 1. When the DPDP layer 84a of the printer apparatus 1 receives the environmental information, the DPDP layer 84a determines whether or not direct printing according to the DPDP protocol can be executed in cooperation with the digital camera apparatus 2, and performs direct printing according to the DPDP protocol. Information indicating whether to accept printing, DPDP protocol version information, vendor name of the printer device 1, vendor-specific version information regarding the printer device 1, product name of the printer device 1, serial number of the printer device 1, and the like A response having environment information is transmitted to the digital camera device 2. The DPDP layer 84b of the digital camera device 2 receives the response including the environment information of the printer device 1.

このとき、デジタルカメラ装置2のDPDP層84bは、DPDPプロトコルに従って、XMLスクリプトで記述された所定の制御コマンドを生成し送信する。プリンタ装置1のDPDP層84aは、その制御コマンドを受信すると、DPDPプロトコルに従って、自己の環境情報を含む応答としてXMLスクリプトを生成し送信する。   At this time, the DPDP layer 84b of the digital camera device 2 generates and transmits a predetermined control command described in the XML script according to the DPDP protocol. When receiving the control command, the DPDP layer 84a of the printer apparatus 1 generates and transmits an XML script as a response including its own environment information according to the DPDP protocol.

なお、デジタルカメラ装置2のDPDP層84bが制御コマンドを生成し送信する場合、アプリケーション層93からXML処理層92へ制御コマンドの情報(コマンド種類など)が渡され、XML処理層92が、その情報に基づいてXMLスクリプトを生成し、トランスポート層91が、そのXMLスクリプトの転送命令を下位のプロトコル(ここではPTP)に供給する。そして、プリンタ装置1のDPDP層84aが制御コマンドを受信する場合、下位のプロトコル(ここではPTP)からトランスポート層91へデータとして制御コマンドが渡され、XML処理層92が、その制御コマンドのXMLスクリプトから制御コマンドの情報を抽出し、アプリケーション層93が、その制御コマンドの情報に基づいて指定された処理を実行する。このようにして、制御コマンドが、DPDP層84a,84b間で転送される。制御コマンドの応答、機器またはジョブの状態通知などの他の制御情報についても同様に転送される。   When the DPDP layer 84b of the digital camera device 2 generates and transmits a control command, control command information (command type, etc.) is passed from the application layer 93 to the XML processing layer 92, and the XML processing layer 92 receives the information. The XML script is generated based on the above, and the transport layer 91 supplies the transfer instruction of the XML script to the lower protocol (here, PTP). When the DPDP layer 84a of the printer apparatus 1 receives the control command, the control command is passed as data from the lower protocol (here, PTP) to the transport layer 91, and the XML processing layer 92 receives the XML of the control command. Control command information is extracted from the script, and the application layer 93 executes a process designated based on the control command information. In this way, the control command is transferred between the DPDP layers 84a and 84b. Other control information such as control command response and device or job status notification is also transferred in the same manner.

デジタルカメラ装置2のDPDP層84bは、ダイレクト印刷を実行可能である旨の応答を受信すると、プリンタ装置1に設けられる複数の機能の設定項目のそれぞれについての選択肢情報をプリンタ装置1から取得する。その際、デジタルカメラ装置2のDPDP層84bは、選択肢情報の送信要求である制御コマンドを送信する。プリンタ装置1のDPDP層84aは、その制御コマンドを受信すると、選択肢情報を含む応答を送信する。デジタルカメラ装置2のDPDP層84bは、その応答を受信し、選択肢情報を取得する。   When the DPDP layer 84 b of the digital camera device 2 receives a response indicating that direct printing can be executed, the DPDP layer 84 b acquires option information for each of the setting items of a plurality of functions provided in the printer device 1 from the printer device 1. At this time, the DPDP layer 84b of the digital camera device 2 transmits a control command which is a request for transmitting option information. When receiving the control command, the DPDP layer 84a of the printer apparatus 1 transmits a response including option information. The DPDP layer 84b of the digital camera device 2 receives the response and acquires option information.

このようにして接続時の初期処理が完了すると、デジタルカメラ装置2は、ダイレクト印刷についてのユーザによる操作を受付可能となる。   When the initial processing at the time of connection is completed in this way, the digital camera device 2 can accept an operation by the user for direct printing.

その後、ユーザが、デジタルカメラ装置2の操作部25に対して所定の操作を行い、PIF印刷を行う旨の指令を入力すると、デジタルカメラ装置2のDPDP層84bは、その指令を受け付ける。デジタルカメラ装置2のDPDP層84bは、操作部25および表示装置26によるユーザインタフェースに基づいて、PIF印刷のための、ユーザ所望のレイアウト定義ファイル(すなわち、フレーム画像および背景画像を含むレイアウト)、並びに画像データファイルを特定する。   Thereafter, when the user performs a predetermined operation on the operation unit 25 of the digital camera device 2 and inputs a command to perform PIF printing, the DPDP layer 84b of the digital camera device 2 receives the command. The DPDP layer 84b of the digital camera device 2 has a user-defined layout definition file (that is, a layout including a frame image and a background image) for PIF printing based on a user interface by the operation unit 25 and the display device 26, and Specify the image data file.

そして、デジタルカメラ装置2のDPDP層84bは、レイアウト定義ファイル32およびメイン画像の画像データファイル31を指定した画像出力要求を生成する。その際、画像出力要求のXMLスクリプトでは、そのXMLスクリプトにおいて指定される画像データファイルの種類が、デフォルトとされ、画像データファイル名印刷機能の設定項目の値が、オン以外の値、つまり、オフまたはデフォルトとされる。なお、デフォルトが設定されている場合には、このXMLスクリプトを受信するプリンタ装置1が、その設定項目の値を決定する。さらに、レイアウト定義ファイル32が、画像データファイル31と同様に指定され、その画像データファイルの指定に対して、画像データファイル名印刷用の画像データファイル名としてレイアウト定義ファイル32のファイル名が指定される。そして、そのレイアウト定義ファイル32に対する指定の後に、メイン画像の画像データファイル31が指定される。   The DPDP layer 84b of the digital camera device 2 generates an image output request specifying the layout definition file 32 and the image data file 31 of the main image. At that time, in the XML script of the image output request, the type of the image data file specified in the XML script is set as default, and the value of the setting item of the image data file name printing function is a value other than ON, that is, OFF Or default. If the default is set, the printer device 1 that receives the XML script determines the value of the setting item. Further, the layout definition file 32 is designated in the same manner as the image data file 31. In response to the designation of the image data file, the file name of the layout definition file 32 is designated as the image data file name for printing the image data file name. The Then, after specifying the layout definition file 32, the image data file 31 of the main image is specified.

図9は、PIF印刷時に、実施の形態1において図7に示すレイアウト定義ファイル32と画像データファイル31が選択された場合のXMLスクリプトを示している。レイアウト定義ファイル32のファイルIDは「FFFF0001」であり、画像データファイル31のファイルIDは「00000001」である。   FIG. 9 shows an XML script when the layout definition file 32 and the image data file 31 shown in FIG. 7 in the first embodiment are selected during PIF printing. The file ID of the layout definition file 32 is “FFFF0001”, and the file ID of the image data file 31 is “00000001”.

図9に示すXMLスクリプトでは、そのXMLスクリプトにおいて指定される画像データファイルの種類が、タグ<ImageFileType>,</ImageFileType>により「Default」(つまりデフォルト)と指定されている。PIF印刷のようなあるベンダ固有の印刷機能についての専用データファイルのファイル形式は、予めDPDPプロトコルでは定義されていない。このため、ファイルの種類が「Default」とされる。   In the XML script shown in FIG. 9, the type of the image data file specified in the XML script is specified as “Default” (that is, default) by tags <ImageFileType> and </ ImageFileType>. The file format of a dedicated data file for a certain vendor-specific printing function such as PIF printing is not defined in advance by the DPDP protocol. For this reason, the file type is “Default”.

また、画像データファイル名の印刷機能の設定項目の値が、タグ<ImageFileNamePrint>,</ImageFileNamePrint>によりOFF(つまりオフ)と設定されている。つまり、画像とともに画像データファイル名を印刷しない設定とされている。なお、画像とともにファイル名が印刷される場合には、印刷領域の右下隅や左下隅などに画像に比べて小さくファイル名の文字列が印刷される。   Also, the value of the setting item of the print function of the image data file name is set to OFF (that is, off) by the tags <ImageFileNamePrint> and </ ImageFileNamePrint>. In other words, the image data file name is not printed together with the image. When the file name is printed together with the image, the character string of the file name is printed smaller than the image in the lower right corner and the lower left corner of the print area.

さらに、レイアウト定義ファイル32のファイルIDが、画像データファイルのファイルIDを指定するタグ<ImageFileID>,</ImageFileID>により「FFFF0001」と指定されている。   Furthermore, the file ID of the layout definition file 32 is designated as “FFFF0001” by tags <ImageFileID> and </ ImageFileID> that designate the file ID of the image data file.

さらに、そのレイアウト定義ファイル32のファイルIDの指定の直後に、そのファイルIDのファイル名を印刷するための画像データファイル名が、タグ<ImageFileName>,</ImageFileName>により「PIF_FILE.FD2」と指定されている。ここでは、レイアウト定義ファイル32のファイル名が指定されているが、この欄は、本来、画像データファイルのファイル名を指定するためのものである。   Further, immediately after the designation of the file ID of the layout definition file 32, the image data file name for printing the file name of the file ID is designated as “PIF_FILE.FD2” by the tags <ImageFileName> and </ ImageFileName>. Has been. Here, the file name of the layout definition file 32 is specified, but this field is originally for specifying the file name of the image data file.

つまり、この実施の形態1では、画像データファイル名の印刷が実行されないように指定した上で、レイアウト定義ファイル32のファイルIDの指定に関連付けて画像データファイル名印刷用の画像データファイル名として、レイアウト定義ファイル32のファイル名の文字列が設定される。このように、画像データファイルのファイルIDを指定するタグを使用してレイアウト定義ファイル32のファイルIDを指定し、その指定に関連付けて、画像データファイル名印刷用の画像データファイル名として、レイアウト定義ファイル32のファイル名が設定される。   That is, in the first embodiment, after specifying that the printing of the image data file name is not executed, the image data file name for image data file name printing is associated with the specification of the file ID of the layout definition file 32 as A character string of the file name of the layout definition file 32 is set. In this way, the file ID of the layout definition file 32 is designated using the tag for designating the file ID of the image data file, and the layout definition is associated with the designation as the image data file name for printing the image data file name. The file name of the file 32 is set.

なお、図9に示すXMLスクリプトのうち、タグ<DPDP_Request>,</DPDP_Request>は、このXMLスクリプトがDPDPに基づく要求(制御コマンド)であることを示し、タグ<Job>,</Job>は、画像出力要求であることを示している。   In the XML script shown in FIG. 9, tags <DPDP_Request> and </ DPDP_Request> indicate that this XML script is a request (control command) based on DPDP, and tags <Job> and </ Job> are Indicates an image output request.

次に、デジタルカメラ装置2のDPDP層84bは、この画像出力要求のXMLスクリプトを、PTP層83b以下の処理層を使用して送信する。このXMLスクリプトは、通信路3を介してプリンタ装置1へ転送される。   Next, the DPDP layer 84b of the digital camera device 2 transmits the image output request XML script using the processing layers below the PTP layer 83b. This XML script is transferred to the printer apparatus 1 via the communication path 3.

そして、プリンタ装置1のDPDP層84aは、PTP層83a以下の処理層により転送されてきた画像出力要求のXMLスクリプトを受信する(ステップS1)。   Then, the DPDP layer 84a of the printer apparatus 1 receives the XML script for the image output request transferred by the processing layer below the PTP layer 83a (step S1).

プリンタ装置1のDPDP層84aは、その内容を解析し、ファイル名印刷がオンに設定されているか否かを判定する(ステップS2)。その際、DPDP層84aは、タグ<ImageFileNamePrint>,</ImageFileNamePrint>を検索し、それらのタグに囲まれた文字列からファイル名印刷がオンであるか否かを判定する。   The DPDP layer 84a of the printer apparatus 1 analyzes the contents and determines whether or not file name printing is set to ON (step S2). At this time, the DPDP layer 84a searches the tags <ImageFileNamePrint>, </ ImageFileNamePrint>, and determines whether or not file name printing is on from the character string surrounded by these tags.

画像出力要求においてファイル名印刷がオンに設定されていない場合、つまり、ファイル名印刷がオフまたはデフォルトに設定されている場合には、プリンタ装置1のDPDP層84aは、画像出力要求における最初の画像データファイルの指定に対してファイル名印刷用のファイル名が指定されているか否かを判定する(ステップS3)。   When the file name printing is not set to ON in the image output request, that is, when the file name printing is set to OFF or default, the DPDP layer 84a of the printer apparatus 1 uses the first image in the image output request. It is determined whether or not a file name printing file name is specified for the data file specification (step S3).

例えば、図9に示すXMLスクリプトの場合、最初の画像データファイルの指定「<imageFileID>FFFF0001</imageFileID>」の直後に、ファイル名印刷用のファイル名の指定「<imageFileName>PIF_FILE.FD2</imageFileName>」が存在するので、最初の画像データファイルの指定に対してファイル名印刷用のファイル名が指定されていると判定される。   For example, in the case of the XML script shown in FIG. 9, immediately after the first image data file specification “<imageFileID> FFFF0001 </ imageFileID>”, the file name specification “<imageFileName> PIF_FILE.FD2 </ Since “imageFileName>” exists, it is determined that the file name for printing the file name is designated for the designation of the first image data file.

なお、プリンタ装置1のDPDP層84aは、画像出力要求の先頭から検索していき、タグ<imageFileID>,</imageFileID>を検出する。そして、DPDP層84aは、これらのタグにより指定されているファイルIDを、画像データファイルのファイルIDとして検出する。つまり、このとき、DPDP層84aは、画像データファイルのファイルIDの検出を行う。   Note that the DPDP layer 84a of the printer apparatus 1 searches from the top of the image output request and detects the tags <imageFileID> and </ imageFileID>. The DPDP layer 84a detects the file ID specified by these tags as the file ID of the image data file. That is, at this time, the DPDP layer 84a detects the file ID of the image data file.

最初の画像データファイルの指定に対してファイル名印刷用のファイル名が指定されている場合、プリンタ装置1のDPDP層84aは、ファイル名印刷用のファイル名の拡張子がレイアウト定義ファイルの拡張子であるか否かを判定する(ステップS4)。   When a file name for file name printing is designated for the designation of the first image data file, the DPDP layer 84a of the printer apparatus 1 uses the extension of the file name for file name printing as the extension of the layout definition file. It is determined whether or not (step S4).

この実施の形態1では、DPDP層84aには、レイアウト定義ファイルの拡張子が「.fd2」と予め定義されている。したがって、図9に示す画像出力要求の場合、ファイル名印刷用のファイル名の拡張子がレイアウト定義ファイルの拡張子であると判定される。   In the first embodiment, the extension of the layout definition file is previously defined as “.fd2” in the DPDP layer 84a. Therefore, in the case of the image output request shown in FIG. 9, it is determined that the extension of the file name for printing the file name is the extension of the layout definition file.

ファイル名印刷用のファイル名の拡張子がレイアウト定義ファイルの拡張子であると判定した場合、プリンタ装置1のDPDP層84aは、画像出力要求において最初に指定されているファイルIDのファイルを、レイアウト定義ファイルとして、デジタルカメラ装置2から取得する(ステップS5)。   When it is determined that the extension of the file name for printing the file name is the extension of the layout definition file, the DPDP layer 84a of the printer apparatus 1 uses the file ID first specified in the image output request as the layout. The definition file is acquired from the digital camera device 2 (step S5).

その際、プリンタ装置1のDPDP層84aは、そのファイルIDを指定したファイル送信要求(制御コマンド)を生成し、デジタルカメラ装置2へ送信する。デジタルカメラ装置のDPDP層84bは、そのファイル送信要求により指定されたファイルIDを有するデータファイルを記録媒体24から読み出し、プリンタ装置1へ送信する。プリンタ装置1のDPDP層84aは、そのデータファイルを受信する。このようにして、プリンタ装置1は、画像出力要求において最初に指定されたファイルを取得する。   At that time, the DPDP layer 84 a of the printer apparatus 1 generates a file transmission request (control command) designating the file ID and transmits it to the digital camera apparatus 2. The DPDP layer 84b of the digital camera device reads the data file having the file ID designated by the file transmission request from the recording medium 24 and transmits it to the printer device 1. The DPDP layer 84a of the printer apparatus 1 receives the data file. In this manner, the printer apparatus 1 acquires the file specified first in the image output request.

また、このファイル送信要求は、通信路3を介してプリンタ装置1からデジタルカメラ装置2へ転送される。そして、データファイルは、通信路3を介してデジタルカメラ装置2からプリンタ装置1へ転送される。デジタルカメラ装置2のDPDP層84bは、PTP層83a以下の処理層により転送されてきたファイル送信要求のXMLスクリプトを受信すると、指定されたデータファイルを、PTP層83bを使用して転送する。なお、この処理においては、DPDPプロトコルのファイル転送要求をPTPのファイル転送要求GetObjectに変換し、DPDP層84aおよびPTP層83a,83bのみでファイル転送を行うようにしてもよい。   The file transmission request is transferred from the printer apparatus 1 to the digital camera apparatus 2 via the communication path 3. Then, the data file is transferred from the digital camera device 2 to the printer device 1 via the communication path 3. When the DPDP layer 84b of the digital camera apparatus 2 receives the XML script of the file transmission request transferred by the processing layer below the PTP layer 83a, the designated data file is transferred using the PTP layer 83b. In this process, the DPDP protocol file transfer request may be converted into a PTP file transfer request GetObject, and the file transfer may be performed only by the DPDP layer 84a and the PTP layers 83a and 83b.

その後、プリンタ装置1のDPDP層84aは、画像出力要求において指定されている残りのデータファイルを、フレーム画像の画像データファイルとして、デジタルカメラ装置2から取得する(ステップS6)。例えば図9に示す画像出力要求の場合、ファイルIDが「00000001」である画像データファイル31が、メイン画像の画像データファイルとしてプリンタ装置1により取得される。   Thereafter, the DPDP layer 84a of the printer apparatus 1 acquires the remaining data file specified in the image output request from the digital camera apparatus 2 as an image data file of the frame image (step S6). For example, in the case of the image output request shown in FIG. 9, the image data file 31 with the file ID “00000001” is acquired by the printer device 1 as the image data file of the main image.

そして、プリンタ装置1のDPDP層84aは、取得したレイアウト定義ファイルとメイン画像の画像データファイル31に基づいて、印刷制御部13および印刷機構14によりPIF印刷を実行させる(ステップS7)。その際、レイアウト定義ファイル32内のフレーム画像データ32bによる画像と画像データファイル31による画像とが合成されフレーム挿入画像とされる。これにより、例えば図6に示すような1つの画像131が印刷される。   Then, the DPDP layer 84a of the printer apparatus 1 causes the print control unit 13 and the printing mechanism 14 to execute PIF printing based on the acquired layout definition file and the image data file 31 of the main image (step S7). At this time, the image based on the frame image data 32b in the layout definition file 32 and the image based on the image data file 31 are combined to form a frame insertion image. Thereby, for example, one image 131 as shown in FIG. 6 is printed.

一方、画像出力要求においてファイル名印刷がオンに指定されている場合(ステップS2)、最初のファイル指定に対して印刷用ファイル名の指定がない場合(ステップS3)、および印刷用ファイル名の拡張子が所定の拡張子ではない場合(ステップS4)には、プリンタ装置1のDPDP層84aは、画像出力要求においてタグ<imageFileID>,</imageFileID>により指定されたファイルを、すべて画像データファイルとしてデジタルカメラ装置2から取得する(ステップS8)。そして、プリンタ装置1のDPDP層84aは、1組のタグ<imageFileID>,</imageFileID>により指定される1つの画像データファイルに基づいて1つの画像を特定し、その画像を出力する(ステップS9)。   On the other hand, when file name printing is specified to be on in the image output request (step S2), when the print file name is not specified for the first file specification (step S3), and when the print file name is extended If the child does not have a predetermined extension (step S4), the DPDP layer 84a of the printer apparatus 1 uses all the files specified by the tags <imageFileID> and </ imageFileID> in the image output request as image data files. Obtained from the digital camera device 2 (step S8). Then, the DPDP layer 84a of the printer apparatus 1 specifies one image based on one image data file specified by a set of tags <imageFileID> and </ imageFileID>, and outputs the image (step S9). ).

以上のように、上記実施の形態1によれば、デジタルカメラ装置2は、画像出力要求において、画像出力のレイアウトデータ32aを含むレイアウト定義ファイル32を画像データファイルとして指定し、さらに、このレイアウト定義ファイル32のファイル名を、画像出力時に画像とともに出力される画像データファイル名として指定し、その画像出力要求をプリンタ装置1に送信する。プリンタ装置1は、画像出力要求を受信すると、画像出力要求において指定されている画像データファイル名に基づいて、画像データファイルとして指定されたファイルがレイアウト定義ファイルであるか否かを判定し、レイアウト定義ファイルが指定されていると判定した場合には、レイアウト定義ファイルに含まれるレイアウトデータに基づいて画像出力を行う。   As described above, according to the first embodiment, the digital camera device 2 designates the layout definition file 32 including the layout data 32a for image output as the image data file in the image output request, and further, this layout definition. The file name of the file 32 is designated as an image data file name that is output together with the image when the image is output, and the image output request is transmitted to the printer apparatus 1. Upon receiving the image output request, the printer apparatus 1 determines whether the file specified as the image data file is a layout definition file based on the image data file name specified in the image output request, and determines the layout. If it is determined that the definition file is specified, image output is performed based on the layout data included in the layout definition file.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、画像データファイルとともに画像データファイル以外のデータファイル(ここではレイアウト定義ファイル)を使用して1つの画像を出力することができる。   As a result, even when a description rule in which one image data file is designated for one image to be output in the image output request is adopted, a data file other than the image data file (here, the image data file) One image can be output using a layout definition file.

さらに、画像データファイルの指定に、ファイル名ではなくファイル種別の情報を持たないファイル番号を使用している場合でも、レイアウト定義ファイル32に基づく画像出力か否かが正確に判定される。また、ファイルの指定にファイル名ではなくファイル種別の情報を持たないファイル番号を使用する場合、そのファイルがレイアウト定義ファイルか否かを判定するために、そのファイルの種別をプリンタ装置1からデジタルカメラ装置2へ問い合わせる必要がなく、プリンタ装置1とのデジタルカメラ装置2との間の通信回数を減らすことができる。   Furthermore, even when a file number that does not have file type information is used for specifying an image data file, it is accurately determined whether or not the image is output based on the layout definition file 32. When a file number that does not have file type information is used for specifying a file, the file type is changed from the printer device 1 to the digital camera in order to determine whether the file is a layout definition file. There is no need to make an inquiry to the apparatus 2, and the number of communications between the printer apparatus 1 and the digital camera apparatus 2 can be reduced.

さらに、上記実施の形態1によれば、メイン画像とフレーム画像とを重畳させた画像を出力する画像出力形式のために使用される複数のデータファイルとしての、メイン画像とフレーム画像のレイアウトデータを含むレイアウト定義ファイル32およびそのメイン画像のデータファイル31が、それぞれ画像データファイルとして画像出力要求において指定される。   Further, according to the first embodiment, the layout data of the main image and the frame image is used as a plurality of data files used for an image output format for outputting an image in which the main image and the frame image are superimposed. The layout definition file 32 to be included and the data file 31 of the main image are designated as image data files in the image output request.

これにより、画像出力要求において画像出力対象の1つの画像に対して1つの画像データファイルが指定される記述ルールを採用している場合でも、フレーム挿入印刷を実現することができる。   Thereby, even when a description rule in which one image data file is designated for one image to be output in the image output request is adopted, frame insertion printing can be realized.

さらに、上記実施の形態1によれば、レイアウト定義ファイルを使用する画像出力のための画像出力要求を生成する際に、画像データファイル名出力機能の設定項目の値がオン以外に設定される。   Furthermore, according to the first embodiment, when generating an image output request for image output using the layout definition file, the value of the setting item of the image data file name output function is set to other than ON.

これにより、画像データファイル名出力機能のための画像データファイル名の指定を、レイアウト定義ファイルの判別用に使用しても、画像データファイル名が画像に重畳されて出力されずに済む。   Thus, even if the designation of the image data file name for the image data file name output function is used for determining the layout definition file, the image data file name is not superimposed on the image and output.

実施の形態2.
本発明の実施の形態2に係る画像出力システムは、1つの画像出力要求において、複数のフレーム挿入画像(すなわちメイン画像にフレーム画像を重畳した画像)をある画像出力エリア(例えば1頁)内に割り当てることが可能なものである。
Embodiment 2. FIG.
In the image output system according to Embodiment 2 of the present invention, in one image output request, a plurality of frame insertion images (that is, images obtained by superimposing a frame image on a main image) are included in a certain image output area (for example, one page). It can be assigned.

実施の形態2では、画像出力要求において、1つのフレーム挿入画像について1つのレイアウト定義ファイルが指定される。したがって、1頁に4枚のフレーム挿入画像が割り当てられる場合には、通常、4つのレイアウト定義ファイルが画像出力要求において指定される。ただし、例えば、同一のレイアウト定義ファイルが連続して使用される場合には、レイアウト定義ファイルの指定「<ImageFileID>xxx</ImageFileID>」の直後にそのレイアウト定義ファイルの反復使用回数nを指定して、その反復使用回数分のレイアウト定義ファイルの指定を行うようにしてもよい。その場合、「<ImageFileID>xxx</ImageFileID>」の後に、既存の記述ルールにおいて画像データファイルの反復使用回数を指定するタグ「Copy」を使用した要素「<Copy>n</Copy>」が挿入される。   In the second embodiment, one layout definition file is designated for one frame insertion image in the image output request. Therefore, when four frame insertion images are assigned to one page, usually four layout definition files are designated in the image output request. However, for example, when the same layout definition file is used continuously, specify the number n of repeated use of the layout definition file immediately after the layout definition file specification “<ImageFileID> xxx </ ImageFileID>”. Thus, the layout definition file may be designated for the number of repeated uses. In that case, after “<ImageFileID> xxx </ ImageFileID>”, an element “<Copy> n </ Copy>” using a tag “Copy” that specifies the number of times the image data file is repeatedly used in the existing description rule is Inserted.

そして、プリンタ装置1は、画像出力要求において指定された各データファイルをデジタルカメラ装置2から取得し、各データファイルの内容を解析して、画像出力要求において指定された複数のデータファイルのうちのレイアウト定義ファイルの数を特定し、各レイアウト定義ファイルおよびメイン画像の画像データファイルに基づいて1つのフレーム挿入画像を生成し、印刷する。   Then, the printer apparatus 1 acquires each data file specified in the image output request from the digital camera apparatus 2, analyzes the contents of each data file, and among the plurality of data files specified in the image output request. The number of layout definition files is specified, and one frame insertion image is generated and printed based on each layout definition file and the image data file of the main image.

なお、実施の形態2におけるプリンタ装置1およびデジタルカメラ装置2の基本的な構成およびその他の動作については、実施の形態1の場合と同様であるので、その説明を省略する。   Note that the basic configuration and other operations of the printer device 1 and the digital camera device 2 in the second embodiment are the same as those in the first embodiment, and a description thereof will be omitted.

以上のように、上記実施の形態2によれば、複数のフレーム挿入画像を1頁内に割り当てることができる。   As described above, according to the second embodiment, a plurality of frame insertion images can be allocated within one page.

実施の形態3.
本発明の実施の形態3に係る画像出力システムは、画像データファイルと音声データファイルとを関連付けた定義ファイルをレイアウト定義ファイルの代わりに使用し、プリンタ装置1の代わりに、スピーカ付きの表示装置などといった画像表示と音声出力の可能な画像出力装置を有し、デジタルカメラ装置には音楽データファイルを格納し、その定義ファイル、並びにその定義ファイルにおいて指定された画像データファイルと音声データファイルとを画像供給装置から画像出力装置へ伝送し、画像出力装置により、画像データファイルに基づく画像と音声データファイルに基づく音声とを並行して出力するようにしたものである。
Embodiment 3 FIG.
The image output system according to the third embodiment of the present invention uses a definition file in which an image data file and an audio data file are associated instead of the layout definition file, and instead of the printer device 1, a display device with a speaker, etc. The digital camera device stores a music data file, and the definition file, and the image data file and the audio data file specified in the definition file are stored as images. The image data is transmitted from the supply device to the image output device, and the image output device outputs the image based on the image data file and the sound based on the audio data file in parallel.

なお、この場合、1つの音声データファイルと複数の画像データファイルとを定義ファイル内で指定しておき、画像データファイルが指定された順番で画像を出力するようにしてもよい。また、音楽の再生開始からの経過時間により、画像データファイルに基づく画像の表示タイミングや表示期間を定義ファイル内で指定するようにしてもよい。   In this case, one audio data file and a plurality of image data files may be designated in the definition file, and the images may be output in the order in which the image data files are designated. Further, the display timing and display period of the image based on the image data file may be designated in the definition file according to the elapsed time from the start of music playback.

また、画像出力要求において、音声データファイルの代わりに動画像データファイルを指定して、静止画像と動画像を組み合せて出力するようにしてもよい。   In addition, in the image output request, a moving image data file may be specified instead of the audio data file, and a still image and a moving image may be output in combination.

以上のように、上記実施の形態3によれば、既存の記述ルールを使用して、1つの画像出力要求において画像と音声との組み合わせや静止画像と動画像との組み合わせを指定し、それらを並行して出力することができる。   As described above, according to the third embodiment, the existing description rule is used to specify a combination of an image and sound or a combination of a still image and a moving image in one image output request, and Can be output in parallel.

なお、上述の各実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   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.

例えば、上述の各実施の形態では、マークアップ言語の1つであるXMLを使用して制御情報を記述しているが、SGML(Standard Generalized Markup Language)などの他のマークアップ言語を使用して記述するようにしてもよい。   For example, in each of the above-described embodiments, control information is described using XML, which is one of markup languages, but other markup languages such as SGML (Standard Generalized Markup Language) are used. You may make it describe.

また、上述の各実施の形態では、DPDPプロトコル以下の階層において、PTPおよびUSBを使用しているが、TCP/IP(Transmission Control Protocol / Internet Protocol )などの他のプロトコルを使用するようにしてもよい。また、その際の伝送媒体としては、有線LAN、ブルーツース、無線LANなどを使用してもよい。さらに、上述の実施の形態において、デジタルカメラ装置2における画像データの管理および転送を行うプロトコルとして、PTPの代わりにUSBマスストレージクラスを使用するようにしてもよい。   In each of the above-described embodiments, PTP and USB are used in the layers below the DPDP protocol, but other protocols such as TCP / IP (Transmission Control Protocol / Internet Protocol) may be used. Good. Further, as a transmission medium at that time, a wired LAN, Bluetooth, a wireless LAN, or the like may be used. Further, in the above-described embodiment, a USB mass storage class may be used instead of PTP as a protocol for managing and transferring image data in the digital camera device 2.

また、上述の各実施の形態において、プリンタ装置1の代わりに、紙などの媒体に画像を記録する他の記録装置、画像を表示する表示装置、画像を投影する投影装置などを使用してもよい。   In each of the above-described embodiments, instead of the printer device 1, another recording device that records an image on a medium such as paper, a display device that displays an image, a projection device that projects an image, or the like may be used. Good.

また、上述の各実施の形態において、デジタルカメラ装置2は、動画用および/または静止画用のデジタルカメラ、およびそのような撮像機能を有する種々の電子機器とすることができる。そのような電子機器としては、移動体電話、PDA、音楽プレーヤ、テレビジョン受像機、ビデオ録画/再生装置、テレビジョン電話機、テレビビジョン会議装置などがある。また、デジタルカメラ装置2は、可搬性のある装置でもよいし、あまり可搬性のない装置でもよい。また、デジタルカメラ装置2の代わりに、撮像機能を有さない上述のような電子機器を使用するようにしてもよい。   In each of the above-described embodiments, the digital camera device 2 can be a digital camera for moving images and / or still images, and various electronic devices having such an imaging function. Such electronic devices include mobile telephones, PDAs, music players, television receivers, video recording / playback devices, television telephones, and television vision conferencing devices. The digital camera device 2 may be a portable device or a device that is not very portable. Further, in place of the digital camera device 2, the above-described electronic device having no imaging function may be used.

また、上述の各実施の形態においては、画像の情報を含む複数のデータファイルを使用して1つの画像を出力する例としてPIF印刷を挙げているが、画像の情報を含む複数のデータファイルを使用して1つの画像を出力する他の画像出力処理についても同様に実現可能である。   In each of the above-described embodiments, PIF printing is given as an example of outputting one image using a plurality of data files including image information. However, a plurality of data files including image information are used. Other image output processes that use and output one image can be similarly realized.

また、上述の各実施の形態においては、画像の情報を含む2つのデータファイルを使用して1つの画像を出力しているが、3つ以上のデータファイルを使用して1つの画像を出力する他の画像出力処理についても同様に実現可能である。   In each of the above-described embodiments, one image is output using two data files containing image information. However, one image is output using three or more data files. Other image output processes can be similarly realized.

また、上述の各実施の形態においては、画像出力要求におけるレイアウト定義ファイルなどの指定の順番を特に指定せずに、画像出力要求におけるファイルIDの指定をすべて特定し、各指定に対するファイル名印刷用のファイル名の指定の有無およびそのファイル名の拡張子に基づいて、いずれかのデータファイルがレイアウト定義ファイルであると判定された場合に、PIF印刷を行うようにしてもよい。   Further, in each of the above-described embodiments, all the file ID designations in the image output request are specified without particularly specifying the order of designation of the layout definition file or the like in the image output request, and the file name printing for each designation is performed. PIF printing may be performed when it is determined that one of the data files is a layout definition file based on whether or not the file name is specified and the extension of the file name.

また、上述の各実施の形態において、デジタルカメラ装置2は、環境情報に基づいて、プリンタ装置1のベンダを確認し、PIF印刷用の画像出力要求の送信を許可するか禁止するかを判断するようにしてもよい。すなわち、デジタルカメラ装置2は、PIF印刷を採用しているベンダのプリンタ装置1が接続された場合には、PIF印刷用の画像出力要求の送信を許可し、そうでない場合には、禁止する。   In each of the above-described embodiments, the digital camera device 2 checks the vendor of the printer device 1 based on the environment information, and determines whether to permit or prohibit transmission of an image output request for PIF printing. You may do it. In other words, the digital camera device 2 permits transmission of an image output request for PIF printing when the printer device 1 of a vendor adopting PIF printing is connected, and prohibits otherwise.

また、上述の各実施の形態において、レイアウト定義ファイル32は、デジタルカメラ装置2からプリンタ装置1へ供給されているが、その代わりに、プリンタ装置1が、内蔵の記憶手段にレイアウト定義ファイル32を記憶しておき、デジタルカメラ装置2は、レイアウト定義ファイル32の指定のみをプリンタ装置1へ送信しレイアウト定義ファイル32を送信しないようにしてもよい。   In each of the above-described embodiments, the layout definition file 32 is supplied from the digital camera device 2 to the printer device 1. Instead, the printer device 1 stores the layout definition file 32 in a built-in storage unit. In other words, the digital camera apparatus 2 may transmit only the designation of the layout definition file 32 to the printer apparatus 1 and not transmit the layout definition file 32.

また、上述の各実施の形態において、ファイル名印刷の設定項目の値に拘わらず、ファイル名印刷のためのファイル名に基づいて、PIF印刷を行うか否かを判定するようにしてもよい。   Further, in each of the above-described embodiments, it may be determined whether to perform PIF printing based on the file name for file name printing, regardless of the value of the setting item for file name printing.

本発明は、例えば、ダイレクト印刷システムに適用可能である。   The present invention is applicable to, for example, a direct printing system.

実施の形態1に係る画像出力システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image output system according to Embodiment 1. FIG. 実施の形態1におけるプリンタ装置のハードウェア構成例を示すブロック図である。2 is a block diagram illustrating a hardware configuration example of a printer apparatus according to Embodiment 1. FIG. 実施の形態1におけるデジタルカメラ装置のハードウェア構成例を示すブロック図である。2 is a block diagram illustrating a hardware configuration example of the digital camera device according to Embodiment 1. FIG. 実施の形態1において、プリンタ装置とデジタルカメラ装置との間で使用されるプロトコル階層の一例を示す図である。3 is a diagram illustrating an example of a protocol hierarchy used between a printer device and a digital camera device in Embodiment 1. FIG. PIF機能の概念を説明する図である。It is a figure explaining the concept of a PIF function. PIF印刷の場合の印刷画像の一例を示す図である。It is a figure which shows an example of the print image in the case of PIF printing. 実施の形態1におけるレイアウト定義ファイルの一例を示す図である。6 is a diagram showing an example of a layout definition file in the first embodiment. FIG. レイアウト定義ファイルにおけるレイアウトデータの一例を示す図である。It is a figure which shows an example of the layout data in a layout definition file. 実施の形態1においてPIF印刷時に使用される画像出力要求のXMLスクリプトの一例を示す図である。6 is a diagram illustrating an example of an XML script for an image output request used during PIF printing in Embodiment 1. FIG. 実施の形態1におけるプリンタ装置の動作を説明するフローチャートである。3 is a flowchart for explaining the operation of the printer apparatus according to the first embodiment.

符号の説明Explanation of symbols

1 プリンタ装置(画像出力装置)、2 デジタルカメラ装置(画像供給装置)、11 通信回路(通信手段)、13 印刷制御部(画像出力手段)、21 通信回路(通信手段)、31 画像データファイル、32 レイアウト定義ファイル、32a レイアウトデータ、84a DPDP層(制御手段)、84b DPDP層(要求生成手段,通信制御手段)。 DESCRIPTION OF SYMBOLS 1 Printer apparatus (image output apparatus), 2 Digital camera apparatus (image supply apparatus), 11 Communication circuit (communication means), 13 Print control part (image output means), 21 Communication circuit (communication means), 31 Image data file, 32 layout definition file, 32a layout data, 84a DPDP layer (control means), 84b DPDP layer (request generation means, communication control means).

Claims (4)

画像出力要求およびその画像出力要求で指定されたデータファイルを受信し、上記画像出力要求および上記データファイルに基づいて画像を出力する画像出力装置において、
データ通信を行う通信手段と、
所定の画像出力形式に従って複数のデータファイルに基づき画像を出力する画像出力手段と、
上記通信手段により上記画像出力要求を受信すると、その画像出力要求におけるファイル番号による画像データファイルの指定を検出し、その画像データファイルに対して指定された、画像出力時に画像とともに出力される画像データファイル名の文字列に基づいて、その指定されたファイルがレイアウト定義ファイルであるか否かを判定し、
レイアウト定義ファイルが指定されていると判定した場合にはレイアウト定義ファイルに含まれるレイアウトデータに基づいて画像出力を上記画像出力手段に実行させ、レイアウト定義ファイルが指定されていないと判定した場合には前記画像データファイル名により特定される画像データの画像出力を上記画像出力手段に実行させる制御手段と、
を備えることを特徴とする画像出力装置。
In an image output apparatus that receives an image output request and a data file specified by the image output request, and outputs an image based on the image output request and the data file,
A communication means for performing data communication;
Image output means for outputting an image based on a plurality of data files according to a predetermined image output format;
When the image output request is received by the communication means, the designation of the image data file by the file number in the image output request is detected, and the image data output together with the image specified for the image data file is output. Based on the file name string, determine whether the specified file is a layout definition file,
If it is determined that the layout definition file is specified, the image output unit is caused to execute image output based on the layout data included in the layout definition file, and if it is determined that the layout definition file is not specified. and control means Ru is executed to the image output unit an image output of the image data specified by the image data file name,
An image output apparatus comprising:
前記制御手段は、前記画像出力要求において、メイン画像とフレーム画像とを重畳させた画像を出力するために使用されるレイアウト定義ファイルが指定されている場合、そのレイアウト定義ファイル、および前記画像出力要求において指定されている上記メイン画像の画像データファイルに基づいて、前記画像出力手段を制御して、上記メイン画像に上記フレーム画像を重畳させた1つの画像を出力させることを特徴とする請求項記載の画像出力装置。 When the layout definition file used to output an image in which a main image and a frame image are superimposed is specified in the image output request, the control means, the layout definition file, and the image output request based on the image data file of the main image designated in the controls the image output unit, according to claim 1, characterized in that to output one image obtained by superimposing the frame image in the main image The image output device described. 前記制御手段は、前記画像出力要求における画像データファイル名出力機能の設定項目の値がオン以外である場合のみ、前記画像データファイル名に基づいて、指定されたファイルがレイアウト定義ファイルであるか否かを判定することを特徴とする請求項記載の画像出力装置。 The control means determines whether the specified file is a layout definition file based on the image data file name only when the value of the setting item of the image data file name output function in the image output request is other than ON. The image output apparatus according to claim 1 , wherein the image output apparatus determines whether or not. コンピュータを備える画像出力装置を、請求項1ないし3のいずれか記載の画像出力装置として機能させるためのプログラム。 The program for functioning an image output device provided with a computer as an image output device in any one of Claims 1 thru | or 3.
JP2004153282A 2004-05-24 2004-05-24 Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method Expired - Fee Related JP4400307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004153282A JP4400307B2 (en) 2004-05-24 2004-05-24 Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004153282A JP4400307B2 (en) 2004-05-24 2004-05-24 Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method

Publications (2)

Publication Number Publication Date
JP2005335084A JP2005335084A (en) 2005-12-08
JP4400307B2 true JP4400307B2 (en) 2010-01-20

Family

ID=35489172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004153282A Expired - Fee Related JP4400307B2 (en) 2004-05-24 2004-05-24 Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method

Country Status (1)

Country Link
JP (1) JP4400307B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4735425B2 (en) * 2006-06-05 2011-07-27 セイコーエプソン株式会社 Image processing apparatus and image processing method
JP4983445B2 (en) * 2007-07-09 2012-07-25 セイコーエプソン株式会社 Network system and program

Also Published As

Publication number Publication date
JP2005335084A (en) 2005-12-08

Similar Documents

Publication Publication Date Title
EP1429532B1 (en) Image processing method and image processing system using the same
JP4059027B2 (en) Printer and printer print condition setting method
US7207735B2 (en) Device and its operation method for enabling printer to print page of desired design
RU2293027C2 (en) Device for feeding image, registration system and registration control method
JP6525517B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP2011030231A (en) Image reproduction device, image holding device, and image reproduction system
JP2004070868A (en) Image data sending device and image data sending/receiving system
JP4595496B2 (en) Image output system, image output apparatus, and image output method
US20050254069A1 (en) Method of providing multimedia data for direct printing, direct printing method and apparatus thereof
JP4400307B2 (en) Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method
JP4374916B2 (en) Image input device, image output device, and image output system
JP4993008B2 (en) Image supply device
JP4314990B2 (en) Direct printing system, printer, digital camera, control program, and image printing method
JP2005033487A (en) Image output system, image supply device, image output device, and image output method
JP2005301346A (en) Image output system, image output device, image supply device, image output method, image supply method, and computer program
JP4717543B2 (en) Image editing apparatus, control method therefor, program, and storage medium
JP2004351793A (en) Image output unit, image output system, and image output method
JP4561272B2 (en) Direct print system
JP2006056039A (en) Photo-direct printer
JP2005004457A (en) Image output system, image output device, and terminal device
JP2008073882A (en) Direct print system
JP2004310613A (en) Image data transfer system, and its method
JP4618447B2 (en) Printer and printer print condition setting method
JP2005142652A (en) Image output request apparatus, program, image output system, and image data file browsing method
JP2021076980A (en) Image file creation device, image file creation method, information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060627

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090908

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091006

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Ref document number: 4400307

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091019

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131106

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees