JPH1083265A - Print controller and its data processing method, and storage medium stored with computer-readable program - Google Patents

Print controller and its data processing method, and storage medium stored with computer-readable program

Info

Publication number
JPH1083265A
JPH1083265A JP8237447A JP23744796A JPH1083265A JP H1083265 A JPH1083265 A JP H1083265A JP 8237447 A JP8237447 A JP 8237447A JP 23744796 A JP23744796 A JP 23744796A JP H1083265 A JPH1083265 A JP H1083265A
Authority
JP
Japan
Prior art keywords
data
storage medium
input data
state
processing
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
JP8237447A
Other languages
Japanese (ja)
Inventor
Takashi Okazawa
隆志 岡澤
Koichiro Akimoto
浩一郎 秋元
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP8237447A priority Critical patent/JPH1083265A/en
Publication of JPH1083265A publication Critical patent/JPH1083265A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make a shift to a state wherein received input data can normally be processed even if the power source is turned off owing to an unexpectable state before a resource needed for print processing received from an information processor side is written normally in a memory resource to the end. SOLUTION: Decision data for deciding the state of data writing to a flash ROM 119 where input data can be written in specific format are held and based on the held decision data, a CPU 114 restores the above input data stored in the flash ROM 119 to the state before data rewriting.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タ等の情報処理装置から入力されるデータを記憶する二
次記憶装置を備える印刷制御装置および印刷制御装置の
データ処理方法およびコンピュータが読み出し可能なプ
ログラムを格納した記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device having a secondary storage device for storing data input from an information processing device such as a host computer, a data processing method of the print control device, and a computer readable program. Is related to a storage medium in which is stored.

【0002】[0002]

【従来の技術】一般に、この種のプリンタ制御装置を適
用可能なレーザビームプリンタに代表されるページプリ
ンタ装置は、印刷データを受信し、印刷イメージを発生
するとともに装置全体を制御するプリンタコントローラ
と、実際に印刷を行うプリンタエンジン等より構成され
ている。
2. Description of the Related Art In general, a page printer, such as a laser beam printer, to which a printer controller of this type can be applied, receives a print data, generates a print image, and controls the entire apparatus. It is composed of a printer engine that actually performs printing.

【0003】この場合において、プリンタ制御装置内に
はフラッシュROMと呼ばれる二次記憶装置が利用可能
に構成され、急速にその用途は拡大している。フラッシ
ュROMは書き込みが可能なROMである。フラッシュ
ROMへの書き込みデータは、その認識方法の簡便のた
めにフォーマットに従って格納されるのが通常である。
In this case, a secondary storage device called a flash ROM can be used in the printer control device, and its use is rapidly expanding. The flash ROM is a writable ROM. Normally, data written to the flash ROM is stored in accordance with a format for simplification of the recognition method.

【0004】[0004]

【発明が解決しようとする課題】従来、このようなフラ
ッシュROMに対して書き込みを行っている時点におい
て、電源切断等の障害が起った場合、もしくは書き込み
を行っている場合に印刷装置の上位ホストコンピュータ
の電源切断等が起った場合、そのフラッシュROM内の
フォーマットが崩れ、印刷装置が正常に起動しないもし
くは正常に動作できなくなるといった問題点があった。
Conventionally, at the time of writing to such a flash ROM, if a failure such as power-off or the like occurs, or if writing is being performed, an upper level of the printing apparatus is used. When the power supply of the host computer is cut off, the format in the flash ROM is destroyed, and there is a problem that the printing apparatus does not start normally or cannot operate normally.

【0005】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1の発明〜第9の発明
の目的は、ホストからの入力データを保持する記憶媒体
の内容が崩れているかどうかを認識して、入力データの
書き込み前の状態に戻すことにより、情報処理装置側か
ら受信した印刷処理に必要な資源をメモリ資源に正常に
書き込み完了する前に、不測の事態で電源が遮断されて
も、受信される入力データを正常に処理できる状態に遷
移させることができる印刷制御装置および印刷制御装置
のデータ処理方法およびコンピュータが読み出し可能な
プログラムを格納した記憶媒体を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the first to ninth inventions according to the present invention is to provide a storage medium storing input data from a host. By recognizing whether the data has collapsed and returning to the state before the input data was written, an unexpected situation occurred before the resources necessary for print processing received from the information processing device were successfully written to the memory resources. Provided is a print control apparatus, a data processing method of the print control apparatus, and a storage medium storing a computer-readable program that can make a transition to a state in which received input data can be normally processed even if power is shut off in the printer. It is to be.

【0006】[0006]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介して情報処理装置から受信した
入力データに基づいてエンジン部による印刷処理を制御
する印刷制御装置において、前記入力データを所定のフ
ォーマットに基づいて書き込み可能な記憶媒体と、前記
記憶媒体に対するデータ書込み処理状態を判定する判定
データを保持する保持手段と、前記保持手段に保持され
る前記判定データに基づいて前記記憶媒体に記憶されて
いた前記入力データをデータ書き換え前の状態に復元す
る制御手段とを有するものである。
According to a first aspect of the present invention, there is provided a print control apparatus for controlling print processing by an engine unit based on input data received from an information processing apparatus via a predetermined communication medium. A storage medium on which the input data can be written based on a predetermined format, holding means for holding determination data for determining a data write processing state with respect to the storage medium, and Control means for restoring the input data stored in the storage medium to a state before data rewriting.

【0007】本発明に係る第2の発明は、前記記憶媒体
は、フラッシュROMで構成したものである。
According to a second aspect of the present invention, the storage medium comprises a flash ROM.

【0008】本発明に係る第3の発明は、前記保持手段
を前記記憶媒体内に設けるものである。
According to a third aspect of the present invention, the holding means is provided in the storage medium.

【0009】本発明に係る第4の発明は、前記保持手段
は、外部記憶媒体で構成するものである。
In a fourth aspect according to the present invention, the holding means comprises an external storage medium.

【0010】本発明に係る第5の発明は、外部記憶媒体
は、ハードディスクで構成するものである。
According to a fifth aspect of the present invention, the external storage medium comprises a hard disk.

【0011】本発明に係る第6の発明は、外部記憶媒体
は、不揮発性メモリ媒体で構成するものである。
In a sixth aspect according to the present invention, the external storage medium comprises a non-volatile memory medium.

【0012】本発明に係る第7の発明は、前記保持手段
に保持された前記判定データを前記情報処理装置に通知
する通知手段を設けたものである。
According to a seventh aspect of the present invention, there is provided a notifying means for notifying the information processing apparatus of the determination data held in the holding means.

