JP7035998B2 - Information processing equipment and printing system - Google Patents
Information processing equipment and printing system Download PDFInfo
- Publication number
- JP7035998B2 JP7035998B2 JP2018243006A JP2018243006A JP7035998B2 JP 7035998 B2 JP7035998 B2 JP 7035998B2 JP 2018243006 A JP2018243006 A JP 2018243006A JP 2018243006 A JP2018243006 A JP 2018243006A JP 7035998 B2 JP7035998 B2 JP 7035998B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- printing
- printer
- processing unit
- application
- 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
Links
Images
Description
本発明は、情報処理装置及び印刷システムに関するものである。 The present invention relates to an information processing apparatus and a printing system.
従来、プリンタ、複写機、ファクシミリ、複合機等の印刷装置、例えば、プリンタは、情報処理装置としてのホストコンピュータから印字データが送られると、印字データを編集して画像データを生成し、画像データに従って印刷を行うようになっている。 Conventionally, printing devices such as printers, copiers, facsimiles, and multifunction devices, for example, printers edit print data to generate image data when print data is sent from a host computer as an information processing device, and image data. Printing is performed according to the above.
前記プリンタとしては、印刷の目的、ユーザのニーズ等に合わせ、例えば、A3判の用紙に対する印刷を行うA3判印刷、両面印刷、カラー印刷、高速印刷、高品位印刷、用紙サイズを選択して印刷を行う用紙選択印刷等の各種の機能を有するものが、メーカによって開発され、市場に提供されている。 As the printer, for example, A3 size printing that prints on A3 size paper, double-sided printing, color printing, high-speed printing, high-quality printing, and paper size are selected and printed according to the purpose of printing, user needs, and the like. Paper selection printing and other functions have been developed by manufacturers and are being offered to the market.
そして、ユーザは、価格、ランニングコスト、設置条件、印刷の目的、印刷量等に基づいて所定のプリンタを選択し、購入する。 Then, the user selects and purchases a predetermined printer based on the price, running cost, installation conditions, printing purpose, printing amount, and the like.
したがって、オフィスにおいては、メーカの開発の時期、ユーザの購入の時期等によって異なる機能を有する多種類のプリンタが設置され、ホストコンピュータと各プリンタとが接続されて、印刷システムが形成される。 Therefore, in the office, various types of printers having different functions depending on the time of development by the manufacturer, the time of purchase by the user, and the like are installed, and the host computer and each printer are connected to form a printing system.
該印刷システムにおいては、操作者がホストコンピュータにおいて文書を作成すると、オフィスに設置された複数のプリンタのうちの、作成された文書を印刷するのに必要な機能を有するプリンタが検索され、ホストコンピュータの表示部に表示されるので、操作者は、表示部に表示されたプリンタのうちの所定のプリンタを選択することができる。(例えば、特許文献1参照。)。
In the printing system, when an operator creates a document on the host computer, a printer having a function necessary for printing the created document is searched among a plurality of printers installed in the office, and the host computer is searched for. Since it is displayed on the display unit, the operator can select a predetermined printer from the printers displayed on the display unit. (See, for example,
しかしながら、前記従来の印刷システムにおいては、作成された文書を印刷するのに最適なプリンタを選択するに当たり、操作者が、作成した文書の特性、プリンタが有する機能等を十分に把握している必要があり、表示されたプリンタのうちの最適なプリンタを選択することが困難である。 However, in the conventional printing system, in selecting the most suitable printer for printing the created document, the operator needs to fully understand the characteristics of the created document, the functions of the printer, and the like. It is difficult to select the most suitable printer among the displayed printers.
本発明は、前記従来の印刷システムの問題点を解決して、作成された文書を印刷するのに最適な印刷装置を容易に選択することができる情報処理装置及び印刷システムを提供することを目的とする。 An object of the present invention is to provide an information processing device and a printing system capable of solving the problems of the conventional printing system and easily selecting the optimum printing device for printing the created document. And.
そのために、本発明の情報処理装置においては、各種の文書タイプの文書ファイルの文書を作成するためのアプリケーションと、該アプリケーションの文書印刷処理部を呼び出し、文書ファイルの文書についての印刷を指示する文書印刷アプリケーションと、印刷装置によって文書ファイルの文書を印刷する印刷ドライバとを有する。 Therefore, in the information processing apparatus of the present invention, an application for creating a document of a document file of various document types and a document instructing printing of the document of the document file by calling the document printing processing unit of the application are called. It has a printing application and a printing driver that prints a document of a document file by a printing device.
そして、前記文書印刷アプリケーションは、文書ファイルの文書の内容を解析する文書内容解析処理部による解析結果を表す文書情報、び各印刷装置が有する機能を表す装置機能情報に基づいて、文書ファイルの文書を印刷するのに最適な印刷装置を抽出し、抽出した印刷装置を推奨印刷装置としてコンテキストメニューに追加する。 Then, the document printing application is based on the document information representing the analysis result by the document content analysis processing unit that analyzes the document content of the document file and the device function information representing the function of each printing device. Extract the most suitable printing device for printing, and add the extracted printing device to the context menu as the recommended printing device.
本発明によれば、情報処理装置においては、各種の文書タイプの文書ファイルの文書を作成するためのアプリケーションと、該アプリケーションの文書印刷処理部を呼び出し、文書ファイルの文書についての印刷を指示する文書印刷アプリケーションと、印刷装置によって文書ファイルの文書を印刷する印刷ドライバとを有する。 According to the present invention, in the information processing apparatus, an application for creating a document of a document file of various document types and a document for calling a document printing processing unit of the application and instructing printing of the document of the document file are instructed. It has a printing application and a printing driver that prints a document of a document file by a printing device.
そして、前記文書印刷アプリケーションは、文書ファイルの文書の内容を解析する文書内容解析処理部による解析結果を表す文書情報、及び印刷装置が有する機能を表す装置機能情報に基づいて、文書ファイルの文書を印刷するのに最適な印刷装置を抽出し、抽出した印刷装置を推奨印刷装置としてコンテキストメニューに追加する。 Then, the document printing application prints the document of the document file based on the document information representing the analysis result by the document content analysis processing unit that analyzes the document content of the document file and the device function information representing the function of the printing device. Extract the most suitable printing device for printing, and add the extracted printing device to the context menu as the recommended printing device.
この場合、文書印刷アプリケーションによって、文書ファイルの文書を印刷するのに最適な印刷装置が抽出され、推奨印刷装置としてコンテキストメニューに追加されるので、操作者は、作成した文書の特性、印刷装置が有する機能等を十分に把握していなくても、作成した文書を印刷するのに最適な印刷装置を容易に選択することができる。 In this case, the document printing application extracts the best printing device for printing the document of the document file and adds it to the context menu as the recommended printing device, so that the operator can check the characteristics of the created document and the printing device. Even if you do not fully understand the functions and the like, you can easily select the most suitable printing device for printing the created document.
以下、本発明の実施の形態について図面を参照しながら詳細に説明する。この場合、情報処理装置としてのホストコンピュータ、及び印刷システムについて説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this case, a host computer as an information processing device and a printing system will be described.
図1は本発明の実施の形態における印刷システムを示す概略図、図2は本発明の実施の形態における印刷システムを示す概念図、図3は本発明の実施の形態におけるアプリケーションによって作成される文書の特徴の例を示す図、図4は本発明の実施の形態における文書印刷アプリケーションの構成図、図5は本発明の実施の形態におけるプリンタが有する機能の例を示す図、図6は本発明の実施の形態における文書ファイルの文書情報及び文書の特性の例を示す図である。 1 is a schematic diagram showing a printing system according to an embodiment of the present invention, FIG. 2 is a conceptual diagram showing a printing system according to an embodiment of the present invention, and FIG. 3 is a document created by an application according to an embodiment of the present invention. FIG. 4 is a diagram showing an example of the features of the present invention, FIG. 4 is a configuration diagram of a document printing application according to an embodiment of the present invention, FIG. 5 is a diagram showing an example of a function of a printer according to the embodiment of the present invention, and FIG. It is a figure which shows the example of the document information of the document file, and the characteristic of a document in an embodiment of.
図において、Syは印刷システム、11は情報処理装置としての、かつ、上位装置としてのホストコンピュータ、Pti(i=1、2、…、5)は印刷装置としてのプリンタ、Ntは、ホストコンピュータ11と各プリンタPtiとを接続するLAN等のネットワークである。
In the figure, Sy is a printing system, 11 is a host computer as an information processing device and a higher-level device, Pti (i = 1, 2, ... 5) is a printer as a printing device, and Nt is a
また、Apj(j=1、2、…、)、Apx、Apyは、各種の文書タイプ(ファイル形式)Fej(j=1、2、…、)、Fexの文書ファイルの文書を作成するためにホストコンピュータ11にインストールされたアプリケーション、Dcfはドキュメントフォルダであり、前記各文書ファイルは、文書ごとに類型化され、ドキュメントフォルダDcfに保存される。
In addition, Apj (j = 1, 2, ...,), Apx, Apy are used to create documents of various document types (file formats) Fej (j = 1, 2, ...,), Flex document files. The application, Dcf, installed on the
そして、Papは、前記各アプリケーションApj、Apx、Apyを呼び出し、各種の処理を行う文書印刷アプリケーション、OSはホストコンピュータ11を動作させるオペレーティングシステム、Sprは印刷スプーラである。
Then, Pap is a document printing application that calls each of the above applications Apj, Apx, and Apy to perform various processes, the OS is an operating system that operates the
前記アプリケーションApjは、文書ファイルの文書をホストコンピュータ11の図示されない表示部に表示する文書表示処理部Praj(j=1、2、…)、各文書タイプFejの文書を印刷する文書印刷処理部Prbj(j=1、2、…)、各文書タイプFejの文書の内容を解析する文書内容解析処理部Prcj(j=1、2、…)、並びに文書表示処理部Praj、文書印刷処理部Prbj及び文書内容解析処理部Prcjを外部から、本実施の形態においては、文書印刷アプリケーションPapから呼び出すための図示されないインタフェースを備える。
The application Apj includes a document display processing unit Praj (j = 1, 2, ...) That displays a document of a document file on a display unit (not shown) of the
前記アプリケーションApxは、作成された文書を前記表示部に表示する文書表示処理部Prax、文書タイプFexの文書を印刷する文書印刷処理部Prbx、並びに前記文書表示処理部Prax及び文書印刷処理部Prbxを文書印刷アプリケーションPapから呼び出すための図示されないインタフェースを備えるが、文書内容解析処理部を備えていないので、文書タイプFexの文書の内容を解析することができない。そこで、アプリケーションApxとは別のアプリケーションApyがホストコンピュータ11にプラグインとしてインストールされ、アプリケーションApyが備える文書内容解析処理部Prcyによって文書タイプFexの文書の内容が解析される。
The application Apx includes a document display processing unit Prax that displays the created document on the display unit, a document printing processing unit Prbx that prints a document of document type Fix, and the document display processing unit Prax and the document printing processing unit Prbx. Although it has an interface (not shown) for calling from the document printing application Pap, it cannot analyze the contents of a document of document type Fix because it does not have a document content analysis processing unit. Therefore, an application Apy different from the application Apx is installed as a plug-in on the
なお、操作者がホストコンピュータ11において作成する文書は、図3に示されるように、使用されるアプリケーションApj、Apxによって異る特徴を有し、例えば、「構成」としては、「文字が中心で、図形を含むが少なめ」、「文字及び図形が同程度」、「罫線、塗りつぶし等の表形式、文字が多数」、「単一の図形のみ」、「文字のみ」等の特徴を有し、「カラー/モノクロ」としては、「カラーあり」、「カラーのみ」、「モノクロのみ」等の特徴を有し、「用紙サイズ」としては、「複数の用紙サイズ・縦横混在」、「単一の用紙サイズ」等の特徴を有し、「ページ数」としては、「多い」、「少ない」等の特徴を有する。
As shown in FIG. 3, the document created by the operator on the
また、前記オペレーティングシステムOSは、各アプリケーションApj、Apxの文書印刷処理部Prbj、Prbxによる文書印刷処理のインタフェースとなるグラフィックデバイスインタフェース(Graphic Device Interface(GDI))15、オペレーティングシステムOSにおける設定情報を記録するデータベースであるレジストリ16、及びシェル拡張機能(Shell Extenstion)17を備える。
Further, the operating system OS records setting information in the graphic device interface (Graphic Device Interface (GDI)) 15 which is an interface for document printing processing by the document printing processing unit Prbj and Prbx of each application Apj and Apx, and the operating system OS. It is provided with a
通常、オペレーティングシステムOSは、文書について各種の処理を行うことができるようにコンテキストメニューの機能を有していて、ホストコンピュータ11において表示部の画面にドキュメントフォルダDcfが表示されたときに、操作者がドキュメントフォルダDcfに保存されている文書タイプFej、Fexのうちの所定の文書タイプ、例えば、文書タイプFe1の文書ファイルのアイコンを右クリックする等の、文書ファイルに対する所定の操作を行うと、文書ファイルの文書について、「開く」、「編集」、「印刷」、「送る」、「切り取り」、「コピー」、「ショートカットの作成」等の複数の項目から成るコンテキストメニューが開かれ、所定の項目、例えば、「印刷」を選択すると、ホストコンピュータ11に接続されているプリンタPtiのうちの、デフォルトに設定されたプリンタによって文書ファイルの文書についての印刷処理が行われる。
Normally, the operating system OS has a context menu function so that various processes can be performed on the document, and when the document folder Dcf is displayed on the screen of the display unit on the
そして、前記印刷スプーラSprは、グラフィックデバイスインタフェース15の印刷命令によって各プリンタPtiの印刷ドライバとしてのプリンタドライバDri(i=1、2、…、4)を呼び出して文書ファイルのデータを処理する。
Then, the print spooler Spr calls the printer driver Dri (i = 1, 2, ..., 4) as the print driver of each printer Pti by the print command of the
各プリンタドライバDriは、プリンタインタフェース(プリンタIF)を介して各プリンタPtiと接続され、各プリンタPtiによる印刷を行う。 Each printer driver Dri is connected to each printer Pti via a printer interface (printer IF), and prints by each printer Pti.
ところで、操作者がホストコンピュータ11において作成した文書は、使用されたアプリケーションApj、Apxによって特徴が異なるので、デフォルトに設定されたプリンタが有する機能では適正に印刷を行えないことがある。
By the way, since the characteristics of the document created by the operator on the
その場合、操作者は、デフォルトに設定されたプリンタ以外のプリンタを選択して印刷を行うことができるが、各プリンタPtiが有する機能を把握していないと、最適なプリンタPtiを選択することができない。 In that case, the operator can select a printer other than the default printer for printing, but if he / she does not understand the functions of each printer Pti, he / she may select the optimum printer Pti. Can not.
例えば、図形が多い文書の場合、高精細なカラーの画像を形成することによって画像品位を向上させることができるので、高品位印刷の機能を有するプリンタPtiを選択するのが好ましいが、各プリンタPtiが有する機能を把握していないと、操作者は最適なプリンタPtiを選択することができない。 For example, in the case of a document having many figures, the image quality can be improved by forming a high-definition color image. Therefore, it is preferable to select a printer Pti having a high-quality printing function, but each printer Pti Without knowing the functions of the printer, the operator cannot select the optimum printer Pti.
また、文字が多く、ページ数が多い文書の場合、用紙、トナー等の消耗品のコストが低く、両面印刷及び高速印刷の機能を有するプリンタPtiを選択するのが好ましいが、各プリンタPtiが有する機能を把握していないと、操作者は最適なプリンタPtiを選択することができず、消耗品のコストが高くなってしまう。 Further, in the case of a document having many characters and a large number of pages, it is preferable to select a printer Pti having a low cost of consumables such as paper and toner and a function of double-sided printing and high-speed printing, but each printer Pti has. Without understanding the functions, the operator cannot select the optimum printer Pti, and the cost of consumables increases.
各プリンタPtiが有する機能を知るには、取扱説明書、カタログ等を参照したり、各プリンタPtiのプリンタドライバDriの設定画面を開いたりして確認する必要があるが、そのための作業が煩わしいだけでなく、各プリンタPtiが有する機能を正確に知ることが困難である。 In order to know the functions of each printer Pti, it is necessary to refer to the instruction manual, catalog, etc., or open the setting screen of the printer driver Dri of each printer Pti, but the work for that is only troublesome. However, it is difficult to accurately know the functions of each printer Pti.
さらに、同じアプリケーションで作成された文書でも、各文書ファイルごとに、「構成」、「カラー/モノクロ」、「用紙サイズ」、「ページ数」等の特徴が異なることがあり、操作者は最適なプリンタPtiを選択することができない。 Furthermore, even documents created with the same application may have different characteristics such as "composition", "color / monochrome", "paper size", and "number of pages" for each document file, which is optimal for the operator. Unable to select printer Pti.
また、各文書ファイルの文書の特徴を知るには、アプリケーションで各文書ファイルを開き、表示部に表示された文書を目視することによって確認する必要があるが、そのための作業が煩わしいだけでなく、各文書ファイルの文書の特徴を正確に知ることが困難である。 In addition, in order to know the characteristics of the document of each document file, it is necessary to open each document file with an application and visually check the document displayed on the display unit, but the work for that is not only troublesome but also. It is difficult to know the exact document characteristics of each document file.
そこで、本実施の形態においては、前記文書印刷アプリケーションPapによって、シェル拡張機能17が備えるインタフェースを介してコンテキストメニューを編集することができるようにようになっている。
Therefore, in the present embodiment, the document printing application Pap allows the context menu to be edited via the interface provided in the
そのために、文書印刷アプリケーションPapは、文書の特徴で表される文書情報に基づいて文書の特性を判定し、文書の特性、及び各プリンタPtiが有する機能に基づいて、文書を印刷するのに最適なプリンタを抽出し、抽出したプリンタによる印刷を、シェル拡張機能17を介してコンテキストメニューの項目として追加する。
Therefore, the document printing application Pap is most suitable for determining the characteristics of a document based on the document information represented by the characteristics of the document and printing the document based on the characteristics of the document and the functions of each printer Pti. The printer is extracted, and the printing by the extracted printer is added as an item of the context menu via the
次に、文書印刷アプリケーションPapについて説明する。 Next, the document printing application Pap will be described.
文書印刷アプリケーションPapは、操作者がコンテキストメニューを開いたときに、各アプリケーションApj、Apyの文書内容解析処理部Prcj、Prcyを呼び出し、シェル拡張機能17によって、文書印刷アプリケーションPapによる印刷動作の項目を追加することによりコンテキストメニューを編集して更新し、更新したコンテキストメニューを登録する。追加された項目を操作者が選択すると、文書印刷アプリケーションPapは、各アプリケーションApj、Apyの文書印刷処理部Prbj、Prbxを呼び出し、グラフィックデバイスインタフェース15を介してプリンタドライバDriに印刷命令を送り、各プリンタPtiによる印刷を行う。
When the operator opens the context menu, the document printing application Pap calls the document content analysis processing units Prcj and Prcy of each application Apj and Apy, and the
そのために、文書印刷アプリケーションPapは、文書情報取得処理部Pr1、装置情報取得処理部としてのプリンタ情報取得処理部Pr2、装置抽出処理部としてのプリンタ抽出処理部Pr3、メニュー編集処理部としてのコンテキストメニュー編集処理部Pr4、メニュー更新処理部としてのコンテキストメニュー更新処理部Pr5、印刷指示処理部Pr6、記憶装置としてのマッチングテーブルTbm等を備える。 Therefore, the document printing application Pap has a document information acquisition processing unit Pr1, a printer information acquisition processing unit Pr2 as a device information acquisition processing unit, a printer extraction processing unit Pr3 as a device extraction processing unit, and a context menu as a menu editing processing unit. It includes an edit processing unit Pr4, a context menu update processing unit Pr5 as a menu update processing unit, a print instruction processing unit Pr6, a matching table Tbm as a storage device, and the like.
そして、前記プリンタ抽出処理部Pr3は、特性判定部Pr31、及び装置判定部としてのマッチングテーブル検索処理部Pr32を備え、前記印刷指示処理部Pr6は、印刷設定部Pr61及び文書印刷指示部Pr62を備える。 The printer extraction processing unit Pr3 includes a characteristic determination unit Pr31 and a matching table search processing unit Pr32 as a device determination unit, and the print instruction processing unit Pr6 includes a print setting unit Pr61 and a document print instruction unit Pr62. ..
前記文書情報取得処理部Pr1は、アプリケーションApj、Apyの文書内容解析処理部Prcj、Prcyを呼び出し、該文書内容解析処理部Prcj、Prcyによる文書ファイルの文書の内容の解析結果を文書情報として取得する。 The document information acquisition processing unit Pr1 calls the document content analysis processing units Prcj and Prcy of the applications Apj and Apy, and acquires the analysis result of the document contents of the document file by the document content analysis processing units Prcj and Prcy as document information. ..
なお、文書内容解析処理部Prcjは、アプリケーションApjが備える前記インタフェースを介して呼び出され、文書内容解析処理部Prcyは、アプリケーションApyが備える図示されないインタフェースを介して呼び出される。 The document content analysis processing unit Prcj is called via the interface included in the application Application, and the document content analysis processing unit Prcy is called via an interface (not shown) included in the application Application.
また、前記プリンタ情報取得処理部Pr2は、プリンタドライバDriからプリンタPtiの情報、本実施の形態においては、プリンタPtiが有する機能を取得し、解析し、装置機能情報としてのプリンタ機能情報とし、前記マッチングテーブルTbmに記録する。 Further, the printer information acquisition processing unit Pr2 acquires and analyzes the information of the printer Pti from the printer driver Dri and the function of the printer Pti in the present embodiment, and obtains the printer function information as the device function information. Record in the matching table Tbm.
例えば、図5に示されるように、各プリンタPtiは、「A3判印刷」、「両面印刷」、「カラー印刷」、「高速印刷」、「高品位印刷」及び「用紙選択印刷」の各機能のうちの、○が付与された機能を有する。 For example, as shown in FIG. 5, each printer Pti has each function of "A3 size printing", "double-sided printing", "color printing", "high-speed printing", "high-definition printing", and "paper selection printing". Of these, it has a function to which ○ is given.
そして、プリンタ抽出処理部Pr3は、前記文書情報取得処理部Pr1が取得した文書情報に基づいてプリンタPtiを抽出する。 Then, the printer extraction processing unit Pr3 extracts the printer Pti based on the document information acquired by the document information acquisition processing unit Pr1.
そのために、プリンタ抽出処理部Pr3の前記特性判定部Pr31は、文書情報取得処理部Pr1が取得した文書情報を読み込み、該文書情報に基づいて文書の特性を判定する。 Therefore, the characteristic determination unit Pr31 of the printer extraction processing unit Pr3 reads the document information acquired by the document information acquisition processing unit Pr1 and determines the characteristics of the document based on the document information.
例えば、図6に示されるように、文書情報取得処理部Pr1が取得する文書情報は、「用紙サイズ」、「ページ数」、「カラーデータの有無」、「図形データの有無」等から成り、文書情報に基づいて判定される文書の特性は、例えば、「A3判印刷/両面印刷/カラー印刷/高品位印刷」、「カラー印刷/高品位印刷」、「両面印刷/高速印刷」、「両面印刷/高速印刷/用紙選択印刷」等から成る。 For example, as shown in FIG. 6, the document information acquired by the document information acquisition processing unit Pr1 includes "paper size", "number of pages", "presence / absence of color data", "presence / absence of graphic data", and the like. The characteristics of the document determined based on the document information are, for example, "A3 size printing / double-sided printing / color printing / high-quality printing", "color printing / high-quality printing", "double-sided printing / high-speed printing", and "double-sided printing". It consists of "printing / high-speed printing / paper selection printing" and the like.
また、プリンタ抽出処理部Pr3の前記マッチングテーブル検索処理部Pr32は、マッチングテーブルTbmに記録された前記プリンタ機能情報を参照して、各プリンタPtiが文書の特性に対応する機能を有するかどうかを判断し、判断結果に基づいて、文書タイプFej、Fexの文書ファイルの文書を印刷するのに最適なプリンタを抽出する。 Further, the matching table search processing unit Pr32 of the printer extraction processing unit Pr3 determines whether or not each printer Pti has a function corresponding to the characteristics of the document by referring to the printer function information recorded in the matching table Tbm. Then, based on the judgment result, the most suitable printer for printing the document of the document file of the document type Fej and Fex is extracted.
そして、前記コンテキストメニュー編集処理部Pr4は、プリンタ抽出処理部Pr3によって抽出されたプリンタPtiを推奨印刷装置としての推奨プリンタとし、推奨プリンタの項目、及び推奨プリンタが有する機能の項目を追加することにより、コンテキストメニューを編集する。 Then, the context menu editing processing unit Pr4 makes the printer Pti extracted by the printer extraction processing unit Pr3 a recommended printer as a recommended printing device, and adds an item of the recommended printer and an item of the function possessed by the recommended printer. , Edit the context menu.
また、前記コンテキストメニュー更新処理部Pr5は、コンテキストメニュー編集処理部Pr4によって編集されたコンテキストメニューを更新し、レジストリ16に登録する。
Further, the context menu update processing unit Pr5 updates the context menu edited by the context menu editing processing unit Pr4 and registers it in the
したがって、操作者は、文書タイプFej、Fexの文書ファイルのアイコンを右クリックすることによってコンテキストメニューを開き、前記プリンタPtiを選択し、プリンタPtiが有する各機能を選択して、文書ファイルの文書について印刷を行うことができる。 Therefore, the operator opens the context menu by right-clicking the icon of the document file of the document type Fej, Fex, selects the printer Pti, selects each function of the printer Pti, and selects the document of the document file. You can print.
そして、コンテキストメニューの項目が選択され、プリンタPtiが選択され、機能が選択されると、印刷指示処理部Pr6は、アプリケーションApj、Apxの文書印刷処理部Prbj、Prbxを呼び出し、該文書印刷処理部Prbj、Prbxに、プリンタ抽出処理部Pr3によって抽出されたプリンタPtiによる印刷を指示する。 Then, when the item of the context menu is selected, the printer Pti is selected, and the function is selected, the print instruction processing unit Pr6 calls the document printing processing units Prbj and Prbx of the applications Apj and Apx, and the document printing processing unit. Instructs Prbj and Prbx to print by the printer Pti extracted by the printer extraction processing unit Pr3.
そのために、前記印刷設定部Pr61は、操作者が、更新されたコンテキストメニューから推奨プリンタであるプリンタPtiを選択し、プリンタPtiが有する機能を選択すると、プリンタPtiについて前記文書の特性に応じた印刷設定をプリンタドライバDriに設定する。また、印刷指示処理部Pr6の文書印刷指示部Pr62は、文書印刷処理部Prbj、Prbxに、文書ファイルの文書について、印刷設定部Pr61によってプリンタドライバDriに設定された印刷設定で印刷を行うように指示する。 Therefore, when the operator selects the printer Pti, which is the recommended printer, from the updated context menu and selects the function of the printer Pti, the print setting unit Pr61 prints the printer Pti according to the characteristics of the document. Set the settings in the printer driver Dri. Further, the document print instruction unit Pr62 of the print instruction processing unit Pr6 prints the document of the document file to the document print processing units Prbj and Prbx with the print settings set in the printer driver Dri by the print setting unit Pr61. Instruct.
この場合、プリンタ抽出処理部Pr3が、文書情報取得処理部Pr1が取得した文書情報及び各プリンタPtiが有する機能に基づいて、文書ファイルの文書を印刷するのに最適なプリンタを抽出するので、操作者は、アプリケーションApj、Apxを開くことなく、最適なプリンタPtiを選択することができる。 In this case, the printer extraction processing unit Pr3 extracts the optimum printer for printing the document of the document file based on the document information acquired by the document information acquisition processing unit Pr1 and the function of each printer Pti. Can select the optimum printer Pti without opening the applications Apj and Apx.
次に、前記文書印刷アプリケーションPapがインストールされるときのインストーラの動作について説明する。 Next, the operation of the installer when the document printing application Pap is installed will be described.
図7は本発明の実施の形態における文書印刷アプリケーションのインストーラの動作を示すフローチャートである。 FIG. 7 is a flowchart showing the operation of the installer of the document printing application according to the embodiment of the present invention.
インストーラは、文書印刷アプリケーションPapをインストールするときに、コンテキストメニューの項目を追加するために、シェル拡張機能17で参照されるレジストリ16に、文書ファイルの文書と文書印刷アプリケーションPapとを関連付けるファイル関連付け情報を書き込む。
When the installer installs the document printing application Pap, the file association information that associates the document of the document file with the document printing application Pap in the
これにより、文書ファイルの文書が選択されると、文書印刷アプリケーションPapが呼び出される。 As a result, when the document of the document file is selected, the document printing application Pap is called.
次に、フローチャートについて説明する。
ステップS1 インストーラはレジストリ16にファイル関連付け情報を書き込み、処理を終了する。
Next, the flowchart will be described.
Step S1 The installer writes the file association information to the
次に、文書印刷アプリケーションPapの動作、すなわち、操作者が、ホストコンピュータ11の表示部に表示された文書ファイルのうちの、文書について印刷を行おうとする文書ファイルを選択したときに、各プリンタPtiのうちの所定のプリンタを抽出し、抽出したプリンタについてコンテキストメニューを編集する動作について説明する。この場合、操作者が文書タイプFej、Fexのうちの文書タイプFe1の文書ファイルを選択した場合について説明する。
Next, when the operation of the document printing application Pap, that is, when the operator selects a document file to be printed on the document from the document files displayed on the display unit of the
図8は本発明の実施の形態における文書印刷アプリケーションの動作を示すフローチャート、図9は本発明の実施の形態における表示部に表示されるコンテキストメニューの例を示す図である。 FIG. 8 is a flowchart showing the operation of the document printing application according to the embodiment of the present invention, and FIG. 9 is a diagram showing an example of a context menu displayed on the display unit according to the embodiment of the present invention.
図において、ds1は表示部に形成される画面、Fe1~Fe6は、画面ds1に表示されたドキュメントフォルダDcf(図1)に保持される文書ファイルの文書タイプである。 In the figure, ds1 is a screen formed on the display unit, and Fe1 to Fe6 are document types of document files stored in the document folder Dcf (FIG. 1) displayed on the screen ds1.
操作者が、表示部に形成された画面ds1において文書タイプFe1の文書ファイルを選択し、アイコンを右クリックすると、文書情報取得処理部Pr1(図4)は、文書情報取得処理を行い、選択された文書ファイルの文書タイプFe1に対応するアプリケーションAp1を選択し、アプリケーションAp1のインタフェースを介して文書内容解析処理部Prc1を呼び出し、文書内容解析処理部Prc1による文書の内容の解析結果を文書情報として取得する。 When the operator selects a document file of document type Fe1 on the screen ds1 formed on the display unit and right-clicks the icon, the document information acquisition processing unit Pr1 (FIG. 4) performs the document information acquisition process and is selected. Select the application Ap1 corresponding to the document type Fe1 of the document file, call the document content analysis processing unit Prc1 via the interface of the application Ap1, and acquire the analysis result of the document content by the document content analysis processing unit Prc1 as document information. do.
続いて、プリンタ情報取得処理部Pr2は、プリンタ情報取得処理を行い、プリンタドライバDriからプリンタPtiが有する機能を取得し、解析し、プリンタ機能情報を生成してマッチングテーブルTbmに記録する。 Subsequently, the printer information acquisition processing unit Pr2 performs printer information acquisition processing, acquires the function of the printer Pti from the printer driver Dri, analyzes it, generates the printer function information, and records it in the matching table Tbm.
次に、プリンタ抽出処理部Pr3は、プリンタ抽出処理を行い、文書情報取得処理部Pr1によって取得された文書情報に基づいて文書の特性を判定し、文書の特性に対応する機能を有する、文書を印刷するのに最適なプリンタを抽出する。 Next, the printer extraction processing unit Pr3 performs the printer extraction processing, determines the characteristics of the document based on the document information acquired by the document information acquisition processing unit Pr1, and has a function corresponding to the characteristics of the document. Extract the best printer for printing.
文書の特性に適応するプリンタが抽出されると、コンテキストメニュー編集処理部Pr4は、コンテキストメニュー編集処理を行い、プリンタ抽出処理部Pr3によって抽出されたプリンタPtiである推奨プリンタ、及び該推奨プリンタが有する機能の項目を追加することにより、コンテキストメニューMenを編集する。 When a printer suitable for the characteristics of the document is extracted, the context menu editing processing unit Pr4 performs the context menu editing processing, and the recommended printer which is the printer Pti extracted by the printer extraction processing unit Pr3 and the recommended printer have. Edit the context menu Men by adding a feature item.
そして、コンテキストメニュー更新処理部Pr5は、コンテキストメニュー編集処理部Pr4によって編集されたコンテキストメニューMenを更新し、レジストリ16に登録する。
Then, the context menu update processing unit Pr5 updates the context menu Men edited by the context menu editing processing unit Pr4 and registers it in the
したがって、画面ds1において文書タイプFe1の文書ファイルのアイコンが右クリックされると、コンテキストメニューMenが編集され、更新されたコンテキストメニューMenが開かれ、該コンテキストメニューMenの第1のメニューq1に、「開く(T)」、「編集(U)」、「印刷(V)」、「OKIプリンタで印刷(O)」、「送る(W)」、「切り取り(X)」、「コピー(Y)」、「ショートカットの作成(Z)」等の項目が表示される。 Therefore, when the icon of the document file of the document type Fe1 is right-clicked on the screen ds1, the context menu Men is edited, the updated context menu Men is opened, and the first menu q1 of the context menu Men is displayed as " Open (T) ”,“ Edit (U) ”,“ Print (V) ”,“ Print with OKI Printer (O) ”,“ Send (W) ”,“ Cut (X) ”,“ Copy (Y) ” , "Create shortcut (Z)" and other items are displayed.
この場合、「OKIプリンタで印刷(O)」は、プリンタ抽出処理部Pr3によって推奨プリンタが抽出されたことを表す項目であり、操作者が「OKIプリンタで印刷(O)」の項目を選択すると、コンテキストメニューMenの第2のメニューq2が開かれ、該第2のメニューq2に、「おすすめのプリンター:C841(C)」、「A3プリンターで印刷(A)」、「カラーで印刷(W)」、「両面で印刷(X)」、「きれいに印刷(Y)」、「エコに印刷(Z)」、「全てのOKIプリンター(O)」等の項目が表示される。 In this case, "Print with OKI printer (O)" is an item indicating that the recommended printer has been extracted by the printer extraction processing unit Pr3, and when the operator selects the item of "Print with OKI printer (O)". , The second menu q2 of the context menu Men is opened, and in the second menu q2, "Recommended printer: C841 (C)", "Print with A3 printer (A)", "Print in color (W)" , "Print on both sides (X)", "Print neatly (Y)", "Print eco-friendly (Z)", "All OKI printers (O)" and so on are displayed.
この場合、「おすすめのプリンター:C841(C)」は、抽出された推奨プリンタを表す項目であり、「A3プリンターで印刷(A)」、「カラーで印刷(W)」、「両面で印刷(X)」、「きれいに印刷(Y)」、「エコに印刷(Z)」、「全てのOKIプリンター(O)」等は、抽出された推奨プリンタが有する各機能を表す項目である。 In this case, "Recommended printer: C841 (C)" is an item representing the extracted recommended printer, and is "Print with A3 printer (A)", "Print with color (W)", and "Print on both sides (Print on both sides)". "X)", "Print cleanly (Y)", "Print eco-friendly (Z)", "All OKI printers (O)" and the like are items representing each function of the extracted recommended printer.
そして、操作者が、第2のメニューq2において機能が表示された各項目のうちの所定の項目を指定すると、各機能のうちの所定の機能が選択され、印刷指示処理部Pr6は、印刷指示処理を行い、印刷設定部Pr61によって、コンテキストメニューMenにおいて選択された推奨プリンタについて、また、選択された機能に基づいて、文書の特性に応じた印刷設定をドライバに設定し、文書印刷指示部Pr62によって、文書印刷処理部Prb1を呼び出し、該文書印刷処理部Prb1に、推奨プリンタによって、設定された印刷設定で印刷を行うように指示する。 Then, when the operator specifies a predetermined item among the items whose functions are displayed in the second menu q2, the predetermined function among the functions is selected, and the print instruction processing unit Pr6 gives a print instruction. After processing, the print setting unit Pr61 sets the printer settings according to the characteristics of the document for the recommended printer selected in the context menu Men, and based on the selected function, to the document print instruction unit Pr62. Calls the document print processing unit Prb1 and instructs the document print processing unit Prb1 to print with the print settings set by the recommended printer.
次に、フローチャートについて説明する。
ステップS11 操作者が文書ファイルを選択する。
ステップS12 文書情報取得処理部Pr1は文書情報取得処理を行う。
ステップS13 プリンタ情報取得処理部Pr2はプリンタ情報取得処理を行う。
ステップS14 プリンタ抽出処理部Pr3はプリンタ抽出処理を行う。
ステップS15 コンテキストメニュー編集処理部Pr4はコンテキストメニュー編集処理を行う。
ステップS16 コンテキストメニュー更新処理部Pr5はコンテキストメニューMenを更新する。
ステップS17 印刷指示処理部Pr6は印刷指示処理を行い、処理を終了する。
Next, the flowchart will be described.
Step S11 The operator selects a document file.
Step S12 The document information acquisition processing unit Pr1 performs the document information acquisition processing.
Step S13 The printer information acquisition processing unit Pr2 performs printer information acquisition processing.
Step S14 The printer extraction processing unit Pr3 performs the printer extraction processing.
Step S15 The context menu editing processing unit Pr4 performs the context menu editing processing.
Step S16 The context menu update processing unit Pr5 updates the context menu Men.
Step S17 The print instruction processing unit Pr6 performs print instruction processing and ends the processing.
次に、プリンタ抽出処理部Pr3によるプリンタ抽出処理について説明する。 Next, the printer extraction process by the printer extraction process unit Pr3 will be described.
図10は本発明の実施の形態におけるプリンタ抽出処理のサブルーチンを示す図である。 FIG. 10 is a diagram showing a subroutine of printer extraction processing according to the embodiment of the present invention.
まず、プリンタ抽出処理部Pr3の特性判定部Pr31は、特性判定処理を行い、文書情報取得処理部Pr1が取得した文書情報を読み込み、文書情報に基づいて文書の特性を判定する。 First, the characteristic determination unit Pr31 of the printer extraction processing unit Pr3 performs characteristic determination processing, reads the document information acquired by the document information acquisition processing unit Pr1, and determines the characteristics of the document based on the document information.
次に、プリンタ抽出処理部Pr3のマッチングテーブル検索処理部Pr32は、マッチングテーブル検索処理を行い、マッチングテーブルTbmに記録されたプリンタ機能情報を参照して、各プリンタPtiが、前記特性判定部Pr31によって判定された文書の特性に対応する機能を有するかどうかを判断し、判断結果に基づいて所定のプリンタを抽出する。 Next, the matching table search processing unit Pr32 of the printer extraction processing unit Pr3 performs the matching table search processing, and with reference to the printer function information recorded in the matching table Tbm, each printer Pti is subjected to the characteristic determination unit Pr31. It is determined whether or not it has a function corresponding to the characteristics of the determined document, and a predetermined printer is extracted based on the determination result.
次に、フローチャートについて説明する。
ステップS14-1 特性判定部Pr31は特性判定処理を行う。
ステップS14-2 マッチングテーブル検索処理部Pr32はマッチングテーブル検索処理を行い、リターンする。
Next, the flowchart will be described.
Step S14-1 The characteristic determination unit Pr31 performs a characteristic determination process.
Step S14-2 The matching table search processing unit Pr32 performs the matching table search process and returns.
次に、特性判定部Pr31による特性判定処理について説明する。 Next, the characteristic determination process by the characteristic determination unit Pr31 will be described.
図11は本発明の実施の形態における特性判定処理のサブルーチンを示す第1の図、図12は本発明の実施の形態における特性判定処理のサブルーチンを示す第2の図である。 FIG. 11 is a first diagram showing a subroutine of characteristic determination processing according to the embodiment of the present invention, and FIG. 12 is a second diagram showing a subroutine of characteristic determination processing according to the embodiment of the present invention.
まず、特性判定部Pr31は、文書情報取得処理部Pr1が取得した文書情報を読み込み、ページ数が2ページ以上であるかどうかを判断し、ページ数が2ページ以上である場合、文書の特性は両面印刷であると判定し、続いて、用紙サイズがA4判以上であるかどうかを判断し、用紙サイズがA4判以上である場合、文書の特性はA3判印刷であると判定する。 First, the characteristic determination unit Pr31 reads the document information acquired by the document information acquisition processing unit Pr1 and determines whether or not the number of pages is two or more. If the number of pages is two or more, the characteristic of the document is It is determined that double-sided printing is performed, and then whether or not the paper size is A4 size or larger is determined. If the paper size is A4 size or larger, it is determined that the characteristic of the document is A3 size printing.
また、特性判定部Pr31は、図形データがあるかどうかを判断し、図形データがある場合、さらに、図形データが多いかどうかを判断し、図形データがあり、しかも多い場合、文書の特性は高品位印刷であると判定する。 Further, the characteristic determination unit Pr31 determines whether or not there is graphic data, and if there is graphic data, further determines whether or not there is a large amount of graphic data, and if there is graphic data and there is a large amount of graphic data, the characteristics of the document are high. Judged as high quality printing.
そして、特性判定部Pr31は、カラーデータがあるかどうかを判断し、カラーデータがある場合、文書の特性はカラー印刷であると判定し、続いて、ページ数が多いかどうかを判断し、ページ数が多い場合、文書の特性は高速印刷であると判定し、さらに、ページ数が200ページ以上であるかどうかを判断し、ページ数が200ページ以上である場合、文書の特性は用紙選択印刷であると判定する。 Then, the characteristic determination unit Pr31 determines whether or not there is color data, and if there is color data, determines that the characteristic of the document is color printing, and then determines whether or not the number of pages is large, and the page. If the number is large, it is determined that the characteristic of the document is high-speed printing, and if the number of pages is 200 or more, it is determined. If the number of pages is 200 or more, the characteristic of the document is paper selection printing. Is determined to be.
次に、フローチャートについて説明する。
ステップS14-1-1 特性判定部Pr31はページ数が2ページ以上であるかどうかを判断する。ページ数が2ページ以上である場合はステップS14-1-2に進み、ページ数が2ページより少ない場合はステップS14-1-3に進む。
ステップS14-1-2 特性判定部Pr31は文書の特性は両面印刷であると判定する。
ステップS14-1-3 特性判定部Pr31は用紙サイズがA4判以上であるかどうかを判断する。用紙サイズがA4判以上である場合はステップS14-1-4に進み、用紙サイズがA4判より小さい場合はステップS14-1-5に進む。
ステップS14-1-4 特性判定部Pr31は文書の特性はA3判印刷であると判定する。
ステップS14-1-5 特性判定部Pr31は図形データがあるかどうかを判断する。図形データがある場合はステップS14-1-6に進み、図形データがない場合はステップS14-1-8に進む。
ステップS14-1-6 特性判定部Pr31は図形データが多いかどうかを判断する。図形データが多い場合はステップS14-1-7に進み、図形データが少ない場合はステップS14-1-8に進む。
ステップS14-1-7 特性判定部Pr31は文書の特性は高品位印刷であると判定する。
ステップS14-1-8 特性判定部Pr31はカラーデータがあるかどうかを判断する。カラーデータがある場合はステップS14-1-9に進み、カラーデータがない場合はステップS14-1-10に進む。
ステップS14-1-9 特性判定部Pr31は文書の特性はカラー印刷であると判定する。
ステップS14-1-10 特性判定部Pr31はページ数が多いかどうかを判断する。ページ数が多い場合はステップS14-1-11に進み、ページ数が少ない場合はリターンする。
ステップS14-1-11 特性判定部Pr31は文書の特性は高速印刷であると判定する。
ステップS14-1-12 特性判定部Pr31はページ数が200ページ以上であるかどうかを判断する。ページ数が200ページ以上である場合はステップS14-1-13に進み、ページ数が200ページより少ない場合はリターンする。
ステップS14-1-13 特性判定部Pr31は文書の特性は用紙選択印刷であると判定し、リターンする。
Next, the flowchart will be described.
Step S14-1-1 The characteristic determination unit Pr31 determines whether or not the number of pages is two or more. If the number of pages is two or more, the process proceeds to step S14-1-2, and if the number of pages is less than two, the process proceeds to step S14-1--3.
Step S14-1-2 The characteristic determination unit Pr31 determines that the characteristic of the document is double-sided printing.
Step S14-1-3 The characteristic determination unit Pr31 determines whether or not the paper size is A4 size or larger. If the paper size is A4 size or larger, the process proceeds to step S14-1-4, and if the paper size is smaller than the A4 size, the process proceeds to step S14-1-5.
Step S14-1-4 The characteristic determination unit Pr31 determines that the characteristic of the document is A3 size printing.
Step S14-1-5 The characteristic determination unit Pr31 determines whether or not there is graphic data. If there is graphic data, the process proceeds to step S14-1-6, and if there is no graphic data, the process proceeds to step S14-1-8.
Step S14-1-6 The characteristic determination unit Pr31 determines whether or not there is a large amount of graphic data. If there is a lot of graphic data, the process proceeds to step S14-1-7, and if there is little graphic data, the process proceeds to step S14-1-8.
Step S14-1-7 The characteristic determination unit Pr31 determines that the characteristic of the document is high-quality printing.
Step S14-1-8 The characteristic determination unit Pr31 determines whether or not there is color data. If there is color data, the process proceeds to step S14-1-9, and if there is no color data, the process proceeds to step S14-1-10.
Step S14-1-9 The characteristic determination unit Pr31 determines that the characteristic of the document is color printing.
Step S14-1-10 The characteristic determination unit Pr31 determines whether or not the number of pages is large. If the number of pages is large, the process proceeds to step S14-1-11, and if the number of pages is small, the process returns.
Step S14-111 The characteristic determination unit Pr31 determines that the characteristic of the document is high-speed printing.
Step S14-1-12 The characteristic determination unit Pr31 determines whether or not the number of pages is 200 or more. If the number of pages is 200 or more, the process proceeds to step S14-1-13, and if the number of pages is less than 200, the process returns.
Step S14-1-13 The characteristic determination unit Pr31 determines that the characteristic of the document is paper selection printing, and returns.
次に、マッチングテーブル検索処理部Pr32によるマッチングテーブル検索処理について説明する。 Next, the matching table search processing by the matching table search processing unit Pr32 will be described.
図13は本発明の実施の形態におけるマッチングテーブル検索処理のサブルーチンを示す図である。 FIG. 13 is a diagram showing a subroutine of matching table search processing according to the embodiment of the present invention.
プリンタ抽出処理部Pr3のマッチングテーブル検索処理部Pr32は、各プリンタPtiを表す変数mに1をセットし、マッチングテーブルTbmに記録されたプリンタ機能情報を読み込み、各プリンタPtiのうちの、マッチングテーブル検索処理を行う対象となる最初のプリンタについて、前記特性判定部Pr31によって判定された文書の特性とプリンタが有する機能とを比較し、文書の特性と一致する機能の数をマッチング数として算出する。 The matching table search processing unit Pr32 of the printer extraction processing unit Pr3 sets 1 in the variable m representing each printer Pti, reads the printer function information recorded in the matching table Tbm, and searches the matching table in each printer Pti. For the first printer to be processed, the characteristics of the document determined by the characteristic determination unit Pr31 are compared with the functions of the printer, and the number of functions matching the characteristics of the document is calculated as the matching number.
続いて、マッチングテーブル検索処理部Pr32は、変数mがプリンタPtiの個数であるMを超えたかどうかを判断し、変数mがプリンタPtiの個数であるMを超えなかった場合、変数mをインクリメントし、次のプリンタについて、文書の特性とプリンタが有する機能とを比較し、文書の特性と一致する機能の数をマッチング数として算出する。 Subsequently, the matching table search processing unit Pr32 determines whether or not the variable m exceeds M, which is the number of printers Pti, and if the variable m does not exceed M, which is the number of printers Pti, increments the variable m. For the next printer, the characteristics of the document and the functions of the printer are compared, and the number of functions that match the characteristics of the document is calculated as the matching number.
このようにして、すべてのプリンタPtiについてマッチング数を算出し、変数mがプリンタPtiの個数であるMを超えた場合、マッチングテーブル検索処理部Pr32は、各プリンタPtiのうちのマッチング数が最も多いプリンタPtiを抽出する。 In this way, the number of matchings is calculated for all printers Pti, and when the variable m exceeds M, which is the number of printers Pti, the matching table search processing unit Pr32 has the largest number of matchings among each printer Pti. Extract the printer Pti.
次に、フローチャートについて説明する。
ステップS14-2-1 マッチングテーブル検索処理部Pr32は変数mに1をセットする。
ステップS14-2-2 マッチングテーブル検索処理部Pr32はプリンタ機能情報を読み込む。
ステップS14-2-3 マッチングテーブル検索処理部Pr32は文書の特性と一致する機能のマッチング数を算出する。
ステップS14-2-4 マッチングテーブル検索処理部Pr32は変数mがプリンタPtiの個数であるMを超えたかどうかを判断する。変数mがMを超えた場合はステップS14-2-6に進み、変数mがMを超えなかった場合はステップS14-2-5に進む。
ステップS14-2-5 マッチングテーブル検索処理部Pr32は変数mをインクリメントし、ステップS14-2-3に戻る。
ステップS14-2-6 マッチングテーブル検索処理部Pr32は各プリンタPtiのうちのマッチング数が最も多いプリンタPtiを抽出し、リターンする。
Next, the flowchart will be described.
Step S14-2-1 The matching table search processing unit Pr32 sets the variable m to 1.
Step S14-2-2 The matching table search processing unit Pr32 reads the printer function information.
Step S14-2-3 The matching table search processing unit Pr32 calculates the number of matching functions that match the characteristics of the document.
Step S14-2-4 The matching table search processing unit Pr32 determines whether or not the variable m exceeds M, which is the number of printers Pti. If the variable m exceeds M, the process proceeds to step S14-2-6, and if the variable m does not exceed M, the process proceeds to step S14-2-5.
Step S14-2-5 The matching table search processing unit Pr32 increments the variable m and returns to step S14-2-3.
Step S14-2-6 The matching table search processing unit Pr32 extracts and returns the printer Pti having the largest number of matchings among the printer Pti.
次に、前記印刷指示処理部Pr4による印刷指示処理について説明する。 Next, the print instruction processing by the print instruction processing unit Pr4 will be described.
図14は本発明の実施の形態における印刷指示処理のサブルーチンを示す図である。この場合、プリンタ抽出処理部Pr3によって抽出されたプリンタPtiがプリンタPt1であるとして説明する。 FIG. 14 is a diagram showing a subroutine of print instruction processing according to the embodiment of the present invention. In this case, the printer Pti extracted by the printer extraction processing unit Pr3 will be described as the printer Pt1.
まず、印刷指示処理部Pr6の印刷設定部Pr61は、印刷設定処理を行い、プリンタ抽出処理部Pr3によって抽出されたプリンタPt1の名称、すなわち、プリンタ名を取得し、プリンタPt1が両面印刷の機能を有するかどうかを判断し、プリンタPt1が両面印刷の機能を有する場合、プリンタPt1のプリンタドライバDr1に両面印刷の印刷設定を設定する。 First, the print setting unit Pr61 of the print instruction processing unit Pr6 performs print setting processing, acquires the name of the printer Pt1 extracted by the printer extraction processing unit Pr3, that is, the printer name, and the printer Pt1 performs a double-sided printing function. If the printer Pt1 has a double-sided printing function, the printer driver Dr1 of the printer Pt1 is set to print settings for double-sided printing.
続いて、印刷設定部Pr61は、プリンタPt1が高品位印刷の機能を有するかどうかを判断し、プリンタPt1が高品位印刷の機能を有する場合、プリンタPt1のプリンタドライバDr1に高品位印刷の印刷設定を設定し、プリンタPt1が高品位印刷の機能を有していない場合、プリンタPt1が高速印刷の機能を有するかどうかを判断し、プリンタPt1が高速印刷の機能を有する場合、プリンタPt1のプリンタドライバDr1に高速印刷の印刷設定を設定する。 Subsequently, the print setting unit Pr61 determines whether or not the printer Pt1 has a high-quality printing function, and if the printer Pt1 has a high-quality printing function, the printer driver Dr1 of the printer Pt1 is set to print high-quality printing. If the printer Pt1 does not have the high-definition printing function, it is determined whether the printer Pt1 has the high-speed printing function, and if the printer Pt1 has the high-speed printing function, the printer driver of the printer Pt1 is set. Set the print settings for high-speed printing in Dr1.
このようにして、プリンタPt1のドライバに印刷設定が設定されると、印刷設定部Pr61は、印刷設定を所定の記憶部、本実施の形態においては、マッチングテーブルTbmに記録する。 When the print settings are set in the driver of the printer Pt1 in this way, the print setting unit Pr61 records the print settings in a predetermined storage unit, or in the present embodiment, in the matching table Tbm.
続いて、前記印刷指示処理部Pr6の文書印刷指示処理部Pr62は、文書印刷処理部Prb1を呼び出し、文書ファイルの文書についての印刷設定をマッチングテーブルTbmから読み出し、プリンタPt1に、読み出した印刷設定による印刷を指示する。 Subsequently, the document print instruction processing unit Pr62 of the print instruction processing unit Pr6 calls the document print processing unit Prb1, reads the print settings for the document of the document file from the matching table Tbm, and determines the read print settings in the printer Pt1. Instruct printing.
次に、フローチャートについて説明する。
ステップS17-1 印刷設定部Pr61はプリンタ名を取得する。
ステップS17-2 印刷設定部Pr61はプリンタPt1が両面印刷の機能を有するかどうかを判断する。プリンタPt1が両面印刷の機能を有する場合はステップS17-3に進み、両面印刷の機能を有していない場合はステップS17-4に進む。
ステップS17-3 印刷設定部Pr61は両面印刷の印刷設定を設定する。
ステップS17-4 印刷設定部Pr61はプリンタPt1が高品位印刷の機能を有するかどうかを判断する。プリンタPt1が高品位印刷の機能を有する場合はステップS17-6に進み、高品位印刷の機能を有していない場合はステップS17-5に進む。
ステップS17-5 印刷設定部Pr61はプリンタPt1が高速印刷の機能を有するかどうかを判断する。プリンタPt1が高速印刷の機能を有する場合はステップS17-7に進み、高速印刷の機能を有していない場合はステップS17-8に進む。
ステップS17-6 印刷設定部Pr61は高品位印刷の印刷設定を設定する。
ステップS17-7 印刷設定部Pr61は高速印刷の印刷設定を設定する。
ステップS17-8 印刷設定部Pr61はマッチングテーブルTbmに印刷設定を記録する。
ステップS17-9 文書印刷指示処理部Pr62は文書印刷処理部Prb1を呼び出し、プリンタPt1に印刷を指示する。
Next, the flowchart will be described.
Step S17-1 The print setting unit Pr61 acquires the printer name.
Step S17-2 The print setting unit Pr61 determines whether or not the printer Pt1 has a double-sided printing function. If the printer Pt1 has a double-sided printing function, the process proceeds to step S17-3, and if the printer Pt1 does not have a double-sided printing function, the process proceeds to step S17-4.
Step S17-3 The print setting unit Pr61 sets the print settings for double-sided printing.
Step S17-4 The print setting unit Pr61 determines whether or not the printer Pt1 has a high-quality printing function. If the printer Pt1 has a high-quality printing function, the process proceeds to step S17-6, and if the printer Pt1 does not have a high-quality printing function, the process proceeds to step S17-5.
Step S17-5 The print setting unit Pr61 determines whether or not the printer Pt1 has a high-speed printing function. If the printer Pt1 has a high-speed printing function, the process proceeds to step S17-7, and if the printer Pt1 does not have a high-speed printing function, the process proceeds to step S17-8.
Step S17-6 The print setting unit Pr61 sets the print settings for high-quality printing.
Step S17-7 The print setting unit Pr61 sets the print settings for high-speed printing.
Step S17-8 The print setting unit Pr61 records the print settings in the matching table Tbm.
Step S17-9 The document print instruction processing unit Pr62 calls the document print processing unit Prb1 and instructs the printer Pt1 to print.
このように、本実施の形態においては、文書印刷アプリケーションPapが、アプリケーションApjの文書内容解析処理部Prcj、及びアプリケーションApyの文書内容解析処理部Prcyによる解析結果を表す文書情報、並びに各プリンタPtiが有する機能を表すプリンタ機能情報に基づいて、文書ファイルの文書を印刷するのに最適なプリンタを抽出し、抽出したプリンタを推奨プリンタとしてコンテキストメニューMenに追加するので、操作者は、作成した文書の特性、プリンタが有する機能等を十分に把握していなくても、アプリケーションApj、Apxを開くことなく、作成した文書を印刷するのに最適なプリンタPtiを容易に選択することができる。 As described above, in the present embodiment, the document printing application Pap has the document information representing the analysis result by the document content analysis processing unit Prcj of the application Apj and the document content analysis processing unit Prcy of the application Apy, and each printer Pti. Based on the printer function information that represents the function that it has, the optimum printer for printing the document of the document file is extracted, and the extracted printer is added to the context menu Men as the recommended printer, so that the operator can use the created document. Even if you do not fully understand the characteristics and functions of the printer, you can easily select the optimum printer Pti for printing the created document without opening the applications Apj and Apx.
さらに、操作者は、アプリケーションApj、Apxで各文書タイプFej、Fexの文書ファイルを開き、表示部に表示された文書を目視によって確認することなくプリンタを容易に選択することができる。 Further, the operator can open the document files of the document types Fej and Fex in the applications Apj and Apx, and easily select the printer without visually confirming the document displayed on the display unit.
前記実施の形態においては、ホストコンピュータ11及びプリンタPtiから成る印刷システムSyについて説明しているが、本発明を、情報処理装置、及び複写機、ファクシミリ、複合機等の印刷装置から成る印刷システムに適用することができる。
In the above-described embodiment, the printing system Sy including the
なお、本発明は前記実施の形態に限定されるものではなく、本発明の趣旨に基づいて種々変形させることが可能であり、それらを本発明の範囲から排除するものではない。 The present invention is not limited to the above-described embodiment, and various modifications can be made based on the gist of the present invention, and these are not excluded from the scope of the present invention.
11 ホストコンピュータ
Apj、Apx アプリケーション
Dri プリンタドライバ
Fej、Fex 文書タイプ
Men コンテキストメニュー
Pap 文書印刷アプリケーション
Prbj、Prbx 文書印刷処理部
Prcj、Prcy 文書内容解析処理部
Pti プリンタ
11 Host computer Apj, Apx application Dri printer driver Fej, Flex document type Men context menu Pap document printing application Prbj, Prbx document printing processing unit Prcj, Prcy document content analysis processing unit Pti printer
Claims (7)
(b)該アプリケーションの文書印刷処理部を呼び出し、文書ファイルの文書についての印刷を指示する文書印刷アプリケーションと、
(c)印刷装置によって文書ファイルの文書を印刷する印刷ドライバとを有するとともに、
(d)前記文書印刷アプリケーションは、文書ファイルの文書の内容を解析する文書内容解析処理部による解析結果を表す文書情報、及び印刷装置が有する機能を表す装置機能情報に基づいて、文書ファイルの文書を印刷するのに最適な印刷装置を抽出し、抽出した印刷装置を推奨印刷装置としてコンテキストメニューに追加することを特徴とする情報処理装置。 (A) Applications for creating documents for document files of various document types, and
(B) A document printing application that calls the document printing processing unit of the application and instructs printing of the document of the document file.
(C) It has a print driver that prints a document of a document file by a printing device, and also has a print driver.
(D) The document printing application is based on the document information representing the analysis result by the document content analysis processing unit that analyzes the document content of the document file and the device function information representing the function of the printing device. An information processing device characterized by extracting the most suitable printing device for printing and adding the extracted printing device to the context menu as a recommended printing device.
(b)前記文書印刷アプリケーションは、前記アプリケーションが備えるインタフェースを介して文書内容解析処理部を呼び出し、文書情報を取得する請求項1に記載の情報処理装置。 (A) The document content analysis processing unit is arranged in the application.
(B) The information processing apparatus according to claim 1, wherein the document printing application calls a document content analysis processing unit via an interface provided in the application to acquire document information.
(b)前記文書印刷アプリケーションは、プラグインとしてインストールされた前記アプリケーションの文書内容解析処理部を呼び出し、文書情報を取得する請求項1に記載の情報処理装置。 (A) The document content analysis processing unit is arranged in an application installed as a plug-in separately from the application.
(B) The information processing device according to claim 1, wherein the document printing application calls a document content analysis processing unit of the application installed as a plug-in to acquire document information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018243006A JP7035998B2 (en) | 2018-12-26 | 2018-12-26 | Information processing equipment and printing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018243006A JP7035998B2 (en) | 2018-12-26 | 2018-12-26 | Information processing equipment and printing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020106939A JP2020106939A (en) | 2020-07-09 |
JP7035998B2 true JP7035998B2 (en) | 2022-03-15 |
Family
ID=71449102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018243006A Active JP7035998B2 (en) | 2018-12-26 | 2018-12-26 | Information processing equipment and printing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7035998B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003223298A (en) | 2002-01-31 | 2003-08-08 | Canon Inc | System and method for information processing and control program |
JP2006018801A (en) | 2004-06-02 | 2006-01-19 | Ricoh Co Ltd | Information processor, file processing method, file processing program and recording medium |
JP2016024789A (en) | 2014-07-24 | 2016-02-08 | キヤノン株式会社 | Information processing device, program, and control method |
JP2017097751A (en) | 2015-11-27 | 2017-06-01 | ブラザー工業株式会社 | program |
-
2018
- 2018-12-26 JP JP2018243006A patent/JP7035998B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003223298A (en) | 2002-01-31 | 2003-08-08 | Canon Inc | System and method for information processing and control program |
JP2006018801A (en) | 2004-06-02 | 2006-01-19 | Ricoh Co Ltd | Information processor, file processing method, file processing program and recording medium |
JP2016024789A (en) | 2014-07-24 | 2016-02-08 | キヤノン株式会社 | Information processing device, program, and control method |
JP2017097751A (en) | 2015-11-27 | 2017-06-01 | ブラザー工業株式会社 | program |
Also Published As
Publication number | Publication date |
---|---|
JP2020106939A (en) | 2020-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7847968B2 (en) | Image processing apparatus and method for bookbinding processing | |
US7924444B2 (en) | Applying print settings to print data | |
JP4994994B2 (en) | Image processing apparatus, image processing method, and computer program | |
EP1293886A2 (en) | Controlling printing by use of a virtual printer | |
US7710590B2 (en) | Automatic maintenance of page attribute information in a workflow system | |
US7952730B2 (en) | Information processing apparatus and print control method attributes in print jobs | |
JP6575074B2 (en) | Information processing apparatus, information processing method, and program | |
JP2006327016A (en) | Image processing apparatus, image processing method, storing medium storing computer-readable program, and program | |
JP2006302038A (en) | Job management device, print and bookbinding system, control method, and program | |
US8967754B2 (en) | Printing apparatus, control method thereof, and storage medium | |
US20070257922A1 (en) | Removable media device and image displaying system | |
JP7035998B2 (en) | Information processing equipment and printing system | |
JP2000224414A (en) | Information processing system, control method therefor, information processing device, control method therefor and computer readable memory | |
JP2004227476A (en) | Document processor | |
AU2015218517B2 (en) | Image forming apparatus, image forming method, and program | |
US20060209106A1 (en) | Document management apparatus, document management method, program for implementing the method, and document management system | |
JP4524863B2 (en) | Image forming apparatus, control method therefor, and computer-readable recording medium recording the control program | |
US8159687B2 (en) | Method and system for page exception programming utilizing metadata | |
JP5304546B2 (en) | Image forming apparatus, image composition method, and program | |
JP4505106B2 (en) | Accumulation printing method and image forming apparatus | |
JP6477392B2 (en) | Data processing apparatus, system and program | |
JP2005267620A (en) | Document processor | |
US20060031753A1 (en) | Image processing method, image processing system and image processing program | |
JP2014011789A (en) | Image forming apparatus and program | |
JP2009015559A (en) | Image processor, image processing system, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210303 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20210616 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220125 |
|
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: 20220201 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220214 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7035998 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |