JPH1031569A - Print controller - Google Patents

Print controller

Info

Publication number
JPH1031569A
JPH1031569A JP8187434A JP18743496A JPH1031569A JP H1031569 A JPH1031569 A JP H1031569A JP 8187434 A JP8187434 A JP 8187434A JP 18743496 A JP18743496 A JP 18743496A JP H1031569 A JPH1031569 A JP H1031569A
Authority
JP
Japan
Prior art keywords
file
print
control unit
unit
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8187434A
Other languages
Japanese (ja)
Inventor
Ikuo Enabe
郁夫 江辺
Osamu Kotanigawa
修 小谷川
Toyokazu Uda
豊和 宇田
Toshihiko Shibusawa
俊彦 渋沢
Takaaki Hiramatsu
孝章 平松
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8187434A priority Critical patent/JPH1031569A/en
Publication of JPH1031569A publication Critical patent/JPH1031569A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the printer controller which is flexibly adaptive to alterations of a system and easily maintained. SOLUTION: When a print job sent from a client 12 is received by a spooler 18 and a job process is left to a print control part 22, the print control part 22 indicates the job process to a PDL process part 26, and consequently the PDL process part 26 requests the print control part 22 to perform necessary file operation. The print control part 22 performs the specific file operation for a corresponding file according to an indication instruction system corresponding to a file server 14 stored with the file to be processed and passes it to the PDL process part 26. The PDL process part 26 generates raster data from the passed file. The raster data are printed out by a print hardware control part 24.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は印刷制御装置、特に
複数のファイル格納部に格納され、ページ記述言語によ
って記述されたファイルを読み出し、これから印刷デー
タを得る印刷制御装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a print control apparatus, and more particularly to a print control apparatus that reads a file stored in a plurality of file storage units and described in a page description language and obtains print data therefrom.

【0002】[0002]

【従来の技術】ファイルサーバ上のページ記述言語(P
DL)データを従来のプリントサーバを使用してプリン
トする場合、一旦ファイルサーバからクライアントへP
DLデータを転送し、その後クライアントがプリントサ
ーバへPDLデータそのものを送り、プリントサーバ内
でこれを処理してプリントデータを得ていた。
2. Description of the Related Art A page description language (P) on a file server
DL) When printing data using a conventional print server, once a file server sends a P
DL data is transferred, and then the client sends the PDL data itself to the print server, which processes the print data to obtain print data.

【0003】このような従来のプリントサーバの例が図
6に示される。図6において、ネットワーク上のリモー
トのファイルサーバ14(ファイルサーバA、B)に
は、それぞれPDLデータが格納されている。これらの
PDLデータをプリントする場合、クライアント12が
ファイルサーバ14から受け取ったPDLデータをプリ
ントサーバ10に対して転送する。クライアント12か
らプリントサーバ10に転送されたPDLデータは、通
信部16によりPDLデータを含む印刷ジョブとして受
け取られる。
FIG. 6 shows an example of such a conventional print server. In FIG. 6, PDL data is stored in remote file servers 14 (file servers A and B) on the network. When printing these PDL data, the client 12 transfers the PDL data received from the file server 14 to the print server 10. The PDL data transferred from the client 12 to the print server 10 is received by the communication unit 16 as a print job including the PDL data.

【0004】次にスプーラ18が通信部16からそのジ
ョブを受け取り、PDLデータを記憶部20のスプール
領域に退避させる。スプール18は、プリント制御部2
2がアイドル状態の時に、通信部16から受け取ったジ
ョブの処理を依頼する。
[0004] Next, the spooler 18 receives the job from the communication unit 16 and saves the PDL data to a spool area of the storage unit 20. The spool 18 is provided in the print control unit 2.
When 2 is in the idle state, it requests processing of the job received from the communication unit 16.

【0005】プリント制御部22は、スプーラ18から
ジョブ処理を依頼されると、プリントハードウェア制御
部24に対してプリンタの準備を指示すると共に、PD
L処理部26に対して記憶部20上のPDLデータのフ
ァイル名を渡し、その処理開始を指示する。
When requested by the spooler 18 for job processing, the print control unit 22 instructs the print hardware control unit 24 to prepare for a printer,
The file name of the PDL data in the storage unit 20 is passed to the L processing unit 26, and the start of the process is instructed.

【0006】PDL処理部26では、記憶部20に格納
されたPDLデータのファイルに対して、open、r
ead、seek、size、close等のファイル
操作を実行する。なお図6においては、これらのファイ
ル操作に対してそれぞれ番号1が付加されているが、こ
れは記憶部20に格納されたファイルに対するファイル
操作であることを意味している。
[0006] The PDL processing unit 26 performs open, r on the PDL data file stored in the storage unit 20.
Execute file operations such as ead, seek, size, and close. In FIG. 6, a number 1 is added to each of these file operations, which means that the operation is a file operation for a file stored in the storage unit 20.

【0007】ここでopenはファイルのオープンであ
り、closeはファイルのクローズである。またre
adは処理対象のファイル中の位置を示すポインタの現
在位置からデータを読み出し、その後ポインタの位置を
次の読出し位置に更新する操作であり、seekはファ
イルからのデータの読出し位置を変更するために、ポイ
ンタの位置を変更する操作であり、sizeは取扱うフ
ァイルの大きさを読み取る操作である。
[0007] Here, open indicates opening of a file, and close indicates closing of the file. Also re
ad is an operation of reading data from the current position of the pointer indicating the position in the file to be processed, and then updating the position of the pointer to the next read position, and seek is an operation for changing the read position of data from the file. , An operation of changing the position of the pointer, and size is an operation of reading the size of the file to be handled.

【0008】PDL処理部26では、以上に述べた各フ
ァイル操作を実行しつつ、PDLデータを解釈、処理し
て印刷データとしてのラスターデータを作成する。プリ
ントハードウェア制御部24は、PDL処理部26が作
成したラスターデータを実際に用紙へ出力するため、プ
リンタ等所定のハードウェアの制御を行う。プリント制
御部22は、以上に述べた各動作中にPDL処理部26
とプリントハードウェア制御部24との制御を行う。
The PDL processing section 26 interprets and processes the PDL data while executing the above-described file operations to create raster data as print data. The print hardware control unit 24 controls predetermined hardware such as a printer in order to actually output the raster data created by the PDL processing unit 26 on paper. The print control unit 22 performs the PDL processing unit 26 during each operation described above.
And the print hardware control unit 24.

【0009】[0009]

【発明が解決しようとする課題】上記従来のプリントサ
ーバ10においては、全てのファイル操作をPDL処理
部26が実行している。これは、処理対象のファイルが
全て記憶部20としてのローカルディスク上にあり、こ
のローカルの記憶部20に対するファイル操作は一種類
しかないため、PDL処理部26で全てのファイル操作
を実行しても不都合がなかったからである。
In the above-described conventional print server 10, all file operations are performed by the PDL processing unit 26. This is because all files to be processed are on the local disk as the storage unit 20 and there is only one type of file operation on the local storage unit 20. Because there was no inconvenience.

【0010】しかし、処理対象のファイルをローカルの
記憶部20上のファイルに限らず、リモートにあるファ
イルサーバ14上のファイルにまで拡張しようとする
と、それぞれのファイルサーバ14上にある各ファイル
へは、各ファイルサーバ14毎に対応した指示命令体系
によりファイル操作を実行する必要がある。すなわち、
リモートのファイルサーバ14上のファイルへアクセス
するためには、ファイル操作を実行するPDL処理部2
6が、それぞれのファイルサーバ14に対応するファイ
ル操作をできるように構成される必要がある。
However, if the file to be processed is expanded not only to the file on the local storage unit 20 but also to a file on a remote file server 14, each file on each file server 14 is In addition, it is necessary to execute a file operation using an instruction command system corresponding to each file server 14. That is,
To access a file on the remote file server 14, the PDL processing unit 2 that executes a file operation
6 must be configured to perform file operations corresponding to the respective file servers 14.

【0011】このため、ファイルサーバ14の数を増や
そうとすると、その度にPDL処理部26のファイル操
作も増やしていかなければならず、また逆にPDL処理
部26を増設しようとすると、増設するPDL処理部に
対して、全てのファイルサーバ14に対応する、それぞ
れ異なる指示命令体系により各ファイル操作を移植する
必要が生じる。従って、ファイルサーバ14の追加やP
DL処理部26の増設が非常に困難になるという問題が
あった。
For this reason, whenever the number of file servers 14 is to be increased, the number of file operations of the PDL processing unit 26 must be increased each time. It is necessary to port each file operation to the PDL processing unit using a different instruction command system corresponding to all the file servers 14. Therefore, addition of the file server 14 and P
There is a problem that it is very difficult to add the DL processing unit 26.

【0012】また、PDL処理部26に全てのファイル
サーバ14に対応するファイル操作を持たせると、各P
DL処理部26毎に重複したファイル操作を有すること
になるので、プリントサーバ10が複雑化し、メンテナ
ンスが困難となるという問題もあった。
When the PDL processing unit 26 is provided with file operations corresponding to all the file servers 14,
Since each DL processing unit 26 has a duplicate file operation, the print server 10 becomes complicated and maintenance becomes difficult.

【0013】本発明は上記従来の課題に鑑みなされたも
のであり、その目的は、システムの変更に柔軟に対応で
き、メンテナンスの容易な印刷制御装置を提供すること
にある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and has as its object to provide a print control apparatus which can flexibly cope with a change in the system and which can be easily maintained.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、異なる指示命令体系を有する複数のファ
イル格納部に格納されたファイルを読み出し、その読み
出した内容に基づき処理を実行して印刷データを得るた
めの印刷制御装置であって、処理すべきファイルへのア
クセスを依頼し、その依頼に対応して渡されたファイル
の内容から印刷データを作成する処理部と、処理部がア
クセスを依頼したファイルを格納したファイル格納部
に、そのファイル格納部に対応した指示命令体系で指示
を出力し、該当するファイルにアクセスして処理部に渡
す制御部と、を含むことを特徴とする。
In order to achieve the above object, the present invention reads out files stored in a plurality of file storage units having different instruction command systems, and executes processing based on the read contents. A processing unit for requesting access to a file to be processed and creating print data from the contents of the file passed in response to the request; and And a control unit that outputs an instruction to the file storage unit storing the requested file in an instruction command system corresponding to the file storage unit, accesses the corresponding file, and passes the file to the processing unit. I do.

【0015】また、異なる指示命令体系を有する複数の
ファイル格納部に格納されたファイルを読み出し、その
読み出した内容に基づき処理を実行して印刷データを得
るための印刷制御装置であって、クライアントから印刷
ジョブを受け付ける通信部と、通信部が受け付けた印刷
ジョブを受け取り、その印刷ジョブの処理を開始するた
めのジョブ処理要求を出すスプーラと、スプーラからジ
ョブ処理要求を受け取り、該当するファイルの処理を制
御する制御部と、制御部からの指示に基づき、制御部か
ら渡されたファイルの内容から印刷データを作成する処
理部と、制御部からの指示に基づき、処理部が作成した
印刷データに基づきプリンタを動作させるプリントハー
ドウェア制御部と、を備え、処理部は、制御部から印刷
データの作成を指示されると、制御部に対し処理すべき
ファイルへのアクセスを依頼し、制御部は、処理部がア
クセスを依頼したファイルを格納したファイル格納部
に、そのファイル格納部に対応した指示命令体系で指示
を出力し、該当するファイルにアクセス処理部に渡すこ
とを特徴とする。
A print control apparatus for reading files stored in a plurality of file storage units having different instruction command systems and executing processing based on the read contents to obtain print data. A communication unit that receives the print job, a spooler that receives the print job received by the communication unit, and issues a job processing request to start processing the print job, and receives a job processing request from the spooler and processes the corresponding file. A control unit for controlling, a processing unit for creating print data from the contents of the file passed from the control unit based on an instruction from the control unit, and a print data created by the processing unit based on an instruction from the control unit A print hardware control unit for operating the printer, wherein the processing unit instructs the control unit to generate print data. Then, the control unit requests the control unit to access the file to be processed, and the control unit stores the file requested by the processing unit in the file storage unit using the instruction system corresponding to the file storage unit. An instruction is output and the corresponding file is passed to the access processing unit.

【0016】上記構成によれば、制御部が各ファイル格
納部に対応した指示命令体系でファイルにアクセスする
ので、処理部毎に複数の指示命令体系を備える必要がな
い。また、上述の処理部による処理すべきファイルへの
アクセスの依頼は、制御部に対する抽象化されたファイ
ル操作の依頼であることを特徴とする。
According to the above configuration, since the control unit accesses the file using the instruction command system corresponding to each file storage unit, it is not necessary to provide a plurality of instruction command systems for each processing unit. Further, the request for access to the file to be processed by the processing unit is a request for an abstracted file operation to the control unit.

【0017】また、この抽象化されたファイル操作は、
ファイル中の位置を示すポインタの現在位置からのデー
タ読み出しとポインタ位置の更新を指示するread
と、データ読み出し位置を変更するためにポインタ位置
の変更を指示するseekと、取り扱うファイルの大き
さを読み取るsizeと、からなることを特徴とする。
Also, this abstracted file operation is:
Read for instructing reading of data from the current position of the pointer indicating the position in the file and updating of the pointer position
, A seek for instructing a change of a pointer position to change a data read position, and a size for reading a size of a file to be handled.

【0018】上記構成によれば、処理部は一種類のファ
イル操作を制御部に依頼するだけなので、処理部の構成
が簡略化される。
According to the above configuration, since the processing unit only requests the control unit to perform one type of file operation, the configuration of the processing unit is simplified.

【0019】[0019]

【発明の実施の形態】以下、本発明の好適な実施の形態
を図面に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0020】図1には本発明に係る印刷制御装置の一実
施形態のブロック図が示される。図1において、プリン
トサーバ10が本発明の印刷制御装置に該当する。
FIG. 1 is a block diagram showing an embodiment of a print control apparatus according to the present invention. In FIG. 1, a print server 10 corresponds to the print control device of the present invention.

【0021】図1では、ファイルサーバ14としてファ
イルサーバAとファイルサーバBの2つがネットワーク
上に接続された例が示されているが、ファイルサーバ1
4の数は必ずしも2つである必要はなく、任意の数に設
定することができる。なお、これらの各ファイルサーバ
14は、それぞれ異なる指示命令体系を有している。
FIG. 1 shows an example in which two file servers A and B are connected as a file server 14 on a network.
The number of 4 is not necessarily two, and can be set to any number. Each of these file servers 14 has a different instruction command system.

【0022】本実施形態において、ファイルサーバ14
上のPDLデータをプリントする場合には、クライアン
ト12がPDLデータまたはPDLデータの参照をプリ
ントサーバ10に送る。ここで参照とは、そのPDLデ
ータが格納されているファイルサーバ名とファイルサー
バ14上のファイル名から構成され、プリントサーバ1
0が当該PDLデータを得るためにアクセスすべきファ
イルの位置を知るためのデータとなる。
In this embodiment, the file server 14
When printing the above PDL data, the client 12 sends the PDL data or a reference to the PDL data to the print server 10. Here, the reference includes the name of the file server on which the PDL data is stored and the name of the file on the file server 14.
0 is data for knowing the position of a file to be accessed to obtain the PDL data.

【0023】クライアント12からPDLデータまたは
その参照が送られると、通信部16がPDLデータまた
はその参照を含む印刷ジョブを受け付け、この印刷ジョ
ブをスプーラ18が受け取る。この時、クライアント1
2から送られてきた印刷ジョブにPDLデータそのもの
が含まれている場合には、スプーラ18が記憶部20の
スプール領域すなわちスプーラ18が管理している領域
にそのPDLデータを退避する。一方、前述の印刷ジョ
ブに、PDLデータの参照が含まれている場合には、記
憶部20のスプール領域へのPDLデータの退避は行わ
れない。
When PDL data or its reference is sent from the client 12, the communication unit 16 accepts a print job including the PDL data or its reference, and the spooler 18 receives this print job. At this time, client 1
If the PDL data itself is included in the print job sent from 2, the spooler 18 saves the PDL data to a spool area of the storage unit 20, that is, an area managed by the spooler 18. On the other hand, if the print job includes a reference to the PDL data, the PDL data is not saved in the spool area of the storage unit 20.

【0024】なお、以上に述べたファイルサーバ14及
び記憶部20が本発明のファイル格納部に該当する。
The file server 14 and the storage unit 20 described above correspond to the file storage unit of the present invention.

【0025】スプーラ18は、プリント制御部22がア
イドル状態の時に、通信部16から受け取った印刷ジョ
ブの処理を依頼する。プリント制御部22は、スプーラ
18からジョブ処理を依頼されると、プリントハードウ
ェア制御部24に対してプリンタ等所定のハードウェア
の準備を指示すると共に、PDL処理部26に当該ジョ
ブの処理の開始を指示する。ここで、プリント制御部2
2が本発明の制御部に、PDL処理部26が本発明の処
理部にそれぞれ該当する。
The spooler 18 requests processing of a print job received from the communication unit 16 when the print control unit 22 is in the idle state. When requested by the spooler 18 for job processing, the print control unit 22 instructs the print hardware control unit 24 to prepare predetermined hardware such as a printer, and instructs the PDL processing unit 26 to start processing the job. Instruct. Here, the print control unit 2
2 corresponds to the control unit of the present invention, and the PDL processing unit 26 corresponds to the processing unit of the present invention.

【0026】プリント制御部22から、ジョブ処理を指
示されたPDL処理部26は、当該PDLデータを解
釈、処理して印刷データとしてのラスターデータを作成
する。プリントハードウェア制御部24は、PDL処理
部26が作成したラスターデータを実際に用紙へ出力す
るためにプリンタ等所定のハードウェアを制御する。こ
れらの場合、プリント制御部22は、プリントハードウ
ェア制御部24とPDL処理部26との動作を制御す
る。
The PDL processing unit 26 instructed by the print control unit 22 to perform job processing interprets and processes the PDL data to create raster data as print data. The print hardware control unit 24 controls predetermined hardware such as a printer in order to actually output the raster data created by the PDL processing unit 26 on paper. In these cases, the print control unit 22 controls operations of the print hardware control unit 24 and the PDL processing unit 26.

【0027】本発明において特徴的な点は、プリント制
御部22が、クライアント12から送られた参照に基づ
き、ファイルサーバ14から記憶部20への該当ファイ
ルの転送や各種ファイル操作及び必要なくなったファイ
ルの破棄などの動作を実行する点にある。
A feature of the present invention is that the print control unit 22 transfers the corresponding file from the file server 14 to the storage unit 20 based on the reference sent from the client 12, performs various file operations, and removes the unnecessary files. The point is to execute operations such as discarding.

【0028】このため、ジョブ処理時にPDL処理部2
6が具体的なファイル操作を実行する必要がなくなり、
プリント制御部22に対してファイル操作を依頼するだ
けでよくなる。すなわち、PDL処理部26はプリント
制御部22からジョブ処理を指示されると、プリント制
御部22に処理すべきファイルへアクセスし、所定のフ
ァイル操作を実行して結果を渡すように依頼する。プリ
ント制御部22では、PDL処理部26に依頼されたフ
ァイルを格納したファイルサーバ14に対応した指示命
令体系でデータ転送及びファイル操作を実行し、その結
果をPDL処理部26に渡す。PDL処理部26では、
前述のように、渡された結果からラスターデータを作成
する。
For this reason, at the time of job processing, the PDL processing unit 2
6 does not need to perform any specific file operations,
It is only necessary to request the print control unit 22 for a file operation. That is, when instructed by the print control unit 22 to perform job processing, the PDL processing unit 26 requests the print control unit 22 to access a file to be processed, execute a predetermined file operation, and pass the result. The print control unit 22 executes data transfer and file operation using a command system corresponding to the file server 14 storing the file requested by the PDL processing unit 26, and passes the result to the PDL processing unit 26. In the PDL processing unit 26,
As described above, raster data is created from the passed result.

【0029】また、クライアント12から送られたデー
タがPDLデータそのものである場合には、前述のよう
に、そのファイルが記憶部20のスプール領域に退避さ
れている。従って、プリント制御部22は、PDL処理
部26からの依頼に応じて、このローカルのスプール領
域上のファイルにアクセスし、記憶部20に対応した指
示命令体系で所定のファイル操作を実行した後PDL処
理部26にその結果を渡す。
When the data sent from the client 12 is the PDL data itself, the file is saved in the spool area of the storage unit 20 as described above. Accordingly, in response to a request from the PDL processing unit 26, the print control unit 22 accesses a file on the local spool area, executes a predetermined file operation using a command system corresponding to the storage unit 20, and then executes the PDL. The result is passed to the processing unit 26.

【0030】以上より、PDL処理部26としては、プ
リント制御部22に対してのみファイル操作を依頼でき
ればよくなる。従って、プリント制御部22との間で抽
象化された、すなわち各ファイルサーバ14や記憶部2
0のスプール領域に対応した指示命令体系の間の相違に
関わらない共通のファイル操作のみ実装されればよいこ
とになる。
As described above, the PDL processing unit 26 only needs to request the print control unit 22 to perform a file operation. Therefore, the file server 14 and the storage unit 2 are abstracted with the print control unit 22.
Only a common file operation irrespective of the difference between the instruction command systems corresponding to the spool area of 0 needs to be implemented.

【0031】ここで、抽象化されたファイル操作の種類
としては、処理対象のファイル中の位置を示すポインタ
の現在位置からデータを読み出し、その後ポインタの位
置を次の読出し位置に更新するためのreadと、ファ
イルからのデータの読出し位置を変更するために、ポイ
ンタの位置を変更するためのseekと、取扱うファイ
ルの大きさを読み取るためのsizeとがある。
Here, as the type of the abstracted file operation, data is read from the current position of the pointer indicating the position in the file to be processed, and then the read for updating the position of the pointer to the next read position is performed. And seek for changing the position of the pointer to change the reading position of the data from the file, and size for reading the size of the file to be handled.

【0032】以上の通りの構成とすることにより、ファ
イルサーバ14を追加する場合にも、PDL処理部26
に変更を加える必要がなくなる。また、新たにPDL処
理部26を追加する場合にも、プリント制御部22に対
してファイル操作を依頼するための抽象化されたファイ
ル操作の実装のみを行えばよく、各ファイルサーバ14
のそれぞれに対応した複数のファイル操作を、追加され
るPDL処理部26に実装する必要がない。さらに、フ
ァイルサーバ14に改良を加える場合にも、プリント制
御部22だけを変更すればよい。従って、本実施形態に
係るプリントサーバ10は、システムの変更に柔軟に対
応することができ、またファイル操作等の改良も容易で
あり、メンテンナンス性に優れている。
With the above configuration, even when the file server 14 is added, the PDL processing unit 26
No need to make any changes to Also, when a new PDL processing unit 26 is added, only the implementation of an abstracted file operation for requesting the print control unit 22 to perform a file operation may be performed.
Need not be implemented in the added PDL processing unit 26. Further, when improving the file server 14, only the print control unit 22 needs to be changed. Therefore, the print server 10 according to the present embodiment can flexibly respond to changes in the system, can easily improve file operations and the like, and has excellent maintainability.

【0033】なお、図1には、プリント制御部22に実
装されたファイルサーバ14及び記憶部20毎のファイ
ル操作の例が示される。open、read、see
k、size、closeからなるファイル操作に対し
て符号1を付したもの(それぞれopen1、read
1、seek1、size1、close1)がローカ
ルすなわち記憶部20のスプーラ18が管理する領域
(スプール領域)に格納されたファイルに対するファイ
ル操作を表している。また、各ファイル操作に符号2を
付したもの(open2、read2、seek2、s
ize2、close2)は、ファイルサーバAに対す
るファイル操作を表している。また、各ファイル操作に
符号3を付したもの(open3、read3、see
k3、size3、close3)は、ファイルサーバ
Bに対するファイル操作を表している。なお、ファイル
サーバ14の数が増えれば、これらのファイル操作の種
類も増え、プリント制御部22に実装される。
FIG. 1 shows an example of a file operation for each of the file server 14 and the storage unit 20 mounted on the print control unit 22. open, read, see
A file operation consisting of k, size, and close, with reference numeral 1 (open1, read, respectively)
1, 1, seek1, size1, and close1) represent file operations on files stored locally, ie, in an area (spool area) managed by the spooler 18 of the storage unit 20. In addition, each file operation with reference numeral 2 (open2, read2, seek2, s
“size2, close2)” represents a file operation on the file server A. Also, each file operation is given a reference numeral 3 (open3, read3, see
k3, size3, and close3) represent file operations on the file server B. If the number of file servers 14 increases, the types of these file operations also increase and are implemented in the print control unit 22.

【0034】このように、プリント制御部22には、リ
モートの各ファイルサーバ14及びプリントサーバ10
中にローカルとして存在する記憶部20のスプール領域
にそれぞれ格納されているファイルに対応する指示命令
体系のファイル操作が実装されている。従って、PDL
処理部26から上述したファイル操作の依頼があった場
合には、各ファイル格納部すなわちファイルサーバ14
または記憶部20毎に対応したファイル操作を実行でき
る。
As described above, the print control unit 22 includes the remote file servers 14 and the print server 10
A file operation of an instruction command system corresponding to each file stored in the spool area of the storage unit 20 existing as a local therein is implemented. Therefore, PDL
When the above-mentioned file operation is requested from the processing unit 26, each file storage unit, that is, the file server 14
Alternatively, a file operation corresponding to each storage unit 20 can be executed.

【0035】図2には、プリント制御部22がスプーラ
18から印刷ジョブの処理要求を受けた場合の動作のフ
ローが示される。図2において、スプーラ18からジョ
ブ処理要求を受けると(S1)、プリント制御部22が
処理すべきPDLデータをチェックする(S2)。
FIG. 2 shows an operation flow when the print control unit 22 receives a print job processing request from the spooler 18. 2, when a job processing request is received from the spooler 18 (S1), the print control unit 22 checks PDL data to be processed (S2).

【0036】処理すべきPDLデータすなわちクライア
ント12から通信部16を経由して送られてきたPDL
データが参照であるか否かを確認する(S3)。
The PDL data to be processed, that is, the PDL sent from the client 12 via the communication unit 16
It is confirmed whether or not the data is a reference (S3).

【0037】参照である場合には、その参照に対応する
ファイルが記憶部20のプリント制御部22が管理する
領域に転送されているか否かが確認される(S4)。転
送されていない場合には、プリント制御部22が通信部
16に対して該当するPDLデータを記憶部20へ転送
するように依頼し、通信部16がクライアント12を介
して該当するファイルを記憶部20へ転送する(S
5)。
If it is a reference, it is confirmed whether or not the file corresponding to the reference has been transferred to an area managed by the print control unit 22 of the storage unit 20 (S4). If not, the print control unit 22 requests the communication unit 16 to transfer the corresponding PDL data to the storage unit 20, and the communication unit 16 stores the corresponding file via the client 12 in the storage unit. 20 (S
5).

【0038】記憶部20へ転送されたファイルは、プリ
ント制御部22によりオープンされる(S6)。この場
合のファイル操作は、図1に示されたopen2または
open3等のリモートのファイルサーバ14に対応す
る指示命令体系に基づくファイル操作である。また、該
当するファイルが記憶部20のプリント制御部22が管
理する領域に転送されている場合には、S5の処理は行
われず、直ちにプリント制御部22が該当するファイル
をオープンする(S4、S6)。
The file transferred to the storage unit 20 is opened by the print control unit 22 (S6). The file operation in this case is a file operation based on a command system corresponding to the remote file server 14 such as open2 or open3 shown in FIG. If the corresponding file has been transferred to the area managed by the print control unit 22 of the storage unit 20, the process of S5 is not performed, and the print control unit 22 immediately opens the corresponding file (S4, S6). ).

【0039】一方、S3において参照ではないと判断さ
れた場合には、処理すべきデータはPDLデータそのも
のであり、クライアント12から通信部16を介して記
憶部20のスプーラ18が管理するスプール領域に格納
されているものであるので、スプール領域のファイルを
プリント制御部22がオープンする(S7)。この場合
のファイル操作は、図1に示されたスプール領域に対応
する指示命令体系のopen1である。
On the other hand, if it is determined in step S3 that the data is not a reference, the data to be processed is the PDL data itself. Since it is stored, the print control unit 22 opens the file in the spool area (S7). The file operation in this case is open1 of the instruction system corresponding to the spool area shown in FIG.

【0040】以上のようにしてオープンされたファイル
は、PDL処理部26が要求しているread、see
k、sizeに応じて、プリント制御部22が所定のフ
ァイル操作を行い、その後PDL処理部26に渡され
る。PDL処理部26では、渡された該当ファイルのP
DLデータに対し所定の処理が実行され、ラスターデー
タが作成される。このラスターデータに基づいてプリン
トハードウェア制御部24がプリンタ等の所定のハード
ウェアを制御し、用紙にラスターデータが印刷される
(S8)。
The file opened as described above is read, see,
The print control unit 22 performs a predetermined file operation according to k and size, and is then passed to the PDL processing unit 26. In the PDL processing unit 26, the P
Predetermined processing is performed on the DL data to create raster data. The print hardware control unit 24 controls predetermined hardware such as a printer based on the raster data, and the raster data is printed on a sheet (S8).

【0041】次に、プリント制御部22が、処理したP
DLデータが参照であるかどうかを確認する(S9)。
参照である場合には、処理が終了したファイルをクロー
ズする(S10)。この時のファイル操作は、例えば図
1に示されたclose2またはclose3である。
Next, the print control unit 22
It is confirmed whether the DL data is a reference (S9).
If it is a reference, the file for which processing has been completed is closed (S10). The file operation at this time is, for example, close2 or close3 shown in FIG.

【0042】次にプリント制御部22が自己が管理する
記憶部20の領域に空き領域が十分あるか否かを確認す
る(S11)。空き領域が所定量より少ない場合にはそ
こに格納されている古いファイルから順番に削除し、必
要な空き領域を確保する(S12)。また、空き領域が
十分である場合には古いファイルの削除は行わない(S
11)。
Next, the print control unit 22 checks whether there is sufficient free space in the area of the storage unit 20 managed by the print control unit 22 (S11). If the free space is smaller than the predetermined amount, the oldest files stored therein are deleted in order, and the necessary free space is secured (S12). If there is enough free space, the old file is not deleted (S
11).

【0043】以上の操作を実行した後、プリント制御部
22がスプーラ18に対して依頼されたジョブ処理の終
了を通知する(S13)。
After performing the above operations, the print control unit 22 notifies the spooler 18 of the end of the requested job processing (S13).

【0044】なお、S9において参照ではないと判断さ
れた場合には、記憶部20のスプーラ18が管理するス
プール領域に格納されたローカル上のファイルをプリン
ト制御部22がクローズし(S14)、その後スプーラ
18にジョブ処理の終了を通知する(S13)。この時
のプリント制御部22のファイル操作は、図1に示され
たclose1である。
If it is determined in S9 that the file is not a reference, the print control unit 22 closes the local file stored in the spool area managed by the spooler 18 of the storage unit 20 (S14). The end of the job processing is notified to the spooler 18 (S13). The file operation of the print control unit 22 at this time is close1 shown in FIG.

【0045】図3には、プリント制御部22が、PDL
処理部26からread処理要求を受けた場合の動作の
フローが示される。図3において、PDL処理部26か
らプリント制御部22がread処理要求を受け付ける
と(S20)、現在処理しているPDLデータのチェッ
クを行う(S21)。
FIG. 3 shows that the print control unit 22
An operation flow when a read processing request is received from the processing unit 26 is shown. In FIG. 3, when the print control unit 22 receives a read processing request from the PDL processing unit 26 (S20), the PDL data currently being processed is checked (S21).

【0046】ここで、現在処理しているPDLデータが
クライアント12から参照のみを送られてきたものであ
る場合には(S22)、記憶部20のプリント制御部2
2が管理している領域にPDLデータそのものが転送さ
れているかどうかが確認される(S23)。
Here, if the PDL data currently being processed has been sent with reference only from the client 12 (S22), the print control unit 2 of the storage unit 20
It is confirmed whether or not the PDL data itself has been transferred to the area managed by 2 (S23).

【0047】PDLデータそのものが記憶部20に転送
されていない場合には、プリント制御部22が、通信部
16に対して該当するPDLデータの転送を依頼する。
通信部16は、クライアント12を介して、処理すべき
PDLデータを記憶部20に転送する(S24)。
If the PDL data itself has not been transferred to the storage unit 20, the print control unit 22 requests the communication unit 16 to transfer the corresponding PDL data.
The communication unit 16 transfers the PDL data to be processed to the storage unit 20 via the client 12 (S24).

【0048】該当するPDLデータが記憶部20に転送
されると、プリント制御部22がこの転送されたファイ
ルをオープンする(S25)。この場合のファイル操作
は、図1に示されたopen2またはopen3等であ
る。
When the corresponding PDL data is transferred to the storage unit 20, the print control unit 22 opens the transferred file (S25). The file operation in this case is open2 or open3 shown in FIG.

【0049】一方、S23において、記憶部20に該当
するPDLデータが転送されている場合には、S24の
動作を行わずに直ちにプリント制御部22が該当するフ
ァイルをオープンする(S23、S25)。
On the other hand, if the corresponding PDL data has been transferred to the storage unit 20 in S23, the print control unit 22 immediately opens the corresponding file without performing the operation of S24 (S23, S25).

【0050】このプリント制御部22がオープンしたフ
ァイルに対してプリント制御部22は続けてreadを
実行する(S26)。
The print control unit 22 subsequently executes read on the file opened by the print control unit 22 (S26).

【0051】次にプリント制御部22は、PDL処理部
26に対して上記readの実行結果を返す(S2
7)。以上のreadは、例えば図1に示されたrea
d2、read3等のリモートのファイルサーバ14に
対応する指示命令体系に基づくread処理である。
Next, the print control unit 22 returns the read execution result to the PDL processing unit 26 (S2).
7). The above read is, for example, the read shown in FIG.
This is a read process based on a command system corresponding to the remote file server 14 such as d2 and read3.

【0052】なお、S22において、処理すべきPDL
データが参照だけを送られたものではない場合には、P
DLデータそのものが記憶部20のスプール領域に転送
され格納されているので、このスプール領域上のファイ
ルに対して、プリント制御部22が上記readを実行
し(S28)、その後PDL処理部26に対してrea
dの実行結果を返す(S27)。この場合のread
は、図1に示されたスプール領域に対応するread1
である。
In S22, the PDL to be processed
If the data was not sent by reference only, P
Since the DL data itself is transferred and stored in the spool area of the storage unit 20, the print control unit 22 executes the above read on the file in this spool area (S28). Rea
The execution result of d is returned (S27). Read in this case
Is read1 corresponding to the spool area shown in FIG.
It is.

【0053】図4には、プリント制御部22が、PDL
処理部26のseek処理の依頼を受けた時の動作のフ
ローが示される。
FIG. 4 shows that the print control unit 22
An operation flow when a request for a seek process of the processing unit 26 is received is shown.

【0054】図4においては、図3のフローと比べ、図
3のreadの部分をseekに置き換えたフローとな
っている。従って、図3において、プリント制御部22
がread処理を行う代りに、seek処理を行うだけ
の相違であり、他の動作は図3と共通であるので、詳細
な説明は省略する。
FIG. 4 is a flow in which the read portion in FIG. 3 is replaced with seek in comparison with the flow in FIG. Accordingly, in FIG.
However, only the seek process is performed instead of the read process, and the other operations are the same as those in FIG.

【0055】図5には、プリント制御部22がPDL処
理部26からsize処理の依頼を受けた場合の動作の
フローが示されている。
FIG. 5 shows an operation flow when the print control unit 22 receives a request for size processing from the PDL processing unit 26.

【0056】図5においても、図3に示されたフローの
うちreadの部分をsizeに置き換えたものであ
り、プリント制御部22がread処理を行う代りにs
ize処理を行うだけの相違であり、他の動作は図3と
同様であるので詳細な説明は省略する。
In FIG. 5 as well, the read portion in the flow shown in FIG. 3 is replaced with size, and the print control unit 22 executes s instead of performing the read process.
The only difference is that the size process is performed, and the other operations are the same as those in FIG.

【0057】なお、seek処理の結果としては、ポイ
ンタ位置の変更が成功したか失敗したかという内容がP
DL処理部26に返されることになり、size処理の
結果としては、その処理の結果読み取られたファイルの
大きさがPDL処理部26に返される。
As a result of the seek processing, it is determined whether the change of the pointer position has succeeded or failed.
The size of the file read as a result of the size processing is returned to the PDL processing unit 26 as a result of the size processing.

【0058】[0058]

【発明の効果】以上説明したように、本発明によれば、
各ファイルサーバ及び記憶部に対してそれぞれ個別の指
示命令体系に基づき実行されるファイル操作を、全てプ
リント制御部が実行する構成となっている。このため、
PDL処理部では具体的なファイル操作は行わず、これ
をプリント制御部に依頼するだけでよいので、システム
の変更に柔軟に対応できる。また、PDL処理部には個
別のファイル操作を実装する必要がないので、PDL処
理部の追加も容易に行える。さらに、ファイルサーバの
改良に対しても、プリント制御部22だけの変更で済む
のでメンテナンスも容易である。
As described above, according to the present invention,
The configuration is such that the print control unit executes all file operations to be performed for each file server and storage unit based on a separate instruction command system. For this reason,
The PDL processing unit does not perform a specific file operation, but only requests the print control unit to perform this operation. Therefore, it is possible to flexibly cope with a change in the system. Also, since it is not necessary to implement individual file operations in the PDL processing unit, it is possible to easily add a PDL processing unit. In addition, maintenance of the file server is easy because only the print control unit 22 needs to be changed.

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

【図1】 本発明に係る印刷制御装置の一実施形態のブ
ロック図である。
FIG. 1 is a block diagram of a printing control apparatus according to an embodiment of the present invention.

【図2】 図1に示された実施形態において、プリント
制御部がPDL処理部からジョブ処理要求を受けた場合
のフローを示す図である。
FIG. 2 is a diagram showing a flow when the print control unit receives a job processing request from a PDL processing unit in the embodiment shown in FIG.

【図3】 図1に示された実施形態において、プリント
制御部がPDL処理部からread処理を依頼された場
合の動作のフローを示す図である。
FIG. 3 is a diagram showing a flow of an operation when a print control unit is requested to perform a read process from a PDL processing unit in the embodiment shown in FIG. 1;

【図4】 図1に示された実施形態において、プリント
制御部がPDL処理部からseek処理を依頼された場
合の動作のフローを示す図である。
FIG. 4 is a diagram illustrating a flow of an operation when a print control unit is requested to perform a seek process from a PDL processing unit in the embodiment illustrated in FIG. 1;

【図5】 図1に示された実施形態において、プリント
制御部がPDL処理部からsize処理を依頼された場
合の動作のフローを示す図である。
FIG. 5 is a diagram illustrating an operation flow when a print control unit is requested to perform a size process from a PDL processing unit in the embodiment illustrated in FIG. 1;

【図6】 従来における印刷制御装置の例のブロック図
である。
FIG. 6 is a block diagram illustrating an example of a conventional print control apparatus.

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

10 プリントサーバ、12 クライアント、14 フ
ァイルサーバ、16通信部、18 スプーラ、20 記
憶部、22 プリント制御部、24 プリントハードウ
ェア制御部、26 PDL処理部。
10 print server, 12 client, 14 file server, 16 communication unit, 18 spooler, 20 storage unit, 22 print control unit, 24 print hardware control unit, 26 PDL processing unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宇田 豊和 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&Dビジネスパークビル 富 士ゼロックス株式会社内 (72)発明者 渋沢 俊彦 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&Dビジネスパークビル 富 士ゼロックス株式会社内 (72)発明者 平松 孝章 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&Dビジネスパークビル 富 士ゼロックス株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Toyooka Uda 3-2-1, Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa KSP R & D Business Park Building Inside Fuji Xerox Co., Ltd. (72) Inventor Toshihiko Shibusawa Takatsu-ku, Kawasaki-shi, Kanagawa 3-2-1 Sakado KSP R & D Business Park Building Fuji Xerox Co., Ltd. (72) The inventor Takaaki Hiramatsu 3-2-1 Sakado Takatsu-ku, Kawasaki-shi, Kanagawa KSP R & D Business Park Building Fuji Xerox Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 異なる指示命令体系を有する複数のファ
イル格納部に格納されたファイルを読み出し、その読み
出した内容に基づき処理を実行して印刷データを得るた
めの印刷制御装置であって、 処理すべきファイルへのアクセスを依頼し、その依頼に
対応して渡されたファイルの内容から印刷データを作成
する処理部と、 前記処理部がアクセスを依頼したファイルを格納したフ
ァイル格納部に、そのファイル格納部に対応した指示命
令体系で指示を出力し、前記ファイルにアクセスして前
記処理部に渡す制御部と、 を含むことを特徴とする印刷制御装置。
1. A print control apparatus for reading files stored in a plurality of file storage units having different instruction command systems and executing processing based on the read contents to obtain print data. A processing unit that requests access to a file to be accessed and creates print data from the contents of the file passed in response to the request; and a file storage unit that stores the file requested by the processing unit to access the file. A control unit that outputs an instruction in an instruction instruction system corresponding to a storage unit, accesses the file, and passes the file to the processing unit.
【請求項2】 異なる指示命令体系を有する複数のファ
イル格納部に格納されたファイルを読み出し、その読み
出した内容に基づき処理を実行して印刷データを得るた
めの印刷制御装置であって、 クライアントから印刷ジョブを受け付ける通信部と、 前記通信部が受け付けた印刷ジョブを受け取り、その印
刷ジョブの処理を開始するためのジョブ処理要求を出す
スプーラと、 前記スプーラから前記ジョブ処理要求を受け取り、該当
するファイルの処理を制御する制御部と、 前記制御部からの指示に基づき、前記制御部から渡され
たファイルの内容から印刷データを作成する処理部と、 前記制御部からの指示に基づき、前記処理部が作成した
印刷データに基づきプリンタを動作させるプリントハー
ドウェア制御部と、 を備え、 前記処理部は、前記制御部から印刷データの作成を指示
されると、前記制御部に対し処理すべきファイルへのア
クセスを依頼し、 前記制御部は、前記処理部がアクセスを依頼したファイ
ルを格納したファイル格納部に、そのファイル格納部に
対応した指示命令体系で指示を出力し、前記ファイルに
アクセスして前記処理部に渡すことを特徴とする印刷制
御装置。
2. A print control apparatus for reading files stored in a plurality of file storage units having different instruction command systems and executing processing based on the read contents to obtain print data. A communication unit that receives the print job; a spooler that receives the print job received by the communication unit and issues a job processing request to start processing the print job; and a file that receives the job processing request from the spooler, and A processing unit that creates print data from the contents of a file passed from the control unit based on an instruction from the control unit; and a processing unit based on an instruction from the control unit. A print hardware control unit that operates the printer based on the print data created by the processing unit, and the processing unit When the control unit instructs creation of print data, the control unit requests the control unit to access a file to be processed. The control unit includes a file storage unit storing the file requested by the processing unit to access. And outputting an instruction in an instruction instruction system corresponding to the file storage unit, accessing the file, and passing the file to the processing unit.
【請求項3】 請求項1または請求項2記載の印刷制御
装置において、 前記処理部による処理すべきファイルへのアクセスの依
頼は、前記制御部に対する抽象化されたファイル操作の
依頼であることを特徴とする印刷制御装置。
3. The print control apparatus according to claim 1, wherein the request for access to a file to be processed by the processing unit is a request for an abstracted file operation to the control unit. Characteristic print control device.
【請求項4】 請求項3記載の印刷制御装置において、 前記ファイル操作は、ファイル中の位置を示すポインタ
の現在位置からのデータ読み出しとポインタ位置の更新
を指示するreadと、データ読み出し位置を変更する
ためにポインタ位置の変更を指示するseekと、取り
扱うファイルの大きさを読み取るsizeと、からなる
ことを特徴とする印刷制御装置。
4. The print control device according to claim 3, wherein the file operation includes changing a data read position and a read instruction for reading data from a current position of a pointer indicating a position in the file and updating the pointer position. And a size for reading the size of a file to be handled.
JP8187434A 1996-07-17 1996-07-17 Print controller Pending JPH1031569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8187434A JPH1031569A (en) 1996-07-17 1996-07-17 Print controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8187434A JPH1031569A (en) 1996-07-17 1996-07-17 Print controller

Publications (1)

Publication Number Publication Date
JPH1031569A true JPH1031569A (en) 1998-02-03

Family

ID=16206000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8187434A Pending JPH1031569A (en) 1996-07-17 1996-07-17 Print controller

Country Status (1)

Country Link
JP (1) JPH1031569A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330498C (en) * 2002-11-14 2007-08-08 国际商业机器公司 Equipment and method for controlling printing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330498C (en) * 2002-11-14 2007-08-08 国际商业机器公司 Equipment and method for controlling printing

Similar Documents

Publication Publication Date Title
US6456388B1 (en) Printer enclosing network computer and computer network system employing the same
JP4989844B2 (en) Method, system, and computer-readable medium for rendering a print document on a client side in a network
KR101095617B1 (en) Method and arrangement for use of shared resources in a network
US7228314B2 (en) Apparatus and method for controlling user interface
US6246485B1 (en) Printer communication system and method
US5881213A (en) Deferred printing
JP4596696B2 (en) Information processing apparatus and printing apparatus
US8154754B2 (en) Apparatus, method, and program for processing job data from a network
JP2008117342A (en) Storage system, and controller for controlling remote copying
US5617518A (en) Output control method and system of servers
JP4481800B2 (en) Information processing apparatus, information processing method, and program
JP2000039972A (en) Print system and printer and print server
JPH0887390A (en) Network system with printer, and printer, server device and terminal device for network system
JP2001243157A (en) Network system, downloading device, server and network management method
US7505168B2 (en) Distributed client side printing methods and systems
JPH1031569A (en) Print controller
JP3508671B2 (en) Print job management system
JP3896689B2 (en) Printer and printing method
JPH07219865A (en) Image input device, image output device and information processor
JP3573387B2 (en) Online terminal program change system
JP2001296976A (en) Network printer system
JP3679458B2 (en) Print server, information processing apparatus, printing system, and printing control method
JPH10278364A (en) Page printer
JPH11203093A (en) Printer system
JPH0773128A (en) Information output device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040830

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040830

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041130