JP2006293899A - Print setting device and print setting program - Google Patents

Print setting device and print setting program Download PDF

Info

Publication number
JP2006293899A
JP2006293899A JP2005116948A JP2005116948A JP2006293899A JP 2006293899 A JP2006293899 A JP 2006293899A JP 2005116948 A JP2005116948 A JP 2005116948A JP 2005116948 A JP2005116948 A JP 2005116948A JP 2006293899 A JP2006293899 A JP 2006293899A
Authority
JP
Japan
Prior art keywords
print setting
print
setting
application
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005116948A
Other languages
Japanese (ja)
Inventor
Shinichiro Watase
慎一郎 渡瀬
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2005116948A priority Critical patent/JP2006293899A/en
Publication of JP2006293899A publication Critical patent/JP2006293899A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a print setting device which allows detailed print settings from even a secondary application like a macro program. <P>SOLUTION: In a printer driver 14, three kinds of information of print settings of a printer, a decision condition indicating whether the print settings are applied to a print instruction from an application or not, and a flag indicating whether the registered print settings and decision condition should be deleted after the end of print or not are held in a print setting table 16. A secondary application 13 like a macro program uses a print setting registration API 17 to register print settings to the print setting table 16. When the printer driver 14 inputs a print instruction from a base application 11, it is decided whether the print instruction meets the decision condition registered in the print setting table 16 or not, and print settings corresponding to the decision condition are applied to transmit print data to the printer 2 when it meets the decision condition. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明はアプリケーションプログラムからの指示を受けて、印刷装置の印刷設定を行う印刷設定装置および印刷設定プログラムに関する。   The present invention relates to a print setting apparatus and a print setting program that perform print settings of a printing apparatus in response to an instruction from an application program.

従来、コンピュータには、印刷を行うデータをプリンタに送信するプリンタドライバが設けられている。このプリンタドライバには、出力用紙サイズや両面印刷、印刷時の用紙の選択、複数ページの原稿を1枚に集約して印刷する等の印刷設定の情報をアプリケーションとの間で交換するインタフェースが用意されている。プリンタを使用して印刷を行うアプリケーションでは、前述のインタフェースを通じてプリンタドライバへ所定の命令を出力し、印刷設定を行っている。   2. Description of the Related Art Conventionally, a computer is provided with a printer driver that transmits data to be printed to a printer. This printer driver provides an interface for exchanging print setting information with the application, such as output paper size and duplex printing, paper selection at the time of printing, and consolidating multiple pages of documents into one sheet. Has been. In an application that performs printing using a printer, a predetermined command is output to the printer driver through the above-described interface to perform print settings.

図5は従来のホストコンピュータ3とプリンタ4との関係を示した図であり、基盤アプリケーション31上で動作するマクロプログラム、plug−inプログラムや、JAVA(登録商標)等のOSに依存しない仮想機械上でのプログラム等の二次的なアプリケーション33(以下では二次アプリケーションと呼ぶ)からの印刷命令は、基盤アプリケーション31を介して前述のインタフェースからプリンタドライバ34へ出力される。ここで、二次アプリケーション33からの印刷命令に適用される印刷設定は、アプリケーション側の印刷設定32もしくはプリンタドライバ34で保持するデフォルト印刷設定35のいずれかであった。
なお、本出願に関する従来技術の参考文献として、特許文献1ないし特許文献4が知られている。
特開平10−301723号公報 特開2001−202209号公報 特開2002−036683号公報 特開2003−337669号公報
FIG. 5 is a diagram showing the relationship between the conventional host computer 3 and the printer 4, and a virtual machine that does not depend on an OS such as a macro program, a plug-in program, or JAVA (registered trademark) that runs on the base application 31. A print command from a secondary application 33 (hereinafter referred to as a secondary application) such as the above program is output from the above-described interface to the printer driver 34 via the base application 31. Here, the print setting applied to the print command from the secondary application 33 is either the application-side print setting 32 or the default print setting 35 held by the printer driver 34.
Note that Patent Documents 1 to 4 are known as prior art references relating to the present application.
JP-A-10-301723 JP 2001-202209 A JP 2002-036683 A JP 2003-337669 A

しかし、上記従来の方法では、二次アプリケーション33から詳細な印刷設定を行うためには、二次アプリケーション33が直接プリンタドライバ34内のデフォルト設定35を書き換える必要があったが、この書き換えの動作を複数の二次アプリケーションが同時に行うとプリンタドライバ34への命令が競合し、正常にデフォルト設定35の書き換えが行われないという第1の課題があった。また、特許文献1では予めアプリケーション毎に印刷条件の設定を登録しておき、アプリケーションが切り替わると印刷設定が切り替わるという方式を採用しているが、この方式では二次アプリケーションによって印刷設定を変更することができないという第2の課題があった。  However, in the conventional method, in order to perform detailed print settings from the secondary application 33, the secondary application 33 needs to directly rewrite the default settings 35 in the printer driver 34. When a plurality of secondary applications are executed at the same time, there is a first problem that instructions to the printer driver 34 conflict and the default setting 35 is not normally rewritten. Further, Patent Document 1 employs a method in which print condition settings are registered in advance for each application and the print settings are switched when the application is switched. In this method, the print settings are changed by a secondary application. There was a second problem that was not possible.

本発明は上記事情を考慮してなされたもので、その目的は複数の二次アプリケーションのそれぞれによって、印刷装置の詳細な印刷設定を行うことができるプリンタドライバを提供することにある。  The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a printer driver capable of performing detailed print settings of a printing apparatus by each of a plurality of secondary applications.

本発明は上記の課題を解決するためになされたもので、請求項1に記載の発明は、印刷装置の印刷設定を行うコマンドと、前記印刷装置で印刷を行う印刷データとを前記印刷装置へ送信する印刷設定装置であって、アプリケーションの印刷命令を入力する印刷命令入力手段と、前記印刷装置の印刷設定と、前記印刷命令に対して前記印刷設定を適用するかの判定条件との対応関係を登録した印刷設定対応表を保持する印刷設定記憶手段と、前記印刷設定および前記判定条件を前記アプリケーションから入力し、前記印刷設定対応表に対応関係の登録を行う印刷設定登録手段と、前記入力した印刷命令が前記判定条件に合致するかの判定を行い、判定結果に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手段とを備えていることを特徴としている。   The present invention has been made to solve the above-described problem, and the invention according to claim 1 is directed to the printing apparatus by sending a command for setting printing of the printing apparatus and print data for printing by the printing apparatus to the printing apparatus. Correspondence between print command input means for inputting a print command of an application, a print setting of the printing device, and a determination condition as to whether the print setting is applied to the print command A print setting storage unit that holds a print setting correspondence table in which is registered, a print setting registration unit that inputs the print settings and the determination condition from the application, and registers a correspondence relationship in the print setting correspondence table, and the input A print command that matches the determination condition, obtains the print setting from the print setting correspondence table based on the determination result, and outputs the print setting to the printing apparatus. It is characterized by having a force means.

また、請求項2に記載の発明は、請求項1に記載の発明において、前記判定条件は、前記印刷命令に付与されたジョブ名であることを特徴としている。   The invention according to claim 2 is the invention according to claim 1, wherein the determination condition is a job name given to the print command.

また、請求項3に記載の発明は、請求項1に記載の発明において、前記判定条件は、前記印刷設定登録手段へ情報を出力した前記アプリケーションのプロセスIDであることを特徴としている。   According to a third aspect of the present invention, in the first aspect of the present invention, the determination condition is a process ID of the application that outputs information to the print setting registration unit.

また、請求項4に記載の発明は、請求項1ないし請求項3に記載の発明において、前記印刷設定登録手段は、前記判定条件および前記印刷設定を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、前記印刷設定出力手段は、印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記判定条件と前記印刷設定とを削除することを特徴としている。   According to a fourth aspect of the present invention, in the first to third aspects of the invention, the print setting registering unit sets the determination condition and the deletion setting whether to delete the print setting after printing. Input from an application and register it in the print setting correspondence table, and the print setting output means deletes the determination condition and the print setting registered in the print setting correspondence table based on the deletion setting after printing is completed. It is characterized by.

また、請求項5に記載の発明は、印刷装置の印刷設定を行うコマンドと、前記印刷装置で印刷を行う印刷データとを前記印刷装置へ送信する印刷設定装置にであって、アプリケーションの印刷命令を入力する印刷命令入力手段と、前記印刷装置の印刷設定に識別番号を付与する識別番号付与手段と、前記印刷設定および前記識別番号の対応関係を登録した印刷設定対応表を保持する印刷設定記憶手段と、前記印刷設定を前記アプリケーションから入力し、前記識別番号付与手段で前記印刷設定に付与した前記識別番号を前記アプリケーションへ出力し、前記印刷設定対応表に前記印刷設定および前記識別番号の対応関係を登録する印刷設定登録手段と、前記入力した印刷命令に添付された前記識別番号に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手段とを備えていることを特徴としている。   According to a fifth aspect of the present invention, there is provided a print setting apparatus that transmits a command for performing print setting of a printing apparatus and print data to be printed by the printing apparatus to the printing apparatus. A print command input means for inputting a print setting, an identification number assigning means for assigning an identification number to the print setting of the printing apparatus, and a print setting storage for storing a print setting correspondence table in which a correspondence relationship between the print setting and the identification number is registered And the print setting input from the application, the identification number assigned to the print setting by the identification number assigning means is output to the application, and the correspondence between the print setting and the identification number in the print setting correspondence table Print setting registration means for registering the relationship and printing from the print setting correspondence table based on the identification number attached to the input print command Gets a constant, is characterized by comprising a print setting output means for outputting to the printing device.

また、請求項6に記載の発明は、請求項5に記載の発明において、前記印刷設定登録手段は、前記印刷設定および前記識別番号を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、前記印刷設定出力手段は、印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記印刷設定および前記識別番号を削除することを特徴としている。   Further, in the invention described in claim 6, in the invention described in claim 5, the print setting registration means inputs a deletion setting as to whether or not to delete the print setting and the identification number after printing from the application. And the print setting output means deletes the print setting and the identification number registered in the print setting correspondence table based on the deletion setting after printing is completed.

また、請求項7に記載の発明は、コンピュータに、アプリケーションの印刷命令を入力する印刷命令入力手順と、印刷装置の印刷設定と、前記印刷命令に対して前記印刷設定を適用するかの判定条件とを前記アプリケーションから入力し、記憶手段内の印刷設定対応表に対応関係の登録を行う印刷設定登録手順と、前記入力した印刷命令が前記判定条件に合致するかの判定を行い、判定結果に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手順とを実行するための印刷設定プログラムである。   The invention according to claim 7 is a printing command input procedure for inputting a printing command of an application to a computer, a printing setting of a printing apparatus, and a determination condition for applying the printing setting to the printing command. Is input from the application, a print setting registration procedure for registering the correspondence relationship in the print setting correspondence table in the storage means, and whether the input print command matches the determination condition, A print setting program for executing a print setting output procedure for acquiring print settings from the print setting correspondence table based on the print setting correspondence table and outputting the print settings to the printing apparatus.

また、請求項8に記載の発明は、請求項7に記載の発明において、前記判定条件は、前記印刷命令に付与されたジョブ名であることを特徴としている。   The invention described in claim 8 is characterized in that, in the invention described in claim 7, the determination condition is a job name given to the print command.

また、請求項9に記載の発明は、請求項7に記載の発明において、前記判定条件は、前記印刷設定登録手順へ情報を出力した前記アプリケーションのプロセスIDであることを特徴としている。   The invention according to claim 9 is the invention according to claim 7, wherein the determination condition is a process ID of the application that outputs information to the print setting registration procedure.

また、請求項10に記載の発明は、請求項7ないし請求項9に記載の発明において、前記印刷設定登録手順は、前記判定条件および前記印刷設定を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、前記印刷設定出力手順は、印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記判定条件と前記印刷設定との情報を削除することを特徴としている。   The invention described in claim 10 is the invention described in claims 7 to 9, wherein the print setting registration procedure sets the determination condition and the deletion setting whether to delete the print setting after printing. Input from an application and register it in the print setting correspondence table, and the print setting output procedure deletes information on the determination condition and the print setting registered in the print setting correspondence table based on the deletion setting after printing is completed. It is characterized by doing.

また、請求項11に記載の発明は、コンピュータに、アプリケーションの印刷命令を入力する印刷命令入力手順と、印刷装置の印刷設定に識別番号を付与する識別番号付与手順と、前記印刷設定を前記アプリケーションから入力し、前記識別番号付与手順で前記印刷設定に付与した前記識別番号を前記アプリケーションへ出力し、記憶手段内の印刷設定対応表に前記印刷設定および前記識別番号の対応関係を登録する印刷設定登録手順と、前記入力した印刷命令に添付された前記識別番号に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手順とを実行させるための印刷設定プログラムである。   According to an eleventh aspect of the present invention, a print command input procedure for inputting a print command of an application to a computer, an identification number assigning procedure for assigning an identification number to a print setting of a printing apparatus, and the print setting as the application Print setting for outputting the identification number assigned to the print setting in the identification number assignment procedure to the application and registering the correspondence between the print setting and the identification number in the print setting correspondence table in the storage means A print setting program for executing a registration procedure and a print setting output procedure for acquiring print settings from the print setting correspondence table based on the identification number attached to the input print command and outputting the print settings to the printing apparatus It is.

また、請求項12に記載の発明は、請求項11に記載の発明において、前記印刷設定登録手順は、前記印刷設定および前記識別番号を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、前記印刷設定出力手順は、印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記印刷設定および前記識別番号を削除することを特徴としている。   According to a twelfth aspect of the present invention, in the invention according to the eleventh aspect, the print setting registration procedure inputs, from the application, a deletion setting for determining whether to delete the print setting and the identification number after printing. And the print setting output procedure deletes the print setting and the identification number registered in the print setting correspondence table based on the deletion setting after printing is completed.

本発明によれば、印刷装置の印刷設定と、アプリケーション(二次アプリケーションを含む)からの印刷命令に対して該印刷設定を適用するかの判定条件とをデータベース化する手法を取っており、プリンタドライバのデフォルト設定を変更せずに印刷設定を変更できる。このため、複数のアプリケーションがプリンタドライバのデフォルト設定変更の命令を同時に出力した際に、プリンタドライバへの命令が競合して正常に設定変更が反映されないという課題を解決することができる。また、二次アプリケーションの印刷命令1つ1つに対して詳細な印刷設定を行うことができ、二次アプリケーションによって印刷設定を変更できないという課題も解決することができる。  According to the present invention, a method for creating a database of print settings of a printing apparatus and determination conditions for applying the print settings to a print command from an application (including a secondary application) is provided. You can change the print settings without changing the default driver settings. For this reason, when a plurality of applications simultaneously output a printer driver default setting change command, it is possible to solve the problem that the command change to the printer driver conflicts and the setting change is not normally reflected. Further, detailed print settings can be made for each print command of the secondary application, and the problem that the print settings cannot be changed by the secondary application can also be solved.

以下、図面を参照して本発明の実施形態について説明する。図1は本発明の実施形態にかかるホストコンピュータとプリンタ(印刷装置)とで構成されるシステムの構成図である。なお、本明細書において、印刷設定プログラムとは、ホストコンピュータ内にセットされるプリンタドライバを意味し、印刷設定装置とは、プリンタドライバと、プリンタドライバを実行するハードウェア(CPU(Central Processing Unit)およびメモリ)とを合わせたものを意味する。図1において、ホストコンピュータ1とプリンタ2との接続はローカル接続もしくはLAN(Local Area Network)等を介してのネットワーク接続である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a system including a host computer and a printer (printing apparatus) according to an embodiment of the present invention. In this specification, the print setting program means a printer driver set in the host computer, and the print setting device means a printer driver and hardware (CPU (Central Processing Unit) for executing the printer driver). And memory). In FIG. 1, the connection between the host computer 1 and the printer 2 is a local connection or a network connection via a LAN (Local Area Network) or the like.

基盤アプリケーション11は、ホストコンピュータ1上で動作するアプリケーションである。アプリケーション側印刷設定12は、基盤アプリケーション11が保持するデフォルトの印刷設定である。ユーザ作成のマクロプログラム等の二次アプリケーション13は、基盤アプリケーション11上で動作するものである。プリンタドライバ14は、基盤アプリケーション11からの印刷命令を入力し、プリンタ2で解釈可能なデータ形式に変換して出力するものである。デフォルト印刷設定15は、プリンタドライバ14が保持するデフォルトの印刷設定である。印刷設定テーブル(印刷設定対応表)16は、印刷設定と、アプリケーション11からの印刷命令に対してその印刷設定を適用するかどうかの判定条件と、印刷終了後にその印刷設定の登録を削除するかのフラグ(削除設定)との3種類の情報を管理するものである。印刷設定登録API(Application Program Interface)(印刷設定登録手段)17は、二次アプリケーション13が印刷設定テーブル16に印刷設定の登録を行うときに使用するAPIである。   The base application 11 is an application that runs on the host computer 1. The application-side print setting 12 is a default print setting held by the base application 11. A secondary application 13 such as a user-created macro program runs on the base application 11. The printer driver 14 receives a print command from the base application 11, converts it into a data format that can be interpreted by the printer 2, and outputs it. The default print setting 15 is a default print setting held by the printer driver 14. The print setting table (print setting correspondence table) 16 determines whether to delete the print setting, the determination condition for applying the print setting to the print command from the application 11, and whether to delete the registration of the print setting after the printing is finished. The three types of information (the deletion setting) are managed. A print setting registration API (Application Program Interface) (print setting registration means) 17 is an API used when the secondary application 13 registers print settings in the print setting table 16.

次に、上述した実施形態の動作を図1ないし図4を参照して説明する。図2は印刷設定テーブル16に印刷設定を登録する際に二次アプリケーション13が実行する手順を表すフローチャートであり、図3は印刷設定テーブル16で管理する情報の例を示した表である。   Next, the operation of the above-described embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing a procedure executed by the secondary application 13 when registering print settings in the print setting table 16, and FIG. 3 is a table showing an example of information managed by the print setting table 16.

図2において、ユーザの印刷設定に関する指示を二次アプリケーション13が入力すると(ステップS201)、二次アプリケーション13は印刷設定登録API17を呼び出す(ステップS202)。印刷設定登録API17は引数として、印刷設定テーブル16に登録する印刷設定、アプリケーション11からの印刷命令に対してその印刷設定を適用するかを判定するための判定条件、印刷終了後に印刷設定テーブル16に登録した印刷設定および判定条件を削除するかを表すフラグの3種類を指定することができる。本実施形態で用いるフラグは、1にセットされている場合は印刷後に印刷設定テーブル16から登録を削除し、0にセットされている場合は印刷後に登録を削除しない。二次アプリケーション13は、ユーザからの指示に基づいて印刷設定登録API17の引数を指定する。ここで、図3に示した3つの例を参照して印刷設定テーブル16に登録する内容を具体的に説明する。   In FIG. 2, when the secondary application 13 inputs a user's instruction regarding print settings (step S201), the secondary application 13 calls the print setting registration API 17 (step S202). The print setting registration API 17 includes, as arguments, print settings to be registered in the print setting table 16, determination conditions for determining whether to apply the print settings to the print command from the application 11, and the print setting table 16 after completion of printing. Three types of flags indicating whether to delete the registered print settings and determination conditions can be designated. If the flag used in this embodiment is set to 1, the registration is deleted from the print setting table 16 after printing. If the flag is set to 0, the registration is not deleted after printing. The secondary application 13 specifies an argument of the print setting registration API 17 based on an instruction from the user. Here, the contents registered in the print setting table 16 will be specifically described with reference to the three examples shown in FIG.

図3の例1では、判定条件として「ジョブ名に“勤務管理表”という文字列はあるか」を、印刷設定として「パンチを実行」を、フラグとして「1」を登録する。ジョブ名とは、基盤アプリケーション11からプリンタドライバ14へ出力される印刷命令に付与される名称のことであり、例1は印刷命令に付与された情報に基づいて印刷設定を指定することを特徴としている。印刷命令に付与された情報を用いる他の例としては、印刷を行うデータのサイズやページ数を用いる方法等も可能である。   In the example 1 of FIG. 3, “whether there is a character string“ work management table ”in the job name” as the determination condition, “execute punch” as the print setting, and “1” as the flag are registered. The job name is a name given to a print command output from the base application 11 to the printer driver 14, and Example 1 is characterized in that print settings are designated based on information given to the print command. Yes. As another example using the information given to the print command, a method using the size of data to be printed and the number of pages is also possible.

図3の例2では、判定条件として「プロセスID=123からの命令か?」を、印刷設定として「両面印刷を実行」を、フラグとして「1」を登録する。プロセスIDとは、全てのアプリケーションが起動時に与えられる固有の値である。同じアプリケーションを複数起動した場合においても、それぞれ別々のプロセスIDが与えられるため、印刷設定登録API17を呼び出したアプリケーションを特定する有効な手段となる。   In the example 2 of FIG. 3, “is a command from process ID = 123?” Is registered as a determination condition, “execute double-sided printing” is registered as a print setting, and “1” is registered as a flag. The process ID is a unique value given to all applications when they are activated. Even when a plurality of the same applications are started up, different process IDs are given to them, which is an effective means for specifying the application that called the print setting registration API 17.

図3の例3では、判定条件として「整理番号12の印刷命令か?」を、印刷設定として「出力用紙はA3」を、フラグとして「0」を登録する。整理番号(識別番号)とは、登録する印刷設定に対してプリンタドライバ14が割り当てた識別番号であり、印刷設定登録API17の返り値として二次アプリケーション13に伝えられる。   In the example 3 of FIG. 3, “is the print command for reference number 12?” As the determination condition, “output sheet is A3” as the print setting, and “0” as the flag are registered. The reference number (identification number) is an identification number assigned by the printer driver 14 to the print setting to be registered, and is transmitted to the secondary application 13 as a return value of the print setting registration API 17.

図2に戻って、二次アプリケーション13が印刷設定登録API17に引数を指定して呼び出すと、引数として指定された設定と同じ設定がすでに印刷設定テーブル16に登録されていないかの確認を行う(ステップS203)。すでに印刷設定テーブル16に登録されていた場合は、新たに登録は行わずに印刷設定登録の手順を終了する(ステップS203:Y)。印刷設定テーブル16に登録されていなかった場合は、引数に指定された情報を印刷設定テーブル16に追加登録し(ステップS204)、印刷設定登録の手順を終了する。   Returning to FIG. 2, when the secondary application 13 calls the print setting registration API 17 by specifying an argument, it checks whether the same setting as the setting specified as the argument has already been registered in the print setting table 16 ( Step S203). If it has already been registered in the print setting table 16, the print setting registration procedure is terminated without performing new registration (step S203: Y). If it is not registered in the print setting table 16, the information specified as an argument is additionally registered in the print setting table 16 (step S204), and the print setting registration procedure is terminated.

次に、図4を参照して、基盤アプリケーション11からの印刷命令をプリンタドライバ14が処理する印刷手順を説明する。図4において、二次アプリケーション13が印刷命令を実行すると、基盤アプリケーション11を通してプリンタドライバ14へ印刷命令が出力される。   Next, a printing procedure in which the printer driver 14 processes a print command from the base application 11 will be described with reference to FIG. In FIG. 4, when the secondary application 13 executes a print command, the print command is output to the printer driver 14 through the base application 11.

ここで出力される印刷命令は、図3の例1の場合は印刷設定テーブル16に登録した判定条件と合致するように、例えばジョブ名に「12月の勤務管理表」を設定する。図3の例2の場合は、プロセスIDはプリンタドライバ14で判別可能であるため従来どおりの印刷命令で良い。図3の例3の場合は、印刷設定登録API17の返り値である整理番号を印刷命令に添付して出力する。   In the case of Example 1 in FIG. 3, for example, “December work management table” is set as the job name so that the print command output here matches the determination condition registered in the print setting table 16. In the case of Example 2 in FIG. 3, the process ID can be determined by the printer driver 14, and thus a conventional print command may be used. In the case of Example 3 in FIG. 3, the reference number that is the return value of the print setting registration API 17 is attached to the print command and output.

図4に戻って、基盤アプリケーション11から出力された印刷命令がプリンタドライバ14に入力されると(ステップS401)、プリンタドライバ14は印刷設定テーブル16を検索して登録された判定条件に合致する印刷命令であるかを判定する(ステップS402)。印刷設定テーブル16に登録された判定条件のいずれにも合致しない印刷命令であれば、従来技術と同様に基盤アプリケーション側の印刷設定12もしくはプリンタドライバ15で保持するデフォルト印刷設定15を適用してプリンタ2へ印刷データを送信する(ステップS406)。   Returning to FIG. 4, when the print command output from the base application 11 is input to the printer driver 14 (step S 401), the printer driver 14 searches the print setting table 16 and prints that match the determination condition registered. It is determined whether it is an instruction (step S402). If the print command does not match any of the judgment conditions registered in the print setting table 16, the printer is applied by applying the print setting 12 on the base application side or the default print setting 15 held by the printer driver 15 as in the prior art. The print data is transmitted to 2 (step S406).

一方、合致する判定条件が存在する印刷命令であれば、合致した判定条件に対応する印刷設定を適用してプリンタ2へ印刷データを送信する(印刷設定出力手段、ステップS403)。印刷が終了すると、印刷設定テーブル16に登録されたフラグを参照し、印刷時に適用した印刷設定を印刷設定テーブル16から削除するかどうかを判定する(ステップS404)。図3の例1、例2ではフラグが1にセットされているため、プリンタドライバ14は印刷設定テーブル16から印刷時に適用した印刷設定の削除を行い(ステップS405)、印刷手順を終了する。図3の例3ではフラグが0にセットされているため、印刷設定テーブル16からの削除は行わず、印刷手順を終了する(ステップS404:N)。   On the other hand, if the print command has a matching determination condition, the print setting corresponding to the matching determination condition is applied and the print data is transmitted to the printer 2 (print setting output means, step S403). When printing is completed, the flag registered in the print setting table 16 is referred to, and it is determined whether or not the print setting applied at the time of printing is deleted from the print setting table 16 (step S404). In Example 1 and Example 2 of FIG. 3, since the flag is set to 1, the printer driver 14 deletes the print settings applied at the time of printing from the print setting table 16 (step S405), and ends the printing procedure. In Example 3 of FIG. 3, since the flag is set to 0, the print procedure is terminated without deleting from the print setting table 16 (step S404: N).

以上、本発明の実施形態を詳述してきたが、具体的な構成は本実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As mentioned above, although embodiment of this invention was explained in full detail, the concrete structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.

本発明は、プリンタ等の印刷装置に対して印刷設定を行う印刷設定装置に用いて好適である。   The present invention is suitable for use in a print setting apparatus that performs print settings for a printing apparatus such as a printer.

本発明の実施形態にかかる印刷設定装置とプリンタ(印刷装置)とで構成されるシステムの構成図である。1 is a configuration diagram of a system including a print setting apparatus and a printer (printing apparatus) according to an embodiment of the present invention. 図1の二次アプリケーション13が印刷設定テーブル16に印刷設定を登録する手順を示したフローチャートである。2 is a flowchart showing a procedure for a secondary application 13 in FIG. 1 to register print settings in a print setting table 16. 図1の印刷設定テーブル16で保持される設定の例を表した表である。3 is a table showing an example of settings held in a print setting table 16 of FIG. 図1のプリンタドライバ14で印刷命令を処理する手順を示したフローチャートである。3 is a flowchart showing a procedure for processing a print command by the printer driver 14 of FIG. 1. 従来技術における、印刷設定装置とプリンタ(印刷装置)とで構成されるシステムの構成図である。It is a block diagram of the system comprised by the print setting apparatus and printer (printing apparatus) in a prior art.

符号の説明Explanation of symbols

1、3 … ホストコンピュータ
2、4 … プリンタ(印刷装置)
11、31 … アプリケーション
12、32 … アプリケーション側印刷設定
13、33 … 二次アプリケーション
14、34 … プリンタドライバ
15、35 … デフォルト印刷設定
16 … 印刷設定テーブル(印刷設定対応表)
17 … 印刷設定登録API(印刷設定登録手段)
1, 3 ... Host computer 2, 4 ... Printer (printing device)
11, 31 ... Application 12, 32 ... Application-side print setting 13, 33 ... Secondary application 14, 34 ... Printer driver 15, 35 ... Default print setting 16 ... Print setting table (print setting correspondence table)
17 ... Print setting registration API (print setting registration means)

Claims (12)

印刷装置の印刷設定を行うコマンドと、前記印刷装置で印刷を行う印刷データとを前記印刷装置へ送信する印刷設定装置において、
アプリケーションの印刷命令を入力する印刷命令入力手段と、
前記印刷装置の印刷設定と、前記印刷命令に対して前記印刷設定を適用するかの判定条件との対応関係を登録した印刷設定対応表を保持する印刷設定記憶手段と、
前記印刷設定および前記判定条件を前記アプリケーションから入力し、前記印刷設定対応表に対応関係の登録を行う印刷設定登録手段と、
前記入力した印刷命令が前記判定条件に合致するかの判定を行い、判定結果に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手段と、
を備えていることを特徴とする印刷設定装置。
In a print setting apparatus that transmits a command for performing print setting of a printing apparatus and print data to be printed by the printing apparatus to the printing apparatus,
A print command input means for inputting an application print command;
A print setting storage unit for storing a print setting correspondence table in which a correspondence relationship between a print setting of the printing apparatus and a determination condition for applying the print setting to the print command is registered;
Print setting registration means for inputting the print setting and the determination condition from the application and registering a correspondence relationship in the print setting correspondence table;
A print setting output unit that determines whether the input print command matches the determination condition, acquires a print setting from the print setting correspondence table based on the determination result, and outputs the print setting to the printing apparatus;
A print setting apparatus comprising:
前記判定条件は、前記印刷命令に付与されたジョブ名であることを特徴とする請求項1に記載の印刷設定装置。   The print setting apparatus according to claim 1, wherein the determination condition is a job name assigned to the print command. 前記判定条件は、前記印刷設定登録手段へ情報を出力した前記アプリケーションのプロセスIDであることを特徴とする請求項1に記載の印刷設定装置。   The print setting apparatus according to claim 1, wherein the determination condition is a process ID of the application that has output information to the print setting registration unit. 前記印刷設定登録手段は、
前記判定条件および前記印刷設定を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、
前記印刷設定出力手段は、
印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記判定条件と前記印刷設定とを削除することを特徴とする請求項1ないし請求項3に記載の印刷設定装置。
The print setting registration means
The determination condition and the deletion setting whether to delete the print setting after printing are input from the application and registered in the print setting correspondence table,
The print setting output means includes
The print setting apparatus according to any one of claims 1 to 3, wherein the determination condition and the print setting registered in the print setting correspondence table are deleted based on the deletion setting after printing is completed.
印刷装置の印刷設定を行うコマンドと、前記印刷装置で印刷を行う印刷データとを前記印刷装置へ送信する印刷設定装置において、
アプリケーションの印刷命令を入力する印刷命令入力手段と、
前記印刷装置の印刷設定に識別番号を付与する識別番号付与手段と、
前記印刷設定および前記識別番号の対応関係を登録した印刷設定対応表を保持する印刷設定記憶手段と、
前記印刷設定を前記アプリケーションから入力し、前記識別番号付与手段で前記印刷設定に付与した前記識別番号を前記アプリケーションへ出力し、前記印刷設定対応表に前記印刷設定および前記識別番号の対応関係を登録する印刷設定登録手段と、
前記入力した印刷命令に添付された前記識別番号に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手段と、
を備えていることを特徴とする印刷設定装置。
In a print setting apparatus that transmits a command for performing print setting of a printing apparatus and print data to be printed by the printing apparatus to the printing apparatus,
A print command input means for inputting an application print command;
An identification number giving means for giving an identification number to the print setting of the printing apparatus;
A print setting storage means for holding a print setting correspondence table in which the correspondence between the print settings and the identification numbers is registered;
The print setting is input from the application, the identification number assigned to the print setting by the identification number assigning means is output to the application, and the correspondence relationship between the print setting and the identification number is registered in the print setting correspondence table. Print setting registration means to
Print setting output means for acquiring print settings from the print setting correspondence table based on the identification number attached to the input print command, and outputting the print settings to the printing apparatus;
A print setting apparatus comprising:
前記印刷設定登録手段は、
前記印刷設定および前記識別番号を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、
前記印刷設定出力手段は、
印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記印刷設定および前記識別番号を削除することを特徴とする請求項5に記載の印刷設定装置。
The print setting registration means
Entering the print setting and the deletion setting whether to delete the identification number after printing from the application and registering it in the print setting correspondence table,
The print setting output means includes
The print setting apparatus according to claim 5, wherein the print setting and the identification number registered in the print setting correspondence table are deleted based on the delete setting after printing is completed.
コンピュータに、
アプリケーションの印刷命令を入力する印刷命令入力手順と、
印刷装置の印刷設定と、前記印刷命令に対して前記印刷設定を適用するかの判定条件とを前記アプリケーションから入力し、記憶手段内の印刷設定対応表に対応関係の登録を行う印刷設定登録手順と、
前記入力した印刷命令が前記判定条件に合致するかの判定を行い、判定結果に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手順と、
を実行するための印刷設定プログラム。
On the computer,
A print command input procedure for inputting a print command of the application;
Print setting registration procedure for inputting a print setting of a printing apparatus and a determination condition as to whether to apply the print setting to the print command from the application, and registering a correspondence relationship in a print setting correspondence table in a storage unit When,
Determining whether the input print command matches the determination condition, obtaining a print setting from the print setting correspondence table based on the determination result, and outputting the print setting to the printing apparatus;
Print setting program to execute.
前記判定条件は、前記印刷命令に付与されたジョブ名であることを特徴とする請求項7に記載の印刷設定プログラム。   The print setting program according to claim 7, wherein the determination condition is a job name given to the print command. 前記判定条件は、前記印刷設定登録手順へ情報を出力した前記アプリケーションのプロセスIDであることを特徴とする請求項7に記載の印刷設定プログラム。   The print setting program according to claim 7, wherein the determination condition is a process ID of the application that outputs information to the print setting registration procedure. 前記印刷設定登録手順は、
前記判定条件および前記印刷設定を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、
前記印刷設定出力手順は、
印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記判定条件と前記印刷設定とを削除することを特徴とする請求項7ないし請求項9に記載の印刷設定プログラム。
The print setting registration procedure includes:
The determination condition and the deletion setting whether to delete the print setting after printing are input from the application and registered in the print setting correspondence table,
The print setting output procedure includes:
The print setting program according to any one of claims 7 to 9, wherein the determination condition and the print setting registered in the print setting correspondence table are deleted based on the delete setting after printing is completed.
コンピュータに、
アプリケーションの印刷命令を入力する印刷命令入力手順と、
印刷装置の印刷設定に識別番号を付与する識別番号付与手順と、
前記印刷設定を前記アプリケーションから入力し、前記識別番号付与手順で前記印刷設定に付与した前記識別番号を前記アプリケーションへ出力し、記憶手段内の印刷設定対応表に前記印刷設定と前記識別番号との対応関係を登録する印刷設定登録手順と、
前記入力した印刷命令に添付された前記識別番号に基づいて前記印刷設定対応表から印刷設定を取得し、前記印刷装置へ出力する印刷設定出力手順と、
を実行させるための印刷設定プログラム。
On the computer,
A print command input procedure for inputting the print command of the application;
An identification number assignment procedure for assigning an identification number to the print setting of the printing apparatus;
The print setting is input from the application, the identification number assigned to the print setting in the identification number assigning procedure is output to the application, and the print setting and the identification number are stored in a print setting correspondence table in a storage unit. Print setting registration procedure for registering correspondence,
A print setting output procedure for obtaining a print setting from the print setting correspondence table based on the identification number attached to the input print command and outputting the print setting to the printing apparatus;
Print setting program to execute.
前記印刷設定登録手順は、
前記印刷設定および前記識別番号を印刷後に削除するかどうかの削除設定を前記アプリケーションから入力して前記印刷設定対応表に登録し、
前記印刷設定出力手順は、
印刷終了後に前記削除設定に基づいて前記印刷設定対応表に登録した前記印刷設定および前記識別番号を削除することを特徴とする請求項11に記載の印刷設定プログラム。
The print setting registration procedure includes:
Entering the print setting and the deletion setting whether to delete the identification number after printing from the application and registering it in the print setting correspondence table,
The print setting output procedure includes:
12. The print setting program according to claim 11, wherein the print setting and the identification number registered in the print setting correspondence table are deleted based on the delete setting after printing is completed.
JP2005116948A 2005-04-14 2005-04-14 Print setting device and print setting program Pending JP2006293899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005116948A JP2006293899A (en) 2005-04-14 2005-04-14 Print setting device and print setting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005116948A JP2006293899A (en) 2005-04-14 2005-04-14 Print setting device and print setting program

Publications (1)

Publication Number Publication Date
JP2006293899A true JP2006293899A (en) 2006-10-26

Family

ID=37414377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005116948A Pending JP2006293899A (en) 2005-04-14 2005-04-14 Print setting device and print setting program

Country Status (1)

Country Link
JP (1) JP2006293899A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010057100A (en) * 2008-08-29 2010-03-11 Ricoh Co Ltd Image processing apparatus, program and image processing method
JP2010237803A (en) * 2009-03-30 2010-10-21 Canon Inc Printing control method, printing control apparatus, and computer program
JP2015001802A (en) * 2013-06-14 2015-01-05 株式会社リコー Information processor, print processing method and print processing program
JP2020140287A (en) * 2019-02-27 2020-09-03 ブラザー工業株式会社 Module and program
JP2020140288A (en) * 2019-02-27 2020-09-03 ブラザー工業株式会社 Program, application and information processing apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010057100A (en) * 2008-08-29 2010-03-11 Ricoh Co Ltd Image processing apparatus, program and image processing method
JP2010237803A (en) * 2009-03-30 2010-10-21 Canon Inc Printing control method, printing control apparatus, and computer program
JP2015001802A (en) * 2013-06-14 2015-01-05 株式会社リコー Information processor, print processing method and print processing program
JP2020140287A (en) * 2019-02-27 2020-09-03 ブラザー工業株式会社 Module and program
JP2020140288A (en) * 2019-02-27 2020-09-03 ブラザー工業株式会社 Program, application and information processing apparatus
JP7234687B2 (en) 2019-02-27 2023-03-08 ブラザー工業株式会社 modules and programs
JP7234688B2 (en) 2019-02-27 2023-03-08 ブラザー工業株式会社 Program, application, information processing device

Similar Documents

Publication Publication Date Title
JP5857611B2 (en) Information processing device, system, program
JP5919930B2 (en) Program, information processing apparatus, storage medium
JP7355147B2 (en) application program
US9880793B2 (en) Image information converting apparatus, image forming apparatus, image information converting system, non-transitory computer readable medium storing image information converting program and image information converting method
JP2006293899A (en) Print setting device and print setting program
JP6371697B2 (en) Information processing apparatus, print control method, and program
JP2022164669A (en) Image formation device, method for controlling image formation device and program
JP7175693B2 (en) PRINTING DEVICE, PRINTING DEVICE CONTROL METHOD, AND PROGRAM
JP2007065894A (en) Method for installing printer driver
JP5919925B2 (en) Program, information processing apparatus, storage medium
JP2007058408A (en) Serial number output system
JP3829798B2 (en) Image forming apparatus and program
JP2001306286A (en) Print job management system and method on network
JP5625497B2 (en) Information processing apparatus, information processing system, information processing method, program, and recording medium storing the program
JP3829655B2 (en) Print control apparatus and program
JP2020129221A (en) Support program, information processing device, and printing method
JP2006318055A (en) Printing controller, printing control method, program, and computer readable storage medium
JP4093277B2 (en) Print control apparatus and program
JP2011133994A (en) Print controller, printing system and program
JP7124447B2 (en) Translators, printing systems and programs
JP2008027217A (en) Printing system with information processor and printing apparatus
JP2022072647A (en) Print controller, printer, printing system, and program
JP2015038697A (en) Information processor, information processing method, program, and information processing system
JP2010198419A (en) Data file management program, and computer for executing the same
JP2004287792A (en) Print control unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090707