Merging of images done according to A4 sheet