Patent ID: 8797890

Claim:
A printing apparatus comprising: a reception unit configured to receive packet data of a first type of protocol and receive packet data of a second type of protocol; a printing unit configured to perform printing based on print data included in the received packet data of the first type of protocol and printing based on print data included in the received packet data of the second type of protocol; a determination unit configured to determine a type of protocol corresponding to the received packet data; a deletion unit configured to delete, if the determined type is the first type, specific data satisfying a first condition from the received packet data, and delete, if the determined type is the second type which is different from the first type, another specific data satisfying a second condition which is different from the first condition from the received packet data; and a storage unit configured to store the received packet data of the first type from which the specific data is deleted by the deletion unit and the received packet data of the second type from which the another specific data is deleted by the deletion unit, wherein the deleting by said deletion unit is for storing the received packet data in said storage unit and is not for performing the printing based on the print data included in the received packet data.