JPH05224845A - Printer sharing system - Google Patents

Printer sharing system

Info

Publication number
JPH05224845A
JPH05224845A JP4023079A JP2307992A JPH05224845A JP H05224845 A JPH05224845 A JP H05224845A JP 4023079 A JP4023079 A JP 4023079A JP 2307992 A JP2307992 A JP 2307992A JP H05224845 A JPH05224845 A JP H05224845A
Authority
JP
Japan
Prior art keywords
printer
control device
data
selection unit
release
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
JP4023079A
Other languages
Japanese (ja)
Inventor
Masanori Sano
雅教 佐野
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4023079A priority Critical patent/JPH05224845A/en
Publication of JPH05224845A publication Critical patent/JPH05224845A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the printer sharing system for releasing an occupied state immediately after printing-out is completed. CONSTITUTION:This system is provided with one printer 6, plural controllers 1, 2 and 3 sharing the printer 6, selection part 4 to occupy the printer 6 while selectively connecting any one of plural controllers 1, 2 and 3 first outputting data, and a release control part 5 to release the selectively connected state of the controller selectively connected by the selection part 4 when it is detected that the data are data instructing the discharge of paper showing the end of printing-out.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はオフィス環境に設置され
るパーソナルコンピュータなどの制御装置のプリンタを
共有するプリンタ共有方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer sharing system for sharing a printer of a control device such as a personal computer installed in an office environment.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータ等の制御
装置でプリンタを共有する場合のインタフェースは、最
初にプリンタへデータを出力した制御装置がプリンタを
占有状態にし、以降占有状態の制御装置のみがプリンタ
への印字出力が可能となり、占有状態の解放は占有状態
にある制御装置が一定時間プリンタを使用しなかった場
合に行われるようになっている。また、占有状態解放の
別の例では、占有状態にある制御装置が明示的に解放指
示を出すことにより占有状態から解放されるようになっ
ている。
2. Description of the Related Art Conventionally, in the case of sharing a printer with a control device such as a personal computer, the control device that first outputs data to the printer puts the printer in the occupied state, and thereafter only the occupied control device sends to the printer. Is enabled, and the release of the occupied state is performed when the control device in the occupied state does not use the printer for a certain period of time. Further, in another example of releasing the occupied state, the control device in the occupied state explicitly releases the release instruction to release the occupied state.

【0003】[0003]

【発明が解決しようとする課題】上述したプリンタを共
有するためのインタフェースにおいては、プリンタの占
有状態を解放させるために次のような問題点があった。
一定時間のプリンタ不動作で占有状態を解放する場合
は、許容不動作時間の設定値を長くすると、プリンタを
占有中の制御装置がプリンタの使用を終了しても、他の
制御装置がプリンタを使用出来ない時間が長くなりシス
テムとしてのプリンタの稼働率が低くなる。
The interface for sharing the printer described above has the following problems in order to release the occupied state of the printer.
When releasing the occupied state after the printer is not operating for a certain period of time, if the allowable downtime is set to a long value, even if the control device occupying the printer finishes using the printer, another control device will not The unusable time becomes long and the operating rate of the printer as a system becomes low.

【0004】また、許容不動作時間の設定値を短くする
と、占有中の制御装置が処理に時間がかかり、許容不動
作時間をオーバした場合、印字の途中で他の制御装置と
占有状態になって印字結果が乱れるという問題が生じ、
許容不動作時間を適切に決定することが困難であった。
If the set value of the permissible down time is shortened, the occupied control device takes a long time to process, and if the permissible down time is exceeded, the control device becomes occupied with another control device during printing. Problem that print result is disturbed,
It was difficult to properly determine the allowable downtime.

【0005】さらに、制御装置がコマンド等で明示的に
占有状態を解放する場合、占有状態を意識してプリンタ
を制御する必要があり、占有状態の制御を行えるよう制
御装置を改造することが必要になる。したがって、パー
ソナルコンピュータ等の多く利用されている標準的なプ
リンタ占有タイプの制御装置を改造せずにプリンタを共
有させることが出来ない。
Further, when the control device explicitly releases the occupied state by a command or the like, it is necessary to control the printer in consideration of the occupied state, and it is necessary to modify the control device to control the occupied state. become. Therefore, it is impossible to share a printer without modifying a standard printer-occupying type control device such as a personal computer which is widely used.

【0006】本発明の目的は、パーソナルコンピュータ
等の標準的なプリンタ占有タイプの制御装置を利用し
て、印字出力完了で用紙排出を行うことにより直ちに占
有状態が解放されるインタフェースを備えたプリンタ共
有方式を提供することにある。
It is an object of the present invention to utilize a standard printer occupation type control device such as a personal computer to share a printer with an interface in which the occupation state is immediately released by discharging the paper when the print output is completed. To provide a method.

【0007】[0007]

【課題を解決するための手段】本発明のプリンタ共有方
式は、一台のプリンタと、前記プリンタを共有する複数
の制御装置と、データを最初に出力した前記複数の制御
装置のいずれかを選択接続して前記プリンタを占有させ
る選択部と、前記データが印字出力の終りを示す用紙排
出を指示するデータであることを検出したとき前記選択
部により選択接続されている前記制御装置の選択接続状
態を解放させる解放制御部とを備える。
According to the printer sharing method of the present invention, one printer, a plurality of control devices that share the printer, and a plurality of control devices that first output data are selected. A selection unit that connects and occupies the printer, and a selection connection state of the control device that is selectively connected by the selection unit when it is detected that the data is data indicating the end of print output and instructing paper discharge And a release control unit for releasing.

【0008】[0008]

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

【0009】本発明の一実施例の構成を示す図1を参照
すると、ここには3つの制御装置が1台のプリンタを共
有して使用する場合を示してある。
Referring to FIG. 1, which shows the configuration of an embodiment of the present invention, here is shown a case where three control devices share one printer for use.

【0010】制御装置1,2,3の各各は印字の要求が
発生の都度、プリンタ6への印字データを作成し、互に
他の制御装置とは独立にインタフェース11,12,1
3を通して作成した印字データを出力し、最初に出力し
た制御装置がプリンタを占有して印字出力するパーソナ
ルコンピュータ等の装置である。選択部4はインタフェ
ース11,12,13を介して制御装置1,2,3と接
続し、ある時点では1つの制御装置からのみの印字デー
タをインタフェース14を通じて解放制御部5に移送す
る。
Each of the control devices 1, 2 and 3 creates print data for the printer 6 each time a print request is generated, and the interfaces 11, 12, 1 are mutually independent of other control devices.
3 is a device such as a personal computer that outputs the print data created through the step 3, and the control device that first outputs the data occupies the printer and prints the data. The selection unit 4 is connected to the control devices 1, 2, and 3 via the interfaces 11, 12, and 13, and transfers print data from only one control device to the release control unit 5 through the interface 14 at a certain point of time.

【0011】解放制御部5はインタフェース14および
インタフェース15の接続と、インタフェース中に移送
される印字データの解読を行い、プリンタ6が認識する
用紙排出を指示する制御コードの検出で印字出力の終了
を認識し、制御装置のプリンタ占有状態からの占有解放
指示を選択部4に対して行う。
The release controller 5 connects the interface 14 and the interface 15, decodes the print data transferred into the interface, and terminates the print output by detecting the control code recognized by the printer 6 for instructing the paper discharge. It recognizes and issues an occupation release instruction from the printer occupation state of the control device to the selection unit 4.

