JPH07334327A - Printer, printing system, and memory resource managing method for the system - Google Patents

Printer, printing system, and memory resource managing method for the system

Info

Publication number
JPH07334327A
JPH07334327A JP6132186A JP13218694A JPH07334327A JP H07334327 A JPH07334327 A JP H07334327A JP 6132186 A JP6132186 A JP 6132186A JP 13218694 A JP13218694 A JP 13218694A JP H07334327 A JPH07334327 A JP H07334327A
Authority
JP
Japan
Prior art keywords
parameter
storage means
stored
storage
storage area
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
JP6132186A
Other languages
Japanese (ja)
Inventor
Hitoshi Okuyama
仁士 奥山
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 JP6132186A priority Critical patent/JPH07334327A/en
Publication of JPH07334327A publication Critical patent/JPH07334327A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To securely prevent the efficiency of printing process from decreasing owing to the easy loss of originally required information with different priority, etc., corresponding to an unequivocal information wiring process by holding necessary important information in a storage medium having limited storage capacity. CONSTITUTION:When, parameter writing is instructed, a CPU 22a updates and registers an instructed new parameter to be written in a free area in a parameter storage area secured by erasing some parameters of low priority stored in the nonvolatile memory 23 by referring to a parameter write state in the parameter storage area of the nonvolatile memory 23 and the process time in priority decision data stored in a RAM 22c.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷処理に必要な種々
の情報を記憶するためのメモリ資源を有する印刷装置並
びに印刷システムおよび印刷システムのメモリ資源管理
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus having a memory resource for storing various information necessary for printing processing, a printing system, and a memory resource management method for the printing system.

【0002】[0002]

【従来の技術】従来の印刷装置あるいは印刷システムで
は印刷処理に必要な種々の情報を記憶するためのメモリ
資源を備え、例えば所定記憶容量の不揮発性メモリに対
するパラメータの書き込みが順次行われて、新規のパラ
メータ書き込みができない状態、すなわち、メモリフル
状態になってしまった場合は、何の判別もせずに当該不
揮発性メモリ内に格納されたパラメータを一義的に選択
して、その領域を書き換えるメモリ管理を実行してい
た。
2. Description of the Related Art A conventional printing apparatus or printing system is provided with a memory resource for storing various kinds of information necessary for a printing process. For example, a parameter is sequentially written into a non-volatile memory having a predetermined storage capacity. If the parameters cannot be written, that is, if the memory is full, the parameters stored in the non-volatile memory are uniquely selected and the area is rewritten. Memory management Was running.

【0003】[0003]

【発明が解決しようとする課題】そのため、本来電源立
ち上げ時などに設定することで途中の処理時間を短縮す
るために効果をあげる重要なパラメータが不揮発性メモ
リが一杯になった時点で強制消去されてしまう事態が誘
発され、重要なパラメータが常に不揮発性メモリに記憶
されているという状態を何ら保証することができないと
いう問題点があった。
Therefore, an important parameter that is effective for shortening the processing time in the middle by setting it at the time of power-on is forcibly erased when the nonvolatile memory becomes full. However, there is a problem in that it is impossible to guarantee that important parameters are always stored in the nonvolatile memory.

【0004】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1〜第12の発明の目
的は、不揮発性メモリの各パラメータ毎の処理条件を判
別して、不揮発性メモリがフル時に書き換えるパラメー
タを判別することにより、限られた容量の記憶媒体内に
必要とされる重要な情報を保持して、一義的な情報書き
込み処理に応じて本来必要とされる優先度等が異なる情
報が容易に消失されてしまうことによる、印刷処理効率
の低下を確実に防止できる印刷装置並びに印刷システム
および印刷システムのメモリ資源管理方法を提供するこ
とである。
The present invention has been made to solve the above problems, and an object of the first to twelfth inventions of the present invention is to determine a processing condition for each parameter of a nonvolatile memory. By determining the parameters to be rewritten when the non-volatile memory is full, important information that is needed is held in a storage medium with a limited capacity, and is originally needed according to a unique information writing process. It is an object of the present invention to provide a printing apparatus, a printing system, and a memory resource management method for the printing system, which can surely prevent a decrease in print processing efficiency due to information of different priorities and the like being easily erased.

【0005】[0005]

【課題を解決するための手段】本発明に係る第1の発明
は、ホストコンピュータから印刷情報を受信し、該受信
した印刷情報を解析して記録媒体に印刷を行う印刷装置
において、前記ホストコンピュータから受信する印刷情
報を処理するために必要な印刷装置本体に設定する所定
の印刷処理条件に対応する種々のパラメータを所定記憶
容量のパラメータ格納領域内に記憶する第1の記憶手段
と、この第1の記憶手段に記憶された各パラメータに従
う印刷処理条件を設定するのに要する処理時間を各パラ
メータ毎に記憶する第2の記憶手段と、前記第1の記憶
手段に対するパラメータの書き込みを指示する指示手段
と、第1の記憶手段のパラメータ格納領域内の各パラメ
ータと前記第2の記憶手段に記憶された各パラメータの
処理時間とから書き換え可能なパラメータの優先順位を
決定するための優先度判別テーブルを記憶する第3の記
憶手段と、前記指示手段によるパラメータ書き込み指示
時に、前記第1の記憶手段のパラメータ格納領域のパラ
メータ書き込み状態と前記第3の記憶手段に記憶された
優先度判別データとを参照して、前記第1の記憶手段に
記憶されたいずれかのパラメータを消去して確保される
パラメータ格納領域の空き領域に書き込み指示された新
規パラメータを更新登録するパラメータ更新手段とを設
けたものである。
According to a first aspect of the present invention, there is provided a printing apparatus which receives print information from a host computer, analyzes the received print information, and prints on a recording medium. First storage means for storing, in a parameter storage area of a predetermined storage capacity, various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information received from the printer; Second storage means for storing, for each parameter, the processing time required to set the print processing condition according to each parameter stored in the first storage means, and an instruction for instructing writing of the parameter to the first storage means. Means, each parameter in the parameter storage area of the first storage means, and the processing time of each parameter stored in the second storage means. Third storage means for storing a priority determination table for determining the priority order of the replaceable parameters, and a parameter writing state of the parameter storage area of the first storage means at the time of the parameter writing instruction by the instructing means. With reference to the priority determination data stored in the third storage means, a write instruction is issued to a free area of a parameter storage area secured by erasing any of the parameters stored in the first storage means. And a parameter updating means for updating and registering the created new parameter.

【0006】本発明に係る第2の発明は、ホストコンピ
ュータから印刷情報を受信し、該受信した印刷情報を解
析して記録媒体に印刷を行う印刷装置において、前記ホ
ストコンピュータから受信する印刷情報を処理するため
に必要な印刷装置本体に設定する所定の印刷処理条件に
対応する種々のパラメータを所定記憶容量のパラメータ
格納領域内に記憶する第1の記憶手段と、この第1の記
憶手段に記憶された各パラメータの設定に必要とされる
リセットレベルを各パラメータ毎に記憶する第2の記憶
手段と、前記第1の記憶手段に対するパラメータの書き
込みを指示する指示手段と、第1の記憶手段のパラメー
タ格納領域内の各パラメータと前記第2の記憶手段に記
憶された各パラメータのリセットレベルとから書き換え
可能なパラメータの優先順位を決定するための優先度判
別テーブルを記憶する第3の記憶手段と、前記指示手段
によるパラメータ書き込み指示時に、前記第1の記憶手
段のパラメータ格納領域のパラメータ書き込み状態と前
記第3の記憶手段に記憶された優先度判別データとを参
照して、前記第1の記憶手段に記憶されたいずれかのパ
ラメータを消去して確保されるパラメータ格納領域の空
き領域に書き込み指示された新規パラメータを更新登録
するパラメータ更新手段とを設けたものである。
According to a second aspect of the present invention, in a printing apparatus which receives print information from a host computer, analyzes the received print information and prints it on a recording medium, the print information received from the host computer is First storage means for storing, in a parameter storage area having a predetermined storage capacity, various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing, and stored in the first storage means. A second storage means for storing, for each parameter, a reset level required for setting each of the set parameters, an instruction means for instructing writing of the parameter to the first storage means, and a first storage means. Parameter rewritable from each parameter in the parameter storage area and the reset level of each parameter stored in the second storage means Third storage means for storing a priority determination table for determining the priority order, and a parameter writing state in the parameter storage area of the first storage means and the third storage when the parameter writing instruction is given by the instructing means. By referring to the priority determination data stored in the means, a new parameter instructed to be written is written in a free area of the parameter storage area secured by erasing any of the parameters stored in the first storage means. A parameter updating unit for updating and registering is provided.

【0007】本発明に係る第3の発明は、パラメータ更
新手段が第1の記憶手段に記憶されたいずれかのパラメ
ータを消去して確保されるパラメータ格納領域の空き領
域に書き込み指示された新規パラメータを更新登録する
際に、消去されるパラメータ格納領域に記憶されたいず
れかのパラメータをホストコンピュータにステータスと
して送信する送信手段を設けたものである。
A third aspect of the present invention is a new parameter instructed to be written in a free area of a parameter storage area secured by erasing one of the parameters stored in the first storage means by the parameter updating means. A transmission means is provided for transmitting any of the parameters stored in the parameter storage area to be erased to the host computer as the status when the update is registered.

【0008】本発明に係る第4の発明は、指示手段は、
ホストコンピュータからのコマンドを解析して第1の記
憶手段に対するパラメータの書き込みを指示するように
構成したものである。
According to a fourth aspect of the present invention, the indicating means is
The command from the host computer is analyzed to instruct the writing of the parameter to the first storage means.

【0009】本発明に係る第5の発明は、パラメータ更
新手段は、新規パラメータを第1の記憶手段に登録した
場合に、第3の記憶手段に記憶される優先度判別テーブ
ルを順次更新するように構成したものである。
According to a fifth aspect of the present invention, the parameter updating means sequentially updates the priority determination table stored in the third storage means when a new parameter is registered in the first storage means. It is configured in.

【0010】本発明に係る第6の発明は、第1の記憶手
段は、不揮発性メモリで構成したものである。
According to a sixth aspect of the present invention, the first storage means comprises a non-volatile memory.

【0011】本発明に係る第7の発明は、印刷処理条件
は、印刷装置本体のメモリ資源に対する割り当て条件で
あるものである。
According to a seventh aspect of the present invention, the print processing condition is an allocation condition for the memory resource of the printing apparatus main body.

【0012】本発明に係る第8の発明は、印刷処理条件
は、印刷装置本体に設定可能な印刷モードに従うデータ
処理条件であるものである。
According to an eighth aspect of the present invention, the print processing condition is a data processing condition according to a print mode that can be set in the printer body.

【0013】本発明に係る第9の発明は、複数のホスト
コンピュータから所定のネットワークを介して印刷情報
を受信し、該受信した印刷情報を解析して記録媒体に印
刷を行う印刷装置を複数接続して構成される印刷システ
ムにおいて、前記ホストコンピュータから受信する印刷
情報を処理するために必要な印刷装置本体に設定する所
定の印刷処理条件に対応する種々のパラメータを所定記
憶容量のパラメータ格納領域内に記憶する第1の記憶手
段と、この第1の記憶手段に記憶された各パラメータに
従う印刷処理条件を設定するのに要する処理時間を各パ
ラメータ毎に記憶する第2の記憶手段と、前記第1の記
憶手段に対するパラメータの書き込みを指示する指示手
段と、第1の記憶手段のパラメータ格納領域内の各パラ
メータと前記第2の記憶手段に記憶された各パラメータ
の処理時間とから書き換え可能なパラメータの優先順位
を決定するための優先度判別テーブルを記憶する第3の
記憶手段と、前記指示手段によるパラメータ書き込み指
示時に、前記第1の記憶手段のパラメータ格納領域のパ
ラメータ書き込み状態と前記第3の記憶手段に記憶され
た優先度判別データとを参照して、前記第1の記憶手段
に記憶されたいずれかのパラメータを消去して確保され
るパラメータ格納領域の空き領域に書き込み指示された
新規パラメータを更新登録するパラメータ更新手段とを
各印刷装置側に設けたものである。
According to a ninth aspect of the present invention, a plurality of printing apparatuses that receive print information from a plurality of host computers via a predetermined network, analyze the received print information, and print on a recording medium are connected. In a printing system configured as described above, various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information received from the host computer are stored in a parameter storage area of a predetermined storage capacity. A first storage unit for storing the processing time required to set a print processing condition according to each parameter stored in the first storage unit for each parameter; Instruction means for instructing writing of parameters to one storage means, each parameter in the parameter storage area of the first storage means, and the second storage means Third storage means for storing a priority determination table for determining the priority of rewritable parameters from the processing time of each parameter stored in the storage means; One of the parameters stored in the first storage means is erased by referring to the parameter writing state in the parameter storage area of the first storage means and the priority determination data stored in the third storage means. And a parameter updating unit for updating and registering a new parameter instructed to be written in an empty area of the parameter storage area secured by the printing apparatus.

【0014】本発明に係る第10の発明は、複数のホス
トコンピュータから所定のネットワークを介して印刷情
報を受信し、該受信した印刷情報を解析して記録媒体に
印刷を行う印刷装置を複数接続して構成される印刷シス
テムにおいて、前記ホストコンピュータから受信する印
刷情報を処理するために必要な印刷装置本体に設定する
所定の印刷処理条件に対応する種々のパラメータを所定
記憶容量のパラメータ格納領域内に記憶する第1の記憶
手段と、この第1の記憶手段に記憶された各パラメータ
の設定に必要とされるリセット処理レベルを各パラメー
タ毎に記憶する第2の記憶手段と、前記第1の記憶手段
に対するパラメータの書き込みを指示する指示手段と、
第1の記憶手段のパラメータ格納領域内の各パラメータ
と前記第2の記憶手段に記憶された各パラメータのリセ
ット処理レベルとから書き換え可能なパラメータの優先
順位を決定するための優先度判別テーブルを記憶する第
3の記憶手段と、前記指示手段によるパラメータ書き込
み指示時に、前記第1の記憶手段のパラメータ格納領域
のパラメータ書き込み状態と前記第3の記憶手段に記憶
された優先度判別データとを参照して、前記第1の記憶
手段に記憶されたいずれかのパラメータを消去して確保
されるパラメータ格納領域の空き領域に書き込み指示さ
れた新規パラメータを更新登録するパラメータ更新手段
とを設けたものである。
According to a tenth aspect of the present invention, a plurality of printing apparatuses are connected which receive print information from a plurality of host computers via a predetermined network, analyze the received print information, and print on a recording medium. In a printing system configured as described above, various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information received from the host computer are stored in a parameter storage area of a predetermined storage capacity. A first storage unit for storing the reset processing level required for setting each parameter stored in the first storage unit for each parameter, and the first storage unit for storing the reset processing level for each parameter. An instruction means for instructing the writing of the parameter to the storage means,
A priority determination table for determining the priority of rewritable parameters is stored from each parameter in the parameter storage area of the first storage means and the reset processing level of each parameter stored in the second storage means. The third storage unit for performing the parameter writing, the parameter writing state of the parameter storage area of the first storing unit and the priority determination data stored in the third storing unit when the parameter writing instruction is given by the instructing unit. And a parameter updating means for updating and registering a new parameter instructed to be written in a free area of the parameter storage area secured by erasing any of the parameters stored in the first storage means. .

【0015】本発明に係る第11の発明は、複数のホス
トコンピュータから所定のネットワークを介して印刷情
報を受信し、該受信した印刷情報を解析して記録媒体に
印刷を行う印刷装置を複数接続し、各ホストコンピュー
タから受信する印刷情報を処理するために必要な印刷装
置本体に設定する所定の印刷処理条件に対応する種々の
パラメータを所定記憶容量のパラメータ格納領域内に記
憶する第1の記憶手段と、この第1の記憶手段に記憶さ
れた各パラメータに従う印刷処理条件を設定するのに要
する処理時間を各パラメータ毎に記憶する第2の記憶手
段と、前記第1の記憶手段に対するパラメータの書き込
みを指示する指示手段と、第1の記憶手段のパラメータ
格納領域内の各パラメータと前記第2の記憶手段に記憶
された各パラメータの処理時間とから書き換え可能なパ
ラメータの優先順位を決定するための優先度判別テーブ
ルを記憶する第3の記憶手段とを有する印刷システムの
メモリ資源管理方法において、前記指示手段によるパラ
メータ書き込み指示時に、前記第1の記憶手段のパラメ
ータ格納領域のパラメータ書き込み状態と前記第3の記
憶手段に記憶された優先度判別データとを参照する参照
工程と、前記第1の記憶手段に記憶されたいずれかのパ
ラメータを消去して確保されるパラメータ格納領域の空
き領域に書き込み指示された新規パラメータを更新登録
するパラメータ更新工程とを有するものである。
An eleventh aspect of the present invention is to connect a plurality of printing apparatuses that receive print information from a plurality of host computers via a predetermined network, analyze the received print information, and print on a recording medium. A first storage for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information received from each host computer in a parameter storage area of a predetermined storage capacity. Means, a second storage means for storing the processing time required to set the print processing conditions according to each parameter stored in the first storage means, and a parameter for the first storage means. Instructing means for instructing writing, each parameter in the parameter storage area of the first storage means, and each parameter stored in the second storage means. In the memory resource management method of the printing system having a third storage unit for storing a priority determination table for determining the priority order of rewritable parameters from the processing time of A reference step of referring to the parameter writing state of the parameter storage area of the first storage means and the priority determination data stored in the third storage means, and one of the reference steps stored in the first storage means. And a parameter updating step of updating and registering a new parameter instructed to be written in a free area of the parameter storage area secured by erasing the parameter.

【0016】本発明に係る第12の発明は、複数のホス
トコンピュータから所定のネットワークを介して印刷情
報を受信し、該受信した印刷情報を解析して記録媒体に
印刷を行う印刷装置を複数接続し、各ホストコンピュー
タから受信する印刷情報を処理するために必要な印刷装
置本体に設定する所定の印刷処理条件に対応する種々の
パラメータを所定記憶容量のパラメータ格納領域内に記
憶する第1の記憶手段と、この第1の記憶手段に記憶さ
れた各パラメータの設定に必要とされるリセット処理レ
ベルを各パラメータ毎に記憶する第2の記憶手段と、前
記第1の記憶手段に対するパラメータの書き込みを指示
する指示手段と、第1の記憶手段のパラメータ格納領域
内の各パラメータと前記第2の記憶手段に記憶された各
パラメータのリセット処理レベルとから書き換え可能な
パラメータの優先順位を決定するための優先度判別テー
ブルを記憶する第3の記憶手段とを有する印刷システム
のメモリ資源管理方法において、前記指示手段によるパ
ラメータ書き込み指示時に、前記第1の記憶手段のパラ
メータ格納領域のパラメータ書き込み状態と前記第3の
記憶手段に記憶された優先度判別データとを参照する参
照工程と、前記第1の記憶手段に記憶されたいずれかの
パラメータを消去して確保されるパラメータ格納領域の
空き領域に書き込み指示された新規パラメータを更新登
録するパラメータ更新工程とを有するものである。
A twelfth aspect of the present invention is to connect a plurality of printing apparatuses that receive print information from a plurality of host computers via a predetermined network, analyze the received print information, and print on a recording medium. A first storage for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information received from each host computer in a parameter storage area of a predetermined storage capacity. Means, a second storage means for storing a reset processing level required for setting each parameter stored in the first storage means for each parameter, and a writing of the parameter to the first storage means. Instructing means for instructing, resetting each parameter in the parameter storage area of the first storing means, and resetting each parameter stored in the second storing means. In a memory resource management method of a printing system having a third storage unit for storing a priority determination table for determining the priority order of rewritable parameters from the print processing level, when a parameter writing instruction is given by the instruction unit, A reference step of referring to the parameter writing state of the parameter storage area of the first storage means and the priority determination data stored in the third storage means, and one of the reference steps stored in the first storage means. And a parameter updating step of updating and registering a new parameter instructed to be written in a free area of the parameter storage area secured by erasing the parameter.

【0017】[0017]

【作用】第1の発明においては、指示手段によるパラメ
ータ書き込み指示時に、第1の記憶手段のパラメータ格
納領域のパラメータ書き込み状態と第3の記憶手段に記
憶された優先度判別データ中の処理時間とを参照して、
パラメータ更新手段が前記第1の記憶手段に記憶された
いずれかの優先度の低いパラメータを消去することによ
り確保されるパラメータ格納領域の空き領域に対して書
き込み指示された新規パラメータを更新登録して、優先
度の高い既に書き込まれたパラメータ設定に処理時間を
要するパラメータが書き換えられてしまうことを確実に
防止する。
According to the first aspect of the present invention, when the parameter writing is instructed by the instructing means, the parameter writing state in the parameter storage area of the first storing means and the processing time in the priority determination data stored in the third storing means are set. See
The parameter updating means updates and registers a new parameter instructed to be written in an empty area of the parameter storage area secured by deleting any low-priority parameter stored in the first storage means. Therefore, it is possible to reliably prevent rewriting of a parameter having a high processing time that requires a processing time to set a parameter having a high priority.

【0018】第2の発明においては、指示手段によるパ
ラメータ書き込み指示時に、前記第1の記憶手段のパラ
メータ格納領域のパラメータ書き込み状態と前記第3の
記憶手段に記憶された優先度判別データ中のリセットレ
ベルとを参照して、パラメータ更新手段が前記第1の記
憶手段に記憶されたいずれかのパラメータを消去するこ
とにより確保されるパラメータ格納領域の空き領域に対
して書き込み指示された新規パラメータを更新登録し
て、優先度の高い既に書き込まれた内部リセット処理を
必要とするパラメータが書き換えられてしまうことを確
実に防止する。
In the second invention, when the parameter writing is instructed by the instructing means, the parameter writing state of the parameter storing area of the first storing means and the reset of the priority determination data stored in the third storing means are reset. With reference to the level, the parameter updating means updates the new parameter instructed to be written in the empty area of the parameter storage area secured by deleting any of the parameters stored in the first storage means. By registering, it is possible to surely prevent rewriting of a parameter having a high priority which has already been written and which requires the internal reset process.

【0019】第3の発明においては、パラメータ更新手
段が第1の記憶手段に記憶されたいずれかのパラメータ
を消去して確保されるパラメータ格納領域の空き領域に
書き込み指示された新規パラメータを更新登録する際
に、送信手段が消去されるパラメータ格納領域に記憶さ
れたいずれかのパラメータをホストコンピュータにステ
ータスとして送信して、デフォルト値として存在しなく
なった情報をホスト側で保存することを可能とする。
In the third aspect of the invention, the parameter updating means updates and registers a new parameter instructed to be written in an empty area of the parameter storage area secured by erasing any of the parameters stored in the first storage means. When sending, the sending means sends one of the parameters stored in the parameter storage area to be deleted to the host computer as the status, and it becomes possible for the host side to save the information that no longer exists as the default value. .

【0020】第4の発明においては、指示手段は、ホス
トコンピュータからのコマンドを解析して第1の記憶手
段に対するパラメータの書き込みを指示して、ホストコ
ンピュータから第1の記憶手段に対するパラメータの書
き換えを容易に指示可能とする。
In the fourth invention, the instructing means analyzes the command from the host computer to instruct to write the parameter in the first storage means, and rewrites the parameter in the first storage means from the host computer. Allows easy instruction.

【0021】第5の発明においては、パラメータ更新手
段は、新規パラメータを第1の記憶手段に登録した場合
に、第3の記憶手段に記憶される優先度判別テーブルを
順次更新して、第1の記憶手段の各パラメータの書き換
えが実行され、次のパラメータ書き換えが指示された場
合に、第1の記憶手段から消去してもよい最適なパラメ
ータ候補を選択できるように各パラメータの優先度を管
理する。
In the fifth invention, the parameter updating means sequentially updates the priority judgment table stored in the third storage means when the new parameter is registered in the first storage means, and the first parameter is updated. When the rewriting of each parameter in the storage means is executed and the next parameter rewriting is instructed, the priority of each parameter is managed so that the optimum parameter candidate that may be deleted from the first storage means can be selected. To do.

【0022】第6の発明においては、指示手段によるパ
ラメータ書き込み指示時に、不揮発性メモリのパラメー
タ格納領域のパラメータ書き込み状態と前記第3の記憶
手段に記憶された優先度判別データ中の処理時間とを参
照して、パラメータ更新手段が不揮発性メモリに記憶さ
れたいずれかの優先度の低いパラメータを消去して確保
されるパラメータ格納領域の空き領域に書き込み指示さ
れた新規パラメータを更新登録して、優先度の高い既に
書き込まれたパラメータ設定に処理時間を要するパラメ
ータが書き換えられてしまうことを確実に防止する。
According to the sixth aspect of the present invention, the parameter writing state in the parameter storage area of the non-volatile memory and the processing time in the priority determination data stored in the third storage means are specified when the parameter writing is instructed by the instructing means. With reference to the parameter updating means, any of the low-priority parameters stored in the non-volatile memory is erased, and the new parameter instructed to be written is updated and registered in the empty area of the parameter storage area that is secured, and the priority is given. It is possible to reliably prevent rewriting of a parameter that requires a processing time for setting a highly written parameter that has already been written.

【0023】第7の発明においては、印刷装置本体のメ
モリ資源に対する割り当て条件に対応するパラメータ設
定に処理時間を要するパラメータが書き換えられてしま
うことを確実に防止する。
In the seventh aspect of the invention, it is possible to reliably prevent the rewriting of a parameter which requires a processing time for setting the parameter corresponding to the allocation condition for the memory resource of the printing apparatus main body.

【0024】第8の発明においては、印刷装置本体に設
定可能な印刷モードに対するデータ処理条件に対応する
パラメータ設定に処理時間を要するパラメータが書き換
えられてしまうことを確実に防止する。
In the eighth aspect of the invention, it is possible to reliably prevent rewriting of a parameter that requires a processing time for setting a parameter corresponding to a data processing condition for a print mode that can be set in the printing apparatus main body.

【0025】第9の発明においては、指示手段によるパ
ラメータ書き込み指示時に、第1の記憶手段のパラメー
タ格納領域のパラメータ書き込み状態と前記第3の記憶
手段に記憶された優先度判別データ中の処理時間とを参
照して、パラメータ更新手段が前記第1の記憶手段に記
憶されたいずれかの優先度の低いパラメータを消去して
確保されるパラメータ格納領域の空き領域に書き込み指
示された新規パラメータを更新登録して、各印刷装置で
優先度の高い既に書き込まれたパラメータ設定に処理時
間を要するパラメータが書き換えられてしまうことを確
実に防止する。
In the ninth invention, when the parameter writing is instructed by the instructing means, the parameter writing state of the parameter storing area of the first storing means and the processing time in the priority discriminating data stored in the third storing means. And updating the new parameter instructed to be written in the empty area of the parameter storage area secured by deleting any low-priority parameter stored in the first storage means by the parameter updating means. By registering, it is possible to surely prevent a parameter requiring a processing time from being rewritten in the parameter setting which has been written with high priority in each printing apparatus.

【0026】第10の発明においては、指示手段による
パラメータ書き込み指示時に、前記第1の記憶手段のパ
ラメータ格納領域のパラメータ書き込み状態と前記第3
の記憶手段に記憶された優先度判別データ中のリセット
レベルとを参照して、パラメータ更新手段が前記第1の
記憶手段に記憶されたいずれかのパラメータを消去して
確保されるパラメータ格納領域の空き領域に書き込み指
示された新規パラメータを更新登録して、各印刷装置で
優先度の高い既に書き込まれた内部リセット処理を必要
とするパラメータが書き換えられてしまうことを確実に
防止する。
According to a tenth aspect of the present invention, when the parameter writing is instructed by the instructing means, the parameter writing state in the parameter storage area of the first storing means and the third state are set.
The reset level in the priority determination data stored in the storage means of the parameter storage area of the parameter storage area that is secured by deleting the parameter stored in the first storage means by the parameter updating means. The new parameter instructed to be written in the empty area is updated and registered, and it is surely prevented that the high-priority already written parameter requiring the internal reset process is rewritten in each printing apparatus.

【0027】第11の発明においては、指示手段により
印刷処理条件を設定するのに要する処理時間に対応する
パラメータ書き込みが指示された際に、第1の記憶手段
のパラメータ格納領域のパラメータ書き込み状態と前記
第3の記憶手段に記憶された優先度判別データとを参照
し、第1の記憶手段に記憶されたいずれかのパラメータ
を消去して確保されるパラメータ格納領域の空き領域に
書き込み指示された新規パラメータを更新登録して、各
印刷装置で優先度の高い既に書き込まれたパラメータ設
定に処理時間を要するパラメータが書き換えられてしま
うことを確実に防止する制御をプログラマブルに実行可
能とする。
In the eleventh aspect, when the instructing means instructs the parameter writing corresponding to the processing time required to set the print processing condition, the parameter writing state in the parameter storage area of the first storing means is changed. With reference to the priority determination data stored in the third storage means, it is instructed to write in a free space of the parameter storage area secured by deleting any of the parameters stored in the first storage means. By newly registering a new parameter, it is possible to programmatically execute control that reliably prevents a parameter requiring a processing time from being rewritten in a parameter setting that has been written with high priority in each printing apparatus.

【0028】第12の発明においては、指示手段により
異なるリセット処理レベルが設定されたパラメータ書き
込みが指示された際に、第1の記憶手段のパラメータ格
納領域のパラメータ書き込み状態と前記第3の記憶手段
に記憶された優先度判別データとを参照し、第1の記憶
手段に記憶されたいずれかのパラメータを消去して確保
されるパラメータ格納領域の空き領域に書き込み指示さ
れた新規パラメータを更新登録して、各印刷装置で優先
度の高い既に書き込まれた異なるリセット処理レベルが
設定されたパラメータが書き換えられてしまうことを確
実に防止する制御をプログラマブルに実行可能とする。
In the twelfth aspect of the invention, when the instructing means issues an instruction to write a parameter in which a different reset processing level is set, the parameter writing state of the parameter storage area of the first storing means and the third storing means. By referring to the priority determination data stored in the first storage means, any one of the parameters stored in the first storage means is erased, and a new parameter instructed to be written is updated and registered in the free space of the parameter storage area secured. In this way, it is possible to execute programmable control for surely preventing rewriting of a parameter having a high priority and a different reset processing level that has already been set in each printing device.

