Patent ID: 7580141

Claim:
An image forming apparatus comprising: a receiving portion configured to receive, from an external apparatus, print data wherein page quantity information indicating a total page quantity of the print data has been added at the end of the print data; a deciding portion configured to decide by which emulation among a plurality of types of emulations interprets the received print data; an engine which forms an image of print data for each page; an output portion configured to output the print data emulation-processed depending on the decision of the deciding portion to the engine for each page; a counter configured to count the page quantity of the outputted print data, wherein the counter counts when the emulation interprets each page of data; a determining portion configured to determine whether or not the page quantity of the print data outputted by the output portion is larger than the total page quantity indicated by the page quantity information; and a suspension instructing portion configured to instruct the engine to suspend image formation when the determining portion determines that the page quantity of the outputted print data is larger than the total page quantity indicated by the page quantity information and the receiving portion has received an instruction for suspending the printing from a control panel.