JP2015018337A - Print execution controller, printing system, and program - Google Patents

Print execution controller, printing system, and program Download PDF

Info

Publication number
JP2015018337A
JP2015018337A JP2013143864A JP2013143864A JP2015018337A JP 2015018337 A JP2015018337 A JP 2015018337A JP 2013143864 A JP2013143864 A JP 2013143864A JP 2013143864 A JP2013143864 A JP 2013143864A JP 2015018337 A JP2015018337 A JP 2015018337A
Authority
JP
Japan
Prior art keywords
print
data
resolution
print data
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
JP2013143864A
Other languages
Japanese (ja)
Inventor
正通 新井
Masamichi Arai
正通 新井
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.)
Casio Computer Co Ltd
Casio Electronics Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics Co Ltd
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 Casio Computer Co Ltd, Casio Electronics Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013143864A priority Critical patent/JP2015018337A/en
Publication of JP2015018337A publication Critical patent/JP2015018337A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a print execution control technique controlling the execution of printing with respect to a printer, which is capable of printing a plurality of printing elements by freely combining a plurality of resolutions originally comprised by an operating system.SOLUTION: A print data acquisition section 101 executes each print instruction 105 (#1 to #N) according to each of a plurality of resolutions of print requirement data 104 with respect to a printer driver 103, and thereby acquires each piece of print data 106 (#1 to #N) which corresponds to the print requirement data 104 and corresponds to each resolution. A plural resolution mixed print data output section 102 selects and outputs, from the pieces of print data 106 including a resolution, from among the plurality of resolutions, associated with the type of a printing element, data for the type of each of a plurality of printing elements, thereby generates print data 107 which corresponds to the print requirement data 104 and in which the plurality of resolutions are mixed, and outputs the print data 107 to a printer corresponding to the printer driver 103.

Description

本発明は、プリンタに対する印刷の実行を制御する印刷実行制御装置、印刷システム、およびプログラムに関する。   The present invention relates to a print execution control apparatus, a print system, and a program for controlling execution of printing on a printer.

プリンタ装置は、高品質印刷の要求から高解像度の印刷に対応するものが多く存在するが、標準解像度(例えば600dpi(ドット/インチ)と高解像度(例えば1200dpi)を、印刷実行時にプリンタドライバの設定により切り替えて印刷しているのが実情である。   Many printer devices support high-resolution printing because of the demand for high-quality printing, but the standard resolution (for example, 600 dpi (dot / inch)) and high resolution (for example, 1200 dpi) are set by the printer driver when printing is performed. The actual situation is that printing is performed by switching.

高解像度(1200dpi)の方が、全体的に綺麗な印刷結果が得られる。しかし、高解像度は標準解像度(600dpi)に比べて、4倍のデータを処理してプリンタに出力することになり、印刷速度の低下や、スプールサイズの増加によるシステム全体への負荷の増大等が発生する。このため、常に高解像度での印刷が利用されているわけではなく、一般的に通常使われる解像度は600dpiであり、この解像度であればビジネス用途であれば概ね満足できる解像度となっている。   Higher resolution (1200 dpi) gives a better overall print result. However, the high resolution processes four times the data compared to the standard resolution (600 dpi) and outputs it to the printer. This causes a decrease in printing speed and an increase in the load on the entire system due to an increase in the spool size. Occur. For this reason, printing at a high resolution is not always used, and the resolution normally used is generally 600 dpi, and this resolution is generally satisfactory for business use.

しかしながら、日ごろ見慣れている文字(フォント)の品質に関して、標準解像度(600dpi)と高解像度(1200dpi)の差は歴然としており、文字に関しては高解像度の品質が望まれる。逆に、線画・図形に関しては、特定用途(設計図面や詳細な線画の表現が必要なデザイン画等)を除けば、標準解像度で必要十分な品質が得られる。   However, the difference between the standard resolution (600 dpi) and the high resolution (1200 dpi) is obvious with respect to the quality of characters (fonts) that are familiar to us, and high quality is desired for the characters. Conversely, with regard to line drawings / graphics, necessary and sufficient quality can be obtained with standard resolution except for specific applications (design drawings, design drawings that require detailed line drawing expression, etc.).

ホストコンピュータ側に文字フォントデータが保持され、印刷時にそのフォントイメージを利用して印刷する仕組みの場合、印刷の解像度と文字フォントの解像度は一致している必要があり、文字だけを高解像度で印刷することはできない。例えば、米国Microsoft Corporationが販売しているWindows operating system(「Windows」は米国Microsoft Corporationの米国およびその他の国における登録商標)の印刷システムなどが該当する。   If the font data is stored on the host computer side and printing is performed using the font image at the time of printing, the print resolution and the character font resolution must match, and only the characters are printed at high resolution. I can't do it. For example, a printing system of Windows operating system ("Windows" is a registered trademark of Microsoft Corporation in the United States and other countries) sold by Microsoft Corporation in the US corresponds to this.

このような制限に対して従来、文字または画像のイメージデータに対して解像度や階調の変換処理を施すことにより、文字とその他の画像を異なる解像度で表示する技術が知られている(例えば特許文献1から8に記載の技術)。   Conventionally, a technique for displaying characters and other images at different resolutions by performing resolution or gradation conversion processing on the character or image image data is known (for example, patents). Techniques described in documents 1 to 8).

特開2004−229160号公報JP 2004-229160 A 特開2004−304404号公報JP 2004-304404 A 特開2007−133757号公報JP 2007-133757 A 特開2007−020046号公報Japanese Patent Laid-Open No. 2007-020046 特開2007−028262号公報Japanese Patent Laid-Open No. 2007-028262 特開2008−035489号公報JP 2008-035489 A 特開2008−230146号公報JP 2008-230146 A 特開2009−027336号公報JP 2009-027336 A

しかし、上述した従来技術は、なんらかの変換を必要とするため、例えばオペレーティングシステムが本来備えている複数の解像度の文字フォントをその他の画像の解像度と自由に組み合わせて印刷することはできないという問題点を有していた。
また、ユーザが真に必要とする文字の解像度を得ることも難しいという問題点を有していた。
However, since the above-described conventional technology requires some conversion, for example, it is not possible to print character fonts having a plurality of resolutions originally provided in the operating system in combination with other image resolutions. Had.
In addition, it has a problem that it is difficult to obtain the character resolution that the user really needs.

本発明は、複数の印刷要素に対してオペレーティングシステムが本来備えている複数の解像度を自由に組み合わせて印刷可能とすることを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to enable printing by freely combining a plurality of resolutions originally provided by an operating system for a plurality of printing elements.

態様の一例では、印刷要求データの複数の解像度のそれぞれによる各印刷指示をプリンタドライバに対して行うことにより、印刷要求データに対応し、解像度ごとの各印刷データをそれぞれ取得する印刷データ取得部と、印刷要素の種類ごとに、複数の解像度のうちその種類が対応付けられた1つの解像度を有する印刷データからその印刷要素の種類のデータを選択して出力することにより、印刷要求データに対応しかつ複数の解像度が混在した印刷データを生成し、プリンタドライバに対応するプリンタに向けて出力する複数解像度混在印刷データ出力部とを備える。   In one example, a print data acquisition unit that acquires each print data for each resolution corresponding to the print request data by issuing a print instruction to each of the plurality of resolutions of the print request data to the printer driver. For each print element type, by selecting and outputting the print element type data from the print data having one resolution among the multiple resolutions, the print request type data can be handled. And a multi-resolution mixed print data output unit that generates print data in which a plurality of resolutions are mixed and outputs the print data to a printer corresponding to the printer driver.

本発明によれば、複数の印刷要素に対してオペレーティングシステムが本来備えている複数の解像度を自由に組み合わせて印刷することが可能となる。   According to the present invention, it is possible to print a plurality of print elements by freely combining a plurality of resolutions originally provided in the operating system.

本発明の実施形態の基本構成図である。It is a basic lineblock diagram of an embodiment of the present invention. 本実施形態のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of this embodiment. 一般的な印刷処理を示すフローチャートである。6 is a flowchart illustrating a general printing process. 本実施形態による複数解像度混在印刷処理を示すフローチャートである。6 is a flowchart illustrating a multi-resolution mixed printing process according to the present embodiment. 文字データインデックステーブルのデータ構成例を示す図である。It is a figure which shows the data structural example of a character data index table. 本実施形態により生成される各解像度のRAWデータの例を示す図である。It is a figure which shows the example of the raw data of each resolution produced | generated by this embodiment. 本実施形態により生成され出力される複数の解像度が混在したRAWデータの例を示す図である。It is a figure which shows the example of the raw data with which the some resolution produced | generated and output by this embodiment were mixed.

以下、本発明を実施するための形態について図面を参照しながら詳細に説明する。   Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施形態による印刷実行制御装置の基本構成図である。   FIG. 1 is a basic configuration diagram of a print execution control apparatus according to an embodiment of the present invention.

印刷データ取得部101は、印刷要求データ104の複数の解像度のそれぞれによる各印刷指示105(#1〜#N)をプリンタドライバ103に対して行うことにより、印刷要求データ104に対応し、解像度ごとの各印刷データ106(#1〜#N)をそれぞれ取得する。   The print data acquisition unit 101 provides each print instruction 105 (# 1 to #N) with each of a plurality of resolutions of the print request data 104 to the printer driver 103, thereby corresponding to the print request data 104 and for each resolution. Print data 106 (# 1 to #N) are acquired.

例えば、印刷データ取得部101は、印刷要求データ104の第1の解像度(例えば600dpi)による印刷指示および第1の解像度よりも高い第2の解像度(例えば1200dpi)による印刷指示をプリンタドライバ103に対してそれぞれ行う。これにより、印刷データ取得部101は、第1の解像度を有する第1の印刷データ106(#1)と第2の解像度を有する第2の印刷データ106(#2)とをそれぞれ取得する。   For example, the print data acquisition unit 101 sends a print instruction with a first resolution (for example, 600 dpi) and a print instruction with a second resolution (for example, 1200 dpi) higher than the first resolution to the printer driver 103. Do each. Accordingly, the print data acquisition unit 101 acquires the first print data 106 (# 1) having the first resolution and the second print data 106 (# 2) having the second resolution.

複数解像度混在印刷データ出力部102は、印刷要素の種類ごとに、複数の解像度のうちその種類が対応付けられた1つの解像度を有する印刷データ106からその印刷要素の種類のデータを選択して出力することにより、印刷要求データ104に対応し複数の解像度が混在した印刷データ107を生成し、プリンタドライバ103に対応するプリンタに向けて出力する。   The multi-resolution mixed print data output unit 102 selects and outputs the print element type data from the print data 106 having one resolution associated with the type of the plurality of resolutions for each type of print element. As a result, print data 107 corresponding to the print request data 104 and having a plurality of resolutions is generated and output to a printer corresponding to the printer driver 103.

例えば複数解像度混在印刷データ出力部102は、文字の印刷要素については第1の印刷データ106(#1)から文字のデータを選択して出力し、文字以外の印刷要素については第2の印刷データ(#2)から文字以外のデータを選択して出力する。これにより、複数解像度混在印刷データ出力部102は、印刷要求データ104に対応し第1の解像度と第2の解像度とが混在した印刷データ107を生成する。   For example, the multi-resolution mixed print data output unit 102 selects and outputs character data from the first print data 106 (# 1) for character print elements, and second print data for print elements other than characters. Select and output data other than characters from (# 2). As a result, the multi-resolution mixed print data output unit 102 generates print data 107 corresponding to the print request data 104 in which the first resolution and the second resolution are mixed.

この場合さらに、複数解像度混在印刷データ出力部102は、次のような処理を実行してよい。まず、複数解像度混在印刷データ出力部102は、第1の印刷データ106(#1)および第2の印刷データ106(#2)のぞれぞれにおいて、文字の印刷要素のデータに順番に登録番号を付与する文字データインデックス処理を実行する。次に、複数解像度混在印刷データ出力部102は、第1の印刷データ106(#1)において、文字の印刷要素のデータごとに、そのデータに付与された登録番号と同じ登録番号が付与されたデータを第2の印刷データ106(#2)から取得してそのデータによって差し替える。そして、複数解像度混在印刷データ出力部102は、その差し替えを行った第1の印刷データを、印刷要求データ104に対応し第1の解像度と第2の解像度とが混在した印刷データ107として、プリンタドライバ103に対応するプリンタに向けて出力する。   In this case, the multi-resolution mixed print data output unit 102 may execute the following process. First, the multi-resolution mixed print data output unit 102 sequentially registers the character print element data in each of the first print data 106 (# 1) and the second print data 106 (# 2). A character data index process for assigning a number is executed. Next, in the first print data 106 (# 1), the multi-resolution mixed print data output unit 102 is assigned the same registration number as the registration number assigned to the data for each character print element data. Data is acquired from the second print data 106 (# 2) and replaced with the data. Then, the multi-resolution mixed print data output unit 102 uses the replaced first print data as the print data 107 corresponding to the print request data 104 and mixed with the first resolution and the second resolution. Output to a printer corresponding to the driver 103.

ここまでの構成において、印刷データ取得部101は、プリンタドライバ103を介して各印刷データ106(#1〜#N)を、プリンタに固有のページ記述言語(Page Description Language、以下「PDL」と記述する)により記述されたプリンタが印刷処理できる形式のデータ(以下「RAWデータ」と記述する)106として取得してよい。さらに、複数解像度混在印刷データ出力部102は、印刷要素の種類ごとに、複数の解像度のうちその種類が対応付けられた1つの解像度を有する印刷データ106からPDLによってその印刷要素の種類が記述されたデータを選択して出力することにより、印刷要求データ104に対応し複数の解像度が混在しかつPDLにより記述されたRAWデータ107を生成してよい。   In the configuration described so far, the print data acquisition unit 101 describes each print data 106 (# 1 to #N) via the printer driver 103 as a page description language (hereinafter referred to as “PDL”) specific to the printer. May be acquired as data 106 in a format that can be printed by the printer described below (hereinafter referred to as “RAW data”) 106. Furthermore, the multi-resolution mixed print data output unit 102 describes, for each type of print element, the type of the print element from the print data 106 having one resolution among the plurality of resolutions associated with that type by PDL. By selecting and outputting the selected data, the RAW data 107 corresponding to the print request data 104 and having a plurality of resolutions mixed and described in PDL may be generated.

より具体的には、本実施形態の基本構成は、以下の構成を有する。   More specifically, the basic configuration of the present embodiment has the following configuration.

まず、アプリケーションプログラム108が、オペレーティングシステムのグラフィックデバイスインタフェース(以下「GDI」と記述する)109のアプリケーションプログラミングインタフェース(以下「API」と記述する)関数をコールすることにより印刷要求データ104を出力する。   First, the application program 108 outputs print request data 104 by calling an application programming interface (hereinafter referred to as “API”) function of a graphic device interface (hereinafter referred to as “GDI”) 109 of the operating system.

次に、GDI109が、API関数のコール104に基づいて、印刷要求データ104に対応する拡張メタファイル(Enhanced Meta File、以下「EMF」と記述する)112をオペレーティングシステムのスプーラ110に出力する。   Next, based on the API function call 104, the GDI 109 outputs an enhanced metafile (hereinafter referred to as “EMF”) 112 corresponding to the print request data 104 to the spooler 110 of the operating system.

次に、プリントプロセッサ111が、スプーラ110に蓄積されたEMF112を再生する。   Next, the print processor 111 reproduces the EMF 112 stored in the spooler 110.

次に、プリントプロセッサ111が印刷データ取得部101を呼び出す。これにより、印刷データ取得部101が、解像度(#i)ごとの印刷データの取得処理105(#i)(0≦i≦N)を実行する。この処理105(#i)では、印刷データ取得部101は、再生されたEMF112のレコードの再生命令に基づいて、GDI109に対してプリンタドライバ103のプリンタデバイスコンテキストにその解像度(#i)で描画を行わせる。そして、印刷データ取得部101は、これに対応してプリンタドライバ103が出力したその解像度(#i)を有しPDLにより記述されたRAWデータ106(#i)を出力する。   Next, the print processor 111 calls the print data acquisition unit 101. Thereby, the print data acquisition unit 101 executes the print data acquisition process 105 (#i) (0 ≦ i ≦ N) for each resolution (#i). In this process 105 (#i), the print data acquisition unit 101 renders the GDI 109 with the resolution (#i) in the printer device context of the printer driver 103 based on the playback instruction of the played record of the EMF 112. Let it be done. Corresponding to this, the print data acquisition unit 101 outputs the RAW data 106 (#i) having the resolution (#i) output by the printer driver 103 and described in PDL.

次に印刷データ取得部101が複数解像度混在印刷データ出力部102を呼び出す。これにより、複数解像度混在印刷データ出力部102が、印刷要求データ104に対応し複数の解像度が混在しPDLにより記述されたRAWデータ107を生成し、スプーラ110に出力する。   Next, the print data acquisition unit 101 calls the multi-resolution mixed print data output unit 102. As a result, the multi-resolution mixed print data output unit 102 generates RAW data 107 in which a plurality of resolutions are mixed and described in PDL corresponding to the print request data 104 and outputs it to the spooler 110.

ここで、一般的なオペレーティングシステムにおける例えば文字フォントの印刷は、フォントイメージを直接描画するのではなく、フォントイメージを外字のように番号をつけて登録し、実際の描画の際はその番号の文字を呼び出して描画している。以上に示した本実施形態の基本構成によれば、例えば、フォントイメージを登録する部分だけを、第2の解像度(例えば1200dpi)のPDLコマンドに差し替えるだけで、例えば文字だけが第2の解像度、その他は第1の解像度(例えば600dpi)での印刷が実現できる。   Here, for example, printing of a character font in a general operating system does not directly draw a font image, but registers a font image with a number such as an external character, and in the actual drawing, the character of that number is registered. Call and draw. According to the basic configuration of the present embodiment described above, for example, only the part for registering the font image is replaced with the PDL command of the second resolution (for example, 1200 dpi), for example, only the character has the second resolution, In other cases, printing at the first resolution (for example, 600 dpi) can be realized.

同一ページ上に異なる解像度が混在できる仕様のPDLの場合は、フォントイメージを直接描画することも可能ではある。しかし、この方式では、文字を描画するたびに解像度の変更指定と元に戻すコマンドが必要になり、煩雑かつ不具合を起こす要因になり得る。
これに対して、本実施形態では、文字フォント等の登録するイメージのみ解像度を変更することで、全体の描画解像度は、固定のままで処理できるので、煩雑さの軽減、コマンド処理による速度向上、不具合の未然防止に効果が期待できる。
In the case of PDL having specifications that allow different resolutions to be mixed on the same page, it is also possible to directly draw a font image. However, with this method, every time a character is drawn, it is necessary to specify a change in resolution and a command to restore it, which can be a cause of trouble and trouble.
On the other hand, in the present embodiment, by changing the resolution of only the image to be registered, such as a character font, the entire drawing resolution can be processed while being fixed, so the complexity is reduced, the speed is improved by command processing, The effect can be expected to prevent defects.

また、高速に印字したい場合や、あえて低い解像度で印刷したい場合がよくある。例えば、1ドットの線や点を描画する印刷データの場合、600dpiの1ドットでは小さ(細)すぎて認識しづらいというようなケースである。その場合、300dpiでの印刷を行うことになるが、300dpiの文字フォントは著しく品質が劣化している。特に、アウトラインフォントの場合は、300dpiで10ポイント以下の小さな文字を表現することは難しい。このようなケースにおいても、本実施形態の方式を適用することで、全体の印刷は300dpiで文字だけを600dpiで印刷できるので、満足が得られる印刷物になる。   Also, there are many cases where it is desired to print at high speed or to print at a lower resolution. For example, in the case of print data for drawing a line or a dot of 1 dot, it is a case where 1 dot of 600 dpi is too small (thin) and difficult to recognize. In that case, printing is performed at 300 dpi, but the quality of the 300 dpi character font is significantly degraded. In particular, in the case of an outline font, it is difficult to express a small character of 10 points or less at 300 dpi. Even in such a case, by applying the method of the present embodiment, the entire printing can be performed at 300 dpi and only the characters can be printed at 600 dpi.

さらに、本実施形態では、文字とそれ以外だけではなく、文字、グラフィック、写真というように、3種類以上の複数の印刷要素に対してオペレーティングシステムが本来備えている複数の解像度を自由に組み合わせて印刷することが可能となる。   Furthermore, in this embodiment, not only characters and the others but also characters, graphics, and photographs can be freely combined with a plurality of resolutions originally provided by the operating system for a plurality of three or more types of printing elements. It becomes possible to print.

図2は、上述した図1で示される印刷実行制御装置の実施形態の機能を実現するホストコンピュータ200と、プリンタ装置210とからなる印刷システムのハードウェア構成図である。   FIG. 2 is a hardware configuration diagram of a printing system including a host computer 200 that realizes the functions of the embodiment of the print execution control apparatus shown in FIG. 1 and a printer apparatus 210.

ホストコンピュータ200は、CPU201、ROM202、RAM203、入力装置204、出力装置205、USBまたはLANインタフェース(以下、「USB/LAN I/F」と称する)206、外部記憶装置207、および可搬記録媒体209が挿入される可搬記録媒体駆動装置208を備え、これらがバスによって接続された構成を有する。   The host computer 200 includes a CPU 201, ROM 202, RAM 203, input device 204, output device 205, USB or LAN interface (hereinafter referred to as “USB / LAN I / F”) 206, external storage device 207, and portable recording medium 209. Is inserted into the portable recording medium drive device 208, and these are connected by a bus.

図2に示されるホストコンピュータ200の構成は図1の印刷実行制御装置の実施形態の機能を実現できるハードウェア構成の一例であり、そのようなホストコンピュータ200はこの構成に限定されるものではない。   The configuration of the host computer 200 shown in FIG. 2 is an example of a hardware configuration capable of realizing the functions of the embodiment of the print execution control apparatus of FIG. 1, and such a host computer 200 is not limited to this configuration. .

CPU(中央演算処理装置)201は、当該ホストコンピュータ200全体の制御を行う。RAM(ランダムアクセスメモリ)203は、プログラムの実行、データ更新等の際に、ROM(リードオンリーメモリ)202または外部記憶装置207(或いは可搬記録媒体209)に記憶されているプログラム又はデータを一時的に格納するメモリである。
CUP201は、図1の各機能部のプログラムをROM202または外部記憶装置207(或いは可搬記録媒体209)からRAM203に読み出して実行することにより、ホストコンピュータ200全体の制御を行う。
また、RAM203には、本実施形態で処理される印刷データ(図1の印刷データ106(#1〜#N)または107)を記憶するためのスプール領域が確保されている。このスプール領域は、図1のスプーラ110によって管理される。
A CPU (Central Processing Unit) 201 controls the entire host computer 200. A RAM (Random Access Memory) 203 temporarily stores a program or data stored in a ROM (Read Only Memory) 202 or an external storage device 207 (or a portable recording medium 209) when executing a program, updating data, or the like. This is a memory to store automatically.
The CUP 201 controls the entire host computer 200 by reading the program of each functional unit in FIG. 1 from the ROM 202 or the external storage device 207 (or the portable recording medium 209) to the RAM 203 and executing it.
The RAM 203 has a spool area for storing print data (print data 106 (# 1 to #N) or 107 in FIG. 1) processed in the present embodiment. This spool area is managed by the spooler 110 of FIG.

入力装置204は図1のアプリケーションプログラム108やプリンタドライバ103の実行時に、ユーザがホストコンピュータ200に対して各種入力を行うための装置であり、出力装置205は例えば上記入力時の確認や実行データ等の表示を行うディスプレイ装置である。   The input device 204 is a device for a user to make various inputs to the host computer 200 when the application program 108 and the printer driver 103 in FIG. 1 are executed, and the output device 205 is, for example, confirmation at the time of input and execution data. It is a display apparatus which displays.

外部記憶装置207は、例えばハードディスク記憶装置またはソリッドディスク記憶装置であり、図1の各機能部を実現するプログラムデータや各種データを記憶する。   The external storage device 207 is, for example, a hard disk storage device or a solid disk storage device, and stores program data and various data for realizing each functional unit in FIG.

可搬記録媒体駆動装置208は、光ディスクやSDRAM、コンパクトフラッシュ(登録商標)等の可搬記録媒体209を収容するもので、外部記憶装置207の補助の役割を有する。また、上記各種プログラムのインストール等を行う。   The portable recording medium driving device 208 accommodates a portable recording medium 209 such as an optical disk, SDRAM, or Compact Flash (registered trademark), and has an auxiliary role for the external storage device 207. In addition, the above various programs are installed.

USB/LAN I/F206は、例えばUSB(ユニバーサルシリアルバス)、LAN(ローカルエリアネットワーク)、又はWiFi無線の通信回線を接続するための装置である。ホストコンピュータ200とプリンタ装置210も、このUSB/LAN I/F206を用いて接続される。   The USB / LAN I / F 206 is a device for connecting, for example, a USB (Universal Serial Bus), a LAN (Local Area Network), or a WiFi wireless communication line. The host computer 200 and the printer device 210 are also connected using this USB / LAN I / F 206.

本実施形態による印刷システムは、図4のフローチャートで実現される図1の各機能部に対応する機能を搭載したプログラムをCPU201が実行することで実現される。そのプログラムは、例えば外部記憶装置207や可搬記録媒体209に記録して配布してもよく、或いはUSB/LAN I/F206によりLANやインターネット等のネットワークから取得できるようにしてもよい。   The printing system according to the present embodiment is realized by the CPU 201 executing a program having functions corresponding to the respective functional units in FIG. 1 realized by the flowchart in FIG. The program may be distributed by being recorded in, for example, the external storage device 207 or the portable recording medium 209, or may be acquired from a network such as a LAN or the Internet by the USB / LAN I / F 206.

プリンタ装置210は、CPU211、ROM212、RAM213、USB/LAN I/F214、プリンタエンジンインタフェース(以下、「プリンタエンジンI/F」と称する)215、プリント制御LSI216、およびプリンタエンジン217を備え、これらがバスによって接続された構成を有する。   The printer apparatus 210 includes a CPU 211, ROM 212, RAM 213, USB / LAN I / F 214, printer engine interface (hereinafter referred to as “printer engine I / F”) 215, print control LSI 216, and printer engine 217, which are buses. It has the structure connected by.

図2に示されるプリンタ装置210の構成は本実施形態の印刷システムを実現できるプリンタ装置210の一例であり、そのようなプリンタ装置210はこの構成に限定されるものではない。   The configuration of the printer apparatus 210 shown in FIG. 2 is an example of the printer apparatus 210 that can implement the printing system of the present embodiment, and such a printer apparatus 210 is not limited to this configuration.

CPU211は、当該プリンタ装置210全体の制御を行う。RAM213は、印刷制御プログラムの実行、データ更新等の際に、ROM212に記憶されているプログラム又はデータを一時的に格納するメモリである。
CUP211は、特には図示しない印刷制御のためのプログラムをROM212からRAM213に読み出して実行することにより、プリンタ装置210全体の制御を行う。
RAM213には、ホストコンピュータ200からプリンタ装置210に転送された印刷データを記憶するための画像メモリ領域が確保されている。
The CPU 211 controls the printer apparatus 210 as a whole. The RAM 213 is a memory that temporarily stores a program or data stored in the ROM 212 when executing a print control program, updating data, or the like.
The CUP 211 controls the entire printer apparatus 210 by reading a program for print control (not shown) from the ROM 212 to the RAM 213 and executing it.
The RAM 213 has an image memory area for storing print data transferred from the host computer 200 to the printer apparatus 210.

USB/LAN I/F214は、ホストコンピュータ200内のUSB/LAN I/F206と同様の通信回線を接続するための装置である。   The USB / LAN I / F 214 is a device for connecting a communication line similar to the USB / LAN I / F 206 in the host computer 200.

ホストコンピュータ200のRAM203内のスプール領域からUSB/LAN I/F206を介して送信された印刷データは、プリンタ装置210において、CPU211の制御に従って、USB/LAN I/F214を介してRAM213内の画像メモリ領域に書き込まれる。その後、プリント制御LSI 216が、RAM213内の画像メモリ領域に書き込まれた印刷データを、プリンタエンジンI/F215を介して、プリンタエンジン217に転送する。
プリンタエンジン217は、印刷機構を備え、上述のようにRAM213内の画像メモリ領域から転送された印刷データを紙媒体に印刷する。
Print data transmitted from the spool area in the RAM 203 of the host computer 200 via the USB / LAN I / F 206 is transferred to the image memory in the RAM 213 via the USB / LAN I / F 214 in the printer device 210 under the control of the CPU 211. Written to the area. Thereafter, the print control LSI 216 transfers the print data written in the image memory area in the RAM 213 to the printer engine 217 via the printer engine I / F 215.
The printer engine 217 includes a printing mechanism, and prints print data transferred from the image memory area in the RAM 213 on a paper medium as described above.

図3は、一般的な印刷処理を示すフローチャートである。   FIG. 3 is a flowchart showing a general printing process.

まず、アプリケーションプログラムが印刷を行う際、アプリケーションプログラム処理によって、印刷要求データが、オペレーティングシステムのGDIに、GDIのAPI関数のコールによって出力される(図3のステップS301)。   First, when the application program performs printing, print request data is output to the GDI of the operating system by a call of the GDI API function by the application program processing (step S301 in FIG. 3).

GDIは、上記API関数のコールをEMF形式に変換して、オペレーティングシステムのスプーラに出力する(図3のステップS302)。   The GDI converts the API function call into the EMF format and outputs it to the spooler of the operating system (step S302 in FIG. 3).

スプーラは、EMF形式の印刷データをスプールファイルとして蓄積し、印刷ジョブとして認識、管理を行う(図3のステップS303)。   The spooler accumulates EMF format print data as a spool file, and recognizes and manages it as a print job (step S303 in FIG. 3).

プリントプロセッサは、スプーラに蓄積されたEMFデータを再生する(図3のステップS304)。   The print processor reproduces the EMF data stored in the spooler (step S304 in FIG. 3).

GDIは、EMFレコードの再生命令に基づき、プリンタドライバのプリンタデバイスコンテキストに描画を行う(図3のステップS305)。   The GDI draws on the printer device context of the printer driver based on the EMF record playback command (step S305 in FIG. 3).

この結果、プリンタドライバのDDI(Device Driver Interface)関数がコールされ、プリンタドライバが、プリンタ固有のPDLに基づいて、プリンタが印刷処理できる形式のRAWデータを生成する(図3のステップS306)。   As a result, the DDI (Device Driver Interface) function of the printer driver is called, and the printer driver generates RAW data in a format that can be printed by the printer, based on the printer-specific PDL (step S306 in FIG. 3).

プリンタドライバが生成したRAWデータ形式のファイルは、スプーラを経由して図2のプリンタに出力される(図3のステップS307)。   The RAW data format file generated by the printer driver is output to the printer of FIG. 2 via the spooler (step S307 of FIG. 3).

プリンタでは、プリント処理(描画データを用紙に印刷する処理)が行われ、印刷が完了する。   In the printer, print processing (processing for printing drawing data on paper) is performed, and printing is completed.

上述の一般的な印刷処理では、プリンタドライバが、EMFデータからRAWデータを生成する処理において、一律の解像度しか指定することができず、例えば文字フォントのみを高解像度で出力することはできない。   In the general printing process described above, the printer driver can specify only a uniform resolution in the process of generating RAW data from EMF data. For example, only a character font cannot be output at a high resolution.

本実施形態は、この問題を解決するものである。図4は、図2のホストコンピュータ200内のCPU201が実行する本実施形態による印刷実行制御処理を示すフローチャートである。この処理は、CPU201がROM202に記憶された印刷実行制御プログラムを実行する処理として実現される。以下の処理では、随時、図1の各機能部の番号を参照するものとする。   The present embodiment solves this problem. FIG. 4 is a flowchart showing print execution control processing according to this embodiment executed by the CPU 201 in the host computer 200 of FIG. This process is realized as a process in which the CPU 201 executes a print execution control program stored in the ROM 202. In the following processing, the numbers of the functional units in FIG. 1 are referred to as needed.

まず、アプリケーションプログラム108が印刷を行う際、アプリケーションプログラム処理によって、印刷要求データ104が、オペレーティングシステムのGDI109に、GDI109のAPI関数のコールによって出力される(図4のステップS401)。   First, when the application program 108 performs printing, the print request data 104 is output to the GDI 109 of the operating system by calling the API function of the GDI 109 by application program processing (step S401 in FIG. 4).

GDI109は、上記API関数のコールをEMF112に変換して、オペレーティングシステムのスプーラ110に出力する(図4のステップS402)。   The GDI 109 converts the API function call into the EMF 112 and outputs it to the spooler 110 of the operating system (step S402 in FIG. 4).

スプーラ110は、EMF112の印刷データをスプールファイルとして蓄積する。(図4のステップS403)。   The spooler 110 accumulates the print data of the EMF 112 as a spool file. (Step S403 in FIG. 4).

専用プリントプロセッサ111(図1のプリントプロセッサ111に対応)は、スプーラ110に蓄積されたEMFデータ112を再生する(図4のステップS404)。   The dedicated print processor 111 (corresponding to the print processor 111 in FIG. 1) reproduces the EMF data 112 stored in the spooler 110 (step S404 in FIG. 4).

本実施形態では、専用プリントプロセッサ111は、解像度600dpiによる通常印刷処理(図4のステップS405(#1))と並行して、解像度1200dpiによる専用高解像度データ取得処理(図4のステップS405(#2))を起動する。
通常印刷処理と専用高解像度データ取得処理は、図1では、印刷データ取得部101が実行する解像度(#i)ごとの印刷データの取得処理105(#i)(0≦i≦1)に対応する。
In this embodiment, the dedicated print processor 111 performs dedicated high-resolution data acquisition processing (step S405 (# in FIG. 4) in parallel with normal printing processing (step S405 (# 1) in FIG. 4) at a resolution of 600 dpi in parallel with the normal printing processing (step S405 (# 1 in FIG. 4)). 2)) is started.
In FIG. 1, the normal printing process and the dedicated high resolution data acquisition process correspond to the print data acquisition process 105 (#i) (0 ≦ i ≦ 1) for each resolution (#i) executed by the print data acquisition unit 101. To do.

ステップS405(#1)の通常印刷処理では、まず、GDI109が呼び出される。これにより、GDI109が、プリンタドライバ103のプリンタデバイスコンテキストに、解像度600dpiで描画を行う(以上、図4のステップS405−1(#1))。   In the normal printing process in step S405 (# 1), first, the GDI 109 is called. As a result, the GDI 109 performs drawing at a resolution of 600 dpi on the printer device context of the printer driver 103 (step S405-1 (# 1) in FIG. 4).

上記描画により、プリンタドライバ103のデバイスドライバインタフェース(Device Driver Interface、以下「DDI」と記述する)関数が呼び出される。この結果、プリンタドライバ103は、解像度600dpiを有し図2のプリンタ装置210に固有のPDLにより記述された、プリンタ装置210が処理可能なRAWデータ106(#0)を出力する(以上、図4のステップS405−2(#1))。   By the above drawing, a device driver interface (Device Driver Interface, hereinafter referred to as “DDI”) function of the printer driver 103 is called. As a result, the printer driver 103 outputs the RAW data 106 (# 0) which has a resolution of 600 dpi and is described by PDL unique to the printer apparatus 210 of FIG. Step S405-2 (# 1)).

図5(a)は、ステップS405(#1)の通常印刷処理により出力される解像度600dpiのRAWデータ106(#0)のデータ構成例を示す図である。
501(#1)のコマンドで、図2のプリンタエンジン217の解像度として600dpiが指定される。
502(#1)のコマンドで、コマンド解像度として600dpiが指定される。
503(#1)は、フォントイメージ登録の例であり、600dpiのフォントイメージが登録されている。
504(#1)は、登録フォントイメージが描画される位置情報が指定される。
その他、多くのフォントイメージや、グラフィックイメージ等が登録されるが、それらの記載は省略する。
FIG. 5A is a diagram illustrating a data configuration example of the RAW data 106 (# 0) having a resolution of 600 dpi output by the normal printing process in step S405 (# 1).
The command 501 (# 1) specifies 600 dpi as the resolution of the printer engine 217 in FIG.
With the command 502 (# 1), 600 dpi is specified as the command resolution.
Reference numeral 503 (# 1) denotes an example of font image registration, in which a 600 dpi font image is registered.
In 504 (# 1), position information where a registered font image is drawn is designated.
In addition, many font images and graphic images are registered, but their description is omitted.

ステップS405(#2)の専用高解像度データ取得処理では、通常印刷処理と同様に、まずGDI109が呼び出される。これにより、GDI109が、プリンタドライバ103のプリンタデバイスコンテキストに、解像度1200dpiで描画を行う(以上、図4のステップS405−1(#2))。   In the dedicated high-resolution data acquisition process in step S405 (# 2), the GDI 109 is first called as in the normal printing process. As a result, the GDI 109 performs drawing at a resolution of 1200 dpi on the printer device context of the printer driver 103 (step S405-1 (# 2) in FIG. 4).

上記描画により、プリンタドライバ103のDDI関数が呼び出される。この結果、プリンタドライバ103は、解像度1200dpiを有し図2のプリンタ装置210に固有のPDLにより記述されたプリンタ装置210が処理可能なRAWデータ106(#1)を出力する(以上、図4のステップS405−2(#2))。   With the above drawing, the DDI function of the printer driver 103 is called. As a result, the printer driver 103 outputs the RAW data 106 (# 1) which has a resolution of 1200 dpi and can be processed by the printer apparatus 210 described in PDL unique to the printer apparatus 210 of FIG. Step S405-2 (# 2)).

図5(b)は、ステップS405(#2)の専用高解像度データ取得処理により出力される解像度1200dpiのRAWデータ106(#1)のデータ構成例を示す図である。データ構成形式は、図5(a)の解像度600dpiのRAWデータ106(#2)とほぼ同じで、解像度設定のみが異なる。
501(#2)のコマンドで、図2のプリンタエンジン217の解像度として1200dpiが指定される。
502(#1)のコマンドで、コマンド解像度として1200dpiが指定される。
503(#1)は、フォントイメージ登録の例であり、1200dpiのフォントイメージが登録されている。
504(#1)は、登録フォントイメージが描画される位置情報が指定される。
その他、多くのフォントイメージや、グラフィックイメージ等が登録されるが、それらの記載は省略する。
FIG. 5B is a diagram illustrating a data configuration example of the RAW data 106 (# 1) having a resolution of 1200 dpi output by the dedicated high-resolution data acquisition process in step S405 (# 2). The data configuration format is almost the same as the RAW data 106 (# 2) having a resolution of 600 dpi in FIG. 5A, and only the resolution setting is different.
With the command 501 (# 2), 1200 dpi is designated as the resolution of the printer engine 217 of FIG.
With the command 502 (# 1), 1200 dpi is specified as the command resolution.
Reference numeral 503 (# 1) is an example of font image registration, in which a 1200 dpi font image is registered.
In 504 (# 1), position information where a registered font image is drawn is designated.
In addition, many font images and graphic images are registered, but their description is omitted.

なお、プリンタドライバ103は、元々複数の印刷処理を同時実行することが前提で設計されているため、ステップS405(#1)の通常印刷処理複数処理とステップS405(#2)の専用高解像度データ取得処理の同時実行は、問題なく実行可能である。   Since the printer driver 103 is originally designed on the assumption that a plurality of print processes are executed simultaneously, the normal print process multiple processes in step S405 (# 1) and the dedicated high-resolution data in step S405 (# 2). Simultaneous acquisition processing can be executed without any problem.

専用プリントプロセッサ111は、上述のステップS405(#1)の通常印刷処理が終了した後に、ステップS406(#1)の文字データインデックス処理を起動する。同様に、専用プリントプロセッサ111は、上述のステップS405(#1)の通常印刷処理が終了した後に、ステップS406(#2)の文字データインデックス処理を起動する。   The dedicated print processor 111 starts the character data index process of step S406 (# 1) after the normal printing process of step S405 (# 1) described above is completed. Similarly, the dedicated print processor 111 activates the character data index process in step S406 (# 2) after the normal printing process in step S405 (# 1) is completed.

ステップS406(#1)の文字データインデックス処理では、ステップS405−2(#1)のプリンタドライバ103の処理で出力された図5(a)のデータ構成例を有する解像度600dpiのRAWデータ106(#1)において、各文字フォントの登録イメージデータに順番に登録番号を付けて、その登録イメージデータと、その他の属性情報を、図2のRAM203上に設けた図6のデータ構成例を有する文字データインデックステーブル601(#1)に登録する。   In the character data index processing in step S406 (# 1), the raw data 106 (#) with the resolution of 600 dpi having the data configuration example in FIG. 5A output by the processing of the printer driver 103 in step S405-2 (# 1). In 1), the registered image data of each character font is sequentially assigned a registration number, and the registered image data and other attribute information are provided on the RAM 203 of FIG. Register in the index table 601 (# 1).

同様に、ステップS406(#2)の文字データインデックス処理では、ステップS405−2(#2)のプリンタドライバ103の処理で出力された図5(b)のデータ構成例を有する解像度1200dpiのRAWデータ106(#2)において、各文字フォントの登録イメージデータに順番に登録番号を付けて、その登録イメージデータと、その他の属性情報を、図2のRAM203上に設けた図6のデータ構成例を有する文字データインデックステーブル601(#2)に登録する。なお、文字データインデックステーブル601(#2)は、文字データインデックステーブル601(#1)とデータ構成は共通であるが、登録イメージデータの値のみが異なっている。図6には、解像度600dpiのRAWデータ106(#1)の登録イメージデータを示す。   Similarly, in the character data index process in step S406 (# 2), RAW data with a resolution of 1200 dpi having the data configuration example in FIG. 5B output by the process of the printer driver 103 in step S405-2 (# 2). 106 (# 2), a registration number is sequentially given to the registered image data of each character font, and the registered image data and other attribute information are provided on the RAM 203 of FIG. Registered in the character data index table 601 (# 2). The character data index table 601 (# 2) has the same data structure as the character data index table 601 (# 1), but only the value of the registered image data is different. FIG. 6 shows registered image data of the RAW data 106 (# 1) having a resolution of 600 dpi.

次に、専用プリントプロセッサ111は、図4のステップS406(#1)およびS406(#2)の2つの文字データインデックス処理が終了すると、図4のステップS407の文字のみ高解像度データに差し替える処理を実行する。この処理では、解像度600dpiのRAWデータ106(#1)において、文字フォントの登録イメージデータごとに、ステップS406(#1)およびS406(#2)で図2のRAM203上に生成された文字データインデックステーブル601(#1)および601(#2)が参照される。そして、その解像度600dpiの登録イメージデータに付与された登録番号と同じ登録番号が付与された解像度1200dpiの登録イメージデータが取得され、その1200dpiのデータによって600dpiのデータが差し替えられる。   Next, when the two character data index processes in steps S406 (# 1) and S406 (# 2) in FIG. 4 are completed, the dedicated print processor 111 performs a process of replacing only the characters in step S407 in FIG. 4 with high resolution data. Run. In this process, the character data index generated on the RAM 203 in FIG. 2 in steps S406 (# 1) and S406 (# 2) for each character font registered image data in the RAW data 106 (# 1) with a resolution of 600 dpi. Tables 601 (# 1) and 601 (# 2) are referred to. Then, registration image data having a resolution of 1200 dpi to which the same registration number as the registration number assigned to the registered image data having a resolution of 600 dpi is acquired, and the 600 dpi data is replaced by the 1200 dpi data.

図7は、図5(a)および(b)に対応して、上記差し替え処理が行われた後の解像度600dpiRAWデータのデータ構成例を示す図である。
図2のプリンタエンジン217の解像度としては、1200dpiの文字を印刷するため、図7の701に示されるように1200dpiが指定される。
図7の702として示されるコマンド解像度選択としては、描画解像度600dpiが指定される。
図7の703に示されるフォントイメージ登録は、1200dpiのフォントイメージに差し替えられている。
図7の704の登録フォントイメージが描画される位置情報は、図5(a)のの504(#1)と同様である。
FIG. 7 is a diagram illustrating a data configuration example of resolution 600 dpi RAW data after the above replacement process is performed, corresponding to FIGS. 5 (a) and 5 (b).
As the resolution of the printer engine 217 in FIG. 2, 1200 dpi is designated as shown by 701 in FIG. 7 in order to print 1200 dpi characters.
As the command resolution selection shown as 702 in FIG. 7, a drawing resolution of 600 dpi is designated.
The font image registration indicated by reference numeral 703 in FIG. 7 is replaced with a 1200 dpi font image.
The position information where the registered font image 704 in FIG. 7 is drawn is the same as that in 504 (# 1) in FIG.

専用プリントプロセッサ111は、以上のようにしてステップS407で生成された解像度600dpi(文字のみ解像度1200dpi)RAWデータ107(図1の複数の解像度が混在した印刷データ107に対応)を、スプーラ110を経由して図2のプリンタ装置210に出力される(図4のステップS408)。   The dedicated print processor 111 passes the resolution 600 dpi (character only resolution 1200 dpi) RAW data 107 (corresponding to the print data 107 in which a plurality of resolutions are mixed in FIG. 1) generated in step S407 as described above via the spooler 110. Then, it is output to the printer apparatus 210 in FIG. 2 (step S408 in FIG. 4).

以上のようにして、本実施形態によれば、図2のプリンタ装置210になんら変更を加えることなく、文字の印刷要素とその他の印刷要素のような複数の印刷要素の組合せに対して、オペレーティングシステムが本来備えている複数の解像度を自由に組み合わせて印刷することが可能となる。
以上の実施形態に関して、更に以下の付記を開示する。
(付記1)
印刷要求データの複数の解像度のそれぞれによる各印刷指示をプリンタドライバに対して行うことにより、前記印刷要求データに対応し、前記解像度ごとの各印刷データをそれぞれ取得する印刷データ取得部と、
印刷要素の種類ごとに、前記複数の解像度のうち該種類が対応付けられた1つの解像度を有する前記印刷データから該印刷要素の種類のデータを選択して出力することにより、前記印刷要求データに対応しかつ前記複数の解像度が混在した印刷データを生成し、前記プリンタドライバに対応するプリンタに向けて出力する複数解像度混在印刷データ出力部と、
を備えることを特徴とする印刷実行制御装置。
(付記2)
前記印刷データ取得部は、前記印刷要求データの第1の解像度による印刷指示および前記第1の解像度よりも高い第2の解像度による印刷指示を前記プリンタドライバに対してそれぞれ行うことにより、前記第1の解像度を有する第1の印刷データと前記第2の解像度を有する第2の印刷データとをそれぞれ取得し、
複数解像度混在印刷データ出力部は、文字の印刷要素については前記第2の印刷データから文字のデータを選択して出力し、文字以外の印刷要素については前記第1の印刷データから該文字以外のデータを選択して出力することにより、前記印刷要求データに対応し前記第1の解像度と前記第2の解像度とが混在した印刷データを生成する、
ことを特徴とする付記1に記載の印刷実行制御装置。
(付記3)
前記複数解像度混在印刷データ出力部は、
前記第1の印刷データおよび前記第2の印刷データのぞれぞれにおいて、前記文字の印刷要素のデータに順番に登録番号を付与する文字データインデックス処理を実行し、
前記第1の印刷データにおいて、前記文字の印刷要素のデータごとに、該データに付与された登録番号と同じ登録番号が付与されたデータを前記第2の印刷データから取得して該データによって差し替え、該差し替えを行った第1の印刷データを、前記印刷要求データに対応し前記第1の解像度と前記第2の解像度とが混在した印刷データとして、前記プリンタドライバに対応するプリンタに向けて出力する、
ことを特徴とする付記2に記載の印刷実行制御装置。
(付記4)
前記印刷データ取得部は、前記プリンタドライバを介して前記各印刷データを、前記プリンタに固有のページ記述言語により記述された前記プリンタが印刷処理できる形式のデータとして取得し、
前記複数解像度混在印刷データ出力部は、前記印刷要素の種類ごとに、前記複数の解像度のうち該種類が対応付けられた1つの解像度を有する前記印刷データから前記ページ記述言語によって該印刷要素の種類が記述されたデータを選択して出力することにより、前記印刷要求データに対応しかつ前記複数の解像度が混在した印刷データであって、前記ページ記述言語により記述された前記プリンタが印刷処理できる形式の該印刷データを生成する、
ことを特徴とする付記1ないし3のいずれかに記載の印刷実行制御装置。
(付記5)
アプリケーションプログラムが、オペレーティングシステムのグラフィックデバイスインタフェースのアプリケーションプログラムインタフェース関数をコールすることにより前記印刷要求データを出力し、
前記グラフィックデバイスインタフェースが、前記アプリケーションプログラムインタフェース関数のコールに基づいて、前記印刷要求データに対応する拡張メタファイルを前記オペレーティングシステムのスプーラに出力し、
プリントプロセッサが、前記スプーラに蓄積された前記拡張メタファイルを再生し、
前記プリントプロセッサが前記印刷データ取得部を呼び出すことにより、該印刷データ取得部が、前記解像度ごとに、前記再生された前記拡張メタファイルのレコードの再生命令に基づいて前記グラフィックデバイスインタフェースに対して前記プリンタドライバのプリンタデバイスコンテキストに該解像度で描画を行わせ、これに対応して前記プリンタドライバが出力した該解像度を有し前記ページ記述言語により記述された前記印刷データを出力し、
前記印刷データ取得部が前記複数解像度混在印刷データ出力部を呼び出すことにより、該複数解像度混在印刷データ出力部が、前記印刷要求データに対応し前記複数の解像度が混在し前記ページ記述言語により記述された前記印刷データを生成し、前記スプーラに出力する、
ことを特徴とする付記4に記載の印刷実行制御装置。
(付記6)
付記1乃至5のいずれか一項に記載の印刷実行制御装置と、
前記スプーラに出力した前記印刷データを利用して印刷を行うプリンタと接続されるI/Fと、を備える電子装置と、
前記I/Fを介して前記電子装置に接続された前記プリンタと、を備える
ことを特徴とする印刷システム。
(付記7)
印刷の実行を制御するコンピュータに、
印刷要求データの複数の解像度のそれぞれによる各印刷指示をプリンタドライバに対して行うことにより、前記印刷要求データに対応し、前記解像度ごとの各印刷データをそれぞれ取得する印刷データ取得ステップと、
印刷要素の種類ごとに、前記複数の解像度のうち該種類が対応付けられた1つの解像度を有する前記印刷データから該印刷要素の種類のデータを選択して出力することにより、前記印刷要求データに対応しかつ前記複数の解像度が混在した印刷データを生成し、前記プリンタドライバに対応するプリンタに向けて出力する複数解像度混在印刷データ出力ステップと、
As described above, according to the present embodiment, the operating system can be applied to a combination of a plurality of print elements such as a character print element and other print elements without any change in the printer apparatus 210 of FIG. It is possible to print by combining a plurality of resolutions originally provided in the system.
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
A print data acquisition unit that acquires each print data for each resolution corresponding to the print request data by performing each print instruction with each of a plurality of resolutions of the print request data to the printer driver;
For each print element type, by selecting and outputting the print element type data from the print data having one resolution among the plurality of resolutions associated with the type, the print request data is added to the print request data. A multi-resolution mixed print data output unit for generating print data corresponding to the plurality of resolutions and outputting the print data to a printer corresponding to the printer driver;
A printing execution control apparatus comprising:
(Appendix 2)
The print data acquisition unit issues a print instruction with a first resolution of the print request data and a print instruction with a second resolution higher than the first resolution to the printer driver, respectively. First print data having a resolution of 2 and second print data having the second resolution,
The multi-resolution mixed print data output unit selects and outputs character data from the second print data for character print elements, and for the print elements other than characters from the first print data other than the characters. By selecting and outputting data, print data in which the first resolution and the second resolution are mixed corresponding to the print request data is generated.
The print execution control apparatus according to appendix 1, wherein:
(Appendix 3)
The multi-resolution mixed print data output unit
In each of the first print data and the second print data, a character data index process is performed for sequentially assigning registration numbers to the data of the print elements of the characters,
In the first print data, for each character print element data, data having the same registration number as the registration number assigned to the data is obtained from the second print data and replaced with the data. The replaced first print data is output to a printer corresponding to the printer driver as print data corresponding to the print request data and in which the first resolution and the second resolution are mixed. To
The print execution control apparatus according to Supplementary Note 2, wherein
(Appendix 4)
The print data acquisition unit acquires the print data via the printer driver as data in a format that can be printed by the printer described in a page description language unique to the printer,
The multi-resolution mixed print data output unit outputs, for each type of print element, the type of the print element according to the page description language from the print data having one resolution associated with the type among the plurality of resolutions. Is a print data corresponding to the print request data and having a plurality of resolutions mixed, by which the printer described in the page description language can perform print processing. Generating the print data of
The print execution control device according to any one of appendices 1 to 3, wherein
(Appendix 5)
The application program outputs the print request data by calling an application program interface function of the graphic device interface of the operating system,
The graphic device interface outputs an extended metafile corresponding to the print request data to a spooler of the operating system based on the call of the application program interface function;
A print processor plays the enhanced metafile stored in the spooler;
When the print processor calls the print data acquisition unit, the print data acquisition unit performs the resolution for the graphic device interface based on the reproduction instruction of the reproduced record of the extended metafile for each resolution. Rendering the printer device context of the printer driver at the resolution, and correspondingly outputting the print data described in the page description language having the resolution output by the printer driver;
When the print data acquisition unit calls the multi-resolution mixed print data output unit, the multi-resolution mixed print data output unit corresponds to the print request data and the multiple resolutions are mixed and described in the page description language. Generating the print data and outputting it to the spooler;
The print execution control apparatus according to Supplementary Note 4, wherein
(Appendix 6)
The print execution control device according to any one of appendices 1 to 5,
An electronic device including an I / F connected to a printer that performs printing using the print data output to the spooler;
And a printer connected to the electronic device via the I / F.
(Appendix 7)
On the computer that controls the execution of printing,
A print data acquisition step of acquiring each print data for each resolution corresponding to the print request data by performing each print instruction with each of a plurality of resolutions of the print request data to the printer driver;
For each print element type, by selecting and outputting the print element type data from the print data having one resolution among the plurality of resolutions associated with the type, the print request data is added to the print request data. A plurality of mixed resolution print data output steps for generating print data corresponding to the plurality of resolutions and outputting the print data to a printer corresponding to the printer driver;

101 印刷データ取得部
102 複数解像度混在印刷データ出力部
103 プリンタドライバ
104 印刷要求データ
105 印刷データの取得処理、印刷指示
106 解像度ごとの印刷データ
107 複数の解像度が混在した印刷データ
108 アプリケーションプログラム
109 GDI(グラフィックデバイスインタフェース)
110 スプーラ
111 プリントプロセッサ
112 EMF(拡張メタファイル:Enhanced Meta File)
200 ホストコンピュータ
201、211 CPU(中央演算処理装置)
202、212 ROM(リードオンリーメモリ)
203、213 RAM(ランダムアクセスメモリ)
204 入力装置
205 出力装置
206、214 USB/LAN I/F(USBまたはLANインタフェース)
207 外部記憶装置
208 可搬記録媒体駆動装置
209 可搬記録媒体
210 プリンタ装置
215 プリンタエンジンI/F(プリンタエンジンインタフェース)
216 プリント制御LSI
217 プリンタエンジン
601 文字データインデックステーブル
DESCRIPTION OF SYMBOLS 101 Print data acquisition part 102 Multiple resolution mixed print data output part 103 Printer driver 104 Print request data 105 Print data acquisition process, Print instruction 106 Print data for each resolution 107 Print data with multiple resolutions mixed 108 Application program 109 GDI ( Graphic device interface)
110 Spooler 111 Print Processor 112 EMF (Enhanced Meta File)
200 Host computer 201, 211 CPU (central processing unit)
202, 212 ROM (read only memory)
203, 213 RAM (Random Access Memory)
204 Input device 205 Output device 206, 214 USB / LAN I / F (USB or LAN interface)
207 External storage device 208 Portable recording medium driving device 209 Portable recording medium 210 Printer device 215 Printer engine I / F (printer engine interface)
216 Print Control LSI
217 Printer engine 601 Character data index table

Claims (7)

印刷要求データの複数の解像度のそれぞれによる各印刷指示をプリンタドライバに対して行うことにより、前記印刷要求データに対応し、前記解像度ごとの各印刷データをそれぞれ取得する印刷データ取得部と、
印刷要素の種類ごとに、前記複数の解像度のうち該種類が対応付けられた1つの解像度を有する前記印刷データから該印刷要素の種類のデータを選択して出力することにより、前記印刷要求データに対応しかつ前記複数の解像度が混在した印刷データを生成し、前記プリンタドライバに対応するプリンタに向けて出力する複数解像度混在印刷データ出力部と、
を備えることを特徴とする印刷実行制御装置。
A print data acquisition unit that acquires each print data for each resolution corresponding to the print request data by performing each print instruction with each of a plurality of resolutions of the print request data to the printer driver;
For each print element type, by selecting and outputting the print element type data from the print data having one resolution among the plurality of resolutions associated with the type, the print request data is added to the print request data. A multi-resolution mixed print data output unit for generating print data corresponding to the plurality of resolutions and outputting the print data to a printer corresponding to the printer driver;
A printing execution control apparatus comprising:
前記印刷データ取得部は、前記印刷要求データの第1の解像度による印刷指示および前記第1の解像度よりも高い第2の解像度による印刷指示を前記プリンタドライバに対してそれぞれ行うことにより、前記第1の解像度を有する第1の印刷データと前記第2の解像度を有する第2の印刷データとをそれぞれ取得し、
複数解像度混在印刷データ出力部は、文字の印刷要素については前記第2の印刷データから文字のデータを選択して出力し、文字以外の印刷要素については前記第1の印刷データから該文字以外のデータを選択して出力することにより、前記印刷要求データに対応し前記第1の解像度と前記第2の解像度とが混在した印刷データを生成する、
ことを特徴とする請求項1に記載の印刷実行制御装置。
The print data acquisition unit issues a print instruction with a first resolution of the print request data and a print instruction with a second resolution higher than the first resolution to the printer driver, respectively. First print data having a resolution of 2 and second print data having the second resolution,
The multi-resolution mixed print data output unit selects and outputs character data from the second print data for character print elements, and for the print elements other than characters from the first print data other than the characters. By selecting and outputting data, print data in which the first resolution and the second resolution are mixed corresponding to the print request data is generated.
The print execution control apparatus according to claim 1.
前記複数解像度混在印刷データ出力部は、
前記第1の印刷データおよび前記第2の印刷データのぞれぞれにおいて、前記文字の印刷要素のデータに順番に登録番号を付与する文字データインデックス処理を実行し、
前記第1の印刷データにおいて、前記文字の印刷要素のデータごとに、該データに付与された登録番号と同じ登録番号が付与されたデータを前記第2の印刷データから取得して該データによって差し替え、該差し替えを行った第1の印刷データを、前記印刷要求データに対応し前記第1の解像度と前記第2の解像度とが混在した印刷データとして、前記プリンタドライバに対応するプリンタに向けて出力する、
ことを特徴とする請求項2に記載の印刷実行制御装置。
The multi-resolution mixed print data output unit
In each of the first print data and the second print data, a character data index process is performed for sequentially assigning registration numbers to the data of the print elements of the characters,
In the first print data, for each character print element data, data having the same registration number as the registration number assigned to the data is obtained from the second print data and replaced with the data. The replaced first print data is output to a printer corresponding to the printer driver as print data corresponding to the print request data and in which the first resolution and the second resolution are mixed. To
The printing execution control apparatus according to claim 2, wherein the printing execution control apparatus is a printing execution control apparatus.
前記印刷データ取得部は、前記プリンタドライバを介して前記各印刷データを、前記プリンタに固有のページ記述言語により記述された前記プリンタが印刷処理できる形式のデータとして取得し、
前記複数解像度混在印刷データ出力部は、前記印刷要素の種類ごとに、前記複数の解像度のうち該種類が対応付けられた1つの解像度を有する前記印刷データから前記ページ記述言語によって該印刷要素の種類が記述されたデータを選択して出力することにより、前記印刷要求データに対応しかつ前記複数の解像度が混在した印刷データであって、前記ページ記述言語により記述された前記プリンタが印刷処理できる形式の該印刷データを生成する、
ことを特徴とする請求項1ないし3のいずれかに記載の印刷実行制御装置。
The print data acquisition unit acquires the print data via the printer driver as data in a format that can be printed by the printer described in a page description language unique to the printer,
The multi-resolution mixed print data output unit outputs, for each type of print element, the type of the print element according to the page description language from the print data having one resolution associated with the type among the plurality of resolutions. Is a print data corresponding to the print request data and having a plurality of resolutions mixed, by which the printer described in the page description language can perform print processing. Generating the print data of
The printing execution control apparatus according to claim 1, wherein
アプリケーションプログラムが、オペレーティングシステムのグラフィックデバイスインタフェースのアプリケーションプログラムインタフェース関数をコールすることにより前記印刷要求データを出力し、
前記グラフィックデバイスインタフェースが、前記アプリケーションプログラムインタフェース関数のコールに基づいて、前記印刷要求データに対応する拡張メタファイルを前記オペレーティングシステムのスプーラに出力し、
プリントプロセッサが、前記スプーラに蓄積された前記拡張メタファイルを再生し、
前記プリントプロセッサが前記印刷データ取得部を呼び出すことにより、該印刷データ取得部が、前記解像度ごとに、前記再生された前記拡張メタファイルのレコードの再生命令に基づいて前記グラフィックデバイスインタフェースに対して前記プリンタドライバのプリンタデバイスコンテキストに該解像度で描画を行わせ、これに対応して前記プリンタドライバが出力した該解像度を有し前記ページ記述言語により記述された前記印刷データを出力し、
前記印刷データ取得部が前記複数解像度混在印刷データ出力部を呼び出すことにより、該複数解像度混在印刷データ出力部が、前記印刷要求データに対応し前記複数の解像度が混在し前記ページ記述言語により記述された前記印刷データを生成し、前記スプーラに出力する、
ことを特徴とする請求項4に記載の印刷実行制御装置。
The application program outputs the print request data by calling an application program interface function of the graphic device interface of the operating system,
The graphic device interface outputs an extended metafile corresponding to the print request data to a spooler of the operating system based on the call of the application program interface function;
A print processor plays the enhanced metafile stored in the spooler;
When the print processor calls the print data acquisition unit, the print data acquisition unit performs the resolution for the graphic device interface based on the reproduction instruction of the reproduced record of the extended metafile for each resolution. Rendering the printer device context of the printer driver at the resolution, and correspondingly outputting the print data described in the page description language having the resolution output by the printer driver;
When the print data acquisition unit calls the multi-resolution mixed print data output unit, the multi-resolution mixed print data output unit corresponds to the print request data and the multiple resolutions are mixed and described in the page description language. Generating the print data and outputting it to the spooler;
The printing execution control apparatus according to claim 4, wherein:
請求項1乃至5のいずれか一項に記載の印刷実行制御装置と、
前記スプーラに出力した前記印刷データを利用して印刷を行うプリンタと接続されるI/Fと、を備える電子装置と、
前記I/Fを介して前記電子装置に接続された前記プリンタと、を備える
ことを特徴とする印刷システム。
A print execution control apparatus according to any one of claims 1 to 5;
An electronic device including an I / F connected to a printer that performs printing using the print data output to the spooler;
And a printer connected to the electronic device via the I / F.
印刷の実行を制御するコンピュータに、
印刷要求データの複数の解像度のそれぞれによる各印刷指示をプリンタドライバに対して行うことにより、前記印刷要求データに対応し、前記解像度ごとの各印刷データをそれぞれ取得する印刷データ取得ステップと、
印刷要素の種類ごとに、前記複数の解像度のうち該種類が対応付けられた1つの解像度を有する前記印刷データから該印刷要素の種類のデータを選択して出力することにより、前記印刷要求データに対応しかつ前記複数の解像度が混在した印刷データを生成し、前記プリンタドライバに対応するプリンタに向けて出力する複数解像度混在印刷データ出力ステップと、
を実行させるためのプログラム。
On the computer that controls the execution of printing,
A print data acquisition step of acquiring each print data for each resolution corresponding to the print request data by performing each print instruction with each of a plurality of resolutions of the print request data to the printer driver;
For each print element type, by selecting and outputting the print element type data from the print data having one resolution among the plurality of resolutions associated with the type, the print request data is added to the print request data. A plurality of mixed resolution print data output steps for generating print data corresponding to the plurality of resolutions and outputting the print data to a printer corresponding to the printer driver;
A program for running
JP2013143864A 2013-07-09 2013-07-09 Print execution controller, printing system, and program Pending JP2015018337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013143864A JP2015018337A (en) 2013-07-09 2013-07-09 Print execution controller, printing system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013143864A JP2015018337A (en) 2013-07-09 2013-07-09 Print execution controller, printing system, and program

Publications (1)

Publication Number Publication Date
JP2015018337A true JP2015018337A (en) 2015-01-29

Family

ID=52439287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013143864A Pending JP2015018337A (en) 2013-07-09 2013-07-09 Print execution controller, printing system, and program

Country Status (1)

Country Link
JP (1) JP2015018337A (en)

Similar Documents

Publication Publication Date Title
JP4905604B1 (en) Print data processing system and program
US20040061897A1 (en) Printing control method and printing control apparatus
KR20090101767A (en) Printing method to load a filter dynamically and recordable medium with a program to execute the printing method and host apparatus
US20140362395A1 (en) Image processing apparatus and method
JP6447564B2 (en) Image forming apparatus, program, and information processing system
CN102693097B (en) Image processing system and image processing method
JP2011237901A (en) Preview screen display control device and program
JP7264821B2 (en) System and method for cropping images
US9117158B2 (en) Image forming apparatus, image forming method, and non-transitory computer readable medium
JP2012252635A (en) Print control device, print control program, and recording medium
JP2011186887A (en) Printing control device and printing control method
JP2007011515A (en) Print system, control method of print system and program
JP2015018337A (en) Print execution controller, printing system, and program
US10481844B2 (en) Data communication method and information processing apparatus having multiple print settings
JP2009269179A (en) Printer, program and recording medium
JP2008257628A (en) Information processing device, document combining program, and recording medium
US11567715B1 (en) Information forming apparatus, non-transitory computer readable medium and an image forming method for performing printing by using registered print information received from at least one different image forming apparatus
JP2013122661A (en) Image processing device, image processing method and program
WO2021131979A1 (en) Control method and information processing device
JP2013025412A (en) Printing control program, information processor, and recording medium
JP2013121674A (en) Apparatus, and method for processing image, and program
JP2014130430A (en) Information processing apparatus, printing system, and program
JP2012027632A (en) Print control program, program, information processing device, computer-readable recording medium, printing system, and printing device
JP2006228103A (en) Information processor
JP5690185B2 (en) Input data improvement support device and program