1. A method of controlling an image processing apparatus, the method comprising: dividing input image data into a plurality of areas; checking whether each of the plurality of areas formed by dividing input image data is an area having a distance greater than or equal to a first distance from an end of a sheet on which the image data is to be printed; checking whether each area determined as having a distance greater than or equal to the first distance is an area having a distance greater than or equal to a second distance from a boundary that equally divides the sheet on which the image data is to be printed; checking whether each area determined as having a distance greater than or equal to the second distance is an area where dots are to be put on by an area ratio that is greater than a second area ratio and less than a first area ratio; and obtaining sheet fingerprint information from an area determined as an area where dots are to be put on by an area ratio that is greater than the second area ratio and less than the first area ratio; wherein the first distance is determined according to a type of the sheet on which the image data is to be printed.