Patent ID: 8705087

Claim:
An image forming apparatus comprising: a feeding unit including a first sheet; a storage unit configured to store print data to be printed onto the first sheet; a detecting unit configured to detect an orientation of the print data and an orientation of the first sheet; a determination unit configured to determine, whether or not the orientation of the print data matches the orientation of the first sheet; an image data conversion unit configured to rotate the print data to match the orientation of the first sheet and convert the print data into bitmap data if the determination unit determines that the orientation of the print data does not match the orientation of the first sheet; a print unit configured to print the converted bitmap data onto the first sheet; and a control unit configured to determine whether or not a problem occurs during printing and whether or not printing can continue after recovery of the problem, the control unit further configured to determine whether the bitmap data was generated by converting the print data before the problem occurred, wherein when the control unit determines that the bitmap data was not generated before the problem occurred (i) the determination unit is further configured to determine whether or not the orientation of the print data matches an orientation of a second sheet of the feeding unit, (ii) the image data conversion unit is further configured to rotate the print data to match the orientation of the second sheet and convert the print data into bitmap data if the determination unit determines that the orientation of the print data does not match the orientation of the second sheet, and (iii) the print unit is further configured to print the bitmap data onto the second sheet, and wherein when the control unit determines that the bitmap data was generated before the problem occurred (i) the determination unit is further configured to determine whether or not the previously converted bitmap data matches the orientation of the second sheet, (ii) the image data conversion unit is further configured to rotate the previously converted bitmap data to match the orientation of the second sheet, and (iii) the print unit is further configured to print the previously converted bitmap data onto the second sheet after rotation by the image data conversion unit.