Patent ID: 7302198

Claim:
A device to calculate a consumed amount of toner in an image-forming apparatus, comprising: a valid signal generator to input print data and a video clock (VCLK) signal to synchronize the print data, and generate binary image data; a pixel counter to calculate a number of pixels of the print data based on the binary image data; a data stream counter to calculate a number of particular data streams of the binary image data, a particular data stream having a most significant and a least significant bit of “1” and a bit of “0”; a coefficient memory to store coefficients with respect to average toner consumption amounts per pixel; a weight memory to store a lookup table containing weights corresponding to percentages of the number of pixels relative to the number of the particular data streams; and a controller to calculate a percentage of the number of pixels relative to the number of particular data streams to read out a weight, and calculate the consumed amount of toner by use of the read weight, the number of pixels, and the stored coefficient with respect to average toner consumption amount per pixel corresponding to the print data.