【0012】プリンタ6はパーソナルコンピュータ等の
制御装置に接続される低速のプリンタで、通称セントロ
ニクス準拠といわれるインタフェースにより印字データ
を移送して、用紙へ印字する。インタフェース11〜1
5は全てセントロニクス準拠といわれるインタフェース
で構成されるものである。このため、制御装置1,2,
3はインタフェース11,12,13を介して直接プリ
ンタ6と接続されていると認識され、またプリンタ6か
らは解放制御部5が上位の制御装置として認識される。
The printer 6 is a low-speed printer connected to a control device such as a personal computer, and transfers print data by an interface commonly called as Centronics compliant, and prints on paper. Interfaces 11 to 1
5 is composed of all the interfaces that are said to be Centronics compliant. Therefore, the control devices 1, 2,
3 is recognized as being directly connected to the printer 6 via the interfaces 11, 12, and 13, and the release control unit 5 is recognized by the printer 6 as a higher-level control device.

【0013】上述したプリンタ共有システムにおいて、
制御装置1は印字の要求が発生すると、プリンタ6のた
めに印字データを作成し、インタフェース11を通して
データの出力をしようとする。このとき、選択部4が初
期状態にあり、他のいずれの制御装置からも印字データ
を入力していない場合、選択部4は制御装置2,3に対
して印字データを受け取れないようにインタフェース1
2,13をビジー状態に制御し、制御装置1だけがプリ
ンタ6を占有して使用出来るようにする。そして、制御
装置1の出力データをインタフェース14に移送する。
すなわち、選択部4は初期状態においては制御装置1,
2,3の内で、最初に印字データを受けた制御装置のデ
ータのみをインタフェース14に出力し、他の制御装置
2,3に対しては印字データを出力出来ないようにプリ
ンタを見掛け上ビジー状態にする。この状態を制御装置
1の占有状態と呼ぶ。制御装置1は印字が終了すると用
紙の排出を指示するデータを最後に出力する。そのデー
タを解放制御部5が解読し、占有解放指示信号20を選
択部4に送付して、制御装置1の占有状態を解放する。
選択部4は初期状態に戻り、全ての制御装置1,2,3
に対して新しいデータの出力が可能になる。占有状態に
ある選択部4が初期状態になり、インタフェース11,
12,13がビジー状態でなくなるので、 字出力を待
たされていた制御装置は印字出力可能になる。その動作
は制御装置1がプリンタ6に対して出力する上述に同じ
である。
In the printer sharing system described above,
When a print request is generated, the control device 1 creates print data for the printer 6 and tries to output the data through the interface 11. At this time, if the selection unit 4 is in the initial state and print data is not input from any other control device, the selection unit 4 prevents the control devices 2 and 3 from receiving print data.
2 and 13 are controlled in a busy state so that only the control device 1 can occupy and use the printer 6. Then, the output data of the control device 1 is transferred to the interface 14.
That is, the selection unit 4 has the control device 1,
Of the two and three, only the data of the control device which receives the print data first is output to the interface 14, and the print data is apparently busy so that the print data cannot be output to the other control devices 2 and 3. Put in a state. This state is called the occupied state of the control device 1. When the printing is completed, the control device 1 finally outputs the data instructing the paper ejection. The release control unit 5 decodes the data, sends the occupation release instruction signal 20 to the selection unit 4, and releases the occupied state of the control device 1.
The selection unit 4 returns to the initial state, and all the control devices 1, 2, 3
It becomes possible to output new data to. The selection unit 4 in the occupied state becomes the initial state, and the interface 11,
Since 12 and 13 are not in the busy state, the control device which has been waiting for the character output can print out. The operation is the same as that described above in which the control device 1 outputs to the printer 6.

【0014】[0014]

【発明の効果】上述したように本発明によれば、プリン
タを占有して使用するパーソナルコンピュータ等の制御
装置を改造せずプリンタを共有させることができ、かつ
印字出力完了の用紙排出データで直ちに占有状態を解放
させプリンタの稼働率を向上させることができる。
As described above, according to the present invention, the printer can be shared without modifying the control device such as a personal computer that occupies and uses the printer, and the paper discharge data immediately after completion of the print output can be immediately used. It is possible to release the occupied state and improve the operating rate of the printer.

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

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an exemplary embodiment of the present invention.

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

1 制御装置 2 制御装置 3 制御装置 4 選択部 5 解放制御部 6 プリンタ 11〜15 セントロニクス準拠インタフェース 20 占有解放指示信号 1 Control Device 2 Control Device 3 Control Device 4 Selection Unit 5 Release Control Unit 6 Printer 11 to 15 Centronics Compliant Interface 20 Occupation Release Instruction Signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 一台のプリンタと、前記プリンタを共有
する複数の制御装置と、データを最初に出力した前記複
数の制御装置のいずれかを選択接続して前記プリンタを
占有させる選択部と、前記データが印字出力の終りを示
す用紙排出を指示するデータであることを検出したとき
前記選択部により選択接続されている前記制御装置の選
択接続状態を解放させる解放制御部とを備えることを特
徴とするプリンタ共有方式。
1. A printer, a plurality of control devices that share the printer, and a selection unit that selectively connects any of the plurality of control devices that first output data to occupy the printer. And a release control unit for releasing the selective connection state of the control device selectively connected by the selection unit when it is detected that the data is data for instructing paper discharge indicating the end of print output. Printer sharing method.
【請求項2】 前記複数の制御装置の各各がパーソナル
コンピュータであることを特徴とする請求項1記載のプ
リンタ共有方式。
2. The printer sharing system according to claim 1, wherein each of the plurality of control devices is a personal computer.
【請求項3】 前記複数の制御装置と前記選択部間,前
記選択部と前記解放制御部間および前記解放制御部と前
記プリンタ間の各各のインタフェースがセントロニクス
準拠のインタフェースであることを特徴とする請求項1
記載のプリンタ共有方式。
3. The interface between each of the plurality of control devices and the selection unit, between the selection unit and the release control unit, and between the release control unit and the printer is a Centronics compliant interface. Claim 1
Printer sharing method described.
JP4023079A 1992-02-10 1992-02-10 Printer sharing system Withdrawn JPH05224845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4023079A JPH05224845A (en) 1992-02-10 1992-02-10 Printer sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4023079A JPH05224845A (en) 1992-02-10 1992-02-10 Printer sharing system

Publications (1)

Publication Number Publication Date
JPH05224845A true JPH05224845A (en) 1993-09-03

Family

ID=12100413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4023079A Withdrawn JPH05224845A (en) 1992-02-10 1992-02-10 Printer sharing system

Country Status (1)

Country Link
JP (1) JPH05224845A (en)

Similar Documents

Publication Publication Date Title
JPH05224845A (en) Printer sharing system
JP2001318775A (en) Printer, control method therefor and computer readable storage medium storing control program therefor
US6049840A (en) System for providing an interrogating host with information including start-up processing status of a peripheral device stored in storing means
JP2828005B2 (en) Printer device
JP3453395B2 (en) Information transfer system
JPH07175665A (en) Input/output interruption control circuit
JPH0752384B2 (en) Printer device
JPH0820936B2 (en) Print control device
JPH04233028A (en) Printer
JP3012344B2 (en) Printing equipment
JPS63250730A (en) Printing system
JPH01263064A (en) Printer device
JPH0216626A (en) Printer output control system
JP2004062875A (en) Printing system, printer, and printing control method
JP3661609B2 (en) SCSI interface control device and selection monitoring method thereof
JPS5932809B2 (en) DMA channel bus usage control method
JPH0615884A (en) Printer
JPH02188281A (en) Printing control device
JPH05189172A (en) Printer
JPH04173173A (en) Printing apparatus
JPS61173351A (en) Printing device
JPH01146778A (en) Automatic control system
JP2001256020A (en) Printer controller and its method
JPH03248253A (en) Data reception processing device
JPH0519988A (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: 19990518