When a printing mode is designated by user operation, an MFP embeds
information specifying a storage location in designated stored image data
and prints the resultant image data. When a user adds information in
handwriting or the like to the above-described printing material, and the
printing material after the information is added is scanned, the MFP
specifies the storage location from the image data, which is scanned
data, and replaces the image data in the above-described storage location
by the scanned image data and registers the resultant image data. At the
time of the above-described printing, even if the printing condition is
set for the image data, the designation of the above-described printing
mode allows the printing condition suitable for scanning the printing
material to be set.