Patent ID: 8625126

Claim:
An image forming apparatus comprising: an input unit which inputs document data generated and stored in a portable recording medium by a client apparatus, the document data being input by the input unit when the portable recording medium is detached from the client apparatus and is attached to the image forming apparatus; a verification unit which verifies validity of the document data on the basis of verification information associated with the input document data; an output unit which forms and outputs an image on a print medium on the basis of the document data; and an output log storing control unit which, when said verification unit determines that the document data is valid, stores, in the portable recording medium, output log information containing no image output from said output unit, and when said verification unit determines that the document data is invalid, stores output log information containing the image in the portable recording medium, wherein the verification unit verifies that the document data is valid when the verification information indicates that the document data is registered in a management server that manacles output job information, wherein the verification unit verifies that the document data is invalid when the verification information indicates that the document data is not registered in the management server, and wherein the output log storing control unit stores first information in the portable recording medium, when said verification unit determines that the document data is registered in the management server, the first information comprising output log information including environment information regarding the outputting of said output unit but not including the image output from said output unit, and stores second information in the portable recording medium, when said verification unit determines that the document data is not registered in the management server, the second information comprising output log information including the environment information regarding the outputting of said output unit and including the image output from said output unit.