An image forming apparatus includes an image receiving unit configured to
receive image data, a sender identifying unit configured to identify a
sender of the received image data, a check unit configured to check
whether the identified sender corresponds to a predetermined sender, a
management information providing unit configured to provide
management-purpose image data obtained by encoding management information
for controlling at least one of a transmission operation for transmitting
an image scanned from a printout and a copy operation for copying an
image scanned from a printout, and a print unit configured to print the
management-purpose image data together with the received image data in
response to a check result by the check unit indicating that the
identified sender corresponds to the predetermined sender.