JPH08305511A - Print method and its system - Google Patents
Print method and its systemInfo
- Publication number
- JPH08305511A JPH08305511A JP7106195A JP10619595A JPH08305511A JP H08305511 A JPH08305511 A JP H08305511A JP 7106195 A JP7106195 A JP 7106195A JP 10619595 A JP10619595 A JP 10619595A JP H08305511 A JPH08305511 A JP H08305511A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- computer device
- host
- priority
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 208000033748 Device issues Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、プリンタ装置を複数の
コンピュータ機器で共有する印刷システム及びプリンタ
装置を複数のコンピュータ機器で共有するネットワーク
システムにおける印刷方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system in which a printer device is shared by a plurality of computer devices and a printing method in a network system in which a printer device is shared by a plurality of computer devices.
【0002】[0002]
【従来の技術】複数のコンピュータ機器を接続したネッ
トワーク環境において、これら複数のコンピュータ機器
により共有されるプリンタ装置が接続されるのが一般的
である。このような状況の下では、あるユーザ(コンピ
ュータ機器)が印刷を実行したい時に、そのプリンタ装
置が他のコンピュータ機器により既に使用されている場
合が多々発生する。2. Description of the Related Art In a network environment in which a plurality of computer devices are connected, a printer device shared by the plurality of computer devices is generally connected. Under such a circumstance, when a user (computer device) wants to perform printing, the printer device is often already used by another computer device.
【0003】このような場合、後から印刷を指示したコ
ンピュータ機器のユーザは、そのプリンタ装置によって
既に印刷処理が行なわれている印刷データの出力終了、
また既にスプール(印刷処理を待機)されている印刷デ
ータがあれば、その印刷データの印刷処理が終わるまで
待機しなければならない。例えば、現在プリンタ装置が
コンピュータ機器Aよりの印刷データAを印刷中であ
り、コンピュータ機器Bが印刷データBを、コンピュー
タ機器Cが印刷データCをスプールしている状況を考え
る。この様な場合は、コンピュータ機器Dが印刷データ
Dをプリンタ装置に送信しても、その印刷データDは、
印刷データA,データB,データC印刷が終了してから
でないと、そのプリンタ装置によって印刷されないこと
になる。In such a case, the user of the computer device, who has instructed to print later, finishes outputting the print data that has already been printed by the printer device,
If there is print data that has already been spooled (waiting for print processing), it is necessary to wait until the print processing of the print data is completed. For example, consider a situation where the printer device is currently printing the print data A from the computer device A, the computer device B is spooling the print data B, and the computer device C is spooling the print data C. In such a case, even if the computer device D transmits the print data D to the printer device, the print data D is
Only after the print data A, data B, and data C have been printed, the printer device will not print.
【0004】[0004]
【発明が解決しようとする課題】上述のように従来は、
コンピュータ機器より、印刷データの印刷順、或はスプ
ールの順序を変更することはできなかった。即ち前述の
ように、プリンタ装置が印刷データAを印刷中で、印刷
データB,印刷データCがスプールされているような、
複数のコンピュータ機器(ユーザ)が印刷待ちをしてい
る状況下で、早急に印刷を行いたい場合には、印刷中及
びスプールされている印刷データの全てのユーザ(コン
ピュータ機器)に印刷処理をキャンセルするように依頼
しなければならない。そして、スプールされているもの
含めて全ての印刷処理がキャンセルされたことを確認し
てから、自機のコンピュータ機器よりの印刷処理を行わ
なければならない。As described above, the prior art is as follows.
It was not possible to change the print order of print data or the spool order from a computer device. That is, as described above, the printer device is printing the print data A, and the print data B and the print data C are spooled.
If multiple computer devices (users) are waiting for printing and want to print immediately, cancel the printing process for all users (computer devices) that are printing or spooled print data. I have to ask you to. Then, after confirming that all the print processes including those spooled have been canceled, it is necessary to perform the print process from the own computer device.
【0005】また、印刷データを印刷中、その印刷処理
を途中でキャンセルされたユーザは、既に印刷されてい
る印刷物を調べ、次に印刷処理を再開するページを調
べ、そのページよりの印刷処理を再開するように指定し
なければならない。また、スプールされていた印刷デー
タが消去されたユーザは、再度、初めから印刷データを
プリンタ装置に伝送して印刷処理を行うように指示しな
ければならず、極めて操作性の悪いものとなっていた。Further, while printing the print data, the user who cancels the print processing on the way checks the printed matter that has already been printed, then checks the page for restarting the print processing, and prints from the page. You must specify to restart. In addition, the user whose spooled print data has been erased must again instruct the printer to transmit the print data to the printer device from the beginning to perform print processing, which is extremely inoperable. It was
【0006】本発明は上記従来例に鑑みてなされたもの
で、複数のコンピュータ機器のいずれかで印刷中に、他
のコンピュータ機器より優先的に印刷を行うことができ
る印刷システム及びその方法を提供することを目的とす
る。The present invention has been made in view of the above-mentioned conventional example, and provides a printing system and a method thereof, in which printing can be performed with priority over other computer equipment during printing by any of the plurality of computer equipment. The purpose is to do.
【0007】また本発明の目的は、他のコンピュータ機
器よりの割込み印刷要求により印刷処理を中断している
コンピュータ機器では、その割込み印刷が終了すると自
動的に次のページより印刷を再開できる印刷システム及
びその方法を提供することにある。It is another object of the present invention to provide a printing system in which a computer device interrupting a printing process due to an interrupt printing request from another computer device can automatically resume printing from the next page when the interrupt printing is completed. And to provide a method thereof.
【0008】また本発明の他の目的は、印刷データに優
先順位を設定し、その優先順位に応じて優先度の高い順
にプリンタ装置を使用して印刷することができる印刷シ
ステム及びその方法を提供することにある。Another object of the present invention is to provide a printing system and method in which priorities can be set for print data and printing can be performed using a printer device in descending order of priority according to the priorities. To do.
【0009】[0009]
【課題を解決するための手段】上記目的を達成するため
に本発明の印刷システムは以下のような構成を備える。
即ち、プリンタ装置を複数のコンピュータ機器で共有す
る印刷システムであって、前記コンピュータ機器は、前
記プリンタ装置を使用して印刷中に他のコンピュータ機
器より、前記プリンタ装置を使用する割込み印刷要求を
受信する受信手段と、前記割込み印刷要求に含まれる優
先順位情報と、前記印刷中の印刷データの優先順位とを
比較する比較手段と、前記比較手段による比較の結果、
前記印刷要求に含まれる優先順位の方が高いときは印刷
中の印刷処理を中断して、前記印刷要求を発行したコン
ピュータ機器に印刷を許可する印刷中断手段とを有す
る。In order to achieve the above object, the printing system of the present invention has the following configuration.
That is, in a printing system in which a printer device is shared by a plurality of computer devices, the computer device receives an interrupt print request for using the printer device from another computer device while printing using the printer device. Receiving means, comparing means for comparing the priority information included in the interrupt print request, and the priority of the print data being printed, and the result of the comparison by the comparing means,
When the priority included in the print request is higher, a print interrupting unit that interrupts the print processing during printing and permits the computer device that issued the print request to perform printing is provided.
【0010】上記目的を達成するために本発明の印刷方
法は以下のような工程を備える。即ち、プリンタ装置を
複数のコンピュータ機器で共有するネットワークシステ
ムにおける印刷方法であって、第1のコンピュータ機器
が前記プリンタ装置を使用して印刷中に、第2のコンピ
ュータ機器より第1のコンピュータ機器に前記プリンタ
装置を使用する割込み印刷要求を発行する工程と、前記
割込み印刷要求に含まれる優先順位情報と、前記印刷中
の印刷データの優先順位とを比較する工程と、前記印刷
要求に含まれる優先順位の方が高いとき、前記第1のコ
ンピュータ機器は印刷処理を中断して前記第2のコンピ
ュータ機器に印刷を許可する工程とを有する。In order to achieve the above object, the printing method of the present invention comprises the following steps. That is, a printing method in a network system in which a printer device is shared by a plurality of computer devices, wherein the second computer device changes from the second computer device to the first computer device while the first computer device is printing using the printer device. Issuing an interrupt print request using the printer device, comparing priority information included in the interrupt print request with priority of the print data being printed, and priority included in the print request. When the rank is higher, the first computer device interrupts the printing process and permits the second computer device to print.
【0011】[0011]
【作用】以上の構成において、第1のコンピュータ機器
がプリンタ装置を使用して印刷中に、第2のコンピュー
タ機器より第1のコンピュータ機器に、そのプリンタ装
置を使用する割込み印刷要求を発行すると、その割込み
印刷要求に含まれる優先順位情報と、前記印刷中の印刷
データの優先順位とを比較し、その印刷要求に含まれる
優先順位の方が高いとき、前記第1のコンピュータ機器
は印刷処理を中断して前記第2のコンピュータ機器に印
刷を許可する。In the above configuration, when the first computer device is printing using the printer device and the second computer device issues an interrupt print request for using the printer device to the first computer device, The priority information included in the interrupt print request is compared with the priority of the print data being printed, and when the priority included in the print request is higher, the first computer device performs the print process. The printing is interrupted and the second computer device is allowed to print.
【0012】[0012]
【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings.
【0013】図1は本発明の一実施例のネットワーク・
システムの構成を示すブロック図で、この実施例では、
ネットワーク130に1台のプリンタ装置101と、2
台のホストコンピュータ(ホスト)B,Cが接続されて
いる。FIG. 1 shows a network of an embodiment of the present invention.
In the block diagram showing the configuration of the system, in this embodiment,
One printer device 101 and two printer devices 101
Host computers (hosts) B and C are connected.
【0014】図1において、ホストBは、ホストB全体
の動作を制御する制御部110と、ホストBとネットワ
ーク130との間のデータの送受信を制御するネットワ
ーク接続部111、及び印刷データや各種データを記憶
している記憶装置112を有しており、ホストCもホス
トBと同様に、制御部120、ネットワーク接続部12
1及び記憶装置122を備えている。In FIG. 1, the host B is a control unit 110 that controls the operation of the entire host B, a network connection unit 111 that controls the transmission and reception of data between the host B and the network 130, and print data and various data. Similarly to the host B, the host C has a storage device 112 that stores the control unit 120 and the network connection unit 12.
1 and a storage device 122.
【0015】図2は本発明の一実施例のネットワーク・
システムにおける印刷処理状態の一例を示す図である。FIG. 2 shows a network according to an embodiment of the present invention.
FIG. 6 is a diagram illustrating an example of a print processing state in the system.
【0016】図2において、プリンタ装置101は、ネ
ットワーク130を介してホストBよりの印刷データを
受信して印刷中であり、既に2ページ分の印刷データ2
01の印刷処理が終了していて、3ページ目202の印
刷が行なわれている。この状態で、ホストCが1ページ
の印刷を割込む場合で説明する。In FIG. 2, the printer device 101 is receiving print data from the host B via the network 130 and is printing, and has already printed two pages of print data 2.
The print processing of 01 is completed, and the third page 202 is printed. A case where the host C interrupts printing of one page in this state will be described.
【0017】この場合の処理の概要を説明すると、ホス
トCは、プリンタ装置101がホストBよりの印刷デー
タを受信して印刷処理を実行していることを、ネットワ
ーク130を介して送られてくるプリンタ装置101か
らのデータにより認識する。そこで、ホストCはホスト
Bに対して、割込み要求210を発行して、印刷処理を
割込みたい旨を問合わせる。そこでホストBから許可す
る旨のメッセージ「OK」を受信すると、ホストCはプ
リンタ装置101が3ページ目の印刷を終了するのを待
ってプリンタ装置101に印刷データを送信して印刷を
行う。そして、ホストCからの印刷データによる1ペー
ジの印刷処理が終了すると、ホストCはホストBに対し
て印刷が終了したことを通知する。これによりホストB
は、その中断されていた印刷処理を再開し、4ページ目
より印刷を行う。To explain the outline of the processing in this case, the host C sends via the network 130 that the printer 101 receives the print data from the host B and is executing the print processing. It is recognized by the data from the printer device 101. Therefore, the host C issues an interrupt request 210 to the host B to inquire that it wants to interrupt the printing process. Then, when receiving a message "OK" from the host B, the host C waits for the printer 101 to finish printing the third page, transmits print data to the printer 101, and prints. Then, when the printing process of one page by the print data from the host C is completed, the host C notifies the host B that the printing is completed. This allows host B
Restarts the interrupted printing process and starts printing from the fourth page.
【0018】尚、ホストBから割込み印刷を許可しない
応答「NG」があったときは、ホストCは、割込み印刷
を行うことができない。If there is a response "NG" from the host B that does not permit interrupt printing, the host C cannot perform interrupt printing.
【0019】図3(a)乃至(d)は、本実施例のネッ
トワーク・システムにおいて各ホストの記憶装置に記憶
されているデータ構造を示す図である。尚、この図3に
おいて、「情報データ」として、プリンタの状態、自機
の印刷データの優先順位(プライオリティ)、プリント
を実行中のホスト名、及び印刷を再開する時の印刷開始
ページ等が記憶される。また「送信データ」には他のホ
ストへの送信データが記憶され、割込み要求に対する応
答メッセージ「OK」,「NG」等、割込み印刷要求
「Interrupt」、そのプライオリティ、終了メッセージ
「End」が記憶される。また「受信データ」には他の
ホストよりの受信データがセットされ、データを受信し
た相手先のホスト名、その要求メッセージの内容「Inte
rrupt」等、他のホストよりの応答メッセージ、終了メ
ッセージ等がセットされている。FIGS. 3A to 3D are diagrams showing the data structure stored in the storage device of each host in the network system of this embodiment. Incidentally, in FIG. 3, as “information data”, the printer status, the priority order of the print data of the printer itself, the host name of the print execution host, and the print start page when the print is restarted are stored. To be done. Further, the “transmission data” stores the transmission data to another host, and the response messages “OK” and “NG” to the interrupt request, the interrupt print request “Interrupt”, its priority, and the end message “End” are stored. It Also, the received data from another host is set in the "received data", the host name of the other party who received the data, and the contents of the request message "Inte
rReply "and other response messages from other hosts, termination messages, etc. are set.
【0020】図4〜図6は、本発明の一実施例のネット
ワーク130に接続されているホストの動作を示すフロ
ーチャートであり、以下、これらフローチャートと図3
とを参照して本実施例をより詳しく説明する。なお、こ
の処理を実行する制御プログラムは、ネットワーク13
0に接続されている各ホストの制御部また記憶装置に記
憶されており、その制御部により実行される。4 to 6 are flowcharts showing the operation of the host connected to the network 130 according to the embodiment of the present invention. Hereinafter, these flowcharts and FIG.
This embodiment will be described in more detail with reference to. The control program that executes this processing is the network 13
It is stored in the control unit or storage device of each host connected to 0, and is executed by the control unit.
【0021】まずステップS1で、印刷を行いたいホス
ト(例えばホストC)は、ネットワーク130を介し
て、接続されているプリンタ装置101に問合わせ、現
時点でのプリンタ装置101の状態を調べ、その状態を
記憶装置122にセットする。次にステップS2に進
み、ステップS1で受信して記憶装置122にセットし
た情報を基に、プリンタ装置101が使用中か否かを判
断する。いま例えば図2に示すようにプリンタ装置10
1が印刷中のときはステップS3に進み、現在、印刷し
ている印刷データを出力しているホスト(図2の例では
ホストB)に関する情報を、プリンタ装置101から取
得して記憶装置122に設定する。次にステップS4に
進み、印刷の割込み要求と、その印刷の優先順位(プラ
イオリティ)を設定し、ステップS5で、その割込み要
求とプライオリティを、現在、印刷を行っているホスト
(ここではホストB)に送出する。First, in step S1, the host (for example, host C) that wants to print inquires the connected printer device 101 via the network 130, checks the current state of the printer device 101, and checks the state. Are set in the storage device 122. Next, in step S2, it is determined whether the printer device 101 is in use, based on the information received in step S1 and set in the storage device 122. Now, for example, as shown in FIG.
When 1 is printing, the process proceeds to step S3, and information about the host (host B in the example of FIG. 2) currently outputting the print data currently being printed is acquired from the printer device 101 and stored in the storage device 122. Set. Next, in step S4, the interrupt request for printing and the priority order (priority) for the printing are set, and in step S5, the interrupt request and priority are set for the host that is currently printing (host B here). Send to.
【0022】次にステップS6に進み、送信先のホスト
(ホストB)よりの応答メッセージを受信したかを調
べ、ステップS6,S7で応答メッセージが送られてく
るのを待つ。ステップS7で応答メッセージを受信する
とステップS8に進み、そのメッセージを受信し、ステ
ップS9で、その応答メッセージが「OK」かどうかを
みる。応答メッセージが「OK」であればステップS9
よりステップS10に進む。ステップS10では、プリ
ンタ装置101の状態を調べ、この場合はホストBによ
る印刷処理が中断されてプリンタ装置101を使用可能
になるため、印刷データをプリンタ装置101に送信し
て印刷を行う。こうして印刷が終了すると、印刷終了を
示す終了メッセージ「End」設定して、印刷処理を中
断しているホスト(ここではホストB)に送信する。Next, in step S6, it is checked whether or not a response message from the destination host (host B) is received, and in steps S6 and S7, the response message is awaited. When the response message is received in step S7, the process proceeds to step S8, the message is received, and it is checked in step S9 whether the response message is "OK". If the response message is "OK", step S9
Then, the process proceeds to step S10. In step S10, the state of the printer device 101 is checked. In this case, the printing process by the host B is interrupted and the printer device 101 becomes usable. Therefore, the print data is transmitted to the printer device 101 to perform printing. When printing is completed in this way, an end message "End" indicating the end of printing is set and sent to the host (here, host B) that has interrupted the printing process.
【0023】図3(b)は、前述のホストCにおける処
理に伴う記憶装置122の内容を示している。FIG. 3B shows the contents of the storage device 122 associated with the processing in the host C described above.
【0024】ステップS1で、ホストCがプリンタ装置
101の状態を調べると、プリンタ装置101ではホス
トBからの印刷データを印刷中であるため、そのプリン
タ装置101の状態は「Busy」(動作中)で、そのプリ
ンタ装置101がホストBにより使用されていることが
わかる。そこでホストCは、印刷したい印刷データのプ
ライオリティを“8”にセットし、ホストBに対して割
込み印刷の要求「Interrupt」を送信する。図3(b)
の場合は、この割込み印刷要求に対してホストBより許
可「OK」のメッセージが返送され、ホストBによる印
刷処理が中断された後、ホストCからの印刷データの出
力による印刷処理が終了した後、ホストBに対して終了
メッセージ「End」が出力されている。In step S1, when the host C checks the status of the printer device 101, the printer device 101 is printing the print data from the host B, so the status of the printer device 101 is "Busy" (in operation). It can be seen that the printer device 101 is being used by the host B. Therefore, the host C sets the priority of the print data to be printed to "8" and sends the interrupt print request "Interrupt" to the host B. FIG. 3 (b)
In the case of, the message of permission “OK” is returned from the host B in response to this interrupt print request, the print process by the host B is interrupted, and after the print process by the print data output from the host C is completed. , The end message “End” is output to the host B.
【0025】このように図3(b)に示すようにホスト
Cの記憶装置122には、「情報データ」にプリンタ装
置101の最初の状態「Busy」が、「送信データ」
には、送信した割込み印刷要求「Interrupt」とプライ
オリティの値“8”及び終了メッセージ「End」が記
憶され、「受信データ」としてはホストBより「OK」
を受信したことが記憶される。Thus, as shown in FIG. 3B, in the storage device 122 of the host C, the first state "Busy" of the printer device 101 is added to the "transmission data" in the "information data".
The transmitted interrupt print request “Interrupt”, the priority value “8”, and the end message “End” are stored in the storage area, and the “reception data” is “OK” from the host B.
Is received is stored.
【0026】尚、ステップS9で、印刷中のホストより
「OK」メッセージが送られてこずに、例えば「NG」
(不許可)メッセージが送られてくるとステップS1に
戻り、プリンタ装置101が使用中でなくなるのを待
つ。尚、前述のステップS3〜S5において、一度、割
込み要求を発行し、そのホストより応答メッセージ「N
G」を受信した場合には、同じホストに、再度、同じプ
ライオリティで割込み要求を送信しないようにする。In step S9, the "OK" message is not sent from the host being printed, but "NG", for example.
When the (non-permission) message is sent, the process returns to step S1 and waits until the printer apparatus 101 is no longer in use. In the above steps S3 to S5, an interrupt request is issued once, and the response message "N
When "G" is received, the interrupt request is not sent again to the same host with the same priority.
【0027】この場合を示したのが図3(d)である。FIG. 3D shows this case.
【0028】ホストCがプリンタ装置101の状態を調
べると、現在、プリンタ装置101ではホストBからの
印刷データを印刷中であるため、そのプリンタ装置10
1の状態は「Busy」(動作中)で、そのプリンタ装置1
01が「ホストB」により使用されていることがわか
る。そこでホストCは、印刷したい印刷データのプライ
オリティを“3”にセットし、ホストBに対して割込み
印刷の要求「Interrupt」を発行する。図3(d)の場
合は、この割込み印刷要求のプライオリティが“3”
で、ホストBにより印刷されている印刷データのプライ
オリティ“5”よりも低いため、ホストBより不許可
「NG」のメッセージが返送される。従って、「情報デ
ータ」にはプリンタ装置101が「ホストB」による印
刷処理を行っているために「Busy」であることが記憶さ
れ、「送信データ」にはプライオリティを“3”で割込
み印刷要求「Interrupt」を発行したことが記憶され、
「受信データ」には、ホストBより割込み不許可メッセ
ージ「NG」を受信したことが記憶される。When the host C checks the state of the printer device 101, the printer device 101 is currently printing the print data from the host B, so that printer device 10
The state of 1 is "Busy" (in operation), and the printer device 1
It can be seen that 01 is used by "Host B". Therefore, the host C sets the priority of the print data to be printed to "3" and issues the interrupt printing request "Interrupt" to the host B. In the case of FIG. 3D, the priority of this interrupt print request is "3".
Then, since it is lower than the priority "5" of the print data printed by the host B, the host B returns a disapproval "NG" message. Therefore, "Busy" is stored in the "information data" because the printer apparatus 101 is performing the print processing by the "host B", and the interrupt print request is set in the "transmission data" with a priority of "3". It is remembered that "Interrupt" was issued,
The “reception data” stores that the interrupt non-permission message “NG” is received from the host B.
【0029】またステップS2で、プリンタ装置101
が使用中でない時は図5のステップS12に進む。ステ
ップS12では、これから行う印刷処理に対するプライ
オリティを設定して記憶装置に記憶する。次にステップ
S13に進み、印刷データをプリンタ装置101に送信
して印刷を行う。ステップS14では印刷処理が終了し
たかを調べ、終了すればステップS15より終了処理に
移行するが、印刷処理の終了でない時はステップS16
に進み、ネットワーク130に接続されている他のホス
ト(例えばホストC)より印刷の割込み要求210を受
信したか否かをみる。割込み要求210を受信するとス
テップS17よりステップS18に進み、割込み要求2
10に含まれる情報(メッセージ)の内容を調べる。In step S2, the printer device 101
If is not in use, the process proceeds to step S12 in FIG. In step S12, the priority for the print process to be performed is set and stored in the storage device. Next, in step S13, the print data is transmitted to the printer apparatus 101 to perform printing. In step S14, it is checked whether or not the printing process is completed. If the printing process is completed, the process proceeds to the ending process from step S15. If the printing process is not completed, step S16 is performed.
Then, it is checked whether the print interrupt request 210 is received from another host (for example, the host C) connected to the network 130. When the interrupt request 210 is received, the process proceeds from step S17 to step S18, and the interrupt request 2
The content of the information (message) included in 10 is examined.
【0030】図3(a)は、ホストBが印刷を行ってい
る時にホストBの記憶装置112に記憶されている内容
を説明するための図である。FIG. 3A is a diagram for explaining the contents stored in the storage device 112 of the host B when the host B is performing printing.
【0031】印刷を開始した時点では、「情報データ」
には、プリンタ装置101の状態として「idle」(使用
可)がセットされ、その優先順位は“5”にセットされ
ている。At the time of starting printing, "information data"
Is set to “idle” (usable) as the status of the printer apparatus 101, and its priority is set to “5”.
【0032】再び図5において、メッセージが割込み印
刷要求「Interrupt」であればステップS19よりステ
ップS20に進み、その割込み要求に含まれている印刷
データの優先順位(プライオリティ)と、現在印刷して
いる印刷データのプライオリティ(記憶装置に記憶され
ている)とを比較する。そして、現在印刷中の印刷デー
タのプライオリティの方が高い時はステップS21より
ステップS22に進み、応答メッセージとして[NG」
(割込み要求を受け付けない)をセットし、その割込み
要求を発行したホストに送信する。Referring again to FIG. 5, if the message is the interrupt print request "Interrupt", the process proceeds from step S19 to step S20, and the priority (priority) of the print data included in the interrupt request and the current print. The priority of the print data (stored in the storage device) is compared. When the priority of the print data currently being printed is higher, the process proceeds from step S21 to step S22, and the response message is "NG".
Set (Do not accept interrupt request) and send to the host that issued the interrupt request.
【0033】一方、受信した割込み要求の優先順位の方
が高い時はステップS21よりステップS23(図6)
に進む。On the other hand, when the priority of the received interrupt request is higher, the process proceeds from step S21 to step S23 (FIG. 6).
Proceed to.
【0034】また、ステップS17及びステップS19
で割込み要求でない時はステップS13に戻り、印刷処
理を続行する。Further, step S17 and step S19
If the interrupt request is not made, the process returns to step S13 to continue the printing process.
【0035】割込み要求を発行したホストCに、ホスト
Bから返答メッセージ「NG」が送信されるときの、ホ
ストBの記憶装置112の内容の変化が図3(c)に示
されている。FIG. 3C shows a change in the contents of the storage device 112 of the host B when the reply message "NG" is transmitted from the host B to the host C which has issued the interrupt request.
【0036】ホストBが印刷中にホストCからの印刷割
込み要求を受けると、記憶装置112の記憶内容の「受
信データ」に、ホストCから印刷割込み「Interrupt」
があったことがセットされ、その印刷要求のプライオリ
ティが“3”もセットされる。この場合、ホストBで印
刷されている印刷データのプライオリティは“5”で、
ホストCよりの印刷要求よりも優先順位が低いため、ホ
ストBはその要求を受け付けずに「NG」を返送する。
よって、「送信データ」には「NG」が記憶されてい
る。When the host B receives the print interrupt request from the host C during printing, the print interrupt “Interrupt” from the host C is stored in the “received data” of the storage content of the storage device 112.
Is set, and the priority of the print request is also set to "3". In this case, the priority of the print data printed by the host B is “5”,
Since the priority is lower than the print request from the host C, the host B returns "NG" without accepting the request.
Therefore, “NG” is stored in the “transmission data”.
【0037】一方、受信した割込み印刷要求のプライオ
リティが、現在印刷中の印刷データのプライオリティよ
りも高い時はステップS23(図6)に進み、現在印刷
中のページの印刷が終了した時点で印刷処理を中断す
る。そしてステップS24に進み、次に印刷処理を再開
する時の印刷開始ページを記憶装置に記憶する。次にス
テップS25に進み、応答メッセージとして割込み許可
を示す「OK」を、その割込み要求を発行したホストに
送信する。そしてステップS26〜ステップS27で、
その割込み印刷が終了するのを待つ。On the other hand, when the priority of the received interrupt print request is higher than the priority of the print data currently being printed, the process proceeds to step S23 (FIG. 6), and the printing process is performed when the printing of the page currently being printed is completed. To suspend. Then, the process proceeds to step S24, and the print start page for restarting the print process is stored in the storage device. Next, proceeding to step S25, "OK" indicating interrupt permission is transmitted as a response message to the host that issued the interrupt request. Then, in steps S26 to S27,
Wait for the interrupt printing to finish.
【0038】この状態を図3(a)に示す。図3(a)
において、ホストBが3ページ目を印刷中に、ホストC
からの印刷割り込を受け付けた場合は、「受信データ」
にはホストCより印刷割込み要求「Interrupt」があっ
たことが記憶され、この割込み要求の印刷データのプラ
イオリティが“8”で、現時点でホストBが印刷してい
るデータのプライオリティ“5”よりも高いことがわか
る。そこで、次に印刷を再開する時の印刷開始ページを
“4”にセットし、「送信データ」として、割り込を受
け付けることを示す「OK」がホストCに送信される。
そして、ホストCから「受信データ」としてメッセージ
「End」を受信すると、ホストBは4ページ目よりの
印刷処理を再開する。This state is shown in FIG. FIG. 3 (a)
, While host B is printing the third page, host C
If you receive a print interrupt from
The host C stores that there was a print interrupt request “Interrupt”, and the priority of the print data of this interrupt request is “8”, which is higher than the priority “5” of the data currently printed by the host B. You can see that it is expensive. Therefore, the print start page at the time of restarting printing next is set to "4", and "OK" indicating that the interrupt is accepted is transmitted to the host C as "transmission data".
Then, when the message “End” is received from the host C as the “reception data”, the host B restarts the print processing from the fourth page.
【0039】再び図6に戻り、ステップS26,S27
で待機している時に、他のホストよりのメッセージを受
信するとステップS28に進み、そのメッセージを記憶
装置に記憶して、その内容を調べる。そのメッセージが
印刷処理の終了を示す「End」であればステップS2
9よりステップS30に進み、ステップS24で記憶し
た、印刷処理を再開する時の開始ページ情報を参照し、
その開始ページより印刷処理を再開する。こうして印刷
を再開するとステップS13に進み、前述の処理を行
う。Returning to FIG. 6 again, steps S26 and S27.
If a message from another host is received while waiting for, the process proceeds to step S28, the message is stored in the storage device, and its contents are examined. If the message is "End" indicating the end of the printing process, step S2
The process proceeds from step 9 to step S30, and the start page information for restarting the printing process stored in step S24 is referred to.
The printing process is restarted from the start page. When printing is restarted in this way, the process proceeds to step S13 and the above-described processing is performed.
【0040】図7は、本実施例のプリンタ装置101に
おける処理を示すフローチャートである。FIG. 7 is a flow chart showing the processing in the printer apparatus 101 of this embodiment.
【0041】プリンタ装置101では、あるホストか
ら、プリンタ装置101の状態を問合わせるコマンドを
受信すると、その状態問い合わせ処理ルーチンのステッ
プS41で、その問合わせデータを受信する。次にステ
ップS42に進み、現在、あるホストよりの印刷データ
を受信して、印刷処理を実行しているか否かを判断す
る。ステップS42で印刷中でない時はステップS43
に進み、状態データとしてアイドル“idle”で応答す
る。When the printer apparatus 101 receives a command for inquiring the state of the printer apparatus 101 from a certain host, the inquiry data is received in step S41 of the state inquiry processing routine. Next, in step S42, it is determined whether print data is currently received from a certain host and print processing is being executed. If printing is not in progress in step S42, step S43
And respond with an idle "idle" as the status data.
【0042】一方、ステップS42で印刷中の時はステ
ップS44に進み、ビジーであることを示す状態データ
“Busy”で応答し、ステップS45では、どのホストよ
りの印刷データを印刷中であるかを通知する。On the other hand, when printing is being performed in step S42, the process proceeds to step S44, in which response is made with status data "Busy" indicating busy, and in step S45, which host print data is being printed. Notice.
【0043】これにより、ネットワーク130に接続さ
れているホストが、そのプリンタ装置101の動作状態
及び、印刷中であれば、その印刷を行っているホスト名
を知ることができる。As a result, the host connected to the network 130 can know the operating state of the printer 101 and the name of the host that is printing if printing is in progress.
【0044】尚、本実施例において、プリンタ装置10
1は、例えばプロッタや各種レコーダ等でも良い。また
ネットワークとしては、バス型、スター型、トークンリ
ング型等のいずれでも良い。In the present embodiment, the printer device 10
1 may be, for example, a plotter or various recorders. The network may be any of bus type, star type, token ring type and the like.
【0045】更に、ホストとしては、各種コンピュータ
機器、例えばパーソナル・コンピュータ、ワークステー
ション、ミニコンピュータ等が考えられ、これらホスト
の制御部はハードウェアで構成されても、或はCPU、
ソフトウェア、ROM、RAM等で構成されても良い。Further, various types of computer equipment such as personal computers, workstations, minicomputers, etc. are conceivable as the host, and the control unit of these hosts may be constituted by hardware, or a CPU,
It may be configured by software, ROM, RAM, or the like.
【0046】また、ネットワーク接続部は、例えばイン
ターフェース・ボード等であり、記憶装置としては、R
AM等のメモリ、磁気ディスク装置、光磁気ディスク装
置、磁気テープ装置等が考えられる。The network connection unit is, for example, an interface board, and the storage device is R
A memory such as an AM, a magnetic disk device, a magneto-optical disk device, a magnetic tape device, etc. can be considered.
【0047】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置に本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できる。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. The present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.
【0048】以上説明したように本実施例によれば、ネ
ットワークに接続されている他のホストがプリンタを使
用して印刷処理を行っている場合であっても、容易に割
り込み印刷を行うことができる。As described above, according to this embodiment, interrupt printing can be easily performed even when another host connected to the network is using the printer to perform print processing. it can.
【0049】また、印刷データにプライオリティを設定
することにより、共有するハードウェア資源を効率的に
利用することができる。By setting the priority for the print data, the shared hardware resources can be efficiently used.
【0050】更に、割り込み印刷により中断された処理
に関しても、その割込み印刷が終了すると自動的に以前
の印刷処理を再開するので、再度印刷の作業をやり直す
必要がない。Further, regarding the processing interrupted by the interrupt printing, the previous printing processing is automatically restarted when the interrupt printing is completed, so that it is not necessary to repeat the printing work.
【0051】[0051]
【発明の効果】以上説明したように本発明によれば、複
数のコンピュータ機器のいずれかで印刷中に、他のコン
ピュータ機器より優先的に印刷を行うことができる効果
がある。As described above, according to the present invention, there is an effect that during printing by any of a plurality of computer devices, printing can be performed with priority over other computer devices.
【0052】また本発明によれば、他ののコンピュータ
機器よりの割込み印刷要求により印刷処理を中断してい
るコンピュータ機器では、その割込み印刷が終了すると
自動的に次のページより印刷を再開できる。Further, according to the present invention, in a computer device which interrupts the printing process due to an interrupt printing request from another computer device, when the interrupt printing is completed, the printing can be automatically restarted from the next page.
【0053】また本発明によれば、印刷データに優先順
位を設定し、その優先順位に応じて優先度の高い順にプ
リンタ装置を使用して印刷することができるという効果
がある。Further, according to the present invention, it is possible to set the priority order to the print data and to print by using the printer device in the order of the highest priority order according to the priority order.
【0054】[0054]
【図1】本発明の一実施例のネットワーク・システムの
構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a network system according to an embodiment of the present invention.
【図2】本実施例のネットワーク・システムにおける印
刷処理の状態の一例を示す図である。FIG. 2 is a diagram showing an example of a state of print processing in the network system of the present embodiment.
【図3】本実施例の各ホストの記憶装置の内容例を示す
図である。FIG. 3 is a diagram showing an example of contents of a storage device of each host of the present embodiment.
【図4】本発明の一実施例のホストにおける制御を示す
フローチャートである。FIG. 4 is a flowchart showing control in a host according to an embodiment of the present invention.
【図5】本発明の一実施例のホストにおける制御を示す
フローチャートである。FIG. 5 is a flowchart showing control in a host according to an embodiment of the present invention.
【図6】本発明の一実施例のホストにおける制御を示す
フローチャートである。FIG. 6 is a flowchart showing control in a host according to an embodiment of the present invention.
【図7】本発明の一実施例のネットワークに接続された
プリンタにおける制御処理を示すフローチャートであ
る。FIG. 7 is a flowchart showing control processing in the printer connected to the network according to the embodiment of the present invention.
101 プリンタA 110,120 制御部 111,121 ネットワーク接続部 112,122 記憶装置 130 ネットワーク 210 割込み印刷要求 201,202 印刷データ 101 printer A 110, 120 control unit 111, 121 network connection unit 112, 122 storage device 130 network 210 interrupt print request 201, 202 print data
Claims (12)
で共有する印刷システムであって、 前記コンピュータ機器は、前記プリンタ装置を使用して
印刷中に他のコンピュータ機器より、前記プリンタ装置
を使用する割込み印刷要求を受信する受信手段と、 前記割込み印刷要求に含まれる優先順位情報と、前記印
刷中の印刷データの優先順位とを比較する比較手段と、 前記比較手段による比較の結果、前記印刷要求に含まれ
る優先順位の方が高いときは印刷中の印刷処理を中断し
て、前記印刷要求を発行したコンピュータ機器に印刷を
許可する印刷中断手段と、を有することを特徴とする印
刷システム。1. A printing system in which a printer device is shared by a plurality of computer devices, wherein the computer device interrupts printing by using the printer device from another computer device while printing using the printer device. A receiving unit for receiving a request; a comparing unit for comparing the priority information included in the interrupt print request with the priority of the print data being printed; and a result of the comparison by the comparing unit, which is included in the print request. A printing interrupting unit that interrupts the printing process during printing and permits the computer device that has issued the print request to print when the priority is higher.
刷要求に含まれる優先順位の方が低いときは、前記印刷
要求を発行したコンピュータ機器に不許可のメッセージ
を送信する送信手段を更に有することを特徴とする請求
項1に記載の印刷システム。2. As a result of the comparison by the comparison means, when the priority included in the print request is lower, a transmission means for transmitting a disapproval message to the computer device that issued the print request is further included. The printing system according to claim 1, wherein:
ージ番号を記憶する記憶手段を有することを特徴とする
請求項1に記載の印刷システム。3. The printing system according to claim 1, wherein the printing interruption unit has a storage unit that stores a page number for restarting printing.
の印刷処理が終了した時点で印刷処理を中断することを
特徴とする請求項1に記載の印刷システム。4. The printing system according to claim 1, wherein the print suspending unit suspends the print processing when the print processing for one page being printed is completed.
受け付けられて印刷を開始したコンピュータ機器は、当
該印刷の終了時に、印刷処理を中断中のコンピュータ機
器に印刷終了メッセージを送信することを特徴とする請
求項1に記載の印刷システム。5. The computer device that issues the print request, accepts the print request, and starts printing, transmits a print end message to the computer device that is interrupting the print process at the end of the print. The printing system according to claim 1, wherein the printing system is a printing system.
器は、前記印刷終了メッセージを受信すると、印刷を中
断していたページより印刷を再開することを特徴とする
請求項5に記載の印刷システム。6. The printing system according to claim 5, wherein the computer device, which is interrupting the printing process, resumes printing from the page for which printing was interrupted when the printing end message is received.
で共有するネットワークシステムにおける印刷方法であ
って、 第1のコンピュータ機器が前記プリンタ装置を使用して
印刷中に、第2のコンピュータ機器より第1のコンピュ
ータ機器に前記プリンタ装置を使用する割込み印刷要求
を発行する工程と、 前記割込み印刷要求に含まれる優先順位情報と、前記印
刷中の印刷データの優先順位とを比較する工程と、 前記印刷要求に含まれる優先順位の方が高いとき、前記
第1のコンピュータ機器は印刷処理を中断して前記第2
のコンピュータ機器に印刷を許可する工程と、を有する
ことを特徴とする印刷方法。7. A printing method in a network system in which a printer device is shared by a plurality of computer devices, wherein the first computer device uses the printer device to perform printing while the first computer device prints the first computer device. Issuing an interrupt print request for using the printer device to a computer device; comparing priority information included in the interrupt print request with priority of print data being printed; When the included priority is higher, the first computer device interrupts the printing process and the second computer device interrupts the printing process.
And permitting the computer device to perform printing.
る優先順位の方が低いときは、前記第2のコンピュータ
機器に不許可のメッセージを送信する工程を更に有する
ことを特徴とする請求項7に記載の印刷方法。8. The method according to claim 8, further comprising the step of transmitting a disapproval message to the second computer device when the priority included in the print request is lower as a result of the comparison. The printing method according to item 7.
理の中断時、印刷を再開するページ番号を記憶すること
を特徴とする請求項7に記載の印刷方法。9. The printing method according to claim 7, wherein the first computer device stores a page number for restarting printing when the printing process is interrupted.
中の1ページの印刷処理が終了した時点で印刷処理を中
断することを特徴とする請求項7に記載の印刷方法。10. The printing method according to claim 7, wherein the first computer device suspends the printing process when the printing process of one page being printed is completed.
み印刷の終了時に前記第1のコンピュータ機器に印刷終
了メッセージを送信することを特徴とする請求項7に記
載の印刷方法。11. The printing method according to claim 7, wherein the second computer device transmits a print end message to the first computer device at the end of interrupt printing.
印刷終了メッセージを受信すると印刷を中断していたペ
ージより印刷を再開することを特徴とする請求項11に
記載の印刷方法。12. The printing method according to claim 11, wherein when the first computer device receives the print end message, the printing is restarted from the page where the printing was interrupted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10619595A JP3423477B2 (en) | 1995-04-28 | 1995-04-28 | Printing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10619595A JP3423477B2 (en) | 1995-04-28 | 1995-04-28 | Printing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08305511A true JPH08305511A (en) | 1996-11-22 |
JP3423477B2 JP3423477B2 (en) | 2003-07-07 |
Family
ID=14427403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10619595A Expired - Fee Related JP3423477B2 (en) | 1995-04-28 | 1995-04-28 | Printing method and system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3423477B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003035405A1 (en) * | 2001-10-25 | 2003-05-01 | Seiko Epson Corporation | Printer |
US7265855B2 (en) | 2001-02-28 | 2007-09-04 | Sharp Laboratories Of America, Inc. | Priority interruptible printing system |
JP2008221831A (en) * | 2007-02-14 | 2008-09-25 | Ricoh Co Ltd | Image forming apparatus and print control method used therein |
-
1995
- 1995-04-28 JP JP10619595A patent/JP3423477B2/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7265855B2 (en) | 2001-02-28 | 2007-09-04 | Sharp Laboratories Of America, Inc. | Priority interruptible printing system |
WO2003035405A1 (en) * | 2001-10-25 | 2003-05-01 | Seiko Epson Corporation | Printer |
JP2008221831A (en) * | 2007-02-14 | 2008-09-25 | Ricoh Co Ltd | Image forming apparatus and print control method used therein |
Also Published As
Publication number | Publication date |
---|---|
JP3423477B2 (en) | 2003-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2001216123A (en) | Printer | |
JP2007245673A (en) | Image formation device | |
JPH06139031A (en) | Printer controller | |
JP3423477B2 (en) | Printing method and system | |
JPH064239A (en) | Printer server system for lan | |
JPH06183110A (en) | Printer | |
JP2000194524A (en) | Printing job interruption system and method therefor | |
JP2002342055A (en) | Printing control method, printing control system, program and storage medium | |
JP2001014117A (en) | Printer | |
JPH09263023A (en) | Classified document priority output printer | |
JP2002215369A (en) | Method and device for distributed printing control, and storage medium | |
JPH09190317A (en) | Printing device and printing method | |
JP2000010922A (en) | Job start method and system for computer network and recording medium recording programmed job start method | |
JP2002278732A (en) | Network printer | |
JP3274899B2 (en) | Image processing system | |
JPH1011234A (en) | Printer controller | |
JPH05265668A (en) | Image printing system | |
JP3239702B2 (en) | Data transfer system, data processing device, printer, and data transfer method | |
JP2002196919A (en) | Device and method of data processing | |
JPH0365721A (en) | Print server | |
JP4362889B2 (en) | Network scanner control method and apparatus | |
JPH11175356A (en) | Composite machine, composite system, job processing method and storage medium | |
JPS6314236A (en) | Job control system | |
JPH0553738A (en) | Printer starting device for local area network | |
JPH0877084A (en) | Image recording system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20020722 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20030331 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090425 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090425 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100425 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |