JPH0553959A - Peripheral device - Google Patents

Peripheral device

Info

Publication number
JPH0553959A
JPH0553959A JP21126791A JP21126791A JPH0553959A JP H0553959 A JPH0553959 A JP H0553959A JP 21126791 A JP21126791 A JP 21126791A JP 21126791 A JP21126791 A JP 21126791A JP H0553959 A JPH0553959 A JP H0553959A
Authority
JP
Japan
Prior art keywords
command
function
host device
operated
unit
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
JP21126791A
Other languages
Japanese (ja)
Inventor
Mitsunao Takeya
光巨 竹谷
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP21126791A priority Critical patent/JPH0553959A/en
Publication of JPH0553959A publication Critical patent/JPH0553959A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To set priority relation between a function set by a control panel and a command transmitted from a host device by the control panel by making the command from the host device preferential when an operation part is not operated and making the function set by the operation part preferential when the operation part is operated. CONSTITUTION:When a control panel 4 is operated and the function corresponding to the command is set, set function information updates the contents of a mode storage part 6, and the operating mode of a printer is turned to an operating mode based on the setting function. On the other hand, the execution of operating the control panel 4 is stored in an operation storage part 5, and a command selection part 3 inhibits the passage of the command inputted from an I/F 1 by inputting an operating signal after the operating signal is stored in the operation storage part 5. Then, the command inputted from the host device is made invalid until the operation storage part 5 is cleared. Data inputted to a control part 2 are converted into real printing data while referring to the set operating mode.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印字装置などの周辺装
置に係り、特に、周辺装置の動作モードの設定に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral device such as a printer, and more particularly to setting an operation mode of the peripheral device.

【0002】[0002]

【従来の技術】近年、周辺装置、例えば印字装置の操作
部には、種々の機能を選択する選択機構が付加されてき
ており、これらの機能の多くは、例えばホストコンピュ
ータなどの上位装置から出力されるコマンドによって選
択/解除される構成となっていることが多い。このた
め、オペレータが印字装置の操作パネルを操作し、ある
機能を選択・設定しても上位装置からその機能を解除す
るコマンドが出力されてしまい、そのときには操作パネ
ルから設定された機能が無効になってしまうことがあ
る。
2. Description of the Related Art In recent years, a selection mechanism for selecting various functions has been added to an operation unit of a peripheral device such as a printing device, and many of these functions are output from a host device such as a host computer. In many cases, it is configured to be selected / released by a command to be performed. Therefore, even if the operator operates the operation panel of the printing device and selects / sets a certain function, a command to cancel that function is output from the host device, and at that time, the function set from the operation panel is invalidated. It may become.

【0003】また、一意的に操作パネルの操作を優先さ
せるような構成とした場合には、上位装置からのコマン
ドが常に無視されてしまい、上位装置のプログラムが想
定する結果が得られなくなってしまう。
Further, in the case where the operation panel operation is uniquely prioritized, the command from the host device is always ignored, and the result assumed by the program of the host device cannot be obtained. ..

【0004】[0004]

【発明が解決しようとする課題】上記したように、印字
装置などの周辺装置は操作パネルから所望の機能を設定
できるモード選択機能を有しているにも拘らず、上位装
置から送信されているコマンドとの優先度関係が固定的
で柔軟性に欠けているため、操作パネルの操作が無効に
なったり、あるいは上位装置から送信されるコマンドに
従って周辺装置が制御されないという問題があった。
As described above, although the peripheral device such as the printing device has the mode selection function capable of setting a desired function from the operation panel, it is transmitted from the host device. Since the priority relation with the command is fixed and lacks flexibility, there is a problem that the operation of the operation panel is invalidated or the peripheral device is not controlled according to the command transmitted from the host device.

【0005】本発明は、上記事情に鑑みてなされたもの
で、操作パネルで設定される機能と上位装置から送信さ
れてくるコマンドとの優先度関係を操作パネルで柔軟に
設定可能な周辺装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and provides a peripheral device capable of flexibly setting the priority relation between the function set on the operation panel and the command transmitted from the host device on the operation panel. The purpose is to provide.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するために、上位装置から送信されてくるコマンドに
従って動作する周辺装置において、上記コマンドの一部
あるいは全部に対応する機能を有しこの機能を設定可能
な操作部と、この操作部が操作されたことを記憶する操
作記憶部と、この操作記憶部の記憶状態に基づいて上記
操作部で設定された機能と上記上位装置から送信されて
くるコマンドのうち一方を有効とするコマンド選択部と
を具備したことを特徴とする。
In order to achieve the above object, the present invention has a function corresponding to a part or all of the above command in a peripheral device which operates according to a command transmitted from a host device. An operation unit that can set this function, an operation storage unit that stores that the operation unit has been operated, a function that is set by the operation unit based on a storage state of the operation storage unit, and a transmission from the host device. And a command selection unit that validates one of the received commands.

【0007】[0007]

【作用】本発明は上記のように構成したので、コマンド
選択部が操作記憶部の記憶状態に基づいて操作部で設定
された機能と上位装置から送信されてくるコマンドのう
ち一方を有効とすることにより、操作部が操作されてい
ないときには上位装置から送信されてくるコマンドを優
先し、また、操作部が操作されているときには操作部で
設定された機能を優先とする優先度決定が実現される。
Since the present invention is configured as described above, the command selection unit validates one of the function set by the operation unit and the command transmitted from the host device based on the storage state of the operation storage unit. As a result, priority determination is realized by giving priority to the command transmitted from the higher-level device when the operation unit is not operated, and giving priority to the function set in the operation unit when the operation unit is operated. It

【0008】[0008]

【実施例】以下、図面を参照して本発明の実施例を説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1は本発明の一実施例の周辺装置の概略
構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a peripheral device according to an embodiment of the present invention.

【0010】同図において、1 はホストコンピュータな
どの上位装置から送信されてくるデータやコマンドを受
信するインターフェース(以下、I/Fと称す。)で、
このI/F1 で受信されたデータは、周辺装置、例えば
印字装置で印字される印字データに変換する制御部2
に、またコマンドはこのコマンドをゲートするコマンド
選択部3 にそれぞれ出力される。
In FIG. 1, reference numeral 1 denotes an interface (hereinafter referred to as I / F) for receiving data and commands transmitted from a host device such as a host computer.
The control unit 2 for converting the data received by the I / F1 into print data printed by a peripheral device, for example, a printing device.
And the command is output to the command selector 3 which gates this command.

【0011】また、4 はタッチパネルなどからなり、上
位装置から送信されてくるコマンドの一部あるいは全部
に対応する機能を有し、タッチパネルを操作することに
よりコマンドに対応する機能を設定できる操作パネル
で、操作パネル4 を操作した場合には、操作パネル4 を
操作したことが操作記憶部5 に記憶される。この操作記
憶部5 に記憶される操作パネル4が操作されたことを示
す操作信号は、操作パネル4 の同一部分を押すことによ
りクリアされ、操作パネル4 から設定された機能は解除
される。
Reference numeral 4 is a touch panel or the like, which has a function corresponding to a part or all of commands transmitted from the host device, and is an operation panel capable of setting a function corresponding to a command by operating the touch panel. When the operation panel 4 is operated, the operation storage unit 5 stores the operation of the operation panel 4. The operation signal stored in the operation storage unit 5 indicating that the operation panel 4 has been operated is cleared by pressing the same portion of the operation panel 4, and the function set from the operation panel 4 is canceled.

