When the trailing edge of a recording sheet is released from a nip of a first pair of rollers which hold and convey the recording sheet, on the upstream side in the conveyance path, a variance of electric power for driving the first pair of rollers is detected, and image data to be outputted to the print head is shifted to the upstream side in the conveyance direction of the recording sheet, so that the print head is driven. As a result, it is possible to prevent the positional shift of image due to the conveyance error of the recording sheet caused when the recording sheet is released from the nip.