JP2013041472A - Information processor, driver program and recording medium - Google Patents

Information processor, driver program and recording medium Download PDF

Info

Publication number
JP2013041472A
JP2013041472A JP2011178597A JP2011178597A JP2013041472A JP 2013041472 A JP2013041472 A JP 2013041472A JP 2011178597 A JP2011178597 A JP 2011178597A JP 2011178597 A JP2011178597 A JP 2011178597A JP 2013041472 A JP2013041472 A JP 2013041472A
Authority
JP
Japan
Prior art keywords
post
processing unit
unit
print command
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011178597A
Other languages
Japanese (ja)
Inventor
Yuki Hirano
祐樹 平野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011178597A priority Critical patent/JP2013041472A/en
Publication of JP2013041472A publication Critical patent/JP2013041472A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable generation of a new kind of drawing command.SOLUTION: A drawing section 162 includes a preprocessing section 180 and post-processing sections 190-1 to 190-2. A storage section 140 stores a printing instruction conversion table in which type information showing each type of the post-processing sections is associated with conversion method information showing a conversion method for a printing instruction. A change section 156 adds a post-processing section 190-3 to the drawing section 162, and adds type information on the post-processing section 190-3 and its conversion method information to the printing instruction conversion table upon associating both information with each other. When accepting the printing instruction, the preprocessing section selects a post-processing section 190 shown by the type information included in the printing instruction, refers to the printing instruction conversion table, converts the printing instruction by the conversion method shown by the conversion method information corresponding to the type information, and outputs the converted printing instruction to the selected post-processing section. When the preprocessing section outputs the converted printing instruction, the selected post-processing section generates a drawing command corresponding to the post-processing section 190 from the printing instruction, and outputs the generated drawing command to a printer 20.

Description

本発明は、情報処理装置、ドライバプログラム及び記憶媒体に関する。   The present invention relates to an information processing apparatus, a driver program, and a storage medium.

従来から、複数種類の描画コマンドを生成可能であり、印刷命令から接続先の画像形成装置が対応している描画コマンドを生成し、当該画像形成装置に出力するプリンタドライバ(情報処理装置)が知られている(例えば、特許文献1参照)。   Conventionally, a printer driver (information processing apparatus) that can generate a plurality of types of drawing commands, generates a drawing command supported by the image forming apparatus to be connected from a print command, and outputs the drawing command to the image forming apparatus is known. (For example, refer to Patent Document 1).

しかしながら、上述したような従来技術では、新たな種類の描画コマンドを生成可能とさせることが困難であった。   However, with the conventional technology as described above, it has been difficult to generate a new type of drawing command.

本発明は、上記事情に鑑みてなされたものであり、新たな種類の描画コマンドを生成可能とすることができる情報処理装置、ドライバプログラム及び記憶媒体を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an information processing apparatus, a driver program, and a storage medium that can generate a new type of drawing command.

上述した課題を解決し、目的を達成するために、本発明の一態様にかかる情報処理装置は、前処理部と後処理部とを有する第1描画部と、後処理部の種別を示す種別情報と印刷命令の変換方法を示す変換方法情報とを対応付けた印刷命令変換テーブルを記憶する記憶部と、前記第1描画部に新たな後処理部を追加するとともに、追加した当該後処理部の種別情報及び変換方法情報を対応付けて前記印刷命令変換テーブルに追加する追加部と、を備え、前記前処理部は、印刷命令を受け付けると、当該印刷命令に含まれる種別情報が示す後処理部を選択し、前記印刷命令変換テーブルを参照して、当該種別情報に対応する変換方法情報が示す変換方法で当該印刷命令を変換し、選択した前記後処理部に出力し、選択された前記後処理部は、前記前処理部から変換後の前記印刷命令が出力されると、当該印刷命令から当該後処理部に応じた描画コマンドを生成し、画像形成装置に出力することを特徴とする。   In order to solve the above-described problems and achieve the object, an information processing apparatus according to an aspect of the present invention includes a first drawing unit having a pre-processing unit and a post-processing unit, and a type indicating a type of the post-processing unit. A storage unit for storing a print command conversion table in which information and a conversion method information indicating a conversion method of a print command are associated; a new post-processing unit added to the first drawing unit; and the added post-processing unit An adding unit that associates the type information and the conversion method information with each other and adds them to the print command conversion table, and when the preprocessing unit receives the print command, post-processing indicated by the type information included in the print command Select the copy unit, refer to the print command conversion table, convert the print command by the conversion method indicated by the conversion method information corresponding to the type information, and output the selected print processing unit to the selected post-processing unit. The post-processing unit When the print instruction after conversion from the processing unit is outputted, it generates a drawing command corresponding to the post-processing unit from the print instruction, and outputs to the image forming apparatus.

また、本発明の別の態様にかかるドライバプログラムは、前処理部と後処理部とを有する第1描画部としてコンピュータを機能させ、前記前処理部は、後処理部の種別を示す種別情報を含む印刷命令を受け付けると、前記第1描画部に追加された新たな後処理部を含む複数種類の後処理部の中から、当該種別情報が示す後処理部を選択し、記憶部から、前記複数種類の後処理部の種別情報と印刷命令の変換方法を示す変換方法情報とを対応付けた印刷命令変換テーブルを参照して、前記印刷命令に含まれる前記種別情報に対応する変換方法情報が示す変換方法で前記印刷命令を変換し、選択した前記後処理部に出力し、選択された前記後処理部は、前記前処理部から変換後の前記印刷命令が出力されると、当該印刷命令から当該後処理部に応じた描画コマンドを生成し、画像形成装置に出力することを特徴とするものである。   A driver program according to another aspect of the present invention causes a computer to function as a first drawing unit having a pre-processing unit and a post-processing unit, and the pre-processing unit stores type information indicating a type of the post-processing unit. When receiving a print command including, from among a plurality of types of post-processing units including a new post-processing unit added to the first drawing unit, select a post-processing unit indicated by the type information, from the storage unit, The conversion method information corresponding to the type information included in the print command is obtained by referring to the print command conversion table in which the type information of the plurality of types of post-processing units is associated with the conversion method information indicating the conversion method of the print command. The print command is converted by the conversion method shown and output to the selected post-processing unit. When the converted print command is output from the pre-processing unit, the selected post-processing unit outputs the print command. To the post-processing department Generating the drawing command, and is characterized in that the output to the image forming apparatus.

また、本発明の別の態様にかかる記憶媒体は、上記ドライバプログラムを記憶したコンピュータ読み取り可能なものである。   A storage medium according to another aspect of the present invention is a computer-readable medium storing the driver program.

本発明によれば、新たな種類の描画コマンドを生成可能とすることができるという効果を奏する。   According to the present invention, it is possible to generate a new type of drawing command.

図1は、本実施形態の印刷システムの構成の一例を示すブロック図である。FIG. 1 is a block diagram illustrating an example of a configuration of a printing system according to the present embodiment. 図2は、本実施形態のPCの構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of the configuration of the PC according to the present embodiment. 図3は、本実施形態の描画部の構成の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of the configuration of the drawing unit of the present embodiment. 図4は、本実施形態の印刷命令変換テーブルの一例を示す図である。FIG. 4 is a diagram illustrating an example of the print command conversion table of the present embodiment. 図5は、本実施形態において後処理部追加後の描画部の構成の一例を示すブロック図である。FIG. 5 is a block diagram illustrating an example of the configuration of the drawing unit after the post-processing unit is added in the present embodiment. 図6は、本実施形態において後処理部追加後の印刷命令変換テーブルの一例を示す図である。FIG. 6 is a diagram illustrating an example of the print command conversion table after the post-processing unit is added in the present embodiment. 図7は、本実施形態の描画部で行われる処理の手順の流れの一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of a flow of processing steps performed by the drawing unit of the present embodiment. 図8は、本実施形態の後処理部を用いる場合の描画動作の一例の説明図である。FIG. 8 is an explanatory diagram illustrating an example of a drawing operation when the post-processing unit of this embodiment is used. 図9は、本実施形態の後処理部を用いる場合の描画動作の一例の説明図である。FIG. 9 is an explanatory diagram illustrating an example of a drawing operation when the post-processing unit of this embodiment is used. 図10は、本実施形態の描画部を用いる場合の描画動作の一例の説明図である。FIG. 10 is an explanatory diagram illustrating an example of a drawing operation when the drawing unit of the present embodiment is used.

以下、添付図面を参照しながら、本発明にかかる情報処理装置、ドライバプログラム及び記憶媒体の実施形態を詳細に説明する。   Hereinafter, embodiments of an information processing apparatus, a driver program, and a storage medium according to the present invention will be described in detail with reference to the accompanying drawings.

なお本実施形態では、情報処理装置としてPC(Personal Computer)を例にとり説明するが、これに限定されるものではない。同様に、画像形成装置として印刷装置を例に取り説明するが、これに限定されるものではなく、複写機や複合機などであってもよい。なお、複合機とは、印刷機能、複写機能、スキャナ機能、及びファクシミリ機能のうち少なくとも2つの機能を有する装置である。   In the present embodiment, a PC (Personal Computer) is described as an example of the information processing apparatus, but the present invention is not limited to this. Similarly, a printing apparatus will be described as an example of the image forming apparatus. However, the present invention is not limited to this, and may be a copier or a multifunction machine. Note that a multifunction peripheral is a device having at least two functions among a printing function, a copying function, a scanner function, and a facsimile function.

まず、本実施形態のPCを含む印刷システムの構成について説明する。   First, the configuration of a printing system including a PC according to the present embodiment will be described.

図1は、本実施形態の印刷システム1の構成の一例を示すブロック図である。図1に示すように、印刷システム1は、印刷要求元のPC10と、PC10からの印刷要求に従って印刷を行う印刷装置20とを、備える。なお、印刷システム1は、PC10を複数備えるようにしてもよいし、印刷装置20を複数備えるようにしてもよい。   FIG. 1 is a block diagram illustrating an example of a configuration of a printing system 1 according to the present embodiment. As illustrated in FIG. 1, the printing system 1 includes a PC 10 that is a print request source, and a printing apparatus 20 that performs printing in accordance with a print request from the PC 10. Note that the printing system 1 may include a plurality of PCs 10 or a plurality of printing apparatuses 20.

PC10及び印刷装置20は、ネットワーク5を介して接続されている。ネットワーク5は、例えば、LAN(Local Area Network)などにより実現できる。なお、PC10と印刷装置20とをUSB(Universal Serial Bus)などのシリアルポート(serial port)で直接接続するようにしてもよい。   The PC 10 and the printing apparatus 20 are connected via the network 5. The network 5 can be realized by, for example, a LAN (Local Area Network). The PC 10 and the printing apparatus 20 may be directly connected by a serial port such as a USB (Universal Serial Bus).

図2は、本実施形態のPC10の構成の一例を示すブロック図である。図2に示すように、PC10は、通信部110と、操作部120と、表示部130と、記憶部140と、制御部150とを、備える。   FIG. 2 is a block diagram illustrating an example of the configuration of the PC 10 according to the present embodiment. As illustrated in FIG. 2, the PC 10 includes a communication unit 110, an operation unit 120, a display unit 130, a storage unit 140, and a control unit 150.

通信部110は、ネットワーク5を介して、印刷装置20などの外部装置と通信するものであり、通信インターフェースなどの既存の通信装置により実現できる。   The communication unit 110 communicates with an external device such as the printing device 20 via the network 5 and can be realized by an existing communication device such as a communication interface.

操作部120は、各種操作の入力を行うものであり、キーボード、マウス、タッチパッド、及びタッチパネルなどの既存の入力装置の少なくともいずれかにより実現できる。   The operation unit 120 inputs various operations, and can be realized by at least one of existing input devices such as a keyboard, a mouse, a touch pad, and a touch panel.

表示部130は、各種画面を表示するものであり、液晶ディスプレイやタッチパネル式ディスプレイなどの既存の表示装置により実現できる。   The display unit 130 displays various screens, and can be realized by an existing display device such as a liquid crystal display or a touch panel display.

記憶部140は、PC10で実行される各種プログラム及びライブラリやPC10で行われる各種処理に使用されるデータなどを記憶する。例えば、記憶部140は、印刷命令変換テーブルを記憶する。なお、印刷命令変換テーブルの詳細については後述する。   The storage unit 140 stores various programs and libraries executed by the PC 10, data used for various processes performed by the PC 10, and the like. For example, the storage unit 140 stores a print command conversion table. Details of the print command conversion table will be described later.

記憶部140は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、メモリカード、光ディスク、ROM(Read Only Memory)、及びRAM(Random Access Memory)などの磁気的、光学的、又は電気的に記憶可能な既存の記憶装置の少なくともいずれかにより実現できる。   The storage unit 140 is, for example, a magnetic, optical, or electrical device such as a hard disk drive (HDD), a solid state drive (SSD), a memory card, an optical disk, a read only memory (ROM), and a random access memory (RAM). This can be realized by at least one of existing storage devices that can be stored.

制御部150は、PC10の全体を制御するものであり、CPU(Central Processing Unit)などの既存の制御装置により実現できる。制御部150は、OS152と、アプリケーション154と、変更部156と、プリンタドライバ160と、プリンタドライバ170と、を含む。なお制御部150は、記憶部140に記憶されている各プログラム(ライブラリ含む)を起動(実行)することにより、制御部150の各部を実現する。   The control unit 150 controls the entire PC 10 and can be realized by an existing control device such as a CPU (Central Processing Unit). The control unit 150 includes an OS 152, an application 154, a change unit 156, a printer driver 160, and a printer driver 170. Note that the control unit 150 implements each unit of the control unit 150 by starting (executing) each program (including a library) stored in the storage unit 140.

OS152は、PC10の各部(詳細には、PC10のハードウェア及びソフトウェア)を制御するものであり、基本ソフトウェアにより実現される。本実施形態では、OS152は、Windows(登録商標)により実現されるものとするが、これに限定されるものではなく、例えば、UNIX(登録商標)により実現されてもよい。   The OS 152 controls each part of the PC 10 (specifically, hardware and software of the PC 10), and is realized by basic software. In the present embodiment, the OS 152 is realized by Windows (registered trademark), but is not limited to this, and may be realized by, for example, UNIX (registered trademark).

アプリケーション154は、文書の作成、文書の閲覧、又は数値計算など所定の作業をPC10で行うためのものであり、例えば、基本ソフトウェア上で動作する文書作成ソフトウェア、閲覧ソフトウェア、又は表計算ソフトウェアなどにより実現できる。   The application 154 is for performing predetermined work such as document creation, document browsing, or numerical calculation on the PC 10, for example, using document creation software, browsing software, or spreadsheet software that operates on basic software. realizable.

アプリケーション154は、操作部120から印刷設定画面の表示を指示する操作入力を受け付けると、OS152を介して、プリンタドライバ160及びプリンタドライバ170のうち選択しているプリンタドライバにその旨を通知する。   When the application 154 receives an operation input for instructing display of the print setting screen from the operation unit 120, the application 154 notifies the selected printer driver of the printer driver 160 and the printer driver 170 via the OS 152.

またアプリケーション154は、操作部120から印刷を指示する操作入力を受け付けると、OS152と協同して印刷設定を含む印刷命令を生成し、プリンタドライバ160及びプリンタドライバ170のうち選択しているプリンタドライバに通知する。   When the application 154 receives an operation input for instructing printing from the operation unit 120, the application 154 generates a print command including print settings in cooperation with the OS 152, and sends it to the printer driver selected from the printer driver 160 and the printer driver 170. Notice.

プリンタドライバ160、170は、PC10から印刷装置20を動作させるためのものであり、OS152と印刷装置20との差分を吸収するためのソフトウェアにより実現できる。プリンタドライバ160は、描画部162(第1描画部の一例)と印刷設定部164とを備え、プリンタドライバ170は、描画部172(第2描画部の一例)と印刷設定部174とを備える。   The printer drivers 160 and 170 are for operating the printing apparatus 20 from the PC 10 and can be realized by software for absorbing a difference between the OS 152 and the printing apparatus 20. The printer driver 160 includes a drawing unit 162 (an example of a first drawing unit) and a print setting unit 164, and the printer driver 170 includes a drawing unit 172 (an example of a second drawing unit) and a print setting unit 174.

描画部162は、OS152から印刷命令を受け付けると、当該印刷命令から印刷装置20が解釈可能な描画コマンド及びジョブコマンドを生成し、通信部110を介して印刷装置20に送信する。   When the drawing unit 162 receives a print command from the OS 152, the drawing unit 162 generates a drawing command and a job command that can be interpreted by the printing device 20 from the print command, and transmits the drawing command and the job command to the printing device 20 via the communication unit 110.

描画コマンドとは、描画内容が記述されたコマンドである。描画部162は、PDL(Page Description Language)を用いて描画コマンドを生成(記述)する。PDLの一例には、PCL(Printer Control Language)やPostScriptなどがある。印刷装置20は、描画コマンドに従って、画像、文字、及び図形などを記録紙に印字する。   The drawing command is a command in which drawing contents are described. The drawing unit 162 generates (describes) a drawing command using PDL (Page Description Language). Examples of PDL include PCL (Printer Control Language) and PostScript. The printing apparatus 20 prints images, characters, graphics, and the like on recording paper according to the drawing command.

ジョブコマンドとは、印刷ジョブ全体に適用される印刷設定が記述されたコマンドである。描画部162は、例えば、PJL(Printer Job Language)やJDF(Job Definition Format)を用いてジョブコマンドを生成(記述)する。印刷装置20は、ジョブコマンドに従って、両面印刷を行ったり、ステープル処理やパンチ処理などを記録紙に施したりする。   A job command is a command that describes print settings that apply to the entire print job. The drawing unit 162 generates (describes) a job command using, for example, PJL (Printer Job Language) or JDF (Job Definition Format). The printing apparatus 20 performs double-sided printing or performs stapling or punching on recording paper in accordance with the job command.

なお、描画部162では、自身が予め対応している種類の描画コマンドを生成するだけでなく、新たな種類の描画コマンドを生成可能とすることもできる。   Note that the drawing unit 162 can generate not only the types of drawing commands that it supports in advance, but also new types of drawing commands.

図3は、本実施形態の描画部162の構成の一例を示すブロック図である。図3に示すように、描画部162は、前処理部180と、後処理部190−1〜190−2と、を有する。但し、後処理部の数は、これに限定されるものではなく、いくつであってもよい。なお、以下では、後処理部を各々区別する必要がない場合は、単に後処理部190と称する場合がある。   FIG. 3 is a block diagram illustrating an example of the configuration of the drawing unit 162 of the present embodiment. As illustrated in FIG. 3, the drawing unit 162 includes a pre-processing unit 180 and post-processing units 190-1 to 190-2. However, the number of post-processing units is not limited to this, and may be any number. Hereinafter, when there is no need to distinguish each of the post-processing units, they may be simply referred to as post-processing units 190.

本実施形態では、前処理部180及び後処理部190はそれぞれ独立したモジュールにより実現される。本実施形態では、モジュールは、DLL(Dynamic Link Library)とするが、これに限定されるものではない。本実施形態では、後処理部190−1は、PDLとしてPCL6を用いて描画コマンドを生成し、後処理部190−2は、PDLとしてPostScriptを用いて描画コマンドを生成するものとする。   In this embodiment, the pre-processing unit 180 and the post-processing unit 190 are realized by independent modules. In this embodiment, the module is a DLL (Dynamic Link Library), but is not limited to this. In the present embodiment, the post-processing unit 190-1 generates a drawing command using PCL6 as the PDL, and the post-processing unit 190-2 generates a drawing command using PostScript as the PDL.

ここで、印刷命令変換テーブル及び変更部156について説明する。   Here, the print command conversion table and change unit 156 will be described.

印刷命令変換テーブルは、後処理部の種別を示す種別情報と印刷命令の変換方法を示す変換方法情報とを対応付ける。また、印刷命令変換テーブルは、描画部162が有する後処理部以外を示す種別情報と変換方法情報とを対応付ける。   The print command conversion table associates type information indicating the type of the post-processing unit with conversion method information indicating the conversion method of the print command. Also, the print command conversion table associates type information indicating conversion units other than the post-processing unit included in the drawing unit 162 with conversion method information.

本実施形態では、変換方法情報が示す変換方法は、ファイルで定義されているものとするが、これに限定されるものではない。なお、印刷命令変換テーブルと変換方法が定義されたファイルとは、例えば、ファイルの識別子などを用いて対応付ければよい。   In the present embodiment, the conversion method indicated by the conversion method information is defined in the file, but is not limited to this. The print command conversion table and the file in which the conversion method is defined may be associated using, for example, a file identifier.

図4は、本実施形態の印刷命令変換テーブルの一例を示す図である。図4に示す例では、種別情報として後処理部で用いるPDL名が用いられている。   FIG. 4 is a diagram illustrating an example of the print command conversion table of the present embodiment. In the example shown in FIG. 4, the PDL name used in the post-processing unit is used as the type information.

「PCL6」には、印刷命令の変換が不要なことを示す変換不要が対応付けられている。   “PCL6” is associated with conversion unnecessary indicating that conversion of a print command is not required.

また、「PostScript」には、印刷命令の変換が必要なことを示す変換要が対応付けられている。この場合の印刷命令の変換方法は、設定ファイルやスクリプトファイルなどの外部ファイルで定義されており、ここでは、「PDL名の削除」、「部数をCopiesに変更」が定義されているものとする。   Also, “PostScript” is associated with a conversion requirement indicating that conversion of a print command is necessary. In this case, the print command conversion method is defined in an external file such as a setting file or a script file. Here, “deletion of PDL name” and “change the number of copies to“ Copies ”are defined. .

また、「上記以外」は、描画部162が有する後処理部以外を示しており、例えば、描画部172の識別子などであればよく、変換方法情報としてPT/PC or DEVMODEが対応付けられている。これは、PrintTicket/PrintCapabilitiesやDEVMODEなどのOS152がサポートする印刷命令の変換方法を用いることを示している。   Further, “other than the above” indicates other than the post-processing unit of the drawing unit 162, and may be, for example, an identifier of the drawing unit 172, and is associated with PT / PC or DEVMODE as conversion method information. . This indicates that a print command conversion method supported by the OS 152 such as PrintTicket / PrintCapabilities or DEVMODE is used.

変更部156(追加部の一例)は、描画部162に新たな後処理部を追加するとともに、追加した当該後処理部の種別情報及び変換方法情報を対応付けて印刷命令変換テーブルに追加する。   The changing unit 156 (an example of an adding unit) adds a new post-processing unit to the drawing unit 162 and associates the type information and conversion method information of the added post-processing unit with each other and adds them to the print command conversion table.

図5は、本実施形態において後処理部追加後の描画部162の構成の一例を示すブロック図であり、図6は、本実施形態において後処理部追加後の印刷命令変換テーブルの一例を示す図である。   FIG. 5 is a block diagram illustrating an example of the configuration of the drawing unit 162 after the post-processing unit is added in the present embodiment, and FIG. 6 illustrates an example of the print command conversion table after the post-processing unit is added in the present embodiment. FIG.

図5及び図6に示す例では、変更部156は、PDLとしてXPS(XML Paper Specification)を用いて描画コマンドを生成する新たな後処理部190−3を描画部162に追加している。具体的には、変更部156は、後処理部190−3に対応するDLLを記憶部140に追加することにより、後処理部190−3を描画部162に追加している。   In the example illustrated in FIGS. 5 and 6, the changing unit 156 adds a new post-processing unit 190-3 that generates a drawing command using XPS (XML Paper Specification) as the PDL to the drawing unit 162. Specifically, the changing unit 156 adds the post-processing unit 190-3 to the drawing unit 162 by adding a DLL corresponding to the post-processing unit 190-3 to the storage unit 140.

また変更部156は、「XPS」と変換不要とを対応付けて印刷命令変換テーブルに追加している。   The changing unit 156 adds “XPS” and conversion unnecessary to the print command conversion table in association with each other.

なお、詳細な説明は省略するが、変更部156は、描画部162への新たな後処理部の追加だけでなく、描画部162から既存の後処理部を削除したり、変更したりもする。この際、変更部156は、削除した後処理部の種別情報及び変換方法情報を印刷命令変換テーブルから削除したり、変更したりもする。   Although detailed description is omitted, the changing unit 156 not only adds a new post-processing unit to the drawing unit 162 but also deletes or changes the existing post-processing unit from the drawing unit 162. . At this time, the changing unit 156 also deletes or changes the type information and conversion method information of the deleted post-processing unit from the print command conversion table.

前処理部180は、プリンタドライバ160が自身の起動時に前処理部180に対応するDLLを記憶部140から読み出すことにより、プリンタドライバ160上に実現される。本実施形態では、プリンタドライバ160が起動している間、前処理部180もプリンタドライバ160上に実現されているものとする。   The pre-processing unit 180 is implemented on the printer driver 160 by reading the DLL corresponding to the pre-processing unit 180 from the storage unit 140 when the printer driver 160 is activated. In the present embodiment, it is assumed that the preprocessing unit 180 is also realized on the printer driver 160 while the printer driver 160 is activated.

前処理部180は、OS152から印刷命令を受け付け、受け付けた印刷命令を出力する後処理部190又は描画部172を後処理部190−1〜190−3及び描画部172の中から選択し、必要に応じて印刷命令を変換し、選択した後処理部190又は描画部172に出力する。前処理部180は、選択部181と、印刷命令変換部183とを、有する。   The pre-processing unit 180 receives a print command from the OS 152, selects the post-processing unit 190 or the drawing unit 172 that outputs the received print command from the post-processing units 190-1 to 190-3 and the drawing unit 172, and is necessary. The print command is converted in response to the output and output to the selected post-processing unit 190 or drawing unit 172. The preprocessing unit 180 includes a selection unit 181 and a print command conversion unit 183.

選択部181は、印刷命令に含まれる種別情報が示す後処理部190を後処理部190−1〜190−3の中から選択する。そして選択部181は、当該後処理部190の選択を印刷が完了するまで継続する。   The selection unit 181 selects the post-processing unit 190 indicated by the type information included in the print command from the post-processing units 190-1 to 190-3. Then, the selection unit 181 continues the selection of the post-processing unit 190 until printing is completed.

具体的には、選択部181は、後処理部190−1〜190−3のうち印刷命令に含まれる種別情報が示す後処理部190に対応するDLLを記憶部140から読み出すことにより、読み出したDLLに対応する後処理部190をプリンタドライバ160上に実現する。選択部181は、印刷が完了するまで当該DLLを読み出しておくことで、印刷が完了するまで当該後処理部190をプリンタドライバ160上に実現させておく。   Specifically, the selection unit 181 reads the DLL corresponding to the post-processing unit 190 indicated by the type information included in the print command among the post-processing units 190-1 to 190-3 by reading from the storage unit 140. A post-processing unit 190 corresponding to the DLL is realized on the printer driver 160. The selection unit 181 reads the DLL until printing is completed, so that the post-processing unit 190 is realized on the printer driver 160 until printing is completed.

なお選択部181は、印刷命令に含まれる種別情報が示す後処理部190が描画部162に存在しない場合、描画部172を選択する。   The selection unit 181 selects the drawing unit 172 when the post-processing unit 190 indicated by the type information included in the print command does not exist in the drawing unit 162.

印刷命令変換部183は、印刷命令変換テーブルを参照して、印刷命令に含まれる種別情報に対応する変換方法情報が示す変換方法で当該印刷命令を変換し、選択部181により選択された後処理部190又は描画部172に出力する。これにより、選択部181により選択された後処理部190又は描画部172において、印刷命令が解釈可能となる。   The print command conversion unit 183 refers to the print command conversion table, converts the print command by the conversion method indicated by the conversion method information corresponding to the type information included in the print command, and performs post-processing selected by the selection unit 181 To the unit 190 or the drawing unit 172. Thereby, the post-processing unit 190 or the drawing unit 172 selected by the selection unit 181 can interpret the print command.

なお印刷命令変換部183は、印刷命令に含まれる種別情報に対応する変換方法情報が示す変換方法が変換無を示す場合、選択部181により選択された後処理部190又は描画部172に印刷命令をそのまま出力する。これは、選択部181により選択された後処理部190又は描画部172が印刷命令を変換しなくても解釈可能なためである。   Note that when the conversion method indicated by the conversion method information corresponding to the type information included in the print command indicates no conversion, the print command conversion unit 183 sends the print command to the post-processing unit 190 or the drawing unit 172 selected by the selection unit 181. Is output as is. This is because the post-processing unit 190 or the drawing unit 172 selected by the selection unit 181 can interpret the print command without converting it.

選択部181により選択された後処理部190は、前処理部180から変換後の印刷命令が出力されたり、前処理部180から印刷命令がそのまま出力されたりすると、当該印刷命令から当該後処理部に応じた描画コマンドを生成し、印刷装置20に出力する。   When the post-conversion unit 190 selected by the selection unit 181 outputs the converted print command from the pre-processing unit 180 or outputs the print command as it is from the pre-processing unit 180, the post-processing unit 190 A drawing command corresponding to the above is generated and output to the printing apparatus 20.

具体的には、選択部181により選択された後処理部190は、印刷命令を解釈し、例えば、描画オブジェクトに対して、拡大縮小・回転・減色などの処理を施す。そして、当該後処理部190は、ジョブコマンド及び描画コマンドを生成する。   Specifically, the post-processing unit 190 selected by the selection unit 181 interprets the print command, and performs processing such as enlargement / reduction, rotation, and color reduction on the drawing object, for example. Then, the post-processing unit 190 generates a job command and a drawing command.

なお、後処理部190−1は、PCL6を用いて描画コマンドを生成し、後処理部190−2は、PostScriptを用いて描画コマンドを生成し、後処理部190−3は、XPSを用いて描画コマンドを生成する。   The post-processing unit 190-1 generates a drawing command using PCL6, the post-processing unit 190-2 generates a drawing command using PostScript, and the post-processing unit 190-3 uses XPS. Generate drawing commands.

印刷設定部164は、アプリケーション154からOS152を介して印刷設定画面の表示指示を受け付けると、描画部162が有する後処理部190−1〜190−3のうち印刷に使用する後処理部190に対する印刷設定を行わせる印刷設定画面を表示部130に表示させる。表示部130に印刷設定画面が表示されると、ユーザは、印刷設定を確認したり、変更したりする。   When the print setting unit 164 receives a print setting screen display instruction from the application 154 via the OS 152, the print setting unit 164 prints the post-processing unit 190 used for printing among the post-processing units 190-1 to 190-3 included in the drawing unit 162. A print setting screen for setting is displayed on the display unit 130. When the print setting screen is displayed on the display unit 130, the user confirms or changes the print setting.

描画部172は、OS152から印刷命令を受け付けると、当該印刷命令から印刷装置20が解釈可能な描画コマンド及びジョブコマンドを生成し、通信部110を介して印刷装置20に送信する。また描画部172は、前処理部180から変換後の印刷命令が出力されたり、前処理部180から印刷命令がそのまま出力されたりすると、当該印刷命令から描画部172に応じた描画コマンドを生成し、印刷装置20に出力する。   When the drawing unit 172 receives a print command from the OS 152, the drawing unit 172 generates a drawing command and a job command that can be interpreted by the printing apparatus 20 from the print command, and transmits the drawing command and the job command to the printing apparatus 20 via the communication unit 110. In addition, when the converted print command is output from the preprocessing unit 180 or the print command is output from the preprocessing unit 180 as it is, the drawing unit 172 generates a drawing command corresponding to the drawing unit 172 from the print command. And output to the printing apparatus 20.

なお、描画部172では、自身が予め対応している種類の描画コマンドを生成できるが、新たな種類の描画コマンドを生成可能とすることはできない。   The drawing unit 172 can generate a type of drawing command that it corresponds to in advance, but cannot generate a new type of drawing command.

印刷設定部174は、アプリケーション154からOS152を介して印刷設定画面の表示指示を受け付けると、描画部172の印刷設定画面を表示部130に表示させる。表示部130に印刷設定画面が表示されると、ユーザは、印刷設定を確認したり、変更したりする。   Upon receiving a print setting screen display instruction from the application 154 via the OS 152, the print setting unit 174 causes the display unit 130 to display the print setting screen of the drawing unit 172. When the print setting screen is displayed on the display unit 130, the user confirms or changes the print setting.

次に、本実施形態の描画部162の動作について説明する。   Next, the operation of the drawing unit 162 of this embodiment will be described.

図7は、本実施形態の描画部162で行われる処理の手順の流れの一例を示すフローチャートである。   FIG. 7 is a flowchart illustrating an example of a procedure flow of processing performed by the drawing unit 162 of the present embodiment.

まず、前処理部180はOS152から印刷命令を受け付ける(ステップS100)。   First, the preprocessing unit 180 receives a print command from the OS 152 (step S100).

続いて、選択部181は、印刷命令に含まれる種別情報が示す後処理部190又は描画部172を後処理部190−1〜190−3及び描画部172の中から選択する(ステップS102)。そして選択部181は、当該後処理部190の選択を印刷が完了するまで継続する。   Subsequently, the selection unit 181 selects the post-processing unit 190 or the drawing unit 172 indicated by the type information included in the print command from the post-processing units 190-1 to 190-3 and the drawing unit 172 (step S102). Then, the selection unit 181 continues the selection of the post-processing unit 190 until printing is completed.

続いて、印刷命令変換部183は、印刷命令変換テーブルを参照して、印刷命令の変換が必要か否かを確認する(ステップS104)。印刷命令の変換が不要な場合(ステップS104でNo)、ステップS112へ進む。   Subsequently, the print command conversion unit 183 refers to the print command conversion table and checks whether or not conversion of the print command is necessary (step S104). If conversion of the print command is unnecessary (No in step S104), the process proceeds to step S112.

一方、印刷命令の変換が必要な場合(ステップS104でYes)、印刷命令変換部183は、印刷命令変換テーブルを参照して、印刷命令を直接変換できるか否かを確認する(ステップS106)。   On the other hand, if conversion of the print command is necessary (Yes in step S104), the print command conversion unit 183 refers to the print command conversion table to check whether the print command can be directly converted (step S106).

印刷命令を直接変換できる場合(ステップS106でYes)、即ち、印刷命令に含まれる種別情報に対応する変換方法情報が示す変換方法が変換要である場合、印刷命令変換部183は、当該変換方法で印刷命令を変換する(ステップS108)。   If the print command can be directly converted (Yes in step S106), that is, if the conversion method indicated by the conversion method information corresponding to the type information included in the print command requires conversion, the print command conversion unit 183 displays the conversion method. In step S108, the print command is converted.

一方、印刷命令を直接変換できない場合(ステップS106でNo)、即ち、印刷命令に含まれる種別情報に対応する変換方法情報が示す変換方法がPT/PC or DEVMODEである場合、印刷命令変換部183は、PrintCapabilitiesやDEVMODEなどのOS152がサポートする印刷命令の変換方法を用いて、印刷命令を変換する(ステップS110)。   On the other hand, if the print command cannot be directly converted (No in step S106), that is, if the conversion method indicated by the conversion method information corresponding to the type information included in the print command is PT / PC or DEVMODE, the print command conversion unit 183 Converts the print command using a print command conversion method supported by the OS 152, such as PrintCapabilities or DEVMODE (step S110).

続いて、選択部181により選択された後処理部190又は描画部172は、前処理部180から変換後の印刷命令が出力されたり、前処理部180から印刷命令がそのまま出力されたりすると、当該印刷命令から当該後処理部に応じた描画コマンドを生成し、印刷装置20に出力する(ステップS112)。   Subsequently, when the post-conversion unit 190 or the drawing unit 172 selected by the selection unit 181 outputs the converted print command from the pre-processing unit 180 or the pre-processing unit 180 outputs the print command as it is, A drawing command corresponding to the post-processing unit is generated from the print command and is output to the printing apparatus 20 (step S112).

次に、本実施形態の描画部162の動作の具体例について説明する。   Next, a specific example of the operation of the drawing unit 162 of this embodiment will be described.

本実施形態のように、OS152をWindowsで実現している場合(通常のWindows Printingシナリオでは)、アプリケーション154及びOS152が協同して印刷設定を含む印刷命令を生成する際、印刷設定画面で設定されている印刷設定をDEVMODE構造体で保持する。   When the OS 152 is realized by Windows as in the present embodiment (in a normal Windows Printing scenario), when the application 154 and the OS 152 cooperate to generate a print command including print settings, the settings are set on the print setting screen. Hold the current print settings in the DEVMODE structure.

DEVMODE構造体には、一般的な印刷設定メンバを保持するためのPublic領域と、プリンタドライバを作成したベンダ独自の印刷設定メンバを保持するためのPrivate領域とが存在する。Public領域の印刷設定メンバは、ユーザが直接変更できるが、Private領域の印刷設定メンバは、アクセス方法を知っているプリンタドライバを作成したベンダのみが変更できる。   The DEVMODE structure includes a public area for holding a general print setting member and a private area for holding a print setting member unique to the vendor that created the printer driver. The print setting member in the Public area can be directly changed by the user, but the print setting member in the Private area can be changed only by the vendor who created the printer driver who knows the access method.

図8は、本実施形態の後処理部190−1を用いる場合の描画動作の一例の説明図である。ここでは、前処理部180と後処理部190−1とを作成したベンダが同一であり、OS152から通知された印刷命令を後処理部190−1がそのまま解釈できるものとする。   FIG. 8 is an explanatory diagram illustrating an example of a drawing operation when the post-processing unit 190-1 of the present embodiment is used. Here, it is assumed that the vendors that created the pre-processing unit 180 and the post-processing unit 190-1 are the same, and the post-processing unit 190-1 can interpret the print command notified from the OS 152 as it is.

まず、前処理部180はOS152から印刷命令201を受け付ける。印刷命令211では、「PDL名がPCL6」、「部数が5」となっている。   First, the preprocessing unit 180 receives a print command 201 from the OS 152. In the print command 211, “PDL name is PCL6” and “Number of copies is 5”.

続いて、選択部181は、印刷命令201に含まれるPDL名がPCL6を示しているので、後処理部190−1に対応するDLLを記憶部140から読み出すことにより、後処理部190−1を描画部162上に実現する。なお、選択部181は、印刷が完了するまで当該DLLを読み出しておくことで、印刷が完了するまで後処理部190−1を描画部162上に実現させておく。   Subsequently, since the PDL name included in the print command 201 indicates PCL6, the selection unit 181 reads the DLL corresponding to the post-processing unit 190-1 from the storage unit 140, and thereby selects the post-processing unit 190-1. This is realized on the drawing unit 162. Note that the selection unit 181 reads the DLL until printing is completed, so that the post-processing unit 190-1 is realized on the drawing unit 162 until printing is completed.

続いて、印刷命令変換部183は、印刷命令変換テーブルを参照して、PCL6に対応する変換方法情報が示す変換方法が変換無であることを確認する。この場合、印刷命令変換部183は、選択部181により選択された後処理部190−1に印刷命令201をそのまま出力する。   Subsequently, the print command conversion unit 183 refers to the print command conversion table and confirms that the conversion method indicated by the conversion method information corresponding to the PCL 6 is not converted. In this case, the print command conversion unit 183 outputs the print command 201 as it is to the post-processing unit 190-1 selected by the selection unit 181.

続いて、後処理部190−1は、前処理部180から印刷命令201がそのまま出力されると、PCL6を用いて印刷命令201から描画コマンドを生成し、印刷装置20に出力する。   Subsequently, when the print command 201 is output as it is from the preprocessing unit 180, the post-processing unit 190-1 generates a drawing command from the print command 201 using the PCL 6 and outputs the drawing command to the printing apparatus 20.

図9は、本実施形態の後処理部190−2を用いる場合の描画動作の一例の説明図である。ここでは、前処理部180と後処理部190−1とを作成したベンダが同一であり、OS152から通知された印刷命令を前処理部180はそのまま解釈できるが、後処理部190−1はそのまま解釈できないものとする。   FIG. 9 is an explanatory diagram illustrating an example of a drawing operation when the post-processing unit 190-2 of the present embodiment is used. Here, the vendor that created the pre-processing unit 180 and the post-processing unit 190-1 is the same, and the pre-processing unit 180 can interpret the print command notified from the OS 152 as it is, but the post-processing unit 190-1 remains as it is. It cannot be interpreted.

まず、前処理部180はOS152から印刷命令211を受け付ける。印刷命令201では、「PDL名がPCL6」、「部数が5」となっている。   First, the preprocessing unit 180 receives a print command 211 from the OS 152. In the print command 201, “PDL name is PCL6” and “Number of copies is 5”.

続いて、選択部181は、印刷命令211に含まれるPDL名がPostScriptを示しているので、後処理部190−2に対応するDLLを記憶部140から読み出すことにより、後処理部190−2を描画部162上に実現する。なお、選択部181は、印刷が完了するまで当該DLLを読み出しておくことで、印刷が完了するまで後処理部190−2を描画部162上に実現させておく。   Subsequently, since the PDL name included in the print command 211 indicates PostScript, the selection unit 181 reads the DLL corresponding to the post-processing unit 190-2 from the storage unit 140, thereby causing the post-processing unit 190-2 to This is realized on the drawing unit 162. Note that the selection unit 181 reads the DLL until printing is completed, so that the post-processing unit 190-2 is realized on the drawing unit 162 until printing is completed.

続いて、印刷命令変換部183は、印刷命令変換テーブルを参照して、PostScriptに対応する変換方法情報が示す変換方法が変換用であることを確認する。この場合、印刷命令変換部183は、当該変換方法で印刷命令211を印刷命令212に変換し、選択部181により選択された後処理部190−2に印刷命令212を出力する。印刷命令212では、「Copiesが5」となっている。   Subsequently, the print command conversion unit 183 refers to the print command conversion table and confirms that the conversion method indicated by the conversion method information corresponding to PostScript is for conversion. In this case, the print command conversion unit 183 converts the print command 211 into the print command 212 using the conversion method, and outputs the print command 212 to the post-processing unit 190-2 selected by the selection unit 181. In the print command 212, “Copies is 5”.

続いて、後処理部190−2は、前処理部180から印刷命令212が出力されると、PostScriptを用いて印刷命令212から描画コマンドを生成し、印刷装置20に出力する。   Subsequently, when the print command 212 is output from the preprocessing unit 180, the post-processing unit 190-2 generates a drawing command from the print command 212 using PostScript and outputs the drawing command to the printing apparatus 20.

図10は、本実施形態の描画部172を用いる場合の描画動作の一例の説明図である。ここでは、前処理部180と描画部172とを作成したベンダが異なり、OS152から通知された印刷命令を前処理部180はそのまま解釈できるが、描画部172はそのまま解釈できないものとする。   FIG. 10 is an explanatory diagram illustrating an example of a drawing operation when the drawing unit 172 of the present embodiment is used. Here, it is assumed that the vendors that created the preprocessing unit 180 and the drawing unit 172 are different and that the print command notified from the OS 152 can be interpreted as it is, but the drawing unit 172 cannot interpret it as it is.

まず、前処理部180はOS152から印刷命令221を受け付ける。印刷命令221では、「PDL名がUnknow」、「部数が5」となっている。   First, the preprocessing unit 180 receives a print command 221 from the OS 152. In the print command 221, “PDL name is“ Unknown ”and“ number of copies is 5 ”.

続いて、選択部181は、印刷命令221に含まれるPDL名がUnknowを示しているので、描画部172を選択する。   Subsequently, since the PDL name included in the print command 221 indicates “Unknown”, the selection unit 181 selects the drawing unit 172.

続いて、印刷命令変換部183は、印刷命令変換テーブルを参照して、Unknow(上記以外)に対応する変換方法情報が示す変換方法がPT/PC or DEVMODEであることを確認する。   Subsequently, the print command conversion unit 183 refers to the print command conversion table and confirms that the conversion method indicated by the conversion method information corresponding to “Unknown” (other than the above) is PT / PC or DEVMODE.

この場合、印刷命令変換部183は、OS152と協同し、PrintTicket/PrintCapabilitiesやDEVMODEなどのOS152がサポートする印刷命令の変換方法を用いて、印刷命令221を印刷命令222に変換し、選択部181により選択された描画部172に印刷命令222を出力する。   In this case, the print command conversion unit 183 cooperates with the OS 152 to convert the print command 221 to the print command 222 using a print command conversion method supported by the OS 152 such as PrintTicket / PrintCapabilities and DEVMODE. The print command 222 is output to the selected drawing unit 172.

図10に示す例のように、前処理部180と描画部172とを作成したベンダが異なる場合には、前処理部180は描画部172で使用する印刷設定の構造を理解できないため、上記のような方法で印刷命令を変換する。但し、印刷命令の変換方法は、これに限定されるものではなく、例えば、DEVMODE構造体のPublic領域の印刷設定メンバのみを反映するなどであってもよい。   As in the example illustrated in FIG. 10, when the vendors that created the preprocessing unit 180 and the drawing unit 172 are different, the preprocessing unit 180 cannot understand the structure of the print settings used in the drawing unit 172, and thus The print command is converted in such a way. However, the conversion method of the print command is not limited to this, and for example, only the print setting member in the Public area of the DEVMODE structure may be reflected.

続いて、描画部172は、前処理部180から印刷命令222が出力されると、印刷命令222から描画部172に応じた描画コマンドを生成し、印刷装置20に出力する。   Subsequently, when the print command 222 is output from the preprocessing unit 180, the drawing unit 172 generates a drawing command corresponding to the drawing unit 172 from the print command 222 and outputs the drawing command to the printing apparatus 20.

以上のように本実施形態によれば、描画部に新たな後処理部を追加できるので、新たな種類の描画コマンドを生成可能とさせることができる。特に本実施形態では、前処理部及び後処理部をそれぞれ独立したモジュールで実現でき、印刷命令の変換方法をファイルで定義しているため、描画部に新たな後処理部を容易に追加でき、新たな種類の描画コマンドを容易に生成可能とさせることができる。   As described above, according to the present embodiment, since a new post-processing unit can be added to the drawing unit, a new type of drawing command can be generated. In particular, in this embodiment, the pre-processing unit and the post-processing unit can be realized by independent modules, and the conversion method of the print command is defined in the file. Therefore, a new post-processing unit can be easily added to the drawing unit, It is possible to easily generate a new type of drawing command.

また本実施形態によれば、上記と同様の理由で、描画部から既存の後処理部を容易に削除したり、容易に変更したりできるので、必要な描画コマンドを生成可能とさせることをフレキシブルに対応できる。   Further, according to the present embodiment, for the same reason as described above, the existing post-processing unit can be easily deleted from the drawing unit or can be easily changed, so that it is possible to generate a necessary drawing command. It can correspond to.

また本実施形態によれば、印刷が完了するまで後処理部は選択されており、印刷が完了するまで繰り返し選択する必要がないので、効率性が高まる。   Further, according to the present embodiment, the post-processing unit is selected until the printing is completed, and it is not necessary to repeatedly select until the printing is completed.

また本実施形態によれば、他のプリンタドライバの描画部を流用することもできるので、印刷を実行できないという事態の発生を抑制することができる。   In addition, according to the present embodiment, since the drawing unit of another printer driver can be used, the occurrence of a situation where printing cannot be performed can be suppressed.

(変形例)
なお、本発明は、上記実施形態に限定されるものではなく、種々の変形が可能である。例えば、上記実施形態において、前処理部180は、印刷命令に含まれる種別情報に加え、印刷装置20で対応可能な描画コマンドを考慮して、後処理部190を選択するようにしてもよい。
(Modification)
In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible. For example, in the above embodiment, the pre-processing unit 180 may select the post-processing unit 190 in consideration of drawing commands that can be handled by the printing apparatus 20 in addition to the type information included in the print command.

この場合、記憶部140には、印刷装置毎に対応可能な描画コマンドを対応付けたテーブルを記憶しておく。このテーブルは、設定ファイルやスクリプトファイルなどの外部ファイルで定義されていてもよい。   In this case, the storage unit 140 stores a table in which drawing commands that can be handled for each printing apparatus are associated. This table may be defined in an external file such as a setting file or a script file.

選択部181は、記憶部140に記憶されている上記テーブルを参照し、種別情報が示す後処理部190又は描画部172において生成される描画コマンドが出力先の印刷装置20で対応しているか否かを確認する。そして選択部181は、生成される描画コマンドが出力先の印刷装置20で対応していない場合には、出力先の印刷装置20で対応している描画コマンドを生成可能な後処理部190又は描画部172を選択するようにしてもよい。   The selection unit 181 refers to the table stored in the storage unit 140 and determines whether or not the drawing command generated by the post-processing unit 190 or the drawing unit 172 indicated by the type information corresponds to the output destination printing apparatus 20. To check. When the generated drawing command does not correspond to the output destination printing device 20, the selection unit 181 can generate the drawing command corresponding to the output destination printing device 20 or the post-processing unit 190 or the drawing The part 172 may be selected.

このようにすれば、印刷を実行できないという事態の発生を抑制することができる。   In this way, it is possible to suppress the occurrence of a situation where printing cannot be performed.

(ハードウェア構成)
上記実施形態及び上記変形例のPCは、CPU(Central Processing Unit)などの制御装置と、ROMやRAMなどの記憶装置と、HDDやSSDなどの外部記憶装置と、ディスプレイなどの表示装置と、マウスやキーボードなどの入力装置と、通信I/Fなどの通信装置とを備えており、通常のコンピュータを利用したハードウェア構成となっている。
(Hardware configuration)
The PC according to the embodiment and the modified example includes a control device such as a CPU (Central Processing Unit), a storage device such as a ROM and a RAM, an external storage device such as an HDD and an SSD, a display device such as a display, and a mouse. And a communication device such as a communication I / F, and has a hardware configuration using a normal computer.

上記実施形態及び上記変形例のPCで実行されるドライバプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、CD−R、メモリカード、DVD、フレキシブルディスク(FD)等のコンピュータで読み取り可能な記憶媒体に記憶されて提供される。   The driver program executed on the PC according to the above-described embodiment and the above-described modification is a file in an installable format or an executable format, and is a computer such as a CD-ROM, a CD-R, a memory card, a DVD, and a flexible disk (FD). And stored in a readable storage medium.

また、上記実施形態及び上記変形例のPCで実行されるドライバプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するようにしてもよい。また、上記実施形態及び上記変形例のPCで実行されるドライバプログラムを、インターネット等のネットワーク経由で提供または配布するようにしてもよい。また、上記実施形態及び上記変形例のPCで実行されるドライバプログラムを、ROM等に予め組み込んで提供するようにしてもよい。   In addition, the driver program executed on the PC according to the embodiment and the modification may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. In addition, the driver program executed on the PC according to the embodiment and the modification may be provided or distributed via a network such as the Internet. In addition, the driver program executed on the PC according to the embodiment and the modified example may be provided by being incorporated in advance in a ROM or the like.

上記実施形態及び上記変形例のPCで実行されるドライバプログラムは、上述した各部をコンピュータ上で実現させるためのモジュール構成となっている。実際のハードウェアとしては、例えば、CPUがHDDからプログラムをRAM上に読み出して実行することにより、上記各部がコンピュータ上で実現されるようになっている。   The driver program executed by the PC according to the embodiment and the modification has a module configuration for realizing the above-described units on a computer. As actual hardware, for example, the CPU reads out a program from the HDD to the RAM and executes it, so that the above-described units are realized on the computer.

1 印刷システム
5 ネットワーク
10 PC
20 印刷装置
110 通信部
120 操作部
130 表示部
140 記憶部
150 制御部
152 OS
154 アプリケーション
156 変更部
160 プリンタドライバ
162 描画部
164 印刷設定部
170 プリンタドライバ
172 描画部
174 印刷設定部
180 前処理部
190−1〜190−3 後処理部
1 Printing system 5 Network 10 PC
20 Printing Device 110 Communication Unit 120 Operation Unit 130 Display Unit 140 Storage Unit 150 Control Unit 152 OS
154 Application 156 Changing unit 160 Printer driver 162 Drawing unit 164 Print setting unit 170 Printer driver 172 Drawing unit 174 Print setting unit 180 Pre-processing unit 190-1 to 190-3 Post-processing unit

特開2009−53789号公報JP 2009-53789 A

Claims (10)

前処理部と後処理部とを有する第1描画部と、
後処理部の種別を示す種別情報と印刷命令の変換方法を示す変換方法情報とを対応付けた印刷命令変換テーブルを記憶する記憶部と、
前記第1描画部に新たな後処理部を追加するとともに、追加した当該後処理部の種別情報及び変換方法情報を対応付けて前記印刷命令変換テーブルに追加する追加部と、を備え、
前記前処理部は、印刷命令を受け付けると、当該印刷命令に含まれる種別情報が示す後処理部を選択し、前記印刷命令変換テーブルを参照して、当該種別情報に対応する変換方法情報が示す変換方法で当該印刷命令を変換し、選択した前記後処理部に出力し、
選択された前記後処理部は、前記前処理部から変換後の前記印刷命令が出力されると、当該印刷命令から当該後処理部に応じた描画コマンドを生成し、画像形成装置に出力することを特徴とする情報処理装置。
A first drawing unit having a pre-processing unit and a post-processing unit;
A storage unit for storing a print command conversion table in which type information indicating the type of the post-processing unit and conversion method information indicating a conversion method of the print command are associated;
An additional unit that adds a new post-processing unit to the first drawing unit and adds the type information and conversion method information of the added post-processing unit to the print command conversion table in association with each other.
When receiving the print command, the pre-processing unit selects a post-processing unit indicated by the type information included in the print command, refers to the print command conversion table, and indicates the conversion method information corresponding to the type information. The print command is converted by the conversion method and output to the selected post-processing unit,
When the converted print command is output from the pre-processing unit, the selected post-processing unit generates a drawing command corresponding to the post-processing unit from the print command and outputs the drawing command to the image forming apparatus. An information processing apparatus characterized by the above.
第2描画部を更に備え、
前記印刷命令変換テーブルは、更に、前記第1描画部が有する後処理部以外を示す種別情報と変換方法情報とを対応付け、
前記前処理部は、前記印刷命令に含まれる前記種別情報が示す後処理部が前記第1描画部に存在しない場合、前記第2描画部を選択し、前記印刷命令変換テーブルを参照して、当該種別情報に対応する前記変換方法情報が示す変換方法で前記印刷命令を変換し、選択した前記第2描画部に出力し、
前記第2描画部は、前記前処理部から変換後の前記印刷命令が出力されると、当該印刷命令から当該第2描画部に応じた描画コマンドを生成し、前記画像形成装置に出力することを特徴とする請求項1に記載の情報処理装置。
A second drawing unit;
The print command conversion table further associates type information and conversion method information indicating other than the post-processing unit included in the first drawing unit,
The pre-processing unit selects the second drawing unit when the post-processing unit indicated by the type information included in the print command does not exist in the first drawing unit, and refers to the print command conversion table, The print command is converted by the conversion method indicated by the conversion method information corresponding to the type information, and is output to the selected second drawing unit.
When the converted print command is output from the preprocessing unit, the second drawing unit generates a drawing command corresponding to the second drawing unit from the print command and outputs the drawing command to the image forming apparatus. The information processing apparatus according to claim 1.
前記第1描画部が有する後処理部のうち印刷に使用する後処理部に対する印刷設定を行わせる印刷設定画面を表示部に表示させる印刷設定部を更に備えることを特徴とする請求項1又は2に記載の情報処理装置。   The print setting unit for displaying a print setting screen for performing print setting for a post-processing unit used for printing among the post-processing units included in the first drawing unit is further provided. The information processing apparatus described in 1. 前記前処理部は、前記印刷命令に含まれる前記種別情報に対応する前記変換方法情報が示す変換方法が変換無を示す場合、選択した前記後処理部に前記印刷命令をそのまま出力することを特徴とする請求項1〜3のいずれか1つに記載の情報処理装置。   The pre-processing unit outputs the print command as it is to the selected post-processing unit when the conversion method indicated by the conversion method information corresponding to the type information included in the print command indicates no conversion. The information processing apparatus according to any one of claims 1 to 3. 前記前処理部及び前記後処理部は、それぞれ独立したモジュールにより実現されることを特徴とする請求項1〜4のいずれか1つに記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the pre-processing unit and the post-processing unit are each realized by independent modules. 前記変換方法情報が示す変換方法は、ファイルで定義されていることを特徴とする請求項1〜5のいずれか1つに記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the conversion method indicated by the conversion method information is defined by a file. 前記前処理部は、前記印刷命令に含まれる前記種別情報が示す前記後処理部の選択を、印刷が完了するまで継続することを特徴とする請求項1〜6のいずれか1つに記載の情報処理装置。   The said pre-processing part continues the selection of the said post-processing part which the said classification information contained in the said printing command shows until printing is completed, It is any one of Claims 1-6 characterized by the above-mentioned. Information processing device. 前記前処理部は、前記印刷命令に含まれる前記種別情報に加え、前記画像形成装置で対応可能な描画コマンドを考慮して、後処理部を選択することを特徴とする請求項1〜7のいずれか1つに記載の情報処理装置。   8. The pre-processing unit selects a post-processing unit in consideration of a drawing command that can be handled by the image forming apparatus in addition to the type information included in the print command. The information processing apparatus according to any one of the above. 前処理部と後処理部とを有する第1描画部としてコンピュータを機能させ、
前記前処理部は、後処理部の種別を示す種別情報を含む印刷命令を受け付けると、前記第1描画部に追加された新たな後処理部を含む複数種類の後処理部の中から、当該種別情報が示す後処理部を選択し、記憶部から、前記複数種類の後処理部の種別情報と印刷命令の変換方法を示す変換方法情報とを対応付けた印刷命令変換テーブルを参照して、前記印刷命令に含まれる前記種別情報に対応する変換方法情報が示す変換方法で前記印刷命令を変換し、選択した前記後処理部に出力し、
選択された前記後処理部は、前記前処理部から変換後の前記印刷命令が出力されると、当該印刷命令から当該後処理部に応じた描画コマンドを生成し、画像形成装置に出力することを特徴とするドライバプログラム。
Causing the computer to function as a first drawing unit having a pre-processing unit and a post-processing unit;
When the pre-processing unit receives a print command including type information indicating the type of the post-processing unit, the pre-processing unit includes a plurality of types of post-processing units including a new post-processing unit added to the first drawing unit. Select the post-processing unit indicated by the type information, and refer to the print command conversion table in which the type information of the plurality of types of post-processing units and the conversion method information indicating the conversion method of the print command are associated from the storage unit, The print command is converted by the conversion method indicated by the conversion method information corresponding to the type information included in the print command, and output to the selected post-processing unit,
When the converted print command is output from the pre-processing unit, the selected post-processing unit generates a drawing command corresponding to the post-processing unit from the print command and outputs the drawing command to the image forming apparatus. A driver program characterized by
請求項9に記載のドライバプログラムを記憶したコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing the driver program according to claim 9.
JP2011178597A 2011-08-17 2011-08-17 Information processor, driver program and recording medium Withdrawn JP2013041472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011178597A JP2013041472A (en) 2011-08-17 2011-08-17 Information processor, driver program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011178597A JP2013041472A (en) 2011-08-17 2011-08-17 Information processor, driver program and recording medium

Publications (1)

Publication Number Publication Date
JP2013041472A true JP2013041472A (en) 2013-02-28

Family

ID=47889792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011178597A Withdrawn JP2013041472A (en) 2011-08-17 2011-08-17 Information processor, driver program and recording medium

Country Status (1)

Country Link
JP (1) JP2013041472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020126681A (en) * 2019-10-08 2020-08-20 キヤノン株式会社 Application and information processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020126681A (en) * 2019-10-08 2020-08-20 キヤノン株式会社 Application and information processing apparatus

Similar Documents

Publication Publication Date Title
US11989462B2 (en) Information processing apparatus, method, and a non-transitory storage medium, receives first print settings information supports the internet printing protocol (IPP) and further receives second print settings that does not support the internet printing protocol (IPP) from printer
JP6454213B2 (en) Image output system, image processing apparatus, image output apparatus, method and program therefor
US20200004473A1 (en) Information apparatus, controlling method for information apparatus, and storage medium
US9361056B2 (en) Information processing apparatus and method for generating a conflict confirmation print job
US9830544B2 (en) Image processing apparatus, control method, and storage medium for executing print processing using a password including selecting a personal identification code type that indicates a purpose for using the password
US9507544B2 (en) Information processing apparatus, recording medium, and control method to process print data using filters
US20180253561A1 (en) Information processing apparatus, storage medium, and control method therefor
US8446620B2 (en) Data processing apparatus and data processing method
JP2011242950A (en) Information processor, control method and program
US20230086590A1 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
JP2017068339A (en) Print setting support apparatus and program
US20230102837A1 (en) Non-transitory computer-readable medium storing support program
JP2009053789A (en) Information processor, program, and computer-readable recording medium
JP2013196304A (en) Program and information processor
JP2013041472A (en) Information processor, driver program and recording medium
US9588942B2 (en) Information processing apparatus and information processing method
US8854671B2 (en) Method and apparatus for setting printing option
US11899988B2 (en) Information processing apparatus, control method thereof, and storage medium
JP6007015B2 (en) Image forming apparatus and image forming program
JP7171227B2 (en) Information processing device, its control method and application
JP6186926B2 (en) Program and information processing apparatus
JP2018045436A (en) Information processing apparatus, program, and system
JP2009252116A (en) Information processor, information processing method, and program
JP2014191634A (en) Program and information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141104