JP2004230786A - Image forming device - Google Patents
Image forming device Download PDFInfo
- Publication number
- JP2004230786A JP2004230786A JP2003023779A JP2003023779A JP2004230786A JP 2004230786 A JP2004230786 A JP 2004230786A JP 2003023779 A JP2003023779 A JP 2003023779A JP 2003023779 A JP2003023779 A JP 2003023779A JP 2004230786 A JP2004230786 A JP 2004230786A
- Authority
- JP
- Japan
- Prior art keywords
- program
- extension
- image forming
- image
- extension program
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、画像を形成するデータを入力して、これを記録用紙に印刷出力する画像形成装置に関するものである。
【0002】
【従来の技術】
近年、画像形成装置は高機能かつ多機能化が進み、短期間の内に従来機能の改善や新しい機能拡張プログラム登録手段が繰り返されている。
【0003】
そして、プログラム容量は大きくなり機能も複雑になるとともに、新しいプログラムへのバージョンアップが頻繁に発生するので、その都度プログラムを変更したり更新する必要があった。
【0004】
画像形成装置を制御するプログラムを記憶する媒体としては、書き換えが不可能ではあるが安価なマスクROMや、紫外線の照射によってプログラムの内容を書き換えることが可能なEPROM、または電気的にプログラムの書き換えが可能なフラッシュROMなどが一般的である。
【0005】
そして、画像形成装置の制御機能の一部を変更追加したり、新しい機能を拡張してより高度な制御を実現するとき、マスクROMやEPROMの場合は既にプログラム内容を変更したROMを用意し、装置の外装を外してROM自体を交換する必要があるので、ユーザが簡単に行えるものではなく、交換できたとしても装置の破損や故障、動作不良にもつながりかねない。また、個々のユーザに新しいROMを提供して装着するとなれば莫大なコストが掛かる。
【0006】
現在幅広く利用されているフラッシュROMは、電気的にプログラムの内容を書き換えることが可能であり、装置の外装を外してROMを交換することなくプログラムの内容を更新することが可能である。すなわち、装置のパネル上から、もしくは専用のツールなどを利用して、フラッシュROMの内容を更新する専用のモードなどに入り、更新するプログラムデータをインターフェースなどを介して外部から転送し、格納されているプログラムデータを更新する方法が採られている。
【0007】
その他、フラッシュROMの書き換えについては、(特許文献1)に記載がある。
【0008】
【特許文献1】
特開2000−020400号公報
【0009】
【発明が解決しようとする課題】
しかしながら、このような電気的にプログラムの内容を書き換えることが可能なフラッシュROMであっても、プログラムの内容を更新するためには通常の動作モードから書き換え専用モードに入らなければならないので、装置が通常モードにて動作中の場合の動的な追加変更が難しく、更新した内容を反映するためには装置の再起動を伴う場合もあった。
【0010】
また、書き込むプログラムデータの信頼性や、プログラム更新中に不測の事態にて装置の電源が遮断された場合など、プログラムの復帰が不可能になるおそれがある。
【0011】
そこで、本発明は、画像を形成するデータの解析処理をプログラムの内容を変更することなく拡張することのできる画像形成装置を提供することを目的とする。
【0012】
【課題を解決するための手段】
この課題を解決するために、本発明の画像形成装置は、画像を形成するデータを記録用紙に印刷出力する画像形成装置であって、画像形成の機能を拡張する拡張プログラムを登録する拡張プログラム登録手段と、拡張プログラム登録手段により登録される拡張プログラムを記憶するとともに、当該拡張プログラムを実行して画像を形成するデータを解析処理する記憶手段とを有する構成としたものである。
【0013】
これにより、画像形成装置のプログラムの内容を変更することなく画像を形成するデータを解析処理する拡張プログラムを追加し、画像の形成機能を拡張することができる。
【0014】
【発明の実施の形態】
本発明の請求項1に記載の発明は、画像を形成するデータを記録用紙に印刷出力する画像形成装置であって、画像形成の機能を拡張する拡張プログラムを登録する拡張プログラム登録手段と、拡張プログラム登録手段により登録される拡張プログラムを記憶するとともに、当該拡張プログラムを実行して画像を形成するデータを解析処理する記憶手段とを備えた画像形成装置であり、画像形成装置のプログラムの内容を変更することなく画像を形成するデータを解析処理する拡張プログラムを追加し、画像の形成機能を拡張することが可能になるという作用を有する。
【0015】
本発明の請求項2に記載の発明は、請求項1記載の発明において、拡張プログラム登録手段は、拡張プログラムが有する固有コードを判定し、記憶手段は、固有コードを基に解析処理の異なる複数の拡張プログラムを記憶する画像形成装置であり、機能の異なる複数の拡張プログラムにより画像の形成機能を拡張することが可能になるという作用を有する。
【0016】
本発明の請求項3に記載の発明は、請求項1または2記載の発明において、記憶手段は、拡張プログラムが常時記憶されている不揮発性記憶手段と、画像形成装置の電源投入時に不揮発性記憶手段に記憶された拡張プログラムが展開される揮発性記憶手段とを有する画像形成装置であり、画像形成装置の電源が再投入された場合において、不揮発性記憶手段からの拡張プログラムの展開により画像の形成機能を拡張することが可能になるという作用を有する。
【0017】
以下、本発明の実施の形態について、図1から図15を用いて説明する。なお、これらの図面において同一の部材には同一の符号を付しており、また、重複した説明は省略されている。
【0018】
(実施の形態1)
図1は本発明の実施の形態1における画像形成装置の構成を示すブロック図、図2は本発明の実施の形態1における画像形成装置での拡張プログラムの登録と実行処理および画像形成手段の手順を示すフローチャート、図3は本発明の実施の形態1における画像形成装置での画像を形成するデータのフォーマットを示す説明図、図4は本発明の実施の形態1における画像形成装置でのソリッドの矩形画像描画のイメージを示す説明図、図5は本発明の実施の形態1における画像形成装置での拡張コードのフォーマットを示す説明図、図6は本発明の実施の形態1における画像形成装置での拡張プログラムの登録および削除の処理手順を示すフローチャート、図7は本発明の実施の形態1における画像形成装置での画像を形成するデータと拡張コードのフォーマットを示す説明図、図8は本発明の実施の形態1における画像形成装置でのソリッドの円形画像描画のイメージを示す説明図である。
【0019】
図1に示す画像形成装置において、中央演算装置(CPU)1により、汎用バス2を介してプログラム領域(ROM)3に格納される基本制御プログラム4を実行して画像形成装置を制御する。
【0020】
ここで、インターフェース5により画像を形成する入力データ6を受信し、これを記憶手段である揮発性記憶領域(RAM)7の受信バッファ8に格納する。そして、受信データ解析処理部9により受信バッファ7に格納された入力データ6を解析し、画像形成処理部10により画像を形成するためのイメージ画像中間データ11を生成する。受信バッファ8に格納される入力データ6を受信データ解析処理部9および画像形成処理部10を繰り返し動作させることによりイメージ画像中間データ11を完成させ、画像展開処理部12によりイメージ画像出力データ13を作成し、記録用紙印刷部14によりイメージ出力データ13を記録用紙上へ印刷して出力する。
【0021】
以上が、本実施の形態の画像形成装置における画像形成の基本機能である。
【0022】
次に、画像形成の機能を拡張する拡張プログラムの登録と拡張プログラムの実行の手順を、同じく図1を用いて説明する。
【0023】
入力データ6よりプログラムの機能を拡張するための拡張プログラムを含む拡張コードをインターフェース5を介して受信バッファ8に格納する。そして、受信データ解析処理部9により受信バッファ8に格納される拡張コードを解析し、拡張コード解析処理部15により拡張プログラム登録処理部(拡張プログラム登録手段)16を実行して揮発性記憶領域7の拡張プログラム登録領域17に拡張プログラム18として格納登録する。登録された拡張プログラム18は拡張コード解析処理部15により判定され、プログラム実行処理部19にて実行される。
【0024】
次に、入力される受信データを解析して画像の形成を行う画像形成処理と拡張プログラムの登録と実行処理を、図2のフローチャートを用いてさらに詳細に説明する。
【0025】
データ受信(S1)によりインターフェースより入力データを受信バッファに格納し、データ解析(S2)により格納された入力データを解析する。
【0026】
解析されたデータは拡張コード判定(S3)にて判定し、画像を形成するデータと判定した場合はコマンド解析(S4)を行い、解析結果に対応した画像形成処理(S5)を実行し、イメージ画像中間データを揮発性記憶領域に生成する。また、S3により判定されたデータが拡張コードである場合は拡張プログラム登録(S6)を実行し、揮発性記憶領域の拡張プログラム登録領域に拡張プログラムを登録する。
【0027】
前述のS4において拡張処理と判定された場合は、登録判定(S7)にて拡張プログラムが登録されているかを判定し、登録されていれば拡張プログラム実行処理(8)によりプログラムを実行する。
【0028】
続いて、図2のS4にて解析される画像を形成するデータのフォーマットの一例を図3を用いて説明する。
【0029】
図3(a)〜(f)は、指定された座標位置に指定された色にて、指定されたサイズの矩形画像を描画するデータ群である。
【0030】
図3(a)にて主操作方向への座標位置100ドットを指定し、図3(b)にて副操作方向への座標位置200ドットを指定する。そして、図3(c)にて黒色を指定し、図3(d)にて主操作方向の画像サイズ300ドットを指定し、図3(e)にて副操作方向の画像サイズ200ドットを指定する。最後に、図3(f)にてソリッド画像を指定することにより、図4に示すような黒色ソリッドの矩形画像が描画される。このように、画像を形成するデータは単独ないしは複数の組み合わせにて指定され、複雑な画像の描画を実行する。
【0031】
次に、図2のS3にて判定されS6にて拡張プログラムとして揮発性記憶領域に登録処理される拡張コードのフォーマットを図5を用いて説明する。
【0032】
図5(a)は拡張コードのヘッダ部であり、ESCコードが2回連続して続くことにより拡張コードであることが判定される。続くプログラムバージョンは図1に示すプログラム領域3に格納される基本制御プログラム4のプログラムバージョンを示し、基本制御プログラム4ごとにユニークなプログラムバージョンが登録され、拡張プログラムが登録可能であるプログラムのバージョンを示す。続くESCコードからESCコード内に記述する”CIR1”コードは図2のS4に示すコマンド解析にて拡張処理されるコマンドの解析に使用し、S7の登録判定により拡張プログラムが登録されている場合にS8の拡張プログラム実行処理を行い、拡張プログラムが登録されていない場合は処理しない。
【0033】
図5(b)は拡張コードのデータ部であり、登録するプログラムのデータサイズとプログラムの実体であるプログラムデータである。データサイズが零(ゼロ)を示す倍は拡張プログラムの登録は行われず、既に拡張プログラムが登録されている場合は登録されている拡張プログラムを削除する。
【0034】
前述したプログラムの登録および削除処理を図6のフローチャートを用いてさらに詳細に説明する。
【0035】
図1の基本制御プログラム4と図5(a)に示すプログラムバージョンとの一致を判定(S9)し、図5(b)に示すデータサイズが零であり既に拡張プログラムが登録されていると判定(S10)した場合は、揮発性記憶領域の拡張プログラム記憶領域からプログラムの削除(S11)を行う。続いて、プログラム登録判定(S12)にて図5(a),(b)に示す拡張コードヘッダ部および拡張コードデータ部のフォーマットを基に揮発性記憶領域の拡張プログラム記憶領域へのプログラムの登録処理(S13)を実行し、拡張プログラムを登録する。
【0036】
次に、前記した図5に示す拡張コードを用い拡張プログラムを登録して画像を形成するデータのフォーマットの一例を図7を用いて説明する。
【0037】
図7(a)〜(e)は図3(a)〜(e)で示したデータフォーマットと同一の指定であり、座標位置と色および画像サイズを指定するデータ群である。図7(f)により図5(a)にて登録した”CIR1”コードを指定することにより図8のような黒色ソリッドの円形画像を描画するものである。図5(b)に示すプログラムデータに、指定される座標位置を始点とし指定される画像サイズにて円形画像を描画するプログラムデータを記述し、拡張プログラムとして登録し実行することにより画像の描画を行う。
【0038】
以上説明した画像形成装置によれば、画像形成の機能を拡張する拡張プログラムを記憶手段である揮発性記憶領域に登録し、揮発性記憶領域に登録した拡張プログラムを実行して画像を形成するデータを解析処理する構成としているので、プログラム領域の基本制御プログラムを変更することなく画像を形成するデータを解析処理する拡張プログラムを追加し画像の形成機能を拡張することができる。
【0039】
(実施の形態2)
図9は本発明の実施の形態2における画像形成装置での拡張コードのフォーマットを示す説明図、図10は本発明の実施の形態2における画像形成装置での揮発性記憶領域を示す説明図、図11は本発明の実施の形態2における画像形成装置での固有コードを有する拡張プログラムの登録および削除の処理手順を示すフローチャート、図12は本発明の実施の形態2における画像形成装置での固有コードを有する拡張プログラムを実行手順を示すフローチャートである。
【0040】
図9は図5(a)および図5(b)に示す拡張コードのフォーマットと同一のものであり、図9(a)のプログラムバージョンに続くESCコードからESCコード内に記述するコードを拡張コードごとに持つユニークな固有コードとする。
【0041】
図9(b)に示すプログラムデータを拡張プログラムとして登録する際、図9(a)に示す拡張コードごとに持つユニークな固有コードとともに揮発性記憶領域に格納することにより複数の拡張プログラムを登録する。
【0042】
図10はユニークな固有コードとともに格納される複数の拡張プログラムを登録する揮発性記憶領域を示しており、記憶手段である揮発性記憶領域20内の拡張プログラム登録領域21に固有コード21とともに拡張プログラム23を登録する。
【0043】
図9に示す拡張コードごとにユニークな固有コードを持つ拡張プログラムの登録および削除を図11のフローチャートを用いてさらに詳細に説明する。
【0044】
図9に示す拡張コードを拡張プログラムとして登録および削除する場合、図9(a)にて指定される固有コードと揮発性記録領域20の拡張プログラム登録領域21に登録される固有コード22とを比較判定(S14)し、既に指定された固有コード22を持つ拡張プログラム23の登録が存在する場合は、拡張プログラム登録領域21に登録される固有コード22および拡張プログラム23を削除(S15)する。次に、S16にて図9(b)に示すデータサイズを判定し、サイズが指定されている場合は揮発性記憶領域の拡張プログラム登録領域21に図9(a)により指定される拡張コードごとにユニークな固有コード22とともに拡張プログラム23を登録する。
【0045】
続いて、ユニークな固有コード22とともに登録した複数の拡張プログラム23の実行処理を図12のフローチャートを用いて説明する。
【0046】
実施の形態1と同様に、受信されたデータを解析して画像を形成するデータと判定した場合は、コマンド解析(S18)にて解析結果に対応した画像形成処理(S19)を実行して、イメージ画像中間データを揮発性記憶領域に生成する。
【0047】
また、S18により拡張処理と判定された場合は、児湯コード登録判定(S20)にて指定された固有コード22を有する拡張プログラム23が揮発性記憶領域20の拡張プログラム登録領域21に登録されているかを判定する。そして、指定された固有コード22と一致する拡張プログラム23が存在する場合には、拡張プログラム設定(S21)により指定された固有コード22に対応する拡張プログラム23を拡張プログラム実行処理(S22)により実行する。
【0048】
以上説明した画像形成装置によれば、拡張プログラムはユニークな固有コードを持ち、複数の拡張プログラムを固有コードとともに記憶手段である揮発性記憶領域の拡張プログラム登録領域に登録し、登録した拡張プログラムを固有コードを指定して実行しているので、機能の異なる複数の拡張プログラムにより画像の形成機能を拡張することができる。
【0049】
(実施の形態3)
図13は本発明の実施の形態3における画像形成装置での不揮発性記憶領域を示す説明図、図14は本発明の実施の形態3における画像形成装置での固有コードを有する拡張プログラムの登録および削除の処理手順を示すフローチャート、図15は本発明の実施の形態3における画像形成装置での拡張プログラムの登録手順を示すフローチャートである。
【0050】
図13は、実施の形態2の図10における揮発性記憶領域20の拡張プログラム登録領域21と同等の内容を、記憶手段である不揮発性記憶領域24に格納する構成を示している。ここには、図10に示す固有コード22と拡張プログラム23と同等の固有コード26および拡張プログラム27が格納される。
【0051】
図13に示す不揮発性記憶領域24の拡張プログラム登録領域25に格納する固有コード26と拡張プログラム27の登録および削除の手順を図14のフローチャートを用いて詳細に説明する。
【0052】
先ず、装置に記憶手段である不揮発性記憶領域(不揮発性記憶手段)24が存在するかを判定(S23)し、当該領域が存在しない場合は不揮発性記憶領域24への登録および削除は行わない。また、不揮発性記憶領域24が存在する場合は、実施の形態2の図10に示す固有コード22を持つ拡張プログラムの登録および削除と同等の処理を不揮発性記憶領域24において実行する。
【0053】
図9に示す拡張コードを拡張プログラムとして図13の不揮発性記憶領域24の拡張プログラム登録領域25に登録および削除する場合、図9(a)にて指定される固有コードと不揮発性記憶領域24の拡張プログラム登録領域25に登録される固有コード26とを比較判定(S24)し、既に指定された固有コード26を持つ拡張プログラム27の登録が存在する場合は、拡張プログラム登録領域25に登録される固有コード26および拡張プログラム27を削除(S25)する。次に、S26にて図9(b)に示すデータサイズを判定し、サイズが指定されている場合は、不揮発性記憶領域24の拡張プログラム登録領域25に図9(a)により指定される拡張コードごとにユニークな固有コード26とともに拡張プログラム27を登録する。
【0054】
続いて、装置の電源が投入された場合に、不揮発性記憶領域24からユニークな固有コードを持つ拡張プログラムを揮発性記憶領域(揮発性記憶手段)20に登録する動作を、図15のフローチャートを用いて説明する。
【0055】
装置の電源が投入(S28)されるとき、装置に不揮発性記憶領域24が存在するかを判定(S29)し、領域が存在しない場合は不揮発性記憶領域24からの登録は行わない。また、不揮発性記憶領域24が存在する場合には、拡張プログラム登録領域25に固有コード26とともに拡張プログラム27が登録されているかを判定(S30)し、拡張プログラムが登録されている場合は不揮発性記憶領域24から固有コード26と拡張プログラム27を読み込み(S31)、揮発性記憶領域20への登録処理(S32)を実行する。これにより、図13に示す不揮発性記憶領域の拡張プログラム領域25に登録される固有コード26および拡張プログラム27が、図10に示す揮発性記憶領域20の拡張プログラム登録領域21へ固有コード22および拡張プログラム23として登録される。
【0056】
以上説明した画像形成装置によれば、装置の電源が落とされ記憶手段である揮発性記憶領域に登録した拡張プログラムが破棄される場合において、再度装置の電源が投入された場合に、拡張プログラムが常時記憶されている記憶手段である不揮発性記憶領域に登録した拡張プログラムを読み込み、これを揮発性記憶領域に登録しているので、再度拡張コードによるプログラムの登録を必要とすることなく以前に登録した拡張プログラムによる拡張処理を実行することができる。
【0057】
【発明の効果】
以上のように、本発明によれば、画像形成の機能を拡張する拡張プログラムを記憶手段に登録し、記憶手段に登録した拡張プログラムを実行して画像を形成するデータを解析処理しているので、プログラム領域の基本制御プログラムを変更することなく画像を形成するデータを解析処理する拡張プログラムを追加して画像の形成機能を拡張することができるという有効な効果が得られる。
【0058】
また、本発明によれば、拡張プログラムはユニークな固有コードを持ち、複数の拡張プログラムを固有コードとともに記憶手段の拡張プログラム登録領域に登録し、登録した拡張プログラムを固有コードを指定して実行することで、機能の異なる複数の拡張プログラムにより画像の形成機能を拡張することができるという有効な効果が得られる。
【0059】
さらに、本発明によれば、装置の電源が落とされて揮発性記憶手段に登録した拡張プログラムが破棄される場合において、再度装置の電源が投入された場合に不揮発性記憶手段に登録した拡張プログラムを読み込み、これを揮発性記憶手段に登録することで、再度拡張コードによるプログラムの登録を必要とすることなく以前に登録した拡張プログラムによる拡張処理を実行することができるという有効な効果が得られる。
【0060】
さらに、本発明によれば、装置の電源が投入された動作中の状態において、入力したデータを拡張プログラムとして登録することができ、動作中に登録した拡張プログラムを実行し機能を拡張することができるという有効な効果が得られる。
【0061】
さらに、本発明によれば、以前に登録したユニークな固有コードを指定して拡張プログラムを登録することで拡張プログラムの機能を更新し、再度登録することができるという有効な効果が得られる。
【0062】
さらに、本発明によれば、以前に登録したユニークな固有コードを指定して拡張プログラムの機能を削除することができ、装置に操作パネルが存在する場合には、操作パネルからの操作により拡張プログラムを削除することも可能になるという有効な効果が得られる。
【0063】
そして、本発明によれば、拡張プログラムが登録されていない場合は基本プログラムのみによる処理を実行することができるという有効な効果が得られる。
【図面の簡単な説明】
【図1】本発明の実施の形態1における画像形成装置の構成を示すブロック図
【図2】本発明の実施の形態1における画像形成装置での拡張プログラムの登録と実行処理および画像形成処理の手順を示すフローチャート
【図3】本発明の実施の形態1における画像形成装置での画像を形成するデータのフォーマットを示す説明図
【図4】本発明の実施の形態1における画像形成装置でのソリッドの矩形画像描画のイメージを示す説明図
【図5】本発明の実施の形態1における画像形成装置での拡張コードのフォーマットを示す説明図
【図6】本発明の実施の形態1における画像形成装置での拡張プログラムの登録および削除の処理手順を示すフローチャート
【図7】本発明の実施の形態1における画像形成装置での画像を形成するデータと拡張コードのフォーマットを示す説明図
【図8】本発明の実施の形態1における画像形成装置でのソリッドの円形画像描画のイメージを示す説明図
【図9】本発明の実施の形態2における画像形成装置での拡張コードのフォーマットを示す説明図
【図10】本発明の実施の形態2における画像形成装置での揮発性記憶領域を示す説明図
【図11】本発明の実施の形態2における画像形成装置での固有コードを有する拡張プログラムの登録および削除の処理手順を示すフローチャート
【図12】本発明の実施の形態2における画像形成装置での固有コードを有する拡張プログラムを実行手順を示すフローチャート
【図13】本発明の実施の形態3における画像形成装置での不揮発性記憶領域を示す説明図
【図14】本発明の実施の形態3における画像形成装置での固有コードを有する拡張プログラムの登録および削除の処理手順を示すフローチャート
【図15】本発明の実施の形態3における画像形成装置での拡張プログラムの登録手順を示すフローチャート
【符号の説明】
7 揮発性記憶領域(RAM)
16 拡張プログラム登録処理部(拡張プログラム登録手段)
20 揮発性記憶領域(RAM)
24 不揮発性記憶領域(記憶手段)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image forming apparatus that inputs data for forming an image and prints out the data on recording paper.
[0002]
[Prior art]
2. Description of the Related Art In recent years, image forming apparatuses have become more sophisticated and multifunctional, and improvements of conventional functions and new function expansion program registration means are repeated within a short period of time.
[0003]
In addition, the program capacity is increased and the functions are complicated, and the version is frequently updated to a new program. Therefore, it is necessary to change or update the program each time.
[0004]
As a medium for storing a program for controlling the image forming apparatus, an inexpensive mask ROM that is not rewritable but inexpensive, an EPROM that can rewrite the contents of the program by irradiating ultraviolet rays, or an electrically rewritable program is used. Possible flash ROMs and the like are common.
[0005]
When a part of the control function of the image forming apparatus is changed or added, or a new function is extended to realize more advanced control, in the case of a mask ROM or an EPROM, a ROM in which the program contents have already been changed is prepared. Since it is necessary to remove the exterior of the device and replace the ROM itself, it is not easy for the user to perform, and even if it can be replaced, the device may be damaged, broken down, or malfunction. Also, providing a new ROM to each user and mounting it requires enormous costs.
[0006]
The flash ROM currently widely used can electrically rewrite the contents of the program, and can update the contents of the program without replacing the ROM by removing the exterior of the device. That is, from a panel of the apparatus or by using a dedicated tool or the like, a dedicated mode for updating the contents of the flash ROM is entered, and the program data to be updated is externally transferred via an interface or the like, and stored. The method of updating the program data that is used is adopted.
[0007]
In addition, the rewriting of the flash ROM is described in (Patent Document 1).
[0008]
[Patent Document 1]
JP 2000-020400 A
[Problems to be solved by the invention]
However, even in such a flash ROM in which the contents of a program can be electrically rewritten, the device must enter a rewrite-only mode from a normal operation mode in order to update the contents of the program. It is difficult to dynamically add or change when operating in the normal mode, and in some cases, restarting the apparatus is required to reflect the updated contents.
[0010]
In addition, there is a possibility that the program cannot be restored, for example, when the reliability of the program data to be written or when the power supply of the apparatus is shut down unexpectedly during the update of the program.
[0011]
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image forming apparatus capable of extending the analysis of data forming an image without changing the contents of a program.
[0012]
[Means for Solving the Problems]
In order to solve this problem, an image forming apparatus of the present invention is an image forming apparatus that prints out data for forming an image on a recording sheet, and registers an extension program for registering an extension program for extending an image forming function. Means and storage means for storing the extension program registered by the extension program registration means and for analyzing and processing data forming the image by executing the extension program.
[0013]
This makes it possible to add an extension program for analyzing data forming an image without changing the contents of the program of the image forming apparatus, thereby extending the image forming function.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
An invention according to
[0015]
According to a second aspect of the present invention, in the first aspect of the invention, the extension program registering means determines a unique code of the extension program, and the storage means stores a plurality of pieces of data having different analysis processes based on the unique code. This is an image forming apparatus that stores the extension program of the first embodiment, and has an effect that the image forming function can be extended by a plurality of extension programs having different functions.
[0016]
According to a third aspect of the present invention, in the first or second aspect of the invention, the storage means includes a non-volatile storage means in which an extension program is always stored, and a non-volatile storage means when the image forming apparatus is powered on. And a volatile storage unit on which the extension program stored in the unit is expanded. When the power supply of the image forming apparatus is turned on again, the expansion program from the nonvolatile storage unit expands the image. This has the effect that the forming function can be extended.
[0017]
Hereinafter, embodiments of the present invention will be described with reference to FIGS. 1 to 15. In these drawings, the same members are denoted by the same reference numerals, and redundant description is omitted.
[0018]
(Embodiment 1)
FIG. 1 is a block diagram illustrating a configuration of an image forming apparatus according to
[0019]
In the image forming apparatus shown in FIG. 1, a central processing unit (CPU) 1 executes a
[0020]
Here,
[0021]
The above is the basic function of image formation in the image forming apparatus of the present embodiment.
[0022]
Next, the procedure of registering an extension program for extending the function of image formation and executing the extension program will be described with reference to FIG.
[0023]
An extension code including an extension program for extending the function of the program from the
[0024]
Next, an image forming process for analyzing input received data to form an image and a process for registering and executing an extension program will be described in further detail with reference to the flowchart of FIG.
[0025]
The input data is stored in the reception buffer from the interface by data reception (S1), and the stored input data is analyzed by data analysis (S2).
[0026]
The analyzed data is determined by the extended code determination (S3). If the analyzed data is determined to be data forming an image, a command analysis (S4) is performed, and an image forming process (S5) corresponding to the analysis result is executed. Image intermediate data is generated in a volatile storage area. If the data determined in S3 is an extension code, an extension program is registered (S6), and the extension program is registered in the extension program registration area of the volatile storage area.
[0027]
If it is determined in S4 that the extension process has been performed, it is determined in a registration determination (S7) whether the extension program has been registered. If the extension program has been registered, the program is executed by the extension program execution process (8).
[0028]
Next, an example of a format of data forming an image analyzed in S4 of FIG. 2 will be described with reference to FIG.
[0029]
FIGS. 3A to 3F show a data group for drawing a rectangular image of a specified size in a specified color at a specified coordinate position.
[0030]
In FIG. 3A, a coordinate position of 100 dots in the main operation direction is specified, and in FIG. 3B, a coordinate position of 200 dots in the sub operation direction is specified. Then, black is designated in FIG. 3 (c), an image size of 300 dots in the main operation direction is designated in FIG. 3 (d), and an image size of 200 dots in the sub operation direction is designated in FIG. 3 (e). I do. Finally, by specifying a solid image in FIG. 3F, a black solid rectangular image as shown in FIG. 4 is drawn. As described above, data for forming an image is designated by one or a plurality of combinations, and a complicated image is drawn.
[0031]
Next, a format of an extension code determined in S3 of FIG. 2 and registered in the volatile storage area as an extension program in S6 will be described with reference to FIG.
[0032]
FIG. 5A shows a header portion of the extension code. When the ESC code continues twice consecutively, it is determined that the extension code is an extension code. The following program version indicates the program version of the
[0033]
FIG. 5B shows the data part of the extension code, which is the data size of the program to be registered and the program data which is the substance of the program. If the data size is double (zero), the extension program is not registered. If the extension program has already been registered, the registered extension program is deleted.
[0034]
The above-described program registration and deletion processing will be described in more detail with reference to the flowchart of FIG.
[0035]
It is determined whether the
[0036]
Next, an example of a format of data for forming an image by registering an extension program using the extension code shown in FIG. 5 will be described with reference to FIG.
[0037]
FIGS. 7A to 7E have the same specification as the data format shown in FIGS. 3A to 3E, and are a data group for specifying a coordinate position, a color, and an image size. By specifying the “CIR1” code registered in FIG. 5A according to FIG. 7F, a black solid circular image as in FIG. 8 is drawn. In the program data shown in FIG. 5B, program data for drawing a circular image with a specified image size starting from a specified coordinate position is described, and the image is drawn by registering and executing the extended program. Do.
[0038]
According to the above-described image forming apparatus, an extension program for extending an image forming function is registered in a volatile storage area as a storage unit, and data for forming an image by executing the extension program registered in the volatile storage area. , The extension function for analyzing the data forming the image can be added without changing the basic control program in the program area, and the image forming function can be extended.
[0039]
(Embodiment 2)
FIG. 9 is an explanatory diagram showing a format of an extension code in the image forming apparatus according to
[0040]
FIG. 9 is the same as the format of the extension code shown in FIGS. 5A and 5B, and the code described in the ESC code from the ESC code following the program version of FIG. And a unique unique code for each.
[0041]
When registering the program data shown in FIG. 9B as an extension program, a plurality of extension programs are registered by storing them in a volatile storage area together with a unique unique code for each extension code shown in FIG. 9A. .
[0042]
FIG. 10 shows a volatile storage area for registering a plurality of extension programs stored together with a unique unique code, and an extension program along with a
[0043]
Registration and deletion of an extension program having a unique unique code for each extension code shown in FIG. 9 will be described in more detail with reference to the flowchart of FIG.
[0044]
When the extension code shown in FIG. 9 is registered and deleted as an extension program, the unique code specified in FIG. 9A is compared with the
[0045]
Next, the execution process of the plurality of
[0046]
As in the first embodiment, when it is determined that the received data is data to form an image by analyzing the received data, an image forming process (S19) corresponding to the analysis result is executed in the command analysis (S18). Image intermediate data is generated in a volatile storage area.
[0047]
If the extension processing is determined in S18, whether the
[0048]
According to the image forming apparatus described above, the extension program has a unique unique code, registers a plurality of extension programs together with the unique code in the extension program registration area of the volatile storage area that is a storage unit, and registers the registered extension program. Since the specific code is specified and executed, the image forming function can be extended by a plurality of extension programs having different functions.
[0049]
(Embodiment 3)
FIG. 13 is an explanatory diagram showing a nonvolatile storage area in the image forming apparatus according to the third embodiment of the present invention. FIG. 14 is a diagram showing registration and extension of an extension program having a unique code in the image forming apparatus in the third embodiment of the present invention. FIG. 15 is a flowchart showing a deletion processing procedure, and FIG. 15 is a flowchart showing an extension program registration procedure in the image forming apparatus according to the third embodiment of the present invention.
[0050]
FIG. 13 shows a configuration in which contents equivalent to the extension
[0051]
The procedure for registering and deleting the
[0052]
First, it is determined whether or not a non-volatile storage area (non-volatile storage means) 24 as a storage means exists in the apparatus (S23). If the area does not exist, registration and deletion in the
[0053]
When the extension code shown in FIG. 9 is registered and deleted as an extension program in the extension
[0054]
Next, the operation of registering an extension program having a unique unique code from the
[0055]
When the power of the apparatus is turned on (S28), it is determined whether the
[0056]
According to the image forming apparatus described above, when the power of the apparatus is turned off and the extension program registered in the volatile storage area as the storage unit is discarded, when the power of the apparatus is turned on again, The extension program registered in the non-volatile storage area, which is the storage means that is always stored, is read and registered in the volatile storage area. It is possible to execute the extension processing by the extended program.
[0057]
【The invention's effect】
As described above, according to the present invention, the extension program for extending the image forming function is registered in the storage unit, and the data for forming the image is analyzed by executing the extension program registered in the storage unit. In addition, an effective effect is obtained in that an image forming function can be expanded by adding an expansion program for analyzing and processing data forming an image without changing the basic control program in the program area.
[0058]
According to the present invention, the extension program has a unique unique code, registers a plurality of extension programs together with the unique code in the extension program registration area of the storage unit, and executes the registered extension program by designating the unique code. Thus, an effective effect that the image forming function can be extended by a plurality of extension programs having different functions can be obtained.
[0059]
Further, according to the present invention, when the power of the device is turned off and the extension program registered in the volatile storage means is discarded, the extension program registered in the nonvolatile storage means when the power of the device is turned on again And registering this in the volatile storage means, it is possible to obtain an effective effect that the extension processing by the previously registered extension program can be executed without the necessity of registering the program by the extension code again. .
[0060]
Further, according to the present invention, it is possible to register input data as an extension program in a state where the apparatus is powered on and in operation, and to execute the extension program registered during operation to extend functions. An effective effect that can be obtained is obtained.
[0061]
Further, according to the present invention, an advantageous effect is obtained in that the function of the extension program can be updated and registered again by registering the extension program by specifying the previously registered unique unique code.
[0062]
Further, according to the present invention, the function of the extension program can be deleted by specifying the previously registered unique unique code. If the operation panel is provided in the device, the extension program can be operated by the operation panel. Can be deleted.
[0063]
Further, according to the present invention, there is obtained an effective effect that when only the extension program is not registered, the process can be executed only by the basic program.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image forming apparatus according to a first embodiment of the present invention. FIG. 2 is a diagram illustrating registration and execution processing of an extension program and image forming processing in the image forming apparatus according to the first embodiment of the present invention. FIG. 3 is a flowchart showing a procedure. FIG. 3 is an explanatory diagram showing a format of data for forming an image in the image forming apparatus according to the first embodiment of the present invention. FIG. 5 is an explanatory diagram showing an image of drawing a rectangular image. FIG. 5 is an explanatory diagram showing a format of an extension code in the image forming apparatus according to
7 Volatile storage area (RAM)
16 Extension program registration processing unit (extension program registration means)
20 volatile storage area (RAM)
24 Non-volatile storage area (storage means)
Claims (3)
画像形成の機能を拡張する拡張プログラムを登録する拡張プログラム登録手段と、
前記拡張プログラム登録手段により登録される前記拡張プログラムを記憶するとともに、当該拡張プログラムを実行して前記画像を形成するデータを解析処理する記憶手段とを備えたことを特徴とする画像形成装置。An image forming apparatus that prints out data for forming an image on recording paper,
Extension program registration means for registering an extension program for extending an image forming function;
An image forming apparatus comprising: a storage unit configured to store the extension program registered by the extension program registration unit and to analyze the data forming the image by executing the extension program.
前記記憶手段は、前記固有コードを基に解析処理の異なる複数の前記拡張プログラムを記憶することを特徴とする請求項1記載の画像形成装置。The extension program registration means determines a unique code of the extension program,
The image forming apparatus according to claim 1, wherein the storage unit stores a plurality of extension programs having different analysis processes based on the unique code.
前記拡張プログラムが常時記憶されている不揮発性記憶手段と、
画像形成装置の電源投入時に前記不揮発性記憶手段に記憶された前記拡張プログラムが展開される揮発性記憶手段とを有することを特徴とする請求項1または2記載の画像形成装置。The storage means,
A nonvolatile storage unit in which the extension program is always stored;
3. The image forming apparatus according to claim 1, further comprising: a volatile storage unit that expands the extension program stored in the nonvolatile storage unit when the image forming apparatus is powered on. 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003023779A JP2004230786A (en) | 2003-01-31 | 2003-01-31 | Image forming device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003023779A JP2004230786A (en) | 2003-01-31 | 2003-01-31 | Image forming device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004230786A true JP2004230786A (en) | 2004-08-19 |
Family
ID=32952490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003023779A Pending JP2004230786A (en) | 2003-01-31 | 2003-01-31 | Image forming device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004230786A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009238002A (en) * | 2008-03-27 | 2009-10-15 | Ricoh Co Ltd | Image forming apparatus, information processing apparatus, information processing method, and information processing program |
JP2016063434A (en) * | 2014-09-18 | 2016-04-25 | コニカミノルタ株式会社 | Image processing system, image processing method in the same, and image processing program |
-
2003
- 2003-01-31 JP JP2003023779A patent/JP2004230786A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009238002A (en) * | 2008-03-27 | 2009-10-15 | Ricoh Co Ltd | Image forming apparatus, information processing apparatus, information processing method, and information processing program |
JP2016063434A (en) * | 2014-09-18 | 2016-04-25 | コニカミノルタ株式会社 | Image processing system, image processing method in the same, and image processing program |
CN105898102A (en) * | 2014-09-18 | 2016-08-24 | 柯尼卡美能达株式会社 | Image processing apparatus and image processing method for the same |
US9615000B2 (en) | 2014-09-18 | 2017-04-04 | Konica Minolta, Inc. | Image processing apparatus and image processing method for efficiently reserving memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2001209543A (en) | Program rewriting method for flash microcomputer | |
JP2007025821A (en) | Information processor and control method therefor | |
JP2004230786A (en) | Image forming device | |
JP2008162054A (en) | Printer | |
US6637325B2 (en) | Rewritable-program computer interface for stencil printer, and method of rewriting program for the interface | |
JP2005094301A (en) | Image forming apparatus | |
JP4062429B2 (en) | Memory rewrite control method and program for executing each step of memory rewrite control method | |
JP2005128613A (en) | Image forming device | |
JP2001344156A (en) | Device with flash memory and data rewriting method | |
JP2006011950A (en) | Installer creating apparatus, its method, and program therefor | |
JP2008117404A (en) | Memory rewriting control system | |
JP2007055042A (en) | Image recording device | |
JP6638323B2 (en) | PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD | |
JP2005085121A (en) | Data update method for flash memory, data update program, information processor, and information processing system | |
JPH05274157A (en) | Image generating device | |
JP2009238071A (en) | Built-in system | |
JP2005063311A (en) | Patch method and patch application program for processor system | |
JP2006155391A (en) | Image forming apparatus | |
JP2006076009A (en) | Image forming apparatus, parameter control method and parameter control program | |
JP2005122362A (en) | Rewrite protection device | |
JP4457608B2 (en) | controller | |
JPS6317062A (en) | Printing controller | |
JPH09231032A (en) | Network interface card for printer | |
JP2007241757A (en) | Information processor | |
JP2007200156A (en) | Information processor and flash rom rewriting method of information processor |