Patent ID: 7206529

Claim:
An image forming apparatus, comprising: an internal cover which is disposed to cover an opening which is provided in a main body; an external cover which covers a surface of the main body as well as the internal cover; an image forming section which executes an image forming operation; a setting section which is operated by a user and a setting state of which is set to a special condition in accordance with a special operation, wherein the setting section includes a plurality of switches which are respectively turned on and off by the user, the plurality of switches including a first switch which is turned on when the internal cover is closed and a second switch which is turned on when the external cover is closed; a judging controller which judges whether the setting state of the setting section is the special condition or not in response to a power-on operation performed by the user, wherein the judges controller detects on/off states of the plurality of the switches and judges that the setting state of the setting section is the special condition when the first switch is turned off and the second switch is turned on; a processing controller which executes control processing when the judging controller judges that the setting state of the setting section is not the special condition, the control processing adjusting image forming conditions, which are to be used for execution of the image forming operation, to predetermined optimal conditions based on detected densities of patch images formed by the image forming section; and a prohibiting controller which prohibits the image forming section from executing the image forming operation when the processing controller has failed to adjust the image forming conditions to the optimal conditions in the control processing, wherein the processing controller permits the image forming section to execute the image forming operation without executing the control processing when the judging controller judges that the setting state of the setting section is the special condition.