Patent ID: 8270001

Claim:
A printing apparatus that processes a print job from an information processing system, the printing apparatus comprising: a print-job request receiving unit configured to receive, from the information processing system, a request for processing a print job and a notification destination of event information indicating an event relating to the print job; a job-identifier transmitting unit configured to transmit a job identifier corresponding to the print job to the information processing system in accordance with the request received by the print-job request receiving unit; a print-data receiving unit configured to receive print data corresponding to the print job from the information processing system after the job identifier has been transmitted by the job-identifier transmitting unit; a request receiving unit configured to receive, from the information processing system, a cancellation request for canceling a print job; a retrieving unit configured to retrieve the print job corresponding to a job identifier specified by the cancellation request received by the receiving unit; a responding unit configured to transmit, in response to the request receiving unit receiving the cancellation request and the corresponding print job being retrieved by the retrieving unit, to the information processing system, before cancellation of the corresponding print job is completed and as a response to the cancellation request received by the request receiving unit, response information indicating that a result of the cancellation request is success, and to transmit, in response to the request receiving unit receiving the cancellation request and the corresponding print job not being retrieved by the retrieving unit, to the information processing system, response information indicating that a result of the cancellation request is an error; and a transmitting unit configured to transmit, in response to the corresponding print job being canceled in accordance with the cancellation request received by the request receiving unit, to the notification destination, event information indicating that the print job has been canceled.