JP6922608B2 - Application programs and systems - Google Patents
Application programs and systems Download PDFInfo
- Publication number
- JP6922608B2 JP6922608B2 JP2017185789A JP2017185789A JP6922608B2 JP 6922608 B2 JP6922608 B2 JP 6922608B2 JP 2017185789 A JP2017185789 A JP 2017185789A JP 2017185789 A JP2017185789 A JP 2017185789A JP 6922608 B2 JP6922608 B2 JP 6922608B2
- Authority
- JP
- Japan
- Prior art keywords
- default
- application program
- default device
- information processing
- route
- 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
- 238000000034 method Methods 0.000 claims description 127
- 238000007639 printing Methods 0.000 claims description 105
- 230000010365 information processing Effects 0.000 claims description 89
- 230000006870 function Effects 0.000 claims description 60
- 238000004891 communication Methods 0.000 claims description 16
- 238000012790 confirmation Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 description 3
- 230000009118 appropriate response Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Stored Programmes (AREA)
Description
本発明は,デバイスと通信可能な情報処理装置に組み込まれるアプリケーションプログラムおよびシステムに関する。さらに詳細には,プログラム固有のデフォルトデバイスを設定する技術に関するものである。 The present invention relates to an application program and a system incorporated in an information processing device capable of communicating with a device. More specifically, it relates to techniques for setting program-specific default devices.
従来、情報処理装置からプリンタを制御して印刷を行うにあたって、印刷の度にプリンタを選択する手間を省くため、通常使うプリンタとして、いわゆるデフォルトプリンタをオペレーティングシステム(OS)に設定できる技術が知られている。情報処理装置から制御するデバイスとしては、プリンタに限らず、例えばスキャナがある。この場合、通常使うスキャナとして、いわゆるデフォルトスキャナをOSに設定できる。 Conventionally, a technique has been known in which a so-called default printer can be set as an operating system (OS) as a printer to be normally used in order to save the trouble of selecting a printer each time when printing is performed by controlling a printer from an information processing device. ing. The device controlled from the information processing device is not limited to a printer, and includes, for example, a scanner. In this case, a so-called default scanner can be set in the OS as a normally used scanner.
デフォルトデバイスに関する技術を開示した文献としては、例えば特許文献1がある。特許文献1では、デバイス管理アプリケーションを備えるシステムであって、デバイス管理アプリケーションに関連付けられているドライバがデフォルトデバイスとして設定されている場合、デバイス管理アプリケーションに関連付けられているデフォルトデバイスとして設定されているドライバの名前を表示し、デバイス管理アプリケーションに関連付けられているドライバがデフォルトデバイスとして設定されていない場合、デバイス管理アプリケーションに関連付けられている複数のドライバのいずれかの名前を表示する構成が開示されている。 For example, Patent Document 1 is a document that discloses a technique relating to a default device. In Patent Document 1, when a system including a device management application and a driver associated with the device management application is set as a default device, a driver set as a default device associated with the device management application. A configuration is disclosed that displays the name of a device and displays the name of one of the drivers associated with the device management application if the driver associated with the device management application is not set as the default device. ..
情報処理装置と通信可能なデバイスには、例えばラベルプリンタやモバイルプリンタといった特殊用途のデバイスがあり、その特殊用途のデバイス用のアプリケーションプログラムである特定プログラムが情報処理装置に組み込まれる場合がある。この場合、その特定プログラムでは、主として特殊用途のデバイスの使用が想定されるが、他のプログラムでは特殊用途のデバイス以外のデバイスの使用も想定される。そのため、特定プログラムに、OSのデフォルトデバイスとは別に、その特定プログラム固有のデフォルトデバイスを設けることが考えられる。しかしながら、特定プログラム固有のデフォルトデバイスを設けると、その設定作業がユーザにとって手間になり得る。 Devices capable of communicating with the information processing device include, for example, a device for a special purpose such as a label printer or a mobile printer, and a specific program which is an application program for the device for the special purpose may be incorporated in the information processing device. In this case, the specific program is mainly expected to use a device for special purposes, but other programs are also expected to use a device other than the device for special purposes. Therefore, it is conceivable to provide a default device specific to the specific program in the specific program in addition to the default device of the OS. However, if a default device specific to a specific program is provided, the setting work may be troublesome for the user.
本発明は,前記した特定プログラムが有する問題点を解決するためになされたものである。すなわちその課題とするところは,プログラム固有のデフォルトデバイスを設けた場合における、その設定の手間を軽減する技術を提供することにある。 The present invention has been made to solve the problems of the above-mentioned specific program. In other words, the problem is to provide a technology that reduces the time and effort required to set a default device specific to a program.
この課題の解決を目的としてなされたアプリケーションプログラムは、通信インターフェースを介してデバイスと通信する情報処理装置に組み込まれたアプリケーションプログラムであって、前記情報処理装置に、オペレーティングシステムに設定されたデフォルトデバイスを特定するデフォルトデバイス特定処理と、前記アプリケーションプログラムの提供する機能に対応可能なデバイスのリストを取得するデバイスリスト取得処理と、前記デバイスリスト取得処理にて取得したリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれる場合に、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定する第1設定処理と、を実行させることを特徴としている。 The application program made for the purpose of solving this problem is an application program incorporated in an information processing device that communicates with a device via a communication interface, and the information processing device is provided with a default device set in the operating system. The default device identification process to be specified, the device list acquisition process to acquire a list of devices compatible with the functions provided by the application program, and the list acquired by the device list acquisition process to the list acquired by the default device identification process. When the specified default device is included, the default device specified in the default device specifying process is set as the default device of the application program, and the first setting process is executed.
本明細書に開示されるアプリケーションプログラムが組み込まれた情報処理装置は、OSとアプリケーションプログラムとのそれぞれについて、デフォルトデバイスを設定する。そして、情報処理装置は、組み込まれたアプリケーションプログラムの提供する機能に対応可能なデバイスのリストを取得し、OSのデフォルトデバイスがリストに含まれていれば、OSのデフォルトデバイスをアプリケーションプログラムのデフォルトデバイスに設定する。 The information processing apparatus in which the application program disclosed in the present specification is incorporated sets a default device for each of the OS and the application program. Then, the information processing device acquires a list of devices that can support the functions provided by the embedded application program, and if the OS default device is included in the list, the OS default device is used as the application program default device. Set to.
本明細書に開示されるアプリケーションプログラムを実行することにより、OSのデフォルトデバイスがアプリケーションプログラムの提供する機能に対応可能であれば、アプリケーションプログラムのデフォルトデバイスがOSのデフォルトデバイスに、自動的に設定される。そのため、ユーザの手間を軽減できる。 By executing the application program disclosed in this specification, if the default device of the OS can support the functions provided by the application program, the default device of the application program is automatically set as the default device of the OS. NS. Therefore, the time and effort of the user can be reduced.
本発明によれば、プログラム固有のデフォルトデバイスを設けた場合における、その設定の手間を軽減する技術が実現される。 According to the present invention, when a program-specific default device is provided, a technique for reducing the trouble of setting the device is realized.
以下、本発明にかかる印刷システムを具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、互いに通信可能な印刷装置と情報処理装置とを含む印刷システムに本発明を適用したものである。 Hereinafter, embodiments that embody the printing system according to the present invention will be described in detail with reference to the accompanying drawings. The present invention is an application of the present invention to a printing system including a printing device and an information processing device capable of communicating with each other.
本形態の印刷システム100は、図1に示すように、複数の印刷装置1A,1B,1Cと、情報処理装置2とを有し、互いに通信可能に接続されている。印刷装置1A,1B,1Cは、いずれも、印刷対象の媒体への印刷が可能な装置であり、例えば、ラベルプリンタ、ページプリンタ、コピー機、複合機である。以下では、区別の必要のない場合には、単に印刷装置1とする。情報処理装置2は、印刷装置1にて印刷させる画像データの生成及び処理、印刷装置1への印刷実行指示の送信等を行う装置であり、例えば、スマートフォン、パーソナルコンピュータ、タブレットコンピュータである。なお、印刷システム100を構成する印刷装置1や情報処理装置2の台数は、図1の例に限らない。
As shown in FIG. 1, the
印刷装置1は、図1に印刷装置1Aに代表して示すように、コントローラ11と、画像形成部12と、操作パネル13と、ネットワークインターフェース14とを有している。コントローラ11は、CPUやメモリ等を含み、印刷装置1の各構成要素を制御する。なお、図1中のコントローラ11は、印刷装置1の制御に利用されるハードウェアを纏めた総称であって、実際に印刷装置1に存在する単一のハードウェアを表すとは限らない。
As shown in FIG. 1 as a representative of the
画像形成部12は、印刷対象の媒体に画像を印刷するための構成である。画像形成部12の画像形成方式は、電子写真方式であっても、インクジェット方式であってもよい。また、印刷装置1は、カラー画像を形成可能な装置であってもよいし、モノクロ印刷のみを行う装置であってもよい。操作パネル13は、例えば、タッチパネルであり、ユーザによる入力を受け付けるとともに情報の表示を行う。操作パネル13は、各種の表示ランプやボタン等を含んでもよい。ネットワークインターフェース14は、情報処理装置2と通信を行うためのハードウェアを含む。
The
情報処理装置2は、図1に示すように、CPU21と、ROM22と、RAM23と、不揮発性メモリ24と、操作表示部26と、ネットワークインターフェース27とを有している。ROM22には、情報処理装置2を起動するための起動プログラム等が記憶されている。RAM23は、各種処理が実行される際に作業領域として、あるいは、データを一時的に記憶する記憶領域として利用される。不揮発性メモリ24は、例えば、HDD、フラッシュメモリであり、各種のプログラムやデータを記憶する。
As shown in FIG. 1, the
CPU21は、ROM22や不揮発性メモリ24から読み出したプログラムに従って、各種の処理を実行する。操作表示部26は、例えば、タッチパネルであり、ユーザによる入力を受け付けるとともに情報の表示を行う。操作表示部26は、キーボード、マウス、ディスプレイ等を備えるものであってもよい。ネットワークインターフェース27は、印刷装置1と通信を行うためのハードウェアを含む。ネットワークインターフェース27は、通信インターフェースの一例である。
The
本形態の印刷システム100では、情報処理装置2と印刷装置1とが、共通のアクセスポイント3を介して、Wi−Fi(登録商標)規格に準拠した無線通信を行う。すなわち、ネットワークインターフェース14および27は、ともに、Wi−Fi(登録商標)規格による無線通信を可能にするインターフェースである。より具体的には、IEEE802.11の規格及びそれに準ずる規格に基づく無線通信を可能にするインターフェースである。なお、本形態の通信態様は一例であり、前述の態様に限らない。例えば、情報処理装置2と印刷装置1とは、アクセスポイント3を介さない直接接続による無線通信にて通信してもよい。
In the
情報処理装置2の不揮発性メモリ24には、図2に示すように、画像編集用のアプリケーションプログラム(画像編集アプリ)41と、画像データ生成プログラム42と、専用印刷制御プログラム43と、オペレーティングシステム(OS)44と、が記憶されている。さらに、情報処理装置2のOS44には、汎用印刷制御プログラム45と、通信プログラム46と、が組み込まれている。以下では、アプリケーションプログラムを「アプリ」と称する。なお、図2では、各種のデータの流れる方向を実線の矢印にて示している。
As shown in FIG. 2, the
画像編集アプリ41は、例えば、ユーザの指示を受け付ける機能、画像を表示する機能、画像の編集や保存を行う機能、を有するプログラムである。画像編集アプリ41は、さらに、生成済みのラベル画像ファイルを読み込む機能や、印刷指示を受け付ける機能、印刷時の各種設定を受け付ける機能も有する。また、画像編集アプリ41は、図2中に一点鎖線で示すように、専用印刷制御プログラム43または汎用印刷制御プログラム45を介して、印刷装置1から装置の状態情報を取得する機能も有する。装置の状態情報としては、例えば、印刷完了通知、エラー通知がある。
The
画像データ生成プログラム42は、印刷用の画像ファイルを生成する機能を有するプログラムである。本形態の情報処理装置2では、画像データ生成プログラム42は、例えば、画像編集アプリ41にて受け付けた編集の指示に基づいて、ラベル画像ファイルを生成する。ラベル画像ファイルは、テープ状のラベル媒体に印刷するためのデータファイルである。画像編集アプリ41にてラベル画像ファイルを生成する処理の手順は、詳細には、画像編集アプリ41から画像データ生成プログラム42に生成の指示が出力され、画像データ生成プログラム42にて生成されたラベル画像ファイルを画像編集アプリ41が取得する手順を含む。
The image
専用印刷制御プログラム43は、例えば、ラベル画像ファイルに含まれる画像データをラスタライズしてラスタライズデータを生成する機能、生成したラスタライズデータを通信プログラム46を制御して印刷装置1に送信する機能、を有するプログラムである。専用印刷制御プログラム43は、特定の機種の印刷装置に対応する専用のプログラムであり、他のメーカの機種など特定の機種以外の印刷装置には対応しない。本形態の専用印刷制御プログラム43は、例えば、印刷装置1Aの機能に対応するプログラムであり、印刷装置1Aにて実行可能な全ての詳細な印刷設定に対応可能であって、印刷装置1Aにて対応可能な形式のラスタライズデータを生成する。専用印刷制御プログラム43は、特定プログラムの一例である。
The dedicated
汎用印刷制御プログラム45は、所定の印刷規格に基づく印刷用の規格データを生成する機能、生成した規格データを通信プログラム46を制御して印刷装置1に送信する機能、を有するプログラムである。汎用印刷制御プログラム45は、印刷制御機能を実現するために、OS44によって提供される標準のプログラムである。汎用印刷制御プログラム45によって送信される規格データは、例えば、汎用のラスタライズ処理を備える印刷装置1Bにて処理が可能な、所定の規格に則ったデータであり、ラスタライズされていないデータである。
The general-purpose
また、汎用印刷制御プログラム45は、所定の印刷規格をサポートする種々の印刷装置に対応する汎用のプログラムである。そのため、汎用印刷制御プログラム45に対応する機能を備えた印刷装置であれば、どのメーカの印刷装置であっても、規格データに基づく印刷を実行できる。汎用印刷制御プログラム45は、複数の機種に対応する汎用のプログラムであることから、受け付け可能な印刷設定が一般的なものに限られる。そのため、汎用印刷制御プログラム45は、印刷装置1にて実行可能な全ての印刷設定を受け付けるとは限らない。汎用印刷制御プログラム45を利用した印刷のシステムとしては、例えば、AirPrint、Mopria(いずれも登録商標)がある。
Further, the general-purpose
前述したラベル画像ファイルは、専用印刷制御プログラム43における処理に適するファイルである。画像編集アプリ41は、印刷対象の画像データを専用印刷制御プログラム43に渡す場合には、印刷装置1及び専用印刷制御プログラム43に適したラベル画像ファイルを用いる。画像編集アプリ41は、印刷対象の画像データを汎用印刷制御プログラム45に渡す場合には、汎用印刷制御プログラム45に適したラベル画像ファイルを用いる。
The label image file described above is a file suitable for processing in the dedicated
通信プログラム46は、ネットワークインターフェース27を制御して、通信相手の装置との通信を行う機能を有するプログラムである。例えば、専用印刷制御プログラム43は、生成したラスタライズデータをOS44に渡す。情報処理装置2のOS44は、通信プログラム46により当該ラスタライズデータを、ネットワークインターフェース27を介して印刷装置1に送信する。通信プログラム46も、OS44によって提供される標準のプログラムである。通信プログラム46の一部は、ROM22に記憶されていてもよい。
The
本形態の印刷システム100は、印刷装置1に印刷を行わせるための、印刷を指示するデータを処理する処理の経路として、図3に示すように、2種類の経路を有する。2種類の経路とは、情報処理装置2がラスタライズ処理を行う第1経路と、印刷装置1がラスタライズ処理を行う第2経路と、である。第1経路は、第1の経路の一例であり、第2経路は、第2の経路の一例である。
The
第1経路を用いて印刷装置1に印刷を行わせる場合、図3に示すように、情報処理装置2は、ラスタライズ処理を実行して、ラベル画像ファイルに含まれる画像データをラスタライズし、ラスタライズデータを印刷装置1に送信する。印刷装置1は、ラスタライズデータを受信して、受信したラスタライズデータに基づいて印刷する。第1経路では、情報処理装置2は、印刷対象の画像データを図2に示した専用印刷制御プログラム43を用いてラスタライズする。
When the printing device 1 is made to print using the first path, as shown in FIG. 3, the
第1経路は、専用印刷制御プログラム43を使用することから、印刷装置1にて対応可能な各種の印刷設定に対応している。専用印刷制御プログラム43は、OS44には含まれないので、第1経路による印刷を行う場合、情報処理装置2は、OS44に含まれる印刷制御機能(例えば、汎用印刷制御プログラム45)を使用しない。
Since the first route uses the dedicated
第2経路を用いて印刷装置1に印刷を行わせる場合、図3に示すように、情報処理装置2は、規格化処理においてラベル画像ファイルに含まれる画像データの規格化を行い、規格データを印刷装置1に送信する。印刷装置1は、規格データのラスタライズを行う汎用ラスタライズ処理を行い、汎用ラスタライズ処理にてラスタライズされたデータに基づいて印刷する。第2経路では、情報処理装置2は、印刷対象の画像データを図2に示した汎用印刷制御プログラム45にて規格化する。
When printing is performed by the printing device 1 using the second path, as shown in FIG. 3, the
第2経路は、OS44に含まれる印刷制御機能である汎用印刷制御プログラム45を使用することから、印刷装置1にて対応可能な全ての印刷設定に対応できるとは限らない。例えば、汎用印刷制御プログラム45は、特定の機種のみが対応可能な高解像度の印刷設定に対応していない。そのため、第2経路を用いた印刷では、多くの機種にて対応可能な印刷設定が用いられる。
Since the second route uses the general-purpose
このように、第1経路と第2経路とでは、印刷対象の画像データのラスタライズを行う処理主体が異なる。すなわち、第1経路は、情報処理装置2にラスタライズを行わせる経路であり、第2経路は、印刷装置1にラスタライズを行わせる経路である。また、第1経路と第2経路とでは、ラスタライズ処理のアルゴリズムが異なり、処理結果も異なる可能性がある。すなわち、第1経路は、詳細な印刷設定にも対応できるラスタライズを行う経路であり、第2経路は、いくつかの印刷設定が制限されるラスタライズを行う経路である。また、第1経路と第2経路とでは、情報処理装置2から印刷装置1へと送信されるデータの種類やデータフォーマットも異なる。この結果、同じラベル画像ファイルに基づく印刷物であっても、第1経路による印刷物と、第2経路による印刷物とでは、印刷結果が異なる可能性がある。
As described above, the processing entity for rasterizing the image data to be printed differs between the first path and the second path. That is, the first route is a route for causing the
印刷装置1には、第1経路と第2経路とのいずれによって送信されるデータにも対応可能なものと、いずれか一方のみに対応可能なものとがある。情報処理装置2は、例えば、印刷装置の機種名、型番、ファームウエアのバージョン等に基づいて、その印刷装置がいずれの経路に対応可能なものであるかを判断できる。なお、情報処理装置2は、第1経路でも第2経路でも、ネットワークインターフェース27による無線通信を利用してデータを送信する。つまり、第1経路でも第2経路でも、通信態様は同じでもよい。
The printing device 1 may be compatible with data transmitted by either the first path or the second path, or may be compatible with only one of the data. The
続いて、本形態の印刷システム100において、OS用デフォルトデバイスと、アプリ用デフォルトデバイスと、を設定する動作について説明する。以下では、デバイスとして、印刷装置を対象とした例を説明するが、印刷装置以外のデフォルトデバイスの設定方法も同様であり、デバイスの種類ごとにそれぞれ個別に設定される。例えば、デバイスの種類がスキャナであれば、デフォルトデバイスとしてデフォルトで使用されるスキャナが設定される。
Subsequently, in the
情報処理装置2は、OS44の機能として、接続されているデバイスを検索する動作を行う。OS44は、例えば、ネットワークインターフェース27を制御して、所定の問い合わせ信号をマルチキャストまたはブロードキャストにて発信させ、各デバイスから送信される所定の応答信号を受信する検索動作を実行する。OS44は、所定の時間内に受信した応答信号に基づいて、使用可能な全てのデバイスについて、機種情報を含むデバイス情報を取得する。そして、情報処理装置2は、取得したデバイス情報に基づいて、例えば、第2経路での印刷を実行可能な全てのデバイスをOS用デバイスとして登録し、そのデバイス情報をOS用のデバイスリストとして不揮発性メモリ24に記憶する。なお、情報処理装置2は、デバイスが登録されていない状態で印刷の指示を受け付けた場合や、デバイスを選択する指示を受け付けた場合に、デバイスの検索動作を行う。
The
さらに、情報処理装置2は、OS用のデバイスリストに登録されたデバイスの中で、優先的に使用するデバイスであるOS用デフォルトデバイスを、ユーザの指示に基づいて設定する。情報処理装置2は、例えば、文書編集アプリ等の画像編集アプリ41とは別のアプリにて印刷指示を受け付けた場合であっても、ユーザによるデバイスの指定がなければ、OS用デフォルトデバイスに設定されているデバイスに印刷命令を送信する。OS用デフォルトデバイスの情報は、OS44の記憶領域に記憶される。
Further, the
一方、本形態の画像編集アプリ41は、OS用デフォルトデバイスとは別に、独自のアプリ用デフォルトデバイスの設定を受け付ける。アプリ用デフォルトデバイスは、OS用デフォルトデバイスと同じであってもよいし、異なっていてもよい。情報処理装置2は、画像編集アプリ41にて印刷指示を受け付けた場合には、ユーザによるデバイスの指定がなければ、アプリ用デフォルトデバイスに設定されているデバイスに印刷命令を送信する。アプリ用デフォルトデバイスの情報は、画像編集アプリ41の専用の記憶領域、または、ユーザごとの記憶領域に記憶される。
On the other hand, the
情報処理装置2は、画像編集アプリ41の提供する機能に対応可能なデバイスである推奨デバイスのリストを備えている。つまり、情報処理装置2のROM22または不揮発性メモリ24には、例えば、図4に示すように、推奨デバイスリスト51として、推奨デバイスである印刷装置の機種のリストが記憶されている。なお、画像編集アプリ41の推奨デバイスとは、専用印刷制御プログラム43のすべての機能に対応可能な機種であり、第1経路を用いた印刷を適切に実行できる印刷装置を意味している。推奨デバイスリスト51に記憶される情報は、例えば、発売されたことのあるモデルのタイプ名であり、情報処理装置2に接続されたことがあるか否かには関わらない。
The
情報処理装置2は、推奨デバイスリスト51に基づいて、OS用デフォルトデバイスが、画像編集アプリ41の推奨デバイスであるか否かを判断できる。OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであれば、画像編集アプリ41は、OS用デフォルトデバイスをアプリ用デフォルトデバイスとしてもよい。例えば、OS用デフォルトデバイスが印刷装置1Aであって、印刷装置1Aの機種がデバイスAであれば、情報処理装置2は、推奨デバイスリスト51を参照して、印刷装置1Aが推奨デバイスであることを取得できる。この場合、本形態の情報処理装置2は、アプリ用デフォルトデバイスを、OS用デフォルトデバイスと同じ印刷装置1Aとする。
The
一方、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスではない場合には、OS用デフォルトデバイスは画像編集アプリ41の提供する機能を印刷に十分に反映できない。そのため、情報処理装置2は、アプリ用デフォルトデバイスをOS用デフォルトデバイスとは別のデバイスに設定するとよい。本形態の情報処理装置2は、例えば、OS用デフォルトデバイスとは別に、画像編集アプリ41の推奨デバイスのいずれかが接続されていれば、そのデバイスをアプリ用デフォルトデバイスとする。
On the other hand, when the default device for the OS is not the recommended device of the
続いて、本形態の印刷システム100において前述したアプリ用デフォルトデバイスの設定動作を実現するために、情報処理装置2にて実行されるデフォルト設定処理の手順について、図5のフローチャートを参照して説明する。このデフォルト設定処理は、例えば、画像編集アプリ41の初回動作時に、情報処理装置2のCPU21にて実行される。デフォルト設定処理は、画像編集アプリ41に含まれる処理である。
Subsequently, the procedure of the default setting process executed by the
デフォルト設定処理では、CPU21は、まず、OS44にてデフォルトデバイスが設定されているか否か、つまり、OS用デフォルトデバイスが有るか否かを判断する(S101)。S101は、デフォルトデバイス特定処理の一例である。
In the default setting process, the
OS用デフォルトデバイスが設定されていると判断した場合(S101:YES)、CPU21は、不揮発性メモリ24から推奨デバイスリスト51を取得する(S102)。S102は、デバイスリスト取得処理の一例である。なお、S102の実行タイミングは、デフォルト設定処理中に限らず、デフォルト設定処理が実行される前に予め行っておいてもよい。
When it is determined that the default device for the OS is set (S101: YES), the
さらに、CPU21は、取得した推奨デバイスリスト51を参照して、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであるか否かを判断する(S103)。そして、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであると判断した場合(S103:YES)、CPU21は、OS用デフォルトデバイスをアプリ用デフォルトデバイスに設定する(S104)。S104は、第1設定処理の一例である。さらに、CPU21は、デフォルトの処理の経路を第1経路に決定し(S105)、デフォルト設定処理を終了する。S105は、第1経路決定処理の一例である。
Further, the
すなわち、OS用デフォルトデバイスが推奨デバイスであることから、OS用デフォルトデバイスは、画像編集アプリ41の機能に対応可能である可能性が高い。そこで、CPU21は、アプリ用デフォルトデバイスを、OS用デフォルトデバイスに合わせる。つまり、この場合、アプリ用デフォルトデバイスとOS用デフォルトデバイスとは、同じデバイスとなる。S104にてアプリ用デフォルトデバイスが設定される場合でも、ユーザによるデフォルトデバイスの設定操作は不要であり、ユーザの手間を軽減できる。なお、CPU21は、設定したアプリ用デフォルトデバイスを、不揮発性メモリ24に記憶する。
That is, since the default device for the OS is the recommended device, it is highly possible that the default device for the OS can support the functions of the
さらに、OS用デフォルトデバイスが推奨デバイスである場合には、OS用デフォルトデバイスは、第1経路による処理に対応可能である可能性が高い。CPU21は、OS用デフォルトデバイスが推奨デバイスである場合には、デフォルトの処理の経路を第1経路に決定するので、ユーザの希望に合致した印刷を行える可能性の高い経路が設定される。また、S104の後、S105にて、自動的にデフォルトの処理の経路が設定されるので、ユーザによる経路の設定操作は不要であり、ユーザの手間を軽減できる。
Further, when the default device for the OS is the recommended device, it is highly possible that the default device for the OS can support the processing by the first route. When the default device for the OS is the recommended device, the
一方、OS用デフォルトデバイスが設定されていないと判断した場合(S101:NO)、または、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスではないと判断した場合(S103:NO)、CPU21は、画像編集アプリ41による検索動作を行う(S106)。S106は、検索処理の一例である。
On the other hand, when it is determined that the default device for the OS is not set (S101: NO), or when it is determined that the default device for the OS is not the recommended device of the image editing application 41 (S103: NO), the
本形態の情報処理装置2は、専用印刷制御プログラム43を用いて、画像編集アプリ41の各機能に対応可能なデバイスを検索できる。具体的には、CPU21は、ネットワークインターフェース27を制御して、OS44によるマルチキャストでの検索動作を行い、応答があったデバイスのうち、専用印刷制御プログラム43に対応可能なデバイスについて、機種情報を含むデバイス情報を取得する。
The
この検索動作により、CPU21は、画像編集アプリ41の各機能に対応可能なデバイスであって、現在使用可能な状態であるデバイスのリストを取得する。S106にて取得されるデバイスは、第1経路での印刷処理を実行可能なデバイスである。そして、CPU21は、画像編集アプリ41の機能に対応するデバイスが有るか否か,すなわち、S106の検索動作によってデバイスが見つかったか否かを判断する(S107)。
By this search operation, the
そして、画像編集アプリ41の機能に対応するデバイスが有ると判断した場合(S107:YES)、CPU21は、見つかったデバイスをアプリ用デフォルトデバイスに設定する(S108)。S108は、第2設定処理の一例である。さらに、CPU21は、デフォルトの処理の経路を第1経路に決定し(S109)、デフォルト設定処理を終了する。S109は、第2経路決定処理の一例である。
Then, when it is determined that there is a device corresponding to the function of the image editing application 41 (S107: YES), the
OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスでない場合に、OS用デフォルトデバイスは、画像編集アプリ41の機能を十分に生かした印刷ができない可能性がある。そこで、情報処理装置2は、専用印刷制御プログラム43によるデバイスの検索結果に基づいて、画像編集アプリ41の機能に対応するデバイスがあれば、そのデバイスをアプリのデフォルトデバイスとして自動的に設定する。この場合、アプリ用デフォルトデバイスは、OS用デフォルトデバイスとは異なるデバイスとなる。この構成によっても、デフォルトデバイスの設定に関するユーザの手間をより省くことができる。
If the default device for the OS is not the recommended device for the
画像編集アプリ41の機能に対応するデバイスは、第1経路による処理に対応可能である可能性が高い。CPU21は、画像編集アプリ41の機能に対応するデバイスをアプリ用デフォルトデバイスに設定した場合には、デフォルトの処理の経路を第1経路に決定するので、ユーザの希望に合致した印刷を行える可能性の高い経路が設定される。また、S108の後、S109にて、自動的にデフォルトの処理の経路が設定されるので、ユーザによる経路の設定操作は不要であり、ユーザの手間を軽減できる。
It is highly possible that the device corresponding to the function of the
なお、画像編集アプリ41の機能に対応するデバイスが複数見つかった場合には、そのうちの1つを自動的にアプリ用デフォルトデバイスとして選択してもよいし、ユーザにアプリ用デフォルトデバイスを選択させてもよい。自動的に選択する場合は、例えば、ランダムに選択してもよいし、最先に検索されたものでもよいし、スペックが最も高いものであってもよい。
If a plurality of devices corresponding to the function of the
一方、画像編集アプリ41の機能に対応するデバイスが無いと判断した場合(S107:NO)、CPU21は、OS用デフォルトデバイスが有るか否かを判断する(S110)。S110は、S101と同様の処理である。そして、OS用デフォルトデバイスが有ると判断した場合(S110:YES)、CPU21は、OS用デフォルトデバイスとの接続を確認する(S111)。CPU21は、例えば、OS用デフォルトデバイスの状態を問い合わせ、応答の有無によって通信可能な状態であるか否かを確認できる。そして、CPU21は、接続可能であるか否かを判断する(S112)。
On the other hand, when it is determined that there is no device corresponding to the function of the image editing application 41 (S107: NO), the
接続可能であると判断した場合(S112:YES)、CPU21は、OS用デフォルトデバイスをアプリ用デフォルトデバイスに設定する(S113)。S113は、第3設定処理の一例である。さらに、CPU21は、デフォルトの処理の経路を第2経路に決定し(S114)、デフォルト設定処理を終了する。S114は、第3経路決定処理の一例である。
When it is determined that the connection is possible (S112: YES), the
少なくともOS用デフォルトデバイスとして設定されたデバイスであれば、所望の処理の一部でも処理できる可能性がある。そのため、アプリ用デフォルトデバイスをOS用デフォルトデバイスに自動的に設定することで、デフォルトデバイスの設定に関するユーザの手間を省くことができる。 At least if the device is set as the default device for the OS, there is a possibility that even a part of the desired processing can be processed. Therefore, by automatically setting the default device for the application as the default device for the OS, it is possible to save the user's trouble in setting the default device.
S113にてアプリ用デフォルトデバイスに設定されたデバイスは、第1経路による処理に対応不可能なデバイスである可能性が高い。この場合には、処理の経路を第2経路とする方が、ユーザの希望に合致した印刷を行える可能性が高い。また、S113の後、S114にて、自動的にデフォルトの処理の経路が設定されるので、ユーザによる経路の設定操作は不要であり、ユーザの手間を軽減できる。 The device set as the default device for the application in S113 is likely to be a device that cannot support the processing by the first route. In this case, it is more likely that printing that meets the user's wishes can be performed if the processing route is the second route. Further, since the default processing route is automatically set in S114 after S113, it is not necessary for the user to set the route, and the time and effort of the user can be reduced.
なお、S113で設定したアプリ用デフォルトデバイスは、画像編集アプリ41の推奨デバイスではなく、画像編集アプリ41の機能の一部に対応できない可能性が高い。そのため、CPU21は、一時的にアプリ用デフォルトデバイスとするのみとしてもよい。CPU21は、S113にてアプリ用デフォルトデバイスを設定した場合、例えば、画像編集アプリ41の終了時、または、所定時間の経過後に、アプリ用デフォルトデバイスが設定されていない状態に戻してもよい。
It should be noted that the default device for the application set in S113 is not the recommended device of the
OS用デフォルトデバイスが無いと判断した場合(S110:NO)、または、接続不可能であると判断した場合(S112:NO)、CPU21は、例えば、図6に示すように、デバイスが見つからない旨の警告メッセージを含むアラートを表示し(S115)、デフォルト設定処理を終了する。
When it is determined that there is no default device for the OS (S110: NO), or when it is determined that the connection is not possible (S112: NO), the
なお、情報処理装置2は、このデフォルト設定処理を、例えば、画像編集アプリ41の初回動作時のみでなく、画像編集アプリ41が起動される度に行ってもよい。あるいは、画像編集アプリ41の起動時でなく、画像編集アプリ41にて印刷指示を受け付けた時に実行してもよい。また、情報処理装置2は、例えば、画像編集アプリ41の起動時に、アプリ用デフォルトデバイスが設定されているか否かを判断し、設定されていない場合にはデフォルト設定処理を実行するとしてもよい。
The
次に、本形態の印刷システム100においてアプリ用デフォルトデバイスの変更動作を実現するデフォルト変更処理の手順について、図7のフローチャートを参照して説明する。このデフォルト変更処理は、OS用デフォルトデバイスと、アプリ用デフォルトデバイスと、が設定された後、OS用デフォルトデバイスの変更を検知した場合に、情報処理装置2のCPU21にて実行される。OS用デフォルトデバイスが変更された場合には、アプリ用デフォルトデバイスを変更した方が好ましいこともある。デフォルト変更処理は、画像編集アプリ41に含まれる処理である。
Next, the procedure of the default change process for realizing the change operation of the default device for the application in the
なお、情報処理装置2は、アプリ用デフォルトデバイスを設定した際に、その時点でのOS用デフォルトデバイスも不揮発性メモリ24に記憶する。CPU21は、記憶されているOS用デフォルトデバイスを、変更前のOS用デフォルトデバイスとして取得できる。画像編集アプリ41は、OS用デフォルトデバイスの変更を、OS44からの通知によって検知してもよいし、例えば、画像編集アプリ41の起動時、印刷指示の受け付け時に、その時点にて設定されているOS用デフォルトデバイスを読み出して、記憶している変更前のOS用デフォルトデバイスと照合してもよい。
When the
また、OS用デフォルトデバイスが変更された際にアプリ用デフォルトデバイスが未設定であれば、CPU21は、前述したデフォルト設定処理を実行する。この場合には、デフォルト設定処理中のOS用デフォルトデバイスは、変更後のOS用デフォルトデバイスである。
If the default device for the application is not set when the default device for the OS is changed, the
デフォルト変更処理では、CPU21は、まず、記憶している変更前のOS用デフォルトデバイスとアプリ用デフォルトデバイスとが一致しているか否かを判断する(S201)。そして、変更前のOS用デフォルトデバイスとアプリ用デフォルトデバイスとが一致していると判断した場合(S201:YES)、CPU21は、変更後のOS用デフォルトデバイス、つまり、現在設定されているOS用デフォルトデバイスを特定し、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであるか否かを判断する(S202)。CPU21は、前述した推奨デバイスリスト51に基づいて、S202の判断を行う。
In the default change process, the
そして、変更後のOS用デフォルトデバイスが推奨デバイスであると判断した場合(S202:YES)、CPU21は、デフォルトデバイスの追従設定がなされているか否かを判断する(S203)。デフォルトデバイスの追従設定は、OS用デフォルトデバイスの変更にアプリ用デフォルトデバイスが自動的に追従する設定であり、後述するように、ユーザによって設定される。
Then, when it is determined that the changed default device for the OS is the recommended device (S202: YES), the
デフォルトデバイスの追従設定がなされていると判断した場合(S203:YES)、CPU21は、アプリ用デフォルトデバイスを、OS用デフォルトデバイスと同じデバイスに設定して(S204)、デフォルト変更処理を終了する。つまり、アプリ用デフォルトデバイスを、変更後のOS用デフォルトデバイスと同じデバイスに変更する。ユーザによる追従設定がなされている場合には、アプリ用デフォルトデバイスを変更するか否かを毎回ユーザに問い合わせる必要はなく、ユーザの手間をより省くことができる。
If it is determined that the default device follow-up setting has been made (S203: YES), the
デフォルトデバイスの追従設定がなされていないと判断した場合(S203:NO)、CPU21は、操作表示部26を制御し、例えば、図8に示すように、アプリ用デフォルトデバイスの変更を許可するか否かを問い合わせるメッセージを表示させる(S206)。アプリ用デフォルトデバイスの変更を望まないユーザも考えられるため、本形態の情報処理装置2は、アプリ用デフォルトデバイスの変更前に変更の可否をユーザに問い合わせる。
If it is determined that the default device tracking setting has not been made (S203: NO), the
なお、S206では、図8に示すように、CPU21は、デフォルトデバイスの追従設定を行うか否かを問い合わせるメッセージを合わせて表示させてもよい。あるいは、追従の問い合わせは、変更が選択された場合に、改めて表示するとしてもよい。
In S206, as shown in FIG. 8, the
そして、CPU21は、アプリ用デフォルトデバイスの変更を許可する指示を受け付けたか否かを判断する(S207)。アプリ用デフォルトデバイスの変更を許可する指示を受け付けたと判断した場合(S207:YES)、CPU21は、アプリ用デフォルトデバイスを変更後のOS用デフォルトデバイスに変更する(S208)。S208は、S204と同じ処理である。
Then, the
そして、CPU21は、デフォルトデバイスの追従設定を行う指示を受け付けたか否かを判断する(S209)。デフォルトデバイスの追従設定を行う指示を受け付けたと判断した場合(S209:YES)、CPU21は、デフォルトデバイスの追従設定を行う旨の情報を不揮発性メモリ24に記憶する(S210)。
Then, the
アプリ用デフォルトデバイスの変更を許可しない指示を受け付けたと判断した場合(S207:NO)、または、デフォルトデバイスの追従設定を行わない指示を受け付けたと判断した場合(S209:NO)、または、S210の後、CPU21は、デフォルト変更処理を終了する。なお、S207でNOと判断した場合には、CPU21は、アプリ用デフォルトデバイスを変更せず、変更前のOS用デフォルトデバイスと同じデバイスのままとする。
When it is determined that the instruction not to allow the change of the default device for the application has been accepted (S207: NO), or when it is determined that the instruction not to set the follow-up of the default device has been accepted (S209: NO), or after S210. ,
一方、変更後のOS用デフォルトデバイスが推奨デバイスではないと判断した場合(S202:NO)、CPU21は、アプリ用デフォルトデバイスとして設定されているデバイスに接続確認を行う(S212)。そして、CPU21は、アプリ用デフォルトデバイスに接続可能であるか否かを判断する(S213)。CPU21は、ネットワークインターフェース27を制御して、例えば、アプリ用デフォルトデバイスに状態を問い合わせる信号を送信し、所定時間以内に適切な応答信号を受信したか否かに基づいて、S213の判断を行う。S213は、接続確認処理の一例である。
On the other hand, when it is determined that the changed OS default device is not the recommended device (S202: NO), the
アプリ用デフォルトデバイスに接続可能であると判断した場合(S213:YES)、CPU21は、デフォルト変更処理を終了する。この場合、CPU21は、アプリ用デフォルトデバイスの設定を行わない。つまり、CPU21は、アプリ用デフォルトデバイスを変更せず、変更前のOS用デフォルトデバイスと同じデバイスのままとする。そのため、アプリ用デフォルトデバイスは、OS用デフォルトデバイスとは異なるデバイスとなる。変更後のOS用デフォルトデバイスが推奨デバイスではない場合には、推奨デバイスである可能性が高いアプリ用デフォルトデバイスを使用する方が、ユーザの希望する印刷物を得られる可能性が高い。
When it is determined that the default device for the application can be connected (S213: YES), the
一方、アプリ用デフォルトデバイスに接続不可能であると判断した場合(S213:NO)、CPU21は、一時的に使用するデバイスとして、OS用デフォルトデバイスを設定し(S214)、デフォルト変更処理を終了する。S214は、デフォルトデバイス許可処理の一例である。接続不可能なデバイスに印刷させることはできない。アプリ用デフォルトデバイスが使用できなくなっている場合、少なくともOS用デフォルトデバイスとして設定されたデバイスであれば、所望の処理の一部でも処理できる可能性がある。そのため、OS用デフォルトデバイスを使用することで、処理が全くできない状態を回避できる可能性が高まる。なお、OS用デフォルトデバイスの使用は、限定的なものであり、例えば、処理1回分、画像編集アプリ41の処理を終了するまで、とすればよい。
On the other hand, when it is determined that the application default device cannot be connected (S213: NO), the
また、変更前のOS用デフォルトデバイスとアプリ用デフォルトデバイスとが一致していないと判断した場合(S201:NO)、CPU21は、変更後のOS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであるか否かを判断する(S216)。S216は、S202と同じ処理である。
If it is determined that the default device for the OS before the change and the default device for the application do not match (S201: NO), the
そして、変更後のOS用デフォルトデバイスが推奨デバイスであると判断した場合(S216:YES)、CPU21は、操作表示部26を制御し、例えば、図9に示すように、アプリ用デフォルトデバイスを変更するか否かを問い合わせるメッセージを表示させる(S217)。
Then, when it is determined that the changed OS default device is the recommended device (S216: YES), the
OS用デフォルトデバイスの変更前から、OS用デフォルトデバイスとアプリ用デフォルトデバイスとが異なる場合、画像編集アプリ41からのデバイスの利用を、他のアプリからのデバイスの利用と分けて運用している可能性が高い。そのため、OS用デフォルトデバイスを変更しても、アプリ用デフォルトデバイスの変更を希望しない可能性があることから、変更前にアプリ用デフォルトデバイスの変更の可否をユーザに問い合わせる。
If the default device for the OS and the default device for the application are different from each other before changing the default device for the OS, it is possible to operate the device from the
そして、CPU21は、アプリ用デフォルトデバイスを変更する指示を受け付けたか否かを判断する(S218)。アプリ用デフォルトデバイスを変更する指示を受け付けたと判断した場合(S218:YES)、CPU21は、アプリ用デフォルトデバイスを変更後のOS用デフォルトデバイスに設定して(S219)、デフォルト変更処理を終了する。S219は、S204やS208と同じ処理である。
Then, the
なお、図9の例では、図8の例とは異なり、追従設定に関する問い合わせは表示しない。変更前のアプリ用デフォルトデバイスがOS用デフォルトデバイスと異なることから、追従していないと見なすことができる。つまり、CPU21は、変更前のアプリ用デフォルトデバイスがOS用デフォルトデバイスと異なる場合には、追従設定を行わない。ただし、S218にて変更する指示を受け付けたと判断した場合には、CPU21は、追従設定を行うか否かを問い合わせる表示を行って、ユーザの希望があれば追従設定を行うとしてもよい。
In the example of FIG. 9, unlike the example of FIG. 8, the inquiry regarding the follow-up setting is not displayed. Since the default device for the application before the change is different from the default device for the OS, it can be regarded as not following. That is, if the default device for the application before the change is different from the default device for the OS, the
一方、変更後のOS用デフォルトデバイスが推奨デバイスではないと判断した場合(S216:NO)、または、アプリ用デフォルトデバイスを変更しない指示を受け付けたと判断した場合(S218:NO)、CPU21は、アプリ用デフォルトデバイスを変更しないで、デフォルト変更処理を終了する。変更後のOS用デフォルトデバイスがアプリの推奨デバイスではない場合、アプリ用デフォルトデバイスをOS用デフォルトデバイスに変更すると、処理が制限される可能性がある。そのため、CPU21は、アプリ用デフォルトデバイスを変更しない。
On the other hand, when it is determined that the changed OS default device is not the recommended device (S216: NO), or when it is determined that the instruction not to change the application default device has been accepted (S218: NO), the
以上、詳細に説明したように、本形態の情報処理装置2は、アプリ用デフォルトデバイスが未設定の場合やOS用デフォルトデバイスが変更された場合に、OS用デフォルトデバイスが推奨デバイスリスト51に含まれるか否かを判断する。そして、含まれる場合には、情報処理装置2は、OS用デフォルトデバイスをアプリ用デフォルトデバイスに設定する。OS用デフォルトデバイスが画像編集アプリ41の提供する機能に対応可能なデバイスであれば、画像編集アプリ41からの指示でそのデバイスを利用して印刷しても、所望の印刷物を得られる可能性が高い。従って、OS用デフォルトデバイスをアプリ用デフォルトデバイスに自動的に設定することで、デフォルトデバイスの設定に関するユーザの手間を省くことができる。
As described in detail above, in the
なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、印刷装置1は、操作パネル13を備えなくてもよい。情報処理装置2は、不揮発性メモリ24に限らず、どのような種類の大容量記憶装置を備えていてもよい。
It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, as a matter of course, the present invention can be improved and modified in various ways without departing from the gist thereof. For example, the printing device 1 does not have to include the
また、印刷装置1と情報処理装置2との通信方式は、Wi−Fi(登録商標)規格に準拠した無線通信に限らない。例えば、LANケーブルやUSBケーブルを用いた有線通信であってもよいし、Bluetooth(登録商標)等の他の規格に基づく無線通信であってもよい。また、複数の通信機能を備えていてもよい。
Further, the communication method between the printing device 1 and the
また、印刷対象の画像ファイルは、ラベルに印刷するためのラベル画像ファイルに限らない。例えば、PDFファイル、JPEG等の圧縮ファイル、ビットマップファイルでもよい。ラベル画像ファイル以外の画像ファイルを対象とする場合、画像編集アプリ41や専用印刷制御プログラム43として、対象の画像ファイルに適合するものを使用すればよい。
Further, the image file to be printed is not limited to the label image file for printing on the label. For example, a PDF file, a compressed file such as JPEG, or a bitmap file may be used. When an image file other than the label image file is targeted, an
また、本形態では、第2経路では印刷装置1にてラスタライズするとしたが、第1経路と異なる経路であればよく、情報処理装置2にてラスタライズする経路であってもよい。例えば、汎用印刷制御プログラム45がラスタライズ機能を有していれば、そのラスタライズ機能によってラスタライズしてもよい。この場合であっても、第1経路と第2経路とではラスタライズ処理のアルゴリズムが異なる。また、この場合であっても、第1経路は、OS44の印刷制御機能を用いない経路であり、第2経路は、OS44の印刷制御機能を用いる経路である。
Further, in the present embodiment, the second path is rasterized by the printing device 1, but any path different from the first path may be used, and the path may be rasterized by the
また、本形態では、印刷システム100にて対応可能な経路として第1経路と第2経路の2種類が有るものとして説明しているが、さらに他の経路があってもよい。他の経路としては、例えば、デバイスに専用のドライバを用いて印刷する経路や、Unix、macOS、Linux(登録商標)の印刷ドライバであるCUPSを用いて印刷する経路がある。デバイス専用のドライバやCUPSは、情報処理装置2のOS44(図2参照)に組み込まれ、画像データのラスタライズを行うプログラムである。
Further, in the present embodiment, it is described that there are two types of routes that can be handled by the
また、本形態では、推奨デバイスリスト51を不揮発性メモリ24に記憶しているとしたが、これに限らない。例えば、画像編集アプリ41のデータとして備えていてもよいし、ネットワーク経由で取得してもよい。また、情報処理装置2は、アップデート情報等に基づいて、推奨デバイスリスト51を適宜変更してもよい。
Further, in the present embodiment, the recommended
また、本形態では、OS用デフォルトデバイスが変更された場合に、デフォルト変更処理を実行するとしたが、しなくてもよい。また、アプリ用デフォルトデバイスを、不揮発性メモリ24に記憶するとしたが、しなくてもよい。例えば、画像編集アプリ41の起動時に、毎回、デフォルト設定処理を実行してもよい。アプリ用デフォルトデバイスは、画像編集アプリ41が終了されるまでの間だけ設定されるとしてもよい。
Further, in this embodiment, when the default device for the OS is changed, the default change process is executed, but it is not necessary. Further, although it is assumed that the default device for the application is stored in the
また、追従設定は、なくてもよい。毎回ユーザに問い合わせるとしてもよい。ただし、追従設定を設けることで、追従したいユーザには、問い合わせに答える手間が省ける。また、問い合わせをしないとしてもよい。例えば、変更後のOS用デフォルトデバイスが推奨デバイスであれば、アプリ用デフォルトデバイスを自動的にOS用デフォルトデバイスに変更するとしてもよい。ただし、問い合わせることで、ユーザの希望を確認できる。 Moreover, the follow-up setting may not be necessary. You may contact the user every time. However, by providing the follow-up setting, the user who wants to follow can save the trouble of answering the inquiry. Moreover, you may not make an inquiry. For example, if the changed default device for the OS is the recommended device, the default device for the application may be automatically changed to the default device for the OS. However, the user's wishes can be confirmed by inquiring.
また、本形態では、画像編集アプリ41は画像を編集する機能を有しているとしたが、これに限られない。例えば、画像の編集は他の汎用のアプリにて行い、画像編集アプリ41は、その汎用のアプリで作成されたファイルを印刷する機能を有するものであってもよい。
Further, in the present embodiment, the
また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組み合わせで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Further, the process disclosed in the embodiment may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. In addition, the process disclosed in the embodiment can be realized in various aspects such as a recording medium or a method in which a program for executing the process is recorded.
1A、1B、1C 印刷装置
2 情報処理装置
21 CPU
27 ネットワークインターフェース
41 画像編集アプリ
51 推奨デバイスリスト
100 印刷システム
1A, 1B,
27
Claims (15)
オペレーティングシステムに設定されたデフォルトデバイスを特定するデフォルトデバイス特定処理と、
前記アプリケーションプログラムの提供する機能に対応可能なデバイスのリストを取得するデバイスリスト取得処理と、
前記デバイスリスト取得処理にて取得したリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれる場合に、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定する第1設定処理と、
を実行させることを特徴とするアプリケーションプログラム。 An application program embedded in an information processing device that communicates with a device via a communication interface.
The default device identification process that identifies the default device set in the operating system, and
A device list acquisition process for acquiring a list of devices compatible with the functions provided by the application program, and
When the list acquired in the device list acquisition process includes the default device specified in the default device identification process, the default device specified in the default device identification process is set as the default device of the application program. The first setting process to be performed and
An application program characterized by executing.
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第1の経路と、前記印刷制御機能を用いて前記プリンタに印刷させる第2の経路とを有し、
前記第1設定処理にて前記アプリケーションプログラムのデフォルトデバイスが設定された場合、前記データを処理する経路を前記第1の経路に決定する第1経路決定処理、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。 In the application program according to claim 1,
The device is a printer
The operating system of the information processing device has a print control function and has a print control function.
The information processing device incorporates a specific program, which is a program corresponding to a specific model including the model of the device.
The information processing apparatus uses a first route for causing the printer to print using the specific program and the print control function as a route for processing data instructing the device to print based on image data to be printed. Has a second path for printing on the printer.
When the default device of the application program is set in the first setting process, the first route determination process of determining the route for processing the data as the first route,
Is an application program characterized by causing the information processing apparatus to execute the above.
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれない場合に、前記アプリケーションプログラムの提供する機能に対応可能なデバイスの検索を行う検索処理と、
前記検索処理にてデバイスが検索された場合に、そのうちの1つを前記アプリケーションプログラムのデフォルトデバイスに設定する第2設定処理と、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。 In the application program according to claim 1 or 2.
A search process that searches for devices that can support the functions provided by the application program when the default device specified in the default device identification process is not included in the list of devices acquired in the device list acquisition process. When,
When a device is searched by the search process, a second setting process of setting one of them as the default device of the application program and
Is an application program characterized by causing the information processing apparatus to execute the above.
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第1の経路と、前記印刷制御機能を用いて前記プリンタに印刷させる第2の経路とを有し、
前記第2設定処理にて前記アプリケーションプログラムのデフォルトデバイスが設定された場合、前記データを処理する経路を前記第1の経路に決定する第2経路決定処理、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。 In the application program according to claim 3,
The device is a printer
The operating system of the information processing device has a print control function and has a print control function.
The information processing device incorporates a specific program, which is a program corresponding to a specific model including the model of the device.
The information processing apparatus uses a first route for causing the printer to print using the specific program and the print control function as a route for processing data instructing the device to print based on image data to be printed. Has a second path for printing on the printer.
When the default device of the application program is set in the second setting process, the second route determination process of determining the route for processing the data as the first route,
Is an application program characterized by causing the information processing apparatus to execute the above.
前記検索処理にてデバイスが検索されなかった場合に、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを前記アプリケーションプログラムのデフォルトデバイスに設定する第3設定処理、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。 In the application program according to claim 3 or 4.
A third setting process for setting the default device specified in the default device identification process as the default device of the application program when the device is not searched in the search process.
Is an application program characterized by causing the information processing apparatus to execute the above.
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第1の経路と、前記印刷制御機能を用いて前記プリンタに印刷させる第2の経路とを有し、
前記第3設定処理にて前記アプリケーションプログラムのデフォルトデバイスが設定された場合、前記データを処理する経路を前記第2の経路に決定する第3経路決定処理、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。 In the application program according to claim 5.
The device is a printer
The operating system of the information processing device has a print control function and has a print control function.
The information processing device incorporates a specific program, which is a program corresponding to a specific model including the model of the device.
The information processing apparatus uses a first route for causing the printer to print using the specific program and the print control function as a route for processing data instructing the device to print based on image data to be printed. Has a second path for printing on the printer.
When the default device of the application program is set in the third setting process, the third route determination process of determining the route for processing the data as the second route,
Is an application program characterized by causing the information processing apparatus to execute the above.
前記アプリケーションプログラムの初回の起動時に、少なくとも前記第1設定処理を前記情報処理装置に実行させる、
ことを特徴とするアプリケーションプログラム。 In the application program according to any one of claims 1 to 6.
When the application program is started for the first time, at least the first setting process is executed by the information processing apparatus.
An application program characterized by that.
オペレーティングシステムのデフォルトデバイスの変更を検知した場合に、前記デフォルトデバイス特定処理および前記第1設定処理を、前記情報処理装置に実行させ、
前記デフォルトデバイス特定処理では、オペレーティングシステムの変更後のデフォルトデバイスを取得する、
ことを特徴とするアプリケーションプログラム。 In the application program according to any one of claims 1 to 7.
When a change in the default device of the operating system is detected, the information processing apparatus is made to execute the default device identification process and the first setting process.
In the default device identification process, the default device after the change of the operating system is acquired.
An application program characterized by that.
前記第1設定処理では、
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれる場合に、前記アプリケーションプログラムのデフォルトデバイスの変更を許可するか否かを問い合わせ、変更が許可されたことを条件として、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定する、
ことを特徴とするアプリケーションプログラム。 In the application program according to claim 8.
In the first setting process,
When the list of devices acquired in the device list acquisition process includes the default device specified in the default device identification process, an inquiry is made as to whether or not to allow the change of the default device of the application program, and the change is made. On condition that it is permitted, the default device specified in the default device identification process is set as the default device of the application program.
An application program characterized by that.
前記アプリケーションプログラムには、
前記アプリケーションプログラムのデフォルトデバイスを、オペレーティングシステムのデフォルトデバイスに合わせるか否かの追従設定があり、
前記第1設定処理では、
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれる場合に、
前記追従設定にてオペレーティングシステムのデフォルトデバイスに合わせる設定がなされていなければ、前記アプリケーションプログラムのデフォルトデバイスの変更を許可するか否かを問い合わせ、変更が許可されたことを条件として、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定し、
前記追従設定にてオペレーティングシステムのデフォルトデバイスに合わせる設定がなされていれば、前記問い合わせを行うことなく、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定する、
ことを特徴とするアプリケーションプログラム。 In the application program according to claim 8.
The application program includes
There is a follow-up setting as to whether or not to match the default device of the application program with the default device of the operating system.
In the first setting process,
When the default device specified in the default device identification process is included in the list of devices acquired in the device list acquisition process.
If the follow-up setting is not set to match the default device of the operating system, an inquiry is made as to whether or not to allow the change of the default device of the application program, and the default device is specified on condition that the change is permitted. The default device specified in the process is set as the default device of the application program.
If the follow-up setting is set to match the default device of the operating system, the default device specified in the default device identification process is set as the default device of the application program without making the inquiry.
An application program characterized by that.
前記第1設定処理では、
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれる場合に、
オペレーティングシステムの変更前のデフォルトデバイスと前記アプリケーションプログラムのデフォルトデバイスとが一致していなければ、前記アプリケーションプログラムのデフォルトデバイスの変更を許可するか否かを問い合わせ、変更が許可されたことを条件として、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定する、
ことを特徴とするアプリケーションプログラム。 In the application program according to any one of claims 8 to 10.
In the first setting process,
When the default device specified in the default device identification process is included in the list of devices acquired in the device list acquisition process.
If the default device before the change of the operating system and the default device of the application program do not match, inquire whether to allow the change of the default device of the application program, provided that the change is permitted. The default device specified in the default device identification process is set as the default device of the application program.
An application program characterized by that.
前記第1設定処理では、
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれない場合に、前記アプリケーションプログラムのデフォルトデバイスを変更しない、
ことを特徴とするアプリケーションプログラム。 In the application program according to any one of claims 8 to 11.
In the first setting process,
If the list of devices acquired in the device list acquisition process does not include the default device specified in the default device identification process, the default device of the application program is not changed.
An application program characterized by that.
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれない場合に、前記アプリケーションプログラムのデフォルトデバイスとの接続を確認する接続確認処理と、
前記接続確認処理にて前記アプリケーションプログラムのデフォルトデバイスとの接続が確認されなかった場合に、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスの使用を許可するデフォルトデバイス許可処理と、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。 In the application program according to claim 12,
When the list of devices acquired in the device list acquisition process does not include the default device specified in the default device identification process, the connection confirmation process for confirming the connection with the default device of the application program, and the connection confirmation process.
When the connection with the default device of the application program is not confirmed in the connection confirmation process, the default device permission process for permitting the use of the default device specified in the default device identification process, and the default device permission process.
Is an application program characterized by causing the information processing apparatus to execute the above.
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第1の経路と、前記印刷制御機能を用いて前記プリンタに印刷させる第2の経路とを有し、
前記検索処理では、前記特定プログラムを用いてデバイスの検索を行う、
ことを特徴とするアプリケーションプログラム。 In the application program according to claim 3,
The device is a printer
The operating system of the information processing device has a print control function and has a print control function.
The information processing device incorporates a specific program, which is a program corresponding to a specific model including the model of the device.
The information processing apparatus uses a first route for causing the printer to print using the specific program and the print control function as a route for processing data instructing the device to print based on image data to be printed. Has a second path for printing on the printer.
In the search process, a device is searched using the specific program.
An application program characterized by that.
前記情報処理装置には、
前記デバイスを利用するアプリケーションプログラムが組み込まれており、
前記情報処理装置は、
オペレーティングシステムに設定されたデフォルトデバイスを特定するデフォルトデバイス特定手段と、
前記アプリケーションプログラムの提供する機能に対応可能なデバイスのリストを取得するデバイスリスト取得手段と、
前記デバイスリスト取得手段にて取得したデバイスのリストに、前記デフォルトデバイス特定手段にて特定したデフォルトデバイスが含まれる場合に、前記デフォルトデバイス特定手段にて特定したデフォルトデバイスを、前記アプリケーションプログラムのデフォルトデバイスに設定する第1設定手段と、
を備える、
ことを特徴とするシステム。 In a system provided with an information processing device and a device and communicating between the information processing device and the device.
The information processing device
An application program that uses the device is built in.
The information processing device
Default device identification means to identify the default device set in the operating system,
A device list acquisition means for acquiring a list of devices compatible with the functions provided by the application program, and
When the list of devices acquired by the device list acquisition means includes the default device specified by the default device specifying means, the default device specified by the default device specifying means is set as the default device of the application program. The first setting means to set to
To prepare
A system characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017185789A JP6922608B2 (en) | 2017-09-27 | 2017-09-27 | Application programs and systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017185789A JP6922608B2 (en) | 2017-09-27 | 2017-09-27 | Application programs and systems |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019061509A JP2019061509A (en) | 2019-04-18 |
JP6922608B2 true JP6922608B2 (en) | 2021-08-18 |
Family
ID=66178526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017185789A Active JP6922608B2 (en) | 2017-09-27 | 2017-09-27 | Application programs and systems |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6922608B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4781125B2 (en) * | 2006-02-17 | 2011-09-28 | キヤノン株式会社 | Information processing system, information processing apparatus, and peripheral device |
JP5495638B2 (en) * | 2009-07-03 | 2014-05-21 | キヤノン株式会社 | Information processing apparatus, information processing method, and control program |
JP5665288B2 (en) * | 2009-07-24 | 2015-02-04 | キヤノン株式会社 | Information processing apparatus, information processing method, and control program |
JP5677556B2 (en) * | 2013-11-25 | 2015-02-25 | キヤノン株式会社 | Information processing apparatus and method |
JP2016033770A (en) * | 2014-07-31 | 2016-03-10 | キヤノン株式会社 | Printing system, information processing device and control method thereof, and program |
-
2017
- 2017-09-27 JP JP2017185789A patent/JP6922608B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019061509A (en) | 2019-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7355147B2 (en) | application program | |
JP7494958B2 (en) | Program and printing system | |
US10091827B2 (en) | Electronic apparatus, method of supporting wireless connection, image forming apparatus, and method of wireless connection | |
US9374499B2 (en) | Information processing apparatus, method for controlling information processing apparatus, and storage medium | |
JP7548406B2 (en) | Program and printing system | |
US20080077914A1 (en) | Driver installing method, driver controlling method and terminal apparatus | |
JP2022164669A (en) | Image formation device, method for controlling image formation device and program | |
JP2019061622A (en) | program | |
JP2019174942A (en) | Application program | |
US20160350039A1 (en) | Information processing apparatus, control method, and storage medium | |
JP2015231155A (en) | Communication system, information processing device and control method thereof, and program | |
JP7024270B2 (en) | Program and printing system | |
JP7000746B2 (en) | Program and printing system | |
JP6922608B2 (en) | Application programs and systems | |
JP6933077B2 (en) | Program and printing system | |
US9274727B2 (en) | Communication apparatus, control method therefor, and computer-readable storage medium for performing connection to a processing target apparatus | |
JP7411168B2 (en) | application program | |
JP2021072573A (en) | Information processing device, program, and control method | |
US11252288B2 (en) | Information processing apparatus for communicating with image forming apparatus and control method for controlling the same | |
JP6142820B2 (en) | Information processing program, information processing apparatus, and information processing apparatus control method | |
JP7024547B2 (en) | Application program | |
JP2012198765A (en) | Printer driver and print control device | |
JP7439973B2 (en) | Program sets, programs, and information processing equipment | |
JP7415682B2 (en) | Program set, reading result acquisition method, and information processing device | |
JP7505277B2 (en) | Setup system and setup program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200911 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210625 |
|
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: 20210629 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210712 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6922608 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |