JPH02301853A - Externally connected printer sharing system - Google Patents

Externally connected printer sharing system

Info

Publication number
JPH02301853A
JPH02301853A JP1123874A JP12387489A JPH02301853A JP H02301853 A JPH02301853 A JP H02301853A JP 1123874 A JP1123874 A JP 1123874A JP 12387489 A JP12387489 A JP 12387489A JP H02301853 A JPH02301853 A JP H02301853A
Authority
JP
Japan
Prior art keywords
printer
computer
bus
output
sharing system
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
JP1123874A
Other languages
Japanese (ja)
Inventor
Yoshinori Yamaguchi
芳則 山口
Kenichiro Sugiura
杉浦 賢一郎
Masanao Yasuda
雅直 安田
Hideyuki Kobayashi
秀行 小林
Tadashi Inoue
直史 井上
Michihira Murayama
道平 村山
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 JP1123874A priority Critical patent/JPH02301853A/en
Publication of JPH02301853A publication Critical patent/JPH02301853A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the occurrence of such a printed result that plural output data are mixed in a printed output with an externally connected printer sharing system by providing a function which makes a host computer impossible to use the external printer while another host computer uses the printer until the another host computer declares the completion of the use. CONSTITUTION:Host computers 1 and 2 are respectively connected with an external printer 3 through a common bus 4. A function which makes one computer impossible to use the printer 3 while the other computer uses the printer 3 until the other computer declares the completion of the use even when the bus 4 is released, is provided. Therefore, the output of one computer to the printer is not mixed with the output data of the other computer and occurrence of such a printed result that output data of plural computers are mixed in the final printed output is eliminated.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のホストコンピュータ(パーソナル・コ
ンピュータ等)が同一バスを用いて1台のプリンタを制
御し、共有する外部接続プリンタ共有システムに関する
ものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an externally connected printer sharing system in which a plurality of host computers (personal computers, etc.) control and share one printer using the same bus. It is something.

[従来の技術] 従来から上記のJ:うなシステムを実現する手段として
、Swall Compul、cr System l
n1.crl’++cc  (L:J−Fscs+と呼
ぶ)かある。SCS Iは同一バス上に複数のデバイス
を接続することかてき、−=般的には1台のポス[・コ
ンピュータと複数の夕(部デバイスの組合せて使用され
ているか複数のポストコンピュータか外部デバイスを一
!(有して使用するシステムも作ることがてきる。
[Prior Art] Conventionally, as a means for realizing the above-mentioned J:Una system, Swall Compul, cr System l has been used.
n1. crl'++cc (referred to as L:J-Fscs+). SCSI allows multiple devices to be connected on the same bus, typically using a combination of one post computer and multiple post computers or external devices. You can also create a system that uses just one device.

[発明か解決しJ:うとしている問題点]しかしながら
、SC3Iを利用して、複数のホストコンピュータがプ
リンタ装置を共有する場合は、次のような欠点かあった
[Problems to be solved by the invention] However, when a plurality of host computers share a printer device using the SC3I, there are the following drawbacks.

あるポスl−コンピュータがプリンタへの出力を行なう
場合、まずバスが空いているか調べ、バスが空いていれ
は、バスをつなげて1行や1ページといったある出力単
位ごとのデータをプリンタへ送って一旦バスを切る。こ
の動作のくり返しによって印字か行われるが、こうした
場合、プリンタは現在自分へデータを送っているのがど
のポストコンピュータであるかを知る方法かないために
、−−tH4バスを空りた後、他のポストコンビ;1−
−タかバスをつなげてプリンタにデータを送れは、プリ
ンタはそれを印字してしまう。従って、最終的に得られ
る印字結果は複数の出力データか混在してしまう恐れか
あった。
When a certain post-computer outputs to a printer, it first checks to see if the bus is free, and if the bus is free, connects the buses and sends data in units of output, such as one line or one page, to the printer. Turn off the bus once. Printing is performed by repeating this operation, but in such a case, the printer has no way of knowing which postcomputer is currently sending data to itself, so after it empties the tH4 bus, it Post combination; 1-
- If you connect a data bus to send data to a printer, the printer will print it. Therefore, there is a possibility that the finally obtained print result will be a mixture of a plurality of output data.

[問題点を解決するだめの手段(及び作用)]木発明に
よれは、あるポストコンピュータか外部プリンタを使用
するときには、そのホストコンピュータかプリンタの使
用終了を宣言するまでには、たとえその間にバスが解放
されることかあっても他のポストコンピュータはプリン
タを使用することかてきなくする機能を設けることによ
り、出力結果に他のホス1〜コンピユータからの出力デ
ータか混在しないようにするものである。
[Means (and operations) for solving the problem] According to the invention, when using a certain postcomputer or an external printer, even if the bus By providing a function that prevents other post computers from using the printer even if the printer is released, this prevents the output results from being mixed with output data from other computers. be.

[実施例コ 第1図〜第4図は本発明の実施例であり、以下図面に基
き本発明の詳細な説明する。第1図はバスを共有したシ
ステム構成図であり、ホストコンピュータ1及びホスト
コンピュータ2と外部プリンタ3とは共有バス4で接続
されている。第2図はポストコンピュータ1及びポスト
:]]ノビー1−タ2のブロック図であり、一般のハー
ソナルコンピュータと同様のものである。第3図は外部
プリンタのブロック図である。第4図は本発明実施例の
印字制御手順のフローヂャ−1−である。
[Example 1] Figures 1 to 4 show examples of the present invention, and the present invention will be described in detail below based on the drawings. FIG. 1 is a system configuration diagram in which a bus is shared, and a host computer 1, a host computer 2, and an external printer 3 are connected by a shared bus 4. In FIG. FIG. 2 is a block diagram of the post computer 1 and the post computer 2, which are similar to a general personal computer. FIG. 3 is a block diagram of the external printer. FIG. 4 is a flowchart 1 of the print control procedure according to the embodiment of the present invention.

以−ト、第4図のフローヂャートに従い、本発明の印字
制御手順を説明する。まずボス1−コンピュータ1がプ
リンタに印字を行いたい場合、Slによりバスを接続し
、S2でプリンタへの使用開始宣言のコマン[−を送る
Hereinafter, the printing control procedure of the present invention will be explained according to the flowchart of FIG. First, when the boss 1-computer 1 wants to print on the printer, it connects the bus through Sl and sends a command [- to declare the start of use to the printer in S2.

プリンタは、開始宣言のコマン1−を受りとるど、その
ことを自分のRAM+3にPトキ込む。ポス]・コンピ
ュータ1はS3ていったんバスを切り、再びS4でバス
をつなげS51行ことを送り、S6バスを切る。このS
4〜S6の動イ1を、S7データが完了するまで続りる
。この時、S6から34へもとる間は、バスか開放され
ているので、ポストコンピュータ2がプリンタへデータ
を送ることもでとるが、プリンタのRAM+3内にホス
I・コンピュータ1が使用中であるステータか格納され
ているので、プリンタはこれを拒絶する。S7て現存使
用中であるホス1〜コンピユータ1からのデータ出力か
完了したらS8でバスをつなげS9プリンタの使用終了
宣言をし、SIOバスを切断して終了する。この使用終
了宣言を受りると、プリンタは自分のRAM+3の中に
あるボス1〜コンピユータ1か使用中であるというステ
ータスをクリアして誰でも使える状態にもどる。
When the printer receives the start declaration command 1-, it stores it in its own RAM+3. POS] - Computer 1 once disconnects the bus at S3, connects the bus again at S4, sends a message to line S51, and disconnects the S6 bus. This S
Steps 4 to 1 of S6 continue until S7 data is completed. At this time, since the bus is open from S6 to 34, the post computer 2 can send data to the printer, but the host I/computer 1 is in use in the printer's RAM+3. The printer rejects this because the stator is stored. When the data output from the host 1 to computer 1 currently in use is completed in S7, the bus is connected in S8, and in S9 it is declared that the use of the printer is finished, and the SIO bus is disconnected. Upon receiving this declaration of completion of use, the printer clears the status of Boss 1 to Computer 1 in its RAM+3 indicating that it is in use, and returns to a state where anyone can use it.

[発明の効果] 以上説明したように、本発明により、複数のホストコン
ピュータか1台の外部プリンタを使用する場合に、各々
の出力データが混在した印字結果になる恐れかなくなり
、あたかも1台のボス1〜コンピユータにつき1台のプ
リンタかイ」いているのと同様の効果を得ることがてき
る。
[Effects of the Invention] As explained above, according to the present invention, when using multiple host computers or one external printer, there is no possibility that the output data of each printer will be mixed together, and the printing results will be as if they were printed on one printer. The same effect as having one printer per computer can be obtained.

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

第1図は本発明の外部プリンタ共有システムのブロック
構成図、 第2図はホストコンピュータのブロック図、第3図はプ
リンタのブロック図、 第4図は印字制御手順を示すフ(J−ヂ\・−1・であ
る。 I・・・ポストコンビコータ1 2・・・ホストコンビコータ2 3・・・外部プリンタ 4 ・共有バス 5 ・・・ CP U 6 ・・・ ROM 7 ・・・ RAM 8・・・表示部 9・・・操作部 10・・・外部記憶装置 11 ・・・ CP U 12 ・・・ ROM 13 ・・・ RAM 14・・・印字部
Fig. 1 is a block diagram of the external printer sharing system of the present invention, Fig. 2 is a block diagram of the host computer, Fig. 3 is a block diagram of the printer, and Fig. 4 is a diagram showing the printing control procedure. -1. I... Post combination coater 1 2... Host combination coater 2 3... External printer 4 - Shared bus 5... CPU 6... ROM 7... RAM 8 ... Display section 9 ... Operation section 10 ... External storage device 11 ... CPU 12 ... ROM 13 ... RAM 14 ... Printing section

Claims (1)

【特許請求の範囲】[Claims] 1、複数のホストコンピュータと1台の外部プリンタが
同一バス上に接続されたシステムにおいて、あるホスト
コンピュータがプリンタを使用している間はたとえその
間バスが解放されることがあってもそのホストコンピュ
ータがプリンタの使用終了を宣言するまでは、他のホス
トコンピュータはプリンタを使用することができなくす
る機能を設けたことを特徴とする外部接続プリンタ共有
システム。
1. In a system where multiple host computers and an external printer are connected on the same bus, while a host computer is using the printer, even if the bus is released during that time, the host computer An externally connected printer sharing system characterized by providing a function that prevents other host computers from using the printer until the host computer declares that the use of the printer has ended.
JP1123874A 1989-05-16 1989-05-16 Externally connected printer sharing system Pending JPH02301853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1123874A JPH02301853A (en) 1989-05-16 1989-05-16 Externally connected printer sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1123874A JPH02301853A (en) 1989-05-16 1989-05-16 Externally connected printer sharing system

Publications (1)

Publication Number Publication Date
JPH02301853A true JPH02301853A (en) 1990-12-13

Family

ID=14871512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1123874A Pending JPH02301853A (en) 1989-05-16 1989-05-16 Externally connected printer sharing system

Country Status (1)

Country Link
JP (1) JPH02301853A (en)

Similar Documents

Publication Publication Date Title
JPH02301853A (en) Externally connected printer sharing system
JPS63175962A (en) Direct memory access controller
US5805902A (en) Structure and method for issuing interrupt requests as addresses and for decoding the addresses issued as interrupt requests
JPS5864528A (en) Data transfer system of plural microprocessors
JPS62282322A (en) Printer control circuit
JPS6010948A (en) Data transmission equpment
JP3183311B2 (en) Data transfer system
JPS6145271B2 (en)
JPS6210830Y2 (en)
JPH0212561A (en) Pos terminal
JPH04160458A (en) Dma controller peripheral circuit
JPH04177452A (en) Information processor
JPS6149261A (en) Additional unit identifying method
JPH02300843A (en) Information processing system
JPS63298464A (en) Bus control system
JPS63127361A (en) Data processor
JPS61153770A (en) Image processor
JPS59123987A (en) Print data developing method of image memory
JPS6379161A (en) Semiconductor memory device
JPH01180350A (en) Printing system
JPH0344754A (en) Address extension system for time division bus
JPH0830548A (en) Data collision preventing device
JPS6057456A (en) Memory access device of microprocessor
JPS62125457A (en) Device number setting system
JPH02157960A (en) Daisy chain circuit system