Patent ID: 8643854

Claim:
An image forming apparatus, connected to an information processing device via a network, comprising: a receiving unit configured to receive first print data via a first protocol in which bi-directional communication is not needed between the image forming apparatus and the information processing device and second print data via a second protocol in which bi-directional communication is needed between the image forming apparatus and the information processing device; a first buffer; a second buffer; a third buffer; a control unit configured to, on receiving print data, store the print data in the first buffer and print the print data, the control unit being configured to, on receiving a first interruption printing request while printing the print data stored in the first buffer, store first interruption print data in the second buffer and execute first interruption printing of the first interruption print data, and the control unit being configured to, on receiving a second interruption printing request during execution of the first interruption printing, store second interruption print data in the third buffer; a determining unit configured to determine whether or not the second interruption print data stored in the third buffer has been transmitted according to the second protocol; and a reply transmission unit configured to transmit a reply to the information processing device when the determining unit determines that the second interruption print data stored in the third buffer has been transmitted according to the second protocol.