JPH05313841A - Print job control system - Google Patents

Print job control system

Info

Publication number
JPH05313841A
JPH05313841A JP4121739A JP12173992A JPH05313841A JP H05313841 A JPH05313841 A JP H05313841A JP 4121739 A JP4121739 A JP 4121739A JP 12173992 A JP12173992 A JP 12173992A JP H05313841 A JPH05313841 A JP H05313841A
Authority
JP
Japan
Prior art keywords
printer
job
output
normal
queue
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
JP4121739A
Other languages
Japanese (ja)
Inventor
Yumi Kurita
由美 栗田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4121739A priority Critical patent/JPH05313841A/en
Publication of JPH05313841A publication Critical patent/JPH05313841A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a printer to be replaced by another printer when the printer is kept in a stop state of the printing function to perform the print job which is originally to executed by the printer. CONSTITUTION:Both normal and abnormal output printers are defined by each entry of a printer definition table 22. Then, the entry numbers of the table 22 which defines the corresponding printers as the normal and abnormal output printers respectively are registered in the physical queues 21-1 to 21-n to which just a single print job is connected against the printers 4-1 to 4-n. A host CPU 1 performs the job retrieving processing to retrieve the print jobs out of a job queue 23 in the order of application to designate an idle printer for an output purpose based on the entry number designated by the subject job, the normal and abnormal output printer defining entry numbers shown by the corresponding physical queue, and a printer working state list 24. Thus, the CPU 1 connects the subject job to the relevant physical queue.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複数のプリンタが接
続された計算機システムにおけるプリント業務制御方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print job control system in a computer system to which a plurality of printers are connected.

【0002】[0002]

【従来の技術】複数プリンタがLAN回線等に接続され
た計算機システムにおいて、従来は、各プリンタを利用
してプリント出力を行うためのプリント業務を管理制御
するのに、次のような方式が適用されていた。
2. Description of the Related Art In a computer system in which a plurality of printers are connected to a LAN line or the like, conventionally, the following method has been applied to control and control a print job for performing print output using each printer. It had been.

【0003】即ち従来は、各プリンタと1対1に対応し
て物理キューを設け、そのキューに、対応するプリンタ
でのプリント出力対象となるプリント業務要求をつな
ぎ、そのキューにつながれた要求の順に、要求されたプ
リント業務を対応するプリンタで実行するようにしてい
た。
That is, conventionally, a physical queue is provided in a one-to-one correspondence with each printer, a print job request to be printed out by the corresponding printer is connected to the queue, and the requests connected to the queue are arranged in order. , The requested print job was executed by the corresponding printer.

【0004】この従来のプリント業務制御方式では、プ
リンタ業務要求は、要求先のプリンタ(あるいはその要
求元から自動的に決定されるプリンタ)に対応する物理
キューに、そのプリンタの状況(プリント機能の稼動/
停止状態)に無関係につながれる。このため、プリント
機能が停止している場合には、対応する物理キューにつ
ながれたプリント業務は実行されないことになる。この
ような場合、オペレータは、プリント機能停止状態を確
認した上で、プリント機能の回復操作、またはプリント
業務を他のプリンタの物理キューつなぎかえるという操
作が必要であった。
In this conventional print job control method, a printer job request is sent to the physical queue corresponding to the requested printer (or the printer automatically determined by the requester), and the status of that printer (print function Operation /
It is connected regardless of (stopped state). Therefore, when the print function is stopped, the print job linked to the corresponding physical queue is not executed. In such a case, the operator needs to confirm the print function stop state and then perform the print function recovery operation or the operation of switching the print job to the physical queue of another printer.

【0005】[0005]

【発明が解決しようとする課題】上記したように従来
は、プリンタ業務要求は、対象となるプリンタの状況
(プリント機能の稼動/停止状態)に無関係に、そのプ
リンタに対応する物理キューにつながれており、プリン
ト機能が停止していると、その物理キューにつながれた
プリント業務は実行されないという問題があった。ま
た、このプリント業務を実行させるためには、対応する
プリンタのプリント機能停止状態をオペレータが確認
し、プリント機能の回復操作、またはこのプリント業務
を他のプリンタの物理キューつなぎかえるという操作を
行わなければならなかった。
As described above, conventionally, a printer job request is connected to a physical queue corresponding to a target printer, regardless of the status of the target printer (print function operating / stopping state). However, if the print function is stopped, there is a problem that the print job connected to the physical queue cannot be executed. In order to execute this print job, the operator must confirm the print function stop status of the corresponding printer, and then perform the recovery operation of the print function or the operation of connecting this print job to the physical queue of another printer. I had to do it.

【0006】この発明は上記事情に鑑みてなされたもの
でその目的は、プリント機能停止状態にあるプリンタが
存在する場合に、そのプリンタで本来実行すべきプリン
ト業務を他のプリンタで自動的に代替できるプリント業
務制御方式を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to automatically substitute a print job, which should be originally executed by that printer, by another printer when there is a printer in a print function stop state. It is to provide a print job control method that can be performed.

【0007】[0007]

【課題を解決するための手段】この発明は、複数のプリ
ンタが接続された計算機システムにおいて、投入(出力
依頼)されるプリント業務により、その業務の通常時の
プリント出力に使用する通常出力プリンタ、およびこの
通常出力プリンタが使用不可の場合に代替使用する異常
時出力プリンタを指定しておき、上記複数のプリンタの
中に使用可能な空きプリンタが存在する場合には、その
プリンタを通常出力プリンタまたは異常時出力プリンタ
として指定する未実行のプリント業務を投入順に探し、
対象業務がそのプリンタを通常出力プリンタとして指定
しているか、異常時出力プリンタとして指定していて
も、同業務の指定する通常出力プリンタが使用不可なら
ば、同業務をそのプリンタで実行させるようにしたこと
を特徴とするものである。
According to the present invention, in a computer system to which a plurality of printers are connected, a normal output printer to be used for normal print output of a print job input (output request), When this abnormal output printer is unavailable, the abnormal output printer to be used as a substitute is specified, and if there is an available empty printer among the above multiple printers, that printer is set as the normal output printer or Search for the unexecuted print jobs to be specified as the output printer in case of an error
Even if the target job specifies the printer as a normal output printer, or if it is specified as an abnormal output printer, if the normal output printer specified by the same job is unavailable, the same job is executed on that printer. It is characterized by having done.

【0008】[0008]

【作用】上記の構成においては、通常時のプリント出力
に使用される通常出力プリンタ、およびこの通常出力プ
リンタが使用不可の場合に代替使用される異常時出力プ
リンタがプリンタ定義テーブルの各エントリで定義され
ると共に、上記複数のプリンタのそれぞれに1対1に対
応して設けられ、対応プリンタが使用可能状態にある場
合に、同プリンタによるプリント出力に供されるプリン
ト業務を1つだけつなぐことが可能な物理キューに、対
応プリンタをそれぞれ通常出力プリンタ,異常時出力プ
リンタとして定義するプリンタ定義テーブル内各エント
リの指定情報が登録される。また、投入されるプリント
業務により、その業務の通常時のプリント出力に使用す
る通常出力プリンタ、およびこの通常出力プリンタが使
用不可の場合に代替使用する異常時出力プリンタを定義
しているプリンタ定義テーブル内エントリが指定され
る。
In the above configuration, the normal output printer used for normal print output and the abnormal output printer used as an alternative when this normal output printer is unavailable are defined in each entry of the printer definition table. In addition, when a plurality of printers are provided in a one-to-one correspondence with each other and the corresponding printers are in a usable state, it is possible to connect only one print job for print output by the printers. In the available physical queue, the designation information of each entry in the printer definition table that defines the corresponding printer as a normal output printer and an abnormal output printer is registered. A printer definition table that defines the normal output printer to be used for normal print output of the input print job and the abnormal output printer to be used as a substitute when this normal output printer is unavailable. The inner entry is specified.

【0009】ここで、ある物理キューにつながれている
プリント業務が終了した場合には、プリント業務の待ち
行列である業務キューの中から、その物理キューの対応
プリンタを出力用に指定しているプリント業務を投入順
に探す業務検索処理が行われる。
Here, when the print job connected to a certain physical queue is completed, the print in which the corresponding printer of the physical queue is designated for output from the job queue which is the queue of the print job. Job search processing is performed in which jobs are searched in the order of submission.

【0010】この業務検索処理では、プリント業務をつ
なぐことが可能となった物理キューによって示される通
常出力プリンタ定義エントリのいずれか1つと対象業務
の指定エントリとが一致するか否かがチェックされ、一
致する場合には、その物理キューに同業務がつながれ
て、対応プリンタによるプリント出力に供される。これ
に対して不一致の場合には、今度は、その物理キューに
よって示される異常時出力プリンタ定義エントリのいず
れか1つと対象業務の指定エントリとが一致するか否か
がチェックされ、一致し、且つ同業務の指定エントリ
(プリンタ定義テーブル内エントリ)中で定義されてい
る通常出力プリンタが使用不可ならば、この通常出力プ
リンタの代わりに、その物理キューの対応プリンタを使
用できるものとして、その物理キューに同業務がつなが
れて、対応プリンタによるプリント出力に供される。
In this job search processing, it is checked whether or not any one of the normal output printer definition entries indicated by the physical queue capable of connecting print jobs and the designated entry of the target job match. If they match, the same job is connected to the physical queue and is used for print output by the corresponding printer. On the other hand, if they do not match, then it is checked whether or not any one of the abnormal-time output printer definition entries indicated by the physical queue and the designated entry of the target job match, and they match, and If the normal output printer defined in the specified entry (entry in the printer definition table) of the same job is not available, it is assumed that the corresponding printer of the physical queue can be used instead of this normal output printer. The same work is connected to and provided for print output by a compatible printer.

【0011】また、新たにプリント業務が投入された場
合には、同業務で指定されているプリンタ定義テーブル
内エントリで定義されている通常出力プリンタおよび異
常時出力プリンタの中から、通常出力プリンタ優先で空
きのプリンタを探し、空きプリンタがあれば、そのプリ
ンタに対応する物理キューに同業務をつなぎ、空きプリ
ンタがなければ、同業務を業務キューにつなぐ新規投入
業務の制御処理が行われる。
Further, when a new print job is input, the normal output printer is prioritized from the normal output printer and the abnormal output printer defined by the entry in the printer definition table designated by the job. Then, a free printer is searched for, and if there is a free printer, the same job is connected to the physical queue corresponding to the printer.

【0012】[0012]

【実施例】図1はこの発明のプリント業務制御方式を適
用する計算機システムの一実施例を示すブロック構成図
である。
1 is a block diagram showing an embodiment of a computer system to which the print job control system of the present invention is applied.

【0013】図1において、1はシステム全体を管理制
御するホストCPU、2はホストCPU1の主記憶装置
である。3-1〜3-mはパーソナルコンピュータ、ワーク
ステーション等の端末装置(T)、4-1〜4-nは端末装
置3-1〜3-mから利用可能なプリンタ(PRT)であ
る。ホストCPU1、端末装置3-1〜3-mおよびプリン
タ4-1〜4-n等は、例えばLAN回線5により相互接続
されている。
In FIG. 1, 1 is a host CPU that manages and controls the entire system, and 2 is a main memory of the host CPU 1. 3-1 to 3-m are terminal devices (T) such as personal computers and workstations, and 4-1 to 4-n are printers (PRT) usable from the terminal devices 3-1 to 3-m. The host CPU 1, the terminal devices 3-1 to 3-m, the printers 4-1 to 4-n, etc. are interconnected by a LAN line 5, for example.

【0014】ホストCPU1はプリンタ4-1〜4-nを用
いたプリント業務の制御のためのプリンタサーバとして
の機能を有している。そこでホストCPU1の主記憶装
置2には、以下に述べるようにプリント業務制御に必要
な各種管理情報ブロックが置かれる。
The host CPU 1 has a function as a printer server for controlling print jobs using the printers 4-1 to 4-n. Therefore, in the main storage device 2 of the host CPU 1, various management information blocks required for print job control are placed as described below.

【0015】まず主記憶装置2には、プリンタ4-1〜4
-nにそれぞれ1対1に対応する物理キュー21-1〜21
-nが置かれている。この物理キュー21-1〜21-nは、
それぞれ#1〜#nで表わされる固有の名称(物理キュ
ー名)を持っている。本実施例において、各物理キュー
21-1〜21-nには、プリント業務(プリント業務要
求)を1つしかつなぐことはできない。
First, in the main storage device 2, printers 4-1 to 4-4 are provided.
physical queues 21-1 to 21 corresponding to -n one to one
-n is placed. These physical queues 21-1 to 21-n are
Each has a unique name (physical queue name) represented by # 1 to #n. In this embodiment, only one print job (print job request) can be connected to each physical queue 21-1 to 21-n.

