JPH08272556A - Printing device and its method, information processor and its method and printing system - Google Patents

Printing device and its method, information processor and its method and printing system

Info

Publication number
JPH08272556A
JPH08272556A JP7071199A JP7119995A JPH08272556A JP H08272556 A JPH08272556 A JP H08272556A JP 7071199 A JP7071199 A JP 7071199A JP 7119995 A JP7119995 A JP 7119995A JP H08272556 A JPH08272556 A JP H08272556A
Authority
JP
Japan
Prior art keywords
setting
printing
changing
print
command
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.)
Withdrawn
Application number
JP7071199A
Other languages
Japanese (ja)
Inventor
Tsutomu Kubota
勉 久保田
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 JP7071199A priority Critical patent/JPH08272556A/en
Publication of JPH08272556A publication Critical patent/JPH08272556A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To prevent printing processing to go against the grain in the case where after a host computer changes the setting of a printing device, the setting is changed further by another host computer before the printing processing corresponding to the previous setting is executed. CONSTITUTION: In a step S404, it is judged whether received data is a control command to request the change of the setting or printing data. In the case of the control command, a flag to show whether the setting is changed before or not is investigated, and if the flag is erected, in the step S409, a warning is displayed in order not to change the setting again. On the other hand, if the flag is not erected, a process is advanced to the step S406, and it is judged whether the setting to be changed is equal to the setting of default or not, and if it is not equal, in the steps S407, S408, the setting is changed and the flag is set.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷制御装置及びその
方法、及び情報処理装置及びその方法、及び印刷システ
ムに係り、特に、複数の情報処理装置が印刷装置を共有
するネットワーク上の印刷制御及び情報処理及び印刷シ
ステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control apparatus and method, an information processing apparatus and method, and a printing system, and more particularly to print control on a network in which a plurality of information processing apparatuses share a printing apparatus. And information processing and printing systems.

【0002】[0002]

【従来の技術】従来、複数のホストコンピュータがネッ
トワーク上の印刷装置を共有する場合において、印刷装
置の設定は、各ホストコンピュータから自由に行ってい
た。
2. Description of the Related Art Conventionally, when a plurality of host computers share a printing device on a network, the setting of the printing device has been freely performed by each host computer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例では、印刷装置の設定が変更されても、変更したホ
ストコンピュータ以外は、その変更の事実を知り得ない
ため、意に反した印刷を避けるべく、印刷データを出力
する度に事前に所定の設定情報を印刷装置に供給する
か、或いは、その変更を行ったホストコンピュータのユ
ーザが、その都度、リセットにより元の設定に戻す必要
があった。また、このように印刷データの前後にリセッ
トコマンド等を挿入すると、他のホストコンピュータが
その直前に設定した内容や、次の印刷処理に影響を与え
る虞があった。
However, in the above-mentioned conventional example, even if the setting of the printing apparatus is changed, only the changed host computer can know the fact of the change, so avoiding unintentional printing. Therefore, each time the print data is output, predetermined setting information must be supplied to the printing device in advance, or the user of the host computer that has made the change must reset the settings each time. . Further, if a reset command or the like is inserted before and after the print data in this manner, there is a possibility that the contents set immediately before that by another host computer and the next print processing may be affected.

【0004】本発明は、上記問題点に鑑みなされたもの
で、ホストコンピュータが印刷装置の設定を変更した際
に、該変更が他のホストコンピュータに係る印刷処理に
与える影響を軽減することを目的とする。
The present invention has been made in view of the above problems, and it is an object of the present invention, when a host computer changes a setting of a printing apparatus, to reduce the influence of the change on the printing process of another host computer. And

【0005】また、ホストコンピュータが印刷装置の設
定を変更した後、それに対応する印刷処理が実行される
前に、更に他のホストコンピュータによって設定が変更
された際の意に反した印刷処理を防止することを目的と
する。
Further, after the host computer changes the setting of the printing apparatus and before the corresponding print processing is executed, the unintentional print processing when the setting is further changed by another host computer is prevented. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】および[Means for Solving the Problems] and

【作用】上記問題点を解決するため本発明に係る印刷装
置は、印刷装置を制御する印刷制御装置であって、所定
の設定を変更する旨の命令を認識する認識手段と、前記
命令に従い前記所定の設定を他の設定に変更する変更手
段と、前記変更手段による設定の変更と印刷データの印
刷処理とに従いフラグを変化させるフラグ手段と、前記
認識手段が前記命令を認識した際に、前記フラグの状態
を判定する判定手段と、前記判定手段の判定結果に従い
印刷処理を停止する停止手段とを具備することを特徴と
し、ホストコンピュータが印刷装置の設定を変更した
後、それに対応する印刷処理が実行される前に、更に他
のホストコンピュータによって設定が変更された際の意
に反した印刷処理が防止される。
In order to solve the above problems, a printing apparatus according to the present invention is a printing control apparatus for controlling a printing apparatus, which recognizes an instruction to change a predetermined setting, and a recognition means for recognizing the instruction. Changing means for changing the predetermined setting to another setting, flag means for changing the flag according to the setting change by the changing means and the print processing of the print data, and when the recognizing means recognizes the command, A print processing corresponding to the flag after the host computer changes the setting of the printing device, characterized by comprising a judging means for judging the state of the flag and a stopping means for stopping the printing processing according to the judgment result of the judging means. It is possible to prevent an unintended printing process when the setting is changed by another host computer before the execution of.

