In an image forming apparatus, when a general user pulls a paper tray out
of the image forming apparatus, changes used paper with another paper
having different paper quality to insert the paper tray into the image
forming apparatus and operates a touch panel to change the paper quality
setting, a CPU stores paper quality data before change in a RAM. The CPU
returns the paper quality setting to the paper quality setting before
change when a printing job is completed on the paper after paper quality
change.