Patent ID: 8320011

Claim:
An image forming device, comprising: a printing unit configured to print a plurality of images on a recording sheet; a page number acquiring unit configured to analyze a plurality of files subject to be printed and acquire page numbers of page data included in the respective files; a common page number identifying unit configured to identify common page numbers which are page numbers included in the page numbers acquired by the page number acquiring unit and commonly existing among the plurality of files subject to be printed; and a print control unit configured to control the printing unit to print images based on the page data corresponding to the common page numbers identified by the common page number identifying unit such that images corresponding to one of the common page numbers and respectively included in the plurality of files are printed on a single recording sheet, and that images based on the page data not corresponding to the common page numbers are not printed on a single recording sheet on which images based on the page data corresponding to the common page numbers are printed, wherein the common page number identifying unit is configured such that: when the page number acquiring unit acquires page numbers for one file and if page numbers for the other files are not stored in a storing unit, the common page identifying unit executes a first process to cause the storing unit to store the page numbers acquired by the page number acquiring unit; when the page number acquiring unit acquires the page numbers for one file, if page numbers for another file are stored in the storing unit, the common page identifying unit executes a second process to compare the page numbers acquired by the page number acquiring unit with the page numbers stored in the storing unit, and store page numbers common between the page numbers acquired by the page number acquiring unit and the page numbers stored in the storing unit, while page numbers uncommon between the page numbers acquired by the page number acquiring unit and the page numbers stored in the storing unit are not stored in the storing unit; and wherein the print control unit executes a print control process using the page numbers stored in the storing unit as the common page numbers identified by the common page number identifying unit when the common page identifying unit has executed at least one of the first process and the second process for all files.