Even if the user selects a print mode for executing borderless printing,
when the borderless printing is improper for a discriminated sheet type,
in order to prevent the occurrence of various faults in a printing unit
due to the execution of whole surface printing onto the sheet on which
borderless printing is improper by outputting image information with
margins on the sheet, a sense result of a media is obtained and whether
or not the media type indicates the media which can be borderless-printed
is discriminated on the basis of the sensed result. If it is determined
that the media is not the media which can be borderless-printed, the
print mode is changed to bordered printing.