An image forming apparatus includes: a receiving portion that receives an
authentication print job sent by a user; a comparison portion that
compares identification information received through the user's input
with identification information included in image data; a job execution
portion that executes the authentication print job in the case where the
comparison between the received identification information and the
identification information included in the image data has succeeded; and
a password storage portion that stores identification information in the
case where the authentication print job is in the process of being
received in order to enable the comparison made by the comparison portion
with respect to the authentication print job that is being received.