A non-transitory computer-readable storage medium storing a control program for causing a processor of an image forming apparatus, having a user authentication function of performing user authentication and permitting login by a user registered in advance and comprising an image former that prints an image on a recording medium, to function as:
- an operation unit that accepts an input operation by the registered user in which a notification destination is set by the registered user;
- a communicator that communicates with an external device storing print data of the registered user;
- a receiver that receives the print data of the registered user sent from the external device;
- a detector that detects whether or not the registered user is logged in;
- an image forming controller that causes the image former to print the image associated with the print data of the registered user on the recording medium when the detector detects that the registered user is logged in and the receiver receives the print data of the logged-in registered user;
- and
- a first notifier that notifies the registered user at the notification destination that some of the print data is not received while the registered user is logged in and after the operation unit accepts a predetermined reception operation for receiving the print data of the registered user.