JP2004303194A - Image output system, image output device, image supplier, control program and image output method - Google Patents

Image output system, image output device, image supplier, control program and image output method Download PDF

Info

Publication number
JP2004303194A
JP2004303194A JP2003411853A JP2003411853A JP2004303194A JP 2004303194 A JP2004303194 A JP 2004303194A JP 2003411853 A JP2003411853 A JP 2003411853A JP 2003411853 A JP2003411853 A JP 2003411853A JP 2004303194 A JP2004303194 A JP 2004303194A
Authority
JP
Japan
Prior art keywords
image
image output
tag
supply device
function
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.)
Granted
Application number
JP2003411853A
Other languages
Japanese (ja)
Other versions
JP4314990B2 (en
JP2004303194A5 (en
Inventor
Masakatsu Endo
正勝 遠藤
Yoichi Wakai
洋一 若井
Hideki Morozumi
秀樹 両角
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 JP2003411853A priority Critical patent/JP4314990B2/en
Publication of JP2004303194A publication Critical patent/JP2004303194A/en
Publication of JP2004303194A5 publication Critical patent/JP2004303194A5/ja
Application granted granted Critical
Publication of JP4314990B2 publication Critical patent/JP4314990B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image output system for easily adding a function after stipulating a protocol while maintaining compatibility for a plurality of vendors, an image output device, an image supplier, a control program and an image output method. <P>SOLUTION: At the time of generating control information relating to image output on the basis of an image output control protocol, when a prescribed function in the image output control protocol is extended, the image supplier 2 and the image output device 1 connected by a communication path 3 leaves an existing tag expressing the function inside a script, inserts an extension tag corresponding to the extension, generates a series of scripts described in a markup language and transmits and receives the generated scripts as the control information to/from a communicating party through the communication path 3. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、通信路を介して制御情報および画像データを伝送して、画像供給装置に格納
された画像データに基づく画像を画像出力装置により出力する画像出力システムおよび画
像出力方法、並びにそれらで使用される画像出力装置、画像供給装置および制御プログラ
ムに関するものである。
The present invention relates to an image output system and an image output method for transmitting control information and image data via a communication path and outputting an image based on image data stored in an image supply device by an image output device, and an image output method and an image output method. And a control program.

デジタルスチルカメラとプリンタとを、パーソナルコンピュータなどを介さずに接続し
、デジタルスチルカメラにより撮影した画像をプリンタにより印刷するいわゆるダイレク
トプリントシステムがある(例えば特許文献1参照)。
There is a so-called direct print system in which a digital still camera and a printer are connected without using a personal computer or the like, and an image photographed by the digital still camera is printed by the printer (for example, see Patent Document 1).

ダイレクトプリントシステムでは、デジタルスチルカメラとプリンタとの間でベンダ固
有のプロトコルを使用して、画像データや印刷ジョブ開始コマンドなどの送受が行われて
いる。
In a direct print system, transmission and reception of image data, a print job start command, and the like are performed between a digital still camera and a printer using a vendor-specific protocol.

特開2002−330394号公報(従来の技術欄)JP-A-2002-330394 (prior art section)

しかしながら、各ベンダが独自のプロトコルを使用しているため、デジタルスチルカメ
ラによる画像をあるベンダのプリンタにより印刷できても、他のベンダのプリンタにより
印刷できないことがある。その場合、複数のベンダで同一のプロトコルを使用すれば、デ
ジタルスチルカメラによる画像をそれらのうちのいずれのベンダのプリンタでも印刷可能
となるが、プリンタには各ベンダ固有の機能があり、完全に同一のプロトコルを使用する
ことが難しい。また、プリンタの機能は年々進化しており、一旦、画一的なプロトコルを
規定してしまうと、新たな機能を追加することが困難になってしまう。
However, since each vendor uses a unique protocol, there is a case where an image from a digital still camera can be printed by a printer of one vendor but cannot be printed by a printer of another vendor. In this case, if the same protocol is used by a plurality of vendors, images from the digital still camera can be printed by a printer of any of the vendors.However, the printer has a function unique to each vendor, and is completely used. Difficult to use the same protocol. Further, the functions of the printer are evolving year by year, and once a uniform protocol is defined, it becomes difficult to add a new function.

本発明は、上記の問題に鑑みてなされたものであり、複数ベンダに対する互換性を維持
しつつ、プロトコル規定後に機能を追加し易い画像出力システム、画像出力装置、画像供
給装置、制御プログラムおよび画像出力方法を得ることを目的とする。
The present invention has been made in view of the above problems, and has an image output system, an image output device, an image supply device, a control program, and an image that easily add a function after a protocol is defined while maintaining compatibility with a plurality of vendors. The purpose is to obtain an output method.

上記の課題を解決するために、本発明の画像出力システムは、画像データを格納する画
像供給装置と、画像データに基づき画像を出力する画像出力装置と、画像供給装置と上記
画像出力装置とを直接接続する通信路とを備え、画像供給装置と画像出力装置を次のよう
にした。画像出力装置は、画像供給装置において所定の機能についての拡張機能が使用可
能か否かを確認し、所定の画像出力制御プロトコルに基づき、画像出力に係る制御情報を
マークアップ言語で記述した一連のスクリプトとして通信路を介して送受する第1の通信
手段と、画像供給装置および画像出力装置の両方においてその拡張機能が使用可能である
場合には、スクリプト内でその機能を表現する既存のタグを残しその拡張機能に応じた拡
張タグを挿入して、スクリプトを生成する第1のスクリプト生成手段とを備える。また、
画像供給装置は、画像出力装置において所定の機能についての拡張機能が使用可能か否か
を確認し、画像出力制御プロトコルに基づき、画像出力に係る制御情報をマークアップ言
語で記述した一連のスクリプトとして通信路を介して送受する第2の通信手段と、画像供
給装置および画像出力装置の両方においてその拡張機能が使用可能である場合には、スク
リプト内でその機能を表現する既存のタグを残しその拡張機能に応じた拡張タグを挿入し
て、スクリプトを生成する第2のスクリプト生成手段とを備える。
In order to solve the above problems, an image output system according to the present invention includes an image supply device that stores image data, an image output device that outputs an image based on image data, an image supply device, and the image output device. An image supply device and an image output device are provided as follows, with a communication path directly connected. The image output device checks whether an extended function for a predetermined function is available in the image supply device, and, based on a predetermined image output control protocol, a series of control information related to image output described in a markup language. If the extended function is available in both the image supply device and the image output device, the first communication means for transmitting and receiving the script via the communication path, and the existing tag expressing the function in the script is used. A first script generating unit for generating a script by inserting an extension tag corresponding to the remaining extended function. Also,
The image supply device checks whether the extended function for the predetermined function is available in the image output device, and, based on the image output control protocol, as a series of scripts describing control information related to image output in a markup language. If the extended function is available in both the second communication means for transmitting and receiving via the communication path and both the image supply device and the image output device, the existing tag expressing the function is left in the script and the A second script generation unit for generating a script by inserting an extension tag corresponding to the extension function.

この画像出力システムを利用すると、マークアップ言語の特性を利用して、複数ベンダ
に対する互換性を維持しつつ、プロトコル規定後に機能を簡単に追加することが可能とな
る。
When this image output system is used, it is possible to easily add a function after defining a protocol while maintaining compatibility with a plurality of vendors by utilizing the characteristics of a markup language.

本発明の画像出力装置は、画像データを格納する画像供給装置に通信路を介して接続さ
れる通信回路と、画像データに基づき画像を出力する出力手段と、通信回路を制御して、
画像供給装置において所定の機能についての拡張機能が使用可能か否かを確認し、画像出
力に係る制御情報をマークアップ言語で記述した一連のスクリプトとして通信路を介して
送受する通信制御部と、画像供給装置および画像出力装置の両方においてその拡張機能が
使用可能である場合には、スクリプト内でその機能を表現する既存のタグを残しその拡張
拡張に応じた拡張タグを挿入して、スクリプトを生成するスクリプト生成手段とを備える
An image output device of the present invention controls a communication circuit connected to an image supply device that stores image data via a communication path, an output unit that outputs an image based on image data, and a communication circuit.
A communication control unit that checks whether an extended function for a predetermined function is available in the image supply device, and that transmits and receives control information related to image output via a communication path as a series of scripts described in a markup language, If the extended function is available in both the image supply device and the image output device, leave the existing tag expressing the function in the script, insert the extended tag corresponding to the extended extension, and execute the script. Script generating means for generating.

この画像出力装置を利用すると、複数ベンダに対する互換性を維持しつつ、プロトコル
規定後に機能を簡単に追加することが可能となる。
By using this image output device, it is possible to easily add a function after defining the protocol while maintaining compatibility with a plurality of vendors.

また、本発明の画像出力装置は、上記発明の画像出力装置において、さらに次の特徴を
有するものである。スクリプト生成手段は、スクリプト内で既存のタグより下位のネスト
レベルに、拡張タグを挿入してスクリプトを生成する。
Further, the image output device of the present invention has the following features in the image output device of the above invention. The script generation means generates a script by inserting an extension tag at a nest level lower than an existing tag in the script.

これにより、拡張された機能のタグが既存の機能のタグの下位に配置されるため、ある
機能について拡張機能が設定されているか否かを簡単に判定することができる。
Thereby, the tag of the extended function is arranged below the tag of the existing function, so that it is possible to easily determine whether or not the extended function is set for a certain function.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。スクリプト生成手段は、スクリプト内で拡張される機能の
処理対象となる画像データに関連付けて拡張タグを挿入して、スクリプトを生成する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The script generation unit generates a script by inserting an expansion tag in association with image data to be processed by a function expanded in the script.

これにより、拡張された機能を使用/不使用を画像単位に切り換えることができる。   Thus, use / non-use of the extended function can be switched for each image.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像出力装置は、マークアップ言語として、文書型を
追加定義可能であるものを使用する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. This image output apparatus uses a markup language capable of additionally defining a document type.

これにより、プロトコル規定後に機能をより追加し易くすることができる。   This makes it easier to add functions after the protocol is defined.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。通信制御部は、画像出力に係る制御情報として、画像出力
処理における制御コマンド、その制御コマンドに対する応答、および装置の状態の通知を
、マークアップ言語で記述した一連のスクリプトとして送受する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The communication control unit transmits and receives, as control information relating to image output, a control command in the image output process, a response to the control command, and a notification of the state of the apparatus as a series of scripts described in a markup language.

これにより、マークアップ言語の構文の拡張性を利用して、制御コマンド、その応答、
装置の状態通知などについて複数ベンダに対する互換性を維持しつつ、プロトコル規定後
に機能を追加し易くすることができる。
This allows control commands, their responses,
It is possible to easily add a function after the protocol is defined, while maintaining compatibility with a plurality of vendors for device status notification and the like.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。通信制御部は、マークアップ言語で記述した一連のスクリ
プトとして、画像出力の対象となる画像データを含まず、画像出力に係る制御情報のみを
含むスクリプトを送受する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The communication control unit transmits and receives, as a series of scripts described in a markup language, a script that does not include image data to be output as an image but includes only control information related to image output.

これにより、画像出力の対象となる画像データの形式を既存のものから変更することな
く、画像出力の対象となる画像データから独立してマークアップ言語による制御情報を送
受することができる。
Thus, control information in a markup language can be transmitted and received independently of the image data to be output without changing the format of the image data to be output from the existing one.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。スクリプト生成手段は、画像出力制御プロトコルにおける
所定の機能が拡張されている場合、スクリプトにおいて、その機能を表現する既存のタグ
より先に拡張タグを配置して制御情報を生成する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. When a predetermined function in the image output control protocol is extended, the script generation means arranges the extended tag in the script before an existing tag expressing the function to generate control information.

これにより、スクリプトを解釈する際に、拡張タグが先に解釈されるため、既存のタグ
の機能を無効にし易くすることができる。
Thereby, when interpreting the script, the extension tag is interpreted first, so that the function of the existing tag can be easily invalidated.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。拡張タグは、ベンダ固有の画像処理を指定するためのタグ
である。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The extension tag is a tag for designating vendor-specific image processing.

これにより、ベンダごとに様々な特徴を有する画像処理についても画像出力時に指定す
ることができるようになる。
As a result, image processing having various characteristics for each vendor can be specified at the time of image output.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。出力手段は、拡張タグにより画像処理が指定された場合に
、画像データのファイルに記録された画像処理制御データに基づいて、その画像データに
対して画像処理を施し、画像処理後の画像データに基づき画像を出力する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The output means performs image processing on the image data based on the image processing control data recorded in the image data file when the image processing is designated by the extension tag, and outputs the image data after the image processing. An image is output based on the image.

これにより、画像データおよび画像処理制御データを有する画像ファイルを使用した画
像処理の機能を簡単に追加することができる。
This makes it possible to easily add an image processing function using an image file having image data and image processing control data.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。出力手段は、拡張タグにより画像処理が指定された場合に
、所定の画像処理のうちの拡張タグにより指定された画像処理を画像データに対して施し
、画像処理後の画像データに基づき画像を出力する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The output means, when the image processing is designated by the extension tag, performs the image processing designated by the extension tag of the predetermined image processing on the image data, and outputs the image based on the image data after the image processing I do.

これにより、予め用意されている画像処理のいずれかを選択し選択した画像処理を画像
データに施す機能を簡単に追加することができる。
As a result, it is possible to easily add a function of selecting any of the prepared image processing and applying the selected image processing to the image data.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像出力装置は、拡張タグとして、フレーム画像と画
像データの画像とを組み合わせて印刷するフレーム挿入印刷処理を指定するタグを使用す
る。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. This image output device uses, as an extension tag, a tag that specifies a frame insertion printing process for printing by combining a frame image and an image of image data.

これにより、独特なフレーム挿入印刷を行う機能を簡単に追加することができる。   This makes it possible to easily add a function of performing unique frame insertion printing.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像出力装置は、拡張タグとして、フレーム画像のた
めの画像データを指定するタグを使用する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. This image output device uses a tag for specifying image data for a frame image as an extension tag.

これにより、既存タグで指定された画像データと拡張タグで指定されたフレーム画像の
データとを使用する独特なフレーム挿入印刷を行う機能を簡単に追加することができる。
This makes it possible to easily add a function of performing unique frame insertion printing using the image data specified by the existing tag and the frame image data specified by the extension tag.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。出力手段は、拡張タグによりフレーム挿入印刷処理が指定
された場合に、少なくとも画像データの画像とフレーム画像とを合成し、合成後の画像を
出力する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The output unit combines at least the image of the image data and the frame image when the frame insertion printing process is designated by the extension tag, and outputs the combined image.

これにより、既存タグで指定された画像データと拡張タグで指定されたフレーム画像の
データとを使用する独特なフレーム挿入印刷を行う機能を簡単に追加することができる。
This makes it possible to easily add a function of performing unique frame insertion printing using the image data specified by the existing tag and the frame image data specified by the extension tag.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像出力装置は、拡張タグとして、フレーム画像のた
めの画像データおよび背景画像のための画像データを指定するタグを使用する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. This image output device uses, as an extension tag, a tag that specifies image data for a frame image and image data for a background image.

これにより、既存タグで指定された画像データと拡張タグで指定されたフレーム画像の
データおよび背景画像の画像データとを使用する独特なフレーム挿入印刷を行う機能を簡
単に追加することができる。
This makes it possible to easily add a function of performing unique frame insertion printing using the image data specified by the existing tag, the frame image data specified by the extension tag, and the image data of the background image.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。出力手段は、拡張タグによりフレーム挿入印刷処理が指定
された場合に、画像データの画像、フレーム画像および背景画像を合成し、合成後の画像
を出力する。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The output unit combines the image of the image data, the frame image, and the background image when the frame insertion printing process is designated by the extension tag, and outputs the combined image.

これにより、既存タグで指定された画像データと拡張タグで指定されたフレーム画像の
データおよび背景画像の画像データとを使用する独特なフレーム挿入印刷を行う機能を簡
単に追加することができる。
This makes it possible to easily add a function of performing unique frame insertion printing using the image data specified by the existing tag, the frame image data specified by the extension tag, and the image data of the background image.

また、本発明の画像出力装置は、上記発明の画像出力装置のいずれかにおいて、さらに
次の特徴を有するものである。通信制御部は、制御情報で指定された印刷用紙のサイズと
用紙タイプとを調べ、指定されたサイズで指定された用紙タイプの用紙が有り得ない場合
に、所定の制御情報を拡張タグを使用して生成し、その制御情報を画像供給装置に送信す
る。
Further, the image output device of the present invention has the following features in any of the above-described image output devices. The communication control unit checks the size and the paper type of the printing paper specified by the control information, and when there is no paper of the specified paper type in the specified size, the predetermined control information is transmitted using the extended tag. And transmits the control information to the image supply device.

これにより、指定された用紙タイプ(マット、写真印刷用など)でかつ指定された用紙
サイズの印刷用紙が、ベンダ、サードパーティなどにより用意されていない場合に、誤っ
て印刷されないようにすることができる。
This ensures that if printing paper of the specified paper type (matte, photo print, etc.) and of the specified paper size is not prepared by the vendor, third party, etc., it will not be printed accidentally. it can.

本発明の画像供給装置は、画像データを格納する記録媒体と、画像データに基づき画像
を出力する画像出力装置に通信路を介して接続される通信回路と、通信回路を制御して、
画像出力装置において所定の機能についての拡張機能が使用可能か否かを確認し、画像出
力に係る制御情報をマークアップ言語で記述した一連のスクリプトとして通信路を介して
送受する通信制御部と、画像供給装置および画像出力装置の両方においてその拡張機能が
使用可能である場合には、スクリプト内でその機能を表現する既存のタグを残しその拡張
機能に応じた拡張タグを挿入して、スクリプトを生成するスクリプト生成手段とを備える
The image supply device of the present invention controls a recording medium that stores image data, a communication circuit connected via a communication path to an image output device that outputs an image based on the image data, and a communication circuit.
A communication control unit that checks whether an extended function for a predetermined function is available in the image output device, and that transmits and receives control information related to image output via a communication path as a series of scripts described in a markup language, If the extended function is available in both the image supply device and the image output device, leave the existing tag expressing the function in the script, insert the extended tag corresponding to the extended function, and execute the script. Script generating means for generating.

この画像供給装置を利用すると、複数ベンダに対する互換性を維持しつつ、プロトコル
規定後に機能を簡単に追加することが可能となる。
When this image supply device is used, it is possible to easily add a function after defining the protocol while maintaining compatibility with a plurality of vendors.

また、本発明の画像供給装置は、上記発明の画像供給装置において、さらに次の特徴を
有するものである。スクリプト生成手段は、スクリプト内で既存のタグより下位のネスト
レベルに、拡張タグを挿入してスクリプトを生成する。
The image supply device according to the present invention is the same as the image supply device according to the invention, but further has the following features. The script generation means generates a script by inserting an extension tag at a nest level lower than an existing tag in the script.

これにより、拡張された機能のタグが既存の機能のタグの下位に配置されるため、ある
機能について拡張機能が設定されているか否かを簡単に判定することができる。
Thereby, the tag of the extended function is arranged below the tag of the existing function, so that it is possible to easily determine whether or not the extended function is set for a certain function.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。スクリプト生成手段は、スクリプト内で拡張される機能の
処理対象となる画像データに関連付けて拡張タグを挿入して、スクリプトを生成する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. The script generation unit generates a script by inserting an expansion tag in association with image data to be processed by a function expanded in the script.

これにより、拡張された機能を使用/不使用を画像単位に切り換えることができる。   Thus, use / non-use of the extended function can be switched for each image.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像供給装置は、マークアップ言語として、文書型を
追加定義可能であるものを使用する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. This image supply device uses a markup language capable of additionally defining a document type.

これにより、プロトコル規定後に機能をより追加し易くすることができる。   This makes it easier to add functions after the protocol is defined.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。通信制御部は、画像出力に係る制御情報として、画像出力
処理における制御コマンド、その制御コマンドに対する応答、および装置の状態の通知を
、マークアップ言語で記述した一連のスクリプトとして送受する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. The communication control unit transmits and receives, as control information relating to image output, a control command in the image output process, a response to the control command, and a notification of the state of the apparatus as a series of scripts described in a markup language.

これにより、マークアップ言語の構文の拡張性を利用して、制御コマンド、その応答、
装置の状態通知などについて複数ベンダに対する互換性を維持しつつ、プロトコル規定後
に機能を追加し易くすることができる。
This allows control commands, their responses,
It is possible to easily add a function after the protocol is defined, while maintaining compatibility with a plurality of vendors for device status notification and the like.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。通信制御部は、マークアップ言語で記述した一連のスクリ
プトとして、画像出力の対象となる画像データを含まず、画像出力に係る制御情報のみを
含むスクリプトを送受する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. The communication control unit transmits and receives, as a series of scripts described in a markup language, a script that does not include image data to be output as an image but includes only control information related to image output.

これにより、画像出力の対象となる画像データの形式を既存のものから変更することな
く、画像出力の対象となる画像データから独立してマークアップ言語による制御情報を送
受することができる。
Thus, control information in a markup language can be transmitted and received independently of the image data to be output without changing the format of the image data to be output from the existing one.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。スクリプト生成手段は、画像出力制御プロトコルにおける
所定の機能が拡張されている場合、スクリプトにおいて、その機能を表現する既存のタグ
より先に拡張タグを配置して制御情報を生成する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. When a predetermined function in the image output control protocol is extended, the script generation means arranges the extended tag in the script before an existing tag expressing the function to generate control information.

これにより、スクリプトを解釈する際に、拡張タグが先に解釈されるため、既存のタグ
の機能を無効にし易くすることができる。
Thereby, when interpreting the script, the extension tag is interpreted first, so that the function of the existing tag can be easily invalidated.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像供給装置は、拡張タグとして、ベンダ固有の画像
処理を指定するためのタグを使用する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. This image supply device uses a tag for specifying vendor-specific image processing as an extension tag.

これにより、ベンダごとに様々な特徴を有する画像処理についても画像出力時に指定す
ることができるようになる。
As a result, image processing having various characteristics for each vendor can be specified at the time of image output.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像供給装置は、拡張タグとして、フレーム画像と画
像データの画像とを組み合わせて印刷するフレーム挿入印刷処理を指定するタグを使用す
る。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. This image supply device uses, as an extension tag, a tag that specifies a frame insertion printing process for printing by combining a frame image and an image of image data.

これにより、独特なフレーム挿入印刷を行う機能を簡単に追加することができる。   This makes it possible to easily add a function of performing unique frame insertion printing.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像供給装置は、拡張タグとして、フレーム画像のた
めの画像データを指定するタグを使用する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. This image supply device uses a tag that specifies image data for a frame image as an extension tag.

これにより、既存タグで指定された画像データと拡張タグで指定されたフレーム画像の
データとを使用する独特なフレーム挿入印刷を行う機能を簡単に追加することができる。
This makes it possible to easily add a function of performing unique frame insertion printing using the image data specified by the existing tag and the frame image data specified by the extension tag.

また、本発明の画像供給装置は、上記発明の画像供給装置のいずれかにおいて、さらに
次の特徴を有するものである。この画像供給装置は、拡張タグとして、フレーム画像のた
めの画像データおよび背景画像のための画像データを指定するタグを使用する。
Further, the image supply device of the present invention has the following features in any one of the image supply devices of the above invention. This image supply device uses, as an extension tag, a tag that specifies image data for a frame image and image data for a background image.

これにより、既存タグで指定された画像データと拡張タグで指定されたフレーム画像の
データおよび背景画像の画像データとを使用する独特なフレーム挿入印刷を行う機能を簡
単に追加することができる。
This makes it possible to easily add a function of performing unique frame insertion printing using the image data specified by the existing tag, the frame image data specified by the extension tag, and the image data of the background image.

本発明の制御プログラムは、画像データに基づき画像を出力する画像出力装置に内蔵さ
れるコンピュータに実行される制御プログラムであって、コンピュータを、画像出力装置
に接続され画像データを供給する画像供給装置において所定の機能についての拡張機能が
使用可能か否かを確認し、その画像供給装置に通信路を介して接続される通信回路を制御
して、画像出力に係る制御情報をマークアップ言語で記述した一連のスクリプトとして通
信路を介して送受する通信制御部、および画像供給装置および画像出力装置の両方におい
てその拡張機能が使用可能である場合には、スクリプト内でその機能を表現する既存のタ
グを残しその拡張機能に応じた拡張タグを挿入して、スクリプトを生成するスクリプト生
成手段として機能させる。
A control program according to the present invention is a control program executed by a computer built in an image output device that outputs an image based on image data, and is an image supply device connected to the image output device and supplying image data. Confirms whether or not an extended function of a predetermined function can be used, controls a communication circuit connected to the image supply device via a communication path, and describes control information relating to image output in a markup language. A communication control unit that transmits and receives a series of scripts via a communication path, and an existing tag that expresses the function in the script when the extended function is available in both the image supply device and the image output device. And insert an extension tag corresponding to the extended function to function as script generation means for generating a script.

この制御プログラムを利用すると、複数ベンダに対する互換性を維持しつつ、プロトコ
ル規定後に機能を簡単に追加することが可能となる。
The use of this control program makes it possible to easily add functions after defining the protocol while maintaining compatibility with a plurality of vendors.

本発明の制御プログラムは、画像データを格納する画像供給装置に内蔵されるコンピュ
ータに実行される制御プログラムであって、コンピュータを、画像供給装置に接続され画
像データに基づき画像を出力する画像出力装置において所定の機能についての拡張機能が
使用可能か否かを確認し、その画像出力装置に通信路を介して接続される通信回路を制御
して、画像出力に係る制御情報をマークアップ言語で記述した一連のスクリプトとして通
信路を介して送受する通信制御部、および画像供給装置および画像出力装置の両方におい
てその拡張機能が使用可能である場合には、スクリプト内でその機能を表現する既存のタ
グを残しその拡張機能に応じた拡張タグを挿入して、スクリプトを生成するスクリプト生
成手段として機能させる。
A control program according to the present invention is a control program executed by a computer built in an image supply device that stores image data. The computer-readable storage medium is connected to the image supply device and outputs an image based on the image data. Confirms whether or not an extended function for a predetermined function can be used, controls a communication circuit connected to the image output device via a communication path, and describes control information relating to image output in a markup language. A communication control unit that transmits and receives a series of scripts via a communication path, and an existing tag that expresses the function in the script when the extended function is available in both the image supply device and the image output device. And insert an extension tag corresponding to the extended function to function as script generation means for generating a script.

この制御プログラムを利用すると、複数ベンダに対する互換性を維持しつつ、プロトコ
ル規定後に機能を簡単に追加することが可能となる。
The use of this control program makes it possible to easily add functions after defining the protocol while maintaining compatibility with a plurality of vendors.

本発明の画像出力方法は、画像データを格納する画像供給装置と、画像データに基づき
画像を出力する画像出力装置との間で、通信路を介して制御情報を直接送受して、画像供
給装置に格納された画像データに基づく画像を画像出力装置により出力する画像出力方法
であって、画像供給装置と画像出力装置との間で所定の機能についての拡張機能が使用可
能か否かを相互に確認し、画像供給装置および画像出力装置の両方においてその拡張機能
が使用可能である場合には、所定の画像出力制御プロトコルに基づき画像出力に係る制御
情報を生成する際に、その機能を表現する既存のタグを残しその拡張機能に応じた拡張タ
グを挿入して、マークアップ言語で記述した一連のスクリプトを生成し、生成したスクリ
プトを制御情報として通信路を介して画像供給装置と画像出力装置との間で送受する。
The image output method according to the present invention is configured to directly transmit and receive control information via a communication path between an image supply device that stores image data and an image output device that outputs an image based on the image data. An image output method for outputting an image based on the image data stored in the image output device by an image output device, wherein the image supply device and the image output device mutually determine whether an extended function for a predetermined function is available. Confirm that if the extended function is available in both the image supply device and the image output device, express the function when generating control information relating to image output based on a predetermined image output control protocol. Leave the existing tag, insert the extension tag corresponding to the extended function, generate a series of scripts written in markup language, and use the generated script as To transmitted and received between the image supply apparatus and the image output device to.

この画像出力方法を利用すると、マークアップ言語の特性を利用して、複数ベンダに対
する互換性を維持しつつ、プロトコル規定後に機能を簡単に追加することが可能となる。
When this image output method is used, it is possible to easily add a function after defining the protocol while maintaining compatibility with a plurality of vendors by using the characteristics of the markup language.

本発明によれば、複数ベンダに対する互換性を維持しつつ、プロトコル規定後に機能を
追加し易い画像出力システムおよび画像出力方法、並びにそれらで使用される画像出力装
置、画像供給装置および制御プログラムを得ることができる。
According to the present invention, it is possible to obtain an image output system and an image output method in which a function can be easily added after defining a protocol while maintaining compatibility with a plurality of vendors, and an image output device, an image supply device, and a control program used in the same. be able to.

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

画像出力システムの参考構成例1.
図1は、画像出力システムの参考構成例1を示すブロック図である。例えば、この画像
出力システムは、いわゆるダイレクト印刷システムの一種とすることができる。図1にお
いて、画像出力装置1は、画像データに基づき画像を出力する装置である。画像出力装置
1の形態としては、画像データに基づき画像を紙などに印刷するプリンタなどがある。ま
た、画像供給装置2は、画像データを格納し、必要に応じてその画像データを送信可能な
装置である。画像供給装置2の形態としては、撮影した画像を画像データとして所定の記
録媒体に記憶するデジタルカメラなどがある。
Reference configuration example of image output system
FIG. 1 is a block diagram showing a reference configuration example 1 of the image output system. For example, this image output system can be a kind of a so-called direct printing system. In FIG. 1, an image output device 1 is a device that outputs an image based on image data. Examples of the form of the image output apparatus 1 include a printer that prints an image on paper or the like based on image data. The image supply device 2 is a device capable of storing image data and transmitting the image data as needed. Examples of the form of the image supply device 2 include a digital camera that stores a captured image as image data in a predetermined recording medium.

通信路3は、画像出力装置1と画像供給装置2とを接続する伝送媒体である。この通信
路3は、有線の通信路に限定されず、無線の通信路を使用してもよい。参考構成例1では
、通信路3には、USB(Universal Serial Bus)のケーブルが使用される。なお、通信
路3が有線通信路である場合には、画像出力装置1と画像供給装置2には図示せぬコネク
タが設けられ、通信路3のケーブルの両端のコネクタと両装置1,2のコネクタとが、そ
れぞれ接続される。
The communication path 3 is a transmission medium that connects the image output device 1 and the image supply device 2. The communication path 3 is not limited to a wired communication path, and may use a wireless communication path. In Reference Configuration Example 1, a USB (Universal Serial Bus) cable is used for the communication path 3. When the communication path 3 is a wired communication path, the image output device 1 and the image supply device 2 are provided with connectors (not shown). The connectors are respectively connected.

図1に示す画像出力装置1において、通信回路11は、通信路3を介して各種情報を電
気信号として送受する回路である。また、通信制御部12は、通信回路11を制御し、各
種プロトコルに従って通信相手と情報を送受する回路または装置である。なお、この通信
回路11および通信制御部12は、画像出力に係る制御情報をマークアップ言語で記述し
た一連のスクリプトとして通信路3を介して送受する第1の通信手段として機能する。
In the image output device 1 shown in FIG. 1, the communication circuit 11 is a circuit for transmitting and receiving various information as electric signals via the communication path 3. The communication control unit 12 is a circuit or a device that controls the communication circuit 11 and transmits and receives information to and from a communication partner in accordance with various protocols. The communication circuit 11 and the communication control unit 12 function as first communication means for transmitting and receiving control information relating to image output via the communication path 3 as a series of scripts described in a markup language.

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

また、操作部15は、ユーザにより操作され、その操作に応じた信号を出力する回路ま
たは装置である。この操作部15としては、各種スイッチ、タッチパネルなどが、適宜使
用される。表示装置16は、各種情報を表示する装置である。この表示装置16としては
、各種インジケータ、液晶ディスプレイなどが、適宜使用される。
The operation unit 15 is a circuit or a device that is operated by a user and outputs a signal according to the operation. Various switches, a touch panel, and the like are appropriately used as the operation unit 15. The display device 16 is a device that displays various information. Various indicators, a liquid crystal display, and the like are appropriately used as the display device 16.

電源回路17は、例えば商用電源やAC/DC変換器に接続され、供給された電力を内
部の回路に供給する回路である。
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 the supplied power to an internal circuit.

図1に示す画像供給装置2において、通信回路21は、通信路3を介して各種情報を電
気信号として送受する回路である。また、通信制御部22は、通信回路21を制御し、各
種プロトコルに従って通信相手と情報を送受する回路または装置である。なお、この通信
回路21および通信制御部22は、画像出力に係る制御情報をマークアップ言語で記述し
た一連のスクリプトとして通信路3を介して送受する第2の通信手段として機能する。
In the image supply device 2 illustrated in FIG. 1, the communication circuit 21 is a circuit that transmits and receives various information as electric signals via the communication path 3. The communication control unit 22 is a circuit or a device that controls the communication circuit 21 and transmits and receives information to and from a communication partner in accordance with various protocols. In addition, the communication circuit 21 and the communication control unit 22 function as a second communication unit that transmits and receives control information related to image output via the communication path 3 as a series of scripts described in a markup language.

また、中央制御部23は、通信制御部22、記録媒体24などの各種機能の有する回路
または装置との間で各種情報の授受を行いながら、各種処理を実行する回路または装置で
ある。
The central control unit 23 is a circuit or a device that executes various processes while exchanging various information with a circuit or a device having various functions such as the communication control unit 22 and the recording medium 24.

記録媒体24は、画像データを含む1または複数の画像データファイル31を格納する
装置である。画像データファイル31は、例えばデジタルカメラにより撮影された画像、
その他の画像の画像データを含むファイルである。この画像データの形式は、例えばJP
EG(Joint Photographic Experts Group)形式、EXIF(EXchangeable Image File
)形式などとされる。
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 includes, for example, an image photographed by a digital camera,
This is a file containing image data of other images. The format of this image data is, for example, JP
EG (Joint Photographic Experts Group) format, EXIF (EXchangeable Image File)
) Format.

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

操作部25は、ユーザにより操作され、その操作に応じた信号を出力する回路または装
置である。この操作部15としては、各種スイッチ、タッチパネルなどが、適宜使用され
る。表示装置26は、画像データに基づく画像などの各種情報を表示する装置である。こ
の表示装置26としては、各種インジケータ、液晶ディスプレイなどが、適宜使用される
The operation unit 25 is a circuit or a device that is operated by a user and outputs a signal according to the operation. Various switches, a touch panel, and the like are appropriately used as the operation unit 15. 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.

バッテリ27は、画像供給装置2の内部回路に電力を供給する電池である。なお、バッ
テリ27としては、蓄電池、使い捨て電池などが使用される。また、画像供給装置2が可
搬性を要求される装置である場合には、電源としてバッテリ27が設けられるが、画像供
給装置2が可搬性を要求されない装置である場合には、電源として画像出力装置1の電源
回路17のような電源回路を代わりに設けるようにしてもよい。
The battery 27 is a battery that supplies power to an internal circuit of the image supply device 2. As the battery 27, a storage battery, a disposable battery, or the like is used. When the image supply device 2 is a device that requires portability, a battery 27 is provided as a power source. However, when the image supply device 2 is a device that does not require portability, an image output device is used as a power source. A power supply circuit such as the power supply circuit 17 of the device 1 may be provided instead.

図2は、画像出力システムの参考構成例1において、画像出力装置1と画像供給装置2
との間で使用されるプロトコルの一例を示す図である。
FIG. 2 shows an image output device 1 and an image supply device 2 in Reference Example 1 of the image output system.
FIG. 4 is a diagram showing an example of a protocol used between the server and the server.

この参考構成例1では、まず、物理層として、上述のとおり、USBケーブルである通
信路3が使用される。そして、この参考構成例1における画像出力装置1および画像供給
装置2では、その物理層を制御する層として、USB層があり、USBクラスとしてスチ
ルイメージクラス(SIC)が使用される。これにより、データ伝送路が実現される。な
お、USB規格については、現在USB1.1、USB2.0などが存在するが、将来提
案される次バージョン以降のものでもよく、USBと同等の通信規格のものを代わりに使
用してもよい。なお、通信路3にUSBを使用する場合、画像出力装置1がホストとなり
、画像供給装置2がデバイスとなる。
In the first reference configuration example, first, as described above, the communication path 3 that is a USB cable is used as the physical layer. In the image output device 1 and the image supply device 2 according to the reference configuration example 1, there is a USB layer as a layer for controlling the physical layer, and a still image class (SIC) is used as a USB class. Thereby, a data transmission path is realized. As the USB standard, there are USB1.1, USB2.0, and the like at present, but the next version or later proposed later may be used, or a communication standard equivalent to USB may be used instead. When a USB is used for the communication path 3, the image output device 1 is a host, and the image supply device 2 is a device.

そして、その上位において、デジタル静止画装置(DSPD)の外部からの制御やデジ
タル静止画装置(DSPD)の外部への画像データ転送を規定した画像転送プロトコル(
PTP)が使用される。なお、PTPの標準規格としては、PHOTOGRAPHIC
AND IMAGING MANUFACTURERS ASSOCIATION,IN
Cの「PIMA15740:2000」がある。なお、PTPは、DSPD間での画像デ
ータの交換のための通信方式を提供するプロトコルであり、PTPでは、ストレージ内の
オブジェクト(画像データファイルなど)は、パスではなく、オブジェクトID(オブジ
ェクトハンドル)で指定される。
At a higher level, an image transfer protocol (such as an external device) that regulates external control of the digital still image device (DSPD) and image data transfer to the outside of the digital still image device (DSPD).
PTP) is used. The PTP standard is PHOTOGRAPHIC.
AND IMAGING MANUFACTURERS ASSOCIATION, IN
C, "PIMA15740: 2000". Note that PTP is a protocol that provides a communication method for exchanging image data between DSPDs. In PTP, objects (such as image data files) in storage are not paths but object IDs (object handles). Is specified by

この参考構成例1では、上述のPTPの上位で、デジタルカメラなどの画像供給装置2
に格納された画像データを、通信路3を介して直接、プリンタなどの画像出力装置1へ供
給し、印刷を行うためのプロトコルである新規なダイレクトプリントサービス(以下、D
PSという)プロトコルが使用される。DPSプロトコルでは、画像出力装置1と画像供
給装置2との間で、画像出力に係る制御情報が、マークアップ言語(ここでは、XML;
eXtensible Markup Language)で記述した一連のスクリプトとして通信路3を介して送受
される。なお、画像出力に係る制御情報としては、画像出力処理における各種コマンド、
そのコマンドに対する応答、装置の状態の通知などがある。また、このスクリプトには、
制御情報のみが含まれ、画像出力の対象となる画像データ自体は含まれない。すなわち、
画像データファイルの格納場所などの情報はこのスクリプトに含まれるが、画像データそ
のものは含まれない。
In the reference configuration example 1, the image supply device 2 such as a digital camera is placed above the PTP.
Is directly supplied to the image output apparatus 1 such as a printer via the communication path 3 via the communication path 3 and a new direct print service (hereinafter referred to as D) is a protocol for performing printing.
A protocol (called PS) is used. In the DPS protocol, control information related to image output between the image output device 1 and the image supply device 2 is written in a markup language (here, XML;
It is transmitted and received via the communication path 3 as a series of scripts described in eXtensible Markup Language). In addition, as the control information related to the image output, various commands in the image output process,
There is a response to the command, notification of the state of the device, and the like. This script also contains
Only the control information is included, and the image data to be output is not included. 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.

なお、DPSプロトコルの下位層はPTPに限定されない。そのため、DPSプロトコ
ルと複数種類の下位層との整合性を得るために、DPSプロトコルと下位層(ここではP
TP)との間にはラッパー層が設けられている。
Note that the lower layer of the DPS protocol is not limited to PTP. Therefore, in order to obtain consistency between the DPS protocol and a plurality of types of lower layers, the DPS protocol and the lower layer (here, P
TP) is provided with a wrapper layer.

参考構成例1では、上述の各プロトコルのうち、物理層が、通信回路11、通信路3お
よび通信回路21により実現され、USB層が、通信回路11および通信回路21により
実現され、PTP層、ラッパー層およびDPSプロトコル層が、通信制御部12および通
信制御部22により実現される。
In Reference Configuration Example 1, of the above-described protocols, the physical layer is realized by the communication circuit 11, the communication path 3, and the communication circuit 21, the USB layer is realized by the communication circuit 11 and the communication circuit 21, the PTP layer, The wrapper layer and the DPS protocol layer are realized by the communication control unit 12 and the communication control unit 22.

すなわち、通信制御部12,22が、それぞれ、マークアップ言語で記述した画像出力
に係る制御情報を送受する画像出力制御プロトコルであるDPSプロトコルを解釈する第
1のエンティティ、第1のエンティティに下位層で、画像供給装置2に格納された画像デ
ータを管理し画像出力装置1へ転送する画像データ管理転送プロトコルであるPTPを解
釈する第2のエンティティ、および第2のエンティティに下位層で、通信路3の物理層を
制御する第3のエンティティとして機能する。
That is, the communication control units 12 and 22 respectively include a first entity for interpreting a DPS protocol which is an image output control protocol for transmitting and receiving control information relating to image output described in a markup language, and a lower layer for the first entity. A second entity for interpreting PTP, which is an image data management transfer protocol for managing image data stored in the image supply device 2 and transferring the image data to the image output device 1, and a lower layer communication channel for the second entity. It functions as a third entity that controls the third physical layer.

また、各通信制御部12,22のラッパー層の部分が、第2のエンティティの画像デー
タ管理転送プロトコルの種類に応じた、第1のエンティティの画像出力制御プロトコルと
画像データ管理転送プロトコルとの間でのプロトコル変換を行うプロトコル変換手段とし
て機能する。すなわち、必要に応じて、各通信制御部12,22のラッパー層が、上位プ
ロトコル(DPSプロトコル)のコマンドを下位プロトコル(PTP)のコマンドに置き
換える。
In addition, the wrapper layer of each of the communication control units 12 and 22 is configured so that the communication between the image output control protocol of the first entity and the image data management transfer protocol according to the type of the image data management transfer protocol of the second entity. Function as protocol conversion means for performing the protocol conversion in. That is, the wrapper layers of the communication control units 12 and 22 replace commands of the upper protocol (DPS protocol) with commands of the lower protocol (PTP) as necessary.

図3は、画像出力システムの参考構成例1における画像出力装置としてのプリンタの構
成例を示すブロック図である。図3において、CPU41は、プログラムを実行し、プロ
グラムに記述された処理を実行する装置である。また、ROM42は、プログラムおよび
データを予め記憶したメモリである。また、RAM43は、プログラムを実行する際にそ
のプログラムおよびデータを一時的に記憶するメモリである。
FIG. 3 is a block diagram illustrating a configuration example of a printer as an image output device in Reference Configuration Example 1 of the image output system. In FIG. 3, a CPU 41 is a device that executes a program and executes processing described in the program. The ROM 42 is a memory in which programs and data are stored in advance. The RAM 43 is a memory for temporarily storing the program and data when executing the program.

なお、CPU41が実行するプログラムとしては、画像データから印刷用の制御データ
を生成するためのプログラム、並びにDPSプロトコルおよび画像転送プロトコルに従っ
て通信を行うためのプログラムがROM42または図示せぬ他の記録媒体に格納されてい
る。
The programs executed by the CPU 41 include a program for generating control data for printing from image data and a program for performing communication in accordance with the DPS protocol and the image transfer protocol in the ROM 42 or another recording medium (not shown). Is stored.

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

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 the USB standard.

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

なお、図3における操作部15および表示装置16は、図1のものと同様である。   The operation unit 15 and the display device 16 in FIG. 3 are the same as those in FIG.

図4は、画像出力システムの参考構成例1における画像出力装置1の有する複数の機能
の関係を示す図である。図4において、通信制御機能51は、画像転送プロトコル以下の
通信制御を行う機能である。
FIG. 4 is a diagram illustrating a relationship between a plurality of functions of the image output apparatus 1 in Reference Example 1 of the image output system. In FIG. 4, a communication control function 51 is a function for performing communication control below the image transfer protocol.

また、DPSプロトコル処理機能52は、DPSプロトコルに規定された制御情報を生
成または解釈するDPSコマンド処理機能61、制御情報に対応するXMLスクリプトを
生成するXMLスクリプト生成機能62、およびXMLで記述された制御情報を構文解析
するXMLパーサ63を含む。
The DPS protocol processing function 52 includes a DPS command processing function 61 for generating or interpreting control information specified in the DPS protocol, an XML script generating function 62 for generating an XML script corresponding to the control information, and an XML description. Includes an XML parser 63 that parses control information.

なお、このXMLパーサ63は、XMLのすべての構文を解析可能に設計されていても
よいし、DPSプロトコルで使用される構文のみを解析可能としてもよい。その場合には
、XMLパーサ63は、DPSプロトコルに係るXMLスクリプトの記述に必要なタグの
みを判別できればよい。
Note that the XML parser 63 may be designed to be able to analyze all syntaxes of XML, or may be able to analyze only syntax used in the DPS protocol. In that case, the XML parser 63 only needs to be able to determine only the tags necessary for describing the XML script related to the DPS protocol.

また、このXMLスクリプト生成機能62は、XMLスクリプトのテンプレートをコマ
ンドなどの制御情報の種類ごとにROM42などに予め格納し、そのテンプレートを編集
して、制御情報を示すXMLスクリプトを生成するようにしてもよい。
The XML script generation function 62 stores an XML script template in the ROM 42 or the like in advance for each type of control information such as a command, edits the template, and generates an XML script indicating the control information. Is also good.

また、画像処理機能53は、画像データのフォーマットを変更する機能であり、印刷デ
ータ生成機能54は、フォーマット変更後の画像データから印刷用の制御データを生成す
る機能であり、印刷制御機能55は、印刷用の制御データに従って印刷処理を実行させる
機能である。
The image processing function 53 is a function for changing the format of image data, the print data generation function 54 is a function for generating control data for printing from the image data after the format change, and the print control function 55 is And a function for executing a printing process in accordance with the control data for printing.

また、状態管理機能56は、上述の各機能による処理の状態を監視する機能である。   The state management function 56 is a function of monitoring the state of processing by each of the above functions.

なお、これらの機能は、上述のプログラムをCPU41により実行することで実現され
る。
Note that these functions are realized by the CPU 41 executing the above-described program.

図5は、画像出力システムの参考構成例1における画像供給装置2としてのデジタルカ
メラの構成例を示すブロック図である。図5において、CPU71は、プログラムを実行
し、プログラムに記述された処理を実行する装置である。また、ROM72は、プログラ
ムおよびデータを予め記憶したメモリである。また、RAM73は、プログラムを実行す
る際にそのプログラムおよびデータを一時的に記憶するメモリである。
FIG. 5 is a block diagram illustrating a configuration example of a digital camera as the image supply device 2 in Reference Configuration Example 1 of the image output system. In FIG. 5, a CPU 71 is a device that executes a program and executes processing described in the program. The ROM 72 is a memory in which programs and data are stored in advance. The RAM 73 is a memory that temporarily stores the program and data when executing the program.

なお、CPU71が実行するプログラムとしては、撮影時の各部の制御を行うためのプ
ログラム、並びにDPSプロトコルおよび画像転送プロトコルに従って通信および画像デ
ータの管理を行うためのプログラムがROM72または図示せぬ他の記録媒体に格納され
ている。
The programs executed by the CPU 71 include a program for controlling each unit at the time of photographing, and a program for performing communication and managing image data according to the DPS protocol and the image transfer protocol. It is stored on the medium.

撮影装置74は、CPU71からの指令に応じて、被写体の撮影を行い、撮影後の画像
データを出力する装置である。
The image capturing device 74 is a device that captures an image of a subject in accordance with a command from the CPU 71 and outputs image data after the image capturing.

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

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

バス77は、CPU71、ROM72、RAM73、撮影装置74、メモリカード75
、USBデバイス側インタフェース76、操作部25、および表示装置26を相互に接続
する信号路である。なお、バス77の本数、およびCPU71などのバス77への接続の
トポロジは、図5のものに限定されるものではない。
The bus 77 includes a CPU 71, a ROM 72, a RAM 73, a photographing device 74, and a memory card 75.
, USB device side interface 76, operation unit 25, and display device 26. The number of the buses 77 and the topology of the connection of the CPU 71 and the like to the bus 77 are not limited to those shown in FIG.

なお、図5における操作部25および表示装置26は、図1のものと同様である。   The operation unit 25 and the display device 26 in FIG. 5 are the same as those in FIG.

図6は、画像出力システムの参考構成例1における画像供給装置2の有する複数の機能
の関係を示す図である。図6において、通信制御機能81は、画像転送プロトコル以下の
通信制御を行う機能である。
FIG. 6 is a diagram illustrating a relationship between a plurality of functions of the image supply device 2 in Reference Example 1 of the image output system. In FIG. 6, a communication control function 81 is a function for performing communication control below the image transfer protocol.

また、DPSプロトコル処理機能82は、DPSプロトコルに規定された制御情報を生
成または解釈するDPSコマンド処理機能91、制御情報に対応するXMLスクリプトを
生成するXMLスクリプト生成機能92、およびXMLで記述された制御情報を構文解析
するXMLパーサ93を含む。
The DPS protocol processing function 82 includes a DPS command processing function 91 that generates or interprets control information specified in the DPS protocol, an XML script generation function 92 that generates an XML script corresponding to the control information, and XML. Includes an XML parser 93 that parses control information.

なお、このXMLパーサ93は、XMLのすべての構文を解析可能に設計されていても
よいし、DPSプロトコルで使用される構文のみを解析可能としてもよい。その場合には
、XMLパーサ93は、DPSプロトコルに係るXMLスクリプトの記述に必要なタグの
みを判別できればよい。
Note that the XML parser 93 may be designed to be able to analyze all syntaxes of XML, or may be able to analyze only syntax used in the DPS protocol. In this case, the XML parser 93 only needs to be able to determine only the tags necessary for describing the XML script related to the DPS protocol.

また、このXMLスクリプト生成機能92は、XMLスクリプトのテンプレートをコマ
ンドなどの制御情報の種類ごとにROM72などに予め格納し、そのテンプレートを編集
して、制御情報を示すXMLスクリプトを生成するようにしてもよい。
In addition, the XML script generation function 92 stores an XML script template in advance in the ROM 72 or the like for each type of control information such as a command, edits the template, and generates an XML script indicating the control information. Is also good.

また、ファイルシステム管理機能83は、記録媒体24としてのメモリカード75に、
所定のディレクトリ構造およびファイル構造に従って、画像データを画像データファイル
31として保持する機能である。
In addition, the file system management function 83 stores the data in the memory card 75 as the recording medium 24,
This is a function of storing image data as an image data file 31 according to a predetermined directory structure and file structure.

また、ユーザインタフェース機能84は、ユーザによる操作部25への操作の受け付け
、および表示装置26での各種情報の表示を行う機能である。
Further, the user interface function 84 is a function of receiving an operation performed by the user on the operation unit 25 and displaying various information on the display device 26.

また、設定管理機能85は、ユーザによる操作に応じて、印刷処理などの条件を設定す
る機能である。状態管理機能86は、上述の各機能による処理の状態を監視する機能であ
る。
The setting management function 85 is a function for setting conditions such as print processing in accordance with an operation by a user. The state management function 86 is a function of monitoring the state of processing by each of the above-described functions.

なお、これらの機能は、上述のプログラムをCPU71により実行することで実現され
る。
Note that these functions are realized by the CPU 71 executing the above-described program.

次に、上記システムにおける各装置の動作について説明する。図7は、画像出力システ
ムの参考構成例1における、DPSプロトコルレベルでの画像出力処理を説明する図であ
る。図8は、画像出力システムの参考構成例1における、画像転送プロトコルレベルでの
画像出力処理を説明する図である。
Next, the operation of each device in the above system will be described. FIG. 7 is a view for explaining image output processing at the DPS protocol level in Reference Example 1 of the image output system. FIG. 8 is a diagram for explaining image output processing at the image transfer protocol level in Reference Example 1 of the image output system.

画像出力装置1と画像供給装置2は、それぞれ所定の名称のファイルを格納しておき、
ユーザにより画像出力装置1と画像供給装置2が通信路3により物理的に接続されると、
PTPに基づいてそのファイルが検出された場合に、DPSプロトコルに対応している機
器が通信相手として接続されたことを検知する。このコネクション処理により、自己が使
用しているものと同一のプロトコルを通信相手が使用していることが保証される。
The image output device 1 and the image supply device 2 store files with predetermined names, respectively.
When the image output device 1 and the image supply device 2 are physically connected by the communication path 3 by the user,
When the file is detected based on the PTP, it is detected that a device compatible with the DPS protocol has been connected as a communication partner. By this connection process, it is guaranteed that the communication partner uses the same protocol as that used by itself.

コネクション処理の後、画像出力装置1と画像供給装置2は、DPSプロトコルのバー
ジョン情報、自己(画像出力装置1または画像供給装置2)のベンダ名称、自己のベンダ
固有のバージョン情報、自己の製品名、自己のシリアル番号などを含む環境情報を相互に
送受する。
After the connection process, the image output apparatus 1 and the image supply apparatus 2 provide the version information of the DPS protocol, the name of the vendor (the image output apparatus 1 or the image supply apparatus 2), the version information specific to the vendor, and the product name of the own. Mutually transmit and receive environmental information including its own serial number and the like.

次に、画像供給装置2は、画像供給装置2により設定可能な画像出力装置1の各機能に
ついて、選択可能な設定値、すなわち選択肢を、画像出力装置1から取得する。画像出力
装置1がプリンタである場合には、このような機能としては、印刷品質の設定、用紙サイ
ズの設定、用紙タイプの設定、画像データファイルのファイル形式の設定、日付印刷の設
定、ファイル名印刷の設定、画像最適化処理の設定、印刷レイアウトの設定、固定サイズ
印刷の設定、およびクロッピングの設定がある。画像出力装置1は、これらの各機能につ
いて、拡張機能を有する場合には、その拡張機能を選択肢として含めて、各機能について
の設定値の選択肢を画像供給装置2に通知するようにしてもよい。
Next, the image supply device 2 acquires, from the image output device 1, selectable set values, that is, options for each function of the image output device 1 that can be set by the image supply device 2. When the image output apparatus 1 is a printer, such functions include print quality setting, paper size setting, paper type setting, image data file file format setting, date printing setting, file name There are print settings, image optimization process settings, print layout settings, fixed-size print settings, and cropping settings. If the image output device 1 has an extended function for each of these functions, the image output device 1 may include the extended function as an option and notify the image supply device 2 of the setting value option for each function. .

その後、まず、例えば操作部25に対して所定の操作があると、画像供給装置2が、通
信路3を介して画像出力装置1へ、画像出力ジョブ開始コマンドを送信する(ステップS
1)。
Thereafter, first, for example, when a predetermined operation is performed on the operation unit 25, the image supply device 2 transmits an image output job start command to the image output device 1 via the communication path 3 (Step S).
1).

その際、画像供給装置2では、通信制御部22が、DPSプロトコルに従って、画像出
力ジョブ開始コマンドDPS_StartJobのXMLスクリプトを生成し、送信する
。ここでは、このXMLスクリプト内で、画像出力の対象となる画像データが指定される
At that time, in the image supply device 2, the communication control unit 22 generates and transmits an XML script of the image output job start command DPS_StartJob according to the DPS protocol. Here, image data to be output is specified in the XML script.

なお、画像出力ジョブ開始コマンドDPS_StartJobには、次のジョブ条件設
定情報および画像出力情報が含まれる。
The image output job start command DPS_StartJob includes the following job condition setting information and image output information.

ジョブ条件設定情報としては、このジョブでの画像出力の品質を設定するクオリティ情
報、印刷ジョブにおける用紙タイプ情報、印刷ジョブにおける用紙サイズ情報、画像形式
情報、画像処理設定情報、ページレイアウト情報などが必要に応じて含まれる。
As job condition setting information, quality information for setting the quality of image output in this job, paper type information in a print job, paper size information in a print job, image format information, image processing setting information, page layout information, and the like are required. Included depending on.

画像出力情報としては、クロッピングを行う際の領域を指定するクロッピングエリア情
報、画像データのオブジェクトID、各画像についての印刷部数情報、各ジョブを固有な
ジョブID、画像データまたはジョブ指定ファイルのパス情報、各画像データの繰り返し
供給回数情報(すなわち、同一の画像データを連続して何回、画像出力装置1へ供給する
かを示す情報)などが必要に応じて含まれる。
The image output information includes cropping area information for specifying an area for cropping, object ID of image data, information on the number of copies of each image, a unique job ID for each job, and path information for image data or a job specification file. Information on the number of times of repeated supply of each image data (that is, information indicating how many times the same image data is continuously supplied to the image output apparatus 1) and the like are included as necessary.

図9は、参考構成例1において使用される画像出力ジョブ開始コマンドDPS_Sta
rtJobのXMLスクリプトの一例を示す図である。図9において、jobタグは、1
つのジョブを指定するためのタグである。なお、xxタグといった場合、<xx>タグと
</xx>タグの両方を指すものとする(以下、同様)。jobタグの下位には、job
ConfigタグおよびPrintInfoタグが配置される。jobConfigタグ
は、ジョブ条件設定情報を指定するためのタグである。
FIG. 9 shows an image output job start command DPS_Stat used in Reference Configuration Example 1.
FIG. 4 is a diagram illustrating an example of an rtJob XML script. In FIG. 9, the job tag is 1
Tag for specifying one job. Note that the xx tag indicates both the <xx> tag and the </ xx> tag (the same applies hereinafter). Below the job tag, job
A Config tag and a PrintInfo tag are arranged. The jobConfig tag is a tag for specifying job condition setting information.

図9に示すスクリプトにおいては、jobConfigタグの下位に、quality
タグ、paperSizeタグ、paperTypeタグ、fileTypeタグ、da
teタグ、fileNameタグ、imageOptimizeタグ、およびlayou
tItemタグが配置される。
In the script shown in FIG. 9, quality is added below the jobConfig tag.
Tag, paperSize tag, paperType tag, fileType tag, da
te tag, fileName tag, imageOptimize tag, and layout
A tItem tag is placed.

qualityタグは、標準、ドラフト、ファインなどのクオリティ情報を指定するた
めのタグである。paperSizeタグは、A4サイズなどの、このジョブにおける用
紙サイズ情報を指定するためのタグであり、所定の数値(例えば、02010000)で
、用紙サイズが指定される。paperTypeタグは、標準用紙、写真用紙などの、こ
のジョブにおける用紙タイプ情報を指定するためのタグであり、所定の数値(例えば、0
3020000)で、用紙サイズが指定される。fileTypeタグは、EXIF、J
PEG、TIFF、GIFなどの、このジョブにおける画像形式情報を指定するためのタ
グであり、所定の数値(例えば、03020000)で、画像形式が指定される。
The quality tag is a tag for designating quality information such as standard, draft, and fine. The paperSize tag is a tag for specifying paper size information in this job, such as A4 size, and the paper size is specified by a predetermined numerical value (for example, 020110000). The paperType tag is a tag for specifying paper type information in this job, such as standard paper or photo paper, and has a predetermined numerical value (for example, 0).
3020000), the paper size is designated. The fileType tag is EXIF, J
A tag for designating image format information in the job, such as PEG, TIFF, GIF, etc., and the image format is designated by a predetermined numerical value (for example, 03020,000).

さらに、dateタグは、printInfoで指定される日付情報を印刷するか否か
を指定するためのタグである。fileNameタグは、printInfoで指定され
るファイルパス情報を印刷するか否かを指定するためのタグである。imageOpti
mizeタグは、画像最適化を行うか否かを示す画像最適化設定情報を指定するためのタ
グである。layoutItemタグは、このジョブにおけるページレイアウトを指定す
るためのタグであり、所定の数値(例えば、08010000)で、画像形式が指定され
る。
Further, the date tag is a tag for specifying whether or not to print date information specified by printInfo. The fileName tag is a tag for specifying whether or not to print the file path information specified by printInfo. imageOpti
The mize tag is a tag for designating image optimization setting information indicating whether to perform image optimization. The layoutItem tag is a tag for designating a page layout in this job, and an image format is designated by a predetermined numerical value (for example, 08010000).

また、printInfoタグは、画像出力情報を指定するためのタグである。pri
ntInfoタグの下位には、imageタグが配置される。imageタグは、画像出
力対象の画像を指定するためのタグである。図9に示すスクリプトにおいては、imag
eタグの下位に、imageIDタグおよびimageDateタグが配置される。im
ageIDタグは、画像出力対象の画像データのオブジェクトIDを指定するためのタグ
である。imageDateタグは、画像の脇に印刷される日付を指定するためのタグで
ある。
The printInfo tag is a tag for specifying image output information. pri
An image tag is arranged below the ntInfo tag. The image tag is a tag for specifying an image to be output. In the script shown in FIG. 9, imag
An imageID tag and an imageDate tag are arranged below the e tag. im
The ageID tag is a tag for designating the object ID of the image data to be output. The imageDate tag is a tag for designating a date to be printed beside an image.

図9に示すスクリプトでは、imageタグは、1つだけであるが、複数の画像を出力
する場合には、複数の画像のうちの各画像について、imageタグにより画像データの
オブジェクトIDが指定される。また、同一の画像を複数回連続して出力する場合には、
その画像のimageタグの次に、copiesタグを配置して、その繰り返し供給回数
を指定すればよい。
In the script shown in FIG. 9, there is only one image tag. However, when outputting a plurality of images, the object ID of the image data is specified by the image tag for each of the plurality of images. . Also, when outputting the same image continuously multiple times,
A copies tag may be placed next to the image tag of the image, and the number of times of repeated supply may be designated.

なお、図9におけるdpsタグは、DPSに係るXMLスクリプトであることを示すタ
グであり、属性としてDPSで使用される名前空間情報の格納場所のURL(Uniform Re
source Locator)をとる。
Note that the dps tag in FIG. 9 is a tag indicating that the script is an XML script related to DPS, and a URL (Uniform Reform) of a storage location of namespace information used in DPS as an attribute.
source Locator).

画像供給装置2の通信制御部22は、DPSプロトコル上ではジョブ開始コマンドのX
MLスクリプトを論理的には送信するが、そのXMLスクリプトを画像転送プロトコルの
コマンドに変換し、画像転送プロトコルのレベルでそのコマンドを処理する。
The communication control unit 22 of the image supply device 2 transmits the job start command X on the DPS protocol.
Although the ML script is logically transmitted, the XML script is converted into an image transfer protocol command, and the command is processed at the image transfer protocol level.

つまり、画像転送プロトコルに従って、画像供給装置2の通信制御部22は、まず、フ
ァイル転送要求コマンドRequestObjectTransferを送信する(ステ
ップSS1)。このコマンドは、USB層および物理層を介して画像出力装置1に伝送さ
れる。
That is, according to the image transfer protocol, the communication control unit 22 of the image supply device 2 first transmits a file transfer request command RequestObjectTransfer (step SS1). This command is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従って、ファイル転送
要求コマンドRequestObjectTransferを受信すると、転送するファ
イルの属性を問い合わせるコマンドGetObjectInfoを送信する(ステップS
S2)。このコマンドは、USB層および物理層を介して画像供給装置2に伝送される。
In the image output device 1, upon receiving the file transfer request command RequestObjectTransfer in accordance with the image transfer protocol, the communication control unit 12 transmits a command GetObjectInfo for inquiring about the attribute of the file to be transferred (step S).
S2). This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectInfoを受信すると、コマンドDPS_StartJobのXMLスク
リプトのファイル情報(ファイル形式、ファイル容量など)を送信する(ステップSS3
)。このファイル情報は、USB層および物理層を介して画像出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
Upon receipt of tObjectInfo, file information (file format, file capacity, etc.) of the XML script of the command DPS_StartJob is transmitted (step SS3).
). This file information is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従って、そのファイル
情報を受信すると、そのXMLスクリプトを指定してファイル取得コマンドGetObj
ectを送信する(ステップSS4)。このファイル情報は、USB層および物理層を介
して画像供給装置2に伝送される。
In the image output device 1, when the communication control unit 12 receives the file information according to the image transfer protocol, the communication control unit 12 specifies the XML script and obtains the file acquisition command GetObj.
is transmitted (step SS4). This file information is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectを受信すると、指定されたファイル(コマンドDPS_StartJob
のXMLスクリプト)を送信する(ステップSS5)。このファイルは、USB層および
物理層を介して画像出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
When the tObject is received, the specified file (command DPS_StartJob) is received.
Is transmitted (step SS5). This file is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイルを
受信すると、DPSプロトコル層においてコマンドDPS_StartJobを受信した
こととなる。
In the image output device 1, when the communication control unit 12 receives the file according to the image transfer protocol, it means that the command DPS_StartJob has been received in the DPS protocol layer.

ここで、画像出力装置1が図3および図4に示すプリンタであり、かつ画像供給装置2
が図5および図6に示すデジタルカメラである場合、DPSプロトコルでの通信は、DP
Sプロトコル処理機能52,82および通信制御機能51,81により行われ、画像転送
プロトコルでの通信は、通信制御機能51と通信制御機能81との間で行われる。
Here, the image output device 1 is the printer shown in FIGS.
Is the digital camera shown in FIG. 5 and FIG.
The communication is performed by the S protocol processing functions 52 and 82 and the communication control functions 51 and 81, and communication by the image transfer protocol is performed between the communication control function 51 and the communication control function 81.

次に、画像出力装置1は、取得した画像出力ジョブ開始コマンドのXMLスクリプトを
解釈し(ステップS2)、そのXMLスクリプトに記述された画像出力の対象である画像
データを画像供給装置2から取得する(ステップS3)。
Next, the image output device 1 interprets the XML script of the acquired image output job start command (step S2), and acquires from the image supply device 2 image data to be output in the XML script. (Step S3).

この参考構成例1では、画像供給装置2からの画像出力ジョブ開始コマンドを受けた後
、画像出力装置1が、その画像出力ジョブの処理フローを制御する。すなわち、画像出力
装置1が、画像出力処理の進行を管理し、画像出力処理に必要な情報や画像データを画像
供給装置2から適宜取得する。
In the reference configuration example 1, after receiving the image output job start command from the image supply device 2, the image output device 1 controls the processing flow of the image output job. That is, the image output device 1 manages the progress of the image output process, and appropriately acquires information and image data necessary for the image output process from the image supply device 2.

その際、画像出力装置1では、通信制御部12が、DPSプロトコルに従って、XML
スクリプト内に記載されたオブジェクトID(PTPにおけるオブジェクトIDに対応)
で画像データファイル31を指定してXMLスクリプトのファイル取得コマンドDPS_
GetFileを発行する。なお、あるオブジェクトについてのPTPにおけるオブジェ
クトID(すなわちオブジェクトハンドル)とDPSプロトコルにおけるオブジェクトI
Dは、同値としてもよいし、互いに異なる値としてもよい。両者の値が異なる場合には、
DPSプロトコルとPTPとの間で、オブジェクトIDのマッピングが適宜行われる。
At that time, in the image output device 1, the communication control unit 12 uses the XML in accordance with the DPS protocol.
Object ID described in the script (corresponds to the object ID in PTP)
Specifies the image data file 31 with the XML script file acquisition command DPS_
GetFile is issued. Note that an object ID (that is, an object handle) in PTP for an object and an object I in the DPS protocol
D may be the same value or different values. If the values are different,
The mapping of the object ID is appropriately performed between the DPS protocol and the PTP.

図10は、参考構成例1において使用されるファイル取得コマンドDPS_GetFi
leのXMLスクリプトの一例を示す図である。図10において、getFileReq
uestタグは、ファイル取得コマンドであることを示すタグである。図10においては
、getFileRequestタグの下位に、fileIDタグおよびbuffPtr
タグが配置される。fileIDタグは、取得対象のファイルのオブジェクトIDを指定
するためのタグである。buffPtrタグは、取得したファイルの受信に使用するバッ
ファへのポインタを指定するためのタグである。
FIG. 10 shows a file acquisition command DPS_GetFi used in Reference Configuration Example 1.
FIG. 4 is a diagram illustrating an example of an XML script of le. In FIG. 10, getFileReq
The west tag is a tag indicating that the command is a file acquisition command. In FIG. 10, a fileID tag and a buffPtr are provided below the getFileRequest tag.
Tags are placed. The fileID tag is a tag for designating the object ID of the acquisition target file. The buffPtr tag is a tag for designating a pointer to a buffer used for receiving the acquired file.

通信制御部12は、そのDPSプロトコルのファイル取得コマンドDPS_GetFi
leを、画像転送プロトコルのファイル取得コマンドGetObjectに変換し、送信
する。このコマンドは、USB層および物理層を介して画像供給装置2に伝送される。
The communication control unit 12 performs a file acquisition command DPS_GetFi of the DPS protocol.
le is converted into a file acquisition command GetObject of the image transfer protocol and transmitted. This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

なお、ファイル全体を取得するファイル取得コマンドDPS_GetFileの代わり
に、ファイルの一部を取得するファイル部分取得コマンドDPS_GetPartial
Fileを複数回送信してファイル全体を取得するようにしてもよい。このファイル部分
取得コマンドDPS_GetPartialFileは、画像転送プロトコルのコマンド
GetPartialObjectに変換される。
Instead of the file acquisition command DPS_GetFile for acquiring the entire file, a file part acquisition command DPS_GetPartial for acquiring a part of the file is used.
The file may be transmitted a plurality of times to acquire the entire file. This file part acquisition command DPS_GetPartialFile is converted into a command GetPartialObject of the image transfer protocol.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectを受信すると、指定されたオブジェクトIDのファイル(画像データファ
イル31)を読み出し、送信する。このファイルは、USB層および物理層を介して画像
出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
Upon receiving the tObject, the file (image data file 31) of the specified object ID is read and transmitted. This file is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイルを
受信すると、DPSプロトコル層においてもそのファイルを受信したこととなる。
In the image output device 1, when the communication control unit 12 receives the file according to the image transfer protocol, the communication control unit 12 also receives the file in the DPS protocol layer.

ここで、画像出力装置1が図3および図4に示すプリンタであり、かつ画像供給装置2
が図5および図6に示すデジタルカメラである場合、この画像データの取得には、画像出
力装置1におけるDPSプロトコル処理機能52および通信制御機能51、並びに、画像
供給装置2における通信制御機能81およびファイルシステム管理機能83が使用される
Here, the image output device 1 is the printer shown in FIGS.
5 is a digital camera shown in FIG. 5 and FIG. 6, the acquisition of this image data requires the DPS protocol processing function 52 and the communication control function 51 in the image output device 1 and the communication control function 81 and the communication control function 81 in the image supply device 2. The file system management function 83 is used.

そして、画像出力装置1は、画像データを取得すると、その画像データに基づく画像を
出力する(ステップS4)。その際、画像出力装置1では、出力制御部13および出力機
構14が、画像出力処理を行う。
Then, when acquiring the image data, the image output device 1 outputs an image based on the image data (Step S4). At that time, in the image output device 1, the output control unit 13 and the output mechanism 14 perform an image output process.

ここで、画像出力装置1が図3および図4に示すプリンタである場合、画像出力処理に
は、画像処理機能53、印刷データ生成機能54および印刷制御機能55が使用される。
Here, when the image output apparatus 1 is the printer shown in FIGS. 3 and 4, an image processing function 53, a print data generation function 54, and a print control function 55 are used for image output processing.

以上のように、上記参考構成例1によれば、画像出力装置1および画像供給装置2が、
画像出力に係る制御情報をマークアップ言語で記述した一連のスクリプトとして通信路3
を介して送受する。これにより、マークアップ言語の構文の拡張性を利用して複数ベンダ
に対する互換性を維持しつつ、規定後にプロトコルを修正し易くすることができる。
As described above, according to the reference configuration example 1, the image output device 1 and the image supply device 2
Communication path 3 as a series of scripts describing control information related to image output in a markup language
Send and receive via. This makes it easy to modify the protocol after the regulation while maintaining compatibility with multiple vendors by utilizing the extensibility of the syntax of the markup language.

さらに、上記参考構成例1によれば、マークアップ言語として、文書型を追加定義可能
であるXMLを使用する。これにより、規定後にプロトコルをより修正し易くすることが
できる。
Further, according to the above-described Reference Configuration Example 1, XML that can additionally define a document type is used as a markup language. This makes it easier to modify the protocol after the regulation.

さらに、上記参考構成例1によれば、通信制御部12,22が、マークアップ言語で記
述した画像出力に係る制御情報を送受するDPSプロトコルを解釈する第1のエンティテ
ィと、第1のエンティティに下位層で、画像供給装置2に格納された画像データを管理し
画像出力装置1へ転送するPTPを解釈する第2のエンティティと、第2のエンティティ
に下位層で、通信路3の物理層(ここではUSB)を制御する第3のエンティティとして
それぞれ機能する。これにより、PTP以下の階層では様々な既存のプロトコルを使用で
き、規定後に画像出力に係るプロトコルを修正したい場合に、DPSプロトコルのみを修
正すればよく、修正規模を小さくすることができる。
Further, according to the above-described Reference Configuration Example 1, the communication control units 12 and 22 communicate with the first entity that interprets the DPS protocol that transmits and receives the control information related to the image output described in the markup language, and the first entity In the lower layer, a second entity that manages image data stored in the image supply device 2 and interprets the PTP to be transferred to the image output device 1, and in the lower layer of the second entity, a physical layer of the communication path 3 ( Here, each functions as a third entity that controls USB). As a result, various existing protocols can be used in the layer below the PTP, and when it is desired to modify the protocol related to image output after the definition, only the DPS protocol needs to be modified, and the modification scale can be reduced.

さらに、上記参考構成例1によれば、通信制御部12,22は、ラッパー層にて、第2
のエンティティの画像データ管理転送プロトコルの種類(ここではPTP)に応じた、第
1のエンティティのDPSプロトコルと画像データ管理転送プロトコルとの間でのプロト
コル変換を行う。これにより、採用される画像データ管理転送プロトコルの違いがラッパ
ー層で吸収されるため、規定後に画像出力に係るプロトコルを修正したい場合に、ラッパ
ー層をほとんど修正せずに画像出力制御プロトコルのみを修正すればよく、修正規模を小
さくすることができる。
Furthermore, according to the above-described Reference Configuration Example 1, the communication control units 12 and 22 use the second
The protocol conversion between the DPS protocol of the first entity and the image data management transfer protocol is performed according to the type (here, PTP) of the image data management transfer protocol of the first entity. As a result, the difference in the adopted image data management transfer protocol is absorbed in the wrapper layer, so if you want to modify the protocol related to image output after the definition, modify only the image output control protocol with little modification to the wrapper layer And the correction scale can be reduced.

さらに、上記参考構成例1によれば、画像出力装置1の出力制御部13が、画像出力の
処理フローを制御する。これにより、画像供給装置2の情報処理量がほとんど増加せず、
画像供給装置2の情報処理性能が低くても本システムを実現することができる。
Furthermore, according to the above-described Reference Configuration Example 1, the output control unit 13 of the image output device 1 controls the processing flow of image output. Thereby, the information processing amount of the image supply device 2 hardly increases,
This system can be realized even if the information processing performance of the image supply device 2 is low.

さらに、上記参考構成例1によれば、通信制御部12,22が、画像出力に係る制御情
報として、画像出力処理における制御コマンド、その制御コマンドに対する応答、および
装置の状態(ジョブの状態を含む)の通知をマークアップ言語で記述した一連のスクリプ
トとして送受する。これにより、テキストベースで読み易い制御コマンド、その応答、装
置の状態通知などを送受でき、複数ベンダに対する互換性を維持しつつ、規定後にプロト
コルを修正し易くすることができる。
Furthermore, according to the above-described Reference Configuration Example 1, the communication control units 12 and 22 use the control command in the image output process, the response to the control command, and the state of the apparatus (including the state of the job) as the control information related to the image output. ) Is sent and received as a series of scripts described in markup language. This makes it possible to transmit and receive a text-based control command that is easy to read, a response to the command, a status notification of the device, and the like, thereby making it easy to modify the protocol after the regulation while maintaining compatibility with a plurality of vendors.

さらに、上記参考構成例1によれば、通信制御部12,22が、マークアップ言語で記
述した一連のスクリプトとして、画像出力の対象となる画像データを含まず、画像出力に
係る制御情報のみを含むスクリプトを送受する。これにより、画像出力の対象となるデー
タの形式を既存のものから変更することなく、画像出力の対象となるデータから独立して
マークアップ言語による制御情報を送受することができる。
Furthermore, according to the above-described Reference Configuration Example 1, the communication control units 12 and 22 include only control information related to image output as a series of scripts described in a markup language without including image data to be output. Send and receive scripts including Thus, control information in a markup language can be transmitted and received independently of the data to be output, without changing the format of the data to be output from the existing data.

さらに、上記参考構成例1によれば、画像出力装置1が、画像を出力する出力機構14
と、画像データから出力機構を制御するための制御データを生成しその制御データに基づ
いて出力機構を制御する出力制御部13とを備える。これにより、画像供給装置2には、
画像データから出力機構を制御する制御データを生成する機能(パーソナルコンピュータ
などで使用される従来のプリンタドライバに含まれる機能)がなくてもよく、画像供給装
置2を安価にすることができる。
Further, according to the above-described Reference Configuration Example 1, the image output device 1 is configured to output the image to the output mechanism 14.
And an output control unit 13 that generates control data for controlling the output mechanism from the image data and controls the output mechanism based on the control data. Thereby, the image supply device 2 includes:
A function of generating control data for controlling the output mechanism from the image data (a function included in a conventional printer driver used in a personal computer or the like) may not be required, and the image supply device 2 can be inexpensive.

さらに、上記参考構成例1によれば、画像出力装置1のXMLパーサ63を、マークア
ップ言語のタグのうち、画像出力に係る制御情報の記述に必要なタグのみを判別するよう
にした場合には、XMLパーサ63を小規模な回路やプログラムで実現でき、画像出力装
置1を安価にすることができる。
Further, according to the above-described reference configuration example 1, when the XML parser 63 of the image output apparatus 1 is configured to determine only tags necessary for describing control information related to image output among tags in the markup language. Can realize the XML parser 63 with a small-scale circuit or a program, and can reduce the cost of the image output apparatus 1.

さらに、上記参考構成例1によれば、画像供給装置2のXMLパーサ93を、マークア
ップ言語のタグのうち、画像出力に係る制御情報の記述に必要なタグのみを判別するよう
にした場合には、XMLパーサ93を小規模な回路やプログラムで実現でき、画像供給装
置2を安価にすることができる。
Furthermore, according to the above-described reference configuration example 1, when the XML parser 93 of the image supply device 2 is configured to determine only tags necessary for describing control information related to image output among tags in the markup language. Can implement the XML parser 93 with a small-scale circuit or program, and can reduce the cost of the image supply device 2.

さらに、上記参考構成例1によれば、通信制御部12,22が、スクリプトのテンプレ
ートを制御情報の種類ごとに格納し、そのテンプレートから制御情報のスクリプトを生成
する。これにより、テンプレートで確定していない部分のみを編集すればよいため、短時
間で制御情報のスクリプトを生成することができる。
Further, according to the first reference configuration example, the communication control units 12 and 22 store the script template for each type of control information, and generate the control information script from the template. As a result, only the part that has not been determined in the template needs to be edited, so that the control information script can be generated in a short time.

さらに、上記参考構成例1によれば、画像供給装置2の通信制御部22および通信回路
21は、操作部25に対して所定の操作があると、画像出力ジョブ開始コマンドを制御情
報として画像出力装置1に送信する。画像出力装置1の出力制御部13は、通信制御部1
2および通信回路11により画像出力ジョブ開始コマンドが受信されると、その画像出力
ジョブ開始コマンドに従って画像出力の処理を開始する。これにより、ユーザが画像供給
装置2の操作部25を操作することで画像出力を行わせることができるため、画像供給装
置2がユーザフレンドリな操作部25を有している場合にその操作部25により操作性が
向上する。
Further, according to the first configuration example, when a predetermined operation is performed on the operation unit 25, the communication control unit 22 and the communication circuit 21 of the image supply device 2 perform image output using the image output job start command as control information. Transmit to the device 1. The output control unit 13 of the image output device 1 includes the communication control unit 1
When the image output job start command is received by the communication circuit 2 and the communication circuit 11, the image output process is started according to the image output job start command. This allows the user to output an image by operating the operation unit 25 of the image supply device 2. Therefore, when the image supply device 2 has the user-friendly operation unit 25, Thereby, operability is improved.

さらに、上記参考構成例1によれば、画像出力装置1の通信制御部12は、画像出力の
処理において、画像供給装置2に格納された画像データが必要になると、その画像データ
の転送要求を画像供給装置2に送信する。画像供給装置2の通信制御部22は、その画像
データの転送要求を受信すると、その画像データを画像出力装置1に送信する。これによ
り、画像供給装置2は画像出力装置1からの要求に応じて画像データを送信すればよいた
め、画像供給装置2の情報処理量がほとんど増加せず、画像供給装置2の情報処理性能が
低くても本システムを実現することができる。
Further, according to the first reference configuration example, when the image data stored in the image supply device 2 is needed in the image output process, the communication control unit 12 of the image output device 1 sends the image data transfer request. The image is transmitted to the image supply device 2. Upon receiving the image data transfer request, the communication control unit 22 of the image supply device 2 transmits the image data to the image output device 1. Accordingly, since the image supply device 2 only needs to transmit image data in response to a request from the image output device 1, the information processing amount of the image supply device 2 hardly increases, and the information processing performance of the image supply device 2 is reduced. This system can be realized at a low cost.

画像出力システムの参考構成例2.
画像出力システムの参考構成例2では、画像供給装置2が、画像データおよび画像出力
ジョブを指定するジョブ指定ファイルを格納し、画像出力装置1が、そのジョブ指定ファ
イルを取得し、そのジョブ指定ファイルの情報に基づいて、マークアップ言語で記述した
画像出力に係る制御情報を生成する。
1. Reference configuration example of image output system
In the reference configuration example 2 of the image output system, the image supply device 2 stores image data and a job specification file that specifies an image output job, and the image output device 1 acquires the job specification file, and stores the job specification file. On the basis of this information, control information relating to image output described in a markup language is generated.

参考構成例2では、画像データおよびジョブ指定ファイルが、DPOF(Digital Prin
t Order Format)方式で記録媒体24に格納される。DPOF規格は、現在DPOF1.
10のバージョンであるが、将来提案される次バージョン以降のものであってもよい。ま
た、同等の作用を得られる他の規格のものをDPOFの代わりに使用してもよい。
In Reference Configuration Example 2, the image data and the job specification file are DPOF (Digital Prin
t Order Format) method. The DPOF standard is currently DPOF1.
The version is 10 but may be the next version or later proposed in the future. Further, another standard having the same effect may be used instead of DPOF.

図11は、DPOF方式のディレクトリ構造を説明する図である。DPOF方式のディ
レクトリ構造では、ルートの下位ディレクトリとして、画像データファイルの上位となる
ディレクトリDCIMおよびジョブ指定ファイルの上位となるディレクトリMISCがあ
る。ディレクトリDCIMの下位には、ベンダ固有のディレクトリ(ここでは、100E
PSON)が設けられ、その中に画像データファイル(ここでは、IMAGE01.JP
Gなど)がある。一方、ディレクトリMISCには、印刷ジョブの指定ファイルであるA
UTPRINT.MRKがある。DPOF方式のジョブ指定ファイルAUTPRINT.
MRKには、プリントジョブ情報、画像ソース情報、印刷設定情報などが含まれている。
FIG. 11 is a diagram illustrating a directory structure of the DPOF method. In the directory structure of the DPOF scheme, as a lower directory of the root, there are a directory DCIM which is higher than the image data file and a directory MISC which is higher than the job specification file. Below the directory DCIM, a vendor-specific directory (here, 100E
PSON), and an image data file (here, IMAGE01.JP)
G etc.). On the other hand, the directory MISC stores A
UTPRINT. There is MRK. DPOF job specification file AUTPRINT.
The MRK includes print job information, image source information, print setting information, and the like.

図12は、DPOF方式のジョブ指定ファイルAUTPRINT.MRKの一例を示す
図である。図12に示すAUTPRINT.MRKには、3つのジョブが含まれており、
それぞれのジョブに対して、ジョブID(PRT PID)、印刷種類(PRT TYP
)、印刷部数(PRT QTY)、画像データの格納場所(IMG SRC)、および画
像データのフォーマット(IMG FMT)が指定されている。
FIG. 12 shows a job specification file AUTPRINT. It is a figure showing an example of MRK. The AUTPRINT. The MRK contains three jobs,
For each job, the job ID (PRT PID) and print type (PRT TYP
), The number of copies (PRT QTY), the storage location of the image data (IMG SRC), and the format of the image data (IMG FMT).

なお、参考構成例2における画像出力装置1および画像供給装置2の基本的な構成は、
参考構成例1の場合と同様である。ただし、参考構成例2における通信制御部12および
通信制御部22の動作は、以下に説明するように変更される。
The basic configurations of the image output device 1 and the image supply device 2 in Reference Configuration Example 2 are as follows.
This is the same as in Reference Example 1. However, the operations of the communication control unit 12 and the communication control unit 22 in the reference configuration example 2 are changed as described below.

次に、上記システムの各装置の動作について説明する。図13は、画像出力システムの
参考構成例2における、DPSプロトコルレベルでの画像出力処理を説明する図である。
図14は、画像出力システムの参考構成例2における、画像転送プロトコルレベルでの画
像出力処理を説明する図である。
Next, the operation of each device of the above system will be described. FIG. 13 is a diagram illustrating an image output process at the DPS protocol level in Reference Example 2 of the image output system.
FIG. 14 is a diagram illustrating an image output process at an image transfer protocol level in Reference Example 2 of the image output system.

まず、例えば操作部25に対して所定の操作があると、画像供給装置2が、通信路3を
介して画像出力装置1へ、画像出力ジョブ開始コマンドを送信する(ステップS21)。
First, for example, when a predetermined operation is performed on the operation unit 25, the image supply device 2 transmits an image output job start command to the image output device 1 via the communication path 3 (Step S21).

その際、画像供給装置2では、通信制御部22が、画像出力ジョブ開始コマンドDPS
_StartJobのXMLスクリプトを生成し、送信する。ここでは、このXMLスク
リプト内で、ジョブ指定ファイルを使用することが記述される。すなわち、例えば図9に
示すようなスクリプトにおいて、画像データを指定するimageIDタグでジョブ指定
ファイルが指定される。その指定には、ジョブ指定ファイルのオブジェクトIDが使用さ
れる。
At that time, in the image supply device 2, the communication control unit 22 executes the image output job start command DPS.
Generate and transmit an XML script of _StartJob. Here, it is described that a job specification file is used in the XML script. That is, for example, in a script as shown in FIG. 9, a job specification file is specified by an imageID tag that specifies image data. The object ID of the job specification file is used for the specification.

この画像出力ジョブ開始コマンドDPS_StartJobのXMLスクリプトのつい
ての画像供給装置2から画像出力装置1への伝送の際の通信処理は、参考構成例1におけ
るステップS1の場合と同様であるので、その説明を省略する。
The communication processing when transmitting the XML script of the image output job start command DPS_StartJob from the image supply apparatus 2 to the image output apparatus 1 is the same as that in step S1 in the first reference configuration example. Omitted.

次に、画像出力装置1は、取得したXMLスクリプトを解釈し(ステップS22)、そ
のXMLスクリプトに記述されたジョブ指定ファイルを画像供給装置2から取得する(ス
テップS23)。
Next, the image output device 1 interprets the acquired XML script (Step S22), and acquires a job specification file described in the XML script from the image supply device 2 (Step S23).

その際、画像出力装置1では、通信制御部12が、DPSプロトコルに従って、XML
スクリプト内に記載されたオブジェクトID(PTPにおけるオブジェクトIDに対応)
でジョブ指定ファイルを指定してXMLスクリプトのファイル情報取得コマンドDPS_
GetFileInfoを送信する。通信制御部12は、そのDPSプロトコルのファイ
ル情報取得コマンドDPS_GetFileInfoを、画像転送プロトコルのファイル
情報取得コマンドGetObjectInfoに変換し、送信する(ステップSS11)
。このコマンドは、USB層および物理層を介して画像供給装置2に伝送される。
At that time, in the image output device 1, the communication control unit 12 uses the XML in accordance with the DPS protocol.
Object ID described in the script (corresponds to the object ID in PTP)
XML script file information acquisition command DPS_
Send GetFileInfo. The communication control unit 12 converts the DPS protocol file information acquisition command DPS_GetFileInfo into an image transfer protocol file information acquisition command GetObjectInfo, and transmits the converted file information acquisition command GetObjectInfo (step SS11).
. This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectInfoを受信すると、指定されたオブジェクトIDのファイルのファイ
ル情報を送信する(ステップSS12)。このファイル情報は、USB層および物理層を
介して画像出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
Upon receiving the tObjectInfo, the file information of the file having the specified object ID is transmitted (step SS12). This file information is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイル情
報を受信すると、そのファイル情報をXMLスクリプトとして記述し、DPSプロトコル
層に渡す。
In the image output device 1, when the communication control unit 12 receives the file information according to the image transfer protocol, the communication control unit 12 describes the file information as an XML script and passes it to the DPS protocol layer.

次に、画像出力装置1では、通信制御部12が、DPSプロトコルに従って、オブジェ
クトIDでジョブ指定ファイルを指定してXMLスクリプトのファイル取得コマンドDP
S_GetFileを発行する。通信制御部12は、そのDPSプロトコルのファイル取
得コマンドDPS_GetFileを、画像転送プロトコルのファイル取得コマンドGe
tObjectに変換し、送信する(ステップSS13)。このコマンドは、USB層お
よび物理層を介して画像供給装置2に伝送される。
Next, in the image output device 1, the communication control unit 12 specifies the job specification file by the object ID according to the DPS protocol and obtains the file acquisition command DP of the XML script.
Issues S_GetFile. The communication control unit 12 converts the file acquisition command DPS_GetFile of the DPS protocol into a file acquisition command Ge of the image transfer protocol.
The data is converted into tObject and transmitted (step SS13). This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectを受信すると、指定されたオブジェクトIDのファイル(ジョブ指定ファ
イル)を読み出し、送信する(ステップSS14)。このファイルは、USB層および物
理層を介して画像出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
When the tObject is received, the file (job specification file) of the specified object ID is read and transmitted (step SS14). This file is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイルを
受信すると、DPSプロトコル層においてもそのファイルを受信したこととなる。
In the image output device 1, when the communication control unit 12 receives the file according to the image transfer protocol, the communication control unit 12 also receives the file in the DPS protocol layer.

ここで、画像出力装置1が図3および図4に示すプリンタであり、かつ画像供給装置2
が図5および図6に示すデジタルカメラである場合、このジョブ指定ファイルの取得には
、画像出力装置1におけるDPSプロトコル処理機能52および通信制御機能51、並び
に、画像供給装置2における通信制御機能81およびファイルシステム管理機能83が使
用される。
Here, the image output device 1 is the printer shown in FIGS.
In the case of the digital camera shown in FIGS. 5 and 6, the job specification file is acquired by the DPS protocol processing function 52 and the communication control function 51 in the image output apparatus 1 and the communication control function 81 in the image supply apparatus 2. And a file system management function 83 is used.

そして、画像出力装置1の通信制御部12は、ジョブ指定ファイルを取得すると、その
ジョブ指定ファイルを解釈する(ステップS24)。
Then, upon acquiring the job specification file, the communication control unit 12 of the image output device 1 interprets the job specification file (Step S24).

画像出力装置1の通信制御部12は、そのジョブ指定ファイルに記述された各ジョブに
おいて指定された画像データを画像供給装置2から取得する(ステップS25)。
The communication control unit 12 of the image output device 1 acquires the image data specified in each job described in the job specification file from the image supply device 2 (Step S25).

その際、まず、DPOF方式のジョブ指定ファイルAUTPRINT.MRKでは、画
像データファイルの格納場所が相対パスで記述されているため、その画像データのオブジ
ェクトIDを取得するために、画像出力装置1では、通信制御部12が、DPSプロトコ
ルに従って、パスを指定してそのパスのファイルのオブジェクトIDを取得するためのコ
マンドDPS_GetObjectIDをXMLスクリプトとして生成し、送信する。
At that time, first, the job specification file AUTPRINT. In the MRK, since the storage location of the image data file is described by a relative path, in the image output device 1, the communication control unit 12 specifies the path according to the DPS protocol in order to obtain the object ID of the image data. Then, a command DPS_GetObjectID for acquiring the object ID of the file at the path is generated as an XML script and transmitted.

図15は、参考構成例2において使用されるオブジェクトID取得コマンドDPS_G
etObjectIDのXMLスクリプトの一例を示す図である。図15において、ge
tObjectIDRequestタグは、オブジェクトID取得コマンドであることを
示すタグである。図15においては、getObjectIDRequestタグの下位
に、basePathIDタグおよびimagePathタグが配置される。baseP
athIDタグは、imagePathタグで指定する相対パスの基礎となるディレクト
リを指定するためのタグである。imagePathタグは、オブジェクトIDを取得す
る対象となるファイルを、basePathIDタグで指定されたディレクトリからの相
対パスで指定するためのタグである。
FIG. 15 shows an object ID acquisition command DPS_G used in Reference Configuration Example 2.
FIG. 7 is a diagram illustrating an example of an XML script of etObjectID. In FIG.
The tObjectIDRequest tag is a tag indicating that the command is an object ID acquisition command. In FIG. 15, a basePathID tag and an imagePath tag are arranged below the getObjectIDRequest tag. baseP
The athID tag is a tag for specifying a directory serving as a basis for a relative path specified by the imagePath tag. The imagePath tag is a tag for specifying a file from which an object ID is to be obtained by a relative path from the directory specified by the basePathID tag.

画像出力装置1の通信制御部12は、DPSプロトコル層でのコマンドDPS_Get
ObjectIDの発行を受けて、画像転送プロトコルに従って、コマンドSendOb
jectInfoとXMLスクリプトのファイル情報、およびコマンドSendObje
ctとXMLスクリプトを送信する(ステップSS21〜SS24)。これらのコマンド
、ファイル情報およびXMLスクリプトは、USB層および物理層を介して画像供給装置
2に伝送される。
The communication control unit 12 of the image output device 1 executes the command DPS_Get in the DPS protocol layer.
In response to the issuance of the ObjectID, the command SendOb is sent according to the image transfer protocol.
file information of jetInfo and XML script, and command SendObject
ct and the XML script are transmitted (steps SS21 to SS24). These commands, file information, and XML scripts are transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22は、画像転送プロトコルに従って、それらのコマ
ンド、ファイル情報およびXMLスクリプトを受信し、DPSプロトコルに従って、XM
LスクリプトであるコマンドDPS_GetObjectIDを受信する。
In the image supply device 2, the communication control unit 22 receives the command, the file information, and the XML script according to the image transfer protocol, and uses the XML
The command DPS_GetObjectID, which is an L script, is received.

画像供給装置2の通信制御部22は、DPSプロトコルに従って、受信したコマンドD
PS_GetObjectIDのXMLスクリプトを解釈し、コマンドDPS_GetO
bjectIDで指定されたパスのファイルに割り当てられているオブジェクトIDを特
定し、コマンドDPS_GetObjectIDに対する応答として、そのオブジェクト
IDを示すXMLスクリプトを生成し、送信する。
The communication control unit 22 of the image supply device 2 receives the received command D according to the DPS protocol.
The XML script of PS_GetObjectID is interpreted, and the command DPS_GetO is interpreted.
The object ID assigned to the file of the path specified by the objectID is specified, and an XML script indicating the object ID is generated and transmitted as a response to the command DPS_GetObjectID.

図16は、参考構成例2において使用されるオブジェクトID取得コマンドDPS_G
etObjectIDの応答のXMLスクリプトの一例を示す図である。図16において
、opResultタグは、オブジェクトID取得コマンドの処理結果コードを指定する
ためのタグである。また、getObjectIDResponseタグは、オブジェク
トID取得コマンドの処理結果の戻り値を指定するためのタグである。図16においては
、getObjectIDResponseタグの下位に、basePathIDタグ、
imagePathタグおよびimageIDタグが配置される。basePathID
タグおよびimagePathタグは、コマンド内で指定されたものと同一であり、im
ageIDタグは、コマンドの処理結果として得られたオブジェクトIDを指定するため
のタグである。
FIG. 16 shows an object ID acquisition command DPS_G used in Reference Configuration Example 2.
FIG. 10 is a diagram illustrating an example of an XML script of a response of etObjectID. In FIG. 16, an opResult tag is a tag for designating a processing result code of an object ID acquisition command. The getObjectIDResponse tag is a tag for specifying a return value of a processing result of the object ID acquisition command. In FIG. 16, a basePathID tag is added below the getObjectIDResponse tag.
An imagePath tag and an imageID tag are arranged. basePathID
The tag and the imagePath tag are the same as those specified in the command.
The ageID tag is a tag for designating an object ID obtained as a result of processing a command.

画像供給装置2の通信制御部22は、DPSプロトコル層でのコマンドDPS_Get
ObjectIDへの応答を受けて、画像転送プロトコルに従って、まず、ファイル転送
要求コマンドRequestObjectTransferを送信する(ステップSS3
1)。このコマンドは、USB層および物理層を介して画像出力装置1に伝送される。
The communication control unit 22 of the image supply device 2 executes the command DPS_Get in the DPS protocol layer.
In response to the response to the ObjectID, first, a file transfer request command RequestObjectTransfer is transmitted according to the image transfer protocol (step SS3).
1). This command is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従って、ファイル転送
要求コマンドRequestObjectTransferを受信すると、転送するファ
イルの属性を問い合わせるコマンドGetObjectInfoを送信する(ステップS
S32)。このコマンドは、USB層および物理層を介して画像供給装置2に伝送される
In the image output device 1, upon receiving the file transfer request command RequestObjectTransfer in accordance with the image transfer protocol, the communication control unit 12 transmits a command GetObjectInfo for inquiring about the attribute of the file to be transferred (step S).
S32). This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectInfoを受信すると、コマンドDPS_GetObjectIDへの応
答のXMLスクリプトのファイル情報を送信する(ステップSS33)。このファイル情
報は、USB層および物理層を介して画像出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
Upon receiving the tObjectInfo, the file information of the XML script in response to the command DPS_GetObjectID is transmitted (step SS33). This file information is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従って、そのファイル
情報を受信すると、その応答のXMLスクリプトを指定してファイル取得コマンドGet
Objectを送信する(ステップSS34)。このファイル情報は、USB層および物
理層を介して画像供給装置2に伝送される。
In the image output device 1, when the communication control unit 12 receives the file information according to the image transfer protocol, the communication control unit 12 specifies the XML script of the response and obtains the file acquisition command Get.
The object is transmitted (step SS34). This file information is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectを受信すると、指定されたファイル(コマンドDPS_GetObjec
tIDへの応答のXMLスクリプト)を送信する(ステップSS35)。このファイルは
、USB層および物理層を介して画像出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
When the tObject is received, the specified file (command DPS_GetObject) is received.
An XML script in response to the tID is transmitted (step SS35). This file is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイルを
受信すると、DPSプロトコル層においてコマンドDPS_GetObjectIDに対
する応答を受信したこととなる。
In the image output device 1, when the communication control unit 12 receives the file according to the image transfer protocol, it means that a response to the command DPS_GetObjectID has been received in the DPS protocol layer.

このようにして、画像出力装置1は、ジョブ指定ファイルにおいて指定された画像デー
タファイルのオブジェクトIDを取得する。
Thus, the image output device 1 acquires the object ID of the image data file specified in the job specification file.

そして、画像出力装置1では、通信制御部12が、DPSプロトコルに従って、取得し
たオブジェクトIDで画像データファイルを指定してXMLスクリプトのファイル情報取
得コマンドDPS_GetFileInfoを送信する。
Then, in the image output apparatus 1, the communication control unit 12 specifies the image data file with the obtained object ID according to the DPS protocol, and transmits a file information acquisition command DPS_GetFileInfo of the XML script.

図17は、参考構成例2において使用されるファイル情報取得コマンドDPS_Get
FileInfoのXMLスクリプトの一例を示す図である。図17において、getF
ileInfoRequestタグは、ファイル情報取得コマンドであることを示すタグ
である。図17においては、getFileInfoRequestタグの下位に、fi
leIDタグが配置される。fileIDタグは、ファイル情報取得の対象のファイルの
オブジェクトIDを指定するためのタグである。
FIG. 17 shows a file information acquisition command DPS_Get used in Reference Configuration Example 2.
FIG. 3 is a diagram illustrating an example of an XML script of FileInfo. In FIG. 17, getF
The ileInfoRequest tag is a tag indicating a file information acquisition command. In FIG. 17, fi is placed below the getFileInfoRequest tag.
A leID tag is arranged. The fileID tag is a tag for designating the object ID of the file for which file information is to be obtained.

画像出力装置1の通信制御部12は、そのDPSプロトコルのファイル情報取得コマン
ドDPS_GetFileInfoを、画像転送プロトコルのファイル情報取得コマンド
GetObjectInfoに変換し、送信する。このコマンドは、USB層および物理
層を介して画像供給装置2に伝送される。
The communication control unit 12 of the image output apparatus 1 converts the file information acquisition command DPS_GetFileInfo of the DPS protocol into a file information acquisition command GetObjectInfo of the image transfer protocol, and transmits the converted command. This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectInfoを受信すると、指定されたオブジェクトIDのファイルのファイ
ル情報を送信する。このファイル情報は、USB層および物理層を介して画像出力装置1
に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
Upon receiving tObjectInfo, the file information of the file having the specified object ID is transmitted. This file information is transmitted to the image output device 1 via the USB layer and the physical layer.
Transmitted to

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイル情
報を受信すると、そのファイル情報をXMLスクリプトとして記述し、DPSプロトコル
層に渡す。
In the image output device 1, when the communication control unit 12 receives the file information according to the image transfer protocol, the communication control unit 12 describes the file information as an XML script and passes it to the DPS protocol layer.

図18は、参考構成例2において使用されるファイル情報取得コマンドDPS_Get
FileInfoの応答のXMLスクリプトの一例を示す図である。図18において、o
pResultタグは、オブジェクトID取得コマンドの処理結果コードを指定するため
のタグである。また、getFileInfoResponseタグは、ファイル情報取
得コマンドの処理結果の戻り値を指定するためのタグである。図18においては、get
FileInfoResponseタグの下位に、fileTypeタグおよびfile
Sizeタグが配置される。fileTypeタグは、ファイル情報のうちのファイルの
形式を指定するためのタグである。fileSizeタグは、ファイル情報のうちのファ
イルサイズを指定するためのタグである。なお、ファイル形式は、各形式に予め割り当て
られている番号により指定される。
FIG. 18 shows a file information acquisition command DPS_Get used in Reference Configuration Example 2.
FIG. 9 is a diagram illustrating an example of an XML script of a response of FileInfo. In FIG. 18, o
The pResult tag is a tag for specifying a processing result code of the object ID acquisition command. The getFileInfoResponse tag is a tag for designating the return value of the processing result of the file information acquisition command. In FIG. 18, get
Below the FileInfoResponse tag, a fileType tag and a file
A Size tag is arranged. The fileType tag is a tag for designating a file format in the file information. The fileSize tag is a tag for designating the file size in the file information. The file format is specified by a number assigned to each format in advance.

次に、画像出力装置1では、通信制御部12が、DPSプロトコルに従って、取得した
オブジェクトIDで画像データファイルを指定してXMLスクリプトのファイル取得コマ
ンドDPS_GetFileを送信する。通信制御部12は、そのDPSプロトコルのフ
ァイル取得コマンドDPS_GetFileを、画像転送プロトコルのファイル取得コマ
ンドGetObjectに変換し、送信する。このコマンドは、USB層および物理層を
介して画像供給装置2に伝送される。
Next, in the image output device 1, the communication control unit 12 specifies the image data file with the obtained object ID and transmits the XML script file acquisition command DPS_GetFile according to the DPS protocol. The communication control unit 12 converts the file acquisition command DPS_GetFile of the DPS protocol into a file acquisition command GetObject of the image transfer protocol, and transmits the command. This command is transmitted to the image supply device 2 via the USB layer and the physical layer.

なお、ファイル全体を取得するファイル取得コマンドDPS_GetFileの代わり
に、ファイルの一部を取得するファイル部分取得コマンドDPS_GetPartial
Fileを複数回送信してファイル全体を取得するようにしてもよい。このファイル部分
取得コマンドDPS_GetPartialFileは、画像転送プロトコルのコマンド
GetPartialObjectに変換される。
Instead of the file acquisition command DPS_GetFile for acquiring the entire file, a file part acquisition command DPS_GetPartial for acquiring a part of the file is used.
The file may be transmitted a plurality of times to acquire the entire file. This file part acquisition command DPS_GetPartialFile is converted into a command GetPartialObject of the image transfer protocol.

画像供給装置2では、通信制御部22が、画像転送プロトコルに従って、コマンドGe
tObjectを受信すると、指定されたオブジェクトIDのファイル(画像データファ
イル31)を読み出し、送信する。このファイルは、USB層および物理層を介して画像
出力装置1に伝送される。
In the image supply device 2, the communication control unit 22 executes the command Ge according to the image transfer protocol.
Upon receiving the tObject, the file (image data file 31) of the specified object ID is read and transmitted. This file is transmitted to the image output device 1 via the USB layer and the physical layer.

画像出力装置1では、通信制御部12が、画像転送プロトコルに従ってそのファイルを
受信すると、DPSプロトコル層においてもそのファイルを受信したこととなる。
In the image output device 1, when the communication control unit 12 receives the file according to the image transfer protocol, the communication control unit 12 also receives the file in the DPS protocol layer.

ここで、画像出力装置1が図3および図4に示すプリンタであり、かつ画像供給装置2
が図5および図6に示すデジタルカメラである場合、この画像データの取得には、画像出
力装置1におけるDPSプロトコル処理機能52および通信制御機能51、並びに、画像
供給装置2における通信制御機能81およびファイルシステム管理機能83が使用される
Here, the image output device 1 is the printer shown in FIGS.
5 is a digital camera shown in FIG. 5 and FIG. 6, the acquisition of this image data requires the DPS protocol processing function 52 and the communication control function 51 in the image output device 1 and the communication control function 81 and the communication control function 81 in the image supply device 2. The file system management function 83 is used.

そして、画像出力装置1は、画像データを取得すると、その画像データに基づく画像を
出力する(ステップS26)。その際、画像出力装置1では、出力制御部13および出力
機構14が、画像出力処理を行う。
Then, when acquiring the image data, the image output device 1 outputs an image based on the image data (Step S26). At that time, in the image output device 1, the output control unit 13 and the output mechanism 14 perform an image output process.

ここで、画像出力装置1が図3および図4に示すプリンタである場合、画像出力処理に
は、画像処理機能53、印刷データ生成機能54および印刷制御機能55が使用される。
Here, when the image output apparatus 1 is the printer shown in FIGS. 3 and 4, an image processing function 53, a print data generation function 54, and a print control function 55 are used for image output processing.

このように、この参考構成例2では、画像供給装置2に格納されたジョブ指定ファイル
が画像出力装置1に転送され、画像出力装置1がジョブ指定ファイルを解釈し、ジョブを
実行する。また、他の実施例として、画像供給装置2が、ジョブ指定ファイルを解釈し、
そのジョブ指定ファイルの内容に従ってジョブ開始コマンドを生成し、画像出力装置1に
送信し、画像出力装置1が、そのジョブ開始コマンドを解釈してジョブを実行するように
してもよい。
As described above, in the reference configuration example 2, the job specification file stored in the image supply device 2 is transferred to the image output device 1, and the image output device 1 interprets the job specification file and executes the job. Further, as another embodiment, the image supply device 2 interprets the job designation file,
A job start command may be generated in accordance with the contents of the job specification file and transmitted to the image output device 1, and the image output device 1 may interpret the job start command and execute the job.

なお、この参考構成例2に係る画像出力システムは、他の実施の形態のいずれとも組み
合わせ可能である。
Note that the image output system according to Reference Configuration Example 2 can be combined with any of the other embodiments.

以上のように、上記参考構成例2によれば、画像供給装置2が、画像データおよび画像
出力ジョブを指定するジョブ指定ファイル(ここでは、DPOFのAUTPRINT.M
RKファイル)を格納し、画像出力装置1が、そのジョブ指定ファイルを取得し、指示さ
れたジョブを解釈し、そのジョブ指定ファイルの情報に基づいて、マークアップ言語で記
述した画像出力に係る制御情報を生成する。これにより、DPOF方式などの既存のジョ
ブ指定ファイルを使用でき、簡単に複雑な画像出力ジョブを実行することができる。
As described above, according to the above-described Reference Configuration Example 2, the image supply device 2 uses the job specification file (here, DPOF AUTPRINT.M) to specify the image data and the image output job.
RK file), the image output apparatus 1 acquires the job specification file, interprets the designated job, and controls the image output described in the markup language based on the information of the job specification file. Generate information. Thus, an existing job specification file such as the DPOF method can be used, and a complicated image output job can be easily executed.

さらに、上記参考構成例2によれば、画像供給装置2は、画像出力対象の1または複数
の画像データおよびジョブ指定ファイルのいずれか一方を画像出力ジョブ開始コマンドに
おいて指定することができる。画像出力装置1は、画像出力ジョブ開始コマンドにおいて
画像データが指定された場合には、その画像出力ジョブ開始コマンドに従って画像供給装
置2からその画像データを取得し、画像出力ジョブ開始コマンドにおいてジョブ指定ファ
イルが指定された場合には、その画像出力ジョブ開始コマンドに従って画像供給装置2か
らそのジョブ指定ファイルを取得し、そのジョブ指定ファイルにおいて指定された画像デ
ータを画像供給装置2から取得する。これにより、画像データごとに、あるいはジョブ指
定ファイルで纏めて、画像出力の対象となる画像データを指定することができ、様々なパ
ターンの画像出力ジョブを行うことができる。
Further, according to the above-described Reference Configuration Example 2, the image supply device 2 can specify one of one or a plurality of image data to be output and a job specification file in the image output job start command. When the image data is specified in the image output job start command, the image output device 1 acquires the image data from the image supply device 2 according to the image output job start command, and outputs the job designation file in the image output job start command. Is specified, the job specification file is obtained from the image supply device 2 in accordance with the image output job start command, and the image data specified in the job specification file is obtained from the image supply device 2. Thus, image data to be output can be specified for each image data or collectively in a job specification file, and image output jobs of various patterns can be performed.

画像出力システムの参考構成例3.
画像出力システムの参考構成例3は、上記参考構成例1または上記参考構成例2に係る
画像出力システムにおいて自律復旧できない障害(例えば紙ジャム、電源断、通信路切断
など)から復旧した際のリカバリ処理を行うようにしたものである。
2. Reference configuration example of image output system
Reference configuration example 3 of the image output system is a recovery when the image output system according to the reference configuration example 1 or the reference configuration example 2 recovers from a failure that cannot be autonomously restored (for example, a paper jam, a power supply cutoff, a communication path disconnection, and the like). The processing is performed.

この画像出力システムの参考構成例3では、画像出力装置1が、画像出力としての印刷
処理におけるページレイアウト内の所定位置(最初、最後など)に割り当てられた印刷対
象を示す再開情報を画像供給装置2に送信し、障害により印刷処理が中止された後に、印
刷処理を新たに開始させる印刷ジョブ開始コマンドとともに、再開時の最初の印刷対象を
指定する制御情報を画像供給装置2から受信し、その印刷対象から印刷処理を再開する。
その一方で、画像供給装置2が、その再開情報を受信して記憶しておき、印刷処理を再開
する場合に、印刷処理を新たに開始させる印刷ジョブ開始コマンドとともに、最後に記憶
した再開情報に基づいて再開時の最初の印刷対象を指定する制御情報を画像出力装置1へ
送信する。
In Reference Configuration Example 3 of the image output system, the image output apparatus 1 transmits restart information indicating a print target assigned to a predetermined position (first, last, etc.) in a page layout in print processing as image output to the image supply apparatus. 2 and, after the print processing is interrupted due to the failure, the print job start command for newly starting the print processing and the control information for specifying the first print target at the time of resumption are received from the image supply device 2. Restart print processing from the print target.
On the other hand, the image supply device 2 receives and stores the restart information, and when restarting the print processing, together with the print job start command for newly starting the print processing, the restart information stored last. The control information for designating the first print target at the time of restart is transmitted to the image output apparatus 1 based on the restart.

なお、参考構成例3における画像出力装置1および画像供給装置2の基本的な構成は、
参考構成例1の場合と同様であるが、下記の機能が追加される。
The basic configurations of the image output device 1 and the image supply device 2 in Reference Configuration Example 3 are as follows.
This is the same as the case of Reference Configuration Example 1, but the following functions are added.

次に、上記システムにおける各装置の動作について説明する。   Next, the operation of each device in the above system will be described.

図19は、画像出力システムの参考構成例3における画像出力装置についての状態遷移
図である。
FIG. 19 is a state transition diagram of the image output device in the reference configuration example 3 of the image output system.

画像出力装置1は、印刷ジョブがないと、ジョブなし状態(すなわち、アイドル状態)
にあり、画像供給装置2から印刷ジョブを供給されると、印刷状態に移行し、印刷処理を
行う。そして、印刷ジョブが終了し、後続の印刷ジョブがないと、画像出力装置1は、ジ
ョブなし状態に移行する。なお、この状態の管理は、画像出力装置1の出力制御部13に
より行われる。
If there is no print job, the image output apparatus 1 has no job (ie, idle state).
When a print job is supplied from the image supply device 2, the printer shifts to a print state and performs print processing. Then, when the print job is completed and there is no subsequent print job, the image output apparatus 1 shifts to a no-job state. The management of this state is performed by the output control unit 13 of the image output device 1.

印刷状態において障害が発生すると、画像出力装置1は、ホールド状態に移行し、印刷
処理を中断する。自律復旧可能な障害の場合には、障害がなくなると、画像出力装置1は
、印刷状態に戻り、中断した印刷処理を再開する。一方、紙ジャム、通信路切断などの自
律復旧不能な障害の場合には、画像出力装置1は、リセット指令があるまでホールド状態
のままとなり、リセット指令があると、中断した印刷ジョブを廃棄して、ジョブなし状態
に移行する。その時に残りの印刷ジョブがある場合やその後に新たな印刷ジョブが発生し
た場合には、画像出力装置1は、印刷状態に移行する。
When a failure occurs in the printing state, the image output device 1 shifts to the hold state and interrupts the printing process. In the case of a failure that can be autonomously restored, when the failure disappears, the image output apparatus 1 returns to the printing state and restarts the interrupted print processing. On the other hand, in the case of an unrecoverable failure such as a paper jam or communication path disconnection, the image output apparatus 1 remains in the hold state until a reset command is issued. To the no-job state. If there is a remaining print job at that time or if a new print job occurs after that, the image output apparatus 1 shifts to the printing state.

また、画像出力装置1の電源が断たれた場合、画像出力装置1における印刷ジョブが消
失するので、その後、電源が投入された場合には、画像出力装置1は、ジョブなし状態と
なる。
Further, when the power of the image output apparatus 1 is cut off, the print job in the image output apparatus 1 disappears. Therefore, when the power is turned on thereafter, the image output apparatus 1 enters a no-job state.

次に、リカバリ処理について説明する。なお、リカバリ処理の手順は、下記に示すよう
に、障害の種類などに応じて、複数種類のいずれかとすることができる。
Next, the recovery process will be described. The procedure of the recovery process can be any one of a plurality of types according to the type of the failure, as described below.

まず、紙ジャム、通信路切断、電源の正常断、電源の異常断などの自律復旧不能な障害
が発生した場合のリカバリ処理の一例について説明する。図20は、画像出力システムの
参考構成例3の正常時の印刷処理において行われる、リカバリのための処理を説明するフ
ローチャートである。図21は、画像出力システムの参考構成例3のリカバリ処理の一例
について説明するフローチャートである。
First, an example of a recovery process when a failure that cannot be autonomously recovered, such as a paper jam, a communication path disconnection, a normal disconnection of the power supply, or an abnormal disconnection of the power supply, will be described. FIG. 20 is a flowchart illustrating a recovery process performed in the normal printing process of Reference Configuration Example 3 of the image output system. FIG. 21 is a flowchart illustrating an example of the recovery processing of Reference Example 3 of the image output system.

まず、印刷状態において、画像出力装置1は、印刷処理を実行するが、その際、あるペ
ージから次ページへの切り換わりを検出すると(ステップS101)、切換後のページ最
初でのジョブ状態情報を画像供給装置2に送信する。すなわち、画像出力装置1は、切換
後のページのページレイアウトの最初に使用される画像データを指定している印刷ジョブ
のジョブID(DPOFの「PRT PID」の値に相当するもの)、その画像データの
格納場所のパス(DPOFの「IMG SRC」の値に相当するもの)、および繰り返し
供給回数(DPOFの「PRT QTY」の値に相当するもの)を再開情報(リカバリ処
理で使用されるジョブ状態情報)として画像供給装置2に送信する(ステップS102)
First, in the printing state, the image output apparatus 1 executes a printing process. At this time, when detecting the switching from a certain page to the next page (step S101), the image output device 1 outputs the job status information at the beginning of the switched page. The image is transmitted to the image supply device 2. That is, the image output apparatus 1 outputs the job ID (corresponding to the value of “PRT PID” of DPOF) of the print job specifying the image data to be used first in the page layout of the switched page, The data storage path (corresponding to the value of “IMG SRC” in DPOF) and the number of times of repeated supply (corresponding to the value of “PRT QTY” in DPOF) are indicated by the restart information (the job used in the recovery processing). The status information is transmitted to the image supply device 2 (step S102).
.

この参考構成例3では、画像出力装置1の通信制御部12が、ページの切り換わりが発
生すると、DPSプロトコルに従って、その時点でのジョブ状態情報を通知するジョブ状
態通知コマンドDPS_NotifyJobStatusのXMLスクリプトを生成し、
送信する。コマンドDPS_NotifyJobStatusのXMLスクリプトでは、
ジョブIDを示すタグ<prtPid>,</prtPid>でジョブIDの値が囲まれ
、画像データの格納場所のパスを示すタグ<imagePath>,</imagePa
th>で画像データの格納場所のパスの値が囲まれ、繰り返し供給回数を示すタグ<co
pyId>,</copyId>で繰り返し供給回数の値が囲まれる。
In the reference configuration example 3, when a page change occurs, the communication control unit 12 of the image output apparatus 1 generates an XML script of a job status notification command DPS_NotifyJobStatus for notifying job status information at that time according to the DPS protocol. And
Send. In the XML script of the command DPS_NotifyJobStatus,
The tags <prtPid> and </ prtPid> indicating the job ID surround the value of the job ID, and tags <imagePath> and </ imagePad indicating the path of the storage location of the image data.
th> encloses the value of the path of the storage location of the image data and a tag <co
pyId>, </ copyId> enclose the value of the number of times of repeated supply.

図22は、参考構成例3において使用されるジョブ状態通知コマンドDPS_Noti
fyJobStatusのXMLスクリプトの一例を示す図である。図22において、n
otifyJobStatusRequestタグは、ジョブ状態通知コマンドであるこ
とを示すタグである。図22においては、notifyJobStatusReques
tタグの下位に、jStatusタグ、prtPidタグ、imagePathタグ、c
opyIdタグ、progressタグおよびjEndReasonタグが配置される。
FIG. 22 shows a job status notification command DPS_Noti used in Reference Configuration Example 3.
FIG. 4 is a diagram illustrating an example of an XML script of fyJobStatus. In FIG. 22, n
The “authorizeJobStatusRequest” tag is a tag indicating a job status notification command. In FIG. 22, notifyJobStatusRequests
Below the t tag, jStatus tag, prtPid tag, imagePath tag, c
An optId tag, a progress tag, and a jEndReason tag are arranged.

なお、ジョブ指定ファイルが使用される場合には、prtPidタグ、imagePa
thタグおよびcopyIdタグで指定される値には、画像出力装置1により取得された
DPOFのジョブ指定ファイルAUTPRINT.MRKにおける値が使用され、その時
点で処理中のジョブのジョブID、画像データのパスおよび繰り返し供給回数の値が設定
される。
If a job specification file is used, the prtPid tag, imagePa
The value specified by the tag and the copyId tag includes the job specification file AUTPRINT. The value in the MRK is used, and the value of the job ID of the job being processed at that time, the path of the image data, and the number of times of repeated supply are set.

また、jStatusタグは、ジョブの状態が印刷状態、ジョブなし状態およびホール
ド状態のいずれであるかを指定するためのタグである。progressタグは、ジョブ
における全ページ数Tと、印刷中のページ番号NとをN/Tの書式で指定するためのタグ
である。jEndReasonタグは、正常終了、ユーザ操作による終了、異常終了など
の、ジョブが終了した原因を示す値を指定するためのタグである。なお、ジョブなし状態
にある場合に、jEndReasonタグにより値が指定される。
The jStatus tag is a tag for designating whether the job status is a print status, a no-job status, or a hold status. The progress tag is a tag for designating the total page number T in the job and the page number N being printed in the N / T format. The jEndReason tag is a tag for designating a value indicating the cause of the job termination, such as normal termination, termination by user operation, abnormal termination, and the like. When there is no job, a value is specified by the jEndReason tag.

なお、図22に示すスクリプトでは、prtPidタグ、imagePathタグおよ
びcopyIdタグにより、ジョブID、イメージパスおよび繰り返し供給回数が指定さ
れるが、その代わりに、ジョブ指定ファイルが使用されない場合には、ジョブ開始コマン
ドにおけるimageIDタグで指定された画像データおよびcopiesタグで指定さ
れた繰り返し供給回数が、ジョブ状態通知コマンドにおいて使用されるようにしてもよい
In the script shown in FIG. 22, the job ID, the image path, and the number of times of repetitive supply are specified by the prtPid tag, the imagePath tag, and the copyId tag. However, if the job specification file is not used, the job start The image data specified by the imageID tag in the command and the number of repetitions of supply specified by the copies tag may be used in the job status notification command.

一方、画像供給装置2は、画像出力装置1から、ページの切り換わりごとに、ジョブI
D、ページ最初の画像データの格納場所のパス、その画像データの繰り返し供給回数など
といった再開情報を受信すると(ステップS111)、それらを記憶し、画像出力装置1
から通知された最新の再開情報を保持する(ステップS112)。
On the other hand, the image supply device 2 sends the job I from the image output device 1 every time the page is switched.
When receiving restart information such as D, the path of the storage location of the image data at the beginning of the page, and the number of times the image data is repeatedly supplied (step S111), these are stored and the image output device
The latest restart information notified from is held (step S112).

この参考構成例3では、画像供給装置2の通信制御部22が、DPSプロトコルに従っ
て、ページごとに、コマンドDPS_NotifyJobStatusであるXMLスク
リプトを受信し、そのXMLスクリプトから、ジョブID、画像データの格納場所のパス
、および画像データの繰り返し供給回数を抽出し、記憶する。
In Reference Configuration Example 3, the communication control unit 22 of the image supply device 2 receives the command DPS_NotifyJobStatus XML script for each page according to the DPS protocol, and from the XML script, stores the job ID and the image data storage location. The pass and the number of times of repeated supply of image data are extracted and stored.

このようにして、画像供給装置2は、印刷処理が開始されたページごとに、所定の位置
(ここでは最初)の画像データを指定している印刷ジョブのジョブID、その画像データ
の格納場所のパス、その画像データの繰り返し供給回数などといった再開情報を順次記憶
していく。なお、ジョブID、その画像データの格納場所のパス、およびその画像データ
の繰り返し供給回数は、最新のものだけあればよいので、古いものは消去してもよい。
In this way, the image supply device 2 determines, for each page where the printing process has been started, the job ID of the print job specifying the image data at the predetermined position (here, the first position) and the storage location of the image data. The restart information such as the pass and the number of times of repetitive supply of the image data is sequentially stored. Since the job ID, the path of the storage location of the image data, and the number of times of repetitive supply of the image data need only be the latest one, the older one may be deleted.

そして、印刷状態において、紙ジャム、電源オフ操作などの自律復旧不能な障害が発生
した場合(ステップS121)、画像出力装置1は、ホールド状態に移行し、障害発生を
画像供給装置2に通知する(ステップS122)。なお、電源がオフ操作により正常断さ
れた場合には、画像出力装置1は、バッテリやキャパシタの電力を使用して、この通知を
行う。
Then, in the printing state, when an unrecoverable failure such as a paper jam or a power-off operation occurs (step S121), the image output apparatus 1 shifts to a hold state and notifies the image supply apparatus 2 of the failure. (Step S122). Note that, when the power is normally shut down by the power-off operation, the image output device 1 performs this notification using the power of the battery or the capacitor.

この参考構成例3では、画像出力装置1の通信制御部12が、障害が発生すると、DP
Sプロトコルに従って、装置の状態を通知するコマンドDPS_NotifyDevic
eStatusのXMLスクリプトを生成し、送信する。コマンドDPS_Notify
DeviceStatusのXMLスクリプトでは、障害の状態を示すタグ<error
Status>,</errorStatus>で障害状態を示す値が囲まれ、障害の原
因を示すタグ<reason>,</reason>で障害原因を示す値が囲まれる。
In the reference configuration example 3, when a failure occurs, the communication control unit 12 of the image output device 1
Command DPS_NotifyDevice for notifying the status of the device according to the S protocol
Generate and send an eStatus XML script. Command DPS_Notify
In the XML script of DeviceStatus, the tag <error indicating the status of the failure
Status> and </ errorStatus> enclose a value indicating a fault state, and tags <reason> and </ reason> indicating a cause of the fault enclose a value indicating the cause of the fault.

図23は、参考構成例3において使用されるデバイス状態通知コマンドDPS_Not
ifyDeviceStatusのXMLスクリプトの一例を示す図である。図23にお
いて、notifyDeviceStatusRequestタグは、デバイス状態通知
コマンドであることを示すタグである。図23においては、notifyDeviceS
tatusRequestタグの下位に、errorStatusタグ、reasonタ
グ、disconnectEnableタグおよびcapabilityChangeタ
グが配置される。
FIG. 23 shows a device status notification command DPS_Not used in Reference Configuration Example 3.
FIG. 3 is a diagram illustrating an example of an XML script of ifyDeviceStatus. In FIG. 23, a notifyDeviceStatusRequest tag is a tag indicating that the command is a device status notification command. In FIG. 23, notifyDeviceS
An errorStatus tag, a reason tag, a disconnectEnable tag, and a capabilityChange tag are arranged below the statusRequest tag.

errorStatusタグは、障害なし、復旧可能障害、復旧不能障害などの障害状
態を指定するためのタグである。reasonタグは、障害なし、用紙関係の障害、イン
ク関係の障害、ハードウェア関係の障害、データ関係の障害などといった障害の原因を指
定するためのタグである。disconnectEnableタグは、接続を解除してよ
いか否かを指定するためのタグである。capabilityChangeタグは、画像
出力装置1で許容される印刷条件に変更があったか否かを指定するためのタグである。
The errorStatus tag is a tag for specifying a failure state such as no failure, a recoverable failure, and an unrecoverable failure. The reason tag is a tag for designating the cause of a failure such as no failure, paper-related failure, ink-related failure, hardware-related failure, and data-related failure. The disconnectEnable tag is a tag for specifying whether or not the connection can be released. The capabilityChange tag is a tag for designating whether or not the printing conditions permitted in the image output device 1 have been changed.

画像供給装置2は、画像出力装置1から、障害発生の通知を受信すると(ステップS1
31)、画像出力装置1から通知された最新の再開情報(ジョブID、ページ最初の画像
データの格納場所のパス、その画像データの繰り返し供給回数など)を読み出す(ステッ
プS132)。
The image supply device 2 receives the notification of the failure occurrence from the image output device 1 (step S1).
31), and read out the latest resumption information (job ID, path of the storage location of the first image data of the page, number of times of repetitive supply of the image data, etc.) notified from the image output device 1 (step S132).

この参考構成例3では、画像供給装置2の通信制御部22が、DPSプロトコルに従っ
て、上述のコマンドDPS_NotifyDeviceStatusのXMLスクリプト
を受信し、そのXMLスクリプトから障害状態を認識する。
In the reference configuration example 3, the communication control unit 22 of the image supply device 2 receives the XML script of the command DPS_NotifyDeviceStatus according to the DPS protocol, and recognizes a failure state from the XML script.

そして、画像供給装置2は、印刷ジョブ開始時に先に送信した印刷ジョブ開始コマンド
に、最新の再開情報を追加して送信する(ステップS133)。
Then, the image supply device 2 adds the latest restart information to the print job start command transmitted earlier at the start of the print job and transmits the command (step S133).

この参考構成例3では、画像供給装置2の通信制御部22が、DPSプロトコルに従っ
て、最新のジョブID、ページ最初の画像データの格納場所のパス、およびその画像デー
タの繰り返し供給回数を設定した上述のコマンドDPS_StartJobのXMLスク
リプトを送信する。
In the reference configuration example 3, the communication control unit 22 of the image supply device 2 sets the latest job ID, the path of the storage location of the first image data of the page, and the number of times of repeated supply of the image data according to the DPS protocol. Of the command DPS_StartJob.

図24は、参考構成例3において、ジョブ再開時の印刷ジョブ開始コマンドDPS_S
tartJobのXMLスクリプトの一例を示す図である。図24に示すように、ジョブ
再開時の印刷ジョブ開始コマンドDPS_StartJobでは、imageIDタグに
より、ジョブ指定ファイルのオブジェクトID(ここでは、00000002)が指定さ
れ、再開位置を示すジョブID、ページ最初の画像データの格納場所のパスおよびその画
像データの繰り返し供給回数が、prtPidタグ、imagePathタグおよびco
piesタグによりそれぞれ指定される。
FIG. 24 shows a print job start command DPS_S at the time of job restart in Reference Configuration Example 3.
FIG. 4 is a diagram illustrating an example of an XML script of startJob. As shown in FIG. 24, in the print job start command DPS_StartJob at the time of job restart, the object ID (here, 00000002) of the job specification file is specified by the imageID tag, the job ID indicating the restart position, and the first image data of the page. The path of the storage location and the number of times that the image data is repeatedly supplied are represented by a prtPid tag, an imagePath tag, and a co
pie tags.

画像出力装置1は、その印刷ジョブ開始コマンドを受信すると(ステップS124)、
その印刷ジョブ開始コマンドにおいて指定された、先に使用されたジョブ指定ファイルの
送信要求を送信する。
Upon receiving the print job start command (step S124), the image output apparatus 1 receives the print job start command.
A transmission request for the previously used job specification file specified in the print job start command is transmitted.

この参考構成例3では、画像出力装置1の通信制御部12が、DPSプロトコルに従っ
て、XMLスクリプトのジョブ開始コマンドDPS_StartJobを受信し、ジョブ
指定ファイルを指定してファイル取得コマンドDPS_GetFileを発行する。
In the reference configuration example 3, the communication control unit 12 of the image output device 1 receives the job start command DPS_StartJob of the XML script according to the DPS protocol, specifies the job specification file, and issues the file acquisition command DPS_GetFile.

そして、画像供給装置2は、そのジョブ指定ファイルの送信要求に応じて、ジョブ指定
ファイルを送信する(ステップS134)。画像出力装置1は、そのジョブ指定ファイル
を受信する(ステップS125)。
Then, the image supply device 2 transmits the job specification file in response to the job specification file transmission request (Step S134). The image output device 1 receives the job specification file (Step S125).

この参考構成例3では、画像出力装置1の通信制御部12が、DPSプロトコルにおけ
るファイル取得コマンドDPS_GetFileを発行し、画像供給装置2からジョブ指
定ファイルを取得する。
In the reference configuration example 3, the communication control unit 12 of the image output device 1 issues a file acquisition command DPS_GetFile in the DPS protocol, and acquires a job specification file from the image supply device 2.

画像出力装置1は、ジョブ指定ファイルの内容を参照し、印刷ジョブ開始コマンドによ
り指定されたジョブID、ページ最初の画像データの格納場所のパス、およびその画像デ
ータの繰り返し供給回数に該当する位置をジョブ指定ファイル内で発見すると、その位置
を印刷ジョブの再開位置と特定する(ステップS126)。
The image output device 1 refers to the contents of the job specification file and determines the job ID specified by the print job start command, the path of the storage location of the image data at the beginning of the page, and the position corresponding to the number of times of repetitive supply of the image data. If found in the job specification file, the position is specified as the print job restart position (step S126).

そして、画像出力装置1は、その再開位置から印刷ジョブを再開し(ステップS127
)、必要に応じて画像データを画像供給装置2から取得する(ステップS127,S13
5)。
Then, the image output device 1 restarts the print job from the restart position (step S127).
), And acquires image data from the image supply device 2 as necessary (steps S127 and S13).
5).

これにより、障害発生により中断した印刷ジョブがリセット指令後に再開され、障害が
発生したページの先頭から印刷が再開される。図25は、画像出力システムの参考構成例
3における印刷再開を説明する図である。例えば図25に示すように、画像101a,1
01cの印刷後、途中で画像101b,101dを印刷している時に障害が発生した場合
にも、ページの最初に割り当てられる画像101aについてのジョブID、パスおよび繰
り返し供給回数に基づいてジョブ指定ファイル内での印刷再開位置が特定されて印刷ジョ
ブが再開される。なお、図25のように1つのページに複数の画像が配置される場合、印
刷ジョブにおける出現順番が最も早い画像についてジョブIDなどが記憶され、その画像
から印刷が再開される。
As a result, the print job interrupted by the occurrence of the failure is restarted after the reset command, and printing is restarted from the top of the page where the failure occurred. FIG. 25 is a diagram for explaining printing restart in Reference Configuration Example 3 of the image output system. For example, as shown in FIG.
Even if a failure occurs while printing the images 101b and 101d halfway after the printing of the print job 01c, the job designation file based on the job ID, the path, and the number of times of repetitive supply for the image 101a assigned at the beginning of the page. The print restart position is specified, and the print job is restarted. When a plurality of images are arranged on one page as shown in FIG. 25, the job ID or the like is stored for the image having the earliest appearance order in the print job, and printing is restarted from that image.

例えば図12に示すジョブ指定ファイルで図25に示すレイアウトとした場合、画像1
01aに割り当てられるIMAGE01.JPGについてのジョブID「001」、パス
「./DCIM/100EPSON/IMAGE01.JPG」、繰り返し回数「002
」が再開情報として記憶される。そして、図25に示す位置で障害が発生したときには、
図12の最初のジョブから同一のレイアウトで印刷が再開される。
For example, when the job designation file shown in FIG.
01a assigned to IMAGE 01.01a. JPG, job ID “001”, path “./DCIM/100 EPSON / IMAGE01.JPG”, number of repetitions “002”
Is stored as restart information. When a failure occurs at the position shown in FIG.
Printing is restarted with the same layout from the first job in FIG.

なお、画像出力装置1は、印刷対象の繰り返し供給の途中で改ページが発生した場合に
は、画像供給装置2に通知する繰り返し供給回数の値を残りの繰り返し供給回数に変更し
、変更後の値を通知する。これにより、画像供給装置2では、印刷対象の繰り返し供給の
途中で改ページが発生した場合には、記憶する繰り返し供給回数が残りの繰り返し供給回
数に変更される。この場合には、ジョブIDとファイルパスでジョブ再開位置が検出され
るようにするか、画像出力装置1へ送信するジョブ指定ファイル内の該当する繰り返し供
給回数を同様に変更する。
When a page break occurs during the repeated supply of the print target, the image output device 1 changes the value of the number of repeated supply notified to the image supply device 2 to the remaining number of repeated supply. Notify the value. Thus, in the image supply device 2, when a page break occurs during the repeated supply of the printing target, the stored number of repeated supply is changed to the remaining number of repeated supply. In this case, the job resuming position is detected based on the job ID and the file path, or the number of times of repetitive supply in the job specification file to be transmitted to the image output apparatus 1 is similarly changed.

次に、通信路3の切断および画像出力装置1の電源の異常断が発生した場合のリカバリ
処理の一例について説明する。図26は、画像出力システムの参考構成例3のリカバリ処
理の他の一例について説明するフローチャートである。なお、この場合の正常動作時の処
理は、上述の場合(図20)と同様である。
Next, an example of a recovery process when the communication path 3 is disconnected and the power supply of the image output apparatus 1 is abnormally disconnected will be described. FIG. 26 is a flowchart illustrating another example of the recovery processing of Reference Example 3 of the image output system. Note that the processing during the normal operation in this case is the same as the above-described case (FIG. 20).

まず、通信路3の切断または画像出力装置1の電源の異常断が発生すると(ステップS
141)、画像出力装置1と画像供給装置2との間の通信コネクションが切れるため、画
像供給装置2は、その通信コネクション(例えばUSBのコネクション)の切断を検知す
る(ステップS151)。
First, when disconnection of the communication path 3 or abnormal disconnection of the power supply of the image output apparatus 1 occurs (Step S).
141), since the communication connection between the image output device 1 and the image supply device 2 is disconnected, the image supply device 2 detects the disconnection of the communication connection (for example, USB connection) (step S151).

その後、通信路3や電源が復旧すると、画像出力装置1は、リセットまたは再起動する
(ステップS123)。そして、通信路3を介して通信コネクションが確立されると、画
像供給装置2は、画像出力装置1との接続が復旧したことを検知する(ステップS152
)。
Thereafter, when the communication path 3 and the power supply are restored, the image output device 1 is reset or restarted (step S123). When the communication connection is established via the communication path 3, the image supply device 2 detects that the connection with the image output device 1 has been restored (step S152).
).

画像供給装置2は、接続が復旧すると、上述したように、印刷ジョブ開始コマンドとと
もに再開情報を画像出力装置1に送信し、画像出力装置1は、それに応じて印刷ジョブを
再開する。
When the connection is restored, the image supply device 2 transmits the restart information together with the print job start command to the image output device 1 as described above, and the image output device 1 restarts the print job accordingly.

以上のリカバリ処理の例の場合では、画像出力装置1が、ページごとに、再開情報を画
像供給装置2に送信しているが、その代わりに、画像出力装置1が、紙ジャムなどの障害
を検出した場合に、自動的に、再開情報を画像供給装置2に送信するようにしてもよい。
次にその場合について説明する。
In the example of the recovery processing described above, the image output apparatus 1 transmits the restart information to the image supply apparatus 2 for each page. However, instead, the image output apparatus 1 generates a failure such as a paper jam. When it is detected, the restart information may be automatically transmitted to the image supply device 2.
Next, the case will be described.

図27は、画像出力システムの参考構成例3のリカバリ処理のさらに他の一例について
説明するフローチャートである。なお、この場合には、上述の場合(図20)のような正
常動作時の処理は特に必要なく、障害発生時に、再開情報が画像出力装置1から画像供給
装置2へ伝送される。
FIG. 27 is a flowchart illustrating still another example of the recovery processing of Reference Example 3 of the image output system. In this case, the processing during normal operation as in the above-described case (FIG. 20) is not particularly necessary, and when a failure occurs, the restart information is transmitted from the image output device 1 to the image supply device 2.

このリカバリ処理の場合、図27に示すように、障害が発生すると、画像出力装置1は
、障害発生を通知し(ステップS122)、再開情報を画像供給装置2に送信する(ステ
ップS161)。
In the case of this recovery processing, as shown in FIG. 27, when a failure occurs, the image output device 1 notifies the occurrence of the failure (step S122), and transmits restart information to the image supply device 2 (step S161).

画像供給装置2は、その障害発生の通知を受信し(ステップS131)、再開情報を受
信すると(ステップS171)、それを保持して(ステップS172)、画像出力装置1
が復旧するまで待機する(ステップS173)。
The image supply device 2 receives the notification of the occurrence of the failure (step S131), receives the restart information (step S171), holds the information (step S172), and stores the information (step S172).
Waits until is restored (step S173).

画像出力装置1がリセットや再起動により復旧すると(ステップS123)、画像供給
装置2は、画像出力装置1の復旧を検知し、印刷ジョブ開始コマンドとともに再開情報を
画像出力装置1に送信する(ステップS174)。画像出力装置1は、その印刷ジョブ開
始コマンドおよび再開情報に基づいて、上述のようにして印刷ジョブを再開する。
When the image output device 1 is restored by resetting or restarting (step S123), the image supply device 2 detects the restoration of the image output device 1 and transmits restart information together with a print job start command to the image output device 1 (step S123). S174). The image output device 1 restarts the print job as described above based on the print job start command and the restart information.

なお、この画像出力システムの参考構成例3は、他の実施の形態のいずれとも組み合わ
せ可能である。
Note that Reference Configuration Example 3 of the image output system can be combined with any of the other embodiments.

また、この参考構成例3では、印刷再開位置を示す情報として、ジョブID、パスおよ
び繰り返し供給回数の3つを使用しているが、正確に印刷再開位置を特定できれば、これ
らのうちの1つだけまたは2つだけでもよい。また、他のジョブ状態情報を再開情報に使
用してもよい。
Further, in the reference configuration example 3, the job ID, the pass, and the number of times of repetitive supply are used as the information indicating the print restart position. However, if the print restart position can be accurately specified, one of the three is used. Or just two. Further, other job status information may be used for the restart information.

さらに、この参考構成例3では、改ページ後のページのページレイアウトの最初の画像
データに関するジョブ状態情報を再開情報に使用しているが、改ページ前のページのペー
ジレイアウトの最後の画像データに関するジョブ状態情報を再開情報に使用するようにし
てもよい。その場合には、一連の印刷ジョブにおいて再開情報に合致する位置の次から印
刷ジョブが再開される。
Further, in the reference configuration example 3, the job status information on the first image data of the page layout of the page after the page break is used as the restart information, but the job state information on the last image data of the page layout of the page before the page break is used. The job status information may be used for the restart information. In that case, the print job is restarted from the position following the position matching the restart information in the series of print jobs.

以上のように、上記参考構成例3によれば、画像出力装置1が、画像出力としての印刷
処理においてページレイアウト内の所定位置(ここでは、先頭)に割り当てられた印刷対
象を示す再開情報を画像供給装置2に送信し、障害により印刷処理が中止された後に、印
刷ジョブ開始コマンドとともに、再開時の最初の印刷対象を指定する制御情報を画像供給
装置2から受信し、その印刷対象から印刷処理を再開する。一方、画像供給装置2は、そ
の再開情報を受信して記憶しておき、印刷処理を再開する場合に、印刷ジョブ開始コマン
ドとともに、最新の再開情報に基づいて再開時の最初の印刷対象を指定する制御情報を画
像出力装置1へ送信する。これにより、画像出力装置1がリセットされジョブの情報がな
くなっても、復旧後に正確に印刷処理を再開することができる。
As described above, according to the reference configuration example 3, the image output apparatus 1 transmits the restart information indicating the print target assigned to the predetermined position (here, the head) in the page layout in the print processing as the image output. After the print job is transmitted to the image supply device 2 and the printing process is stopped due to a failure, the print job start command is received from the image supply device 2 together with control information for specifying the first print target at the time of resumption. Resume processing. On the other hand, the image supply device 2 receives and stores the resumption information, and when resuming the printing process, specifies the first print target at the time of resumption based on the latest resumption information together with the print job start command. Control information to be transmitted to the image output apparatus 1. Thus, even if the image output apparatus 1 is reset and the job information is lost, the print processing can be accurately resumed after the restoration.

さらに、上記参考構成例3によれば、一例として、画像出力装置1が、障害を検出した
場合にのみ、再開情報を画像供給装置2に送信する。これにより、復旧のための再開情報
を頻繁に送受する必要がないため、正常動作時の処理を増加させることなく、復旧後に正
確に印刷処理を再開することができる。
Further, according to the reference configuration example 3, as an example, the image output device 1 transmits the restart information to the image supply device 2 only when a failure is detected. As a result, it is not necessary to frequently send and receive the restart information for restoration, so that the printing process can be accurately restarted after the restoration without increasing the processing in the normal operation.

さらに、上記参考構成例3によれば、一例として、画像出力装置1が、ページごとに、
再開情報を画像供給装置2に送信する。これにより、障害発生時に再開情報を送信できな
い場合でも、復旧後に正確に印刷処理を再開することができる。
Further, according to the reference configuration example 3, as an example, the image output apparatus 1 outputs the
The restart information is transmitted to the image supply device 2. As a result, even when the restart information cannot be transmitted when a failure occurs, the print processing can be accurately restarted after the recovery.

さらに、上記参考構成例3によれば、再開情報に、ページレイアウト内の所定位置に割
り当てられた印刷対象についての印刷ジョブのジョブID、画像供給装置2内のその印刷
対象の格納場所を示す情報、およびその印刷対象の繰り返し供給回数のうちの少なくとも
1つを含む。これにより、復旧後に印刷再開位置を正確に特定することができる。
Further, according to the reference configuration example 3, the restart information includes the job ID of the print job for the print target assigned to the predetermined position in the page layout and the information indicating the storage location of the print target in the image supply device 2. , And at least one of the number of times of repetitive supply of the print target. As a result, the print restart position can be accurately specified after restoration.

さらに、上記参考構成例3によれば、画像供給装置2が、再開情報に、印刷対象の繰り
返し供給回数を少なくとも使用し、印刷対象の繰り返し供給の途中で改ページが発生した
場合には、繰り返し供給回数を残りの繰り返し供給回数に変更する。これにより、繰り返
し供給回数を複数に設定している場合でも、復旧後に正確に印刷処理を再開することがで
きる。
Further, according to the above-described Reference Configuration Example 3, the image supply device 2 uses the repetition supply number of the print target at least in the resumption information, and if a page break occurs during the repetitive supply of the print target, Change the number of times of supply to the remaining number of times of repeated supply. As a result, even when the number of times of repetitive supply is set to a plurality, the printing process can be accurately resumed after restoration.

さらに、上記参考構成例3によれば、画像出力装置1が、障害を検知すると、その旨を
画像供給装置2に通知し、その後、印刷処理を中止する。一方、画像供給装置2が、リセ
ット指令を受け付けると、印刷ジョブコマンドとともに再開情報を画像出力装置1に送信
する。これにより、確実に復旧した後にリセット指令に呼応して印刷が再開され、復旧後
に正確に印刷処理を再開することができる。
Further, according to the reference configuration example 3, when the image output device 1 detects a failure, the image output device 1 notifies the image supply device 2 of the detection, and then stops the printing process. On the other hand, when the image supply device 2 receives the reset command, the image supply device 2 transmits restart information to the image output device 1 together with the print job command. As a result, printing is resumed in response to the reset command after the restoration is surely performed, and the printing process can be accurately resumed after the restoration.

実施の形態1.
本発明の実施の形態1に係る画像出力システムは、DPSプロトコルにおいて、規定後
に拡張機能を追加するための拡張タグを、制御情報の生成および送受の際に使用するよう
にしたものである。なお、実施の形態1に係る画像出力システムの構成およびその他の動
作は、上述の画像出力システムの参考構成例1〜3のいずれかと同様とすればよいので、
その説明を省略する。
Embodiment 1 FIG.
In the image output system according to the first embodiment of the present invention, in the DPS protocol, an extension tag for adding an extended function after being defined is used when generating and transmitting / receiving control information. Note that the configuration and other operations of the image output system according to Embodiment 1 may be the same as any of the above-described reference configuration examples 1 to 3 of the image output system.
The description is omitted.

画像供給装置2および画像出力装置1は、DPSプロトコルにおけるある機能が拡張さ
れている場合、その機能を表現する既存のタグをそのまま残しておいた状態でその拡張さ
れた機能の使用を指定するための拡張タグを挿入して、XML構文に従ってXMLスクリ
プトである制御情報を生成する。
The image supply device 2 and the image output device 1 specify the use of the extended function in a state where an existing tag expressing the function is left as it is when the function in the DPS protocol is extended. Is generated, and control information that is an XML script is generated according to the XML syntax.

その際、画像供給装置2および画像出力装置1は、その機能を表現する既存のタグより
下位のネストレベルに拡張タグを挿入したり、その機能の処理対象となる画像データを指
定する既存のタグに関連付けて拡張タグを挿入する。例えば、画像データを指定する既存
のタグを含む要素の直前、直後または内部にその拡張タグが挿入される。
At this time, the image supply device 2 and the image output device 1 insert an extension tag at a lower nest level than an existing tag representing the function, or use an existing tag for specifying image data to be processed by the function. Insert an extension tag in association with. For example, the extension tag is inserted immediately before, immediately after, or inside an element including an existing tag that specifies image data.

より詳細には、例えばプリンタとしての画像出力装置1において、CPU41が、例え
ばROM42といった記録媒体に記憶された所定の制御プログラムに従って動作し、DP
Sプロトコルにおける所定の機能が拡張されている場合に、XMLスクリプト内でその機
能を表現する既存のタグを残して、その拡張に応じた拡張タグを挿入してスクリプトを生
成する。このように、CPU41が所定の制御プログラムに従って動作することでXML
スクリプト生成機能62が実現され、このXMLスクリプト生成機能62により、第1の
スクリプト生成手段が実現される。
More specifically, for example, in the image output apparatus 1 as a printer, the CPU 41 operates according to a predetermined control program stored in a recording medium such as a ROM 42,
When a predetermined function in the S protocol is extended, an existing tag expressing the function is left in the XML script, and an extension tag corresponding to the extension is inserted to generate a script. As described above, when the CPU 41 operates according to the predetermined control program, the XML
A script generation function 62 is realized, and the XML script generation function 62 realizes a first script generation unit.

また、例えばデジタルカメラとしての画像供給装置2において、CPU71が、例えば
ROM72といった記録媒体に記憶された所定の制御プログラムに従って動作し、DPS
プロトコルにおける所定の機能が拡張されている場合に、XMLスクリプト内でその機能
を表現する既存のタグを残して、その拡張に応じた拡張タグを挿入してスクリプトを生成
する。このように、CPU71が所定の制御プログラムに従って動作することでXMLス
クリプト生成機能92が実現され、このXMLスクリプト生成機能92により、第2のス
クリプト生成手段が実現される。
Further, for example, in the image supply device 2 as a digital camera, the CPU 71 operates according to a predetermined control program stored in a recording medium such as the ROM 72 to
When a predetermined function in the protocol is extended, a script is generated by inserting an extension tag corresponding to the extension while leaving an existing tag expressing the function in the XML script. As described above, the XML script generation function 92 is realized by the CPU 71 operating according to the predetermined control program, and the XML script generation function 92 realizes a second script generation unit.

この実施の形態1では、規定後に拡張機能を追加するための拡張タグとして、ベンダ固
有の画像処理の使用を指定するための拡張タグが使用される。このような画像処理として
は、APF(オートフォトファイン)機能によるもの、PIM(プリントイメージマッチ
ング)機能によるもの、Exifプリンティング機能によるものなどがある。
Exifプリンティング機能は以下の通りである。Exifファイル規格のファイルに
は、JPEG形式に変換された元画像データに加えて撮影情報(露出情報、絞り情報、G
PS情報など)が保存されており、この撮影情報に基づいて画像処理を行うことでプリン
ティングする機能である。
In the first embodiment, an extension tag for specifying the use of vendor-specific image processing is used as an extension tag for adding an extension function after the regulation. Examples of such image processing include an APF (auto photo fine) function, a PIM (print image matching) function, and an Exif printing function.
The Exif printing function is as follows. Exif file standard files include shooting information (exposure information, aperture information, G information) in addition to the original image data converted to the JPEG format.
This is a function for printing by performing image processing based on this shooting information.

実施の形態1では、一例として、画像出力の対象である画像に対する画像処理を、PI
M機能によるものに拡張する場合について説明する。
In the first embodiment, as an example, image processing for an image to be output is described as PI
A case in which the function is extended to the M function will be described.

まず、PIM機能について説明する。   First, the PIM function will be described.

PIM機能では、デジタルカメラなどの撮影装置により撮影された画像について、その
画像データと、画像出力の際にカラープリンタなどの画像出力装置を制御するための出力
制御データとが関連付けられて1つの画像ファイルとして記録される。この出力制御デー
タは、印刷制御コマンド、画像処理の際に用いられるパラメータである画像処理制御デー
タなど含む。そして、カラープリンタなどの画像出力装置は、画像データおよび出力制御
データを有する画像ファイルを供給されると、この出力制御データに基づいてこの画像デ
ータに画像処理を施し、画像処理後の画像データに基づき画像を出力(印刷)する。
In the PIM function, for an image photographed by a photographing device such as a digital camera, the image data and output control data for controlling an image output device such as a color printer at the time of image output are associated with one image. Recorded as a file. The output control data includes a print control command, image processing control data that is a parameter used in image processing, and the like. When an image output device such as a color printer is supplied with an image file having image data and output control data, it performs image processing on the image data based on the output control data, An image is output (printed) based on the image.

なお、画像処理制御データに含まれる各パラメータの値は、撮影シーンに応じて設定さ
れる。図28は、PIM機能において使用される画像処理制御データのパラメータとその
値の一例を示す図である。図28では、11種類の撮影シーンに応じた、パラメータのプ
リセットが予め用意されている。これらのプリセットには、「コントラスト」、「明るさ
」、「カラーバランス」、「彩度」、「シャープネス」、「記憶色」、「ノイズ除去」の
7種類のパラメータが含まれている。なお、これらのプリセットは、デジタルカメラのベ
ンダが用意したものであり、この他に、ユーザが、所望のパラメータセットを設定登録す
ることができる。なお、画像ファイルには、出力制御データとして、先に示した画像処理
制御データの他に、デジタルカメラのガンマ値、ターゲット色空間、撮影時に設定された
露出時間、ホワイトバランス、絞り、シャッタースピード、レンズの焦点距離など撮影条
件も含まれる。
The values of the parameters included in the image processing control data are set according to the shooting scene. FIG. 28 is a diagram illustrating an example of parameters and values of image processing control data used in the PIM function. In FIG. 28, presets of parameters corresponding to 11 types of shooting scenes are prepared in advance. These presets include seven parameters of “contrast”, “brightness”, “color balance”, “saturation”, “sharpness”, “memory color”, and “noise removal”. Note that these presets are prepared by the vendor of the digital camera. In addition, the user can set and register a desired parameter set. In addition, in addition to the image processing control data described above, the image file includes, as output control data, a gamma value of the digital camera, a target color space, an exposure time set at the time of shooting, a white balance, an aperture, a shutter speed, It also includes shooting conditions such as the focal length of the lens.

図29は、画像ファイルの構成例を示す図である。図29に示す画像ファイルは、デジ
タルカメラ用画像ファイルフォーマット規格(Exif)に従ったファイル構造を有して
いる。Exifファイルの仕様は、(社)電子情報技術産業協会(JEITA)によって
定められている。
FIG. 29 is a diagram illustrating a configuration example of an image file. The image file shown in FIG. 29 has a file structure according to the digital camera image file format standard (Exif). The specification of the Exif file is defined by the Japan Electronics and Information Technology Industries Association (JEITA).

この画像ファイルは、画像データを格納する画像データ格納領域101と、格納されて
いる画像データに関する各種付属情報を格納する付属情報格納領域102とを有する。画
像データ格納領域101には、画像データがJPEG形式で格納される。付属情報格納領
域102には、メーカノート103を含む付属情報が例えばTIFF形式で格納される。
なお、このメーカノート103は、デジタルカメラのメーカに開放されている未定義領域
に格納される。実施の形態1では、画像処理制御データは、このメーカノート103とし
て格納される。なお、Exif形式のファイルでは、各データを特定するためにタグが用
いられており、メーカノート103には、タグ名「MakerNote」のタグ(Mak
erNoteタグ)が割り当てられている。
This image file has an image data storage area 101 for storing image data and an auxiliary information storage area 102 for storing various auxiliary information related to the stored image data. Image data is stored in the image data storage area 101 in the JPEG format. In the attached information storage area 102, attached information including a maker note 103 is stored in, for example, a TIFF format.
The maker note 103 is stored in an undefined area open to the maker of the digital camera. In the first embodiment, the image processing control data is stored as the maker note 103. In the Exif format file, a tag is used to specify each data, and the maker note 103 includes a tag (MakerNote) having a tag name “MakerNote”.
erNote tag) is assigned.

なお、実施の形態1では、画像ファイルは、Exif形式のものとしているが、ファイ
ル形式は、これに限らず、画像データと画像処理制御データとを一体的に具備可能な構造
を有するものであれば、いずれのものでもよい。
In the first embodiment, the image file is in the Exif format. However, the file format is not limited to this, and may have a structure that can integrally include image data and image processing control data. Any one may be used.

メーカノート103には、後述のプリントマッチングデータが含まれ、このプリントマ
ッチングデータが、画像処理制御データに相当する。そして、この画像処理制御データに
は、タグ名「PrintMatching」のタグ(PrintMatchingタグ)
が割り当てられている。
The maker note 103 includes print matching data to be described later, and the print matching data corresponds to image processing control data. The image processing control data includes a tag (PrintMatching tag) having a tag name “PrintMatching”.
Is assigned.

図30は、画像ファイルにおけるメーカノート103のデータ構造を示す図である。図
31は、図30に示すメーカノート103内に定義されているプリントマッチングデータ
のデータ構造を示す図である。
FIG. 30 is a diagram showing the data structure of the maker note 103 in the image file. FIG. 31 is a diagram showing a data structure of print matching data defined in the maker note 103 shown in FIG.

図30に示すように、メーカノート103内の各データの格納領域は、メーカノート1
03のデータ格納領域のトップアドレスからのオフセット値で指定される。このメーカノ
ート103には、トップアドレスにメーカー名(6バイト)、続いて予備領域(2バイト
)、ローカルタグのエントリ数(2バイト)、各ローカルタグ(各12バイト)が含まれ
る。なお、メーカー名の後には、文字終端列を示す終端コード「0x00」が付される。
As shown in FIG. 30, the storage area of each data in the maker note 103 is the maker note 1
03 is specified by an offset value from the top address of the data storage area. The maker note 103 includes a maker name (6 bytes), a spare area (2 bytes), the number of local tag entries (2 bytes), and each local tag (12 bytes each) at the top address. Note that an end code “0x00” indicating a character end sequence is added after the manufacturer name.

図30におけるプリントマッチングデータのデータ構造は、図31に示すようになって
おり、プリントマッチングデータには、プリントマッチングパラメータが格納されている
ことを示すプリントマッチング識別子、このプリントマッチングデータにおいて設定され
るパラメータの数を示すパラメータ設定数n、設定の対象となるパラメータに予め割り当
てられているパラメータ番号、設定の対象となるパラメータに設定されるパラメータ設定
値などが含まれる。なお、パラメータ番号は、例えば、2バイトの情報であり、パラメー
タ設定値は、4バイトの情報である。画像出力装置側において、このプリントマッチング
データにより設定されているパラメータの値が画像処理制御データとして取得される。
The data structure of the print matching data in FIG. 30 is as shown in FIG. 31. In the print matching data, a print matching identifier indicating that a print matching parameter is stored is set in the print matching data. A parameter setting number n indicating the number of parameters, a parameter number previously assigned to the parameter to be set, a parameter setting value to be set to the parameter to be set, and the like are included. Note that the parameter number is, for example, 2-byte information, and the parameter setting value is 4-byte information. On the image output device side, the values of the parameters set by the print matching data are acquired as image processing control data.

このように、PIM機能に係る画像ファイルが構成されている。   Thus, an image file related to the PIM function is configured.

次に、実施の形態1に係る画像出力システムにおいてこのPIM機能を使用して画像出
力を行う場合の、制御情報であるXMLスクリプトの生成について説明する。
Next, generation of an XML script, which is control information, when image output is performed using the PIM function in the image output system according to the first embodiment will be described.

実施の形態1においては、例えば、画像供給装置2が、PIM機能を有するデジタルカ
メラなどの撮影装置とされた場合、画像供給装置2の記録媒体24に、この画像データお
よび出力制御データを有する上述の画像ファイルが記録される。
In the first embodiment, for example, when the image supply device 2 is a photographing device such as a digital camera having a PIM function, the recording medium 24 of the image supply device 2 includes the image data and the output control data. Is recorded.

この実施の形態1では、画像供給装置2は、PIM機能を使用して画像出力装置1に印
刷などの画像出力を行わせる場合には、画像出力ジョブ開始コマンドDPS_Start
Jobにおける、画像最適化のための既存のタグであるimageOptimizeタグ
の下位のネストレベルに、PIM機能を使用した画像出力を指定するための拡張タグであ
るimageOptimize2タグを挿入して制御情報であるXMLスクリプトを生成
する。なお、拡張タグの名称は、imageOptimize2に限定されるものではな
く、各ベンダにより自由に規定される。
In the first embodiment, when the image supply device 2 causes the image output device 1 to perform image output such as printing using the PIM function, the image output job start command DPS_Start
In Job, an imageOptimize2 tag, which is an extension tag for designating image output using the PIM function, is inserted into the lower nest level of the imageOptimize tag, which is an existing tag for image optimization, and XML is control information. Generate a script. Note that the name of the extension tag is not limited to imageOptimize2, but is freely defined by each vendor.

図32は、実施の形態1に係る画像出力システムにおける画像供給装置2により生成さ
れる画像出力ジョブ開始コマンドDPS_StartJobの一例を示す図である。実施
の形態1に係る画像出力システムにおける画像供給装置2により生成される画像出力ジョ
ブ開始コマンドDPS_StartJobでは、例えば図32に示すように、既存のタグ
であるimageOptimizeタグを含む要素「<imageOptimize>0
7000000</imageOptimize>」に中に、拡張タグであるimage
Optimize2タグを含む要素「<imageOptimize2>0800000
0</imageOptimize2>」が設けられる。そして、拡張タグであるima
geOptimize2タグにより指定される値(ここでは「08000000」)によ
り、PIM機能を使用した画像出力を実行させるか否かが設定される。そして、この場合
、imageIDタグにより指定されるオブジェクトIDは、出力制御データを含む上述
の画像ファイルのオブジェクトIDとされる。
FIG. 32 is a diagram illustrating an example of an image output job start command DPS_StartJob generated by the image supply device 2 in the image output system according to the first embodiment. In the image output job start command DPS_StartJob generated by the image supply device 2 in the image output system according to the first embodiment, for example, as shown in FIG. 32, an element “<imageOptimize >> 0 including an existing tag“ imageOptimize ”tag is used.
7000000 <// imageOptimize >>, the image that is an extension tag “image”
An element including an Optimize2 tag “<imageOptimize2> 0800000
0 </ imageoptimize2> ”is provided. And ima which is an extension tag
Whether or not to execute the image output using the PIM function is set by a value (here, “080000”) designated by the “geOptimize” tag. In this case, the object ID specified by the imageID tag is the object ID of the above-described image file including the output control data.

そして、このようにして生成された画像出力ジョブ開始コマンドDPS_StartJ
obは、画像供給装置2から通信路3を介して画像出力装置1に伝送される。
Then, the image output job start command DPS_StartJ thus generated is generated.
Ob is transmitted from the image supply device 2 to the image output device 1 via the communication path 3.

この画像出力ジョブ開始コマンドDPS_StartJobを供給された画像出力装置
1がこのPIM機能を使用した画像出力に対応した機種である場合、その画像出力装置1
は、imageOptimize2タグが、PIM機能を使用した画像出力を指定するた
めのタグであると認識し、そのタグで指定される値に基づいて、PIM機能を使用した画
像出力(例えば印刷)を行うか否かを判定する。そして、PIM機能を使用した画像出力
を行うと判定した場合、画像出力装置1は、画像供給装置2から取得した画像ファイルの
出力制御データに基づいて、画像ファイル中の画像データに対して画像処理を実行し、画
像処理後の画像データに基づき画像を出力(例えば印刷)する。
If the image output device 1 supplied with the image output job start command DPS_StartJob is a model that supports image output using this PIM function, the image output device 1
Recognizes that the imageOptimize2 tag is a tag for specifying image output using the PIM function, and performs image output (for example, printing) using the PIM function based on the value specified by the tag. It is determined whether or not. If it is determined that the image output using the PIM function is performed, the image output device 1 performs image processing on the image data in the image file based on the output control data of the image file acquired from the image supply device 2. Is executed, and an image is output (for example, printed) based on the image data after the image processing.

一方、この画像出力ジョブ開始コマンドDPS_StartJobを供給された画像出
力装置1がこのPIM機能を使用した画像出力に対応した機種ではない場合、拡張タグで
あるimageOptimize2タグが定義されていないため、その画像出力装置1は
、拡張タグであるimageOptimize2タグを未定義のタグであると認識し、X
MLの規則に従ってそのタグを含む要素を無視し、画像データに基づき画像を出力(例え
ば印刷)する。その際、画像出力装置1は、既存のタグであるimageOptimiz
eタグで指定される値に基づいて、画像最適化を行うか否かを判定し、画像最適化を行う
と判定した場合、画像ファイル中の画像データに対して所定の画像処理を実行し、画像処
理後の画像データに基づき画像を出力するようにしてもよい。
On the other hand, if the image output apparatus 1 to which the image output job start command DPS_StartJob is supplied is not a model that supports image output using the PIM function, the image output apparatus 1 does not define the imageOptimize2 tag, which is an extended tag. The device 1 recognizes the imageOptimize2 tag, which is an extension tag, as an undefined tag, and
In accordance with the rules of ML, an element including the tag is ignored, and an image is output (for example, printed) based on the image data. At this time, the image output device 1 uses the existing tag “imageOptimize”.
Based on the value specified by the e tag, it is determined whether or not to perform image optimization. If it is determined to perform image optimization, predetermined image processing is performed on image data in the image file, An image may be output based on the image data after the image processing.

なお、図32に示す画像出力ジョブ開始コマンドDPS_StartJobの一例では
、既存のタグの直下に拡張タグが配置されているが、拡張タグを含む要素を、画像ファイ
ルごとに配置するようにしてもよい。図33は、実施の形態1に係る画像出力システムに
おける画像供給装置2により生成される画像出力ジョブ開始コマンドDPS_Start
Jobの他の例を示す図である。例えば図33に示すように、既存のタグであるimag
eOptimizeタグを含む要素「<imageOptimize>07000000
</imageOptimize>」とは別に、画像ファイルを指定するimageID
タグを含む要素に対応付けて、拡張タグであるimageOptimize2タグを含む
要素「<imageOptimize2>08000000</imageOptimi
ze2>」を設けるようにしてもよい。その場合にも、拡張タグであるimageOpt
imize2タグにより指定される値(ここでは「08000000」)により、PIM
機能を使用した画像出力を指定するか否かが設定される。また、imageIDタグによ
り指定されるオブジェクトIDは、出力制御データを含む上述の画像ファイルのオブジェ
クトIDとされる。
In the example of the image output job start command DPS_StartJob shown in FIG. 32, the extension tag is arranged immediately below the existing tag. However, an element including the extension tag may be arranged for each image file. FIG. 33 illustrates an image output job start command DPS_Start generated by the image supply device 2 in the image output system according to the first embodiment.
FIG. 14 is a diagram illustrating another example of Job. For example, as shown in FIG.
An element including an eOptimize tag "<imageOptimize >> 0700000
</ ImageOptimize >>, imageID that specifies an image file
In association with the element including the tag, the element “<imageOptimize2> 08800000000 <// imageOptimize> including the imageOptimize2 tag which is an extension tag
ze2> ”may be provided. Also in that case, the image tag that is the extension tag
With the value specified by the imize2 tag (here, “0800000000”), the PIM
Whether or not to specify the image output using the function is set. The object ID specified by the imageID tag is the object ID of the above-described image file including the output control data.

また、実施の形態1では、拡張タグにより指定された値に応じて拡張機能を使用するか
否かが判定されるが、そのような値を指定せずに拡張タグのみで拡張機能の使用を設定す
るようにしてもよい。すなわち、その場合には、その拡張タグが挿入されていると、拡張
機能が実行される。
In the first embodiment, it is determined whether to use the extended function according to the value specified by the extended tag. However, the use of the extended function only by the extended tag without specifying such a value is determined. You may make it set. That is, in this case, if the extension tag is inserted, the extension function is executed.

さらに、上記実施の形態1では、拡張タグにより、画像ファイル内の出力制御データに
基づいて画像処理の拡張機能を行うか否かを設定し画像処理において画像ファイル内の画
像処理制御データを使用しているが、拡張タグにより、出力制御データ内のパラメータの
値を直接設定するようにしてもよい。
Further, in the first embodiment, whether or not the extended function of the image processing is performed based on the output control data in the image file is set by the extension tag, and the image processing control data in the image file is used in the image processing. However, the value of the parameter in the output control data may be directly set by the extension tag.

また、上記実施の形態1において、画像供給装置2および画像出力装置1は、DPSプ
ロトコルにおけるある機能が拡張されている場合、XML構文に従って、制御情報を構成
するXMLスクリプトにおいてその機能を表現する既存のタグより先に拡張タグを配置し
て制御情報を生成するようにしてもよい。その場合には、スクリプトを解釈する際に、先
に拡張タグが解釈されるため、既存のタグの機能を無効にし易くすることができる。
In the first embodiment, when a certain function in the DPS protocol is extended, the image supply device 2 and the image output device 1 use the existing function that expresses the function in an XML script that configures control information according to an XML syntax. The control information may be generated by arranging the extension tag before the tag. In this case, when interpreting the script, the extension tag is interpreted first, so that the function of the existing tag can be easily invalidated.

さらに、上記実施の形態1では、画像ファイル内の出力制御データに基づいて画像処理
が行われるが、その代わりに、あるいはそれに加えて、画像供給装置2が、拡張タグによ
り画像処理のパラメータなどを指定し、画像出力装置1が、拡張タグにより画像処理が指
定された場合に、所定の画像処理のうちの拡張タグにより指定された画像処理を画像デー
タに対して施し、画像処理後の画像データに基づき画像を出力するようにしてもよい。
Further, in the first embodiment, the image processing is performed based on the output control data in the image file. Instead, or in addition, the image supply device 2 transmits the image processing parameters and the like using the extension tag. When the image processing is designated by the extension tag, the image output device 1 performs the image processing designated by the extension tag of the predetermined image processing on the image data, and the image data after the image processing is designated. An image may be output based on the image.

なお、上記実施の形態1におけるコマンドの送受については、上述の参考構成例1〜3
と同様とすることができるので、その説明を省略する。
Note that the transmission and reception of commands in the first embodiment are described in the above-described Reference Configuration Examples 1 to 3.
Therefore, the description is omitted.

以上のように、上記実施の形態1によれば、画像出力装置1および画像供給装置2は、
画像出力制御プロトコルに基づき画像出力に係る制御情報をマークアップ言語で記述した
一連のスクリプトを生成する際に、画像出力制御プロトコルにおける所定の機能が拡張さ
れているときには、スクリプト内でその機能を表現する既存のタグを残しその拡張に応じ
た拡張タグを挿入してスクリプトを生成し、生成したスクリプトを、通信路3を介して通
信相手との間で送受する。
As described above, according to the first embodiment, the image output device 1 and the image supply device 2
When a series of scripts in which control information relating to image output is described in a markup language based on an image output control protocol is generated and a predetermined function in the image output control protocol is extended, the function is expressed in the script. A script is generated by inserting an extension tag corresponding to the extension while leaving the existing tag to be transmitted, and the generated script is transmitted / received to / from a communication partner via the communication path 3.

これにより、マークアップ言語の特徴を利用して、複数ベンダに対する互換性を維持し
つつ、プロトコル規定後に機能を簡単に追加することが可能となる。
This makes it possible to easily add a function after defining the protocol while maintaining compatibility with a plurality of vendors by using the features of the markup language.

さらに、上記実施の形態1によれば、画像出力装置1および画像供給装置2が、スクリ
プト内で既存のタグより下位のネストレベルに拡張タグを挿入してスクリプトを生成する
Further, according to the first embodiment, the image output device 1 and the image supply device 2 generate a script by inserting an extension tag at a lower nest level than an existing tag in the script.

これにより、拡張された機能のタグが既存の機能のタグの下位に(すなわち、開始タグ
と終了タグとの間に)配置されるため、ある機能について拡張機能が設定されているか否
かを簡単に判定することができる。
As a result, the tag of the extended function is placed below the tag of the existing function (that is, between the start tag and the end tag), so that it is easy to determine whether the extended function is set for a certain function. Can be determined.

さらに、上記実施の形態1によれば、画像出力装置1および画像供給装置2が、スクリ
プト内で拡張される機能の処理対象となる画像データに関連付けて拡張タグを挿入してス
クリプトを生成する。
Further, according to the first embodiment, the image output device 1 and the image supply device 2 generate the script by inserting the extension tag in association with the image data to be processed by the function extended in the script.

これにより、拡張された機能を使用/不使用を画像単位に切り換えることができる。   Thus, use / non-use of the extended function can be switched for each image.

さらに、上記実施の形態1によれば、制御情報を記述するためのマークアップ言語とし
て、文書型を追加定義可能であるXMLなどが使用される。
Further, according to the first embodiment, as a markup language for describing control information, XML or the like that can additionally define a document type is used.

これにより、プロトコル規定後に機能をより簡単に追加することが可能となる。   This makes it possible to easily add functions after the protocol is defined.

さらに、上記実施の形態1によれば、画像出力装置1および画像供給装置2が、画像出
力に係る制御情報として、画像出力処理における制御コマンド、その制御コマンドに対す
る応答、および装置の状態の通知を、マークアップ言語で記述した一連のスクリプトとし
て送受する。
Further, according to the first embodiment, the image output device 1 and the image supply device 2 transmit, as control information related to image output, a control command in an image output process, a response to the control command, and a notification of a device state. , Sent and received as a series of scripts described in a markup language.

これにより、マークアップ言語の構文の拡張性を利用して、制御コマンド、その応答、
装置の状態通知などについて複数ベンダに対する互換性を維持しつつ、プロトコル規定後
に機能を追加し易くすることができる。
This allows control commands, their responses,
It is possible to easily add a function after the protocol is defined, while maintaining compatibility with a plurality of vendors for device status notification and the like.

さらに、上記実施の形態1によれば、画像出力装置1および画像供給装置2が、マーク
アップ言語で記述した一連のスクリプトとして、画像出力の対象となる画像データを含ま
ず、画像出力に係る制御情報のみを含むスクリプトを送受する。
Furthermore, according to the first embodiment, the image output device 1 and the image supply device 2 do not include image data to be output as a series of scripts described in a markup language, and perform control related to image output. Send and receive scripts containing information only.

これにより、画像出力の対象となるデータの形式を既存のものから変更することなく、
画像出力の対象となるデータから独立してマークアップ言語による制御情報を送受するこ
とができる。
As a result, without changing the format of the data to be output from the existing data,
Control information in a markup language can be transmitted and received independently of data to be output.

さらに、上記実施の形態1によれば、拡張タグとして、ベンダ固有の画像処理を指定す
るためのタグが使用される。
Further, according to the first embodiment, a tag for designating vendor-specific image processing is used as an extension tag.

これにより、ベンダごとに様々な特徴を有する画像処理についても画像出力時に指定す
ることができるようになる。
As a result, image processing having various characteristics for each vendor can be specified at the time of image output.

さらに、上記実施の形態1によれば、画像出力装置1が、拡張タグにより画像処理が指
定された場合に、画像データのファイルに記録された画像処理制御データに基づいて、そ
の画像データに対して画像処理を施し、画像処理後の画像データに基づき画像を出力する
Furthermore, according to the first embodiment, when the image processing is designated by the extension tag, the image output device 1 performs the processing on the image data based on the image processing control data recorded in the file of the image data. Image processing, and outputs an image based on the image data after the image processing.

これにより、画像データおよび画像処理制御データを有する画像ファイルを使用した画
像処理の機能を簡単に追加することが可能となる。
This makes it possible to easily add a function of image processing using an image file having image data and image processing control data.

さらに、上記実施の形態1によれば、画像出力装置1が、拡張タグにより画像処理が指
定された場合に、所定の画像処理のうちの拡張タグにより指定された画像処理を画像デー
タに対して施し、画像処理後の画像データに基づき画像を出力することも可能である。
Further, according to the first embodiment, when the image processing is specified by the expansion tag, the image output device 1 performs the image processing specified by the expansion tag of the predetermined image processing on the image data. It is also possible to output an image based on the processed image data.

この場合、予め用意されている画像処理のいずれかを選択し選択した画像処理を画像デ
ータに施す機能を簡単に追加することが可能となる。
In this case, it is possible to easily add a function of selecting any of the prepared image processing and applying the selected image processing to the image data.

実施の形態2.
本発明の実施の形態2に係る画像出力システムは、実施の形態1と同様に、DPSプロ
トコルにおいて、規定後に拡張機能を追加するための拡張タグを、制御情報の生成および
送受の際に使用するようにしたものである。実施の形態2では、フレーム画像と画像デー
タの画像とを組み合わせて印刷するフレーム挿入印刷の機能を拡張機能として画像出力制
御プロトコル規定後に追加するための拡張タグが使用される。
Embodiment 2 FIG.
The image output system according to the second embodiment of the present invention uses, in the DPS protocol, an extension tag for adding an extension function after being defined in the generation and transmission / reception of control information, as in the first embodiment. It is like that. In the second embodiment, an extension tag for adding a function of frame insertion printing for printing by combining a frame image and an image of image data as an extension function after defining an image output control protocol is used.

なお、実施の形態2に係る画像出力システムの構成およびその他の動作は、上述の画像
出力システムの参考構成例1〜3のいずれかまたは実施の形態1と同様とすればよいので
、その説明を省略する。
Note that the configuration and other operations of the image output system according to the second embodiment may be the same as any of the above-described reference configuration examples 1 to 3 of the image output system or the first embodiment. Omitted.

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

図34は、PIF機能の概念を説明する図である。図35は、PIF印刷の場合の印刷
画像の一例を示す図である。PIF機能を使用した場合、例えば図34に示すように、同
一の画像エリアに、複数の画像121,122,123が重畳した状態で印刷される。そ
の場合に、例えば、それらの画像121,122,123のうちの1つの画像123は、
フレーム画像であり、フレーム画像データには、他の画像122が表示される透明なエリ
アに関する情報(例えば、そのエリアの位置、透明率など)が記述される。そして、図3
5に示すように、背景の画像121の画像データ、印刷対象とされる画像122の画像デ
ータ、およびフレーム画像である画像123のデータが合成されて、1枚の画像131の
画像データが生成され、その画像データに基づき合成後の画像131が印刷される。
FIG. 34 is a diagram illustrating the concept of the PIF function. FIG. 35 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. 34, 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 image 123 of those images 121, 122, 123 is
This is a frame image, and the frame image data describes information about a transparent area in which another image 122 is displayed (for example, the position of the area, the transparency, and the like). And FIG.
As shown in FIG. 5, the image data of the background image 121, the image data of the image 122 to be printed, and the data of the image 123 which is a frame image are combined to generate image data of one image 131. Then, the combined image 131 is printed based on the image data.

PIF印刷の場合のターゲットの画像、背景画像およびフレーム画像のレイアウトは、
レイアウト定義ファイルにおいて定義される。図36は、レイアウト定義ファイルの一例
を示す図である。図36に示すように、レイアウト定義ファイルには、ヘッダ情報(見出
し[HEADER]で始まる部分)と、ページ情報(見出し[PAGE]で始まる部分)
が記述される。
The layout of the target image, background image and frame image in the case of PIF printing is as follows.
Defined in the layout definition file. FIG. 36 is a diagram illustrating an example of the layout definition file. As shown in FIG. 36, the layout definition file includes header information (a part starting with a heading [HEADER]) and page information (a part starting with a heading [PAGE]).
Is described.

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

変数「HdKeyWord 」は、ページレイアウトに関する特定のまたはユーザ所望のキーワー
ドを値として有する変数である。例えば図36では、「Christmas 」や「Greeting」とさ
れている。なお、このキーワードには、半角英数字に限らず所望の文字コードの文字を使
用することができる。「HdKeyWord 」によるキーワードに基づいてレイアウト定義ファイ
ルが検索される。
The variable “HdKeyWord” is a variable having a specific or user-desired keyword related to the page layout as a value. For example, in FIG. 36, "Christmas" and "Greeting" are used. The keyword is not limited to single-byte alphanumeric characters, but may be a character having a desired character code. The layout definition file is searched based on the keyword by “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 orientation of the page layout when displayed on the viewfinder or display screen of the digital camera or printed, for example, portrait or landscape.

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

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

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

変数「HdMargines」は、印刷マージン情報、すなわち、印刷用紙に対してどの程度の余
白を残してページレイアウトを印刷するかを表す情報を値として有する変数である。例え
ば図36に示すように、変数「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 a print sheet to print a page layout. For example, as shown in FIG. 36, when the value of the variable “HdMargines” is “3, 3, 3, 3”, printing is performed so that a margin of 3 mm is created at the upper, lower, left, and right edges of a rectangular sheet. Be done. 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 on page layout attributes. For example, the page information includes the function “Draw Picture” and the function “Draw Strings
, And the function "Draw Line".

関数「Draw Picture」は、画像エリアに関する情報などを引数として画像を描画する関
数である。
The function “Draw Picture” is a function for drawing an image by using information on the image area and the like as arguments.

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

関数「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 image to be applied has not been determined, and is zero when the image to be applied has been determined.

関数「Draw Picture」の第3引数から第6引数までは、方形の画像エリアの外形を示す
対角線上の2点のX−Y座標値である。なお、画像エリアの外形は、方形に限らず、多角
形、真円、長円などといった形状でもよく、画像エリアの外形を示す方法は、座標を記述
する方法に限らず、例えば、境界線を表す関数式でもよい。
The third to sixth arguments of the function “Draw Picture” are XY coordinate values of two diagonal points indicating the outline of the rectangular image area. Note that the outer shape of the image area is not limited to a square, but 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 a method of describing coordinates. It may be a function expression.

関数「Draw Picture」の第7引数は、画像エリアに適用される画像を回転させる程度を
示す回転度合情報である。回転度合情報は、所定の範囲(例えば0度〜360度)の範囲
で設定することが可能である。
The seventh argument of the function “Draw Picture” is rotation degree information indicating the degree of rotating the image applied to the image area. The rotation degree 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 specifying a fitting rule to be applied to the image. As the fitting rule, for example, a rule that the image is applied as it is regardless of whether a blank space is generated in the image area, or an image is formed so that the user's desired range is displayed while maintaining the user's desired aspect ratio. There are rules, such as applying without generating a margin in an area.

関数「Draw Picture」の第9引数は、画像エリアにおいて画像を配置する位置を決定す
る位置合わせ規則を指定する数値である。位置合わせ規則としては、例えば、左上合わせ
(画像エリアの左上頂点に画像の左上頂点を合わせる方法)、中央合わせ(画像エリアの
中央に画像の中央に合わせる方法)などがある。
The ninth argument of the function “Draw Picture” is a numerical value that specifies a positioning rule that determines a position where an image is 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) and center alignment (a method of aligning the center of the image with the center of the image area).

また、ページ情報のうちの関数「Draw Strings」は、引数で指定された位置に、引数で
指定された文字、図形等の飾り部品を描画する関数である。関数「Draw Strings」の構造
は、ページレイアウトにどのような飾り部品が適用されるかによって異なる。
The function “Draw Strings” in the page information is a function for drawing a decorative part such as a character or a figure specified by the argument at a position specified by the argument. The structure of the function "Draw Strings" differs depending on what decorative component is 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 a decorative part. The second argument of the function “Draw Strings” is the photo ID of the image area.

関数「Draw Strings」の第3引数は、飾り部品の内容を表す第1の飾り部品情報である
。図36では、この第2引数は、「%G, %d, %y」とされている。この値「%G, %d, %y」は
、使用画像情報として記述されている画像ファイル中の画像の撮影年月日を示す文字列を
表す。なお、撮影年月日を示す文字列の代わりに、ユーザ所望の文字列を記述してもよい
The third argument of the function “Draw Strings” is first decorative component information indicating the content of the decorative component. In FIG. 36, 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 use 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の飾り部品情報により指定
される飾り部品が配置される位置を示す飾り部品適用位置情報である。図36では、第4
引数から第7引数までは、画像エリア外形の指定と同様の形式で、「100, 200, 200, 300
」とされている。
The fourth to seventh arguments of the function “Draw Strings” are decorative component application position information indicating the position where the decorative component specified by the first decorative component information is arranged. In FIG. 36, the fourth
From the argument to the seventh argument, use the same format as the specification of the image area outline, and use “100, 200, 200, 300
"It is.

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

また、ページ情報のうちの関数「Draw Line 」は、ページレイアウトに適用される線を
描画する関数である。関数「Draw Line 」は、8個の引数をとり、第1引数および第2引
数が、線の始端座標であり、第3引数および第4引数が線の周端座標である。そして、第
5引数から第8引数までは、描画される線の属性情報(線の太さおよびRGB値)である
。図36では、第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 and second arguments are the start coordinates of the line, and the third and fourth arguments are the peripheral coordinates of the line. The fifth to eighth arguments are attribute information (line thickness and RGB values) of the line to be drawn. In FIG. 36, the fifth to eighth arguments are set to “5, 255, 0, 0”, the line thickness is set to 5 points, the R value of the line color is 255, and the G value is 0 and B value are set to 0.

PIF印刷を行う場合、上述のレイアウト定義ファイルが、印刷ジョブ開始コマンドに
おいて指定され、プリンタなどの画像出力装置により、そのレイアウト定義ファイルに基
づいたレイアウトで複数の画像121,122,123が合成され、合成後の画像が印刷
される。
When PIF printing is performed, the above-described layout definition file is specified in a print job start command, and a plurality of images 121, 122, and 123 are synthesized by an image output device such as a printer with a layout based on the layout definition file. The combined image is printed.

次に、実施の形態2に係る画像出力システムにおいてこのPIF印刷を行う場合の、制
御情報であるXMLスクリプトの生成を含む一連の処理について説明する。
Next, a series of processes including generation of an XML script as control information when performing the PIF printing in the image output system according to the second embodiment will be described.

まず、デジタルカメラとしての画像供給装置2において、CPU71は、所定の制御プ
ログラムに従って以下の動作を行う。CPU71は、ユーザの操作などに応じて、記録媒
体24などに格納されているレイアウト定義ファイルを解釈して、その解釈結果に基づい
てページレイアウトを生成し、表示装置26に、そのページレイアウトを表示する。
First, in the image supply device 2 as a digital camera, the CPU 71 performs the following operation according to a predetermined control program. The CPU 71 interprets the layout definition file stored in the recording medium 24 or the like according to a user operation or the like, generates a page layout based on the interpretation result, and displays the page layout on the display device 26. I do.

その後、ファインダまたは表示装置26にページレイアウトが表示された状態で撮影操
作が操作部25に対して行われると、撮影装置74が、その時点のカメラの視野から得ら
れた像を画像データとして記憶し、CPU71は、撮影装置74により得られた画像デー
タを、所定形式(例えばJPEG形式)の画像ファイルにしてメモリ75に格納する。
Thereafter, when a photographing operation is performed on the operation unit 25 while the page layout is displayed on the finder or the display device 26, the photographing device 74 stores an image obtained from the field of view of the camera at that time as image data. Then, the CPU 71 converts the image data obtained by the photographing device 74 into an image file of a predetermined format (for example, a JPEG format) and stores the image file in the memory 75.

次に、CPU71は、撮影された画像の画像データを、表示中のページレイアウト中の
画像エリア(つまり、ターゲット画像エリア)に入れ込む画像として選択する。そして、
CPU71は、現在表示されているページレイアウトのレイアウト定義ファイルおよび撮
影された画像の画像データファイルに対応してPIF印刷を実行するための印刷ジョブ開
始コマンドDPS_StartJobを生成する。
Next, the CPU 71 selects the image data of the photographed image as the image to be inserted into the image area (that is, the target image area) in the displayed page layout. And
The CPU 71 generates a print job start command DPS_StartJob for executing PIF printing corresponding to the layout definition file of the currently displayed page layout and the image data file of the captured image.

図37は、実施の形態2に係る画像出力システムにおける画像供給装置2により生成さ
れる印刷ジョブ開始コマンドDPS_StartJobの一例を示す図である。
FIG. 37 is a diagram illustrating an example of a print job start command DPS_StartJob generated by the image supply device 2 in the image output system according to the second embodiment.

PIF印刷用の印刷ジョブ開始コマンドDPS_StartJobでは、例えば図37
に示すように、拡張タグであるpaperSizeLinkタグにより背景の画像121
の画像データファイルのオブジェクトIDが指定され、拡張タグであるlayoutLi
nkタグにより、レイアウト定義ファイルのオブジェクトIDが指定され、拡張タグであ
るimageLinkにより、フレーム画像のデータファイル(拡張子EFFのファイル
)が指定される。なお、ターゲット画像(画像122)のオブジェクトIDは、既存のタ
グであるimageIDタグにより指定される。
In the print job start command DPS_StartJob for PIF printing, for example, FIG.
As shown in the figure, a background image 121 is generated by a paperSizeLink tag which is an extension tag.
The object ID of the image data file is specified, and the layout tag
The nk tag specifies the object ID of the layout definition file, and the extension tag imageLink specifies the frame image data file (file with the extension EFF). Note that the object ID of the target image (image 122) is specified by an imageID tag which is an existing tag.

画像出力装置1は、この印刷ジョブ開始コマンドDPS_StartJobを受信する
と、背景の画像121、ターゲットの画像122およびフレームの画像123についての
画像データおよびレイアウト定義ファイルを画像供給装置2から取得し、レイアウト定義
ファイルに記述されているページレイアウトに従って合成後の画像データを生成し、その
画像データに基づき印刷する。
Upon receiving the print job start command DPS_StartJob, the image output device 1 acquires image data and a layout definition file for the background image 121, the target image 122, and the frame image 123 from the image supply device 2, and acquires the layout definition file. The image data after synthesis is generated in accordance with the page layout described in (1) and printed based on the image data.

なお、上記実施の形態2におけるコマンドの送受については、上述の参考構成例1〜3
または実施の形態1と同様とすることができるので、その説明を省略する。
Note that transmission and reception of commands according to the second embodiment are described in reference configuration examples 1 to 3 described above.
Alternatively, since it can be similar to Embodiment 1, the description thereof is omitted.

以上のように、上記実施の形態2によれば、拡張タグとして、フレーム画像と画像デー
タの画像とを組み合わせて印刷するフレーム挿入印刷を指定するタグを使用できるため、
独特なフレーム挿入印刷を行う機能を簡単に追加することができる。
As described above, according to the second embodiment, a tag that specifies frame insertion printing for printing by combining a frame image and an image of image data can be used as an extension tag.
A function to perform unique frame insertion printing can be easily added.

実施の形態3.
本発明の実施の形態3に係る画像出力システムは、実施の形態1,2と同様に、DPS
プロトコルにおいて、規定後に拡張機能を追加するための拡張タグを設け、拡張機能を含
む制御情報の生成および送受の際に使用するようにしたものである。なお、実施の形態3
に係る画像出力システムのその他の構成および動作は、上記実施の形態のいずれかと同様
であるので、その説明を省略する。
Embodiment 3 FIG.
The image output system according to the third embodiment of the present invention has the same DPS as in the first and second embodiments.
In the protocol, an extension tag for adding an extension function after the regulation is provided, and is used when generating and transmitting / receiving control information including the extension function. Embodiment 3
Other configurations and operations of the image output system according to the third embodiment are the same as those in any of the above embodiments, and thus description thereof will be omitted.

実施の形態3では、画像出力装置1が、印刷可能な用紙サイズ(A4、B5、B4など
)と、各用紙サイズにつきベンダまたはサードパーティで用意されている用紙タイプ(普
通紙、写真印刷用紙など)との対応関係を、例えばROM43などに予め記憶しておき、
画像出力に係る制御情報で指定された印刷用紙のサイズと用紙タイプとを調べ、指定され
たサイズで指定された用紙タイプの用紙がない場合に、その旨を示す制御情報を拡張タグ
を使用して生成し、その制御情報を画像供給装置2に送信する。
In the third embodiment, the image output apparatus 1 can print on paper sizes (A4, B5, B4, etc.) and paper types (plain paper, photo print paper, etc.) prepared by a vendor or a third party for each paper size. ) Is stored in advance in, for example, the ROM 43, and the like.
Examine the size and paper type of the printing paper specified in the control information related to image output, and if there is no paper of the specified paper type with the specified size, use the extended tag to provide control information indicating that. The control information is transmitted to the image supply device 2.

例えば、画像供給装置2は、印刷ジョブ開始コマンドDPS_StartJobにおい
て、拡張タグとして、用紙サイズを指定するpaperSizeタグおよび用紙タイプを
指定するpaperTypeタグを使用して、用紙サイズおよび用紙タイプをそれぞれ指
定し、その印刷ジョブ開始コマンドDPS_StartJobを画像出力装置1に送信す
る。
For example, in the print job start command DPS_StartJob, the image supply device 2 specifies a paper size and a paper type by using a paperSize tag that specifies a paper size and a paperType tag that specifies a paper type, as expansion tags. A print job start command DPS_StartJob is transmitted to the image output device 1.

そして、画像出力装置1は、その印刷ジョブ開始コマンドDPS_StartJobを
受信すると、paperSizeタグにより指定されている用紙サイズおよびpaper
Typeタグにより指定されている用紙タイプを特定し、予め記憶している用紙サイズと
用紙タイプとの対応関係の情報を参照し、指定された用紙サイズについて指定された用紙
タイプが存在するか否かを判定する。
When receiving the print job start command DPS_StartJob, the image output apparatus 1 receives the print job start command DPS_StartJob and sets the paper size and paper specified by the paperSize tag.
The paper type specified by the Type tag is specified, and information on the correspondence between the paper size and the paper type stored in advance is referred to, and whether or not the specified paper type exists for the specified paper size Is determined.

画像出力装置1は、指定された用紙サイズについて指定された用紙タイプが存在する場
合には、その印刷ジョブ開始コマンドDPS_StartJobに従って印刷ジョブの開
始を試みる。
If the specified paper type exists for the specified paper size, the image output apparatus 1 attempts to start a print job in accordance with the print job start command DPS_StartJob.

一方、指定された用紙サイズについて指定された用紙タイプが存在しない場合には、画
像出力装置1は、エラー通知を示す拡張タグを含むXMLスクリプトを制御情報として生
成し、画像供給装置2に送信する。画像供給装置2は、このエラー通知の拡張タグに対応
可能な機種である場合には、その制御情報を受信すると、用紙タイプまたは用紙サイズの
設定誤りを検知し、例えばユーザに報知する。
On the other hand, if the specified paper type does not exist for the specified paper size, the image output device 1 generates an XML script including an extension tag indicating an error notification as control information, and transmits the control result to the image supply device 2. . If the image supply device 2 receives the control information of a model that can support the extended tag of the error notification, the image supply device 2 detects a setting error of the paper type or the paper size and notifies the user, for example.

以上のように、上記実施の形態3によれば、画像出力装置1が、制御情報で指定された
印刷用紙のサイズと用紙タイプとを調べ、指定されたサイズで指定された用紙タイプの用
紙が存在しない場合に、その旨を示す制御情報を拡張タグを使用して生成し、その制御情
報を画像供給装置2に送信する。これにより、指定された用紙タイプ(普通紙、マット、
写真印刷用紙など)でかつ指定された用紙サイズの印刷用紙が、ベンダ、サードパーティ
などにより用意されていない場合(すなわち製造販売されていない場合)に、誤って印刷
を行わないようにすることができる。
As described above, according to the third embodiment, the image output apparatus 1 checks the size and the paper type of the printing paper specified by the control information, and determines that the paper of the paper type specified by the specified size is used. If not present, control information indicating this is generated using the extension tag, and the control information is transmitted to the image supply device 2. This allows the specified paper type (plain paper, matte,
If printing paper of the specified paper size is not prepared by vendors or third parties (that is, it is not manufactured and sold), printing may not be performed accidentally. it can.

実施の形態4.
本発明の実施の形態4に係る画像出力システムは、他の各実施の形態に係る画像出力シ
ステムにおいて画像出力装置1が画像出力の処理フローを制御する代わりに、画像供給装
置2が画像出力の処理フローを制御するようにしたものである。すなわち、画像供給装置
2が、操作部25に対する操作または画像出力装置1の状態の通知を受けて画像出力処理
の進行を管理し、画像出力処理に必要な情報や画像データを画像供給装置2へ適宜供給す
る。
Embodiment 4 FIG.
The image output system according to the fourth embodiment of the present invention is different from the image output system according to the other embodiments in that the image output device 1 controls the image output processing flow instead of controlling the image output processing flow. The processing flow is controlled. That is, the image supply device 2 manages the progress of the image output process in response to the operation of the operation unit 25 or the notification of the state of the image output device 1, and transmits information and image data necessary for the image output process to the image supply device 2. Supply as appropriate.

このため、実施の形態4では、中央制御部23が、画像出力の処理フローを制御する画
像出力制御手段として機能し、画像供給装置2の通信制御部22は、DPSプロトコルに
従って、画像出力装置1の状態を取得するコマンドを送信し、画像出力装置1の通信制御
部12が、そのコマンドの応答として画像出力装置1の状態を示すXMLスクリプトを送
信する。このようなコマンドを通信制御部22から必要に応じて随時発行して、画像供給
装置2の中央制御部23が、通信制御部22を介して、画像出力装置1の状態を監視する
For this reason, in the fourth embodiment, the central control unit 23 functions as an image output control unit that controls a processing flow of image output, and the communication control unit 22 of the image supply device 2 controls the image output device 1 according to the DPS protocol. Is transmitted, and the communication control unit 12 of the image output apparatus 1 transmits an XML script indicating the state of the image output apparatus 1 as a response to the command. Such a command is issued from the communication control unit 22 as needed, and the central control unit 23 of the image supply device 2 monitors the state of the image output device 1 via the communication control unit 22.

また、実施の形態4では、中央制御部23は、DPOFのAUTPRINT.MRKな
どといったジョブ指定ファイルを解釈し、そのジョブ指定ファイルの内容に応じて、画像
出力ジョブを実行し、レイアウト情報、画像出力対象のデータなどを画像出力装置1に送
信する。そして、画像出力装置1は、そのレイアウト情報、画像出力対象のデータなどを
受信すると、それらに基づいて画像出力処理を行う。
In the fourth embodiment, the central control unit 23 transmits the DPOF AUTPRINT. It interprets a job specification file such as MRK, executes an image output job according to the contents of the job specification file, and transmits layout information, image output target data, and the like to the image output apparatus 1. When receiving the layout information, the data to be output, and the like, the image output device 1 performs an image output process based on the layout information and the data to be output.

なお、実施の形態4に係る画像出力システムの基本的な構成については、上記実施の形
態の場合と同様であり、画像出力時の処理フローも同様である。すなわち、実施の形態4
に係る画像出力システムにおいては、画像供給装置2が処理フローの制御主体とされる。
言い換えれば、参考構成例1〜3のいずれかを基本構成として有する上述の実施の形態1
〜3の画像出力システムは、画像データを受け取る画像出力装置1が処理フローの制御主
体となるプル型のシステムであり、この実施の形態4の画像出力システムは、画像データ
を供給する画像供給装置2が処理フローの制御主体となるプッシュ型のシステムである。
Note that the basic configuration of the image output system according to the fourth embodiment is the same as in the above-described embodiment, and the processing flow at the time of image output is also the same. That is, Embodiment 4
In the image output system according to (1), the image supply device 2 is the control entity of the processing flow.
In other words, the first embodiment having any one of Reference Configuration Examples 1 to 3 as a basic configuration.
The image output systems of (1) to (3) are pull-type systems in which the image output device 1 that receives image data controls the processing flow. The image output system of the fourth embodiment is an image supply device that supplies image data. Reference numeral 2 denotes a push-type system that controls the processing flow.

また、実施の形態4に係る画像出力システムにおいて、画像出力装置1の操作部15に
対する操作に応じて、その操作の情報を画像供給装置2に送信し、画像出力処理を開始す
るようにしてもよい。その場合には、画像出力装置1の通信制御部12は、操作部15に
対して所定の操作があると、画像出力ジョブ開始コマンドを制御情報として画像供給装置
2に送信する。画像供給装置2の中央制御部23は、通信制御部22および制御回路21
により画像出力ジョブ開始コマンドが受信されると、その画像出力ジョブ開始コマンドに
従って画像出力の処理を開始し、各種制御コマンドを画像出力装置1に送信する。
Further, in the image output system according to the fourth embodiment, in response to an operation on the operation unit 15 of the image output device 1, information on the operation is transmitted to the image supply device 2, and the image output process is started. Good. In this case, when a predetermined operation is performed on the operation unit 15, the communication control unit 12 of the image output device 1 transmits an image output job start command to the image supply device 2 as control information. The central control unit 23 of the image supply device 2 includes a communication control unit 22 and a control circuit 21.
When the image output job start command is received, the image output process is started according to the image output job start command, and various control commands are transmitted to the image output apparatus 1.

以上のように、上記実施の形態4によれば、画像供給装置2の中央制御部23が画像出
力の処理フローを制御する。これにより、画像出力装置1の情報処理性能が低くても本シ
ステムを実現することができる。
As described above, according to the fourth embodiment, the central control unit 23 of the image supply device 2 controls the processing flow of image output. Thus, the present system can be realized even if the information processing performance of the image output device 1 is low.

さらに、上記実施の形態4によれば、画像出力装置1の操作部に対する操作に応じて、
その操作の情報を画像供給装置2に送信し、画像出力処理を開始する場合には、ユーザが
画像出力装置1の操作部15を操作することで画像出力を行わせることができるため、画
像出力装置1がユーザフレンドリな操作部15を有している場合に、その操作部15によ
り操作性が向上する。
Furthermore, according to the fourth embodiment, in response to an operation on the operation unit of the image output device 1,
When the information of the operation is transmitted to the image supply device 2 and the image output process is started, the image can be output by operating the operation unit 15 of the image output device 1 by the user. When the device 1 has the user-friendly operation unit 15, the operability is improved by the operation unit 15.

実施の形態5.
本発明の実施の形態5に係る画像出力システムは、さらに、画像出力装置1から画像供
給装置2へ電力を供給するようにしたものである。
Embodiment 5 FIG.
The image output system according to the fifth embodiment of the present invention further supplies power from the image output device 1 to the image supply device 2.

その際、通信路3に内蔵されている電力供給線が使用され、画像供給装置2のバッテリ
27の代わりに、通信路3に接続された通信回路22から電力が内部の各回路に供給され
る。
At this time, a power supply line built in the communication path 3 is used, and power is supplied to each internal circuit from the communication circuit 22 connected to the communication path 3 instead of the battery 27 of the image supply device 2. .

なお、画像出力装置1は、画像供給装置2を接続された際に、画像供給装置2への電力
供給が可能か否かを判定し、電力供給が可能な場合にのみ電力供給するようにしてもよい
Note that the image output device 1 determines whether power can be supplied to the image supply device 2 when the image supply device 2 is connected, and supplies power only when power supply is possible. Is also good.

ここで、通信路3にUSBを使用した場合に、USBケーブルにより画像出力装置1と
画像供給装置2と接続した際の画像供給装置2への電力供給が可能か否かの判定について
説明する。図38は、実施の形態5に係る画像出力システムにおいて画像出力装置に接続
する際の画像供給装置の電源モードに設定処理を説明するフローチャートである。
Here, determination of whether or not power can be supplied to the image supply device 2 when the image output device 1 and the image supply device 2 are connected by a USB cable when a USB is used for the communication path 3 will be described. FIG. 38 is a flowchart illustrating a process of setting the power supply mode of the image supply device when connecting to the image output device in the image output system according to the fifth embodiment.

まず、画像供給装置2の通信制御部22は、通信回路21を制御して、USBに規定さ
れているコンフィグレーションデスクリプタにおける最大出力パラメータを、バスパワー
モード用の設定値(例えば500ミリアンペア)に設定し(ステップS201)、通信回
路21は、その設定で接続処理を行う(ステップS202)。画像出力装置1の通信回路
11は、そのバスパワーモード用の設定値の電力を供給可能である場合には、接続を許可
し、そうでない場合には接続を拒否する(ステップS203)。
First, the communication control unit 22 of the image supply device 2 controls the communication circuit 21 to set the maximum output parameter in the configuration descriptor specified by USB to a set value for bus power mode (for example, 500 mA). Then (step S201), the communication circuit 21 performs a connection process with the setting (step S202). The communication circuit 11 of the image output device 1 permits the connection when the power of the set value for the bus power mode can be supplied, and rejects the connection otherwise (step S203).

そして、画像供給装置2の通信回路21は、バスパワーモード用設定値での電力供給が
許可された場合には、バスパワーモードでそのまま接続し、通信路3を介して画像出力装
置1から電力供給を受ける(ステップS204)。
When the power supply at the set value for the bus power mode is permitted, the communication circuit 21 of the image supply device 2 connects in the bus power mode as it is, and outputs the power from the image output device 1 through the communication path 3. The supply is received (step S204).

一方、画像供給装置2の通信制御部22は、バスパワーモード用設定値での電力供給が
拒否された場合には、コンフィグレーションデスクリプタにおける最大出力パラメータを
、セルフパワーモード用の設定値(例えば数ミリアンペア)に設定し(ステップS205
)、通信回路21は、その設定で、再度、接続処理を行う(ステップS206)。
On the other hand, when the power supply with the bus power mode setting value is rejected, the communication control unit 22 of the image supply device 2 sets the maximum output parameter in the configuration descriptor to the self power mode setting value (for example, (Milliamps) (step S205)
), The communication circuit 21 performs the connection process again with the setting (step S206).

そして、画像供給装置2の通信回路21は、セルフパワーモードで接続し、画像供給装
置2のバッテリ27を電力源として動作を継続する(ステップS207)。
Then, the communication circuit 21 of the image supply device 2 is connected in the self-power mode, and continues operation using the battery 27 of the image supply device 2 as a power source (step S207).

このように、画像供給装置2は、バスパワーモードでの接続を試みて、許可された場合
には、画像出力装置1からの電力供給を受けて動作し、拒否された場合には、セルフパワ
ーモードで接続し自己のバッテリ27の電力で動作する。
As described above, the image supply device 2 attempts to connect in the bus power mode, operates by receiving the power supply from the image output device 1 when the connection is permitted, and operates when the connection is rejected. It operates in the mode and operates with the power of its own battery 27.

なお、画像供給装置2は、バッテリ27の電力が所定の基準値より少なくなった場合に
、通信路3を介して画像出力装置1から電力を供給されるようにしてもよい。
Note that the image supply device 2 may be configured to be supplied with power from the image output device 1 via the communication path 3 when the power of the battery 27 becomes lower than a predetermined reference value.

また、電力供給線を有する通信路3としては、USBの他に、IEEE1394などが
あり、それらの通信規格のもので通信を行うようにしてもよい。
Further, as the communication path 3 having the power supply line, in addition to USB, there are IEEE1394 and the like, and communication may be performed using those communication standards.

なお、この実施の形態5に係る画像出力システムは、他の実施の形態のいずれとも組み
合わせ可能である。さらに、実施の形態5では、装置の状態を示す各種通知や応答のXM
Lスクリプトである制御情報において、上述の電力供給の状態を示す値を所定の拡張タグ
を挿入し、その拡張タグを挿入されたXMLスクリプトを画像出力装置1と画像供給装置
2との間で送受するようにしてもよい。
The image output system according to the fifth embodiment can be combined with any of the other embodiments. Further, in the fifth embodiment, XM of various notifications and responses indicating the status of the apparatus is performed.
In the control information that is an L script, a value indicating the above-described power supply state is inserted into a predetermined extension tag, and the XML script with the extension tag inserted is transmitted between the image output device 1 and the image supply device 2. You may make it.

以上のように、上記実施の形態5によれば、データ伝送用の通信路3が、電力供給線を
有する通信路であり、画像供給装置2が、その通信路3を介して画像出力装置1から電力
を供給される。これにより、画像供給装置2内のバッテリ27の電力消費を抑制すること
ができ、画像出力処理を長い時間行うことができる。
As described above, according to the fifth embodiment, the data transmission communication path 3 is a communication path having a power supply line, and the image supply apparatus 2 is connected to the image output apparatus 1 via the communication path 3. Powered by Accordingly, power consumption of the battery 27 in the image supply device 2 can be suppressed, and image output processing can be performed for a long time.

画像出力システムの参考構成例4.
画像出力システムの参考構成例4は、例えば参考構成例3で示したように、一方の電源
がオフした後や、通信路3が切断された後に、通信相手との通信が回復した際の、通信中
断前後での通信相手の同一性を判断し、同一の通信相手との通信を再開して画像出力処理
を継続するようにしたものである。
3. Reference configuration example of image output system
Reference configuration example 4 of the image output system includes, for example, as shown in Reference configuration example 3, when communication with the communication partner is restored after one of the power is turned off or the communication path 3 is disconnected. The identity of the communication partner before and after the interruption of communication is determined, communication with the same communication partner is resumed, and the image output processing is continued.

すなわち、画像出力装置1は、通信路3を介して接続されている画像供給装置2の通信
プロトコル上で固有な識別子を記憶し、電源が切れた場合、電源復旧後に通信路3を介し
て接続されている画像供給装置2の通信プロトコル上で固有な識別子を取得し、その識別
子に基づいて画像供給装置2の同一性を判断する。これにより、障害からの復旧のための
電源をオフにしても、障害発生時の通信相手だった画像供給装置2を正確に特定すること
ができる。
That is, the image output device 1 stores a unique identifier on the communication protocol of the image supply device 2 connected via the communication path 3 and, when the power is turned off, connects via the communication path 3 after the power is restored. A unique identifier is acquired on the communication protocol of the image supply device 2 that has been set, and the identity of the image supply device 2 is determined based on the identifier. As a result, even if the power supply for recovery from the failure is turned off, the image supply device 2 that was the communication partner at the time of the failure can be accurately specified.

なお、通信プロトコル上で固有な識別子は、MAC(Medium Access Control )アドレ
スやそれに準じたものであり、不揮発性メモリ、バックアップ電源に接続された揮発性メ
モリ、磁気記録媒体などの、電源が切れていても記憶内容を保持する記録媒体に記憶され
る。
Note that the unique identifier in the communication protocol is a MAC (Medium Access Control) address or the like, and the power is turned off such as a nonvolatile memory, a volatile memory connected to a backup power supply, or a magnetic recording medium. It is also stored on a recording medium that retains the stored contents.

また、画像供給装置2は、通信路3を介して接続されている画像出力装置1の通信プロ
トコル上で固有な識別子を記憶し、電源が切れた場合、電源復旧後に通信路3を介して接
続されている画像出力装置1の通信プロトコル上で固有な識別子を取得し、その識別子に
基づいて画像出力装置1の同一性を判断する。これにより、障害からの復旧のための電源
をオフにしても、障害発生時の通信相手だった画像出力装置1を正確に特定することがで
きる。
In addition, the image supply device 2 stores a unique identifier on the communication protocol of the image output device 1 connected via the communication path 3 and, when the power is turned off, connects via the communication path 3 after the power is restored. A unique identifier is obtained on the communication protocol of the image output device 1 that has been set, and the identity of the image output device 1 is determined based on the identifier. As a result, even when the power supply for recovery from the failure is turned off, the image output device 1 with which the communication was performed when the failure occurred can be accurately specified.

また、画像出力装置1は、通信路3を介して接続されている画像供給装置2の通信プロ
トコル上で固有な識別子を記憶し、例えば通信路3の接続コネクタが画像出力装置1また
は画像供給装置2の接続コネクタから外されたりして通信路3が切断された場合、通信路
3の接続が復旧した後に、通信路3を介して接続されている画像供給装置2の通信プロト
コル上で固有な識別子を取得し、その識別子に基づいて上記画像供給装置の同一性を判断
する。これにより、障害からの復旧のための通信路を一時的に切断しても、障害発生時の
通信相手だった画像供給装置2を正確に特定することができる。
Further, the image output device 1 stores a unique identifier on the communication protocol of the image supply device 2 connected via the communication path 3. For example, the connection connector of the communication path 3 is connected to the image output device 1 or the image supply device. When the communication path 3 is disconnected due to disconnection from the connection connector of the communication path 2, after the connection of the communication path 3 is restored, the communication path of the image supply apparatus 2 connected via the communication path 3 is unique to the communication protocol. An identifier is obtained, and the identity of the image supply device is determined based on the identifier. Thus, even if the communication path for recovery from the failure is temporarily disconnected, the image supply device 2 that was the communication partner at the time of the failure can be accurately specified.

また、画像供給装置2は、通信路3を介して接続されている画像出力装置1の通信プロ
トコル上で固有な識別子を記憶し、例えば通信路3の接続コネクタが画像出力装置1また
は画像供給装置2の接続コネクタから外されたりして通信路3が切断された場合、通信路
3の接続が復旧した後に、通信路3を介して接続されている画像出力装置1の通信プロト
コル上で固有な識別子を取得し、その識別子に基づいて画像出力装置1の同一性を判断す
る。これにより、障害からの復旧のための通信路を一時的に切断しても、障害発生時の通
信相手だった画像出力装置1を正確に特定することができる。
Further, the image supply device 2 stores a unique identifier on the communication protocol of the image output device 1 connected via the communication path 3. For example, the connection connector of the communication path 3 is connected to the image output device 1 or the image supply device. When the communication path 3 is disconnected due to disconnection from the connector 2 or the like, after the connection of the communication path 3 is restored, a unique communication protocol is established on the communication protocol of the image output apparatus 1 connected via the communication path 3. An identifier is obtained, and the identity of the image output devices 1 is determined based on the identifier. As a result, even when the communication path for recovery from the failure is temporarily disconnected, the image output device 1 that was the communication partner at the time of the failure can be accurately specified.

なお、この画像出力システムの参考構成例4は、実施の形態1〜5のいずれとも組み合
わせ可能である。また、例えば、この参考構成例4を上述の参考構成例3に組み合わせた
場合、障害および復旧の前後での通信相手の同一性が認められるときにのみ、参考構成例
3で述べたようにしてリカバリ処理を行うようにすることができる。また、同一性が認め
られないときには、画像供給装置2は、画像出力ジョブの再開のための処理を行わずに、
全く新しい画像出力ジョブの開始コマンドを発行するようにしてもよい。
Note that Reference Configuration Example 4 of this image output system can be combined with any of Embodiments 1 to 5. Further, for example, when this reference configuration example 4 is combined with the above-described reference configuration example 3, only when the identity of the communication partner before and after the failure and recovery is recognized, as described in reference configuration example 3, Recovery processing can be performed. Further, when the identity is not recognized, the image supply device 2 does not perform the process for resuming the image output job, and
A completely new image output job start command may be issued.

画像出力システムの参考構成例5.
画像出力システムの参考構成例5は、複数の画像出力装置1−1〜1−nを有し、ある
画像出力装置1−jにおいて障害が発生した場合に、代替の画像出力装置1−kを探し、
代替の画像出力装置1−kにより画像出力処理を継続するようにしたものである。
4. Reference configuration example of image output system
The reference configuration example 5 of the image output system has a plurality of image output devices 1-1 to 1-n, and when a failure occurs in a certain image output device 1-j, an alternative image output device 1-k is used. search,
The image output process is continued by the alternative image output device 1-k.

図39は、画像出力システムの参考構成例5を示すブロック図である。図39において
、画像出力装置1−i(i=1,・・・,n)は、上述の画像出力装置1と同様の装置で
あって、通信路3−iに対応した通信回路11を有する。また、画像供給装置2−1は、
上述の画像供給装置2と同様の装置であり、通信回路21として、複数の画像出力装置1
−1〜1−nに有線通信路3−1または無線通信路3−2〜3−nを介して接続可能な1
または複数の通信回路を備え、いずれかの通信回路により、印刷再開時の最初の印刷対象
を指定する情報を、障害の発生した画像出力装置1−jとは別の画像出力装置1−k(k
≠j)へ送信する。なお、その際に別の画像出力装置1−k(k≠j)へ送信する情報と
しては、参考構成例3で述べたものを送信し、参考構成例3で述べたように印刷を再開す
るようにしてもよい。これにより、復旧が困難な場合でも別の画像出力装置1−kで正確
に印刷を再開することができる。また、復旧を待たずに直ちに別の画像出力装置1−kで
正確に印刷を再開することができる。なお、これらは、プル型のシステムであっても同様
に得られる効果である。
FIG. 39 is a block diagram showing Reference Configuration Example 5 of the image output system. In FIG. 39, an image output device 1-i (i = 1,..., N) is a device similar to the above-described image output device 1, and has a communication circuit 11 corresponding to a communication path 3-i. . Further, the image supply device 2-1 includes:
This is a device similar to the image supply device 2 described above.
1 that can be connected to -1 to 1-n via the wired communication path 3-1 or the wireless communication paths 3-1 to 3-n
Alternatively, a plurality of communication circuits are provided, and information specifying the first print target at the time of resuming printing is transmitted by any one of the communication circuits to an image output apparatus 1-k ( k
≠ j). At this time, as information to be transmitted to another image output apparatus 1-k (k ≠ j), the information described in Reference Configuration Example 3 is transmitted, and printing is restarted as described in Reference Configuration Example 3. You may do so. Thus, even when recovery is difficult, printing can be accurately resumed by another image output device 1-k. In addition, printing can be accurately resumed immediately by another image output apparatus 1-k without waiting for restoration. These are the effects that can be similarly obtained even with a pull-type system.

例えば、画像供給装置2−1は、画像出力装置1−1による印刷処理中の障害が発生し
た場合には、残りの画像出力装置1−2〜1−nのうちのいずれかを選択し、いずれかの
通信回路により、印刷再開時の最初の印刷対象を指定する情報を送信する。その情報を受
信した画像出力装置1−kは、その情報に基づいて、ジョブ内の再開位置を特定し、その
位置から印刷処理を開始する。
For example, when a failure occurs during the printing process by the image output device 1-1, the image supply device 2-1 selects one of the remaining image output devices 1-2 to 1-n, Information specifying the first print target at the time of resuming printing is transmitted by one of the communication circuits. The image output device 1-k that has received the information specifies the restart position in the job based on the information, and starts the printing process from that position.

なお、画像供給装置2−1は、複数の画像出力装置1−2〜1−nのうち、自己の使用
する画像出力制御プロトコル(例えば上述のDPSプロトコル、PTPなど)を解釈可能
な画像出力装置1−rを選択し、その画像出力装置1−rへ再開時の最初の印刷対象を指
定する情報を送信するようにしてもよい。
The image supply device 2-1 is an image output device capable of interpreting an image output control protocol (for example, the above-described DPS protocol or PTP) used by itself among the plurality of image output devices 1-2 to 1-n. 1-r may be selected, and information specifying the first print target at the time of resumption may be transmitted to the image output device 1-r.

また、画像供給装置2−1は、複数の画像出力装置1−2〜1−nのうち、中断された
印刷ジョブで指定された印刷条件で印刷可能な画像出力装置1−rを選択し、その画像出
力装置1−rへ再開時の最初の印刷対象を指定する情報を送信するようにしてもよい。こ
れにより、別の画像出力装置を使用しても、元の画像出力装置と同様な印刷状態で印刷を
再開することができる。そのような印刷条件としては、用紙サイズ、用紙タイプ、ベンダ
固有の色補正処理、フレーム画像重畳印刷(画像データによる画像に、フレーム画像を重
畳させて印刷するもの)などがある。
Further, the image supply device 2-1 selects an image output device 1-r that can print under the print conditions specified in the interrupted print job from among the plurality of image output devices 1-2 to 1-n, Information specifying the first print target at the time of restart may be transmitted to the image output device 1-r. Thus, even if another image output device is used, printing can be resumed in the same print state as the original image output device. Such printing conditions include paper size, paper type, vendor-specific color correction processing, frame image superimposition printing (printing a frame image superimposed on an image based on image data), and the like.

なお、この画像出力システムの参考構成例5は、実施の形態1〜5のいずれとも組み合
わせ可能である。
Note that Reference Configuration Example 5 of this image output system can be combined with any of Embodiments 1 to 5.

実施の形態6.
本発明の実施の形態6に係る画像出力システムは、さらに、画像出力装置1の操作部1
5に対する所定の操作に応じて、画像供給装置2としてのデジタルカメラにより撮影を行
うようにしたものである。
Embodiment 6 FIG.
The image output system according to the sixth embodiment of the present invention further includes an operation unit 1 of the image output device 1.
In accordance with a predetermined operation on the digital camera 5, the digital camera serving as the image supply device 2 performs photographing.

すなわち、画像出力装置1は、操作部15に対する所定の操作があると、画像供給装置
2に対して撮影指令を送信し、画像供給装置2は、画像出力装置1から撮影指令を受信す
ると、撮影処理を行う。なお、この撮影指令をXMLスクリプトの、所定のDPSプロト
コルにおけるコマンドとして送信するようにしてもよい。その場合、画像出力装置1は、
この操作を示す拡張タグを、装置の状態を通知するコマンドや応答に挿入して制御情報で
あるXMLスクリプトを生成し、画像供給装置2に送信する。これにより、画像供給装置
2を操作することなく撮影を行うことができる。
That is, when a predetermined operation is performed on the operation unit 15, the image output device 1 transmits a photographing command to the image supply device 2. Perform processing. Note that the shooting command may be transmitted as a command in a predetermined DPS protocol of the XML script. In that case, the image output device 1
An extension tag indicating this operation is inserted into a command or response for notifying the status of the apparatus to generate an XML script as control information, and transmits the generated XML script to the image supply apparatus 2. Thus, the photographing can be performed without operating the image supply device 2.

また、画像供給装置2は、画像出力装置1からの撮影指令に対応して、撮影処理を行っ
た後に、撮影した画像の画像データを画像出力装置1に送信し、画像出力装置1は、その
画像データを受信し、その画像データに基づき画像を出力するようにしてもよい。その場
合、この画像データの伝送を、DPSプロトコルにおける所定のコマンドを使用して行う
ようにしてもよい。これにより、画像出力装置1を操作するだけで、その時に撮影された
画像が出力され、その画像を視認することができる。
Further, the image supply device 2 performs image capturing processing in response to an image capturing command from the image output device 1, and then transmits image data of the captured image to the image output device 1. Image data may be received, and an image may be output based on the image data. In this case, the transmission of the image data may be performed using a predetermined command in the DPS protocol. Thus, by simply operating the image output device 1, the image captured at that time is output, and the image can be visually recognized.

また、画像供給装置2は、撮影した画像の画像データを、送信完了後または画像出力装
置1での画像出力後に、消去するようにしてもよい。これにより、画像供給装置2の記憶
容量が少なくても繰り返し撮影を行うことができる。
Further, the image supply device 2 may delete the image data of the captured image after the transmission is completed or after the image output device 1 outputs the image. Thereby, it is possible to repeatedly perform photographing even if the storage capacity of the image supply device 2 is small.

また、画像供給装置2は、画像データを記憶する記憶手段(例えば記録媒体24)を有
し、撮影した画像の画像データを記憶していき、その記憶手段の残り容量がなくなるか、
あるいは所定の値以下となった場合に、古い画像データを消去するようにしてもよい。こ
れにより、画像供給装置2の記憶容量が少なくても繰り返し撮影を行うことができる。
Further, the image supply device 2 has a storage unit (for example, a recording medium 24) for storing image data, and stores image data of a photographed image.
Alternatively, when the value becomes equal to or less than a predetermined value, old image data may be deleted. Thereby, it is possible to repeatedly perform photographing even if the storage capacity of the image supply device 2 is small.

また、画像出力装置1は、所定の周期で画像供給装置2に対して撮影指令を繰り返し送
信し、定期的に画像出力を行うようにしてもよい。これにより、所定の場所や物の画像が
定期的に出力されるため、それらの場所や物を監視することができる。画像供給装置2に
デジタルカメラを使用し、画像出力装置1にプリンタを使用した場合には、監視システム
を安価に構築することができる。
Further, the image output device 1 may repeatedly transmit a shooting command to the image supply device 2 at a predetermined cycle, and periodically output an image. Thus, images of predetermined places and objects are periodically output, so that those places and objects can be monitored. When a digital camera is used for the image supply device 2 and a printer is used for the image output device 1, a surveillance system can be constructed at low cost.

なお、この実施の形態6に係る画像出力システムは、他の実施の形態のいずれとも組み
合わせ可能である。
The image output system according to the sixth embodiment can be combined with any of the other embodiments.

実施の形態7.
図40は、本発明の実施の形態7に係る画像出力装置の構成を示すブロック図である。
図40において、画像出力装置201は、画像データに基づき画像を出力する装置である
。画像出力装置201の形態としては、画像データに基づき画像を紙などに印刷するプリ
ンタなどがある。また、画像供給装置202は、画像データを格納し、必要に応じてその
画像データを送信可能な装置である。画像供給装置202の形態としては、撮影した画像
を画像データとして所定の記録媒体に記憶するデジタルカメラなどがある。また、通信路
203は、画像出力装置1と画像供給装置2とを接続する伝送媒体である。この通信路3
は、有線の通信路に限定されず、無線の通信路を使用してもよい。ここでは、通信路3に
は、USBのケーブルが使用される。
Embodiment 7 FIG.
FIG. 40 is a block diagram showing a configuration of an image output device according to Embodiment 7 of the present invention.
In FIG. 40, an image output device 201 is a device that outputs an image based on image data. Examples of the form of the image output device 201 include a printer that prints an image on paper or the like based on image data. The image supply device 202 is a device that stores image data and can transmit the image data as needed. Examples of the form of the image supply device 202 include a digital camera that stores a captured image as image data in a predetermined recording medium. The communication path 203 is a transmission medium that connects the image output device 1 and the image supply device 2. This communication path 3
Is not limited to a wired communication path, and a wireless communication path may be used. Here, a USB cable is used for the communication path 3.

また、パーソナルコンピュータ204は、所定のデバイスドライバに有し、画像データ
に基づく印刷用制御データを画像出力装置201に供給するホスト装置である。通信路2
05は、通信路203と同様の通信規格の通信路である。
The personal computer 204 is a host device that is included in a predetermined device driver and supplies print control data based on image data to the image output device 201. Communication channel 2
A communication path 05 has the same communication standard as the communication path 203.

図40に示す画像出力装置201において、コネクタ218は、コネクタ218は、画
像データを格納する画像供給装置2を電気的に接続可能な第1の接続手段であって、US
Bのホスト側のコネクタである。また、切替スイッチ219は、ユーザによる手動操作あ
るいはコネクタ218,221へのケーブルの接続状況に応じて、コネクタ218を通信
回路211およびハブ222のいずれかに接続する切替手段として機能する装置である。
In the image output device 201 shown in FIG. 40, the connector 218 is a first connection unit that can electrically connect the image supply device 2 that stores image data.
B is a connector on the host side. The changeover switch 219 is a device that functions as a switching unit that connects the connector 218 to one of the communication circuit 211 and the hub 222 according to a manual operation by a user or a connection state of a cable to the connectors 218 and 221.

また、コネクタ221は、他のホスト装置(ここではパーソナルコンピュータ204)
を電気的に接続可能な第2の接続手段であって、USBのデバイス側のコネクタである。
ハブ222は、コネクタ221に電気的に接続され、USBのハブ機能を有する中継手段
として動作する装置である。通信回路223は、パーソナルコンピュータ204との間で
通信するUSBのデバイス側通信回路である。メモリカードインタフェース224は、メ
モリカードを挿入され、メモリカードに対してデータの読み書きを行うUSBデバイスで
ある。
The connector 221 is connected to another host device (here, the personal computer 204).
Is a second connection means that can be electrically connected, and is a connector on the USB device side.
The hub 222 is a device that is electrically connected to the connector 221 and operates as a relay unit having a USB hub function. The communication circuit 223 is a USB device-side communication circuit that communicates with the personal computer 204. The memory card interface 224 is a USB device into which a memory card is inserted and which reads and writes data from and to the memory card.

その他、通信回路211、通信制御部212、出力制御部213、出力機構214、操
作部215、表示装置216および電源回路217については、参考構成例1における通
信回路11、通信制御部12、出力制御部13、出力機構14、操作部15、表示装置1
6および電源回路17と同様であるので、その説明を省略する。
In addition, regarding the communication circuit 211, the communication control unit 212, the output control unit 213, the output mechanism 214, the operation unit 215, the display device 216, and the power supply circuit 217, the communication circuit 11, the communication control unit 12, the output control Unit 13, output mechanism 14, operation unit 15, display device 1
6 and the power supply circuit 17, and a description thereof will be omitted.

なお、通信回路211は、USBにおける上流側デバイス(USBホスト)の通信機能
を有する上流側デバイス側通信手段として機能する。
Note that the communication circuit 211 functions as an upstream device-side communication unit having a function of communicating with an upstream device (USB host) in USB.

次に、上記装置の動作について説明する。   Next, the operation of the above device will be described.

まず、デジタルカメラなどの画像供給装置202に格納した画像データに基づいて画像
を出力する場合には、通信路203となるUSBケーブルにより、画像出力装置201と
画像供給装置202とが接続され、また、切替スイッチ219によりコネクタ218が通
信回路211に接続される。この場合、画像出力装置1の通信回路211がUSBホスト
コントローラとして機能し、画像供給装置202がUSBデバイスとなる。
First, when outputting an image based on image data stored in an image supply device 202 such as a digital camera, the image output device 201 and the image supply device 202 are connected by a USB cable serving as a communication path 203, and The connector 218 is connected to the communication circuit 211 by the changeover switch 219. In this case, the communication circuit 211 of the image output device 1 functions as a USB host controller, and the image supply device 202 becomes a USB device.

この状態にて、画像供給装置202から画像出力装置201へ画像データが供給され、
その画像データに基づく画像が出力される。この際の画像データの伝送は、例えば上述し
た方法で行われる。
In this state, image data is supplied from the image supply device 202 to the image output device 201,
An image based on the image data is output. The transmission of the image data at this time is performed, for example, by the method described above.

一方、パーソナルコンピュータ204が画像供給装置202にアクセスする場合には、
通信路203となるUSBケーブルにより、画像出力装置201と画像供給装置202と
が接続され、かつ、通信路205となるUSBケーブルにより、パーソナルコンピュータ
204と画像出力装置201とが接続され、また、切替スイッチ219によりコネクタ2
18がハブ222に接続される。この状態では、パーソナルコンピュータ204がUSB
ホストとして機能し、ハブ222を介して画像供給装置202、通信回路223およびメ
モリカードインタフェース224がUSBデバイスとして機能する。これにより、パーソ
ナルコンピュータ204が画像供給装置202にアクセス可能となる。
On the other hand, when the personal computer 204 accesses the image supply device 202,
The image output device 201 and the image supply device 202 are connected by a USB cable serving as a communication path 203, and the personal computer 204 and the image output apparatus 201 are connected by a USB cable serving as a communication path 205. Connector 2 by switch 219
18 is connected to the hub 222. In this state, the personal computer 204
The image supply device 202, the communication circuit 223, and the memory card interface 224 function as a USB device via the hub 222. Thus, the personal computer 204 can access the image supply device 202.

なお、パーソナルコンピュータ204からのデータに基づいて印刷処理を行う場合、通
信路205となるUSBケーブルにより、パーソナルコンピュータ204と画像出力装置
201とが接続されていればよい。この状態で、パーソナルコンピュータ204がUSB
ホストとして機能し、通信回路223などがUSBデバイスとして機能し、パーソナルコ
ンピュータ204から画像出力装置201へ印刷用データが供給され、そのデータがハブ
222を介して通信回路223へ伝送されて、出力制御部213および出力機構214に
よりその印刷用データに基づく画像が出力される。
When printing is performed based on data from the personal computer 204, the personal computer 204 and the image output device 201 may be connected via a USB cable serving as a communication path 205. In this state, the personal computer 204
The communication circuit 223 and the like function as a USB device. The personal computer 204 supplies print data to the image output apparatus 201. The print data is transmitted to the communication circuit 223 via the hub 222, and output control is performed. An image based on the print data is output by the unit 213 and the output mechanism 214.

なお、この実施の形態7では、画像出力装置201には、USBのデバイス側コネクタ
であるコネクタ221、およびUSBのホスト側コネクタであるコネクタ218が設けら
れているが、USB−OnTheGo技術を利用して、2つのコネクタ218,221を
1つのコネクタとし、USBホストであるパーソナルコンピュータ204が接続された場
合には、画像出力装置201がUSBデバイスとして動作し、USBデバイスである画像
供給装置202が接続された場合には、画像出力装置201がUSBホストとして動作す
るようにしてもよい。
In the seventh embodiment, the image output device 201 is provided with the connector 221 that is a USB device-side connector and the connector 218 that is a USB host-side connector, but uses the USB-OnTheGo technology. When the two connectors 218 and 221 are one connector and the personal computer 204 as a USB host is connected, the image output device 201 operates as a USB device and the image supply device 202 as a USB device is connected. In this case, the image output device 201 may operate as a USB host.

なお、この実施の形態7に係る画像出力装置は、他の実施の形態のいずれとも組み合わ
せ可能である。
The image output device according to the seventh embodiment can be combined with any of the other embodiments.

以上のように、上記実施の形態7によれば、1台の画像出力装置1を、他のホスト装置
(パーソナルコンピュータ204)の周辺機器として、かつ画像供給装置2とのダイレク
ト印刷のための機器として、かつ他のホスト装置(パーソナルコンピュータ204)と画
像供給装置2との間の中継機器として機能させることができる。
As described above, according to the seventh embodiment, one image output device 1 is used as a peripheral device of another host device (personal computer 204), and a device for direct printing with the image supply device 2. And can function as a relay device between another host device (personal computer 204) and the image supply device 2.

実施の形態8.
本発明の実施の形態8に係る画像出力システムは、さらに、画像供給装置2において、
画像出力装置1による画像出力時の画像のレイアウトを選択することができるようにした
ものである。
Embodiment 8 FIG.
The image output system according to the eighth embodiment of the present invention further includes:
The layout of an image at the time of image output by the image output device 1 can be selected.

すなわち、画像供給装置2は、操作部25、表示装置26および中央制御部23により
、表示装置26にレイアウト情報を表示させつつ、ユーザの操作に応じて、画像出力の際
のレイアウトを選択し、選択されたレイアウトで画像データを出力させる制御情報を画像
出力装置1に通信路3を介して送信する。例えば、その際のレイアウトを示す制御情報は
、DPSプロトコルの画像出力ジョブ指令に含められて送信される。そして、画像出力装
置1は、そのレイアウトに係る制御情報に基づいて画像出力時のレイアウトを設定し、画
像出力処理を行う。すなわち、操作部25、表示装置26および中央制御部23は、ユー
ザインタフェース部分を含む、画像出力の際のレイアウトを選択するレイアウト選択手段
として機能する。
That is, the image supply device 2 selects a layout at the time of image output according to a user operation while displaying the layout information on the display device 26 by the operation unit 25, the display device 26, and the central control unit 23. Control information for outputting image data in the selected layout is transmitted to the image output device 1 via the communication path 3. For example, the control information indicating the layout at that time is transmitted by being included in the image output job command of the DPS protocol. Then, the image output device 1 sets a layout at the time of image output based on the control information relating to the layout, and performs an image output process. That is, the operation unit 25, the display device 26, and the central control unit 23 function as a layout selection unit that includes a user interface portion and selects a layout at the time of image output.

なお、この実施の形態8に係る画像出力システムは、他の実施の形態のいずれとも組み
合わせ可能である。
The image output system according to the eighth embodiment can be combined with any of the other embodiments.

以上のように、上記実施の形態8によれば、画像出力システムにおいて、デジタルカメ
ラなどの画像供給装置2を操作して、その画像供給装置2に格納されている画像データの
状況に応じて、ユーザがレイアウトを選択することができて便利であるとともに、画像デ
ータを格納している装置のユーザインタフェースを使用するため、レイアウト選択のため
に画像データなどを他の装置に転送する必要がない。
As described above, according to the eighth embodiment, in the image output system, the user operates the image supply device 2 such as a digital camera, and according to the state of the image data stored in the image supply device 2, This is convenient because the user can select a layout, and since the user interface of the device storing the image data is used, there is no need to transfer image data or the like to another device for layout selection.

実施の形態9.
本発明の実施の形態9に係る画像出力システムは、ある画像データについての画像出力
装置1による画像出力結果を画像供給装置2の表示装置26によりプレビューするように
したものである。すなわち、表示装置26は、画像データに基づく画像出力のプレビュー
画像を表示する表示手段として機能する。
Embodiment 9 FIG.
The image output system according to the ninth embodiment of the present invention is such that the image output result of the image output device 1 for certain image data is previewed on the display device 26 of the image supply device 2. That is, the display device 26 functions as a display unit that displays a preview image of an image output based on the image data.

画像供給装置2は、例えば操作部25に対する操作に応じて画像出力の対象となる画像
データを選択し、選択した画像データの画像出力状態を示す画像(いわゆるプレビュー画
像)を表示装置26により表示する。そして、そのプレビュー画像の表示後に、画像供給
装置2は、画像出力の対象となる画像データを通信路3を介して送信し、画像出力装置1
に出力させる。
The image supply device 2 selects, for example, image data to be output according to an operation on the operation unit 25, and displays an image (so-called preview image) indicating an image output state of the selected image data on the display device 26. . Then, after the preview image is displayed, the image supply device 2 transmits the image data to be image-outputted via the communication path 3 and the image output device 1
Output.

なお、この実施の形態9に係る画像出力システムは、他の実施の形態のいずれとも組み
合わせ可能である。
The image output system according to the ninth embodiment can be combined with any of the other embodiments.

以上のように、上記実施の形態9によれば、この画像供給装置2では、格納されている
画像データを使用してプレビューが可能であるため、正確にプレビューを行うことができ
るとともに、画像データ転送前にプレビューを行うため、画像出力の条件の変更を画像供
給装置2にて簡単に行うことができる。
As described above, according to the ninth embodiment, since the image supply device 2 can perform a preview using the stored image data, the preview can be performed accurately, and Since the preview is performed before the transfer, the image output condition can be easily changed in the image supply device 2.

実施の形態10.
出力装置が複数存在する場合において拡張機能であるPIM機能が以下の通り機能すると
さらに良い。出力装置が印刷装置と表示装置である場合を例に説明する。表示装置には製
造時にPIM情報とリンクして表示が補正されるように表示補正情報(補正情報)が設定
されている。印刷処理、表示処理のフローは以下の通りである。PIM機能が反映された
画像データはPIM情報に基づいて画像処理された後印刷される。また表示される画像デ
ータはPIM情報と表示補正情報に基づき画像処理が行われ補正される。このようにして、
印刷された印刷物と表示された表示物がほぼ同様のものとして視認されることになる。
以上のように、上記実施の形態10によれば、表示装置に表示補正情報が組み込まれてい
て、尚且つ拡張機能としてPIM機能が付加された画像データを供給装置から印刷装置と
表示装置に送信した場合には、表示物と印刷物がほぼ同じに視認できるようになる。
Embodiment 10 FIG.
It is more preferable that the PIM function, which is an extended function, functions as follows when a plurality of output devices exist. An example in which the output device is a printing device and a display device will be described. Display correction information (correction information) is set in the display device so that the display is corrected by linking to the PIM information at the time of manufacture. The flow of the printing process and the display process is as follows. The image data reflecting the PIM function is printed after image processing based on the PIM information. The displayed image data is subjected to image processing based on the PIM information and the display correction information, and is corrected. In this way,
The printed matter and the displayed matter are visually recognized as substantially the same.
As described above, according to the tenth embodiment, image data in which display correction information is incorporated in a display device and a PIM function is added as an extended function is transmitted from a supply device to a printing device and a display device. In this case, the displayed matter and the printed matter can be almost visually recognized.

実施の形態11.
拡張タグ(PIM機能)を付加したい画像データを選択するときは、画像毎、若しくは複
数画像纏めて行うことができる。つまり、ユーザが供給装置側、若しくは出力装置側のパ
ネル上(入力部)からPIM機能を付加したい画像データを選択すると、拡張タグ(PI
M機能)が選択された画像データに自動的に挿入される。
Embodiment 11 FIG.
When selecting image data to which an extension tag (PIM function) is to be added, the selection can be made for each image or for a plurality of images at once. That is, when the user selects image data to which the PIM function is to be added from the panel (input unit) on the supply device side or the output device side, the expansion tag (PI
M function) is automatically inserted into the selected image data.

実施の形態12.
複数の機能を、画像毎、若しくは複数画像纏めて追加することができる。つまり、ユーザ
が供給装置側、若しくは出力装置側のパネル上(入力部)から画像データに対して追加し
たい機能を単数、若しくは複数設定すると、複数の拡張タグが画像データに対して自動的
に挿入される。
Embodiment 12 FIG.
A plurality of functions can be added for each image or collectively for a plurality of images. That is, when the user sets one or more functions to be added to the image data from the panel (input unit) on the supply device side or the output device side, a plurality of extension tags are automatically inserted into the image data. Is done.

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

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

また、上述の各実施の形態では、DPSプロトコル以下の階層において、PTPおよび
USBを使用しているが、TCP/IP(Transmission Control Protocol / Internet P
rotocol )などの他のプロトコルを使用するようにしてもよい。その際の伝送媒体として
は、有線LAN、ブルーツース、無線LANなどを使用してもよい。
Further, in each of the above-described embodiments, PTP and USB are used in the layers below the DPS protocol, but TCP / IP (Transmission Control Protocol / Internet P) is used.
Other protocols such as rotocol may be used. As a transmission medium at that time, a wired LAN, Bluetooth, wireless LAN, or the like may be used.

また、上述の各実施の形態において使用されるDPSプロトコルのコマンド名、タグ名
および拡張タグ名は、上述のものに限定されるものではなく、他の名前でもよい。また、
DPSプロトコルのコマンドに関しては、同様の機能を有する他のコマンドまたはそれら
の組み合わせとしてもよい。さらに、拡張タグにより指定される機能は、上述したものに
限定されるものではない。
Further, the command name, tag name, and extension tag name of the DPS protocol used in each of the above embodiments are not limited to those described above, and may be other names. Also,
As for the command of the DPS protocol, another command having a similar function or a combination thereof may be used. Further, the functions specified by the extension tags are not limited to those described above.

また、上述の各実施の形態において、画像出力装置1は、プリンタとすることができ、
画像供給装置2は、動画用および/または静止画用のデジタルカメラとすることができる
。あるいは、画像出力装置1は、紙などの媒体に画像を記録する他の記録装置、ディスプ
レイなどの、光の像を呈示する表示装置などとしてもよく、画像供給装置2は、デジタル
カメラを内蔵した電子装置、画像信号を受信する電子装置などとしてもよい。そのような
電子装置としては、移動体電話、PDA、音楽プレーヤ、テレビジョン受像機、ビデオ録
画/再生装置、テレビジョン電話機、テレビビジョン会議装置などがある。また、画像供
給装置2としては、可搬性のある装置としてもよいし、あまり可搬性のない装置としても
よい。
In each of the above embodiments, the image output device 1 can be a printer,
The image supply device 2 can be a digital camera for moving images and / or still images. Alternatively, the image output device 1 may be another recording device that records an image on a medium such as paper, a display device such as a display that presents an image of light, or the like, and the image supply device 2 includes a digital camera. An electronic device or an electronic device that receives an image signal may be used. Such electronic devices include mobile phones, PDAs, music players, television receivers, video recording / reproducing devices, television telephones, video vision conferencing devices, and the like. The image supply device 2 may be a portable device or a device that is not very portable.

また、上述の各実施の形態において、画像出力に必要な画像データの画像供給装置2か
ら画像出力装置1への転送が完了すると、画像出力装置1との接続を解除してもよい旨を
示す接続解除可能通知を画像出力装置1から画像供給装置2へ送信するようにしてもよい
。この接続解除可能通知を示す拡張タグを、装置やジョブの状態を通知するコマンドや応
答といった制御情報に挿入し、その制御情報を画像出力装置1から画像供給装置2へ送信
するようにしてもよい。
In each of the above-described embodiments, when the transfer of the image data necessary for the image output from the image supply device 2 to the image output device 1 is completed, the connection with the image output device 1 may be released. The connection release notification may be transmitted from the image output device 1 to the image supply device 2. An extension tag indicating the disconnection notice may be inserted into control information such as a command or response notifying the status of the device or the job, and the control information may be transmitted from the image output device 1 to the image supply device 2. .

また、上述の各実施の形態において、画像データ管理転送プロトコルとして、PTPの
代わりにUSBマスストレージクラスを使用するようにしてもよい。
In each of the above embodiments, a USB mass storage class may be used instead of PTP as the image data management transfer protocol.

また、上述の各実施の形態における画像は、ピクチャ画像のほか、テキストの画像とし
てもよい。また、画像出力対象を、例えば音楽CD、音楽MDなどの音楽アルバムのタイ
トル表、歌詞カードなどのテキストとしてもよい。その場合、例えば、画像供給装置2ま
たは画像出力装置1が、その音楽アルバムに記録されている情報に基づいてインターネッ
ト上の配信サーバなどからそのテキストのデータを取得する。
The image in each of the above embodiments may be a text image in addition to a picture image. Also, the image output target may be a text table such as a title table of a music album such as a music CD or a music MD, or a lyrics card. In this case, for example, the image supply device 2 or the image output device 1 acquires the text data from a distribution server on the Internet based on the information recorded in the music album.

なお、上記参考構成例2では、画像出力装置1が、ジョブ指定ファイルを取得し、その
ジョブ指定ファイルを解析し、画像出力ジョブを実行しているが、その代わりに、画像供
給装置2が、ジョブ指定ファイルを解析し、画像出力ジョブ開始コマンドを画像出力に係
る制御情報として生成し画像出力装置1に送信するようにして、画像出力ジョブを実行さ
せるようにしてもよい。
In the above-described Reference Configuration Example 2, the image output device 1 acquires a job specification file, analyzes the job specification file, and executes an image output job. The image output job may be executed by analyzing the job specification file, generating an image output job start command as control information related to image output, and transmitting the control information to the image output apparatus 1.

なお、上記実施の形態1に係る画像出力システムにおいて、PIM機能の使用が指定さ
れた場合、次のようにして制御情報であるXMLスクリプトを生成するようにしてもよい
。図41は、実施の形態1に係る画像出力システムにおいて画像処理機能の一種である画
像最適化機能の拡張機能としてPIM機能が存在する場合の、制御情報であるXMLスク
リプトの生成について説明するフローチャートである。
In the image output system according to the first embodiment, when the use of the PIM function is specified, an XML script as control information may be generated as follows. FIG. 41 is a flowchart illustrating generation of an XML script that is control information when the PIM function exists as an extended function of the image optimization function, which is a type of image processing function, in the image output system according to the first embodiment. is there.

この場合、例えば、画像供給装置2が、PIM機能を有するデジタルカメラなどの撮影
装置とされた場合、画像供給装置2の記録媒体24に、この画像データおよび出力制御デ
ータを有する上述の画像ファイルが記録される。
In this case, for example, when the image supply device 2 is a photographing device such as a digital camera having a PIM function, the above-described image file having the image data and the output control data is stored in the recording medium 24 of the image supply device 2. Be recorded.

そして、画像供給装置2は、ユーザの操作に基づき印刷などの画像出力を行わせる場合
に、画像最適化機能が指定された場合、まず、画像最適化機能の使用可能な拡張機能が存
在するか否かを判断する(ステップS321)。
When the image supply device 2 outputs an image such as printing based on a user operation, if the image optimization function is specified, first, is there an extended function that can be used for the image optimization function? It is determined whether or not it is (step S321).

画像供給装置2は、PIM機能が使用可能であると判断すると、画像出力装置1の環境
情報および/または機能の設定値の選択肢に基づき、自己(画像供給装置2)が使用可能
な画像最適化機能の拡張機能であるPIM機能が画像出力装置1において使用可能か否か
を判断する(ステップS322)。例えば、画像供給装置2は、環境情報のうち、ベンダ
固有のバージョン情報に基づいて、拡張機能が使用可能か否かを判定する。つまり、ベン
ダ固有のバージョン情報により、拡張機能が使用可能か否かが示される。
When determining that the PIM function is usable, the image supply device 2 optimizes an image that can be used by itself (the image supply device 2) based on environmental information of the image output device 1 and / or a choice of a set value of the function. It is determined whether the PIM function, which is an extended function of the function, can be used in the image output apparatus 1 (step S322). For example, the image supply device 2 determines whether or not the extended function can be used based on the vendor-specific version information in the environment information. That is, the vendor-specific version information indicates whether the extended function can be used.

画像供給装置2は、画像出力装置1においてPIM機能が使用可能であると判断すると
、画像出力ジョブ開始コマンドDPS_StartJobにおける、画像最適化のための
既存のタグであるimageOptimizeタグの下位のネストレベルに、PIM機能
を使用した画像出力を指定するための拡張タグであるimageOptimize2タグ
を挿入して制御情報であるXMLスクリプトを生成する(ステップS323)。なお、拡
張タグの名称は、imageOptimize2に限定されるものではなく、各ベンダに
より自由に規定される。
When the image supply device 2 determines that the PIM function is usable in the image output device 1, in the image output job start command DPS_StartJob, the image supply device 2 changes the nest level below the imageOptimize tag, which is an existing tag for image optimization. An XML script, which is control information, is generated by inserting an imageOptimize2 tag, which is an extension tag for designating image output using the PIM function (step S323). Note that the name of the extension tag is not limited to imageOptimize2, but is freely defined by each vendor.

一方、画像供給装置2が、画像最適化機能の使用可能な拡張機能を有さない場合、およ
び自己(画像供給装置2)が使用可能な画像最適化機能の拡張機能が画像出力装置1にお
いて使用可能ではない場合には、拡張タグを挿入せずに画像出力ジョブ開始コマンドDP
S_StartJobを生成する(ステップS324)。
On the other hand, when the image supply device 2 does not have the extended function that can use the image optimization function, and when the extended function of the image optimization function that can be used by itself (the image supply device 2) is used in the image output device 1. If it is not possible, the image output job start command DP without inserting the extension tag
An S_StartJob is generated (step S324).

そして、このようにして生成された画像出力ジョブ開始コマンドDPS_StartJ
obは、画像供給装置2から通信路3を介して画像出力装置1に伝送される(ステップS
325)。
Then, the image output job start command DPS_StartJ thus generated is generated.
Ob is transmitted from the image supply device 2 to the image output device 1 via the communication path 3 (Step S).
325).

この画像出力ジョブ開始コマンドDPS_StartJobを供給された画像出力装置
1がこのPIM機能を使用した画像出力に対応した機種である場合、その画像出力装置1
は、imageOptimize2タグが、PIM機能を使用した画像出力を指定するた
めのタグであると認識し、そのタグで指定される値に基づいて、PIM機能を使用した画
像出力(例えば印刷)を行うか否かを判定する。そして、PIM機能を使用した画像出力
を行うと判定した場合、画像出力装置1は、画像供給装置2から取得した画像ファイルの
出力制御データに基づいて、画像ファイル中の画像データに対して画像処理を実行し、画
像処理後の画像データに基づき画像を出力(例えば印刷)する。
If the image output device 1 supplied with the image output job start command DPS_StartJob is a model that supports image output using this PIM function, the image output device 1
Recognizes that the imageOptimize2 tag is a tag for specifying image output using the PIM function, and performs image output (for example, printing) using the PIM function based on the value specified by the tag. It is determined whether or not. If it is determined that the image output using the PIM function is performed, the image output device 1 performs image processing on the image data in the image file based on the output control data of the image file acquired from the image supply device 2. Is executed, and an image is output (for example, printed) based on the image data after the image processing.

一方、画像出力装置1がこのPIM機能を使用した画像出力に対応した機種ではない場
合、拡張タグを含まない画像出力ジョブ開始コマンドを受信し、その画像出力ジョブ開始
コマンドに基づき、拡張されていない機能を使用して画像出力を行う。
On the other hand, if the image output device 1 is not a model that supports image output using the PIM function, it receives an image output job start command that does not include an extension tag, and based on the image output job start command, the image output job is not expanded. Perform image output using the function.

また、誤って、画像出力装置1がこのPIM機能を使用した画像出力に対応した機種で
はない場合に、拡張タグを含む画像出力ジョブ開始コマンドを受信したときには、その画
像出力装置1は、拡張タグであるimageOptimize2タグを未定義のタグであ
ると認識し、XMLの規則に従ってそのタグを含む要素を無視し、画像データに基づき画
像を出力(例えば印刷)する。その際、画像出力装置1は、既存のタグであるimage
Optimizeタグで指定される値に基づいて、画像最適化を行うか否かを判定し、画
像最適化を行うと判定した場合、画像ファイル中の画像データに対して所定の画像処理を
実行し、画像処理後の画像データに基づき画像を出力するようにしてもよい。
If the image output device 1 is not a model corresponding to the image output using the PIM function and receives an image output job start command including an extension tag by mistake, the image output device 1 Is recognized as an undefined tag, the element including the tag is ignored according to the rules of XML, and an image is output (for example, printed) based on the image data. At this time, the image output device 1 uses the existing tag “image”.
Based on the value specified by the Optimize tag, it is determined whether to perform image optimization. If it is determined that image optimization is to be performed, predetermined image processing is performed on image data in the image file, An image may be output based on the image data after the image processing.

このようにして、PIM機能の使用が指定された場合、次のようにして制御情報である
XMLスクリプトを生成するようにしてもよい。なお、PIM機能以外の拡張機能の場合
についても、同様にして、拡張機能の使用可否を事前に判定してから、拡張タグを使用す
るようにしても勿論よい。
In this way, when the use of the PIM function is specified, an XML script that is control information may be generated as follows. In the case of an extension function other than the PIM function, it is of course possible to similarly use the extension tag after determining in advance whether or not the extension function can be used.

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

図1は、画像出力システムの参考構成例1を示すブロック図である。FIG. 1 is a block diagram showing a reference configuration example 1 of the image output system. 図2は、画像出力システムの参考構成例1において、画像出力装置と画像供給装置との間で使用されるプロトコルの一例を示す図である。FIG. 2 is a diagram illustrating an example of a protocol used between the image output device and the image supply device in Reference Example 1 of the image output system. 図3は、画像出力システムの参考構成例1における画像出力装置としてのプリンタの構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration example of a printer as an image output device in Reference Configuration Example 1 of the image output system. 図4は、画像出力システムの参考構成例1における画像出力装置の有する複数の機能の関係を示す図である。FIG. 4 is a diagram showing a relationship between a plurality of functions of the image output device in Reference Example 1 of the image output system. 図5は、画像出力システムの参考構成例1における画像供給装置としてのデジタルカメラの構成例を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration example of a digital camera as an image supply device in Reference Configuration Example 1 of the image output system. 図6は、画像出力システムの参考構成例1における画像供給装置の有する複数の機能の関係を示す図である。FIG. 6 is a diagram illustrating a relationship between a plurality of functions of the image supply device in Reference Example 1 of the image output system. 図7は、画像出力システムの参考構成例1における、DPSプロトコルレベルでの画像出力処理を説明する図である。FIG. 7 is a view for explaining image output processing at the DPS protocol level in Reference Example 1 of the image output system. 図8は、画像出力システムの参考構成例1における、画像転送プロトコルレベルでの画像出力処理を説明する図である。FIG. 8 is a diagram for explaining image output processing at the image transfer protocol level in Reference Example 1 of the image output system. 図9は、参考構成例1において使用される画像出力ジョブ開始コマンドのXMLスクリプトの一例を示す図である。FIG. 9 is a diagram illustrating an example of an XML script of an image output job start command used in Reference Configuration Example 1. 図10は、参考構成例1において使用されるファイル取得コマンドのXMLスクリプトの一例を示す図である。FIG. 10 is a diagram illustrating an example of an XML script of a file acquisition command used in Reference Configuration Example 1. 図11は、DPOF方式のディレクトリ構造を説明する図である。FIG. 11 is a diagram illustrating a directory structure of the DPOF method. 図12は、DPOF方式のジョブ指定ファイルAUTPRINT.MRKの一例を示す図である。FIG. 12 shows a job specification file AUTPRINT. It is a figure showing an example of MRK. 図13は、画像出力システムの参考構成例2における、DPSプロトコルレベルでの画像出力処理を説明する図である。FIG. 13 is a diagram for describing image output processing at the DPS protocol level in Reference Example 2 of the image output system. 図14は、画像出力システムの参考構成例2における、画像転送プロトコルレベルでの画像出力処理を説明する図である。FIG. 14 is a diagram illustrating an image output process at the image transfer protocol level in Reference Example 2 of the image output system. 図15は、参考構成例2において使用されるオブジェクトID取得コマンドのXMLスクリプトの一例を示す図である。FIG. 15 is a diagram illustrating an example of an XML script of an object ID acquisition command used in Reference Configuration Example 2. 図16は、参考構成例2において使用されるオブジェクトID取得コマンドの応答のXMLスクリプトの一例を示す図である。FIG. 16 is a diagram illustrating an example of an XML script of a response to an object ID acquisition command used in Reference Configuration Example 2. 図17は、参考構成例2において使用されるファイル情報取得コマンドのXMLスクリプトの一例を示す図である。FIG. 17 is a diagram illustrating an example of an XML script of a file information acquisition command used in Reference Configuration Example 2. 図18は、参考構成例2において使用されるファイル情報取得コマンドの応答のXMLスクリプトの一例を示す図である。FIG. 18 is a diagram illustrating an example of an XML script of a response to a file information acquisition command used in Reference Configuration Example 2. 図19は、画像出力システムの参考構成例3における画像出力装置についての状態遷移図である。FIG. 19 is a state transition diagram of the image output device in the reference configuration example 3 of the image output system. 図20は、画像出力システムの参考構成例3の正常時の印刷処理において行われる、リカバリのための処理について説明するフローチャートである。FIG. 20 is a flowchart illustrating a recovery process performed in the normal printing process of Reference Configuration Example 3 of the image output system. 図21は、画像出力システムの参考構成例3のリカバリ処理を説明するフローチャートである。FIG. 21 is a flowchart illustrating a recovery process of Reference Configuration Example 3 of the image output system. 図22は、参考構成例3において使用されるジョブ状態通知コマンドのXMLスクリプトの一例を示す図である。FIG. 22 is a diagram illustrating an example of an XML script of a job status notification command used in Reference Configuration Example 3. 図23は、参考構成例3において使用されるデバイス状態通知コマンドのXMLスクリプトの一例を示す図である。FIG. 23 is a diagram illustrating an example of an XML script of a device status notification command used in Reference Configuration Example 3. 図24は、参考構成例3において、ジョブ再開時の印刷ジョブ開始コマンドのXMLスクリプトの一例を示す図である。FIG. 24 is a diagram illustrating an example of an XML script of a print job start command at the time of job restart in Reference Configuration Example 3. 図25は、画像出力システムの参考構成例3における印刷再開を説明する図である。FIG. 25 is a diagram for explaining printing restart in Reference Configuration Example 3 of the image output system. 図26は、画像出力システムの参考構成例3のリカバリ処理の他の一例について説明するフローチャートである。FIG. 26 is a flowchart illustrating another example of the recovery processing of Reference Example 3 of the image output system. 図27は、画像出力システムの参考構成例3のリカバリ処理のさらに他の一例について説明するフローチャートである。FIG. 27 is a flowchart illustrating still another example of the recovery processing of Reference Example 3 of the image output system. 図28は、PIM機能において使用される画像処理制御データのパラメータとその値の一例を示す図である。FIG. 28 is a diagram illustrating an example of parameters and values of image processing control data used in the PIM function. 図29は、画像ファイルの構成例を示す図である。FIG. 29 is a diagram illustrating a configuration example of an image file. 図30は、画像ファイルにおけるメーカノートのデータ構造を示す図である。FIG. 30 is a diagram showing a data structure of a maker note in an image file. 図31は、図30に示すメーカノート内に定義されているプリントマッチングデータのデータ構造を示す図である。FIG. 31 is a diagram showing a data structure of print matching data defined in the maker note shown in FIG. 図32は、実施の形態1に係る画像出力システムにおける画像供給装置により生成される画像出力ジョブ開始コマンドの一例を示す図である。FIG. 32 is a diagram illustrating an example of an image output job start command generated by the image supply device in the image output system according to the first embodiment. 図33は、実施の形態1に係る画像出力システムにおける画像供給装置により生成される画像出力ジョブ開始コマンドの他の例を示す図である。FIG. 33 is a diagram illustrating another example of the image output job start command generated by the image supply device in the image output system according to Embodiment 1. 図34は、PIF機能の概念を説明する図である。FIG. 34 is a diagram illustrating the concept of the PIF function. 図35は、PIF印刷の場合の印刷画像の一例を示す図である。FIG. 35 is a diagram illustrating an example of a print image in the case of PIF printing. 図36は、レイアウト定義ファイルの一例を示す図である。FIG. 36 is a diagram illustrating an example of the layout definition file. 図37は、実施の形態2に係る画像出力システムにおける画像供給装置により生成される印刷ジョブ開始コマンドの一例を示す図である。FIG. 37 is a diagram illustrating an example of a print job start command generated by the image supply device in the image output system according to the second embodiment. 図38は、実施の形態5に係る画像出力システムにおいて画像出力装置に接続する際の画像供給装置の電源モードに設定処理を説明するフローチャートである。FIG. 38 is a flowchart illustrating a process of setting the power supply mode of the image supply device when connecting to the image output device in the image output system according to the fifth embodiment. 図39は、画像出力システムの参考構成例5を示すブロック図である。FIG. 39 is a block diagram showing Reference Configuration Example 5 of the image output system. 図40は、本発明の実施の形態7に係る画像出力装置の構成を示すブロック図である。FIG. 40 is a block diagram showing a configuration of an image output device according to Embodiment 7 of the present invention. 図41は、実施の形態1に係る画像出力システムにおいて画像処理機能の一種である画像最適化機能の拡張機能としてPIM機能が存在する場合の、制御情報であるXMLスクリプトの生成について説明するフローチャートである。FIG. 41 is a flowchart illustrating generation of an XML script that is control information when the PIM function exists as an extended function of the image optimization function, which is a type of image processing function, in the image output system according to the first embodiment. is there.

符号の説明Explanation of reference numerals

1,1−1〜1−n,201 画像出力装置
2,2−1,202 画像供給装置
3,3−1〜3−n,203,205 通信路
11 通信回路(第1の通信手段)
12 通信制御部(第1の通信手段)
13 出力制御部(出力手段)
14 出力機構(出力手段)
21 通信回路(第2の通信手段)
22 通信制御部(第2の通信手段)
24 記録媒体
62 XMLスクリプト生成機能(第1のスクリプト生成手段)
92 XMLスクリプト生成機能(第2のスクリプト生成手段)
1,1-1 to 1-n, 201 Image output device 2,2-1,202 Image supply device 3,3-1 to 3-n, 203,205 Communication path 11 Communication circuit (first communication means)
12 communication control unit (first communication means)
13. Output control unit (output means)
14. Output mechanism (output means)
21 communication circuit (second communication means)
22 Communication control unit (second communication means)
24 Recording Medium 62 XML Script Generation Function (First Script Generation Means)
92 XML script generation function (second script generation means)

Claims (37)

画像データを格納する画像供給装置と、上記画像データに基づき画像を出力する画像出
力装置と、上記画像供給装置と上記画像出力装置とを直接接続する通信路とを備える画像
出力システムにおいて、
上記画像出力装置は、上記画像供給装置において所定の機能についての拡張機能が使用
可能か否かを確認し、所定の画像出力制御プロトコルに基づき、画像出力に係る制御情報
をマークアップ言語で記述した一連のスクリプトとして上記通信路を介して送受する第1
の通信手段と、上記画像供給装置および上記画像出力装置の両方においてその拡張機能が
使用可能である場合には、上記スクリプト内でその機能を表現する既存のタグを残しその
拡張機能に応じた拡張タグを挿入して、上記スクリプトを生成する第1のスクリプト生成
手段とを備え、
上記画像供給装置は、上記画像出力装置において所定の機能についての拡張機能が使用
可能か否かを確認し、上記画像出力制御プロトコルに基づき、画像出力に係る制御情報を
マークアップ言語で記述した一連のスクリプトとして上記通信路を介して送受する第2の
通信手段と、上記画像供給装置および上記画像出力装置の両方においてその拡張機能が使
用可能である場合には、上記スクリプト内でその機能を表現する既存のタグを残しその拡
張機能に応じた拡張タグを挿入して、上記スクリプトを生成する第2のスクリプト生成手
段とを備えること、
を特徴とする画像出力システム。
An image supply system that stores image data, an image output device that outputs an image based on the image data, and an image output system that includes a communication path that directly connects the image supply device and the image output device,
The image output device confirms whether or not an extended function for a predetermined function can be used in the image supply device, and describes control information related to image output in a markup language based on a predetermined image output control protocol. The first to send and receive via the above communication path as a series of scripts
In the case where the extended function is available in both the communication means and the image supply device and the image output device, the existing tag expressing the function is retained in the script and the extension is performed according to the extended function. First script generating means for generating the script by inserting a tag,
The image supply device checks whether or not an extended function for a predetermined function can be used in the image output device. Based on the image output control protocol, a series of control information related to image output is described in a markup language. If the extended function can be used in both the image supply device and the image output device as the second communication means for transmitting and receiving via the communication path as the script, the function is expressed in the script. Second script generation means for generating the script by leaving an existing tag to be inserted and inserting an extension tag corresponding to the extended function,
An image output system characterized by the following.
画像データを格納する画像供給装置に通信路を介して接続される通信回路と、
上記画像データに基づき画像を出力する出力手段と、
上記通信回路を制御して、上記画像供給装置において所定の機能についての拡張機能が
使用可能か否かを確認し、画像出力に係る制御情報をマークアップ言語で記述した一連の
スクリプトとして上記通信路を介して送受する通信制御部と、
上記画像供給装置および上記画像出力装置の両方においてその拡張機能が使用可能であ
る場合には、上記スクリプト内でその機能を表現する既存のタグを残しその拡張拡張に応
じた拡張タグを挿入して、上記スクリプトを生成するスクリプト生成手段と、
を備えることを特徴とする画像出力装置。
A communication circuit connected to an image supply device that stores image data via a communication path;
Output means for outputting an image based on the image data,
The communication circuit is controlled to check whether an extended function for a predetermined function can be used in the image supply device, and control information relating to image output is written as a series of scripts described in a markup language. A communication control unit for transmitting and receiving via
If the extended function can be used in both the image supply device and the image output device, insert the extended tag corresponding to the extended extension while leaving the existing tag expressing the function in the script. Script generating means for generating the script,
An image output device comprising:
前記スクリプト生成手段は、前記スクリプト内で前記既存のタグより下位のネストレベ
ルに、前記拡張タグを挿入して前記スクリプトを生成することを特徴とする請求項2記載
の画像出力装置。
3. The image output device according to claim 2, wherein the script generation unit generates the script by inserting the extension tag at a lower nest level than the existing tag in the script.
前記スクリプト生成手段は、前記スクリプト内で拡張される機能の処理対象となる画像
データに関連付けて前記拡張タグを挿入して、前記スクリプトを生成することを特徴とす
る請求項2記載の画像出力装置。
3. The image output apparatus according to claim 2, wherein the script generation unit generates the script by inserting the extension tag in association with image data to be processed by a function extended in the script. .
前記マークアップ言語は、文書型を追加定義可能であることを特徴とする請求項2から
請求項4のうちのいずれか1項記載の画像出力装置。
The image output device according to claim 2, wherein the markup language can additionally define a document type.
前記通信制御部は、画像出力に係る制御情報として、画像出力処理における制御コマン
ド、その制御コマンドに対する応答、および装置の状態の通知を、マークアップ言語で記
述した一連のスクリプトとして送受することを特徴とする請求項2から請求項5のうちの
いずれか1項記載の画像出力装置。
The communication control unit transmits and receives, as control information related to image output, a control command in an image output process, a response to the control command, and a notification of a device state as a series of scripts described in a markup language. The image output device according to any one of claims 2 to 5, wherein
前記通信制御部は、前記マークアップ言語で記述した一連のスクリプトとして、画像出
力の対象となる画像データを含まず、画像出力に係る制御情報のみを含むスクリプトを送
受することを特徴とする請求項2から請求項6のうちのいずれか1項記載の画像出力装置
The communication control unit transmits and receives, as a series of scripts described in the markup language, a script including only control information related to image output without including image data to be output as an image. The image output device according to any one of claims 2 to 6.
前記スクリプト生成手段は、前記画像出力制御プロトコルにおける所定の機能が拡張さ
れている場合、前記スクリプトにおいて、その機能を表現する既存のタグより先に前記拡
張タグを配置して前記制御情報を生成することを特徴とする請求項2記載の画像出力装置
When a predetermined function in the image output control protocol is extended, the script generation unit generates the control information by arranging the extended tag in the script before an existing tag expressing the function. 3. The image output device according to claim 2, wherein:
前記拡張タグは、ベンダ固有の画像処理を指定するためのタグであることを特徴とする
請求項2記載の画像出力装置。
3. The image output device according to claim 2, wherein the extension tag is a tag for designating image processing unique to a vendor.
前記出力手段は、前記拡張タグにより画像処理が指定された場合に、画像データのファ
イルに記録された画像処理制御データに基づいて、その画像データに対して画像処理を施
し、画像処理後の画像データに基づき画像を出力することを特徴とする請求項9記載の画
像出力装置。
The output means, when the image processing is designated by the extension tag, performs image processing on the image data based on the image processing control data recorded in the file of the image data, and outputs the processed image. The image output device according to claim 9, wherein the image output device outputs an image based on the data.
前記出力手段は、前記拡張タグにより画像処理が指定された場合に、所定の画像処理の
うちの前記拡張タグにより指定された画像処理を画像データに対して施し、画像処理後の
画像データに基づき画像を出力することを特徴とする請求項9記載の画像出力装置。
The output means, when image processing is specified by the extension tag, performs image processing specified by the extension tag of the predetermined image processing on the image data, based on the image data after the image processing The image output device according to claim 9, which outputs an image.
前記拡張タグは、フレーム画像と前記画像データの画像とを組み合わせて印刷するフレ
ーム挿入印刷処理を指定するタグであることを特徴とする請求項2記載の画像出力装置。
3. The image output apparatus according to claim 2, wherein the extension tag is a tag for designating a frame insertion printing process for printing by combining a frame image and the image of the image data.
前記拡張タグは、フレーム画像のための画像データを指定するタグであることを特徴と
する請求項12記載の画像出力装置。
13. The image output device according to claim 12, wherein the extension tag is a tag for specifying image data for a frame image.
前記出力手段は、前記拡張タグによりフレーム挿入印刷処理が指定された場合に、少な
くとも前記画像データの画像と前記フレーム画像とを合成し、合成後の画像を出力するこ
とを特徴とする請求項12または請求項13記載の画像出力装置。
13. The image processing apparatus according to claim 12, wherein the output unit combines at least the image of the image data and the frame image when a frame insertion print process is designated by the extension tag, and outputs the combined image. An image output device according to claim 13.
前記拡張タグは、フレーム画像のための画像データおよび背景画像のための画像データ
を指定するタグであることを特徴とする請求項12または請求項13記載の画像出力装置
14. The image output device according to claim 12, wherein the extension tag is a tag for specifying image data for a frame image and image data for a background image.
前記出力手段は、前記拡張タグによりフレーム挿入印刷処理が指定された場合に、前記
画像データの画像、前記フレーム画像および前記背景画像を合成し、合成後の画像を出力
することを特徴とする請求項15記載の画像出力装置。
The output means combines the image of the image data, the frame image, and the background image when the frame insertion print processing is designated by the extension tag, and outputs the combined image. Item 16. The image output device according to Item 15.
前記通信制御部は、前記制御情報で指定された印刷用紙のサイズと用紙タイプとを調べ
、指定されたサイズで指定された用紙タイプの用紙が有り得ない場合に、所定の前記制御
情報を前記拡張タグを使用して生成し、その制御情報を前記画像供給装置に送信すること
を特徴とする請求項2記載の画像出力装置。
The communication control unit checks the size and the paper type of the printing paper specified by the control information, and expands the predetermined control information when there is no paper of the specified paper type in the specified size. The image output device according to claim 2, wherein the image output device is generated using a tag, and the control information is transmitted to the image supply device.
画像データを格納する記録媒体と、
上記画像データに基づき画像を出力する画像出力装置に通信路を介して接続される通信
回路と、
上記通信回路を制御して、上記画像出力装置において所定の機能についての拡張機能が
使用可能か否かを確認し、画像出力に係る制御情報をマークアップ言語で記述した一連の
スクリプトとして上記通信路を介して送受する通信制御部と、
上記画像供給装置および上記画像出力装置の両方においてその拡張機能が使用可能であ
る場合には、上記スクリプト内でその機能を表現する既存のタグを残しその拡張機能に応
じた拡張タグを挿入して、上記スクリプトを生成するスクリプト生成手段と、
を備えることを特徴とする画像供給装置。
A recording medium for storing image data,
A communication circuit connected via a communication path to an image output device that outputs an image based on the image data,
The communication circuit is controlled to check whether an extended function for a predetermined function is available in the image output device, and control information relating to image output is described as a series of scripts described in a markup language. A communication control unit for transmitting and receiving via
If the extended function can be used in both the image supply device and the image output device, insert the extended tag corresponding to the extended function while leaving the existing tag expressing the function in the script. Script generating means for generating the script,
An image supply device comprising:
前記スクリプト生成手段は、前記スクリプト内で前記既存のタグより下位のネストレベ
ルに、前記拡張タグを挿入して前記スクリプトを生成することを特徴とする請求項18記
載の画像供給装置。
19. The image supply device according to claim 18, wherein the script generation unit generates the script by inserting the extension tag into a lower nest level than the existing tag in the script.
前記スクリプト生成手段は、前記スクリプト内で拡張される機能の処理対象となる画像
データに関連付けて前記拡張タグを挿入して、前記スクリプトを生成することを特徴とす
る請求項18記載の画像供給装置。
19. The image supply apparatus according to claim 18, wherein the script generation unit generates the script by inserting the extension tag in association with image data to be processed by a function extended in the script. .
前記マークアップ言語は、文書型を追加定義可能であることを特徴とする請求項18か
ら請求項20のうちのいずれか1項記載の画像供給装置。
21. The image supply apparatus according to claim 18, wherein the markup language can additionally define a document type.
前記通信制御部は、画像出力に係る制御情報として、画像出力処理における制御コマン
ド、その制御コマンドに対する応答、および装置の状態の通知を、マークアップ言語で記
述した一連のスクリプトとして送受することを特徴とする請求項18から請求項21のう
ちのいずれか1項記載の画像供給装置。
The communication control unit transmits and receives, as control information related to image output, a control command in an image output process, a response to the control command, and a notification of a device state as a series of scripts described in a markup language. The image supply device according to any one of claims 18 to 21, wherein:
前記通信制御部は、前記マークアップ言語で記述した一連のスクリプトとして、画像出
力の対象となる画像データを含まず、画像出力に係る制御情報のみを含むスクリプトを送
受することを特徴とする請求項18から請求項22のうちのいずれか1項記載の画像供給
装置。
The communication control unit transmits and receives, as a series of scripts described in the markup language, a script including only control information related to image output without including image data to be output as an image. The image supply device according to any one of claims 18 to 22.
前記スクリプト生成手段は、前記画像出力制御プロトコルにおける所定の機能が拡張さ
れている場合、前記スクリプトにおいて、その機能を表現する既存のタグより先に前記拡
張タグを配置して前記制御情報を生成することを特徴とする請求項18記載の画像供給装
置。
When a predetermined function in the image output control protocol is extended, the script generation unit generates the control information by arranging the extended tag in the script before an existing tag expressing the function. 19. The image supply device according to claim 18, wherein:
前記拡張タグは、ベンダ固有の画像処理を指定するためのタグであることを特徴とする
請求項18記載の画像供給装置。
19. The image supply apparatus according to claim 18, wherein the extension tag is a tag for designating a vendor-specific image processing.
前記拡張タグは、フレーム画像と前記画像データの画像とを組み合わせて印刷するフレ
ーム挿入印刷処理を指定するタグであることを特徴とする請求項18記載の画像供給装置
19. The image supply apparatus according to claim 18, wherein the extension tag is a tag for specifying a frame insertion printing process for printing by combining a frame image and an image of the image data.
前記拡張タグは、フレーム画像のための画像データを指定するタグであることを特徴と
する請求項26記載の画像供給装置。
27. The image supply device according to claim 26, wherein the extension tag is a tag for specifying image data for a frame image.
前記拡張タグは、フレーム画像のための画像データおよび背景画像のための画像データ
を指定するタグであることを特徴とする請求項26記載の画像出力装置。
27. The image output device according to claim 26, wherein the extension tag is a tag for specifying image data for a frame image and image data for a background image.
画像データに基づき画像を出力する画像出力装置に内蔵されるコンピュータに実行され
る制御プログラムにおいて、そのコンピュータを、
上記画像出力装置に接続され画像データを供給する画像供給装置において所定の機能に
ついての拡張機能が使用可能か否かを確認し、その画像供給装置に通信路を介して接続さ
れる通信回路を制御して、画像出力に係る制御情報をマークアップ言語で記述した一連の
スクリプトとして上記通信路を介して送受する通信制御部、および
上記画像供給装置および上記画像出力装置の両方においてその拡張機能が使用可能であ
る場合には、上記スクリプト内でその機能を表現する既存のタグを残しその拡張機能に応
じた拡張タグを挿入して、上記スクリプトを生成するスクリプト生成手段として、
機能させることを特徴とする制御プログラム。
In a control program that is executed by a computer built in an image output device that outputs an image based on image data,
The image supply device connected to the image output device to supply image data checks whether an extended function for a predetermined function is available, and controls a communication circuit connected to the image supply device via a communication path. A communication control unit that transmits and receives control information related to image output as a series of scripts described in a markup language via the communication path; and the extended function is used in both the image supply device and the image output device. If possible, leave an existing tag expressing the function in the script, insert an extension tag corresponding to the extension, and generate the script as script generation means.
A control program characterized by functioning.
画像データを格納する画像供給装置に内蔵されるコンピュータに実行される制御プログ
ラムにおいて、そのコンピュータを、
上記画像供給装置に接続され画像データに基づき画像を出力する画像出力装置において
所定の機能についての拡張機能が使用可能か否かを確認し、その画像出力装置に通信路を
介して接続される通信回路を制御して、画像出力に係る制御情報をマークアップ言語で記
述した一連のスクリプトとして上記通信路を介して送受する通信制御部、および
上記画像供給装置および上記画像出力装置の両方においてその拡張機能が使用可能であ
る場合には、上記スクリプト内でその機能を表現する既存のタグを残しその拡張機能に応
じた拡張タグを挿入して、上記スクリプトを生成するスクリプト生成手段として、
機能させることを特徴とする制御プログラム。
In a control program executed by a computer built in an image supply device that stores image data, the computer is
The image output device connected to the image supply device outputs an image based on the image data. The image output device checks whether an extended function of a predetermined function can be used. The communication connected to the image output device via a communication path. A communication control unit that controls a circuit to transmit and receive control information related to image output as a series of scripts described in a markup language via the communication path; and an extension thereof in both the image supply device and the image output device. If the function is available, leave an existing tag expressing the function in the script, insert an extension tag corresponding to the extended function, and generate the script as script generation means.
A control program characterized by functioning.
画像データを格納する画像供給装置と、上記画像データに基づき画像を出力する画像出
力装置との間で、通信路を介して制御情報を直接送受して、上記画像供給装置に格納され
た画像データに基づく画像を上記画像出力装置により出力する画像出力方法において、
上記画像供給装置と上記画像出力装置との間で所定の機能についての拡張機能が使用可
能か否かを相互に確認し、
上記画像供給装置および上記画像出力装置の両方においてその拡張機能が使用可能であ
る場合には、所定の画像出力制御プロトコルに基づき画像出力に係る制御情報を生成する
際に、その機能を表現する既存のタグを残しその拡張機能に応じた拡張タグを挿入して、
マークアップ言語で記述した一連のスクリプトを生成し、
生成した上記スクリプトを上記制御情報として上記通信路を介して上記画像供給装置と
上記画像出力装置との間で送受すること、
を特徴とする画像出力方法。
An image supply device that stores image data, and an image output device that outputs an image based on the image data, directly transmits and receives control information via a communication path, and stores the image data stored in the image supply device. An image output method for outputting an image based on the image output device,
Mutually confirming whether an extended function for a predetermined function is available between the image supply device and the image output device,
If the extended function is available in both the image supply device and the image output device, an existing function that expresses the function is used when generating control information related to image output based on a predetermined image output control protocol. , And insert the extension tag corresponding to the extension,
Generate a series of scripts written in markup language,
Sending and receiving the generated script as the control information between the image supply device and the image output device via the communication path,
An image output method characterized by the following.
画像供給装置より通信路を介して受信される制御情報に基づいて、前記画像供給装置に
格納される画像データを画像出力する画像出力方法において、前記制御情報を受信する工
程と、前記受信された制御情報に基づいて前記画像データを画像出力する工程と、を有し、
前記制御情報の一部が画像出力に関するマークアップ言語で記述された一連のスクリプト
であって、前記画像データの画像出力に関する拡張機能を挿入可能になっていることを特
徴とする画像処理方法。
An image output method for outputting image data stored in the image supply device based on control information received from the image supply device via a communication path, wherein the step of receiving the control information; and Outputting an image of the image data based on the control information,
An image processing method, wherein a part of the control information is a series of scripts described in a markup language relating to image output, and an extended function relating to image output of the image data can be inserted.
画像供給装置において、画像出力に係わる制御情報を生成する制御情報生成方法であって、
部が画像出力にかかわるマークアップ言語で記述された一連のスクリプトである制御情報を
生成する工程と、前記制御情報に前記画像出力に関する拡張機能を挿入する工程と、
を有することを特徴とする制御情報生成方法。
In an image supply device, a control information generation method for generating control information related to image output,
A step of generating control information, which is a series of scripts described in a markup language related to image output, and a step of inserting an extended function related to the image output into the control information,
A control information generation method, comprising:
画像データを格納する画像供給装置と、上記画像データに基づき画像を出力する画像出力
装置との間で通信路を介して直接送受信される制御情報であって、制御情報は一部が画像出
力に関するマークアップ言語で記述された一連のスクリプトであって、前記画像データの画
像出力に関する拡張機能を挿入可能になっていることを特徴とする制御情報。
Control information that is directly transmitted and received via a communication path between an image supply device that stores image data and an image output device that outputs an image based on the image data, and the control information is partially related to image output. Control information, which is a series of scripts described in a markup language, wherein an extended function relating to image output of the image data can be inserted.
画像供給装置より通信路を介して受信される制御情報に基づいて、前記画像供給装置に格
納される画像データを画像出力する画像出力方法において、前記制御情報を受信する工程と、
設定されている補正情報を読み出す工程と、前記受信された制御情報と、補正情報の少なく
とも一方に基づいて前記画像データを画像出力する工程と、を有し、前記制御情報の一部が
画像出力に関するマークアップ言語で記述された一連のスクリプトであって、前記画像デー
タの画像出力に関する拡張機能を挿入可能になっていることを特徴とする画像処理方法。
Based on the control information received from the image supply device via the communication path, in an image output method for outputting an image of the image data stored in the image supply device, the step of receiving the control information,
Reading out the set correction information; and outputting the image data based on at least one of the received control information and the correction information. A series of scripts described in a markup language related to the image processing method, wherein an extended function related to image output of the image data can be inserted.
画像供給装置において、画像出力に係わる制御情報を生成する制御情報生成方法であって、
一部が画像出力にかかわるマークアップ言語で記述された一連のスクリプトである制御情報
を生成する工程と、格納される画像データのうち拡張機能を挿入する画像データを選択する
工程と、を有し、前記拡張機能を前記制御情報に自動的に挿入することを特徴とする制御情
報生成方法。
In an image supply device, a control information generation method for generating control information related to image output,
A step of generating control information that is a series of scripts partially described in a markup language related to image output, and a step of selecting image data into which an extended function is inserted from stored image data. And automatically inserting the extended function into the control information.
画像供給装置において、画像出力に係わる制御情報を生成する制御情報生成方法であって、
一部が画像出力にかかわるマークアップ言語で記述された一連のスクリプトである制御情報
を生成する工程と、格納される画像データのうち拡張機能を挿入する画像データを選択する
工程と、選択された前記画像データに対して複数種の拡張機能を設定する工程と、を有し、
前記設定された拡張機能を前記制御情報に自動的に挿入することを特徴とする制御情報生成
方法。
In an image supply device, a control information generation method for generating control information related to image output,
A step of generating control information that is a series of scripts partially described in a markup language related to image output; a step of selecting image data into which an extended function is to be inserted from stored image data; Setting a plurality of types of extended functions for the image data,
A control information generating method, wherein the set extended function is automatically inserted into the control information.
JP2003411853A 2002-12-12 2003-12-10 Direct printing system, printer, digital camera, control program, and image printing method Expired - Lifetime JP4314990B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003411853A JP4314990B2 (en) 2002-12-12 2003-12-10 Direct printing system, printer, digital camera, control program, and image printing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002360983 2002-12-12
JP2003070527 2003-03-14
JP2003411853A JP4314990B2 (en) 2002-12-12 2003-12-10 Direct printing system, printer, digital camera, control program, and image printing method

Publications (3)

Publication Number Publication Date
JP2004303194A true JP2004303194A (en) 2004-10-28
JP2004303194A5 JP2004303194A5 (en) 2006-09-07
JP4314990B2 JP4314990B2 (en) 2009-08-19

Family

ID=33424734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003411853A Expired - Lifetime JP4314990B2 (en) 2002-12-12 2003-12-10 Direct printing system, printer, digital camera, control program, and image printing method

Country Status (1)

Country Link
JP (1) JP4314990B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703904B2 (en) 2005-11-01 2010-04-27 Seiko Epson Corporation Printing apparatus and control method of printing apparatus
JP2010198074A (en) * 2009-02-23 2010-09-09 Sato Knowledge & Intellectual Property Institute Data update device and printer device
US8553252B2 (en) 2006-01-05 2013-10-08 Canon Kabushiki Kaisha Communication apparatus, printing apparatus, printing system including said communication apparatus and printing apparatus, and method of controlling same
JP2015138368A (en) * 2014-01-22 2015-07-30 株式会社リコー Job processing system, job processing method and program
WO2015146075A1 (en) * 2014-03-28 2015-10-01 Canon Kabushiki Kaisha Imaging apparatus, imaging method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703904B2 (en) 2005-11-01 2010-04-27 Seiko Epson Corporation Printing apparatus and control method of printing apparatus
US8553252B2 (en) 2006-01-05 2013-10-08 Canon Kabushiki Kaisha Communication apparatus, printing apparatus, printing system including said communication apparatus and printing apparatus, and method of controlling same
JP2010198074A (en) * 2009-02-23 2010-09-09 Sato Knowledge & Intellectual Property Institute Data update device and printer device
JP2015138368A (en) * 2014-01-22 2015-07-30 株式会社リコー Job processing system, job processing method and program
WO2015146075A1 (en) * 2014-03-28 2015-10-01 Canon Kabushiki Kaisha Imaging apparatus, imaging method, and program
JP2015192378A (en) * 2014-03-28 2015-11-02 キヤノン株式会社 Imaging apparatus, imaging method and program
US9992438B2 (en) 2014-03-28 2018-06-05 Canon Kabushiki Kaisha Imaging apparatus and imaging method for setting a method for coding image data output from an imaging apparatus

Also Published As

Publication number Publication date
JP4314990B2 (en) 2009-08-19

Similar Documents

Publication Publication Date Title
JP2009259268A (en) Image output system, image supply device, image output device, control program, and image output method
EP1429532B1 (en) Image processing method and image processing system using the same
US7400421B2 (en) Image processing method and image processing system using the same
US8094197B2 (en) Image recording system having a conversion apparatus
US7426051B2 (en) Image processing method and image processing system using the same
US20060092457A1 (en) Printing method using ordering file, and print system, image supply device and print device employing the method
JP2004254296A (en) Recording device, communication device, recording system, and its control method
JP2004328725A (en) Image output system and method thereof
JP4595496B2 (en) Image output system, image output apparatus, and image output method
JP2010187368A (en) Image-capturing apparatus and control method thereof, and program
JP4314990B2 (en) Direct printing system, printer, digital camera, control program, and image printing method
JP4374916B2 (en) Image input device, image output device, and image output system
JP2004320716A (en) Image output system, image supply apparatus, image output apparatus, and image output method
JP2004237713A (en) System, device, and method for image output picture supply device, and control program
JP2004318818A (en) Image output system, image output apparatus, image supply apparatus and control program
JP2004303192A (en) Image output system, image supplier, image output device, control program and image output method
JP4360402B2 (en) Image output system, image supply apparatus, image output apparatus, and image output method
JP2004240944A (en) Image supply device, digital camera, control program and printing resumption control method
JP4400307B2 (en) Image output system, image supply apparatus, image output apparatus, computer program, image supply method, and image output method
JP2004351793A (en) Image output unit, image output system, and image output method
JP4993008B2 (en) Image supply device
JP2004310613A (en) Image data transfer system, and its 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
JP2005004457A (en) Image output system, image output device, and terminal device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060725

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

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090319

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090511

R150 Certificate of patent or registration of utility model

Ref document number: 4314990

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120529

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140529

Year of fee payment: 5

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term