JPS6373417A - Terminal controller - Google Patents

Terminal controller

Info

Publication number
JPS6373417A
JPS6373417A JP61218985A JP21898586A JPS6373417A JP S6373417 A JPS6373417 A JP S6373417A JP 61218985 A JP61218985 A JP 61218985A JP 21898586 A JP21898586 A JP 21898586A JP S6373417 A JPS6373417 A JP S6373417A
Authority
JP
Japan
Prior art keywords
printing
terminal
print
printing device
devices
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
JP61218985A
Other languages
Japanese (ja)
Inventor
Koichi Kubota
窪田 公一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61218985A priority Critical patent/JPS6373417A/en
Publication of JPS6373417A publication Critical patent/JPS6373417A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To perform the even print control to the print requests given from each terminal equipment by retrieving the available ones out of all printers controlled by the terminal equipments and indicating the print to the print requests of each terminal equipment. CONSTITUTION:When a print request is sent to a print control mechanism 9 from a terminal equipment via a data input/output mechanism 8, the mechanism 9 refers sequentially a printer state table 10 to retrieve an available printer. When an available printer is detected, the corresponding printer state is set under a print unable state in the table 10. Then the mechanism 8 delivers a print indication. If no available printer is obtained, the relevant print request is rejected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は複数の端末装置と複数の印字装置な制御する
端末制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a terminal control device that controls a plurality of terminal devices and a plurality of printing devices.

〔従来の技術〕[Conventional technology]

第5図は従来の端末制御装置による端末システムであ9
1図において、(2)〜(4)は端末操作員あるいは端
末装置上の適応プログラムからの印字要求を端末制御装
置αDへ通達する手段を有する端末装置、 (51,+
61は端末制御装置a11の印字指示によって印字を行
う印字装置、(81は通信線(7)によ多端末制御装置
a9と端末装置(2)〜(4)との間のデータ入出力を
行うデータ入出力a!構、 iaはデータ入出力機構(
81の上位プログラムで印字制御を行う印字制御機構で
ある。
Figure 5 shows a terminal system using a conventional terminal control device.
In Figure 1, (2) to (4) are terminal devices having means for notifying the terminal control device αD of printing requests from the terminal operator or the adaptive program on the terminal device, (51, +
61 is a printing device that performs printing in response to a print instruction from the terminal control device a11; (81 is a communication line (7) for inputting and outputting data between the multi-terminal control device a9 and the terminal devices (2) to (4); data input/output a! structure, ia is data input/output structure (
This is a print control mechanism that performs print control using an 81 higher-level program.

次に動作について説明する。印字装置が接続され印字機
能を有する端末装置(2)からの印字要求および印字デ
ータをデータ入出力機構(81が受信すると、印字制御
機構rJのは該印字要求を行った端末装置+2) K接
続された印字装置15)に印字を指示すす。
Next, the operation will be explained. When the data input/output mechanism (81) receives a print request and print data from a terminal device (2) to which a printing device is connected and has a printing function, the print control mechanism rJ's output is the terminal device that made the print request + 2). The printed printing device 15) is instructed to print.

同様に、端末装置(3)の印字要求に対しては印字装置
(6)に印字を指示する。また印字機能を有しない端末
装置(41からの印字要求に対しては、印字制御機構a
りはあらかじめ定めた印字装置(5)もしくは(6)に
印字を指示するか、あるいは該印字要求を拒否する。し
たがって、おちかしめ定めた印字装置 (5)もしくは
(6)に印字を行う時は、その印字装置が接続された端
末装置(2)もしくは(3)の印字要求と端末装置(4
!の印字要求が競合し、遅れた方は拒否市れ印字が終了
するまで印字要求は拒否される。また印字機能を有しな
い端末装置(4)の印字要求を印字制御装*a’aが拒
否する時は、端末装置(4)からの印字要求は全て拒否
されることになる。
Similarly, in response to a print request from the terminal device (3), the printing device (6) is instructed to print. In addition, in response to a print request from a terminal device (41) that does not have a print function, the print control mechanism a
The printer instructs a predetermined printing device (5) or (6) to print, or rejects the printing request. Therefore, when printing on a predetermined printing device (5) or (6), a print request from the terminal device (2) or (3) to which the printing device is connected and a print request from the terminal device (4) are required.
! There are competing printing requests, and the one that is late will be rejected.Printing requests will be rejected until the printing is completed. Furthermore, when the print control device *a'a rejects a print request from a terminal device (4) that does not have a printing function, all print requests from the terminal device (4) are rejected.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の端末制御装置では以上のように、印字機能を有し
ない端末装置からの印字要求に対してはあらかじめ定め
られた印字装置へ印字を行うことによるある特定の他端
末装置からの印字要求との競合が発生したシ、印字装置
を有しない端末装置からの印字要求を全て拒否するなど
、印字機能を有しない端末装置を含む端末システムでは
各端末装置からの印字要求に対して不均等な印字制御を
行わなければならないという問題点があった。
As described above, in conventional terminal control devices, in response to a print request from a terminal device that does not have a printing function, printing is performed on a predetermined printing device, thereby making it possible to match the print request from a specific other terminal device. In a terminal system that includes terminal devices that do not have a printing function, printing may be controlled unevenly in response to printing requests from each terminal device, such as when conflicts occur or when all printing requests from terminal devices that do not have a printing device are rejected. The problem was that it had to be done.

この発明は上記のような問題点を解消するためになされ
たもので、複数の端末装置と複数の印字装置より構成さ
れ、印字機能を有する端末装置と印字機能を有しない端
末装置を含む端末システムにおいて、各端末装置からの
印字要求に対して均等な印字制御を行う端末制御装置を
提供することを目的としている。
This invention was made to solve the above-mentioned problems, and provides a terminal system that is composed of a plurality of terminal devices and a plurality of printing devices, and includes a terminal device with a printing function and a terminal device without a printing function. An object of the present invention is to provide a terminal control device that performs uniform printing control in response to printing requests from each terminal device.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る端末制御装置は、端末制御装置が制御す
る複数の印字装置の状態を管理するための各印字装置に
対応する状態を保持する印字装置状態テーブルと、端末
装置からの印字要求に対し前記印字装置状態テーブルを
参照して使用可能な印字装置を検索し、その印字装置へ
の印字の指示を行うと共に、印字装置の状態を前記印字
装置状態テーブルに随時書き込みを行う印字制御@構を
備えたものである。
The terminal control device according to the present invention includes a printing device state table that holds a state corresponding to each printing device for managing the states of a plurality of printing devices controlled by the terminal control device, and a printing device state table that holds a state corresponding to each printing device for managing the state of a plurality of printing devices controlled by the terminal control device. A print control @ structure that searches for an available printing device by referring to the printing device status table, instructs the printing device to print, and writes the status of the printing device in the printing device status table at any time. It is prepared.

〔作用〕[Effect]

この発明における端末制御装置では、各端末装置の印字
要求に対して使用可能な印字装置を該端末制御装置の制
御子る全ての印字装置の中から検索し印字を指示するの
で、印字機能を有する端末装置と印字機能を有しない端
末装置を含む端末システムにおいて、各端末装置からの
印字要求に対して均等な印字制御を行う。
The terminal control device according to the present invention has a printing function because it searches for a usable printing device among all the printing devices controlled by the terminal control device and instructs printing in response to a printing request from each terminal device. In a terminal system including a terminal device and a terminal device without a printing function, uniform printing control is performed for printing requests from each terminal device.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図において、第5図と同一符号は同−又は相当部分を示
し、(1)はこの発明の通信制御装置。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, the same reference numerals as in FIG. 5 indicate the same or corresponding parts, and (1) is a communication control device of the present invention.

(9)は印字装置の状態を管理し、端末装置からの印字
要求を制御する印字制御機構、 (11は各印字装置の
状態を保持する印字装置状態テーブルである。
(9) is a printing control mechanism that manages the status of the printing device and controls printing requests from the terminal device; (11 is a printing device status table that holds the status of each printing device);

第2図は第1図の端末システムにおける端末装置からの
印字要求処理を示すフローチャートで。
FIG. 2 is a flowchart showing print request processing from a terminal device in the terminal system of FIG. 1.

■〜(至)は各ステップであり、第3図は第1図の端末
システムにおける印字装置からの障害発生通知で、具体
的には電源オフ、操作員介入要求発生。
(2) to (to) are each step, and FIG. 3 shows a failure occurrence notification from the printing device in the terminal system of FIG. 1, specifically, the power is turned off and a request for operator intervention is generated.

永久障害発生などに対する処理を示すフローチャートで
、ω〜(イ)は各ステップであシ、第4図は第1図の端
末システムにおける印字装置からの印字可能通知で、具
体的には印字正常終了、電源オン。
This is a flowchart showing the processing in response to the occurrence of a permanent failure, etc., where ω~(A) indicates each step, and Figure 4 is a notification that printing is possible from the printing device in the terminal system in Figure 1, specifically, when printing has completed normally. , power on.

操作員介入要求解除などに対する処理を示すフローチャ
ートで、01〜りは各ステップである。
This is a flowchart showing a process for canceling an operator intervention request, etc., and 01 to 1 are each step.

以下、第2図〜第4図について第1図の端末システムに
おける端末制御装置の動作な説明する。
The operation of the terminal control device in the terminal system of FIG. 1 will be explained below with reference to FIGS. 2 to 4.

端末装置からの印字要求がデータ入出力機構(8)よシ
印学制御機#1(91に伝えられる(ステップclJ’
lと。
A print request from the terminal device is transmitted from the data input/output mechanism (8) to the print controller #1 (91) (step clJ'
l and.

印字制御機構(9)は印字装置状態テーブルa〔を逐次
参照して使用可能な印字装置を検索しくステップc!l
l−勾)、使用可能な印字装置があれば印字装置状態チ
ーブルミ1中の対応する印字装置状態を印字不可状態と
して(ステップC!5)データ入出力機構(8)により
印字の指示を行う(ステップ(1))。使用可能な印字
装置がなければ印字要求を拒否すB(ステップ(5))
The printing control mechanism (9) sequentially refers to the printing device status table a to search for an available printing device (step c!). l
If there is a usable printing device, the corresponding printing device status in the printing device status table lumi 1 is set to a non-printing state (step C!5), and the data input/output mechanism (8) instructs printing ( Step (1)). If there is no usable printing device, reject the printing request B (step (5))
.

端末装置からの印字装置障害発生がデータ入出力機構1
8)よシ印学制御機構(9)に伝えられる(ステップo
O)と、印字制御機構+81は口字装置状態テーブル顛
中の対応する印字装置状態を印字不可状態としくステッ
プ011 ) 、端末装置からの印字可能通知がデータ
入出力機構(8)よシ印字制御機構(9)に伝えられる
(ステップ(4G)と、印字制御機構(9)は印字装置
状態チーブルミQ中の対応する印字装置状態を印字可能
状態とする(ステップ(411)。
Printing device failure from terminal device occurs in data input/output mechanism 1
8) Information is sent to the print control mechanism (9) (step o
O), the print control mechanism +81 sets the corresponding printer status in the printer status table to a print-disabled state (step 011), and the print-enabled notification from the terminal device is sent to the data input/output mechanism (8) for printing. When this information is transmitted to the control mechanism (9) (step (4G)), the printing control mechanism (9) sets the corresponding printing device status in the printing device status chart Q to a printable state (step (411)).

なお、上記実施例では印字装置の全ては印字要求の可能
な端末装置に接続されているが、印字装置を通信線によ
シ直接端末制御装置に接続して印字専用端末を端末シス
テム中に設けてもよい。
In the above embodiment, all of the printing devices are connected to a terminal device that can make printing requests, but it is also possible to connect the printing device directly to the terminal control device via a communication line and provide a printing-only terminal in the terminal system. You can.

また、上記実施例では端末制御装置にはただ一つの印字
装置状態テーブルしか存在しないが、印字装置が多数存
在する時は複数の印字装置状態テーブルで印字装置状態
を管理し、印字要求に対して印字装置状態テーブルを選
択することによシ使用可能な印字装置を検索する範囲を
限定するようにしてもよい。
In addition, in the above embodiment, only one printing device status table exists in the terminal control device, but when there are many printing devices, the printing device status is managed using multiple printing device status tables, and printing requests are handled in response to printing requests. The search range for usable printing devices may be limited by selecting a printing device status table.

また、上記実施例では印字要求の全てに対して印字装置
状態テーブルを検索し印字装置を決定したが、端末装置
からの要求の必要に応じ選択的に端末よシ指定されたあ
る特定の印字装置にのみ印字を指示するようにしてもよ
い。
Further, in the above embodiment, the printing device status table is searched to determine the printing device for all printing requests. It may also be possible to instruct printing only to.

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

以上のように、この発明によれば各端末装置の印字要求
に対して使用可能な印字装置を端末制御装置の制御子る
全ての印字装置の中から検索して印字を指示するので、
印字機能を有する泡末装置と印字機能を有しない端末装
置を含む端末システムにおいては、各端末装置がちの印
字要求に対して均等な印字制御を行う。
As described above, according to the present invention, in response to a printing request from each terminal device, a usable printing device is searched among all the printing devices controlled by the terminal control device and printing is instructed.
In a terminal system including a foam terminal device with a printing function and a terminal device without a printing function, uniform printing control is performed for printing requests unique to each terminal device.

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

第1図はこの発明の一実施例を示すブロック図。 第2図〜第4図は第1図の装置の動作を示すフローチャ
ート、第5図は従来の装置を示すブロック図である。 (1)は端末制御装置、(2)〜(4! Fi端末装置
、 +51. +61は印字装置、(71は通信線、(
8)はデータ入出力機構。 (9)は印字制御機構、 01は印字装置状態テーブル
。 尚、各図中同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. 2 to 4 are flowcharts showing the operation of the device shown in FIG. 1, and FIG. 5 is a block diagram showing the conventional device. (1) is a terminal control device, (2) to (4! Fi terminal device, +51. +61 is a printing device, (71 is a communication line, (
8) is a data input/output mechanism. (9) is a printing control mechanism, and 01 is a printing device status table. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 印字装置が接続され印字機能を有する端末装置と印字機
能を有しない端末装置とに通信線によつて接続され、複
数の端末装置と複数の印字装置を制御する端末制御装置
において、端末装置からの印字要求と印字データを受信
し上位プログラムに伝え、上位プログラムからの指令に
基づきある特定の印字装置に印字を行うデータ入出力機
構と、前記データ入出力機構より受けた印字要求に対し
当該端末制御装置が制御する複数の印字装置の中から使
用可能なものを検索し印字指令を発する印字制御機構と
、前記印字制御機構が印字装置を検索するために必要な
情報を保持する印字装置状態テーブルを備えたことを特
徴とする端末制御装置。
In a terminal control device that is connected to a printing device and has a printing function and a terminal device that does not have a printing function through a communication line, and controls multiple terminal devices and multiple printing devices, A data input/output mechanism that receives print requests and print data, transmits them to a higher-level program, and prints to a specific printing device based on instructions from the higher-level program, and controls the terminal in response to print requests received from the data input/output mechanism. A printing control mechanism that searches for a usable printing device among a plurality of printing devices controlled by the apparatus and issues a printing command, and a printing device status table that holds information necessary for the printing control mechanism to search for a printing device. A terminal control device comprising:
JP61218985A 1986-09-17 1986-09-17 Terminal controller Pending JPS6373417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61218985A JPS6373417A (en) 1986-09-17 1986-09-17 Terminal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61218985A JPS6373417A (en) 1986-09-17 1986-09-17 Terminal controller

Publications (1)

Publication Number Publication Date
JPS6373417A true JPS6373417A (en) 1988-04-04

Family

ID=16728459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61218985A Pending JPS6373417A (en) 1986-09-17 1986-09-17 Terminal controller

Country Status (1)

Country Link
JP (1) JPS6373417A (en)

Similar Documents

Publication Publication Date Title
JPS62113269A (en) On-line system
JPS6373417A (en) Terminal controller
JPH05181628A (en) Print data receiving method and printer device using said receiving method
JPH07182261A (en) Information processor
JPH0216626A (en) Printer output control system
JPH03166603A (en) Programmable controller
JPS61195446A (en) Terminal control device
JPS59189466A (en) Terminal change-over system
JPH0438501A (en) Set value input method using telephone line
JPH03111930A (en) Automatic printer selection system
JPH04125177A (en) Printer setting apparatus
JPH05210613A (en) Peripheral equipment connecting system
JPS617923A (en) Printing system in terminal system
JPH02295782A (en) Printer
JPH01180037A (en) Printer device
JPH09231024A (en) Printer interface controller
JPH01177658A (en) Session control system for on-line subsystem
JPS63238741A (en) Hierarchy processing system for transmitting control procedure
JPH10207648A (en) Network system
JPH06259289A (en) Character pattern cancel control system
JPS6362471A (en) Space transmission control method
JPH0454603A (en) Programmable controller
JPH04239313A (en) Printer output device
JPH0876948A (en) Output circuit for print-out data
JPS62163159A (en) Control system for peripheral equipment