JP4499491B2 - Image forming apparatus and printed sheet counting method - Google Patents

Image forming apparatus and printed sheet counting method Download PDF

Info

Publication number
JP4499491B2
JP4499491B2 JP2004182994A JP2004182994A JP4499491B2 JP 4499491 B2 JP4499491 B2 JP 4499491B2 JP 2004182994 A JP2004182994 A JP 2004182994A JP 2004182994 A JP2004182994 A JP 2004182994A JP 4499491 B2 JP4499491 B2 JP 4499491B2
Authority
JP
Japan
Prior art keywords
counter
image forming
forming apparatus
sub
print
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.)
Expired - Fee Related
Application number
JP2004182994A
Other languages
Japanese (ja)
Other versions
JP2006001254A (en
Inventor
泰治 萩田
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 JP2004182994A priority Critical patent/JP4499491B2/en
Publication of JP2006001254A publication Critical patent/JP2006001254A/en
Application granted granted Critical
Publication of JP4499491B2 publication Critical patent/JP4499491B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、画像形成装置に関し、特に印刷枚数等のカウンタを備えた画像形成装置に関する。   The present invention relates to an image forming apparatus, and more particularly to an image forming apparatus provided with a counter for the number of printed sheets.

プリンタや複写機、複合機などの印刷枚数カウンタは、機器の保守費用や使用料金を算出するために利用される重要な情報である。また、最近では画像形成装置も多機能となり、カラー/モノクロ、プリント/コピー/FAX、用紙サイズ等の種類毎に詳細に計数されるようになっている。一般には、このカウンタ情報は、装置の故障等で保持しているデータが消滅しないように不揮発性メモリ(NVRAM、EEPROM、FRAM、バッテリーバックアップされたSDRAM等)に格納される。また、ミスフィードやジャム(紙づまり)等のアクシデントが発生した時でも正しく枚数がカウントされるように、カウントの方法が工夫されている(例えば、特許文献1、特許文献2参照)。
特開2000−20277公報 特開2000−194239公報
A printed sheet counter of a printer, a copier, a multifunction machine, or the like is important information used for calculating the maintenance cost and usage fee of the device. Recently, image forming apparatuses have also become multifunctional, and are counted in detail for each type of color / monochrome, print / copy / fax, paper size, and the like. Generally, this counter information is stored in a non-volatile memory (NVRAM, EEPROM, FRAM, battery-backed SDRAM, etc.) so that data retained due to a device failure or the like is not lost. Further, a counting method has been devised so that the number of sheets is correctly counted even when an accident such as misfeed or jam (paper jam) occurs (see, for example, Patent Document 1 and Patent Document 2).
JP 2000-20277 A JP 2000-194239 A

しかし、前述の不揮発性メモリは高価であるため、低速でも安価な容量の大きいメモリ(例えばICカード、SDカード、ハードディスクなど)にカウンタ情報を格納できれば画像形成装置のコストを低減することができる。しかし、カウンタ情報を低速メモリに格納する方法として、1枚印刷する毎にカウントアップを行う方式では、システムのパフォーマンスが低下するという問題がある。特に、低速デバイスへのデータ書き込み時にデバイスへの書き込みエラーが発生した場合には、書き込みリトライが発生し、システムのパフォーマンスが著しく低下する可能性があるため製品への実装上問題となる。この対策として、複数枚数の印刷結果を一旦RAMに格納し、後でまとめてカウンタに反映する方式が考えられているが、印刷実行中に電源断された場合にカウンタ値が正確にカウントされないという問題がある。
本発明は、上述した実情を考慮してなされたものであって、安価で低速大容量の不揮発メモリの速度的な制約を解消し、カウンタの信頼性を保持した画像形成装置を提供することを目的とする。
なお、本明細書において「ICカード」とは、PCMCIA規格準拠のPCカード、SDカード、マルチメディアカード、メモリースティック(登録商標)、コンパクトフラッシュ(登録商標)等のカード全般を指す。一般的な、ICチップを内蔵したプラスチックカードではない。
However, since the above-mentioned nonvolatile memory is expensive, the cost of the image forming apparatus can be reduced if the counter information can be stored in a large-capacity memory (for example, an IC card, an SD card, a hard disk, etc.) even at a low speed. However, as a method for storing the counter information in the low-speed memory, the system that counts up each time one sheet is printed has a problem that the system performance decreases. In particular, when a data write error occurs when writing data to a low-speed device, a write retry occurs and the system performance may be significantly reduced, which is a problem in mounting on a product. As a countermeasure, a method of temporarily storing a plurality of print results in the RAM and collectively reflecting them in the counter later is considered. However, the counter value is not accurately counted when the power is turned off during printing. There's a problem.
The present invention has been made in consideration of the above-described circumstances, and provides an image forming apparatus that eliminates the speed limitation of an inexpensive, low-speed, large-capacity nonvolatile memory and maintains the reliability of the counter. Objective.
In this specification, “IC card” refers to all cards such as PC cards, SD cards, multimedia cards, Memory Stick (registered trademark), and CompactFlash (registered trademark) that comply with the PCMCIA standard. It is not a general plastic card with a built-in IC chip.

上記の課題を解決するために、請求項1に記載の発明は、印刷枚数を計数する計数手段
を有する画像形成装置において、前記計数手段は、印刷ジョブの終了を判断するための数値を保存する参照レジスタと、それぞれ不揮発性メモリに設けた、印刷ジョブ処理中に1枚出力する毎にインクリメントされるサブカウンタ前記参照レジスタとサブカウンタとを参照して印刷ジョブの終了が判断されると印刷完了を示す印刷完了表示手段、および画像形成装置の累積印刷枚数を保持するメインカウンタを備え印刷ジョブ終了時と、電源投入時で前記印刷完了表示手段が終了を示していない時は、前記メインカウンタにサブカウンタの値を加算して印刷枚数を計数するようにしたことを特徴とする。
こうすることにより、印刷ジョブの途中で電源を切らなければならなくなっても、電源
再投入時には未計数の枚数があることが印刷完了表示手段でわかり、かつサブカウンタに
未加算の枚数が保存されている。
また、請求項2は、請求項1記載の画像形成装置において、前記メインカウンタと印刷
完了表示手段はサブカウンタよりも低速の不揮発性メモリで構成したことを特徴とする。
こうすることにより、アクセス回数が少ないメインカウンタと印刷完了表示手段を低速
の不揮発性メモリで構成でき、コストを下げることができる。
また、請求項3は、請求項1記載の画像形成装置において、前記サブカウンタと参照レ
ジスタをASIC中に構成したことを特徴とする。
こうすることにより、装置の小型化と低コスト化が実現できる。
In order to solve the above-described problems, according to the first aspect of the present invention, in the image forming apparatus having a counting unit for counting the number of printed sheets, the counting unit stores a numerical value for determining the end of the print job. a reference register, respectively provided in the nonvolatile memory, the sub-counter that is incremented each time the output one during a print job processing, the reference register and a reference to the end of the print job and a sub counter is judged printed printing completion display means for indicating the completion, and includes a main counter for holding the cumulative number of printed sheets in the image forming apparatus, and when a print job ends, when the printing completion display means does not indicate ends when the power is turned on, the The number of printed sheets is counted by adding the value of the sub-counter to the main counter.
By doing this, even if it is necessary to turn off the power during the print job, the print completion display means that the number of uncounted pages is found when the power is turned on again, and the uncounted number is stored in the sub-counter. ing.
According to a second aspect of the present invention, in the image forming apparatus according to the first aspect, the main counter and the print completion display unit are constituted by a non-volatile memory that is slower than the sub-counter.
By doing so, the main counter and the print completion display means with a small number of accesses can be configured with a low-speed nonvolatile memory, and the cost can be reduced.
According to a third aspect of the present invention, in the image forming apparatus according to the first aspect, the sub-counter and the reference register are configured in an ASIC.
By doing so, it is possible to reduce the size and cost of the apparatus.

また、請求項4は、請求項1乃至のいずれか一項に記載の画像形成装置において、前記メインカウンタと印刷完了表示手段は画像形成装置の動作、カラー/モノクロの別あるいは出力用紙の種類に対応付けて計数することを特徴とする。
こうすることにより、詳細な計数が行える。
また、請求項5は、請求項1乃至のいずれか一項に記載の画像形成装置において、前記メインカウンタと印刷完了表示手段は着脱可能な不揮発メモリで構成したことを特徴とする。
こうすることにより、所望のグループ単位での出力量が計数できる。また、市販のICカード、フラッシュメモリ等の利用が可能となりコストを下げることができる。
また、請求項6は、請求項1乃至のいずれか一項に記載の画像形成装置において、前記サブカウンタと参照レジスタを画像形成装置の同時に機能するジョブの数だけ設け、それぞれのジョブに対応付けて計数することを特徴とする。
こうすることにより、複数のジョブが同時に処理されても、メインカウンタの数と同数のサブカウンタをジョブの数だけ持つ必要がなくコストを下げることができる。
また、請求項7は、画像形成装置における印刷枚数計数方法であって、印刷ジョブ開始時に印刷枚数を参照レジスタにセットし、不揮発性メモリに設けた印刷完了フラグに未完を示す値をセットし、1枚出力するごとに、不揮発性メモリに設けたサブカウンタをインクリメントし、サブカウンタの値が参照レジスタの値と等しくなったら前記サブカウンタの値を、前記画像形成装置の累積印刷枚数を保持する、不揮発性メモリに設けたメインカウンタに加算し、前記印刷完了フラグに完了を示す値をセットすると同時にサブカウンタをゼロにセットし、また、前記画像形成装置の電源投入時に前記印刷完了フラグを参照し、未完を示す値が設定されている場合は前記サブカウンタの値を前記メインカウンタに加算して未計数枚数を加算することを特徴とする。
Furthermore, claim 4 is the image forming apparatus according to any one of claims 1 to 3, wherein the main counter and the printing completion display means operation of the image forming apparatus, the type of separate or output paper color / monochrome It is characterized by counting in association with.
In this way, detailed counting can be performed.
Further, a fifth aspect is the image forming apparatus according to any one of claims 1 to 4, wherein the main counter and the printing completion display means is characterized by being configured in a removable non-volatile memory.
By doing so, the output amount in a desired group unit can be counted. Further, a commercially available IC card, flash memory, etc. can be used, and the cost can be reduced.
Further, according to claim 6, in the image forming apparatus according to any one of claims 1 to 5, provided the number of jobs simultaneously function of the image forming apparatus the sub-counter and the reference register, for each of the job It is characterized by adding and counting.
In this way, even when a plurality of jobs are processed simultaneously, it is not necessary to have the same number of sub-counters as the number of main counters, and the cost can be reduced.
According to a seventh aspect of the present invention, there is provided a method for counting the number of printed sheets in an image forming apparatus, wherein the number of printed sheets is set in a reference register at the start of a print job, a value indicating incomplete is set in a print completion flag provided in a nonvolatile memory, Each time one sheet is output, the sub-counter provided in the non-volatile memory is incremented, and when the value of the sub-counter becomes equal to the value of the reference register, the value of the sub-counter is held as the cumulative number of printed sheets of the image forming apparatus. In addition, the value is added to the main counter provided in the non-volatile memory, the value indicating completion is set in the print completion flag, and the sub-counter is set to zero, and the print completion flag is referred to when the image forming apparatus is turned on. If a value indicating incomplete is set, the value of the sub-counter is added to the main counter to add the uncounted number of sheets. The features.

本発明によれば、カウンタの不揮発性メモリをアクセス回数が多いメモリと少ないメモリとに分けることができ、アクセス回数が少ないメモリを低速の不揮発性メモリで構成でき、コストを下げることができる。   According to the present invention, the non-volatile memory of the counter can be divided into a memory with a large number of accesses and a memory with a small number of accesses.

以下、図面を参照して、本発明の実施形態を詳細に説明する。
図1は、本発明の画像形成装置のシステム構成例を示す図である。本実施例では、同一バスで各デバイスが接続されているが、ASIC(特定用途向けIC)から個別のバスで制御されるデバイスがあっても良い。
プリンタコントローラ100は、ホストPC112からの印刷要求を処理し、エンジン111に対して印刷指示を行う部分で、プリンタ、複合機、複写機等に内蔵される。CPU101はASIC102あるいはROM104に記録されているプログラムを実行してプリンタコントローラ100の機能を実現するものである。ASIC102は各種インタフェースの制御を行うようにプログラムされている。ICカードI/F103は、ICカード110の外部記憶用カードコネクタを備えたインタフェースで、外部記憶用カードには、PCカード、SDカード、コンパクトフラッシュ(登録商標)などがある。RAM105は、CPU101が実行時に処理の結果を一時保持するメモリである。
エンジンI/F108は、画像出力用エンジン111とのバス変換用のインタフェースで、実際に紙に画像出力を行うエンジン111の動作に同期して画像データを送り出す役割を果たす。ネットワークI/F109は、プリントジョブなどを投入するホストPC112との通信を行うためのインタフェースを供給するもので、IEEE802.3等の有線のLANやIEEE802.11等の無線のLANに対応している。操作部I/F107は操作部(オペレーションパネル)と情報のやり取りを行うインタフェースである。拡張コネクタ106は、DIMM(Dual Inline Memory Module)装着用コネクタである。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram illustrating a system configuration example of an image forming apparatus according to the present invention. In this embodiment, each device is connected by the same bus, but there may be a device controlled by an ASIC (application specific IC) by an individual bus.
The printer controller 100 is a part that processes a print request from the host PC 112 and issues a print instruction to the engine 111, and is built in a printer, a multifunction peripheral, a copier, or the like. The CPU 101 executes a program recorded in the ASIC 102 or the ROM 104 to realize the function of the printer controller 100. The ASIC 102 is programmed to control various interfaces. The IC card I / F 103 is an interface provided with an external storage card connector of the IC card 110. Examples of the external storage card include a PC card, an SD card, and a compact flash (registered trademark). A RAM 105 is a memory that temporarily stores a processing result when the CPU 101 executes the program.
The engine I / F 108 is an interface for bus conversion with the image output engine 111 and plays a role of sending image data in synchronization with the operation of the engine 111 that actually outputs an image on paper. The network I / F 109 supplies an interface for performing communication with the host PC 112 that inputs a print job or the like, and is compatible with a wired LAN such as IEEE802.3 or a wireless LAN such as IEEE802.11. . An operation unit I / F 107 is an interface for exchanging information with an operation unit (operation panel). The expansion connector 106 is a DIMM (Dual Inline Memory Module) mounting connector.

図2は、本発明のカウンタの構成を説明する図である。本実施例では、高速小容量メモリはASIC内蔵の不揮発性メモリとし、低速大容量メモリは外部ICカードとした例である。ASIC102には不揮発性メモリ領域を備え、「サブカウンタ201」と「参照レジスタ202」領域を持つ。ICカード110は「メインカウンタ#1〜#N」と「印刷完了フラグ#1〜#N」の領域を備えている。各カウンタおよび参照レジスタはソフトウェアで制御する。
メインカウンタ203は、装置の総印刷枚数を保存するカウンタであり、印刷ジョブ毎に印刷枚数を加算する。データ長は数バイト(例えば、1年で3万枚ぐらい使用されるなら2バイト)で構成し、100万回以上のカウントが可能である。カウント可能回数がデバイスの書き換え可能回数を超える場合は、カウント値により書き込みアドレスを変更するなどの処置が必要であるが、本発明の本質ではないので詳細な説明は省略する。例えば、10頁のファイルをプリント出力する場合、全部の印刷が終了した時点で10度数インクリメントされる。
サブカウンタ201は、印刷ジョブ毎の印刷枚数を保存するカウンタであり、印刷ジョブ実行中は1枚出力される毎にカウントアップし、印刷ジョブ毎にリセットされる。データ長は数ビットで構成し、例えば8ビットで構成した場合は、1つの印刷ジョブで255枚までカウントが可能である。例えば、10頁のファイルをプリント出力する場合は、1、2、3、4、…、10と1づつインクリメントされる。
FIG. 2 is a diagram for explaining the configuration of the counter of the present invention. In this embodiment, the high-speed and small-capacity memory is an ASIC built-in nonvolatile memory, and the low-speed and large-capacity memory is an external IC card. The ASIC 102 has a non-volatile memory area, and has a “sub-counter 201” and a “reference register 202” area. The IC card 110 includes areas of “main counters # 1 to #N” and “print completion flags # 1 to #N”. Each counter and reference register are controlled by software.
The main counter 203 is a counter that stores the total number of printed sheets of the apparatus, and adds the number of printed sheets for each print job. The data length is composed of several bytes (for example, 2 bytes if about 30,000 are used in one year), and can be counted more than 1 million times. When the countable number exceeds the device rewritable number, it is necessary to take a measure such as changing the write address according to the count value. However, since it is not the essence of the present invention, the detailed description is omitted. For example, when a 10-page file is printed out, it is incremented by 10 times when all printing is completed.
The sub-counter 201 is a counter that stores the number of printed sheets for each print job. When a print job is being executed, the sub-counter 201 counts up each time one sheet is output and is reset for each print job. The data length is composed of several bits. For example, when composed of 8 bits, it is possible to count up to 255 sheets in one print job. For example, when a 10-page file is printed out, it is incremented by 1, 2, 3, 4,.

参照レジスタ202は、印刷ジョブ毎に印刷予定枚数を保存するレジスタである。印刷開始前にセットされ、印刷ジョブ毎にリセットされる。データ長は数ビットで構成される。サブカウンタと同じビット数が必要である。参照レジスタは、印刷中の電源断でクリアされても良いのでRAMに保存してもよい。例えば、10頁のファイルをプリント出力する場合は、印刷開始前に10d(0x0A)をセットする。印刷予定枚数は印刷ジョブのPDL(Page Description Language)を解析することにより、印刷する前に印刷予定枚数を得ることができる。
印刷完了フラグ(印刷完了表示手段)204は、初期値を1として、印刷開始時に0にクリアされ、印刷終了後に1にセットされる。データ長は1ビットで構成される。メインカウンタ203の最下位ビット、または最上位ビットを本フラグに割り当てることにより、メインカウンタ203の書き換えと同時にフラグをセットすることができる。例えば、10頁のファイルをプリント出力する場合、印刷開始前に0にクリアし、10頁印刷終了後に1にセットする。
メインカウンタ203と対応する印刷完了フラグ204を複数(N)個用意しているのは、モノクロ/カラー(色)、プリンタ/コピー(機能)、A4/A3(用紙)など印刷方法によって印刷枚数を別カウンタで保存する場合を想定しているからである。カウンタの割り当ては、例えば次のようになる。
(例)
・メインカウンタ#1、印字完了フラグ#1 :モノクロプリント出力
・メインカウンタ#2、印字完了フラグ#2 :カラープリント出力
・メインカウンタ#3、印字完了フラグ#3 :モノクロコピー出力
・メインカウンタ#4、印字完了フラグ#4 :カラーコピー出力
The reference register 202 is a register that stores the scheduled number of prints for each print job. It is set before printing starts and is reset for each print job. The data length consists of several bits. The same number of bits as the sub-counter is required. Since the reference register may be cleared when the power is turned off during printing, it may be stored in the RAM. For example, when a 10-page file is printed out, 10d (0x0A) is set before printing is started. The planned print number can be obtained before printing by analyzing the PDL (Page Description Language) of the print job.
The print completion flag (print completion display means) 204 is set to 1 at the start of printing, with an initial value of 1, and is set to 1 after the end of printing. The data length is composed of 1 bit. By assigning the least significant bit or the most significant bit of the main counter 203 to this flag, the flag can be set simultaneously with the rewriting of the main counter 203. For example, when a 10-page file is printed out, it is cleared to 0 before starting printing and set to 1 after printing 10 pages.
A plurality (N) of print completion flags 204 corresponding to the main counter 203 are prepared because the number of printed sheets is determined by a printing method such as monochrome / color (color), printer / copy (function), A4 / A3 (paper), etc. This is because it is assumed that the data is stored in another counter. For example, the counter is assigned as follows.
(Example)
Main counter # 1, print completion flag # 1: Monochrome print output Main counter # 2, print completion flag # 2: Color print output Main counter # 3, print completion flag # 3: Monochrome copy output Main counter # 4 , Print completion flag # 4: Color copy output

次に、以上のように構成したカウンタの動作を説明する。図3は、本発明の画像形成装置でのカウンタ処理を示すフローチャートである。
電源投入がされたら、印刷完了フラグ204を読み出す(ステップ302)。印刷完了フラグ204が複数ある場合は全て読み出す。0にクリアされた印刷完了フラグ204を発見したら(ステップ302でYES(=0))、0にクリアされた印刷完了フラグ204に対応したメインカウンタ203に、現在のサブカウンタ201の値を加算する。同時に、その印刷完了フラグ204を1にセットする(ステップ303)。ここで、メインカウンタ203が実装されるデバイスが故障している場合や、メインカウンタ203が実装されるデバイスが着脱可能デバイスであり、装着されていない場合には、本ステップで留まり、エラーで停止する(図示せず)。全ての印刷完了フラグ204が1にセットされている場合は(ステップ302でNO(=1))、ステップ304の処理を行う。ステップ304では、参照レジスタ202とサブカウンタ201を全ビット0に初期化する。参照レジスタ202がRAMに格納されている場合は、参照レジスタ202は電源断で初期化されるので、本ステップでの初期化は不要である。
Next, the operation of the counter configured as described above will be described. FIG. 3 is a flowchart showing the counter processing in the image forming apparatus of the present invention.
When the power is turned on, the print completion flag 204 is read (step 302). If there are a plurality of print completion flags 204, all are read. When the print completion flag 204 cleared to 0 is found (YES in step 302 (= 0)), the current value of the sub-counter 201 is added to the main counter 203 corresponding to the print completion flag 204 cleared to 0. . At the same time, the print completion flag 204 is set to 1 (step 303). If the device on which the main counter 203 is mounted is faulty, or if the device on which the main counter 203 is mounted is a detachable device and is not mounted, it stays at this step and stops with an error (Not shown). If all the print completion flags 204 are set to 1 (NO in step 302 (= 1)), the process of step 304 is performed. In step 304, the reference register 202 and the subcounter 201 are initialized to all 0 bits. When the reference register 202 is stored in the RAM, the reference register 202 is initialized when the power is turned off, so that initialization in this step is not necessary.

次に、印刷要求が有るかを確認する(ステップ305)。印刷要求とは、ホストPC112からネットワーク経由でプリント出力要求や、操作部経由のコピー出力要求などである。印刷要求がない場合は繰り返し印刷要求が有るかを確認する。印刷要求を検出したら、要求された印刷予定枚数を参照レジスタ202にセットする(ステップ306)。そして、印刷要求に対応した印刷完了フラグ204を0にクリアする(ステップ307)。次に、エンジン111へ印刷の指示を開始する(ステップ308)。印刷指示とは、画像バス上で印刷コマンドを送受信しながら画像データを送信する一連の処理を指す。以降の処理中も印刷予定の全頁を印刷し終わるまで印刷指示を繰り返す。なお、エンジンによる画像形成は、プリンタコントローラ100とは並列に行われ、エンジン関係では給紙、搬送、定着、排紙等が行われる。
ここからは、1枚ごとの印刷完了を確認するステップである。印刷完了の確認方法は特に限定しないが、例えば、排紙検知センサで排紙完了を検出した時を印刷完了とする方法がある。1枚ごとの印刷完了を検出したら(ステップ309)、サブカウンタ201をインクリメント(1加算)し(ステップ310)、印刷ジョブ終了をチェックするためにサブカウンタ201の値と予めセットした参照レジスタ202の値とを比較する(ステップ311)。一致した場合、すなわち、印刷予定枚数を全て印刷完了した場合は(ステップ311がYES)、印刷要求に応じたメインカウンタ203に現在のサブカウンタ201の値を加算し(ステップ312)、同時に、その印刷完了フラグ204を1にセットして、ステップ304からの処理を繰り返す。一致しなかった場合(ステップ311がNO)、ステップ309へ戻り印刷完了の確認を行う。
なお、ステップ309で1枚ごとの印刷完了を検出しなかった場合は、ペーパージャム検知やタイマ満了などにより1枚ごとの印刷が完了する前にエラーを検出した場合であり、ステップ302のパワーオンしたときからの処理に戻り、エラーが発生していない場合は、ステップ309へ戻り印刷完了の確認を行う。なお、上記処理は、印刷中に電源をオフされた場合にも、カウンタ値を復帰可能なカウンタ制御方法である。
Next, it is confirmed whether there is a print request (step 305). The print request is a print output request from the host PC 112 via the network, a copy output request via the operation unit, or the like. If there is no print request, it is confirmed whether there are repeated print requests. If a print request is detected, the requested number of prints is set in the reference register 202 (step 306). Then, the print completion flag 204 corresponding to the print request is cleared to 0 (step 307). Next, a printing instruction is started to the engine 111 (step 308). The print instruction refers to a series of processes for transmitting image data while transmitting / receiving a print command on the image bus. During the subsequent processing, the printing instruction is repeated until all the pages scheduled to be printed are printed. Note that image formation by the engine is performed in parallel with the printer controller 100, and paper feed, conveyance, fixing, paper discharge, and the like are performed in relation to the engine.
From here, it is a step of confirming the completion of printing for each sheet. The method for confirming the completion of printing is not particularly limited. For example, there is a method in which printing is completed when discharge completion is detected by a discharge detection sensor. When the completion of printing for each sheet is detected (step 309), the sub-counter 201 is incremented (added by 1) (step 310), and the value of the sub-counter 201 and the preset reference register 202 are checked to check the end of the print job. The value is compared (step 311). If they match, that is, if all the scheduled print sheets have been printed (step 311 is YES), the value of the current sub-counter 201 is added to the main counter 203 according to the print request (step 312), and at the same time, The print completion flag 204 is set to 1 and the processing from step 304 is repeated. If they do not match (NO in step 311), the process returns to step 309 to confirm the completion of printing.
If the completion of printing for each sheet is not detected in step 309, an error is detected before the completion of printing for each sheet due to paper jam detection or the expiration of the timer. Returning to the process from the time when the error occurred, if no error has occurred, the process returns to step 309 to confirm the completion of printing. The above process is a counter control method that can restore the counter value even when the power is turned off during printing.

図4は、印刷中に電源をオフされた場合の処理の例を示す図である。図中、CPU101、エンジン111、ASIC102、ICカード110は、図1に示したものと同一のものである。
「パワーオン」は、システムの電源が投入されたタイミングであり、電源投入時のメインカウンタ203は、例えば、「0x1000」(16進数)、印刷完了フラグ204は全て“1”である。
CPU101は、印刷完了フラグ204#1〜#Nを読み出す。ここでは、印刷完了フラグ204は全て“1”とし、電源断により印刷ジョブが中断されていない(メインカウンタ#1〜#Nが全て正しい値である)とする。次にCPU101は、参照レジスタ202とサブカウンタ201とをともに“0”に初期化する。ここでは、参照レジスタ202は、ASIC102内の高速不揮発性メモリ領域にあるが、RAM105領域にあってもよい。
ホストPC112からの印刷要求(例えば、10頁のファイルを10枚モノクロ印刷する指示)があったので、CPU101は参照レジスタ202に“10”を書き込む。参照レジスタ202は0xA(10進数の“10”は16進数で“A”)となる。次に、モノクロプリント用の印刷完了フラグ204(ここでは#1)をクリアする。印刷完了フラグ204の#1は“0”となる。
FIG. 4 is a diagram illustrating an example of processing when the power is turned off during printing. In the figure, a CPU 101, an engine 111, an ASIC 102, and an IC card 110 are the same as those shown in FIG.
“Power-on” is the timing when the system power is turned on. For example, the main counter 203 at the time of power-on is “0x1000” (hexadecimal), and the print completion flags 204 are all “1”.
The CPU 101 reads the print completion flags 204 # 1 to #N. Here, it is assumed that the print completion flags 204 are all “1”, and the print job is not interrupted due to power interruption (the main counters # 1 to #N are all correct values). Next, the CPU 101 initializes both the reference register 202 and the sub-counter 201 to “0”. Here, the reference register 202 is in the high-speed nonvolatile memory area in the ASIC 102, but may be in the RAM 105 area.
Since there has been a print request from the host PC 112 (for example, an instruction to print 10 pages of files in monochrome), the CPU 101 writes “10” in the reference register 202. The reference register 202 becomes 0xA (decimal number “10” is hexadecimal number “A”). Next, the print completion flag 204 (# 1 in this case) for monochrome printing is cleared. # 1 of the print completion flag 204 is “0”.

以上の準備を終えた後、CPU101はエンジン111に対して印刷指示を行う。実際には、書き込みコマンドと画像データの転送が行われる。1枚印刷が完了する毎に、エンジン111の排紙センサから完了の通知を受けると、1枚印刷完了毎にサブカウンタ201の値をインクリメントする。印刷の完了は、排紙完了以外にも転写完了など、他のセンシング、タイミングであってもよい。同様に2枚目、3枚目と印刷が完了し、サブカウンタ201を0X3と書き換えた後に電源が遮断されたとする(図中パワーオフ)。
次に電源が投入された時(図中2回目のパワーオン)、CPU101は前述のように印刷完了フラグ204を全て読み出す。印刷完了フラグ#1が“0”であることを検出する。印刷完了フラグはN個あるが、一般には何れか唯一つの印刷完了フラグのみ“0”になる制御なので、#1、#2、…、#Nと順に印刷完了フラグ204を読み出して、クリアされた(“0”の)印刷完了フラグを確認した時点、あるいは全部の印刷完了フラグが“1”であることを確認した時点で読み出しを終了してよい。例外として、複数機能が同時に稼動して、印刷完了フラグが複数ビット存在する場合は、N個全ての印刷完了フラグを読み出して検査する必要がある(図示せず)。
この例の場合、印刷完了フラグ#1がクリアされているので、メインカウンタ#1のカウンタ値が更新されていないことを知ったCPUは、サブカウンタ201の値をメインカウンタ203に加算することにより、メインカウンタ値を更新する。同時に印刷完了フラグ#1を“1”にセットする。メインカウンタ#1と印刷完了フラグ#1は同一ワードに格納されているので、1回の低速メモリへのアクセスでメインカウンタ#1と印刷完了フラグ#1とを変更することができる。そして、参照レジスタ202、サブカウンタ201とを初期化して、次の印刷要求を待つことになる。
After completing the above preparation, the CPU 101 instructs the engine 111 to print. Actually, a write command and image data are transferred. When the completion notification is received from the discharge sensor of the engine 111 every time printing of one sheet is completed, the value of the sub-counter 201 is incremented every time printing of one sheet is completed. The completion of printing may be other sensing and timing such as completion of transfer in addition to completion of paper discharge. Similarly, assume that printing is completed for the second and third sheets, and the power is shut off after the sub-counter 201 is rewritten to 0X3 (power off in the figure).
Next, when the power is turned on (second power-on in the figure), the CPU 101 reads all the print completion flags 204 as described above. It is detected that the print completion flag # 1 is “0”. Although there are N print completion flags, in general, only one of the print completion flags is controlled to be “0”. Therefore, the print completion flag 204 is read in order of # 1, # 2,. Reading may be terminated when the print completion flag (“0”) is confirmed or when all the print completion flags are confirmed to be “1”. As an exception, when a plurality of functions operate simultaneously and there are a plurality of print completion flags, it is necessary to read and check all N print completion flags (not shown).
In this example, since the print completion flag # 1 is cleared, the CPU that knows that the counter value of the main counter # 1 has not been updated adds the value of the sub-counter 201 to the main counter 203. The main counter value is updated. At the same time, the print completion flag # 1 is set to “1”. Since the main counter # 1 and the print completion flag # 1 are stored in the same word, the main counter # 1 and the print completion flag # 1 can be changed by one access to the low speed memory. Then, the reference register 202 and the sub-counter 201 are initialized, and the next print request is awaited.

本発明の画像形成装置のシステム構成例を示す図。1 is a diagram illustrating a system configuration example of an image forming apparatus according to the present invention. 本発明のカウンタの構成を説明する図。The figure explaining the structure of the counter of this invention. 本発明の画像形成装置でのカウンタ処理を示すフローチャート。6 is a flowchart showing counter processing in the image forming apparatus of the present invention. 印刷中に電源をオフされた場合の処理の例を示す図。The figure which shows the example of a process when a power supply is turned off during printing.

符号の説明Explanation of symbols

100 プリンタコントローラ、101 CPU、102 ASIC、103 ICカードI/F、104 ROM、105 RAM、106 拡張コネクタ、107 操作部I/F、108 エンジンI/F、109 ネットワークI/F、110 ICカード、111 エンジン、112 ホストPC、201 サブカウンタ、202 参照レジスタ、203 メインカウンタ、204 印刷完了フラグ 100 printer controller, 101 CPU, 102 ASIC, 103 IC card I / F, 104 ROM, 105 RAM, 106 expansion connector, 107 operation unit I / F, 108 engine I / F, 109 network I / F, 110 IC card, 111 Engine, 112 Host PC, 201 Sub-counter, 202 Reference register, 203 Main counter, 204 Print completion flag

Claims (7)

印刷枚数を計数する計数手段を有する画像形成装置において、
前記計数手段は、印刷ジョブの終了を判断するための数値を保存する参照レジスタと、
それぞれ不揮発性メモリに設けた、
印刷ジョブ処理中に1枚出力する毎にインクリメントされるサブカウンタ、
前記参照レジスタとサブカウンタとを参照して印刷ジョブの終了が判断されると印刷完了を示す印刷完了表示手段、および
画像形成装置の累積印刷枚数を保持するメインカウンタを備え、
印刷ジョブ終了時と、電源投入時で前記印刷完了表示手段が終了を示していない時は、前記メインカウンタにサブカウンタの値を加算して印刷枚数を計数するようにしたことを特徴とする画像形成装置。
In an image forming apparatus having a counting means for counting the number of printed sheets,
The counting means includes a reference register for storing a numerical value for determining the end of the print job;
Provided in each non-volatile memory,
A sub-counter that is incremented each time one sheet is output during print job processing,
A print completion display means for indicating the completion of printing when the end of the print job is determined with reference to the reference register and the sub-counter, and a main counter for holding the cumulative number of printed sheets of the image forming apparatus,
An image characterized in that when the print job is completed and when the print completion display means does not indicate completion at power-on, the value of the sub-counter is added to the main counter to count the number of printed sheets. Forming equipment.
前記メインカウンタと印刷完了表示手段はサブカウンタよりも低速の不揮発性メモリで構成したことを特徴とする請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the main counter and the print completion display unit are configured by a non-volatile memory that is slower than the sub-counter. 前記サブカウンタと参照レジスタをASIC中に構成したことを特徴とする請求項1記載の画像形成装置。   2. The image forming apparatus according to claim 1, wherein the sub-counter and the reference register are configured in an ASIC. 前記メインカウンタと印刷完了表示手段は画像形成装置の動作、カラー/モノクロの別あるいは出力用紙の種類に対応付けて計数することを特徴とする請求項1乃至のいずれか一項に記載の画像形成装置。 The operation of the main counter and the printing completion display means an image forming apparatus, according to any one of claims 1 to 3, wherein the counting in association with another or the type of output paper color / monochromatic image Forming equipment. 前記メインカウンタと印刷完了表示手段は着脱可能な不揮発メモリで構成したことを特徴とする請求項1乃至のいずれか一項に記載の画像形成装置。 The main counter and the printing completion display means an image forming apparatus according to any one of claims 1 to 4, characterized in that is constituted by a removable non-volatile memory. 前記サブカウンタと参照レジスタを画像形成装置の同時に機能するジョブの数だけ設け、それぞれのジョブに対応付けて計数することを特徴とする請求項1乃至のいずれか一項に記載の画像形成装置。 Said provided corresponding to the number of jobs simultaneously function of the sub-counter and the reference register image forming apparatus, an image forming apparatus according to any one of claims 1 to 5, wherein the counting in association with each job . 画像形成装置における印刷枚数計数方法であって、印刷ジョブ開始時に印刷枚数を参照レジスタにセットし、不揮発性メモリに設けた印刷完了フラグに未完を示す値をセットし、1枚出力するごとに、不揮発性メモリに設けたサブカウンタをインクリメントし、サブカウンタの値が参照レジスタの値と等しくなったら前記サブカウンタの値を、前記画像形成装置の累積印刷枚数を保持する、不揮発性メモリに設けたメインカウンタに加算し、前記印刷完了フラグに完了を示す値をセットすると同時にサブカウンタをゼロにセットし、
また、前記画像形成装置の電源投入時に前記印刷完了フラグを参照し、未完を示す値が設定されている場合は前記サブカウンタの値を前記メインカウンタに加算して未計数枚数を加算することを特徴とする印刷枚数計数方法。
A method for counting the number of printed sheets in an image forming apparatus, wherein the number of printed sheets is set in a reference register at the start of a print job, a value indicating incomplete is set in a print completion flag provided in a nonvolatile memory, and each time one sheet is output, A sub-counter provided in the non-volatile memory is incremented, and when the value of the sub-counter becomes equal to the value of the reference register, the value of the sub-counter is provided in the non-volatile memory that holds the cumulative number of printed sheets of the image forming apparatus. Add to the main counter, set a value indicating completion to the print completion flag, and simultaneously set the sub-counter to zero,
In addition, when the image forming apparatus is turned on, the print completion flag is referred to. When a value indicating incomplete is set, the value of the sub-counter is added to the main counter to add the uncounted number of sheets. A method for counting the number of printed sheets.
JP2004182994A 2004-06-21 2004-06-21 Image forming apparatus and printed sheet counting method Expired - Fee Related JP4499491B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004182994A JP4499491B2 (en) 2004-06-21 2004-06-21 Image forming apparatus and printed sheet counting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004182994A JP4499491B2 (en) 2004-06-21 2004-06-21 Image forming apparatus and printed sheet counting method

Publications (2)

Publication Number Publication Date
JP2006001254A JP2006001254A (en) 2006-01-05
JP4499491B2 true JP4499491B2 (en) 2010-07-07

Family

ID=35770040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004182994A Expired - Fee Related JP4499491B2 (en) 2004-06-21 2004-06-21 Image forming apparatus and printed sheet counting method

Country Status (1)

Country Link
JP (1) JP4499491B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5624961B2 (en) * 2011-08-31 2014-11-12 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP7265112B2 (en) * 2019-01-23 2023-04-26 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method and image forming program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001071588A (en) * 1999-09-07 2001-03-21 Alps Electric Co Ltd Recording apparatus
JP2001312396A (en) * 2000-04-27 2001-11-09 Canon Inc Printing controller, printing control method and print system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001071588A (en) * 1999-09-07 2001-03-21 Alps Electric Co Ltd Recording apparatus
JP2001312396A (en) * 2000-04-27 2001-11-09 Canon Inc Printing controller, printing control method and print system

Also Published As

Publication number Publication date
JP2006001254A (en) 2006-01-05

Similar Documents

Publication Publication Date Title
EP1187058A2 (en) Printing apparatus, data storage medium, interface device, printer control method, and interface control method
US8032037B2 (en) Image forming apparatus, computer program product, and printing inhibiting method
JP4499491B2 (en) Image forming apparatus and printed sheet counting method
JP4617928B2 (en) Printing device
JP4374822B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PRINT DEVICE, AND PRINT CONTROL PROGRAM
JPH1040176A (en) System and method for memory management of electronic equipment, and storage medium stored with memory management program that computer can read
JP2004145730A (en) Image forming apparatus
US20060182417A1 (en) Image processor and file data management therein
US20130191623A1 (en) Information processing apparatus, control method therefor, and storage medium
JP7267692B2 (en) Image forming device for updating firmware
JP2013003984A (en) Information processing apparatus, image forming apparatus, and program
JP2005094301A (en) Image forming apparatus
JP2004341783A (en) Data storage method and data storage device
JP4148834B2 (en) Data transfer apparatus, image forming apparatus, data transfer control method, computer program, and recording medium
US11537302B2 (en) Printer configured to control printing operation using information stored in flash memories
JP7191713B2 (en) Printer controller, printer control program, and printer
JP6852207B2 (en) Storage controller, information processing method and program
US11842064B2 (en) Information processing apparatus, control device, and control method of control device
JP2881938B2 (en) Control device
JPH0262267A (en) Printer
US20030202208A1 (en) System and method for managing storage of data in printing devices
JP2016218741A (en) Image formation apparatus
JP4026303B2 (en) Information processing vending machine
JP2021022080A (en) Memory control device
JP3823535B2 (en) Write control method to nonvolatile memory in printer and printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070110

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100326

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100413

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100415

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees