JPH06214923A - Server device - Google Patents

Server device

Info

Publication number
JPH06214923A
JPH06214923A JP5021706A JP2170693A JPH06214923A JP H06214923 A JPH06214923 A JP H06214923A JP 5021706 A JP5021706 A JP 5021706A JP 2170693 A JP2170693 A JP 2170693A JP H06214923 A JPH06214923 A JP H06214923A
Authority
JP
Japan
Prior art keywords
data
job
scanner
program
printer
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
JP5021706A
Other languages
Japanese (ja)
Inventor
Hirohiko Hashimoto
裕彦 橋本
Mitsumasa Sugiyama
光正 杉山
Yasuo Fukuda
康男 福田
Jiyunichi Shishizuka
順一 宍塚
Makoto Takaoka
真琴 高岡
Shigetada Kobayashi
重忠 小林
Susumu Sugiura
杉浦  進
Masanari Toda
雅成 戸田
Yoshinobu Mita
良信 三田
Kazuhiro Saito
和浩 齋藤
Yukari Shimomura
ゆかり 下村
Yoshikazu Yokomizo
良和 横溝
Sakuriki Negishi
作力 根岸
Osamu Yamada
修 山田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5021706A priority Critical patent/JPH06214923A/en
Publication of JPH06214923A publication Critical patent/JPH06214923A/en
Priority to US08/878,580 priority patent/US6804016B2/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a host side to utilize easily synthetic picture data by synthesizing converted bit map data and picture data from a scanner, and transferring the synthesized picture data to the host side. CONSTITUTION:Page descriptive language inputted from a LAN through an Ethernet transceiver 9 is stored directly in a specified area (receiving buffer) of a memory 6 by a DMA controller 10, and is converted into a raster image by a page descriptive language interpreter program. Then, when the synthesis of data described by the page descriptive language and sent from the host through the LAN 11 and the scanner-inputted picture data is instructed, a synthesizing means (main CPU circuit 1) synthesizes the bit map data converted by a processing means (main CPU circuit 1) and the picture data from the scanner, and the Ethernet circuit 2 transfers the synthesized picture data to the host side.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークを介して
ホストと接続されるスキャナ/プリンタのサーバー装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scanner / printer server device connected to a host via a network.

【0002】[0002]

【従来の技術】従来、スキャナにより読み取られた画像
とページ記述言語で記述された画像を合成した画像をホ
ストで処理するためにホストに送出する装置はなかっ
た。
2. Description of the Related Art Conventionally, there has been no apparatus for sending an image obtained by combining an image read by a scanner and an image described in a page description language to the host for processing by the host.

【0003】[0003]

【発明が解決しようとする課題】このため、スキャナに
より読み取られた画像とページ記述言語で記述された画
像を合成するためには、ホストがページ記述言語を解釈
する手段(インタープリター)を備え、スキャナから読
み取られた画像と合成する方法も考えられるが、前記イ
ンタープリターおよびそのワークエリアに必要なメモリ
に加えて、スキャナからの画像データをストアするメモ
リが必要となり、膨大なメモリを実装しなければならな
いという問題がある。また、通常のプリント動作のため
にインタープリターはプリンタ側にも装備させておく必
要があり、同様なインタープリターをホスト側とプリン
タ側に装備させなければならず、上記画像合成処理のた
めの構成に大きな無駄を生じてしまう等の問題点があっ
た。
Therefore, in order to synthesize the image read by the scanner and the image described in the page description language, the host is provided with a means (interpreter) for interpreting the page description language, A method of combining with the image read from the scanner can be considered, but in addition to the memory required for the interpreter and its work area, a memory for storing the image data from the scanner is required, and a huge memory must be installed. There is a problem that it must be. In addition, an interpreter must be installed on the printer side for normal printing operation, and a similar interpreter must be installed on the host side and the printer side. However, there was a problem such as a great waste of money.

【0004】本発明は、上記の問題点を解決するために
なされたもので、ネットワークを介してホストから転送
されるページ記述言語で記述されたデータに基づいて変
換したビットマップデータとスキャナから入力された画
像データをサーバー装置上で合成することにより、ネッ
トワーク上の各ホスト側に高価なメモリを拡張すること
なく、かつページ記述言語を解釈する手段を新たに設け
ることなく、ホスト側のメモリ資源では処理できないメ
モリを必要とするような合成画像データを容易に利用で
きるサーバー装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and bitmap data converted based on data described in a page description language transferred from a host via a network and input from a scanner. By synthesizing the created image data on the server device, memory resources on the host side can be realized without expanding expensive memory on each host side on the network and newly providing a means for interpreting the page description language. An object of the present invention is to provide a server device that can easily use synthetic image data that requires a memory that cannot be processed by.

【0005】[0005]

【課題を解決するための手段】本発明に係る第1のサー
バー装置は、スキャナおよびプリンタに接続するための
インタフェース手段と、ホストから送出されるページ記
述言語で記述されたデータをビットマップに変換する処
理手段と、ビットマップデータとスキャナからインタフ
ェース手段を介して入力される画像データとを合成する
合成手段とを有し、合成手段によって合成された画像デ
ータをネットワークを介してホストに送出可能に構成し
たものである。
A first server device according to the present invention converts an interface means for connecting to a scanner and a printer and data described in a page description language sent from a host into a bitmap. And a synthesizing means for synthesizing the bitmap data and the image data input from the scanner via the interface means, and the image data synthesized by the synthesizing means can be sent to the host via the network. It is composed.

【0006】本発明に係る第2のサーバー装置は、合成
手段によって合成された画像データを圧縮する圧縮手段
を設け、この圧縮手段によって圧縮された画像データを
ネットワークを介してホストに送出可能に構成したもの
である。
The second server device according to the present invention is provided with a compressing means for compressing the image data synthesized by the synthesizing means, and the image data compressed by this compressing means can be sent to the host via the network. It was done.

【0007】[0007]

【作用】第1の発明においては、ネットワークを介して
ホストから送出されるページ記述言語で記述されたデー
タとスキャナ入力される画像データの合成が指示される
と、合成手段が処理手段により変換されたビットマップ
データとスキャナからの画像データを合成し、該合成さ
れた画像データをホスト側に転送可能となるので、ホス
ト側のメモリ等の資源拡張の負担を強いることなく、ホ
ストから送出されるページ記述言語で記述されたデータ
とスキャナ入力される画像データとの合成画像データを
ホスト側が容易に利用することが可能となる。
According to the first aspect of the present invention, when the composition of the data described in the page description language sent from the host via the network and the image data input by the scanner is instructed, the composition means is converted by the processing means. Since the bitmap data and the image data from the scanner can be combined and the combined image data can be transferred to the host side, the data is sent from the host without imposing the burden of expanding resources such as memory on the host side. The host side can easily use the composite image data of the data described in the page description language and the image data input by the scanner.

【0008】第2の発明においては、合成手段によって
合成された画像データを圧縮手段が圧縮してネットワー
ク上のホストに送出可能となるので、サーバー装置側で
合成された大容量の合成画像データを短時間に取得して
ホスト側が容易に利用することが可能となる。
According to the second aspect of the present invention, since the compression means can compress the image data synthesized by the synthesizing means and send it to the host on the network, a large amount of synthesized image data synthesized on the server device side can be sent. It can be acquired in a short time and easily used by the host side.

【0009】[0009]

【実施例】図1は本発明の第1実施例を示すサーバー装
置の概要を説明するシステムブロック図である。なお、
詳細なシステムブロック図は後述する。
1 is a system block diagram for explaining the outline of a server device showing a first embodiment of the present invention. In addition,
A detailed system block diagram will be described later.

【0010】図において、スキャナ/プリンタ(SP)
サーバーは後述する。本システムは、大別してメインC
PU回路1,イーサネット回路2,JPEG圧縮回路
3,スキャナ/プリンタインタフェース回路4より構成
されている。なお、スキャナ/プリンタ(SP)サーバ
ーに複数のスキャナ/プリンタを接続する場合には、そ
の台数分のスキャナ/プリンタインタフェース回路を実
装する。その台数の増減を容易にする為にスキャナ/プ
リンタインタフェース回路は独立したボード上に構成さ
れており、本体とは後述するVMEバス16で接続す
る。残りのメインCPU回路1、イーサネット回路2、
JPEG圧縮回路3は1枚のボード上に構成されてお
り、互いにローカルなバス14で結合されている。
In the figure, a scanner / printer (SP)
The server will be described later. This system is roughly divided into main C
It is composed of a PU circuit 1, an Ethernet circuit 2, a JPEG compression circuit 3, and a scanner / printer interface circuit 4. When a plurality of scanners / printers are connected to the scanner / printer (SP) server, the scanner / printer interface circuits for that number are mounted. The scanner / printer interface circuit is configured on an independent board in order to easily increase or decrease the number of units, and is connected to the main body by a VME bus 16 described later. The remaining main CPU circuit 1, Ethernet circuit 2,
The JPEG compression circuit 3 is configured on one board and is connected to each other by a local bus 14.

【0011】4−1は第1のスキャナ/プリンタインタ
フェース回路(第1のSPインタフェース回路)で、例
えば商品名CLC−500等のディジタルカラー複写装
置100(レーザビームカラー複写装置)とVMEバス
16とのI/Oをインタフェースする。
Reference numeral 4-1 is a first scanner / printer interface circuit (first SP interface circuit), which includes a digital color copying apparatus 100 (laser beam color copying apparatus) such as a product name CLC-500 and a VME bus 16. Interface I / O.

【0012】4−2は第2のプリンタ/スキャナインタ
フェース(第2のSPインタフェース回路)で、例えば
商品名ピクセルジェット等のディジタルカラー複写装置
200(バブルジェットカラー複写装置)とVMEバス
16とのI/Oをインタフェースする。
Reference numeral 4-2 is a second printer / scanner interface (second SP interface circuit), which is an I between the digital color copying apparatus 200 (bubble jet color copying apparatus) such as the product name Pixeljet and the VMEbus 16. / O interface.

【0013】メインCPU回路1は例えばR3000
(商品名)等のCPU5とメモリ6等から成り、ここで
OSである、例えば VxWorks(商品名)の管理下ですべ
てのプログラムが実行される。メモリ6の補助記憶装置
として、ハードディスク7がある。8はSCSIインタ
フェースである。イーサネット回路2はイーサネットト
ランシーバー9とデータをメモリ6にDMA転送する為
のDMAコントローラ10等とから成る。イーサネット
トランシーバー9はイーサネット(商品名)ローカルエ
リアネットワーク(LAN)11に接続する。JPEG
圧縮回路3はJPEG圧縮/伸長コントローラ12とF
IFOメモリ13等とから成る。メインCPU回路1,
イーサネット回路2,JPEG圧縮回路3を互いに結合
しているローカルバス14はVMEバストランシーバー
15−1を介してVMEバス16に接続されている。
The main CPU circuit 1 is, for example, R3000.
All programs are executed under the control of the CPU 5 such as (product name) and the memory 6 and the like, where OS is VxWorks (product name). A hard disk 7 is an auxiliary storage device for the memory 6. 8 is a SCSI interface. The Ethernet circuit 2 includes an Ethernet transceiver 9 and a DMA controller 10 for DMA-transferring data to the memory 6. The Ethernet transceiver 9 is connected to an Ethernet (trade name) local area network (LAN) 11. JPEG
The compression circuit 3 includes a JPEG compression / decompression controller 12 and an F
The IFO memory 13 and the like. Main CPU circuit 1,
A local bus 14 connecting the Ethernet circuit 2 and the JPEG compression circuit 3 to each other is connected to a VME bus 16 via a VME bus transceiver 15-1.

【0014】第1のSPインタフェース回路4−1はペ
ージメモリ17と第1の制御回路18等からなる。1ペ
ージ分のメモリが必要な理由は、ディジタルカラー複写
装置100が印刷/スキャンを開始すると途中でフロー
制御する事ができないからである。ページメモリ17
は、メモリの価格が高いので圧縮メモリを構成してい
る。すなわち、このメモリ17に書き込まれるデータ
は、メモリ6でラスタライズされた画像のみである事に
着目し、メモリ17は非可逆圧縮ではあるが、高圧縮率
が得られるADCT圧縮方式を採用している。そのAD
CT圧縮チップはこの図では示していないが、前述のJ
PEG圧縮/伸長コントローラ12と同じチップを用い
ている。
The first SP interface circuit 4-1 comprises a page memory 17 and a first control circuit 18. The reason why the memory for one page is required is that the flow control cannot be performed midway when the digital color copying apparatus 100 starts printing / scanning. Page memory 17
Composes compressed memory because the price of memory is high. That is, paying attention to the fact that the data written in the memory 17 is only the image rasterized in the memory 6, the memory 17 adopts the ADCT compression method which can obtain a high compression rate though it is lossy compression. . That AD
Although the CT compression chip is not shown in this figure,
The same chip as the PEG compression / expansion controller 12 is used.

【0015】ただし、このページメモリ17にADCT
圧縮方式用いる場合、圧縮データはここだけの閉じた回
路で使用されるだけで、外部には出て行かないから、標
準に則る必要はなく、実際、JPEGを改良した効率的
な方法を用いている。第1の制御回路18は例えばZ−
80(商品名)等のCPU等で構成し、複写装置100
との画像以外の制御信号のやり取りをしている。ここの
インタフェースの本数を減らすため、制御コマンドをシ
リアルで送っている。第1のSPインタフェース回路4
−1はVMEバストランシーバー15−2を介してVM
Eバス16と接続している。
However, the ADCT is stored in the page memory 17.
When the compression method is used, the compressed data is used only in the closed circuit and does not go out to the outside. Therefore, it is not necessary to conform to the standard. In fact, an efficient method improved from JPEG is used. ing. The first control circuit 18 is, for example, Z-
A copying machine 100 including a CPU such as 80 (trade name)
I am exchanging control signals other than images with. To reduce the number of interfaces here, control commands are sent serially. First SP interface circuit 4
-1 is a VM via the VMEbus transceiver 15-2
It is connected to the E-bus 16.

【0016】第2のSPインタフェース回路4−2はデ
ータ縦横変換回路19、バッファメモリ20、画像処理
回路21及び第2の制御回路22等とから成り。VME
バストランシーバー15−3を介してVMEバス16と
接続している。データ縦横変換回路19は、プリント時
は走査方向の画像のデータ形式を走査方向に対して90
°に変換し、スキャン時は走査方向に対して90°のデ
ータ形式を走査方向に変換する。バッファメモリ20は
そのための変換用バッファとして用いる。
The second SP interface circuit 4-2 comprises a data vertical / horizontal conversion circuit 19, a buffer memory 20, an image processing circuit 21, a second control circuit 22 and the like. VME
It is connected to the VME bus 16 via the bus transceiver 15-3. The data vertical / horizontal conversion circuit 19 sets the data format of the image in the scanning direction to 90 in the scanning direction during printing.
The data format of 90 ° to the scanning direction is converted to the scanning direction during scanning. The buffer memory 20 is used as a conversion buffer for that purpose.

【0017】画像処理回路21は複写装置200に欠け
ている画像処理機能を補う為に入れている。第2の制御
回路22は第1の制御回路18と同じ機能を提供する為
のものであり、同じ例えばZ−80(商品名)等のCP
U等で構成されている。
The image processing circuit 21 is provided to supplement the image processing function lacking in the copying apparatus 200. The second control circuit 22 is for providing the same function as the first control circuit 18, and is the same CP such as Z-80 (trade name).
It is composed of U etc.

【0018】以下、動作について説明する。The operation will be described below.

【0019】例えばネットワーク印刷を実行する場合の
例を示すと、LAN11からイサーネットトランシーバ
ー9を介して入ってきたページ記述言語(例えば商品名
CaPSL)は、DMAコントローラ10によって、直接メ
モリ6の特定領域(受信バッファ)に蓄えられる。そこ
で後述するページ記述言語インタープリタープログラム
によってラスターイメージに変換される。JPEG圧縮
画像は、ページ記述言語(以下、PDL)で伸長するこ
ともできるが、高速に伸長するためJPEG圧縮/伸長
回路3が利用される。
For example, in the case of executing network printing, a page description language (for example, a product name) that comes in from the LAN 11 via the Ethernet transceiver 9
CaPSL) is directly stored in a specific area (reception buffer) of the memory 6 by the DMA controller 10. Therefore, it is converted into a raster image by a page description language interpreter program described later. The JPEG compressed image can be expanded in a page description language (PDL), but the JPEG compression / expansion circuit 3 is used for high-speed expansion.

【0020】なお、メモリ6は価格的な理由から、1ペ
ージの画面全体をラスタライズするだけの容量を持た
ず、PDL(例えばCaPSL )を部分的に処理するバンデ
ィングという手法を用いて、何回かに分けて処理され
る。ラスタライズが完了したら、第1のSPインタフェ
ース回路4−1または第2のSPインタフェース回路4
−2に転送され、各プリンターに出力される。なお、ネ
ットワークスキャンを実行する場合の例は後述する。
For reasons of cost, the memory 6 does not have a capacity for rasterizing the entire screen of one page, and the banding method for partially processing the PDL (eg CaPSL) is used several times. Processed separately. Upon completion of rasterization, the first SP interface circuit 4-1 or the second SP interface circuit 4
-2, and output to each printer. An example of executing the network scan will be described later.

【0021】図2は、図1に示したサーバー装置を含む
ネットワークシステムの概略を示すシステムブロック図
である。
FIG. 2 is a system block diagram showing an outline of a network system including the server device shown in FIG.

【0022】本実施例におけるネットワークシステム
は、例えば Macintosh(商品名)、IBM-PC(商品名)、
SUN (商品名)の様な市販されているホストコンピュー
タのアプリケーションソフトウエアから、ネットワーク
を介して接続されている少数のスキャナーやプリンター
を共同利用する為の物である。同図に於て、大きく4つ
のブロックがあるが、左から順に Macintoshワークステ
ーションST1、IBM-PCワークステーションST2、SU
N ワークステーションST3、及びカラーSPサーバー
SP1である。 MacintoshワークステーションST1、
IBM-PCワークステーションST2、SUN ワークステーシ
ョンST3は、市販されているホストコンピューターで
あり、カラーSPサーバーSP1は発明者が設計したイ
ンタフェースユニットである。それらが、例えばEthern
et(商品名)というローカルエリアネットワーク96に
よって相互接続されている。94は第1のカラースキャ
ナ/プリンタ、95は第2のカラースキャナ/プリンタ
である。
The network system in this embodiment is, for example, Macintosh (trade name), IBM-PC (trade name),
It is for sharing a small number of scanners and printers connected via a network from application software of a commercially available host computer such as SUN (trade name). In the figure, there are roughly four blocks. From left to right, Macintosh workstation ST1, IBM-PC workstation ST2, SU.
N workstation ST3 and color SP server SP1. Macintosh workstation ST1,
The IBM-PC workstation ST2 and SUN workstation ST3 are commercially available host computers, and the color SP server SP1 is an interface unit designed by the inventor. They are, for example, Ethern
They are interconnected by a local area network 96 called et (trade name). Reference numeral 94 is a first color scanner / printer, and 95 is a second color scanner / printer.

【0023】Macintosh ワークステーションST1、IB
M-PCワークステーションST2、SUN ワークステーショ
ンST3、及びカラーSPサーバーSP1は、相互通信
の為に、共通の通信インタフェースを有する。51,6
1,71,81はローカルエリアネットワーク(LA
N)96と通信する為のイーサネットトランシーバーで
ある。52,62,72,82はLAN96上に構築し
た通信プログラム TCP/IP (商品名)で、米国国防省の
標準である。
Macintosh workstation ST1, IB
The M-PC workstation ST2, the SUN workstation ST3, and the color SP server SP1 have a common communication interface for mutual communication. 51,6
1, 71 and 81 are local area networks (LA
N) An Ethernet transceiver for communicating with 96. 52, 62, 72 and 82 are communication programs TCP / IP (product name) built on the LAN 96, which is a standard of the US Department of Defense.

【0024】このTCP/IPプログラムは End-to-End での
データー誤りの無い通信サービス(機能)を提供する。
53,63,73,83は第1のカラースキャナ/プリ
ンタ94,第2のカラースキャナ/プリンタ95を Mac
intosh用のステーションST1,IBM-PC用のステーショ
ンST2,SUN ワークステーションST3から共同利用
するという特別な目的のためのサービス(機能)を提供
する通信プログラムである。53,63はS/Pクライ
アントプログラムとして、クライアント型のサービスを
提供する通信プログラムであり、83はS/Pサーバー
プログラムで、サーバー型のサービスを提供する通信プ
ログラムである。
This TCP / IP program provides an end-to-end communication service (function) without data error.
53, 63, 73, and 83 are the first color scanner / printer 94 and the second color scanner / printer 95 for Mac
It is a communication program that provides a service (function) for a special purpose of joint use from a station ST1 for intosh, a station ST2 for IBM-PC, and a SUN workstation ST3. Reference numerals 53 and 63 are communication programs that provide client-type services as S / P client programs, and 83 is an S / P server program that is a communication program that provides server-type services.

【0025】Macintosh のステーションST1から第1
のカラースキャナ/プリンタ94に印刷させる場合を説
明すると、市販アプリケーションプログラム56で作成
した原稿を印刷しようとすると、プリントマネージャ−
(Printing Manager) 55というOS(Operating Syst
em)の一部に制御が渡され、印刷のための制御を開始す
る。この時のデーターフォマットは Macintoshの場合 Q
uickDraw(商品名)タイプに標準化されている。プリン
トマネージャー55は、変換プログラム54の描画関数
群を原稿に書かれた通りにコールする。変換プログラム
54は、そのコールの中で QuickDrawを、例えばCaPSL
(Canon Prinnting System Language)コードに逐一変換
して図示しないメモリーに CaPSLコードを蓄える。変換
プログラム54は、主としてQuickDraw/CaPSL 変換プロ
グラムとして機能する。
First from station ST1 of Macintosh
The case of printing with the color scanner / printer 94 will be described. When an original created by the commercial application program 56 is printed, the print manager-
(Printing Manager) 55 OS (Operating Syst)
Control is passed to a part of (em) and control for printing is started. The data format at this time is Macintosh Q
It is standardized to the uickDraw (product name) type. The print manager 55 calls the drawing function group of the conversion program 54 as written in the manuscript. In the call, the conversion program 54 calls QuickDraw, for example, CaPSL.
(Canon Prinnting System Language) Codes are converted one by one and the CaPSL code is stored in a memory (not shown). The conversion program 54 mainly functions as a QuickDraw / CaPSL conversion program.

【0026】通信プログラム53は、得られた CaPSLコ
ードをTCP/IPプログラム52に従ってイーサネッ
トトランシーバ51,LAN96,イーサネットトラン
シーバ81を介し,さらにTCP/IPプログラム8
2,通信プログラム83を介してカラーSPサーバーS
P1に伝送する。なお、上述した変換プログラム54,
64,74,通信プログラム53,63,73,スキャ
ナインタフェースプログラム57,67,TCP/IP
プログラム52,62,72等は、例えばフロッピ−デ
ィスク等でホストコンピュータに供給されても良い。ま
た、イーサネットトランシーバー、例えばボード回路と
してホストコンピュータに供給されても良い。
The communication program 53 uses the obtained CaPSL code in accordance with the TCP / IP program 52 via the Ethernet transceiver 51, LAN 96, and Ethernet transceiver 81, and further the TCP / IP program 8
2. Color SP server S via communication program 83
Transmit to P1. The conversion program 54,
64, 74, communication programs 53, 63, 73, scanner interface programs 57, 67, TCP / IP
The programs 52, 62, 72 and the like may be supplied to the host computer by, for example, a floppy disk or the like. It may also be provided to the host computer as an Ethernet transceiver, for example a board circuit.

【0027】カラーSPサーバー(S/Pサーバー装
置)SP1全体の動作は、システム全体制御プログラム
93によって制御されている。前記 CaPSLコードの受信
も、システム全体制御プログラム93に知らされる。シ
ステム全体制御プログラム93は、後述するPDLイン
タープリタープログラム84に対して、CaPSL コード化
された原稿を、ビットマップ画像にラスタライズする様
に要求する。ビットマップ画像にラスタライズされた画
像データは、デバイスドライバ86に渡され、例えば第
1のプリンタ制御ボード91を介してビデオインタフェ
ース Video I/Fから第1のカラースキャナ/プリンタ9
4に送られ、印刷される。
The overall operation of the color SP server (S / P server device) SP1 is controlled by the system overall control program 93. The reception of the CaPSL code is also notified to the system overall control program 93. The overall system control program 93 requests the PDL interpreter program 84, which will be described later, to rasterize the CaPSL coded original into a bitmap image. The image data rasterized into the bit map image is passed to the device driver 86, and is transmitted from the video interface Video I / F to the first color scanner / printer 9 via the first printer control board 91, for example.
4 and printed.

【0028】IBM-PCのステーションST2から印刷する
場合も同様で、上記データの流れと同様であるが、IBM-
PCのステーションST2の場合には、印刷原稿のデータ
フォマットは GDI(商品名)に標準化されている。変換
プログラム64は、主としてGDI/CaPSL 変換プログラム
として機能する。
The same applies to the case of printing from the station ST2 of the IBM-PC, which is the same as the above data flow.
In the case of the station ST2 of PC, the data format of the printed document is standardized to GDI (product name). The conversion program 64 mainly functions as a GDI / CaPSL conversion program.

【0029】SUNワークステーションST3から印刷
する場合は、上記変換プログラム54,64に相当する
機能が標準化されていないため、アプリケーションプロ
グラム75が直接通信プログラム73を介して通信す
る。ただし、市販のアプリケーションプログラム、例え
ば FrameMaker (商品名)から印刷できるようにする
為、MIF/CaPSL 変換用の変換プログラム74を間に入れ
ている。
When printing from the SUN workstation ST3, since the functions corresponding to the conversion programs 54 and 64 are not standardized, the application program 75 communicates directly via the communication program 73. However, a conversion program 74 for MIF / CaPSL conversion is inserted in between in order to enable printing from a commercially available application program, for example, FrameMaker (product name).

【0030】原稿をスキャン(読み取り)する場合は、
例えば MacintoshのステーションST1の場合、スキャ
ナアプリケーションプログラム58からスキャナインタ
フェースプログラム57を介して通信プログラム53に
スキャンの要求を出す。すると通信プログラム53は、
イーサネットトランシーバ51,LAN96,イーサネ
ットトランシーバ81およびTCP/IPプログラム8
2を介し、通信プログラム83との間に、End-to-End
の通信路を確保し、スキャン命令を伝達するその命令は
システム全体制御プログラム93に伝えられ、スキャナ
制御プログラムに対して第1のカラースキャナ/プリン
タ94をスキャンさせるように要求する。
When scanning (reading) an original,
For example, in the case of the station ST1 of the Macintosh, the scanner application program 58 issues a scan request to the communication program 53 via the scanner interface program 57. Then, the communication program 53
Ethernet transceiver 51, LAN 96, Ethernet transceiver 81 and TCP / IP program 8
End-to-End with the communication program 83 via
, And the scan command is transmitted to the overall system control program 93, and requests the scanner control program to scan the first color scanner / printer 94.

【0031】スキャンされた原稿の画像データは逆に、
第1制御ボード91,デバイスドライバ86,通信プロ
グラム83,TCP/IPプログラム82,イーサネッ
トトランシーバ81,LAN96,イーサネットトラン
シーバ51,TCP/IPプログラム52,通信プログ
ラム53,デバイスドライバー57,スキャナアプリケ
ーションプログラム58の順に伝達される。
On the contrary, the image data of the scanned original is
First control board 91, device driver 86, communication program 83, TCP / IP program 82, Ethernet transceiver 81, LAN 96, Ethernet transceiver 51, TCP / IP program 52, communication program 53, device driver 57, scanner application program 58 in this order. Transmitted.

【0032】IBM-PCのステーションST2で原稿をスキ
ャンする場合も同様であるが、SUNワークステーショ
ンST3からスキャンする場合は、デバイスドライバー
57,スキャナインタフェースプログラム67に相当す
る機能が標準化されていないため、スキャナアプリケー
ションプログラム76が直接通信プログラム73を介し
て通信する。なお、スキャナインタフェースプログラム
57,67はスキャナアプリケーションと通信プログラ
ムとのデータの制御を行う。
The same applies when scanning an original document at the station ST2 of the IBM-PC, but when scanning from the SUN workstation ST3, the functions equivalent to the device driver 57 and the scanner interface program 67 are not standardized. The scanner application program 76 communicates directly via the communication program 73. The scanner interface programs 57 and 67 control the data of the scanner application and the communication program.

【0033】カラーSPサーバーSP1には、もう1台
のスキャナ/プリンタである第2のカラースキャナ/プ
リンタ95が接続されており、第2の制御ボード92を
介して第2のカラースキャナ/プリンタ95を同様に制
御する。
A second color scanner / printer 95, which is another scanner / printer, is connected to the color SP server SP1, and the second color scanner / printer 95 is connected via the second control board 92. Are controlled similarly.

【0034】システム全体制御プログラム93を始めと
するカラーSPサーバーSP1の全てのプログラムは、
例えばVxWorks (商品名)と言うシステムプログラム
(OS)の管理下で動作する。
All programs of the color SP server SP1 including the system-wide control program 93 are
For example, it operates under the control of a system program (OS) called VxWorks (product name).

【0035】このサービスの為の特別なプログラム(例
えば通信プログラム73,変換プログラム74等)を持
たない一般のUNIXワークステーションからの要求を
受け付ける為、カラーSPサーバーSP1には通信プロ
グラム83と並行して、準業界標準の lpr/lpd通信プロ
グラム90も載せている。
In order to accept a request from a general UNIX workstation that does not have a special program for this service (for example, the communication program 73, the conversion program 74, etc.), the color SP server SP1 runs in parallel with the communication program 83. The semi-industry standard lpr / lpd communication program 90 is also included.

【0036】図3は本発明に係るサーバー装置と各ホス
トコンピュータとのネットワーク構築状態を示す図であ
る。
FIG. 3 is a diagram showing a network construction state of the server device and each host computer according to the present invention.

【0037】この図に示すように、各ホストコンピュー
タHOST1〜Nは、 Macintosh(商品名)、IBM-PC
(商品名)、SUN (商品名)等のホストコンピュータ
で、それぞれのOSによりデータ処理が制御されてい
る。これらのホストコンピュータHOST1〜Nには、
LAN96との通信を行うためのイーサネットインタフ
ェースボード97,画像圧縮伸長ボード98,CPUボ
ード99がそれぞれ設けられている。なお、画像圧縮伸
長ボード98は、メモリ上でのソフトウエア処理により
実現するものであっても良い。また、画像データを入出
力する際に、圧縮伸長を用いない場合には、画像圧縮伸
長ボード98が不要となる。さらに、本実施例ではLA
N96としてイーサネットを使用しているが、ネットワ
ークの方法は、Apple talk(商品名),Ta
ken Ring(商品名)等を利用するネットワーク
であってもいいし、通信プログラムもTCP/IPプロ
グラムに代えてOSI,IPX(商品名)等で構成され
るシステムでも本発明を適用できることは言うまでもな
い。
As shown in this figure, the host computers HOST1 to HOSTN are Macintosh (trade name) and IBM-PC.
Data processing is controlled by each OS in a host computer such as (product name) or SUN (product name). These host computers HOST1 to N are
An Ethernet interface board 97 for communicating with the LAN 96, an image compression / expansion board 98, and a CPU board 99 are provided respectively. The image compression / expansion board 98 may be realized by software processing on a memory. Further, when compression / expansion is not used when inputting / outputting image data, the image compression / expansion board 98 becomes unnecessary. Further, in this embodiment, LA
Ethernet is used as N96, but the network method is Apple talk (trade name), Ta.
It goes without saying that the present invention can be applied to a network using ken Ring (product name) or the like, or a system in which the communication program is replaced by the TCP / IP program and is composed of OSI, IPX (product name) or the like. .

【0038】このように構成された第1のサーバー装置
によれば、LAN11を介してホストから送出されるペ
ージ記述言語で記述されたデータとスキャナ入力される
画像データの合成が指示されると、合成手段(本実施例
ではメインCPU回路1)が処理手段(本実施例ではメ
インCPU回路1)により変換されたビットマップデー
タとスキャナからの画像データを合成し、該合成された
画像データをイーサネット回路2がホスト側に転送可能
となるので、ホスト側のメモリ等の資源拡張の負担を強
いることなく、ホストから送出されるページ記述言語で
記述されたデータとスキャナ入力される画像データとの
合成画像データをホスト側が容易に利用することが可能
となる。
According to the first server device having the above-described configuration, when the composition of the data described in the page description language transmitted from the host via the LAN 11 and the image data input by the scanner is instructed, The combining means (main CPU circuit 1 in this embodiment) combines the bitmap data converted by the processing means (main CPU circuit 1 in this embodiment) with the image data from the scanner, and the combined image data is sent via Ethernet. Since the circuit 2 can be transferred to the host side, the data described in the page description language sent from the host and the image data input by the scanner are combined without imposing a burden of expanding resources such as a memory on the host side. The image data can be easily used on the host side.

【0039】第2の発明によれば、合成手段(本実施例
ではメインCPU回路1)によって合成された画像デー
タを圧縮手段(本実施例ではJPEG圧縮回路3)が圧
縮してイーサネット回路2がLAN11上のホストに送
出可能となるので、サーバー装置側が合成された大容量
の合成画像データを短時間に取得して容易に利用するこ
とが可能となる。
According to the second invention, the image data synthesized by the synthesizing means (main CPU circuit 1 in this embodiment) is compressed by the compressing means (JPEG compression circuit 3 in this embodiment) and the Ethernet circuit 2 is Since the data can be sent to the host on the LAN 11, it is possible for the server device side to acquire the combined large-capacity combined image data in a short time and easily use it.

【0040】図4は、図1に示したメインCPU回路
1,イーサネット回路2,JPEG圧縮回路3より構成
されるボード回路の詳細構成を説明する回路ブロック図
である。
FIG. 4 is a circuit block diagram for explaining a detailed structure of a board circuit composed of the main CPU circuit 1, the Ethernet circuit 2 and the JPEG compression circuit 3 shown in FIG.

【0041】図において、101は例えばIDT79R
3051(商品名)等で構成されるCPUで、ボード回
路全体を制御する。なお、ボード回路にはリアルタイム
OSが搭載されている。このOS上で起動されている図
2に示した通信プログラム83,システム全体制御プロ
グラム93,スキャナ制御プログラム85,PDLイン
タープリタープログラム84等をCPU101が起動
し、マルチプロセスに動作を制御する。
In the figure, 101 is, for example, IDT79R.
A CPU composed of 3051 (product name) and the like controls the entire board circuit. A real-time OS is mounted on the board circuit. The CPU 101 activates the communication program 83, the entire system control program 93, the scanner control program 85, the PDL interpreter program 84, etc. shown in FIG.

【0042】102は主記憶メモリで、CPU101の
ワークメモリとして機能する。なお、本システムが電源
投入されると、EPROM107内に記憶されている上
記各プログラムやSCSIポート112に接続されたハ
ードディスク等の補助記憶装置またはネットワーク上の
ホストコンピュータに記憶されているプログラムを本メ
モリ上にダウンロードして配置される。このため、各プ
ロセスのプログラム自体は主記憶メモリ102上にあ
り、ここで動作する。
Reference numeral 102 is a main memory, which functions as a work memory for the CPU 101. When the power of the system is turned on, the programs stored in the EPROM 107 and the programs stored in the auxiliary storage device such as a hard disk connected to the SCSI port 112 or the program stored in the host computer on the network are stored in the memory. Downloaded and placed on top. Therefore, the program itself of each process is stored in the main memory 102 and operates here.

【0043】103はバンドメモリで、画像データをラ
スタ方法に数ライン分蓄積できるバンドメモリである。
当該バンドメモリ103は、PDLデータをビットマッ
プデータに展開するためのメモリである。PDLは通常
1ページ分のビットマップデータを作成してから、プリ
ンタエンジン側にデータを送るが、本システムでは、1
ページを数バンドに分割してビットマップ展開を行う手
法をとる。これは、PDLインタープリタープログラム
84がPDLデータの並べ替え作業を行うことにより実
現する。当該バンドメモリ103に展開されたビットマ
ップデータは、プリンタ側に送られる。その後、次のバ
ンド分の展開が行われて、再びプリンタ側に送られる。
この繰り返しにより、1ページ分のプリントが行われ
る。
A band memory 103 is a band memory capable of accumulating image data for several lines in a raster method.
The band memory 103 is a memory for expanding PDL data into bitmap data. The PDL normally creates bitmap data for one page and then sends the data to the printer engine side.
The method is to divide the page into several bands and develop the bitmap. This is realized by the PDL interpreter program 84 rearranging the PDL data. The bitmap data expanded in the band memory 103 is sent to the printer side. Then, the next band is developed and sent again to the printer side.
By repeating this, printing for one page is performed.

【0044】また、スキャナ側から画像データを読み込
む時にも、一時的に本バンドメモリに蓄積される。CP
U101あるいは本システムでは記載していないダイレ
クトメモリアクセス(DMA)のブロック転送機能を用
いて、当該バンドメモリ103より画像データを読み出
し、SCSIポート112に接続されたハードディスク
あるいはイーサネットポート114に接続されたネット
ワークを介して、ホストコンピュータ側に転送される。
1バンド分のデータが転送されると、再び次のバンド幅
分のスキャンデータを入力して繰り返す。
Also, when the image data is read from the scanner side, it is temporarily stored in the band memory. CP
U101 or a network connected to a hard disk connected to the SCSI port 112 or an Ethernet port 114 by reading image data from the band memory 103 using a block transfer function of direct memory access (DMA) not described in this system. Is transferred to the host computer side via.
When the data for one band is transferred, the scan data for the next band width is input again and the processing is repeated.

【0045】104はメモリアクセスコントローラで、
主記憶メモリ102,バンドメモリ103を構築するD
RAMのアクセスとリフレッシュをコントロールする。
通常DRAMは1ワード(8,16,32ビット等)毎
アクセスする方法、ある一定長の連続アクセスする方法
(ページREAD,Write)、DRAMのバンクを
分けて交互にアクセスを繰り返し、アドレス発生は先行
して発生させるインタリーブ方法のアクセス方法がある
が、これらの方法を提供しメモリのアクセスの高速化を
図っている。ただし、主記憶メモリ102,バンドメモ
リ103がSRAMで構成された場合には、リフレッシ
ュ機能は必要はない。105はメモリクリアコントロー
ラで、バンドメモリ103のデータを高速にクリアす
る。
Reference numeral 104 is a memory access controller,
D for constructing the main memory 102 and the band memory 103
Controls RAM access and refresh.
Normally, a DRAM is accessed by one word (8, 16, 32 bits, etc.), a continuous access of a certain length (page READ, Write), and the DRAM bank is divided and the access is repeated alternately. There are interleaving access methods that are generated by the following methods, and these methods are provided to speed up memory access. However, when the main memory 102 and the band memory 103 are composed of SRAM, the refresh function is not necessary. A memory clear controller 105 clears the data in the band memory 103 at high speed.

【0046】なお、画像描画処理回路106がバンドメ
モリ103に展開したビットマップデータをクリアする
ことなく、スキャナ側から読み込まれた画像データを画
像描画処理回路106が上書きすることにより、バンド
メモリ103上でホスト側から転送されたPDLデータ
に基づいて展開して得られる画像とスキャナ、例えば図
1に示した複写装置(スキャナプリンタ)により読み取
られた画像を合成することもできる。合成して得られる
画像データは展開して得られたビットマップデータと同
様にプリンタ側に送ってもいいし、スキャナ側から読み
込まれた画像データと同様にハードディスクあるいはイ
ーサネットボート114に接続されるネットワーク96
を介して指定されるホストコンピュータ側に転送するよ
うにCPU101が制御しても良い。さらに、合成され
た画像データは、JPEG圧縮回路3より圧縮した後、
ネットワーク96を介して指定されたホストコンピュー
タに送出することにより、例えば大容量のカラー画像情
報を短時間、かつ指定されたホスト側に送出することが
可能となる。これにより、ホスト側は、装備するメモリ
容量内では得られない合成画像を容易に得ることができ
る。
The image drawing processing circuit 106 overwrites the image data read from the scanner side by the image drawing processing circuit 106 without clearing the bitmap data expanded in the band memory 103. It is also possible to combine an image obtained by expanding the PDL data transferred from the host side with an image read by a scanner, for example, the copying apparatus (scanner printer) shown in FIG. The image data obtained by combining may be sent to the printer side in the same manner as the bit map data obtained by expanding, or a network connected to the hard disk or Ethernet board 114 like the image data read from the scanner side. 96
The CPU 101 may control so that the data is transferred to the host computer side specified via the. Furthermore, after the combined image data is compressed by the JPEG compression circuit 3,
By sending the color image information to the designated host computer via the network 96, for example, a large amount of color image information can be sent to the designated host side in a short time. As a result, the host side can easily obtain a composite image that cannot be obtained within the installed memory capacity.

【0047】図5は、図4に示したメモリクリアコント
ローラ105の詳細構成を説明するブロック図である。
FIG. 5 is a block diagram for explaining the detailed structure of the memory clear controller 105 shown in FIG.

【0048】図において、201はアドレス発生部で、
クリアスタート信号に応じてアドレスバッファ部203
にクリアすべきアドレスを出力する。202はデータラ
ッチで、クリアデータをデータバッファ部204に出力
する。
In the figure, 201 is an address generator.
Address buffer unit 203 according to the clear start signal
The address to be cleared is output to. A data latch 202 outputs clear data to the data buffer unit 204.

【0049】このように構成されたボード回路(メイン
CPU回路1,イーサネット回路2,JPEG圧縮回路
3より構成される)において、先ず、CPU101がバ
ンドメモリ103内のデータを他の記憶装置あるいはイ
ンタフェースに転送されたことを確認すると、アドレス
バッファ203,データバッファ204をイネーブルに
する。それに対して、バンドメモリ103への他のアク
セス手段をディセーブルにする。データラッチ202に
は、システムの立ち上げ時のイニシャライズであるデー
タ、例えば「00」を設定しておく。CPU101は、
アドレス発生部201に対して、クリアスタート信号を
送る。これに応じて、アドレス発生部201はアドレス
を順次発生して、データラッチ部202に保持されたデ
ータをメモリアクセスコントローラ104を通して、バ
ンドメモリ103に書込む。全メモリ分の書込みが終了
したら、アドレス発生部201は、CPU101にクリ
アエンド信号を送り、クリア動作を終了する。
In the board circuit thus constructed (main CPU circuit 1, Ethernet circuit 2, JPEG compression circuit 3), the CPU 101 first transfers the data in the band memory 103 to another storage device or interface. When the transfer is confirmed, the address buffer 203 and the data buffer 204 are enabled. On the other hand, other access means to the band memory 103 are disabled. In the data latch 202, data which is initialization at system startup, for example, "00" is set. CPU 101
A clear start signal is sent to the address generator 201. In response to this, the address generating unit 201 sequentially generates addresses and writes the data held in the data latch unit 202 into the band memory 103 through the memory access controller 104. When the writing for all the memories is completed, the address generating unit 201 sends a clear end signal to the CPU 101 to end the clear operation.

【0050】クリア動作は、バンドメモリ103上の画
像データがプリンタデバイスに転送されると、行われた
次のバンドの画像データがPDLインタープリタープロ
グラム84により展開される。その時、PDLインター
プリタープログラム84は、必要な部分にしかビットマ
ップ展開を行わない。例えば図6の(1)に示すバンド
の後半の画像、(2)に示すバンドの展開は、(2)に
属する画像のみが書込まれる。このため、図6の(1)
で既に転送し終った画像データは、不要データとして残
ってしまう。もし、メモリクリアをしなければ、(1)
および(2)に示した画像が混在する画像データがバン
ドメモリ103上に書込まれた状態となってしまう。そ
こで、上記メモリクリアが必要となる。105はメモリ
クリアコントローラは、上記メモリクリア処理をハード
化し、高速処理を可能としている。
In the clear operation, when the image data in the band memory 103 is transferred to the printer device, the image data of the next band that has been performed is expanded by the PDL interpreter program 84. At that time, the PDL interpreter program 84 performs bitmap expansion only on a necessary part. For example, in the latter half image of the band shown in (1) of FIG. 6 and the expansion of the band shown in (2), only the image belonging to (2) is written. Therefore, (1) in FIG.
However, the image data that has already been transferred remains as unnecessary data. If you do not clear the memory (1)
Image data in which the images shown in (2) and (2) are mixed are written in the band memory 103. Therefore, it is necessary to clear the memory. A memory clear controller 105 hardens the memory clear processing to enable high speed processing.

【0051】画像描画処理回路106は、PDLインタ
ープリタープログラム84の描画機能をハードウエアで
補助するために構成された回路である。PDLインター
プリタープログラム84は線を描いたり、図形の塗りつ
ぶしが非常に多く、相当の時間を必要とする。例えば図
7に示すような図形(1)〜(3)に囲まれた部分の塗
りつぶしは、図中矢印で示すように塗りつぶし処理が実
行される。
The image drawing processing circuit 106 is a circuit configured to assist the drawing function of the PDL interpreter program 84 with hardware. The PDL interpreter program 84 draws a line or fills in many figures, which requires a considerable amount of time. For example, the filling processing of the portion surrounded by the figures (1) to (3) as shown in FIG. 7 is executed as shown by the arrow in the figure.

【0052】図8は、図5に示した画像描画処理回路1
06の詳細構成を説明するブロック図である。
FIG. 8 shows the image drawing processing circuit 1 shown in FIG.
It is a block diagram explaining the detailed structure of 06.

【0053】図において、106Aはアドレス発生部
で、描画スタート信号に応じてアドレスバッファ部10
6Cにクリアすべきアドレスを出力する。106Bはデ
ータラッチで、描画データをデータバッファ部106D
に出力する。
In the figure, reference numeral 106A denotes an address generator, which responds to a drawing start signal by the address buffer 10
The address to be cleared is output to 6C. 106B is a data latch for drawing data into the data buffer section 106D.
Output to.

【0054】このように構成されたボード回路におい
て、先ず、CPU101がPDLインタープログラム8
4による処理結果から、現在のバンド幅内に、線の描画
や図形の塗りつぶしがある場合、画像描画処理回路10
6へ指令する。先ず、データラッチ106Bに描画デー
タをラッチさせる。次に、アドレス発生部106Aに開
始アドレスとカウント数(1ライン分の描画量)を設定
する。ただし、カウント数は終了アドレスを設定する構
成であっても良い。そして、アドレスバッファ106
C,データバッファ106Dをイネーブルにする。それ
に対して、バンドメモリ103への他のアクセス手段を
ディセーブルにする。CPU101は、アドレス発生部
106Aに対して、描画スタート信号を送る。これに応
じて、アドレス発生部106Aは開始アドレス値より順
次アドレスを発生して、データラッチ部106Bに保持
されたデータをメモリコントローラ104を通して、バ
ンドメモリ103に書き込む。カウント数部(終了アド
レス)に達したら、メモリ書き込みを止めて、描画エン
ド信号を送り、次の開始アドレスとカウント数を設定
し、再びメモリへ書き込みを行う。バンド幅分の描画を
終了すると、バンド幅分の描画を終了する。
In the board circuit thus constructed, first, the CPU 101 causes the PDL interprogram 8
If there is line drawing or graphic filling within the current bandwidth from the processing result of 4, the image drawing processing circuit 10
Command to 6. First, the data latch 106B is made to latch drawing data. Next, the start address and the count number (drawing amount for one line) are set in the address generator 106A. However, the count number may be set to an end address. Then, the address buffer 106
C, enable data buffer 106D. On the other hand, other access means to the band memory 103 are disabled. The CPU 101 sends a drawing start signal to the address generator 106A. In response to this, the address generator 106A sequentially generates addresses from the start address value, and writes the data held in the data latch 106B to the band memory 103 through the memory controller 104. When the count number part (end address) is reached, writing to the memory is stopped, a drawing end signal is sent, the next start address and count number are set, and writing to the memory is performed again. When the drawing for the band width is completed, the drawing for the band width is completed.

【0055】描画動作は、クリア動作と同様にハードウ
エアによる高速化を図ったものであが、例えば専用のL
SIが描画処理をすべて受け持ち、CPU101による
補助を軽減する構成としても良い。
The drawing operation is intended to be speeded up by hardware like the clearing operation.
The SI may take charge of all the drawing processing, and the assistance of the CPU 101 may be reduced.

【0056】一方、図4において、107は電源投入時
に、CPU101が最初にアクセスするEPROMで、
本システムをコントロールする上記各種プログラムが記
憶されている。なお、EPROM107には、次の2つ
の記憶方法が可能である。第1の方法としては、プログ
ラムがそのまま実行可能な形式で記憶する場合、第2の
方法としては、プログラム全体を可逆的な圧縮方法によ
り圧縮し、その形態で記憶しておき、電源投入後、伸長
しながら、主記憶メモリ102に再配置する場合等であ
る。
On the other hand, in FIG. 4, reference numeral 107 denotes an EPROM which the CPU 101 first accesses when the power is turned on.
The various programs for controlling the system are stored. Note that the EPROM 107 can have the following two storage methods. The first method is to store the program in an executable form as it is, and the second method is to compress the entire program by a reversible compression method and store it in that form. This is a case where the data is rearranged in the main storage memory 102 while being expanded.

【0057】しかしながら、第1の方法による場合は、
EPROM107は、そのまま実行可能なメモリとなる
ため、主記憶メモリ102に再配置されるより、主記憶
メモリ102の節約になるが、EPROM107自身の
容量を大きくすることと、アクセスが一般にEPROM
は遅いという欠点がある。また、第2の方法による場合
は、プログラム全体を圧縮するため、たくさんの量のプ
ログラムをEPROM107に記憶させることができる
ため、EPROM107の記憶容量を削減できるととも
に、主記憶上に再配置するため、アクセスが高速となる
長所を有するが、主記憶メモリ102の容量を大きくす
る必要が生じる等の欠点もある。そこで、本実施例では
第2の方法を採用している。
However, in the case of the first method,
Since the EPROM 107 is a memory that can be executed as it is, the main storage memory 102 can be saved more than if it is relocated to the main storage memory 102. However, increasing the capacity of the EPROM 107 itself and generally accessing the EPROM 107
Has the drawback of being slow. Further, in the case of the second method, since the entire program is compressed, a large amount of the program can be stored in the EPROM 107, so that the storage capacity of the EPROM 107 can be reduced and the program is relocated on the main memory. Although it has the advantage of high-speed access, it also has the drawback of requiring a large capacity of the main memory 102. Therefore, in this embodiment, the second method is adopted.

【0058】108はEEPROMで、電源が切られて
も記憶データを失わず、電源投入後の起動時に、データ
の書き換えが可能なデバイスである。このため、ネット
ワーク上のアドレスの記憶やスキャナ,プリンタ側の設
定パラメータの記憶等に利用される。109は時計回路
(RTC)で、時刻合せが可能であるとともに、電源O
FF時でも、内部に持つバッテリにより時間がそのまま
進行する。これにより、実時間を知ることが可能とな
り、スキャン時やプリント時の情報として利用される。
110はタイマで、インターバルタイマである。本シス
テムのプログラムはマルチプログラムで動作している
が、その管理は、リアルタイムOSが行っている。タイ
マ110は、数ミリsec 毎のインターバルタイムをCP
U101に通知しており、このタイマ110と優先順位
スケジューラにより、各プログラムにCPU101を割
り当てている。
Reference numeral 108 denotes an EEPROM, which is a device in which stored data is not lost even when the power is turned off and the data can be rewritten at the time of activation after the power is turned on. Therefore, it is used for storing addresses on the network, setting parameters on the scanner and printer side, and the like. Reference numeral 109 is a clock circuit (RTC), which is capable of adjusting the time and has a power
Even during FF, the time progresses as it is due to the internal battery. This makes it possible to know the real time, which is used as information during scanning and printing.
110 is a timer, which is an interval timer. The program of this system operates as a multi-program, but its management is performed by the real-time OS. The timer 110 uses the interval time of every few milliseconds as a CP.
The U101 is notified and the CPU 110 is assigned to each program by the timer 110 and the priority scheduler.

【0059】111はSCSIコントローラで、周辺機
器インタフェースの標準規格であるSCSIの制御を行
う。112はSCSIポートで、周辺機器を接続するた
めのパラレル入出力I/Fポートである。113はイー
サネットコントローラで、本システムをネットワークの
1方式であるLAN96に接続し、データのやり取りを
行うための制御部として機能する。イーサネットコント
ローラ113は、内部に小さなバッファメモリを有し、
非同期式のCPUと同期式のネットワークとの時間的整
合性を取っている。ネットワークより転送されてくるデ
ータは、このバッファメモリに蓄えられ、逆にネットワ
ークにデータを転送する場合もここから送信される。イ
ーサネットコントローラ113は、電気的タイミングの
制御とデータの転送,転入の制御を行っている。TCP
/IPの通信プログラム82の制御は、イーサネットコ
ントローラ113を用いてCPU101が制御してい
る。
Reference numeral 111 denotes a SCSI controller, which controls SCSI, which is a standard for peripheral equipment interfaces. Reference numeral 112 denotes a SCSI port, which is a parallel input / output I / F port for connecting peripheral devices. An Ethernet controller 113 connects the system to a LAN 96, which is one type of network, and functions as a control unit for exchanging data. The Ethernet controller 113 has a small buffer memory inside,
The time consistency between the asynchronous CPU and the synchronous network is ensured. The data transferred from the network is stored in this buffer memory, and conversely, when the data is transferred to the network, it is transmitted from here. The Ethernet controller 113 controls electrical timing, data transfer, and transfer. TCP
The control of the / IP communication program 82 is performed by the CPU 101 using the Ethernet controller 113.

【0060】イーサネットポート114は太い同軸ケー
ブル114aを媒体として用いる。I/Fの形状は、1
5ピンのコネクタである。114bのTwistPai
rタイプポートは、4線式の媒体を持ちいる。I/Fの
形状は8ピンのモジュラジャックである。これらのポー
トを利用して、エーサネットワークに接続される。11
5はADCT圧縮/伸長回路は、RGB(RED,GR
EEN,Blue)で構成される中間調データ(各色8
ビット)を、CCITT規格JPEG方式のアルゴリズ
ムを用いた圧縮および伸長を行う回路である。スキャナ
より読み込まれたカラー中間調データを圧縮する場合
は、スキャナ側から読み込まれた生画像データをADC
T圧縮/伸長回路115を用いて圧縮し、小さなメモリ
量にする。このためネットワーク転送のスピードアップ
や蓄積メモリの削減といった効果が得られる。また、ネ
ットワークを介して転送されてきた圧縮画像データをA
DCT圧縮/伸長回路115を用いて伸長し、カラー中
間調データに戻して、バンドメモリ103に書き込み、
プリンタI/Fに転送されて、プリンタデバイスより印
字される。
The Ethernet port 114 uses a thick coaxial cable 114a as a medium. I / F shape is 1
It is a 5-pin connector. 114b TwistPai
The r-type port has a 4-wire medium. The I / F shape is an 8-pin modular jack. These ports are used to connect to the ace network. 11
5 is an ADCT compression / expansion circuit, which is RGB (RED, GR
Halftone data composed of EEN and Blue (8 for each color)
(Bit) is a circuit for compressing and decompressing (bit) using an algorithm of CCITT standard JPEG system. When compressing the color halftone data read from the scanner, the raw image data read from the scanner is converted to the ADC.
The T compression / decompression circuit 115 is used for compression to reduce the amount of memory. Therefore, the effects such as speeding up of network transfer and reduction of storage memory can be obtained. In addition, the compressed image data transferred via the network is
The data is expanded by using the DCT compression / expansion circuit 115, restored to color halftone data, and written in the band memory 103,
The data is transferred to the printer I / F and printed by the printer device.

【0061】116はFIFOメモリで、ADCT圧縮
/伸長回路115へ圧縮画像データを送ったり、受け取
ったりするために用いられる。FIFOメモリ116
は、圧縮動作,伸長動作時の圧縮データと伸長データ
(生画像データ)のデータ量の違いによるデータの転送
タイミングのずれを吸収するために用いられる。117
はRS232Cコントローラ部で、標準のシリアルI/
Fの制御を行う。118はRS232Cポートで、Ac
hannel118aとBchannel118bの2
ポートが用意され、一方を端末接続用にして、ディスプ
レイ表示とキーボード入力を可能としている。また、も
う一方はシリアルインタフェースを有するデバイス接続
用にしている。ここには、レーザビームプリンタのよう
なキャラクタプリンタや簡易スキャナの接続が可能とな
っている。
A FIFO memory 116 is used to send and receive the compressed image data to the ADCT compression / expansion circuit 115. FIFO memory 116
Is used to absorb the shift in the data transfer timing due to the difference in the data amount between the compressed data and the decompressed data (raw image data) during the compression operation and the decompression operation. 117
Is the RS232C controller part, and the standard serial I /
Control F. 118 is RS232C port, Ac
2 of channel 118a and channel 118b
A port is prepared, and one of them is used for terminal connection, allowing display and keyboard input. The other is for connecting a device having a serial interface. Here, a character printer such as a laser beam printer or a simple scanner can be connected.

【0062】なお、本システムでは、Achannel
を端末接続用にしており、ここに端末を接続して、コマ
ンドの入力やパラメータの変更を行うようにしている。
ただし、本システムは疑似端末機能も有し、ネットワー
ク上のホストコンピュータより,rloginしてAc
hannelと同じ操作も可能としている。
In this system, Achannel is used.
Is for terminal connection, and the terminal is connected here to input commands and change parameters.
However, this system also has a pseudo-terminal function, and it can be rlogged in from the host computer on the network.
The same operation as the channel is also possible.

【0063】119はセントロニクスI/Fコントロー
ラ部で、セントロニクスI/F準拠のプリンタの接続の
ためのI/Fコントロールを行う。実際には、接続先の
デバイスの状態(BUSY/non)を確認して、8ビ
ットのデータを出力する。これの繰り返しでデータを転
送する。その他セントロニクスI/Fに準拠した信号の
制御を行っている。120はセントロニクスI/Fポー
トで、実際にケーブルが接続されて、プリンタとの電気
的関係を結ぶ。121はVMEコントローラで、本シス
テムのCPU101がVMEbusの規格に準拠おした
他のボードをアクセスするためのコントロールを行う。
なお、VMEbus規格では、アドレスバスA16,A
24,A32、データバスD8,D16,D24,D3
2のバスをアクセス可能に構成されている。バスの使用
権は、アービトレーション方式より与えられる。その
他、VMEbusの規格に適合した制御を本回路で実現
する。122はVMEbusポートで、ダブルハイトの
VMEbusを電気的に接続する。当該VMEbusポ
ート122は、6ピンのコネクタ2つで構成され、この
中にアドレスバス,データバス等が配置されている。
A Centronics I / F controller unit 119 performs I / F control for connecting a printer compatible with the Centronics I / F. Actually, the state of the device at the connection destination (BUSY / non) is confirmed and 8-bit data is output. Data is transferred by repeating this. It also controls signals in accordance with Centronics I / F. Reference numeral 120 denotes a Centronics I / F port, to which a cable is actually connected to establish an electrical relationship with the printer. A VME controller 121 controls the CPU 101 of the present system to access another board conforming to the VMEbus standard.
According to the VMEbus standard, address buses A16, A
24, A32, data buses D8, D16, D24, D3
Two buses can be accessed. The right to use the bus is given by the arbitration method. In addition, control conforming to the VMEbus standard is realized by this circuit. A VMEbus port 122 electrically connects a double-height VMEbus. The VMEbus port 122 is composed of two 6-pin connectors, in which an address bus, a data bus, etc. are arranged.

【0064】123はリセットスイッチで、本システム
において異常が発生した場合に、最終的手段として、シ
ステムを再立ち上げする場合に押下される。なお、リセ
ットスイッチ123は、本実施例ではハード的なスイッ
チ機構であるが、上述したRS232Cポート118に
接続された端末、あるいはネットワークからrlogi
nした疑似端末から、プログラムでリセットするプログ
ラムRESET(ウオームRESET)として構成して
も良い。
Reference numeral 123 denotes a reset switch, which is pressed when the system is restarted as a final means when an abnormality occurs in this system. Although the reset switch 123 is a hardware switch mechanism in this embodiment, the reset switch 123 is connected to the terminal connected to the RS232C port 118 or the network via the rlogi.
It may be configured as a program RESET (warm RESET) that is reset by a program from the pseudo terminal that has been reset.

【0065】124はLED部で、電源ON時を示すL
ED124a,CPU101が実行中を示すLED12
4b,各プログラムが自由に点灯可能なLED124c
等より構成されている。これにより、LED124aが
点灯中であれば、本システムが電源の入湯状態であるこ
とを操作者が視覚的に確認することができる。また、L
ED124bが点灯中であれば、CPU101が実行中
であることを、LED124bが消灯中であれば、CP
U101がウエイト状態であることを操作者が視覚的に
確認することができる。頻繁に点灯するLED124c
は、何かの処理が現在実行されていることを操作者が視
覚的に確認することができ、点灯時間,間隔,回数等の
相違により、どのプログラムによりLEDが点灯したか
等を識別可能となる。
Reference numeral 124 denotes an LED portion, which indicates L when the power is turned on.
LED 12 indicating that the ED 124a and the CPU 101 are executing
4b, LED 124c that allows each program to be turned on freely
Etc. As a result, when the LED 124a is on, the operator can visually confirm that the system is in the hot water state. Also, L
If the ED 124b is on, the CPU 101 is executing, and if the LED 124b is off, CP
The operator can visually confirm that U101 is in the weight state. LED124c that lights up frequently
Allows the operator to visually confirm that some processing is currently being executed, and can identify which program has caused the LED to light, etc., based on the difference in lighting time, interval, number of times, etc. Become.

【0066】以下、ネットワーク上のホストコンピュー
タからのプリント要求処理におけるデータの流れについ
て詳述する。
The data flow in the print request process from the host computer on the network will be described in detail below.

【0067】ネットワーク、すなわちLAN96に接続
されたホストコンピュータがデータをプリントしたい場
合、SPサーバシステムにデータと出力先を指定する情
報を送る。この際、SCSIポートにハードディスクが
接続されている場合、データは一旦ハードディスクに蓄
積(スプール)される。また、ハードディスクがない場
合は、主記憶メモリ102に一旦蓄積される。転送され
てくるデータ形式としては、下記(1)〜(3)の3通
りである。
When the host computer connected to the network, that is, the LAN 96 wants to print the data, it sends the data designating the data and the output destination to the SP server system. At this time, if a hard disk is connected to the SCSI port, the data is temporarily stored (spooled) in the hard disk. If there is no hard disk, it is temporarily stored in the main memory 102. There are three data formats to be transferred: (1) to (3) below.

【0068】(1)PDL形式のデータ (2)生画像形成のデータ (3)圧縮画像形成のデータ このうち、(1)のPDL形式のデータの場合には、P
DLインタープリタープログラム84が起動され、バン
ド幅毎のビットマップ展開が行われて、バンドメモリ1
03に書き込まれる。バンドメモリ分のデータが揃う
と、プリンタ側に転送され、次のバンド幅分のビットマ
ップ展開が行われる。
(1) PDL format data (2) Raw image formation data (3) Compressed image formation data Among these, in the case of (1) PDL format data, P
The DL interpreter program 84 is started, bit map expansion for each bandwidth is performed, and the band memory 1
Written in 03. When the data for the band memory is prepared, the data is transferred to the printer side, and the bitmap for the next band width is developed.

【0069】一方、(2)の生画像形成のデータの場合
は、バンドメモリ103にバンド幅分データが書き込ま
れ、指定されたプリンタ側に転送される。そして、次の
バンド幅分のデータが用意される。生画像形式の場合、
データ量が多いので、ホストコンピュータ側からは全部
のデータを一括して転送するのではなく、分割して送
る。そのため、プリントの最中もネットワークよりデー
タを受け取る作業が行われる。
On the other hand, in the case of the raw image formation data of (2), the band width data is written in the band memory 103 and transferred to the designated printer side. Then, data for the next band width is prepared. For raw image format,
Because of the large amount of data, not all the data is transferred at once from the host computer side, but divided and sent. Therefore, the work of receiving data from the network is performed even during printing.

【0070】さらに、(3)の画像圧縮形式のデータの
場合は、圧縮画像データをFIFOメモリ116に書き
込み、ADCT伸長回路115により生画像データに変
換する。伸長後のデータは、バンドメモリ103にバン
ド幅分データが書き込まれ、指定されたプリンタ側に転
送される。以下、同様の処理をそれぞれ繰り返す。な
お、画像データの形式が、単一形式ではなく、上記デー
タ形式が組み合わさった複合データの場合もある。すな
わち上記(1)のデータ形式と(2)のデータ形式との
組み合わせ、もしくは上記(1)のデータ形式と(3)
のデータ形式との組み合わせの場合には、それぞれ上記
の処理を行う。
Further, in the case of the data of the image compression format of (3), the compressed image data is written in the FIFO memory 116 and converted into raw image data by the ADCT decompression circuit 115. The decompressed data is written in the band memory 103 as much as the bandwidth and transferred to the designated printer side. Hereinafter, the same processing is repeated. The format of the image data may not be a single format but may be composite data in which the above data formats are combined. That is, a combination of the data format of (1) and the data format of (2), or the data format of (1) and (3)
In the case of a combination with the above data format, the above processing is performed respectively.

【0071】画像データを転送するプリンタデバイスの
I/Fは、VMEバス122上に構成したインタフェー
スボードを介して接続する場合、RS232Cポート1
18に接続した場合、セントロニクスI/Fポート12
0に接続した場合がある。これは、ホストコンピュータ
がどのI/Fに接続されたプリンタにより印刷したかに
より行先が決定される。
The I / F of the printer device for transferring the image data is RS232C port 1 when connected via the interface board configured on the VMEbus 122.
Centronics I / F port 12 when connected to 18
Sometimes connected to 0. The destination is determined depending on which I / F the printer connected to by the host computer has printed.

【0072】バンドメモリ103上のデータは、1バン
ド幅分のデータ転送が終了すると、クリアコントローラ
105がメモリクリアを行う。その後、再びPDL展開
を行い、バンド幅が揃うと、指定されたプリンタ側のイ
ンタフェース回路にデータが転送され、デバイスドライ
バ86によるインタフェース回路(制御ボード)の制御
によりプリンタでの出力処理が行われる。この繰り返し
である。ネットワーク上のホストコンピュータがスキャ
ナより画像データを入力したい場合、本システムは、ス
キャナ起動のための指定情報をホストコンピュータから
もらい、画像入力を開始する。スキャナデバイスのイン
タフェースは、VMEバス122上に構成したI/Fボ
ードを介して接続する場合、RS232Cポート118
に接続する場合がある。この指定もホストコンピュータ
が指定する。
The data on the band memory 103 is cleared by the clear controller 105 when the data transfer for one band width is completed. After that, PDL expansion is performed again, and when the bandwidths are made uniform, the data is transferred to the designated printer-side interface circuit, and the output process is performed by the printer under the control of the interface circuit (control board) by the device driver 86. This is a repetition. When the host computer on the network wants to input image data from the scanner, this system receives the designation information for starting the scanner from the host computer and starts image input. The interface of the scanner device is RS232C port 118 when connecting via the I / F board configured on the VMEbus 122.
May be connected to. This designation is also designated by the host computer.

【0073】スキャナから入力される画像データは、バ
ンドメモリ103にバンド幅分蓄積される。スキャナか
らの画像データを指定されたホストコンピュータに転送
する場合、スキャナ制御プログラム85によって次の2
通りの加工が行われる。
The image data input from the scanner is stored in the band memory 103 for the bandwidth. When the image data from the scanner is transferred to the designated host computer, the scanner control program 85
Street processing is done.

【0074】第1の加工としては、生画像形式のデー
タ、ただし、画像情報のタグを付加したものを含み、第
2の加工としては、圧縮画像形式のデータである。
The first processing is raw image format data, but includes data to which a tag of image information is added, and the second processing is compressed image format data.

【0075】このうち、データ加工形式が生画像形式の
データの場合には、バンドメモリ103上のデータを、
順次ネットワークを介して指定されたホストコンピュー
タに転送する方法と、一旦SCSIポート112に接続
されたハードディスクに蓄積される場合がある。いずれ
も、ホストコンピュータよりの指定情報で選択される。
また、画像情報を記録したタグをつける場合には、それ
を付加して転送する。
If the data processing format is raw image format data, the data on the band memory 103 is
There are a method of sequentially transferring to a designated host computer via a network, and a method of temporarily storing in a hard disk connected to the SCSI port 112. Both are selected by the specified information from the host computer.
Also, when attaching a tag in which image information is recorded, it is added and transferred.

【0076】一方、データ加工形式が圧縮画像形式のデ
ータの場合は、バンドメモリ103上のデータは、AD
CT圧縮回路115に送られ、圧縮されて、FIFOメ
モリ116に圧縮後のデータが書き出される。そして、
FIFOメモリ116より読み出してはホストコンピュ
ータへ転送し、次のバンド幅分の処理を繰り返し行い、
圧縮画像データを得る。ハードディスクを有する場合
は、一時的に蓄積するという点が違うだけで、他は上述
と同様である。
On the other hand, when the data processing format is compressed image format data, the data on the band memory 103 is AD.
The data is sent to the CT compression circuit 115, is compressed, and the compressed data is written to the FIFO memory 116. And
It is read from the FIFO memory 116 and transferred to the host computer, and the processing for the next bandwidth is repeated,
Get compressed image data. In the case of having a hard disk, it is the same as the above except that it temporarily stores it.

【0077】以下、図9に示す回路ブロック図を参照し
ながら図1に示した第1のSPインタフェース回路4−
1の詳細構成について説明する。
The first SP interface circuit 4- shown in FIG. 1 will be described below with reference to the circuit block diagram shown in FIG.
The detailed configuration of No. 1 will be described.

【0078】図9は、図1に示した第1のSPインタフ
ェース回路4−1の内部構成を説明するブロック図であ
り、図1と同一のものには同じ符号を付してある。
FIG. 9 is a block diagram for explaining the internal structure of the first SP interface circuit 4-1 shown in FIG. 1. The same parts as those in FIG. 1 are designated by the same reference numerals.

【0079】図において、1000はCPUで、ROM
1002に格納された上記各種制御プログラムに基づい
てボード回路の内部バス1001に接続される各デバイ
スを制御する。1003はRAMで、CPU1000の
ワークメモリ等として機能する。1004はネットワー
クコントローラで、LAN96に接続されるステーショ
ンとのアクセスを制御する。1005はバンドメモリ
で、バンド幅分のデータを記憶する。1006は標準圧
縮伸長部で、画像データの圧縮伸長を行う。1007は
SCSIコントローラで、ハードディスク1008等が
接続されている。
In the figure, 1000 is a CPU, and ROM
Based on the various control programs stored in 1002, each device connected to the internal bus 1001 of the board circuit is controlled. A RAM 1003 functions as a work memory of the CPU 1000. A network controller 1004 controls access to a station connected to the LAN 96. A band memory 1005 stores data for the band width. A standard compression / expansion unit 1006 compresses / expands image data. A SCSI controller 1007 is connected with a hard disk 1008 and the like.

【0080】211は前記第1のSPインタフェース回
路4−1を総括的に制御するCPUで、ROM212に
記憶された制御プログラム(デバイスドライバ86を補
足するプログラム)に基づいてボード内部バスに接続さ
れる各デバイスを制御するとともに、各部の初期設定や
スキャナ,プリンタとのコマンドのやり取りを行う。2
13はRAMで、CPU211のワークメモリ等として
機能する。214はDPRAMで、第1のSPインタフ
ェース回路4−1とボード回路とのコマンドのやり取り
を行うRAMで、CPU211とVMEバス16を介し
てボード回路のCPU1000が共に独立してメモリア
クセス可能に構成されている。215,216はバッフ
ァメモリで、CPU211とCPU1000との衝突を
避けるために機能する。
Reference numeral 211 denotes a CPU which controls the first SP interface circuit 4-1 as a whole, and is connected to the board internal bus based on a control program (a program supplementing the device driver 86) stored in the ROM 212. While controlling each device, it performs initial settings of each unit and exchanges commands with the scanner and printer. Two
A RAM 13 functions as a work memory or the like of the CPU 211. Reference numeral 214 denotes a DPRAM, which is a RAM for exchanging commands between the first SP interface circuit 4-1 and the board circuit, and is configured so that both the CPU 211 of the board circuit and the CPU 1000 of the board circuit can independently perform memory access via the CPU 211 and the VME bus 16. ing. Buffer memories 215 and 216 function to avoid collision between the CPU 211 and the CPU 1000.

【0081】218はリアルタイム圧縮伸長部で、多値
画像データをリアルタイムで圧縮伸長するものである。
ここで、リアルタイムとは、ビデオインタフェース22
0を通じて入力される画像データの速度、例えば約15
MHz(32ビット)で画像データのやり取りをする速度
と同時間で処理することを意味する。圧縮メモリ17
は、リアルタイム圧縮伸長部218で圧縮したデータを
格納する。219はラインバッファで、8ラインのラス
タ方向のデータを保存するメモリとして機能する。な
お、当該ラインバッファ219はリアルタイム圧縮伸長
部218からは、8×8のマトリクスでADCT圧縮に
準じたランダムアクセスが可能となっている。217は
DMAコントローラで、圧縮メモリ17とリアルタイム
圧縮伸長部218との間をCPU211を介さずにデー
タを移動させるためのものである。
Reference numeral 218 denotes a real-time compression / expansion unit for compressing / expanding multi-valued image data in real time.
Here, the real time means the video interface 22.
The speed of image data input through 0, for example, about 15
This means that processing is performed at the same time as the speed of exchanging image data at MHZ (32 bits). Compression memory 17
Stores the data compressed by the real-time compression / expansion unit 218. Reference numeral 219 denotes a line buffer, which functions as a memory for storing 8-line raster direction data. The line buffer 219 can be randomly accessed from the real-time compression / expansion unit 218 in an 8 × 8 matrix in accordance with ADCT compression. A DMA controller 217 is for moving data between the compression memory 17 and the real-time compression / decompression unit 218 without passing through the CPU 211.

【0082】ビデオインタフェース220aは、スキャ
ナ94A,プリンタ94Bとのインタフェースである。
220bは制御インタフェースである。
The video interface 220a is an interface with the scanner 94A and the printer 94B.
220b is a control interface.

【0083】このように構成されたサーバー装置におい
て、第1の圧縮伸長部(標準圧縮伸長部1006)は第
1の記憶部(ハードディスク1008)を介して画像デ
ータの圧縮伸長を行い、第1の制御手段(CPU100
0)がネットワーク96上の通信または第2の制御手段
(CPU211)との通信を制御しながら画像データを
転送し、第2の制御手段が画像データを各入出力機器の
画像データ転送速度に同期して画像データを読み書き可
能な第2の記憶部(圧縮メモリ17)を介して圧縮伸長
する第2の圧縮伸長部(リアルタイム圧縮伸長部218
9の圧縮伸長を制御するので、限定された容量の記憶媒
体であっても、各入出力機器の画像データ転送速度に見
合った速度で圧縮伸長された画像データの入出力処理が
可能となる。
In the server device thus configured, the first compression / expansion unit (standard compression / expansion unit 1006) compresses / expands image data via the first storage unit (hard disk 1008), Control means (CPU 100
0) transfers the image data while controlling the communication on the network 96 or the communication with the second control unit (CPU 211), and the second control unit synchronizes the image data with the image data transfer rate of each input / output device. A second compression / expansion unit (real-time compression / expansion unit 218) that compresses / expands image data via the second storage unit (compression memory 17) capable of reading and writing image data.
Since the compression / expansion of No. 9 is controlled, the input / output processing of the compressed / expanded image data can be performed at a speed commensurate with the image data transfer speed of each input / output device even if the storage medium has a limited capacity.

【0084】以下、ホストコンピュータからの指定情報
に基づく第1〜第4のモード処理について図9を参照し
ながら詳述する。なお、各モード処理は、ROM100
2に格納された画像入出力装置制御プログラム85とR
OM212に格納されたデバイスドライバ85を実行す
ることによって行われる。 〔第1のモード処理〕先ず、第1のモード処理(画像プ
リントモード処理)では、メインCPU回路1のバンド
メモリ1005内の生画像データを、VMEバス16を
経由して受け取り、リアルタイム圧縮伸長部218で圧
縮した後、圧縮メモリ17に一旦、圧縮画像の形態で蓄
えられる。この動作は、1ページ分行われ、1ページ
(1画面)分の圧縮が終了したところで、プリンタ94
Bを起動する。次に、圧縮メモリ17に一旦、圧縮画像
の形態で蓄えられた圧縮画像データをDMAコントロー
ラ217が読み出し、リアルタイム圧縮伸長部218に
送る。この際、伸長回路により、生画像データに復元す
る。伸長された生画像データは、順次ビデオインタフェ
ース220よりプリンタ94Bへ転送される。なお、そ
の際画像伸長動作はプリンタ94Bのデータ処理速度に
同期して、超高速に伸長する。また場合によっては、画
像処理を施した後にプリンタ94Bにデータを送り、プ
リンタ処理を行う。 〔第2のモード処理〕第2のモード処理(画像スキャン
モード処理)では、スキャナ94Aより、ビデオインタ
フェース220aを介して入力されてくる画像データ
を、そのスピードに同期して超高速に、リアルタイム圧
縮伸長部218の圧縮機能を用いて画像圧縮を行い、D
MAコントローラ217により、出力される圧縮画像デ
ータを圧縮メモリ17に一旦格納する。1画面分のスキ
ャンが終了したところで、ボード回路のCPU1000
は再びリアルタイム圧縮伸長部218の伸長回路により
圧縮メモリ17に蓄えられた圧縮画像データを伸長し、
生画像データに戻す。その生画像データは、VMEバス
16を経由してボード回路に送られる。ボード回路は、
ホストコンピュータ側が、生画像データを要求している
場合はそのまま指定されたホストコンピュータへ転送
し、もし、圧縮画像データを要求した場合には、ボード
回路上の圧縮機能処理により圧縮して指定されたホスト
コンピュータへ転送する。 〔第3のモード処理〕第3のモード処理(標準圧縮画像
プリントモード処理)では、ボード回路が圧縮画像デー
タをネットワーク上のホストコンピュータから受け取る
と、そこで伸長せずに、圧縮画像データのまま指定され
た第1のSPインタフェース回路4−1に送る。第1の
SPインタフェース回路4−1では、圧縮メモリ17に
圧縮画像データを蓄え、その後指定されたプリンタ94
Bを起動し、圧縮画像データをリアルタイム圧縮伸長部
218の伸長機能により、プリンタ94Bのプリントス
ピードに同期して画像伸長を行いプリントする。 〔第4のモード処理〕第4のモード処理(標準圧縮画像
スキャンモード処理)では、スキャナ94Aの走査速度
に同期して、超高速にリアルタイム圧縮伸長部218の
圧縮機能により画像圧縮を行い、圧縮メモリ17に一旦
圧縮画像データを蓄える。1画面分のスキャンが終了し
たところで、ボード回路のCPU1000は、圧縮画像
データをそのままVMEバス16を経由して取り込む。
The first to fourth mode processes based on the designation information from the host computer will be described in detail below with reference to FIG. In addition, each mode process is performed by the ROM 100.
Image input / output device control program 85 and R stored in
This is performed by executing the device driver 85 stored in the OM 212. [First Mode Processing] First, in the first mode processing (image print mode processing), the raw image data in the band memory 1005 of the main CPU circuit 1 is received via the VME bus 16 and the real-time compression / decompression unit is received. After being compressed in 218, it is temporarily stored in the compression memory 17 in the form of a compressed image. This operation is performed for one page, and when the compression for one page (one screen) is completed, the printer 94
Start B. Next, the DMA controller 217 reads the compressed image data temporarily stored in the compression memory 17 in the form of a compressed image, and sends it to the real-time compression / expansion unit 218. At this time, the decompression circuit restores the raw image data. The decompressed raw image data is sequentially transferred from the video interface 220 to the printer 94B. At this time, the image decompression operation is performed at a very high speed in synchronization with the data processing speed of the printer 94B. In some cases, the image processing is performed and then the data is sent to the printer 94B to perform the printer processing. [Second Mode Processing] In the second mode processing (image scan mode processing), image data input from the scanner 94A via the video interface 220a is compressed in real time at ultra-high speed in synchronization with the speed. Image compression is performed using the compression function of the decompression unit 218, and D
The MA controller 217 temporarily stores the output compressed image data in the compression memory 17. When the scan for one screen is completed, the CPU 1000 of the board circuit
Again expands the compressed image data stored in the compression memory 17 by the expansion circuit of the real-time compression / expansion unit 218,
Return to raw image data. The raw image data is sent to the board circuit via the VME bus 16. The board circuit is
When the host computer side requests raw image data, it transfers it to the specified host computer as it is, and when it requests compressed image data, it is designated by compressing it by the compression function processing on the board circuit. Transfer to host computer. [Third Mode Processing] In the third mode processing (standard compressed image print mode processing), when the board circuit receives the compressed image data from the host computer on the network, the board circuit designates the compressed image data as it is without decompressing it. Sent to the first SP interface circuit 4-1. The first SP interface circuit 4-1 stores the compressed image data in the compression memory 17, and then the designated printer 94.
B is activated, and the compressed image data is expanded and printed in synchronization with the print speed of the printer 94B by the expansion function of the real-time compression / expansion unit 218. [Fourth Mode Processing] In the fourth mode processing (standard compression image scan mode processing), image compression is performed by the compression function of the real-time compression / expansion unit 218 at an extremely high speed in synchronization with the scanning speed of the scanner 94A, and compression is performed. The compressed image data is temporarily stored in the memory 17. When the scan for one screen is completed, the CPU 1000 of the board circuit takes in the compressed image data as it is via the VME bus 16.

【0085】なお、上記第1および第2のモード処理で
は、生画像データで第1のSPインタフェース回路4−
1とインタフェースするため、第1のSPインタフェー
ス回路4−1内では画像通信に必要とされる標準の圧縮
伸長処理を行うことは必ずしも必要ではなく、高速化や
その他の目的に応じた独自の圧縮伸長が行える。
In the first and second mode processes, raw image data is used for the first SP interface circuit 4-.
In order to interface with 1, the standard compression / expansion processing required for image communication is not necessarily performed in the first SP interface circuit 4-1, and the original compression according to the speedup and other purposes is required. Can be extended.

【0086】また、上記第2,4のモード処理では、ス
キャナ94Aの読取りデータを直接圧縮をかける場合に
ついて記述したが、スキャナの読み取りデータに線密度
変換や色空間変換等の画像処理を施した後に、リアルタ
イム圧縮伸長部218が画像圧縮をかけても良く、制限
するものではない。また、画像処理機能は、画像圧縮伸
長部とスキャナ94A,プリンタ94Bとの間に設ける
構成であっても良いし、画像圧縮伸長部をスキャナ94
A,プリンタ94B内に設ける構成であっても良い。
In the second and fourth mode processing, the case where the read data of the scanner 94A is directly compressed is described, but the read data of the scanner is subjected to image processing such as linear density conversion and color space conversion. The real-time compression / decompression unit 218 may apply image compression later, without limitation. Further, the image processing function may be provided between the image compression / expansion unit and the scanner 94A / printer 94B, or the image compression / expansion unit may be provided in the scanner 94A.
A, the configuration may be provided in the printer 94B.

【0087】以下、図10に示すブロック図を参照しな
がらリアルタイム圧縮伸長部218の構成および動作に
ついて説明する。
The configuration and operation of the real-time compression / decompression unit 218 will be described below with reference to the block diagram shown in FIG.

【0088】図10は、図9に示したリアルタイム圧縮
伸長部218の詳細構成の一例を示すブロック図であ
り、特に本実施例では圧縮伸長方式として、ADCT方
式を採用している。
FIG. 10 is a block diagram showing an example of the detailed structure of the real-time compression / expansion unit 218 shown in FIG. 9. In particular, in this embodiment, the ADCT method is adopted as the compression / expansion method.

【0089】データ圧縮時は、生画像データは、先ず外
部のラインバッファ219に蓄えられた後で、色空間変
換部221に入力されて、RGBデータからY,Cr,
Cb等の色空間に変換される。そして、場合によって
は、Cr,Cbは色差成分として、サブサンプリングさ
れ、画像の持つ冗長度を落される。次いで、8×8画素
毎にDCT計算部222において、周波数空間に変換さ
れる。次に、図11に示すようにDCT係数はジグザグ
スキャン部223でスキャンされ、量子化部224で量
子化される。この時に、量子化の係数は、量子化テーブ
ル225に記憶されていて、DCT係数の8×8に対応
するようになっている。次に、内部FIFOメモリ22
6に一旦蓄えられ、所望のタイミングでハフマン符号化
部227でハフマンテーブル228を参照して符号化し
た後にでき上がった圧縮画像データは、外部のホストコ
ンピュータ等からアクセスできるCODECレジスタ2
29に値が格納される。
At the time of data compression, the raw image data is first stored in the external line buffer 219 and then input to the color space conversion unit 221 to convert the RGB data into Y, Cr, and
Converted to a color space such as Cb. Then, in some cases, Cr and Cb are sub-sampled as color difference components to reduce the redundancy of the image. Next, every 8 × 8 pixels, the DCT calculation unit 222 transforms the frequency space. Next, as shown in FIG. 11, the DCT coefficient is scanned by the zigzag scanning unit 223 and quantized by the quantization unit 224. At this time, the quantization coefficient is stored in the quantization table 225 and corresponds to the DCT coefficient of 8 × 8. Next, the internal FIFO memory 22
6 is stored once, and the compressed image data obtained after being encoded by the Huffman encoding unit 227 by referring to the Huffman table 228 at a desired timing is stored in the CODEC register 2 which can be accessed from an external host computer or the like.
The value is stored in 29.

【0090】ところで、色空間変換部221,DCT計
算部222,ジグザグスキャン部223,量子化部22
4,量子化テーブル225等でパイプライン動作部が構
成され、タイミング生成用のクロックに同期して動作
し、高速で動作する。また、ハフマン符号化部227,
ハフマンテーブル228,CODECレジスタ229等
で非同期動作部が構成され、外部CPUがCODECレ
ジスタ229をアクセスするスピードに同調して動作す
るように構成されており、CPUのスピードやDMAに
間に合う程度であって、あまり高速には動作しない部分
である。また、パイプライン動作部は、スキャナ94
A,プリンタ94Bの画像転送クロックに追従できるよ
うに高速動作が可能に構成されている。従って、内部F
IFOメモリ226は、同期系のパイプライン動作部と
非同期動作部の動作スピードの緩衝のために設けられて
いる。
By the way, the color space conversion unit 221, the DCT calculation unit 222, the zigzag scanning unit 223, and the quantization unit 22.
4, the quantization table 225 and the like constitute a pipeline operation unit, which operates in synchronization with a clock for timing generation and operates at high speed. In addition, the Huffman encoding unit 227,
The Huffman table 228, the CODEC register 229, and the like constitute an asynchronous operation unit, and the external CPU operates in synchronization with the speed of accessing the CODEC register 229. The part that doesn't work very fast. Further, the pipeline operation unit is the scanner 94.
A, high-speed operation is possible so as to follow the image transfer clock of the printer 94B. Therefore, the internal F
The IFO memory 226 is provided for buffering the operation speed of the synchronous pipeline operation unit and the asynchronous operation unit.

【0091】また、画質を高めるために圧縮率を下げる
と圧縮データが増え、非同期動作部の処理量が多くな
り、非同期動作部の処理スピードが間に合わなくなる。
ただし、色空間変換部221の生画像データのインタフ
ェースは、スキャナ94A、プリンタ94B以外にも接
続可能で、外部にFIFOメモリを設けて、CPU等か
らの非同期アクセスを受けることが可能で、この場合は
パイプライン動作部を低速で動作させたり、一時停止さ
せることが可能である。従って、非同期動作部はスピー
ド的に問題はなくなる。
Further, if the compression rate is lowered to improve the image quality, the amount of compressed data increases, the processing amount of the asynchronous operation unit increases, and the processing speed of the asynchronous operation unit cannot keep up.
However, the interface of the raw image data of the color space conversion unit 221 can be connected to other than the scanner 94A and the printer 94B, and an external FIFO memory can be provided to receive an asynchronous access from the CPU or the like. It is possible to operate the pipeline operation unit at a low speed or suspend it. Therefore, the asynchronous operation unit has no problem in speed.

【0092】また、本実施例では画像圧縮伸長部を複数
(例えば2つ)有し、生画像データを複数に分割して、
それぞれの画像圧縮伸長部に与えることにより高速動作
するスキャナやプリンタ等に接続することが可能とな
る。このように、複数に分割された画像データの圧縮で
あるならば、伸長時にも同様にスピード問題は解決され
る。
Further, in the present embodiment, a plurality of (for example, two) image compression / decompression units are provided, and the raw image data is divided into a plurality of parts,
By giving each image compression / expansion unit, it becomes possible to connect to a scanner, printer or the like that operates at high speed. In this way, if the image data divided into a plurality of pieces is compressed, the speed problem is also solved at the time of decompression.

【0093】伸長時の動作は基本的には圧縮時の逆プロ
セスになるわけであるが、図10に示すように、圧縮画
像データは、CODECレジスタ229に渡されると、
ハフマン符号化部227でハフマンテーブル228を参
照しながら逆ハフマン符号化、すなわちデコードされ
る。その値は一旦内部FIFOメモリ226でスピード
の緩衝を受けながら、量子化部224で逆量子化され
る。逆量子化は量子化テーブル225の8×8の量子化
係数を乗算することで行われる。そして、ジグザグスキ
ャン部223で逆ジグザグスキャンされて、DCT計算
部222にDCT係数として渡される。そして、色空間
変換部221において圧縮色空間であるY,Cr,Cb
等よりもとのRGB空間等に戻される。
Although the operation at the time of decompression is basically the reverse process at the time of compression, as shown in FIG. 10, when the compressed image data is passed to the CODEC register 229,
The Huffman coding unit 227 performs inverse Huffman coding, that is, decoding with reference to the Huffman table 228. The value is inversely quantized by the quantizer 224 while being temporarily buffered by the internal FIFO memory 226. The inverse quantization is performed by multiplying the 8 × 8 quantization coefficient of the quantization table 225. Then, the zigzag scanning unit 223 performs an inverse zigzag scan, and the result is passed to the DCT calculation unit 222 as a DCT coefficient. Then, in the color space conversion unit 221, Y, Cr, Cb which are compressed color spaces are used.
The original RGB space or the like is returned.

【0094】また、DCT計算部222では、DCT計
算,逆DCT計算は、計算のパラメータを入れ替えるだ
けで同一回路で処理される。色空間変換部221でも、
その変換が線形一次変換等の場合には、同様にパラメー
タ変換で行える。
Further, in the DCT calculation section 222, the DCT calculation and the inverse DCT calculation are processed by the same circuit only by exchanging the calculation parameters. Even in the color space conversion unit 221,
When the conversion is linear linear conversion or the like, the conversion can be similarly performed by parameter conversion.

【0095】さらに、量子化部224も同様で量子化は
割り算等,逆量子化は掛け算を行うが、割り算も、割る
量子化係数を逆数で持つことにより掛け算になるので、
同一回路で圧縮伸長とも可能である。以下、図12〜図
15を参照しながら第1のSPインタフェース回路4−
1の各モードの動作を例にしてさらに詳細に説明する。
Further, the quantizing unit 224 is also the same, and quantization is division and the like, and inverse quantization is multiplication. However, division is also multiplication because it has a reciprocal quantized coefficient.
Compression and decompression are possible with the same circuit. Hereinafter, the first SP interface circuit 4- will be described with reference to FIGS.
The operation of each mode 1 will be described in more detail.

【0096】図12は、第1のSPインタフェース回路
4−1のパート構成の概略を説明するブロック図であ
る。
FIG. 12 is a block diagram for explaining the outline of the part structure of the first SP interface circuit 4-1.

【0097】図において、1100は画像処理制御部
で、VMEバスインタフェース,画像圧縮伸長部,CP
U回路部等から構成され、後述する図13に詳細を示
す。1200はつなぎメモリ制御部で、後述する図14
に詳細を示す。1300は画像入出力制御部で、スキャ
ナ,プリンタを備えるカラーレーザ複写装置(CL
C),スキャナ,プリンタを備えるバブルジェットカラ
ー複写装置(BJC)とのI/Oを制御する。なお、詳
細は図15に示す。
In the figure, reference numeral 1100 is an image processing control unit, which is a VME bus interface, an image compression / decompression unit, a CP
It is composed of a U circuit section and the like, and details are shown in FIG. 13 described later. Reference numeral 1200 denotes a connection memory control unit, which will be described later with reference to FIG.
Details are shown in. An image input / output control unit 1300 is a color laser copying apparatus (CL having a scanner and a printer).
C), a bubble jet color copying apparatus (BJC) equipped with a scanner and a printer, and controls I / O. Details are shown in FIG.

【0098】図13〜図15は、図1に示した第1のS
Pインタフェース回路4−1の詳細内部構成を説明する
回路ブロック図であり、図1と同一のものには同じ符号
を付してある。
13 to 15 show the first S shown in FIG.
FIG. 2 is a circuit block diagram illustrating a detailed internal configuration of a P interface circuit 4-1 and the same components as those in FIG. 1 are denoted by the same reference numerals.

【0099】図9に示すボード回路のCPU1000よ
り、画面を2分割されたデータのまず右面についての処
理において、画像データはVMEインタフェース301
よりまずFIFOメモリ302にデータがバッファ30
3を介して書き込まれる。FIFOメモリ302よりは
バッファ304を介して一旦SRAM305に蓄積され
る。SRAM305の動作は、画像圧縮伸長部のパイプ
ライン部に同期して動作する。RAM305に画像の垂
直方向8ライン分のデータが蓄積されると、画像圧縮伸
長部306は水平,垂直8×8単位ずつSRAM305
より読み出して動作し、得られた圧縮データはDMAコ
ントローラ部307を介してDRAM308に順次書き
込まれる。この時、DMAコントローラ部307はアド
レスカウンタ309を操作してアドレスを発生し、また
はカウントアップしてセレクタ310を介してDRAM
308に与える。なお、第3のモードでは、VMEイン
タフェース301およびセレクタ310を介してボード
回路のCPU1000がアドレスを与え、かつインタフ
ェース変換部312を介してDRAM308とのデータ
更新を行うことになる。これにより、直接圧縮データを
DRAM308に送ることが可能であり、画面を左右に
2分割にしていない標準の圧縮データを扱うことも可能
である。ただし、低い圧縮率のデータには不向きであ
る。
In the processing for the right side of the data obtained by dividing the screen into two by the CPU 1000 of the board circuit shown in FIG. 9, the image data is the VME interface 301.
First, the data is buffered in the FIFO memory 302 in the buffer 30.
Written via 3. The data is temporarily stored in the SRAM 305 via the buffer 304 rather than the FIFO memory 302. The operation of the SRAM 305 operates in synchronization with the pipeline unit of the image compression / decompression unit. When data for eight lines in the vertical direction of the image is stored in the RAM 305, the image compression / expansion unit 306 causes the horizontal and vertical 8 × 8 units to be stored in the SRAM 305.
The data is read out and operated, and the obtained compressed data is sequentially written in the DRAM 308 via the DMA controller unit 307. At this time, the DMA controller unit 307 operates the address counter 309 to generate an address, or counts up the address and outputs the DRAM to the DRAM via the selector 310.
Give to 308. In the third mode, the CPU 1000 of the board circuit gives an address via the VME interface 301 and the selector 310, and updates the data with the DRAM 308 via the interface conversion unit 312. As a result, it is possible to directly send the compressed data to the DRAM 308, and it is also possible to handle standard compressed data in which the screen is not divided into left and right. However, it is not suitable for data with a low compression rate.

【0100】また、DRAM308はリフレッシュ回路
313より常にリフレッシュが行なわれ、データの維持
がなされる。次に、DRAM308のデータをプリンタ
94Bに出力する動作を説明すると、DRAM308よ
りDMAコントローラ307により書き込み時と同様な
制御で圧縮伸長部306にデータが読み出されると、伸
長が行なわれ、生データがバッファ304からFIFO
メモリ302からの出力データはセレクタにおいて画像
の左右のいずれかの面が選択されて、ラッチ315に与
えられる。
Further, DRAM 308 is constantly refreshed by refresh circuit 313 to maintain data. Next, the operation of outputting the data in the DRAM 308 to the printer 94B will be described. When the data is read from the DRAM 308 to the compression / expansion unit 306 by the DMA controller 307 under the same control as when writing, the data is expanded and the raw data is buffered. FIFO from 304
The output data from the memory 302 is applied to the latch 315 by selecting either the left or right side of the image by the selector.

【0101】次に、ガンマ変換部325でガンマ変換や
LOG変換される。そして、マスキング回路316でC
G用のマスキングを行ない、マスキング回路317で、
自然画用のマスキングを行ない、セレクタ321で画像
の性質に応じてどちらかを選択し、最終的に出力ガンマ
調整部322で変換されてからラインドライバ324を
介してプリンタ94Bに出力される。この時、出力ガン
マ調整部322はガンマ設定レジスタ323に調整され
る。また、マスキング回路316はROMで構成され、
マスキング回路317はロジックであって、黒生成のた
めの黒テーブルが接続されるとともに、初期値データR
OM319の値が初期にロードされるようにタイミング
コントローラ320も周辺に接続されている。プリンタ
94Bが面順次の場合は、伸長動作を面の数だけ行な
い、そのマスキング回路316,317は、出力色に応
じたマスキング処理を行なう。
Next, the gamma conversion section 325 performs gamma conversion and LOG conversion. Then, in the masking circuit 316, C
Masking for G is performed, and with the masking circuit 317,
Masking for a natural image is performed, and either one is selected by the selector 321 according to the property of the image, finally converted by the output gamma adjustment unit 322, and then output to the printer 94B via the line driver 324. At this time, the output gamma adjustment unit 322 is adjusted by the gamma setting register 323. The masking circuit 316 is composed of a ROM,
The masking circuit 317 is a logic, and is connected to a black table for generating black, and the initial value data R
The timing controller 320 is also connected to the periphery so that the value of the OM 319 is initially loaded. When the printer 94B is frame sequential, the expansion operation is performed by the number of planes, and the masking circuits 316 and 317 perform masking processing according to the output color.

【0102】以上が、画面を2分割にした場合の右面の
処理の流れであり、左面についても同様の処理の流れが
行なわれる。すなわち、バッファ325,FIFOメモ
リ302,バッファ327を経由してSRAM328に
蓄えられた8ラインの画像データは、画像伸長部329
において圧縮され、DMAコントローラ331,アドレ
スコントローラ335,セレクタ334によりコントロ
ールされて、DRAM332に圧縮データとして書き込
まれる。また、VMEインタフェース311より直接セ
レクタ334をインタフェース変換部330を介してボ
ード回路のCPU1000が圧縮データを書き込んでも
良いことは言うまでもない。また、リフレッシュ回路3
33がDRAM332のデータをリフレッシュし維持す
る。そして、画像プリント時には、DRAM332より
読み出されたデータがDMAコントローラ331等のコ
ントロール331等のコントロールを受け、画像圧縮伸
長部329で伸長され、SRAM328,バッファ32
7,FIFOメモリ326を経由してセレクタ314に
与えられ、以下上述の通り画像処理されて出力される。
以上のようにして、モード1の処理が行なわれる。
The above is the processing flow for the right side when the screen is divided into two, and the same processing flow is performed for the left side. That is, the 8-line image data stored in the SRAM 328 via the buffer 325, the FIFO memory 302, and the buffer 327 is converted into the image decompression unit 329.
Is compressed, and is controlled by the DMA controller 331, the address controller 335, and the selector 334, and is written in the DRAM 332 as compressed data. It goes without saying that the CPU 1000 of the board circuit may directly write compressed data from the VME interface 311 to the selector 334 via the interface conversion unit 330. In addition, the refresh circuit 3
33 refreshes and maintains the data in DRAM 332. Then, at the time of image printing, the data read from the DRAM 332 is controlled by the control 331 such as the DMA controller 331 and expanded by the image compression / expansion unit 329, and the SRAM 328 and the buffer 32.
7, is given to the selector 314 via the FIFO memory 326, and is image-processed and outputted as described above.
The processing of mode 1 is performed as described above.

【0103】次に第2のモード処理動作について説明す
る。
Next, the second mode processing operation will be described.

【0104】スキャナ94Aより各種の処理を受けて送
出される画像データは、ラインレシーバにより受け取ら
れ、バッファ341により画像の右面がバッファ342
により画像の左面が、FIFOメモリ303,326に
順次取り込まれる。それ以降は、第1のモードと同様の
動作を行なう。すなわち、右面の処理動作について記述
すれば、FIFOメモリ302に書き込まれた画像デー
タは、バッファ304を経由してSRAM305に8ラ
イン分が読み出されて書き込まれる。次に、圧縮伸長部
306によりDRAM308に圧縮データが生成され
る。
The image data sent from the scanner 94A after undergoing various processes is received by the line receiver, and the right side of the image is buffered by the buffer 341 in the buffer 342.
As a result, the left side of the image is sequentially loaded into the FIFO memories 303 and 326. After that, the same operation as in the first mode is performed. That is, describing the processing operation on the right side, the image data written in the FIFO memory 302 is read out and written in eight lines in the SRAM 305 via the buffer 304. Next, the compression / expansion unit 306 generates compressed data in the DRAM 308.

【0105】一方、第4のモードでは、VMEインタフ
ェース311及びインタフェース変換部312,セレク
タ310を介してボード回路のCPU1000が直接圧
縮画像データを読み込むことが可能であるが、第2のモ
ードでは、DRAM308の圧縮データを伸長してから
ボード回路のCPU1000に渡す。DRAM308よ
りインタフェース変換部312およびDMAコントロー
ラ307,アドレスカウンタ309,セレクタ310に
よりコントロールされて、書き込まれた順に読み出され
た圧縮画像データは、画像圧縮伸長部306で伸長さ
れ、SRAM305に8×8単位毎に書き込まれ、8ラ
イン分すべてが書き込まれた時点でバッファ304を経
由して、水平ライン方向に連続して読み出され、FIF
Oメモリ302に書き込まれる。FIFOメモリ302
では、ボード回路のCPU1000のタイミングに従っ
て、バッファ303,VMEインタフェース301を介
して、ボード回路のCPU1000に生画像データとし
て読み出される。
On the other hand, in the fourth mode, the CPU 1000 of the board circuit can directly read the compressed image data via the VME interface 311 and the interface conversion unit 312 and the selector 310, but in the second mode, the DRAM 308. Decompresses the compressed data, and passes it to the CPU 1000 of the board circuit. The compressed image data read from the DRAM 308 under the control of the interface conversion unit 312, the DMA controller 307, the address counter 309, and the selector 310 and read in the written order is expanded by the image compression / expansion unit 306, and stored in the SRAM 305 in 8 × 8 units. It is written every time, and when all 8 lines are written, it is continuously read in the horizontal line direction via the buffer 304, and the FIF is read.
It is written in the O memory 302. FIFO memory 302
Then, according to the timing of the CPU 1000 of the board circuit, it is read as raw image data by the CPU 1000 of the board circuit via the buffer 303 and the VME interface 301.

【0106】ところで、セレクタ321が2つのマスキ
ング回路316,317の選択については、RAM35
1にCG画像があるか、自然画像であるかの属性が書か
れていて、水平方向カウンタ352,垂直方向カウンタ
353より、処理画素位置のアドレスが生成され、セレ
クタ355を介してRAM351に与えられ、その読み
出しデータにより、セレクタ321を制御する。従っ
て、RAM351上の属性はボード回路のCPU100
0よりVMEインタフェース301,セレクタ351を
介し、RAM351上にあらかじめ書き込まれる。ま
た、スキャナ94A,プリンタ94Bとのインタフェー
スは、S/Pタイミングコントローラ356により制御
されている。
By the way, when the selector 321 selects the two masking circuits 316 and 317, the RAM 35 is used.
The attribute indicating whether there is a CG image or a natural image in 1 is written, the address of the processing pixel position is generated from the horizontal counter 352 and the vertical counter 353, and is given to the RAM 351 via the selector 355. , The selector 321 is controlled by the read data. Therefore, the attribute on the RAM 351 is the CPU 100 of the board circuit.
It is written in advance from 0 to the RAM 351 via the VME interface 301 and the selector 351. The interface with the scanner 94A and the printer 94B is controlled by the S / P timing controller 356.

【0107】次に、画像の左右面の切り替えの制御につ
いて説明する。
Next, the control for switching the left and right sides of the image will be described.

【0108】垂直方向カウンタ363は、画像の垂直方
向の有効部分について画像有効信号を送出するもので、
ディレイレジスタ364は、画像先端の余白部分をセッ
トするものである。長さレジスタ361は画像の有効長
をセットし、比較器362において有効長以内で有れ
ば、各部分に画像有効信号を送るものである。垂直方向
の画像有効区間に加えて、水平方向の余白長をセットす
るディレイレジスタ366が接続され、画像の左端をカ
ウントした後に有効信号を発する。カウンタコントロー
ラ部367は、これを受けて水平左幅カウンタ368を
起動する。この水平左幅カウンタ368は、ダウンカウ
ンタとして機能し、幅分だけカウントを行ない、その間
に左画面のイネーブル信号を発する。左画面が終了する
と、カウンタコントローラ部372に対してイネーブル
を発し、カウンタコントローラ部372は右画面の幅カ
ウンタ373で幅分のカウントを行ない、終了状態を制
御部389に与える。制御部389はセレクタ314に
対して画像有効幅の終了を知らせて出力をクリアする。
幅カウンタ368は、圧縮時にはライトパルスジェネレ
ータ369を左画面有効幅で発生してマルチプレクサ3
71を介してFIFOメモリ326に左面のスキャナデ
ータをかき込み、FIFOメモリ326はゲート381
を介して圧縮伸長部329のリードパルスをマルチプレ
クサ371を介してFIFOメモリ326に与える。
The vertical direction counter 363 sends an image effective signal for an effective part of the image in the vertical direction.
The delay register 364 sets a blank portion at the tip of the image. The length register 361 sets the effective length of the image, and if the comparator 362 is within the effective length, it sends an image effective signal to each part. In addition to the vertical image valid section, a delay register 366 for setting the horizontal margin length is connected, and the valid signal is issued after counting the left edge of the image. In response to this, the counter controller unit 367 activates the horizontal left width counter 368. The horizontal left width counter 368 functions as a down counter, counts by the width, and issues an enable signal for the left screen in the meantime. When the left screen ends, the enable is issued to the counter controller unit 372, the counter controller unit 372 counts the width by the width counter 373 on the right screen, and gives the end state to the control unit 389. The control unit 389 notifies the selector 314 of the end of the effective image width and clears the output.
The width counter 368 generates a write pulse generator 369 in the left screen effective width at the time of compression so that the multiplexer 3
The scanner data on the left side is written into the FIFO memory 326 via 71, and the FIFO memory 326 receives the gate 381.
The read pulse of the compression / expansion unit 329 is given to the FIFO memory 326 via the multiplexer 371.

【0109】また、伸長時には、幅カウンタ368の左
面有効信号をリードパルスジェネレータ370が受け
て、マルチプレクサ371を介してFIFOメモリ32
6よりプリンタ94Bへ出力させる。
At the time of decompression, the read pulse generator 370 receives the left side effective signal of the width counter 368 and the FIFO memory 32 via the multiplexer 371.
6 to output to the printer 94B.

【0110】一方、画像圧縮伸長部329のライトパル
スがゲート381を介してマルチプレクサ371を介し
てFIFOメモリ326に与えられ、伸長データが書き
込まれる。
On the other hand, the write pulse of the image compression / expansion unit 329 is applied to the FIFO memory 326 via the gate 381 and the multiplexer 371, and the expanded data is written.

【0111】右面についても同様にライトパルスジェネ
レータ374,リードパルスジェネレータ375,マル
チプレクサ376,ゲート382が同様の動作をするこ
とは言うまでもない。また、画像圧縮伸長部329には
内部のFIFOメモリ302の状態がスタート/ストッ
プロジック386に与えられるとともに、周辺状態を検
出するレジスタ385もスタート/ストップロジック3
86に与えられ、かつ外部のFIFOメモリ326の状
態もFIFOメモリコントローラ部383を介してスタ
ート/ストップロジック386に与えられ、内部のFI
FOメモリ302及び外部のFIFOメモリ326がオ
ーバーフローしたり、アンダーフローしたりしないよう
に管理され、状態に応じて画像圧縮伸長部329のパイ
プライン部329をストップさせたり、スタートさせた
りすることができる。
It goes without saying that the write pulse generator 374, the read pulse generator 375, the multiplexer 376, and the gate 382 operate similarly on the right side. Further, the image compression / expansion unit 329 is provided with the state of the internal FIFO memory 302 to the start / stop logic 386, and the register 385 for detecting the peripheral state is also provided with the start / stop logic 3.
86, and the state of the external FIFO memory 326 is also provided to the start / stop logic 386 via the FIFO memory controller 383, and the internal FI
The FO memory 302 and the external FIFO memory 326 are managed so as not to overflow or underflow, and the pipeline unit 329 of the image compression / expansion unit 329 can be stopped or started depending on the state. .

【0112】同様に、状態レジスタ387,スタート/
ストップロジック386,フィホコントローラ部384
に管理され、圧縮伸長部306のパイプライン部がスタ
ートしたり、ストップしたりする。なお、スタート/ス
トップでは、圧縮時に内部のパイプライン部が速すぎて
内部のFIFOメモリ302がオーバーフローしそうな
時や、伸長時に内部のパイプライン分が速すぎて内部の
FIFOメモリ302がアンダーフローしそうな時の他
の圧縮時に画像圧縮伸長部が速すぎて外部FIFOメモ
リ326がアンダーフローしそうな時、および伸長時に
画像圧縮伸長部306が速すぎて外部FIFOメモリ3
26がオーバーフローしそうな時がある。
Similarly, status register 387, start / start
Stop logic 386, Fiho controller unit 384
The pipeline section of the compression / expansion section 306 is started or stopped. In start / stop, when the internal pipeline part is too fast during compression and the internal FIFO memory 302 is likely to overflow, or when the internal pipeline part is too fast during decompression, the internal FIFO memory 302 is likely to underflow. When the image compression / decompression unit is too fast during other compression, the external FIFO memory 326 is likely to underflow, and when the image compression / decompression unit 306 is too fast during decompression, the external FIFO memory 3 is too fast.
There are times when 26 is about to overflow.

【0113】また、エラー対策399は、スキャナ94
A,プリンタ94Bが速すぎて画像圧縮伸長部306の
処理速度が間に合わない時に、外部のFIFOメモリ3
26や内部のFIFOメモリ302がオーバーフローや
アンダーフローを起こすので、スキャナ94A,プリン
タ94B側のビデオ信号(ビデオ=画像)を一時的に止
めるもので、スキャナ94Aでは1ライン単位でビデオ
が捨てられ、プリンタ94Bでは1ライン単位で余白が
出力されるように簡易的なエラー処理が行なわれ、FI
FOメモリをオーバーフローまたはアンダーフローされ
てビデオの流れを破壊することを防ぐ。従って、エラー
対策部は、エラー情報を制御部388に渡すと、制御部
389が1ラインの余白,左面有効部,右面有効部を把
握して、1ラインの区切り目でエラー解除をエラー対策
部399に出力する一方、エラー時にスキャナ94A,
プリンタ94Bの入出力データをクリアするように各部
に指示するとともに、エラー処理中に画像圧縮伸長部3
06がスキャナ94A,プリンタ94Bの処理速度に間
に合わなかったにもかかわらず、1水平ラインの区切り
まで圧縮または伸長動作をさせる。このことにより、1
ラインの区切りで再びエラー復帰ができるのである。た
だし、エラー処理中に圧縮では、白ラインを圧縮して圧
縮速度をかせぎ、伸長では画像データはプリンタ94B
に間に合わないために捨てられる。
The error countermeasure 399 is the scanner 94.
When the processing speed of the image compression / expansion unit 306 cannot keep up with the A and printer 94B being too fast, the external FIFO memory 3
26 and the internal FIFO memory 302 cause overflow or underflow, so that the video signals (video = image) on the scanner 94A and printer 94B sides are temporarily stopped. In the scanner 94A, video is discarded in line units. The printer 94B performs simple error processing so that the blank space is output in units of one line, and the FI
Prevents FO memory from overflowing or underflowing and corrupting the video stream. Therefore, when the error countermeasure unit passes the error information to the control unit 388, the control unit 389 recognizes the blank space of one line, the effective portion of the left surface, and the effective portion of the right surface to cancel the error at the break of one line. While outputting to 399, when there is an error, the scanner 94A,
The respective units are instructed to clear the input / output data of the printer 94B, and the image compression / decompression unit 3 is operated during error processing.
Even if 06 does not meet the processing speed of the scanner 94A and the printer 94B, the compression or expansion operation is performed up to the division of one horizontal line. This makes 1
The error can be recovered again by separating the lines. However, in the compression during error processing, the white line is compressed to increase the compression speed, and in the expansion, the image data is printed by the printer 94B.
It is thrown away because it is too late.

【0114】以上の説明の中では、ボード回路のCPU
1000がほとんどすべての管理を行なうように説明し
たが、本実施例では第1のSPインタフェース回路4−
1の中にも内部のCPU392を有していて、第1のS
Pインタフェース回路4−1ないで処理できることは内
部のCPU392が処理を分担することが可能で有る。
また、第1のSPインタフェース回路4−1内にはデュ
アルポートRAM393を有し、両ポートはそれぞれV
EMバスインタフェース311を介してボード回路のC
PU1000が内部CPUバスを介して内部のCPU3
92に接続されている。このデュアルポートRAM39
3を介して、ボード回路のCPU1000と内部のCP
U392に情報伝達が行なわれている。
In the above description, the CPU of the board circuit
Although it has been described that 1000 manages almost all, in the present embodiment, the first SP interface circuit 4-
1 also has an internal CPU 392, and the first S
What can be processed by the P interface circuit 4-1 can be shared by the internal CPU 392.
Further, the first SP interface circuit 4-1 has a dual port RAM 393, and both ports have V
C of the board circuit through the EM bus interface 311
PU1000 has internal CPU3 via internal CPU bus
It is connected to 92. This dual port RAM39
3 through the CPU 1000 of the board circuit and the internal CP
Information is being transmitted to U392.

【0115】従って、第1のSPインタフェース回路4
−1内のVMEバスへの2つのCPU1000およびC
PU392からのアクセスは衝突することはない。この
時、CPU392の内部バスに接続されているバス変換
部394により画像圧縮伸長部306,329とのイン
タフェースがなされる。バス変換部394は、インタフ
ェース変換部312,330と同様の機能を有し、レジ
スタインタフェース395を介してボード内の各種のレ
ジスタとのインタフェースを行なうので、VEMバスの
インタフェースとしての機能をも合わせて有している。
Therefore, the first SP interface circuit 4
Two CPUs 1000 and C to the VME bus in -1
Access from the PU 392 does not conflict. At this time, the bus conversion unit 394 connected to the internal bus of the CPU 392 interfaces with the image compression / decompression units 306 and 329. The bus conversion unit 394 has the same function as the interface conversion units 312 and 330, and interfaces with various registers on the board via the register interface 395. Therefore, the bus conversion unit 394 also has a function as an interface of the VEM bus. Have

【0116】さらに、内部のCPUバスには、CPU3
92のプログラムを格納するROM391,シリアル通
信部390を有している。シリアル通信部390はスキ
ャナ94A,プリンタ94Bとの動作制御をするコマン
ドが送られる。従って、本実施例では図9に示すボード
回路のCPU1000は図13に示す内部のCPU39
2を介してスキャナ94A,プリンタ94Bを制御する
か、ボード回路のCPU1000が直接スキャナ94
A,プリンタ94Bを制御する構成となっている。な
お、コントロールのコマンドとしては、実行コマンドと
してスキャナ94A,プリンタ94Bの起動命令の他
に、状態検知コマンド,状態設定コマンドがある。状態
検知コマンドは、プリンタ94Bの紙有り/紙無し,カ
セット有り/無しサイズ,その他のトナ残量,ジャム発
生等多くのコマンドとともに、現在設定されている動作
モード、すなわち単色/3色/4色や解像度、その他の
画像処理パラメータの検知等が有る。スキャナ94Aに
関しても、ほぼ同様で、その他の原稿台上の原稿有り/
無しや、ランプ切れ等を知ることが可能で有る。
Further, the internal CPU bus is connected to the CPU3.
It has a ROM 391 for storing the program of 92 and a serial communication unit 390. A command for controlling the operation of the scanner 94A and the printer 94B is sent to the serial communication unit 390. Therefore, in this embodiment, the CPU 1000 of the board circuit shown in FIG. 9 is the internal CPU 39 shown in FIG.
2 to control the scanner 94A and the printer 94B, or the CPU 1000 of the board circuit directly
A, the printer 94B is controlled. The control commands include a state detection command and a state setting command, as well as start commands for the scanner 94A and printer 94B as execution commands. The status detection command includes many commands such as the presence / absence of the paper of the printer 94B, the size of the presence / absence of the cassette, the remaining amount of toner, and the occurrence of jam, and the currently set operation mode, that is, single color / 3 color / 4 color. And resolution, and detection of other image processing parameters. The same applies to the scanner 94A, with other originals on the original table /
It is possible to know that there is no light or the lamp is out.

【0117】一方、状態設定コマンドは、プリンタ94
Bではカセットサイズ選択,カセット上下段選択,動作
モードやプリント枚数設定や画像処理系のパラメータ設
定等である。
On the other hand, the status setting command is the printer 94.
In B, cassette size selection, cassette upper and lower stage selection, operation mode, print number setting, image processing system parameter setting, and the like.

【0118】なお、スキャナ94Aについても同様で、
例えば変倍率設定,2値/多値化設定,標準色空間変
換,独自色空間変換,線密度(解像度変換),領域指定
設定,ガンマ変換設定等が有る。
The same applies to the scanner 94A.
For example, there are variable magnification setting, binary / multi-valued setting, standard color space conversion, unique color space conversion, line density (resolution conversion), area designation setting, gamma conversion setting, and the like.

【0119】なお、本実施例ではスキャナ94Aに多く
の画像処理機能を持つために、第1のSPインタフェー
ス回路4−1上では画像処理は行なわずに圧縮する。ま
た、スキャナ94AよりRGBデータとしてデータ受信
する。
In this embodiment, since the scanner 94A has many image processing functions, the first SP interface circuit 4-1 performs compression without performing image processing. Also, the data is received as RGB data from the scanner 94A.

【0120】一方、プリンタ94Bは入力がCMYK入
力であり、プリンタ部に画像処理をあまり有していない
ため、マスキング,ガンマ変換,LOG変換,CMYK
生成は第1のSPインタフェース回路4−1上で処理さ
れる構成となっている。
On the other hand, the input of the printer 94B is CMYK input and the printer section does not have much image processing. Therefore, masking, gamma conversion, LOG conversion, and CMYK input are performed.
The generation is configured to be processed on the first SP interface circuit 4-1.

【0121】図16は、図1に示した第2のSPインタ
フェース回路4−2の詳細構成を説明するブロック図で
あり、図2に示したバブルジェト型のスキャナプリンタ
95(プリンタ95B,スキャナ95A)とS/Pサー
バー装置SP1とのデータ処理をインタフェースする。
また、第2のSPインタフェース回路4−2は一体とし
てインタフェースボードとして構成されている。
FIG. 16 is a block diagram for explaining the detailed configuration of the second SP interface circuit 4-2 shown in FIG. 1. The bubble jet type scanner printer 95 (printer 95B, scanner 95A) shown in FIG. Interface with the S / P server device SP1.
The second SP interface circuit 4-2 is integrally configured as an interface board.

【0122】図において、401はCPUで、デュアル
ポートRAM403を介してVEMバスにつながってい
るボード回路からのコマンドを受け取り、解釈し、第2
のSPインタフェース回路4−2内部の制御をする。C
PU401は内蔵されたインターバルタイマによって2
ms毎の割り込みを発生させ、バブルジェト型のプリンタ
95B,スキャナ95Aとのコマンドの通信を行う。ま
た、画像処理回路部404,405,406の各種パラ
メータの初期化および変更を行う。
In the figure, reference numeral 401 denotes a CPU, which receives and interprets a command from a board circuit connected to a VEM bus via a dual port RAM 403,
Of the SP interface circuit 4-2. C
PU401 is set to 2 by the built-in interval timer.
An interrupt is generated every ms to communicate commands with the bubble-jet type printer 95B and scanner 95A. Also, various parameters of the image processing circuit units 404, 405, 406 are initialized and changed.

【0123】402はプログラム用のROMで、CPU
401が実行する制御プログラム(デバイスドライバ8
6を補足するプログラム等)を格納するとともに、画像
処理回路部404,405,406の初期値やプリセッ
ト値を格納する。
Reference numeral 402 denotes a program ROM, which is a CPU
Control program executed by 401 (device driver 8
6) and the initial values and preset values of the image processing circuit units 404, 405, and 406.

【0124】デュアルポートRAM403はCPU40
1のワークエリア等として機能するとともに、VEMバ
スによってつながれたボード回路のCPU1000と、
CPU401の両方からアクセスことで、両者間の通信
を行う。
The dual port RAM 403 is the CPU 40
1 which functions as a work area and the like, and a CPU 1000 of a board circuit connected by a VEM bus,
By accessing from both of the CPUs 401, communication between them is performed.

【0125】画像処理回路部404は画像処理用ASICと
して構成され、ルックアップテーブルにより階調変換を
行う。例えばRGBデータをCMYKデータに変換する
ときは、LOG変換を行う。これはあらかじめROM4
02に変換テーブルを用意しておき、これを画像処理回
路部404内のRAMに転送することで実現する。
The image processing circuit unit 404 is configured as an image processing ASIC and performs gradation conversion by a look-up table. For example, when converting RGB data into CMYK data, LOG conversion is performed. This is ROM4 beforehand
This is achieved by preparing a conversion table in 02 and transferring it to the RAM in the image processing circuit unit 404.

【0126】画像処理回路部405は画像処理用ASI
Cとして構成され、4×5のマトリックス演算とルック
アップテーブルにより階調変換を行う。このマトリック
ス演算によりスキャナ95Aのセンサの特性のRGB空
間と標準色空間としてのNTSCーRGB色空間の変換
または画像処理回路部404の変換した後のCMY
(K)からプリンタ95Bの特性に合わせたCMYKへ
の変換( マスキング処理と呼ばれる) などを行う。さら
にルックアップテーブルによってカラーバランスの調整
が行える。これらの処理も画像処理回路部404と同様
にあらかじめ様々なテーブルを用意しておき、ROMに
格納しておき、用途に合わせて、選択して設定する。
The image processing circuit unit 405 is an ASI for image processing.
It is configured as C and performs gradation conversion by a 4 × 5 matrix operation and a lookup table. By this matrix calculation, the CMY after conversion of the RGB space of the sensor characteristic of the scanner 95A and the NTSC-RGB color space as the standard color space or the conversion of the image processing circuit unit 404.
Conversion from (K) to CMYK that matches the characteristics of the printer 95B (called masking processing) is performed. In addition, the look-up table allows you to adjust the color balance. Similar to the image processing circuit unit 404, various tables are prepared in advance for these processes, stored in the ROM, and selected and set according to the purpose.

【0127】画像処理回路部406は画像処理用ASI
Cとして構成され、データの2値化処理を行う。なお、
本実施例に置ける二値化のアルゴリズムは平均濃度保存
法であるを採用している。407はシリアル/ パラレル
変換部でありスキャナ95A,プリンタ95Bへの通信
のためにCPU401からの8ビットのパラレルのデー
タをシリアルデータに変換する。
The image processing circuit unit 406 is an ASI for image processing.
It is configured as C and binarizes the data. In addition,
The binarization algorithm in this embodiment adopts the average density preservation method. A serial / parallel conversion unit 407 converts 8-bit parallel data from the CPU 401 into serial data for communication with the scanner 95A and the printer 95B.

【0128】408は画像用DRAMである。プリンタ
95のヘッドの画素数に合わせたバンド形式に合わせた
大きさの画像用メモリである。スキャナ95Aまたはプ
リンタ95Bでは1回の走査の間は画像用クロックに従
ってデータが流れ、動作を止められないために、1 バン
ドの大きさでのバッファリングが必要である。このため
スキャナ95Aによってスキャンされるまたはプリンタ
95Bにプリントされる1 バンド分の画像データをバッ
ファリングを行う。
Reference numeral 408 is an image DRAM. It is an image memory having a size adapted to a band format adapted to the number of pixels of the head of the printer 95. In the scanner 95A or the printer 95B, data flows according to the image clock during one scan, and the operation cannot be stopped. Therefore, buffering in the size of one band is necessary. Therefore, one band of image data scanned by the scanner 95A or printed by the printer 95B is buffered.

【0129】また、VMEバス側からのラスタ形式のア
クセスとスキャナ95A,プリンタ95Bよりの縦方向
のアクセスとの走査形式の変換を行う。
Further, scanning format conversion between raster format access from the VMEbus side and vertical access from the scanner 95A and printer 95B is performed.

【0130】409はDRAMへのアドレスセレクタ、
マルチプレクサで、DRAM408へのアクセスはVE
Mバス側からとスキャナ95A,プリンタ95B側から
の2つがあり、これらからのアドレスの切り替えを行
う。さらにDRAM408へのアドレスはROWアドレ
スとCOLUMアドレスに分けて供給するのでこのマル
チプレックスを行う。
409 is an address selector for the DRAM,
Access to DRAM 408 is VE with multiplexer
There are two from the M bus side and from the scanner 95A and printer 95B side, and the addresses are switched from these. Further, since the address to the DRAM 408 is separately supplied to the ROW address and the COLUM address, this multiplexing is performed.

【0131】410はDRAMのタイミングコントロー
ラ部である。RAS,CAS,WE,OEなどのDRA
Mを制御する信号を作り出す。またリフレッシュ信号と
の調停を行う。
Reference numeral 410 denotes a DRAM timing controller section. DRA such as RAS, CAS, WE, OE
Produces a signal that controls M. It also arbitrates with the refresh signal.

【0132】411はタイミング回路で、スキャナ95
A,プリンタ95Bのアクセスのタイミングを生成す
る。これはスキャナ95A,プリンタ95Bからの画像
クロックや同期信号をもとにアクセスのタイミングを作
り出す部分である。
Reference numeral 411 denotes a timing circuit, which is the scanner 95.
A, the timing of access to the printer 95B is generated. This is a part that creates the access timing based on the image clock and the synchronization signal from the scanner 95A and the printer 95B.

【0133】412はリフレッシュタイミング制御部で
ある。DRAM408へのリフレッシュのタイミングを
作り出す。スキャナ95A,プリンタ95Bのアクセス
のすきまを使いスキャナ95A,プリンタ95Bのアク
セスとが衝突しないように制御している。
Reference numeral 412 is a refresh timing control section. The timing for refreshing the DRAM 408 is created. The access gap between the scanner 95A and the printer 95B is used so that the access between the scanner 95A and the printer 95B does not collide.

【0134】413はVMEタイミング制御部である。
VMEバスからのアクセスのための制御信号の処理をす
る。AMコードのデコードや上位アドレスのデコード、
割り込みの処理などである。
Reference numeral 413 is a VME timing control section.
Processes control signals for access from the VME bus. AM code decoding, upper address decoding,
For example, interrupt processing.

【0135】414はスキャナ95A,プリンタ95B
のアクセスアドレス生成部である。スキャナ95A,プ
リンタ95Bのアクセスは通常のラスタ形式とは異なっ
ているため、VMEバスからのアクセスのためにラスタ
形式でかかれたメモりに対して、スキャナ95A,プリ
ンタ95B用の特殊なアクセスのアドレスを生成する部
分である。これはバンドの大きさで、走査方向の縦横を
ひっくり返すものである。
Reference numeral 414 is a scanner 95A and a printer 95B.
Access address generator. Since the access of the scanner 95A and the printer 95B is different from the normal raster format, a special access address for the scanner 95A and the printer 95B is applied to the memory written in the raster format for the access from the VME bus. Is the part that generates. This is the size of the band, and the vertical and horizontal directions in the scanning direction are turned over.

【0136】415はVMEバスインタフェースデータ
バッファ部である。画像データは32ビット幅、コマン
ドは8ビット幅でアクセスをする。
Reference numeral 415 is a VME bus interface data buffer section. Image data is accessed with a 32-bit width and commands are accessed with an 8-bit width.

【0137】416はVMEバスインタフェースアドレ
スバッファ部である。画像データは24ビットのアドレ
ス空間、コマンドは16ビットのアドレス空間でアクセ
スする。
Reference numeral 416 is a VME bus interface address buffer unit. Image data is accessed in a 24-bit address space, and commands are accessed in a 16-bit address space.

【0138】417はVMEバスインタフェースのデー
タとアドレス以外の部分のバッファである。
Reference numeral 417 is a buffer for a portion other than the VME bus interface data and address.

【0139】418は画像処理部の入り口のバッファで
ある。VMEバスからのアクセスおよびDRAMへアク
セスは32ビット幅で行うが、画像処理部では8ビット
幅で処理がなされる。このため32ビットのR,G,
B,Xのデータを8ビットのデータとしてR,G,B,
Xの順にシリアルに変換をする。
Reference numeral 418 is a buffer at the entrance of the image processing section. The access from the VME bus and the access to the DRAM are performed with a width of 32 bits, but the image processing unit performs processing with a width of 8 bits. Therefore, 32-bit R, G,
The data of B and X is converted into 8-bit data, and R, G, B,
Serial conversion is performed in the order of X.

【0140】419は画像処理部の出口のバッファで,
バッファ418とは反対に、色順次に変化する8ビット
幅のデータラインを4色分まとめて32ビットにする変
換を行う。
Reference numeral 419 is a buffer at the exit of the image processing unit.
Contrary to the buffer 418, conversion is performed by collecting data lines of 8-bit width, which change in color sequence, for four colors into 32 bits.

【0141】420は2値化処理後のバッファで、画像
処理回路部406によって2値化されたデータは1ビッ
トになっている。これを8ビットに拡張する。すなわ
ち、「0」は「0x00」に、「1」は「0xFF」に
する。
Reference numeral 420 is a buffer after the binarization processing, and the data binarized by the image processing circuit unit 406 is 1 bit. This is extended to 8 bits. That is, "0" is set to "0x00" and "1" is set to "0xFF".

【0142】421はバッファで、画像処理回路部40
6による2値化処理をバイパスする場合用のバッファ
で、バッファ420とこのバッファ421の出力のどち
らか一方を選択して、2値と多値を切り替える。
Reference numeral 421 denotes a buffer, which is an image processing circuit section 40.
In the buffer for bypassing the binarization processing by 6, the buffer 420 or the output of this buffer 421 is selected to switch between binary and multi-valued.

【0143】422はスキャナ95A,プリンタ95B
のインタフェースの通信部のバッファである。
Reference numeral 422 denotes a scanner 95A and a printer 95B.
Is a buffer of the communication unit of the interface.

【0144】423はスキャナ95A,プリンタ95B
のインタフェースの入力データ用バッファである。
Reference numeral 423 is a scanner 95A and a printer 95B.
Is a buffer for input data of the interface.

【0145】424はスキャナ95A,プリンタ95B
のインタフェースの出力データ用バッファである。
Reference numeral 424 designates a scanner 95A and a printer 95B.
Is a buffer for output data of the interface.

【0146】425はスキャナ95A,プリンタ95B
のインタフェースのクロック,制御信号用の入力バッフ
ァである。
Reference numeral 425 is a scanner 95A and a printer 95B.
This is an input buffer for the clock and control signals of the interface.

【0147】426はスキャナ95A,プリンタ95B
のインタフェースのクロック、制御信号用の出力バッフ
ァである。429はクロック入力ラインである。
Reference numeral 426 denotes a scanner 95A and a printer 95B.
Is an output buffer for the interface clock and control signal. Reference numeral 429 is a clock input line.

【0148】430は32ビットの画像用データバス,
431は24ビットのアドレスバス、432は8ビット
の画像データバス、433は8ビットの画像データバ
ス、434は16ビットのローカルアドレスバス、43
5は8ビットのローカルデータバスである。以下、プリ
ンタ95Bのプリント動作について説明する。 <プリント時の動作>まず、VMEバスを通してボード
回路より、プリントするにあたっての各種のパラメータ
がデュアルポートRAM403に書き込まれると、CP
U401はこのデータを読み出して解釈して制御を行
う。例えば、RGBデータのプリントであれば、CPU
401は画像処理回路部404のLUTデータの変化を
起こさないスルーの特性のテーブルをセットし、画像処
理回路部405のマトリックスの係数テーブルにはNT
SCーRGBからBJーRGBへの変換用の係数をセッ
トし、画像処理回路部406の2値化処理をスルーする
ように、バッファ420,421のゲートを制御する。
Reference numeral 430 is a 32-bit image data bus,
431 is a 24-bit address bus, 432 is an 8-bit image data bus, 433 is an 8-bit image data bus, 434 is a 16-bit local address bus, 43
Reference numeral 5 is an 8-bit local data bus. The print operation of the printer 95B will be described below. <Operation during printing> First, when various parameters for printing are written in the dual port RAM 403 from the board circuit through the VME bus, the CP
The U401 reads out this data, interprets it, and controls it. For example, for printing RGB data, the CPU
Reference numeral 401 sets a through characteristic table that does not cause a change in the LUT data of the image processing circuit unit 404, and NT is set in the matrix coefficient table of the image processing circuit unit 405.
A coefficient for conversion from SC-RGB to BJ-RGB is set, and the gates of the buffers 420 and 421 are controlled so that the binarization processing of the image processing circuit unit 406 is passed.

【0149】さらに、データのサイズ等のパラメータを
セットする。そしてデータサイズなどのパラメータはの
パラレル/ シリアル変換部407を通してプリンタ95
Bへ伝えられる。次に、1 バンド分の画像データがVM
Eバスを通して、ボード回路よりメモリ408に転送さ
れる。このときVMEバスからは32ビットアクセスで
RGBXのデータ形式でストアされる。RはRED、G
はGREEN、BはBLUEのそれぞれの色成分の画像
データであり、Xは黒文字用の情報を含んだ制御用デー
タである。次にデュアルポートRAM403を介してプ
リント動作のコマンドが伝えられる。CPU401はプ
リント動作の開始命令をプリンタ95Bへ伝える。プリ
ンタ95Bのプリンタ制御部から開始信号が帰ってくる
とタイミング発生部411メモり408へのアクセスを
始める。このときデータの読み出しはプリンタ95Bの
BJヘッドに沿った方向であるため、アドレス発生部41
4によって生成されたアドレスに従って読み出しを行
う。メモり408から読み出されたデータはバッファ4
18でR,G,B,Xの順に8ビットデータに変換され
画像処理部に入る。あらかじめ設定したパラメータによ
って、画像を処理し、NTSCーRGBデータはプリン
タ95Bの内部で使われるRGB色空間に変換され、バ
ッファ421,インタフェース424を通ってプリンタ
95Bへ伝えられる。1 バンド分のデータの処理が終わ
ったら、次のバンドのデータをVMEバスを介して受け
取り、上記動作を繰り返す。所定の回数の処理を終えた
ら1 ページの処理が終了する。以下、ROM402に格
納された制御プログラムによるスキャナ95Aの原稿読
み取り動作について説明する。 <スキャン時の動作>まず、VMEバスを通してボード
回路より、スキャンするにあたっての各種のパラメータ
がデュアルポートRAM403に書き込まれる。CPU
401はこのデータを読み取って解釈して、制御を行
う。例えば、RGBの2値データで、1024×102
4の大きさで512×512の位置からのスキャンとす
ると、CPU401は画像処理回路部404のLUTに
スルーの特性のテーブルをセットし、画像処理回路部4
06のマトリックスの係数テーブルにはBJーRGBか
らNTSCーRGBへの変換用の係数をセットし、画像
処理回路部406の2値化処理を通るようにバッファ4
20,421のゲートを制御する。さらに、スキャンす
る画像のサイズを1024×1024に、スキャンの開
始位置を512×512に設定する。これらのパラメー
タはパラレル/ シリアル変換部407を通してスキャナ
95Aへ伝えられる。次にCPU401はスキャナ95
Aへスキャンの開始のコマンドを伝える。スキャナ95
Aのスキャナ読取り部より入力された画像データはイン
タフェース423を通して画像処理回路部404,40
5,406に入力される。ここで予め設定したパラメー
タによる画像処理を行い、バッファ419によってRG
BXの32ビットの形式のデータとしてメモリ408に
ストアされる。この時、メモリ408にはRGBXのデ
ータが入っているが、この例での設定ではRGBの2値
画像をスキャンするため、Xは意味のないデータであ
り、R,G,Bの各成分は2値データであるが1画素1
バイトである。これを一般的な2値画像の要求する形式
に、例えば8画素1 バイトのパッキングをしラスタライ
ン順次にRGBを配置するといった処理はボード回路に
おいて行う。メモリ408にある画像データはVMEバ
スインタフェース415を介してボード回路へ転送され
る。上記の処理をバンドの回数分繰り返して、1 回のス
キャンの動作を終了する。
Further, parameters such as data size are set. Parameters such as data size are sent to the printer 95 through the parallel / serial conversion unit 407.
It is transmitted to B. Next, the image data for one band is VM
It is transferred from the board circuit to the memory 408 through the E bus. At this time, the data is stored in the RGBX data format by 32-bit access from the VME bus. R is RED, G
Is green, B is image data of each color component of BLUE, and X is control data including information for black characters. Next, a command for printing operation is transmitted via the dual port RAM 403. The CPU 401 sends a print operation start command to the printer 95B. When the start signal is returned from the printer control unit of the printer 95B, access to the timing generation unit 411 memory 408 is started. At this time, the data is read by the printer 95B.
Since the direction is along the BJ head, the address generator 41
Reading is performed according to the address generated by 4. The data read from the memory 408 is the buffer 4
At 18, the R, G, B, and X are converted into 8-bit data in that order and the image processing unit is entered. The image is processed according to the preset parameters, the NTSC-RGB data is converted into the RGB color space used inside the printer 95B, and is transmitted to the printer 95B through the buffer 421 and the interface 424. When the processing of the data for one band is completed, the data of the next band is received via the VME bus and the above operation is repeated. When the predetermined number of processes are completed, the process for one page is completed. The document reading operation of the scanner 95A by the control program stored in the ROM 402 will be described below. <Operation during scanning> First, various parameters for scanning are written in the dual port RAM 403 from the board circuit through the VME bus. CPU
401 reads and interprets this data, and controls. For example, with binary data of RGB, 1024 × 102
If the scan is performed from the position of 512 × 512 with the size of 4, the CPU 401 sets the table of the through characteristic in the LUT of the image processing circuit unit 404, and the image processing circuit unit 4
Coefficients for conversion from BJ-RGB to NTSC-RGB are set in the 06 matrix coefficient table, and the buffer 4 is passed through the binarization processing of the image processing circuit unit 406.
Control the gates of 20,421. Further, the size of the image to be scanned is set to 1024 × 1024, and the scanning start position is set to 512 × 512. These parameters are transmitted to the scanner 95A through the parallel / serial conversion unit 407. Next, the CPU 401 causes the scanner 95
Send a scan start command to A. Scanner 95
The image data input from the scanner reading unit of A is image processing circuit units 404, 40 through the interface 423.
5, 406 is input. Here, image processing is performed using the preset parameters, and the RG is set by the buffer 419.
It is stored in the memory 408 as BX 32-bit format data. At this time, RGBX data is stored in the memory 408, but since the binary image of RGB is scanned in the setting of this example, X is meaningless data, and each component of R, G, and B is Although it is binary data, 1 pixel 1
It is a byte. This is done in a board circuit in a general format required by a binary image, for example, packing 1 byte of 8 pixels and arranging RGB in raster line order. The image data in the memory 408 is transferred to the board circuit via the VME bus interface 415. The above processing is repeated for the number of bands, and the operation of one scan is completed.

【0150】以下、図1に示したスキャナ94A,プリ
ンタ94Bの画像データ処理について説明する。
The image data processing of the scanner 94A and printer 94B shown in FIG. 1 will be described below.

【0151】本実施例では図1に示したスキャナ94
A,プリンタ94Bと一体としてカラー画像複写装置が
形成されているため、画像処理機能は1系統しか有して
おらず、スキャナ94A,プリンタ94Bを分離する
と、1つの処理につき、どちらか一方しか有していない
構成となっている。しかも、大部分の画像処理機能はス
キャナ94Aに備えられ、プリンタ94Bは主として変
倍,領域指定,色空間変換,ガンマ変換,色マスキング
処理部等がある。
In this embodiment, the scanner 94 shown in FIG.
Since the color image copying apparatus is integrally formed with A and the printer 94B, it has only one image processing function. When the scanner 94A and the printer 94B are separated, only one of them is provided for each processing. It is not configured. Moreover, most of the image processing functions are provided in the scanner 94A, and the printer 94B mainly has a variable magnification, area designation, color space conversion, gamma conversion, color masking processing section, and the like.

【0152】スキャナ94Aには、色空間変換部や色マ
スキング処理部等を有しているので、ビデオインタフェ
ースの切り口として、標準RGB(NTSCのRGB
等)が用意されていて、RGBのデータは点順次または
パラレル同時に得られる。従って、プリンタ94Bに対
しては、画像処理部を有していないので、C,M,Y,
Kでデータを与えなければならず、外部でC,M,Yへ
の変換や黒(K)生成,色マスキング処理,その他必要
に応じて解像度変換,トリミング等の画像処理を行なっ
てから、ビデオインタフェースに送らなければならな
い。しかもその場合は、面順次に各色ずつC,M,Y,
K4回繰り返し、画像を送出を行なわなければならな
い。また、スキャナ/プリンタともに途中で動作を停止
したり、中断するようなことはできない。
Since the scanner 94A has a color space conversion section, a color masking processing section, etc., it can be used as a standard RGB (NTSC RGB
Etc. are prepared, and RGB data can be obtained in dot sequential or parallel simultaneous. Therefore, since the printer 94B does not have an image processing unit, C, M, Y,
Data must be given in K, and after external conversion to C, M, Y, black (K) generation, color masking processing, and other image processing such as resolution conversion and trimming, video Must be sent to the interface. Moreover, in that case, C, M, Y, and
The image must be transmitted by repeating K4 times. In addition, neither the scanner nor the printer can stop or stop its operation.

【0153】その他ビデオインタフェースには、水平同
期信号,垂直同期信号およびビデオクロックが含まれて
ビデオデータとの同期をとっている。また、スキャナや
プリンタの電源ON/OFF等のステータス情報も有し
ているので外部からの確認が可能である。また、コマン
ドインタフェースをシリアル通信で行なう機能も有して
おり、これにより、スキャナ94Aやプリンタ94Bの
状態検知や状態設定、スキャナ94Aやプリンタ94B
の起動等の実行コマンド等を発行することができる。
Others The video interface includes a horizontal synchronizing signal, a vertical synchronizing signal and a video clock to synchronize with the video data. Further, since it also has status information such as power ON / OFF of the scanner and printer, it can be confirmed from the outside. It also has a function of performing serial communication in the command interface, which allows the scanner 94A and the printer 94B to detect and set the status of the scanner 94A and the printer 94B.
It is possible to issue an execution command or the like for starting the.

【0154】以下、図17及び図18を参照しながらス
キャナ95A,プリンタ95Bの動作について更に説明
する。
The operations of the scanner 95A and printer 95B will be further described below with reference to FIGS. 17 and 18.

【0155】図17は、図2に示したスキャナ/プリン
タ95の画像記録プロセスを説明する模式図である。
FIG. 17 is a schematic diagram for explaining the image recording process of the scanner / printer 95 shown in FIG.

【0156】図において、101Rはスキャンする原稿
を表し、102Rはプリントする用紙を表す。これら
は、例えばA4サイズである。103Rはスキャナのセ
ンサのヘッドを表し、104Rはプリンタのヘッドを表
す。プリンタのヘッド104Rはバブルジェット方式に
よってインクを吹き出すノズルが並んでおり、例えば1
28のノズルから構成されている。
In the figure, 101R represents a document to be scanned, and 102R represents a sheet to be printed. These are, for example, A4 size. Reference numeral 103R represents a sensor head of the scanner, and 104R represents a printer head. The head 104R of the printer has nozzles for ejecting ink arranged in line by a bubble jet method.
It is composed of 28 nozzles.

【0157】一方、センサは128より多い画素をスキ
ャンできるように、例えば144画素のデータを出力で
きる。これらのヘッドはカラーの場合、スキャナのセン
サではRGBの3色分、プリンタヘッドではCMYKの
4色分が並んで構成されている。105Rは画像処理部
であり、スキャナセンサより入力したRGB信号を処理
し、プリンタヘッドに合わせた特性のCMYK2値信号
として送る。
On the other hand, the sensor can output data of 144 pixels, for example, so that more than 128 pixels can be scanned. In the case of color, these heads are arranged so that the scanner sensor has three RGB colors and the printer head has four CMYK colors. An image processing unit 105R processes an RGB signal input from the scanner sensor and sends it as a CMYK binary signal having characteristics matched to the printer head.

【0158】画像処理部105Rはその画像処理系の途
中のインタフェース部106RからRGB各色8ビット
のデータを外部とやり取りすることができる。スキャナ
/プリンタ95Bではスキャナ95Aのセンサとプリン
タ95Bのヘッドが同期して動き、画像処理部105R
はパイプライン構成となっているため、大きな容量の画
像メモリを持たずに処理がなされている。このためイン
タフェース105Rでやり取りされるデータの走査形式
は特殊なものとなっている。107Rは外部機器であ
る。
The image processing unit 105R can exchange 8-bit data for each color of RGB from the interface unit 106R in the middle of the image processing system with the outside. In the scanner / printer 95B, the sensor of the scanner 95A and the head of the printer 95B move in synchronization, and the image processing unit 105R
Has a pipeline structure, it is processed without having a large capacity image memory. Therefore, the scanning format of the data exchanged by the interface 105R is special. 107R is an external device.

【0159】図18は、図2に示したスキャナ/プリン
タ95Bのスキャナ95Aの原稿走査状態を示す模式図
である。
FIG. 18 is a schematic diagram showing a document scanning state of the scanner 95A of the scanner / printer 95B shown in FIG.

【0160】図において、201Rはヘッドの動きを示
している。ヘッド自体は原稿( 用紙) に対して図のよう
に横方向( 主走査方向) に動く、センサの各画素はこれ
とは垂直に配列している。このため、データ203Rが
並ぶ。一方、一般的なラスタ走査形式ではデータ204
Rのように並ぶ。
In the figure, 201R indicates the movement of the head. The head itself moves in the lateral direction (main scanning direction) with respect to the document (paper), and the pixels of the sensor are arranged perpendicular to this. Therefore, the data 203R are arranged. On the other hand, in the general raster scan format, the data 204
Line up like R.

【0161】図19は、図2に示したスキャナ/プリン
タ95Bのスキャナ95Aのバンド原稿走査状態を示す
模式図である。
FIG. 19 is a schematic diagram showing a band document scanning state of the scanner 95A of the scanner / printer 95B shown in FIG.

【0162】図において、301Rは1ページを示し、
302Rは第1のセグメントを示し、303Rは第2の
セグメントを示している。スキャナセンサから出力され
画像処理系を通り2値化されるまでの画像では、セグメ
ント304Rのようにセグメント305Rより大きな画
像が扱われ、幅306Rの大きさだけ重複して処理がな
される。
In the figure, 301R indicates one page,
302R shows the 1st segment and 303R has shown the 2nd segment. In the image output from the scanner sensor and binarized through the image processing system, an image larger than the segment 305R, such as the segment 304R, is handled, and processing is performed by overlapping the width 306R.

【0163】以下、図20〜図22を参照しながら本実
施例に示したS/Pサーバー装置が制御可能なプリンタ
の一例について説明する。
An example of a printer that can be controlled by the S / P server device shown in this embodiment will be described below with reference to FIGS.

【0164】本実施例に示したS/Pサーバー装置が制
御可能なプリンタとしては、セントロニクス・インター
フェースを利用可能なプリンタである。セントロニクス
・インターフェースは、米国セントロニクス社が自社の
プリンタ用に開発したコンピュータからプリンタにデー
タを送るための規格で、安価でかつ高速のデータを送る
ことができる。現在のプリンタは、ほとんどこのセント
ロニクスが標準となっている。
The printer that can be controlled by the S / P server device shown in this embodiment is a printer that can use the Centronics interface. The Centronics interface is a standard developed by Centronics, Inc. for use in its own printer for sending data from a computer to a printer, and it is possible to send inexpensive and high-speed data. Most current printers are based on this Centronics.

【0165】セントロニクスのデータ伝送は、図20に
示すようにDATASTROBE信号,ACKNOWL
EDGE(ACK)信号,BUSY信号用の3本の制御
線とDATA線によって行なう。
As shown in FIG. 20, the data transmission of Centronics is performed by DATASTROBE signal, ACKNOWL.
This is performed by three control lines for the EDGE (ACK) signal and the BUSY signal and the DATA line.

【0166】ここで、DATASTROBE信号は、D
ATA線に、データが出力されたことを示す。BUSY
信号は、現在プリンタが動作中であり、データを受け取
れないことを示か、または、データ・バッファがフルで
あることを示す。
Here, the DATASTROBE signal is D
The ATA line indicates that data has been output. BUSY
The signal indicates that the printer is currently operating and is not ready to receive data, or the data buffer is full.

【0167】ACK信号は、データの読み取りが正常に
終了したことを示す。
The ACK signal indicates that the reading of data has been completed normally.

【0168】基本的には、上記3本の制御線で十分であ
るが、プリンタの制御を考えて、紙切れなどの信号線も
定義してある。図20には、信号名,入出力,備考を示
した。ピン番号は36ピン、25ピン、14ピンとコネ
クタの種類がまちまちな事と、各社で若干定義が変わっ
ていたり、削除されている場合も多いため割愛した。図
21は、セントロニクスI/F制御回路の一例を示す回
路ブロック図である。
Basically, the above-mentioned three control lines are sufficient, but a signal line such as paper shortage is also defined in consideration of printer control. FIG. 20 shows signal names, inputs / outputs, and remarks. The pin numbers are 36-pin, 25-pin, and 14-pin, and there are various types of connectors, and the definition has been changed or deleted in each company, so I omitted it. FIG. 21 is a circuit block diagram showing an example of the Centronics I / F control circuit.

【0169】図において、201AはセントロニクスI
/F制御回路で、データバッファ202A,制御線バッ
ファ203Aを備え、図22に示すタイミングチャート
に従ってデータ処理が行なわれる。
In the figure, 201A is Centronics I.
The / F control circuit includes a data buffer 202A and a control line buffer 203A, and data processing is performed according to the timing chart shown in FIG.

【0170】図23は、図21に示したセントロニクス
I/F制御回路によるホスト−プリンタ間の信号処理手
順の一例を示すフローチャートである。なお、(1) 〜
(3) は各ステップを示し、特にホスト側の処理に対応す
る。
FIG. 23 is a flow chart showing an example of the signal processing procedure between the host and the printer by the Centronics I / F control circuit shown in FIG. In addition, (1) ~
(3) indicates each step, and particularly corresponds to the processing on the host side.

【0171】まず、BUSY信号が「L」で、かつAC
K信号が「H」となったら(1) 、データを設定し(2) 、
DATASTROBE信号を出力して(3) 、ステップ
(1) に戻る。
First, the BUSY signal is "L" and the AC
When the K signal becomes "H" (1), set the data (2),
Output DATASTROBE signal (3) and step
Return to (1).

【0172】図24は、図21に示したセントロニクス
I/F制御回路によるホスト−プリンタ間の信号処理手
順の一例を示すフローチャートである。なお、(1) 〜
(6) は各ステップを示し、特にセントロニクス対応プリ
ンタ側の処理に対応する。
FIG. 24 is a flow chart showing an example of the signal processing procedure between the host and the printer by the Centronics I / F control circuit shown in FIG. In addition, (1) ~
(6) shows each step, and particularly corresponds to the processing on the Centronics compatible printer side.

【0173】まず、BUSY信号が「L」となり(1) 、
BUSY信号を「H」とし(2) 、データをデータバスよ
り取り込みを開始する(3) 。次いで、データ取り込みを
終了し(4) 、ACK信号が「L」とし(5) 、BUSY信
号を「L」、かつACK信号を「H」に設定し(6) 、ス
テップ(1) に戻る。データ転送はこのようにして行なわ
れる。
First, the BUSY signal becomes "L" (1),
The BUSY signal is set to "H" (2), and data is taken in from the data bus (3). Then, the data acquisition is finished (4), the ACK signal is set to "L" (5), the BUSY signal is set to "L" and the ACK signal is set to "H" (6), and the process returns to step (1). Data transfer is performed in this way.

【0174】セントロニクス・プリンタは上記転送条件
のもと、”ESC”(0x1B)をコマンドやデータの
先頭に付けた方法で制御される場合が多い。例えば、あ
るプリンタにデータを転送する場合、ESC ( A
COUNT COLORDATA,(1B 28 4
1 COUNT COLOR DATA)等のように送
る。
In many cases, the Centronics printer is controlled by a method in which "ESC" (0x1B) is added to the head of a command or data under the above transfer conditions. For example, when transferring data to a printer, ESC (A
COUNT COLORDATA, (1B 28 4
1 COUNT COLOR DATA).

【0175】ここで、「ESC ( A」は制御用のコ
ードである。「COUNT」はデータ数である。「CO
LOR」はRGB、CMYなどの色空間定義である。
「DATA」はカラー画像データである。このようなデ
ータコマンドを連続してプリンタに送れば、プリントが
行なわれる。なお、制御コードや構成は各社のプリンタ
によって違っている。しかしながら、”ESC”を用い
た制御方法は、比較的類似している。
Here, "ESC (A)" is a control code, "COUNT" is the number of data, and "CO".
“LOR” is a color space definition such as RGB or CMY.
“DATA” is color image data. Printing is performed by continuously sending such data commands to the printer. The control code and configuration differ depending on the printer of each company. However, the control method using "ESC" is relatively similar.

【0176】本システムは、セントロニクス・ポートに
セントロニクス・プリンタを接続し、制御コードを、ソ
フトウエアプログラムでサポートすることにより、各種
セントロニクス・プリンタを利用することができる。
This system can use various Centronics printers by connecting the Centronics printer to the Centronics port and supporting the control code with a software program.

【0177】図25は本発明に係るスキャナプリンタサ
ーバー(ネットワークサーバー)SP1とホストコンピ
ュータとのプログラム構成を説明する図である。以下、
システム全体の流れを概略的に説明する。なお、図2と
同一のものには同一の符号を付してある。また、図25
でのホストコンピュータは図2に示すMacintos
hのステーションST1を例にして説明するが、他のス
テーションST2,ST3等であっても構わない。
FIG. 25 is a diagram for explaining the program configuration of the scanner / printer server (network server) SP1 and the host computer according to the present invention. Less than,
The flow of the entire system will be briefly described. The same parts as those in FIG. 2 are designated by the same reference numerals. In addition, FIG.
The host computer in is Macintosh
The station ST1 of h will be described as an example, but other stations ST2 and ST3 may be used.

【0178】ホストコンピュータ(ステーション)ST
1のオペレータがアプリケーションプログラム56を用
いて作成した印刷データをプリントするため、所望とす
るスキャナプリンタネットワークサーバー,プリンタ,
紙サイズ,送出するデータ形式等を選択指示すると、ア
プリケーションプログラム56は変換プログラム54に
データ(指示情報を含む)を通信する。変換プログラム
54はアプリケーションプログラム56から送られたデ
ータを選択されたネットワークサーバーSP1が受け付
けるデータ構造に変換し、通信プログラム53,TCP
/IPプログラム52に通信する。例えばMacint
oshのステーションST1では、QuickDraw
データからCaPSLデータに変換し、IBMPCのス
テーションST2では、GDIデータからCaPSLデ
ータに変換する。
Host computer (station) ST
In order to print the print data created by the operator No. 1 using the application program 56, the desired scanner printer network server, printer,
When a paper size, a data format to be sent, and the like are selected and instructed, the application program 56 communicates data (including instruction information) to the conversion program 54. The conversion program 54 converts the data sent from the application program 56 into a data structure accepted by the selected network server SP1, and the communication program 53, TCP
/ IP program 52. For example, Macint
At osh station ST1, QuickDraw
The data is converted to CaPSL data, and the station ST2 of the IBMPC converts the GDI data to CaPSL data.

【0179】通信プログラム53は、変換プログラム5
4から送出されたデータをTCP/IPプログラムを介
してネットワークサーバーSP1に通信し、ネットワー
クサーバーSP1の通信プログラム83がTCP/IP
プログラム82を介して受信し、システム全体制御プロ
グラム93に通信する。システム全体制御プログラム9
3は、送られてきたデータを解析し、その時のネットワ
ークサーバーSP1の状態と送られてきたデータに従
い、以下の処理を行う。
The communication program 53 is the conversion program 5
4 communicates the data sent from No. 4 to the network server SP1 via the TCP / IP program, and the communication program 83 of the network server SP1 sends the TCP / IP
It is received via the program 82 and communicated with the system overall control program 93. Overall system control program 9
3 analyzes the sent data, and performs the following processing according to the state of the network server SP1 at that time and the sent data.

【0180】システム全体制御プログラム93は、印刷
データをPDLインタープリタープログラム84に送
る。PDLインタープリタープログラム84は印刷デー
タを受け取り、指定されたプリンタ(例えばスキャナプ
リンタ95のプリンタ)が受け入れ可能なデータに変換
する。例えばプストスクリプト(商品名)やCaPSL
というPDLのデータから画像データに変換する。シス
テム全体制御プログラム93はPDLインタープリター
プログラム84が変換したデータを画像入出力装置制御
プログラムとしてのデバイスドライバ86に送り、デバ
イスドライバ86はデータを指定されたプリンタに送り
プリントさせる。
The overall system control program 93 sends the print data to the PDL interpreter program 84. The PDL interpreter program 84 receives the print data and converts it into data that can be accepted by the designated printer (for example, the printer of the scanner printer 95). For example, best script (product name) or CaPSL
The PDL data is converted into image data. The overall system control program 93 sends the data converted by the PDL interpreter program 84 to a device driver 86 as an image input / output device control program, and the device driver 86 sends the data to a designated printer for printing.

【0181】次に、ホストコンピュータST1のオペレ
ータがスキャナアプリケーション58を用いて画像入力
するため、所望とするスキャナプリンタネットワークサ
ーバー,スキャナ,画像の領域,解像度,カラーあるい
はモノカラー,圧縮の種類等を選択指示すると、スキャ
ナアプリケーション58はスキャナインタフェースプロ
グラム57を介して通信プログラム53に通信する。通
信プログラム53は、スキャナインタフェースプログラ
ム57を介して送られたデータをTCP/IPプログラ
ムを介して指定されたネットワークサーバーSP1に通
信し、ネットワークサーバーSP1に通信し、ネットワ
ークサーバーSP1の通信プログラム83がTCPIP
プログラム82を介して受信し、システム全体制御プロ
グラム93に通信する。システム全体制御プログラム9
3は、入力した選択指示命令(画像入力命令)をスキャ
ナ制御プログラム85に送り、スキャナ制御プログラム
85は、命令に従って、画像入出力装置制御プログラム
としてのデバイスドライバ86に命令を送り、デバイス
ドライバは指定されたスキャナ(例えばスキャナプリン
タ95のスキャナ)を起動して画像データを入力し、画
像データをスキャナ制御プログラム85へ送り、スキャ
ナ制御プログラム85は画像データをシステム全体制御
プログラム93へ送り、システム全体制御プログラム9
3は通信プログラム83へ送り、ネットワークサーバー
SP1の通信プログラム83がTCP/IPプログラム
82を介して指定されたホストコンピュータの通信プロ
グラム(例えば通信プログラム53)へ画像データを送
信する。通信プログラム53がTCP/IPプログラム
52を介して受信した画像データは、さらにスキャナア
プリケーションプログラム58に送られる。
Next, since the operator of the host computer ST1 inputs an image using the scanner application 58, the desired scanner printer network server, scanner, image area, resolution, color or monocolor, type of compression, etc. are selected. When instructed, the scanner application 58 communicates with the communication program 53 via the scanner interface program 57. The communication program 53 communicates the data sent via the scanner interface program 57 to the designated network server SP1 via the TCP / IP program, communicates with the network server SP1, and the communication program 83 of the network server SP1 uses TCPIP.
It is received via the program 82 and communicated with the system overall control program 93. Overall system control program 9
3 sends the inputted selection instruction command (image input command) to the scanner control program 85, and the scanner control program 85 sends a command to the device driver 86 as the image input / output device control program according to the command, and the device driver specifies The selected scanner (for example, the scanner of the scanner printer 95) is activated to input the image data, and the image data is sent to the scanner control program 85. The scanner control program 85 sends the image data to the system overall control program 93 for system overall control. Program 9
3 is sent to the communication program 83, and the communication program 83 of the network server SP1 sends the image data to the communication program (for example, the communication program 53) of the designated host computer via the TCP / IP program 82. The image data received by the communication program 53 via the TCP / IP program 52 is further sent to the scanner application program 58.

【0182】次に、ワークステーションST1から指定
されたスキャナプリンタサーバーへ(例えばスキャナプ
リンタサーバーSP1へ)スキャナプリンタサーバーの
状態を問い合わせる命令が送られた場合は、システム全
体制御プログラム93がネットワークサーバーSP1の
状態(例えばネットワークサーバーSP1に接続されて
いるスキャナプリンタの種類,解像度,紙サイズ,色処
理能力等)を取得し、TCP/IPプログラム82を介
して、通信プログラム83が指定されたホストコンピュ
ータ(例えばワークステーションST1)に通信する。
Next, when a command for inquiring the status of the scanner / printer server is sent from the workstation ST1 to the specified scanner / printer server (for example, to the scanner / printer server SP1), the entire system control program 93 is executed by the network server SP1. A state (for example, the type, resolution, paper size, color processing capability of the scanner / printer connected to the network server SP1) is acquired, and a communication program 83 is designated via the TCP / IP program 82 as a host computer (for example, Communicate to workstation ST1).

【0183】また、画像入出力装置としてのスキャナプ
リンタ94,95またはネットワークサーバーSP1内
でエラーが発生した場合は、システム全体制御プログラ
ム93がエラーの状況を管理し、通信プログラム83が
TCP/IPプログラム82を介して指定されたホスト
コンピュータ(例えばホストコンピュータSP1)に通
信する。
When an error occurs in the scanner printer 94, 95 as the image input / output device or in the network server SP1, the system overall control program 93 manages the error status, and the communication program 83 manages the TCP / IP program. It communicates with the designated host computer (for example, host computer SP1) via 82.

【0184】以上のように、本実施例ではこれらのプロ
グラム構成により、ホストコンピュータのアプリケーシ
ョンプログラム(例えばDTPソフト)からホストコン
ピュータで指定したプリンタでプリントすることができ
る。また、ホストコンピュータのスキャナアプリケーシ
ョンプログラム(例えばDTPソフト)からホストコン
ピュータで指定したスキャナから画像を入力できるし、
指定したスキャナで入力した画像を別のホストコンピュ
ータへ送出することもできる。また、指定したネットワ
ークサーバーSP1の状態(接続されるスキャナプリン
タの状態)を確認することができる。
As described above, in this embodiment, with these program configurations, printing can be performed by the printer specified by the host computer from the application program (for example, DTP software) of the host computer. Also, an image can be input from the scanner specified by the host computer from the scanner application program (for example, DTP software) of the host computer,
The image input by the specified scanner can also be sent to another host computer. Further, the state of the designated network server SP1 (the state of the connected scanner printer) can be confirmed.

【0185】なお、図25では、LAN96に接続され
るホストコンピュータ,スキャナプリンタサーバーはい
くつ接続されていても本発明の適用を妨げるものではな
い。以下、ホストコンピュータ,ホストコンピュータと
ネットワークサーバーSP1との間のネットワーク処理
について説明する。
In FIG. 25, the number of host computers and scanner / printer servers connected to the LAN 96 is not limited to the application of the present invention. Hereinafter, the host computer and the network processing between the host computer and the network server SP1 will be described.

【0186】ホストコンピュータにおいて、プリントプ
ロセスを行なう場合、大きく分けて第1〜第3の処理、
すなわち第1はアプリケーションプログラム(例えばD
TPソフト)によるデータの作成処理、第2はアプリケ
ーションプログラムによって作成されたデータの上記C
aPSLコードへの変換処理、第3はCaPSLコード
のネットワークサーバーSP1への転送処理である。
When the print process is performed in the host computer, it is roughly divided into first to third processing,
That is, the first is an application program (for example, D
Data creation processing by TP software), the second is the above C of data created by the application program.
The conversion process to the aPSL code, and the third process is the transfer process of the CaPSL code to the network server SP1.

【0187】なお、第1のデータの作成処理で作成され
たデータは、使用するマシンの機種,アプリケーション
プログラムに依存する。例えばSUNワークステーショ
ンでFrame Technology社製のDTPプ
ログラムであるFrameMaker(商品名)を使用
した場合、MIF(商品名)ファイルまたはIPL(商
品名)ファイルで出力される。また、使用するマシンの
機種がIBM社製のIBM−PCでWindows(商
品名)対応のアプリケーションプログラムを使用した場
合、GDI関数の呼び出しになる。また、アップル社製
のMacintosh(商品名)を使用した場合、Qu
ickDraw関数の呼び出しになる。
The data created in the first data creation process depends on the machine model used and the application program. For example, when FrameMaker (product name), which is a DTP program manufactured by Frame Technology, is used in a SUN workstation, an MIF (product name) file or an IPL (product name) file is output. Further, when the model of the machine to be used is IBM-PC manufactured by IBM Corporation and an application program compatible with Windows (product name) is used, the GDI function is called. In addition, when Macintosh (trade name) manufactured by Apple Inc. is used, Qu
It is a call to the ickDraw function.

【0188】また、アプリケーションプログラムによっ
て作成されたデータの上記CaPSLコードへの変換処
理では、第1の処理で作成されたデータをCaPSLコ
ードに変換するので、マシンの機種,作成されるファイ
ル形式に依存する。例えばSUNワークステーションで
上記Frame Makerを使用した場合、MIFフ
ァイルまたはIPLファイルをCaPSLコードに変換
するプログラムとする。また、使用するマシンの機種が
IBM社製のIBM−PCでWindows対応のアプ
リケーションプログラムを使用した場合、GDI関数か
らCaPSLコードへの変換を変換プログラムで行な
う。さらに、アップル社製のMacintosh(商品
名)を使用した場合、QuickDraw関数をCaP
SLコードへの変換を変換プログラムで行なう。
In the conversion process of the data created by the application program into the CaPSL code, the data created in the first process is converted into the CaPSL code, so it depends on the machine model and the created file format. To do. For example, when the Frame Maker is used in a SUN workstation, it is a program for converting an MIF file or an IPL file into a CaPSL code. Further, when the model of the machine to be used is an IBM-PC manufactured by IBM Corporation and an application program compatible with Windows is used, conversion from the GDI function to the CaPSL code is performed by the conversion program. In addition, when using Macintosh (trade name) manufactured by Apple Inc., the QuickDraw function is changed to CaP.
Conversion to SL code is performed by a conversion program.

【0189】さらに、第3はCaPSLコードのネット
ワークサーバーSP1への転送処理においては、送信す
るデータはCaPSLであるが、送信処理は送信する際
に使用するプログラムに依存する。例えば図2に示す通
信プログラム83を使用したり、UNIXをOSとして
いるホストコンピュータではlpq/lpdプログラム
90を使用する。
Further, thirdly, in the transfer process of the CaPSL code to the network server SP1, the data to be sent is CaPSL, but the sending process depends on the program used at the time of sending. For example, the communication program 83 shown in FIG. 2 is used, or the host computer using UNIX as the OS uses the lpq / lpd program 90.

【0190】また、ホストコンピュータにおいてスキャ
ナプロセスを行なう場合、大きく第1,第2のの処理が
行なわれる。第1にイメージデータをネットワークサー
バーSP1から受信する。第2にスキャナアプリケーシ
ョンプログラムでイメージデータの表示,保存を行な
う。
When the scanner process is performed in the host computer, the first and second processes are largely performed. First, it receives image data from the network server SP1. Second, the scanner application program displays and saves image data.

【0191】第1の処理において、受け取るイメージデ
ータは、第2の処理で使用するスキャナアプリケーショ
ンプログラムが扱えるイメージデータ形式に保存する。
また、ネットワークサーバーSP1からイメージデータ
を受信する際に使用するプログラムとしては、図2に示
す通信プログラム83を使用する。
In the first process, the image data received is saved in an image data format that can be handled by the scanner application program used in the second process.
The communication program 83 shown in FIG. 2 is used as a program used when receiving image data from the network server SP1.

【0192】第2の処理において、スキャナアプリケー
ションプログラムの使用に依存して、扱えるイメージデ
ータ形式が決まる。入力,出力各々について扱えるイメ
ージデータ形式を定める。例えばビットマップおよびT
IFF形式を入力として許可する。また、出力としてビ
ットマップおよびTIFF形式を許可する。ファイルで
保存する場合、TIFF形式を用いる。表示する場合に
はビットマップを用いることができる。
In the second processing, the image data format that can be handled is determined depending on the use of the scanner application program. Define the image data format that can be handled for each input and output. Bitmap and T
Allow IFF format as input. It also allows bitmap and TIFF formats as output. When saving as a file, the TIFF format is used. When displaying, a bitmap can be used.

【0193】ホストコンピュータとネットワークサーバ
ーSP1間をネットワークで接続する時は、複数のプロ
グラムを使用する。中心となるプログラムは図2に示す
通信プログラム83である。
When connecting the host computer and the network server SP1 via a network, a plurality of programs are used. The main program is the communication program 83 shown in FIG.

【0194】ネットワークサーバーSP1では、例えば
図25に示す通信プログラム53とネットワークサーバ
ーSP1側の通信プログラム83がある。ホストコンピ
ュータ側の通信プログラムは、主として第1〜第3の処
理を行なう。
The network server SP1 includes a communication program 53 and a communication program 83 on the network server SP1 side shown in FIG. 25, for example. The communication program on the host computer side mainly performs first to third processing.

【0195】第1は下位レイアを介して、ネットワーク
サーバーSP1とリンクを張る。第2はCaPSLデー
タをネットワークサーバーSP1へ送信する。第3はネ
ットワークサーバーSP1からイメージデータを受信し
て上位レイヤへ送る。
The first link is established with the network server SP1 through the lower layer. The second sends CaPSL data to the network server SP1. Thirdly, the image data is received from the network server SP1 and sent to the upper layer.

【0196】一方、ネットワークサーバーSP1は、主
として第1,第2の処理を行なう。第1はTCP/IP
プログラム82を介して通信プログラム83で受信した
CaPSLデータをシステム全体制御プログラム93へ
送る。第2はシステム全体制御プログラム93から受け
取ったイメージデータを通信プログラム83へ送信す
る。
On the other hand, the network server SP1 mainly performs the first and second processes. First is TCP / IP
The CaPSL data received by the communication program 83 via the program 82 is sent to the overall system control program 93. Secondly, the image data received from the overall system control program 93 is transmitted to the communication program 83.

【0197】プリント処理及びスキャン処理は、ホスト
コンピュータの上位レイアからのプリントおよびスキャ
ンの要求を通信プログラム53が受け取ることで開始さ
れる。通信プログラム53は、下位レイヤを使用して、
リンクを張る。例えばイーサネットを介して接続した場
合、下位レイアとして、TCP/IPプログラム52を
使用してデータの送受信を行なう。通信プログラム53
では、リンクを張った後に、プリントおよびスキャンに
特有の情報の受け渡しをして、適合する条件にプリンタ
及びスキャナを設定する。プリンタおよびスキャナの設
定が終了後は、プリントはCaPSLをクライアントか
らサーバーへ、またスキャナの設定が終了した後は、プ
リント時はCaPSLをクライアントからサーバーへ、
またスキャン時はイメージデータをサーバからクライア
ントへ各々送信する。プログラムとして、図2に示した
lpdプログラム90も使用できる。ホストとして、U
NIXマシンを使用した場合に、UNIXの標準のプリ
ントコマンドであるlprを使用してプリントが可能と
なる。このlpdプログラム90(図2参照)はプリン
ト時のみに使用する。サーバー側にスプールディスクが
ない場合でもデフォルトの設定での出力は可能である。
The print process and the scan process are started when the communication program 53 receives the print and scan requests from the host layer of the host computer. The communication program 53 uses the lower layer,
Make a link. For example, when connected via Ethernet, the TCP / IP program 52 is used as a lower layer to transmit / receive data. Communication program 53
Then, after linking, information specific to printing and scanning is passed, and the printer and scanner are set to the appropriate conditions. After setting the printer and scanner, print CaPSL from the client to the server, and after setting the scanner, print CaPSL from the client to the server.
During scanning, the image data is sent from the server to the client. As the program, the lpd program 90 shown in FIG. 2 can also be used. As a host, U
When the UNIX machine is used, printing can be performed by using the standard UNIX print command lpr. This lpd program 90 (see FIG. 2) is used only at the time of printing. Even if there is no spool disk on the server side, output with the default settings is possible.

【0198】システム全体制御プログラム93の基本的
な動作は、イベントを入力してイベントに応じた処理を
行なうことと、エラー中の入出力装置に状態を問い合わ
せ、エラーから回復していた場合、エラーによって中断
していたジョブがあれば再開することである。
The basic operation of the overall system control program 93 is to input an event and perform processing according to the event, to inquire the status of the I / O device in error, and to recover from the error. If there is a job that has been suspended by, restart it.

【0199】以下、図26に示すフローチャートを参照
しながら本発明に係るサーバー装置における全体制御動
作について説明する。
The overall control operation of the server device according to the present invention will be described below with reference to the flowchart shown in FIG.

【0200】図26本発明に係るサーバー装置における
全体制御手順の一例を示すフローチャートである。な
お、(1) 〜(6) は各ステップを示す。
FIG. 26 is a flow chart showing an example of the overall control procedure in the server device according to the present invention. Note that (1) to (6) indicate each step.

【0201】先ず、ステップ(1) でイベントがあるかど
うかを判別し(1) 、ある場合はステップ(2) でイベント
に応じた処理を行ない、ステップ(1) でイベントが無い
場合は、ステップ(3) でエラー中の入出力装置があるか
調べ、ある場合はステップ(4) でエラー中か問い合わ
せ、ステップ(5) でエラー中か判別し、エラーから回復
していればステップ(6) でエラーにより中断していたジ
ョブがあれば再開する。システム全体制御プログラム9
3はネットワークサーバーSP1内でTCP/IPプロ
グラム82,通信プログラム83,PDLインタープリ
タープログラム84,スキャナ制御プログラム85,デ
バイスドライバ86と通信することができ、さまざまな
イベントを受けとる。通信プログラム83から送られる
イベントとして、ジョブの到着、データ転送の終了があ
り、PDLインタープリタープログラム84から送られ
るイベントとして、受信データ処理終了、画像データ描
画終了、ページ描画終了、プリントジョブ終了があり、
スキャナ制御プログラム85からのイベントとして、画
像データ転送要求、画像入力処理終了、ページプリント
終了、エラー発生、正常状態等のイベントがある。
First, in step (1), it is determined whether or not there is an event (1). If there is an event, the process corresponding to the event is performed in step (2). If there is no event in step (1), the step is performed. In (3), check if there is an I / O device in error, if there is, inquire whether it is in error in step (4), determine in step (5) whether it is in error, and if it is recovered from error, step (6) If there is a job that was interrupted by, restart it. Overall system control program 9
3 can communicate with the TCP / IP program 82, the communication program 83, the PDL interpreter program 84, the scanner control program 85, and the device driver 86 in the network server SP1, and receives various events. Events sent from the communication program 83 include the arrival of a job and the end of data transfer, and events sent from the PDL interpreter program 84 include the end of received data processing, the end of image data drawing, the end of page drawing, and the end of a print job. ,
Events from the scanner control program 85 include events such as image data transfer request, image input processing end, page print end, error occurrence, and normal state.

【0202】また、システム全体制御プログラム93で
は各イベントに対する動作が定まっており、例えば、通
信プログラム83からジョブの到着が送られると、ジョ
ブの内容を解析し、プリントジョブの場合はPDLイン
タープリタープログラム84にデータを転送し、画像入
力ジョブの場合はスキャナ制御プログラム85にデータ
を転送する。
Further, the operation for each event is defined in the system overall control program 93. For example, when a job arrival is sent from the communication program 83, the contents of the job are analyzed and, in the case of a print job, the PDL interpreter program. The data is transferred to 84, and in the case of an image input job, the data is transferred to the scanner control program 85.

【0203】さらに、デバイスドライバ86から送られ
るエラーとしては、紙なし、インク切れ、紙詰まり、電
源OFF等がある。
Further, as the error sent from the device driver 86, there are no paper, running out of ink, paper jam, power OFF and the like.

【0204】なお、本実施例では、ネットワークサーバ
ーSP1では、プリンタのページ記述言語としてCaP
SLを採用している。そこで、CaPSLの機能処理等
について説明する。なお、プリンタのページ記述言語と
しては、CapSLに限定されるものではない。
In this embodiment, the network server SP1 uses CaP as the page description language of the printer.
SL is adopted. Therefore, the functional processing of CaPSL and the like will be described. The page description language of the printer is not limited to CapSL.

【0205】CaPSLの機能は、図形,文字,イメー
ジを表現している制御コードを入力して、ネットワーク
サーバーSP1のバンドメモリと呼ばれる描画領域に画
像を展開するタスクである。
The function of CaPSL is a task of inputting a control code representing a figure, a character or an image and expanding the image in a drawing area called a band memory of the network server SP1.

【0206】PDLインタープリタープログラム84と
直接コミュニケーションを持つプログラムは、システム
全体制御プログラム93である。コミュニケーション
は、以下の第1,第2のコミュニケーションである。
The program having direct communication with the PDL interpreter program 84 is the system-wide control program 93. The communication is the following first and second communication.

【0207】第1のコミュニケーションは、システム全
体制御プログラム93がCaPSLに引き渡すコミュニ
ケーションであり、その内容は、CaPSLコードの格
納されたファイル名,CaPSLコードが格納されてあ
るメモリの先頭アドレスおよびサイズ,バンドメモリ描
画可能性等である。
The first communication is a communication delivered by the system overall control program 93 to CaPSL, and its contents are the file name in which the CaPSL code is stored, the start address and size of the memory in which the CaPSL code is stored, and the band. For example, memory drawing possibility.

【0208】第2のコミュニケーションは、PDLイン
タープリタープログラム84がシステム全体制御プログ
ラム93に引き渡すコミュニケーションであり、その内
容は、バンドメモリ描画終了,ページ描画終了,ドキュ
メント描画終了,バンドメモリ描画領域,空バンドメモ
リの情報である。
The second communication is a communication delivered by the PDL interpreter program 84 to the system overall control program 93, and its contents are band memory drawing end, page drawing end, document drawing end, band memory drawing area, empty band. Memory information.

【0209】この際、PDLインタープリタープログラ
ム84の内部では、以下の処理が行われる。
At this time, the following processing is performed inside the PDL interpreter program 84.

【0210】ネットワークサーバーSP1では、バンド
メモリと呼ばれる、ある幅を持ったメモリを持っている
ので、PDLインタープリタープログラム84は画像を
バンド幅分だけ部分的に展開しなければならない。PD
Lインタープリタープログラム84は、図27に示すよ
うなプリンタ制御コマンドを入力する。CaPSLコー
ドは、PDLインタープリタープログラム84内部でレ
イアウタと呼ばれるプログラム(図示しない)に基づい
て図28に示す中間コードに置き換えられる。本実施例
において、中間コードとは、いわゆる抽象的な図形の表
現を具体的なデバイスの表現にしたものである。そし
て、1ページ分の中間コードができあがると、ペインタ
と呼ばれるプログラム(図示しない)に基づいて中間コ
ードを参照しながらバンドメモリにラスタイメージを展
開する。
Since the network server SP1 has a memory having a certain width called a band memory, the PDL interpreter program 84 must partially expand the image by the bandwidth. PD
The L interpreter program 84 inputs a printer control command as shown in FIG. The CaPSL code is replaced with the intermediate code shown in FIG. 28 in the PDL interpreter program 84 based on a program (not shown) called a layouter. In the present embodiment, the intermediate code is a representation of a so-called abstract figure into a concrete representation of a device. Then, when the intermediate code for one page is completed, the raster image is developed in the band memory while referring to the intermediate code based on a program (not shown) called a painter.

【0211】例えば図29に示すような図形を描くよう
なCaPSLコードをレイアウタが受け取ると、デバイ
スに依存した図28に示す中間コードに置き換える。こ
こで、レイアウタは、図形の大きさに基づいてその図形
が何バンド目から何バンド目まで描かれているかを計算
して、中間コードに登録する。図29では、円(cir
cle)が1〜2バンド、矩形(Rectangle)
が2〜4バンドに描かれる場合を示す。なお、その後に
書かれている数字は、デバイス座標系における、図形の
位置や半径等である。
For example, when the layouter receives a CaPSL code for drawing a graphic as shown in FIG. 29, it replaces it with a device-dependent intermediate code shown in FIG. Here, the layouter calculates from which band to which band the graphic is drawn based on the size of the graphic, and registers it in the intermediate code. In FIG. 29, a circle (cir
cle) has 1 to 2 bands, rectangle (Rectangle)
Shows the case where is drawn in 2 to 4 bands. The numbers written after that are the position and radius of the figure in the device coordinate system.

【0212】次に、ペインタ(実際にメモリに描画する
プログラム)は中間コードを参照しながら、図29に示
すような図形を展開して、バンドメモリに描画する。実
際には、メモリはバンド幅分の大きさしか持っていない
ので、バンドを描画すると、そのデータをプリンタに送
り、メモリをクリアして、次のバンドのデータを描き始
める。第0番目の描画をするために、中間コードを参照
すると、第0番目のバンドに描くべきデータがないこと
が分かり、次のバンドに移る。すると、ペインタは第1
バンド目に描くデータをサーチし、円を検知して1バン
ド分だけ描画する。次に第2バンド目に移り、円と矩形
を描画することが分かるので、円の続きの部分の描画と
矩形を1バンド分だけ描画する。このようにして、ペイ
ンタは、1ページ分のデータを描画するのである。
Next, the painter (a program for actually drawing in the memory) develops the drawing as shown in FIG. 29 and draws it in the band memory while referring to the intermediate code. In reality, the memory has only the size corresponding to the band width, so when the band is drawn, the data is sent to the printer, the memory is cleared, and the data of the next band is started to be drawn. When the intermediate code is referred to in order to draw the 0th band, it is found that there is no data to be drawn in the 0th band, and the process moves to the next band. Then, the painter is the first
The data to be drawn in the band is searched, a circle is detected, and only one band is drawn. Next, moving to the second band, it can be seen that a circle and a rectangle are drawn, so the drawing of the portion following the circle and the rectangle are drawn for one band. In this way, the painter draws one page of data.

【0213】なお、CaPSLが展開するデータの1画
素の構造は、図30に示されるように、RGBXの32
ビットになっている。これは、色のデータを表わすRG
B24ビットと、付加情報のための8ビットの付加情報
Xから構成されている。ここで、付加情報Xの中は、ビ
ット0がイメージ領域判定ビットであり、CaPSLが
イメージをバンドメモリに描画する時には、このビット
をONにする。また、ビット2は、黒情報ビットになっ
ており、CaPSLで展開された図形や文字の色がRG
Bともに0の場合は、このビットをONにする。これら
の情報は、第1のインタフェース回路4−1でプリンタ
94Bでプリントアウトする際に解析され、画質を向上
させる情報となる。
Note that the structure of one pixel of the data expanded by CaPSL is 32 in RGBX as shown in FIG.
It's a bit. This is the RG representing color data
It is composed of 24 bits of B and 8 bits of additional information X for additional information. Here, in the additional information X, bit 0 is an image area determination bit, and when CaPSL draws an image in the band memory, this bit is turned ON. Also, bit 2 is a black information bit, and the colors of graphics and characters developed with CaPSL are RG.
If both B are 0, this bit is turned ON. These pieces of information are analyzed when the first interface circuit 4-1 prints out with the printer 94B and serve as information for improving the image quality.

【0214】以下、図31に示すデータ処理経路図を参
照しながら、スキャナ94A,95Aの動作について説
明する。なお、図25と同一のもには同じ符号を付して
ある。
The operation of the scanners 94A and 95A will be described below with reference to the data processing route diagram shown in FIG. The same components as those in FIG. 25 are designated by the same reference numerals.

【0215】図31は、図2に示したスキャナ94A,
95Aの動作を説明するデータ処理経路図である。な
お、画像をバンド単位で切り分けてスキャンするスキャ
ナの場合と、1度に全画像をスキャンする場合のタスク
の動作が多少異なるためそれぞれを説明する。
FIG. 31 shows the scanner 94A shown in FIG.
It is a data processing route diagram explaining operation | movement of 95A. The operation of tasks for a scanner that divides an image into band units and scans is slightly different from that for a case of scanning an entire image at one time.

【0216】画像をバンド単位で切り分けてスキャンす
るスキャナの場合において、先ず、クライアントマシン
としてのホストコンピュータST1から送られてきた、
スキャン命令C1をTCP/IPプログラム82を介し
て通信プログラム83が受信すると、システム全体制御
プログラム93にスキャン命令C2の到着を知らせる。
In the case of a scanner which divides an image into band units and scans the image, first, it is sent from the host computer ST1 as a client machine.
When the communication program 83 receives the scan command C1 via the TCP / IP program 82, it notifies the entire system control program 93 of the arrival of the scan command C2.

【0217】システム全体制御プログラム93は、この
装置がスプールIを持つ場合は、受信したスキャン命令
C2を元にしてスプールファイルを作って保存し、その
ファイル名C3をスキャナ制御プログラム85に送る。
スプールIを持たない場合は、スキャナコマンドC3を
直接スキャナ制御プログラム85に送る。
When the apparatus has the spool I, the system-wide control program 93 creates a spool file based on the received scan command C2 and saves it, and sends the file name C3 to the scanner control program 85.
When the spool I is not provided, the scanner command C3 is sent directly to the scanner control program 85.

【0218】スキャナ制御プログラム85は、スキャナ
コマンドC3を解釈し、解像度等のスキャナ条件設定命
令C4をデバイスドライバ86に与えて指定されたスキ
ャナを起動する。デバイスドライバ86は、それぞれの
スキャナ制御プログラム85に対応して存在する関数で
ある。
The scanner control program 85 interprets the scanner command C3 and gives a scanner condition setting instruction C4 such as resolution to the device driver 86 to activate the designated scanner. The device driver 86 is a function that exists corresponding to each scanner control program 85.

【0219】スキャナ条件を設定したデバイスドライバ
86は、リターン値C5をスキャナ制御プログラム85
に返す。これを受けるとスキャナ制御プログラム85
は、スキャン開始命令C6をデバイスドライバ86に与
えて指定されたスキャナを起動する。デバイスドライバ
86は、スキャナEを作動させて画像データを読み込み
バンドメモリFに書き込む。1バンド分描き込むと、ス
キャナ制御プログラム85にスキャン終了のリターン値
C9を返す。これを受け取ったスキャナ制御プログラム
85は、バンドメモリFの画像データに画像処理、例え
ばJPEG圧縮ボードを用いることで圧縮を行ってバッ
ファ領域Hへ描きこむ。
The device driver 86 which has set the scanner conditions sets the return value C5 to the scanner control program 85.
Return to. Upon receiving this, the scanner control program 85
Gives a scan start command C6 to the device driver 86 to activate the designated scanner. The device driver 86 operates the scanner E to read the image data and write it in the band memory F. When one band has been drawn, a scan end return value C9 is returned to the scanner control program 85. The scanner control program 85 which received this performs image processing on the image data of the band memory F, for example, compresses by using a JPEG compression board and draws it in the buffer area H.

【0220】バンドメモリF内のデータを全て処理し終
わると、スキャナ制御プログラム85は、システム全体
制御プログラム93に転送要求C11送り、また同時に
デバイスドライバ86にスキャン開始命令C6を与えて
起動する。このスキャンは、前回のスキャンの時の終了
点から読み込むようにスキャナ制御プログラム85で制
御する。
When all the data in the band memory F have been processed, the scanner control program 85 sends a transfer request C11 to the overall system control program 93, and at the same time gives a scan start command C6 to the device driver 86 to activate it. This scan is controlled by the scanner control program 85 to read from the end point of the previous scan.

【0221】一方、転送要求C11を受けたシステム全
体制御プログラム93は、通信プログラム83に転送要
求C12を送る。これを受け取った通信プログラム83
は、指定されたクライアントマシンとしてのホストコン
ピュータにバッファ領域H内の処理された画像データを
送る。このとき通信プログラム83,システム全体制御
プログラム93は、スキャナ制御プログラム85とは、
異なったプログラムであるので、スキャナ制御プログラ
ム85内の関数であるデバイスドライバ86の制御で動
くスキャナ作動中であっても、画像データの転送を行う
ことができる。
On the other hand, the overall system control program 93 which has received the transfer request C11 sends the transfer request C12 to the communication program 83. Communication program 83 that received this
Sends the processed image data in the buffer area H to the host computer as the designated client machine. At this time, the communication program 83, the entire system control program 93, the scanner control program 85,
Since the programs are different, the image data can be transferred even while the scanner is operating under the control of the device driver 86 which is a function in the scanner control program 85.

【0222】通信プログラム83は、転送が終了すると
システム全体制御プログラム93に転送終了信号C14
を送り、これを受け取るとシステム全体制御プログラム
93は、スキャナ制御プログラム85に転送終了C15
を送る。スキャナ制御プログラム85は、デバイスドラ
イバ86からのスキャン終了を伝えるリターン値C9,
転送終了C15の両方を受けると、バンドメモリF内の
画像データを画像処理しバッファ領域Hに書き込む。以
上の処理を繰り返すことで画像データをホストコンピュ
ータST1へ送ることができる。なお、別のホストコン
ピュータ(例えばホストコンピュータST2またはホス
トコンピュータST3)を指定することで、他のホスト
コンピュータへ画像データを送ることもできる。
When the transfer is completed, the communication program 83 sends a transfer end signal C14 to the system overall control program 93.
Then, when the system control program 93 receives the request, the entire system control program 93 transfers to the scanner control program 85.
To send. The scanner control program 85 sends a return value C9 from the device driver 86 to notify the end of scanning,
When both the transfer end C15 are received, the image data in the band memory F is image-processed and written in the buffer area H. By repeating the above processing, the image data can be sent to the host computer ST1. The image data can be sent to another host computer by designating another host computer (for example, the host computer ST2 or the host computer ST3).

【0223】全ての画像データの転送をスキャナ制御プ
ログラム85が確認すると、システム全体制御プログラ
ム93を介して通信プログラム83まで終了を知らせ
る。
When the scanner control program 85 confirms the transfer of all the image data, it notifies the communication program 83 of the end through the entire system control program 93.

【0224】一方、1度に全画像をスキャンする場合
は、クライアントマシンとしての、例えばホストコンピ
ュータST1から送られてきた、スキャン命令C1を通
信プログラム83が受信すると、システム全体制御プロ
グラム93にスキャン命令C2の到着を知らせる。
On the other hand, when scanning all images at once, when the communication program 83 receives the scan command C1 sent from the client computer, for example, the host computer ST1, the scan command is sent to the system overall control program 93. Notify the arrival of C2.

【0225】システム全体制御プログラム93は、この
装置がスプールIを持つ場合は、受信したスキャン命令
C2を元にしてスプールファイルを作って保存し、その
ファイル名C3をスキャナ制御プログラム85に送る。
スプールIを持たない場合は、スキャナコマンドC3を
直接スキャナ制御プログラム85に送る。
When the apparatus has the spool I, the system-wide control program 93 creates a spool file based on the received scan command C2 and saves it, and sends the file name C3 to the scanner control program 85.
When the spool I is not provided, the scanner command C3 is sent directly to the scanner control program 85.

【0226】スキャナ制御プログラム85は、スキャナ
コマンドC3を解釈し、解像度等のスキャナ条件設定C
4をデバイスドライバ86に与えて指定されたスキャナ
を起動する。スキャナ条件を設定したデバイスドライバ
86は、リターン値C5をスキャナ制御プログラム85
に返す。これを受けるとスキャナ制御プログラム85
は、スキャン開始命令C6をデバイスドライバ86に起
動する。ここでのスキャナEは、読み込み動作を途中で
止められないものとしている。
The scanner control program 85 interprets the scanner command C3 and sets the scanner condition setting C such as resolution.
4 is given to the device driver 86 to activate the designated scanner. The device driver 86 that has set the scanner conditions sets the return value C5 to the scanner control program 85.
Return to. Upon receiving this, the scanner control program 85
Activates the scan start instruction C6 to the device driver 86. The scanner E here cannot stop the reading operation on the way.

【0227】デバイスドライバ86は、命令C10によ
りスキャナEを作動させて画像データすべてを取り込
み、取り込んだ画像データに画像処理、例えばJPEG
ボードGを用いてJPEG圧縮を行なってバッファHに
描き込むことができる。
The device driver 86 operates the scanner E in response to the instruction C10 to capture all the image data, and performs image processing on the captured image data, for example, JPEG.
It is possible to perform JPEG compression using the board G and draw it in the buffer H.

【0228】また、画像データを生のままバッファHに
書き込むことも可能である。バッファHが一杯になる
と、スキャナ制御プログラム85は、システム全体制御
プログラム93に転送要求C11を送る。これを受けた
システム全体制御プログラム93は、通信プログラム8
3に転送命令C12を出し、通信プログラム83がバッ
ファHに描かれたデータを指定されたホストコンピュー
タST1へ転送する。なお、別のホストコンピュータ
(例えばホストコンピュータST2またはホストコンピ
ュータST3)を指定することで、他のホストコンピュ
ータへ画像データを送ることができる。
It is also possible to write the image data in the buffer H as it is. When the buffer H becomes full, the scanner control program 85 sends a transfer request C11 to the system overall control program 93. The overall system control program 93 which received this is the communication program 8
3, the transfer command C12 is issued, and the communication program 83 transfers the data drawn in the buffer H to the designated host computer ST1. By specifying another host computer (for example, the host computer ST2 or the host computer ST3), the image data can be sent to the other host computer.

【0229】通信プログラム83は、転送が終了すると
システム全体制御プログラム93に転送終了信号C14
を送り、これを受け取るとシステム全体制御プログラム
93は、スキャナ制御プログラム85に転送終了C15
を送る。スキャナ制御プログラム85は、転送終了C1
5が送られてくるとバンドメモリ内の画像データを画像
処理しバッファHに書き込む。以上の処理を繰り返すこ
とで画像データをクライアントマシンとしての指定され
たホストコンピュータへ送ることができる。
When the transfer is completed, the communication program 83 sends a transfer end signal C14 to the system overall control program 93.
Then, when the system control program 93 receives the request, the entire system control program 93 transfers to the scanner control program 85.
To send. The scanner control program 85 sends a transfer end C1.
When 5 is sent, the image data in the band memory is processed and written in the buffer H. By repeating the above processing, the image data can be sent to the designated host computer as the client machine.

【0230】スキャナ制御プログラム85は、全ての画
像データの転送を確認すると、システム全体制御プログ
ラム93を介して通信プログラム83まで終了を知らせ
る。
When the scanner control program 85 confirms the transfer of all the image data, it notifies the communication program 83 of the end via the system overall control program 93.

【0231】以下、図32および図33を参照しながら
本発明に係るサーバー装置におけるホストコンピュータ
からS/Pサーバー装置へのデータの流れについて説明
する。
The flow of data from the host computer to the S / P server device in the server device according to the present invention will be described below with reference to FIGS. 32 and 33.

【0232】ホストコンピュータから指定されたS/P
サーバー装置(ネットワークサーバー)SP1へのデー
タの流れにおいて、先ず、例えばホストコンピュータS
T1でDTPのアプリケーションプログラム56が実行
されていてドキュメントを作成する。このドキュメント
のデータ形式は、ホストコンピュータの機種、アプリケ
ーションプログラムに依存したものである。そこで指定
されたS/Pサーバー装置SP1が解釈できる形式のデ
ータに変換する必要がある。その変換プログラムが変換
プログラム54である。DTPのアプリケーションプロ
グラム(DTPアプリ)56からはホストコンピュータ
のシステムに依存したデータが変換プログラム54に送
られる。変換プログラム54は、受けとったファイル
を、例えばCaPSLコードに変換する。さらに、Ca
PSLコードに変換したファイルは通信プログラムであ
るlpd505または通信プログラム53に送られる。
S / P designated by the host computer
In the data flow to the server device (network server) SP1, first, for example, the host computer S
At T1, the DTP application program 56 is executed to create a document. The data format of this document depends on the host computer model and application program. Therefore, it is necessary to convert the data into a format that can be interpreted by the designated S / P server device SP1. The conversion program is the conversion program 54. Data depending on the system of the host computer is sent to the conversion program 54 from the DTP application program (DTP application) 56. The conversion program 54 converts the received file into, for example, a CaPSL code. Furthermore, Ca
The file converted into the PSL code is sent to the communication program lpd 505 or the communication program 53.

【0233】通信プログラムはホストコンピュータとS
/Pサーバー装置SP1の間でネットワークを介して接
続、通信を行なうためのものであり、ここでは2つの内
のどちらか一方のプログラムを用意する。
The communication program consists of the host computer and S
/ P server apparatus SP1 for connecting and communicating via a network, and here, either one of the two programs is prepared.

【0234】先ず始めに、通信プログラム53を用いた
時を説明する。
First, the case where the communication program 53 is used will be described.

【0235】通信プログラム53に対応するプログラム
として、S/Pサーバー装置SP1側で通信を司るプロ
グラムは通信プログラム83であり、このプログラム間
ではTCP/IPプログラムを使用する。プリント時の
通信プログラム53の役割は主に2つあり、一つは下位
レイヤ(TCP/IP)を介して通信プログラム83と
リンクを張り、通信できる状態にすることである。もう
一つは、変換プログラム54が生成したCaPSLデー
タファイルをS/Pサーバー装置SP1に送信すること
である。
As a program corresponding to the communication program 53, a program that controls communication on the S / P server device SP1 side is a communication program 83, and a TCP / IP program is used between these programs. The communication program 53 has two main roles during printing, and one is to establish a link with the communication program 83 via the lower layer (TCP / IP) so that communication can be performed. The other is to send the CaPSL data file generated by the conversion program 54 to the S / P server device SP1.

【0236】また、通信プログラム83の役割はリンク
を張りプリント処理に必要な情報をやりとりして最適に
プリントできるようにすること。通信プログラム53の
送ってくるデータを受けとり、システム全体制御プログ
ラム93にデータの到着を知らせる。この時、送られて
きたCaPSLデータ、およびそれに付随する情報は受
信バッファに一時的に貯められている。また、S/Pサ
ーバー装置SP1側で何らかのエラーが起こった時に、
その情報を通信プログラム53に送信するというような
役割もある。
The role of the communication program 83 is to establish a link so that information necessary for print processing can be exchanged so that optimum printing can be performed. It receives the data sent from the communication program 53 and notifies the system overall control program 93 of the arrival of the data. At this time, the sent CaPSL data and the information accompanying it are temporarily stored in the reception buffer. Also, when some error occurs on the S / P server device SP1 side,
It also has a role of transmitting the information to the communication program 53.

【0237】以下、通信プログラム83からプリントア
ウトまでの処理について説明する。
The processing from the communication program 83 to printout will be described below.

【0238】ここまでで、DTPアプリケーションプロ
グラム56で作成したドキュメントデータはS/Pサー
バー装置SP1に送られたことになる。次に通信プログ
ラム83はシステム全体制御プログラム93にジョブ
(例えばカラーレーザ複写装置(CLC)からプリント
アウト)の到着のイベントを送る。システム全体制御プ
ログラム93はイベント駆動型のプログラムで通信プロ
グラム83,デバイスドライバ86,PDLインタープ
リタープログラム84から送られてくるイベントを常に
待っている。イベントが入ってくるとイベントの発信元
と内容を調べてそれに対応した処理を行なう。 今、シ
ステム全体制御プログラム93には通信プログラム83
から「ジョブが到着した」というイベントが入力されて
いる。この時、システム全体制御プログラム93はイベ
ントを解析してハードディスク519を持っている時に
は受信バッファのドキュメントデータを一旦スプールす
る。そして、ジョブが幾つかたまっている場合には、ジ
ョブの内容、プリンタ、スキャナの状態、ジョブの優先
順位などを考慮して最適にジョブを起動する。
Up to this point, the document data created by the DTP application program 56 has been sent to the S / P server device SP1. Next, the communication program 83 sends an event of arrival of a job (for example, printout from a color laser copying machine (CLC)) to the system overall control program 93. The overall system control program 93 is an event-driven program, and is always waiting for an event sent from the communication program 83, device driver 86, and PDL interpreter program 84. When an event comes in, the sender and the content of the event are checked and the corresponding processing is performed. Now, the communication program 83 is included in the overall system control program 93.
The event "Job has arrived" has been entered. At this time, the system overall control program 93 analyzes the event and temporarily spools the document data in the reception buffer when the hard disk 519 is held. When some jobs are accumulated, the job is optimally started in consideration of the contents of the job, the status of the printer and the scanner, the priority order of the job, and the like.

【0239】ハードディスク519がない場合には、デ
ータを貯めておくことが出来ないので、データの格納さ
れているアドレスとサイズをPDLインタープリタープ
ログラム84に知らせてプリントアウト処理を直ちに行
なうように要求を出す。ここでは、ハードディスクがあ
るものとして説明を続ける。システム全体制御プログラ
ム93はジョブの内容を判断してPDLインタープリタ
ープログラム84にスプールファイル名を渡し、起動の
要求をする。
If the hard disk 519 does not exist, data cannot be stored. Therefore, the PDL interpreter program 84 is informed of the address and size of the data and a request is made to immediately execute printout processing. put out. Here, the description will be continued assuming that there is a hard disk. The overall system control program 93 judges the contents of the job, passes the spool file name to the PDL interpreter program 84, and requests activation.

【0240】以下、図33に示すブロック図を参照しな
がらさらに詳述する。
Further details will be described below with reference to the block diagram shown in FIG.

【0241】図33は本発明に係るS/Pサーバー装置
SP1と、例えばカラーレーザ複写装置(CLC)との
データ処理状態を説明するブロック図である。
FIG. 33 is a block diagram for explaining a data processing state of the S / P server device SP1 according to the present invention and, for example, a color laser copying device (CLC).

【0242】図32に示したPDLインタープリタープ
ログラム84はスプールファイルからCaPSLデータ
を読み込み, 解釈して、図形、文字、イメージをバンド
メモリ518に描画する。CaPSLデータの中に圧縮
符合化されたイメージデータがあった場合にはPDLイ
ンタープリタープログラム84は、標準圧縮伸長部60
6でイメージデータを伸長してバンドメモリに描画す
る。1バンド分の描画を終了すると、PDLインタープ
リタープログラム84はシステム全体制御プログラム9
3に対して「1バンド描画終了」のイベントを発行す
る。イベントを受けとったシステム全体制御プログラム
93はデバイスドライバ86に「1バンド排紙」の要求
イベントを発行する。
The PDL interpreter program 84 shown in FIG. 32 reads the CaPSL data from the spool file, interprets it, and draws figures, characters, and images in the band memory 518. If the CaPSL data includes image data that is compressed and encoded, the PDL interpreter program 84 uses the standard compression / decompression unit 60.
At 6, the image data is expanded and drawn in the band memory. When the drawing for one band is completed, the PDL interpreter program 84 is the entire system control program 9
An event of "end 1 band drawing" is issued to 3. The overall system control program 93 that has received the event issues a request event of "one-band paper ejection" to the device driver 86.

【0243】以下、バンドメモリ605から圧縮メモリ
615までのデータの流れについて説明する。なお、こ
こではデバイスドライバ86の動作について説明する。
The data flow from the band memory 605 to the compression memory 615 will be described below. The operation of the device driver 86 will be described here.

【0244】「1バンド排紙」のイベントを受けとった
デバイスドライバ86は、バンドメモリ605に格納さ
れている展開データを、サブボード610Aのラインバ
ッファ617に転送する。ラインバッファ617に格納
された展開データはブロック順次でリアルタイム圧縮伸
長部616に転送される。リアルタイム圧縮伸長部61
6では、ブロック順次に得られる画像データを圧縮して
いき、順次圧縮メモリ615に格納する。圧縮メモリ6
15のアドレス生成や、ライト信号の生成はDMAコン
トローラ621が行なう。
The device driver 86, which has received the event of "1 band paper discharge", transfers the expansion data stored in the band memory 605 to the line buffer 617 of the sub board 610A. The expanded data stored in the line buffer 617 is transferred to the real-time compression / expansion unit 616 in block order. Real-time compression / expansion unit 61
In 6, the image data obtained in block sequence is compressed and stored in the compression memory 615 sequentially. Compression memory 6
The DMA controller 621 performs the address generation of 15 and the generation of the write signal.

【0245】1バンド分の圧縮が終了するとデバイスド
ライバ86はシステム全体制御プログラム93に対して
「1バンド排紙終了」のイベントを送信する。イベント
を受けとったシステム全体制御プログラム93は、PD
Lインタープリタープログラム84に対して「1バンド
描画要求」イベントを出力する。このようにバンド毎に
描画しては、圧縮するという処理を繰り返し1ページ分
の圧縮展開イメージを圧縮メモリ615に格納する。最
後のバンドの格納が終了すると、PDLインタープリタ
ープログラム84はシステム全体制御プログラム93に
対して「1ページ描画終了」のイベントを発行する。イ
ベントを受けとったシステム全体制御プログラム93
は、デバイスドライバ86に対して「1ページ排紙命
令」を発行する。
When the compression for one band is completed, the device driver 86 sends an event of "end of one band paper discharge" to the system overall control program 93. The whole system control program 93 which received the event is PD
The “one-band drawing request” event is output to the L interpreter program 84. In this way, the process of drawing and compressing for each band is repeated, and the compressed and expanded image for one page is stored in the compression memory 615. When the storage of the last band is completed, the PDL interpreter program 84 issues an event of “end one page drawing” to the system overall control program 93. System-wide control program 93 that received the event
Issues a “one-page discharge command” to the device driver 86.

【0246】「1ページ排紙命令」を受けとったデバイ
スドライバは、圧縮メモリ615に格納されている1ペ
ージ分の展開イメージをプリントアウトするために次の
ような処理を行なう。
The device driver which has received the "one-page discharge command" performs the following processing in order to print out the expanded image for one page stored in the compression memory 615.

【0247】CPU611はDPRAM622をONに
してからリアルタイム圧縮伸長部616,DMAコント
ローラ621の初期化および指定されたプリンタ620
とのコマンドの通信を行ないリアルタイム圧縮伸長部6
16に伸長開始の命令を出す。リアルタイム圧縮伸長部
616はDMAコントローラ621にアクセスし、DM
Aコントローラ621はアドレス、リード信号の生成を
行ない、圧縮メモリ615より圧縮データがリアルタイ
ム圧縮伸長部616に入力され、伸長された後ブロック
順次でラインバッファ617に出力される。そしてライ
ンバッファ617にてブロック順次からラスタ順次の変
換をしてSPI/F618を通じて転送されプリンタ6
20に出力される。実際に、1ページ分のプリントアウ
トが終了するとデバイスドライバ86から「1ページ排
紙終了」のイベントがシステム全体制御プログラム93
に対して送られる。するとシステム全体制御プログラム
93は、PDLインタープリタープログラム84に対し
て2ページ目の描画命令」を発行する。このようにして
複数ページのドキュメントの出力が処理されて行く。
The CPU 611 turns on the DPRAM 622 and then initializes the real-time compression / expansion unit 616 and the DMA controller 621 and designates the designated printer 620.
To communicate commands with the real-time compression / decompression unit 6
A command to start decompression is issued to 16. The real-time compression / expansion unit 616 accesses the DMA controller 621 to perform DM
The A controller 621 generates an address and a read signal, the compressed data is input from the compression memory 615 to the real-time compression / decompression unit 616, and after decompression, it is output to the line buffer 617 in block sequence. Then, the line buffer 617 performs block-sequential to raster-sequential conversion and transfers the data through the SPI / F 618 to the printer 6.
It is output to 20. When the printing of one page is completed, the device driver 86 sends an event of "end of one page discharge" to the system overall control program 93.
Sent to. Then, the entire system control program 93 issues a "drawing command for the second page" to the PDL interpreter program 84. In this way, the output of a multi-page document is processed.

【0248】最終ページの最終バンドの描画が終了する
と、PDLインタープリタープログラム84は「ドキュ
メント終了」イベントをシステム全体制御プログラム9
3に対して発行する。システム全体制御プログラム93
はデバイスドライバ86に対して「1ページ排紙命令」
を出しデバイスドライバ86はプリント処理を行ない
「1ページ排紙終了」イベントをシステム全体制御プロ
グラム93に対し発行する。なお、プリント終了は、シ
ステム全体制御プログラム93は必要ならば通信プログ
ラム83に「プリント終了」イベントを発行する。通信
プログラム83はホストコンピュータ側の通信プログラ
ム53に対しプリント終了を知らせる。
When the drawing of the final band of the final page is completed, the PDL interpreter program 84 sends a "document end" event to the system-wide control program 9
Issue to 3. Overall system control program 93
Is a "one-page discharge command" to the device driver 86.
Then, the device driver 86 performs a print process and issues a “one page discharge completion” event to the system overall control program 93. For the end of printing, the system-wide control program 93 issues a "print end" event to the communication program 83 if necessary. The communication program 83 notifies the communication program 53 on the host computer side of the end of printing.

【0249】また、エラー発生時には、例えばプリンタ
620が、紙詰まりを起こしたり、紙無しの状態になっ
た時にはデバイスドライバ86からシステム全体制御プ
ログラム93に対して「エラー発生」のイベントが送ら
れる。システム全体制御プログラム93はその旨をPD
Lインタープリタープログラム84と通信プログラム8
3に伝える。PDLインタープリタープログラム84は
プログラムの状態の退避などのエラー時の処理を行な
い、通信プログラム83はエラーの発生や、その内容を
ホストコンピュータ側の通信プログラム83に伝える。
なお、エラーが回復したかどうかを調べる方法は2つ考
えられる。一つは、ある一定期間毎にシステム全体制御
プログラム93がデバイスドライバ86に対して問い合
わせて、デバイスドライバ86が答えるという方法。
When an error occurs, for example, when the printer 620 has a paper jam or is out of paper, the device driver 86 sends an "error occurrence" event to the overall system control program 93. The whole system control program 93 uses the PD
L interpreter program 84 and communication program 8
Tell 3. The PDL interpreter program 84 performs processing at the time of error such as saving the state of the program, and the communication program 83 informs the communication program 83 on the host computer side of the occurrence of the error and its contents.
There are two possible methods for checking whether the error has been recovered. One is a method in which the system-wide control program 93 makes an inquiry to the device driver 86 at regular intervals and the device driver 86 responds.

【0250】もう一つは、システム全体制御プログラム
93がエラー回復を監視していて回復時にシステム全体
制御プログラム93に対して「エラー回復」のイベント
を発行するというものである。
The other is that the overall system control program 93 monitors the error recovery and issues an "error recovery" event to the overall system control program 93 at the time of recovery.

【0251】以下、図32,図34を参照しながらホス
トコンピュータから、例えばバブルジェットカラー複写
装置へのプリントデータ出力処理について詳述する。
The print data output processing from the host computer to, for example, the bubble jet color copying apparatus will be described in detail below with reference to FIGS. 32 and 34.

【0252】図34は本発明に係るS/Pサーバー装置
SP1と,例えばバブルジェットカラー複写装置(BJ
C)とのデータ処理状態を説明するブロック図である。
FIG. 34 shows an S / P server apparatus SP1 according to the present invention and, for example, a bubble jet color copying apparatus (BJ
It is a block diagram explaining the data processing state with C).

【0253】ホストコンピュータからS/Pサーバー装
置SP1へのデータの流れは、図32に示すように、ま
ず、ホストコンピュータでDTPのアプリケーションプ
ログラム56が実行されていてドキュメントを作成す
る。このドキュメントのデータ形式は、ホストコンピュ
ータの機種、アプリケーションプログラムに依存したも
のである。そこでS/Pサーバー装置SP1が解釈でき
る形式のデータに変換する必要がある。その変換プログ
ラムが変換プログラム54である。DTPのアプリケー
ションプログラム56からはDTPアプリに依存したデ
ータが変換プログラム54に送られる。変換プログラム
54は、受けとったファイルをCaPSLコードに変換
する。さらに、CaPSLコードに変換したファイルは
通信プログラムであるlpd505または通信プログラ
ム53に送られる。
The data flow from the host computer to the S / P server device SP1 is as shown in FIG. 32. First, the DTP application program 56 is executed in the host computer to create a document. The data format of this document depends on the host computer model and application program. Therefore, it is necessary to convert the data into a format that can be interpreted by the S / P server device SP1. The conversion program is the conversion program 54. Data depending on the DTP application is sent from the DTP application program 56 to the conversion program 54. The conversion program 54 converts the received file into a CaPSL code. Further, the file converted into the CaPSL code is sent to the communication program lpd 505 or the communication program 53.

【0254】通信プログラムはホストコンピュータとS
/Pサーバー装置SP1の間でネットワークを介して接
続、通信を行なうためのものであり、ここでは2つのプ
ログラムを用意する。
The communication program consists of the host computer and S
/ P server device SP1 for connecting and communicating via a network, and two programs are prepared here.

【0255】先ず始めに、通信プログラム53を用いた
時を説明する。
First, the case where the communication program 53 is used will be described.

【0256】通信プログラム53に対応するプログラム
として、S/Pサーバー装置SP1側で通信を司るプロ
グラムは通信プログラム83であり、このプログラム間
ではTCP/IPプログラムを使用する。
As the program corresponding to the communication program 53, the program that controls communication on the S / P server device SP1 side is the communication program 83, and the TCP / IP program is used between these programs.

【0257】プリント時の通信プログラム53の役割は
主に2つあり、一つは下位レイヤ(TCP/IP)を介
して指定したS/Pサーバー装置SP1とリンクを張
り、通信できる状態にすることである。もう一つは、変
換プログラム54が生成したCaPSLデータファイル
を通信プログラム83に送信することである。
The communication program 53 has two main roles at the time of printing. One is to establish a link with the S / P server device SP1 designated through the lower layer (TCP / IP) so that communication is possible. Is. The other is to send the CaPSL data file generated by the conversion program 54 to the communication program 83.

【0258】また、通信プログラム83の役割はリンク
を張りプリント処理に必要な情報をやりとりして最適に
プリントできるようにすること。通信プログラム53の
送ってくるデータを受けとり、システム全体制御プログ
ラムにデータの到着を知らせる。この時、送られてきた
CaPSLデータ、およびそれに付随する情報は受信バ
ッファに一時的に貯められている。
The role of the communication program 83 is to establish a link so that information necessary for print processing can be exchanged so that optimum printing can be performed. The data sent from the communication program 53 is received, and the system overall control program is notified of the arrival of the data. At this time, the sent CaPSL data and the information accompanying it are temporarily stored in the reception buffer.

【0259】また、S/Pサーバー装置SP1側で何ら
かのエラーが起こった時に、その情報をホストコンピュ
ータ側の通信プログラム53に送信するというような役
割もある。ホストコンピュータ側の通信プログラム53
からプリントアウトする際には、DTPアプリケーショ
ンプログラム56で作成したドキュメントデータは指定
されたS/Pサーバー装置SP1に送られたことにな
る。次に通信プログラム83はシステム全体制御プログ
ラム93にジョブ(例えばBJカラー複写装置からプリ
ントアウト)の到着のイベントを送る。システム全体制
御プログラム93はイベント駆動型のプログラムで通信
プログラム83,デバイスドライバ86,PDLインタ
ープリタープログラム84から送られてくるイベントを
常に待っている。イベントが入ってくるとイベントの発
信元と内容を調べてそれに対応した処理を行なう。
Further, it also has a role of transmitting the information to the communication program 53 on the host computer side when an error occurs on the S / P server device SP1 side. Communication program 53 on the host computer side
When it is printed out from, the document data created by the DTP application program 56 has been sent to the designated S / P server device SP1. Next, the communication program 83 sends an event of arrival of a job (for example, printout from the BJ color copying machine) to the system overall control program 93. The overall system control program 93 is an event-driven program, and is always waiting for an event sent from the communication program 83, device driver 86, and PDL interpreter program 84. When an event comes in, the sender and the content of the event are checked and the corresponding processing is performed.

【0260】今、システム全体制御プログラム93には
通信プログラム83から「ジョブが到着した」というイ
ベントが入力されている。この時システム全体制御プロ
グラム93はイベントを解析してハードディスク519
を持っている時には受信バッファのドキュメントデータ
を一旦スプールする。そして、ジョブが幾つかたまって
いる場合には、ジョブの内容、プリンタ、スキャナの状
態、ジョブの優先順位などを考慮して最適にジョブを起
動する。
Now, the event "job has arrived" is input from the communication program 83 to the overall system control program 93. At this time, the system overall control program 93 analyzes the event and analyzes the hard disk 519.
When it has, the document data in the receive buffer is spooled once. When some jobs are accumulated, the job is optimally started in consideration of the contents of the job, the status of the printer and the scanner, the priority order of the job, and the like.

【0261】ハードディスク519がない場合には、デ
ータを貯めておくことが出来ないので、データの格納さ
れているアドレスとサイズをPDLインタープリタープ
ログラム84に知らせてプリントアウト処理を直ちに行
なうように要求を出す。ここでは、ハードディスクがあ
るものとして説明を続ける。システム全体制御プログラ
ム93はジョブの内容を判断してPDLインタープリタ
ープログラム84にスプールファイル名を渡し、起動の
要求をする。PDLインタープリタープログラム84は
スプールファイルからCaPSLデータを読み込み, 解
釈して、図形、文字、イメージをバンドメモリ518に
描画する。CaPSLデータの中に圧縮符合化されたイ
メージデータがあった場合にはPDLインタープリター
プログラム84は標準圧縮伸長部606でイメージデー
タを伸長してバンドメモリに描画する。1バンド分の描
画を終了すると、PDLインタープリタープログラム8
4はシステム全体制御プログラム93に対して「1バン
ド描画終了」のイベントを発行する。イベントを受けと
ったシステム全体制御プログラム93はデバイスドライ
バ86に「1バンド排紙」の要求イベントを発行する。
If the hard disk 519 does not exist, data cannot be stored. Therefore, the PDL interpreter program 84 is informed of the address and size of the data and a request is made to immediately execute the printout process. put out. Here, the description will be continued assuming that there is a hard disk. The overall system control program 93 judges the contents of the job, passes the spool file name to the PDL interpreter program 84, and requests activation. The PDL interpreter program 84 reads the CaPSL data from the spool file, interprets it, and draws figures, characters, and images in the band memory 518. If the CaPSL data contains image data that has been compressed and encoded, the PDL interpreter program 84 decompresses the image data in the standard compression / decompression unit 606 and draws it in the band memory. When drawing for one band is completed, PDL interpreter program 8
Reference numeral 4 issues an event of “1 band drawing end” to the system overall control program 93. The overall system control program 93 that has received the event issues a request event of "one-band paper ejection" to the device driver 86.

【0262】一方、バンドメモリ518からプリントア
ウトする場合には、「1バンド排紙」の要求イベントを
受けたデバイスドライバ86はインタフェースボード6
10Bを制御して指定したバブルジェットカラープリン
タ(BJプリンタ)656にてプリントを行う。メイン
CPUボード610のバンドメモり605に展開されて
いる1 バンドの画像データをバンドメモり653に転送
する。バンドメモリ653のデータはBJのヘッドに合
った走査形式で読み出されバッファ651を通して画像
処理部652に入る。ここでは予め設定したパラメータ
に従って処理がなされる。通常はバンドメモりにあるN
TSC−RGBをBJプリンタ656内部のRGBに変
換する処理を行う。そしてインタフェース618を通し
てBJプリンタ656のプリンタエンジン部へ送られ
る。BJプリンタ656への制御はCPU601からの
コマンドを解釈して、CPU611が行う。なお、65
0はデュアルポートRAMである。
On the other hand, in the case of printing out from the band memory 518, the device driver 86 which has received the request event of "1 band discharge" is the interface board 6
10B is controlled to print by the designated bubble jet color printer (BJ printer) 656. The image data of one band developed in the band memory 605 of the main CPU board 610 is transferred to the band memory 653. The data in the band memory 653 is read out in a scanning format suitable for the BJ head, and enters the image processing unit 652 through the buffer 651. Here, processing is performed according to preset parameters. N in the band memory
Processing for converting TSC-RGB to RGB inside the BJ printer 656 is performed. Then, it is sent to the printer engine section of the BJ printer 656 through the interface 618. The control of the BJ printer 656 is performed by the CPU 611 by interpreting a command from the CPU 601. 65
0 is a dual port RAM.

【0263】最終バンドまでこれらの処理を繰り返した
ら、PDLインタープリタープログラム84は「ドキュ
メント終了」イベントをシステム全体制御プログラム9
3に発行しプリントを終える。プリント終了の際、シス
テム全体制御プログラム93は必要ならば通信プログラ
ム83に「プリント終了」イベントを発行する。通信プ
ログラム83はホストコンピュータ側の通信プログラム
53に対しプリント終了を知らせる。
When these processes are repeated until the final band, the PDL interpreter program 84 sends a "document end" event to the system overall control program 9
Issue on 3 and finish printing. At the end of printing, the system-wide control program 93 issues a "print end" event to the communication program 83 if necessary. The communication program 83 notifies the communication program 53 on the host computer side of the end of printing.

【0264】また、エラー発生時には、例えばプリンタ
656が、紙詰まりを起こしたり、紙無しの状態になっ
た時には、デバイスドライバ86からシステム全体制御
プログラム93に対して「エラー発生」のイベントが送
られる。システム全体制御プログラム93はその旨をP
DLインタープリタープログラム84と通信プログラム
83に伝える。PDLインタープリタープログラム84
はプログラムの状態の退避などのエラー時の処理を行な
い、通信プリンタ83はエラーの発生や、その内容をホ
ストコンピュータ側の通信プログラム53に伝える。な
お、エラーが回復したかどうかを調べる方法は2つ考え
られる。一つは、ある一定期間毎にシステム全体制御プ
ログラム93がデバイスドライバ86に対して問い合わ
せて、デバイスドライバ86が答えるという方法。
When an error occurs, for example, when the printer 656 has a paper jam or is out of paper, the device driver 86 sends an "error occurrence" event to the overall system control program 93. . The overall system control program 93 indicates to that effect
Notify the DL interpreter program 84 and the communication program 83. PDL interpreter program 84
Performs processing at the time of error such as saving the state of the program, and the communication printer 83 notifies the communication program 53 on the host computer side of the occurrence of the error and its content. There are two possible methods for checking whether the error has been recovered. One is a method in which the system-wide control program 93 makes an inquiry to the device driver 86 at regular intervals and the device driver 86 responds.

【0265】もう一つは、システム全体制御プログラム
93がエラー回復を監視していて回復時にシステム全体
制御プログラム93に対して「エラー回復」のイベント
を発行するというものである。
The other is that the overall system control program 93 monitors the error recovery and issues an "error recovery" event to the overall system control program 93 at the time of recovery.

【0266】以下、異機種間でカラー画像の通信を行う
場合、単純にこれらの入出力機器を接続したのではお互
いの特性が異なり、最適な色再現が難しくなってしま
う。このため、現在では、各デバイス内では、固有の色
空間で、通信路上では標準の色空間で通信し合う方向で
検討が進んでいる。そこで、以下、このような要請の下
での色空間の変換処理方法について説明する。
In the following, when color images are communicated between different models, if these input / output devices are simply connected, the characteristics will be different and optimum color reproduction will be difficult. For this reason, at present, studies are being conducted in the direction of mutual communication in each device in a unique color space and in a standard color space on a communication path. Therefore, a color space conversion processing method under such a request will be described below.

【0267】なお、説明上、送信側の入力デバイスの色
空間をA、通信路上の色空間をB、受信プリンタの色空
間をCとする。
For the sake of explanation, it is assumed that the color space of the input device on the transmission side is A, the color space on the communication path is B, and the color space of the receiving printer is C.

【0268】また、通信路上の色空間は現在では比較的
知られている色空間、例えばカラー画像符号化で良く用
いられるYCrCb色空間の場合について説明する。
The color space on the communication path will now be described in the case of a relatively well-known color space, for example, the YCrCb color space often used in color image coding.

【0269】一方、送信側の色空間Aは、YCrCb色
空間と異なり色域が異なるのが一般的で、通常は両色空
間間を第(1)式のような形式で結合する。
On the other hand, the color space A on the transmitting side is generally different from the YCrCb color space and has a different color gamut, and normally, the two color spaces are connected in the form of the expression (1).

【0270】 [Ra] [a11 a12 a13][y] [Ga]=[a21 a22 a23][cr] [Ba] [a31 a32 a33][cb]……(1) ここで、Ra,Ga,Baは色空間Aの任意の1点の座
標(Ra,Ga,Ba)であり、対応するYCrCb色
空間上の1点を(y,cr,cb)とする。これらのす
べての色空間上で近似できるように、例えば最小2乗法
により、a11〜a33までの係数を求めて利用する。
従って、上記第(1)によりデバイスの入力色空間と通
信上の色空間化変換を行う。
[Ra] [a11 a12 a13] [y] [Ga] = [a21 a22 a23] [cr] [Ba] [a31 a32 a33] [cb] (1) Here, Ra, Ga, Ba Is the coordinates (Ra, Ga, Ba) of any one point in the color space A, and the corresponding one point in the YCrCb color space is (y, cr, cb). The coefficients a11 to a33 are obtained and used by, for example, the least squares method so that they can be approximated in all of these color spaces.
Therefore, the color space conversion for communication with the input color space of the device is performed by the above (1).

【0271】一方、通信路上の標準色空間から記録側の
色空間に変換する場合、いくつかの方法があるが、本実
施例では以下のように処理する。
On the other hand, when converting from the standard color space on the communication path to the color space on the recording side, there are several methods, but in this embodiment, the processing is performed as follows.

【0272】先ず、通信路上での標準色空間をYCrC
bとした場合、YCrCbからRGBに変換される。Y
CrCb空間は、NTSCと線形変換できるので、以
下、NTSC色空間として説明する。
First, the standard color space on the communication path is set to YCrC.
When it is set to b, YCrCb is converted into RGB. Y
Since the CrCb space can be linearly converted into the NTSC, it will be described below as the NTSC color space.

【0273】また、NTSC標準色空間は加法混色を基
本としているが、印刷は減方混色系が用いられる。従っ
て、加法混色と減方混色の変換が必要となる。この変換
は、構成が複雑で純粋に論理的に解決するのは非常に難
しい。そこで、本実施例では記録側の色空間に近い加法
混色系色空間を記録側の内部的標準色空間とする。ここ
では、NTSC色空間より、狭いHDTV(HighD
efinitionTV)色空間を記録側標準色空間D
とする。
Although the NTSC standard color space is based on additive color mixture, a subtractive color mixture system is used for printing. Therefore, it is necessary to convert additive color mixture and subtractive color mixture. This transformation is complex to construct and very difficult to solve purely logically. Therefore, in this embodiment, an additive color mixture type color space close to the color space on the recording side is used as the internal standard color space on the recording side. Here, the HDTV (HighD) is narrower than the NTSC color space.
definitionTV) standard color space D on the recording side
And

【0274】さらに、記録側内部標準色空間Dとデバイ
ス色空間Cとの関係は、下記第(2)で決定される。
Furthermore, the relationship between the recording side internal standard color space D and the device color space C is determined by the following (2).

【0275】 [Y] [A11 A12 A13][Rh] [M]=[A21 A22 A23][Gh] [C] [A31 A32 A33][Bh] [K] [A41 A42 A43] ……(2) ここで、Y,M,C,Kは印刷のための原色で、イエロ
ー,マゼンタ,シアン,ブラックの各成分である。R
h,Gh,Bhは記録側標準色空間成分である。また、
A11〜A43までは、印刷と記録内部標準色空間を複
数の点で関係付け、最小2乗法で計算される係数であ
る。
[Y] [A11 A12 A13] [Rh] [M] = [A21 A22 A23] [Gh] [C] [A31 A32 A33] [Bh] [K] [A41 A42 A43] (2) Here, Y, M, C, and K are primary colors for printing, and are yellow, magenta, cyan, and black components. R
h, Gh, and Bh are recording side standard color space components. Also,
A11 to A43 are coefficients calculated by the least-squares method by relating the printing and the recording internal standard color space at a plurality of points.

【0276】また、通信路上の標準色空間と記録内部の
標準色空間は下記のように変換する。
The standard color space on the communication path and the standard color space inside the recording are converted as follows.

【0277】通信回線上のNTSC標準色空間は基礎刺
激からNTSCが表現できる色間の3次元的最外郭面代
表情報を求める。同様にして、記録側内部標準色空間H
DTVの最外郭面の代表位置情報も得られる。
The NTSC standard color space on the communication line seeks three-dimensional outermost surface representative information between colors that can be expressed by NTSC from basic stimuli. Similarly, the recording side internal standard color space H
Representative position information of the outermost surface of the DTV can also be obtained.

【0278】今、NTSC色空間上の1点(Rn,G
n,Bn)からHDTV色空間の対応点(Rh,Gh,
Bh)を求める場合は、Rn,Gn,BnからCIEL
*** 変換し、Ln,an,bnとする。同様にし
て、Rh,Gh,BhからCIEL*** 変換し、
Lh,ah,bhとする。Ln一定でθ=atan(a
n/bn)に近いHDTV,NTSC各色空間上の最外
郭近似位置を前述テーブルから求める。そのNTSC最
外郭面位置を(Lon,aon,bon),HDTV最
外郭面位置を(Lon,aoh,boh)とすると、a
h,bhは下記第(3)式により決定される。
Now, one point (Rn, G
n, Bn) to corresponding points (Rh, Gh,
Bh) is calculated from Rn, Gn, Bn to CIEL
* a * b * conversion to Ln, an, bn. Similarly, Rh, Gh, Bh are converted into CIE L * a * b * ,
Lh, ah, bh. Θ = atan (a with Ln constant
The outermost approximate position on the HDTV and NTSC color spaces close to (n / bn) is obtained from the above table. If the NTSC outermost contour surface position is (Lon, aon, bon) and the HDTV outermost contour surface position is (Lon, aoh, boh), then a
h and bh are determined by the following equation (3).

【0279】ah=(aoh/aon)* an bh=(boh/bon)* bn ……(3) これらのah,bhが色空間圧縮後のHDTV色空間上
での対応位置である。従って、NTSC色空間上の任意
の1点(Rn,Gn,Bn)は、記録側標準色空間上で
は、(Rh,Gh,Bn)に変換される。従って、上述
(2)式により印刷すべきY,M,C,Kの各成分量が
決定され、印刷可能となる。
Ah = (aoh / aon) * an bh = (boh / bon) * bn (3) These ah and bh are corresponding positions in the HDTV color space after color space compression. Therefore, an arbitrary point (Rn, Gn, Bn) on the NTSC color space is converted to (Rh, Gh, Bn) on the recording side standard color space. Therefore, the amount of each component of Y, M, C, and K to be printed is determined by the equation (2), and printing becomes possible.

【0280】なお、本実施例では記録側内部に標準色空
間を設けているが、これは通信回線上での標準色空間は
1つに絞られていないためである。従って、複数の標準
色空間が使用される可能性がある。その場合でも、本方
式を用いていれば通信上の色空間がNTSC色空間でな
くともそれ自身の色空間を規定できるものであれば、上
記方法により標準色空間変換が可能となる。
In the present embodiment, the standard color space is provided inside the recording side, but this is because the standard color space on the communication line is not limited to one. Therefore, multiple standard color spaces may be used. Even in that case, if the present method is used and the color space on communication is not the NTSC color space and the color space of itself can be defined, the standard color space conversion can be performed by the above method.

【0281】以下、図35を参照しながら周辺機器の異
常処理について説明する。
The abnormality processing of the peripheral equipment will be described below with reference to FIG.

【0282】図35は本発明に係るサーバー装置とのネ
ットワークシステムの構成を説明するブロック図であ
る。
FIG. 35 is a block diagram for explaining the structure of the network system with the server device according to the present invention.

【0283】ジョブ実行中に周辺機器に異常が発生した
場合、S/Pサーバー装置SP1664は異常が発生し
た周辺機器が異常から回復するまで待つのではなく、そ
の状態で実行可能なジョブを優先的に実行していく( 実
行可能なジョブに関しては、後述する) 。また、異常が
発生したときに異常が発生した周辺機器に対して実行し
ていたジョブ( 以下エラージョブともいう) を、ジョブ
再開のために必要な情報を保存した後に、実行時にエラ
ーが発生した処理待ちのジョブとしてS/Pサーバー装
置SP1664内に登録することにより、異常が発生し
た周辺機器が異常から回復した後にジョブを再開するこ
とが可能である。エラージョブを再開可能なように登録
するか登録しないかは、発生した異常の程度や、SPサ
ーバーの設定による。
When an abnormality occurs in a peripheral device during job execution, the S / P server device SP1664 does not wait until the abnormal peripheral device recovers from the abnormality, but gives priority to a job that can be executed in that state. (The jobs that can be executed will be described later). In addition, an error occurred at the time of execution of a job (hereinafter also referred to as an error job) that was being executed for the peripheral device in which the error occurred when the error occurred, after saving the information required to restart the job. By registering in the S / P server device SP1664 as a job waiting for processing, it is possible to restart the job after the peripheral device in which the abnormality has occurred recovers from the abnormality. Whether or not to register the error job so that it can be restarted depends on the degree of the abnormality that has occurred and the setting of the SP server.

【0284】例としてサーバー装置に3台のコンピュー
タ661〜663および2台のカラースキャナプリンタ
665,666および1台のスキャナ667が接続され
ている場合で説明する。
As an example, a case where three computers 661 to 663, two color scanner printers 665 and 666, and one scanner 667 are connected to the server device will be described.

【0285】カラースキャナプリンタ665,666
は、各々プリントとスキャンのジョブを処理することが
出来る。以下、図36に示すフローチャートを参照しな
がら異常発生ジョブ処理動作について説明する。S/P
サーバー装置664図36は本発明に係るサーバー装置
における異常発生ジョブ処理手順の一例を示すフローチ
ャートである。なお、(1) 〜(10)は各ステップを示す。
Color scanner printers 665 and 666
Can process print and scan jobs respectively. The abnormality job processing operation will be described below with reference to the flowchart shown in FIG. S / P
Server Device 664 FIG. 36 is a flow chart showing an example of an abnormality occurrence job processing procedure in the server device according to the present invention. In addition, (1) to (10) indicate each step.

【0286】例えばホストコンピュータ661がカラー
スキャナプリンタ665に対するプリントジョブをS/
Pサーバー装置664に依頼して実行しており、ホスト
コンピュータ662がシステム全体制御プログラム93
にプリントジョブを依頼して処理待ちになっており、ホ
ストコンピュータ663がシステム全体制御プログラム
93にスキャンジョブを依頼して処理待ちになっていた
とする。このプリントジョブ実行中にカラースキャナプ
リンタ665のプリンタ部分に異常が発生したとすると
(1) 、この時、まずS/Pサーバー装置664はカラー
スキャナプリンタ665に発生した異常が回復困難な異
常かどうかを調べる(2) 。カラースキャナプリンタ66
5に発生した異常が回復困難な異常であるとS/Pサー
バー装置SP1が判断した場合、S/Pサーバー装置S
P1は直ちにエラージョブを放棄し(10)、次の処理可能
なジョブを選択し実行する(9) 。
For example, the host computer 661 sends a print job for the color scanner printer 665 to S / S.
It is requested to the P server apparatus 664 and executed, and the host computer 662 executes the system overall control program 93.
It is assumed that the print job is requested and is waiting for processing, and the host computer 663 is requesting the scan job to the entire system control program 93 and waiting for processing. If an error occurs in the printer portion of the color scanner printer 665 during execution of this print job.
(1) At this time, first, the S / P server device 664 checks whether or not the abnormality that has occurred in the color scanner printer 665 is an abnormality that is difficult to recover (2). Color scanner printer 66
If the S / P server apparatus SP1 determines that the abnormality that occurred in 5 is an abnormality that is difficult to recover, the S / P server apparatus S
P1 immediately discards the error job (10), selects the next processable job and executes it (9).

【0287】なお、本実施例において、処理可能なジョ
ブとは、現在異常が発生しているカラースキャナプリン
タ665に対するプリントジョブ以外のジョブ、すなわ
ち、 ・カラースキャナプリンタ665に対するスキャンジョ
ブ ・カラースキャナプリンタ666に対するプリントジョ
ブ ・カラースキャナプリンタ666に対するスキャンジョ
ブ ・カラースキャナプリンタ667に対するスキャンジョ
ブ である。
In the present embodiment, the jobs that can be processed are jobs other than the print job for the color scanner printer 665 in which an abnormality is currently occurring, namely, a scan job for the color scanner printer 665, and a color scanner printer 666. Print job for color scanner printer 666. Scan job for color scanner printer 667.

【0288】処理可能なジョブが複数ある場合は、後述
する方式に従ってジョブを実行する。
When there are a plurality of jobs that can be processed, the jobs are executed according to the method described later.

【0289】カラースキャナプリンタ665に発生した
異常が回復困難な異常であるとS/Pサーバー装置66
4が判断しなかった場合、S/Pサーバー装置664は
カラースキャナプリンタ665に対してリトライ処理
(図37参照)を行なう。
If the abnormality occurred in the color scanner printer 665 is an abnormality that is difficult to recover, the S / P server device 66
4 does not determine, the S / P server device 664 performs a retry process (see FIG. 37) for the color scanner printer 665.

【0290】リトライは、事前に定めておいたN回( 例
えば5回) まで繰り返し行なわれる(3) 。N回のリトラ
イを行なうまでにカラースキャナプリンタ665が異常
状態から回復した( リトライに成功した) 場合、ジョブ
を再開する(6) 。N回のリトライを行なってもカラース
キャナプリンタ665が異常状態から回復しなかった(
リトライに失敗した) 場合、S/Pサーバー装置664
は他の処理可能なジョブがあるかどうかを調べる(4) 。
処理可能なジョブがなかった場合、S/Pサーバー装置
664はリトライ回数とは別に定めておいたM回( 例え
ば1回) のリトライを行ない(5) 、リトライに成功した
ならば、エラージョブを再開する。リトライに失敗した
場合は、再び処理可能なジョブがあるかどうかを調べる
(4) 。処理可能なジョブがあった場合、S/Pサーバー
装置664はエラージョブのジョブ退避を行ない(7) 、
エラージョブを実行途中でエラーが発生したジョブとし
て登録し(8) 、次の処理可能なジョブを実行する(9) 。
Retries are repeated up to N times (for example, 5 times), which is set in advance (3). If the color scanner printer 665 recovers from the abnormal state (successful retries) before retrying N times, the job is restarted (6). The color scanner printer 665 did not recover from the abnormal state even after retrying N times (
If the retry fails), S / P server device 664
Checks to see if there are other jobs available (4).
If there is no job that can be processed, the S / P server device 664 retries M times (for example, once) that is defined separately from the number of retries (5), and if the retries succeed, an error job is issued. Resume. If the retry fails, check if there are jobs that can be processed again.
(Four) . When there is a processable job, the S / P server device 664 saves the error job (7),
Register the error job as a job in which an error occurred during execution (8), and execute the next processable job (9).

【0291】なお、本実施例において、ジョブ退避と
は、エラージョブ実行時のS/Pサーバー装置664の
状態情報などのジョブ再開時に必要な情報を、例えば記
憶手段( 例えばハードディスク) や、例えばS/Pサー
バー装置内のメモりや、例えばS/Pサーバー装置内の
プログラムなどに保存する処理である。
In the present embodiment, the job saving means information necessary for restarting the job such as status information of the S / P server device 664 at the time of executing an error job, for example, storage means (eg hard disk) or S. This is a process of storing in a memory in the / P server device or a program in the S / P server device.

【0292】図37は本発明に係るサーバー装置におけ
るリトライ処理手順の一例を示すフローチャートであ
る。なお、(1) 〜(5) は各ステップを示す。
FIG. 37 is a flow chart showing an example of a retry processing procedure in the server device according to the present invention. It should be noted that (1) to (5) indicate each step.

【0293】リトライ処理とは、事前に定めておいた時
間( 例えば30秒) 待機した後に(1) 、異常が発生した
周辺機器が異常状態から回復したかどうかを調べ(2) 、
ある一定回数X(例えば5回)繰り返す(3) 。一定回数
繰り返すまでに異常が発生した周辺機器が異常状態から
回復していればリトライは成功であり(5) 、回復しなけ
ればリトライは失敗となる(4) 。
The retry process is to wait for a predetermined time (for example, 30 seconds) (1), and then check whether the peripheral device in which the abnormality has occurred has recovered from the abnormal state (2).
Repeat a certain number of times X (for example, 5 times) (3). The retry is successful if the peripheral device in which the abnormality has occurred is recovered from the abnormal state by repeating a certain number of times (5), and if it is not recovered, the retry fails (4).

【0294】以下、本発明に係るサーバー装置によるマ
ルチプリント制御動作について詳述する。
The multi-print control operation by the server device according to the present invention will be described in detail below.

【0295】スキャナ/プリンタネットワークサーバー
(SPネットワークサーバー)には、スキャナとプリン
タとから構成されるカラーレーザビーム複写装置(CL
C),スキャナとプリンタとから構成されるバブルジェ
ットカラー複写装置(BJC),標準インタフェースで
接続されているビットマッププリンタ,PDLプリンタ
(CaPSL,PS),市販されるスキャナ等多くのデ
バイスが接続可能になっている。また、ネットワーク上
のホストマシンからは、これらのデバイスを自由に使用
させるため、以下のように各ジョブを制御している。
The scanner / printer network server (SP network server) includes a color laser beam copying machine (CL) including a scanner and a printer.
C), bubble jet color copying machine (BJC) consisting of scanner and printer, bitmap printer connected with standard interface, PDL printer (CaPSL, PS), commercially available scanner and many other devices can be connected It has become. Also, in order to allow these devices to be used freely from the host machine on the network, each job is controlled as follows.

【0296】例えばホストコンピュータAからカラーレ
ーザビーム複写装置に10頁のドキュメントを出力する
要求がSPネットワークサーバーに送られ、さらにホス
トコンピュータBからバブルジェットカラー複写装置
(BJC)のスキャナからカラー原稿を入力する要求が
発生し、さらにホストコンピュータCからPDLプリン
タに出力するという要求が発生するといった事態も想定
される。このように、ネットワーク上のホストコンピュ
ータからは、様々な要求がSPネットワークサーバーに
送られ、SPネットワークサーバーでは、それらの要求
(ジョブ)に対処するべく下記のようなジョブ制御を実
行する。なお、本実施例ではプリント要求,スキャン要
求をジョブと呼ぶ。例えばカラーレーザビーム複写装置
(CLC)のプリンタにCaPSLコードで記述された
3頁のドキュメントを出力する要求を1つのジョブと考
える。SPネットワークサーバーのジョブ制御では、同
時に2つまでのジョブしか走らないようにするが、3つ
以上のジョブが走る場合も制御を拡張することによりほ
ぼ同様に制御できる。
For example, a request to output a 10-page document is sent from the host computer A to the color laser beam copying apparatus to the SP network server, and a color original is input from the host computer B from the scanner of the bubble jet color copying apparatus (BJC). It is assumed that the host computer C further requests to output to the PDL printer. As described above, various requests are sent from the host computer on the network to the SP network server, and the SP network server executes the following job control in order to handle those requests (jobs). In this embodiment, a print request and a scan request are called a job. For example, consider a request to output a 3-page document described in CaPSL code to a printer of a color laser beam copying machine (CLC) as one job. In the job control of the SP network server, only two jobs are allowed to run at the same time. However, when three or more jobs are run, the control can be extended to achieve almost the same control.

【0297】以下、図38を参照しながら本発明に係る
サーバー装置におけるジョブ制御動作について説明す
る。
The job control operation in the server device according to the present invention will be described below with reference to FIG.

【0298】図38は本発明に係るサーバー装置におけ
るジョブ制御状態を説明するタイミングチャートであ
る。なお、ジョブの処理は、SPネットワークサーバー
がスプール用のハードディスクを備えているかどうかに
より、図38の(a)〜(e)の何れかのジョブ制御1
〜5に大別される。また、説明上ジョブ1,2は3頁の
プリント要求または3頁のスキャン要求とする。 〔ジョブ制御1〕ジョブ制御1は、同図(a)に示すよ
うに、先に要求のあったジョブを実行して、次のジョブ
2は、ハードディスクにスプールして、ジョブが終了し
た時点でジョブ2を起動する。 〔ジョブ制御2〕ジョブ制御2は、同図(b)に示すよ
うに、特殊な場合であるが、1つのジョブで2つ以上の
デバイスを動かす場合の制御に対応する。例えばメモリ
に展開した画像をカラーレーザビーム複写装置(CL
C),バブルジェットカラー複写装置(BJC)にも出
力する場合である。 〔ジョブ制御3〕ジョブ制御3は、同図(c)に示すよ
うに、ジョブの中にページという概念をいれる。この場
合、プリントの場合にはドキュメントのページ単位、ス
キャナの場合には1ページの原稿のスキャンの単位とす
る。例えばジョブ1を実行中にジョブ2の要求がきた場
合には、ジョブ1をページの切れ目で中断して、ジョブ
2を行う。この場合、ジョブ1とジョブ2とは同時に動
いていることはない。 〔ジョブ制御4〕ジョブ制御4は、同図(d)に示すよ
うに、ジョブ1を実行中にジョブ2の要求がきた場合
は、ジョブ1を実行したまま、直ちにジョブ2を実行す
る。 〔ジョブ制御5〕ジョブ制御5は、同図(e)に示すよ
うに、ジョブ1を実行中にジョブ2の要求がきた場合
は、ジョブ2をリジェクトする。
FIG. 38 is a timing chart for explaining the job control state in the server device according to the present invention. Note that the job processing depends on whether the SP network server has a hard disk for spooling, and the job control 1 according to any one of (a) to (e) in FIG.
Broadly divided into ~ 5. For the sake of explanation, jobs 1 and 2 are requested to print three pages or to scan three pages. [Job Control 1] As shown in FIG. 4A, the job control 1 executes the job requested first, and the next job 2 spools on the hard disk, and when the job is finished, Start job 2. [Job Control 2] Job control 2 is a special case, as shown in FIG. 2B, but corresponds to control when two or more devices are moved by one job. For example, a color laser beam copying machine (CL
C), the case of outputting to the bubble jet color copying machine (BJC). [Job Control 3] The job control 3 includes the concept of page in the job as shown in FIG. In this case, in the case of printing, the page unit of a document is used, and in the case of a scanner, the unit of scanning one page of a document is used. For example, when a request for job 2 is received while executing job 1, job 2 is interrupted at a page break and job 2 is executed. In this case, job 1 and job 2 do not move at the same time. [Job Control 4] As shown in FIG. 4D, the job control 4 immediately executes the job 2 while the job 1 is being executed when a request for the job 2 is received while the job 1 is being executed. [Job Control 5] As shown in FIG. 7E, the job control 5 rejects the job 2 when a request for the job 2 is received while the job 1 is being executed.

【0299】なお、図1に示したサーバー装置の構成の
場合には、ジョブの種類が下記の(1)〜(7)に分類
される。
In the case of the configuration of the server device shown in FIG. 1, the types of jobs are classified into the following (1) to (7).

【0300】(1)カラーレーザビーム複写装置(CL
C)のプリンタにドキュメントを出力する。
(1) Color laser beam copying machine (CL
The document is output to the printer of C).

【0301】(2)カラーレーザビーム複写装置(CL
C)のスキャナから原稿を読み取る。
(2) Color laser beam copying machine (CL
The original is read by the scanner of C).

【0302】(3)バブルジェットカラー複写装置(B
JC)のプリンタにドキュメントを出力する。
(3) Bubble jet color copying machine (B
JC) output the document to the printer.

【0303】(4)バブルジェットカラー複写装置(B
JC)のスキャナから原稿を読み取る。
(4) Bubble jet color copying machine (B
Read the document from the JC) scanner.

【0304】(5)市販のページ記述言語のインタプリ
タを内蔵するプリンタに出力する。 (6)市販のビットマッププリンタにドキュメントを出
力する。
(5) Output to a printer that has a commercially available page description language interpreter. (6) Output the document to a commercially available bitmap printer.

【0305】(7)市販のスキャナから原稿を読み取
る。
(7) The original is read by a commercially available scanner.

【0306】以下、各ジョブの優先順位処理について説
明する。
The priority processing of each job will be described below.

【0307】例えばスキャンのジョブを至急行いたい
時、プリントジョブが実行中ならば、プリントジョブを
中断して、スキャナジョブを行うことができるように、
本実施例では優先順位0〜2の3段階の指定可能であ
り、優先順位0が指定なし(ファーストインファースト
アウト)の場合、優先順位1がジョブ単位で優先割込み
指定ありの場合、優先順位2がページ単位で優先割込み
指定する場合である。 以下、図39を参照しながら本
発明に係るサーバー装置におけるSPマネージャー制御
動作について説明する。
For example, when a scan job is to be performed immediately and a print job is being executed, the print job can be interrupted and the scanner job can be performed.
In this embodiment, three levels of priority 0 to 2 can be specified. If priority 0 is not specified (first in first out), priority 1 is per job and priority interrupt is specified. Is a case where priority interrupt is designated in page units. The SP manager control operation in the server device according to the present invention will be described below with reference to FIG.

【0308】図39は本発明に係るサーバー装置におけ
るシステム全体制御プログラム93の制御処理状態を示
す図である。本実施例において、システム全体制御プロ
グラム93は、主としてホストコンピュータから送出さ
れてくるジョブの優先順位,ジョブの種類を参照してプ
リンタのジョブを最適に制御する。以下、図面に基づい
て、SPネットワークサーバに対して、ネットワーク上
のホストコンピュータから様々な要求が送出される場合
のジョブ管理について説明する。
FIG. 39 is a diagram showing a control processing state of the system overall control program 93 in the server device according to the present invention. In the present embodiment, the overall system control program 93 optimally controls the job of the printer by referring to the priority of the job and the type of the job sent from the host computer. Job management in the case where various requests are sent from the host computer on the network to the SP network server will be described below with reference to the drawings.

【0309】先ず、各プログラムの概念的な構成を説明
すると、図39に示すように、通信に関する通信プログ
ラム83,SPネットワークサーバーの全体を制御する
システム全体制御プログラム93,スキャナに関するプ
ログラムのスキャナ制御プログラム85,プリント処理
(CaPSLのインタプリタ)に関するプログラムのP
DLインタープリタープログラム84,入出力機器を実
際に制御するデバイスドライバ86の5つのプログラム
に大きく分けられる。さらに、実際にデータが流れるイ
ンタフェースとして、バンドメモリ(BMEM)70−
1,セントロニクスインタフェース(CENTR)70
−2,RS232Cインタフェース(RS232)70
−3があり、これらをシステム全体制御プログラム93
が管理する構成となっている。
First, the conceptual structure of each program will be described. As shown in FIG. 39, a communication program 83 for communication, an overall system control program 93 for controlling the entire SP network server, and a scanner control program for a scanner program. 85, P of the program related to print processing (CaPSL interpreter)
The program is roughly divided into five programs: a DL interpreter program 84 and a device driver 86 that actually controls the input / output devices. Further, as an interface through which data actually flows, a band memory (BMEM) 70-
1, Centronics Interface (CENTR) 70
-2, RS232C interface (RS232) 70
-3, and these are the whole system control program 93
Is managed by.

【0310】システム全体制御プログラム93は基本的
に他の4つのプログラムからのイベントにより動く、イ
ベント駆動型の処理を図40に示すフローチャートに従
って実行する。
The system-wide control program 93 basically executes an event-driven process which is driven by events from the other four programs, according to the flow chart shown in FIG.

【0311】図40は、図39に示したシステム全体制
御プログラム93のイベント処理手順の一例を示すフロ
ーチャートである。なお、(1) 〜(9) は各ステップを示
す。
FIG. 40 is a flow chart showing an example of an event processing procedure of the system overall control program 93 shown in FIG. Note that (1) to (9) indicate each step.

【0312】先ず、SPネットワークサーバーの電源投
入時にシステム全体制御プログラム93は起動し、すぐ
にイベント待ちの無限ループになる。プログラムが走り
出すと、イベント待ちの状態になる(1) 。イベントか入
力されるとループから抜け出し、もし、そのイベントが
通信プログラム83からのものかどうかを判定し(2)、
YESならばイベントに応じた処理を行なう(3) 。そし
て、またステップ(1)に戻りイベント待ちのループにな
る。
First, the system overall control program 93 is activated when the power of the SP network server is turned on, and immediately enters an infinite loop waiting for an event. When the program starts running, it waits for an event (1). When an event is input, it exits the loop and determines if the event is from the communication program 83 (2),
If YES, the process according to the event is performed (3). Then, the process returns to step (1) and the loop waits for an event.

【0313】一方、ステップ(2) の判定でNOの場合
は、そのイベントの発行先がPDLインタープリタープ
ログラム84のプリントジョブかどうかを判定し(4) 、
YESならばイベントに応じた処理を行なう(5) 。
On the other hand, if the determination in step (2) is NO, then it is determined whether the event is issued to a print job of the PDL interpreter program 84 (4),
If YES, the process according to the event is performed (5).

【0314】一方、ステップ(4) の判定でNOの場合
は、そのイベントの発行先がスキャナ制御プログラム8
5のスキャナジョブかどうかを判定し(6) 、YESなら
ばイベントに応じた処理を行なう(7) 。
On the other hand, if the determination in step (4) is NO, the event issuance destination is the scanner control program 8
It is determined whether the job is a scanner job of No. 5 (6), and if YES, processing according to the event is performed (7).

【0315】一方、ステップ(6) の判定でNOの場合
は、そのイベントの発行先がデバイスドライバ86から
かどうかを判定し(8) 、NOならばステップ(1) に戻
り、YESならばイベントに応じた処理を行い(9) 、ス
テップ(1) に戻る。
On the other hand, if the decision in step (6) is NO, it is decided whether the event is issued from the device driver 86 (8). If NO, the process returns to step (1), and if YES, the event (9) and returns to step (1).

【0316】一方、通信プログラム83からは、カラー
レーザ複写装置(CLC)のプリントに関するジョブ
や、バブルジェットカラー複写装置のスキャナに関する
ジョブ等、いろいろなジョブの要求が不定期的にシステ
ム全体制御プログラム93に送られる。それら複数のジ
ョブを資源の許す限り最適に振り分けなければならな
い。以下そのアルゴリズムについて図41を参照しなが
ら説明する。
On the other hand, from the communication program 83, various system requests such as a job related to printing of a color laser copying machine (CLC) and a job related to a scanner of a bubble jet color copying apparatus are irregularly requested, and the entire system control program 93 is sent. Sent to. These multiple jobs must be optimally distributed as resources permit. The algorithm will be described below with reference to FIG.

【0317】図41は本発明に係るサーバー装置におけ
るジョブの管理状態を示す図である。
FIG. 41 is a diagram showing a job management state in the server device according to the present invention.

【0318】この図に示されるように、ジョブの管理に
はジョブテーブルを使用する。ジョブテーブルには、ジ
ョブを識別するためのID、ジョブの状態を示すステー
タス、ジョブの実行の優先順位、ジョブの種類、終了ペ
ージ、そして割り込みジョブIDがある。
As shown in this figure, a job table is used to manage jobs. The job table has an ID for identifying a job, a status indicating a job state, a job execution priority, a job type, an end page, and an interrupt job ID.

【0319】IDはシリアルの番号で、ジョブの要求の
受け付け順と考えて良い。ステータスには、実行中を示
すRUN、処理を待っているWAIT、割り込みが入っ
て中断していることを示すSTOP,エラーが発生して
回復待ちを示すESTOPがある。優先順位はLEVE
L0から2まであり0は「指定なし」で通常はこのレベ
ルを指定する。1は「ジョブ単位で優先割り込み」で幾
つかのジョブが待ち状態の時、それらのジョブより優先
して処理するというものである。また2は「ページ単位
で割り込み」を表し、現在ジョブを処理中でも、ページ
の切れ目であればそのジョブを中断してLEVEL2の
ジョブを処理する。
The ID is a serial number and can be considered as the order of accepting job requests. The status includes RUN indicating execution, WAIT waiting for processing, STOP indicating interruption due to interruption, and ESTOP indicating wait for recovery when an error occurs. Priority is LEVE
There are L0 to 2, and 0 is "not specified", and this level is usually specified. 1 is a "priority interrupt for each job", and when some jobs are in a waiting state, they are processed with priority over those jobs. Further, 2 represents “interrupt in page units”, and even if a job is currently being processed, if the page breaks, the job is interrupted and the LEVEL2 job is processed.

【0320】インタフェースは、図39に示すようにそ
のジョブが使用するハードウェアを指し、ジョブ同士が
排他的にハードウェアを利用可能にするために設けたも
のである。また,ジョブはカラーレーザ複写装置(CL
C)のプリンタからドキュメントを出力するCLCP、
カラーレーザ複写装置(CLC)のスキャナから原稿を
読みとるCLCS、バブルジェットカラー複写装置のプ
リンタにドキュメントを出力するBJP、バブルジェッ
トカラー複写装置のスキャナから原稿を読みとるBJ
S、市販のページ記述言語のインタプリタを内蔵するプ
リンタに出力するPDLP、市販のビットマッププリン
タにドキュメントを出力するBITP、市販のスキャナ
から原稿を読みとる等のジョブがある。なお、終了ペー
ジにはジョブが処理し終ったページ数を記録しておく。
これは、もしエラーが起こった時にエラー回復後、どの
ページから処理を再開すれば良いかの判断に使われる。
また最後の割り込みジョブIDは、割り込んだジョブが
終了しているかの判断に使われ、終了していれば、ST
OP中のジョブを再開する。
The interface refers to the hardware used by the jobs as shown in FIG. 39, and is provided so that the jobs can exclusively use the hardware. Also, the job is a color laser copying machine (CL
CLCP to output the document from the printer of C),
CLCS that reads a document from a scanner of a color laser copying device (CLC), BJP that outputs a document to a printer of a bubble jet color copying device, and BJ that reads a document from a scanner of a bubble jet color copying device
S, PDLP that outputs to a printer that has a commercially available page description language interpreter, BITP that outputs a document to a commercially available bitmap printer, and a job that reads an original from a commercially available scanner. The number of pages processed by the job is recorded in the end page.
This is used to judge which page should be restarted when an error occurs after error recovery.
The last interrupt job ID is used to judge whether the interrupted job is completed. If it is completed, ST
Resume the job in OP.

【0321】システム全体制御プログラム93は以上の
ような情報の格納されたジョブテーブルを参照しなが
ら、次にどのジョブを起動するかを最適に判断する。
The overall system control program 93 optimally determines which job is to be started next with reference to the job table in which the above information is stored.

【0322】以下、図42に示すフローチャートを参照
しながら本発明に係るサーバー装置におけるジョブ実行
処理動作について説明する。
The job execution processing operation in the server device according to the present invention will be described below with reference to the flowchart shown in FIG.

【0323】図42は本発明に係るサーバー装置におけ
るジョブ実行処理手順の一例を示すフローチャートであ
る。なお、(1) 〜(6) は各ステップを示す。
FIG. 42 is a flow chart showing an example of the job execution processing procedure in the server device according to the present invention. Note that (1) to (6) indicate each step.

【0324】なお、このフローに制御が移るタイミング
は、次のようになる。システム全体制御プログラム9
3にイベントが入らずアイドル状態の時にある一定の間
隔をおいてこのフローに移る。そして、ジョブテーブル
にジョブがなければまたアイドル状態になる。通信プ
ログラム83からのイベントがあった時。PDLイン
タープリタープログラム84,スキャナ制御プログラム
85から、ページ終了のイベントまたはドキュメント終
了のイベントがあった時。デバイスドライバ86から
エラー等のイベントがあった時。
The timing at which control moves to this flow is as follows. Overall system control program 9
When there is no event in 3 and it is in the idle state, the flow moves to this flow after a certain interval. Then, if there is no job in the job table, it becomes idle again. When there is an event from the communication program 83. When a page end event or a document end event is received from the PDL interpreter program 84 or scanner control program 85. When there is an event such as an error from the device driver 86.

【0325】先ず、ステップ(1) において、図41に示
すジョブテーブルを参照する。次いで、ステップ(2) に
おいてジョブがあるかどうかの判断をする。実行すべき
ジョブがない時にはステップ(7) に移り、システム全体
制御プログラム93はアイドル状態になる。実行すべき
ジョブがある場合にはステップ(3) で実行可能なジョブ
の候補を幾つか選び、ステップ(4) で候補に上がったジ
ョブの優先順位を見て一つのジョブに絞る。さらに、ス
テップ(5) でその絞り込まれたジョブが使用するインタ
フェースが空いているかを判断する。ステップ(6) で実
際にジョブを実行し、処理を終了する。
First, in step (1), the job table shown in FIG. 41 is referred to. Then, in step (2), it is determined whether there is a job. When there is no job to be executed, the process proceeds to step (7) and the system overall control program 93 becomes idle. If there are jobs to be executed, select some of the jobs that can be executed in step (3) and narrow down to one job by checking the priority of the jobs that have been selected as candidates in step (4). Further, in step (5), it is determined whether the interface used by the narrowed-down job is free. In step (6), the job is actually executed and the processing ends.

【0326】以下、図43に示すフローチャートを参照
しながら本発明に係るサーバー装置におけるステータス
チェック処理動作について説明する。
The status check processing operation in the server device according to the present invention will be described below with reference to the flowchart shown in FIG.

【0327】図43は本発明に係るサーバー装置におけ
るステータスチェック処理手順の一例を示すフローチャ
ートである。なお、(1) 〜(14)は各ステップを示す。
FIG. 43 is a flow chart showing an example of the status check processing procedure in the server device according to the present invention. In addition, (1) to (14) indicate each step.

【0328】先ず、ステップ(1) でジョブテーブルから
一つのジョブのステータスを読みとる。ステップ(2) で
ジョブのステータスがRUNかどうかを判断し、RUN
ならばステップ(14)に移りジョブテーブルのジョブをす
べて読みとったかを判断する。もし、まだジョブが残っ
ていればステップ(1) で次のジョブのステータスを読み
に行く。RUNでなければステップ(3) に移る。ステッ
プ(3) ではジョブのステータスがWAITかどうかの判
断をする。WAITならばステップ(4) で実行可能なジ
ョブの候補としてピックアップする。そしてステップ(1
4)に移る。WAITでない場合には、ステップ(5) に移
り今度はステータスがESTOPかどうかの判断をす
る。もし、このジョブのステータスがESOPならば、
エラーを起こして中断しているので、ステップ(6) でこ
のジョブを中断した原因のエラーが回復しているかどう
かのチェックを行なう。ステップ(7) はエラー中か、そ
うでないかの判断の分岐になる。まだエラーの場合には
実行可能なジョブの候補にはピックアップせずにステッ
プ(14)に移る。エラーが回復している場合には、そのジ
ョブのステータスをESTOPからWAITにジョブテ
ーブルを書き換える。そしてステップ(9) で実行可能な
ジョブの候補としてピックアップする。またステップ
(5) でステータスがESTOPではないと判断された場
合には、他のジョブに割り込まれて中断しているSTO
Pの状態なので、ステップ(10)で割り込んだジョブのス
テータスをチェックする。ステップ(11)では割り込んだ
ジョブが実行中かどうかの判断をする。実行中ならば実
行可能なジョブの候補にはピックアップせずにステップ
(14)に移る。もし、実行中でなければステップ(12)に移
り、そのジョブのステータスをSTOPからWAITに
ジョブテーブルを書き換える。そして、ステップ(13)で
実行可能なジョブとしてピックアップする。最後に、す
べてのジョブをジョブテーブルから読み終ったら(14)、
ステータスのチェックは終了する。このようにして実行
可能なジョブの候補が複数選ばれる。
First, in step (1), the status of one job is read from the job table. In step (2), determine whether the job status is RUN and
If so, it moves to step (14) to judge whether all the jobs in the job table have been read. If there are more jobs left, go to step (1) to read the status of the next job. If it is not RUN, go to step (3). In step (3), it is judged whether the job status is WAIT. If it is WAIT, it is picked up as a candidate for the executable job in step (4). And step (1
Go to 4). If it is not WAIT, the process moves to step (5), and this time it is judged whether the status is ESTOP. If the status of this job is ESOP,
Since it caused an error and was interrupted, in step (6) it is checked whether the error that caused this job to be interrupted has been recovered. Step (7) is a branch for determining whether an error is occurring or not. If there is still an error, the process proceeds to step (14) without picking up a job candidate that can be executed. When the error is recovered, the status of the job is rewritten from ESTOP to WAIT in the job table. Then, it is picked up as a job candidate that can be executed in step (9). Again step
If it is determined in (5) that the status is not ESTOP, the STO is interrupted by another job and suspended.
Since the status is P, the status of the job interrupted in step (10) is checked. In step (11), it is judged whether the interrupted job is being executed. If it is running, step without picking up as a candidate for a job that can be executed
Move on to (14). If it is not being executed, the process moves to step (12), and the job table is rewritten from STOP to WAIT. Then, the job is picked up as an executable job in step (13). Finally, after reading all jobs from the job table (14),
The status check ends. In this way, a plurality of executable job candidates are selected.

【0329】以下、図44に示すフローチャートを参照
しながら本発明に係るサーバー装置における優先順位チ
ェック処理動作について説明する。
The priority check processing operation in the server device according to the present invention will be described below with reference to the flowchart shown in FIG.

【0330】図44は本発明に係るサーバー装置におけ
る優先順位チェック処理手順の一例を示すフローチャー
トである。なお、(1) 〜(11)は各ステップを示す。ま
た、本実施例では候補に上がったジョブの優先順位を見
て実行するジョブを一つに絞るということをする。
FIG. 44 is a flow chart showing an example of the priority order check processing procedure in the server device according to the present invention. It should be noted that (1) to (11) indicate each step. Further, in the present embodiment, the jobs to be executed are narrowed down to one by looking at the priority order of the jobs selected as candidates.

【0331】ステップ(1) で実行可能なジョブの候補と
してあげられた複数のジョブの内一つに対してその優先
順位をリードする。ステップ(2) でLEVEL2かどう
かの判断をする。LEVEL2ならばステップ(3) に移
りLEVEL2のジョブが存在するかどうかを表すフラ
グFLG2を立てる。LEVEL2でなければステップ
(4) に移り今度はLEVEL1であるかの判断をする。
LEVEL1ならばステップ(5) に移りLEVEL1の
ジョブが存在するかどうかを表すフラグFLG1を立て
る。もしLEVEL1でもないと判断された場合には、
LEVEL0になる。すなわちFLG2もFLG1も立
っていない場合にはLEVEL0になる。
The priority is read for one of the plurality of jobs listed as candidates of executable jobs in step (1). In step (2), it is judged whether LEVEL2. If it is LEVEL2, the process moves to step (3) and a flag FLG2 indicating whether or not a job of LEVEL2 exists is set. If it is not LEVEL2, step
Go to (4) and judge whether LEVEL1 is set this time.
If it is LEVEL1, the process moves to step (5) and a flag FLG1 indicating whether or not a job of LEVEL1 exists is set. If it is determined that it is not LEVEL1,
It becomes LEVEL0. That is, when neither FLG2 nor FLG1 is standing, it becomes LEVEL0.

【0332】一つのジョブの優先順位の判断が終るとス
テップ(6) に移り候補に上がったジョブをすべて調べた
かどうかを判断する。まだすべて調べ終ってない時には
ステップ(1) に戻り、次のジョブの判断に移り、調べ終
った場合にはステップ(7) に移る。フラグFLG2が立
っている時にはステップ(8) に移り、優先順位がLEV
EL2でジョブのIDが小さい(早くジョブのリクエス
トを受け付けたもの)ジョブを選択する。
When the priority of one job is determined, the process proceeds to step (6), and it is determined whether all the jobs selected as candidates have been examined. If all the checks have not been completed yet, the process returns to step (1) to move to the determination of the next job, and if all the checks have been completed, the process proceeds to step (7). When the flag FLG2 is set, the process proceeds to step (8) and the priority is LEV.
In EL2, a job with a small job ID (that has received a job request earlier) is selected.

【0333】同様に、ステップ(9) ,(10)では優先順位
がLEVEL1でジョブのIDが小さいジョブを選択す
る。ステップ(11)では優先順位がLEVEL0でIDの
小さいジョブが選択され、優先順位のチェックが終了す
る。
Similarly, in steps (9) and (10), a job having a priority LEVEL1 and a small job ID is selected. In step (11), a job with a priority level LEVEL0 and a small ID is selected, and the priority level check is completed.

【0334】このようにして次に起動可能なジョブを一
つに絞る。起動可能なジョブが決定しても、インタフェ
ースの状態により実際に起動できるかどうかが決まって
くるのでジョブとインタフェースの関係を調べなくては
ならない。
In this way, the jobs that can be started next are narrowed down to one. Even if a job that can be started is determined, it is necessary to check the relationship between the job and the interface because the state of the interface determines whether the job can be actually started.

【0335】以下、図45に示すフローチャートを参照
しながら本発明に係るサーバー装置におけるインタフェ
ースチェック処理動作について説明する。
The interface check processing operation in the server device according to the present invention will be described below with reference to the flowchart shown in FIG.

【0336】図45は本発明に係るサーバー装置におけ
るインタフェースチェック処理手順の一例を示すフロー
チャートである。なお、(1) 〜(9) は各ステップを示
す。
FIG. 45 is a flow chart showing an example of the interface check processing procedure in the server device according to the present invention. Note that (1) to (9) indicate each step.

【0337】先ず、ステップ(1) において、一つに絞ら
れたジョブのインタフェースをジョブテーブルからリー
ドする。ステップ(2) でそのインタフェースの状態をチ
ェックする。使用中でなければステップ(5) に移りその
ジョブを実行ジョブテーブルに登録する。実行ジョブテ
ーブルは、実際に起動するジョブを表すテーブルでマル
チでジョブを走らせることが出来るので複数のジョブが
登録可能である。
First, in step (1), the interfaces of the jobs narrowed down to one are read from the job table. Check the status of the interface in step (2). If not in use, move to step (5) and register the job in the execution job table. The execution job table is a table representing jobs to be actually started, and multiple jobs can be run, so that a plurality of jobs can be registered.

【0338】ステップ(6) のジョブ処理ではこの実行ジ
ョブテーブルを参照してジョブを起動する。
In the job processing of step (6), the job is started by referring to this execution job table.

【0339】インタフェースが使用中の場合にはステッ
プ(3) に移りジョブの優先順位をチェックする。LEV
EL2でなければ、現在のジョブを中断させることは出
来ないので実行ジョブテーブルに登録することはしない
で、処理を終了する。 また、ステップ(3) でLEVE
L2の時には、ステップ(4) で現在ステータスがRUN
のジョブがLEVEL2であるかの判断をする。もしR
UNのジョブがLEVEL2であるならば中断させることは
出来ないので、選択されたジョブは実行ジョブテーブル
に登録せずに、処理を終了する。
If the interface is in use, the process proceeds to step (3) to check the job priority. LEV
If it is not EL2, the current job cannot be interrupted, so the process is terminated without registering it in the execution job table. Also, in step (3), LEVE
When L2, the current status is RUN in step (4).
Of the job is LEVEL2. If R
If the UN job is LEVEL2, it cannot be interrupted, so the selected job is terminated without being registered in the execution job table.

【0340】一方、現在実行中のジョブ(ステータスが
RUN)の優先順位がLEVEL1またはLEVEL0
の場合には現在実行中のジョブを中断させて新たに選択
されたジョブを起動させる。その場合、ステップ(6) に
移り、ステップ(4) で選択されたジョブを実行ジョブテ
ーブルに登録する。ステップ(7) で現在実行中のジョブ
のステータスをSTOPにして、さらに優先順位をLE
VEL2にする。これは、ジョブが復帰した時に優先し
て実行されるようにするためである。
On the other hand, the priority of the job currently being executed (status is RUN) is LEVEL1 or LEVEL0.
In the case of, the job currently being executed is suspended and the newly selected job is started. In that case, the process proceeds to step (6), and the job selected in step (4) is registered in the execution job table. In step (7), the status of the job currently being executed is set to STOP and the priority is set to LE.
Set to VEL2. This is to give priority to the job when the job returns.

【0341】ステップ(8) で現在実行中のジョブが何ペ
ージまで処理したかを記録しておくために終了ページ数
をジョブテーブルに書き込む。さらにステップ(9) で現
在実行中のジョブを実行ジョブテーブルから削除する。
これで、現在実行中のジョブが起動されることはなく、
ステータスもSTOPになり再度ジョブが起動されるの
を待機することになる。このようにしてインタフェース
チェック処理を終了する。
In step (8), the number of finished pages is written in the job table in order to record how many pages the currently executing job has processed. Further, in step (9), the job currently being executed is deleted from the execution job table.
This will not launch the currently running job,
The status also becomes STOP, and it waits for the job to be started again. In this way, the interface check process ends.

【0342】以下、図46に示すフローチャートを参照
しながら本発明に係るサーバー装置におけるジョブ起動
処理動作について説明する。
The job activation processing operation in the server device according to the present invention will be described below with reference to the flowchart shown in FIG.

【0343】図46は本発明に係るサーバー装置におけ
るジョブ起動処理手順の一例を示すフローチャートであ
る。なお、(1) 〜(4) は各ステップを示す。
FIG. 46 is a flow chart showing an example of a job activation processing procedure in the server device according to the present invention. Note that (1) to (4) indicate each step.

【0344】先ず、ステップ(1) において、実行ジョブ
テーブルを参照して起動すべきジョブをリードする。ス
テップ(2) でこれから起動するジョブがステータスES
TOPでエラーストップしているジョブの種類と同じか
どうかをチェックする。もし同じであれば、起動するこ
とは出来ないのでステップ(4) に移り。実行ジョブテー
ブルをすべて読んだかを判断する。もしまだ残っていれ
ばステップ(1) に移り次のジョブの起動処理をする。も
しエラーストップしているジョブの種類と違っていれば
実行可能なので、ステップ(3) に移りジョブの起動に移
る。実際のジョブを起動する時は、ステータスをWAI
TからRUNに替え、インタフェースを確保する。逆に
エラーストップ、または割り込みで中断する時には、イ
ンターフェースを解放する。
First, in step (1), the job to be started is read by referring to the execution job table. The job to be started in step (2) is status ES.
Check if it is the same as the type of the job that is error-stopped with TOP. If they are the same, go to step (4) because it cannot be started. Judge whether all execution job tables have been read. If it still remains, move to step (1) and start the next job. If it is different from the type of job that is in error stop, it can be executed, so move to step (3) and start the job. When starting the actual job, set the status to WAI
The interface is secured by changing from T to RUN. On the contrary, when interrupted by error stop or interrupt, the interface is released.

【0345】ステップ(4) で実行ジョブテーブルにジョ
ブが残っているかを判断して、もう起動すべきジョブが
残っていなければ、ジョブ起動処理を終了する。
At step (4), it is judged whether there are any jobs remaining in the execution job table, and if there are no more jobs to be started, the job starting process is terminated.

【0346】以下、図47〜図57を参照しながら本発
明に係るサーバー装置における具体的ジョブ処理動作に
ついて説明する。
Specific job processing operations in the server device according to the present invention will be described below with reference to FIGS. 47 to 57.

【0347】図47は本発明に係るサーバー装置におけ
るジョブ処理状態推移を示すタイミングチャートであ
る。なお、図中の横軸右方向に時間が流れていくものと
する。図において、801〜813はジョブテーブルを
チェックするタイミングを示し、タイミング800〜8
03は通信プログラム83からジョブのイベントがシス
テム全体制御プログラム93に入るタイミングに対応
し、タイミング804〜813はジョブテーブルをチェ
ックするタイミングに対応する。
FIG. 47 is a timing chart showing a job processing state transition in the server device according to the present invention. It is assumed that time flows in the right direction of the horizontal axis in the figure. In the figure, reference numerals 801 to 813 denote timings for checking the job table, and timings 800 to 8
Reference numeral 03 corresponds to the timing when a job event enters from the communication program 83 into the overall system control program 93, and timings 804 to 813 correspond to the timing of checking the job table.

【0348】図48〜図57は本発明に係るサーバー装
置におけるジョブ処理に伴うジョブテーブルの内容を示
す図であり、図48〜図57はタイミング804〜タイ
ミング813におけるジョブテーブルに対応する。な
お、ジョブテーブルはチェック直前の内容を示してい
る。また、ジョブはカラーレーザ複写装置(CLC)の
プリンタからドキュメントを出力するCLCP、カラー
レーザ複写装置(CLC)のスキャナから原稿を読みと
るCLCS、バブルジェットカラー複写装置のプリンタ
にドキュメントを出力するBJP、バブルジェットカラ
ー複写装置のスキャナから原稿を読みとるBJS、市販
のページ記述言語のインタプリタを内蔵するプリンタに
出力するPDLP、市販のビットマッププリンタにドキ
ュメントを出力するBITP、市販のスキャナから原稿
を読みとる等のジョブがある。
48 to 57 are views showing the contents of the job table involved in the job processing in the server device according to the present invention, and FIGS. 48 to 57 correspond to the job table at the timings 804 to 813. The job table shows the contents just before the check. Further, the job is CLCP for outputting a document from a printer of a color laser copying device (CLC), CLCS for reading an original from a scanner of a color laser copying device (CLC), BJP for outputting a document to a printer of a bubble jet color copying device, or bubble. BJS for reading originals from scanners of jet color copiers, PDLP for outputting to printers with a built-in page description language interpreter, BITP for outputting documents to commercial bitmap printers, jobs for reading originals from commercial scanners, etc. There is.

【0349】タイミング800で、ジョブのイベントが
入ってくる。内容はカラーレーザ複写装置(CLC)の
プリンタにドキュメントを出力するジョブ1(内容はC
LCP)で、出力ページ数は3ページ、優先順位はLE
VEL0、インタフェースにはBMEMを用いるという
ものである。ジョブテーブルJOBTを見てみると、図
48に示すようにIDに「25」が割り当てられ、ステ
ータスはWAIT、終了ページはまだこのジョブは処理
されていないので0ページになっている。
At timing 800, a job event comes in. The content is job 1 that outputs a document to the printer of the color laser copying machine (CLC) (the content is C
LCP), the number of output pages is 3, and the priority is LE
VEL0 and BMEM are used for the interface. Looking at the job table JOBT, as shown in FIG. 48, "25" is assigned to the ID, the status is WAIT, and the end page is 0 page because this job has not been processed yet.

【0350】タイミング804のジョブテーブルチェッ
クでは、ID25のジョブが選択され、起動される。こ
の時ID25のジョブのステータスをRUNに変更す
る。801のタイミングで新たなジョブが入ってくる。
ジョブID25のジョブの1ページの処理が終了すると
システム全体制御プログラム93は再度ジョブテーブル
を見に行く。その時のジョブテーブルJOBTは図49
に示される。ID25のジョブは1ページの出力が終了
して、次ページが処理されるのを待っている状態であ
る。終了ページは0ページから1ページに変化してい
る。また、新たに入ったジョブはID26が割り当てら
れ、ステータスはWAIT、優先順位はLEVEL1、
インタフェースはBMEM、ジョブはBJPになってい
る。システム全体制御プログラム93はこのジョブテー
ブルJOBTから判断して、ID25のジョブの2ペー
ジ目の処理を起動する。
In the job table check at timing 804, the job of ID25 is selected and activated. At this time, the status of the job with ID 25 is changed to RUN. A new job comes in at the timing of 801.
When the processing of one page of the job with the job ID 25 is completed, the system overall control program 93 goes back to the job table. The job table JOBT at that time is shown in FIG.
Shown in. The job of ID25 is in a state of waiting for the output of one page to be finished and the next page to be processed. The end page has changed from page 0 to page 1. The newly entered job is assigned ID26, the status is WAIT, the priority is LEVEL1,
The interface is BMEM and the job is BJP. The overall system control program 93 judges from this job table JOBT and activates the processing of the second page of the job of ID25.

【0351】この時、2ページめの途中でプリンタに紙
ジャムが発生してしまいID25のジョブを続けられな
くなってしまった。システム全体制御プログラム93は
ジョブテーブルJOBTを参照して次に起動すべきジョ
ブを探す。その時のジョブテーブルJOBTは図50の
ようになっている。ID25のステータスはESTOP
になり、優先順位は復帰した時に優先的に実行させるた
めにLEVEL2、終了ページは1ページのままになっ
ている。そこで、システム全体制御プログラム93はI
D26のジョブを起動する。ID26のジョブが1ペー
ジの処理を終了すると、システム全体制御プログラム9
3はジョブテーブルJOBTチェック807に移る。こ
の時の状態は図51に示される。ID25のジョブはは
エラーチェックをしてもエラーが回復していないので起
動されることはない。そこで、システム全体制御プログ
ラム93はID26のジョブの2ページ目を処理するこ
とをPDLインタープリタープログラム84に対して要
求する。
At this time, a paper jam occurred in the printer in the middle of the second page, and the job of ID25 could not be continued. The overall system control program 93 refers to the job table JOBT and searches for a job to be started next. The job table JOBT at that time is as shown in FIG. ID25 status is ESTOP
The priority order is LEVEL2, and the end page remains one page so as to be executed preferentially when restored. Therefore, the system overall control program 93 is I
The job of D26 is activated. When the job of ID26 finishes processing one page, the entire system control program 9
3 moves to the job table JOBT check 807. The state at this time is shown in FIG. The job of ID25 is not started because the error is not recovered even if the error check is performed. Therefore, the entire system control program 93 requests the PDL interpreter program 84 to process the second page of the job of ID26.

【0352】ID26のジョブが2ページ目を処理して
いる最中に新たなジョブのイベントがシステム全体制御
プログラム93に入ってくる。内容は、バブルジェット
カラー複写装置のスキャナから2ページ分の原稿を読み
取るものである。ID26のジョブが2ページ目の処理
を終了すると、システム全体制御プログラム93はジョ
ブテーブルJOBTをチェックする。その時のジョブテ
ーブルJOBTが図52である。
While the job of ID26 is processing the second page, a new job event enters the system-wide control program 93. The content is to read two pages of original document from the scanner of the bubble jet color copying apparatus. When the job of ID26 finishes processing the second page, the system-wide control program 93 checks the job table JOBT. The job table JOBT at that time is shown in FIG.

【0353】ID25はエラーが回復していないのでそ
のままの状態である。ID26のジョブは2ページの処
理が終了したので、終了ページは2に変化している。さ
らに新しいジョブがID27に割り当てられている。I
D27のジョブは優先順位がLEVEL2であるので、
システム全体制御プログラム93は現在処理中のID2
6のジョブを中断させてID27のジョブを起動する。
ID26のジョブはステータスがSTOPに、優先順位
がLEVEL2になる。
The ID 25 remains as it is because the error has not been recovered. Since the job of ID26 has completed the processing of two pages, the end page has changed to two. Further new job is assigned to ID27. I
Since the priority of the job of D27 is LEVEL2,
System-wide control program 93 is currently processing ID2
The job of No. 6 is interrupted and the job of ID27 is started.
The job of ID26 has a status of STOP and a priority of LEVEL2.

【0354】スキャナ制御プログラム85が1ページの
原稿読み込みしている最中に、システム全体制御プログ
ラム93には新たなジョブのイベントがタイミング80
3で入ってくる。1ページの読み込みが終了すると、シ
ステム全体制御プログラム93はタイミング809でジ
ョブテーブルJOBTをチェックする。この時のジョブ
テーブルJOBTは図53のようになる。ID25のジ
ョブはエラーが回復していないのでESTOPのままで
ある。また、ID26はステータスがSTOPで、割り
込みジョブIDが27であるので、ID27のジョブを
チェックするとステータスはRUNのままなので再開す
ることは出来ない。新たに入ってきたジョブはID28
が割り当てられる。ID28のジョブはセントロニクス
インタフェースを通して市販のプリンタにデータを流す
ジョブで、現在起動されているジョブと同時に走らせる
ことが出来る。そこで、システム全体制御プログラム9
3はID28のジョブとID27の2ページ目をスキャ
ンするジョブを同時に起動する。
While the scanner control program 85 is reading the one-page original, the system-wide control program 93 receives a new job event at timing 80.
Comes in at 3. When the reading of one page is completed, the system overall control program 93 checks the job table JOBT at timing 809. The job table JOBT at this time is as shown in FIG. The job of ID25 remains ESTOP because the error has not been recovered. Further, since the status of the ID 26 is STOP and the interrupt job ID is 27, when the job of the ID 27 is checked, the status remains RUN and cannot be resumed. The new job is ID28
Is assigned. The job with ID 28 is a job for sending data to a commercially available printer through the Centronics interface, and can be run at the same time as the currently activated job. Therefore, the whole system control program 9
3 simultaneously starts the job of ID28 and the job of scanning the second page of ID27.

【0355】次にシステム全体制御プログラム93はジ
ョブテーブルJOBTチェック(タイミング810)に
移る。この時のジョブテーブルJOBTは図54に示さ
れる。ジョブテーブルJOBTチェック(タイミング8
10)の前にジョブID25のエラーが解除されている
ので、エラーチェック後ステータスはWAITに戻る。
Next, the entire system control program 93 shifts to the job table JOBT check (timing 810). The job table JOBT at this time is shown in FIG. Job table JOBT check (timing 8
Since the error of the job ID 25 is canceled before 10), the status returns to WAIT after the error check.

【0356】また、ID26のジョブも、割り込んだI
D27のジョブが終了したのでステータスがWAITに
戻る。ID28のジョブはRUNの状態のままである。
システム全体制御プログラム93はインタフェースBM
EMが空いているのでID25またはID26のジョブ
を起動させる。どちらのジョブともステータスはWAI
Tで、優先順位もLEVEL2と状態は同じであるので
先に受け付けたID25のジョブを起動する。この時、
ID25のジョブは終了ページが1ページであるので2
ページ目から処理するようにPDLインタープリタープ
ログラム84に要求を出さなければならない。
Further, the job of ID26 also interrupts the I
Since the job of D27 is completed, the status returns to WAIT. The job with ID 28 remains in the RUN state.
The entire system control program 93 is an interface BM
Since the EM is empty, the job of ID25 or ID26 is activated. The status of both jobs is WAI
At T, since the priority is the same as LEVEL2, the job of ID25 accepted first is activated. At this time,
Since the end page of the job of ID25 is 1 page, 2
A request must be made to the PDL interpreter program 84 to process from page number.

【0357】ジョブテーブルJOBTチェック(タイミ
ング811)では図55に従う。ID25とID28の
ジョブはステータスがRUNでID26はWAITであ
る。ID26のジョブは優先順位がLEVEL2で、現
在起動中のジョブに対して割り込むことが出来るがID
25もLEVEL2で起動されたので、この場合には割
り込むことは出来ない。
The job table JOBT check (timing 811) follows FIG. The jobs of ID25 and ID28 have a status of RUN and ID26 of WAIT. The job of ID26 has a priority of LEVEL2 and can interrupt the job currently being started.
Since 25 is also activated by LEVEL2, it cannot interrupt in this case.

【0358】ジョブテーブルJOBTチェック(タイミ
ング812)に移る。ジョブテーブルJOBTは図56
に示される。ID25のジョブはすでに終了してジョブ
テーブルJOBTから削除されている。そこで、システ
ム全体制御プログラム93はID26のジョブを3ペー
ジ目から起動する。
The job table JOBT check (timing 812) starts. The job table JOBT is shown in FIG.
Shown in. The job of ID25 has already been completed and deleted from the job table JOBT. Therefore, the overall system control program 93 activates the job of ID26 from the third page.

【0359】ジョブテーブルJOBTチェック(タイミ
ング813)では、図57に示すようにID28のジョ
ブが走っている状態なので、新たにシステム全体制御プ
ログラム93はジョブを起動することはしない。
In the job table JOBT check (timing 813), since the job of ID28 is running as shown in FIG. 57, the system overall control program 93 does not newly start the job.

【0360】以上のように、システム全体制御プログラ
ム93はジョブテーブルJOBTを参照しながら最適に
ジョブ管理を行なう。
As described above, the overall system control program 93 optimally manages jobs while referring to the job table JOBT.

【0361】なお、上記実施例では文字,図形,イメー
ジがホストコンピュータで編集された後、ネットッワー
クを介して通信されたプリント要求をスキャナ/プリン
タをドライブするサーバー装置上で処理して、当該プリ
ンタから出力する場合について説明したが、図58に示
すように、クライアントホストコンピュータ901,9
02,スキャナプリンタ904をドライブするSPサー
バー装置903がネットワーク905を介して接続され
るシステムにおいて、クライアントホストコンピュータ
901,902から転送された文字,図形の各情報とス
キャナプリンタ904のスキャナから入力されたイメー
ジとをSPサーバー装置903が合成編集することによ
り、合体出力させるように構成しても良い。
In the above embodiment, after the characters, figures, and images have been edited by the host computer, the print request communicated via the network is processed by the server device that drives the scanner / printer, and the print request is sent from the printer. Although the output has been described, as shown in FIG. 58, the client host computers 901, 9
02. In a system in which the SP server device 903 that drives the scanner / printer 904 is connected via the network 905, character and figure information transferred from the client host computers 901 and 902 and the scanner printer 904 input the information. The SP server device 903 may combine and edit the image and output the combined image.

【0362】図58は本発明の第2の実施例を示すサー
バー装置の構成を説明するブロック図である。
FIG. 58 is a block diagram for explaining the configuration of the server device showing the second embodiment of the present invention.

【0363】図において、906は記憶装置で、SPサ
ーバー装置903内に設けられ、クライアントホストコ
ンピュータ901,902から転送された文字,図形の
各情報を蓄える。
In the figure, reference numeral 906 denotes a storage device which is provided in the SP server device 903 and stores each information of characters and figures transferred from the client host computers 901 and 902.

【0364】このように構成されたサーバー装置におい
て、本体またはネットワーク上に設けた記憶手段(記憶
装置906)に画像処理装置から出力される第1の画像
情報または所定のネットワークに接続される各ホストコ
ンピュータから転送される第2の画像情報を記憶させる
ことにより、各ホストコンピュータからの画像情報出力
処理負担を軽減させるとともに、記憶した画像情報を効
率よく再利用させる。
In the server device configured as described above, the first image information output from the image processing device to the storage means (storage device 906) provided on the main body or the network or each host connected to a predetermined network By storing the second image information transferred from the computer, the image information output processing load from each host computer is reduced and the stored image information is efficiently reused.

【0365】また、記憶手段(記憶装置906)に記憶
された第1および第2の画像情報を画像合成手段が合成
しながら出力画像を生成して画像処理装置(本実施例で
はスキャナプリンタ904)に出力することにより、各
ホストコンピュータ上での画像編集負担を軽減させる。
Further, the image synthesizing means synthesizes the first and second image information stored in the storage means (storage device 906) to generate an output image, and the image processing apparatus (scanner printer 904 in this embodiment). By outputting the image to the host computer, the image editing load on each host computer is reduced.

【0366】なお、本実施例においては、クライアント
ホストコンピュータ901,902上では、例えばワー
ドプロセッサ,グラフィックソフトにより、オペレータ
が文字情報,図形情報の生成を行う。生成された文字,
図形情報等(第1の画像情報)は、ネットワーク905
を経由して、SPサーバー装置903に送られる。SP
サーバー装置903で受け取った文字,図形情報は、S
Pサーバー装置903内の記憶装置906に記憶され
る。
In this embodiment, on the client host computers 901 and 902, the operator generates character information and graphic information by using, for example, a word processor and graphic software. Generated characters,
The graphic information and the like (first image information) are stored in the network 905.
Is sent to the SP server device 903. SP
The character / graphic information received by the server device 903 is S
It is stored in the storage device 906 in the P server device 903.

【0367】一方、スキャナプリンタ904でスキャン
された画像情報(第2の画像情報)も、SPサーバー装
置903内の記憶装置906に記憶される。SPサーバ
ー装置903上で動作しているページ記述言語により、
SPサーバー装置903の記憶装置906内で文字情
報,図形情報,画像情報(イメージデータ)が、図59
に示すように合成される。
On the other hand, the image information (second image information) scanned by the scanner printer 904 is also stored in the storage device 906 in the SP server device 903. Depending on the page description language running on the SP server device 903,
Character information, graphic information, and image information (image data) are stored in the storage device 906 of the SP server device 903 as shown in FIG.
Are synthesized as shown in.

【0368】図59は、図58に示したSPサーバー装
置903により合成される印刷レアウトを示す模式図で
ある。
FIG. 59 is a schematic diagram showing a print layout combined by the SP server device 903 shown in FIG.

【0369】図において、911は1ページの領域を示
し、この領域911内に、クライアントホストコンピュ
ータ901,902からネットワーク905を介して転
送された文字,図形等の転送情報912およびSPサー
バー装置903が制御するスキャナプリンタ904でス
キャンされた画像情報913がレイアウト情報に従って
割付けられる。このように合成された情報がSPサーバ
ー装置903のプリンタから出力させることも可能とな
る。
In the figure, reference numeral 911 indicates a one-page area, and in this area 911, transfer information 912 such as characters and figures transferred from the client host computers 901 and 902 via the network 905 and the SP server device 903 are stored. Image information 913 scanned by the controlling scanner printer 904 is allocated according to the layout information. The information thus synthesized can be output from the printer of the SP server device 903.

【0370】なお、上記SPサーバー装置903に制御
されるスキャナプリンタ904は、スキャナとプリンタ
とが独立した単体構成であっても良い。また、SPサー
バー装置903に別の大容量記憶装置、例えば光磁気デ
ィスク装置を接続した場合、スキャナプリンタ904の
スキャナで読み取った画像情報をその都度SPサーバー
装置903内の記憶装置906に読み込み、クライアン
トホストコンピュータ901,902から転送された文
字,図形情報とを合成して印刷するのではなく、スキャ
ン画像を上記大容量記憶装置内に順次記憶させて行くこ
とにより、画像データベースを構築することで、任意に
大容量の記憶装置内から画像を取り出し、その画像を文
字,図形情報と合成しながら印刷させることもできる。
さらに、上記大容量の記憶装置をSPサーバー装置90
3の記憶装置906と別に設ける際、当該大容量の記憶
装置とSPサーバー装置903とが直接接続されていな
くても良く、例えばネットワーク905に接続されるク
ライアントホストコンピュータ901,902に配置さ
れ、これらのクライアントホストコンピュータ901,
902がSPサーバー装置903に転送できる構成であ
れば良い。
The scanner / printer 904 controlled by the SP server apparatus 903 may have a single unit in which the scanner and the printer are independent. When another large-capacity storage device such as a magneto-optical disk device is connected to the SP server device 903, the image information read by the scanner of the scanner printer 904 is read into the storage device 906 in the SP server device 903 each time, and the client By constructing an image database by sequentially storing scanned images in the large-capacity storage device instead of combining and printing the character and graphic information transferred from the host computers 901 and 902, It is also possible to take out an image from a large-capacity storage device and print it while combining the image with character and graphic information.
Furthermore, the large-capacity storage device is used as the SP server device 90.
When provided separately from the third storage device 906, the large-capacity storage device and the SP server device 903 do not have to be directly connected. For example, they are arranged in the client host computers 901 and 902 connected to the network 905. Client host computer 901,
Any configuration may be used as long as 902 can be transferred to the SP server device 903.

【0371】[0371]

【発明の効果】以上説明したように、第1の発明によれ
ば、ネットワークを介してホストから送出されるページ
記述言語で記述されたデータとスキャナ入力される画像
データの合成が指示されると、合成手段が処理手段によ
り変換されたビットマップデータとスキャナからの画像
データを合成し、該合成された画像データをホスト側に
転送可能となるので、ホスト側のメモリ等の資源拡張の
負担を強いることなく、ホストから送出されるページ記
述言語で記述されたデータとスキャナ入力される画像デ
ータとの合成画像データをホスト側が容易に利用するこ
とができる。
As described above, according to the first aspect of the present invention, when the instruction for synthesizing the data described in the page description language sent from the host via the network and the image data input by the scanner is given. Since the synthesizing unit synthesizes the bitmap data converted by the processing unit with the image data from the scanner and the synthesized image data can be transferred to the host side, the burden of resource expansion such as memory on the host side can be reduced. The composite image data of the data described in the page description language sent from the host and the image data input by the scanner can be easily used by the host side without imposing.

【0372】第2の発明によれば、合成手段によって合
成された画像データを圧縮手段が圧縮してネットワーク
上のホストに送出可能となるので、サーバー装置側で合
成された大容量の合成画像データを短時間に取得してホ
スト側が容易に利用することができる。
According to the second invention, the image data synthesized by the synthesizing means can be compressed by the compressing means and sent to the host on the network. Therefore, a large amount of synthesized image data synthesized on the server device side. Can be acquired in a short time and easily used by the host side.

【0373】従って、ネットワーク上の各ホストがメモ
リ拡張を必要とするような合成画像データを容易、かつ
効率よく利用することできる等の優れた効果を奏する。
Therefore, there is an excellent effect that each host on the network can easily and efficiently use the composite image data which requires the memory expansion.

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

【図1】本発明の第1実施例を示すサーバー装置の概要
を説明するシステムブロック図である。
FIG. 1 is a system block diagram illustrating an outline of a server device according to a first embodiment of the present invention.

【図2】図1に示したサーバー装置を適用するネットワ
ークシステムの概略を示すシステムブロック図である。
FIG. 2 is a system block diagram showing an outline of a network system to which the server device shown in FIG. 1 is applied.

【図3】本発明に係るサーバー装置と各ホストとのネッ
トワーク構築状態を示す図である。
FIG. 3 is a diagram showing a network construction state of a server device and each host according to the present invention.

【図4】図1に示したメインCPUボード回路の詳細構
成を説明する回路ブロック図である。
FIG. 4 is a circuit block diagram illustrating a detailed configuration of a main CPU board circuit shown in FIG.

【図5】図4に示したメモリクリアコントローラの詳細
構成を説明するブロック図である。
5 is a block diagram illustrating a detailed configuration of a memory clear controller illustrated in FIG.

【図6】図5に示したバンドメモリへの画像情報のバン
ド展開処理を説明する模式図である。
FIG. 6 is a schematic diagram illustrating band expansion processing of image information in the band memory illustrated in FIG.

【図7】図5に示したバンドメモリへの画像情報のバン
ド展開処理を説明する模式図である。
FIG. 7 is a schematic diagram illustrating band expansion processing of image information in the band memory illustrated in FIG.

【図8】図5に示した画像描画処理回路の詳細構成を説
明するブロック図である。
8 is a block diagram illustrating a detailed configuration of an image drawing processing circuit illustrated in FIG.

【図9】図1に示した第1のインタフェース回路の内部
構成を説明するブロック図である。
9 is a block diagram illustrating an internal configuration of a first interface circuit illustrated in FIG.

【図10】図9に示したリアルタイム圧縮伸長部の詳細
構成の一例を示すブロック図である。
10 is a block diagram showing an example of a detailed configuration of a real-time compression / decompression unit shown in FIG.

【図11】図10に示したジグザグスキャン部によるジ
グザグスキャン経路の一例を示す図である。
11 is a diagram showing an example of a zigzag scan path by the zigzag scanning unit shown in FIG.

【図12】図1に示した第1のSPインタフェース回路
のパート構成の概略を説明するブロック図である。
12 is a block diagram illustrating an outline of a part configuration of the first SP interface circuit illustrated in FIG. 1. FIG.

【図13】図1に示した第1のSPインタフェース回路
の詳細内部構成を説明する回路ブロック図である。
13 is a circuit block diagram illustrating a detailed internal configuration of a first SP interface circuit illustrated in FIG.

【図14】図1に示した第1のSPインタフェース回路
の詳細内部構成を説明する回路ブロック図である。
14 is a circuit block diagram illustrating a detailed internal configuration of a first SP interface circuit illustrated in FIG.

【図15】図1に示した第1のSPインタフェース回路
の詳細内部構成を説明する回路ブロック図である。
FIG. 15 is a circuit block diagram illustrating a detailed internal configuration of a first SP interface circuit shown in FIG.

【図16】図1に示した第2のSPインタフェース回路
の詳細内部構成を説明する回路ブロック図である。
16 is a circuit block diagram illustrating a detailed internal configuration of a second SP interface circuit illustrated in FIG.

【図17】図2に示したスキャナ/プリンタの画像記録
プロセスを説明する模式図である。
17 is a schematic diagram illustrating an image recording process of the scanner / printer shown in FIG.

【図18】図2に示したスキャナ/プリンタのスキャナ
の原稿走査状態を示す模式図である。
FIG. 18 is a schematic diagram showing a document scanning state of the scanner of the scanner / printer shown in FIG.

【図19】図2に示したスキャナ/プリンタのスキャナ
のバンド原稿走査状態を示す模式図である。
19 is a schematic diagram showing a band document scanning state of the scanner of the scanner / printer shown in FIG.

【図20】本発明に係るサーバー装置とプリンタとのイ
ンタフェース信号の一例を示す図である。
FIG. 20 is a diagram showing an example of an interface signal between a server device and a printer according to the present invention.

【図21】本発明に係るサーバー装置とプリンタとのイ
ンタフェースの一例を示す回路ブロック図である。
FIG. 21 is a circuit block diagram showing an example of an interface between a server device and a printer according to the present invention.

【図22】図21の動作を説明するタイミングチャート
である。
FIG. 22 is a timing chart illustrating the operation of FIG. 21.

【図23】図21に示したセントロニクスI/F回路に
よるホスト側の信号処理手順の一例を示すフローチャー
トである。
23 is a flowchart showing an example of a signal processing procedure on the host side by the Centronics I / F circuit shown in FIG. 21.

【図24】図21に示したセントロニクスI/F回路に
よるプリンタ側の信号処理手順の一例を示すフローチャ
ートである。
24 is a flowchart showing an example of a signal processing procedure on the printer side by the Centronics I / F circuit shown in FIG. 21.

【図25】本発明に係るサーバー装置とホストコンピュ
ータとのプログラム構成を説明する図である。
FIG. 25 is a diagram illustrating a program configuration of a server device and a host computer according to the present invention.

【図26】本発明に係るサーバー装置における全体制御
手順の一例を示すフローチャートである。
FIG. 26 is a flowchart showing an example of the overall control procedure in the server device according to the present invention.

【図27】本発明に係るサーバー装置におけるページ記
述言語に準拠するコード体系の要部を示す図である。
FIG. 27 is a diagram showing a main part of a code system conforming to the page description language in the server device according to the present invention.

【図28】本発明に係るサーバー装置におけるレイアウ
タによる中間コードへの置換処理を説明する図である。
FIG. 28 is a diagram illustrating a process of replacing an intermediate code by a layouter in the server device according to the present invention.

【図29】本発明に係るサーバー装置におけるバンドメ
モリへの図形情報展開処理状態を示す模式図である。
FIG. 29 is a schematic diagram showing a graphic information expansion processing state in a band memory in the server device according to the present invention.

【図30】本発明に係るサーバー装置におけるページ記
述言語が展開するデータの1画素構造を説明する図であ
る。
FIG. 30 is a diagram illustrating a one-pixel structure of data developed by a page description language in the server device according to the present invention.

【図31】図2に示したスキャナの動作を説明するデー
タ処理経路図である。
FIG. 31 is a data processing path diagram for explaining the operation of the scanner shown in FIG.

【図32】本発明に係るサーバー装置とカラーレーザ複
写装置とのデータ処理状態を説明するブロック図であ
る。
FIG. 32 is a block diagram illustrating a data processing state of the server apparatus and the color laser copying apparatus according to the present invention.

【図33】本発明に係るサーバー装置とカラーレーザ複
写装置とのデータ処理状態を説明するブロック図であ
る。
FIG. 33 is a block diagram illustrating a data processing state of the server apparatus and the color laser copying apparatus according to the present invention.

【図34】本発明に係るサーバー装置とバブルジェット
カラー複写装置とのデータ処理状態を説明するブロック
図である。
FIG. 34 is a block diagram illustrating a data processing state of the server apparatus and the bubble jet color copying apparatus according to the present invention.

【図35】本発明に係るサーバー装置とのネットワーク
システムの構成を説明するブロック図である。
FIG. 35 is a block diagram illustrating a configuration of a network system with a server device according to the present invention.

【図36】本発明に係るサーバー装置における異常発生
ジョブ処理手順の一例を示すフローチャートである。
FIG. 36 is a flowchart showing an example of an abnormal job processing procedure in the server apparatus according to the present invention.

【図37】本発明に係るサーバー装置におけるリトライ
処理手順の一例を示すフローチャートである。
FIG. 37 is a flowchart showing an example of a retry processing procedure in the server device according to the present invention.

【図38】本発明に係るサーバー装置におけるジョブ制
御状態を説明するタイミングチャートである。
FIG. 38 is a timing chart illustrating a job control state in the server device according to the present invention.

【図39】本発明に係るサーバー装置におけるシステム
全体制御プログラム制御処理状態を示す図である。
FIG. 39 is a diagram showing a control processing state of the entire system control program in the server device according to the present invention.

【図40】図39に示したシステム全体制御プログラム
制御のイベント処理手順の一例を示すフローチャートで
ある。
FIG. 40 is a flowchart showing an example of an event processing procedure of the system overall control program control shown in FIG. 39.

【図41】本発明に係るサーバー装置におけるジョブ管
理状態を示す図である。
FIG. 41 is a diagram showing a job management state in the server device according to the present invention.

【図42】本発明に係るサーバー装置におけるジョブ実
行処理手順の一例を示すフローチャートである。
FIG. 42 is a flowchart showing an example of a job execution processing procedure in the server device according to the present invention.

【図43】本発明に係るサーバー装置におけるステータ
スチェック処理手順の一例を示すフローチャートであ
る。
FIG. 43 is a flowchart showing an example of a status check processing procedure in the server device according to the present invention.

【図44】本発明に係るサーバー装置における優先順位
チェック処理手順の一例を示すフローチャートである。
FIG. 44 is a flowchart showing an example of a priority order check processing procedure in the server device according to the present invention.

【図45】本発明に係るサーバー装置におけるインタフ
ェースチェック処理手順の一例を示すフローチャートで
ある。
FIG. 45 is a flowchart showing an example of an interface check processing procedure in the server device according to the present invention.

【図46】本発明に係るサーバー装置におけるジョブ起
動処理手順の一例を示すフローチャートである。
FIG. 46 is a flowchart showing an example of a job activation processing procedure in the server device according to the present invention.

【図47】本発明に係るサーバー装置におけるジョブ処
理状態推移を示すタイミングチャートである。
FIG. 47 is a timing chart showing a job processing state transition in the server device according to the present invention.

【図48】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 48 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図49】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 49 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図50】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 50 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図51】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 51 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図52】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 52 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図53】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 53 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図54】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 54 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図55】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 55 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図56】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 56 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図57】本発明に係るサーバー装置におけるジョブ処
理に伴うジョブテーブルの内容を示す図である。
FIG. 57 is a diagram showing the contents of a job table involved in job processing in the server device according to the present invention.

【図58】本発明の第2の実施例を示すサーバー装置の
構成を説明するブロック図である。
FIG. 58 is a block diagram illustrating a configuration of a server device according to the second embodiment of the present invention.

【図59】図58に示したSPサーバー装置により合成
される印刷レイアウトを示す模式図である。
FIG. 59 is a schematic diagram showing a print layout synthesized by the SP server device shown in FIG. 58.

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

1 メインCPU回路 2 イーサネット回路 3 JPEG圧縮回路 11 LAN 4−1 第1のSPインタフェース回路 4−2 第2のSPインタフェース回路 100 複写装置(スキャナプリンタ) 200 複写装置(スキャナプリンタ) 1 Main CPU Circuit 2 Ethernet Circuit 3 JPEG Compression Circuit 11 LAN 4-1 First SP Interface Circuit 4-2 Second SP Interface Circuit 100 Copier (Scanner Printer) 200 Copier (Scanner Printer)

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年8月25日[Submission date] August 25, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図2[Name of item to be corrected] Figure 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図2】 [Fig. 2]

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宍塚 順一 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 高岡 真琴 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 小林 重忠 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 杉浦 進 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 戸田 雅成 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 三田 良信 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 齋藤 和浩 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 下村 ゆかり 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 横溝 良和 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 根岸 作力 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 山田 修 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Junichi Shishizuka 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Makoto Takaoka 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Incorporated (72) Inventor Shigetada Kobayashi 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Susumu Sugiura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. ( 72) Inventor Masanari Toda 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Yoshinobu Mita 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Invention Kazuhiro Saito 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Yukari Shimomura 3-30-2 Shimomaruko, Ota-ku, Tokyo Within Canon Inc. (72) Inventor Yoshikazu Yokomizo 3-30-2 Shimomaruko, Ota-ku, Tokyo Within Canon Inc. (72) Inoue Nakushi, 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. In-house (72) Inventor Osamu Yamada 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークを介してホストに接続され
るサーバー装置であって、スキャナおよびプリンタに接
続するためのインタフェース手段と、前記ホストから送
出されるページ記述言語で記述されたデータをビットマ
ップに変換する処理手段と、前記ビットマップデータと
前記スキャナから前記インタフェース手段を介して入力
される画像データとを合成する合成手段とを有し、前記
合成手段によって合成された画像データを前記ネットワ
ークを介して前記ホストに送出可能に構成したことを特
徴とするサーバー装置。
1. A server device connected to a host via a network, wherein interface means for connecting to a scanner and a printer and data described in a page description language sent from the host are converted into a bitmap. The image processing device includes a processing unit for converting, and a synthesizing unit for synthesizing the bitmap data and image data input from the scanner via the interface unit, and the image data synthesized by the synthesizing unit via the network. A server device, wherein the server device is configured to be capable of being transmitted to the host.
【請求項2】 合成手段によって合成された画像データ
を圧縮する圧縮手段を設け、この圧縮手段によって圧縮
された画像データをネットワークを介してホストに送出
可能に構成したことを特徴とする請求項1記載のサーバ
ー装置。
2. The compression means for compressing the image data synthesized by the synthesis means is provided, and the image data compressed by the compression means can be sent to the host via the network. The server device described.
JP5021706A 1993-01-18 1993-01-18 Server device Pending JPH06214923A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP5021706A JPH06214923A (en) 1993-01-18 1993-01-18 Server device
US08/878,580 US6804016B2 (en) 1993-01-18 1997-06-19 Control apparatus for a scanner/printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5021706A JPH06214923A (en) 1993-01-18 1993-01-18 Server device

Publications (1)

Publication Number Publication Date
JPH06214923A true JPH06214923A (en) 1994-08-05

Family

ID=12062503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5021706A Pending JPH06214923A (en) 1993-01-18 1993-01-18 Server device

Country Status (1)

Country Link
JP (1) JPH06214923A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526135B2 (en) 2004-09-02 2009-04-28 Canon Kabushiki Kaisha Image processing apparatus, image processing method, program, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526135B2 (en) 2004-09-02 2009-04-28 Canon Kabushiki Kaisha Image processing apparatus, image processing method, program, and storage medium

Similar Documents

Publication Publication Date Title
JP3486427B2 (en) Control device and control method
JP3332443B2 (en) Information processing apparatus and information processing method
JP3792733B2 (en) Server apparatus and control method
JP4035173B2 (en) Control apparatus and control method
US6804016B2 (en) Control apparatus for a scanner/printer
US5720013A (en) Scanner printer server and method for selectively outputting scanned information to an information processing apparatus in accordance with a pre-scan command and a scan command
JPH07271702A (en) Scanner printer server system and effective function managing method for the same
US6226095B1 (en) Image processing apparatus, method, and system
US5784062A (en) Image output device and processing method converting an image formation command into raster format
JP3257895B2 (en) Scanner printer server system, automatic image transfer method, and scanner printer server
US7038815B2 (en) Image processing apparatus and its method, and image processing system and its control method
US6981069B2 (en) Compressed data transmission over a plurality of transmission paths
JP3244138B2 (en) Server device
JPH05292240A (en) Scanner printer server and its system
JPH0816332A (en) Scanner printer server system and data processing method for the same
JPH06214923A (en) Server device
JPH06214919A (en) Server device and picture processing method thereof
US7965406B2 (en) Time multiplexed image data decompression circuit
JP3584247B2 (en) Print control device and control method
JP2613590B2 (en) Color image forming equipment
JP2644212B2 (en) Color image processing equipment
JP3639835B2 (en) Printing control apparatus and control method therefor
JP3639838B2 (en) Printing control apparatus and control method therefor
JPH0488751A (en) Picture processor
JPH0687254B2 (en) Color image processor