【0029】[0029]

【実施例】【Example】

〔第1実施例〕図1は本発明の第1実施例を示す印刷装
置の構成を説明するブロック図である。
[First Embodiment] FIG. 1 is a block diagram for explaining the arrangement of a printing apparatus according to the first embodiment of the present invention.

【0030】図において、1は印字データ等を送信する
ホストコンピュータである。2は本印刷装置、21はホ
ストコンピュータ1からのデータを受信するためのイン
タフェース(I/F)部である。22は本印刷装置全体
を制御する制御部であり、CPU22aと処理プログラ
ムやフォントのアウトラインデータ等を格納するROM
22bと受信バッファやドットイメージを展開するフレ
ームバッファやCPU22aのワークエリアとして使用
するRAM22cとを備える。
In the figure, reference numeral 1 is a host computer for transmitting print data and the like. Reference numeral 2 is the printing apparatus, and reference numeral 21 is an interface (I / F) unit for receiving data from the host computer 1. Reference numeral 22 denotes a control unit that controls the entire printing apparatus, and includes a CPU 22a and a ROM that stores processing programs, font outline data, and the like.
22b and a RAM 22c used as a work area of the CPU 22a and a frame buffer for developing a reception buffer and a dot image.

【0031】23は各種パラメータのデフォルト値を格
納しておく不揮発性メモリ(NVRAM)であり、印刷
装置の印刷モードやフレームバッファの形式を示すペイ
ントモードなどの各種の登録しておきたい設定パラメー
タを格納する。24は各パラメータを設定する際に必要
とされる処理時間を登録している処理時間テーブルであ
る。
Reference numeral 23 is a non-volatile memory (NVRAM) for storing default values of various parameters, and various setting parameters to be registered such as a print mode of the printing device and a paint mode indicating a frame buffer format. Store. Reference numeral 24 is a processing time table in which processing times required when setting each parameter are registered.

【0032】RAM22c内のフレームバッファに展開
されたパターンはインクジェットまたはレーザビームプ
リンタ等のドットプリンタエンジン部25により印刷出
力される。
The pattern developed in the frame buffer in the RAM 22c is printed out by the dot printer engine unit 25 such as an ink jet or laser beam printer.

【0033】上記構成における本実施例の動作概略を説
明する。
An outline of the operation of this embodiment having the above configuration will be described.

【0034】本実施例においては、ホストコンピュータ
1から出力されてきたデータはRAM22c内の受信バ
ッファに順次格納されていき、それと供に受信バッファ
の未処理のデータを順次読み出しては、文字データとし
て対応するフォントパターンをRAM22c内のフレー
ムバッファに展開し、ドットプリンタエンジン部25に
転送して印刷処理する。
In this embodiment, the data output from the host computer 1 is sequentially stored in the reception buffer in the RAM 22c, and the unprocessed data in the reception buffer is read out sequentially as character data. The corresponding font pattern is expanded in the frame buffer in the RAM 22c and transferred to the dot printer engine unit 25 for print processing.

【0035】その際に、どういった印刷モードで印刷を
行うか、あるいはフレームバッファをどのように確保し
ておくかなどの情報を、不揮発性メモリ23に格納して
おき、電源立ち上げ時や内部リセット時などにその設定
値に応じて、印刷モードやメモリのアロケーションを決
定して印刷処理を行うわけであるが、これらのパラメー
タをダイナミックに不揮発性メモリ23に格納していく
場合、不揮発性メモリ23の容量は有限であるため、必
然的にフル状態となってしまう。
At this time, information such as what printing mode is used for printing or how to secure the frame buffer is stored in the non-volatile memory 23, and when the power is turned on, The print mode and memory allocation are determined according to the set value at the time of internal reset, and the print processing is performed. However, when these parameters are dynamically stored in the non-volatile memory 23, the non-volatile Since the memory 23 has a finite capacity, it is inevitably in a full state.

【0036】その状態で、パラメータの不揮発性メモリ
23への格納指定が行われた場合に、パラメータ設定に
よる処理時間が長いもの、つまり、不揮発性メモリ23
に登録しておき、電源立ち上げ時などに処理しておくこ
とにより通常のデータ処理時などの時間が短縮されると
思われるものを優先して格納しておくことで、効率的に
有限の不揮発性メモリ23を使用することが可能とな
る。
In this state, when the storage designation of the parameter in the non-volatile memory 23 is performed, the processing time for the parameter setting is long, that is, the non-volatile memory 23.
By registering in, and prioritizing storage of items that are supposed to reduce the time required for normal data processing by processing them when the power is turned on, etc. It becomes possible to use the non-volatile memory 23.

【0037】この時の、不揮発性メモリ23の各パラメ
ータ格納方法を示したものが図2である。
FIG. 2 shows a method of storing each parameter in the non-volatile memory 23 at this time.

【0038】図2は、図1に示した不揮発性メモリ23
のデータ構造を説明する図である。図において、23
A,23B,……23Jは項目格納領域で、それぞれパ
ラメータ番号およびデータ領域から構成される。
FIG. 2 shows the nonvolatile memory 23 shown in FIG.
It is a figure explaining the data structure of. In the figure, 23
.. 23J are item storage areas, each of which comprises a parameter number and a data area.

【0039】図3は、図1に示す処理時間テーブルに格
納される処理時間テーブルの一例を示す図であり、パラ
メータ番号「2」,「4」,「99」が処理時間が長い
場合を示す。
FIG. 3 is a diagram showing an example of the processing time table stored in the processing time table shown in FIG. 1, and shows the case where the parameter numbers “2”, “4” and “99” are long in processing time. .

【0040】この図に示す様に、処理時間の判別に使用
する処理時間テーブルには、不揮発性メモリ23の各パ
ラメータ格納状況を示すパラメータ番号と処理時間が格
納されている。
As shown in this figure, the processing time table used to determine the processing time stores the parameter number indicating the storage status of each parameter in the non-volatile memory 23 and the processing time.

【0041】図4は、図2に示した項目格納領域毎の処
理時間を示す優先度判別テーブルの一例を示す図であ
り、(a)は不揮発性メモリ23の内容を示し、(b)
は格納領域番号毎の処理時間を示す。
FIG. 4 is a diagram showing an example of a priority determination table showing the processing time for each item storage area shown in FIG. 2, (a) showing the contents of the non-volatile memory 23, and (b).
Indicates the processing time for each storage area number.

【0042】この優先度判別テーブルはRAM22c内
に電源投入時やリセット時に不揮発性メモリ23の内容
と処理時間テーブル24の内容により作成され、後はパ
ラメータの不揮発性メモリ23への格納処理が行われる
際に更新されるものであり、処理時間による不揮発性メ
モリ23への格納優先度決定のために使用される。
This priority determination table is created in the RAM 22c based on the contents of the nonvolatile memory 23 and the contents of the processing time table 24 when the power is turned on or reset, and thereafter, the parameter storage process is performed in the nonvolatile memory 23. It is updated at this time and is used for determining the storage priority in the nonvolatile memory 23 depending on the processing time.

【0043】以下、本実施例と第1,第4〜第8の発明
の各手段との対応及びその作用について図1〜図4等を
参照して説明する。
Correspondence between the present embodiment and each means of the first, fourth, and eighth inventions and their operation will be described below with reference to FIGS.

【0044】第1の発明は、ホストコンピュータ1から
印刷情報を受信し、該受信した印刷情報を解析して記録
媒体に印刷を行う印刷装置2において、前記ホストコン
ピュータ1から受信する印刷情報を処理するために必要
な印刷装置本体に設定する所定の印刷処理条件に対応す
る種々のパラメータを所定記憶容量のパラメータ格納領
域内に記憶する第1の記憶手段(不揮発性メモリ23)
と、この第1の記憶手段に記憶された各パラメータに従
う印刷処理条件を設定するのに要する処理時間を各パラ
メータ毎に記憶する第2の記憶手段(処理時間テーブル
24)と、前記第1の記憶手段に対するパラメータの書
き込みを指示する指示手段(図示しない操作パネル)
と、第1の記憶手段のパラメータ格納領域内の各パラメ
ータと前記第2の記憶手段に記憶された各パラメータの
処理時間とから書き換え可能なパラメータの優先順位を
決定するための優先度判別テーブルを記憶する第3の記
憶手段(RAM22c)と、前記指示手段によるパラメ
ータ書き込み指示時に、前記第1の記憶手段のパラメー
タ格納領域のパラメータ書き込み状態と前記第3の記憶
手段に記憶された優先度判別データとを参照して、前記
第1の記憶手段に記憶されたいずれかのパラメータを消
去して確保されるパラメータ格納領域の空き領域に書き
込み指示された新規パラメータを更新登録するパラメー
タ更新手段(CPU22a)とを設け、操作パネルから
のパラメータ書き込み指示時に、不揮発性メモリ23の
パラメータ格納領域のパラメータ書き込み状態とRAM
22cに記憶された優先度判別データ中の処理時間とを
参照して、CPU22aが不揮発性メモリ23に記憶さ
れたいずれかの優先度の低いパラメータを消去して確保
されるパラメータ格納領域の空き領域に書き込み指示さ
れた新規パラメータを更新登録して、優先度の高い既に
書き込まれたパラメータ設定に処理時間を要するパラメ
ータが書き換えられてしまうことを確実に防止する。
A first aspect of the invention is to process print information received from the host computer 1 in a printing device 2 that receives print information from the host computer 1, analyzes the received print information, and prints on a recording medium. First storage means (nonvolatile memory 23) for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for performing the operation in a parameter storage area having a predetermined storage capacity.
A second storage means (processing time table 24) for storing the processing time required for setting the print processing conditions according to the respective parameters stored in the first storage means, and the first storage means. Instructing means (instruction panel not shown) for instructing writing of parameters to the storage means
And a priority determination table for determining the priority of rewritable parameters from each parameter in the parameter storage area of the first storage means and the processing time of each parameter stored in the second storage means. A third storage unit (RAM 22c) for storing the parameter writing state of the parameter storage area of the first storage unit and the priority determination data stored in the third storage unit when the parameter writing instruction is given by the instructing unit. And a parameter updating means (CPU 22a) for updating and registering a new parameter instructed to be written in a free area of a parameter storage area secured by erasing any of the parameters stored in the first storage means. Is provided, and the parameter storage area of the non-volatile memory 23 is displayed when the parameter writing is instructed from the operation panel Parameter write state and RAM
22c, the processing time in the priority determination data is referred to, and the CPU 22a erases any low-priority parameter stored in the non-volatile memory 23 to secure a free space in the parameter storage area. The new parameter instructed to be written is updated and registered, and it is surely prevented that the parameter that requires a processing time is rewritten to the already written parameter setting having a high priority.

【0045】第4の発明は、指示手段をCPU22aと
し、ホストコンピュータ1からのコマンドを解析して不
揮発性メモリ23に対するパラメータの書き込みを指示
して、ホストコンピュータ1から不揮発性メモリ23に
対するパラメータの書き換えを容易に指示可能とする。
In a fourth aspect of the present invention, the CPU 22a is used as the instructing means, the command from the host computer 1 is analyzed to instruct the writing of parameters to the non-volatile memory 23, and the parameters are rewritten from the host computer 1 to the non-volatile memory 23. Can be easily instructed.

【0046】第5の発明は、CPU22aは、新規パラ
メータを不揮発性メモリ23に登録した場合に、RAM
22cに記憶される優先度判別テーブルを順次更新し
て、第1の記憶手段の各パラメータの書き換えが実行さ
れ、次のパラメータ書き換えが指示された場合に、不揮
発性メモリ23から消去してもよい最適なパラメータ候
補を選択できるように各パラメータの優先度を管理す
る。
According to a fifth aspect of the invention, the CPU 22a, when the new parameter is registered in the non-volatile memory 23, stores in the RAM.
The priority determination table stored in the memory 22c may be sequentially updated, each parameter of the first storage unit may be rewritten, and when the next parameter rewriting is instructed, the priority determination table may be erased from the nonvolatile memory 23. The priority of each parameter is managed so that the optimum parameter candidate can be selected.

【0047】第6の発明は、指示手段(操作パネル等)
によるパラメータ書き込み指示時に、不揮発性メモリ2
3のパラメータ格納領域のパラメータ書き込み状態とR
AM22cに記憶された優先度判別データ中の処理時間
とを参照して、CPU22aが不揮発性メモリ23に記
憶されたいずれかの優先度の低いパラメータを消去して
確保されるパラメータ格納領域の空き領域に書き込み指
示された新規パラメータを更新登録して、優先度の高い
既に書き込まれたパラメータ設定に処理時間を要するパ
ラメータが書き換えられてしまうことを確実に防止す
る。
A sixth aspect of the invention is an instruction means (operation panel or the like).
Non-volatile memory 2 when parameter writing is instructed by
Parameter writing status of parameter storage area of 3 and R
An empty area of the parameter storage area that is secured by erasing any low-priority parameter stored in the non-volatile memory 23 by the CPU 22a with reference to the processing time in the priority determination data stored in the AM 22c. The new parameter instructed to be written is updated and registered, and it is surely prevented that the parameter that requires a processing time is rewritten to the already written parameter setting having a high priority.

【0048】第7の発明は、印刷装置本体のメモリ資源
(RAM22c等あるいは拡張されるメモリカード,メ
モリボードを含む)に対する割り当て条件に対応するパ
ラメータ設定に処理時間を要するパラメータが書き換え
られてしまうことを確実に防止する。
A seventh aspect of the invention is that a parameter that requires a processing time is rewritten in the parameter setting corresponding to the allocation condition for the memory resource (including the RAM 22c or the like or the expanded memory card or memory board) of the printing apparatus main body. Surely prevent.

【0049】第8の発明は、印刷装置本体に設定可能な
印刷モード(中間調処理,印刷用紙の給紙先,濃度,ア
ウトライン処理方法等)に対するデータ処理条件に従う
パラメータ設定に処理時間を要するパラメータが書き換
えられてしまうことを確実に防止する。
An eighth aspect of the invention is a parameter that requires processing time in accordance with data processing conditions for a print mode (halftone processing, paper feed destination, density, outline processing method, etc.) that can be set in the printer body. Be sure to prevent rewriting.

【0050】以上の処理を実現するため、実施例の制御
部22のCPU22aはROM22bに格納されたプロ
グラムに従って処理を行う。
In order to realize the above processing, the CPU 22a of the control unit 22 of the embodiment performs the processing according to the program stored in the ROM 22b.

【0051】以下、図5に示すフローチャートを参照し
ながら、図1に示す不揮発性メモリ23へのパラメータ
の格納指定が行われた際の処理について説明する。
Hereinafter, with reference to the flow chart shown in FIG. 5, the process when the storage of the parameter in the non-volatile memory 23 shown in FIG. 1 is designated will be described.

【0052】図5は本発明に係る印刷装置の不揮発性メ
モリ書き換え処理方法の第1実施例を示すフローチャー
トである。なお、(1)〜(8)は各ステップを示す。
FIG. 5 is a flow chart showing the first embodiment of the non-volatile memory rewriting method of the printing apparatus according to the present invention. Note that (1) to (8) indicate each step.

【0053】ステップ(1)で格納しようとしているパ
ラメータがすでに不揮発性メモリ23内に存在するかど
うかを判別する。存在した場合はステップ(2)で、そ
のパラメータ格納領域を選択して、ステップ(8)へ進
む。
It is determined whether or not the parameter to be stored in step (1) already exists in the non-volatile memory 23. If it exists, the parameter storage area is selected in step (2) and the process proceeds to step (8).

【0054】一方、ステップ(1)でパラメータがまだ
存在していなかった場合は、ステップ(3)で不揮発性
メモリ23のパラメータ格納領域(項目格納領域)がフ
ルかどうかを判断する。フルでなかった場合はステップ
(4)で次の空き領域をサーチして選択する。例えば、
パラメータ格納領域23Aのみに他の設定値が格納され
ている場合はパラメータ格納領域23Bを選択するとい
った具合にである。その後、ステップ(8)へ進む。
On the other hand, if the parameter does not yet exist in step (1), it is determined in step (3) whether the parameter storage area (item storage area) of the non-volatile memory 23 is full. If it is not full, the next empty area is searched and selected in step (4). For example,
When other setting values are stored only in the parameter storage area 23A, the parameter storage area 23B is selected. Then, it progresses to step (8).

【0055】一方、ステップ(3)でフル状態であると
判別した場合は、ステップ(5)で図4中のRAM22
c内優先度判別テーブルより最小の処理時間を必要とし
ているパラメータを格納している格納領域(この場合は
図4の優先度判別テーブルに示されるようにパラメータ
格納領域23B)を選択する。
On the other hand, if it is determined in step (3) that it is in the full state, the RAM 22 in FIG. 4 is determined in step (5).
A storage area (a parameter storage area 23B as shown in the priority determination table of FIG. 4) that stores a parameter that requires the minimum processing time is selected from the in-c priority determination table.

【0056】その後、ステップ(6)で今回格納指定が
行われたパラメータの処理時間を処理時間テーブル24
より取り出し、選択した格納領域の処理時間と比較し、
格納指定パラメータの処理時間の方が大きかったら書き
換えを行うと判断して、ステップ(7)でRAM22c
内の優先度判別テーブルを書き換えてステップ(8)へ
進む。
After that, in step (6), the processing time of the parameter designated to be stored this time is set to the processing time table 24.
Take out more, compare with the processing time of the selected storage area,
If the processing time of the storage designation parameter is longer, it is determined that the rewriting is performed, and the RAM 22c is determined in step (7).
The priority determination table in the above is rewritten and the process proceeds to step (8).

【0057】一方、ステップ(8)では選択された格納
領域へ指定パラメータの番号およびパラメータのデータ
を書き込み、終了する。
On the other hand, in step (8), the designated parameter number and the parameter data are written in the selected storage area, and the process ends.

【0058】一方、ステップ(6)で指定パラメータよ
り選択した最小処理時間の方が大きかった場合は格納処
理は行わずにそのまま終了する。以下、本実施例と第1
1の発明の各手段との対応及びその作用について図5,
図1等を参照して説明する。なお、上記図1はホストコ
ンピュータ1と印刷装置2とが所定のインタフェースを
介して接続される場合であるが、第11の発明は、ホス
トコンピュータ1と印刷装置2とが所定のネットワーク
を介して接続された場合を例とする。ただし、上記図1
はホストコンピュータ1と印刷装置2とが所定のインタ
フェースを介して接続される場合にも図5に示す方法を
適用できることはいうまでもない。
On the other hand, when the minimum processing time selected in step (6) is longer than the designated parameter, the storing process is not performed and the process is terminated. Hereinafter, this embodiment and the first
Correspondence with each means of the invention of 1 and its action are shown in FIG.
This will be described with reference to FIG. Although FIG. 1 shows the case where the host computer 1 and the printing apparatus 2 are connected via a predetermined interface, in the eleventh invention, the host computer 1 and the printing apparatus 2 are connected via a predetermined network. Take the case of connection. However, in FIG.
Needless to say, the method shown in FIG. 5 can be applied to the case where the host computer 1 and the printing device 2 are connected via a predetermined interface.

【0059】第11の発明は、複数のホストコンピュー
タから所定のネットワークを介して印刷情報を受信し、
該受信した印刷情報を解析して記録媒体に印刷を行う印
刷装置を複数接続し、各ホストコンピュータから受信す
る印刷情報を処理するために必要な印刷装置本体に設定
する所定の印刷処理条件に対応する種々のパラメータを
所定記憶容量のパラメータ格納領域内に記憶する第1の
記憶手段(不揮発性メモリ23)と、この第1の記憶手
段に記憶された各パラメータに従う印刷処理条件を設定
するのに要する処理時間を各パラメータ毎に記憶する第
2の記憶手段(処理時間テーブル24)と、前記第1の
記憶手段に対するパラメータの書き込みを指示する指示
手段(操作パネル等)と、第1の記憶手段のパラメータ
格納領域内の各パラメータと前記第2の記憶手段に記憶
された各パラメータの処理時間とから書き換え可能なパ
ラメータの優先順位を決定するための優先度判別テーブ
ルを記憶する第3の記憶手段(RAM22c)とを有す
る印刷システムのメモリ資源管理方法において、前記指
示手段によるパラメータ書き込み指示時に、不揮発性メ
モリ23のパラメータ格納領域のパラメータ書き込み状
態と前記第3の記憶手段に記憶された優先度判別データ
とを参照する参照工程(図5のステップ(3),
(5),(6))と、不揮発性メモリ23に記憶された
いずれかのパラメータを消去して確保されるパラメータ
格納領域の空き領域に書き込み指示された新規パラメー
タを更新登録するパラメータ更新工程(図5のステップ
(7))とを実行して、各印刷装置で優先度の高い既に
書き込まれたパラメータ設定に処理時間を要するパラメ
ータが書き換えられてしまうことを確実に防止する制御
をプログラマブルに実行可能とする。
An eleventh aspect of the present invention receives print information from a plurality of host computers via a predetermined network,
Corresponding to the predetermined print processing conditions set in the printer main body necessary for processing the print information received from each host computer by connecting a plurality of printing devices that analyze the received print information and print on the recording medium A first storage unit (nonvolatile memory 23) for storing various parameters to be stored in a parameter storage area having a predetermined storage capacity, and a print processing condition according to each parameter stored in the first storage unit. Second storage means (processing time table 24) for storing the required processing time for each parameter, instructing means (operation panel or the like) for instructing writing of parameters to the first storage means, and first storage means Priority order of rewritable parameters based on each parameter in the parameter storage area and the processing time of each parameter stored in the second storage means In a memory resource management method of a printing system having a third storage unit (RAM 22c) for storing a priority determination table for determining the parameter determination area, the parameter storage area of the non-volatile memory 23 is stored when the parameter writing instruction is given by the instruction unit. A reference step of referring to the parameter writing state and the priority determination data stored in the third storage means (step (3) in FIG. 5,
(5), (6)) and a parameter updating step of updating and registering a new parameter instructed to be written in a free area of the parameter storage area secured by erasing any of the parameters stored in the non-volatile memory 23 ( By executing the step (7) in FIG. 5 and executing the control for surely preventing the rewriting of the parameter requiring the processing time for the parameter setting which has been written with high priority in each printing device. It is possible.

【0060】以上、説明したように本実施例では、パラ
メータの設定により必要とされる処理時間を比較するこ
とにより、不揮発性メモリ23への格納の必要性を判別
して優先的に登録することで、限られた記憶容量の不揮
発性メモリ23しか持たない印刷装置上において、必要
とされる処理時間を要する情報を優先的に保持し続ける
ことが可能となり、結果として印刷処理を効率的に行う
ことが可能となる。
As described above, in the present embodiment, the necessity of storage in the non-volatile memory 23 is discriminated and preferentially registered by comparing the processing times required by setting the parameters. Thus, it becomes possible to preferentially continue to hold information that requires a required processing time on a printing apparatus having only the non-volatile memory 23 having a limited storage capacity, and as a result, print processing is efficiently performed. It becomes possible.

【0061】なお、上記実施例では、印刷装置2とホス
トコンピュータ1が所定のインタフェースを介して通信
可能な場合を例としたが、本発明は図示しないネットワ
ークを介して複数の印刷装置と複数のホストコンピュー
タとが通信可能な印刷システムに適用可能である。そこ
で、以下、その実施例と第9の発明の各手段との対応及
びその作用について説明する。
In the above embodiment, the case where the printing apparatus 2 and the host computer 1 can communicate with each other via a predetermined interface is taken as an example. However, the present invention uses a plurality of printing apparatuses and a plurality of printing apparatuses via a network (not shown). It is applicable to a printing system capable of communicating with a host computer. Therefore, the correspondence between the embodiment and each means of the ninth invention and the operation thereof will be described below.

【0062】第9の発明は、複数のホストコンピュータ
(図示しない)から所定のネットワーク(イーサネット
(商品名)等)を介して印刷情報を受信し、該受信した
印刷情報を解析して記録媒体に印刷を行う印刷装置を複
数接続して構成される印刷システムにおいて、各ホスト
コンピュータから受信する印刷情報を処理するために必
要な印刷装置本体に設定する所定の印刷処理条件に対応
する種々のパラメータを所定記憶容量のパラメータ格納
領域内に記憶する第1の記憶手段(不揮発性メモリ2
3)と、この第1の記憶手段に記憶された各パラメータ
に従う印刷処理条件を設定するのに要する処理時間を各
パラメータ毎に記憶する第2の記憶手段(処理時間テー
ブル24)と、前記第1の記憶手段に対するパラメータ
の書き込みを指示する指示手段(操作パネル)と、第1
の記憶手段のパラメータ格納領域内の各パラメータと前
記第2の記憶手段に記憶された各パラメータの処理時間
とから書き換え可能なパラメータの優先順位を決定する
ための優先度判別テーブルを記憶する第3の記憶手段
(RAM22c)と、前記指示手段によるパラメータ書
き込み指示時に、前記第1の記憶手段のパラメータ格納
領域のパラメータ書き込み状態と前記第3の記憶手段に
記憶された優先度判別データとを参照して、前記第1の
記憶手段に記憶されたいずれかのパラメータを消去して
確保されるパラメータ格納領域の空き領域に書き込み指
示された新規パラメータを更新登録するパラメータ更新
手段(CPU22a)とを設け、指示手段によるパラメ
ータ書き込み指示時に、不揮発性メモリ23のパラメー
タ格納領域のパラメータ書き込み状態と前記第3の記憶
手段に記憶された優先度判別データ中の処理時間とを参
照して、CPU22aが不揮発性メモリ23に記憶され
たいずれかの優先度の低いパラメータを消去して確保さ
れるパラメータ格納領域の空き領域に書き込み指示され
た新規パラメータを更新登録して、各印刷装置で優先度
の高い既に書き込まれたパラメータ設定に処理時間を要
するパラメータが書き換えられてしまうことを確実に防
止する。 〔第2実施例〕図6は本発明の第2実施例を示す印刷装
置の構成を示すブロック図であり、図1と同一のものに
は同一の符号を付してある。
A ninth aspect of the present invention receives print information from a plurality of host computers (not shown) via a predetermined network (such as Ethernet (trade name)), analyzes the received print information, and prints it on a recording medium. In a printing system configured by connecting a plurality of printing devices for printing, various parameters corresponding to predetermined print processing conditions set in the printing device main body necessary for processing print information received from each host computer are set. First storage means (nonvolatile memory 2) for storing in a parameter storage area having a predetermined storage capacity
3), second storage means (processing time table 24) for storing the processing time required to set the print processing conditions according to the parameters stored in the first storage means, for each parameter, and the second storage means. An instruction means (operation panel) for instructing the writing of parameters to the first storage means;
Storing a priority determination table for determining the priority of rewritable parameters from the parameters stored in the parameter storage area of the storage means and the processing time of the parameters stored in the second storage means. Of the storage means (RAM 22c) and the parameter writing state of the parameter storage area of the first storage means and the priority determination data stored in the third storage means at the time of the parameter writing instruction by the instruction means. And a parameter updating unit (CPU 22a) for updating and registering a new parameter instructed to be written in a free space of the parameter storage area secured by erasing any of the parameters stored in the first storage unit, When the parameter writing is instructed by the instructing means, the parameters of the parameter storage area of the non-volatile memory 23 are set. The CPU 22a erases one of the low-priority parameters stored in the non-volatile memory 23 by referring to the data writing state and the processing time in the priority determination data stored in the third storage means. By updating and registering new parameters instructed to be written in the free space of the reserved parameter storage area, it is ensured that the parameters that require processing time will be rewritten to the parameter settings that have already been written with high priority in each printing device. Prevent. [Second Embodiment] FIG. 6 is a block diagram showing the arrangement of a printing apparatus according to the second embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals.

【0063】図において、61は各パラメータを設定す
る際に、必要とされるリセットレベルを登録しているリ
セットレベルテーブルであり、リブートを必要とする場
合はレベル「2」となり、内部リセットを必要とする場
合はレベル「1」となり、リセットなしの場合はレベル
「0」となる。
In the figure, reference numeral 61 is a reset level table in which required reset levels are registered when setting each parameter. When a reboot is required, the level becomes "2" and an internal reset is required. If it is set, the level becomes “1”, and if there is no reset, the level becomes “0”.

【0064】本実施例においては、ホストコンピュータ
1から出力されてきたデータはRAM22c内の受信バ
ッファに順次格納されていき、それと供に受信バッファ
の未処理のデータを順次読み出しては、文字データとし
て対応するフォントパターンをRAM22c内のフレー
ムバッファに展開し、ドットプリンタエンジン部25に
転送して印刷処理する。
In this embodiment, the data output from the host computer 1 is sequentially stored in the reception buffer in the RAM 22c, and the unprocessed data in the reception buffer is read out sequentially as character data. The corresponding font pattern is expanded in the frame buffer in the RAM 22c and transferred to the dot printer engine unit 25 for print processing.

【0065】その際に、どういった印刷モードで印刷を
行うか、あるいはフレームバッファをどのように確保し
ておくかなどの情報を、不揮発性メモリ23に格納して
おき、電源立ち上げ時や内部リセット時などにその設定
値に応じて、印刷モードやメモリのアロケーションを決
定して印刷処理を行うわけであるが、これらのパラメー
タをダイナミックに不揮発性メモリ23に格納していく
場合、不揮発性メモリ23の記憶容量は有限であるた
め、必然的にフル状態となってしまう。
At this time, information such as what printing mode is used for printing or how to secure the frame buffer is stored in the non-volatile memory 23 and is used when power is turned on. The print mode and memory allocation are determined according to the set value at the time of internal reset, and the print processing is performed. However, when these parameters are dynamically stored in the non-volatile memory 23, the non-volatile Since the storage capacity of the memory 23 is finite, the memory 23 inevitably becomes full.

【0066】その状態で、パラメータの不揮発性メモリ
23への格納指定が行われた場合に、パラメータ設定に
よって内部リセット動作を必要とするもの、つまり、不
揮発性23メモリに登録しておかなければ設定が消去さ
れてしまうと思われるものを優先して格納しておくこと
で、効率的に有限の不揮発性メモリ23を使用すること
が可能となる。
In this state, if the storage of parameters in the non-volatile memory 23 is designated, an internal reset operation is required by the parameter setting, that is, if it is not registered in the non-volatile memory 23, the setting is performed. By preferentially storing those that are supposed to be erased, the finite non-volatile memory 23 can be used efficiently.

【0067】この時の、不揮発性メモリ23の各パラメ
ータ格納方法を示したものは実施例1の図2と同様であ
る。
The method of storing each parameter in the non-volatile memory 23 at this time is the same as that in FIG. 2 of the first embodiment.

【0068】図7は、図6に示したリセットレベルテー
ブル61のデータ構造を説明する図であり、パラメータ
番号とリセットレベルとから構成され、内部リセット処
理の必要性の判別に使用される。
FIG. 7 is a diagram for explaining the data structure of the reset level table 61 shown in FIG. 6, which is composed of a parameter number and a reset level, and is used for determining the necessity of the internal reset process.

【0069】図8は、図2に示した項目格納領域毎の処
理時間を示す優先度判別テーブルの他の例を示す図であ
り、(a)は不揮発性メモリ23に内容を示し、(b)
は格納領域番号毎のリセットレベルを示す。
FIG. 8 is a diagram showing another example of the priority determination table showing the processing time for each item storage area shown in FIG. 2, in which (a) shows the contents in the non-volatile memory 23, and (b) shows )
Indicates the reset level for each storage area number.

【0070】この優先度判別テーブルはRAM22c内
に電源投入時やリセット時に不揮発性メモリ23の内容
とリセットレベルテーブル61の内容により作成され、
後はパラメータの不揮発性メモリ23への格納処理が行
われる際に更新されるものであり、リセットの必要性に
よる不揮発性メモリ23への格納優先度決定のために使
用される。以下、本実施例と第2の発明の各手段との対
応及びその作用について図6〜図8を参照して説明す
る。
This priority determination table is created in the RAM 22c according to the contents of the non-volatile memory 23 and the contents of the reset level table 61 when the power is turned on or reset.
The rest is updated when the process of storing the parameters in the non-volatile memory 23 is performed, and is used for determining the storage priority in the non-volatile memory 23 due to the necessity of resetting. Correspondence between the present embodiment and each means of the second invention and its operation will be described below with reference to FIGS. 6 to 8.

【0071】第2の発明は、ホストコンピュータ1から
印刷情報を受信し、該受信した印刷情報を解析して記録
媒体に印刷を行う印刷装置2において、前記ホストコン
ピュータから受信する印刷情報を処理するために必要な
印刷装置本体に設定する所定の印刷処理条件に対応する
種々のパラメータを所定記憶容量のパラメータ格納領域
内に記憶する第1の記憶手段(不揮発性メモリ23)
と、この第1の記憶手段に記憶された各パラメータの設
定に必要とされるリセットレベルを各パラメータ毎に記
憶する第2の記憶手段(リセットレベルテーブル61)
と、前記第1の記憶手段に対するパラメータの書き込み
を指示する指示手段(操作パネルあるいはCPU22
a)と、第1の記憶手段のパラメータ格納領域内の各パ
ラメータと前記第2の記憶手段に記憶された各パラメー
タのリセットレベルとから書き換え可能なパラメータの
優先順位を決定するための優先度判別テーブルを記憶す
る第3の記憶手段(RAM22c)と、前記指示手段に
よるパラメータ書き込み指示時に、前記第1の記憶手段
のパラメータ格納領域のパラメータ書き込み状態と前記
第3の記憶手段に記憶された優先度判別データとを参照
して、前記第1の記憶手段に記憶されたいずれかのパラ
メータを消去して確保されるパラメータ格納領域の空き
領域に書き込み指示された新規パラメータを更新登録す
るパラメータ更新手段(CPU22a)とを設け、指示
手段によるパラメータ書き込み指示時に、不揮発性メモ
リ23のパラメータ格納領域のパラメータ書き込み状態
と前記第3の記憶手段に記憶された優先度判別データ中
のリセットレベル((図8参照)とを参照して、パラメ
ータ更新手段が不揮発性メモリ23に記憶されたいずれ
かのパラメータを消去することにより確保されるパラメ
ータ格納領域の空き領域に対して書き込み指示された新
規パラメータを更新登録して、優先度の高い既に書き込
まれた内部リセット処理を必要とするパラメータが書き
換えられてしまうことを確実に防止する。
A second aspect of the present invention processes print information received from the host computer in a printing device 2 that receives print information from the host computer 1, analyzes the received print information, and prints on a recording medium. First storage means (nonvolatile memory 23) for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for this purpose in a parameter storage area having a predetermined storage capacity.
And second storage means (reset level table 61) for storing the reset level required for setting each parameter stored in the first storage means for each parameter.
And an instruction means (operation panel or CPU 22 for instructing the writing of the parameter to the first storage means).
a) and a priority determination for determining the priority of rewritable parameters from the parameters stored in the parameter storage area of the first storage means and the reset levels of the parameters stored in the second storage means. A third storage unit (RAM 22c) for storing a table, and a parameter writing state of a parameter storage area of the first storage unit and a priority stored in the third storage unit when a parameter writing instruction is given by the instructing unit. Parameter update means for updating and registering a new parameter instructed to be written in a free area of a parameter storage area secured by erasing any of the parameters stored in the first storage means with reference to the determination data ( CPU 22a) is provided, and the parameter of the non-volatile memory 23 is set when the parameter writing is instructed by the instructing means. The parameter update means is stored in the non-volatile memory 23 with reference to the parameter writing state of the storage area and the reset level (see FIG. 8) in the priority determination data stored in the third storage means. By updating and registering a new parameter instructed to be written to the empty area of the parameter storage area secured by deleting that parameter, the parameter that requires the internal reset processing with a high priority is rewritten. Be sure to prevent being caught.

【0072】以上の処理を実現するため、実施例の制御
部22のCPU22aはROM22bに格納されたプロ
グラムに従って処理を行う。
In order to realize the above processing, the CPU 22a of the control unit 22 of the embodiment performs the processing according to the program stored in the ROM 22b.

【0073】以下、図9に示すフローチャートを参照し
ながら不揮発性メモリ23へのパラメータの格納指定が
行われた際の処理について説明する。
Hereinafter, the processing when the storage designation of the parameter in the non-volatile memory 23 is performed will be described with reference to the flowchart shown in FIG.

【0074】図9は本発明に係る印刷装置の不揮発性メ
モリ書き換え処理方法の第2実施例を示すフローチャー
トである。なお、(1)〜(8)は各ステップを示す。
FIG. 9 is a flow chart showing a second embodiment of the non-volatile memory rewriting method of the printing apparatus according to the present invention. Note that (1) to (8) indicate each step.

【0075】ステップ(1)で格納しようとしているパ
ラメータがすでに不揮発性メモリ23内に存在するかど
うかを判別する。存在した場合はステップ(2)で、そ
のパラメータ格納領域を選択して、ステップ(8)へ進
む。
It is determined whether or not the parameter to be stored in step (1) already exists in the non-volatile memory 23. If it exists, the parameter storage area is selected in step (2) and the process proceeds to step (8).

【0076】一方、ステップ(1)でパラメータがまだ
存在していなかった場合は、ステップ(3)で不揮発性
メモリ23のパラメータ格納領域がフルかどうかを判断
する。フルでなかった場合はステップ(4)で次の空き
領域をサーチして選択する。例えば、パラメータ格納領
域23Aのみに他の設定値が格納されている場合はパラ
メータ格納領域23Bを選択するといった具合にであ
る。その後、ステップ(8)へ進む。
On the other hand, if the parameter does not yet exist in step (1), it is determined in step (3) whether the parameter storage area of the non-volatile memory 23 is full. If it is not full, the next empty area is searched and selected in step (4). For example, when other setting values are stored only in the parameter storage area 23A, the parameter storage area 23B is selected. Then, it progresses to step (8).

【0077】一方、ステップ(3)でフル状態であると
判別した場合は、ステップ(5)で図8中のRAM22
c内優先度判別テーブルより最小のリセットレベルを必
要としているパラメータを格納している格納領域(この
場合はデータ格納領域23B)を選択する。その後、ス
テップ(6)で今回格納指定が行われたパラメータの必
要とするリセットレベルをリセットレベルテーブル61
より取り出し、選択した格納領域のリセットレベルを比
較し、格納指定パラメータのリセットレベルの方が大き
かったら書き換えを行うと判断して、ステップ(7)で
優先度判別テーブルを書き換えてステップ(8)へ進
む。
On the other hand, if it is determined in step (3) that it is in the full state, RAM 22 in FIG. 8 is determined in step (5).
A storage area (a data storage area 23B in this case) that stores a parameter that requires the minimum reset level is selected from the in-c priority determination table. After that, in step (6), the reset level required for the parameter designated to be stored this time is set to the reset level table 61.
Further, the reset levels of the selected storage areas are compared, and if the reset level of the storage designation parameter is higher, it is determined that rewriting is performed, and the priority determination table is rewritten in step (7) and the process proceeds to step (8). move on.

【0078】一方、ステップ(8)では選択された格納
領域へ指定パラメータの番号およびパラメータのデータ
を書き込み、終了する。
On the other hand, in step (8), the designated parameter number and the parameter data are written to the selected storage area, and the process is ended.

【0079】一方、ステップ(6)で指定パラメータよ
り選択した最小リセットレベルの方が大きかった場合は
格納処理は行わずにそのまま終了する。
On the other hand, if the minimum reset level selected in step (6) is larger than the designated parameter, the storing process is not performed and the process ends.

【0080】以上、説明したように本実施例では、パラ
メータの設定により必要とされるリセットレベルを比較
することにより、不揮発性メモリ23への格納の必要性
を判別して優先的に登録することで、限られた記憶容量
の不揮発性メモリしか持たない印刷装置上で必要とされ
る情報を保持して印刷処理を効率的に行うことが可能と
なる。以下、本実施例と第12の発明の各手段との対応
及びその作用について図9,図6等を参照して説明す
る。なお、上記図1はホストコンピュータ1と印刷装置
2とが所定のインタフェースを介して接続される場合で
あるが、第11の発明は、ホストコンピュータ1と印刷
装置2とが所定のネットワークを介して接続された場合
を例とする。ただし、上記図6はホストコンピュータ1
と印刷装置2とが所定のインタフェースを介して接続さ
れる場合にも図9に示す方法を適用できることはいうま
でもない。
As described above, in the present embodiment, the necessity of storage in the non-volatile memory 23 is determined by comparing the reset levels required by the setting of the parameters, and the priority is registered. Thus, it becomes possible to efficiently perform the printing process while holding the information required on the printing apparatus having only the non-volatile memory having the limited storage capacity. Correspondence between the present embodiment and each means of the twelfth invention and its action will be described below with reference to FIGS. 9 and 6. Although FIG. 1 shows the case where the host computer 1 and the printing apparatus 2 are connected via a predetermined interface, in the eleventh invention, the host computer 1 and the printing apparatus 2 are connected via a predetermined network. Take the case of connection. However, the above-mentioned FIG.
It goes without saying that the method shown in FIG. 9 can be applied to the case where the printer 2 and the printer 2 are connected via a predetermined interface.

【0081】第12の発明は、複数のホストコンピュー
タから所定のネットワークを介して印刷情報を受信し、
該受信した印刷情報を解析して記録媒体に印刷を行う印
刷装置を複数接続し、各ホストコンピュータから受信す
る印刷情報を処理するために必要な印刷装置本体に設定
する所定の印刷処理条件に対応する種々のパラメータを
所定記憶容量のパラメータ格納領域内に記憶する第1の
記憶手段(不揮発性メモリ23)と、この第1の記憶手
段に記憶された各パラメータの設定に必要とされるリセ
ット処理レベルを各パラメータ毎に記憶する第2の記憶
手段(リセットレベルテーブル61)と、前記第1の記
憶手段に対するパラメータの書き込みを指示する指示手
段と、第1の記憶手段のパラメータ格納領域内の各パラ
メータと前記第2の記憶手段に記憶された各パラメータ
のリセット処理レベルとから書き換え可能なパラメータ
の優先順位を決定するための優先度判別テーブルを記憶
する第3の記憶手段(RAM22c)とを有する印刷シ
ステムのメモリ資源管理方法において、前記指示手段に
よるパラメータ書き込み指示時に、前記第1の記憶手段
のパラメータ格納領域のパラメータ書き込み状態と前記
第3の記憶手段に記憶された優先度判別データとを参照
する参照工程(図6のステップ(3),(5),
(6))と、前記第1の記憶手段に記憶されたいずれか
のパラメータを消去して確保されるパラメータ格納領域
の空き領域に書き込み指示された新規パラメータを更新
登録するパラメータ更新工程(図9のステップ(7))
とを実行して、各印刷装置で優先度の高い既に書き込ま
れた異なるリセット処理レベルが設定されたパラメータ
が書き換えられてしまうことを確実に防止する制御をプ
ログラマブルに実行可能とする。
A twelfth aspect of the invention is to receive print information from a plurality of host computers via a predetermined network,
Corresponding to the predetermined print processing conditions set in the printer main body necessary for processing the print information received from each host computer by connecting a plurality of printing devices that analyze the received print information and print on the recording medium First storage means (nonvolatile memory 23) for storing various parameters to be stored in a parameter storage area having a predetermined storage capacity, and reset processing required for setting each parameter stored in the first storage means. Second storage means (reset level table 61) for storing the level for each parameter, instruction means for instructing the writing of the parameter to the first storage means, and each in the parameter storage area of the first storage means The priority of rewritable parameters is determined from the parameters and the reset processing level of each parameter stored in the second storage means. In a memory resource management method of a printing system having a third storage unit (RAM 22c) for storing a priority determination table for saving, a parameter storage area of the first storage unit when a parameter writing instruction is given by the instruction unit. A reference step (steps (3), (5), and FIG. 6 in FIG. 6) for referring to the parameter writing state and the priority determination data stored in the third storage means.
(6)) and a parameter updating step of updating and registering a new parameter instructed to be written in an empty area of a parameter storage area secured by erasing any of the parameters stored in the first storage means (FIG. 9). Step (7))
By executing the above, it is possible to execute the control that surely prevents the rewriting of the parameter, which has been written and has a different reset processing level, which has a high priority, in each printing device.

【0082】なお、上記実施例では、印刷装置2とホス
トコンピュータ1が所定のインタフェースを介して通信
可能な場合を例としたが、本発明は図示しないネットワ
ークを介して複数の印刷装置と複数のホストコンピュー
タとが通信可能な印刷システムに適用可能である。そこ
で、以下、その実施例と第10の発明の各手段との対応
及びその作用について説明する。
In the above embodiment, the case where the printing apparatus 2 and the host computer 1 can communicate with each other via a predetermined interface has been described as an example, but the present invention has a plurality of printing apparatuses and a plurality of printing apparatuses via a network (not shown). It is applicable to a printing system capable of communicating with a host computer. Therefore, the correspondence between the embodiment and each means of the tenth invention and the operation thereof will be described below.

【0083】第10の発明は、複数のホストコンピュー
タ(図示しない)から所定のネットワーク(イーサネッ
ト(商品名)等)を介して印刷情報を受信し、該受信し
た印刷情報を解析して記録媒体に印刷を行う印刷装置を
複数接続して構成される印刷システムにおいて、各ホス
トコンピュータから受信する印刷情報を処理するために
必要な印刷装置本体に設定する所定の印刷処理条件に対
応する種々のパラメータを所定記憶容量のパラメータ格
納領域内に記憶する第1の記憶手段(不揮発性メモリ2
3)と、この第1の記憶手段に記憶された各パラメータ
の設定に必要とされるリセット処理レベルを各パラメー
タ毎に記憶する第2の記憶手段(リセットレベルテーブ
ル61)と、前記第1の記憶手段に対するパラメータの
書き込みを指示する指示手段と、第1の記憶手段のパラ
メータ格納領域内の各パラメータと前記第2の記憶手段
に記憶された各パラメータのリセット処理レベルとから
書き換え可能なパラメータの優先順位を決定するための
優先度判別テーブルを記憶する第3の記憶手段(RAM
22c)と、前記指示手段によるパラメータ書き込み指
示時に、前記第1の記憶手段のパラメータ格納領域のパ
ラメータ書き込み状態と前記第3の記憶手段に記憶され
た優先度判別データとを参照して、前記第1の記憶手段
に記憶されたいずれかのパラメータを消去して確保され
るパラメータ格納領域の空き領域に書き込み指示された
新規パラメータを更新登録するパラメータ更新手段(C
PU22a)とを設け、指示手段(操作パネル等)によ
るパラメータ書き込み指示時に、不揮発性メモリ23の
パラメータ格納領域のパラメータ書き込み状態とRAM
22cに記憶された優先度判別データ中のリセットレベ
ルとを参照して、CPU22aが不揮発性メモリ23に
記憶されたいずれかのパラメータを消去して確保される
パラメータ格納領域の空き領域に書き込み指示された新
規パラメータを更新登録して、各印刷装置で優先度の高
い既に書き込まれた内部リセット処理を必要とするパラ
メータが書き換えられてしまうことを確実に防止する。 〔第3実施例〕本実施例は、第1,第2の実施例に対し
てそれぞれ有効に適用することが可能であるが、ここで
は第1実施例を例として適用例を説明する。
In a tenth aspect of the invention, print information is received from a plurality of host computers (not shown) via a predetermined network (Ethernet (trade name), etc.), and the received print information is analyzed and recorded on a recording medium. In a printing system configured by connecting a plurality of printing devices for printing, various parameters corresponding to predetermined print processing conditions set in the printing device main body necessary for processing print information received from each host computer are set. First storage means (nonvolatile memory 2) for storing in a parameter storage area having a predetermined storage capacity
3), second storage means (reset level table 61) for storing the reset processing level required for setting each parameter stored in the first storage means for each parameter, and the first storage means. Instructing means for instructing writing of parameters to the storage means, parameters rewritable from each parameter in the parameter storage area of the first storage means and the reset processing level of each parameter stored in the second storage means. Third storage means (RAM for storing a priority determination table for determining the priority order)
22c) and the parameter writing state in the parameter storage area of the first storage unit and the priority determination data stored in the third storage unit at the time of the parameter writing instruction by the instructing unit, Parameter updating means (C) for updating and registering a new parameter instructed to be written in an empty area of the parameter storage area secured by erasing any of the parameters stored in the first storage means.
PU22a) is provided, and the parameter writing state of the parameter storage area of the non-volatile memory 23 and the RAM when the parameter writing is instructed by the instruction unit (operation panel or the like).
With reference to the reset level in the priority determination data stored in 22c, the CPU 22a erases one of the parameters stored in the non-volatile memory 23 to instruct writing to a free space in the parameter storage area. The new parameters are updated and registered, and it is surely prevented that the parameters, which have already been written and have a high priority, which require the internal reset processing, are rewritten in each printing apparatus. [Third Embodiment] This embodiment can be effectively applied to the first and second embodiments, but an application example will be described by taking the first embodiment as an example.

【0084】なお、第3実施例の印刷装置のブロック図
は図1と同じであるので、構成における本実施例の動作
概略を説明する。
Since the block diagram of the printing apparatus of the third embodiment is the same as that of FIG. 1, an outline of the operation of this embodiment in the configuration will be described.

【0085】本実施例においては、ホストコンピュータ
1から出力されてきたデータはRAM22c内の受信バ
ッファに順次格納されていき、それと供に受信バッファ
の未処理のデータを順次読み出しては、文字データとし
て対応するフォントパターンをRAM22c内のフレー
ムバッファに展開し、ドットプリンタエンジン部25に
転送して印刷処理する。
In the present embodiment, the data output from the host computer 1 is sequentially stored in the reception buffer in the RAM 22c, and the unprocessed data in the reception buffer is sequentially read out together with it to obtain character data. The corresponding font pattern is expanded in the frame buffer in the RAM 22c and transferred to the dot printer engine unit 25 for print processing.

【0086】その際に、どういった印刷モードで印刷を
行うか、あるいはフレームバッファをどのように確保し
ておくかなどの情報を、不揮発性メモリ23に格納して
おき、電源立ち上げ時や内部リセット時などにその設定
値に応じて、印刷モードやメモリのアロケーションを決
定して印刷処理を行うわけであるが、これらのパラメー
タをダイナミックに不揮発性メモリ23に格納していく
場合、不揮発性メモリ23の容量は有限であるため、必
然的にフル状態となってしまう。
At this time, information such as what printing mode is used for printing or how to secure the frame buffer is stored in the non-volatile memory 23, and when the power is turned on, The print mode and memory allocation are determined according to the set value at the time of internal reset, and the print processing is performed. However, when these parameters are dynamically stored in the non-volatile memory 23, the non-volatile Since the memory 23 has a finite capacity, it is inevitably in a full state.

【0087】その状態で、パラメータの不揮発性メモリ
23への格納指定が行われた場合に、パラメータ設定に
よる処理時間が長いもの、つまり、不揮発性メモリ23
に登録しておき電源立ち上げ時などに処理しておくこと
により、通常のデータ処理時などの時間が短縮されると
思われるものを優先して格納しておくことで、効率的に
有限の不揮発性メモリを使用すると同時に、その際に不
揮発性メモリ23から消去されてしまうパラメータをホ
ストコンピュータ1へステータスとして送信すること
で、デフォルト値として存在しなくなるパラメータの情
報をホストへ通知することが可能となる。
In this state, if storage of parameters in the non-volatile memory 23 is designated, the processing time for parameter setting is long, that is, the non-volatile memory 23.
By storing the data that is expected to reduce the time required for normal data processing, etc. by storing it in advance and processing it when the power is turned on, etc. It is possible to notify the host of parameter information that does not exist as a default value by using the non-volatile memory and transmitting the parameter that is erased from the non-volatile memory 23 at that time as the status to the host computer 1. Becomes

【0088】この時の、不揮発性メモリ23の各パラメ
ータ格納方法,処理時間の判別に使用する処理時間テー
ブルの一例,不揮発性メモリ23の各パラメータ格納状
況およびその際の優先度判別テーブルの一例などは図
2,図3,図4と同じである。以下、本実施例と第3の
発明の各手段との対応及びその作用について説明する。
第3の発明は、パラメータ更新手段(CPU22a)が
第1の記憶手段(不揮発性メモリ23)に記憶されたい
ずれかのパラメータを消去して確保されるパラメータ格
納領域の空き領域に書き込み指示された新規パラメータ
を更新登録する際に、送信手段(CPU22a,インタ
フェース部21等)が消去されるパラメータ格納領域に
記憶されたいずれかのパラメータをホストコンピュータ
にステータスとして送信して、デフォルト値として存在
しなくなった情報をホスト側で保存することを可能とす
る。
At this time, each parameter storage method of the non-volatile memory 23, an example of a processing time table used for processing time discrimination, each parameter storage state of the non-volatile memory 23 and an example of a priority determination table at that time, etc. Is the same as in FIGS. 2, 3 and 4. Hereinafter, the correspondence between the present embodiment and each means of the third invention and the operation thereof will be described.
In a third aspect of the invention, the parameter updating means (CPU 22a) is instructed to write in a free area of a parameter storage area secured by erasing any of the parameters stored in the first storage means (nonvolatile memory 23). When updating and registering a new parameter, the transmitting means (CPU 22a, interface unit 21, etc.) transmits one of the parameters stored in the parameter storage area to the host computer as a status and no longer exists as a default value. It is possible for the host to save the saved information.

【0089】以上の処理を実現するため、制御部22の
CPU22aはROM22bに格納されたプログラムに
従って処理を行う。
In order to realize the above processing, the CPU 22a of the control unit 22 performs the processing according to the program stored in the ROM 22b.

【0090】以下、図10に示すフローチャートを参照
しながら不揮発性メモリ23へのパラメータの格納指定
が行われた際の処理について説明する。
Hereinafter, the processing when the storage of the parameter in the non-volatile memory 23 is designated will be described with reference to the flowchart shown in FIG.

【0091】本実施例においては、パラメータの格納指
定はホストコンピュータからのコマンドにより、行われ
るものとする。
In the present embodiment, it is assumed that the parameter storage designation is performed by a command from the host computer.

【0092】図10は本発明に係る印刷装置の不揮発性
メモリ書き換え処理方法の第3実施例を示すフローチャ
ートである。なお、(1)〜(10)は各ステップを示
す。
FIG. 10 is a flow chart showing a third embodiment of the non-volatile memory rewriting processing method of the printing apparatus according to the present invention. Note that (1) to (10) indicate each step.

【0093】ステップ(1)で格納しようとしているパ
ラメータがすでに不揮発性メモリ内に存在するかどうか
を判別する。存在した場合はステップ(2)で、そのパ
ラメータ格納領域を選択して、ステップ(8)へ進む。
It is determined whether the parameter to be stored in step (1) already exists in the non-volatile memory. If it exists, the parameter storage area is selected in step (2) and the process proceeds to step (8).

【0094】一方、ステップ(1)でパラメータがまだ
存在していなかった場合は、ステップ(3)で不揮発性
メモリ23のパラメータ格納領域がフルかどうかを判断
する。フルでなかった場合はステップ(4)で次の空き
領域をサーチして選択する。例えば、パラメータ格納領
域23Aのみに他の設定値が格納されている場合はパラ
メータ格納領域23Bを選択するといった具合にであ
る。その後、ステップ(8)へ進む。
On the other hand, if the parameter does not yet exist in step (1), it is determined in step (3) whether the parameter storage area of the non-volatile memory 23 is full. If it is not full, the next empty area is searched and selected in step (4). For example, when other setting values are stored only in the parameter storage area 23A, the parameter storage area 23B is selected. Then, it progresses to step (8).

【0095】一方、ステップ(3)でフル状態であると
判別した場合は、ステップ(5)で図4中のRAM22
c内優先度判別テーブルより最小の処理時間を必要とし
ているパラメータを格納している格納領域(この場合は
パラメータ格納領域23B)を選択する。その後、ステ
ップ(6)で今回格納指定が行われたパラメータの処理
時間を処理時間テーブル24より取り出し、選択した格
納領域の処理時間と比較し、格納指定パラメータの処理
時間の方が大きかったら書き換えを行うと判断して、ス
テップ(7)で優先度判別テーブルを書き換えた後、ス
テップ(8)で消去される領域(パラメータ格納領域2
3B)のパラメータ番号「1」およびパラメータのデー
タpar1をホストコンピュータ1へ送信し、ステップ
(10)へ進む。
On the other hand, if it is determined in step (3) that the memory is in the full state, the RAM 22 in FIG.
A storage area (parameter storage area 23B in this case) that stores a parameter that requires the minimum processing time is selected from the in-c priority determination table. Then, in step (6), the processing time of the parameter for which storage is specified this time is retrieved from the processing time table 24, compared with the processing time of the selected storage area, and rewritten if the processing time of the storage specified parameter is longer. If it is determined to be performed, the priority determination table is rewritten in step (7), and then the area (parameter storage area 2) to be erased in step (8).
The parameter number “1” of 3B) and the parameter data par1 are transmitted to the host computer 1, and the process proceeds to step (10).

【0096】ステップ(10)では選択された格納領域
へ指定パラメータの番号およびパラメータのデータを書
き込み、終了する。ステップ(6)で指定パラメータよ
り選択した最小処理時間の方が大きかった場合は格納処
理は行わずにステップ(9)で格納に失敗した指定パラ
メータの番号およびパラメータのデータをそのままホス
トコンピュータ1へ送信し、そのまま終了する。
At step (10), the designated parameter number and the parameter data are written to the selected storage area, and the process is terminated. If the minimum processing time selected in Step (6) is longer than the specified parameter, the storage process is not performed, and the specified parameter number and parameter data that failed to be stored in Step (9) are sent to the host computer 1 as they are. Then, it ends as it is.

【0097】以上、説明したように本実施例では、不揮
発性メモリ23がフルになった場合に消去されるパラメ
ータをホストコンピュータ1へ送信することで、デフォ
ルト値として存在しなくなった情報をホスト側で保存す
ることができる。
As described above, in the present embodiment, the parameters erased when the non-volatile memory 23 becomes full are transmitted to the host computer 1 so that the information which does not exist as the default value is stored in the host side. You can save it at.

【0098】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器から成る装置に適
用しても良い。また、本発明はシステムあるいは装置に
プログラムを供給することによって達成させる場合にも
適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0099】[0099]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、指示手段によるパラメータ書き込み指
示時に、第1の記憶手段のパラメータ格納領域のパラメ
ータ書き込み状態と第3の記憶手段に記憶された優先度
判別データ中の処理時間とを参照して、パラメータ更新
手段が前記第1の記憶手段に記憶されたいずれかの優先
度の低いパラメータを消去して確保されるパラメータ格
納領域の空き領域に書き込み指示された新規パラメータ
を更新登録するので、優先度の高い既に書き込まれたパ
ラメータ設定に処理時間を要するパラメータが書き換え
られてしまうことを確実に防止することができる。
As described above, the first aspect of the present invention
According to the invention, when the parameter writing is instructed by the instructing means, the parameter writing state of the parameter storage area of the first storing means and the processing time in the priority determination data stored in the third storing means are referred to. Since the parameter updating means deletes any of the low-priority parameters stored in the first storage means and updates and registers a new parameter instructed to be written in a free area of the parameter storage area secured, It is possible to reliably prevent rewriting of a parameter that requires a processing time for setting a parameter that has already been written with high frequency.

【0100】第2の発明によれば、指示手段によるパラ
メータ書き込み指示時に、前記第1の記憶手段のパラメ
ータ格納領域のパラメータ書き込み状態と前記第3の記
憶手段に記憶された優先度判別データ中のリセットレベ
ルとを参照して、パラメータ更新手段が前記第1の記憶
手段に記憶されたいずれかのパラメータを消去すること
により確保されるパラメータ格納領域の空き領域に対し
て書き込み指示された新規パラメータを更新登録するの
で、優先度の高い既に書き込まれた内部リセット処理を
必要とするパラメータが書き換えられてしまうことを確
実に防止することができる。
According to the second invention, when the parameter writing is instructed by the instructing means, the parameter writing state in the parameter storage area of the first storing means and the priority determination data stored in the third storing means are stored. With reference to the reset level, a new parameter instructed to be written to a free area of the parameter storage area secured by the parameter updating means deleting one of the parameters stored in the first storage means is set. Since update registration is performed, it is possible to reliably prevent rewriting of a parameter having a high priority, which has already been written and which requires the internal reset process.

【0101】第3の発明によれば、パラメータ更新手段
が第1の記憶手段に記憶されたいずれかのパラメータを
消去して確保されるパラメータ格納領域の空き領域に書
き込み指示された新規パラメータを更新登録する際に、
送信手段が消去されるパラメータ格納領域に記憶された
いずれかのパラメータをホストコンピュータにステータ
スとして送信するので、デフォルト値として存在しなく
なった情報をホスト側で保存することができる。
According to the third aspect of the invention, the parameter updating means erases any of the parameters stored in the first storage means and updates the new parameter instructed to be written in the empty area of the parameter storage area secured. When registering,
Since the transmitting means transmits one of the parameters stored in the deleted parameter storage area to the host computer as a status, the information which does not exist as a default value can be saved on the host side.

【0102】第4の発明によれば、指示手段は、ホスト
コンピュータからのコマンドを解析して第1の記憶手段
に対するパラメータの書き込みを指示するので、ホスト
コンピュータから第1の記憶手段に対するパラメータの
書き換えを容易に指示できる。
According to the fourth invention, the instructing means analyzes the command from the host computer to instruct the writing of the parameter to the first storage means, so that the parameter rewriting from the host computer to the first storage means is performed. Can be easily instructed.

【0103】第5の発明によれば、パラメータ更新手段
は、新規パラメータを第1の記憶手段に登録した場合
に、第3の記憶手段に記憶される優先度判別テーブルを
順次更新するので、第1の記憶手段の各パラメータの書
き換えが実行され、次のパラメータ書き換えが指示され
た場合に、第1の記憶手段から消去してもよい最適なパ
ラメータ候補を選択できるように各パラメータの優先度
を管理することができる。
According to the fifth invention, the parameter updating means sequentially updates the priority judgment table stored in the third storage means when the new parameter is registered in the first storage means. When the rewriting of each parameter of the first storage unit is executed and the next parameter rewriting is instructed, the priority of each parameter is set so that the optimum parameter candidate that may be deleted from the first storage unit can be selected. Can be managed.

【0104】第6の発明によれば、指示手段によるパラ
メータ書き込み指示時に、不揮発性メモリのパラメータ
格納領域のパラメータ書き込み状態と前記第3の記憶手
段に記憶された優先度判別データ中の処理時間とを参照
して、パラメータ更新手段が不揮発性メモリに記憶され
たいずれかの優先度の低いパラメータを消去して確保さ
れるパラメータ格納領域の空き領域に書き込み指示され
た新規パラメータを更新登録するので、優先度の高い既
に書き込まれたパラメータ設定に処理時間を要するパラ
メータが書き換えられてしまうことを確実に防止するこ
とができる。
According to the sixth invention, when the parameter writing is instructed by the instructing means, the parameter writing state of the parameter storing area of the non-volatile memory and the processing time in the priority discriminating data stored in the third storing means are described. With reference to, the parameter updating means erases one of the low-priority parameters stored in the non-volatile memory and updates and registers the new parameter instructed to be written in the empty area of the parameter storage area secured. It is possible to reliably prevent rewriting of a parameter that requires a processing time for setting a parameter that has already been written and has a high priority.

【0105】第7の発明によれば、印刷装置本体のメモ
リ資源に対する割り当て条件に対応するパラメータ設定
に処理時間を要するパラメータが書き換えられてしまう
ことを確実に防止することができる。
According to the seventh invention, it is possible to reliably prevent the rewriting of the parameter which requires the processing time for the parameter setting corresponding to the allocation condition for the memory resource of the printing apparatus main body.

【0106】第8の発明によれば、印刷装置本体に設定
可能な印刷モードに対するデータ処理条件に従うパラメ
ータ設定に処理時間を要するパラメータが書き換えられ
てしまうことを確実に防止する。
According to the eighth aspect, it is possible to reliably prevent the rewriting of a parameter which requires a processing time for the parameter setting according to the data processing condition for the print mode that can be set in the printing apparatus main body.

【0107】第9の発明によれば、指示手段によるパラ
メータ書き込み指示時に、第1の記憶手段のパラメータ
格納領域のパラメータ書き込み状態と前記第3の記憶手
段に記憶された優先度判別データ中の処理時間とを参照
して、パラメータ更新手段が前記第1の記憶手段に記憶
されたいずれかの優先度の低いパラメータを消去するこ
とにより確保されるパラメータ格納領域の空き領域に対
して書き込み指示された新規パラメータを更新登録する
ので、各印刷装置で優先度の高い既に書き込まれたパラ
メータ設定に処理時間を要するパラメータが書き換えら
れてしまうことを確実に防止することができる。
According to the ninth invention, when the parameter writing is instructed by the instructing means, the parameter writing state of the parameter storing area of the first storing means and the processing in the priority discriminating data stored in the third storing means are processed. With reference to the time, the parameter update means is instructed to write to the empty area of the parameter storage area secured by deleting any of the low priority parameters stored in the first storage means. Since the new parameter is updated and registered, it is possible to reliably prevent rewriting of a parameter that requires a processing time in the already written parameter setting of high priority in each printing apparatus.

【0108】第10の発明によれば、指示手段によるパ
ラメータ書き込み指示時に、前記第1の記憶手段のパラ
メータ格納領域のパラメータ書き込み状態と前記第3の
記憶手段に記憶された優先度判別データ中のリセットレ
ベルとを参照して、パラメータ更新手段が前記第1の記
憶手段に記憶されたいずれかのパラメータを消去して確
保されるパラメータ格納領域の空き領域に書き込み指示
された新規パラメータを更新登録するので、各印刷装置
で優先度の高い既に書き込まれた内部リセット処理を必
要とするパラメータが書き換えられてしまうことを確実
に防止することができる。
According to the tenth aspect, when the parameter writing is instructed by the instructing means, the parameter writing state in the parameter storage area of the first storing means and the priority discriminating data stored in the third storing means are stored. With reference to the reset level, the parameter updating unit erases one of the parameters stored in the first storage unit and updates and registers a new parameter instructed to be written in an empty area of the parameter storage area secured. Therefore, it is possible to reliably prevent rewriting of a parameter having a high priority, which has already been written and which requires the internal reset process, in each printing apparatus.

【0109】第11の発明によれば、指示手段により印
刷処理条件を設定するのに要する処理時間に対応するパ
ラメータ書き込みが指示された際に、第1の記憶手段の
パラメータ格納領域のパラメータ書き込み状態と前記第
3の記憶手段に記憶された優先度判別データとを参照
し、第1の記憶手段に記憶されたいずれかのパラメータ
を消去して確保されるパラメータ格納領域の空き領域に
書き込み指示された新規パラメータを更新登録するの
で、プログラム制御により各印刷装置で優先度の高い既
に書き込まれたパラメータ設定に処理時間を要するパラ
メータが書き換えられてしまうことを確実に防止するこ
とができる。
According to the eleventh aspect, the parameter writing state of the parameter storage area of the first storage means is provided when the instruction means instructs the parameter writing corresponding to the processing time required to set the print processing condition. With reference to the priority determination data stored in the third storage means, any one of the parameters stored in the first storage means is erased, and a write instruction is given to a free area of the parameter storage area secured. Since the new parameter is updated and registered, it is possible to reliably prevent the program control from rewriting the parameter, which requires a processing time, for the parameter setting which has already been written and has a high priority in each printing apparatus.

【0110】第12の発明によれば、指示手段により異
なるリセット処理レベルが設定されたパラメータ書き込
みが指示された際に、第1の記憶手段のパラメータ格納
領域のパラメータ書き込み状態と前記第3の記憶手段に
記憶された優先度判別データとを参照し、第1の記憶手
段に記憶されたいずれかのパラメータを消去して確保さ
れるパラメータ格納領域の空き領域に書き込み指示され
た新規パラメータを更新登録するので、プログラム制御
により各印刷装置で優先度の高い既に書き込まれた異な
るリセット処理レベルが設定されたパラメータが書き換
えられてしまうことを確実に防止することができる。
According to the twelfth aspect of the invention, when the instructing means issues an instruction to write a parameter for which a different reset processing level is set, the parameter writing state of the parameter storing area of the first storing means and the third storing The priority determination data stored in the means is referred to, and a new parameter instructed to be written is updated and registered in an empty area of the parameter storage area secured by erasing any of the parameters stored in the first storage means. Therefore, it is possible to reliably prevent rewriting of a parameter having a different priority and written with a different reset processing level, which has a high priority, in each printing apparatus by the program control.

【0111】従って、限られた容量の記憶媒体内に必要
とされる重要な情報を保持して、一義的な情報書き込み
処理に応じて本来必要とされる優先度等が異なる情報が
容易に消失されてしまうことによる、印刷処理効率の低
下を確実に防止できるという効果を奏する。
Therefore, important information required in a storage medium having a limited capacity is held, and information having a different priority or the like originally required according to a unique information writing process easily disappears. This brings about an effect that it is possible to surely prevent a decrease in print processing efficiency due to the occurrence of the above.

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

【図1】本発明の第1実施例を示す印刷装置の構成を説
明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing apparatus according to a first embodiment of the present invention.

【図2】図1に示した不揮発性メモリのデータ構造を説
明する図である。
FIG. 2 is a diagram illustrating a data structure of the nonvolatile memory shown in FIG.

【図3】図1に示す処理時間テーブルに格納される処理
時間テーブルの一例を示す図である。
FIG. 3 is a diagram showing an example of a processing time table stored in the processing time table shown in FIG.

【図4】図2に示した項目格納領域毎の処理時間を示す
優先度判別テーブルの一例を示す図である。
FIG. 4 is a diagram showing an example of a priority determination table showing a processing time for each item storage area shown in FIG.

【図5】本発明に係る印刷装置の不揮発性メモリ書き換
え処理方法の第1実施例を示すフローチャートである。
FIG. 5 is a flowchart showing a first embodiment of a non-volatile memory rewriting processing method for a printing apparatus according to the present invention.

【図6】本発明の第2実施例を示す印刷装置の構成を示
すブロック図である。
FIG. 6 is a block diagram showing a configuration of a printing apparatus showing a second embodiment of the present invention.

【図7】図6に示したリセットレベルテーブルのデータ
構造を説明する図である。
7 is a diagram illustrating a data structure of a reset level table shown in FIG.

【図8】図2に示した項目格納領域毎の処理時間を示す
優先度判別テーブルの他の例を示す図である。
8 is a diagram showing another example of a priority determination table showing the processing time for each item storage area shown in FIG.

【図9】本発明に係る印刷装置の不揮発性メモリ書き換
え処理方法の第2実施例を示すフローチャートである。
FIG. 9 is a flowchart showing a second embodiment of the nonvolatile memory rewriting processing method of the printing apparatus according to the present invention.

【図10】本発明に係る印刷装置の不揮発性メモリ書き
換え処理方法の第3実施例を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a third embodiment of the nonvolatile memory rewriting processing method of the printing apparatus according to the present invention.

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

1 ホストコンピュータ 2 印刷装置 21 インタフェース部 22 制御部 22a CPU 22b ROM 22a RAM 23 不揮発性メモリ 24 処理時間テーブル 25 ドットプリンタエンジン部 61 リセットレベルテーブル DESCRIPTION OF SYMBOLS 1 Host computer 2 Printing device 21 Interface part 22 Control part 22a CPU 22b ROM 22a RAM 23 Nonvolatile memory 24 Processing time table 25 Dot printer engine part 61 Reset level table

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータから印刷情報を受信
し、該受信した印刷情報を解析して記録媒体に印刷装置
本体で印刷を行う印刷装置において、前記ホストコンピ
ュータから受信する印刷情報を処理するために必要な印
刷装置本体に設定する所定の印刷処理条件に対応する種
々のパラメータを所定記憶容量のパラメータ格納領域内
に記憶する第1の記憶手段と、この第1の記憶手段に記
憶された各パラメータに従う印刷処理条件を設定するの
に要する処理時間を各パラメータ毎に記憶する第2の記
憶手段と、前記第1の記憶手段に対するパラメータの書
き込みを指示する指示手段と、第1の記憶手段のパラメ
ータ格納領域内の各パラメータと前記第2の記憶手段に
記憶された各パラメータの処理時間とから書き換え可能
なパラメータの優先順位を決定するための優先度判別テ
ーブルを記憶する第3の記憶手段と、前記指示手段によ
るパラメータ書き込み指示時に、前記第1の記憶手段の
パラメータ格納領域のパラメータ書き込み状態と前記第
3の記憶手段に記憶された優先度判別データとを参照し
て、前記第1の記憶手段に記憶されたいずれかのパラメ
ータを消去して確保されるパラメータ格納領域の空き領
域に書き込み指示された新規パラメータを更新登録する
パラメータ更新手段とを具備したことを特徴とする印刷
装置。
1. A printing apparatus that receives print information from a host computer, analyzes the received print information, and prints on a recording medium by a printing apparatus main body, in order to process the print information received from the host computer. First storage means for storing various parameters corresponding to predetermined print processing conditions set in the necessary printing apparatus main body in a parameter storage area having a predetermined storage capacity, and each parameter stored in the first storage means. Second storage means for storing the processing time required to set the print processing conditions according to the above, for each parameter, instructing means for instructing the writing of the parameters to the first storage means, and the parameters of the first storage means. Priority of rewritable parameters based on each parameter in the storage area and the processing time of each parameter stored in the second storage means Third storage means for storing a priority determination table for determining the rank, and a parameter writing state of the parameter storage area of the first storage means and the third storage means at the time of the parameter writing instruction by the instructing means. And updating the new parameter instructed to be written in the free space of the parameter storage area secured by erasing any of the parameters stored in the first storage means with reference to the priority determination data stored in A printing apparatus comprising a parameter updating unit for registering.
【請求項2】 ホストコンピュータから印刷情報を受信
し、該受信した印刷情報を解析して記録媒体に印刷を行
う印刷装置において、前記ホストコンピュータから受信
する印刷情報を処理するために必要な印刷装置本体に設
定する所定の印刷処理条件に対応する種々のパラメータ
を所定記憶容量のパラメータ格納領域内に記憶する第1
の記憶手段と、この第1の記憶手段に記憶された各パラ
メータの設定に必要とされるリセットレベルを各パラメ
ータ毎に記憶する第2の記憶手段と、前記第1の記憶手
段に対するパラメータの書き込みを指示する指示手段
と、第1の記憶手段のパラメータ格納領域内の各パラメ
ータと前記第2の記憶手段に記憶された各パラメータの
リセットレベルとから書き換え可能なパラメータの優先
順位を決定するための優先度判別テーブルを記憶する第
3の記憶手段と、前記指示手段によるパラメータ書き込
み指示時に、前記第1の記憶手段のパラメータ格納領域
のパラメータ書き込み状態と前記第3の記憶手段に記憶
された優先度判別データとを参照して、前記第1の記憶
手段に記憶されたいずれかのパラメータを消去して確保
されるパラメータ格納領域の空き領域に書き込み指示さ
れた新規パラメータを更新登録するパラメータ更新手段
とを具備したことを特徴とする印刷装置。
2. A printing apparatus that receives print information from a host computer, analyzes the received print information, and prints on a recording medium, the printing apparatus being necessary for processing the print information received from the host computer. Various parameters corresponding to predetermined print processing conditions set in the main body are stored in a parameter storage area having a predetermined storage capacity.
Storage means, second storage means for storing the reset level required for setting each parameter stored in the first storage means for each parameter, and writing the parameter to the first storage means. For determining the priority order of the rewritable parameters from the instruction means for instructing, and the reset level of each parameter in the parameter storage area of the first storage means and each parameter stored in the second storage means. Third storage means for storing a priority determination table, and a parameter write state of a parameter storage area of the first storage means and a priority stored in the third storage means when a parameter writing instruction is given by the instructing means. Parameter data which is secured by erasing any of the parameters stored in the first storage means with reference to the discrimination data. Printing apparatus characterized by comprising a parameter updating means for updating register a new parameter which is a write instruction to the free space region.
【請求項3】 パラメータ更新手段が第1の記憶手段に
記憶されたいずれかのパラメータを消去して確保される
パラメータ格納領域の空き領域に書き込み指示された新
規パラメータを更新登録する際に、消去されるパラメー
タ格納領域に記憶されたいずれかのパラメータをホスト
コンピュータにステータスとして送信する送信手段を具
備したことを特徴とする請求項1または2記載の印刷装
置。
3. When the parameter updating means updates and registers a new parameter instructed to be written in a free area of a parameter storage area secured by erasing one of the parameters stored in the first storage means, the parameter is erased. 3. The printing apparatus according to claim 1, further comprising a transmission unit that transmits any of the parameters stored in the stored parameter storage area to the host computer as a status.
【請求項4】 指示手段は、ホストコンピュータからの
コマンドを解析して第1の記憶手段に対するパラメータ
の書き込みを指示することを特徴とする請求項1または
2記載の印刷装置。
4. The printing apparatus according to claim 1, wherein the instructing unit analyzes the command from the host computer to instruct the writing of the parameter in the first storage unit.
【請求項5】 パラメータ更新手段は、新規パラメータ
を第1の記憶手段に登録した場合に、第3の記憶手段に
記憶される優先度判別テーブルを順次更新することを特
徴とする請求項1または2記載の印刷装置。
5. The parameter updating means sequentially updates the priority determination table stored in the third storage means when a new parameter is registered in the first storage means. 2. The printing device according to 2.
【請求項6】 第1の記憶手段は、不揮発性メモリで構
成したことを特徴とする請求項1または2記載の印刷装
置。
6. The printing apparatus according to claim 1, wherein the first storage unit comprises a non-volatile memory.
【請求項7】 印刷処理条件は、印刷装置本体のメモリ
資源に対する割り当て条件であることを特徴とする請求
項1または2記載の印刷装置。
7. The printing apparatus according to claim 1, wherein the print processing condition is an allocation condition for a memory resource of the printing apparatus main body.
【請求項8】 印刷処理条件は、印刷装置本体に設定可
能な印刷モードに従うデータ処理条件であることを特徴
とする請求項1または2記載の印刷装置。
8. The printing apparatus according to claim 1, wherein the printing processing condition is a data processing condition according to a printing mode that can be set in the printing apparatus main body.
【請求項9】 複数のホストコンピュータから所定のネ
ットワークを介して印刷情報を受信し、該受信した印刷
情報を解析して記録媒体に印刷を行う印刷装置を複数接
続して構成される印刷システムにおいて、前記ホストコ
ンピュータから受信する印刷情報を処理するために必要
な印刷装置本体に設定する所定の印刷処理条件に対応す
る種々のパラメータを所定記憶容量のパラメータ格納領
域内に記憶する第1の記憶手段と、この第1の記憶手段
に記憶された各パラメータに従う印刷処理条件を設定す
るのに要する処理時間を各パラメータ毎に記憶する第2
の記憶手段と、前記第1の記憶手段に対するパラメータ
の書き込みを指示する指示手段と、第1の記憶手段のパ
ラメータ格納領域内の各パラメータと前記第2の記憶手
段に記憶された各パラメータの処理時間とから書き換え
可能なパラメータの優先順位を決定するための優先度判
別テーブルを記憶する第3の記憶手段と、前記指示手段
によるパラメータ書き込み指示時に、前記第1の記憶手
段のパラメータ格納領域のパラメータ書き込み状態と前
記第3の記憶手段に記憶された優先度判別データとを参
照して、前記第1の記憶手段に記憶されたいずれかのパ
ラメータを消去して確保されるパラメータ格納領域の空
き領域に書き込み指示された新規パラメータを更新登録
するパラメータ更新手段とを各印刷装置側に具備したこ
とを特徴とする印刷システム。
9. A printing system configured by connecting a plurality of printing devices for receiving print information from a plurality of host computers via a predetermined network, analyzing the received print information, and printing on a recording medium. First storage means for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing the print information received from the host computer in a parameter storage area having a predetermined storage capacity. And a processing time required to set a printing processing condition according to each parameter stored in the first storage means is stored for each parameter.
Storage means, instruction means for instructing writing of parameters to the first storage means, processing of each parameter in the parameter storage area of the first storage means and processing of each parameter stored in the second storage means. Third storage means for storing a priority determination table for determining the priority order of rewritable parameters based on time, and a parameter in the parameter storage area of the first storage means when a parameter writing instruction is given by the instructing means. An empty area of a parameter storage area that is secured by erasing any of the parameters stored in the first storage means with reference to the written state and the priority determination data stored in the third storage means. And a parameter updating unit for updating and registering a new parameter instructed to be written in each printer. System.
【請求項10】 複数のホストコンピュータから所定の
ネットワークを介して印刷情報を受信し、該受信した印
刷情報を解析して記録媒体に印刷を行う印刷装置を複数
接続して構成される印刷システムにおいて、前記ホスト
コンピュータから受信する印刷情報を処理するために必
要な印刷装置本体に設定する所定の印刷処理条件に対応
する種々のパラメータを所定記憶容量のパラメータ格納
領域内に記憶する第1の記憶手段と、この第1の記憶手
段に記憶された各パラメータの設定に必要とされるリセ
ット処理レベルを各パラメータ毎に記憶する第2の記憶
手段と、前記第1の記憶手段に対するパラメータの書き
込みを指示する指示手段と、第1の記憶手段のパラメー
タ格納領域内の各パラメータと前記第2の記憶手段に記
憶された各パラメータのリセットレベルとから書き換え
可能なパラメータの優先順位を決定するための優先度判
別テーブルを記憶する第3の記憶手段と、前記指示手段
によるパラメータ書き込み指示時に、前記第1の記憶手
段のパラメータ格納領域のパラメータ書き込み状態と前
記第3の記憶手段に記憶された優先度判別データとを参
照して、前記第1の記憶手段に記憶されたいずれかのパ
ラメータを消去して確保されるパラメータ格納領域の空
き領域に書き込み指示された新規パラメータを更新登録
するパラメータ更新手段とを具備したことを特徴とする
印刷システム。
10. A printing system configured by connecting a plurality of printing devices that receive print information from a plurality of host computers via a predetermined network, analyze the received print information, and print on a recording medium. First storage means for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing the print information received from the host computer in a parameter storage area having a predetermined storage capacity. And a second storage means for storing, for each parameter, a reset processing level required for setting each parameter stored in the first storage means, and an instruction to write the parameter to the first storage means. Instruction means, each parameter in the parameter storage area of the first storage means, and each parameter stored in the second storage means. Parameter storing table for determining the priority of rewritable parameters based on the reset level of the parameters, and parameter storage of the first storing means when a parameter writing instruction is given by the instructing means. A parameter storage area secured by erasing any of the parameters stored in the first storage means with reference to the parameter writing state of the area and the priority determination data stored in the third storage means. And a parameter updating unit for updating and registering a new parameter instructed to be written in the empty area of the printing system.
【請求項11】 複数のホストコンピュータから所定の
ネットワークを介して印刷情報を受信し、該受信した印
刷情報を解析して記録媒体に印刷を行う印刷装置を複数
接続し、各ホストコンピュータから受信する印刷情報を
処理するために必要な印刷装置本体に設定する所定の印
刷処理条件に対応する種々のパラメータを所定記憶容量
のパラメータ格納領域内に記憶する第1の記憶手段と、
この第1の記憶手段に記憶された各パラメータに従う印
刷処理条件を設定するのに要する処理時間を各パラメー
タ毎に記憶する第2の記憶手段と、前記第1の記憶手段
に対するパラメータの書き込みを指示する指示手段と、
第1の記憶手段のパラメータ格納領域内の各パラメータ
と前記第2の記憶手段に記憶された各パラメータの処理
時間とから書き換え可能なパラメータの優先順位を決定
するための優先度判別テーブルを記憶する第3の記憶手
段とを有する印刷システムのメモリ資源管理方法におい
て、前記指示手段によるパラメータ書き込み指示時に、
前記第1の記憶手段のパラメータ格納領域のパラメータ
書き込み状態と前記第3の記憶手段に記憶された優先度
判別データとを参照する参照工程と、前記第1の記憶手
段に記憶されたいずれかのパラメータを消去して確保さ
れるパラメータ格納領域の空き領域に書き込み指示され
た新規パラメータを更新登録するパラメータ更新工程と
を具備したことを特徴とする印刷システムのメモリ資源
管理方法。
11. A plurality of printing apparatuses that receive print information from a plurality of host computers via a predetermined network, analyze the received print information and print on a recording medium, and receive the print information from each host computer. First storage means for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information in a parameter storage area having a predetermined storage capacity;
Second storage means for storing, for each parameter, the processing time required to set the print processing condition according to each parameter stored in the first storage means, and an instruction to write the parameter to the first storage means Instruction means to
A priority determination table is stored for determining the priority of rewritable parameters from the parameters stored in the parameter storage area of the first storage means and the processing times of the parameters stored in the second storage means. In a memory resource management method of a printing system having a third storage means, when a parameter writing instruction is given by the instruction means,
A reference step of referring to the parameter writing state of the parameter storage area of the first storage means and the priority determination data stored in the third storage means, and one of the reference steps stored in the first storage means. And a parameter updating step of updating and registering a new parameter instructed to be written in a free area of a parameter storage area secured by erasing the parameter, and a memory resource management method for a printing system.
【請求項12】 複数のホストコンピュータから所定の
ネットワークを介して印刷情報を受信し、該受信した印
刷情報を解析して記録媒体に印刷を行う印刷装置を複数
接続し、各ホストコンピュータから受信する印刷情報を
処理するために必要な印刷装置本体に設定する所定の印
刷処理条件に対応する種々のパラメータを所定記憶容量
のパラメータ格納領域内に記憶する第1の記憶手段と、
この第1の記憶手段に記憶された各パラメータの設定に
必要とされるリセット処理レベルを各パラメータ毎に記
憶する第2の記憶手段と、前記第1の記憶手段に対する
パラメータの書き込みを指示する指示手段と、第1の記
憶手段のパラメータ格納領域内の各パラメータと前記第
2の記憶手段に記憶された各パラメータのリセット処理
レベルとから書き換え可能なパラメータの優先順位を決
定するための優先度判別テーブルを記憶する第3の記憶
手段とを有する印刷システムのメモリ資源管理方法にお
いて、前記指示手段によるパラメータ書き込み指示時
に、前記第1の記憶手段のパラメータ格納領域のパラメ
ータ書き込み状態と前記第3の記憶手段に記憶された優
先度判別データとを参照する参照工程と、前記第1の記
憶手段に記憶されたいずれかのパラメータを消去して確
保されるパラメータ格納領域の空き領域に書き込み指示
された新規パラメータを更新登録するパラメータ更新工
程とを具備したことを特徴とする印刷システムのメモリ
資源管理方法。
12. A printer, which receives print information from a plurality of host computers via a predetermined network, analyzes the received print information, and prints on a recording medium, receives the print information from each host computer. First storage means for storing various parameters corresponding to predetermined print processing conditions set in the printing apparatus main body necessary for processing print information in a parameter storage area having a predetermined storage capacity;
Second storage means for storing, for each parameter, the reset processing level required for setting each parameter stored in the first storage means, and an instruction for instructing the writing of the parameter to the first storage means. Means, and a priority determination for determining the priority of rewritable parameters based on each parameter in the parameter storage area of the first storage means and the reset processing level of each parameter stored in the second storage means. In a memory resource management method of a printing system having a third storage means for storing a table, the parameter writing state of the parameter storage area of the first storage means and the third storage when the parameter writing instruction by the instructing means A reference step of referring to the priority determination data stored in the means, and the reference step stored in the first storage means. Memory resource management method for a printing system characterized by comprising a parameter update step of updating register a new parameter which is a write instruction to the free space in the parameter storage area is secured by erasing the parameters Zureka.
JP6132186A 1994-06-14 1994-06-14 Printer, printing system, and memory resource managing method for the system Pending JPH07334327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6132186A JPH07334327A (en) 1994-06-14 1994-06-14 Printer, printing system, and memory resource managing method for the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6132186A JPH07334327A (en) 1994-06-14 1994-06-14 Printer, printing system, and memory resource managing method for the system

Publications (1)

Publication Number Publication Date
JPH07334327A true JPH07334327A (en) 1995-12-22

Family

ID=15075409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6132186A Pending JPH07334327A (en) 1994-06-14 1994-06-14 Printer, printing system, and memory resource managing method for the system

Country Status (1)

Country Link
JP (1) JPH07334327A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999027436A1 (en) * 1997-11-25 1999-06-03 Seiko Epson Corporation Printer, control method therefor and recording medium
JP2011138266A (en) * 2009-12-28 2011-07-14 Kyocera Mita Corp Image-forming device and method of writing to nonvolatile memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999027436A1 (en) * 1997-11-25 1999-06-03 Seiko Epson Corporation Printer, control method therefor and recording medium
US6244762B1 (en) 1997-11-25 2001-06-12 Seiko Epson Corporation Printing apparatus, method of controlling it and storage medium
JP2011138266A (en) * 2009-12-28 2011-07-14 Kyocera Mita Corp Image-forming device and method of writing to nonvolatile memory

Similar Documents

Publication Publication Date Title
US7227656B1 (en) Management device and method of print system for updating software programs installed in the print system
US7027169B1 (en) System for efficiently distributing print jobs
US6567179B1 (en) System for controlling communication between a printer and an external host computer
US6734985B1 (en) Printing apparatus, printing system and method of controlling same
US7916315B2 (en) Method and apparatus for executing load distributed printing
JPH10143340A (en) Printer
JP2006069125A (en) Image forming apparatus, and portable storage medium with stored firmware therefor
US8711379B2 (en) Method and apparatus for executing load distributed printing
US7924447B2 (en) Method and system for workload balancing
EP2693329A1 (en) Image forming system sharing resources such as fonts
JPH07334327A (en) Printer, printing system, and memory resource managing method for the system
JPH07152510A (en) Automatic printer selecting device
JP2003246123A (en) Printer, method for loading control program, medium having load control program recorded therein, and load control program
JP2001306281A (en) Printing device, method for updating its control information and computer readable storage medium
JP3837863B2 (en) Print processing system, print processing method, and computer-readable recording medium on which print processing control program is recorded
JP2001075748A (en) Printing system and computer readable recording medium stored with printing control program
JP3173721B2 (en) Printer and operation method thereof
JP4239392B2 (en) Printing apparatus, printing system, and printing method
JP3501641B2 (en) Image processing system, image processing method, and storage medium
JPH11161443A (en) Network printer system
JP3209910B2 (en) Print control device and print control method
JPH09305383A (en) Program modification system of on-line terminal
JPH0811381A (en) Printing machine and method for controlling the same
JPH11355545A (en) Data output device
JPH1097395A (en) Print controller, print control method for printer device, and storage medium stored with computer-readable program