【0012】一方、操作パネル5 で設定された機能信号
は印字装置の動作モードを記憶するモード記憶部6 に出
力される。このモード記憶部6 に記憶される動作モード
は、コマンド選択部3 を通過したコマンドあるいは操作
パネル4 で設定される機能に基づいて設定される。すな
わち、操作パネル4 が操作されない場合には、コマンド
選択部3 に入力されたコマンドがコマンド選択部3 を通
過してモード記憶部6に入力され、モード記憶部6 はこ
のコマンドに基づいて設定される印字装置の動作モード
を記憶し、また、操作パネル4 が操作された場合には、
操作記憶部5 に記憶されている操作パネル4 の操作信号
によってコマンド選択部3 に入力されたコマンドはその
出力が禁止され、操作パネル5 で設定された機能がモー
ド記憶部6 に入力され、モード記憶部6 はこの機能に基
づいて設定される印字装置の動作モードを記憶する。制
御部2 はモード記憶部6 に記憶されている動作モードに
従ってI/F1 から入力されたデータを実際に印字装置
で印字される印字データに変換する。図示しない印字部
が変換された印字データで印字動作を行なう。
On the other hand, the function signal set on the operation panel 5 is output to the mode storage section 6 which stores the operation mode of the printing apparatus. The operation mode stored in the mode storage unit 6 is set based on the command passed through the command selection unit 3 or the function set on the operation panel 4. That is, when the operation panel 4 is not operated, the command input to the command selection unit 3 passes through the command selection unit 3 and is input to the mode storage unit 6, and the mode storage unit 6 is set based on this command. The operating mode of the printer to be memorized, and when the operation panel 4 is operated,
The output of the command input to the command selection unit 3 by the operation signal of the operation panel 4 stored in the operation storage unit 5 is prohibited, the function set in the operation panel 5 is input to the mode storage unit 6, and the mode is set. The storage unit 6 stores the operation mode of the printing device set based on this function. The control unit 2 converts the data input from the I / F1 into print data which is actually printed by the printer according to the operation mode stored in the mode storage unit 6. A printing unit (not shown) performs the printing operation with the converted print data.

【0013】次に、上記構成の本願発明の一実施例の作
用について説明する。
Next, the operation of the embodiment of the present invention having the above construction will be described.

【0014】通常のケースには、I/F1 で受信された
コマンドは、コマンド選択部3 を通過してモード記憶部
6 の内容を更新し、印字装置の動作モードをコマンドに
基づく動作モードに設定する。一方、上位装置が送信さ
れI/F1 で受信されたデータは制御部2 に直接入力さ
れ、更新されたモード記憶部6 の内容を参照しながら印
字装置で実際に印字される印字データに変換される。
In the usual case, the command received by the I / F 1 passes through the command selection section 3 and the mode storage section.
Update the contents of 6 and set the operation mode of the printer to the operation mode based on the command. On the other hand, the data transmitted from the host device and received by the I / F1 is directly input to the control unit 2 and converted into print data which is actually printed by the printing device while referring to the updated contents of the mode storage unit 6. It

【0015】ところで、操作パネル4 が操作されコマン
ドに対応する機能が設定されると、設定された機能情報
がモード記憶部6 の内容を更新し、印字装置の動作モー
ドを設定機能に基づく動作モードに設定する。一方、操
作記憶部5 に操作パネル4 の操作があったことが記憶さ
れ、操作記憶部5 に操作信号が記憶された以降のコマン
ド選択部3 は、操作信号が入力されることによってI/
F1 から入力されるコマンドの通過を禁止するようにな
り、操作記憶部5 がクリアされるまで上位装置から入力
されるコマンドは無効となる。また、制御部2 に入力さ
れたデータは、設定機能に基づいて設定された動作モー
ドを参照しながら実際の印字データに変換される。
By the way, when the operation panel 4 is operated and the function corresponding to the command is set, the set function information updates the contents of the mode storage section 6 to set the operation mode of the printer. Set to. On the other hand, after the operation storage unit 5 stores the operation of the operation panel 4 and the operation storage unit 5 stores the operation signal, the command selection unit 3 after the operation signal is input receives the operation signal.
The command input from F1 is prohibited, and the command input from the host device becomes invalid until the operation storage unit 5 is cleared. Further, the data input to the control unit 2 is converted into actual print data while referring to the operation mode set based on the setting function.

【0016】なお、上記実施例では周辺装置として印字
装置を適用して説明したが、これに限ることはなく、上
位装置から送信されるコマンドに対応する機能を設定可
能な操作パネルを有する装置であれば同様に適用するこ
とができる。
In the above embodiment, the printer is applied as the peripheral device, but the present invention is not limited to this, and a device having an operation panel capable of setting a function corresponding to a command transmitted from a higher-level device. If applicable, it can be applied in the same way.

【0017】また、本発明は上記実施例に限定されるも
のではなく、本発明の要旨を逸脱しない範囲で種々変形
可能であることは勿論である。
Further, the present invention is not limited to the above embodiments, and it goes without saying that various modifications can be made without departing from the gist of the present invention.

【0018】[0018]

【発明の効果】以上詳述したように、本発明の周辺装置
によれば、コマンド選択部が操作記憶部の記憶状態に基
づいて操作部で設定された機能と上位装置から送信され
てくるコマンドのうち一方を有効とするので、必要に応
じて操作部を操作することにより、操作部で設定された
機能を優先させ、また、操作部が操作されていないとき
には上位装置から送信されてくるコマンドを優先させる
ことができる。従って、周辺装置における優先度を柔軟
に決定できるという効果を奏する。
As described above in detail, according to the peripheral device of the present invention, the command selection unit has the function set by the operation unit based on the storage state of the operation storage unit and the command transmitted from the host device. Since one of them is valid, the function set in the operation unit is given priority by operating the operation unit as necessary, and the command sent from the host device when the operation unit is not operated. Can be prioritized. Therefore, it is possible to flexibly determine the priority of the peripheral device.

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

【図1】本発明の一実施例の周辺装置の概略構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a peripheral device according to an embodiment of the present invention.

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

3 …コマンド選択部 4 …操作パネル(操作部) 5 …操作記憶部 3… Command selection section 4… Operation panel (operation section) 5… Operation storage section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から送信されてくるコマンドに
従って動作する周辺装置において、上記コマンドの一部
あるいは全部に対応する機能を有しこの機能を設定可能
な操作部と、この操作部が操作されたことを記憶する操
作記憶部と、この操作記憶部の記憶状態に基づいて上記
操作部で設定された機能と上記上位装置から送信されて
くるコマンドのうち一方を有効とするコマンド選択部と
を具備したことを特徴とする周辺装置。
1. A peripheral device, which operates according to a command transmitted from a higher-level device, has a function corresponding to a part or all of the command, and an operation part capable of setting this function, and this operation part is operated. An operation storage unit that stores the information, and a command selection unit that validates one of the function set in the operation unit based on the storage state of the operation storage unit and the command transmitted from the host device. Peripheral device characterized by having.
JP21126791A 1991-08-23 1991-08-23 Peripheral device Pending JPH0553959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21126791A JPH0553959A (en) 1991-08-23 1991-08-23 Peripheral device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21126791A JPH0553959A (en) 1991-08-23 1991-08-23 Peripheral device

Publications (1)

Publication Number Publication Date
JPH0553959A true JPH0553959A (en) 1993-03-05

Family

ID=16603089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21126791A Pending JPH0553959A (en) 1991-08-23 1991-08-23 Peripheral device

Country Status (1)

Country Link
JP (1) JPH0553959A (en)

Similar Documents

Publication Publication Date Title
KR100462589B1 (en) Printer, image printing system and its secret document printing method
KR970002660A (en) Printer control with monitor function
US9075373B2 (en) Data processing device, image forming device and program for instructing printing with designation of copy count
JP2002127570A (en) Printer
JPH0553959A (en) Peripheral device
US20030142336A1 (en) Method for the configuration of device-specific programs in a printer or copier, corresponding program, correponding data carrier and corresponding device control, and printer or copier
JP2000148367A (en) Character processor, its method, and storage medium having stored its program thereon
US4752868A (en) Remote master-slave control method
JP3179695B2 (en) Image forming apparatus and control method thereof
KR0145861B1 (en) Parameter valve changing method of menu item of image forming device
JP2888289B2 (en) Keyboard function assignment change method and device to which it is applied
KR100420604B1 (en) Method for operating printer driver
JPH07101111A (en) Printer
KR100395544B1 (en) Image forming device capable of changing output form for stored document and method for controlling the same
KR100381650B1 (en) Method for conversion document type in computer
JP3177423B2 (en) Peripheral device testing system
JPH07210286A (en) Keymask method for keyboard
JPH0460807A (en) Programming device for programmable controller
JPH0895747A (en) Display controller
JPH0516441A (en) Printer
JPH03121876A (en) Data recording apparatus
JPH0557995A (en) Printer
JPH09262700A (en) Control device of press to permit program change
JPH05338278A (en) Printer
JPH01205254A (en) Data processor