JP4144369B2 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP4144369B2
JP4144369B2 JP2003035198A JP2003035198A JP4144369B2 JP 4144369 B2 JP4144369 B2 JP 4144369B2 JP 2003035198 A JP2003035198 A JP 2003035198A JP 2003035198 A JP2003035198 A JP 2003035198A JP 4144369 B2 JP4144369 B2 JP 4144369B2
Authority
JP
Japan
Prior art keywords
document file
file
font
glyph description
document
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
JP2003035198A
Other languages
Japanese (ja)
Other versions
JP2004246583A (en
JP2004246583A5 (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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2003035198A priority Critical patent/JP4144369B2/en
Publication of JP2004246583A publication Critical patent/JP2004246583A/en
Publication of JP2004246583A5 publication Critical patent/JP2004246583A5/ja
Application granted granted Critical
Publication of JP4144369B2 publication Critical patent/JP4144369B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置、画像処理方法、およびプログラムに関し、特に、印刷の効率を上げるために複数の画像形成装置にデータを並行して送信して印刷させることが可能な画像処理装置、画像処理方法、およびプログラムに関する。
【0002】
【従来の技術】
プリンタなどの画像形成装置を用いて大量の用紙を印刷出力する場合、プリンタを複数台用いて並行して印刷することで作業時間の短縮を図ることができる。このように複数のプリンタで並行して印刷を行うことを分散プリント(Cluster Printing)と呼ぶ。
【0003】
同じ文書ファイルに基づいて分散プリントが行われる場合、複数のプリンタの各々で得られる印刷物の品質は、当然ながら同一であることが求められる。
【0004】
しかし、多数の機器がLANなどのネットワークに接続されて構成されるネットワークシステムには、印刷物の品質が多少なりとも異なる各種のプリンタが含まれる場合がある。この場合、分散プリントを実行すると、プリンタによって違った品質の印刷物が混在して得られる結果となり、ユーザに違和感を与えてしまうという問題があった。
【0005】
このような問題を解決するための1つの方法として、カラーの分散プリントを行った場合に、各プリンタで得られる印刷物の色味の差を無くすように調整する技術が知られている(たとえば、特許文献1参照)。
【0006】
【特許文献1】
特開2002−152545号公報
【0007】
【発明が解決しようとする課題】
しかしながら、上記特許文献1に記載の装置にあっては、分散プリントにおいて、印刷物の色味の差を無くすことができるだけで、印刷物における文字に適用されるフォントの差を解消することはできない。すなわち、各プリンタに搭載されている異なる複数のフォントが分散プリントで使用されるおそれがある。
【0008】
この場合、プリンタによって違ったフォントを使用した印刷物が混在して得られる結果、ユーザに違和感を与えてしまうばかりでなく、文字幅が異なるために改行位置がずれてレイアウトが大きく変化してしまうおそれもある。
【0009】
本発明は、上述の課題を解決するためになされたものであり、本発明の目的は、複数の画像形成装置に文書ファイルを並行して送信して、各々の画像形成装置でフォントおよびレイアウトの同一性を保持して印刷させることが可能な画像処理装置、画像処理方法、およびプログラムを提供することである。
【0010】
【課題を解決するための手段】
本発明の上記目的は、下記の手段によって達成される。
【0011】
(1)フォントのグラフィック形状を規定するグリフ記述を埋め込み可能な形式の文書ファイルを、プリントデータに変換せずに画像形成装置に送信するための画像処理装置であって、複数の画像形成装置に文書ファイルを並行して送信する場合、印刷すべき文書ファイル中で使用されている所定のフォントのグリフ記述を、当該文書ファイル内において検出するための検出手段と、前記検出手段による検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述を前記文書ファイル内に埋め込むための埋込処理を、前記文書ファイルに対して施す埋込手段とを有する画像処理装置。
【0012】
(2)前記検出手段による検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述と文書ファイルの送信先の画像形成装置に保存されているフォントのグリフ記述とを、前記複数の画像形成装置の各々について比較する比較手段をさらに有し、前記埋込手段は、前記比較手段による比較結果に基づき前記所定のフォントのグリフ記述が保存されていないと判断される画像形成装置に送信するための文書ファイルに対して、前記埋込処理を施す上記(1)に記載の画像処理装置。
【0013】
(3)前記文書ファイルは、PDF(Portable Document Format)ファイルである上記(1)または(2)に記載の画像処理装置。
【0014】
(4)フォントのグラフィック形状を規定するグリフ記述を埋め込み可能な形式の文書ファイルを、プリントデータに変換せずに画像形成装置に送信するための画像処理装置で用いられるプログラムであって、複数の画像形成装置に文書ファイルを並行して送信する場合、印刷すべき文書ファイル中で使用されている所定のフォントのグリフ記述を、当該文書ファイル内において検出するための検出手順と、前記検出手順における検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述を前記文書ファイル内に埋め込むための埋込処理を、前記文書ファイルに対して施す埋込手順とを前記画像処理装置に実行させるためのプログラム。
【0015】
(5)フォントのグラフィック形状を規定するグリフ記述を埋め込み可能な形式の文書ファイルを、プリントデータに変換せずに画像形成装置に送信するための画像処理方法であって、複数の画像形成装置に文書ファイルを並行して送信する場合、印刷すべき文書ファイル中で使用されている所定のフォントのグリフ記述を、当該文書ファイル内において検出するための検出ステップと、前記検出ステップにおける検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述を前記文書ファイル内に埋め込むための埋込処理を、前記文書ファイルに対して施す埋込ステップとを有する画像処理方法。
【0016】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を説明する。
【0017】
図1は、本発明の第1実施形態に係るPCが適用されたプリントシステムの構成を示すブロック図である。
【0018】
図1に示すように、プリントシステムは、画像処理装置としての機能を有するPC100A、100Bと、画像形成装置としてのプリンタ200A、200B、200Cとを備え、これらはネットワーク300を介して相互に通信可能に接続されている。ネットワーク300は、イーサネット(R)、トークンリング、FDDI等の規格によるLANや、LAN同士を専用線で接続したWAN等からなる。
【0019】
なお、ネットワークに接続される機器の種類および台数は、図1に示す例に限定されない。また、プリンタは、ネットワーク300を介することなく、PCと直接機器間で接続(ローカル接続)されていてもよい。
【0020】
図2は、図1に示されるPC100A、100Bの構成を示すブロック図である。図2に示すように、PCは、装置全体の制御および各種演算処理を行うCPU101、プログラムやデータを格納するためのROM102、作業領域として一時的にプログラムやデータを記憶するためのRAM103、各種のプログラムやデータを保存するための外部記憶装置としてのハードディスク104、各種情報の表示のための液晶ディスプレイなどの表示部105、各種指示の入力のためのキーボードやマウスなどからなる入力部106、およびネットワーク300に接続するためのLANカードなどのネットワークインタフェース107を含み、これらは信号を遣り取りするためのバス108を介して相互に接続されている。
【0021】
図3は、図1に示されるプリンタ200A、200B、200Cの構成を示すブロック図である。図3に示すように、プリンタは、CPU201、ROM202、RAM203、操作パネル部204、印刷部205、およびネットワークインタフェース206を含み、これらは信号を遣り取りするためのバス207を介して相互に接続されている。なお、プリンタ200A、200B、200Cの構成要素のうち、PC100A、100Bの構成要素と同様の機能を有する部分についての重複する説明を省略する。
【0022】
RAM203は、PCから受信したデータを一時的に記憶できる。ROM202には、文字の書体を示すフォントに関する情報が格納される。なお、プリンタ200は、各種のプログラムやデータを保存するための外部記憶装置としてのハードディスクを有していてもよい。操作パネル部204は、各種情報の表示および各種指示の入力に使用される。印刷部205は、電子写真式プロセス等の周知の作像プロセスを用いて、各種データを用紙などの記録材上に印刷する。
【0023】
PCおよびプリンタは、上述した構成要素以外の構成要素を含んでいてもよく、あるいは、上述した構成要素のうちの一部が含まれていなくてもよい。以下においては、PC100Aまたは100Bから、プリンタ200A、200B、および200Cにデータが並行して送信されて、印刷が行われる場合について、主として説明する。なお、PC100Aまたは100Bは、プリンタ200A、200B、または200Cのいずれか1つにデータを送信して印刷を行うことも可能である。
【0024】
図1に示されるプリントシステムでは、通常プリントと、PDFダイレクトプリントとの2種類の印刷が実行可能である。通常プリントを実行する場合、所定のファイルは、PCのハードディスク104にインストールされたプリンタドライバによってPS等のPDLで記述されたプリントデータに変換された後、プリンタに送信される。一方、PDFダイレクトプリントを実行する場合、PDFファイルは、ハードディスク104にインストールされた後述するプログラムにしたがって、プリントデータに変換されることなく、PCからプリンタに送信される。
【0025】
ここで、図4および図5を参照して、標準的なPDFファイルの構造および解析方法について簡単に説明する。図4は、標準的なPDFファイルの構成を説明するための図、図5は、PDFファイルのサンプルを示す図である。なお、図4および図5は、「PDF Reference third edition Adobe Portable Document Format Version 1.4」(アドビシステムズ社)を参考にして作成されている。
【0026】
図4および図5に示すように、標準的なPDFファイル500は、ヘッダ510、ボディ520、相互参照表530、およびトレーラ540から構成される。
【0027】
ヘッダ510には、「%」で始まるコメントが記述される。
【0028】
ボディ520は、複数のオブジェクトから構成される(図5ではオブジェクト1〜6)。オブジェクトとは、文書を構成する個々の要素をいう。
【0029】
オブジェクトには、たとえば、文書の構造情報、ページの構成を示す情報、文字の書体を示すフォントに関する情報、文字コードで表された文字データを含む文字情報、線などの図形の集まりで表された図形データを含む図形情報、および画素の集まりで表された画像データを含む画像情報などの各種情報が記述される。フォントに関する情報にはフォントのグリフ記述が含まれる。グリフ記述は、フォントに関するグラフィック形状を規定する。すなわち、PDFファイルは、当該ファイル内にフォントのグリフ記述を埋め込むことが可能な形式で記述されている(フォントエンベディッド機能)。PDFファイル内にフォントのグリフ記述が埋め込まれていることを、以下、PDFファイルにフォントがエンベディッドされているという。フォントがエンベディッドされたPDFファイルは、ファイル作成時に意図したフォント、およびレイアウトを保障する。なお、PDFファイルにエンベディッド可能なフォントのタイプとしては、True Type、Open Type、およびCID(Character Identifier)形式のPSフォントが挙げられる。
【0030】
図5のボディ520において、たとえば「1 0 obj」における最初の数字およびその次の数字は、それぞれオブジェクトのID番号および生成番号(generation)を表す。
【0031】
相互参照表530は、ファイル内におけるオブジェクトの位置を示す参照情報である。相互参照表530において、各オブジェクトの位置がオフセットで表される。ここで、オフセットとは、ファイル先頭から注目するデータの先頭までのバイト数をいう。これにより、ボディ520に並んでいるオブジェクトに対して、ランダムにアクセスすることが可能となる。
【0032】
トレーラ540は、ファイルの解析開始時にアクセスすべき情報である。具体的には、トレーラ540には、ファイル内における相互参照表530の位置を示す情報(オフセット)、および最初に参照すべきオブジェクト(階層構造のルートとなるルートオブジェクト)の番号が記述される。このトレーラ540は、ファイルの末尾部分に存在する。
【0033】
PDFファイルを解析する装置は、標準的なPDFファイルを解析する場合、まずファイルの末尾部分にあるトレーラ540を解析し、次いで相互参照表530を解析する。そして、これらの解析で得られた情報に基づいて、ボディ520に記述されたページの内容を解析することができる。オブジェクトには、次に必要となるデータが記述された別のオブジェクトの番号が含まれている。このため、次に必要なオブジェクトの番号をたどることにより、PDFファイルの全体的な解析が可能となる。したがって、オブジェクトは、PDFファイルのボディ内においてオブジェクト単位で任意の順序で記述されることができ、結果として、ページ順と異なる順序でファイル内に配置可能となる。
【0034】
次に、図6〜図10を参照して、PCで行われる処理について説明する。なお、図6のフローチャートにより示されるアルゴリズムは、PCのハードディスク104などの記憶部にプログラムとして記憶されており、CPU101により実行される。
【0035】
ここでは、PDFファイルに対して、プリンタドライバを使用した通常プリントではなく、PDFダイレクトプリントが実行され、プリンタでPDFファイルの印刷が行われる場合について説明する。
【0036】
まず、ユーザによるPDFダイレクトプリントの実行の指示の前に、初期設定が行われる(S101)。初期設定には、印刷条件の設定が含まれる。印刷条件は、入力部106を通したユーザの操作に基づいて設定される。印刷条件には、印刷部数、複数のプリンタで並行して印刷を行う分散プリントの指定、および送信先のプリンタの指定が含まれる。ただし、印刷条件には、他の属性が含まれていてもよく、上記した属性の一部が省略されていてもよい。なお、印刷条件は、プリンタにおいて操作パネル部204を通して設定されてもよい。
【0037】
ステップS101における初期設定が終了した後、PCは、ユーザによるPDFファイルに対するPDFダイレクトプリントの実行の指示を受け付ける(S102)。ここで、PCのデスクトップ上には、PDFダイレクトプリントについてのアプリケーションプログラムファイルのアイコンがあらかじめ表示される。ユーザは、PDFファイルを当該アイコンにドラッグ&ドロップしてアプリケーションプログラムを起動することにより、PDFダイレクトプリントの実行の指示を行うことができる。なお、PDFダイレクトプリントの実行の指示は、他の方法により行われてもよい。
【0038】
続いて、分散プリントの指定がされているか否かが判断される(S103)。分散プリントの指定がされていない場合(S103でNO)、すなわち、1台のプリンタを用いた印刷処理の場合、ステップS108に進んで、そのまま送信処理が行われる。
【0039】
分散プリントの指定がされている場合(S103でYES)、印刷すべきPDFファイルの構造が解析される(S104)。具体的には、フォントのグリフ記述を含むオブジェクトの検出が行われる。
【0040】
そして、ステップS103における解析結果に基づきPDFファイル中で使用されているフォント(以下、「使用フォント」という)がすべてエンベディッドされているか否かが判断される(S105)。
【0041】
図7は、使用フォントがエンベディッドされていないPDFファイルの一例を示す図である。図7に示すPDFファイル501は、フォントに関する情報が記述されたオブジェクト521および522を含む。図7に示すPDFファイル501の場合、フォントそのものの情報はオブジェクト521(「4 0 obj」)に、フォントの属性情報はフォントデスクリプタ(「FontDescriptor」)と呼ばれるオブジェクト522(「9 0 obj」)に、それぞれ記述されている。
【0042】
オブジェクト521の中で、フォントデスクリプタの内容はオブジェクト522(「9 0 obj」)に記述されていることが示されている。
【0043】
PDFファイルにフォントがエンベディッドされている場合、フォントデスクリプタのオブジェクト522には、フォントがエンベディッドされているという情報、すなわち、フォントのグリフ記述が埋め込まれたオブジェクトを指定するキーである「FontFile」「FontFile2」、あるいは「FontFile3」が存在するはずである。つまり、PDFファイルに所定のフォントがエンベディッドされているか否かは、フォントデスクリプタのオブジェクト522に、キーである「FontFile」「FontFile2」、あるいは「FontFile3」が存在するか否かによって判断され得る(図7ではいずれのキーも存在しない)。
【0044】
PDFファイル中の使用フォントがすべてエンベディッドされている場合(S105でYES)、ステップS108に進む。
【0045】
PDFファイル中の使用フォントのうち、エンベディッドされていないものが1つでもある場合(S105でNO)、エンベディッドされていない使用フォントのグリフ記述が自己のPCに搭載されているか否かが判断される(S106)。このとき、自己のPCに搭載されているフォントに関する情報が取得される。ただし、フォントに関する情報は、ステップS106の処理以前であればいつ取得されてもよい。
【0046】
エンベディッドされていない使用フォントのグリフ記述が自己のPCに搭載されている場合(S106でYES)、使用フォントのグリフ記述を取得し、取得されたグリフ記述をPDFファイル内に埋め込むための埋込処理が行われる(S107)。一方、エンベディッドされていない使用フォントのグリフ記述が自己のPCに搭載されていない場合(S106でNO)、グリフ記述の埋込処理は行われずに、ステップS108に進む。ただし、エンベディッドされていない使用フォントのグリフ記述が自己のPC以外のサーバなどの他の機器から取得され、取得されたフォントのグリフ記述を用いて埋込処理が行われてもよい。
【0047】
図8および図9は、グリフ記述の埋込処理が施された後のPDFファイルの一例のそれぞれ前半部分および後半部分を示す図である。図8および図9に示すPDFファイル501aは、図7のPDFファイル501に対してグリフ記述の埋込処理が施されて得られたものである。
【0048】
グリフ記述の埋込処理において、具体的には、図7〜図9に示すように、フォントのグリフ記述を含むオブジェクト523が追加される(図8の▲3▼参照)。図8および図9の場合、グリフ記述はフォントファイルと呼ばれるオブジェクト523(「1 0 obj」)に記述されている。また、フォントデスクリプタのオブジェクト522aにおいて属性のキーである「FontFile」「FontFile2」、あるいは「FontFile3」と、その値であるオブジェクト参照とが追加される(図8の▲2▼参照、図8では「FontFile2」を追加)。また、フォント属性の「BaseFont」および「FontName」などの値は、必要に応じて変更される(図8および図9の▲1▼▲4▼参照)。さらに、相互参照表530の中に記述されている各オブジェクトのオフセット、およびトレーラ540の中に記述されている相互参照表530のオフセットが修正される(図9の▲5▼▲6▼参照)。これは、PDFファイルの内容を追加あるいは変更すると、各オブジェクトのオフセットが変化するからである。
【0049】
グリフ記述の埋込処理が終了すると、埋込処理が施されたPDFファイルの送信処理が行われる(S108)。ここで、埋込処理が施されたPDFファイルは、PCから送信先の複数のプリンタに、当該プリンタがサポートする所定のプロトコルにしたがって並行して送信される。
【0050】
図10は、グリフ記述の埋込処理を説明するための概念図である。図10において、プリンタ200A〜200Cは、たとえばPSファイルを解析可能なプリンタ(PSプリンタ)である。また、プリンタフォントとして、プリンタ200Aは平成明朝および平成角ゴシックを、プリンタ200BはリュウミンL−KLおよび中ゴシックBBBを、プリンタ200CはリュウミンL−KLおよび中ゴシックBBBを、それぞれ搭載している。
【0051】
ここで、1台のPC100Aまたは100Bから複数のプリンタ200A〜200CにPDFファイルを並行して送信し、当該複数のプリンタで並行して印刷を行う分散プリントが行われる場合について説明する。たとえば、図10に示すPC100Aが100ページの画像データを3部印刷(合計300ページを印刷)するジョブを送信するとき、3台のプリンタ200A〜200Cの各々で並行して100ページずつプリントされる。また、たとえば、PC100Aが900ページの印刷を行うジョブを送信するとき、1〜300ページ、301〜600ページ、および601〜900ページにデータが分割され、3台のプリンタ200A〜200Cの各々で並行して300ページずつ印刷される。これにより、プリント完了までの時間は、1台のプリンタで処理を行うときの約1/3になる。
【0052】
具体的に、PC100Aで作成されたPDFファイル502が、プリンタ200A〜200Cに並行して送信される場合を想定する。ここで、PDFファイル502の使用フォントは、True Type、Open Type、およびCID形式のPSフォントの平成明朝であり、かかるフォントはPDFファイル502にエンベディッドされている。したがって、PDFファイル502に対してグリフ記述の埋込処理は施されず、PDFファイル502がそのままPC100Aからプリンタ200A〜200Cに並行して送信される。
【0053】
また、PC100Bで作成されたPDFファイル503が、プリンタ200A〜200Cに並行して送信される場合を想定する。ここで、PDFファイル503の使用フォントは、True Type、Open Type、およびCID形式のPSフォントの平成明朝であり、かかるフォントはPDFファイル503にエンベディッドされていない。したがって、PDFファイル503に対してグリフ記述の埋込処理が施され、埋込処理が施されたPDFファイルが、PC100Bからプリンタ200A〜200Cに並行して送信される。
【0054】
次に、図11および図12を参照して、各プリンタ200A〜200Cで行われる処理について説明する。なお、図11および図12のフローチャートにより示されるアルゴリズムは、プリンタのROM202などの記憶部にプログラムとして記憶されており、CPU201により実行される。
【0055】
ここでは、各プリンタが、PCから並行して送信される印刷すべきPDFファイルを受信して、受信したPDFファイルに対して、PDFダイレクトプリントを実行する場合について、以下に説明する。
【0056】
まず、プリンタは、PCから送信されたPDFファイルを受信する(S201)。受信したPDFファイルの全体は、一括してメモリに保存される。なお、ハードディスクを装備したプリンタの場合、PDFファイルの全体は、メモリに十分な空き容量がある場合にはメモリに、メモリに十分な空き容量がない場合にはハードディスクに保存される。ファイルのメモリへの保存中にメモリの空き容量が足りなくなった場合には、メモリに保存済みのデータがハードディスクにスワップされ、ファイルの保存場所がハードディスクに変更される。
【0057】
続いて、受信したPDFファイルのRIP(Raster Image Processing)処理が行われる(S202)。ここで、印刷条件を考慮しつつPDFファイルを解析することにより印刷すべきデータがページ単位で取得され、取得されたデータから、ビットマップ形式にラスタライズされたラスタデータが作成される。PDFファイルのRIP処理についての詳細は後述する。
【0058】
作成されたラスタデータは、印刷部205へ出力され(S203)、用紙上に印刷される(S204)。なお、PDFファイルの全ページ分の印刷が完了するまで、ラスタデータの印刷部205への出力、および印刷処理が続けられる。
【0059】
次に、図12を参照して、図11のステップS202におけるRIP処理について説明する。
【0060】
RIP処理においては、まず、受信したPDFファイルの解析処理が行われる(S301)。ここで、プリンタは、トレーラ540および相互参照表530(図4および図5参照)の解析結果と、印刷条件とに基づいてPDFファイルを解析して、印刷すべきデータをページ単位で取得する。
【0061】
ステップS302では、印刷に必要なフォントのグリフ記述が、PDFファイル内に埋め込まれているか否かが判断される。
【0062】
必要なグリフ記述がPDFファイル内に埋め込まれている場合(S302でYES)、埋め込まれたグリフ記述を使用して、中間言語の作成が行われる(S304)。
【0063】
一方、必要なグリフ記述がPDFファイル内に埋め込まれていない場合(S302でNO)、ステップS303に進んで、所定の置換表に基づいて、PDFファイル中の使用フォントに対応したプリンタフォントがROM202などの記憶部から抽出される。
【0064】
続いて、抽出されたプリンタフォントのグリフ記述を使用して、ステップS301で取得された印刷すべきデータについて、プリンタで内部処理可能な形式の中間言語が作成される(S304)。
【0065】
そして、作成された中間言語から、ビットマップ形式のラスタデータが作成される(S305)。なお、図12に示す処理は、PDFファイルの全ページについて行われる。
【0066】
このように第1実施形態によれば、PCは、複数のプリンタにPDFファイルなどの文書ファイルを並行して送信する場合、印刷すべき文書ファイル中の使用フォントのグリフ記述を、当該文書ファイル内において検出し、当該検出結果に基づき使用フォントのグリフ記述が文書ファイル内に存在しないと判断されるとき、そのフォントのグリフ記述を文書ファイル内に埋め込むための埋込処理を行う。
【0067】
したがって、複数のプリンタの各々でフォントの同一性を保持して印刷させることが可能となる。これにより、各プリンタで得られる印刷物において、ファイル作成時に意図したフォント、およびレイアウトを保障することができる。また、日本語のPDFファイルを他言語であるたとえば英語対応のプリンタに送信した場合であっても、文字化けなどの不具合が防止される。
【0068】
次に、本発明の第2実施形態について説明する。以下、第1実施形態と相違する点を中心に説明する。
【0069】
図13は、本発明の第2実施形態に係るPCで行われる処理について説明するためのフローチャートである。なお、図13のフローチャートにより示されるアルゴリズムは、PCのハードディスク104などの記憶部にプログラムとして記憶されており、CPU101により実行される。
【0070】
第2実施形態に係るPCは、複数のプリンタにPDFファイルを並行して送信する場合、使用フォントのグリフ記述がPDFファイル内に存在しないと判断されるとき、その使用フォントのグリフ記述が搭載されていないプリンタに送信するためのPDFファイルに対して埋込処理を施す点で、プリンタフォントにかかわらずに各プリンタに送信するためのPDFファイルに対して埋込処理を施す第1実施形態に係るPCと相違する。
【0071】
まず、ステップS401では、初期設定が行われるが、この初期設定には、印刷条件の設定とともに、プリンタの固有情報の設定が含まれる。
【0072】
プリンタの固有情報には、プリンタフォントに関する情報が含まれる。PCは、送信先のプリンタに要求することにより、プリンタフォントに関する情報を取得する。ただし、プリンタフォントに関する情報は、後述するステップS406の処理以前であればいつ取得されてもよく、たとえば、PCにおいてプリンタフォントに関する情報があらかじめ登録されてもよい。
【0073】
図13のステップS402〜S405、S407、S408、およびS410は、図6のステップS102〜S108と、それぞれ同様である。図13のフローチャートでは、図6のフローチャートに対してステップS406およびS409が加入されている。
【0074】
PDFファイル中の使用フォントのうち、エンベディッドされていないものが1つでもある場合(S405でNO)、エンベディッドされていない使用フォントのグリフ記述とPDFファイルの送信先のプリンタに搭載されているフォントのグリフ記述とが、複数のプリンタの各々について比較され、当該比較結果に基づきPDFファイル内にエンベディッドされていない使用フォントのグリフ記述が送信先のプリンタに搭載されているか否かが判断される(S406)。
【0075】
PDFファイル内にエンベディッドされていない使用フォントのグリフ記述が送信先のプリンタに搭載されている場合(S406でYES)、かかるフォントのグリフ記述をPDFファイル内に埋め込む必要がないため、ステップS409に進む。
【0076】
一方、PDFファイル内にエンベディッドされていない使用フォントのグリフ記述が送信先のプリンタに搭載されていない場合(S406でNO)、ステップS407に進み、自己のPCに搭載されている場合には(S407でYES)、使用フォントのグリフ記述をPDFファイル内に埋め込むための埋込処理が行われる(S408)。
【0077】
ステップS409では、送信先のすべてのプリンタについて、必要な埋込処理が終了したか否かが判断される(S409)。すなわち、複数のプリンタの各々についてS406〜S409の処理が繰り返される。
【0078】
すべてのプリンタについて必要な埋込処理が終了した場合(S409でYES)、必要な埋込処理が施されたPDFファイルの送信処理が行われる(S410)。ただし、プリンタごとに、送信すべきPDFファイルへの必要な埋込処理が終了した時点で、送信処理が行われてもよい。
【0079】
次に、図10を参照して、第2実施形態に係るPCで行われるグリフ記述の埋込処理について説明する。
【0080】
具体的に、PC100Aで作成されたPDFファイル502が、プリンタ200A〜200Cに並行して送信される場合を想定する。この場合、第1実施形態と同様であるため説明を省略する。
【0081】
また、PC100Bで作成されたPDFファイル503が、プリンタ200A〜200Cに並行して送信される場合を想定する。ここで、PDFファイル503の使用フォントは、PDFファイル503にエンベディッドされていない。この場合、第2実施形態では、送信先のプリンタごとにPDFファイル503に対する埋込処理の要否が判断される。まず、プリンタ200AにPDFファイル503を送信する場合、True Type、およびOpen Typeのグリフ記述はプリンタ200Aに保存されていないため当該フォントのグリフ記述がファイル内に埋め込まれ、一方、平成明朝のグリフ記述はプリンタ200Aに保存されているため当該フォントのグリフ記述はファイル内に埋め込まれない。次に、プリンタ200Bまたは200CにPDFファイル503を送信する場合、True Type、Open Type、およびCID形式のPSフォントの平成明朝のいずれのグリフ記述もプリンタ200Bまたは200Cに保存されていないため当該フォントのグリフ記述がファイル内に埋め込まれる。
【0082】
このように第2実施形態によれば、不必要な埋込処理を排除することにより、送信されるPDFファイルのデータサイズの増大を抑えることができる。したがって、送信時間の短縮、およびプリンタのメモリにおける使用領域の軽減を図りつつ、第1実施形態と同様の効果を得ることができる。
【0083】
本発明は、上述した実施形態のみに限定されるものではなく、特許請求の範囲内において、種々改変することができる。
【0084】
たとえば、画像処理装置としての機能を有する装置として、PCの代わりに、たとえばワークステーション、サーバなどのコンピュータが用いられてもよい。また、プリンタの代わりに、ファクシミリ装置、コピー機、およびそれらを複合した機能を有する多機能周辺機器(MFP:Multi-Function Peripheral)などの画像形成装置が用いられてもよい。
【0085】
本発明において、画像処理装置における各種処理を行う手段および方法は、専用のハードウェア回路、またはプログラムされたコンピュータのいずれによっても実現することが可能である。上記プログラムは、例えばフレキシブルディスクやCD−ROMなどのコンピュータ読み取り可能な記録媒体によって提供されてもよいし、インターネット等のネットワークを介してオンラインで提供されてもよい。この場合、コンピュータ読み取り可能な記録媒体に記録されたプログラムは、通常、ハードディスク等の記憶装置に転送されて記憶される。また、上記プログラムは、単独のアプリケーションソフトとして提供されてもよいし、装置の一機能としてその装置のソフトウェアに組み込まれてもよい。
【0086】
なお、上述した本発明の実施形態には、特許請求の範囲の請求項1〜5に記載した発明以外にも、以下の付記1〜3に示すような発明が含まれる。
【0087】
[付記1] 前記文書ファイルは、PDF(Portable Document Format)ファイルである請求項4に記載のプログラム。
【0088】
[付記2] 請求項4または付記1に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。
【0089】
[付記3] 前記文書ファイルは、PDF(Portable Document Format)ファイルである請求項5に記載の画像処理方法。
【0090】
【発明の効果】
上述したように、本発明によれば、複数の画像形成装置の各々でフォントの同一性を保持して印刷させることが可能となる。これにより、各画像形成装置で得られる印刷物において、ファイル作成時に意図したフォント、およびレイアウトを保障することができる。また、日本語の文書ファイルを他言語であるたとえば英語対応のプリンタに送信した場合であっても、文字化けなどの不具合が防止される。
【図面の簡単な説明】
【図1】 本発明の第1実施形態に係るPCが適用されたプリントシステムの構成を示すブロック図である。
【図2】 図1に示されるPCの構成を示すブロック図である。
【図3】 図1に示されるプリンタの構成を示すブロック図である。
【図4】 標準的なPDFファイルの構成を説明するための図である。
【図5】 PDFファイルのサンプルを示す図である。
【図6】 PCで行われる処理について説明するためのフローチャートである。
【図7】 使用フォントがエンベディッドされていないPDFファイルの一例を示す図である。
【図8】 グリフ記述の埋込処理が施された後のPDFファイルの一例の前半部分を示す図である。
【図9】 グリフ記述の埋込処理が施された後のPDFファイルの一例の後半部分を示す図である。
【図10】 グリフ記述の埋込処理を説明するための概念図である。
【図11】 プリンタで行われる処理について説明するためのフローチャートである。
【図12】 図11に示されるRIP処理について説明するためのフローチャートである。
【図13】 本発明の第2実施形態に係るPCで行われる処理について説明するためのフローチャートである。
【符号の説明】
1〜6…オブジェクト、
100A、100B…PC、
101、201…CPU、
102、202…ROM、
103、203…RAM、
104…ハードディスク、
105…表示部、
106…入力部、
107、206…ネットワークインタフェース、
108、207…バス、
200A、200B、200C…プリンタ、
204…操作パネル部、
205…印刷部、
300…ネットワーク、
500、501、501a、502、503…PDFファイル、
510…ヘッダ、
520…ボディ、
521、521a、522、522a、523…オブジェクト、
530…相互参照表、
540…トレーラ。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, an image processing method, and a program, and in particular, an image processing apparatus capable of transmitting data to a plurality of image forming apparatuses in parallel and printing in order to increase printing efficiency. The present invention relates to a processing method and a program.
[0002]
[Prior art]
When a large amount of paper is printed out using an image forming apparatus such as a printer, working time can be reduced by printing in parallel using a plurality of printers. Printing in parallel with a plurality of printers in this way is called distributed printing (Cluster Printing).
[0003]
When distributed printing is performed based on the same document file, the quality of printed matter obtained by each of a plurality of printers is naturally required to be the same.
[0004]
However, a network system configured by connecting a large number of devices to a network such as a LAN may include various printers having slightly different print quality. In this case, when distributed printing is performed, there is a problem in that printed products having different qualities depending on the printer are obtained, which gives the user an uncomfortable feeling.
[0005]
As one method for solving such a problem, a technique is known in which, when color distributed printing is performed, adjustment is performed so as to eliminate the difference in color of printed matter obtained by each printer (for example, Patent Document 1).
[0006]
[Patent Document 1]
JP 2002-152545 A
[0007]
[Problems to be solved by the invention]
However, in the apparatus described in Patent Document 1, it is only possible to eliminate the difference in color of printed matter in distributed printing, and it is not possible to eliminate the difference in font applied to characters in the printed matter. That is, a plurality of different fonts installed in each printer may be used for distributed printing.
[0008]
In this case, as a result of a mixture of printed materials using different fonts depending on the printer, not only does the user feel uncomfortable, but the line break position may shift due to the different character width, and the layout may change significantly. There is also.
[0009]
The present invention has been made to solve the above-described problems, and an object of the present invention is to transmit a document file to a plurality of image forming apparatuses in parallel, and the font and layout of each image forming apparatus. An object is to provide an image processing apparatus, an image processing method, and a program that can be printed while maintaining identity.
[0010]
[Means for Solving the Problems]
The above object of the present invention is achieved by the following means.
[0011]
(1) An image processing apparatus for transmitting a document file in a format that can embed a glyph description that defines a graphic shape of a font to an image forming apparatus without converting the print file into print data. When transmitting a document file in parallel, based on a detection means for detecting a glyph description of a predetermined font used in the document file to be printed in the document file, and a detection result by the detection means When it is determined that the glyph description of the predetermined font does not exist in the document file, an embedding process for embedding the glyph description of the predetermined font in the document file is performed on the document file. And an image processing apparatus.
[0012]
(2) When it is determined that the glyph description of the predetermined font does not exist in the document file based on the detection result by the detection unit, the glyph description of the predetermined font and the image forming apparatus that is the transmission destination of the document file Comparing means for comparing the stored glyph description of the font with respect to each of the plurality of image forming apparatuses, the embedding means includes a glyph description of the predetermined font based on a comparison result by the comparing means. The image processing apparatus according to (1), wherein the embedding process is performed on a document file to be transmitted to an image forming apparatus that is determined not to be stored.
[0013]
(3) The image processing apparatus according to (1) or (2), wherein the document file is a PDF (Portable Document Format) file.
[0014]
(4) A program used in an image processing apparatus for transmitting a document file in a format that can embed a glyph description that defines a graphic shape of a font to an image forming apparatus without converting the file into print data. When transmitting a document file to the image forming apparatus in parallel, a detection procedure for detecting a glyph description of a predetermined font used in the document file to be printed in the document file, and the detection procedure If it is determined that the glyph description of the predetermined font does not exist in the document file based on the detection result, an embedding process for embedding the glyph description of the predetermined font in the document file is added to the document file. A program for causing the image processing apparatus to execute an embedding procedure applied to the image processing apparatus.
[0015]
(5) An image processing method for transmitting a document file in a format in which a glyph description defining a graphic shape of a font can be embedded to an image forming apparatus without converting the print file into print data. When transmitting a document file in parallel, a detection step for detecting a glyph description of a predetermined font used in the document file to be printed in the document file, and a detection result in the detection step When it is determined that the glyph description of the predetermined font does not exist in the document file, an embedding process for embedding the glyph description of the predetermined font in the document file is performed on the document file. Image processing method.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0017]
FIG. 1 is a block diagram showing a configuration of a printing system to which a PC according to the first embodiment of the present invention is applied.
[0018]
As shown in FIG. 1, the print system includes PCs 100A and 100B having functions as image processing apparatuses and printers 200A, 200B, and 200C as image forming apparatuses, which can communicate with each other via a network 300. It is connected to the. The network 300 includes a LAN according to a standard such as Ethernet (R), token ring, or FDDI, or a WAN in which LANs are connected by a dedicated line.
[0019]
The type and number of devices connected to the network are not limited to the example shown in FIG. The printer may be directly connected (locally connected) between the PC and the device without going through the network 300.
[0020]
FIG. 2 is a block diagram showing the configuration of the PCs 100A and 100B shown in FIG. As shown in FIG. 2, the PC includes a CPU 101 for controlling the entire apparatus and various arithmetic processes, a ROM 102 for storing programs and data, a RAM 103 for temporarily storing programs and data as work areas, Hard disk 104 as an external storage device for storing programs and data, display unit 105 such as a liquid crystal display for displaying various information, input unit 106 including a keyboard and mouse for inputting various instructions, and a network A network interface 107 such as a LAN card for connecting to the network 300 is included, and these are connected to each other via a bus 108 for exchanging signals.
[0021]
FIG. 3 is a block diagram showing the configuration of the printers 200A, 200B, and 200C shown in FIG. As shown in FIG. 3, the printer includes a CPU 201, a ROM 202, a RAM 203, an operation panel unit 204, a printing unit 205, and a network interface 206, which are connected to each other via a bus 207 for exchanging signals. Yes. Of the components of the printers 200A, 200B, and 200C, duplicate descriptions of portions having functions similar to those of the components of the PCs 100A and 100B are omitted.
[0022]
The RAM 203 can temporarily store data received from the PC. The ROM 202 stores information about fonts indicating character fonts. The printer 200 may have a hard disk as an external storage device for storing various programs and data. The operation panel unit 204 is used for displaying various information and inputting various instructions. The printing unit 205 prints various data on a recording material such as paper using a known image forming process such as an electrophotographic process.
[0023]
The PC and the printer may include constituent elements other than the constituent elements described above, or some of the constituent elements described above may not be included. In the following, a case where data is transmitted in parallel from the PC 100A or 100B to the printers 200A, 200B, and 200C and printing is performed will be mainly described. Note that the PC 100A or 100B can also perform printing by transmitting data to any one of the printers 200A, 200B, or 200C.
[0024]
In the printing system shown in FIG. 1, two types of printing, normal printing and PDF direct printing, can be executed. When normal printing is executed, a predetermined file is converted into print data described in PDL such as PS by a printer driver installed in the hard disk 104 of the PC, and then transmitted to the printer. On the other hand, when PDF direct printing is executed, the PDF file is transmitted from the PC to the printer without being converted into print data in accordance with a program to be described later installed in the hard disk 104.
[0025]
Here, with reference to FIG. 4 and FIG. 5, the structure and analysis method of a standard PDF file will be briefly described. FIG. 4 is a diagram for explaining the structure of a standard PDF file, and FIG. 5 is a diagram showing a sample PDF file. 4 and 5 are created with reference to “PDF Reference third edition Adobe Portable Document Format Version 1.4” (Adobe Systems).
[0026]
As shown in FIGS. 4 and 5, the standard PDF file 500 includes a header 510, a body 520, a cross reference table 530, and a trailer 540.
[0027]
In the header 510, a comment starting with “%” is described.
[0028]
The body 520 is composed of a plurality of objects (objects 1 to 6 in FIG. 5). An object is an individual element constituting a document.
[0029]
Examples of objects include document structure information, page configuration information, information about fonts that indicate character typefaces, character information including character data represented by character codes, and a collection of figures such as lines. Various information such as graphic information including graphic data and image information including image data represented by a collection of pixels is described. Information about the font includes a glyph description of the font. The glyph description defines the graphic shape for the font. That is, the PDF file is described in a format in which the glyph description of the font can be embedded in the file (font embedded function). The font glyph description embedded in the PDF file is hereinafter referred to as the font being embedded in the PDF file. The PDF file in which the font is embedded ensures the font and layout intended when the file is created. Examples of font types that can be embedded in a PDF file include True Type, Open Type, and PS fonts in CID (Character Identifier) format.
[0030]
In the body 520 of FIG. 5, for example, the first number and the next number in “1 0 obj” represent the ID number and generation number of the object, respectively.
[0031]
The cross reference table 530 is reference information indicating the position of the object in the file. In the cross reference table 530, the position of each object is represented by an offset. Here, the offset refers to the number of bytes from the beginning of the file to the beginning of the data of interest. This makes it possible to randomly access the objects arranged in the body 520.
[0032]
The trailer 540 is information to be accessed at the start of file analysis. Specifically, the trailer 540 describes information (offset) indicating the position of the cross-reference table 530 in the file, and the number of the object (root object serving as the root of the hierarchical structure) to be referred to first. This trailer 540 is present at the end of the file.
[0033]
When analyzing a standard PDF file, a device that analyzes a PDF file first analyzes the trailer 540 at the end of the file, and then analyzes the cross-reference table 530. Then, based on the information obtained by these analyzes, the contents of the page described in the body 520 can be analyzed. The object includes the number of another object in which data required next is described. Therefore, the entire analysis of the PDF file can be performed by tracing the number of the next necessary object. Therefore, the objects can be described in an arbitrary order for each object in the body of the PDF file, and as a result, the objects can be arranged in the file in an order different from the page order.
[0034]
Next, processing performed by the PC will be described with reference to FIGS. Note that the algorithm shown in the flowchart of FIG. 6 is stored as a program in a storage unit such as the hard disk 104 of the PC, and is executed by the CPU 101.
[0035]
Here, a case will be described in which PDF direct printing is executed on a PDF file instead of normal printing using a printer driver, and the printer prints the PDF file.
[0036]
First, initial setting is performed before a user directs execution of PDF direct printing (S101). The initial setting includes setting of printing conditions. The printing condition is set based on a user operation through the input unit 106. The printing conditions include the number of copies, designation of distributed printing for printing in parallel by a plurality of printers, and designation of a destination printer. However, the printing condition may include other attributes, and some of the above-described attributes may be omitted. Note that the printing conditions may be set through the operation panel unit 204 in the printer.
[0037]
After the initial setting in step S101 is completed, the PC accepts an instruction to execute PDF direct printing on the PDF file by the user (S102). Here, an icon of an application program file for PDF direct printing is displayed in advance on the desktop of the PC. The user can instruct execution of PDF direct printing by starting the application program by dragging and dropping the PDF file onto the icon. The instruction to execute PDF direct printing may be performed by other methods.
[0038]
Subsequently, it is determined whether or not distributed printing is designated (S103). If distributed printing is not designated (NO in S103), that is, if the printing process is performed using one printer, the process proceeds to step S108 and the transmission process is performed as it is.
[0039]
If distributed printing is designated (YES in S103), the structure of the PDF file to be printed is analyzed (S104). Specifically, an object including a glyph description of a font is detected.
[0040]
Then, based on the analysis result in step S103, it is determined whether or not all the fonts used in the PDF file (hereinafter referred to as “used fonts”) are embedded (S105).
[0041]
FIG. 7 is a diagram illustrating an example of a PDF file in which a used font is not embedded. A PDF file 501 shown in FIG. 7 includes objects 521 and 522 in which information about fonts is described. In the case of the PDF file 501 shown in FIG. 7, the information of the font itself is in an object 521 (“4 0 obj”), and the attribute information of the font is in an object 522 (“9 0 obj”) called a font descriptor (“FontDescriptor”). , Respectively.
[0042]
In the object 521, it is indicated that the content of the font descriptor is described in the object 522 (“9 0 obj”).
[0043]
When the font is embedded in the PDF file, the font descriptor object 522 includes information indicating that the font is embedded, that is, keys “FontFile” and “FontFile2” that are keys for specifying an object in which the glyph description of the font is embedded. "Or" FontFile3 "should be present. In other words, whether or not a predetermined font is embedded in the PDF file can be determined by whether or not the key “FontFile”, “FontFile2”, or “FontFile3” is present in the object 522 of the font descriptor (see FIG. 7 does not have any key).
[0044]
If all the fonts used in the PDF file are embedded (YES in S105), the process proceeds to step S108.
[0045]
If there is at least one font that is not embedded among the used fonts in the PDF file (NO in S105), it is determined whether or not the glyph description of the font that is not embedded is installed in its own PC. (S106). At this time, information about the font installed in the own PC is acquired. However, the information regarding the font may be acquired any time before the process of step S106.
[0046]
When the glyph description of the used font that is not embedded is installed in the own PC (YES in S106), the glyph description of the used font is acquired, and the embedding process for embedding the acquired glyph description in the PDF file Is performed (S107). On the other hand, if the glyph description of the used font that has not been embedded is not installed in the own PC (NO in S106), the process proceeds to step S108 without performing the glyph description embedding process. However, the glyph description of the used font that is not embedded may be acquired from another device such as a server other than its own PC, and embedding may be performed using the acquired glyph description of the font.
[0047]
FIGS. 8 and 9 are diagrams showing the first half part and the second half part of an example of the PDF file after the glyph description embedding process is performed, respectively. The PDF file 501a shown in FIGS. 8 and 9 is obtained by performing the glyph description embedding process on the PDF file 501 of FIG.
[0048]
In the glyph description embedding process, specifically, as shown in FIGS. 7 to 9, an object 523 including a glyph description of a font is added (see (3) in FIG. 8). 8 and 9, the glyph description is described in an object 523 (“1 0 obj”) called a font file. In addition, “FontFile”, “FontFile2”, or “FontFile3” which is an attribute key in the object 522a of the font descriptor and an object reference which is a value thereof are added (see (2) in FIG. 8, “ Add FontFile2 ”). Also, values such as “BaseFont” and “FontName” of the font attributes are changed as necessary (see (1) and (4) in FIGS. 8 and 9). Further, the offset of each object described in the cross reference table 530 and the offset of the cross reference table 530 described in the trailer 540 are corrected (see (5) and (6) in FIG. 9). . This is because the offset of each object changes when the contents of the PDF file are added or changed.
[0049]
When the glyph description embedding process is completed, the PDF file subjected to the embedding process is transmitted (S108). Here, the PDF file subjected to the embedding process is transmitted in parallel from a PC to a plurality of destination printers according to a predetermined protocol supported by the printer.
[0050]
FIG. 10 is a conceptual diagram for explaining the glyph description embedding process. In FIG. 10, printers 200A to 200C are printers (PS printers) that can analyze PS files, for example. Further, as printer fonts, the printer 200A is loaded with Heisei Ming Dynasty and Heisei Kaku Gothic, the printer 200B is loaded with Ryumin L-KL and medium Gothic BBB, and the printer 200C is loaded with Ryumin L-KL and medium Gothic BBB.
[0051]
Here, a case will be described in which distributed printing is performed in which a PDF file is transmitted in parallel from a single PC 100A or 100B to a plurality of printers 200A to 200C and printing is performed in parallel by the plurality of printers. For example, when the PC 100A shown in FIG. 10 transmits a job for printing three copies of 100 pages of image data (printing a total of 300 pages), 100 pages are printed in parallel by each of the three printers 200A to 200C. . For example, when the PC 100A transmits a job for printing 900 pages, the data is divided into 1 to 300 pages, 301 to 600 pages, and 601 to 900 pages, and each of the three printers 200A to 200C is configured in parallel. Thus, 300 pages are printed. As a result, the time until printing is completed is about 1/3 that when processing is performed by one printer.
[0052]
Specifically, a case is assumed where a PDF file 502 created by the PC 100A is transmitted in parallel to the printers 200A to 200C. Here, the fonts used in the PDF file 502 are True Type, True Type, Open Type, and CID format PS fonts, and such fonts are embedded in the PDF file 502. Therefore, the glyph description embedding process is not performed on the PDF file 502, and the PDF file 502 is transmitted as it is from the PC 100A to the printers 200A to 200C in parallel.
[0053]
Further, it is assumed that the PDF file 503 created by the PC 100B is transmitted in parallel to the printers 200A to 200C. Here, the fonts used in the PDF file 503 are True Type, True Type, Open Type, and CID format PS fonts, and such fonts are not embedded in the PDF file 503. Therefore, the glyph description embedding process is performed on the PDF file 503, and the PDF file subjected to the embedding process is transmitted from the PC 100B to the printers 200A to 200C in parallel.
[0054]
Next, processing performed in each of the printers 200A to 200C will be described with reference to FIGS. Note that the algorithm shown in the flowcharts of FIGS. 11 and 12 is stored as a program in a storage unit such as the ROM 202 of the printer, and is executed by the CPU 201.
[0055]
Here, a case where each printer receives a PDF file to be printed transmitted in parallel from a PC and executes PDF direct printing on the received PDF file will be described below.
[0056]
First, the printer receives a PDF file transmitted from the PC (S201). The entire received PDF file is collectively stored in the memory. In the case of a printer equipped with a hard disk, the entire PDF file is stored in the memory when there is sufficient free space in the memory, and is stored in the hard disk when there is not enough free space in the memory. If there is not enough free space in the memory while the file is stored in the memory, the data stored in the memory is swapped to the hard disk, and the file storage location is changed to the hard disk.
[0057]
Subsequently, RIP (Raster Image Processing) processing of the received PDF file is performed (S202). Here, by analyzing the PDF file in consideration of the printing conditions, data to be printed is acquired in units of pages, and raster data rasterized into a bitmap format is created from the acquired data. Details of the RIP processing of the PDF file will be described later.
[0058]
The created raster data is output to the printing unit 205 (S203) and printed on paper (S204). Note that raster data output to the printing unit 205 and printing processing are continued until printing of all pages of the PDF file is completed.
[0059]
Next, the RIP process in step S202 of FIG. 11 will be described with reference to FIG.
[0060]
In the RIP process, first, the received PDF file is analyzed (S301). Here, the printer analyzes the PDF file based on the analysis results of the trailer 540 and the cross-reference table 530 (see FIGS. 4 and 5) and the printing conditions, and acquires data to be printed on a page basis.
[0061]
In step S302, it is determined whether the glyph description of the font necessary for printing is embedded in the PDF file.
[0062]
If the necessary glyph description is embedded in the PDF file (YES in S302), an intermediate language is created using the embedded glyph description (S304).
[0063]
On the other hand, if the necessary glyph description is not embedded in the PDF file (NO in S302), the process proceeds to step S303, and the printer font corresponding to the font used in the PDF file is based on the predetermined substitution table, such as the ROM 202. Extracted from the storage unit.
[0064]
Subsequently, using the extracted glyph description of the printer font, an intermediate language in a format that can be internally processed by the printer is created for the data to be printed acquired in step S301 (S304).
[0065]
Then, raster data in bitmap format is created from the created intermediate language (S305). The process shown in FIG. 12 is performed for all pages of the PDF file.
[0066]
As described above, according to the first embodiment, when the PC transmits a document file such as a PDF file to a plurality of printers in parallel, the glyph description of the font used in the document file to be printed is stored in the document file. When it is determined that the glyph description of the font to be used does not exist in the document file based on the detection result, an embedding process for embedding the glyph description of the font in the document file is performed.
[0067]
Therefore, each of the plurality of printers can perform printing while maintaining the identity of the font. Thereby, in the printed matter obtained by each printer, the font and layout intended at the time of file creation can be guaranteed. Even when a Japanese PDF file is transmitted to a printer that supports other languages such as English, problems such as garbled characters are prevented.
[0068]
Next, a second embodiment of the present invention will be described. Hereinafter, a description will be given focusing on differences from the first embodiment.
[0069]
FIG. 13 is a flowchart for explaining processing performed by the PC according to the second embodiment of the present invention. The algorithm shown in the flowchart of FIG. 13 is stored as a program in a storage unit such as the hard disk 104 of the PC, and is executed by the CPU 101.
[0070]
When the PC according to the second embodiment transmits a PDF file to a plurality of printers in parallel, when it is determined that the glyph description of the used font does not exist in the PDF file, the glyph description of the used font is installed. According to the first embodiment, embedding processing is performed on a PDF file to be transmitted to each printer regardless of the printer font in that embedding processing is performed on a PDF file to be transmitted to a non-printer printer. It is different from PC.
[0071]
First, in step S401, initial setting is performed. This initial setting includes setting of printer specific information as well as setting of printing conditions.
[0072]
The printer specific information includes information about the printer font. The PC acquires information related to the printer font by making a request to the destination printer. However, the information related to the printer font may be acquired any time before the process of step S406 described later. For example, information related to the printer font may be registered in advance in the PC.
[0073]
Steps S402 to S405, S407, S408, and S410 in FIG. 13 are the same as steps S102 to S108 in FIG. In the flowchart of FIG. 13, steps S406 and S409 are added to the flowchart of FIG.
[0074]
If there is at least one font that is not embedded in the PDF file (NO in S405), the glyph description of the font that is not embedded and the font installed in the printer to which the PDF file is sent The glyph description is compared for each of the plurality of printers, and based on the comparison result, it is determined whether or not the glyph description of the used font that is not embedded in the PDF file is installed in the destination printer (S406). ).
[0075]
If the glyph description of the used font that is not embedded in the PDF file is installed in the destination printer (YES in S406), it is not necessary to embed the glyph description of the font in the PDF file, and the process advances to step S409. .
[0076]
On the other hand, if the glyph description of the used font that is not embedded in the PDF file is not installed in the destination printer (NO in S406), the process proceeds to step S407, and if it is installed in its own PC (S407). YES), an embedding process for embedding the glyph description of the font to be used in the PDF file is performed (S408).
[0077]
In step S409, it is determined whether or not necessary embedding processing has been completed for all printers of the transmission destination (S409). That is, the processes of S406 to S409 are repeated for each of the plurality of printers.
[0078]
If the necessary embedding process has been completed for all the printers (YES in S409), the transmission process of the PDF file subjected to the necessary embedding process is performed (S410). However, the transmission process may be performed for each printer when the necessary embedding process in the PDF file to be transmitted is completed.
[0079]
Next, the glyph description embedding process performed by the PC according to the second embodiment will be described with reference to FIG.
[0080]
Specifically, a case is assumed where a PDF file 502 created by the PC 100A is transmitted in parallel to the printers 200A to 200C. In this case, since it is the same as that of the first embodiment, the description is omitted.
[0081]
Further, it is assumed that the PDF file 503 created by the PC 100B is transmitted in parallel to the printers 200A to 200C. Here, the font used in the PDF file 503 is not embedded in the PDF file 503. In this case, in the second embodiment, the necessity of embedding processing for the PDF file 503 is determined for each destination printer. First, when the PDF file 503 is transmitted to the printer 200A, since the True Type and Open Type glyph descriptions are not stored in the printer 200A, the glyph description of the font is embedded in the file. Since the description is stored in the printer 200A, the glyph description of the font is not embedded in the file. Next, when the PDF file 503 is transmitted to the printer 200B or 200C, True Type, Open Type, and any glyph descriptions of PS fonts in CID format are not stored in the printer 200B or 200C because the glyph descriptions in Heisei morning are not stored in the printer 200B or 200C. The glyph description is embedded in the file.
[0082]
As described above, according to the second embodiment, it is possible to suppress an increase in the data size of the transmitted PDF file by eliminating unnecessary embedding processing. Therefore, it is possible to obtain the same effect as that of the first embodiment while shortening the transmission time and the use area in the printer memory.
[0083]
The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims.
[0084]
For example, as a device having a function as an image processing device, a computer such as a workstation or a server may be used instead of a PC. Further, instead of the printer, an image forming apparatus such as a facsimile machine, a copier, and a multi-function peripheral (MFP) having a combined function may be used.
[0085]
In the present invention, the means and method for performing various processes in the image processing apparatus can be realized by either a dedicated hardware circuit or a programmed computer. The program may be provided by a computer-readable recording medium such as a flexible disk or a CD-ROM, or may be provided online via a network such as the Internet. In this case, the program recorded on the computer-readable recording medium is normally transferred to and stored in a storage device such as a hard disk. The program may be provided as a single application software, or may be incorporated into the software of the device as one function of the device.
[0086]
The above-described embodiments of the present invention include the inventions shown in the following supplementary notes 1 to 3 in addition to the inventions described in claims 1 to 5.
[0087]
[Supplementary Note 1] The program according to claim 4, wherein the document file is a PDF (Portable Document Format) file.
[0088]
[Appendix 2] A computer-readable recording medium on which the program according to claim 4 or appendix 1 is recorded.
[0089]
[Supplementary Note 3] The image processing method according to claim 5, wherein the document file is a PDF (Portable Document Format) file.
[0090]
【The invention's effect】
As described above, according to the present invention, it is possible to print while maintaining the sameness of the font in each of the plurality of image forming apparatuses. Thereby, it is possible to guarantee the font and layout intended at the time of file creation in the printed matter obtained by each image forming apparatus. Even when a Japanese document file is transmitted to a printer that supports another language such as English, problems such as garbled characters are prevented.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a print system to which a PC according to a first embodiment of the present invention is applied.
FIG. 2 is a block diagram showing a configuration of a PC shown in FIG.
FIG. 3 is a block diagram illustrating a configuration of the printer illustrated in FIG. 1;
FIG. 4 is a diagram for explaining the structure of a standard PDF file.
FIG. 5 is a diagram showing a sample PDF file.
FIG. 6 is a flowchart for explaining processing performed on a PC.
FIG. 7 is a diagram illustrating an example of a PDF file in which a used font is not embedded.
FIG. 8 is a diagram showing a first half of an example of a PDF file after a glyph description embedding process is performed.
FIG. 9 is a diagram showing the latter half of an example of a PDF file after the glyph description embedding process is performed.
FIG. 10 is a conceptual diagram for explaining glyph description embedding processing;
FIG. 11 is a flowchart for explaining processing performed by the printer.
12 is a flowchart for explaining the RIP process shown in FIG. 11; FIG.
FIG. 13 is a flowchart for explaining processing performed by a PC according to the second embodiment of the present invention.
[Explanation of symbols]
1-6 objects,
100A, 100B ... PC,
101, 201 ... CPU,
102, 202 ... ROM,
103, 203 ... RAM,
104 ... Hard disk,
105 ... display section,
106 ... input section,
107, 206 ... network interface,
108,207 ... Bus,
200A, 200B, 200C ... printer,
204 ... operation panel section,
205 ... printing section,
300 ... Network,
500, 501, 501a, 502, 503 ... PDF file,
510 ... header,
520 ... Body,
521, 521a, 522, 522a, 523 ... object,
530 ... cross reference table,
540 ... Trailer.

Claims (8)

フォントのグラフィック形状を規定するグリフ記述を埋め込み可能な形式の文書ファイルを、プリントデータに変換せずに画像形成装置に送信するための画像処理装置であって、
複数の画像形成装置に文書ファイルを並行して送信する場合、印刷すべき文書ファイル中で使用されている所定のフォントのグリフ記述を、当該文書ファイル内において検出するための検出手段と、
前記検出手段による検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述を前記文書ファイル内に埋め込むための埋込処理を、前記文書ファイルに対して施す埋込手段と
を有する画像処理装置。
An image processing apparatus for transmitting a document file in a format in which a glyph description defining a graphic shape of a font can be embedded to an image forming apparatus without converting the print file into print data,
Detecting means for detecting a glyph description of a predetermined font used in a document file to be printed in the document file when transmitting document files to a plurality of image forming apparatuses in parallel;
When it is determined that the glyph description of the predetermined font does not exist in the document file based on the detection result by the detecting unit, an embedding process for embedding the glyph description of the predetermined font in the document file is performed. And an embedding unit for embedding the document file.
前記検出手段による検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述と文書ファイルの送信先の画像形成装置に保存されているフォントのグリフ記述とを、前記複数の画像形成装置の各々について比較する比較手段をさらに有し、
前記埋込手段は、前記比較手段による比較結果に基づき前記所定のフォントのグリフ記述が保存されていないと判断される画像形成装置に送信するための文書ファイルに対して、前記埋込処理を施す請求項1に記載の画像処理装置。
When it is determined that the glyph description of the predetermined font does not exist in the document file based on the detection result by the detection unit, the glyph description of the predetermined font and the document file are stored in the destination image forming apparatus. A comparison means for comparing the glyph description of the font for each of the plurality of image forming apparatuses;
The embedding unit performs the embedding process on a document file to be transmitted to an image forming apparatus that is determined not to store a glyph description of the predetermined font based on a comparison result by the comparing unit. The image processing apparatus according to claim 1.
前記文書ファイルは、PDF(Portable Document Format)ファイルである請求項1または2に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein the document file is a PDF (Portable Document Format) file. フォントのグラフィック形状を規定するグリフ記述を埋め込み可能な形式の文書ファイルを、プリントデータに変換せずに画像形成装置に送信するための画像処理装置で用いられるプログラムであって、
複数の画像形成装置に文書ファイルを並行して送信する場合、印刷すべき文書ファイル中で使用されている所定のフォントのグリフ記述を、当該文書ファイル内において検出するための検出手順と、
前記検出手順における検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述を前記文書ファイル内に埋め込むための埋込処理を、前記文書ファイルに対して施す埋込手順と
を前記画像処理装置に実行させるためのプログラム。
A program used in an image processing apparatus for transmitting a document file in a format that can embed a glyph description that defines a graphic shape of a font to an image forming apparatus without converting it into print data,
A detection procedure for detecting a glyph description of a predetermined font used in a document file to be printed in the document file when transmitting document files to a plurality of image forming apparatuses in parallel;
When it is determined that the glyph description of the predetermined font does not exist in the document file based on the detection result in the detection procedure, an embedding process for embedding the glyph description of the predetermined font in the document file includes: A program for causing the image processing apparatus to execute an embedding procedure applied to the document file.
フォントのグラフィック形状を規定するグリフ記述を埋め込み可能な形式の文書ファイルを、プリントデータに変換せずに画像形成装置に送信するための画像処理方法であって、
複数の画像形成装置に文書ファイルを並行して送信する場合、印刷すべき文書ファイル中で使用されている所定のフォントのグリフ記述を、当該文書ファイル内において検出するための検出ステップと、
前記検出ステップにおける検出結果に基づき前記所定のフォントのグリフ記述が前記文書ファイル内に存在しないと判断される場合、前記所定のフォントのグリフ記述を前記文書ファイル内に埋め込むための埋込処理を、前記文書ファイルに対して施す埋込ステップと
を有する画像処理方法。
An image processing method for transmitting a document file in a format that can embed a glyph description that defines a graphic shape of a font to an image forming apparatus without converting the print file into print data,
A detection step for detecting a glyph description of a predetermined font used in a document file to be printed in the document file when transmitting document files to a plurality of image forming apparatuses in parallel;
When it is determined that the glyph description of the predetermined font does not exist in the document file based on the detection result in the detection step, an embedding process for embedding the glyph description of the predetermined font in the document file includes: And an embedding step for the document file.
前記文書ファイルは、PDF(Portable Document Format)ファイルである請求項4に記載のプログラム。  The program according to claim 4, wherein the document file is a PDF (Portable Document Format) file. 請求項4または6に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。  A computer-readable recording medium on which the program according to claim 4 or 6 is recorded. 前記文書ファイルは、PDF(Portable Document Format)ファイルである請求項5に記載の画像処理方法。  The image processing method according to claim 5, wherein the document file is a PDF (Portable Document Format) file.
JP2003035198A 2003-02-13 2003-02-13 Image processing apparatus, image processing method, and program Expired - Fee Related JP4144369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003035198A JP4144369B2 (en) 2003-02-13 2003-02-13 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003035198A JP4144369B2 (en) 2003-02-13 2003-02-13 Image processing apparatus, image processing method, and program

Publications (3)

Publication Number Publication Date
JP2004246583A JP2004246583A (en) 2004-09-02
JP2004246583A5 JP2004246583A5 (en) 2005-08-25
JP4144369B2 true JP4144369B2 (en) 2008-09-03

Family

ID=33020687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003035198A Expired - Fee Related JP4144369B2 (en) 2003-02-13 2003-02-13 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP4144369B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4627683B2 (en) * 2005-06-02 2011-02-09 スター精密株式会社 Printing system, printing system control method and program
JP5455587B2 (en) * 2009-08-07 2014-03-26 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and computer program
JP6455232B2 (en) 2015-03-02 2019-01-23 株式会社リコー Image processing system, processing execution control device, image formation output control device, control program for image processing system, and control method for image processing system
JP6413846B2 (en) 2015-03-02 2018-10-31 株式会社リコー Image processing system, image processing system control method, image processing system control program, and image forming output control apparatus
JP6613587B2 (en) 2015-03-20 2019-12-04 株式会社リコー Image processing system, image formation output control device, image processing method, and image processing program
JP6743367B2 (en) 2015-11-09 2020-08-19 株式会社リコー Image processing system, image processing system control method, image processing system control program
JP6638458B2 (en) 2016-02-18 2020-01-29 株式会社リコー Image formation output control device, control method of image formation output control device, control program of image formation output control device

Also Published As

Publication number Publication date
JP2004246583A (en) 2004-09-02

Similar Documents

Publication Publication Date Title
JP3775381B2 (en) Image processing device
US8553263B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
US7916321B2 (en) Document processing apparatus and document processing method
JP4596285B2 (en) Image processing system, image processing method, and object name generation program
US8294914B2 (en) Image forming apparatus and method for changing number of lines in band buffer based on memory size to be required
JP3832423B2 (en) Image processing apparatus, image forming apparatus, and program
JP5261250B2 (en) Print data processing apparatus, method, and computer-readable medium for processing page description language
JP4537040B2 (en) Document processing apparatus and document processing method
JP2009187553A (en) Method for printing text-only content of pdf document
JP4144392B2 (en) Image processing apparatus, image forming system, image forming method, and program
JP4144369B2 (en) Image processing apparatus, image processing method, and program
JP4110945B2 (en) Image processing apparatus, image forming apparatus, and program
US8773692B2 (en) Printing control apparatus and printing control method for document layout processing
JP2010142980A (en) Printing control program, printing control method, and printing control device
JP2007026054A (en) Information processor, program for controlling information processor, and storage medium
JP2008176365A (en) Printing apparatus, printing program and recording medium
JP2004188865A (en) Image forming device and program
JP3829798B2 (en) Image forming apparatus and program
JP4150850B2 (en) Image processing apparatus, image processing method, and program
JP2004110337A (en) Image forming method, image forming system, client terminal, server device, program and storage medium
JP2006218819A (en) Image formation apparatus, image processing apparatus, program, and image processing method
JP4049003B2 (en) Image forming apparatus, image forming method, and image forming program
JP2007312119A (en) Image processing apparatus, image processing method and image processing program
JP2002007088A (en) Printing data processing method
JP2015069414A (en) Program and information processor

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050215

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050215

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080609

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120627

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130627

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees