Patent ID: 7679766

Claim:
An information processing apparatus that transmits image data to be printed to a printing apparatus connected to a network, the information processing apparatus comprising: a determination unit, adapted to determine whether the printing apparatus serving as a transmission destination of the image data has a predetermined function for saving the image data to a save destination, adding a first code representing the save destination of the image data to the image data, and printing the image data together with the first code; a first transmission unit, adapted to transmit the image data to the printing apparatus, if the determination unit determines that the printing apparatus has the predetermined function; a search unit, adapted to search for a storage apparatus, different from the printing apparatus, that has a function for saving the image data, if the determination unit does not determine that the printing apparatus has the predetermined function; a second transmission unit, adapted to transmit the image data to the storage apparatus searched for by said search unit, if the determination unit does not determine that the printing apparatus has the predetermined function; and a third transmission unit, adapted to add, to the image data transmitted by said second transmission unit, a second code representing the save destination of the image data transmitted by said second transmission unit, and transmit the image data to which the second code is added to the printing apparatus, if the determination unit does not determine that the printing apparatus has the predetermined function.