An image forming apparatus connectable to a server through a network, the image forming apparatus comprising: a storage unit for storing apparatus identification information for identifying the image forming apparatus; an acquisition unit for acquiring the apparatus identification information from the storage unit, and for acquiring, from the container of the consumables mounted in the image forming apparatus, consumables container identification information for identifying a container of predetermined consumables; a first transmission unit for transmitting the acquired apparatus identification information and the acquired consumables container identification information to the server in response to reception of a request at the image forming apparatus for printing print data using the predetermined consumables; and a printing unit for executing printing on an output using the predetermined consumables on the condition that information on determination based on the transmitted apparatus identification information and the transmitted consumables container identification information is received by the first transmission unit from the server and is a successful authentication, said printing executed on the output using the predetermined consumables comprising printing print data and output source identification information on the output, said output source identification information being generated for the apparatus identification information and the consumables container identification information and stored in association with the apparatus identification information and the consumables container identification information at the server. a storage unit for storing apparatus identification information for identifying the image forming apparatus; an acquisition unit for acquiring the apparatus identification information from the storage unit, and for acquiring, from the container of the consumables mounted in the image forming apparatus, consumables container identification information for identifying a container of predetermined consumables; a first transmission unit for transmitting the acquired apparatus identification information and the acquired consumables container identification information to the server in response to reception of a request at the image forming apparatus for printing print data using the predetermined consumables; and a printing unit for executing printing on an output using the predetermined consumables on the condition that information on determination based on the transmitted apparatus identification information and the transmitted consumables container identification information is received by the first transmission unit from the server and is a successful authentication, said printing executed on the output using the predetermined consumables comprising printing print data and output source identification information on the output, said output source identification information being generated for the apparatus identification information and the consumables container identification information and stored in association with the apparatus identification information and the consumables container identification information at the server.