Patent ID: 8520243

Claim:
An image forming apparatus, comprising: a data reception unit configured to receive print data; a data analysis unit configured to analyze the print data for each of a plurality of blocks, delete a block of a page that is not specified as a print target on the basis of print setting information included in the print data, and rearrange the blocks in a page order to be printed, in order to generate reconstructed print data; and a print image generation unit configured to generate print image data on the basis of the reconstructed print data, wherein the data analysis unit is further configured to: analyze the print data for each of the blocks, delete the block that is not used for a printing and the block of data structure information on the basis of data structure information included in the print data, delete the block of the page that is not specified as the print target and the block of the print setting information on the basis of the print setting information, and generate the reconstructed print data by rearranging the blocks in the page order to be printed, wherein the data reception unit is further configured to store the block of the received print data in a memory, wherein the data analysis unit is further configured to: delete the block that is not used for the printing and the block of the data structure information from the memory on the basis of the data structure information and store the data structure information in the memory as specific parameter data when all the pieces of the data structure information included in the print data are obtained, delete the block of the page that is not specified as the print target and the block of the print setting information from the memory on the basis of the print setting information when all the pieces of the print setting information included in the print data are obtained, and store the reconstructed print data generated by rearranging the blocks generated by rearranging in a storage, and wherein the print image generation unit is further configured to read out the data structure information from the memory as the specific parameter data, read out the reconstructed print data from the storage, and generate the print image data on the basis of the specific parameter data and the reconstructed print data.