Resizing image to fit printing page