JP4072286B2 - Output control device, control method, storage medium - Google Patents

Output control device, control method, storage medium Download PDF

Info

Publication number
JP4072286B2
JP4072286B2 JP12115699A JP12115699A JP4072286B2 JP 4072286 B2 JP4072286 B2 JP 4072286B2 JP 12115699 A JP12115699 A JP 12115699A JP 12115699 A JP12115699 A JP 12115699A JP 4072286 B2 JP4072286 B2 JP 4072286B2
Authority
JP
Japan
Prior art keywords
file
output
image file
capacity
data format
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
JP12115699A
Other languages
Japanese (ja)
Other versions
JP2000311071A5 (en
JP2000311071A (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 JP12115699A priority Critical patent/JP4072286B2/en
Priority to US09/309,494 priority patent/US6525833B1/en
Publication of JP2000311071A publication Critical patent/JP2000311071A/en
Publication of JP2000311071A5 publication Critical patent/JP2000311071A5/ja
Application granted granted Critical
Publication of JP4072286B2 publication Critical patent/JP4072286B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、所定の通信媒体を介してデータ処理装置から受信するページ記述言語データ形式の画像ファイルに基づいて印刷部への出力を制御する出力制御装置に関するものである。
【0002】
【従来の技術】
近年、出力制御装置を備えるプリンタ装置は、ネットワーク化が進み、プリンタもローカルプリンタからネットワークの中に組み込まれ、1台のプリンタを複数のユーザが共有できるようになってきている。この様なネットワークプリンティング環境の下、大きなソータを組み込んだネットワークプリンタも実用化されている。
【0003】
また、ハードディスクのようなメモリ媒体をプリンタ装置に組み込んで、プリント画像を一旦格納し、ソータの役割を持たせた電子ソータを装備したプリンタも提案されている。
【0004】
【発明が解決しようとする課題】
しかしながら、上記従来例では、ページ記述言語で記述された画像ファイルをラスタイメージ画像に展開し、その展開画像をメモリ媒体に格納するようになっているため、例えば白い領域が多いラスタイメージ画像も、変化が多いラスタイメージ画像もハードディスク上に同じメモリ領域を必要としてしまいハードディスク等のメモリ資源を有効に活用できない等の問題点があった。
【0005】
本発明は、上記の問題点を解消するためになされたもので、本発明の目的は、画像ファイルを格納する場合に、データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する制御コマンドに適応して、格納する画像ファイルのデータ形式を選択できる仕組みを提供することである。
【0006】
【課題を解決するための手段】
本発明に係る出力制御装置は、以下の特徴的構成を備える。
所定の通信媒体を介してデータ処理装置から受信するページ記述言語データ形式の画像ファイルに基づいて印刷部への出力を制御する出力制御装置であって、前記データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する制御コマンドを解釈することにより前記データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する出力条件を判断する判断手段と、前記ページ記述言語データ形式の画像ファイルを変換して中間ファイルを生成する生成手段と、前記生成手段により生成された前記中間ファイルに基づいて画像メモリ上にラスタイメージファイルを展開する展開手段と、所定のデータ形式の画像ファイルを一時格納する格納手段と、前記展開手段により展開されたラスタイメージファイルを前記印刷部で印刷出力する印刷出力手段と、前記判断手段により判断された前記出力条件に従って、前記所定のデータ形式の画像ファイルを前記格納手段に格納するか、前記印刷出力手段による印刷出力を実行するかを選択する選択手段と、を有し、前記選択手段は、前記所定のデータ形式の画像ファイルを前記格納手段に格納する場合には、前記出力条件に含まれる印刷速度またはファイル容量のいずれか一方の条件に基づいて前記格納手段に格納するファイル形式を選択することを特徴とする。
【0026】
本発明に係る第21の発明は、第11〜第20の発明のいずれかの出力制御方法方法を実行させるためのプログラムをコンピュータが読み取り可能な記憶媒体に格納したことを特徴とする。
【0036】
【発明の実施の形態】
図1は、本発明の一実施形態を示す出力制御装置を適用可能な印刷システムの全体構成を示すブロック図であり、ホストコンピュータ101とネットワークプリンタ102とが所定の通信媒体、例えばイーサネット等の高速なネットワーク103を介して通信可能に構成されている。
【0037】
図において、ホストコンピュータ101からネットワークプリンタ102を指定し、プリント出力を得る際には、ホストコンピュータ101内の印刷制御プログラム、いわゆるプリンタドライバが編集されたドキュメントを所定のページ記述言語で記述されたファイルに変換し、高速なネットワーク103を介してネットワークプリンタ102に転送できるようになっている。
【0038】
また、詳細は後述するが、プリンタエンジン209に直接出力するか、ハードディスク(HD)207に一時格納し、都合の良い時にプリント出力を得ることも出来る様になっている。これらのファイル変換や、プリント出力の選択は、ホストコンピュータ101にインストールされているドライバソフト(プリンタドライバ)が行っている。
【0039】
ネットワークプリンタ102において、201はネットワークコントローラで、ネットワーク103を介してホストコンピュータ101および図示しないホストコンピュータとの通信を制御、例えばネットワークコントローラ201は、ネットワーク103に接続されて、ホストコンピュータ101からのデータを受けるためのプロトコルを制御している。なお、ネットワークコントローラ201は、オプションとして装着される場合と、標準に装着される場合とがある。
【0040】
202はCPU(中央演算処理装置)で、ROM(リードオンリーメモリ)203に記憶された制御プログラムに基づいてネットワークプリンタ102の全体の制御を司る。
【0041】
204はワークRAMで、図示しないオプションRAMによりその容量を拡張可能に構成されている。ワークRAM204は、各種の情報を格納すると共に、CPU202のワークエリアとしても機能する。205は画像コントローラ(ASIC)で、画像メモリ210へのレンダリング処理と、該レンダリングされた画像データのプリンタエンジン209への転送を制御する。具体的には、ASIC205は、画像コントローラであり、ページ記述言語で記述されたファイルに基づいて画像メモリ210にラスタイメージ画像を展開し、プリンタエンジン209からの同期信号に基づいて展開画像を転送する機能を有している。なお、このASIC205の詳細については後述する。
【0042】
206はハードディスクインタフェース(HD・I/F)で、ハードディスク207とのアクセスを制御する。208は操作部で、印刷状態や設定された内容を確認するためのキーと表示器を備え、外部から各種操作を行ったり、エラー情報等の各種情報を表示できるようになっている。
【0043】
211はCPUバスで、該CPUバス211を介して接続される各デバイスとのアクセスをCPU202が制御している。なお、プリンタエンジン209は、インクジェットプリンタエンジンやレーザビームプリンタエンジン等で構成され、図示しないプリンタ部を駆動するもので、ビデオバス213を介してASIC205に接続され同期信号を出力する。画像メモリ210は、ASIC205に接続されラスタイメージ画像が展開されるものである。
【0044】
次に、上記構成のシステムの各部の動作を説明する。
【0045】
ホストコンピュータ101より直接プリントを指示され、送付されたページ記述言語、例えばLIPS,PSによって記述されたページ記述言語データの画像ファイルは、ネットワークコントローラ201により受け取られ、CPU202を介しワークRAM204上に確保される、例えば受信バッファ等に一時格納される。CPU202はワークRAM204に一時格納してあるページ記述言語データを参照し、ASIC205が利用できる中間言語データに変換し、再びワークRAM204に順次格納していく。
【0046】
そして、CPU202は、上記中間言語データへの変換処理が終了すると、ASIC205に対し画像展開開始のコマンドを送り、ASIC205は、ワークRAM204に格納されている中間言語データを参照しながら高速に画像メモリ210へラスタイメージ画像の展開処理(レンダリング処理)を行う。
【0047】
そして、CPU202は、ASIC205からの画像データの展開処理終了の割り込みを受けると、プリンタエンジン209に対して起動コマンドを送り、このプリンタエンジン209に起動をかける。これと同時にCPU202は、ASIC205にコマンドを送ってビデオ出力モードとして、プリンタエンジン209からの同期信号212を待機する状態となる。
【0048】
このようにしてプリンタエンジン209が起動すると、図示はしないが、印刷用紙が給紙され、水平同期信号、垂直同期信号(以下まとめて同期信号212と記述する)が発生してASIC205に送られ、ASIC205が同期信号212が入力されると、画像メモリ210に展開されている画像データをビデオバス213を介し順次プリンタエンジン209に転送する様になっている。
【0049】
次に、図に示したHD207に画像データを一時格納する動作について説明を行う。なお、あらかじめHD207内には、複数のユーザ毎に個々にメモリ領域(以下メモリボックスと記述する)を確保し、それぞれを区別するための番地をを割り当てておく。
【0050】
ユーザは、前述したように、ドキュメントをプリントする際、直接プリント出力を得るか、一時与えられたメモリボックスにドキュメントを格納するかをホストコンピュータ101のプリンタドライバに対する印刷開始要求画面上で選択できる様になっている。
【0051】
これはネットワーク103上の複数のユーザが1台のネットワークプリンタ102を共有して利用する場合、例えばプリント出力が重なった場合、出力トレイ上で重なってしまい仕分けが煩雑になったり、プリント出力の回収を忘れてしまうことにより紛失等が生じる場合があるためである。
【0052】
そこで、与えられたメモリボックスにドキュメントを一時格納することにより、都合の良い空き時間にドキュメントを得られる様にすることで、より利便性を増すように工夫されている。
【0053】
また、上記各メモリボックスに格納されているドキュメントを引き出す際には、ホストコンピュータ101から指定したり、ネットワークプリンタ102の操作部208からも指定出来る様になっている。
【0054】
以下に、HD207上に確保されたメモリボックスにドキュメントを一時格納する際の手順について説明する。
【0055】
先ず、ホストコンピュータ101で作成編集されたドキュメントは、前述したようにページ記述言語で記述されたページ記述言語データで構成されるファイルに変換されて、高速なネットワーク103を介しネットワークプリンタ102に転送されるようになっている。
【0056】
このとき同時に、プリントコマンドとは別に、例えば“ハードディスクにー時格納せよ”というコマンドと、メモリボックス番号、例えばホストコンピュータ101のユーザに対してメモリボックス番号No.11が確保されているならば、メモリボックスNo.11が発行される。これは、ホストコンピュータ101にてユーザが自由に選択できるようになっている。
【0057】
また、メモリボックスに格納する際、ファイルの容量を優先するのか、プリント出力を得る際のスピードを優先するのか、同時に発行されるコマンドによって、選択できるようになっている。
【0058】
例えばコマンド“capacity”が発行された場合、プリント出力を得る際のファイルの容量が優先され、例えばコマンド“speed”が発行された場合、プリント出力を得る際のスピードが優先され、メモリボックスに格納される際のファイル形式が決められる。
【0059】
これらのコマンドには制御のための詳細なパラメータ及び基準値が付加され、これらコマンドとー緒にプリンタに送ることもできる。また、これら詳細なパラメータ及び基準値は、プリンタ102の操作部208もしくは、ネットワーク103に接続されている、ホストコンピュータ上にて起動された、プリンタ設定アプリケーション、またはプリンタドライバ等により設定され、スピードもしくはファイル容量の各基準値をあらかじめ設定することもできる。
【0060】
例えば、コマンド“speed”が発行された場合、あらかじめ設定されている設定基準値よりも速くプリント出力が得られる場合は、ファイルの容量が大きくなってもスピードに有利なファイル形式でハードディスク207上に格納される。
【0061】
一方、例えばコマンド“capacity”が発行された場合、スピードに不利なファイル形式であっても、前記設定手段によりあらかじめ基準値よりも、容量を小さくできるのであれば容量を優先したファイル形式でハードディスク207上に格納される。
【0062】
次に、ネットワークプリンタ102の内部での処理の流れを、図2及び図3,図4のフローチャートに基づき説明する。
【0063】
図2〜図4は、本発明に係る出力制御装置におけるデータ処理手順の一例を示すフローチャートである。なお、S201〜S209,S301〜S308,S401〜S412は各ステップを示す。
【0064】
まず、図2において、ステップS201で、転送されたコマンドが通常プリントなのか、HD207内のメモリボックスに格納するのかを解釈する。そして、ステップS202で、通常プリントであるか否かを判断し、通常プリントであると判断した場合は、ステップS209で通常プリントを行った後、本処理動作を終了する。
【0065】
一方、ステップS202において、通常プリントではなく、メモリボックスに格納すると判定した場合は、ステップS203で、HD207内の指定メモリボックスの空き容量をチェックする。
【0066】
そして、ステップS204で、HD207内の指定メモリボックスの空き容量が有るか否かを判断し、空きがないと判定した場合は、ステップS210で、通常プリント動作に移行し、その旨をホストコンピュータ101に通知して、処理を終了する。
【0067】
一方、ステップS204において、HD207内の指定メモリボックスの空き容量があると判定した場合は、ステップS205で、一時転送されたページ記述言語で記述された画像ファイルのまま指定メモリボックスに格納する。なお、このときのファイル名は、ホストコンピュータ101内のドライバで指定され、例えば、「file.P」となる。ここで、サフィックス「.P」は後述するが、中間言語ファイル「.M」とラスタイメージファイル「.I」とを区別するものである。
【0068】
次に、ステップS206で、他の新たなジョブ、もしくは他のホストコンピュータからのジョブが有るか否かを判断し、他の新たなジョブ、もしくは他のホストコンピュータからジョブが有ると判定した場合は、ステップS211で、新たなジョブを優先させる。
【0069】
これは、以下に述べる処理がネットワークプリンタ102のジョブの空き時間を利用することで、全体処理の効率化を図るためである。また、前記ステップS206において、他の新たなジョブ、もしくは他のホストコンピュータからのジョブがないと判定した場合は、直接ステップS207へ進む。
【0070】
そして、ステップS207では、前記ステップS205で、ファイル名「file.P」とされたファイルをハードディスク207からワークRAM204に読み出し、ASIC205が利用できる中間言語データへの変換を開始し、ファイル名を「file.M」とする。なお、画像メモリ210に対して展開されるラスタイメージ画像のページ枚数と用紙サイズは、あらかじめわかるのでそれらの情報から、展開後のラスタイメージ画像のメモリ容量は計算可能である。
【0071】
そこで、ステップS208で、ファイル名「file.P」のファイルとファイル名「file.M」のファイルと展開後のラスタイメージ画像のメモリ容量を比較し、または、プリント出力を得るまでの時間を比較して、受信した言語ファイル、ファイル名「file.P」のファイルを格納するファイルタイプを決め、HD207に指定されたボックスに格納することで、スピード、もしくは容量を考慮したHD207の効率的な利用が可能となる。
【0072】
次に、ステップS209以降は、前述したように、受け取るコマンド、“speed”または、“capacity”によって処理が切り替わる。
【0073】
次に、図3において、スピードを優先させた場合の処理を説明する。
【0074】
現在、ネットワークプリンタ102は、あらかじめ設定される基準値より、プリントスピードが速く、なおかつ容量が少ないファイル形式を選択し、HD207に格納するように設定されているものとする。
【0075】
先ず、ステップS301で、ファイル名「file.P」のファイルと展開後のラスタイメージ画像の指定分のメモリ容量を比較し、ファイル名「file.P」file.Pのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が小さいと判定した場合は、ステップS302へ進み、ファイル名「file.M」のファイルと、展開後のラスタイメージ画像の指定ページ分のメモリ容量を比較し、ファイル名「file.M」のメモリ容量より展開後のラスタイメージ画像の指定ページ分のメモリ容量の方が小さい場合は、ステップS303に進み、ASIC205により中間言語ファイルfile.Mの中間データに基づいてラスタイメージ画像を画像メモリ210に展開し、ファイル名「fl1e.I」として、画像メモリ210からASIC205を介して、HDD207上に確保されている指定メモリボックス内のファイル名「file.P」のファイルと入れ替えて格納した後、本動作を終了する。
【0076】
一般に、同じ画像をプリントした場合、プリントスピードとファイル形式の関係は、file.P<file.M<file.Iとなる。これは、プリント出力を得る際、ファイル名file.Pのファイルとファイル名file.Mのファイルは、ファイル変換、画像展開工程が必要な分、出力準備時間がかかるのは明らかである。
【0077】
よって、ステップS303では、最も容量が小さくかつ最もプリントスピードが速いファイル形式(イメージ形式)が選択されてハードディスク207に格納されることとなる。
【0078】
一方、ステップS301において、ファイル名「file.P」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が大きいと判定した場合は、ステップS304で、ファイル名「file.P」のファイルとファイル名「file.M」のファイルのメモリ容量を比較して、ファイル名「file.P」のファイルのメモリ容量がファイル名「file.M」のファイルのメモリ容量より小さいかどうかを判定し、小さいと判定した場合は、ステップ305に進み、選択されたファイル名「file.P」のファイルがあらかじめ設定されている基準値よりプリントスピードが速いかどうかどうかが判断され、基準値の条件を満足すると判断した場合は、ステップS306で、そのまま、ファイル名「file.P」として、HD207上の指定メモリボックス内に格納した後、本処理動作を終了する。
【0079】
これによって、ファイル名「file.P」のファイルは、最も容量が小さく、かつ、あらかじめ設定されたスピードの基準値を満足したファイル形式となる。
【0080】
一方、ステップS302にて、ファイル名「file.M」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が大きいと判定した場合は、ステップS307に進み、選択されたファイル名「file.M」のファイルがあらかじめ設定されている基準値よりプリントスピードが速いかどうかが判断され、基準値の条件を満足すると判断した場合は、ステップS308で、ファイル名「file.M」として、HD207内に確保される指定メモリボックス内のファイル名「file.P」のファイルと入れ替えて格納した後、本処理動作を終了する。
【0081】
これによって、ファイル名「file.M」のファイルは、最も容量が小さく、かつ、あらかじめ設定されたスピードの基準値を満足したファイル形式となる。
【0082】
一方、ステップS304において、ファイル名「file.P」のファイルのメモリ容量がファイル名「file.M」のファイルのメモリ容量より大きいと判定した場合は、ステップS307に進み、選択されたファイル名「file.M」のファイルがあらかじめ設定されている基準値よりプリントスピードが速いかどうかが判断され、基準値の条件を満足すると判断した場合は、ステップS308で、ファイル名「file.M」のファイルとして、HD207内に確保される指定メモリボックス内のファイル名「file.P」のファイルと入れ替えて格納した後、本処理動作を終了する。
【0083】
これによって、ファイル名「file.M」のファイルは、最も容量が小さく、かつ、あらかじめ設定されたスピードの基準値を満足したファイル形式となる。
【0084】
一方、ステップS305において、ファイル名「file.P」のファイルがあらかじめ設定されている基準値よりプリントスピードが速いかどうかが判断され、基準値の条件を満足しないと判断した場合は、ステップS307に進み、次にファイル容量が小さいと判断されるファイル名「file.M」が、あらかじめ設定されている基準値よりプリントスピードが速いかどうかが判断され、基準値の条件を満足すると判断した場合は、ステップS308で、ファイル名「file.M」のファイルとして、HD207内に確保される指定メモリボックス内のファイル名「file.P」のファイルと入れ替えて格納した後、本処理動作を終了する。
【0085】
これによって、ファイル名「file.M」はあらかじめ設定されたスピードの基準値を満足し、かつ最も容量が小さいファイル形式となる。
【0086】
一方、ステップS307で、ファイル名「file.M」が、あらかじめ設定されている基準値よりプリントスピードが速いかどうかが判断され、基準値の条件を満足しないと判断した場合は、ステップS303に進み、ASIC205により画像メモリ210上にラスタイメージ展開後、ファイル名「file.I」のファイルとしてHD207に格納される。
【0087】
これによって、ファイル名「file.I」のファイルはあらかじめ設定されたスピードの基準値を満足し、かつ最も容量が小さいファイル形式となる。
【0088】
次に、図4において、ファイルの容量を優先させた場合の処理を説明する。なお、あらかじめ設定される基準値より、容量が小さく、なおかつできるだけスピードが速いファイル形式を選択しHD207に格納するようになっているものとする。
【0089】
先ず、ステップS401で、展開後のラスタイメージ画像の指定ページ分のメモリ容量とあらかじめ設定されている基準容量値とを比較し、基準容量値より展開後のラスタイメージ画像の指定ページ分のメモリ容量が大きいかどうかを判定して、基準容量値より展開後のラスタイメージ画像の指定ページ分のメモリ容量が大きいと判定した場合は、ステップS402へ進み、ファイル名「file.M」のファイルとあらかじめ設定されている基準容量値とを比較し、基準容量値よりファイル名「file.M」のファイルが大きいかどうかを判定して、基準容量値よりファイル名「file.M」のファイルが大きいと判定した場合は、ステップS403へ進む。
【0090】
そして、ステップS403において、ファイル名「file.P」とあらかじめ設定されている基準容量値とを比較し、基準容量値よりファイル名「file.P」のファイルが大きいかどうかを判定して、基準容量値よりファイル名「file.P」のファイルが大きいと判定した場合は、ステップS404へ進む。
【0091】
そして、ステップS404以降のステップでは、ファイル名「file.M」のファイル、ファイル名「file.P」のファイル、ファイル名「file.I」のファイルの容量がすべてあらかじめ設定される基準容量を満足しないかどうかを判定して、満足しないと判定した場合に、最も容量が小さいファイル形式を見つけるステップに対応する。
【0092】
先ず、ステップS404で、ファイル名「file.P」のファイルと展開後のラスタイメージ画像の指定分のメモリ容量を比較し、ファイル名「file.P」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が小さいかどうかを判定して、ファイル名「file.P」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が小さいと判定した場合は、ステップS405へ進む。
【0093】
そして、ステップS405において、ファイル名「file.M」のファイルと展開後のラスタイメージ画像の指定ページ分のメモリ容量を比較し、ファイル名「file.M」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が小さいかどうかを判定して、ファイル名「file.M」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が小さいと判定した場合は、ステップS406に進む。
【0094】
そして、ステップS406において、中間言語ファイルとしてのファイル名「file.M」のファイルから、ASIC205によりラスタイメージ画像を画像メモリ210に展開させ、ファイル名「file.I」のファイルとして画像メモリ210からASIC205を介して、HD207内に確保される指定メモリボックス内のファイル名「file.P」のファイルと入れ替え格納した後、本動作を終了する。
【0095】
これらのステップによって、あらかじめ設定される基準容量が満足されなくとも、ファイル名「file.I」のファイルが最も小さいファイル形式として選択されてハードディスク207に格納される。
【0096】
一方、ステップS401において、基準容量値より展開後のラスタイメージ画像の指定ページ分のメモリ容量が小さいと判定された場合は、ステップS407において、ラスタイメージに展開後、ファイル名「file.I」のファイルとして、HD207上に格納される。
【0097】
一方、ステップS402において、基準容量値よりファイル名「file.M」が小さいと判定した場合は、ステップS408において、ファイル名「file.M」のファイルがそのまま、HD207上に格納される。
【0098】
一方、ステップS403において、基準容量値よりファイル名「file.P」のファイルが小さいと判定した場合は、ステップS409において、ファイル名「file.P」のファイルがそのままHD207上に格納される。
【0099】
そして、ステップS407、ステップS408、ステップS409にそれぞれ進んだ場合は、基準値以下の容量で、最も速いファイル形式が選択されたことになる。
【0100】
一方、ステップS404において、ファイル名「file.P」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が大きいと判定した場合は、ステップS410で、ファイル名「file.P」のファイルとファイル名「file.M」のファイルのメモリ容量を比較し、ファイル名「file.P」のファイルのメモリ容量がファイル名「file.M」のファイルのメモリ容量より小さいかどうかを判定して、ファイル名「file.P」のファイルのメモリ容量がファイル名「file.M」のファイルのメモリ容量より小さいと判定した場合は、ステップS411で、そのままファイル名「file.P」のファイルとしてHD207上の指定メモリボックス内に格納した後、本処理動作を終了する。
【0101】
これによって、ファイル名「file.P」のファイルは、あらかじめ設定された容量の基準値を満足しなくとも、最も容量の小さいファイル形式となる。
【0102】
一方、ステップS405にて、ファイル名「file.M」のファイルのメモリ容量より、展開後のラスタイメージ画像の指定ページ分のメモリ容量が大きいと判定した場合は、ステップS412に進み、ファイル名「file.M」のファイルとしてHD207上の指定メモリボックス内のファイル名「file.P」のファイルと入れ替えて格納した後、本処理動作を終了する。
【0103】
これによって、ファイル名「file.M」は、あらかじめ設定された容量の基準値を満足しなくとも、最も容量の小さいファイル形式となる。
【0104】
一方、ステップS410において、ファイル名「file.P」のファイルのメモリ容量が、ファイル名「file.M」のファイルのメモリ容量より大きいと判定した場合は、ステップS412に進み、ファイル名「file.M」のファイルとしてHD207上の指定メモリボックス内のファイル名「file.P」のファイルと入れ替えて格納した後、本処理動作を終了する。
【0105】
これによって、ファイル名「file.M」のファイルは、あらかじめ設定された容量の基準値を満足しなくとも、最も容量の小さいファイル形式となる。
【0106】
このようにして、ジョブの空き時間を利用して、条件を満足するファイル形式を探し出し、メモリボックスが配置されるHD207の有効利用を計っている。
【0107】
そして、メモリボックス内のファイルを印字する際には、例えば操作部208より、メモリボックスを指定し、且つ、格納されているファイルのうち所望するものを指定することで、プリント出力が得られる様になている。
【0108】
勿論、ホストコンピュータ101から同様の出力指定もできる様になっている。また、プリント出力を得る際、HD207上のメモリボックスから読み出されるファイル名称のサフィックスによって処理を変えている。
【0109】
例えば、ファイル名称のサフィックスが「.P」の場合、ワークRAM204に読み出され、前述した様に通常のプリント処理が行われ、ファイル名称のサフィックスが「.M」の場合、ワークRAM204に読み出されるが、中間言語の変換処理が省略され、処理が行われ、ファイル名称のサフィックスが「.I」の場合には当然そのまま画像メモリ210に読み出され、ASIC205によりプリンタエンジン209へ転送してプリントされるようになっている。
【0110】
上記実施形態では、ホストコンピュータ101よりHD207への格納指示を受けたとき、ステップS202の判断が「NO」となる場合について説明した。
【0111】
しかしながら、例えば文書をプリントする際に逆のページ順でプリントすべきコマンドを受けた場合や、複数ページの文書を複数部プリントする場合にソート(ページ順を1、2、3、……1、2、3、,……の順にプリントする)を設定するコマンドを受けた場合など、文書の全ページを格納すべき場合には、「ハードディスクへのジョブのスプール指示」等の明示的なコマンドを受けていなくても「NO」になるように制御する。
【0112】
つまり、複数部指定されたジョブの場合には、印刷データを更に解析し、1ページずつ部数分(1、1、1、……2、2、2、……3、3、3、……の順にプリントする)出力するページ単位出力なのか、1部ずつ部数分(1、2、3、……1、2、3、……の順にプリントする)出力する部単位出力なのかを判断し、ページ単位出力の場合は、ハードディスクへのジョブのスプールは行わず通常ジョブとして処理し、部単位出力の場合は、ラスタイメージに展開した状態を優先してハードディスク207にスプールするスプールジョブとして処理する。
【0113】
また、逆順印刷が指定されたジョブの場合は、ハードディスク207にスプールするスプールジョブとして扱うが、この場合はページ記述言語を解析して得られる中間言語の状態を優先してスプールする。
【0114】
さらに、上記実施形態では、ページ記述言語、中間言語、ラスタイメージの3つのうちで最も小さいデータ量のものをハードディスク207に格納する場合について説明したが、例えば中間言語とラスタイメージ等、いずれか2つを比較して小さいデータ量の情報を格納するように構成してもよい。
【0115】
以下、図5に示すメモリマップを参照して本発明に係る出力制御装置を適用可能な印刷システムで読み出し可能なデータ処理プログラムの構成について説明する。
【0116】
図5は、本発明に係る出力制御装置を適用可能な印刷システムで読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0117】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0118】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0119】
本実施形態における図2〜図4に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0120】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0121】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0122】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピーディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0123】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0124】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0125】
【発明の効果】
以上説明したように、本発明によれば、画像ファイルを格納する場合に、データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する制御コマンドに適応して、格納する画像ファイルのデータ形式を選択できる。
【図面の簡単な説明】
【図1】本発明の一実施形態を示す出力制御装置を適用可能な印刷システムの全体構成を示すブロック図である。
【図2】本発明に係る出力制御装置におけるデータ処理手順の一例を示すフローチャートである。
【図3】本発明に係る出力制御装置におけるデータ処理手順の一例を示すフローチャートである。
【図4】本発明に係る出力制御装置におけるデータ処理手順の一例を示すフローチャートである。
【図5】本発明に係る出力制御装置を適用可能な印刷システムで読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【符号の説明】
101 ホストコンピュータ
102 ネットワークプリンタ
103 ネットワーク
201 ネットワークコントローラ
202 CPU
203 ROM
204 ワークRAM
205 ASIC
207 ハードディスク(HD)
209 プリンタエンジン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an output control apparatus that controls output to a printing unit based on an image file in a page description language data format received from a data processing apparatus via a predetermined communication medium.
[0002]
[Prior art]
In recent years, printer apparatuses including output control apparatuses have been networked, and printers have been incorporated into networks from local printers so that a plurality of users can share a single printer. Under such a network printing environment, a network printer incorporating a large sorter has been put into practical use.
[0003]
There has also been proposed a printer equipped with an electronic sorter in which a memory medium such as a hard disk is incorporated in a printer device, a print image is temporarily stored, and the sorter functions.
[0004]
[Problems to be solved by the invention]
However, in the above conventional example, an image file described in a page description language is expanded into a raster image, and the expanded image is stored in a memory medium. Raster image images with many changes also require the same memory area on the hard disk, resulting in problems such as ineffective use of memory resources such as the hard disk.
[0005]
The present invention has been made to solve the above problems, and an object of the present invention is to provide a control command for an image file in a page description language data format received from a data processing device when storing the image file. It is to provide a mechanism that can adapt and select the data format of the image file to be stored.
[0006]
[Means for Solving the Problems]
The output control apparatus according to the present invention has the following characteristic configuration.
An output control device for controlling output to a printing unit based on an image file in a page description language data format received from a data processing device via a predetermined communication medium, the page description language data received from the data processing device Determining means for determining an output condition for an image file in a page description language data format received from the data processing device by interpreting a control command for the image file in the format; and converting the image file in the page description language data format Generating means for generating an intermediate file; developing means for expanding a raster image file on an image memory based on the intermediate file generated by the generating means; storage means for temporarily storing an image file of a predetermined data format; The raster image file expanded by the expansion means is According to the print output means for printing out by the printing section and the output condition determined by the determination means, the image file of the predetermined data format is stored in the storage means or the print output by the print output means is executed. Selecting means for selecting either of the printing speed or the file capacity included in the output condition when storing the image file of the predetermined data format in the storage means. A file format to be stored in the storage means is selected based on one condition.
[0026]
According to a twenty-first aspect of the present invention, a program for executing the output control method of any one of the first to twentieth aspects is stored in a computer-readable storage medium.
[0036]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram illustrating an overall configuration of a printing system to which an output control apparatus according to an embodiment of the present invention can be applied. A host computer 101 and a network printer 102 are connected to a predetermined communication medium, for example, a high-speed such as Ethernet. The communication network 103 is configured to be communicable.
[0037]
In the figure, when a network printer 102 is designated from the host computer 101 and a print output is obtained, a file in which a print control program in the host computer 101, a so-called printer driver is edited, is described in a predetermined page description language. And can be transferred to the network printer 102 via the high-speed network 103.
[0038]
As will be described in detail later, it can be directly output to the printer engine 209 or temporarily stored in the hard disk (HD) 207 so that a print output can be obtained at a convenient time. These file conversion and print output selection are performed by driver software (printer driver) installed in the host computer 101.
[0039]
In the network printer 102, reference numeral 201 denotes a network controller that controls communication with the host computer 101 and a host computer (not shown) via the network 103. For example, the network controller 201 is connected to the network 103 and receives data from the host computer 101. Control the protocol to receive. The network controller 201 may be installed as an option or installed as a standard.
[0040]
Reference numeral 202 denotes a CPU (Central Processing Unit) that controls the entire network printer 102 based on a control program stored in a ROM (Read Only Memory) 203.
[0041]
Reference numeral 204 denotes a work RAM, which can be expanded in capacity by an optional RAM (not shown). The work RAM 204 stores various types of information and also functions as a work area for the CPU 202. An image controller (ASIC) 205 controls rendering processing to the image memory 210 and transfer of the rendered image data to the printer engine 209. Specifically, the ASIC 205 is an image controller, which develops a raster image in the image memory 210 based on a file described in a page description language, and transfers the developed image based on a synchronization signal from the printer engine 209. It has a function. Details of the ASIC 205 will be described later.
[0042]
A hard disk interface (HD / I / F) 206 controls access to the hard disk 207. An operation unit 208 includes a key and a display for confirming the printing state and set contents, and can perform various operations from outside and display various information such as error information.
[0043]
Reference numeral 211 denotes a CPU bus, and the CPU 202 controls access to each device connected via the CPU bus 211. The printer engine 209 includes an inkjet printer engine, a laser beam printer engine, and the like, and drives a printer unit (not shown). The printer engine 209 is connected to the ASIC 205 via the video bus 213 and outputs a synchronization signal. The image memory 210 is connected to the ASIC 205 to develop a raster image.
[0044]
Next, the operation of each part of the system configured as described above will be described.
[0045]
The image file of the page description language data described in the page description language, for example, LIPS, PS, which is instructed to be printed directly from the host computer 101, is received by the network controller 201 and secured on the work RAM 204 via the CPU 202. For example, it is temporarily stored in a reception buffer or the like. The CPU 202 refers to the page description language data temporarily stored in the work RAM 204, converts it into intermediate language data that can be used by the ASIC 205, and sequentially stores it in the work RAM 204 again.
[0046]
When the conversion processing to the intermediate language data is completed, the CPU 202 sends an image expansion start command to the ASIC 205, and the ASIC 205 refers to the intermediate language data stored in the work RAM 204 at high speed. A raster image processing process (rendering process) is performed.
[0047]
When the CPU 202 receives an interruption from the ASIC 205 for completing the image data development processing, the CPU 202 sends an activation command to the printer engine 209 to activate the printer engine 209. At the same time, the CPU 202 sends a command to the ASIC 205 to enter the video output mode and waits for the synchronization signal 212 from the printer engine 209.
[0048]
When the printer engine 209 is activated in this way, although not shown, printing paper is fed, a horizontal synchronization signal and a vertical synchronization signal (hereinafter collectively referred to as a synchronization signal 212) are generated and sent to the ASIC 205, When the ASIC 205 receives the synchronization signal 212, the image data developed in the image memory 210 is sequentially transferred to the printer engine 209 via the video bus 213.
[0049]
Next, an operation for temporarily storing image data in the HD 207 shown in the figure will be described. In the HD 207, a memory area (hereinafter referred to as a memory box) is individually reserved for each of a plurality of users, and an address for distinguishing each is assigned.
[0050]
As described above, when printing a document, the user can select on the print start request screen for the printer driver of the host computer 101 whether to directly obtain a print output or to store the document in a temporarily provided memory box. It has become.
[0051]
This is because, when a plurality of users on the network 103 share and use one network printer 102, for example, when print outputs overlap, they overlap on the output tray, making sorting complicated, and collecting print outputs This is because forgetting may cause loss.
[0052]
Therefore, it is devised to increase convenience by temporarily storing the document in a given memory box so that the document can be obtained in a convenient free time.
[0053]
Further, when extracting a document stored in each memory box, it can be specified from the host computer 101 or from the operation unit 208 of the network printer 102.
[0054]
The procedure for temporarily storing a document in a memory box secured on the HD 207 will be described below.
[0055]
First, a document created and edited by the host computer 101 is converted into a file composed of page description language data described in the page description language as described above, and transferred to the network printer 102 via the high-speed network 103. It has become so.
[0056]
At the same time, apart from the print command, for example, a command “store on hard disk” and a memory box number, for example, a memory box number No. 11 is secured, the memory box No. 11 is issued. This can be freely selected by the user at the host computer 101.
[0057]
In addition, when storing in the memory box, whether to give priority to the file capacity or to give priority to the speed when obtaining the print output can be selected by a command issued at the same time.
[0058]
For example, when the command “capacity” is issued, priority is given to the capacity of the file when obtaining the print output. For example, when the command “speed” is issued, priority is given to the speed when obtaining the print output, which is stored in the memory box. File format is determined.
[0059]
Detailed commands and reference values for control are added to these commands, and these commands can be sent to the printer together with these commands. These detailed parameters and reference values are set by the operation unit 208 of the printer 102 or a printer setting application or printer driver that is connected to the network 103 and started on the host computer. Each reference value of the file capacity can be set in advance.
[0060]
For example, when the command “speed” is issued, if a print output is obtained faster than a preset reference value, the file format on the hard disk 207 is advantageous in terms of speed even if the file capacity increases. Stored.
[0061]
On the other hand, for example, when the command “capacity” is issued, even if the file format is disadvantageous in speed, the hard disk 207 is given a file format in which the capacity is prioritized if the capacity can be made smaller than the reference value in advance by the setting means. Stored on top.
[0062]
Next, the flow of processing inside the network printer 102 will be described with reference to the flowcharts of FIGS.
[0063]
2 to 4 are flowcharts showing an example of a data processing procedure in the output control apparatus according to the present invention. In addition, S201-S209, S301-S308, S401-S412 show each step.
[0064]
First, in FIG. 2, in step S <b> 201, it is interpreted whether the transferred command is a normal print or stored in a memory box in the HD 207. In step S202, it is determined whether or not the print is a normal print. If it is determined that the print is a normal print, the normal print is performed in step S209, and the processing operation is terminated.
[0065]
On the other hand, if it is determined in step S202 that the data is stored in a memory box instead of the normal print, the free capacity of the designated memory box in the HD 207 is checked in step S203.
[0066]
In step S204, it is determined whether or not the designated memory box in the HD 207 has free space. If it is determined that there is no free space, in step S210, the normal printing operation is performed, and that is indicated. To terminate the process.
[0067]
On the other hand, if it is determined in step S204 that there is free space in the designated memory box in the HD 207, in step S205, the temporarily transferred image file described in the page description language is stored in the designated memory box. Note that the file name at this time is specified by the driver in the host computer 101 and is, for example, “file.P”. Here, although the suffix “.P” will be described later, the intermediate language file “.M” and the raster image file “.I” are distinguished.
[0068]
Next, in step S206, it is determined whether there is another new job or a job from another host computer. If it is determined that there is a job from another new job or another host computer, In step S211, priority is given to a new job.
[0069]
This is because the process described below uses the idle time of the job of the network printer 102 to improve the efficiency of the entire process. If it is determined in step S206 that there is no other new job or job from another host computer, the process proceeds directly to step S207.
[0070]
In step S207, the file having the file name “file.P” in step S205 is read from the hard disk 207 to the work RAM 204, and conversion into intermediate language data that can be used by the ASIC 205 is started. .M ”. Note that since the number of pages and the paper size of the raster image image developed in the image memory 210 are known in advance, the memory capacity of the raster image image after development can be calculated from the information.
[0071]
Therefore, in step S208, the memory capacity of the file with the file name “file.P” and the file with the file name “file.M” and the raster image after development is compared, or the time until the print output is obtained is compared. Then, by determining the file type for storing the received language file and file with the file name “file.P” and storing it in the box designated by HD 207, efficient use of HD 207 in consideration of speed or capacity Is possible.
[0072]
In step S209 and subsequent steps, as described above, the process is switched according to the received command, “speed” or “capacity”.
[0073]
Next, referring to FIG. 3, processing when priority is given to speed will be described.
[0074]
It is assumed that the network printer 102 is currently set to select a file format with a printing speed faster and a smaller capacity than a preset reference value and store it in the HD 207.
[0075]
First, in step S301, the memory capacity of the file name “file.P” and the raster image after development are compared, and the file name “file.P” file. If it is determined that the memory capacity for the specified page of the raster image after the expansion is smaller than the memory capacity of P, the process proceeds to step S302, and the file with the file name “file.M” and the raster image image after the expansion are stored. The memory capacity for the specified page is compared, and if the memory capacity for the specified page of the raster image after development is smaller than the memory capacity of the file name “file.M”, the process proceeds to step S303 and the ASIC 205 uses the intermediate language. File file. The raster image is expanded in the image memory 210 based on the intermediate data of M, and the file name in the designated memory box secured on the HDD 207 from the image memory 210 via the ASIC 205 as the file name “fl1e.I”. After the file “file.P” is replaced and stored, this operation is terminated.
[0076]
Generally, when the same image is printed, the relationship between the print speed and the file format is file. P <file. M <file. I. This is because when the print output is obtained, the file name file. P file and file name file. It is clear that the M file requires an output preparation time as much as file conversion and image development processes are required.
[0077]
Accordingly, in step S303, the file format (image format) having the smallest capacity and the fastest printing speed is selected and stored in the hard disk 207.
[0078]
On the other hand, if it is determined in step S301 that the memory capacity of the specified page of the raster image after development is larger than the memory capacity of the file with the file name “file.P”, the file name “file.P” is determined in step S304. The memory capacity of the file with the file name “file.M” is compared with the memory capacity of the file with the file name “file.M” by comparing the memory capacity of the file with the file name “file.M”. If it is determined that the file is smaller, the process proceeds to step 305, where it is determined whether the file with the selected file name “file.P” has a print speed higher than a preset reference value. If it is determined that the value condition is satisfied, the file name “ As ile.P ", after storing in the specified memory box on the HD 207, this sequence is terminated.
[0079]
As a result, the file with the file name “file.P” has the smallest capacity and a file format that satisfies a preset speed reference value.
[0080]
On the other hand, if it is determined in step S302 that the memory capacity for the specified page of the raster image after development is larger than the memory capacity of the file with the file name “file.M”, the process proceeds to step S307 and the selected memory capacity is selected. It is determined whether or not the file with the file name “file.M” has a printing speed faster than a preset reference value. If it is determined that the condition for the reference value is satisfied, the file name “file.M” is determined in step S308. ”And the file with the file name“ file.P ”in the designated memory box secured in the HD 207 and stored, and then this processing operation ends.
[0081]
As a result, the file with the file name “file.M” has the smallest capacity and a file format that satisfies a preset speed reference value.
[0082]
On the other hand, if it is determined in step S304 that the memory capacity of the file with the file name “file.P” is larger than the memory capacity of the file with the file name “file.M”, the process proceeds to step S307, and the selected file name “file. It is determined whether the file “file.M” has a printing speed faster than a preset reference value, and if it is determined that the condition of the reference value is satisfied, the file with the file name “file.M” is determined in step S308. As described above, after storing the file with the file name “file.P” in the designated memory box secured in the HD 207 and storing it, this processing operation is terminated.
[0083]
As a result, the file with the file name “file.M” has the smallest capacity and a file format that satisfies a preset speed reference value.
[0084]
On the other hand, in step S305, it is determined whether or not the file with the file name “file.P” has a printing speed faster than a preset reference value, and if it is determined that the reference value condition is not satisfied, the process proceeds to step S307. If the file name “file.M”, which is determined to have the next smallest file capacity, is checked whether the print speed is faster than a preset reference value, and if it is determined that the condition of the reference value is satisfied In step S308, the file having the file name “file.M” is stored as a file having the file name “file.P” in the designated memory box secured in the HD 207, and then this processing operation is terminated.
[0085]
As a result, the file name “file.M” satisfies the preset reference value of speed and becomes the file format with the smallest capacity.
[0086]
On the other hand, if it is determined in step S307 that the file name “file.M” has a printing speed faster than a preset reference value, and if it is determined that the reference value condition is not satisfied, the process proceeds to step S303. After the raster image is developed on the image memory 210 by the ASIC 205, it is stored in the HD 207 as a file with the file name “file.I”.
[0087]
As a result, the file with the file name “file.I” satisfies the speed reference value set in advance and becomes the file format with the smallest capacity.
[0088]
Next, in FIG. 4, processing when priority is given to the file capacity will be described. It is assumed that a file format having a smaller capacity and a speed as fast as possible is selected from a preset reference value and stored in the HD 207.
[0089]
First, in step S401, the memory capacity for the specified page of the raster image image after development is compared with a preset reference capacity value, and the memory capacity for the specified page of the raster image image after development is compared with the reference capacity value. If the memory capacity for the specified page of the raster image after development is larger than the reference capacity value, the process proceeds to step S402, and the file with the file name “file.M” is preliminarily stored. When the file with the file name “file.M” is larger than the reference capacity value, the file with the file name “file.M” is larger than the reference capacity value. When it determines, it progresses to step S403.
[0090]
In step S403, the file name “file.P” is compared with a preset reference capacity value to determine whether the file with the file name “file.P” is larger than the reference capacity value. If it is determined that the file with the file name “file.P” is larger than the capacity value, the process proceeds to step S404.
[0091]
In step S404 and subsequent steps, the capacities of the file with the file name “file.M”, the file with the file name “file.P”, and the file with the file name “file.I” all satisfy the preset reference capacity. This corresponds to the step of finding the file format having the smallest capacity when it is determined that the file format is not satisfied.
[0092]
First, in step S404, the specified memory capacity of the file with the file name “file.P” and the raster image after development is compared, and the raster capacity after development is compared with the memory capacity of the file with the file name “file.P”. It is determined whether the memory capacity for the specified page of the image image is small, and it is determined that the memory capacity for the specified page of the raster image image after development is smaller than the memory capacity of the file with the file name “file.P”. If so, the process proceeds to step S405.
[0093]
In step S405, the memory capacity of the specified page of the raster image image with the file name “file.M” is compared with the memory capacity of the file with the file name “file.M”. It is determined whether the memory capacity for the specified page of the raster image image is small, and it is determined that the memory capacity for the specified page of the raster image image after development is smaller than the memory capacity of the file with the file name “file.M”. If so, the process proceeds to step S406.
[0094]
In step S406, the raster image is developed in the image memory 210 by the ASIC 205 from the file having the file name “file.M” as the intermediate language file, and the file having the file name “file.I” is transferred from the image memory 210 to the ASIC 205. Then, the file is replaced with the file with the file name “file.P” in the designated memory box secured in the HD 207, and then this operation is terminated.
[0095]
By these steps, even if the preset reference capacity is not satisfied, the file with the file name “file.I” is selected as the smallest file format and stored in the hard disk 207.
[0096]
On the other hand, if it is determined in step S401 that the memory capacity for the specified page of the raster image after the expansion is smaller than the reference capacity value, the file name “file.I” is expanded after the raster image is expanded in step S407. It is stored on the HD 207 as a file.
[0097]
On the other hand, if it is determined in step S402 that the file name “file.M” is smaller than the reference capacity value, the file having the file name “file.M” is stored in the HD 207 as it is in step S408.
[0098]
On the other hand, if it is determined in step S403 that the file with the file name “file.P” is smaller than the reference capacity value, the file with the file name “file.P” is stored in the HD 207 as it is in step S409.
[0099]
When the process proceeds to step S407, step S408, and step S409, respectively, the fastest file format having a capacity equal to or smaller than the reference value is selected.
[0100]
On the other hand, if it is determined in step S404 that the memory capacity for the specified page of the raster image after development is larger than the memory capacity of the file with the file name “file.P”, the file name “file.P” is determined in step S410. Compare the memory capacity of the file with the file name “file.M” by comparing the memory capacity of the file with the file name “file.M” and whether the memory capacity of the file with the file name “file.P” is smaller than the memory capacity of the file with the file name “file.M”. If it is determined that the memory capacity of the file with the file name “file.P” is smaller than the memory capacity of the file with the file name “file.M”, the file name “file.P” is directly used in step S411. This processing operation is terminated after the file is stored in the specified memory box on the HD 207 as To.
[0101]
As a result, the file with the file name “file.P” has the smallest capacity even if it does not satisfy the preset capacity reference value.
[0102]
On the other hand, if it is determined in step S405 that the memory capacity of the specified page of the raster image after development is larger than the memory capacity of the file with the file name “file.M”, the process proceeds to step S412 and the file name “file. After the file “file.M” is replaced with the file with the file name “file.P” in the designated memory box on the HD 207 and stored, this processing operation ends.
[0103]
As a result, the file name “file.M” has the smallest capacity even if it does not satisfy the preset capacity reference value.
[0104]
On the other hand, if it is determined in step S410 that the memory capacity of the file with the file name “file.P” is larger than the memory capacity of the file with the file name “file.M”, the process proceeds to step S412 and the file name “file.P”. After the file “M” is replaced with the file with the file name “file.P” in the designated memory box on the HD 207 and stored, this processing operation ends.
[0105]
As a result, the file with the file name “file.M” has the smallest capacity even if it does not satisfy the preset capacity reference value.
[0106]
In this way, the available time of the job is used to find a file format that satisfies the conditions, and the HD 207 in which the memory box is arranged is used effectively.
[0107]
When printing a file in the memory box, for example, by designating the memory box from the operation unit 208 and designating a desired one of the stored files, a print output can be obtained. It is.
[0108]
Of course, the host computer 101 can also specify the same output. Further, when obtaining a print output, the processing is changed depending on the suffix of the file name read from the memory box on the HD 207.
[0109]
For example, when the file name suffix is “.P”, it is read out to the work RAM 204, and the normal print processing is performed as described above. When the file name suffix is “.M”, it is read out to the work RAM 204. However, if the intermediate language conversion process is omitted, the process is performed, and the file name suffix is “.I”, it is naturally read out to the image memory 210 as it is, transferred to the printer engine 209 by the ASIC 205 and printed. It has become so.
[0110]
In the above-described embodiment, a case has been described in which the determination in step S202 is “NO” when an instruction to store in the HD 207 is received from the host computer 101.
[0111]
However, for example, when printing a document, a command to be printed in the reverse page order is received, or when printing a plurality of copies of a multi-page document (page order is 1, 2, 3, ... 1, When all the pages of the document are to be stored, such as when a command to set (print in order of 2, 3,...) Is received, an explicit command such as “job spool instruction to hard disk” is used. Even if it is not received, it is controlled to be “NO”.
[0112]
That is, in the case of a job for which a plurality of copies are designated, the print data is further analyzed, and the number of copies (1, 1, 1,... 2, 2, 2,... 3, 3, 3,. Determine whether the output is in units of pages to be output, or output in units of copies (print in the order 1, 2, 3, ... 1, 2, 3, ...). In the case of page unit output, the job is not spooled to the hard disk, but is processed as a normal job. In the case of copy unit output, the raster image is processed as a spool job spooled on the hard disk 207 with priority. .
[0113]
A job for which reverse order printing is designated is handled as a spool job spooled in the hard disk 207. In this case, the intermediate language state obtained by analyzing the page description language is preferentially spooled.
[0114]
Furthermore, in the above embodiment, the case where the smallest data amount among the three page description languages, the intermediate language, and the raster image is stored in the hard disk 207 has been described. It may be configured to store information of a small amount of data by comparing the two.
[0115]
The configuration of a data processing program that can be read by a printing system to which the output control apparatus according to the present invention can be applied will be described below with reference to the memory map shown in FIG.
[0116]
FIG. 5 is a diagram for explaining a memory map of a storage medium for storing various data processing programs that can be read out by a printing system to which the output control apparatus according to the present invention can be applied.
[0117]
Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed Icons may also be stored.
[0118]
Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.
[0119]
The functions shown in FIGS. 2 to 4 in this embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.
[0120]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.
[0121]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0122]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, an EEPROM, or the like is used. it can.
[0123]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0124]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0125]
【The invention's effect】
As described above, according to the present invention, when storing an image file, the data format of the image file to be stored is adapted to the control command for the image file in the page description language data format received from the data processing device. You can choose.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an overall configuration of a printing system to which an output control apparatus according to an embodiment of the invention can be applied.
FIG. 2 is a flowchart showing an example of a data processing procedure in the output control apparatus according to the present invention.
FIG. 3 is a flowchart showing an example of a data processing procedure in the output control apparatus according to the present invention.
FIG. 4 is a flowchart showing an example of a data processing procedure in the output control apparatus according to the present invention.
FIG. 5 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by a printing system to which the output control apparatus according to the invention can be applied.
[Explanation of symbols]
101 Host computer
102 Network printer
103 network
201 Network controller
202 CPU
203 ROM
204 Work RAM
205 ASIC
207 Hard disk (HD)
209 Printer Engine

Claims (9)

所定の通信媒体を介してデータ処理装置から受信するページ記述言語データ形式の画像ファイルに基づいて印刷部への出力を制御する出力制御装置であって、
前記データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する制御コマンドを解釈することにより前記データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する出力条件を判断する判断手段と、
前記ページ記述言語データ形式の画像ファイルを変換して中間ファイルを生成する生成手段と、
前記生成手段により生成された前記中間ファイルに基づいて画像メモリ上にラスタイメージファイルを展開する展開手段と、
所定のデータ形式の画像ファイルを一時格納する格納手段と、
前記展開手段により展開されたラスタイメージファイルを前記印刷部で印刷出力する印刷出力手段と、
前記判断手段により判断された前記出力条件に従って、前記所定のデータ形式の画像ファイルを前記格納手段に格納するか、前記印刷出力手段による印刷出力を実行するかを選択する選択手段と、を有し、
前記選択手段は、前記所定のデータ形式の画像ファイルを前記格納手段に格納する場合には、前記出力条件に含まれる印刷速度またはファイル容量のいずれか一方の条件に基づいて前記格納手段に格納するファイル形式を選択することを特徴とする出力制御装置。
An output control device that controls output to a printing unit based on an image file in a page description language data format received from a data processing device via a predetermined communication medium,
Determining means for determining an output condition for an image file in a page description language data format received from the data processing device by interpreting a control command for the image file in a page description language data format received from the data processing device;
Generating means for converting the image file in the page description language data format to generate an intermediate file;
Expanding means for expanding a raster image file on an image memory based on the intermediate file generated by the generating means;
Storage means for temporarily storing an image file of a predetermined data format;
Print output means for printing out the raster image file developed by the development means in the printing unit;
Selection means for selecting whether to store the image file in the predetermined data format in the storage means or to execute print output by the print output means in accordance with the output condition determined by the determination means; ,
In the case where the image file having the predetermined data format is stored in the storage unit, the selection unit stores the image file in the storage unit based on either the printing speed or the file capacity included in the output condition. An output control device characterized by selecting a file format .
前記格納手段に格納するファイル形式とは、前記ページ記述言語データ形式の画像ファイル、前記中間ファイル、前記ラスタイメージファイルのいずれかであることを特徴とする請求項1記載の出力制御装置。 2. The output control apparatus according to claim 1 , wherein the file format stored in the storage means is one of an image file in the page description language data format, the intermediate file, and the raster image file . 前記印刷速度の条件とは、予め設定された基準値よりも早く印刷出力が得られる場合には、ファイル容量が大きくなっても印刷出力の速度が速い前記ファイル形式を選択する印刷速度優先の条件であることを特徴とする請求項1または2に記載の出力制御装置。 The print speed condition is a print speed priority condition for selecting the file format with a fast print output speed even when the file capacity is large, when the print output can be obtained earlier than a preset reference value. the output control device according to claim 1 or 2, characterized in that. 前記ファイル容量の条件とは、予め設定された基準値よりも容量が小さくできる場合には、印刷出力の速度が低下してもファイル容量が小さい前記ファイル形式を選択するファイル容量優先の条件であることを特徴とする請求項1または2に記載の出力制御装置。 The file capacity condition is a file capacity priority condition for selecting the file format having a small file capacity even when the print output speed is reduced when the capacity can be made smaller than a preset reference value. The output control apparatus according to claim 1 or 2, wherein 所定の通信媒体を介してデータ処理装置から受信するページ記述言語データ形式の画像ファイルに基づいて印刷部への出力を制御する出力制御装置における制御方法であって、
前記データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する制御コマンドを解釈することにより前記データ処理装置から受信するページ記述言語データ形式の画像ファイルに対する出力条件を判断する判断工程と、
前記ページ記述言語データ形式の画像ファイルを変換して中間ファイルを生成する生成工程と、
前記生成工程により生成された前記中間ファイルに基づいて画像メモリ上にラスタイメージファイルを展開する展開工程と、
所定のデータ形式の画像ファイルを格納手段に一時格納する格納工程と、
前記展開工程により展開されたラスタイメージファイルを前記印刷部で印刷出力する印刷出力工程と、
前記判断工程により判断された前記出力条件に従って、前記所定のデータ形式の画像ファイルを前記格納手段に格納するか、前記印刷出力工程による印刷出力を実行するかを選択する選択工程と、を有し、
前記選択工程は、前記所定のデータ形式の画像ファイルを前記格納手段に格納する場合には、前記出力条件に含まれる印刷速度またはファイル容量のいずれか一方の条件に基づいて前記格納手段に格納するファイル形式を選択することを特徴とする制御方法。
A control method in an output control device that controls output to a printing unit based on an image file in a page description language data format received from a data processing device via a predetermined communication medium,
A determination step of determining an output condition for an image file in a page description language data format received from the data processing device by interpreting a control command for the image file in a page description language data format received from the data processing device;
A generating step of converting the image file in the page description language data format to generate an intermediate file;
A developing step of developing a raster image file on an image memory based on the intermediate file generated by the generating step;
A storage step of temporarily storing an image file of a predetermined data format in a storage means;
A print output step of printing out the raster image file expanded in the expansion step in the printing unit;
A selection step of selecting whether to store the image file of the predetermined data format in the storage unit or to execute the print output by the print output step according to the output condition determined by the determination step. ,
In the case where the image file having the predetermined data format is stored in the storage unit, the selection step stores the image file in the storage unit based on one of a printing speed and a file capacity included in the output condition. A control method characterized by selecting a file format.
前記格納手段に格納するファイル形式とは、前記ページ記述言語データ形式の画像ファイル、前記中間ファイル、前記ラスタイメージファイルのいずれかであることを特徴とする請求項5記載の制御方法。  6. The control method according to claim 5, wherein the file format stored in the storage means is one of an image file in the page description language data format, the intermediate file, and the raster image file. 前記印刷速度の条件とは、予め設定された基準値よりも早く印刷出力が得られる場合には、ファイル容量が大きくなっても印刷出力の速度が速い前記ファイル形式を選択する印刷速度優先の条件であることを特徴とする請求項5または6に記載の制御方法。  The print speed condition is a print speed priority condition for selecting the file format with a fast print output speed even when the file capacity is large, when the print output can be obtained earlier than a preset reference value. The control method according to claim 5 or 6, wherein: 前記ファイル容量の条件とは、予め設定された基準値よりも容量が小さくできる場合には、印刷出力の速度が低下してもファイル容量が小さい前記ファイル形式を選択するファイル容量優先の条件であることを特徴とする請求項5または6に記載の制御方法。  The file capacity condition is a file capacity priority condition for selecting the file format having a small file capacity even when the print output speed is reduced when the capacity can be made smaller than a preset reference value. The control method according to claim 5 or 6, wherein 請求項5乃至8のいずれか1項に記載の制御方法をコンピュータで読み出し可能なプログラムとして格納した記憶媒体。  A storage medium storing the control method according to any one of claims 5 to 8 as a computer-readable program.
JP12115699A 1998-05-12 1999-04-28 Output control device, control method, storage medium Expired - Fee Related JP4072286B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP12115699A JP4072286B2 (en) 1999-04-28 1999-04-28 Output control device, control method, storage medium
US09/309,494 US6525833B1 (en) 1998-05-12 1999-05-11 Information processing method and apparatus and memory medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12115699A JP4072286B2 (en) 1999-04-28 1999-04-28 Output control device, control method, storage medium

Publications (3)

Publication Number Publication Date
JP2000311071A JP2000311071A (en) 2000-11-07
JP2000311071A5 JP2000311071A5 (en) 2005-10-13
JP4072286B2 true JP4072286B2 (en) 2008-04-09

Family

ID=14804246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12115699A Expired - Fee Related JP4072286B2 (en) 1998-05-12 1999-04-28 Output control device, control method, storage medium

Country Status (1)

Country Link
JP (1) JP4072286B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101525102B (en) * 2008-03-05 2011-06-29 Aip有限责任公司 System used for limiting horizontal movements in lift

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050134899A1 (en) 2003-12-19 2005-06-23 Konica Minolta Business Technologies, Inc. Printer control device and printer apparatus with a printer control device
JP4642428B2 (en) * 2003-12-19 2011-03-02 コニカミノルタビジネステクノロジーズ株式会社 Printer control apparatus and printer apparatus having the same
JP4628003B2 (en) * 2004-03-26 2011-02-09 シャープ株式会社 Image forming apparatus and control program therefor
JP2006294017A (en) * 2005-03-18 2006-10-26 Ricoh Co Ltd System and program for processing print information, and recording medium
JP4687202B2 (en) * 2005-04-01 2011-05-25 セイコーエプソン株式会社 Printer, data transfer method, and program for causing computer to execute the method
CN108038992B (en) * 2018-01-19 2023-10-27 上海市浦东新区人民医院 System for accurately taking tablets by using RFID technology and stepping motor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101525102B (en) * 2008-03-05 2011-06-29 Aip有限责任公司 System used for limiting horizontal movements in lift

Also Published As

Publication number Publication date
JP2000311071A (en) 2000-11-07

Similar Documents

Publication Publication Date Title
US6888641B2 (en) Designating an image processing apparatus based on limited selection conditions
JP3630943B2 (en) Information processing apparatus, print control method, print control system, and storage medium storing print control program
JP7171218B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM
JPH06149494A (en) Method and device for print information processing
JP4072286B2 (en) Output control device, control method, storage medium
JP4543945B2 (en) Printing system, control method therefor, and print management program
US7746494B2 (en) Data processing apparatus, data processing method, printer driver, print control apparatus, print control method, and printing system
JPH10222319A (en) Printing device and printing control method
JPH11136459A (en) Image input/output device and method
JP3960423B2 (en) Information processing apparatus and program
JP3526255B2 (en) Information processing apparatus, print control method, print control system, and storage medium
JP3483468B2 (en) Information processing method and apparatus, and storage medium
JP2004021452A (en) Image output system
JP3037537B2 (en) Printing system and printing device used in the printing system
US6525833B1 (en) Information processing method and apparatus and memory medium
JPH10260799A (en) Printer
JP2000263873A (en) Printing method and apparatus and memory medium
JP2000315141A (en) Printer and method for managing memory of recording medium and printer
JP3902854B2 (en) Data processing apparatus, data processing method, and storage medium
JP2001236186A (en) Printing processing system, method for processing print data and recording medium with program for performing the method recorded thereon
JPH10190936A (en) Composite image-processing unit, control method for the composite image-processing unit, and storage medium program readable by computer
JPH11265267A (en) Data processor, driver switching method for data processor, and storage medium storing program readable by computer
JPH11134123A (en) Printing system and its control method, information processing device and its control method, and printer and its control method
JPH07182187A (en) Image reading/forming device
JP2005322272A (en) Printer device and system including it

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050610

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070814

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071015

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20071015

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080121

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120125

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130125

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140125

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees