JP3577070B2 - Document processing method and apparatus - Google Patents

Document processing method and apparatus Download PDF

Info

Publication number
JP3577070B2
JP3577070B2 JP2003110818A JP2003110818A JP3577070B2 JP 3577070 B2 JP3577070 B2 JP 3577070B2 JP 2003110818 A JP2003110818 A JP 2003110818A JP 2003110818 A JP2003110818 A JP 2003110818A JP 3577070 B2 JP3577070 B2 JP 3577070B2
Authority
JP
Japan
Prior art keywords
printer
document processing
font
image
character
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
JP2003110818A
Other languages
Japanese (ja)
Other versions
JP2003288184A (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 JP2003110818A priority Critical patent/JP3577070B2/en
Publication of JP2003288184A publication Critical patent/JP2003288184A/en
Application granted granted Critical
Publication of JP3577070B2 publication Critical patent/JP3577070B2/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】
【従来の技術】
従来の文書処理装置において、文書処理装置内のフォントデータを用いて文書編集を実行し、印刷時にはプリンタ内のフォントデータを用いて文書の印刷を実行するという手法が用いられることがある。このような手法を用いることにより、印刷時における文書処理装置からプリンタへのデータの転送効率が向上するとともに、各プリンタに適した解像度のフォントデータで最良の出力が得られるというメリットが得られる。
【0003】
一方、高品位文書の作成を行なう文書処理装置は膨大な種類のフォントデータを要求するようになってきており、プリンタの備えるフォントデータでは対応しきれなくなってきている。この対策として、プリンタが備えていないフォントにて印刷するという要求があった場合、プリンタの備えるフォントのうち要求されているフォントと形が近いフォントを代替フォントとして用いて印刷を実行するようにしている。
【0004】
【発明が解決しようとする課題】
ところで、高品位文書の作成においては、文字の大きさのバランスをとるためにプロポーショナルフォントが用いられるケースが多い。このプロポーショナルフォントにおいては、同一のフォント及びサイズであっても、各文字は異なる文字幅を有している。このようなプロポーショナルフォントは特に欧文文字等において一般的に用いられるが、日本語文字のフォントにも用いられるようになってきている。
【0005】
上述のプロポーショナルフォントを用いた印刷を実行する際に、プリンタの備える他のフォントで代用した場合はその代用フォントの文字幅で文字が展開されることになる。このため、文書全体の行数やページ数の変化を招き、文書全体の体裁が変化してまう可能性がある。また、文書全体の体裁を保つためには文書処理装置側でイメージデータを生成してこれをプリンタ側に転送すればよいが、データの転送に多大な時間を費やすことになる。
【0006】
又、先に記載した通り、対応するフォントをプリンタ内に有する場合は、プリンタ側でフォントデータの展開を実行することで転送効率を向上し、印刷処理に要する時間を短縮している。ところが、一般にプリンタ側の処理速度は文書処理装置側に比べて遅いため、処理するフォントデータが膨大になる場合は、プリンタ側でフォントデータの展開を実行すると、かえって処理に多くの時間を費やすようになってしまう。このような場合は文書処理装置側でフォントイメージの展開を実行し、ビットマップデータをプリンタへ転送するようにした方が、処理時間的に有利となる。
【0007】
本発明は上記の課題に鑑みてなされたものであり、フォントイメージの展開を文書処理装置側で実行するか、プリンタ側で実行するかを適切に選択し、効率よく印刷を実行することを可能とする文書処理方法及び装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記の目的を達成するための本発明による文書処理装置は以下の構成を備える。即ち、
文書処理装置と接続されたプリンタとの間の転送速度に基づいて文書処理装置側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定手段と、
前記決定手段によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力手段と、
前記決定手段により当該文書処理装置側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力手段とを備える。
【0009】
また、上記目的を達成するための本発明の他の態様による文書処理装置は以下の構成を備える。即ち、
文書処理装置の性能及びこれに接続されたプリンタの性能に基づいて、文書処理装置側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定手段と、
前記決定手段によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力手段と、
前記決定手段により当該文書処理装置側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力手段とを備える。
【0010】
更に、上記目的を達成するための本発明の他の態様による文書処理装置は以下の構成を備える。即ち、
文書処理装置で展開した場合のビットマップサイズと文書処理装置と接続されたプリンタとの間の転送速度とに基づいて文書処理装置側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定手段と、
前記決定手段によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力手段と、
前記決定手段により当該文書処理装置側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力手段とを備える。
【0011】
尚、本発明でいう文字とは、文書を構成する文字や記号等全てを総称するものである。
【0012】
【発明の実施の形態】
以下、本発明の実施例を添付の図面を参照して説明する。
【0013】
<実施形態1>
図1は本実施形態の文書処理装置の概略の構成を表すブロック図である。1は主制御装置(CPU)であり、本文書処理装置の全体の制御を行う。2はROM(Read Only Memory)であり、CPU1が実行する各種制御プログラムを格納する。ROM2には、例えば後述の図2,図5,図7に示されるプリンタとの通信を含む文書編集処理プログラムが記憶されている。3はRAM(Random Access Memory)であり、システムバス4を介して得られる各種データやファイルデータを一時記憶する。
【0014】
4はシステムバスであり、本文書処理装置内の各部と接続し、各部間におけるデータの授受を可能としている。5はプリンタインターフェースであり、プリンタ6と本文書処理装置とを接続する。6はプリンタであり、プリンタインターフェース5を介して入力された印刷データに基づいて画像を形成し、記録媒体上への印刷を実行する。ここで、CPU1はシステムバス4によって接続されるプリンタインターフェース5を介しプリンタ6と通信可能であり、図2,図5,図7で示されるアルゴリズムに従って、プリンタ6とのデータ交換、文書作成および印刷処理を行なう。7はディスクインターフェースであり、ハードディスク等の外部記憶装置とシステムバス4とを接続する。8はディスクインターフェース7により接続されるハードディスクで、文書データやフォントデータ等、大量の各種ファイルデータが保存されている。尚、本例では外部記憶装置としてハードディスク8を接続しているが、フロッピー(登録商標)ディスク等であっても構わない。
【0015】
次に、上記のように構成された文書処理装置の編集及び印刷処理について図2,図5及び図7のフローチャートを用いて説明する。
【0016】
文書処理装置がプリンタ6を使用して出力を行なうための文書を作成する際に、文書処理装置は図2のフローチャートに従って、編集時に指定するフォントデータの分類を行なう。ここでいうフォントデータの分類とは、文書処理装置の備えるフォントデータを、プリンタ6の備えるフォントデータとそうでないものとに分類することをいう。
【0017】
図2はフォントデータの分類を行う手順を表すフローチャートである。ステップS10で、ハードディスク8内に存在するフォントデータのフォント名とポイントサイズ(本体内フォントと称する)を読み出し、本体内フォントリストを作成する。図3は本体内フォントリスト31のデータ構成を表す図である。図3に示す如く、本体内フォントリストにはフォント名31aと、ポイントサイズ31bとが登録される。更に、接続されているプリンタ6内に対応するフォントが存在するか否かを示す所有情報31cが登録される。尚、所有情報31cの登録については後述のステップS15にて実行される。
【0018】
次にステップS11でプリンタインターフェース5を介してプリンタ6との接続処理を行ない、ステップS12で接続を確認する。接続状態が確認されると、ステップS13へ進み、プリンタ6内に存在するフォントデータのフォント名とポイントサイズを読み出し、プリンタ内フォントリストを作成する。図4はプリンタ内フォントリスト41のデータ構成を表す図である。図4に示す如く、プリンタ内フォントリスト41には、フォント名41aとポイントサイズ41bとが登録されている。
【0019】
ステップS14で、本体内フォントリスト31からフォント名及びサイズを1つ読み出し、これがプリンタ内フォントリスト41にも存在するか否かを判別する。プリンタ内フォントリストに存在する場合は、ステップS15でこのフォントおよびポイントサイズにマーク付けをする。即ち、本体内フォントリスト31の所有情報31cの欄にその旨を表す情報(図3では「○」)を登録する。ステップS16で本体内フォントリストの全てについて分類が完了したか否かを判定し、未処理のフォントが存在すればステップS14へ戻る。このように、本体内フォントリストの全てのフォントが分類されるまでステップS14及びステップS15の処理を行なう。
【0020】
次に、本実施形態1の文書処理装置で文書の編集を行う際における文字の書体/サイズおよび文字幅優先の指定について説明する。図5は本実施形態の文書処理装置において、文書編集時におけるフォントの指定手順を表す。ユーザは、本処理により編集中の各文字に対して書体/サイズの指定を行う。このとき、プリンタ内に存在しない書体が指定されたときは、プリンタ内の他のフォントが代替フォントとして使用され、印刷出力される。更に代替フォント使用時においては、印刷出力時において文字幅優先モードとするか否かを設定する。ここで、文字幅優先モードとは、文書処理装置本体の備えるフォントで展開した場合の文字幅の情報をプリンタ側に転送することにより、代替フォントを用いても文字の配置を保存し、文書全体の体裁を保つものである。又、文字幅優先モードでない場合は、代替フォントの有する文字幅にてイメージデータへの展開が実行される(以後、文字品位優先モードと称する)。
【0021】
ステップS20で、編集中の文書の文字又は文字列に対してフォント及びポイントサイズを設定するために、設定の対象となる文字または文字列を指定する。次に、ステップS21において、上述のステップS20で指定された文字又は文字列のフォント及びサイズを設定する。この設定方法の1例として、本実施形態1では図4に示すようなフォント設定用リストを表示し、このリストの中から所望の書体とポイントサイズを選択する。尚、図6のフォント設定用リストは前述の本体内フォントリスト及びプリンタ内フォントリストより生成され、フォント設定用リストにおいて、プリンタ内に存在するフォントについては「◎」が付されている。
【0022】
次に、ステップS22では、先のステップS21で指定されたフォントがプリンタ内に存在するか否かを判断する。プリンタ内に存在しないフォントが指定された場合は、ステップS23へ進み、オペレータは当該フォントが設定された文字又は文字列を、文字幅優先モードで出力するか文字品位優先モードで出力するかの出力モード指定を行なう。ステップS24では、フォント指定が終了したか否かを判断し、終了していなければステップS20に戻り上述の処理を繰り返す。また、フォント指定が終了していれば本処理を終了する。
【0023】
以上のようにしてフォント及び出力モードが指定された文書を印刷する際の手順について図7を参照して説明する。図7は本実施形態1における文書処理装置の印刷処理の手順を表すフローチャートである。
【0024】
ステップS30では印刷する文字に設定されているフォントがプリンタ6に存在するフォント(プリンタ内フォントと称する)か否かを判定する。プリンタ内フォントであればステップS31へ進み、フォント及びポイントサイズを指定するデータ(フォントタイプの指定データ)と、文字コードをプリンタ6に送信する。プリンタ6では転送された文字コードを指定されたフォント及びポイントサイズのドットパターンに展開する。
【0025】
一方、ステップS30にてプリンタ内フォントでないと判定されると、ステップS32へ進み、プリンタ6の有するフォントの中から代替として用いるフォント(代替フォント)を決定する。本実施形態1では、代替フォントの決定方法の一例として、図8に示されるような代替フォント対応表を用いる。尚、この代替フォント対応表は、オペレータにより予め作成しておくものとする。
【0026】
次に、ステップS33では、先のステップS23で指定された出力モード(文字幅優先/文字品位優先)を参照して、代替フォントを文字幅優先モードで出力するか文字品位優先モードで出力するかの判定を行う。文字幅優先モードは、先に記載したように、もともと指定された本体内フォントの文字並びを保つために、指定された本体内フォントの文字幅に代替フォントの文字幅(文字位置)を合わせて印刷するものである。一方、文字品位優先モードは、各文字の品位を優先し、プリンタ内の代替フォント本来の文字幅で印刷を行うものである。従って、文字品位優先モードでは、文書の1行あたりの文字数等が異なってくる可能性がある。
【0027】
ステップS33において文字品位優先モードが指定されている場合はステップS34へ進み、代替フォントのタイプを指定するデータと文字コードをプリンタ6に送信する。プリンタ6は、代替フォントとして指定されたフォントを用いて転送された文字コードをドットパターンに展開する。尚、このとき、当該代替フォントの有する文字幅に従ってドットパターンへの展開が実行される。
【0028】
一方、ステップS33において文字幅優先モードが指定されている場合、処理はステップS35へ進む。ステップS35において、もともと指定された本体内フォントの文字幅を使用した場合に、印刷すべき各文字がどれだけのドットサイズを必要とするかを計算する。そして、各々の文字が配置されるドット位置を求め、各文字が開始される位置、即ち文字開始位置を算出する。次にステップS36では、代替フォントのタイプを指定するデータと各文字の開始位置および文字コードをプリンタ6に送信する。プリンタ6は、該当フォントのドットパターンを各々の指定位置に展開して印刷する。これをステップS37で文書全体の文字が終了したと判定されるまで繰り返す。
【0029】
以上説明したように、本実施形態によれば、文字幅優先の出力モードが指定されている状態でプリンタ内に存在しないフォントが設定された場合でも、本体側の文字幅(文字配置)を保持することが可能となり、文書全体の体裁が保証されるという効果がある。
【0030】
<実施形態2>
上記実施形態1の文書処理装置によれば、文字幅優先か文字品位優先かのどちらか一方の出力モードを選択するように構成したが、文字幅及び文字品位の両方を保証する出力モードを備えるように構成することもできる。以下に説明する実施形態2の文書処理装置は、文字幅優先モード、文字品位優先モード、及び文字幅/文字品位優先モードの3つの出力モードを備えるものである。
【0031】
実施形態2の文書処理装置の概略のハード構成は実施形態1と同様でありここではその説明は省略する。又、フォントデータの分類手順、フォントの指定手順はそれぞれ実施形態1の図2及び図5と同様であるのでここでは説明を省略する。但し図5のステップS23における出力モードの設定においては、文字幅優先モード及び文字品位優先モードに、文字幅/文字品位優先モードが加わり、3種類の出力モードの中から選択して設定することになる。
【0032】
次に、実施形態2における印刷処理の手順について説明する。図9は実施形態2の文書処理装置の印刷処理手順を表すフローチャートである。ここで、図9のステップS40,S41,ステップS45〜ステップS50は、それぞれ実施形態1(図7)のステップS30,S31,ステップS32〜ステップS37と同様であるので、ここでは説明を省略する。
【0033】
ステップS40において、印刷しようとする文字がプリンタ内フォントでなければステップS42へ進む。ステップS42では、先のステップS23で指定された出力モードが文字幅/文字品位優先モードであるか否かを判断する。文字幅/文字品位優先モードが指定されている場合はステップS43へ進み、文書処理装置本体側でフォントデータをイメージに展開し、得られたビットマップデータをプリンタ6に転送する処理を行なう。このように処理することで、データ転送量が増加し、印刷処理のスピードは遅くなるが、文字の出力品位と文書全体の体裁が保持される。
【0034】
まず、ステップS43で文書処理装置側にて、本体内のフォントデータを使って印刷すべき文字コードを指定されたフォントを用いてドットパターンに展開する。ステップS44では、ステップS43で得られたビットマップデータをプリンタ6に送信する。プリンタ6はこのビットマップデータをそのまま印刷出力する。
【0035】
一方ステップS42において、文字幅/文字品位優先モードが指定されていない場合は、ステップS45へ進み、以降の処理(実施形態1のステップS32〜ステップS37の処理と同様の処理)を実行する。このように、出力モードが文字幅優先モードもしくは文字品位優先モードの場合は、プリンタ6内の適当なフォントを代替フォントとして使用することにより、印刷スピードを落とさないようにする。
【0036】
以上説明したように、実施形態1、実施形態2の文書処理装置によれば、印刷すべき文書内の各文字もしくは文字列毎に、体裁を優先させる(文字幅優先モード)か、個々の文字並びの体裁を優先させる(文字品位優先モード)かを指示できるようになり、保持するフォントの少ないプリンタでも出力品位の低下を防止するという効果がある。更に実施形態2では、必要に応じて文書処理装置側にてドットパターンへの展開を実行することにより、ユーザの要求により柔軟に対応することが可能となる。
【0037】
<実施形態3>
次に、実施形態3の文書処理装置について説明する。実施形態3の文書処理装置では、文字品位及び文字幅を共に保つために、プリンタ内に存在しないフォントが指定された場合は、文書処理装置のフォントデータを用いてイメージデータへの展開を行う。このような文書処理装置においてイメージデータへの展開処理を効率よく実行するために、フォントデータの展開処理を文書処理装置側で行うかプリンタ側で行うかの設定を自動的に行うものである。尚、実施形態3の文書処理装置の概略構成は実施形態1(図1)と同様であり、ここでは説明を省略する。
【0038】
図10は、実施形態3の文書処理装置におけるインターフェース情報の収集処理及びフォントデータの分類処理を表すフローチャートである。ステップS60において、接続されているプリンタとのデータの転送速度をプリンタインターフェース5より読み出す。ステップS61では、転送速度がいくらより大きければプリンタへドットイメージを転送しても問題ないかを決める閾値の決定を行う。
【0039】
閾値の決定方法の一例について説明する。閾値は、1回の印刷処理の平均データ量と、文書処理装置本体によるイメージ展開処理のスピード、プリンタによるイメージ展開処理のスピードに基づいて決定することができる。例えば、図11において、110aは、ある所定量のデータを本体側で展開処理した場合の、転送速度と印刷処理時間との関係を表す。また、110bは、所定量のデータをプリンタ側で展開処理した場合の、転送速度と印刷処理時間との関係を表す。そして、本体側で展開処理した場合の印刷処理時間がプリンタ側で展開処理した場合よりも短くなるところの転送速度を閾値として決定する。尚、この閾値の決定方法は上述の方法に限られるものではなく、例えばこれから処理するデータ量に応じて逐次算出する等、種々の変形が可能である。
【0040】
続くステップS62〜ステップS68は本体内フォントリスト及びプリンタ内フォントリストの作成と、本体内フォントリストの各フォントがプリンタ内に存在するフォントか否かで分類を行うものである。これらの処理は、実施形態1の図2のフローチャートにおける処理と同様であるのでここでは説明を省略する。
【0041】
次に本実施形態3の文書処理装置における印刷処理手順について説明する。印刷される文書データは各文字毎にフォントタイプが指定されている。ここで指定されるフォントタイプとは、フォントの種別及びサイズである。図12は実施形態3の文書処理装置の印刷処理の手順を表すフローチャートである。
【0042】
まず、ステップS80において、前述のステップS60で得られた転送速度と、ステップS61で決定された閾値とを比較する。この比較の結果、転送速度が閾値よりも小さい場合は、プリンタ内でフォントデータをイメージに展開した方が効率がよいので、プリンタ内でフォントデータを展開処理すべくステップS81へ進む。ステップS81では、印刷する文字に対して指定されたフォントタイプがプリンタ内に存在するか否かを、本体内フォントリストを用いて判断する。プリンタ6内に存在するフォントタイプであればステップS83へ進み、プリンタ6に対してフォントタイプの指定データと文字コードを送信する。プリンタ6は指定されたフォントタイプのフォントデータを用いて、指定された文字コードに該当する文字イメージへの展開を行う。
【0043】
ステップS81において、印刷しようとする文字のフォントがプリンタ内に存在しない場合はステップS82へ進む。ステップS82において、既にプリンタへ当該文字のフォントデータが転送されたか否かを判断する。既に転送されていれば上述のステップS83へ進む。また、ステップS82において、プリンタへのフォントデータが転送されていない場合は、ステップS84へ進み、当該文字のフォントデータをプリンタ6へ転送(ダウンロード)する。その後ステップS85へ進み、プリンタ6に対してダウンロードしたフォントタイプの指定データと文字コードを送信する。プリンタ6は指定されたフォントタイプのフォントデータを用いて、指定された文字コードに該当する文字イメージへの展開を行う。尚、プリンタ6は、ステップS84において転送されたフォントデータを記憶しておき、次回からは当該文字のフォントパターンについてはプリンタ6へのダウンロードが不要となる。
【0044】
一方、転送速度が閾値よりも大きい場合は、文書処理装置側でイメージデータへの展開を実行した方が効率がよく、処理をステップS80よりステップS86へ進める。ステップS86では、文書処理装置側にてフォントパターンの展開処理を実行する。そして、生成されたビットマップデータをプリンタ6へ送信する。
【0045】
ステップS88では、全ての文字に対して出力処理が完了したか否かを判定し、完了していなければステップS80へ戻り上述処理を繰り返す。一方、全ての文字について出力処理が完了していれば、本処理を終了する。
【0046】
以上説明したように実施形態3によれば、プリンタでイメージへの展開を行った場合と、文書処理装置でイメージへの展開を行った場合で、その処理時間が逆転する転送速度を閾値とする。そして、文書処理装置とプリンタ間のデータ転送速度が、その閾値よりも大きいか否かにより、イメージデータへの展開処理を文書処理装置側で行うかプリンタ側で行うかを決定する。このため、印刷処理における処理時間が短縮され、効率よく印刷処理を行うことができる。
【0047】
<実施形態4>
文書処理装置本体とプリンタがパラレルインターフェース等で接続され、高速データ転送が可能な場合には、転送速度は考慮せず、文書処理装置本体の処理能力に基づくデータと、プリンタの処理能力に基づくデータとを用いて、フォントデータの展開処理をどちらで行うかの判断を行うように構成してもよい。実施形態4ではこのような文書処理装置について説明する。尚、実施形態4の文書処理装置の概略構成は実施形態1と同様でありここでは説明を省略する。
【0048】
図13は、文書処理装置の処理能力に基づく本体性能値、プリンタの処理能力に基づくプリンタ性能値の算出手順、とフォントデータの分類手順とを表すフローチャートである。ここで、ステップS102〜S104、及びステップS107〜ステップS110に示される処理は、フォントリストの作成とフォントデータの分類処理を表し、前述の実施形態1の図2と同様であるので、ここでは説明を省略する。
【0049】
ステップS100では、本体のCPUの動作速度(CPU速度)とメモリサイズを調べ、これらの値から本体性能値を算出する(ステップS101)。ステップS101における本体性能値の算出方法の1例としては、
CPUのMIPS値×(10,000,000+メモリバイトサイズ)
という演算式が用いられる。ここで、10,000,000は、フォントパターンを展開するのにCPUスピードとメモリ量がどう影響するかによって決まる適当な定数である。
【0050】
又、ステップS105において、接続状態となったプリンタ6から、プリンタのCPU速度及びメモリサイズを得る。そして、ステップS106においてプリンタ性能値を算出する。プリンタ性能値を算出する方法の1例として、
プリンタ内CPUのMIPS値×2.0×(10,000,000+プリンタ内メモリバイトサイズ)
という演算式を用いる。ここで、2.0はプリンタ性能値を本体性能値に優先させるための適当な定数である。
【0051】
以上のようにして得られた本体性能値及びプリンタ性能値により、イメージデータへフォントデータを展開する処理を本体側で行うかプリンタ側で行うかを判断する。即ち、本体性能値がプリンタ性能値よりも大きければ文書処理装置本体側でイメージデータへの展開処理を行い、ビットマップデータをプリンタへ転送する。一方、プリンタ性能値が本体性能値と等しいか大きい場合は、プリンタ側でイメージデータへの展開処理を行う。
【0052】
図14は実施形態4の文書処理装置の印刷処理手順を表すフローチャートである。まず、ステップS120において、本体性能値とプリンタ性能値を比較する。この結果、プリンタ性能値の方が本体性能値よりも小さいか等しい場合は、プリンタ側でイメージへの展開を実行した方が効率がよく、処理をステップS121へ進める。ステップS121からステップS125の各処理は、上述のステップS81からステップS85(図13)と同様であり、ここでは説明を省略する。
【0053】
一方、ステップS120における比較の結果、本体性能値がプリンタ性能値よりも大きい場合は、文書処理装置本体内でイメージへの展開を行った方が効率がよく、処理をステップS126へ進める。ステップS126からステップS128の処理は、上述のステップS86からステップS88の処理と同様でありここでは説明を省略する。
【0054】
以上説明したように、実施形態4によれば、文書処理装置とプリンタ間のデータ転送が高速に行われるような場合に、文書処理装置の処理能力に基づく本体性能値と、プリンタの処理能力に基づくプリンタ性能値とを用いて、イメージへの展開処理を行う装置を選択する。従って、印刷処理にかかる時間が少なくなるように装置の選択がなされ、効率よく印刷処理を行うことが可能となる。
【0055】
<実施形態5>
実施形態5の文書処理装置は、展開するビットマップデータの大きさ(ビットマップサイズ)を算出し、このビットマップサイズと転送速度とに基づいてイメージデータへの展開処理を実行させる装置(文書処理装置本体かプリンタか)を決定する。
【0056】
図15は実施形態5の文書処理装置における印刷処理の手順を表すフローチャートである。ステップS140において、出力すべきフォントデータを本体内で展開した場合のビットマップサイズを算出する。そして、ステップS141で、このビットマップを転送する時間がある閾値よりも大きいか否かを判断する。ビットマップを転送する時間は(閾値/転送速度)により得られる。ここで閾値は、例えば図16のようにして求められる。図16は所定量のデータを印刷した場合の転送時間と印刷処理時間との関係を表す図である。同図において、転送時間がある閾値よりも小さくなると、本体側で処理した方が印刷処理に要する時間が短くなることが判る。この閾値をステップS141で用いる閾値とする。
【0057】
従って、ビットマップデータの転送時間がある閾値よりも大きい場合は、プリンタ側でイメージへの展開を実行した方が処理時間の点で有利であり、処理をステップS142へ進めて、プリンタ側でイメージへの展開を行うようにする。尚、ステップS142〜ステップS146の処理は、実施形態3のステップS81〜ステップS85と同様でありここでは説明を省略する。
【0058】
一方、ステップS141において、ビットマップデータの転送時間がある閾値よりも小さいかそれ以下の場合は、文書処理装置本体側でイメージデータへの展開を実行した方が処理時間の点で有利である。従って、処理をステップS147へ進め、本体側でイメージへの展開を行うようにする。尚、ステップS147〜ステップS149の各処理は、上述の実施形態3のステップS86〜ステップS88の各処理と同様であり、ここでは説明を省略する。
【0059】
以上説明したように、実施形態3から実施形態5によれば、フォントデータをイメージデータへ展開する装置が適切に選択され、多くのフォントデータを必要とする高品位の文書の印刷に必要となる処理時間を最小限にできる。
【0060】
尚、本発明は、複数の機器から構成されるシステムに適用しても1つの機器からなる装置に適用しても良い。また、本発明はシステム或いは装置に本発明により規定される処理を実行させるプログラムを供給することによって達成される場合にも適用できることはいうまでもない。
【0061】
【発明の効果】
以上説明したように本発明によれば、フォントイメージの展開を文書処理装置側で実行するか、プリンタ側で実行するかを適切に選択することが可能となり、効率よく印刷を実行することが可能となる。
【図面の簡単な説明】
【図1】本実施形態の文書処理装置の概略の構成を表すブロック図である。
【図2】フォントデータの分類を行う手順を表すフローチャートである。
【図3】本体内フォントリスト31のデータ構成を表す図である。
【図4】プリンタ内フォントリスト41のデータ構成を表す図である。
【図5】本実施形態の文書処理装置において、文書編集時におけるフォントの指定手順を表すフローチャートである。
【図6】フォント設定用リストの表示例を表す図である。
【図7】実施形態1の文書処理装置の印刷処理の手順を表すフローチャートである。
【図8】代替フォント対応表の表示例を表す図である。
【図9】実施形態2の文書処理装置の印刷処理手順を表すフローチャートである。
【図10】実施形態3の文書処理装置におけるインターフェース情報の収集処理及びフォントデータの分類処理を表すフローチャートである。
【図11】所定量のデータを展開処理した場合の転送速度と印刷処理時間との関係を表す図である。
【図12】実施形態3の文書処理装置の印刷処理の手順を表すフローチャートである。
【図13】実施形態4の文書処理装置における、各性能値の算出及びフォントデータの分類手順を表すフローチャートである。
【図14】実施形態4の文書処理装置の印刷処理手順を表すフローチャートである。
【図15】実施形態5の文書処理装置の印刷処理の手順を表すフローチャートである。
【図16】所定量のデータを印刷した場合の転送時間と印刷処理時間との関係を表す図である。
【符号の説明】
1 CPU
2 リードオンリーメモリ(ROM)
3 ランダムアクセスメモリ(RAM)
4 システムバス
5 プリンタインターフェース
6 プリンタ
7 ディスクインターフェース
8 ハードディスク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a document processing method and apparatus for printing out a created document.
[0002]
[Prior art]
2. Description of the Related Art In a conventional document processing apparatus, a method of executing document editing by using font data in the document processing apparatus and executing printing of a document by using font data in a printer during printing may be used. By using such a method, the transfer efficiency of data from the document processing apparatus to the printer at the time of printing is improved, and the advantage that the best output is obtained with font data having a resolution suitable for each printer is obtained.
[0003]
On the other hand, a document processing apparatus for creating a high-quality document has been requesting an enormous amount of font data, and the font data provided in a printer has become unable to cope with it. As a countermeasure, if there is a request to print with a font that the printer does not have, print using a font that is similar to the requested font among the fonts that the printer has as a substitute font. I have.
[0004]
[Problems to be solved by the invention]
By the way, when creating a high-quality document, a proportional font is often used to balance the size of characters. In this proportional font, each character has a different character width even with the same font and size. Such a proportional font is generally used particularly for European characters and the like, but is also being used for Japanese character fonts.
[0005]
When performing printing using the above-described proportional font, if another font provided in the printer is used, characters are developed with the character width of the substitute font. For this reason, the number of lines and the number of pages of the entire document may change, and the appearance of the entire document may change. Further, in order to maintain the appearance of the entire document, image data may be generated on the document processing apparatus side and transferred to the printer side, but a great deal of time is required for data transfer.
[0006]
Further, as described above, when the corresponding font is provided in the printer, the transfer efficiency is improved by executing the expansion of the font data on the printer side, and the time required for the printing process is shortened. However, since the processing speed of the printer is generally slower than that of the document processing device, if the font data to be processed is enormous, if the font data is expanded on the printer side, it takes much time for the processing. Become. In such a case, it is advantageous in terms of processing time to develop the font image on the document processing apparatus side and transfer the bitmap data to the printer.
[0007]
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is possible to appropriately select whether to execute expansion of a font image on a document processing apparatus side or on a printer side, and to efficiently execute printing. It is an object of the present invention to provide a document processing method and apparatus.
[0008]
[Means for Solving the Problems]
A document processing apparatus according to the present invention for achieving the above object has the following configuration. That is,
Determining means for determining whether to develop an image on the document processing device side or an image on the connected printer side based on the transfer speed between the document processing device and the connected printer;
A first output unit that outputs information for image development on the printer side to the printer when the determination unit determines to perform image development on the printer side;
A second output unit configured to output bitmap information obtained by developing a character to be printed into an image when the document processing apparatus determines to perform image development by the determination unit.
[0009]
A document processing apparatus according to another aspect of the present invention for achieving the above object has the following configuration. That is,
Determining means for determining, based on the performance of the document processing apparatus and the performance of the printer connected thereto, whether to develop the image on the document processing apparatus side or to develop the image on the connected printer side,
A first output unit that outputs information for image development on the printer side to the printer when the determination unit determines to perform image development on the printer side;
A second output unit configured to output bitmap information obtained by developing a character to be printed into an image when the document processing apparatus determines to perform image development by the determination unit.
[0010]
Furthermore, a document processing apparatus according to another aspect of the present invention for achieving the above object has the following configuration. That is,
Based on the bitmap size when expanded by the document processing device and the transfer speed between the document processing device and the connected printer, the image is expanded on the document processing device side or is expanded on the connected printer side Determining means for determining whether
A first output unit that outputs information for image development on the printer side to the printer when the determination unit determines to perform image development on the printer side;
A second output unit configured to output bitmap information obtained by developing a character to be printed into an image when the document processing apparatus determines to perform image development by the determination unit.
[0011]
It should be noted that the characters referred to in the present invention are a general term for all characters, symbols, and the like that constitute a document.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0013]
<First embodiment>
FIG. 1 is a block diagram illustrating a schematic configuration of the document processing apparatus according to the present embodiment. Reference numeral 1 denotes a main controller (CPU), which controls the entire document processing apparatus. Reference numeral 2 denotes a ROM (Read Only Memory), which stores various control programs executed by the CPU 1. The ROM 2 stores, for example, a document editing program including communication with a printer shown in FIGS. 2, 5, and 7 described below. Reference numeral 3 denotes a RAM (Random Access Memory), which temporarily stores various data and file data obtained via the system bus 4.
[0014]
Reference numeral 4 denotes a system bus, which is connected to each unit in the document processing apparatus so that data can be exchanged between the units. A printer interface 5 connects the printer 6 to the document processing apparatus. A printer 6 forms an image based on print data input via the printer interface 5 and executes printing on a recording medium. Here, the CPU 1 can communicate with the printer 6 via the printer interface 5 connected by the system bus 4, and exchanges data with the printer 6, creates documents, and prints according to the algorithms shown in FIGS. Perform processing. A disk interface 7 connects an external storage device such as a hard disk and the system bus 4. Reference numeral 8 denotes a hard disk connected by the disk interface 7, which stores a large amount of various file data such as document data and font data. Although the hard disk 8 is connected as an external storage device in this example, a floppy (registered trademark) disk or the like may be used.
[0015]
Next, the editing and printing processes of the document processing apparatus configured as described above will be described with reference to the flowcharts of FIGS.
[0016]
When the document processing device creates a document to be output using the printer 6, the document processing device classifies font data specified at the time of editing according to the flowchart of FIG. Here, the classification of the font data means that the font data provided in the document processing apparatus is classified into font data provided in the printer 6 and non-font data provided in the printer 6.
[0017]
FIG. 2 is a flowchart showing a procedure for classifying font data. In step S10, the font name and the point size (referred to as the main body font) of the font data existing in the hard disk 8 are read, and a main body font list is created. FIG. 3 is a diagram showing a data configuration of the font list 31 in the main body. As shown in FIG. 3, a font name 31a and a point size 31b are registered in the in-body font list. Further, ownership information 31c indicating whether or not the corresponding font exists in the connected printer 6 is registered. The registration of the possession information 31c is executed in step S15 described later.
[0018]
Next, in step S11, connection processing with the printer 6 is performed via the printer interface 5, and connection is confirmed in step S12. When the connection state is confirmed, the process proceeds to step S13, where the font name and the point size of the font data existing in the printer 6 are read, and a font list in the printer is created. FIG. 4 is a diagram showing the data configuration of the font list 41 in the printer. As shown in FIG. 4, a font name 41a and a point size 41b are registered in the font list 41 in the printer.
[0019]
In step S14, one font name and one size are read from the in-body font list 31, and it is determined whether or not the font name and size also exist in the in-printer font list 41. If the font and the point size are present in the font list in the printer, the font and the point size are marked in step S15. That is, information (“旨” in FIG. 3) indicating that fact is registered in the column of the proprietary information 31c of the in-body font list 31. In step S16, it is determined whether the classification has been completed for all of the font lists in the main body. If there is an unprocessed font, the process returns to step S14. In this way, the processes of steps S14 and S15 are performed until all the fonts in the in-body font list are classified.
[0020]
Next, a description will be given of the designation of the font type / size and the character width priority when editing a document in the document processing apparatus of the first embodiment. FIG. 5 shows a procedure for specifying a font when editing a document in the document processing apparatus according to the present embodiment. The user specifies the font / size for each character being edited by this processing. At this time, when a typeface that does not exist in the printer is specified, another font in the printer is used as a substitute font and printed. Further, when the substitute font is used, it is set whether or not the character width priority mode is set at the time of printout. Here, in the character width priority mode, the character arrangement information is preserved even if an alternative font is used by transferring the character width information when expanded with the font provided in the document processing apparatus main body to the printer side. It keeps the appearance. If the mode is not the character width priority mode, expansion to image data is performed using the character width of the substitute font (hereinafter, referred to as character quality priority mode).
[0021]
In step S20, a character or a character string to be set is specified in order to set a font and a point size for the character or the character string of the document being edited. Next, in step S21, the font and size of the character or character string specified in step S20 are set. As an example of this setting method, in the first embodiment, a font setting list as shown in FIG. 4 is displayed, and a desired font and point size are selected from this list. Note that the font setting list in FIG. 6 is generated from the above-described font list in the main body and the font list in the printer. In the font setting list, fonts existing in the printer are marked with “」 ”.
[0022]
Next, in step S22, it is determined whether or not the font specified in step S21 exists in the printer. If a font that does not exist in the printer is specified, the process proceeds to step S23, where the operator determines whether the character or character string in which the font is set is output in the character width priority mode or the character quality priority mode. Specify. In step S24, it is determined whether or not the font designation has been completed. If not, the process returns to step S20 to repeat the above-described processing. If the font designation has been completed, this processing is terminated.
[0023]
A procedure for printing a document in which a font and an output mode are designated as described above will be described with reference to FIG. FIG. 7 is a flowchart illustrating a procedure of a printing process of the document processing apparatus according to the first embodiment.
[0024]
In step S30, it is determined whether the font set for the character to be printed is a font existing in the printer 6 (referred to as a font in the printer). If the font is within the printer, the process proceeds to step S31, where data for designating the font and point size (designation data for the font type) and the character code are transmitted to the printer 6. The printer 6 develops the transferred character code into a dot pattern of the designated font and point size.
[0025]
On the other hand, if it is determined in step S30 that the font is not a printer font, the process proceeds to step S32, and a font (alternative font) to be used as a substitute is determined from the fonts of the printer 6. In the first embodiment, an alternative font correspondence table as shown in FIG. 8 is used as an example of a method for determining an alternative font. The substitute font correspondence table is created in advance by an operator.
[0026]
Next, in step S33, referring to the output mode (character width priority / character quality priority) specified in the previous step S23, it is determined whether the alternative font is output in the character width priority mode or the character quality priority mode. I do. In the character width priority mode, as described above, in order to maintain the character arrangement of the originally specified main body font, printing is performed by matching the character width of the specified main body font with the character width (character position) of the substitute font Is what you do. On the other hand, the character quality priority mode gives priority to the quality of each character and performs printing with the original character width of the substitute font in the printer. Therefore, in the character quality priority mode, the number of characters per line of the document may be different.
[0027]
If the character quality priority mode has been specified in step S33, the process proceeds to step S34, where data specifying the type of the substitute font and the character code are transmitted to the printer 6. The printer 6 develops the transferred character code into a dot pattern using the font designated as the substitute font. At this time, development into a dot pattern is executed according to the character width of the substitute font.
[0028]
On the other hand, if the character width priority mode is specified in step S33, the process proceeds to step S35. In step S35, when the character width of the font in the body designated originally is used, it is calculated how much dot size each character to be printed requires. Then, a dot position at which each character is arranged is obtained, and a position at which each character starts, that is, a character start position is calculated. Next, in step S36, the data for designating the type of the substitute font, the starting position of each character, and the character code are transmitted to the printer 6. The printer 6 develops and prints the dot pattern of the font at each designated position. This is repeated until it is determined in step S37 that the characters of the entire document have been completed.
[0029]
As described above, according to the present embodiment, even when a font that does not exist in the printer is set in a state where the character width priority output mode is specified, the character width (character arrangement) of the main body is retained. This makes it possible to ensure the appearance of the entire document.
[0030]
<Embodiment 2>
According to the document processing apparatus of the first embodiment, one of the output modes of the character width priority and the character quality priority is selected, but an output mode that guarantees both the character width and the character quality is provided. Can also be configured. The document processing apparatus according to the second embodiment described below has three output modes: a character width priority mode, a character quality priority mode, and a character width / character quality priority mode.
[0031]
The general hardware configuration of the document processing apparatus according to the second embodiment is the same as that of the first embodiment, and a description thereof will not be repeated. The procedure for classifying the font data and the procedure for specifying the font are the same as those in FIGS. 2 and 5 of the first embodiment, and therefore the description is omitted here. However, in setting the output mode in step S23 in FIG. 5, the character width / character quality priority mode is added to the character width priority mode and the character quality priority mode, and the output mode is selected and set from three types of output modes. .
[0032]
Next, a procedure of a printing process according to the second embodiment will be described. FIG. 9 is a flowchart illustrating a print processing procedure of the document processing apparatus according to the second embodiment. Here, steps S40, S41, and steps S45 to S50 in FIG. 9 are the same as steps S30, S31, and steps S32 to S37 in the first embodiment (FIG. 7), respectively, and a description thereof will be omitted.
[0033]
In step S40, if the character to be printed is not a printer font, the process proceeds to step S42. In step S42, it is determined whether or not the output mode specified in step S23 is the character width / character quality priority mode. If the character width / character quality priority mode is designated, the process proceeds to step S43, where the document processing apparatus develops the font data into an image, and transfers the obtained bitmap data to the printer 6. By performing such processing, the data transfer amount is increased, and the speed of the printing process is reduced, but the output quality of the characters and the appearance of the entire document are maintained.
[0034]
First, in step S43, the document processing device develops a character code to be printed using the font data in the main body into a dot pattern using the designated font. In step S44, the bitmap data obtained in step S43 is transmitted to the printer 6. The printer 6 prints out the bitmap data as it is.
[0035]
On the other hand, if the character width / character quality priority mode is not specified in step S42, the process proceeds to step S45, and the subsequent processing (the same processing as steps S32 to S37 of the first embodiment) is executed. As described above, when the output mode is the character width priority mode or the character quality priority mode, an appropriate font in the printer 6 is used as a substitute font so as not to lower the printing speed.
[0036]
As described above, according to the document processing apparatuses according to the first and second embodiments, for each character or character string in a document to be printed, the appearance is given priority (character width priority mode) or individual character arrangement is performed. It is possible to specify whether to give priority to the appearance (character quality priority mode), and it is possible to prevent the output quality from lowering even in a printer having a small number of fonts. Further, in the second embodiment, the document processing device develops the dot pattern as necessary, so that it is possible to flexibly respond to a user's request.
[0037]
<Embodiment 3>
Next, a document processing apparatus according to a third embodiment will be described. In the document processing apparatus of the third embodiment, in order to maintain both character quality and character width, when a font that does not exist in the printer is specified, the data is expanded into image data using the font data of the document processing apparatus. In such a document processing apparatus, in order to efficiently execute the expansion processing on the image data, the setting of whether the expansion processing of the font data is performed on the document processing apparatus side or on the printer side is automatically performed. Note that the schematic configuration of the document processing apparatus according to the third embodiment is the same as that of the first embodiment (FIG. 1), and a description thereof will not be repeated.
[0038]
FIG. 10 is a flowchart illustrating interface information collection processing and font data classification processing in the document processing apparatus according to the third embodiment. In step S60, the data transfer rate with the connected printer is read from the printer interface 5. In step S61, a threshold value is determined which determines whether the transfer of the dot image to the printer is acceptable if the transfer speed is higher.
[0039]
An example of a method for determining a threshold will be described. The threshold value can be determined based on the average data amount of one printing process, the speed of the image developing process by the main body of the document processing apparatus, and the speed of the image developing process by the printer. For example, in FIG. 11, reference numeral 110a denotes a relationship between the transfer speed and the print processing time when a predetermined amount of data is expanded on the main body side. Reference numeral 110b denotes a relationship between the transfer speed and the print processing time when a predetermined amount of data is expanded on the printer side. Then, the transfer speed at which the print processing time when the expansion processing is performed on the main body side is shorter than that when the expansion processing is performed on the printer side is determined as the threshold value. Note that the method of determining the threshold is not limited to the above-described method, and various modifications are possible, such as, for example, sequentially calculating according to the amount of data to be processed.
[0040]
In the following steps S62 to S68, a font list in the main body and a font list in the printer are created, and classification is performed based on whether each font in the font list in the main body is a font existing in the printer. These processes are the same as the processes in the flowchart of FIG. 2 of the first embodiment, and thus description thereof will be omitted.
[0041]
Next, a print processing procedure in the document processing apparatus according to the third embodiment will be described. In the document data to be printed, a font type is designated for each character. The font type specified here is the type and size of the font. FIG. 12 is a flowchart illustrating a procedure of a printing process of the document processing apparatus according to the third embodiment.
[0042]
First, in step S80, the transfer rate obtained in step S60 is compared with the threshold value determined in step S61. As a result of this comparison, if the transfer speed is smaller than the threshold value, it is more efficient to develop the font data into an image in the printer, so the process proceeds to step S81 to develop the font data in the printer. In step S81, it is determined whether or not the font type specified for the character to be printed exists in the printer, using the font list in the main body. If the font type exists in the printer 6, the process proceeds to step S83, where the font type designation data and the character code are transmitted to the printer 6. The printer 6 develops a character image corresponding to the specified character code using the font data of the specified font type.
[0043]
If the font of the character to be printed does not exist in the printer in step S81, the process proceeds to step S82. In step S82, it is determined whether the font data of the character has already been transferred to the printer. If it has already been transferred, the process proceeds to step S83 described above. If the font data has not been transferred to the printer in step S82, the process proceeds to step S84 to transfer (download) the font data of the character to the printer 6. Thereafter, the flow advances to step S85 to transmit the downloaded font type designation data and character code to the printer 6. The printer 6 develops a character image corresponding to the specified character code using the font data of the specified font type. The printer 6 stores the font data transferred in step S84, so that the font pattern of the character need not be downloaded to the printer 6 from the next time.
[0044]
On the other hand, if the transfer speed is higher than the threshold value, it is more efficient that the document processing device develops the image data, and the process proceeds from step S80 to step S86. In step S86, the document processing device executes a font pattern development process. Then, the generated bitmap data is transmitted to the printer 6.
[0045]
In step S88, it is determined whether or not the output process has been completed for all the characters. If not, the process returns to step S80 to repeat the above process. On the other hand, if the output processing has been completed for all the characters, this processing ends.
[0046]
As described above, according to the third embodiment, the threshold value is the transfer speed at which the processing time is reversed between the case where the image is developed by the printer and the case where the image is developed by the document processing device. . Then, it is determined whether the processing for developing the image data is performed on the document processing apparatus side or the printer side depending on whether or not the data transfer speed between the document processing apparatus and the printer is greater than the threshold value. Therefore, the processing time in the printing process is reduced, and the printing process can be performed efficiently.
[0047]
<Embodiment 4>
If the document processing device and the printer are connected by a parallel interface or the like and high-speed data transfer is possible, the transfer speed is not considered, and the data based on the processing capability of the document processing device and the data based on the processing capability of the printer , It may be configured to determine which of the font data expansion processing is to be performed. In a fourth embodiment, such a document processing apparatus will be described. The schematic configuration of the document processing apparatus according to the fourth embodiment is the same as that of the first embodiment, and a description thereof will not be repeated.
[0048]
FIG. 13 is a flowchart illustrating a main body performance value based on the processing capability of the document processing apparatus, a printer performance value calculation procedure based on the printer processing capability, and a font data classification procedure. Here, the processes shown in steps S102 to S104 and steps S107 to S110 represent the creation of the font list and the classification process of the font data, which are the same as those in FIG. 2 of the first embodiment. Is omitted.
[0049]
In step S100, the operation speed (CPU speed) and memory size of the CPU of the main body are checked, and the performance value of the main body is calculated from these values (step S101). As an example of the method of calculating the main body performance value in step S101,
MIPS value of CPU x (10,000,000 + memory byte size)
Is used. Here, 10,000,000 is an appropriate constant determined depending on how the CPU speed and the amount of memory affect the development of the font pattern.
[0050]
In step S105, the CPU speed and memory size of the printer are obtained from the connected printer 6. Then, in step S106, a printer performance value is calculated. As an example of a method for calculating a printer performance value,
MIPS value of CPU in printer x 2.0 x (10,000,000 + memory byte size in printer)
Is used. Here, 2.0 is an appropriate constant for giving priority to the printer performance value over the main body performance value.
[0051]
Based on the main body performance value and the printer performance value obtained as described above, it is determined whether the processing for expanding the font data to the image data is performed by the main body or the printer. That is, if the performance value of the main body is larger than the performance value of the printer, the document processing apparatus performs the processing for developing the image data and transfers the bitmap data to the printer. On the other hand, when the printer performance value is equal to or larger than the main body performance value, the printer performs a process of developing the image data.
[0052]
FIG. 14 is a flowchart illustrating a print processing procedure of the document processing apparatus according to the fourth embodiment. First, in step S120, the main body performance value and the printer performance value are compared. As a result, when the printer performance value is smaller than or equal to the main body performance value, it is more efficient to execute the image development on the printer side, and the process proceeds to step S121. The processes in steps S121 to S125 are the same as those in steps S81 to S85 (FIG. 13) described above, and a description thereof will not be repeated.
[0053]
On the other hand, as a result of the comparison in step S120, when the main body performance value is larger than the printer performance value, it is more efficient to develop the image in the document processing apparatus main body, and the process proceeds to step S126. The processing from step S126 to step S128 is the same as the processing from step S86 to step S88 described above, and the description is omitted here.
[0054]
As described above, according to the fourth embodiment, when data transfer between the document processing apparatus and the printer is performed at high speed, the main body performance value based on the processing capacity of the document processing apparatus and the processing capacity of the printer Based on the printer performance value based on the selected device, a device for performing an image development process is selected. Therefore, the device is selected so that the time required for the printing process is reduced, and the printing process can be performed efficiently.
[0055]
<Embodiment 5>
The document processing apparatus according to the fifth embodiment calculates the size (bitmap size) of bitmap data to be expanded, and executes the processing to expand the image data based on the bitmap size and the transfer speed (document processing). Device or printer).
[0056]
FIG. 15 is a flowchart illustrating a procedure of a printing process in the document processing apparatus according to the fifth embodiment. In step S140, a bitmap size when the font data to be output is expanded in the main body is calculated. Then, in a step S141, it is determined whether or not the time for transferring this bitmap is larger than a certain threshold. The time to transfer the bitmap is obtained by (threshold / transfer speed). Here, the threshold is obtained, for example, as shown in FIG. FIG. 16 is a diagram illustrating a relationship between a transfer time and a print processing time when a predetermined amount of data is printed. In the figure, if the transfer time is smaller than a certain threshold value, it can be understood that the time required for the print processing is shorter when the processing is performed on the main body side. This threshold is used as the threshold used in step S141.
[0057]
Therefore, when the transfer time of the bitmap data is longer than a certain threshold, it is more advantageous to execute the rasterization to the image on the printer side in terms of the processing time. To expand to. The processing in steps S142 to S146 is the same as that in steps S81 to S85 in the third embodiment, and a description thereof will not be repeated.
[0058]
On the other hand, in step S141, if the transfer time of the bitmap data is smaller than or less than a certain threshold, it is more advantageous in terms of the processing time to execute the development into the image data on the document processing apparatus main body side. Therefore, the process proceeds to step S147, and the main body develops the image. The processes in steps S147 to S149 are the same as the processes in steps S86 to S88 of the third embodiment, and a description thereof will not be repeated.
[0059]
As described above, according to the third to fifth embodiments, a device for developing font data into image data is appropriately selected, and is required for printing a high-quality document requiring a large amount of font data. Processing time can be minimized.
[0060]
The present invention may be applied to a system including a plurality of devices or an apparatus including a single device. Needless to say, the present invention can also be applied to a case where the present invention is achieved by supplying a program for causing a system or an apparatus to execute a process defined by the present invention.
[0061]
【The invention's effect】
As described above, according to the present invention, it is possible to appropriately select whether to execute expansion of a font image on the document processing apparatus side or on the printer side, and it is possible to perform printing efficiently. It becomes.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a document processing apparatus according to an embodiment.
FIG. 2 is a flowchart illustrating a procedure for classifying font data.
FIG. 3 is a diagram showing a data configuration of a font list 31 in the main body.
FIG. 4 is a diagram illustrating a data configuration of an in-printer font list 41.
FIG. 5 is a flowchart illustrating a procedure for specifying a font when editing a document in the document processing apparatus according to the embodiment.
FIG. 6 is a diagram illustrating a display example of a font setting list.
FIG. 7 is a flowchart illustrating a printing process performed by the document processing apparatus according to the first exemplary embodiment.
FIG. 8 is a diagram illustrating a display example of an alternative font correspondence table.
FIG. 9 is a flowchart illustrating a print processing procedure of the document processing apparatus according to the second exemplary embodiment.
FIG. 10 is a flowchart illustrating interface information collection processing and font data classification processing in the document processing apparatus according to the third embodiment.
FIG. 11 is a diagram illustrating a relationship between a transfer speed and a print processing time when a predetermined amount of data is expanded.
FIG. 12 is a flowchart illustrating a printing process performed by the document processing apparatus according to the third exemplary embodiment.
FIG. 13 is a flowchart illustrating a procedure for calculating each performance value and classifying font data in the document processing apparatus according to the fourth embodiment.
FIG. 14 is a flowchart illustrating a print processing procedure of a document processing apparatus according to a fourth embodiment.
FIG. 15 is a flowchart illustrating a procedure of a printing process of the document processing apparatus according to the fifth embodiment.
FIG. 16 is a diagram illustrating a relationship between a transfer time and a print processing time when a predetermined amount of data is printed.
[Explanation of symbols]
1 CPU
2 Read only memory (ROM)
3 Random access memory (RAM)
4 System bus
5 Printer interface
6 Printer
7 Disk interface
8 Hard disk

Claims (6)

文書処理装置と接続されたプリンタとの間の転送速度に基づいて文書処理装置側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定手段と、
前記決定手段によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力手段と、
前記決定手段により当該文書処理装置側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力手段とを備えることを特徴とする文書処理装置。
Determining means for determining whether to develop an image on the document processing device side or an image on the connected printer side based on the transfer speed between the document processing device and the connected printer;
A first output unit that outputs information for image development on the printer side to the printer when the determination unit determines to perform image development on the printer side;
A second output unit configured to output bitmap information obtained by developing a character to be printed into an image when the document processing apparatus determines to develop the image by the determination unit. Document processing device.
文書処理装置の性能及びこれに接続されたプリンタの性能に基づいて、文書処理装置側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定手段と、
前記決定手段によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力手段と、
前記決定手段により当該文書処理装置側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力手段とを備えることを特徴とする文書処理装置。
Determining means for determining, based on the performance of the document processing apparatus and the performance of the printer connected thereto, whether to develop the image on the document processing apparatus side or to develop the image on the connected printer side,
A first output unit that outputs information for image development on the printer side to the printer when the determination unit determines to perform image development on the printer side;
A second output unit configured to output bitmap information obtained by developing a character to be printed into an image when the document processing apparatus determines to develop the image by the determination unit. Document processing device.
文書処理装置で展開した場合のビットマップサイズと文書処理装置と接続されたプリンタとの間の転送速度とに基づいて文書処理装置側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定手段と、
前記決定手段によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力手段と、
前記決定手段により当該文書処理装置側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力手段とを備えることを特徴とする文書処理装置。
Based on the bitmap size when expanded by the document processing device and the transfer speed between the document processing device and the connected printer, the image is expanded on the document processing device side or is expanded on the connected printer side Determining means for determining whether
A first output unit that outputs information for image development on the printer side to the printer when the determination unit determines to perform image development on the printer side;
A second output unit configured to output bitmap information obtained by developing a character to be printed into an image when the document processing apparatus determines to develop the image by the determination unit. Document processing device.
文書処理方法と接続されたプリンタとの間の転送速度に基づいて文書処理方法側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定工程と、
前記決定工程によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力工程と、
前記決定工程により当該文書処理方法側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力工程とを備えることを特徴とする文書処理方法。
A determining step of determining whether to develop the image on the document processing method side or the image on the connected printer side based on the transfer speed between the document processing method and the connected printer;
A first output step of outputting information for image development on the printer side to the printer when it is determined by the determination step to perform image development on the printer side;
A second output step of outputting bitmap information obtained by developing a character to be printed into an image when the document processing method determines to develop an image in the document processing method. Document processing method.
文書処理方法の性能及びこれに接続されたプリンタの性能に基づいて、文書処理方法側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定工程と、
前記決定工程によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力工程と、
前記決定工程により当該文書処理方法側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力工程とを備えることを特徴とする文書処理方法。
A determination step of determining, based on the performance of the document processing method and the performance of a printer connected thereto, whether to develop the image on the document processing method side or to develop the image on the connected printer side;
A first output step of outputting information for image development on the printer side to the printer when it is determined by the determination step to perform image development on the printer side;
A second output step of outputting bitmap information obtained by developing a character to be printed into an image when the document processing method determines to develop an image in the document processing method. Document processing method.
文書処理方法で展開した場合のビットマップサイズと文書処理方法と接続されたプリンタとの間の転送速度とに基づいて文書処理方法側でイメージに展開するか接続されたプリンタ側でイメージに展開するかを決定する決定工程と、
前記決定工程によりプリンタ側でイメージ展開を行うべく決定された場合に、プリンタ側でイメージ展開するための情報を該プリンタに対して出力する第1の出力工程と、
前記決定工程により当該文書処理方法側でイメージ展開を行うべく決定された場合に、印刷すべき文字をイメージ展開して得られたビットマップ情報を出力する第2の出力工程とを備えることを特徴とする文書処理方法。
Based on the bitmap size when expanded by the document processing method and the transfer speed between the document processing method and the connected printer, the image is expanded on the document processing method side or is expanded on the connected printer side. A determining step of determining whether
A first output step of outputting information for image development on the printer side to the printer when it is determined by the determination step to perform image development on the printer side;
A second output step of outputting bitmap information obtained by developing a character to be printed into an image when the document processing method determines to develop an image in the document processing method. Document processing method.
JP2003110818A 2003-04-15 2003-04-15 Document processing method and apparatus Expired - Fee Related JP3577070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003110818A JP3577070B2 (en) 2003-04-15 2003-04-15 Document processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003110818A JP3577070B2 (en) 2003-04-15 2003-04-15 Document processing method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11147693A Division JP3774478B2 (en) 1993-05-13 1993-05-13 Document processing method and apparatus

Publications (2)

Publication Number Publication Date
JP2003288184A JP2003288184A (en) 2003-10-10
JP3577070B2 true JP3577070B2 (en) 2004-10-13

Family

ID=29244556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003110818A Expired - Fee Related JP3577070B2 (en) 2003-04-15 2003-04-15 Document processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3577070B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8615709B2 (en) 2010-04-29 2013-12-24 Monotype Imaging Inc. Initiating font subsets
US10115215B2 (en) 2015-04-17 2018-10-30 Monotype Imaging Inc. Pairing fonts for presentation
US11537262B1 (en) 2015-07-21 2022-12-27 Monotype Imaging Inc. Using attributes for font recommendations
US11334750B2 (en) 2017-09-07 2022-05-17 Monotype Imaging Inc. Using attributes for predicting imagery performance
US10909429B2 (en) 2017-09-27 2021-02-02 Monotype Imaging Inc. Using attributes for identifying imagery for selection
WO2019089578A1 (en) 2017-10-30 2019-05-09 Monotype Imaging Inc. Font identification from imagery

Also Published As

Publication number Publication date
JP2003288184A (en) 2003-10-10

Similar Documents

Publication Publication Date Title
JP3577070B2 (en) Document processing method and apparatus
JP3774478B2 (en) Document processing method and apparatus
JP3601684B2 (en) Printer
JP4336470B2 (en) Drawing control apparatus, drawing control method and program
JP3218088B2 (en) Printer
JPH07152521A (en) Printing system
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP3897539B2 (en) Print data generation method and apparatus
JP2001202362A (en) Character editing processor
JP2006154912A (en) Document display, print system, method and storage medium
JPH11212962A (en) Document processing device and method and storage medium
JP2606557B2 (en) DTP system
JPH10198531A (en) Network printer device
JP2002333964A (en) Distributed printing method
JP2002278719A (en) Printer, its control method and control program
JP3770580B2 (en) Image forming apparatus
JP3215225B2 (en) Printer server system and control method thereof
JP3854914B2 (en) Information processing system, information processing apparatus, control method therefor, and program
JPH0699615A (en) Data processing method of page printer
JP2004009580A (en) Output device, controlling method therefor, medium providing control program, and control program
JPH04123164A (en) Document processing system
JPH09231031A (en) Print system using advanced font cache
JPH0573552A (en) Method and device for document processing
JPH07152512A (en) Printing device
JPH06183074A (en) Character processing device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040702

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040708

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees