[go: up one dir, main page]

JP4110133B2 - Image supply apparatus and control method thereof - Google Patents

Image supply apparatus and control method thereof Download PDF

Info

Publication number
JP4110133B2
JP4110133B2 JP2004325618A JP2004325618A JP4110133B2 JP 4110133 B2 JP4110133 B2 JP 4110133B2 JP 2004325618 A JP2004325618 A JP 2004325618A JP 2004325618 A JP2004325618 A JP 2004325618A JP 4110133 B2 JP4110133 B2 JP 4110133B2
Authority
JP
Japan
Prior art keywords
image
file
storage medium
handle
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004325618A
Other languages
Japanese (ja)
Other versions
JP2005167998A (en
JP2005167998A5 (en
Inventor
史博 後藤
顕季 山田
孝郎 愛知
弘光 平林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2004325618A priority Critical patent/JP4110133B2/en
Publication of JP2005167998A publication Critical patent/JP2005167998A/en
Publication of JP2005167998A5 publication Critical patent/JP2005167998A5/ja
Application granted granted Critical
Publication of JP4110133B2 publication Critical patent/JP4110133B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)
  • Storing Facsimile Image Data (AREA)

Description

本発明は画像供給装置及びその制御方法に関するものである。   The present invention relates to an image supply apparatus and a control method thereof.

昨今のプリンタは十分な印刷品位を有し、例えば自然画を印刷した場合であっても写真に匹敵するまでの品位となってきている。   Recent printers have sufficient print quality. For example, even when a natural image is printed, the quality is comparable to that of a photograph.

一方、デジタルスチルカメラ(以下、DSCという)の撮像画素数も数百万画素備えるのが当たり前のこととなり、その撮影画像の品位も銀塩カメラに匹敵するようになってきている。   On the other hand, it is natural that digital still cameras (hereinafter referred to as DSC) have millions of imaging pixels, and the quality of captured images is comparable to silver halide cameras.

このような背景から、デジタルカメラで撮影した画像を、パーソナルコンピュータ(以下、PCという)を介することなしに、プリンタで印刷することが望まれ、現に、幾つかの製品が登場してきている。   From such a background, it is desired to print an image photographed with a digital camera with a printer without using a personal computer (hereinafter referred to as a PC), and several products have appeared.

その1つは、DCSには脱着可能な記憶媒体(一般に、フラッシュメモリを利用した各種メモリカードがある)が利用されている点に着目し、その記憶媒体をDSCから取り出し、プリンタが備えるスロットにその記憶媒体をセットすることで、画像データを読出し、印刷するものである。   One of them is that DCS uses removable storage media (generally, there are various types of memory cards using flash memory), and the storage media is taken out from the DSC and placed in the slot of the printer. By setting the storage medium, image data is read out and printed.

記憶媒体に格納されている全画像を1部ずつ印刷するのであれば、記憶媒体に記憶されている画像を無条件に順次読出してはプリントすれば良いので、格別技術的な問題は発生しない。   If all the images stored in the storage medium are printed one by one, the images stored in the storage medium can be read out unconditionally sequentially and printed, so no special technical problem occurs.

しかしながら、現実には、プリントしたい画像とそうでない画像の選択、或いは/及び、個々の画像についてのプリント枚数の指定、という要望がある。   However, in reality, there is a demand for selecting an image to be printed and an image not to be printed, and / or designating the number of prints for each image.

これに対する1つの解決策として、注目されているものにDPOF(Digital Print Order Format)という技術がある。簡単に説明すると次の通りである。   One solution for this is a technology called DPOF (Digital Print Order Format). Briefly described is as follows.

一般に、DSCには撮影した画像を確認するため、及び、各種メニューを表示するため液晶表示器が備えられており、各種キー(ボタン)も用意されている。これを利用し、印刷させたい画像の選択とその印刷部数を指定する。この指定内容が、画像を記憶している記憶媒体にファイルとして格納する。プリンタにこの記憶媒体をセットした場合には、上記の指示内容を記述したファイルに従って、画像のプリント処理する。   In general, a DSC is provided with a liquid crystal display for confirming a photographed image and for displaying various menus, and various keys (buttons) are also prepared. Using this, the image to be printed is selected and the number of copies to be printed is designated. This designated content is stored as a file in the storage medium storing the image. When this storage medium is set in the printer, an image print process is performed in accordance with the file in which the above instruction content is described.

以上がDPOFの概要であるが、DSC及びプリンタの双方がDPOFに対応していれば、上記の機能が実現できることになる。   The above is the outline of DPOF. If both the DSC and the printer support DPOF, the above functions can be realized.

上記の如く、DSC側で生成される印刷要求内容はDPOF形式のテキストファイルとなる。必然、DSCはより多機能化が進み、単純に印刷させたい画像、印刷する部数以外の情報を記述するようになることが予想される。たとえば、印刷する画像のサイズ、印刷する記録紙のサイズの指定、1枚の記録紙に複数の画像を所望とするレイアウトにする指定等の、より細かい指定が考えられる。   As described above, the print request content generated on the DSC side is a DPOF format text file. Naturally, DSC is expected to become more multifunctional and to describe information other than the image to be simply printed and the number of copies to be printed. For example, more detailed designations such as designation of the size of the image to be printed, designation of the size of the recording paper to be printed, and designation of a desired layout of a plurality of images on one recording paper can be considered.

しかしながら、ここで問題になるのは、DSCを用いてかかる設定を行えるとしても、それはプリンタとは無関係のところで行われる点である。たとえば、DPOF対応のプリンタであっても、セットされている記録紙のサイズには様々なものが有るわけであるから、当然、DSCで設定したものとは異なることもある。   However, the problem here is that even if such a setting can be made using the DSC, it is performed at a place unrelated to the printer. For example, even in a DPOF compatible printer, there are various sizes of recording paper set, so that it may naturally be different from that set in the DSC.

上記のような問題点は、先に説明したように、DSCでの印刷にかかる設定はプリンタとは無縁のところで行われるところに起因する。   As described above, the above-described problem is caused by the fact that the setting for printing with DSC is performed at a place unrelated to the printer.

そこで更なる対応が望まれる。その解決策の1つが、DSCが通常備えるPC接続用インタフェースであるUSB(Universal Serial Bus)等を利用し、DSCとプリンタとをダイレクトに通信できるようにするものである。   Therefore, further measures are desired. One of the solutions is to enable direct communication between the DSC and the printer by using a USB (Universal Serial Bus) which is a PC connection interface normally provided in the DSC.

かかる環境が構築できれば、DSC側ではプリンタの能力を知ることができ、その能力(或いは機能、状態と言っても良い)を反映させた上で印刷する際の条件を設定できることになり、上記のような問題は一気に解決する。ただし、この場合、次のような問題点を解決する必要がある。
1.DSCに接続されるプリンタは一意ではないためプリンタの能力を反映させた状態でDSCのユーザーインターフェースを構築することは困難である。なぜならプリンタの能力における項目(例えば使用できる記録媒体のサイズ、種類、印刷品位、レイアウトなど)が独立でなく、リンクしている項目がプリンタ毎に異なるからである。
2.通常DPOFファイルはCFカードなどのリムーバブルメディアに格納されている。また、DPOF仕様のサブセットをサポートしているカメラも多く、他のカメラでリムーバブルメディアに格納されたDPOFファイルを解析できるか否かはそのカメラでサポートしているDPOF仕様のサブセットによってしまう。
If such an environment can be constructed, the DSC side can know the capabilities of the printer, and the conditions for printing can be set after reflecting the capabilities (or functions and states). Such a problem is solved at a stretch. However, in this case, it is necessary to solve the following problems.
1. Since the printer connected to the DSC is not unique, it is difficult to construct the DSC user interface in a state that reflects the capabilities of the printer. This is because items in the capabilities of the printer (for example, usable recording medium size, type, print quality, layout, etc.) are not independent, and linked items differ for each printer.
2. Usually, the DPOF file is stored in a removable medium such as a CF card. Many cameras support a subset of the DPOF specification, and whether or not a DPOF file stored in a removable medium can be analyzed by another camera depends on the subset of the DPOF specification supported by the camera.

上記2つの理由から例えばDSCに「DPOFプリント」ボタンなどを構築しプリンタにDPOFファイルを送信してしまうことにより、プリンタでDPOFファイルを解析することも可能であるが、インターフェース上で使用するファイル指定方法とDPOFファイルでのファイル指定方法とが必ずしも同一ではない。どちらもプリント指示であるのに、印刷指定の方法がそれぞれ違うと、使用者に混乱が生じる。   For the above two reasons, it is possible to analyze the DPOF file by the printer by constructing the “DPOF Print” button etc. in the DSC and sending the DPOF file to the printer, but specifying the file to be used on the interface The method and the file designation method in the DPOF file are not necessarily the same. Although both are print instructions, if the print designation methods are different, the user is confused.

また、DSCが備えるインタフェースでもってダイレクトにプリンタと物理的に接続したとしても、そのインタフェース上で使用されるプロトコルで如何にしてDSC側の個々の画像を特定するかも問題になる。   In addition, even if the DSC is physically connected directly to the printer using the interface provided by the DSC, how to specify individual images on the DSC side by the protocol used on the interface becomes a problem.

先に説明したように、DPOFでは印刷指示内容を記述はテキスト形式であるので、画像を指定する記述は、その画像のファイルが格納されているディレクトリ名とファイル名を直接用いている。   As described above, in DPOF, the description of the print instruction content is in a text format. Therefore, the description for designating an image directly uses the name of the directory in which the image file is stored and the file name.

一方、DSCとプリンタとを接続した際には、PTP(Picture Transfer Protocol)に従うことになる。ここで問題になるのは、仮に、DSC側でDPOF形式の印刷指示内容を記述したファイルをプリンタに転送したとしても、プリンタは上記のようなパス名で記述されたファイルをDSCに要求することはできない点である。なぜなら、PTPにおいては、ファイルをパス名でもって指定するコマンドが用意されていないからである。   On the other hand, when the DSC and the printer are connected, PTP (Picture Transfer Protocol) is followed. The problem here is that even if the DSC transfers the file describing the DPOF format print instruction content to the printer, the printer requests the DSC for the file described by the path name as described above. It is a point that cannot be done. This is because PTP does not provide a command for designating a file with a path name.

ここまではDPOFについて記載しているが、HTMLやXMLなどのマークアップランゲージのように画像ファイルをパス名でリンクを張って画面を構成するような記述言語に対しても同様のことが言える。   Although DPOF has been described so far, the same can be said for a description language in which a screen is configured by linking image files with path names, such as markup languages such as HTML and XML.

本発明はかかる問題点に鑑みなされたものであり、画像供給装置側に画像のファイル名で記述した印刷要求リストを有する場合であっても、画像供給装置との間でハンドラを使って画像転送を行わせることを可能ならしめる技術を提供しようとするものである。   The present invention has been made in view of such a problem, and even when the image supply apparatus has a print request list described by the file name of the image, image transfer is performed with the image supply apparatus using a handler. It is intended to provide technology that makes it possible to perform

かかる課題を解決するため、例えば本発明の画像供給装置は以下の構成を備える。すなわち、
画像処理装置と直接通信して、前記画像処理装置から、処理対象の画像データを特定する為に番号付けられたハンドルを用いた送信要求を受け付け、当該ハンドルでもって特定された画像を前記画像処理装置に供給する画像供給装置であって、
前記画像処理装置と接続する前に、予め処理対象の画像を指定する指定手段と、
前記指定手段で指定した前記処理対象の画像を指定する情報として、前記所定のハンドルとは異なる画像指定情報でもって記憶媒体に記憶させる記憶制御手段と、
前記画像処理装置と通信可能になった場合、前記記憶媒体に前記画像指定情報が存在するか否かを判断する判断手段と、
該判断手段が、前記記憶媒体に前記画像指定情報が存在しないと判断した場合、画像指定情報が無いことを表示する表示手段と、
前記判断手段が、前記記憶媒体に前記画像指定情報が存在すると判断した場合、当該画像指定情報を前記所定のハンドルに変換する変換手段と、
該変換手段で変換された情報を前記画像処理装置に出力する出力手段と
を有することを特徴とする画像供給装置。
In order to solve this problem, for example, an image supply apparatus of the present invention has the following configuration. That is,
Directly communicates with the image processing apparatus, receives a transmission request from the image processing apparatus using a numbered handle for specifying image data to be processed, and processes the image specified by the handle with the image processing An image supply device for supplying to the device,
Before connecting to the image processing apparatus, a designation means for designating an image to be processed in advance;
Storage control means for storing in a storage medium image designation information different from the predetermined handle as information for designating the processing target image designated by the designation means;
Determining means for determining whether or not the image designation information exists in the storage medium when communication with the image processing apparatus is enabled;
Display means for displaying that there is no image designation information when the judgment means determines that the image designation information does not exist in the storage medium;
A conversion unit that converts the image designation information into the predetermined handle when the determination unit determines that the image designation information exists in the storage medium ;
An image supply apparatus comprising: output means for outputting information converted by the conversion means to the image processing apparatus.

本発明によれば、例えば画像のファイル名等の、所定のハンドラとは異なる情報で記述した印刷要求リストがあったとき、所定のハンドルでもって画像データを転送するシステムであっても、意図した通りの画像の転送及び印刷を行わせることが可能になる。   According to the present invention, even when there is a print request list described with information different from a predetermined handler such as an image file name, the system that transfers image data with a predetermined handle is intended. It is possible to transfer and print street images.

以下、添付図面に従って本発明に係る実施形態を説明する。   Embodiments according to the present invention will be described below with reference to the accompanying drawings.

<基本構成の説明>
先ず、本実施形態における基本部分について説明する。なお、以下、プリンタがデジタルスチルカメラ(DSC)とダイレクトに通信可能な環境において、DSC内の記憶媒体に記憶された映像を印刷する方式をフォトダイレクトプリント方式と呼ぶことにする。
<Description of basic configuration>
First, the basic part in the present embodiment will be described. Hereinafter, a method for printing video stored in a storage medium in the DSC in an environment where the printer can directly communicate with a digital still camera (DSC) will be referred to as a photo direct printing method.

図1は実施形態におけるフォトダイレクトプリンタ(PDプリンタという)の装置外観図であり、図2はDSCをプリンタにダイレクト接続する様を示している。   FIG. 1 is an external view of an apparatus of a photo direct printer (referred to as a PD printer) in the embodiment, and FIG. 2 illustrates a direct connection of a DSC to a printer.

図1において、このPDプリント装置1000は、ホストコンピュータ(PC)からデータを受信して印刷する通常のPCプリンタとしての機能と、メモリカードなどの記憶媒体に記憶されている画像データを直接読取って印刷する機能(DPOF機能)、更には、以下に説明するデジタルカメラとダイレクトに通信することで、DSCからの画像データを受信して印刷する機能を備えている。   In FIG. 1, this PD printing apparatus 1000 directly reads image data stored in a storage medium such as a memory card and a function as a normal PC printer that receives data from a host computer (PC) and prints it. A function for printing (DPOF function) and a function for receiving and printing image data from the DSC by directly communicating with a digital camera described below are provided.

PDプリント装置1000の外殻をなす本体は、ケースM1001、上ケース1002、アクセスカバー1003及び排出トレイ1004の外装部材を有している。また、下ケース1001は、PDプリント装置1000の略下半部を、上ケース1002は本体の略上半部をそれぞれ形成しており、両ケースの組合せによって内部に後述の各機構を収納する収納空間を有する中空体構造をなし、その上面部及び前面部にはそれぞれ開口部が形成されている。さらに、排出トレイ1004は、その一端部が下ケース1001に回転自在に保持され、その回転によって下ケース1001の前面部に形成される開口部を開閉させ得るようになっている。このため、記録動作を実行させる際には、排出トレイ1004を前面側へと回転させて開口部を開成させることにより、ここから記録シートが排出可能となると共に、排出された記録シートを順次積載し得るようになっている。また、排紙トレイ1004には、2枚の補助トレイ1004a,1004bが収納されており、必要に応じて各トレイを手前に引き出すことにより、用紙の支持面積を3段階に拡大、縮小させ得るようになっている。   The main body that forms the outer shell of the PD printing apparatus 1000 includes exterior members such as a case M1001, an upper case 1002, an access cover 1003, and a discharge tray 1004. The lower case 1001 forms a substantially lower half of the PD printing apparatus 1000, and the upper case 1002 forms a substantially upper half of the main body. A combination of both cases accommodates the mechanisms described below. A hollow body structure having a space is formed, and openings are formed in the upper surface portion and the front surface portion, respectively. Further, one end of the discharge tray 1004 is rotatably held by the lower case 1001, and an opening formed on the front surface of the lower case 1001 can be opened and closed by the rotation. For this reason, when executing the recording operation, the discharge tray 1004 is rotated to the front side to open the opening, so that the recording sheets can be discharged from here and the discharged recording sheets are sequentially stacked. It has come to be able to do. In addition, the discharge tray 1004 stores two auxiliary trays 1004a and 1004b. By pulling out each tray as needed, the sheet support area can be expanded or reduced in three stages. It has become.

アクセスカバー1003は、その一端部が上ケース1002に回転自在に保持され、上面に形成される開口部を開閉し得るようになっており、このアクセスカバー1003を開くことによって本体内部に収納されている記録ヘッドカートリッジ(不図示)あるいはインクタンク(不図示)等の交換が可能となる。なお、ここでは特に図示しないが、アクセスカバー1003を開閉させると、その裏面に形成された突起がカバー開閉レバーを回転させるようになっており、そのレバーの回転位置をマイクロスイッチなどで検出することにより、アクセスカバーの開閉状態を検出し得るようになっている。   One end of the access cover 1003 is rotatably held by the upper case 1002 so that an opening formed on the upper surface can be opened and closed. By opening the access cover 1003, the access cover 1003 is accommodated inside the main body. It is possible to replace the recording head cartridge (not shown) or the ink tank (not shown). Although not particularly shown here, when the access cover 1003 is opened and closed, the protrusion formed on the back surface rotates the cover opening and closing lever, and the rotation position of the lever is detected by a micro switch or the like. Thus, the open / closed state of the access cover can be detected.

また、上ケース1002の上面には、電源キー1005が押下可能に設けられている。また、上ケース1002には、各種キースイッチ等を備える操作パネル1010が設けられている。1007は自動給送部で、記録シートを装置本体内へと自動的に給送する。1008は紙間選択レバーで、プリントヘッドと記録シートとの間隔を調整するためのレバーである。1009はカードスロットで、ここにメモリカードを装着可能なアダプタが挿入される。このメモリカードとしては、例えばコンパクトフラッシュ(登録商標)メモリ(R)、スマートメディア(R)、メモリスティック(R)等があり、用途としては、DSCからメモリカードを取り出し、それをセットすることで、これまでのDPOFによる印刷機能として用いるものである。   A power key 1005 is provided on the upper surface of the upper case 1002 so that it can be pressed. The upper case 1002 is provided with an operation panel 1010 having various key switches and the like. An automatic feeding unit 1007 automatically feeds the recording sheet into the apparatus main body. Reference numeral 1008 denotes a paper interval selection lever, which is a lever for adjusting the interval between the print head and the recording sheet. Reference numeral 1009 denotes a card slot into which an adapter capable of mounting a memory card is inserted. As this memory card, for example, there are a Compact Flash (registered trademark) memory (R), a smart media (R), a memory stick (R), and the like. By using the memory card from the DSC and setting it, This is used as a printing function by the conventional DPOF.

1012は後述するデジタルカメラを接続するための端子である。通常、デジタルカメラはパーソナルコンピュータ(PC)と接続する手段として、USB(Universal Serial Bus)を使用することが多いので、本実施形態でも端子1012はUSBインターフェース形態を採用したが、勿論、これ以外の通信手段でも構わない。また、デジタルカメラとの接続は、その接続作業を簡便なものとするため、図示の如く、前面から行えるようにした。   Reference numeral 1012 denotes a terminal for connecting a digital camera to be described later. Usually, a digital camera often uses a USB (Universal Serial Bus) as a means for connecting to a personal computer (PC). Therefore, in this embodiment, the terminal 1012 adopts a USB interface. Communication means may be used. In addition, the connection with the digital camera can be performed from the front as shown in the drawing in order to simplify the connection work.

一方、本PDプリント装置1000はパーソナルコンピュータ(PC)からの印刷をも実現するためのインターフェースを備える。通常、PCとは一旦接続した後は、格別な事情がない限りは接続状態が維持されたままであるので、そのインターフェース端子は背面に設けた。このPC間との接続インターフェースはセントロニクス社仕様のパラレルインターフェース、USBインターフェース等でよいが、少なくとも双方向通信機能をサポートするものとした。   On the other hand, the PD printing apparatus 1000 includes an interface for realizing printing from a personal computer (PC). Normally, once connected to the PC, the connection state is maintained unless there are special circumstances, so the interface terminal is provided on the back side. The connection interface between the PCs may be a Centronics specification parallel interface, USB interface, or the like, but at least supports a bidirectional communication function.

図2は本実施の形態に係るPDプリント装置1000とデジタルカメラ3012とを接続した状態を示している。   FIG. 2 shows a state in which the PD printing apparatus 1000 according to this embodiment and the digital camera 3012 are connected.

図において、ケーブル5000(USBケーブル)は、PDプリント装置1000のコネクタ1012に接続するためのコネクタ5001と、デジタルカメラ3012の接続用コネクタ5003と接続するためのコネクタ5002とを備えている。なお、デジタルカメラ3012をPCと接続する場合には、PCが有するUSBコネクタに、上記コネクタ5001を接続することで、撮像した画像をPCに転送することができる。   In the figure, a cable 5000 (USB cable) includes a connector 5001 for connecting to the connector 1012 of the PD printing apparatus 1000 and a connector 5002 for connecting to the connection connector 5003 of the digital camera 3012. Note that when the digital camera 3012 is connected to a PC, the captured image can be transferred to the PC by connecting the connector 5001 to a USB connector included in the PC.

また、デジタルカメラ3012は、内部のメモリに保存している画像データを、接続用コネクタ5003を介して出力可能に構成されている。なお、デジタルカメラ3012の構成としては、内部に記憶手段としてのメモリを備えるものや、取外し可能なメモリを装着するためのスロットを備えたものなど、種々の構成を採用することができる。このように、図2に示すケーブル5000を介してPDプリント装置1000とデジタルカメラ3012とを接続することにより、デジタルカメラ3012からの画像データを直接PDプリント装置1000で印刷することができる。   The digital camera 3012 is configured to be able to output image data stored in an internal memory via a connection connector 5003. Note that as the configuration of the digital camera 3012, various configurations such as a configuration having a memory as a storage unit inside and a configuration having a slot for mounting a removable memory can be employed. As described above, by connecting the PD printing apparatus 1000 and the digital camera 3012 via the cable 5000 shown in FIG. 2, the image data from the digital camera 3012 can be directly printed by the PD printing apparatus 1000.

図3は実施形態におけるPDプリンタ1000の制御系のブロック構成図である。   FIG. 3 is a block diagram of a control system of the PD printer 1000 according to the embodiment.

図示において、1は装置全体の制御を司るCPU、2はCPU1の動作処理手順(プログラム)やフォントを記憶しているROM、3はCPU1のワークエリアとして使用されるRAMである。4は操作パネル(図1における1010に相当)である。5はPCとの接続を行うためのインターフェースであり、7はデジタルスチルカメラとの接続を行うインターフェース(USBのホスト側)である。9はメモリカードを搭載したアダプタ(PCMCIA)10を接続可能なカードインターフェースであり、このPDプリンタ1000がDPOF、すなわち、デジタルカメラで撮影され、記憶されたメモリカード内の印刷指示に関する記述ファイルを読取って、それに従って印刷するためのものである。6はプリンタエンジン部であり、実施形態では、熱エネルギーを利用してインク液を吐出するプリントエンジンであるが、記録方式はこれにより限定されるものではない。また、11は拡張ディバイスを接続するためのインターフェースであり、詳細は後述するが、オプションとして用意される画像を表示するための表示装置等が接続できるようになっている。   In the figure, 1 is a CPU that controls the entire apparatus, 2 is a ROM that stores an operation processing procedure (program) of the CPU 1 and fonts, and 3 is a RAM that is used as a work area of the CPU 1. Reference numeral 4 denotes an operation panel (corresponding to 1010 in FIG. 1). Reference numeral 5 denotes an interface for connecting to a PC, and reference numeral 7 denotes an interface (USB host side) for connecting to a digital still camera. Reference numeral 9 denotes a card interface to which an adapter (PCMCIA) 10 equipped with a memory card can be connected. The PD printer 1000 reads a description file relating to a print instruction in a memory card that is photographed and stored by DPOF, that is, a digital camera. For printing accordingly. A printer engine unit 6 is a print engine that discharges ink liquid using thermal energy in the embodiment, but the recording method is not limited to this. Reference numeral 11 denotes an interface for connecting an expansion device. As will be described in detail later, a display device or the like for displaying an image prepared as an option can be connected.

図4はDSC(デジタルスチルカメラ)3012のブロック構成図である。同図において、31はDSC全体の制御を司るCPUであり、32はCPU31の処理手順(プログラム)を記憶しているROMである。33はCPU33のワークエリアとして使用されるRAMであり、34は各種操作を行うスイッチ群である。35は液晶表示器であり、撮像した画像を確認したり、各種設定を行う際のメニューを表示するために使用される。36は光学ユニットであり、主としてレンズ及びその駆動系で構成される。37はCCD素子であり、38はCPU31の制御下において光学ユニット36を制御するドライバである。39は記憶媒体40(コンパクトフラッシュ(登録商標)メモリカード、スマートメディア等)を接続するためのコネクタであり、41はPC或いは実施形態におけるPDプリンタ1000と接続するためのUSBインターフェース(USBのスレーブ側)である。   FIG. 4 is a block diagram of a DSC (digital still camera) 3012. In the figure, 31 is a CPU that controls the entire DSC, and 32 is a ROM that stores the processing procedure (program) of the CPU 31. Reference numeral 33 denotes a RAM used as a work area for the CPU 33, and reference numeral 34 denotes a switch group for performing various operations. A liquid crystal display 35 is used for confirming a captured image and displaying a menu for performing various settings. An optical unit 36 is mainly composed of a lens and its driving system. 37 is a CCD element, and 38 is a driver for controlling the optical unit 36 under the control of the CPU 31. Reference numeral 39 denotes a connector for connecting a storage medium 40 (compact flash (registered trademark) memory card, smart media, etc.), and 41 is a USB interface (USB slave side) for connecting to a PC or the PD printer 1000 in the embodiment. ).

以上が実施形態におけるPDプリンタ及びDSCの構成の説明である。なお、DSC3012内からメモリカードを抜き出し、それをPDプリンタ1000のスロット1009にセットし、そのメモリカード内に記憶されている印刷指示ファイルに従って印刷する、これまでのDPOF形式の印刷については、それに準拠した動作を行うものとしその説明については省略する。本実施形態では、DSC3012とPDプリンタ1000とがケーブル5000で接続され、ダイレクトに通信できる状況にある場合について説明する。   The above is the description of the configuration of the PD printer and DSC in the embodiment. It should be noted that the memory card is extracted from the DSC 3012, set in the slot 1009 of the PD printer 1000, and printed according to the print instruction file stored in the memory card. The description will be omitted, and the description thereof will be omitted. In the present embodiment, a case will be described in which the DSC 3012 and the PD printer 1000 are connected by a cable 5000 and can communicate directly.

図5はこのダイレクト接続した際の、接続レイヤーを示している。図示、上側がDSC(デジタルカメラ)側のレイヤーを示し、下側がPDプリンタ側のレイヤーを示している。   FIG. 5 shows a connection layer when this direct connection is established. In the drawing, the upper side shows a DSC (digital camera) side layer, and the lower side shows a PD printer side layer.

なお、図示の場合、通信手段として、SCSI、ワイヤレスのTCP/IPについても示されているが、ここではUSBインタフェースでの接続について説明することとする。   In the case shown in the figure, SCSI and wireless TCP / IP are also shown as communication means, but here, connection with a USB interface will be described.

さて、図示のレイヤ構造において、USBによる通信の場合、周知のPTP(Picture Transfer Protocol)を用いることになる。実施形態では、DSC3012は、PCと接続するために用意されているUSBインタフェースを利用し、それをPDプリンタに接続するものであるので、DSC3012はUSBスレーブ、PDプリンタ1000はUSBホストとして機能することになる。すなわち、接続状態にある場合、システムとしての制御はPDプリンタ1000側にあることになる点に注意されたい。   In the illustrated layer structure, in the case of USB communication, a well-known PTP (Picture Transfer Protocol) is used. In the embodiment, since the DSC 3012 uses a USB interface prepared for connecting to a PC and connects it to a PD printer, the DSC 3012 functions as a USB slave and the PD printer 1000 functions as a USB host. become. That is, it should be noted that when in the connected state, the control as the system is on the PD printer 1000 side.

図6はPTPによる一般的な通信手順を示している。理解を容易にするため、実施形態の場合にはUSBホストがPDプリンタ、DSC3012がUSBスレーブであるので、図示でもかかる関係でしめした。   FIG. 6 shows a general communication procedure using PTP. In order to facilitate understanding, in the case of the embodiment, the USB host is a PD printer, and the DSC 3012 is a USB slave.

まず手順1400で、PDプリンタ装置1000からDSC3012に対してPTPコマンドGetDeviceInfoが送信される。これは、この段階では、PDプリンタは、接続されているデバイスが不明であるので、それを問い合わせるものであると言えば判りやすい。これに対してDSC3012は、DeviceInfo Datasetにより、DSC3012に関する情報をPDプリンタ装置1000に送信(通知)する。   First, in step 1400, the PTP command GetDeviceInfo is transmitted from the PD printer 1000 to the DSC 3012. At this stage, it is easy to understand that the PD printer inquires about the connected device because the connected device is unknown. In response to this, the DSC 3012 transmits (notifies) information related to the DSC 3012 to the PD printer 1000 using DeviceInfo Dataset.

次に手順1402で、PTPコマンドOpenSessionにより、DSC3012をリソースとして割り当て、必要に応じてデータオブジェクトにハンドルをアサインしたり、特別な初期化を行うための手順が開始される。   Next, in step 1402, the DSC 3012 is allocated as a resource by the PTP command OpenSession, and a procedure for assigning a handle to a data object or performing special initialization as required is started.

手順1403では、DSC3012に対してハンドルを要求する。これは、PDプリンタ装置1000にとっては、DSC3012が有する未知のオブジェクト(撮影画像やスクリプト等である)を特定するため、DSC3012が所有するオブジェクトにユニークに付けられた番号を要求するものである。この要求により、手順1404で、DSC3012に保持されているハンドルリストが返送される(何個のオブジェクトがあるかを通知することと等価)。   In step 1403, a handle is requested from the DSC 3012. This is because the PD printer 1000 requests a number uniquely assigned to an object owned by the DSC 3012 in order to identify an unknown object (such as a photographed image or script) that the DSC 3012 has. In response to this request, the handle list held in the DSC 3012 is returned in step 1404 (equivalent to notifying how many objects are present).

以上の結果、PDプリンタ装置1000は、DSCが幾つのオブジェクト(DPOFによる印刷指示ファイル(以下、DPOFファイルという)、撮像画像ファイル)を保持しているのかが判明する。   As a result, the PD printer 1000 can determine how many objects the DSC holds (printing instruction file (hereinafter referred to as DPOF file) by DPOF, captured image file).

この後、PDプリンタ側が、i番目のオブジェクトが何であるのかを問い合わせる場合には、i番目のオブジェクトに関する属性情報(そのオブジェクトが画像であるのか、スクリプト等のテキストであるのか等)をGetObjectinfo(i)で要求し、その結果をObjectinfo i Datasetとして受信する(手順1405)。   Thereafter, when the PD printer inquires what the i-th object is, the attribute information about the i-th object (whether the object is an image or text such as a script) is obtained by GetObjectinfo (i ) And the result is received as Objectinfo i Dataset (step 1405).

この手順を繰り返すことで、PDプリンタ1000側は、DSC3012が所有している全てのオブジェクトの属性を知ることができる。   By repeating this procedure, the PD printer 1000 can know the attributes of all objects owned by the DSC 3012.

また、属性が画像データである場合には、その画像データを示すハンドルを用いて、GetObjectをPDプリンタが発行し、その結果、SendObjectInfoとして受信することで画像データを得ることができる(手順1406)。   If the attribute is image data, the PD printer issues a GetObject using the handle indicating the image data, and as a result, the image data can be obtained by receiving it as SendObjectInfo (step 1406). .

さて、上記のような手順で互いに情報の授受を行うことができるが、ここで問題となるのは、PTPにおいては、PDプリンタ1000は、印刷対象となる画像ファイルを、DSC3012が有するメモリカードにおけるパス名を用いて直接要求することができない点である。   Information can be exchanged with each other in the above-described procedure, but the problem here is that in PTP, the PD printer 1000 uses the memory card of the DSC 3012 to store the image file to be printed. It is a point that cannot be directly requested using a path name.

より分かりやすく説明すると次の通りである。   It is as follows to explain more clearly.

DSC3012のUIを用いて、印刷させる画像の指定、及びその印刷部数の設定が既に行われているものとする。すなわち、対応するDPOFファイルがDSC3012のメモリカードに格納済みの場合である(ただし、PDプリンタと接続した後に、印刷にかかる設定を行う場合については後述する)。なお、DPOFファイルを作成するための処理そのものは公知であるので、ここではその詳細は省略する。   It is assumed that the designation of an image to be printed and the setting of the number of copies have already been performed using the UI of the DSC 3012. That is, this is the case where the corresponding DPOF file has already been stored in the memory card of the DSC 3012 (however, the setting for printing will be described later after connection with the PD printer). Since the process itself for creating the DPOF file is known, the details are omitted here.

かかる状況において、PDプリンタ1000は、GetObjectInfoでもって、どのオブジェクトがDPOFファイル(テキスト形式であることは既に説明した)のハンドルかを知ることができる。従って、そのハンドルを用いて、そのファイルの内容をGetObjectでもって得ることは可能である。しかしながら、PDプリンタ1000が、このファイルを受信したとしても、そのファイルに記述されている画像を特定する記述は、メモリカード40のルートからたどるディレクトリ名+ディレクトリ名+…+ファイル名となっており、このファイルを直接要求する術がPTPには存在しない。すなわち、ハンドルを用いて取得する以外にはないので、DPOFファイルを生かした印刷が行えない。   In such a situation, the PD printer 1000 can know which object is the handle of the DPOF file (which has already been described in the text format) with GetObjectInfo. Therefore, it is possible to get the contents of the file with GetObject using the handle. However, even if the PD printer 1000 receives this file, the description for specifying the image described in the file is the directory name + directory name + ... + file name traced from the root of the memory card 40. There is no way in PTP to request this file directly. That is, since there is nothing other than acquisition using the handle, printing using the DPOF file cannot be performed.

そこで、本実施形態ではかかる問題を解決する。以下にその解決する例を説明する。   Therefore, this embodiment solves this problem. An example for solving the problem will be described below.

<第1の例>
図7は、DSC3012で作成されたDPOFのファイルの内容の一例を示している。
<First example>
FIG. 7 shows an example of the contents of a DPOF file created by the DSC 3012.

図示の場合、印刷対象の画像はそれぞれ、
../DCIM/105GANON/IMG_0572.JPG
../DCIM/105GANON/IMG_0573.JPG
で示されいる2行である。
In the case of illustration, each image to be printed is
../DCIM/105GANON/IMG_0572.JPG
../DCIM/105GANON/IMG_0573.JPG
It is two lines indicated by.

この意味は、「DCIM」というディレクトリがあって、その中に「105GANON」という更なるディレクトリがあり、その中のファイル名「IMG_0572.JPG」或いは「IMG_0573.JPG」が印刷対象として指定されたことを示している。   This means that there is a directory called “DCIM”, in which there is a further directory called “105GANON”, and the file name “IMG_0572.JPG” or “IMG_0573.JPG” is designated as the print target. Is shown.

PDプリンタはこのような記述のファイルをDSC3012からもらっても、先に説明した理由により、そのファイルを要求することはできない、
そこで、実施形態におけるDSC3012は、PDプリンタ1000とダイレクト通信が行える状態になった際であって、内部のメモリカード40にDPOFファイルが存在した場合、その中で記述されているパス付きファイル名を、内部でのハンドルを示す情報に変換した新たなファイル(以下、印刷指示書或いはお印刷指示書ファイルという)を作成するものとした。
Even if the PD printer receives a file with such a description from the DSC 3012, it cannot request the file for the reason described above.
Therefore, when the DSC 3012 in the embodiment is in a state where direct communication with the PD printer 1000 can be performed, and the DPOF file exists in the internal memory card 40, the file name with a path described therein is used. Then, a new file (hereinafter referred to as a print instruction document or a print instruction file) converted into information indicating an internal handle is created.

たとえば、
../DCIM/105GANON/IMG_0572.JPG を ハンドル「00000001」
../DCIM/105GANON/IMG_0573.JPG を ハンドル「00000002」
とした場合、上記変換処理を行うことで、図8に示すファイル(テキスト)を印刷指示書として作成する。図示において、<image (00000001)>や<image (00000002)>で示されたものが、ファイルを特定する際のハンドラに変換した部分を示している。
For example,
../DCIM/105GANON/IMG_0572.JPG handle "00000001"
../DCIM/105GANON/IMG_0573.JPG handle "00000002"
In this case, the file (text) shown in FIG. 8 is created as a print instruction by performing the conversion process. In the figure, <image (00000001)> and <image (00000002)> indicate a part converted into a handler for specifying a file.

この変換後の印刷指示書ファイルも1つのオブジェクトであることに違いはなく、そのオブジェクトに対してもハンドラが割り当てられるので、この変換のタイミングとしては、DSC3012がPDプリンタ1000と接続した初期段階とする。たとえば、図6で示すと、PDプリンタからGetDeviceInfoやOpenSessionを受信した、その変換処理を開始する。実施形態では、OpenSessionを受信したことをトリガにして、DSC3012内部のCPU31がDPOFファイルの変換処理を行うとした。   There is no difference that the converted print instruction file is also an object, and a handler is also assigned to that object, so the timing of this conversion is the initial stage when the DSC 3012 is connected to the PD printer 1000. To do. For example, as shown in FIG. 6, when GetDeviceInfo or OpenSession is received from the PD printer, the conversion process is started. In the embodiment, the CPU 31 in the DSC 3012 performs the conversion process of the DPOF file using the reception of OpenSession as a trigger.

PDプリンタ1000から見れば、テキストの属性を有するファイルが少なくとも2つDSC3012に存在するように見えるので(DPOFファイルと、その変換後である印刷指示書のファイル)、それぞれの内容をGetObjectコマンドで受信し、その中に、特定のコマンドを示す文字列(たとえば図8における<command(DPS_Job)>)がある方を利用し、印刷を行う。   From the perspective of the PD printer 1000, it appears that there are at least two files having the text attribute in the DSC 3012 (DPOF file and print instruction file after conversion), and the contents of each are received by the GetObject command. Then, printing is performed using a character string indicating a specific command (for example, <command (DPS_Job)> in FIG. 8).

すなわち、図8に示す形式のデータを受信することで、ユーザが印刷要求した画像データはハンドル「00000001」、「00000002」を用いて、GetObjectコマンドで受信できる、すなわち、意図した画像を印刷することが可能となり、先に説明したような問題は一気に解決する。   That is, by receiving the data in the format shown in FIG. 8, the image data requested for printing by the user can be received by the GetObject command using the handles “00000001” and “00000002”, that is, the intended image is printed. Will be possible, and the problems described above will be solved at once.

上記処理を実現するため、DSC3012は、図8に示す処理を行えば良いであろう。なお、同図は、OpenSessionコマンドを受信した場合にコールされる処理であり、これ以前に、他のオブジェクトに対するハンドルが確定しているものとする。   In order to realize the above processing, the DSC 3012 may perform the processing shown in FIG. This figure is a process called when an OpenSession command is received, and it is assumed that handles for other objects have been established before this.

先ず、ステップS1で、メモリカード40内に、従前の印刷設定処理で設定された内容に従って作成されたDPOFによる印刷に係る指示ファイルが存在するか否かを判断する。存在しない場合には、エラー扱いとする。たとえば、表示パネル4に印刷指示内容がない旨、或いは、印刷にかかる設定がないことを示すメッセージを表示する等の処理を行えば良い。   First, in step S1, it is determined whether or not there is an instruction file related to printing by DPOF created according to the contents set in the previous print setting process in the memory card 40. If it does not exist, it is treated as an error. For example, processing such as displaying a message indicating that there is no print instruction content on the display panel 4 or no setting for printing may be performed.

一方、DPOFが存在すると判断した場合には、その中に記述されているパス名付きのファイル名を、ハンドルに置き換えた、新たなファイル(印刷指示書)を作成する(ステップS2)。そして、ステップS3において、作成されたファイルに対して新たなハンドルを割り当て、本処理を終了する。   On the other hand, if it is determined that DPOF exists, a new file (print instruction) is created by replacing the file name with a path name described therein with a handle (step S2). In step S3, a new handle is assigned to the created file, and this process ends.

一方、PDプリンタ1000では、図10に示す処理を行えば良いであろう。なお、DSCが接続された際の初期の通信確立処理は既に完了しているものとして説明する。   On the other hand, the PD printer 1000 may perform the processing shown in FIG. It is assumed that the initial communication establishment process when the DSC is connected has already been completed.

先ず、ステップS11において、DPOFファイルの変換後のファイル(印刷指示書)を、接続中のDSC3012より取得する。これは、先に説明したように、テキスト属性を有するオブジェクトを受信し、その中に特定のキーになる文字列が存在するファイルを取得することで行われる。   First, in step S11, a DPOF file converted file (print instruction) is acquired from the connected DSC 3012. As described above, this is performed by receiving an object having a text attribute and acquiring a file in which a character string serving as a specific key exists.

次いでステップS12に進み、ステップS11で取得したファイルを解析し、印刷すべき画像のハンドルを取得する。そして、ステップS13でそのハンドルで示されるデータ(画像データ)を要求する(GetObjectコマンドで実現できる)。その結果、送られてくる画像データを受信し(ステップS14)、印刷処理を行う(ステップS15)。   In step S12, the file acquired in step S11 is analyzed, and the handle of the image to be printed is acquired. In step S13, data (image data) indicated by the handle is requested (which can be realized by the GetObject command). As a result, the received image data is received (step S14), and printing processing is performed (step S15).

そして、上記処理を全要求に対して行ったと判断するまで、ステップS12以降の処理を繰り返す。   Then, the processes in and after step S12 are repeated until it is determined that the above process has been performed for all requests.

以上の結果、デジタルカメラとプリンタとをダイレクトに通信する状況下においても、ユーザの意図した通りの画像のみを印刷することが可能となる。   As a result, even in a situation where the digital camera and the printer communicate directly, it is possible to print only the image as intended by the user.

<第2の例>
上記第1の例は、DSC3012をPDプリンタ1000に接続する以前に、DSC3012のUIを利用して印刷すべき画像の選択等を行ない、その結果をDPOFファイルとして格納しておくことを前提にした。
<Second example>
The first example is based on the assumption that before connecting the DSC 3012 to the PD printer 1000, an image to be printed is selected using the UI of the DSC 3012 and the result is stored as a DPOF file. .

本第2の例では、DSC3012をPDプリンタ1000に接続した後、DSC3012が接続中のPDプリンタの機能を取得し、そのプリンタの機能に沿って印刷に係る条件を設定する例を第2の例として説明する。   In the second example, after the DSC 3012 is connected to the PD printer 1000, the DSC 3012 acquires the function of the PD printer being connected, and sets the conditions for printing according to the function of the printer. Will be described.

注意すべき点は2つある。1つは、PDプリンタ1000が有する機能(印刷できる記録紙サイズ等)をDSC3012に通知する必要がある点である。そして、もう1つは、本第2の例の場合、DSC3012のUIを用いてDPOFファイルが作成されるのは、PDプリンタとの接続が行われた後であり、接続時には、DSC3012のメモリカード40には、DPOFファイル及びその変換処理後の印刷指示書ファイルが存在しない(つまり、これらを示すハンドルも存在しない)ことである。   There are two points to note. One is that it is necessary to notify the DSC 3012 of the functions of the PD printer 1000 (such as the printable paper size). In the second example, the DPOF file is created using the DSC 3012 UI after the connection with the PD printer. At the time of connection, the memory card of the DSC 3012 is created. Reference numeral 40 denotes that the DPOF file and the print instruction file after the conversion process do not exist (that is, there is no handle indicating them).

先ず、第1点目であるが、PTPの場合、ホスト側(PDプリンタ)からスレーブ側(DSC3012)に対し、情報を送信しても良いかどうかを問い合わせるコマンドSendObjectInfoが用意されているので、これを利用する(図11参照)。すなわち、PDプリンタ1000には、予め自身の機能を示す事項を記述したテキストファイルを用意しておき(たとえばROM2に格納しておく)、コマンドSendObjectInfoをDSC3012に発行することで、DSC3012がその要求を受け入れるかどうかを判断する(受け入れる場合にはOKが返送されてくる)。このOKの返送があったとき、PDプリンタは、自身の機能情報を記述したファイルをDSC3012に通知する(SendObject、ObjectData)。   First, as for the first point, in the case of PTP, a command SendObjectInfo for inquiring whether information can be transmitted from the host side (PD printer) to the slave side (DSC 3012) is prepared. Is used (see FIG. 11). In other words, the PD printer 1000 prepares a text file describing items indicating its own function in advance (for example, stores it in the ROM 2), and issues a request SendObjectInfo to the DSC 3012 so that the DSC 3012 makes the request. It is judged whether or not to accept (OK is returned when accepted). When this OK is returned, the PD printer notifies the DSC 3012 of a file describing its function information (SendObject, ObjectData).

第2点目の問題点については、DPOFファイル、DPOFファイルの変換結果である印刷指示書ファイルについては、予めハンドルを予約させておく。たとえば、DPOFファイルにはハンドル「00000001」を、印刷指示書ファイルにはハンドル「00000002」を予め確保しておき、他のオブジェクトにハンドルを割り当てる場合には、これ以外を割り当てる。   Regarding the second problem, a handle is reserved in advance for the DPOF file and the print instruction file that is the conversion result of the DPOF file. For example, a handle “00000001” is reserved in advance for the DPOF file and a handle “00000002” is reserved in advance in the print instruction file, and when assigning a handle to another object, the other is assigned.

従って、処理としては次のようなものとなるであろう。   Therefore, the processing will be as follows.

先ず、PDプリンタとDSC3012を接続した場合、PDプリンタ1000(のCPU1)は自身の機能を示す情報をDSC3012に送信する。DSC3012はこれを受けて自身が有するUIを利用し、印刷すべき画像の選択、部数は勿論、接続中のPDプリンタ1000の機能で許される範囲で各種設定を行う。   First, when the PD printer and the DSC 3012 are connected, the PD printer 1000 (the CPU 1 thereof) transmits information indicating its function to the DSC 3012. In response to this, the DSC 3012 uses its own UI to make various settings within the range allowed by the function of the connected PD printer 1000 as well as the selection and number of images to be printed.

たとえば、PDプリンタがA4用紙に対するものである場合には、1枚の記録紙に2×2画像までの印刷が可能であるとし、使用できるレイアウトの候補を絞る等の処理が実現できる。   For example, when the PD printer is for A4 paper, it is possible to print up to 2 × 2 images on a single recording paper, and processing such as narrowing down usable layout candidates can be realized.

なお、このときのUIは、プリンタを接続していないときに、DPOFを利用して印刷を設定するときのUIと同じでよい。これにより使用者は、プリンタとDSCとの接続を意識しなくても、同様の操作で印刷指定が出来るので、使いやすい。   Note that the UI at this time may be the same as the UI when printing is set using DPOF when a printer is not connected. As a result, the user can designate printing by the same operation without being conscious of the connection between the printer and the DSC, which is easy to use.

こうして、印刷に係る設定が完了するとDPOFファイルを作成し、その作成完了をトリガにし、メモリカード40に作成されたDPOFファイルの少なくともパス名で記述されたファイルを、ハンドル名で置き換えた新たなファイル(印刷指示書)を作成する変換処理を実行する。作成された印刷指示書ファイルをPDプリンタに転送するためには、たとえば図12に示す手順で行う。   In this way, when the setting relating to printing is completed, a DPOF file is created, and when the creation is completed as a trigger, a new file in which at least the path name of the DPOF file created on the memory card 40 is replaced with a handle name is created. A conversion process for creating a (print instruction) is executed. In order to transfer the created print instruction file to the PD printer, for example, the procedure shown in FIG. 12 is performed.

先ず、PDプリンタ1000に送信すべき情報(印刷指示書)があることを通知するため、DSC3012はコマンドRequestObjectTransfer(このとき、オブジェクトのハンドルを予め予約したハンドルを指定する)を使ってPDプリンタに通知する。PDプリンタ1000が本実施形態のようなプリンタである場合には、それに対してコマンドGetObjectInfoコマンドを発行してくるので、それに応ずるように変換作成されたファイルの内容をPDプリンタにObjectInfo Datasetとして送信すれば良いであろう。   First, in order to notify that there is information (print instruction) to be transmitted to the PD printer 1000, the DSC 3012 notifies the PD printer using a command RequestObjectTransfer (at this time, a handle that reserves the handle of the object in advance is specified). To do. If the PD printer 1000 is a printer like this embodiment, the command GetObjectInfo command is issued to the printer, so that the contents of the file converted and created so as to respond to it are sent to the PD printer as an ObjectInfo Dataset. Would be good.

PDプリンタは、DSC3012からObjectInfo Datasetとして送信されてきたファイルがあった場合、先に示した図10に従い、その内容に従って印刷処理を実行すれば良い。   When there is a file transmitted as an ObjectInfo Dataset from the DSC 3012, the PD printer may execute print processing according to the contents according to FIG.

以上の結果、本第2の例によれば、DSC3012をPDプリンタにダイレクトに接続した後、接続中のPDプリンタの機能に応じて印刷条件を設定できるので、印刷条件の設定内容とその印刷結果が一致することが可能となる。   As a result, according to the second example, after the DSC 3012 is directly connected to the PD printer, the printing conditions can be set according to the function of the connected PD printer. Can match.

なお、第2の例を第1の例と組み合わせても良い。すなわち、PDプリンタにDSC3012を接続した当初、既にDPOFファイルが存在すれば第1の例のように動作し、存在しない場合にはエラーとはせず、第2の例のように動作するものである。   Note that the second example may be combined with the first example. That is, when the DSC 3012 is initially connected to the PD printer, if the DPOF file already exists, the operation is performed as in the first example, and if it does not exist, the error is not generated and the operation is performed as in the second example. is there.

<第2の例の変形例>
上記例では、DPOF及び印刷指示書ファイルについてハンドラを予約させておく例を説明したが、PTPにおいてはUSBスレーブ(DSC3012)が新たなオブジェクトを生成した場合にはコマンドAddObjectを使用するEventが用意されている。これを用いることで、新たなオブジェクトの生成をPDプリンタ1000に通知することができるので、上記のようなハンドルを予約している必要もない。
<Modification of the second example>
In the above example, an example is described in which handlers are reserved for DPOF and print instruction file. However, in PTP, when a USB slave (DSC3012) generates a new object, an event that uses a command AddObject is prepared. ing. By using this, it is possible to notify the PD printer 1000 of the creation of a new object, so there is no need to reserve a handle as described above.

<第3の例>
上記の第1、第2の例では、DSC3012側がDPOFのファイルを変換し、その結果(印刷指示書ファイル)をPDプリンタ1000に出力するものであったが、本第3の例ではDPOFファイルをPDプリンタに転送し、PDプリンタ側でパス名で表現されている画像ファイルとハンドラとの整合を取る例を説明する。
<Third example>
In the above first and second examples, the DSC 3012 side converts the DPOF file and outputs the result (print instruction file) to the PD printer 1000. In the third example, the DPOF file is An example will be described in which an image file transferred to a PD printer is matched with a handler on the PD printer side expressed by a path name.

先ず、PDプリンタ1000側でDPOFファイルをDSC3012より得るのは、第1の例で説明したように、テキストとしての属性を持つファイルに絞り、その上でDSC3012にそのオブジェクトの内容を供給するためのコマンドGetObjectを発行し、送信要求する。ファイルの内容がDPOFであるか否かは、その記述内容を調べれば容易にわかる。   First, a DPOF file is obtained from the DSC 3012 on the PD printer 1000 side, as described in the first example, to narrow down to a file having an attribute as text, and then to supply the contents of the object to the DSC 3012. Issue the command GetObject and request transmission. Whether or not the content of the file is DPOF can be easily understood by examining the description content.

PDプリンタ1000は上記のようにして転送されてきたDPOFファイルを解析し、その中で記述されているパス名+ファイル名をすべて抽出する。そして、抽出したパス名+ファイル名で構成されるテキストファイルをRAM3上に作成し、その先頭に各ファイルに対するハンドラを要求するためのコマンドもしくスクリプトを記述する。   The PD printer 1000 analyzes the DPOF file transferred as described above, and extracts all path names + file names described therein. Then, a text file composed of the extracted path name + file name is created on the RAM 3, and a command or script for requesting a handler for each file is described at the top of the text file.

こうしてハンドラ要求用のためテキストファイルの作成が完了すると、PDプリンタは図11と同様の手順に従い、DSC3012に対してコマンドSendObjectを発行し、オブジェクトの送信することを通知する。そして、DSC3012からOKの回答をもらったら、作成したハンドラ要求用のファイル(オブジェクト)をDSC3012に出力する。   When the creation of the text file for the handler request is completed in this way, the PD printer issues a command SendObject to the DSC 3012 according to the same procedure as in FIG. 11 to notify the object transmission. When an OK response is received from the DSC 3012, the created handler request file (object) is output to the DSC 3012.

DSC3012は、このオブジェクトを受けると、その内容を解釈し、そこに記述されている各パス名+ファイル名に、PDプリンタ1000との接続時に確定したハンドラを示す文字列を付加したテキストファイル(ハンドラ対応リスト)を作成する。この作成処理が完了すると、図12に示した手順に従って、そのハンドラ対応リストファイルをPDプリンタ1000に出力する。すなわち、PDプリンタにオブジェクトを受信するようコマンドRequestObjectTransferを発行する。この結果、PDプリンタは、そのオブジェクトを要求するコマンドGetObjectInfoを発行することになるので、それに応えるべく、ハンドラ対応リスト(オブジェクト)をPDプリンタに通知する。   Upon receipt of this object, the DSC 3012 interprets the contents of the object, and adds a character string indicating a handler determined at the time of connection with the PD printer 1000 to each path name + file name described therein (handler). Create a correspondence list). When this creation process is completed, the handler corresponding list file is output to the PD printer 1000 according to the procedure shown in FIG. That is, the command RequestObjectTransfer is issued so that the PD printer receives the object. As a result, the PD printer issues a command GetObjectInfo requesting the object, and accordingly, a handler correspondence list (object) is notified to the PD printer.

以上の結果、PDプリンタは、最初に受信したDPOFファイルと、その中で記述されている各印刷対象画像ファイルのハンドラとが記述されたハンドラ対応リストファイルとを有することになるので、DPOF内に記述されたファイル名+パス名については、ハンドラ対応リストを用いて該当するハンドラを用いて、DSC3012にその画像を要求(コマンドGetObject)、そして画像データの受信を行ない、印刷処理を行う。   As a result, the PD printer has the DPOF file received first and the handler correspondence list file in which the handler of each print target image file described therein is described. With respect to the described file name + path name, the corresponding handler is used by using the handler correspondence list, the DSC 3012 is requested for the image (command GetObject), the image data is received, and the printing process is performed.

このときのPDプリンタの処理は、図10のステップS11を、DPOFファイル及びハンドラ対応リストを取得する処理に置き換え、ステップS12でその両方を解析するとすれば良い。   In this case, the PD printer process may replace step S11 in FIG. 10 with a process for acquiring the DPOF file and the handler correspondence list, and analyze both in step S12.

以上のように、本第3の例によっても、PTPプロトコルを利用したDPOFによる印刷処理が成功する。なお、第3の例におけるPDプリンタ1000がDPOFファイルを受けとるのは、DSC3012側からの要求に従うので、PDプリンタ1000とDSC3012とが接続した後に、DSC3012側で印刷条件を入力する場合にも当然に適用できるのは、当業者であれば容易に理解できよう。   As described above, according to the third example, the DPOF printing process using the PTP protocol is successful. Note that the PD printer 1000 in the third example receives the DPOF file in accordance with a request from the DSC 3012 side. Therefore, even when the printing conditions are input on the DSC 3012 side after the PD printer 1000 and the DSC 3012 are connected, of course. Applicability will be readily apparent to those skilled in the art.

以上説明したように、第1乃至第3の例に従えば、USBインタフェースでデジタルカメラとプリンタとをダイレクトに接続した際に、既存のPTPプロトコルを利用しながらも、DPOF方式を生かしつつ、ユーザの意図した通りの印刷処理が行えるようになる。特に、これまでのDPOFでは印刷条件の設定が、プリンタの機能を全く無視したところで行われていたのに対し、第2の例によれば、実際に印刷するプリンタの能力を基本にして、印刷条件をUIを使って設定できるので、設定した内容と印刷結果とが相違することもなく、意図した通りの印刷結果を得ることができるようになる。   As described above, according to the first to third examples, when a digital camera and a printer are directly connected with a USB interface, the user can use the DPOF method while utilizing the existing PTP protocol. The printing process can be performed as intended. In particular, in the conventional DPOF, setting of printing conditions is performed in a place where the function of the printer is completely ignored, but according to the second example, printing is performed based on the ability of the printer to actually print. Since the conditions can be set using the UI, the set content and the print result do not differ, and the intended print result can be obtained.

なお、実施形態では、USBインタフェースを介してデジタルカメラとプリンタとをダイレクトに接続し、PTPプロトコルを利用した通信を例にして説明したが、本発明はこれに限られるものではない。要するに、インタフェース及び/又はプロトコルの制約上、一方のストレージデバイス内に格納されてるファイルをダイレクトにパス名でアクセスできない場合に適用できるからである。   In the embodiment, the digital camera and the printer are directly connected via the USB interface and communication using the PTP protocol is described as an example. However, the present invention is not limited to this. In short, it can be applied when a file stored in one storage device cannot be directly accessed by a path name due to interface and / or protocol restrictions.

従って、実施形態ではDPOFを例にして説明したが、DPOFに限られるものでもなく、HTMLのようなマークアップランゲージで記述されたファイルでも構わないし、他の形式でも構わないのは容易に理解できよう。   Therefore, in the embodiment, DPOF has been described as an example. However, the present invention is not limited to DPOF, but may be a file described in a markup language such as HTML, or may be in other formats. Like.

つまり、HTML等の記述言語で、ファイル名等で指定されるリンク先をハンドルに変換して指定して印刷指示するものに、本発明を適用可能である。   That is, the present invention can be applied to a description language such as HTML, in which a link destination specified by a file name or the like is converted to a handle and specified for printing.

なお、デジタルカメラの多くはUSBインターフェースを備えており、そのハードウェア資源をそのまま活用できることに鑑みた場合、USB接続が望ましいし、デジタルカメラメーカの負担も少なくて済む。   Many digital cameras have a USB interface, and considering that the hardware resources can be utilized as they are, USB connection is desirable and the burden on the digital camera manufacturer can be reduced.

また、上記実施形態を実現する場合、特にデジタルカメラメーカが上記実施形態で説明したDSC3012の処理もしくは機能を実現する場合には、ファームウェア(プログラム)をアップデートすることによって実現できるものであるから、それに係る費用は少なくて済む、というメリットもある。   When the above embodiment is realized, particularly when the digital camera manufacturer implements the processing or function of the DSC 3012 described in the above embodiment, it can be realized by updating the firmware (program). There is also an advantage that the cost is small.

以上説明したように本実施形態によれば、画像のファイル名で記述した印刷要求リストがあったとき、ハンドルでもって画像データを転送するシステムであっても、意図した通りの画像の転送及び印刷を行わせることが可能になる。   As described above, according to the present embodiment, when there is a print request list described with an image file name, even if the system transfers image data with a handle, image transfer and printing as intended. Can be performed.

実施形態におけるプリント装置の外観図である。1 is an external view of a printing apparatus according to an embodiment. 実施形態におけるデジタルカメラとプリント装置との接続を行う場合の図である。It is a figure in the case of connecting a digital camera and a printing apparatus in an embodiment. 実施形態におけるプリンター装置のブロック構成図である。1 is a block configuration diagram of a printer device according to an embodiment. 実施形態におけるデジタルカメラのブロック構成図である。It is a block block diagram of the digital camera in an embodiment. 実施形態におけるデジタルカメラとプリンタとの通信に関するレイヤ構造を示す図である。It is a figure which shows the layer structure regarding communication with the digital camera and printer in embodiment. 実施形態におけるデジタルカメラとプリンタとの接続時の一般的なPTPプロトコルによる接続シーケンスを示す図である。It is a figure which shows the connection sequence by the general PTP protocol at the time of the connection of the digital camera and printer in embodiment. 実施形態におけるDPOFファイルの内容の一例を示す図である。It is a figure which shows an example of the content of the DPOF file in embodiment. 図7に示すDPOFファイルの変換後のファイル内容を示す図である。It is a figure which shows the file content after conversion of the DPOF file shown in FIG. 実施形態におけるデジタルカメラの処理の一部を示すフローチャートである。It is a flowchart which shows a part of process of the digital camera in embodiment. 実施形態におけるプリンタの処理の一部を示すフローチャートである。6 is a flowchart illustrating a part of processing of the printer in the embodiment. プリンタからデジタルカメラへオブジェクトを送信する際のシーケンスを示す図である。It is a figure which shows the sequence at the time of transmitting an object from a printer to a digital camera. デジタルカメラからプリンタへオブジェクトを送信する際のシーケンスを示す図である。It is a figure which shows the sequence at the time of transmitting an object from a digital camera to a printer.

Claims (8)

画像処理装置と直接通信して、前記画像処理装置から、処理対象の画像データを特定する為に番号付けられたハンドルを用いた送信要求を受け付け、当該ハンドルでもって特定された画像を前記画像処理装置に供給する画像供給装置であって、
前記画像処理装置と接続する前に、予め処理対象の画像を指定する指定手段と、
前記指定手段で指定した前記処理対象の画像を指定する情報として、前記所定のハンドルとは異なる画像指定情報でもって記憶媒体に記憶させる記憶制御手段と、
前記画像処理装置と通信可能になった場合、前記記憶媒体に前記画像指定情報が存在するか否かを判断する判断手段と、
該判断手段が、前記記憶媒体に前記画像指定情報が存在しないと判断した場合、画像指定情報が無いことを表示する表示手段と、
前記判断手段が、前記記憶媒体に前記画像指定情報が存在すると判断した場合、当該画像指定情報を前記所定のハンドルに変換する変換手段と、
該変換手段で変換された情報を前記画像処理装置に出力する出力手段と
を有することを特徴とする画像供給装置。
Directly communicates with the image processing apparatus, receives a transmission request from the image processing apparatus using a numbered handle for specifying image data to be processed, and processes the image specified by the handle with the image processing An image supply device for supplying to the device,
Before connecting to the image processing apparatus, a designation means for designating an image to be processed in advance;
Storage control means for storing in a storage medium image designation information different from the predetermined handle as information for designating the processing target image designated by the designation means;
Determining means for determining whether or not the image designation information exists in the storage medium when communication with the image processing apparatus is enabled;
Display means for displaying that there is no image designation information when the judgment means determines that the image designation information does not exist in the storage medium;
A conversion unit that converts the image designation information into the predetermined handle when the determination unit determines that the image designation information exists in the storage medium ;
An image supply apparatus comprising: output means for outputting information converted by the conversion means to the image processing apparatus.
前記記憶制御手段は、前記指定手段で指定した複数の画像を特定する情報をまとめて1つのファイルとして前記記憶媒体に記憶させる事を特徴とする請求項1に記載の画像供給装置。   2. The image supply apparatus according to claim 1, wherein the storage control unit stores information for specifying a plurality of images designated by the designation unit together as one file on the storage medium. 前記変換手段は、前記ファイル中に記憶されている、前記複数の画像を特定する情報を、前記ハンドルを用いて変換することを特徴とする請求項2に記載の画像供給装置。   3. The image supply apparatus according to claim 2, wherein the conversion unit converts the information specifying the plurality of images stored in the file using the handle. 画像処理装置と直接通信して、前記画像処理装置から、処理対象の画像データを特定する為に番号付けられたハンドルを用いた送信要求を受け付け、当該ハンドルでもって特定された画像を前記画像処理装置に供給する画像供給装置の制御方法であって、
前記画像処理装置と接続する前に、予め処理対象の画像を指定する指定工程と、
前記指定工程で指定した前記処理対象の画像を指定する情報として、前記所定のハンドルとは異なる画像指定情報でもって記憶媒体に記憶させる記憶制御工程と、
前記画像処理装置と通信可能になった場合、前記記憶媒体に前記画像指定情報が存在するか否かを判断する判断工程と、
該判断工程で、前記記憶媒体に前記画像指定情報が存在しないと判断した場合、画像指定情報が無いことを表示する表示工程と、
前記判断工程で、前記記憶媒体に前記画像指定情報が存在すると判断された場合、当該画像指定情報を前記所定のハンドルに変換する変換工程と、
前記変換工程で変換された情報を前記画像処理装置に出力する出力工程と
を有することを特徴とする画像供給装置の制御方法。
Directly communicates with the image processing apparatus, receives a transmission request from the image processing apparatus using a numbered handle for specifying image data to be processed, and processes the image specified by the handle with the image processing A method for controlling an image supply apparatus to be supplied to an apparatus,
Before connecting to the image processing apparatus, a designation step for designating an image to be processed in advance;
A storage control step of storing in a storage medium with image designation information different from the predetermined handle as information for designating the processing target image designated in the designation step;
A determination step of determining whether or not the image designation information exists in the storage medium when communication with the image processing apparatus is enabled;
If it is determined in the determination step that the image designation information does not exist in the storage medium, a display step for displaying that there is no image designation information;
A conversion step of converting the image designation information into the predetermined handle when it is determined in the determination step that the image designation information exists in the storage medium ;
And an output step of outputting the information converted in the conversion step to the image processing device.
前記記憶制御工程は、前記指定工程で指定した複数の画像を特定する情報をまとめて1つのファイルとして前記記憶媒体に記憶させる事を特徴とする請求項4に記載の画像供給装置の制御方法。   5. The method of controlling an image supply apparatus according to claim 4, wherein in the storage control step, information for specifying a plurality of images designated in the designation step is collectively stored in the storage medium as one file. 前記変換工程は、前記ファイル中に記憶されている、前記複数の画像を特定する情報を、前記所定のハンドルを用いて変換することを特徴とする請求項5に記載の画像供給装置の制御方法。   6. The method of controlling an image supply device according to claim 5, wherein in the conversion step, the information specifying the plurality of images stored in the file is converted using the predetermined handle. . コンピュータが読込み実行することで、画像処理装置と直接通信しているときは、前記画像処理装置から、処理対象の画像データを特定する為に番号付けられたハンドルを用いた送信要求を受け付け、当該ハンドルでもって特定された画像を前記画像処理装置に供給する画像供給装置として機能するコンピュータプログラムであって、
前記画像処理装置と接続する前に、予め処理対象の画像を指定する指定手段と、
前記指定手段で指定した前記処理対象の画像を指定する情報として、前記所定のハンドルとは異なる画像指定情報でもって記憶媒体に記憶させる記憶制御手段と、
前記画像処理装置と通信可能になった場合、前記記憶媒体に前記画像指定情報が存在するか否かを判断する判断手段と、
該判断手段が、前記記憶媒体に前記画像指定情報が存在しないと判断した場合、画像指定情報が無いことを表示する表示手段と、
前記判断手段が、前記記憶媒体に前記画像指定情報が存在すると判断した場合、当該画像指定情報を前記所定のハンドルに変換する変換手段と、
前記変換手段で変換された情報を前記画像処理装置に出力する出力手段
として機能することを特徴とするコンピュータプログラム。
By computer executes reading, when communicating directly with the image processing apparatus, from the image processing apparatus receives a transmission request using a handle numbered to identify the image data to be processed, the A computer program that functions as an image supply device that supplies an image specified by a handle to the image processing device,
Before connecting to the image processing apparatus, a designation means for designating an image to be processed in advance;
Storage control means for storing in a storage medium image designation information different from the predetermined handle as information for designating the processing target image designated by the designation means;
Determining means for determining whether or not the image designation information exists in the storage medium when communication with the image processing apparatus is enabled;
Display means for displaying that there is no image designation information when the judgment means determines that the image designation information does not exist in the storage medium;
A conversion unit that converts the image designation information into the predetermined handle when the determination unit determines that the image designation information exists in the storage medium ;
A computer program that functions as output means for outputting information converted by the conversion means to the image processing apparatus.
請求項7に記載のコンピュータプログラムを格納したことを特徴とするコンピュータ可読記憶媒体。   A computer-readable storage medium storing the computer program according to claim 7.
JP2004325618A 2004-11-09 2004-11-09 Image supply apparatus and control method thereof Expired - Fee Related JP4110133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004325618A JP4110133B2 (en) 2004-11-09 2004-11-09 Image supply apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004325618A JP4110133B2 (en) 2004-11-09 2004-11-09 Image supply apparatus and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002228032A Division JP3673779B2 (en) 2002-08-05 2002-08-05 Image supply apparatus, control method therefor, and print system

Publications (3)

Publication Number Publication Date
JP2005167998A JP2005167998A (en) 2005-06-23
JP2005167998A5 JP2005167998A5 (en) 2006-12-21
JP4110133B2 true JP4110133B2 (en) 2008-07-02

Family

ID=34737381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004325618A Expired - Fee Related JP4110133B2 (en) 2004-11-09 2004-11-09 Image supply apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4110133B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011076535A (en) * 2009-10-01 2011-04-14 Toshiba Corp Information processor and transmission method for capture image

Also Published As

Publication number Publication date
JP2005167998A (en) 2005-06-23

Similar Documents

Publication Publication Date Title
US8102558B2 (en) Image supply apparatus, control method therefor, and printing system
KR100663209B1 (en) Printing system, its control method and photodirect printing device
KR100729683B1 (en) Recording system and controlling method therefor
US7502049B2 (en) Image supply device, recording system, and recording control method
RU2355020C2 (en) Imaging device and method of controlling this device
US7880910B2 (en) Image sensing apparatus, printing system, and print control method
EP1530878B1 (en) Digital camera and control method thereof, and printing system
JP4110133B2 (en) Image supply apparatus and control method thereof
JP4078333B2 (en) Image processing apparatus, image supply apparatus, control method therefor, and printing system
KR100731190B1 (en) Image feeder, its control method and printing system
KR100670214B1 (en) Record system and control method
JP4367902B2 (en) Recording system, image supply device, printing apparatus, and control method therefor
JP4266948B2 (en) Image supply device and control method thereof
JP2005142652A (en) Image output request apparatus, program, image output system, and image data file browsing method
JP2006012118A (en) Image supply device, recording system, and recording control method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060728

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20071203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080201

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080407

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

Free format text: PAYMENT UNTIL: 20110411

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4110133

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

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130411

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140411

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees