JPH02130180A - Printer - Google Patents

Printer

Info

Publication number
JPH02130180A
JPH02130180A JP28369188A JP28369188A JPH02130180A JP H02130180 A JPH02130180 A JP H02130180A JP 28369188 A JP28369188 A JP 28369188A JP 28369188 A JP28369188 A JP 28369188A JP H02130180 A JPH02130180 A JP H02130180A
Authority
JP
Japan
Prior art keywords
communication
host computer
printer
counter
computer
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.)
Granted
Application number
JP28369188A
Other languages
Japanese (ja)
Other versions
JP2792059B2 (en
Inventor
Takaaki Yokoi
孝明 横井
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 JP63283691A priority Critical patent/JP2792059B2/en
Publication of JPH02130180A publication Critical patent/JPH02130180A/en
Application granted granted Critical
Publication of JP2792059B2 publication Critical patent/JP2792059B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To effectively and selectively use a printer and to alleviate the user's work and the like of a host computer by monitoring the presence or absence of the communication of the computer by using clocking means. CONSTITUTION:A CPU 21 monitors whether any host computer is communicated with a printer or not, controls a counting clock.reset signal generator 26 if communicating, and supplies a reset signal 31 to a counter 14. Thus, the counted value of the counter 14 is always reset while the printer receives printing data from the computer. On the other hand, if the communication of the computer is finished or the supply of the printing data is temporarily interrupted, the CPU 21 controls the generator 26 to sent one counting clock 32 to the counter 14. When a time is elapsed in this state and the counter 14 counts a predetermined value, a control signal is sent to a communication unit switching circuit 25 to be switched to a communication unit 11 or 12.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数の上位ホストコンピュータと接続されるプ
リンタ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device connected to a plurality of host computers.

〔従来の技術〕[Conventional technology]

例えばレーザプリンタのように比較的高速で印字処理を
行うことのできる比較的高価なプリンタ装置は、その経
済性との兼ね合いから複数の上位ホストコンピュータと
接続されることが多い。しかしながら、このようなプリ
ンタ装置の多くは、これら複数の上位ホストコンピュー
タと同時!、: 通信を行う機能は有していない。そこ
で、実際にはプリンタ装置とこれら上位ホストコンピュ
ータとの間には、プリンタ切換器とでも称される装置が
配置されており、この装置のパネル上の選択スイッチを
押す等の操作を行うことによってプリンタ装置と所望の
上位ホストコンビコータを接続するようになっていた。
For example, a relatively expensive printer device such as a laser printer that can perform printing processing at a relatively high speed is often connected to a plurality of host computers for economic reasons. However, many of these printer devices operate simultaneously with these multiple host computers! , : Does not have the function of communication. Therefore, in reality, a device called a printer switcher is placed between the printer device and these higher-level host computers, and by pressing the selection switch on the panel of this device, The printer device was connected to a desired upper host combination coater.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、このようなプリンタ切換器を使用していると
、つぎのような問題が発生した。
However, when using such a printer switching device, the following problem occurred.

(イ)ある上位ホストコンピュータがプリンタ装置にプ
リントアウトを行わせようとするときには、その使用者
がプリンタ切換器の切換操作を行うことになるが、この
場合には他の上位ホストコンピュータが使用中であるか
どうかの確認を行わなければならず、これを怠ると、現
在性われている印字作業を一方的に中断させるという不
具合を発生させることになった。
(b) When a higher-level host computer wants a printer to print out, the user must switch the printer switch, but in this case, if another higher-level host computer is in use. It is necessary to confirm whether or not this is the case, and if this is neglected, a problem arises in that the printing operation currently in progress is unilaterally interrupted.

(ロ)切り換えを行うものが、わざわざプリンタ切換器
まで出向かなければならず、煩雑であった。
(b) The person making the switch had to go all the way to the printer switch, which was complicated.

そこで本発明の目的は、通信を行う上位ホストコンピュ
ータを装置側で選択することのできるプリンタ装置を提
供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a printer device that allows the device side to select an upper host computer with which to communicate.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、(i)上位ホストコンピュータとそれぞれ
接続され印字データの供給を受ける複数の印字データ通
信手段と、(1工)これら印字データ通信手段の1つを
選択する選択手段と、(iii )所定の時間を計時す
る計時手段と、(1v)選択手段が選択している上位ホ
ストコンピュータが通信を行っているとき計時手段の計
時動作をリセットさせるリセット手段と、(V)計時手
段が所定の時間を計時したとき選択手段に他の印字デー
タ通信手段を選択させる選択制御手段とをプリンタ装置
に具備させる。
The present invention provides (i) a plurality of print data communication means each connected to a host computer and receiving print data; (1) selection means for selecting one of these print data communication means; and (iii) a selection means for selecting one of these print data communication means. (1v) a reset means for resetting the timekeeping operation of the timekeeping means when the upper host computer selected by the selection means is communicating; and (V) a timekeeping means for counting a predetermined time. The printer device is provided with selection control means for causing the selection means to select another print data communication means when the time is counted.

すなわち、本発明では選択された上位ホストコンピュー
タが通信を行っていない状態のときには計時手段でこれ
を判別し、選択制御手段の制御の下で次の上位ホストコ
ンピュータと接続させるようにして順次接続対象となる
上位ホストコンピュータを切り換えるようにする。なお
、計時手段の測定する時間は、通信中の上位ホストコン
ピュータにおける通信中断時間を検出するための時間と
、いずれの上位ホストコンピュータも通信を行っていな
い待機中における時間とに差異を設けてもよい。すなわ
ち待機中における計時の完了する時間を短くすれば、通
信を開始する上位ホストコンピュータが出現した場合の
対応が早くなるという利点が生じる。
That is, in the present invention, when the selected higher-level host computer is not communicating, the timing means determines this, and the selection control means connects it to the next higher-level host computer, so that it is sequentially connected to the next higher-level host computer. Switch the upper host computer. Note that the time measured by the clock means may include a difference between the time for detecting a communication interruption time in a higher-level host computer during communication and the time during standby when no higher-level host computer is communicating. good. That is, by shortening the time required to complete time measurement during standby, there is an advantage that the response to the appearance of a higher-level host computer that starts communication becomes faster.

〔実施例〕〔Example〕

以下実施例につき本発明の詳細な説明する。 The present invention will be described in detail with reference to Examples below.

第1図は本発明の一実施例におけるプリンタ装置の要部
を表わしたものである。説明を簡単にするために、この
実施例のプリンタ装置は2台の上位ホストコンピュータ
と接続されるものとする。
FIG. 1 shows the main parts of a printer device according to an embodiment of the present invention. To simplify the explanation, it is assumed that the printer device of this embodiment is connected to two upper host computers.

もちろん、本発明のプリンタ装置は3台あるいはこれ以
上の上位ホストコンビ二一夕と接続されるように構成す
ることが可能である。
Of course, the printer device of the present invention can be configured to be connected to three or more host combinations.

さて、このプリンタ装置は1台目の上位ホストコンピュ
ータと通信を行うための第1の通信部11と、2台目の
上位ホストコンピュータと通信を行うための第2の通信
部12を備えている。これらの通信部11.12は、例
えばマイクロコンピュータによって構成された制御部1
3に接続されている。制御部13は、計数回路14を接
続している。計数回路14はクロフクを計数する専用の
カウンタをあてることもできるが、制御部13を構成す
るRAM (ランダム・アクセス・メモリ)領域に計数
値を書き込むことで実現することも可能である。
Now, this printer device includes a first communication section 11 for communicating with a first host computer, and a second communication section 12 for communicating with a second host computer. . These communication units 11 and 12 are connected to a control unit 1 configured by a microcomputer, for example.
Connected to 3. The control section 13 is connected to a counting circuit 14 . The counting circuit 14 can be provided with a dedicated counter for counting clocks, but it can also be realized by writing the counted value into a RAM (random access memory) area that constitutes the control section 13.

第2図は制御部の要部を表わしたものである。FIG. 2 shows the main parts of the control section.

制御部13は、cpu <中央処理装置)21を備えて
おり、データバス等のバス22を介してROM23、R
AM24、通信部切換回路25および計数クロック・リ
セット信号発生回路26と接続されている。ここでRO
M23はこのプリンタ装置の制御を行うためのプログラ
ムを格納したリード・オンリ・メモリであり、RAM2
71は各種データを一時的に格納するための作業用メモ
リである。また、通信部切換回路25は第1図に示した
第1の通信部11と第2の通信B12の切り換えを行う
回路であり、計数クロック・リセット信号発生回路26
は第1図に示した計数回路に対して計数クロックあるい
はりセント信号を出力する回路である。なお、制御部1
3は図示しない記録部等を制御する回路部分あるいはI
10ポートが存在するが、本発明の説明に直接関係しな
いので省略している。
The control unit 13 includes a CPU (central processing unit) 21, and connects the ROM 23 and R via a bus 22 such as a data bus.
It is connected to the AM 24, the communication section switching circuit 25, and the counting clock/reset signal generation circuit 26. Here RO
M23 is a read-only memory that stores a program for controlling this printer device, and RAM2
71 is a working memory for temporarily storing various data. Further, the communication section switching circuit 25 is a circuit that switches between the first communication section 11 and the second communication B12 shown in FIG.
is a circuit that outputs a counting clock or cent signal to the counting circuit shown in FIG. Note that the control unit 1
3 is a circuit section or I that controls a recording section, etc. (not shown)
Although there are 10 ports, they are omitted because they are not directly related to the description of the present invention.

第3図は、以上のような構成のプリンタ装置が通信部を
切り換える際の制御を説明するためのものである。
FIG. 3 is a diagram for explaining control when the printer device configured as described above switches the communication section.

CPU21はいずれかの上位ホストコンビュー夕とこの
プリンタ装置が通信中であるかどうかの監視を行ってお
り(ステップ■)、通信中であれば(Y)、計数クロッ
ク・リセット信号発生回路26を制御して計数回路14
にリセット信号31を供給する(ステップ■)。これに
より、プリンタ装置が上位ホストコンビコータから印字
データの供給を受けている間は計数回路14の計数値が
常にリセットされていることになる。
The CPU 21 monitors whether or not this printer device is communicating with any of the upper host computers (step ■), and if it is communicating (Y), controls the counting clock/reset signal generation circuit 26. Counting circuit 14
A reset signal 31 is supplied to (step ■). As a result, the count value of the counting circuit 14 is always reset while the printer device is receiving print data from the host combination coater.

これに対して上位ホストコンピュータの通信が終了した
り印字データの供給が一時中断したりすると(ステップ
■;N) 、CPU21は計数クロフク・リセット信号
発生回路26を制御して計数回路14に計数クロック3
2を1つ送出させる(ステップ■)。そして、この計数
回路14の計数値情報33を人力し、これが所定の値に
到達したかどうかの判別を行う(ステップ■)。この値
に到達していなければ(N)、現在通信中の上位ホスト
コンピュータが印字データの送出を一時的に中断したも
のと解釈して、この第3図に示した制御をステップ■か
ら再開する(リターン)。すなわち、この場合には計数
回路14が所定の値に到達するまでの間、現在接続され
た上位ホストコンビ二一夕とそのまま接続状態を保つこ
とになる。
On the other hand, when the communication with the host computer ends or the supply of print data is temporarily interrupted (step ■; N), the CPU 21 controls the counting clock/reset signal generation circuit 26 to send the counting clock to the counting circuit 14. 3
Send one 2 (step ■). Then, the count value information 33 of the counting circuit 14 is inputted manually, and it is determined whether the count value information 33 has reached a predetermined value (step 2). If this value has not been reached (N), the host computer currently communicating interprets that the transmission of print data has been temporarily interrupted, and resumes the control shown in this Figure 3 from step ■. (return). That is, in this case, until the counting circuit 14 reaches a predetermined value, the connected state with the currently connected upper host combination will be maintained.

この状態で時間が経過し計数回路14が所定の値を計数
するとくステップ■;Y) 、CPU21はリセット信
号31を発生させるように制御し計数値をリセットさせ
る(ステップ■)。そして通信部切換回路25に制御信
号を送出して、第1の通信部11が接続されていればこ
れを第2の通信部12に切り換える。第2の通信部12
が接続されていれば、これを第1の通信部11に切り換
えることになる(ステップ■)。この後、ステップ■か
ら制御を再開し、新しく選択された上位ホストコンピュ
ータが通信を行っていれば、これに対して応答し印字デ
ータの送信を開始させるように制御することになる。
When time elapses in this state and the counting circuit 14 counts a predetermined value (step 2; Y), the CPU 21 controls to generate the reset signal 31 to reset the counted value (step 2). Then, a control signal is sent to the communication section switching circuit 25 to switch the first communication section 11 to the second communication section 12 if it is connected. Second communication unit 12
If it is connected, it will be switched to the first communication section 11 (step 2). Thereafter, control is resumed from step (3), and if the newly selected higher-level host computer is communicating, it will respond to this and start sending print data.

なお、例えば第1の通信部11で通信が終了し第2の通
信部12に切り換えた段階で、この第2の通信部12で
も通信が行われていないことが分かったら、いずれかの
上位ホストコンビエータが通信を開始するまで2つの通
信部lL12を交互に迅速に切り換えた方が通信の開始
に迅速に対処することができる。従って、ステップ■に
おける所定の値をいずれの上位ホストコンビコータも通
信を行っていない状態のときと、通信の中断を監視して
いるときと違えるようにすることも有効である。
Note that, for example, if communication is terminated in the first communication unit 11 and switched to the second communication unit 12, and it is found that communication is not being performed in this second communication unit 12, either of the upper hosts It is possible to quickly respond to the start of communication by alternately and quickly switching between the two communication units IL12 until the combiator starts communication. Therefore, it is also effective to set the predetermined value in step (2) to be different when no upper host combicoater is communicating and when monitoring interruption of communication.

また、実施例では2台あるいは複数の上位ホストコンピ
ュータが相次いで通信を開始した場合の説明を省略した
が、これに対してはプリンタ装置が接続した上位ホスト
コンピュータの方に接続完了を示す制御信号を送出する
ことで解決することがで上る。すなわち、接続の行われ
なかった上位ホストコンピュータの方はこの制御信号が
所定時間内に送出されてこなかったことを検出して、あ
る程度の時間を置いた後、再度通信を試みればよい。こ
の再送信の段階で他の上位ホストコンピュータのいずれ
もが通信を行っていなければ、プリンタ装置はこの再送
信の上位ホストコンピュータを選択した状態で接続を固
定され、印字データの供給を受ける状態になることにな
る。
Furthermore, in the embodiment, a description of the case where two or a plurality of higher-level host computers start communication one after another is omitted; The problem can be solved by sending out the problem. That is, the upper host computer to which the connection was not made detects that this control signal has not been sent within a predetermined period of time, and after a certain period of time, attempts communication again. If none of the other higher-level host computers are communicating at this retransmission stage, the printer device selects the higher-level host computer for this retransmission and the connection is fixed, and it is ready to receive print data. It will become.

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

以上説明したように本発明のプリンタ装置によれば、計
時手段を用いて上位ホストコンピュータの通信の有無を
監視することにしたので、なんらかの理由により印字デ
ータの通信が短時間途絶えるような場合があってもその
上位ホストコンピュータとの接続状態が保たれる。この
結果、複数の上位ホストコンビューク間でプリンタ装置
を確実に選択使用することができ、しかも上位ホストコ
ンピュータの使用者等の作業が軽減され事務効率が向上
するという利点がある。
As explained above, according to the printer device of the present invention, since the timekeeping means is used to monitor the presence or absence of communication with the host computer, there is a possibility that communication of print data may be interrupted for a short period of time for some reason. The connection status with the higher-level host computer is maintained even when the host computer is connected to the host computer. As a result, printer devices can be reliably selected and used among a plurality of host computers, and the work of the user of the host computer is reduced, which improves office efficiency.

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

図面は本発明の一実施例を説明するためのもので、この
うち第1図はプリンタ装置の要部を示すブロック図、第
2図は第1図に示した制御部の要部を示すブロック図、
第3図はプリンタ装置が通信部を切り換える際の制御を
表わした流れ図である。 11・・・・・・第1の通信部、 2・・・・・・第2の通信部、13・・・・・・制御部
、4・・・・・・計数回路、21・・・・・・cpu。 3・・・・・・ROM、24・・・・・・RAM。 5・・・・・・通信部切換回路、 6・・・・・・計数クロック・リセット信号発生回路、
1・・・・・・リセット信号、 2・・・・・・計数クロック。 出 願 人  日本電気株式会社 代 理 人  弁理士 山内梅雄 2回
The drawings are for explaining one embodiment of the present invention, of which FIG. 1 is a block diagram showing the main parts of the printer device, and FIG. 2 is a block diagram showing the main parts of the control section shown in FIG. 1. figure,
FIG. 3 is a flowchart showing control when the printer device switches communication units. DESCRIPTION OF SYMBOLS 11...First communication unit, 2...Second communication unit, 13...Control unit, 4...Counting circuit, 21... ...cpu. 3...ROM, 24...RAM. 5...Communication section switching circuit, 6...Counting clock/reset signal generation circuit,
1...Reset signal, 2...Counting clock. Applicant: NEC Co., Ltd. Agent: Patent attorney: Umeo Yamauchi (twice)

Claims (1)

【特許請求の範囲】  上位ホストコンピュータとそれぞれ接続され印字デー
タの供給を受ける複数の印字データ通信手段と、 これら印字データ通信手段の1つを選択する選択手段と
、 所定の時間を計時する計時手段と、 前記選択手段が選択している上位ホストコンピュータが
通信を行っているとき計時手段の計時動作をリセットさ
せるリセット手段と、 前記計時手段が所定の時間を計時したとき選択手段に他
の印字データ通信手段を選択させる選択制御手段 とを具備することを特徴とするプリンタ装置。
[Scope of Claims] A plurality of print data communication means each connected to a host computer and receiving print data, a selection means for selecting one of these print data communication means, and a clock means for timing a predetermined time. and reset means for resetting the timekeeping operation of the timekeeping means when the upper host computer selected by the selection means is communicating; and when the timekeeping means has timed a predetermined time, the selection means receives other print data. A printer device comprising: selection control means for selecting a communication means.
JP63283691A 1988-11-11 1988-11-11 Printer device Expired - Lifetime JP2792059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63283691A JP2792059B2 (en) 1988-11-11 1988-11-11 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63283691A JP2792059B2 (en) 1988-11-11 1988-11-11 Printer device

Publications (2)

Publication Number Publication Date
JPH02130180A true JPH02130180A (en) 1990-05-18
JP2792059B2 JP2792059B2 (en) 1998-08-27

Family

ID=17668831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63283691A Expired - Lifetime JP2792059B2 (en) 1988-11-11 1988-11-11 Printer device

Country Status (1)

Country Link
JP (1) JP2792059B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61185127U (en) * 1985-05-07 1986-11-18

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61185127U (en) * 1985-05-07 1986-11-18

Also Published As

Publication number Publication date
JP2792059B2 (en) 1998-08-27

Similar Documents

Publication Publication Date Title
JPH02130180A (en) Printer
EP0499178A1 (en) System clock switching mechanism for microprocessor
JPH1031536A (en) Power-on system
JP3051021B2 (en) Operation input device
JPH043220A (en) Printing controller
JPH07200420A (en) Resetting controller
JPH09282054A (en) Information processor
JPS63192127A (en) Printer device
JP2995420B2 (en) Network disconnection method
JPH0348358A (en) Method for communicating information between host system and peripheral apparatus
JP2520932B2 (en) Heterogeneous terminal communication system
JPH03250968A (en) Input output device
JPS615363A (en) Controller of shared memory
JPH10187286A (en) Information equipment
JP2920555B2 (en) How to set addresses in the network
JPS61270952A (en) Data transmitting system
JPH0683222B2 (en) Network control method
JP2647962B2 (en) Display control device
JPH04294181A (en) Printer device
EP0335373A2 (en) Hardware status switching input control system
JPH08191320A (en) Data communication system
JPH0498517A (en) Printer
JPH09247138A (en) Synchronization circuit
JPS63219028A (en) Print input selecting device
JPH06124272A (en) Redundancy constituting circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080619

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090619

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090619

Year of fee payment: 11