JP3304073B2 - PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM - Google Patents

PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM

Info

Publication number
JP3304073B2
JP3304073B2 JP19767299A JP19767299A JP3304073B2 JP 3304073 B2 JP3304073 B2 JP 3304073B2 JP 19767299 A JP19767299 A JP 19767299A JP 19767299 A JP19767299 A JP 19767299A JP 3304073 B2 JP3304073 B2 JP 3304073B2
Authority
JP
Japan
Prior art keywords
page
print
command
task
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP19767299A
Other languages
Japanese (ja)
Other versions
JP2000033745A (en
Inventor
斎司 蔭山
弘明 上林
真也 阪口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP19767299A priority Critical patent/JP3304073B2/en
Publication of JP2000033745A publication Critical patent/JP2000033745A/en
Application granted granted Critical
Publication of JP3304073B2 publication Critical patent/JP3304073B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷制御方法および印
刷制御装置並びに印刷システムに係り、特に、レーザプ
リンタ、LED(発光ダイオード)プリンタ、LCS
(液晶シャッタ)プリンタ等のページプリンタやシャト
ルプリンタを、高速印刷するための印刷制御方法および
印刷制御装置並びに印刷システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control method and a printing method.
The present invention relates to a printing control device and a printing system , and particularly to a laser printer, an LED (light emitting diode) printer, and an LCS.
(Liquid crystal shutter) a page printer and a shuttle printer such as a printer, a printing control method for printing high-speed and
The present invention relates to a printing control device and a printing system .

【0002】[0002]

【従来の技術】従来、特願昭63−158481号や特
願平1−282747号に記載の印刷制御装置において
は、ホストコンピュータからの印刷コマンド列の受信
と、ページバッファへの描画と、描画済みページバッフ
ァについての印刷を並行処理することにより、印刷スル
ープットをプリンタ最高性能に迄高めていた。本プリン
タ最高性能は、ページ当りの描画時間が概ねページ当り
のプリンタメカニズム印刷時間(1ページの最短印刷時
間)以下なら、達成されていた。
2. Description of the Related Art Conventionally, in a print control apparatus described in Japanese Patent Application Nos. 63-158481 and 1-282747, a print command string is received from a host computer, drawing is performed on a page buffer, and drawing is performed. The printing of the completed page buffer is performed in parallel, thereby increasing the printing throughput to the maximum performance of the printer. The highest performance of this printer has been achieved if the drawing time per page is approximately equal to or less than the printer mechanism printing time per page (the shortest printing time for one page).

【0003】特開平1−263055号に記載の印刷制
御装置においては、1ページを複数個の領域に分割し、
各領域毎に専用の描画プロセッサを用意し、各々が各領
域を独立に描画することにより描画性能を向上させ、1
ページの印刷を高速化しようとしていた。この装置で
は、ページ当りの描画時間がページ当りのプリンタメカ
ニズム印刷時間を超えても、1ページのみの印刷(ファ
ーストプリント)なら、印刷性能を向上させることがで
きた。
In the print control apparatus described in Japanese Patent Application Laid-Open No. 1-263055, one page is divided into a plurality of areas.
A dedicated drawing processor is prepared for each area, and each independently draws each area to improve the drawing performance.
You were trying to speed up page printing. With this device, even if the drawing time per page exceeds the printer mechanism printing time per page, printing performance can be improved by printing only one page (first print).

【0004】特開平1−263051号に記載の印刷制
御装置においては、1ページを複数個の領域に分割し、
各領域毎に文字描画プロセッサ、図形描画プロセッサの
いずれかを割り当て、各プロセッサが各領域を独立に描
画することにより描画性能を向上させ、1ページの印刷
を高速化しようとしていた。
In the print control apparatus described in Japanese Patent Application Laid-Open No. 1-263051, one page is divided into a plurality of areas.
Either a character drawing processor or a graphic drawing processor is assigned to each area, and each processor independently draws each area to improve drawing performance and speed up printing of one page.

【0005】その他、複数のプロセッサを用いて印刷制
御を行なう従来の技術として、特開平1−263051
号、特開平1−263055号、特開平2−63852
号、特開平2−108567号の各公報に記載のものが
ある。
[0005] In addition, as a conventional technique for performing print control using a plurality of processors, Japanese Patent Application Laid-Open No. 1-263051 has been disclosed.
JP-A-1-263055, JP-A-2-63852
And Japanese Patent Application Laid-Open No. 2-108567.

【0006】[0006]

【発明が解決しようとする課題】上記特願昭63−15
8481号や特願平1−282747号においては、ペ
ージ当りの描画時間が、概ねページ当りのプリンタメカ
ニズム印刷時間を超えると、印刷スループットがプリン
タ最高性能より低下するという問題があった。
SUMMARY OF THE INVENTION The aforementioned Japanese Patent Application No. 63-15 / 1988
No. 8481 and Japanese Patent Application No. 1-282747 have a problem that when the drawing time per page generally exceeds the printing time of the printer mechanism per page, the print throughput is lower than the maximum performance of the printer.

【0007】また、上記特開平1−263055号及び
特開平1−263051号においては、1ページのみの
描画性能は高いが、描画と印刷を並行処理していないた
め、各ページの印刷内容が異なる複数ページからなる文
書を連続して印刷する際(以後、単に連続印刷と呼
ぶ)、プリンタ最高性能が得られないという問題があっ
た。
Further, in the above-mentioned JP-A 1-263055 and JP-A 1-263051, although the drawing performance of only one page is high, the printing contents of each page are different because the drawing and printing are not performed in parallel. When printing a document composed of a plurality of pages continuously (hereinafter, simply referred to as continuous printing), there is a problem that the maximum performance of the printer cannot be obtained.

【0008】上記特開平1−263051号において
は、各ページが文字又は図形のみの場合、図形描画プロ
セッサ又は文字描画プロセッサが役に立たないため、描
画性能の向上が図れず、1ページの印刷も十分高速化で
きないという問題があった。
In Japanese Patent Application Laid-Open No. Hei 1-263051, when each page is composed of only characters or figures, the graphic drawing processor or the character drawing processor is useless, so that the drawing performance cannot be improved and the printing of one page is sufficiently fast. There was a problem that can not be converted.

【0009】また、複数のプロセッサを利用した上記い
ずれの従来技術においても、印刷内容が異なる複数ペー
ジからなる文書を連続して印刷する際の、複数のプロセ
ッサが異なるページを並列描画する手法について何ら言
及されていないという問題があった。
Further, in any of the above-mentioned prior arts using a plurality of processors, there is no description about a technique in which a plurality of processors draw different pages in parallel when a document including a plurality of pages having different print contents is continuously printed. There was a problem that was not mentioned.

【0010】本発明の目的は、複数ページからなる文書
を連続して印刷する際の印刷性能を向上させることがで
きる印刷制御方法および印刷制御装置並びに印刷システ
を提供することにある。
An object of the present invention, a printing control method and printing control apparatus and printing system can be improved printing performance when printing continuously document consisting of several pages
It is to provide a beam.

【0011】[0011]

【課題を解決するための手段】本発明によれば、印刷コ
マンド列に基づいたプリント情報をプリントエンジンへ
出力する印刷制御方法であって、各ページの書式情報
を、該ページ以前のページの書式情報または該ページの
印刷コマンドから得るステップと、前記コマンド列と前
記ステップにより求めた各ページの書式情報とを、複数
のプロセッサのそれぞれにページごとに割り当てるステ
ップと、前記印刷コマンド列と前記各ページの書式情報
とに基づいて、ビットマップの展開を並列に行い、ペー
ジごとにプリント情報を生成するステップと、前記複数
のプロセッサのそれぞれが、ビットマップへの展開終了
を通知するステップと、前記展開終了通知を受けて、前
記プリント情報を所定の順序でプリントエンジンへ出力
するステップと、を有することを特徴とする印刷制御方
法が提供される。また、本発明によれば、印刷コマンド
列に基づいたプリント情報をプリントエンジンへ出力す
る印刷制御装置において、第1のプロセッサおよび1つ
以上の第2のプロセッサを備え、前記第1のプロセッサ
は、各ページの書式情報を、該ページ以前のページの書
式情報または該ページの印刷コマンドから得、前記印刷
コマンド列と前記各ページの書式情報とを、ページ単位
で、前記第2のプロセッサごとに割り当てるとともに、
前記第2のプロセッサから、プリント情報の生成の終了
通知をページ単位で受け、該ページのプリント情報を所
定の順序でプリントエンジンへ出力し、前記第2のプロ
セッサは、各々、前記第1のプロセッサから割り当てら
れたページ単位の書式情報と印刷コマンド列とに基づ
き、ページ単位で並列してビットマップの展開を行って
プリント情報を生成し、ビットマップの展開終了を前記
第1のプロセッサに通知することを特徴とする印刷装置
が提供される。さらに、本発明によれば、印刷コマンド
列に基づいたプリント情報を印刷する印刷システムにお
いて、第1のプロセッサ部と、1つ以上の第2のプロセ
ッサ部と、プリントエンジン部とを備え、前記第1のプ
ロセッサ部は、各ページの書式情報を、該ページ以前の
ページの書式情報または該ページの印刷コマンドから
得、前記印刷コマンド列と前記各ページの書式情報と
を、ページ単位で、前記第2 のプロセッサ部ごとに割り
当てるとともに、前記第2のプロセッサ部から、プリン
ト情報の生成の終了通知をページ単位で受け、該ページ
のプリント情報を所定の順序でプリントエンジンへ出力
し、前記第2のプロセッサ部は、各々、前記第1のプロ
セッサ部から割り当てられたページ単位の書式情報と印
刷コマンド列とに基づき、ページ単位で並列してビット
マップの展開を行ってプリント情報を生成し、ビットマ
ップの展開終了を前記第1のプロセッサ部に通知し、前
記プリントエンジン部は、前記第1のプロセッサ部によ
り所定の順序で出力されたプリント情報を印刷すること
を特徴とする印刷システムが提供される。
According to the present invention, a printing method is provided.
Print information based on command sequence to print engine
The print control method to be output, and the format information of each page
To the format information of the page before the page or the
Obtaining from the print command, the command sequence and the previous
The format information of each page obtained in the step
Assigned to each processor
, The print command sequence and the format information of each page
Bitmaps are developed in parallel based on the
Generating print information for each page;
Each of the processors finishes expanding to a bitmap
And receiving the deployment completion notification,
Print information is output to the print engine in a predetermined order
Printing control method, comprising the steps of:
A law is provided. Also, according to the present invention, a print command
Output print information based on columns to the print engine
A first processor and one
The first processor comprising the second processor described above.
Indicates the format information of each page
The print information obtained from the formula information or the print command of the page.
The command string and the format information of each page are converted into page units.
And assigning each of the second processors.
End of print information generation from the second processor
Receive notification on a page-by-page basis and store print information for the page.
Output to the print engine in a predetermined order,
Sessas are each assigned from the first processor.
Based on the specified page unit format information and the print command string.
And develop bitmaps in parallel in page units
Generate print information and indicate the end of bitmap development
A printing apparatus for notifying a first processor
Is provided. Further, according to the present invention, a print command
Printing system that prints print information based on columns
And a first processor unit and one or more second processors.
A print engine unit, and a print engine unit.
The processor unit converts the format information of each page into a format before the page.
From the page format information or the print command of the page
The print command sequence and the format information of each page,
For each second processor unit in page units.
, And from the second processor unit,
Receiving the end notification of the generation of the
Print information to the print engine in a predetermined order
And the second processor units each include the first processor.
Format information and marks for each page assigned by the processor
Based on the printing command sequence
Generate print information by expanding the map, and
Notifying the first processor unit of the end of the map deployment,
The print engine unit is provided by the first processor unit.
Print the print information output in a predetermined order
Is provided.

【実施例】 本発明による印刷制御方法は、複数頁にわた
る印刷コマンドをコマンドバッファに格納し、該印刷コ
マンドに従って複数のプロセッサにより各頁の描画処理
および印刷処理を行なう印刷制御方法であって、異なる
頁の描画処理を順次異なるプロセッサに割当てる際、前
記コマンドバッファ内の複数頁にわたる印刷コマンド列
を読み、実際の描画(実描画)を行なうことなく各頁の
描画属性パラメータの設定を行なう空描画を実行し、該
空描画の終了した頁について当該設定された描画属性パ
ラメータに従って前記印刷コマンド列に基づき各プロセ
ッサで実描画を実行するようにしたものである。なお、
本明細書において、描画属性パラメータとは、フォント
の種類およびサイズ、文字ピッチ、行ピッチ、反転、ア
ンダライン、イタリック、等各種の描画属性の他、紙サ
イズ、印刷部数、印字方向(ポートレート/ランドスケ
ープ)等の用紙制御情報も含むものとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A print control method according to the present invention is a print control method in which a print command over a plurality of pages is stored in a command buffer, and a plurality of processors perform drawing processing and print processing of each page in accordance with the print command. When sequentially assigning the page drawing process to different processors, a print command sequence over a plurality of pages in the command buffer is read, and a blank drawing for setting the drawing attribute parameter of each page without performing actual drawing (actual drawing) is performed. The actual drawing is executed by each processor based on the print command sequence in accordance with the set drawing attribute parameter for the page on which the blank drawing has been completed. In addition,
In this specification, the drawing attribute parameters include font type and size, character pitch, line pitch, inversion, underline, italic, and other various drawing attributes, as well as paper size, number of copies, printing direction (portrait / Paper control information such as landscape).

【0012】本発明による印刷制御装置は、マスタプロ
セッサと、該マスタプロセッサの指示に従って動作する
複数のスレーブプロセッサと、ホストコンピュータとの
通信を行うためのホスト通信コントローラと、プリンタ
エンジン部との入出力を行うためのプリンタエンジンア
ダプタと、ホストコンピュータから前記ホスト通信コン
トローラを介して受信した印刷コマンド列を格納するコ
マンドバッファ部を有し、前記全プロセッサがアクセス
可能な共有メモリと、個々のプロセッサしかアクセスで
きない各プロセッサ毎のローカルメモリとを備え、前記
マスタプロセッサに、前記コマンドバッファ部内の印刷
コマンド列を読出し、解釈しながら、描画を伴わない描
画属性パラメータの設定処理を頁区切りを検出するまで
1頁分行い、次頁先頭の頁区切りアドレスを求める空描
画機能と、該空描画の後空き状態のスレーブプロセッサ
を獲得する機能と、該スレーブプロセッサの獲得の後、
前記空描画により確定した紙サイズ分の大きさを有する
空き状態のページバッファメモリを獲得する機能と、該
ページバッファメモリの獲得の後、空描画を終了した頁
についての前記獲得スレーブプロセッサによる前記獲得
ページバッファメモリへの実描画を、当該頁先頭の頁区
切りアドレスと描画属性パラメータとを入力パラメータ
とし順次起動する機能を持たせ、前記スレーブプロセッ
サに、実描画として、前記空描画により求められた描画
属性パラメータに従って1頁分の描画を行う機能と、該
実描画の後マスタプロセッサに該実描画の終了を報告す
るとともに、該描画済みページバッファについての印刷
処理をマスタプロセッサに依頼する機能とを持たせ、さ
らに前記マスタプロセッサに、該実描画の終了報告を受
信したとき、実描画終了頁の更新と、報告元スレーブプ
ロセッサの解放とを行う機能と、印刷処理を依頼された
とき、前記描画済みページバッファについての印刷処理
を実行する機能と、該印刷処理により起動された描画済
みページバッファからの読み出しの終了を、プリンタエ
ンジンアダプタ又はスレーブプロセッサから認知したと
き、当該ページバッファを解放する機能とを持たせ、前
記マスタプロセッサによる空描画処理と印刷処理を並行
処理し、さらに前記マスタプロセッサによる処理と前記
各スレーブプロセッサによる処理を並列処理するように
したものである。
A print control apparatus according to the present invention includes a master processor, a plurality of slave processors operating according to instructions from the master processor, a host communication controller for communicating with a host computer, and input / output between a printer engine unit. And a command buffer unit for storing a print command sequence received from a host computer via the host communication controller, a shared memory accessible by all the processors, and an access only to individual processors. And a local memory for each processor that cannot read the print command string in the command buffer unit while reading and interpreting the print command string in the command buffer unit. Minutes, then the next page And sky drawing function for obtaining a page delimiter address head, a function of acquiring the slave processor idle after the air drawing, after the acquisition of the slave processor,
A function of acquiring an empty page buffer memory having a size corresponding to the paper size determined by the empty drawing, and acquiring by the acquisition slave processor the page for which empty drawing has been completed after the acquisition of the page buffer memory. A function of sequentially starting the actual drawing in the page buffer memory using the page break address of the beginning of the page and the drawing attribute parameter as input parameters is provided, and the slave processor performs the actual drawing as the actual drawing by the blank drawing. It has a function of drawing one page in accordance with the attribute parameter, and a function of reporting the end of the actual drawing to the master processor after the actual drawing and requesting the master processor to perform a printing process on the drawn page buffer. Further receiving the actual drawing completion report from the master processor. A function of updating the end page and releasing the report source slave processor, a function of executing a print process for the drawn page buffer when a print process is requested, and a process of starting a drawn process started by the print process. When the end of reading from the page buffer is recognized from the printer engine adapter or the slave processor, a function of releasing the page buffer is provided, and the blank rendering process and the printing process by the master processor are performed in parallel. The processing by the processor and the processing by each slave processor are performed in parallel.

【0013】本発明による他の印刷制御装置は、マスタ
プロセッサと、該マスタプロセッサの指示に従って動作
する複数のスレーブプロセッサと、ホストコンピュータ
との通信を行うためのホスト通信コントローラと、プリ
ンタエンジン部との入出力を行うためのプリンタエンジ
ンアダプタと、ホストコンピュータから前記ホスト通信
コントローラを介して受信した印刷コマンド列を格納す
るコマンドバッファ部を有し、前記全プロセッサがアク
セス可能な共有メモリと、個々のプロセッサしかアクセ
スできない各プロセッサ毎のローカルメモリとを備え、
前記マスタプロセッサに、複数のスレーブプロセッサに
対し、M個の個別描画タスクの任意の一つを起動する機
能を持たせ、第1番目のスレーブプロセッサに割り当て
た個別描画タスク1に、固定サイズ(プリンタエンジン
部にて印刷可能な最大紙サイズ分の大きさに対応)の空
き状態のページバッファメモリの獲得をマスタプロセッ
サに依頼する機能と、その後前記獲得ページバッファメ
モリへの実描画として描画属性パラメータの設定処理及
び描画を頁区切りを検出するまで行い1頁分の描画をす
る機能と、該実描画の後該スレーブプロセッサからマス
タプロセッサに、該実描画の終了を報告するとともに、
該描画済みページバッファについての印刷処理を依頼す
る機能と、該印刷処理の依頼の後、前記コマンドバッフ
ァ部内の印刷コマンド列を読出し、解釈しながら、描画
を伴わない描画属性パラメータの設定処理を頁区切りを
検出するまで1頁分行う空描画をMー1回実行する機能
を繰返し実行する機能とを持たせ、第k番目のスレーブ
プロセッサに割り当てた個別描画タスクmに、前記空描
画をmー1回実行する機能と、前記固定サイズの空き状
態のページバッファメモリの獲得をマスタプロセッサに
依頼する機能と、その後前記獲得ページバッファメモリ
への実描画として描画属性パラメータの設定処理及び描
画を頁区切りを検出するまで行い1頁分の描画をする機
能と、該実描画の後該スレーブプロセッサからマスタプ
ロセッサに該実描画の終了を報告するとともに、該描画
済みページバッファについての印刷処理を依頼する機能
と、該印刷処理の依頼の後、前記空描画をMーm回実行
する機能とを持たせ、さらに前記マスタプロセッサに、
前記実描画の終了報告の受信時に実描画終了頁の更新を
行う機能と、印刷処理の依頼時に該描画済みページバッ
ファについての印刷処理を実行する機能と、該印刷処理
により起動された描画済みページバッファからの読出し
の終了をプリンタエンジンアダプタ又はスレーブプロセ
ッサから認知したとき、当該ページバッファを解放する
機能と、ページバッファ獲得の依頼時にページバッファ
の獲得を実行する機能とを持たせ、前記マスタプロセッ
サによる空描画処理と印刷処理を並行処理し、さらに前
記マスタプロセッサによる処理と前記各スレーブプロセ
ッサによる処理を並列処理するようにしたものである。
Another printing control apparatus according to the present invention includes a master processor, a plurality of slave processors operating according to instructions from the master processor, a host communication controller for communicating with a host computer, and a printer engine unit. A printer engine adapter for performing input / output, a command buffer unit for storing a print command sequence received from a host computer via the host communication controller, a shared memory accessible by all processors, and individual processors With local memory for each processor that can only be accessed,
The master processor has a function of activating any one of M individual drawing tasks for a plurality of slave processors, and the individual drawing task 1 assigned to the first slave processor has a fixed size (printer A function of requesting the master processor to acquire an empty page buffer memory (corresponding to the size of the maximum paper size that can be printed by the engine unit), and then, as the actual rendering in the acquired page buffer memory, the rendering attribute parameter A function of performing setting processing and drawing until a page break is detected and drawing one page, and after the actual drawing, reporting the end of the actual drawing from the slave processor to the master processor;
A function for requesting a print process for the rendered page buffer, and, after the request for the print process, reading and interpreting a print command sequence in the command buffer unit, and setting a rendering attribute parameter without rendering while performing page processing. A function of repeatedly executing a function of executing blank drawing for one page until a break is detected by M-1 times is provided. A function to execute once, a function to request the master processor to acquire the fixed-size empty page buffer memory, and then, to set a drawing attribute parameter and draw as a real drawing in the acquired page buffer memory, page separation. A function of drawing until one page is detected, and drawing the actual drawing from the slave processor to the master processor after the actual drawing. And a function of requesting a print process for the drawn page buffer and a function of executing the empty drawing M-m times after the request for the print process. To
A function of updating the actual drawing end page when the actual drawing end report is received, a function of executing a print process for the drawn page buffer when a print process is requested, and a drawn page activated by the print process When the end of reading from the buffer is recognized from the printer engine adapter or the slave processor, a function of releasing the page buffer and a function of executing acquisition of the page buffer when requesting acquisition of the page buffer are provided. A blank drawing process and a printing process are performed in parallel, and a process by the master processor and a process by each of the slave processors are performed in parallel.

【0014】スタプロセッサと複数のスレーブプロセ
ッサとを有するマルチプロセッサ型印刷制御装置におい
ては、マスタプロセッサの制御のもとで、複数個のスレ
ーブプロセッサが描画等の処理を並列処理することがで
きるので、印刷制御装置における処理能力を向上させる
ことができる。特に、空描画の採用により複数のプロセ
ッサによる描画処理の並列実行が容易となった。
[0014] In a multiprocessor-type printing controller having a master processor and a plurality of slave processors, under the control of the master processor, it is possible to a plurality of slave processors to parallel processing process drawing such In addition, the processing capability of the print control device can be improved. In particular, the adoption of the empty drawing facilitates the parallel execution of the drawing process by a plurality of processors.

【0015】空描画集中処理方式(紙サイズ確定型空描
画集中処理方式、又は紙サイズ仮定型空描画集中処理方
式)を用いた印刷制御装置においては、描画管理タスク
が空描画を行ない、複数個の個別描画タスクが別プロセ
ッサ上で実描画を並列実行する。また、実描画により描
画の済んだ各ページバッファについての印刷処理を、上
記空描画とは並行的に、また実描画とは並列的に実行す
ることができる。なお、本明細書において、「並列」実
行とは、複数のプロセッサが同時に複数の処理を実行す
ることを意味し、「並行」実行とは、1つのプロセッサ
が複数の処理をパイプライン的に処理することを意味す
る。
In a print control apparatus using a blank drawing centralized processing system (paper size fixed type blank drawing centralized processing system or paper size assumed blank drawing centralized processing system), a drawing management task performs blank drawing, The individual drawing task executes the actual drawing in parallel on another processor. In addition, the printing process for each page buffer that has been drawn by the actual drawing can be executed in parallel with the blank drawing and in parallel with the real drawing. In this specification, “parallel” execution means that a plurality of processors execute a plurality of processes at the same time, and “parallel” execution means that one processor processes a plurality of processes in a pipeline. Means to do.

【0016】また、空描画分散処理方式においても、複
数個の個別描画タスクが別プロセッサ上で実描画を並列
実行し、実描画により描画の済んだ各ページバッファに
ついての印刷処理を、実描画とは並列的に実行する。
Also in the blank drawing distributed processing method, a plurality of individual drawing tasks execute real drawing in parallel on another processor, and print processing for each page buffer that has been drawn by the real drawing is referred to as real drawing. Execute in parallel.

【0017】従って、空描画集中処理方式及び空描画分
散処理方式においては、実描画処理を並列実行している
ため、ページ当りの描画時間が、ページ当りのプリンタ
メカニズム印刷時間を超える場合でも、印刷スループッ
トとしてプリンタ最高性能を達成することができる。ま
た描画と印刷を並行処理しているため、各ページの印刷
内容が異なる複数ページからなる文書についての連続印
刷においても、プリンタ最高性能を達成することができ
る。また複数個のプロセッサとして汎用プロセッサを用
いることにより、各ページが文字又は図形のみの文書に
ついても描画性能を向上させ、印刷性能を向上させるこ
とができる。
Therefore, in the blank drawing centralized processing method and the blank drawing distributed processing method, since the actual drawing processing is executed in parallel, even if the drawing time per page exceeds the printer mechanism printing time per page, the printing is performed. The highest performance of the printer can be achieved as the throughput. In addition, since drawing and printing are performed in parallel, the highest performance of the printer can be achieved even in continuous printing of a document including a plurality of pages in which the print content of each page is different. In addition, by using a general-purpose processor as the plurality of processors, it is possible to improve the drawing performance even for a document in which each page includes only characters or graphics, and to improve the printing performance.

【0018】また、空描画集中処理方式及び空描画分散
処理方式のうち可変長ページバッファ制御のものを用い
る場合、紙サイズに応じて必要なサイズのページバッフ
ァだけを獲得するため、大きな紙サイズの印刷を少ない
ページバッファ総容量で実現することができる。さら
に、小さな紙サイズの印刷では多数のページバッファを
配置できるようになるため、一部描画負荷の大きいペー
ジの印刷が混在していても、平均印刷スループットを低
下することなく、プリンタエンジン最高性能での印刷を
実現することができる。
In the case of using the variable length page buffer control among the blank drawing centralized processing system and the blank drawing distributed processing system, only a page buffer of a required size is obtained according to the paper size. Printing can be realized with a small total page buffer capacity. Furthermore, when printing on small paper sizes, a large number of page buffers can be arranged, so even if printing of pages with a large drawing load is mixed, the average print throughput will not be reduced and the printer engine will operate at the highest performance. Can be realized.

【0019】また、空描画分散処理方式においては、空
描画集中処理方式とは異なり、空描画を個別描画タスク
が行なっている。従って、前記空描画の負荷が小さい場
合、個別描画タスク数Mをスレーブプロセッサ総数Kま
たはK+1と等しくし、各個別描画タスクmを、いずれ
かのスレーブプロセッサ及びマスタプロセッサに割り当
てることで、印刷スループットを空描画集中処理方式よ
り向上させることができる。
In the blank drawing distributed processing system, unlike the blank drawing centralized processing system, blank drawing is performed by an individual drawing task. Therefore, when the load of the empty drawing is small, the number M of individual drawing tasks is equal to the total number K or K + 1 of the slave processors, and each individual drawing task m is assigned to any one of the slave processors and the master processor, so that the printing throughput is reduced. This can be improved over the blank drawing centralized processing method.

【0020】また前記制約コマンドをサポートするとと
もに、該制約コマンドに対応した印刷制御処理において
は前記空描画処理において、明瞭なページ区切りの検出
のみを行ない、前記描画属性パラメータの設定処理を行
なわないで済む。そのため、制約コマンドと制約コマン
ドに対応した印刷制御方式を設けることにより、空描画
集中処理方式及び空描画分散処理方式における空描画処
理を、制約コマンドの場合、簡単化し、高速することが
できる。
In addition to supporting the constraint command, in the print control process corresponding to the constraint command, only a clear page break is detected in the blank rendering process, and the rendering attribute parameter setting process is not performed. I'm done. Therefore, by providing a constraint command and a print control method corresponding to the constraint command, the blank drawing process in the blank drawing concentrated processing method and the blank drawing distributed processing method can be simplified and accelerated in the case of the constraint command.

【0021】従って、制約コマンドに対しては、前記空
描画集中処理方式と空描画分散処理について示した効果
に加え、プロセッサ数にほぼ比例した描画性能の向上効
果も得ることができる。
Therefore, with respect to the constraint command, in addition to the effects shown in the blank drawing concentrated processing method and the blank drawing distributed processing, a drawing performance improvement effect almost proportional to the number of processors can be obtained.

【0022】またページ内並列処理方式の印刷制御装置
においては、各1ページについての描画を複数個の領域
に分け、各領域について別プロセッサが並列実行する。
さらに、描画の済んだ各ページバッファについての印刷
処理を、上記描画とは並行的に実行する。
In a print control device of the intra-page parallel processing system, drawing for each page is divided into a plurality of regions, and another processor executes each region in parallel.
Further, the printing process for each page buffer after the drawing is executed in parallel with the drawing.

【0023】従って、ページ内並列処理方式の印刷制御
装置においては、連続印刷を高速実行するだけでなく、
1ページからなる文書や、ファーストプリントも高速印
刷することができる。
Therefore, in the print control apparatus of the intra-page parallel processing system, not only the continuous printing is executed at high speed, but also
Documents consisting of one page and first print can be printed at high speed.

【0024】に、本発明の第1実施例を説明する。初
めに、図2から図5に示すハードウェアの基本構成図を
用いて本実施例における印刷制御装置のハードウェアの
基本構成を説明する。
[0024] Next, a description will be given of a first embodiment of the present invention. First, the basic configuration of the hardware of the print control apparatus according to the present embodiment will be described with reference to the basic configuration diagrams of the hardware illustrated in FIGS. 2 to 5.

【0025】図2にハードウェアの第1の基本構成を示
す。本図において印刷制御装置11は、マスタプロセッ
サモジュール100、スレーブプロセッサモジュール1
(110)、…、スレーブプロセッサモジュールk(本
図からは省略)、…、スレーブプロセッサモジュールK
(120)、システムバス調停部130、システムバス
12、共有メモリ141、ホスト通信コントローラ15
1−a、二次記憶装置161、ファイルコントローラ1
62−a、プリンタエンジンアダプタ部1(171−
a)とからなる。
FIG. 2 shows a first basic configuration of hardware. In the figure, the print control device 11 includes a master processor module 100, a slave processor module 1
(110),..., Slave processor module k (omitted from this drawing),.
(120), system bus arbitration unit 130, system bus 12, shared memory 141, host communication controller 15
1-a, secondary storage device 161, file controller 1
62-a, Printer Engine Adapter 1 (171-
a).

【0026】マスタプロセッサモジュール100は、マ
スタプロセッサ(以後、MPUとも記す)101、内部
バス102、ローカルメモリ103、バスインターフェ
ース(以後I/Fとも記す)104とからなる。内部バ
ス102は、MPU101の各種入出力信号(アドレス
信号、データ信号、その他の制御信号)からなる。
The master processor module 100 comprises a master processor (hereinafter also referred to as MPU) 101, an internal bus 102, a local memory 103, and a bus interface (hereinafter also referred to as I / F) 104. The internal bus 102 includes various input / output signals (address signals, data signals, and other control signals) of the MPU 101.

【0027】MPU101がアドレス信号を発生する
と、バスI/F104は発生したアドレス信号に応じて
内部バス102上のアドレスをそのまま発生し、該内部
バス102上のローカルメモリ103との入出力を行っ
たり、システムバス12上のアドレスへ変換した後、シ
ステムバス12上の共有メモリ141や各種周辺コント
ローラとの入出力を行ったりする。
When the MPU 101 generates an address signal, the bus I / F 104 directly generates an address on the internal bus 102 in accordance with the generated address signal, and performs input / output with the local memory 103 on the internal bus 102. After the address is converted to an address on the system bus 12, the input / output to / from the shared memory 141 on the system bus 12 and various peripheral controllers is performed.

【0028】スレーブプロセッサモジュール1(11
0)は、スレーブプロセッサ1(以後SPU1とも記
す)(111)、内部バス112、ローカルメモリ11
3、バスI/F114とからなる。内部バス112は、
SPU1(111)の各種入出力信号(アドレス信号、
データ信号、その他の制御信号)からなる。SPU1
(111)がアドレス信号を発生すると、バスI/F1
14は発生したアドレス信号に応じて内部バス112上
のアドレスをそのまま発生し、該内部バス112上のロ
ーカルメモリ113との入出力を行ったり、システムバ
ス12上のアドレスへ変換した後、システムバス12上
の共有メモリ141や各種周辺コントローラとの入出力
を行ったりする。
The slave processor module 1 (11
0) is a slave processor 1 (hereinafter also referred to as SPU1) (111), an internal bus 112, a local memory 11
And 3, a bus I / F 114. The internal bus 112
Various input / output signals of the SPU1 (111) (address signals,
Data signals and other control signals). SPU1
When (111) generates an address signal, the bus I / F1
14 generates an address on the internal bus 112 as it is in response to the generated address signal, performs input / output with the local memory 113 on the internal bus 112, converts the address to an address on the system bus 12, For example, input / output to / from the shared memory 141 on the device 12 and various peripheral controllers is performed.

【0029】以下、スレーブプロセッサモジュール2、
…、k、…、Kはスレーブプロセッサモジュール1(1
10)と同様に構成する。例えばスレーブプロセッサモ
ジュールK(120)はスレーブプロセッサK(以後S
PU Kとも記す)(121)、内部バス122、ロー
カルメモリ123、バスI/F124とからなり、各々
はスレーブプロセッサモジュール1(110)の場合と
同様に機能する。
Hereinafter, the slave processor module 2,
, K,..., K are slave processor modules 1 (1
The configuration is the same as 10). For example, the slave processor module K (120) is a slave processor K (hereinafter S
PUK) (121), an internal bus 122, a local memory 123, and a bus I / F 124, and each functions in the same manner as the slave processor module 1 (110).

【0030】システムバス12は、前記各プロセッサモ
ジュールつまりマスタプロセッサモジュール100、ス
レーブプロセッサモジュール1(110)、…、スレー
ブプロセッサモジュールK(120)が前記共有メモリ
141や各種周辺コントローラ、つまりホスト通信コン
トローラ151−aやファイルコントローラ162−a
やプリンタエンジンアダプタ部1(171−a)との間
で入出力を行うための各種入出力信号(アドレス信号、
データ信号、その他の制御信号)からなる。
The system bus 12 includes the above-mentioned processor modules, that is, the master processor module 100, the slave processor modules 1 (110),..., The slave processor module K (120), and the shared memory 141 and various peripheral controllers, that is, the host communication controller 151. -A and file controller 162-a
Input / output signals for inputting / outputting to / from the printer engine adapter unit 1 (171-a) (address signals,
Data signals and other control signals).

【0031】システムバス調停部130はシステムバス
12に対し、該システムバス12のマスタであるマスタ
プロセッサモジュール100、スレーブプロセッサモジ
ュール1(110)、…、スレーブプロセッサモジュー
ルk、…、スレーブプロセッサモジュールK(12
0)、ホスト通信コントローラ151−a、ファイルコ
ントローラ162−a、プリンタエンジンアダプタ部1
(171−a)等がシステムバスの使用権の要求信号を
有効にした時、どのマスタに該システムバスの使用権を
与えるかを決定する。使用権の決定方式としては、先着
順方式、集中制御優先度方式、デージーチェーン方式、
サイクリック方式等の中のいずれを用いても良い。
The system bus arbitration unit 130 sends the master processor module 100, the slave processor module 1 (110),..., The slave processor module k,. 12
0), host communication controller 151-a, file controller 162-a, printer engine adapter unit 1
When (171-a) or the like validates the request signal for the right to use the system bus, it determines which master is given the right to use the system bus. Usage rights are determined on a first-come, first-served basis, centralized control priority system, daisy-chain system,
Any of the cyclic method and the like may be used.

【0032】共有メモリ141は、MPU101、SP
U1(111)、…、SPUk、…、SPUK(12
1)のすべてからアクセス可能なメモリである。共有メ
モリ141をマルチポートメモリで構成し、一つのポー
トをホスト通信コントローラ151−aやファイルコン
トローラ162−a等の周辺コントローラがアクセスす
るためのポートとし、別の一つのポートをマスタプロセ
ッサやスレーブプロセッサがアクセスするためのポート
としてもよい。
The shared memory 141 includes the MPU 101, the SP
, SPUK, ..., SPUK (12
This is a memory accessible from all of 1). The shared memory 141 is constituted by a multi-port memory, one port is used as a port for access by peripheral controllers such as the host communication controller 151-a and the file controller 162-a, and another port is used as a master processor or a slave processor. May be used as a port for access.

【0033】ホスト通信コントローラ151−aは、印
刷制御装置11がホストコンピュータ10と通信を行う
ためのコントローラであり、システムバス12の一つの
周辺コントローラである。
The host communication controller 151-a is a controller for the print control device 11 to communicate with the host computer 10, and is one peripheral controller of the system bus 12.

【0034】本通信(ホストI/Fと呼ぶ)の物理I/
FとしてはSCSI(Small ComputerSystem Interfac
e)、RS232C、RS422、GP-IB(General Purpose Interface Bu
s)、セントロニクス、HDLC(High -Level Data Li
nk Control)、ISDN(Integrated Services Degita
l Network)、Ethernet等を用い、使用する物
理I/Fの種類に応じて本コントローラ151−aのハ
ードウェア論理として適切なものを実装する。
The physical I / F of this communication (called host I / F)
F is SCSI (Small Computer System Interface)
e), RS232C, RS422, GP-IB (General Purpose Interface Bu
s), Centronics, HDLC (High-Level Data Li
nk Control), ISDN (Integrated Services Degita)
Network), Ethernet, etc., and appropriate hardware logic of the controller 151-a is mounted according to the type of physical I / F used.

【0035】二次記憶装置161は、フォントデータ、
書式データ、プログラム等を格納するために用い、シス
テムバス12の一つの周辺コントローラであるファイル
コントローラ162−aを介してシステムバス12に接
続される。
The secondary storage device 161 stores font data,
It is used to store format data, programs, and the like, and is connected to the system bus 12 via a file controller 162-a, which is one peripheral controller of the system bus 12.

【0036】プリンタエンジンアダプタ部1(171−
a)は、印刷制御装置11がプリンタエンジン部18と
入出力を行うためのコントローラであり、やはりシステ
ムバス12の一つの周辺コントローラである。
The printer engine adapter unit 1 (171-171)
a) is a controller for the print control device 11 to perform input / output with the printer engine unit 18, which is also a peripheral controller of the system bus 12.

【0037】次にハードウェアの第1の基本構成(図
2)における各種信号について説明する。
Next, various signals in the first basic configuration of the hardware (FIG. 2) will be described.

【0038】信号線12−aは、マスタプロセッサモジ
ュールとシステムバスを接続するための入出力信号の集
まりであり、アドレス信号、データ信号、バス調停用信
号、MPU101の制御信号、共有メモリ141の制御
信号等からなる。
The signal line 12-a is a group of input / output signals for connecting the master processor module and the system bus, and includes an address signal, a data signal, a bus arbitration signal, a control signal of the MPU 101, and a control of the shared memory 141. It consists of signals and the like.

【0039】信号線12−bは、スレーブプロセッサモ
ジュール1とシステムバスを接続するための入出力信号
の集まりであり、アドレス信号、データ信号、バス調停
用信号、SPU1(101)の制御信号、共有メモリ1
41の制御信号等からなる。
The signal line 12-b is a group of input / output signals for connecting the slave processor module 1 and the system bus, and includes an address signal, a data signal, a bus arbitration signal, a control signal for the SPU1 (101), and a common signal. Memory 1
It consists of 41 control signals and the like.

【0040】他のスレーブプロセッサモジュール2から
Kも、スレーブプロセッサモジュール1と同様の信号線
を用いて、システムバスとの間で入出力信号の送受信を
行う。
The other slave processor modules 2 to K also use the same signal lines as the slave processor module 1 to transmit and receive input / output signals to and from the system bus.

【0041】信号線12−cは、共有メモリとシステム
バスを接続するための入出力信号の集まりであり、アド
レス信号、データ信号、共有メモリ141の制御信号等
からなる。
The signal line 12-c is a group of input / output signals for connecting the shared memory and the system bus, and includes an address signal, a data signal, a control signal for the shared memory 141, and the like.

【0042】信号線12−dは、ホスト通信コントロー
ラ151−aと共有メモリ141を接続するための入出
力信号の集まりであり、アドレス信号、データ信号、共
有メモリ141の制御信号等からなる。
The signal line 12-d is a group of input / output signals for connecting the host communication controller 151-a and the shared memory 141, and includes an address signal, a data signal, a control signal for the shared memory 141, and the like.

【0043】信号線12−eは、ホスト通信コントロー
ラ151−aとシステムバスを接続するための入出力信
号の集まりであり、バス調停用信号、ホスト通信コント
ローラの制御信号(MPUへの割込み信号を含む)等か
らなる。各SPUへの割込み信号をさらに該信号線12
−dに追加することもできる。
The signal line 12-e is a group of input / output signals for connecting the host communication controller 151-a to the system bus, and includes a bus arbitration signal, a host communication controller control signal (an interrupt signal to the MPU). Including). The interrupt signal to each SPU is further transmitted to the signal line 12.
It can be added to -d.

【0044】信号線12−fは、ファイルコントローラ
162−aと共有メモリ141を接続するための入出力
信号の集まりであり、アドレス信号、データ信号、共有
メモリ141の制御信号等からなる。
The signal line 12-f is a group of input / output signals for connecting the file controller 162-a and the shared memory 141, and includes an address signal, a data signal, a control signal for the shared memory 141, and the like.

【0045】信号線12−gは、ファイルコントローラ
162−aとシステムバスを接続するための入出力信号
の集まりであり、バス調停用信号、ファイルコントロー
ラ制御信号(MPUへの割込み信号を含む)等からな
る。各SPUへの割込み信号をさらに該信号線12−g
に追加することもできる。
The signal line 12-g is a group of input / output signals for connecting the file controller 162-a to the system bus, and includes a bus arbitration signal, a file controller control signal (including an interrupt signal to the MPU), and the like. Consists of The interrupt signal to each SPU is further transmitted to the signal line 12-g.
Can also be added.

【0046】信号線12−hは、プリンタエンジンアダ
プタ部1(171−a)とシステムバスを接続するため
の入出力信号の集まりであり、バス調停用信号、プリン
タエンジンアダプタ部1の制御信号(MPUへの割込み
信号や各SPUへの割込み信号を含む)、アドレス信
号、データ信号、共有メモリ141の制御信号等からな
る。各SPUへの割込み信号を省略することもできる。
The signal line 12-h is a group of input / output signals for connecting the printer engine adapter unit 1 (171-a) and the system bus, and includes a bus arbitration signal and a control signal for the printer engine adapter unit 1 (171-a). (Including an interrupt signal to the MPU and an interrupt signal to each SPU), an address signal, a data signal, a control signal for the shared memory 141, and the like. An interrupt signal to each SPU may be omitted.

【0047】信号線12−iは、プリンタエンジンアダ
プタ部1(171−a)とプリンタエンジン部18を接
続するための入出力信号の集まりであり、プリンタエン
ジン部18が定める各種インターフェース信号からな
る。
The signal line 12-i is a group of input / output signals for connecting the printer engine adapter 1 (171-a) and the printer engine 18, and is composed of various interface signals defined by the printer engine 18.

【0048】図3にハードウェアの第2の基本構成を示
す。本図は、図2におけるプリンタエンジンアダプタ部
1(171−a)をプリンタエンジンアダプタ部2(1
71−b)に置き換えたものである。プリンタエンジン
アダプタ部2(171−b)はシステムバス12に接続
される点は同じであるが、プリンタエンジン部18への
印刷データの読出しを、システムバス12でなく、新た
に設けたビデオバス1(13)を用いて行う。
FIG. 3 shows a second basic configuration of the hardware. This figure shows that the printer engine adapter unit 1 (171-a) in FIG.
71-b). The printer engine adapter unit 2 (171-b) is connected to the system bus 12 in the same manner, but reads out print data to the printer engine unit 18 instead of the system bus 12 and the newly provided video bus 1. This is performed using (13).

【0049】そのためビデオバス1(13)とのインタ
ーフェースを信号線12−j、信号線12−k、信号線
12−lを用いてとる。
Therefore, an interface with the video bus 1 (13) is established by using the signal line 12-j, the signal line 12-k, and the signal line 12-1.

【0050】信号線12−jは、マスタプロセッサモジ
ュールとビデオバスを接続するための入出力信号の集ま
りであり、アドレス信号、データ信号、バス調停用信
号、MPU101の制御信号、プリンタエンジンアダプ
タ部2(171−b)内のメモリ(本図には示さず)を
アクセスするための制御信号等からなる。
A signal line 12-j is a group of input / output signals for connecting the master processor module and the video bus, and includes an address signal, a data signal, a bus arbitration signal, a control signal of the MPU 101, and a printer engine adapter unit 2. (171-b) includes a control signal for accessing a memory (not shown in the figure).

【0051】信号線12−kは、スレーブプロセッサモ
ジュール1とビデオバス1(13)を接続するための入
出力信号の集まりであり、アドレス信号、データ信号、
バス調停用信号、SPU1(111)の制御信号、プリ
ンタエンジンアダプタ部2(171−b)内のメモリ
(本図には示さず)をアクセスするための制御信号等か
らなる。
The signal line 12-k is a group of input / output signals for connecting the slave processor module 1 and the video bus 1 (13), and includes an address signal, a data signal,
It comprises a bus arbitration signal, a control signal for the SPU1 (111), a control signal for accessing a memory (not shown in the figure) in the printer engine adapter unit 2 (171-b), and the like.

【0052】他のスレーブプロセッサモジュール2から
Kも、スレーブプロセッサモジュール1と同様の信号線
を用いて、ビデオバス1(13)との間で入出力信号の
送受信を行う。
The other slave processor modules 2 to K also transmit and receive input / output signals to and from the video bus 1 (13) using the same signal lines as the slave processor module 1.

【0053】信号線12−lは、プリンタエンジンアダ
プタ部2(171−b)とビデオバス1(13)を接続
するための入出力信号の集まりであり、アドレス信号、
データ信号、バス調停用信号、プリンタエンジンアダプ
タ部2(171−b)の制御信号、MPUや各SPUへ
の割込み信号等からなる。
The signal line 12-1 is a group of input / output signals for connecting the printer engine adapter unit 2 (171-b) and the video bus 1 (13).
It comprises a data signal, a bus arbitration signal, a control signal for the printer engine adapter unit 2 (171-b), an interrupt signal to the MPU and each SPU, and the like.

【0054】図4にハードウェアの第3の基本構成を示
す。本図は、図2におけるホスト通信コントローラ15
1−aとファイルコントローラ162−aとを、それぞ
れホスト通信コントローラ151−bとファイルコント
ローラ162−bに置き換え、それらを共有メモリに直
接接続するのをやめ、システムバスのみに接続したもの
である。共有メモリ周りのインターフェースが図2の場
合とは異なるため、本図では共有メモリの参照番号とし
て142を用いる。
FIG. 4 shows a third basic configuration of the hardware. This figure shows the host communication controller 15 in FIG.
1-a and the file controller 162-a are replaced with a host communication controller 151-b and a file controller 162-b, respectively, and the direct connection to the shared memory is stopped and only the system bus is connected. Since the interface around the shared memory is different from that in FIG. 2, 142 is used as a reference number of the shared memory in this figure.

【0055】信号線12−c’は、共有メモリとシステ
ムバス12を接続するための入出力信号の集まりであ
り、アドレス信号、データ信号、共有メモリ142の制
御信号等からなる。
The signal line 12-c 'is a group of input / output signals for connecting the shared memory and the system bus 12, and includes an address signal, a data signal, a control signal for the shared memory 142, and the like.

【0056】信号線12−e’は、ホスト通信コントロ
ーラ151−bとシステムバス12を接続するための入
出力信号の集まりであり、アドレス信号、データ信号、
バス調停用信号、ホスト通信コントローラの制御信号
(MPUへの割込み信号を含む)、共有メモリ142の
制御信号等からなる。
The signal line 12-e 'is a group of input / output signals for connecting the host communication controller 151-b and the system bus 12, and includes an address signal, a data signal,
It comprises a bus arbitration signal, a control signal of the host communication controller (including an interrupt signal to the MPU), a control signal of the shared memory 142, and the like.

【0057】信号線12−g’は、ファイルコントロー
ラ162−bとシステムバス12を接続するための入出
力信号の集まりであり、アドレス信号、データ信号、バ
ス調停用信号、ファイルコントローラ制御信号(MPU
への割込み信号を含む)、共有メモリ142の制御信号
等からなる。
The signal line 12-g 'is a group of input / output signals for connecting the file controller 162-b and the system bus 12, and includes an address signal, a data signal, a bus arbitration signal, and a file controller control signal (MPU).
And an interrupt signal to the shared memory 142).

【0058】前記信号線12−e’と信号線12−g’
に各SPUへの割込み信号を追加することもできる。
The signal lines 12-e 'and 12-g'
, An interrupt signal to each SPU can be added.

【0059】図5にハードウェアの第4の基本構成を示
す。本図は、図3におけるホスト通信コントローラ15
1−aとファイルコントローラ162−aとを、それぞ
れホスト通信コントローラ151−bとファイルコント
ローラ162−bとに置き換え、それらを共有メモリに
直接接続するのをやめ、システムバスのみに接続したも
のである。図2を図4へ変更したのと、変更内容は同様
である。本図でも共有メモリの参照番号としては、14
2を用いる。
FIG. 5 shows a fourth basic configuration of the hardware. This figure shows the host communication controller 15 in FIG.
1-a and the file controller 162-a are replaced by a host communication controller 151-b and a file controller 162-b, respectively, and the direct connection to the shared memory is stopped and only the system bus is connected. . The content of the change is the same as that of changing FIG. 2 to FIG. Also in this figure, the reference number of the shared memory is 14
2 is used.

【0060】次に図1を用いて、印刷制御装置11のハ
ードウェア構成をさらに詳しく説明する。図1では図3
において、マスタプロセッサモジュール100、各スレ
ーブプロセッサモジュール部に、タイマ106、11
6、126等;イメージ処理プロセッサ107、11
7、127等;文字、図形描画プロセッサ108、11
8、128等を追加した。さらに、操作パネル部19も
追加し、印刷制御装置11についての表示と入力とを行
えるようにした。
Next, the hardware configuration of the print control device 11 will be described in more detail with reference to FIG. In FIG. 1, FIG.
In the master processor module 100, the timers 106, 11
6, 126, etc .; image processors 107, 11
7, 127, etc .; character and graphic drawing processors 108, 11
8, 128, etc. were added. Further, an operation panel unit 19 is added so that display and input of the print control device 11 can be performed.

【0061】なお、図2〜図5にも、図1と同様の構成
要素を追加することができる。
It should be noted that the same components as in FIG. 1 can be added to FIGS.

【0062】次に図6を用いて印刷制御装置11のソフ
トウェア構成を説明する。本図に示すように、ソフトウ
ェアはモニタ部31とタスク処理部32とから構成され
る。モニタ部31は、カーネル部311、ホスト通信制
御部312、コマンドバッファ制御部313、ファイル
制御部314、ページバッファ制御部315、プリンタ
制御部316とコマンドバッファ部33とページバッフ
ァ部34とから構成される。
Next, the software configuration of the print control device 11 will be described with reference to FIG. As shown in the figure, the software includes a monitor unit 31 and a task processing unit 32. The monitor unit 31 includes a kernel unit 311, a host communication control unit 312, a command buffer control unit 313, a file control unit 314, a page buffer control unit 315, a printer control unit 316, a command buffer unit 33, and a page buffer unit 34. You.

【0063】カーネル部311は、割込み制御プログラ
ムのメインルーチン、スーパバイザコール(SVCと略
す)制御のメインルーチン、タスク制御部、及びタイマ
制御部とからなる。
The kernel unit 311 includes a main routine of an interrupt control program, a main routine of supervisor call (abbreviated as SVC) control, a task control unit, and a timer control unit.

【0064】ホスト通信制御部312は、ホストコンピ
ュータ10と印刷制御装置11の間で各種コマンドの授
受を行う。例えば、ホストコンピュータ10から印刷コ
マンド列を受信したり、印刷制御装置11内で発生した
各種事象(エラー発生、頁印刷終了、文書印刷終了等)
をホストコンピュータ10へ報告したりする。
The host communication control unit 312 sends and receives various commands between the host computer 10 and the print control device 11. For example, a print command sequence is received from the host computer 10 or various events (error occurrence, page printing end, document printing end, etc.) occurring in the print control device 11.
To the host computer 10.

【0065】コマンドバッファ制御部313は、コマン
ドバッファ部33についての書き込みと読み出しを行う
際に用いる書き込みスタートポインタ、書き込みエンド
ポインタ、読み出しポインタ等の制御を行う。
The command buffer control unit 313 controls a write start pointer, a write end pointer, a read pointer, and the like used when writing and reading with respect to the command buffer unit 33.

【0066】本コマンドバッファ制御部313を前記ホ
スト通信制御部312が用いて、印刷コマンドをコマン
ドバッファ部33へ格納する。また同じくコマンドバッ
ファ制御部313を用いて、後述するタスク処理部32
内の描画タスク部321がコマンドバッファ部33の内
容を読み出し、処理する。
The command buffer control unit 313 is used by the host communication control unit 312 to store a print command in the command buffer unit 33. Also, a task processing unit 32 described later is used by using the command buffer control unit 313.
The drawing task unit 321 reads out the contents of the command buffer unit 33 and processes it.

【0067】ファイル制御部314は、前記二次記憶装
置161内の各ファイルを制御するための部分であり、
各ファイル内データのアクセスのための制御や、ファイ
ルを構成するファイル実体(複数個のブロックの集合)
の管理等を行う。タスク処理部内の各タスクは本ファイ
ル制御部314内のファイル制御用の各種SVC機能を
用いて、ファイルの制御を行う。
The file control unit 314 is a part for controlling each file in the secondary storage device 161.
Controls for accessing the data in each file, and file entities that make up the file (a set of multiple blocks)
Management etc. Each task in the task processing unit controls a file by using various SVC functions for file control in the file control unit 314.

【0068】ページバッファ制御部315は、複数ペー
ジ構成のページバッファ部34についての空き管理(獲
得、解放の管理)を行う。本空き管理を用いることで、
ページバッファへの描画書き込みが必要になった時点
で、紙サイズに対応して定まる必要なだけのページバッ
ファを獲得し、描画内容の読み出しが終った時点で該ペ
ージバッファを解放することもできる。
The page buffer control unit 315 manages empty space (management of acquisition and release) for the page buffer unit 34 having a plurality of pages. By using this free space management,
It is also possible to acquire as many page buffers as required according to the paper size when drawing and writing to the page buffer becomes necessary, and release the page buffer when reading of the drawing contents is completed.

【0069】プリンタ制御部316は、プリンタエンジ
ン部18とプリンタエンジンアダプタ部1(171−
a)又はプリンタエンジンアダプタ部2(171−b)
の空き管理や、プリンタエンジン部18との入出力の制
御を行う。
The printer control section 316 includes the printer engine section 18 and the printer engine adapter section 1 (171-171).
a) or the printer engine adapter unit 2 (171-b)
, And controls input / output with the printer engine unit 18.

【0070】タスク処理部32は描画タスク部321と
印刷タスク部322とその他のタスクの処理部323と
からなる。
The task processing section 32 includes a drawing task section 321, a print task section 322, and a processing section 323 for other tasks.

【0071】描画タスク部321は、描画管理タスク3
210と、個別描画タスク1(3211)、個別描画タ
スク2(3212)、…、個別描画タスクM(321
3)とからなる。これらの各種描画タスク321、32
10、3211、…、3213は、本印刷制御装置11
に実装した複数個のプロセッサモジュール(100、1
10、120等)を用いて異なるプロセッサ間では並列
処理され、同一のプロセッサ内では並行処理される。こ
れらの各種描画タスク321、3210、3211、3
213の処理内容は、後で詳しく述べる。
The drawing task unit 321 stores the drawing management task 3
210, individual drawing task 1 (3211), individual drawing task 2 (3212),..., Individual drawing task M (321
3). These various drawing tasks 321, 32
, 3213 are the print control devices 11
Processor modules (100, 1
10, 120, etc.), parallel processing is performed between different processors, and parallel processing is performed within the same processor. These various drawing tasks 321, 3210, 3211, 3
The processing contents of 213 will be described later in detail.

【0072】印刷タスク部322は、印刷タスク1(3
221)、印刷タスク2(3222)、…、印刷タスク
N(3223)とからなる。各印刷タスクnは、各個別
描画タスクmが前記ページバッファ部34への描画を終
了した時点で、該個別描画タスクmにより起動される。
起動された各印刷タスクnは、描画の終了した各ページ
バッファ(紙面1ページ分)についての印刷処理を実行
する。本印刷処理は、前記プリンタ制御部316に対
し、プリンタ制御用の各種SVC命令を発行することに
より実行する。印刷タスクは別々のページについて並行
処理するため、複数個用意する。用意する印刷タスクの
合計数は、本装置内で同時に並行処理しうる印刷タスク
数の最大値とした。具体的には、任意の時点で、プリン
タエンジン部18の給紙部から排紙部までの間に存在し
うる最大紙数に対応し、この数はプリンタエンジン部1
8の仕様によって増減する。
The print task unit 322 stores the print task 1 (3
221), a print task 2 (3222),..., A print task N (3223). Each print task n is started by the individual drawing task m when the individual drawing task m finishes drawing in the page buffer unit 34.
Each activated printing task n executes a printing process for each page buffer (one page of paper) for which rendering has been completed. The printing process is executed by issuing various SVC commands for printer control to the printer control unit 316. A plurality of print tasks are prepared for parallel processing of different pages. The total number of prepared print tasks was set to the maximum value of the number of print tasks that can be concurrently processed in the apparatus. More specifically, the number corresponds to the maximum number of sheets that can exist between the paper supply unit and the paper discharge unit of the printer engine unit 18 at an arbitrary time.
It increases or decreases according to the specification of No. 8.

【0073】本ソフトウェア構成における各部の処理内
容は、本発明の出願人が先に出願した特願昭63−15
8481号や特願平1−282747号の場合と、マル
チプロセッサを利用して前述のように並列処理する点以
外は、同様である。
The processing contents of each part in the software configuration are described in Japanese Patent Application No. 63-15 / 98 filed by the applicant of the present invention.
8481 and Japanese Patent Application No. 1-282747, except that the parallel processing is performed using a multiprocessor as described above.

【0074】なお、コマンドバッファ部33とページバ
ッファ部34は、モニタ部31にもタスク処理部32に
も属さないメモリ部分としてとらえてもよい。
The command buffer section 33 and the page buffer section 34 may be considered as memory sections that do not belong to the monitor section 31 or the task processing section 32.

【0075】図6のソフトウェア構成に示した各部分
は、前記図1又は図2〜図5のハードウェア構成図内の
各部分に次のように対応づけられる。
Each part shown in the software configuration of FIG. 6 is associated with each part in the hardware configuration diagram of FIG. 1 or FIGS. 2 to 5 as follows.

【0076】(1)モニタ部31(コマンドバッファ部
33とページバッファ部34を除く)のプログラムは、
MPU101用のローカルメモリ103に格納し、MP
U101にて実行する。
(1) The program of the monitor unit 31 (excluding the command buffer unit 33 and the page buffer unit 34)
Stored in the local memory 103 for the MPU 101,
Execute in U101.

【0077】(2)コマンドバッファ部33は共有メモ
リ(141又は142)に配置する。さらに、コマンド
バッファ部33の全体又は一部を各ローカルメモリ(1
03、113、123等)に配置してもよい。
(2) The command buffer unit 33 is arranged in the shared memory (141 or 142). Further, the whole or a part of the command buffer unit 33 is stored in each local memory (1).
03, 113, 123, etc.).

【0078】(3)ページバッファ部34は共有メモリ
(141又は142)又は各ローカルメモリ(103、
113、123等)に配置する。
(3) The page buffer unit 34 is a shared memory (141 or 142) or each local memory (103,
113, 123, etc.).

【0079】(4)描画管理タスク3210のプログラ
ムは、MPU101用のローカルメモリ103に格納
し、MPU101にて実行する。各SPU用のローカル
メモリ(113、123等)に格納し、各SPU(11
1、121等)にて実行してもよい。
(4) The program of the drawing management task 3210 is stored in the local memory 103 for the MPU 101 and executed by the MPU 101. It is stored in a local memory (113, 123, etc.) for each SPU, and each SPU (11
1, 121, etc.).

【0080】(5)個別描画タスク1、個別描画タスク
2、…、個別描画タスクM用のプログラムは、各SPU
用のローカルメモリ(113、123等)又はMPU1
01用のローカルメモリ103に格納し、SPU(11
1、121等)又はMPU101にて実行する。
(5) The program for the individual drawing task 1, the individual drawing task 2,...
Local memory (113, 123, etc.) or MPU1
01 in the local memory 103 for the SPU (11
1, 121, etc.) or the MPU 101.

【0081】(6)印刷タスク1、印刷タスク2、…、
印刷タスクN用のプログラムは、MPU101用のロー
カルメモリ103に格納し、MPU101にて実行す
る。各SPU用のローカルメモリ(113、123等)
に格納し、各SPU(111、121等)にて実行する
こともできる。
(6) Print task 1, print task 2,...
The program for the print task N is stored in the local memory 103 for the MPU 101 and executed by the MPU 101. Local memory for each SPU (113, 123, etc.)
And executed by each SPU (111, 121, etc.).

【0082】(7)その他のタスク処理部323は、M
PU101用のローカルメモリ103又は各SPU用の
ローカルメモリ(113、123等)に格納し、MPU
101又はSPU(111、121等)にて実行する。
(7) Other task processing units 323
The MPU is stored in the local memory 103 for the PU 101 or the local memory (113, 123, etc.) for each SPU.
101 or SPU (111, 121, etc.).

【0083】次に図7を用いて、本印刷制御装置11に
おける一つの処理手順を説明する。以後、本処理手順を
紙サイズ確定型空描画集中処理方式と呼ぶ。
Next, one processing procedure in the printing control apparatus 11 will be described with reference to FIG. Hereinafter, this processing procedure is referred to as a paper size determined type blank drawing concentrated processing method.

【0084】初めにマスタプロセッサがホストコンピュ
ータからホスト通信コントローラを介して印刷コマンド
列を受信し、前記共有メモリ(141又は142)内の
コマンドバッファ部に格納する。
First, the master processor receives a print command sequence from the host computer via the host communication controller, and stores the print command sequence in the command buffer unit in the shared memory (141 or 142).

【0085】マスタプロセッサ内の描画管理タスク32
10は、コマンドバッファ部内の印刷コマンド列に対
し、次の処理を行う。
Drawing management task 32 in master processor
10 performs the following processing on the print command sequence in the command buffer unit.

【0086】(1)パラメータの初期化を行う(4
1)。
(1) Initialize parameters (4
1).

【0087】(1−1)個別描画タスク番号mを0に初
期化する(411)。
(1-1) The individual drawing task number m is initialized to 0 (411).

【0088】(1−2)ページ通し番号jを0に初期化
する(412)。
(1-2) The page serial number j is initialized to 0 (412).

【0089】(1−3)描画属性パラメータを初期化す
る(413)。
(1-3) The drawing attribute parameters are initialized (413).

【0090】(2)以下の処理を無限に繰り返す(4
2)。
(2) The following processing is repeated indefinitely (4
2).

【0091】(2−1)パラメータを更新する(42
1)。
(2-1) Update Parameters (42)
1).

【0092】(2−1−1)個別描画タスク番号iを更
新する(4211)。
(2-1-1) The individual drawing task number i is updated (4211).

【0093】(2−1−2)ページ通し番号jを更新す
る(4212)。
(2-1-2) The page serial number j is updated (4212).

【0094】(2−2)1ページ分の空描画を行う(4
22)。つまり、前記コマンドバッファ部内の印刷コマ
ンド列を読出し、解釈しながら、描画を伴わない描画属
性パラメータの設定処理をページ区切りを検出するまで
1ページ分行う。これにより、次ページ先頭用のページ
区切りアドレスと描画属性パラメータとを求める(42
2)。
(2-2) Perform empty drawing for one page (4
22). That is, while reading and interpreting the print command string in the command buffer unit, the setting process of the drawing attribute parameter without drawing is performed for one page until a page break is detected. As a result, the page break address for the next page head and the drawing attribute parameter are obtained (42).
2).

【0095】(2−3)ページ通し番号jについての実
描画を行うための個別描画タスクm用に資源を獲得する
(423)。
(2-3) Resources are acquired for an individual drawing task m for performing actual drawing for the page serial number j (423).

【0096】(2−3−1)個別描画タスクm用に空き
状態のスレーブプロセッサを獲得する(4231)。
(2-3-1) An empty slave processor is acquired for the individual drawing task m (4231).

【0097】(2−3−2)個別描画タスクm用に空き
状態のページバッファを獲得するつまり、個別描画タス
クm用に獲得したスレーブプロセッサがアクセス可能
で、前記空描画処理により確定した紙サイズ分の大きさ
を有する空き状態のページバッファメモリを獲得する
(4232)。
(2-3-2) Acquire an empty page buffer for the individual drawing task m, that is, access the slave processor acquired for the individual drawing task m, and determine the paper size determined by the empty drawing process. An empty page buffer memory having the size of a minute is acquired (4232).

【0098】(2−4)個別描画タスクmを起動し、空
描画を終了したページ(ページ通し番号j)についての
前記獲得スレーブプロセッサによる前記獲得ページバッ
ファメモリへの実描画と呼ぶ処理を、第1ページついて
は初期値である第1ページ先頭用のページ区切りアドレ
スと描画属性パラメータを入力パラメータとし、また第
2ページ以降については既にマスタプロセッサが検出済
みのページ先頭用のページ区切りアドレスと描画属性パ
ラメータを入力パラメータとして起動する(424)。
(2-4) A process referred to as actual drawing in the acquired page buffer memory by the acquisition slave processor for the page (page serial number j) for which the individual rendering task m is started and the empty rendering has been completed is described in the first section. For the page, the initial value of the page break address for the first page and the drawing attribute parameter are used as input parameters, and for the second and subsequent pages, the page break address and the drawing attribute parameter for the page head already detected by the master processor are used. It starts as an input parameter (424).

【0099】前記マスタプロセッサ内の前記描画管理タ
スク3210により起動されたスレーブプロセッサk内
の個別描画タスクm(3212から3213)は、次の
処理を行う。
The individual drawing task m (3212 to 3213) in the slave processor k started by the drawing management task 3210 in the master processor performs the following processing.

【0100】(1)1ページ分の実描画を行う。つま
り、実描画として描画属性パラメータの設定処理及び獲
得したページバッファへの描画をページ区切りを検出す
るまで行い、1ページ分の描画を実行する(441)。
(1) Actual drawing for one page is performed. In other words, the setting processing of the drawing attribute parameter and the drawing to the acquired page buffer are performed as the actual drawing until the page break is detected, and the drawing for one page is executed (441).

【0101】(2)該SPUkからMPUに、該実描画
の終了を報告するとともに、該描画済みページバッファ
についての印刷処理を依頼する(442)。
(2) The end of the actual drawing is reported from the SPUk to the MPU, and a print process is requested for the drawn page buffer (442).

【0102】(3)本報告と印刷処理の依頼が受理され
たことを、MPUからの連絡により知った後、処理を終
了する。
(3) After the fact that this report and the request for the print processing have been accepted is received from the MPU, the processing is terminated.

【0103】各SPUk(kは1からK)からMPUへ
の連絡や処理の依頼は、以下のように行う。
The communication from each SPUk (k is 1 to K) to the MPU and a request for processing are performed as follows.

【0104】(1)各SPUkが、MPUへの情報送信
処理部を用いて、MPUへの連絡や処理の依頼を行う
(451)。
(1) Each SPUk uses the information transmission processing unit for the MPU to contact the MPU and request processing (451).

【0105】(2)MPUが、SPUからの情報受信処
理部を用いて、前記連絡や処理の依頼を受信する(43
2)。
(2) The MPU uses the information reception processing unit from the SPU to receive the communication or the request for processing (43).
2).

【0106】(3)MPUが、SPU依頼内容の実行部
を用いて、連絡の受信や処理の実行を行う(433)。
(3) The MPU uses the execution unit for the contents of the SPU request to receive a communication and execute processing (433).

【0107】(4)MPUが、SPUへの情報送信処理
部を用いて、SPUlへ連絡の受信や処理の実行が終了
したことを送信する(431)。
(4) The MPU uses the information transmission processing unit for the SPU to transmit a notification to SPUL that the reception of the notification and the execution of the processing have been completed (431).

【0108】(5)MPUが、SPUからの情報受信処
理部を用いて、前記連絡や処理の依頼が終了したことを
知る(452)。
(5) The MPU uses the information reception processing unit from the SPU to know that the communication and the request for processing have been completed (452).

【0109】次に図24と図25を用いて、MPUと各
SPU間の連絡方法をさらに詳しく説明する。
Next, the communication method between the MPU and each SPU will be described in more detail with reference to FIGS. 24 and 25.

【0110】MPUとSPU間は、図24に示すよう
に、割込み信号を相互に入力することにより、連絡を取
り合う。これらの各割込み信号は前記システムバス12
の中に含めるようにしたが、システムバス12とは独立
の信号線としてもよい。
The MPU and the SPU communicate with each other by mutually inputting interrupt signals as shown in FIG. Each of these interrupt signals is transmitted to the system bus 12.
, But may be a signal line independent of the system bus 12.

【0111】また連絡内容を示す情報は、図25のよう
に共有メモリ上に配置する。
Information indicating the contents of communication is arranged on a shared memory as shown in FIG.

【0112】図24に示した割込み信号と図25に示し
た共有メモリ上の連絡情報を用いて、MPU(SPU
k)からSPU k(MPU)への連絡は以下のように
行う。
Using the interrupt signal shown in FIG. 24 and the contact information on the shared memory shown in FIG. 25, the MPU (SPU
k) communicates with SPU k (MPU) as follows.

【0113】(A)MPU(SPU k)の処理 (1)連絡用マクロ命令mtos(stom)をタスク又はモニタ
が発行する。
(A) Processing of MPU (SPU k) (1) A task or monitor issues a communication macro instruction mtos (stom).

【0114】(2)MPU(SPU k)上のモニタがm
tos(stom)を実行する。
(2) When the monitor on the MPU (SPU k) is m
Execute tos (stom).

【0115】(a)[入力] (i) k:SPU番号 (ii)連絡情報I (b)[出力] なし (c)[処理] (i)MPU(SPU k)からSPU k(MPU)へ
の連絡情報エリアに、連絡情報Iを記入する。
(A) [Input] (i) k: SPU number (ii) Contact information I (b) [Output] None (c) [Processing] (i) From MPU (SPU k) to SPU k (MPU) In the contact information area, contact information I is entered.

【0116】(ii)MPU(SPU k)からSPU
k(MPU)への割込み信号をアサートする。
(Ii) MPU (SPU k) to SPU
Assert an interrupt signal to k (MPU).

【0117】(B)SPU k(MPU)の処理 (1)割込み処理において割込み要因を解析し、MPU
(SPU k)からの連絡割込みであることを識別す
る。
(B) Processing of SPU k (MPU) (1) The interrupt factor is analyzed in the interrupt processing,
Identify a communication interrupt from (SPU k).

【0118】(2)該連絡割込みに対応する処理で、M
PU(SPU k)からSPUk(MPU)への連絡情
報Iを読出し、その内容に応じた処理を行う。
(2) In the processing corresponding to the communication interruption, M
The contact information I from the PU (SPU k) to the SPU k (MPU) is read, and a process corresponding to the content is performed.

【0119】(3)該処理では連絡情報Iの単なる受信
に加え、各種処理(タスク起動、タスク終了、事象発生
待ち、資源空き待ち等のタスク制御を伴うことも可能)
を行うことができる。
(3) In addition to the simple reception of the contact information I, various kinds of processing (task control such as task start, task end, event occurrence wait, resource empty wait, etc. can be involved).
It can be performed.

【0120】ページバッファの獲得と再獲得の依頼を受
信したMPUは、前記ページバッファ制御部315を用
いて、ページバッファの獲得と再獲得を行う(55
3)。
The MPU that has received the request to acquire and reacquire the page buffer acquires and reacquires the page buffer by using the page buffer control unit 315 (55).
3).

【0121】該実描画の終了報告を受信したMPUは、
SPU依頼内容の実行部において、実描画終了ページの
更新と、報告元スレーブプロセッサの解放を行う(43
3)。
The MPU having received the end report of the actual drawing,
The execution unit of the SPU request contents updates the actual drawing end page and releases the reporting slave processor (43).
3).

【0122】また印刷処理を依頼されたMPUは、同じ
くSPU依頼内容の実行部において、該描画済みページ
バッファについての印刷タスクを起動する(433)。
The MPU requested to perform the printing process activates a printing task for the drawn page buffer in the execution unit of the SPU request content (433).

【0123】また該印刷タスクにより起動された描画済
みページバッファからの読み出しの終了を、MPUがプ
リンタエンジンアダプタ部2(171−b)又はSPU
からの割込み信号により知ると、MPUがページバッフ
ァ制御部315を用いて、当該ページバッファを解放す
る。
The MPU notifies the printer engine adapter unit 2 (171-b) or the SPU of the end of reading from the drawn page buffer started by the print task.
The MPU uses the page buffer control unit 315 to release the page buffer when it knows from the interrupt signal from.

【0124】またMPUによる描画管理タスク処理と印
刷タスク処理は、前記従来技術に示した方法を用いて並
行処理する。さらにMPUによる処理と各SPUによる
処理は前述のように並列処理する。
Further, the drawing management task processing and the printing task processing by the MPU are performed in parallel using the method described in the prior art. Further, the processing by the MPU and the processing by each SPU are performed in parallel as described above.

【0125】次に図8を用いて、本印刷制御装置11に
おけるもう一つの処理手順を説明する。以後、本処理手
順を紙サイズ仮定型空描画集中処理方式と呼ぶ。
Next, another processing procedure in the print control apparatus 11 will be described with reference to FIG. Hereinafter, this processing procedure is referred to as a paper size assumed type blank drawing concentrated processing method.

【0126】初めにMPUがホストコンピュータからホ
スト通信コントローラを介して印刷コマンド列を受信
し、共有メモリ内のコマンドバッファ部に格納する。M
PU内の描画管理タスク3210は、コマンドバッファ
部内の印刷コマンド列に対し、次の処理を行う。
First, the MPU receives a print command sequence from the host computer via the host communication controller, and stores the print command sequence in the command buffer unit in the shared memory. M
The drawing management task 3210 in the PU performs the following processing on the print command sequence in the command buffer unit.

【0127】(1)パラメータの初期化を行う(5
1)。
(1) Initialize parameters (5
1).

【0128】(1−1)個別描画タスク番号mを1に初
期化する(511)。
(1-1) The individual drawing task number m is initialized to 1 (511).

【0129】(1−2)ページ通し番号jを1に初期化
する(512)。
(1-2) The page serial number j is initialized to 1 (512).

【0130】(1−3)描画属性パラメータを初期化す
る(513)。
(1-3) Initialize drawing attribute parameters (513).

【0131】(2)ページ通し番号1についての実描画
を行うため、個別描画タスクi用に資源を獲得する(5
2)。
(2) Acquire resources for individual drawing task i in order to perform actual drawing for page serial number 1 (5)
2).

【0132】(2−1)個別描画タスクm用に空き状態
のSPUを獲得する(521)。
(2-1) An empty SPU is acquired for the individual drawing task m (521).

【0133】(2−2)個別描画タスクm用に空き状態
のページバッファを獲得する。つまり、個別描画タスク
m用に獲得したSPUがアクセス可能な、初期値として
仮定されている紙サイズ分の大きさを有する空き状態の
ページバッファメモリを獲得する(522)。
(2-2) An empty page buffer is acquired for the individual drawing task m. In other words, a free page buffer memory having a size corresponding to the paper size assumed as an initial value and accessible by the SPU acquired for the individual drawing task m is acquired (522).

【0134】(3)個別描画タスクmを起動し、ページ
通し番号1のページ(第1ページ)についての前記獲得
スレーブプロセッサによる前記獲得ページバッファメモ
リへの実描画と呼ぶ処理を、第1ページ先頭用のページ
区切りアドレスと描画属性パラメータを入力パラメータ
として起動する(53)。
(3) The individual drawing task m is started, and a process called actual drawing in the acquired page buffer memory by the acquisition slave processor for the page (first page) of page serial number 1 is performed for the first page head. It is started with the page break address and the drawing attribute parameter as input parameters (53).

【0135】(4)以下の処理を無限に繰り返す(5
4)。
(4) The following processing is repeated endlessly (5
4).

【0136】(4−1)1ページ分の空描画を行う。つ
まり、前記コマンドバッファ部内の印刷コマンド列を読
出し、解釈しながら、描画を伴わない描画属性パラメー
タの設定処理をページ区切りを検出するまで1ページ分
行う。これにより、次ページ先頭用のページ区切りアド
レスと描画属性パラメータとを格納する(541)。
(4-1) Empty drawing for one page is performed. That is, while reading and interpreting the print command string in the command buffer unit, the setting process of the drawing attribute parameter without drawing is performed for one page until a page break is detected. As a result, the page break address for the next page head and the drawing attribute parameter are stored (541).

【0137】(4−2)パラメータを更新する(54
2)。
(4-2) Update the parameters (54)
2).

【0138】(4−2−1)個別描画タスク番号mを更
新する(5421)。
(4-2-1) The individual drawing task number m is updated (5421).

【0139】(4−2−2)ページ通し番号jを更新す
る(5422)。
(4-2-2) The page serial number j is updated (5422).

【0140】(4−3)ページ通し番号jについての実
描画を行うための個別描画タスクm用に資源を獲得する
(543)。
(4-3) Resources are acquired for the individual drawing task m for performing actual drawing for the page serial number j (543).

【0141】(4−3−1)個別描画タスクm用に空き
状態のSPUを獲得する(5431)。
(4-3-1) An empty SPU is acquired for the individual drawing task m (5431).

【0142】(4−3−2)個別描画タスクi用に空き
状態のページバッファを獲得する。つまり、個別描画タ
スクi用に獲得したSPUがアクセス可能な、前記空描
画終了時点のデフォルト紙サイズ分の大きさを有する、
空き状態のページバッファメモリを獲得する(543
2)。
(4-3-2) Acquire an empty page buffer for the individual drawing task i. That is, it has a size corresponding to the default paper size at the end of the blank drawing, which can be accessed by the SPU acquired for the individual drawing task i.
Acquire an empty page buffer memory (543)
2).

【0143】(4−4)個別描画タスクmを起動し、空
描画を終了した次のページ(ページ通し番号j)につい
ての前記獲得スレーブプロセッサによる前記獲得ページ
バッファメモリへの実描画と呼ぶ処理を、次頁先頭用の
ページ区切りアドレスと描画属性パラメータを入力パラ
メータとして起動する(544)。
(4-4) A process called actual drawing in the acquired page buffer memory by the acquisition slave processor for the next page (page serial number j) for which the individual rendering task m is started and the empty rendering is completed is A page break address for the next page head and a drawing attribute parameter are activated as input parameters (544).

【0144】前記MPU内の前記描画管理タスク321
0により起動されたスレーブプロセッサk内の個別描画
タスクm(3212から3213)は、次の処理を行
う。
The drawing management task 321 in the MPU
The individual drawing task m (3212 to 3213) in the slave processor k activated by 0 performs the following processing.

【0145】(1)1ページ分の実描画を行う。つま
り、実描画として描画属性パラメータの設定処理及び獲
得したページバッファへの描画をページ区切りを検出す
るまで行い、1ページ分の描画を実行する。
(1) Actual drawing for one page is performed. That is, the setting process of the drawing attribute parameter and the drawing in the acquired page buffer are performed as the actual drawing until the page break is detected, and the drawing for one page is executed.

【0146】該実描画における描画属性パラメータの設
定処理において紙サイズの変更を検出すると、該変更紙
サイズについてのページバッファの再獲得をMPUに依
頼する(561)。
When the change of the paper size is detected in the setting processing of the drawing attribute parameter in the actual drawing, the MPU is requested to reacquire the page buffer for the changed paper size (561).

【0147】(2)該個別描画タスクm(SPUkにて
処理)からMPUに、該実描画の終了を報告するととも
に、該描画済みページバッファについての印刷処理を依
頼する(562)。
(2) The individual drawing task m (processed by the SPUk) reports the end of the actual drawing to the MPU and requests a printing process for the drawn page buffer (562).

【0148】(3)本報告と印刷処理の依頼が受理され
たことを、MPUからの連絡により知った後、処理を終
了する。
(3) After the fact that this report and the request for the printing process have been accepted is received from the MPU, the process is terminated.

【0149】各SPUk(kは1からK)からMPUへ
の連絡や処理の依頼は、MPUへの情報送信処理部(5
71)、MPUからの情報受信処理部(572)、SP
Uへの情報送信処理部(551)、SPUからの情報受
信処理部(552)、SPU依頼内容の実行部(55
3)を用いて、図7の場合と同様にして行う。
The communication from the SPUk (k is 1 to K) to the MPU and the processing request are sent to the information transmission processing unit (5
71), a processing unit for receiving information from the MPU (572), SP
U information transmission processing unit (551), SPU information reception processing unit (552), SPU request content execution unit (55)
This is performed in the same manner as in FIG. 7 using 3).

【0150】ページバッファ獲得と再獲得の依頼を受信
したMPUは、前記ページバッファ制御部315を用い
て、ページバッファの獲得と再獲得を行う。
The MPU that has received the page buffer acquisition and reacquisition request uses the page buffer control unit 315 to acquire and reacquire the page buffer.

【0151】該実描画の終了報告を受信した該MPU
は、SPU依頼内容の実行部において、実描画終了ペー
ジの更新と、報告元スレーブプロセッサの解放を行う
(553)。また印刷処理を依頼されたMPUは、同じ
くSPU依頼内容の実行部において、該描画済みページ
バッファについての印刷タスクを起動する(553)。
The MPU that has received the end report of the actual drawing
Performs the update of the actual drawing end page and the release of the reporting slave processor in the execution unit of the SPU request content (553). Also, the MPU requested to perform the printing process activates a print task for the drawn page buffer in the execution unit of the SPU request content (553).

【0152】また該印刷タスクにより起動された描画済
みページバッファからの読み出しの終了を、MPUがプ
リンタエンジンアダプタ部2(171−b)又はSPU
からの割込み信号により知ると、MPUが前記ページバ
ッファ制御部315を用いて、当該ページバッファを解
放する。
The MPU notifies the printer engine adapter unit 2 (171-b) or the SPU of the end of reading from the rendered page buffer activated by the print task.
The MPU releases the page buffer by using the page buffer control unit 315 when it knows from the interrupt signal from.

【0153】またMPUによる描画管理タスク処理と印
刷タスク処理は、前記従来技術に示した方法を用いて並
行処理する。さらに前記MPUによる処理と前記各SP
Uによる処理は前述のように並列処理する。
The drawing management task processing and the printing task processing by the MPU are performed in parallel using the method described in the prior art. Further, processing by the MPU and each of the SPs
The processing by U is performed in parallel as described above.

【0154】なお、前述の手順においてはページバッフ
ァの獲得、解放方式として紙サイズに応じて、必要サイ
ズのページバッファを獲得、解放する可変長ページバッ
ファ制御方式を採用したが、紙サイズに依らず固定サイ
ズ(プリンタエンジンにて印刷可能な最大紙サイズ分の
大きさに対応)のページバッファを獲得、解放する固定
長ページバッファ制御方式を採用することもできる。こ
の場合、前記手順において、ページバッファの再獲得が
不要になる等、ページバッファの制御は簡単にできる
が、可変長ページバッファ制御方式ほどにはページバッ
ファメモリを有効活用することはできない。
In the above-described procedure, a variable-length page buffer control method of acquiring and releasing a page buffer of a required size according to the paper size is adopted as a method of acquiring and releasing the page buffer. A fixed-length page buffer control method for acquiring and releasing a page buffer of a fixed size (corresponding to the size of the maximum paper size that can be printed by the printer engine) may be adopted. In this case, in the above procedure, the control of the page buffer can be simplified, for example, it is not necessary to reacquire the page buffer. However, the page buffer memory cannot be used effectively as much as the variable length page buffer control method.

【0155】次に図9と図10を用いて、プリンタエン
ジンアダプタ部2(172)の構成の例を説明する。
Next, an example of the configuration of the printer engine adapter unit 2 (172) will be described with reference to FIGS.

【0156】プリンタエンジンアダプタ部2(172)
は図9では、プリンタエンジンアダプタ部2(172)
をプリンタ制御用プロセッサ(PPUと略す)172
1、内部バス1722、ローカルメモリ1723、プリ
ンタメモリコントローラ1(1724、PMC1とも略
す)、バスI/F1725と1726とから構成され
る。このうち、PMC1(1724)は前記ローカルメ
モリ1723の内容(通常、後述する印刷中継バッファ
と呼ぶエリアの内容)のプリンタエンジン部18への読
み出し処理と前記ローカルメモリ1723の制御(DR
AMのリフレッシュ等)を行う。本読み出し処理のため
に、内蔵のDMA(Direct Memory Access)回路を設
け、該読み出し処理を前記プリンタ制御用プロセッサ1
721に負担をかけないで行うことが望ましい。本構成
の下で、マスタプロセッサモジュール100、各スレー
ブプロセッサモジュール(110等)内のローカルメモ
リ上に配置されているページバッファ部内の描画済みペ
ージバッファの内容を、各プロセッサモジュール用の内
部バスに接続されている各プロセッサモジュール内のマ
スタプロセッサ、スレーブプロセッサのいずれかのプロ
セッサ、又はDMA回路(109、119等)が、該内
部バスからビデオバス1(13)と呼ぶ前記システムバ
ス12とは別のバスにに送信の後、該ビデオバス1(1
3)から前記プリンタエンジンアダプタ部2(171−
b)内のローカルメモリ1723上に配置した印刷中継
バッファと呼ぶエリアに送信し、該印刷中継バッファ内
のデータを前記プリンタエンジン部18へ、プリンタエ
ンジンインターフェース(12−i−1と12−i−
2)に従って送信する。また、前記プリンタエンジンア
ダプタ部2(172)内の前記印刷中継バッファから前
記プリンタエンジン部18へのデータの読み出しを、プ
リンタエンジンアダプタ部2(171−b)内のPMC
に内蔵したDMA回路を用いて行ってもよい。
Printer engine adapter 2 (172)
In FIG. 9, printer engine adapter unit 2 (172)
Is a printer control processor (abbreviated as PPU) 172
1, an internal bus 1722, a local memory 1723, a printer memory controller 1 (1724, also abbreviated as PMC1), and bus I / Fs 1725 and 1726. The PMC 1 (1724) reads the contents of the local memory 1723 (usually, the contents of an area called a print relay buffer described later) to the printer engine unit 18 and controls the local memory 1723 (DR).
AM refresh). For this read processing, a built-in DMA (Direct Memory Access) circuit is provided, and the read processing is performed by the printer control processor 1.
It is desirable to do so without imposing a burden on 721. Under this configuration, the contents of the drawn page buffer in the page buffer unit arranged on the local memory in the master processor module 100 and each slave processor module (110, etc.) are connected to the internal bus for each processor module. Any one of a master processor and a slave processor in each processor module, or a DMA circuit (109, 119, etc.) is connected to the video bus 1 (13) from the internal bus. After transmitting to the bus, the video bus 1 (1
3) to the printer engine adapter unit 2 (171-
b) to the area called a print relay buffer arranged on the local memory 1723, and transmits the data in the print relay buffer to the printer engine unit 18 through the printer engine interfaces (12-i-1 and 12-i-).
Send according to 2). Further, the reading of data from the print relay buffer in the printer engine adapter unit 2 (172) to the printer engine unit 18 is performed by the PMC in the printer engine adapter unit 2 (171-b).
May be performed by using a DMA circuit built in the CPU.

【0157】図10では、プリンタエンジンアダプタ部
2(171−b)はプリンタ制御用プロセッサ(PPU
と略す)1721、内部バス1722、ローカルメモリ
1723、バスI/F1725とから構成される。
In FIG. 10, the printer engine adapter unit 2 (171-b) includes a printer control processor (PPU).
1721), an internal bus 1722, a local memory 1723, and a bus I / F 1725.

【0158】また本構成では、各プロセッサモジュール
内にプリンタメモリコントローラ2(10A、11A
等、PMC2と略す)を設けてもよい。該PMC2は各
ローカルメモリ103、113等の内容(通常ページバ
ッファの内容)のプリンタエンジン部18への読み出し
処理と前記ローカルメモリ103、113等の制御(D
RAMのリフレッシュ等)を行う。本読み出し処理のた
めに、内蔵のDMA(Direct Memory Access)回路を設
け、該読み出し処理を各プロセッサモジュール内のMP
Uや各SPUに負担をかけないで行うこともできる。
In this configuration, the printer memory controller 2 (10A, 11A) is installed in each processor module.
Etc. (abbreviated as PMC2). The PMC 2 reads out the contents of the local memories 103 and 113 (normal page buffer contents) to the printer engine unit 18 and controls the local memories 103 and 113 (D
RAM refresh). For this read processing, a built-in DMA (Direct Memory Access) circuit is provided, and the read processing is performed by the MP in each processor module.
It can also be performed without imposing a burden on U or each SPU.

【0159】本構成の下で、マスタプロセッサモジュー
ル、各スレーブプロセッサモジュール内のローカルメモ
リ(103、113等)上に配置されているページバッ
ファ部内の描画済みページバッファの内容を、各プロセ
ッサモジュール内のPMC2が各プロセッサモジュール
用の内部バスを介さず、ビデオバス2と呼ぶ前記システ
ムバスとは別のバスに送信の後、該ビデオバス2から前
記プリンタエンジン部へ、プリンタエンジンインターフ
ェースに従って送信する。
Under this configuration, the contents of the rendered page buffer in the page buffer section arranged on the local memory (103, 113, etc.) in the master processor module and each slave processor module are stored in the respective processor modules. The PMC 2 does not pass through the internal bus for each processor module but transmits to a bus called a video bus 2 other than the system bus, and then transmits from the video bus 2 to the printer engine unit according to a printer engine interface.

【0160】なお、上記図9と図10において、DMA
回路109、119等やPMC2(10A、11A等)
が前記データ転送を行う際、ページバッファの各ラスタ
の読み出し時に、ゼロクリアするモードとしないモード
を設けた。ゼロクリアするモードは通常の各ページを印
刷部数1枚ずつ印刷するシングルページコピーと呼ぶ印
刷において用いる。また、ゼロクリアしないモードは各
ページを印刷部数で2枚以上印刷するマルチページコピ
ーと呼ぶ印刷において用いる。
In FIGS. 9 and 10, the DMA
Circuit 109, 119 etc. and PMC2 (10A, 11A etc.)
When performing the above-mentioned data transfer, a mode for clearing to zero and a mode not for clearing at the time of reading each raster of the page buffer are provided. The zero-clear mode is used in normal printing, which is called single-page copying, in which each page is printed one by one. The mode in which zero is not cleared is used in printing called multi-page copying in which each page is printed in two or more copies.

【0161】本実施例においては、ページ当りの描画時
間が、ページ当りのプリンタメカニズム印刷時間を超え
る場合でも、印刷スループットとしてプリンタ最高性能
を達成することができる。
In this embodiment, even when the drawing time per page exceeds the printing time of the printer mechanism per page, the maximum performance of the printer can be achieved as the printing throughput.

【0162】図11、図12、図13に本実施例におけ
るコマンド受信、空描画、実描画、印刷等のタイミング
を示す。図示のように、MPUによる描画管理タスクの
処理と各SPUによる各個別描画タスク1、2、3等の
処理はプロセッサ毎に並列して実行されている。またM
PUにより処理されるコマンド受信、描画管理タスクの
処理、転送1、転送2、…、転送5等、印刷1、印刷
2、…、印刷5等は、並行(パイプライン処理)して実
行されている。
FIGS. 11, 12 and 13 show timings of command reception, blank drawing, actual drawing, printing and the like in this embodiment. As illustrated, the processing of the drawing management task by the MPU and the processing of the individual drawing tasks 1, 2, and 3 by the SPUs are executed in parallel for each processor. Also M
The commands received by the PU, processing of the drawing management task, transfer 1, transfer 2, ..., transfer 5, etc., print 1, print 2, ..., print 5, etc. are executed in parallel (pipeline processing). I have.

【0163】ここで図11と図12は、プリンタエンジ
ンアダプタ部2(172)の構成として、前記図9を用
いた場合に対応する。このうち図11では、各プロセッ
サモジュール(100、110、120等)内のローカ
ルメモリ(103、113等)から前記プリンタエンジ
ンアダプタ部2(171−b)内の印刷中継バッファ
(ローカルメモリ1723内)へのデータ転送をDMA
回路(109、119等)が行う場合に相当する。ま
た、本図では前記ゼロクリアをハードウェア(該DMA
回路)を用いて行っている。
FIGS. 11 and 12 correspond to the case where FIG. 9 is used as the configuration of the printer engine adapter unit 2 (172). In FIG. 11, the local memory (103, 113, etc.) in each processor module (100, 110, 120, etc.) is used to change the print relay buffer (local memory 1723) in the printer engine adapter unit 2 (171-b). Data transfer to DMA
This corresponds to the case where the circuits (109, 119, etc.) perform. In the figure, the zero clear is performed by hardware (the DMA
Circuit).

【0164】一方、図12は前記データ転送を、各プロ
セッサモジュール用の内部バスに接続されている各プロ
セッサモジュール内のMPU、SPUのいずれかのプロ
セッサがソフトウェア処理を用いて行う場合に相当す
る。また、本図では前記ゼロクリアをソフトウェア(該
プロセッサ)を用いて行っている。
On the other hand, FIG. 12 corresponds to the case where any one of the MPU and the SPU in each processor module connected to the internal bus for each processor module performs the data transfer using software processing. In this figure, the zero clear is performed using software (the processor).

【0165】なお、前記図11と図12では前記プリン
タエンジンアダプタ部2(171−b)内の印刷中継バ
ッファとして、少なくともページバッファ2ページ分
(1ページがプリンタエンジン部18にて印刷可能な最
大紙サイズ分の大きさを有する)を用意することによ
り、該印刷中継バッファへの書き込みと読み出しを並行
処理可能とした。なお、印刷中継バッファの容量を減ら
しても印刷処理を行うことができる。
In FIGS. 11 and 12, as a print relay buffer in the printer engine adapter unit 2 (171-b), at least two pages of the page buffer (the maximum number of pages that can be printed by the printer engine unit 18). (Having the size of the paper size), writing and reading to the print relay buffer can be performed in parallel. The printing process can be performed even if the capacity of the print relay buffer is reduced.

【0166】なお、図12はクリア時間が転送時間より
大きい場合の例を示しているが、印刷制御装置の実現方
法に応じて、クリア時間、転送時間両者の大小関係は変
化する。しかし、両者の大小関係が変わっても、各処理
のタイミングは図12の場合と同様である。
FIG. 12 shows an example in which the clear time is longer than the transfer time. However, the magnitude relationship between the clear time and the transfer time changes depending on the method of realizing the print control device. However, even if the magnitude relationship between the two changes, the timing of each process is the same as in FIG.

【0167】また図13は、プリンタエンジンアダプタ
部2(172)の構成として、前記図10を用いた場合
に対応する。
FIG. 13 corresponds to the case where FIG. 10 is used as the configuration of the printer engine adapter unit 2 (172).

【0168】以上のように本実施例においては実描画処
理を並列実行しているため、ページ当りの描画時間が、
ページ当りのプリンタメカニズム印刷時間を超える場合
でも、印刷スループットとしてプリンタ最高性能を達成
することができる。
As described above, in this embodiment, since the actual drawing processing is executed in parallel, the drawing time per page is reduced.
Even when the printer mechanism printing time per page is exceeded, the highest performance of the printer as the print throughput can be achieved.

【0169】また描画と印刷を前記並行処理しているた
め、各ページの印刷内容が異なる複数ページからなる文
書についての連続印刷においても、プリンタ最高性能を
達成することができる。
Since the drawing and the printing are performed in parallel, the maximum performance of the printer can be achieved even in the continuous printing of a document including a plurality of pages in which the print content of each page is different.

【0170】また複数個のプロセッサ(MPU、SPU
1、SPU2、…、SPUK)として汎用プロセッサを
用いているため、各ページが文字又は図形のみの文書に
ついても描画性能を向上し、印刷性能を向上させること
ができる。
A plurality of processors (MPU, SPU
1, SPU2,..., SPUK), the drawing performance can be improved even for a document in which each page includes only characters or graphics, and the printing performance can be improved.

【0171】次に本発明の第2実施例を説明する。Next, a second embodiment of the present invention will be described.

【0172】ハードウェアの基本構成、ハードウェアの
詳細構成、ソフトウェア構成、プリンタエンジンアダプ
タ部2の構成は、前記第1実施例の場合と同じく、図1
〜図6、図9、図10に示したものを利用する。
The basic configuration of the hardware, the detailed configuration of the hardware, the software configuration, and the configuration of the printer engine adapter unit 2 are the same as those in the first embodiment.
6, 9 and 10 are used.

【0173】図14を用いて、本実施例における一つの
処理手順を説明する。以後、本手順を空描画分散処理方
式と呼ぶ。
One processing procedure in this embodiment will be described with reference to FIG. Hereinafter, this procedure is referred to as a blank drawing distributed processing method.

【0174】次に図14を用いて、本印刷制御装置11
におけるもう一つの処理手順を説明する。初めにMPU
がホストコンピュータからホスト通信コントローラを介
して印刷コマンド列を受信し、前記共有メモリ内のコマ
ンドバッファ部に格納する。
Next, referring to FIG. 14, the printing control apparatus 11 will be described.
Will be described. First MPU
Receives a print command string from the host computer via the host communication controller, and stores the print command string in a command buffer unit in the shared memory.

【0175】前記MPU内の前記描画管理タスク321
0は、前記コマンドバッファ部内の印刷コマンド列に対
し、次の処理を行う。
The drawing management task 321 in the MPU
0 performs the following processing on the print command string in the command buffer unit.

【0176】(1)すべての個別描画タスク(個別描画
タスク1、2、…、M)を起動する(81)。個別描画
タスク数Mとしては通常次の二つの場合がある。
(1) Activate all individual drawing tasks (individual drawing tasks 1, 2,..., M) (81). As the number M of individual drawing tasks, there are usually the following two cases.

【0177】(a)個別描画タスク数Mをスレーブプロ
セッサ総数Kと同数とする。
(A) The number M of individual drawing tasks is the same as the total number K of slave processors.

【0178】(b)個別描画タスク数MをK+1とす
る。
(B) The number M of individual drawing tasks is set to K + 1.

【0179】(a)の場合、各個別描画タスクlは、い
ずれかのスレーブプロセッサに割り当てる。(b)の場
合、各個別描画タスクmは、いずれかのスレーブプロセ
ッサ及びマスタプロセッサに割り当てる。以後本説明で
は、(a)の場合を想定して説明するが、(b)の場合
についても同様にして実現することができる。
In the case of (a), each individual drawing task 1 is assigned to one of the slave processors. In the case of (b), each individual drawing task m is assigned to one of the slave processors and the master processor. Hereinafter, in the present description, the case of (a) will be described, but the case of (b) can be similarly realized.

【0180】(2)本タスクの処理を終了する(8
2)。
(2) End the processing of this task (8
2).

【0181】前記MPU内の前記描画管理タスク321
0により起動されたSPU1内の個別描画タスク1(3
212)は、次の処理を無限に繰り返す(84)。
The drawing management task 321 in the MPU
0, the individual drawing task 1 (3
212) repeats the next process indefinitely (84).

【0182】(1)個別描画タスク1用に空き状態のペ
ージバッファの獲得をMPUに依頼する。つまり、個別
描画タスク1用に獲得したSPUがアクセス可能な、デ
フォルト紙サイズについてページバッファの獲得をMP
Uに依頼する(841)。
(1) The MPU is requested to acquire an empty page buffer for the individual drawing task 1. That is, a page buffer is acquired for the default paper size accessible by the SPU acquired for the individual drawing task 1.
U is requested (841).

【0183】(2)1ページ分の実描画を行う。つま
り、前記獲得ページバッファメモリへの実描画として描
画属性パラメータの設定処理及び描画をページ区切りを
検出するまで行い1ページ分の描画を行う。該実描画で
の描画属性パラメータの設定処理において紙サイズ変更
を検出すると、該変更紙サイズについてのページバッフ
ァ再獲得をマスタプロセッサに依頼する(842)。
(2) Actual drawing for one page is performed. That is, as the actual drawing in the acquired page buffer memory, the setting process of the drawing attribute parameter and the drawing are performed until the page break is detected, and the drawing for one page is performed. When a change in the paper size is detected in the setting processing of the drawing attribute parameter in the actual drawing, the master processor is requested to reacquire the page buffer for the changed paper size (842).

【0184】(3)本個別描画タスク1からMPUへ実
描画の終了を報告するとともに、該描画済みページバッ
ファについての印刷処理を依頼する(843)。
(3) The individual drawing task 1 reports the end of the actual drawing to the MPU and requests a printing process for the drawn page buffer (843).

【0185】(4)次に示す1ページ分の空描画(84
5)を、M−1回繰り返す(844)。このM−1とい
う数は、他の個別描画タスクが実描画を担当するページ
数に相当する。
(4) One page of empty drawing (84
5) is repeated M-1 times (844). The number M-1 corresponds to the number of pages for which other individual drawing tasks are in charge of actual drawing.

【0186】(4−1)1ページ分の空描画を行う。つ
まり、前記コマンドバッファ部内の印刷コマンド列を読
出し、解釈しながら、描画を伴わない描画属性パラメー
タの設定処理をページ区切りを検出するまで1ページ分
行う(845)。どのページで描画属性パラメータが変
更されるかは不明なので、自己の担当しないページにつ
いてもすべて順次空描画を行っていく必要がある。
(4-1) Blank drawing for one page is performed. That is, while reading and interpreting the print command string in the command buffer unit, the setting process of the drawing attribute parameter without drawing is performed for one page until a page break is detected (845). Since it is unknown which page the rendering attribute parameter is changed, it is necessary to sequentially perform empty rendering on all pages not in charge of itself.

【0187】前記MPU内の前記描画管理タスク321
0により起動されたSPUk内の個別描画タスクm(3
213)は、次の処理を無限に繰り返す(86)。
The drawing management task 321 in the MPU
0, the individual drawing task m (3
(213) repeats the next process indefinitely (86).

【0188】(1)次に示す1ページ分の空描画(86
2)を、m−1回繰り返す(861)。このm−1とい
う数は、個別描画タスクmが描画を担当するページまで
の他の個別描画タスクが担当するページ数に相当する。
(1) Blank drawing for one page shown below (86
2) is repeated m-1 times (861). The number m-1 corresponds to the number of pages handled by another individual drawing task up to the page in charge of the individual drawing task m.

【0189】(1−1)1ページ分の空描画を行う。つ
まり、前記コマンドバッファ部内の印刷コマンド列を読
出し、解釈しながら、描画を伴わない描画属性パラメー
タの設定処理をページ区切りを検出するまで1ページ分
行う(862)。
(1-1) Empty drawing for one page is performed. That is, while reading and interpreting the print command string in the command buffer unit, the setting process of the drawing attribute parameter without drawing is performed for one page until a page break is detected (862).

【0190】(2)個別描画タスクm用に空き状態のペ
ージバッファの獲得をMPUに依頼する。つまり、個別
描画タスクm用に獲得したSPUがアクセス可能な、デ
フォルト紙サイズについてページバッファの獲得手順を
MPUに依頼する(863)。
(2) Request the MPU to acquire an empty page buffer for the individual drawing task m. That is, the MPU requests the MPU to acquire a page buffer for the default paper size accessible by the SPU acquired for the individual drawing task m (863).

【0191】(3)1ページ分の実描画を行う。つま
り、前記獲得ページバッファメモリへの実描画として描
画属性パラメータの設定処理及び描画をページ区切りを
検出するまで行い1ページ分の描画を行う。該実描画で
の描画属性パラメータの設定処理において紙サイズ変更
を検出すると、該変更紙サイズについてのページバッフ
ァ再獲得をマスタプロセッサに依頼する(864)。
(3) Actual drawing for one page is performed. That is, as the actual drawing in the acquired page buffer memory, the setting process of the drawing attribute parameter and the drawing are performed until the page break is detected, and the drawing for one page is performed. When a paper size change is detected in the setting process of the drawing attribute parameter in the actual drawing, the master processor is requested to reacquire the page buffer for the changed paper size (864).

【0192】(4)本個別描画タスクmからMPUへ実
描画の終了を報告するとともに、該描画済みページバッ
ファについての印刷処理を依頼する(865)。
(4) The end of the actual drawing is reported from the individual drawing task m to the MPU, and a print process for the drawn page buffer is requested (865).

【0193】(5)1ページ分の空描画(867)を、
M−m回繰り返す。このM−mという数は、Mページの
うち、該個別描画タスクmが描画を担当したページに続
き他の個別描画タスクが担当するページ数に相当する。
空描画(867)の処理内容は、862に示したのと同
じであり、同一のサブルーチンプログラムや関数として
もよい。
(5) The blank drawing (867) for one page is
Repeat M-m times. The number M-m corresponds to the number of pages of the M pages which are in charge of other individual drawing tasks following the page in which the individual drawing task m is in charge of drawing.
The processing content of the empty drawing (867) is the same as that shown in 862, and may be the same subroutine program or function.

【0194】各SPUk(kは1からK)からMPUへ
の連絡や処理の依頼は、MPUへの情報送信処理部(8
51、871)、MPUからの情報受信処理部(85
2、872)、SPUへの情報送信処理部(831)、
SPUからの情報受信処理部(832)、SPU依頼内
容の実行部(833)を用いて、図6や図11〜図13
に示した実施例1の場合と同様にして行う。
The communication from the SPUk (k is 1 to K) to the MPU and the processing request are sent to the information transmission processing unit (8
51, 871), an information reception processing unit from the MPU (85)
2, 872), an information transmission processing unit to the SPU (831),
6 and 11 to 13 by using the information receiving processing unit (832) from the SPU and the execution unit (833) of the SPU request content.
This is performed in the same manner as in Example 1 shown in FIG.

【0195】ページバッファ獲得と再獲得の依頼を受信
したMPUは、前記ページバッファ制御部315を用い
て、ページバッファの獲得と再獲得を行う。
The MPU having received the page buffer acquisition and reacquisition request uses the page buffer control unit 315 to acquire and reacquire the page buffer.

【0196】該実描画の終了報告を受信したMPUは、
SPU依頼内容の実行部において、実描画終了ページの
更新を行う(833)。
The MPU having received the end report of the actual drawing,
The execution unit of the SPU request content updates the actual drawing end page (833).

【0197】また印刷処理を依頼されたMPUは、同じ
くSPU依頼内容の実行部において、該描画済みページ
バッファについての印刷タスクを起動する(833)。
The MPU requested to perform the printing process activates a print task for the drawn page buffer in the execution unit of the SPU request content (833).

【0198】また該印刷タスクにより起動された描画済
みページバッファからの読み出しの終了を、MPUがプ
リンタエンジンアダプタ部2(171−b)又はSPU
からの割込み信号により知ると、該MPUが前記ページ
バッファ制御部315を用いて、当該ページバッファを
解放する。
The MPU notifies the printer engine adapter unit 2 (171-b) or the SPU of the end of reading from the rendered page buffer started by the print task.
The MPU uses the page buffer control unit 315 to release the page buffer when the MPU knows from the interrupt signal from.

【0199】なお、前述の手順においてはページバッフ
ァの獲得、解放方式として紙サイズに応じて、必要サイ
ズのページバッファを獲得、解放する可変長ページバッ
ファ制御方式を採用したが、紙サイズに依らず固定サイ
ズ(プリンタエンジンにて印刷可能な最大紙サイズ分の
大きさに対応)のページバッファを獲得、解放する固定
長ページバッファ制御方式を採用することもできる。こ
の場合、前記手順において、ページバッファの再獲得が
不要になる等、ページバッファの制御は簡単にできる
が、可変長ページバッファ制御方式ほどにはページバッ
ファメモリを有効活用することはできない。
In the above-described procedure, a variable-length page buffer control method of acquiring and releasing a page buffer of a required size according to the paper size is adopted as a method of acquiring and releasing the page buffer. A fixed-length page buffer control method for acquiring and releasing a page buffer of a fixed size (corresponding to the size of the maximum paper size that can be printed by the printer engine) may be adopted. In this case, in the above procedure, the control of the page buffer can be simplified, for example, it is not necessary to reacquire the page buffer. However, the page buffer memory cannot be used effectively as much as the variable length page buffer control method.

【0200】また前記MPUによる描画管理タスク処理
と印刷タスク処理は、前記従来技術に示した方法を用い
て並行処理する。さらに前記MPUによる処理と前記各
SPUによる処理はを前述のように並列処理する。
The drawing management task processing and the printing task processing by the MPU are performed in parallel using the method described in the related art. Further, the processing by the MPU and the processing by the respective SPUs are performed in parallel as described above.

【0201】また本第2実施例におけるコマンド受信、
空描画、実描画、印刷等のタイミング図は、前記図1
1、図12、図13の場合と同様である。つまり、図示
のように、MPUによる描画管理タスクの処理と各SP
Uによる各個別描画タスク1、2、3等の処理は並列し
て実行されている。またMPUにより処理されるコマン
ド受信、描画管理タスクの処理、転送1、転送2、…、
転送5等、印刷1、印刷2、…、印刷5等は、並行して
実行されている。
In the second embodiment, the command reception,
The timing chart of blank drawing, actual drawing, printing, etc. is shown in FIG.
1, FIG. 12 and FIG. That is, as shown in FIG.
The processing of each individual drawing task 1, 2, 3, etc. by U is executed in parallel. In addition, command reception processed by the MPU, processing of the drawing management task, transfer 1, transfer 2,.
The transfer 5, etc., print 1, print 2,..., Print 5 etc. are executed in parallel.

【0202】また、図11、図12、図13と図9、図
10との対応も前記第1実施例の場合と同様である。
The correspondence between FIGS. 11, 12, and 13 and FIGS. 9 and 10 is the same as that of the first embodiment.

【0203】以上のように本実施例においても実描画処
理を並列実行しているため、ページ当りの描画時間が、
ページ当りのプリンタメカニズム印刷時間を超える場合
でも、印刷スループットとしてプリンタ最高性能を達成
することができる。
As described above, also in this embodiment, since the actual drawing processing is executed in parallel, the drawing time per page is reduced.
Even when the printer mechanism printing time per page is exceeded, the highest performance of the printer as the print throughput can be achieved.

【0204】また描画と印刷を前述のように並行処理し
ているため、各ページの印刷内容が異なる複数ページか
らなる文書についての連続印刷においても、プリンタ最
高性能を達成することができる。
Further, since the drawing and the printing are performed in parallel as described above, the maximum performance of the printer can be achieved even in the continuous printing of a document composed of a plurality of pages in which the printing contents of each page are different.

【0205】また複数個のプロセッサ(MPU、SPU
1、SPU2、…、SPUK)として汎用プロセッサを
用いているため、各ページが文字又は図形のみの文書に
ついても描画性能を向上し、印刷性能を向上させること
ができる。
A plurality of processors (MPU, SPU
1, SPU2,..., SPUK), the drawing performance can be improved even for a document in which each page includes only characters or graphics, and the printing performance can be improved.

【0206】また本実施例においては、第1実施例とは
異なり、空描画を各個別描画タスクが行っている。従っ
て、前記空描画の負荷が小さい場合、個別描画タスク数
Mをスレーブプロセッサ総数K+1とし、各個別描画タ
スクmを、いずれかのスレーブプロセッサ及びマスタプ
ロセッサに割り当てることで、印刷スループットを第1
実施例の場合より向上させることができる。
Also, in this embodiment, unlike the first embodiment, each individual drawing task performs blank drawing. Therefore, when the load of the empty drawing is small, the number M of individual drawing tasks is set to the total number of slave processors K + 1, and each individual drawing task m is assigned to any one of the slave processors and the master processor, so that the print throughput is the first.
It can be improved as compared with the embodiment.

【0207】次に本発明の第3実施例を説明する。本実
施例のハ−ドウェアの基本構成、ハ−ドウェアの詳細構
成、ソフトウェア構成、プリンタエンジンアダプタ部2
の構成は、前記第1実施例の場合と同じく、図1〜図
6、図9、図10に示したものを利用する。
Next, a third embodiment of the present invention will be described. Basic configuration of hardware of this embodiment, detailed configuration of hardware, software configuration, printer engine adapter unit 2
The configuration shown in FIGS. 1 to 6, FIG. 9, and FIG. 10 is used as in the first embodiment.

【0208】従来の印刷コマンドの中には、明瞭なペ−
ジ区切りがなく、描画属性パラメ−タの引継ぎありのコ
マンド(以下、無制約コマンドと呼ぶ)がある。ここ
で、明瞭なペ−ジ区切りなしとは、ペ−ジ区切りを示す
コマンドがペ−ジ区切り位置になく、以下のような条件
が発生した時、印刷制御装置が暗黙的にペ−ジ区切りが
指示されたとみなすことである。
In a conventional print command, a clear page is included.
There is a command without a break and a handover of drawing attribute parameters (hereinafter referred to as an unconstrained command). Here, "clear page break" means that when a command indicating a page break is not at a page break position and the following condition occurs, the print control device implicitly breaks the page. Is assumed to have been instructed.

【0209】(1)文字行の総数がペ−ジ長を超えた。(1) The total number of character lines exceeds the page length.

【0210】(2)紙サイズや印刷部数等の各ペ−ジに
ついて一通りしか指定できない各種仕様の変更が、ある
ペ−ジについての描画の途中で指示された。
(2) A change of various specifications that can be specified only once for each page, such as the paper size and the number of copies, was instructed in the middle of drawing on a certain page.

【0211】また、描画属性パラメ−タの引継ぎありの
コマンドとは、文字フォントの種類、文字行ピッチ、文
字列ピッチ、線幅、線種、紙サイズ、印刷部数、プリン
タ給紙部、プリンタ排紙部等の描画や印刷に関する各種
パラメ−タが、次頁に引き継がれるコマンドのことであ
る。
[0211] Also, commands with handover of drawing attribute parameters include the type of character font, character line pitch, character string pitch, line width, line type, paper size, number of copies, printer paper feeder, and printer discharger. Various parameters related to drawing and printing of paper and the like are commands that are carried over to the next page.

【0212】なお、明瞭なペ−ジ区切りがなく、描画属
性パラメ−タの引継ぎありのコマンド、つまり無制約コ
マンドの代表としては、各プリンタメ−カが独自に定め
ているプリンタ制御用エスケ−プシ−ケンスがある。
Note that there is no clear page segmentation, and as a representative of a command with drawing attribute parameters taken over, that is, an unconstrained command, a printer control escalation uniquely defined by each printer manufacturer. There is a push-kens.

【0213】上記無制約コマンドを用いて印刷を行う場
合、前述の第1実施例及び第2実施例においては、前記
空描画処理の負荷が大きくなると、マルチプロセッサ方
式を用いても印刷性能の飛躍的な向上は望めない。
When printing is performed using the above-described unconstrained command, in the above-described first and second embodiments, if the load of the blank drawing process increases, the printing performance will jump even if the multiprocessor system is used. Improvement cannot be expected.

【0214】例えば、空描画分散処理方式における個別
描画タスクによる空描画処理の処理量dは、 d=(M−1)・a+1 ここで、M:個別描画タスク数 a:空描画処理の負荷係数(描画処理時間に対する比
率) である。
For example, the processing amount d of the blank drawing process by the individual drawing task in the blank drawing distributed processing method is as follows: d = (M−1) · a + 1, where M: the number of individual drawing tasks, a: the load coefficient of the blank drawing process (Ratio to drawing processing time).

【0215】この場合、M=3、a=0.1〜0.4と
すると空描画処理の処理量dはd=1.2〜1.8とな
る。
In this case, when M = 3 and a = 0.1 to 0.4, the processing amount d of the blank drawing processing is d = 1.2 to 1.8.

【0216】また、空描画集中処理方式においては、無
制約コマンドについては描画管理タスクが各ペ−ジにつ
いて、空描画処理負荷係数aだけの空描画を行う。
In the blank drawing concentrated processing method, the drawing management task performs blank drawing by the blank drawing processing load coefficient a for each page for the unrestricted command.

【0217】本実施例においては、図15に示すような
制約コマンドと呼ぶ印刷コマンドを定義することによ
り、上記問題点を解消する。ここで制約コマンドとは、
ペ−ジの区切りにペ−ジ区切りを示す改頁コマンドと呼
ぶコマンドを配置し(95、98)、各ペ−ジの先頭に
て各種描画属性パラメ−タが印刷コマンド仕様により初
期化されるか、又は各ペ−ジの先頭に各種描画属性パラ
メ−タを初期化するためのリセットコマンドB(93、
96)と呼ぶコマンドを配置し、第1ペ−ジ用のコマン
ドの前に、本文書の以後のすべてのペ−ジについて有効
となるすべての外字、書式、関数、辞書等からなる文書
全ペ−ジ有効パラメ−タを定義するためのコマンドを配
置し(92)、文書の先頭に前記描画属性パラメ−タ及
び文書全ペ−ジ有効パラメ−タを初期化するためのリセ
ットコマンドA(91)と呼ぶコマンドを配置し、前記
リセットコマンドBと改頁コマンドの間に各ペ−ジの描
画、印刷内容を指定するための各種描画属性パラメ−タ
の設定コマンドと各種描画コマンドの列を配置した(9
4、97)ものである。
In the present embodiment, the above problem is solved by defining a print command called a constraint command as shown in FIG. Here, the constraint command is
A command called a page break command indicating a page break is arranged at a page break (95, 98), and various drawing attribute parameters are initialized at the head of each page according to the print command specification. Or a reset command B (93, 93) for initializing various drawing attribute parameters at the beginning of each page.
96), and before the command for the first page, all pages of the document consisting of all external characters, formats, functions, dictionaries, etc. that are valid for all subsequent pages of this document. -A command for defining a page valid parameter is arranged (92), and a reset command A (91) for initializing the drawing attribute parameter and document entire page valid parameter at the beginning of the document. ), And a row of various drawing attribute parameter setting commands and various drawing commands for designating the drawing and print contents of each page between the reset command B and the page break command. (9
4, 97).

【0218】なお、制約コマンドの実現方法としては次
の二つの方法がある。
Note that there are the following two methods for implementing the constraint command.

【0219】(1)上記規約に従う印刷コマンドとして
新たに定義する。
(1) A print command is newly defined according to the above rules.

【0220】(2)無制約コマンドの使い方、つまりコ
マンドシ−ケンスを前記規約に従うようにする。
(2) How to use unrestricted commands, that is, the command sequence conforms to the above-mentioned rules.

