JP2024015002A - Information processing device, its control method, and computer program - Google Patents
Information processing device, its control method, and computer program Download PDFInfo
- Publication number
- JP2024015002A JP2024015002A JP2023197584A JP2023197584A JP2024015002A JP 2024015002 A JP2024015002 A JP 2024015002A JP 2023197584 A JP2023197584 A JP 2023197584A JP 2023197584 A JP2023197584 A JP 2023197584A JP 2024015002 A JP2024015002 A JP 2024015002A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- printing
- printer driver
- combination
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 10
- 238000000034 method Methods 0.000 title description 21
- 238000004590 computer program Methods 0.000 title description 2
- 238000013515 script Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 97
- 230000015654 memory Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 230000004044 response Effects 0.000 description 4
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、情報処理装置とその制御方法、およびコンピュータプログラムに関する。 The present invention relates to an information processing apparatus, a control method thereof, and a computer program.
ホストコンピュータ(PC)から印刷装置に印刷データ送信して印刷させる際、そのPCにインストールされたプリンタドライバを利用して印刷ジョブを生成し、その生成した印刷ジョブを印刷装置に送信して印刷を行う構成が一般的である。このようなPCには、基本ソフトウェアであるオペレーティングシステム(以下、OS)がインストールされており、プリンタドライバはそのOSが規定する仕様に従って構成される。一方、印刷装置を提供するベンダーは、その印刷装置に対応し、PCにインストールされているOSの仕様に適合するプリンタドライバを提供することにより、そのPCから、その印刷装置に対して印刷ジョブを送信して印刷させることができる。このベンダーが提供するプリンタドライバは、その印刷装置の能力に適合しており、その印刷装置に適した禁則情報(印刷設定定義や禁則条件式)や禁則スクリプトを有している。従って、PCのユーザは、そのPCからその印刷装置を使用して印刷を行うことにより、そのユーザの意図を反映した印刷物を取得することができる。 When sending print data from a host computer (PC) to a printing device for printing, a print job is generated using the printer driver installed on the PC, and the generated print job is sent to the printing device to print. This configuration is common. An operating system (hereinafter referred to as OS), which is basic software, is installed on such a PC, and a printer driver is configured according to specifications defined by the OS. On the other hand, a vendor that provides a printing device can print jobs from a PC to that printing device by providing a printer driver that is compatible with the printing device and conforms to the specifications of the OS installed on the PC. It can be sent and printed. The printer driver provided by this vendor is compatible with the capabilities of the printing device, and has constraint information (print setting definitions and constraint condition expressions) and constraint scripts suitable for the printing device. Therefore, by printing from the PC using the printing device, the PC user can obtain printed matter that reflects the user's intentions.
一方、プリンタドライバには、印刷装置のベンダーが提供するプリンタドライバとは別に、OSが提供する基本的な印刷機能のみ対応した標準プリンタドライバが存在する。このようなOSが提供する標準プリンタドライバは、印刷装置のベンダーが提供するプリンタドライバでないため、印刷に使用する印刷装置に適合した禁則情報や禁則スクリプトを備えていない。そのため、そのようなプリンタドライバを使用して印刷装置に印刷を実行させると、その印刷装置の機能に適合した印刷を実行できない可能性があるという課題がある。 On the other hand, in addition to printer drivers provided by printing device vendors, there are standard printer drivers that support only basic printing functions provided by an OS. The standard printer driver provided by such an OS is not a printer driver provided by a printing device vendor, and therefore does not include prohibition information or prohibition scripts that are compatible with the printing device used for printing. Therefore, when such a printer driver is used to cause a printing device to perform printing, there is a problem that there is a possibility that printing that is compatible with the functions of the printing device cannot be performed.
本発明の目的は、上記従来技術の問題点の少なくとも一つを解決することにある。 An object of the present invention is to solve at least one of the problems of the prior art described above.
本発明の目的は、画像形成装置の機能に適合した印刷を実行できない事態が生じるのを防止する技術を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a technique for preventing a situation in which printing that is compatible with the functions of an image forming apparatus cannot occur.
上記目的を達成するために本発明の一態様に係る情報処理装置は以下のような構成を備える。即ち、
第1の設定値の組合せが記憶されたファイルを記憶する情報処理装置であって、
画像形成装置から第2の設定値の組合せを取得する取得手段と、
前記ファイルに記憶された前記第1の設定値の組合せ、及び、前記画像形成装置から取得された前記第2の設定値の組合せにと基づき、利用することができない設定値の組合せが印刷設定に含まれないよう制御する制御手段と、を有することを特徴とする。
In order to achieve the above object, an information processing apparatus according to one aspect of the present invention has the following configuration. That is,
An information processing device that stores a file in which a first set value combination is stored,
acquisition means for acquiring the second set value combination from the image forming apparatus;
Based on the combination of the first setting values stored in the file and the combination of the second setting values acquired from the image forming apparatus, a combination of setting values that cannot be used is included in the print settings. and control means for controlling not to be included.
本発明によれば、画像形成装置で利用することができない設定値の組合せが印刷設定に含まれるのを防止できるという効果がある。 According to the present invention, it is possible to prevent a print setting from including a combination of setting values that cannot be used in an image forming apparatus.
本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。尚、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。 Other features and advantages of the invention will become apparent from the following description with reference to the accompanying drawings. In addition, in the accompanying drawings, the same or similar components are given the same reference numerals.
添付図面は明細書に含まれ、その一部を構成し、本発明の実施形態を示し、その記述と共に本発明の原理を説明するために用いられる。
以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the present invention according to the claims, and not all combinations of features described in the present embodiments are essential to the solution of the present invention. .
図1は、実施形態に係る印刷システムの概略構成を示す図である。 FIG. 1 is a diagram showing a schematic configuration of a printing system according to an embodiment.
実施形態に係る印刷システムは、ホストコンピュータ101、サーバ104及びプリンタ(印刷装置)102を備える。ホストコンピュータ101は、情報処理装置の一例である。サーバ104は、ホストコンピュータ101に対してデータを配信する。プリンタ102は、ページ記述言語(Page Description Language、以下PDL)形式の印刷データを受信すると、その印刷データに従って印刷を行う。これら装置は、Wide Area Network(WAN)を含むネットワーク103を通じて相互に通信可能である。尚、プリンタ102は、印刷機能のみを備える単一機能のプリンタであってもよく、例えば、印刷機能、スキャン機能、複写機能等を備える複合機であってもよい。また、ホストコンピュータ101は、ネットワーク103に複数台接続されていてもよい。
The printing system according to the embodiment includes a
図2は、実施形態に係るホストコンピュータ101とプリンタ102のハードウェア構成を説明するブロック図である。
FIG. 2 is a block diagram illustrating the hardware configurations of the
ホストコンピュータ101において、中央演算処理装置(CPU)201は、ランダムアクセスメモリ(RAM)202に展開されたプログラムに従って、システムバスに接続される各デバイスを制御する。尚、ここでホストコンピュータ101は、少なくとも1つのCPU201を備えるものとする。加えて、CPU201が外部メモリ209に記憶されているプログラムをRAM202に展開して実行することによって、ホストコンピュータ101のソフトウェア構成(図3)及び後述するフローチャートの各ステップの処理が実現される。RAM202は、CPU201の主メモリ、ワークエリア等として機能する。リードオンリーメモリ(ROM)203は、ブートプログラムや基本入出力システム(BIOS)等の各種プログラムを記憶している。
In the
操作部インタフェース(I/F)204は、キーボードやポインティングデバイスなどのタッチUI(ユーザインタフェース)などの操作部205を制御するインタフェースである。操作部205は、ユーザからの操作を受け付ける受付部として機能する。表示部I/F206は、表示部207への表示を制御する。表示部207は、ユーザに対して情報を表示する表示部として機能する。外部メモリI/F208は、例えばハードディスク(HD)、ソリッドステートディスク(SSD)等の外部メモリ209との間のアクセスを制御する。外部メモリ209は、オペレーティングシステム(OS)210をはじめ、アプリケーション実行環境213、タッチパネル、デスクトップそれぞれに対応した各種アプリケーション212や各種ファイル等を記憶している。外部メモリ209は、ホストコンピュータ101が読み取り可能な記憶媒体として機能する。ネットワークI/F214は、ネットワーク103を介してプリンタ102に接続され通信制御処理を行う。尚、サーバ104もホストコンピュータ101のハードウェア構成と同じ構成を内包しており、同様に動作する。プリンタドライバ(印刷制御プログラム)211は、OS210が提供するプリンタドライバである。
An operation unit interface (I/F) 204 is an interface that controls an
プリンタ102は、CPU221により制御される。CPU221は、ROM223のプログラム用ROM、或いは外部メモリ229に記憶された制御プログラム等に基づいて動作する。CPU221は、印刷部I/F225を介して印刷部(プリンタエンジン)226に出力情報としての画像信号を出力する。またROM223のプログラムROMには、CPU221の制御プログラム等が記憶されている。ROM223のフォント用ROMには、前述した出力情報を生成する際に使用するフォントデータ等が記憶される。プリンタ102がハードディスク等の外部メモリ229を有していないプリンタの場合、ROM223のデータ用ROMには、ホストコンピュータ101で利用される情報等が記憶される。
CPU221は、入力部224を介して、ネットワーク103経由で、ホストコンピュータ101との通信処理が可能となっており、プリンタ102の情報等をホストコンピュータ101に通知できる。操作パネル227は、ユーザが操作するためのスイッチ及び表示器等を有する。RAM222は、CPU221の主メモリや、ワークエリア等として機能する。また、RAM222は、前述した出力情報の展開領域や、環境データの格納領域等としても用いられる。外部メモリ229は、オプションとしてプリンタ102に接続される。外部メモリ229は、フォントデータ、エミュレーションプログラム、フォームデータ、言語系の異なるプリンタ制御言語を解釈するプログラム、操作パネル227から入力されたプリンタモードの設定情報等を記憶する。また、このプリンタ102が有する機能の定義と、無効な機能の組み合わせを記述したデバイス機能テキストファイル(プリンタ記述ファイル)230を記憶している。外部メモリ229へのアクセスはメモリコントローラ(MC)228により制御される。外部メモリ229は1個に限らず、複数個であってもよい。
The
図3は、実施形態に係るホストコンピュータ101のソフトウェアの構成を説明するブロック図である。
FIG. 3 is a block diagram illustrating the software configuration of the
ホストコンピュータ101のソフトウェアは、OS210、アプリケーション実行環境213とアプリケーション212の3つの層で構成されている。
The software of the
次にOS210の個々の要素について説明する。OS210は、大きくプリンティングシステム325、プリンタドライバ211とに大別される。プリンティングシステム325は以下の要素を含んでいる。プリントキュー303は、ネットワーク103に存在するプリンタを使用して印刷を行う際に、印刷ジョブを一時的に保存する領域である。実施形態では、プリンタ102のプリントキュー303が作成されているものとする。プリントキュー303が作成されると、プリンタドライバ211のデバイス機能テキストファイル307に記述されている一部の機能に基づいて、プリントキュー303に紐づく記憶領域302が生成される。この記憶領域302は、プリントキューごとに個別の設定や機能を記憶する。このように記憶領域302に特定の記述を記憶することにより、プリンタドライバ211のデバイス機能テキストファイル307の機能定義部に対して、ジョブ毎に切り替える印刷設定機能ではなく、プリントキュー毎に制御可能な機能を提供することができる。
Next, individual elements of the
スプーラ301は、アプリケーション212から受け取った印刷対象データであるXPS(XML Paper Specification)ファイルを一時的に保存及び管理するモジュールである。スプーラ301に保存されたXPSファイルは、後述するフィルタパイプラインマネージャ305を通してPDLに変換された後、スプーラ301を通じてプリンタ102へ送信される。
The
フィルタパイプラインマネージャ305は、OS210の一部として構成されている。プリンタドライバ211のフィルタ309は、後述するプリンタドライバ211を構成する要素の一つである。フィルタパイプラインマネージャ305は、プリンタドライバ211のフィルタコンフィグ308の定義に基づき、フィルタ309を、1或いは複数読み込み、スプーラ301に保存されているXPSファイルをPDLへ変換する。
コンフィグレーションモジュール304は、プリントチケットの生成、変更、及び不正な設定を訂正する禁則機能などを有するモジュールである。コンフィグレーションモジュール304のAPI(Application Programming Interface)を呼び出すことで、印刷設定情報であるプリントチケットや、デバイス能力情報であるプリントケーパビリティを取得できる。これらプリントチケットや、プリントケーパビリティは、XML(Extensible Markup Language)形式で記述される。
The
プリンタドライバ211は、フィルタ309、フィルタコンフィグ308、スクリプトファイル306、デバイス機能テキストファイル307を有している。フィルタ309は、フィルタパイプラインマネージャ305によって呼び出されるモジュールであり、XPSファイルをPDLに変換する役割を持っている。フィルタコンフィグ308は、フィルタパイプラインマネージャ305が参照する定義ファイルであり、フィルタ309を呼び出す順序を記述している。スクリプトファイル306と、デバイスの機能が記述されたデバイス機能テキストファイル307は、コンフィグレーションモジュール304の動作をカスタマイズするのに使用される。
The
次に、アプリケーション実行環境213が有する個々の要素について説明する。アプリケーション実行環境213は、タッチアプリ実行環境323及びデスクトップアプリ実行環境324を有している。タッチアプリ実行環境323は、アプリケーション212の一種であるタッチアプリ321を実行するためのAPI群を有し、それらを実行する際のメモリ管理なども行う。一方、デスクトップアプリ実行環境324は、アプリケーション212の一種であるデスクトップアプリ322を実行するためのAPI群を有し、それらを実行する際のメモリ管理などを行う。
Next, individual elements included in the
次に、アプリケーション212が有する個々の要素について説明する。アプリケーション212は、タッチアプリ321及びデスクトップアプリ322の二種類のアプリケーションを含んでいる。タッチアプリ321は、アプリケーション212の一種で、タッチアプリ実行環境323の上で動作する。またタッチアプリ321は、インターネット上で公開されるアプリケーション配布システムを通じて、ユーザ自身が選択し、ホストコンピュータ101にインストールされる。デスクトップアプリ322は、メニュー画面などに表示されたアイコンなどをユーザが指示することにより動作し、その指示されたアイコンに対応する機能を起動する。
Next, individual elements included in the
図4は、実施形態に係る印刷システムの印刷環境の一例を説明する図である。ここではプリンタ102に代わって、図4に示すMFP401,402がネットワーク103に接続されているものとする。
FIG. 4 is a diagram illustrating an example of the printing environment of the printing system according to the embodiment. Here, it is assumed that
ホストコンピュータ101にインストールされるMFP401用のプリンタドライバは、複数種類存在し得る。例えば、機種別プリンタドライバ412は、MFP402専用のプリンタドライバである。一方、標準プリンタドライバ411は、標準化された印刷方法を利用することで、1つのドライバで、複数ベンダのプリンタであるMFP401,402への印刷を可能にするプリンタドライバである。標準プリンタドライバ411は、OS210と共にOS210のパッケージ内の機能の1つとして提供されており、これは前述のプリンタドライバ211に対応している。
There may be multiple types of printer drivers for the
このように、プリンタ102が利用可能なプリンタドライバは複数存在し、利用されるプリンタドライバは、インターネット接続状態やOS210の種類、利用環境等に応じて異なる。通常、OS210は、プリンタドライバのバージョン情報等を参照して、利用可能なプリンタドライバの内、最も機能が高く、且つ新しいプリンタドライバを自動的に選定してインストールする。尚、プリンタドライバには、ハードウェアID(HWID)や、Compatible IDと呼ばれる、装置を特定するための情報が含まれている。ホストコンピュータ101にプリンタが接続されると、OS210は、そのプリンタからこれらのID情報を取得し、該当するIDを有するプリンタドライバを探索してインストールする。
As described above, there are a plurality of printer drivers that can be used by the
図4の例では、MFP401のハードウェアIDは「MFP1_abcd」であり、MFP402のハードウェアIDは「MFP2_ijkl」である。そしてMFP401の印刷データは、標準プリンタドライバ411により作成されてMFP401に送信される。一方、MFP401の印刷データは、標準プリンタドライバ411或いは機種別プリンタドライバ412により作成されてMFP402に送信される。
In the example of FIG. 4, the hardware ID of
図5は、実施形態に係るホストコンピュータ101のプリンタドライバ211がプリンタ102からデバイス機能テキストファイルを取得し、自身のデバイス機能テキストファイル307を更新する処理を説明するフローチャートである。尚、このフローチャートに示す各動作(ステップ)は、CPU201が外部メモリ209に記憶された各モジュール、コンポーネント、アプリケーションを実現するためのプログラムをRAM202に展開して実行することにより達成される。以下、各制御モジュール、コンポーネント、アプリケーションによって提供される制御を説明する場合、CPU201によって実現される機能部を主語として説明する。また、表示、ユーザ操作の受け付け、及びデータ送受信処理などの一部処理は、CPU201、各I/F及び、I/Fに接続された入出力デバイスが協働して実現するものとする。このフローチャートで示す処理は、ユーザの指示により、アプリケーション212から印刷設定画面が起動されることに応じて開始される。
FIG. 5 is a flowchart illustrating a process in which the
まずS501で、標準プリンタドライバであるプリンタドライバ211が、ネットワーク103経由で接続しているプリンタ102が有するデバイス機能テキストファイル230を取得するよう試みる。例えば、図4で示す印刷環境では、標準プリンタドライバ411がMFP401と接続されている。よって、タッチアプリ321もしくはデスクトップアプリ322からの印刷設定の表示指示が行われると、標準プリンタドライバ411は、MFP401に対してデバイス機能テキストファイルの取得を要求する。即ち、標準プリンタドライバ411が、MFP401が外部メモリ229に保存しているデバイス機能テキストファイル230をネットワーク103経由で取得しようとする。
First, in S501, the
前述したようにデバイス機能テキストファイル230は、そのプリンタが有する機能の定義と、機能の無効な組み合わせを記述したものである。またこれら機能には、優先順位を設けることができる。これら機能の優先順位は、数値の小さいものほど高く、数値が大きくなるにつれて優先順位が低くなる。そして、これら機能の組み合わせが無効である設定がなされたときは、優先順位が低い機能の選択肢が他の選択肢に丸められることで、正しい設定が作成される。無効な機能の組み合わせは、機能と、機能の選択肢の複数の組からなるリストとして定義する。ここでは一対一の機能の組み合わせだけでなく、複数の機能の組み合わせも定義することができ、その場合は、記述された全ての設定が一致するときに無効であることを意味する。またデバイス機能テキストファイル230には、プリンタ102の機能に適した記述がなされており、例えば、図6で示すようなテキストで記述されている。
As described above, the device
図6は、実施形態に係るプリンタ102のデバイス機能テキストファイル230の一例を示す図である。
FIG. 6 is a diagram illustrating an example of the device
図6では、優先順位が「100」、デフォルトの用紙サイズは「A4」で、用紙サイズのオプションとして「A4」「A3」「カスタム(ユーザ設定)」が設定可能である。また両面印刷は「なし」となっている。更に、無効な機能組み合わせとして、602には、A3サイズの縦型の用紙の右上と左下のステープルが無効となっている。更に、A3サイズの横型の用紙の左上と右下のステープルが無効となっている。
In FIG. 6, the priority is "100", the default paper size is "A4", and "A4", "A3", and "Custom (user setting)" can be set as paper size options. Also, double-sided printing is set to "no". Further, as an
次にS502に進みプリンタドライバ211は、S501でデバイス機能テキストファイル230を取得できたかどうか判定し、取得できたと判定した場合はS503に進み、そうでないときはS506に進む。S506でプリンタドライバ211は、プリンタ102用に合成されたデバイス機能ファイルがキャッシュとして記憶領域302に存在するか否か確認する。ここでキャッシュとして存在するか否かとは、後述するS504で合成したデバイス機能テキストファイルが記憶領域302に存在しており、かつ該当プリンタ102用のファイルであるか否かに基づいて判定する。S507でプリンタドライバ211は、そのプリンタ102用に合成されたデバイス機能ファイルが記憶されていると判定した場合はS508に進み、記憶領域302に記憶されているデバイス機能テキストファイルをプリンティングシステム325に通知して、この処理を終了する。一方、S507でそのプリンタ102用のデバイス機能ファイルが記憶されていないと判定した場合はS509に進み、基本的なデバイス機能テキストファイルをプリンティングシステム325に通知して、この処理を終了する。
Next, the process advances to step S502, and the
一方、S502でデバイス機能テキストファイル230を取得できたときはS503に進みプリンタドライバ211は、標準プリンタドライバ411が有する基本的な機能の定義と、機能の無効な組み合わせが記述されたデバイス機能テキストファイル307を取得する。尚、ここでデバイス機能テキストファイル307は、デフォルト状態で標準プリンタドライバ411が有しているファイルであり、例えば、図7で示すようなテキストで記述されている。
On the other hand, when the device
図7は、実施形態に係るホストコンピュータ101の標準プリンタドライバ211がデフォルト状態で有しているデバイス機能テキストファイル307の一例を示す図である。
FIG. 7 is a diagram showing an example of the device
ここでは、優先順位が「100」、デフォルトの用紙サイズは「A4」で、用紙サイズのオプションとして「A4」「カスタム(ユーザ設定)」が設定可能である。また用紙の向きの優先順位は「200」で、デフォルトの向きは「縦」、オプションとして「縦」と「横」が設定できる。更に、ステープルの設定として、優先順位が「300」、デフォルトオプションは「なし」、ステープル位置のオプションとして「左上」「左下」「右上」「右下」が設定可能である。 Here, the priority is "100", the default paper size is "A4", and "A4" and "Custom (user setting)" can be set as paper size options. The paper orientation priority is "200", the default orientation is "portrait", and "portrait" and "landscape" can be set as options. Further, as stapling settings, the priority can be set to "300," the default option is "none," and the stapling position options can be set to "top left," "bottom left," "top right," and "bottom right."
次にS504に進みプリンタドライバ211は、S501でプリンタ102から取得したデバイス機能テキストファイル230と、S503で標準プリンタドライバ211から取得したデバイス機能テキストファイル307とを合成し、新たなデバイス機能テキストファイルを生成する。
Next, proceeding to S504, the
図8は、図6と図7で示されたデバイス機能テキストファイルを合成した例を示す図である。 FIG. 8 is a diagram showing an example in which the device function text files shown in FIGS. 6 and 7 are combined.
図8では、機能の定義や、機能の無効な組み合わせで重複する記述はマージし、そのデバイス固有の記載については、追記や元の記述内容の削除等を行う。例えば、図6では「A4」「A3」「Custom」が、図7では「A4」「Custom」が記載されており、これらが合成されることにより、図8の801では「A4」「A3」「Custom」が記述されている。また図6の602で示す禁則条件式についても同様に合成し、合成したデバイス機能テキストファイルでは、図8の802で示すような記述を行う。 In FIG. 8, duplicate descriptions due to function definitions or invalid combinations of functions are merged, and descriptions specific to the device are added or the original description contents are deleted. For example, "A4", "A3", and "Custom" are written in FIG. 6, and "A4" and "Custom" are written in FIG. "Custom" is written there. Furthermore, the prohibition conditional expression shown at 602 in FIG. 6 is synthesized in the same manner, and the synthesized device function text file is described as shown at 802 in FIG.
尚、S504の時点では、新たなデバイス機能テキストファイルの保存は行わずに、次のS505の処理によって、ファイルの保存が行われる。S505でプリンタドライバ211は、S504で合成したデバイス機能テキストファイルをプリンティングシステム325に通知する。この通知は、合成したデバイス機能テキストファイルの内容と、その内容で禁則を行うプリンタ102の情報をプリンタドライバ211からプリンティングシステム325に受け渡すことである。
Note that at the time of S504, the new device function text file is not saved, but the file is saved in the next process of S505. In step S505, the
こうしてプリンタドライバ211からの通知を受けたプリンティングシステム325は、その合成されたデバイス機能テキストファイルを、ファイルとして記憶領域302に保存する。そして、その合成したデバイス機能テキストファイルと、プリンタ201とを関連付ける。関連付けの情報は、図10に示すようにして記憶領域302に保存される。
The
図10は、実施形態に係るプリンティングシステム325で保存される、デバイス機能テキストファイルとプリンタとを関連付ける情報の一例を示す図である。
FIG. 10 is a diagram illustrating an example of information that associates a device function text file with a printer, which is stored in the
ここでは例えば、MFP401は、合成したデバイス機能テキストファイルGPD_MFP401と関連付けられており、その関連付けには、MFP401のハードウェアID「MFP1_abcd」を用いていることを示す。尚、GPDは「generic printer description」の略で、プリンタの仕様を記述したプリンタ記述ファイルを示す。
Here, for example, it is shown that the
プリンタドライバ211が禁則処理を行う場合、プリンティングシステム325経由でコンフィグレーションモジュール304を呼び出す。コンフィグレーションモジュール304は、例えば図10に示す関連付けの情報を読み込み、その関連付けに従った禁則処理を行う。
When the
例えば、図10に示すような関連付けの情報の場合で、かつ、ホストホストコンピュータ101に接続されたプリンタ201の名称が「MFP401」で、アプリケーションプログラムから印刷が指示された場合を想定する。この場合はOS210のコンフィグレーションモジュール304は、記憶領域302に記憶されている「GPD_MFP401」のデバイス機能テキストファイルを読み込むことで、そのプリンタ(MFP401)に適合した印刷ジョブを生成することができる。
For example, assume that the association information is as shown in FIG. 10, the name of the
図9は、実施形態に係るホストコンピュータ101で表示される、コンフィグレーションモジュール304がデバイス機能テキストファイルを読み込むことで生成される印刷設定UIの一例を示す図である。
FIG. 9 is a diagram illustrating an example of a print setting UI displayed on the
図9(A)は、図7に示す基本的なデバイス機能テキストファイル307を読み込んだ場合、図9(B)は、図8に示す合成したデバイス機能テキストファイルを読み込んだ場合の印刷設定UIの例を示す。例えば、図9(B)では「両面印刷」機能が表示されており、また図9(B)では「用紙サイズ」に表示されている項目が、図6で記述されているA3サイズを含んでいる点が図9(A)と相違している。
9(A) shows the print setting UI when the basic device
尚、この図5に示すフローチャートで示す処理は、前述したようにユーザの指示により、アプリケーション212から印刷設定画面が起動されることに応じて開始するとしたが本発明はこれに限らない。例えば、プリントキュー303の作成時や、プリントキュー303を初めて使用する場合などに実行されてもよい。
Note that although the process shown in the flowchart shown in FIG. 5 is started in response to the print setting screen being activated from the
以上説明したように実施形態によれば、OS付属のプリンタドライバであっても、接続された印刷装置から取得した禁則情報に基づいて、その印刷装置に合わせた印刷処理を実行できるという効果がある。 As explained above, according to the embodiments, even if the printer driver included with the OS is used, there is an effect that printing processing tailored to the connected printing device can be executed based on prohibition information obtained from the connected printing device. .
なお、上記実施形態では、印刷装置から取得した禁則情報に基づいて、その印刷装置に合わせた禁則処理を実行する例で説明したが、本発明はこれに限らず、印刷装置から取得したプリンタの機能情報に基づいて、そのプリンタの機能を最大限使用できる印刷データを作成してプリンタに送信して印刷させる場合にも適用できることは勿論である。 Note that in the above embodiment, an example has been described in which prohibition processing tailored to the printing device is executed based on prohibition information acquired from the printing device, but the present invention is not limited to this. Of course, the present invention can also be applied to the case where print data that allows the maximum use of the functions of the printer is created based on the function information and is sent to the printer for printing.
(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention provides a system or device with a program that implements one or more of the functions of the embodiments described above via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. This can also be achieved by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
本発明は上記実施形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。 The present invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Therefore, to set out the scope of the invention, the following claims are hereby appended.
101…ホストコンピュータ、102…プリンタ、201…CPU、210…OS,211…プリンタドライバ、230…プリンタのデバイス機能テキストファイル、302…記憶領域、303…プリントキュー、307…OSのデバイス機能テキストファイル 101...Host computer, 102...Printer, 201...CPU, 210...OS, 211...Printer driver, 230...Printer device function text file, 302...Storage area, 303...Print queue, 307...OS device function text file
本発明の目的は、印刷装置の機能に適合した印刷を実行できない事態が生じるのを防止する技術を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a technique for preventing a situation in which printing cannot be executed in accordance with the functions of a printing device.
上記目的を達成するために本発明の一態様に係る情報処理装置の制御方法は以下のような工程を備える。即ち、
複数の設定項目の設定値の第1の組合せを含む印刷装置の機能に関する情報が記憶された情報処理装置の制御方法であって、
外部装置から複数の設定項目の設定値の第2の組合せを取得する取得工程と、
前記第2の組合せを取得した後に、前記印刷装置の機能に関する情報を更新する更新工程と、
前記更新工程において更新された前記印刷装置の機能に関する情報に基づき、一つの印刷データに含めることができない設定値の組合せが印刷設定に含まれないよう制御する制御工程と、を有することを特徴とする。
In order to achieve the above object , a method for controlling an information processing apparatus according to one aspect of the present invention includes the following steps . That is,
A method for controlling an information processing device in which information regarding functions of a printing device including a first combination of setting values of a plurality of setting items is stored, the method comprising:
an acquisition step of acquiring a second combination of setting values of a plurality of setting items from an external device;
an updating step of updating information regarding the functions of the printing device after acquiring the second combination;
A control step for controlling so that a combination of setting values that cannot be included in one print data is not included in the print settings based on information regarding the functions of the printing device updated in the update step. do.
本発明によれば、印刷装置で利用することができない設定値の組合せが印刷設定に含まれるのを防止できるという効果がある。 According to the present invention, it is possible to prevent a print setting from including a combination of setting values that cannot be used in a printing device.
Claims (1)
画像形成装置から第2の設定値の組合せを取得する取得手段と、
前記ファイルに記憶された前記第1の設定値の組合せ、及び、前記画像形成装置から取得された前記第2の設定値の組合せにと基づき、利用することができない設定値の組合せが印刷設定に含まれないよう制御する制御手段と、
を有することを特徴とする情報処理装置。 An information processing device that stores a file in which a first set value combination is stored,
acquisition means for acquiring the second set value combination from the image forming apparatus;
Based on the combination of the first setting values stored in the file and the combination of the second setting values acquired from the image forming apparatus, a combination of setting values that cannot be used is included in the print settings. A control means for controlling not to be included;
An information processing device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023197584A JP2024015002A (en) | 2018-06-29 | 2023-11-21 | Information processing device, its control method, and computer program |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018125297A JP7085920B2 (en) | 2018-06-29 | 2018-06-29 | Print control programs, information processing devices and their control methods, and programs |
JP2022092390A JP7393477B2 (en) | 2018-06-29 | 2022-06-07 | Information processing device, its control method, and computer program |
JP2023197584A JP2024015002A (en) | 2018-06-29 | 2023-11-21 | Information processing device, its control method, and computer program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022092390A Division JP7393477B2 (en) | 2018-06-29 | 2022-06-07 | Information processing device, its control method, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024015002A true JP2024015002A (en) | 2024-02-01 |
Family
ID=69100244
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018125297A Active JP7085920B2 (en) | 2018-06-29 | 2018-06-29 | Print control programs, information processing devices and their control methods, and programs |
JP2022092390A Active JP7393477B2 (en) | 2018-06-29 | 2022-06-07 | Information processing device, its control method, and computer program |
JP2023197584A Pending JP2024015002A (en) | 2018-06-29 | 2023-11-21 | Information processing device, its control method, and computer program |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018125297A Active JP7085920B2 (en) | 2018-06-29 | 2018-06-29 | Print control programs, information processing devices and their control methods, and programs |
JP2022092390A Active JP7393477B2 (en) | 2018-06-29 | 2022-06-07 | Information processing device, its control method, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (3) | JP7085920B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6007494B2 (en) | 2011-03-02 | 2016-10-12 | 株式会社リコー | Print job editing program, print job editing apparatus, print job editing method and printing system |
JP6289085B2 (en) | 2013-12-25 | 2018-03-07 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
JP2015232755A (en) | 2014-06-09 | 2015-12-24 | キヤノン株式会社 | Information processing apparatus, printer, method of processing driver of information processing apparatus, method of processing driver of printer, and program |
JP6587515B2 (en) | 2015-01-29 | 2019-10-09 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and program |
-
2018
- 2018-06-29 JP JP2018125297A patent/JP7085920B2/en active Active
-
2022
- 2022-06-07 JP JP2022092390A patent/JP7393477B2/en active Active
-
2023
- 2023-11-21 JP JP2023197584A patent/JP2024015002A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JP2020004273A (en) | 2020-01-09 |
JP7085920B2 (en) | 2022-06-17 |
JP7393477B2 (en) | 2023-12-06 |
JP2022125039A (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11520546B2 (en) | Print processing system and control method | |
US9442678B2 (en) | Information processing apparatus, information processing system and non-transitory computer-readable information recording medium | |
US20140293312A1 (en) | Information processing apparatus, print control program and print system | |
US20110199640A1 (en) | Printing apparatus, server, printing system, control method for printing apparatus, and storage medium storing control program therefor | |
US8605316B2 (en) | Information processing apparatus and control method thereof, and storage medium | |
JP2020004158A (en) | Information processing apparatus, method of controlling information processing apparatus, and program | |
US9715358B2 (en) | Information processing apparatus, information processing method, and recording medium | |
US20150160894A1 (en) | Information processing apparatus, recording medium, and control method | |
JP5581793B2 (en) | Information processing apparatus, program, and storage medium | |
US9507544B2 (en) | Information processing apparatus, recording medium, and control method to process print data using filters | |
US8345273B2 (en) | Information processing apparatus for managing an expansion module, control method therefor, and program for executing the method | |
JP5700938B2 (en) | Information processing apparatus, information processing method, and program | |
JP2005173701A (en) | Information processor, information processing method, and program therefor | |
US20210064300A1 (en) | Application and information processing apparatus | |
US10592180B2 (en) | Information processing device, information processing method, and recording medium | |
JP7393477B2 (en) | Information processing device, its control method, and computer program | |
JP6827738B2 (en) | Control methods, programs and information processing equipment | |
US9262109B2 (en) | Print instruction apparatus, printing system, and non-transitory computer readable medium | |
JP2020184241A (en) | Information processor, control method of information processor, and printing extension application | |
JP2020030697A (en) | Information processing apparatus, terminal device, setting screen display system, and setting screen display method | |
US11216228B2 (en) | Information processing device, information processing method, and storage medium | |
JP7171227B2 (en) | Information processing device, its control method and application | |
JP6440573B2 (en) | Information processing apparatus and information processing method | |
JP2019128856A (en) | Printer driver customization tool | |
JP2013041472A (en) | Information processor, driver program and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231215 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231215 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240621 |