Patent ID: 8654382

Claim:
A digital camera which stores an image sensed by an image sensing unit into a storage medium and has a user interface including a button for instructing printing of the image, comprising: a communication unit constructed to communicate with a print apparatus using a Picture Transfer Protocol (PTP); a first reception unit constructed to receive, from the print apparatus, a transfer request command having a format including a number specifying uniquely one of a plurality of information being managed by the digital camera, in response to the start of communication with the print apparatus by said communication unit, where the digital camera assigns a unique number to each of the plurality of information; a sending unit constructed to select one of the plurality of information being managed by the digital camera according to the number included in the transfer request command received by said first reception unit, and send, to the print apparatus, the selected information; a second reception unit constructed to receive information from the print apparatus after said sending unit sends the information including a password indicating that the digital camera has a direct print function; a recognition unit constructed to recognize that the print apparatus is a print apparatus having the direct print function if the information received by said second reception unit includes a password indicating that the print apparatus has a direct printing function and to delete the information received by said second reception unit; and a third reception unit constructed to receive, from the print apparatus, capability information as a script in which a list of functions of the print apparatus are described after said second reception unit receives information including the password indicating that the print apparatus has a direct printing function, wherein the user interface can select one of functions described in the capability information received by said third reception unit.