JPH06348436A - Remote printing system - Google Patents

Remote printing system

Info

Publication number
JPH06348436A
JPH06348436A JP5138625A JP13862593A JPH06348436A JP H06348436 A JPH06348436 A JP H06348436A JP 5138625 A JP5138625 A JP 5138625A JP 13862593 A JP13862593 A JP 13862593A JP H06348436 A JPH06348436 A JP H06348436A
Authority
JP
Japan
Prior art keywords
print
printer
control unit
client
remote
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
Application number
JP5138625A
Other languages
Japanese (ja)
Other versions
JP3502122B2 (en
Inventor
Makoto Kitagawa
誠 北川
Saiji Kageyama
斎司 蔭山
Takuya Shimakawa
卓也 島川
Naomi Tamura
奈緒美 田村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP13862593A priority Critical patent/JP3502122B2/en
Publication of JPH06348436A publication Critical patent/JPH06348436A/en
Application granted granted Critical
Publication of JP3502122B2 publication Critical patent/JP3502122B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To allow a computer requesting printing operation to control the operation of a remote computer and a printer connected to the computer in the case of sharing the printer among plural computers connected to a network. CONSTITUTION:A remote printer control part 126 in a client 120 transmits a control command describing an instruction for controlling a print server 110 and a printer 130 to the server 110 and an operation control part 116 in the print server 110 controls the operation of at least one of a printing job receiving part 112, a queue managing part 113, a printing control part 115, and a printer 130 based on an instruction described in a control command transmitted from the client 120. The operation control part 116 can also be driven when a certification control part 117 certifies the validity of the control command.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークに接続さ
れた複数のコンピュータ(以下、ホストと称す。)間で
プリンタを共有して印刷を行う際に、プリンタが接続さ
れたホスト(以下、プリントサーバと称す。)および該
プリンタ、または、ネットワークに接続されたプリンタ
(以下、ネットワークプリンタと称す。)の動作を、プ
リントサーバ以外のホスト(以下、クライアントと称
す。)が制御することを可能とするリモート印刷システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a host (hereinafter, referred to as a print) to which a printer is connected when a plurality of computers (hereinafter referred to as hosts) connected to a network share the printer and perform printing. It is possible for a host (hereinafter, referred to as a client) other than the print server to control the operations of the server and the printer or a printer connected to the network (hereinafter, referred to as a network printer). Remote printing system.

【0002】[0002]

【従来の技術】近年、ネットワークに接続された複数の
ホスト間でプリンタを共有して印刷を行うリモート印刷
システムが普及してきている。このようなリモート印刷
システムの例としては、例えば、特開平4−31711
8号公報や特開平3−232014号公報に記載されて
いる。
2. Description of the Related Art In recent years, a remote printing system has become widespread in which a plurality of hosts connected to a network share a printer for printing. An example of such a remote printing system is, for example, JP-A-4-31711.
No. 8 and JP-A-3-232014.

【0003】以下、ローカルエリアネットワーク(以
下、LANと称す。)に接続された複数のホスト間でプ
リンタを共有するリモート印刷システムの一般的な従来
例について、図2を用いて説明する。
A general conventional example of a remote printing system in which a plurality of hosts connected to a local area network (hereinafter referred to as LAN) share a printer will be described below with reference to FIG.

【0004】図2の例では、クライアント220が、S
CSIインタフェース240(ANSI X3.131−
1986,X3T9.2/86ー109等)を用いて、
プリントサーバ210に接続されたプリンタ230を、
LAN200に接続された他のクライアントと共有して
印刷を行う例を示している。また、図2では、LAN2
00に接続されたプリントサーバ210,クライアント
220を、それぞれ1台のみ示し、他のクライアントお
よびプリントサーバについては省略している。
In the example of FIG. 2, the client 220 uses the S
CSI interface 240 (ANSI X3.131-
1986, X3T9.2 / 86-109 etc.)
The printer 230 connected to the print server 210,
An example is shown in which printing is performed in common with another client connected to the LAN 200. In addition, in FIG.
Only one print server 210 and one client 220 connected to 00 are shown, and other clients and print servers are omitted.

【0005】図2において、クライアント220は、ネ
ットワーク通信部221,印刷ジョブ送信部222,キ
ュー227,キュー管理部223,印刷プロセス22
4,外部記憶装置225から構成されており、プリント
サーバ210に印刷を依頼して、プリンタ230へのリ
モート印刷を行う。一方、プリントサーバ210は、ネ
ットワーク通信部211,印刷ジョブ受信部212,キ
ュー214,キュー管理部213,印刷制御部215か
ら構成されており、クライアント220からの印刷要求
を受け付け、プリンタ230で印刷を行う。
In FIG. 2, the client 220 includes a network communication unit 221, a print job transmission unit 222, a queue 227, a queue management unit 223, and a printing process 22.
4. The external storage device 225 is configured to request the print server 210 to perform printing and to perform remote printing to the printer 230. On the other hand, the print server 210 includes a network communication unit 211, a print job receiving unit 212, a queue 214, a queue management unit 213, and a print control unit 215. The print server 210 accepts a print request from the client 220 and prints with the printer 230. To do.

【0006】以下、外部記憶装置225に記憶されたテ
キストデータや図形データ等のファイル226をプリン
タ230で印刷する場合の動作について説明する。
The operation of printing the file 226 of text data, graphic data, etc. stored in the external storage device 225 with the printer 230 will be described below.

【0007】クライアント220においては、ユーザま
たはアプリケーションプログラムが、ファイル226の
プリンタ230への印刷を指示するための印刷命令を発
行することにより、印刷プロセス224が起動される。
In the client 220, the user or application program issues a print command for instructing the printing of the file 226 to the printer 230, so that the print process 224 is activated.

【0008】印刷プロセス224は、起動されると、指
示されたファイル226を外部記憶装置225から読み
出し、指示されたプリンタ230へ印刷を行うために、
印刷ジョブを生成する。続いて、印刷プロセス224
は、生成した印刷ジョブをキュー管理部223に渡し、
処理を終了する。
When the print process 224 is activated, it reads the instructed file 226 from the external storage device 225 and prints to the instructed printer 230.
Generate a print job. Then, the printing process 224
Passes the generated print job to the queue management unit 223,
The process ends.

【0009】キュー管理部223は、渡された印刷ジョ
ブをキュー227に格納する。キュー227は、印刷ジ
ョブの待ち行列であり、印刷ジョブを印刷される順番に
並べたものであり、印刷するプリンタごとに対応したキ
ュー227が存在する。
The queue management unit 223 stores the delivered print job in the queue 227. The queue 227 is a queue for print jobs, in which print jobs are arranged in the order in which they are printed, and there is a queue 227 corresponding to each printer that prints.

【0010】キュー227に印刷ジョブが格納される
と、印刷ジョブ送信部222は、印刷ジョブを読み出
し、ネットワーク通信部221を通して、プリントサー
バ210に送信する。ネットワーク通信部221は、ネ
ットワークに対応したプロトコル処理を行って、LAN
200に接続されている他のホストとの間の通信を制御
するものである。その後、印刷ジョブ送信部222は、
ネットワーク通信部221を通して、プリントサーバ2
10からの受信確認応答を受信すると、キュー管理部2
23にその旨を通知し、キュー管理部223は、受信が
確認された印刷ジョブを削除し、送信処理を終了する。
When the print job is stored in the queue 227, the print job transmission unit 222 reads the print job and transmits it to the print server 210 through the network communication unit 221. The network communication unit 221 performs protocol processing corresponding to the network and
It controls communication with other hosts connected to the 200. After that, the print job transmission unit 222
Through the network communication unit 221, the print server 2
When the reception confirmation response from 10 is received, the queue management unit 2
The queue management unit 223 deletes the print job whose reception is confirmed, and ends the transmission process.

【0011】一方、プリントサーバ210においては、
印刷ジョブ受信部212は、ネットワーク通信部211
を通して、クライアント220から送信されてきた印刷
ジョブを受信すると、これらをキュー管理部213に渡
す。ネットワーク通信部211は、ネットワークに対応
したプロトコル処理を行って、LAN200に接続され
ている他のホストとの通信を制御するものである。
On the other hand, in the print server 210,
The print job receiving unit 212 is the network communication unit 211.
When the print job transmitted from the client 220 is received through the above, the print job is passed to the queue management unit 213. The network communication unit 211 performs protocol processing corresponding to the network and controls communication with other hosts connected to the LAN 200.

【0012】キュー管理部213は、渡された印刷ジョ
ブをキュー214に格納する。キュー214は、印刷ジ
ョブの待ち行列であり、印刷ジョブを印刷される順番に
並べたものである。
The queue management unit 213 stores the delivered print job in the queue 214. The queue 214 is a queue of print jobs, and print jobs are arranged in the order of printing.

【0013】印刷ジョブ受信部212は、印刷ジョブの
受信を終了すると、ネットワーク通信部211を通し
て、クライアント220に印刷ジョブの受信確認応答を
送信し、処理を終了する。
When the print job receiving unit 212 finishes receiving the print job, the print job receiving unit 212 transmits a print job reception confirmation response to the client 220 through the network communication unit 211, and finishes the process.

【0014】続いて、印刷制御部215は、キュー21
4の先頭から印刷ジョブを取り出し、SCSIインタフ
ェース240を通して、プリンタ230に送信する。
Subsequently, the print controller 215 causes the queue 21
The print job is taken out from the head of No. 4 and transmitted to the printer 230 through the SCSI interface 240.

【0015】プリンタ230においては、プリンタコン
トローラ(PRC)231は、SCSIインタフェース
240を通して、印刷制御部215からの印刷ジョブを
受信すると、描画処理を行い、描画処理結果(以下、描
画データと称す。)を、プリンタエンジンインタフェー
ス612を通して、プリンタエンジン232に渡す。プ
リンタエンジン232は、渡された描画データに基づい
て、プリンタ印刷メカニズムを制御し、印刷を行う。
In the printer 230, when the printer controller (PRC) 231 receives a print job from the print control unit 215 through the SCSI interface 240, it performs drawing processing and drawing processing results (hereinafter referred to as drawing data). To the printer engine 232 through the printer engine interface 612. The printer engine 232 controls the printer printing mechanism based on the passed drawing data to perform printing.

【0016】印刷制御部215は、印刷終了時に、キュ
ー214から印刷ジョブを削除する。
The print control unit 215 deletes the print job from the queue 214 at the end of printing.

【0017】以上説明したような印刷ジョブの生成,送
信,受信,印刷の手順は、ラインプリンタデーモン(l
pd),lpdプロトコル(Request for Comments 1
179),TCP(Transmission Control Protocol)
/IP(Internet Protocol)等を用いて実現すること
ができる。
The procedure for generating, transmitting, receiving, and printing a print job as described above is performed by the line printer daemon (l
pd), lpd protocol (Request for Comments 1
179), TCP (Transmission Control Protocol)
/ IP (Internet Protocol) or the like.

【0018】例えば、lpdを用いて実現したシステム
においては、印刷プロセス224は、lprと呼ばれ、
キュー管理部213,223は、スプーラと呼ばれ、印
刷ジョブ送信部222,印刷ジョブ受信部212,印刷
制御部215は、lpdと呼ばれる。また、ネットワー
ク通信部211,221は、TCP/IPプロトコルで
ある。
For example, in a system implemented using lpd, print process 224 is called lpr,
The queue management units 213 and 223 are called a spooler, and the print job transmission unit 222, the print job reception unit 212, and the print control unit 215 are called an lpd. The network communication units 211 and 221 are TCP / IP protocols.

【0019】[0019]

【発明が解決しようとする課題】上述した従来のリモー
ト印刷システムにおいては、印刷を要求するクライアン
ト220において、ローカルに、印刷プロセス224お
よび印刷ジョブ送信部222の動作を制御するためのコ
マンド(lpdを用いて実現したシステムにおいては、
lpcと呼ばれる。)はあったが、遠隔地にあるプリン
トサーバ210の印刷ジョブ受信部212および印刷制
御部215の動作を制御するための手段はなかった。
In the above-described conventional remote printing system, the command (lpd is used to locally control the operation of the print process 224 and the print job transmission unit 222 in the client 220 that requests printing. In the system realized by using
called lpc. However, there is no means for controlling the operations of the print job receiving unit 212 and the print control unit 215 of the print server 210 in a remote place.

【0020】また、lpcを用いると、クライアント2
20は、ローカルに、キュー227内の印刷ジョブの順
番を操作することはできたが、遠隔地にあるプリントサ
ーバ210のキュー214内の印刷ジョブの順番を操作
することはできなかった。
If lpc is used, the client 2
20 can locally operate the order of the print jobs in the queue 227, but cannot operate the order of the print jobs in the queue 214 of the print server 210 at the remote location.

【0021】さらに、クライアント220にプリンタ2
30とは別のプリンタをSCSIインタフェース等を用
いて接続してファイル226を印刷するような場合に
は、クライアント220は、ローカルに、該別のプリン
タを制御することはできたが、遠隔地にあるプリンタ2
30の動作を制御することはできなかった。
Further, the printer 220 is connected to the client 220.
When a printer other than 30 is connected using a SCSI interface or the like to print the file 226, the client 220 can control the other printer locally but at a remote location. A printer 2
It was not possible to control the operation of 30.

【0022】ところで、クライアント220が遠隔地に
あるプリントサーバ210やプリンタ230の動作を制
御することを可能とする場合に、任意のクライアント2
20からの制御を許すと、他のクライアント220が印
刷を要求する際に、印刷が行われない等の不都合が生じ
る可能性がある。従って、プリントサーバ210やプリ
ンタ230の動作を制御することができるクライアント
220およびユーザを制限することが必要である。
By the way, when it is possible for the client 220 to control the operation of the print server 210 or the printer 230 in a remote place, the arbitrary client 2
When the control from 20 is permitted, when another client 220 requests printing, there is a possibility that printing may not be performed and other inconvenience may occur. Therefore, it is necessary to limit the clients 220 and users who can control the operations of the print server 210 and the printer 230.

【0023】本発明の第1の目的は、クライアントが、
プリントサーバおよびプリントサーバに接続されたプリ
ンタの動作を制御することができるようにすることにあ
る。
A first object of the present invention is that a client
It is possible to control the operation of the print server and the printer connected to the print server.

【0024】本発明の第2の目的は、プリントサーバお
よびプリントサーバに接続されたプリンタの動作を制御
することができるクライアントおよびユーザを制限する
ことができるようにすることにある。
A second object of the present invention is to make it possible to restrict the clients and users who can control the operation of the print server and the printer connected to the print server.

【0025】本発明の第3の目的は、ネットワークプリ
ンタを用いたリモート印刷システムにおいても、上記第
1の目的および上記第2の目的を達成することができる
ようにすることにある。
A third object of the present invention is to make it possible to achieve the first object and the second object even in a remote printing system using a network printer.

【0026】[0026]

【課題を解決するための手段】上記第1の目的を達成す
るために、本発明は、ネットワークと、ネットワークに
接続された複数のクライアントと、ネットワークに接続
された少なくとも1つのプリントサーバとからなり、ク
ライアントがプリントサーバに印刷ジョブを送信するこ
とにより、プリントサーバに接続されたプリンタを共有
して印刷を行うリモート印刷システムにおいて、クライ
アントに、プリントサーバおよびプリンタを制御するた
めの命令を記述した制御コマンドをプリントサーバに送
信するリモートプリンタ制御部を設けるようにしてい
る。また、プリントサーバは、印刷ジョブを受信する印
刷ジョブ受信部と、印刷ジョブの待ち行列であるキュー
を管理するキュー管理部と、プリンタの動作を制御する
印刷制御部を備えており、さらに、このプリントサーバ
に、クライアントから送信された制御コマンドを受信
し、受信した制御コマンドに記述されている命令に基づ
いて、印刷ジョブ受信部,キュー管理部,印刷制御部,
プリンタのうちの少なくとも1つの動作を制御する動作
制御部を設けるようにしている。
In order to achieve the first object, the present invention comprises a network, a plurality of clients connected to the network, and at least one print server connected to the network. , In a remote printing system in which a client sends a print job to a print server to share a printer connected to the print server for printing, a control in which a command for controlling the print server and the printer is written to the client is described. A remote printer control unit that sends commands to the print server is provided. Further, the print server includes a print job receiving unit that receives a print job, a queue management unit that manages a queue that is a queue of print jobs, and a print control unit that controls the operation of the printer. The print server receives the control command transmitted from the client, and based on the command described in the received control command, the print job receiving unit, the queue management unit, the print control unit,
An operation control unit for controlling the operation of at least one of the printers is provided.

【0027】これにより、クライアントから遠隔地にあ
るプリントサーバおよびプリントサーバに接続されてい
るプリンタの動作を制御することができるようになる。
As a result, the client can control the operation of the print server at the remote location and the printer connected to the print server.

【0028】上記第2の目的を達成するために、本発明
は、さらに、プリントサーバに、プリントサーバおよび
プリンタの動作を制御することが許可されている、クラ
イアントおよび/またはクライアントのユーザを記憶し
ている認証テーブルを有する認証制御部を設けるように
し、認証制御部は、制御コマンドの送信元であるクライ
アントおよび/または該クライアントのユーザが認証テ
ーブルに記憶されている場合に、該制御コマンドを認証
するようにし、動作制御部は、認証制御部が制御コマン
ドを認証した場合に、受信した制御コマンドに記述され
ている命令に基づく動作を行うようにしている。
To achieve the above second object, the present invention further stores in the print server a client and / or a user of the client who is permitted to control the operation of the print server and the printer. An authentication control unit having an authentication table is provided, and the authentication control unit authenticates the control command when the client that is the sender of the control command and / or the user of the client is stored in the authentication table. In this way, when the authentication control unit authenticates the control command, the operation control unit performs the operation based on the command described in the received control command.

【0029】これにより、遠隔地にあるプリントサーバ
およびプリンタの動作を制御することができるクライア
ントおよびユーザを制限することができるようになる。
This makes it possible to limit the clients and users who can control the operations of print servers and printers at remote locations.

【0030】上記第3の目的を達成するために、本発明
は、ネットワークと、ネットワークに接続されて互いに
通信を行う複数のホストと、ネットワークに接続された
少なくとも1つのネットワークプリンタとからなり、ホ
ストがネットワークプリンタに印刷ジョブを送信するこ
とにより、ネットワークプリンタを共有して印刷を行う
リモート印刷システムにおいて、ネットワークプリンタ
の構成を、上述したプリントサーバと同様な構成にする
ことにより、ネットワークプリンタにプリントサーバの
機能を持たせるようにし、さらに、このようなネットワ
ークプリンタを用いたリモート印刷システムにおいて、
上記目的を達成することができるようにした。
In order to achieve the third object, the present invention comprises a network, a plurality of hosts connected to the network for communicating with each other, and at least one network printer connected to the network. In a remote printing system in which a printer sends a print job to a network printer to perform printing by sharing the network printer, the network printer has a configuration similar to that of the print server described above. In addition, in a remote printing system using such a network printer,
It was made possible to achieve the above object.

【0031】[0031]

【作用】クライアントにおいては、リモートプリンタ制
御部は、クライアントのユーザまたはプログラムによっ
て起動されると、遠隔地にあるプリントサーバおよびプ
リンタの動作を制御するために、プリンタ初期化,印刷
開始,印刷中断,印刷再開,印刷停止,印刷ジョブの順
番変更等を要求する命令を記述した制御コマンドを、プ
リントサーバに送信する。
In the client, the remote printer control unit, when activated by the user or the program of the client, initializes the printer, starts printing, interrupts printing, and controls the operations of the print server and the printer at a remote place. A control command describing commands for requesting restart of printing, stop of printing, change of print job order, etc. is transmitted to the print server.

【0032】プリントサーバにおいては、動作制御部
は、クライアントから送信された制御コマンドを受信す
ると、該制御コマンドに記述されている命令に基づい
て、印刷ジョブ受信部,キュー管理部,印刷制御部,プ
リンタのうちの少なくとも1つの動作を制御する。例え
ば、制御コマンドに記述されている命令がプリンタ初期
化を要求する命令である場合は、印刷制御部およびプリ
ンタの動作を制御する。また、例えば、印刷ジョブの順
番変更を要求する命令である場合は、キュー管理部の動
作を制御する。
In the print server, when the operation control unit receives the control command transmitted from the client, the operation control unit, based on the command described in the control command, the print job receiving unit, the queue management unit, the print control unit, Control the operation of at least one of the printers. For example, when the command described in the control command is a command requesting printer initialization, the operation of the print control unit and the printer is controlled. Further, for example, in the case of an instruction requesting a change in the order of print jobs, the operation of the queue management unit is controlled.

【0033】このように、本発明によれば、クライアン
トが、遠隔地にあるプリントサーバおよびプリントサー
バに接続されたプリンタの動作を制御することができ
る。
As described above, according to the present invention, the client can control the operation of the print server located at a remote place and the printer connected to the print server.

【0034】なお、プリントサーバには、複数のプリン
タを接続することができ、動作制御部は、制御コマンド
で指示されたプリンタに応じた、印刷ジョブ受信部,キ
ュー管理部,印刷制御部,プリンタの動作を制御する。
It should be noted that a plurality of printers can be connected to the print server, and the operation control section has a print job receiving section, a queue management section, a print control section, a printer according to the printer designated by the control command. Control the behavior of.

【0035】また、プリントサーバにおいては、認証制
御部は、制御コマンドの送信元であるクライアントまた
は該クライアントのユーザが認証テーブルに記憶されて
いる場合に、該制御コマンドを認証し、動作制御部は、
認証制御部が制御コマンドを認証した場合に動作する。
In the print server, the authentication control unit authenticates the control command when the client or the user of the client who is the sender of the control command is stored in the authentication table, and the operation control unit ,
It operates when the authentication control unit authenticates the control command.

【0036】このように、本発明によれば、プリントサ
ーバおよびプリントサーバに接続されたプリンタの動作
を制御することができるクライアントおよびユーザを制
限することができる。
As described above, according to the present invention, it is possible to limit the clients and users who can control the operation of the print server and the printer connected to the print server.

【0037】また、ネットワークプリンタの構成を、上
述したプリントサーバと同様な構成にすることにより、
ネットワークプリンタにプリントサーバの機能を持たせ
ることができ、さらに、このようなネットワークプリン
タを用いたリモート印刷システムにおいて、該ネットワ
ークプリンタの動作を、上述のプリントサーバと同様
に、クライアントから制御することができる。
Further, by configuring the network printer to have the same configuration as the above-mentioned print server,
The network printer can be provided with the function of a print server, and in a remote printing system using such a network printer, the operation of the network printer can be controlled from the client like the above-mentioned print server. it can.

【0038】[0038]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0039】まず、本発明の第1の実施例について、図
1,図3〜図5を用いて説明する。
First, a first embodiment of the present invention will be described with reference to FIGS. 1 and 3 to 5.

【0040】図1は本発明の第1の実施例のリモート印
刷システムの構成図である。
FIG. 1 is a block diagram of a remote printing system according to the first embodiment of the present invention.

【0041】図1の例では、クライアント120が、S
CSIインタフェース140を用いて、プリントサーバ
110に接続されたプリンタ130を、LAN100に
接続された他のクライアントと共有して印刷を行う例を
示している。なお、プリントサーバ110とプリンタ1
30との間のインタフェースとしては、SCSIインタ
フェース140のほかにも、セントロニクス,RS23
2C,RS422,GP−IB(General Purpose Inte
rface Bus)を用いることも可能である。
In the example of FIG. 1, the client 120 uses the S
An example is shown in which the CSI interface 140 is used to share the printer 130 connected to the print server 110 with another client connected to the LAN 100 to perform printing. The print server 110 and the printer 1
In addition to the SCSI interface 140, the interface with the Centronics, RS23
2C, RS422, GP-IB (General Purpose Inte
rface Bus) can also be used.

【0042】また、図1では、LAN100に接続され
たプリントサーバ110,クライアント120を、それ
ぞれ1台のみ示し、他のクライアントおよびプリントサ
ーバについては省略している。また、プリントサーバ1
10には複数のプリンタを接続することができるが、本
図では、プリンタ130を1台のみ接続した構成を示し
ている。
Further, in FIG. 1, only one print server 110 and one client 120 connected to the LAN 100 are shown, and other clients and print servers are omitted. In addition, the print server 1
Although a plurality of printers can be connected to the printer 10, this drawing shows a configuration in which only one printer 130 is connected.

【0043】クライアント120は、プリントサーバ1
10に印刷を依頼してプリンタ130へのリモート印刷
を行うホストであり、印刷ジョブを生成する印刷プロセ
ス125と、テキストデータや図形データ等のファイル
151を保存する外部記憶装置150と、送信終了を待
つ印刷ジョブの待ち行列であるキュー124への印刷ジ
ョブの格納/削除、および、キュー124内の印刷ジョ
ブの順番変更を行うキュー管理部123と、他のホスト
との間の通信を制御するネットワーク通信部121と、
印刷ジョブをプリントサーバ110に送信する印刷ジョ
ブ送信部122と、さらに、遠隔地にあるプリントサー
バ110およびプリンタ130の動作を制御するための
制御コマンド(以下、リモート印刷制御コマンドと称
す。)を発行するリモートプリンタ制御部126とから
構成されている。
The client 120 is the print server 1
10 is a host for requesting printing to the printer 130 for remote printing, a print process 125 for generating a print job, an external storage device 150 for storing a file 151 such as text data and graphic data, and transmission end. A network that controls communication between a queue management unit 123 that stores / deletes print jobs in a queue 124 that is a queue for waiting print jobs, and that changes the order of print jobs in the queue 124, and another host. The communication unit 121,
A print job transmission unit 122 that transmits a print job to the print server 110, and a control command (hereinafter, referred to as a remote print control command) for controlling the operations of the print server 110 and the printer 130 at a remote place are issued. And a remote printer control unit 126.

【0044】一方、プリントサーバ110は、クライア
ント120からの印刷要求を受け付け、プリンタ130
で印刷を行うホストであり、他のホストとの間の通信を
制御するネットワーク通信部111と、クライアント1
20から送信された印刷ジョブを受信する印刷ジョブ受
信部112と、印刷ジョブの待ち行列であるキュー11
4と、キュー114への印刷ジョブの格納/削除、およ
び、キュー114内の印刷ジョブの順番変更を行うキュ
ー管理部113と、プリンタ130への印刷を行う印刷
制御部115と、さらに、クライアント120から発行
されたリモート印刷制御コマンドに従って、プリンタ1
30,印刷ジョブ受信部112,キュー管理部113,
印刷制御部115のうちの少なくとも1つの動作を制御
する動作制御部116と、クライアント120から発行
されたリモート印刷制御コマンドの有効性を判定する認
証制御部117とから構成されている。
On the other hand, the print server 110 accepts the print request from the client 120, and the printer 130
A network communication unit 111 that controls communication with other hosts and a client 1
20. A print job receiving unit 112 that receives a print job transmitted from the computer 20 and a queue 11 that is a queue for print jobs.
4, a queue management unit 113 that stores / deletes print jobs in the queue 114, and changes the order of the print jobs in the queue 114, a print control unit 115 that prints to the printer 130, and a client 120. Printer 1 according to the remote print control command issued from
30, a print job receiving unit 112, a queue management unit 113,
An operation control unit 116 that controls the operation of at least one of the print control units 115 and an authentication control unit 117 that determines the validity of a remote print control command issued from the client 120.

【0045】以下、外部記憶装置150に記憶されたフ
ァイル151をプリンタ130で印刷する場合の動作に
ついて説明する。
The operation of printing the file 151 stored in the external storage device 150 with the printer 130 will be described below.

【0046】クライアント120においては、ユーザま
たはプログラムがファイル151のプリンタ130への
印刷を指示するための印刷命令を発行することにより、
印刷プロセス125が起動される。
In the client 120, a user or a program issues a print command for instructing printing of the file 151 to the printer 130.
The print process 125 is activated.

【0047】印刷プロセス125は、起動されると、指
示されたファイル151を外部記憶装置150から読み
出し、指示されたプリンタ130へ印刷を行うため、印
刷ジョブを生成する。続いて、印刷プロセス125は、
生成した印刷ジョブをキュー管理部123に渡す。
When the print process 125 is activated, it reads the instructed file 151 from the external storage device 150 and prints on the instructed printer 130, so that a print job is generated. Subsequently, the printing process 125
The generated print job is passed to the queue management unit 123.

【0048】キュー管理部123は、渡された印刷ジョ
ブをキュー124に格納する。キュー124は、印刷ジ
ョブの待ち行列であり、印刷ジョブを印刷される順番に
並べたものであり、プリンタごとに対応したキュー12
4が存在する。なお、印刷ジョブが優先度を有するよう
にしてもよく、この場合、キュー管理部123は、印刷
プロセス125から渡された印刷ジョブの優先度を判定
し、キュー124内の適切な位置に印刷ジョブを格納す
る。キュー124に、生成した印刷ジョブが格納される
と、印刷プロセス125は処理を終了する。
The queue management unit 123 stores the delivered print job in the queue 124. The queue 124 is a queue of print jobs, in which print jobs are arranged in the order of printing, and the queue 12 corresponding to each printer
There are four. Note that the print job may have a priority. In this case, the queue management unit 123 determines the priority of the print job passed from the print process 125 and places the print job in an appropriate position in the queue 124. To store. When the generated print job is stored in the queue 124, the print process 125 ends the process.

【0049】なお、本実施例では、プリンタ130が1
台のみの例を示しているので、キュー管理部123は1
つであるが、複数のプリンタが用意されているならば、
プリンタの数に応じた数のキュー管理部を設けることが
できる。そして、印刷プロセス125は、指示されたプ
リンタに応じたキュー管理部のキューに、生成したジョ
ブを格納する。また、キュー管理部を1つとし、キュー
のみをプリンタに応じた数だけ設け、1つのキュー管理
部が、印刷プロセス125から、印刷ジョブを受け取
り、指示されたプリンタに応じたキューに、生成したジ
ョブを格納することもできる。
In this embodiment, the printer 130 is set to 1
Since the example of only one unit is shown, the queue management unit 123
But if you have multiple printers,
It is possible to provide as many queue management units as the number of printers. Then, the print process 125 stores the generated job in the queue of the queue management unit corresponding to the designated printer. Further, one queue management unit is provided, and only the queues corresponding to the printers are provided, and one queue management unit receives the print job from the print process 125 and generates the print job in the queue corresponding to the instructed printer. Jobs can also be stored.

【0050】キュー124に印刷ジョブが格納される
と、印刷ジョブ送信部122が、キュー124から印刷
ジョブを読み出し、指定されたプリンタ130にファイ
ル151を印刷するためにはどのホストに印刷ジョブを
送信すべきかを決定し、ネットワーク通信部121を通
して、判定したホスト(プリントサーバ110)に印刷
ジョブを送信する。なお、印刷ジョブ送信部122は、
キュー124に格納されている全ての印刷ジョブをキュ
ー124の先頭から順に送信する。また、ネットワーク
通信部121は、ネットワークに対応したプロトコル処
理を行って、LAN100に接続されている他のホスト
との間の通信を制御するものである。その後、印刷ジョ
ブ送信部122は、ネットワーク通信部121を通し
て、プリントサーバ110からの受信確認応答を受信す
ると、受信が確認された印刷ジョブをキュー124から
削除し、送信処理を終了する。
When the print job is stored in the queue 124, the print job sending unit 122 reads the print job from the queue 124 and sends the print job to any host to print the file 151 on the designated printer 130. The print job is transmitted to the determined host (print server 110) through the network communication unit 121. The print job transmission unit 122
All print jobs stored in the queue 124 are sequentially transmitted from the head of the queue 124. In addition, the network communication unit 121 performs protocol processing corresponding to the network and controls communication with other hosts connected to the LAN 100. After that, when the print job transmission unit 122 receives the reception confirmation response from the print server 110 through the network communication unit 121, the print job of which the reception is confirmed is deleted from the queue 124, and the transmission process is ended.

【0051】一方、プリントサーバ110においては、
印刷ジョブ受信部112は、ネットワーク通信部111
を通して、クライアント120から送信されてきた印刷
ジョブを受信すると、これらをキュー管理部113に渡
す。ネットワーク通信部111は、ネットワークに対応
したプロトコル処理を行って、LAN100に接続され
ている他のホストとの間の通信を制御するものである。
On the other hand, in the print server 110,
The print job receiving unit 112 is a network communication unit 111.
When the print job transmitted from the client 120 is received through the above, the print job is passed to the queue management unit 113. The network communication unit 111 performs protocol processing corresponding to the network and controls communication with other hosts connected to the LAN 100.

【0052】キュー管理部113は、渡された印刷ジョ
ブをキュー114に格納する。キュー114は、印刷ジ
ョブの待ち行列であり、印刷ジョブを印刷される順番に
並べたものであり、プリンタごとに対応したキュー11
4が存在する。なお、印刷ジョブが優先度を有するよう
にしてもよく、この場合、キュー管理部113は、印刷
ジョブ受信部112から渡された印刷ジョブの優先度を
判定し、キュー114内の適切な位置に印刷ジョブを格
納する。
The queue management unit 113 stores the delivered print job in the queue 114. The queue 114 is a queue of print jobs, in which the print jobs are arranged in the order in which they are printed, and the queue 11 corresponding to each printer is provided.
There are four. It should be noted that the print job may have priority, and in this case, the queue management unit 113 determines the priority of the print job passed from the print job receiving unit 112 and sets the priority to the appropriate position in the queue 114. Stores print jobs.

【0053】印刷ジョブ受信部112は、クライアント
120が送信した印刷ジョブが正常にキュー114に格
納されると、ネットワーク通信部111を通して、クラ
イアント120に印刷ジョブの受信確認応答を送信し、
処理を終了する。
When the print job transmitted by the client 120 is normally stored in the queue 114, the print job receiving unit 112 transmits a print job reception confirmation response to the client 120 via the network communication unit 111.
The process ends.

【0054】印刷制御部115は、キュー114の先頭
から印刷ジョブを取り出し、SCSIインタフェース1
40を通して、プリンタ130に送信する。
The print control unit 115 extracts the print job from the head of the queue 114, and the SCSI interface 1
40 to the printer 130.

【0055】プリンタ130においては、プリンタコン
トローラ(PRC)131は、SCSIインタフェース
140を通して、印刷制御部115からの印刷ジョブを
受信すると、描画処理および印刷処理を行い、プリンタ
エンジンインタフェース612を通して描画印刷処理結
果(以下、描画データと称す。)をプリンタエンジン1
32に渡す。プリンタエンジン132は、渡された描画
データに基づいて、プリンタ印刷メカニズムを制御し、
印刷を行う。
In the printer 130, when the printer controller (PRC) 131 receives the print job from the print control unit 115 through the SCSI interface 140, it performs drawing processing and print processing, and the drawing print processing result is obtained through the printer engine interface 612. (Hereinafter referred to as drawing data) is the printer engine 1
Pass it to 32. The printer engine 132 controls the printer printing mechanism based on the passed drawing data,
Print.

【0056】印刷制御部115は、印刷ジョブの実行が
正常に完了した時点で、キュー114から印刷ジョブを
削除する。印刷ジョブの完了については、印刷制御部1
15が、プリンタ130への印刷ジョブの送信を完了し
た時点で、印刷ジョブが完了したと判断するようにする
こともできるし、また、印刷制御部115が、プリンタ
コントローラ(PRC)131に問い合わせるようにし
たり、プリンタコントローラ(PRC)131から報告
するようにしたりして、印刷済み用紙のプリンタからの
排出完了を確認した時点で、印刷ジョブが完了したと判
断するようにすることもできる。
The print control unit 115 deletes the print job from the queue 114 when the execution of the print job is completed normally. Regarding the completion of the print job, the print control unit 1
Alternatively, the print control unit 115 may determine that the print job is completed when the print job is completely transmitted to the printer 130. Alternatively, the print control unit 115 may inquire of the printer controller (PRC) 131. Alternatively, the printer controller (PRC) 131 may report to the printer controller (PRC) 131 to determine that the print job is completed when the completion of discharging the printed sheet from the printer is confirmed.

【0057】次に、本実施例の特徴である、遠隔地にあ
るプリントサーバ110およぶプリントサーバ130に
接続されているプリンタ130の動作を制御する場合の
動作について、図3〜図5を用いて説明する。
Next, referring to FIGS. 3 to 5, the operation of controlling the operation of the print server 110 at a remote place and the printer 130 connected to the print server 130, which is a feature of this embodiment, will be described with reference to FIGS. explain.

【0058】図3はリモート印刷制御コマンドの一例を
示す図である。
FIG. 3 is a diagram showing an example of the remote print control command.

【0059】図3において、No.1〜No.6に示した
リモート印刷制御コマンドは、プリンタ130の動作を
制御するためのものである。No.7〜No.17に示し
たリモート印刷制御コマンドは、従来、ローカルホスト
におけるlpdの動作を制御するために用いられていた
lpcコマンドに対応しており、プリントサーバ110
内のlpdの動作を制御するためのものである。このほ
かに、プリンタ130からの排紙を要求するコマンド
や、特定のキューや印刷ジョブに対して優先度付けを行
うコマンドなど、様々なリモート印刷制御コマンドを設
けることもできる。
In FIG. 3, the remote print control commands shown in No. 1 to No. 6 are for controlling the operation of the printer 130. The remote print control commands shown in No. 7 to No. 17 correspond to the lpc command that is conventionally used to control the operation of the lpd in the local host.
It is for controlling the operation of the lpd inside. In addition to this, various remote print control commands such as a command for requesting paper discharge from the printer 130 and a command for prioritizing a specific queue or print job may be provided.

【0060】また、図3の例では、各リモート印刷制御
コマンドの種類を識別するためのコマンド種別コード
と、各リモート印刷制御コマンドに対する応答を識別す
るための応答種別コードも示ししている。
The example of FIG. 3 also shows a command type code for identifying the type of each remote print control command and a response type code for identifying the response to each remote print control command.

【0061】図4は図3に示したリモート印刷制御コマ
ンドおよび各リモート印刷制御コマンドに対する応答の
フォーマットの一例を示す図である。
FIG. 4 is a diagram showing an example of the format of the remote print control commands shown in FIG. 3 and the response to each remote print control command.

【0062】図4において、410はリモート印刷制御
コマンドのフォーマットを示しており、コマンド種別を
示すコマンド種別コード411と、リモート印刷制御コ
マンドによって制御するプリントサーバ名412および
プリンタ名413と、リモート印刷制御コマンドを発行
したクライアント名414およびユーザ名415とから
構成されている。コマンド種別コード411には、図3
の各リモート印刷制御コマンドに応じたコマンド種別コ
ードが設定される。なお、ジョブ番号416は、例え
ば、図3のNo.16に示した「topqコマンド」に
おいて、移動する印刷ジョブのジョブ番号を示すために
用いられる。ジョブ番号416は、リモート印刷コマン
ドの種類によっては、省略されることもある。
In FIG. 4, reference numeral 410 denotes the format of the remote print control command, which includes a command type code 411 indicating the command type, a print server name 412 and a printer name 413 controlled by the remote print control command, and remote print control. It is composed of a client name 414 that issued the command and a user name 415. The command type code 411 is shown in FIG.
A command type code corresponding to each remote print control command is set. The job number 416 is used to indicate the job number of the moving print job in the “topq command” shown in No. 16 of FIG. The job number 416 may be omitted depending on the type of remote print command.

【0063】また、420は応答のフォーマットを示し
ており、応答種別を示す応答種別コード421と、リモ
ート印刷制御コマンドが正常に受け付けられたか否かを
示す応答コード422とから構成されている。なお、応
答情報423は、例えば、図3のNo.14に示した
「statusコマンド」に対する応答において、プリ
ントサーバ110およびキュー114の状態を示すため
に用いられる。また、応答情報423は、例えば、リモ
ート印刷制御コマンドによって印刷が中断された状態で
あることを示すメッセージを伝えるなど、他のリモート
印刷制御コマンドへの応答で付加的なメッセージを伝え
るために使用することもできる。
Reference numeral 420 represents a response format, which is composed of a response type code 421 indicating a response type and a response code 422 indicating whether or not the remote print control command is normally accepted. The response information 423 is used to indicate the states of the print server 110 and the queue 114 in the response to the “status command” shown in No. 14 of FIG. 3, for example. The response information 423 is used to convey an additional message in response to another remote print control command, for example, to convey a message indicating that printing has been suspended by the remote print control command. You can also

【0064】図5に、クライアント120からプリント
サーバ110およびプリンタ130の動作を制御する際
に、LAN100上を転送されるリモート印刷制御コマ
ンドおよび応答のシーケンスを示す。
FIG. 5 shows a sequence of remote print control commands and responses transferred over the LAN 100 when controlling the operations of the print server 110 and printer 130 from the client 120.

【0065】クライアント120においては、ユーザま
たはプログラムからの要求により、リモートプリンタ制
御部126が、リモート印刷制御コマンド410を作成
し、ネットワーク通信部121を通してプリントサーバ
110に送信する(S510)。
In the client 120, the remote printer control unit 126 creates a remote print control command 410 in response to a request from a user or a program and sends it to the print server 110 through the network communication unit 121 (S510).

【0066】プリントサーバ110においては、ネット
ワーク通信部111が、クライアント120から制御コ
マンド410を受信すると、受信したリモート印刷制御
コマンド410を動作制御部116に渡し、以下に説明
するように、受信したリモート印刷制御コマンド410
に応じた処理を行う(S520)。
In the print server 110, when the network communication unit 111 receives the control command 410 from the client 120, the received remote print control command 410 is passed to the operation control unit 116, and the received remote print control command 410 is received as described below. Print control command 410
Is performed (S520).

【0067】すなわち、まず、動作制御部116は、コ
マンド種別コード411によってリモート印刷制御コマ
ンド410の種類を認識し、次に、認証制御部117に
リモート印刷制御コマンド410を渡す。
That is, the operation control section 116 first recognizes the type of the remote print control command 410 by the command type code 411, and then passes the remote print control command 410 to the authentication control section 117.

【0068】認証制御部117の認証テーブル118
は、プリントサーバ名と、プリンタ名を記憶しており、
さらに、各プリンタ名ごとに、リモート印刷制御コマン
ドを発行することが許可されているクライアント名およ
びユーザ名を対応させて記憶している。なお、クライア
ントまたはユーザごとに、発行することが許可されてい
るリモート印刷制御コマンドの種類を制限するために、
さらに、クライアント名およびユーザ名ごとに、コマン
ド種別コードを対応させて記憶するようにしてもよい。
Authentication table 118 of authentication control unit 117
Stores the print server name and printer name,
Further, a client name and a user name permitted to issue a remote print control command are stored in association with each printer name. In order to limit the types of remote print control commands that are permitted to be issued for each client or user,
Further, the command type code may be stored in association with each client name and user name.

【0069】認証制御部117は、動作制御部116か
ら渡されたリモート印刷制御コマンド410のプリント
サーバ名412,プリンタ名413,クライアント名4
14,ユーザ名415を認識し、認識結果と認証テーブ
ル118の内容とを比較参照することにより、リモート
印刷制御コマンド410の実行を許可するか否かを判定
し、判定結果を動作制御部116に渡す。すなわち、例
えば、プリントサーバ名412がプリントサーバ110
を示しており、プリンタ名413がプリンタ130を示
している場合に、クライアント名414と同一のクライ
アント名およびユーザ名415と同一のユーザ名が認証
テーブル118に記憶されているならば、リモート印刷
制御コマンド410の実行を許可すると判定する。ま
た、例えば、クライアント名414およびユーザ名41
5のいずれか一方と同一のクライアント名またはユーザ
名が認証テーブル118に記憶されているならば、リモ
ート印刷制御コマンド410の実行を許可すると判定す
るようにしてもよい。
The authentication control unit 117 has the print server name 412, the printer name 413, and the client name 4 of the remote print control command 410 passed from the operation control unit 116.
14, the user name 415 is recognized, and the recognition result and the content of the authentication table 118 are compared and referenced to determine whether or not the execution of the remote print control command 410 is permitted, and the determination result is sent to the operation control unit 116. hand over. That is, for example, the print server name 412 is the print server 110.
If the printer name 413 indicates the printer 130 and the same client name as the client name 414 and the same user name as the user name 415 are stored in the authentication table 118, remote printing control is performed. It is determined that the execution of the command 410 is permitted. Also, for example, the client name 414 and the user name 41
If the same client name or user name as any one of 5 is stored in the authentication table 118, it may be determined that the execution of the remote print control command 410 is permitted.

【0070】また、リモート印刷制御コマンド410中
にパスワードを含めるようにすることもでき、このよう
にした場合は、認証テーブル118に、リモート印刷制
御コマンド410の実行を許可するパスワードを記憶す
るようにしておき、認証制御部117が、パスワードが
一致したならば、リモート印刷制御コマンド410の実
行を許可するようにすることもできる。
A password may be included in the remote print control command 410. In this case, the password for permitting execution of the remote print control command 410 is stored in the authentication table 118. The authentication control unit 117 may permit execution of the remote print control command 410 if the passwords match.

【0071】さて、動作制御部116は、認証制御部1
17から渡された判定結果が、リモート印刷制御コマン
ド410の実行が許可された旨を示している場合は、先
に認識したコマンド種別コード411に応じて、印刷ジ
ョブ受信部112,キュー管理部113,印刷制御部1
15,プリンタ130のうちの少なくとも1つに対し
て、図3に示したような動作を行うよう制御する。な
お、動作制御部116は、図3のNo.1〜No.6に示
したリモート印刷制御コマンド410を実行する場合
は、SCSIインタフェース140を通してコマンドを
発行し、直接プリンタ130の動作を制御する。
Now, the operation control unit 116 has the authentication control unit 1
When the determination result passed from 17 indicates that the execution of the remote print control command 410 is permitted, the print job receiving unit 112 and the queue managing unit 113 are selected according to the previously recognized command type code 411. , Print control unit 1
15. At least one of the printers 130 and 130 is controlled to perform the operation as shown in FIG. When executing the remote print control command 410 shown in No. 1 to No. 6 of FIG. 3, the operation control unit 116 issues a command through the SCSI interface 140 to directly control the operation of the printer 130.

【0072】リモート印刷制御コマンド410の実行が
終了すると、動作制御部116は、リモート印刷制御コ
マンド410に対する応答420を生成し、応答コード
422に、リモート印刷制御コマンド410が正常に受
け付けられたことを示すコードを記述して、ネットワー
ク通信部111を通して、クライアント120に送信す
る(S530)。
When the execution of the remote print control command 410 is completed, the operation control section 116 generates a response 420 to the remote print control command 410, and the response code 422 indicates that the remote print control command 410 has been normally accepted. The code shown is described and transmitted to the client 120 through the network communication unit 111 (S530).

【0073】一方、動作制御部116は、認証制御部1
17から渡された判定結果が、リモート印刷制御コマン
ド410の実行が許可されない旨を示している場合は、
リモート印刷制御コマンド410に対する応答420を
生成し、応答コード422に、リモート印刷制御コマン
ド410の受け付けが許可されていないことを示すコー
ドを記述して、ネットワーク通信部111を通して、ク
ライアント120に送信する(S530)。
On the other hand, the operation control unit 116 has the authentication control unit 1
When the determination result passed from 17 indicates that the execution of the remote print control command 410 is not permitted,
A response 420 to the remote print control command 410 is generated, a code indicating that acceptance of the remote print control command 410 is not permitted is described in the response code 422, and the response code 422 is transmitted to the client 120 through the network communication unit 111 ( S530).

【0074】次に、本発明の第2の実施例について、図
6を用いて説明する。
Next, a second embodiment of the present invention will be described with reference to FIG.

【0075】本実施例は、クライアントが、ネットワー
クに接続されたプリンタを共有する場合の実施例であ
り、プリンタ内部のプリンタコントローラ(PRC)
に、プリントサーバの機能を持たせるようにした実施例
である。
The present embodiment is an embodiment in which clients share a printer connected to a network, and a printer controller (PRC) inside the printer.
In this embodiment, the print server function is provided.

【0076】図6は本発明の第2の実施例のリモート印
刷システムの構成図である。
FIG. 6 is a block diagram of a remote printing system according to the second embodiment of the present invention.

【0077】クライアント120の構成は、上記第1の
実施例と全く同じである。
The structure of the client 120 is exactly the same as that of the first embodiment.

【0078】一方、ネットワークプリンタ610は、P
RC131とプリンタエンジン132とから構成されて
おり、クライアント120からの印刷要求を受け付けて
印刷を行う。
On the other hand, the network printer 610 is
It is composed of an RC 131 and a printer engine 132, and receives a print request from the client 120 to perform printing.

【0079】PRC131は、さらに、クライアント1
20との間の通信を制御するネットワーク通信部111
と、クライアント120から送信された印刷ジョブを受
信する印刷ジョブ受信部112と、印刷ジョブの待ち行
列であるキュー114と、キュー114への印刷ジョブ
の格納/削除、および、キュー114内の印刷ジョブの
順番変更を行うキュー管理部113と、印刷ジョブを実
行する印刷制御部115と、描画処理および印刷処理を
行う描画印刷実行部611と、クライアント120から
発行されたリモート印刷制御コマンドに従って、印刷ジ
ョブ受信部112,キュー管理部113,印刷制御部1
15,描画印刷実行部611,プリンタエンジン132
の動作を制御する動作制御部116と、クライアント1
20から発行されたリモート印刷制御コマンドの実行を
許可する認証制御部117とから構成されている。
The PRC 131 further includes the client 1
Network communication unit 111 for controlling communication with
A print job receiving unit 112 that receives a print job sent from the client 120, a queue 114 that is a queue for print jobs, storage / deletion of print jobs in the queue 114, and print jobs in the queue 114. According to a remote print control command issued from the client 120, a print control unit 115 for executing a print job, a print control unit 115 for executing a print job, a print control unit 115 for executing a print job and a print job. Receiver 112, queue manager 113, print controller 1
15, drawing / printing execution unit 611, printer engine 132
Operation control unit 116 for controlling the operation of the client 1 and the client 1
The authentication control unit 117 permits execution of the remote print control command issued from the server 20.

【0080】また、プリンタエンジン132は、プリン
タ印刷メカニズムを制御して印刷を行う。
The printer engine 132 controls the printer printing mechanism to perform printing.

【0081】本実施例において、描画印刷実行部611
は、従来のプリンタコントローラ(PRC)で行われて
いた描画処理および印刷処理を行うものであり、印刷制
御部115から印刷ジョブを受け取り、描画処理および
印刷処理を行って、プリンタエンジンインタフェース6
12を通して、描画データをプリンタエンジン132に
送信する。
In the present embodiment, the drawing / printing execution unit 611.
Is for performing drawing processing and printing processing that have been performed by a conventional printer controller (PRC), receives a print job from the print control unit 115, performs drawing processing and printing processing, and executes the printer engine interface 6
The drawing data is sent to the printer engine 132 through 12.

【0082】本実施例では、上記第1の実施例と全く同
様の手順で、リモート印刷およびリモートプリンタ61
0の動作制御が行われる。
In this embodiment, the remote printing and remote printer 61 is operated by the same procedure as that of the first embodiment.
0 operation control is performed.

【0083】[0083]

【発明の効果】以上説明したように、本発明によれば、
クライアントが、遠隔地にあるプリントサーバおよび該
プリントサーバに接続されているプリンタの動作を制御
することができるので、例えば、プリンタ保守のためプ
リントサービスを中断する場合に、遠隔地からプリント
サーバでの印刷ジョブ受付を停止したり、または、プリ
ンタでの印刷を中断したりするなどの操作を行うことが
できる。
As described above, according to the present invention,
Since the client can control the operation of the print server in the remote place and the printer connected to the print server, for example, when the print service is interrupted for printer maintenance, the print server in the remote place can be controlled. It is possible to perform an operation such as stopping the reception of the print job or interrupting the printing by the printer.

【0084】また、本発明によれば、クライアントが、
ネットワークに接続されたプリンタの動作を制御するこ
とができるので、様々なシステム構成に柔軟に対応する
ことができる。特に、ネットワークに直接接続されたプ
リンタやネットワークプリンタアダプタを用いてネット
ワークに接続されたプリンタは、プリントサーバとして
動作するが、キーボードやモニタを持たないので、この
ようなプリンタの動作制御を行うことが困難であった
が、本発明によれば、このようなプリンタの動作を簡単
に制御することができる。
According to the present invention, the client is
Since the operation of the printer connected to the network can be controlled, it is possible to flexibly deal with various system configurations. In particular, a printer directly connected to the network or a printer connected to the network using a network printer adapter operates as a print server, but since it does not have a keyboard or monitor, it is possible to control the operation of such a printer. Although difficult, the present invention makes it possible to easily control the operation of such a printer.

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

【図1】本発明の第1の実施例のリモート印刷システム
の構成図。
FIG. 1 is a configuration diagram of a remote printing system according to a first embodiment of this invention.

【図2】従来のリモート印刷システムの構成図。FIG. 2 is a configuration diagram of a conventional remote printing system.

【図3】リモート印刷制御コマンドの一例を示す説明
図。
FIG. 3 is an explanatory diagram showing an example of a remote print control command.

【図4】リモート印刷制御コマンドおよび応答のフォー
マットを示す説明図。
FIG. 4 is an explanatory diagram showing formats of a remote print control command and a response.

【図5】リモート印刷制御コマンドおよび応答のシーケ
ンスを示す説明図。
FIG. 5 is an explanatory diagram showing a sequence of remote print control commands and responses.

【図6】本発明の第2の実施例のリモート印刷システム
の構成図。
FIG. 6 is a configuration diagram of a remote printing system according to a second embodiment of this invention.

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

100,200…LAN、110,210…プリントサ
ーバ、120,220…クライアント、130,230
…プリンタ、610…ネットワークプリンタ、111,
121,211,221…ネットワーク通信部、12
2,222…印刷ジョブ送信部、113,123,21
3,223…キュー管理部、114,124,214,
227…キュー、125,224…印刷プロセス、12
6…リモートプリンタ制御部、150,225…外部記
憶装置、151,226…ファイル、112,212…
印刷ジョブ受信部、115,215…印刷制御部、11
6…動作制御部、117…認証制御部、118…認証テ
ーブル、131,231…プリンタコントローラ(PR
C)、611…描画印刷実行部、612…プリンタエン
ジンインタフェース、132,232…プリンタエンジ
ン、410…リモート印刷制御コマンド、411…コマ
ンド種別コード、412…プリントサーバ名、413…
プリンタ名、414…クライアント名、415…ユーザ
名、416…ジョブ番号、420…応答、421…応答
種別コード、422…応答コード、423…応答情報。
100, 200 ... LAN, 110, 210 ... Print server, 120, 220 ... Client, 130, 230
... printer, 610 ... network printer, 111,
121, 211, 221 ... Network communication unit, 12
2, 222 ... Print job transmission unit, 113, 123, 21
3, 223 ... Queue management unit, 114, 124, 214,
227 ... Queue, 125, 224 ... Printing process, 12
6 ... Remote printer control unit, 150, 225 ... External storage device, 151, 226 ... File, 112, 212 ...
Print job receiving unit, 115, 215 ... Print control unit, 11
6 ... Operation control unit, 117 ... Authentication control unit, 118 ... Authentication table, 131, 231 ... Printer controller (PR
C), 611 ... Drawing print execution unit, 612 ... Printer engine interface, 132, 232 ... Printer engine, 410 ... Remote print control command, 411 ... Command type code, 412 ... Print server name, 413 ...
Printer name, 414 ... Client name, 415 ... User name, 416 ... Job number, 420 ... Response, 421 ... Response type code, 422 ... Response code, 423 ... Response information.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 島川 卓也 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (72)発明者 田村 奈緒美 神奈川県海老名市下今泉810番地 株式会 社日立製作所オフィスシステム事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takuya Shimakawa, 292 Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Pref., Hitachi, Ltd. Microelectronics Equipment Development Laboratory (72) Inventor Naomi Tamura, Ebina, Ebina, Kanagawa Prefecture Address 810, Hitachi, Ltd. Office Systems Division

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】ネットワークと、上記ネットワークに接続
されて互いに通信を行う複数のコンピュータと、上記複
数のコンピュータのうちの少なくとも1つのコンピュー
タ(以下、プリントサーバと称す。)に接続されたプリ
ンタとからなり、上記複数のコンピュータのうちの上記
プリントサーバ以外のコンピュータ(以下、クライアン
トと称す。)が上記プリントサーバに印刷ジョブを送信
することにより、上記プリンタを共有して印刷を行うリ
モート印刷システムにおいて、 上記クライアントは、上記プリントサーバおよび上記プ
リンタを制御するための命令を記述した制御コマンドを
上記プリントサーバに送信するリモートプリンタ制御部
を備え、 上記プリントサーバは、上記印刷ジョブを受信する印刷
ジョブ受信部と、印刷ジョブの待ち行列であるキューを
管理するキュー管理部と、上記プリンタの動作を制御す
る印刷制御部とを備え、さらに、上記制御コマンドを受
信し、受信した制御コマンドに記述されている命令に基
づいて、上記印刷ジョブ受信部,上記キュー管理部,上
記印刷制御部,上記プリンタのうちの少なくとも1つの
動作を制御する動作制御部を備えたことを特徴とするリ
モート印刷システム。
1. A network, a plurality of computers connected to the network and communicating with each other, and a printer connected to at least one computer (hereinafter referred to as a print server) of the plurality of computers. In a remote printing system in which a computer other than the print server (hereinafter, referred to as a client) of the plurality of computers sends a print job to the print server to share the printer and perform printing, The client includes a remote printer control unit that transmits a control command describing commands for controlling the print server and the printer to the print server, and the print server receives a print job by a print job receiving unit. And the print job A queue management unit that manages a queue that is a matrix, and a print control unit that controls the operation of the printer, further receive the control command, and based on the command described in the received control command, A remote printing system comprising: an operation control unit that controls an operation of at least one of the print job reception unit, the queue management unit, the print control unit, and the printer.
【請求項2】請求項1記載のリモート印刷システムにお
いて、 上記動作制御部は、上記印刷を行うよう上記プリンタの
動作を制御するか、上記印刷ジョブの受信を可能/不可
能とするよう上記印刷ジョブ受信部の動作を制御する
か、上記キュー内の印刷ジョブの順番変更を行うよう上
記キュー管理部の動作を制御するか、印刷開始/印刷停
止/印刷中断/印刷再開を行うよう上記印刷制御部の動
作を制御することを特徴とするリモート印刷システム。
2. The remote printing system according to claim 1, wherein the operation control unit controls the operation of the printer so as to perform the printing, or the printing so as to enable / disable the reception of the print job. The print control for controlling the operation of the job receiving unit, controlling the operation of the queue managing unit for changing the order of the print jobs in the queue, or starting the print / stopping the print / suspending the print / resuming the print A remote printing system characterized by controlling the operation of parts.
【請求項3】請求項1または2記載のリモート印刷シス
テムにおいて、 上記プリントサーバは、上記プリントサーバおよび上記
プリンタの動作を制御することが許可されている、クラ
イアントおよび/またはクライアントのユーザを記憶し
ている認証テーブルを有する認証制御部を備え、 上記認証制御部は、上記制御コマンドの送信元であるク
ライアントおよび/または該クライアントのユーザが上
記認証テーブルに記憶されている場合に、該制御コマン
ドを認証し、 上記動作制御部は、上記認証制御部が上記制御コマンド
を認証した場合に、上記受信した制御コマンドに記述さ
れている命令に基づく動作を行うことを特徴とするリモ
ート印刷システム。
3. The remote printing system according to claim 1, wherein the print server stores a client and / or a user of the client who is permitted to control the operation of the print server and the printer. An authentication control unit having an authentication table, and the authentication control unit executes the control command when the client that is the sender of the control command and / or the user of the client is stored in the authentication table. The remote printing system, wherein the operation control unit performs an operation based on a command described in the received control command when the authentication control unit authenticates the control command.
【請求項4】複数のコンピュータが接続されているネッ
トワークに接続されたネットワークプリンタにおいて、 上記コンピュータから送信された印刷ジョブを受信する
印刷ジョブ受信部と、印刷ジョブの待ち行列であるキュ
ーを管理するキュー管理部と、上記プリンタへの印刷を
行う印刷制御部とを備え、さらに、上記コンピュータか
ら送信された、上記ネットワークプリンタを制御するた
めの命令を記述した制御コマンドを受信し、受信した制
御コマンドに記述されている命令に基づいて、上記印刷
ジョブ受信部,上記キュー管理部,上記印刷制御部のう
ちの少なくとも1つの動作を制御する動作制御部を備え
たことを特徴とするネットワークプリンタ。
4. A network printer connected to a network to which a plurality of computers are connected manages a print job receiving unit that receives a print job sent from the computer and a queue that is a queue of print jobs. A queue management unit and a print control unit for performing printing on the printer are further provided, and a control command sent from the computer in which an instruction for controlling the network printer is described is received, and the received control command is received. A network printer comprising: an operation control unit that controls the operation of at least one of the print job receiving unit, the queue management unit, and the print control unit based on the command described in 1.
【請求項5】請求項4記載のネットワークプリンタにお
いて、 上記動作制御部は、上記印刷ジョブの受信を可能/不可
能とするよう上記印刷ジョブ受信部の動作を制御する
か、上記キュー内の印刷ジョブの順番変更を行うよう上
記キュー管理部の動作を制御するか、印刷開始/印刷停
止/印刷中断/印刷再開を行うよう上記印刷制御部の動
作を制御することを特徴とするネットワークプリンタ。
5. The network printer according to claim 4, wherein the operation control unit controls the operation of the print job receiving unit to enable / disable the reception of the print job, or prints in the queue. A network printer characterized in that the operation of the queue management unit is controlled so as to change the order of jobs, or the operation of the print control unit is controlled so as to start / stop printing / suspend printing / resume printing.
【請求項6】請求項4または5記載のネットワークプリ
ンタを接続したネットワークと、上記ネットワークに接
続されて互いに通信を行う複数のコンピュータとからな
り、上記コンピュータが上記ネットワークプリンタに印
刷ジョブを送信することにより、上記プリンタを共有し
て印刷を行うリモート印刷システムにおいて、 上記コンピュータは、上記制御コマンドを上記ネットワ
ークプリンタに送信するリモートプリンタ制御部を備え
たことを特徴とするリモート印刷システム。
6. A network comprising the network printer according to claim 4 or 5 and a plurality of computers connected to the network and communicating with each other, wherein the computer sends a print job to the network printer. Thus, in the remote printing system for performing printing by sharing the printer, the computer includes a remote printer control unit for transmitting the control command to the network printer.
【請求項7】請求項6記載のリモート印刷システムにお
いて、 上記ネットワークプリンタは、上記ネットワークプリン
タの動作を制御することが許可されている、クライアン
トおよび/またはクライアントのユーザを記憶している
認証テーブルを有する認証制御部を備え、 上記認証制御部は、上記制御コマンドの送信元であるク
ライアントおよび/または該クライアントのユーザが上
記認証テーブルに記憶されている場合に、該制御コマン
ドを認証し、 上記動作制御部は、上記認証制御部が上記制御コマンド
を認証した場合に、上記受信した制御コマンドに記述さ
れている命令に基づく動作を行うことを特徴とするリモ
ート印刷システム。
7. The remote printing system according to claim 6, wherein the network printer stores an authentication table storing a client and / or a user of the client who is permitted to control the operation of the network printer. An authentication control unit having, wherein the authentication control unit authenticates the control command when the client and / or the user of the client who is the sender of the control command is stored in the authentication table, and The remote printing system, wherein the control unit performs an operation based on a command described in the received control command when the authentication control unit authenticates the control command.
【請求項8】請求項3または7記載のリモート印刷シス
テムにおいて、 上記認証テーブルは、その内容を外部から登録/変更可
能であることを特徴とするリモート印刷システム。
8. The remote printing system according to claim 3, wherein the contents of the authentication table can be registered / changed from the outside.
【請求項9】請求項1,2,3,6,7または8記載の
リモート印刷システムにおいて、 上記リモートプリンタ制御部は、外部から指示があった
場合に動作することを特徴とするリモート印刷システ
ム。
9. The remote printing system according to claim 1, 2, 3, 6, 7 or 8, wherein the remote printer control unit operates when an external instruction is given. .
JP13862593A 1993-06-10 1993-06-10 Remote printing system Expired - Fee Related JP3502122B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13862593A JP3502122B2 (en) 1993-06-10 1993-06-10 Remote printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13862593A JP3502122B2 (en) 1993-06-10 1993-06-10 Remote printing system

Publications (2)

Publication Number Publication Date
JPH06348436A true JPH06348436A (en) 1994-12-22
JP3502122B2 JP3502122B2 (en) 2004-03-02

Family

ID=15226442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13862593A Expired - Fee Related JP3502122B2 (en) 1993-06-10 1993-06-10 Remote printing system

Country Status (1)

Country Link
JP (1) JP3502122B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297550A (en) * 1995-04-26 1996-11-12 Nec Corp Print job control system
US5987228A (en) * 1996-03-27 1999-11-16 Fuji Xerox Co., Ltd Network printing apparatus for multiple protocols
JP2002062998A (en) * 2000-08-23 2002-02-28 Canon Inc Network print system, information processor, and its control method
JP2002136743A (en) * 2000-10-31 2002-05-14 Aruze Corp Key unit, unit controller and game hall key system
KR100597426B1 (en) * 1999-09-16 2006-07-06 삼성전자주식회사 A print security method in a network printer
JP2006192791A (en) * 2005-01-14 2006-07-27 Seiko Epson Corp Information processor and its control method
US7701606B2 (en) 1996-05-14 2010-04-20 Ricoh Company, Ltd. Java printer with a printer control interface in a form of a web page
US7978355B2 (en) 1995-04-18 2011-07-12 Fuji Xerox Co., Ltd. Job scheduling system for print processing
US8194268B2 (en) 2003-10-18 2012-06-05 Samsung Electronics Co., Ltd. Method of and apparatus for broadcast printing via a network

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7978355B2 (en) 1995-04-18 2011-07-12 Fuji Xerox Co., Ltd. Job scheduling system for print processing
JPH08297550A (en) * 1995-04-26 1996-11-12 Nec Corp Print job control system
US5987228A (en) * 1996-03-27 1999-11-16 Fuji Xerox Co., Ltd Network printing apparatus for multiple protocols
US7701606B2 (en) 1996-05-14 2010-04-20 Ricoh Company, Ltd. Java printer with a printer control interface in a form of a web page
US7755785B2 (en) 1996-05-14 2010-07-13 Ricoh Company, Ltd. Image forming apparatus
US7952744B2 (en) 1996-05-14 2011-05-31 Ricoh Company, Ltd. Controlling a configuration of an image forming apparatus
US8102556B2 (en) 1996-05-14 2012-01-24 Ricoh Company, Ltd. Controlling a configuration of an image forming apparatus using a Java application
KR100597426B1 (en) * 1999-09-16 2006-07-06 삼성전자주식회사 A print security method in a network printer
JP2002062998A (en) * 2000-08-23 2002-02-28 Canon Inc Network print system, information processor, and its control method
JP2002136743A (en) * 2000-10-31 2002-05-14 Aruze Corp Key unit, unit controller and game hall key system
US8194268B2 (en) 2003-10-18 2012-06-05 Samsung Electronics Co., Ltd. Method of and apparatus for broadcast printing via a network
JP2006192791A (en) * 2005-01-14 2006-07-27 Seiko Epson Corp Information processor and its control method

Also Published As

Publication number Publication date
JP3502122B2 (en) 2004-03-02

Similar Documents

Publication Publication Date Title
US6476927B1 (en) Job token printer assignment system
US5802260A (en) Printing system
US7359081B2 (en) Information processing apparatus, distributed printing method, and storage medium
US7236260B2 (en) Print server apparatus, print job reservation management method, reservation job generation method and memory medium
US8493591B2 (en) Job-submission-request apparatus and method for making a request from a plurality of apparatuses
JP3990681B2 (en) Print control system and print control method
JP2000137590A (en) Information processor/procesing method/system, storage medium storing information processing program, transmission device transmitting information processing program and information processing program product
US6654137B1 (en) Print system, server, information processing apparatus, print control method, and recording medium
JPH10129083A (en) Printer, printer communication system, and printer controlling method
JP2000311068A (en) Print server device, information processor as client, printing management method for these devices and storage medium
JPH06230908A (en) System for control of printing of electronic document by using various kinds of page description languages and other parameters
US6384926B2 (en) Network system having printers, printer for network system, server for network and terminal for network system
JP3502122B2 (en) Remote printing system
JP2000357131A (en) Electronic equipment control system using communication protocol
JP4926154B2 (en) Network interface device, print control method, print control program, and image forming apparatus
JP2008077355A (en) Information processor, print system, and transfer control method of print job
JP6848894B2 (en) Image formation system and image formation method
JP4601030B2 (en) Network printer
JP4623323B2 (en) Network interface device, print control method, print control program, and image forming apparatus
JP3420482B2 (en) Information processing apparatus, network print system, print control method, and storage medium storing program
JP2000163287A (en) Peripheral equipment, method and system for controlling peripheral equipment, and storage medium storing peripheral equipment control program
JP3927731B2 (en) Printing system, information processing apparatus, information processing method, print job registration method, and recording medium
JPH09128171A (en) Printing system using alternate printer
JP3262520B2 (en) Network print system, information processing device, print server, print control device, method therefor, and storage medium storing control program therefor
JPH06119281A (en) Device for controlling computer peripheral equipment

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031204

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071212

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081212

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees