JP2003107970A - Printer controller and printer device - Google Patents

Printer controller and printer device

Info

Publication number
JP2003107970A
JP2003107970A JP2001306088A JP2001306088A JP2003107970A JP 2003107970 A JP2003107970 A JP 2003107970A JP 2001306088 A JP2001306088 A JP 2001306088A JP 2001306088 A JP2001306088 A JP 2001306088A JP 2003107970 A JP2003107970 A JP 2003107970A
Authority
JP
Japan
Prior art keywords
toner
ink
printer
image data
unit
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
JP2001306088A
Other languages
Japanese (ja)
Inventor
Tokutaro Fukushima
徳太郎 福嶋
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001306088A priority Critical patent/JP2003107970A/en
Publication of JP2003107970A publication Critical patent/JP2003107970A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Ink Jet (AREA)

Abstract

PROBLEM TO BE SOLVED: To exactly detect the residual quantity of toner or ink. SOLUTION: A pixel counting part 27 counts the number of pixels to which the toner is actually mounted for printing to a recording paper in image data to be printed out, the counted number of pixels and the cumulative amount of toner consumption stored in a toner consumption storage 28 are added, and the consumption of the toner consumed until then is stored in the toner consumption storage 28. A toner residual quantity arithmetic part 29 calculates the residual quantity of the toner from the cumulative amount of toner consumption in the toner consumption storage 28 and the mass of the toner loaded in advance.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、レーザープリン
タやインクジェットプリンタ等に搭載するプリンタコン
トローラ及びそれを使用したプリンタ装置、特に、レー
ザープリンタやインクジェットプリンタにおいて消費さ
れるトナーやインクの消費量を推測してトナー又はイン
クの使用量を使用者に正確に通知させるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer controller mounted on a laser printer, an inkjet printer or the like and a printer device using the same, and in particular, it estimates the amount of toner or ink consumed in the laser printer or inkjet printer. In this way, the user is notified of the amount of toner or ink used.

【0002】[0002]

【従来の技術】近年パーソナルコンピュータの飛躍的な
普及に伴い、プリンタ装置における印刷量が増大してき
た。それに伴いトナーやインクと言った消耗品の使用量
も増加してきている。また、プリンタエンジン技術の向
上により、一回の印刷量も大量に成りつつある。さら
に、プリンタ装置の高速化により、複数部数の印刷時に
はプリンタ装置にて一部のみ印刷し、複写機にて必要部
数コピーして行ってきた作業の流れから、全ての部数を
プリンタ装置で印刷するような作業の流れに変化してき
た。これによりトナーやインクの入れ替え回数も増えて
きており、より詳細な消耗品残量の検知・通知・管理が
望まれている。
2. Description of the Related Art With the rapid spread of personal computers in recent years, the amount of printing in printers has increased. Along with this, the amount of consumables such as toner and ink used is also increasing. In addition, the amount of printing at one time is also increasing due to the improvement of printer engine technology. Further, due to the speeding up of the printer device, when printing a plurality of copies, only a part is printed by the printer device, and the required number of copies is made by the copying machine, so that all the copies are printed by the printer device. The work flow has changed. As a result, the number of times toner and ink are replaced is increasing, and more detailed detection, notification, and management of the remaining amount of consumables are desired.

【0003】従来の電子写真方式を使用したレーザプリ
ンタ装置を使用して印刷する場合、図5に示すように、
ホスト装置1の使用者は印刷したい画像を作成し、印刷
を行うプリンタ装置2を指定して作成した画像の印刷命
令を出す。印刷命令が出されると、ホスト装置1は接続
されたプリンタ装置2にあったプリンタドライバソフト
32により、プリンタ装置2のプリンタコントローラ4
で解釈が可能な命令コードの体系に画像データを変換
し、ホスト装置1からプリンタコントローラ4のホスト
インタフェース22に画像データを出力する。プリンタ
コントローラ4のCPU23は、ホストインタフェース
22で印刷する画像データの受信が開始されると、送ら
れてきた画像データをROM24に書き込まれているコ
ード情報にしたがってRAM25にイメージ描画して展
開する。CPU23は送られた画像データをRAM25
に展開した後、プリンタエンジン3に印刷起動命令を出
し、プリンタエンジン3を駆動し、イメージ展開した画
像データをエンジンインタフェース30を介して、プリ
ンタエンジン3に出力して印刷を実行する。通常、プリ
ンタエンジン3に画像を出力するビデオ出力の場合に
は、膨大な量の画像データを短期間で転送しなければな
らないため、ビデオDMAコントローラ26によりDM
A処理を行って高速化を図っている。また、ビデオDM
Aコントローラ26はDMA転送が終了すると、CPU
23にビデオDMA終了のインタラプトを発行して終了
を知らせる。CPU23は画像データを出力させるため
に、バンドのDMAパラメータをビデオDMAコントロ
ーラ26に設定し、同様なビデオDMA処理を行うこと
によりプリンタエンジン3への出力を完了する。
When printing is performed using a conventional laser printer using an electrophotographic method, as shown in FIG.
The user of the host device 1 creates an image to be printed, specifies the printer device 2 for printing, and issues a print command for the created image. When a print command is issued, the host device 1 uses the printer driver software 32 in the connected printer device 2 to cause the printer controller 4 of the printer device 2 to operate.
The image data is converted into a command code system that can be interpreted by, and the image data is output from the host device 1 to the host interface 22 of the printer controller 4. When the reception of the image data to be printed by the host interface 22 is started, the CPU 23 of the printer controller 4 draws an image of the sent image data in the RAM 25 according to the code information written in the ROM 24 and expands it. The CPU 23 stores the sent image data in the RAM 25
Then, a print start command is issued to the printer engine 3, the printer engine 3 is driven, and the image data thus expanded is output to the printer engine 3 via the engine interface 30 to execute printing. Normally, in the case of video output for outputting an image to the printer engine 3, a huge amount of image data must be transferred in a short period of time, and therefore the video DMA controller 26 is used to perform DM.
A processing is performed to increase the speed. Also, video DM
When the DMA transfer is completed, the A controller 26
A video DMA end interrupt is issued to 23 to notify the end. In order to output the image data, the CPU 23 sets the band DMA parameter in the video DMA controller 26 and performs similar video DMA processing to complete the output to the printer engine 3.

【0004】また、インクジェット方式のプリンタ装置
の場合も基本的にはレーザプリンタ装置と同様の処理を
行うが、レーザプリンタ装置ではビデオ出力時は常にラ
イン単位で画像データをエンジンインタフェースに出力
するのに対して、インクジェット方式のプリンタ装置で
はヘッドに搭載されているノズルに合わせた画素の順番
にて画像データを出力することになる。また、ノズルに
合わせて画素の順番に出力するために画像データがライ
ン単位で管理されている場合には、ノズルピッチへの変
換処理が行われる。
In the case of the ink jet type printer device, basically, the same processing as that of the laser printer device is performed, but the laser printer device always outputs the image data to the engine interface line by line at the time of video output. On the other hand, in the ink jet type printer device, the image data is output in the order of pixels according to the nozzles mounted on the head. Further, when the image data is managed line by line in order to output the pixels in order in accordance with the nozzles, conversion processing to the nozzle pitch is performed.

【0005】また、プリンタ装置の種類によっては、イ
メージ展開はホスト装置において行い、プリンタ装置で
はイメージ画像の転送のみを行う場合もある。
Depending on the type of printer device, the image development may be performed by the host device, and the printer device may only transfer the image image.

【0006】このようなプリンタ装置で、トナーやイン
クが無くなってしまった状態で印刷動作を行ってしまう
とプリンタエンジンにダメージを与えてしまい機械を故
障させてしまう。これを防止してトナーやインクといっ
た消耗品の有無を検知するためにセンサを用いてトナー
やインクがほぼ無くなった場合(ニアーエンド)や完全
に無くなった場合(エンド)を認識して、使用者から印
刷命令が出されても印刷が行えない旨のメッセージを表
示して、印刷動作を行わないように構成している。ま
た、例えば特開平9−185238号公報に示すよう
に、トナー等のニアーエンドのためのセンサだけを設け
てニアーエンドのみを検知し、検知後、ある一定枚数を
印刷した時点でトナーやインクの消費量にかかわらずエ
ンドとして印刷を停止させてしまうようにしている。
In such a printer device, if the printing operation is performed in a state where the toner and the ink are exhausted, the printer engine will be damaged and the machine will be broken. In order to prevent this and detect the presence or absence of consumables such as toner and ink, a sensor is used to recognize when toner or ink is almost exhausted (near end) or completely exhausted (end) Even if a print command is issued, a message indicating that printing cannot be performed is displayed and the printing operation is not performed. Further, as disclosed in, for example, Japanese Patent Laid-Open No. 9-185238, only a sensor for the near end of toner or the like is provided to detect only the near end, and after the detection, when a certain number of sheets are printed, the consumption amount of toner or ink Regardless of the end, printing is stopped as an end.

【0007】また、例えば特開平9−327957号公
報に示すように、1ページ単位でのカウンタを使用して
計数した画素数の計数値と統計的手法にて算出された平
均トナー使用量からトナー残量を推測したり、特開平1
1−91136号公報に示すように、1ページ単位での
カウンタを使用して計数した記録画素数と電極対からイ
ンク残量を算出したりしている。
Further, as disclosed in, for example, Japanese Unexamined Patent Publication No. 9-327957, the toner is calculated from the count value of the number of pixels counted using a counter for each page and the average toner usage amount calculated by a statistical method. Guess the remaining amount,
As shown in Japanese Patent Laid-Open No. 1-911136, the remaining ink amount is calculated from the number of recording pixels counted using a counter for each page and the electrode pair.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上記のよ
うに1ページ単位でのカウンタを使用して画素数を計数
していると、例えば1200DPIでA3の原稿の画素
数を計数しようとした場合、実際に計数しなければなら
ない最大の数値は2億7843万余りとなり、29ビッ
トカウンタを必要とする。実際には19ビットカウンタ
のような非常に大きなカウンタをレーザプリンタ装置の
ような短時間に大容量の画像データ転送を行う機器に搭
載することは現実的ではなく、不可能と言わざるを得な
い。
However, when the number of pixels is counted by using the counter on a page-by-page basis as described above, when the number of pixels of an A3 original is counted with 1200 DPI, for example, The maximum number that must be counted is over 278.43 million, which requires a 29-bit counter. Actually, it is impractical and impossible to mount a very large counter such as a 19-bit counter on a device that transfers a large amount of image data in a short time such as a laser printer. .

【0009】また、プリンタエンジンの解像度は今後も
更に向上されるため、解像度が2倍になると画像データ
は4倍となり、計数しなければならない画素も4倍とな
り、それに伴いカウンタ回路もより増大してしまい、結
果としてコストアップが甚大になってしまうという不具
合もあった。
Further, since the resolution of the printer engine will be further improved in the future, if the resolution is doubled, the image data will be quadrupled, the number of pixels to be counted will be quadrupled, and the counter circuit will be increased accordingly. As a result, there was a problem that the cost would be greatly increased.

【0010】この発明はかかる不具合を改善し、ある決
まったブロックの印刷する画像データを計数し、以前か
ら記憶されていたトナー又はインクの消費量に加算して
更新することにより、トナーあるいはインクの残量を簡
単な構成で精度良く検知できるプリンタコントローラと
それを使用したプリンタ装置を提供することを目的とす
るものである。
The present invention solves this problem by counting the image data to be printed in a predetermined block, adding it to the previously stored toner or ink consumption amount, and updating it. An object of the present invention is to provide a printer controller that can detect the remaining amount with a simple configuration and high accuracy, and a printer device using the printer controller.

【0011】[0011]

【課題を解決するための手段】この発明に係るプリンタ
コントローラは、画素計数手段と消費量記憶手段と処理
手段及び残量演算手段とを有し、印刷する画像データの
うち記録紙に実際に印刷するトナー又はインクを載せる
画素数を画素計数手段で計数し、計数した画素数と消費
量記憶手段に記憶されている累積のトナー又はインクの
消費量とを処理手段で加算して消費量記憶手段の累積の
トナー又はインク消費量の値を更新させ、消費量記憶手
段に、それまでに消費したトナー又はインク消費量を記
憶させる。この消費量記憶手段に記憶した累積のトナー
又はインクの消費量とあらかじめ搭載されているトナー
又はインクの質量から、残量演算手段でトナー又はイン
クの残量を算出してトナー又はインクの残量を常に検知
することを特徴とする。
A printer controller according to the present invention has a pixel counting means, a consumption amount storing means, a processing means, and a remaining amount calculating means, and actually prints image data to be printed on recording paper. The number of pixels on which the toner or ink is placed is counted by the pixel counting means, and the counted number of pixels and the cumulative consumption amount of toner or ink stored in the consumption amount storage means are added by the processing means, and the consumption amount storage means is added. The cumulative amount of toner or ink consumption is updated, and the amount of toner or ink consumed up to that point is stored in the amount-of-consumption storage means. The remaining amount of toner or ink is calculated by the remaining amount calculation unit from the cumulative amount of toner or ink stored in the consumption amount storage unit and the mass of the toner or ink installed in advance, and the remaining amount of toner or ink is calculated. Is always detected.

【0012】上記画素計数手段は、印刷する画像データ
のうち記録紙に実際に印刷するトナー又はインクを載せ
る画素数を、印刷する記録紙よりも小さい領域のブロッ
クに区切って、各ブロック毎に画素数を計数する。
The pixel counting means divides the number of pixels of the image data to be printed, on which the toner or ink to be actually printed on the recording paper is divided, into blocks of regions smaller than the recording paper to be printed, and the pixels are divided for each block. Count the number.

【0013】また、このブロックの単位は、印刷する記
録紙の副走査方向のバンドにて構成することが望まし
い。
It is desirable that the unit of this block is a band in the sub-scanning direction of the recording paper to be printed.

【0014】さらに、画素計数手段に、バンド単位で画
素数を記憶させる記憶手段を有すると良い。
Further, it is preferable that the pixel counting means has a storage means for storing the number of pixels in band units.

【0015】この発明に係るプリンタ装置は、上記プリ
ンタコントローラを有することを特徴とする。
A printer device according to the present invention has the printer controller described above.

【0016】[0016]

【発明の実施の形態】図1はこの発明のプリンタ装置の
構成を示すブロック図である。図に示すように、ホスト
装置1で作成した画像を印刷するプリンタ装置2は、プ
リンタエンジン3とプリンタコントローラ4及び操作パ
ネル5を有する。プリンタエンジン3は、感光体6とリ
ボルバユニット7と転写ユニット8と書込ユニット9と
給紙ユニット10と記録紙搬送路11及び定着ユニット
12を有する。感光体6の周囲には、感光体6の回転方
向に沿って除電ランプ13と帯電チャージャ14とリボ
ルバユニット7と転写ユニット8及びドラムクリ−ニン
グ部15が設けられている。リボルバユニット7は黒
(Bk),シアン(C),マゼンタ(M),黄(Y)の
各色の現像器を有する。転写ユニット8は複数のロ−ラ
に巻き回され、ベルトマーク17を有する中間転写ベル
ト16と1次転写ローラ18とベルトマ−ク17を読み
取る位置合わせセンサ19と2次転写ローラ20及びベ
ルトクリ−ニング部21を有する。
1 is a block diagram showing the configuration of a printer device according to the present invention. As shown in the figure, the printer device 2 that prints an image created by the host device 1 has a printer engine 3, a printer controller 4, and an operation panel 5. The printer engine 3 includes a photoconductor 6, a revolver unit 7, a transfer unit 8, a writing unit 9, a paper feeding unit 10, a recording paper conveyance path 11 and a fixing unit 12. Around the photoconductor 6, a charge eliminating lamp 13, a charging charger 14, a revolver unit 7, a transfer unit 8 and a drum cleaning unit 15 are provided along the rotation direction of the photoconductor 6. The revolver unit 7 has developing devices for each color of black (Bk), cyan (C), magenta (M), and yellow (Y). The transfer unit 8 is wound around a plurality of rollers, an intermediate transfer belt 16 having a belt mark 17, a primary transfer roller 18, a positioning sensor 19 for reading the belt mark 17, a secondary transfer roller 20, and a belt cleaning. It has a part 21.

【0017】このプリンタエンジン3で記録紙に画像を
形成するとき、形成する画像が1色の場合は転写ユニッ
ト8の中間転写ベルト16のベルトマーク17を検出す
る必要がないので、感光体6に形成されたトナー像をベ
ルトマーク17の位置とは関係なく中間転写ベルト16
に1次転写する。2次転写ローラ20は中間転写ベルト
16に転写されたトナー像の先端に合わせて順次給紙さ
れた記録紙にトナー像を2次転写し、定着ユニット12
で転写紙に転写されたトナー像を定着して排出する。中
間転写ベルト16に残留しているトナーはクリーニング
部21で回収する。
When an image is formed on a recording sheet by the printer engine 3, it is not necessary to detect the belt mark 17 of the intermediate transfer belt 16 of the transfer unit 8 when the image to be formed is one color. The formed toner image is transferred to the intermediate transfer belt 16 regardless of the position of the belt mark 17.
Primary transfer to. The secondary transfer roller 20 secondarily transfers the toner image onto the recording paper sequentially fed in accordance with the tip of the toner image transferred onto the intermediate transfer belt 16, and the fixing unit 12
The toner image transferred on the transfer paper is fixed and discharged. The toner remaining on the intermediate transfer belt 16 is collected by the cleaning unit 21.

【0018】また、形成する画像が2色以上の場合に
は、中間転写ベルト16のベルトマーク17を位置合せ
センサ19で検知したことを基準にして感光体6に第1
色目の画像を形成し、形成した画像を中間転写ベルト1
6に1次転写する。この感光体6に対する画像形成と中
間転写ベルト16に対する1次転写を各色毎にベルトマ
ーク17の検出を基準にして繰返し、中間転写ベルト1
6に所定のカラー画像を重ね合わせ、中間転写ベルト1
6に形成したカラー画像を記録紙に2次転写する。
When the image to be formed has two or more colors, the first image is formed on the photoconductor 6 based on the fact that the belt mark 17 of the intermediate transfer belt 16 is detected by the alignment sensor 19.
An image of a color is formed, and the formed image is transferred to the intermediate transfer belt 1.
Primary transfer to No. 6 is performed. The image formation on the photoconductor 6 and the primary transfer on the intermediate transfer belt 16 are repeated for each color on the basis of the detection of the belt mark 17, and the intermediate transfer belt 1
6 and a predetermined color image are overlaid, and the intermediate transfer belt 1
The color image formed in 6 is secondarily transferred to the recording paper.

【0019】プリンタコントローラ4は、ホスト装置1
からのコマンドや印刷する画像データ等を授受するホス
トインタフェース22と、装置全体の動作を管理するC
PU23と、CPU23の制御プログラム等を記憶した
ROM24と、ホスト装置1から送られた画像データを
格納するとともにCPU23のワークメモリとして使用
するRAM25とビデオDMAコントローラ26と画素
計数部27とトナー消費量記憶部28とトナー残量演算
部29とエンジンインタフェース30及びパネルインタ
フェース31を有する。
The printer controller 4 is a host device 1.
A host interface 22 that sends and receives commands from the computer and image data to be printed, and C that manages the operation of the entire device.
The PU 23, the ROM 24 that stores the control program of the CPU 23, the RAM 25 that stores the image data sent from the host device 1 and that is used as the work memory of the CPU 23, the video DMA controller 26, the pixel counting unit 27, and the toner consumption amount storage. It has a unit 28, a toner remaining amount calculation unit 29, an engine interface 30, and a panel interface 31.

【0020】画素計数部27はレジスタを有し、印刷す
る画像データのうち記録紙に実際に印刷のためのトナー
を載せる画素数を計数する。トナー消費量記憶部28は
例えばNVRAMからなり、印刷した画像データの累積
画素数をトナー消費量として記憶する。トナー残量演算
部29はトナー消費量記憶部28に記憶したトナー消費
量とあらかじめ搭載されているトナーの質量からトナー
の残量を算出する。
The pixel counting unit 27 has a register, and counts the number of pixels of the image data to be printed on which the toner for printing is actually placed on the recording paper. The toner consumption amount storage unit 28 is composed of, for example, NVRAM, and stores the cumulative number of pixels of the printed image data as the toner consumption amount. The toner remaining amount calculation unit 29 calculates the toner remaining amount from the toner consumption amount stored in the toner consumption amount storage unit 28 and the mass of the toner loaded in advance.

【0021】ホスト装置1の使用者は、ホスト装置1の
アプリケーションソフトウェアを利用して印刷を行いた
い画像データを作成する。この使用者によって作成され
る画像データは複数ページに渡っているものや、カラー
データとして作成されるもの等各種の画像データが存在
する。画像データの作成が完了した時点で、使用者はホ
ス装置1に接続されて印刷が可能なプリンタ装置のうち
印刷を行いたいプリンタ装置を選択して印刷命令を発行
する。この印刷命令には印刷部数の指定や両面印刷を行
うかどうかの指定、カラーかモノクロかの指定、拡大・
縮小率の指定、用紙のサイズ指定、あるいは1枚の記録
紙に複数のページをまとめて印刷する集約印刷を行うこ
との指定、印刷動作をするときに速度を優先するか画質
を優先するか又はコストを優先するかの指定など各種の
印刷モードが指定される。
The user of the host device 1 uses the application software of the host device 1 to create image data to be printed. There are various types of image data created by the user, such as image data spanning a plurality of pages and data created as color data. When the creation of the image data is completed, the user selects a printer device to be printed out of the printer devices connected to the host device 1 and capable of printing, and issues a print command. In this print command, specify the number of copies to print, specify whether to perform double-sided printing, specify whether to print in color or monochrome, and
Specify the reduction ratio, specify the size of the paper, or specify to perform aggregate printing to print multiple pages on one sheet of recording paper, prioritize speed or image quality when performing a printing operation, or Various print modes are designated, such as designation of cost priority.

【0022】このように使用者によりホスト装置1で印
刷命令が発行されると、使用者から指定された各種モー
ドを満足するように、ホスト装置1のプリンタドライバ
32と言われるソフトウェアにより、接続されているプ
リンタ装置2のプリンタコントローラ4が解読できるコ
ードに変換し、変換した画像データのコードをプリンタ
装置2に出力する。
When the user issues a print command in the host device 1 as described above, connection is made by software called a printer driver 32 of the host device 1 so that various modes designated by the user are satisfied. The printer controller 4 of the existing printer device 2 converts the code into a code that can be decoded, and outputs the converted image data code to the printer device 2.

【0023】プリンタ装置2に設けられたプリンタコン
トローラ4のホストインタフェース22はホスト装置1
から送られる画像データを受信する。ホストインタフェ
ース22で画像データの受信が始まると、CPU23に
対してインタラプトを発生させて、印刷命令が発行され
たことを知らせる。CPU23は受信した画像データを
イメージ展開してRAM25に一時的に記憶させる。送
られた画像データがCPU23によりRAM25に展開
された後、プリンタエンジン3に印刷起動命令を出し、
プリンタエンジン3を駆動する。そしてCPU23はR
AM25に一時格納した画像データをプリンタエンジン
3で印刷が可能なようにするため、イメージ展開してコ
ード情報として受信された画像をビットマップ情報に変
換して記憶させていく。その際、接続されるプリンタエ
ンジン3の種類によって多値で印刷が可能なプリンタエ
ンジン3の場合には多値にてイメージ展開し、2値のみ
印刷が可能なプリンタエンジン3の場合には2値にてイ
メージ展開を行う。また、RAM25の空き容量等を考
慮して適宜イメージ展開した画像データを圧縮させて記
憶させる。CPU23によりホスト装置1から送られて
きた全ての画像データがビットマップイメージとしてR
AM25にイメージ展開された時点、複数ページに渡る
画像データの場合には1ページ目の画像データのイメー
ジ展開が完了した時点で、CPU23はビデオDMAコ
ントローラ26にビデオDMA開始アドレスと転送バイ
ト数及び階調数等のビデオDMAパラメータをセットす
る。さらにCPU23は接続されているプリンタエンジ
ン3の状態を確認して、プリンタエンジン3が印刷可能
となった時点で、ビデオDMAコントローラ26にビデ
オDMA動作開始命令を発行し、プリンタエンジン3に
印刷動作を開始させる。
The host interface 22 of the printer controller 4 provided in the printer device 2 is the host device 1
Receives image data sent from. When the host interface 22 starts receiving the image data, it causes an interrupt to the CPU 23 to notify that the print command is issued. The CPU 23 develops the received image data into an image and temporarily stores it in the RAM 25. After the sent image data is expanded in the RAM 25 by the CPU 23, a print start command is issued to the printer engine 3,
The printer engine 3 is driven. And CPU23 is R
In order to enable the printer engine 3 to print the image data temporarily stored in the AM 25, the image is developed and the image received as code information is converted into bitmap information and stored. At that time, in the case of the printer engine 3 capable of multi-value printing depending on the type of the connected printer engine 3, multi-value image development is carried out, and in the case of the printer engine 3 capable of printing only two values, the binary Image development at. Further, the image data, which is appropriately expanded in consideration of the free space of the RAM 25 and the like, is compressed and stored. All the image data sent from the host device 1 by the CPU 23 is converted into a bitmap image R
At the time when the image is developed in the AM 25, or when the image development of the image data of the first page is completed in the case of image data over a plurality of pages, the CPU 23 causes the video DMA controller 26 to start the video DMA start address, the number of transfer bytes, and the floor. Set the video DMA parameters such as the key. Further, the CPU 23 confirms the state of the connected printer engine 3, and when the printer engine 3 becomes ready for printing, issues a video DMA operation start command to the video DMA controller 26, and instructs the printer engine 3 to perform the printing operation. Let it start.

【0024】ビデオDMA動作開始命令が発行される
と、ビデオDMAコントローラ26はプリンタエンジン
3からエンジンインタフェース30を通して入力された
主走査方向の同期信号LSYNCと副走査方向の同期信号FGA
TEと言ったビデオ制御信号線にしたがってて画像データ
をエンジンインタフェース30を介してプリンタエンジ
ン3に出力し印刷を行う。このようにして印刷動作が完
了すると、プリンタコントローラ4は再びアイドル状態
に復帰し再びホスト装置1からの印刷命令がきた時点で
同様に印刷を行う。
When the video DMA operation start command is issued, the video DMA controller 26 causes the sync signal LSYNC in the main scanning direction and the sync signal FGA in the sub scanning direction input from the printer engine 3 through the engine interface 30.
Image data is output to the printer engine 3 via the engine interface 30 according to the video control signal line called TE to perform printing. When the printing operation is completed in this way, the printer controller 4 returns to the idle state again, and when the print command from the host device 1 is received again, the printer controller 4 performs the same printing.

【0025】この印刷動作を行うときに、ビデオDMA
動作を行う以前若しくは同時に、画素計数部27は画像
データのうち実際にトナーを載せるビットの計数を行
う。すなわち画素計数部27は、RAM25に記憶され
た画像データの画像が存在しているビット、通常は
「1」の数を数えてレジスタに一旦記憶する。CPU2
3は画素計数部27で計数した画素数を読み出し、あら
かじめトナー消費量記憶部28に書き込まれていた、以
前の画素数であるトナーの消費量に加えてトナー消費量
記憶部28に上書きして、トナーの消費量を更新する。
トナー消費量算出部29は、このようにして得られたト
ナーの消費量を基に、あらかじめ搭載されているトナー
の質量がどの程度消費されたかを算出し、トナーの残量
を計算する。その結果得られたトナーの残量から、現在
はトナーがどの程度確保されているかをパネルインタフ
ェース31を介して操作パネル5に表示して使用者に通
知したり、トナーのニアエンド検知を行う。ニアエンド
検知がされた場合には、操作パネル5にわずかな期間で
トナーがなくなってしまうことも表示して使用者に通知
し、トナーがなくなるところまで計数された時点で、そ
れ以降、使用者からの印刷起動命令が出されたとして
も、ホスト装置1及び操作パネル5に印刷が実行できな
い旨のメッセージを出力してプリント動作を中断する。
When performing this printing operation, the video DMA
Before or at the same time as the operation, the pixel counting unit 27 counts the bits of the image data on which toner is actually placed. That is, the pixel counting section 27 counts the number of bits in which the image of the image data stored in the RAM 25 exists, usually "1", and temporarily stores it in the register. CPU2
3 reads out the number of pixels counted by the pixel counting unit 27 and overwrites it on the toner consumption amount storage unit 28 in addition to the toner consumption amount which is the previous number of pixels previously written in the toner consumption amount storage unit 28. , Update toner consumption.
The toner consumption amount calculation unit 29 calculates, based on the toner consumption amount thus obtained, how much the mass of the toner loaded in advance has been consumed, and calculates the remaining amount of toner. Based on the remaining amount of toner obtained as a result, how much toner is currently secured is displayed on the operation panel 5 via the panel interface 31 to notify the user, or near end detection of toner is performed. When the near-end is detected, the operation panel 5 also displays that the toner will run out in a short period of time to notify the user, and when the toner is exhausted, the user will be notified thereafter. Even if the print start command is issued, a message indicating that printing cannot be executed is output to the host device 1 and the operation panel 5, and the printing operation is interrupted.

【0026】このトナーの消費量を画素計数部27で計
数する際の処理を説明する。画素計数部27は、図3に
示すように、画像データ40を副走査方向に対して柵状
(バンド)41a〜41nに区切って管理を行う。CP
U23で画像データ40をイメージ展開する場合もバン
ド41a〜41nに分割してそれぞれに対してイメージ
展開を行う。したがってRAM25にイメージデータを
一時的に蓄えるときには、必ずしも1ページ分の連続し
た領域を確保する必要はなく、各バンド41a〜41n
はそれぞれ別々のアドレス領域にマッピングされてい
る。CPU23は各バンド41a〜41nの開始アドレ
スと終了アドレスを画素計数部27に設定して計数開始
命令を発行する。画素計数部27はDMA動作により設
定されたバンド41a〜41nの内部の画像データを一
旦読み出し、有効ビットのある画素をカウントする。こ
の画素計数部27に設けたレジスタは1バンドで表現で
きる最大画素数が入るビット数分用意する。例えば、A
3サイズで1200DPIの画像データ40の画素数を
計数するとすると、1バンド41の幅を5mmとした場
合には、画素数はおよそ333万画素となるため22ビ
ットのレジスタが必要となる。画素計数部27で1バン
ド41a分の計数が完了すると、CPU23は画素計数
部27内のレジスタの値を読み出し、トナー消費量記憶
部28に記憶されている以前に記憶してあったトナーの
消費量の値に加算を行い、再度トナー消費量記憶部28
に書込みを行いデータの更新を行う。また、同時に、次
のバンド41bの有効画素を計数するよう画素計数部2
7に再設定した後、再び、計数開始命令を発行する。こ
のような操作を繰り返し、最終的に1ページ分全ての計
数を行うことにより、1ページのフルビット分の画素数
のカウンタを設けなくてもトナーの消費量を算出するこ
とができる。
The process of counting the toner consumption amount by the pixel counting unit 27 will be described. As shown in FIG. 3, the pixel counting unit 27 divides the image data 40 into fences (bands) 41a to 41n in the sub-scanning direction for management. CP
Even when the image data 40 is image-developed by U23, it is divided into bands 41a to 41n and image development is performed for each band. Therefore, when temporarily storing image data in the RAM 25, it is not always necessary to secure a continuous area for one page, and each band 41a to 41n
Are mapped to different address areas. The CPU 23 sets the start address and end address of each band 41a to 41n in the pixel counting unit 27 and issues a count start command. The pixel counting unit 27 once reads the image data inside the bands 41a to 41n set by the DMA operation, and counts the pixels having valid bits. The registers provided in the pixel counting unit 27 are prepared by the number of bits that holds the maximum number of pixels that can be expressed in one band. For example, A
When counting the number of pixels of the image data 40 of 1200 DPI in three sizes, if the width of one band 41 is 5 mm, the number of pixels will be approximately 3.33 million pixels, and thus a 22-bit register is required. When the pixel counting unit 27 completes counting for one band 41a, the CPU 23 reads out the value of the register in the pixel counting unit 27 and consumes the toner stored in the toner consumption storage unit 28 before the toner consumption. The toner consumption amount storage unit 28
Write to and update the data. At the same time, the pixel counter 2 counts the effective pixels of the next band 41b.
After resetting to 7, the counting start command is issued again. By repeating such an operation and finally counting all of one page, the toner consumption amount can be calculated without providing a counter for the number of pixels for one page of full bits.

【0027】上記説明ではプリンタ装置2として、プリ
ンタエンジン3に電子写真方式を使用したレーザプリン
タに付いて説明したが、図4に示すように、シアンC,
マゼンタM、イェロY,ブラックBkの各色のインクを
それぞれ収納した4個のサブタンク42と、複数のノズ
ルを有し各サブタンク42からインクが供給される4個
の記録ヘッド43と、サブタンク42と記録ヘッド43
を搭載したキャリッジ44と、記録紙を収納した給紙ト
レイ45a,45bと、給紙トレイ45a,45bや手
差しテーブル46から記録紙を印字部47に搬送する搬
送ローラ48と、印字した記録紙を排紙トレイ49に排
出する排出ローラ50を有するインクジェットプリンタ
51のインク残量も同様にして算出することができる。
In the above description, a laser printer using an electrophotographic system as the printer engine 3 has been described as the printer device 2, but as shown in FIG.
Four sub-tanks 42 respectively containing inks of magenta M, yellow Y, and black Bk, four recording heads 43 having a plurality of nozzles and being supplied with ink from each sub-tank 42, sub-tank 42 and recording Head 43
A carriage 44, a paper feed tray 45a, 45b for accommodating recording paper, a conveyance roller 48 for conveying the recording paper from the paper feed trays 45a, 45b or the manual feed table 46 to the printing unit 47, and a printed recording paper. The ink remaining amount of the inkjet printer 51 having the discharge roller 50 for discharging to the paper discharge tray 49 can be calculated in the same manner.

【0028】[0028]

【発明の効果】この発明は以上説明したように、、印刷
する画像データのうち記録紙に実際に印刷するトナー又
はインクを載せる画素数を計数し、計数した画素数と消
費量記憶手段に記憶されている累積のトナー又はインク
の消費量とを加算して消費量記憶手段の累積のトナー又
はインク消費量の値を更新させ、消費量記憶手段にそれ
までに消費したトナー又はインク消費量を記憶させるよ
うにしたから、実際に消費したトナー又はインク消費量
を精度良く得ることができる。
As described above, according to the present invention, the number of pixels of the image data to be printed on which the toner or ink to be actually printed is placed on the recording paper is counted and stored in the counted number of pixels and the consumption amount storage means. The cumulative toner or ink consumption amount being stored is added to update the cumulative toner or ink consumption value in the consumption amount storage means, and the consumed toner or ink consumption amount up to that point is stored in the consumption amount storage means. Since it is stored, it is possible to accurately obtain the amount of toner or ink consumed actually.

【0029】また、消費量記憶手段に記憶した累積のト
ナー又はインクの消費量とあらかじめ搭載されているト
ナー又はインクの質量から、トナー又はインクの残量を
算出することにより、トナー又はインクの残量を常に正
確に検知することができ、プリンタ装置の機能を向上す
ることができる。
In addition, the remaining amount of toner or ink is calculated from the cumulative amount of consumption of toner or ink stored in the consumption amount storage means and the mass of the toner or ink that is installed in advance, and the remaining amount of toner or ink is calculated. The amount can always be detected accurately, and the function of the printer device can be improved.

【0030】さらに、印刷する画像データのうち記録紙
に実際に印刷するトナー又はインクを載せる画素数を、
印刷する記録紙よりも小さい領域のブロックに区切っ
て、各ブロック毎に画素数を計数することにより、1ペ
ージのフルビット分の画素数のカウンタを設けなくても
トナーの消費量を算出することができ、小さなハードウ
ェア構成にて画素の計数を行いコストの低減を図ること
ができる。
Further, among the image data to be printed, the number of pixels on which toner or ink to be actually printed is placed on the recording paper is
Toner consumption can be calculated without dividing the pixel count for each page into full-bit pixel counts by dividing each block into blocks of a smaller area than the recording paper to be printed. Therefore, the cost can be reduced by counting pixels with a small hardware configuration.

【0031】また、画素数を計数するブロックの単位
を、印刷する記録紙の副走査方向のバンドにて構成する
ことにより、ホスト装置やプリンタコントローラにて管
理している単位と同様に管理することができ、ソフトウ
ェアは画像データのメモリ管理やアドレス管理を新たに
行う必要がなくなり、ソフトウェア処理を低減し、処理
を高速化し、システムのパフォーマンスを向上させるこ
とができる。
Further, by configuring the unit of the block for counting the number of pixels by the band of the recording paper to be printed in the sub-scanning direction, the unit can be managed in the same manner as the unit managed by the host device or the printer controller. Therefore, the software does not need to newly manage the memory and address of the image data, the software processing can be reduced, the processing speed can be increased, and the system performance can be improved.

【0032】さらに、画素計数手段に、バンド単位で画
素数を記憶させる記憶手段を有することにより、小さな
ハードウェア構成にて画素の計数を行うことができる。
Further, since the pixel counting means has a storage means for storing the number of pixels in band units, it is possible to count pixels with a small hardware configuration.

【0033】このプリンタコントローラをレーザプリン
タやインクジェットプリンタ等のプリンタ装置に使用す
ることにより、トナー又はインクの残量を常に正確に検
知することができ、プリンタ装置の機能を向上すること
ができる。
By using this printer controller in a printer device such as a laser printer or an inkjet printer, the remaining amount of toner or ink can always be detected accurately and the function of the printer device can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明のプリンタ装置の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of a printer device according to the present invention.

【図2】プリンタエンジンの構成図である。FIG. 2 is a configuration diagram of a printer engine.

【図3】画素数の計数処理を示す説明図である。FIG. 3 is an explanatory diagram showing a pixel number counting process.

【図4】他のプリンタ装置の構成図である。FIG. 4 is a configuration diagram of another printer device.

【図5】従来例の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a conventional example.

【符号の説明】[Explanation of symbols]

1;ホスト装置、2;プリンタ装置、3;プリンタエン
ジン、4;プリンタコントローラ、5;操作パネル、2
2;ホストインタフェース、23;CPU、24;RO
M、25;RAM、26;ビデオDMAコントローラ、
27;画素計数部、28;トナー消費量記憶部、29;
トナー残量演算部、30;エンジンインタフェース、3
1;パネルインタフェース。
1; host device, 2; printer device, 3; printer engine, 4; printer controller, 5; operation panel, 2
2; host interface, 23; CPU, 24; RO
M, 25; RAM, 26; Video DMA controller,
27; pixel counting unit, 28; toner consumption amount storage unit, 29;
Toner level calculator, 30; engine interface, 3
1; Panel interface.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C056 EA24 EA29 EB49 EB58 EB59 EC26 2H027 DA32 DA43 DD02 DE04 DE07 EB04 ED06 ED10 EE01 EE08 EF09 EK03 EK09 GA30 GA54 GB03 GB09 HB02 HB13 HB17 ZA07    ─────────────────────────────────────────────────── ─── Continued front page    F term (reference) 2C056 EA24 EA29 EB49 EB58 EB59                       EC26                 2H027 DA32 DA43 DD02 DE04 DE07                       EB04 ED06 ED10 EE01 EE08                       EF09 EK03 EK09 GA30 GA54                       GB03 GB09 HB02 HB13 HB17                       ZA07

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画素計数手段と消費量記憶手段と処理手
段及び残量演算手段とを有し、 画素計数手段は、印刷する画像データのうち記録紙に実
際に印刷するトナー又はインクを載せる画素数を計数
し、消費量記憶手段は、以前に印刷した画像データの累
積のトナー又はインクの消費量を記憶し、処理手段は、
画素計数手段で計数した画素数と消費量記憶手段に記憶
されている累積のトナー又はインクの消費量とを加算し
て消費量記憶手段の累積のトナー又はインク消費量の値
を更新させ、残量検出手段は、消費量記憶手段に記憶し
た累積のトナー又はインクの消費量とあらかじめ搭載さ
れているトナー又はインクの質量からトナー又はインク
の残量を算出することを特徴とするプリンタコントロー
ラ。
1. A pixel counting unit, a consumption amount storing unit, a processing unit, and a remaining amount calculating unit, wherein the pixel counting unit is a pixel in the image data to be printed on which a toner or an ink to be actually printed is placed on a recording paper. Counting the number, the consumption storage means stores the cumulative toner or ink consumption of the previously printed image data, and the processing means
The number of pixels counted by the pixel counting unit and the cumulative toner or ink consumption amount stored in the consumption amount storage unit are added to update the value of the cumulative toner or ink consumption amount in the consumption amount storage unit, and the remaining A printer controller characterized in that the amount detecting means calculates the remaining amount of toner or ink from the cumulative consumption amount of toner or ink stored in the consumption amount storage means and the mass of the toner or ink that is installed in advance.
【請求項2】 上記画素計数手段は、印刷する画像デー
タのうち記録紙に実際に印刷するトナー又はインクを載
せる画素数を、印刷する記録紙よりも小さい領域のブロ
ックに区切って、各ブロック毎に画素数を計数する請求
項1記載のプリンタコントローラ。
2. The pixel counting means divides, for each block, the number of pixels of the image data to be printed, on which the toner or ink to be actually printed on the recording paper is placed, into blocks of an area smaller than the recording paper to be printed. The printer controller according to claim 1, wherein the number of pixels is counted.
【請求項3】 上記ブロックの単位は、印刷する記録紙
の副走査方向のバンドにて構成した請求項2記載のプリ
ンタコントローラ。
3. The printer controller according to claim 2, wherein the block unit is a band in the sub-scanning direction of the recording paper to be printed.
【請求項4】 上記画素計数手段に、バンド単位で画素
数を記憶させる記憶手段を有する請求項3記載のプリン
タコントローラ。
4. The printer controller according to claim 3, wherein said pixel counting means has a storage means for storing the number of pixels in band units.
【請求項5】 請求項1乃至4のいずれかに記載のプリ
ンタコントローラを有することを特徴とするプリンタ装
置。
5. A printer device comprising the printer controller according to claim 1. Description:
JP2001306088A 2001-10-02 2001-10-02 Printer controller and printer device Pending JP2003107970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001306088A JP2003107970A (en) 2001-10-02 2001-10-02 Printer controller and printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001306088A JP2003107970A (en) 2001-10-02 2001-10-02 Printer controller and printer device

Publications (1)

Publication Number Publication Date
JP2003107970A true JP2003107970A (en) 2003-04-11

Family

ID=19125780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001306088A Pending JP2003107970A (en) 2001-10-02 2001-10-02 Printer controller and printer device

Country Status (1)

Country Link
JP (1) JP2003107970A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7618115B2 (en) 2005-06-06 2009-11-17 Ricoh Company, Ltd. Image forming apparatus
JP2010286663A (en) * 2009-06-11 2010-12-24 Ricoh Co Ltd Image forming apparatus, method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7618115B2 (en) 2005-06-06 2009-11-17 Ricoh Company, Ltd. Image forming apparatus
JP2010286663A (en) * 2009-06-11 2010-12-24 Ricoh Co Ltd Image forming apparatus, method and program

Similar Documents

Publication Publication Date Title
US6891640B2 (en) Apparatus and method for reusing printed media for printing information
US20030161002A1 (en) Image formation apparatus and method, charge counting device, charging method, and computer products
JP2006251102A (en) Image forming apparatus
US20080013968A1 (en) Image forming apparatus and control method for image forming apparatus
CN101900985B (en) Image forming apparatus and image forming system
JP2002178567A (en) Printer controller and printer
JP2003107970A (en) Printer controller and printer device
US7865093B2 (en) Printing device, printing method and printing system
US8854646B2 (en) Printing device and control method of printing device
JP2004177884A (en) Apparatus, method, and system for image processing
JP2003011472A (en) Print controller and its data processing method and storage medium storing computer readable program
JP4923899B2 (en) Printer driver program
JP2003226063A (en) Printer controller
JP3335062B2 (en) Print control device and print control method
JP4512373B2 (en) Image forming apparatus, image forming system, computer program, and recording medium
JP2004004403A (en) Printer and print control method
JP2018138975A (en) Image forming apparatus and control method
JP4219218B2 (en) Recording system, printer driver, and recording apparatus
JP2023180069A (en) Printing job processing device, printing job processing method, image formation apparatus and program
JP2004086055A (en) Color printer and method for controlling same
JP2022044443A (en) Printer and control method
JP2000168202A (en) Printing system and acquiring method for printable number of sheets
JP2019200298A (en) Image forming apparatus
JP2965342B2 (en) Color image processing system
JP2001322326A (en) Imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040607

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061218

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070717