【0007】また、印刷装置を制御する印刷制御装置で
あって、所定の設定を変更する旨の命令を認識する認識
手段と、前記命令に従い前記所定の設定を他の設定に変
更する変更手段と、前記命令に含まれるホストコンピュ
ータの第1の識別情報を登録する登録手段と、前記第1
の識別情報と、印刷データに含まれるホストコンピュー
タの第2の識別情報との同一性を判定する判定手段と、
前記判定手段の判定結果に従い印刷処理を停止する停止
手段とを具備することを特徴とし、ホストコンピュータ
が印刷装置の設定を変更した際に、該変更が他のホスト
コンピュータに係る印刷処理に与える影響が軽減され、
また、ホストコンピュータが印刷装置の設定を変更した
後、それに対応する印刷処理が実行される前に、更に他
のホストコンピュータによって設定が変更された際の意
に反した印刷処理が防止される。
A print control device for controlling the printing device, the recognition means recognizing an instruction to change a predetermined setting, and a changing means for changing the predetermined setting to another setting in accordance with the instruction. Registering means for registering first identification information of the host computer included in the command;
Determination information for determining the identity of the identification information of the host computer and the second identification information of the host computer included in the print data,
And a stop unit that stops the print processing according to the determination result of the determination unit, and when the host computer changes the setting of the printing apparatus, the change has an influence on the print processing of another host computer. Is reduced,
Further, after the host computer changes the setting of the printing apparatus and before the corresponding print processing is executed, it is possible to prevent the print processing which is against the intention when the setting is changed by another host computer.

【0008】また、本発明に係る情報処理装置は、印刷
装置の設定を変更する制御コマンドに、その変更の属性
を示す識別コードを付加する第1の識別コード付加手段
と、前記制御コマンドに対応する印刷データに前記識別
コードと同一の識別コードを付加する第2の識別コード
付加手段とを具備することを特徴とし、印刷装置の設定
を変更した際に、該変更が他のホストコンピュータに係
る印刷処理に与える影響が軽減され、また、印刷装置の
設定を変更した後、それに対応する印刷処理が実行され
る前に、更に他のホストコンピュータによって設定が変
更された際の意に反した印刷処理が防止される。
Further, the information processing apparatus according to the present invention corresponds to a control command for changing the setting of the printing apparatus, a first identification code adding means for adding an identification code indicating an attribute of the change, and the control command. A second identification code adding means for adding the same identification code as the identification code to the print data to be printed, when the setting of the printing apparatus is changed, the change is related to another host computer. The impact on print processing is reduced, and even if you change the setting of the printing device and before the corresponding print processing is executed, the printing is changed inadvertently by another host computer. Processing is prevented.

【0009】また、本発明に係る印刷制御方法は、印刷
装置を制御する印刷制御方法であって、所定の設定を変
更する旨の命令を認識する認識工程と、前記命令に従い
前記所定の設定を他の設定に変更する変更工程と、前記
変更工程と、印刷データの印刷処理とに従いフラグを変
化させるフラグ制御工程と、前記認識工程が前記命令を
認識した際に、前記フラグの状態を判定する判定工程
と、前記判定工程の判定結果に従い印刷処理を停止する
停止工程とを具備することを特徴とし、ホストコンピュ
ータが印刷装置の設定を変更した後、それに対応する印
刷処理が実行される前に、更に他のホストコンピュータ
によって設定が変更された際の意に反した印刷処理が防
止される。
A print control method according to the present invention is a print control method for controlling a printing apparatus, which comprises a recognition step of recognizing a command to change a predetermined setting, and the predetermined setting according to the command. A changing step of changing to another setting, a flag controlling step of changing a flag according to the changing step, and a print process of print data, and a state of the flag is determined when the recognizing step recognizes the command. A determination step and a stop step of stopping the print processing according to the determination result of the determination step are provided, and after the host computer changes the setting of the printing device and before the corresponding print processing is executed. Further, it is possible to prevent the print processing against the intention when the setting is changed by another host computer.

【0010】また、印刷装置を制御する印刷制御方法で
あって、所定の設定を変更する旨の命令を認識する認識
工程と、前記命令に従い前記所定の設定を他の設定に変
更する変更工程と、前記命令に含まれるホストコンピュ
ータの第1の識別情報を登録する登録工程と、前記第1
の識別情報と、印刷データに含まれるホストコンピュー
タの第2の識別情報との同一性を判定する判定工程と、
前記判定工程の判定結果に従い印刷処理を停止する停止
工程とを具備することを特徴とし、ホストコンピュータ
が印刷装置の設定を変更した際に、該変更が他のホスト
コンピュータに係る印刷処理に与える影響が軽減され、
また、ホストコンピュータが印刷装置の設定を変更した
後、それに対応する印刷処理が実行される前に、更に他
のホストコンピュータによって設定が変更された際の意
に反した印刷処理が防止される。また、本発明に係る情
報処理方法は、印刷装置の設定を変更する制御コマンド
に、その変更の属性を示す識別コードを付加する第1の
識別コード付加工程と、前記制御コマンドに対応する印
刷データに前記識別コードと同一の識別コードを付加す
る第2の識別コード付加工程とを具備することを特徴と
し、印刷装置の設定を変更した際に、該変更が他のホス
トコンピュータに係る印刷処理に与える影響が軽減さ
れ、また、印刷装置の設定を変更した後、それに対応す
る印刷処理が実行される前に、更に他のホストコンピュ
ータによって設定が変更された際の意に反した印刷処理
が防止される。
A printing control method for controlling a printing apparatus, which comprises a recognition step of recognizing a command to change a predetermined setting, and a changing step of changing the predetermined setting to another setting in accordance with the command. A registration step of registering first identification information of the host computer included in the command,
Determination information for determining the identity of the host computer and the second identification information of the host computer included in the print data,
A stop step of stopping the print processing according to the determination result of the determination step, and when the host computer changes the setting of the printing apparatus, the change has an effect on the print processing of another host computer. Is reduced,
Further, after the host computer changes the setting of the printing apparatus and before the corresponding print processing is executed, it is possible to prevent the print processing which is against the intention when the setting is changed by another host computer. Further, the information processing method according to the present invention includes a first identification code adding step of adding an identification code indicating an attribute of the change to a control command for changing the setting of the printing apparatus, and print data corresponding to the control command And a second identification code adding step of adding the same identification code as the above identification code to the print processing relating to another host computer when the setting of the printing apparatus is changed. This reduces the impact on the printer, and prevents unintentional print processing when the settings are changed by another host computer after changing the settings of the printing device and before the corresponding print processing is executed. To be done.

【0011】[0011]

【実施例】【Example】

〔第一の実施例〕以下、本発明の好適な第一の実施例を
図を参照しながら説明する。
[First Embodiment] A preferred first embodiment of the present invention will be described below with reference to the drawings.

【0012】図2は、複数のホストコンピュータと印刷
装置が接続されたネットワークを示す図である。201
乃至203は、夫々ホストコンピュータA,B,Cであ
り、204は印刷装置である。205は、それらを接続
する通信路である。尚、以下、ホストコンピュータをホ
ストとも表現する。
FIG. 2 is a diagram showing a network in which a plurality of host computers and printing devices are connected. 201
Reference numerals 203 to 203 denote host computers A, B, and C, respectively, and 204 denotes a printing device. 205 is a communication path connecting them. In the following, the host computer will also be referred to as the host.

【0013】図1は、印刷装置204の構成図である。
同図において、101は印刷制御部、102は101の
印刷制御部全体の制御を行うCPU、103は制御用の
プログラムを格納したプログラムROM、104はフォ
ントのデータが格納されているフォントROM、105
は通信路を介してホストコンピュータに接続されるイン
タフェース部、106はCPU102がワーク領域とし
て使用するワークメモリ、107はイメージデータを展
開するためのフレームメモリ、108は印刷制御装置1
01の各種設定状態を保持する為に使用される不揮発性
メモリであるNVRAM、109は現在のプリンタの状
態や、設定された状態を表示する表示部、110は実際
に印刷用紙に画像を印刷するための記録部である。
FIG. 1 is a block diagram of the printing apparatus 204.
In the figure, 101 is a print control unit, 102 is a CPU that controls the entire print control unit of 101, 103 is a program ROM that stores a control program, 104 is a font ROM that stores font data, and 105
Is an interface unit connected to a host computer via a communication path, 106 is a work memory used by the CPU 102 as a work area, 107 is a frame memory for expanding image data, and 108 is the print control apparatus 1.
NVRAM, which is a non-volatile memory used to hold various setting states of 01, 109 is a display unit for displaying the current printer state and the set state, and 110 is an image actually printed on a printing sheet. It is a recording unit for.

【0014】先ず、通常の動作モードにおける印刷制御
部101の動作を以下に説明する。CPU102は、印
刷装置の立上時に、NVRAM108に格納されたデフ
ォルトの設定情報をワークメモリ上にコピーする。以
後、一連の印刷処理にはワークメモリ上にコピーされた
設定情報を使用する。
First, the operation of the print controller 101 in the normal operation mode will be described below. The CPU 102 copies the default setting information stored in the NVRAM 108 onto the work memory when the printing apparatus is started up. After that, the setting information copied on the work memory is used for a series of printing processes.

【0015】ホスト201が印刷装置204に対して印
刷データを送出すると、インタフェース部105で受信
した印刷データをCPU102がワークメモリ106に
転送し、1ページ分の印刷データを格納する。1ページ
のデータの格納が終了すると、CPU102は印刷デー
タを解析し、フォントROM104のフォント情報を用
いてイメージデータに変換し、フレームメモリ107上
にイメージを作成する。1ページ分の印刷データの解析
が終わり、フレームメモリ107上に印刷すべきイメー
ジ展開が終了したところで記録部110へイメージ情報
を順次出力し、印刷用紙への印刷を行なう。1ページの
出力が終わったら最初に戻り、一連の処理を繰り返す。
When the host 201 sends the print data to the printing device 204, the CPU 102 transfers the print data received by the interface unit 105 to the work memory 106 and stores the print data for one page. When the storage of the data of one page is completed, the CPU 102 analyzes the print data, converts it into image data using the font information of the font ROM 104, and creates an image on the frame memory 107. When the analysis of the print data for one page is completed and the development of the image to be printed on the frame memory 107 is completed, the image information is sequentially output to the recording unit 110 and printing is performed on the printing paper. When the output of one page is completed, the process returns to the beginning and a series of processing is repeated.

【0016】ここで、ホスト202が印刷装置204の
設定を変更する旨のコマンドで送出すると、印刷装置2
04は、前述のワークメモリ上の設定情報を変更する。
この後は、印刷装置204をリセットするか、或いはN
VRAM108に格納されていたデフォルトの設定と同
一の設定情報を送信し設定情報の再設定を行わない限
り、もとの設定には戻らない。
When the host 202 sends a command to change the setting of the printing device 204, the printing device 2
04 changes the setting information on the work memory.
After this, the printing device 204 is reset, or N
Unless the same setting information as the default setting stored in the VRAM 108 is transmitted and the setting information is reset, the setting does not return to the original setting.

【0017】従って、ホスト202が印刷装置204の
設定情報を変更した直後に、ホスト203が再度プリン
タの設定情報を変更した場合、ホスト202の送信した
印刷データはホスト203が設定した設定情報に従い印
刷される。
Therefore, if the host 203 changes the printer setting information again immediately after the host 202 changes the setting information of the printing device 204, the print data transmitted by the host 202 is printed according to the setting information set by the host 203. To be done.

【0018】また、ホスト201から印刷情報を送信す
ると、デフォルトの設定の変更に従って印刷を行いたい
場合にも、ホスト203が設定した設定情報にしたがっ
て、印刷させる。
Further, when the print information is transmitted from the host 201, even if the user wants to print according to the change of the default setting, the print is performed according to the setting information set by the host 203.

【0019】図3は、以上のような、意に反する設定に
従って印刷データが出力される場合のホストと印刷装置
の動作を示した図である。
FIG. 3 is a diagram showing the operation of the host and the printing apparatus when the print data is output according to the above-mentioned unreasonable settings.

【0020】このように、通常の動作モードにおいて
は、印刷装置の設定の変更が行われた直後に、すぐさま
該設定を行ったホストが印刷データを送信するとは限ら
ず、前述のような問題を生じる。
As described above, in the normal operation mode, immediately after the setting of the printing apparatus is changed, the host that has made the setting does not always send the print data, and the above-mentioned problem occurs. Occurs.

【0021】次に、上記問題を解決するためにプログラ
ムROM103に格納される制御プログラムについて、
図4を用いて説明する。
Next, regarding the control program stored in the program ROM 103 in order to solve the above problems,
This will be described with reference to FIG.

【0022】ステップS401において、インターフェ
ース部105を介してデータを受信すると、ステップS
402において、CPU102はそのデータをワークメ
モリ106に転送する。そして、ステップS403にお
いて受信データが終了したか否かを判断する。受信が終
了していなければ再度ステップS401乃至S403の
処理を繰り返す。受信が終了した場合には、次のステッ
プS404に進む。
In step S401, when data is received via the interface unit 105, step S401
At 402, the CPU 102 transfers the data to the work memory 106. Then, in step S403, it is determined whether or not the reception data has ended. If the reception is not completed, the processes of steps S401 to S403 are repeated. When the reception is completed, the process proceeds to the next step S404.

【0023】ステップS404において、受信したデー
タがワークメモリ106上のデフォルトの設定情報を変
更する制御コマンドであるのか、印刷データであるのか
を判定し、制御コマンドである場合はステップS405
に進み、印刷データである場合は、ステップS411に
進む。
In step S404, it is determined whether the received data is a control command for changing the default setting information on the work memory 106 or print data, and if it is a control command, step S405.
If it is print data, the process proceeds to step S411.

【0024】ステップS405において、ワークメモリ
106上の設定情報がデフォルト値と異なることを示す
変更フラグの状態を判定する。変更フラグが立っている
場合は、変更された設定情報を更に変更しないために、
ステップS409に進み、設定情報は既に変更されてい
る旨の警告メッセージを表示部109に表示し、処理を
停止する。尚、この停止はリセットコマンド等の制御コ
マンド、或いは印刷装置のハードウェア・リセット等に
より解除される。
In step S405, the state of the change flag indicating that the setting information on the work memory 106 is different from the default value is determined. If the change flag is set, in order not to change the changed setting information further,
In step S409, a warning message indicating that the setting information has already been changed is displayed on the display unit 109, and the processing is stopped. Incidentally, this stop is released by a control command such as a reset command or a hardware reset of the printing apparatus.

【0025】一方、変更フラグが立っていない場合に
は、ステップS406に進み、制御コマンドに従う新た
な設定情報がデフォルトの設定情報と同一であるか否か
を判定する。設定情報が同一の場合には、一連の処理を
終了する。また、設定情報が異なる場合には、ステップ
S407に進む。
On the other hand, if the change flag is not set, the process proceeds to step S406, and it is determined whether the new setting information according to the control command is the same as the default setting information. If the setting information is the same, the series of processes is ended. If the setting information is different, the process proceeds to step S407.

【0026】ステップS407において、変更フラグを
立てる。
In step S407, a change flag is set.

【0027】次のステップS408において、ワークメ
モリ106上の設定情報の変更を行い、一連の処理を終
了する。
In the next step S408, the setting information on the work memory 106 is changed, and the series of processing is terminated.

【0028】次に、印刷データを受信すると、前述のよ
うに、ステップS401からステップS403の処理を
行う。この場合、ステップS404においては、前述の
ように、ステップS411に進む。
Next, when the print data is received, the processes of steps S401 to S403 are performed as described above. In this case, in step S404, as described above, the process proceeds to step S411.

【0029】ステップS411において、CPU102
は印刷データを解析し、フォントROM104のフォン
ト情報を用いてイメージデータに変換し、フレームメモ
リ107上にイメージを作成する。
In step S411, the CPU 102
Analyzes print data, converts it into image data using the font information of the font ROM 104, and creates an image on the frame memory 107.

【0030】ステップS412において、記録部110
を駆動することによって印刷処理を行い、ステップS4
13において、印刷処理の終了を判定する。
In step S412, the recording unit 110
Print processing is performed by driving
At 13, it is determined whether the printing process is completed.

【0031】印刷処理が終了したら、ステップS414
において、変更フラグを落とし、次のステップS415
において、ワークメモリ106上の設定情報を元のデフ
ォルトの設定情報に戻す。
When the printing process is completed, step S414
In step S415, the change flag is cleared, and the next step S415 is performed.
At, the setting information on the work memory 106 is returned to the original default setting information.

【0032】以上のような制御をすることにより、印刷
装置のデフォルトの設定を変更したホストの印刷情報
が、他のホストによりその設定を更に変更されて出力さ
れることを回避することが可能となる。また、印刷装置
のデフォルトの設定を変更したホストの印刷データを印
刷処理した後に、その設定をデフォルトの設定に戻すこ
とにより、以降の印刷処理を正しく実行することが可能
になる。 〔第二の実施例〕次に、本発明の好適な第二の実施例を
説明する。
By performing the control as described above, it is possible to prevent the print information of the host whose default setting of the printing apparatus is changed from being output by another host after the setting is further changed. Become. Further, after the print data of the host in which the default setting of the printing apparatus is changed is subjected to the print processing, the setting is returned to the default setting, so that the subsequent print processing can be correctly executed. [Second Embodiment] Next, a preferred second embodiment of the present invention will be described.

【0033】第一の実施例においては、1つのホストが
設定を変更した後、他のホストがその変更を知らず、例
えば印刷装置がデフォルトの設定であるつもりで印刷デ
ータを供給した場合に、意図しない設定によってその印
刷データが出力されるという不都合が生じる。そこで本
実施例は、このような問題を解決するために、印刷装置
の設定を変更する際に、変更を要求したホストの識別コ
ードを登録しておき、対応する印刷データを供給する場
合に同一の識別コードを一緒に供給し、両者の識別コー
ドが同一の場合に印刷処理を行うようにしたものであ
る。
In the first embodiment, when one host changes the setting, another host does not know the change and, for example, when the printing apparatus supplies the print data with the intention of the default setting, it is intended. The inconvenience that the print data is output due to the setting not to occur. Therefore, in order to solve such a problem, the present embodiment is the same as when supplying the corresponding print data by registering the identification code of the host requesting the change when changing the setting of the printing apparatus. Is supplied together, and the printing process is performed when the two identification codes are the same.

【0034】本実施例は、第一の実施例におけるプログ
ラムROM103に格納される制御プログラムに関する
他の実施例を示すものである。
This embodiment shows another embodiment relating to the control program stored in the program ROM 103 in the first embodiment.

【0035】図5は、ROM103に格納する制御プロ
グラムの処理の流れを示すフローチャートである。
FIG. 5 is a flow chart showing the flow of processing of the control program stored in the ROM 103.

【0036】ステップS501において、インターフェ
ース部105を介してデータを受信すると、ステップS
502において、CPU102はそのデータをワークメ
モリ106に転送する。そして、ステップS503にお
いて受信データが終了したか否かを判断する。受信が終
了していなければ再度ステップS501乃至S503の
処理を繰り返す。受信が終了した場合には、次のステッ
プS504に進む。
In step S501, when data is received via the interface section 105, step S501
At 502, the CPU 102 transfers the data to the work memory 106. Then, in step S503, it is determined whether or not the reception data has ended. If the reception is not completed, the processes of steps S501 to S503 are repeated again. When the reception is completed, the process proceeds to the next step S504.

【0037】ステップS504において、受信したデー
タがワークメモリ106上のデフォルトの設定情報を変
更する制御コマンドであるのか、印刷データであるのか
を判定し、制御コマンドである場合はステップS505
に進み、印刷データである場合は、ステップS509に
進む。
In step S504, it is determined whether the received data is a control command for changing the default setting information on the work memory 106 or print data. If the received data is a control command, step S505 is performed.
If it is print data, the process proceeds to step S509.

【0038】ステップS505において、制御コマンド
にホストの識別コードがあるか否かを判定する。その結
果、識別コードがない場合には、ステップS508に進
む。一方、識別コードがない場合には、ステップS50
6に進む。
In step S505, it is determined whether the control command has a host identification code. As a result, when there is no identification code, the process proceeds to step S508. On the other hand, if there is no identification code, step S50.
Proceed to 6.

【0039】ステップS506において、制御コマンド
が指定する設定がデフォルトの設定と同一であるか否か
を判定する。その結果、同一である場合には、ステップ
S508に進む。一方、同一でない場合には、ステップ
S507に進む。
In step S506, it is determined whether the setting designated by the control command is the same as the default setting. As a result, if they are the same, the process proceeds to step S508. On the other hand, if they are not the same, the process proceeds to step S507.

【0040】ステップS507において、制御コマンド
によって設定の変更を要求したホストの識別コードをワ
ークメモリ上の所定の領域に登録する。
In step S507, the identification code of the host whose setting has been changed by the control command is registered in a predetermined area on the work memory.

【0041】ステップS508において、制御コマンド
に従い、ワークメモリ106上の設定値を変更し、一連
の処理を終了する。
In step S508, the set value on the work memory 106 is changed in accordance with the control command, and the series of processes is completed.

【0042】次に、印刷データを受信すると、前述のよ
うに、ステップS501からステップS503の処理を
行う。この場合、ステップS504においては、前述の
ように、ステップS509に進む。
Next, when the print data is received, the processes of steps S501 to S503 are performed as described above. In this case, in step S504, as described above, the process proceeds to step S509.

【0043】ステップS509において、ワークメモリ
106上の所定の領域に識別コードが登録されているか
否かを判定することにより、デフォルトの設定が変更さ
れているか否かを調査する。この結果、設定が変更され
ていない場合にはステップS511に進み、変更されて
いる場合にはステップS510に進む。
In step S509, whether or not the default setting has been changed is checked by determining whether or not the identification code is registered in the predetermined area on the work memory 106. As a result, if the setting has not been changed, the process proceeds to step S511, and if the setting has been changed, the process proceeds to step S510.

【0044】ステップS510において、印刷データに
付された識別コードと、ワークメモリ106上の所定の
領域に登録された識別コードとを比較し、両者が異なる
場合には、ステップS516に進み、その旨を示す警告
を表示し、処理を停止する。尚、この停止はリセットコ
マンド等の制御コマンド、或いは印刷装置のハードウェ
ア・リセット等により解除される。一方、両者が同一の
場合には、ステップS511に進む。
In step S510, the identification code attached to the print data is compared with the identification code registered in the predetermined area on the work memory 106. If they are different, the process proceeds to step S516. Is displayed and the process is stopped. Incidentally, this stop is released by a control command such as a reset command or a hardware reset of the printing apparatus. On the other hand, if they are the same, the process proceeds to step S511.

【0045】ステップS511において、CPU102
は印刷データを解析し、フォントROM104のフォン
ト情報を用いてイメージデータに変換し、フレームメモ
リ107上にイメージを作成する。
In step S511, the CPU 102
Analyzes print data, converts it into image data using the font information of the font ROM 104, and creates an image on the frame memory 107.

【0046】ステップS512において、記録部110
を駆動することによって印刷処理を行い、ステップS5
13において、印刷処理の終了を判定する。
In step S512, the recording unit 110
Print processing is performed by driving
At 13, it is determined whether the printing process is completed.

【0047】ステップS514において、登録された識
別コードを削除し、次のステップS515において、ワ
ークメモリ106上の設定をデフォルトの設定情報に戻
し、一連の処理を終了する。
In step S514, the registered identification code is deleted, and in the next step S515, the setting on the work memory 106 is returned to the default setting information, and the series of processing is ended.

【0048】尚、ホストコンピュータは、前述のよう
に、制御コマンドと印刷データを対応付けるために識別
コードを制御コマンド及び印刷データに夫々付加する。
As described above, the host computer adds the identification code to the control command and the print data in order to associate the control command with the print data.

【0049】以上のように、設定を変更する旨の制御コ
マンド及び対応する印刷情報に識別コードを付し、印刷
処理前に両者を比較することにより、ワークメモリ10
6上のデフォルトの設定を変更した後、更に他のホスト
により設定が変更された場合に意図しない設定により印
刷処理されることを回避することが可能となる。
As described above, by attaching the identification code to the control command for changing the setting and the corresponding print information and comparing the two before the print processing, the work memory 10
After changing the default settings on 6 above, it is possible to avoid print processing due to unintended settings when the settings are changed by another host.

【0050】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one 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.

【発明の効果】ホストコンピュータが印刷装置の設定を
変更した際に、該変更が他のホストコンピュータに係る
印刷処理に与える影響が軽減され、また、ホストコンピ
ュータが印刷装置の設定を変更した後、それに対応する
印刷処理が実行される前に、更に他のホストコンピュー
タによって設定が変更された際の意に反した印刷処理が
防止される。
When the host computer changes the setting of the printing apparatus, the influence of the change on the printing process of another host computer is reduced, and after the host computer changes the setting of the printing apparatus, It is possible to prevent an unintentional print process when the setting is changed by another host computer before the corresponding print process is executed.

【0051】[0051]

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

【図1】印刷装置の概要を示すブロック図である。FIG. 1 is a block diagram illustrating an outline of a printing apparatus.

【図2】複数のホストが印刷装置を共有するネットワー
クを示す図である。
FIG. 2 is a diagram illustrating a network in which a plurality of hosts share a printing device.

【図3】通常モードにおける動作を示す図である。FIG. 3 is a diagram showing an operation in a normal mode.

【図4】第一の実施例における印刷制御装置の動作を示
すフローチャートである。
FIG. 4 is a flowchart showing the operation of the print control apparatus in the first embodiment.

【図5】第二の実施例における印刷制御装置の動作を示
すフローチャートである。
FIG. 5 is a flowchart showing the operation of the print control apparatus in the second embodiment.

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 印刷装置を制御する印刷制御装置であっ
て、 所定の設定を変更する旨の命令を認識する認識手段と、 前記命令に従い前記所定の設定を他の設定に変更する変
更手段と、 前記変更手段による設定の変更と印刷データの印刷処理
とに従いフラグを変化させるフラグ手段と、 前記認識手段が前記命令を認識した際に、前記フラグの
状態を判定する判定手段と、 前記判定手段の判定結果に従い処理を停止する停止手段
と、 を具備することを特徴とする印刷制御装置。
1. A print control device for controlling a printing device, comprising: recognition means for recognizing a command to change a predetermined setting; and changing means for changing the predetermined setting to another setting in accordance with the command. A flag unit that changes a flag according to a setting change by the changing unit and a print data printing process; a determining unit that determines a state of the flag when the recognizing unit recognizes the command; A print control device comprising: a stop unit that stops the process according to the determination result of.
【請求項2】 前記印刷処理に従い前記他の設定を前記
所定の設定に変更する第2の変更手段を更に具備するこ
とを特徴とする請求項1記載の印刷制御装置。
2. The print control apparatus according to claim 1, further comprising a second changing unit that changes the other setting to the predetermined setting according to the print processing.
【請求項3】 前記判定結果に従い、警告を発する警告
手段を更に具備することを特徴とする請求項1または請
求項2記載の印刷制御装置。
3. The print control apparatus according to claim 1, further comprising warning means for issuing a warning according to the determination result.
【請求項4】 印刷装置を制御する印刷制御装置であっ
て、 所定の設定を変更する旨の命令を認識する認識手段と、 前記命令に従い前記所定の設定を他の設定に変更する変
更手段と、 前記命令に含まれるホストコンピュータの第1の識別情
報を登録する登録手段と、 前記第1の識別情報と、印刷データに含まれるホストコ
ンピュータの第2の識別情報との同一性を判定する判定
手段と、 前記判定手段の判定結果に従い印刷処理を停止する停止
手段と、 を具備することを特徴とする印刷制御装置。
4. A printing control device for controlling a printing device, comprising: recognition means for recognizing a command to change a predetermined setting; and changing means for changing the predetermined setting to another setting in accordance with the command. A registration unit for registering the first identification information of the host computer included in the command; a determination for determining the identity of the first identification information and the second identification information of the host computer included in the print data. A printing control apparatus comprising: a unit; and a stop unit that stops the printing process according to the determination result of the determination unit.
【請求項5】 前記印刷処理に従い前記他の設定を前記
所定の設定に変更する第2の変更手段を更に具備するこ
とを特徴とする請求項4記載の印刷制御装置。
5. The print control apparatus according to claim 4, further comprising a second changing unit that changes the other setting to the predetermined setting according to the print processing.
【請求項6】 前記判定結果に従い、警告を発する警告
手段を更に具備することを特徴とする請求項4または請
求項5記載の印刷制御装置。
6. The print control apparatus according to claim 4, further comprising warning means for issuing a warning according to the determination result.
【請求項7】 印刷装置の設定を変更する制御コマンド
に、その変更の属性を示す識別コードを付加する第1の
識別コード付加手段と、 前記制御コマンドに対応する印刷データに前記識別コー
ドと同一の識別コードを付加する第2の識別コード付加
手段と、 を具備することを特徴とする情報処理装置。
7. A first identification code adding means for adding an identification code indicating an attribute of the change to a control command for changing the setting of the printing device, and the same identification code for print data corresponding to the control command. And a second identification code adding means for adding the identification code of
【請求項8】 請求項4記載の印刷制御装置を具備する
印刷装置と、 請求項7記載の情報処理装置と、 前記印刷装置と前記情報処理装置を接続する通信路と、 を具備することを特徴とする印刷システム。
8. A printing apparatus comprising the print control apparatus according to claim 4, an information processing apparatus according to claim 7, and a communication path connecting the printing apparatus and the information processing apparatus. Characteristic printing system.
【請求項9】 請求項5記載の印刷制御装置を具備する
印刷装置と、 請求項7記載の情報処理装置と、 前記印刷装置と前記情報処理装置を接続する通信路と、 を具備することを特徴とする印刷システム。
9. A printing apparatus comprising the print control apparatus according to claim 5, an information processing apparatus according to claim 7, and a communication path connecting the printing apparatus and the information processing apparatus. Characteristic printing system.
【請求項10】 請求項6記載の印刷制御装置を具備す
る印刷装置と、 請求項7記載の情報処理装置と、 前記印刷装置と前記情報処理装置を接続する通信路と、 を具備することを特徴とする印刷システム。
10. A printing apparatus comprising the print control apparatus according to claim 6, an information processing apparatus according to claim 7, and a communication path connecting the printing apparatus and the information processing apparatus. Characteristic printing system.
【請求項11】 印刷装置を制御する印刷制御方法であ
って、 所定の設定を変更する旨の命令を認識する認識工程と、 前記命令に従い前記所定の設定を他の設定に変更する変
更工程と、 前記変更工程と、印刷データの印刷処理とに従いフラグ
を変化させるフラグ制御工程と、 前記認識工程が前記命令を認識した際に、前記フラグの
状態を判定する判定工程と、 前記判定工程の判定結果に従い処理を停止する停止工程
と、 を具備することを特徴とする印刷制御方法。
11. A printing control method for controlling a printing device, comprising: a recognition step of recognizing a command to change a predetermined setting; and a changing step of changing the predetermined setting to another setting in accordance with the command. A flag control step of changing a flag according to the changing step and a print process of print data; a determining step of determining the state of the flag when the recognizing step recognizes the command; and a determining step of the determining step. A printing control method comprising: a stopping step of stopping the processing according to the result.
【請求項12】 前記印刷処理に従い前記他の設定を前
記所定の設定に変更する第2の変更工程を更に具備する
ことを特徴とする請求項11記載の印刷制御方法。
12. The print control method according to claim 11, further comprising a second changing step of changing the other setting to the predetermined setting according to the print processing.
【請求項13】 前記判定結果に従い、警告を発する警
告発生工程を更に具備することを特徴とする請求項11
または請求項12記載の印刷制御方法。
13. The method according to claim 11, further comprising a warning issuing step of issuing a warning according to the determination result.
Alternatively, the print control method according to claim 12.
【請求項14】 印刷装置を制御する印刷制御方法であ
って、 所定の設定を変更する旨の命令を認識する認識工程と、 前記命令に従い前記所定の設定を他の設定に変更する変
更工程と、 前記命令に含まれるホストコンピュータの第1の識別情
報を登録する登録工程と、 前記第1の識別情報と、印刷データに含まれるホストコ
ンピュータの第2の識別情報との同一性を判定する判定
工程と、 前記判定工程の判定結果に従い印刷処理を停止する停止
工程と、 を具備することを特徴とする印刷制御方法。
14. A printing control method for controlling a printing device, comprising: a recognition step of recognizing a command to change a predetermined setting; and a changing step of changing the predetermined setting to another setting in accordance with the command. A registration step of registering the first identification information of the host computer included in the command, and a determination of determining the identity of the first identification information and the second identification information of the host computer included in the print data. A print control method comprising: a step; and a stop step of stopping the print processing according to the determination result of the determination step.
【請求項15】 前記印刷処理に従い前記他の設定を前
記所定の設定に変更する第2の変更工程を更に具備する
ことを特徴とする請求項14記載の印刷制御方法。
15. The print control method according to claim 14, further comprising a second changing step of changing the other setting to the predetermined setting in accordance with the print processing.
【請求項16】 前記判定結果に従い、警告を発する警
告発生工程を更に具備することを特徴とする請求項14
または請求項15記載の印刷制御方法。
16. The method according to claim 14, further comprising a warning issuing step of issuing a warning according to the determination result.
Alternatively, the printing control method according to claim 15.
【請求項17】 印刷装置の設定を変更する制御コマン
ドに、その変更の属性を示す識別コードを付加する第1
の識別コード付加工程と、 前記制御コマンドに対応する印刷データに前記識別コー
ドと同一の識別コードを付加する第2の識別コード付加
工程と、 を具備することを特徴とする情報処理方法。
17. A control command for changing a setting of a printing device, wherein a discrimination code indicating an attribute of the change is added to the control command.
And a second identification code adding step of adding the same identification code as the identification code to the print data corresponding to the control command.
JP7071199A 1995-03-29 1995-03-29 Printing device and its method, information processor and its method and printing system Withdrawn JPH08272556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7071199A JPH08272556A (en) 1995-03-29 1995-03-29 Printing device and its method, information processor and its method and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7071199A JPH08272556A (en) 1995-03-29 1995-03-29 Printing device and its method, information processor and its method and printing system

Publications (1)

Publication Number Publication Date
JPH08272556A true JPH08272556A (en) 1996-10-18

Family

ID=13453772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7071199A Withdrawn JPH08272556A (en) 1995-03-29 1995-03-29 Printing device and its method, information processor and its method and printing system

Country Status (1)

Country Link
JP (1) JPH08272556A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252047A (en) * 2009-04-15 2010-11-04 Toshiba Corp Electronic device and setting method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252047A (en) * 2009-04-15 2010-11-04 Toshiba Corp Electronic device and setting method thereof

Similar Documents

Publication Publication Date Title
JP3287787B2 (en) Output control method and device
US7973958B2 (en) Image forming apparatus conducting an interpretation operation
JP3261233B2 (en) Printing apparatus and processing method
JPH08272556A (en) Printing device and its method, information processor and its method and printing system
JP3159875B2 (en) Printing method and apparatus, and printing system
JP3179695B2 (en) Image forming apparatus and control method thereof
JPH07234767A (en) Printing system
JP3136527B2 (en) Printer
US7031023B2 (en) Color printer, storage medium storing color printer driver program, and color printer driving method
JP2003312106A (en) Print controller, print controlling method, storage medium and program
JP2003285507A (en) Printer
JP2002373073A (en) Printer
JP2006315247A (en) Image forming apparatus
JP2001229002A (en) Printer system
JPH10250160A (en) Printer apparatus
JPH04211977A (en) Printer device
JPH11194917A (en) Printing system
JPH1016356A (en) Printer
JPH03164927A (en) Printer job display system
JPH10834A (en) Image processing device
JPH1158858A (en) Printer system, method for controlling operation of printer, and recording medium
JPH06274288A (en) Printer
JP2003025644A (en) Imaging apparatus
JP2000235473A (en) Printer system and machine readable recording medium
JPH05119938A (en) Printer

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604