【0221】また近年、レーザプリンタ等を用いて高品
位印刷を行うため、Page Description Language(PD
Lと略す)と呼ばれる印刷コマンドが普及しつつある。
PDLとしては、Adobe社のPostScript、HP社のDD
L、ゼロックス社のInterpress等がある。これらのPD
Lは前記プリンタ制御用エスケープシーケンスに比べ、
処理量が大きいため、前記問題点は特に重大である。そ
のため、図16に示すように、PDLを制約コマンド化
すると、印刷性能を大きく向上することができる。この
制約を付けたPDLを、以下制約付きPDLと呼ぶこと
にする。
In recent years, in order to perform high-quality printing using a laser printer or the like, a Page Description Language (PD
A print command called “L” is becoming widespread.
PDL includes Adobe PostScript and HP DD
L, Xerox Interpress and the like. These PDs
L is compared to the printer control escape sequence.
The above problem is particularly serious due to the large throughput. Therefore, as shown in FIG. 16, when the PDL is converted into a constraint command, the printing performance can be greatly improved. The PDL with this constraint will be hereinafter referred to as a restricted PDL.

【0222】図16に示すように制約付きPDLは、文
頭コメント部10A、文書全ページ有効パラメータ設定
部10B、第1ページ内容部10C、第2ページ内容部
10D、…、最終ページ内容部10E、文末コメント部
10Fとからなる。
As shown in FIG. 16, the restricted PDL includes a head comment section 10A, a document all page valid parameter setting section 10B, a first page content section 10C, a second page content section 10D,..., A last page content section 10E, It consists of a sentence end comment section 10F.

【0223】前置きコメント部10Aは、文書の作成者
10A1、文書名称10A2、作成日10A3、総ペー
ジ数10A4、使用フォント一覧10A5、文頭コメン
ト部の終了記述子10A6等からなる。なお、本例では
総ページ数10A4と使用フォント一覧10A5は、前
記文末コメント部10Fを参照するようにしてある。
The introductory comment section 10A includes a document creator 10A1, a document name 10A2, a creation date 10A3, a total number of pages 10A4, a font list 10A5, an end descriptor 10A6 of the head comment section, and the like. In this example, the total number of pages 10A4 and the font list 10A5 used refer to the sentence end comment section 10F.

【0224】文書全ページ有効パラメータ設定部10B
は、前述の文書全ページ有効パラメータ92を設定する
部分である。
Document All Page Valid Parameter Setting Unit 10B
Is a part for setting the document all page valid parameter 92 described above.

【0225】第1ページ内容部10C、第2ページ内容
部10D、…、最終ページ内容部10Eは、前記各ペー
ジの描画、印刷内容を指定するための各種描画属性パラ
メータの設定コマンドと各種描画コマンドの列(94、
97)からなる。
The first page content section 10C, the second page content section 10D,..., The last page content section 10E are used to set various drawing attribute parameters and various drawing commands for specifying the drawing and print contents of each page. Column (94,
97).

【0226】文末コメント部10Fは文末コメント部の
開始記述子10F1、総ページ数10F2、使用フォン
ト一覧10F3等からなる。
The end-of-sentence comment section 10F includes a start descriptor 10F1, a total number of pages 10F2, a font list 10F3 to be used, and the like.

【0227】なお、少なくとも第1ページ内容部10
C、第2ページ内容部10D、…、最終ページ内容部1
0Eの区切り、つまりページ区切りは、前記10C、1
0D、10E等のページ内容の記述と簡単に区別がつく
ようにし、該ページ区切りの検出を簡単にできるように
することが、前記空描画処理の負荷を軽減するために望
ましい。
It should be noted that at least the first page content section 10
C, second page content section 10D,..., Last page content section 1
The break of 0E, that is, the page break is 10C, 1
It is desirable that the description of the page contents such as 0D, 10E, etc. be easily distinguished from each other so that the detection of the page break can be easily performed in order to reduce the load of the blank drawing process.

【0228】なお、PostScriptには、copypageと呼ばれ
るコマンドが使われている。本コマンドは、前ページに
ついてのページバッファへの描画内容と描画属性パラメ
ータをすべて次のページに引き継ぐ。従って、本印刷制
御装置では、copypageコマンドではページが更新されな
いものとみなして、処理を進める。
[0228] A command called copypage is used in PostScript. This command inherits all the drawing contents and drawing attribute parameters for the previous page in the page buffer to the next page. Accordingly, the print control apparatus proceeds with the processing assuming that the page is not updated by the copypage command.

【0229】次に図17を参照しながら、制約コマン
ド、無制約コマンドのホストコンピュータ10と印刷制
御装置とによる処理について説明する。
Next, the processing by the host computer 10 and the print control device of the restricted command and the unrestricted command will be described with reference to FIG.

【0230】ホストコンピュータは次のいずれかを行う
ことにより、印刷コマンド列を印刷制御装置11に送信
する。
The host computer transmits a print command sequence to the print control device 11 by performing one of the following.

【0231】(1)制約コマンド11A1を、ホストコ
ンピュータ10内の応用プログラムやプリンタドライバ
が直接生成し、印刷制御装置11に送信する。
(1) An application program or a printer driver in the host computer 10 directly generates the constraint command 11A1 and sends it to the print control device 11.

【0232】(2)無制約コマンド11A2を、ホスト
コンピュータ10内の応用プログラムやプリンタドライ
バが一度作成し、同じくホストコンピュータ10が制約
コマンドへの変換部11Bを用いて、該無制約コマンド
11A2を制約コマンド11C2へ変換した後、印刷制
御装置11に送信する。
(2) An application program or a printer driver in the host computer 10 once creates the unconstrained command 11A2, and the host computer 10 similarly constrains the unconstrained command 11A2 using the constraint command conversion unit 11B. After conversion into the command 11C2, the command is transmitted to the print control device 11.

【0233】(3)無制約コマンド11A2を、ホスト
コンピュータ110内の応用プログラムやプリンタドラ
イバが作成し、印刷制御装置11にそのまま送信する
(11C3に相当)。
(3) An application program or a printer driver in the host computer 110 creates the unrestricted command 11A2 and sends it to the print control device 11 as it is (corresponding to 11C3).

【0234】なお、該印刷コマンド列の先頭エリアには
制約コマンドと無制約コマンドを区別するため、制約有
無指定コマンドを配置し(図18参照)、前記ホストコ
ンピュータが該印刷コマンド列を印刷制御装置に送信す
る。
In the head area of the print command sequence, a command for specifying whether or not there is a constraint is arranged in order to distinguish between the restricted command and the unconstrained command (see FIG. 18). Send to

【0235】印刷制御装置11は次の処理を行う。The printing control device 11 performs the following processing.

【0236】(1)ホストコンピュータから受信した印
刷コマンド列内に記述されている前記制約有無指定コマ
ンドを処理することにより、受信した印刷コマンド列が
制約コマンドと無制約コマンドのいずれであるか判別す
る(11D1)。
(1) By processing the above-mentioned constraint presence / absence designation command described in the print command sequence received from the host computer, it is determined whether the received print command sequence is a restricted command or an unconstrained command. (11D1).

【0237】(2)判別の結果、制約コマンドならば制
約コマンド対応印刷制御方式11E1を実行する(11
E1)。無制約コマンドならば、無制約コマンド対応印
刷制御方式を実行する(11E2)。
(2) If the result of the determination is that the command is a constraint command, the print control method 11E1 corresponding to the constraint command is executed (11
E1). If the command is an unconstrained command, the print control method corresponding to the unconstrained command is executed (11E2).

【0238】なお、無制約コマンド対応印刷制御方式に
おいては、空描画処理として第1実施例又は第2実施例
に示した処理を行う。また、制約コマンド対応印刷制御
方式においては、空描画処理として明瞭なページ区切り
の検出のみを行うようにし、前記描画属性パラメータの
引継ぎ処理は行わないようにする。
In the print control method corresponding to the unrestricted command, the processing shown in the first or second embodiment is performed as the blank drawing processing. Further, in the print control method corresponding to the constraint command, only clear page break detection is performed as blank drawing processing, and the drawing attribute parameter takeover processing is not performed.

【0239】なお、本実施例における描画管理タスクと
個別描画タスクの処理手順としては、第1実施例におけ
る紙サイズ確定型空描画集中処理方式(図7)、紙サイ
ズ仮定型空描画集中処理方式(図8)、又は空描画分散
処理方式(図14)を用いるものとする。但し、制約コ
マンドにおいては、前述のように空描画を簡単化するも
のとする。
The processing procedure of the drawing management task and the individual drawing task in the present embodiment includes the paper size fixed type blank drawing centralized processing method (FIG. 7) and the paper size assumed type blank drawing centralized processing method in the first embodiment. (FIG. 8) or the blank drawing distributed processing method (FIG. 14). However, in the constraint command, the empty drawing is simplified as described above.

【0240】次に、ホストコンピュータが送信する印刷
コマンド列の形式について、説明する。ホストコンピュ
ータ10は図18に示す形式の印刷コマンド列を作成
し、印刷制御装置11へ送信する。印刷プロトコル指定
コマンド12A1により、前述の各プリンタメーカ対応
プリン制御用エスケープシーケンス、PostScript等の各
種PDLの種別を指定する。本印刷プロトコル指定コマ
ンドは省略できない。
Next, the format of a print command string transmitted by the host computer will be described. The host computer 10 creates a print command sequence in the format shown in FIG. The print protocol designation command 12A1 designates the type of various PDLs such as the above-described printer-controlling pudding control escape sequence and PostScript. This print protocol specification command cannot be omitted.

【0241】制約有無指定コマンド12A2により、制
約コマンドと無制約コマンドの区別を付ける。また、制
約有無指定コマンド12A2より後に、文書の印刷内容
を示す印刷コマンド列12A3(以後、文書内容記述印
刷コマンド列と呼ぶ)を配置する。文書内容記述印刷コ
マンド列12A3の内容の一例としては、前記図15や
図16に示した印刷コマンド列がある。文書内容記述印
刷コマンド列12A3の中に片面/両面印刷指定コマン
ド12A4を付けることにより、片面印刷と両面印刷の
いずれかを指定する。制約有無指定コマンド及び片面/
両面印刷指定コマンドは省略すると、前指定値を用いる
こととする。前指定値がない場合、初期値とみなす。本
実施例では、初期値を無制約コマンドや片面印刷とした
が、制約コマンドや両面印刷とすることもできる。な
お、印刷プロトコル指定コマンド12A1と制約有無指
定指定コマンド12A2を合わせて印刷プロトコル指定
コマンド12A1としてもよい。
The restricted command 12A2 distinguishes a restricted command from an unrestricted command. A print command sequence 12A3 (hereinafter, referred to as a document content description print command sequence) indicating the print content of the document is arranged after the constraint presence / absence designation command 12A2. An example of the content of the document content description print command sequence 12A3 is the print command sequence shown in FIG. 15 or FIG. By attaching a single-sided / double-sided print designation command 12A4 to the document content description print command sequence 12A3, one of single-sided printing and double-sided printing is designated. Command for specifying whether or not there is a constraint
If the double-sided print designation command is omitted, the previous designated value is used. If there is no previous specified value, it is regarded as the initial value. In this embodiment, the initial value is an unconstrained command or single-sided printing, but may be a restricted command or double-sided printing. The print protocol designation command 12A1 and the constraint presence / absence designation command 12A2 may be combined into a print protocol designation command 12A1.

【0242】以上のように、制約コマンドと制約コマン
ド対応印刷制御方式を設けることにより、空描画集中処
理方式における描画管理タスクによる空描画処理、及び
空描画分散処理方式における個別描画タスクによる空描
画処理を、制約コマンドの場合、簡単化し、高速化を計
ることができる。
As described above, by providing the constraint command and the print control system corresponding to the constraint command, the blank drawing process by the drawing management task in the blank drawing centralized processing system and the blank drawing process by the individual drawing task in the blank drawing distributed processing system. Can be simplified and speeded up in the case of a constraint command.

【0243】従って本実施例においては、前記第1実施
例及び第2実施例で得られた効果に加え、プロセッサ数
にほぼ比例した描画性能の向上効果も得ることができ
る。
Therefore, in this embodiment, in addition to the effects obtained in the first and second embodiments, an effect of improving the drawing performance almost proportional to the number of processors can be obtained.

【0244】なお、制約コマンドにおいては、各ページ
用の印刷コマンド列を切り出した後、前記共有メモリか
ら、各個別描画タスクに対応するプロセッサモジュール
内のローカルメモリに転送し、その転送した印刷コマン
ド列について各個別描画タスクが処理を行うようにして
もよい。この場合、各個別描画タスクによる印刷コマン
ド列のアクセス時に、共有メモリの場合のようなアクセ
ス競合が発生しないという効果がある。但し、前記転送
時間が余分にかかる。
In the constraint command, a print command sequence for each page is cut out and then transferred from the shared memory to a local memory in a processor module corresponding to each individual drawing task. May be performed by each individual drawing task. In this case, when accessing the print command sequence by each individual drawing task, there is an effect that access conflict unlike the case of the shared memory does not occur. However, the transfer time is extra.

【0245】また、次のように改頁コマンドより検出の
容易なページ区切りを設けることにより、ページ切り出
しをさらに高速化し、空描画の負荷をさらに減少するこ
ともできる。
Further, by providing a page break which is easier to detect than a page break command as described below, the speed of page cutout can be further increased, and the load of blank drawing can be further reduced.

【0246】(1)SCSI(Small Computer System
Interface)におけるPrintコマンドを各ページ毎に別々
に発行する、 (2)前記制約付きPDLにて述べたように、ページ区
切りとして、前記10C、10D、10E等のページ内
容の記述と簡単に区別がつくような記述子を特別に設け
る。
(1) SCSI (Small Computer System)
Interface), a Print command is issued separately for each page. (2) As described in the above-described restricted PDL, a page break is easily distinguished from the description of page contents such as 10C, 10D, and 10E. A special descriptor that can be attached is provided.

【0247】次に本発明の第4実施例を説明する。Next, a fourth embodiment of the present invention will be described.

【0248】ソフトウェア構成、プリンタエンジンアダ
プタ部2の構成は、前記第1実施例の場合と同じく、図
6、図9、図10に示したものを利用する。また、ハー
ドウェア構成としては図1〜図5に示したものを用いる
こともできるが、他の構成もとることができる。ハード
ウェア構成については、後述する。
The software configuration and the configuration of the printer engine adapter unit 2 use the ones shown in FIGS. 6, 9, and 10, as in the case of the first embodiment. Although the hardware configuration shown in FIGS. 1 to 5 can be used, other configurations can be adopted. The hardware configuration will be described later.

【0249】本実施例は1ページからなる文書や、ファ
ーストプリントと呼ばれる文書第1ページの印刷も高速
印刷するためのものである。
The present embodiment is intended for high-speed printing of a one-page document or the first page of a document called first print.

【0250】そのため、1ページを複数個の領域に分
け、各領域について別々のプロセッサが個別描画タスク
処理として、各領域についての描画を行うことにより、
各1ページを高速描画する。
For this reason, one page is divided into a plurality of areas, and each processor performs drawing for each area as individual drawing task processing for each area.
Each page is drawn at high speed.

【0251】さらに、1ページを構成するすべての領域
についての描画が終了すると、印刷タスクが、図6に示
したのと同様の方式で起動される。該印刷タスクは、前
記個別描画タスクと別プロセッサについては並列処理さ
れ、同一プロセッサについては並行処理されるので、複
数ページからなる文書でも高速印刷を実現することがで
きる。以上説明した第4実施例に示した処理方式をペー
ジ内並列処理方式と呼ぶ。
Further, when the drawing for all the areas constituting one page is completed, the print task is started in the same manner as shown in FIG. The print task is processed in parallel with the individual drawing task for another processor, and is processed in parallel for the same processor. Therefore, high-speed printing can be realized even for a document including a plurality of pages. The processing method described in the fourth embodiment is referred to as an intra-page parallel processing method.

【0252】さらに詳しく説明する。ホストコンピュー
タ10からホスト通信コントローラ(151−aや15
1−b)を介して印刷コマンド列を受信し、共有メモリ
(141や142)内のコマンドバッファ部に格納す
る。
This will be described in more detail. A host communication controller (151-a or 15-
The print command sequence is received via 1-b) and stored in the command buffer unit in the shared memory (141 or 142).

【0253】前記MPU101に1ページを領域1から
領域Kに分け、領域1用に空き状態の一つの部分ページ
バッファを獲得し、本領域1への描画を第1番目のスレ
ーブプロセッサSPU1(111)にページ内モード個
別描画タスク処理1と呼ぶ処理を起動することで指示
し、以下同様に各領域k用に空き状態の一つの部分ペー
ジバッファを獲得し、本領域kへの描画を第k番目のス
レーブプロセッサSPUkにページ内モード個別描画タ
スク処理kと呼ぶ処理を起動することで指示する。
The MPU 101 divides one page from the area 1 to the area K, acquires one free partial page buffer for the area 1, and renders the area 1 with the first slave processor SPU1 (111). , By invoking a process referred to as an in-page mode individual drawing task process 1. Similarly, one free partial page buffer is obtained for each region k, and drawing to the main region k is performed on the k-th page. The slave processor SPUk is instructed by activating a process called an in-page mode individual drawing task process k.

【0254】各第k番目のスレーブプロセッサSPUk
の前記ページ内モード個別描画タスク処理kにおいて
は、領域kをクリッピングエリアとする描画属性パラメ
ータの設定処理及び描画処理をページ区切りを検出する
まで行い、1ページ分の処理が終ると、その旨MPUに
報告した後、本処理を終了する。
Each k-th slave processor SPUk
In the in-page mode individual drawing task process k, the setting process and the drawing process of the drawing attribute parameter using the region k as the clipping area are performed until the page break is detected. , And terminates this processing.

【0255】MPUが各SPUによる各領域についての
前記処理終了報告を受信すると、報告元の各SPUを解
放する。
When the MPU receives the processing completion report for each area by each SPU, it releases each SPU of the reporting source.

【0256】MPUが、各SPUによる各領域について
の前記処理終了報告をすべての領域から受信すると、描
画を終了した該1ページについて印刷タスク(322
1、3222、3223等のいずれか)を起動する。
When the MPU receives the processing completion report for each area by each SPU from all the areas, the print task (322)
1, 3222, 3223, etc.).

【0257】本印刷タスクの処理においては領域1から
領域Kに対応する部分ページバッファの内容を、1ペー
ジを構成するために必要な順序で読出し、プリンタエン
ジン部18に出力する。
In the processing of this print task, the contents of the partial page buffers corresponding to the areas 1 to K are read out in an order necessary for forming one page, and output to the printer engine unit 18.

【0258】各描画済み部分ページバッファからの読出
しの終了を、MPUがプリンタエンジンアダプタ部1、
プリンタエンジンアダプタ部2又は各SPUからの割込
み信号により知ると、該MPUが当該部分ページバッフ
ァを解放する。
The MPU notifies the printer engine adapter unit 1 of the completion of reading from each of the rendered partial page buffers.
Upon knowing from the printer engine adapter unit 2 or an interrupt signal from each SPU, the MPU releases the partial page buffer.

【0259】また、前記マスタプロセッサによる印刷以
外の処理と印刷処理を並行処理し、さらに前記マスタプ
ロセッサによる処理と前記各スレーブプロセッサによる
処理を並列処理するようにした。
Further, processing other than printing by the master processor and printing processing are performed in parallel, and processing by the master processor and processing by each of the slave processors are performed in parallel.

【0260】次にハードウェア構成を、図19と図20
を用いて説明する。
Next, the hardware configuration will be described with reference to FIGS.
This will be described with reference to FIG.

【0261】図19の方式をプロセッサ対応ローカルバ
ス結合方式と呼ぶ。図2から図5の場合と基本的には同
じである。違いは、各プロセッサモジュール100、1
10、120等内のローカルメモリ103、113、1
23等を、前記領域1、領域2、…、領域Kに対応させ
うる部分ページバッファとして利用する点にある。ここ
で、部分ページバッファと部分を付けて呼んだ理由は、
各領域がページの一部分に対応するため、1ページ全体
からなるフルページバッファが必ずしも必要とならない
ためである。
The system shown in FIG. 19 is called a processor-based local bus connection system. This is basically the same as the case of FIGS. 2 to 5. The difference is that each processor module 100, 1
Local memory 103, 113, 1 in 10, 120, etc.
23 is used as a partial page buffer which can correspond to the above-mentioned areas 1, 2,..., Area K. Here, the reason for calling it with a partial page buffer is
Because each area corresponds to a part of a page, a full page buffer including one entire page is not necessarily required.

【0262】図19においては、例えば領域1、領域
2、…、領域Kを各々同図内の13A1、13A2、
…、13A3にて示したローカルメモリ上に配置してい
る。
In FIG. 19, for example, region 1, region 2,..., Region K are represented by 13A1, 13A2,
.., 13A3 are arranged on the local memory.

【0263】また図20に示すハードウェア構成をとる
こともできる。本構成を以後、マトリックススイッチ結
合方式と呼ぶ。本構成においては、複数個のスレーブプ
ロセッサと複数個の部分ページバッファを、任意のスレ
ーブプロセッサと任意の部分ページバッファをスイッチ
で結合することにより、該スレーブプロセッサが該部分
ページバッファをアクセスし、描画することができるよ
うな構成とした。
The hardware configuration shown in FIG. 20 can be employed. This configuration is hereinafter referred to as a matrix switch coupling system. In this configuration, a plurality of slave processors and a plurality of partial page buffers are connected to each other by a switch between an arbitrary slave processor and an arbitrary partial page buffer. It was configured so that

【0264】図21に印刷結果の例を示す。141、1
42、143に示した“abc”、“def”、“gh
i”といった描画が、各々部分ページバッファ1、2、
3上の領域1、2、3になされる。本図において、14
4は領域の区切りを示すための概念上の線であり、印刷
結果としては出力されない。
FIG. 21 shows an example of a print result. 141, 1
“Abc”, “def”, “gh” shown in FIGS.
i ”, the partial page buffers 1, 2,
3 on regions 1, 2, and 3. In this figure, 14
Numeral 4 is a conceptual line for indicating a boundary between areas, and is not output as a print result.

【0265】ページバッファ読出し回路は以下のように
する。
The page buffer read circuit operates as follows.

【0266】(1)領域1、領域2、…、領域Kに対し
アドレスの連続した部分ページバッファの組みを割当て
れば、従来の読出し回路でよい。
(1) If a set of partial page buffers having continuous addresses is assigned to the area 1, the area 2,..., The area K, a conventional read circuit is sufficient.

【0267】(2)そうでない割当てを許す場合、回路
を工夫することが必要である。
(2) If assignment other than that is permitted, it is necessary to devise a circuit.

【0268】つまり1ページを構成する部分ページバッ
ファの組みを登録し、一つの部分ページバッファからの
読出しが終わると、次の部分ページバッファの先頭アド
レスへラスタ読出しアドレスを切替える機構が必要とな
る。
That is, a set of partial page buffers constituting one page is registered, and when reading from one partial page buffer is completed, a mechanism for switching the raster read address to the start address of the next partial page buffer is required.

【0269】プロセッサ対応ローカルバス設置方式の場
合、異なるローカルバス上の部分ページバッファの組み
を登録する。
In the case of the local bus installation method corresponding to the processor, a set of partial page buffers on different local buses is registered.

【0270】マトリクススイッチ結合方式の場合、任意
の部分ページバッファの組みを登録する。
In the case of the matrix switch connection method, an arbitrary set of partial page buffers is registered.

【0271】部分ページバッファの組みとしては、図2
2に示す縦方向組合せをサポートした。図23の縦横方
向組合せもサポートすれば、部分ページバッファをさら
に効率良く使うことができる。
FIG. 2 shows a set of partial page buffers.
The vertical combination shown in Fig. 2 is supported. If the vertical and horizontal combinations shown in FIG. 23 are also supported, the partial page buffer can be used more efficiently.

【0272】本実施例によれば、1ページからなる文書
や、ファーストプリントも高速印刷することができる。
According to this embodiment, a one-page document and a first print can be printed at a high speed.

【0273】総ページ数、制約コマンド/無制約コマン
ドの区別等の文書の内容に応じて、ホストコンピュータ
や印刷制御装置が(a)前記ページ内並列処理方式と
(b)ページ別並列処理方式(ページ別に並列処理を行
う方式であり、前述の(b−1)空描画分散処理方式、
(b−2)紙サイズ確定型空描画集中処理方式、(b−
3)紙サイズ仮定型空描画集中処理方式のいずれか)の
一方を選択し、切替えて実行することができる。さら
に、前記文書内容に応じて、(b)のページ別並列処理
方式の中から、適切なもの((b−1)、(b−2)、
(b−3)のいずれか)をホストコンピュータや印刷制
御装置が選択し、切替えて実行することもできる。
According to the contents of the document, such as the total number of pages and the distinction between the restricted command and the unrestricted command, the host computer or the printing control apparatus can execute (a) the in-page parallel processing method and (b) the per-page parallel processing method This is a method for performing parallel processing for each page.
(B-2) The paper size fixed type blank drawing centralized processing method, (b-
3) Any one of the paper size assumption type blank drawing concentrated processing methods) can be selected, switched, and executed. Further, according to the content of the document, an appropriate one ((b-1), (b-2),
(B-3) may be selected and switched by the host computer or the print control device and executed.

【0274】次に本発明の第5実施例を説明する。本実
施例は、図26に示す別形式のホストコンピュータ送信
コマンドに対応するためのものである。また、この実施
例では、後述する用紙に関連する制御情報については別
個に設けたロードコマンドで指定するようにし、その他
の描画属性パラメータ(文字ピッチ、行ピッチ、イタリ
ック、倍角、アンダーライン等)は描画・印刷内容指定
コマンドで指定するようにした。具体的には、フォント
ロードコマンド2612や書式ロードコマンド2613
や用紙制御情報ロードコマンド2614を、第1頁用の
描画・印刷内容指定コマンド262の前に受信すること
により、それぞれホストから受信したフォントと書式と
用紙制御用パラメータとを印刷制御装置11内に予め格
納する。それらのフォントと書式と用紙制御用パラメー
タは、第1頁以後の描画と印刷において利用される。但
し、用紙制御用パラメータは後続の任意の頁の前で変更
することができる。
Next, a fifth embodiment of the present invention will be described. The present embodiment is for responding to another type of host computer transmission command shown in FIG. In this embodiment, the control information relating to the paper described later is designated by a separately provided load command, and other drawing attribute parameters (character pitch, line pitch, italic, double-width, underline, etc.) Enabled to specify by drawing / print contents specification command. Specifically, a font load command 2612 and a format load command 2613
And the sheet control information load command 2614 before the drawing / print content designation command 262 for the first page, the font, format, and sheet control parameters received from the host are respectively stored in the print control device 11. Store in advance. The font, format, and paper control parameters are used in drawing and printing of the first page and thereafter. However, the paper control parameters can be changed before any subsequent pages.

【0275】描画・印刷内容指定コマンド262,26
3はそのサブコマンドとして、各種描画属性パラメータ
設定用サブコマンドと各種描画用サブコマンドの列を含
み、1頁分の文字、図形、イメージ等の描画・印刷内容
を指定する。本サブコマンドの中に、改頁を指定するサ
ブコマンドがあると、その後のサブコマンド列はないも
のとみなす。
Drawing / print contents designation commands 262, 26
Reference numeral 3 includes, as its subcommands, a row of various drawing attribute parameter setting subcommands and various drawing subcommands, and specifies drawing / printing contents of one page of characters, graphics, images, and the like. If there is a subcommand that specifies a page break in this subcommand, it is considered that there is no subsequent subcommand sequence.

【0276】また用紙制御情報ロードコマンド2614
は、そのサブコマンドとして、片面・両面印刷指定、給
紙部指定、排紙部指定、紙サイズ指定、印刷部数指定、
印字方向(ポートレート/ランドスケープ)指定のため
のサブコマンドの列を含み、これらの各種用紙制御用パ
ラメータの指定を行なう。
A paper control information load command 2614
Are subcommands for single-sided / double-sided printing, paper feeder, paper discharger, paper size, number of prints,
It includes a sequence of subcommands for specifying the printing direction (portrait / landscape), and specifies these various paper control parameters.

【0277】図26の例では、第1頁から第n−1頁に
おいて、フォントロードコマンド2612と書式ロード
コマンド2613と用紙制御情報ロードコマンド261
4でそれぞれロードしたフォントと書式と用紙制御用パ
ラメータを利用し、第n頁以後では新たに指定されたフ
ォントロードコマンド2641と書式ロードコマンド2
642と用紙制御情報ロードコマンド2643でそれぞ
れロードしたフォントと書式と用紙制御用パラメータを
利用する。これら3種のロードコマンドのいずれかがな
い場合も許容される。
In the example of FIG. 26, a font load command 2612, a format load command 2613, and a paper control information load command 261 are used in the first to n-1 pages.
4, the newly loaded font load command 2641 and format load command 2
The font, format, and paper control parameters loaded by the 642 and the paper control information load command 2643 are used. The case where any of these three types of load commands is not permitted is also permitted.

【0278】従来形式のコマンドに加えて上記各種ロー
ドコマンドも処理するために、本実施例で採用したソフ
トウェア構成を、図27を用いて説明する。本構成で
は、図6におけるモニタ部31内のコマンドバッファ部
33に加えて、タスク処理部32内に編集コマンドバッ
ファ部331を設けた。本編集コマンドバッファ部33
1には、一頁ずつに区切り、各頁を制御情報部と、描
画、印刷内容指定コマンドとで構成する(図29参
照)。
A software configuration employed in this embodiment for processing the various load commands in addition to the conventional commands will be described with reference to FIG. In this configuration, an editing command buffer unit 331 is provided in the task processing unit 32 in addition to the command buffer unit 33 in the monitor unit 31 in FIG. Main editing command buffer section 33
In FIG. 29, each page is divided into pages, and each page is composed of a control information section and a drawing / print content designation command (see FIG. 29).

【0279】また本構成では、図26のコマンドに対応
するため、タスクとして以下のものを新設した。
In this configuration, the following tasks are newly provided in order to correspond to the commands shown in FIG.

【0280】・コマンドタスク320 ・印刷管理タスク3220 以上の新設タスクと、描画、印刷関係の各種タスクの機
能を図28に示す。
Command task 320 Print management task 3220 FIG. 28 shows the functions of the new task and various tasks related to drawing and printing.

【0281】(1)コマンドタスク (1−a)コマンドタスクは、コマンド対応に存在す
る。
(1) Command Task (1-a) The command task exists for each command.

【0282】(1−b)フォントロードコマンドおよび
書式ロードコマンド用のコマンドタスクは、メモリやテ
ーブルに必要なデータを設定する。
(1-b) The command task for the font load command and format load command sets necessary data in a memory or a table.

【0283】(1−c)用紙制御情報ロードコマンド用
のコマンドタスクは、本コマンドのサブコマンドとして
指定された各種用紙制御用パラメータを、用紙制御用パ
ラメータテーブルに設定する。
(1-c) The command task for the paper control information load command sets various paper control parameters specified as subcommands of this command in the paper control parameter table.

【0284】(1−d)描画・印刷内容指定コマンド用
のコマンドタスクでは、次の処理を行う。
(1-d) The command task for the drawing / print contents designation command performs the following processing.

【0285】(1−d−1)1頁分の制御情報部を作成
する。具体的には、用紙制御パラメータテーブルの内容
から本ページ用の用紙制御用パラメータをコピーし、編
集コマンドバッファ部331の各ページ先頭部の固定エ
リアに設定する(例えば図29の3311−1)。
(1-d-1) Create a control information section for one page. Specifically, the paper control parameters for this page are copied from the contents of the paper control parameter table and set in the fixed area at the head of each page of the edit command buffer unit 331 (for example, 3311-1 in FIG. 29).

【0286】(1−d−2)コマンドバッファ部33か
ら編集コマンドバッファ部331へ、描画・印刷内容指
定コマンドの内容である各種描画属性パラメータ設定用
サブコマンドと各種描画用サブコマンドの列を移す。
(1-d-2) The sequence of the various drawing attribute parameter setting subcommands and the various drawing subcommands, which are the contents of the drawing / print content designation command, are transferred from the command buffer unit 33 to the editing command buffer unit 331. .

【0287】(1−d−3)編集コマンドバッファ部3
31に1頁分のデータが揃う度に、描画管理タスク(図
29の3210)へその旨、メッセージ(29M1)を
送信することにより連絡する。
(1-d-3) Edit command buffer unit 3
Each time the data for one page is prepared in 31, a message (29M1) is transmitted to the drawing management task (3210 in FIG. 29).

【0288】(2)描画管理タスク (2−a)メッセージまたはSPUからの報告を受け取
ることにより起動される。
(2) Drawing management task (2-a) The task is started by receiving a message or a report from the SPU.

【0289】(2−b)必要に応じて、SPUおよびペ
ージバッファの獲得と解放を行う。
(2-b) Acquire and release the SPU and page buffer as needed.

【0290】(2−c)メッセージがコマンドタスクか
らの1頁分のデータが揃ったことを示すもの(29M
1)でああれば、本ページについてSPUとページバッ
ファとを獲得し、その後、個別描画タスク(3211、
3212…)を起動する。
(2-c) A message indicating that data for one page from the command task has been prepared (29M
If 1), an SPU and a page buffer are acquired for this page, and then the individual drawing task (3211,
3212 ...).

【0291】(2−d)SPUからの個別描画タスクの
描画完了報告を受信した場合、印刷管理タスク3220
へ起動要求メッセージ(29M2)を送付するととも
に、編集コマンドバッファ管理テーブル(29C)の該
当するページについての編集コマンドバッファ状態を
“描画完了状態”とする。
(2-d) When the drawing completion report of the individual drawing task is received from the SPU, the print management task 3220
The start request message (29M2) is sent to the edit command buffer management table (29C), and the edit command buffer state for the corresponding page is set to “drawing completed state”.

【0292】(2−e)ページバッファ読みだし終了割
込が発生すると、本割込処理は、本ページの解放要求メ
ッセージを本描画管理タスク(3210)へ送信する。
本メッセージを受けた描画管理タスクは、読出しの終わ
ったページの編集コマンドバッファ状態を空き状態と
し、編集コマンドバッファを解放するとともに、読み出
しの終わったページバッファ(29C1,29C2,
…,29C3のいずれか)を解放する。
(2-e) When a page buffer reading end interrupt occurs, this interrupt processing transmits a page release request message to the drawing management task (3210).
Upon receiving this message, the drawing management task sets the edit command buffer state of the read page to an empty state, releases the edit command buffer, and sets the read page buffer (29C1, 29C2,
, 29C3) is released.

【0293】(3)個別描画タスク1〜M (3−a)描画管理タスクより指示されたページバッフ
ァについての描画を行う。
(3) Individual drawing tasks 1 to M (3-a) Perform drawing for the page buffer specified by the drawing management task.

【0294】(3−b)1頁分の描画が完了すると、そ
の旨、描画管理タスクへ報告する。
(3-b) When the drawing of one page is completed, the fact is reported to the drawing management task.

【0295】(4)印刷管理タスク (4−a)描画完了ページバッファについての印刷を行
うための印刷タスクを選択し、起動する。
(4) Print Management Task (4-a) Select and activate a print task for printing the drawing completed page buffer.

【0296】(5)印刷タスク1〜N (5−a)1頁分の印刷処理を行う。(5) Print tasks 1 to N (5-a) Print processing for one page.

【0297】次に本実施例における、ホスト送信コマン
ドの処理方式を図29を参照しながら、説明する。
Next, a processing method of a host transmission command in this embodiment will be described with reference to FIG.

【0298】本方式では、バッファメモリや管理テーブ
ルとして、図27のものに加え、次のものを設けた。
In this system, the following are provided as buffer memories and management tables in addition to those in FIG.

【0299】(1)フォントメモリ(29A1):明朝
体、ゴシック体等の各種フォントを格納するためのメモ
リ。ドットフォントとアウトラインフォントを区分して
格納。ドットフォントはサイズ別に区分して格納。
(1) Font memory (29A1): A memory for storing various fonts such as Mincho and Gothic fonts. Stores dot fonts and outline fonts separately. Dot fonts are stored separately by size.

【0300】(2)フォント属性メモリ(29A2):
各フォントの属性[フォント名称、ドットフォント/ア
ウトラインフォントの区別、ドットフォントのサイズ
等]、及び文字コードと各文字フォントアドレスの対応
表等からなる。
(2) Font attribute memory (29A2):
It consists of attributes of each font (font name, distinction between dot font / outline font, dot font size, etc.), and a correspondence table between character codes and each character font address.

【0301】書式メモリ(29B):書式を格納するた
めのメモリ。例えば、書式IDと書式内容(文字、図
形、イメージの混在データ)との組として表現する。
Form memory (29B): Memory for storing a form. For example, it is expressed as a set of a format ID and format contents (mixed data of characters, graphics, and images).

【0302】(3)編集コマンドバッファ管理テーブル
(29C):編集コマンドバッファ部331を管理する
ためのテーブル。各頁対応の編集コマンドバッファ状態
(描画待ち、描画中、描画完了、空き)と各頁対応の編
集コマンドバッファ読出しポインタ等からなる。
(3) Edit command buffer management table (29C): A table for managing the edit command buffer unit 331. It consists of an edit command buffer state (drawing waiting, drawing, drawing completed, empty) corresponding to each page, an edit command buffer read pointer corresponding to each page, and the like.

【0303】次に、図29を参照して、ホスト送信コマ
ンドの処理方式を説明する。
Next, the processing method of the host transmission command will be described with reference to FIG.

【0304】(1)まず、ホスト通信制御部312が、
その内部バッファに、図26に示したいずれかのコマン
ドを受信する(291−1)。
(1) First, the host communication control unit 312
One of the commands shown in FIG. 26 is received in the internal buffer (291-1).

【0305】(2)MPUにおけるホスト通信制御部割
込み処理を契機として、コマンドバッファ部33にコマ
ンドを格納する(291−2)。
(2) The command is stored in the command buffer unit 33 in response to the interrupt processing of the host communication control unit in the MPU (291-2).

【0306】(3)コマンドバッファ部33へのコマン
ド格納を契機として、各コマンドに対応するコマンドタ
スク320が起動される(291−3)。コマンドタス
ク32は、次の処理を行う。
(3) When the command is stored in the command buffer 33, the command task 320 corresponding to each command is started (291-3). The command task 32 performs the following processing.

【0307】フォントロードコマンドの場合、本コマン
ドを実行することにより、ホストから受信したフォント
データをフォントメモリ29A1とフォント属性メモリ
29A2へ設定する。
In the case of the font load command, the font data received from the host is set in the font memory 29A1 and the font attribute memory 29A2 by executing this command.

【0308】書式ロードコマンドの場合、本コマンドを
実行することにより、ホストから受信した書式データを
書式メモリ29Bへ設定する。
In the case of a format load command, the format data received from the host is set in the format memory 29B by executing this command.

【0309】用紙制御情報ロードコマンドでは、本コマ
ンドのサブコマンドにより指定された各種用紙制御用パ
ラメータを、それ用の用紙制御用パラメータテーブル
(図29には図示していない)に設定する。
In the paper control information load command, various paper control parameters specified by the subcommand of this command are set in the paper control parameter table (not shown in FIG. 29).

【0310】描画・印刷内容指定コマンドの場合、図2
8の(1−d)で説明したように、編集コマンドバッフ
ァ部331に各頁用の制御情報部および描画・印刷内容
指定コマンドを格納し、1頁分の情報が揃う度に描画管
理タスク3210へメッセージ29M1を送出する(2
92)。このコマンドタスク320による各頁分の制御
情報部3311の作成は、前述した集中型の空描画方式
に相当する。
In the case of a drawing / printing content designation command, FIG.
As described in (1-d) of FIG. 8, the control information section for each page and the drawing / printing content designation command are stored in the editing command buffer section 331, and the drawing management task 3210 is performed every time information of one page is prepared. Send message 29M1 to (2
92). The creation of the control information section 3311 for each page by the command task 320 corresponds to the centralized blank drawing method described above.

【0311】(4)編集コマンドバッファ部331に1
頁分のデータがそろったことを、前述のメッセージ29
M1の受信により知った描画管理タスク3210は、図
28内の描画管理タスクの説明欄の(2−b)から(2
−c)に示した処理を行なう。つまり、SPUとページ
バッファとを獲得し、編集コマンドバッファ管理テーブ
ル29Cの当該ページの編集コマンドバッファ状態を
“描画待ち状態”とした後、獲得したSPU(SPUx
と仮定)とページバッファについて個別描画タスクを、
前述の実施例の場合と同様にして、起動する。
(4) 1 in the edit command buffer unit 331
The message 29 indicates that the data for the page has been prepared.
The drawing management task 3210 learned from the reception of the M1 is obtained from (2-b) in the description column of the drawing management task in FIG.
Perform the processing shown in -c). That is, the SPU and the page buffer are acquired, the edit command buffer state of the relevant page in the edit command buffer management table 29C is set to “drawing wait state”, and then the acquired SPU (SPUx
) And a separate drawing task for the page buffer,
It is started in the same manner as in the above embodiment.

【0312】(5)起動された個別描画タスク(321
1,3212,3213等)は、1頁分の描画を完了す
ると、描画管理タスク3210に対し、終了報告を、前
述の実施例の場合と同様にして、行なう。
(5) The activated individual drawing task (321)
1, 3212, 3213, etc.), when drawing for one page is completed, an end report is made to the drawing management task 3210 in the same manner as in the above-described embodiment.

【0313】なお、描画管理タスク3210と個別描画
タスク(3211,3212,3213等)間の連絡方
法を、次のようにしてもよい。
[0313] The communication method between the drawing management task 3210 and the individual drawing tasks (3211, 3212, 3213, etc.) may be as follows.

【0314】MPU上に各SPUxとの連絡を行なう
ためのSPU管理タスクxを設ける。つまり、321
1,3212,3213等の各個別描画タスクに対応
し、SPU管理タスク3211A,3212A,321
3A等を設ける。そして各SPU管理タスクxが、各S
PUxとMPUの連絡をカーネル部311の一機能であ
るメッセージ送・受信機能を用いながら、仲介する。
An SPU management task x for communicating with each SPUx is provided on the MPU. That is, 321
SPU management tasks 3211A, 3212A, and 321 correspond to individual drawing tasks such as 1, 3212, and 3213.
3A or the like is provided. Then, each SPU management task x
The communication between PUx and the MPU is mediated by using the message sending / receiving function, which is one function of the kernel unit 311.

【0315】描画管理タスク3210は、前述の
(4)において、SPU上の個別描画タスクxを直接起
動せず、SPU管理タスクxを起動する。
The drawing management task 3210 starts the SPU management task x without directly starting the individual drawing task x on the SPU in the above (4).

【0316】SPU管理タスクxが、SPUxを起動
し、本SPUによる個別描画タスクxの実行を指示す
る。
The SPU management task x activates the SPUx and instructs the SPU to execute the individual drawing task x.

【0317】SPU上の個別描画タスクxは、1頁分
の描画が完了すると、その旨MPU上のSPU管理タス
クxへ、前述の実施例と同様のプロセッサ間の連絡方法
を用いて、連絡する。
When the drawing for one page is completed, the individual drawing task x on the SPU notifies the SPU management task x on the MPU to that effect using the same communication method between processors as in the above-described embodiment. .

【0318】上記連絡を受けたSPU管理タスクx
は、描画管理タスク3210へその旨、前述のメッセー
ジ送信機能を用いて、連絡する。
The SPU management task x received the above notification
Notifies the drawing management task 3210 to that effect using the above-described message transmission function.

【0319】(6)描画管理タスク3210は、個別描
画タスクxによる1頁分の描画の完了を知ると、印刷管
理タスクへ、起動要求メッセージ29M2を送信する。
(6) When the drawing management task 3210 knows that the drawing of one page has been completed by the individual drawing task x, it sends an activation request message 29M2 to the print management task.

【0320】(7)起動要求メッセージ29M2を受信
した印刷管理タスクは、描画の完了したページバッファ
を印刷するための印刷タスクを選択した後、該印刷タス
ク(3221、3222、3223等のいずれか)を起
動する。
(7) Upon receiving the activation request message 29M2, the print management task selects a print task for printing the page buffer for which drawing has been completed, and then selects the print task (3221, 3222, 3223, or the like). Start

【0321】(8)印刷タスクは、描画の完了した該ペ
ージバッファについての印刷処理を、前述の実施例の場
合と同様にして、行なう。
(8) The print task performs print processing for the page buffer for which drawing has been completed, in the same manner as in the above-described embodiment.

【0322】なお、本印刷管理タスクの機能を、前記描
画管理タスクの機能の一部分として実現することもでき
る。
Note that the function of the print management task can be realized as a part of the function of the drawing management task.

【0323】本実施例によれば、フォントや書式を予め
ロードした後、描画、印刷を進める場合についても、マ
ルチプロセッサを活用して、印刷スループットを向上す
ることができる。
According to the present embodiment, the printing throughput can be improved by utilizing the multiprocessor even when drawing and printing are performed after fonts and formats are pre-loaded.

【0324】また、本実施例では、コマンドバッファ部
33の内容を、頁毎に区分した編集コマンドバッファ部
331の内容に変換してから、従来の描画、印刷処理を
マルチプロセッサを利用して行なうことができるので、
前述の制約コマンドについても、無制約コマンドの場合
と同様に、印刷スループットを向上することができる。
In this embodiment, the contents of the command buffer unit 33 are converted into the contents of the edit command buffer unit 331 divided for each page, and the conventional drawing and printing processes are performed using a multiprocessor. So you can
Also for the above-described restricted command, the printing throughput can be improved as in the case of the unrestricted command.

【0325】以上の実施例において、マスタプロサッセ
とスレーブプロセッサには、図30に示した4項目のエ
ラー、すなわち、SPU例外、SPU無応答、MPU例
外、MPU無応答の各エラーが発生しうる。各エラー項
目について、(a)そのエラーを検出するプロセッサ
(エラー検出部)と、(b)そのエラー処理名称と、
(c)エラー処理の内容は、図に示すとおりである。な
お、エラー項目2および4のSPUからMPUへの無応
答や、MPUからSPUへの無応答は、図24、図25
で説明したプロセッサ間の正常時にある筈の連絡がない
場合のエラーである。
In the above embodiment, the master processor and the slave processor may have the four items of errors shown in FIG. 30, that is, SPU exception, SPU non-response, MPU exception, and MPU non-response errors. For each error item, (a) a processor (error detection unit) for detecting the error, (b) an error processing name,
(C) The contents of the error processing are as shown in the figure. Note that no response from the SPU to the MPU and no response from the MPU to the SPU for the error items 2 and 4 are shown in FIGS.
This is an error when there is no communication that should be present between the processors as described in the above section.

【0326】以上のエラー処理を設けることにより、マ
スタプロサッセやスレーブプロセッサにエラーが発生し
た場合でも、エラー発生プロセッサを除いた残りのプロ
セッサを用いて、印刷処理を支障なく続行することがで
きる。
By providing the above error processing, even when an error occurs in the master processor or the slave processor, the printing process can be continued without any trouble using the remaining processors except for the processor in which the error has occurred.

【0327】以上の実施例においては、以下のいずれか
の方法を用いることにより、印刷制御装置をホストコン
ピュータ10の一機能として実現することもできる。
In the above embodiment, the print control device can be realized as one function of the host computer 10 by using any of the following methods.

【0328】(1)印刷制御装置をホストコンピュータ
内の一つの印刷制御アダプタ又は印刷制御ボードとして
実現し、本アダプタ又はボードにマルチプロセッサを実
装するとともに、本マルチプロセッサ部に前述のような
機能を搭載する。
(1) The print control device is realized as one print control adapter or print control board in the host computer, a multiprocessor is mounted on the adapter or board, and the multiprocessor unit has the functions described above. Mount.

【0329】(2)印刷制御装置をホストコンピュータ
の主プロセッサによるソフトウェア処理として、実現す
る。この時、本主プロセッサを、マルチプロセッサとし
て実現し、マルチプロセッサ部に前述のような機能を搭
載する。
(2) The print control device is realized as software processing by the main processor of the host computer. At this time, the main processor is realized as a multiprocessor, and the multiprocessor unit has the functions described above.

【0330】マルチプロセッサ型印刷制御装置において
は、マスタプロセッサの制御のもとで、複数個のスレー
ブプロセッサが描画等の処理を並列処理することができ
るので、印刷制御装置における処理能力を向上させるこ
とができる。特に、空描画を採用したので、複数のプロ
セッサによる並列描画処理が容易になる。
In a multiprocessor type print control device
Since a plurality of slave processors can perform processes such as drawing in parallel under the control of the master processor, the processing capability of the print control device can be improved. In particular, since the blank drawing is adopted, the parallel drawing process by a plurality of processors becomes easy.

【0331】空描画集中処理方式(紙サイズ確定型空描
画集中処理方式、又は紙サイズ仮定型空描画集中処理方
式)を用いた印刷制御装置においては、描画管理タスク
が空描画を行ない、複数個の個別描画タスクが別プロセ
ッサ上で実描画を並列実行する。また、実描画により描
画の済んだ各ページバッファについての印刷処理を、上
記空描画とは並行的に、また実描画とは並列的に実行す
ることができる。
In a print control apparatus using the blank drawing centralized processing system (paper size fixed type blank drawing centralized processing system or paper size assumed blank drawing centralized processing system), the drawing management task performs blank drawing, The individual drawing task executes the actual drawing in parallel on another processor. In addition, the printing process for each page buffer that has been drawn by the actual drawing can be executed in parallel with the blank drawing and in parallel with the real drawing.

【0332】また空描画分散処理方式においても、複数
個の個別描画タスクが別プロセッサ上で実描画を並列実
行し、実描画により描画の済んだ各ページバッファにつ
いての印刷処理を、前記実描画とは並列的に実行でき
る。
Also in the blank drawing distributed processing method, a plurality of individual drawing tasks execute parallel drawing on different processors in parallel, and print processing for each page buffer that has been drawn by the actual drawing is performed by the actual drawing. Can be executed in parallel.

【0333】従って、空描画集中処理方式及び空描画分
散処理方式においては、実描画処理を並列実行している
ため、ページ当りの描画時間が、ページ当りのプリンタ
メカニズム印刷時間を超える場合でも、印刷スループッ
トとしてプリンタ最高性能を達成することができる。ま
た描画と印刷を前記並行処理しているため、各ページの
印刷内容が異なる複数ページからなる文書についての連
続印刷においても、プリンタ最高性能を達成することが
できる。また複数個のプロセッサとして汎用プロセッサ
を用いているため、各ページが文字又は図形のみの文書
についても描画性能をおよび印刷性能を向上させること
ができる。
Therefore, in the blank drawing centralized processing method and the blank drawing distributed processing method, since the actual drawing processing is executed in parallel, even if the drawing time per page exceeds the printer mechanism printing time per page, printing is performed. The highest performance of the printer can be achieved as the throughput. Further, since the drawing and the printing are performed in parallel, the maximum performance of the printer can be achieved even in the continuous printing of a document including a plurality of pages in which the printing content of each page is different. Further, since a general-purpose processor is used as the plurality of processors, the drawing performance and the printing performance can be improved even for a document in which each page includes only characters or graphics.

【0334】また、空描画集中処理方式及び空描画分散
処理方式のうち可変長ページバッファ制御のものを用い
る場合、紙サイズに応じて必要なサイズのページバッフ
ァだけを獲得するため、大きな紙サイズの印刷を少ない
ページバッファ総容量で実現することができる。さら
に、小さな紙サイズの印刷では多数のページバッファを
配置できるようになるため、一部描画負荷の大きいペー
ジの印刷が混在していても、平均印刷スループットを低
下させることなく、プリンタエンジン最高性能での印刷
を実現することができるという効果もある。
In the case of using the variable-length page buffer control among the blank drawing centralized processing system and the blank drawing distributed processing system, only a page buffer of a required size is obtained according to the paper size. Printing can be realized with a small total page buffer capacity. Furthermore, when printing on small paper sizes, a large number of page buffers can be allocated, so even if some pages with a large drawing load are mixed, the printer engine can perform at the highest performance without lowering the average print throughput. There is also an effect that it is possible to realize printing.

【0335】また、空描画分散処理方式においては、空
描画集中処理方式とは異なり、空描画を個別描画タスク
が行なっている。従って、前記空描画の負荷が小さい場
合、個別描画タスク数Mをスレーブプロセッサ総数K+
1とし、各個別描画タスクmを、いずれかのスレーブプ
ロセッサ及びマスタプロセッサに割り当てることで、印
刷スループットを空描画集中処理方式より向上させるこ
とができる。
In the blank drawing distributed processing method, unlike the blank drawing concentrated processing method, blank drawing is performed by an individual drawing task. Therefore, when the load of the empty drawing is small, the number M of individual drawing tasks is changed to the total number of slave processors K +
By assigning each individual drawing task m to one of the slave processors and the master processor, the printing throughput can be improved compared to the blank drawing central processing method.

【0336】また前記制約コマンドをサポートするとと
もに、該制約コマンドに対応した印刷制御処理において
は前記空描画処理において、明瞭なページ区切りの検出
のみを行ない、前記描画属性パラメータの設定処理を行
なわないで済む。そのため、制約コマンドと制約コマン
ドに対応した印刷制御方式を設けることにより、空描画
集中処理方式及び空描画分散処理方式における空描画処
理を、制約コマンドの場合、簡単化し、高速することが
できる。
In addition to supporting the constraint command, in the print control process corresponding to the constraint command, only a clear page break is detected in the blank rendering process, and the rendering attribute parameter setting process is not performed. I'm done. Therefore, by providing a constraint command and a print control method corresponding to the constraint command, the blank drawing process in the blank drawing concentrated processing method and the blank drawing distributed processing method can be simplified and accelerated in the case of the constraint command.

【0337】従って、制約コマンドに対しては、前記空
描画集中処理方式と空描画分散処理について示した効果
に加え、プロセッサ数にほぼ比例した描画性能の向上効
果も得ることができる。
Therefore, with respect to the constraint command, in addition to the effects shown in the blank drawing concentrated processing method and the blank drawing distributed processing, an effect of improving the drawing performance almost proportional to the number of processors can be obtained.

【0338】またページ内並列処理方式の印刷制御装置
においては、各1ページについての描画を複数個の領域
に分け、各領域について別プロセッサが並列実行する。
さらに、描画の済んだ各ページバッファについての印刷
処理を、上記描画とは並行的に実行する。
In a print control apparatus of the intra-page parallel processing system, drawing for each page is divided into a plurality of areas, and another processor executes each area in parallel.
Further, the printing process for each page buffer after the drawing is executed in parallel with the drawing.

【0339】従って、ページ内並列処理方式の印刷制御
装置においては、連続印刷を高速実行するだけでなく、
1ページからなる文書や、ファーストプリントも高速印
刷することができる。
Therefore, in the print control apparatus of the intra-page parallel processing system, not only high-speed continuous printing is performed, but also
Documents consisting of one page and first print can be printed at high speed.

【0340】また、フォントや書式を予めロードした
後、描画、印刷を進める方法も用いることにより、この
ような場合についてもマルチプロセッサを活用して、印
刷スループットを向上することができる。
Also, by using a method in which drawing and printing are performed after fonts and formats are loaded in advance, the printing throughput can be improved by utilizing the multiprocessor even in such a case.

【0341】コマンドバッファ部の内容を、頁毎に区分
した編集コマンドバッファ部の内容に変換してから、通
常の描画、印刷処理をマルチプロセッサを利用して行な
う方法を用いることにより、制約コマンドについても、
無制約コマンドの場合と同様の高い印刷スループットを
得る。
By converting the contents of the command buffer section into the contents of the edit command buffer section divided for each page and then performing a normal drawing and printing process using a multiprocessor, the restriction command Also,
The same high printing throughput as that of the unrestricted command is obtained.

【0342】またプロセッサエラー時の処理方式を工夫
したことにより、マスタプロサッセやスレーブプロセッ
サにエラーが発生した場合でも、エラー発生プロセッサ
を除いた残りのプロセッサを用いて、印刷処理を支障な
く続行することができる。
Further, by devising a processing method at the time of a processor error, even if an error occurs in the master processor or the slave processor, the printing process can be continued without any trouble using the remaining processors excluding the processor in which the error has occurred. it can.

【0343】[0343]

【発明の効果】本発明によれば、描画処理を並列に処理
することにより、好適な印刷処理を実現することができ
る。
According to the present invention, drawing processing is performed in parallel.
By doing so, it is possible to realize a suitable printing process
You.

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

【図1】本発明の印刷制御装置の一実施例のハードウェ
ア構成を示す図である。
FIG. 1 is a diagram illustrating a hardware configuration of a print control apparatus according to an embodiment of the present invention.

【図2】本発明の印刷制御装置のハードウェアの第1の
基本構成を示す図である。
FIG. 2 is a diagram illustrating a first basic configuration of hardware of the print control apparatus of the present invention.

【図3】本発明の印刷制御装置のハードウェアの第2の
基本構成を示す図である。
FIG. 3 is a diagram illustrating a second basic configuration of hardware of the print control apparatus of the present invention.

【図4】本発明の印刷制御装置のハードウェアの第3の
基本構成を示す図である。
FIG. 4 is a diagram illustrating a third basic configuration of hardware of the print control apparatus of the present invention.

【図5】本発明の印刷制御装置のハードウェアの第4の
基本構成を示す図である。
FIG. 5 is a diagram illustrating a fourth basic configuration of hardware of the print control apparatus of the present invention.

【図6】本発明の印刷制御装置のソフトウェア構成を示
す図である。
FIG. 6 is a diagram illustrating a software configuration of a print control apparatus according to the present invention.

【図7】本発明の第1実施例における紙サイズ確定型空
描画集中処理方式の処理手順を説明するための図であ
る。
FIG. 7 is a diagram for describing a processing procedure of a paper size fixed type blank drawing centralized processing method according to the first embodiment of the present invention.

【図8】本発明の第1実施例における紙サイズ仮定型空
描画集中処理方式の処理手順を説明するための図であ
る。
FIG. 8 is a diagram for explaining a processing procedure of a paper size assumed type blank drawing concentrated processing method according to the first embodiment of the present invention.

【図9】本発明の第1実施例におけるにおけるプリンタ
エンジンアダプタ部2の構成を説明するための図であ
る。
FIG. 9 is a diagram for explaining a configuration of the printer engine adapter unit 2 according to the first embodiment of the present invention.

【図10】本発明の第1実施例におけるにおけるプリン
タエンジンアダプタ部2の他の構成を説明するための図
である。
FIG. 10 is a diagram for explaining another configuration of the printer engine adapter unit 2 according to the first embodiment of the present invention.

【図11】本発明の第1実施例における印刷制御装置全
体の印刷手順を説明するための図である。
FIG. 11 is a diagram illustrating a printing procedure of the entire print control apparatus according to the first embodiment of the present invention.

【図12】本発明の第1実施例における印刷制御装置全
体の他の印刷手順を説明するための図である。
FIG. 12 is a diagram for explaining another printing procedure of the entire printing control apparatus according to the first embodiment of the present invention.

【図13】本発明の第1実施例における印刷制御装置全
体の更に他の印刷手順を説明するための図である。
FIG. 13 is a diagram for explaining still another printing procedure of the entire print control apparatus according to the first embodiment of the present invention.

【図14】本発明の第2実施例における空描画分散処理
方式の処理手順を説明するための図である。
FIG. 14 is a diagram illustrating a processing procedure of a blank drawing distributed processing method according to the second embodiment of the present invention.

【図15】本発明の第3実施例における制約コマンドを
説明するための図である。
FIG. 15 is a diagram illustrating a constraint command according to a third embodiment of the present invention.

【図16】本発明の第3実施例における制約付きPDL
を説明するための図である。
FIG. 16 shows a restricted PDL according to a third embodiment of the present invention.
FIG.

【図17】本発明の第3実施例における制約コマンドと
無制約コマンドのホストコンピュータと印刷制御装置に
よる処理を説明するための図である。
FIG. 17 is a diagram for describing processing of a restricted command and an unconstrained command by a host computer and a print control device according to a third embodiment of the present invention.

【図18】本発明の第3実施例におけるホストコンピュ
ータ送信コマンドの形式を説明するための図である。
FIG. 18 is a diagram for explaining a format of a host computer transmission command according to the third embodiment of the present invention.

【図19】本発明の第4実施例におけるSPU対応ロー
カルバス結合方式を説明するための図である。
FIG. 19 is a diagram for explaining an SPU-compatible local bus coupling system according to a fourth embodiment of the present invention.

【図20】本発明の第4実施例におけるマトリックスス
イッチ結合方式を説明するための図である。
FIG. 20 is a diagram for explaining a matrix switch coupling system according to a fourth embodiment of the present invention.

【図21】本発明の第4実施例における印刷結果の例を
示す図である。
FIG. 21 is a diagram illustrating an example of a print result according to the fourth embodiment of the present invention.

【図22】本発明の第4実施例におけるページの領域の
分割方法を説明するための図である。
FIG. 22 is a diagram illustrating a method for dividing a page area according to a fourth embodiment of the present invention.

【図23】本発明の第4実施例におけるページの領域の
他の分割方法を説明するための図である。
FIG. 23 is a diagram for explaining another method of dividing a page area according to the fourth embodiment of the present invention.

【図24】本発明の実施例におけるMPUとSPUとの
間の連絡方法を説明するための図である。
FIG. 24 is a diagram for explaining a communication method between the MPU and the SPU in the embodiment of the present invention.

【図25】本発明の実施例における共有メモリ上のプロ
セッサ間の連絡情報を説明する為の図である。
FIG. 25 is a diagram for explaining contact information between processors on a shared memory in the embodiment of the present invention.

【図26】本発明の第5実施例におけるホストコンピュ
ータ送信コマンドの形式を説明するための図である。
FIG. 26 is a diagram illustrating a format of a host computer transmission command according to the fifth embodiment of the present invention.

【図27】本発明の第5実施例における印刷制御装置の
ソフトウェア構成を示す図である。
FIG. 27 is a diagram illustrating a software configuration of a print control apparatus according to a fifth embodiment of the present invention.

【図28】本発明の第5実施例における、新設タスクと
描画・印刷関係タスクの機能を説明するための図であ
る。
FIG. 28 is a diagram for explaining functions of a new task and a drawing / printing-related task in the fifth embodiment of the present invention.

【図29】本発明の第5実施例における、ホスト送信コ
マンドの処理方式を説明するための図である。
FIG. 29 is a diagram illustrating a processing method of a host transmission command according to a fifth embodiment of the present invention.

【図30】本発明におけるプロセッサエラー時の処理仕
様を説明するための図である。
FIG. 30 is a diagram for describing processing specifications at the time of a processor error in the present invention.

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

10…ホストコンピュータ、11…印刷制御装置、12
…システムバス、13…ビデオバス1、100…マスタ
プロセッサモジュール、110…スレーブプロセッサモ
ジュール、120…スレーブプロセッサモジュール、1
30…システムバス調停部、1331…ビデオバス1調
停部、141…共有メモリ、171−b…プリンタエン
ジンアダプタ部2、19…操作パネル部、18…プリン
タエンジン部、101…マスタプロセッサ、103…ロ
ーカルメモリ、111…スレーブプロセッサ1、113
…ローカルメモリ、121…スレーブプロセッサK、1
23…ローカルメモリ、31…モニタ部、311…カー
ネル部、312…ホスト通信制御部、313…コマンド
バッファ制御部、314…ファイル制御部、315…ペ
ージバッファ制御部、316…プリンタ制御部、33…
コマンドバッファ部、34…ページバッファ部、32…
タスク処理部、321…描画タスク部、3210…描画
管理タスク、3211…個別描画タスク1、3212…
個別描画タスク2、3213…個別描画タスクM、32
2…印刷タスク部、3221…印刷タスク1、3222
…印刷タスク2、3223…印刷タスクN、323…そ
の他のタスクの処理部。
10 Host computer, 11 Print control device, 12
... system bus, 13 ... video bus 1, 100 ... master processor module, 110 ... slave processor module, 120 ... slave processor module, 1
Reference numeral 30: System bus arbitration unit, 1331: Video bus 1 arbitration unit, 141: Shared memory, 171-b: Printer engine adapter unit 2, 19: Operation panel unit, 18: Printer engine unit, 101: Master processor, 103: Local Memory, 111 ... Slave processor 1, 113
... local memory, 121 ... slave processor K, 1
23 local memory, 31 monitor unit, 311 kernel unit, 312 host communication control unit, 313 command buffer control unit, 314 file control unit, 315 page buffer control unit, 316 printer control unit, 33 ...
Command buffer section, 34 ... Page buffer section, 32 ...
Task processing unit 321, drawing task unit 3210 drawing management task 3211 individual drawing task 1 3212
Individual drawing task 2, 3213 ... individual drawing task M, 32
2 print task section, 3221 print task 1, 3222
... Print task 2, 3223... Print task N, 323.

フロントページの続き (56)参考文献 特開 昭60−172881(JP,A) 特開 昭60−205630(JP,A) 特開 平2−108567(JP,A) 特開 平3−178466(JP,A) 特開 平4−22648(JP,A) (58)調査した分野(Int.Cl.7,DB名) B41J 5/30 B41J 29/38 G06F 3/12 Continuation of the front page (56) References JP-A-60-178681 (JP, A) JP-A-60-205630 (JP, A) JP-A-2-108567 (JP, A) JP-A-3-178466 (JP) , A) JP-A-4-22648 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) B41J 5/30 B41J 29/38 G06F 3/12

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】印刷コマンドに基づいたプリント情報を
プリントエンジンへ出力する印刷制御方法であって、各ページの書式情報を、該ページ以前のページの書式情
報または該ページの印刷コマンドから得る ステップと、前記印刷コマンド列と前記ステップにより求めた各ペー
ジの書式情報とを 、複数のプロセッサのそれぞれにペー
ジごとに割り当てるステップと、前記印刷コマンド列と前記各ページの書式情報と に基づ
いて、ビットマップの展開を並列に行い、ページごとに
プリント情報を生成するステップと、 前記複数のプロセッサのそれぞれが、ビットマップへの
展開終了を通知するステップと、 前記展開終了通知を受けて、前記プリント情報を所定の
順序でプリントエンジンへ出力するステップと、 を有することを特徴とする印刷制御方法。
1. A print control method for outputting print information based on a print command sequence to a print engine , wherein the format information of each page is converted to the format information of a page preceding the page.
Information or a print command of the page, and the print command sequence and each page obtained by the step.
Assigning page format information to each of a plurality of processors for each page, and developing bitmaps in parallel based on the print command sequence and the format information of each page, and printing information for each page. Generating, and each of the plurality of processors, the step of notifying the end of the development to the bitmap, receiving the development end notification, outputting the print information to a print engine in a predetermined order, A print control method comprising:
【請求項2】印刷コマンド列に基づいたプリント情報を
プリントエンジンへ出力する印刷制御装置において、 第1のプロセッサおよび1つ以上の第2のプロセッサを
備え、 前記第1のプロセッサは、各ページの書式情報を、該ペ
ージ以前のページの書式情報または該ページの印刷コマ
ンドから得前記印刷コマンド列と前記各ページの書式
情報とを、ページ単位で、前記第2のプロセッサごとに
割り当てるとともに、前記第2のプロセッサから、プリ
ント情報の生成の終了通知をページ単位で受け、該ペー
ジのプリント情報を所定の順序でプリントエンジンへ出
力し、 前記第2のプロセッサは、各々、前記第1のプロセッサ
から割り当てられたページ単位の書式情報と印刷コマン
ド列とに基づき、ページ単位で並列してビットマップの
展開を行ってプリント情報を生成し、ビットマップの展
開終了を前記第1のプロセッサに通知することを特徴と
する印刷装置。
2. A print control apparatus for outputting print information based on a print command sequence to a print engine, comprising: a first processor and one or more second processors ; Format information
Format information of the page before the page or the print frame of the page
Obtained from the command, the format of each page and the print command string
Information is assigned to each of the second processors on a page-by-page basis, and a notification of completion of generation of print information is received from the second processor on a page-by-page basis, and the print information of the page is printed in a predetermined order by the print engine. and outputs to the second processor, respectively, the first based on the page unit of the format information and the assigned print command sequence from the processor, the print information by the deployment of the bitmap in parallel in units of pages And a notification of completion of bitmap development to the first processor.
【請求項3】印刷コマンド列に基づいたプリント情報を
印刷する印刷システムにおいて、 第1のプロセッサ部と、1つ以上の第2のプロセッサ部
と、プリントエンジン部とを備え、 前記第1のプロセッサ部は、各ページの書式情報を、該
ページ以前のページの書式情報または該ページの印刷コ
マンドから得前記印刷コマンド列と前記各ページの書
式情報とを、ページ単位で、前記第2のプロセッサ部ご
とに割り当てるとともに、前記第2のプロセッサ部か
ら、プリント情報の生成の終了通知をページ単位で受
け、該ページのプリント情報を所定の順序でプリントエ
ンジンへ出力し、 前記第2のプロセッサ部は、各々、前記第1のプロセッ
サ部から割り当てられたページ単位の書式情報と印刷コ
マンド列とに基づき、ページ単位で並列してビットマッ
プの展開を行ってプリント情報を生成し、ビットマップ
の展開終了を前記第1のプロセッサ部に通知し、 前記プリントエンジン部は、前記第1のプロセッサ部に
より所定の順序で出力されたプリント情報を印刷するこ
とを特徴とする印刷システム。
3. A printing system for printing print information based on a print command sequence, comprising: a first processor unit; one or more second processor units; and a print engine unit. The section stores the format information of each page
The format information of the page before the page or the print
Obtained from the command, the writing of each page and the print command string
Expression information is assigned to each of the second processor units in page units, and a notification of the end of print information generation is received in page units from the second processor unit, and the print information of the pages is arranged in a predetermined order. output in the print engine, the second processor unit, respectively, based on the first page unit format information allocated from the processor unit and the print command sequence, expanded bitmap in parallel in units of pages To generate print information and notify the first processor unit of the end of bitmap development, and the print engine unit prints the print information output in a predetermined order by the first processor unit. A printing system, characterized in that:
JP19767299A 1991-08-06 1999-07-12 PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM Expired - Fee Related JP3304073B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19767299A JP3304073B2 (en) 1991-08-06 1999-07-12 PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP19687291 1991-08-06
JP3-196872 1991-08-06
JP19767299A JP3304073B2 (en) 1991-08-06 1999-07-12 PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP18395792A Division JP3553985B2 (en) 1991-08-06 1992-07-10 Print control method and print control device

Publications (2)

Publication Number Publication Date
JP2000033745A JP2000033745A (en) 2000-02-02
JP3304073B2 true JP3304073B2 (en) 2002-07-22

Family

ID=26510035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19767299A Expired - Fee Related JP3304073B2 (en) 1991-08-06 1999-07-12 PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM

Country Status (1)

Country Link
JP (1) JP3304073B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7380267B2 (en) * 2020-01-31 2023-11-15 セイコーエプソン株式会社 Printing control device, printing method and printing control program

Also Published As

Publication number Publication date
JP2000033745A (en) 2000-02-02

Similar Documents

Publication Publication Date Title
US5774638A (en) Print controlling method and apparatus using a plurality of processors
US6567180B1 (en) Document printing method
US7280245B2 (en) Data processing apparatus adaptable to plural environments and data processing method
US7190468B2 (en) Background document rendering system and method
US6633400B1 (en) Print system
US20030002063A1 (en) Printing control apparatus and printing control method capable of accurately printing embedded font
US20040100656A1 (en) Image processing device, image processing method, program, and computer readable recording medium on which the program is recorded
JPH10340165A (en) Information processing device and method, and memory medium
JP3007103B2 (en) Printing control device
JP3553985B2 (en) Print control method and print control device
JP6195346B2 (en) Information processing apparatus, information processing method, and program
JP2009110389A (en) Data processor and data processing method
US6078399A (en) Print data receiving apparatus with packet memory allocation
JP4029391B2 (en) Printer
JP3304073B2 (en) PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM
JP3304081B2 (en) Printing control method
JP3512403B2 (en) Printing control device
JP3555748B2 (en) PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PRINT SYSTEM
JP2816184B2 (en) Printing control device
JP3526255B2 (en) Information processing apparatus, print control method, print control system, and storage medium
JP2003067149A (en) Data processor, data processing system, data processing method, tab printing method, storing medium and program
JP3745086B2 (en) Printing control apparatus and method
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP2002007092A (en) Information processor, printer, printing controller and printing system
JP2000015875A (en) Printer, print control method, and memory medium

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110510

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees