Abstract: An image forming apparatus makes printing performed for maintenance by a service engineer charge-free, and prevents a print method for the service engineer from being used by a user. The image forming apparatus includes an input unit configured to input an image, a print unit configured to print the image input by the input unit, and a control unit configured to control the image input by the input unit to be output to the print unit and update a charging counter when the image forming apparatus operates in a first operation mode, and configured to control a specific pattern image to be superimposed on the image input by the input unit and the image with the superimposed specific pattern image to be output to the print unit without updating the charging counter when the image forming apparatus operates in a second operation mode.