JP3168853B2 - Print data control method - Google Patents

Print data control method

Info

Publication number
JP3168853B2
JP3168853B2 JP02602495A JP2602495A JP3168853B2 JP 3168853 B2 JP3168853 B2 JP 3168853B2 JP 02602495 A JP02602495 A JP 02602495A JP 2602495 A JP2602495 A JP 2602495A JP 3168853 B2 JP3168853 B2 JP 3168853B2
Authority
JP
Japan
Prior art keywords
printer
print data
image data
computer
print
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.)
Expired - Fee Related
Application number
JP02602495A
Other languages
Japanese (ja)
Other versions
JPH08202516A (en
Inventor
道弘 中村
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP02602495A priority Critical patent/JP3168853B2/en
Publication of JPH08202516A publication Critical patent/JPH08202516A/en
Application granted granted Critical
Publication of JP3168853B2 publication Critical patent/JP3168853B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機とプリンタとか
らなるプリンタシステムにおける印刷データ制御方式に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print data control system in a printer system including a computer and a printer.

【0002】[0002]

【従来の技術】従来、印刷データから画像イメージデー
タを生成し印刷を行うプリンタと、このプリンタに印刷
データを転送する機能を有した計算機とからなるプリン
タシステムの印刷方式において、1台のプリンタに対し
て複数の印刷要求があった場合、プリンタは計算機から
先に転送された印刷データについて画像イメージデータ
を生成するといった印刷処理を始め、遅れて送られる印
刷データは、プリンタにて先に送られた印刷データの印
刷処理を完了するまで転送が行われないようになってい
た。
2. Description of the Related Art Conventionally, in a printing system of a printer system including a printer for generating image data from print data and performing printing and a computer having a function of transferring the print data to the printer, one printer is used. If there are multiple print requests, the printer starts print processing such as generating image data for the print data transferred earlier from the computer, and the print data sent later is sent earlier by the printer. Transfer is not performed until the printing process of the print data is completed.

【0003】[0003]

【発明が解決しようとする課題】そのため、従来の印刷
方式では、プリンタが先の印刷データの処理を完了する
まで、後の印刷データは印刷処理を待たなければならな
いという問題点があった。待機中にある2番目以降の印
刷要求においては、印刷データのまま計算機にデータを
持っており、この印刷データはプリンタに転送されてか
ら該プリンタにより画像イメージデータを生成するとい
った印刷処理を開始するようにしているので、2番目以
降の順番にある印刷要求の印刷終了が遅く、プリンタシ
ステム全体の印刷効率が低いという問題点があった。
Therefore, in the conventional printing method, there is a problem that the subsequent print data must wait for the print processing until the printer completes the processing of the previous print data. In the second and subsequent print requests that are waiting, the computer has the data as the print data, and the print data is transferred to the printer and then the printer starts print processing such as generating image data. Thus, there is a problem in that printing of the print requests in the second and subsequent orders is completed slowly, and the printing efficiency of the entire printer system is low.

【0004】本発明は、上述した問題点を解決するため
になされたものであり、複数の印刷要求があった場合
に、プリンタが印刷処理動作中であっても、計算機又は
プリンタサーバ内にて画像イメージデータを作成するこ
とができるようにして、2番目以降の印刷が早く開始で
きると共に高速に印刷でき、プリンタの有効利用及びプ
リンタシステムの印刷効率の向上が図れる印刷データ制
御方式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. When a plurality of print requests are made, even if the printer is in a print processing operation, a computer or a printer server can be used. Provided is a print data control method capable of generating image data so that the second and subsequent prints can be started quickly and can be printed at a high speed, so that the printer can be effectively used and the printing efficiency of the printer system can be improved. With the goal.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
請求項1の発明の印刷データ制御方式は、印刷データ
から画像イメージデータを生成し印刷を行うプリンタ
と、プリンタに接続され双方向に通信可能なプリンタサ
ーバと、プリンタサーバにネットワークを介して接続さ
れ印刷データを転送する機能を有した複数の計算機とか
らなる印刷データ制御方式であって、プリンタは、その
動作状況をプリンタサーバに知らせる通知手段を備え、
プリンタサーバは、通知手段からのプリンタの動作状況
を検出する検出手段と、計算機からの指令によりプリン
タに対して印刷要求を発した時に、検出手段によりプリ
ンタが印刷動作中であることが検出された場合、計算機
より転送された印刷データから画像イメージデータの生
成を行なう画像イメージデータ生成手段と、印刷データ
又は画像イメージデータをプリンタに転送する転送手段
とを備えたものである。また、請求項2の発明の印刷デ
ータ制御方式は、上記請求項1に記載の印刷データ制御
方式において、計算機又はプリンタサーバは、検出手段
によりプリンタが印刷動作中であることが検出された場
合に、画像イメージデータ生成手段により1ページ分の
画像イメージデータの生成を終える毎に、検出手段によ
りプリンタが印刷動作中であるか否かを検出するもので
ある。
According to a first aspect of the present invention, there is provided a print data control method, comprising: a printer for generating image data from print data and performing printing; A print data control method comprising a communicable printer server and a plurality of computers connected to the printer server via a network and having a function of transferring print data, wherein the printer notifies the printer server of its operation status. Equipped with notification means,
The printer server detects that the printer is performing a printing operation when the printer server issues a print request to the printer in response to a command from the computer. In this case, the image processing apparatus is provided with image image data generating means for generating image image data from print data transferred from a computer, and transfer means for transferring print data or image image data to a printer. A print data control method according to a second aspect of the present invention is the print data control method according to the first aspect , wherein the computer or the printer server determines whether the printer is performing a printing operation by the detecting means. Each time the image data generation unit completes generation of one page of image data, the detection unit detects whether or not the printer is performing a printing operation.

【0006】[0006]

【作用】上記請求項1の印刷データ制御方式において
は、プリンタは通知手段により計算機又はプリンタサー
バにプリンタの動作状況を通知し、計算機又はプリンタ
サーバはプリンタへの印刷要求が生じた場合、検出手段
によりプリンタの通知手段からの動作状況を検出し、プ
リンタが印刷動作中であることが検出されれば、計算機
又はプリンタサーバは画像イメージデータ生成手段によ
り印刷データから画像イメージデータの生成を行う。プ
リンタが印刷動作中でなくなれば計算機又はプリンタサ
ーバは印刷データ又は作成された画像イメージデータを
転送手段によりプリンタに転送する。このように動作す
ることにより、複数の印刷要求があったときに、先にプ
リンタに転送された印刷データを印刷中に、併行して他
の印刷データを計算機又はプリンタサーバにて画像イメ
ージデータに生成するので、先の印刷データの印刷が終
了した後、速やかに後の印刷データの印刷動作に入るこ
とができる。なお、印刷要求が生じた場合にプリンタが
印刷動作中でなく、印刷可能状態であれば、計算機又は
プリンタサーバ内では画像イメージデータを生成するこ
となく、プリンタに印刷データを転送する。
In the print data control method according to the first aspect , the printer notifies the computer or the print server of the operation status of the printer by the notification means, and the computer or the print server detects the print request when the print request to the printer occurs. , The operation status from the notification means of the printer is detected, and if it is detected that the printer is performing the printing operation, the computer or the printer server generates the image data from the print data by the image data generation means. When the printer stops printing, the computer or the printer server transfers the print data or the created image data to the printer by the transfer means. By operating in this manner, when a plurality of print requests are made, while printing the print data previously transferred to the printer, other print data is concurrently converted into image image data by the computer or the printer server. Since the print data is generated, the printing operation of the subsequent print data can be promptly started after the printing of the previous print data is completed. If the printer is not performing a printing operation and is in a printable state when a print request is issued, the computer or the printer server transfers the print data to the printer without generating image data.

【0007】また、請求項2の印刷データ制御方式にお
いては、計算機又はプリンタサーバの検出手段によりプ
リンタが印刷動作中であることが検出された場合、画像
イメージデータ生成手段により1ページ分の画像イメー
ジデータの生成を終える毎に、検出手段によりプリンタ
が印刷動作中であるか否かを検出する。従って、プリン
タが印刷動作中でなくなる、つまり印刷可能になれば速
やかに画像イメージデータはプリンタに転送され、印刷
される。
According to a second aspect of the present invention, when a printer or a printer server detects that the printer is performing a printing operation, the image data for one page is output by the image data generator. Each time data generation is completed, the detection means detects whether the printer is performing a printing operation. Therefore, when the printer is not in the printing operation, that is, when the printer is ready for printing, the image data is immediately transferred to the printer and printed.

【0008】[0008]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は、本発明の印刷データ制御方
式が適用される第1の実施例によるプリンタシステムの
機能ブロック図である。プリンタシステム1は、印刷デ
ータから画像イメージデータを生成し印刷を行うプリン
タ2と、このプリンタ2に印刷データを転送する機能を
有した計算機3とから構成されている。プリンタ2は、
双方向インターフェース4を介して双方向に通信可能
な、例えばRS232Cのケーブル5により不図示のハ
ードディスクを備えた計算機3に接続されている。プリ
ンタ2は、その動作状況を計算機3に知らせるプリンタ
動作状況通知部6(以下、通知部6と記す)と、計算機
3からの印刷データから画像イメージデータを生成する
画像イメージデータ生成部7(以下、生成部7と記す)
とを有している。また、計算機3は、プリンタ2に備え
られた生成部7と同等の機能を有する画像イメージデー
タ生成部8(以下、生成部8と記す)と、通知部6から
のプリンタ2の動作状況を検出するプリンタ動作状況検
出部9(以下、検出部9と記す)と、プリンタ2に対し
て印刷データ又は画像イメージデータを転送するデータ
転送部10(以下、転送部10と記す)とを有してい
る。上記プリンタシステム1の外観構成を図4に示して
いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram of a printer system according to a first embodiment to which the print data control method of the present invention is applied. The printer system 1 includes a printer 2 that generates image data from print data and performs printing, and a computer 3 that has a function of transferring the print data to the printer 2. Printer 2
It is connected to a computer 3 having a hard disk (not shown) by a cable 5 of, for example, RS232C, which can communicate bidirectionally via a bidirectional interface 4. The printer 2 includes a printer operation status notification unit 6 (hereinafter, referred to as a notification unit 6) that notifies the computer 3 of the operation status thereof, and an image image data generation unit 7 (hereinafter, image data generation unit 7) that generates image image data from print data from the computer 3. , Generating unit 7)
And Further, the computer 3 detects an operation state of the printer 2 from the notification unit 6, and an image data generator 8 (hereinafter, referred to as a generator 8) having a function equivalent to the generator 7 provided in the printer 2. And a data transfer unit 10 (hereinafter, referred to as a transfer unit 10) that transfers print data or image data to the printer 2. I have. FIG. 4 shows an external configuration of the printer system 1.

【0009】図2は、本発明の印刷データ制御方式が適
用される第2の実施例によるプリンタシステムの機能ブ
ロック図である。この実施例のプリンタシステム15で
はプリンタ2には第1の実施例とは異なり複数の計算機
3が接続されてネットワークが形成されている。プリン
タ2及び計算機3そのものは第1の実施例に示したもの
と同様のものであるが、第2の実施例ではプリンタ2及
び複数の計算機3が、ケーブル16によってイーサネッ
トなどのネットワーク17にインターフェース部18を
介して接続され、互いにデータの受け渡しが可能な状態
となっている。上記プリンタシステム15の外観構成を
図5に示している。
FIG. 2 is a functional block diagram of a printer system according to a second embodiment to which the print data control system of the present invention is applied. In the printer system 15 of this embodiment, unlike the first embodiment, a plurality of computers 3 are connected to the printer 2 to form a network. The printer 2 and the computer 3 are the same as those shown in the first embodiment, but in the second embodiment, the printer 2 and the plurality of computers 3 are connected to a network 17 such as an Ethernet by a cable 16. 18 and are in a state in which data can be exchanged with each other. FIG. 5 shows an external configuration of the printer system 15.

【0010】図3は、本発明の印刷データ制御方式が適
用される第3の実施例によるプリンタシステムの機能ブ
ロック図である。この実施例のプリンタシステム20で
はプリンタサーバ21を介してプリンタ2に接続された
複数の計算機30のネットワークが形成されており、さ
らに、プリンタサーバ21に、画像イメージデータ生成
部22(以下、生成部22と記す)、プリンタ動作状況
検出部23(以下、検出部23と記す)及びデータ転送
部24(以下、転送部24と記す)を備えている。プリ
ンタ2は上記第1、第2の実施例と同様のものであり、
また、計算機30は、第1、第2の実施例に図1(図
4)及び図2(図5)に示したものとは異なり生成部
8、検出部9を備えていない。また、プリンタサーバ2
1は、双方向インターフェース4を介してケーブル5に
よりに接続されている。さらに、プリンタサーバ21及
び計算機30は、ケーブル16によってネットワーク1
7にインターフェース部18を介して接続され、互いに
データの受け渡しが可能な状態となっている。上記プリ
ンタシステム20の外観構成を図6に示す。
FIG. 3 is a functional block diagram of a printer system according to a third embodiment to which the print data control system of the present invention is applied. In the printer system 20 of this embodiment, a network of a plurality of computers 30 connected to the printer 2 via a printer server 21 is formed. Further, the printer server 21 has an image data generator 22 (hereinafter referred to as a generator). 22), a printer operation status detection unit 23 (hereinafter, referred to as a detection unit 23), and a data transfer unit 24 (hereinafter, referred to as a transfer unit 24). The printer 2 is the same as the first and second embodiments,
Further, the computer 30 does not include the generation unit 8 and the detection unit 9 unlike the first and second embodiments shown in FIG. 1 (FIG. 4) and FIG. 2 (FIG. 5). Also, the printer server 2
1 is connected to a cable 5 via a bidirectional interface 4. Further, the printer server 21 and the computer 30 connect the network 1 with the cable 16.
7 are connected via an interface unit 18 so that data can be exchanged with each other. FIG. 6 shows an external configuration of the printer system 20.

【0011】次に、上記構成のプリンタシステム1,1
5,20の動作を説明する。プリンタシステム1,15
においては、プリンタ2に印刷させたい印刷データは利
用者により計算機3で作成又は編集され、印刷コマンド
を用いて、計算機3からプリンタ2が指定され、プリン
タ2が印刷処理中でなければ、計算機3は印刷データを
転送部10によりプリンタ2へ転送する。プリンタ2
は、生成部7により印刷データから画像イメージデータ
を生成し、印刷する。また、プリンタシステム20にお
いては、プリンタ2に印刷させたい印刷データは利用者
により計算機30で作成又は編集され、印刷コマンドを
用いて、計算機3からプリンタ2が指定され、印刷デー
タをプリンタサーバ21へ転送する。プリンタサーバ2
1は、プリンタ2が印刷処理中でなければ、印刷データ
を転送部24によりプリンタ2へ転送する。
Next, the printer systems 1 and 1 having the above-described configuration will be described.
Operations 5 and 20 will be described. Printer systems 1, 15
In, the print data to be printed by the printer 2 is created or edited by the computer 3 by the user, and the printer 2 is designated by the computer 3 using a print command. Transfers the print data to the printer 2 by the transfer unit 10. Printer 2
Generates image data from the print data by the generation unit 7 and prints the image data. In the printer system 20, print data to be printed by the printer 2 is created or edited by the computer 30 by the user, the printer 3 is designated by the computer 3 using a print command, and the print data is sent to the printer server 21. Forward. Printer server 2
1 transfers the print data to the printer 2 by the transfer unit 24 when the printer 2 is not performing the printing process.

【0012】そして、プリンタシステム1,15におけ
る計算機3及びプリンタシステム20におけるプリンタ
サーバ21は、上記のプリンタ2が印刷動作中にある
時、プリンタ2での印刷処理が完了するまで印刷データ
の転送を待たなければならない。この間を利用して計算
機3又はプリンタサーバ21は、プリンタ2が行うべき
画像データ生成処理を行い、プリンタ2が印刷動作中で
なくなれば、その時点までに生成した画像イメージデー
タ及び残りの印刷データを転送するようにしている。
The computer 3 in the printer systems 1 and 15 and the printer server 21 in the printer system 20 transfer the print data while the printer 2 is performing a printing operation until the printing process in the printer 2 is completed. have to wait. Utilizing this time, the computer 3 or the printer server 21 performs image data generation processing to be performed by the printer 2, and when the printer 2 is not performing a printing operation, the image data generated up to that point and the remaining print data are copied. I try to transfer.

【0013】図7は、第1、第2又は第3の実施例によ
るプリンタシステム1,15,20がプリンタ2の印刷
(以下、印字という)動作中に行うデータ処理手順を示
すフローチャートである。第1、第2の実施例のプリン
タシステム1,15において、計算機3はプリンタ2に
対して印字コマンドを発すると(S1・YES)、計算
機3は、プリンタ2に印字データの送信要求を発信す
る。プリンタ2は、この送信要求によって割り込み要求
が発生し、通常の処理とは異なる割り込み処理として、
現在のプリンタ2の動作状況を調べ、印字動作中であれ
ば送信不可の信号を、印字動作中でなければ送信可の信
号を通知部6により計算機3に返す。この応答により、
計算機3は、検出部9により通知部6からの信号を検出
し、プリンタ2が現在動作していなくて印字可能である
場合には(S2・YES)、送られてきた印字データを
プリンタ2に転送する(S3)。プリンタ2は、この印
字データを生成部7により画像イメージデータに変換す
る処理を行い、その後、印字出力を行う。計算機3は、
印字データの転送が終了すれば(S4・YES)、この
印字データ制御の処理を終了する。
FIG. 7 is a flowchart showing a data processing procedure performed by the printer system 1, 15, or 20 according to the first, second, or third embodiment during a printing (hereinafter, referred to as printing) operation of the printer 2. In the printer systems 1 and 15 of the first and second embodiments, when the computer 3 issues a print command to the printer 2 (S1 · YES), the computer 3 sends a print data transmission request to the printer 2. . The printer 2 generates an interrupt request by the transmission request, and performs an interrupt process different from the normal process.
The current operation status of the printer 2 is checked, and if a printing operation is being performed, a transmission disable signal is returned to the computer 3 by the notification unit 6 if the printing operation is not being performed. With this response,
The computer 3 detects the signal from the notifying unit 6 by the detecting unit 9 and, if the printer 2 is not operating at present and can print (S2: YES), sends the sent print data to the printer 2. Transfer (S3). The printer 2 performs a process of converting the print data into image data by the generation unit 7, and then performs a print output. Calculator 3
When the transfer of the print data is completed (S4: YES), the print data control process is completed.

【0014】一方、プリンタ2の通知部6からの応答に
より該プリンタ2が現在動作していて、印字データを受
け付けることができない場合には(S2・NO)、計算
機3は、転送された印字データからプリンタ2で変換処
理を行なわれることなく印字出力できる画像イメージデ
ータを生成部8により1ページ分だけ作成する(S
5)。計算機3は、この1ページの画像イメージデータ
の作成が終わると、作成された1ページ分の画像イメー
ジデータをファイルの形で、ハードディスクに保存する
(S6)。その後、計算機3は再度、プリンタ2に対し
て送信要求を発信する。プリンタ2は、この送信要求に
対して再度、上記の割り込み処理を行い、その結果を計
算機3に応答する。この応答により、プリンタ2が現在
動作している場合には(S7・NO)、計算機3は、プ
リンタ2にデータを転送することはできず、S5に戻っ
て次のページの画像イメージデータを作成する。このよ
うに、プリンタ1が印字処理動作中であれば、この待機
時間を利用して計算機3は生成部8で画像イメージデー
タを1ページ単位で作成する。
On the other hand, if the printer 2 is currently operating and cannot receive print data (S2: NO) according to the response from the notification unit 6 of the printer 2, the computer 3 transmits the transferred print data. The image data which can be printed out without being converted by the printer 2 from the printer 2 is generated by the generating unit 8 for one page (S
5). When the creation of the one-page image data is completed, the computer 3 saves the created one-page image data on the hard disk in the form of a file (S6). After that, the computer 3 sends a transmission request to the printer 2 again. The printer 2 performs the above-described interrupt processing again for this transmission request, and returns the result to the computer 3. If the response indicates that the printer 2 is currently operating (S7: NO), the computer 3 cannot transfer the data to the printer 2 and returns to S5 to create the image data of the next page. I do. As described above, while the printer 1 is performing the printing process, the computer 3 uses the standby time to generate the image data in the generating unit 8 in units of one page.

【0015】S7において、プリンタ2が印字動作を終
了して印字処理が可能な状態になれば(S7・YE
S)、計算機3は、上記S5で作成され、上記S6で保
存されていた画像イメージデータをページの順番にプリ
ンタ2に転送する(S8)。この転送された画像イメー
ジデータのファイルは、保存されていたハードディスク
から消去される。計算機3で作成された画像イメージデ
ータのプリンタ2への転送がすべて終わった後に(S9
・YES)、計算機3に送られた印字データのうち、計
算機3内で画像イメージデータに変換されていない印字
データが存在しなければ(S10・NO)、印字データ
の画像イメージデータへの変換がすべて完了しているの
で、印字データ制御の処理を終了する。
In S7, if the printer 2 completes the printing operation and becomes ready for printing (S7YE)
S), the computer 3 transfers the image data created in S5 and stored in S6 to the printer 2 in the order of pages (S8). The transferred image data file is erased from the stored hard disk. After all the image data created by the computer 3 have been transferred to the printer 2 (S9
(YES), if there is no print data that has not been converted into image image data in the computer 3 among the print data sent to the computer 3 (S10: NO), the conversion of the print data into image image data is not performed. Since all the printing has been completed, the print data control process ends.

【0016】上記S10において、計算機3内に画像イ
メージデータに変換されていない印字データが存在すれ
ば(S10・YES)、その残りの印字データはプリン
タ2に転送され(S11)、プリンタ2に転送された印
字データは、プリンタ2内で生成部7により画像イメー
ジデータに変換され印字出力される。計算機3は、印字
データの転送が終了すれば(S12・YES)、この印
字データ制御の処理を終了する。
In S10, if there is print data not converted to image data in the computer 3 (S10: YES), the remaining print data is transferred to the printer 2 (S11) and transferred to the printer 2. The generated print data is converted into image data by the generation unit 7 in the printer 2 and printed out. When the transfer of the print data is completed (S12: YES), the computer 3 ends the print data control process.

【0017】次に、第3の実施例によるプリンタシステ
ム20がプリンタ2の印字動作中に行うデータ処理手順
を同じ図7を用いて説明する。プリンタサーバ21は計
算機30から送られた印字コマンドを受け取ると(S1
・YES)、プリンタサーバ21は、プリンタ2に印字
データの送信要求を発信する。プリンタ2は、この送信
要求によって割り込み要求が発生し、通常の処理とは異
なる割り込み処理として、現在のプリンタ2の動作状況
を調べ、印字動作中であれば送信不可の信号を、印字動
作中でなければ送信可の信号を通知部6によりプリンタ
サーバ21に返す。この応答により、プリンタサーバ2
1は、検出部23により通知部6からの信号を検出し、
プリンタ2が現在動作していなくて印字可能である場合
には(S2・YES)、送られてきた印字データをプリ
ンタ2に転送する(S3)。プリンタ2は、この印字デ
ータを生成部7により画像イメージデータに変換する処
理を行い、その後、印字出力を行う。プリンタサーバ2
1は、印字データの転送が終了すれば(S4・YE
S)、この印字データ制御の処理を終了する。
Next, a data processing procedure performed by the printer system 20 according to the third embodiment during the printing operation of the printer 2 will be described with reference to FIG. The printer server 21 receives the print command sent from the computer 30 (S1).
(YES), the printer server 21 sends a print data transmission request to the printer 2. The printer 2 generates an interrupt request due to the transmission request. As an interrupt process different from the normal process, the printer 2 checks the current operation status of the printer 2, and if a print operation is in progress, sends a transmission disable signal during the print operation. If not, a signal indicating that transmission is possible is returned to the printer server 21 by the notification unit 6. With this response, the printer server 2
1 detects a signal from the notification unit 6 by the detection unit 23,
If the printer 2 is not currently operating and can print (S2: YES), the received print data is transferred to the printer 2 (S3). The printer 2 performs a process of converting the print data into image data by the generation unit 7, and then performs a print output. Printer server 2
1 indicates that the transfer of the print data is completed (S4 · YE
S), the print data control process ends.

【0018】一方、プリンタ2の通知部6からの応答に
より該プリンタ2が現在動作していて、印字データを受
け付けることができない場合には(S2・NO)、プリ
ンタサーバ21は、転送された印字データからプリンタ
2で変換処理を行なわれることなく印字出力できる画像
イメージデータを生成部22により1ページ分だけ作成
する(S5)。プリンタサーバ21は、この1ページの
画像イメージデータの作成が終わると、作成された1ペ
ージ分の画像イメージデータをファイルの形で、ハード
ディスクに保存する(S6)。その後、プリンタサーバ
21は再度、プリンタ2に対して送信要求を発信する。
プリンタ2は、この送信要求に対して再度、上記の割り
込み処理を行い、その結果をプリンタサーバ21に応答
する。この応答により、プリンタ2が現在動作している
場合には(S7・NO)、プリンタサーバ21は、プリ
ンタ2にデータを転送することはできず、S5に戻って
次のページの画像イメージデータを作成する。このよう
に、プリンタ2が印字処理動作中であれば、この待機時
間を利用してプリンタサーバ21は生成部22で画像イ
メージデータを1ページ単位で作成する。
On the other hand, if the printer 2 is currently operating and cannot receive print data according to the response from the notification unit 6 of the printer 2 (S2: NO), the printer server 21 The image data which can be printed out from the data without being converted by the printer 2 is generated by the generating unit 22 for one page (S5). When the creation of the one-page image data is completed, the printer server 21 saves the created one-page image data on the hard disk in the form of a file (S6). Thereafter, the printer server 21 sends a transmission request to the printer 2 again.
The printer 2 performs the above-described interrupt processing again for the transmission request, and returns the result to the printer server 21. According to this response, if the printer 2 is currently operating (S7: NO), the printer server 21 cannot transfer the data to the printer 2, and returns to S5 to copy the image data of the next page. create. As described above, if the printer 2 is performing the printing process, the printer server 21 creates the image data in the unit of one page by the generation unit 22 using the waiting time.

【0019】上記S7において、プリンタ2が印字動作
を終了して印字処理が可能な状態になれば(S7・YE
S)、プリンタサーバ21は、上記S5で作成され、上
記S6で保存されていた画像イメージデータをページの
順番にプリンタ2に転送する(S8)。この転送された
画像イメージデータのファイルは、保存されていたハー
ドディスクから消去される。プリンタサーバ21で作成
された画像イメージデータのプリンタ2への転送がすべ
て終わった後に(S9・YES)、プリンタサーバ21
に送られた印字データのうち、プリンタサーバ21内で
画像イメージデータに変換されていない印字データが存
在しなければ(S10・NO)、印字データの画像イメ
ージデータへの変換がすべて完了しているので、印字デ
ータ制御の処理を終了する。
In S7, if the printer 2 completes the printing operation and becomes ready for printing (S7 · YE
S), the printer server 21 transfers the image data created in S5 and stored in S6 to the printer 2 in the order of pages (S8). The transferred image data file is erased from the stored hard disk. After the transfer of the image data generated by the printer server 21 to the printer 2 is completed (S9: YES), the printer server 21
If there is no print data in the printer server 21 that has not been converted to image data in the print data sent to the printer server 21 (S10: NO), all the conversion of the print data to image data has been completed. Therefore, the print data control process ends.

【0020】上記S10において、プリンタサーバ21
内に画像イメージデータに変換されていない印字データ
が存在すれば(S10・YES)、その残りの印字デー
タはプリンタ2に転送され(S11)、プリンタ2に転
送された印字データは、プリンタ2内で生成部7により
画像イメージデータに変換され印字出力される。プリン
タサーバ21は、印字データの転送が終了すれば(S1
2・YES)、この印字データ制御の処理を終了する。
At S10, the printer server 21
If there is any print data that has not been converted into image data (S10, YES), the remaining print data is transferred to the printer 2 (S11), and the print data transferred to the printer 2 is stored in the printer 2. Is converted into image data by the generation unit 7 and printed out. If the transfer of the print data is completed (S1)
2. YES), the printing data control process ends.

【0021】このように、本発明のデータ制御方式は、
プリンタ2の印字動作中に印字データの転送を待機して
いる間、プリンタシステム1,15における計算機3の
生成部8又はプリンタシステム20におけるプリンタサ
ーバ21の生成部22により印字データから画像イメー
ジデータを生成するようにしたので、プリンタ2の印字
動作が終了すれば速やかに待機していたデータの印字を
始めることができ、プリンタ2の印字効率が向上し、シ
ステム全体としての印字時間は高速になる。また、待機
時間中の計算機3又はプリンタサーバ21の生成部8又
は22における画像イメージデータの生成が1ページ終
了する毎に、検出部9又は23によりプリンタ2が印字
動作中であるかを検出するようにしているので、プリン
タ2の印字終了時に生成した画像イメージデータと残り
の印字データとは直ぐにプリンタ2に転送され、従っ
て、印字が高速に行える。
As described above, the data control method of the present invention
While waiting for transfer of print data during the printing operation of the printer 2, the generation unit 8 of the computer 3 in the printer systems 1 and 15 or the generation unit 22 of the printer server 21 in the printer system 20 converts the image data from the print data. Since the data is generated, when the printing operation of the printer 2 is completed, the printing of the waiting data can be started immediately, the printing efficiency of the printer 2 improves, and the printing time of the entire system becomes faster. . Further, each time the generation of the image data in the generation unit 8 or 22 of the computer 3 or the printer server 21 during the standby time is completed for one page, the detection unit 9 or 23 detects whether the printer 2 is performing a printing operation. As a result, the image data generated at the end of printing by the printer 2 and the remaining print data are immediately transferred to the printer 2, so that printing can be performed at high speed.

【0022】なお、本発明は上記実施例構成に限られず
種々の変形が可能である。例えば、プリンタシステム1
において、プリンタ2と計算機3とを接続するケーブル
5はRS232Cを使用しているが、セントロニクス規
格のケーブルを用いてもよい。また、プリンタシステム
15においては、プリンタ5は、複数の計算機3と同じ
インターフェイス部18を介して接続されていても構わ
ない。また、プリンタシステム20においては、プリン
タ2とプリンタサーバ21とを接続するケーブル5はR
S232Cを使用しているが、セントロニクス規格のケ
ーブルを用いてもよい。
It should be noted that the present invention is not limited to the configuration of the above embodiment, and various modifications are possible. For example, printer system 1
In the above, the cable 5 connecting the printer 2 and the computer 3 uses RS232C, but a cable conforming to the Centronics standard may be used. Further, in the printer system 15, the printer 5 may be connected to the plurality of computers 3 via the same interface unit 18. In the printer system 20, the cable 5 connecting the printer 2 and the printer server 21
Although S232C is used, a cable conforming to the Centronics standard may be used.

【0023】[0023]

【0024】[0024]

【発明の効果】以上のように、請求項1の印刷データ制
御方式によれば、計算機からプリンタに対して印刷要求
が発せられたときに計算機にある印刷データはプリンタ
サーバに転送され、プリンタサーバからプリンタに印刷
データを転送しようとしたとき、プリンタサーバはプリ
ンタの動作状況を検出して、プリンタが印刷動作中であ
ればプリンタサーバは計算機から転送された印刷データ
から画像イメージデータの生成を行い、プリンタの印刷
動作が終了したときに、速やかに上記により作成された
画像イメージデータを転送して印刷するようにしたの
で、プリンタサーバのデータ転送待機時間の無駄をなく
することができ、能率よく印刷することができる。
As described above , according to the print data control method of the first aspect , when a print request is issued from a computer to a printer, the print data in the computer is transferred to a printer server, and When trying to transfer print data from the printer to the printer, the printer server detects the operation status of the printer, and if the printer is performing printing, the printer server generates image data from the print data transferred from the computer. When the printing operation of the printer is completed, the image data created as described above is immediately transferred and printed, so that the data transfer waiting time of the printer server can be prevented from being wasted, and the efficiency can be improved. Can be printed.

【0025】また、請求項2の印刷データ制御方式によ
れば、計算機又はプリンタサーバは、プリンタが印刷動
作中であると検出したとき、1ページ毎に画像イメージ
データの生成を行い、1ページ分の画像イメージデータ
の生成を終える毎にプリンタが印刷動作中であるか否か
を検出するようにし、プリンタが空き次第、直ちに生成
した画像イメージデータ及び残りの印刷データを転送す
るようにしたので、高効率、かつ高速にて印刷を行え
る。
According to the print data control method of the second aspect , when the computer or the printer server detects that the printer is performing a printing operation, it generates image image data for each page, and executes the processing for one page. Each time the generation of the image data is completed, the printer detects whether or not the printing operation is being performed, and as soon as the printer becomes available, the generated image data and the remaining print data are transferred immediately. Printing can be performed with high efficiency and high speed.

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

【図1】本発明の第1の実施例による印刷データ制御方
式が適用されるプリンタシステムの機能ブロック図であ
る。
FIG. 1 is a functional block diagram of a printer system to which a print data control method according to a first embodiment of the present invention is applied.

【図2】本発明の第2の実施例による印刷データ制御方
式が適用されるプリンタシステムの機能ブロック図であ
る。
FIG. 2 is a functional block diagram of a printer system to which a print data control method according to a second embodiment of the present invention is applied.

【図3】本発明の第3の実施例による印刷データ制御方
式が適用されるプリンタシステムの機能ブロック図であ
る。
FIG. 3 is a functional block diagram of a printer system to which a print data control method according to a third embodiment of the present invention is applied.

【図4】第1の実施例のプリンタシステムを示す外観構
成図である。
FIG. 4 is an external configuration diagram illustrating the printer system according to the first embodiment.

【図5】第2の実施例のプリンタシステムを示す外観構
成図である。
FIG. 5 is an external configuration diagram illustrating a printer system according to a second embodiment.

【図6】第3の実施例のプリンタシステムを示す外観構
成図である。
FIG. 6 is an external configuration diagram illustrating a printer system according to a third embodiment.

【図7】第1、第2の実施例によるプリンタシステムの
計算機、又は第3の実施例によるプリンタシステムのプ
リンタサーバ内でのデータ処理手順を示すフローチャー
トである。
FIG. 7 is a flowchart showing a data processing procedure in a computer of the printer system according to the first and second embodiments or in a printer server of the printer system according to the third embodiment.

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

1,15,20 プリンタシステム 2 プリンタ 3 計算機 6, プリンタ動作状況通知部 8,22 画像イメージデータ生成部 9,23 プリンタ動作状況検出部 10,24 データ転送部 17 ネットワーク 21 プリンタサーバ 1, 15, 20 Printer system 2 Printer 3 Computer 6, Printer operation status notification unit 8, 22 Image / image data generation unit 9, 23 Printer operation status detection unit 10, 24 Data transfer unit 17 Network 21 Printer server

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印刷データから画像イメージデータを生
成し印刷を行うプリンタと、前記プリンタに接続され双
方向に通信可能なプリンタサーバと、前記プリンタサー
バにネットワークを介して接続され印刷データを転送す
る機能を有した複数の計算機とからなる印刷データ制御
方式において、 前記プリンタは、その動作状況を前記プリンタサーバに
知らせる通知手段を備え、 前記プリンタサーバは、前記通知手段からのプリンタの
動作状況を検出する検出手段と、前記計算機からの指令
により前記プリンタに対して印刷要求を発した時に、前
記検出手段により前記プリンタが印刷動作中であること
が検出された場合、前記計算機より転送された印刷デー
タから画像イメージデータの生成を行なう画像イメージ
データ生成手段と、前記印刷データ又は前記画像イメー
ジデータを前記プリンタに転送する転送手段とを備えた
ことを特徴とする印刷データ制御方式。
1. A printer for generating image data from print data and printing the image data, a printer server connected to the printer and capable of bidirectional communication, and connected to the printer server via a network to transfer the print data. In a print data control system including a plurality of computers having functions, the printer includes a notification unit that notifies the printer server of an operation state thereof, and the printer server detects an operation state of the printer from the notification unit. Detecting means for performing a print request to the printer in accordance with a command from the computer, and when the detecting means detects that the printer is performing a printing operation, the print data transferred from the computer. Image data generating means for generating image data from the image data; Print data control method, characterized in that data or the picture image data and a transfer means for transferring to the printer.
【請求項2】 前記計算機又はプリンタサーバは、前記
検出手段により前記プリンタが印刷動作中であることが
検出された場合に、前記画像イメージデータ生成手段に
より1ページ分の画像イメージデータの生成を終える毎
に、前記検出手段により前記プリンタが印刷動作中であ
るか否かを検出するものであることを特徴とする請求項
に記載の印刷データ制御方式。
2. The computer or printer server terminates generation of one page of image data by the image data generating unit when the detecting unit detects that the printer is performing a printing operation. The apparatus according to claim 1 , wherein the detecting unit detects whether or not the printer is performing a printing operation.
2. The print data control method according to 1.
JP02602495A 1995-01-20 1995-01-20 Print data control method Expired - Fee Related JP3168853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02602495A JP3168853B2 (en) 1995-01-20 1995-01-20 Print data control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02602495A JP3168853B2 (en) 1995-01-20 1995-01-20 Print data control method

Publications (2)

Publication Number Publication Date
JPH08202516A JPH08202516A (en) 1996-08-09
JP3168853B2 true JP3168853B2 (en) 2001-05-21

Family

ID=12182142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02602495A Expired - Fee Related JP3168853B2 (en) 1995-01-20 1995-01-20 Print data control method

Country Status (1)

Country Link
JP (1) JP3168853B2 (en)

Also Published As

Publication number Publication date
JPH08202516A (en) 1996-08-09

Similar Documents

Publication Publication Date Title
JP3565567B2 (en) Switching device and method for sharing peripheral device
JP3325908B2 (en) Switching system for sharing peripheral devices
JPH07281848A (en) Remote control printing system and its computer
JPH04259028A (en) Scaling system for pcl vertical graphics in macro use
JP3168853B2 (en) Print data control method
JPH064239A (en) Printer server system for lan
JP3239703B2 (en) Data transfer system, data processing device, printer, and data transfer method
JP2001067193A (en) Printing system, printer and its controlling method
JP3740289B2 (en) Image input device, information processing apparatus, image input method and information processing method, and computer-readable storage medium
JP3153347B2 (en) Control method of image recording apparatus
JP3239702B2 (en) Data transfer system, data processing device, printer, and data transfer method
JP3197616B2 (en) Printer control method, printer control device, printer control system, information processing device, and data registration method
JP2707963B2 (en) Printing system
JP3004440B2 (en) Printing method and apparatus
JP4164243B2 (en) Print monitoring system, print monitoring method, and computer program
JP3195097B2 (en) Output control method and device
JP3283744B2 (en) Output system and data processing method
JP3046478B2 (en) Printing apparatus and printing method
JP2004062875A (en) Printing system, printer, and printing control method
JPS59123987A (en) Print data developing method of image memory
JPH04233028A (en) Printer
JPH04173270A (en) Dot printer control system
JPH06195180A (en) Control system for printer for server/client system
JPH11175269A (en) Host device
JPH10320155A (en) Image processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20080316

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090316

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090316

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20140316

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees