Patent ID: 8451467

Claim:
A printing apparatus comprising: a registering unit configured to register condition information relating to a job attribute of a print job to be cancelled, via a control panel of the printing apparatus; a receiving unit configured to receive the print job; a first determination unit configured to determine whether the print job received by the receiving unit satisfies the condition information registered by the registering unit; a canceling unit configured to cancel execution of the print job received by the receiving unit when the first determination unit determines that the print job received by the receiving unit satisfies the condition information registered by the registering unit; a storing unit configured to store job information of the print job received by the receiving unit in the storage medium when the first determination unit determines that the print job does not satisfy the condition information registered by the registering unit; an update unit configured to update the condition information registered by the registering unit using the job information stored by the storing unit; and a second determination unit configured to determine whether the number of print jobs whose execution is canceled by the canceling unit exceeds a predefined value, wherein, if the second determination unit determines that the number of print jobs whose execution is canceled by the canceling unit exceeds the predefined value, the update unit updates the condition information registered by the registering unit using a common item contained in all pieces of the job information stored by the storing unit.