Patent ID: 8423480

Claim:
An image forming apparatus that executes a job and determines a billing amount for the job depending on a parameter value given to a parameter that relates to the execution of the job, the image forming apparatus comprising: a storage that stores therein a first table and a second table, the first table recites a plurality of non-overlapping value ranges and lists a billing amount for an individual item falling within each of the non-overlapping value ranges, the second table recites a plurality of specific values and lists a billing amount for an individual item having one of the specific values and at least one of the plurality of specific values being included in any of the plurality of value ranges; and a processor operable to refer to the second table and judge whether the parameter value given to the parameter is identical to any one of the plurality of specific values in the second table, and if identical, determine the billing amount for the job according to the second table, without judging whether the parameter value is included in any of the plurality of value ranges in the first table, and if the parameter value is not identical to any one of the plurality of specific values in the second table, the determiner further refers to the first table and judges whether the parameter value is included in any of the plurality of value ranges in the first table, and if included, determine a billing amount for the job according to the first table.