【0016】物理キュー21-1〜21-nには、対応する
プリンタ4-1〜4-nを通常出力プリンタとして定義して
いる後述するプリンタ定義テーブル22内エントリ(1
つとは限らない)のエントリ番号(プリンタ定義テーブ
ルエントリ番号)と、対応するプリンタ4-1〜4-nを異
常時出力プリンタとして定義しているプリンタ定義テー
ブル22内エントリ(1つとは限らない)のエントリ番
号とが設定される。ここで通常出力プリンタとは、通常
状態において使用されるプリンタであり、異常時出力プ
リンタとは、通常出力プリンタが使用不可状態にある場
合に、そのプリンタに代えて使用されるプリンタであ
る。
In the physical queues 21-1 to 21-n, the corresponding printers 4-1 to 4-n are defined as normal output printers.
Entry number (not limited to one) (printer definition table entry number) and an entry in the printer definition table 22 that defines the corresponding printers 4-1 to 4-n as abnormal-time output printers (not necessarily one) And the entry number of are set. Here, the normal output printer is a printer used in the normal state, and the abnormal output printer is a printer used in place of the normal output printer when the normal output printer is in the unusable state.

【0017】また主記憶装置2には、プリンタ定義テー
ブル22が置かれている。プリンタ定義テーブル22の
各エントリは、図1のシステム(内のプリンタ4-1〜4
-m)のユーザの予め定められた各グループ(例えば、図
1のシステムを利用する会社組織の課とか部といったグ
ループ)G1 ,G2 …に対応しており、そのグループG
1 ,G2 …のユーザが要求するプリント業務のために使
用可能な通常出力プリンタおよび異常時出力プリンタ
(いずれも1つとは限らない)を定義するのに用いられ
る。本実施例において、プリンタ定義テーブル22の各
エントリには、対応するグループを単位に通常出力プリ
ンタとして使用可能なプリンタに固有の物理キューを示
す情報(物理キュー名)と、異常時出力プリンタとして
使用可能なプリンタに固有の物理キューを示す情報(物
理キュー名)とが登録される。
A printer definition table 22 is stored in the main storage device 2. Each entry of the printer definition table 22 corresponds to the system (printers 4-1 to 4-4 in FIG. 1).
-m) corresponding to each predetermined group of users (for example, a group such as a section or department of a company organization that uses the system of FIG. 1) G1, G2 ...
It is used to define a normal output printer and an abnormal output printer (both of which are not limited to one) that can be used for the print job requested by the user of 1, G2 ... In this embodiment, in each entry of the printer definition table 22, information (physical queue name) indicating a physical queue unique to a printer that can be used as a normal output printer in units of corresponding groups, and used as an abnormal output printer Information (physical queue name) indicating a physical queue unique to a possible printer is registered.

【0018】また主記憶装置2には、投入(出力依頼)
されたプリント業務(プリント業務要求)が投入順(出
力依頼順)につながれる業務キュー23が置かれてい
る。業務キュー23につながれているプリント業務(プ
リント業務要求)は待ち状態にあることを示しており、
そこには、その業務を識別するためのプリント業務識別
情報と、対応業務に使用する通常出力プリンタおよび異
常時出力プリンタ(の各物理キュー)を定義したプリン
タ定義テーブル22内エントリのエントリ番号が設定さ
れている。
Further, the main memory 2 is input (output request).
A job queue 23 is placed in which the selected print jobs (print job requests) are linked in the input order (output request order). The print job (print job request) connected to the job queue 23 is in a waiting state.
The print job identification information for identifying the job, and the entry number of the entry in the printer definition table 22 that defines the normal output printer and the abnormal output printer (each physical queue) used for the corresponding job are set therein. Has been done.

【0019】また主記憶装置2には、プリンタ4-1〜4
-nの稼動状況をそのプリンタ4-1〜4-nの物理キュー2
1-1〜21-nに対応させて示すプリンタ稼動状況リスト
24が置かれる。ここで、プリンタ4-1〜4-nの稼動状
況は、稼動中であることを示す“RUN”と、使用可能
状態にあることを示す“EMPTY”と、停止状態にあ
ることを示す“STOP”の3つの情報を用いて表わさ
れる。
Further, the main memory 2 includes printers 4-1 to 4-4.
-n operation status to the physical queue 2 of the printer 4-1 to 4-n
A printer operating status list 24 corresponding to 1-1 to 21-n is placed. Here, the operating statuses of the printers 4-1 to 4-n are "RUN" indicating that they are in operation, "EMPTY" indicating that they are available, and "STOP" indicating that they are in a stopped state. It is represented by using three pieces of information.

【0020】次に、図1の構成におけるプリント業務制
御について説明する。まず、システム管理者は、例えば
ホストCPU1の図示せぬ入力装置を使用して、物理キ
ュー21-1〜21-nおよびプリンタ定義テーブル22の
設定情報を予め登録しておく。この設定情報は、プリン
タ定義テーブル22であれば、通常出力用,異常時出力
用として各グループを単位にそれぞれ使用可能なプリン
タ(複数でも可)に対応する物理キューの名称(物理キ
ュー名)である。また、物理キュー21-1〜21-nであ
れば、対応するプリンタ4-1〜4-nをそれぞれ通常出力
用,異常時出力用として定義しているプリンタ定義テー
ブル22内エントリの番号(エントリ番号)である。
Next, the print job control in the configuration of FIG. 1 will be described. First, the system administrator registers the setting information of the physical queues 21-1 to 21-n and the printer definition table 22 in advance by using an input device (not shown) of the host CPU 1, for example. In the printer definition table 22, this setting information is the name (physical queue name) of the physical queue corresponding to the printer (or plural printers) that can be used in units of each group for normal output and abnormal output. is there. For the physical queues 21-1 to 21-n, the corresponding printers 4-1 to 4-n are defined for normal output and abnormal output, respectively. Number).

【0021】さて、プリント業務が投入されていない初
期状態では、プリンタ稼動状況リスト24に設定されて
いる各プリンタ4-1〜4-nの稼動状況(具体的には、各
プリンタ4-1〜4-nに固有の物理キュー21-1〜21-n
の物理キュー名#1〜#nに対応して設定されているプ
リンタ稼動状況)は、“STOP”または“EMPT
Y”である。
By the way, in the initial state where the print job is not input, the operating status of each of the printers 4-1 to 4-n set in the printer operating status list 24 (specifically, each of the printers 4-1 to 4-1. Physical queues 21-1 to 21-n unique to 4-n
The printer operating statuses set in correspondence with the physical queue names # 1 to #n of are “STOP” or “EMPT
Y ".

【0022】このような状態で、端末装置3-1〜3-mを
通してプリント業務(プリント業務要求)が投入される
と、ホストCPU1は、以下に述べるように、その業務
の実行が可能なプリンタを探して、その業務を対応する
物理キューにつなぐ。
When a print job (print job request) is input through the terminal devices 3-1 to 3-m in such a state, the host CPU 1 causes the printer capable of executing the job, as described below. Find and connect the business to the corresponding physical queue.

【0023】即ちホストCPU1は、その業務で指定さ
れているエントリ番号(プリンタ定義テーブルエントリ
番号)の示すプリンタ定義テーブル22内エントリに登
録されている、通常出力プリンタに対応した物理キュー
名および異常時出力プリンタに対応した物理キュー名
と、その物理キュー名に対応したプリンタについてのプ
リンタ稼動状況リスト24の情報をもとに、その業務の
実行のために予め割り当てられているプリンタの中で使
用可能状態(EPMTY)にあるプリンタを探し、その
プリンタに対応した物理キューに上記投入された業務を
つなぐ。この場合、目的プリンタは通常出力プリンタ優
先で探し求められ、定義された通常出力プリンタと異常
時出力プリンタが共に使用可能な場合には、通常出力プ
リンタに対応した物理キューに、上記投入された業務が
つながれる。この業務が異常時出力プリンタに対応した
物理キューにつながれるのは、異常時出力プリンタだけ
が使用可能な場合である。
That is, the host CPU 1 registers the physical queue name corresponding to the normal output printer, which is registered in the entry in the printer definition table 22 indicated by the entry number (printer definition table entry number) designated by the job, and when an error occurs. Based on the physical queue name corresponding to the output printer and the printer operation status list 24 information for the printer corresponding to the physical queue name, it can be used among the printers that are pre-assigned to execute the job. The printer in the state (EPMTY) is searched for, and the input job is connected to the physical queue corresponding to the printer. In this case, the target printer is searched for with priority given to the normal output printer, and if both the defined normal output printer and the abnormal output printer can be used, the jobs submitted above are placed in the physical queue corresponding to the normal output printer. Connected. This work is linked to the physical queue corresponding to the abnormal output printer when only the abnormal output printer can be used.

【0024】さて、投入された業務が上記のように物理
キューにつながれると、同業務がその物理キューに対応
したプリンタを用いて実行される。例えば、投入された
業務が物理キュー21-1につながれたなら、同業務がプ
リンタ4-1を用いて実行される。この場合、プリンタ稼
動状況リスト24中のプリンタ4-1(#1)についての
稼動状況は、“EMPTY”から“RUN”に更新され
る。
When the input work is connected to the physical queue as described above, the work is executed by using the printer corresponding to the physical queue. For example, if the input job is connected to the physical queue 21-1, the same job is executed using the printer 4-1. In this case, the operating status of the printer 4-1 (# 1) in the printer operating status list 24 is updated from "EMPTY" to "RUN".

【0025】これに対し、投入された業務の実行のため
に予め割り当てられているプリンタが全て“RUN”ま
たは“STOP”状態にある場合には、ホストCPU1
は、その業務を業務キュー23につなぐ。
On the other hand, when all the printers assigned in advance to execute the input work are in the "RUN" or "STOP" state, the host CPU 1
Connects the business to the business queue 23.

【0026】次に、プリント業務が終了した場合の動作
を、その業務が物理キュー21-1につながれている場合
を例に、図2のフローチャートを適宜参照して説明す
る。ホストCPU1は、物理キュー21-1につながれて
いるプリント業務が終了すると、まず業務キュー23中
に(未チェックの)プリント業務が存在するか否かをチ
ェックする(ステップS1)。この業務キュー23に
は、プリント業務が投入された時刻順につながれるの
で、ステップS1のチェックは、古い(先につながれ
た)業務から優先的に行われる。
Next, the operation when the print job is finished will be described with reference to the flow chart of FIG. 2 as an example, when the job is connected to the physical queue 21-1. When the print job connected to the physical queue 21-1 is completed, the host CPU 1 first checks whether or not there is an (unchecked) print job in the job queue 23 (step S1). Since the print jobs are connected to the work queue 23 in the order in which the print jobs are input, the check in step S1 is performed in order of priority from the oldest (first connected) work.

【0027】もし、業務がないか、業務キュー23中の
全ての業務についてのチェックが終了しているならば、
ホストCPU1は、もはや物理キュー21-1に対応した
プリンタ4-1で実行すべき業務は存在しないものとし
て、プリンタ稼動状況リスト24中のプリンタ4-1(#
1)についての稼動状況を、“RUN”から“EMPT
Y”に更新する(ステップS2)。
If there is no job or all the jobs in the job queue 23 have been checked,
The host CPU 1 assumes that there is no work to be executed by the printer 4-1 corresponding to the physical queue 21-1, and the printer 4-1 (#
The operating status for 1) is changed from "RUN" to "EMPT".
It is updated to Y "(step S2).

【0028】これに対し、業務キュー23中に未チェッ
クの業務が存在するならば、ホストCPU1は、物理キ
ュー21-1に設定されている(各)通常出力プリンタ定
義エントリ番号と、その業務(対象業務)で指定されて
いるエントリ番号(プリンタ定義テーブルエントリ番
号)とを比較する(ステップS3)。
On the other hand, if there is an unchecked job in the job queue 23, the host CPU 1 sets the (each) normal output printer definition entry number set in the physical queue 21-1 and the job ( The entry number (printer definition table entry number) specified in (target job) is compared (step S3).

【0029】もし、エントリ番号の一致が検出されたな
らば、ホストCPU1は、物理キュー21-1に対応した
プリンタ4-1が対象業務の通常出力用として使用できる
ものと判断し、その対象業務を業務キュー23から削除
して、物理キュー21-1につなぐ(ステップS4)。
If a match of the entry numbers is detected, the host CPU 1 determines that the printer 4-1 corresponding to the physical queue 21-1 can be used for normal output of the target job, and the target job Is deleted from the work queue 23 and connected to the physical queue 21-1 (step S4).

【0030】これに対し、エントリ番号の一致が検出さ
れなかったならば、ホストCPU1は、物理キュー21
-1に対応したプリンタ4-1が対象業務の通常出力用とし
て使用できないものと判断し、物理キュー21-1に異常
時出力プリンタ定義エントリ番号が設定されているか否
か、即ち物理キュー21-1に対応したプリンタ4-1が異
常時出力プリンタとしても定義されているか否かをチェ
ックする(ステップS5)。
On the other hand, if no match of the entry numbers is detected, the host CPU 1 determines that the physical queue 21
It is judged that the printer 4-1 corresponding to -1 cannot be used for normal output of the target job, and whether or not the abnormal output printer definition entry number is set in the physical queue 21-1, that is, the physical queue 21- It is checked whether the printer 4-1 corresponding to 1 is also defined as an abnormal output printer (step S5).

【0031】もし、物理キュー21-1に対応したプリン
タ4-1が異常時出力プリンタとして定義されていなけれ
ば、ホストCPU1はステップS1に戻って、業務キュ
ー23中に未チェックの業務が存在するか否かをチェッ
クする。
If the printer 4-1 corresponding to the physical queue 21-1 is not defined as an abnormal output printer, the host CPU 1 returns to step S1 and there is an unchecked job in the job queue 23. Check whether or not.

【0032】これに対し、物理キュー21-1に対応した
プリンタ4-1が異常時出力プリンタとしても定義されて
いるならば、ホストCPU1は、その物理キュー21-1
に設定されている(各)異常時出力プリンタ定義エント
リ番号と対象業務で指定されているエントリ番号(プリ
ンタ定義テーブルエントリ番号)とを比較する(ステッ
プS6)。
On the other hand, if the printer 4-1 corresponding to the physical queue 21-1 is also defined as an abnormal output printer, the host CPU 1 determines that physical queue 21-1.
The output printer definition entry number at the time of abnormality (each) set in (1) and the entry number (printer definition table entry number) designated in the target job are compared (step S6).

【0033】もし、エントリ番号の一致が検出されなか
ったならば、ホストCPU1は、物理キュー21-1に対
応したプリンタ4-1が対象業務の異常時出力用として使
用できないものと判断し、ステップS1に戻って、業務
キュー23中に未チェックの業務が存在するか否かをチ
ェックする。
If no match of the entry numbers is detected, the host CPU 1 judges that the printer 4-1 corresponding to the physical queue 21-1 cannot be used for the abnormal output of the target job, and the step Returning to S1, it is checked whether or not there is an unchecked job in the job queue 23.

【0034】これに対し、エントリ番号の一致が検出さ
れたならば、ホストCPU1は、物理キュー21-1に対
応したプリンタ4-1が対象業務の異常時出力用として使
用できる可能性があるものと判断し、次のステップS7
に進む。ホストCPU1は、このステップS7におい
て、対象業務で指定されているエントリ番号の示すプリ
ンタ定義テーブル22内エントリに登録されている通常
出力プリンタに対応した物理キュー名を求め、その物理
キュー名に対応したプリンタについてのプリンタ稼動状
況リスト24の示す稼動状況をチェックする。即ちホス
トCPU1は、対象業務を実行すべき通常出力プリンタ
を調べ、そのプリンタの稼動状況をチェックする。
On the other hand, if a match of the entry numbers is detected, the host CPU 1 may be able to use the printer 4-1 corresponding to the physical queue 21-1 as the abnormal output of the target job. And the next step S7
Proceed to. In step S7, the host CPU 1 obtains the physical queue name corresponding to the normal output printer registered in the entry in the printer definition table 22 indicated by the entry number specified in the target job, and corresponds to the physical queue name. The operating status shown in the printer operating status list 24 for the printer is checked. That is, the host CPU 1 checks the normal output printer that should execute the target job, and checks the operating status of the printer.

【0035】もし、対象業務を実行すべき通常出力プリ
ンタが(故障または電源OFF等のために)“STO
P”状態にあれば、ホストCPU1はその通常出力プリ
ンタに代えて、上記ステップS6で異常時出力用に使用
可能と判断した(物理キュー21-1に対応した)プリン
タ4-1により対象業務が実行できるものとして、その対
象業務を業務キュー23から削除して、物理キュー21
-1につなぐ(ステップS8)。
If the normal output printer that should execute the target job is "STO" (due to failure or power OFF)
If it is in the P "state, the host CPU 1 uses the printer 4-1 (corresponding to the physical queue 21-1) that is determined to be usable for abnormal output in step S6 instead of the normal output printer to execute the target job. As the executable task, the target task is deleted from the task queue 23, and the physical queue 21 is deleted.
Connect to -1 (step S8).

【0036】このようにホストCPU1は、物理キュー
21-1につながれた業務が終了すると、業務キュー23
につながれている業務で、その物理キュー21-1に新た
につなぐことのできる業務を、即ち物理キュー21-1に
対応したプリンタ4-1で実行可能な業務を、古いものか
ら優先的に検索する。
In this way, the host CPU 1 completes the work queue 23-1 when the work connected to the physical queue 21-1 is completed.
Among the jobs that are connected to the physical queue 21-1, the jobs that can be newly connected to the physical queue 21-1, that is, the jobs that can be executed by the printer 4-1 corresponding to the physical queue 21-1 are searched with priority from the old one. To do.

【0037】以上のプリント業務検索処理は、物理キュ
ー21-1以外の物理キュー、即ち物理キュー21-2〜2
1-nにつながれた業務が終了した場合にも、対象となる
物理キューおよびプリンタが異なるだけで、上記と同様
に行われる。
The above-described print job search processing is performed by the physical queues other than the physical queue 21-1, that is, the physical queues 21-2 to 21-2.
Even when the work connected to 1-n is completed, the same process as above is performed except that the target physical queue and printer are different.

【0038】[0038]

【発明の効果】以上詳述したようにこの発明によれば、
投入されるプリント業務により、通常出力プリンタ、お
よび異常時出力プリンタを指定しておき、システムに接
続されている複数のプリンタの中に使用可能な空きプリ
ンタが存在する場合に、そのプリンタを通常出力プリン
タまたは異常時出力プリンタとして指定する未実行のプ
リント業務を古いものから優先的に探し、対象業務がそ
のプリンタを通常出力プリンタとして指定しているか、
異常時出力プリンタとして指定していても、同業務の指
定する通常出力プリンタが使用不可ならば、同業務をそ
のプリンタで実行させる構成としたので、通常出力プリ
ンタが故障あるいは電源OFF等によりプリント機能停
止状態にあっても、異常時出力プリンタ(として指定さ
れているプリンタ)を探してそのプリンタでプリント業
務を自動的に代替実行することができる。
As described in detail above, according to the present invention,
If a normal output printer and an abnormal output printer are specified according to the print job to be input, and there are available free printers among the multiple printers connected to the system, that printer is normally output. Whether or not the unexecuted print jobs to be designated as a printer or an abnormal output printer are searched first from the oldest, and the target job designates that printer as a normal output printer,
Even if it is designated as an abnormal output printer, if the normal output printer designated by the same job cannot be used, the same job is executed by that printer. Even in the stopped state, it is possible to search for an abnormal output printer (a printer designated as the abnormal output printer) and automatically execute the print job by that printer.

【0039】また、この発明によれば、プリンタ定義テ
ーブルにより通常出力プリンタおよび異常時出力プリン
タ定義する構成とし、1つのテーブル内エントリで、複
数の通常出力プリンタおよび異常時出力プリンタを定義
することにより、プリント業務の実行に使用可能なプリ
ンタの候補を複数として、その候補の中から空きプリン
タを自動的に探してプリント業務を遂行することができ
るようになるので、業務実行効率が向上する。
According to the present invention, the normal output printer and the abnormal output printer are defined by the printer definition table, and a plurality of normal output printers and abnormal output printers are defined by one entry in the table. Since it is possible to set a plurality of printer candidates that can be used to execute the print job and automatically search for an empty printer from the candidates to perform the print job, the job execution efficiency is improved.

【0040】また、この発明によれば、各プリンタに対
応した物理キューにつなげるプリント業務数を1つだけ
に制限し、物理キューにつなげないプリント業務はその
投入順に業務キューにつなぎ、物理キューにつながれて
いる業務が終了すると、次にその物理キューにつなぐこ
とが可能な業務を業務キューの中から投入順に検索する
構成とすることにより、その投入順に業務を処理するこ
とができる。
Further, according to the present invention, the number of print jobs that can be connected to the physical queue corresponding to each printer is limited to one, and the print jobs that cannot be connected to the physical queue are connected to the job queue in the order in which they are submitted, and the print jobs are connected to the physical queue. When the connected jobs are completed, the jobs that can be connected to the physical queue next are retrieved from the job queue in the order of submission, so that the jobs can be processed in the order of submission.

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

【図1】この発明のプリント業務制御方式を適用する計
算機システムの一実施例を示すブロック構成図。
FIG. 1 is a block configuration diagram showing an embodiment of a computer system to which a print job control system of the present invention is applied.

【図2】図1のホストCPU1によるプリント業務検索
処理を説明するためのフローチャート。
FIG. 2 is a flowchart for explaining print job search processing by the host CPU 1 in FIG.

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

1…ホストCPU(検索手段、新規投入業務制御手
段)、2…主記憶装置、3-1〜3-m…端末装置(T)、
4-1〜4-n…プリンタ(PRT)、5…LAN回線、2
1-1〜21-n…物理キュー、22…プリンタ定義テーブ
ル、23…業務キュー、24…プリンタ稼動状況リス
ト。
DESCRIPTION OF SYMBOLS 1 ... Host CPU (search means, new input operation control means), 2 ... Main storage device, 3-1 to 3-m ... Terminal device (T),
4-1 to 4-n ... Printer (PRT), 5 ... LAN line, 2
1-1 to 21-n ... Physical queue, 22 ... Printer definition table, 23 ... Business queue, 24 ... Printer operating status list.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のプリンタが接続された計算機シス
テムにおいて、 投入されるプリント業務により、その業務の通常時のプ
リント出力に使用する通常出力プリンタ、およびこの通
常出力プリンタが使用不可の場合に代替使用する異常時
出力プリンタを指定し、 前記複数のプリンタの中に使用可能な空きプリンタが存
在する場合には、そのプリンタを前記通常出力プリンタ
または異常時出力プリンタとして指定する未実行のプリ
ント業務を投入順に探し、対象業務がそのプリンタを通
常出力プリンタとして指定しているか、異常時出力プリ
ンタとして指定していても、同業務の指定する通常出力
プリンタが使用不可ならば、同業務をそのプリンタで実
行させる、 ようにしたことを特徴とするプリント業務制御方式。
1. In a computer system to which a plurality of printers are connected, a normal output printer used for normal print output of the job depending on the input print job, and a substitute when this normal output printer is unavailable If you specify an abnormal output printer to use, and if there are available free printers among the multiple printers, you can specify the printer as the normal output printer or abnormal output printer If the target job specifies the printer as a normal output printer, or if it is specified as an abnormal output printer, but the normal output printer specified by the same job is unavailable, the job is searched for in that printer. A print job control method characterized by being executed.
【請求項2】 複数のプリンタが接続された計算機シス
テムにおいて、 通常時のプリント出力に使用される通常出力プリンタ、
およびこの通常出力プリンタが使用不可の場合に代替使
用される異常時出力プリンタを定義するための定義情報
が登録される複数のエントリを有するプリンタ定義テー
ブルと、 前記複数のプリンタのそれぞれに1対1に対応して設け
られ、対応するプリンタを、前記通常出力プリンタとし
て定義する前記プリンタ定義テーブル内エントリおよび
前記異常時出力プリンタとして定義する前記プリンタ定
義テーブル内エントリの各指定情報を有し、この対応す
るプリンタが使用可能状態にある場合に、同プリンタに
よるプリント出力に供されるプリント業務を1つだけつ
なぐことが可能な物理キューと、 前記物理キューにつなぐことのできないプリント業務が
投入順につながれる業務キューと、 前記プリント業務により、その業務の通常時のプリント
出力に使用する通常出力プリンタ、およびこの通常出力
プリンタが使用不可の場合に代替使用する異常時出力プ
リンタを定義している前記プリンタ定義テーブル内エン
トリを指定する手段と、 前記物理キューにつながれているプリント業務が終了し
た場合に、その物理キューに対応するプリンタを出力用
に指定しているプリント業務を、前記業務キューの中か
ら投入順に探す検索手段と、 を具備し、前記検索手段は、前記物理キューによって示
される前記通常出力プリンタ定義エントリの1つが対象
業務の指定エントリに一致する場合、あるいは不一致で
も、その物理キューによって示される前記異常時出力プ
リンタ定義エントリの1つが同業務の指定エントリに一
致し、且つ同業務の指定する前記プリンタ定義テーブル
内エントリ中で定義されている通常出力プリンタが使用
不可の場合には、同業務をその物理キューにつないで、
対応するプリンタによる出力を行わせることを特徴とす
るプリンタ業務制御方式。
2. A normal output printer used for normal print output in a computer system to which a plurality of printers are connected,
And a printer definition table having a plurality of entries in which definition information for defining an abnormal output printer to be used as a substitute when the normal output printer is unavailable is registered, and one to one for each of the plurality of printers. Corresponding to each printer, and has corresponding specification information of the printer definition table entry defining the normal output printer as the normal output printer and the printer definition table entry defining the abnormal output printer. When a printer to be used is in a usable state, a physical queue that can connect only one print job to be used for print output by the printer and a print job that cannot be connected to the physical queue are connected in the order of submission. With the job queue and the print job, the normal process of the job Connected to the physical queue, a means for specifying an entry in the printer definition table that defines a normal output printer to be used for printer output, and an abnormal output printer to be used as an alternative when the normal output printer is unavailable. And a search unit that searches for a print job that specifies a printer corresponding to the physical queue for output from the job queue in the order of submission when the print job is completed. If one of the normal output printer definition entries indicated by the physical queue matches the designated entry of the target job, or even if they do not match, one of the abnormal output printer definition entries indicated by the physical queue is the designated entry of the same task. In the printer definition table entry specified by the same job If the normal output printer defined in is unavailable, connect the same job to the physical queue,
A printer business control method characterized by allowing output by a compatible printer.
【請求項3】 前記プリント業務が新たに投入された場
合に、同業務で指定されている前記プリンタ定義テーブ
ル内エントリで定義されている通常出力プリンタおよび
異常時出力プリンタの中から、通常出力プリンタ優先で
空きのプリンタを探し、空きプリンタがあれば、そのプ
リンタに対応する前記物理キューに同業務をつなぎ、空
きプリンタがなければ、同業務を前記業務キューにつな
ぐ新規投入業務制御手段を更に備えたことを特徴とする
請求項2記載のプリント業務制御方式。
3. When the print job is newly input, the normal output printer defined from the entry in the printer definition table designated by the job and the normal output printer are output from the normal output printer. It is further provided with a new input job control means for searching for an empty printer with priority and connecting the same job to the physical queue corresponding to the printer if there is an empty printer, and connecting the same job to the job queue if there is no empty printer. The print job control system according to claim 2, wherein
JP4121739A 1992-05-14 1992-05-14 Print job control system Pending JPH05313841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4121739A JPH05313841A (en) 1992-05-14 1992-05-14 Print job control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4121739A JPH05313841A (en) 1992-05-14 1992-05-14 Print job control system

Publications (1)

Publication Number Publication Date
JPH05313841A true JPH05313841A (en) 1993-11-26

Family

ID=14818688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4121739A Pending JPH05313841A (en) 1992-05-14 1992-05-14 Print job control system

Country Status (1)

Country Link
JP (1) JPH05313841A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08202517A (en) * 1995-01-27 1996-08-09 Nec Corp Output destination printer changing device
KR100601658B1 (en) * 2004-01-29 2006-07-14 삼성전자주식회사 Method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08202517A (en) * 1995-01-27 1996-08-09 Nec Corp Output destination printer changing device
KR100601658B1 (en) * 2004-01-29 2006-07-14 삼성전자주식회사 Method and apparatus

Similar Documents

Publication Publication Date Title
US11379272B2 (en) Autoscaling using file access or cache usage for cluster machines
JP4921054B2 (en) Load balancing control system and load balancing control method
JP3088269B2 (en) Computer network system and operating system version management method
US7595907B2 (en) Method and apparatus for providing printer recognition and management of a print job entity
JP2003050685A (en) Network system, print managing device, information processor, and its print managing method
JP2007172334A (en) Method, system and program for securing redundancy of parallel computing system
US20050154829A1 (en) Storage system and storage system management method
JP4813975B2 (en) Method of changing configuration of non-shared database system, management server, and non-shared database system
US20120089804A1 (en) Volume allocating method for virtual computers and computer system using the method
JPH05313841A (en) Print job control system
JPH09282288A (en) Plural-computer operation system
US8677363B2 (en) Method for managing, tracking and distributing job programs for processing to a plurality of execution computers
JP2001306286A (en) Print job management system and method on network
WO2004084095A1 (en) Information retrieving system
JP2016042338A (en) Information processing system, information processing apparatus, control method of information processing apparatus, and program
JP2005107632A (en) Eai server, and program for eai server
JPH1078942A (en) Multiprocessor system
JP3346422B2 (en) Machine resource management system
JPH07114517A (en) Program execution control system of multiprocessor system
JPH0689191A (en) Control system for job step execution system
JPH05265955A (en) Computer system and job executing method
JPH03122715A (en) Printer selector
JP2752894B2 (en) File transfer device
JP3691873B2 (en) File transfer system in compound computer system
US7464233B2 (en) Data input/output method in information processing system, and information processing system