【0013】本発明に係る第8の発明は、所定の通信媒
体を介して情報処理装置から受信した入力データに基づ
いてエンジン部による印刷処理を制御する印刷制御装置
のデータ処理方法において、前記入力データを所定のフ
ォーマットに基づいて書き込み可能な記憶媒体に対する
データ書込み処理状態を判定する判定工程と、該データ
データ書込み処理状態の判定結果に基づいて前記記憶媒
体に記憶されていた前記入力データをデータ書き換え前
の状態に復元する復元工程とを有するものである。
An eighth invention according to the present invention relates to a data processing method of a print control device for controlling a print process by an engine unit based on input data received from an information processing device via a predetermined communication medium. A judging step of judging a data write processing state with respect to a storage medium to which data can be written based on a predetermined format, and converting the input data stored in the storage medium based on the judgment result of the data data write processing state; And restoring to a state before rewriting.

【0014】本発明に係る第9の発明は、所定の通信媒
体を介して情報処理装置から受信した入力データに基づ
いてエンジン部による印刷処理を制御するコンピュータ
で使用されるプログラムを記憶した記憶媒体において、
前記入力データを所定のフォーマットに基づいて書き込
み可能な記憶媒体に対するデータ書込み処理状態を判定
する判定工程と、該データデータ書込み処理状態の判定
結果に基づいて前記記憶媒体に記憶されていた前記入力
データをデータ書き換え前の状態に復元する復元工程と
を含む、コンピュータが読むことができるプログラムを
記憶媒体に格納したものである。
A ninth invention according to the present invention is a storage medium storing a program used by a computer for controlling a printing process by an engine unit based on input data received from an information processing apparatus via a predetermined communication medium. At
A judging step of judging a data write processing state for a storage medium to which the input data can be written based on a predetermined format; and the input data stored in the storage medium based on the judgment result of the data data write processing state. And a restoring step of restoring the program to a state before data rewriting, and stores a computer-readable program in a storage medium.

【0015】[0015]

【発明の実施の形態】以下、添付図面に従って本発明に
係る実施形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0016】〔装置構成の説明〕図1は、本発明の第1
実施形態を示す印刷制御装置を適用可能な印刷システム
の構成を説明するブロック図であり、所定の通信媒体を
介して複数のホストコンピュータと複数の印刷装置が通
信可能に構成された場合に対応する。
[Description of Apparatus Configuration] FIG. 1 shows a first embodiment of the present invention.
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a printing control apparatus according to an embodiment can be applied, which corresponds to a case where a plurality of host computers and a plurality of printing apparatuses are configured to be able to communicate via a predetermined communication medium. .

【0017】図において、100は印刷装置本体で、実
施形態の印刷装置本体は大きく分けてコントローラ部1
10とエンジン部120との2つで構成される。
In FIG. 1, reference numeral 100 denotes a printing apparatus main body.
10 and an engine unit 120.

【0018】コントローラ部110は、外部から印刷デ
ータ,制御命令などを受け取り、それに従って不図示の
画像メモリにビットマップデータを作成し、それらをエ
ンジン部120にビデオ信号として転送する。エンジン
部120はコントローラ部110から前述のビデオ信号
を受け取り、その信号を可視像として紙面に作像する
(詳細は後述する)。
The controller unit 110 receives print data, control commands, and the like from the outside, creates bitmap data in an image memory (not shown) according to the print data and control commands, and transfers them to the engine unit 120 as video signals. The engine unit 120 receives the above-described video signal from the controller unit 110, and forms the signal on the paper as a visible image (details will be described later).

【0019】さらにコントローラ部110は、エンジン
部120と通信を行い、外部にエンジン部120の状態
を伝えたりする。
Further, the controller unit 110 communicates with the engine unit 120 to communicate the state of the engine unit 120 to the outside.

【0020】コントローラ部110は、ホストインタフ
ェースプロセッサ(I/O Processor:以下、IOPと
いう)111,CPU114,ROM115,RAM1
16及びバス118,ローカルバスを備えている。な
お、先に説明したように、図示はしていないが、ビット
マップイメージを展開する画像メモリ,エンジン部12
0とのインタフェース,不図示の操作パネルとのインタ
フェース等もバス118上に設けられている。
The controller unit 110 includes a host interface processor (I / O Processor: hereinafter referred to as IOP) 111, a CPU 114, a ROM 115, a RAM 1
16 and a bus 118, and a local bus. As described above, although not shown, an image memory for developing a bitmap image, an engine unit 12 are provided.
An interface with the control panel 0 and an interface with an operation panel (not shown) are also provided on the bus 118.

【0021】119はフラッシュROMで、ホストコン
ピュータ130から受信したデータ群、例えばフォント
データや、マクロ等の各種プログラム等の書き込みが行
われ、後述するデータフォーマットに従ってデータが記
憶管理される。なお、フラッシュROM119には実際
に少しでも更新されたかどうかを示すフラグを記憶する
領域が確保されており、電源等が切断された後の再立ち
上げの際に判断する必要があるので、フラッシュROM
119内のブロック先頭データ群(後述する)の中に設
けられている。
Reference numeral 119 denotes a flash ROM for writing a data group received from the host computer 130, for example, font data, various programs such as macros, and the like, and stores and manages the data in accordance with a data format described later. The flash ROM 119 has an area for storing a flag indicating whether or not the flash ROM 119 has been actually updated, and it is necessary to make a determination at the time of restarting after the power or the like is turned off.
It is provided in a block head data group (described later) in 119.

【0022】IOP111は外部の装置(ホストコンピ
ュータ130)とのデータ送受を行う。ROM115に
は、各種プリンタ言語の印刷データを解釈し、ビットイ
メージを発生するためのプログラム及び装置全体を制御
するプログラム、さらには、フォントデータが記憶され
ている。
The IOP 111 transmits and receives data to and from an external device (host computer 130). The ROM 115 stores a program for interpreting print data in various printer languages and generating a bit image, a program for controlling the entire apparatus, and font data.

【0023】RAM116は、CPU114のワークエ
リアとして使用されるとともに、各種印刷パラメータの
保管,情報処理のワーク領域、さらには印刷装置の状態
情報等の記憶にも用いられる。
The RAM 116 is used as a work area for the CPU 114, and is also used for storing various print parameters, a work area for information processing, and storing status information of the printing apparatus.

【0024】データバス118には、コントローラ部1
10内部で伝達されるデータやアドレス及び制御信号が
流れる。
The data bus 118 includes a controller 1
Data, addresses and control signals transmitted inside 10 flow.

【0025】以下、本実施形態と第1〜第7の発明の各
手段との対応及びその作用について図1等を参照して説
明する。
Hereinafter, the correspondence between this embodiment and each means of the first to seventh inventions and the operation thereof will be described with reference to FIG.

【0026】第1の発明は、所定の通信媒体(ネットワ
ーク)を介して情報処理装置から受信した入力データに
基づいてエンジン部120による印刷処理を制御する印
刷制御装置(コントローラ部110)において、前記入
力データを所定のフォーマットに基づいて書き込み可能
な記憶媒体(フラッシュROM119)と、前記記憶媒
体に対するデータ書込み処理状態を判定する判定データ
を保持する保持手段(フラッシュROM119内)と、
前記保持手段に保持される前記判定データに基づいて前
記記憶媒体に記憶されていた前記入力データをデータ書
き換え前の状態に復元する制御手段(CPU114がR
OM115に記憶された制御プログラムを実行して処理
する)とを有し、前記入力データを所定のフォーマット
に基づいて書き込み可能なフラッシュROM119に対
するデータ書込み処理状態を判定する判定データが保持
され、該保持される前記判定データに基づいてCPU1
14がフラッシュROM119に記憶されていた前記入
力データをデータ書き換え前の状態に復元するので、入
力データを記憶媒体に書き込み中に電源切断等の事態が
発生しても、次の電源投入時に記憶媒体に対するデータ
書込み処理状態を確実に判定して、データ書き込み前の
状態に修復して、印刷処理不能となる事態を回避でき
る。
According to a first aspect of the present invention, there is provided a print control apparatus (controller section 110) for controlling print processing by an engine section 120 based on input data received from an information processing apparatus via a predetermined communication medium (network). A storage medium (flash ROM 119) capable of writing input data based on a predetermined format, and holding means (in flash ROM 119) for holding determination data for determining a data write processing state on the storage medium;
A control unit (CPU 114 determines whether the input data stored in the storage medium has been restored to the state before data rewriting based on the determination data held in the holding unit.
And executes the control program stored in the OM 115). The determination data for determining the state of the data write processing to the flash ROM 119 in which the input data can be written based on a predetermined format is held. CPU 1 based on the judgment data
14 restores the input data stored in the flash ROM 119 to the state before the data is rewritten, so that even if the power supply is turned off while the input data is being written to the storage medium, the storage medium is restored at the next power-on. It is possible to reliably determine the state of the data writing process for the data, restore the state before the data writing, and avoid a situation in which the printing process cannot be performed.

【0027】第2の発明は、第1の発明において、前記
記憶媒体を好ましくはフラッシュROMで構成する。
In a second aspect based on the first aspect, the storage medium is preferably constituted by a flash ROM.

【0028】第3の発明は、第1の発明において、前記
保持手段を好ましくは前記記憶媒体内に設ける。
In a third aspect based on the first aspect, the holding means is preferably provided in the storage medium.

【0029】第4の発明は、第1の発明において、前記
保持手段は、好ましくは外部記憶媒体で構成する。
In a fourth aspect based on the first aspect, the holding means preferably comprises an external storage medium.

【0030】第5の発明は、第4の発明において、外部
記憶媒体は、好ましくはハードディスクで構成するもの
である。
In a fifth aspect based on the fourth aspect, the external storage medium preferably comprises a hard disk.

【0031】第6の発明は、第4の発明において、外部
記憶媒体は、不揮発性メモリ媒体(例えばNVRAM)
で構成するものである。
In a sixth aspect based on the fourth aspect, the external storage medium is a non-volatile memory medium (for example, NVRAM).
It consists of.

【0032】第7の発明は、前記保持手段(フラッシュ
ROM119)に保持された前記判定データを通知手段
(IOP111)が前記情報処理装置に通知するので、
入力データを記憶媒体に書き込み中に電源切断等の事態
が発生しても、次の電源投入時に通知される記憶媒体に
対するデータ書込み処理状態をホスト側が認知して、入
力データの再送等の処理を開始することが可能となる。
According to a seventh aspect, the notifying means (IOP111) notifies the information processing apparatus of the determination data held in the holding means (flash ROM 119).
Even if a power failure occurs while the input data is being written to the storage medium, the host recognizes the status of the data write processing to the storage medium that is notified at the next power-on, and performs processing such as retransmission of the input data. It is possible to start.

【0033】次に、実施形態の印刷装置本体100のエ
ンジン部120について説明する。
Next, the engine unit 120 of the printing apparatus main body 100 of the embodiment will be described.

【0034】図2は、図1に示したエンジン部120の
一例を示す断面構成図であり、例えばレーザビームプリ
ンタの場合に対応し、該レーザビームプリンタは、ホス
トコンピュータから文字パターンの登録や定着書式(フ
ォームデータ)などの登録が行えるように構成されてい
る。
FIG. 2 is a sectional view showing an example of the engine unit 120 shown in FIG. 1, and corresponds to, for example, a laser beam printer. The laser beam printer registers and fixes a character pattern from a host computer. It is configured so that registration of a format (form data) and the like can be performed.

【0035】図において、100は装置本体(LBP)
であり、外部に接続されているホストコンピュータから
供給される文字情報(文字コード)やフォーム情報ある
いはマクロ命令などを入力して記憶するとともに、それ
らの情報に従って対応する文字パターンやフォームパタ
ーンなどを作成し、記録媒体である記録紙上に像を形成
する。
In the figure, reference numeral 100 denotes an apparatus main body (LBP)
In addition to inputting and storing character information (character code), form information, macro commands, etc., supplied from an externally connected host computer, a corresponding character pattern or form pattern is created in accordance with the information. Then, an image is formed on a recording paper as a recording medium.

【0036】700は操作パネルで、操作のためのスイ
ッチ及びLCD表示器などが配されている。701はプ
リンタ制御ユニットで、LBP100全体に制御及びホ
ストコンピュータから供給される文字情報などを解析す
る。このプリンタ制御ユニット701は、主に文字情報
を対応する文字パターンをビデオ信号に変換してレーザ
ドライバ702に出力するものであり、先に説明した図
1のプリンタコントローラ部110に相当する。
An operation panel 700 includes switches for operation, an LCD display, and the like. A printer control unit 701 controls the entire LBP 100 and analyzes character information and the like supplied from the host computer. The printer control unit 701 mainly converts a character pattern corresponding to character information into a video signal and outputs the video signal to the laser driver 702, and corresponds to the printer controller unit 110 in FIG. 1 described above.

【0037】レーザドライバ702は半導体レーザ70
3を駆動するための回路であり、入力されたビデオ信号
に応じて半導体レーザ703から発射されるレーザ光7
04をオン,オフ切替えする。レーザ光704は回転多
面鏡(ポリゴンミラー)705で左右方向に振られ静電
ドラム706上に操作する。これにより、静電ドラム7
06上には文字パターン等の静電潜像が形成される。こ
の潜像は、静電ドラム706周囲の現像ユニット707
により現像された後、記録紙に転送される。
The laser driver 702 is a semiconductor laser 70
And a laser beam emitted from the semiconductor laser 703 in response to an input video signal.
04 is turned on and off. The laser light 704 is swung right and left by a rotating polygon mirror (polygon mirror) 705 to operate on an electrostatic drum 706. Thereby, the electrostatic drum 7
On 06, an electrostatic latent image such as a character pattern is formed. This latent image is stored in a developing unit 707 around the electrostatic drum 706.
And then transferred to recording paper.

【0038】この記録紙にはカットシートを用い、カッ
トシート記録紙は、LBP100に装着した用紙カセッ
ト708に収納され、給紙ローラ709および給送ロー
ラ710と給送ローラ711とにより装置内に取り込ま
れて、静電ドラム706に供給される。そして、現像器
707によって静電ドラム706上に付着されたトナー
像は、搬送されきた記録紙に転写される。その後、記録
紙は定着器712方向に搬送され、トナーが定着され、
最終的に排出ローラ713によって外部に排出される。
A cut sheet is used as the recording paper. The cut sheet recording paper is stored in a paper cassette 708 mounted on the LBP 100, and is taken into the apparatus by a paper feed roller 709, a feed roller 710, and a feed roller 711. And supplied to the electrostatic drum 706. Then, the toner image adhered on the electrostatic drum 706 by the developing device 707 is transferred to the conveyed recording paper. Thereafter, the recording paper is conveyed in the direction of the fixing device 712, where the toner is fixed,
Finally, the sheet is discharged outside by a discharge roller 713.

【0039】図3は、図1に示したフラッシュROM1
19のデータフォーマットを説明する図であり、複数の
ブロックデータとそれに付随する複数のデータ群から構
成されている。
FIG. 3 shows the flash ROM 1 shown in FIG.
FIG. 19 is a diagram for explaining a data format of 19, and is composed of a plurality of block data and a plurality of data groups attached thereto.

【0040】なお、各ブロックには、いくつかのデータ
の集まりが順番に格納されている。これらデータ一種類
のまとまりを以後データ群と呼ぶこととする。データ群
は、そのデータ群の種類を見分けるマークと、そのデー
タ群1つのサイズ情報を持つものとする。データ群の種
類によっては他の必要な情報を格納している。データ群
の種類の例としてはフォントや、マクロ,プログラム等
がある。
In each block, a group of some data is stored in order. One type of such data is hereinafter referred to as a data group. The data group has a mark for distinguishing the type of the data group and size information of one data group. Depending on the type of data group, other necessary information is stored. Examples of data group types include fonts, macros, and programs.

【0041】この図に示す様に、ブロックの先頭には、
ブロック先頭を示すマークと、そのブロック全体に関す
る情報が格納される(ブロック先頭データ群BLD
1)。例えば、そのブロックに含まれるデータ群の数
や、ブロックのサイズ,ブロック全体のチェックサムな
どである。これは一般のデータ群とは種類が異なるので
特殊データ群と呼ぶ。その次には、一般データ群D1,
D2が順番に格納される。
As shown in the figure, at the beginning of the block,
A mark indicating the head of a block and information on the entire block are stored (block head data group BLD).
1). For example, the number of data groups included in the block, the size of the block, the checksum of the entire block, and the like. This is called a special data group because the type is different from the general data group. Then, the general data group D1,
D2 are stored in order.

【0042】データ群D1,D2が連続した後に、ブロ
ックの終了を示す特殊データ群が格納される(ブロック
終了データ群BLDN)。このデータ群以降について
は、そのブロックにおいて格納データの有無を調べない
ことになる。
After the data groups D1 and D2 continue, a special data group indicating the end of the block is stored (block end data group BLDN). After this data group, the existence of stored data in the block is not checked.

【0043】図1に示したフラッシュROM119は、
上記フォーマットに従ってデータが格納される訳である
が、前述したように、フラッシュROM119は再書き
込みの可能な二次記憶装置として機能するものである。
The flash ROM 119 shown in FIG.
The data is stored in accordance with the above-mentioned format. As described above, the flash ROM 119 functions as a rewritable secondary storage device.

【0044】通常、フラッシュROM119に追加して
データ書き込みを行う場合には、前記フォーマットの一
般データ群を追加していくことになる訳である。つま
り、ブロック終了データ群BLDNの割り当て場所に新
たな追加データ群を強制上書き込みし、その直後にブロ
ック終了データ群BLDNを追加書き込みする。
Normally, when writing data in addition to the flash ROM 119, a general data group of the above format is added. In other words, a new additional data group is forcibly written to the allocation location of the block end data group BLDN, and immediately thereafter, the block end data group BLDN is additionally written.

【0045】そして、追加書き込みの結果、ブロック全
体の管理情報が変更されるため、ブロック先頭データ群
BLD1の内容も書き込みの結果に合わせ、書き換えを
行う。
Since the management information of the entire block is changed as a result of the additional writing, the contents of the block head data group BLD1 are also rewritten according to the writing result.

【0046】ところが、書き込み動作を行っている各時
点において、印刷装置本体100の電源が切断された場
合には、フラッシュROM119のフォーマットが崩れ
てしまうために、フラッシュROM119内データの認
識処理時に正常な処理を行うことができなくなる可能性
がある。
However, if the power of the printing apparatus main body 100 is turned off at each time when the writing operation is performed, the format of the flash ROM 119 is destroyed. Processing may not be possible.

【0047】そこで、フラッシュROM119へ書き込
みを行う各段階において、図3に示したブロック先頭デ
ータ群BLD1に確保される(フラッシュROM更新フ
ラグ(フラグ))を用い、後述する手順に従って認識処
理を行い、フォーマット不正有無を判定してブロックデ
ータの再構築処理を行い、正常なデータ処理を続行可能
な状態に設定する。
Therefore, at each stage of writing to the flash ROM 119, a recognition process is performed in accordance with a procedure described later using the (flash ROM update flag (flag)) secured in the block head data group BLD1 shown in FIG. Judgment is made as to whether or not the format is invalid, block data is reconstructed, and normal data processing is continued.

【0048】〔動作説明〕図4は、図1に示したコント
ローラ部110が実行するデータ処理手順の一例を示す
フローチャートである。なお、(1)〜(3)は各ステ
ップを示し、各ステップは図1に示したROM115に
記憶されているものとする。
[Explanation of Operation] FIG. 4 is a flowchart showing an example of a data processing procedure executed by the controller unit 110 shown in FIG. Note that (1) to (3) indicate each step, and it is assumed that each step is stored in the ROM 115 illustrated in FIG.

【0049】先ず、電源が投入されると、ホストコンピ
ュータ130から送信されるデータの受信を待機し
(1)、該受信したデータを解析し、前記解析処理によ
り抽出されたデータが制御コマンドかどうかを判定し
(2)、制御コマンドであると判定された場合には、各
コマンドに基づく処理を実行して(3)、ステップ
(1)へ戻る。
First, when the power is turned on, the apparatus waits for reception of data transmitted from the host computer 130 (1), analyzes the received data, and determines whether the data extracted by the analysis processing is a control command. Is determined (2), and when it is determined that the command is a control command, processing based on each command is executed (3), and the process returns to step (1).

【0050】一方、ステップ(2)で制御コマンドでな
いと判定された場合には、データ待ち状態となる。
On the other hand, if it is determined in step (2) that the received command is not a control command, a data waiting state is set.

【0051】図5は、図4に示したコマンド処理手順の
一例を示すフローチャートであり、図1に示したフラッ
シュROM119へのデータ書き込み処理に対応する。
なお、(1)〜(3)は各ステップを示す。
FIG. 5 is a flowchart showing an example of the command processing procedure shown in FIG. 4, and corresponds to the data write processing to the flash ROM 119 shown in FIG.
Note that (1) to (3) indicate each step.

【0052】先ず、データを受信しながら書き込みを行
ってゆくのであるが、まずフラッシュROM119に書
き込むべきデータを読み込む前に、その書き込みデータ
に関する情報を読み込み(1)、その後に書き込みデー
タを読み込む。この書き込みデータ情報に基づいて、容
量の有無や各種のチェックを行った後に(2)、書き込
み処理は行われる(3)。なお、書き込まれる情報はサ
イズ情報やデータに関しての種類等がある。
First, writing is performed while receiving data. First, before reading data to be written into the flash ROM 119, information on the write data is read (1), and thereafter, the write data is read. Based on this write data information, the presence or absence of the capacity and various checks are performed (2), and then the write process is performed (3). The information to be written includes size information and data types.

【0053】以下、図6に示すフローチャートを参照し
て本発明に係る印刷制御装置のデータ処理動作について
説明する。
Hereinafter, the data processing operation of the print control apparatus according to the present invention will be described with reference to the flowchart shown in FIG.

【0054】図6は、本発明に係る印刷制御装置のデー
タ処理手順の一例を示すフローチャートであり、図1に
示したフラッシュROM119へのデータ書き込み処理
の詳細手順に対応する。なお、(1)〜(7)は各ステ
ップを示す。
FIG. 6 is a flowchart showing an example of the data processing procedure of the print control apparatus according to the present invention, and corresponds to the detailed procedure of the data write processing to the flash ROM 119 shown in FIG. Note that (1) to (7) indicate each step.

【0055】まず、フラッシュROM119内のブロッ
ク先頭データ群BLD1内の情報から、追加すべき領域
を得る(1)。この領域の先頭は図3に示した旧ブロッ
ク終了データ群BLDNである。次いで、該得た領域に
ついて、サイズ等のチェックを行った後(2)、この
際、フラッシュROM119内のブロック先頭データ群
BLD1の中に設けられるフラッシュROM更新フラグ
(実際にフラッシュROM119が少しでも更新された
かどうかを示すフラグ)を「更新中」に設定し(3)、
その後、書き込むデータを読み込み、追加すべき領域に
書き込みを行う(4)。
First, an area to be added is obtained from information in the block head data group BLD1 in the flash ROM 119 (1). The head of this area is the old block end data group BLDN shown in FIG. Next, after checking the size and the like of the obtained area (2), at this time, a flash ROM update flag provided in the block head data group BLD1 in the flash ROM 119 (the flash ROM 119 actually updates even a little) Is set to “updating” (3),
Thereafter, the data to be written is read, and writing is performed in the area to be added (4).

【0056】そして、その直後にブロック終了データ群
BLDNを追記し(5)、これらの書き込んだ情報によ
って、ブロック全体の情報を更新し、ブロック先頭デー
タ群のデータを更新する(6)。次いで、フラッシュR
OM更新フラグを「無更新」に設定して(7)、処理を
終了する。
Immediately after that, the block end data group BLDN is additionally written (5), and the information of the entire block is updated by the written information, and the data of the block head data group is updated (6). Then, flash R
The OM update flag is set to "no update" (7), and the process ends.

【0057】これにより、印刷装置の電源切断が起った
場合は、電源再投入を行った場合のフォーマット不正が
問題となるので、まず、フラッシュROM119の書き
込み処理が始まってから、実際にフラグが「更新中」と
なる前の電源断については、フラッシュROM119に
変更はないので、修復する必要はない。
As a result, when the power of the printing apparatus is turned off, there is a problem of incorrect format when the power is turned on again. First, after the writing process of the flash ROM 119 is started, the flag is actually set. There is no change in the flash ROM 119 for the power interruption before the status is "updating", so there is no need to repair the power.

【0058】一方、上記更新フラグが「更新中」である
場合の電源切断については、ブロック先頭データ群BL
D1のブロックサイズを用いることにより(ブロックサ
イズはまだ更新されていないため書き込み以前のままで
ある)、ブロックサイズ分を残し、その次にブロック終
了データ群BLDNを上書きすることにより、更新作業
を行う前の状態にフラッシュROMフォーマットを戻す
ことが可能である。
On the other hand, when the power is turned off when the update flag is "updating", the block head data group BL
By using the block size of D1 (the block size has not been updated yet and remains before writing), an update operation is performed by leaving the block size and then overwriting the block end data group BLDN. It is possible to return the flash ROM format to the previous state.

【0059】なお、更新フラグが「更新中」である場合
におけるフォーマット修復処理において、電源が切断さ
れたタイミングは、更新フラグをセットしてから追加す
るデータ群を書いている途中のこととしている。
In the format restoration processing when the update flag is "updating", the power is turned off at the time when the data group to be added is being written after the update flag is set.

【0060】また、追加データ群を書き込み終わった
後、ブロック先頭データ群BLD1を更新した後、更新
フラグを「無更新」にするまでの電源断の場合も上記と
同じ方法で、修復することが可能である。
After the additional data group has been written, after the block head data group BLD1 has been updated, the power is cut off until the update flag is set to "no update". It is possible.

【0061】この場合は更新以前の状態に戻す訳でな
く、ブロック先頭データ群BLD1の管理情報を再算出
し、更新した後にフラグを「無更新」とする訳である。
In this case, instead of returning to the state before the update, the management information of the block head data group BLD1 is recalculated, and after updating, the flag is set to "no update".

【0062】以下、本実施形態と第8,第9の発明の各
工程との対応及びその作用について図6等を参照して説
明する。
Hereinafter, the correspondence between this embodiment and the respective steps of the eighth and ninth inventions and the operation thereof will be described with reference to FIG.

【0063】第8の発明は、所定の通信媒体(ネットワ
ーク)を介して情報処理装置(ホストコンピュータ13
0)から受信した入力データに基づいてエンジン部12
0による印刷処理を制御する印刷制御装置のデータ処理
方法において、前記入力データを所定のフォーマットに
基づいて書き込み可能な記憶媒体(フラッシュROM1
19)に対するデータ書込み処理状態を判定する判定工
程(図6のステップ(2))と、該データデータ書込み
処理状態の判定結果に基づいて前記記憶媒体に記憶され
ていた前記入力データをデータ書き換え前の状態に復元
する復元工程(図6のステップ(4)〜(7))とをC
PU114がROM115に記憶された制御プログラム
を実行して、次の電源投入時に記憶媒体に対するデータ
書込み処理状態を確実に判定して、データ書き込み前の
状態に修復して、印刷処理不能となる事態を回避するこ
とを可能とする。
According to an eighth aspect of the present invention, an information processing apparatus (host computer 13) is connected via a predetermined communication medium (network).
0) based on the input data received from the
In a data processing method of a printing control apparatus for controlling a printing process by using a storage medium (flash ROM 1) in which the input data can be written based on a predetermined format.
19) a step of determining the data write processing state (step (2) in FIG. 6); and, based on the determination result of the data write processing state, the input data stored in the storage medium before data rewriting. The restoration process (steps (4) to (7) in FIG. 6) for restoring to the state of FIG.
The PU 114 executes the control program stored in the ROM 115 to reliably determine the state of the data write processing on the storage medium at the next power-on, and restores the state before the data write to disable the print processing. It is possible to avoid.

