JP2008017497A - Image supply apparatus, and its control method - Google Patents

Image supply apparatus, and its control method Download PDF

Info

Publication number
JP2008017497A
JP2008017497A JP2007192653A JP2007192653A JP2008017497A JP 2008017497 A JP2008017497 A JP 2008017497A JP 2007192653 A JP2007192653 A JP 2007192653A JP 2007192653 A JP2007192653 A JP 2007192653A JP 2008017497 A JP2008017497 A JP 2008017497A
Authority
JP
Japan
Prior art keywords
print
image
printer
printing
mode
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
JP2007192653A
Other languages
Japanese (ja)
Other versions
JP4612907B2 (en
Inventor
Kentaro Yano
健太郎 矢野
Takao Aichi
孝郎 愛知
Kazuya Sakamoto
和弥 坂本
Tatsuya Tanaka
達也 田中
Fumihiro Gotou
史博 後藤
Akitoshi Yamada
顕季 山田
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 JP2007192653A priority Critical patent/JP4612907B2/en
Publication of JP2008017497A publication Critical patent/JP2008017497A/en
Application granted granted Critical
Publication of JP4612907B2 publication Critical patent/JP4612907B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image supply apparatus which meets a user's requirement in which a print of an image is only needed and a print according to capability of a printer is not required by a user of a digital camera. <P>SOLUTION: The image supply apparatus which selects an image, instructs printing of the selected image, and then transmits a job to a printing apparatus has a simple print mode in which a job is issued without setting printing conditions after instructing printing of an image and a print mode in which a job is issued after instructing printing of an image and then setting printing conditions. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、デジタルカメラなどの画像供給装置とその制御方法に関するものである。 The present invention relates to an image supply apparatus such as a digital camera and a control method thereof .

近年、簡単な操作で画像を撮影して、その撮影した画像をデジタル画像データに変換できるデジタルカメラ(撮像装置)が広く使用されるようになってきている。このようなカメラで撮影した画像を印刷して写真として使用する場合には、通常、一旦、その撮影した画像のデジタル画像データを、デジタルカメラからPC(コンピュータ)に取り込み、そのPCで画像処理を行った後、そのPCからカラープリンタに出力して印刷するのが一般的である。   In recent years, digital cameras (imaging devices) that can take an image with a simple operation and convert the taken image into digital image data have been widely used. When printing an image taken with such a camera and using it as a photograph, usually, the digital image data of the taken image is once taken into a PC (computer) from the digital camera, and image processing is performed with the PC. In general, the data is output from the PC to a color printer and printed.

これに対して最近は、PCを介することなく、直接、デジタルカメラからカラープリンタにデジタル画像データを伝送して印刷することができるカラープリントシステムや、デジタルカメラに搭載され、撮像した画像を記憶しているメモリカードを、直接、カラープリンタに装着し、そのメモリカードに記憶されている、撮影された画像を印刷できる、所謂フォトダイレクト(PD)プリンタ等も開発されている。   On the other hand, recently, a color print system capable of directly printing digital image data from a digital camera to a color printer without using a PC, and a built-in digital camera, storing captured images. A so-called photo direct (PD) printer has been developed, in which a memory card is directly attached to a color printer and a photographed image stored in the memory card can be printed.

特に、デジタルカメラから直接プリンタに画像データを伝送して印刷する場合は、デジタルカメラは各メーカごとにその仕様や操作方法などが異なっているため、各種メーカのデジタルカメラに対応できるフォトダイレクトプリンタ装置の出現が望まれていた。また、このようなフォトダイレクトプリンタ装置は、上記説明したデジタルカメラ以外にも、例えば、携帯電話やPDAそれ以外の各種デバイスからの画像データを受信して印刷することが考えられ、またプリンタ自体の機能も種々であるため、互いのCapabilityが予測できず、互いの機能情報の交換が必須になる。   In particular, when image data is directly transmitted from a digital camera to a printer for printing, the specifications and operation methods of the digital camera differ from manufacturer to manufacturer. The appearance of was desired. In addition to the above-described digital camera, for example, such a photo direct printer apparatus may receive and print image data from various devices other than a mobile phone, a PDA, or the like. Since there are various functions, mutual Capability cannot be predicted, and exchange of each other's function information becomes essential.

しかし、このような互いの機能情報の交換ができない場合には、その印刷が不可能になることが考えられる。またデジタルカメラのユーザにとっては、単に画像の印刷だけができれば良く、プリンタのCapabilityに則した印刷までは要求しない場合も考えられる However, if such mutual exchange of function information is not possible, it may be impossible to print. For digital camera users, it is only necessary to be able to print an image, and there may be cases where printing according to the Capability of the printer is not required .

本発明は上記従来例に鑑みてなされたもので、印刷条件の設定を行わずにジョブを発行できる印刷モードと、印刷条件の設定を行った後にジョブを発行する印刷モードとを有する画像供給装置及びその制御方法を提供することを目的とする。 The present invention has been made in view of the above-described conventional example, and has an image supply apparatus having a print mode in which a job can be issued without setting print conditions, and a print mode in which a job is issued after setting the print conditions And it aims at providing the control method .

上記目的を達成するために本発明の画像供給装置は以下のような構成を備える。即ち、
印刷装置と通信する画像供給装置であって、画像を選択する選択手段と、前記選択手段で選択された画像の印刷を指示する印刷指示手段と、前記印刷指示手段での指示の後に、前記印刷装置にジョブを送信する送信手段とを有し、前記送信手段は、前記印刷指示手段での指示の後に印刷条件の設定を行わずにジョブを発行する簡易印刷モードと、前記印刷指示手段での指示の後に印刷条件の設定を行ったジョブを発行する印刷モードとを有することを特徴とする
In order to achieve the above object, the image supply apparatus of the present invention has the following configuration. That is,
An image supply apparatus that communicates with a printing apparatus, wherein a selection means for selecting an image, a print instruction means for instructing printing of an image selected by the selection means, and the print after the instruction by the print instruction means A transmission unit configured to transmit a job to the apparatus, the transmission unit configured to issue a job without setting print conditions after an instruction from the print instruction unit, and a print instruction unit And a print mode for issuing a job in which print conditions are set after the instruction .

上記目的を達成するために本発明の画像供給装置の制御方法は以下のような工程を備える。即ち、
印刷装置と通信する画像供給装置の制御方法であって、画像を選択する選択工程と、前記選択工程で選択された画像の印刷を指示する印刷指示工程と、前記印刷指示工程での指示の後に、前記印刷装置にジョブを送信する送信工程とを有し、前記送信工程は、前記印刷指示工程での指示の後に印刷条件の設定を行わずにジョブを発行する簡易印刷モードと、前記印刷指示工程での指示の後に印刷条件の設定を行ったジョブを発行する印刷モードとを有することを特徴とする
In order to achieve the above object, a method for controlling an image supply apparatus of the present invention includes the following steps. That is,
A method for controlling an image supply device that communicates with a printing device, comprising: a selection step for selecting an image; a print instruction step for instructing printing of an image selected in the selection step; A transmission step of transmitting a job to the printing apparatus, the transmission step including a simple print mode for issuing a job without setting print conditions after an instruction in the print instruction step, and the print instruction And a print mode for issuing a job in which print conditions are set after an instruction in the process .

本発明によれば、印刷条件を設定して印刷を実行させるか、或は印刷条件を設定せずに印刷を実行させることができるAccording to the present invention, printing can be executed by setting printing conditions, or printing can be executed without setting printing conditions .

以下、添付図面を参照して本発明の好適な実施の形態を詳細に説明する。   Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

図1は、本発明の実施の形態に係るフォトダイレクトプリンタ装置(以下、PDプリンタ装置)1000の概観斜視図である。このPDプリンタ装置1000は、ホストコンピュータ(PC)からデータを受信して印刷する通常のPCプリンタとしての機能と、メモリカードなどの記憶媒体に記憶されている画像データを直接読取って印刷したり、或いはデジタルカメラからの画像データを受信して印刷する機能を備えている。   FIG. 1 is a schematic perspective view of a photo direct printer apparatus (hereinafter referred to as a PD printer apparatus) 1000 according to an embodiment of the present invention. The PD printer 1000 has a function as a normal PC printer that receives and prints data from a host computer (PC), and directly reads and prints image data stored in a storage medium such as a memory card, Alternatively, it has a function of receiving and printing image data from a digital camera.

図1において、本実施の形態に係るPDプリンタ装置1000の外殻をなす本体は、ケースM1001、上ケース1002、アクセスカバー1003及び排出トレイ1004の外装部材を有している。また、下ケース1001は、PDプリンタ装置1000の略下半部を、上ケース1002は本体の略上半部をそれぞれ形成しており、両ケースの組合せによって内部に後述の各機構を収納する収納空間を有する中空体構造をなし、その上面部及び前面部にはそれぞれ開口部が形成されている。更に、排出トレイ1004は、その一端部が下ケース1001に回転自在に保持され、その回転によって下ケース1001の前面部に形成される開口部を開閉させ得るようになっている。このため、記録動作を実行させる際には、排出トレイ1004を前面側へと回転させて開口部を開成させることにより、ここから記録シートが排出可能となると共に、排出された記録シートを順次積載し得るようになっている。また、排紙トレイ1004には、2枚の補助トレイ1004a,1004bが収納されており、必要に応じて各トレイを手前に引き出すことにより、用紙の支持面積を3段階に拡大、縮小させ得るようになっている。   In FIG. 1, the main body that forms the outer shell of the PD printer 1000 according to the present embodiment includes a case M1001, an upper case 1002, an access cover 1003, and an exterior member of a discharge tray 1004. The lower case 1001 forms a substantially lower half of the PD printer 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. The paper discharge tray 1004 stores two auxiliary trays 1004a and 1004b. By pulling out the respective trays to the front as needed, the sheet support area can be expanded and 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の右側には、液晶表示部1006や各種キースイッチ等を備える操作パネル1010が設けられている。この操作パネル1010の構造は、図2を参照して詳しく後述する。1007は自動給送部で、記録シートを装置本体内へと自動的に給送する。1008は紙間選択レバーで、プリントヘッドと記録シートとの間隔を調整するためのレバーである。1009はカードスロットで、ここにメモリカードを装着可能なアダプタが挿入され、このアダプタを介してメモリカードに記憶されている画像データを直接取り込んで印刷することができる。このメモリカード(PC)としては、例えばコンパクトフラッシュメモリ、スマートメディア、メモリスティック等がある。1011はビューワ(液晶表示部)で、このPDプリンタ装置1000の本体に着脱可能であり、PCカードに記憶されている画像の中からプリントしたい画像を検索する場合などに、1コマ毎の画像やインデックス画像などを表示するのに使用される。1012は後述するデジタルカメラを接続するためのUSB端子である。また、このPD装置1000の後面には、パーソナルコンピュータ(PC)を接続するためのUSBコネクタが設けられている。   A power key 1005 is provided on the upper surface of the upper case 1002. An operation panel 1010 including a liquid crystal display unit 1006 and various key switches is provided on the right side of the upper case 1002. The structure of the operation panel 1010 will be described in detail later with reference to FIG. An automatic feeding unit 1007 automatically feeds the recording sheet into the apparatus main body. Reference numeral 1008 denotes a paper gap selection lever which is used to adjust 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, through which image data stored in the memory card can be directly captured and printed. Examples of the memory card (PC) include a compact flash memory, smart media, and a memory stick. A viewer (liquid crystal display unit) 1011 is detachable from the main body of the PD printer 1000. When searching for an image to be printed from images stored in a PC card, an image for each frame is displayed. Used to display index images. Reference numeral 1012 denotes a USB terminal for connecting a digital camera to be described later. In addition, a USB connector for connecting a personal computer (PC) is provided on the rear surface of the PD device 1000.

図2は、本実施の形態に係るPDプリンタ装置1000の操作パネル1010の概観図である。   FIG. 2 is an overview of the operation panel 1010 of the PD printer 1000 according to the present embodiment.

図において、液晶表示部1006には、その左右に印刷されている項目に関するデータを各種設定するためのメニュー項目が表示される。ここに表示される項目としては、例えば、印刷したい範囲の先頭写真番号、指定コマ番号(開始コマ指定/印刷コマ指定)、印刷を終了した範囲の最後の写真番号(終了)、印刷部数(部数)、印刷に使用する用紙(記録シート)の種類(用紙種類)、1枚の用紙に印刷する写真の枚数設定(レイアウト)、印刷の品位の指定(品位)、撮影した日付を印刷するかどうかの指定(日付印刷)、写真を補正して印刷するかどうかの指定(画像補正)、印刷に必要な用紙枚数の表示(用紙枚数)等がある。これら各項目は、カーソルキー2001を用いて選択、或いは指定される。2002はモードキーで、このキーを押下する毎に、印刷の種類(インデックス印刷、全コマ印刷、1コマ印刷等)を切り替えることができ、これに応じてLED2003の対応するLEDが点灯される。2004はメンテナンスキーで、プリントヘッドのクリーニング等、プリンタのメンテナンスを行わせるためのキーである。2005は印刷開始キーで、印刷の開始を指示する時、或いはメンテナンスの設定を確立する際に押下される。2006は印刷中止キーで、印刷を中止させる時や、メンテナンスの中止を指示する際に押下される。   In the figure, the liquid crystal display unit 1006 displays menu items for setting various data relating to items printed on the left and right. The items displayed here include, for example, the first photo number of the range to be printed, the designated frame number (start frame designation / print frame designation), the last photo number of the range where printing has been completed (end), the number of copies (number of copies) ), The type of paper (recording sheet) used for printing (paper type), setting the number of photos to be printed on one sheet (layout), specifying the print quality (quality), and whether to print the date of shooting Designation (date printing), designation of whether to correct a photo (image correction), display of the number of sheets necessary for printing (number of sheets), and the like. These items are selected or designated using the cursor keys 2001. 2002 is a mode key, and each time this key is pressed, the type of printing (index printing, full-frame printing, single-frame printing, etc.) can be switched, and the corresponding LED of the LED 2003 is lit accordingly. A maintenance key 2004 is a key for performing maintenance of the printer such as cleaning of the print head. Reference numeral 2005 denotes a print start key which is pressed when instructing the start of printing or when establishing maintenance settings. Reference numeral 2006 denotes a print cancel key which is pressed when printing is stopped or when maintenance is instructed.

次に図3を参照して、本実施の形態に係るPDプリンタ装置1000の制御に係る主要部の構成を説明する。尚、この図3において、前述の図面と共通する部分は同じ記号を付与して、それらの説明を省略する。   Next, with reference to FIG. 3, the configuration of the main part related to the control of the PD printer 1000 according to the present embodiment will be described. In FIG. 3, the same reference numerals are given to portions common to the above-described drawings, and the description thereof is omitted.

図3において、3000は制御部(制御基板)を示している。3001はASIC(専用カスタムLSI)を示し、その構成は図4のブロック図を参照して詳しく後述する。3002はDSP(デジタル信号処理プロセッサ)で、内部にCPUを有し、後述する各種制御処理及び、輝度信号(RGB)から濃度信号(CMYK)への変換、スケーリング、ガンマ変換、誤差拡散等の画像処理等を担当している。3003はメモリで、DSP3002のCPUの制御プログラムを記憶するプログラムメモリ3003a、及び実行時のプログラムを記憶するRAMエリア、画像データなどを記憶するワークメモリとして機能するメモリエリアを有している。3004はプリンタエンジンで、ここでは、複数色のカラーインクを用いてカラー画像を印刷するインクジェットプリンタのプリンタエンジンが搭載されている。3005はデジタルカメラ(DSC)3012を接続するためのポートとしてのUSBコネクタである。3006はビューワ1011を接続するためのコネクタである。3008はUSBハブ(USB HUB)で、このPDプリンタ装置1000がPC3010からの画像データに基づいて印刷を行う際には、PC3010からのデータをそのままスルーし、USB3021を介してプリンタエンジン3004に出力する。これにより、接続されているPC3010は、プリンタエンジン3004と直接、データや信号のやり取りを行って印刷を実行することができる(一般的なPCプリンタとして機能する)。3009は電源コネクタで、電源3019により、商用ACから変換された直流電圧を入力している。PC3010は一般的なパーソナルコンピュータ、3011は前述したメモリカード(PCカード)、3012はデジタルカメラ(DSC:Digital Still Camera)である。   In FIG. 3, reference numeral 3000 denotes a control unit (control board). Reference numeral 3001 denotes an ASIC (dedicated custom LSI), the configuration of which will be described later in detail with reference to the block diagram of FIG. Reference numeral 3002 denotes a DSP (digital signal processor) having an internal CPU, and various control processes to be described later and images such as conversion from a luminance signal (RGB) to a density signal (CMYK), scaling, gamma conversion, and error diffusion. I am in charge of processing. A memory 3003 has a program memory 3003a that stores a control program for the CPU of the DSP 3002, a RAM area that stores a program at the time of execution, and a memory area that functions as a work memory that stores image data and the like. Reference numeral 3004 denotes a printer engine. Here, a printer engine of an ink jet printer that prints a color image using a plurality of color inks is installed. Reference numeral 3005 denotes a USB connector as a port for connecting a digital camera (DSC) 3012. Reference numeral 3006 denotes a connector for connecting the viewer 1011. Reference numeral 3008 denotes a USB hub (USB HUB). When the PD printer 1000 performs printing based on image data from the PC 3010, the data from the PC 3010 is directly passed through and output to the printer engine 3004 via the USB 3021. . As a result, the connected PC 3010 can directly perform printing by exchanging data and signals with the printer engine 3004 (functions as a general PC printer). Reference numeral 3009 denotes a power connector which inputs a DC voltage converted from commercial AC by a power source 3019. A PC 3010 is a general personal computer, 3011 is the memory card (PC card) described above, and 3012 is a digital camera (DSC: Digital Still Camera).

尚、この制御部3000とプリンタエンジン3004との間の信号のやり取りは、前述したUSB3021又はIEEE1284バス3022を介して行われる。   Note that the exchange of signals between the control unit 3000 and the printer engine 3004 is performed via the USB 3021 or the IEEE 1284 bus 3022 described above.

図4は、ASIC3001の構成を示すブロック図で、この図4においても、前述の図面と共通する部分は同じ記号を付与して、それらの説明を省略する。   FIG. 4 is a block diagram showing the configuration of the ASIC 3001. In FIG. 4 as well, portions common to the above-mentioned drawings are given the same symbols, and description thereof is omitted.

4001はPCカードインターフェース部で、装着されたPCカード3011に記憶されている画像データを読取ったり、或いはPCカード3011へのデータの書き込み等を行う。4002はIEEE1284インターフェース部で、プリンタエンジン3004との間のデータのやり取りを行う。このIEEE1284インターフェース部4002は、デジタルカメラ3012或いはPCカード3011に記憶されている画像データを印刷する場合に使用されるバスである。4003はUSBインターフェース部で、PC3010との間でのデータのやり取りを行う。4004はUSBホストインターフェース部で、デジタルカメラ3012との間でのデータのやり取りを行う。4005は操作パネル・インターフェース部で、操作パネル1010からの各種操作信号を入力したり、表示部1006への表示データの出力などを行う。4006はビューワ・インターフェース部で、ビューワ1011への画像データの表示を制御している。4007は各種スイッチやLED4009等との間のインターフェースを制御するインターフェース部である。4008はCPUインターフェース部で、DSP3002との間でのデータのやり取りの制御を行っている。4010はこれら各部を接続する内部バス(ASICバス)である。   Reference numeral 4001 denotes a PC card interface unit that reads image data stored in the attached PC card 3011 or writes data to the PC card 3011. Reference numeral 4002 denotes an IEEE 1284 interface unit that exchanges data with the printer engine 3004. The IEEE 1284 interface unit 4002 is a bus used when printing image data stored in the digital camera 3012 or the PC card 3011. A USB interface unit 4003 exchanges data with the PC 3010. A USB host interface unit 4004 exchanges data with the digital camera 3012. Reference numeral 4005 denotes an operation panel / interface unit which inputs various operation signals from the operation panel 1010 and outputs display data to the display unit 1006. A viewer interface unit 4006 controls display of image data on the viewer 1011. Reference numeral 4007 denotes an interface unit that controls an interface between various switches, the LED 4009, and the like. A CPU interface unit 4008 controls data exchange with the DSP 3002. Reference numeral 4010 denotes an internal bus (ASIC bus) that connects these units.

以上の構成に基づく動作概要を以下に説明する。   An outline of the operation based on the above configuration will be described below.

<通常のPCプリンタモード>
これはPC3010から送られてくる印刷データに基づいて画像を印刷する印刷モードである。
<Normal PC printer mode>
This is a print mode in which an image is printed based on print data sent from the PC 3010.

このモードでは、PC3010からのデータがUSBコネクタ1013(図3)を介して入力されると、USBハブ3008、USB3021を介して直接プリンタエンジン3004に送られ、PC3010からのデータに基づいて印刷が行われる。   In this mode, when data from the PC 3010 is input via the USB connector 1013 (FIG. 3), the data is sent directly to the printer engine 3004 via the USB hub 3008 and USB 3021 and printing is performed based on the data from the PC 3010. Is called.

<PCカードからの直接プリントモード>
PCカード3011がカードスロット1009に装着或いは脱着されると割り込みが発生し、これによりDSP3002はPCカード3011が装着されたか或いは脱着(取り外された)されたかを検知できる。PCカード3011が装着されると、そのPCカード3011に記憶されている圧縮された(例えばJPEG圧縮)画像データを読込んでメモリ3003に記憶する。次に操作パネル101を使用して、その格納した画像データの印刷が指示されると、圧縮された画像データを解凍してメモリ3003に格納し、RGB信号からYMCK信号への変換、ガンマ補正、誤差拡散等を実行してプリンタエンジン3004で印刷可能な記録データに変換し、IEEE1284インターフェース部4002を介してプリンタエンジン3004に出力することにより印刷を行う。
<Direct print mode from PC card>
When the PC card 3011 is inserted into or removed from the card slot 1009, an interrupt is generated, whereby the DSP 3002 can detect whether the PC card 3011 is inserted or removed (removed). When the PC card 3011 is inserted, compressed (for example, JPEG compressed) image data stored in the PC card 3011 is read and stored in the memory 3003. Next, when printing of the stored image data is instructed using the operation panel 101, the compressed image data is decompressed and stored in the memory 3003, conversion from RGB signals to YMCK signals, gamma correction, Printing is performed by executing error diffusion or the like, converting the print data into print data that can be printed by the printer engine 3004, and outputting the print data to the printer engine 3004 via the IEEE 1284 interface unit 4002.

<カメラからの直接プリントモード>
図5は本実施の形態に係るPDプリンタ装置1000とデジタルカメラ3012との接続を説明する図である。
<Direct print mode from camera>
FIG. 5 is a diagram for explaining the connection between the PD printer apparatus 1000 and the digital camera 3012 according to this embodiment.

図において、ケーブル5000は、PDプリンタ装置1000のコネクタ1012と接続されるコネクタ5001と、デジタルカメラ3012の接続用コネクタ5003と接続するためのコネクタ5002とを備えており、また、デジタルカメラ3012は、内部のメモリに保存している画像データを、接続用コネクタ5003を介して出力可能に構成されている。なお、デジタルカメラ3012の構成としては、内部に記憶手段としてのメモリを備えるものや、取外し可能なメモリを装着するためのスロットを備えたものなど、種々の構成を採用することができる。このように、図5に示すケーブル5000を介してPDプリンタ装置1000とデジタルカメラ3012とを接続することにより、デジタルカメラ3012からの画像データを直接PDプリンタ装置1000で印刷することができる。   In the figure, a cable 5000 includes a connector 5001 that is connected to the connector 1012 of the PD printer apparatus 1000 and a connector 5002 that is connected to a connector 5003 of the digital camera 3012. The digital camera 3012 includes: The image data stored in the internal memory can be output via the 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. In this way, by connecting the PD printer apparatus 1000 and the digital camera 3012 via the cable 5000 shown in FIG. 5, the image data from the digital camera 3012 can be directly printed by the PD printer apparatus 1000.

ここで図5に示すように、PDプリンタ装置1000にデジタルカメラ3012が接続された場合は、操作パネル1010の表示部1006にはカメラマークのみが表示され、操作パネル1010における表示及び操作が無効になり、又ビューワ1011への表示も無効になる。従って、これ以降はデジタルカメラ3012でのキー操作及びデジタルカメラ3012の表示部(不図示)への画像表示のみが有効になるので、ユーザはそのデジタルカメラ3012を使用して印刷指定を行うことができる。   As shown in FIG. 5, when the digital camera 3012 is connected to the PD printer 1000, only the camera mark is displayed on the display unit 1006 of the operation panel 1010, and the display and operation on the operation panel 1010 are invalidated. In addition, the display on the viewer 1011 is also invalidated. Accordingly, since only the key operation on the digital camera 3012 and the image display on the display unit (not shown) of the digital camera 3012 are effective after this, the user can designate printing using the digital camera 3012. it can.

本実施の形態では、複数のメーカのデジタルカメラを接続してプリントすることができるPDプリンタ装置を提供することを目的とし、本実施の形態に係るPDプリンタ装置1000とデジタルカメラとを接続してプリントを行なう場合の通信規約について詳しく説明する。   The purpose of this embodiment is to provide a PD printer apparatus that can connect and print digital cameras from a plurality of manufacturers, and connect the PD printer apparatus 1000 according to this embodiment and the digital camera. The communication protocol for printing will be described in detail.

本実施の形態においては、PDプリンタ装置1000とデジタルカメラ3012との間の通信制御を汎用ファイル、汎用フォーマットを用いて行い、インターフェースに依存しないNCDP(New Camera Direct Print)を提案する。   In the present embodiment, communication control between the PD printer 1000 and the digital camera 3012 is performed using a general file and a general format, and NCDP (New Camera Direct Print) independent of the interface is proposed.

図6は、このNCDPの構成の一例を示す図である。   FIG. 6 is a diagram showing an example of the configuration of this NCDP.

図において、600はUSBによるインターフェース、601はブルーツース(Bluetooth)によるインターフェースを示している。602はNCDPによるシステムを構築する際に組込まれるアプリケーションレイヤを示している。603は既存のプロトコル及びインターフェースを実行するためのレイヤで、ここではPTP(Picture Transfer Protocol),SCSI及びブルーツースのBIP(Basic Image Profile),USBインターフェース等が実装されている。本実施の形態に係るNCDPは、このようなプロトコルレイヤ等のアーキテクチャが実装されていて、その上にアプリケーションとして実装されることが前提である。ここではPDプリンタ装置1000は、USBホスト、カメラ3012はUSBスレーブとして規定されており、図6に示すように、それぞれ同じNCDP構成となっている。   In the figure, 600 indicates an interface by USB, and 601 indicates an interface by Bluetooth. Reference numeral 602 denotes an application layer incorporated when a system based on NCDP is constructed. Reference numeral 603 denotes a layer for executing an existing protocol and interface. Here, PTP (Picture Transfer Protocol), SCSI and Bluetooth BIP (Basic Image Profile), USB interface, and the like are mounted. The NCDP according to the present embodiment is premised on that such an architecture such as a protocol layer is mounted, and is mounted as an application thereon. Here, the PD printer 1000 is defined as a USB host and the camera 3012 is defined as a USB slave, and each has the same NCDP configuration as shown in FIG.

図7は、本実施の形態に係るNCDPによる、PDプリンタ装置1000とデジタルカメラ(DSC)3012との間での通信手順の流れを説明する図である。   FIG. 7 is a view for explaining the flow of communication procedures between the PD printer 1000 and the digital camera (DSC) 3012 by NCDP according to the present embodiment.

ここでは、図5に示すようにUSBケーブル5000によりPDプリンタ装置1000とDSC3012とが接続されたことが検知されると、これら機器間での通信が可能になる。これにより、これら機器に実装されているアプリケーションが実行されてNCDPによる手順701への移行が開始される。702はNCDPの初期状態を示し、ここでは互いの機種がNCDPを実行可能かどうかを判断し、可能であればNCDPによる手順701に移行している。もしここで、DSC3012がNCDPを実装していない場合には、NCDPによる通信制御は実行されない。こうしてNCDPに移行した後、703で示すように、DSC3012から「基本手順」による画像データの転送/印刷が指示されると、DSC3012から画像ファイルをPDプリンタ装置1000に転送して印刷する簡易印刷モードに移行する。また704で示すように、DSC3012から「推奨手順」による画像データの転送/印刷が指示されると、DSC3012とPDプリンタ装置1000との間で各種ネゴシエーションを行ってその印刷条件等を決定した後、画像ファイルをDSC3012からPDプリンタ装置1000に転送して印刷する、より多彩な印刷モードに移行する。また705は「拡張手順」による指示がDSC3012によりなされると、例えばDPOF,XHTML-print,SVG等の高度レイアウト機能、及び各社ベンダーユニークな仕様での印刷を行うモードが設定される。尚、この「拡張手順」による詳細仕様に関しては、DSCのメーカ各社個別の拡張仕様書で規定されるので、ここでは特に説明しない。尚、これら「基本手順」及び「推奨手順」による画像印刷に関しては、図9乃至図11を参照して後述する。   Here, as shown in FIG. 5, when it is detected that the PD printer 1000 and the DSC 3012 are connected by the USB cable 5000, communication between these devices becomes possible. As a result, the application installed in these devices is executed, and the transition to the procedure 701 by NCDP is started. Reference numeral 702 denotes an initial state of NCDP. Here, it is determined whether or not each model can execute NCDP, and if possible, the procedure proceeds to NCDP procedure 701. If the DSC 3012 does not implement NCDP, communication control by NCDP is not executed. After the transition to NCDP in this way, as shown at 703, when the DSC 3012 gives an instruction to transfer / print image data according to the “basic procedure”, the simple print mode in which the image file is transferred from the DSC 3012 to the PD printer 1000 and printed. Migrate to As indicated by reference numeral 704, when image data transfer / printing is instructed by the “recommended procedure” from the DSC 3012, various negotiations are performed between the DSC 3012 and the PD printer 1000 to determine the printing conditions and the like. The image file is transferred from the DSC 3012 to the PD printer 1000 to be printed, and the print mode is changed to a wider variety. When the DSC 3012 instructs the 705 to perform an “expansion procedure”, for example, an advanced layout function such as DPOF, XHTML-print, SVG, etc., and a mode for performing printing with specifications unique to each vendor are set. Note that the detailed specification by the “expansion procedure” is defined in the extended specification for each DSC manufacturer, and will not be described here. Note that image printing according to these “basic procedures” and “recommended procedures” will be described later with reference to FIGS.

図8は、本実施の形態に係るNCDPにおいてプリントを行うために規定したコマンドを説明する図である。   FIG. 8 is a diagram for explaining commands defined for performing printing in NCDP according to the present embodiment.

図8において、「対応モード」はDSC3012から指示される、前述した「基本手順」、「推奨手順」及び「拡張手順」に対応している。「推奨手順」では全てのコマンドが使用できるのに対し、「基本手順」は簡易印刷モードであるため、NCDPへの移行及びその終了、「基本手順」、「推奨手順」及び「拡張手順」の各モードへの移行コマンド及びカメラ3012からの画像データの取得及びカメラ3012よりの印刷命令のみが使用可能である。尚、「拡張手順」では、NCDPへの移行及びその終了、「基本手順」、「推奨手順」及び「拡張手順」の各モードへの移行コマンドだけが用いられるように記載されているが、前述のように、各社の仕様に応じて他のコマンドが用いられても良いことはいうまでもない。例えば「拡張手順」においても「推奨手順」と同様にCapabilityコマンドを使用し、そのCapability内容に「拡張手順」に固有なベンダーユニークなパラメータ種類やパラメータ値が用いられている、という形態でも良い。   In FIG. 8, the “corresponding mode” corresponds to the “basic procedure”, “recommended procedure”, and “extended procedure” that are instructed from the DSC 3012. While all the commands can be used in the “recommended procedure”, the “basic procedure” is the simple print mode. Therefore, the transition to the NCDP and its termination, the “basic procedure”, the “recommended procedure”, and the “extended procedure” Only the command to shift to each mode, the acquisition of image data from the camera 3012, and the print command from the camera 3012 can be used. In the “extended procedure”, it is described that only the command for shifting to each mode of transition to NCDP and its termination, “basic procedure”, “recommended procedure”, and “extended procedure” is used. Needless to say, other commands may be used according to the specifications of each company. For example, in the “extended procedure”, the Capability command may be used similarly to the “recommended procedure”, and the vendor-specific parameter type and parameter value unique to the “extended procedure” may be used for the Capability content.

以下、前述した「基本手順」及び「推奨手順」による画像印刷について説明する。   Hereinafter, image printing by the above-described “basic procedure” and “recommended procedure” will be described.

図9は、「基本手順」による画像印刷を行う場合のNCDPの通信手順を説明する図である。この「基本手順」は、DSC3012からPDプリンタ装置1000に対して、1回のプリント命令毎に、印刷条件を設定しなくても1枚の画像ファイルを転送して印刷するだけの簡易印刷モードである。従って、画像の色補正やデータ変換などのプリント条件は、PDプリンタ装置1000が決定する。これに対応している画像フォーマットとしては、例えばVGAサイズ(640×480画素)のRGB画像、VGAサイズ(640×480画素)のJPEG画像とし、画像ファイルサイズとしては約1Mバイト以下としている。DSC3012はPDプリンタ装置1000がサポートしている画像フォーマットで送信する。この場合はエラーハンドリグは実行しない。   FIG. 9 is a diagram for explaining an NCDP communication procedure when image printing is performed according to the “basic procedure”. This “basic procedure” is a simple print mode in which one image file is transferred and printed without setting print conditions for each print command from the DSC 3012 to the PD printer 1000. is there. Accordingly, the PD printer 1000 determines printing conditions such as image color correction and data conversion. As an image format corresponding to this, for example, an RGB image of VGA size (640 × 480 pixels) and a JPEG image of VGA size (640 × 480 pixels) are used, and the image file size is about 1 Mbyte or less. The DSC 3012 transmits in an image format supported by the PD printer 1000. In this case, error handling is not executed.

まず900で、PDプリンタ装置1000からDSC3012に対してNCDPへの移行を指示するコマンド(NCDPStart)を送信する。ここでDSC3012がNCDPを実装していればOKが返送される(901)。尚、このNCDPの確認手順を行う場合の一例としてPTPを用いた場合の具体例に関しては、図14を参照して詳しく後述する。   First, at 900, the PD printer 1000 transmits a command (NCDPStart) instructing the DSC 3012 to shift to NCDP. If the DSC 3012 is equipped with NCDP, OK is returned (901). A specific example of using PTP as an example of performing the NCDP confirmation procedure will be described in detail later with reference to FIG.

こうして互いにNCDPが実装されていることが確認されると、PDプリンタ装置1000からNCDPモードに移行するように命令(ProcedureStart)がDSC3012に送信される(902)。これに対して903で、DSC3012から簡易印刷モードである「基本手順」が送られてくると、これ以降は「基本手順」による印刷モードに移行する。この場合は、DSC3012における操作により、印刷したい画像が選択されて印刷が指示されると、印刷の開始を指示するコマンド(JobStart)がDSC3012からPDプリンタ装置1000に送られる(904)。これによりPDプリンタ装置1000は簡易印刷モードとなり、DSC3012に対してコマンド(GetImage)を送信してJPEG画像を要求する(905)。これによりDSC3012からJPEG画像(Image Data)がPDプリンタ装置1000に送信され(906)、PDプリンタ装置1000における印刷処理が開始される。こうして、指示された画像の印刷が終了すると、印刷ジョブの終了を示すコマンド(JobEnd)がPDプリンタ装置1000からDSC3012に送信される(907)。これに対してDSC3012から肯定応答(OK)が返送されると(908)、この「基本手順」による印刷処理が完了する。この「基本手順」は単純に画像指定情報のやり取りをすることが前提であるので、この「基本手順」でプリントすることが決まったら、後述のcapability情報の交換を行うことなく、直にプリント可能状態にすることができる。但し、この「基本手順」でやり取りするかどうかを、DSCとPDプリンタ装置の双方のCapabilityにより決定するようにしても良い。   When it is confirmed that NCDP is installed in this way, a command (ProcedureStart) is transmitted from the PD printer 1000 to the NCDP mode to the DSC 3012 (902). On the other hand, when the “basic procedure” which is the simple print mode is sent from the DSC 3012 in 903, the process proceeds to the print mode based on the “basic procedure” thereafter. In this case, when an image to be printed is selected by the operation in the DSC 3012 and printing is instructed, a command (JobStart) instructing the start of printing is sent from the DSC 3012 to the PD printer 1000 (904). As a result, the PD printer 1000 enters the simple print mode, and sends a command (GetImage) to the DSC 3012 to request a JPEG image (905). Accordingly, a JPEG image (Image Data) is transmitted from the DSC 3012 to the PD printer apparatus 1000 (906), and printing processing in the PD printer apparatus 1000 is started. Thus, when printing of the designated image is completed, a command (JobEnd) indicating the end of the print job is transmitted from the PD printer 1000 to the DSC 3012 (907). On the other hand, when an affirmative response (OK) is returned from the DSC 3012 (908), the printing process according to this "basic procedure" is completed. Since this “basic procedure” is based on the premise that image designation information is simply exchanged, if it is decided to print in this “basic procedure”, it can be printed directly without exchanging capability information described later. Can be in a state. However, whether or not to exchange in this “basic procedure” may be determined by the Capability of both the DSC and the PD printer.

本実施の形態においては「基本手順」「推奨手順」「拡張手順」のうち、PDプリンタ装置1000がいずれをサポートしているかをDSC3012が取得すると記載されているが、必ずしもこの方法に限るわけではなく、PDプリンタ装置1000の機種名やベンダー名等のプリンタ情報に基づいてDSC3012が適当な手順を選択する方法等を用いても良い。例えばDSC3012が「推奨手順をサポートしているプリンタの機種名リスト」を保持し、接続されたプリンタの機種名がリスト中にあった場合には推奨手順を選択し、リストに無かった場合には基本手順を選択する、としても良い。   In this embodiment, it is described that the DSC 3012 acquires which of the “basic procedure”, “recommended procedure”, and “extended procedure” is supported by the PD printer 1000, but this is not necessarily limited to this method. Alternatively, a method in which the DSC 3012 selects an appropriate procedure based on printer information such as the model name and vendor name of the PD printer 1000 may be used. For example, if the DSC 3012 holds a “model name list of printers that support the recommended procedure” and the model name of the connected printer is in the list, the recommended procedure is selected, and if it is not in the list, The basic procedure may be selected.

図25は「ProcedureStart」コマンド時に、PDプリンタ装置1000からDSC3012に送られるスクリプトにプリンタのベンダー名及びプリンタ機種名が記載されている例、及び図26は、それに引き続いてDSC3012からPDプリンタ装置1000に送られるスクリプトにDSC3012のベンダー名及びDSC3012の機種名が記載されている例をそれぞれ示す図である。   FIG. 25 shows an example in which the printer vendor name and printer model name are described in the script sent from the PD printer 1000 to the DSC 3012 at the time of the “ProcedureStart” command, and FIG. 26 shows the DSC 3012 to the PD printer 1000 after that. It is a figure which respectively shows the example in which the vendor name of DSC3012 and the model name of DSC3012 are described in the script sent.

また、本実施の形態においては「基本手順」においてJobStartコマンドは、画像の印刷のみを指定しており、画像フォーマットやファイルサイズは、固定的に決められているものとして説明している。これはCapability情報の送受信を行わなくてもプリントできるようにするためである。但し、このCapabilityの送受信を行わない場合であっても、画像フォーマットやプリントサイズ等の印刷条件を指定することは可能である。例えば、上記画像フォーマット等と同様に「プリンタ側が必ずサポートしている」又は「プリンタ側が自分のCapabilityに応じて適宜処理をする」という事が予めPDプリンタ装置1000或いはDSC3012で了解されている項目等については、DSC3012側がJobStartコマンド中で指定しても良い。このような構成にするためには、後述する「NCDPStart」で、お互いの機器情報を交換して、所定の機器である場合にのみ、Capability情報が無くても、印刷条件をプリントjob(script)の中で指定可能とするように処理を切替るのが好ましい。しかし、なるべく面倒な設定を省くための「基本手順」は、初心者のための操作手順を用意しておくために重要である。   In the present embodiment, the “Start procedure” in the “Basic procedure” designates only image printing, and the image format and file size are fixedly determined. This is to enable printing without transmitting / receiving Capability information. However, even when the Capability is not transmitted and received, it is possible to specify printing conditions such as an image format and a print size. For example, in the same way as the above image format, etc., the items that have been previously understood by the PD printer 1000 or DSC 3012 that “the printer side always supports” or “the printer side performs appropriate processing according to its own Capability” May be specified in the JobStart command by the DSC 3012 side. In order to achieve such a configuration, with “NCDPStart” to be described later, mutual device information is exchanged, and only when the device is a predetermined device, the print condition can be set to print job (script) even without Capability information. It is preferable to switch the processing so that it can be specified in the list. However, the “basic procedure” for saving troublesome settings as much as possible is important for preparing operation procedures for beginners.

図27は、「基本手順」時にJobStartコマンドで、DSC3012からPDプリンタ装置1000に送られるスクリプトにCapabilityに関する設定が一切されていない例を示す図、及び図28は「基本手順」時にJobStartコマンドでDSC3012からPDプリンタ装置1000に送られるスクリプトに「プリンタ側が必ずサポートしている」、又は「プリンタ側が自分のCapabilityに応じて適宜処理をする」という事が予めPDプリンタ装置1000とDSC3012との間で了解されている項目に関する設定がされている例を示す図である。   FIG. 27 is a diagram showing an example in which no setting related to Capability is set in the script sent from the DSC 3012 to the PD printer 1000 by the JobStart command at the “basic procedure”, and FIG. 28 shows the DSC 3012 by the JobStart command at the “basic procedure”. Between the PD printer 1000 and the DSC 3012 in advance that the script sent from the printer to the PD printer 1000 is “supported by the printer side” or “the printer side performs processing according to its own Capability”. It is a figure which shows the example by which the setting regarding the item currently performed is made.

図10は、「推奨手順」による画像印刷を行う場合のNCDPの通信手順を説明する図で、前述の図9と共通する手順には同じ番号を付して、その説明を省略する。この「推奨手順」では、PDプリンタ装置1000とDSC3012との間でのネゴシエーションを前提とした「より多彩な印刷」モードが設定でき、1回の印刷指示で複数枚の写真印刷が可能になる。更に、DSC3012からPDプリンタ装置1000へプリント条件の情報をスクリプト(text)で送信するので、色設定やレイアウト印刷等の多くの印刷条件を反映させた印刷が可能になる。エラーハンドリングも実行可能となる。   FIG. 10 is a diagram for explaining the NCDP communication procedure when performing image printing according to the “recommended procedure”. The same steps as those in FIG. In the “recommended procedure”, a “more various printing” mode based on the negotiation between the PD printer 1000 and the DSC 3012 can be set, and a plurality of photo prints can be performed with a single print instruction. Furthermore, since print condition information is transmitted from the DSC 3012 to the PD printer 1000 as a script (text), printing that reflects many print conditions such as color settings and layout printing becomes possible. Error handling can also be performed.

図10において、図9の場合と同様にして、互いにNCDPが実装されていることを確認した後、この場合では、DSC3012から「推奨手順」が指示される(910)。この後はこの「推奨手順」による手順が実行される。まず911で示すように、PDプリンタ装置1000は、自機の備えている機能及び用紙設定等を含む機能をCapability情報として全てDSC3012に伝える。このCapability情報は、スクリプト形式(テキスト)でDSC3012に送信される。   In FIG. 10, after confirming that NCDP is installed in the same manner as in FIG. 9, in this case, a “recommended procedure” is instructed from the DSC 3012 (910). Thereafter, the procedure according to the “recommended procedure” is executed. First, as indicated by 911, the PD printer apparatus 1000 transmits all the functions of the self-device and functions including paper settings to the DSC 3012 as Capability information. This Capability information is transmitted to the DSC 3012 in a script format (text).

このCapability情報の一例を図12に示す。   An example of this Capability information is shown in FIG.

図12に示すように、このCapability情報は、印刷可能な用紙の種類及びサイズ、印刷品位、画像データのフォーマット、日付印刷の有無、ファイル名印刷の有無、レイアウト、画像補正の有無、更にはオプションとして、各カメラメーカの仕様に対応した機能の有無等の情報を含んでいる。   As shown in FIG. 12, this Capability information includes the type and size of printable paper, print quality, image data format, presence / absence of date printing, presence / absence of file name printing, layout, presence / absence of image correction, and options. Information on the presence or absence of functions corresponding to the specifications of each camera manufacturer.

このようにCapability情報をスクリプト表記とすることにより、他の通信プロトコルのアーキテクチャへの移植を簡単にし、このような機能情報のやり取りを、より標準化し易くしている。尚、このスクリプト表記はXML準拠であっても良い。   By using Capability information in script notation in this way, porting to other communication protocol architectures is simplified, and the exchange of such function information is more easily standardized. Note that this script notation may be XML compliant.

