Patent ID: 8314944

Claim:
An image forming device, comprising: a main body casing; a cover configured to be openable and closable with respect to the main body casing; a sensing unit configured to sense an opening-closing operation of the cover; a forming unit configured to form an image on a sheet; an accepting unit configured to accept a print request; a specifying unit configured to specify a print condition; a determining unit configured to determine whether the print condition specified by the specifying unit complies with a predetermined requirement; a detecting unit configured to perform a detecting operation to detect a deviation of an image forming position of the image to be formed by the forming unit; and a control device configured, in response to the print request being accepted through the accepting unit after the sensing unit senses an opening-closing operation of the cover after execution of a previous detecting operation, to: control the detecting unit to perform the detecting operation; and thereafter control the forming unit to perform a printing operation to form the image in the image forming position corrected to cancel the deviation detected in the detecting operation either after execution of the detecting operation when the determining unit determines that the print condition complies with the predetermined requirement, or without execution of the detecting operation when the determining unit determines that the print condition does not comply with the predetermined requirement.