【0064】本発明に係る第9の発明は、所定の通信媒
体を介して情報処理装置から受信した入力データに基づ
いてエンジン部120による印刷処理を制御するコンピ
ュータで使用されるプログラムを記憶した記憶媒体にお
いて、前記入力データを所定のフォーマットに基づいて
書き込み可能な記憶媒体に対するデータ書込み処理状態
を判定する判定工程(図6のステップ(2))と、該デ
ータデータ書込み処理状態の判定結果に基づいて前記記
憶媒体に記憶されていた前記入力データをデータ書き換
え前の状態に復元する復元工程(図6のステップ(4)
〜(7))とを含む、コンピュータが読むことができる
プログラムを記憶媒体に格納したものである。すなわ
ち、ROM115または図示しないメモリ資源に図6に
示す工程に対応するプログラムコードを記憶させ、該プ
ログラムコードを記憶した記憶媒体からCPU114が
読み出して実行する形態も本発明の実施形態に含まれる
ものである。
According to a ninth aspect of the present invention, there is provided a storage for storing a program used by a computer for controlling a printing process by the engine unit 120 based on input data received from an information processing apparatus via a predetermined communication medium. A determination step (step (2) in FIG. 6) for determining a data write processing state on a storage medium on which the input data can be written based on a predetermined format, based on a determination result of the data data write processing state; Restoring the input data stored in the storage medium to the state before the data rewriting (step (4) in FIG. 6)
To (7)) stored in a storage medium, the program being readable by a computer. That is, the embodiment of the present invention includes a mode in which the program code corresponding to the process shown in FIG. 6 is stored in the ROM 115 or a memory resource (not shown), and the CPU 114 reads out and executes the program code from a storage medium storing the program code. is there.

【0065】上記実施形態において、更新フラグは、フ
ラッシュROM119中に設けることとしていたが、他
の外部二次記憶装置に格納するように構成が可能であ
り、特に、印刷装置においては印刷装置の情報を記憶す
るために小容量のNVRAMと呼ばれる装置を持つのが
通常であり、この中にフラグを設けてもよい。この場
合、フラッシュROM119とは別の装置へのアクセス
になり、フラッシュROM119に対するアクセス回数
も減るために耐久性および信頼性も向上するという副次
効果も得られる。また、上記NVRAMに限らず、ハー
ドディスクのような二次記憶装置が利用可能である場合
においても、本発明を適用することが可能である。
In the above embodiment, the update flag is provided in the flash ROM 119. However, the update flag can be stored in another external secondary storage device. Usually, a device called a small capacity NVRAM is provided to store the information, and a flag may be provided in the device. In this case, an access is made to a device different from the flash ROM 119, and the number of accesses to the flash ROM 119 is reduced, so that a secondary effect of improving durability and reliability is also obtained. Further, the present invention is applicable not only to the above NVRAM but also to a case where a secondary storage device such as a hard disk can be used.

【0066】また、上記実施形態では、更新フラグを用
いて書き込みの有無を判断していたが、通常フラッシュ
ROM等には、データビットの物理的欠陥をチェックす
るためにチェックサムと呼ばれる値をROM内に埋め込
んでいる。これを用いても書き込みの有無を判定するこ
とが可能である。
In the above embodiment, the presence or absence of writing is determined using the update flag. However, a value called a checksum is usually stored in a flash ROM or the like to check a physical defect of a data bit. Embedded inside. Using this, it is possible to determine the presence or absence of writing.

【0067】しかし、物理的な欠陥である場合には誤認
の可能性があるので、フラグとチェックサムの両方で判
断を行うようにすればより確実になろう。
However, if the defect is a physical defect, there is a possibility of erroneous recognition. Therefore, it is more reliable to make the determination using both the flag and the checksum.

【0068】さらに、上記実施形態において、印刷装置
の電源が切断された場合であったが、本発明はホストコ
ンピュータの電源が切断される等により、ホストからデ
ータが受信できなくなった場合にも適用可能である。
Further, in the above embodiment, the case where the power supply of the printing apparatus is turned off has been described. However, the present invention is also applicable to a case where data cannot be received from the host due to the power supply of the host computer being turned off. It is possible.

【0069】この場合はホストコンピュータ130から
書き込むべきデータが受信できなくなったことが判明し
た段階で、フラッシュROM119を書き込みの前の状
態に戻す。
In this case, when it is determined that the data to be written from the host computer 130 cannot be received, the flash ROM 119 is returned to the state before the writing.

【0070】上記実施形態では、フラッシュROM11
9内のフォーマットを修復する方法について説明してき
たが、該電源切断等の事態が生じた場合にホストコンピ
ュータ130に対してこの旨の情報を送信するように構
成してもよい。
In the above embodiment, the flash ROM 11
Although the method of restoring the format in 9 has been described, it may be configured to transmit information to that effect to the host computer 130 when a situation such as the power-off occurs.

【0071】これにより、ホストコンピュータ130に
おける印刷装置に対しての制御プログラム(プリンタド
ライバ)は、書き込みの成功,失敗を認知することがで
き、失敗した場合にはさらに再書き込み処理を行わせる
ことも可能となる。
As a result, the control program (printer driver) for the printing device in the host computer 130 can recognize the success or failure of the writing, and in the case of failure, can further perform the rewriting process. It becomes possible.

【0072】また、前記実施形態では、フラッシュRO
M119内のフォーマット修復する場合について説明し
たが、フォーマット変更に際し、どうしても修復できな
い場合には初期化するようにする構成してもよい。
In the above embodiment, the flash RO
Although the case where the format is repaired in M119 has been described, a configuration may be adopted in which, when the format is changed, if the format cannot be repaired, the format is initialized.

【0073】以下、図7に示すメモリマップを参照して
本発明に係る印刷制御装置で読み出し可能なデータ処理
プログラムの構成について説明する。
Hereinafter, the configuration of a data processing program readable by the print control apparatus according to the present invention will be described with reference to a memory map shown in FIG.

【0074】図7は、本発明に係る印刷制御装置で読み
出し可能な各種データ処理プログラムを格納する記憶媒
体のメモリマップを説明する図である。
FIG. 7 is a view for explaining a memory map of a storage medium for storing various data processing programs which can be read by the print control apparatus according to the present invention.

【0075】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator and the like are also stored, and information dependent on the OS or the like on the program reading side, for example, the program An icon or the like for identification display may also be stored.

【0076】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0077】本実施形態における図4〜図6に示す機能
が外部からインストールされるプログラムによって、ホ
ストコンピュータにより遂行されていてもよい。そし
て、その場合、CD−ROMやフラッシュメモリやFD
等の記憶媒体により、あるいはネットワークを介して外
部の記憶媒体から、プログラムを含む情報群を出力装置
に供給される場合でも本発明は適用されるものである。
The functions shown in FIGS. 4 to 6 in this embodiment may be performed by a host computer by a program installed from the outside. And in that case, CD-ROM, flash memory, FD
The present invention is applicable even when a group of information including a program is supplied to an output device from a storage medium such as the above or from an external storage medium via a network.

【0078】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.

【0079】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0080】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク,ハードディ
スク,光ディスク,光磁気ディスク,CD−ROM,C
D−R,磁気テープ,不揮発性のメモリカード,RO
M,EEPROM等を用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, C
DR, magnetic tape, nonvolatile memory card, RO
M, EEPROM and the like can be used.

【0081】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
The computer executes the readout program code to realize the functions of the above-described embodiment, and also executes an operating system (OS) running on the computer based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0082】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0083】上記実施形態によれば、フラッシュROM
への書き込み処理を行っている場合に不慮の障害等によ
って、書き込み処理が正常に終了できなくなり、その結
果としてフォーマットが崩れることにより、印刷装置の
実行続行が不能になる場合や、再電源投入時の実行不能
時であっても、本発明を適用することにより、フラッシ
ュROMの書き込み前の時点に戻し、もしくはフラッシ
ュROMの初期化を行うことにより、フラッシュROM
フォーマット不正による印刷装置の実行不能を防ぐこと
が可能となる。
According to the above embodiment, the flash ROM
The writing process cannot be completed normally due to an unforeseen failure during the writing process to the printer, and as a result, the format is destroyed, making it impossible to continue execution of the printing apparatus, or when the power is turned on again. Even when the execution of the flash ROM is not possible, by applying the present invention, the flash ROM can be returned to the time before the writing to the flash ROM, or the flash ROM can be initialized.
It is possible to prevent the printing apparatus from being unable to be executed due to an illegal format.

【0084】[0084]

【発明の効果】以上説明したように、本発明に係る第1
〜第6の発明によれば、前記入力データを所定のフォー
マットに基づいて書き込み可能な記憶媒体に対するデー
タ書込み処理状態を判定する判定データが保持手段に保
持され、該保持される前記判定データに基づいて制御手
段が前記記憶媒体に記憶されていた前記入力データをデ
ータ書き換え前の状態に復元するので、入力データを記
憶媒体に書き込み中に電源切断等の事態が発生しても、
次の電源投入時に記憶媒体に対するデータ書込み処理状
態を確実に判定して、データ書き込み前の状態に修復し
て、印刷処理不能となる事態を回避できる。
As described above, the first embodiment according to the present invention is described.
According to the sixth aspect, judgment data for judging a data write processing state on a storage medium to which the input data can be written based on a predetermined format is held in a holding means, and based on the held judgment data, Since the control means restores the input data stored in the storage medium to the state before data rewriting, even if a situation such as power off occurs while writing the input data to the storage medium,
When the power is turned on next time, it is possible to reliably determine the state of the data write processing to the storage medium and restore the state before the data write, thereby avoiding a situation in which the print processing cannot be performed.

【0085】第7の発明によれば、前記保持手段に保持
された前記判定データを通知手段が前記情報処理装置に
通知するので、入力データを記憶媒体に書き込み中に電
源切断等の事態が発生しても、次の電源投入時に通知さ
れる記憶媒体に対するデータ書込み処理状態をホスト側
が認知して、入力データの再送等の処理を開始すること
が可能となる。
According to the seventh aspect, since the notifying means notifies the information processing device of the determination data held in the holding means, a situation such as a power failure occurs while writing the input data to the storage medium. However, the host can recognize the state of the data write processing to the storage medium notified at the next power-on, and start processing such as retransmission of input data.

【0086】第8,第9の発明によれば、前記入力デー
タを所定のフォーマットに基づいて書き込み可能な記憶
媒体に対するデータ書込み処理状態を判定し、該データ
データ書込み処理状態の判定結果に基づいて前記記憶媒
体に記憶されていた前記入力データをデータ書き換え前
の状態に復元するので、次の電源投入時に記憶媒体に対
するデータ書込み処理状態を確実に判定して、データ書
き込み前の状態に修復して、印刷処理不能となる事態を
回避できる。
According to the eighth and ninth aspects of the present invention, the state of the data write processing on the storage medium to which the input data can be written in a predetermined format is determined, and based on the determination result of the data data write processing state. Since the input data stored in the storage medium is restored to the state before data rewriting, the data writing processing state for the storage medium is reliably determined at the next power-on, and the state before data writing is restored. Thus, it is possible to avoid a situation in which print processing cannot be performed.

【0087】従って、情報処理装置側から受信した印刷
処理に必要な資源をメモリ資源に正常に書き込み完了す
る前に、不測の事態で電源が遮断されても、受信される
入力データを正常に処理できる状態に遷移させることが
できる等の効果を奏する。
Therefore, before the resources necessary for the printing process received from the information processing apparatus are completely written into the memory resources, even if the power is shut off in an unexpected situation, the received input data can be processed normally. There are effects such as being able to make a transition to a possible state.

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

【図1】本発明の第1実施形態を示す印刷制御装置を適
用可能な印刷システムの構成を説明するブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a print control device according to a first embodiment of the present invention can be applied.

【図2】図1に示したエンジン部の一例を示す断面構成
図である。
FIG. 2 is a sectional view showing an example of an engine unit shown in FIG.

【図3】図1に示したフラッシュROMのデータフォー
マットを説明する図である。
FIG. 3 is a view for explaining a data format of a flash ROM shown in FIG. 1;

【図4】図1に示したコントローラ部が実行するデータ
処理手順の一例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of a data processing procedure executed by a controller unit illustrated in FIG. 1;

【図5】図4に示したコマンド処理手順の一例を示すフ
ローチャートである。
FIG. 5 is a flowchart illustrating an example of a command processing procedure illustrated in FIG. 4;

【図6】本発明に係る印刷制御装置のデータ処理手順の
一例を示すフローチャートである。
FIG. 6 is a flowchart illustrating an example of a data processing procedure of the print control apparatus according to the present invention.

【図7】本発明に係る印刷制御装置で読み出し可能な各
種データ処理プログラムを格納する記憶媒体のメモリマ
ップを説明する図である。
FIG. 7 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the print control device according to the present invention.

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

100 印刷装置本体 110 コントローラ部 111 IOP 114 CPU 115 ROM 116 RAM 119 フラッシュROM 120 エンジン部 Reference Signs List 100 printing apparatus main body 110 controller unit 111 IOP 114 CPU 115 ROM 116 RAM 119 flash ROM 120 engine unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介して情報処理装置か
ら受信した入力データに基づいてエンジン部による印刷
処理を制御する印刷制御装置において、 前記入力データを所定のフォーマットに基づいて書き込
み可能な記憶媒体と、 前記記憶媒体に対するデータ書込み処理状態を判定する
判定データを保持する保持手段と、 前記保持手段に保持される前記判定データに基づいて前
記記憶媒体に記憶されていた前記入力データをデータ書
き換え前の状態に復元する制御手段と、を有することを
特徴とする印刷制御装置。
1. A print control apparatus for controlling print processing by an engine unit based on input data received from an information processing apparatus via a predetermined communication medium, wherein the input data is writable based on a predetermined format. Medium, holding means for holding determination data for determining a state of data writing processing to the storage medium, and data rewriting of the input data stored in the storage medium based on the determination data held in the holding means Control means for restoring a previous state.
【請求項2】 前記記憶媒体は、フラッシュROMであ
ることを特徴とする請求項1記載の印刷制御装置。
2. The print control device according to claim 1, wherein the storage medium is a flash ROM.
【請求項3】 前記保持手段を前記記憶媒体内に設ける
ことを特徴とする請求項1記載の印刷制御装置。
3. The printing control apparatus according to claim 1, wherein said holding means is provided in said storage medium.
【請求項4】 前記保持手段は、外部記憶媒体で構成す
ることを特徴とする請求項1記載の印刷制御装置。
4. The print control apparatus according to claim 1, wherein said holding means is constituted by an external storage medium.
【請求項5】 外部記憶媒体は、ハードディスクで構成
することを特徴とする請求項4記載の印刷制御装置。
5. The print control device according to claim 4, wherein the external storage medium is constituted by a hard disk.
【請求項6】 外部記憶媒体は、不揮発性メモリ媒体で
構成することを特徴とする請求項4記載の印刷制御装
置。
6. The print control device according to claim 4, wherein the external storage medium is constituted by a nonvolatile memory medium.
【請求項7】 前記保持手段に保持された前記判定デー
タを前記情報処理装置に通知する通知手段を具備したこ
とを特徴とする請求項1記載の印刷制御装置。
7. The print control apparatus according to claim 1, further comprising a notification unit that notifies the information processing apparatus of the determination data stored in the storage unit.
【請求項8】 所定の通信媒体を介して情報処理装置か
ら受信した入力データに基づいてエンジン部による印刷
処理を制御する印刷制御装置のデータ処理方法におい
て、 前記入力データを所定のフォーマットに基づいて書き込
み可能な記憶媒体に対するデータ書込み処理状態を判定
する判定工程と、 該データデータ書込み処理状態の判定結果に基づいて前
記記憶媒体に記憶されていた前記入力データをデータ書
き換え前の状態に復元する復元工程と、を有することを
特徴とする印刷制御装置のデータ処理方法。
8. A data processing method of a print control device for controlling a print process by an engine unit based on input data received from an information processing device via a predetermined communication medium, wherein the input data is formed based on a predetermined format. A judging step of judging a data write processing state with respect to a writable storage medium; and restoring the input data stored in the storage medium to a state before data rewriting based on the judgment result of the data data write processing state. And a data processing method of the print control device.
【請求項9】 所定の通信媒体を介して情報処理装置か
ら受信した入力データに基づいてエンジン部による印刷
処理を制御するコンピュータで使用されるプログラムを
記憶した記憶媒体において、 前記入力データを所定のフォーマットに基づいて書き込
み可能な記憶媒体に対するデータ書込み処理状態を判定
する判定工程と、 該データデータ書込み処理状態の判定結果に基づいて前
記記憶媒体に記憶されていた前記入力データをデータ書
き換え前の状態に復元する復元工程とを含む、コンピュ
ータが読むことができるプログラムを格納したことを特
徴とする記憶媒体。
9. A storage medium storing a program used by a computer that controls print processing by an engine unit based on input data received from an information processing device via a predetermined communication medium, wherein the input data is stored in a storage medium. A determination step of determining a data write processing state for a writable storage medium based on a format; and a state before rewriting the input data stored in the storage medium based on the determination result of the data write processing state. And a restoring step of restoring the program to a computer.
JP8237447A 1996-09-09 1996-09-09 Print controller and its data processing method, and storage medium stored with computer-readable program Pending JPH1083265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8237447A JPH1083265A (en) 1996-09-09 1996-09-09 Print controller and its data processing method, and storage medium stored with computer-readable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8237447A JPH1083265A (en) 1996-09-09 1996-09-09 Print controller and its data processing method, and storage medium stored with computer-readable program

Publications (1)

Publication Number Publication Date
JPH1083265A true JPH1083265A (en) 1998-03-31

Family

ID=17015488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8237447A Pending JPH1083265A (en) 1996-09-09 1996-09-09 Print controller and its data processing method, and storage medium stored with computer-readable program

Country Status (1)

Country Link
JP (1) JPH1083265A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104432A (en) * 2007-10-24 2009-05-14 Kyocera Mita Corp Information management device
JP2011245817A (en) * 2010-05-31 2011-12-08 Fujitsu Component Ltd Printing apparatus and method of controlling the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104432A (en) * 2007-10-24 2009-05-14 Kyocera Mita Corp Information management device
JP2011245817A (en) * 2010-05-31 2011-12-08 Fujitsu Component Ltd Printing apparatus and method of controlling the same

Similar Documents

Publication Publication Date Title
US8020159B2 (en) System and apparatus for and method of downloading a program, image formation apparatus, and computer product
JP2000019891A (en) Image forming device and its control method, and storage medium
JP4454875B2 (en) Image recording apparatus control method and image recording apparatus
US8570583B2 (en) Method for controlling an image forming apparatus using information from a detachable recording medium
US6493101B1 (en) Program management apparatus and method, and program product therefor
JPH1083265A (en) Print controller and its data processing method, and storage medium stored with computer-readable program
JP2001344156A (en) Device with flash memory and data rewriting method
JP3943711B2 (en) Printing apparatus, history recording method, and computer-readable recording medium recording program
JP3209911B2 (en) Print control device and data processing method of print control device
US7133624B2 (en) Image forming apparatus and program update method in the apparatus
US20220147343A1 (en) Tranistionary firmware packages
KR950006615B1 (en) The emulator for executing second language application program on computer having first language operating system
JP4575112B2 (en) Firmware rewriting method, disk drive device, and information processing system
JPH11306006A (en) Peripheral device and storage medium
JP2000263895A (en) Image output control device, status outputting method thereof and memory medium storing program readable by computer
JP2000010743A (en) Printer and memory resource information detecting method for printer, and computer-readable storage medium stored with program
JPH06219021A (en) Image forming device
JP3524403B2 (en) Interface device, data processing method for interface device, and storage medium storing computer readable program
JP2006107388A (en) Information processor, and information processing method and program
JPH07146837A (en) Computer peripheral device and program update control method for the same
JPH1199730A (en) Printer and its control method
JP2001249738A (en) Electronic equipment, reset control method and storage medium
JPH11348390A (en) Printer, method for dealing with failure and memory medium
JPH11320984A (en) Output unit and control method therefor
JPH10293670A (en) Print controller, print control method and storage medium storing computer readable program