JPH1078856A - Interruption by priority printing method and system therefor - Google Patents

Interruption by priority printing method and system therefor

Info

Publication number
JPH1078856A
JPH1078856A JP8235155A JP23515596A JPH1078856A JP H1078856 A JPH1078856 A JP H1078856A JP 8235155 A JP8235155 A JP 8235155A JP 23515596 A JP23515596 A JP 23515596A JP H1078856 A JPH1078856 A JP H1078856A
Authority
JP
Japan
Prior art keywords
priority
host computer
buffer
interrupt
host
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
JP8235155A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Hirumoto
浩義 蛭本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP8235155A priority Critical patent/JPH1078856A/en
Publication of JPH1078856A publication Critical patent/JPH1078856A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain the efficiency up of a printing processing quickly responding to an actual situation by setting the priority order of the printing processing between plural host computers. SOLUTION: A printer device 1 with which plural host computers 20 and 21 are connected is constituted of a receiving buffer 2 for writing received print data, interrupting buffer 3 for writing received interrupting print data, page buffer 4 for writing print data to be printed, and printing executing part 5 and the like. An interface 10 outputs a signal running from each host computer 20 and 21 by using unused connector pins 6a and 7a as an interface signal indicating printing processing priority. When the interruption of a printing processing from the following host computer 21 is present during the execution of the printing processing of the preceding host computer 20, the printer device 1 confirms the priority based on the interface signal, and executes interrupting printing when the priority of the following host computer 21 is higher.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタ装置に係
り、さらに詳しくは、ワードプロセッサやパーソナルコ
ンピュータ等の異種または同種の複数のホストコンピュ
ータであるデータ処理装置(以下、単にホストという)
に対して、優先度別割り込み印刷を行う印刷方法および
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and more particularly, to a data processing device (hereinafter simply referred to as "host") which is a plurality of different or similar host computers such as a word processor and a personal computer.
And a printing method and system for performing priority-based interrupt printing.

【0002】[0002]

【従来の技術】従来より、1台のプリンタ装置に複数の
ホストを接続して、各ホストからそれぞれ印刷データを
送れるようにしたシステムが多用されている。この場
合、プリンタ装置が先行のホストに対して印刷処理を実
行中、後続ホストはその先行ホストの印刷処理を終える
まで待機する。ところで、目下処理実行中の先行ホスト
の数百枚といったような大量処理中、後続ホストの印刷
処理が僅かに1枚でしかも急を要するとき、先行ホスト
の処理を一時中断して後続ホストの印刷処理を優先させ
たい場合がある。
2. Description of the Related Art Conventionally, a system in which a plurality of hosts are connected to one printer so that print data can be sent from each host has been frequently used. In this case, while the printer device is executing the printing process for the preceding host, the subsequent host waits until the printing process of the preceding host is completed. By the way, during a large-scale processing such as several hundred sheets of the preceding host that is currently executing the processing, when the printing processing of the succeeding host is only one sheet and it is urgent, the processing of the preceding host is temporarily stopped and the printing of the succeeding host is temporarily stopped. There are times when you want to give priority to processing.

【0003】例えば、特開平4−112070号公報の
プリンタ装置には、そのような割り込み印刷処理につい
て記載されている。すなわち、プリント中断許可手段を
有し、1つのホストの印刷処理中、他のホストから印刷
データが入力されると、プリント指定条件に応じて実行
中の印刷処理を中断する。割込プリント実行手段は他の
ホストの印刷処理を割り込ませる。割り込み処理を終了
すると、プリント再開手段によって先行ホストの印刷処
理が再開される。
For example, Japanese Patent Application Laid-Open No. 4-112070 discloses such an interrupt printing process. In other words, the apparatus has a print interruption permitting unit, and when print data is input from another host during print processing of one host, the print processing being executed is interrupted according to the print designation condition. The interrupt print execution means interrupts print processing of another host. When the interruption processing is completed, the print processing of the preceding host is restarted by the print restart means.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この公
報のプリンタ装置の場合、割り込み処理を印刷データ量
に応じて実行したり、実行しなかったりするに止まって
いる。すなわち、特定のホストに優先度を付与して割り
込み処理を許可したり、優先度の低いホストには割り込
みを許可しないという実情に即した自在な印刷処理に対
応できない。
However, in the case of the printer disclosed in this publication, interrupt processing is only executed or not executed according to the amount of print data. That is, it is not possible to cope with a flexible print process according to the actual situation that a specific host is given a priority to permit an interrupt process, and a low-priority host is not allowed to perform an interrupt process.

【0005】例えば、ノートブック型パソコンのように
持ち運びできるホストの場合、その簡便性を生かして、
複数のホストが接続された1台のプリント装置に臨機応
変に接続させ、印刷データの出力を優先させることが多
々ある。ところが、公報に記載されたプリンタ装置を含
む従来の係るシステムでは、急を要しないホストの印刷
処理を続行させるために、業務上の停滞等を余儀なくす
るといった不具合がある。
For example, in the case of a portable host such as a notebook computer, taking advantage of its simplicity,
It is often the case that a plurality of hosts are connected to one printing apparatus in a flexible manner to prioritize output of print data. However, in the conventional system including the printer described in the gazette, there is a problem that a stagnation or the like in a business is inevitable in order to continue printing processing of the host without urgency.

【0006】したがって、本発明の目的は、複数のホス
トコンピュータ間に印刷処理の優先順位を設定すること
で、実情に即応した印刷処理の効率アップを可能にする
優先度別割り込み印刷方法およびシステムを提供するこ
とにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a priority-based interrupt printing method and system which can improve the efficiency of print processing in accordance with the actual situation by setting the priority of print processing among a plurality of host computers. To provide.

【0007】[0007]

【課題を解決するための手段】本発明による優先度別割
り込み印刷システムは、複数のホストが接続可能なプリ
ンタ装置を有している。このプリンタ装置は、受け取っ
た印刷データを書き込んで記憶する受信バッファと、受
け取った割り込み印刷データを書き込んで記憶する割り
込みバッファと、これから印刷に臨む印刷データを書き
込んで記憶するページバッファと、そして印刷処理実行
部等によって構成されている。また、プリンタ装置と複
数のホストとの間には、印刷処理の優先度を示すインタ
フェース信号を処理するインタフェースが設けられてい
る。プリンタ装置は、インタフェース信号をチェックす
ることにより、印刷処理優先度が高位か低位か判断でき
るようになっている。
The priority-based interrupt printing system according to the present invention has a printer device to which a plurality of hosts can be connected. The printer device includes a reception buffer for writing and storing received print data, an interrupt buffer for writing and storing received interrupt print data, a page buffer for writing and storing print data to be printed from now on, and a printing process. It is composed of an execution unit and the like. Further, an interface for processing an interface signal indicating the priority of the printing process is provided between the printer device and the plurality of hosts. The printer device can determine whether the priority of the printing process is high or low by checking the interface signal.

【0008】システムの以上の構成によって、本発明の
優先度別割り込み印刷方法においては、インタフェース
から例えば「優先」と「一般」からなる優先度を示すイ
ンタフェース信号が出力される。プリンタ装置において
は、先行のホストの印刷処理を実行中、他の後続ホスト
から印刷処理を要求する信号がインタフェースを介して
入力される。プリンタ装置は、その後続ホストからのイ
ンタフェース信号を受け取ると、それが優先を示すもの
か、あるいは一般を示すものか印刷処理優先度をチェッ
クする。割り込んできた後続ホストからのインタフェー
ス信号が、目下実行中の先行ホストの優先度よりも優先
順位が高位であれば、割り込み処理を実行する。後続ホ
ストの優先度が先行ホストのそれと比較して、同一優先
度または低位であれば割り込み処理を許可しない。この
ようにして、特定のホストだけがプリンタ装置への割り
込み処理を実行できる。
According to the above-described configuration of the system, in the priority-based interrupt printing method of the present invention, the interface outputs, for example, an interface signal indicating a priority consisting of “priority” and “general”. In the printer device, during execution of print processing of the preceding host, a signal requesting print processing is input from another subsequent host via the interface. Upon receiving the interface signal from the subsequent host, the printer checks the print processing priority to indicate whether it indicates priority or general. If the priority of the interrupted interface signal from the subsequent host is higher than the priority of the currently executing preceding host, interrupt processing is executed. If the priority of the succeeding host is equal to or lower than that of the preceding host, interrupt processing is not permitted. In this way, only a specific host can execute the interrupt processing for the printer device.

【0009】[0009]

【発明の実施の形態】以下、本発明による優先度別割り
込み印刷方法およびシステムの実施の形態について、図
面を参照して詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a priority-based interrupt printing method and system according to the present invention.

【0010】図1に示すように、本実施の形態のプリン
タ装置1は、接続された複数の例えばホスト20、21
から受け取った印刷データを書き込んで記憶する記憶デ
バイスとしての受信バッファ2を有し、ホスト20、2
1のいずれかから受け取った割り込み印刷データを書き
込んで記憶する記憶デバイスとしての割り込みバッファ
3を有している。また、受信バッファ2および割り込み
バッファ3のいずれか一方からの印刷データに基づい
て、これから印刷を実行しようとする印刷データを書き
込んで記憶する記憶デバイスのページバッファ4を有し
ている。さらに、以上の各バッファからの印刷指令信号
によって印刷出力する印刷処理実行部5等が備わって構
成されている。
As shown in FIG. 1, a printer 1 according to the present embodiment includes a plurality of connected hosts 20, 21 for example.
A reception buffer 2 as a storage device for writing and storing print data received from
1 has an interrupt buffer 3 as a storage device for writing and storing the interrupt print data received from any one of them. Further, it has a page buffer 4 of a storage device that writes and stores print data to be printed based on print data from one of the reception buffer 2 and the interrupt buffer 3. Further, a print processing execution unit 5 and the like for printing out according to the print command signal from each of the above buffers are provided.

【0011】また、プリンタ装置1と複数のホスト2
0、21との間には、例えばプリンタ装置1に内蔵する
形でそれら各ホスト20、21の印刷処理の優先度を示
すインタフェース信号を処理するインタフェース10が
設けられている。また、プリンタ装置1および各ホスト
20、21を接続する対同士のコネクタピン6、7と
8、9を有し、それら対同士のコネクタピン6、7間、
コネクタピン8、9間の未使用のコネクタピン6a、7
aが利用される。ホスト20、21から印刷要求信号が
送られる際、未使用コネクタピン6a、7aを通じて送
られる信号は印刷処理優先度を示すインタフェース信号
として示されるようになっている。
A printer 1 and a plurality of hosts 2
An interface 10 for processing an interface signal indicating the priority of the printing process of each of the hosts 20 and 21 is provided between the host 20 and the printer 21 for example. It also has a pair of connector pins 6, 7 and 8, 9 for connecting the printer device 1 and each of the hosts 20, 21.
Unused connector pins 6a, 7 between connector pins 8, 9
a is used. When a print request signal is sent from the host 20, 21, a signal sent through the unused connector pins 6a, 7a is indicated as an interface signal indicating the priority of the printing process.

【0012】本実施の形態においては、予め、一方のホ
スト20から未使用コネクタピン6aを通じて送られる
信号は印刷処理優先度「一般」を示すインタフェース信
号として設定され、他方のホスト21から未使用コネク
タピン7aを通じて送られる信号は印刷処理優先度「優
先」を示すインタフェース信号として設定されている。
勿論、ホスト数は20、21の2つに限定されるもので
はなく、それ以上の数の場合でも印刷処理の順位を決め
る優先度を予め設定することができる。
In this embodiment, a signal sent from one host 20 through unused connector pins 6a is set in advance as an interface signal indicating print processing priority "general", and an unused connector from the other host 21 is used as an interface signal. The signal sent through the pin 7a is set as an interface signal indicating the print processing priority "priority".
Of course, the number of hosts is not limited to two, 20 and 21, and even in the case of more than that, the priority for determining the order of print processing can be set in advance.

【0013】次に、本実施の形態の動作について、図2
以下の図面を参照して説明する。
Next, the operation of this embodiment will be described with reference to FIG.
This will be described with reference to the following drawings.

【0014】まず、図3のフローチャートに示すよう
に、ステップS1(以下、単にS1といったように表
す)においては、ホスト20がプリンタ装置1に対して
印刷処理の実行を要求する。ホスト20は自らの優先度
が「一般」か「優先」かを確認する。この場合、ホスト
20の優先度は一般であり、ホスト20の優先度を示す
「一般」のインタフェース信号を未使用コネクタピン6
aを介して流し(S3)、印刷データの出力を要求する
信号をプリンタ装置1に送る(S4)。
First, as shown in the flowchart of FIG. 3, in step S1 (hereinafter simply referred to as S1), the host 20 requests the printer device 1 to execute a printing process. The host 20 checks whether its priority is “general” or “priority”. In this case, the priority of the host 20 is general, and a “general” interface signal indicating the priority of the host 20 is transmitted to the unused connector pin 6.
Then, a signal for requesting output of print data is sent to the printer device 1 (S4).

【0015】動作フローは図4に移行し、プリント装置
1はホスト20から印刷要求信号を受け取ると(S1
1)、まず現在印刷を実行中であるか否か自らの状態を
確認する(S12)。いずれのホストに対しても印刷処
理を実行していない場合(No)、指定バッファを受信
バッファ2に設定し(S13)、図5の動作フローに示
す処理Aと、図6の動作フローに示す処理Bとを起動さ
せる(S14)。
The operation flow shifts to FIG. 4, and when the printing apparatus 1 receives a print request signal from the host 20, (S1)
1) First, it checks its own status as to whether printing is currently being performed (S12). If the printing process has not been executed for any of the hosts (No), the designated buffer is set to the receiving buffer 2 (S13), and the process A shown in the operation flow of FIG. 5 and the operation flow shown in FIG. The process B is started (S14).

【0016】処理Aにおいては、指定バッファである受
信バッファ2に空き容量が有るか否かを検出する(S1
8)。プリンタ装置1は印刷処理を実行していないか
ら、指定バッファである受信バッファ2には空きがある
(Yes)。したがって、プリンタ装置1はホスト20
に対し入力許可して印刷データを要求する(S19)。
ホスト20は、図3の動作フローにて、プリント装置1
から印刷データの要求信号を受け取ることにより(S
7)、印刷データをプリント装置1に送信する(S
8)。
In the process A, it is detected whether or not the reception buffer 2 which is the designated buffer has a free space (S1).
8). Since the printer device 1 is not executing the printing process, the receiving buffer 2 which is the designated buffer has an empty space (Yes). Therefore, the printer 1 is connected to the host 20
, Input is permitted and print data is requested (S19).
The host 20 executes the printing apparatus 1 according to the operation flow of FIG.
(S) by receiving a request signal for print data from
7) The print data is transmitted to the printing apparatus 1 (S).
8).

【0017】図5に示す処理Aが続行され、プリンタ装
置1では、コネクタピン6を通じて印刷データを受信す
ると(S20)、受け取ったホスト20からの印刷デー
タを指定バッファである受信バッファ2に書き込む(S
21)。このように、プリンタ装置1は処理Aを繰り返
し、受信バッファ2におけるデータ書き込み量が満杯に
なると、その受信バッファ2に容量的な空きができるま
でホスト20に印刷データを要求しない(S22)。
Processing A shown in FIG. 5 is continued. When the printer 1 receives the print data through the connector pin 6 (S20), it writes the received print data from the host 20 into the reception buffer 2 which is the designated buffer (S20). S
21). As described above, the printer device 1 repeats the process A, and when the data write amount in the reception buffer 2 becomes full, the printer device 1 does not request the host 20 for print data until the reception buffer 2 has a free space (S22).

【0018】次に、図6の動作フローに示す処理Bで
は、非同期に指定バッファ(現時点では受信バッファ
2)から印刷データを取り出し(S23)、取り出した
印刷データが改ページコードか、あるいは次の印刷ペー
ジコードのいずれであるかを判断する(S24、S2
5)。改ページコードおよび次印刷ページコードのどち
らでもなければ、取り出した印刷データを現時点の指定
バッファである受信バッファ2からページバッファ4に
転送する(S26)。S24、25で取り出した印刷デ
ータが改ページコードまたは次の印刷ページコードのど
ちらかにでも該当すれば(Yes)、ページバッファ4
における印刷データを出力する(S27)。続いてペー
ジバッファ4をクリアする(S28)。このとき、割り
込み処理の有無を判定し(S29)、割り込み処理が無
しであればそのまま処理Bを繰り返す。ここまでの印刷
データの流れは、図2において通常時のデータの流れ図
として示されている。
Next, in the process B shown in the operation flow of FIG. 6, the print data is asynchronously fetched from the designated buffer (currently the receive buffer 2) (S23), and the fetched print data is the page break code or the next. It is determined which of the print page codes (S24, S2
5). If it is neither the new page code nor the next print page code, the extracted print data is transferred from the receive buffer 2 which is the current designated buffer to the page buffer 4 (S26). If the print data extracted in S24 or S25 corresponds to either the page break code or the next print page code (Yes), the page buffer 4
Is output (S27). Subsequently, the page buffer 4 is cleared (S28). At this time, it is determined whether or not there is an interrupt process (S29), and if there is no interrupt process, the process B is repeated as it is. The flow of print data so far is shown in FIG. 2 as a data flow diagram in a normal state.

【0019】一方、プリント装置1がホスト20の印刷
処理を実行中、別のホスト21からの割り込み印刷の要
求がなされたとき、以下のような処理が実行される。
On the other hand, while the printing apparatus 1 is executing the printing process of the host 20, when another host 21 requests interrupt printing, the following process is executed.

【0020】図3の動作フローにおいて、ホスト21の
割り込み優先度は「優先」であり、ホスト21はその旨
のインタフェース信号を未使用コネクタピン7aを介し
て流す(S1、S2)。図4の動作フローに移行して、
プリンタ装置1はホスト21からの印刷要求信号を受け
取る(S11)。プリンタ装置1はホスト20の印刷処
理を実行中のため、ここでホスト優先度を比較する(S
12、S15)。プリンタ装置1では、未使用コネクタ
ピン7aを通して入力された優先度を示すインタフェー
ス10からのインタフェース信号によって、ホスト21
の優先度の方が目下処理続行中の優先度一般のホスト2
0のそれよりも高いから、割り込んできたホスト21の
方の印刷処理を優先すべき旨を認識して決定する(S1
5、S16)。
In the operation flow of FIG. 3, the interrupt priority of the host 21 is "priority", and the host 21 sends an interface signal to that effect via the unused connector pins 7a (S1, S2). Moving to the operation flow of FIG.
The printer device 1 receives a print request signal from the host 21 (S11). Since the printer 1 is executing the printing process of the host 20, the host priority is compared here (S
12, S15). In the printer device 1, the host 21 receives the interface signal from the interface 10 indicating the priority input through the unused connector pin 7 a.
Priority is the priority of general host 2 currently being processed
0, which is higher than that of S1, and recognizes and determines that the interrupted host 21 should give priority to print processing (S1).
5, S16).

【0021】ここで、仮にホスト21の割り込み優先度
がホスト20のそれ以下であるならば、プリンタ装置1
はホスト21に印刷不可である旨を通知する(S1
7)。ホスト21は、プリンタ装置1から印刷不可の通
知を受けることで(S5)、印刷処理を中止する(S1
0)。
If the interrupt priority of the host 21 is lower than that of the host 20, the printer 1
Notifies the host 21 that printing is not possible (S1).
7). The host 21 receives the notification that printing is not possible from the printer device 1 (S5), and stops the printing process (S1).
0).

【0022】再び、前記S16に戻って、プリンタ装置
1がホスト21からの割り込み処理を決定すると、図6
の動作フローに示す目下起動中の処理Bにおいて、ホス
ト20からの印刷データをページの区切りに割り込み処
理があるか判定する(S29)。割り込みがあれば指定
バッファである現在の受信バッファ2を割り込みバッフ
ァ3に変更する(S30)。すると、処理Bとは非同期
に作動している図5の処理Aにおいて、指定バッファが
受信バッファ2から割り込みバッファ3に切り替わった
ことで、ホスト21に対して印刷データを要求する(S
19)。ホスト21は印刷データ要求信号を受け取り
(S7)、印刷データをプリンタ装置1に送る。プリン
タ装置1は、印刷データを受け取ると(S21)、その
受け取った印刷データを現在の指定バッファである割り
込みバッファ3に書き込む。図2においては、以上のデ
ータの流れについて割り込み処理実施中時のデータの流
れ図が示されている。
Returning again to step S16, when the printer 1 determines an interrupt process from the host 21,
In the currently activated process B shown in the operation flow of FIG. 7, it is determined whether or not there is an interrupt process at the page break of the print data from the host 20 (S29). If there is an interrupt, the current receive buffer 2 which is the designated buffer is changed to the interrupt buffer 3 (S30). Then, in the process A of FIG. 5 which is operating asynchronously with the process B, the designated buffer is switched from the reception buffer 2 to the interrupt buffer 3, so that the host 21 requests print data (S
19). The host 21 receives the print data request signal (S7) and sends the print data to the printer device 1. Upon receiving the print data (S21), the printer device 1 writes the received print data into the interrupt buffer 3, which is the currently designated buffer. FIG. 2 shows a data flow diagram when the above-described data flow is being executed during the interruption process.

【0023】ホスト21は、印刷データを全てプリント
装置1に送信し終えると、印刷終了通知をプリント装置
1に送る(S6、S10)。
When all the print data has been transmitted to the printing apparatus 1, the host 21 sends a printing completion notification to the printing apparatus 1 (S6, S10).

【0024】次に、図7において、プリンタ装置1で
は、ホスト21から印刷終了通知を受け取ると(S3
1)、目下実行中の印刷処理が割り込み印刷であるか否
かを判断し(S32)、割り込み処理である(Yes)
ことから、その割り込みデータが処理されて無くなるま
で待機し(S33)、無くなると、指定バッファである
現在の割り込みバッファ3から受信バッファ2に切り替
える(S34)。続いて、図5に示す起動中の処理Aに
おいて、ホスト20に印刷データを要求する(S1
9)。ホスト20はプリンタ装置1から印刷要求信号を
受け取り(図3のS7)、印刷データをプリンタ装置1
に送る(S8)。指定バッファは割り込みバッファ3か
ら受信バッファ2に切り替わったため、プリンタ装置1
は受け取った印刷データを受信バッファ2に書き込む
(S21)。処理Bでは、指定バッファである現在の受
信バッファ2から取り出したデータをページバッファ4
に転送し(S26)、受信バッファ2から取り出したそ
の印刷データが改ページコードか次の印刷ページにある
場合(S24、S25)、ページバッファ4の印刷デー
タを印刷処理する(S27)。
Next, in FIG. 7, when the printer 1 receives a print end notification from the host 21 (S3).
1) It is determined whether or not the printing process currently being executed is interrupt printing (S32), and the process is an interrupt process (Yes).
Therefore, the process waits until the interrupt data is processed and disappears (S33), and when the interrupt data disappears, the current interrupt buffer 3, which is the designated buffer, is switched to the reception buffer 2 (S34). Subsequently, in the process A during startup shown in FIG. 5, the host 20 is requested for print data (S1).
9). The host 20 receives the print request signal from the printer device 1 (S7 in FIG. 3) and transfers the print data to the printer device 1.
(S8). Since the designated buffer has been switched from the interrupt buffer 3 to the receiving buffer 2, the printer 1
Writes the received print data into the reception buffer 2 (S21). In the process B, the data extracted from the current reception buffer 2 which is the designated buffer is stored in the page buffer 4.
(S26), and if the print data extracted from the reception buffer 2 is in the page break code or the next print page (S24, S25), the print data in the page buffer 4 is printed (S27).

【0025】次いで、ホスト20は印刷データを全てプ
リント装置1に送り終えると、プリンタ装置1に印刷終
了を通知する(S6、S10)。プリンタ装置1は印刷
終了の通知を受け取ると(S31)、目下実行中の印刷
処理が割り込み印刷ではないので、受信バッファ2とペ
ージバッファ4に印刷データが無くなるまで待機する
(S32、S35)。受信バッファ2とページバッファ
4に印刷データが無くなると、処理Aおよび処理Bを終
了し(S36)、ホスト20およびホスト21に対して
印刷処理の全てが終了する。
Next, when all the print data has been sent to the printing apparatus 1, the host 20 notifies the printing apparatus 1 of the end of printing (S6, S10). When the printer device 1 receives the notification of the printing end (S31), the printing process currently being executed is not the interrupt printing, so the printer device 1 waits until there is no print data in the receiving buffer 2 and the page buffer 4 (S32, S35). When there is no more print data in the reception buffer 2 and the page buffer 4, the processing A and the processing B are terminated (S36), and all the printing processing for the host 20 and the host 21 is terminated.

【0026】なお、以上の実施の形態において、優先度
が「優先」であるホスト21としてノートブック型パソ
コンを想定した場合、例えば事業所等の様々な部所に配
置されたプリンタ装置1に対して、それらいかなる場所
のプリンタ装置1に接続されている他のホストよりも、
ホスト21であるノートブック型パソコンを持ち運び、
優先させて印刷出力させることができる。
In the above embodiment, when a notebook-type personal computer is assumed as the host 21 whose priority is “priority”, for example, the printers 1 arranged in various places such as offices and the like are used. Than any other host connected to the printer device 1 at any location
Carry a notebook computer that is the host 21,
Printout can be given priority.

【0027】[0027]

【発明の効果】本発明による優先度別印刷システムは、
1台のプリンタ装置に複数のホストコンピュータを接続
したものにおいて、ホスト間で印刷処理の優先順位を設
定しておくことにより、プリンタ装置では印刷処理優先
度を示すインタフェース信号をチェックするだけで、印
刷処理を優先さすべきホストを他のホストと差別して、
割り込み印刷を行うことができる。
The priority-based printing system according to the present invention provides:
In a printer in which a plurality of host computers are connected to one printer, the priority of the printing process is set between the hosts, so that the printer only checks the interface signal indicating the priority of the printing process, and performs printing. Distinguish hosts that should be prioritized from other hosts,
Interrupt printing can be performed.

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

【図1】本発明による優先度別割り込み印刷システムの
実施の形態の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a priority-based interrupt printing system according to the present invention.

【図2】通常印刷時の印刷データの流れと割り込み印刷
時の印刷データの流れを示すブロック図である。
FIG. 2 is a block diagram illustrating a flow of print data during normal printing and a flow of print data during interrupt printing.

【図3】実施の形態によるホストコンピュータ側の処理
動作を示すフローチャートである。
FIG. 3 is a flowchart showing a processing operation on the host computer side according to the embodiment.

【図4】実施の形態によるプリンタ装置側において印刷
要求情報受信時の処理動作を示すフローチャートであ
る。
FIG. 4 is a flowchart illustrating a processing operation when print request information is received on the printer device side according to the embodiment.

【図5】プリンタ装置側において受信バッファ書き込み
処理の動作を示すフローチャートである。
FIG. 5 is a flowchart illustrating an operation of a reception buffer writing process on the printer device side.

【図6】プリンタ装置側においてページバッファ転送処
理の動作を示すフローチャートである。
FIG. 6 is a flowchart illustrating an operation of a page buffer transfer process on the printer device side.

【図7】プリンタ装置側において印刷終了通知受信時の
動作処理を示すフローチャートである。
FIG. 7 is a flowchart illustrating an operation process at the time of receiving a print end notification on the printer device side.

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

1 プリンタ装置 2 受信バッファ 3 割り込みバッファ 4 ページバッファ 5 印刷実行部 6 コネクタピン 7 コネクタピン 8 コネクタピン 9 コネクタピン 6a 未使用コネクタピン 7a 未使用コネクタピン 10 インタフェース 20 ホストコンピュータ 21 ホストコンピュータ DESCRIPTION OF SYMBOLS 1 Printer device 2 Receive buffer 3 Interrupt buffer 4 Page buffer 5 Print execution part 6 Connector pin 7 Connector pin 8 Connector pin 9 Connector pin 6a Unused connector pin 7a Unused connector pin 10 Interface 20 Host computer 21 Host computer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】1つのプリンタ装置に複数のホストコンピ
ュータが各自印刷データ出力可能に接続され、先行のホ
ストコンピュータの印刷処理を実行中に後続のホストコ
ンピュータの印刷処理を割り込ませる優先度別割り込み
印刷方法において、 前記複数のホストコンピュータに対して予め印刷処理の
優先順位を決める優先度を設定し、前記先行のホストコ
ンピュータの印刷処理実行中に前記後続のホストコンピ
ュータの印刷処理が割り込んできたとき、両ホストコン
ピュータの前記優先度を示すインタフェース信号をチェ
ックして、前記先行のホストコンピュータからのインタ
フェース信号が前記後続のホストコンピュータのインタ
フェース信号よりも優先度低位を示すものである場合
は、前記先行のホストコンピュータの印刷処理を中断し
て前記後続のホストコンピュータの割り込み印刷処理を
実行することを特徴とする優先度別割り込み印刷方法。
A plurality of host computers are connected to one printer so as to be capable of outputting print data, and interrupt printing by priority for interrupting print processing of a subsequent host computer while executing print processing of a preceding host computer. In the method, priority is set in advance to determine the priority of the printing process for the plurality of host computers, when the printing process of the subsequent host computer interrupts the printing process of the preceding host computer during execution of the printing process, Check the interface signal indicating the priority of both host computers, and if the interface signal from the preceding host computer indicates a lower priority than the interface signal of the subsequent host computer, Interrupt the printing process of the host computer And executing an interrupt printing process of the subsequent host computer.
【請求項2】前記プリンタ装置と前記ホストコンピュー
タとを接続するコネクタピンのうちの未使用コネクタピ
ンを利用して前記優先度を示すインタフェース信号を送
信することを特徴とする請求項1に記載の優先度別割り
込み印刷方法。
2. The apparatus according to claim 1, wherein the interface signal indicating the priority is transmitted by using an unused connector pin among connector pins for connecting the printer device and the host computer. Interruption printing method by priority.
【請求項3】1つのプリンタ装置に複数のホストコンピ
ュータが各自印刷データ出力可能に接続され、先行のホ
ストコンピュータの印刷処理を実行中に後続のホストコ
ンピュータの印刷処理を割り込ませる優先度別割り込み
印刷システムにおいて、 前記複数のホストコンピュータに対して予め設定された
印刷処理の優先度を示すインタフェース信号を処理する
インタフェースを設けたことを特徴とする優先度別割り
込み印刷システム。
3. A plurality of host computers are connected to one printer so as to be capable of outputting print data, and interrupt printing by priority for interrupting print processing of a subsequent host computer while executing print processing of a preceding host computer. An interrupt printing system for each priority, wherein an interface for processing an interface signal indicating a priority of a printing process set in advance for the plurality of host computers is provided in the system.
【請求項4】前記プリンタ装置と前記ホストコンピュー
タとを接続するコネクタピンのうちの未使用コネクタピ
ンを通じて前記印刷処理の優先度を示すインタフェース
信号を送信することを特徴とする請求項3に記載の優先
度別割り込み印刷システム。
4. The apparatus according to claim 3, wherein an interface signal indicating a priority of the printing process is transmitted through an unused connector pin among connector pins for connecting the printer device and the host computer. Interrupt printing system by priority.
【請求項5】前記プリンタ装置は、 前記ホストコンピュータの先行のものから出力された印
刷データ信号を受け取って書き込む受信バッファと、 前記ホストコンピュータの後続のものから出力された印
刷データ信号を受け取って書き込む割り込みバッファ
と、 前記受信バッファまたは前記割り込みバッファのいずれ
か選定された方の印刷データを書き込むページバッファ
と、 ページバッファからの出力信号によって印刷処理を実行
する印刷実行部と、 前記受信バッファと前記割り込みバッファとを切替指示
信号によって相互に切り替えるバッファ切替手段と、 前記先行のホストコンピュータの印刷処理実行中に前記
後続のホストコンピュータからの印刷データ信号が割り
込んだときは、前記未使用コネクタピンを介して送られ
る印刷処理優先度を示すインタフェース信号により、前
記先行のホストコンピュータと前記後続のホストコンピ
ュータの印刷処理優先度をチェックして割り込み処理の
有無を決定し、その決定に基づき前記バッファ切替手段
に対しては切替指示信号を、前記先行のホストコンピュ
ータおよび前記後続のホストコンピュータに対しては制
御信号を送るホストコンピュータ優先度判別手段と、を
含むことを特徴とする請求項4に記載の優先度別割り込
み印刷システム。
5. A receiving buffer for receiving and writing a print data signal output from a preceding device of the host computer, and receiving and writing a print data signal output from a subsequent device of the host computer. An interrupt buffer, a page buffer in which print data of a selected one of the receive buffer and the interrupt buffer is written, a print execution unit that executes print processing by an output signal from the page buffer, the receive buffer and the interrupt A buffer switching unit that switches between the buffer and the buffer according to a switching instruction signal; and when the print data signal from the subsequent host computer interrupts during the print processing of the preceding host computer, via the unused connector pin. Print processing sent According to the interface signal indicating the priority, the print processing priority of the preceding host computer and the subsequent host computer is checked to determine the presence or absence of interrupt processing, and a switching instruction is given to the buffer switching means based on the determination. 5. The priority-based interrupt printing system according to claim 4, further comprising: host computer priority determining means for sending a control signal to the preceding host computer and the subsequent host computer.
【請求項6】前記後続のホストコンピュータが、持ち運
び可能なノートブック型パーソナルコンピュータである
ことを特徴とする請求項3〜5のいずれかに記載の優先
度別割り込み印刷システム。
6. The priority-based interrupt printing system according to claim 3, wherein said subsequent host computer is a portable notebook personal computer.
JP8235155A 1996-09-05 1996-09-05 Interruption by priority printing method and system therefor Pending JPH1078856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8235155A JPH1078856A (en) 1996-09-05 1996-09-05 Interruption by priority printing method and system therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8235155A JPH1078856A (en) 1996-09-05 1996-09-05 Interruption by priority printing method and system therefor

Publications (1)

Publication Number Publication Date
JPH1078856A true JPH1078856A (en) 1998-03-24

Family

ID=16981870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8235155A Pending JPH1078856A (en) 1996-09-05 1996-09-05 Interruption by priority printing method and system therefor

Country Status (1)

Country Link
JP (1) JPH1078856A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000033703A (en) * 1998-11-25 2000-06-15 윤종용 Network printer for managing printing sequence and method for managing the printing sequence
JP2002059595A (en) * 2000-08-21 2002-02-26 Olympus Optical Co Ltd Portable printer
KR100338750B1 (en) * 1998-12-07 2002-07-18 윤종용 Method of controlling the priority process order for waited printing job
JP2007316833A (en) * 2006-05-24 2007-12-06 Seiko Epson Corp Processing instruction apparatus, processing execution apparatus, processing instruction execution system, method and program thereof
KR101054307B1 (en) * 2008-05-27 2011-08-08 주식회사 빅솔론 How to process print devices and real-time commands from print devices

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000033703A (en) * 1998-11-25 2000-06-15 윤종용 Network printer for managing printing sequence and method for managing the printing sequence
KR100338750B1 (en) * 1998-12-07 2002-07-18 윤종용 Method of controlling the priority process order for waited printing job
JP2002059595A (en) * 2000-08-21 2002-02-26 Olympus Optical Co Ltd Portable printer
JP2007316833A (en) * 2006-05-24 2007-12-06 Seiko Epson Corp Processing instruction apparatus, processing execution apparatus, processing instruction execution system, method and program thereof
KR101054307B1 (en) * 2008-05-27 2011-08-08 주식회사 빅솔론 How to process print devices and real-time commands from print devices

Similar Documents

Publication Publication Date Title
JP2008090375A (en) Interrupt control system and storage control system using the same
JPH01277928A (en) Printer
JP2007245673A (en) Image formation device
JP4630766B2 (en) A system having a primary system and a secondary system
US20050256998A1 (en) Bus bridge device
JPH06139031A (en) Printer controller
JPH1078856A (en) Interruption by priority printing method and system therefor
JP7374588B2 (en) Electronic equipment connected to a PCI device and equipped with a device capable of transitioning to a power saving state, and its control method
US20040190048A1 (en) Image forming device and method
JP3144197B2 (en) Printing equipment
JP3856341B2 (en) Interface control method
JP2000155738A (en) Data processor
JP2022122677A (en) Information processor and method for controlling information processor
JPH10278364A (en) Page printer
JP5062750B2 (en) Image forming apparatus
JPH0664251A (en) Printing equipment and control method thereof
JP3125997B2 (en) Print information output device and print system
JP3248796B2 (en) Network printer system
JP3254200B2 (en) Image processing method and apparatus
JPH08310084A (en) Printer
JP2000227843A (en) Interface device, its control method and information recording medium
JP3167062B2 (en) Image recording device
JP2002073301A (en) Information processing system and method, printer device, and storage medium which stores computer readable program
JP2005115658A (en) Information processor
JP2002041269A (en) Printer, method of controlling printer and recording medium recorded program therefor