Patent ID: 8189228

Claim:
An image forming apparatus which conducts a printing process by sequentially analyzing print data from a head thereof, the print data including document data as a printing target, and a command added at a position before the document data, the image forming apparatus comprising: a first analyzing section which analyzes first print setting information which is described in the command included in the print data; a second analyzing section which analyzes second print setting information which is described in a main body of the document data included in the print data; a memory section which has a predetermined memory area to store the print setting information; a print setting control section which updates print setting information stored in advance as default data in the predetermined memory area for each setting item based on the first print setting information and which allows thereafter print setting information in the predetermined memory area to be updated further based on the second print setting information except print setting information in a setting item in which the print setting information has been updated based on the first print setting information and further which does not allow print setting information in the predetermined memory area to be updated in a setting item in which the print setting information has been updated based on the first print setting information; and a print control section which controls the printing process based on the document data according to the print setting information stored in the predetermined memory area.