JPH041067A - Printing system and printing control method and device - Google Patents
Printing system and printing control method and deviceInfo
- Publication number
- JPH041067A JPH041067A JP10246390A JP10246390A JPH041067A JP H041067 A JPH041067 A JP H041067A JP 10246390 A JP10246390 A JP 10246390A JP 10246390 A JP10246390 A JP 10246390A JP H041067 A JPH041067 A JP H041067A
- Authority
- JP
- Japan
- Prior art keywords
- page
- paper
- section
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Printers Characterized By Their Purpose (AREA)
- Handling Of Cut Paper (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
[産業上の利用分野コ
本発明は、パーソナルコンピュータ、ワークステーショ
ン、ワードプロセッサ等のホストコンピュータが、印刷
制御装置を介して、両面印刷機構付きのプリンタを制御
する印刷システムに関する。
[従来の技術]
従来、中間トレイ方式を採用した両面印刷機構付きのプ
リンタを用いた印刷システムでは、次のようにして印刷
を行っていた。
(1)ホストコンピュータは次のように処理する。
(i)中間トレイ格納枚数nを決めた後(例えば、n=
3)−奇数ページ用の印刷コマンドを順次作成し、第1
ページ、第3ページ、・・・、第2n−1ページ、につ
いての表面印刷をプリンタコントローラ(印刷制御袋M
)に指示する。
表面印刷において、ホストコンピュータは給紙部として
中間トレイ以外の外部カセット、排紙部として中間トレ
イを指示する。
(ii) 続いて同様に、第2ページ、第4ページ、・
・・、第2nページ、についての裏面印刷をプリンタコ
ントローラに指示する。
裏面印刷において、ホストコンピュータは給紙部として
中間トレイ排紙部として中間トレイ以外の外部トレイ、
を指示する。
(2)プリンタコントローラは、あるページについての
表面印刷および裏面印刷の双方において、共通して次の
処理を行う。
(i)改頁条件を検出するまで、描画を行う。
(ii)改頁条件を検出したら、以下の印刷処理を行う
。
■給紙部の部位の確認と指示
■排紙部の部位の確認と指示
■印刷指示
この従来技術については、特公昭61−16976号公
報に記載されている。
その他、関連する公知例として、特開昭63−2470
41号公報、同63−247042号公報には、データ
処理装置から転送すべき複数頁にわたる画像データを2
回プリンタ装置へ転送するようにし、そのうち1回のデ
ータ転送では偶数頁、他の一回のデータ転送では奇数頁
の印刷を行うようにした「両面プリントシステムノが開
示されている。
[発明が解決しようとする課題]
上記従来技術においては、奇数頁の描画印刷処理と偶数
頁の描画印刷処理とを別個に行うため。
プリンタや両面印刷制御に関する知識を得た上で、ホス
トコンピュータがページ切り出し、1ページ置きの奇数
ページ用印刷コマンドの作成と1ページ置きの偶数ペー
ジ用印刷コマンドの作成、中間トレイの給紙部または排
紙部としての利用指示、及びプリンタ内中間トレイ容量
のオーバ防止制御、等を制御プログラムにて行う必要が
あり、ホストコンピュータ側の制御プログラムの開発負
担が大きいという問題があった。
また、奇数および偶数の全頁について2回のデータ転送
を行う場合には、データ転送に要する時間が倍増すると
いう問題がある。
さらに、上記制御プログラムはプリンタの仕様への依存
度が大きいため、複数種類のプリンタをサポートするた
めには、ホストコンピュータがプリンタ数分の制御プロ
グラムを開発し、実装しなければならならず、ホストコ
ンピュータ側の負担が太きかった。
なお、従来技術では、以下に示す項目について配慮がな
されておらず、ユーザにとって使い易い両面印刷機能を
提供できないという問題点もあった。
(1)1文書内で用紙毎に紙サイズや印刷部数を変える
機能。
(2)紙サイズ、印刷部数、紙継・横方向、給紙部等を
裏面印刷において指定した場合の処理の仕様と手順。
(3)プリンタコントローラにて、■中間トレイ格納紙
サイズの変化、■中間トレイ満杯、■文書終了、■紙サ
イズ変更等を検出した場合の処理手順。
(4)印刷部数が2以上のマルチページコピーの処理手
順。特に中間トレイ格納容量を越える場合のマルチペー
ジコピーの手順。
本発明の目的は、」−記従来技術の問題点を解消し、ホ
ストコンピュータの開発負担が少なく、スループットが
高い、両面印刷機能を有する印刷システムならびに印刷
制御方法および装置を提供することにある。
[課題を解決するための手段]
上記目的を達成するために、本発明による印刷システム
は、両面印刷機構付きプリンタと、印刷コマンドを発行
する上位装置と、該上位装置から受けた印刷コマンドを
解釈・実行し、前記プリンタに印刷を指示する印刷制御
装置とを備えた印刷システムにおいて、前記上位装置内
に、片面印刷/両面印刷の別を指定する片面・両面印刷
指定コマンドの発行手段と、各論理ページを印刷すべき
紙サイズを指定する紙サイズ指定コマンドの発行手段と
、各論理ページの印刷部数を指定する印刷部数指定コマ
ンドの発行手段とを設け、前記印刷制御装置内に、前記
片面・両面印刷指定コマンドを解釈する手段と、印刷コ
マンド列を両面印刷モートにて解釈・実行する両面印刷
制御手段と、前記紙サイズ指定コマンドを実行する紙サ
イズ指定コマンド処理手段と、前記印刷部数指定コマン
ドを実行する印刷部数指定コマンド処理手段とを設けた
ものである。
このシステムにおいて、両面印刷では好ましくは1枚の
用紙の表面および裏面に対応する2ベ一ジ単位に紙サイ
ズおよび印刷部数の指定を許容する。
前記上位装置内に、各論理ページの紙継・横方向を指定
する紙継・横方向指定コマンドの発行手段と、各論理ペ
ージの印字方向を指定する印字方向指定コマンドの発行
手段とを更に設け、前記印刷制御装置内に、前記紙継・
横方向指定コマンドを実行する紙継・横方向指定コマン
ド処理手段と、前記印字方向指定コマンドを実行する印
字方向指定コマンド処理手段とを更に設け、両面印刷に
おいては、1枚の用紙の表面および裏面に対応する2ペ
ージ単位に紙継・横方向の指定を許容するようにしても
よい。
また、前記上位装置内に、各論理ページの給紙部を指定
する給紙部指定コマンドの発行手段と、各論理ページの
排紙部を指定する排紙部指定コマンドの発行手段とを更
に設け、前記印刷制御装置内に、前記給紙部指定コマン
ドを実行する給紙部指定コマンl<処理手段と、前記排
紙部指定コマンドを実行する排紙部指定コマンド処理手
段とを更に設け、両面印刷においては、1枚の用紙の表
面および裏面に対応する2ページ単位に紙継・横方向の
指定を許容するようにしてもよい。
本発明による印刷制御装置は、中間トレイを内蔵した両
面印刷機構付きプリンタを制御する印刷制御装置におい
て、印刷すべき各論理ページの内容を描画する複数ペー
ジ分のページバッファと、前半処理部および後半処理部
からなる両面印刷制御手段とを備え、前記前半処理部は
、印刷すべき各論理ページの通し番号を更新するページ
通し番号更新部と、該ページ通し番号の偶奇を判定する
奇数ページ・偶数ページ判定部と、奇数ページについて
、前記ページバッファへの描画および表面印刷起動を行
う奇数ページ処理部と、偶数ページについて前記ページ
バッファへの描画を行う偶数ページ処理部とにより構成
し、前記後半処理部は、偶数ページについて裏面印刷処
理起動を行う裏面印刷処理起動部により構成したもので
ある。
好ましくは、前記前半処理部内に、印刷すべき文書の終
了を検出する第1の検出部、最終ページバッファへの描
画完了を検出する第2の検出部、前記中間トレイの満杯
を検出する第3の検出部、紙サイズの変更を検出する第
4の検出部のうちの少なくとも一つの検出部を有し、該
検出部の検出結果に応じて前半処理を終了し、後半処理
に移行する。
前記前半処理部内に、紙サイズの変更を検出する検出部
を設け、該検出部により紙サイズ変更が検出されたとき
、後半処理を行って前記中間トレイから変更前の紙サイ
ズの用紙を排呂し、該排呂完了を待って、変更後の新た
な紙サイズについて前半処理を再開するようにすること
もできる。
前記印刷制御装置において、印刷データを印刷コマンド
列として受信し、該受信したコマンド列を格納するコマ
ンドバッファを設け、前記前半処理部が該コマンドバッ
ファ内の印刷コマンド列を解釈・実行して描画を行う際
に、前記コマンドバッファ内に該描画を行っているペー
ジの途中までしか印刷コマンドが存在しない場合、当該
前半処理をコマンド受信待ち状態とし、後続の印刷コマ
ンドを受信後、前記コマンド受信待ち状態を解除するこ
ともできる。
さらに、前記印刷制御装置において、中間トレイ満杯を
検出する検出部と、少なくとも中間トレイ満杯による印
刷未完了のページ情報および印刷部数情報を格納する制
御テーブルとを設け、前記検出部により中間トレイ満杯
が検出さ九たとき、後半処理を行って前記中間トレイか
ら用紙を排出し、該排出完了を待ち、前記制御テーブル
を参照して未完了の印刷処理を再開することもできる。
本発明による印刷制御装置は、他の見地によれば、中間
トレ′イを内蔵した両面印刷機構付きプリンタを制御す
る印刷制御装置において、印刷すべき各論理ページの内
容を描画する複数ページ分のページバッファと、前半処
理部および後半処理部からなる両面印刷制御手段とを備
え、前記前半処理部は、印刷すべき各論理ページが表面
か裏面かを判定する表裏判定部と、表面ページについて
前記ページバッファへの描画および表面印刷起動を行う
表面ページ処理部と、裏面ページについて前記ページバ
ッファへの描画を行う裏面ページ処理部とにより構成し
、前記後半処理部は、裏面ページについて裏面印刷処理
起動を行う裏面印刷起動部により構成したものである。
本発明による両面印刷制御方法は、中間トレイを内蔵し
た両面印刷機構付きプリンタを制御する両面印刷制御方
法であって、a)複数ページにわたる印刷データを受け
て、順次各ページが表面か裏面かを判断し、b)表面で
あれば、当該ページの描画をページバッファに対して行
うとともに、前記中間トレイを排紙部として当該描画内
容の表面印刷を行い、C)裏面であれば、当該ページの
描画をページバッファに対して行い、d)予め定めた条
件が満足されるまで前記処理a)〜C)を反復して実行
し、e)前記条件が満足されたとき、前記処理C)で描
画された裏面ページに対応するページバッファの描画内
容について、前記中間トレイに格納された用紙に対して
当該中間トレイを給紙部として裏面印刷を行うようにし
たものである。
この両面印刷制御方法において、前記予め定めた条件は
、例えば、印刷すべき文書の終了、最終ページバッファ
への描画完了、前記中間トレイの満杯、紙サイズの変更
のうちの少なくとも一つが検出されることである。
[作 用コ
上位装置であるホストコンピュータが片面・両面印刷指
定コマンド発行手段を用いて、文書第1ページの先頭に
て両面印刷を指示すると、印刷制御装置は片面・両面印
刷指定コマンドの解釈・実行後、両面印刷制御手段を用
いて、以後の印刷コマンド列を両面印刷モードにて解釈
・実行する。
両面印刷制御手段は、初めに、ページ通し番号(No)
をOとして、前半処理部を起動する。これに応じて前半
処理部は、ページ通しNo更新部によりページ通しNo
を更新し、それの偶奇を奇数ページ・偶数ページ判定部
により判定し、奇数の場合奇数ページ処理部を起動する
。
奇数ページ処理部は奇数ページについての描画を、改頁
条件を検出するまで行った後、給紙部を中間トレイ以外
の外部カセット、排紙部を中間トレイとする用紙表面へ
の印刷を1表面印刷用印刷処理起動部を用いて起動する
。実際の表面印刷は、表面印刷用印刷処理起動部により
起動された印刷処理部が行う。出来上がった用紙は、−
旦中間トレイへ格納される。
奇数ページ・偶数ページ判定部にて偶数と判定された場
合、偶数ページ処理部を起動する。これに応じて、偶数
ページ処理部は改頁条件を検出するまで偶数ページにつ
いての描画を行う。偶数ページについての裏面印刷は後
半処理部にて後で行う。
前半処理部は、文書終了、最終ページバッファへの描画
完了、中間トレイ満杯、紙サイズ変更という4種類の前
半処理終了条件のいずれかが成立するまで繰り返される
。前半処理終了条件が成qすると、前半処理を終了した
後、後半処理部を起動する。
後半処理部は、裏面印刷処理起動部か起動することによ
り、前半処理部にて描画のなされた各偶数ページに対応
するページバッファ部の描画内容を入力して、給紙部を
中間トレイ、排紙部を中間トレイ以外の外部トレイとす
る用紙裏面への印刷を行う。この裏面印刷により、各用
紙の表裏への両面印刷が終わる。
後半処理部は、ページバッファに描画されているすべて
の偶数ページ用の描画内容について、裏面印刷用印刷処
理起動部による処理を行った後、印刷未完了ページ処理
部を起動し、マルチページコピーにおける残り印刷処理
や最終ページのページ通しNOが奇数の場合に中間トレ
イに残存している用紙(表面印刷完了済み)の中間トレ
イから外部トレイへの排出処理を行う。
以上のように、ホストコンピュータが文書先頭にて両面
印刷の指定を行った後、通常の印刷コマンド列を送信す
れば、印刷制御装置が前半処理にて奇数ページについて
は描画と表面印刷の起動、偶数ページについては描画を
行い、後半処理にて前半処理にて描画したページについ
ての裏面印刷を行うことにより、両面印刷を行うことが
できるので、ホストコンピュータ側の開発負担が少なく
、ホストコンピュータ上の制御プログラムのプリンタ仕
様への依存度の小さい印刷システムを実現することがで
きる。
ところで、両面印刷では中間トレイを給紙部として利用
した後、排紙部として利用するよう切替る際、プリンタ
機構上処理時間が増大する。従って、中間トレイ容量を
フルに活用し、このような切替回数を少なくすることが
スループット向上のポイントである。
本印刷システムでは、中間トレイ容量をフルに活用し、
中間トレイが満杯になるまで前半処理を続けるため、中
間トレイの前半処理での排紙部としての利用から、後半
処理での給紙部としての利用への切替回数を最小にでき
るため、スループットを向上することができる。
また、本印刷システムでは、両面印刷において(a)マ
ルチページコピー、(b)1文書における用紙毎の紙サ
イズや印刷部数の変更が可能になるとともに、(c)紙
サイズ、印刷部数、紙継・横方向、給紙部等を裏面印刷
用に指定した場合の処理も支障なく行うことかできるの
で、ユーザにとって使い易い両面印刷機能を提供するこ
とができる。
(以下、余白)
[実施例]
以下、本発明の第1の実施例を第1図の構成例を用いて
説明する。
本印刷システムは、ホストコンピュータ10、プリンタ
コントローラ11、及び中間トレイ方式の両面印刷機構
付きのプリンタエンジン部IAからなる。
プリンタコントローラ11は、コマンド受信部12、コ
マンドバッファ部13.コマンド処理部14、ページバ
ッファ部18(複数のページに対応)、及びプリンタ制
御部19からなる。
ホストコンピュータ10が送信した印刷コマンドはコマ
ンド受信部12が受信し、コマンドバッファ部13へ格
納される。以後、印刷コマンドを単にコマンドと呼ぶこ
ともある。コマンドバッファ部13内のコマンドはコマ
ンド処理部14により処理され、その実行結果である文
字、図形、イメージ等の描画データは、ページバッファ
部18へ格納される。ページバッファ部18内のデータ
は、プリンタ制御部19が読出し、プリンタエンジン部
IAが受信できる形式の信号に変換して、プリンタエン
ジン部IAへ出力される。プリンタエンジン部IAは入
力された信号に従って、用紙面上への印刷を電子写真印
刷メカニズムやワイヤドツト印刷メカニズムを用いて行
う。
本実施例の特徴は、ホストコンピュータ10内に、プリ
ンタコントローラに対して片面印刷/両面印刷を指定す
るための片面・両面印刷指定コマンド発行手段101を
設けるとともに、プリンタコントローラ内のコマンド処
理部14に片面・両面印刷指定コマンド処理部15、片
面印刷制御部16、及び両面印刷制御部17を設けたこ
とである。
両面印刷を行う際、ホストコンピュータ10は、第1ペ
ージ先頭にて上記片面・両面印刷指定コマンド発行手段
101を用いて、両面印刷を指定する。
プリンタコントローラ11においては、本コマンドの実
行後、両面印刷制御部17が、以後の印刷コマンド列を
両面印刷モードにて解釈・実行し、プリンタエンジン部
IAに両面印刷を指示するウ一方、前記ホストコンピュ
ータ10上に、各論理ページの紙サイズを指定するため
の紙サイズ指定コマンド発行手段102と、各論理ペー
ジの印刷部数を指定するための印刷部数指定コマンド発
行手段103と、各論理ページの紙継・横方向を指定す
るための紙継・横方向指定コマンド発行手段104と、
各論理ページの印字方向を指定するための印字方向指定
コマンド発行手段105と、各論理ページの給紙部を指
定するための給紙部指定コマンド発行手段106と、各
論理ページの排紙部を指定するための排紙部指定コマン
ド発行手段107のうちの任意のものを設けた。
また前記プリンタコントローラ11における片面印刷制
御部16と両面印刷制御部17内の第1図(c)にて後
述する描画部には、紙サイズ指定コマンド処理部174
3と、印刷部数指定コマンド処理部1744と、紙継・
横方向指定コマンド処理部1745と、印刷方向指定コ
マンド処理部1746と、給紙部指定コマンド処理部1
747と、排紙部指定コマンド処理部1748を設けた
。
以上の各コマンド処理部1743〜1748は、ホスト
コンピュータ1oから受信した紙サイズ指定コマンド、
印刷部数指定コマンド、紙継・横方向指定コマンド、印
字方向指定コマンド、給紙部指定コマンド、排紙部指定
コマンドを実行するようにした。
これら6個のコマンドは、以後、印刷条件設定用の各種
コマンドと総称することにする。これらのコマンドの仕
様を第2図(a)と(b)に示す。なお、第2図にて定
めた紙サイズ指定コマンドと給紙部指定コマンドには、
以下のような関係を持たせる。
(i)紙サイズと給紙部の両方を指定した場合■指定さ
れた給紙部に指定された紙サイズのカセットが装着され
ていれば、その給紙部を指定する。
■両方の指定がされていない場合、(ii)に示す方法
で指定する。
(ii)紙サイズのみ指定した場合(給紙部は指定せず
任意)
(℃給紙部を順に調へ、指示された紙サイズのカセット
が装着されている給紙部を探す。紙サイズに対し縦方向
、横方向の両方向のカセットがサポートされている場合
、次のようにする。
例えば2紙サイズがA4と指示されると、プリンタコン
トローラはA4横、A4縦のカセットの順(印刷速度の
速い順)にカセットを調べ、給紙部を決定する。
(■給紙部に指示された紙サイズのカセットとがあれば
、そのカセットを給紙部として決定する。
■なければ、カセット装着指示のためのメツセージやラ
ンプをパネルに表示する。
(iii)紙サイズを指定せず、給紙部のみを指定した
場合、プリンタコントローラは紙サイズとして前値又は
初期値を用いる。
ところで、ホストコンピュータ10は、第3図(a)に
示す出来上がり状態の両面印刷を指示するため、これら
のコマンドを用いて、第3図(b)に示すコマンド列を
プリンタコントローラ11へ送信する。
第3図(a)において、PL、P2.−、PLOは、別
々の論理ページを示す。このうち、Pl。
P3.−、P9は用紙表面に印刷され、P2゜P4.・
・・、PLOは用紙裏面に印刷される。ここで、Plと
P2、P3とP4. ・、P9とPIOはそれぞれ同
し用紙の表面と裏面に印刷される。
前述した印刷条件設定用の各種コマンドは、各論理ペー
ジの紙サイズ、印刷部数1紙継・横方向、印字方向、給
紙部、排紙部等を指定するためのものであるが2両面印
刷においては同一用紙の表面への指定と裏面への指定が
一致しないと不都合が生じることがある。例えば、紙サ
イズや印刷部数の指定が表裏で一致しない場合、裏面へ
の印刷を指定値のまま実行しようとすると、不都合が生
しる。
そこで、上記コマンドにより用紙表面と用紙裏面に各印
刷条件を指定した場合の処理仕様を、第4図のように定
め、上記1743から1748の各コマンド処理部が本
図の仕様に従って処理するようにした。
第4図の要点は、以下の通りである。
(])用紙毎に紙サイズと印刷部数が異なっても良い。
(2)印字方向は各論理ページ毎に異なって良い。
(3)紙サイズ、印刷部数、紙継・横方向、印字方向、
給紙部、排紙部は、いずれの表面指定にても可能である
。
(4)裏面ページについては、上記指定項目のうち、印
字方向と排紙部のみが可能である。
(5)排紙部はいずれの論理ページでも指定可能である
が、表面で指定した場合その実行は裏面にのみ有効であ
る。
(6)各指定内容は、その指定が新たにあるまで、その
まま有効である。
(7)以上に合致しない条件での指定は、両面印刷指定
禁止コマンドエラーとして処理する。本エラー処理では
、エラー内容のホストコンピュータへの報告、プリンタ
コントローラ上操作パネルへの表示、及び印刷処理の中
止を行う。
第1図(b)に示すように、両面印刷制御部17は、前
半処理部171と後半処理部178と印刷処理部179
により構成する。前半処理部171はページ通しNO更
新部172.奇数ページ・偶数ページ判定部173、奇
数ページ処理部174、偶数ページ処理部175により
構成する。後半処理部178は裏面印刷用印刷処理起動
部17A、印刷未完了ページ処理部17Bにより構成す
る。
なお、同図(b)において示した第2の制御テーブル1
77および別サイズ用紙中間トレイ混入防止部17Cに
ついては、後述する他の実施例の説明中で言及する。
両面印刷制御部17は、初めに、ページ通しNOをOと
して、前記前半処理部171を起動する。
前半処理部】71は、ページ通しNO更新部172によ
りページ通しNoを更新し、それの偶奇を奇数ページ・
偶数ページ判定部173により判定し、奇数の場合、奇
数ページ処理部174を起動する。
奇数ページ処理部174は奇数ページについての描画を
、改頁条件を検出するまで描画部174−1にて行った
後、給紙部を中間トレイ以外の外部カセット、かつ排紙
部を中間トレイとする用紙表面への印刷を、表面印刷用
印刷処理起動部174−2を用いて起動する6実際の表
面印刷は、前記表面印刷用印刷処理起動部174−2に
より起動された前記印刷処理部179が行う。出来上が
った用紙は、−互生間トレイへ格納される。
前記奇数ページ・偶数ページ判定部173にて偶数と判
定された場合、偶数ページ処理部175を起動する。偶
数ページ処理部175は偶数ページについての描画を改
頁条件を検出するまで描画部175−1にて行う。偶数
ページについての裏面印刷は後半処理部178にて後で
行う。
前半処理部171は、本実施例では■文書終了、■最終
ページバッファへの描画完了、■中間トレイ満杯、■紙
サイズ変更という4種類の前半処理終了条件のいずれか
が成立するまで繰り返される。
この前半処理終了条件が成立すると、前半処理を終了し
た後、後半処理部179を起動する。
後半処理部178は、裏面印刷処理起動部17Aを起動
することにより、前半処理部171にて描画のなされた
各偶数ページに対応するページバッファ部18の描画内
容を入力して、給紙部を中間トレイ、かつ排紙部を中間
トレイ以外の外部トレイとする用紙裏面への印刷を行う
。この裏面印刷により、各用紙の表裏への両面印刷が終
わる。
後半処理部178は、前記ページバッファに描画されて
いるすべての偶数ページ用の描画内容について、裏面印
刷用印刷処理起動部17Aによる処理を行った後、印刷
未完了ページ処理部17Bを起動する。印刷未完了ペー
ジ処理部17Bは、マルチページコピーにおける残り印
刷処理(第4実施例にて詳しく説明する)や最終ページ
のページ通しNoが奇数の場合に中間トレイに残存して
いる用紙(表面印刷完了済み)の中間トレイから外部ト
レイへの排出処理を行う。
なお、前述の紙サイズ指定コマンド処理部1743、印
刷部数指定コマンド処理部1744、紙継・横方向指定
コマンド処理部1745、印字方向指定コマンド処理部
1746、給紙部指定コマンド処理部1747、排紙部
指定コマンド処理部1748は、奇数ページ処理部17
4と偶数ページ処理部175にある描画部174−1と
175−1内に、第1図(C)に示したように設けた。
第1図(C)において、描画部174−1と175−1
には、コマンドバッファ読出し部1741と改頁処理部
1742を設けた。コマンドバッファ読出し部1741
は、前記コマンドバッファ部13からコマンド読出しを
行う部分であり、描画部174−1又は175−1がコ
マンド解釈を行うために利用する。また改頁処理部17
42は、描画部174−1又は175−1が前記コマン
ドバッファ部13内のコマンド列を処理中に、ページ区
切り、つまり改頁条件を検出した場合に起動され、ペー
ジ更新処理を行う。
第1図(c)を用いて、4種類の前半処理終了条件■文
書終了、■最終ページバッファへの描画完了、■中間ト
レイ満杯、■紙サイズ変更の検出とそれに伴う前半処理
から後半処理への処理の移行の仕組みを説明する。
(1・の文書終了は、前記コマンドバッファ読出し部1
741が文書終了検出部174Aを用いて検出する。
■の最終ページバッファへの描画完了は、改頁処理部1
742が複数ページからなるページバッファ部18内の
最終ページバッファへの描画アクセスを、最終ページバ
ッファへの描画完了検出部174Bを用いて検出する。
■の中間トレイ満杯は、改頁処理部1742内の中間ト
レイ満杯検出部174Cがプリンタエンジン部IAの中
間トレイ内の用紙枚数が満杯であるか管理し、判定する
ことにより検出する。
■の紙サイズ変更は、紙サイズ指定コマンド処理部17
43が紙サイズ変更検出部174Dを用いて検出する。
上記四種類の前半処理終了条件のいずれかが検出される
と、その検出内容を第1の制御テーブル176内の前半
処理終了フラグに設定するようにする。
描画部174−]−又は175−1は、前半処理終了条
件のいずれかの成立を、前半処理終了フラグを参照する
ことにより検出すると、前半処理部171による処理を
終了し、後半処理部178による処理へ移るようにした
。
なお、第1図(b)において、描画部174−1と17
5−1は別々に設けであるものとして説明したが、1箇
所に統合し共通利用するようにしても良い。この場合も
同様に両面印刷を行うことができる。
第5図に、前半処理終了フラグの(a)定義、(b)セ
ット箇所(タイミング)、(C)それの参照による前半
処理の終了箇所(タイミング)、(d)前半処理終了時
のページの偶・奇の区別を示す。
第1図の各部は、マイクロプロセッサ、RAM、ROM
、LS1.論理IC1電子写真印刷メカニズム、ワイヤ
ドツト印刷メカニズム等を用いて、実現することができ
ることは後で述へる。
本実施例においては、以上のようにホストコンピュータ
が文書先頭にて両面印刷の指定を行った後、通常の印刷
コマンド列を送信すれば、プリンタコントローラが前半
処理にて奇数ページについては描画と表面印刷の起動、
偶数ページについては描画を行い、後半処理にて前記前
半処理にて描画したページについての裏面印刷を行うこ
とにより、両面印刷を行うことができるので、ホストコ
ンピュータ側の開発負担が少なく、ホストコンピュータ
上の制御プログラムのプリンタ仕様への依存度の小さい
印刷システムを実現することができる。
ところで、両面印刷では中間トレイを給紙部として利用
した後、排紙部として利用するよう切替る際、プリンタ
機構上処理時間が増大する。従って、中間トレイ容量を
フルに活用し、この切替回数を少なくすることがスルー
プット向上のポイントである。
本印刷システムでは、中間トレイ容量をフルに活用し、
中間トレイが満杯になるまで前半処理を続けるため、中
間トレイの前半処理での排紙部としての利用から、後半
処理での給紙部としての利用への切替回数を最少にでき
るため、スループットを向上させることができる。
また、本印刷システムでは、両面印刷において(a)マ
ルチページコピー、(b)−文書における用紙毎の紙サ
イズや印刷部数の変更が可能になるとともに、(c)紙
サイズ、印刷部数、紙継・横方向、給紙部等を裏面印刷
用に指定した場合の処理も支障なく行うことができるの
で、ユーザにとって使い易い両面印刷機能を提供するこ
とができる。
(以下、余白)
次[Industrial Field of Application] The present invention relates to a printing system in which a host computer such as a personal computer, workstation, word processor, etc. controls a printer with a duplex printing mechanism via a print control device. [Prior Art] Conventionally, in a printing system using a printer with a double-sided printing mechanism that employs an intermediate tray method, printing is performed in the following manner. (1) The host computer processes as follows. (i) After determining the number n of sheets stored in the intermediate tray (for example, n=
3) - Create print commands for odd-numbered pages in sequence, and
The printer controller (print control bag M
). In front side printing, the host computer specifies an external cassette other than the intermediate tray as the paper feed section and an intermediate tray as the paper discharge section. (ii) Then, in the same way, the second page, the fourth page, etc.
. . , instructs the printer controller to print the back side of the second nth page. For reverse side printing, the host computer uses an intermediate tray as a paper feed section, an external tray other than the intermediate tray as a paper output section,
instruct. (2) The printer controller performs the following processing in common for both front-side printing and back-side printing of a certain page. (i) Drawing is performed until a page break condition is detected. (ii) When the page break condition is detected, the following printing process is performed. ■ Confirmation and instruction of paper feed section section ■ Confirmation and instruction of paper discharge section section ■ Print instruction This conventional technique is described in Japanese Patent Publication No. 16976/1983. In addition, as a related known example, Japanese Patent Application Laid-open No. 63-2470
No. 41 and No. 63-247042 disclose that two or more pages of image data to be transferred from a data processing device are
A ``double-sided printing system'' is disclosed in which data is transferred to a printer twice, and even-numbered pages are printed during one data transfer, and odd-numbered pages are printed during the other data transfer. Problems to be Solved] In the above conventional technology, drawing and printing processing for odd-numbered pages and drawing and printing processing for even-numbered pages are performed separately.The host computer cuts out the pages after acquiring knowledge about the printer and duplex printing control. , creating print commands for every other odd-numbered page, creating print commands for every other even-numbered page, instructing the use of the intermediate tray as a paper feed section or paper ejection section, and controlling the intermediate tray capacity in the printer to prevent it from exceeding. , etc. need to be performed by the control program, which poses a problem in that the burden of developing the control program on the host computer side is large.Furthermore, when data is transferred twice for all odd and even pages, the data There is a problem that the time required for transfer doubles.Furthermore, since the above control programs are highly dependent on printer specifications, in order to support multiple types of printers, the host computer must write control programs for the number of printers. It had to be developed and implemented, which placed a heavy burden on the host computer.In addition, the conventional technology does not take into consideration the following items, and cannot provide a user-friendly double-sided printing function. (1) Ability to change paper size and number of copies for each paper within one document. (2) Ability to specify paper size, number of copies, paper splice/horizontal direction, paper source, etc. for back side printing. (3) Processing procedure when the printer controller detects ■change in intermediate tray storage paper size, ■intermediate tray full, ■end of document, ■change in paper size, etc. (4) ) Processing procedure for multi-page copying when the number of copies to be printed is 2 or more.In particular, multi-page copying procedure when the number of copies to be printed exceeds the storage capacity of the intermediate tray. It is an object of the present invention to provide a printing system having a double-sided printing function, a printing control method, and an apparatus that require less development burden and have high throughput. [Means for Solving the Problems] In order to achieve the above object, a printing system according to the present invention includes a printer with a duplex printing mechanism, a host device that issues print commands, and a host device that interprets print commands received from the host device. In the printing system, the printing system includes a print control device that executes the command and instructs the printer to print, in the upper device, issuing means for issuing a single-sided/double-sided printing designation command that specifies whether to print on one side or on both sides; A means for issuing a paper size designation command that designates the paper size on which a logical page is to be printed, and a means for issuing a print number designation command that designates the number of copies to be printed of each logical page are provided in the print control device. means for interpreting a duplex print designation command; duplex print control means for interpreting and executing a print command string in a duplex print mode; paper size designation command processing means for executing the paper size designation command; and the number-of-copies designation command. The print copy number designation command processing means for executing the print copy number designation command processing means is provided. In this system, in double-sided printing, the paper size and number of copies to be printed are preferably allowed to be specified in units of two pages corresponding to the front and back sides of one sheet of paper. The host device further includes means for issuing a splicing/horizontal direction designation command for specifying the splicing/horizontal direction of each logical page, and means for issuing a print direction designation command for designating the printing direction of each logical page. , in the printing control device, the paper splicing
A paper splicing/horizontal direction designation command processing means for executing a horizontal direction designation command and a printing direction designation command processing means for executing the print direction designation command are further provided. It may also be possible to allow specification of paper splicing and horizontal direction in units of two pages corresponding to . Further, the host device further includes means for issuing a paper source specification command for specifying a paper source for each logical page, and means for issuing a paper output unit specification command for specifying a paper output unit for each logical page. , the print control device further includes a paper feed unit designation command l< processing unit that executes the paper feed unit designation command and a paper discharge unit designation command processing unit that executes the paper discharge unit designation command; In printing, the paper splicing and horizontal direction may be specified in units of two pages corresponding to the front and back sides of one sheet of paper. A print control device according to the present invention is a print control device that controls a printer with a double-sided printing mechanism that has a built-in intermediate tray. a double-sided printing control means consisting of a processing section, and the first half processing section includes a page serial number updating section that updates the serial number of each logical page to be printed, and an odd page/even page determining section that determines whether the page serial number is even or odd. and an odd page processing unit that performs drawing on the page buffer and startup of surface printing for odd numbered pages, and an even page processing unit that performs drawing on the page buffer for even numbered pages, and the latter half processing unit: This is configured by a back-side printing processing starting section that starts back-side printing processing for even-numbered pages. Preferably, the first half processing section includes a first detection section that detects the end of the document to be printed, a second detection section that detects the completion of drawing to the final page buffer, and a third detection section that detects that the intermediate tray is full. and a fourth detection section that detects a change in paper size, and depending on the detection result of the detection section, the first half process is finished and the second half process is started. A detection unit for detecting a change in paper size is provided in the first half processing unit, and when the detection unit detects a change in paper size, the second half processing is performed and the paper of the paper size before the change is discharged from the intermediate tray. However, it is also possible to restart the first half process for the new paper size after the change, after waiting for the completion of the cleaning. The print control device receives print data as a print command string, and provides a command buffer for storing the received command string, and the first half processing unit interprets and executes the print command string in the command buffer to perform drawing. If there is a print command in the command buffer only up to the middle of the page on which the drawing is being performed, the first half of the process is set to a command reception waiting state, and after receiving the subsequent print command, the print command is returned to the command reception waiting state. You can also cancel it. Furthermore, the print control device includes a detection unit that detects when the intermediate tray is full, and a control table that stores at least information on unfinished pages printed due to the intermediate tray being full and information on the number of copies to be printed, and the detection unit detects when the intermediate tray is full. When this is detected, it is also possible to perform the latter half of the process, eject the paper from the intermediate tray, wait for the ejection to be completed, and then resume the unfinished printing process by referring to the control table. From another point of view, the print control device according to the present invention is a print control device for controlling a printer with a duplex printing mechanism that has a built-in intermediate tray. It includes a page buffer, and a double-sided printing control unit consisting of a first half processing section and a second half processing section, and the first half processing section includes a front/back determining section that determines whether each logical page to be printed is the front side or the back side, and It is composed of a front page processing section that performs drawing on the page buffer and startup of front side printing, and a back page processing section that performs drawing on the page buffer for the back page, and the latter half processing section starts back printing processing for the back page. This is composed of a back-side printing activation section that performs the following operations. The duplex printing control method according to the present invention is a duplex printing control method for controlling a printer with a duplex printing mechanism equipped with a built-in intermediate tray, which comprises: a) receiving print data for a plurality of pages and sequentially determining whether each page is the front side or the back side; b) If it is the front side, draw the page in the page buffer and print the drawing content on the front side using the intermediate tray as a paper ejection unit. C) If it is the back side, print the page on the page buffer. Draw is performed on the page buffer, d) Repeats the above processes a) to C) until a predetermined condition is satisfied, and e) When the above condition is satisfied, performs the drawing in the process C). The drawing content of the page buffer corresponding to the back page is printed on the back side of the paper stored in the intermediate tray using the intermediate tray as a paper feeding section. In this double-sided printing control method, the predetermined condition is, for example, when at least one of the following is detected: the end of the document to be printed, the completion of drawing to the final page buffer, the intermediate tray being full, and a change in paper size. That's true. [Operation] When the host computer, which is a higher-level device, uses the single-sided/duplex printing designation command issuing means to instruct double-sided printing at the beginning of the first page of a document, the print control device interprets and interprets the single-sided/double-sided printing designation command. After execution, the duplex printing control means is used to interpret and execute subsequent print command sequences in duplex printing mode. The double-sided printing control means first sets the page serial number (No.
Set to O and start the first half processing section. In response to this, the first half processing unit changes the page number by the page number updating unit.
is updated, and whether it is even or odd is determined by the odd page/even page determination section, and if the number is odd, the odd page processing section is activated. The odd-numbered page processing section performs drawing for odd-numbered pages until a page break condition is detected, and then prints on one surface of the paper using an external cassette other than the intermediate tray as the paper feed section and an intermediate tray as the paper output section. Activate using the print processing activation unit for printing. Actual front side printing is performed by a print processing unit activated by a print process activation unit for front side printing. The finished paper is -
It is then stored in the intermediate tray. If the odd page/even page determining unit determines that the page is even, the even page processing unit is activated. In response, the even-numbered page processing unit performs drawing for even-numbered pages until a page break condition is detected. Printing on the back side of even-numbered pages is performed later in the latter half processing section. The first half processing section is repeated until one of four first half processing end conditions is satisfied: document completion, completion of drawing to the final page buffer, intermediate tray full, and paper size change. When the first half processing end condition is met, the second half processing section is activated after the first half processing is completed. The second half processing section inputs the drawing contents of the page buffer section corresponding to each even numbered page rendered in the first half processing section by activating the back side printing processing starting section, and transfers the paper feed section to the intermediate tray and output tray. Printing is performed on the back side of paper using an external tray other than the intermediate tray as the paper section. This back side printing completes double-sided printing on the front and back sides of each sheet. After the second-half processing unit processes the drawing contents for all even-numbered pages drawn in the page buffer by the printing process starting unit for back side printing, it starts the unprinted page processing unit and performs processing in multi-page copying. When the remaining printing process or the page pass number of the last page is an odd number, the paper remaining in the intermediate tray (on which front side printing has been completed) is discharged from the intermediate tray to the external tray. As described above, if the host computer specifies double-sided printing at the beginning of the document and then sends a normal print command sequence, the print control device will start drawing and front-side printing for odd-numbered pages in the first half of the process. Double-sided printing can be performed by drawing on even-numbered pages and printing on the back side of the pages drawn in the first half in the second half of the process, reducing the development burden on the host computer. It is possible to realize a printing system that is less dependent on the printer specifications of the control program. By the way, in double-sided printing, when the intermediate tray is used as a paper feed section and then switched to be used as a paper discharge section, the processing time increases due to the printer mechanism. Therefore, the key to improving throughput is to make full use of the intermediate tray capacity and reduce the number of switching operations. This printing system makes full use of the intermediate tray capacity.
Since the first half of processing continues until the intermediate tray is full, the number of times the intermediate tray is switched from being used as a paper ejection section in the first half of processing to being used as a paper feeding section during second half processing can be minimized, thereby reducing throughput. can be improved. In addition, this printing system allows for (a) multi-page copying in double-sided printing, (b) changing the paper size and number of print copies for each paper in one document, and (c) changing the paper size, number of print copies, and paper splicing. - Processing when the horizontal direction, paper feed section, etc. are specified for back-side printing can be performed without any problem, so it is possible to provide a user-friendly double-sided printing function. (Hereinafter, blank space) [Example] Hereinafter, a first example of the present invention will be described using the configuration example shown in FIG. This printing system includes a host computer 10, a printer controller 11, and a printer engine section IA equipped with an intermediate tray type double-sided printing mechanism. The printer controller 11 includes a command receiving section 12, a command buffer section 13. It consists of a command processing section 14, a page buffer section 18 (corresponding to a plurality of pages), and a printer control section 19. The print command sent by the host computer 10 is received by the command receiving section 12 and stored in the command buffer section 13. Hereinafter, the print command may be simply referred to as a command. Commands in the command buffer section 13 are processed by the command processing section 14, and drawing data such as characters, figures, images, etc., which are the execution results, are stored in the page buffer section 18. The data in the page buffer section 18 is read by the printer control section 19, converted into a signal in a format that can be received by the printer engine section IA, and outputted to the printer engine section IA. The printer engine section IA prints on the paper surface using an electrophotographic printing mechanism or a wire dot printing mechanism according to the input signal. The feature of this embodiment is that a host computer 10 is provided with a single-sided/double-sided printing designation command issuing means 101 for specifying single-sided printing/double-sided printing to the printer controller, and a command processing unit 14 in the printer controller is provided with A single-sided/double-sided printing designation command processing unit 15, a single-sided printing control unit 16, and a duplex printing control unit 17 are provided. When performing double-sided printing, the host computer 10 specifies double-sided printing at the beginning of the first page using the single-sided/double-sided printing designation command issuing means 101. In the printer controller 11, after executing this command, the double-sided printing control unit 17 interprets and executes the subsequent print command sequence in the double-sided printing mode, and instructs the printer engine unit IA to perform double-sided printing. The computer 10 includes a paper size specification command issuing means 102 for specifying the paper size of each logical page, a print number specification command issuing means 103 for specifying the number of copies of each logical page, and a paper size specification command issuing means 103 for specifying the number of copies of each logical page. Paper splicing/horizontal direction designation command issuing means 104 for specifying splicing/horizontal direction;
A print direction designation command issuing means 105 for specifying the print direction of each logical page, a paper source designation command issuing means 106 for specifying the paper feed section of each logical page, and a paper ejection section for each logical page. An arbitrary one of the paper discharge part designation command issuing means 107 for designation is provided. Further, in the drawing section, which will be described later in FIG.
3, the print number specification command processing unit 1744, and the paper splicing/
Horizontal direction specification command processing section 1745, print direction specification command processing section 1746, and paper feed section specification command processing section 1
747 and a paper discharge section designation command processing section 1748 are provided. Each of the above command processing units 1743 to 1748 processes the paper size designation command received from the host computer 1o,
The commands for specifying the number of print copies, splicing/horizontal direction, print direction, paper feed section, and paper output section can now be executed. These six commands will hereinafter be collectively referred to as various commands for setting printing conditions. The specifications of these commands are shown in FIGS. 2(a) and 2(b). Note that the paper size specification command and paper source specification command defined in Figure 2 are as follows:
Create a relationship like the one below. (i) When both paper size and paper source are specified ■ If a cassette of the specified paper size is attached to the specified paper source, that paper source is specified. ■If both are not specified, use the method shown in (ii) to specify. (ii) When only the paper size is specified (optional without specifying the paper source) (°C) The paper source is searched in order for the paper source in which the cassette of the specified paper size is installed. On the other hand, if both portrait and landscape cassettes are supported, do the following: For example, if two paper sizes are specified as A4, the printer controller will select A4 landscape and A4 portrait cassettes in the order (printing speed Check the cassettes in order of speed (fastest first) and determine the paper source. (■ If there is a cassette with the specified paper size in the paper source, determine that cassette as the paper source. ■ If not, install the cassette. Messages and lamps for instructions are displayed on the panel. (iii) If the paper size is not specified and only the paper source is specified, the printer controller uses the previous value or initial value as the paper size. By the way, the host computer 10 uses these commands to send the command string shown in FIG. 3(b) to the printer controller 11 in order to instruct double-sided printing of the finished state shown in FIG. 3(a). In a), PL, P2.-, PLO indicate separate logical pages. Among these, Pl. P3.-, P9 are printed on the paper surface, and P2゜P4.-
..., PLO is printed on the back side of the paper. Here, Pl and P2, P3 and P4.・P9 and PIO are printed on the front and back sides of the same paper, respectively. The various commands for setting print conditions described above are for specifying the paper size, number of copies to be printed (one sheet, horizontal direction, print direction, paper feed section, paper ejection section, etc.) for each logical page, but two-sided printing is possible. In some cases, inconveniences may occur if the specifications for the front and back sides of the same sheet of paper do not match. For example, if the paper size and number of copies to be printed do not match on the front and back sides, an inconvenience will occur if you try to print on the back side with the specified values. Therefore, the processing specifications when each printing condition is specified for the front side and the back side of the paper by the above command are defined as shown in Figure 4, and each command processing section 1743 to 1748 is processed according to the specifications shown in this figure. did. The main points of FIG. 4 are as follows. (]) The paper size and number of copies may be different for each paper. (2) The printing direction may be different for each logical page. (3) Paper size, number of copies, paper splicing/horizontal direction, printing direction,
Either surface can be specified for the paper feed section and the paper discharge section. (4) For the back page, of the above specified items, only the print direction and paper ejection section can be specified. (5) The paper discharge section can be specified for any logical page, but if it is specified for the front side, the execution is effective only for the back side. (6) Each specification remains valid until a new specification is made. (7) A specification under conditions that do not match the above will be treated as a double-sided printing specification prohibition command error. In this error processing, the error details are reported to the host computer, displayed on the operation panel on the printer controller, and the printing process is canceled. As shown in FIG. 1(b), the double-sided printing control section 17 includes a first half processing section 171, a second half processing section 178, and a print processing section 179.
Consisting of: The first half processing section 171 includes a page number updating section 172. It is composed of an odd page/even page determining section 173, an odd page processing section 174, and an even page processing section 175. The latter half processing section 178 includes a print processing starting section 17A for back side printing and an unprinted page processing section 17B. Note that the second control table 1 shown in FIG.
77 and the different size paper intermediate tray mixing prevention section 17C will be mentioned later in the description of other embodiments. The double-sided printing control unit 17 first sets the page pass NO to O and starts the first half processing unit 171. [First-half processing unit] 71 updates the page number updating unit 172, and changes the even/odd number to the odd number page/page number update unit 172.
The even page determination section 173 makes a determination, and if the page is an odd number, the odd page processing section 174 is activated. The odd-numbered page processing unit 174 draws the odd-numbered pages in the drawing unit 174-1 until a page break condition is detected, and then sets the paper feed unit to an external cassette other than the intermediate tray and the paper output unit to the intermediate tray. The printing on the front side of the paper is started using the print processing starting section 174-2 for front side printing.6 Actual front side printing is started by the printing processing section 179 started by the printing processing starting section 174-2 for front side printing. will do. The completed paper is stored in the -alternative tray. If the odd page/even page determining unit 173 determines that the page is even, the even page processing unit 175 is activated. The even-numbered page processing unit 175 performs drawing for even-numbered pages in the drawing unit 175-1 until a page break condition is detected. Back side printing for even-numbered pages is performed later in the latter half processing section 178. In this embodiment, the first half processing section 171 is repeated until one of four types of first half processing termination conditions is satisfied: (1) end of document, (2) completion of drawing to the final page buffer, (2) intermediate tray full, and (2) change in paper size. When this first half processing end condition is met, the second half processing section 179 is activated after the first half processing is completed. The second half processing section 178 inputs the drawing contents of the page buffer section 18 corresponding to each even numbered page rendered by the first half processing section 171 by activating the back side printing processing starting section 17A, and then starts the paper feeding section. Printing is performed on the back side of paper using an intermediate tray and an external tray other than the intermediate tray as the paper ejection section. This back side printing completes double-sided printing on the front and back sides of each sheet. The second-half processing unit 178 activates the unprinted page processing unit 17B after the print process activation unit 17A for back side printing processes the drawing contents for all even-numbered pages drawn in the page buffer. The unprinted page processing unit 17B performs remaining printing processing in multi-page copying (details will be explained in the fourth embodiment) and paper remaining in the intermediate tray (front side printing) when the page running number of the final page is an odd number. Completed) from the intermediate tray to the external tray. Note that the aforementioned paper size specification command processing unit 1743, number of print copies specification command processing unit 1744, paper splicing/horizontal direction specification command processing unit 1745, print direction specification command processing unit 1746, paper source specification command processing unit 1747, and paper ejection The copy specifying command processing section 1748 is the odd page processing section 17
4 and the drawing sections 174-1 and 175-1 in the even-numbered page processing section 175 as shown in FIG. 1(C). In FIG. 1(C), drawing sections 174-1 and 175-1
is provided with a command buffer reading section 1741 and a page break processing section 1742. Command buffer reading section 1741
is a part that reads commands from the command buffer part 13, and is used by the drawing part 174-1 or 175-1 to interpret commands. Also, page break processing unit 17
42 is activated when the drawing section 174-1 or 175-1 detects a page break, that is, a page break condition, while processing the command string in the command buffer section 13, and performs page update processing. Using Figure 1(c), four types of first-half processing termination conditions: ■End of document, ■Completion of drawing to last page buffer, ■Intermediate tray full, ■Detection of paper size change and shift from first-half processing to second-half processing. Explain the mechanism of process migration. (The end of the document in step 1 means that the command buffer reading section 1
741 is detected using the document end detection unit 174A. The completion of drawing to the final page buffer in ■ is performed by the page break processing unit 1.
Reference numeral 742 detects a drawing access to the final page buffer in the page buffer section 18, which is made up of a plurality of pages, using the final page buffer drawing completion detection section 174B. The intermediate tray full condition (2) is detected by the intermediate tray full detection section 174C in the page break processing section 1742 managing and determining whether the number of sheets in the intermediate tray of the printer engine section IA is full. ■The paper size change is performed by the paper size specification command processing unit 17.
43 detects using the paper size change detection section 174D. When any of the above four types of first-half processing end conditions is detected, the detected content is set in the first-half processing end flag in the first control table 176. When the drawing unit 174-]- or 175-1 detects the fulfillment of any of the first-half processing end conditions by referring to the first-half processing end flag, the drawing unit 174-]- or 175-1 ends the processing by the first-half processing unit 171, and executes the processing by the second-half processing unit 178. I moved on to processing. Note that in FIG. 1(b), the drawing units 174-1 and 17
Although 5-1 has been described as being provided separately, they may be integrated in one location for common use. In this case as well, double-sided printing can be performed in the same way. Figure 5 shows (a) definition of the first half processing end flag, (b) setting location (timing), (C) end location (timing) of first half processing by referencing it, and (d) page at the end of first half processing. Shows the distinction between even and odd. Each part in Figure 1 includes a microprocessor, RAM, and ROM.
, LS1. What can be achieved using a logic IC1 electrophotographic printing mechanism, wire dot printing mechanism, etc. will be described later. In this embodiment, if the host computer specifies double-sided printing at the beginning of the document as described above and then sends a normal print command sequence, the printer controller will perform the drawing and surface printing for odd-numbered pages in the first half of the process. Start printing,
By drawing on even-numbered pages and printing on the back side of the pages drawn in the first half in the second half of the process, double-sided printing can be performed, reducing the development burden on the host computer and reducing the burden on the host computer. It is possible to realize a printing system in which the control program is less dependent on the printer specifications. By the way, in double-sided printing, when the intermediate tray is used as a paper feed section and then switched to be used as a paper discharge section, the processing time increases due to the printer mechanism. Therefore, the key to improving throughput is to fully utilize the intermediate tray capacity and reduce the number of switching operations. This printing system makes full use of the intermediate tray capacity,
Since the first half of processing continues until the intermediate tray is full, the number of times the intermediate tray is switched from being used as a paper output section in the first half of processing to being used as a paper feeding section during second half of processing can be minimized, thereby reducing throughput. can be improved. In addition, with this printing system, in double-sided printing, it is possible to (a) multi-page copy, (b) change the paper size and number of print copies for each paper in the document, and (c) change the paper size, number of print copies, and paper splicing. - Processing when the horizontal direction, paper feed section, etc. are specified for back-side printing can be performed without any problem, so it is possible to provide a user-friendly double-sided printing function. (Hereafter, blank space) Next
【二本発明の第2実施例を説明する。通常、中間トレ
イに異なるサイズの用紙が混入すると、プリンタエンジ
ン部はプリンタエラー状態(以後中間トレイエラーと呼
ぶ)となり、印刷を中止する。
本実施例は、中間トレイに異なるサイズの用紙が混入し
て中間トレイエラーが発生するのを防止するためのもの
である。
本実施例は、第1図(b)に示したように、前記第1の
実施例に対して、更に別サイズ用紙中間トレイ混入防止
部1.7 Cを前記両面印刷制御部17に追加したもの
である。
以下本実施例における処理手順を説明する。
(1)奇数ページの紙サイズ(紙サイズ1)が次の奇数
ページの紙サイズ(紙サイズ2)へと変わった場合、前
半処理部171の処理を終了する。
(2)紙サイズ1について後半処理部178による処理
を行い、紙サイズ1についての両面印刷を終える。
(3)両面印刷制御部17は別サイズ用紙中間トレイ混
入防止部17Cを起動する。この別サイズ用紙中間トレ
イ混入防止部17Cは、前記第1の制御テーブル176
内の前半処理終了フラグを参照し、紙サイズ変更が検出
されているか判定する。
紙サイズ変更が検出されている場合、別サイズ用紙中間
トレイ混入防止部17Cはプリンタエンジン部IA内に
中間トレイからの紙の搬送が前記紙サイズ1について終
了するのを待つ。紙の搬送状態は、該混入防止部17C
が、プリンタ制御部19の機能を用いて、プリンタエン
ジン部IAの紙搬送状態を間合せることにより、確認す
る。
(4)両面印刷制御部17は紙サイズ2についての両面
印刷を、前半処理部171の処理から始める。
以上のように、(3)において別サイズ用紙中間トレイ
混入防止部17Cが紙サイズ1についての中間トレイか
らの紙搬送が終了するのを待ってから、(4)において
紙サイズ2についての両面印刷を開始することにより、
前記中間トレイエラーを防止することができる。従って
、両面印刷において用紙毎に紙サイズを変えても支障無
く印刷を続行することができるという効果がある。
次に本発明の第3実施例を説明する。本実施例は、コマ
ンドバッファ部13にページの途中までしかコマンドが
入っていない場合に両面印刷を行うためのものである。
本実施例の構成は、第1実施例又は第2実施例の場合と
同様である。次に処理手順を示す。
(1)コマンドバッファ部13に奇数ページの途中迄し
かコマンドが入っていない場合。
(a)コマンドバッファ部13の状態が第6図(a)で
あると仮定する。前半処理部171は第1から第7ペー
ジを順に処理する。第1ページについては、奇数ページ
処理部174内の描画部174−1による描画と表面印
刷用印刷処理起動部174−2による表面印刷処理の起
動を行う。
第2ページについては、偶数ページ処理部175内の描
画部175−1により描画のみを行う。以下同様に、第
3ページについては描画と表面印刷処理の起動を行い、
第4ページについては描画のみを行うといった具合に処
理を進める。すると、第7ページについての描画部17
4−1による描画において、コマンドバッファ部13の
終わりを検出する。
(b)両面印刷制御部17は、以下、次のように処理を
進める。基本手順及びコマンドバッファアクセス用ポイ
ンタの制御は、片面印刷の場合と同じである。
1)両面印刷制御部17の処理をコマンド受信待ち状態
とする。
(ii)次のコマンド(第6図(b))を受信し、両面
印刷制御部17の処理を前記コマンド受信待ち状態から
解除する6
(j)両面印刷制御部17は、第7ページ後半のコマン
ドについての描画部174−1による描画処理から、前
半処理部171の処理を再開する。
(iy)前半処理部171は処理を続けながら、前記前
半処理終了条件の一つである文書終了を検出する。この
検出の後1両面印刷制御部17は、前半処理部171に
よる処理を終え、後半処理部178を起動する。
(v)後半処理部178は、裏面印刷用印刷処理起動部
17Aを用いて、第2ページ、第4ページ、・・・、第
10ページについての印刷処理を順に起動する。
(2)コマンドバッファ部に偶数ページの途中迄しかコ
マンドが入っていない場合。
奇数ページの途中しかコマンドが入っていない場合と同
様に処理する。コマンドバッファ部13の状態が第6図
(c)の場合の処理は、(1)における処理手順におい
て、次の3つの置き換えを行えば良い。
■第7ページを第8ページに置き換える。
■第6図(a)を第6図(c)に置き換える。
■第6図(b)を第6図(d)に置き換える。
本実施例によれば、ホストコンピュータが印刷コマンド
列を、ページ区切りを意識しないでプリンタコントロー
ラへ送信し、コマンドバッファにページの途中迄しかコ
マンドが入っていない場合でも、両面印刷を支障なく行
うことができるという効果がある。
次に本発明の第4実施例を説明する。本実施例は、印刷
部数が2以上のマルチページコピーを両面印刷において
も支障なく行うためのものである。
本実施例の構成は第1、第2.又は第3実施例の場合と
同様である。
印刷部数が複数の場合、ホストコンピュータ10からプ
リンタコントローラ11へのコマンド列の送信方法には
、第7図と第8図に示した二つの方法がある。第7図の
方法は、同一用紙の表裏である第コーページおよび第2
ページを複数部数印刷した後、第3ページおよび第4ペ
ージを複数部数印刷する、というように、各ページごと
に複数部数を印刷していくよう送信コマンドを作成した
ものである。他方、第8図の方法は、第1ページから最
終ページまでの印刷を行った後、これを複数回繰り返す
よう送信コマンドを作成したものである。後者は送信コ
マンド量が前者より多いが、出力結果がソーティングさ
れている点で優れている。但し、後者は前者よりスルー
プットが悪い。
ホストコンピュータ10は両面印刷を指示する場合、一
つの方法の長所と短所を評価し、適切な方法を選択する
。
以下、第7図の方法でマルチページコピーを行う場合の
処理手順を示す。なお、第8図の方法をとる場合、プリ
ンタコンI・ローラ1]、の処理は印刷部数が1の場合
と同じである。
(1)中間トレイ容量を超えない場合
片面印刷におけるマルチページコピーと、同様の処理手
順を実行する。つまり、各用紙表面又は用紙裏面につい
ての印刷処理部179による印刷において、出来りかっ
たページバッファ内容の読出しによる制御を印刷部数口
繰り返す。
(2)中間トレイ容量を超える場合
同一の奇数ページ又は偶数ページについてのマルチペー
ジコピー印刷を、中間トレイ容量を超えない範囲で繰り
返す。繰返し中間トレイ容量を超えないように制御する
ため、第2の制御テーブル177を両面印刷制御部]7
内に設ける(第1図(b)参照))。
第2の制御テーブル]77には第10図に示すように、
以下の項目を設ける。
■中間トレイ残り空き枚数(N r ) 1771■表
面印刷用マルチページコピー未完了ページのページ通し
番号(face pageseqno)1772■表面
印刷用マルチページコピー未完了ページの残り印刷部数
(face multno)1773■)裏面印刷用マ
ルチページコピー未完了ページのページ通し番号(ba
ck pageseqno)1774■裏面印刷用マル
チページコピー未完了ページの残り印刷部数(back
n+ultno)1775第9図に例を示す。第9図
(a)に、ホストコンピュータ10からプリンタコント
ローラ11への送信コマンド列の例を示す。第1ページ
と第2ページを同一用紙の表面と裏面に2部両面印刷し
、第3ページと第4ページを同一用紙の表面と裏面に2
部両面印刷し、第5ページと第6ページを同一用紙の表
面と裏面に30部両面印刷するよう、ホストコンピュー
タ10からプリンタコントローラ11へ指示がなされた
とする。ここで、プリンタエンジン部IA内の中間トレ
イ容量Nは24枚であると仮定して説明する。Nの値が
他の場合も同様である。
プリンタコントローラ11は第9図(b)に示すように
処理する。
初めに前半処理91を中間トレイ満杯になる前半処理終
了条件を検出するまで行い、表面印刷の終了した24枚
の用紙を中間トレイに格納する。
第9図(b)のように、Plが2枚、P3が2枚、P5
が20枚格納される。次に、後半処理92により、前半
処理91で格納した24枚の用紙に裏面印刷を行う。こ
の結果、両面印刷の終わった24枚の用紙が外部排紙ト
レイに出力される。次に再び前半処理93を行い、前半
処理91で表面印刷が未完了だったP5について表面印
刷を10部行い、中間トレイに格納する。最後に、後半
処理94を行い、前半処理93により表面印刷済みの1
0枚の用紙に、裏面印刷を行う。
前半処理91の処理手順をより詳しく説明する。
■第1ページについて描画と表面印刷処理の起動(2部
)を行う。
■第2ページについて描画を行う。
■第3ページについて描画と表面印刷処理の起動(2部
)を行う。
■第4ページについて描画を行う。
■第5ページについて描画の後、表面印刷処理を印刷部
数30部として起動しようとするが、30部すべてを中
間トレイに収納できない。従って、印刷部数を中間トレ
イ残り空き枚数Nr(1771)=24−4=20に相
当する20部として、表面印刷処理を起動する。
■■において、前半処理終了条件の一つである中間トレ
イ満杯を検出した後、前半処理部171の処理を終了し
、後半処理部178の処理を起動・終了する。
第11図に、第9図(b)の処理を両面印刷制御部17
が行う場合の、第2の制御テーブル177内の5項目の
値の推移を示す。
第2の制御テーブル177の各項目の初期値は、第11
図に示すように、Nr1771 = 24、facep
ageseqno1772 = −1、face m
ultno1773 = 01back pages
eqno 1774= −1、back mu
ltno1775 =Oと設定されている。前半処理9
1の終了の時点では、Nr1771 = O、face
pageseqno1772= P 5、face
multno1773= 10. back page
seqno 1774=−1、back multno
1775= Oと変化している。
後半処理92の処理手順をより詳しく説明する。
■第2ページについて裏面印刷処理(2部)を起動する
。
■第4ページについて裏面印刷処理(2部)を起動する
。
■第6ページについて裏面印刷処理(20部)を起動す
る。ここで、第6ページの印刷部数は24であるが、中
間トレイ内に20部しか用紙がないため、印刷部数を2
0部にしている。この後半処理終了時魚で第2の制御テ
ーブル177の各項目には、第11図に示すようにN
r 1771” 24、face pageseqn
o1772 = P 5、face ll1ultn
o1773 =10、back pageseqno
1774 = P 6、back multn。
1775= 10が設定される。
次に、前半処理93の処理手順をより詳しく説明する。
■ 第2の制御テーブル177内のface mult
n。
1773がOでないので、ページ通しNo face
pageseqno 1772について、印刷部数fa
ce multno 1773分の表面印刷を起動する
。
■文書終了を検出し、前半処理93を終え、後半処理9
4を起動する。
続いて、後半処理94の処理手順をより詳しく説明する
。
■第2の制御テーブル177内のback multn
。
1775がOでないので、ページ通しNo back
pageseqno 1774について、印刷部数ba
ck multno 1775分の裏面印刷を起動する
。
■文書終了が検出済みなので、両面印刷制御部17の処
理を終了する。
本実施例によれば、マルチページコピーを両面印刷にお
いても支障なく行うことができるという効果がある6前
述の第2実施例の効果と合わせることにより、用紙毎に
紙サイズや印刷部数を変えた場合についても両面印刷を
支障なく続行することがてきるようになる。
次に本発明の第5実施例を説明する。本実施例は、本出
願人が先に特願平1−164637号において提案した
印刷システムに前記両面印刷制御部17の機能を持たせ
たものであり、その構成を第12図に示す。描画処理と
印刷処理とは、タスク処理部13′によりそれぞれ描画
タスクと印刷タスクとして処理される。ページバッファ
部14′は複数のページバッファを有し、その使用状態
はページバッファ制御部116′内のページバッファ管
理テーブル部18′で管理される。プリンタエンジン部
16′の使用状態はプリンタ制御部117′内のプリン
タ管理テーブル部19′で管理される。
タスクの実行状態はタスク管理テーブル部17′により
管理され、これを参照してタスク制御部12′が各タス
クの起動等を行う。すなわち、空き状態のページバッフ
ァは描画タスクに割り当てられ、空き状態にあるプリン
タエンジン部は印刷タスクに割り当てられる。空き状態
のページバッファがない場合には描画タスクはページバ
ッファ空き待ち状態として管理され、任意のページバッ
ファが空き状態となったとき当該空き待ち状態が解除さ
れる。プリンタエンジン部が空き状態でない場合には、
印刷タスクはプリンタ空き待ち状態として管理され、空
き状態となったとき当該空き立ち状態が解除される。こ
のようにして、ページバッファ部およびプリンタエンジ
ン部等の共有資源を有効利用し、描画タスクおよび印刷
タスクを並列実行可能とすることにより、効率的な印刷
制御が達成できる。
本実施例では、第1図の両面印刷制御部17内の各構成
要素を第12図の各構成要素に次のように対応づけ、両
面印刷制御部17の各構成要素の機能は、以下のように
、第12図の各部の一機能として実現する。
(1)前半処理部171→描画タスク処理部131′
(2)後半処理部178→描画タスク処理部131′
(3)印刷処理部179→印刷タスク処理部132′
(4)第1の制御テーブル176→ページバツフア管理
テーブル部18′
(5)第2の制御テーブル177→プリンタ管理テーブ
ル部19′
(6)片面印刷制御部16→描画タスク処理部131′
と印刷タスク処理部132′
(7)片面・両面印刷指定コマンド処理部15→描画タ
スク処理部131′
なお、第12図の構成要素の参照番号にはダッシュを付
して、特願平1−164637号との対応関係を明確に
しである。
本実施例によれば、CPU、プリンタエンジン部、及び
ページバッファ部(複数ページからなる)を空き時間な
く使用することができるので、スループットを向上させ
、プリンタエンジン最高速度での両面印刷を実現するこ
とができる。
上述した実施例におけるプリンタコントローラのハード
ウェア構成の一具体例を第13図を用いて説明する。プ
リンタコントローラは、CPUバス]−11、ホスト通
信コントローラ112、CP U ]、 13、ROM
メモリ114、浮動少数点演算コプロセッサ115、サ
ブCP U 1.1.6、ユーザ操作パネル117、イ
メージ回転用LS1118、プリンタメモリコントロー
ラ119、及びDRAMメモリIIAからなる。
CPUバス1]−1は、CPU113の各種入出力信号
(アドレス信号、データ信号、その他の制御信号)から
なる。CPU113は本CPUバス111を介して、1
12,115,1 ]、 6,118゜119等の周辺
コントローラや114.IIA等のメモリと入出力を行
う。ここで、第1図(a)の機能図との対応を考えると
、第1図のコマンド受信部はホスト通信コントローラ1
12とCPU113に、コマンド処理部14はCPU1
13に、プリンタ制御部19はサブCPU116とプリ
ンタメモリコントローラ119に、コマンドバッファ部
13とページバッファ部18とはDRAMメモリIIA
に相当する。
ホスト通信コントローラ112は、プリンタコントロー
ラ1】がホストコンピュータ10と通信を行うためのコ
ントローラである。本通信(ホス1〜I / Fと呼ぶ
)の物理I/FとしてはSC5I(Small Com
puter Syatem Interface) 、
R3232C。
R5422,G P −I B (General
Purpose InterfaceBus) 、セ
ントロニクス、HD L C(High−LevelD
ata l、ink Control)等を用い、使用
する物理工/Fの種類に応じて本コントローラ112の
ハードウェア論理として適切なものを実装する。
ROMメモリ114にはプリンタコン(ヘローラの初期
化立上げプログラム(I P L (InitialP
rogram Loading)プログラムとも呼ぶ)
と文字フォントの一部を格納する。
DRAMメモリIIAには(i)本プリンタコントロー
ラの制御プログラム、(貧)文字フォントの残り、(i
ii)コマンドバッファ部メモリ、(iv)ページバッ
ファ部メモリ、及び(v)タスク管理テーブル、ページ
バッファ管理テーブル、プリンタ管理テーブル等の各種
管理テーブル、その他を格納する。これらのうち(i)
と(il)は前記IPLプログラムにて格納する。また
(1)と(h)はDRAMメモリ110に格納せず、R
OMメモリ114に予め格納しておいても良い。また逆
にROMメモリ114には文字フォントを一切格納せず
、すべてDRAMメモリ11Aに格納しても良い。
浮動少数点演算コプロセッサ115は
CPUI 13の指示に従い浮動少数点演算を行う。
イメージ回転用LS1118はCPU113による前記
ページバッファ部18への文字やイメージの描画処理に
おいて、CPU113の指示に従い描画出力の回転処理
を行う。浮動少数点演算コプロセッサ115やイメージ
回転LS1118により、描画処理を高速化できる。な
お、115や118は取り除きCPUにて処理すること
もできるが、この場合描画処理の速度は低下する。
サブCPU116は、CPU113の指示に従い、ユー
ザ操作パネル117やプリンタニンジン部IAとの間で
入出力処理を行う。
プリンタメモリコントローラ119はDRAMROMメ
モリ114(通常ページバッファ部の内容)のプリンタ
エンジン部IAへの読出し処理とD RA MメモリI
IAの制御(リフレッシュ等)を行う。本読出し処理は
内蔵のD M A (DirectMemory Ac
cess)機能を用いて行い、紙面−ページ分のデータ
のページバッファ部からの読出しが終了した時点で、プ
リンタメモリコントローラ119がCPU113に対し
割り込み信号(CPU/<ス111内の信号の一部)を
アサートし、CPUによるページ読出し終了割り込み処
理を起動する。
印刷制御装置はプリンタエンジン部1Aとの間で、サブ
CPU116が信号線11Bを介し、プリンタメモリコ
ントローラ119が信号線11Cを介して、ビデオI/
Fと呼ぶI/Fに従って、通信を行う。信号線11Cは
、プリンタメモリコントローラ119が前述したように
ページバッファ部18の内容をプリンタエンジン部IA
へ読出す画像出力信号からなる。信号線11BはサブC
PU116がプリンタエンジン部IAへ問合せや指示の
ためのコマンドを送信し、プリンタエンジン部IAから
応答ステータスを受信するためのコマンドステータス送
受信信号及び、前記ページバッファメモリ内容のプリン
タエンジン部IAへの読出し手順を制御するための制御
信号からなる。
以上の実施例の説明においては奇数のページ通しNoを
表面印刷に、偶数のページ通しNOを裏面印刷に対応さ
せたが、対応関係を変えても良い。つまり、偶数のペー
ジ通しNoを表面印刷に、奇数のページ通しNoを裏面
印刷に対応させても、同様に両面印刷を行うことができ
る。
[発明の効果コ
本発明によれば、ホストコンピュータが文書先頭にて両
面印刷の指定を行った後、通常の印刷コマンド列を送信
すれば、プリンタコントローラが前半処理にて奇数ペー
ジについては描画と表面印刷の起動、偶数ページについ
ては描画を行い、後半処理にて前記前半処理にて描画し
たページについての裏面印刷を行うことにより、両面印
刷を行うことができるので、ホストコンピュータ側の制
御プログラムの開発負担が少なく、ホストコンビ二−タ
上の制御プログラムのプリンタ仕様への依存度の小さい
印刷システムを実現することができるという効果がある
。
本発明による印刷システムでは、中間トレイ容量をフル
に活用し、中間トレイが満杯になるまで前半処理を続け
るため、中間トレイの前半処理での排紙部としての利用
から、後半処理での給紙部としての利用への切替回数を
最小にできるため、スループットを向上することができ
るという効果もある。
また、本発明による本印刷システムでは、両面印刷にお
いて(a)マルチページコピー、(b)−文書における
用紙毎の紙サイズや印刷部数の変更が可能になるととも
に、(c)紙サイズ、印刷部数、紙継・横方向、給紙部
等を裏面印刷用に指定した場合の処理も支障なく行うこ
とができるので、ユーザにとって使い易い両面印刷機能
を提供することができるという効果もある。[2] A second embodiment of the present invention will be described. Normally, when sheets of different sizes are mixed in the intermediate tray, the printer engine enters a printer error state (hereinafter referred to as an intermediate tray error) and stops printing. This embodiment is intended to prevent intermediate tray errors from occurring due to sheets of different sizes being mixed into the intermediate tray. In this embodiment, as shown in FIG. 1(b), in addition to the first embodiment, a different size paper intermediate tray mixing prevention section 1.7C is added to the duplex printing control section 17. It is something. The processing procedure in this embodiment will be explained below. (1) When the paper size of an odd numbered page (paper size 1) changes to the paper size of the next odd numbered page (paper size 2), the processing of the first half processing unit 171 ends. (2) Processing is performed by the latter half processing unit 178 for paper size 1, and double-sided printing for paper size 1 is completed. (3) The double-sided printing control unit 17 activates the different size paper intermediate tray mixing prevention unit 17C. This different size paper intermediate tray mixing prevention unit 17C is configured to control the first control table 176
Referring to the first half processing end flag in , it is determined whether a paper size change has been detected. If a change in paper size is detected, the intermediate tray mixing prevention section 17C for paper of another size waits until conveyance of the paper from the intermediate tray for paper size 1 is completed within the printer engine section IA. The conveyance state of the paper is determined by the mixing prevention section 17C.
This is confirmed by using the functions of the printer control section 19 to adjust the paper conveyance state of the printer engine section IA. (4) The double-sided printing control unit 17 starts double-sided printing for paper size 2 from the processing of the first half processing unit 171. As described above, in (3), the different size paper intermediate tray mixing prevention unit 17C waits for paper size 1 to be conveyed from the intermediate tray to completion, and then in (4), double-sided printing for paper size 2 is performed. By starting
The intermediate tray error can be prevented. Therefore, in double-sided printing, printing can be continued without any problem even if the paper size is changed for each paper. Next, a third embodiment of the present invention will be described. This embodiment is for performing double-sided printing when the command buffer section 13 contains commands only up to the middle of the page. The configuration of this embodiment is the same as that of the first embodiment or the second embodiment. Next, the processing procedure is shown. (1) When the command buffer section 13 contains commands only up to the middle of odd-numbered pages. (a) Assume that the state of the command buffer unit 13 is as shown in FIG. 6(a). The first half processing unit 171 sequentially processes the first to seventh pages. Regarding the first page, drawing is performed by the drawing section 174-1 in the odd-numbered page processing section 174, and front-side printing processing is started by the front-side printing print processing starting section 174-2. Regarding the second page, only drawing is performed by the drawing section 175-1 in the even-numbered page processing section 175. Similarly, for the third page, start drawing and surface printing processing,
Regarding the fourth page, the process proceeds by performing only drawing. Then, the drawing section 17 for the seventh page
4-1, the end of the command buffer section 13 is detected. (b) The double-sided printing control unit 17 proceeds with the processing as follows. The basic procedure and command buffer access pointer control are the same as for single-sided printing. 1) The process of the double-sided printing control unit 17 is set to a command reception waiting state. (ii) Receives the next command (FIG. 6(b)) and releases the processing of the duplex printing control unit 17 from the command reception waiting state 6 (j) The duplex printing control unit 17 receives the second half of the seventh page. The processing of the first half processing section 171 is restarted from the drawing processing of the drawing section 174-1 regarding the command. (iy) While continuing the processing, the first half processing unit 171 detects the end of the document, which is one of the conditions for ending the first half processing. After this detection, the one-sided printing control section 17 finishes the processing by the first half processing section 171 and starts the second half processing section 178. (v) The second half processing unit 178 sequentially starts the printing process for the second page, the fourth page, . (2) When the command buffer section contains commands only up to the middle of even-numbered pages. Process in the same way as if the command is only in the middle of an odd numbered page. When the state of the command buffer section 13 is as shown in FIG. 6(c), the following three replacements may be performed in the processing procedure in (1). ■Replace the 7th page with the 8th page. ■Replace Figure 6(a) with Figure 6(c). ■Replace Figure 6(b) with Figure 6(d). According to this embodiment, the host computer sends a print command string to the printer controller without being aware of page breaks, and even if the command buffer contains commands only up to the middle of the page, double-sided printing can be performed without any problem. It has the effect of being able to Next, a fourth embodiment of the present invention will be described. This embodiment is intended to perform multi-page copying in which the number of copies to be printed is two or more without any problem even in double-sided printing. The configuration of this embodiment is first, second, and so on. Or it is similar to the case of the third embodiment. When a plurality of copies are to be printed, there are two methods for transmitting a command sequence from the host computer 10 to the printer controller 11, as shown in FIGS. 7 and 8. The method shown in Figure 7 uses the first and second corpages, which are the front and back sides of the same sheet.
A sending command is created to print multiple copies of each page, such as printing multiple copies of a page, then printing multiple copies of the third and fourth pages. On the other hand, in the method shown in FIG. 8, after printing from the first page to the last page, a sending command is created to repeat this process multiple times. Although the latter has a larger amount of transmitted commands than the former, it is superior in that the output results are sorted. However, the latter has lower throughput than the former. When instructing double-sided printing, the host computer 10 evaluates the advantages and disadvantages of one method and selects an appropriate method. The processing procedure for performing multi-page copying using the method shown in FIG. 7 will be described below. Note that when the method shown in FIG. 8 is used, the processing of printer controller I/roller 1] is the same as when the number of copies to be printed is 1. (1) When the intermediate tray capacity is not exceeded Execute the same processing procedure as multi-page copying in single-sided printing. That is, in printing by the print processing unit 179 on the front side or the back side of each sheet, control by reading the completed page buffer contents is repeated for several copies to be printed. (2) When the intermediate tray capacity is exceeded Multi-page copy printing of the same odd or even pages is repeated as long as the intermediate tray capacity is not exceeded. In order to repeatedly control the intermediate tray capacity so as not to exceed it, the second control table 177 is set to the double-sided printing control unit]7
(see Fig. 1(b))). [Second control table] 77, as shown in FIG.
The following items shall be provided. ■ Number of remaining empty sheets in the intermediate tray (N r ) 1771 ■ Page serial number of unfinished multi-page copies for front side printing (face page seqno) 1772 ■ Remaining number of copies to print of uncompleted multi-page copies for front side printing (face multno) 1773 ■) Page serial number (ba
ck pageseqno) 1774 ■ Remaining number of copies of unfinished pages for multi-page copying for back side printing (back
n+ultno) 1775 An example is shown in FIG. FIG. 9(a) shows an example of a command sequence sent from the host computer 10 to the printer controller 11. Two copies of the first and second pages are printed on the front and back sides of the same paper, and two copies of the third and fourth pages are printed on the front and back sides of the same paper.
Assume that the host computer 10 instructs the printer controller 11 to print the fifth and sixth pages on both sides of the same sheet of paper for 30 copies. Here, the description will be made assuming that the intermediate tray capacity N in the printer engine section IA is 24 sheets. The same applies to other values of N. The printer controller 11 processes as shown in FIG. 9(b). First, the first half process 91 is performed until the first half process end condition that the intermediate tray becomes full is detected, and the 24 sheets of paper on which front side printing has been completed are stored in the intermediate tray. As shown in Figure 9(b), there are two Pl sheets, two P3 sheets, and P5
20 sheets are stored. Next, in the second half process 92, back side printing is performed on the 24 sheets of paper stored in the first half process 91. As a result, 24 sheets of paper with double-sided printing are output to the external paper ejection tray. Next, the first half process 93 is performed again, and 10 copies of the front side of P5, whose front side printing was not completed in the first half process 91, are printed and stored in the intermediate tray. Finally, the second half process 94 is performed, and the first half process 93 prints the surface printed one.
Perform back side printing on 0 sheets of paper. The processing procedure of the first half process 91 will be explained in more detail. ■Start drawing and surface printing processing (2 parts) for the first page. ■Draw on the second page. ■Start drawing and surface printing processing (2 parts) for the third page. ■Draw on the fourth page. - After drawing the fifth page, an attempt is made to start the front side printing process with 30 copies to be printed, but all 30 copies cannot be stored in the intermediate tray. Therefore, the number of copies to be printed is set to 20 copies, which corresponds to the number of empty sheets remaining in the intermediate tray Nr(1771)=24-4=20, and the front side printing process is started. In ■■, after detecting that the intermediate tray is full, which is one of the conditions for ending the first half processing, the processing of the first half processing section 171 is ended, and the processing of the second half processing section 178 is started and ended. FIG. 11 shows the process of FIG. 9(b) performed by the double-sided printing control unit 17.
5 shows the changes in the values of the five items in the second control table 177 when The initial value of each item in the second control table 177 is
As shown in the figure, Nr1771 = 24, facep
ageseqno1772 = -1, face m
ultno1773 = 01back pages
eqno 1774 = -1, back mu
It is set as ltno1775=O. First half processing 9
At the end of 1, Nr1771 = O, face
pageseqno1772=P5, face
multno1773=10. back page
seqno 1774=-1, back multno
It has changed to 1775=O. The processing procedure of the latter half processing 92 will be explained in more detail. ■Start the back side printing process (2 copies) for the second page. ■Start the back side printing process (2 copies) for the 4th page. ■Start the back side printing process (20 copies) for the 6th page. Here, the number of copies to be printed for the sixth page is 24, but there are only 20 copies of paper in the intermediate tray, so the number of copies to be printed is reduced to 2.
I have set it to 0 copies. At the end of this second half processing, each item of the second control table 177 has N as shown in FIG.
r 1771" 24, face pageseqn
o1772 = P 5, face ll1ultn
o1773 = 10, back pageseqno
1774 = P 6, back multn. 1775=10 is set. Next, the processing procedure of the first half process 93 will be explained in more detail. ■ face mult in second control table 177
n. Since 1773 is not O, page through No face
Regarding pageseqno 1772, number of copies fa
Start surface printing for ce multno 1773 minutes. ■Detects the end of the document, finishes the first half process 93, and then finishes the second half process 9
Start 4. Next, the processing procedure of the latter half process 94 will be explained in more detail. ■ back multn in second control table 177
. 1775 is not O, so page through No back
Regarding pageseqno 1774, number of copies printed ba
ck multno 1775 minutes of back side printing is activated. (2) Since the end of the document has been detected, the process of the double-sided printing control unit 17 is ended. According to this embodiment, there is an effect that multi-page copying can be performed without any problem even in double-sided printing.6 By combining the effect of the second embodiment described above, it is possible to change the paper size and number of copies for each paper. In this case, double-sided printing can be continued without any problem. Next, a fifth embodiment of the present invention will be described. In this embodiment, the function of the double-sided printing control section 17 is added to the printing system previously proposed by the present applicant in Japanese Patent Application No. 1-164637, and its configuration is shown in FIG. The drawing process and the printing process are processed as a drawing task and a printing task, respectively, by the task processing unit 13'. The page buffer section 14' has a plurality of page buffers, and their usage status is managed by a page buffer management table section 18' within the page buffer control section 116'. The usage status of the printer engine section 16' is managed by a printer management table section 19' within the printer control section 117'. The execution status of the tasks is managed by the task management table section 17', and the task control section 12' starts each task by referring to this. That is, an empty page buffer is assigned to a drawing task, and an empty printer engine section is assigned to a printing task. If there is no free page buffer, the drawing task is managed as a page buffer free wait state, and when any page buffer becomes free, the free page buffer wait state is released. If the printer engine is not free,
The print task is managed as waiting for a printer to become available, and when the printer becomes available, the idle state is released. In this way, efficient print control can be achieved by effectively utilizing shared resources such as the page buffer section and the printer engine section, and by making it possible to execute drawing tasks and printing tasks in parallel. In this embodiment, each component in the duplex printing control section 17 in FIG. 1 is associated with each component in FIG. 12 as follows, and the functions of each component in the duplex printing control section 17 are as follows. As shown in FIG. 12, this is realized as a function of each part of FIG. (1) First half processing section 171 → drawing task processing section 131' (2) Second half processing section 178 → drawing task processing section 131' (3) Printing processing section 179 → printing task processing section 132' (4) First control table 176 → page buffer management table section 18' (5) second control table 177 → printer management table section 19' (6) single-sided printing control section 16 → drawing task processing section 131'
and printing task processing unit 132' (7) single-sided/double-sided printing command processing unit 15 → drawing task processing unit 131' Note that the reference numbers of the components in FIG. Please clarify the correspondence with No. 164637. According to this embodiment, the CPU, printer engine section, and page buffer section (consisting of multiple pages) can be used without idle time, so throughput is improved and double-sided printing is realized at the printer engine's maximum speed. be able to. A specific example of the hardware configuration of the printer controller in the embodiment described above will be explained using FIG. 13. The printer controller includes a CPU bus]-11, a host communication controller 112, a CPU], 13, a ROM
It consists of a memory 114, a floating point arithmetic coprocessor 115, a sub CPU 1.1.6, a user operation panel 117, an image rotation LS 1118, a printer memory controller 119, and a DRAM memory IIA. The CPU bus 1]-1 consists of various input/output signals (address signals, data signals, and other control signals) of the CPU 113. The CPU 113 connects to the 1
12,115,1], 6,118°119, etc., and peripheral controllers such as 114. Performs input/output with memory such as IIA. Here, considering the correspondence with the functional diagram of FIG. 1(a), the command receiving section of FIG. 1 is the host communication controller 1.
12 and CPU 113, and the command processing unit 14 is CPU 1
13, the printer control unit 19 is connected to the sub CPU 116 and the printer memory controller 119, and the command buffer unit 13 and page buffer unit 18 are connected to the DRAM memory IIA.
corresponds to The host communication controller 112 is a controller that allows the printer controller 1 to communicate with the host computer 10 . The physical I/F for this communication (referred to as host 1 to I/F) is SC5I (Small Com
puter system interface),
R3232C. R5422, G P -I B (General
Purpose Interface Bus), Centronics, HDLC (High-LevelD
Atal, ink Control), etc., are used to implement appropriate hardware logic for the controller 112 depending on the type of physics/F used. The ROM memory 114 contains a printer controller (Herola initialization startup program (IPL)).
(Also called program Loading) program)
and stores part of the character font. The DRAM memory IIA stores (i) the control program for this printer controller, (poor) remaining character fonts, (i)
ii) command buffer unit memory, (iv) page buffer unit memory, and (v) various management tables such as a task management table, page buffer management table, printer management table, and others. Among these (i)
and (il) are stored in the IPL program. Furthermore, (1) and (h) are not stored in the DRAM memory 110, but are
It may be stored in the OM memory 114 in advance. Conversely, all character fonts may be stored in the DRAM memory 11A without storing any character fonts in the ROM memory 114. The floating point arithmetic coprocessor 115 performs floating point arithmetic according to instructions from the CPUI 13. The image rotation LS 1118 performs rotation processing of the drawing output according to instructions from the CPU 113 when the CPU 113 draws characters and images to the page buffer unit 18 . The floating point arithmetic coprocessor 115 and image rotation LS 1118 can speed up the drawing process. Note that 115 and 118 can be removed and processed by the CPU, but in this case the speed of the drawing process will be reduced. The sub CPU 116 performs input/output processing with the user operation panel 117 and the printer unit IA according to instructions from the CPU 113. The printer memory controller 119 performs read processing of the DRAM ROM memory 114 (normally the contents of the page buffer section) to the printer engine section IA and the DRAM memory I.
Performs IA control (refresh, etc.). This reading process is performed using the built-in DMA (Direct Memory Ac
cess) function, and when the reading of data for paper pages from the page buffer section is completed, the printer memory controller 119 sends an interrupt signal to the CPU 113 (a part of the signal in the CPU/< cess 111). is asserted to start page read end interrupt processing by the CPU. The print control device is connected to the printer engine unit 1A through the video I/O via the sub CPU 116 via the signal line 11B and the printer memory controller 119 via the signal line 11C.
Communication is performed according to an I/F called F. The signal line 11C allows the printer memory controller 119 to transfer the contents of the page buffer section 18 to the printer engine section IA.
It consists of an image output signal read out to. Signal line 11B is sub-C
A command status transmission/reception signal for the PU 116 to send commands for inquiries and instructions to the printer engine unit IA and receive response status from the printer engine unit IA, and a procedure for reading out the contents of the page buffer memory to the printer engine unit IA. Consists of control signals for controlling the In the above embodiment, odd page numbers correspond to front side printing and even page numbers correspond to back side printing, but the correspondence relationship may be changed. In other words, double-sided printing can be performed in the same way even if even-numbered page running numbers correspond to front-side printing and odd-numbered page running numbers correspond to back-side printing. [Effects of the Invention] According to the present invention, if the host computer specifies double-sided printing at the beginning of the document and then sends a normal print command sequence, the printer controller will print and print odd pages in the first half of the process. Double-sided printing can be performed by starting front-side printing, drawing on even-numbered pages, and performing back-side printing on the pages drawn in the first half of processing in the second half of the process, so the control program on the host computer side This has the advantage that it is possible to realize a printing system with less development burden and less dependence of the control program on the host combinator on the printer specifications. In the printing system according to the present invention, in order to make full use of the intermediate tray capacity and continue the first half of processing until the intermediate tray is full, the intermediate tray is used as a paper ejection section in the first half of processing, and is used as a paper feeder in the second half of processing. Since it is possible to minimize the number of times of switching to use as a part, there is also the effect that throughput can be improved. In addition, with this printing system according to the present invention, in double-sided printing, it is possible to (a) multi-page copy, (b) change the paper size and number of print copies for each paper in a document, and (c) change the paper size and number of print copies. , paper splicing/horizontal direction, paper feed section, etc. can be performed without any problem, so there is also the effect that it is possible to provide a user-friendly double-sided printing function.
第1図は本発明の第1実施例の構成例を示すブロック図
、第2図は第1実施例における各種印刷条件設定用コマ
ンドの仕様の説明図、第3図は第1実施例におけるホス
トコンピュータからプリンタコントローラへのコマンド
送信方法の説明図、第4図は第1実施例における用紙表
面と裏面についての各種印刷条件設定用コマンドの処理
仕様の説明図、第5図は第1実施例におりる前半処理終
了フラグの設定とそれの参照による前半処理終了方法の
説明図、第6図は第3実施例におけるコマンドバッファ
状態の説明図、第7図と第8図は第4実施例におけるマ
ルチページコピーのためのホストコンピュータからプリ
ンタコントローラへのコマンド送信方法の説明図、第9
図と第11図は第4実施例における中間トレイ容量を超
える場合のマルチページコピ一方法の説明図、第10図
は第4実施例における第2の制御テーブルの説明図、第
12図は第5実施例における構成例の説明図、第13図
は本発明のハードウェア構成の説明図である。
10・ホストコンピュータ、11・・プリンタコントロ
ーラ、12・・コマンド受信部、13 コマンドバッフ
ァ部、]4・コマンド処理部、15片面・両面印刷指定
コマンド処理部、】6・・・片面印刷制御部、17 ・
両面印刷制御部、18・・・ページバッファ部、19・
プリンタ制御部、IA・プリンタエンジン部、171・
・前半処理部、172ページ通しNo更新部、173
奇数ページ・偶数ページ判定部、174 奇数ページ処
理部、175−偶数ページ処理部、178・・後半処理
部、179・・・印刷処理部。Fig. 1 is a block diagram showing a configuration example of the first embodiment of the present invention, Fig. 2 is an explanatory diagram of specifications of various print condition setting commands in the first embodiment, and Fig. 3 is a host diagram of the host in the first embodiment. FIG. 4 is an explanatory diagram of the method of sending commands from the computer to the printer controller. FIG. 4 is an explanatory diagram of the processing specifications for commands for setting various printing conditions for the front and back sides of paper in the first embodiment. FIG. 6 is an explanatory diagram of the state of the command buffer in the third embodiment, and FIGS. 7 and 8 are diagrams illustrating the state of the command buffer in the fourth embodiment. Explanatory diagram of a method for sending commands from a host computer to a printer controller for multi-page copying, No. 9
11 is an explanatory diagram of a multi-page copying method when the intermediate tray capacity is exceeded in the fourth embodiment, FIG. 10 is an explanatory diagram of the second control table in the fourth embodiment, and FIG. FIG. 13 is an explanatory diagram of the configuration example of the fifth embodiment, and FIG. 13 is an explanatory diagram of the hardware configuration of the present invention. 10. Host computer, 11.. Printer controller, 12.. Command receiving section, 13. Command buffer section, ] 4. Command processing section, 15. Single-sided/duplex printing designation command processing section, ] 6.. Single-sided printing control section, 17 ・
Double-sided printing control section, 18... page buffer section, 19.
Printer control section, IA/printer engine section, 171.
・First half processing section, 172 page number update section, 173
odd page/even page determination unit, 174 odd page processing unit, 175-even page processing unit, 178--second half processing unit, 179-print processing unit.
Claims (1)
する上位装置と、該上位装置から受けた印刷コマンドを
解釈・実行し、前記プリンタに印刷を指示する印刷制御
装置とを備えた印刷システムにおいて、 前記上位装置内に、片面印刷/両面印刷の別を指定する
片面・両面印刷指定コマンドの発行手段と、各論理ペー
ジを印刷すべき紙サイズを指定する紙サイズ指定コマン
ドの発行手段と、各論理ページの印刷部数を指定する印
刷部数指定コマンドの発行手段とを設け、 前記印刷制御装置内に、前記片面・両面印刷指定コマン
ドを解釈する手段と、印刷コマンド列を両面印刷モード
にて解釈・実行する両面印刷制御手段と、前記紙サイズ
指定コマンドを実行する紙サイズ指定コマンド処理手段
と、前記印刷部数指定コマンドを実行する印刷部数指定
コマンド処理手段とを設けたことを特徴とする印刷シス
テム。 2、両面印刷においては、1枚の用紙の表面および裏面
に対応する2ページ単位に紙サイズおよび印刷部数の指
定を許容したことを特徴とする請求項1記載の印刷シス
テム。 3、前記上位装置内に、各論理ページの紙縦・横方向を
指定する紙縦・横方向指定コマンドの発行手段と、各論
理ページの印字方向を指定する印字方向指定コマンドの
発行手段とを更に設け、前記印刷制御装置内に、前記紙
縦・横方向指定コマンドを実行する紙縦・横方向指定コ
マンド処理手段と、前記印字方向指定コマンドを実行す
る印字方向指定コマンド処理手段とを更に設け、両面印
刷においては、1枚の用紙の表面および裏面に対応する
2ページ単位に紙縦・横方向の指定を許容したことを特
徴とする請求項1または2記載の印刷システム。 4、前記上位装置内に、各論理ページの給紙部を指定す
る給紙部指定コマンドの発行手段と、各論理ページの排
紙部を指定する排紙部指定コマンドの発行手段とを更に
設け、前記印刷制御装置内に、前記給紙部指定コマンド
を実行する給紙部指定コマンド処理手段と、前記排紙部
指定コマンドを実行する排紙部指定コマンド処理手段と
を更に設け、両面印刷においては、1枚の用紙の表面お
よび裏面に対応する2ページ単位に紙縦・横方向の指定
を許容したことを特徴とする請求項1または2記載の印
刷システム。 5、中間トレイを内蔵した両面印刷機構付きプリンタを
制御する印刷制御装置において、印刷すべき各論理ペー
ジの内容を描画する複数ページ分のページバッファと、 前半処理部および後半処理部からなる両面印刷制御手段
とを備え、 前記前半処理部は、印刷すべき各論理ページの通し番号
を更新するページ通し番号更新部と、該ページ通し番号
の偶奇を判定する奇数ページ・偶数ページ判定部と、奇
数ページについて、前記ページバッファへの描画および
表面印刷起動を行う奇数ページ処理部と、偶数ページに
ついて前記ページバッファへの描画を行う偶数ページ処
理部とにより構成し、前記後半処理部は、偶数ページに
ついて裏面印刷処理起動を行う裏面印刷処理起動部によ
り構成したことを特徴とする印刷制御装置。 6、前記前半処理部内に、印刷すべき文書の終了を検出
する第1の検出部、最終ページバッファへの描画完了を
検出する第2の検出部、前記中間トレイの満杯を検出す
る第3の検出部、紙サイズの変更を検出する第4の検出
部のうちの少なくとも一つの検出部を有し、該検出部の
検出結果に応じて前半処理を終了し、後半処理に移行す
ることを特徴とする請求項5記載の印刷制御装置。 7、前記前半処理部内に、紙サイズの変更を検出する検
出部を有し、該検出部により紙サイズ変更が検出された
とき、後半処理を行って前記中間トレイから変更前の紙
サイズの用紙を排出し、該排出完了を待って、変更後の
新たな紙サイズについて前半処理を再開することを特徴
とする請求項5記載の印刷制御装置。 8、印刷データを印刷コマンド列として受信し、該受信
したコマンド列を格納するコマンドバッファを有し、前
記前半処理部が該コマンドバッファ内の印刷コマンド列
を解釈・実行して描画を行う際に、前記コマンドバッフ
ァ内に該描画を行っているページの途中までしか印刷コ
マンドが存在しない場合、当該前半処理をコマンド受信
待ち状態とし、後続の印刷コマンドを受信後、前記コマ
ンド受信待ち状態を解除することを特徴とする請求項5
記載の印刷制御装置。 9、中間トレイ満杯を検出する検出部と、少なくとも中
間トレイ満杯による印刷未完了のページ情報および印刷
部数情報を格納する制御テーブルとを設け、前記検出部
により中間トレイ満杯が検出されたとき、後半処理を行
って前記中間トレイから用紙を排出し、該排出完了を待
ち、前記制御テーブルを参照して未完了の印刷処理を再
開することを特徴とする請求項5記載の印刷制御装置。 10、中間トレイを内蔵した両面印刷機構付きプリンタ
を制御する印刷制御装置において、 印刷すべき各論理ページの内容を描画する複数ページ分
のページバッファと、 前半処理部および後半処理部からなる両面印刷制御手段
とを備え、 前記前半処理部は、印刷すべき各論理ページが表面か裏
面かを判定する表裏判定部と、表面ページについて前記
ページバッファへの描画および表面印刷起動を行う表面
ページ処理部と、裏面ページについて前記ページバッフ
ァへの描画を行う裏面ページ処理部とにより構成し、前
記後半処理部は、裏面ページについて裏面印刷処理起動
を行う裏面印刷起動部により構成したことを特徴とする
印刷制御装置。 11、中間トレイを内蔵した両面印刷機構付きプリンタ
を制御する両面印刷制御方法であって、 a)複数ページにわたる印刷データを受けて、順次各ペ
ージが表面か裏面かを判断し、 b)表面であれば、当該ページの描画をページバッファ
に対して行うとともに、前記中間トレイを排紙部として
当該描画内容の表面印刷を行い、 c)裏面であれば、当該ページの描画をページバッファ
に対して行い、 d)予め定めた条件が満足されるまで前記処理a)〜c
)を反復して実行し、 e)前記条件が満足されたとき、前記処理c)で描画さ
れた裏面ページに対応するページバッファの描画内容に
ついて、前記中間トレイに格納された用紙に対して当該
中間トレイを給紙部として裏面印刷を行う ことを特徴とする両面印刷制御方法。 12、前記予め定めた条件は、印刷すべき文書の終了、
最終ページバッファへの描画完了、前記中間トレイの満
杯、紙サイズの変更のうちの少なくとも一つが検出され
ることである請求項11記載の両面印刷制御方法。[Claims] 1. A printer with a double-sided printing mechanism, a host device that issues a print command, and a print control device that interprets and executes the print command received from the host device and instructs the printer to print. In the printing system, the host device includes means for issuing a single-sided/double-sided printing designation command that designates whether to print on one or both sides, and a paper size designation command that designates the paper size on which each logical page is to be printed. and means for issuing a print number designation command that specifies the number of copies to be printed of each logical page, and in the print control device, means for interpreting the single-sided/double-sided printing designation command, and a means for issuing a print command sequence for double-sided printing. A double-sided printing control means that interprets and executes the print mode, a paper size designation command processing means that executes the paper size designation command, and a print number designation command processing means that executes the print number designation command. printing system. 2. The printing system according to claim 1, wherein in double-sided printing, the paper size and the number of copies to be printed are allowed to be specified in units of two pages corresponding to the front and back sides of one sheet of paper. 3. In the host device, means for issuing a paper length/horizontal direction designation command for specifying the paper length/horizontal direction of each logical page, and means for issuing a print direction designation command for designating the printing direction for each logical page. further provided, in the print control device, paper length/horizontal direction designation command processing means for executing the paper length/horizontal direction designation command; and print direction designation command processing means for executing the print direction designation command. 3. The printing system according to claim 1, wherein in double-sided printing, the vertical and horizontal directions of the paper are allowed to be specified in units of two pages corresponding to the front and back sides of one sheet of paper. 4. The host device further includes means for issuing a paper feed section designation command for specifying a paper feed section for each logical page, and means for issuing a paper ejection section specification command for specifying a paper ejection section for each logical page. , further comprising a paper feed unit designation command processing unit for executing the paper feed unit designation command and a paper discharge unit designation command processing unit for executing the paper discharge unit designation command in the print control device; 3. The printing system according to claim 1 or 2, wherein the printing system allows designation of paper vertical and horizontal directions in units of two pages corresponding to the front and back sides of one sheet of paper. 5. In a print control device that controls a printer with a double-sided printing mechanism that has a built-in intermediate tray, double-sided printing consists of a page buffer for multiple pages that draws the contents of each logical page to be printed, a first half processing section, and a second half processing section. The first half processing unit includes a page serial number updating unit that updates the serial number of each logical page to be printed, an odd page/even page determining unit that determines whether the page serial number is even or odd, and for odd pages, It is composed of an odd page processing section that performs drawing on the page buffer and startup of front-side printing, and an even-numbered page processing section that performs drawing on the page buffer for even-numbered pages, and the latter half processing section performs back-side printing processing for even-numbered pages. 1. A printing control device comprising a back side printing processing starting section that performs starting. 6. In the first half processing section, a first detection section that detects the end of the document to be printed, a second detection section that detects the completion of drawing to the final page buffer, and a third detection section that detects that the intermediate tray is full. It has at least one detecting section of a detecting section and a fourth detecting section that detects a change in paper size, and is characterized in that it ends the first half process and moves to the second half process according to the detection result of the detecting section. 6. The printing control device according to claim 5. 7. The first half processing section includes a detection section that detects a change in paper size, and when the detection section detects a change in paper size, the second half processing is performed and paper of the previous paper size is removed from the intermediate tray. 6. The printing control apparatus according to claim 5, wherein the print control apparatus resumes the first half of the process for the new paper size after the change, after ejecting the paper and waiting for the completion of the ejection. 8. Receives print data as a print command string, has a command buffer for storing the received command string, and when the first half processing section interprets and executes the print command string in the command buffer to perform drawing. , if the print command exists in the command buffer only up to the middle of the page on which the drawing is being performed, the first half of the process is placed in a command reception waiting state, and after receiving the subsequent print command, the command reception waiting state is released. Claim 5 characterized in that
Printing control device as described. 9. A detection unit that detects when the intermediate tray is full, and a control table that stores at least information on pages that have not been printed due to the intermediate tray being full and information on the number of copies to be printed, and when the detection unit detects that the intermediate tray is full, the second half 6. The print control apparatus according to claim 5, wherein the printing control apparatus performs processing to eject the paper from the intermediate tray, waits for completion of the ejection, and resumes unfinished print processing by referring to the control table. 10. In a print control device that controls a printer with a double-sided printing mechanism that has a built-in intermediate tray, double-sided printing consists of a page buffer for multiple pages that draws the contents of each logical page to be printed, a first half processing section, and a second half processing section. The first half processing section includes a front/back determining section that determines whether each logical page to be printed is a front or back side, and a front page processing section that performs drawing on the page buffer and starting front side printing for the front page. and a back page processing unit that performs drawing on the page buffer for the back page, and the latter half processing unit is configured by a back print starting unit that starts back print processing for the back page. Control device. 11. A duplex printing control method for controlling a printer with a duplex printing mechanism and a built-in intermediate tray, comprising: a) receiving print data for multiple pages and sequentially determining whether each page is the front side or the back side; and b) determining whether each page is the front side or the back side. If so, the page is drawn on the page buffer, and the drawing content is printed on the front side using the intermediate tray as a paper ejection unit; c) If it is on the back side, the page is drawn on the page buffer. and d) carry out the above processes a) to c until the predetermined conditions are satisfied.
) is repeatedly executed, and e) when the above condition is satisfied, the drawing content of the page buffer corresponding to the back page drawn in the process c) is applied to the paper stored in the intermediate tray. A double-sided printing control method characterized by performing back-side printing using an intermediate tray as a paper feeding section. 12. The predetermined condition is the end of the document to be printed;
12. The double-sided printing control method according to claim 11, wherein at least one of completion of drawing to the final page buffer, fullness of the intermediate tray, and change in paper size is detected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10246390A JP3010559B2 (en) | 1990-04-18 | 1990-04-18 | Printing system and printing control method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10246390A JP3010559B2 (en) | 1990-04-18 | 1990-04-18 | Printing system and printing control method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH041067A true JPH041067A (en) | 1992-01-06 |
| JP3010559B2 JP3010559B2 (en) | 2000-02-21 |
Family
ID=14328156
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10246390A Expired - Lifetime JP3010559B2 (en) | 1990-04-18 | 1990-04-18 | Printing system and printing control method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3010559B2 (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5774638A (en) * | 1991-08-06 | 1998-06-30 | Hitachi, Ltd. | Print controlling method and apparatus using a plurality of processors |
| US5954436A (en) * | 1990-10-30 | 1999-09-21 | Hitachi, Ltd. | Printing apparatus and double-side printing control method |
| JP2007069580A (en) * | 2005-09-09 | 2007-03-22 | Ricoh Co Ltd | Image forming apparatus |
| US8253961B2 (en) | 2008-01-30 | 2012-08-28 | Seiko Epson Corporation | Printer and printer control method |
| US8587804B2 (en) | 2007-11-30 | 2013-11-19 | Seiko Epson Corporation | Printing device and control method for a printing device |
| JP2014184694A (en) * | 2013-03-25 | 2014-10-02 | Fuji Xerox Co Ltd | Image inspection system and recording material processing device |
-
1990
- 1990-04-18 JP JP10246390A patent/JP3010559B2/en not_active Expired - Lifetime
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5954436A (en) * | 1990-10-30 | 1999-09-21 | Hitachi, Ltd. | Printing apparatus and double-side printing control method |
| US5774638A (en) * | 1991-08-06 | 1998-06-30 | Hitachi, Ltd. | Print controlling method and apparatus using a plurality of processors |
| US6025923A (en) * | 1991-08-06 | 2000-02-15 | Hitachi, Ltd. | Print controlling method and apparatus using a plurality of processors |
| JP2007069580A (en) * | 2005-09-09 | 2007-03-22 | Ricoh Co Ltd | Image forming apparatus |
| US8587804B2 (en) | 2007-11-30 | 2013-11-19 | Seiko Epson Corporation | Printing device and control method for a printing device |
| US8253961B2 (en) | 2008-01-30 | 2012-08-28 | Seiko Epson Corporation | Printer and printer control method |
| JP2014184694A (en) * | 2013-03-25 | 2014-10-02 | Fuji Xerox Co Ltd | Image inspection system and recording material processing device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3010559B2 (en) | 2000-02-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5265209A (en) | Print control apparatus for printing pages having different page sizes using one or more of a plurality of same-sized page buffers | |
| US5954436A (en) | Printing apparatus and double-side printing control method | |
| JP3385836B2 (en) | Print control device and print control method | |
| JPH1120272A (en) | Print control apparatus and method | |
| US8090284B2 (en) | Image forming apparatus and printing control method | |
| JPH041067A (en) | Printing system and printing control method and device | |
| KR100734978B1 (en) | Information processing method and information processing apparatus | |
| EP0994437B1 (en) | Printer controller having a double-sided print function | |
| JP2776894B2 (en) | Printer controller and print control method | |
| JP3380598B2 (en) | Double-sided printing control method and printing control device | |
| US8180993B2 (en) | Information processing apparatus and control method thereof | |
| US8400662B2 (en) | Printer control device for controlling concurrently input print data, and printer apparatus with a printer control device | |
| US20170253447A1 (en) | Printing device, printing method and non-transitory computer readable medium | |
| JP2006079393A (en) | Printing system and job control method therefor | |
| JP3474185B2 (en) | Double-sided printing control method and printing control device | |
| JP3474184B2 (en) | Double-sided printing control method and printing control device | |
| JPH0270465A (en) | print control device | |
| JPH0250852A (en) | printing device | |
| JPH09190317A (en) | Printing apparatus and printing method | |
| JP3535611B2 (en) | Control method of image forming apparatus | |
| JP2004038363A (en) | Printer drive control program and computer-readable recording medium | |
| JPH0948155A (en) | Printer | |
| JPH05307449A (en) | Print system | |
| JPH07200206A (en) | Printing device | |
| JPH03254964A (en) | Image forming apparatus |
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: 20071210 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081210 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091210 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091210 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091210 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101210 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101210 Year of fee payment: 11 |