このようなCapability情報を受信したDSC3012のユーザは、そのPDプリンタ装置1000が備えている機能の内のいずれを使用して印刷を行うかを判定し、印刷したい画像を選択すると共に、その画像の印刷条件をそのPDプリンタ装置1000の有している機能の中から選択して決定する。こうして印刷したい画像及び印刷条件などが決定されて印刷開始が指示されると、プリント命令(JobStart)がPDプリンタ装置1000に送られる。このStartJobの一例を図29に示す。これによりPDプリンタ装置1000から、その画像データを要求するコマンド(GetImage xn)が発行され(912)、それに応答してDSC3012から、対応する画像データ(ImageData)が、PDプリンタ装置1000が受信可能な画像フォーマット(Tiff,JPEG,RGBなど)で送信される(913)。ここで1枚の画像印刷に対して複数の画像データを送信できるようになっているのは、例えば2×2等のレイアウト印刷が指定されている場合は、1枚の用紙に対して4枚分の画像データを送信する必要があるためである。こうして、指示された画像の印刷が終了すると印刷ジョブの終了を示すコマンド(JobEnd)がPDプリンタ装置1000からDSC3012に送信される(907)。これに対してDSC3012から肯定応答(OK)が返送されると(908)、再び、この「推奨手順」による、次に画像の選択・印刷処理に移行する。   The user of the DSC 3012 that has received such Capability information determines which of the functions of the PD printer 1000 is to be used for printing, selects an image to be printed, and The printing conditions are selected and determined from the functions of the PD printer 1000. When an image to be printed, printing conditions, and the like are determined in this way and a print start is instructed, a print command (JobStart) is sent to the PD printer 1000. An example of this StartJob is shown in FIG. As a result, a command (GetImage xn) requesting the image data is issued from the PD printer 1000 (912), and in response thereto, the corresponding image data (ImageData) can be received from the DSC 3012 by the PD printer 1000. It is transmitted in an image format (Tiff, JPEG, RGB, etc.) (913). Here, a plurality of pieces of image data can be transmitted for one image printing. For example, when layout printing such as 2 × 2 is designated, four sheets of data are printed on one sheet. This is because it is necessary to transmit the image data of the minute. Thus, when printing of the designated image is completed, a command (JobEnd) indicating the end of the print job is transmitted from the PD printer 1000 to the DSC 3012 (907). On the other hand, when an affirmative response (OK) is returned from the DSC 3012 (908), the process proceeds to the next image selection / printing process according to the "recommended procedure" again.

本実施の形態では、DSC3012からの要求が無くても、Capability情報をPrinterが発行してDSCへ通達しているが、この形態に限るわけではなく、DSC側からCapabilityをPrinterに対して要求し、その応答としてPrinterがCapabilityをDSC側へ通達する、という様な他の形態であっても良い。このような観点で本実施の形態を見た場合、
・「推奨手順への移行」を通達するProcedureStartコマンドを受信したことに応じてCapabilityを送信するので、「ProcedureStart」コマンドが、「Capability request」と同様の意味合いを持つ。
・Capability情報は、「Capability request」としての「ProcedureStart」コマンドの応答として送信される。
In this embodiment, even if there is no request from the DSC 3012, the Printer issues the Capability information and notifies the DSC. However, the present invention is not limited to this mode. As a response, it may be another form in which the Printer communicates Capability to the DSC side. If you look at this embodiment from this perspective,
-Capability is transmitted in response to receipt of the ProcedureStart command that passes the “transition to recommended procedure”, so the “ProcedureStart” command has the same meaning as “Capability request”.
Capability information is transmitted as a response to a “ProcedureStart” command as a “Capability request”.

図11は、前述の「推奨手順」による画像印刷を行う場合のNCDPの通信手順において、PDプリンタ装置1000でエラーが発生した場合の通信手順を説明する図で、前述の図10と共通する手順には同じ番号を付して、その説明を省略する。   FIG. 11 is a diagram for explaining the communication procedure when an error occurs in the PD printer 1000 in the NCDP communication procedure when performing image printing according to the above-described “recommended procedure”. The procedure is the same as that in FIG. Are given the same numbers and their explanation is omitted.

この例では、「推奨手順」での印刷処理の実行中に、PDプリンタ装置1000において給紙エラーが発生した場合の例を示している。この場合には914で、PDプリンタ装置1000からDSC3012に対して給紙エラーを示すステータス情報(Status)が送信される。これに対してDSC3012のユーザによる判断に基づいて、その印刷処理を継続するか(JobContinue)、中止するか(JobAbort)を示すコマンドがPDプリンタ装置1000に送信される(915)。これによりPDプリンタ装置1000では、中止の場合はその印刷処理を中止してプリントジョブの終了通知(JobEnd)を送信して印刷を中止する。或いは継続が指示された場合には、その給紙エラーの修復を待って、印刷処理を継続するように動作する。   In this example, a case where a paper feed error occurs in the PD printer 1000 during execution of the printing process in the “recommended procedure” is shown. In this case, at 914, status information (Status) indicating a paper feed error is transmitted from the PD printer 1000 to the DSC 3012. On the other hand, based on the determination by the DSC 3012 user, a command indicating whether to continue the printing process (JobContinue) or cancel (JobAbort) is transmitted to the PD printer 1000 (915). As a result, the PD printer 1000 cancels the printing process, transmits a print job end notification (JobEnd), and cancels the printing in the case of cancellation. Alternatively, when the continuation is instructed, the print processing is continued after the paper feed error is repaired.

次に、前述した処理手順を図13のフローチャートを参照して説明する。   Next, the processing procedure described above will be described with reference to the flowchart of FIG.

図13は、図7に示す処理手順を説明するフローチャートである。   FIG. 13 is a flowchart for explaining the processing procedure shown in FIG.

まずステップS1で、デジタルカメラ(DSC)3012とPDプリンタ装置1000との間の通信を確立し(700)、ステップS2で、これら機器がNCDPを実装済みかどうかを判定し、実装済みであればNCDPに移行する。次にステップS3に進み、DSC3012からの手順指示を受信して、その指示された手順に移行する。ここで「基本手順」が指示された時はステップS4からステップS5に進み、「基本手順」による印刷処理を実行する。また「推奨手順」が指示された時はステップS6からステップS7に進み、前述した「推奨手順」による印刷処理を実行する。更に「拡張手順」が指示された時はステップS8からステップS9に進み、各ベンダーに応じた「拡張手順」による印刷処理を実行する。それ以外の場合はステップS10に進み、このPDプリンタ装置1000とDSC3012とによる独自のモードでの印刷を実行する。   First, in step S1, communication between the digital camera (DSC) 3012 and the PD printer 1000 is established (700). In step S2, it is determined whether these devices have NCDP installed. Move to NCDP. In step S3, a procedure instruction from the DSC 3012 is received, and the procedure proceeds to the instructed procedure. Here, when “basic procedure” is instructed, the process proceeds from step S4 to step S5, and print processing according to “basic procedure” is executed. When “recommended procedure” is instructed, the process proceeds from step S6 to step S7, and the printing process according to the “recommended procedure” described above is executed. Further, when an “extended procedure” is instructed, the process proceeds from step S8 to step S9, and print processing based on the “extended procedure” corresponding to each vendor is executed. In other cases, the process proceeds to step S10, and printing is performed in a unique mode by the PD printer 1000 and the DSC 3012.

本実施の形態の図13中では、NCDPモードから「基本手順」「推奨手順」「拡張手順」「独自モード」へ遷移する形態を記述したが、他にもNCDPモードへ移行すると同時に「基本手順」選択状態となってすぐにJobStartを受け付けられる状態へとなり、その後、DSC3012若しくはPDプリンタ装置1000からの要請に従って他の手順、モードへと遷移する形態としても良い。   In FIG. 13 of the present embodiment, the mode of transition from the NCDP mode to the “basic procedure”, “recommended procedure”, “extended procedure”, and “unique mode” has been described. It is also possible to adopt a mode in which a job start can be accepted immediately after entering the selection state, and then the mode is changed to another procedure or mode in accordance with a request from the DSC 3012 or the PD printer 1000.

このように構成した場合には、プリント可能な状態に移行することを優先することができる。つまり、難しい設定が分からない初心者にとっては、面倒な設定を行わずに早く印刷したいという要求に応えることができる。一方、上記の手順の切り替えを認識可能な上級者であれば、手順の切り替え操作などを行って、より詳細な印刷条件の設定を行うことができる。このようにしてユーザの習得レベルに合わせたシステムを設計することができる。   In such a configuration, priority can be given to shifting to a printable state. That is, for beginners who do not know difficult settings, it is possible to meet the demand for printing quickly without making troublesome settings. On the other hand, an advanced person who can recognize the switching of the procedure described above can set a more detailed printing condition by performing a procedure switching operation or the like. In this way, it is possible to design a system that matches the learning level of the user.

次に上述したNCDPにおける各種コマンド(図8)を、汎用のPTPを用いて実現した(PTPによるラッパー)例を説明する。尚、本実施の形態では、PTPを用いたNCDPの場合で説明するが本発明はこれに限定されるものではなく、例えば、他のインターフェース、他のクラス(Class)上でダイレクトプリントサービスAPIを実装しても良い。   Next, an example in which the various commands in the above-mentioned NCDP (FIG. 8) are realized using general-purpose PTP (PTP wrapper) will be described. In this embodiment, NCDP using PTP will be described. However, the present invention is not limited to this. For example, the direct print service API is provided on another interface or another class. May be implemented.

[NCDPStart]
図14は、NCDP手順の開始を指示する命令(NCDPStart)をPTPアーキテクチャを用いて実現した例を説明する図である。
[NCDPStart]
FIG. 14 is a diagram illustrating an example in which a command (NCDPStart) instructing the start of the NCDP procedure is realized using the PTP architecture.

PDプリンタ装置1000とDSC3012とが物理的に接続された後、まず1400で、PDプリンタ装置1000からDSC3012に対してGetDeviceInfoが送信され、DSC3012に対して、その保持しているオブジェクトに関する情報が要求される。これに対してDSC3012は、DeviceInfo Datasetにより、DSC3012に保持しているオブジェクトに関する情報をPDプリンタ装置1000に送信する。次に1402で、OpenSessionにより、DSC3012をリソースとして割り当て、必要に応じてデータオブジェクトにハンドルをアサインしたり、特別な初期化を行うための手順の開始要求が発行される。これに対してDSC3012から肯定応答(OK)が返送されるとPTPでの通信が開始される。次に1403で、DSC3012に対してGetObjectHandlesを送信して、スクリプト形式の全てのハンドルを要求する(Storage ID: FFFFFF, Object Type: Script)と、これに対して1404で、DSC3012に保持されている全てのハンドルリスト(ObjectHandleArray)が返送される。次に1405,1406において、PDプリンタ装置1000からi番目のオブジェクトハンドルの情報を取得する。ここで、このオブジェクトに、DSC3012の識別を示すキーワード(例えば合言葉「山」)が含まれていると、次に1407において、PDプリンタ装置1000からDSC3012に対してオブジェクト情報の送信を指示して(SendObjectInfo)、それに対して肯定応答(OK)を受信すると、SendObjectにより、オブジェクト情報をPDプリンタ装置1000からDSC3012に対して送信する。ここで、このオブジェクトには、前述のキーワードに対する応答キーワード(合言葉)として例えば「川」が含まれている。   After the PD printer apparatus 1000 and the DSC 3012 are physically connected, first, at 1400, GetDeviceInfo is transmitted from the PD printer apparatus 1000 to the DSC 3012, and the DSC 3012 is requested for information on the held object. The In response to this, the DSC 3012 transmits information about the object held in the DSC 3012 to the PD printer 1000 by DeviceInfo Dataset. Next, in 1402, DSC 3012 is allocated as a resource by OpenSession, a handle for assigning a handle to a data object as necessary, or a request for starting a procedure for performing special initialization is issued. On the other hand, when an affirmative response (OK) is returned from the DSC 3012, PTP communication is started. Next, in 1403, GetObjectHandles is transmitted to the DSC 3012 to request all handles in script format (Storage ID: FFFFFF, Object Type: Script). In response to this, the DSC 3012 holds the handle in 1404. All handle lists (ObjectHandleArray) are returned. Next, at 1405 and 1406, information on the i-th object handle is acquired from the PD printer 1000. Here, if this object includes a keyword indicating the identification of the DSC 3012 (for example, the password “mountain”), then in 1407, the PD printer 1000 instructs the DSC 3012 to transmit object information ( SendObjectInfo), and when an acknowledgment (OK) is received, object information is transmitted from the PD printer 1000 to the DSC 3012 by SendObject. Here, this object includes, for example, “river” as a response keyword (password) for the keyword.

このようにして、PDプリンタ装置1000とDSC3012の双方が互いに接続相手を認識できることになり、これ以降はNCDPによる手順(図7の701)に移行することができる。このようにファイルの受渡しができるトランスポートレイヤーであればキーワードの受渡しを確実に行うことができる。即ち、本実施の形態のNCDPにユニークなコマンド等を追加することなく、PTPアーキテクチャを使用してキーワードを交換することができる。尚、ここでキーワードとしては、上述の例に限定されるものでなく、DSC3012とPDプリンタ装置1000とが同じキーワードを使用してもよい。またこのキーワードによるネゴシエーションを行う時間を短縮するために、スクリプト形式のハンドルの最初にこのキーワードを入れておくことにより、互いの機器を確認するのに要する時間を短縮できる。   In this way, both the PD printer 1000 and the DSC 3012 can recognize each other's connection partner, and thereafter, the procedure can be shifted to the NCDP procedure (701 in FIG. 7). In this way, a keyword can be reliably transferred in a transport layer that can transfer a file. That is, keywords can be exchanged using the PTP architecture without adding a unique command or the like to the NCDP of the present embodiment. Here, the keyword is not limited to the above example, and the DSC 3012 and the PD printer apparatus 1000 may use the same keyword. In addition, in order to shorten the time for performing the negotiation with this keyword, the time required for checking each other's devices can be shortened by placing this keyword at the beginning of the script handle.

[ProcedureStart]
図15は、DSC3012からの、NCDPでの印刷モードへの移行手順を指示する命令を受信して、PDプリンタ装置1000からDSC3012に対して、そのモードに移行するための命令(ProcedureStart)(902)をPTPアーキテクチャを用いて実現した例を説明する図である。
[ProcedureStart]
FIG. 15 shows an instruction (ProcedureStart) for receiving a command from the DSC 3012 for instructing the procedure for shifting to the printing mode in the NCDP, and for shifting the mode from the PD printer 1000 to the DSC 3012 (902). It is a figure explaining the example which implement | achieved using PTP architecture.

ここではまず1501で、PDプリンタ装置1000がサポートしている手続「基本手順」、「推奨手順」、「拡張手順」をDSC3012に通知するためにSendObjectInfoにより、DSC3012に対して送信したいオブジェクト情報があることを伝える。これに対して肯定応答(OK)がDSC3012から送られてくると、1502でSendObjectにより、オブジェクトを送信する旨をDSC3012に伝え、次の1503のObjectDataで、このPDプリンタ装置1000がサポートしている手続に関する情報を送信する。次に1504で、DSC3012からPDプリンタ装置1000に対して、GetObject動作を起動したい(プッシュモードに移行)旨を伝える(RequestObjectTransfer)。これにより1505で、PDプリンタ装置1000からオブジェクト情報に関する情報を受信する旨が伝えられると(GetObjectInfo)、1506で、ObjectInfo Datasetにより、その情報がPDプリンタ装置1000に返送される。次に1507で、PDプリンタ装置1000からそのオブジェクト情報を指定してオブジェクト情報そのものを要求すると、Object Datasetにより、DSC3012が使用する手続(「基本」、「推奨」、「拡張」等)をPDプリンタ装置1000に知らせる(1508)。   Here, in step 1501, there is object information to be transmitted to the DSC 3012 by SendObjectInfo in order to notify the DSC 3012 of the procedures “basic procedure”, “recommended procedure”, and “extended procedure” supported by the PD printer 1000. Tell them. On the other hand, when an affirmative response (OK) is sent from the DSC 3012, the object is sent to the DSC 3012 by SendObject in 1502, and this PD printer 1000 supports this ObjectData of 1503. Send information about the procedure. Next, in 1504, the DSC 3012 notifies the PD printer 1000 that the GetObject operation is to be started (shift to the push mode) (RequestObjectTransfer). As a result, when it is notified in 1505 that information related to object information is received from the PD printer apparatus 1000 (GetObjectInfo), the information is returned to the PD printer apparatus 1000 by ObjectInfo Dataset in 1506. Next, in 1507, when the object information itself is requested from the PD printer apparatus 1000 by requesting the object information itself, the procedures ("basic", "recommended", "extended", etc.) used by the DSC 3012 are processed by the PD printer using Object Dataset. The apparatus 1000 is notified (1508).

これにより、DSC3012からPDプリンタ装置1000に対して、画像の印刷モードを指定することができる。   As a result, the image printing mode can be designated from the DSC 3012 to the PD printer 1000.

[NCDPEnd]
図16は、本実施の形態に係るNCDPにおける通信制御手順を終了する命令(NCDPEnd)をPTPアーキテクチャを用いて実現した例を説明する図である。
[NCDPEnd]
FIG. 16 is a diagram illustrating an example in which a command (NCDPEnd) for ending the communication control procedure in NCDP according to the present embodiment is realized using the PTP architecture.

この手順では、1600において、PDプリンタ装置1000からDSC3012に対して送信したいオブジェクト情報があることを伝え(SendObjectInfo)、SendObjectによりDSC3012に対してオブジェクト情報の伝送を伝え、続くObjectDataにより、DSC3012に対してNCDPのモードから抜けることを通知する。これに対して肯定応答(OK)を受信すると、1601でCloseSessionを送信して、この通信を終了させる。これによりNCDPによる通信手順を終了する。   In this procedure, in 1600, the PD printer 1000 informs the DSC 3012 that there is object information to be transmitted (SendObjectInfo), SendObject transmits the object information to the DSC 3012, and the subsequent ObjectData informs the DSC 3012. Notify that you are out of NCDP mode. On the other hand, when an affirmative response (OK) is received, CloseSession is transmitted at 1601 to end this communication. This completes the NCDP communication procedure.

[Capability]
図17は、本実施の形態に係るNCDPにおける、PDプリンタ装置1000の機能をDSC3012に通知するCapability命令における通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[Capability]
FIG. 17 is a diagram for explaining an example in which the communication procedure in the Capability command for notifying the function of the PD printer 1000 to the DSC 3012 in the NCDP according to the present embodiment is realized using the PTP architecture.

この手順では、1700において、PDプリンタ装置1000からDSC3012に対して送信したいオブジェクト情報があることをSendObjectInfoにより伝える。そして1701で、SendObjectによりDSC3012に対してオブジェクト情報の伝送を伝え、続くObject Dataにより、PDプリンタ装置1000が有している機能をスクリプト(Script)形式(図12)でDSC3012に送信する。   In this procedure, in 1700, it is notified by SendObjectInfo that there is object information to be transmitted from the PD printer 1000 to the DSC 3012. In 1701, transmission of object information is transmitted to the DSC 3012 by SendObject, and the functions of the PD printer 1000 are transmitted to the DSC 3012 in script format (FIG. 12) using the subsequent Object Data.

[GetImage]
図18は、本実施の形態に係るNCDPにおける、PDプリンタ装置1000がDSC3012に保持されている画像データ(JPEG画像)を取得する(GetImage)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[GetImage]
FIG. 18 illustrates an example in which the communication procedure for acquiring image data (JPEG image) held in the DSC 3012 (GetImage) in the NCDP according to the present embodiment is implemented using the PTP architecture. FIG.

まず1800で、DSC3012が保持しているオブジェクトに関する情報をPDプリンタ装置1000から要求されると、1801で、そのオブジェクトに関する情報(ObjectInfo Dataset)がDSC3012からPDプリンタ装置1000に送られる。次に、1802で、そのオブジェクトを指定して取得要求(GetObject)を発行すると、1803で、その要求された画像ファイル(Object Dataset)がDSC3012からPDプリンタ装置1000に対して送信される。この様にしてPDプリンタ装置1000は、DSC3012から所望の画像ファイルを取得することができる。   First, in 1800, when information related to an object held by the DSC 3012 is requested from the PD printer 1000, information related to the object (ObjectInfo Dataset) is sent from the DSC 3012 to the PD printer 1000 in 1801. Next, when an acquisition request (GetObject) is issued by specifying the object in 1802, the requested image file (Object Dataset) is transmitted from the DSC 3012 to the PD printer 1000 in 1803. In this way, the PD printer 1000 can acquire a desired image file from the DSC 3012.

[StatusSend]
図19は、本実施の形態に係るNCDPにおける、PDプリンタ装置1000からDSC3012に対してエラー状態などを通知する(StatusSend)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[StatusSend]
FIG. 19 is a diagram for explaining an example in which a communication procedure for notifying an error state or the like from the PD printer 1000 to the DSC 3012 (StatusSend) in the NCDP according to the present embodiment is realized using the PTP architecture.

まず1900で、PDプリンタ装置1000からDSC3012に対して送信したいオブジェクト情報がある旨をSendObjectInfoにより通知する。そして1901で、そのオブジェクト情報に関する情報セット(ObjectInfo Dataset)をDSC3012に送信し、DSC3012からの肯定応答(OK)に対して、PDプリンタ装置1000におけるエラー等のステータス情報をSendObjectおよびObject Datasetにより送信する。ここでPDプリンタ装置1000からDSC3012に送られるDataは、テキスト形式のデータ(Script)である。   First, in 1900, the SendObjectInfo notifies that there is object information to be transmitted from the PD printer 1000 to the DSC 3012. In 1901, an information set (ObjectInfo Dataset) related to the object information is transmitted to the DSC 3012. In response to an acknowledgment (OK) from the DSC 3012, status information such as an error in the PD printer 1000 is transmitted using SendObject and Object Dataset. . Here, Data sent from the PD printer 1000 to the DSC 3012 is text format data (Script).

[PageEnd]
図20は、本実施の形態に係るNCDPにおける、PDプリンタ装置1000からDSC3012に対して、1ページのプリント処理が終了したことを通知する(PageEnd)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[PageEnd]
FIG. 20 shows an example in which the communication procedure for notifying that the printing process for one page is completed (PageEnd) from the PD printer 1000 to the DSC 3012 in the NCDP according to the present embodiment is realized using the PTP architecture. It is a figure explaining.

[JobEnd]
図21は、本実施の形態に係るNCDPにおける、PDプリンタ装置1000からDSC3012に対して、プリントジョブが終了したことを通知する(JoeEnd)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[JobEnd]
FIG. 21 is a diagram for explaining an example in which the communication procedure for notifying the end of a print job from the PD printer 1000 to the DSC 3012 (JoeEnd) using the PTP architecture in the NCDP according to the present embodiment. It is.

図20,図21においては、図19の1900乃至1901の手順実行後、図20の1910で、PDプリンタ装置1000からDSC3012に対して1ページの印刷処理が終了したことが通知される。また図21の1911では、PDプリンタ装置1000からDSC3012に対して印刷ジョブが終了したことが通知される。ここでPDプリンタ装置1000からDSC3012に送信されるData(ページエンド、ジョブエンド)は、テキスト形式のデータ(Script)である。   20 and 21, after executing the procedures 1900 to 1901 in FIG. 19, in 1910 in FIG. 20, the PD printer 1000 notifies the DSC 3012 that the printing process for one page has been completed. In 1911 of FIG. 21, the PD printer 1000 notifies the DSC 3012 that the print job has been completed. Here, Data (page end, job end) transmitted from the PD printer 1000 to the DSC 3012 is text format data (Script).

[JobStart]
図22は、本実施の形態に係るNCDPにおける、DSC3012からPDプリンタ装置1000に対して、プリントジョブの開始を通知する(JobStart)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[JobStart]
FIG. 22 is a diagram for explaining an example in which a communication procedure for notifying the start of a print job from the DSC 3012 to the PD printer 1000 (JobStart) in the NCDP according to the present embodiment is realized using the PTP architecture. .

まず2200において、DSC3012からPDプリンタ装置1000に対してRequestObjectTransferを送り、PDプリンタ装置1000がGetObjectコマンドを発行するように促す。これにより2201で、PDプリンタ装置1000からGetObjectInfoが発行されると、DSC3012は送信したいオブジェクト情報に関する情報を送信し、これに対してPDプリンタ装置1000からオブジェクト情報が要求されると(GetObject:2203)、2204で、Object Datasetを送信して、DSC3012からPDプリンタ装置1000に対して印刷命令を発行する。ここでDSC3012からPDプリンタ装置1000に送信されるData(印刷開始命令)は、テキスト形式のデータ(Script)である。   First, in 2200, RequestObjectTransfer is sent from the DSC 3012 to the PD printer 1000 to prompt the PD printer 1000 to issue a GetObject command. As a result, when GetObjectInfo is issued from the PD printer 1000 in 2201, the DSC 3012 transmits information on object information to be transmitted, and when object information is requested from the PD printer 1000 (GetObject: 2203). 2204, the Object Dataset is transmitted, and the DSC 3012 issues a print command to the PD printer 1000. Here, Data (print start command) transmitted from the DSC 3012 to the PD printer 1000 is text data (Script).

[JobAbort]
図23は、本実施の形態に係るNCDPにおける、DSC3012からPDプリンタ装置1000に対してプリント中止命令を発行する(JobAbort)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[JobAbort]
FIG. 23 is a diagram illustrating an example in which a communication procedure for issuing a print abort command from the DSC 3012 to the PD printer 1000 (JobAbort) in the NCDP according to the present embodiment is realized using the PTP architecture.

[JobContinue]
図24は、本実施の形態に係るNCDPにおける、DSC3012からPDプリンタ装置1000に対してプリント再開命令を発行する(JobContinue)通信手順をPTPアーキテクチャを用いて実現した例を説明する図である。
[JobContinue]
FIG. 24 is a diagram for explaining an example in which a communication procedure for issuing a print restart command from the DSC 3012 to the PD printer 1000 (JobContinue) in the NCDP according to the present embodiment is realized using the PTP architecture.

図23及び図24において、図22の2200乃至2203の手順を実行した後、図23の2301で、DSC3012からPDプリンタ装置1000に対して印刷中止命令が発行され、図24の2401では、DSC3012からPDプリンタ装置1000に対して印刷再開命令が通知される。ここでDSC3012からPDプリンタ装置1000に送信されるData(印刷中止命令、印刷再開命令)は、テキスト形式のデータ(Script)である。   23 and 24, after executing the steps 2200 to 2203 in FIG. 22, a print stop instruction is issued from the DSC 3012 to the PD printer 1000 in 2301 in FIG. 23, and in 2401 in FIG. 24, from the DSC 3012. A print resumption command is notified to the PD printer 1000. Here, Data (print stop command, print restart command) transmitted from the DSC 3012 to the PD printer 1000 is data in text format (Script).

なお本発明は、複数の機器(例えばホストコンピュータ、インターフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。   Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) composed of a single device even if it is applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.). May be.

また、本発明の目的は、前述した実施形態の機能(カメラ側で行われる処理、プリンタ側で行われる各種印刷処理)を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   In addition, an object of the present invention is to provide a storage medium (or recording medium) that records a program code of software that realizes the functions of the above-described embodiments (processing performed on the camera side, various printing processes performed on the printer side), This can also be achieved by supplying to a system or apparatus and reading and executing the program code stored in the storage medium by the computer (or CPU or MPU) of the system or apparatus. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. The case where the CPU of the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing is also included.

以上説明したように本実施の形態によれば、PDプリンタ装置をUSBホストにDSCをスレーブに設定し、印刷動作に入る前に、PDプリンタ装置が有しているCapabilityに関する情報をDSCに送信し、DSC側でそのCapability情報に基づいて最適な印刷モードを決定して印刷を行わせることができる。   As described above, according to the present embodiment, the PD printer is set as a USB host and the DSC is set as a slave, and before entering the printing operation, information on the Capability possessed by the PD printer is transmitted to the DSC. The DSC side can determine the optimum print mode based on the Capability information and perform printing.

またこのCapability情報の送信をスクリプトにより行うことにより、他の通信プロトコルへの移植が容易になり、標準化し易くなる。   In addition, by transmitting the Capability information using a script, porting to another communication protocol is facilitated and standardization is facilitated.

また、デバイス間の通信手順は汎用ファイル、汎用フォーマットを用いて行い、その上位レイヤに、本実施の形態に係るアプリケーションの通信手順レイヤを規定することにより、各種インターフェース仕様に依存しない通信手順を規定することができる。   In addition, the communication procedure between devices is performed using a general-purpose file and a general-purpose format, and by defining the communication procedure layer of the application according to this embodiment in the upper layer, the communication procedure independent of various interface specifications is specified. can do.

また、本実施の形態の印刷システムでは、不特定多数の装置同士が接続されるため、それらインターフェースも様々多様である。よって、各種インターフェースで標準にサポートされている仕様で情報をやり取りする必要が生じる。従って、これら装置間での送受信において必須となる機能情報は「ファイル転送」もしくは「オブジェクト転送」で実現させることにより、各種インターフェース仕様に容易に適合できるようにしている。   In the printing system according to the present embodiment, since an unspecified number of apparatuses are connected to each other, their interfaces are various. Therefore, it is necessary to exchange information according to specifications that are supported by various interfaces as standard. Therefore, function information essential for transmission / reception between these devices is realized by “file transfer” or “object transfer”, so that it can be easily adapted to various interface specifications.

尚、画像供給デバイスとしてはデジタルカメラ以外にも、PDAや携帯電話、テレビジョン、ビデオ機器、画像記憶デバイス等が考えられる。   In addition to the digital camera, the image supply device may be a PDA, a mobile phone, a television, a video device, an image storage device, or the like.

また、汎用インターフェースには、上述のUSBやIEEE1394等に加えてインターネット等のネットワークへの接続も含まれる。   The general-purpose interface includes connection to a network such as the Internet in addition to the above-described USB and IEEE1394.

本発明の実施の形態に係るPDプリンタ装置の概観斜視図である。1 is a schematic perspective view of a PD printer apparatus according to an embodiment of the present invention. 本実施の形態に係るPDプリンタ装置の操作パネルの概観図である。3 is an overview of an operation panel of the PD printer according to the present embodiment. FIG. 本実施の形態に係るPDプリンタ装置の制御に係る主要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part which concerns on control of PD printer apparatus concerning this Embodiment. 本実施の形態に係るPDプリンタ装置のASICの構成を示すブロック図である。It is a block diagram which shows the structure of ASIC of PD printer apparatus based on this Embodiment. 本実施の形態に係るPDプリンタ装置とデジタルカメラとの接続を説明する図である。It is a figure explaining the connection of PD printer apparatus and digital camera concerning this embodiment. 本実施の形態に係るNCDPを実装したPDプリンタ装置とデジタルカメラのソフトウェア構成を説明する概念図である。It is a conceptual diagram explaining the software configuration of a PD printer device and a digital camera in which NCDP according to the present embodiment is mounted. 本実施の形態に係るNCDP通信手順の概要を説明する図である。It is a figure explaining the outline | summary of the NCDP communication procedure which concerns on this Embodiment. 本実施の形態に係るNCDPにおけるコマンドを説明する図である。It is a figure explaining the command in NCDP which concerns on this Embodiment. 本実施の形態に係るNCDPにおける「基本手順」による印刷手順を説明する図である。It is a figure explaining the printing procedure by the "basic procedure" in NCDP which concerns on this Embodiment. 本実施の形態に係るNCDPにおける「推奨手順」による印刷手順を説明する図である。It is a figure explaining the printing procedure by the "recommended procedure" in NCDP which concerns on this Embodiment. 本実施の形態に係るNCDPにおける「推奨手順」におけるエラー発生時の印刷手順を説明する図である。It is a figure explaining the printing procedure at the time of the error generation in the "recommended procedure" in NCDP which concerns on this Embodiment. 本実施の形態に係るNCDPで送信されるCapabilityの一例を説明する図である。It is a figure explaining an example of Capability transmitted by NCDP which concerns on this Embodiment. 本実施の形態に係るNCDP通信手順の概要を説明するフローチャートである。It is a flowchart explaining the outline | summary of the NCDP communication procedure which concerns on this Embodiment. NCDP手順の開始を指示する命令(NCDPStart)をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the command (NCDPStart) which instruct | indicates the start of a NCDP procedure using PTP architecture. NCDP手順において、カメラから各手順への移行命令を受取る(ProcedureStart)手順をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the procedure which receives the transfer instruction | indication to each procedure from a camera (ProcedureStart) in a NCDP procedure using PTP architecture. NCDP手順の終了を指示する命令(NCDPEnd)をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the instruction | indication (NCDPEnd) instruct | indicating completion | finish of a NCDP procedure using PTP architecture. NCDP手順においてPDプリンタ装置からカメラに対してCapabilityを送信する命令(Capability)をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the command (Capability) which transmits Capability with respect to a camera from a PD printer apparatus in a NCDP procedure using PTP architecture. NCDP手順において、PDプリンタ装置からカメラに保持されている画像ファイルを取得する命令(GetImge)の手順をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the procedure of the command (GetImge) which acquires the image file currently hold | maintained from the PD printer apparatus in the NCDP procedure using the PTP architecture. NCDP手順において、PDプリンタ装置からカメラに対してエラーステータスを送信する命令(StatusSend)の手順をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the procedure of the command (StatusSend) which transmits an error status with respect to a camera from a PD printer apparatus in a NCDP procedure using PTP architecture. NCDP手順において、PDプリンタ装置からカメラに対して1ページの印刷終了を送信する命令(PageEnd)の手順をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the procedure of the command (PageEnd) which transmits the printing completion of 1 page with respect to a camera from a PD printer apparatus in a NCDP procedure using PTP architecture. NCDP手順において、PDプリンタ装置からカメラに対して印刷ジョブの終了命令(JobEnd)を発行する手順をPTPアーキテクチャを用いて実現した例を説明する図である。FIG. 10 is a diagram illustrating an example in which a procedure for issuing a print job end command (JobEnd) from a PD printer to a camera is realized using a PTP architecture in an NCDP procedure. NCDP手順において、カメラからPDプリンタ装置に対して印刷命令の発行(JobStart)する手順をPTPアーキテクチャを用いて実現した例を説明する図である。FIG. 10 is a diagram illustrating an example in which a procedure for issuing a print command (JobStart) from a camera to a PD printer apparatus is realized using a PTP architecture in the NCDP procedure. NCDP手順において、カメラからPDプリンタ装置に対して印刷の中止命令(JobAbort)を発行する手順をPTPアーキテクチャを用いて実現した例を説明する図である。FIG. 10 is a diagram for explaining an example in which a procedure for issuing a print abort instruction (JobAbort) from a camera to a PD printer apparatus in the NCDP procedure is realized using a PTP architecture. NCDP手順において、カメラからPDプリンタ装置に対して印刷再開命令(JobContinue)を発行する手順をPTPアーキテクチャを用いて実現した例を説明する図である。It is a figure explaining the example which implement | achieved the procedure which issues the print resumption instruction | command (JobContinue) with respect to PD printer apparatus from a camera in NCDP procedure using PTP architecture. ProcedureStartコマンドで最初にPDプリンタ装置からDSCに送られるスクリプトの例を示す図である。It is a figure which shows the example of the script first sent to DSC from PD printer apparatus with a ProcedureStart command. ProcedureStartコマンドでスクリプト1に引き続いてDSCからPDプリンタ装置に送られるスクリプトの例を示す図である。It is a figure which shows the example of the script sent to DS PD apparatus from DSC following the script 1 by a ProcedureStart command. 「基本手順」時にJobStartコマンドでDSCからPDプリンタ装置に送られるスクリプトの例1を示す図である。FIG. 10 is a diagram illustrating a first example of a script that is sent from the DSC to the PD printer apparatus with a JobStart command during a “basic procedure”. スクリプト4:「基本手順」時にJobStartコマンドでDSCからPDプリンタ装置に送られるスクリプトの例2を示す図である。Script 4: This is a diagram showing a second example of a script that is sent from the DSC to the PD printer device with a JobStart command during the “basic procedure”. 「推奨手順」時にJobStartコマンドでDSCからPDプリンタ装置に送られるスクリプトを示す図である。FIG. 10 is a diagram showing a script sent from the DSC to the PD printer apparatus by a JobStart command at the “recommended procedure”.

Claims (12)

印刷装置と通信する画像供給装置であって、An image supply device that communicates with a printing device,
画像を選択する選択手段と、A selection means for selecting an image;
前記選択手段で選択された画像の印刷を指示する印刷指示手段と、Print instruction means for instructing printing of the image selected by the selection means;
前記印刷指示手段での指示の後に、前記印刷装置にジョブを送信する送信手段とを有し、A transmission unit that transmits a job to the printing apparatus after the instruction by the print instruction unit;
前記送信手段は、前記印刷指示手段での指示の後に印刷条件の設定を行わずにジョブを発行する簡易印刷モードと、前記印刷指示手段での指示の後に印刷条件の設定を行ったジョブを発行する印刷モードとを有することを特徴とする画像供給装置。The transmission unit issues a simple print mode in which a job is issued without setting print conditions after an instruction from the print instruction unit, and a job in which print conditions are set after an instruction from the print instruction unit An image supply apparatus.
前記送信手段は、前記簡易印刷モードでは、前記印刷指示手段で指示された画像の情報を含むジョブを送信し、前記印刷モードでは、前記印刷指示手段で指示された画像の情報とともに前記簡易印刷モードよりも詳細な印刷条件が記述されているジョブを送信することを特徴とする請求項1に記載の画像供給装置。In the simple print mode, the transmission unit transmits a job including image information instructed by the print instruction unit, and in the print mode, the simple print mode together with image information instructed by the print instruction unit. The image supply apparatus according to claim 1, wherein a job in which more detailed printing conditions are described is transmitted. さらに前記簡易印刷モードと前記印刷モードのいずれかを選択するモードの選択手段を有し、前記モードの選択手段は、前記簡易印刷モードでの通信の確認を先に行うことを特徴とする請求項1に記載の画像供給装置。2. The apparatus according to claim 1, further comprising a mode selection unit that selects one of the simple print mode and the print mode, wherein the mode selection unit first confirms communication in the simple print mode. 2. The image supply device according to 1. さらに前記簡易印刷モードと前記印刷モードのいずれかを選択するモードの選択手段を有し、前記モードの選択手段は、前記簡易印刷モードでの通信を行った後に前記印刷モードに切替え可能とすることを特徴とする請求項1に記載の画像供給装置。Furthermore, it has mode selection means for selecting either the simple print mode or the print mode, and the mode selection means can switch to the print mode after performing communication in the simple print mode. The image supply device according to claim 1. 前記簡易印刷モードと前記印刷モードは、前記印刷装置と前記画像供給デバイスとの機種の情報又はベンダーの情報の通信により切り換え可能に設定されることを特徴とする請求項1に記載の画像供給装置。2. The image supply apparatus according to claim 1, wherein the simple print mode and the print mode are set to be switchable by communication of model information or vendor information between the printing apparatus and the image supply device. . 画像供給装置は、デジタルカメラであることを特徴とする請求項1に記載の画像供給装置。The image supply apparatus according to claim 1, wherein the image supply apparatus is a digital camera. 印刷装置と通信する画像供給装置の制御方法であって、A method for controlling an image supply device that communicates with a printing device, comprising:
画像を選択する選択工程と、A selection process for selecting an image;
前記選択工程で選択された画像の印刷を指示する印刷指示工程と、A print instruction step for instructing printing of the image selected in the selection step;
前記印刷指示工程での指示の後に、前記印刷装置にジョブを送信する送信工程とを有し、A transmission step of transmitting a job to the printing apparatus after the instruction in the printing instruction step;
前記送信工程は、前記印刷指示工程での指示の後に印刷条件の設定を行わずにジョブを発行する簡易印刷モードと、前記印刷指示工程での指示の後に印刷条件の設定を行ったジョブを発行する印刷モードとを有することを特徴とする画像供給装置の制御方法。The transmission step issues a simple print mode in which a job is issued without setting print conditions after an instruction in the print instruction step, and a job in which print conditions are set after an instruction in the print instruction step And a printing mode for controlling the image supply apparatus.
前記送信工程は、前記簡易印刷モードでは、前記印刷指示工程で指示された画像の情報を含むジョブを送信し、前記印刷モードでは、前記印刷指示工程で指示された画像の情報とともに前記簡易印刷モードよりも詳細な印刷条件が記述されているジョブを送信することを特徴とする請求項7に記載の画像供給装置の制御方法。In the simple print mode, the transmission step transmits a job including the image information instructed in the print instruction step, and in the print mode, the simple print mode together with the image information instructed in the print instruction step. 8. The method according to claim 7, further comprising transmitting a job in which more detailed printing conditions are described. さらに前記簡易印刷モードと前記印刷モードのいずれかを選択するモードの選択工程を有し、前記モードの選択工程は、前記簡易印刷モードでの通信の確認を先に行うことを特徴とする請求項7に記載の画像供給装置の制御方法。The method further comprises a mode selection step of selecting either the simple print mode or the print mode, wherein the mode selection step first performs communication confirmation in the simple print mode. 8. A method for controlling an image supply apparatus according to 7. さらに前記簡易印刷モードと前記印刷モードのいずれかを選択するモードの選択工程を有し、前記モードの選択工程は、前記簡易印刷モードでの通信を行った後に前記印刷モードに切替え可能とすることを特徴とする請求項7に記載の画像供給装置の制御方法。Furthermore, it has a mode selection step for selecting either the simple print mode or the print mode, and the mode selection step can be switched to the print mode after performing communication in the simple print mode. The method of controlling an image supply apparatus according to claim 7. 前記簡易印刷モードと前記印刷モードは、前記印刷装置と前記画像供給デバイスとの機種の情報又はベンダーの情報の通信により切り換え可能に設定されることを特徴とする請求項7に記載の画像供給装置の制御方法。8. The image supply apparatus according to claim 7, wherein the simple print mode and the print mode are set to be switchable by communication of model information or vendor information between the printing apparatus and the image supply device. Control method. 画像供給装置は、デジタルカメラであることを特徴とする請求項7に記載の画像供給装置の制御方法。8. The method of controlling an image supply device according to claim 7, wherein the image supply device is a digital camera.
JP2007192653A 2002-06-04 2007-07-24 Image supply apparatus and control method thereof Expired - Fee Related JP4612907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007192653A JP4612907B2 (en) 2002-06-04 2007-07-24 Image supply apparatus and control method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002163431 2002-06-04
JP2007192653A JP4612907B2 (en) 2002-06-04 2007-07-24 Image supply apparatus and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003151231A Division JP4208640B2 (en) 2002-06-04 2003-05-28 Printing system, printing control method, printing apparatus, and control method therefor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010160089A Division JP4987104B2 (en) 2002-06-04 2010-07-14 Printing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2008017497A true JP2008017497A (en) 2008-01-24
JP4612907B2 JP4612907B2 (en) 2011-01-12

Family

ID=39074018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007192653A Expired - Fee Related JP4612907B2 (en) 2002-06-04 2007-07-24 Image supply apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4612907B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10341327A (en) * 1997-06-06 1998-12-22 Casio Comput Co Ltd Communication system, transmitter, receiver, communication control method for the system and data-transmitting method
JPH11249840A (en) * 1998-02-26 1999-09-17 Brother Ind Ltd System and method for printing and recording medium recorded with print processing program
JP2001290612A (en) * 2000-04-07 2001-10-19 Nec Corp Print system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10341327A (en) * 1997-06-06 1998-12-22 Casio Comput Co Ltd Communication system, transmitter, receiver, communication control method for the system and data-transmitting method
JPH11249840A (en) * 1998-02-26 1999-09-17 Brother Ind Ltd System and method for printing and recording medium recorded with print processing program
JP2001290612A (en) * 2000-04-07 2001-10-19 Nec Corp Print system

Also Published As

Publication number Publication date
JP4612907B2 (en) 2011-01-12

Similar Documents

Publication Publication Date Title
JP4208640B2 (en) Printing system, printing control method, printing apparatus, and control method therefor
JP3530847B2 (en) Printing apparatus, control method therefor, and printing system
JP4027161B2 (en) Printer apparatus and control method thereof
JP2004013349A (en) Imaging device, recording system, and recording control method thereof
JP2004129221A (en) Digital camera and printer
JP2004129218A (en) Digital camera and printer
JP3919716B2 (en) Recording apparatus, image supply system, and control method therefor
JP4143501B2 (en) Image supply apparatus, recording system including the image supply apparatus and recording apparatus, and communication control method thereof
EP1377018A2 (en) Printing system, control method therefor, and photo-direct printing apparatus
JP2004066602A (en) Recording system, its controlling method, and direct printer
JP4987104B2 (en) Printing apparatus and control method thereof
JP4612907B2 (en) Image supply apparatus and control method thereof
JP2009189033A (en) Digital camera and its control method
JP2006168079A (en) Recording system and method for recording it, image feeding apparatus and method for controlling it, recording apparatus and method for controlling it, program, and storing medium
JP3652364B2 (en) Digital camera apparatus and control method thereof
JP3840252B2 (en) Printing apparatus, digital camera, and control method thereof
JP4111528B2 (en) Printing apparatus, digital camera apparatus, control method therefor, and printing system
JP4366379B2 (en) Image supply apparatus and control method thereof
JP4183259B2 (en) Printing apparatus and control method thereof
JP4111527B2 (en) Printing apparatus, digital camera, control method therefor, and printing system
JP3840258B1 (en) Digital camera, image output apparatus, image processing system, and control method thereof
JP2005086270A (en) Recording apparatus, image supply apparatus, recording system, and control method thereof

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100714

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

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

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

Free format text: PAYMENT UNTIL: 20131022

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4612907

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees