JP4968417B1 - Print data conversion apparatus and program - Google Patents

Print data conversion apparatus and program Download PDF

Info

Publication number
JP4968417B1
JP4968417B1 JP2012014664A JP2012014664A JP4968417B1 JP 4968417 B1 JP4968417 B1 JP 4968417B1 JP 2012014664 A JP2012014664 A JP 2012014664A JP 2012014664 A JP2012014664 A JP 2012014664A JP 4968417 B1 JP4968417 B1 JP 4968417B1
Authority
JP
Japan
Prior art keywords
correction amount
print
print data
printing
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.)
Active
Application number
JP2012014664A
Other languages
Japanese (ja)
Other versions
JP2013156710A (en
Inventor
将之 岩澤
一美 柳平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2012014664A priority Critical patent/JP4968417B1/en
Application granted granted Critical
Publication of JP4968417B1 publication Critical patent/JP4968417B1/en
Publication of JP2013156710A publication Critical patent/JP2013156710A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

【課題】用紙のサイズ及び向きごとに印刷原点位置が異なる基準プリンタのための印刷データを他のプリンタで印刷する場合にも、印刷原点位置を正しく補正する。
【解決手段】補正基準値DB111には、プリンタドライバ名と用紙のサイズ及び向きとの組合せごとに、出力先のプリンタ160の印刷原点位置を基準プリンタの印刷原点位置に合わせるための補正量が登録されている。UI部109は、指定された用紙のサイズ及び向きと、印刷データ中に指定された出力先のプリンタのプリンタドライバと、の組合せに対応する補正量を補正基準値DB111から検索し、補正値記憶部110に反映する。印刷データは、解析部102で中間データに変換され、出力部103にてさらにGDI等で表される出力データに変換される。この出力部103の変換において、個々の描画要素の位置が、原点補正部108により、補正値記憶部110に記憶された補正量だけ補正される。
【選択図】図1
When printing data for a reference printer having a different printing origin position for each paper size and orientation is printed by another printer, the printing origin position is corrected correctly.
A correction reference value DB111 registers a correction amount for matching the print origin position of an output destination printer 160 with the print origin position of a reference printer for each combination of a printer driver name and a paper size and orientation. Has been. The UI unit 109 searches the correction reference value DB 111 for a correction amount corresponding to the combination of the specified paper size and orientation and the printer driver of the output destination printer specified in the print data, and stores the correction value. This is reflected in part 110. The print data is converted into intermediate data by the analysis unit 102 and further converted into output data represented by GDI or the like at the output unit 103. In the conversion of the output unit 103, the position of each drawing element is corrected by the correction amount stored in the correction value storage unit 110 by the origin correction unit 108.
[Selection] Figure 1

Description

本発明は、印刷データ変換装置及びプログラムに関する。   The present invention relates to a print data conversion apparatus and program.

例えば従来の企業の基幹システムでは、メインフレーム等のホストコンピュータが、メーカー独自の印刷データ記述言語で記述した印刷データを生成し、その言語に対応した専用の印刷装置にてその印刷データを処理している場合がある。このような状況に対し、近年、そのような独自の印刷データ記述言語の印刷データを、専用の印刷装置ではない他の印刷装置、例えばオフィス等で用いられる一般的なデジタルプリンタや複合機(コピー機、プリンタ、スキャナ等の複数の機能を備えた多機能装置)等でも印刷したいというニーズがある。このようなニーズに応えるには、基幹システム独自の印刷データ記述言語で記述された印刷データを、ポストスクリプト(登録商標)やEMF(enhanced metafile)等の標準的な印刷データ記述言語に変換する変換サーバを用意すればよいが、それだけでは十分ではない。それは、用紙上での各画素の位置座標を規定する原点である印刷原点位置が、印刷装置の機種によって異なるからである。   For example, in a conventional enterprise core system, a host computer such as a mainframe generates print data described in a manufacturer's original print data description language, and processes the print data with a dedicated printing device corresponding to the language. There may be. In response to such a situation, in recent years, print data in such a unique print data description language has been converted to a general digital printer or multifunction peripheral (copy machine) used in another printing apparatus that is not a dedicated printing apparatus, such as an office. There is a need to print even with a multi-function device having a plurality of functions such as a printer, a printer, and a scanner. In order to meet these needs, conversion that converts print data written in a print data description language unique to the core system into a standard print data description language such as PostScript (registered trademark) or EMF (enhanced metafile) You need a server, but that is not enough. This is because the printing origin position, which is the origin that defines the position coordinates of each pixel on the paper, varies depending on the model of the printing apparatus.

ある印刷装置で印刷するために作成した印刷データを、印刷原点位置が異なる別の機種の印刷装置で印刷する場合、印刷原点位置がずれることにより、印刷結果の見栄えが元の印刷装置で印刷した場合と異なってしまう。例えば、罫線が事前に印刷された用紙に対して印刷すべき印刷データの場合、印刷原点位置のずれにより、印刷すべき文字等が罫線に重なってしまったり、欄内からはみ出たりするなどの問題がある。   When printing data created for printing on a certain printing device is printed on a different type of printing device with a different printing origin position, the print origin looks printed on the original printing device due to the deviation of the printing origin position. It will be different from the case. For example, in the case of print data to be printed on paper with pre-printed ruled lines, problems such as misalignment of the printing origin position may cause characters to be printed to overlap the ruled lines or protrude from the column. There is.

このような問題に対し、特許文献1には、基準プリンタにあわせて作成してしまっている印刷データを、他のプリンタで印刷する場合における、プリンタごとの印刷開始位置(印刷原点位置)等の印刷能力の差異を吸収するための技術が記載されている。この技術では、各プリンタドライバから取得した基準プリンタ(印刷データを作成した際の)と本プリンタ(印刷データの印刷先のプリンタ)の印刷能力に基づき、ドライバ管理制御部が印刷開始位置のずれ(補正情報)を算出する。当該補正情報に基づき、本プリンタの印刷開始位置を基準プリンタの印刷開始位置に一致させて、印刷を実行させる。   To deal with such a problem, Patent Document 1 discloses a print start position (print origin position) for each printer when print data created in accordance with the reference printer is printed by another printer. Techniques for absorbing differences in printing capabilities are described. In this technology, based on the printing capabilities of the reference printer (when the print data is created) acquired from each printer driver and the printer (print destination printer of the print data), the driver management control unit shifts the print start position ( Correction information) is calculated. Based on the correction information, the printing start position of the printer is matched with the printing start position of the reference printer, and printing is executed.

特開2010−003216号公報JP 2010-003216 A

プリンタの中には、用紙のサイズ及び向きごとに印刷原点位置が異なるものがある。このようなプリンタに向けて作成した印刷データを他の機種のプリンタで印刷する場合、単に機種ごとに印刷原点位置の差を考慮するだけでは、正しい補正が行えない。   Some printers have different print origin positions for each paper size and orientation. When printing data created for such a printer is printed by a printer of another model, correct correction cannot be performed simply by considering the difference in the print origin position for each model.

本発明は、用紙のサイズ及び向きごとに印刷原点の位置が異なるプリンタのために作成済みの印刷データを、機種の異なる他のプリンタで印刷する場合にも、印刷原点の位置を正しく補正できるようにすることを目的とする。   The present invention makes it possible to correctly correct the position of the print origin even when print data created for a printer having a different print origin position for each paper size and orientation is printed by another printer of a different model. The purpose is to.

請求項1に係る発明は、印刷装置の機種に対する、用紙のサイズ及び向きの組合せごとに、前記機種の印刷装置にて前記サイズ及び前記向きの用紙に対して印刷を行う場合の印刷原点位置を、基準印刷装置にて前記サイズ及び前記向きの印刷を行う場合の印刷原点位置に一致させるための、印刷原点位置の補正量を記憶した補正量記憶手段と、前記基準印刷装置で印刷すべきものとして前記基準印刷装置用の第1の印刷データ記述言語で作成済みの第1の印刷データを、印刷出力先の指定情報と共に受け取り、前記指定情報から印刷出力を行う印刷装置の機種を特定する特定手段と、前記特定手段が特定した機種、指定された用紙のサイズ及び向き、に応じた補正量を、前記補正量記憶手段から取得し、取得した補正量に基づいて、前記第2の印刷データにおける印刷原点位置の補正量を設定する補正量設定手段と、前記第1の印刷データを、前記特定手段が特定した機種の印刷装置する第2の印刷データ記述言語で表される第2の印刷データへと変換する変換手段であって、前記補正量設定手段により設定された補正量に基づいて前記第2の印刷データにおける印刷原点位置を補正することを特徴とする変換手段と、を備える印刷データ変換装置である。   In the invention according to claim 1, for each combination of the paper size and orientation with respect to the model of the printing apparatus, the printing origin position when printing on the paper of the size and the orientation is performed by the printing apparatus of the model. A correction amount storage means for storing a correction amount of the print origin position for making the print origin position coincide with the print origin position when printing in the size and the orientation in the reference printing apparatus; A specifying unit that receives the first print data created in the first print data description language for the reference printing apparatus together with the designation information of the print output destination and identifies the model of the printing apparatus that performs the print output from the designation information. And a correction amount corresponding to the model specified by the specifying unit and the size and orientation of the specified sheet is acquired from the correction amount storage unit, and the second amount is calculated based on the acquired correction amount. A correction amount setting means for setting a correction amount of the print origin position in the print data, and a second print data description language in which the first print data is expressed in the second print data description language of the printer of the model specified by the specifying means. Conversion means for converting the print data into a print data, wherein the print origin position in the second print data is corrected based on the correction amount set by the correction amount setting means; A print data conversion apparatus is provided.

請求項2に係る発明は、前記補正量設定手段は、前記補正量記憶手段から取得した機種共通の補正量に対して、前記印刷出力を行う印刷装置の個体差に応じた調整の入力を受け付ける調整受付手段と、前記調整受付手段が受け付けた調整による調整後の補正量、又はこの補正量と前記機種共通の補正量との差分を、前記印刷出力を行う印刷装置に固有の個別補正情報として記憶する個別補正情報記憶手段と、前記指定情報から特定される前記印刷出力を行う印刷装置に対応する固有の個別補正情報を前記個別補正情報記憶手段から取得し、取得した個別補正情報から前記印刷装置に固有の補正量を求め、求めた補正量を前記第2の印刷データにおける印刷原点位置の補正量として設定する調整手段と、を備えることを特徴とする請求項1に記載の印刷データ変換装置である。   According to a second aspect of the present invention, the correction amount setting unit accepts an input of adjustment according to individual differences of printing apparatuses that perform the print output, with respect to the correction amount common to the models acquired from the correction amount storage unit. The adjustment receiving means and the correction amount after adjustment by the adjustment received by the adjustment receiving means, or the difference between the correction amount and the correction amount common to the model is used as individual correction information specific to the printing apparatus that performs the print output. Individual correction information storage means for storing, and individual individual correction information corresponding to a printing apparatus that performs the print output specified from the designation information is acquired from the individual correction information storage means, and the printing is performed from the acquired individual correction information. An adjustment unit that obtains a correction amount unique to the apparatus and sets the obtained correction amount as a correction amount of a print origin position in the second print data is provided. A print data conversion apparatus.

請求項3に係る発明は、論理プリンタごとに、前記補正量記憶手段に記憶された機種共通の補正量に対する前記論理プリンタ固有の調整量を記憶する調整量記憶手段、をさらに備え、前記指定情報は、出力先の論理プリンタを指定する情報であり、前記補正量設定手段は、前記指定情報から特定される論理プリンタに対応する調整量を前記調整量記憶手段から求め、前記補正量設定手段により設定された補正量に求めた調整量を加えた量だけ、前記第2の印刷データにおける印刷原点位置を補正する、ことを特徴とする請求項1又は2に記載の印刷データ変換装置である。   The invention according to claim 3 further includes an adjustment amount storage unit that stores an adjustment amount specific to the logical printer with respect to a correction amount common to a model stored in the correction amount storage unit for each logical printer, and the designation information Is information for designating an output destination logical printer, and the correction amount setting means obtains an adjustment amount corresponding to the logical printer specified from the designation information from the adjustment amount storage means, and the correction amount setting means The print data conversion apparatus according to claim 1 or 2, wherein the print origin position in the second print data is corrected by an amount obtained by adding the obtained adjustment amount to the set correction amount.

請求項4に係る発明は、コンピュータを、印刷装置の機種に対する、用紙のサイズ及び向きの組合せごとに、前記機種の印刷装置にて前記サイズ及び前記向きの用紙に対して印刷を行う場合の印刷原点位置を、基準印刷装置にて前記サイズ及び前記向きの印刷を行う場合の印刷原点位置に一致させるための、印刷原点位置の補正量を記憶した補正量記憶手段、前記基準印刷装置で印刷すべきものとして前記基準印刷装置用の第1の印刷データ記述言語で作成済みの第1の印刷データを、印刷出力先の指定情報と共に受け取り、前記指定情報から印刷出力を行う印刷装置の機種を特定する特定手段、前記特定手段が特定した機種、指定された用紙のサイズ及び向き、に応じた補正量を、前記補正量記憶手段から取得し、取得した補正量に基づいて、前記第2の印刷データにおける印刷原点位置の補正量を設定する補正量設定手段、前記第1の印刷データを、前記特定手段が特定した機種の印刷装置する第2の印刷データ記述言語で表される第2の印刷データへと変換する変換手段であって、前記補正量設定手段により設定された補正量に基づいて前記第2の印刷データにおける印刷原点位置を補正することを特徴とする変換手段、として機能させるためのプログラムである。   According to a fourth aspect of the present invention, there is provided a printing method in which the computer performs printing on the paper of the size and the orientation in the printing device of the model for each combination of the size and orientation of the paper with respect to the model of the printing device. A correction amount storage means for storing a correction amount of a print origin position for making the origin position coincide with a print origin position when the reference printing apparatus performs printing of the size and the orientation. The first print data created in the first print data description language for the reference printing apparatus as the kimono is received together with the designation information of the print output destination, and the model of the printing apparatus that performs the print output is specified from the designation information. A correction amount corresponding to the specifying means, the model specified by the specifying means, and the size and orientation of the specified paper is acquired from the correction amount storage means, and based on the acquired correction amount A correction amount setting means for setting a correction amount of a print origin position in the second print data, and the first print data is expressed in a second print data description language of the printing device of the model specified by the specifying means. Conversion means for converting the print data into the second print data, wherein the print origin position in the second print data is corrected based on the correction amount set by the correction amount setting means. It is a program for functioning as means.

請求項1又は4に係る発明によれば、用紙のサイズ及び向きごとに印刷原点の位置が異なるプリンタのために作成済みの印刷データを、機種の異なる他のプリンタで印刷する場合にも、印刷原点の位置を正しく補正できる。   According to the first or fourth aspect of the present invention, even when print data that has been created for a printer having a different print origin position for each paper size and orientation is printed by another printer of a different model, Correct the position of the origin.

請求項2に係る発明によれば、同一機種のプリンタ間に印刷原点の位置の個体差がある場合に、個体差を反映して印刷原点の位置を補正できる。   According to the second aspect of the present invention, when there is an individual difference in the position of the printing origin between printers of the same model, the position of the printing origin can be corrected by reflecting the individual difference.

請求項3に係る発明によれば、論理プリンタを出力先として指定することにより、印刷原点の位置をその論理プリンタに応じて調整することができる。   According to the third aspect of the present invention, the position of the printing origin can be adjusted according to the logical printer by designating the logical printer as the output destination.

実施形態のシステム構成の例を示す図である。It is a figure which shows the example of the system configuration | structure of embodiment. 補正基準値DBのデータ内容の一例を示す図である。It is a figure which shows an example of the data content of correction | amendment reference value DB. 印刷可能領域及び印刷原点を説明するための図である。It is a figure for demonstrating a printable area | region and a printing origin. 印刷原点の位置の補正を説明するための図である。It is a figure for demonstrating correction | amendment of the position of a printing origin. 印刷データ変換装置のUI画面の一例を示す図である。6 is a diagram illustrating an example of a UI screen of the print data conversion apparatus. FIG. UI部の処理手順の一例を示す図である。It is a figure which shows an example of the process sequence of UI part. 論理プリンタごとの調整量情報の例を示す図である・It is a figure showing an example of adjustment amount information for each logical printer

図1に示すように、本発明の一実施形態の印刷データ変換装置100は、ローカル・エリア・ネットワーク等のネットワークを介して、TCP/IP等の通信プロトコルを用いて、ホストコンピュータ150及びプリンタ160と通信する。   As shown in FIG. 1, a print data conversion apparatus 100 according to an embodiment of the present invention uses a communication protocol such as TCP / IP via a network such as a local area network, and a host computer 150 and a printer 160. Communicate with.

ホストコンピュータ150は、例えばメインフレーム等のコンピュータであり、印刷データを印刷データ変換装置100に送って印刷処理を依頼する。ここで、ホストコンピュータ150は、印刷対象の画像内容を表す印刷データを、特定の基準プリンタに対応した専用のページ記述言語(以下「PDL」という。PDLはPage Description Languageの略)で記述する印刷データ作成機能を有する。基準プリンタは、例えばメインフレームのための専用の印刷装置として開発されたプリンタであり、上述した専用PDLに対応している。ホストコンピュータ150のこの印刷データ作成機能を用いた場合、用紙上での各画素の位置座標を規定する原点である印刷原点位置や、用紙表面のうちの印刷可能な範囲(「印刷可能領域」と呼ぶ)は、基準プリンタの性能・仕様に合わせたものとなる。   The host computer 150 is a computer such as a mainframe, for example, and sends print data to the print data conversion apparatus 100 to request print processing. Here, the host computer 150 prints print data representing the image content to be printed in a dedicated page description language (hereinafter referred to as “PDL”; PDL is an abbreviation of Page Description Language) corresponding to a specific reference printer. Has a data creation function. The reference printer is a printer developed as a dedicated printing device for a main frame, for example, and corresponds to the above-described dedicated PDL. When this print data creation function of the host computer 150 is used, the print origin position, which is the origin that defines the position coordinates of each pixel on the paper, and the printable range (“printable area” on the paper surface). Is called one that matches the performance and specifications of the reference printer.

一方、印刷データ変換装置100に接続されるプリンタ160は、そのような基準プリンタとは異なる機種のプリンタであり、ホストコンピュータ150の専用PDLには対応していない。   On the other hand, the printer 160 connected to the print data conversion apparatus 100 is a printer of a different model from such a reference printer, and does not support the dedicated PDL of the host computer 150.

本実施形態では、ホストコンピュータ150が作成する基準プリンタを想定出力先とした専用PDLの印刷データを、別のいくつかのプリンタ160(例えば基準プリンタより高速・高機能な新型のデジタル複合機)で印刷することを考える。例えば、メインフレーム専用に開発された旧式の基準プリンタを撤去し、メインフレーム専用でない最新型のプリンタ(例えばデジタル複合機)に置き換える場合等にこのような事態が生じる。図1にはプリンタ160を1つしか示していないが、印刷データ変換装置100は、ネットワークを介して複数のプリンタ160に接続されていてもよく、またそれら複数のプリンタ160の各々同士の機種が異なっていてもよい。   In the present embodiment, print data of a dedicated PDL that uses a reference printer created by the host computer 150 as an assumed output destination is sent to some other printers 160 (for example, a new digital multifunction peripheral having a higher speed and higher functionality than the reference printer). Think about printing. For example, such a situation occurs when an old standard printer developed exclusively for a mainframe is removed and replaced with a newer printer (for example, a digital multifunction peripheral) that is not dedicated to the mainframe. Although only one printer 160 is shown in FIG. 1, the print data conversion apparatus 100 may be connected to a plurality of printers 160 via a network, and the models of each of the plurality of printers 160 are different. May be different.

印刷データ変換装置100は、ホストコンピュータ150の印刷データ作成機能により作成された専用PDLの印刷データをスプールし、プリンタ160が解釈可能なPDL(例えばPostScript(登録商標)やPDF(Portable Document Format))のデータに変換してプリンタ160に提供する。印刷データ変換装置100は、例えば、パーソナルコンピュータやワークステーションなどの汎用的なコンピュータを用いて構成される。図示例では、印刷データ変換装置100が提供するPDL変換機能は、Windows(登録商標)系のオペレーティングシステム(OS)上で動作する変換ソフトウエアとして実装されている。   The print data conversion apparatus 100 spools print data of a dedicated PDL created by the print data creation function of the host computer 150 and can be interpreted by the printer 160 (for example, PostScript (registered trademark) or PDF (Portable Document Format)). To the printer 160 after being converted into the above data. The print data conversion apparatus 100 is configured using, for example, a general-purpose computer such as a personal computer or a workstation. In the illustrated example, the PDL conversion function provided by the print data conversion apparatus 100 is implemented as conversion software that operates on a Windows (registered trademark) operating system (OS).

印刷データ変換装置100の受信部101は、ホストコンピュータ150と通信を行い、送信されてくる印刷データを順次受信し、受信したデータを順に解析部102に渡す。解析部102は、受け取った印刷データのPDLによる記述内容を解析して、中間コードに変換する。中間コードは、PDLとビットマップ画像の中間のデータであり、例えばPDLで表される画像オブジェクトをより細かい単位(例えば同一画素値が走査線方向に連続したラインなど)に分解して記述したものである。   The receiving unit 101 of the print data conversion apparatus 100 communicates with the host computer 150, sequentially receives the received print data, and sequentially passes the received data to the analyzing unit 102. The analysis unit 102 analyzes the description content of the received print data by PDL and converts it into an intermediate code. The intermediate code is intermediate data between the PDL and the bitmap image. For example, the intermediate code is obtained by decomposing the image object represented by the PDL into smaller units (for example, lines in which the same pixel values are continuous in the scanning line direction). It is.

出力部103は、解析部102が生成した中間コードをページ単位で読み出し、印刷ジョブデータとして必要な制御情報(給紙トレー指示等の環境情報等)など付加を行ったのち、プリンタドライバとのやりとりのためのグラフィック言語(例えばGDI:Graphics Device Interface)に変換し、変換後のデータを、OSが提供する印刷コンポーネントに渡す。このコンポーネントにはWindows(登録商標)スプーラ104、プリンタドライバ105、ポート/言語モニタ106が含まれている。渡されたデータは、Windows(登録商標)スプーラ104にスプールされ、プリンタドライバ105でプリンタ160用のPDLデータに変換され(プリンタ160が出力部103の出力するグラフィック言語のデータを取扱可能であれば変換は不要)、変換後のPDLデータがポート/言語モニタ106を介してプリンタ160へ出力される。Windows(登録商標)スプーラ104、プリンタドライバ105、ポート/言語モニタ106は、Windows(登録商標)系のOSに含まれる一般的なものでよいので、これ以上の説明は省略する。   The output unit 103 reads the intermediate code generated by the analysis unit 102 in units of pages, adds necessary control information (such as environmental information such as a paper feed tray instruction) as print job data, and then exchanges with the printer driver. Is converted into a graphic language for the user (for example, GDI: Graphics Device Interface), and the converted data is passed to a print component provided by the OS. These components include a Windows® spooler 104, a printer driver 105, and a port / language monitor 106. The passed data is spooled in the Windows (registered trademark) spooler 104 and converted into PDL data for the printer 160 by the printer driver 105 (if the printer 160 can handle the graphic language data output from the output unit 103). Conversion is not required), and the converted PDL data is output to the printer 160 via the port / language monitor 106. Since the Windows (registered trademark) spooler 104, the printer driver 105, and the port / language monitor 106 may be general ones included in a Windows (registered trademark) OS, further description is omitted.

ここで、出力部103は、中間コードをGDI等のグラフィック言語の出力データに変換する際に、原点補正部108から出力される原点座標補正値を取得し、中間コードの原点座標を補正しつつ変換を行う。   Here, the output unit 103 acquires the origin coordinate correction value output from the origin correction unit 108 and corrects the origin code of the intermediate code when converting the intermediate code into output data of a graphic language such as GDI. Perform conversion.

この原点座標の補正は、専用PDLの印刷データの想定出力先である基準プリンタと、実際の出力先であるプリンタ160との印刷原点位置の相違を補正するためのものである。   This correction of the origin coordinates is for correcting the difference in the print origin position between the reference printer that is the assumed output destination of the print data of the dedicated PDL and the printer 160 that is the actual output destination.

印刷データ変換装置100に対して、出力先の候補であるプリンタ160が複数接続されている場合、プリンタ160の機種ごとに印刷原点位置が異なる場合がある。したがって、原点座標の補正は、出力先のプリンタ160の機種ごとに行う。   When a plurality of printers 160 that are output destination candidates are connected to the print data conversion apparatus 100, the print origin position may differ depending on the model of the printer 160. Accordingly, the correction of the origin coordinates is performed for each model of the output destination printer 160.

また、プリンタの中には、用紙のサイズ及び向きの組合せごとに用紙の原点(例えば左上隅の頂点)に対する印刷原点の相対位置が異なっているものがある。例えば、A4サイズで向きがポートレート(縦長配置)では印刷原点位置が用紙の左上隅の頂点から右に7mm、下に5mmの点であるのに対し、A4ランドスケープ(横長配置)では印刷原点位置が左上隅の頂点から右に5mm、下に4mmの点であるといった具合である。例えば、基準プリンタがこの種のプリンタであるのに対し、実際の出力先のプリンタ160が用紙の原点と印刷原点との相対位置が用紙のサイズや向きによらず一定(両者が一致する場合も含む)である場合などには、用紙のサイズや向きを考慮して原点補正を行う必要がある。もちろん、基準プリンタのみならずプリンタ160の方も、印刷原点位置が用紙のサイズや向きに応じて変わる場合にも、同様に原点補正には用紙のサイズと向きを考慮しなければならない。   Also, some printers have different print origin relative positions with respect to the origin of the paper (for example, the top left corner vertex) for each combination of paper size and orientation. For example, when the orientation is portrait (portrait orientation) in A4 size, the print origin position is 7 mm to the right and 5 mm below from the top left corner of the paper, whereas in the A4 landscape (landscape orientation), the print origin position Is a point 5 mm to the right and 4 mm below from the top left corner. For example, while the reference printer is this type of printer, the actual output destination printer 160 has a constant relative position between the paper origin and the print origin regardless of the paper size and orientation (both may match. In other words, it is necessary to perform origin correction in consideration of the paper size and orientation. Of course, not only the reference printer but also the printer 160 also needs to consider the paper size and orientation in the origin correction even when the printing origin position changes according to the paper size and orientation.

そこで、本実施形態では、プリンタの機種と用紙のサイズ及び向きとの組合せごとに、その組合せに対応する印刷原点位置の補正量を補正基準値DB111に登録しておき、そのDB111から該当する補正量を読み出して使用する。   Therefore, in this embodiment, for each combination of the printer model, the paper size, and the orientation, the correction amount of the print origin position corresponding to the combination is registered in the correction reference value DB 111, and the corresponding correction is performed from the DB 111. Read the amount and use it.

図2に、補正基準値DB111に登録されている補正情報の一例を示す。ここに示されるのは、「A」という名称(プリンタドライバ名)を持つプリンタドライバに対応する補正情報である。プリンタドライバ名がプリンタ160の機種に対応している。例えば同一メーカーのプリンタなどでは、複数の機種のプリンタに対して同一のプリンタドライバが用いられる場合があるが、ここでは、それら同一プリンタドライバに対応するそれら複数の機種のプリンタの印刷原点位置は同じであり、したがって基準プリンタに合わせるための補正量(印刷原点の移動量)も同じであるとする。   FIG. 2 shows an example of correction information registered in the correction reference value DB 111. The correction information corresponding to the printer driver having the name “A” (printer driver name) is shown here. The printer driver name corresponds to the model of the printer 160. For example, in the same manufacturer's printer, the same printer driver may be used for multiple types of printers. Here, the print origin positions of the multiple types of printers corresponding to the same printer driver are the same. Therefore, it is assumed that the correction amount (the movement amount of the printing origin) for matching with the reference printer is the same.

図2の例には、このプリンタドライバ「A」について、用紙のサイズ(A4,B4等)と向き(ポートレート又はランドスケープ)の組合せごとに、基準プリンタの印刷結果と同じ見栄えを得るための、印刷原点位置の移動量(補正)が示されている。移動量は、横方向と縦方向のそれぞれについて設定されている。それぞれの数値の正負の符号は、横方向については右向きの補正がプラスであり、縦方向については下向きの補正がプラスである。これについて、図3及び図4の具体例を用いてさらに説明する。   In the example of FIG. 2, for this printer driver “A”, for each combination of paper size (A4, B4, etc.) and orientation (portrait or landscape), the same appearance as the print result of the reference printer is obtained. The moving amount (correction) of the printing origin position is shown. The amount of movement is set for each of the horizontal direction and the vertical direction. The sign of each numerical value is positive for rightward correction in the horizontal direction and positive for downward correction in the vertical direction. This will be further described with reference to the specific examples of FIGS.

例えば、図1に示したプリンタ160が、図3に示すように、A4ポートレートの用紙200で全周4mmの印刷不可領域202を持つ装置であるとする。用紙200の全域から周囲の印刷不可領域202を除いた部分が、当該プリンタ160の印刷可能領域204である。また、この例では、その印刷可能領域204の左上隅の頂点O1が、プリンタ160の印刷原点である。すなわち、プリンタ160の印刷原点O1の位置は、用紙200の原点(左上隅の頂点)から見て右に4mm、下に4mmの位置である。   For example, it is assumed that the printer 160 shown in FIG. 1 is an apparatus having a non-printable area 202 with a circumference of 4 mm on A4 portrait paper 200 as shown in FIG. A portion of the entire sheet 200 excluding the surrounding non-printable area 202 is a printable area 204 of the printer 160. In this example, the vertex O1 at the upper left corner of the printable area 204 is the printing origin of the printer 160. That is, the position of the printing origin O1 of the printer 160 is a position of 4 mm to the right and 4 mm to the bottom when viewed from the origin of the paper 200 (the apex of the upper left corner).

一方、基準プリンタは、図4に示すように、A4ポートレート用紙については、外周の上下それぞれ5mm幅、左右それぞれ7mm幅の印刷不可領域206があるとする。この場合、A4ポートレートの用紙についての基準プリンタの印刷原点O2の位置は、用紙の原点からみて右に7mm、下に5mmの位置となる。基準プリンタの印刷可能領域208は、プリンタ160の印刷可能領域204の内部に包含される。   On the other hand, as shown in FIG. 4, it is assumed that the reference printer has a non-printable area 206 having a width of 5 mm on the upper and lower sides of the outer periphery and a width of 7 mm on the left and right sides, respectively. In this case, the printing origin O2 of the reference printer for the A4 portrait paper is 7 mm to the right and 5 mm below from the paper origin. The printable area 208 of the reference printer is included in the printable area 204 of the printer 160.

したがって、A4ポートレートの用紙に関して、プリンタ160の印刷結果を基準プリンタの印刷結果と同じにする(すなわち、画像が当該用紙上の同じ位置に印刷されるようにする)には、図4に示すように、プリンタ160の印刷原点O1を右に3mm、下に1mmだけ移動(補正)する必要がある。この場合の印刷原点の移動量は、横方向が+3mm、縦方向が+1mmである。   Therefore, for the A4 portrait paper, to make the print result of the printer 160 the same as the print result of the reference printer (that is, to make the image printed at the same position on the paper), FIG. Thus, it is necessary to move (correct) the printing origin O1 of the printer 160 by 3 mm to the right and 1 mm to the bottom. In this case, the movement amount of the printing origin is +3 mm in the horizontal direction and +1 mm in the vertical direction.

補正基準値DB111には、印刷データ変換装置100にインストールされたプリンタドライバごとに、図2に示すようなデータが登録されている。   Data as shown in FIG. 2 is registered in the correction reference value DB 111 for each printer driver installed in the print data conversion apparatus 100.

印刷データ変換装置100を操作するユーザは、UI(ユーザインタフェース)部109を介して指示を入力する。UI部109は、当該装置100に接続された表示装置の画面上に、図5に例示するようなUI画面を表示する。このUI画面には、用紙サイズ指定欄301、用紙方向(向き)指定欄302が含まれる。それら各欄301及び302はドロップダウンリストとなっており、下向きの三角形のボタンをマウス操作等で押下すると、選択可能な用紙サイズ(A4、B4等)や用紙方向(ポートレート、ランドスケープ)のリストがその欄から下に延びるように表示される。ユーザは、そのリストの中から、今回の印刷に使用したい用紙のサイズ及び方向を選択する。選択された用紙サイズ及び用紙方向の情報は、変換後の印刷データのための設定情報として、プリンタ160に通知される。   A user who operates the print data conversion apparatus 100 inputs an instruction via a UI (user interface) unit 109. The UI unit 109 displays a UI screen as illustrated in FIG. 5 on the screen of the display device connected to the device 100. This UI screen includes a paper size designation field 301 and a paper direction (orientation) designation field 302. Each of these fields 301 and 302 is a drop-down list, and when a downward triangle button is pressed by a mouse operation or the like, a list of paper sizes (A4, B4, etc.) and paper orientations (portrait, landscape) that can be selected. Is displayed to extend downward from that column. From the list, the user selects the size and orientation of the paper that he wants to use for the current printing. The selected paper size and paper direction information is notified to the printer 160 as setting information for the converted print data.

また、図5のUI画面において、欄303及び304は、プリンタ160の印刷原点のそれぞれ横方向及び縦方向についての移動量の入力欄である。ユーザは手入力によりこれら各欄303及び304内の値を変更することができる。また、後述する反映ボタン305が押下された場合、基準プリンタの印刷原点位置に合わせるための移動量がそれら各欄303及び304に設定される。   In the UI screen of FIG. 5, columns 303 and 304 are input columns for the movement amounts of the printing origin of the printer 160 in the horizontal direction and the vertical direction, respectively. The user can change the values in these fields 303 and 304 by manual input. In addition, when a reflection button 305 described later is pressed, a movement amount for adjusting to the printing origin position of the reference printer is set in each of the fields 303 and 304.

また、図5のUI画面において、反映ボタン305は、プリンタ160にて基準プリンタと同じ印刷結果を得るための印刷原点の移動量(補正量)を、欄303及び304に反映させるためのボタンである。   In the UI screen of FIG. 5, a reflection button 305 is a button for reflecting the movement amount (correction amount) of the print origin for obtaining the same print result as that of the reference printer in the printer 160 in the columns 303 and 304. is there.

図6に示すように、UI部109は、ユーザがマウス等の操作によりこの反映ボタン305を押下するのを待つ(S10)。反映ボタン305が押下されると(S10の判定結果がYES)と、ホストコンピュータ150から受け取った今回の印刷対象の印刷データから、出力先プリンタを指定する情報を抽出し、その情報に基づき出力先プリンタに対応するプリンタドライバを特定し、そのプリンタドライバから、そのプリンタドライバ自身の名称(プリンタドライバ名)を取得する(S12)。例えば、出力先としてプリンタ160が指定されており、プリンタ160を制御するプリンタドライバが図1のプリンタドライバ105である場合、UI部109は、プリンタドライバ105から、当該プリンタドライバ105の名称の情報を受け取る。次にUI部109は、取得したプリンタドライバ名に対応する補正情報が補正基準値DB111内に存在するかどうかを判定する(S14)。   As shown in FIG. 6, the UI unit 109 waits for the user to press the reflection button 305 by operating the mouse or the like (S10). When the reflection button 305 is pressed (the determination result in S10 is YES), information specifying the output destination printer is extracted from the print data to be printed this time received from the host computer 150, and the output destination is based on the information. A printer driver corresponding to the printer is specified, and the name (printer driver name) of the printer driver itself is acquired from the printer driver (S12). For example, when the printer 160 is designated as the output destination and the printer driver that controls the printer 160 is the printer driver 105 in FIG. 1, the UI unit 109 receives information on the name of the printer driver 105 from the printer driver 105. receive. Next, the UI unit 109 determines whether correction information corresponding to the acquired printer driver name exists in the correction reference value DB 111 (S14).

S14の判定結果がYes(「存在する」)である場合、UI部109は補正基準値DB111内の当該プリンタドライバ名に対応する補正情報の中から、欄301及び302にて選択されている用紙のサイズ及び向きの組合せに対応する縦横の移動量を取得する(S16)。そして、取得した縦移動量及び横移動量を、UI部109の欄303及び304の値として一時的に記憶する(S18及びS20)。これにより、UI画面の欄303及び304には、S16で取得した値が表示されることになる。   When the determination result in S14 is Yes (“exists”), the UI unit 109 selects the paper selected in the fields 301 and 302 from the correction information corresponding to the printer driver name in the correction reference value DB 111. The amount of vertical and horizontal movement corresponding to the combination of size and orientation is acquired (S16). Then, the acquired vertical movement amount and horizontal movement amount are temporarily stored as the values in the columns 303 and 304 of the UI unit 109 (S18 and S20). As a result, the values acquired in S16 are displayed in the columns 303 and 304 of the UI screen.

例えば、出力先プリンタに対応するプリンタドライバ名が「A」であり、ユーザが指定した用紙のサイズ及び向きが、A4及びポートレートである場合、図2に例示したプリンタドライバ名「A」の補正情報から横方向の移動量「+3.0」mmと縦方向の移動量「+1.0」mmが読み出され、これらの値が欄303及び304に表示される。   For example, when the printer driver name corresponding to the output destination printer is “A” and the paper size and orientation specified by the user are A4 and portrait, the correction of the printer driver name “A” illustrated in FIG. 2 is performed. The horizontal movement amount “+3.0” mm and the vertical movement amount “+1.0” mm are read from the information, and these values are displayed in the columns 303 and 304.

そしてUI部109は、マウス操作等によりOKボタン306又は適用ボタン307が押下されるのを待ち(S22及びS24)、どちらかが押下されると、一時的に記憶している縦移動量及び横移動量を補正値記憶部110に上書きする(S26)。補正値記憶部110は、原点補正部108が印刷データの印刷原点位置の補正に用いる現在の補正値を記憶する記憶手段であり、S26では、補正値記憶部110に記憶される縦横それぞれの補正値(縦移動量及び横移動量)をS16で取得した値に書き換えるのである。これにより、原点補正部108は、指定された出力先のプリンタ160の印刷原点を、基準プリンタの印刷原点の位置に合わせることが可能な状態になる。   Then, the UI unit 109 waits for the OK button 306 or the apply button 307 to be pressed by a mouse operation or the like (S22 and S24). The movement amount is overwritten in the correction value storage unit 110 (S26). The correction value storage unit 110 is a storage unit that stores the current correction value used by the origin correction unit 108 to correct the print origin position of the print data. In S26, the vertical and horizontal corrections stored in the correction value storage unit 110 are stored. The values (vertical movement amount and horizontal movement amount) are rewritten to the values acquired in S16. As a result, the origin correction unit 108 is in a state where the printing origin of the designated output destination printer 160 can be matched with the printing origin of the reference printer.

さて、ホストコンピュータ150から基準プリンタ用の専用PDLで記述された印刷データ(出力先プリンタの指定情報が付随している)が出力されると、印刷データ変換装置100の受信部101にてそれが受信され、解析部102にて例えばページごとの中間コードに変換される。出力部103は、そのページごとの中間コードをGDI等のグラフィック言語の出力データに変換する。ここで、この変換の際に、原点補正部108は、補正値記憶部110から現在の縦及び横の補正値(縦及び横の移動量)を取得し、出力部103に渡す。出力部103は、受け取った縦及び横の補正値に従い、印刷原点の位置を補正しつつ、中間コードをグラフィック言語の出力データに変換する。印刷原点の補正の具体的な処理は、特許文献1に開示されたものと同様でよい。例えば、中間コードにおける個々の描画要素の位置を、原点補正部108から取得した縦及び横の補正値だけ補正(例えば位置に補正値を加算)することにより行えばよい。   When print data described in the dedicated PDL for the reference printer is output from the host computer 150 (with output destination printer designation information attached), it is received by the receiving unit 101 of the print data conversion apparatus 100. The data is received and converted by the analysis unit 102 into, for example, an intermediate code for each page. The output unit 103 converts the intermediate code for each page into output data in a graphic language such as GDI. Here, at the time of this conversion, the origin correction unit 108 acquires the current vertical and horizontal correction values (vertical and horizontal movement amounts) from the correction value storage unit 110 and passes them to the output unit 103. The output unit 103 converts the intermediate code into graphic language output data while correcting the position of the printing origin in accordance with the received vertical and horizontal correction values. The specific process for correcting the printing origin may be the same as that disclosed in Patent Document 1. For example, the position of each drawing element in the intermediate code may be corrected by correcting the vertical and horizontal correction values acquired from the origin correction unit 108 (for example, adding a correction value to the position).

以上の例では、プリンタドライバ名が表すプリンタ160の機種と用紙のサイズ及び向きとの組合せに対応する印刷原点の補正量(移動量)を求めた。すなわち、以上の例では、機種が同じであれば、基準プリンタに印刷結果を合わせるための印刷原点の補正量も同じであると仮定している。しかしながら、現実には、同一機種のプリンタ同士の間にも個体差がある。例えば、印刷原点の個体差が公差(当該機種に許容される範囲のばらつき)の範囲内であっても、基準プリンタの印刷結果を他のプリンタで精密に再現しようとする場合には、後者のプリンタの同一機種内での印刷原点位置の個体差が問題になる場合も考えられる。   In the above example, the correction amount (movement amount) of the printing origin corresponding to the combination of the model of the printer 160 represented by the printer driver name and the paper size and orientation is obtained. That is, in the above example, it is assumed that if the models are the same, the correction amount of the print origin for matching the print result to the reference printer is also the same. However, in reality, there are individual differences between printers of the same model. For example, if the individual difference of the printing origin is within the tolerance range (variation of the allowable range for the model), if you want to accurately reproduce the printing result of the reference printer with another printer, the latter There may be a case where individual differences in the print origin position within the same printer model become a problem.

そこで、反映ボタン305の押下により出力先プリンタの機種(プリンタドライバ名に対応)に応じた印刷原点の移動量が欄303及び304に設定された後(S18及びS20)、ユーザが、それら各欄303及び304内に設定された値を変更(調整)できるようにしてもよい。例えば、反映ボタン305押下により設定された機種共通の移動量で印刷原点補正を行って出力先プリンタで試し刷りを行い、ユーザがその試し刷りの結果を見て、UI画面内の欄303及び304内の数値を変更するなどである。例えば、それら欄303及び304の右隣に表示される「+」(プラス)ボタン又は「−」(マイナス)ボタンをマウス操作等で押下すれば、それら欄内に設定された値が、あらかじめ定められた変化量ずつ増加又は減少する。そして、このようなユーザ操作による調整の後、OKボタン306又は適用ボタン307が押下されると、UI画面の欄303及び304に表示中の、調整後の移動量が補正値記憶部110に上書きされる。   Accordingly, after the reflection button 305 is pressed, the movement amount of the print origin corresponding to the model of the output destination printer (corresponding to the printer driver name) is set in the columns 303 and 304 (S18 and S20), and then the user selects each of these columns. The values set in 303 and 304 may be changed (adjusted). For example, the printing origin correction is performed with the movement amount common to the models set by pressing the reflection button 305 and the test printing is performed on the output destination printer, and the user sees the result of the test printing and the columns 303 and 304 in the UI screen. For example, change the number inside. For example, if a “+” (plus) button or a “−” (minus) button displayed to the right of these fields 303 and 304 is pressed by a mouse operation or the like, the values set in these fields are determined in advance. Increase or decrease by the amount of change. When the OK button 306 or the apply button 307 is pressed after such adjustment by user operation, the adjusted movement amount displayed in the columns 303 and 304 of the UI screen is overwritten in the correction value storage unit 110. Is done.

また、このように手入力で調整した印刷原点の補正量を、出力先プリンタの個体識別情報(機種ではなく、そのプリンタ自体を特定する識別情報)と対応づけて印刷データ変換装置100内に保存し、再利用されるようにしてもよい。この場合、出力先プリンタの個体識別情報と欄303及び304に設定されている縦及び横の移動量との組合せを保存する。そして、今後、そのプリンタが出力先に指定された印刷データがホストコンピュータ150から到来した場合に、当該プリンタの個体識別情報に対応づけて保存していた移動量データの中に、ユーザが指定した用紙のサイズ及び向きに対応するものがあれば、機種共通の移動量に代えて、当該プリンタに固有の移動量を優先的に使用するようにしてもよい。例えば、反映ボタン305が押下された場合に、当該プリンタに固有の移動量を欄303及び304に設定する。なお、欄303及び304に設定されている縦及び横の移動量そのものではなく、それら移動量と、補正基準値DB111に記憶されている機種共通の移動量(用紙のサイズ及び向きに依存)との差分を保存してもよい。この場合、UI部109は、補正基準値DB111に記憶されている機種共通の移動量と、出力先プリンタの個体識別情報に対応づけられた差分値とを足し合わせることで、今回の印刷のための印刷原点の移動量を算出すればよい。   Further, the correction amount of the print origin adjusted by manual input in this manner is stored in the print data conversion apparatus 100 in association with the individual identification information of the output destination printer (identification information for identifying the printer itself, not the model). However, it may be reused. In this case, the combination of the individual identification information of the output destination printer and the vertical and horizontal movement amounts set in the columns 303 and 304 is stored. In the future, when the print data designated as the output destination of the printer arrives from the host computer 150, the user designated in the movement amount data stored in association with the individual identification information of the printer. If there is one corresponding to the paper size and orientation, the movement amount unique to the printer may be preferentially used instead of the movement amount common to the models. For example, when the reflection button 305 is pressed, the movement amount unique to the printer is set in the columns 303 and 304. It should be noted that not the vertical and horizontal movement amounts themselves set in the columns 303 and 304, but the movement amounts and the movement amounts common to the models stored in the correction reference value DB 111 (depending on the paper size and orientation). You may save the difference. In this case, the UI unit 109 adds the movement amount common to the models stored in the correction reference value DB 111 and the difference value associated with the individual identification information of the output destination printer, so that the current printing is performed. The amount of movement of the print origin may be calculated.

また、印刷データ変換装置100に接続されるプリンタの中には、印刷原点の位置の設定を変更する機能を持つものもある。この種のプリンタは、印刷原点の位置を変更することで、物理的には1つのプリンタであるにもかかわらず、印刷原点位置が異なる複数の別々のプリンタとして機能する。そこで、上述の実施形態の変形例として、1つの物理的なプリンタ(すなわち装置としてのプリンタそのもの)を、よく用いる印刷原点の設定値ごとに、複数の論理プリンタに切り分けてもよい。この場合、1つの物理プリンタに対応する個々の論理プリンタは、印刷原点位置のデフォルトからの変更量(図7に示す「調整量」)が互いに異なる。   Some printers connected to the print data conversion apparatus 100 have a function of changing the setting of the print origin position. By changing the position of the printing origin, this type of printer functions as a plurality of separate printers having different printing origin positions even though it is physically one printer. Therefore, as a modification of the above-described embodiment, one physical printer (that is, the printer itself as an apparatus) may be divided into a plurality of logical printers for each frequently used print origin setting value. In this case, individual logical printers corresponding to one physical printer have different amounts of change from the default print origin position ("adjustment amount" shown in FIG. 7).

プリンタドライバ105は、個々の論理プリンタに対応づけて、例えば図7に例示するような印刷原点の位置の調整量の情報を記憶している。記憶される調整量は、その論理プリンタに対応する物理プリンタの機種(プリンタドライバに対応)に共通の移動量(図2参照)を、その論理プリンタに対応する印刷原点の設定位置に応じて調整するための値である。すなわち、機種に共通の移動量は、印刷原点位置をデフォルト位置にした場合の、印刷原点位置を基準プリンタに合わせるための移動量であるが、論理プリンタは印刷原点位置をデフォルト位置と異なる他の位置に変更した状態に対応している。当該論理プリンタを特定する、その印刷原点位置のデフォルト位置からの変更量が、図7の調整量である。   The printer driver 105 stores information on the adjustment amount of the position of the print origin as exemplified in FIG. 7 in association with each logical printer. The adjustment amount to be stored is adjusted according to the set position of the print origin corresponding to the logical printer by adjusting the common movement amount (see FIG. 2) for the physical printer model (corresponding to the printer driver) corresponding to the logical printer. It is a value to do. In other words, the movement amount common to the models is the movement amount for adjusting the printing origin position to the reference printer when the printing origin position is set to the default position. Corresponds to the changed state. The amount of change from the default position of the printing origin position that identifies the logical printer is the adjustment amount in FIG.

図示は省略するが、プリンタドライバ105は、個々の論理プリンタがどの物理プリンタに対応するのかを示す情報を有するとともに、個々の物理プリンタがどのプリンタドライバに対応するのかを示す情報を有している。   Although illustration is omitted, the printer driver 105 has information indicating which physical printer each logical printer corresponds to, and information indicating which printer driver each physical printer corresponds to. .

ホストコンピュータ150から印刷データ変換装置100に入力される印刷データには、出力先として論理プリンタが指定される。印刷データ変換装置100のUI部109は、印刷データに対して指定された論理プリンタに対応する物理プリンタ及びプリンタドライバを特定し、特定したプリンタドライバからプリンタドライバ名を取得する。そして、そのプリンタドライバ名と、UI画面の欄301及び302に対してユーザが選択した用紙のサイズ及び向きと、の組合せに対応する印刷原点位置の移動量を補正基準値DB111から検索し、UI画面の欄303及び304に設定する。そして、OKボタン306又は適用ボタン307の押下に応じて、それら移動量を補正値記憶部110に上書きし、原点補正部108がそれら移動量を使用できるようにする。これにより、出力部103から出力される出力データは、機種共通の印刷原点位置の移動量だけ補正されたものとなっている。   A logical printer is designated as an output destination for the print data input from the host computer 150 to the print data conversion apparatus 100. The UI unit 109 of the print data conversion apparatus 100 specifies a physical printer and a printer driver corresponding to the logical printer designated for the print data, and acquires a printer driver name from the specified printer driver. Then, the movement amount of the printing origin position corresponding to the combination of the printer driver name and the paper size and orientation selected by the user in the UI screen fields 301 and 302 is searched from the correction reference value DB 111, and the UI is searched. Set in the fields 303 and 304 of the screen. When the OK button 306 or the apply button 307 is pressed, the movement amount is overwritten on the correction value storage unit 110 so that the origin correction unit 108 can use the movement amount. Thus, the output data output from the output unit 103 is corrected by the amount of movement of the print origin position common to all models.

印刷データ変換装置100は、印刷データの出力先に指定された論理プリンタを特定する情報を、特定したプリンタドライバ105に渡す。プリンタドライバ105は、その情報が示す論理プリンタの印刷原点位置の調整量の情報を参照し、用紙のサイズと向きの組合せに対応する調整量を特定する。出力部103の出力データの印刷原点位置を、特定した調整量に応じて調整する。具体的には、出力データが表す描画要素の位置情報(これは機種共通の印刷原点位置の移動量だけ補正済み)を、調整量だけさらに変更する。   The print data conversion apparatus 100 passes the information specifying the logical printer designated as the print data output destination to the specified printer driver 105. The printer driver 105 refers to the adjustment amount information of the print origin position of the logical printer indicated by the information, and specifies the adjustment amount corresponding to the combination of the paper size and orientation. The print origin position of the output data of the output unit 103 is adjusted according to the specified adjustment amount. Specifically, the position information of the drawing element represented by the output data (which is corrected by the movement amount of the printing origin position common to all models) is further changed by the adjustment amount.

以上に例示した印刷データ変換装置100は、例えば、汎用のコンピュータにそれら各装置の持つ機能モジュールの処理を表すプログラムを実行させることにより実現される。ここで、コンピュータは、例えば、ハードウエアとして、CPU等のマイクロプロセッサ、ランダムアクセスメモリ(RAM)およびリードオンリメモリ(ROM)等のメモリ(一次記憶)、HDD(ハードディスクドライブ)を制御するHDDコントローラ、各種I/O(入出力)インタフェース、ローカル・エリア・ネットワークなどのネットワークとの接続のための制御を行うネットワークインタフェース等が、たとえばバスを介して接続された回路構成を有する。また、そのバスに対し、例えばI/Oインタフェース経由で、CDやDVDなどの可搬型ディスク記録媒体に対する読み取り及び/又は書き込みのためのディスクドライブ、フラッシュメモリなどの各種規格の可搬型の不揮発性記録媒体に対する読み取り及び/又は書き込みのためのメモリリーダライタ、などが接続されてもよい。上に例示した各機能モジュールの処理内容が記述されたプログラムがCDやDVD等の記録媒体を経由して、又はネットワーク等の通信手段経由で、ハードディスクドライブ等の固定記憶装置に保存され、コンピュータにインストールされる。固定記憶装置に記憶されたプログラムがRAMに読み出されCPU等のマイクロプロセッサにより実行されることにより、上に例示した機能モジュール群が実現される。   The print data conversion apparatus 100 exemplified above is realized, for example, by causing a general-purpose computer to execute a program representing the processing of the functional modules possessed by each apparatus. Here, the computer includes, as hardware, a microprocessor such as a CPU, a memory (primary storage) such as a random access memory (RAM) and a read only memory (ROM), an HDD controller that controls an HDD (hard disk drive), Various I / O (input / output) interfaces, network interfaces that perform control for connection to a network such as a local area network, and the like have a circuit configuration connected via a bus, for example. Also, portable non-volatile recording of various standards such as a disk drive and a flash memory for reading and / or writing to a portable disk recording medium such as a CD or a DVD via the I / O interface, for example. A memory reader / writer for reading from and / or writing to a medium may be connected. A program in which the processing contents of each functional module exemplified above are described is stored in a fixed storage device such as a hard disk drive via a recording medium such as a CD or DVD, or via a communication means such as a network, and stored in a computer. Installed. The program stored in the fixed storage device is read into the RAM and executed by a microprocessor such as a CPU, thereby realizing the functional module group exemplified above.

100 印刷データ変換装置、101 受信部、102 解析部、103 出力部、104 スプーラ、105 プリンタドライバ、106 言語モニタ、108 原点補正部、109 UI部、110 補正値記憶部、150 ホストコンピュータ、160 プリンタ。   DESCRIPTION OF SYMBOLS 100 Print data converter 101 Receiving part 102 Analyzing part 103 Output part 104 Spooler 105 Printer driver 106 Language monitor 108 Origin correction part 109 UI part 110 Correction value storage part 150 Host computer 160 Printer .

Claims (4)

印刷装置の機種に対する、用紙のサイズ及び向きの組合せごとに、前記機種の印刷装置にて前記サイズ及び前記向きの用紙に対して印刷を行う場合の印刷原点位置を、基準印刷装置にて前記サイズ及び前記向きの印刷を行う場合の印刷原点位置に一致させるための、印刷原点位置の補正量を記憶した補正量記憶手段と、
前記基準印刷装置で印刷すべきものとして前記基準印刷装置用の第1の印刷データ記述言語で作成済みの第1の印刷データを、印刷出力先の指定情報と共に受け取り、前記指定情報から印刷出力を行う印刷装置の機種を特定する特定手段と、
前記特定手段が特定した機種、指定された用紙のサイズ及び向き、に応じた補正量を、前記補正量記憶手段から取得し、取得した補正量に基づいて、前記第2の印刷データにおける印刷原点位置の補正量を設定する補正量設定手段と、
前記第1の印刷データを、前記特定手段が特定した機種の印刷装置する第2の印刷データ記述言語で表される第2の印刷データへと変換する変換手段であって、前記補正量設定手段により設定された補正量に基づいて前記第2の印刷データにおける印刷原点位置を補正することを特徴とする変換手段と、
を備える印刷データ変換装置。
For each combination of paper size and orientation with respect to the printing device model, the printing origin position when printing on the paper with the size and the orientation is performed by the printing device of the model. And a correction amount storage means for storing a correction amount of the printing origin position for matching the printing origin position when performing printing in the orientation,
The first print data created in the first print data description language for the reference printing device as the one to be printed by the reference printing device is received together with the designation information of the print output destination, and the print output is performed from the designation information. A specifying means for specifying the model of the printing device;
A correction amount corresponding to the model specified by the specifying unit and the size and orientation of the specified paper is acquired from the correction amount storage unit, and based on the acquired correction amount, the print origin in the second print data Correction amount setting means for setting a position correction amount;
Conversion means for converting the first print data into second print data expressed in a second print data description language of a printing apparatus of a model specified by the specifying means, the correction amount setting means Conversion means for correcting the print origin position in the second print data based on the correction amount set by
A print data conversion apparatus comprising:
前記補正量設定手段は、
前記補正量記憶手段から取得した機種共通の補正量に対して、前記印刷出力を行う印刷装置の個体差に応じた調整の入力を受け付ける調整受付手段と、
前記調整受付手段が受け付けた調整による調整後の補正量、又はこの補正量と前記機種共通の補正量との差分を、前記印刷出力を行う印刷装置に固有の個別補正情報として記憶する個別補正情報記憶手段と、
前記指定情報から特定される前記印刷出力を行う印刷装置に対応する固有の個別補正情
報を前記個別補正情報記憶手段から取得し、取得した個別補正情報から前記印刷装置に固有の補正量を求め、求めた補正量を前記第2の印刷データにおける印刷原点位置の補正量として設定する調整手段と、
を備えることを特徴とする請求項1に記載の印刷データ変換装置。
The correction amount setting means includes
An adjustment accepting unit that accepts an input of adjustment according to individual differences of the printing apparatuses that perform the print output with respect to the correction amount common to the models acquired from the correction amount storage unit;
Individual correction information for storing the correction amount after adjustment by the adjustment received by the adjustment receiving unit or the difference between the correction amount and the correction amount common to the model as individual correction information unique to the printing apparatus that performs the print output Storage means;
Obtaining individual individual correction information corresponding to a printing apparatus that performs the printing output specified from the designation information from the individual correction information storage unit, and obtaining a correction amount specific to the printing apparatus from the obtained individual correction information, Adjusting means for setting the calculated correction amount as a correction amount of the print origin position in the second print data;
The print data conversion apparatus according to claim 1, further comprising:
論理プリンタごとに、前記補正量記憶手段に記憶された機種共通の補正量に対する前記論理プリンタ固有の調整量を記憶する調整量記憶手段、をさらに備え、
前記指定情報は、出力先の論理プリンタを指定する情報であり、
前記補正量設定手段は、前記指定情報から特定される論理プリンタに対応する調整量を前記調整量記憶手段から求め、前記補正量設定手段により設定された補正量に求めた調整量を加えた量だけ、前記第2の印刷データにおける印刷原点位置を補正する、
ことを特徴とする請求項1又は2に記載の印刷データ変換装置。
An adjustment amount storage unit that stores an adjustment amount unique to the logical printer with respect to a correction amount common to a model stored in the correction amount storage unit for each logical printer;
The designation information is information for designating an output destination logical printer,
The correction amount setting means obtains an adjustment amount corresponding to the logical printer specified from the designation information from the adjustment amount storage means, and an amount obtained by adding the adjustment amount obtained to the correction amount set by the correction amount setting means Only correcting the print origin position in the second print data,
The print data conversion apparatus according to claim 1 or 2, characterized in that
コンピュータを、
印刷装置の機種に対する、用紙のサイズ及び向きの組合せごとに、前記機種の印刷装置にて前記サイズ及び前記向きの用紙に対して印刷を行う場合の印刷原点位置を、基準印刷装置にて前記サイズ及び前記向きの印刷を行う場合の印刷原点位置に一致させるための、印刷原点位置の補正量を記憶した補正量記憶手段、
前記基準印刷装置で印刷すべきものとして前記基準印刷装置用の第1の印刷データ記述言語で作成済みの第1の印刷データを、印刷出力先の指定情報と共に受け取り、前記指定情報から印刷出力を行う印刷装置の機種を特定する特定手段、
前記特定手段が特定した機種、指定された用紙のサイズ及び向き、に応じた補正量を、前記補正量記憶手段から取得し、取得した補正量に基づいて、前記第2の印刷データにおける印刷原点位置の補正量を設定する補正量設定手段、
前記第1の印刷データを、前記特定手段が特定した機種の印刷装置する第2の印刷データ記述言語で表される第2の印刷データへと変換する変換手段であって、前記補正量設定手段により設定された補正量に基づいて前記第2の印刷データにおける印刷原点位置を補正することを特徴とする変換手段、
として機能させるためのプログラム。
Computer
For each combination of paper size and orientation with respect to the printing device model, the printing origin position when printing on the paper with the size and the orientation is performed by the printing device of the model. And a correction amount storage means for storing the correction amount of the print origin position for matching the print origin position when performing printing in the orientation,
The first print data created in the first print data description language for the reference printing device as the one to be printed by the reference printing device is received together with the designation information of the print output destination, and the printing is performed from the designation information. Identification means for identifying the model of the printing device,
A correction amount corresponding to the model specified by the specifying unit and the size and orientation of the specified paper is acquired from the correction amount storage unit, and based on the acquired correction amount, the print origin in the second print data Correction amount setting means for setting a position correction amount;
Conversion means for converting the first print data into second print data expressed in a second print data description language of a printing apparatus of a model specified by the specifying means, the correction amount setting means Conversion means for correcting the print origin position in the second print data based on the correction amount set by
Program to function as.
JP2012014664A 2012-01-26 2012-01-26 Print data conversion apparatus and program Active JP4968417B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012014664A JP4968417B1 (en) 2012-01-26 2012-01-26 Print data conversion apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012014664A JP4968417B1 (en) 2012-01-26 2012-01-26 Print data conversion apparatus and program

Publications (2)

Publication Number Publication Date
JP4968417B1 true JP4968417B1 (en) 2012-07-04
JP2013156710A JP2013156710A (en) 2013-08-15

Family

ID=46650131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012014664A Active JP4968417B1 (en) 2012-01-26 2012-01-26 Print data conversion apparatus and program

Country Status (1)

Country Link
JP (1) JP4968417B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6515729B2 (en) 2015-08-06 2019-05-22 セイコーエプソン株式会社 Printer control method, program, storage medium, and printer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10278372A (en) * 1997-04-01 1998-10-20 Hexa-De:Kk Method for offsetting error of print position in printing by computer and computer readable recording medium storing print program
JP2006350650A (en) * 2005-06-15 2006-12-28 Fuji Xerox Co Ltd Electronic document management system, image forming apparatus, electronic document management method, and program
JP2007025845A (en) * 2005-07-13 2007-02-01 Seiko Epson Corp Printer control method and program
JP2010140224A (en) * 2008-12-11 2010-06-24 Oki Data Corp Printer control unit, printer control method, and printer driver
JP2010165008A (en) * 2009-01-13 2010-07-29 Fuji Xerox Co Ltd Information processing apparatus, image forming system, and processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10278372A (en) * 1997-04-01 1998-10-20 Hexa-De:Kk Method for offsetting error of print position in printing by computer and computer readable recording medium storing print program
JP2006350650A (en) * 2005-06-15 2006-12-28 Fuji Xerox Co Ltd Electronic document management system, image forming apparatus, electronic document management method, and program
JP2007025845A (en) * 2005-07-13 2007-02-01 Seiko Epson Corp Printer control method and program
JP2010140224A (en) * 2008-12-11 2010-06-24 Oki Data Corp Printer control unit, printer control method, and printer driver
JP2010165008A (en) * 2009-01-13 2010-07-29 Fuji Xerox Co Ltd Information processing apparatus, image forming system, and processing program

Also Published As

Publication number Publication date
JP2013156710A (en) 2013-08-15

Similar Documents

Publication Publication Date Title
EP2879042B1 (en) Information processing apparatus, information processing method, and recording medium
RU2654143C2 (en) Information processing device, information processing method and program
US8964241B2 (en) Print control device and non-transitory computer readable medium for storing mark information in accordance with a type of printer
WO2011138848A1 (en) Information processing apparatus, method for controlling same, and storage medium
US9619739B2 (en) Printer that sets sheet size for printing an XPS file
JP2006092099A (en) Image forming method and image forming device
US8614823B2 (en) Technique for processing print data in parallel using plural raster image processors in order to increase printing speed
JP2008077160A (en) Image processing device, image processing method, image forming apparatus, computer-executable program, and recording medium storing the program
JP6984145B2 (en) Information processing equipment
US20110216337A1 (en) Image processing apparatus, image processing system, and computer readable medium
JP4968417B1 (en) Print data conversion apparatus and program
JP6917285B2 (en) Image forming device
JP2016213646A (en) Print image generating device, color conversion control program and color conversion control method
KR20200047354A (en) Methods and systems for handling printing of large-size objects
US9117158B2 (en) Image forming apparatus, image forming method, and non-transitory computer readable medium
US20150235112A1 (en) Information processing device and information processing method
JP6354742B2 (en) Information processing apparatus, information processing method, and program
US20170316290A1 (en) Information processing apparatus, print data generation method, and storage medium
US9990169B2 (en) Print controller, print control method and non-transitory computer readable recording medium for executing test print
JP7124447B2 (en) Translators, printing systems and programs
JP5527343B2 (en) Print data conversion apparatus and program
JP4993043B1 (en) Print data conversion apparatus and program
JP6292197B2 (en) Information replacement system, information processing apparatus, information output system, and program
JP6372365B2 (en) Printing instruction apparatus, printing system, and program
JP2009211112A (en) Printing control device and program for printer driver

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120306

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120319

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

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4968417

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350