Patent ID: 7719706

Claim:
A digital camera which has a communication unit configured to directly communicate with a printing apparatus and transmits a sensed image having been stored in a memory as an object to the printing apparatus via the communication unit using a protocol for direct printing so as to cause the printing apparatus to print the sensed image, said digital camera comprising: a management unit configured to manage a plurality of objects having been stored in the memory by assigning a unique object number to each object, one of the plurality of objects being authentication information indicating that said digital camera can perform the communication using the protocol for direct printing; a notification unit configured to notify a printing apparatus of a number of objects managed by said management unit after starting the direct communication with the printing apparatus; and a transmission unit configured to, when receiving, from the printing apparatus, a request including an object number designated by the printing apparatus after said notification unit notifies the printing apparatus of the information indicating the number of objects, transmit an object specified by the object number included in the received request among the plurality of objects indicated by the number of objects to the printing apparatus, wherein an object number assigned by said management unit to the authentication information is not a last number of the plurality of objects, and wherein, if said transmission unit transmits the authentication information to the printing apparatus, said digital camera can select an image to be outputted to said printing apparatus.