JP2008269157A - Print processor, print processing method and program - Google Patents

Print processor, print processing method and program Download PDF

Info

Publication number
JP2008269157A
JP2008269157A JP2007109522A JP2007109522A JP2008269157A JP 2008269157 A JP2008269157 A JP 2008269157A JP 2007109522 A JP2007109522 A JP 2007109522A JP 2007109522 A JP2007109522 A JP 2007109522A JP 2008269157 A JP2008269157 A JP 2008269157A
Authority
JP
Japan
Prior art keywords
electronic document
printing
font
print
printer
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.)
Pending
Application number
JP2007109522A
Other languages
Japanese (ja)
Inventor
Satoshi Kawahara
聡史 河原
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 JP2007109522A priority Critical patent/JP2008269157A/en
Publication of JP2008269157A publication Critical patent/JP2008269157A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the conventional burden placed on a user (selection of a print method and determination for the necessity of optimization processing of an electronic document) in an application which can perform both print by a printer driver and direct print by automatically determining which of the print methods is more suitable depending on print data, and automatically optimizing the print data according to the selected print method. <P>SOLUTION: The print processor having a plurality of print methods (e.g., printer driver and direct print) comprises an electronic document analysis means which analyzes an electronic document, a print method determination means which determines a print method using the analysis result, and an electronic document processing means which optimizes the electronic document according to the selected print method. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、中間言語で記述された電子文書を印刷する際に、プリントデータに変換してから印刷装置へ送信する方法と、プリントデータに変換せずに送信する方法の両方を実行可能な印刷処理装置における、印刷方法の選択に関するものである。   The present invention provides a print capable of executing both a method of transmitting an electronic document described in an intermediate language after being converted to print data and then transmitting to the printing apparatus, and a method of transmitting without converting to print data. The present invention relates to selection of a printing method in a processing apparatus.

従来、電子文書そのものの公知の技術としては、アドビ・システムズのポータブルドキュメントフォーマット(PDF)があるが、そのデータフォーマットは、URL(http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf)にて一般に公開しているものである。   Conventionally, as a known technique of an electronic document itself, there is a portable document format (PDF) of Adobe Systems, but its data format is URL (http://partners.adobe.com/asn/developer/acrosdk/DOCS). / Pdf spec.pdf).

このような電子文書にフォントを埋め込むことが可能に構成されている。これにより、電子文書を表示させる側の別のパソコンにインストールされていないフォントを電子文書の作成環境(フォントがインストールされている環境)と同じ表示/印刷結果を得たい場合の仕組みとしてフォントを埋め込むことが可能となっている。   A font can be embedded in such an electronic document. As a result, a font that is not installed on another computer that displays the electronic document is embedded as a mechanism for obtaining the same display / printing result as the electronic document creation environment (environment in which the font is installed). It is possible.

また、電子文書にフォントが埋め込まれていない場合は、内蔵フォントへの置き換えを行うフォント置換処理が行われる。   In addition, when a font is not embedded in the electronic document, a font replacement process for replacing with a built-in font is performed.

一方、パーソナルコンピュータ等の情報処理装置(以下、PCと呼ぶ)では、直接、あるいはネットワーク経由で接続されているプリンタに、電子文書を送信して印刷することができる。従来、PDFに代表される中間データフォーマットの電子文書を印刷する技術として、プリンタドライバ経由による印刷と、ダイレクトプリントがある。   On the other hand, an information processing apparatus (hereinafter referred to as a PC) such as a personal computer can send and print an electronic document directly or to a printer connected via a network. Conventionally, as a technique for printing an electronic document in an intermediate data format represented by PDF, there are printing via a printer driver and direct printing.

プリンタドライバ経由の印刷とは、一般的な印刷であり、PCにインストールされたプリンタドライバによって、電子文書をプリンタが認識可能なデータ、例えばPDL(Page Description Language)データに変換してからプリンタへ送信し、印刷するものである。   Printing via a printer driver is general printing. The printer driver installed on the PC converts the electronic document into data that the printer can recognize, such as PDL (Page Description Language) data, and then sends it to the printer. And printing.

ダイレクトプリントによる印刷とは、PC側でPDLデータに変換することなく、直接電子文書をプリンタへ送信する。プリンタは受信した電子文書を解釈し印刷を実行するものである。   In printing by direct printing, an electronic document is directly transmitted to a printer without being converted into PDL data on the PC side. The printer interprets the received electronic document and executes printing.

プリンタドライバによる印刷では、Windows(登録商標)等のOSのグラフィックエンジンを介してPDL変換(色空間や座要変換)を行うため、印刷品質(精度)がダイレクトプリントに比べて低い。例えば、色空間がCMYKであらわされている電子文書を印刷する際、一旦グラフィックエンジンによってOSの色空間(例えば、Windows(登録商標)であれば、RGB色空間)に変換され、再びプリンタの色空間(一般的には、CMYK色空間)に変換される。この色空間変換処理により画質が悪化する。   In printing by a printer driver, PDL conversion (color space and constellation conversion) is performed via a graphic engine of an OS such as Windows (registered trademark), so that print quality (accuracy) is lower than that of direct printing. For example, when printing an electronic document whose color space is expressed in CMYK, it is once converted into an OS color space (for example, RGB color space in the case of Windows (registered trademark)) by the graphic engine, and again the printer color. It is converted into a space (generally, a CMYK color space). This color space conversion process deteriorates the image quality.

一方で、プリンタドライバによる印刷では、電子文書内にフォントが埋め込まれておらず、かつそのフォントがプリンタに搭載されていない場合においても、PC側のシステムに搭載されているフォントをPDLに埋め込むことで意図通りの形状で出力が可能である。また、プリンタの解像度に応じて画像をダウンサンプリングしたPDLを作成するなど、処理の効率化を実現する機能も搭載されている。   On the other hand, when printing with a printer driver, even if the font is not embedded in the electronic document and the font is not installed in the printer, the font installed in the PC system is embedded in the PDL. The output can be made in the shape as intended. Also, a function for improving processing efficiency, such as creating a PDL by down-sampling an image according to the resolution of the printer, is provided.

ダイレクトプリントによる印刷では、電子文書内にフォントが埋め込まれておらず、かつそのフォントがプリンタに搭載されていない場合、プリンタが搭載している他のフォントへの置き換えを行うフォント置換処理が行われて印刷される。意図通りの出力結果を得るためには、フォントを埋め込んだ電子文書に変換する必要がある。このように、ダイレクトプリントの場合、意図通りの主力を得たり、効率的な処理を行うためには、フォントを埋め込んだり、画像をダウンサンプリングしたりと、事前に電子文書自体を加工してからプリンタに送信する必要がある。   In printing by direct printing, if a font is not embedded in the electronic document and the font is not installed in the printer, font replacement processing is performed to replace it with another font installed in the printer. Printed. In order to obtain an intended output result, it is necessary to convert it into an electronic document in which fonts are embedded. In this way, in the case of direct printing, in order to obtain the main force as intended and to perform efficient processing, the electronic document itself is processed in advance, such as embedding fonts or down-sampling the image. Need to send to printer.

なお、Portable Document Format(PDF)は、カリフォルニア州サンノゼのAdobe Systems Inc.の商標である。
特開2003−296068号公報
The Portable Document Format (PDF) is available from Adobe Systems Inc. of San Jose, California. Trademark.
JP 2003-296068 A

プリンタドライバによる印刷と、ダイレクトプリントの両方が行えるアプリケーションにおいて、ユーザは上記2つのうちから印刷方法を選択する必要がある。上述のように印刷品質の観点からは、ダイレクトプリントが望ましい。しかし、ダイレクトプリントによる印刷において、意図通りの出力結果を得るため、また効率よく処理するためには電子文書を事前に加工する前処理を加える必要がある(例えば、フォントを埋め込むなど)。また、場合によってはダイレクトプリントが行えないこともある(例えば、プリンタがダイレクトプリントをサポートしていない場合、文書内に埋め込み不可のフォントが含まれている場合など)。そのような場合、ユーザはプリンタドライバによる印刷を選択する必要がある。   In an application that can perform both printing by a printer driver and direct printing, the user needs to select a printing method from the above two. As described above, direct printing is desirable from the viewpoint of print quality. However, in order to obtain an output result as intended and to process efficiently in direct printing, it is necessary to add a pre-process for processing an electronic document in advance (for example, embedding fonts). In some cases, direct printing may not be performed (for example, when the printer does not support direct printing, or a font that cannot be embedded is included in the document). In such a case, the user needs to select printing by the printer driver.

従来、上記印刷方法の選択、及び電子文書の加工処理の要不要の判断はユーザに委ねられており、専門知識のないユーザにとっては負担となっていた。   Conventionally, it is left to the user to select the printing method and to determine whether the electronic document processing is necessary, and this has been a burden for users who do not have specialized knowledge.

本発明は、上記課題に鑑みてなされたもので、次のような構成からなる。すなわち、複数の印刷方法(例えば、プリンタドライバやダイレクトプリント)を持つ印刷処理装置であって、電子文書を解析する電子文書解析手段と、その解析結果を利用して印刷方法を決定する印刷方法判断手段と、電子文書を選択された印刷方法に合わせて最適化する電子文書加工手段と、を有することを特徴とする。   The present invention has been made in view of the above problems, and has the following configuration. That is, a print processing apparatus having a plurality of printing methods (for example, a printer driver and direct printing), and an electronic document analysis unit that analyzes an electronic document, and a printing method determination that determines a printing method using the analysis result And electronic document processing means for optimizing the electronic document in accordance with the selected printing method.

本発明によれば、電子文書をプリントデータに変換してからプリンタに送信する方法と、電子文書をそのままプリンタに送信する方法の、両方を選択可能な印刷処理装置において、印刷方法を自動的に選択し、また電子文書を印刷方法に合わせて自動的に最適化する方法を提供することができる。それによって、ユーザにかかる負担を軽減させることが可能となる。   According to the present invention, in a print processing apparatus capable of selecting both of a method of converting an electronic document into print data and then transmitting it to the printer, and a method of transmitting the electronic document as it is to the printer, the printing method is automatically selected. It is possible to provide a method for selecting and automatically optimizing an electronic document for a printing method. Thereby, it is possible to reduce the burden on the user.

(実施例1)
<システム構成例>
図1は、本発明の第一実施形態に係る印刷システム構成の一例を示すブロック図である。図1において、クライアント101は、画像処理装置としての機能を有するコンピュータ等の情報処理装置であり、画像形成が可能な画像形成装置であるプリンタ110と電話回線やLAN、インターネット等のネットワーク120を介して接続されている(PCとプリンタはネットワークを介さず直接接続さていても構わない)。ここでは、PC、プリンタともに1台ずつ示しているが、PC及びプリンタの両方もしくは何れかが複数存在するシステムであっても本発明は適用できる。
Example 1
<System configuration example>
FIG. 1 is a block diagram showing an example of a configuration of a printing system according to the first embodiment of the present invention. In FIG. 1, a client 101 is an information processing apparatus such as a computer having a function as an image processing apparatus. The client 101 is connected to a printer 110 which is an image forming apparatus capable of forming an image and a network 120 such as a telephone line, a LAN, or the Internet. (The PC and printer may be directly connected without going through the network). Here, one PC and one printer are shown, but the present invention can be applied to a system in which a plurality of PCs and / or printers exist.

図1において、クライアント101には、電子文書解析部101−1、電子文書加工処理部101−2、印刷方法判断処理部101−3、プリンタドライバ101−4、データ入出力処理部101−5、ディスプレイ103−8が接続された画像表示部103−7、等が含まれる。さらに、不図示の文書処理アプリケーションなどのアプリケーションプログラムにより作成されたアプリケーションデータファイルや、本実施例で用いるPDFに代表される中間ファイル等を格納するためのデータ格納部101−6等が含まれる。データ格納部101−6には、クライアント101のオペレーティングシステムが保持するフォントファイルなどのシステム情報が保存されている。またクライアント101の有するこれらソフトウェア資源およびハードウェア資源のデータベースも保存されている。   In FIG. 1, a client 101 includes an electronic document analysis unit 101-1, an electronic document processing unit 101-2, a printing method determination processing unit 101-3, a printer driver 101-4, a data input / output processing unit 101-5, An image display unit 103-7 to which a display 103-8 is connected is included. Furthermore, an application data file created by an application program such as a document processing application (not shown), a data storage unit 101-6 for storing an intermediate file represented by a PDF used in this embodiment, and the like are included. The data storage unit 101-6 stores system information such as font files held by the operating system of the client 101. A database of these software resources and hardware resources of the client 101 is also stored.

電子文書解析部101−1では、PDFやSVG等に代表される中間ファイル文書を解析し、文書内の埋め込みフォントの有無や、画像の解像度等の情報を取得する。以降、本実施例では電子文書がPDFであるものとして説明するが、SVGなど、他の中間ファイルでも本発明は適用できる。   The electronic document analysis unit 101-1 analyzes an intermediate file document represented by PDF, SVG, and the like, and acquires information such as the presence / absence of an embedded font in the document and the image resolution. In the following description, the electronic document is assumed to be PDF in the present embodiment, but the present invention can also be applied to other intermediate files such as SVG.

電子文書加工処理部101−2は、PDF内にフォントを埋め込む、PDF内に含まれる画像の解像度を変更する等、PDFファイルの加工を行う。   The electronic document processing unit 101-2 processes a PDF file such as embedding a font in the PDF or changing the resolution of an image included in the PDF.

印刷方法判断処理部101−3は、印刷するPDFファイルの印刷方法(プリンタドライバによる印刷かダイレクトプリント)を判定し、必要に応じて電子文書加工処理部101−2へPDFを加工するように指示する。   The printing method determination processing unit 101-3 determines the printing method (printing by the printer driver or direct printing) of the PDF file to be printed, and instructs the electronic document processing processing unit 101-2 to process the PDF as necessary. To do.

プリンタドライバ101−4は、PDFファイルをプリンタドライバによってPDLに変換する処理を行う。   The printer driver 101-4 performs processing for converting the PDF file into PDL by the printer driver.

データ入出力処理部101−5は、プリンタドライバで作成したPDLファイルや、PDFファイルそのものを、ネットワーク120を介してプリンタに送信する処理を行う。また、図1ではキーボードやポインティングデバイス等の入出力デバイスもデータ入出力処理部101−5に接続されているものとしている。   The data input / output processing unit 101-5 performs processing for transmitting the PDL file created by the printer driver and the PDF file itself to the printer via the network 120. In FIG. 1, input / output devices such as a keyboard and a pointing device are also connected to the data input / output processing unit 101-5.

<ハードウェアの構成例>
図2はクライアントとして使用可能な情報処理装置の構成を示すハードウェア構成図である。図1のクライアント101の構成は、図2の構成において、メモリ101bに格納されたプログラムを、CPU101aにより実行することで実現される。また、図2の構成を実現するためのプログラムは、ハードディスク等の外部メモリ101cに格納される。外部メモリ101cは、フレキシブルディスクやCDROM等の取り外し可能な記憶媒体を用いるものであっても良い。また、データ格納部101−6は、外部メモリ101cの一部領域として実現することができる。ディスプレイ101−8には画像が表示され、I/Oインターフェース101dを介してネットワーク120等に接続される。また、キーボードやポインティングデバイス101eにより、オペレータは必要に応じて入力を行う。
<Example of hardware configuration>
FIG. 2 is a hardware configuration diagram illustrating a configuration of an information processing apparatus that can be used as a client. The configuration of the client 101 in FIG. 1 is realized by executing the program stored in the memory 101b by the CPU 101a in the configuration in FIG. A program for realizing the configuration of FIG. 2 is stored in an external memory 101c such as a hard disk. The external memory 101c may use a removable storage medium such as a flexible disk or a CDROM. Further, the data storage unit 101-6 can be realized as a partial area of the external memory 101c. An image is displayed on the display 101-8 and connected to the network 120 or the like via the I / O interface 101d. In addition, the operator performs input as necessary using the keyboard and the pointing device 101e.

プリンタ110はクライアント101から受け取った印刷指示に従い印刷を行う。プリンタドライバ印刷によるPDL、またはダイレクトプリントによるPDF、もしくはその両方の印刷が実行可能であれば、構成等は特に問わないため、ここでは詳細な説明は省略する。   The printer 110 performs printing in accordance with the print instruction received from the client 101. Since the configuration is not particularly limited as long as PDL by printer driver printing, PDF by direct printing, or both can be performed, detailed description thereof is omitted here.

<本実施例における処理概要>
次に図4に示したフローチャートを用いて、クライアント101の処理概要を説明する。
<Outline of processing in this embodiment>
Next, the processing outline of the client 101 will be described using the flowchart shown in FIG.

クライアント101の処理は、ユーザが電子文書の印刷指示を行うことから開始される。   The processing of the client 101 is started when the user gives an instruction to print an electronic document.

まず、印刷方法判定処理部にて、印刷対象のPDFがプリンタドライバ経由の印刷とダイレクトプリントによる印刷のどちらが適しているかを判定する(S501)。なお実施例1では、PDF内にフォントが埋め込まれているかどうかを判定の基準とする。詳細な説明は後述する。   First, the printing method determination processing unit determines whether the PDF to be printed is suitable for printing via a printer driver or printing by direct printing (S501). In the first embodiment, whether or not a font is embedded in the PDF is used as a criterion for determination. Detailed description will be given later.

ダイレクトプリントが選択された場合S503へ移行し、プリンタドライバが選択された場合S504へ移行する(S502)。   When direct printing is selected, the process proceeds to S503, and when the printer driver is selected, the process proceeds to S504 (S502).

ダイレクトプリントが選択された場合、電子文書加工処理部101−2にてダイレクトプリントが効率的に行えるようにPDFを最適化する。なお、本実施例では、プリンタに搭載されていないかつPDF内に埋め込まれていないフォントを埋め込んだPDFを最適化したPDFという(S503)。詳細な処理は後述する。   When direct printing is selected, the electronic document processing unit 101-2 optimizes the PDF so that direct printing can be performed efficiently. In this embodiment, an optimized PDF is referred to as a PDF in which a font that is not installed in the printer and not embedded in the PDF is embedded (S503). Detailed processing will be described later.

プリンタドライバが選択された場合、プリンタドライバ101−4は、プリンタドライバによってPDF文書からPDLを作成し、S505へ移行する。プリンタドライバによる印刷のPDLの作成の仕組みついては後述する。   When the printer driver is selected, the printer driver 101-4 creates a PDL from the PDF document by the printer driver, and the process proceeds to S505. A mechanism for creating a PDL for printing by the printer driver will be described later.

次にデータ入出力部にて、PDFもしくはPDLデータをプリンタへ送信し、プリンタ110に印刷の実行処理を促す(S505)。   Next, the data input / output unit transmits PDF or PDL data to the printer, and prompts the printer 110 to execute printing (S505).

本実施例では、前述のようにフォントが文書内に埋め込まれているかを印刷方法の判定基準としている。そこで、まずPDFやSVGに代表される中間データフォーマットファイル(以下、中間ファイルと呼ぶ)における文字描画の仕組みについて説明する。   In this embodiment, as described above, whether the font is embedded in the document is used as a determination criterion for the printing method. Therefore, first, a description will be given of a character drawing mechanism in an intermediate data format file represented by PDF or SVG (hereinafter referred to as an intermediate file).

<中間ファイルにおける文字描画の仕組み>
PDF等の中間ファイルは、文書を構成するオブジェクトを記述する描画コマンドとオブジェクトの位置やサイズ等を示すオペランドとを含む。描画コマンドは通常、オブジェクトの種類に応じて、文字を出力する「文字系」、ビットマップ等の画像を出力する「イメージ系」、直線や円、四角形等の図形を出力する「グラフィック系」の3種類に大別される。
<Character drawing mechanism in intermediate file>
An intermediate file such as PDF includes a drawing command that describes an object constituting a document and an operand that indicates the position, size, and the like of the object. Drawing commands are usually "character system" that outputs characters, "image system" that outputs images such as bitmaps, and "graphic system" that outputs graphics such as lines, circles, and rectangles, depending on the type of object. There are three main types.

ここでMicroSoft社のWindows(登録商標)システムの「文字系」描画コマンドについて説明を行う。図3は、文字描画に必要な情報を表す模式図である。図3は一例であるが、一般的にも文字描画コマンドにはオペランドとして以下の4つのフォント情報が必要である。   Here, the “character system” drawing command of the Windows (registered trademark) system of MicroSoft will be described. FIG. 3 is a schematic diagram showing information necessary for character drawing. Although FIG. 3 shows an example, generally, the following four font information is required as an operand for a character drawing command.

(1)文字コード301:
文字を特定するための情報である。ASCII、ShiftJIS、Unicode等、予め定められたコード体系に従った文字コードが用いられる。
(1) Character code 301:
This is information for specifying characters. Character codes according to a predetermined code system such as ASCII, Shift JIS, Unicode, etc. are used.

(2)フォント属性302:
文字描画に適応するフォントフェース名、グリフへの修飾を表すイタリック/ボールド指定有無、文字の大きさを表すポイント数等の情報を含む。
(2) Font attribute 302:
It includes information such as font face names that are suitable for character drawing, italic / bold designation indicating glyph modification, and the number of points that represent character size.

(3)描画属性303:
文字の描画位置や、色、クリップの状態等を表す情報を含む。
(3) Drawing attribute 303:
It includes information representing the character drawing position, color, clip status, and the like.

(4)フォント形状情報304:
ゴシックや明朝等のフェース名で指定される文字描画形状を表す情報を含む。文字毎の描画形状情報(グリフと呼ぶ。)を有する。フォントの情報形式としては、大きくビットマップフォントとアウトラインフォントとに分かれ、TrueType、OPENTYPE等の各種フォーマットが定義されている。
(4) Font shape information 304:
It includes information representing a character drawing shape specified by a face name such as Gothic or Mincho. It has drawing shape information (called glyph) for each character. The font information format is broadly divided into bitmap fonts and outline fonts, and various formats such as TrueType and OPENTYPE are defined.

そして、これらの情報全てが揃わなければ、ユーザが意図した通りの文字描画は成立しない。中間ファイル内の文字描画データには、文字コード、フォント属性、描画属性の3つのフォント情報を用いた文字描画コマンドが含まれるのが普通である。そしてコンピュータ等において文字描画を実行する際、すなわち中間ファイルを再生する際には、文字描画コマンドに含まれるフォントフェース名をもとに、当該コンピュータを管理するOS(Operating System)が保持している同じフォントフェース名のフォント形状情報を参照して文字を描画するのが普通である。   If all of these pieces of information are not available, the character drawing as intended by the user cannot be established. The character drawing data in the intermediate file normally includes a character drawing command using three font information of a character code, a font attribute, and a drawing attribute. When character drawing is executed on a computer or the like, that is, when an intermediate file is reproduced, an OS (Operating System) that manages the computer is held based on the font face name included in the character drawing command. It is common to draw characters with reference to font shape information of the same font face name.

しかし、指定されたフォント形状情報が、すべてのコンピュータ環境(OSにより提供される資源と言うこともできる。)に存在するとはかぎらない。言い換えると、ユーザが中間ファイルを作成したコンピュータ環境(中間ファイル作成環境と呼ぶ。)に存在したフォント形状情報が、文字描画が行われるコンピュータ環境(文字描画実行環境という。)では存在していない場合もあり得る。描画が行われるコンピュータ環境に、アプリケーションデータを作成したユーザが意図したフォントが存在しない場合でも、ユーザが意図したフォントで文字描画を行うために、従来、フォント埋め込みという仕組みが知られている。以下、フォント埋め込みの仕組みについて説明する。   However, the specified font shape information does not necessarily exist in all computer environments (also referred to as resources provided by the OS). In other words, the font shape information that existed in the computer environment in which the user created the intermediate file (referred to as an intermediate file creation environment) does not exist in the computer environment in which character drawing is performed (referred to as a character drawing execution environment). There is also a possibility. Conventionally, a font embedding mechanism is known in order to perform character drawing with a font intended by the user even when the font intended by the user who created the application data does not exist in the computer environment where the drawing is performed. The font embedding mechanism will be described below.

文字描画データ(中間ファイル)内に、文字描画コマンド(文字コード、フォント属性、描画属性)以外に、フォント形状情報を埋め込ませ、文字描画データで使用されるフォント形状情報を文字描画実行環境に持ち込む方法である。文字描画データに埋め込まれたフォント形状情報は、文字描画実行環境において、当該環境により提供されるフォントとして登録され、文字描画データはそのフォントを用いて文字描画される。このため、フォント埋め込みは、文字描画データ内の文字描画コマンドで指定されたフォントが描画実行環境に存在しなくてもユーザが意図した出力を得られるという利点がある。しかし、フォント形状情報を文字描画データに内に埋め込むため、文字描画データ量が大きくなる傾向にある。特に日本語フォントや中国語フォントのような文字種の多いフォントを埋め込む場合にこの問題が顕著である。   In the character drawing data (intermediate file), in addition to the character drawing command (character code, font attribute, drawing attribute), font shape information is embedded, and the font shape information used in the character drawing data is brought into the character drawing execution environment. Is the method. The font shape information embedded in the character drawing data is registered as a font provided by the environment in the character drawing execution environment, and the character drawing data is drawn using the font. For this reason, font embedding has an advantage that the output intended by the user can be obtained even if the font specified by the character drawing command in the character drawing data does not exist in the drawing execution environment. However, since the font shape information is embedded in the character drawing data, the amount of character drawing data tends to increase. This problem is particularly noticeable when embedding fonts with many character types such as Japanese fonts and Chinese fonts.

次に印刷方法判定処理(S501)の詳細な手順を図5のフローチャートを用いて説明する。   Next, the detailed procedure of the printing method determination process (S501) will be described with reference to the flowchart of FIG.

まず、印刷方法判断処理部101−3は、クライアント101が利用可能なプリンタからプリンタ情報を取得する(S501−1)。取得する情報としては、例えば、プリンタが搭載しているフォントを列挙したプリンタ搭載フォントリストや、解像度、ダイレクトプリント機能の有無、といった情報である。なお、これらの情報は、予めデータ格納部101−6内に保持しておいてもよいし、印刷方法判定処理を行う際に、ネットワーク120を介して利用可能なプリンタに問い合わせてもよい。   First, the printing method determination processing unit 101-3 acquires printer information from a printer that can be used by the client 101 (S501-1). The acquired information includes, for example, a printer-mounted font list that lists fonts mounted on the printer, resolution, and the presence / absence of a direct print function. These pieces of information may be stored in the data storage unit 101-6 in advance, or an available printer may be inquired via the network 120 when performing the printing method determination process.

該当プリンタにダイレクトプリント機能があればS501−3へ移行し、なければプリンタドライバによる印刷処理と判定する(S501−2)。   If the corresponding printer has a direct print function, the process proceeds to S501-3, and if not, it is determined that the printing process is performed by the printer driver (S501-2).

次に、印刷方法判定処理部は、PDFデータの解析を電子文書解析部へ指示する。電子文書解析部は、PDFのバージョンやコマンドからデバイスが扱えるPDFであるかどうか判断する。また、PDF内の未埋め込みフォントを列挙し、未埋め込み埋め込みフォントリストを作成する(S501−3)。未埋め込みフォントの列挙は、使用されているフォントの文字コードとそのフォントフェース名に該当するフォント形状情報が文書内に含まれているかどうかを調べることによって可能である。   Next, the printing method determination processing unit instructs the electronic document analysis unit to analyze the PDF data. The electronic document analysis unit determines whether the PDF can be handled by the device from the PDF version and the command. Further, unembedded fonts in the PDF are listed, and an unembedded embedded font list is created (S501-3). It is possible to enumerate unembedded fonts by examining whether or not the font code information corresponding to the character code of the font being used and the font face name is included in the document.

S501−4では、プリンタ側で扱えるPDFである場合S501−5へ移行し、そうでなければプリンタドライバによる印刷処理と判定する。   In S501-4, if the PDF can be handled on the printer side, the process proceeds to S501-5. Otherwise, it is determined that the printing process is performed by the printer driver.

次に印刷方法判断処理部101は、埋め込み不可のフォントがPDF内に存在するか調べる。ここでいう埋め込み不可フォントとは、一般にライセンスフォントと呼ばれるもので、PDF等の電子文書に埋め込んではならないフォントである。フォントがライセンスフォントであるかどうかは、例えば、フォントがTrueTypeフォントであれば、TrueTypeフォントテーブル内のOS/2テーブル内に示されている。印刷方法判断処理部101は、埋め込み不可フォントが存在しなければ、ダイレクトプリントと判定し、そうでなければプリンタドライバによる印刷と判定する(S501−5)。   Next, the printing method determination processing unit 101 checks whether a font that cannot be embedded exists in the PDF. The non-embeddable font here is generally called a license font, and is a font that must not be embedded in an electronic document such as PDF. Whether or not the font is a license font is indicated in the OS / 2 table in the TrueType font table if the font is a TrueType font, for example. If there is no non-embeddable font, the printing method determination processing unit 101 determines direct printing, and otherwise determines printing by the printer driver (S501-5).

次に電子文書最適化処理(S503)の詳細な手順を図6のフローチャートを用いて説明する。本実施例では前述のように、未埋め込みフォントをPDF内に埋め込むことを最適化としているが、他に、プリンタの解像度に合わせてPDF内に含まれる画像データをダウンサンプリングするなどの処理を加えても構わない。   Next, the detailed procedure of the electronic document optimization process (S503) will be described with reference to the flowchart of FIG. In this embodiment, as described above, embedding an unembedded font in the PDF is optimized. However, in addition to this, processing such as down-sampling the image data included in the PDF according to the resolution of the printer is added. It doesn't matter.

まず、電子文書加工処理部101−3は、S501−3で取得した未埋め込みフォントリストを取得する(503−1)。   First, the electronic document processing unit 101-3 acquires the unembedded font list acquired in S501-3 (503-1).

未埋め込みのフォントがPDF内に存在しなかったならば、埋め込みの必要がないため、処理を終了する。そうでなければ、503−3へ移行する(503−2)。   If an unembedded font does not exist in the PDF, it is not necessary to embed, and the process is terminated. Otherwise, the process proceeds to 503-3 (503-2).

次に、電子文書加工処理部101−3は、S501−1で取得したプリンタ情報を参照し、プリンタ搭載フォントリストを取得する(S503−3)。   Next, the electronic document processing unit 101-3 refers to the printer information acquired in S501-1, and acquires a printer-mounted font list (S503-3).

次に、未埋め込みリストと、プリンタ搭載フォントリストを比較し(S503−4)、未埋め込みフォントリストの中にプリンタに搭載されていなフォントが存在すればS506−6へ移行し、そうでなければ埋め込む必要はないため処理を終了する(S506−5)。   Next, the non-embedded list is compared with the printer-mounted font list (S503-4). If there is a font not mounted on the printer in the non-embedded font list, the process proceeds to S506-6. Since it is not necessary to embed, the process ends (S506-5).

次に、電子文書加工処理部101−3は、未埋め込みリストのフォントをPDF内に埋め込む。ただし、未埋め込みフォントリストの中にシステムに存在しないフォントがあった場合、そのフォントについては埋め込まないものとする(S506−6)。   Next, the electronic document processing unit 101-3 embeds the font of the unembedded list in the PDF. However, if there is a font that does not exist in the system in the unembedded font list, the font is not embedded (S506-6).

次に、プリンタドライバ101−4による印刷のPDLの作成処理S504について説明する。本実施例において、プリンタドライバによる印刷は一般的な方法で構わないため、ここでは、一般的なプリンタドライバによる印刷処理の仕組みを説明する。   Next, PDL creation processing S504 for printing by the printer driver 101-4 will be described. In this embodiment, printing by the printer driver may be performed by a general method, and here, a mechanism of printing processing by a general printer driver will be described.

プリンタドライバ101−4による印刷処理は、電子文書等を扱うアプリケーション(図1においては不図示)から、印刷指示を行うことによって開始される。アプリケーションは、文字描画データ等を含むアプリケーションデータを解析して、例えばOS(基本ソフト)が提供するグラフィックエンジンをコールする。グラフィックエンジンは、プリンタの種類に合わせて用意されたプリンタドライバ101−4をロードし、アプリケーションの出力をプリンタドライバ101−4に受け渡す。そして、アプリケーションから受け取るGDI(Graphic Device Interface)関数からDDI(Device Driver Interface)関数に変換して、プリンタドライバ101−4へDDI関数を出力する。   Printing processing by the printer driver 101-4 is started by issuing a printing instruction from an application (not shown in FIG. 1) that handles an electronic document or the like. The application analyzes application data including character drawing data and calls a graphic engine provided by an OS (basic software), for example. The graphic engine loads the printer driver 101-4 prepared for the type of printer, and passes the output of the application to the printer driver 101-4. Then, the GDI (Graphic Device Interface) function received from the application is converted into a DDI (Device Driver Interface) function, and the DDI function is output to the printer driver 101-4.

プリンタドライバ101−4は、グラフィックエンジンから受け取ったDDI関数に基づいて、プリンタが認識可能な制御コマンド、例えばPDL(Page Description Language)に変換する。   Based on the DDI function received from the graphic engine, the printer driver 101-4 converts it into a control command that can be recognized by the printer, for example, PDL (Page Description Language).

本発明の実施形態における印刷処理装置のソフトウェアブロック図である。FIG. 2 is a software block diagram of a print processing apparatus according to an embodiment of the present invention. 本発明の実施形態における、印刷処理装置として使用可能なハードウェア構成例を示した図である。1 is a diagram illustrating an example of a hardware configuration that can be used as a print processing apparatus according to an embodiment of the present invention. 文字描画に必要な情報と、印刷結果の一例を示す図である。It is a figure which shows an example of the information required for character drawing, and a printing result. 本発明の実施形態における、印刷処理装置が行う処理の一連の流れを示すフローチャートを示す図である。FIG. 5 is a flowchart illustrating a series of processes performed by the print processing apparatus according to the embodiment of the present invention. 本発明の第一の実施形態における、印刷方法判定処理の一連の流れを示すフローチャートを示す図である。It is a figure which shows the flowchart which shows a series of flows of the printing method determination process in 1st embodiment of this invention. 本発明の実施形態における、フォント埋め込み処理の一連の流れを示すフローチャートを示す図である。It is a figure which shows the flowchart which shows a series of flows of the font embedding process in embodiment of this invention.

Claims (5)

印刷装置と印刷処理装置を通信可能に接続した印刷システムであって、
前記印刷処理装置は、電子文書をプリントデータに変換してから印刷装置に送信する印刷手段1と、前記電子文書をプリントデータに変換せずに印刷装置に送信する印刷手段2と、
前記電子文書を解析する電子文書解析手段と、
前記電子文書解析手段による解析結果を利用して前記2つの印刷方法から印刷方法を決定する印刷方法判断手段と、
前記電子文書を前記印刷方法判断手段によって選択された印刷方法に合わせて最適化する電子文書加工手段と、
前記電子文書をプリントデータに変換するプリンタデータ作成手段と、
前記電子文書または前記プリントデータを印刷装置に送信するデータ送信手段と、
を有することを特徴とする印刷システム。
A printing system in which a printing device and a print processing device are connected to be communicable,
The print processing apparatus includes: a printing unit 1 that converts an electronic document into print data and then transmits the print data to the printing apparatus; a printing unit 2 that transmits the electronic document to the printing apparatus without converting the print data;
Electronic document analysis means for analyzing the electronic document;
A printing method determination unit that determines a printing method from the two printing methods using an analysis result obtained by the electronic document analysis unit;
Electronic document processing means for optimizing the electronic document according to the printing method selected by the printing method determination means;
Printer data creating means for converting the electronic document into print data;
Data transmission means for transmitting the electronic document or the print data to a printing device;
A printing system comprising:
前記印刷方法判断手段は、フォントのグラフィック形状が電子文書内に含まれているかどうかを判断基準とする請求項1に記載の印刷システム。   The printing system according to claim 1, wherein the printing method determination unit determines whether or not a graphic shape of a font is included in the electronic document. 前記印刷方法判断手段は、プリンタデータに変換せずに印刷装置に送信する印刷方法を選択した場合、前記電子文書加工手段に前記電子文書内にフォントのグラフィック形状を埋め込むよう、または前記文書内に含まれる画像の解像度を印刷装置の解像度に合わせるよう、またはその両方を実行するように指示する電子文書加工指示手段を有することを特徴とする請求項1に記載の印刷システム。   When the printing method determination unit selects a printing method to be transmitted to a printing apparatus without converting into printer data, the electronic document processing unit embeds a graphic shape of a font in the electronic document, or in the document 2. The printing system according to claim 1, further comprising electronic document processing instruction means for instructing to adjust the resolution of the included image to the resolution of the printing apparatus, or both. 前記電子文書加工手段は、前記電子文書内にフォントのグラフィック形状を埋め込むフォント埋め込み手段と、
前記電子文書内に含まれる画像の解像度を印刷装置の解像度に合わせる画像解像度変換手段と、
を有することを特徴とする請求項1に記載の印刷システム。
The electronic document processing means includes a font embedding means for embedding a graphic shape of a font in the electronic document,
Image resolution conversion means for matching the resolution of the image contained in the electronic document to the resolution of the printing apparatus;
The printing system according to claim 1, further comprising:
前記電子文書は、PDF(Portable Document Format)である請求項1に記載の印刷システム。   The printing system according to claim 1, wherein the electronic document is a Portable Document Format (PDF).
JP2007109522A 2007-04-18 2007-04-18 Print processor, print processing method and program Pending JP2008269157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007109522A JP2008269157A (en) 2007-04-18 2007-04-18 Print processor, print processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007109522A JP2008269157A (en) 2007-04-18 2007-04-18 Print processor, print processing method and program

Publications (1)

Publication Number Publication Date
JP2008269157A true JP2008269157A (en) 2008-11-06

Family

ID=40048595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007109522A Pending JP2008269157A (en) 2007-04-18 2007-04-18 Print processor, print processing method and program

Country Status (1)

Country Link
JP (1) JP2008269157A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165261A (en) * 2009-01-16 2010-07-29 Canon Inc Printing control device and control method thereof
CN102375706A (en) * 2010-08-05 2012-03-14 佳能株式会社 Information processing apparatus and control method therefore
EP2933716A1 (en) 2014-04-14 2015-10-21 Konica Minolta, Inc. Image output system, image output method, document server, and non-transitory computer readable recording medium
US9579690B2 (en) 2010-05-20 2017-02-28 Nokia Technologies Oy Generating perceptible touch stimulus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165261A (en) * 2009-01-16 2010-07-29 Canon Inc Printing control device and control method thereof
US9579690B2 (en) 2010-05-20 2017-02-28 Nokia Technologies Oy Generating perceptible touch stimulus
CN102375706A (en) * 2010-08-05 2012-03-14 佳能株式会社 Information processing apparatus and control method therefore
US8867072B2 (en) 2010-08-05 2014-10-21 Canon Kabushiki Kaisha Information processing apparatus, control method therefor, and computer-readable medium
EP2933716A1 (en) 2014-04-14 2015-10-21 Konica Minolta, Inc. Image output system, image output method, document server, and non-transitory computer readable recording medium
US9830541B2 (en) 2014-04-14 2017-11-28 Konica Minolta, Inc. Image output system, image output method, document server, and non-transitory computer readable recording medium

Similar Documents

Publication Publication Date Title
US9013718B2 (en) Print control apparatus, control method thereof, and device driver for converting commands from one format to another
US9619440B2 (en) Document conversion apparatus
JP2005228243A (en) Information processor and control method therefor and program
US7861182B2 (en) Dynamic printer driver user interface generation
JP2007304764A (en) Image formation control data, printer, print server device, and print client device
US20100123935A1 (en) Document processing apparatus and document processing method
US20050105118A1 (en) Document processing apparatus and document processing method
JP2008269157A (en) Print processor, print processing method and program
JP2008186084A (en) Print setting instruction device, information processor, print processing system, print setting instruciton system and control program
US8049905B2 (en) Computer readable recording medium bearing a printer driver program and print data processing apparatus
JP2009053789A (en) Information processor, program, and computer-readable recording medium
JP6234417B2 (en) Information processing apparatus, control method therefor, and program
JP6437076B2 (en) Information processing apparatus, control method therefor, and program
JP2006244263A (en) Print system, information processor, print method and information processing program
JP2007102378A (en) Driver program
JP2006178622A (en) Document conversion method, document conversion apparatus, and program
JP4134496B2 (en) Character printing method
JP5576033B2 (en) Data processing device
JP2006172362A (en) Character processing device, character processing method, and program
JP2006154912A (en) Document display, print system, method and storage medium
JP2006218819A (en) Image formation apparatus, image processing apparatus, program, and image processing method
JP2020177298A (en) Image processing device, image processing method, and program
JP2001022618A (en) Data converting processor and recording medium
JP2005141448A (en) Print system, printer, client terminal, web print server, slip output server and program
JP2004262011A (en) Apparatus and method for printing color image, and storage medium

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201