| CPC G06F 21/564 (2013.01) [G06F 3/1205 (2013.01); G06F 3/1274 (2013.01)] | 5 Claims |

|
1. An image forming apparatus comprising at least one processor configured to:
accept a setting on whether or not to perform a virus check;
receive job data pertaining to a print job;
store the job data in a memory of the image forming apparatus as partial data to sequentially print received portions of the job data when the virus check is disabled or unnecessary;
store the job data in the memory of the image forming apparatus as a single file when the virus check is enabled;
when a command pertaining to control of the print job is added to at least at a beginning or an end of the received job data, transmit the job data and information for performing the virus check by ignoring the added command or delete the added command and transmit the job data for the virus check;
perform the virus check on the job data stored as the single file; and
when determining that a computer virus is not embedded in the job data during the virus check, analyze the job data to generate data for image formation and perform printing based on the data for image formation.
|