JPH0216076A - Printer - Google Patents

Printer

Info

Publication number
JPH0216076A
JPH0216076A JP16597288A JP16597288A JPH0216076A JP H0216076 A JPH0216076 A JP H0216076A JP 16597288 A JP16597288 A JP 16597288A JP 16597288 A JP16597288 A JP 16597288A JP H0216076 A JPH0216076 A JP H0216076A
Authority
JP
Japan
Prior art keywords
printer
interface
data
host computer
gate
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
JP16597288A
Other languages
Japanese (ja)
Inventor
Tetsuya Morita
哲哉 森田
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 JP16597288A priority Critical patent/JPH0216076A/en
Publication of JPH0216076A publication Critical patent/JPH0216076A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To improve the operability of a system without the need for changing the setting of a printer to an assigned interface every time when an operator uses the printer by independently masking a plurality of interface ports when one printer is shared among a plurality of host computers. CONSTITUTION:When a signal 12 for interrupting host computers 2, 3 other than a host computer 1 is generated, mask signals 16, 17 to the host computers 2, 3 are generated to apply an interrupt to interface gates 9, 10. Similarly, if a signal 13 for interrupting the ghost computers other than the host computer 2 is generated, mask signals 15, 17 are generated to apply an interrupt to a gate 8 and the gate 10. In this manner, a printer can receive only the data from the required host computer and cannot receive the other data.

Description

【発明の詳細な説明】 る。[Detailed description of the invention] Ru.

第1図に本発明の一実施例を示す。FIG. 1 shows an embodiment of the present invention.

第1図において、1,2.3は、それぞれ、ホストコン
ピュータであり、インターフェースケーブル21.22
.23によフて、プリンタブロック4の3つのインター
フェースポート5,6.7へ、それぞれ、接続されてい
る。
In FIG. 1, 1, 2.3 are host computers, and interface cables 21, 22,
.. 23 to the three interface ports 5, 6.7 of the printer block 4, respectively.

8.9.10は、それぞれのインターフェースポート5
,6.7の入出力ゲートを示し、これらゲート8,9.
toのそれぞれにデータが入力されると、これらゲート
8,9.10からは、それぞれ、インターラブド信号1
2.13.14によってインターフェースコントローラ
11へかかるデータ入力の旨を知らせる。
8.9.10 for each interface port 5
, 6.7 input/output gates are shown, and these gates 8, 9 .
When data is input to each of the gates 8, 9 and 10, interlaced signals 1
2.13.14 notifies the interface controller 11 of such data input.

!5.16.17はマスク信号であり、これらのマスク
信号15.16.17が入出力ゲート8,9.10へ、
それぞれ、入力されると、インターフェースポート5,
6.7はオフ・ライン(0FF−LINE)となる。
! 5.16.17 are mask signals, and these mask signals 15.16.17 are sent to input/output gates 8, 9.10,
When input, respectively, interface port 5,
6.7 becomes offline (0FF-LINE).

18は各人出力ゲート8,9.10とインターフェース
コントローラ11とを接続するデータバスであり、イン
ターフェースコントローラ11を通してシステムデータ
バス19へ接続される。このシステムデータバス19は
このプリンタブロック4のCPt120へ接続される。
A data bus 18 connects each output gate 8, 9, 10 and an interface controller 11, and is connected to a system data bus 19 through the interface controller 11. This system data bus 19 is connected to the CPt 120 of this printer block 4.

本実施例においては、インターフェースとして、たとえ
ばセントロニクスI/Fを3ポート有する場合について
具体的に説明する。ホストコンピュータ1,2.3が、
それぞれ、セントロニクスボー)−5,6,7へ接続さ
れている状態でプリンタの電源を投入する。
In this embodiment, a case will be specifically described in which the interface includes, for example, three Centronics I/F ports. The host computers 1, 2.3 are
Turn on the power to the printer while it is connected to the Centronics boards -5, 6, and 7, respectively.

上述したインターフェースコントローラ11のROMに
は、たとえば第2図に示すような制御手順を格納してお
く。
The ROM of the above-mentioned interface controller 11 stores a control procedure as shown in FIG. 2, for example.

このプリンタは、所定のスタートアップ動作を行い、第
2図示のステップSlにおいて、印刷およびデータ受け
付け可能状態になったか否かを判断し、受け付け可能状
態になった時点で、図示しない操作パネル上にrオン・
ラインJ (ON−LINE)を知らせるインジケータ
を点灯させ、コントローラ11ヘデータ受け付け可能を
知らせる。ステップS1において、所定時間経過しても
受け付け可能にならないときはステップS2に進んでエ
ラー処理等を行う。
This printer performs a predetermined startup operation, and in step Sl shown in the second figure, determines whether or not it is ready for printing and accepting data.When it becomes ready for printing and accepting data, a message appears on the operation panel (not shown). on·
The indicator indicating line J (ON-LINE) is lit to inform the controller 11 that data can be accepted. In step S1, if the data cannot be accepted even after a predetermined period of time has elapsed, the process advances to step S2 to perform error processing and the like.

ステップ51において、データ受け付け可能と判断され
ると、ステップS3に進み、ここで、コントローラ11
は、各インターフェースゲート8,9゜10に対して、
受信可能を知らせるべく、受信マスク信号15.16.
17をオフにする。
If it is determined in step 51 that data can be accepted, the process proceeds to step S3, where the controller 11
is for each interface gate 8,9゜10,
In order to notify that reception is possible, reception mask signals 15, 16.
Turn off 17.

さらに、次のステップS4において、各インターフェー
スゲート8,9.10は、セントロニクスのプロトコル
によって、ホスト側へ受信可能を知らせる。
Furthermore, in the next step S4, each interface gate 8, 9, 10 notifies the host side that reception is possible using the Centronics protocol.

次に、順次のステップ55.S6.S7に進み、ホスト
コンピュータ1,2.3のいずれに関連してゲート8,
9.10からインターラブド信号12,13.14が出
されたかを判断する。すなわち、ステップS5において
はホストコンピュータ1以外のホストコンピュータ2.
3をインターラブドするインターラブド信号12が生起
したか否かを判断し、肯定のときにはステップS8に進
んで、ホストコンピュータ2.3に対するマスク信号1
6.17を発生して、インタフェースゲート9.10に
インターラブドをかける。
Next, sequential steps 55. S6. Proceeding to S7, the gate 8,
From 9.10, it is determined whether interlaced signals 12, 13.14 are issued. That is, in step S5, host computers 2.
It is determined whether or not the interlaced signal 12 for interlacing the mask signal 1 to the host computer 2.3 has occurred.
Generate 6.17 and apply interlaced to interface gate 9.10.

ステップS5で否定のときは、ステップS6に進み、ホ
ストコンピュータ2以外のホストコンピュータ1.3を
インターラブドするインターラブド信号13が生起した
か否かを判断し、肯定のときにはステップS9に進んで
、ホストコンピュータ1゜3に対するマスク信号15.
17を発生して、インターフェースゲート8.lOにイ
ンターラブドをかける。
When the result in step S5 is negative, the process proceeds to step S6, and it is determined whether or not the interwoven signal 13 for interlapping the host computers 1 and 3 other than the host computer 2 has occurred, and when the result is affirmative, the process proceeds to step S9. Mask signal 15 for host computer 1.3.
17 and interface gate 8. Multiply IO by interloved.

ステップS6で否定のときは、ステップS7に進み、ホ
ストコンピュータ3以外のホストコンピュータ1.2を
インターラブドするインターラブド信号14が生起した
か否かを判断し、肯定のときにはステップ510に進ん
で、ホストコンピュータ1.2に対するマスク信号15
.16を発生して、インターフェースゲート8.9にイ
ンターラブドをかける。
When the result in step S6 is negative, the process proceeds to step S7, where it is determined whether or not the interwoven signal 14 for interlapping the host computer 1.2 other than the host computer 3 has occurred, and when the result is affirmative, the process proceeds to step 510. Mask signal 15 to host computer 1.2
.. 16 and applies an interlaced signal to the interface gate 8.9.

以上のステップ55〜510により、必要なホストコン
ピュータからのデータについてのみ受信し、他のホスト
コンピュータについては受信不能となしてから、ステッ
プSllに進み、ここで、通常の印字処理に穆る。この
印字処理の制御はプリンタのCPO20によって行なわ
れる。そして、かかる印字処理が終了したならば、その
旨が(:PO20からインターフェースコントローラ1
1に伝えられ、次のステップ512に移り、ここで、他
のホストコンピュータに対するマスク信号をすべてリセ
ットする。
Through the above steps 55 to 510, only data from the necessary host computers is received, and data from other host computers is disabled, and then the process proceeds to step Sll, where normal printing processing begins. This printing process is controlled by the CPO 20 of the printer. When the printing process is completed, a message to that effect (: from PO20 to interface controller 1
1, and the process moves to the next step 512, where all mask signals for other host computers are reset.

次に、ステップS5以降の具体例について述べると、た
とえば、ホストコンピュータ1からデータが転送された
場合、インターフェースゲート8は、そのデータストロ
ーブが入力されたことにより、インターラブド信号12
をセットして(ステップS5)、コントローラ11ヘオ
ン・ラインの旨を知らせる。
Next, a specific example from step S5 onward will be described. For example, when data is transferred from the host computer 1, the interface gate 8 receives the interwoven signal 12 by receiving the data strobe.
is set (step S5), and the controller 11 is notified of the on-line status.

次に、コントローラ11は、マスク信号18.17をセ
ットし、インターフェースゲート9.10へ受信不可能
を知らせる(ステップS8)。
Next, the controller 11 sets the mask signal 18.17 to notify the interface gate 9.10 that reception is not possible (step S8).

各インターフェースゲート8,9.toは、セレクト信
号をネガティブにする等、セントロニクスのプロトコル
を受信不可能状態とする。
Each interface gate 8,9. to makes the Centronics protocol unreceivable, such as by making the select signal negative.

この後は、通常の印字処理動作を行い(ステップ511
)、最後に通信が完了した時点で、他のインターフェー
スのマスクを解除する(ステップ512)。
After this, normal printing processing operation is performed (step 511).
), and finally, when the communication is completed, the other interfaces are unmasked (step 512).

(他の実施例〕 上記実施例では、全てセントロニクスインターフェース
としたが、他の規格のインターフェースに置き換えても
同様に本発明を適用できる。あるいはまた、さまざまな
規格のインターフェースを混在させる場合であっても本
発明を適用できることはもちろんである。
(Other Embodiments) In the above embodiments, all Centronics interfaces are used, but the present invention can be similarly applied even if the interfaces are replaced with interfaces of other standards.Alternatively, when interfaces of various standards are mixed. Of course, the present invention can also be applied to.

〔発明の効果〕〔Effect of the invention〕

以上から明らかなように、本発明によれば、1個のプリ
ンタを複数のホストコンピュータが共有するシステムに
おいて、各ホストコンピュータについているオペレータ
がプリンタを使用する際に、その都度、当該プリンタの
設定をそのオペレータのホストコンピュータに割り当て
られているインターフェースに変更することをしないで
よいので、システムの操作性を向上させることができる
As is clear from the above, according to the present invention, in a system in which one printer is shared by a plurality of host computers, each time an operator attached to each host computer uses the printer, it is possible to set the printer. Since there is no need to change the interface assigned to the operator's host computer, the operability of the system can be improved.

8.9.10・・・インターフェースゲート、11・・
・インターフェースコントローラ、12、13.14・
・・インターラブド信号、Is、 16.17・・・マ
スク信号、18・・・データバス、 19・・・システムデータバス、 20・・・プリンタのcpu 。
8.9.10...Interface gate, 11...
・Interface controller, 12, 13.14・
... Interwoven signal, Is, 16.17... Mask signal, 18... Data bus, 19... System data bus, 20... Printer CPU.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のインターフェース部分を示
すブロック図、 第2図はその制御手順の一例を示すフローチャートであ
る。 1〜3・・・ホストコンピュータ、 4・・・プリンタブロック、
FIG. 1 is a block diagram showing an interface portion of an embodiment of the present invention, and FIG. 2 is a flowchart showing an example of its control procedure. 1-3...Host computer, 4...Printer block,

Claims (1)

【特許請求の範囲】 印字データを入力するためのインターフェースポートを
複数個有するプリンタにおいて、前記インターフェース
ポートのそれぞれに対して個別にマスクすることの可能
な手段と、常時は、前記インターフェースポートのすべ
てに対してデータ受け付け可能状態となす手段と、 前記インターフェースポートのうちのひとつよりデータ
が入力された時に、残余のインターフェースポートに対
してマスクする手段と を具えたことを特徴とするプリンタ。
[Claims] In a printer having a plurality of interface ports for inputting print data, means capable of individually masking each of the interface ports, and means for masking each of the interface ports at all times. 2. A printer comprising: means for setting the interface port in a data-receiving state; and means for masking the remaining interface ports when data is input from one of the interface ports.
JP16597288A 1988-07-05 1988-07-05 Printer Pending JPH0216076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16597288A JPH0216076A (en) 1988-07-05 1988-07-05 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16597288A JPH0216076A (en) 1988-07-05 1988-07-05 Printer

Publications (1)

Publication Number Publication Date
JPH0216076A true JPH0216076A (en) 1990-01-19

Family

ID=15822501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16597288A Pending JPH0216076A (en) 1988-07-05 1988-07-05 Printer

Country Status (1)

Country Link
JP (1) JPH0216076A (en)

Similar Documents

Publication Publication Date Title
JPH0216076A (en) Printer
JPS5938842A (en) Printer control device
JPH06208441A (en) System for controlling printing environment of printer device
JPS6116978B2 (en)
JP2776743B2 (en) Electrophotographic printer
JPS61195446A (en) Terminal control device
JPS63126029A (en) Test printing system for printer
JPS6330912A (en) Automatic system for detecting sequential control and trouble detection for apparatus used in batch process
JPH0314021A (en) Printer
JPH04167043A (en) Portable electronic equipment
JPH04125177A (en) Printer setting apparatus
JPH03159775A (en) Recovery printing system of dot matrix serial printer
JPH02272667A (en) Input/output signal processing system
JP2002127560A (en) Imagining system
JPH0615884A (en) Printer
JPH05307448A (en) Printer
JPS58178462A (en) Printing type electronic desk calculator
JPS6252624A (en) Keyboard connection control system
JPS6373417A (en) Terminal controller
JPH0273446A (en) Interface switching circuit
JPH1083377A (en) Printing controller
JPH05346837A (en) Printer and data receiving method for the same
JPH05130304A (en) Image communication system
JPH05204878A (en) Interface control system
JPH04165415A (en) Key input control part