JP3542370B2 - Print control device and print control method - Google Patents

Print control device and print control method Download PDF

Info

Publication number
JP3542370B2
JP3542370B2 JP33201093A JP33201093A JP3542370B2 JP 3542370 B2 JP3542370 B2 JP 3542370B2 JP 33201093 A JP33201093 A JP 33201093A JP 33201093 A JP33201093 A JP 33201093A JP 3542370 B2 JP3542370 B2 JP 3542370B2
Authority
JP
Japan
Prior art keywords
color
output device
page
output
monochrome
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP33201093A
Other languages
Japanese (ja)
Other versions
JPH07186457A (en
Inventor
順一 宍塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP33201093A priority Critical patent/JP3542370B2/en
Publication of JPH07186457A publication Critical patent/JPH07186457A/en
Application granted granted Critical
Publication of JP3542370B2 publication Critical patent/JP3542370B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Description

【0001】
【産業上の利用分野】
本発明は印刷制御装置及び印刷制御方法に関し、特に、例えば、文字、図形などの画像情報を記述するページ記述言語を解釈し再構成して複数の出力装置に送信する印刷制御装置及び印刷制御方法に関するものである。
【0002】
【従来の技術】
従来の白黒プリンタとカラープリンタを接続するプリントサーバシステムにおいて、そのシステムにコンピュータシステムのような画像データ発生源からカラーページと白黒ページとで構成される複数ページのドキュメントを送信してプリント出力を得ようとする場合、全てのページが、カラープリンタ、または、白黒プリンタから出力されていた。
【0003】
【発明が解決しようとする課題】
しかしながら上記従来例では、カラープリンタからも白黒原稿を出力することがあるので、ランニングコスト、印刷速度、印刷品位などの点から好ましくないという問題点があった。
【0004】
即ち、白黒原稿をカラープリンタから出力する場合には、白黒データのみが送られてきたとしても、カラーを表現する4つの色成分で現像を行なうために、印刷速度が遅くなる。また、3色(Y,M,Cの3色)で黒を表すプリンタの場合には、スピードが遅いという欠点の他、各画素のレジストレーションがずれるために、印刷品位が低下する。さらに、カラープリンタは特殊紙を使用している場合が多く、また、特殊なインク、或は、トナーを用いるために、ランニングコストが高い。
【0005】
さらに、たとえ図25に示すような3ページに渡るドキュメント(ドキュメント第1頁401にはタイトルの部分(黒抜きの部分)に色のついた文字があり、その他の部分は黒い文字である。ドキュメント第2頁402は黒文字のみ、ドキュメント第3頁403は黒文字とカラーのグラフを含む)をカラープリンタ、白黒プリンタからページを予め分けて出力したとしても、例えば、図26に示すように、カラープリンタから原稿401と403が、白黒プリンタから原稿402が出力された場合には、1つのドキュメントとし正しく構成されるようにページを並べ替える必要がある。これは、結局、システム利用者がプリント出力に原稿の内容を確かめることが必要であり不便であるという問題があった。
【0006】
本発明は上記従来例に鑑みて成されたもので、カラー情報(色情報)の含まれる画像とカラー情報を含まない画像とを画像出力後に整理し易いように出力制御することができる印刷制御装置及び印刷制御方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するために本発明の印刷制御装置は、以下のような構成からなる。即ち、カラー出力装置とモノクロ出力装置とに接続され、画像情報を、前記カラー出力装置と前記モノクロ出力装置とに分けて印刷出力を制御する印刷制御装置であって、前記画像情報を解析し、該画像情報を前記カラー出力装置によって出力されるページ情報と、前記モノクロ出力装置から出力されるページ情報とに振り分ける振り分け手段と、前記振り分け手段により前記カラー出力装置に振り分けられたページ情報に含まれるカラー画像ページ相当するページ位置に対応したダミーページ情報を前記モノクロ出力装置から出力されるページ情報として生成する生成手段と、前記カラー出力装置によって出力されるページ情報を前記カラー出力装置に、一方、前記モノクロ出力装置から出力されるページ情報と前記ダミーページ情報とを前記モノクロ出力装置に送信する送信手段とを有することを特徴とする印刷制御装置を備える。
また他の発明によれば、画像情報を、カラー出力装置とモノクロ出力装置とに分けて印刷出力を制御する印刷制御方法であって、前記画像情報を解析し、該画像情報を前記カラー出力装置によって出力されるページ情報と、前記モノクロ出力装置から出力されるページ情報とに振り分ける振り分け工程と、前記振り分け工程において前記カラー出力装置に振り分けられたページ情報に含まれるカラー画像ページに相当するページ位置に対応したダミーページ情報を前記モノクロ出力装置から出力されるページ情報として生成する生成工程と、前記カラー出力装置によって出力されるページ情報を前記カラー出力装置に、一方、前記モノクロ出力装置によって出力されるページ情報と前記ダミーページ情報とを前記モノクロ出力装置に送信する送信工程とを有することを特徴とする印刷制御方法を備える。
【0008】
【作用】
以上の構成により本発明は、ホストコンピュータから受信した画像情報に基づいて、カラー画像情報はカラー出力装置に、一方、カラー画像情報に対応したダミー画像情報とモノクロ画像情報はモノクロ出力装置に送信するよう動作する。
【0009】
【実施例】
以下添付図面を参照して本発明の好適な実施例を詳細に説明する。
【0010】
[第1実施例]
図1は本実施例に従うプリントサーバシステム(以下、システムという)の概略構成を示すブロック図である。図1に示すように、ホストコンピュータ(以下、ホストという)101とホストコンピュータ(以下、ホストという)102とはネットワーク103に接続され、プリントサーバ(以下、サーバという)104もネットワーク103に接続されている。そして、サーバ104は白黒プリンタ105とカラープリンタ106とを接続している。ここで、ホスト101、102はプリンタにPDL(ページ記述言語)で書かれたコマンドを、サーバ104を介して送信し、一方、白黒プリンタ105とカラープリンタ106とは、その受信したPDLコマンドに基づいて画像を展開し、ラスタライズする機能を有しているとする。
【0011】
また、白黒プリンタ105とカラープリンタ106とは同じ言語仕様のPDLコマンドを受け付けることができるとし、もし、白黒プリンタ105に“色”に関するコマンドが送られた場合には、これを無視をするか、或は、白黒でプリントこととする。
【0012】
図2はサーバ104の内部構成を示すブロック図である。図2において、301はサーバ全体の制御とPDLコマンドの解析や各種の計算を行なうCPU、302はプログラムがダウンロードされたり、バッファとして使われるRAM、303はシステムを制御するプログラムを格納するROM、304はネットワーク103やホスト101、102とのインタフェースとなる通信インタフェース、305、306は各々、白黒プリンタ105、カラープリンタ106とを接続するプリンタインタフェース、そして、307は上記構成要素を接続し互いのデータの送受を行う内部バスである。
【0013】
以上の構成のサーバ104はホストから送られてくる、例えば、図5に示すような描画コマンドを解析して白黒プリンタ105とカラープリンタ106に画像データを出力する役目をする。
【0014】
以下の説明では図25に示した3ページから構成されるドキュメントを例として用いる。
【0015】
本実施例のシステムでは、次に説明するように、これら3頁からなるドキュメントに関して、図3に示すように、第1、3頁はカラープリンタ106から、第2頁は白黒プリンタ105から出力される。このような制御はサーバ104がホストから送信されるPDLを解釈し、各プリンタへ画像データの送信を制御することによって行われる。また、このとき、従来からの問題点であったページの並べ変えの不便さを解決するために、図3のようにカラーページ401の出力時、同時に白黒プリンタ105から白黒ページ602を、そして、白黒ページ402の後に、白黒ページ605を出力するようにする。これによって、白黒ページ602と605をカラーページ401と403に差し替えることにより、所望のドキュメントを簡単に得られるようにする。
【0016】
図4は、図25に示した3ページのドキュメント401,402,403を図3に示すような出力結果となるようにプリンタ出力を指示するPDLコマンドの記述例である。以下、図4に示されたその記述に従って、サーバ104の制御を順番に説明する。
【0017】
まず、図4に示すようなPDLコマンド列がホスト101、102からネットワーク103を介してサーバ104に送られる。
【0018】
そのPDLコマンド列について、以下に説明する。
【0019】
C1〜C4は、ドキュメント全体に関係するコマンドである。従って、これらのコマンドC1〜C4は、ドキュメント1部について1ケ所しか付いていない。また、これらドキュメント全体に関係するコマンドには、例えば、キャラクタセットコマンド(フォント指定コマンド)、スケーラブルフォントコマンド(スケーラブルフォントを使用するか否かを指定するコマンド)、ハードリセットコマンド(以前のプリンタ使用環境をリセットするコマンド)、メモリモードコマンド(展開用メモリをフルページメモリとして用いるかパーシャルページメモリとして用いるかを指定するコマンド)などがある。
【0020】
さて、C1はドキュメント設定開始コマンドである。C2はドキュメントの出力用紙サイズを表すコマンドで、この場合にはA4の設定になっている。次のC3はドキュメントの方向を示している。ポートレートとランドスケープがあるが、この場合にはポートレート(PORT)を示している。C4はドキュメント設定終了コマンドである。
【0021】
C5〜C14は、ドキュメント第1頁401を出力するたのコマンドである。C5はコマンドの開始を示すためのものである。C6は文字のフォントの種類を選択するためのコマンドでこの場合には“2”という番号の付けられたフォントセットを選択している。C7はフォントの大きさを設定するもので“20ポイント”の大きさを選んでいる。C8は文字の色を設定するコマンドである。3つのパラメータを持っているが、順にR(赤),G(緑),B(青)各色成分の輝度を示してある。この輝度は、0から255の256段階で量子化されているものとする。この文字に関してはR,G,Bそれぞれ“255”,“0”,“0”であるから、赤の色を示していることになる。C9は実際に描画する文字列(TITLE…) を示している。C10はC6と同様にフォントの種類を選択するためのコマンドで、この場合は“1”という番号の付けられたフォントセットを選択している。C11はフォントの大きさを設定するもので“10ポイント”を選択している。C12はフォントの色を決定するもので、この場合にはR,G,B共に“0”であるから、黒の色を示していることになる。C13は実際に描画する文字列(NewYork…) を示している。そして、C14はコマンドの終了を表している。
【0022】
C15〜C20は、ドキュメント第2頁402を出力するためのコマンドである。C15はコマンドの開始を示すためのものである。C16はフォントの種類を選択するためのコマンドで、この場合は“1”という番号の付けられたフォントセットを選択している。C17はフォントの大きさを設定するもので“10ポイント”を選択している。C18はフォントの色を決定するもので、この場合にはR,G,B共に“0”であるから、黒の色を示していることになる。C19は実際に描画する文字列(PDL is …) を示している。そして、C20はコマンドの終了を表している。
【0023】
C21〜C35は、ドキュメント第3頁403を出力するためのコマンドである。C21はC15と同様にコマンドの開始を示し、第3頁の始まりを意味している。C22〜C25は、第1〜2頁と同様にフォントの設定と文字描画を示している。C26は図形描画の際の面の塗りつぶしの色を示している。色の指定は文字の色と同様にR,G,Bの順になっている。次のコマンドC27は図形描画の線の色を指定するものである。C28は図形を描画する位置の座標を示している。C29は円弧を描画する際の半径を指定する命令で、この場合、“10”座標単位を表している。C30は閉円弧の描画をするものである。コマンド内の2個のパラメータは円弧を描画する際の描画開始角度と終了角度を示している。垂直情報を0度として、この場合には0度から100度の円弧を描画することを示している。C31〜C35は、C26〜C30までのコマンドと同様に面,線の色の指定,位置の指定などを行なっている。C36はコマンドの終了を指定している。
【0024】
以上の記述についてまとめると、図4において、601はドキュメント全体の設定に関わるドキュメント設定命令、602〜604は各々、第1、2、3頁のページ描画命令を示している。
【0025】
次に、PDLコマンドを受信したサーバ104がどの様にしてプリント処理をするか、その概要について図5に示すフローチャートを参照して説明する。
【0026】
まず、ステップS1002でPDLコマンドの解析処理を行ないコマンドの再構成を行なう。そして、ステップS1003ではプリンタに画像データを送り、紙を排紙、または紙送りするための出力処理を行なう。さらに、ステップS1004では、ドキュメントは複数ページで構成されることを考慮して、ドキュメントの全ページを処理し終ったかを判定する。ここで、全ページの処理が終了したと判断された場合には処理を終了するが、まだ残りの未処理ページがあると判断された場合には、処理はステップS1002に戻り、解析処理を続行する。
【0027】
次に、解析処理の詳細について、図6に示すフローチャートを参照して説明する。本実施例では、ページ毎に白黒プリンタ、カラープリンタのどちらのプリンタを使用するかを決定しなければならないので、PDLコマンドを解析して対象としている各ページに色が使われているかを判断する必要がある。以下に、その解析処理の詳細を述べる。
【0028】
ステップS1102ではプログラム内部変数の初期化などシステムのイニシャライズを行なう。具体的には、カラープリンタのためのコマンドを記憶しておくバッファ1、白黒プリンタのためのコマンドを記憶しておくバッファ2のメモリクリア等をおこなう。本実施例において、バッファ1とバッファ2とは各々、RAM302の別領域に確保される。
【0029】
次にステップS1103では解析対象としているドキュメントのページが第1頁かを判断する。これは、次のステップS1104の処理は各ドキュメントにつき1回限りのものであるから、最初のページで行なうからである。ここで、そのページが第1頁であるなら、処理はステップS1104に進み、ドキュメント全体に関するコマンド(ドキュメント設定コマンド:図4のC1〜C4)をRAM302のバッファ1とバッファ2とは別の領域に一時的に記憶する。これに対して、そのページが第1頁以外であるなら、処理はステップS1105に進む。
【0030】
さらに処理はステップS1105以降で、ページ単位のコマンドの解析を行なう。
【0031】
ステップS1105ではページ開始命令“Page Start(図4のC5、C15、C21)”からページ終了命令“Page End(図4のC14、C20、C36)”までの解析を行なう。ステップS1106では、これらのコマンドの中に色の設定コマンド“Font Color,Line Color,Fill Color,etc ”が含まれるかどうかの判定をする。ここで、色の設定コマンドが含まれていると判定された場合、処理はステップS1107に進み、カラープリンタ106から出力するために、先ほど記憶しておいたドキュメント設定コマンドを読み出して、これをバッファ1に書き込む。続いて、ステップS1108では“Page Start”から“Page End”までのコマンド(図4のC5〜C14)をバッファ1にライトする。従って、図4の601と602が選び出され、バッファ1に図6には示すようなドキュメント設定命令701と1ページ目の描画に関する部分702が格納される。次に処理はS1111に進み前述のドキュメント設定命令を読みだし、バッファ2にライトする。さらに、ステップS1112では“Page Start”と“Page End”をバッファ2にライトする。このようにして、第1頁のコマンドの再構成が終了すると処理を終了する。この時、バッファ1には図7の701、702が格納され、バッファ2には図8の801、802が格納されていることになる。
【0032】
ここで、“Page Start”から“Page End”までのコマンドの中で特定のコマンド、例えば、前述のメモリコマンドモードに関しては、カラープリンタ、白黒プリンタ各々に適合して考えなければならない場合がある。例えば、プリンタに用いられるメモリ容量が画像情報量に比べて大きい場合にはフルページメモリとしての使用が可能であり、メモリ容量が大きくない場合にはパーシャルメモリとしてのコマンド出力をしなければならない場合がある。従って、ステップS1108、S1110では常に全く同じコマンドをバッファ1、2にライトするのではなく、場合によってはカラープリンタ、白黒プリンタ各々に合わせてコマンドを変更して出力する。
【0033】
さて、解析処理が第2頁のコマンドに関するものであった場合、その処理はステップS1102、S1103、S1105と進む。そして、ステップS1106では、カラー設定コマンド(図4のC18)のパラメータ設定が全て“0”、即ち、黒であることが判別されるので、カラープリンタ106からの出力は必要ないとみなし、処理はステップS1109に進む。
【0034】
ステップS1109では前頁の処理で記憶しておいたドキュメント設定命令を読み出してバッファ2に書き込む。続いて、ステップS1110では“Page Start”から“Page End”までのコマンド(図4のC15〜C20)をバッファ2に書き込む。従って、図4の601と603が選び出され、バッファ2には図9に示すようなドキュメント設定命令801と第2頁の描画に関する部分802が格納される。このようにして、第2頁のコマンドの再構成が終了すると処理を終了する。
【0035】
また、解析処理が第3頁のコマンドに関するものであった場合、第1頁と同様の処理を行ない、図10に示すように、ドキュメント設定命令901と第3頁の描画に関する部分902とにコマンドが再構成される。
【0036】
次に、出力処理の詳細について、図11に示すフローチャートを参照して説明する。最初に第1頁の出力処理を、次に第2頁の出力処理を、最後に第3頁の出力処理について述べる。
【0037】
ステップS1202では、バッファ1にデータが書かれているかどうかを調べる。第1頁の場合にはバッファ1にデータが書かれているので処理はステップS1203に進み、RAM302のバッファ1のデータをプリンタインタフェース305からカラープリンタ106に出力する。その結果、カラープリンタ106からドキュメント第1頁401が出力される。これに続いて、処理はステップS1204において、バッファ2のデータをプリンタインタフェース306から白黒プリンタ105に出力する。これにより、白黒プリンタ105から白紙602が出力される。
【0038】
第2頁の処理の場合、バッファ2にデータが格納されているので、ステップS1202の判断で処理はステップS1204に進み、RAM302のバッファ2のデータをプリンタインタフェース306から白黒プリンタ105に出力する。その結果、白黒プリンタ106からドキュメント第2頁402が出力される。
【0039】
第3頁の出力処理は第1頁と同様になされ、ステップS1203では図10に示す再構成されたコマンドの内、コマンド901と902のコマンドがカラープリンタ106に送られ、ドキュメント第3頁403が出力される。そして、ステップS1204ではコマンド903と904のコマンドが白黒プリンタ105に送られ、白紙605が出力される。
【0040】
従って本実施例に従えば、頁単位にコマンドを解析することにより、対象とするページが白黒のみの情報で構成されているか、それともカラーの情報を含むかを調べ、その判別結果に従って適切な出力プリンタを選択するとともに、白黒プリンタからはカラーページに対応する場所で白紙を出力することにより、プリント出力後のカラーページの白黒ページへの挿入と差し替えを容易に行うことができる。
【0041】
なお本実施例では、カラー原稿を差し換えるために白紙を出力したが、これに替えて、文字、図形、ページ数などを印刷した用ページを出力しても良いことは言うまでもない。
【0042】
なお本実施例では、図12の1301に示すようなホストから送られてきた例えば3頁分のドキュメントに関するPDLコマンド(ドキュメント設定命令と3頁分ページ描画コマンド)を各頁ごとに再構成し、これを順次選択したプリンタに送ることによって、出力処理を行っていた。即ち、ドキュメント設定命令と第1頁の描画コマンドを組み合わせ(図12の1302)カラープリンタに送信するとともに、同時にドキュメント設定命令と白紙出力コマンドを組み合わせて白黒プリンタに送信する(図12の1305)。次に、ドキュメント設定命令と第2頁の描画コマンドを組み合わせ(図12の1303)白黒プリンタに送信する。最後に、ドキュメント設定命令と第3頁の描画コマンドを組み合わせ(図12の1304)カラープリンタに送信するとともに、同時にドキュメント設定命令と白紙出力コマンドを組み合わせて白黒プリンタに送信する(図12の1306)。
【0043】
しかし本発明はこれに限定されるものではない。例えば、全てのページのコマンド解析とコマンド再構成の終了後に出力処理を行なっても良い。この場合、図13に示すように、ホストから送られてきたPDLコマンド1301をカラープリンタ用コマンド1402と、白紙出力コマンド(NULL)を含む白黒プリンタ用コマンド1403に再構成してから、それぞれのプリンタに出力する。
【0044】
これによって、カラープリンタと白黒プリンタを同時に動作させることができるので、ドキュメント全体としての出力速度を向上させることができる。
【0045】
また、システムの構成としてネットワークを介することなく、図14に示すように、ホスト101が白黒プリンタ105とカラープリンタ106とを接続したサーバ104に直結する構成を用いることもできる。
【0046】
[第2実施例]
第1実施例で接続したプリンタはPDLコマンドを受けとり解析して描画するラスタライズ機能を備えたものであったが、本実施例ではラスタライズ機能を備えていないプリンタ(ビットマッププリンタ)を接続可能なサーバを用いてシステムを構成する場合について説明する。なお、以下の説明について、第1実施例ですでに説明した装置や装置構成要素、PDLコマンド、処理ステップについて言及する場合、第1実施例で用いたと同じ参照番号や参照記号を用いることとし、ここでの説明は省略する。
【0047】
図15は本実施例に従うプリントサーバシステム(以下、システムという)の概略構成を示すブロック図である。図15に示すように、ホスト101とホスト102はネットワーク203に接続され、同様にプリントサーバ(以下、サーバという)204もネットワーク203に接続されている。サーバ204はホストから送られてくる、例えば、図17に示すような描画コマンドを解析してプリンタに画像を出力する役目をする。プリントサーバ204は白黒プリンタ205とカラープリンタ206とを接続する。
【0048】
図16は以下の説明で用いるホストから送られてくる3ページから構成されるドキュメントの例を示す図である。図16において、ドキュメント第1頁402は黒文字のみ、ドキュメント第2頁403は黒文字とカラーのグラフを含み、ドキュメント第3頁401にはタイトルの部分(黒抜きの部分)に色のついた文字があり、その他の部分は黒い文字である。
【0049】
このようなドキュメントをC(シアン),M(マゼンタ),Y(イエロ),Bk(ブラック)の各色成分に分解した場合、原稿402はイエロ画像104、マゼンタ画像107、シアン画像110、ブラック画像113のようになる。原稿401はブラック成分のみで構成されているので、カラープリンタ206で出力するよりも白黒プリンタ205で出力するほうが効率が良い。一方、原稿403についてはイエロ画像105、マゼンタ画像108、シアン画像111、ブラック画像114で構成され、原稿103はイエロ画像106、マゼンタ画像109、シアン画像112、ブラック画像115で構成されているのでカラープリンタ206で出力しなければならない。なお、以上の各色成分の画像データは、サーバ204に設けられた画像メモリ(不図示)に格納される。
【0050】
図17は3ページのドキュメント402、403、401をプリンタから出力するためのPDL(ページ記述言語)コマンドの記述例である。なお、図17に示すPDLコマンド各々についてはすでに第1実施例で説明したので、同じ参照番号を付してここでの説明は省略する。ともあれ、ここで示したコマンド列がホスト101、102からネットワーク203を介してサーバ204に送られる。次に、PDLコマンドを受信したサーバ204がどの様にしてプリント処理をするか、その概要について図18に示すフローチャートを参照して説明する。
【0051】
ステップS1002でPDLコマンドの解析処理、次のステップS903でサーバ204内の画像メモリ(不図示)に描画を行なう描画処理、ステップS1003では出力処理を行う。さらに、ステップS1004では、ドキュメントの全ページを処理し終ったかを判定する。描画処理では解析処理で作成したデバイス固有の中間コード(後述)を参照しながら、実際にメモリに図形や文字などのオブジェクトを展開描画する。
【0052】
図19はプリントサーバ204の画像メモリの各色成分の画像データの格納アドレスを示すメモリマップである。図23に示すように、アドレス(0番地〜0xBFFFFF番地)がY(イエロ)、アドレス(0xC00000番地〜0x17FFFFF番地)がM(マゼンタ)、アドレス(0x1800000番地〜0x23FFFFF番地)がC(シアン)、そして、アドレス(0x2400000番地〜0x2FFFFFF番地)がBk(ブラック)の格納領域になっている。描画処理によって展開された各色成分の画像データが以上のアドレスに格納される。
【0053】
次に、解析処理の詳細について、図20〜図21に示すフローチャートを参照して説明する。本実施例では、ページ毎に白黒プリンタ、カラープリンタのどちらのプリンタを使用するかを決定しなければならないので、PDLコマンドを解析して対象としている各ページに色が使われているかを判断する必要がある。以下に、その解析処理の詳細を述べる。
【0054】
解析処理の目的は主にPDLコマンドを解析して、描画処理の際に使われる中間コードを生成することである。これにより、デバイスに依存しないコマンドから中間コードというデバイスに依存したコマンドに変換される。例えば、図17に示されるコマンドでは、座標の指定をセンチメートル(cm)やインチ(inch)で指定するが、中間コードではドット単位に変換される。また、色の指定もRGB表現からCMYBk表現というデバイスの色材(トナーなど)に適したデータに変換される。
【0055】
ステップS1102におけるイニシャライズの後、ステップS403におけるコマンド解析処理では図17に示すコマンドを逐次読み取って解析して中間コードを作るための各種パラメータの設定を行なう。
【0056】
ステップS404における色設定コマンドの判別によって、解析したコマンドが色設定コマンドではないと判別された場合には処理はステップS501に進み、デバイスに依存した中間コードを作成する。これに対して、解析したコマンドが色設定コマンドである場合には処理はステップS405に進み、色表現をRGB空間による表現から、CMYBk空間による表現へ変換(マスキング)する。そして、ステップS406〜S413では、変換結果のY,M,C成分のいづれかの値が“0”でなければフラグ(CFLG)を“ON”にし、Bk成分の値が“0”でなければ、フラグ(BWFLG)を“ON”にする。なお、これらのフラグ(CFLG,BWFLG)はステップS1102のイニシャライズで“OFF”に設定されているとする。
【0057】
例えば、Y=100,M=100,C=0,Bk=0ならば、
CFLG=ONでBWFLG=OFFになり、
Y=0,M=0,C=0,Bk=255ならば、
CFLG=OFFでBWFLG=ONになる。
【0058】
これらフラグのON/OFFが決定すると処理はステップS501に進み、中間コードを生成する。次に、ステップS502では1ページ分すべてのコマンドを解析したかどうかを調べ、解析終了と判断されたならば処理を終了し、そうでなければ、処理はステップS403に戻り、次のコマンドを読み込み解析を進める。
【0059】
次に、出力処理の詳細について、図22に示すフローチャートを参照して説明する。出力処理ではサーバ204の画像メモリに記録された展開画像をプリンタに出力する。
【0060】
まずステップS802では出力処理に必要な各種パラメータ初期化を行ない、ステップS803では、CFLG=“OFF”かつBWFLG=“ON”の条件を満たすかどうかを調べる。
【0061】
ここで、上記条件が満たされた場合、処理はステップS804に進み、白黒プリンタ205からの出力のために、パラメータの設定、インタフェースの選択、プリンタの初期化などを行なう。続いて、ステップS805で画像メモリのうちBkの情報が格納されている領域からのみデータをプリンタに出力し、データの出力が終了すると、プリンタに対して排紙命令を発行する。その結果、実際にプリンタから白黒の原稿が出力される。
【0062】
これに対して、上記条件が満たされない場合、処理はステップS806に進みカラープリンタ206からの出力のために、パラメータの設定、インタフェースの選択、プリンタの初期化などを行なう。続いて、ステップS807で画像メモリのうちY,M,C,Bkの各色成分の情報が格納されている領域からカラープリンタ206にデータを出力し、さらに排紙命令を発行する。その結果、カラープリンタ206からカラー原稿が出力される。続いて、ステップS808では白黒プリンタ205に対して排紙命令を発行して白紙出力を行う。
【0063】
従って本実施例に従えば、PDLコマンドを解析することにより、対象とするページが白黒のみの情報で構成されているか、或は、カラーの情報を含むかを判断し、その結果に従って出力プリンタを選択するとともに、カラーページを出力した際に、白黒プリンタから白紙ページを出力することによりカラーと白黒のページ構成を明確にすることができる。また、白紙ページは再度プリントに用いることができるので、運用コストの削減にも資することができる。
【0064】
なお本実施例ではフラグ(CFLG,BWFLG)のON/OFFの設定を解析処理の中で行ったが本発明はこれに限定されるものではない。例えば、この処理を描画処理の中で行なっても良い。この場合、描画処理は図23に示すフローチャートのようになる。以下に、その処理について述べる。
【0065】
まず、ステップS702で画像メモリのクリアやパラメータの初期化、ワークメモリの確保などのイニシャライズを行う。ステップS703では先の解析処理で生成した中間コードを参照する。次にステップS704では実際に画像メモリに描画するアドレスを計算する。この時、アドレス(ADR)が0≦ADR≦0x2400000であるかどうかをステップS705で調べる。この条件を満たしていれば処理はステップS706に進み、フラグ(CFLG)を“ON”にし、この条件が満たされていない場合、処理はステップS707に進み、フラグ(BWFLG)を“ON”にする(ステップS702でのイニシャライズでフラグ(CFLG,BWFLG)は“OFF”に初期設定されているものとする)。
【0066】
次に処理はステップS708において、実際にメモリに描画を行なう。今述べてきたのはオブジェクトの描画の1画素の描画に関してであるので、ステップS709において、オブジェクト全体(円,矩形,文字など)について描画が終了したかどうかを判断する。ここで、描画未終了と判断されれば処理はステップS704に戻りアドレス計算と描画を繰り返す。これに対して、描画終了と判断されれば、処理はステップS710に進む。ステップS710では、中間コード処理をすべて処理したか、即ち、すべてのオブジェクトの処理を終了したかどうか判断する。ここで、全オブジェクトの処理終了と判断されれば描画処理を終了する。これに対して、まだ未処理の中間コードがあると判断されれば、処理はステップS703に戻り残りの中間コードを参照する。
【0067】
このように、各中間コードに関するフラグ(CFLG,BWFLG)のON/OFFの設定を描画処理の中で行うことができる。
【0068】
また、出力処理においても、図24のフローチャートに示すように、ステップS802の初期化処理の後に、ステップS8021で出力ページ数を記憶し、ステップS807におけるカラープリント出力後に、ステップS809で出力ページ数を画像メモリのうちBkの情報を展開する領域に展開する。そして、白黒プリンタ205に対して排紙命令を発行して、ページ数が描かれた用紙の出力を行う。
【0069】
これによって、プリント出力終了後のカラーページの差し替えが一層容易になる。
【0070】
尚、本発明は、複数の機器から構成されるシステムに適用しても良いし、1つの機器から成る装置に適用しても良い。また、本発明はシステム或は装置にプログラムを供給することによって達成される場合にも適用できることは言うまでもない。
【0071】
【発明の効果】
以上説明したように本発明によれば、カラー画像と白黒画像とが混在したドキュメントの情報が送られてきたとしても、その情報をカラー出力装置とモノクロ出力装置の夫々の装置に出力されるページ情報に振り分け、カラー画像の印刷出力に際して、そのカラー画像ページに相当するページ位置ではこれに対応するダミーページ情報がモノクロ出力装置からも印刷出力されるので、画像出力後にカラー画像出力とモノクロ画像出力を整理し易いという効果がある。
【図面の簡単な説明】
【図1】第1実施例に従うプリントサーバシステムの概略構成を示すブロック図である。
【図2】サーバ104の内部構成を示すブロック図である。
【図3】ドキュメントのプリンタ出力例を示す図である。
【図4】プリンタ出力を指示するPDLコマンドの記述例である。
【図5】第1実施例に従うプリント処理の概要を示すフローチャートである。
【図6】第1実施例に従う解析処理の詳細を示すフローチャートである。
【図7】再構成されたPDLコマンドを示す図である。
【図8】再構成されたPDLコマンド(白紙ページ)を示す図である。
【図9】再構成されたPDLコマンドを示す図である。
【図10】再構成されたPDLコマンドを示す図である。
【図11】第1実施例に従う出力処理の詳細を示すフローチャートである。
【図12】PDLコマンドの再構成の別の例を示す図である。
【図13】PDLコマンドの再構成の別の例を示す図である。
【図14】プリントサーバシステムの概略構成の別の例を示すブロック図である。
【図15】第2実施例に従うプリントサーバシステムの概略構成を示すブロック図である。
【図16】第2実施例に従う3ページから構成されるドキュメントの例を示す図である。
【図17】図16に示した3ページのドキュメントに関するプリンタ出力を指示するPDLコマンドの記述例である。
【図18】第2実施例に従うプリント処理の概要を示すフローチャートである。
【図19】各色成分の画像データの格納アドレスを示すメモリマップである。
【図20】第2実施例に従う解析処理の詳細を示すフローチャートである。
【図21】第2実施例に従う解析処理の詳細を示すフローチャートである。
【図22】第2実施例に従う出力処理の詳細を示すフローチャートである。
【図23】描画処理の詳細を示すフローチャートである。
【図24】出力処理の別の例を示すフローチャートである。
【図25】3ページから構成されるドキュメントの例を示す図である。
【図26】従来例に従う図25で示したドキュメントのプリンタ出力例を示す図である。
【符号の説明】
103、203 ネットワーク
104、204 プリントサーバ
105、205 白黒プリンタ
106、206 カラープリンタ
301 CPU
302 RAM
303 ROM
304 通信インタフェース
305、306 プリンタインタフェース
307 内部バス
[0001]
[Industrial applications]
The present invention relates to a print control apparatus and a print control method, and more particularly, to a print control apparatus and a print control method for interpreting and reconfiguring a page description language that describes image information such as characters and figures and transmitting it to a plurality of output devices. It is about.
[0002]
[Prior art]
In a conventional print server system for connecting a black-and-white printer and a color printer, a multi-page document composed of color pages and black-and-white pages is transmitted from an image data source such as a computer system to obtain a print output. In such a case, all pages have been output from a color printer or a black and white printer.
[0003]
[Problems to be solved by the invention]
However, in the above-described conventional example, since a black-and-white document may be output from a color printer, there is a problem that it is not preferable in terms of running cost, printing speed, print quality, and the like.
[0004]
That is, when a black-and-white document is output from a color printer, even if only black-and-white data is sent, the printing speed is reduced because development is performed with four color components representing colors. In the case of a printer that represents black with three colors (three colors of Y, M, and C), in addition to the drawback that the speed is low, the registration quality of each pixel is shifted, so that the print quality deteriorates. Further, color printers often use special paper, and running costs are high because special inks or toners are used.
[0005]
Further, even if the document extends over three pages as shown in Fig. 25 (the first page 401 of the document has colored characters in the title portion (black portion) and the other portions are black characters. Even if the second page 402 outputs only black characters, and the document third page 403 includes black characters and a color graph), a color printer and a black-and-white printer output the pages in advance, for example, as shown in FIG. When the originals 401 and 403 are output from the black-and-white printer, and the originals 402 are output, the pages need to be rearranged so as to be correctly configured as one document. This is inconvenient because it is necessary for the system user to check the contents of the document on the printed output.
[0006]
The present invention has been made in view of the above conventional example, and has a print control capable of performing output control so that an image including color information (color information) and an image not including color information can be easily arranged after image output. It is an object to provide an apparatus and a print control method.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a print control device according to the present invention has the following configuration. That is, a print control device that is connected to a color output device and a monochrome output device, controls image output by dividing the image information into the color output device and the monochrome output device, and analyzes the image information. Allocating means for allocating the image information to page information output by the color output device and page information output from the monochrome output device; and the page information allocated to the color output device by the allocating means. Generating means for generating dummy page information corresponding to a page position corresponding to a color image page as page information output from the monochrome output device, and outputting the page information output by the color output device to the color output device; The page information output from the monochrome output device and the dummy page information are Comprising a printing control apparatus, characterized in that a transmission means for transmitting the serial monochrome output device.
According to another aspect of the present invention, there is provided a print control method for controlling print output by dividing image information into a color output device and a monochrome output device, wherein the image information is analyzed, and the image information is converted to the color output device. And a page position corresponding to a color image page included in the page information allocated to the color output device in the allocation step. Generating the dummy page information corresponding to the page information output from the monochrome output device, and outputting the page information output by the color output device to the color output device, while being output by the monochrome output device. And the dummy page information to the monochrome output device. Comprising a printing control method characterized by having a signal process.
[0008]
[Action]
According to the above configuration, according to the present invention, based on image information received from a host computer, color image information is transmitted to a color output device, while dummy image information corresponding to color image information and monochrome image information are transmitted to a monochrome output device. Works as follows.
[0009]
【Example】
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0010]
[First embodiment]
FIG. 1 is a block diagram showing a schematic configuration of a print server system (hereinafter, referred to as a system) according to the present embodiment. As shown in FIG. 1, a host computer (hereinafter, referred to as a host) 101 and a host computer (hereinafter, referred to as a host) 102 are connected to a network 103, and a print server (hereinafter, referred to as a server) 104 is also connected to the network 103. I have. The server 104 connects the monochrome printer 105 and the color printer 106. Here, the hosts 101 and 102 transmit a command written in PDL (Page Description Language) to the printer via the server 104, while the black-and-white printer 105 and the color printer 106 transmit the command based on the received PDL command. It has a function of developing and rasterizing an image.
[0011]
It is also assumed that the monochrome printer 105 and the color printer 106 can accept a PDL command of the same language specification. If a command relating to “color” is sent to the monochrome printer 105, ignore the command. Alternatively, print in black and white.
[0012]
FIG. 2 is a block diagram showing the internal configuration of the server 104. In FIG. 2, reference numeral 301 denotes a CPU for controlling the entire server, analyzing PDL commands, and performing various calculations; 302, a RAM for downloading programs and used as a buffer; 303, a ROM for storing programs for controlling the system; Is a communication interface that serves as an interface with the network 103 and the hosts 101 and 102, 305 and 306 are printer interfaces that connect the monochrome printer 105 and the color printer 106, respectively, and 307 is a device that connects the above components and exchanges data with each other. This is an internal bus for sending and receiving.
[0013]
The server 104 having the above configuration plays a role of, for example, analyzing a drawing command shown in FIG. 5 sent from the host and outputting image data to the monochrome printer 105 and the color printer 106.
[0014]
In the following description, a document including three pages shown in FIG. 25 will be used as an example.
[0015]
In the system according to the present embodiment, as shown in FIG. 3, the first and third pages are output from the color printer 106 and the second page is output from the monochrome printer 105, as shown in FIG. You. Such control is performed by the server 104 interpreting the PDL transmitted from the host and controlling the transmission of image data to each printer. At this time, in order to solve the inconvenience of rearranging the pages, which has been a conventional problem, at the time of outputting the color page 401 as shown in FIG. After the monochrome page 402, the monochrome page 605 is output. Thus, by replacing the black and white pages 602 and 605 with the color pages 401 and 403, a desired document can be easily obtained.
[0016]
FIG. 4 is a description example of a PDL command for instructing a printer output so that the three-page documents 401, 402, and 403 shown in FIG. 25 have output results as shown in FIG. Hereinafter, the control of the server 104 will be sequentially described according to the description shown in FIG.
[0017]
First, a PDL command sequence as shown in FIG. 4 is sent from the hosts 101 and 102 to the server 104 via the network 103.
[0018]
The PDL command sequence will be described below.
[0019]
C1 to C4 are commands related to the entire document. Therefore, these commands C1 to C4 have only one location for one document. Commands relating to the entire document include, for example, a character set command (font designation command), a scalable font command (command for specifying whether or not to use a scalable font), a hard reset command (previous printer use environment). ), And a memory mode command (a command for specifying whether the expansion memory is used as a full page memory or a partial page memory).
[0020]
Now, C1 is a document setting start command. C2 is a command indicating the output paper size of the document. In this case, A4 is set. The next C3 indicates the direction of the document. There are a portrait and a landscape. In this case, the portrait (PORT) is shown. C4 is a document setting end command.
[0021]
C5 to C14 are commands for outputting the first page 401 of the document. C5 is for indicating the start of a command. C6 is a command for selecting the font type of the character. In this case, a font set numbered "2" is selected. C7 sets the size of the font and selects a size of "20 points". C8 is a command for setting a character color. Although it has three parameters, the luminance of each of R (red), G (green), and B (blue) color components is shown in order. This luminance is assumed to be quantized in 256 steps from 0 to 255. Since this character is “255”, “0”, and “0” respectively for R, G, and B, it indicates a red color. C9 indicates a character string (TITLE...) To be actually drawn. C10 is a command for selecting a font type similarly to C6. In this case, a font set numbered "1" is selected. C11 sets the size of the font and selects "10 points". C12 determines the color of the font. In this case, R, G, and B are all "0", indicating a black color. C13 indicates a character string (NewYork ...) to be actually drawn. C14 indicates the end of the command.
[0022]
C15 to C20 are commands for outputting the second page 402 of the document. C15 is for indicating the start of the command. C16 is a command for selecting a font type. In this case, a font set numbered "1" is selected. C17 is for setting the font size, and "10 points" is selected. C18 determines the font color. In this case, R, G, and B are both "0", indicating a black color. C19 indicates a character string (PDL is...) To be actually drawn. C20 indicates the end of the command.
[0023]
C21 to C35 are commands for outputting the third page 403 of the document. C21 indicates the start of the command as in C15, and indicates the beginning of the third page. C22 to C25 indicate font setting and character drawing as in the first and second pages. C26 indicates the color of the surface painting at the time of drawing a figure. The colors are specified in the order of R, G, and B in the same manner as the character color. The next command C27 is for designating the color of a line for drawing graphics. C28 indicates the coordinates of the position where the figure is drawn. C29 is a command for designating a radius for drawing an arc, and in this case, represents a "10" coordinate unit. C30 is for drawing a closed arc. Two parameters in the command indicate a drawing start angle and an end angle when drawing an arc. Assuming that the vertical information is 0 degrees, in this case, an arc of 0 to 100 degrees is drawn. C31 to C35 specify the color of the surface and the line, specify the position, and the like, similarly to the commands of C26 to C30. C36 designates the end of the command.
[0024]
Summarizing the above description, in FIG. 4, reference numeral 601 denotes a document setting instruction relating to setting of the entire document, and 602 to 604 denote page drawing instructions of the first, second, and third pages, respectively.
[0025]
Next, an outline of how the server 104 that has received the PDL command performs the printing process will be described with reference to the flowchart shown in FIG.
[0026]
First, in step S1002, PDL command analysis processing is performed to reconstruct the command. In step S1003, the image data is sent to the printer, and an output process for discharging the paper or feeding the paper is performed. In step S1004, it is determined whether all pages of the document have been processed, considering that the document includes a plurality of pages. Here, if it is determined that the processing of all pages has been completed, the processing is terminated. However, if it is determined that there are still unprocessed pages, the processing returns to step S1002, and the analysis processing is continued. I do.
[0027]
Next, details of the analysis processing will be described with reference to the flowchart shown in FIG. In this embodiment, since it is necessary to determine whether to use a black-and-white printer or a color printer for each page, the PDL command is analyzed to determine whether a color is used for each target page. There is a need. The details of the analysis process will be described below.
[0028]
In step S1102, system initialization such as initialization of program internal variables is performed. Specifically, memory clearing of a buffer 1 for storing a command for a color printer and a buffer 2 for storing a command for a monochrome printer is performed. In the present embodiment, each of the buffer 1 and the buffer 2 is secured in another area of the RAM 302.
[0029]
Next, in step S1103, it is determined whether the page of the document to be analyzed is the first page. This is because the processing in the next step S1104 is performed only once for each document, and is therefore performed on the first page. If the page is the first page, the process advances to step S1104 to store a command (document setting command: C1 to C4 in FIG. 4) relating to the entire document in an area of the RAM 302 other than the buffer 1 and the buffer 2. Remember temporarily. On the other hand, if the page is other than the first page, the process proceeds to step S1105.
[0030]
Further, in step S1105 and subsequent steps, a command is analyzed in page units.
[0031]
In step S1105, the analysis from the page start command “Page Start (C5, C15, C21 in FIG. 4)” to the page end command “Page End (C14, C20, C36 in FIG. 4)” is performed. In step S1106, it is determined whether or not these commands include a color setting command “Font Color, Line Color, Fill Color, etc”. If it is determined that the color setting command is included, the process advances to step S1107 to read out the stored document setting command to output from the color printer 106 and buffer it. Write to 1. Subsequently, in step S1108, commands from “Page Start” to “Page End” (C5 to C14 in FIG. 4) are written to the buffer 1. Therefore, 601 and 602 in FIG. 4 are selected, and a document setting command 701 and a portion 702 relating to drawing of the first page as shown in FIG. Next, the process proceeds to step S1111 to read out the above-described document setting instruction and write it into the buffer 2. Further, in a step S1112, "Page Start" and "Page End" are written in the buffer 2. Thus, when the reconstruction of the command of the first page is completed, the process ends. At this time, 701 and 702 in FIG. 7 are stored in the buffer 1, and 801 and 802 in FIG. 8 are stored in the buffer 2.
[0032]
Here, among commands from “Page Start” to “Page End”, a specific command, for example, the above-mentioned memory command mode may need to be considered for each of a color printer and a monochrome printer. For example, when the memory capacity used for the printer is larger than the image information amount, it can be used as a full page memory, and when the memory capacity is not large, a command must be output as a partial memory. There is. Therefore, in steps S1108 and S1110, the same command is not always written to the buffers 1 and 2, but the command is changed and output depending on the color printer and the monochrome printer depending on the case.
[0033]
If the analysis processing is related to the command of the second page, the processing proceeds to steps S1102, S1103, and S1105. In step S1106, it is determined that all the parameter settings of the color setting command (C18 in FIG. 4) are "0", that is, black. Proceed to step S1109.
[0034]
In step S1109, the document setting instruction stored in the processing of the previous page is read and written to the buffer 2. Subsequently, in step S1110, commands from “Page Start” to “Page End” (C15 to C20 in FIG. 4) are written in the buffer 2. Therefore, 601 and 603 in FIG. 4 are selected, and the buffer 2 stores a document setting command 801 and a portion 802 relating to drawing of the second page as shown in FIG. In this way, when the reconstruction of the command of the second page is completed, the processing is terminated.
[0035]
When the analysis processing is related to the command of the third page, the same processing as that of the first page is performed, and as shown in FIG. 10, the command is transmitted to the document setting instruction 901 and the portion 902 related to the drawing of the third page. Is reconstructed.
[0036]
Next, details of the output processing will be described with reference to the flowchart shown in FIG. First, the output processing of the first page, the output processing of the second page, and finally the output processing of the third page will be described.
[0037]
In step S1202, it is checked whether data is written in the buffer 1. In the case of the first page, since data is written in the buffer 1, the process proceeds to step S 1203, and outputs the data in the buffer 1 of the RAM 302 from the printer interface 305 to the color printer 106. As a result, the first page 401 of the document is output from the color printer 106. Subsequently, in step S1204, the process outputs the data in the buffer 2 from the printer interface 306 to the monochrome printer 105. Thus, the blank paper 602 is output from the monochrome printer 105.
[0038]
In the case of the process for the second page, since data is stored in the buffer 2, the process proceeds to step S1204 according to the determination in step S1202, and outputs the data in the buffer 2 of the RAM 302 from the printer interface 306 to the monochrome printer 105. As a result, the second page 402 of the document is output from the monochrome printer 106.
[0039]
The output process of the third page is performed in the same manner as the first page. In step S1203, the commands 901 and 902 of the reconstructed commands shown in FIG. 10 are sent to the color printer 106, and the third page 403 of the document is output. Is output. In step S1204, the commands 903 and 904 are sent to the monochrome printer 105, and a blank page 605 is output.
[0040]
Therefore, according to the present embodiment, by analyzing the command on a page-by-page basis, it is checked whether the target page is composed of only black-and-white information or contains color information. By selecting a printer and outputting a blank page from a monochrome printer at a location corresponding to a color page, it is possible to easily insert and replace a color page after printing and outputting to a monochrome page.
[0041]
In this embodiment, a blank page is output to replace a color original, but it goes without saying that a page for printing characters, graphics, the number of pages, etc. may be output instead.
[0042]
In the present embodiment, for example, a PDL command (document setting command and page drawing command for three pages) sent from the host as shown at 1301 in FIG. Output processing is performed by sending the data to the selected printer in sequence. That is, the document setting command and the drawing command for the first page are combined (1302 in FIG. 12) and transmitted to the color printer. At the same time, the document setting command and the blank page output command are combined and transmitted to the monochrome printer (1305 in FIG. 12). Next, the document setting command and the drawing command for the second page are combined (1303 in FIG. 12) and transmitted to the monochrome printer. Finally, the document setting command and the drawing command of the third page are combined (1304 in FIG. 12) and transmitted to the color printer. At the same time, the document setting command and the blank page output command are combined and transmitted to the monochrome printer (1306 in FIG. 12). .
[0043]
However, the present invention is not limited to this. For example, the output processing may be performed after the command analysis and the command reconstruction of all pages are completed. In this case, as shown in FIG. 13, the PDL command 1301 sent from the host is reconstructed into a color printer command 1402 and a black and white printer command 1403 including a blank page output command (NULL). Output to
[0044]
Thus, the color printer and the black-and-white printer can be operated at the same time, so that the output speed of the entire document can be improved.
[0045]
Further, as a system configuration, a configuration in which the host 101 is directly connected to the server 104 in which the monochrome printer 105 and the color printer 106 are connected as shown in FIG. 14 without using a network can be used.
[0046]
[Second embodiment]
Although the printer connected in the first embodiment has a rasterizing function of receiving, analyzing, and drawing a PDL command, in the present embodiment, a server to which a printer (bitmap printer) not having a rasterizing function can be connected. A case where the system is configured using the above will be described. In the following description, when referring to the devices, device components, PDL commands, and processing steps already described in the first embodiment, the same reference numerals and reference symbols as used in the first embodiment will be used. The description here is omitted.
[0047]
FIG. 15 is a block diagram showing a schematic configuration of a print server system (hereinafter, referred to as a system) according to the present embodiment. As shown in FIG. 15, a host 101 and a host 102 are connected to a network 203, and a print server (hereinafter, referred to as a server) 204 is also connected to the network 203. The server 204 plays a role of, for example, analyzing a drawing command as shown in FIG. 17 sent from the host and outputting an image to a printer. The print server 204 connects the monochrome printer 205 and the color printer 206.
[0048]
FIG. 16 is a diagram showing an example of a document composed of three pages sent from the host used in the following description. In FIG. 16, the first page 402 of the document includes only black characters, the second page 403 of the document includes black characters and a color graph, and the third page 401 of the document includes title-colored characters (black portions). Yes, other parts are black letters.
[0049]
When such a document is decomposed into C (cyan), M (magenta), Y (yellow), and Bk (black) color components, the original 402 becomes a yellow image 104, a magenta image 107, a cyan image 110, and a black image 113. become that way. Since the original 401 is composed of only the black component, it is more efficient to output the image with the monochrome printer 205 than with the color printer 206. On the other hand, the document 403 is composed of the yellow image 105, the magenta image 108, the cyan image 111, and the black image 114, and the document 103 is composed of the yellow image 106, the magenta image 109, the cyan image 112, and the black image 115. It must be output by the printer 206. The image data of each color component described above is stored in an image memory (not shown) provided in the server 204.
[0050]
FIG. 17 is a description example of a PDL (Page Description Language) command for outputting documents 402, 403, and 401 of three pages from a printer. Since the PDL commands shown in FIG. 17 have already been described in the first embodiment, the same reference numerals are assigned and the description is omitted here. In any case, the command sequence shown here is sent from the hosts 101 and 102 to the server 204 via the network 203. Next, an outline of how the server 204 that has received the PDL command performs the printing process will be described with reference to a flowchart shown in FIG.
[0051]
In step S1002, a PDL command analysis process is performed, in the next step S903, a drawing process for drawing in an image memory (not shown) in the server 204, and in a step S1003, an output process. In step S1004, it is determined whether all pages of the document have been processed. In the drawing processing, objects such as figures and characters are actually developed and drawn in the memory while referring to device-specific intermediate codes (described later) created in the analysis processing.
[0052]
FIG. 19 is a memory map showing the storage addresses of the image data of each color component in the image memory of the print server 204. As shown in FIG. 23, the address (addresses 0 to 0xBFFFFF) is Y (yellow), the address (addresses 0xC00000 to 0x17FFFFF) is M (magenta), the address (addresses 0x1800000 to 0x23FFFFF) is C (cyan), and , Addresses (addresses 0x2400000 to 0x2FFFFFF) are Bk (black) storage areas. The image data of each color component developed by the drawing process is stored at the above address.
[0053]
Next, details of the analysis processing will be described with reference to the flowcharts shown in FIGS. In this embodiment, since it is necessary to determine whether to use a black-and-white printer or a color printer for each page, the PDL command is analyzed to determine whether a color is used for each target page. There is a need. The details of the analysis process will be described below.
[0054]
The purpose of the analysis process is mainly to analyze a PDL command and generate an intermediate code used in the drawing process. As a result, a command that does not depend on the device is converted into an intermediate code, which is a command that depends on the device. For example, in the command shown in FIG. 17, the coordinates are specified in centimeters (cm) or inches (inch), but in the intermediate code, they are converted into dots. In addition, the color designation is also converted from the RGB expression to the CMYBk expression suitable for the device color material (toner or the like).
[0055]
After the initialization in step S1102, in the command analysis processing in step S403, the parameters shown in FIG. 17 are sequentially read and analyzed to set various parameters for creating an intermediate code.
[0056]
If it is determined that the analyzed command is not a color setting command by the determination of the color setting command in step S404, the process proceeds to step S501, and an intermediate code depending on a device is created. On the other hand, if the analyzed command is a color setting command, the process proceeds to step S405, and the color expression is converted (masked) from the expression in the RGB space to the expression in the CMYBk space. In steps S406 to S413, the flag (CFLG) is set to “ON” unless any of the Y, M, and C components of the conversion result is “0”, and if the value of the Bk component is not “0”, Turn on the flag (BWFLG). It is assumed that these flags (CFLG, BWFLG) have been set to “OFF” in the initialization in step S1102.
[0057]
For example, if Y = 100, M = 100, C = 0, Bk = 0,
When CFLG = ON, BWFLG = OFF,
If Y = 0, M = 0, C = 0, Bk = 255,
When CFLG = OFF, BWFLG = ON.
[0058]
When ON / OFF of these flags is determined, the process proceeds to step S501, and an intermediate code is generated. Next, in step S502, it is checked whether or not all commands for one page have been analyzed. If it is determined that the analysis has been completed, the process ends. If not, the process returns to step S403 to read the next command. Proceed with analysis.
[0059]
Next, details of the output processing will be described with reference to the flowchart shown in FIG. In the output process, the developed image recorded in the image memory of the server 204 is output to the printer.
[0060]
First, in step S802, various parameters required for output processing are initialized, and in step S803, it is determined whether the conditions of CFLG = "OFF" and BWFLG = "ON" are satisfied.
[0061]
If the above condition is satisfied, the process advances to step S804 to set parameters, select an interface, initialize the printer, and the like for output from the monochrome printer 205. Subsequently, in step S805, data is output to the printer only from the area of the image memory where the information of Bk is stored, and when the output of the data is completed, a paper ejection command is issued to the printer. As a result, a black and white original is actually output from the printer.
[0062]
If the above condition is not satisfied, the process advances to step S806 to set parameters, select an interface, initialize the printer, and the like for output from the color printer 206. Subsequently, in step S807, data is output to the color printer 206 from the area of the image memory where the information of each color component of Y, M, C, and Bk is stored, and a paper discharge command is issued. As a result, a color original is output from the color printer 206. Subsequently, in step S808, a paper ejection command is issued to the monochrome printer 205 to output a blank paper.
[0063]
Therefore, according to this embodiment, by analyzing the PDL command, it is determined whether the target page is composed of only black and white information or contains color information, and the output printer is determined according to the result. In addition to the selection, when a color page is output, a blank page is output from a black-and-white printer, whereby the color and black-and-white page configurations can be clarified. Further, since the blank page can be used again for printing, it can contribute to a reduction in operation cost.
[0064]
In this embodiment, the ON / OFF setting of the flags (CFLG, BWFLG) is performed in the analysis process, but the present invention is not limited to this. For example, this processing may be performed in the drawing processing. In this case, the drawing process is as shown in the flowchart of FIG. The processing will be described below.
[0065]
First, in step S702, initialization such as clearing the image memory, initializing parameters, and securing a work memory is performed. In step S703, the intermediate code generated in the previous analysis processing is referred to. Next, in step S704, an address to be actually drawn in the image memory is calculated. At this time, it is checked in step S705 whether the address (ADR) satisfies 0 ≦ ADR ≦ 0x2400000. If this condition is satisfied, the process proceeds to step S706, and the flag (CFLG) is set to “ON”. If this condition is not satisfied, the process proceeds to step S707, and the flag (BWFLG) is set to “ON”. (It is assumed that the flags (CFLG, BWFLG) are initially set to “OFF” in the initialization in step S702).
[0066]
Next, in step S708, the image is actually drawn in the memory. Since what has just been described relates to the drawing of one pixel in the drawing of an object, it is determined in step S709 whether or not the drawing has been completed for the entire object (circle, rectangle, character, etc.). If it is determined that drawing has not been completed, the process returns to step S704 to repeat address calculation and drawing. On the other hand, if it is determined that the drawing is completed, the process proceeds to step S710. In step S710, it is determined whether all of the intermediate code processing has been processed, that is, whether or not processing of all objects has been completed. Here, if it is determined that the processing of all objects has been completed, the drawing processing ends. On the other hand, if it is determined that there is an unprocessed intermediate code, the process returns to step S703 and refers to the remaining intermediate codes.
[0067]
As described above, the ON / OFF setting of the flags (CFLG, BWFLG) for each intermediate code can be performed in the drawing process.
[0068]
In the output process, as shown in the flowchart of FIG. 24, after the initialization process in step S802, the number of output pages is stored in step S8021, and after the color print output in step S807, the output page number is calculated in step S809. It is developed in the area where the information of Bk is developed in the image memory. Then, a paper ejection command is issued to the monochrome printer 205, and the paper on which the number of pages is drawn is output.
[0069]
This makes it easier to replace the color pages after the print output is completed.
[0070]
The present invention may be applied to a system including a plurality of devices, or may be applied to an apparatus including a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.
[0071]
【The invention's effect】
As described above, according to the present invention, even if information of a document in which a color image and a black-and-white image are mixed is sent, the information is output to a page which is output to each of a color output device and a monochrome output device. At the page position corresponding to the color image page, the corresponding dummy page information is also printed out from the monochrome output device when the color image is printed out, so that the color image output and the monochrome image output after the image output There is an effect that is easy to organize.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a print server system according to a first embodiment.
FIG. 2 is a block diagram showing an internal configuration of a server 104.
FIG. 3 is a diagram illustrating an example of a document output to a printer.
FIG. 4 is a description example of a PDL command instructing a printer output.
FIG. 5 is a flowchart illustrating an outline of a printing process according to the first embodiment.
FIG. 6 is a flowchart illustrating details of an analysis process according to the first embodiment.
FIG. 7 illustrates a reconstructed PDL command.
FIG. 8 is a diagram showing a reconstructed PDL command (blank page).
FIG. 9 is a diagram showing a reconstructed PDL command.
FIG. 10 is a diagram showing a reconstructed PDL command.
FIG. 11 is a flowchart showing details of output processing according to the first embodiment.
FIG. 12 is a diagram illustrating another example of the reconfiguration of the PDL command.
FIG. 13 is a diagram illustrating another example of the reconfiguration of the PDL command.
FIG. 14 is a block diagram illustrating another example of a schematic configuration of the print server system.
FIG. 15 is a block diagram showing a schematic configuration of a print server system according to a second embodiment.
FIG. 16 is a diagram showing an example of a document composed of three pages according to the second embodiment.
FIG. 17 is a description example of a PDL command instructing a printer output for the three-page document shown in FIG. 16;
FIG. 18 is a flowchart illustrating an outline of a printing process according to the second embodiment.
FIG. 19 is a memory map showing storage addresses of image data of each color component.
FIG. 20 is a flowchart showing details of analysis processing according to the second embodiment.
FIG. 21 is a flowchart illustrating details of an analysis process according to the second embodiment.
FIG. 22 is a flowchart showing details of output processing according to the second embodiment.
FIG. 23 is a flowchart illustrating details of a drawing process.
FIG. 24 is a flowchart illustrating another example of the output process.
FIG. 25 is a diagram illustrating an example of a document including three pages.
FIG. 26 is a diagram showing an example of a printer output of the document shown in FIG. 25 according to a conventional example.
[Explanation of symbols]
103, 203 network
104, 204 print server
105, 205 black and white printer
106, 206 color printer
301 CPU
302 RAM
303 ROM
304 communication interface
305, 306 Printer interface
307 Internal bus

Claims (12)

カラー出力装置とモノクロ出力装置と接続され、画像情報を、前記カラー出力装置と前記モノクロ出力装置とに分けて印刷出力を制御する印刷制御装置であって、
前記画像情報を解析し、該画像情報を前記カラー出力装置によって出力されるページ情報と、前記モノクロ出力装置から出力されるページ情報とに振り分ける振り分け手段と、
前記振り分け手段により前記カラー出力装置に振り分けられたページ情報に含まれるカラー画像ページ相当するページ位置に対応したダミーページ情報を前記モノクロ出力装置から出力されるページ情報として生成する生成手段と、
前記カラー出力装置によって出力されるページ情報を前記カラー出力装置に、一方、前記モノクロ出力装置から出力されるページ情報と前記ダミーページ情報とを前記モノクロ出力装置に送信する送信手段とを有することを特徴とする印刷制御装置。
A print control device that is connected to a color output device and a monochrome output device and controls print output by dividing image information into the color output device and the monochrome output device,
Analyzing the image information, and page information output the image information by the color output device, and a distributing means for distributing to the page information output from the monochrome output device,
A generation unit that generates dummy page information corresponding to a page position corresponding to a color image page included in the page information allocated to the color output device by the allocation unit as page information output from the monochrome output device;
The page information output by the color output device to the color output device, whereas, in that it has a transmission means for transmitting said the page information output from the monochrome output apparatus dummy page information to the monochrome output device Characteristic print control device.
前記カラー出力装置と前記モノクロ出力装置とは各々、前記送信手段によって送信された情報に基づいて、画像を展開する機能を有するカラープリンタ、白黒プリンタであることを特徴とする請求項1に記載の印刷制御装置。2. The color output device according to claim 1, wherein the color output device and the monochrome output device are a color printer and a monochrome printer having a function of developing an image based on information transmitted by the transmission unit. Print control device. 前記ダミーページ情報とは、前記白黒プリンタから出力される記録媒体に何も情報を記録しないようにする情報であることを特徴とする請求項2に記載の印刷制御装置。3. The print control apparatus according to claim 2, wherein the dummy page information is information for not recording any information on a recording medium output from the monochrome printer. 前記ダミーページ情報とは、前記白黒プリンタから出力される記録媒体に記録ページ数を記録するように指示する情報を含むことを特徴とする請求項2に記載の印刷制御装置。3. The print control apparatus according to claim 2, wherein the dummy page information includes information for instructing recording of the number of recording pages on a recording medium output from the monochrome printer. 前記画像情報はページ記述言語によって記述されていることを特徴とする請求項1乃至4のいずれかに記載の印刷制御装置。The image information print control apparatus according to any one of claims 1 to 4, characterized in that it is described by a page description language. 前記振り分け手段によりカラー出力装置に振り分けられたページ情報に基づいて、カラー画像を展開する第1画像展開手段と、
前記振り分け手段によりカラー出力装置に振り分けられたページ情報に基づいて、モノクロ画像を展開する第2画像展開手段と、
前記第1及び第2画像展開手段によって展開されたカラー画像及びモノクロ画像を格納する記憶手段とをさらに有することを特徴とする請求項1乃至5のいずれかに記載の印刷制御装置。
First image developing means for developing a color image based on the page information distributed to the color output device by the distribution means;
A second image developing unit that develops a monochrome image based on the page information allocated to the color output device by the allocation unit;
The print control apparatus according to any one of claims 1 to 5, further comprising a storage means for storing the color image and a monochrome image that is expanded by the first and second image development unit.
画像情報を、カラー出力装置とモノクロ出力装置とに分けて印刷出力を制御する印刷制御方法であって、A print control method for controlling print output by dividing image information into a color output device and a monochrome output device,
前記画像情報を解析し、該画像情報を前記カラー出力装置によって出力されるページ情報と、前記モノクロ出力装置から出力されるページ情報とに振り分ける振り分け工程と、Analyzing the image information, a sorting step of sorting the image information into page information output by the color output device and page information output from the monochrome output device,
前記振り分け工程において前記カラー出力装置に振り分けられたページ情報に含まれるカラー画像ページに相当するページ位置に対応したダミーページ情報を前記モノクロ出力装置から出力されるページ情報として生成する生成工程と、A generation step of generating dummy page information corresponding to a page position corresponding to a color image page included in the page information allocated to the color output device in the allocation step as page information output from the monochrome output device;
前記カラー出力装置によって出力されるページ情報を前記カラー出力装置に、一方、前記モノクロ出力装置によって出力されるページ情報と前記ダミーページ情報とを前記モノクロ出力装置に送信する送信工程とを有することを特徴とする印刷制御方法。A transmitting step of transmitting the page information output by the color output device to the color output device, and transmitting the page information and the dummy page information output by the monochrome output device to the monochrome output device. Characteristic print control method.
前記カラー出力装置と前記モノクロ出力装置とは各々、前記送信工程において送信された情報に基づいて、画像を展開する機能を有するカラープリンタ、白黒プリンタであることを特徴とする請求項7に記載の印刷制御方法。8. The color output device according to claim 7, wherein the color output device and the monochrome output device are a color printer and a black-and-white printer each having a function of developing an image based on information transmitted in the transmission step. Printing control method. 前記ダミーページ情報とは、前記白黒プリンタから出力される記録媒体に何も情報を記録しないようにする情報であることを特徴とする請求項8に記載の印刷制御方法。9. The print control method according to claim 8, wherein the dummy page information is information for not recording any information on a recording medium output from the monochrome printer. 前記ダミーページ情報とは、前記白黒プリンタから出力される記録媒体に記録ページ数を記録するように指示する情報を含むことを特徴とする請求項8に記載の印刷制御方法。9. The print control method according to claim 8, wherein the dummy page information includes information instructing recording of the number of recording pages on a recording medium output from the monochrome printer. 前記画像情報はページ記述言語によって記述されていることを特徴とする請求項7乃至10のいずれかに記載の印刷制御方法。11. The print control method according to claim 7, wherein the image information is described in a page description language. 前記振り分け工程においてカラー出力装置に振り分けられたAllotted to the color output device in the allocation step ページ情報に基づいて、カラー画像を展開する第1画像展開工程と、A first image developing step of developing a color image based on the page information;
前記振り分け工程においてカラー出力装置に振り分けられたページ情報に基づいて、モノクロ画像を展開する第2画像展開工程と、A second image development step of developing a monochrome image based on the page information allocated to the color output device in the allocation step;
前記第1及び第2画像展開工程によって展開されたカラー画像及びモノクロ画像を格納する記憶手段とをさらに有することを特徴とする請求項7乃至11のいずれかに記載の印刷制御方法。12. The print control method according to claim 7, further comprising: storage means for storing a color image and a monochrome image developed in the first and second image development steps.
JP33201093A 1993-12-27 1993-12-27 Print control device and print control method Expired - Fee Related JP3542370B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33201093A JP3542370B2 (en) 1993-12-27 1993-12-27 Print control device and print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33201093A JP3542370B2 (en) 1993-12-27 1993-12-27 Print control device and print control method

Publications (2)

Publication Number Publication Date
JPH07186457A JPH07186457A (en) 1995-07-25
JP3542370B2 true JP3542370B2 (en) 2004-07-14

Family

ID=18250136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33201093A Expired - Fee Related JP3542370B2 (en) 1993-12-27 1993-12-27 Print control device and print control method

Country Status (1)

Country Link
JP (1) JP3542370B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2882326B2 (en) * 1995-12-06 1999-04-12 日本電気株式会社 Network printer
US6760118B1 (en) 1996-03-27 2004-07-06 Canon Kabushiki Kaisha Printing device control apparatus and method
JP4603717B2 (en) * 2001-04-26 2010-12-22 キヤノン株式会社 Information processing apparatus, distributed printing system, distributed printing control method, computer program, and computer-readable storage medium
JP4185761B2 (en) 2002-12-06 2008-11-26 キヤノン株式会社 Printing system, control method therefor, and storage medium
JP6115025B2 (en) * 2012-05-22 2017-04-19 セイコーエプソン株式会社 Medium processing apparatus and POS system

Also Published As

Publication number Publication date
JPH07186457A (en) 1995-07-25

Similar Documents

Publication Publication Date Title
EP0518619B1 (en) Image processing system with plural memory devices
JP4390287B2 (en) Printing system, printing apparatus and control method thereof
EP0849701B1 (en) Print control apparatus and print control method
EP0933723B1 (en) Printing apparatus
US7440122B2 (en) Image processing apparatus managing user profiles, image processing method managing user profiles, and storage medium thereof
WO2011048771A1 (en) Image processing apparatus, image processing method, and program
JPH0713717A (en) Image forming device image forming system and method therefor
EP0938059B1 (en) Form overlay printing
JPH10297050A (en) Output controller, output control method, image processor, image processing method, and recording medium
JP3262492B2 (en) Color printer control device, color printer control method, and storage medium storing control program
US6646759B1 (en) Printing apparatus and image output control apparatus for processing image data using a dither pattern
JP3962606B2 (en) Printing command generation apparatus and method, printing apparatus and control method thereof, information processing apparatus, and printing system
JP3542370B2 (en) Print control device and print control method
JP2006263969A (en) Image processing device, printing job forming device, and image processing system
JP2002254709A (en) Printer and image forming device
JP3728183B2 (en) Printing control apparatus, drawing control apparatus, data processing method, and storage medium
JP3550979B2 (en) Image processing device
JP2006159738A (en) Print controller, its data processing method, and storage medium
JP3305071B2 (en) Server device
JP2007188308A (en) Printing system and storage medium
JP3492041B2 (en) Information processing apparatus and print control method
JP2004193876A (en) Image processing method
JP2006140597A (en) Device and method for printing control, computer program, and storage medium
JP3453398B2 (en) Image processing system and image processing method
JPH11110151A (en) Printer driver, computer having printer driver, and computer system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040312

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040331

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees