JP2005279973A - Print data counter - Google Patents

Print data counter Download PDF

Info

Publication number
JP2005279973A
JP2005279973A JP2004093828A JP2004093828A JP2005279973A JP 2005279973 A JP2005279973 A JP 2005279973A JP 2004093828 A JP2004093828 A JP 2004093828A JP 2004093828 A JP2004093828 A JP 2004093828A JP 2005279973 A JP2005279973 A JP 2005279973A
Authority
JP
Japan
Prior art keywords
data
print
toner
unit
dots
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004093828A
Other languages
Japanese (ja)
Inventor
Hiroyuki Fujita
裕幸 藤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2004093828A priority Critical patent/JP2005279973A/en
Publication of JP2005279973A publication Critical patent/JP2005279973A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a print data counter capable of counting print data at a high rate by software without using an expensive high speed CPU. <P>SOLUTION: The print data counter counting the number of dots to be printed from raster data being outputted to a print head comprises a means storing a lookup table for converting numeric data of predetermined byte into a number of bits corresponding to the print dots, a means for reading out buffered raster data sequentially in units of predetermined byte and converting numeric data thus read out into a number of bits corresponding to the print dots based on the lookup table, and a means for adding the number of bits thus converted. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、デジタル方式の複写機やプリンタ等、出力画像データに基づいて記録紙上にトナーによる出力画像を形成する画像記録装置に用いられる印字データカウント装置に関する。   The present invention relates to a print data counting device used in an image recording apparatus that forms an output image with toner on recording paper based on output image data, such as a digital copying machine or printer.

従来、画像形成装置では、レーザーヘッド、LEDヘッド、インクジェットヘッドなどの印字ヘッドに出力される画像データから印字ドット数をカウントする印字データカウント装置を設けて、そのカウント値に基づいて画像形成材料であるトナーやインクの消費量を演算導出して、トナーやインクの残量を管理する管理手段を備えたものがあった。   Conventionally, an image forming apparatus is provided with a print data count device that counts the number of print dots from image data output to a print head such as a laser head, an LED head, or an inkjet head, and an image forming material is used based on the count value. Some of them have management means for calculating the consumption amount of a certain toner or ink and managing the remaining amount of the toner or ink.

そして、従来の印字データカウント装置としては、印字ヘッドに出力される画像データをハードウェアで構成されたカウンタ回路で1画素単位に黒画素の画素数を計数するように構成されていたが、部品コストの低減化のためにソフトウェアにより印字データカウント装置を構成するものも提案されている。
特開2001−270168号公報 特開2002−337366号公報
The conventional print data counting device is configured to count the number of black pixels for each pixel with a counter circuit configured by hardware for image data output to the print head. In order to reduce the cost, it has been proposed to configure a print data counting device by software.
JP 2001-270168 A JP 2002-337366 A

しかし、部品コストの低減化のためにソフトウェアにより印字データカウント装置を構成するものもでは、処理時間が長くなり印字速度などスループットが低下するという問題があり、スループットを上げるために高速のCPUを使用すると逆に部品コストが上昇するという問題があった。   However, there is a problem that the printing data counting device that uses software to reduce the component cost has a problem that the processing time becomes long and the throughput such as the printing speed decreases, and a high-speed CPU is used to increase the throughput. On the contrary, there is a problem that the cost of parts increases.

本発明は、上述の従来欠点に鑑み、高価な高速のCPUを使用しなくとも、ソフトウェアにより印字データを高速にカウントできる印字データカウント装置を提供する点にある。   SUMMARY OF THE INVENTION In view of the above-described conventional drawbacks, the present invention is to provide a print data counting device capable of counting print data at high speed by software without using an expensive high-speed CPU.

上述の目的を達成するため、本発明による印字データカウント装置の特徴構成は、特許請求の範囲の書類の請求項1に記載した通り、プリントヘッドに出力されるラスターデータから印字されるドット数をカウントする印字データカウント装置であって、所定バイトの数値データから印字ドットに対応するビット数に変換するルックアップテーブルが記憶された記憶手段と、バッファリングされたラスターデータを所定バイト単位で順次読み出し、前記ルックアップテーブルに基づいて読み出した数値データを印字ドットに対応するビット数に変換処理する変換処理手段と、変換処理されたビット数を加算する加算処理手段を備えてなる点にある。   In order to achieve the above object, the print data count device according to the present invention is characterized in that the number of dots printed from the raster data output to the print head is calculated as described in claim 1 of the claims. A printing data counting device for counting, storing means storing a lookup table for converting numeric data of a predetermined byte into the number of bits corresponding to a print dot, and sequentially reading buffered raster data in units of a predetermined byte In addition, there is provided a conversion processing means for converting the numerical data read based on the lookup table into the number of bits corresponding to the print dots, and an addition processing means for adding the number of converted bits.

上述の構成によれば、ラスターデータから印字されるドット数、例えば黒に対応するドット数を1ビット単位で計数処理することなく、ルックアップテーブルを用いることにより、所定バイトの数値データから印字ドットに対応するビット数に変換することができるので、変換後のビット数を計数するだけで印字データがカウントできるので、安価な低速のCPUを用いる場合であっても極めて高速に印字データのカウントができるようになるのである。   According to the above configuration, the number of dots to be printed from raster data, for example, the number of dots corresponding to black is counted from the numeric data of a predetermined byte by using a lookup table without counting the number of bits in 1-bit units. Since the print data can be counted simply by counting the number of bits after conversion, even when an inexpensive low-speed CPU is used, the print data can be counted very quickly. It will be possible.

本発明によるプリントヘッドに出力されるラスターデータから印字されるドット数をカウントするプログラムの特徴構成は、同請求項2に記載した通り、バッファリングされたラスターデータを所定バイト単位で順次読み出し、所定バイトの数値データから印字ドットに対応するビット数に変換するルックアップテーブルに基づいて、読み出した数値データを印字ドットに対応するビット数に変換処理する変換処理手段と、変換処理されたビット数を加算する加算処理手段としてコンピュータを機能させる点にある。   The characteristic configuration of the program for counting the number of dots to be printed from the raster data output to the print head according to the present invention is as follows. Conversion processing means for converting the read numerical data into the number of bits corresponding to the printing dots based on the lookup table for converting the numerical data of bytes into the number of bits corresponding to the printing dots, and the number of bits subjected to the conversion processing The point is to make the computer function as addition processing means for adding.

以上説明した通り、本発明によれば、高価な高速のCPUを使用しなくとも、ソフトウェアにより印字データを高速にカウントできる印字データカウント装置を提供することができるようになった。   As described above, according to the present invention, it is possible to provide a print data counting device capable of counting print data at high speed by software without using an expensive high-speed CPU.

以下に本発明による印字データカウント装置を備えた画像記録装置の実施の形態を説明する。図1に示すように、画像記録装置の一例である複写機1は、スキャナ部2、画像処理部3、プリントヘッドであるLSU4、画像形成部5、給紙搬送手段6、定着手段7、DF部8、及び、操作部(図示せず)を備えて構成される。   An embodiment of an image recording apparatus provided with a print data counting device according to the present invention will be described below. As shown in FIG. 1, a copying machine 1 as an example of an image recording apparatus includes a scanner unit 2, an image processing unit 3, an LSU 4 as a print head, an image forming unit 5, a paper feeding / conveying unit 6, a fixing unit 7, and a DF. A unit 8 and an operation unit (not shown) are provided.

前記操作部は、当該複写機1の各種ジョブの動作モードを設定するモード設定キーや設定されたジョブを起動するプリントキー等が配置され、前記モード設定キーによる設定情報等が表示される表示部を備えた操作部(図示せず)を備えて構成される。   The operation unit is provided with a mode setting key for setting operation modes of various jobs of the copying machine 1, a print key for starting the set job, and the like, and a display unit for displaying setting information by the mode setting key It is comprised including the operation part (not shown) provided with.

前記画像処理部3、LSU4、画像形成部5、給紙搬送手段6、定着手段7及びそれらの制御部により、所要の出力画像データに対応するトナー画像を記録紙に形成して出力する画像出力手段が構成される。   Image output for forming and outputting a toner image corresponding to required output image data on recording paper by the image processing unit 3, LSU 4, image forming unit 5, paper feeding and conveying unit 6, fixing unit 7 and their control units Means are configured.

前記DF部8は、原稿トレイ81に載置された複数枚の原稿80を1枚ずつスキャナ部2による原稿読取位置に搬送し、読取が終了した原稿を排紙トレイ82に排出する。   The DF unit 8 conveys a plurality of documents 80 placed on the document tray 81 one by one to a document reading position by the scanner unit 2, and discharges the document that has been read to a paper discharge tray 82.

前記スキャナ部2は、原稿に光を照射して反射した光をRGBのフィルタを介してCCDイメージセンサ21に送り画像情報を電子データに変換する。前記画像処理部3は前記CCDイメージセンサ21からの信号を、A/D変換、シェーディング補正、色調補正、その他画像処理を施した出力画像データに加工する部分で、後述のトナー色変換処理も実行する。前記LSU4は前記画像処理3からの出力画像データをレーザー光に変換し、感光体ドラム51に照射する。   The scanner unit 2 converts the image information into electronic data by sending the light reflected by irradiating the document to the CCD image sensor 21 through RGB filters. The image processing unit 3 processes the signal from the CCD image sensor 21 into output image data subjected to A / D conversion, shading correction, color correction, and other image processing, and also executes toner color conversion processing described later. To do. The LSU 4 converts output image data from the image processing 3 into laser light and irradiates the photosensitive drum 51.

前記画像形成部5は、感光体ドラム51、主帯電器52、現像部53、転写ベルト54、クリーニング部55、リサイクルトナー補給手段56、除電ランプ57とからなり、特に現像部53はシアン現像器531、マゼンタ現像器532、イエロー現像器533、ブラック現像器534、リサイクル現像器535の5つの現像器を有している。各現像器には、対応する色のトナーが充填されたトナーカートリッジが着脱自在に取り付けられ、トナーカートリッジから現像器に対してトナーが供給されるように構成される。   The image forming unit 5 includes a photosensitive drum 51, a main charger 52, a developing unit 53, a transfer belt 54, a cleaning unit 55, a recycled toner replenishing unit 56, and a charge eliminating lamp 57. In particular, the developing unit 53 is a cyan developing unit. 531, a magenta developing unit 532, a yellow developing unit 533, a black developing unit 534, and a recycling developing unit 535. A toner cartridge filled with a corresponding color toner is detachably attached to each developing device, and the toner is supplied from the toner cartridge to the developing device.

前記主帯電器52は感光体ドラム51に向かって開口したシールドケース内に50〜100μmの細いタングステン線を感光体ドラム51の長手方向に張り、これに+5KV程度の高圧を印加することにより前記感光体ドラム51を正帯電させる。帯電した前記感光体ドラム51の表面にLSU4が画像データに応じたレーザー光線を照射することにより感光体ドラム51の表面に静電潜像が形成される。前記感光体ドラム51のレーザーが照射された部分に前記現像部53内で撹拌されてプラス帯電したトナーに現像ローラのバイアス電圧と感光体ドラム表面の電位が作用することによりトナー像が形成され、これを前記転写ベルト54の表面に転写する。前記感光体ドラム51上の転写されなかったトナーは次のプロセスであるクリーニング部55のゴムブレード551により掻き落とされて、表面の残留電位を落して均一にすべく除電ランプ57により除電されてその後は次の一連のプロセスに備える。   The main charger 52 stretches a thin tungsten wire of 50 to 100 μm in the longitudinal direction of the photosensitive drum 51 in a shield case opened toward the photosensitive drum 51, and applies a high voltage of about +5 KV to the photosensitive drum 51. The body drum 51 is positively charged. The LSU 4 irradiates the charged surface of the photosensitive drum 51 with a laser beam corresponding to the image data, whereby an electrostatic latent image is formed on the surface of the photosensitive drum 51. A toner image is formed by applying the bias voltage of the developing roller and the potential of the surface of the photosensitive drum to the toner that is agitated in the developing portion 53 and positively charged in the portion irradiated with the laser of the photosensitive drum 51, This is transferred onto the surface of the transfer belt 54. The toner that has not been transferred onto the photosensitive drum 51 is scraped off by the rubber blade 551 of the cleaning unit 55, which is the next process, and is neutralized by the neutralizing lamp 57 in order to reduce the residual potential on the surface and make it uniform. Prepares for the next series of processes.

カラー画像出力モードの場合は、上述した帯電、露光、現像、クリーニング、除電の各動作をシアン、マゼンタ、イエロー、ブラックの各色に対応して行い、それぞれのトナー像が前記転写ベルト54上で重ねられ、このトナー像が2次転写部541a,541bで記録紙に転写される。   In the color image output mode, the above-described charging, exposure, development, cleaning, and charge removal operations are performed corresponding to each color of cyan, magenta, yellow, and black, and the respective toner images are superimposed on the transfer belt 54. The toner image is transferred to the recording paper by the secondary transfer portions 541a and 541b.

モノトーン画像出力モードの場合は、前記シアン現像器531、マゼンタ現像器532、イエロー現像器533、ブラック現像器534の何れかのみで行い、要求のあった場合にはリサイクル現像器のみで出力を行う。   In the case of the monotone image output mode, only the cyan developing unit 531, the magenta developing unit 532, the yellow developing unit 533, or the black developing unit 534 is used. .

前記給紙搬送手段6は給紙カセット611,612、給紙ローラ621,622、垂直搬送路63、レジストローラ対64a,64b、搬送ベルト65からなっている。前記給紙カセット611,612には複数の記録紙が積載される用紙積載板が設けられ、この用紙積載板がバネ、又はリフトモータなどでリフトアップされることで記録紙の一番上の紙が前記給紙ローラ621,622に接するように付勢される。前記レジストローラ対64a,64bは搬送されてきた用紙に対する前記転写ベルト54上のトナー像の転写のタイミングを合わせるためと、用紙先端を整えるために一端用紙を止めてから前記画像形成部5へ用紙を搬送する役割をもつ。前記搬送ベルト65は未定着トナーが転写された用紙を前記定着手段7に搬送する。またそれぞれの搬送路にある搬送ローラは適宜必要な本数がレイアウトされている。   The paper feeding / conveying means 6 comprises paper feeding cassettes 611 and 612, paper feeding rollers 621 and 622, a vertical conveying path 63, a pair of registration rollers 64a and 64b, and a conveying belt 65. The paper feed cassettes 611 and 612 are provided with a paper stacking plate on which a plurality of recording papers are stacked, and this paper stacking plate is lifted up by a spring, a lift motor, etc. Is urged to come into contact with the paper feed rollers 621 and 622. The registration roller pairs 64a and 64b stop the paper at one end in order to synchronize the transfer timing of the toner image on the transfer belt 54 with respect to the conveyed paper and to adjust the leading edge of the paper, and then send the paper to the image forming unit 5. It has a role to carry. The conveyance belt 65 conveys the sheet on which the unfixed toner is transferred to the fixing unit 7. The necessary number of conveying rollers in each conveying path is laid out as needed.

前記定着手段7は、第1の熱ローラ71とその内部の第1のヒータ711と、第2の熱ローラ72その内部の第2のヒータ721、定着排出ローラ対73a,73bなどから構成される。前記熱ローラ対71,72は熱伝導性のよいアルミ等にフッ素コートを施したものを用い前記2つのヒータ711,721を内蔵することにより定着に必要な所定の温度に制御されている。前記第1の熱ローラ71は前記第2の熱ローラ72に対向し適当な圧力で接触し、駆動手段(図示していない)により駆動されている。この前記熱ローラ対71,72は基材が熱伝導性の良いアルミのローラからなり定着のニップ幅を確保するために周辺は弾性層で覆われている。また図示していないが各ローラに対しては用紙を剥がすための爪部材やクリーニングするローラやウェブを設けてある。   The fixing unit 7 includes a first heat roller 71, a first heater 711 inside the first heat roller 71, a second heat roller 72, a second heater 721 inside the heat roller 72, a pair of fixing discharge rollers 73a and 73b, and the like. . The heat roller pairs 71 and 72 are made of aluminum or the like having good thermal conductivity and coated with fluorine. The two heaters 711 and 721 are built in and controlled to a predetermined temperature required for fixing. The first heat roller 71 faces the second heat roller 72 and contacts with an appropriate pressure, and is driven by driving means (not shown). The heat roller pair 71, 72 is made of an aluminum roller having a good thermal conductivity, and its periphery is covered with an elastic layer in order to secure a fixing nip width. Although not shown, each roller is provided with a claw member for peeling the paper, a roller for cleaning, and a web.

図2に示すように、前記複写機1の制御部20は、スキャナ部2により読取られた画像データや図示していない通信ラインから入力された画像データに対する入出力変換処理を実行するメインCPU21を有する第一制御部20aと、操作部に対するキー入力処理や表示出力処理、及び、画像出力手段による画像形成プロセス動作を制御するシステムCPU25を有する第二制御部20bとを備えて構成される。   As shown in FIG. 2, the control unit 20 of the copying machine 1 includes a main CPU 21 that performs input / output conversion processing on image data read by the scanner unit 2 and image data input from a communication line (not shown). And a second control unit 20b having a system CPU 25 for controlling an image forming process operation by an image output unit.

詳述すると、第一制御部20aは、前記画像処理部3を構成するもので、メインCPU21の実行プログラムが格納されたROM22と、画像処理のための画像データを格納するRAM23と、スキャナ部2により読取られた原稿画像データなどを入力するとともに、メインCPU21で処理された出力画像データを前記プロセス処理部のLSU4等に出力する画像入出力バッファ24などが内部バス21aで接続されて構成される。   More specifically, the first control unit 20a constitutes the image processing unit 3. The ROM 22 stores an execution program for the main CPU 21, the RAM 23 stores image data for image processing, and the scanner unit 2. The image input / output buffer 24 for inputting the document image data read by the main CPU 21 and outputting the output image data processed by the main CPU 21 to the LSU 4 of the process processing unit is connected by the internal bus 21a. .

第二制御部20bは、システムCPU25の実行プログラムが格納されたROM26と、各種のプロセス制御データが格納されるRAM27と、第一入出力バッファ28と第二入出力バッファ29などが内部バス25aで接続されて構成されている。第一入出力バッファ28は、操作部に設けられたモード設定キー等からのキー入力データを入力し、表示部に表示情報等を出力したり、DF部8に対する制御信号を出力する入出力ポートとして機能する。第二入出力バッファ29には、上述の画像形成部5、給紙搬送手段6等画像形成のためのプロセス処理部に設けられたモータやヒータ等の各種のエレメントに対する駆動信号が出力される出力ポートと、各エレメントからのプロセスデータなどが入力される入力ポートとして機能する。   The second control unit 20b includes a ROM 26 storing an execution program of the system CPU 25, a RAM 27 storing various process control data, a first input / output buffer 28, a second input / output buffer 29, and the like through an internal bus 25a. Connected and configured. The first input / output buffer 28 is an input / output port for inputting key input data from a mode setting key or the like provided in the operation unit, outputting display information or the like to the display unit, or outputting a control signal to the DF unit 8 Function as. The second input / output buffer 29 is an output to which drive signals for various elements such as a motor and a heater provided in a process processing unit for image formation such as the image forming unit 5 and the paper feeding / conveying unit 6 are output. It functions as a port and an input port to which process data from each element is input.

上述の複写機1には、トナーカートリッジに充填されているトナー残量を検出するトナー残量検出手段が設けられ、前記トナー残量検出手段により検出されたトナー残量が所定の残量許容量より少ないと判断されたときに、前記操作部にトナー残量が少ない旨の絵文字(ピクトグラフ)が表示され、追加トナーの手配を促すように構成される。   The copying machine 1 is provided with toner remaining amount detecting means for detecting the remaining amount of toner filled in the toner cartridge, and the toner remaining amount detected by the toner remaining amount detecting means is a predetermined remaining amount allowable amount. When it is determined that the amount of toner is less, a pictograph indicating that the amount of remaining toner is low is displayed on the operation unit, and an arrangement for additional toner is prompted.

図3に示すように、前記トナー残量検出手段200は、RAM27の記憶領域の一部に区画されたトナー色毎のトナー残量記憶手段201と、記録紙の出力の度にトナー消費量を演算するトナー消費量演算手段202と、トナー消費量演算手段202により演算導出されたトナー消費量をトナー残量記憶手段201に記憶されているトナー残量データから減算して現在のトナー残量を演算するトナー残量演算手段207とからなり、トナー残量記憶手段201に記憶されているトナー残量データはトナーカートリッジが交換される度にフル充填量にリセットされるように構成されている。   As shown in FIG. 3, the toner remaining amount detecting means 200 includes a toner remaining amount storing means 201 for each toner color divided into a part of the storage area of the RAM 27, and a toner consumption amount for each output of recording paper. Toner consumption calculating means 202 for calculating, and the toner consumption calculated by the toner consumption calculating means 202 are subtracted from the toner remaining amount data stored in the toner remaining amount storing means 201 to obtain the current toner remaining amount. The toner remaining amount calculating means 207 for calculating the toner remaining amount data stored in the toner remaining amount storing means 201 is reset to the full filling amount every time the toner cartridge is replaced.

前記トナー消費量演算手段202は、プリントヘッドに出力されるラスターデータから印字されるドット数をカウントするもので、RAM23の記憶領域の一部に区画され、所定バイトの数値データから印字ドットに対応するビット数に変換するルックアップテーブルが記憶された記憶手段203と、画像入出力バッファ24にバッファリングされたラスターデータを所定バイト単位で順次読み出し、前記ルックアップテーブルに基づいて読み出した数値データを印字ドットに対応するビット数に変換処理する変換処理手段204と、変換処理されたビット数を加算する加算処理手段205と、加算処理手段205による加算結果に所定の相関係数を乗ずる乗算手段206で構成され、当該出力画像で消費されるトナー量が推定演算される。ここで、前記相関係数は実験等により求められるものである。つまり、ルックアップテーブルが記憶されたRAM23と、変換処理手段204と、加算処理手段205により本発明の印字データカウント装置が構成される。   The toner consumption calculating means 202 counts the number of dots to be printed from the raster data output to the print head. The toner consumption calculating means 202 is partitioned into a part of the storage area of the RAM 23 and corresponds to print dots from numerical data of a predetermined byte. Storage means 203 in which a look-up table to be converted into the number of bits to be stored is stored, and raster data buffered in the image input / output buffer 24 is sequentially read in units of predetermined bytes, and the numerical data read based on the look-up table is read Conversion processing means 204 for converting the number of bits corresponding to the print dots, addition processing means 205 for adding the number of converted bits, and multiplication means 206 for multiplying the addition result by the addition processing means 205 by a predetermined correlation coefficient The amount of toner consumed in the output image is estimated and calculated. Here, the correlation coefficient is obtained by experiments or the like. That is, the RAM 23 in which the lookup table is stored, the conversion processing unit 204, and the addition processing unit 205 constitute the print data counting device of the present invention.

以下に、トナー残量検出手段による動作を図5に示すフローチャートに基づいて説明する。ラスターデータに展開されたシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の各トナーに対応する出力画像データが画像入出力バッファ24に格納されると(S1)、メインCPU21及びその実行プログラムの一部で構成される変換処理手段204は、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の色毎に出力画像データを8ビット単位で順番に読み出し(S2)、図4に示すルックアップテーブルを参照して印字画素数に変換処理する(S3)。   In the following, the operation by the toner remaining amount detecting means will be described based on the flowchart shown in FIG. When output image data corresponding to each toner of cyan (C), magenta (M), yellow (Y), and black (K) expanded into raster data is stored in the image input / output buffer 24 (S1), the main data is stored. The conversion processing means 204 composed of a part of the CPU 21 and its execution program sequentially outputs the output image data in units of 8 bits for each color of cyan (C), magenta (M), yellow (Y), and black (K). Are read out (S2), and converted into the number of print pixels with reference to the lookup table shown in FIG. 4 (S3).

つまり、ラスターデータは、“1”にセットされているビットが印字ドットとなり、“0”にリセットされているビットが非印字ドットとなるように構成されているので、ラスターデータから8ビット単位で読み出された数値データの“1”にセットされているビット数をカウントすることにより印字ドット数が求まる。   In other words, the raster data is configured so that the bits set to “1” become printing dots and the bits reset to “0” become non-printing dots. The number of print dots can be obtained by counting the number of bits set to “1” of the read numerical data.

上述のルックアップテーブルは、16進表示で00HからFFHまでの8ビットの数値データを、印字ドットに対応するビット数に変換するように設定されたテーブルで、例えば、00Hではセットされているビット数が0であるので十進で“0”が、またFFHでは全ビットがセットされているので十進で“8”が、さらには0FHではセットされているビット数が4であるので十進で“4”が対応付けられている。従って、ラスターデータから読み出された8ビットデータがAEHであるならば、テーブル変換されたデータは十進で“5”となる。   The above lookup table is a table set to convert 8-bit numeric data from 00H to FFH in hexadecimal notation into the number of bits corresponding to the print dot. For example, the bit set at 00H Since the number is 0, decimal is “0”, and in FFH, all bits are set, so decimal is “8”. Further, in 0FH, the number of bits set is 4, so decimal. Is associated with “4”. Therefore, if the 8-bit data read from the raster data is AEH, the table-converted data is “5” in decimal.

このようにして8ビット単位に変換されたデータを、メインCPU21及びその実行プログラムの一部で構成される加算処理手段205が順次加算し(S4)、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の各トナーに対応して1ページの全印字データ、つまり全ドットデータがそれぞれ加算されると(S5)、その加算値がメインCPU21からシステムCPU25に引き渡され、システムCPU25及びその実行プログラムの一部で構成される乗算手段206によりその値と上述した相関係数が乗算されて、当該画像データを出力するのに使用されるトナー量が導出される(S6)。   The data converted into 8-bit units in this way is sequentially added by the main CPU 21 and the addition processing means 205 constituted by a part of the execution program (S4), cyan (C), magenta (M), yellow When all the print data of one page, that is, all the dot data is added corresponding to each toner of (Y) and black (K) (S5), the added value is transferred from the main CPU 21 to the system CPU 25, and the system The value is multiplied by the correlation coefficient described above by the multiplication means 206 constituted by a part of the CPU 25 and its execution program, and the amount of toner used to output the image data is derived (S6).

システムCPU25及びその実行プログラムの一部で構成されるトナー残量演算手段207により、トナー残量記憶手段201に格納された残量データから導出されたトナー消費量が減算されて現在のトナー残量が導出され(S7)、その値がトナー残量記憶手段201に更新記憶されるのである(S8)。   The remaining toner amount derived from the remaining amount data stored in the remaining toner amount storage unit 201 is subtracted by the remaining toner amount calculating unit 207 constituted by the system CPU 25 and a part of the execution program thereof to obtain the current remaining toner amount. Is derived (S7), and the value is updated and stored in the remaining toner storage unit 201 (S8).

つまり、上述のROM22には、バッファリングされたラスターデータを所定バイト単位で順次読み出し、所定バイトの数値データから印字ドットに対応するビット数に変換するルックアップテーブルに基づいて、読み出した数値データを印字ドットに対応するビット数に変換処理する変換処理手段と、変換処理されたビット数を加算する加算処理手段としてコンピュータを機能させ、プリントヘッドに出力されるラスターデータから印字されるドット数をカウントするプログラムが格納されている。   That is, in the ROM 22 described above, the buffered raster data is sequentially read out in units of predetermined bytes, and the read numerical data is converted based on a lookup table that converts the numerical data of the predetermined bytes into the number of bits corresponding to the print dots. The computer functions as a conversion processing means for converting the number of bits corresponding to the print dots and an addition processing means for adding the converted bit numbers, and counts the number of dots printed from the raster data output to the print head. The program to be stored is stored.

上述の構成によれば、ラスターデータから印字されるドット数、例えば黒に対応するドット数を1ビット単位で計数処理するために、ビット単位でセットされているか否かを識別し、セットされている場合にカウントアップするような煩雑で処理ステップの長い処理を行なわなくとも、ルックアップテーブルを用いることにより、所定バイトの数値データから印字ドットに対応するビット数に迅速に変換することができるので、変換後のビット数を計数するだけで印字データがカウントでき、安価な低速のCPUを用いる場合であっても極めて高速に印字データのカウントができるようになる。この場合には、CPUのパイプライン処理を有効に活用でき、より高速に処理することができるようになる。   According to the above configuration, in order to count the number of dots printed from raster data, for example, the number of dots corresponding to black, in 1-bit units, whether or not they are set in bit units is identified and set. By using a look-up table, it is possible to quickly convert numeric data of a predetermined byte into the number of bits corresponding to the print dots without performing complicated processing such as counting up in the case of The print data can be counted simply by counting the number of bits after conversion, and the print data can be counted very quickly even when an inexpensive low-speed CPU is used. In this case, the pipeline processing of the CPU can be used effectively, and processing can be performed at higher speed.

上述の実施形態では、スキャナ部2により読取られた画像データや図示していない通信ラインから入力された画像データに対する入出力変換処理を実行するメインCPU21を有する第一制御部20aと、操作部に対するキー入力処理や表示出力処理、及び、画像出力手段による画像形成プロセス動作を制御するシステムCPU25を有する第二制御部20bとを備え、トナー残量検出手段を両CPU21,25の協同処理で実現するものであるが、単独のCPUにより制御部が構成されトナー残量検出手段が実現されるものであってもよい。   In the above-described embodiment, the first control unit 20a having the main CPU 21 that performs input / output conversion processing on image data read by the scanner unit 2 or image data input from a communication line (not shown), and the operation unit And a second control unit 20b having a system CPU 25 for controlling an image forming process operation by the image output means and a key input process, a display output process, and a toner remaining amount detecting means realized by the cooperative processing of both CPUs 21 and 25. However, the control unit may be configured by a single CPU and the toner remaining amount detecting means may be realized.

上述の印字データカウント装置では、変換処理手段がラスターデータを8ビット単位で読み出して処理するものを説明したが、処理単位は16ビットであっても32ビットであってもよく、CPUのデータバスのサイズに合わせて処理することが好ましい。この場合には、その処理単位に合わせたルックアップテーブルを準備すればよい。   In the above-described print data counting device, the conversion processing means reads and processes raster data in units of 8 bits. However, the processing unit may be 16 bits or 32 bits, and the data bus of the CPU. It is preferable to process according to the size. In this case, a lookup table that matches the processing unit may be prepared.

上述の実施形態では、印字データカウント装置がトナー残量を検出するためにしようされるものを説明したが、印字データカウント装置によるカウント結果に基づいてトナーの消費量を調整するように、感光体の帯電量を制御するなど画像形成プロセスを変更制御するために用いるものであってもよい。   In the above-described embodiment, the print data counting device used for detecting the remaining amount of toner has been described. However, the photosensitive member is adjusted so that the toner consumption is adjusted based on the count result by the print data counting device. It may be used for controlling the change of the image forming process, such as controlling the amount of charge.

上述の実施形態では、画像記録装置の一例として電子写真方式によるカラー出力可能な複写機について説明したが、モノクロのみ出力できる複写機であっても同様であり、さらにプリンタやファクシミリ、インクジェットプリンタ等にも適用できることはいうまでもない。   In the above-described embodiment, a copying machine capable of color output by an electrophotographic method has been described as an example of an image recording apparatus. However, the same applies to a copying machine capable of outputting only monochrome, and further to a printer, a facsimile, an inkjet printer, or the like. It goes without saying that can also be applied.

画像記録装置を説明する断面図Sectional drawing explaining an image recording device 画像記録装置の制御ブロック構成図Control block diagram of image recording apparatus 要部のブロック構成図Block diagram of the main part ルックアップテーブルの説明図Illustration of lookup table 印字データカウント処理を示すフローチャートFlow chart showing print data count processing

符号の説明Explanation of symbols

1:複写機
2:スキャナ部
3:画像処理部
4:LSU4
5:画像形成部
6:給紙搬送手段
7:定着手段
8:DF部
200:トナー残量検出手段
201:トナー残量記憶手段
202:トナー消費量演算手段
203:記憶手段
204:変換処理手段
205:加算処理手段
206:乗算手段
207:トナー残量演算手段

1: Copier 2: Scanner unit 3: Image processing unit 4: LSU4
5: Image forming unit 6: Paper feeding / conveying unit 7: Fixing unit 8: DF unit 200: Toner remaining amount detecting unit 201: Toner remaining amount storing unit 202: Toner consumption calculating unit 203: Storage unit 204: Conversion processing unit 205 : Addition processing means 206: multiplication means 207: toner remaining amount calculation means

Claims (2)

プリントヘッドに出力されるラスターデータから印字されるドット数をカウントする印字データカウント装置であって、
所定バイトの数値データから印字ドットに対応するビット数に変換するルックアップテーブルが記憶された記憶手段と、バッファリングされたラスターデータを所定バイト単位で順次読み出し、前記ルックアップテーブルに基づいて読み出した数値データを印字ドットに対応するビット数に変換処理する変換処理手段と、変換処理されたビット数を加算する加算処理手段を備えてなる印字データカウント装置。
A print data counting device for counting the number of dots printed from raster data output to a print head,
Storage means storing a lookup table for converting numeric data of a predetermined byte into the number of bits corresponding to a print dot, and buffered raster data are sequentially read out in units of a predetermined byte, and read based on the lookup table A print data counting device comprising: conversion processing means for converting numerical data into the number of bits corresponding to printing dots; and addition processing means for adding the converted number of bits.
バッファリングされたラスターデータを所定バイト単位で順次読み出し、所定バイトの数値データから印字ドットに対応するビット数に変換するルックアップテーブルに基づいて、読み出した数値データを印字ドットに対応するビット数に変換処理する変換処理手段と、変換処理されたビット数を加算する加算処理手段としてコンピュータを機能させ、プリントヘッドに出力されるラスターデータから印字されるドット数をカウントするプログラム。 The buffered raster data is sequentially read in units of predetermined bytes, and the read numerical data is converted to the number of bits corresponding to the print dots based on a lookup table that converts the numerical data of the predetermined bytes into the number of bits corresponding to the print dots. A program for causing a computer to function as conversion processing means for performing conversion processing and addition processing means for adding the number of bits subjected to conversion processing, and counting the number of dots printed from raster data output to the print head.
JP2004093828A 2004-03-26 2004-03-26 Print data counter Pending JP2005279973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004093828A JP2005279973A (en) 2004-03-26 2004-03-26 Print data counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004093828A JP2005279973A (en) 2004-03-26 2004-03-26 Print data counter

Publications (1)

Publication Number Publication Date
JP2005279973A true JP2005279973A (en) 2005-10-13

Family

ID=35178878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004093828A Pending JP2005279973A (en) 2004-03-26 2004-03-26 Print data counter

Country Status (1)

Country Link
JP (1) JP2005279973A (en)

Similar Documents

Publication Publication Date Title
JP5817268B2 (en) Image forming apparatus, toner consumption calculation method, and computer program
JP2018040874A (en) Image formation device, image formation device control method and program
US20140204435A1 (en) Image formation apparatus
JP5593168B2 (en) Image forming apparatus and toner consumption calculation method
JP5887956B2 (en) Image forming apparatus
JP4417687B2 (en) Multicolor image recording device
JP5217681B2 (en) Image forming apparatus
JP5433558B2 (en) Image forming apparatus and toner amount calculation method
JP2009145692A (en) Image forming apparatus and image quality adjustment method
JP2007057579A (en) Image forming apparatus
JP2005279973A (en) Print data counter
JP2005277747A (en) Image recording apparatus
JP5817269B2 (en) Image forming apparatus, toner consumption calculation method, and computer program
JP2002244495A (en) Image forming device
JP5079065B2 (en) Color image processing apparatus and program
JP5401417B2 (en) Image forming apparatus and toner consumption calculation method
JP2010102098A (en) Image forming apparatus
JP6394993B2 (en) Image forming apparatus and toner consumption calculation method
JP2005121993A (en) Multicolor image recording device
JP7297469B2 (en) Image processing device, image processing method, and program
US11789393B2 (en) Image forming apparatus
JP5200073B2 (en) Color image processing apparatus and program
JP6681027B2 (en) Image forming device
JP2011033851A (en) Image forming apparatus, method for managing consumable article, program for managing consumable article, and recording medium
JP2005242040A (en) Image recorder