JP2013171442A - Print instruction conversion device, print control device and program - Google Patents
Print instruction conversion device, print control device and program Download PDFInfo
- Publication number
- JP2013171442A JP2013171442A JP2012035066A JP2012035066A JP2013171442A JP 2013171442 A JP2013171442 A JP 2013171442A JP 2012035066 A JP2012035066 A JP 2012035066A JP 2012035066 A JP2012035066 A JP 2012035066A JP 2013171442 A JP2013171442 A JP 2013171442A
- Authority
- JP
- Japan
- Prior art keywords
- feed tray
- paper feed
- paper
- designation information
- print instruction
- 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.)
- Granted
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、印刷指示変換装置、印刷制御装置およびプログラムに関する。 The present invention relates to a print instruction conversion device, a print control device, and a program.
特許文献1には、仮想的な印字処理時に給紙を行う論理ホッパと仮想的な印字処理時に排紙を行う論理スタッカをそれぞれ実際の物理ホッパおよび物理スタッカに対応させることが開示されている。
本発明の目的は、あるページ記述言語を解釈して印刷動作を行う印刷装置が異なるページ記述言語を解釈して印刷動作を行う印刷装置に置き換えられた場合でも、置き換え前後で同じ用紙サイズ選択結果を得ることが可能な印刷指示変換装置、印刷制御装置およびプログラムを提供することである。 It is an object of the present invention to provide the same paper size selection result before and after replacement even when a printing apparatus that interprets a page description language and performs a printing operation is replaced with a printing apparatus that interprets a different page description language and performs a printing operation. Is provided with a print instruction conversion device, a print control device, and a program.
請求項1に係る本発明は、第1のページ記述言語を解釈して印刷動作を行う置換前の印刷装置における給紙トレイの構成情報と、第2のページ記述言語を解釈して印刷動作を行う置換後の印刷装置における給紙トレイの構成情報とに基づいて予め作成され、置換前の印刷装置の給紙トレイを指定する第1の給紙トレイ指定情報と、用紙サイズと、置換後の印刷装置の給紙トレイを指定する第2の給紙トレイ指定情報とを対応させた変換テーブルを記憶する記憶手段と、
第1のページ記述言語により記述された印刷指示を受け付ける受付手段と、
前記受付手段により受け付けた印刷指示に含まれる給紙トレイの指定情報および指定用紙サイズの情報と、前記記憶手段に記憶されている変換テーブルにおける第1の給紙トレイ指定情報および用紙サイズの対応関係とを参照し、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法により前記指定用紙サイズと一致する用紙サイズを特定し、特定された用紙サイズに対応する第2の給紙トレイ指定情報を前記変換テーブルから取得し、前記印刷指示における給紙トレイの指定情報を取得した給紙トレイの指定情報に変更する変更手段と、
前記変更手段により給紙トレイの指定情報が変更された印刷指示を、第2のページ記述言語により記述された印刷指示に変換する変換手段と、
を有する印刷指示変換装置である。
The present invention according to claim 1 interprets the first page description language and performs the printing operation, the configuration information of the paper feed tray in the printing apparatus before replacement, and interprets the second page description language to perform the printing operation. Based on the configuration information of the paper feed tray in the printing apparatus after replacement to be performed, first paper feed tray designation information for designating the paper feed tray of the printing apparatus before replacement, the paper size, and the post-replacement Storage means for storing a conversion table in association with second paper feed tray designation information for designating a paper feed tray of the printing apparatus;
Receiving means for receiving a print instruction described in the first page description language;
Correspondence relationship between paper feed tray designation information and designated paper size information included in the print instruction accepted by the accepting means, and first paper feed tray designation information and paper size in the conversion table stored in the storage means , A paper size that matches the specified paper size is specified by a paper size specifying method based on interpretation of a print instruction in the first page description language, and a second supply corresponding to the specified paper size is specified. Changing means for obtaining paper tray designation information from the conversion table and changing the paper tray designation information in the print instruction to the obtained paper tray designation information;
Conversion means for converting a print instruction whose paper feed tray designation information has been changed by the changing means into a print instruction described in a second page description language;
Is a printing instruction conversion device.
請求項2に係る本発明は、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法が、印刷指示に含まれる給紙トレイの指定情報を起点として、前記変換テーブルにおいて前記第1の給紙トレイ指定情報から順に前記指定用紙サイズと一致する用紙サイズを検索し、前記第1の給紙トレイ指定情報から最も近い前記指定用紙サイズと一致する用紙サイズを特定する請求項1に記載の印刷指示変換装置である。 According to a second aspect of the present invention, in the conversion table, the paper size specifying method based on the interpretation of the print instruction in the first page description language starts from the designation information of the paper feed tray included in the print instruction. The paper size that matches the specified paper size is searched in order from the first paper feed tray designation information, and the paper size that matches the designated paper size closest to the first paper feed tray designation information is specified. The print instruction conversion device described in the above.
請求項3に係る本発明は、前記変更手段は、前記変換テーブルにおいて前記指定用紙サイズと一致する用紙サイズが存在しない場合に、給紙トレイを指定しないように前記印刷指示を変更する請求項1または2記載の印刷指示変換装置である。 According to a third aspect of the present invention, the change unit changes the print instruction so as not to designate a paper feed tray when there is no paper size that matches the designated paper size in the conversion table. Alternatively, the print instruction conversion apparatus according to 2.
請求項4に係る本発明は、第1のページ記述言語を解釈して印刷動作を行う置換前の印刷装置における給紙トレイの構成情報と、第2のページ記述言語を解釈して印刷動作を行う置換後の印刷装置における給紙トレイの構成情報とに基づいて予め作成され、置換前の印刷装置の給紙トレイを指定する第1の給紙トレイ指定情報と、用紙サイズと、置換後の印刷装置の給紙トレイを指定する第2の給紙トレイ指定情報とを対応させた変換テーブルを記憶する記憶手段と、
第1のページ記述言語により記述された印刷指示を受け付ける受付手段と、
前記受付手段により受け付けた印刷指示に含まれる給紙トレイの指定情報および指定用紙サイズの情報と、前記記憶手段に記憶されている変換テーブルにおける第1の給紙トレイ指定情報および用紙サイズの対応関係とを参照し、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法により前記指定用紙サイズと一致する用紙サイズを特定し、特定された用紙サイズに対応する第2の給紙トレイ指定情報を前記変換テーブルから取得し、前記印刷指示における給紙トレイの指定情報を取得した給紙トレイの指定情報に変更する変更手段と、
前記変更手段により給紙トレイの指定情報が変更された印刷指示を、第2のページ記述言語により記述された印刷指示に変換する変換手段と、
前記変換手段により変換された印刷指示を印刷装置に実行させるよう指示する指示手段と、
を有する印刷制御装置である。
The present invention according to
Receiving means for receiving a print instruction described in the first page description language;
Correspondence relationship between paper feed tray designation information and designated paper size information included in the print instruction accepted by the accepting means, and first paper feed tray designation information and paper size in the conversion table stored in the storage means , A paper size that matches the specified paper size is specified by a paper size specifying method based on interpretation of a print instruction in the first page description language, and a second supply corresponding to the specified paper size is specified. Changing means for obtaining paper tray designation information from the conversion table and changing the paper tray designation information in the print instruction to the obtained paper tray designation information;
Conversion means for converting a print instruction whose paper feed tray designation information has been changed by the changing means into a print instruction described in a second page description language;
Instruction means for instructing the printing apparatus to execute the print instruction converted by the conversion means;
Is a printing control apparatus.
請求項5に係る本発明は、第1のページ記述言語を解釈して印刷動作を行う置換前の印刷装置における給紙トレイの構成情報と、第2のページ記述言語を解釈して印刷動作を行う置換後の印刷装置における給紙トレイの構成情報とに基づいて予め作成され、置換前の印刷装置の給紙トレイを指定する第1の給紙トレイ指定情報と、用紙サイズと、置換後の印刷装置の給紙トレイを指定する第2の給紙トレイ指定情報とを対応させた変換テーブルを記憶するステップと、
第1のページ記述言語により記述された印刷指示を受け付けるステップと、
受け付けた印刷指示に含まれる給紙トレイの指定情報および指定用紙サイズの情報と、記憶されている変換テーブルにおける第1の給紙トレイ指定情報および用紙サイズの対応関係とを参照し、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法により前記指定用紙サイズと一致する用紙サイズを特定し、特定された用紙サイズに対応する第2の給紙トレイ指定情報を前記変換テーブルから取得し、前記印刷指示における給紙トレイの指定情報を取得した給紙トレイの指定情報に変更するステップと、
給紙トレイの指定情報が変更された印刷指示を、第2のページ記述言語により記述された印刷指示に変換するステップと、
をコンピュータに実行させるためのプログラムである。
The present invention according to
Receiving a print instruction described in a first page description language;
With reference to the paper feed tray designation information and the designated paper size information included in the received print instruction and the correspondence relationship between the first paper feed tray designation information and the paper size in the stored conversion table, the first A sheet size that matches the specified sheet size is specified by a sheet size specifying method based on the interpretation of the print instruction in the page description language, and the second paper feed tray specification information corresponding to the specified sheet size is stored in the conversion table. Changing the paper feed tray designation information in the print instruction to the obtained paper feed tray designation information;
Converting the print instruction in which the designation information of the paper feed tray has been changed into a print instruction described in the second page description language;
Is a program for causing a computer to execute.
請求項1に係る本発明によれば、あるページ記述言語を解釈して印刷動作を行う印刷装置が異なるページ記述言語を解釈して印刷動作を行う印刷装置に置き換えられた場合でも、置き換え前後で同じ用紙サイズ選択結果を得ることが可能な印刷指示変換装置を提供することができる。 According to the first aspect of the present invention, even when a printing apparatus that interprets a page description language and performs a printing operation is replaced with a printing apparatus that interprets a different page description language and performs a printing operation, before and after the replacement. It is possible to provide a print instruction conversion apparatus capable of obtaining the same paper size selection result.
請求項2に係る本発明によれば、請求項1に係る発明によって得られる効果に加えて、印刷指示における給紙トレイの指定情報と指定用紙サイズの組み合わせが、変換テーブルにおける第1の給紙トレイ指定情報と用紙サイズの対応関係と異なっていても用紙サイズを特定することが可能な印刷指示変換装置を提供することができる。 According to the second aspect of the present invention, in addition to the effect obtained by the first aspect of the invention, the combination of the paper feed tray designation information and the designated paper size in the print instruction is the first paper feed in the conversion table. It is possible to provide a print instruction conversion apparatus capable of specifying the paper size even if the correspondence between the tray designation information and the paper size is different.
請求項3に係る本発明によれば、請求項1または2に係る発明によって得られる効果に加えて、印刷指示において変換テーブルに存在しない用紙サイズが指定された場合でも、印刷指示において指定された用紙サイズの用紙に出力することが可能な印刷指示変換装置を提供することができる。 According to the third aspect of the present invention, in addition to the effect obtained by the first or second aspect of the present invention, even when a paper size that does not exist in the conversion table is specified in the print instruction, it is specified in the print instruction. It is possible to provide a print instruction conversion device that can output to paper of a paper size.
請求項4に係る本発明によれば、あるページ記述言語を解釈して印刷動作を行う印刷装置が異なるページ記述言語を解釈して印刷動作を行う印刷装置に置き換えられた場合でも、置き換え前後で同じ用紙サイズ選択結果を得ることが可能な印刷制御装置を提供することができる。 According to the fourth aspect of the present invention, even when a printing apparatus that interprets a certain page description language and performs a printing operation is replaced with a printing apparatus that interprets a different page description language and performs a printing operation, before and after the replacement. It is possible to provide a print control apparatus capable of obtaining the same paper size selection result.
請求項5に係る本発明によれば、あるページ記述言語を解釈して印刷動作を行う印刷装置が異なるページ記述言語を解釈して印刷動作を行う印刷装置に置き換えられた場合でも、置き換え前後で同じ用紙サイズ選択結果を得ることが可能なプログラムを提供することができる。
According to the present invention of
次に、本発明の実施の形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施形態の画像形成システムを示す図である。 FIG. 1 is a diagram showing an image forming system according to an embodiment of the present invention.
図1の画像形成システムにおいては、ページ記述言語A(第1のページ記述言語)を解釈して印刷動作を行うプリンタ3(置換前の印刷装置)が、ユーザによりページ記述言語B(第2のページ記述言語)を解釈して印刷動作を行うプリンタ4(置換後の印刷装置)に置き換えられている。 In the image forming system of FIG. 1, a printer 3 (pre-replacement printing apparatus) that interprets a page description language A (first page description language) and performs a printing operation is operated by a user on a page description language B (second page). It is replaced with a printer 4 (printing device after replacement) that interprets the page description language) and performs a printing operation.
プリントサーバ2(印刷制御装置)は、TCP/IP(トランスミッション・コントロール・プロトコル/インターネット・プロトコル)を介して印刷指示装置1、プリンタ4と接続されている。なお、本実施形態においては、TCP/IPを介してプリントサーバ2、印刷指示装置1、プリンタ4が接続されている場合について説明するが、プリントサーバ2、印刷指示装置1、プリンタ4が相互に接続されてネットワークを形成するものであれば接続方法に限定されるものではない。
The print server 2 (print control device) is connected to the
印刷指示装置1は、用紙に画像を出力するための印刷ジョブ(印刷指示)をTCP/IPを介してプリントサーバ2に送信する。
The
プリントサーバ2は、印刷指示装置1からの印刷ジョブを受け付け、受け付けた印刷ジョブをページ記述言語Aからページ記述言語Bに変換し、TCP/IPを介してページ記述言語Bに変換した印刷ジョブをプリンタ4に指示する。
The
プリンタ4は、プリントサーバ2により指示された印刷ジョブに基づいて用紙に出力を行う。
The
次に、プリントサーバ2のハードウェアの構成を図2を参照して詳細に説明する。
Next, the hardware configuration of the
プリントサーバ2は、図2に示されるように、CPU11、メモリ12、ハードディスクドライブ(HDD)等の記憶装置13、TCP/IPを介して印刷指示装置1、プリンタ3、4との間でデータの送信及び受信を行う通信インタフェース(IF)14、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)装置15を有する。これらの構成要素は、制御バス16を介して互いに接続されている。
As shown in FIG. 2, the
CPU11は、メモリ12または記憶装置13に格納された制御プログラムに基づいて所定の処理を実行して、プリントサーバ2の動作を制御する。なお、本実施形態では、CPU11は、メモリ12または記憶装置13内に格納された制御プログラムを読み出して実行するものとして説明したが、当該プログラムをCD−ROM等の記憶媒体に格納してCPU11に提供することも可能である。
The
図3は、上記の制御プログラムが実行されることにより実現されるプリントサーバ2の機能構成を示すブロック図である。
FIG. 3 is a block diagram showing a functional configuration of the
本実施形態におけるプリントサーバ2は、図3に示すように、印刷ジョブ変換装置20、プリンタドライバ24により構成されている。また、印刷ジョブ変換装置20は、受付部21、印刷ジョブ変更部22、言語変換部23、記憶部25、操作画面を表示してユーザの操作を受け付けるUI操作部26により構成されている。
As shown in FIG. 3, the
UI操作部26は、ユーザの操作を受け付けて、プリンタ3における給紙トレイの構成情報と、プリンタ4における給紙トレイの構成情報とに基づいて変換テーブルを予め作成する。
The
記憶部25は、UI操作部26により予め作成され、プリンタ3の給紙トレイを指定する変換前の給紙トレイ番号(第1の給紙トレイ指定情報)及びプリンタ3の給紙トレイに格納されている用紙の用紙サイズと、プリンタ4の給紙トレイを指定する変換後の給紙トレイ番号(第2の給紙トレイ指定情報)とを対応付ける変換テーブルを記憶する。
The
受付部21は、ページ記述言語Aにより記述された印刷ジョブを印刷指示装置1から受け付ける。
The accepting
印刷ジョブ変更部22は、受付部21により受け付けられた印刷ジョブに含まれる給紙トレイ番号(給紙トレイの指定情報)および指定用紙サイズの情報と、記憶部25に記憶されている変換テーブルにおける変換前の給紙トレイ番号および用紙サイズの対応関係とを参照し、ページ記述言語Aにおける印刷ジョブの解釈に基づく用紙サイズの特定方法により指定用紙サイズと一致する用紙サイズを特定する。そして、印刷ジョブ変更部22は、特定した用紙サイズに対応する変換後の給紙トレイ番号を変換テーブルから取得し、印刷ジョブにおける給紙トレイの指定情報を取得した給紙トレイ番号に変更する。本実施形態の印刷ジョブ変更部22においては、ページ記述言語Aにおける印刷ジョブの解釈に基づく用紙サイズの特定方法が、印刷ジョブに含まれる給紙トレイ番号を起点として、変換テーブルにおいて変換前の給紙トレイ番号から順に指定用紙サイズと一致する用紙サイズを検索し、変換前の給紙トレイ番号から最も近い指定用紙サイズと一致する用紙サイズを特定する。
The print
また、印刷ジョブ変更部22は、変換テーブルにおいて指定用紙サイズと一致する用紙サイズが存在しない場合に、給紙トレイを指定しないように印刷ジョブを変更する。本実施形態における印刷ジョブ変更部22は、変換テーブルにおいて指定用紙サイズと一致する用紙サイズが存在しない場合に、印刷ジョブ装置22は、給紙トレイ番号を「自動」に変更する。
The print
言語変換部23は、印刷ジョブ変更部22により給紙トレイ番号が変更された印刷ジョブをページ記述言語Bにより記述された印刷ジョブに変換する。
The
プリンタドライバ24は、言語変換部23によりページ記述言語が変換された印刷ジョブをプリンタ4に実行させるよう指示する。
The
次に、本実施形態におけるプリンタ3、4の給紙トレイの構成及びプリンタ3、4における印刷ジョブのコマンド解釈の違いについて説明する。
Next, the difference in the configuration of the paper feed trays of the
まず、プリンタ3、4の給紙トレイの構成について図4を参照して説明する。
First, the configuration of the paper feed trays of the
図4は、プリンタ3、4の給紙トレイの構成を示す図である。図4に示すように、プリンタ3においては、給紙トレイ番号1に用紙サイズB5の印刷用紙、給紙トレイ番号2に用紙サイズA4の印刷用紙、給紙トレイ番号3に用紙サイズA4の厚紙がそれぞれ格納されている。また、プリンタ4においては、給紙トレイ番号1に用紙サイズB5の印刷用紙、給紙トレイ番号2に用紙サイズA4の印刷用紙、給紙トレイ番号3に用紙サイズA4の印刷用紙、給紙トレイ番号4に用紙サイズA4の厚紙、給紙トレイ番号5に用紙サイズA3の印刷用紙がそれぞれ格納されている。
FIG. 4 is a diagram showing the configuration of the paper feed trays of the
次に、プリンタ3、4における印刷ジョブのコマンド解釈の違いについて図5を参照して説明する。
Next, the difference in command interpretation of the print job in the
図5(A)に示すように、ページ記述言語Aにより記述された印刷ジョブを受け付けたプリンタ3おいては、印刷ジョブにおいて給紙トレイ番号が「1」、指定用紙サイズが「A4」と指示された場合、「給紙トレイ番号1を起点として」、「起点から最も近い給紙トレイ番号の用紙サイズA4を検索する」というようなコマンド解釈により用紙サイズを特定して印刷ジョブを実行する。
As shown in FIG. 5A, in the
一方、ページ記述言語Bにより記述された印刷ジョブを受け付けたプリンタ4においては、図5(B)に示すように、印刷ジョブおいて給紙トレイ番号が「1」、指定用紙サイズが「A4」である場合、「給紙トレイ番号1に格納されている用紙に」、「A4サイズの画像を出力する」というようなコマンド解釈により用紙サイズを特定して印刷ジョブを実行する。つまり、プリンタ4は、図5(B)に示す印刷ジョブを受け付けた場合、給紙トレイ番号1の給紙トレイにB5サイズの用紙が格納されているため、A4サイズの画像をB5サイズの用紙に出力する。また、印刷ジョブにおいて給紙トレイ番号が「自動」である場合には、プリンタ4は、給紙トレイ番号に関わらず指定用紙サイズと一致する用紙サイズの用紙を格納している給紙トレイを選択する。
On the other hand, in the
上記のように、ページ記述言語Aを解釈して印刷動作を行うプリンタ3を、ページ記述言語Bを解釈して印刷動作を行うプリンタ4に置き換えた場合、単に印刷ジョブをページ記述言語Aからページ記述言語Bに変換するだけでは、印刷ジョブのコマンド解釈の違いにより、プリンタ4においてプリンタ3に対する印刷ジョブと同じ印刷結果を得ることができない場合がある。
As described above, when the
次に、本実施形態におけるプリントサーバ2の全体的な動作を図6を参照して説明する。
Next, the overall operation of the
まず、UI操作部26は、ユーザの操作により変換テーブルを作成する(ステップS101)。本実施形態においては、図7に示すように、UI操作部26は、変換テーブルの設定画面を表示し、プリンタ3、4の給紙トレイの構成に基づいて、ユーザの操作により変換前の給紙トレイ番号と、用紙サイズと、変換後の給紙トレイ番号とを対応させる。
First, the
具体的には、UI操作部26は、ユーザの操作を受け付けることにより、プリンタ3の給紙トレイ番号、即ち、変換前の給紙トレイ番号及びプリンタ3の給紙トレイに格納されている用紙の用紙サイズを対応させる。そして、UI操作部26は、ユーザの操作を受け付けることにより、変換前の給紙トレイ番号及び用紙サイズに対して、用紙サイズが一致する用紙を格納しているプリンタ4の給紙トレイ番号、即ち、変換後の給紙トレイ番号を対応させた変換テーブルを予め作成しておく。例えば、図7に示すように、UI操作部26は、ユーザの操作を受け付けて図4に示すプリンタ3、4の給紙トレイの構成に基づいて、変換前の給紙トレイ番号1、用紙サイズB5に対して変換後の給紙トレイ番号1を対応させる。また、図7に示すように、UI操作部26は、ユーザの操作を受け付けて変換前の給紙トレイ番号2、用紙サイズA4に対して変換後の給紙トレイ番号2を対応させる。さらに、図7に示すように、UI操作部26は、ユーザの操作を受け付けて変換前の給紙トレイ番号3、用紙サイズA4に対して変換後の給紙トレイ番号4を対応させる。そして、記憶部25は、上記のようにして予め作成された変換テーブルを記憶する。
Specifically, the
次に、受付部21は、印刷指示装置1から送信された印刷ジョブを受け付ける。そして、印刷ジョブ変更部22は、受付部21により受け付けた印刷ジョブにおける給紙トレイ番号を変更し、言語変換部23は、印刷ジョブ変更部22により変更された印刷ジョブをページ記述言語Aにより記述されたものからページ記述言語Bにより記述されたものに変換する(ステップS102)。なお、ステップS102における印刷ジョブを変換する方法の詳細は後述する。
Next, the receiving
最後に、プリンタドライバ24は、言語変換部23によりページ記述言語が変換された印刷ジョブをプリンタ4に対して実行するよう指示する(ステップS103)。
Finally, the
次に、ステップS102における印刷ジョブを変換する方法について、図8を参照して詳細に説明する。 Next, a method for converting a print job in step S102 will be described in detail with reference to FIG.
まず、受付部21は、印刷指示装置1から送信されてきた印刷ジョブを受け付ける(ステップS201)。
First, the receiving
次に、印刷ジョブ変更部22は、受付部21により受け付けた印刷ジョブにおいて給紙トレイが指定されているか否かを判定する(ステップS202)。
Next, the print
ステップS202において、受け付けた印刷ジョブにおいて給紙トレイが指定されている場合には、印刷ジョブにおける給紙トレイ番号と一致する変換前の給紙トレイ番号を検索起点として設定する(ステップS203)。 In step S202, when a paper feed tray is specified in the received print job, the paper feed tray number before conversion that matches the paper feed tray number in the print job is set as a search starting point (step S203).
次に、印刷ジョブ変更部22は、印刷ジョブにおいて用紙サイズが指定されているか否かを判定する(ステップS204)。ここで、用紙サイズが指定されている場合にはステップS205に進む。また、用紙サイズが指定されていない場合には、ステップS211に進み(ステップS204においてno)、プリントサーバ2は印刷ジョブ変換処理を終了する。
Next, the print
そして、ステップS204において、印刷ジョブにおいて用紙サイズが指定されている場合に(ステップS204においてyes)、印刷ジョブ変更部22は、記憶部25に記憶されている変換テーブルを参照し、ページ記述言語Aにおける印刷ジョブの解釈に基づく用紙サイズの特定を行う。つまり、印刷ジョブ変更部22は、変換テーブルにおいて検索起点の給紙トレイ番号から最も近い番号の指定用紙サイズと一致する用紙サイズを検索する(ステップS205)。
In step S204, when the paper size is specified in the print job (yes in step S204), the print
そして、ステップS205において指定用紙サイズを検索した結果、指定用紙サイズが変換テーブルに存在する場合にはステップS208に進み、指定用紙サイズが変換テーブルに存在しない場合にはステップS207に進む(ステップS206)。 As a result of searching for the designated paper size in step S205, if the designated paper size exists in the conversion table, the process proceeds to step S208. If the designated paper size does not exist in the conversion table, the process proceeds to step S207 (step S206). .
そして、ステップS206において、指定用紙サイズが変換テーブルに存在しない場合には(ステップS206においてno)、印刷ジョブにおける給紙トレイ番号を「自動」に変更してステップS211に進む(ステップS207)。 In step S206, if the designated paper size does not exist in the conversion table (no in step S206), the paper feed tray number in the print job is changed to “automatic” and the process proceeds to step S211 (step S207).
また、ステップS206において、指定用紙サイズが変換テーブルに存在する場合には(ステップS206においてyes)、印刷ジョブ変更部22は、変換テーブルにおいて検索された用紙サイズと対応する変換後の給紙トレイ番号を取得し、取得した変換後の給紙トレイ番号が印刷ジョブにおける給紙トレイ番号と一致するか否かを判定する(ステップS208)。
In step S206, if the designated paper size exists in the conversion table (yes in step S206), the print
ステップS208において、取得した変換後の給紙トレイ番号が印刷ジョブにおける給紙トレイ番号と一致しない場合に(ステップS208においてno)、印刷ジョブ変更部22は、印刷ジョブにおける給紙トレイ番号を変換後の給紙トレイ番号に変更する(ステップS209)。
In step S208, if the acquired converted paper feed tray number does not match the paper feed tray number in the print job (no in step S208), the print
また、ステップS208において、取得した変換後の給紙トレイ番号が印刷ジョブにおける給紙トレイ番号と一致する場合に(ステップS208においてyes)、印刷ジョブ変更部22は、印刷ジョブにおける給紙トレイ番号を変更せずにステップS211に進む(ステップS210)。
In step S208, if the acquired converted paper feed tray number matches the paper feed tray number in the print job (yes in step S208), the print
最後に、印刷ジョブ変更部22は、ページ記述言語Aにより記述された印刷ジョブをページ記述言語Bにより記述された印刷ジョブに変換する(ステップS211)。
Finally, the print
次に、上記の処理により実現される具体的な例を図9を参照して説明する。 Next, a specific example realized by the above processing will be described with reference to FIG.
例えば、図9に示すように、ページ1は「給紙トレイ番号1、用紙サイズA4」、ページ2は「給紙トレイ番号3、用紙サイズA4」、ページ3は「給紙トレイ番号1、用紙サイズA3」というようなページ記述言語Aにより記述された印刷ジョブを受付部21が受け付けた場合について説明する。
For example, as shown in FIG. 9,
ページ1においては、給紙トレイ番号1が指定されているため、印刷ジョブ変更部22は、変換前の給紙トレイ番号1を検索起点として設定する(ステップS203)。
In
次に、ページ1においては、用紙サイズA4が指定されているため、印刷ジョブ変更部22は、変換前の給紙トレイ番号1を検索起点として、番号順に変換テーブルにおける用紙サイズA4を検索する(ステップS205)。ここで、図9に示すように、変換テーブルにおいては変換前の給紙トレイ番号1に用紙サイズB5が設定されているため、印刷ジョブ変更部22は、次の給紙トレイ番号である給紙トレイ番号2と対応する用紙サイズA4を選択する。
Next, since the paper size A4 is designated for
そして、印刷ジョブ変更部22は、変換テーブルにおいて選択された用紙サイズA4と対応する変換後の給紙トレイ番号2を取得する。ここで、ページ1において指定されている給紙トレイ番号1と取得した給紙トレイ番号2が一致しないため、印刷ジョブ変更部22は、給紙トレイ番号の変更があると判定する(ステップS208においてno)。
Then, the print
そして、印刷ジョブ変更部22は、ページ1の印刷ジョブを、給紙トレイ番号1を指定した印刷ジョブから給紙トレイ番号2を指定した印刷ジョブに変更する(ステップS209)。
Then, the print
次に、ページ2においては、給紙トレイ番号3が指定されているため、印刷ジョブ変更部22は、変換前の給紙トレイ番号3を検索起点として設定する(ステップS203)。
Next, since the paper
そして、ページ2においては、用紙サイズA4が指定されているため、印刷ジョブ変更部22は、変換前の給紙トレイ番号3を検索起点として、番号順に変換テーブルにおける用紙サイズA4を検索する(ステップS205)。ここで、図9に示すように、変換テーブルにおいては、変換前の給紙トレイ番号3に用紙サイズA4が設定されているため、印刷ジョブ変更部22は給紙トレイ番号3と対応する用紙サイズA4を選択する。
In
そして、印刷ジョブ変更部22は、変換テーブルにおいて選択された用紙サイズA4と対応する変換後の給紙トレイ番号4を取得する。ここで、ページ2において指定されている給紙トレイ番号3と取得した給紙トレイ番号4が一致しないため、印刷ジョブ変更部22は、給紙トレイ番号の変更があると判定する(ステップS208においてno)。
Then, the print
そして、印刷ジョブ変更部22は、ページ2の印刷ジョブを、給紙トレイ番号3を指定した印刷ジョブから給紙トレイ番号4を指定した印刷ジョブに変更する(ステップS209)。
Then, the print
次に、ページ3においては、給紙トレイ番号1が指定されているため、印刷ジョブ変更部22は、変換前の給紙トレイ番号1を検索起点として設定する(ステップS203)。
Next, since the paper
そして、ページ3においては、用紙サイズA3が指定されているため、印刷ジョブ変更部22は、変換前の給紙トレイ番号1を検索起点として、番号順に変換テーブルにおける用紙サイズA3を検索する(ステップS205)。ここで、図9に示すように、変換テーブルにおいては、用紙サイズA3が存在しないため(ステップS206においてno)、印刷ジョブ変更部22は、ページ3の印刷ジョブを、給紙トレイ番号1を指定した印刷ジョブから給紙トレイ番号が自動に設定された印刷ジョブに変更する(ステップS207)。
In
言語変換部23は、上記のようにしてページ1〜3における給紙トレイ番号が変更された印刷ジョブを、ページ記述言語Aにより記述されたものからページ記述言語Bに記述されたものに変換する(ステップS211)。
The
そして、プリンタドライバ24は、ページ記述言語Aからページ記述言語Bに変換された印刷ジョブを実行するようプリンタ4に指示する。
Then, the
そして、プリンタ4は、図9に示すように、プリンタドライバ24から指示された印刷ジョブに基づいて、ページ1を給紙トレイ番号2の用紙サイズA4の印刷用紙に、ページ2を給紙トレイ番号4の用紙サイズA4の厚紙に出力する。また、ページ3については給紙トレイ番号が自動であるため、プリンタ4は、用紙サイズA3が格納されている給紙トレイ番号を選択して印刷用紙に出力する。
Then, as shown in FIG. 9, the
なお、上述したように、本実施形態において、用紙サイズA4の厚紙はプリンタ3においては給紙トレイ番号3に格納されているが、プリンタ4においては給紙トレイ番号4に格納されている。しかし、本実施形態によれば、プリンタ3に対して用紙サイズA4の厚紙を指定する場合と同様の印刷ジョブでも、プリンタ4において用紙サイズA4の厚紙が選択される。
As described above, in the present embodiment, the thick paper of the paper size A4 is stored in the paper
また、本実施形態においては、印刷ジョブ変換装置20がプリントサーバ2に設置されている場合を用いて説明したが、本発明は、印刷ジョブ変換装置20が外部に設置されている場合でも同様に適用することができる。
In this embodiment, the case where the print
また、本実施形態において、用紙サイズの特定方法がページ記述言語Aにおける印刷ジョブの解釈に基づくものとして説明したが、本発明においては上述したページ記述言語Aにおける印刷ジョブの解釈に限定されるものではない。本発明は、置換前の印刷装置が対応しているページ記述言語により記述された印刷ジョブの解釈に基づいて用紙サイズを特定するものであれば、同様に適用できるものである。 In the present embodiment, the paper size specifying method has been described based on the interpretation of the print job in the page description language A. However, the present invention is limited to the interpretation of the print job in the page description language A described above. is not. The present invention can be similarly applied as long as the paper size is specified based on the interpretation of the print job described in the page description language supported by the pre-replacement printing apparatus.
1 印刷指示装置
2 プリントサーバ
3、4 プリンタ
11 CPU
12 メモリ
13 記憶装置
14 通信IF
15 UI装置
16 制御バス
20 印刷ジョブ変換装置
21 受付部
22 印刷ジョブ変更部
23 言語変換部
24 プリンタドライバ
25 記憶部
26 UI操作部
DESCRIPTION OF
12
DESCRIPTION OF
Claims (5)
第1のページ記述言語により記述された印刷指示を受け付ける受付手段と、
前記受付手段により受け付けた印刷指示に含まれる給紙トレイの指定情報および指定用紙サイズの情報と、前記記憶手段に記憶されている変換テーブルにおける第1の給紙トレイ指定情報および用紙サイズの対応関係とを参照し、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法により前記指定用紙サイズと一致する用紙サイズを特定し、特定された用紙サイズに対応する第2の給紙トレイ指定情報を前記変換テーブルから取得し、前記印刷指示における給紙トレイの指定情報を取得した給紙トレイの指定情報に変更する変更手段と、
前記変更手段により給紙トレイの指定情報が変更された印刷指示を、第2のページ記述言語により記述された印刷指示に変換する変換手段と、
を有する印刷指示変換装置。 Configuration information of the paper feed tray in the printing apparatus before replacement that performs the printing operation by interpreting the first page description language, and paper feeding in the printing apparatus after replacement that performs the printing operation by interpreting the second page description language Designed in advance based on the tray configuration information, the first paper feed tray designation information for designating the paper feed tray of the printing apparatus before replacement, the paper size, and the paper feed tray of the printing apparatus after replacement are designated. Storage means for storing a conversion table corresponding to the second paper feed tray designation information;
Receiving means for receiving a print instruction described in the first page description language;
Correspondence relationship between paper feed tray designation information and designated paper size information included in the print instruction accepted by the accepting means, and first paper feed tray designation information and paper size in the conversion table stored in the storage means , A paper size that matches the specified paper size is specified by a paper size specifying method based on interpretation of a print instruction in the first page description language, and a second supply corresponding to the specified paper size is specified. Changing means for obtaining paper tray designation information from the conversion table and changing the paper tray designation information in the print instruction to the obtained paper tray designation information;
Conversion means for converting a print instruction whose paper feed tray designation information has been changed by the changing means into a print instruction described in a second page description language;
A printing instruction conversion apparatus.
第1のページ記述言語により記述された印刷指示を受け付ける受付手段と、
前記受付手段により受け付けた印刷指示に含まれる給紙トレイの指定情報および指定用紙サイズの情報と、前記記憶手段に記憶されている変換テーブルにおける第1の給紙トレイ指定情報および用紙サイズの対応関係とを参照し、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法により前記指定用紙サイズと一致する用紙サイズを特定し、特定された用紙サイズに対応する第2の給紙トレイ指定情報を前記変換テーブルから取得し、前記印刷指示における給紙トレイの指定情報を取得した給紙トレイの指定情報に変更する変更手段と、
前記変更手段により給紙トレイの指定情報が変更された印刷指示を、第2のページ記述言語により記述された印刷指示に変換する変換手段と、
前記変換手段により変換された印刷指示を印刷装置に実行させるよう指示する指示手段と、
を有する印刷制御装置。 Configuration information of the paper feed tray in the printing apparatus before replacement that performs the printing operation by interpreting the first page description language, and paper feeding in the printing apparatus after replacement that performs the printing operation by interpreting the second page description language Designed in advance based on the tray configuration information, the first paper feed tray designation information for designating the paper feed tray of the printing apparatus before replacement, the paper size, and the paper feed tray of the printing apparatus after replacement are designated. Storage means for storing a conversion table corresponding to the second paper feed tray designation information;
Receiving means for receiving a print instruction described in the first page description language;
Correspondence relationship between paper feed tray designation information and designated paper size information included in the print instruction accepted by the accepting means, and first paper feed tray designation information and paper size in the conversion table stored in the storage means , A paper size that matches the specified paper size is specified by a paper size specifying method based on interpretation of a print instruction in the first page description language, and a second supply corresponding to the specified paper size is specified. Changing means for obtaining paper tray designation information from the conversion table and changing the paper tray designation information in the print instruction to the obtained paper tray designation information;
Conversion means for converting a print instruction whose paper feed tray designation information has been changed by the changing means into a print instruction described in a second page description language;
Instruction means for instructing the printing apparatus to execute the print instruction converted by the conversion means;
A printing control apparatus.
第1のページ記述言語により記述された印刷指示を受け付けるステップと、
受け付けた印刷指示に含まれる給紙トレイの指定情報および指定用紙サイズの情報と、記憶されている変換テーブルにおける第1の給紙トレイ指定情報および用紙サイズの対応関係とを参照し、前記第1のページ記述言語における印刷指示の解釈に基づく用紙サイズの特定方法により前記指定用紙サイズと一致する用紙サイズを特定し、特定された用紙サイズに対応する第2の給紙トレイ指定情報を前記変換テーブルから取得し、前記印刷指示における給紙トレイの指定情報を取得した給紙トレイの指定情報に変更するステップと、
給紙トレイの指定情報が変更された印刷指示を、第2のページ記述言語により記述された印刷指示に変換するステップと、
をコンピュータに実行させるためのプログラム。 Configuration information of the paper feed tray in the printing apparatus before replacement that performs the printing operation by interpreting the first page description language, and paper feeding in the printing apparatus after replacement that performs the printing operation by interpreting the second page description language Designed in advance based on the tray configuration information, the first paper feed tray designation information for designating the paper feed tray of the printing apparatus before replacement, the paper size, and the paper feed tray of the printing apparatus after replacement are designated. Storing a conversion table associating with the second paper feed tray designation information;
Receiving a print instruction described in a first page description language;
With reference to the paper feed tray designation information and the designated paper size information included in the received print instruction and the correspondence relationship between the first paper feed tray designation information and the paper size in the stored conversion table, the first A sheet size that matches the specified sheet size is specified by a sheet size specifying method based on the interpretation of the print instruction in the page description language, and the second paper feed tray specification information corresponding to the specified sheet size is stored in the conversion table. Changing the paper feed tray designation information in the print instruction to the obtained paper feed tray designation information;
Converting the print instruction in which the designation information of the paper feed tray has been changed into a print instruction described in the second page description language;
A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012035066A JP4973967B1 (en) | 2012-02-21 | 2012-02-21 | Print instruction conversion device, print control device, and program. |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012035066A JP4973967B1 (en) | 2012-02-21 | 2012-02-21 | Print instruction conversion device, print control device, and program. |
Publications (2)
Publication Number | Publication Date |
---|---|
JP4973967B1 JP4973967B1 (en) | 2012-07-11 |
JP2013171442A true JP2013171442A (en) | 2013-09-02 |
Family
ID=46650188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012035066A Expired - Fee Related JP4973967B1 (en) | 2012-02-21 | 2012-02-21 | Print instruction conversion device, print control device, and program. |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4973967B1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3223050B2 (en) * | 1994-09-20 | 2001-10-29 | 富士通株式会社 | Printing device |
JP2004086460A (en) * | 2002-08-26 | 2004-03-18 | Kyocera Corp | Connecting device to image forming device and image forming device |
US8437020B2 (en) * | 2004-05-13 | 2013-05-07 | Sharp Laboratories Of America, Inc. | System and method for printer emulation |
JP2007106095A (en) * | 2005-09-16 | 2007-04-26 | Ricoh Co Ltd | Apparatus, method and program for image forming, and recording medium with program recorded thereon |
JP2007280193A (en) * | 2006-04-10 | 2007-10-25 | Sharp Corp | Printing controller, printing control method and printer driver |
-
2012
- 2012-02-21 JP JP2012035066A patent/JP4973967B1/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP4973967B1 (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200333990A1 (en) | Printer and server | |
US11429320B2 (en) | Information processing apparatus configured to perform printing using a general-use printing program, non-transitory computer-readable recording medium and printing method therefor | |
US8355154B2 (en) | Computer-readable recording medium having printer driver recorded thereon, copying machine, and multi-function peripheral | |
JP2019070937A (en) | Control device, shortcut icon registration method, and shortcut icon registration control program | |
JP2010072679A (en) | Image forming system, image forming apparatus, terminal device, printing control method and program | |
EP3037952A1 (en) | Print control device | |
JP6202081B2 (en) | Information processing apparatus, program, and image processing system | |
JP2016179619A (en) | Information processing device, method of obtaining printing duration by information processing device, image formation apparatus, and control method and program of image formation apparatus | |
JP2012155401A (en) | Printing system, printing device, control method of printing system, control method of printing device, and program | |
JP2011186726A (en) | Printer driver, print control device and printer search program | |
JP6424973B2 (en) | Server, printer, and computer program for server | |
JP2007238305A (en) | Image forming device | |
JP5955245B2 (en) | Image processing device | |
JP4973967B1 (en) | Print instruction conversion device, print control device, and program. | |
JP5361399B2 (en) | Image processing apparatus, control method for image processing apparatus, and control program | |
KR20130010773A (en) | Image forming apparatus, printing contorl terminal apparatus and printing control method and thereof | |
JP2014076569A (en) | Image forming apparatus, control method thereof, program, and image formation system | |
JP6397168B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP6028522B2 (en) | Information processing apparatus, information processing method, program, and image forming apparatus | |
JP2012198765A (en) | Printer driver and print control device | |
JP2015141332A (en) | Printer, control method of printer, and program | |
JP6149600B2 (en) | Information processing apparatus, information processing method, program, and information processing system | |
JP2011210045A (en) | Image forming apparatus and character display method | |
JP2009048304A (en) | Control program for controlling image forming apparatus, image forming system, and method implemented by the image forming system | |
JP2008146244A (en) | Information processor and information processing method |
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 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120328 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150420 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |