JP3474185B2 - Double-sided printing control method and printing control device - Google Patents

Double-sided printing control method and printing control device

Info

Publication number
JP3474185B2
JP3474185B2 JP2002275846A JP2002275846A JP3474185B2 JP 3474185 B2 JP3474185 B2 JP 3474185B2 JP 2002275846 A JP2002275846 A JP 2002275846A JP 2002275846 A JP2002275846 A JP 2002275846A JP 3474185 B2 JP3474185 B2 JP 3474185B2
Authority
JP
Japan
Prior art keywords
print
printing
paper
page
task
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 - Lifetime
Application number
JP2002275846A
Other languages
Japanese (ja)
Other versions
JP2003175660A (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 JP2002275846A priority Critical patent/JP3474185B2/en
Publication of JP2003175660A publication Critical patent/JP2003175660A/en
Application granted granted Critical
Publication of JP3474185B2 publication Critical patent/JP3474185B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (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 print control,
In particular, the present invention relates to a double-sided printing control method for a page printer (laser printer, LED (liquid crystal diode) printer, LCS (liquid crystal shutter) printer, etc.) with a double-sided printing mechanism.

【0002】[0002]

【従来の技術】近年、1枚の用紙の表面および裏面に別
のページ内容を印刷する両面印刷が普及している。この
ような両面印刷機構付きのページプリンタ用の制御装置
としては、特開平1−160731号公報、特開平4−
1067号公報、特開平4−7174号公報に記載のも
のが挙げられる。1枚の用紙の表面と裏面に印刷される
ページサイズは同一でなければならない。
2. Description of the Related Art In recent years, double-sided printing, in which different page contents are printed on the front surface and the back surface of one sheet, has become widespread. As a control device for such a page printer having a double-sided printing mechanism, there is disclosed in Japanese Patent Application Laid-Open No. 1-160731,
Examples thereof include those described in Japanese Patent No. 1067 and Japanese Patent Laid-Open No. 4-7174. The page sizes printed on the front and back sides of a sheet of paper must be the same.

【0003】また、特開平2−63870号公報には、
特殊な両面印刷として、用紙の表面および裏面にそれぞ
れ複数ページ分の印字情報を一括して記録するプリンタ
が開示されている。
Further, Japanese Patent Laid-Open No. 2-63870 discloses that
As a special double-sided printing, a printer that collectively records print information for a plurality of pages on the front surface and the back surface of a sheet is disclosed.

【0004】[0004]

【発明が解決しようとする課題】用紙の各面に1頁分の
データを印刷する従来の両面印刷を行う印刷制御装置に
おいては、用紙の表面と裏面で紙サイズを変えた場合、
印刷が中止されるか、またはプリンタ内に別サイズ用紙
が混入し、プリンタエラーが発生する。このため、印刷
ができなくなるという問題があった。
In a conventional print control apparatus for performing double-sided printing, in which data for one page is printed on each side of a sheet, when the sheet size is changed between the front side and the back side of the sheet,
Printing is canceled or another size of paper is mixed in the printer, causing a printer error. Therefore, there is a problem that printing cannot be performed.

【0005】また、印刷制御装置が一つの文書について
のみ文書データ(印刷コマンド列で構成され、印刷デー
タとも呼ぶ)を受信し、該文書データが表面または裏面
ページのうちいずれか一方のページで終わっているよう
な場合、該文書の最終ページが明示されていないため、
最終ページを含む1ページ以上のページがプリンタ内に
滞留し続けるという現象が発生する。この場合、次の文
書データを印刷制御装置が受信するまで、ユーザが第一
の文書全体についての両面印刷結果を入手できないとい
う問題が生じる。さらに、一定時間以上用紙がプリンタ
内に滞留すると、プリンタの機構によっては、プリンタ
エラー(紙ジャムその他)が発生するという問題もあっ
た。
Further, the print control device receives document data (which is composed of a print command string and is also referred to as print data) for only one document, and the document data ends at either one of the front page and the back page. , The last page of the document is not specified,
A phenomenon occurs in which one or more pages including the last page continue to stay in the printer. In this case, there arises a problem that the user cannot obtain the double-sided printing result for the entire first document until the print control device receives the next document data. Further, if the paper stays in the printer for a certain time or longer, a printer error (paper jam or the like) may occur depending on the mechanism of the printer.

【0006】また、前記従来技術は、中間トレイ方式の
両面印刷機構を主に対象としたものであるため、図3と
図4に示すような巡回型両面印刷機構については、十分
な考慮がなされていなかった。従って、巡回型両面印刷
機構を用いる場合、従来技術と同等かそれ以上の自由度
の両面印刷制御を行うことができないという問題があっ
た。
Further, since the above-mentioned prior art is mainly intended for the intermediate tray type double-sided printing mechanism, sufficient consideration is given to the cyclic double-sided printing mechanism as shown in FIGS. 3 and 4. Didn't. Therefore, when the cyclic double-sided printing mechanism is used, there is a problem that double-sided printing control cannot be performed with a degree of freedom equal to or higher than that of the conventional technique.

【0007】具体的には、以下に示す項目について配慮
がなされておらず、より自由度が大きくユーザにとって
使い易い両面印刷機能を提供できなかった。
Specifically, no consideration has been given to the following items, and it has not been possible to provide a double-sided printing function which is more flexible and easy for the user to use.

【0008】(1)1文書内で用紙毎に紙サイズや印刷
部数を変える機能。さらに、ページ毎に紙サイズや印刷
部数を変える機能。
(1) A function of changing the paper size and the number of copies for each paper in one document. Furthermore, the function to change the paper size and the number of copies for each page.

【0009】(2)紙サイズ、印刷部数、紙縦横方向、
給紙部、排紙部等を裏面印刷において指定した場合の処
理の仕様と手順。特に、表面と裏面とで、紙サイズ、印
刷部数、紙縦横方向等について論理的な一貫性が崩れた
場合に、印刷が停止することなく、印刷を続行するため
の仕様と手順。
(2) Paper size, number of copies, vertical and horizontal direction of paper,
Specifications and procedures of processing when the paper feed unit, paper discharge unit, etc. are specified for back side printing. In particular, specifications and procedures for continuing printing without stopping printing when the logical consistency of the paper size, number of copies, paper length and width directions, etc. is broken between the front and back sides.

【0010】(3)印刷制御装置において、(a)プリ
ンタエンジン最大滞留枚数到達、(b)文書終了、
(c)紙サイズ変更、(d)給紙部、排紙部変更、
(e)前半印刷用紙の巡回完了等を検出した場合の処理
手順。巡回型両面印刷機構を用いた両面印刷では、初め
に用紙の裏面または表面について給紙パス1と排紙パス
2についての印刷(前半印刷と呼ぶ)を行った後、用紙
の表面または裏面について給紙パス2と排紙パス1につ
いての印刷(後半印刷と呼ぶ)を行う。「前半印刷用紙
の巡回完了」とは、前半印刷が終了した用紙がプリンタ
エンジン内を巡回し終わり、次に後半印刷を給紙パス2
について行うことが可能になった状態のことをいう。
(3) In the print control device, (a) the maximum retention number of sheets in the printer engine is reached, (b) document end,
(C) Paper size change, (d) Paper feed unit, Paper discharge unit change,
(E) Processing procedure when it is detected that the first half of the printing paper has completed the circulation. In double-sided printing using the cyclic double-sided printing mechanism, first, printing is performed on the back side or front side of the paper for the paper feed path 1 and the paper ejection path 2 (referred to as first half printing), and then the front or back side of the paper is fed. Printing on the paper path 2 and the paper discharge path 1 (referred to as second-half printing) is performed. “Circulation completion of the first half printing paper” means that the paper for which the first half printing is completed has circulated in the printer engine, and then the second half printing is performed in the paper feed path 2.
It is a state in which it is possible to do.

【0011】(4)印刷部数が2以上のマルチページコ
ピーの処理手順。特に、プリンタエンジン最大滞留枚数
を越える場合についてのマルチページコピーの処理手
順。
(4) Multipage copy processing procedure in which the number of print copies is 2 or more. Especially, the processing procedure of multi-page copy when the maximum number of retained sheets in the printer engine is exceeded.

【0012】本発明の第1の目的は、上記第一の問題点
を解決し、用紙の表面と裏面で紙サイズや印刷部数の異
なる場合の印刷を可能にすることである。
A first object of the present invention is to solve the above-mentioned first problem and to enable printing when the paper size and the number of copies are different on the front surface and the back surface of the paper.

【0013】本発明の第2の目的は、上記第2の問題点
を解決し、プリンタ内に用紙が滞留し続けるという前述
の現象をなくすことにある。
A second object of the present invention is to solve the above-mentioned second problem and to eliminate the above-mentioned phenomenon that the paper continues to stay in the printer.

【0014】本発明の第3の目的は、上記第3の問題点
を解決し、巡回型両面印刷機構付きのプリンタを用いた
両面印刷において、自由度の大きな両面印刷制御の方法
と装置を提供することにある。
A third object of the present invention is to solve the above-mentioned third problem and to provide a double-sided printing control method and apparatus with a high degree of freedom in double-sided printing using a printer with a cyclic double-sided printing mechanism. To do.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するた
め、本発明による印刷制御装置は、印刷コマンド列を発
行する上位装置から受けた印刷コマンドを解釈、実行
し、巡回型両面印刷機構付きプリンタに印刷を指示する
印刷制御装置において、複数ページ分のページバッファ
と、該ページバッファに前記印刷コマンド列に応じて描
画処理を行う描画処理部と、該描画処理部により描画さ
れたページバッファの内容に基づいて印刷処理を行う印
刷処理部とを備え、前記描画処理部はページ順に前記ペ
ージバッファに対して描画処理を行い、順次描画を終え
たページについて前記印刷処理部を起動し、前記印刷処
理部は、前記描画処理部からの起動に応じて、当該ペー
ジが前半印刷ページか後半印刷ページかを判別し、前半
印刷用のページならば直ちに前半印刷を行い、後半印刷
用のページならば当該印刷処理を後半印刷待ち状態と
し、予め定めた後半印刷待ち状態の解除条件の検出に応
じて、前記後半印刷待ち状態の印刷処理を当該待ち状態
から解除し、印刷を行うようにしたものである。
In order to achieve the above object, a print control device according to the present invention interprets and executes a print command received from a higher-level device that issues a print command sequence, and a printer with a cyclic double-sided printing mechanism. In a print control apparatus for instructing printing to a plurality of pages, a page buffer for a plurality of pages, a drawing processing unit that performs drawing processing in the page buffer according to the print command sequence, and contents of the page buffer drawn by the drawing processing unit A print processing unit that performs print processing based on the above, wherein the drawing processing unit performs drawing processing on the page buffer in page order, and activates the print processing unit for pages that have been sequentially drawn, The section determines whether the page is a first half print page or a second half print page according to the activation from the drawing processing section, and if the page is a first half print page. After that, if the first half printing is performed and the page is for the second half printing, the printing process is set to the second half printing waiting state, and the printing process in the second half printing waiting state is performed in response to detection of a predetermined release condition of the second half printing waiting state. The printing is performed after releasing the waiting state.

【0016】プリンタエンジン最大滞留枚数到達を、前
記後半印刷待ち状態の解除条件として利用することがで
きる。
The arrival of the maximum retention number of sheets in the printer engine can be used as a condition for releasing the second half print waiting state.

【0017】この場合、後半印刷ページ用の印刷タスク
は、プリンタエンジン最大滞留枚数に達するまで、後半
印刷待ち状態となる。後半印刷用の印刷タスクは、プリ
ンタ内部の用紙滞留枚数の最大滞留枚数への到達を検出
すると、後半印刷待ち状態にある先頭の印刷タスクを当
該待ち状態から解除し、当該印刷タスクを待ち状態とす
る。
In this case, the print task for the second half print page is in the second half print waiting state until the maximum retention number of sheets of the printer engine is reached. When the print task for second-half printing detects that the number of retained sheets in the printer has reached the maximum number of retained sheets, the first print task in the second-half print waiting state is released from the waiting state, and the print task is placed in the waiting state. To do.

【0018】また、上位装置からの両面印刷の終わりを
示すコマンドの受信に基づく、文書終了ページの描画タ
スク部による検出を、前記後半印刷待ち状態の解除条件
として利用することもできる。
Further, the detection by the drawing task section of the document end page based on the reception of the command indicating the end of double-sided printing from the upper apparatus can be used as the release condition for the second half print waiting state.

【0019】この場合、例えば、前記描画処理部は、両
面印刷終了処理部を起動する。両面印刷終了処理部は、
後半印刷待ち状態のタスクがあるか判定し、あれば後半
印刷待ち状態のすべての印刷処理について、先頭から順
に、当該後半印刷待ち状態から解除する。
In this case, for example, the drawing processing unit activates the double-sided printing end processing unit. The duplex printing end processing unit
It is determined whether there is a task in the second half print waiting state, and if there is any task, the print processing in the second half print waiting state is released from the latter half print waiting state in order from the beginning.

【0020】また、紙サイズ、給紙部、排紙部のいずれ
かの変更の検出を、前記後半印刷待ち状態の解除条件と
して利用することもできる。
Further, the detection of the change of the paper size, the paper feed unit, or the paper ejection unit can be used as a condition for releasing the second half print waiting state.

【0021】また前半印刷用紙の巡回完了の検出を、前
記後半印刷待ち状態の解除条件に加えることもできる。
Further, the detection of the completion of the circulation of the first half printing paper can be added to the release condition of the second half printing waiting state.

【0022】この場合、例えば、上位装置からの印刷コ
マンド列に含まれる紙サイズ指定、給紙部指定、排紙部
指定に応じて、紙サイズ、給紙部、排紙部のいずれかの
変更の有無を前記描画処理部が検出し、制御テーブルに
設定する。描画処理部は、前記紙サイズ、給紙部、排紙
部のいずれかの変更の検出時に、用紙の表面ペ−ジ用の
印刷データはあるが、対応する裏面ページは印刷データ
がない白紙の用紙が検出されるか判定する。本判定がYe
sであれば、裏面用の白紙印刷を実現するため、描画処
理部は白紙の裏面ページ用の印刷タスクの起動とペ−ジ
バッファの獲得を行う。印刷処理部は、該制御テーブル
の内容を参照して、紙サイズ、給紙、排紙部のいずれか
に変更があれば、後半印刷待ち状態にあるすべての印刷
処理について先頭から順に当該後半印刷待ち状態から解
除する。その後、本ページ用の印刷処理を後半印刷待ち
状態に移す。そして、前記後半印刷待ち状態から解除さ
れた後半印刷ページ用の印刷タスクによる印刷をすべて
実行した後、紙サイズ、給紙部、排紙部等の変更のあっ
たページ以降の印刷を続行する。
In this case, for example, any one of the paper size, the paper feed unit, and the paper discharge unit is changed according to the paper size designation, the paper feed unit designation, and the paper discharge unit designation included in the print command sequence from the host device. The drawing processing unit detects the presence / absence of the value and sets it in the control table. When the drawing processing unit detects a change in any one of the paper size, the paper feeding unit, and the paper discharging unit, there is print data for the front page of the paper, but the corresponding back page is a blank page with no print data. Determine if paper is detected. This judgment is Ye
If s, the drawing processing unit activates the print task for the blank back page and acquires the page buffer in order to realize the blank print for the back side. The print processing unit refers to the contents of the control table, and if any of the paper size, paper feed, and paper discharge unit is changed, the latter half printing is sequentially performed for all the printing processes in the second half printing waiting state from the beginning. Release from the waiting state. After that, the print processing for this page is shifted to the second half print waiting state. Then, after the printing by the printing task for the second half printing page released from the second half printing waiting state is all executed, the printing is continued from the page where the paper size, the paper feed unit, the paper ejection unit and the like are changed.

【0023】前記後半印刷待ち状態の各種解除条件は、
併用することができる。
Various cancellation conditions for the second half print waiting state are as follows:
Can be used together.

【0024】本発明によれば、用紙の表面と裏面で紙サ
イズを変えても、裏面ページ用の印刷タスクの起動とペ
ージバッファの獲得を行うことにより、裏面ページを白
紙のままとし、変更後の紙サイズを表面ページとして印
刷を続行することができる。従って、用紙の表面と裏面
で紙サイズの異なる印刷を実現することができる。
According to the present invention, even if the paper size is changed between the front side and the back side of the paper, the back side page is left blank after the printing task for the back side page is activated and the page buffer is acquired. You can continue printing with the paper size as the front page. Therefore, it is possible to realize printing with different paper sizes on the front surface and the back surface of the paper.

【0025】また、上位装置から受信した両面印刷文書
の終わりを描画処理部が検出し、本検出に基づいて起動
された両面印刷終了処理部が、プリンタエンジン内の前
半印刷済みの残留用紙を排出し、本文書についての両面
印刷を終えることができる。
Further, the drawing processing unit detects the end of the double-sided printing document received from the host device, and the double-sided printing end processing unit activated based on this detection discharges the remaining half-printed residual paper in the printer engine. Then, double-sided printing of this document can be completed.

【0026】さらに、前記手順を実行することにより、
(a)一文書内または用紙毎に紙サイズを変えた場合、
(b)その変更により用紙の表面と裏面で論理的一貫性
が崩れた場合、(c)プリンタエンジン最大滞留枚数、
文書終了、紙サイズ変更、給紙部変更、排紙部変更等を
検出した場合のいずれについても、両面印刷を支障なく
続行することができる。
Further, by executing the above procedure,
(A) When the paper size is changed in one document or for each paper,
(B) If the change causes a loss of logical consistency between the front surface and the back surface of the paper, (c) the maximum retention number of the printer engine,
The double-sided printing can be continued without any trouble in the case where the document end, the paper size change, the paper feed unit change, the paper discharge unit change, or the like is detected.

【0027】その他、1枚の用紙の表面と裏面とで印刷
部数の異なる印刷データ、あるいは紙縦・横方向が異な
る印刷データに対しても、本発明により対処することが
できる。
Further, according to the present invention, it is possible to deal with print data in which the number of copies to be printed is different between the front surface and the back surface of one sheet, or print data in which the vertical and horizontal directions of the paper are different.

【0028】[0028]

【実施例】以下、本発明の実施例について詳細に説明す
る。初めに、図1と図2の構成図を用いて本発明におけ
る印刷システムの構成を説明する。
EXAMPLES Examples of the present invention will be described in detail below. First, the configuration of the printing system according to the present invention will be described with reference to the configuration diagrams of FIGS. 1 and 2.

【0029】図1に示すように、本印刷システムは、ホ
ストコンピュータ100、印刷制御装置110、及び巡
回型両面印刷機構付きのプリンタエンジン部120から
なる。
As shown in FIG. 1, this printing system comprises a host computer 100, a print control device 110, and a printer engine section 120 with a cyclic double-sided printing mechanism.

【0030】印刷制御装置110は、ホスト通信制御部
111、コマンドバッファ部112、コマンド処理部1
13、ページバッファ制御部114、ページバッファ部
115、及び及びプリンタ制御部116からなる。
The print control device 110 includes a host communication control unit 111, a command buffer unit 112, and a command processing unit 1.
13, a page buffer control unit 114, a page buffer unit 115, and a printer control unit 116.

【0031】ホストコンピュータ100が送信した印刷
コマンドはホスト通信制御部111が受信し、コマンド
バッファ部112へ格納される。以後、印刷コマンドを
単にコマンドと呼ぶこともある。コマンドバッファ部1
12内のコマンドはコマンド処理部113により処理さ
れ、その実行結果である文字、図形、イメージ等の描画
データは、ページバッファ部115へ格納される。ペー
ジバッファ部115内のデータは、プリンタ制御部11
6が読出し、プリンタエンジン部120が受信できる形
式の信号に変換して、プリンタエンジン部120へ出力
される。プリンタエンジン部120は入力された信号に
従って、用紙面上への印刷を電子写真メカニズム、ワイ
ヤドット印刷メカニズム等を用いて行う。
The print command transmitted from the host computer 100 is received by the host communication control unit 111 and stored in the command buffer unit 112. Hereinafter, the print command may be simply referred to as a command. Command buffer section 1
The commands in 12 are processed by the command processing unit 113, and the drawing data such as characters, figures, and images which are the execution results are stored in the page buffer unit 115. The data in the page buffer unit 115 is stored in the printer control unit 11
6 is read, converted into a signal of a format that can be received by the printer engine unit 120, and output to the printer engine unit 120. The printer engine unit 120 prints on the paper surface using an electrophotographic mechanism, a wire dot printing mechanism, or the like according to the input signal.

【0032】本実施例では両面印刷制御を行うため、ホ
ストコンピュータ100内に、片面・両面印刷指定コマ
ンド発行部101、両面印刷終わり指定コマンド発行部
102、給紙部指定コマンド発行部103、排紙部指定
コマンド発行部104、紙サイズ指定コマンド発行部1
05、紙縦横方向指定コマンド発行部106、印刷部数
指定コマンド発行部107を設けた。また、印刷制御装
置110との通信を行うための通信制御部108も有す
る。101から107の各部は、印刷制御装置110に
対して片面印刷/両面印刷、両面印刷の終わり、給紙
部、排紙部、紙サイズ、紙縦横方向、印刷部数を指定す
るために、各々片面・両面印刷指定コマンド、両面印刷
終わり指定コマンド、給紙部指定コマンド、排紙部指定
コマンド、紙サイズ指定コマンド、紙縦横方向指定コマ
ンド、印刷部数指定コマンドを発行する。
In the present embodiment, since double-sided printing control is performed, the single-sided / double-sided printing designation command issuing unit 101, the double-sided printing end designation command issuing unit 102, the paper feeding unit designation command issuing unit 103, and the paper ejection are performed in the host computer 100. Copy designation command issuing unit 104, paper size designation command issuing unit 1
05, a paper vertical / horizontal direction designation command issuing unit 106, and a print copy number designation command issuing unit 107 are provided. It also has a communication control unit 108 for communicating with the print control apparatus 110. Each of the units 101 to 107 specifies one-sided printing / two-sided printing, end of two-sided printing, paper feed unit, paper ejection unit, paper size, paper length / width direction, and number of prints to the print control apparatus 110. -Issue a double-sided printing designation command, a double-sided printing end designation command, a paper feed portion designation command, a paper discharge portion designation command, a paper size designation command, a paper vertical / horizontal direction designation command, and a print copy number designation command.

【0033】コマンド処理部113は、描画処理部11
31、印刷処理部1132、両面印刷終了処理部113
3を有する。また、ページバッファ制御部114はペー
ジバッファ管理テーブル部1141を有し、プリンタ制
御部116はプリンタ管理テーブル部1161を有す
る。これらのテーブルの詳細については後述する。
The command processing unit 113 is a drawing processing unit 11.
31, print processing unit 1132, double-sided printing end processing unit 113
Have three. The page buffer control unit 114 has a page buffer management table unit 1141 and the printer control unit 116 has a printer management table unit 1161. Details of these tables will be described later.

【0034】本実施例では、印刷制御装置110内のコ
マンド処理部113、ページバッファ制御部114、及
びプリンタ制御部116に、両面印刷制御のための仕組
みを設けた。まず、図2に示すように、コマンド処理部
113内の描画処理部1131(タスクとして実現する
ため描画タスク部とも呼ぶ)に、コマンド解釈部20
1、片面・両面印刷指定コマンド処理部202、両面印
刷終了指定コマンド処理部203、給紙部指定コマンド
処理部204、排紙部指定コマンド処理部205、紙サ
イズ指定コマンド処理部206、紙縦横方向指定コマン
ド処理部207、印刷部数指定コマンド処理部208、
改頁処理部209を設けた。201から209の各部の
処理手順は、図26から図34の通りであり、後で詳し
く説明する。
In this embodiment, the command processing unit 113, the page buffer control unit 114, and the printer control unit 116 in the print control apparatus 110 are provided with a mechanism for double-sided printing control. First, as shown in FIG. 2, the command interpreting unit 20 is provided in the drawing processing unit 1131 (also called a drawing task unit to be realized as a task) in the command processing unit 113.
1, single-sided / double-sided printing designation command processing unit 202, double-sided printing end designation command processing unit 203, paper feed unit designation command processing unit 204, paper ejection unit designation command processing unit 205, paper size designation command processing unit 206, paper length and width direction A designated command processing unit 207, a print number designation command processing unit 208,
A page break processing unit 209 is provided. The processing procedure of each unit 201 to 209 is as shown in FIGS. 26 to 34, which will be described in detail later.

【0035】また、コマンド処理部113内の印刷処理
部1132(後述するようにタスクとして実現するため
印刷タスク部とも呼ぶ)に、両面印刷指定判定部21
0、表面印刷指定判定部220、表面印刷用前処理部1
(230)、表面印刷用前処理部2(240)、裏面印
刷用前処理部250、印刷マクロ発行部260、プリン
タエンジン滞留枚数更新部270、両面印刷紙なしエラ
ー処理部280、マルチページコピー用後処理部290
を設けた。ここで、表面印刷用前処理部1(230)
は、両面印刷排出フラグ判定部231、プリンタエンジ
ン滞留枚数判定部232、表面印刷待ち/解除部23
3、両面印刷排紙フラグONに伴う表面可能タスク待ち
解除部234、プリンタエンジン滞留枚数到達に伴う表
面印刷可能タスク待ち解除部235、マルチページコピ
ー用印刷タスク間同期制御部236とで構成した。ま
た、表面印刷用前処理部2(240)は、プリンタエン
ジン滞留枚数判定部241、マルチページコピー用印刷
タスク間同期制御部242とで構成した。また裏面印刷
用前処理部(250)は、プリンタエンジン滞留枚数判
定部251、両面印刷排紙フラグONに伴う表面可能タ
スク待ち解除部252、プリンタエンジン最大滞留枚数
到達に伴う表面印刷可能タスク待ち解除部253とで構
成した。印刷タスク部1132を構成する各部の処理手
順は、図36から図45の通りであり、後で詳しく説明
する。
A double-sided printing designation determining unit 21 is provided in a print processing unit 1132 (also referred to as a print task unit to be realized as a task as described later) in the command processing unit 113.
0, front side printing designation determining section 220, front side printing pre-processing section 1
(230), front-side printing pre-processing unit 2 (240), back-side printing pre-processing unit 250, print macro issuing unit 260, printer engine retention sheet number updating unit 270, double-sided printing paper no error processing unit 280, for multi-page copying Post-processing unit 290
Was set up. Here, the front surface printing pretreatment unit 1 (230)
Is a double-sided printing discharge flag determination unit 231, a printer engine retention sheet number determination unit 232, a front side printing waiting / cancellation unit 23.
3, a front-side printable task wait canceling unit 234 when the double-sided print ejection flag is turned on, a front-side printable task wait canceling unit 235 when the number of stays in the printer engine reaches, and a multi-page copy print task synchronization control unit 236. The front-side printing preprocessing unit 2 (240) includes a printer engine retention sheet number determination unit 241 and a multi-page copy print task synchronization control unit 242. The back side printing pre-processing unit (250) includes a printer engine staying sheet number determination unit 251, a front side printable task waiting release unit 252 when the double-sided print ejection flag is turned ON, and a front face printable task wait release when the printer engine maximum staying sheet number is reached. And part 253. The processing procedure of each unit constituting the print task unit 1132 is as shown in FIGS. 36 to 45, which will be described in detail later.

【0036】また、コマンド処理部113内に両面印刷
終了処理部1133(タスクとして実現するため両面印
刷終了タスク部とも呼ぶ)を設け、前述の両面印刷終了
コマンド処理部が本タスクを起動するようにし、本タス
クが両面印刷の終了処理を実行することにより、従来技
術における第2の問題点を解決できるようにした。両面
印刷終了処理部113の処理手順は、図35の通りであ
り、後述する。
Further, a double-sided printing end processing section 1133 (also called a double-sided printing end task section to realize as a task) is provided in the command processing section 113 so that the above-mentioned double-sided printing end command processing section activates this task. The second problem in the prior art can be solved by executing the double-sided printing ending process by this task. The processing procedure of the double-sided printing end processing unit 113 is as shown in FIG. 35 and will be described later.

【0037】本印刷制御装置110では、両面印刷制御
を、次の2項目を達成できるように、実現した。
In the print control apparatus 110, double-sided printing control is realized so that the following two items can be achieved.

【0038】(1)片面印刷制御方式からのプログラム
変更を極力減らすため、コマンド受信と描画処理は片面
印刷制御装置と極力同一とし、両面印刷制御は主に印刷
処理にて行う。
(1) In order to reduce the program change from the single-sided printing control method as much as possible, the command reception and the drawing processing are made as identical as possible to the single-sided printing control device, and the double-sided printing control is mainly performed by the printing processing.

【0039】(2)後半印刷用の描画が遅れた場合、そ
のページ用の後半印刷を待たせるための機構がプリンタ
エンジン部120になくても対応可能な方式とする。
(2) If the drawing for the latter half printing is delayed, the printer engine unit 120 does not have a mechanism for holding the latter half printing for the page.

【0040】ホストコンピュータ100が印刷制御装置
110に送信する印刷コマンド列の例を、図5を用いて
説明する。
An example of a print command sequence transmitted from the host computer 100 to the print control device 110 will be described with reference to FIG.

【0041】本印刷コマンド列は、文書先頭部500、
第1ページ部510、第2ページ部520、第3ページ
部530、…、文書終了部540からなる。文書先頭部
500は属性パラメータを初期化するためのリセットコ
マンド501、及び片面/両面印刷のいずれかを指定す
るための片面・両面印刷指定コマンド等からなる。
The main print command sequence includes a document head portion 500,
A first page section 510, a second page section 520, a third page section 530, ..., A document end section 540. The document head portion 500 includes a reset command 501 for initializing attribute parameters, a single-sided / double-sided printing designation command for designating either one-sided / two-sided printing.

【0042】第1ページ部510と第2ページ部520
と第3ページ部530は、第1ページから第3ページの
描画、印刷内容を指定するための各種属性パラメータの
設定コマンド(511〜514、516、517、52
4、52A)と、各種描画コマンドの列(515、51
8、525、52B、535、538)とページ区切り
を示すための改頁コマンド(519、529、539)
とからなる。
First page section 510 and second page section 520
The third page unit 530 uses various attribute parameter setting commands (511 to 514, 516, 517, 52) for designating the drawing and printing contents of the first to third pages.
4, 52A) and various drawing command sequences (515, 51A).
8, 525, 52B, 535, 538) and a page break command (519, 529, 539) for indicating a page break.
Consists of.

【0043】文書終了部540には、両面印刷の場合少
なくとも両面印刷終了指定コマンド541を配置し、本
文書の終りを明示する。
In the document end portion 540, at least a double-sided print end designation command 541 is arranged in the case of double-sided printing to clearly indicate the end of this document.

【0044】本例では、前述の属性パラメータの設定コ
マンドとして紙サイズ指定コマンド511、印刷部数指
定コマンド512、文字種類指定コマンド513、文字
サイズ指定コマンド(514と524)、線幅指定コマ
ンド516、線種指定コマンド517と塗り潰しパター
ン指定コマンド52Aを示したが、描画や印刷に関する
任意の属性パラメータを、各種属性パラメータの設定コ
マンドを用いて設定することができる。
In this example, as the above-mentioned attribute parameter setting commands, a paper size designation command 511, a print number designation command 512, a character type designation command 513, a character size designation command (514 and 524), a line width designation command 516, and a line. Although the seed designation command 517 and the fill pattern designation command 52A are shown, arbitrary attribute parameters relating to drawing and printing can be set using various attribute parameter setting commands.

【0045】また本例では描画コマンドとして、文字列
の描画を指示するための文字コード列(515と525
と535)と、円弧描画コマンド(518と538)
と、多角形塗り潰しコマンド52Bを示したが、任意の
文字、図形、イメージの描画を本描画コマンドを用いて
指定することができる。また、ページ区切りを明示的に
示す改頁コマンド(519、529、539)を各ペー
ジ区切りに配置したが、本改頁コマンドの代わりに、ペ
ージ区切りを暗黙的に示すようにしてもよい。暗黙的な
ページ区切りの例としては、紙サイズ指定コマンド、印
刷部数指定コマンド、印字方向(ポートレート/ランド
スケープ)指定コマンド、自動改頁等がある。自動改頁
とは、ページ長を越える行についての文字描画を指定し
た場合に、印刷制御装置が(a)ページ長の範囲での1
ページ分の印刷と(b)次ページへのページ長を越えた
分の印刷を行うための機構である。
Further, in this example, as the drawing command, a character code string (515 and 525) for instructing the drawing of the character string.
And 535) and arc drawing commands (518 and 538)
Although the polygon filling command 52B is shown, any drawing of characters, figures, and images can be designated by using this drawing command. Further, the page break command (519, 529, 539) explicitly indicating the page break is arranged at each page break, but the page break may be implicitly shown instead of this page break command. Examples of implicit page breaks include a paper size designation command, a print number designation command, a printing direction (portrait / landscape) designation command, and automatic page breaks. The automatic page break means that when the character drawing is specified for a line exceeding the page length, the print control device (a) sets the page length within the range of 1
This is a mechanism for performing printing for pages and (b) printing for the next page in excess of the page length.

【0046】図6と図7に両面印刷に関する各種印刷条
件指定用コマンドの仕様を示す。図では、コマンド名称
と、そのコマンドの引数と、そのコマンドの機能と、引
数の指定エラーの判定条件を示すデータエラー判定条件
と、引数の初期値とを示している。コマンドには、片面
・両面印刷指定、紙サイズ指定、印刷部数指定、紙縦横
方向指定、印字方向指定の各コマンド(以上、図6)
と、給紙部指定、排紙部指定、両面印刷終了指定の各コ
マンド(以上、図7)がある。
6 and 7 show the specifications of various printing condition designating commands relating to double-sided printing. In the figure, the command name, the argument of the command, the function of the command, the data error determination condition indicating the determination error of the argument specification error, and the initial value of the argument are shown. The commands include single-sided / double-sided print designation, paper size designation, print copy number designation, paper length / width direction designation, and print direction designation commands (above, FIG. 6).
And the commands for specifying the paper feed unit, the paper discharge unit, and the end of double-sided printing (above, FIG. 7).

【0047】図8に、用紙表面と用紙裏面への各種印刷
条件指定時の処理仕様を示す。すなわち、給紙部指定、
排紙部指定、紙サイズ指定、印刷部数指定、紙縦横方向
指定の各指定について、表面の場合と裏面の場合の仕様
を示している。図示のように、本実施例では、表面およ
び裏面の双方にすべての指定を許可している。但し、表
面の指定内容と矛盾する指定が裏面に指定されている場
合には、その用紙の裏面を白紙のまま排出し、裏面ペー
ジを次の用紙の表面ページとして印刷する等の処理を行
う。
FIG. 8 shows processing specifications when various printing conditions are specified for the front surface and the back surface of the paper. That is, specify the paper source,
The specifications for the front side and the back side of each of the designations of the paper discharge unit, the paper size, the number of print copies, and the paper length and width direction are shown. As shown, in this embodiment, all designations are permitted on both the front surface and the back surface. However, when the back surface is specified to be inconsistent with the front surface specification, the back surface of the sheet is discharged as a blank sheet and the back page is printed as the front page of the next sheet.

【0048】次に図9を用いて、印刷制御装置110の
ハードウェア構成を説明する。
Next, the hardware configuration of the print control apparatus 110 will be described with reference to FIG.

【0049】印刷制御装置110は、CPUバス91、
ホスト通信コントローラ92、CPU93、ROM9
4、ユーザ操作パネル95、サブCPU96、プリンタ
メモリコントローラ97及びRAM98からなる。
The print control device 110 includes a CPU bus 91,
Host communication controller 92, CPU 93, ROM 9
4, a user operation panel 95, a sub CPU 96, a printer memory controller 97, and a RAM 98.

【0050】CPUバス91は、CPU93の各種入出
力信号(アドレス信号、データ信号、その他の制御信
号)からなる。
The CPU bus 91 is composed of various input / output signals (address signal, data signal, other control signals) of the CPU 93.

【0051】CPU93は本CPUバス91を介して、
92、96、97等の周辺コントローラや94、98等
のメモリと入出力を行う。
The CPU 93 uses the CPU bus 91 to
Input / output is performed with peripheral controllers such as 92, 96 and 97 and memories such as 94 and 98.

【0052】ホスト通信コントローラ92は、印刷制御
装置110がホストコンピュータ100と、ホストI/
Fと呼ぶI/Fに従って通信を行うためのコントローラ
である。本通信(ホストI/F)の物理I/Fとしては
SCSI(Small Computer Syste
mInterface)、RS232C、RS422、
GP−IB(General Purpose Int
erface Bus)、セントロニクス、HDLC
(High−Level Data LinkCont
rol),Ethernet(登録商標)等を用い、使
用する物理I/Fの種類に応じて本コントローラ92の
ハードウェア論理として適切なものを実装する。
In the host communication controller 92, the print controller 110 is connected to the host computer 100 and the host I / O.
A controller for performing communication according to an I / F called F. As a physical I / F of this communication (host I / F), SCSI (Small Computer System) is used.
mInterface), RS232C, RS422,
GP-IB (General Purpose Int)
erface Bus), Centronics, HDLC
(High-Level Data LinkCont
), Ethernet (registered trademark), or the like, and an appropriate hardware logic of the controller 92 is mounted according to the type of physical I / F used.

【0053】ROM94には印刷制御装置110の初期
化立上げプログラム(IPL(Initial Pro
gram Loading)プログラムとも呼ぶ)と文
字フォントの一部を格納する。
The ROM 94 includes an initialization start-up program (IPL (Initial Pro) for the print controller 110.
(Gram Loading) program is also called) and a part of character font is stored.

【0054】RAM98には(a)本印刷制御装置11
0の制御プログラム、(b)文字フォントの残り、
(c)コマンドバッファ部メモリ、(d)ページバッフ
ァ部メモリ、及び(e)ページバッファ管理テーブル、
プリンタ管理テーブル、タスク管理テーブル等の各種管
理テーブル、その他を格納する。これらのうち(a)と
(b)は前記IPLプログラムにてホストコンピュータ
100からダウンロードすることにより、格納する。ま
た(a)と(b)はRAM98に格納せず、ROM94
に予め格納しておいてもよい。また逆にROM94には
文字フォントを一切格納せず、すべてRAM98に格納
してもよい。
The RAM 98 has (a) the print control device 11
0 control program, (b) remaining character font,
(C) command buffer memory, (d) page buffer memory, and (e) page buffer management table,
It stores various management tables such as a printer management table and a task management table, and others. Of these, (a) and (b) are stored by being downloaded from the host computer 100 by the IPL program. Further, (a) and (b) are not stored in the RAM 98, but the ROM 94
It may be stored in advance. On the contrary, the ROM 94 may store all the character fonts in the RAM 98 without storing any character fonts.

【0055】サブCPU96は、CPU93の指示に従
い、ユーザ操作パネル95やプリンタエンジン部120
との間で入出力処理を行う。
The sub CPU 96 follows the user's operation panel 95 and the printer engine unit 120 according to the instruction of the CPU 93.
I / O processing is performed between and.

【0056】プリンタメモリコントローラ97はRAM
98の内容(通常ページバッファ部の内容)のプリンタ
エンジン部120への読出し処理、及びRAM98がD
RAMの場合、DRAMメモリの制御(リフレッシュ
等)を行う。本読出し処理は内蔵のDMA(Direc
t Memory Access)機能を用いて行う。
紙面一ペ−ジ分のデ−タのペ−ジバッファ部からの読出
しが終了した時点で、プリンタメモリコントローラ97
がCPU93に対し割込み信号(CPUバス91内の信
号の一部)をアサートし、CPUによるページバッファ
読出し終了割込み処理を起動する。
The printer memory controller 97 is a RAM
The process of reading the contents of 98 (the contents of the normal page buffer unit) into the printer engine unit 120, and the RAM 98
In the case of RAM, the DRAM memory is controlled (refreshing, etc.). This read processing is performed by the built-in DMA (Direct
t Memory Access) function.
When the reading of the data for one page from the page buffer is completed, the printer memory controller 97
Asserts an interrupt signal (a part of the signal in the CPU bus 91) to the CPU 93 to activate the page buffer read end interrupt process by the CPU.

【0057】印刷制御装置110は、プリンタエンジン
部120との間で、サブCPU96が信号線902−1
を介し、プリンタメモリコントローラ97が信号線90
2−2を介して、プリンタエンジンI/Fと呼ぶI/F
に従って、通信を行う。
In the print control device 110, the sub CPU 96 is connected to the signal line 902-1 with the printer engine section 120.
The printer memory controller 97 through the signal line 90
I / F called a printer engine I / F via 2-2
To communicate according to.

【0058】プリンタメモリコントローラ97は、信号
線902−2を用いて、プリンタエンジン部120がシ
ャトルプリンタの場合には、ページバッファ部の内容を
形式変換した後、プリンタエンジン部120へ出力す
る。またプリンタエンジン部120がレーザプリンタの
場合には、プリンタメモリコントローラ97は、信号線
902−2を用いて、ページバッファ部の内容をパラレ
ルシリアル変換した後、プリンタエンジン部120へ出
力する。
When the printer engine unit 120 is a shuttle printer, the printer memory controller 97 uses the signal line 902-2 to format-convert the contents of the page buffer unit and then output the contents to the printer engine unit 120. When the printer engine unit 120 is a laser printer, the printer memory controller 97 uses the signal line 902-2 to convert the contents of the page buffer unit from parallel to serial, and then outputs the contents to the printer engine unit 120.

【0059】信号線902−1は、プリンタエンジン部
120がシャトルプリンタの場合には、プリンタエンジ
ン部120からページ先頭位置を示すための信号等を受
信するために用いる。またプリンタエンジン部120が
レーザプリンタの場合には、本信号線902−1は、サ
ブCPU96がプリンタエンジン部120へ問合せや指
示のためのコマンドを送信し、プリンタエンジン部12
0から応答ステータスを受信するためのコマンド、ステ
ータス送受信信号及び、前記ページバッファ部の内容の
プリンタエンジン部120への読出し手順を制御するた
めの制御信号を搬送するために用いる。
When the printer engine unit 120 is a shuttle printer, the signal line 902-1 is used to receive a signal or the like for indicating the page head position from the printer engine unit 120. If the printer engine unit 120 is a laser printer, the sub-CPU 96 sends a command for inquiries or instructions to the printer engine unit 120 via the signal line 902-1.
It is used to carry a command for receiving a response status from 0, a status transmission / reception signal, and a control signal for controlling the procedure for reading the contents of the page buffer unit to the printer engine unit 120.

【0060】次に図10を用いて印刷制御装置110の
ソフトウェア構成を説明する。本図に示すように、ソフ
トウェアは、モニタ部1010とタスク処理部1020
とから構成される。モニタ部1010は、カ−ネル部1
011、ホスト通信制御部1012、コマンドバッファ
制御部1013、ファイル制御部1014、ペ−ジバッ
ファ制御部1015、プリンタ制御部1016とコマン
ドバッファ部112とペ−ジバッファ部115とから構
成される。
Next, the software configuration of the print control apparatus 110 will be described with reference to FIG. As shown in the figure, the software includes a monitor unit 1010 and a task processing unit 1020.
Composed of and. The monitor unit 1010 is the kernel unit 1.
011, a host communication control unit 1012, a command buffer control unit 1013, a file control unit 1014, a page buffer control unit 1015, a printer control unit 1016, a command buffer unit 112, and a page buffer unit 115.

【0061】カ−ネル部1011は、割込み制御プログ
ラムのメインル−チン、ス−パバイザコ−ル(SVCと
略す)制御のメインル−チン、タスク制御部、及びタイ
マ制御部とからなる。
The kernel unit 1011 comprises 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.

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

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

【0064】本コマンドバッファ制御部1013をホス
ト通信制御部1012が用いて、印刷コマンドをコマン
ドバッファ部112へ格納する。また同じくコマンドバ
ッファ制御部1013を用いて、後述するタスク処理部
1020内の描画タスク部1021がコマンドバッファ
部112の内容を読み出し、処理する。
The host communication control unit 1012 uses the command buffer control unit 1013 to store the print command in the command buffer unit 112. Similarly, using the command buffer control unit 1013, the drawing task unit 1021 in the task processing unit 1020 described later reads out the contents of the command buffer unit 112 and processes them.

【0065】ファイル制御部1014は印刷制御装置内
の二次記憶装置に属する各ファイルを制御するための部
分であり、各ファイル内デ−タのアクセスのための制御
や、ファイルを構成するファイル実体(複数個のブロッ
クの集合)の管理等を行う。タスク処理部1020内の
各タスクは本ファイル制御部1014内のファイル制御
用の各種SVC機能を用いて、ファイルの制御を行う。
なお本ファイル制御部1014がなくても、両面印刷制
御を支障なく行うことができるが、本ファイル制御部1
014によりシステムの性能と使い勝手を向上させるこ
とができる。
The file control unit 1014 is a part for controlling each file belonging to the secondary storage device in the print control device, and is for controlling access to data in each file and the file entity forming the file. It manages (a set of a plurality of blocks). Each task in the task processing unit 1020 controls a file by using various SVC functions for file control in the file control unit 1014.
Even if the file control unit 1014 is not provided, double-sided printing control can be performed without any trouble.
014 can improve system performance and usability.

【0066】ペ−ジバッファ制御部1015は複数ペ−
ジ構成のペ−ジバッファ部115についての空き管理
(獲得、解放の管理)を行う。本空き管理を用いること
で、ペ−ジバッファへの描画書き込みが必要になった時
点で、紙サイズに対応して定まる必要なだけのペ−ジバ
ッファを獲得し、描画内容の読み出しが終った時点で該
ペ−ジバッファを解放することができる。
The page buffer controller 1015 has a plurality of pages.
Space management (acquisition and release management) is performed for the page buffer unit 115 having a page configuration. By using this free space management, when drawing and writing to the page buffer becomes necessary, as many page buffers as necessary that are determined according to the paper size are acquired, and when the drawing contents are read out. The page buffer can be released.

【0067】プリンタ制御部1016はプリンタエンジ
ン部120とプリンタエンジンアダプタ(サブCPU9
6やプリンタメモリコントローラ97)の空き管理や、
プリンタエンジン部120との入出力の制御を行う。
The printer control unit 1016 includes a printer engine unit 120 and a printer engine adapter (sub CPU 9).
6 and printer memory controller 97) space management,
It controls input / output with the printer engine unit 120.

【0068】タスク処理部1020は、描画タスク部1
021と印刷タスク部1022とその他のタスクの処理
部1023とからなる。印刷制御装置110に実装した
タスクの一覧を図11に示す。本図には、タスク番号、
タスクの名称、システム(S)/ユーザ(U)タスクの
別、タスクの機能、優先度等を、各タスク毎に示した。
The task processing unit 1020 is the drawing task unit 1
021, a print task unit 1022, and a processing unit 1023 for other tasks. FIG. 11 shows a list of tasks implemented in the print control apparatus 110. In the figure, the task number,
The task name, system (S) / user (U) task classification, task function, priority, etc. are shown for each task.

【0069】印刷タスク部1022(図10)は、印刷
タスク1(10221)、印刷タスク2(1022
2)、…、印刷タスクN(10223)とからなる。各
印刷タスクnは、描画タスクがペ−ジバッファ部115
への描画を終了した時点で、該描画タスクにより起動さ
れる。起動された各印刷タスクnは、描画の終了した各
ペ−ジバッファ(紙面1ペ−ジ分)についての印刷処理
を実行する。本印刷処理は、プリンタ制御部1016に
対し、プリンタ制御用の各種SVC命令を発行すること
により実行する。印刷タスクは別々のペ−ジについて並
行処理するため、複数個用意する。用意する印刷タスク
の合計数は、本装置内で同時に並行処理しうる印刷タス
ク数の最大値とした。本実施例では、任意の時点で、プ
リンタエンジン部120の給紙部から排紙部までの間に
存在しうる最大紙数分の印刷タスクを用意した。この数
はプリンタエンジン部120の仕様によって増減する。
The print task section 1022 (FIG. 10) has print task 1 (10221) and print task 2 (1022).
2), ..., Print task N (10223). For each print task n, the drawing task is a page buffer unit 115.
When the drawing is completed, the drawing task is activated. Each activated print task n executes the print processing for each page buffer (for one page on the paper surface) for which drawing has been completed. This print processing is executed by issuing various SVC commands for printer control to the printer control unit 1016. A plurality of print tasks are prepared for parallel processing of different pages. The total number of print tasks to be prepared is the maximum value of the number of print tasks that can be concurrently processed in the apparatus. In this embodiment, the print tasks corresponding to the maximum number of sheets that can exist between the paper feed unit and the paper discharge unit of the printer engine unit 120 are prepared at any time. This number increases or decreases depending on the specifications of the printer engine unit 120.

【0070】本ソフトウェア構成における各部の処理内
容は、両面印刷制御用に拡張した点以外、本発明の出願
人が先に出願した特願平1−164637号や特願平1
−282747号の場合と同様である。つまり、図11
に示した複数個のタスクを並行処理し、印刷スループッ
トを向上させることができる。
With respect to the processing contents of each part in this software configuration, apart from the fact that it is expanded for double-sided printing control, Japanese Patent Application No. 1-164637 and Japanese Patent Application No. 1-164637 previously filed by the applicant of the present invention.
It is similar to the case of -282747. That is, FIG.
It is possible to improve the print throughput by executing the plurality of tasks shown in (1) in parallel.

【0071】なおコマンドバッファ部112とペ−ジバ
ッファ部115は、モニタ部1010にもタスク処理部
1020にも属さないメモリ部分としてとらえてもよ
い。
The command buffer section 112 and the page buffer section 115 may be regarded as a memory section which does not belong to the monitor section 1010 or the task processing section 1020.

【0072】図10のソフトウェア構成に示した各部分
は、図9のハ−ドウェア構成図内の各部分に次のように
対応づけられる。
The respective parts shown in the software structure of FIG. 10 are associated with the respective parts in the hardware structure diagram of FIG. 9 as follows.

【0073】(1)モニタ部1010(コマンドバッフ
ァ部112とペ−ジバッファ部115を除く)のプログ
ラムは、CPU93用のROM94叉はRAM98に格
納し、CPU93にて実行する。
(1) The program of the monitor unit 1010 (excluding the command buffer unit 112 and the page buffer unit 115) is stored in the ROM 94 or the RAM 98 for the CPU 93 and executed by the CPU 93.

【0074】(2)コマンドバッファ部112とペ−ジ
バッファ部115はRAM98に配置する。
(2) The command buffer section 112 and the page buffer section 115 are arranged in the RAM 98.

【0075】(3)タスク処理部1020内の各処理
部、つまり描画タスク部1021、印刷タスク1(10
221)、印刷タスク2(10222)、…、印刷タス
クN(10223)、及びその他のタスク処理部102
3用のプログラムは、RAM98叉はROM94に格納
し、CPU93にて実行する。
(3) Each processing unit in the task processing unit 1020, that is, the drawing task unit 1021, the print task 1 (10
221), print task 2 (10222), ..., Print task N (10223), and other task processing unit 102.
The program for 3 is stored in the RAM 98 or the ROM 94 and is executed by the CPU 93.

【0076】また図1と図2の構成図内の各部分は、図
10のソフトウェア構成の各部分に、次のように対応づ
けられる。
Each part in the configuration diagrams of FIGS. 1 and 2 is associated with each part of the software configuration of FIG. 10 as follows.

【0077】(1)図1のホスト通信制御部111は図
10ホスト通信制御部1012に対応。
(1) The host communication controller 111 of FIG. 1 corresponds to the host communication controller 1012 of FIG.

【0078】(2)図1のコマンドバッファ部112と
ページバッファ部115は、図10の同一名称部分に対
応。
(2) The command buffer section 112 and the page buffer section 115 in FIG. 1 correspond to the same name section in FIG.

【0079】(3)図1のコマンド処理部113は図1
0のタスク処理部1020内のコマンド処理に関係する
タスク部に対応。
(3) The command processing unit 113 shown in FIG.
Corresponding to the task section related to command processing in the task processing section 1020 of 0.

【0080】(4)図1と図2の描画処理部(描画タス
ク部)1131は、図10の描画タスク部1021に対
応。
(4) The drawing processing unit (drawing task unit) 1131 in FIGS. 1 and 2 corresponds to the drawing task unit 1021 in FIG.

【0081】(5)図1と図2の印刷処理部(印刷タス
ク部)1132は、図10の印刷タスク部1022に対
応。
(5) The print processing unit (print task unit) 1132 in FIGS. 1 and 2 corresponds to the print task unit 1022 in FIG.

【0082】(6)図1の両面印刷終了処理部1133
は、図10のその他のタスクの処理部1023に対応。
(6) Double-sided printing end processing unit 1133 of FIG.
Corresponds to the processing unit 1023 for other tasks in FIG.

【0083】図12に、描画タスクと印刷タスクが両面
印刷を並行処理する際の、描画順序と印刷順序の対応付
けを示す。本図に示す順序で描画タスクが各ページバッ
ファに順次描画を行う。印刷タスクは描画の完了したペ
ージバッファについて、本図に示す手順で印刷読出しを
行う。本図の上側は、ページバッファメモリ総数が1
0、プリンタエンジン最大滞留枚数が3の場合、下側
は、ページバッファメモリ総数が8、プリンタエンジン
最大滞留枚数が5の場合、についてのものであるが、他
の場合についても同様である。以下の説明においては、
前半印刷を用紙裏面(偶数ページ)について、後半印刷
を用紙表面(奇数ページ)について行うものと仮定す
る。逆の場合も、同様にして実現することができる。
FIG. 12 shows the correspondence between the drawing order and the printing order when the drawing task and the printing task process double-sided printing in parallel. The drawing task sequentially draws in each page buffer in the order shown in this figure. The print task reads and prints the page buffer for which drawing has been completed in the procedure shown in this figure. In the upper part of the figure, the total page buffer memory is 1
0, the maximum retained number of printer engines is 3, the lower side is for the case where the total number of page buffer memories is 8, and the maximum retained number of printer engines is 5, but the same applies to other cases. In the following description,
It is assumed that the first half printing is performed on the back surface of the paper (even pages) and the second half printing is performed on the front surface of the paper (odd pages). The reverse case can also be realized in the same manner.

【0084】図12の各例では、まず第1ページから順
次各ページの描画を行う。第1、第3、第5ページ等の
奇数ページ(表面)については印刷待ちとし、第2、第
4、第6ページ等の偶数ページ(裏面)について順次印
刷を行う。図12の上半分の例では、3枚の用紙につい
て、それぞれ第2、第4、第6ページの印刷を行ったと
き、プリンタエンジン滞留枚数が3に達するので、次
に、第1の用紙の表面ページである第1ページの印刷を
行い、その用紙を排出する。これによりプリンタエンジ
ン内に用紙の空きが生じるので、次の偶数ページ(第8
ページ)が印刷される。これにより滞留枚数が再度3に
達するので、第2の用紙の表面ページである第3ページ
が印刷されその用紙が排出される。以後、同様にして第
10ページ、第5ページ、第12ページ、…と印刷され
ていく。原則として、奇数ページの印刷時にその用紙が
排出される。
In each example of FIG. 12, each page is first drawn sequentially from the first page. The odd-numbered pages (front side) such as the first, third, and fifth pages are put on standby for printing, and the even-numbered pages (back side) such as the second, fourth, and sixth pages are sequentially printed. In the example in the upper half of FIG. 12, when the second, fourth, and sixth pages are printed on three sheets, respectively, the number of remaining sheets in the printer engine reaches 3. The first page, which is the front page, is printed and the paper is ejected. As a result, there will be a sheet of paper in the printer engine, so the next even page (8th page)
Page) is printed. As a result, the number of staying sheets reaches 3 again, so that the third page which is the front page of the second sheet is printed and the sheet is ejected. After that, the tenth page, the fifth page, the twelfth page, ... Are similarly printed. As a general rule, the paper is ejected when printing odd pages.

【0085】図12の下半分の例では、プリンタエンジ
ン最大滞留枚数が5であるので、プリンタエンジンへの
読みだしは、まず、第2、第4、第6、第8、第10ペ
ージの全5ページ分について順次行われる。ここで、滞
留枚数が5に達するので、次に、第1の用紙の表面ペー
ジ(第1ページ)が印刷される。これによりプリンタエ
ンジン内に生じた1枚の用紙の空きを次の裏面ページ
(第12ページ)が埋める。続いて、第3ページ、第1
4ページ、第15ページ、…と印刷されていく。図13
に両面印刷における描画タスクと印刷タスクの並行処理
の動作概要を示す。図中のP1,P2,…はページ通し
番号を示す。また、印刷部数が1、プリンタエンジン最
大滞留枚数が5の場合についての動作手順を示すが、そ
の他の場合についても同様である。
In the example in the lower half of FIG. 12, the maximum number of remaining sheets in the printer engine is 5, so the reading to the printer engine is first performed on all the second, fourth, sixth, eighth and tenth pages. It is carried out sequentially for 5 pages. Here, since the staying number reaches 5, the front side page (first page) of the first sheet is printed next. As a result, the next back page (the twelfth page) fills the vacant space of one sheet generated in the printer engine. Then, page 3, page 1
Pages 4, page 15, ... Are printed. FIG.
An outline of parallel processing of drawing task and printing task in double-sided printing is shown in. In the figure, P1, P2, ... Show page serial numbers. Further, the operation procedure is shown for the case where the number of print copies is 1 and the maximum number of stays in the printer engine is 5, but the same applies to other cases.

【0086】(1)描画タスク部1131はコマンドバ
ッファ部112から印刷コマンド列を順に読み出し、ペ
ージバッファ部115へ描画を行っていく。描画が完了
すると表面・裏面印刷の設定をページバッファ管理テー
ブル部1141に行い、描画の完了したページバッファ
について順次印刷タスクを起動する。起動された複数の
印刷タスクは実行待ちキュー(図示せず)に接続され、
ディスパッチャにより順次CPUが割り当てられ実行さ
れる。図では、図示の都合上、描画タスクは印刷タスク
と同時に実行されているように示したが、実際には、印
刷タスクによるCPU処理量は多くなく例えば図の印刷
タスクの「印刷」時等の生じる空き時間に描画タスクが
実行される。
(1) The drawing task unit 1131 sequentially reads the print command string from the command buffer unit 112 and draws it in the page buffer unit 115. When the drawing is completed, the front-side / back-side printing is set in the page buffer management table unit 1141 and the print tasks are sequentially activated for the page buffers for which the drawing is completed. The started print tasks are connected to the queue (not shown)
CPUs are sequentially assigned and executed by the dispatcher. In the figure, the drawing task is shown as being executed at the same time as the print task for the sake of illustration, but in reality, the CPU processing amount by the print task is not large and, for example, when the print task of the figure is “printing” or the like. The drawing task is executed in the available free time.

【0087】(2)印刷タスクのうち、表面ページ(P
1,P3,P5,…)用の印刷タスクは、表面・裏面印
刷切り替え条件の一つであるプリンタエンジン最大滞留
枚数に達するまで、後述する表面印刷待ちマクロを発行
することにより、表面印刷待ちキューに接続され、待ち
状態となる(図13の左下参照)。表面印刷待ちマクロ
の処理では、本マクロ発行タスクを表面印刷待ち状態に
移した後、タスクディスパッチャを起動し、裏面ページ
用の印刷タスクへ制御を移す。
(2) Of the print tasks, the front page (P
1, P3, P5, ...) print task waits for the front surface print queue by issuing a front surface print wait macro, which will be described later, until the printer engine maximum retention number, which is one of the front / back surface print switching conditions, is reached. To the standby state (see the lower left of FIG. 13). In the processing of the front side print waiting macro, after the macro issuing task is put into the front side printing waiting state, the task dispatcher is activated and the control is transferred to the print task for the back side page.

【0088】(3)表面ページ用の印刷タスクで、前記
表面・裏面印刷切り替え条件の一つであるプリンタエン
ジン滞留枚数のプリンタエンジン最大滞留枚数への到達
を検出すると、表面印刷待ち解除マクロと表面印刷待ち
マクロを発行する。表面印刷待ち解除マクロは、表面印
刷待ち状態にある先頭の印刷タスクを待ち状態から解除
する。表面印刷待ちマクロは、前述の処理を行う。
(3) When the printing task for the front side page detects that the printer engine staying number, which is one of the front side / back side printing switching conditions, has reached the printer engine maximum staying number, the front side printing wait release macro and the front side Issue a print wait macro. The front-side printing wait release macro releases the first print task in the front-side printing waiting state from the waiting state. The front surface print waiting macro performs the above-mentioned processing.

【0089】(4)印刷タスクのうち、裏面ページ(P
2,P4,P6,…9用の印刷タスクは、本裏面ページ
に対応する描画済みページバッファの内容を読み出し、
印刷を行う。
(4) Of the print tasks, the back page (P
The print tasks for 2, P4, P6, ... 9 read the contents of the rendered page buffer corresponding to this back page,
Print.

【0090】(5)以上の手順を繰り返すことにより、
P1、P3、……、P9用の印刷タスクは表面印刷待ち
となり、P2、P4、…、P10用の印刷タスクは裏面
印刷を行う。そして、P11用の印刷タスクの処理にお
いて、プリンタエンジン内の滞留する用紙の数がプリン
タエンジン最大滞留枚数に達するため、表面印刷待ち解
除マクロと表面印刷待ちマクロの発行を行う。該表面印
刷待ち解除マクロは、表面印刷待ち状態の先頭にあるP
1用の印刷タスクを待ち状態から解除する。その結果、
P1が印刷される。
(5) By repeating the above procedure,
The print tasks for P1, P3, ..., P9 wait for front side printing, and the print tasks for P2, P4 ,. Then, in the processing of the print task for P11, the number of retained sheets in the printer engine reaches the maximum number of retained sheets in the printer engine, and therefore the front side print wait release macro and the front side print wait macro are issued. The front side printing wait release macro is set to P at the head of the front side printing wait state.
Release the print task for 1 from the waiting state. as a result,
P1 is printed.

【0091】(6)以後、P12の印刷、P13の表面
印刷待ち、表面印刷待ち状態の先頭印刷タスク(P3)
の待ち状態からの解除、P3の印刷というようにして、
両面印刷が続行される。
(6) After that, the printing of P12, the front side printing waiting of P13, and the first printing task in the front side printing waiting state (P3)
From the waiting state of, the printing of P3, etc.
Duplex printing continues.

【0092】(7)前記表面・裏面印刷切り替え条件と
しては、プリンタエンジン最大滞留枚数到達検出の他
に、文書終了、紙サイズ変更、給紙部、排紙部変更、前
半印刷用紙の巡回完了の検出等がある。
(7) As the conditions for switching the front surface / back surface printing, in addition to detection of the maximum staying number of sheets in the printer engine, document end, paper size change, paper feed unit, paper eject unit change, first half printing paper circulation completion There is detection etc.

【0093】なお、本図のような描画タスクと印刷タス
クの並行処理動作は、描画タスクと印刷タスクが、図1
4から図25に示す管理テーブルを参照しながら、図2
6から図45の処理手順を実行することにより実現す
る。図14〜図18は各種ページバッファ管理テーブル
を示し、図19〜図25は各種プリンタ管理テーブルを
示す。
Note that the parallel processing operation of the drawing task and the printing task as shown in FIG.
4 to FIG. 25 while referring to the management table shown in FIG.
It is realized by executing the processing procedure from 6 to FIG. 14 to 18 show various page buffer management tables, and FIGS. 19 to 25 show various printer management tables.

【0094】図14から図18を用いて、ページバッフ
ァ管理テーブル部1141の内容を説明する。本管理テ
ーブルは、複数ページからなるページバッファ部115
への描画タスクによる書き込みと印刷タスクによる読み
出しにおいて、ページバッファ部の使用に遊び時間を生
じさせず、またページバッファ部への各タスクによるア
クセス順序に誤りを生じさせないために用いる。
The contents of the page buffer management table 1141 will be described with reference to FIGS. 14 to 18. The management table includes a page buffer unit 115 including a plurality of pages.
It is used in order to prevent an idle time from being used in the use of the page buffer section and to prevent an error in the access order of each task to the page buffer section in the writing by the drawing task and the reading by the printing task.

【0095】図14にページバッファ管理テーブル部1
141の全体構成を示す。このテーブルは、全ページバ
ッファ用共通情報と、各ページバッファ用情報とからな
る。全ページバッファ用共通情報としては、次に描画タ
スクが書き込むべきページバッファNo.(当該描画ペー
ジバッファNo.と呼ぶ)と、次に印刷タスクが読み出す
べきページバッファNo.(当該印刷ページバッファNo.と
呼ぶ)と、現在印刷出力中のページバッファNo.、各ペ
ージバッファ0、1、…、N−1の先頭アドレス、描画
部用ワークメモリアドレス、ページバッファサイズ、印
刷条件現在値、ページバッフ総面数N、コマンド未解決
情報等を記述する。
FIG. 14 shows the page buffer management table section 1
The whole structure of 141 is shown. This table includes common information for all page buffers and information for each page buffer. The common information for all page buffers is the page buffer No. that the drawing task should write next (called the drawing page buffer No.) and the page buffer No. that the printing task should read next (the print page buffer No. concerned). ,), The page buffer number currently being printed out, the start address of each page buffer 0, 1, ..., N-1, the work memory address for the drawing section, the page buffer size, the current print condition value, and the total page buffer. Describe the number of faces N, command unsolved information, and the like.

【0096】このうち、印刷条件現在値は各ページバッ
ファについて描画タスクが印刷条件を設定する際のデフ
ォルト値を格納するために用いる。
Of these, the current print condition value is used to store the default value when the drawing task sets the print condition for each page buffer.

【0097】また、各ページバッファ用情報としては、
ページバッファ毎に、タスク関連情報、印刷条件、プリ
ンタメモリコントローラ設定情報を記述する。これらの
情報の内容をそれぞれ、図15から図17に示す。ま
た、コマンド未解決情報の内容を図18に示す。
Further, as the information for each page buffer,
Describe task-related information, printing conditions, and printer memory controller setting information for each page buffer. The contents of these pieces of information are shown in FIGS. 15 to 17, respectively. The contents of the command unsolved information are shown in FIG.

【0098】図15のタスク関連情報1500は、その
ページの描画および印刷の状態を記述する。すなわち、
本ページを使用中の描画タスク番号1501、本ページ
を使用中の印刷タスク番号1502、本ページを空き待
ち中のタスクへの前向きポインタ1503、本ページを
空き待ち中のタスクへの後向きポインタ1504からな
る。
The task related information 1500 of FIG. 15 describes the drawing and printing states of the page. That is,
From the drawing task number 1501 that is using this page, the print task number 1502 that is using this page, the forward pointer 1503 to the task that is waiting for this page to become available, and the backward pointer 1504 to the task that is waiting to be available to this page Become.

【0099】図16の印刷条件1400は、給紙部コー
ド1401、排紙部コード1402、紙サイズコード1
403、紙縦横コード1404、片面・両面印刷指定1
405、表面・裏面印刷指定1406、印刷ページ通し
番号1407、総印刷部数1408、現在印刷部数14
09、総白紙印刷部数1410、現在白紙印刷部数14
11、印字方向(ポートレイト/ランドスケープ)14
12、両面印刷排出フラグ1413、描画エラー処理モ
ード1414、文字展開モード1415を有する。
The printing condition 1400 shown in FIG. 16 is the paper feed section code 1401, the paper ejection section code 1402, and the paper size code 1.
403, paper length and width code 1404, single-sided / double-sided printing designation 1
405, front / back side print designation 1406, print page serial number 1407, total number of prints 1408, current number of prints 14
09, total number of blank pages printed 1410, current number of blank pages printed 14
11, printing direction (portrait / landscape) 14
12, a double-sided printing discharge flag 1413, a drawing error processing mode 1414, and a character expansion mode 1415.

【0100】図17のプリンタメモリコントローラ設定
情報1700は、動作可能/動作中/故障中の別を示す
プリンタメモリコントローラ状態1701、コントロー
ルレジスタ状態1702、ページ先頭アドレス170
3、レフトマージンドット数Lm1704、ライトスキ
ップロングワード数Rm1705、トップマージンドッ
ト数Tm1706、紙サイズ幅ロングワード数Wx17
07、紙サイズ高さドット数Dy1708、ステータス
レジスタ状態1709からなる。
The printer memory controller setting information 1700 shown in FIG. 17 indicates the printer memory controller status 1701, the control register status 1702, and the page head address 170 which indicate whether the printer memory controller is ready / working / failed.
3, left margin dot number Lm1704, right skip long word number Rm1705, top margin dot number Tm1706, paper size width long word number Wx17
07, paper size height dot number Dy 1708, and status register status 1709.

【0101】図18のコマンド未解決情報は、未解決フ
ラグ、未解決コマンド開始アドレス、未解決コマンド終
了アドレスからなる。
The command unsolved information in FIG. 18 includes an unsolved flag, an unsolved command start address, and an unsolved command end address.

【0102】以上のページバッファ管理テーブル114
1の内容は、基本的に本出願人による前述の特願平1−
164637号や特願平1−282747号の場合と同
様であるが、本発明では印刷条件を図16のように拡張
した。つまり、総白紙印刷部数1410と現在白紙印刷
部数1411と両面印刷排出フラグ1413と追加する
とともに、片面印刷の場合にもあったが、未使用だった
片面・両面印刷指定コード1405と表面・裏面印刷指
定コード1406を使用するようにした。
The above page buffer management table 114
The contents of 1 are basically the above-mentioned Japanese Patent Application No. 1-
This is similar to the case of 164637 and Japanese Patent Application No. 1-282747, but in the present invention, the printing conditions are expanded as shown in FIG. In other words, the total number of blank pages printed 1410, the current number of blank pages printed 1411, and the double-sided print ejection flag 1413 are added, and there is also a case of single-sided printing, but the unused single-sided / double-sided printing designation code 1405 and front / backside printing The designated code 1406 is used.

【0103】このうち総白紙印刷部数1410と現在白
紙印刷部数1411は、用紙の表面と裏面で印刷部数が
不一致の場合でも印刷を続行できるようにするために設
けた。両面印刷排出フラグ1413は、前記表面・裏面
印刷切り替え条件のうち、給紙部変更、排紙部変更、紙
サイズ変更のいずれかを描画タスクが検出した場合に、
印刷タスクに連絡するために設けた。
Of these, the total number of blank pages printed 1410 and the current number of blank pages printed 1411 are provided so that printing can be continued even when the numbers of copies do not match on the front surface and the back surface of the paper. The double-sided printing discharge flag 1413 is set when the drawing task detects any one of a paper feed unit change, a paper discharge unit change, and a paper size change among the front / back face print switching conditions.
Provided for contacting print tasks.

【0104】片面・両面印刷指定コード(1405)
は、各ページが片面印刷と両面印刷のいずれかを記述す
るために設け、表面・裏面印刷指定コード(1406)
は、各ページが表面印刷と裏面印刷のいずれかを記述す
るために使用する。
Single-sided / double-sided printing designation code (1405)
Is provided for each page to describe either single-sided printing or double-sided printing, and front / back side print designation code (1406)
Is used to describe whether each page is front side printing or back side printing.

【0105】両面印刷排出フラグ1413がとる値を、
以下のように定める。本フラグは3ビットのデータで表
わす。
The value set by the double-sided printing discharge flag 1413 is
Determined as follows. This flag is represented by 3-bit data.

【0106】0:両面印刷時排出不要 0以外:両面印刷時排出要 ビット0:給紙部変更フラグとして利用 ビット1:排紙部変更フラグとして利用 ビット2:紙サイズ変更フラグとして利用 なお、本両面印刷排出フラグ1413は、3ビット構成
としたので、給紙部変更、排紙部変更、紙サイズ変更が
同時発生した場合に、いずれの要因が発生しているかを
検出できる。本両面印刷排出フラグ1413の値が0以
外の場合、印刷制御装置110はプリンタエンジン部1
20内の用紙を一旦すべて排出する。その後、給紙部、
排紙部、紙サイズの内必要なものを変更してから、再び
両面印刷を再開する。
0: No need for discharging during double-sided printing Other than 0: Necessary for discharging during double-sided printing Bit 0: Used as paper feed section change flag Bit 1: Used as paper discharge section change flag Bit 2: Used as paper size change flag Since the double-sided printing discharge flag 1413 has a 3-bit configuration, it is possible to detect which factor has occurred when a paper feed unit change, a paper discharge unit change, and a paper size change occur simultaneously. When the value of the double-sided printing discharge flag 1413 is other than 0, the print control device 110 determines that the printer engine unit 1
Eject all the paper in 20 once. After that, the paper feed section,
After changing the required paper ejection unit and paper size, double-sided printing is resumed.

【0107】図16に示した印刷条件1400は、描画
タスク内の印刷条件指定用サブコマンド処理が、ホスト
コンピュータ100から受信した各印刷条件指定用サブ
コマンドの指示に従って、書き込む。描画タスク内の描
画用サブコマンド処理は、印刷条件のうち以下の情報を
用いて当該描画ページに対し、描画処理を行う。
The print condition 1400 shown in FIG. 16 is written by the print condition specifying subcommand process in the drawing task in accordance with the instruction of each print condition specifying subcommand received from the host computer 100. The drawing subcommand process in the drawing task performs the drawing process on the drawing page using the following information of the printing conditions.

【0108】 ・紙サイズコード ・紙縦横コード ・表面・裏面印刷指定 ・印字方向 ・描画エラー処理モード ・文字展開モード なお、描画処理は、紙サイズコードと紙縦横コードから
変換した、前記先願発明に記した描画用フレームメモリ
記述パラメータを用いて描画処理を行う。
-Paper size code-Paper portrait / landscape code-Front / back side print designation-Print direction-Drawing error processing mode-Character expansion mode It should be noted that the drawing process is performed by converting the paper size code and the paper portrait / landscape code. Drawing processing is performed using the drawing frame memory description parameters described in.

【0109】また描画タスクは両面印刷を行うため、各
ページバッファについて以下の内容を書き込む。
Since the drawing task performs double-sided printing, the following contents are written in each page buffer.

【0110】 ・片面・両面印刷指定 ・表面・裏面印刷指定 ・両面印刷排出フラグ また、印刷タスクは、描画の完了した当該印刷ページに
対し、以下の情報を用いて印刷処理を行う。
Single-Sided / Double-Sided Printing Designation / Surface / Backside Printing Designation / Double-Sided Printing Ejection Flag Further, the print task performs printing processing on the print page for which drawing has been completed, using the following information.

【0111】 ・給紙部コード ・排紙部コード ・紙サイズコード ・紙縦横コード ・印刷ページ通し番号 ・総印刷部数 ・現在印刷部数 ・片面・両面印刷指定 ・表面・裏面印刷指定 ・両面印刷排出フラグ また、印刷処理では、紙サイズコード、紙縦横コード等
の情報から変換したプリンタメモリコントローラ設定情
報1700(図17)を用いて、プリンタメモリコント
ローラを制御する。
-Paper feed code-Paper output code-Paper size code-Paper vertical / horizontal code-Print page serial number-Total number of prints-Current number of prints-Simplex / Double-sided printing-Surface / Backside printing-Double-sided printing discharge flag Further, in the print processing, the printer memory controller is controlled using the printer memory controller setting information 1700 (FIG. 17) converted from information such as the paper size code and the paper length / width code.

【0112】次に、図19から図25を用いて、プリン
タ管理テーブル1161の内容を説明する。本管理テー
ブルは、印刷タスクによるプリンタ(サブCPU96と
プリンタエンジン部120)の使用状況、プリンタとの
入出力状態を管理し、プリンタの資源管理と入出力制御
を行うために用いる。
Next, the contents of the printer management table 1161 will be described with reference to FIGS. 19 to 25. This management table is used to manage the usage status of the printer (sub CPU 96 and printer engine unit 120) by the print task, the input / output status with the printer, and to perform resource management and input / output control of the printer.

【0113】図19にプリンタ管理テーブル1161の
全体構成を示す。このテーブルは、サブCPU状態19
20、プリンタ状態1930、印刷条件1900、タス
ク関連情報1940、排紙終了監視情報1950からな
る。
FIG. 19 shows the overall structure of the printer management table 1161. This table shows the sub CPU status 19
20, printer status 1930, printing condition 1900, task related information 1940, and discharge completion monitoring information 1950.

【0114】図20にサブCPU状態1920の内容を
示す。サブCPU状態1920としては、サブCPU通
信状態(未使用/コマンド送信中/ステータス受信中)
と、サブCPUレディ状態(正常/異常)を記述する。
FIG. 20 shows the contents of the sub CPU status 1920. As the sub CPU status 1920, the sub CPU communication status (unused / command sending / status receiving)
And the sub CPU ready state (normal / abnormal) are described.

【0115】図21にプリンタ状態1930の内容を示
す。プリンタ状態0930としては、印刷タスク等によ
る印刷指示と、給排紙部の変更指示の可/不可、プリン
タエンジン状態(レディ/エラー/ウォームアップ中/
テストプリント中)、給紙部状態と排紙部状態を記述す
る。
FIG. 21 shows the contents of the printer status 1930. The printer status 0930 includes a print instruction by a print task, enable / disable of a change instruction of the paper feeding / discharging unit, and a printer engine status (ready / error / warm-up /
During test printing), describe the paper feed section status and paper output section status.

【0116】図22に印刷条件1900の内容を示す。
このフィールドには、本印刷タスクに対応するページバ
ッファについてのページバッファ管理テーブル上の印刷
条件フィールドのうち対応するコードの値を、印刷タス
クがそれらの値を用いて一連のプリンタ制御用マクロを
発行する前に、コピーして受取り、それらを参照しなが
ら印刷タスクが本印刷対象ページバッファについての印
刷処理を実行する。コピーするコードとしては、図16
に示した給紙部コード1401、排紙部コード140
2、紙サイズコード1403、紙縦横コード1404、
総印刷部数1408、現在印刷部数1409、総白紙印
刷部数1410、現在白紙印刷部数1411がある。
FIG. 22 shows the contents of the print condition 1900.
In this field, the value of the corresponding code in the print condition field on the page buffer management table for the page buffer corresponding to this print task is used, and the print task issues a series of printer control macros using these values. Before doing so, the print task executes the print processing for the main print target page buffer while receiving the copy and referring to them. The code to be copied is shown in FIG.
Paper feed section code 1401 and paper discharge section code 140 shown in
2, paper size code 1403, paper length and width code 1404,
There are a total print copy number 1408, a current print copy number 1409, a total blank page print copy number 1410, and a current blank page print copy number 1411.

【0117】図23にタスク関連情報1940の内容を
示す。タスク関連情報1940としては、プリンタを使
用中のタスク番号、プリンタを空き待ちのタスクへの前
向きポインタと後ろ向きポインタを記述する。
FIG. 23 shows the contents of the task related information 1940. As the task-related information 1940, a task number that is using the printer, and a forward pointer and a backward pointer to tasks that are waiting for an empty printer are described.

【0118】図24に排紙終了監視情報の内容を示す。
本実施例では、排紙部1〜5の各々の最新排紙ページ通
り番号を管理し、また、排紙終了監視タイマ1〜25の
各々の監視するページのページ通し番号および指定排紙
部を管理している。
FIG. 24 shows the contents of the discharge completion monitoring information.
In this embodiment, the latest discharged page number of each of the discharge units 1 to 5 is managed, and the page serial number of each monitored page of the discharge completion monitoring timers 1 to 25 and the designated discharge unit are managed. is doing.

【0119】図25にプリンタ状態1930の給紙部状
態と排紙部状態1933の内容を例示する。ここでは、
13バイトのデータを用いて、給紙部および排紙部の現
在の状態を管理している。なお、図中の“R”はそのビ
ットが未使用(Reserved)であることを示す。
FIG. 25 exemplifies the contents of the paper feed section status and the paper discharge section status 1933 of the printer status 1930. here,
The 13-byte data is used to manage the current states of the paper feed unit and the paper discharge unit. Note that "R" in the figure indicates that the bit is unused (Reserved).

【0120】以上のプリンタ管理テーブル1161の内
容は基本的に、前記先願発明の場合と同様であるが、本
発明では両面印刷制御を行うため、印刷条件に次のコー
ドを追加した(図22参照)。
The contents of the printer management table 1161 described above are basically the same as in the case of the invention of the previous application, but in the present invention, since the double-sided printing control is performed, the following code is added to the printing condition (FIG. 22). reference).

【0121】 (1)プリンタエンジン滞留枚数1905 (2)表面印刷Post必要フラグ1906 (3)表面印刷Post待ちタスク番号1907 (4)裏面印刷Post必要フラグ1908 (5)裏面印刷Post待ちタスク番号1909 (6)マルチページコピー連絡用ECB(1910、1
911等、各印刷タスク毎に用意) (7)総白紙印刷部数1903 (8)現在白紙印刷部数1904 (9)両面印刷紙なしエラー発生フラグ1912 (10)表面印刷可能タスク終了待ちECB1913 このうち、(1)はプリンタエンジン内に滞留している
用紙枚数を管理しながら、表面印刷と裏面印刷の切替制
御を行うするために設けた。(2)から(6)は両面印
刷のマルチページコピーを行う際、各頁対応の印刷タス
クが同期制御を行うために設けた。(7)と(8)は両
面印刷のマルチページコピーで、同一用紙の表面と裏面
で印刷部数が不一致の場合でも両面印刷を支障なく続行
するために設けた。(9)と(10)は両面印刷での紙
なしエラー処理を行うために設けた。
(1) Number of stays in the printer engine 1905 (2) Front side printing Post required flag 1906 (3) Front side printing Post waiting task number 1907 (4) Back side printing Post required flag 1908 (5) Back side printing Post waiting task number 1909 ( 6) ECB for multi-page copy communication (1910, 1
(7) Total number of blank sheets printed 1903 (8) Current number of blank sheets printed 1904 (9) Double-sided printing paper no error occurrence flag 1912 (10) Waiting for front surface printable task end ECB 1913 The item (1) is provided to control the switching between front-side printing and back-side printing while managing the number of sheets of paper retained in the printer engine. (2) to (6) are provided so that the print task corresponding to each page performs synchronous control when performing multi-page copying of double-sided printing. (7) and (8) are double-sided multi-page copies, which are provided in order to continue double-sided printing without trouble even when the number of prints does not match on the front and back sides of the same sheet. (9) and (10) are provided to perform the paperless error processing in double-sided printing.

【0122】また、排紙終了監視情報としては、図24
に示したように、 (a)各排紙部の最新排紙ページ通し番号 (b)各排紙終了監視タイマ毎のページ通し番号と指定
排紙部 を記述した。
As the paper discharge completion monitoring information, FIG.
As shown in (a), the latest discharge page serial number of each discharge unit (b) the page serial number for each discharge completion monitoring timer and the designated discharge unit are described.

【0123】なお両面印刷の場合、排紙部に排出される
表面ページについてのみページ通し番号をカウントし、
プリンタエンジン内に一旦排紙、格納される裏面ページ
についてのページ通し番号は、カウントしない。具体的
には、次のようにカウントする。
In the case of double-sided printing, the page serial number is counted only for the front page discharged to the paper discharge section,
The page serial number of the back page that is temporarily discharged and stored in the printer engine is not counted. Specifically, the counting is performed as follows.

【0124】(ア)その用紙が文書の終りでないなら、
最新排紙ページ通し番号をそれ自身に1を加えた値とす
る。
(A) If the paper is not the end of the document,
The latest discharged page serial number is a value obtained by adding 1 to itself.

【0125】(イ)その用紙が文書の終りなら、裏面ペ
ージがある場合は、(ア)と同様に最新排紙ページ通し
番号をそれ自身に1を加えた値とする。表面ページしか
ない場合は、(ア)と異なり、最新排紙ページ通し番号
それ自身をそのまま用いる。
(A) If the paper is the end of the document, and if there is a back page, the latest discharged page serial number is set to a value obtained by adding 1 to itself, as in (a). When there are only front pages, unlike (a), the latest discharged page serial number itself is used as it is.

【0126】図52に、両面印刷における最新排紙ペー
ジ通し番号管理の例を示す。本図52において、ケース
1(同図(a))は同一サイズの用紙6枚について両面
印刷を行う場合であり、表面ページ(ページ通し番号
5)の排紙を検出した時点で、本ページが文書の終わり
でないため、最新排紙ページ通し番号を該ページのペー
ジ通し番号の5に1を加えた6とする。ケース2(同図
(b))は同一サイズの用紙5枚について両面印刷を行
う場合であり、表面ページ(ページ通し番号5)の排紙
を検出した時点で、本ページが文書の終わりであるた
め、最新排紙ページ通し番号を該ページのページ通し番
号自身の5とする。ケース3(同図(c))はページ通
し番号1から2と、2から3で用紙サイズが変わる場合
である。この場合各ページを片面印刷するので、本図の
ように最新排紙ページ通し番号が更新される。ケース4
(同図(d))は、ページ通し番号1から2と、5から
6で用紙サイズが変わる場合である。この場合ページ通
し番号1と6について片面印刷、ページ通し番号2〜5
について両面印刷するので、本図のように最新排紙ペー
ジ通し番号が更新される。ケース5とケース6(同図
(e)、(f))はページ通し番号1と2で用紙サイズ
は同じだが、印刷部数が異なる場合である。ケース5で
はページ通し番号1(表面ページ)に関する、実際の印
刷データについての2部印刷と白紙の2部印刷が完了し
た時点で、最新排紙ページ通し番号が2に更新される。
ケース6ではページ通し番号1(表面ページ)に関す
る、実際の印刷データについての4部印刷が完了した時
点で、最新排紙ページ通し番号が2に更新される。
FIG. 52 shows an example of the latest discharged page serial number management in double-sided printing. In FIG. 52, Case 1 (FIG. 52A) is a case where double-sided printing is performed on six sheets of the same size, and this page is a document when the discharge of the front page (page serial number 5) is detected. Since it is not the end of the above, the latest discharged page serial number is set to 6 by adding 1 to 5 of the page serial number of the page. Case 2 ((b) in the figure) is a case where double-sided printing is performed on five sheets of the same size, and this page is the end of the document when the discharge of the front page (page serial number 5) is detected. , The latest discharged page serial number is set to 5 of the page serial number of the page itself. Case 3 ((c) in the figure) is a case where the paper size changes between page serial numbers 1 to 2 and 2 to 3. In this case, since each page is printed on one side, the latest discharged page serial number is updated as shown in this figure. Case 4
((D) in the figure) shows a case where the paper size changes between page serial numbers 1 to 2 and 5 to 6. In this case, single-sided printing for page serial numbers 1 and 6, page serial numbers 2 to 5
For double-sided printing, the latest paper discharge page serial number is updated as shown in this figure. In case 5 and case 6 ((e) and (f) in the figure), the page serial numbers 1 and 2 have the same paper size but different number of print copies. In Case 5, the latest ejected page serial number is updated to 2 at the time when the two copies of the actual print data and the two copies of the blank sheet for the page serial number 1 (front page) are completed.
In Case 6, the latest discharged page serial number is updated to 2 when four copies of the actual print data for the page serial number 1 (front page) are completed.

【0127】紙ジャム等の再印刷の必要なエラーが発生
した場合、本印刷制御装置が前述の最新排紙ページ通し
番号の次のページから再印刷を行うことにより、無駄な
重複のない再印刷を行うことができるという効果があ
る。
When an error that requires reprinting such as a paper jam occurs, the print control apparatus performs the reprinting from the page next to the above-mentioned latest discharged page serial number, so that reprinting without wasteful duplication can be performed. The effect is that it can be done.

【0128】なお、再印刷は上位ホストコンピュータか
ら再送した印刷コマンド列、又は印刷制御装置内に保持
しておいた印刷コマンド列を用いて、印刷制御装置がプ
リンタエンジン部を制御することにより実現した。
The reprinting is realized by the print control device controlling the printer engine section using the print command sequence retransmitted from the host computer or the print command sequence held in the print control device. .

【0129】以下、図26から図45を用いて、本印刷
システムにおける両面印刷制御の要である描画タスクと
印刷タスクの処理手順を説明する。まず、各々について
ポイントを説明する。
26 to 45, the processing procedure of the drawing task and the printing task, which are the essentials of the double-sided printing control in this printing system, will be described below. First, the points of each will be described.

【0130】描画タスクの処理手順は、両面印刷モード
においても片面印刷の場合とほぼ同一である。描画タス
クの両面印刷についてのポイントは、以下の通りであ
る。
The processing procedure of the drawing task is almost the same in the double-sided printing mode as in the single-sided printing. The points of double-sided printing of the drawing task are as follows.

【0131】(1)改頁処理部209にて、片面印刷と
両面印刷の区別、そして、表面印刷と裏面印刷の区別
を、ページバッファ管理テーブル1141内の当該描画
ページバッファ番号用の該当コード(1405と140
6)に記入する。
(1) The page feed processor 209 distinguishes between single-sided printing and double-sided printing, and front-side printing and back-side printing, using the corresponding code for the drawing page buffer number in the page buffer management table 1141. 1405 and 140
Fill in 6).

【0132】(2)紙サイズ指定コマンド処理206に
おいて、紙サイズの変更を検出した場合、ページバッフ
ァ管理テーブル内の紙サイズ変更フラグ(本実施例では
両面印刷排出フラグ1413の一部として実現)をセッ
トする。
(2) When a paper size change is detected in the paper size designation command process 206, a paper size change flag (implemented as a part of the double-sided print ejection flag 1413 in this embodiment) in the page buffer management table is set. set.

【0133】(3)給紙部指定コマンド処理204また
は排紙部指定コマンド処理205において、給紙部変更
あるいは排紙部変更を検出した場合、ページバッファ管
理テーブル内の給紙部変更フラグあるいは排紙部変更フ
ラグ(本実施例ではこれも両面印刷排出フラグ1413
の一部として実現)をセットする。
(3) When the paper feed unit change command or the paper discharge unit designation command process 205 detects a paper feed unit change or a paper discharge unit change, the paper feed unit change flag or the paper discharge unit change flag in the page buffer management table is detected. Paper section change flag (also double sided print ejection flag 1413 in this embodiment)
Realized as a part of).

【0134】(4)(2)と(3)の検出時に、用紙の
表面ページ用の印刷データはあるが、対応する裏面ペー
ジは印刷データがなく、白紙の用紙が検出されたとす
る。この場合、裏面用の白紙印刷を実現するため、白紙
の裏面ページ用の印刷タスクの起動とページバッファの
獲得を行う。詳細手順は、図28から図32に示す。
(4) It is assumed that at the time of detection of (2) and (3), there is print data for the front page of the paper, but there is no print data for the corresponding back page, and a blank paper is detected. In this case, in order to realize the blank printing for the back side, the print task for the blank back side page is activated and the page buffer is acquired. The detailed procedure is shown in FIGS. 28 to 32.

【0135】(5)コマンド解釈部201によるコマン
ドバッファ読出し処理において、文書の終りを検出する
と、文書印刷の終了処理を依頼するため、両面印刷終了
タスクを起動する。
(5) When the end of the document is detected in the command buffer reading process by the command interpreting unit 201, the double-sided printing end task is started in order to request the end process of the document printing.

【0136】(6)印刷部数指定コマンド処理において
表面ページと裏面ページの印刷部数の不一致を検出した
場合、総白紙印刷部数を表面・裏面ページのうち印刷部
数の少ないページバッファ用のページバッファ管理テー
ブルに記入する。詳細手順は、図33に示す。
(6) When a discrepancy in the number of printed copies of the front page and the back page is detected in the print copy designation command processing, the total number of blank pages printed is the page buffer management table for the page buffer with the smallest number of print copies of the front and back pages. Fill in. The detailed procedure is shown in FIG.

【0137】次に印刷タスクのポイントを説明する。Next, the points of the print task will be described.

【0138】(1)印刷タスクは、描画タスクが改頁条
件を検出し、1ページ分のページバッファデータの出来
上がりを検出した時点で起動される。終了は、プリンタ
フリーマクロ(図48)の発行直後とする。
(1) The print task is activated when the drawing task detects a page break condition and detects the completion of page buffer data for one page. It ends immediately after the printer-free macro (FIG. 48) is issued.

【0139】(2)印刷タスクは複数個(例えば図11
のタスク番号7〜16)用意する。印刷タスクの終了
は、前記先願発明のように排紙終了時点とせず、プリン
タフリーマクロの発行直後とする。それにより、最小単
位のページバッファ数分(図14におけるページバッフ
ァ総面数Nに相当)だけ、印刷タスクを用意すれば済
む。
(2) A plurality of print tasks (for example, FIG. 11)
Task numbers 7 to 16) are prepared. The print task does not end at the end of paper discharge as in the above-mentioned prior invention, but immediately after the printer-free macro is issued. As a result, it is sufficient to prepare print tasks for the minimum number of page buffers (corresponding to the total number N of page buffer surfaces in FIG. 14).

【0140】(3)印刷タスクは、初めにプリンタリザ
ーブマクロを発行し、プリンタが空いていることを確認
した上で、プリンタエンジンに対し印刷用の各種マクロ
(図46から図48に示す)を発行する。プリンタエン
ジンの利用が終わるとプリンタフリーマクロを発行し、
プリンタエンジンの占有を解除する。
(3) The print task first issues a printer reserve macro, confirms that the printer is free, and then issues various print macros (shown in FIGS. 46 to 48) to the printer engine. Issue. When the use of the printer engine is over, issue a printer-free macro,
Release the possession of the printer engine.

【0141】(4)プリンタエンジンに対しては、レデ
ィ状態確認マクロ、給紙部確認マクロ、給紙部指示マク
ロ、及び印刷指示マクロ等を順に発行する。マルチペー
ジコピーの場合は、以上のマクロSVCの発行を印刷部
数回くり返す。
(4) To the printer engine, the ready state confirmation macro, the sheet feeding section confirmation macro, the sheet feeding section instruction macro, the printing instruction macro, etc. are issued in order. In the case of multi-page copy, the above issuance of the macro SVC is repeated several times for printing.

【0142】(5)各マクロの処理においてプリンタエ
ンジン関係のエラーを検出した場合、各マクロ処理の中
でエラー処理を行う。
(5) When an error related to the printer engine is detected in the processing of each macro, the error processing is performed in each macro processing.

【0143】(6)各マクロの処理においては、プリン
タエンジンへコマンドを発行後、プリンタエンジンから
の応答を待つ必要がある場合、印刷タスクを応答待ち状
態とし、その間、CPUが他のタスクを実行できるよう
にする。
(6) In the processing of each macro, when it is necessary to wait for a response from the printer engine after issuing a command to the printer engine, the print task is put in the response waiting state, and the CPU executes other tasks during that time. It can be so.

【0144】(7)両面印刷制御は、次のように行う。(7) Double-sided printing control is performed as follows.

【0145】(a)表面ページの印刷タスクは表面印刷
待ちにし、裏面ページの印刷タスクは印刷を行う。これ
を繰り返す。
(A) The front page printing task waits for front page printing, and the back page printing task prints. Repeat this.

【0146】(b)裏面ページを印刷して、「プリンタ
エンジン最大滞留枚数到達」を検出すると、表面印刷待
ち行列(キュー)の先頭につながれている印刷タスクを
1つはずし、本裏面ページ用の印刷タスクを表面印刷待
ち行列の最後尾につなぐ。そして、待ち行列からはずさ
れた表面ページ用の印刷タスクを印刷した後、次の裏面
ページ用印刷タスクの処理に戻る。
(B) When the back page is printed and "printer engine maximum staying number of sheets reached" is detected, one print task linked to the front of the front side print queue (queue) is removed, and Put the print task at the end of the front side print queue. Then, after printing the print task for the front page removed from the queue, the process returns to the processing of the print task for the next back page.

【0147】(c)表面ページ又は裏面ページ用の処理
において、「紙サイズ変更」、「給紙部変更」、「排紙部変
更」を検出すると、表面印刷待ち行列につながれている
表面ページ用の印刷タスクをすべて本待ち行列からはず
し、本ページ用の印刷タスクを表面印刷待ち行列につな
ぐ。そして、待ち行列からはずされた表面ページ用の印
刷タスクをすべて印刷した後、変更のあったページ以降
の印刷を続行する。
(C) When a "paper size change", a "paper feed section change", or a "paper discharge section change" is detected in the processing for the front side page or the back side page, the front side page queued for the front side print queue is detected. Remove all the print tasks for this page from the book queue, and connect the print tasks for this page to the front side print queue. Then, after all the print tasks for the front page that has been dequeued are printed, the pages after the changed page are continued.

【0148】(d)「紙なし」を検出すると、図11に示
す中断タスクをまず起動する。中断タスクは、(ア)両
面印刷紙なしエラー発生フラグ1912のセット、
(イ)表面印刷可能タスクの待ち解除(プリンタ内滞留
用紙に対応する表面印刷タスクの表面印刷待ち行列から
の解除、及び表面印刷ポスト(Post)待ちのポスト
処理)、(ウ)ウェイト(表面印刷可能タスクの終了待
ち)を行う。
(D) When "no paper" is detected, the suspended task shown in FIG. 11 is first activated. The suspended task is (a) setting of the double-sided printing paper out error occurrence flag 1912,
(A) Releasing the wait for the front surface printable task (releasing the front surface print task corresponding to the stagnant paper in the printer from the front surface print queue and post processing for the front surface print post (Post) wait), (c) wait (front surface print Wait for completion of available tasks).

【0149】表面印刷可能タスクのうち最後の印刷タス
クは、印刷指示を発行の後、前記ウェイト(表面印刷可
能タスクの終了待ち)を解除するため、ポストを発行す
る。本ポストに従い、再び中断タスクに処理が移る。紙
の補給に伴い、中断スクが処理を終え、印刷タスクによ
る正常な両面印刷処理に戻る。
The last print task of the front surface printable tasks issues a post to issue the print instruction and then release the wait (waiting for the end of the front surface printable task). According to this post, the process moves to the suspended task again. As the paper is replenished, the interrupted disk finishes the processing and returns to the normal double-sided printing processing by the printing task.

【0150】上記「紙なし」エラー用の処理手順は、紙な
しエラーの検出が、印刷タスクによる各種プリンタ制御
用マクロの発行に伴う同期エラーの場合でも、同マクロ
の発行とは無関係にサブCPU96が検出した非同期エ
ラー場合でも、共通である。従って、「紙なし」エラー
用の処理手順を、同期エラー、非同期エラーにかかわら
ず一括管理することができるという効果がある。
The processing procedure for the "paper out" error is such that even if the detection of the paper out error is a synchronous error accompanying the issuance of various printer control macros by the print task, the sub CPU 96 is irrelevant to the issuance of the macro. It is common even when an asynchronous error is detected by. Therefore, the processing procedure for the "paper out" error can be collectively managed regardless of the synchronous error and the asynchronous error.

【0151】(e)マルチページコピーにおいて、「プ
リンタエンジン最大滞留枚数到達」を検出すると、表面
印刷待ち行列の先頭につながれている表面ページ用の印
刷タスクを1つはずし、本ページ用の印刷タスクをウエ
イト状態にする。本ウェイト状態としては、本ページが
表面ページなら表面印刷ポスト待ち状態を用い、本ペー
ジが裏面ページなら裏面印刷ポスト待ち状態を用いる。
そして、表面印刷待ち行列からはずされた表面ページ用
の印刷タスクについての印刷を行った後、ウエイト状態
(本ページが表面ページなら裏面印刷ポスト待ち状態、
裏面ページなら表面印刷ポスト待ち状態)の印刷タスク
をポストする。その後、表面印刷待ち行列からはずされ
た印刷タスクをウエイト状態とする。
(E) When a "printer engine maximum staying number of sheets reached" is detected in multi-page copy, one print task for the front page linked to the head of the front print queue is removed, and the print task for this page is removed. To wait. As this wait state, if this page is the front page, the front print post wait state is used, and if this page is the back page, the back print post wait state is used.
Then, after printing the print task for the front page that has been removed from the front print queue, the wait state (if this page is the front page, the back print post wait state,
If it is a back page, post the print task in the front side print post waiting state. After that, the print task removed from the front side print queue is placed in a wait state.

【0152】(f)マルチページコピーにおいて、表面
印刷部数と裏面印刷部数が不一致の場合、少ない印刷部
数の面は印刷部数の多い面の印刷部数に合わせ、少ない
印刷部数分は白紙を印刷する。
(F) In multi-page copying, when the number of front side print copies and the number of back side print copies do not match, the side with the smaller number of print copies is matched with the number of print copies with the side with the larger number of print copies, and a blank sheet is printed for the smaller number of print copies.

【0153】(g)描画タスクによる文書の終りの検出
に伴って起動された両面印刷終了タスクは、表面印刷待
ち解除を行う。詳しくは、表面印刷待ち行列内の全印刷
タスクの待ち状態からの解除と、表面印刷Post待ちタス
クの待ち解除を行う。なお、両面印刷終了タスクには、
図11に示したように印刷タスクと同一優先度を与え、
前述の文書終了処理を行うが、実際の印刷処理は行わな
い特別な印刷タスクとして、動作させるようにした。
(G) The double-sided printing end task activated in response to the detection of the end of the document by the drawing task cancels the front side printing wait. Specifically, it releases all the print tasks in the front side printing queue from the waiting state and releases the front side printing Post waiting task. In addition, the two-sided printing end task includes
As shown in FIG. 11, give the same priority as the print task,
The document end process described above is performed, but the actual print process is not performed. As a special print task, the operation is performed.

【0154】次に描画タスクの処理手順の詳細を図26
から図35を用いて、説明する。
FIG. 26 shows details of the processing procedure of the drawing task.
Starting from FIG. 35, description will be made.

【0155】初めに図26を用いて、描画タスクの全体
手順を説明する。描画タスクは、まず描画準備(261
0)により描画用の各種パラメータやテーブルを初期化
する(2611)。描画準備の後、描画処理はコマンド
解釈(2621)とコマンド実行(2630)を無限ル
ープにより繰り返す(2620)。
First, the overall procedure of the drawing task will be described with reference to FIG. The drawing task starts with drawing preparation (261
0) initializes various drawing parameters and tables (2611). After the drawing preparation, the drawing process repeats command interpretation (2621) and command execution (2630) in an endless loop (2620).

【0156】コマンド実行2630では、コマンドに応
じて分岐を行い(2631)、片面・両面印刷指定コマ
ンド処理(2632)、両面印刷終了指定コマンド処理
(2633)、給紙部指定コマンド処理(2634)、
排紙部指定コマンド処理(2635)、紙サイズ指定コ
マンド処理(2636)、紙縦横方向指定コマンド処理
(2637)、印刷部数指定コマンド処理(263
8)、改頁処理(2639)、文字描画(263A)、
図形描画(263B)、及びその他の処理(263C)
を行う。
In the command execution 2630, branching is performed according to the command (2631), single-sided / double-sided printing designation command processing (2632), double-sided printing end designation command processing (2633), paper feed unit designation command processing (2634),
Paper discharge section designation command processing (2635), paper size designation command processing (2636), paper length / width direction designation command processing (2637), print copy number designation command processing (263
8), page break processing (2639), character drawing (263A),
Graphic drawing (263B) and other processing (263C)
I do.

【0157】片面・両面印刷指定コマンド処理(263
2)では、図27に示すように、本コマンドの入力引数
である片面・両面印刷指定パラメータの値を、ページバ
ッファ管理テーブル内の当該描画ページバッファ番号用
の片面・両面印刷指定コードエリア(1405)に、記
入する。
Single-sided / double-sided print designation command processing (263
In 2), as shown in FIG. 27, the value of the single-sided / double-sided printing designation parameter that is the input argument of this command is set to the single-sided / double-sided printing designation code area (1405) for the drawing page buffer number in the page buffer management table. ), Fill in.

【0158】両面印刷終了指定コマンド処理(263
3)では、図28に示すように、初めに当該描画ページ
バッファ番号の一つ前のページバッファが、表面印刷を
指定されているか、該ページバッファ用の表面・裏面印
刷指定コード(1405)を参照しながら、判定する
(281)。
Double-sided printing end designation command processing (263
In 3), as shown in FIG. 28, first, the page buffer immediately before the drawing page buffer number is designated to be printed on the front side, or the front / back side print designation code (1405) for the page buffer is designated. The determination is made while referring to the information (281).

【0159】表面印刷を指定されている場合、次の2項
目を実行する。
When the front side printing is designated, the following two items are executed.

【0160】(1)ページバッファリザーブマクロを、
前記当該描画ページバッファ番号1の一つ前のページバ
ッファと同じ紙サイズについて、発行する(282)。
(1) The page buffer reserve macro is
It issues for the same paper size as the page buffer immediately before the drawing page buffer number 1 (282).

【0161】(2)印刷タスクを起動し、(1)で獲得
したページバッファについての白紙印刷を行わせる(2
83)。
(2) The print task is activated and blank page printing is performed on the page buffer acquired in (1) (2
83).

【0162】(3)続いて、両面印刷終了タスクを起動
し、本文書についての終了処理を実行させる(28
4)。
(3) Next, the double-sided printing end task is activated to execute the end processing for this document (28
4).

【0163】給紙部指定コマンド処理(2634)で
は、図29に示すように、初めに本コマンドの入力引数
である給紙部コードの値を、ページバッファ管理テーブ
ル内の当該描画ページバッファ番号用の給紙部コードエ
リア1401に、記入する(291)。続いて、給紙部
変更があるかを判定する(292)。給紙部変更がある
なら、当該描画ページバッファ番号のページバッファに
ついて両面印刷指定がなされているか、判定する(29
3)。両面印刷指定がなされているなら、当該描画ペー
ジバッファ番号の一つ前のページバッファが、表面印刷
を指定されているか、該ページバッファ用の表面・裏面
印刷指定コード(1405)を参照しながら、判定する
(294)。本判定がyesならば、両面印刷排出フラグ
1413がOFFか、判定する(295)。本判定がye
sなら、次の3項目を実行する。
In the paper feed unit designation command processing (2634), as shown in FIG. 29, first, the value of the paper feed unit code which is the input argument of this command is used for the drawing page buffer number in the page buffer management table. It is filled in the paper feeding unit code area 1401 (291). Then, it is determined whether there is a change in the paper feeding unit (292). If the paper feed unit is changed, it is determined whether double-sided printing is designated for the page buffer with the drawing page buffer number (29).
3). If double-sided printing is designated, the page buffer immediately before the drawing page buffer number is designated for front-side printing, or referring to the front-side / back-side printing designation code (1405) for the page buffer, The determination is made (294). If this determination is yes, it is determined whether the double-sided printing discharge flag 1413 is OFF (295). This judgment is ye
If s, execute the following three items.

【0164】 (1)印刷タスク起動(296) (2)ページバッファリザーブ(297) (3)当該描画ページバッファ番号用の表面・裏面印刷
指定コードに、表面印刷指定を記入する(298)。
(1) Start print task (296) (2) Reserve page buffer (297) (3) Enter front print designation in front / back print designation code for the drawing page buffer number (298).

【0165】前記294の判定の後、両面印刷排出フラ
グ1413の一部である給紙部変更フラグをONにセッ
トする(299)。
After the judgment of 294, the paper feed unit change flag which is a part of the double-sided printing discharge flag 1413 is set to ON (299).

【0166】排紙部指定コマンド処理(2635)で
は、図30に示すように、初めに本コマンドの入力引数
である排紙部コードの値を、ページバッファ管理テーブ
ル内の当該描画ページバッファ番号用の排紙部コードエ
リア1402に、記入する(301)。
In the paper discharge unit designation command processing (2635), as shown in FIG. 30, first, the value of the paper discharge unit code which is the input argument of this command is used for the drawing page buffer number in the page buffer management table. (301) is entered in the paper discharge section code area 1402 of

【0167】続いて、排紙部変更があるかを判定する
(302)。排紙部変更があるなら、当該描画ページバ
ッファ番号のページバッファについて両面印刷指定がな
されているか、判定する(303)。両面印刷指定がな
されているなら、当該描画ページバッファ番号の一つ前
のページバッファが、表面印刷を指定されているか、該
ページバッファ用の表面・裏面印刷指定コード(140
5)を参照しながら、判定する(304)。本判定がye
sならば、両面印刷排出フラグ1413がOFFか、判
定する(305)。本判定がyesなら、次の3項目を実
行する。
Subsequently, it is determined whether there is a change in the discharge section (302). If the paper discharge unit is changed, it is determined whether double-sided printing has been designated for the page buffer of the drawing page buffer number (303). If double-sided printing is designated, the page buffer immediately before the drawing page buffer number is designated for front-side printing, or the front-side / back-side printing designation code for the page buffer (140
The determination is made with reference to 5) (304). This judgment is ye
If s, it is determined whether the double-sided printing discharge flag 1413 is OFF (305). If this judgment is yes, the following three items are executed.

【0168】 (1)印刷タスク起動(306) (2)ページバッファリザーブ(307) (3)当該描画ページバッファ番号用の表面・裏面印刷
指定コードに、表面印刷指定を記入する(308)。
(1) Start print task (306) (2) Reserve page buffer (307) (3) Enter front print designation in the front / back print designation code for the drawing page buffer number (308).

【0169】前記304の判定の後、両面印刷排出フラ
グ1413の一部である排紙部変更フラグをONにセッ
トする(309)。
After the judgment of 304, the paper discharge section change flag which is a part of the double-sided print discharge flag 1413 is set to ON (309).

【0170】紙サイズ指定コマンド処理(2636)で
は、図31に示すように、初めに本コマンドの入力引数
である紙サイズコードの値を、ページバッファ管理テー
ブル内の当該描画ページバッファ番号用の紙サイズコー
ドエリア1403に、記入する(311)。
In the paper size designation command process (2636), as shown in FIG. 31, first, the value of the paper size code which is the input argument of this command is set to the paper for the drawing page buffer number in the page buffer management table. Fill in the size code area 1403 (311).

【0171】続いて、紙サイズの変更があるか、つまり
本コマンドの入力紙サイズと前ページの紙サイズが違う
か判定する(312)。本判定で紙サイズ変更があるな
ら、当該描画ページバッファ番号のページバッファにつ
いて両面印刷指定がなされているか、判定する(31
3)。両面印刷指定がなされているなら、当該描画ペー
ジバッファ番号の一つ前のページバッファが、表面印刷
を指定されているか、該ページバッファ用の表面・裏面
印刷指定コード(1405)を参照しながら、判定する
(314)。本判定がyesならば、両面印刷排出フラグ
1413がOFFか、判定する(315)。本判定がye
sなら、次の3項目を実行する。
Subsequently, it is judged whether or not the paper size is changed, that is, whether the input paper size of this command is different from the paper size of the previous page (312). If the paper size is changed in this determination, it is determined whether double-sided printing is designated for the page buffer of the drawing page buffer number (31
3). If double-sided printing is designated, the page buffer immediately before the drawing page buffer number is designated for front-side printing, or referring to the front-side / back-side printing designation code (1405) for the page buffer, A determination is made (314). If this determination is yes, it is determined whether the double-sided printing discharge flag 1413 is OFF (315). This judgment is ye
If s, execute the following three items.

【0172】 (1)印刷タスク起動(3151) (2)ページバッファリザーブ(3152) (3)当該描画ページバッファ番号用の表面・裏面印刷
指定コードに、表面印刷指定を記入する(3153)。
(1) Start printing task (3151) (2) Reserve page buffer (3152) (3) Write the front side printing designation in the front side / back side printing designation code for the drawing page buffer number (3153).

【0173】前記315の判定がNoならば、ページバッ
ファ再リザーブマクロを発行する(3154)。
If the determination at 315 is No, a page buffer re-reserve macro is issued (3154).

【0174】前記314の判定がNoならば、ページバッ
ファ再リザーブマクロを発行する(316)。
If the determination at 314 is No, a page buffer re-reserve macro is issued (316).

【0175】前記314の判定の後、両面印刷排出フラ
グ1413の一部である紙サイズ変更フラグをONにセ
ットする(317)。
After the judgment of 314, the paper size change flag which is a part of the double-sided printing discharge flag 1413 is set to ON (317).

【0176】前記313の判定がNoの場合、ページバッ
ファ再リザーブマクロを発行する(318)。
If the judgment at 313 is No, a page buffer re-reserve macro is issued (318).

【0177】上記3152と3154と316と318
のページバッファ獲得は、変更後の紙サイズについて行
う。
The above 3152, 3154, 316, and 318
The page buffer is acquired for the changed paper size.

【0178】前記313の判定がNoの場合、ページバッ
ファ再リザーブマクロを発行する(318)。
If the judgment at 313 is No, a page buffer re-reserve macro is issued (318).

【0179】上記3152と3154と316と318
のページバッファ獲得は、変更後の紙サイズについて行
う。
The above 3152, 3154, 316, and 318
The page buffer is acquired for the changed paper size.

【0180】紙縦横方向指定コマンド処理(2637)
では、図32に示すように、初めに本コマンドの入力引
数である紙縦横方向コードの値を、ページバッファ管理
テーブル内の当該描画ページバッファ番号用の紙縦横方
向コードエリア1404に、記入する(321)。
Paper length / width direction designation command processing (2637)
Then, as shown in FIG. 32, first, the value of the paper vertical / horizontal direction code which is the input argument of this command is written in the paper vertical / horizontal direction code area 1404 for the drawing page buffer number in the page buffer management table ( 321).

【0181】続いて、紙縦横方向の変更があるか、つま
り本コマンドの入力紙紙縦横方向と前ページの紙縦横方
向が違うか判定する(322)。本判定で紙縦横方向の
変更があるなら、当該描画ページバッファ番号のページ
バッファについて両面印刷指定がなされているか、判定
する(323)。両面印刷指定がなされているなら、当
該描画ページバッファ番号の一つ前のページバッファ
が、表面印刷を指定されているか、該ページバッファ用
の表面・裏面印刷指定コード(1405)を参照しなが
ら、判定する(324)。本判定がyesならば、両面印
刷排出フラグ1413がOFFか、判定する(32
5)。本判定がyesなら、次の3項目を実行する。
Subsequently, it is determined whether there is a change in the paper length / width direction, that is, whether the input paper length / width direction of this command is different from the paper length / width direction of the previous page (322). If there is a change in the paper length and width directions in this determination, it is determined whether double-sided printing is designated for the page buffer of the drawing page buffer number (323). If double-sided printing is designated, the page buffer immediately before the drawing page buffer number is designated for front-side printing, or referring to the front-side / back-side printing designation code (1405) for the page buffer, A determination is made (324). If this determination is yes, it is determined whether the double-sided printing discharge flag 1413 is OFF (32
5). If this judgment is yes, the following three items are executed.

【0182】 (1)印刷タスク起動(3251) (2)ページバッファリザーブ(3252) (3)当該描画ページバッファ番号用の表面・裏面印刷
指定コードに、表面印刷指定を記入する(3253)。
(1) Print task activation (3251) (2) Page buffer reserve (3252) (3) Enter the front side print designation into the front side / back side print designation code for the drawing page buffer number (3253).

【0183】前記325の判定がNoならば、ページバッ
ファ再リザーブマクロを発行する(3254)。
If the determination at 325 is No, the page buffer re-reserve macro is issued (3254).

【0184】前記324の判定がNoならば、ページバッ
ファ再リザーブマクロを発行する(326)。
If the determination at 324 is No, a page buffer re-reserve macro is issued (326).

【0185】前記324の判定の後、両面印刷排出フラ
グ1413の一部である紙サイズ変更フラグをONにセ
ットする(327)。
After the judgment of 324, the paper size change flag which is a part of the double-sided printing discharge flag 1413 is set to ON (327).

【0186】前記323の判定がNoの場合、ページバッ
ファ再リザーブマクロを発行する(328)。
If the determination at 323 is No, a page buffer re-reserve macro is issued (328).

【0187】上記3252と3254と326と328
のページバッファ獲得は、変更後の紙縦横方向について
行う。なお、同一面積の紙、例えばA4を用いても、そ
れの紙縦横方向が違う場合、ページバッファ部115内
の獲得エリアが違うものとして説明したが、獲得エリア
を同じにすることもできる。この場合、3254と32
6と328の処理は不要になる。
The above 3252, 3254, 326 and 328
The page buffer is acquired in the vertical and horizontal directions of the changed paper. It should be noted that even if paper of the same area, for example, A4 is used, the acquisition area in the page buffer unit 115 is different if the paper is different in the vertical and horizontal directions, but the acquisition area may be the same. In this case, 3254 and 32
The processes of 6 and 328 are unnecessary.

【0188】印刷部数指定コマンド処理(2638)で
は、図33に示すように、本コマンドの入力引数である
印刷部数の値を、ページバッファ管理テーブル内の当該
描画ページバッファ番号用の総印刷部数コードエリア
(1408)に、記入する。
In the print copy number designation command processing (2638), as shown in FIG. 33, the value of the print copy number which is the input argument of this command is set to the total print copy number code for the drawing page buffer number in the page buffer management table. Fill in the area (1408).

【0189】改頁処理(2639)では、図34に示す
ように、初めにページバッファ管理テーブル内の当該印
刷ページバッファ番号に、当該描画ページバッファ番号
をコピーした後(341)、当該描画ページバッファ番
号を更新する(342)。その後、印刷タスクの起動
(343)とページバッファリザーブ(344)を行
う。ステップ343の印刷タスクの起動では、タスク起
動マクロの発行時に入力パラメータとして当該印刷ペー
ジバッファ番号を設定することにより、各印刷タスク
に、印刷対象ページバッファ番号を伝えるようにした。
その後、当該描画ページバッファ番号のページバッファ
について両面印刷指定がなされているか、判定する(3
45)。両面印刷指定がなされているなら、当該描画ペ
ージバッファ番号の一つ前のページバッファが、表面印
刷を指定されているか、該ページバッファ用の表面・裏
面印刷指定コード(1405)を参照しながら、判定す
る(346)。本判定がyesならば、当該描画ページバ
ッファ番号用の表面・裏面印刷指定コードを、裏面印刷
指定に設定する(347)。本判定がNoならば、当該描
画ページバッファ番号用の表面・裏面印刷指定コード
を、表面印刷指定に設定する(348)。なお、ステッ
プ344のページバッファリザーブは、デフォルト紙サ
イズについて発行するものとする。デフォルト紙サイズ
としては、文書先頭では、初期値の紙サイズをとり、文
書の途中では前ページの紙サイズをとるものとした。
In the page break process (2639), as shown in FIG. 34, the drawing page buffer number is first copied to the printing page buffer number in the page buffer management table (341), and then the drawing page buffer is set. The number is updated (342). Then, the print task is activated (343) and the page buffer is reserved (344). In the print task activation in step 343, the print page buffer number is set as an input parameter when the task activation macro is issued, so that the print target page buffer number is transmitted to each print task.
Then, it is determined whether double-sided printing is designated for the page buffer of the drawing page buffer number (3
45). If double-sided printing is designated, the page buffer immediately before the drawing page buffer number is designated for front-side printing, or referring to the front-side / back-side printing designation code (1405) for the page buffer, A determination is made (346). If this determination is yes, the front / back side print designation code for the drawing page buffer number is set to the back side print designation (347). If this determination is No, the front / back printing designation code for the drawing page buffer number is set to the front printing designation (348). The page buffer reserve in step 344 is issued for the default paper size. As the default paper size, the initial paper size is set at the beginning of the document, and the paper size of the previous page is set in the middle of the document.

【0190】次に印刷タスクの処理手順の詳細を図35
から図44を用いて、説明する。
FIG. 35 shows the details of the processing procedure of the print task.
From FIG. 44, description will be made.

【0191】初めに図35を用いて、印刷タスクの全体
手順を説明する。印刷タスクはまず本タスク用の入力パ
ラメータエリアから、本印刷タスクの印刷対象ページバ
ッファ番号である当該印刷ページバッファ番号を取り出
す(3510)。続いて印刷タスクはプリンタリザーブ
マクロによるプリンタ使用権の獲得(3511)とプリ
ンタフリーマクロによるプリンタ使用権の解放(351
2)を行う。続いて当該印刷ページバッファファ番号の
ページバッファについて両面印刷指定がなされている
か、該ページバッファ用の片面・両面印刷指定コード
(1405)を参照しながら、判定する(3520)。
両面印刷指定がなされているなら、当該印刷ページバッ
ファ番号のページバッファが、表面印刷を指定されてい
るか、該ページバッファ用の表面・裏面印刷指定コード
(1405)を参照しながら、判定する(3521)。
本判定がyesならば、表面印刷用前処理1(3530)
として、ステップ3531から3535の処理を行う。
First, the overall procedure of the print task will be described with reference to FIG. The print task first takes out the print page buffer number which is the print target page buffer number of the main print task from the input parameter area for this task (3510). Subsequently, the print task acquires the printer usage right by the printer reserve macro (3511) and releases the printer usage right by the printer free macro (351).
Perform 2). Subsequently, it is determined whether double-sided printing is designated for the page buffer of the print page buffer number or not, with reference to the single-sided / double-sided printing designation code (1405) for the page buffer (3520).
If double-sided printing is designated, it is determined whether the page buffer of the print page buffer number is designated for front-side printing or referring to the front-side / back-side printing designation code (1405) for the page buffer (3521). ).
If this judgment is yes, front-end printing pretreatment 1 (3530)
As a result, the processes of steps 3531 to 3535 are performed.

【0192】まず、当該印刷ページバッファ番号用の両
面印刷排出フラグ1413がONか判定する(353
1)。ONならば、両面印刷排出フラグONに伴う、表
面印刷可能タスクの待ち解除(3532)を行う。35
31の判定がNoならば、プリンタエンジン滞留枚数(1
905)がプリンタエンジン最大滞留枚数以下か判定す
る(3533)。本判定がyesならば、プリンタエンジ
ン最大滞留枚数到達に伴う、表面印刷可能タスクの待ち
解除を行う(3534)。ここで、プリンタエンジン最
大滞留枚数は、プリンタエンジンの種類と紙サイズと紙
縦横方向に応じて定まるパラメータであり、初期化時等
に予め印刷制御装置110内のテーブル(図1と図2に
は示していない)に格納しておく。
First, it is judged whether or not the double-sided printing discharge flag 1413 for the print page buffer number is ON (353).
1). If it is ON, the waiting for the front-side printable task is released (3532) when the double-sided printing discharge flag is turned ON. 35
If the judgment of No. 31 is No, the number of remaining printer engine (1
905) is less than or equal to the maximum retention number of printer engines (3533). If this determination is yes, the waiting for the front surface printable task is canceled when the maximum number of retained sheets in the printer engine is reached (3534). Here, the maximum retention number of printer engines is a parameter that is determined according to the type of printer engine, the paper size, and the paper length and breadth direction, and is set in advance in a table (in FIG. 1 and FIG. 2) in the print control device 110 at the time of initialization. (Not shown).

【0193】ステップ3531の判定の後、印刷タスク
は表面印刷待ちマクロを発行し、本タスクを表面印刷待
ち状態に移す(3535)。
After the judgment of step 3531, the print task issues a front side printing wait macro and shifts this task to the front side printing waiting state (3535).

【0194】その後印刷タスクは、以下の手順(354
1から3555)を、印刷タスクは総印刷部数と総白紙
印刷部数分の合計回数だけ繰り返すことにより、総印刷
部数分の実質的印刷と総白紙印刷部数分の白紙印刷を行
う。
Thereafter, the print task executes the following procedure (354
1 to 3555), the print task repeats the total number of print copies and the total number of blank page print copies a total number of times to perform substantial printing for the total number of print copies and blank page printing for the total number of blank page print copies.

【0195】(1)当該印刷ページバッファファ番号の
ページバッファについて両面印刷指定がなされている
か、判定する(3541)。両面印刷指定がなされてい
るなら、当該印刷ページバッファ番号のページバッファ
が、表面印刷を指定されているか、該ページバッファ用
の表面・裏面印刷指定コード(1405)を参照しなが
ら、判定する(3542)。
(1) It is judged whether double-sided printing is designated for the page buffer of the print page buffer number (3541). If double-sided printing is designated, it is determined whether the page buffer of the print page buffer number is designated for front-side printing or referring to the front-side / back-side printing designation code (1405) for the page buffer (3542). ).

【0196】(2)本判定がyesならば、表面印刷用前
処理2を行う(3543)。Noならば、裏面印刷用前処
理(3544)を行う。
(2) If this determination is yes, pretreatment 2 for front surface printing is performed (3543). If No, preprocessing for back surface printing (3544) is performed.

【0197】(3)一連の印刷マクロの発行処理を行う
(3545)。
(3) A series of print macro issuing processing is performed (3545).

【0198】(4)プリンタエンジン滞留枚数を更新す
る(3550)。具体的には、以下のようにする。
(4) The printer engine retention sheet number is updated (3550). Specifically, the following is done.

【0199】(4−1)まず、当該印刷ページバッファ
ファ番号のページバッファについて両面印刷指定がなさ
れているか、判定する(3551)。両面印刷指定がな
されているなら、当該印刷ページバッファ番号のページ
バッファが、表面印刷を指定されているか、該ページバ
ッファ用の表面・裏面印刷指定コード(1405)を参
照しながら、判定する(3552)。
(4-1) First, it is determined whether double-sided printing is designated for the page buffer having the print page buffer number (3551). If double-sided printing is designated, it is determined whether front-side printing has been designated for the page buffer of the print page buffer number or by referring to the front-side / back-side printing designation code (1405) for the page buffer (3552). ).

【0200】(4−2)本判定がyesならば、プリンタ
エンジン滞留枚数(1905)を1だけ減ずる(355
3)。Noならば、プリンタエンジン滞留枚数(190
5)を1だけ加算する(3554)。
(4-2) If this determination is yes, the printer engine retention sheet count (1905) is decremented by 1 (355).
3). If No, the number of remaining printer engine (190
5) is incremented by 1 (3554).

【0201】(5)両面印刷紙なしエラー発生フラグ1
912がONか判定する(3555)。ONならば、両
面印刷紙なしエラー処理を行う(3556)。この処理
の詳細は、図51を参照して後述する。
(5) Double-sided printing paper no error occurrence flag 1
It is determined whether 912 is ON (3555). If ON, double-sided printing paper-less error processing is performed (3556). Details of this processing will be described later with reference to FIG.

【0202】以上の手順(3541から3556)を繰
り返した後、印刷タスクはマルチページコピー用後処理
(3550)として、裏面印刷Post関係処理(356
1)と表面印刷Post待ちタスク番号と裏面印刷Post待ち
タスク番号の更新(3562)を行う。その後、タスク
終了マクロを発行し(3570)、処理を終了する。
After repeating the above steps (3541 to 3556), the print task performs back side printing Post related processing (356) as multi-page copy post-processing (3550).
1), the front side printing Post waiting task number and the back side printing Post waiting task number are updated (3562). After that, the task end macro is issued (3570) and the process is ended.

【0203】なお、3511と3512によるプリンタ
リザーブ/フリーマクロの発行目的を、以下に示す。
The purpose of issuing the printer reserve / free macro by 3511 and 3512 is shown below.

【0204】(a)各印刷タスク(印刷タスクAと呼
ぶ)は、一連の印刷マクロの発行処理(3545)にお
いて、まずプリンタリザーブによりプリンタの使用権を
獲得する(401)。その後、403〜407の印刷マ
クロを発行することにより、プリンタエンジン部120
との間の入出力処理を行う。該入出力処理において、各
印刷マクロは、本マクロの発行者である印刷タスクA
を、入出力待ち状態に移す。 (b)この時、印刷タスクAより後で起動された別の印
刷タスク(印刷タスクBと呼ぶ)が、後述するタスク制
御部12’(図50参照)内のタスクディスパッチャの
機能により実行状態に移されることがある。なお、タス
ク制御部12’やタスクディスパッチャの機能は、本出
願人による先願発明、特願平1−164637号や特願
平1−282747号に記述されている内容と同様であ
る。
(A) Each print task (referred to as print task A) first obtains the right to use the printer by the printer reserve in the series of print macro issuing processing (3545) (401). After that, by issuing the print macros 403-407, the printer engine unit 120
I / O processing between and. In the input / output processing, each print macro is the print task A that is the issuer of this macro.
To the I / O wait state. (B) At this time, another print task (called a print task B) activated after the print task A is put into the execution state by the function of the task dispatcher in the task control unit 12 ′ (see FIG. 50) described later. May be transferred. The functions of the task control unit 12 'and the task dispatcher are the same as those described in the prior application of the present applicant, Japanese Patent Application Nos. 1-164637 and 1-282747.

【0205】(c)ところが、印刷タスクBは3510
の処理の後、3511においてプリンタリザーブマクロ
を発行する。この時、前述の印刷タスクAが前記401
の処理により既にプリンタの使用権を獲得済みであるた
め、印刷タスクBは該プリンタ使用権の獲得待ち状態に
移される。
(C) However, the print task B is 3510.
After the processing of (3), a printer reserve macro is issued at 3511. At this time, the above-mentioned print task A is
Since the printer usage right has already been acquired by the processing of (1), the print task B is transferred to the printer usage right acquisition waiting state.

【0206】(d)この結果、印刷タスクAより後に起
動された印刷タスクBが、3520〜3570のような
印刷処理を進めることを防止する。
(D) As a result, the print task B started after the print task A is prevented from advancing the print processing such as 3520 to 3570.

【0207】(e)また、印刷タスクAがプリンタフリ
ーマクロを発行し、プリンタの使用権を解放した時点
で、印刷タスクBが該プリンタ使用権の獲得待ち状態か
ら直ちに解除され、プリンタの使用権を獲得する。
(E) When the print task A issues the printer-free macro and releases the right to use the printer, the print task B is immediately released from the waiting state for acquiring the right to use the printer, and the right to use the printer is released. To win.

【0208】(f)以上により、図12に示したページ
順序を守った印刷を、達成することができる。
(F) By the above, the printing in which the page order shown in FIG. 12 is observed can be achieved.

【0209】(g)なお、3511と3512によるプ
リンタリザーブ/フリーマクロの発行を行わない場合、
前述の(c)に示した処理がなされないため、印刷タス
クAより後に起動された印刷タスクBが、3520〜3
570の印刷処理を進めることになる。そのため、予期
していなかったプリンタエンジン滞留枚数の更新や、表
面印刷待ち状態化とその解除がなされる。従って、前述
の図12に示したページ順序を守った印刷を、達成でき
なくなることがあり、ユーザにとって混乱した印刷結果
が生じることになる。
(G) When the printer reserve / free macro is not issued by 3511 and 3512,
Since the processing shown in (c) above is not performed, the print task B started after the print task A has 3520 to 3520.
The printing process of 570 is advanced. Therefore, the number of remaining printer engine sheets is unexpectedly updated, and the front side printing waiting state is released and released. Therefore, it may not be possible to achieve the printing that adheres to the page order shown in FIG. 12 described above, resulting in a confusing printing result for the user.

【0210】図36を用いて、両面印刷排出フラグON
に伴う、表面印刷可能タスクの待ち解除(3532)の
手順を説明する。まず、表面印刷待ち行列内に待ちタス
クがあるか判定する(361)。あれば、図47に示す
表面印刷待ち解除マクロを解除モード1で発行すること
により、本表面印刷待ち行列内の全タスクを先頭から順
に、表面印刷待ち状態から解除する(362)。次に表
面印刷Post必要フラグ1906がONか判定する(36
3)。ONならば、本フラグをOFFにした後(36
4)、表面印刷Post待ちタスク番号1907用のマルチ
ページコピー連絡用のECB(Event Control Block:図
示せず)のアドレスを入力として、Postマクロを発行す
る(365)。ステップ363の判定に伴う処理の後、
両面印刷排出フラグをOFFにする(366)。
With reference to FIG. 36, the double-sided printing discharge flag is turned ON.
A procedure for releasing the waiting for the front surface printable task (3532) will be described. First, it is determined whether there is a waiting task in the front side printing queue (361). If there is, the front-side printing wait release macro shown in FIG. 47 is issued in the release mode 1 to release all the tasks in the front-side printing queue from the front-side printing waiting state in order from the head (362). Next, it is determined whether the front surface printing Post required flag 1906 is ON (36
3). If it is ON, after turning off this flag (36
4) The Post macro is issued with the address of the ECB (Event Control Block: not shown) for the multi-page copy communication for the front side printing Post waiting task number 1907 as an input (365). After the process associated with the determination in step 363,
The double-sided printing discharge flag is turned off (366).

【0211】ここで、ポスト(Post)マクロ(事象発生
待ち解除マクロ)とそれの対となるウェイト(Wait)マ
クロ(事象発生待ちマクロ)の内容は、前記先願発明の
場合と同様である。
Here, the contents of the post macro (event occurrence wait release macro) and its corresponding wait macro (event occurrence wait macro) are the same as in the prior invention.

【0212】図37を用いて、プリンタエンジン最大滞
留枚数到達に伴う、表面印刷可能タスクの待ち解除(3
534)の手順を説明する。まず、表面印刷Post必要フ
ラグ1906がONか判定する(371)。ONなら
ば、本フラグをOFFにした後(372)、表面印刷Po
st待ちタスク番号1907用のマルチページコピー連絡
用ECBアドレスを入力として、Postマクロを発行する
(373)。ステップ371の判定がOFFならば、表
面印刷待ち行列内に待ちタスクがあるか判定する(37
4)。あれば、図47に示す表面印刷待ち解除マクロを
解除モード0で発行することにより、本表面印刷待ち行
列内の先頭の1タスクを、表面印刷待ち状態から解除す
る(375)。
Referring to FIG. 37, the waiting for the front surface printable task is released (3
The procedure of (534) will be described. First, it is determined whether the front surface printing Post required flag 1906 is ON (371). If it is ON, after turning off this flag (372), the front surface printing Po
A Post macro is issued using the ECB address for multi-page copy communication for the st waiting task number 1907 as an input (373). If the determination in step 371 is OFF, it is determined whether there is a waiting task in the front side printing queue (37
4). If there is, the front-side printing wait release macro shown in FIG. 47 is issued in release mode 0 to release the first task in the front-side printing queue from the front-side printing waiting state (375).

【0213】図38を用いて、表面印刷用前処理2(3
543)の手順を説明する。まず、プリンタエンジン滞
留枚数(1905)がプリンタエンジン最大滞留枚数よ
り小さいか判定する(381)。本判定がyesならば、
次のようにステップ382から389の処理を行うこと
により、プリンタエンジンに入れるべき裏面印刷があれ
ばそれに制御を移し、なければ本表面を印刷する。ま
ず、裏面印刷Post必要フラグ1908がONか判定する
(382)。ONならば、本フラグをOFFにした後
(383)、裏面印刷Post待ちタスク番号1909用の
マルチページコピー連絡用ECBアドレスを入力とし
て、Postマクロを発行する(384)。さらに、表面印
刷Post必要フラグ1906をONにした後(385)、
本印刷タスク用のマルチページコピー連絡用ECBアド
レスを入力として、Waitマクロを発行する(386)。
382の判定がOFFならば、表面印刷待ち行列内に待
ちタスクがあるか判定する(387)。あれば、表面印
刷Post必要フラグ1906をONにした後(388)、
本印刷タスク用のマルチページコピー連絡用ECBアド
レスを入力として、Waitマクロを発行する(389)。
38. Referring to FIG. 38, the front surface printing pretreatment 2 (3
The procedure 543) will be described. First, it is determined whether the printer engine staying number (1905) is smaller than the printer engine maximum staying number (381). If this judgment is yes,
By performing the processing of steps 382 to 389 as described below, the control is transferred to the back surface printing to be put into the printer engine if there is one, and the main surface is printed if not. First, it is determined whether the back side printing Post required flag 1908 is ON (382). If it is ON, this flag is turned OFF (383), and the Post macro is issued with the ECB address for multi-page copy communication for the back side printing Post waiting task number 1909 as input (384). After turning on the front surface printing Post required flag 1906 (385),
A Wait macro is issued with the ECB address for multi-page copy communication for this print task as an input (386).
If the determination of 382 is OFF, it is determined whether there is a waiting task in the front side printing queue (387). If so, after turning on the front surface printing post required flag 1906 (388),
The Wait macro is issued with the ECB address for multi-page copy communication for this print task as an input (389).

【0214】図39を用いて、裏面印刷用前処理(35
44)の手順を説明する。まず、プリンタエンジン滞留
枚数(1905)がプリンタエンジン最大滞留枚数以上
か判定する(381)。本判定がyesならば、次のよう
にステップ392から395の処理を行うことにより、
プリンタエンジン最大滞留枚数に達したので表面印刷を
起動する。本判定がNoの場合、プリンタエンジンにまだ
用紙を溜められるので、図35において3545の処理
に進むことにより、本印刷タスクに対応する裏面を印刷
する。
Using FIG. 39, preprocessing for back side printing (35
The procedure 44) will be described. First, it is determined whether the number of retained printer engines (1905) is greater than or equal to the maximum number of retained printer engines (381). If this determination is yes, by performing the processing of steps 392 to 395 as follows,
The maximum number of stays in the printer engine has been reached, so surface printing is started. If this determination is No, the printer engine can still store paper, so the process proceeds to 3545 in FIG. 35 to print the back side corresponding to the main print task.

【0215】ステップ392では、両面印刷排出フラグ
がOFFか判定する。本判定がYesの場合、プリンタエ
ンジン最大滞留枚数到達に伴う、表面印刷可能タスクの
待ち解除を行う(393)。本ステップ393の処理手
順は、図37に示したものと同じである。続いて、裏面
印刷Post必要フラグ1908をONにした後(39
4)、本印刷タスク用のマルチページコピー連絡用EC
Bアドレスを入力として、Waitマクロを発行する(39
5)。
In step 392, it is determined whether the double-sided printing discharge flag is OFF. If this determination is Yes, the waiting for the front surface printable task is canceled when the maximum number of retained sheets in the printer engine is reached (393). The processing procedure of this step 393 is the same as that shown in FIG. Subsequently, after the back side printing Post required flag 1908 is turned ON (39
4), Multi-page copy contact EC for this print task
Issue Wait macro with B address as input (39
5).

【0216】図40を用いて、一連の印刷マクロの発行
処理(3545)の手順を説明する。本処理では、まず
プリンタリザーブマクロを発行し(401)、プリンタ
エンジンの使用権を獲得する。続いて、プリンタ管理テ
ーブル内の印刷条件フィールドに、ページバッファ管理
テーブル内の当該印刷ページバッファ番号用印刷条件フ
ィールド内の該当項目の値をコピーする(402)。続
いて、給紙部確認マクロの発行(403)、給紙部指示
マクロの発行(404)、排紙部確認マクロの発行(4
05)、排紙部指示マクロの発行(406)、片面・両
面印刷用印刷指示マクロの発行(407)、及びプリン
タフリーマクロの発行(408)を行う。プリンタフリ
ーマクロの発行により、本タスクによるプリンタエンジ
ンの使用権を解放する。ステップ401と403から4
08の各プリンタ制御用マクロの機能を、図45から図
47に示す。
The procedure of a series of print macro issuing processing (3545) will be described with reference to FIG. In this process, first, a printer reserve macro is issued (401) to acquire the right to use the printer engine. Then, the value of the corresponding item in the print condition field for the print page buffer number in the page buffer management table is copied to the print condition field in the printer management table (402). Next, the paper feed unit confirmation macro is issued (403), the paper feed unit instruction macro is issued (404), and the paper ejection unit confirmation macro is issued (4).
05), issuance of a paper discharge unit instruction macro (406), issuance of a print instruction macro for single-sided / double-sided printing (407), and issuance of a printer-free macro (408). By issuing the printer-free macro, the right to use the printer engine by this task is released. Steps 401 and 403-4
The functions of each printer control macro 08 are shown in FIGS. 45 to 47.

【0217】図41を用いて、片面・両面印刷用印刷指
示(407)の処理手順を説明する。本マクロは、前記
先願発明における印刷指示マクロを、片面印刷用から片
面印刷と両面印刷の両方に適用できるように拡張したも
のである。その実現方法は、プリンタエンジン部120
の仕様に応じて、若干異なるが、同様にして実現するこ
とができる。以下に、一実現例を示す。初めに、本マク
ロの入力パラメータである印刷指示モード(prnmode)
が1または2であり、両面印刷を指定されているか判定
する(411)。本判定がYesならば、以下の処理(4
12から4152)を実行する。
The processing procedure of the print instruction for single-sided / double-sided printing (407) will be described with reference to FIG. This macro is an extension of the print instruction macro of the prior invention so that it can be applied to both single-sided printing and single-sided printing. The realization method is the printer engine unit 120.
It can be realized in the same manner, although it is slightly different depending on the specifications of. Below, one implementation example is shown. First, the print instruction mode (prnmode) that is an input parameter of this macro
Is 1 or 2 and it is determined whether double-sided printing is designated (411). If this determination is Yes, the following processing (4
12 to 4152).

【0218】(1)プリンタエンジンが片面印刷モード
か判定する(412)。そうなら、プリンタエンジンを
両面印刷モードにするため、両面印刷モード選択コマン
ドのプリンタエンジン部120への発行を、サブCPU
96に指示する(4121)。 (2)前記印刷指示モード(prnmode)が1であり、表
面印刷を指定されているか判定する(413)。本判定
がYesならば、両面・表面印刷用の印刷指示(414)
を行う。
(1) It is judged whether the printer engine is the one-sided printing mode (412). If so, in order to set the printer engine to the double-sided printing mode, the double-sided printing mode selection command is issued to the printer engine unit 120 by the sub CPU
96 is instructed (4121). (2) It is determined whether the print instruction mode (prnmode) is 1 and front surface printing is designated (413). If this determination is Yes, a print instruction for double-sided / front-side printing (414)
I do.

【0219】具体的には、表面印刷用パスの選択をサブ
CPUへ指示した後(4141)、印刷指示信号のプリ
ンタエンジン部120への発行をサブCPUに指示する
(4142)。ステップ413の判定で、表面印刷が指
示されていず裏面印刷が指示されているならば、、両面
・裏面印刷用の印刷指示(414)を行う。具体的に
は、裏面印刷用パスの選択をサブCPUへ指示した後
(4151)、印刷指示信号のプリンタエンジン部12
0への発行をサブCPUに指示する(4152)。な
お、ステップ4141における表面印刷用パスの選択で
は、後半印刷用のパスとして図4における給紙パス2と
排紙パス1を選択する。また、ステップ4151におけ
る裏面印刷用パスの選択では、前半印刷用のパスとして
図4における給紙パス1と排紙パス2を選択する。本パ
スの選択方法は、プリンタエンジン部120の仕様に応
じた適切な方法で行った。また、4141の処理前に印
刷パスが表面印刷用かどうか判定し、既に表面印刷用に
なっていれば4141の処理を省くことができる。ステ
ップ4151の処理についても、同様である。
Specifically, after instructing the sub CPU to select a front surface printing path (4141), the sub CPU is instructed to issue a print instruction signal to the printer engine section 120 (4142). If it is determined in step 413 that the front side printing is not instructed and the back side printing is instructed, a print instruction for both-side / reverse side printing (414) is performed. Specifically, after instructing the sub CPU to select the back side printing path (4151), the printer engine unit 12 of the print instruction signal
The sub CPU is instructed to issue 0 (4152). In the selection of the front surface printing path in step 4141, the paper feeding path 2 and the paper discharging path 1 in FIG. 4 are selected as the paths for the second half printing. Further, in the selection of the back side printing path in step 4151, the paper feeding path 1 and the paper discharging path 2 in FIG. 4 are selected as the first half printing path. The method of selecting the main path is an appropriate method according to the specifications of the printer engine unit 120. Further, it is possible to determine whether the print path is for front surface printing before the processing of 4141 and omit the processing of 4141 if it is already for front surface printing. The same applies to the process of step 4151.

【0220】ステップ411の判定がNoならば、以下の
処理(416から418)を実行する。
If the determination in step 411 is no, the following processing (416 to 418) is executed.

【0221】(1)プリンタエンジンが両面印刷モード
か判定する(416)。そうであれば、プリンタエンジ
ンを片面印刷モードにするため、片面印刷モード選択コ
マンドのプリンタエンジン部120への発行を、サブC
PU96に指示する(417)。
(1) It is judged whether the printer engine is the double-sided printing mode (416). If so, in order to set the printer engine to the single-sided printing mode, the sub-C issuance of the single-sided printing mode selection command to the printer engine unit 120.
The PU 96 is instructed (417).

【0222】(2)片面印刷用の印刷指示(418)を
行うため、印刷指示信号のプリンタエンジン部120へ
の発行をサブCPUに指示する(418と4181)。
(2) To issue a print instruction for single-sided printing (418), the sub CPU is instructed to issue a print instruction signal to the printer engine section 120 (418 and 4181).

【0223】本プリンタエンジン部120については、
ステップ4142、4152、4181の印刷指示信号
のサブCPUへの発行指示に伴い、当該印刷ページバッ
ファについての描画が完了し、即座に印刷ができること
を、サブCPU96またはCPU93がプリンタエンジ
ン部120へコマンドまたは信号により連絡する。これ
より、プリンタエンジン部120による印刷プロセスに
余分な遅れを生じさせないようにした。本機能が提供さ
れていないプリンタエンジン部については、以上の処理
は特に行わない。
Regarding the printer engine section 120,
When the sub CPU 96 or the CPU 93 issues a command to the printer engine unit 120 to inform that the drawing of the print page buffer is completed and printing can be performed immediately in response to the instruction to issue the print instruction signal of steps 4142, 4152, and 4181 to the sub CPU. Contact by signal. Therefore, it is possible to prevent an extra delay in the printing process by the printer engine unit 120. The above processing is not particularly performed for the printer engine unit that is not provided with this function.

【0224】図42を用いて、裏面印刷Post関係処理
(3561)の処理手順を説明する。本処理ではまず、
裏面印刷Post必要フラグ1908がONか判定する(4
31)。ONならば、本フラグをOFFにした後(43
2)、裏面印刷Post待ちタスク番号1909用のマルチ
ページコピー連絡用ECBアドレスを入力として、Post
マクロを発行する(433)。
The processing procedure of the back side printing Post related processing (3561) will be described with reference to FIG. In this process, first
It is determined whether the back side printing Post required flag 1908 is ON (4
31). If it is ON, after turning off this flag (43
2), using the ECB address for the multi-page copy communication for the back side printing Post waiting task number 1909 as the input,
A macro is issued (433).

【0225】図51を用いて、図35に示した両面印刷
紙なしエラー処理(3556)の処理手順を説明する。
本処理では、プリンタエンジン滞留枚数1905が0か
を、一連の印刷マクロの発行処理(3545)とプリン
タエンジン滞留枚数更新(3550)を行った後で、判
定する(421)。本判定がyesであり、プリンタエン
ジン内に前半印刷済みの用紙が滞留していないことを確
認すると、表面印刷post待ちタスク番号1907用のマ
ルチページコピー連絡用ECBアドレスを入力として、
postマクロを発行する(422)。
The processing procedure of the double-sided printing paper-less error processing (3556) shown in FIG. 35 will be described with reference to FIG.
In this processing, it is determined whether the printer engine staying sheet number 1905 is 0 after performing a series of print macro issuing processing (3545) and printer engine staying sheet number updating (3550) (421). If this judgment is yes and it is confirmed that the first half printed paper is not accumulated in the printer engine, the multi-page copy communication ECB address for the front side printing post waiting task number 1907 is input,
The post macro is issued (422).

【0226】図43を用いて、表面印刷Post待ちタスク
番号と裏面印刷Post待ちタスク番号の更新(3562)
の処理手順を説明する。本処理ではまず、当該印刷ペー
ジバッファファ番号のページバッファについて両面印刷
指定がなされているか、該ページバッファ用の片面・両
面印刷指定コード(1405)を参照しながら、判定す
る(441)。両面印刷指定がなされているなら、当該
印刷ページバッファ番号のページバッファが、表面印刷
を指定されているか、該ページバッファ用の表面・裏面
印刷指定コード(1406)を参照しながら、判定する
(442)。本判定がyesならば、表面印刷Post待ちタ
スク番号1907を2だけ加算する(4421)。その
後、表面印刷Post待ちタスク番号が印刷タスク総数より
大きいか判定し(4422)、そうであれば表面印刷Po
st待ちタスク番号1907を表面印刷Post待ちタスク番
号1907−印刷タスク総数とする(4423)。
[0226] Using FIG. 43, the task number for waiting for printing on the front side and the task number for waiting for printing on the back side are updated (3562).
The processing procedure will be described. In this process, first, it is determined whether double-sided printing is designated for the page buffer having the print page buffer number or not, with reference to the single-sided / double-sided printing designation code (1405) for the page buffer (441). If double-sided printing is designated, it is determined whether front-side printing is designated in the page buffer of the print page buffer number or by referring to the front-side / back-side printing designation code (1406) for the page buffer (442). ). If this determination is yes, 2 is added to the front side printing Post waiting task number 1907 (4421). After that, it is judged whether the task number waiting for the front side printing Post is larger than the total number of print tasks (4422).
The st waiting task number 1907 is set to the front surface printing Post waiting task number 1907-the total number of printing tasks (4423).

【0227】ステップ442の判定がNoならば、裏面印
刷Post待ちタスク番号1909を2だけ加算する(44
24)。その後、裏面印刷Post待ちタスク番号が印刷タ
スク総数より大きいか判定し(4425)、そうであれ
ば裏面印刷Post待ちタスク番号1909を表面印刷Post
待ちタスク番号1909−印刷タスク総数とする(44
26)。
If the determination in step 442 is No, the back side printing Post waiting task number 1909 is incremented by 2 (44
24). Thereafter, it is judged whether the task number waiting for back side printing Post is larger than the total number of printing tasks (4425).
Wait task number 1909-total number of print tasks (44
26).

【0228】ステップ441の判定がNoであり片面印刷
指定がなされているならば、表面印刷Post待ちタスク番
号1907を1だけ加算する(443)。その後、表面
印刷Post待ちタスク番号が印刷タスク総数より大きいか
判定し(444)、そうであれば表面印刷Post待ちタス
ク番号1907を1とする(445)。続いて、裏面印
刷Post待ちタスク番号1909を1だけ加算する(44
6)。その後、裏面印刷Post待ちタスク番号が印刷タス
ク総数より大きいか判定し(447)、そうであれば裏
面印刷Post待ちタスク番号1909を1とする(44
8)。
If the determination in step 441 is No and single-sided printing is designated, the front-side printing Post waiting task number 1907 is incremented by 1 (443). After that, it is determined whether or not the front-side printing Post waiting task number is larger than the total number of printing tasks (444), and if so, the front-side printing Post waiting task number 1907 is set to 1 (445). Then, the back side printing Post waiting task number 1909 is incremented by 1 (44
6). After that, it is determined whether the back side printing Post waiting task number is larger than the total number of printing tasks (447), and if so, the back side printing Post waiting task number 1909 is set to 1 (44).
8).

【0229】次に図44を参照しながら、両面印刷終り
タスクの処理手順を説明する。本タスクはまず、プリン
タリザーブマクロを発行しプリンタの使用権を獲得する
(450)。続いて、表面印刷待ち行列内に待ちタスク
があるか判定する(451)。あれば、前述の表面印刷
待ち解除マクロを解除モード1で発行することにより、
本表面印刷待ち行列内の全タスクを先頭から順に、表面
印刷待ち状態から解除する(452)。次に表面印刷Po
st必要フラグ1906がONか判定する(453)。O
Nならば、本フラグをOFFにした後(454)、表面
印刷Post待ちタスク番号1907用のマルチページコピ
ー連絡用ECBアドレスを入力として、Postマクロを発
行する(455)。該両面印刷終りタスクは、以上の処
理の後、プリンタフリーマクロを発行してプリンタの使
用権を解放することにより、処理を終える(456)。
Next, the processing procedure of the double-sided printing end task will be described with reference to FIG. This task first issues a printer reserve macro and acquires the right to use the printer (450). Then, it is determined whether there is a waiting task in the front side printing queue (451). If so, by issuing the front side print wait release macro in release mode 1,
All the tasks in the front side printing queue are released from the front side printing waiting state in order from the head (452). Next, surface printing Po
It is determined whether the st necessary flag 1906 is ON (453). O
If the flag is N, this flag is turned off (454), and the Post macro is issued with the ECB address for multi-page copy communication for the front print Post waiting task number 1907 as input (455). After the above processing, the double-sided printing end task terminates the processing by issuing a printer-free macro to release the right to use the printer (456).

【0230】なお、450と456のプリンタリザーブ
/フリーマクロの発行目的を、次に示す。
The purpose of issuing the printer reserve / free macros 450 and 456 is shown below.

【0231】(a)実際の印刷を行うために両面印刷終
りタスクより前に発行されている印刷タスクが処理を終
了する前に、両面印刷終りタスクが実行されるのを防止
する。これにより、図12に示したページ順序を守った
印刷を達成できるようにする。
(A) Prevent the double-sided print end task from being executed before the print task issued before the double-sided print end task to finish the actual printing. As a result, it is possible to achieve printing in which the page order shown in FIG. 12 is maintained.

【0232】(b)図5の印刷コマンド列を例にして説
明すると、第1ページ〜第3ページ用の各印刷タスク
は、一連の印刷マクロの発行処理(3545)におい
て、プリンタリザーブによりプリンタの使用権を獲得す
る(401)。その後、403〜407の印刷マクロを
発行することにより、プリンタエンジン部120との間
の入出力処理を行う。該入出力処理において、各印刷マ
クロは、本マクロの発行者である各印刷タスクを、入出
力待ち状態に移す。
(B) Explaining the print command sequence in FIG. 5 as an example, each print task for the first page to the third page is executed by the printer reserve in the series of print macro issuing processing (3545). The usage right is acquired (401). After that, the print macros 403 to 407 are issued to perform input / output processing with the printer engine unit 120. In the input / output processing, each print macro shifts each print task, which is the issuer of this macro, to the input / output waiting state.

【0233】(c)この時、各印刷タスクより後で起動
された両面印刷終りタスクが、前述のタスク制御部1
2’内のタスクディスパッチャの機能により実行状態に
移されることがある。
(C) At this time, the double-sided printing end task activated after each print task is the task control unit 1 described above.
It may be moved to the execution state by the function of the task dispatcher in 2 '.

【0234】(d)ところが、両面印刷終りタスクが4
50においてプリンタリザーブマクロを発行する。この
時、前述の各印刷タスクが前記401の処理により既に
プリンタの使用権を獲得済みであるため、両面印刷終り
タスクBは該プリンタ使用権の獲得待ち状態に移され
る。
(D) However, the task for finishing double-sided printing is 4
At 50, a printer reserve macro is issued. At this time, since the above-mentioned print tasks have already acquired the printer use right by the processing of 401, the double-sided printing end task B is moved to the printer use right acquisition waiting state.

【0235】(e)この結果、第1ページ〜第3ページ
用の各印刷タスクより後に起動された両面印刷終りタス
クが、451〜455の処理を進めることを防止する。
(E) As a result, the double-sided printing end task activated after the print tasks for the first page to the third page are prevented from proceeding the processing of 451 to 455.

【0236】(f)また、印刷タスクのうち最後のも
の、この例では第3ページ用の印刷タスクが、プリンタ
フリーマクロを発行し、プリンタの使用権を解放した時
点で、両面印刷終りタスクが該プリンタ使用権の獲得待
ち状態から直ちに解除され、プリンタの使用権を獲得す
る。
(F) Further, when the last print task, in this example, the print task for the third page, issues a printer-free macro and releases the right to use the printer, the double-sided print end task is executed. The printer is immediately released from the waiting state for acquiring the right to use the printer and acquires the right to use the printer.

【0237】(g)以上により、図12に示したページ
順序を守った印刷を、達成することができる。
(G) By the above, printing in which the page order shown in FIG. 12 is observed can be achieved.

【0238】(h)なお、450と456によるプリン
タリザーブ/フリーマクロの発行を行わない場合、前述
の(d)に示した処理がなされないため、各印刷タスク
より後に起動された両面印刷終りタスクが、451〜4
55の処理を進めることになる。そのため、予期してい
なかった表面印刷待ち解除や表面印刷post関係の処理が
なされる。従って、前述の図12に示したページ順序を
守った印刷を、達成できなくなることがあり、ユーザに
とって混乱した印刷結果が生じることになる。
(H) If the printer reserve / free macro is not issued by 450 and 456, the processing shown in (d) above is not performed, so the double-sided printing end task started after each print task. But 451-4
The processing of 55 is advanced. Therefore, unexpected processing for releasing the surface printing waiting and processing related to the surface printing post is performed. Therefore, it may not be possible to achieve the printing that adheres to the page order shown in FIG. 12 described above, resulting in a confusing printing result for the user.

【0239】次に図45を用いて、ページバッファ制御
用マクロの機能を説明する。本マクロは、本出願人によ
る先願発明、特願平1−282747号と同様、ページ
バッファの獲得と解放及び再獲得を行うが、本実施例で
は両面印刷に対応するため以下の点について機能を拡張
した。
Next, the function of the page buffer control macro will be described with reference to FIG. This macro performs acquisition, release, and reacquisition of the page buffer similarly to the prior invention of the present applicant, Japanese Patent Application No. 1-282747, but in this embodiment, the following points are provided to support double-sided printing. Extended.

【0240】(1)空きページバッファの検索 空きページバッファは、最後に獲得したページバッファ
の次のページバッファから検索を行う。そのページバッ
ファが使用中の場合、その次のページバッファを検索す
る。このようにして、空きページバッファが見つかるま
で順に検索を行う。全ページバッファを一巡検索しても
空きページバッファが見つからなかい場合、ページバッ
ファ空き待ちとする。
(1) Search of Free Page Buffer The free page buffer searches from the page buffer next to the last acquired page buffer. If the page buffer is in use, the next page buffer is searched. In this way, the search is sequentially performed until a free page buffer is found. If no free page buffer is found after searching all page buffers once, wait for page buffer to become empty.

【0241】例えば、最後に獲得したページバッファが
6番目とする。すると、次ページのための空きページバ
ッファ検索は、ページバッファの7番目から行う。そこ
でそのページバッファが空き(未使用)であれば、ペー
ジバッファの獲得を行う。使用中であれば、ページバッ
ファの8番目以降について順に空きページバッファの検
索を行っていく。
For example, assume that the last acquired page buffer is the sixth. Then, the free page buffer search for the next page is performed from the seventh page buffer. Therefore, if the page buffer is free (unused), the page buffer is acquired. If it is in use, the free page buffer is searched sequentially for the eighth and subsequent pages in the page buffer.

【0242】(2)ページバッファリザーブ及びページ
バッファ再リザーブ ページバッファの1単位をA4サイズとして説明する。
これは、B5サイズを1単位とする方法では、A3サイ
ズのページバッファを獲得する際、余分なメモリが発生
することとなるからであるが、B5等の他のサイズを1
単位としても同様に実現することができる。
(2) Page Buffer Reserve and Page Buffer Reservation One unit of the page buffer will be described as A4 size.
This is because in the method of using B5 size as one unit, extra memory is generated when the page buffer of A3 size is acquired, but other sizes such as B5 are set to 1
The same can be realized as a unit.

【0243】(a)入力紙サイズがA4サイズ以下の場
合 A5、B5サイズ等のA4サイズ以下の紙サイズの場合
も、A4サイズ1単位分のページバッファを獲得する。
(A) When the input paper size is A4 size or smaller Even when the paper size is A4 size or smaller such as A5 and B5 size, the page buffer for one unit of A4 size is acquired.

【0244】(b)入力紙サイズがA4サイズより大き
い場合 B4、A3サイズ等のA4サイズより大きく、A3サイ
ズ以下の紙サイズの場合、A4サイズ2単位分のページ
バッファ(A3サイズのページバッファ分)、図49の
例ではページバッファ0と1、ページバッファ2と3等
の対を獲得する。 例えば、図49のように、A4サイ
ズの単位ページバッファを3面分(0から2)使用して
おり、次に獲得したい紙サイズがA4サイズより大きい
ものとする。この場合、前述の空きページバッファの検
索を、ページバッファ獲得の起点を偶数番目のページバ
ッファとして行うことにより、ページバッファ3と4で
なく、ページバッファ4と5を獲得するようにする。こ
れは、ページバッファを無駄なく、使用するためであ
る。ページバッファ3と4といったように、ページバッ
ファの空いているところを単に獲得していくと、本来な
らばA3サイズについてページバッファを5つ配置でき
るところが、4つになってしまうから(ページバッファ
9と0が連続して獲得できないため)である。
(B) When the input paper size is larger than the A4 size, when the paper size is larger than the A4 size such as B4 and A3 size and smaller than the A3 size, the page buffer for 2 units of the A4 size (the page buffer for the A3 size) ), The pair of page buffers 0 and 1, page buffers 2 and 3, etc. are acquired. For example, as shown in FIG. 49, it is assumed that the unit page buffer of A4 size is used for three sides (0 to 2) and the paper size to be acquired next is larger than A4 size. In this case, the above-mentioned search for the empty page buffer is performed by using the page buffer acquisition starting point as an even-numbered page buffer, so that the page buffers 4 and 5 are acquired instead of the page buffers 3 and 4. This is to use the page buffer without waste. If the empty areas of the page buffers, such as the page buffers 3 and 4, are simply acquired, the number of the A3 size page buffers that can be arranged will be four (page buffer 9). And 0 cannot be obtained continuously).

【0245】図46、図47、図48のように、プリン
タ制御用マクロとして次のものを用意した。
As shown in FIGS. 46, 47 and 48, the following printer control macros were prepared.

【0246】 (a)プリンタ初期化 (b)レデイ状態確認 (c)片面・両面印刷用印刷指示 (d)給紙部確認 (e)給紙部指示 (f)排紙部確認 (g)排紙部指示 (h)プリンタリザーブ (i)プリンタフリー (j)表面印刷待ち (k)表面印刷待ち解除 (l)前半印刷済み用紙排出 (m)プリンタ状態変更 (n)エラーコード確認 以上のマクロの多くは、本出願人による先願発明、特願
平1−164637号や本発特願平1−282747号
の場合と同様であるが、本発明では両面印刷に対応する
ため、本実施例では(d)、(e)、(f)、(g)、
(n)の機能を拡張するとともに、(c)、(j)、
(k)、(l)、(m)のマクロを追加した。
(A) Printer initialization (b) Ready status confirmation (c) Print instruction for single-sided / double-sided printing (d) Sheet feeding section confirmation (e) Sheet feeding section instruction (f) Paper ejection section confirmation (g) Ejection Paper section instruction (h) Printer reserve (i) Printer free (j) Waiting for front side printing (k) Releasing front side printing (l) Ejecting the first half printed paper (m) Changing printer status (n) Checking error code Macro above Many of them are the same as those of the prior invention of the present applicant, Japanese Patent Application No. 1-164637 and Japanese Patent Application No. 1-282747, but in the present invention, since double-sided printing is supported, (D), (e), (f), (g),
While expanding the function of (n), (c), (j),
Added macros (k), (l), and (m).

【0247】次に紙なしエラー時の処理方式を図53〜
図57を用いて説明する。
Next, the processing method for a paper out error will be described with reference to FIG.
This will be described with reference to FIG.

【0248】紙なしが発生すると、片面印刷では紙が補
給されるまで印刷制御装置(プリンタコントローラ)1
10をホールド状態と呼ぶ中断状態とする。紙が補給さ
れると前述のホールド状態から解除され、印刷処理を再
開する。両面印刷時には、片面印刷時と同様に処理する
と、プリンタエンジン内に用紙が滞留したままの状態に
なってしまう。従って、両面印刷では紙なしが発生した
場合、プリンタエンジン内に滞留されている用紙につい
ては印刷可能(表面ページについての後半印刷)である
ため、印刷を実行し、該滞留用紙を排出する。そして、
用紙が補給されるまで印刷制御装置110をホールド状
態とし、補給されるとそこから再開するようにする。な
お、紙なしは裏面印刷(前半印刷)で発生し、検出され
る。
When a paper-out condition occurs, in single-sided printing, the print control device (printer controller) 1 is used until paper is replenished.
10 is a suspended state called a hold state. When the paper is replenished, the hold state is released and the printing process is restarted. If the same processing as in single-sided printing is performed during double-sided printing, the sheet remains in the printer engine. Therefore, in the double-sided printing, when the paper runs out, the paper retained in the printer engine can be printed (the latter half printing of the front page), so printing is executed and the retained paper is ejected. And
The print control apparatus 110 is kept in the hold state until the paper is replenished, and when the paper is replenished, the printing control apparatus 110 is restarted from there. It should be noted that the absence of paper occurs and is detected in the back side printing (first half printing).

【0249】紙なしエラーを検出した場合、中断タスク
と印刷タスクは、前述の印刷タスクのポイント(7)の
(d)に示した手順を実行する。この手順における、中
断タスクによる「表面印刷可能タスクの待ち解除」の処理
手順を、(ア)同期エラーと非同期エラー、(イ)シングル
ページコピーとマルチページコピーの各場合について説
明する。「表面印刷可能タスクの待ち解除」の処理手順を
中心に説明する。
When the paper out error is detected, the interrupt task and the print task execute the procedure shown in point (d) of point (7) of the print task. In this procedure, the processing procedure of “waiting release of front surface printable task” by the suspended task will be described for each case of (a) synchronous error and asynchronous error, and (b) single page copy and multipage copy. The processing procedure of “waiting release of surface printable task” will be mainly described.

【0250】(A)同期紙なしエラーの場合 (a)シングルページコピー時処理手順 シングルページコピー時の紙なしエラー処理では、紙な
し発生ページに対応する表面ページ用の印刷タスクを除
いた、表面印刷待ち行列内のすべての印刷タスクを待ち
状態から解除する。
(A) Synchronous paper-free error (a) Single-page copy processing procedure In paper-free error processing at the time of single-page copy, the front-side page except the print task for the front page corresponding to the paper-free occurrence page is excluded. Releases all print tasks in the print queue from the wait state.

【0251】図53はページ通し番号10(以下P10と
表す、同様にページ通し番号iのページをPiと表す)
にて紙なしエラーが発生した場合であり、表面印刷待ち
状態にあるP5とP7用の印刷タスク(表面印刷待ち行
列につながれている)を待ち行列からはずし、該待ち状
態から解除し、印刷を行なっている。
FIG. 53 shows a page serial number 10 (hereinafter referred to as P10, similarly a page with a page serial number i is represented as Pi).
When a paper out error occurs in, the print tasks for P5 and P7 (linked to the front side print queue) that are in the front side print wait state are removed from the queue, released from the wait state, and printing is performed. I am doing it.

【0252】図53について、さらに詳しく説明する。53 will be described in more detail.

【0253】本図では、各ページバッファに描画された
印刷データについての印刷タスクによる処理を、該ペー
ジバッファの真下に示す。例えば、ページバッファ1
(53A1)の真下に、以下の処理を示す。
In this figure, the processing by the print task for the print data drawn in each page buffer is shown directly below the page buffer. For example, page buffer 1
The processing below is shown directly below (53A1).

【0254】・まずページ通し番号1(P1、53A
2)用の印刷タスクによる表面印刷待ち(5301、本
図では待ちと省略して記述)と印刷(5309) ・続いてページ通し番号9(P9、53A3)用の印刷
タスクによる表面印刷待ち解除(5311、本図では待
ち解除と省略して記述)と本タスク自身の表面印刷待ち
(5312) 同様に、ページバッファ2(53B1)の真下に、以下
の処理を示す。
First, page serial number 1 (P1, 53A
2) Wait for front side printing by print task (5301, abbreviated as wait in this figure) and print (5309) -Subsequently release front side print wait by print task for page serial number 9 (P9, 53A3) (5311) (In this figure, the description is abbreviated as “wait release”) and the front side print waiting of this task itself (5312). Similarly, the following processing is shown just below the page buffer 2 (53B1).

【0255】・まずページ通し番号2(P2、53B
2)用の印刷タスクによる印刷(5302) ・続いてページ通し番号10(P10、53B3)用の
印刷タスク関係のエラー処理による中断タスク起動(5
315)と本印刷タスクによる印刷(5319) 本図における処理手順を、順番に説明する。
First, page serial number 2 (P2, 53B
Printing by the print task for 2) (5302) -Then, the suspended task is activated by error processing related to the print task for page serial number 10 (P10, 53B3) (5
315) and printing by this print task (5319) The processing procedure in this figure will be described in order.

【0256】(1)ページ通し番号1(P1、53A
2)用の印刷タスクが表面印刷待ち(5301)にな
る。
(1) Page serial number 1 (P1, 53A
The print task for 2) becomes the front side print wait (5301).

【0257】(2)ページ通し番号2(P2、53B
2)用の印刷タスクが印刷を行う(5302)。
(2) Page serial number 2 (P2, 53B
The print task for 2) performs printing (5302).

【0258】(3)以下、ページ通し番号3用の印刷タ
スクの表面印刷待ち(5303)、ページ通し番号4用
の印刷タスクの印刷(5304)、ページ通し番号5用
の印刷タスクの表面印刷待ち(5305)、ページ通し
番号6用の印刷タスクの印刷(5306)を行う。
(3) Hereinafter, waiting for front side printing of a print task for page serial number 3 (5303), printing a print task for page serial number 4 (5304), waiting for surface printing of a print task for page serial number 5 (5305). The printing task for page serial number 6 is printed (5306).

【0259】(4)次に、ページ通し番号7用の印刷タ
スクが、プリンタエンジン滞留枚数到達を検出し、表面
印刷待ち行列の先頭印刷タスクの表面印刷待ち状態から
の解除(5307、本解除により該待ち行列からはずさ
れる)と、該印刷タスク自身の表面印刷待ち状態への移
行(5308)を行う。
(4) Next, the print task for page serial number 7 detects the arrival of the number of remaining sheets in the printer engine, and releases the top print task in the front side print queue from the front side print waiting state (5307, the release state When the print task itself is released from the queue), the print task itself shifts to the front side print waiting state (5308).

【0260】(5)5307により表面印刷待ち状態か
ら解除されたページ通し番号1用の印刷タスクが印刷を
行う(5309)。
(5) The print task for page serial number 1, which is released from the front side print waiting state by 5307, prints (5309).

【0261】(6)ページ通し番号8(P8)用の印刷
タスクが印刷を行う(5310)。
(6) The print task for page serial number 8 (P8) prints (5310).

【0262】(7)ページ通し番号9(P9、53A
3)用の印刷タスクが、プリンタエンジン滞留枚数到達
を検出し、表面印刷待ち行列の先頭印刷タスクの表面印
刷待ち状態からの解除(5311)と、該印刷タスク自
身の表面印刷待ち状態への移行(5312)を行う。
(7) Page serial number 9 (P9, 53A
The print task for 3) detects that the number of remaining sheets in the printer engine has been reached, releases the head print task in the front side print queue from the front side print waiting state (5311), and shifts to the front side print waiting state of the print task itself. (5312) is performed.

【0263】(8)5311により表面印刷待ち状態か
ら解除されたページ通し番号3用の印刷タスクが印刷を
行う(5313)。
(8) The printing task for page serial number 3 released from the front side print waiting state by 5311 performs printing (5313).

【0264】(9)ページ通し番号10(P10)用の
印刷タスクが印刷を行おうとした時、紙なしエラーが発
生した(5314)。
(9) When the print task for page serial number 10 (P10) tried to print, a paper out error occurred (5314).

【0265】(10)ページ通し番号10(P10)用
の印刷タスク関係のエラー処理が中断タスクを起動し、
該中断タスクが対応する表面ページを除いた全ての表面
印刷待ちを解除する(5315)。
(10) The error processing related to the print task for the page serial number 10 (P10) starts the interrupted task,
All the front side print waits other than the front side page corresponding to the suspended task are released (5315).

【0266】(11)5315により表面印刷待ち状態
から解除されたページ通し番号5用の印刷タスクとペー
ジ通し番号7用の印刷タスクが印刷を行う(5316と
5317)。
(11) The print task for page serial number 5 and the print task for page serial number 7 which have been released from the front side print waiting state by 5315 perform printing (5316 and 5317).

【0267】(12)ユーザやシステム管理者が紙を補
給する(5318)。
(12) The user or system administrator supplies paper (5318).

【0268】(13)紙の補給に伴い、ページ通し番号
10(P10)用の印刷タスクが印刷を行う(531
9)。
(13) As the paper is replenished, the print task for page serial number 10 (P10) prints (531).
9).

【0269】(14)以下、ページ通し番号11用の印
刷タスクの表面印刷待ち状態への移行(5320)、ペ
ージ通し番号12用の印刷タスクの印刷(5321)、
ページ通し番号13用の印刷タスクの表面印刷待ち状態
への移行(5322)、ページ通し番号14用の印刷タ
スクの印刷(5323)というように処理が進行する。
(14) Hereinafter, the print task for the page serial number 11 shifts to the front side print waiting state (5320), the print task for the page serial number 12 prints (5321),
The process proceeds such as shifting the print task for page serial number 13 to the front side print waiting state (5322) and printing the print task for page serial number 14 (5323).

【0270】(b)マルチページコピー時処理手順マル
チページコピー時の紙なしエラー処理では、まず、紙な
しエラー発生ページの印刷完了部数を調べる。総印刷部
数分完了していれば現在白紙印刷部数を、完了していな
ければ現在印刷部数を、印刷完了部数とする。
(B) Processing procedure for multi-page copy In the paper-free error processing at the time of multi-page copy, first, the number of print completion copies of the paper-free error occurrence page is checked. If the printing has been completed for the total number of prints, the current blank print count is set. If not, the current print copy is set as the print completion print count.

【0271】そして、印刷完了部数が0部の場合、紙な
しエラー発生ページに対応する表面ページ用の印刷タス
クを除いた、表面印刷待ち行列内の全ての印刷タスクを
待ち状態から解除する。
When the number of copies to be printed is 0, all the print tasks in the front side print queue except the print task for the front side page corresponding to the paper out error page are released from the waiting state.

【0272】印刷完了部数が1部以上の場合、紙なし発
生ページに対応する表面ページ用の印刷タスクまでの、
表面印刷待ち行列内の全ての印刷タスクを待ち状態から
解除する。そして、表面印刷POST必要フラグがONなら
ば、本フラグをOFFにした後、表面印刷POST待ち解除をp
ostマクロを用いて実行する。
When the number of print completion copies is 1 or more, up to the print task for the front page corresponding to the paper-free occurrence page,
Releases all print tasks in the front side print queue from the waiting state. If the front surface printing POST required flag is ON, turn this flag OFF and then release the front surface printing POST wait
Execute using ost macro.

【0273】図54はP4の2部目で紙なしが発生した
場合を表している。本ケースは詳しくは、表面印刷待
ち行列に表面印刷待ちの印刷タスクがつながれており、
紙なし発生ページの印刷完了部数が1部以上の例を示
している。
FIG. 54 shows the case where the paper out occurs in the second copy of P4. In this case, in detail, a print task waiting for front side printing is connected to the front side print queue.
An example is shown in which the number of print completed copies of the paper-free page is one or more.

【0274】ここで、紙なしエラーが発生すると中断タ
スクが起動される。中断タスクの処理手順を図57に示
す。中断タスクでは、紙なしエラーの場合(571)、
両面印刷紙なしエラー発生フラグ1912(図22)を
ONにした後(573)、表面印刷可能タスクの待ち解除
を行う(574)。
Here, when a paper out error occurs, the suspended task is activated. The processing procedure of the suspended task is shown in FIG. In the interrupted task, if there is no paper error (571),
Double-sided printing paper out error flag 1912 (Fig. 22)
After turning on (573), the waiting for the front surface printable task is released (574).

【0275】本待ち解除では、表面印刷待ち行列内のペ
ージ通し番号3(P3)に対応する印刷タスクの表面印刷待
ち解除と、表面印刷POST待ち状態にあるページ通し番号
1(P1)の印刷タスクに対するPost処理を行う。その後、
中断タスクは、waitマクロを発行することにより、表面
印刷可能タスク終了待ち状態となる(575)。
In this wait release, the front side print wait release of the print task corresponding to the page serial number 3 (P3) in the front side print queue and the Post task for the print task with the page serial number 1 (P1) in the front side print POST wait state. Perform processing. afterwards,
The suspended task enters a wait state for the end of the surface printable task by issuing the wait macro (575).

【0276】すると、プリンタエンジン内滞留用紙につ
いての印刷、つまりP1の5部目、P3の1部目の印刷が行
われる。ページ通し番号3(P3)についての印刷タスク
の処理において、1部目を印刷した時点(プリンタエン
ジン内のすべての滞留用紙が印刷されている)で、図3
5に示す前述の3555と3556の処理を行い、図5
1における422の処理によりpostマクロを発行するこ
とにより、中断タスクを表面印刷可能タスク終了待ち状
態(575に対応)から解除する。これにより、中断タ
スクの処理に戻る。中断タスクは、片面印刷の場合と同
様の従来処理を行う。該中断タスクについての従来処理
では、全タスク中断576、ウェイト(wait)577、
全タスク再開578、タスク終了575等を実行する。
詳細な処理の内容は、本出願人による先願発明、特開平
1−121523号で説明したものと同じである。
Then, printing is performed on the staying paper in the printer engine, that is, the fifth copy of P1 and the first copy of P3 are printed. In the processing of the print task for page serial number 3 (P3), when the first copy is printed (all the accumulated sheets in the printer engine are printed),
5 is performed and the above-described processing of 3555 and 3556 shown in FIG.
By issuing the post macro in the processing of 422 in 1, the suspended task is released from the front side printable task end waiting state (corresponding to 575). This returns to the processing of the interrupted task. The suspended task performs the same conventional processing as in single-sided printing. In the conventional processing for the suspended task, all task suspension 576, wait (wait) 577,
Resume all tasks 578, task end 575, etc. are executed.
The details of the processing are the same as those described in Japanese Patent Application Laid-Open No. 1-121523, which is a prior invention of the present applicant.

【0277】図54について、さらに詳しく説明する。
本図でも図53と同様、各ページバッファに描画された
印刷データについての印刷タスクによる処理を、該ペー
ジバッファの真下に示す。例えば、ページバッファ1
(54A1)の真下に、ページ通し番号1(P1、54
A2)用の印刷タスクによる以下の処理を示す。
FIG. 54 will be described in more detail.
In this figure as well, as in FIG. 53, the processing by the print task for the print data drawn in each page buffer is shown directly below the page buffer. For example, page buffer 1
Directly below (54A1), page serial number 1 (P1, 54
The following processing by the print task for A2) is shown.

【0278】・表面印刷待ち(5401、本図でも待ち
と省略して記述) ・第1部目の印刷(5407)と、裏面印刷post待ちタ
スクのpost(5408)と、該タスク自身のwait(54
09)。
-Wait for front side printing (5401, abbreviated as "wait" also in this figure) -Printing the first copy (5407), back side printing post waiting task post (5408), and the task itself wait ( 54
09).

【0279】・第2部目の印刷(5413)と、裏面印
刷post待ちタスクのpost(5414)と、該タスク自身
のwait(5415) ・第3部目の印刷(5419)と該タスク自身のwait
(5420) ・第4部目の印刷(5424)と、裏面印刷post待ちタ
スクのpost(5425)と、該タスク自身のwait(54
26) ・第5部目の印刷(5429) 同様に、ページバッファ2(54B1)の真下に、ペー
ジ通し番号2(P2、54B2)用の印刷タスクによる
以下の処理を示す。
-Printing the second copy (5413), back printing post waiting task post (5414), and the wait itself of this task (5415) -Printing the third copy (5419) and the task itself wait
(5420) -Printing the fourth copy (5424), back side print post waiting task post (5425), and the task itself wait (54
26) Printing the fifth copy (5429) Similarly, the following processing by the print task for the page serial number 2 (P2, 54B2) is shown just below the page buffer 2 (54B1).

【0280】・第1部目の印刷(5402)と第2部目
の印刷(5403)と第3部目の印刷(5404)と表
面印刷待ち解除(5405、本図では待ち解除と省略し
て記述)と本タスク自身のwait(5406) ・第4部目の印刷(5410)と、表面印刷post待ちタ
スクのpost(5411)と、本タスク自身のwait(54
12)。ここで、表面印刷post待ちタスクのpostでは、
表面印刷post待ちタスク番号用のマルチページコピー連
絡用ECBアドレスを入力とする。また、該タスク自身のw
aitでは、該タスクのタスク番号用のマルチページコピ
ー連絡用ECBアドレスを入力とする。
[0280] Printing of the first copy (5402), printing of the second copy (5403), printing of the third copy (5404), and release of front-side printing (5405, abbreviated as "wait release" in this figure) Description) and wait of this task itself (5406) -Printing of the fourth copy (5410), post of front side print post task (5411), and wait of this task itself (54
12). Here, in the post of the front side print post waiting task,
Input the ECB address for multi-page copy communication for the task number waiting for front side printing post. Also, the w of the task itself
In ait, the ECB address for multi-page copy communication for the task number of the task is input.

【0281】・第5部目の印刷(5416) 本図における処理手順を、順番に説明する。Printing the fifth copy (5416) The processing procedure in this figure will be described in order.

【0282】(1)ページ通し番号1(P1、54A
2)用の印刷タスクが表面印刷待ち(5401)にな
る。
(1) Page serial number 1 (P1, 54A
The print task for 2) becomes the front side print wait (5401).

【0283】(2)ページ通し番号2(P2、54B
2)用の印刷タスクが第1部目の印刷(5402)と、
第2部目の印刷(5403)と、第3部目の印刷(54
04)と、表面印刷待ち解除(5405)と、本タスク
自身のwait(5406)を行う。 (3)5405により表面印刷待ち状態から解除された
ページ通し番号1用の印刷タスクが、第1部目の印刷
(5407)と、裏面印刷post待ちタスクのpost(54
08)と、該タスク自身のwait(5409)を行う。こ
こで、裏面印刷post待ちタスクのpostでは、裏面印刷po
st待ちタスク番号用のマルチページコピー連絡用ECBア
ドレスを入力とする。また、該タスク自身のwaitでは、
該タスクのタスク番号用のマルチページコピー連絡用EC
Bアドレスを入力とする。
(2) Page serial number 2 (P2, 54B
The print task for 2) is the printing of the first copy (5402),
Printing the second copy (5403) and printing the third copy (54
04), release front side printing wait (5405), and wait (5406) of this task itself. (3) The print task for the page serial number 1, which is released from the front side print waiting state by 5405, is the print of the first copy (5407) and the back side print post waiting task post (54
08) and the task itself waits (5409). Here, in the post of the back side print post waiting task, the back side print po
Input the ECB address for multi-page copy communication for the st waiting task number. Also, in the wait of the task itself,
EC for multi-page copy contact for task number of the task
Input B address.

【0284】(4)ページ通し番号2用の印刷タスク
が、第4部目の印刷(5410)と、表面印刷post待ち
タスクのpost(5411)と、本タスク自身のwait(5
412)を行う。ここで、表面印刷post待ちタスクのpo
stでは、表面印刷post待ちタスク番号用のマルチページ
コピー連絡用ECBアドレスを入力とする。また、該タス
ク自身のwaitでは、該タスクのタスク番号用のマルチペ
ージコピー連絡用ECBアドレスを入力とする。
(4) The print task for the page serial number 2 is the print of the fourth copy (5410), the front print post waiting task post (5411), and the wait (5) of this task itself.
412) is performed. Here, the po of the task waiting for the surface printing post
In st, the ECB address for multi-page copy communication for the task number waiting for front side printing post is input. In the wait of the task itself, the ECB address for contacting the multi-page copy for the task number of the task is input.

【0285】(5)5411によりwait状態から解除さ
れたページ通し番号1用の印刷タスクが、第2部目の印
刷(5413)と、裏面印刷post待ちタスクのpost(5
414)と、該タスク自身のwait(5415)を行う。
(5) The print task for the page serial number 1, which has been released from the wait state by 5411, is the printing of the second copy (5413) and the post (5) of the back side print post waiting task.
414) and the task itself waits (5415).

【0286】(6)5414によりwait状態から解除さ
れたページ通し番号2用の印刷タスクが、第5部目の印
刷を行う(5416)。
(6) The print task for page serial number 2, which has been released from the wait state by 5414, prints the fifth copy (5416).

【0287】(7)ページ通し番号3用の印刷タスク
が、posマクロを発行することにより、5415に基づ
くwait状態を解除する(5417)。続いて、該タスク
が表面印刷待ちになる(5418)。
(7) The print task for page serial number 3 releases the wait state based on 5415 by issuing the pos macro (5417). Subsequently, the task waits for front side printing (5418).

【0288】(8)5417によりwait状態から解除さ
れたページ通し番号1用の印刷タスクが、第3部目の印
刷(5419)と、該タスク自身のwait(5420)を
行う。
(8) The print task for page serial number 1, which has been released from the wait state by 5417, prints the third copy (5419) and waits for itself (5420).

【0289】(9)ページ通し番号4用の印刷タスク
が、第1部目の印刷(5421)と、表面印刷post待ち
タスクのpost(5422)と、本タスク自身のwait(5
423)を行う。
(9) The print task for the page serial number 4 is the print of the first copy (5421), the front print post waiting task post (5422), and the wait (5) of this task itself.
423) is performed.

【0290】(10)5422によりwaitから解除され
たページ通し番号1用の印刷タスクが、第4部目の印刷
(5424)と、裏面印刷post待ちタスクのpost(54
25)と、該タスク自身のwait(5426)を行う。
(10) The print task for page serial number 1, which is released from wait at 5422, is the printing of the fourth copy (5424) and the post-printing post-waiting task post (54
25) and the task itself waits (5426).

【0291】(11)5425によりwaitから解除され
たページ通し番号2用の印刷タスクが、第2部目の印刷
を行おうとした時、紙なしエラーが発生した(542
7)。
(11) When the print task for page serial number 2 released from wait by 5425 tried to print the second copy, a paper out error occurred (542).
7).

【0292】(10)ページ通し番号2用の印刷タスク
関係のエラー処理が中断タスクを起動し、該中断タスク
が次の処理を行う(5428)。
(10) The error processing related to the print task for the page serial number 2 activates the suspended task, and the suspended task performs the next processing (5428).

【0293】・両面印刷紙なしエラー発生フラグをON
に設定(5428−1)。
[0293] -Turn on the error occurrence flag for double-sided printing paper
Set to (5428-1).

【0294】・表面印刷可能タスクの待ち解除(542
8−2)。本待ち解除では、表面印刷待ち行列内のペー
ジ通し番号3(P3)に対応する印刷タスクの表面印刷待ち
解除(5428−2A)と、表面印刷POST待ち状態にあ
るページ通し番号1(P1)の印刷タスクに対するPost処理
(5428−2B)を行う。
Releasing wait for front surface printable task (542
8-2). In this waiting release, the front side print wait release (5428-2A) of the print task corresponding to the page serial number 3 (P3) in the front side print queue and the print task with the page serial number 1 (P1) in the front side print POST wait state Post processing (5428-2B) is performed.

【0295】・続いて、中断タスクがwaitマクロを発行
することにより、表面印刷可能タスク終了待ち状態とな
る(5428−3)。
Subsequently, the suspended task issues a wait macro to enter the front-end printable task end wait state (5428-3).

【0296】(11)5428−2Bによりwait状態か
ら解除されたページ通し番号1用の印刷タスクが、第5
部目の印刷を行う(5429)。
(11) The print task for page serial number 1 released from the wait state by 5428-2B is
The second copy is printed (5429).

【0297】(12)5428−2Aによりwait状態
(表面印刷POST待ち状態)から解除されたページ通し番
号3用の印刷タスクが、第1部目の印刷を行う(543
0)。続いて、該タスクが図54の(注1)に示したよ
うに、プリンタエンジン滞留枚数が0であることを検出
したため(図51の421に対応)、postマクロを発行
することにより(図51の422に対応)、中断タスク
を前述の表面印刷可能タスク終了待ち状態から解除し
(5431)、本タスク自身のwaitを行う(543
2)。
(12) The print task for page serial number 3, which has been released from the wait state (front-side print POST wait state) by 5428-2A, prints the first copy (543).
0). Subsequently, as shown in (Note 1) of FIG. 54, the task detects that the number of remaining printer engine sheets is 0 (corresponding to 421 in FIG. 51), and thus issues a post macro (FIG. 51). 422), the suspended task is released from the above-mentioned waiting state for finishing the surface printable task (5431), and this task waits itself (543).
2).

【0298】(13)ユーザやシステム管理者が紙を補
給する(5433)。
(13) The user or system administrator supplies paper (5433).

【0299】(14)紙の補給に伴い、紙なしエラーの
発生に伴い中断されていたページ通し番号2用の印刷タ
スクが処理を再開し、第2部目の印刷を実行する(54
34)。(15)次に、ページ通し番号2(P2、54
B2)用の印刷タスクが第3部目の印刷(5435)
と、第4部目の印刷(5436)と、表面印刷post待ち
タスクのpost(5437)と、本タスク自身のwait(5
438)を行う。
(14) As the paper is replenished, the print task for the page serial number 2, which was suspended due to the occurrence of the paper-out error, resumes processing and executes printing of the second copy (54
34). (15) Next, page serial number 2 (P2, 54
Print task for B2) prints the third copy (5435)
Printing of the fourth copy (5436), post of the front side print post waiting task (5437), and wait of this task itself (5
438).

【0300】(16)以下、5437によりwaitから解
除されたページ通し番号3用の印刷タスクが、第2部目
の印刷(5439)と、裏面印刷post待ちタスクのpost
(5440)と、該タスク自身のwait(5441)を行
うというように、処理が進行する。
(16) Below, the print task for page serial number 3 which has been released from wait by 5437 is the print of the second copy (5439) and the back side print post waiting task post task.
(5440) and the task itself waits (5441), and so on.

【0301】図55はP2の5部目で紙なしが発生した
場合を表している。本ケースは詳しくは、表面印刷待
ち行列に表面印刷待ちの印刷タスクがつながれていず、
紙なし発生ページの印刷完了部数が1部以上の例を示
している。
FIG. 55 shows the case where paper empty occurs in the fifth copy of P2. In this case, in detail, there is no print task waiting for front side printing in the front side printing queue,
An example is shown in which the number of print completed copies of the paper-free page is one or more.

【0302】ここで、紙なしエラーが発生すると中断タ
スクが起動される。中断タスクでは、両面印刷紙なしエ
ラー発生フラグをONにした後、表面印刷可能タスクの待
ち解除を行う。
Here, when a paper-out error occurs, the suspended task is activated. In the suspended task, after turning on the double-sided printing paper no error occurrence flag, the waiting for the front side printable task is released.

【0303】本待ち解除では、表面印刷POST待ち状態に
あるページ通し番号1(P1)の印刷タスクに対するPost処
理を行う。その後、中断タスクは、waitマクロを発行す
ることにより、表面印刷可能タスク終了待ち状態となる
(575)。
In this waiting release, Post processing is performed for the print task of page serial number 1 (P1) in the front side printing POST waiting state. Then, the suspended task issues a wait macro to enter a waiting state for the surface printable task end (575).

【0304】すると、プリンタエンジン内滞留用紙につ
いての印刷、つまりP1の3部目と4部目の印刷が行われ
る。ページ通し番号1(P1)についての印刷タスクの処
理において、4部目を印刷した時点(プリンタエンジン
内のすべての滞留用紙が印刷されている)で、図35に
示す前述の3555と3556の処理を行い、図51に
おける422の処理によりpostマクロを発行することに
より、中断タスクを表面印刷可能タスク終了待ち状態
(575に対応)から解除する。これにより、中断タス
クの処理に戻る。中断タスクは、図54の場合と同様、
片面印刷用と同様の従来処理を行う。
Then, printing is performed on the staying paper in the printer engine, that is, printing of the third and fourth copies of P1 is performed. In the processing of the print task for the page serial number 1 (P1), when the fourth copy is printed (all the accumulated sheets in the printer engine are printed), the above-described processing of 3555 and 3556 shown in FIG. The suspended task is released from the surface printable task end wait state (corresponding to 575) by issuing the post macro by the processing of 422 in FIG. This returns to the processing of the interrupted task. The suspended task is the same as in the case of FIG.
The same conventional processing as for single-sided printing is performed.

【0305】図56はP4の1部目で紙なしが発生した
場合を表している。本ケースは詳しくは、表面印刷待
ち行列に表面印刷待ちの印刷タスクがつながれており、
紙なし発生ページの印刷完了部数が0部である例を示
している。
FIG. 56 shows the case where the paper out occurs in the first copy of P4. In this case, in detail, a print task waiting for front side printing is connected to the front side print queue.
An example is shown in which the number of print completed copies of the paper out occurrence page is 0.

【0306】ここで、紙なしエラーが発生すると中断タ
スクが起動される。中断タスクでは、両面印刷紙なしエ
ラー発生フラグをONにした後、表面印刷可能タスクの待
ち解除を行う。
Here, when a paper out error occurs, the suspended task is activated. In the suspended task, after turning on the double-sided printing paper no error occurrence flag, the waiting for the front side printable task is released.

【0307】本待ち解除では、表面印刷POST待ち状態に
あるページ通し番号1(P1)の印刷タスクに対するPost処
理を行う。その後、中断タスクは、waitマクロを発行す
ることにより、表面印刷可能タスク終了待ち状態となる
(575)。
In this waiting release, Post processing is performed for the print task of page serial number 1 (P1) in the front side printing POST waiting state. Then, the suspended task issues a wait macro to enter a waiting state for the surface printable task end (575).

【0308】すると、プリンタエンジン内滞留用紙につ
いての印刷、つまりP1の4部目、5部目の印刷が行われ
る。ページ通し番号1(P1)についての印刷タスクの処
理において、5部目を印刷した時点(プリンタエンジン
内のすべての滞留用紙が印刷されている)で、図35に
示す前述の3555と3556の処理を行い、図51に
おける422の処理によりpostマクロを発行することに
より、中断タスクを表面印刷可能タスク終了待ち状態
(575に対応)から解除する。これにより、中断タス
クの処理に戻る。中断タスクは、図54の場合と同様、
片面印刷用と同様の従来処理を行う。
Then, printing is performed on the staying paper in the printer engine, that is, printing of the fourth and fifth copies of P1 is performed. In the processing of the print task for the page serial number 1 (P1), at the time when the fifth copy is printed (all the accumulated sheets in the printer engine are printed), the above-described processing of 3555 and 3556 shown in FIG. The suspended task is released from the surface printable task end wait state (corresponding to 575) by issuing the post macro by the processing of 422 in FIG. This returns to the processing of the interrupted task. The suspended task is the same as in the case of FIG.
The same conventional processing as for single-sided printing is performed.

【0309】(B)非同期紙なしエラーの場合 (a)シングルページコピー時処理手順 非同期紙なしエラーでは、原理的に、表面印刷待ち行列
の最後につながれている表面ページに対応する裏面ペー
ジの印刷処理において、紙なしエラーが発生する。
(B) Asynchronous paper-less error (a) Single-page copy processing procedure In asynchronous paper-free error, in principle, printing of the back side page corresponding to the front side page connected at the end of the front side printing queue In the process, a paper out error occurs.

【0310】従って、待ち行列の最後につながれている
表面ページ用の印刷タスクを除いた、表面印刷待ち行列
内のすべての印刷タスクは印刷可能である。そこで、そ
れらの印刷可能な印刷タスクは表面印刷待ち状態から解
除し、印刷を行う。
Therefore, all print tasks in the front side print queue are printable, except for the print task for the front side page that is queued at the end of the queue. Therefore, those printable print tasks are released from the front side print waiting state and printing is performed.

【0311】例えば、表面印刷待ち行列にP3、P5、
P7と印刷タスクがつながれている場合、P8で紙なし
が発生したとする。この場合、P7の印刷タスクを除い
たP3、P5の印刷タスクを表面印刷待ち行列からはず
し、表面印刷待ち状態から解除するようにし、印刷を行
うようにした。
For example, P3, P5,
When P7 and the print task are connected, it is assumed that paper out occurs at P8. In this case, the print tasks of P3 and P5 excluding the print task of P7 are removed from the front side print queue, the front side print waiting state is released, and printing is performed.

【0312】(b)マルチページコピー時処理手順 非同期紙なしエラーは、シングルページコピーの場合と
同様、表面印刷待ち行列の最後につながれている表面ペ
ージに対応する裏面ページの印刷処理において紙なしエ
ラーが発生する。
(B) Processing procedure during multi-page copy The asynchronous paper-out error is the paper-out error in the print processing of the back page corresponding to the front page connected at the end of the front print queue, as in the case of single page copy. Occurs.

【0313】従って、待ち行列の最後につながれている
表面ページに対応する裏面ページについての印刷完了部
数を調べる。総印刷部数分完了していれば現在白紙印刷
部数を、完了していなければ現在印刷部数を、印刷完了
部数とする。
Therefore, the number of print completion copies of the back page corresponding to the front page connected at the end of the queue is checked. If the printing has been completed for the total number of prints, the current blank print count is set. If not, the current print copy is set as the print completion print count.

【0314】そして、印刷完了部数が0部の場合、待ち
行列の最後につながれている表面ページ用の印刷タスク
を除いた、表面印刷待ち行列内のすべての印刷タスクを
表面印刷待ち状態から解除する。
When the number of copies to be printed is 0, all print tasks in the front side print queue except the print task for the front side page which is linked to the end of the queue are released from the front side print waiting state. .

【0315】印刷完了部数が1部以上の場合、表面印刷
待ち行列内のすべての印刷タスクを表面印刷待ち状態か
ら解除する。そして、表面印刷POST必要フラグがONなら
ば、本フラグをOFFにした後、表面印刷POST待ち解除をp
ostマクロを用いて実行する。
When the number of print completion copies is 1 or more, all the print tasks in the front side print queue are released from the front side print waiting state. If the front surface printing POST required flag is ON, turn this flag OFF and then release the front surface printing POST wait
Execute using ost macro.

【0316】(C)処理概略 紙なしエラーが発生した場合、プリンタエンジン内の滞
留用紙を印刷させるための処理は、前述のように図57
の中断タスクにて行った。
(C) Outline of processing The processing for printing the staying paper in the printer engine when the paper out error occurs will be described with reference to FIG.
It was done in the interruption task of.

【0317】次に、図58〜図67を用いて、両面印刷
におけるマルチページコピー処理方式を説明する。初め
に、表面印刷部数と裏面印刷部数が一致している場合、
続いて表面印刷部数と裏面印刷部数が一致していない場
合について説明する。
Next, the multi-page copy processing method in double-sided printing will be described with reference to FIGS. 58 to 67. First, if the number of front side prints and the number of back side prints match,
Next, a case where the number of front side printed copies and the number of back side printed copies do not match will be described.

【0318】(1)表面印刷部数と裏面印刷部数が一致
している場合 表面印刷部数と裏面印刷部数が一致している場合は、こ
こまでで説明済みの処理手順を用いて実現することがで
きる。本ケースの処理手順の例を、図58〜図60に示
す。これらの図の見方は、図53と図54について既に
説明したものと同じである。
(1) When the front-side printed copy number and the back-side printed copy number match When the front-side printed copy number and the back-side printed copy number match, this can be realized by using the processing procedure described so far. . An example of the processing procedure of this case is shown in FIGS. The way to read these figures is the same as that already described with reference to FIGS. 53 and 54.

【0319】図58は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が2部、ページバッファ面
数が6、プリンタエンジン最大滞留枚数が3(用紙サイ
ズがA4)の場合である。本図は、印刷部数<プリンタ
エンジン最大滞留枚数の場合を説明するための図であ
る。
FIG. 58 shows a case where the print document is composed of pages having page serial numbers of 6 or more, the number of print copies is 2, the number of page buffer faces is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). This figure is a diagram for explaining a case where the number of print copies is smaller than the maximum number of stays in the printer engine.

【0320】図59は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が3部、ページバッファ面
数が6、プリンタエンジン最大滞留枚数が3(用紙サイ
ズがA4)の場合である。本図は、印刷部数=プリンタ
エンジン最大滞留枚数の場合を説明するための図であ
る。
FIG. 59 shows a case where a print document is composed of pages having page serial numbers 6 and above, the number of print copies is 3, the number of page buffer faces is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). This figure is a diagram for explaining a case where the number of print copies = the maximum number of stays in the printer engine.

【0321】図60は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が4部、ページバッファ面
数が6、プリンタエンジン最大滞留枚数が3(用紙サイ
ズがA4)の場合である。本図は、印刷部数>プリンタ
エンジン最大滞留枚数の場合を説明するための図であ
る。
FIG. 60 shows a case where the print document is composed of pages having page serial numbers 6 and above, the number of print copies is 4, the number of page buffer pages is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). This figure is a diagram for explaining a case where the number of print copies> the maximum number of stays in the printer engine.

【0322】(2)表面印刷部数と裏面印刷部数が一致
していない場合 表面印刷部数と裏面印刷部数が一致していない場合、次
のように印刷する。ここで、少ない方の印刷部数をa、
多い方の印刷部数をbとする。
(2) When the front-side printed copy number and the back-side printed copy number do not match When the front-side printed copy number and the back-side printed copy number do not match, printing is performed as follows. Here, the smaller number of prints is a,
Let b be the number of prints on the larger side.

【0323】印刷部数が多い方の面については、印刷部
数bだけの実際の印刷を行う。
For the side with the larger number of print copies, the actual printing of the number of print copies b is performed.

【0324】印刷部数が少ない方の面についての印刷は
次のようにする。
Printing on the side with the smaller number of copies is performed as follows.

【0325】・印刷部数aだけの実際の印刷を行う。The actual printing of the number of copies a is performed.

【0326】・印刷部数|a−|だけの白紙印刷を行
う。ここで、|a−b|はaとbとの差分の絶対値を表
す。
Print blank pages for the number of print copies | a- |. Here, | ab | represents the absolute value of the difference between a and b.

【0327】以上の処理を実現するため、ページバッフ
ァ管理テーブルとプリンタ管理テーブル、印刷部数指定
コマンド処理、白紙印刷の方法、印刷タスク、ページバ
ッファ読出し終了処理を次のようにする。
In order to realize the above processing, the page buffer management table and printer management table, the print copy number designation command processing, the blank page printing method, the print task, and the page buffer read end processing are performed as follows.

【0328】(a)ページバッファ管理テーブルとプリ
ンタ管理テーブル ページバッファ管理テーブル1141に総白紙印刷部数
1410と現在白紙印刷部数1411を設ける(図16
参照)。プリンタ管理テーブル1161に総白紙印刷部
数1903と現在白紙印刷部数1904を設ける(図2
2参照)。
(A) Page buffer management table and printer management table The page buffer management table 1141 is provided with a total blank print count 1410 and a current blank print count 1411 (FIG. 16).
reference). The printer management table 1161 is provided with a total blank print count 1903 and a current blank print count 1904 (see FIG. 2).
2).

【0329】(b)印刷部数指定コマンド処理 裏面ページについての印刷部数指定が行なわれた時、対
応する表面ページの印刷部数と比較し、差分の絶対値を
総白紙印刷部数としてページバッファ管理テーブル内の
該当エリア1410へ設定する。図61に処理手順を示
す。なお、前述の図33の処理手順は、表面印刷部数と
裏面印刷部数が一致している場合にのみ通用する。一
方、図61の処理手順は、表面印刷部数と裏面印刷部数
が一致している場合と一致していない場合の両方に通用
する。
(B) Command for specifying the number of print copies When the number of print copies for the back page is specified, it is compared with the number of print copies for the corresponding front page, and the absolute value of the difference is used as the total number of blank page print copies in the page buffer management table. The corresponding area 1410 is set. FIG. 61 shows the processing procedure. Note that the processing procedure of FIG. 33 described above is applicable only when the number of front-side printed copies and the number of back-side printed copies match. On the other hand, the processing procedure of FIG. 61 is applicable to both cases where the number of front side printed copies and the number of back side printed copies do not match.

【0330】(c)白紙印刷の方法 白紙印刷を実現するため、次のようにした。(C) Blank page printing method In order to realize blank printing, the following was done.

【0331】・使用しているページバッファについて、
ユーザの指定した印刷部数である総印刷部数に加え、さ
らに総白紙印刷部数だけページバッファから読出す。
Regarding the page buffer used,
In addition to the total number of prints designated by the user, the total number of blank prints is read from the page buffer.

【0332】・総印刷部数だけ読出した後、ページバッ
ファをクリア(ゼロクリア)する。その後、クリアされ
たページバッファから総白紙印刷部数回だけ読出し、白
紙印刷を行う。
After reading the total number of prints, the page buffer is cleared (cleared to zero). Then, blank page printing is performed by reading out the total number of blank page print copies from the cleared page buffer.

【0333】・総印刷部数+総白紙印刷部数回だけのペ
ージバッファからの読出しが完了した時点で、使用して
いるページバッファを、ページバッファフリーマクロを
用いて解放する。
When the reading from the page buffer is completed only for the total number of print copies + the total number of blank print copies, the page buffer in use is released by using the page buffer free macro.

【0334】(d)印刷タスク 印刷タスクの処理手順は、図35〜図44と図51に示
した通りである。
(D) Print task The print task processing procedure is as shown in FIGS. 35 to 44 and 51.

【0335】印刷タスクは、プリンタ管理テーブル11
61内の印刷条件エリア1900等の印刷制御情報を用
いて、表面印刷制御又は裏面印刷制御を行う。なお、ペ
ージバッファ管理テーブル1141の総印刷部数140
8と総白紙印刷部数1410が、プリンタ管理テーブル
の総印刷部数1901と総白紙印刷部数1903にコピ
ーされ、該当ページ(表面印刷又は裏面印刷)のマルチ
ページコピー印刷の制御に用いられる。
The print task is the printer management table 11
The front side printing control or the back side printing control is performed using the printing control information such as the printing condition area 1900 in 61. The total number of copies 140 of the page buffer management table 1141
8 and the total blank sheet print number 1410 are copied to the total print sheet number 1901 and the total blank sheet print sheet number 1903 of the printer management table, and are used to control the multi-page copy printing of the corresponding page (front surface printing or back surface printing).

【0336】(e)ページバッファ読出し終了割込み処
理 図62にページバッファ読出し終了割込み処理の処理手
順を示す。本処理はページバッファからの読出しが1回
終了する毎に、行われる。
(E) Page buffer read end interrupt process FIG. 62 shows the processing procedure of the page buffer read end interrupt process. This process is performed each time reading from the page buffer is completed.

【0337】本図に示すように、初めにプリンタメモリ
コントローラ97のリセットと割込みイネーブル(62
1)、ページバッファ読出し終了監視タイマのリセット
(622)を行う。
As shown in the figure, first, the printer memory controller 97 is reset and the interrupt enable (62
1) The page buffer read end monitoring timer is reset (622).

【0338】続いて、ページバッファからの読出しが総
印刷部数1901回分完了したか判定する(623)。
完了していれば、現在白紙印刷部数1411を、現在印
刷出力中のページバッファ番号(1141内に記述され
ている)について更新する(6231)。完了していな
ければ、現在印刷部数1409を、現在印刷出力中のペ
ージバッファ番号について更新する(6232)。
Subsequently, it is determined whether reading from the page buffer has been completed for the total number of print copies 1901 times (623).
If it has been completed, the current blank page print number 1411 is updated for the page buffer number (described in 1141) that is currently being printed out (6231). If not completed, the current number of print copies 1409 is updated for the page buffer number that is currently being printed out (6232).

【0339】続いて、次の印刷が総印刷部数のうちで最
終か判定する(624)。最終であれば、現在印刷出力
中のページバッファ番号について、ページバッファの描
画・印刷状態を「印刷中2」に設定する(6241)。
Subsequently, it is determined whether the next printing is the last of the total number of print copies (624). If it is the last, the drawing / printing state of the page buffer is set to "printing 2" for the page buffer number currently being printed out (6241).

【0340】総印刷部数分の実際の印刷と総白紙印刷部
数分の白紙印刷が完了した時点で、現在印刷出力中のペ
ージバッファ番号について、ページバッファフリーマク
ロを発行し、該当ページバッファを解放する(625
1)。
When the actual printing for the total number of print copies and the blank printing for the total number of blank page prints are completed, a page buffer free macro is issued for the page buffer number that is currently being printed out, and the corresponding page buffer is released. (625
1).

【0341】以上の表面印刷部数と裏面印刷部数が一致
していない場合にも通用する両面印刷処理方式の適用結
果を、次に説明する。
Next, the application result of the double-sided printing processing method, which is applicable even when the number of front side printed copies and the number of back side printed copies do not match, will be described below.

【0342】まず、表面印刷部数>裏面印刷部数の場合
の両面印刷の処理状況の例を、図63〜図65に示す。
この場合、表面印刷部数と裏面印刷部数との差分だけの
裏面ページが、白紙として印刷される。これらの図の見
方は、図53と図54について既に説明したものと同じ
である。
First, FIGS. 63 to 65 show examples of the processing status of double-sided printing when the number of front-side printed copies> the number of back-side printed copies.
In this case, the back side pages of the difference between the front side printed copy number and the back side printed copy number are printed as blank sheets. The way to read these figures is the same as that already described with reference to FIGS. 53 and 54.

【0343】図63は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が表面2部、裏面1部、ペ
ージバッファ面数が6、プリンタエンジン最大滞留枚数
が3(用紙サイズがA4)の場合である。本図は、表面
印刷部数<プリンタエンジン最大滞留枚数の場合を説明
するための図である。
In FIG. 63, a print document is composed of pages having page serial numbers of 6 or more, the number of print copies is 2 on the front side, 1 copy on the back side, the number of page buffer sides is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). Is the case. This figure is a diagram for explaining a case where the number of prints on the front surface is smaller than the maximum number of stays in the printer engine.

【0344】図64は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が表面3部、裏面1部、ペ
ージバッファ面数が6、プリンタエンジン最大滞留枚数
が3(用紙サイズがA4)の場合である。本図は、表面
印刷部数=プリンタエンジン最大滞留枚数の場合を説明
するための図である。
In FIG. 64, a print document is composed of pages having page serial numbers of 6 or more, the number of print copies is 3 on the front side, 1 copy on the back side, the number of page buffer faces is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). Is the case. This figure is a diagram for explaining a case where the number of front side print copies = the maximum number of stays in the printer engine.

【0345】図65は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が表面4部、裏面2部、ペ
ージバッファ面数が6、プリンタエンジン最大滞留枚数
が3(用紙サイズがA4)の場合である。本図は、表面
印刷部数>プリンタエンジン最大滞留枚数の場合を説明
するための図である。
In FIG. 65, a print document is composed of pages having page serial numbers of 6 or more, the number of print copies is 4 for front side, 2 for back side, the number of page buffer sides is 6, and the maximum retention number of printer engine is 3 (paper size is A4). Is the case. This figure is a diagram for explaining a case where the number of front side print copies> the maximum number of stays in the printer engine.

【0346】次に、表面印刷部数<裏面印刷部数の場合
の両面印刷の処理状況の例を、図66〜図68に示す。
この場合、裏面印刷部数と表面印刷部数との差分の絶対
値だけの表面ページが、白紙として印刷される。これら
の図の見方は、図53と図54について既に説明したも
のと同じである。
Next, FIGS. 66 to 68 show examples of the processing status of double-sided printing when the number of front-side printed copies is smaller than the number of back-side printed copies.
In this case, the front page having only the absolute value of the difference between the back side printed copy number and the front side printed copy number is printed as a blank sheet. The way to read these figures is the same as that already described with reference to FIGS. 53 and 54.

【0347】図66は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が表面1部、裏面2部、ペ
ージバッファ面数が6、プリンタエンジン最大滞留枚数
が3(用紙サイズがA4)の場合である。本図は、裏面
印刷部数<プリンタエンジン最大滞留枚数の場合を説明
するための図である。
In FIG. 66, a print document is composed of pages having page serial numbers 6 and above, the number of prints is 1 front side, 2 back sides, the number of page buffer sides is 6, and the printer engine maximum retention number is 3 (paper size is A4). Is the case. This drawing is a diagram for explaining the case where the number of back side print copies is smaller than the maximum retention number of printer engines.

【0348】図67は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が表面1部、裏面3部、ペ
ージバッファ面数が6、プリンタエンジン最大滞留枚数
が3(用紙サイズがA4)の場合である。本図は、裏面
印刷部数=プリンタエンジン最大滞留枚数の場合を説明
するための図である。
In FIG. 67, a print document is composed of pages having page serial numbers of 6 or more, the number of print copies is one copy on the front side, three copies on the back side, the number of page buffer pages is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). Is the case. This figure is a diagram for explaining a case where the number of back side print copies = the maximum retained number of printer engines.

【0349】図68は、印刷文書をページ通し番号6以
上のページで構成、印刷部数が表面2部、裏面4部、ペ
ージバッファ面数が6、プリンタエンジン最大滞留枚数
が3(用紙サイズがA4)の場合である。本図は、裏面
印刷部数>プリンタエンジン最大滞留枚数の場合を説明
するための図である。
FIG. 68 shows a print document composed of pages having a page serial number of 6 or more. The number of print copies is 2 on the front side, 4 on the back side, the number of pages in the page buffer is 6, and the maximum retention number of the printer engine is 3 (paper size is A4). Is the case. This figure is a diagram for explaining a case where the number of back side print copies> the maximum retention number of printer engines.

【0350】次に、複数排紙部サポート方式について説
明する。
Next, the multiple paper discharge unit support system will be described.

【0351】まず、排紙終了監視方法について説明す
る。印刷タスクは、印刷した用紙が排紙部に排紙される
まで監視を行なう。監視を行なう手段として、タイマを
用いた。排紙監視用タイマには、プリンタエンジンに対
して印刷指示を行なってから排紙部に用紙が排紙される
までの時間が設定される。上記タイマが、タイムアウト
になるまでにエラーが発生しない場合、正常に排紙され
たものとして、ページ通し番号の更新処理等を行なう。
図69に印刷指示から排紙終了までの印刷シーケンスを
示す。
First, the method of monitoring the completion of discharge will be described. The print task monitors until the printed paper is discharged to the paper discharge unit. A timer was used as a means for monitoring. The paper discharge monitoring timer is set to the time from when a print instruction is given to the printer engine until the paper is discharged to the paper discharge unit. If an error does not occur before the timer times out, it is determined that the paper has been normally ejected, and the page serial number update processing is performed.
FIG. 69 shows a print sequence from the print instruction to the end of discharge.

【0352】次に、複数排紙部サポート方式について説
明する。
Next, the multiple paper discharge unit support system will be described.

【0353】複数排紙部を利用する場合、排紙部によっ
て排紙時間が異なる。従って、ページ通し番号nの用紙
を排紙部1から排紙した後、ページ通し番号n+1の用
紙を排紙部2から排紙した場合、後から排紙したページ
通し番号n+1の用紙が先に排紙されることがある。
When using a plurality of paper ejection units, the paper ejection time differs depending on the paper ejection units. Therefore, when the paper with the page serial number n is ejected from the paper ejection unit 1 and the paper with the page serial number n + 1 is ejected from the paper ejection unit 2, the paper with the page serial number n + 1 ejected later is ejected first. Sometimes.

【0354】従来の排紙終了確認方式では、この「排紙
終了順番の逆転」という現象が起きると、排紙終了ペー
ジ通し番号の把握、及び印刷タスクの終了タイミングを
間違えるという問題が生じていた。
In the conventional discharge end confirmation method, when the phenomenon of "reversal of the discharge end order" occurs, there is a problem that the discharge end page serial number is grasped and the print task end timing is wrong.

【0355】従って、上記問題点を解消し複数排紙部を
サポートするため、前述のプリンタ管理テーブル116
1内の排紙終了監視情報1950(図24参照)を用い
て、以下のことを行った。
Therefore, in order to solve the above problems and support a plurality of paper discharge units, the printer management table 116 described above is used.
Using the paper discharge completion monitoring information 1950 in 1 (see FIG. 24), the following was performed.

【0356】(a)複数個の排紙終了監視タイマを設け
た。タイマの数としては、プリンタエンジン中に滞留す
る可能性のある最大用紙枚数分を用意した。印刷タスク
が発行した印刷指示マクロに対応する垂直同期信号要求
割込み処理において、(i)プリンタ管理テーブル内の
本タイマ対応エリアへの監視する用紙のページ通し番号
と指定排紙部の記入、及び(ii)順番の排紙終了監視タ
イマの選択と、本タイマへの排紙部と用紙サイズにより
定まるタイマ値のセットと、本タイマの起動を行った。
(A) A plurality of paper discharge completion monitoring timers are provided. As the number of timers, the maximum number of sheets that may stay in the printer engine is prepared. In the vertical synchronization signal request interrupt processing corresponding to the print instruction macro issued by the print task, (i) writing the page serial number of the paper to be monitored and the designated paper discharge section in the area corresponding to this timer in the printer management table, and (ii ) The sequential discharge completion monitoring timer was selected, the timer value that was determined by the discharge unit and the paper size was set in this timer, and this timer was started.

【0357】(b)排紙部別に排紙された用紙の最新ペ
ージ通し番号を管理するためのエリアを、前述のように
プリンタ管理テーブルに用意した。
(B) An area for managing the latest page serial number of the discharged paper for each paper discharge section is prepared in the printer management table as described above.

【0358】(c)排紙終了監視タイマ割込み処理が、
前記(a)の(i)にて記入済みの値に基づき、排紙の
終了した排紙部の最新排紙ページ通し番号((b)に記
したプリンタ管理テーブル内の値)を更新するようにし
た。
(C) The discharge completion monitoring timer interrupt process
Based on the value entered in (i) of (a) above, the latest paper ejection page serial number (value in the printer management table described in (b)) of the paper ejection unit for which paper ejection has ended is updated. did.

【0359】(d)排紙部が排紙部1〜排紙部mまであ
るものとする。この時、頁印刷終了時、又はエラー発生
時に、印刷制御装置は「排紙終了監視タイマ1から同タ
イマ25の各々に対応するページ通し番号の中での最小
値−1」を、排紙がとぎれることなく正常に印刷を完了
したページ通し番号として決定した。その後、頁印刷終
了ページ通し番号、又は再送開始ページ通し番号を印刷
制御装置から上位ホストコンピュータへの報告データ中
の該当エリアに設定した。
(D) It is assumed that the sheet discharge section includes sheet discharge section 1 to sheet discharge section m. At this time, at the end of page printing or when an error occurs, the print control device cuts off the discharge of "the minimum value of the page serial numbers corresponding to each of the discharge completion monitoring timers 1 to 25-1". It was decided as a page serial number that completed printing normally without any. After that, the page printing end page serial number or the retransmission start page serial number is set in the corresponding area in the report data from the print control device to the host computer.

【0360】以上により、複数排紙部を利用し、「排紙
終了順番の逆転」という現象が起きる場合でも、排紙終
了ページ通し番号の正しい把握、及び印刷タスクの正し
いタイミングでの終了を実現できるようにした。
As described above, even when the phenomenon of "reversal of the discharge end order" occurs by using a plurality of paper discharge units, the discharge end page serial number can be correctly grasped and the print task can be ended at the correct timing. I did it.

【0361】また以上の実施例は、上記先願発明(図5
0)への拡張機能として実現することもできる。つま
り、描画処理部や印刷処理部の処理をマルチタスク構成
とし、並行処理(単一プロセッサによるパイプライン的
処理)または並列処理(複数プロセッサによる同時処
理)をできるようにしてもよい。この場合、図1内の各
構成要素は図50の各構成要素に、以下のように対応づ
けられる。
Further, the above embodiment is based on the above-mentioned prior invention (FIG. 5).
It can also be realized as an extension function to 0). That is, the processing of the drawing processing unit and the print processing unit may be configured as a multitasking configuration so that parallel processing (pipeline processing by a single processor) or parallel processing (simultaneous processing by a plurality of processors) can be performed. In this case, each component in FIG. 1 is associated with each component in FIG. 50 as follows.

【0362】 (1)ホストコンピュータ100がホストコンピュータ
100’に (2)ホスト通信制御部111がホスト通信制御部11
8’に (3)コマンドバッファ部112がコマンドバッファ部
11’に (4)コマンド処理部113がタスク処理部13’に (5)描画処理部1131が描画タスク処理部131’
に (6)印刷処理部1132が印刷タスク処理部132’
に (7)ページバッファ制御部114がページバッファ制
御部116’に (8)ページバッファ部115がページバッファ部1
4’に (9)プリンタ制御部116がプリンタ制御部117’
(1) The host computer 100 is the host computer 100 ′ (2) The host communication control unit 111 is the host communication control unit 11
8 '(3) Command buffer section 112 is command buffer section 11' (4) Command processing section 113 is task processing section 13 '(5) Drawing processing section 1131 is drawing task processing section 131'
(6) The print processing unit 1132 causes the print task processing unit 132 ′ to
(7) The page buffer control unit 114 has the page buffer control unit 116 ′, and (8) the page buffer unit 115 has the page buffer unit 1.
In 4 ′, (9) the printer control unit 116 is changed to the printer control unit 117 ′.
To

【0363】[0363]

【発明の効果】本発明によれば、両面印刷において、1
枚の用紙の表面及び裏面に対応する2ページ単位に紙サ
イズ、印刷部数、紙縦横方向の指定を許容するととも
に、1枚の用紙の表面と裏面で紙サイズ、印刷部数、紙
縦横方向のいずれかが異なる指定をも許容することがで
きる。
According to the present invention, in double-sided printing, 1
Permits specification of paper size, number of copies, and paper length and width in units of two pages corresponding to the front and back sides of a sheet of paper, and the paper size, number of copies, and paper length and width directions on the front and back sides of a sheet of paper. Different specifications can be accepted.

【0364】また、上位装置から受信した両面印刷終わ
り文書の終りを描画処理部が検出し、本検出に基づいて
起動された両面印刷終わり処理部が、プリンタエンジン
内の前半印刷済みの残留用紙を排出し、本文書について
の両面印刷を終えることができる。
Further, the drawing processing unit detects the end of the double-sided printing end document received from the host device, and the double-sided printing end processing unit activated based on this detection detects the residual paper sheet printed in the first half in the printer engine. You can eject and finish the double-sided printing of this document.

【0365】さらに、両面印刷指定がなされている場合
に、用紙裏面についての給紙部指定又は排紙部指定又は
紙サイズ指定を行っても、本裏面ページを白紙として印
刷した後、以後本裏面ページを新たな表面ページとして
印刷ることにより、片面印刷の場合と同様の、大きな自
由度の印刷条件の指定を行うことができる。
Furthermore, when double-sided printing is designated, even if the paper feed section, the paper discharge section, or the paper size is designated for the back side of the paper, the main back page is printed as a blank sheet, and thereafter the main back surface is printed. By printing the page as a new front page, it is possible to specify printing conditions with a large degree of freedom, as in the case of single-sided printing.

【0366】巡回型両面印刷機構のプリンタを用いた印
刷システムにおいて、各種印刷条件の片面印刷の場合と
同様な指定を許しながら、またこれら印刷条件の指定に
より用紙の表面と裏面で論理的一貫性が崩れたり、プリ
ンタエンジン最大滞留枚数、文書終了、紙サイズ変更、
給紙部変更、排紙部変更等を検出した場合でも、両面印
刷を支障なく続行することができるので、自由度が大き
く、ユーザにとって使い易い両面印刷機能を提供するこ
とができる。
In the printing system using the printer of the cyclic double-sided printing mechanism, the same specification as in the case of single-sided printing of various printing conditions is permitted, and the logical consistency between the front surface and the back surface of the paper is specified by the specification of these printing conditions. , The printer engine maximum retention number, document end, paper size change,
Even when a change in the paper feed unit, a change in the paper discharge unit, or the like is detected, double-sided printing can be continued without hindrance, so that it is possible to provide a double-sided printing function with a high degree of freedom and easy for the user to use.

【0367】印刷制御装置をマルチタスク構成とし、上
位装置からの印刷コマンドの受信と描画処理と印刷処理
を並行処理しながら、両面印刷を行うことにより、巡回
型両面印刷機構付きプリンタの最大性能の引出すことが
できる。その結果、印刷システムの印刷スループットを
向上させることができる。
The print control device has a multi-task configuration, and by performing double-sided printing while receiving the print command from the upper-level device, the drawing process, and the printing process in parallel, the maximum performance of the printer with the cyclic double-sided printing mechanism can be obtained. You can withdraw. As a result, the printing throughput of the printing system can be improved.

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

【図1】本発明の構成図である。FIG. 1 is a configuration diagram of the present invention.

【図2】本発明の構成図である。FIG. 2 is a configuration diagram of the present invention.

【図3】巡回型両面印刷機構の説明図である。FIG. 3 is an explanatory diagram of a cyclic double-sided printing mechanism.

【図4】巡回型両面印刷機構を用いた片面印刷方法と両
面印刷方法の説明図である。
FIG. 4 is an explanatory diagram of a single-sided printing method and a double-sided printing method using a cyclic double-sided printing mechanism.

【図5】本発明における印刷コマンド列の説明図であ
る。
FIG. 5 is an explanatory diagram of a print command string according to the present invention.

【図6】本発明における両面印刷に関わる印刷条件指定
用コマンドの仕様を説明するための図である。
FIG. 6 is a diagram for explaining the specifications of a printing condition designation command relating to double-sided printing according to the present invention.

【図7】本発明における両面印刷に関わる印刷条件指定
用コマンドの仕様を説明するための図である。
FIG. 7 is a diagram for explaining the specifications of a print condition specifying command relating to double-sided printing according to the present invention.

【図8】本発明における用紙表面と裏面への各印刷条件
指定時の処理仕様を説明するための図である。
FIG. 8 is a diagram for explaining processing specifications when each printing condition is specified on the front surface and the back surface of the paper according to the present invention.

【図9】本発明のハードウェア構成図である。FIG. 9 is a hardware configuration diagram of the present invention.

【図10】本発明のソフトウェア構成図である。FIG. 10 is a software configuration diagram of the present invention.

【図11】本発明のタスク一覧を説明するための図であ
る。
FIG. 11 is a diagram for explaining a task list of the present invention.

【図12】本発明における描画順序と印刷順序の対応づ
けを説明するための図である。
FIG. 12 is a diagram for explaining the correspondence between the drawing order and the printing order in the present invention.

【図13】本発明における両面印刷のための描画タスク
と印刷タスクの動作概要を説明するための図である。
FIG. 13 is a diagram for explaining an outline of operations of a drawing task and a printing task for double-sided printing according to the present invention.

【図14】本発明におけるページバッファ管理テーブル
の構成図である。
FIG. 14 is a configuration diagram of a page buffer management table in the present invention.

【図15】本発明におけるページバッファ管理テーブル
の構成図である。
FIG. 15 is a configuration diagram of a page buffer management table in the present invention.

【図16】本発明におけるページバッファ管理テーブル
の構成図である。
FIG. 16 is a configuration diagram of a page buffer management table in the present invention.

【図17】本発明におけるページバッファ管理テーブル
の構成図である。
FIG. 17 is a configuration diagram of a page buffer management table in the present invention.

【図18】本発明におけるページバッファ管理テーブル
の構成図である。
FIG. 18 is a configuration diagram of a page buffer management table according to the present invention.

【図19】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 19 is a configuration diagram of a printer management table according to the present invention.

【図20】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 20 is a configuration diagram of a printer management table according to the present invention.

【図21】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 21 is a configuration diagram of a printer management table according to the present invention.

【図22】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 22 is a configuration diagram of a printer management table according to the present invention.

【図23】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 23 is a configuration diagram of a printer management table according to the present invention.

【図24】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 24 is a configuration diagram of a printer management table according to the present invention.

【図25】本発明におけるプリンタ管理テーブルの構成
図である。
FIG. 25 is a configuration diagram of a printer management table according to the present invention.

【図26】本発明における描画タスクの処理手順を説明
するための図である。
FIG. 26 is a diagram illustrating a processing procedure of a drawing task according to the present invention.

【図27】本発明における片面・両面印刷指定コマンド
処理(描画タスクの一部)の処理手順を説明するための
図である。
FIG. 27 is a diagram for explaining a processing procedure of single-sided / double-sided printing designation command processing (a part of drawing task) according to the present invention.

【図28】本発明における両面印刷終わり指定コマンド
処理(描画タスクの一部)の処理手順を説明するための
図である。
FIG. 28 is a diagram for explaining a processing procedure of double-sided printing end designation command processing (a part of drawing task) according to the present invention.

【図29】本発明における給紙部指定コマンド処理(描
画タスクの一部)の処理手順を説明するための図であ
る。
FIG. 29 is a diagram for explaining a processing procedure of a paper feed unit designation command process (a part of a drawing task) according to the present invention.

【図30】本発明における排紙部指定コマンド処理(描
画タスクの一部)の処理手順を説明するための図であ
る。
FIG. 30 is a diagram illustrating a processing procedure of a paper discharge unit designation command process (a part of a drawing task) according to the present invention.

【図31】本発明における紙サイズ指定コマンド処理
(描画タスクの一部)の処理手順を説明するための図で
ある。
FIG. 31 is a diagram illustrating a processing procedure of a paper size designation command process (a part of a drawing task) according to the present invention.

【図32】本発明における紙縦横方向指定コマンド処理
(描画タスクの一部)の処理手順を説明するための図で
ある。
FIG. 32 is a diagram for explaining a processing procedure of a paper vertical / horizontal direction designation command process (a part of a drawing task) according to the present invention.

【図33】本発明における印刷部数指定コマンド処理
(描画タスクの一部)の処理手順を説明するための図で
ある。
FIG. 33 is a diagram for explaining a processing procedure of a print copy number designation command process (a part of a drawing task) according to the present invention.

【図34】本発明における改頁処理(描画タスクの一
部)の処理手順を説明するための図である。
[Fig. 34] Fig. 34 is a diagram for explaining a processing procedure of page break processing (a part of drawing task) in the present invention.

【図35】本発明における印刷タスクの処理手順を説明
するための図である。
FIG. 35 is a diagram illustrating a processing procedure of a print task according to the present invention.

【図36】本発明における両面印刷排出フラグONに伴
う、表面印刷可能タスクの待ち解除(印刷タスクの一
部)の処理手順を説明するための図である。
FIG. 36 is a diagram for explaining the processing procedure for releasing the waiting for the front-side printable task (a part of the print task) in accordance with the double-sided printing discharge flag being turned on in the present invention.

【図37】本発明におけるプリンタエンジン最大滞留枚
数到達に伴う、表面印刷可能タスクの待ち解除(印刷タ
スクの一部)の処理手順を説明するための図である。
FIG. 37 is a diagram for explaining a processing procedure for releasing waiting for a front surface printable task (a part of a print task) when the maximum retention number of sheets of the printer engine is reached in the present invention.

【図38】本発明における表面印刷用前処理2(印刷タ
スクの一部)の処理手順を説明するための図である。
FIG. 38 is a diagram for explaining a processing procedure of front-end printing pretreatment 2 (a part of a printing task) according to the present invention.

【図39】本発明における裏面印刷用前処理(印刷タス
クの一部)の処理手順を説明するための図である。
[Fig. 39] Fig. 39 is a diagram for describing a processing procedure of back-side printing preprocessing (a part of a printing task) according to the present invention.

【図40】本発明における一連の印刷マクロの発行処理
(印刷タスクの一部)の処理手順を説明するための図で
ある。
FIG. 40 is a diagram illustrating a processing procedure of a series of print macro issuing processing (a part of print task) according to the present invention.

【図41】本発明における片面・両面印刷用印刷指示の
処理手順を説明するための図である。
FIG. 41 is a diagram for explaining a processing procedure of a print instruction for single-sided / double-sided printing according to the present invention.

【図42】本発明における裏面印刷Post関係処理(印刷
タスクの一部)の処理手順を説明するための図である。
FIG. 42 is a diagram for explaining the processing procedure of the back side printing Post related processing (a part of the printing task) in the present invention.

【図43】本発明における表面印刷Post待ちタスク番号
と裏面印刷Post待ちタスク番号の更新(印刷タスクの一
部)の処理手順を説明するための図である。
FIG. 43 is a diagram for explaining a processing procedure for updating a front-side printing Post waiting task number and a back-side printing Post waiting task number (a part of a printing task) according to the present invention.

【図44】本発明における両面印刷終わり印刷タスクの
処理手順を説明するための図である。
FIG. 44 is a diagram for explaining a processing procedure of a double-sided printing end printing task in the present invention.

【図45】本発明におけるページバッファ制御用マクロ
の機能を説明するための図である。
FIG. 45 is a diagram for explaining the function of a page buffer control macro in the present invention.

【図46】本発明におけるプリンタ制御用マクロの機能
を説明するための図である。
FIG. 46 is a diagram for explaining the function of the printer control macro in the present invention.

【図47】本発明におけるプリンタ制御用マクロの機能
を説明するための図である。
FIG. 47 is a diagram for explaining the function of the printer control macro in the present invention.

【図48】本発明におけるプリンタ制御用マクロの機能
を説明するための図である。
FIG. 48 is a diagram for explaining the function of the printer control macro in the present invention.

【図49】本発明におけるページバッファリザーブの機
能を説明するための図である。
FIG. 49 is a diagram for explaining the function of page buffer reserve in the present invention.

【図50】本発明をマルチタスク構成とした場合の機能
構成を説明するための図である。
FIG. 50 is a diagram for explaining a functional configuration when the present invention has a multitask configuration.

【図51】本発明における両面印刷紙なしエラー処理の
処理手順を説明するための図である。
FIG. 51 is a diagram illustrating a processing procedure of double-sided printing paper-less error processing according to the present invention.

【図52】本発明における最新排紙ページ通し番号の管
理方式を説明するための図である。
FIG. 52 is a diagram for explaining the management method of the latest discharged page serial number in the present invention.

【図53】本発明における両面印刷紙なしエラー処理を
説明するための図である。
FIG. 53 is a diagram for explaining the double-sided printing paper-less error processing in the present invention.

【図54】本発明における両面印刷紙なしエラー処理を
説明するための図である。
FIG. 54 is a diagram for explaining the double-sided printing paper-less error processing in the present invention.

【図55】本発明における両面印刷紙なしエラー処理を
説明するための図である。
FIG. 55 is a diagram for explaining the double-sided printing paper-less error processing in the present invention.

【図56】本発明における両面印刷紙なしエラー処理を
説明するための図である。
FIG. 56 is a diagram for explaining the error processing without a double-sided printing paper according to the present invention.

【図57】本発明における中断タスクの処理手順を説明
するための図である。
[Fig. 57] Fig. 57 is a diagram for explaining a processing procedure of a suspended task according to the present invention.

【図58】本発明におけるマルチページコピー処理方式
説明するための図である。
FIG. 58 is a diagram for explaining a multi-page copy processing method according to the present invention.

【図59】本発明におけるマルチページコピー処理方式
説明するための図である。
FIG. 59 is a diagram for explaining a multi-page copy processing method according to the present invention.

【図60】本発明におけるマルチページコピー処理方式
説明するための図である。
FIG. 60 is a diagram for explaining a multi-page copy processing method according to the present invention.

【図61】本発明における印刷部数指定コマンド処理の
処理手順を説明するための図である。
[Fig. 61] Fig. 61 is a diagram for explaining a processing procedure of a print copy number designation command processing according to the present invention.

【図62】本発明におけるページバッファ読出し割込み
処理の処理手順を説明するための図である。
FIG. 62 is a diagram for explaining a processing procedure of page buffer read interrupt processing in the present invention.

【図63】本発明におけるマルチページコピー処理方式
を説明するための図である。
FIG. 63 is a diagram for explaining a multi-page copy processing system according to the present invention.

【図64】本発明におけるマルチページコピー処理方式
を説明するための図である。
FIG. 64 is a diagram for explaining a multi-page copy processing system according to the present invention.

【図65】本発明におけるマルチページコピー処理方式
を説明するための図である。
FIG. 65 is a diagram for explaining a multi-page copy processing system according to the present invention.

【図66】本発明におけるマルチページコピー処理方式
を説明するための図である。
FIG. 66 is a diagram for explaining a multi-page copy processing method according to the present invention.

【図67】本発明におけるマルチページコピー処理方式
を説明するための図である。
FIG. 67 is a diagram for explaining a multi-page copy processing method according to the present invention.

【図68】本発明におけるマルチページコピー処理方式
を説明するための図である。
FIG. 68 is a diagram for explaining a multi-page copy processing system according to the present invention.

【図69】本発明における複数排紙部サポート方式を説
明するための図である。
FIG. 69 is a diagram for explaining a multiple paper discharge unit support system in the present invention.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G06F 3/12 B41J 3/00 S (58)調査した分野(Int.Cl.7,DB名) B41J 29/38 B41J 3/60 B41J 5/30 B41J 21/00 G06F 3/12 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI G06F 3/12 B41J 3/00 S (58) Fields surveyed (Int.Cl. 7 , DB name) B41J 29/38 B41J 3 / 60 B41J 5/30 B41J 21/00 G06F 3/12

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】受信した印刷データに基づいて、複数枚の
用紙に対して表面印刷を行い、それから裏面印刷を行な
うことで、前記複数枚の用紙の両面印刷を行う両面印刷
機構付きプリンタの両面印刷制御方法であって、前記両面印刷機構付きプリンタは、 1枚の用紙の表面と
裏面とで紙サイズが異なる印刷データを受信した場合、
当該印刷データの表面印刷用データに基づいて用紙に対
して表面印刷を行ない、当該用紙の裏面については白紙
のままとしてプリンタ内部に滞留する表面印刷済みの用
紙を裏面印刷して全て排出し、それから、紙サイズを変
更し、当該印刷データの裏面印刷用データに基づいて紙
サイズ変更後の用紙に対して表面印刷を行なことを特徴
とする両面印刷制御方法。
1. A plurality of sheets are printed based on the received print data .
Print the front side of the paper and then the back side.
In Ukoto, a double-sided printing control method of the duplex printing mechanism with printer for duplex printing of the plurality of sheets, the duplex printing mechanism with the printer, the paper size is different between the front surface and the back surface of one sheet When print data is received ,
Based on the front-side printing data of the print data,
Then, the front side is printed, and the back side of the paper is blank.
For the surface-printed that remains inside the printer as it is
Print the back side of the paper, eject all, and then change the paper size.
The paper based on the backside printing data of the print data.
A double-sided printing control method, characterized in that front side printing is performed on the paper after size change .
【請求項2】受信した印刷データに基づいて、複数枚の
用紙に対して、表面印刷を行い、それから裏面印刷を行
なうことで、前記複数枚の用紙の両面印刷を行う両面印
刷機構付きプリンタの両面印刷制御方法であって、前記両面印刷機構付きプリンタは、 前記印刷データ内に
用紙裏面について紙サイズ指定があった場合、指定
された紙サイズが当該用紙の表面の紙サイズと同じなら
ば、当該用紙に対して表面印刷を行なって両面印刷をそ
のまま続行し、異なるならば、当該用紙に対して表面印
刷を行ない、当該用紙の裏面については白紙のままとし
てプリンタ内部に滞留する表面印刷済みの用紙を裏面印
刷して全て排出し、それから、指定された紙サイズに変
更し、紙サイズが指定された裏面の裏面印刷用データを
紙サイズ変更後の用紙に対して表面印刷することを特徴
とする両面印刷制御方法。
2. A plurality of sheets are printed based on the received print data .
Print the front side of the paper and then the back side.
A double-sided printing control method for a printer with a double-sided printing mechanism that performs double-sided printing on a plurality of sheets, wherein the printer with a double- sided printing mechanism specifies the paper size for the back side of the paper in the print data. If there is, specify
If the specified paper size is the same as the front paper size
For example, perform front side printing on the paper and continue double-sided printing.If different , print on the front side of the paper.
Printing, leaving the back side of the paper blank.
Mark the back side of the printed paper that has accumulated inside the printer.
Print and eject all, then change to the specified paper size.
The back side printing data for the back side with the specified paper size.
A double-sided printing control method, characterized in that front side printing is performed on a sheet of paper having a changed paper size .
【請求項3】受信した印刷データに基づいて、複数枚の
用紙に対して表面印刷に行い、それから裏面印刷を行な
うことで、前記複数枚の用紙の両面印刷を行う両面印刷
機構付きプリンタの両面印刷制御方法であって、前記両面印刷機構付きプリンタは、 1枚の用紙の表面お
よび裏面それぞれで印刷部数が指定された印刷データを
受信した場合、前記指定された1枚の用紙の表面および
裏面それぞれでの印刷部数が互いに一致するか否かを判
定し、不一致の場合、表面および裏面のうち印刷部数の
少ない方の面については、印刷部数の多い方の面に印刷
部数を合わせ、少ない印刷部数分だけ白紙印刷するよう
にしたことを特徴とする両面印刷制御方法。
3. A plurality of sheets are printed based on the received print data .
Print the front side of the paper, then the back side.
Thus, in the double-sided printing control method of the printer with a double-sided printing mechanism for performing double-sided printing on the plural sheets of paper, the printer with the double- sided printing mechanism specifies the number of print copies on each of the front surface and the back surface of one sheet of paper. when receiving the print data, the surface and the back surface printing copies of each of one sheet of the specified it is determined whether or not coincident with each other, the case of mismatch, low number of copies of the front and back surfaces Regarding the other side, the double-sided printing control method is characterized in that the number of prints is matched to the side with the larger number of prints, and blank printing is performed for the number of prints smaller.
【請求項4】受信した印刷データに基づいて、複数枚の
用紙に対して表面印刷を行い、それから裏面印刷を行な
うことで、前記複数枚の用紙の両面印刷を行う両面印刷
機構付きプリンタの両面印刷制御方法であって、 前記両面印刷機構付きプリンタは、1枚の用紙の表面お
よび裏面のそれぞれで紙縦・横方向が異なる印刷データ
を受信した場合当該印刷データの表面印刷用データに
基づいて用紙に対して表面印刷を行ない、当該用紙の裏
面については白紙のままとしてプリンタ内部に滞留する
表面印刷済みの用紙を裏面印刷して全て排出し、それか
ら、紙縦・横方向を変更し、当該印刷データの裏面印刷
用データに基づいて紙縦・横方向変更後の用紙に対して
表面印刷を行なことを特徴とする両面印刷制御方法。
4. A plurality of sheets are printed based on the received print data .
Print the front side of the paper and then the back side.
A double-sided printing control method for a printer with a double-sided printing mechanism that performs double-sided printing on a plurality of sheets of paper, wherein the printer with a double-sided printing mechanism is configured to print on both the front and back sides of one sheet of paper vertically and vertically. If the lateral receives different print data, the surface printing data of the print data
The front side of the paper is printed based on
The surface remains blank and remains inside the printer.
Print the front side of the printed paper on the back side and eject all
Change the paper length / width direction and print the back side of the print data.
For the paper after changing the paper length / width direction based on the usage data
Duplex printing control method comprising the surface printing line thing.
JP2002275846A 1992-08-31 2002-09-20 Double-sided printing control method and printing control device Expired - Lifetime JP3474185B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002275846A JP3474185B2 (en) 1992-08-31 2002-09-20 Double-sided printing control method and printing control device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP23229592 1992-08-31
JP4-232295 1992-08-31
JP2002275846A JP3474185B2 (en) 1992-08-31 2002-09-20 Double-sided printing control method and printing control device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP20391193A Division JP3380598B2 (en) 1992-08-31 1993-08-18 Double-sided printing control method and printing control device

Publications (2)

Publication Number Publication Date
JP2003175660A JP2003175660A (en) 2003-06-24
JP3474185B2 true JP3474185B2 (en) 2003-12-08

Family

ID=26530383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002275846A Expired - Lifetime JP3474185B2 (en) 1992-08-31 2002-09-20 Double-sided printing control method and printing control device

Country Status (1)

Country Link
JP (1) JP3474185B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4417213B2 (en) * 2004-09-17 2010-02-17 シャープ株式会社 Printing control apparatus, printing apparatus, printing control method, printing control program, and recording medium for recording printing control program
JP2009113279A (en) * 2007-11-05 2009-05-28 Seiko Epson Corp Image processor, image processing method and program thereof

Also Published As

Publication number Publication date
JP2003175660A (en) 2003-06-24

Similar Documents

Publication Publication Date Title
US5954436A (en) Printing apparatus and double-side printing control method
US5265209A (en) Print control apparatus for printing pages having different page sizes using one or more of a plurality of same-sized page buffers
KR100734978B1 (en) Information processing method and information processing apparatus
JPH1120272A (en) Device and method for printing control
JPH05254185A (en) Printer device
JP2003127505A (en) Printer
JP3380598B2 (en) Double-sided printing control method and printing control device
JP3474185B2 (en) Double-sided printing control method and printing control device
JP3474184B2 (en) Double-sided printing control method and printing control device
JPH0655813A (en) Page printer
JP3010559B2 (en) Printing system and printing control method and apparatus
JP2007301881A (en) Multiport printing apparatus
JP2006079393A (en) Printing system and job control method therefor
JP5906643B2 (en) Printing apparatus and printing method
JP2816184B2 (en) Printing control device
JP3173721B2 (en) Printer and operation method thereof
JP2776894B2 (en) Printer controller and print control method
JPH05301429A (en) Printing controller with error recovery function and printing control method
JP3417426B2 (en) Image recording device
JP5062750B2 (en) Image forming apparatus
JPH02295778A (en) Controlling method for printing
JPH07200206A (en) Printing device
JPH0475153A (en) Multi-reception print control method
JPH10305631A (en) Equipment and method for controlling printing
JPH09212320A (en) Information processor, printer, information processing system, and data processing method for information processing system

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: 20090919

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9