[go: up one dir, main page]

JP7524585B2 - Program, information processing device - Google Patents

Program, information processing device Download PDF

Info

Publication number
JP7524585B2
JP7524585B2 JP2020067845A JP2020067845A JP7524585B2 JP 7524585 B2 JP7524585 B2 JP 7524585B2 JP 2020067845 A JP2020067845 A JP 2020067845A JP 2020067845 A JP2020067845 A JP 2020067845A JP 7524585 B2 JP7524585 B2 JP 7524585B2
Authority
JP
Japan
Prior art keywords
print
filter
data
program
content data
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
JP2020067845A
Other languages
Japanese (ja)
Other versions
JP2021163426A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2020067845A priority Critical patent/JP7524585B2/en
Publication of JP2021163426A publication Critical patent/JP2021163426A/en
Application granted granted Critical
Publication of JP7524585B2 publication Critical patent/JP7524585B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、コンテンツデータを印刷データに変換する技術に関する。 The present invention relates to a technology for converting content data into print data.

特許文献1には、OSが、印刷管理システムとしてCUPS(Common Unix Printing Systemの略)を備える情報処理装置が記載されている。このような情報処理装置では、OSは、コンテンツデータをプリンタが処理可能なデータ形式に変換するフィルタを備えており、情報処理装置は、フィルタにより変換されたデータをプリンタに出力する。 Patent Document 1 describes an information processing device in which the OS has CUPS (Common Unix Printing System) as a print management system. In such an information processing device, the OS has a filter that converts content data into a data format that can be processed by a printer, and the information processing device outputs the data converted by the filter to the printer.

特開2020-1298号公報JP 2020-1298 A

特許文献1には、情報処理装置がプリンタに印刷データを印刷させる技術が開示されている。近年では、情報処理装置に求められる機能も、プリンタに求められる機能も多様化しているため、情報処理装置が備える機能と、プリンタが備える機能とが、容易には対応しない。例えば、アプリケーションが用意したコンテンツデータを、ユーザが所望した通りにプリンタに印刷させることができなくなることが懸念される。 Patent Document 1 discloses a technology in which an information processing device causes a printer to print print data. In recent years, the functions required of information processing devices and printers have become more diverse, and the functions provided by information processing devices and printers do not easily correspond to each other. For example, there is a concern that the user will not be able to cause the printer to print content data prepared by an application as desired.

本発明は、上記課題に鑑みたものであり、コンテンツデータを印刷データに変換する情報処理装置において、印刷データを適正にプリンタに出力させることを目的とする。 The present invention has been made in consideration of the above problems, and aims to enable an information processing device that converts content data into print data to output the print data appropriately to a printer.

上記課題を解決するために、本発明では、情報処理装置のコンピュータが実行可能な拡張プログラムであって、情報処理装置には、OS上で動作する印刷プログラムと、アプリケーションと、が動作し、アプリケーションは、指定フィルタを指定して、コンテンツデータの印刷をOS上で動作する印刷プログラムに指示し、指定フィルタは、コンテンツデータを印刷データに変換するためのフィルタであり、印刷プログラムは、フィルタを備えており、OS上で動作する印刷プログラムは、アプリケーションから印刷を指示されたコンテンツデータを印刷データに変換させるための変換指示を、アプリケーションにより指定された指定フィルタに行い、OS上で動作する印刷プログラムは、拡張プログラムが指定フィルタとして指定されている場合に、変換指示を拡張プログラムに行う。コンピュータに、アプリケーションによるコンテンツデータの印刷の指示に基づき、OS上で動作する印刷プログラムから変換指示を受け付けた場合に、OS上で動作する印刷プログラムが備えるフィルタにコンテンツデータを印刷データに変換させ、OS上で動作する印刷プログラムが備えるフィルタから出力された印刷データを取得する印刷データ取得処理と、印刷データをプリンタに印刷させるために出力する出力処理と、を実行させる。 In order to solve the above problem, the present invention provides an extension program executable by a computer of an information processing device, in which a print program and an application running on an OS run on the information processing device, the application designates a designated filter and instructs the print program running on the OS to print content data, the designated filter is a filter for converting content data into print data, and the print program has a filter, the print program running on the OS issues a conversion instruction to the designated filter designated by the application to convert content data instructed to be printed by the application into print data, and the print program running on the OS issues a conversion instruction to the extension program when the extension program is designated as the designated filter. When a conversion instruction is received from the print program running on the OS based on an instruction to print content data by the application, the computer is caused to execute a print data acquisition process for converting the content data into print data using the filter provided in the print program running on the OS, and acquiring the print data output from the filter provided in the print program running on the OS, and an output process for outputting the print data to be printed by a printer.

上記構成では、OS上で動作する印刷プログラムは、アプリケーションからのフィルタの指定に基づき、指定されたフィルタにコンテンツデータを印刷データに変換させる変換指示を行う。アプリケーションが、本プログラムを指定して、コンテンツデータの印刷をOSに指示した場合に、本プログラムは、OS上で動作する印刷プログラムが備えるフィルタに、コンテンツデータを印刷データに変換させる変換指示を行う。これにより、本プログラムを指定したコンテンツデータの印刷データへの変換において、OS上で動作する印刷プログラムが備えるフィルタを用いて印刷データをプリンタに出力することができる。 In the above configuration, the print program running on the OS issues a conversion instruction to the specified filter to convert content data into print data based on the filter specification from the application. When the application specifies this program and instructs the OS to print content data, this program issues a conversion instruction to the filter provided in the print program running on the OS to convert the content data into print data. As a result, in converting the content data specified by this program into print data, the print data can be output to the printer using the filter provided in the print program running on the OS.

本発明では、コンテンツデータを印刷データに変換する情報処理装置において、印刷データを適正にプリンタに出力させることができる。 In the present invention, an information processing device that converts content data into print data can properly output the print data to a printer.

印刷システムの構成図。FIG. 1 is a diagram showing the configuration of a printing system. 情報処理装置の構成図Configuration diagram of information processing device ファイルデータを説明する図。FIG. 4 is a diagram for explaining file data. ジョブデータJDを説明する図。FIG. 4 is a diagram for explaining job data JD. ジョブデータを生成する処理の手順を示すフローチャート。10 is a flowchart showing a procedure for generating job data. 図5のステップ11で実行するPPD処理の詳細な手順を示すフローチャート。6 is a flowchart showing a detailed procedure of the PPD process executed in step 11 of FIG. 5 . ファイルデータを説明する図。FIG. 4 is a diagram for explaining file data. プロセスA,B及び特定フィルタにより実行される処理を示すフローチャート。11 is a flowchart showing processing executed by processes A and B and a specific filter. 第2実施形態に係るファイルデータを説明する図。FIG. 11 is a view for explaining file data according to the second embodiment. 第3実施形態に係るファイルデータを説明する図。FIG. 13 is a view for explaining file data according to the third embodiment.

(第1実施形態)
以下、本実施形態に係る印刷システムついて説明する。
First Embodiment
The printing system according to this embodiment will be described below.

図1に示すように、印刷システム1は、情報処理装置100と、プリンタ200,201,202とにより構成されている。情報処理装置100とプリンタ200~202とは、互いに通信可能に接続されている。プリンタ200~202は、情報処理装置100から印刷指示とともにジョブデータを受信し、シートへの印刷を行う装置である。具体的には、プリンタ200~202は、PCL(Printer Control Languageの略)で記述された印刷データを印刷可能なプリンタであり、プリンタ200~201はカラープリンタであり、プリンタ202はモノクロプリンタである。本実施形態では、プリンタ200~202は、不図示のヘッドからインクをシートに向けて噴射することにより、シートに画像を形成するインクジェットプリンタである。プリンタ200~202は他の方式のプリンタであってもよい。 As shown in FIG. 1, the printing system 1 is composed of an information processing device 100 and printers 200, 201, and 202. The information processing device 100 and the printers 200 to 202 are connected to each other so that they can communicate with each other. The printers 200 to 202 are devices that receive job data together with a print instruction from the information processing device 100 and print on a sheet. Specifically, the printers 200 to 202 are printers that can print print data written in PCL (short for Printer Control Language), the printers 200 to 201 are color printers, and the printer 202 is a monochrome printer. In this embodiment, the printers 200 to 202 are inkjet printers that form an image on a sheet by ejecting ink from a head (not shown) toward the sheet. The printers 200 to 202 may be printers of other types.

情報処理装置100は、各種のプログラムの実行が可能な装置であり、例えば、スマートフォン、パーソナルコンピュータ、タブレットコンピュータである。情報処理装置100は、コントローラ10と、バス15と、ディスプレイ16と、ユーザインタフェース17(以下、ユーザIFと称す)と、通信インタフェース18(以下、通信IFと称す)とを備えている。コントローラ10と、ディスプレイ16と、ユーザIF17と、通信IF18は、バス15に接続されており、互いに通信可能となっている。 The information processing device 100 is a device capable of executing various programs, such as a smartphone, a personal computer, or a tablet computer. The information processing device 100 includes a controller 10, a bus 15, a display 16, a user interface 17 (hereinafter referred to as a user IF), and a communication interface 18 (hereinafter referred to as a communication IF). The controller 10, the display 16, the user IF 17, and the communication IF 18 are connected to the bus 15 and are capable of communicating with each other.

コントローラ10は、CPU11と、ROM12と、RAM13と、不揮発性メモリ14と、有している。ROM12には、情報処理装置100を動作させるためのプログラム等が記憶されている。RAM13は、各種処理が実行される際に作業領域として、あるいは、データを一時的に記憶する記憶領域として利用される。不揮発性メモリ14は、例えば、HDD、フラッシュメモリであり、各種のプログラムやデータを記憶する。CPU11は、ROM12や不揮発性メモリ14から読み出したプログラムに従って、また、ユーザの指示に基づいて、各種の処理を実行する。 The controller 10 has a CPU 11, a ROM 12, a RAM 13, and a non-volatile memory 14. The ROM 12 stores programs and the like for operating the information processing device 100. The RAM 13 is used as a working area when various processes are executed, or as a storage area for temporarily storing data. The non-volatile memory 14 is, for example, a HDD or flash memory, and stores various programs and data. The CPU 11 executes various processes according to programs read from the ROM 12 or the non-volatile memory 14, and based on instructions from the user.

ディスプレイ16は、画像を表示する。ユーザIF17は、ユーザによる操作を受付けるインタフェースである。ユーザIF17は、例えば、タッチパネル、キーボード、マウス等である。通信IF18は、プリンタ200との間の通信を制御するインタフェースである。通信IF18は、有線により情報処理装置100とプリンタ200との間で通信を行うための有線IFや、無線により情報処理装置100とプリンタ200との間で通信を行うための無線IFを含んでいる。また、通信IFは、不図示のネットワークを介して接続された外部装置と通信を行うためのハードウェアを含んでいてもよい。 The display 16 displays images. The user IF 17 is an interface that accepts operations by the user. The user IF 17 is, for example, a touch panel, a keyboard, a mouse, etc. The communication IF 18 is an interface that controls communication with the printer 200. The communication IF 18 includes a wired IF for communication between the information processing device 100 and the printer 200 via a wire, and a wireless IF for communication between the information processing device 100 and the printer 200 wirelessly. The communication IF may also include hardware for communicating with an external device connected via a network (not shown).

不揮発性メモリ14には、CPU11が実行可能なプログラムとして、OS20と、アプリケーションプログラム40と、が記憶されている。以下の説明では、プログラムを実行するCPU11のことを、単にプログラム名でも記載する場合がある。例えば、「OS20が」という記載は、「OS20を実行するCPU11が」という意味で使用する。本実施形態では、主に、プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」等の処理は、CPU11の処理を表している。なお「取得」は要求を必須とはしない概念で用いる。すなわち、CPU11が要求することなくデータを受信するという処理も、「CPU11がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。 The non-volatile memory 14 stores the OS 20 and the application program 40 as programs executable by the CPU 11. In the following description, the CPU 11 executing the programs may be described simply by the program name. For example, the description "OS 20" is used to mean "CPU 11 executing OS 20". In this embodiment, the processing of the CPU 11 according to the instructions written in the program is mainly shown. That is, the processing of "judging", "extracting", "selecting", "calculating", "deciding", "identifying", "obtaining", "accepting", "controlling" and the like in the following description represent the processing of the CPU 11. Note that "obtaining" is used as a concept that does not require a request. In other words, the processing of receiving data without the CPU 11 requesting it is also included in the concept of "CPU 11 obtaining data". In addition, "data" in this specification is represented by a bit string that can be read by a computer. Data with the same substantial meaning but different formats are treated as the same data. The same applies to "information" in this specification.

アプリケーションプログラム40は、コンテンツデータCDを作成する。アプリケーションプログラム40は、ディスプレイ16に表示された画面上で、画像の作成及び編集を行う画像編集プログラムである。以下では、アプリケーションプログラムをAP40と称する。コンテンツデータCDは、画像や、テキストを含んでいる。ユーザは、AP40により、例えば、印刷パラメータが記述されたPPDファイルデータを選択することで、コンテンツデータCDを印刷させるプリンタの指定や、印刷を行う際の各種の印刷パラメータを指定することができる。印刷パラメータには、コンテンツデータCDをプリンタに印刷させる際の印刷オプションを指定する印刷パラメータを含んでいる。AP40は、印刷指示とともに、コンテンツデータCDと、印刷パラメータとをOS20に送信する。 The application program 40 creates the content data CD. The application program 40 is an image editing program that creates and edits images on the screen displayed on the display 16. Hereinafter, the application program will be referred to as AP40. The content data CD includes images and text. By using AP40, for example, the user can select PPD file data in which printing parameters are described, thereby specifying a printer to print the content data CD and various printing parameters to be used when printing. The printing parameters include printing parameters that specify printing options when the content data CD is printed by the printer. AP40 sends the content data CD and the printing parameters to OS20 along with a print instruction.

AP40が指定する印刷オプションには、例えば、セキュアプリントを指令する印刷オプションが考えられる。セキュアプリントは、AP40により、ユーザを識別するユーザ情報、及び印刷ジョブを識別するジョブ情報を印刷パラメータとして指定し、プリンタ200による印刷を指令すると、情報処理装置100からプリンタ200に、印刷データPD、ユーザ情報及びジョブ情報が含まれているジョブデータJDが送信され、ジョブデータJDを受信したプリンタ200では、ユーザ情報に対応するパスワードの入力を受付けたことを条件に印刷データPDを印刷するというプリント方式である。 A possible printing option specified by AP40 is, for example, a printing option that commands secure printing. Secure printing is a printing method in which AP40 specifies user information that identifies a user and job information that identifies a print job as printing parameters and commands printer 200 to print. Then, job data JD containing print data PD, user information, and job information is sent from information processing device 100 to printer 200, and printer 200 that receives job data JD prints the print data PD on the condition that it has accepted input of a password corresponding to the user information.

OS20は、情報処理装置100の動作を司るプログラムである。本実施形態では、OS20は、UNIX(登録商標)型のOSである。OS20は、CUPS25と、通信制御プログラム26とを有している。CUPS25は、印刷システム1で実行される印刷を管理するためのプログラムである。CUPS25は、プリンタにコンテンツデータCDを印刷させるためのジョブデータJDを生成する。ジョブデータJDには、コンテンツデータCDに含まれる画像をプリンタ200が解釈可能なデータ形式に変換した印刷データPDと、AP40からの印刷オプションをプリンタ200に指定するPDLコマンドとが含まれる。通信制御プログラム26は、通信IF18を介した外部との通信を制御するプログラムである。 The OS 20 is a program that controls the operation of the information processing device 100. In this embodiment, the OS 20 is a UNIX (registered trademark) type OS. The OS 20 has a CUPS 25 and a communication control program 26. The CUPS 25 is a program for managing printing executed in the printing system 1. The CUPS 25 generates job data JD for causing the printer to print the content data CD. The job data JD includes print data PD obtained by converting an image included in the content data CD into a data format that can be interpreted by the printer 200, and a PDL command that specifies print options from the AP 40 to the printer 200. The communication control program 26 is a program that controls communication with the outside via the communication IF 18.

図2に示すように、CUPS25は、標準フィルタSRIP1、標準フィルタSRIP2、ベンダフィルタVRIPを備えている。標準フィルタSRIP1,SRIP2は、OS20の標準フィルタである。標準フィルタSRIP1はコンテンツデータCDをPCLカラー形式の印刷データPDに変換するフィルタである。標準フィルタSRIP2はコンテンツデータCDを、PCLモノクロ形式の印刷データPDに変換するプログラムである。コンテンツデータCDはPS(PostScriptの略)形式、または、PDF(Portable Document Format)形式のデータである。なお、CUPS25は、PS形式で記述された印刷データを印刷可能なプリンタに対応する標準フィルタを、標準フィルタSRIP1,SRIP2以外に備えていてもよい。この標準フィルタは、PDF形式のコンテンツデータCDをPS形式の印刷データPDに変換する標準フィルタである。ベンダフィルタVRIPは、特定のプリンタ(例えばプリンタ200およびプリンタ200と同じシリーズのプリンタ)にのみ対応するフィルタである。ベンダフィルタVRIPは、例えば、プリンタ200のベンダが提供するフィルタである。本実施形態では、ベンダフィルタVRIPが拡張プログラムである。 As shown in FIG. 2, CUPS25 includes standard filters SRIP1, SRIP2, and a vendor filter VRIP. Standard filters SRIP1 and SRIP2 are standard filters of OS20. Standard filter SRIP1 is a filter that converts content data CD into print data PD in PCL color format. Standard filter SRIP2 is a program that converts content data CD into print data PD in PCL monochrome format. Content data CD is data in PS (short for PostScript) format or PDF (Portable Document Format) format. Note that CUPS25 may include a standard filter corresponding to a printer capable of printing print data written in PS format, in addition to standard filters SRIP1 and SRIP2. This standard filter is a standard filter that converts content data CD in PDF format into print data PD in PS format. The vendor filter VRIP is a filter that is compatible only with a specific printer (e.g., printer 200 and printers in the same series as printer 200). The vendor filter VRIP is, for example, a filter provided by the vendor of printer 200. In this embodiment, the vendor filter VRIP is an extension program.

OS20は、プリンタ200,201,202毎に、対応するファイルデータPPDを備えている。ファイルデータPPDは、PPD(Postscript Printer Descriptionの略)形式のファイルデータであり、プリンタが印刷を行う際の設定が記述されている。具体的には、ファイルデータPPDには、プリンタを特定する情報や、特定されるプリンタで実行可能な印刷オプションに応じた印刷パラメータを記述したファイルデータである。本実施形態では、ファイルデータPPD1が、カラーPCLプリンタ200に対応するファイルデータであり、ファイルデータPPD2がカラーPCLプリンタ201に対応するファイルデータであり、ファイルデータPPD3が、モノクロPCLプリンタ202に対応するファイルデータである。以下では、ファイルデータPPDと称する場合は、ファイルデータPPD1~PPD3の総称を意味し、個別のファイルデータPPDを意味する場合は、末尾に識別子「1,2,3」を付す。なお、本実施例のファイルデータPPDは、CUPS用に拡張された文法に従って記述されている。また、後述する、特定タグTAG、ラベルLABおよびそれに付随する値はPPDの文法を逸脱しないようコメント形式で記述されている。 The OS 20 has file data PPD corresponding to each of the printers 200, 201, and 202. The file data PPD is file data in the PPD (short for Postscript Printer Description) format, and describes the settings when the printer prints. Specifically, the file data PPD is file data describing information that identifies the printer and print parameters corresponding to print options that can be executed by the identified printer. In this embodiment, the file data PPD1 is file data corresponding to the color PCL printer 200, the file data PPD2 is file data corresponding to the color PCL printer 201, and the file data PPD3 is file data corresponding to the monochrome PCL printer 202. In the following, when the file data PPD is referred to, it means a general term for the file data PPD1 to PPD3, and when the file data PPD is meant individually, the identifiers "1, 2, 3" are added to the end. The file data PPD in this embodiment is described according to a grammar extended for CUPS. In addition, the specific tag TAG, label LAB, and associated values, which will be described later, are written in comment format so as not to deviate from the grammar of the PPD.

図3はファイルデータPPDの一例である。複数のコードにより構成されている。コード「*Product: “AAPrinter”」は、ファイルデータPPDに対応するプリンタのプリンタ名が「AA Printer」であることを示している。コード「*cupsFilter: “application/vnd.cups-postscript 100 wrapper-rip”」については後述する。また、図7、9,10は、ファイルデータPPDの他の一例を、図3と共通する行を省略して図示した図である。図3、7、9,10で共通する行は、図3の先頭行から、「*cpsFilter:“wrapper-rip”」までである。 Figure 3 is an example of file data PPD. It is composed of multiple codes. The code "*Product: "AAPrinter"" indicates that the printer name of the printer corresponding to the file data PPD is "AA Printer". The code "*cupsFilter: "application/vnd.cups-postscript 100 wrapper-rip"" will be described later. Also, Figures 7, 9, and 10 are diagrams illustrating another example of file data PPD, omitting lines common to Figure 3. The lines common to Figures 3, 7, 9, and 10 are from the top line of Figure 3 to "*cpsFilter: "wrapper-rip"".

標準フィルタSRIP1,SRIP2は、ファイルデータPPD2,PPD3と共にOS20に同梱されており、OS20を情報処理装置100にインストールする際にインストールされる。AP40と、ベンダフィルタVRIPと、ファイルデータPPD1もOS20に同梱されていれば、OS20のインストールとともに、AP40、ベンダフィルタVRIP、ファイルデータPPD1も情報処理装置100にインストールされる。これ以外にも、AP40、ベンダフィルタVRIP、及びファイルデータPPD1はストアサーバに記憶されており、OS20のインストールとは別のタイミングでインストールされてもよい。OS20、ベンダフィルタVRIP、AP40、及びファイルデータPPDは、サーバからバージョンアップ版がダウンロードされ、バージョンアップインストールされてもよい。 The standard filters SRIP1 and SRIP2 are included in the OS 20 together with the file data PPD2 and PPD3, and are installed when the OS 20 is installed on the information processing device 100. If the AP 40, the vendor filter VRIP, and the file data PPD1 are also included in the OS 20, the AP 40, the vendor filter VRIP, and the file data PPD1 are also installed on the information processing device 100 when the OS 20 is installed. In addition, the AP 40, the vendor filter VRIP, and the file data PPD1 are stored in a store server, and may be installed at a time separate from the installation of the OS 20. The OS 20, the vendor filter VRIP, the AP 40, and the file data PPD may be downloaded as upgrade versions from a server and installed as an upgrade.

通信制御プログラム26は、CUPS25により出力されたジョブデータJDを、通信IF18を介してプリンタ200に送信させるプログラムである。これにより、OS20は、通信IF18を介して、AP40により指定されたプリンタに、印刷の指示とジョブデータJDとを出力することができる。 The communication control program 26 is a program that transmits the job data JD output by the CUPS 25 to the printer 200 via the communication IF 18. This allows the OS 20 to output a print instruction and the job data JD to the printer specified by the AP 40 via the communication IF 18.

上記構成の印刷システム1において、AP40は、OS20にコンテンツデータCDの印刷を指示する際に、指定したプリンタに対応するファイルデータPPDを選択し、選択したファイルデータPPDをOS20に指定する。以下では、AP40が、コンテンツデータCDの印刷の際に選択するファイルデータPPDを選択ファイルデータとも称す。AP40は、プリンタ201を指定してコンテンツデータCDの印刷をOS20に指示する場合、選択ファイルデータとして、ファイルデータPPD2をOS20に指定する。一方、AP40は、コンテンツデータCDを印刷させるプリンタとしてプリンタ200を指定する場合、選択ファイルデータとしてファイルデータPPD1を選択し、ファイルデータPPD1をOS20に指定する。 In the printing system 1 configured as above, when AP40 instructs OS20 to print the content data CD, it selects file data PPD corresponding to the specified printer and specifies the selected file data PPD to OS20. Hereinafter, the file data PPD selected by AP40 when printing the content data CD is also referred to as selected file data. When AP40 specifies printer 201 and instructs OS20 to print the content data CD, it specifies file data PPD2 to OS20 as the selected file data. On the other hand, when AP40 specifies printer 200 as the printer to print the content data CD, it selects file data PPD1 as the selected file data and specifies file data PPD1 to OS20.

OS20は、ファイルデータPPDを参照し、ファイルデータPPDに記述された情報を元に、コンテンツデータCDを印刷データPDに変換するよう、指定されたフィルタに指令する。図3に示すファイルデータPPDでは、コード「*cupsFilter: “application/vnd.cups-postscript 100 wrapper-rip”」がファイルデータPPD1に記述されており、PS形式のコンテンツデータCDの印刷時にベンダフィルタVRIPを指定することを示す。ファイルデータPPD2には“wrapper-rip”に代えて“standard-rip1”が、ファイルデータPPD3には“standard-rip2”が記述されており、それぞれ、標準フィルタSRIP1または標準フィルタSRIP2を指定することを示す。なお、ファイルデータPPDには、PDF形式のコンテンツデータCDの印刷時にベンダフィルタVRIPを指定する記述を含ませることもできる。この場合において、「vnd.cups-postscript 100」を、「vnd.cups-pdf 0」に置き換えればよい。また、ファイルデータPPDに、PDF形式のコンテンツデータCDの印刷時に指定されるフィルタを示すコードと、PS形式のコンテンツデータCDの印刷時に指定されるフィルタを示すコードとを別々に記述するものであってもよい。 The OS 20 refers to the file data PPD and instructs the specified filter to convert the content data CD into print data PD based on the information described in the file data PPD. In the file data PPD shown in FIG. 3, the code "*cupsFilter: "application/vnd.cups-postscript 100 wrapper-rip"" is described in the file data PPD1, which indicates that the vendor filter VRIP is specified when printing the content data CD in PS format. Instead of "wrapper-rip", "standard-rip1" is described in the file data PPD2, and "standard-rip2" is described in the file data PPD3, which indicates that the standard filter SRIP1 or standard filter SRIP2 is specified, respectively. Note that the file data PPD can also include a description that specifies the vendor filter VRIP when printing the content data CD in PDF format. In this case, "vnd.cups-postscript 100" can be replaced with "vnd.cups-pdf 0". Also, the file data PPD may contain separate codes indicating the filter specified when printing the PDF content data CD and the filter specified when printing the PS content data CD.

図4は、CUPS25から出力されるジョブデータJDの構成を示している。ジョブデータJDは、ヘッダ領域H1、データ領域H2、フッタ領域H3を含んでいる。ヘッダ領域H1及びフッタ領域H3は、PJLコマンドが記述される領域である。データ領域H2は、印刷データPDを示すPCLにより記述される領域である。 Figure 4 shows the structure of job data JD output from CUPS25. Job data JD includes a header area H1, a data area H2, and a footer area H3. Header area H1 and footer area H3 are areas where PJL commands are written. Data area H2 is an area written by PCL indicating print data PD.

次に、ベンダフィルタVRIPにより、ジョブデータJDを生成する処理の手順を、図5のフローチャートを用いて説明する。主に、AP40がファイルデータPPD1を選択した場合を例に挙げて説明する。すなわち、AP40からOS20に対して、プリンタ200を指定したコンテンツデータCDの印刷が指示され、OS20がファイルデータPPD1を参照して、ベンダフィルタVRIPにコンテンツデータCDの印刷データPDへの変換を指示したことを契機に、CPU11により実行される処理である。以降、主体であるCPU11を便宜的に省略した文体で説明する。なお、AP40がファイルデータPPD2又はPPD3を選択した場合、OS20はベンダフィルタVRIPに指示を行わないため、図5のフローチャートは実行されない。OS20は標準フィルタに指示を行い、標準フィルタがジョブデータJDを生成し、プリンタ201又は202に出力する。 Next, the procedure of the process of generating job data JD by the vendor filter VRIP will be explained using the flowchart in FIG. 5. The explanation will be mainly given by taking as an example the case where AP 40 selects file data PPD1. That is, the process is executed by CPU 11 when AP 40 instructs OS 20 to print content data CD specifying printer 200, and OS 20 instructs vendor filter VRIP to convert content data CD to print data PD by referring to file data PPD1. Hereinafter, the explanation will be given in a style that omits CPU 11, which is the subject of the process. Note that if AP 40 selects file data PPD2 or PPD3, OS 20 does not instruct vendor filter VRIP, and therefore the flowchart in FIG. 5 is not executed. OS 20 instructs the standard filter, which generates job data JD and outputs it to printer 201 or 202.

ステップ10(以降、ステップを“S”と省略する)では、コンテンツデータCDの印刷データPDへの変換指示とともにCUPS25からベンダフィルタVRIPに受け渡された印刷パラメータ(以降、“初期パラメータ”とも称す)を記憶する。初期パラメータは、AP40からコンテンツデータCDの印刷が指示されたことにより、CUPS25が取得したパラメータである。初期パラメータはAP40からCUPS25に受け渡されてもよいし、CUPS25がOS20から取得してもよい。ベンダフィルタVRIPを介した場合、初期パラメータは、後述するファイルデータPPD内の記述に従って置き換える場合がある(以降、置き換えられた後の印刷パラメータを、“更新パラメータ”とも称す)。本実施形態では、初期パラメータおよび更新パラメータを、argv[n]として管理する。nは、何番目の印刷パラメータに属するかを示す識別子である。例えば、argv[1]は、コンテンツデータCDを識別するジョブ情報である。argv[2]は、ログインユーザを識別するユーザ情報である。argv[3]は、コンテンツデータCDの名称を示すジョブ名称である。argv[4]は、印刷部数である。argv[5]は、その他の印刷オプションである。なお、AP40はファイルデータPPDを選択する方法とは別の方法で、記述パラメータをベンダフィルタVRIPに入力してもよい。例えば、ベンダフィルタVRIPがアクセスするメモリ領域に記述パラメータを記述してもよい。 In step 10 (hereinafter, step is abbreviated as "S"), the print parameters (hereinafter, also referred to as "initial parameters") transferred from CUPS25 to the vendor filter VRIP together with the instruction to convert the content data CD to the print data PD are stored. The initial parameters are parameters acquired by CUPS25 when the AP40 instructs the printing of the content data CD. The initial parameters may be transferred from AP40 to CUPS25, or may be acquired by CUPS25 from OS20. When the initial parameters are transferred via the vendor filter VRIP, the initial parameters may be replaced according to the description in the file data PPD described later (hereinafter, the replaced print parameters are also referred to as "updated parameters"). In this embodiment, the initial parameters and updated parameters are managed as argv[n]. n is an identifier indicating which print parameter the parameter belongs to. For example, argv[1] is job information that identifies the content data CD. argv[2] is user information that identifies the logged-in user. argv[3] is the job name indicating the name of the content data CD. argv[4] is the number of copies to print. argv[5] is other print options. Note that AP40 may input the description parameters to the vendor filter VRIP using a method other than the method for selecting the file data PPD. For example, the description parameters may be written in a memory area accessed by the vendor filter VRIP.

S11では、ファイルデータPPDを解釈するためのPPD処理を実行する。PPD処理には、コンテンツデータCDを、印刷データPDに変換させる標準フィルタを特定するための処理も含まれる。図6は、S11のPPD処理の詳細な手順を説明するフローチャートである。 In S11, PPD processing is performed to interpret the file data PPD. The PPD processing also includes processing to identify a standard filter that converts the content data CD into print data PD. Figure 6 is a flowchart that explains the detailed steps of the PPD processing in S11.

図6のS31では、ファイルデータPPD1から1行分のコードを読み出す。S32では、S31で読み出したコード内に、特定タグTAGが含まれているか否かを判断する。特定タグTAGは、ベンダフィルタVRIPが解析すべきコードであることを示す情報である。本実施形態では、図3,図7に示すように、特定タグTAGは、「*%wrapper-rip」である。S32を否定判定すると、S36に進み、現在読み出しているコードは、最終コードであるか否かを判断する。S36を否定判定すると、S31に戻る。S31では、読み出し対象となるコードを1行進め、コードの読出しを行う。コード内に、特定タグTAGが含まれており、S32を肯定判定すると、S33に進む。 In S31 of FIG. 6, one line of code is read from the file data PPD1. In S32, it is determined whether or not the code read in S31 contains a specific tag TAG. The specific tag TAG is information indicating that the code is to be analyzed by the vendor filter VRIP. In this embodiment, as shown in FIG. 3 and FIG. 7, the specific tag TAG is "*% wrapper-rip". If a negative judgment is made in S32, the process proceeds to S36, where it is determined whether or not the code currently being read is the final code. If a negative judgment is made in S36, the process returns to S31. In S31, the code to be read is advanced by one line, and the code is read. If a specific tag TAG is included in the code and a positive judgment is made in S32, the process proceeds to S33.

S33では、現在読み出しているコードから、特定タグTAGの次に記述されたラベルLABを読み出す。ラベルLABは対象処理を特定するための情報である。具体的には、ラベルLABが「subfilter」であれば、対象処理がフィルタの対象処理であることを示す。ラベルLABが「argv[n]」であれば、初期パラメータを更新パラメータに置き換えるための記述パラメータをファイルデータPPDから抽出し、一時的に記憶する処理であることを示す。S34では、S33で読み出したラベルLABから、対象処理を特定する。 In S33, the label LAB written next to the specific tag TAG is read from the currently read code. The label LAB is information for identifying the target process. Specifically, if the label LAB is "subfilter", this indicates that the target process is a filter target process. If the label LAB is "argv[n]", this indicates that the process extracts description parameters for replacing initial parameters with update parameters from the file data PPD and temporarily stores them. In S34, the target process is identified from the label LAB read in S33.

S35では、S34で特定した対象処理に対する変更処理を実行する。変更処理は直接「(対象)=(変更値)」のように記述される場合と、スクリプトにより書かれる場合がある。条件に応じて処理をかえる場合にはスクリプトSCが用いられる。スクリプトSCは、小括弧に囲まれている。図7では、ラベルLABが「subfilter」である場合のスクリプトSCが示されている。即ち、図7には、フィルタの特定処理に対するスクリプトSC1が示されている。 In S35, a change process is executed for the target process identified in S34. The change process may be written directly as "(target) = (change value)" or written by a script. A script SC is used when changing the process depending on conditions. The script SC is enclosed in parentheses. Figure 7 shows a script SC when the label LAB is "subfilter". That is, Figure 7 shows a script SC1 for the specified process of the filter.

まず、比較として、図3で示される構成のファイルデータPPD2から特定情報を抽出する例を説明する。この場合、ラベルLAB「subfilter」の次に記述された対象処理は、「subfilter=standard-rip1」となる。即ち、コンテンツデータCDを印刷データPDに変換するフィルタを特定する特定情報は、標準フィルタSRIP1を示す「standard-rip1」となる。言い換えれば、図3に示すファイルデータPPD2では、指定すべき標準フィルタが一意に特定される。 First, for comparison, an example of extracting specific information from file data PPD2 with the configuration shown in Figure 3 will be described. In this case, the target process described next to the label LAB "subfilter" is "subfilter=standard-rip1." In other words, the specific information that identifies the filter that converts content data CD into print data PD is "standard-rip1," which indicates the standard filter SRIP1. In other words, in file data PPD2 shown in Figure 3, the standard filter to be specified is uniquely identified.

一方、図7のスクリプトSC1を実行することで、条件に応じて、標準フィルタを識別するための情報である「standard-rip1」と、「standard-rip2」とのいずれかが、ファイルデータPPD1から特定情報として抽出される。言い換えると、スクリプトSC1は、カラー用の標準フィルタSRIP1が存在していれば、標準フィルタSRIP1を選択させることでPCLカラー形式の印刷データPDを出力させ、存在していなければ、モノクロ用の標準フィルタSRIP2を選択させるスクリプトである。「standard-rip2」は、標準フィルタSRIP2を特定するための特定情報である。ベンダフィルタVRIPは、スクリプトSC1を実行することで、OS20が標準フィルタSRIP1を備えている場合、「standard-rip1」を特定情報として抽出し、一時記憶する。一方、OS20が標準フィルタSRIP1を備えていない場合、「standard-rip2」を特定情報として抽出し、一時記憶する。
OS20が標準フィルタSRIP1を備えている、という概念は、不揮発性メモリ14に標準フィルタSRIP1が記憶されている、という概念を含んでいてもよい。
7, either "standard-rip1" or "standard-rip2", which is information for identifying a standard filter, is extracted as specific information from the file data PPD1 according to conditions. In other words, the script SC1 is a script that, if the standard filter SRIP1 for color exists, selects the standard filter SRIP1 to output print data PD in PCL color format, and, if the standard filter SRIP1 does not exist, selects the standard filter SRIP2 for monochrome. "standard-rip2" is specific information for identifying the standard filter SRIP2. By executing the script SC1, the vendor filter VRIP extracts "standard-rip1" as specific information and temporarily stores it if the OS 20 has the standard filter SRIP1. On the other hand, if the OS 20 does not have the standard filter SRIP1, extracts "standard-rip2" as specific information and temporarily stores it.
The concept that the OS 20 is provided with the standard filter SRIP1 may include the concept that the standard filter SRIP1 is stored in the non-volatile memory 14.

また、特定タグTAGが「*%wrapper-rip」であり、ラベルLABが「arg5」である場合、スクリプトSCを実行することにより、初期パラメータargv[5]を、更新パラメータに更新するための記述パラメータをファイルデータPPD1から抽出し、一時記憶する。例えば、印刷モード(カラー又はモノクロ)を指定する初期パラメータargv[5]に対して、どのような記述パラメータを用いて置き換えるかを示すスクリプトSCを実行することにより、argv[5]が記述パラメータを用いて更新され、更新パラメータargv[5]となる。 In addition, if the specific tag TAG is "*% wrapper-rip" and the label LAB is "arg5", the script SC is executed to extract from the file data PPD1 the description parameters for updating the initial parameter argv[5] to the updated parameter, and temporarily store them. For example, by executing the script SC that indicates what description parameters should be used to replace the initial parameter argv[5] that specifies the print mode (color or monochrome), argv[5] is updated using the description parameters, becoming the updated parameter argv[5].

上述した処理以外にも、特定TABが「*OpenUI」であり、ラベルLABが「“HOLDKEY”」である場合、スクリプトSCを実行することにより、セキュアプリントの実行を指定する初期パラメータargv[5]を、更新パラメータに更新するためのHOLDKEY処理を実行すること示す記述パラメータをファイルデータPPDから抽出し、一時記憶する。HOLDKEY処理では、情報処理装置100のディスプレイ16にパスワードを入力するための画面を表示させ、ユーザIF17を介してパスワード入力を受け付ける。そして、受け付けたパスワードを、HOLDKEY=(入力されたパスワード)として、初期パラメータargv[5]に追加することにより、更新パラメータとする処理である。 In addition to the above-mentioned processing, when the specific TAB is "*OpenUI" and the label LAB is "HOLDKEY", the script SC is executed to extract from the file data PPD a description parameter indicating that HOLDKEY processing is to be executed to update the initial parameter argv[5], which specifies the execution of secure printing, to an updated parameter, and temporarily store it. In the HOLDKEY processing, a screen for entering a password is displayed on the display 16 of the information processing device 100, and the password input is accepted via the user IF 17. The accepted password is then added to the initial parameter argv[5] as HOLDKEY=(entered password), thereby making it an updated parameter.

また、特定TABが「*OpenUI」であり、ラベルLABが「“OUTBIN”」である場合、スクリプトSCを実行することにより、出力先のトレイを指定する初期パラメータargv[5]を、更新パラメータに更新するためのOUTBIN処理を実行することを示す記述パラメータを抽出し、一時記憶する。このOUTBIN処理では、情報処理装置100のディスプレイ16に出力先のトレイを選択するための画面を表示させ、ユーザIF17を介して出力トレイの選択を受け付け、選択された出力トレイを示す情報を、HOLDKEY=(選択されたトレイ)として、初期パラメータargv[5]に追加することにより、更新パラメータとする処理である。 In addition, when the specific TAB is "*OpenUI" and the label LAB is "OUTBIN", the script SC is executed to extract and temporarily store a description parameter indicating that an OUTBIN process is to be executed to update the initial parameter argv[5] that specifies the output tray to an updated parameter. In this OUTBIN process, a screen for selecting the output tray is displayed on the display 16 of the information processing device 100, the selection of the output tray is accepted via the user IF 17, and information indicating the selected output tray is added to the initial parameter argv[5] as HOLDKEY=(selected tray) to make it an updated parameter.

S35を終了すると、S36に進み、現在読み出しているコードが、ファイルデータPPDの最終コードであれば、図5のS12に進む。なお、AP40により指定されたプリンタが、コンテンツデータCDを用いて印刷を行うプリンタである場合、対応するファイルデータPPDには、フィルタを指定するための記述がない。本実施形態では、S34が抽出処理の一例であり、S35が特定処理の一例である。また、抽出処理と特定処理とは、厳密に分かれた処理ではない、ともいえる。すなわち、S32~S35までの連携した処理が、抽出処理と特定処理の一例である、ともいえる。 When S35 ends, the process proceeds to S36, and if the code currently being read is the final code in the file data PPD, the process proceeds to S12 in FIG. 5. Note that if the printer specified by AP40 is a printer that prints using content data CD, the corresponding file data PPD does not have a description for specifying a filter. In this embodiment, S34 is an example of an extraction process, and S35 is an example of a specific process. It can also be said that the extraction process and the specific process are not strictly separate processes. In other words, the coordinated processes from S32 to S35 can be said to be an example of the extraction process and the specific process.

図5に戻り、S12では、S11でのPPD処理により、特定フィルタを特定しているか否かを判断する。具体的には、標準フィルタを特定する特定情報を記憶しているか否かを判断してもよい。S12を肯定判定した場合、即ち、標準フィルタSRIPを特定している場合、S15に進む。S15~S18では、特定フィルタとして特定した標準フィルタにコンテンツデータCDを印刷データに変換させる変換指示を行い、変換指示に応じて標準フィルタが出力した印刷データPDを取得する。即ち、本実施形態では、ベンダフィルタVRIPにより、コンテンツデータCDを印刷データPDに変換するのではなく、ベンダフィルタVRIPが、コンテンツデータCDを印刷データPDに変換されるフィルタとして、いずれかの標準フィルタSRIP1,SRIP2を特定し、特定した標準フィルタに変換を指示する。以下では、特定フィルタとして、標準フィルタSRIP1が特定された場合を例に、説明を行う。 Returning to FIG. 5, in S12, it is determined whether a specific filter has been specified by the PPD process in S11. Specifically, it may be determined whether specific information for specifying a standard filter has been stored. If a positive determination is made in S12, that is, if the standard filter SRIP has been specified, the process proceeds to S15. In S15 to S18, a conversion instruction is issued to the standard filter specified as the specific filter to convert the content data CD into print data, and the print data PD output by the standard filter in response to the conversion instruction is obtained. That is, in this embodiment, the content data CD is not converted to print data PD by the vendor filter VRIP, but the vendor filter VRIP specifies one of the standard filters SRIP1 and SRIP2 as the filter that will convert the content data CD into print data PD, and instructs the specified standard filter to perform the conversion. In the following, a case where the standard filter SRIP1 is specified as the specific filter will be described as an example.

S15では、パイプ1,2を作成する。パイプ1、パイプ2は、IN1とOUT1とが1組となり、IN2とOUT2とが1組となる仮想的な情報の通路である。パイプ1はデータを送り出すためのIN1と、データを抜き出すためのOUT1の端点をもつ。またパイプ2は同様にデータを送り出すためのIN2と、データを抜き出すためのOUT2の端点をもつ。具体的には、パイプ1では、IN1に設定した情報を、OUT1から取り出すことができる。パイプ2では、IN2に設定した情報を、OUT2から取り出すことができる。 In S15, pipes 1 and 2 are created. Pipe 1 and pipe 2 are virtual information paths, with IN1 and OUT1 forming one pair, and IN2 and OUT2 forming another pair. Pipe 1 has an end point of IN1 for sending data out, and an end point of OUT1 for extracting data out. Similarly, pipe 2 has an end point of IN2 for sending data out, and an end point of OUT2 for extracting data out. Specifically, with pipe 1, information set in IN1 can be extracted from OUT1. With pipe 2, information set in IN2 can be extracted from OUT2.

S16では、自身のプロセスを複製する。プロセスは、RAM13上に展開される処理の集合であり、以後の説明では、S17,S18を実行する親プロセス(すなわち、複製を行ったプロセル)をプロセスAと記載し、図8に示す処理を実行する子プロセス(すなわち、複製によって生成されたプロセス)をプロセスBと記載する。 In S16, the process itself is duplicated. A process is a collection of processes that are deployed on RAM 13, and in the following explanation, the parent process that executes S17 and S18 (i.e., the process that performed the duplication) will be referred to as process A, and the child process that executes the process shown in FIG. 8 (i.e., the process generated by duplication) will be referred to as process B.

プロセスAでは、S17で、パイプ1のIN1にコンテンツデータCDを設定する。これにより、プロセスBにより、パイプ1のOUT1から取り出されたコンテンツデータCDは、標準フィルタSRIP1により印刷データPDに変換される。S18では、標準フィルタSRIP1により出力された印刷データPDをパイプ2のOUT2から取り出す。 In process A, in S17, content data CD is set to IN1 of pipe 1. As a result, the content data CD extracted from OUT1 of pipe 1 by process B is converted to print data PD by standard filter SRIP1. In S18, the print data PD output by standard filter SRIP1 is extracted from OUT2 of pipe 2.

図8を用いて、プロセスBでの処理を説明する。S100では、パイプ1のOUT1をプロセスBの標準入力に置き換える。このパラメータの置き換えは、ファイルデータPPDの置き換えを指示する記述がされている場合のみ行われる。これにより、パイプ1のIN1に設定されたコンテンツデータCDを、OUT1からプロセスBで取得して処理可能となる。フィルタは標準入力から入力されたデータを加工して標準出力に出力するものであるが、S100およびS101において標準入力はOU1に。標準出力はIN2に置き換えられている。このため標準フィルタSRIP1はOUT1より出力されたデータ、すなわちプロセスAにてIN1に出力されたデータを入力し、出力はIN2に送られる。また、S101では、パイプ2のIN2をプロセスBの標準出力に置き換える。これにより、プロセスBは、パイプ2のIN2に設定された印刷データPDを、OUT2を通じて出力可能となる。 The processing in process B will be described with reference to FIG. 8. In S100, OUT1 of pipe 1 is replaced with the standard input of process B. This parameter replacement is performed only if a description is made instructing the replacement of file data PPD. As a result, the content data CD set in IN1 of pipe 1 can be obtained from OUT1 by process B and processed. The filter processes data input from the standard input and outputs it to the standard output, but in S100 and S101, the standard input is OU1. The standard output is replaced with IN2. Therefore, the standard filter SRIP1 inputs the data output from OUT1, that is, the data output to IN1 by process A, and the output is sent to IN2. Also, in S101, IN2 of pipe 2 is replaced with the standard output of process B. As a result, process B can output the print data PD set in IN2 of pipe 2 through OUT2.

S102では、一時記憶した初期パラメータargv[n]を、S12のPPD処理で一時記憶した記述パラメータに従って更新パラメータに置き換える。上述したように、記述パラメータが、初期パラメータargv[5]を更新する記述パラメータであれば、初期パラメータargv[5]は、記述パラメータの内容に従い置き換えされ、更新パラメータargv[5]となる。例えば、記述パラメータが、HOLDKEY処理を実行すること指示するものであれば、情報処理装置100にHOLDKEY処理を実行させることにより、初期パラメータargv[5]にパスワードが追加される。また、記述パラメータが、OUTBIN処理を実行するものであれば、情報処理装置100にOUTBIN処理を実行させて、初期パラメータargv[5]に出力トレイが追加される。これにより、初期パラメータargv[n]が更新パラメータとして更新される。 In S102, the temporarily stored initial parameter argv[n] is replaced with an updated parameter according to the description parameter temporarily stored in the PPD process in S12. As described above, if the description parameter is a description parameter that updates the initial parameter argv[5], the initial parameter argv[5] is replaced according to the content of the description parameter to become the updated parameter argv[5]. For example, if the description parameter instructs the execution of HOLDKEY processing, the information processing device 100 is made to execute HOLDKEY processing, and a password is added to the initial parameter argv[5]. Also, if the description parameter is for executing OUTBIN processing, the information processing device 100 is made to execute OUTBIN processing, and an output tray is added to the initial parameter argv[5]. As a result, the initial parameter argv[n] is updated as an updated parameter.

S103では、プロセスBを、PPD処理(図5のS11)で特定した特定情報に従い選択した特定フィルタ(本実施形態では、標準フィルタSRIP1)に置き換える。 In S103, process B is replaced with a specific filter (in this embodiment, the standard filter SRIP1) selected according to the specific information identified in the PPD process (S11 in FIG. 5).

以下、S111-S114は、S103で特定情報に従い選択された標準フィルタSRIP1での処理である。S111では、起動する。S112では、パイプ1のOUT1からコンテンツデータCDを取得する。パイプ1のOUT1から取得されたコンテンツデータCDは、プロセスAのS17でパイプ1のIN1に設定されたコンテンツデータCDである。S113では、コンテンツデータCDをPCLコマンドにより記述された印刷データPDに変換する。S114では、S113で変換した印刷データPDをパイプ2のIN2に設定する。これにより、パイプ2を通じて、特定フィルタにより変換された印刷データが、プロセスAのS18で取得される。 Below, S111-S114 are processes in the standard filter SRIP1 selected in accordance with the specific information in S103. In S111, it is started. In S112, content data CD is obtained from OUT1 of pipe 1. The content data CD obtained from OUT1 of pipe 1 is the content data CD set to IN1 of pipe 1 in S17 of process A. In S113, the content data CD is converted into print data PD described by PCL commands. In S114, the print data PD converted in S113 is set to IN2 of pipe 2. As a result, the print data converted by the specific filter is obtained in S18 of process A via pipe 2.

図5に戻り、S19では、印刷パラメータargv[n]に応じたPJLコマンドを、印刷データPDに付加する。以下、図4で示したジョブデータJDを例に、S19での処理を説明する。ベンダフィルタVRIPは、印刷データPDから、PJLコマンドを付加可能な領域であるヘッダ領域H1を特定し、特定したヘッダ領域H1にPJLコマンドを付加する。 Returning to FIG. 5, in S19, a PJL command corresponding to the print parameter argv[n] is added to the print data PD. Below, the process in S19 will be explained using the job data JD shown in FIG. 4 as an example. The vendor filter VRIP identifies a header area H1, which is an area to which a PJL command can be added, from the print data PD, and adds the PJL command to the identified header area H1.

図4で示すように、ベンダフィルタVRIPは、ヘッダ領域H1の先頭に先頭コマンドであるUELを付加し、UELの後に、印刷パラメータargv[n]に対応するPJLコマンドを付加する。図4では、UELとして、「<ESC>%-12345X@PJL」が付加されている。ベンダフィルタVRIPは、印刷パラメータargv[5]で指定されるオプションに対応するPJLコマンドを、ヘッダ領域H1に付加する。このとき、S102の処理により初期パラメータargv[5]が更新パラメータargv[5]に更新されている場合、更新パラメータargv[5]で指定されるオプションを、PJLコマンドとして付加する。 As shown in FIG. 4, the vendor filter VRIP adds the top command UEL to the beginning of the header area H1, and adds the PJL command corresponding to the print parameter argv[n] after the UEL. In FIG. 4, "<ESC>%-12345X@PJL" is added as the UEL. The vendor filter VRIP adds the PJL command corresponding to the option specified in the print parameter argv[5] to the header area H1. At this time, if the initial parameter argv[5] has been updated to the updated parameter argv[5] by the processing in S102, the option specified in the updated parameter argv[5] is added as a PJL command.

セキュアプリントがアプリによって指定されている場合には、図4で示すように、ベンダフィルタVRIPは、セキュアプリントを実行させるための印刷パラメータargv[5]を一時記憶しており、ヘッダ領域H1に、PJLコマンド「@PJL SET HOLDKEY=“5345”」を付加する。「@PJL SET HOLDKEY」は、プリンタ200にセキュアプリントを指示するPJLコマンドである。パラメータ「“5345”」は、セキュアプリントで要求されるパスワードを示しており、S102での置き換え処理において、HOLDKEY処理が実行されたことにより、初期パラメータargv[5]に追加されたパラメータである。 When secure printing is specified by the application, as shown in FIG. 4, the vendor filter VRIP temporarily stores the print parameter argv[5] for executing secure printing, and adds the PJL command "@PJL SET HOLDKEY="5345"" to the header area H1. "@PJL SET HOLDKEY" is a PJL command that instructs the printer 200 to perform secure printing. The parameter "5345" indicates the password required for secure printing, and is a parameter added to the initial parameter argv[5] by executing the HOLDKEY process in the replacement process in S102.

ベンダフィルタVRIPは、プリンタ200の出力先のトレイを指定する印刷パラメータargv[5]を一時記憶しており、ヘッダ領域H1に、PJLコマンド「@PJL SET OUTBIN=“AUTO”」を付加する。「@PJL SET OUTBIN」は、プリンタ200に対してシートの出力先のトレイを指定するPJLコマンドである。パラメータ「“AUTO”」は、出力先のトレイを指定するパラメータであり、S102でOUTBIN処理が実行されたことにより、初期パラメータargv[5]に追加されたパラメータである。 The vendor filter VRIP temporarily stores the print parameter argv[5] that specifies the output destination tray of the printer 200, and adds the PJL command "@PJL SET OUTBIN="AUTO"" to the header area H1. "@PJL SET OUTBIN" is a PJL command that specifies the output destination tray for the printer 200. The parameter ""AUTO"" is a parameter that specifies the output destination tray, and is a parameter that was added to the initial parameter argv[5] by executing the OUTBIN process in S102.

これ以外にも、ベンダフィルタVRIPは、プリンタ200の印刷モードを指定する印刷パラメータargv[5]を一時記憶しており、ヘッダ領域H1に、PJLコマンド「@PJL OPTION=”modo=Color”」を付加する。パラメータ「“mode=Color”」は、ベンダフィルタVRIPが、S102で、初期パラメータ[5]の「print-mode=color」から置き換えたパラメータである。ベンダフィルタVRIPは、印刷データPDの文字コードを指定する印刷パラメータargv[5]を一時記憶しており、ヘッダ領域H1に、PJLコマンド「@PJL SET STRINGCODESET=“UTF8”」を付加する。「@PJL SET STRINGCODESET=“UTF8”」は、プリンタ200に対して印刷データPDの文字コードを指定するPJLコマンドである。 In addition, the vendor filter VRIP temporarily stores the print parameter argv[5] that specifies the print mode of the printer 200, and adds the PJL command "@PJL OPTION="modo=Color"" to the header area H1. The parameter "mode=Color" is the parameter that the vendor filter VRIP replaced in S102 with the initial parameter [5] "print-mode=color". The vendor filter VRIP temporarily stores the print parameter argv[5] that specifies the character code of the print data PD, and adds the PJL command "@PJL SET STRINGCODESET="UTF8"" to the header area H1. "@PJL SET STRINGCODESET="UTF8"" is a PJL command that specifies the character code of the print data PD to the printer 200.

このようにベンダフィルタVRIPは、PJLコマンドを印刷データPDに付加することで、例えばセキュアプリントをプリンタ200に実行させることができる。一方で。本実施形態では、標準フィルタSRIP1,SRIP2は、セキュアプリントに対応していない。すなわち、標準フィルタはセキュアプリントの印刷パラメータに対応していない。言い換えると、標準フィルタSRIP1,SRIP2は、セキュアプリントに対応するPJLコマンドを印刷データPDに付加することができないフィルタである。また、出力先のトレイ指定、印刷モードの指定、印刷データの文字コードの指定についても、標準フィルタSRIP1,SRIP2は、それらの印刷パラメータに対応していない。本実施形態では、セキュアプリント、出力先のトレイ指定、印刷モードの指定、及び印刷データの文字コードの指定に対応する印刷パラメータargv[5]が、標準フィルタで対応していていない印刷オプションの印刷パラメータの一例である。なお、標準フィルタSRIP1,SRIP2は、標準フィルタが対応する印刷オプションについて、ファイルデータPPDの記述に従って、PJLコマンドを印刷データPDに付加して出力してもよい。なお、この場合、標準フィルタSRIP1、SRIP2から出力された印刷データPDから先頭のUELおよび最後の「EOJ NAME」のコードを削除したうえで、S19の処理をおこなう。 In this way, the vendor filter VRIP can make the printer 200 execute, for example, secure printing by adding a PJL command to the print data PD. On the other hand, in this embodiment, the standard filters SRIP1 and SRIP2 do not support secure printing. That is, the standard filters do not support print parameters for secure printing. In other words, the standard filters SRIP1 and SRIP2 are filters that cannot add PJL commands corresponding to secure printing to the print data PD. In addition, the standard filters SRIP1 and SRIP2 do not support print parameters such as the tray designation of the output destination, the print mode designation, and the character code designation of the print data. In this embodiment, the print parameter argv[5] corresponding to secure printing, the tray designation of the output destination, the print mode designation, and the character code designation of the print data is an example of a print parameter of a print option that is not supported by the standard filter. Note that the standard filters SRIP1 and SRIP2 may add PJL commands to the print data PD and output it according to the description of the file data PPD for the print options supported by the standard filters. In this case, the first UEL and the last "EOJ NAME" code are deleted from the print data PD output from the standard filters SRIP1 and SRIP2, and then processing in S19 is performed.

また、ベンダフィルタVRIPは、ファイルデータPPDに、特定タグTAGが含まれていない場合、標準フィルタが対応していない印刷オプションについて、PJLコマンドを印刷データPDに付加しない。すなわち、ファイルデータPPD内の印刷オプションについての記述が、標準フィルタが対応する印刷オプションに関する記述だけだった場合、印刷データPDには、印刷オプションについて、標準フィルタが付加したPJLだけが付加されていてもよい。 Furthermore, if the file data PPD does not contain a specific tag TAG, the vendor filter VRIP does not add PJL commands to the print data PD for print options that are not supported by the standard filter. In other words, if the description of the print option in the file data PPD is only a description of the print option that is supported by the standard filter, only the PJL added by the standard filter for the print option may be added to the print data PD.

なお、図4の例では、ベンダフィルタVRIPは、印刷データPDがPCLデータであることを指定する印刷パラメータargv[5]を一時記憶しており、PJLコマンド「@PJL SET ENTER LANGUAGE=PCL」をヘッダ領域H1に付加する。「@PJL SET ENTER LANGUAGE」で指定されるパラメータ「PCL」は、初期パラメータargv[5]に含まれるデータ形式である。ベンダフィルタVRIPは、印刷パラメータargv[2]に対応するユーザ情報を指定するPJLコマンド「@PJL SET LOGINUSER=“AAA”」、印刷パラメータargv[3]に対応するジョブ情報を指定するPJLコマンド「@PJL JOB NAME=“Test Page”」を、ヘッダ領域H1に付加する。「@PJL SET LOGINUSER」で指定されるパラメータ「“AAA”」は、ユーザ情報を示し、初期パラメータargv[2]、あるいは初期パラメータargv[2]に対応するユーザを示すユーザ名である。「@PJL JOB NAME」で指定される印刷パラメータ「“CCC”」は、初期パラメータargv[3]に含まれるジョブ名である。ベンダフィルタVRIPは、システム時刻を指定するPJLコマンド「@PJL SET JOBTIME=“BBB”」を付加する。「@PJL SET JOBTIME」で指定される印刷パラメータ「“BBB”」は、ジョブデータJDの送信時間を示し、OS20から取得されるシステム時刻である。 In the example of Figure 4, the vendor filter VRIP temporarily stores the print parameter argv[5] that specifies that the print data PD is PCL data, and adds the PJL command "@PJL SET ENTER LANGUAGE=PCL" to the header area H1. The parameter "PCL" specified by "@PJL SET ENTER LANGUAGE" is the data format included in the initial parameter argv[5]. The vendor filter VRIP adds the PJL command "@PJL SET LOGINUSER="AAA"" that specifies the user information corresponding to the print parameter argv[2], and the PJL command "@PJL JOB NAME="Test Page"" that specifies the job information corresponding to the print parameter argv[3] to the header area H1. The parameter "AAA" specified by "@PJL SET LOGINUSER" indicates user information and is the initial parameter argv[2], or the user name indicating the user corresponding to the initial parameter argv[2]. The print parameter "CCC" specified by "@PJL JOB NAME" is the job name included in the initial parameter argv[3]. The vendor filter VRIP adds the PJL command "@PJL SET JOBTIME="BBB"" which specifies the system time. The print parameter "BBB" specified by "@PJL SET JOBTIME" indicates the transmission time of the job data JD, and is the system time obtained from the OS 20.

図5に戻り、S20では、S19で作成したジョブデータJDをプリンタ200に印刷させるために出力させる出力処理を行う。具体的には、ベンダフィルタVRIPは、通信制御プログラム26にジョブデータJDの出力を指示する。通信制御プログラム26は、通信IF18を制御して、ジョブデータJDをプリンタ200に送信する。 Returning to FIG. 5, in S20, an output process is performed to output the job data JD created in S19 to the printer 200 for printing. Specifically, the vendor filter VRIP instructs the communication control program 26 to output the job data JD. The communication control program 26 controls the communication IF 18 to send the job data JD to the printer 200.

一方、S12に戻り、ファイルデータPPD1内に、標準フィルタSRIPの指定がない場合、S12を否定判定して、S13に進む。S13では、AP40から出力されたコンテンツデータCDをそのまま出力する。S14では、S13で出力したコンテンツデータCDのヘッダ領域H1及びフッタ領域H3に、PJLコマンドを埋め込む。この場合においても、ベンダフィルタVRIPは、セキュアプリント、出力先のトレイ指定、印刷モードの指定、及び印刷データの文字コードの指定に対応する印刷パラメータargv[5]を一時記憶している場合、各印刷パラメータに対応したPJLコマンドを、ヘッダ領域H1に付加する。S20では、PJLコマンドを付加したコンテンツデータCDをプリンタ200に出力させるために出力させる出力処理を行う。S20を終了すると、図5の処理を終了する。通常CUPS25はPPDによってフィルタに入力されるデータ形式を選ぶことができる。PPDにより入力データ形式をPSとすれば、セキュアプリントを行うためのPJLが不可されたPSデータを得ることができる。このデータはセキュアプリントに対応したPSプリンタで印字することができる。 On the other hand, returning to S12, if the standard filter SRIP is not specified in the file data PPD1, S12 is judged as negative and the process proceeds to S13. In S13, the content data CD output from the AP 40 is output as is. In S14, PJL commands are embedded in the header area H1 and footer area H3 of the content data CD output in S13. Even in this case, if the vendor filter VRIP temporarily stores print parameters argv[5] corresponding to secure printing, output tray designation, print mode designation, and print data character code designation, it adds PJL commands corresponding to each print parameter to the header area H1. In S20, output processing is performed to output the content data CD to which the PJL commands have been added so that the printer 200 can output the content data CD. When S20 is completed, the process of FIG. 5 is completed. Normally, the CUPS 25 can select the data format to be input to the filter by the PPD. If the input data format is set to PS by the PPD, PS data to which PJL for secure printing has been disabled can be obtained. This data can be printed using a PS printer that supports secure printing.

本実施形態では、CPU11が実行するS10~S19までの処理が、印刷データ取得処理、及び印刷データ取得部の一例であり、S20が、出力処理、及び出力部の一例である。CPU11が実行するS15~S17までの処理が指示処理の一例であり、S18が取得処理の一例である。CPU11が実行するS10の処理が、パラメータ取得処理の一例であり、S19が、付加処理の一例である。 In this embodiment, the processes from S10 to S19 executed by the CPU 11 are an example of a print data acquisition process and a print data acquisition section, and S20 is an example of an output process and an output section. The processes from S15 to S17 executed by the CPU 11 are an example of an instruction process, and S18 is an example of an acquisition process. The process of S10 executed by the CPU 11 is an example of a parameter acquisition process, and S19 is an example of an additional process.

以上説明した本実施形態では、以下の効果を奏することができる。
OS20は、AP40から印刷を指示されたコンテンツデータCDを印刷データPDに変換させるための変換指示を、指定フィルタに行い、OS20は、AP20によりベンダフィルタVRIPが指定フィルタとして指定されている場合に、変換指示を指定フィルタに行う。CPU11は、AP40によるコンテンツデータCDの印刷の指示に基づき、OS20から変換指示を受け付けた場合に、標準フィルタにコンテンツデータCDを印刷データPDに変換させ、標準フィルタから出力された印刷データPDを取得し、印刷データPDをプリンタ200に印刷させるために出力する。これにより、ベンダフィルタVRIPを指定したコンテンツデータCDの印刷データPDへの変換において、標準フィルタを用いて印刷データPDの変換を行うことができるため、印刷データを適正にプリンタに出力させることができる。
The present embodiment described above can provide the following advantages.
The OS 20 issues a conversion instruction to the designated filter to convert the content data CD instructed to be printed by the AP 40 into print data PD, and when the vendor filter VRIP is designated as the designated filter by the AP 20, the OS 20 issues the conversion instruction to the designated filter. When the CPU 11 receives a conversion instruction from the OS 20 based on an instruction to print the content data CD by the AP 40, the CPU 11 causes the standard filter to convert the content data CD into print data PD, acquires the print data PD output from the standard filter, and outputs the print data PD to the printer 200 to print it. As a result, in converting the content data CD instructed to use the vendor filter VRIP into print data PD, the print data PD can be converted using the standard filter, and the print data can be output to the printer appropriately.

・CPU11は、ファイルデータPPDを解析することで特定情報を抽出し、抽出した特定情報により特定フィルタである標準フィルタを特定する。CPU11は、特定フィルタにコンテンツデータCDを印刷データPDに変換させる指示を行い、特定フィルタが出力した印刷データPDを取得する。CPU11は、特定フィルタとして標準フィルタが特定された場合に、標準フィルタにコンテンツデータCDを印刷データPDに変換させ、標準フィルタが出力した印刷データPDを取得する。これにより、標準フィルタを用いて印刷データPDの変換を行うことができる。 - The CPU 11 extracts specific information by analyzing the file data PPD, and identifies the standard filter, which is the specific filter, based on the extracted specific information. The CPU 11 instructs the specific filter to convert the content data CD into print data PD, and acquires the print data PD output by the specific filter. When the standard filter is identified as the specific filter, the CPU 11 has the standard filter convert the content data CD into print data PD, and acquires the print data PD output by the standard filter. This makes it possible to convert the print data PD using the standard filter.

・CPU11は、OS20が備える複数の標準フィルタの中からいずれの標準フィルタを特定フィルタとして特定するための特定情報を、選択されたファイルデータPPDから抽出した場合に、特定情報に基づいて、複数の標準フィルタの中から特定フィルタを特定する。これにより、OS20が複数の標準ファイルを備えている場合でも、特定フィルタを一意に特定することができる。 - When the CPU 11 extracts specific information for identifying a standard filter from among the multiple standard filters provided by the OS 20 as a specific filter from the selected file data PPD, the CPU 11 identifies the specific filter from among the multiple standard filters based on the specific information. This makes it possible to uniquely identify the specific filter even if the OS 20 has multiple standard files.

・CPU11は、AP40から出力された印刷パラメータを取得し、取得された印刷パラメータに特定フィルタが対応していない印刷オプションが含まれている場合に、特定フィルタから出力された印刷データPDに、特定フィルタが対応していない印刷オプションをプリンタに実行させるPJLコマンドを付加する。これにより、AP40から出力される印刷パラメータに、特定フィルタが対応していない印刷オプションが含まれている場合でも、特定フィルタから出力された印刷データPDに印刷オプションを実行させるためのPJLコマンドが付加される。これにより、標準フィルタ用いて、コンテンツデータCDを印刷データPDに変換する際に、標準フィルタが対応していない印刷オプションをプリンタの印刷に適用させることができる。 - The CPU 11 acquires the print parameters output from the AP 40, and if the acquired print parameters include a print option that is not supported by the specific filter, it adds a PJL command to the print data PD output from the specific filter to cause the printer to execute the print option that is not supported by the specific filter. As a result, even if the print parameters output from the AP 40 include a print option that is not supported by the specific filter, a PJL command to cause the printer to execute the print option is added to the print data PD output from the specific filter. As a result, when the content data CD is converted to print data PD using the standard filter, the print option that is not supported by the standard filter can be applied to the printer's printing.

・CPU11は、特定フィルタが出力した印刷データPDから、プリンタが解釈可能なPJLコマンドを付加可能なヘッダ領域H1を特定し、特定したヘッダ領域H1にPJLコマンドを付加する。これにより、標準フィルタが対応していない印刷オプションのPJLコマンドを付加すべき領域を、プリンタが解釈可能なPJLコマンドが付加される領域に合わせることができる。 - The CPU 11 identifies a header area H1 from the print data PD output by the specific filter to which a PJL command that can be interpreted by the printer can be added, and adds the PJL command to the identified header area H1. This makes it possible to match the area to which the PJL command of a print option that is not supported by the standard filter should be added to an area to which a PJL command that can be interpreted by the printer is added.

・CPU11は、セキュアプリントを指定する印刷パラメータが全ての標準フィルタSRIP1,SRIP2に対応していない印刷パラメータである場合、コンテンツデータCDにセキュアプリントを指定するPJLコマンドを付加し、PJLコマンドが付加されたコンテンツデータCDを、プリンタに出力する。これにより、OS20の全ての標準フィルタに対応していない印刷オプションであっても、コンテンツデータをプリンタに出力することができる。 -If the print parameters specifying secure printing are print parameters that are not compatible with any of the standard filters SRIP1 and SRIP2, the CPU 11 adds a PJL command specifying secure printing to the content data CD, and outputs the content data CD with the PJL command added to the printer. This allows the content data to be output to the printer even if the print option is not compatible with any of the standard filters of the OS 20.

・CPU11は、プリンタ200が、印刷データPDに基づいて印刷を行うプリンタである場合に、特定フィルタから出力された印刷データPDに標準フィルタが対応していない印刷オプションを指示するPJLコマンドを付加し、プリンタ200が、コンテンツデータCDに基づいて印刷を行うプリンタである場合、コンテンツデータCDに標準フィルタが対応していない印刷オプションを指示するPJLコマンドを付加する。CPU11は、PJLコマンドが付加された印刷データPD、又はPJLコマンドが付加されたコンテンツデータCDを、プリンタに出力する。これにより、コンテンツデータCDを印刷するプリンタに対しても、AP40により指定された印刷オプションを実行させることができる。 - When printer 200 is a printer that prints based on print data PD, CPU 11 adds a PJL command to print data PD output from a specific filter, specifying a print option that is not supported by the standard filter, and when printer 200 is a printer that prints based on content data CD, CPU 11 adds a PJL command to content data CD, specifying a print option that is not supported by the standard filter. CPU 11 outputs print data PD with the PJL command added, or content data CD with the PJL command added, to the printer. This makes it possible to cause the printer that prints content data CD to execute the print option specified by AP 40.

(第2実施形態)
第2実施形態では、第1実施形態と異なる構成を主に説明を行う。なお、第2実施形態において第1実施形態と同一の符号を付した箇所は、同一の箇所を意味し、その説明を繰り返さない。
Second Embodiment
In the second embodiment, the configuration different from the first embodiment will be mainly described. Note that in the second embodiment, the same reference numerals as in the first embodiment denote the same parts, and the description thereof will not be repeated.

第1実施形態では、ファイルデータPPD1には、標準フィルタを固有に識別する特定情報が記述されていた。これに代えて、本実施形態では、ファイルデータPPD1には、特定情報として、標準フィルタのバージョンを示すバージョン情報が記述されている。 In the first embodiment, the file data PPD1 describes specific information that uniquely identifies the standard filter. Instead, in this embodiment, the file data PPD1 describes version information that indicates the version of the standard filter as the specific information.

図9に示すように、ファイルデータPPD1には、特定情報を抽出するためのスクリプトSC2が記述されている。ベンダフィルタVRIPは、S32で、コード内の特定タグTAG「*%wrapper-rip」が含まれていることを判断し、S33で、コード内にラベルLAB「subfilter」が含まれていることを判断した場合に、S34で、スクリプトSC2を実行する。ベンダフィルタVRIPは、スクリプトSC2を実行することにより、標準フィルタのバージョンが、「Ver.1.00」であることを示すバージョン情報「ver-gt 1.00」を特定情報として抽出する。ベンダフィルタVRIPは、図8のS103において、標準フィルタSRIP1のバージョンが、「Ver 1.00」である場合に、標準フィルタSRIP1を特定フィルタに特定する。一方、標準フィルタSRIP1のバージョンが、「Ver 1.00」でなければ、標準フィルタSRIP2を特定フィルタに特定する。例えば、ベンダフィルタVRIPは、標準フィルタのバージョン情報をOS20に要求することにより取得する。 As shown in FIG. 9, the file data PPD1 describes a script SC2 for extracting specific information. The vendor filter VRIP determines in S32 that the code contains a specific tag TAG "*% wrapper-rip" and, if it determines in S33 that the code contains a label LAB "subfilter", executes the script SC2 in S34. By executing the script SC2, the vendor filter VRIP extracts the version information "ver-gt 1.00" indicating that the version of the standard filter is "Ver. 1.00" as specific information. In S103 of FIG. 8, if the version of the standard filter SRIP1 is "Ver 1.00", the vendor filter VRIP identifies the standard filter SRIP1 as a specific filter. On the other hand, if the version of the standard filter SRIP1 is not "Ver 1.00", it identifies the standard filter SRIP2 as a specific filter. For example, the vendor filter VRIP obtains version information of the standard filter by requesting it from OS20.

以上説明した本実施形態では、CPU11は、特定情報として、標準フィルタのバージョンを示すバージョン情報をファイルデータPPD1から抽出した場合に、複数の標準フィルタの中から、バージョン情報が示すバージョンの標準フィルタを、特定フィルタとして特定する。これにより、例えば、ファイルデータPPD内で、バージョン情報を再新のものに設定しておくことにより、標準フィルタのうち、最新のバージョンのフィルタを優先的に使用して、コンテンツデータCDを印刷データPDに変換させることができる。 In the present embodiment described above, when the CPU 11 extracts version information indicating the version of the standard filter from the file data PPD1 as the specific information, it identifies the standard filter of the version indicated by the version information from among the multiple standard filters as the specific filter. As a result, for example, by setting the version information to the most recent version in the file data PPD, it is possible to preferentially use the most recent version of the standard filters to convert the content data CD into the print data PD.

(第3実施形態)
第3実施形態では、第1実施形態と異なる構成を主に説明を行う。なお、第3実施形態において第1実施形態と同一の符号を付した箇所は、同一の箇所を意味し、その説明を繰り返さない。
Third Embodiment
In the third embodiment, the configuration different from the first embodiment will be mainly described. Note that in the third embodiment, the same reference numerals as in the first embodiment denote the same parts, and the description thereof will not be repeated.

第1実施形態では、ファイルデータPPD1には、標準フィルタを固有に識別する特定情報が記述されていた。これに代えて、本実施形態では、ファイルデータPPD1には、特定情報として、ログインユーザを示すユーザ情報が記述されている。 In the first embodiment, the file data PPD1 contains specific information that uniquely identifies the standard filter. Instead, in this embodiment, the file data PPD1 contains user information that indicates the logged-in user as the specific information.

図11に示すように、ファイルデータPPD1には、特定情報を抽出するためのスクリプトSC3が記述されている。ベンダフィルタVRIPは、S32で、コード内の特定タグTAG「*%wrapper-rip」が含まれていることを判断し、S33で、コード内にラベルLAB「subfilter」が含まれていることを判断した場合に、S34で、スクリプトSC2を実行する。ベンダフィルタVRIPは、スクリプトSC2を実行することにより、情報処理装置100のログインユーザを示すユーザ情報「guest」を特定情報として抽出する。ベンダフィルタVRIPは、印刷パラメータargv[2]をユーザ情報として用いる。これ以外にも、ベンダフィルタVRIPは、OS20にユーザ情報を要求して、取得してもよい。ベンダフィルタVRIPは、図8のS103において、ログインユーザが「guest」である場合、すなわち、ログインユーザが特定されていない場合に、モノクロ印刷用の標準フィルタSRIP3(「monochrome-rip」)を、特定フィルタに特定する。一方、ログインユーザ「guest」でなければ、すなわち、特定のユーザが特定されている場合に、カラー印刷用の標準フィルタSRIP4(「color-rip2」)を、特定フィルタに特定する。なお、標準フィルタSRIP3,SRIP4は、OSの標準フィルタである。 As shown in FIG. 11, the file data PPD1 describes a script SC3 for extracting specific information. The vendor filter VRIP determines in S32 that the code contains a specific tag TAG "*% wrapper-rip", and if it determines in S33 that the code contains a label LAB "subfilter", it executes script SC2 in S34. By executing script SC2, the vendor filter VRIP extracts user information "guest" indicating the logged-in user of the information processing device 100 as specific information. The vendor filter VRIP uses the print parameter argv[2] as the user information. Alternatively, the vendor filter VRIP may request and obtain user information from OS 20. In S103 of FIG. 8, if the logged-in user is a "guest", that is, if a logged-in user has not been specified, the vendor filter VRIP specifies the standard filter SRIP3 for monochrome printing ("monochrome-rip") as the specified filter. On the other hand, if the logged-in user is not a "guest", that is, if a specific user has been specified, the vendor filter VRIP specifies the standard filter SRIP4 for color printing ("color-rip2") as the specified filter. Note that the standard filters SRIP3 and SRIP4 are standard filters for the OS.

以上説明した本実施形態では、CPU11は、特定情報として、ユーザ情報をファイルデータPPDから抽出した場合に、複数の標準フィルタの中から、ユーザ情報が示すユーザに対応する標準フィルタを、特定フィルタとして特定する。これにより、情報処理装置100のログインユーザに応じて、コンテンツデータCDの印刷に用いる標準フィルタを使い分けることができる。 In the present embodiment described above, when the CPU 11 extracts user information from the file data PPD as specific information, it identifies, from among a plurality of standard filters, a standard filter corresponding to the user indicated by the user information as the specific filter. This makes it possible to use different standard filters for printing the content data CD depending on the logged-in user of the information processing device 100.

(その他の実施形態)
本実施形態は、その要旨を変更しない範囲で様々な変形例が存在する。
・上述した実施形態では、AP40は、ファイルデータPPDを参照させることにより、OS20に対して標準フィルタSRIPの指定を行った。これに代えて、AP40は、OS20に、標準フィルタSRIPを直接、指定してもよい。
Other Embodiments
There are various modifications of this embodiment without departing from the spirit of the present invention.
In the above embodiment, the AP 40 refers to the file data PPD to specify the standard filter SRIP to the OS 20. Alternatively, the AP 40 may specify the standard filter SRIP directly to the OS 20.

・OS20は、ベンダフィルタVRIPを情報処理装置100にインストールする際に、標準フィルタを指定するファイルデータPPDを、ベンダフィルタVRIPの指定を含む印刷パラメータが記述されたPPDに書き換えてしまってもよい。 -When installing the vendor filter VRIP in the information processing device 100, the OS 20 may rewrite the file data PPD that specifies the standard filter to a PPD that describes printing parameters including the specification of the vendor filter VRIP.

ファイルデータPPDに記述されたコード内のラベルLAB「subfilter」に続けて、非標準のフィルタを特定する記述がされていてもよい。AP40がこのファイルデータPPDを選択した場合、ベンダフィルタVRIPは、コンテンツデータCDから印刷データPDへの変換を、非標準のフィルタに指示してもよい。 The label LAB "subfilter" in the code written in the file data PPD may be followed by a description that identifies a non-standard filter. When AP40 selects this file data PPD, the vendor filter VRIP may instruct the non-standard filter to convert the content data CD to print data PD.

100…情報処理装置、11…CPU、20…OS、40…アプリケーション、SRIP1,SRIP2…標準フィルタ 100...information processing device, 11...CPU, 20...OS, 40...application, SRIP1, SRIP2...standard filter

Claims (16)

情報処理装置のコンピュータが実行可能な拡張プログラムであって、前記情報処理装置には、OS上で動作する印刷プログラムと、アプリケーションと、が動作し、前記アプリケーションは、指定フィルタを指定して、コンテンツデータの印刷を前記OS上で動作する印刷プログラムに指示し、前記指定フィルタは、前記コンテンツデータを印刷データに変換するためのフィルタであり、前記印刷プログラムは、前記フィルタを備えており、前記OS上で動作する印刷プログラムは、前記アプリケーションから印刷を指示された前記コンテンツデータを印刷データに変換させるための変換指示を、前記アプリケーションにより指定された前記指定フィルタに行い、前記OS上で動作する印刷プログラムは、前記拡張プログラムが前記指定フィルタとして指定されている場合に、変換指示を前記拡張プログラムに行い、
前記コンピュータに、
前記アプリケーションによる前記コンテンツデータの印刷の指示に基づき、前記OS上で動作する印刷プログラムから前記変換指示を受け付けた場合に、前記OS上で動作する印刷プログラムが備えるフィルタに前記コンテンツデータを前記印刷データに変換させ、前記OS上で動作する印刷プログラムが備えるフィルタから出力された前記印刷データを取得する印刷データ取得処理と、
前記印刷データをプリンタに印刷させるために出力する出力処理と、
を実行させる拡張プログラム。
An extension program executable by a computer of an information processing device, wherein a print program and an application running on an OS run on the information processing device, the application designates a designated filter and instructs the print program running on the OS to print content data, the designated filter being a filter for converting the content data into print data, the print program being provided with the filter, the print program running on the OS issues a conversion instruction to the designated filter designated by the application for converting the content data instructed to be printed by the application into print data, and the print program running on the OS issues a conversion instruction to the extension program when the extension program is designated as the designated filter,
The computer includes:
a print data acquisition process for, when receiving the conversion instruction from a print program running on the OS based on an instruction to print the content data by the application, converting the content data into the print data using a filter included in the print program running on the OS, and acquiring the print data output from the filter included in the print program running on the OS;
an output process for outputting the print data to a printer for printing;
An extension program that runs
前記印刷データ取得処理は、
選択ファイルデータを解析することで特定情報を抽出する抽出処理と、前記特定情報を用いて特定フィルタを特定する特定処理と、前記特定フィルタにコンテンツデータを印刷データに変換させる指示を行う指示処理と、前記指示処理による指示に応じて前記特定フィルタが出力した印刷データを取得する取得処理と、を含み、前記選択ファイルデータは、前記アプリケーションが前記OS上で動作する印刷プログラムに前記コンテンツデータの印刷を指示する際に選択したファイルデータであって、前記選択ファイルデータには、前記OS上で動作する印刷プログラムに対して前記拡張プログラムを前記指定フィルタとして指定する情報が含まれており、前記選択ファイルデータには、前記特定情報が含まれており、前記特定情報は、前記拡張プログラムが前記特定フィルタを特定するために用いる情報であり、
前記指示処理では、
前記特定処理によって、前記特定フィルタとして前記OS上で動作する印刷プログラムが備えるフィルタが特定された場合に、前記OS上で動作する印刷プログラムが備えるフィルタに前記コンテンツデータを前記印刷データに変換させ、
前記取得処理では、
前記指示処理によって指示された前記OS上で動作する印刷プログラムが備えるフィルタが出力した前記印刷データを取得する請求項1に記載の拡張プログラム。
The print data acquisition process includes:
the method includes an extraction process for extracting specific information by analyzing selected file data, a specific process for identifying a specific filter using the specific information, an instruction process for instructing the specific filter to convert content data into print data, and an acquisition process for acquiring the print data output by the specific filter in response to an instruction from the instruction process, wherein the selected file data is file data selected by the application when instructing a print program running on the OS to print the content data, the selected file data includes information for designating the extension program as the designated filter for the print program running on the OS, the selected file data includes the specific information, and the specific information is information used by the extension program to identify the specific filter,
In the instruction process,
When a filter included in a print program running on the OS is identified as the specific filter by the identification process, the content data is converted into the print data by the filter included in the print program running on the OS;
In the acquisition process,
The extension program according to claim 1 , further comprising: acquiring the print data output by a filter included in a print program that runs on the OS and is instructed by the instruction process.
情報処理装置のコンピュータが実行可能な拡張プログラムであって、前記情報処理装置には、OS上で動作する印刷プログラムと、アプリケーションと、が動作し、前記アプリケーションは、印刷パラメータを指定して、コンテンツデータの印刷を前記印刷プログラムに指示し、前記OS上で動作する印刷プログラムは、フィルタを備えており、前記アプリケーションから印刷を指示された前記コンテンツデータを印刷データに変換させるための変換指示を前記フィルタに行い、
前記コンピュータに、
前記アプリケーションによる前記OS上で動作する印刷プログラムが備えるフィルタで対応していない前記印刷パラメータを指定した前記コンテンツデータの印刷の指示に基づき、前記OS上で動作する印刷プログラムから前記変換指示を受け付けた場合に、前記OS上で動作する印刷プログラムが備えるフィルタに前記コンテンツデータを前記印刷データに変換させ、前記OS上で動作する印刷プログラムが備えるフィルタから出力された前記印刷データを取得する印刷データ取得処理と、
前記印刷データをプリンタに印刷させるために出力する出力処理と、
を実行させる拡張プログラム。
An extension program executable by a computer of an information processing device, wherein a print program and an application running on an OS run on the information processing device, the application designates print parameters and instructs the print program to print content data, the print program running on the OS includes a filter, and issues a conversion instruction to the filter for converting the content data instructed to be printed by the application into print data,
The computer includes:
a print data acquisition process for, when the conversion instruction is received from a print program running on the OS based on an instruction by the application to print the content data specifying the print parameters that are not supported by a filter provided in the print program running on the OS, converting the content data into the print data using a filter provided in the print program running on the OS and acquiring the print data output from the filter provided in the print program running on the OS;
an output process for outputting the print data to a printer for printing;
An extension program that runs
前記アプリケーションは、前記OS上で動作する印刷プログラムに対して、前記印刷パラメータを指定する情報を含んだファイルデータを指定することにより、前記コンテンツデータの印刷を指示し、
前記印刷データ取得処理では、
選択ファイルデータを解析することで特定情報を抽出する抽出処理と、前記特定情報を用いて特定フィルタを特定する特定処理と、前記特定フィルタに前記コンテンツデータを前記印刷データに変換させる指示を行う指示処理と、前記指示処理による指示に応じて前記特定フィルタが出力した前記印刷データを取得する取得処理と、を含み、前記選択ファイルデータは、前記アプリケーションが前記OS上で動作する印刷プログラムに前記コンテンツデータの印刷を指示する際に選択した前記ファイルデータであって、前記選択ファイルデータには、前記OS上で動作する印刷プログラムに対して前記印刷パラメータを指定する情報が含まれており、前記選択ファイルデータには、前記特定情報が含まれており、前記特定情報は、前記拡張プログラムが前記特定フィルタを特定するために用いる情報であり、
前記指示処理では、
前記特定処理によって、前記特定フィルタとして前記OS上で動作する印刷プログラムが備えるフィルタが特定された場合に、前記OS上で動作する印刷プログラムが備えるフィルタに前記コンテンツデータを前記印刷データに変換させ、
前記取得処理では、
前記指示処理によって指示された前記OS上で動作する印刷プログラムが備えるフィルタが出力した印刷データを取得する請求項3に記載の拡張プログラム。
the application instructs a print program running on the OS to print the content data by specifying file data including information specifying the print parameters;
In the print data acquisition process,
the method includes an extraction process for extracting specific information by analyzing selected file data, a specific process for identifying a specific filter using the specific information, an instruction process for instructing the specific filter to convert the content data into the print data, and an acquisition process for acquiring the print data output by the specific filter in response to an instruction from the instruction process, wherein the selected file data is the file data selected when the application instructs a print program running on the OS to print the content data, the selected file data includes information for specifying the print parameters for the print program running on the OS, and the selected file data includes the specific information, and the specific information is information used by the extension program to identify the specific filter,
In the instruction process,
When a filter included in a print program running on the OS is identified as the specific filter by the identification process, the content data is converted into the print data by the filter included in the print program running on the OS;
In the acquisition process,
The extension program according to claim 3 , further comprising: acquiring print data output by a filter included in a print program that runs on the OS and is instructed by the instruction process.
前記OS上で動作する印刷プログラムは、前記OS上で動作する印刷プログラムが備える複数の標準フィルタを備えており、
前記抽出処理で、前記複数の標準フィルタの中からいずれの標準フィルタに前記コンテンツデータを印刷データに変換させるか特定するための情報を、前記選択ファイルデータから前記特定情報として抽出した場合に、前記特定処理では、前記抽出処理によって抽出された前記特定情報に基づいて、前記複数の標準フィルタの中からいずれの標準フィルタを前記特定フィルタとして前記コンテンツデータを印刷データに変換させるか特定する請求項2又は4に記載の拡張プログラム。
The print program that runs on the OS includes a plurality of standard filters that the print program that runs on the OS includes,
An expansion program as described in claim 2 or 4, wherein, in the extraction process, when information for identifying which of the plurality of standard filters is to be used to convert the content data into print data is extracted as the specific information from the selected file data, the identification process identifies, based on the specific information extracted by the extraction process, which of the plurality of standard filters is to be used as the specific filter to convert the content data into print data.
前記抽出処理で、前記特定情報として、前記OS上で動作する印刷プログラムが備える標準フィルタの識別情報を前記選択ファイルデータから抽出した場合に、前記特定処理では、前記複数の標準フィルタの中から、前記識別情報が示す前記OS上で動作する印刷プログラムが備える標準フィルタを、前記特定フィルタとして特定する請求項5に記載の拡張プログラム。 An extension program as described in claim 5, wherein, in the extraction process, when identification information of a standard filter provided by a printing program running on the OS is extracted from the selected file data as the specific information, the identification process identifies, from among the multiple standard filters, the standard filter provided by the printing program running on the OS indicated by the identification information as the specific filter. 前記抽出処理で、前記特定情報として、前記OS上で動作する印刷プログラムが備える標準フィルタのバージョンを示すバージョン情報を前記選択ファイルデータから抽出した場合に、前記特定処理では、前記複数の標準フィルタの中から、前記バージョン情報が示すバージョンである前記OS上で動作する印刷プログラムが備える標準フィルタを、前記特定フィルタとして特定する請求項5に記載の拡張プログラム。 An extension program as described in claim 5, wherein, in the extraction process, when version information indicating the version of a standard filter provided by a printing program running on the OS is extracted from the selected file data as the specific information, the identification process identifies, from among the multiple standard filters, a standard filter provided by a printing program running on the OS whose version is indicated by the version information as the specific filter. 前記抽出処理で、前記特定情報として、ログインユーザを示すユーザ情報を前記選択ファイルデータから抽出した場合に、
前記特定処理では、前記複数の標準フィルタの中から、前記ユーザ情報が示すユーザに対応する前記OS上で動作する印刷プログラムが備える標準フィルタを、前記特定フィルタとして特定する請求項5に記載の拡張プログラム。
In the extraction process, when user information indicating a login user is extracted from the selected file data as the specific information,
6. The expansion program according to claim 5, wherein in the identification process, a standard filter included in a print program that runs on the OS and that corresponds to a user indicated by the user information is identified as the identified filter from among the plurality of standard filters.
前記コンピュータに、
前記アプリケーションにより指定された印刷パラメータを取得するパラメータ取得処理を実行させ、
前記印刷データ取得処理では、取得された前記印刷パラメータに前記特定フィルタが対応していない印刷オプションが含まれている場合に、前記特定フィルタから出力された前記印刷データに、前記特定フィルタが対応していない前記印刷オプションをプリンタに実行させるコマンドデータである付加コマンドを付加する付加処理を含む請求項2又は4に記載の拡張プログラム。
The computer includes:
Executing a parameter acquisition process to acquire print parameters designated by the application;
The expansion program according to claim 2 or 4, wherein the print data acquisition process includes an additional process of adding an additional command, which is command data for causing a printer to execute the print option that is not supported by the specific filter, to the print data output from the specific filter when the acquired print parameters include a print option that is not supported by the specific filter.
前記付加処理では、前記特定フィルタが出力した前記印刷データから、プリンタが解釈可能なコマンドデータを付加可能な領域を特定し、特定した前記領域に前記付加コマンドを付加する請求項9に記載の拡張プログラム。 The expansion program according to claim 9, wherein the addition process identifies an area in the print data output by the specific filter to which command data that can be interpreted by the printer can be added, and adds the additional command to the identified area. 前記付加処理では、前記印刷パラメータが全ての前記OS上で動作する印刷プログラムが備えるフィルタに対応していないパラメータである場合、前記コンテンツデータに前記付加コマンドを付加し、
前記出力処理では、前記付加コマンドが付加された前記コンテンツデータを、プリンタに出力する請求項9又は10に記載の拡張プログラム。
In the addition process, if the print parameters are parameters that are not compatible with filters included in all print programs that run on the OS, the addition command is added to the content data;
11. The expansion program according to claim 9, wherein in the output process, the content data to which the additional command has been added is output to a printer.
前記付加処理では、
前記印刷データの出力先のプリンタが、前記印刷データに基づいて印刷を行うプリンタである場合に、前記特定フィルタから出力された前記印刷データに前記付加コマンドを付加し、
前記印刷データの出力先のプリンタが、前記コンテンツデータに基づいて印刷を行うプリンタである場合、前記コンテンツデータに前記付加コマンドを付加し、
前記出力処理では、前記付加コマンドが付加された印刷データ、又は前記付加コマンドが付加された前記コンテンツデータを、プリンタに出力する請求項9又は10に記載の拡張プログラム。
In the additional processing,
When the printer to which the print data is output is a printer that performs printing based on the print data, the additional command is added to the print data output from the specific filter;
When the printer to which the print data is to be output is a printer that performs printing based on the content data, the additional command is added to the content data;
11. The expansion program according to claim 9, wherein in the output process, the print data to which the additional command has been added or the content data to which the additional command has been added is output to a printer.
前記付加処理では、
前記印刷データの出力先のプリンタが、前記フィルタを特定する場合に、前記特定フィルタから出力された前記印刷データに前記付加コマンドを付加し、
前記印刷データの出力先のプリンタが、前記フィルタを特定しない場合に、前記コンテンツデータに前記付加コマンドを付加し、
前記出力処理では、前記付加コマンドが付加された印刷データ、又は前記付加コマンドが付加された前記コンテンツデータを、プリンタに出力する請求項9又は10に記載の拡張プログラム。
In the additional processing,
When the printer to which the print data is output specifies the filter, the additional command is added to the print data output from the specified filter;
When the printer to which the print data is to be output does not specify the filter, the additional command is added to the content data;
11. The expansion program according to claim 9, wherein in the output process, the print data to which the additional command has been added or the content data to which the additional command has been added is output to a printer.
前記付加処理では、前記印刷オプションにセキュアプリントの実行を指定する印刷オプションが含まれていた場合に、前記セキュアプリントで用いるユーザ情報及びジョブ情報を前記付加コマンドとして前記印刷データに付加し、前記セキュアプリントは、前記アプリケーションにより、ユーザを識別するユーザ情報、及び印刷ジョブを識別するジョブ情報を前記印刷パラメータとして前記OS上で動作する印刷プログラムに指定し、プリンタにより、前記ユーザ情報及び前記ジョブ情報が含まれている前記印刷データを受信した場合に、前記ユーザ情報に対応する操作を受付けたことを条件に前記印刷データを印刷するというプリント方式である請求項9~13のいずれか一項に記載の拡張プログラム。 The extension program according to any one of claims 9 to 13, which is a printing method in which, in the addition process, if the print options include a print option that specifies execution of secure printing, user information and job information used in the secure printing are added to the print data as the addition command, and the secure printing is specified by the application as print parameters to a print program running on the OS, and when the printer receives the print data including the user information and the job information, the printer prints the print data on the condition that an operation corresponding to the user information is accepted. OS上で動作する印刷プログラムと、アプリケーションと、拡張プログラムと、が動作する情報処理装置であって、前記アプリケーションは、指定フィルタを指定して、コンテンツデータの印刷を前記OS上で動作する印刷プログラムに指示し、前記指定フィルタは、前記コンテンツデータを印刷データに変換するためのフィルタであり、前記印刷プログラムは、前記フィルタを備えており、前記OS上で動作する印刷プログラムは、前記アプリケーションから印刷を指示された前記コンテンツデータを印刷データに変換させるための変換指示を、前記アプリケーションにより指定された前記指定フィルタに行い、前記OS上で動作する印刷プログラムは、前記拡張プログラムが前記指定フィルタとして指定されている場合に、変換指示を前記拡張プログラムに行い、
前記アプリケーションによる前記コンテンツデータの印刷の指示に基づき、前記OS上で動作する印刷プログラムから前記変換指示を受け付けた場合に、前記OS上で動作する印刷プログラムが備えるフィルタに前記コンテンツデータを前記印刷データに変換させ、前記OS上で動作する印刷プログラムが備えるフィルタから出力された前記印刷データを取得する印刷データ取得部と、
前記印刷データをプリンタに印刷させるために出力する出力部と、
を備える情報処理装置。
An information processing device in which a print program, an application, and an extension program that run on an OS run, the application designates a designated filter and instructs the print program running on the OS to print content data, the designated filter being a filter for converting the content data into print data, the print program being provided with the filter, the print program running on the OS issues a conversion instruction to the designated filter designated by the application for converting the content data instructed to be printed by the application into print data, and the print program running on the OS issues a conversion instruction to the extension program when the extension program is designated as the designated filter,
a print data acquisition unit that, when receiving the conversion instruction from a print program running on the OS based on an instruction to print the content data by the application, converts the content data into the print data using a filter included in the print program running on the OS, and acquires the print data output from the filter included in the print program running on the OS;
an output unit that outputs the print data to a printer for printing;
An information processing device comprising:
OS上で動作するプログラムと、アプリケーションと、が動作する情報処理装置であって、前記アプリケーションは、印刷パラメータを指定して、コンテンツデータの印刷を前記OS上で動作する印刷プログラムに指示し、前記OS上で動作する印刷プログラムは、フィルタを備えており、前記アプリケーションから印刷を指示された前記コンテンツデータを印刷データに変換させるための変換指示を前記フィルタに行い、
前記アプリケーションによる前記OS上で動作する印刷プログラムが備えるフィルタで対応していない前記印刷パラメータを指定した前記コンテンツデータの印刷の指示に基づき、前記OS上で動作する印刷プログラムから前記変換指示を受け付けた場合に、前記OS上で動作する印刷プログラムが備えるフィルタに前記コンテンツデータを前記印刷データに変換させ、前記OS上で動作する印刷プログラムが備えるフィルタから出力された前記印刷データを取得する印刷データ取得部と、
前記印刷データをプリンタに印刷させるために出力する出力部と、
を備える情報処理装置。
An information processing device in which a program running on an OS and an application run, the application designating print parameters and instructing a print program running on the OS to print content data, the print program running on the OS including a filter, and issuing a conversion instruction to the filter for converting the content data instructed to be printed by the application into print data;
a print data acquisition unit that, when receiving a conversion instruction from a print program running on the OS based on an instruction from the application to print the content data specifying the print parameters that are not supported by a filter included in the print program running on the OS, converts the content data into the print data using a filter included in the print program running on the OS and acquires the print data output from the filter included in the print program running on the OS;
an output unit that outputs the print data to a printer for printing;
An information processing device comprising:
JP2020067845A 2020-04-03 2020-04-03 Program, information processing device Active JP7524585B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020067845A JP7524585B2 (en) 2020-04-03 2020-04-03 Program, information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020067845A JP7524585B2 (en) 2020-04-03 2020-04-03 Program, information processing device

Publications (2)

Publication Number Publication Date
JP2021163426A JP2021163426A (en) 2021-10-11
JP7524585B2 true JP7524585B2 (en) 2024-07-30

Family

ID=78005129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020067845A Active JP7524585B2 (en) 2020-04-03 2020-04-03 Program, information processing device

Country Status (1)

Country Link
JP (1) JP7524585B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226809A (en) 2006-02-23 2007-09-06 Ricoh Co Ltd Non-postscript printer description file generation tool
JP2012164245A (en) 2011-02-09 2012-08-30 Canon Inc Information processing apparatus, control method and computer program of information processing apparatus
JP2019164747A (en) 2018-03-14 2019-09-26 株式会社リコー Information processing device, printing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226809A (en) 2006-02-23 2007-09-06 Ricoh Co Ltd Non-postscript printer description file generation tool
JP2012164245A (en) 2011-02-09 2012-08-30 Canon Inc Information processing apparatus, control method and computer program of information processing apparatus
JP2019164747A (en) 2018-03-14 2019-09-26 株式会社リコー Information processing device, printing method, and program

Also Published As

Publication number Publication date
JP2021163426A (en) 2021-10-11

Similar Documents

Publication Publication Date Title
CN112352218B (en) Information processing apparatus, control method, and storage medium
JP7086754B2 (en) Information processing equipment, control method of information processing equipment, and computer program
US9355046B2 (en) Information processing apparatus, information processing method, and computer-readable medium
KR102775529B1 (en) Information processing apparatus, printing apparatus, and method for controlling information processing apparatus, and storage medium
US8705089B2 (en) Printer driver, storage medium, and information processing apparatus
JP4874859B2 (en) Information processing apparatus, information processing system, program, and recording medium thereof
US20110128572A1 (en) Printing apparatus, printing method and storage medium
JP5924892B2 (en) Information processing apparatus, information processing method, and program
US8605316B2 (en) Information processing apparatus and control method thereof, and storage medium
JP6303404B2 (en) Output system, terminal device, program, and output method
US20130100477A1 (en) Server apparatus, client apparatus, information processing method, and program
JP5430181B2 (en) Image forming apparatus, control method thereof, and program
JP2003323364A (en) Network device management device and method, computer program and computer-readable storage medium
US20170039011A1 (en) Printing system, printing apparatus and server used in the system, management method of print data, and medium
US8665478B2 (en) Printing system, control method of the same, print server, control method of the print server, and storage medium
KR102769076B1 (en) Information processing apparatus, control method and program therefor, and server system capable of communicating with the information processing apparatus
JP7524585B2 (en) Program, information processing device
JP6080683B2 (en) Function description creation program and function description creation system
JP4867184B2 (en) Processing mode designation information conversion program and processing mode designation information conversion method
JP6557594B2 (en) Installation control program, information processing apparatus, and device driver installation method
JP7286325B2 (en) Image forming apparatus and control method
JP2023015686A (en) Printers, printing systems and programs
JP4903064B2 (en) Print control apparatus, print control method, and print control program
JP7328405B2 (en) Information processing apparatus, information processing apparatus control method, and print setting application
JP6357957B2 (en) Print data transmission apparatus, program, and print data generation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230328

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240605

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: 20240618

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240701

R150 Certificate of patent or registration of utility model

Ref document number: 7524585

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150