1. An image forming apparatus, comprising: a projector configured to project an image onto a predetermined projection area outside of the image forming apparatus; an interface; a cassette configured to house an image recording medium on which an image is to be printed; a printer configured to print an image on the image recording medium based on image data acquired through the interface; and a processor configured to: control the projector to display the image to be printed on the projection area, determine whether or not the cassette is opened, and if the cassette is determined to be opened, control the projector to change the orientation of the image displayed on the projection area.