[go: up one dir, main page]

JP6922608B2 - Application programs and systems - Google Patents

Application programs and systems Download PDF

Info

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
Application number
JP2017185789A
Other languages
Japanese (ja)
Other versions
JP2019061509A (en
Inventor
山田 純
山田  純
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017185789A priority Critical patent/JP6922608B2/en
Publication of JP2019061509A publication Critical patent/JP2019061509A/en
Application granted granted Critical
Publication of JP6922608B2 publication Critical patent/JP6922608B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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. ..

特開2013−229047号公報Japanese Unexamined Patent Publication No. 2013-229847

情報処理装置と通信可能なデバイスには、例えばラベルプリンタやモバイルプリンタといった特殊用途のデバイスがあり、その特殊用途のデバイス用のアプリケーションプログラムである特定プログラムが情報処理装置に組み込まれる場合がある。この場合、その特定プログラムでは、主として特殊用途のデバイスの使用が想定されるが、他のプログラムでは特殊用途のデバイス以外のデバイスの使用も想定される。そのため、特定プログラムに、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.

実施の形態にかかる印刷システムの概略構成図である。It is a schematic block diagram of the printing system which concerns on embodiment. 情報処理装置の印刷用のプログラムを示す説明図である。It is explanatory drawing which shows the program for printing of an information processing apparatus. 2種類の印刷経路を示す説明図である。It is explanatory drawing which shows two kinds of printing paths. 推奨デバイスリストの例を示す説明図である。It is explanatory drawing which shows the example of the recommended device list. デフォルト設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a default setting process. アラートの例を示す説明図である。It is explanatory drawing which shows the example of an alert. デフォルト変更処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the default change processing. アラートの例を示す説明図である。It is explanatory drawing which shows the example of an alert. アラートの例を示す説明図である。It is explanatory drawing which shows the example of an alert.

以下、本発明にかかる印刷システムを具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、互いに通信可能な印刷装置と情報処理装置とを含む印刷システムに本発明を適用したものである。 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 printing system 100 of this embodiment has a plurality of printing devices 1A, 1B, 1C and an information processing device 2, and is connected to each other so as to be able to communicate with each other. The printing devices 1A, 1B, and 1C are devices capable of printing on a medium to be printed, and are, for example, a label printer, a page printer, a copier, and a multifunction device. In the following, when it is not necessary to distinguish between them, it is simply referred to as the printing device 1. The information processing device 2 is a device that generates and processes image data to be printed by the printing device 1, transmits a print execution instruction to the printing device 1, and is, for example, a smartphone, a personal computer, or a tablet computer. The number of printing devices 1 and information processing devices 2 constituting the printing system 100 is not limited to the example shown in FIG.

印刷装置1は、図1に印刷装置1Aに代表して示すように、コントローラ11と、画像形成部12と、操作パネル13と、ネットワークインターフェース14とを有している。コントローラ11は、CPUやメモリ等を含み、印刷装置1の各構成要素を制御する。なお、図1中のコントローラ11は、印刷装置1の制御に利用されるハードウェアを纏めた総称であって、実際に印刷装置1に存在する単一のハードウェアを表すとは限らない。 As shown in FIG. 1 as a representative of the printing device 1A, the printing device 1 includes a controller 11, an image forming unit 12, an operation panel 13, and a network interface 14. The controller 11 includes a CPU, a memory, and the like, and controls each component of the printing device 1. Note that the controller 11 in FIG. 1 is a general term for the hardware used for controlling the printing device 1, and does not necessarily represent a single hardware actually existing in the printing device 1.

画像形成部12は、印刷対象の媒体に画像を印刷するための構成である。画像形成部12の画像形成方式は、電子写真方式であっても、インクジェット方式であってもよい。また、印刷装置1は、カラー画像を形成可能な装置であってもよいし、モノクロ印刷のみを行う装置であってもよい。操作パネル13は、例えば、タッチパネルであり、ユーザによる入力を受け付けるとともに情報の表示を行う。操作パネル13は、各種の表示ランプやボタン等を含んでもよい。ネットワークインターフェース14は、情報処理装置2と通信を行うためのハードウェアを含む。 The image forming unit 12 is configured to print an image on a medium to be printed. The image forming method of the image forming unit 12 may be an electrophotographic method or an inkjet method. Further, the printing device 1 may be a device capable of forming a color image or a device capable of performing only monochrome printing. The operation panel 13 is, for example, a touch panel, which accepts input by the user and displays information. The operation panel 13 may include various indicator lamps, buttons, and the like. The network interface 14 includes hardware for communicating with the information processing device 2.

情報処理装置2は、図1に示すように、CPU21と、ROM22と、RAM23と、不揮発性メモリ24と、操作表示部26と、ネットワークインターフェース27とを有している。ROM22には、情報処理装置2を起動するための起動プログラム等が記憶されている。RAM23は、各種処理が実行される際に作業領域として、あるいは、データを一時的に記憶する記憶領域として利用される。不揮発性メモリ24は、例えば、HDD、フラッシュメモリであり、各種のプログラムやデータを記憶する。 As shown in FIG. 1, the information processing device 2 has a CPU 21, a ROM 22, a RAM 23, a non-volatile memory 24, an operation display unit 26, and a network interface 27. The ROM 22 stores a start-up program or the like for starting the information processing device 2. The RAM 23 is used as a work area when various processes are executed, or as a storage area for temporarily storing data. The non-volatile memory 24 is, for example, an HDD or a flash memory, and stores various programs and data.

CPU21は、ROM22や不揮発性メモリ24から読み出したプログラムに従って、各種の処理を実行する。操作表示部26は、例えば、タッチパネルであり、ユーザによる入力を受け付けるとともに情報の表示を行う。操作表示部26は、キーボード、マウス、ディスプレイ等を備えるものであってもよい。ネットワークインターフェース27は、印刷装置1と通信を行うためのハードウェアを含む。ネットワークインターフェース27は、通信インターフェースの一例である。 The CPU 21 executes various processes according to a program read from the ROM 22 or the non-volatile memory 24. The operation display unit 26 is, for example, a touch panel, which accepts input by the user and displays information. The operation display unit 26 may include a keyboard, a mouse, a display, and the like. The network interface 27 includes hardware for communicating with the printing device 1. The network interface 27 is an example of a communication interface.

本形態の印刷システム100では、情報処理装置2と印刷装置1とが、共通のアクセスポイント3を介して、Wi−Fi(登録商標)規格に準拠した無線通信を行う。すなわち、ネットワークインターフェース14および27は、ともに、Wi−Fi(登録商標)規格による無線通信を可能にするインターフェースである。より具体的には、IEEE802.11の規格及びそれに準ずる規格に基づく無線通信を可能にするインターフェースである。なお、本形態の通信態様は一例であり、前述の態様に限らない。例えば、情報処理装置2と印刷装置1とは、アクセスポイント3を介さない直接接続による無線通信にて通信してもよい。 In the printing system 100 of this embodiment, the information processing device 2 and the printing device 1 perform wireless communication conforming to the Wi-Fi (registered trademark) standard via a common access point 3. That is, the network interfaces 14 and 27 are both interfaces that enable wireless communication according to the Wi-Fi (registered trademark) standard. More specifically, it is an interface that enables wireless communication based on the standard of IEEE802.11 and a standard equivalent thereto. The communication mode of this embodiment is an example, and is not limited to the above-described mode. For example, the information processing device 2 and the printing device 1 may communicate with each other by wireless communication by direct connection without going through the access point 3.

情報処理装置2の不揮発性メモリ24には、図2に示すように、画像編集用のアプリケーションプログラム(画像編集アプリ)41と、画像データ生成プログラム42と、専用印刷制御プログラム43と、オペレーティングシステム(OS)44と、が記憶されている。さらに、情報処理装置2のOS44には、汎用印刷制御プログラム45と、通信プログラム46と、が組み込まれている。以下では、アプリケーションプログラムを「アプリ」と称する。なお、図2では、各種のデータの流れる方向を実線の矢印にて示している。 As shown in FIG. 2, the non-volatile memory 24 of the information processing apparatus 2 includes an application program (image editing application) 41 for image editing, an image data generation program 42, a dedicated print control program 43, and an operating system ( OS) 44 and are stored. Further, the OS 44 of the information processing apparatus 2 incorporates a general-purpose print control program 45 and a communication program 46. Hereinafter, the application program is referred to as an "application". In FIG. 2, the flow directions of various data are indicated by solid arrows.

画像編集アプリ41は、例えば、ユーザの指示を受け付ける機能、画像を表示する機能、画像の編集や保存を行う機能、を有するプログラムである。画像編集アプリ41は、さらに、生成済みのラベル画像ファイルを読み込む機能や、印刷指示を受け付ける機能、印刷時の各種設定を受け付ける機能も有する。また、画像編集アプリ41は、図2中に一点鎖線で示すように、専用印刷制御プログラム43または汎用印刷制御プログラム45を介して、印刷装置1から装置の状態情報を取得する機能も有する。装置の状態情報としては、例えば、印刷完了通知、エラー通知がある。 The image editing application 41 is, for example, a program having a function of receiving a user's instruction, a function of displaying an image, and a function of editing and saving an image. The image editing application 41 also has a function of reading a generated label image file, a function of accepting a print instruction, and a function of accepting various settings at the time of printing. Further, the image editing application 41 also has a function of acquiring the state information of the device from the printing device 1 via the dedicated print control program 43 or the general-purpose print control program 45, as shown by the alternate long and short dash line in FIG. The device status information includes, for example, a print completion notification and an error notification.

画像データ生成プログラム42は、印刷用の画像ファイルを生成する機能を有するプログラムである。本形態の情報処理装置2では、画像データ生成プログラム42は、例えば、画像編集アプリ41にて受け付けた編集の指示に基づいて、ラベル画像ファイルを生成する。ラベル画像ファイルは、テープ状のラベル媒体に印刷するためのデータファイルである。画像編集アプリ41にてラベル画像ファイルを生成する処理の手順は、詳細には、画像編集アプリ41から画像データ生成プログラム42に生成の指示が出力され、画像データ生成プログラム42にて生成されたラベル画像ファイルを画像編集アプリ41が取得する手順を含む。 The image data generation program 42 is a program having a function of generating an image file for printing. In the information processing device 2 of the present embodiment, the image data generation program 42 generates a label image file based on, for example, an editing instruction received by the image editing application 41. The label image file is a data file for printing on a tape-shaped label medium. The procedure of the process of generating the label image file by the image editing application 41 is, in detail, the generation instruction is output from the image editing application 41 to the image data generation program 42, and the label generated by the image data generation program 42. The procedure for acquiring the image file by the image editing application 41 is included.

専用印刷制御プログラム43は、例えば、ラベル画像ファイルに含まれる画像データをラスタライズしてラスタライズデータを生成する機能、生成したラスタライズデータを通信プログラム46を制御して印刷装置1に送信する機能、を有するプログラムである。専用印刷制御プログラム43は、特定の機種の印刷装置に対応する専用のプログラムであり、他のメーカの機種など特定の機種以外の印刷装置には対応しない。本形態の専用印刷制御プログラム43は、例えば、印刷装置1Aの機能に対応するプログラムであり、印刷装置1Aにて実行可能な全ての詳細な印刷設定に対応可能であって、印刷装置1Aにて対応可能な形式のラスタライズデータを生成する。専用印刷制御プログラム43は、特定プログラムの一例である。 The dedicated print control program 43 has, for example, a function of rasterizing the image data included in the label image file to generate rasterized data, and a function of controlling the communication program 46 to transmit the generated rasterized data to the printing device 1. It is a program. The dedicated print control program 43 is a dedicated program corresponding to a printing device of a specific model, and does not correspond to a printing device other than the specific model such as a model of another manufacturer. The dedicated print control program 43 of this embodiment is, for example, a program corresponding to the function of the printing device 1A, capable of supporting all detailed print settings that can be executed by the printing device 1A, and is supported by the printing device 1A. Generate rasterized data in a supported format. The dedicated print control program 43 is an example of a specific program.

汎用印刷制御プログラム45は、所定の印刷規格に基づく印刷用の規格データを生成する機能、生成した規格データを通信プログラム46を制御して印刷装置1に送信する機能、を有するプログラムである。汎用印刷制御プログラム45は、印刷制御機能を実現するために、OS44によって提供される標準のプログラムである。汎用印刷制御プログラム45によって送信される規格データは、例えば、汎用のラスタライズ処理を備える印刷装置1Bにて処理が可能な、所定の規格に則ったデータであり、ラスタライズされていないデータである。 The general-purpose print control program 45 is a program having a function of generating standard data for printing based on a predetermined print standard and a function of controlling the generated standard data and transmitting the generated standard data to the printing device 1. The general-purpose print control program 45 is a standard program provided by the OS 44 in order to realize the print control function. The standard data transmitted by the general-purpose print control program 45 is, for example, data conforming to a predetermined standard that can be processed by a printing apparatus 1B having a general-purpose rasterization process, and is not rasterized.

また、汎用印刷制御プログラム45は、所定の印刷規格をサポートする種々の印刷装置に対応する汎用のプログラムである。そのため、汎用印刷制御プログラム45に対応する機能を備えた印刷装置であれば、どのメーカの印刷装置であっても、規格データに基づく印刷を実行できる。汎用印刷制御プログラム45は、複数の機種に対応する汎用のプログラムであることから、受け付け可能な印刷設定が一般的なものに限られる。そのため、汎用印刷制御プログラム45は、印刷装置1にて実行可能な全ての印刷設定を受け付けるとは限らない。汎用印刷制御プログラム45を利用した印刷のシステムとしては、例えば、AirPrint、Mopria(いずれも登録商標)がある。 Further, the general-purpose print control program 45 is a general-purpose program corresponding to various printing devices that support a predetermined printing standard. Therefore, any printing device of any manufacturer can execute printing based on the standard data as long as the printing device has a function corresponding to the general-purpose print control program 45. Since the general-purpose print control program 45 is a general-purpose program corresponding to a plurality of models, the print settings that can be accepted are limited to general ones. Therefore, the general-purpose print control program 45 does not always accept all print settings that can be executed by the print device 1. Examples of the printing system using the general-purpose print control program 45 include AirPrint and Mopria (both are registered trademarks).

前述したラベル画像ファイルは、専用印刷制御プログラム43における処理に適するファイルである。画像編集アプリ41は、印刷対象の画像データを専用印刷制御プログラム43に渡す場合には、印刷装置1及び専用印刷制御プログラム43に適したラベル画像ファイルを用いる。画像編集アプリ41は、印刷対象の画像データを汎用印刷制御プログラム45に渡す場合には、汎用印刷制御プログラム45に適したラベル画像ファイルを用いる。 The label image file described above is a file suitable for processing in the dedicated print control program 43. When passing the image data to be printed to the dedicated print control program 43, the image editing application 41 uses a label image file suitable for the printing device 1 and the dedicated print control program 43. When the image editing application 41 passes the image data to be printed to the general-purpose print control program 45, the image editing application 41 uses a label image file suitable for the general-purpose print control program 45.

通信プログラム46は、ネットワークインターフェース27を制御して、通信相手の装置との通信を行う機能を有するプログラムである。例えば、専用印刷制御プログラム43は、生成したラスタライズデータをOS44に渡す。情報処理装置2のOS44は、通信プログラム46により当該ラスタライズデータを、ネットワークインターフェース27を介して印刷装置1に送信する。通信プログラム46も、OS44によって提供される標準のプログラムである。通信プログラム46の一部は、ROM22に記憶されていてもよい。 The communication program 46 is a program having a function of controlling the network interface 27 to communicate with the device of the communication partner. For example, the dedicated print control program 43 passes the generated rasterized data to the OS 44. The OS 44 of the information processing device 2 transmits the rasterized data to the printing device 1 via the network interface 27 by the communication program 46. The communication program 46 is also a standard program provided by OS44. A part of the communication program 46 may be stored in the ROM 22.

本形態の印刷システム100は、印刷装置1に印刷を行わせるための、印刷を指示するデータを処理する処理の経路として、図3に示すように、2種類の経路を有する。2種類の経路とは、情報処理装置2がラスタライズ処理を行う第1経路と、印刷装置1がラスタライズ処理を行う第2経路と、である。第1経路は、第1の経路の一例であり、第2経路は、第2の経路の一例である。 The printing system 100 of the present embodiment has two types of routes as shown in FIG. 3 as processing routes for processing data instructing printing so that the printing apparatus 1 can perform printing. The two types of routes are a first route in which the information processing device 2 performs rasterization processing and a second route in which the printing device 1 performs rasterization processing. The first route is an example of the first route, and the second route is an example of the second route.

第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 information processing device 2 executes a rasterization process to rasterize the image data included in the label image file, and the rasterized data. Is transmitted to the printing device 1. The printing device 1 receives the rasterized data and prints based on the received rasterized data. In the first path, the information processing apparatus 2 rasterizes the image data to be printed using the dedicated print control program 43 shown in FIG.

第1経路は、専用印刷制御プログラム43を使用することから、印刷装置1にて対応可能な各種の印刷設定に対応している。専用印刷制御プログラム43は、OS44には含まれないので、第1経路による印刷を行う場合、情報処理装置2は、OS44に含まれる印刷制御機能(例えば、汎用印刷制御プログラム45)を使用しない。 Since the first route uses the dedicated print control program 43, it corresponds to various print settings that can be supported by the printing device 1. Since the dedicated print control program 43 is not included in the OS 44, the information processing apparatus 2 does not use the print control function (for example, the general-purpose print control program 45) included in the OS 44 when printing by the first route.

第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 information processing device 2 standardizes the image data included in the label image file in the standardization process, and obtains the standard data. It is transmitted to the printing device 1. The printing apparatus 1 performs a general-purpose rasterization process for rasterizing standard data, and prints based on the data rasterized by the general-purpose rasterization process. In the second path, the information processing apparatus 2 standardizes the image data to be printed by the general-purpose print control program 45 shown in FIG.

第2経路は、OS44に含まれる印刷制御機能である汎用印刷制御プログラム45を使用することから、印刷装置1にて対応可能な全ての印刷設定に対応できるとは限らない。例えば、汎用印刷制御プログラム45は、特定の機種のみが対応可能な高解像度の印刷設定に対応していない。そのため、第2経路を用いた印刷では、多くの機種にて対応可能な印刷設定が用いられる。 Since the second route uses the general-purpose print control program 45, which is a print control function included in the OS 44, it may not be possible to correspond to all the print settings that can be supported by the printing apparatus 1. For example, the general-purpose print control program 45 does not support high-resolution print settings that can be supported only by a specific model. Therefore, in printing using the second route, printing settings that can be supported by many models are used.

このように、第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 information processing apparatus 2 to perform rasterization, and the second route is a route for causing the printing apparatus 1 to perform rasterization. Further, the rasterization processing algorithm is different between the first path and the second path, and the processing result may be different. That is, the first route is a route for performing rasterization that can correspond to detailed print settings, and the second route is a route for performing rasterization in which some print settings are restricted. Further, the type and data format of the data transmitted from the information processing device 2 to the printing device 1 are also different between the first path and the second path. As a result, even if the printed matter is based on the same label image file, the printed matter by the first path and the printed matter by the second path may have different print results.

印刷装置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 information processing device 2 can determine which route the printing device can handle based on, for example, the model name, model number, firmware version, and the like of the printing device. The information processing device 2 transmits data by using wireless communication by the network interface 27 in both the first path and the second path. That is, the communication mode may be the same regardless of whether it is the first route or the second route.

続いて、本形態の印刷システム100において、OS用デフォルトデバイスと、アプリ用デフォルトデバイスと、を設定する動作について説明する。以下では、デバイスとして、印刷装置を対象とした例を説明するが、印刷装置以外のデフォルトデバイスの設定方法も同様であり、デバイスの種類ごとにそれぞれ個別に設定される。例えば、デバイスの種類がスキャナであれば、デフォルトデバイスとしてデフォルトで使用されるスキャナが設定される。 Subsequently, in the printing system 100 of this embodiment, the operation of setting the default device for the OS and the default device for the application will be described. Hereinafter, an example in which a printing device is targeted as a device will be described, but the setting method of a default device other than the printing device is also the same, and each device type is individually set. For example, if the device type is a scanner, the scanner used by default is set as the default device.

情報処理装置2は、OS44の機能として、接続されているデバイスを検索する動作を行う。OS44は、例えば、ネットワークインターフェース27を制御して、所定の問い合わせ信号をマルチキャストまたはブロードキャストにて発信させ、各デバイスから送信される所定の応答信号を受信する検索動作を実行する。OS44は、所定の時間内に受信した応答信号に基づいて、使用可能な全てのデバイスについて、機種情報を含むデバイス情報を取得する。そして、情報処理装置2は、取得したデバイス情報に基づいて、例えば、第2経路での印刷を実行可能な全てのデバイスをOS用デバイスとして登録し、そのデバイス情報をOS用のデバイスリストとして不揮発性メモリ24に記憶する。なお、情報処理装置2は、デバイスが登録されていない状態で印刷の指示を受け付けた場合や、デバイスを選択する指示を受け付けた場合に、デバイスの検索動作を行う。 The information processing device 2 performs an operation of searching for a connected device as a function of the OS44. For example, the OS 44 controls the network interface 27 to transmit a predetermined inquiry signal by multicast or broadcast, and executes a search operation for receiving a predetermined response signal transmitted from each device. The OS44 acquires device information including model information for all usable devices based on the response signal received within a predetermined time. Then, based on the acquired device information, the information processing device 2 registers, for example, all the devices capable of printing in the second path as OS devices, and the device information is non-volatile as a device list for the OS. It is stored in the sex memory 24. The information processing device 2 performs a device search operation when it receives a print instruction when the device is not registered or when it receives an instruction to select a device.

さらに、情報処理装置2は、OS用のデバイスリストに登録されたデバイスの中で、優先的に使用するデバイスであるOS用デフォルトデバイスを、ユーザの指示に基づいて設定する。情報処理装置2は、例えば、文書編集アプリ等の画像編集アプリ41とは別のアプリにて印刷指示を受け付けた場合であっても、ユーザによるデバイスの指定がなければ、OS用デフォルトデバイスに設定されているデバイスに印刷命令を送信する。OS用デフォルトデバイスの情報は、OS44の記憶領域に記憶される。 Further, the information processing apparatus 2 sets the default device for the OS, which is the device to be preferentially used among the devices registered in the device list for the OS, based on the instruction of the user. The information processing device 2 is set as the default device for the OS, for example, even when a print instruction is received by an application other than the image editing application 41 such as a document editing application, unless the device is specified by the user. Send a print command to the device. The information of the default device for the OS is stored in the storage area of the OS 44.

一方、本形態の画像編集アプリ41は、OS用デフォルトデバイスとは別に、独自のアプリ用デフォルトデバイスの設定を受け付ける。アプリ用デフォルトデバイスは、OS用デフォルトデバイスと同じであってもよいし、異なっていてもよい。情報処理装置2は、画像編集アプリ41にて印刷指示を受け付けた場合には、ユーザによるデバイスの指定がなければ、アプリ用デフォルトデバイスに設定されているデバイスに印刷命令を送信する。アプリ用デフォルトデバイスの情報は、画像編集アプリ41の専用の記憶領域、または、ユーザごとの記憶領域に記憶される。 On the other hand, the image editing application 41 of this embodiment accepts the setting of its own default device for the application separately from the default device for the OS. The default device for the application may be the same as the default device for the OS, or may be different. When the image editing application 41 receives the print instruction, the information processing device 2 transmits the print command to the device set as the default device for the application unless the user specifies the device. The information of the default device for the application is stored in the dedicated storage area of the image editing application 41 or the storage area for each user.

情報処理装置2は、画像編集アプリ41の提供する機能に対応可能なデバイスである推奨デバイスのリストを備えている。つまり、情報処理装置2のROM22または不揮発性メモリ24には、例えば、図4に示すように、推奨デバイスリスト51として、推奨デバイスである印刷装置の機種のリストが記憶されている。なお、画像編集アプリ41の推奨デバイスとは、専用印刷制御プログラム43のすべての機能に対応可能な機種であり、第1経路を用いた印刷を適切に実行できる印刷装置を意味している。推奨デバイスリスト51に記憶される情報は、例えば、発売されたことのあるモデルのタイプ名であり、情報処理装置2に接続されたことがあるか否かには関わらない。 The information processing device 2 includes a list of recommended devices that can support the functions provided by the image editing application 41. That is, in the ROM 22 or the non-volatile memory 24 of the information processing device 2, for example, as shown in FIG. 4, a list of models of the printing device, which is a recommended device, is stored as the recommended device list 51. The recommended device of the image editing application 41 is a model capable of supporting all the functions of the dedicated print control program 43, and means a printing device capable of appropriately executing printing using the first route. The information stored in the recommended device list 51 is, for example, the type name of the model that has been released, regardless of whether or not it has been connected to the information processing device 2.

情報処理装置2は、推奨デバイスリスト51に基づいて、OS用デフォルトデバイスが、画像編集アプリ41の推奨デバイスであるか否かを判断できる。OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであれば、画像編集アプリ41は、OS用デフォルトデバイスをアプリ用デフォルトデバイスとしてもよい。例えば、OS用デフォルトデバイスが印刷装置1Aであって、印刷装置1Aの機種がデバイスAであれば、情報処理装置2は、推奨デバイスリスト51を参照して、印刷装置1Aが推奨デバイスであることを取得できる。この場合、本形態の情報処理装置2は、アプリ用デフォルトデバイスを、OS用デフォルトデバイスと同じ印刷装置1Aとする。 The information processing device 2 can determine whether or not the default device for the OS is the recommended device of the image editing application 41 based on the recommended device list 51. If the default device for the OS is the recommended device of the image editing application 41, the image editing application 41 may use the default device for the OS as the default device for the application. For example, if the default device for the OS is the printing device 1A and the model of the printing device 1A is the device A, the information processing device 2 refers to the recommended device list 51, and the printing device 1A is the recommended device. Can be obtained. In this case, in the information processing device 2 of the present embodiment, the default device for the application is the same printing device 1A as the default device for the OS.

一方、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 image editing application 41, the default device for the OS cannot sufficiently reflect the functions provided by the image editing application 41 in printing. Therefore, the information processing device 2 may set the default device for the application to a device different from the default device for the OS. In the information processing device 2 of the present embodiment, for example, if any of the recommended devices of the image editing application 41 is connected in addition to the default device for the OS, that device is used as the default device for the application.

続いて、本形態の印刷システム100において前述したアプリ用デフォルトデバイスの設定動作を実現するために、情報処理装置2にて実行されるデフォルト設定処理の手順について、図5のフローチャートを参照して説明する。このデフォルト設定処理は、例えば、画像編集アプリ41の初回動作時に、情報処理装置2のCPU21にて実行される。デフォルト設定処理は、画像編集アプリ41に含まれる処理である。 Subsequently, the procedure of the default setting process executed by the information processing apparatus 2 in order to realize the setting operation of the default device for the application described above in the printing system 100 of the present embodiment will be described with reference to the flowchart of FIG. do. This default setting process is executed by the CPU 21 of the information processing device 2 at the first operation of the image editing application 41, for example. The default setting process is a process included in the image editing application 41.

デフォルト設定処理では、CPU21は、まず、OS44にてデフォルトデバイスが設定されているか否か、つまり、OS用デフォルトデバイスが有るか否かを判断する(S101)。S101は、デフォルトデバイス特定処理の一例である。 In the default setting process, the CPU 21 first determines whether or not the default device is set in the OS 44, that is, whether or not there is a default device for the OS (S101). S101 is an example of the default device identification process.

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 CPU 21 acquires the recommended device list 51 from the non-volatile memory 24 (S102). S102 is an example of the device list acquisition process. The execution timing of S102 is not limited to the default setting process, and may be set in advance before the default setting process is executed.

さらに、CPU21は、取得した推奨デバイスリスト51を参照して、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであるか否かを判断する(S103)。そして、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであると判断した場合(S103:YES)、CPU21は、OS用デフォルトデバイスをアプリ用デフォルトデバイスに設定する(S104)。S104は、第1設定処理の一例である。さらに、CPU21は、デフォルトの処理の経路を第1経路に決定し(S105)、デフォルト設定処理を終了する。S105は、第1経路決定処理の一例である。 Further, the CPU 21 refers to the acquired recommended device list 51 and determines whether or not the default device for the OS is the recommended device of the image editing application 41 (S103). Then, when it is determined that the default device for the OS is the recommended device for the image editing application 41 (S103: YES), the CPU 21 sets the default device for the OS as the default device for the application (S104). S104 is an example of the first setting process. Further, the CPU 21 determines the default processing route as the first route (S105), and ends the default setting processing. S105 is an example of the first routing process.

すなわち、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 image editing application 41. Therefore, the CPU 21 adjusts the default device for the application to the default device for the OS. That is, in this case, the default device for the application and the default device for the OS are the same device. Even when the default device for the application is set in S104, it is not necessary for the user to set the default device, and the time and effort of the user can be reduced. The CPU 21 stores the set default device for the application in the non-volatile memory 24.

さらに、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 CPU 21 determines the default processing route as the first route, so that a route with a high possibility of printing that matches the user's wishes is set. Further, since the default processing route is automatically set in S105 after S104, the user does not need to set the route, and the time and effort of the user can be reduced.

一方、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 CPU 21 determines. A search operation is performed by the image editing application 41 (S106). S106 is an example of the search process.

本形態の情報処理装置2は、専用印刷制御プログラム43を用いて、画像編集アプリ41の各機能に対応可能なデバイスを検索できる。具体的には、CPU21は、ネットワークインターフェース27を制御して、OS44によるマルチキャストでの検索動作を行い、応答があったデバイスのうち、専用印刷制御プログラム43に対応可能なデバイスについて、機種情報を含むデバイス情報を取得する。 The information processing device 2 of the present embodiment can search for a device compatible with each function of the image editing application 41 by using the dedicated print control program 43. Specifically, the CPU 21 controls the network interface 27 to perform a multicast search operation by the OS 44, and includes model information about the device that can support the dedicated print control program 43 among the devices that responded. Get device information.

この検索動作により、CPU21は、画像編集アプリ41の各機能に対応可能なデバイスであって、現在使用可能な状態であるデバイスのリストを取得する。S106にて取得されるデバイスは、第1経路での印刷処理を実行可能なデバイスである。そして、CPU21は、画像編集アプリ41の機能に対応するデバイスが有るか否か,すなわち、S106の検索動作によってデバイスが見つかったか否かを判断する(S107)。 By this search operation, the CPU 21 acquires a list of devices that are compatible with each function of the image editing application 41 and are currently in a usable state. The device acquired in S106 is a device capable of executing the printing process in the first path. Then, the CPU 21 determines whether or not there is a device corresponding to the function of the image editing application 41, that is, whether or not the device is found by the search operation of S106 (S107).

そして、画像編集アプリ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 CPU 21 sets the found device as the default device for the application (S108). S108 is an example of the second setting process. Further, the CPU 21 determines the default processing route as the first route (S109), and ends the default setting processing. S109 is an example of the second routing process.

OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスでない場合に、OS用デフォルトデバイスは、画像編集アプリ41の機能を十分に生かした印刷ができない可能性がある。そこで、情報処理装置2は、専用印刷制御プログラム43によるデバイスの検索結果に基づいて、画像編集アプリ41の機能に対応するデバイスがあれば、そのデバイスをアプリのデフォルトデバイスとして自動的に設定する。この場合、アプリ用デフォルトデバイスは、OS用デフォルトデバイスとは異なるデバイスとなる。この構成によっても、デフォルトデバイスの設定に関するユーザの手間をより省くことができる。 If the default device for the OS is not the recommended device for the image editing application 41, the default device for the OS may not be able to print by fully utilizing the functions of the image editing application 41. Therefore, the information processing device 2 automatically sets the device corresponding to the function of the image editing application 41 as the default device of the application, if there is a device, based on the search result of the device by the dedicated print control program 43. In this case, the default device for the application is a device different from the default device for the OS. This configuration also saves the user the trouble of setting the default device.

画像編集アプリ41の機能に対応するデバイスは、第1経路による処理に対応可能である可能性が高い。CPU21は、画像編集アプリ41の機能に対応するデバイスをアプリ用デフォルトデバイスに設定した場合には、デフォルトの処理の経路を第1経路に決定するので、ユーザの希望に合致した印刷を行える可能性の高い経路が設定される。また、S108の後、S109にて、自動的にデフォルトの処理の経路が設定されるので、ユーザによる経路の設定操作は不要であり、ユーザの手間を軽減できる。 It is highly possible that the device corresponding to the function of the image editing application 41 can support the processing by the first route. When the CPU 21 sets the device corresponding to the function of the image editing application 41 as the default device for the application, the CPU 21 determines the default processing route as the first route, so that there is a possibility that printing that matches the user's wishes can be performed. High route is set. Further, since the default processing route is automatically set in S109 after S108, it is not necessary for the user to set the route, and the time and effort of the user can be reduced.

なお、画像編集アプリ41の機能に対応するデバイスが複数見つかった場合には、そのうちの1つを自動的にアプリ用デフォルトデバイスとして選択してもよいし、ユーザにアプリ用デフォルトデバイスを選択させてもよい。自動的に選択する場合は、例えば、ランダムに選択してもよいし、最先に検索されたものでもよいし、スペックが最も高いものであってもよい。 If a plurality of devices corresponding to the function of the image editing application 41 are found, one of them may be automatically selected as the default device for the application, or the user may be allowed to select the default device for the application. May be good. When automatically selected, for example, it may be randomly selected, it may be the one searched first, or it may be the one with the highest specifications.

一方、画像編集アプリ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 CPU 21 determines whether or not there is a default device for the OS (S110). S110 is the same process as S101. Then, when it is determined that there is an OS default device (S110: YES), the CPU 21 confirms the connection with the OS default device (S111). For example, the CPU 21 inquires about the state of the default device for the OS, and can confirm whether or not it is in a communicable state depending on the presence or absence of a response. Then, the CPU 21 determines whether or not the connection is possible (S112).

接続可能であると判断した場合(S112:YES)、CPU21は、OS用デフォルトデバイスをアプリ用デフォルトデバイスに設定する(S113)。S113は、第3設定処理の一例である。さらに、CPU21は、デフォルトの処理の経路を第2経路に決定し(S114)、デフォルト設定処理を終了する。S114は、第3経路決定処理の一例である。 When it is determined that the connection is possible (S112: YES), the CPU 21 sets the default device for the OS as the default device for the application (S113). S113 is an example of the third setting process. Further, the CPU 21 determines the default processing route as the second route (S114), and ends the default setting processing. S114 is an example of the third routing process.

少なくとも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 image editing application 41, and there is a high possibility that some of the functions of the image editing application 41 cannot be supported. Therefore, the CPU 21 may only be temporarily used as the default device for the application. When the default device for the application is set in S113, the CPU 21 may return to the state in which the default device for the application is not set, for example, at the end of the image editing application 41 or after a predetermined time has elapsed.

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 CPU 21 indicates that the device cannot be found, for example, as shown in FIG. An alert including the warning message of (S115) is displayed, and the default setting process is terminated.

なお、情報処理装置2は、このデフォルト設定処理を、例えば、画像編集アプリ41の初回動作時のみでなく、画像編集アプリ41が起動される度に行ってもよい。あるいは、画像編集アプリ41の起動時でなく、画像編集アプリ41にて印刷指示を受け付けた時に実行してもよい。また、情報処理装置2は、例えば、画像編集アプリ41の起動時に、アプリ用デフォルトデバイスが設定されているか否かを判断し、設定されていない場合にはデフォルト設定処理を実行するとしてもよい。 The information processing device 2 may perform this default setting process not only at the first operation of the image editing application 41 but also every time the image editing application 41 is started. Alternatively, it may be executed not when the image editing application 41 is started but when the printing instruction is received by the image editing application 41. Further, the information processing device 2 may determine, for example, whether or not the default device for the application is set when the image editing application 41 is started, and if it is not set, execute the default setting process.

次に、本形態の印刷システム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 printing system 100 of the present embodiment will be described with reference to the flowchart of FIG. 7. This default change process is executed by the CPU 21 of the information processing device 2 when a change in the default device for the OS is detected after the default device for the OS and the default device for the application are set. When the default device for OS is changed, it may be preferable to change the default device for application. The default change process is a process included in the image editing application 41.

なお、情報処理装置2は、アプリ用デフォルトデバイスを設定した際に、その時点でのOS用デフォルトデバイスも不揮発性メモリ24に記憶する。CPU21は、記憶されているOS用デフォルトデバイスを、変更前のOS用デフォルトデバイスとして取得できる。画像編集アプリ41は、OS用デフォルトデバイスの変更を、OS44からの通知によって検知してもよいし、例えば、画像編集アプリ41の起動時、印刷指示の受け付け時に、その時点にて設定されているOS用デフォルトデバイスを読み出して、記憶している変更前のOS用デフォルトデバイスと照合してもよい。 When the information processing device 2 sets the default device for the application, the default device for the OS at that time is also stored in the non-volatile memory 24. The CPU 21 can acquire the stored default device for the OS as the default device for the OS before the change. The image editing application 41 may detect a change in the default device for the OS by a notification from the OS 44, and is set at that time, for example, when the image editing application 41 is started or when a print instruction is received. The default device for the OS may be read and collated with the stored default device for the OS before the change.

また、OS用デフォルトデバイスが変更された際にアプリ用デフォルトデバイスが未設定であれば、CPU21は、前述したデフォルト設定処理を実行する。この場合には、デフォルト設定処理中のOS用デフォルトデバイスは、変更後のOS用デフォルトデバイスである。 If the default device for the application is not set when the default device for the OS is changed, the CPU 21 executes the default setting process described above. In this case, the default device for the OS during the default setting process is the default device for the OS after the change.

デフォルト変更処理では、CPU21は、まず、記憶している変更前のOS用デフォルトデバイスとアプリ用デフォルトデバイスとが一致しているか否かを判断する(S201)。そして、変更前のOS用デフォルトデバイスとアプリ用デフォルトデバイスとが一致していると判断した場合(S201:YES)、CPU21は、変更後のOS用デフォルトデバイス、つまり、現在設定されているOS用デフォルトデバイスを特定し、OS用デフォルトデバイスが画像編集アプリ41の推奨デバイスであるか否かを判断する(S202)。CPU21は、前述した推奨デバイスリスト51に基づいて、S202の判断を行う。 In the default change process, the CPU 21 first determines whether or not the stored default device for the OS and the default device for the application match (S201). Then, when it is determined that the default device for the OS before the change and the default device for the application match (S201: YES), the CPU 21 is the default device for the changed OS, that is, for the currently set OS. The default device is specified, and it is determined whether or not the default device for the OS is the recommended device of the image editing application 41 (S202). The CPU 21 determines S202 based on the recommended device list 51 described above.

そして、変更後の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 CPU 21 determines whether or not the follow-up setting of the default device is made (S203). The default device follow-up setting is a setting in which the default device for the application automatically follows the change of the default device for the OS, and is set by the user as described later.

デフォルトデバイスの追従設定がなされていると判断した場合(S203:YES)、CPU21は、アプリ用デフォルトデバイスを、OS用デフォルトデバイスと同じデバイスに設定して(S204)、デフォルト変更処理を終了する。つまり、アプリ用デフォルトデバイスを、変更後のOS用デフォルトデバイスと同じデバイスに変更する。ユーザによる追従設定がなされている場合には、アプリ用デフォルトデバイスを変更するか否かを毎回ユーザに問い合わせる必要はなく、ユーザの手間をより省くことができる。 If it is determined that the default device follow-up setting has been made (S203: YES), the CPU 21 sets the default device for the application to the same device as the default device for the OS (S204), and ends the default change process. That is, the default device for the application is changed to the same device as the default device for the OS after the change. When the follow-up setting is made by the user, it is not necessary to ask the user every time whether or not to change the default device for the application, and the user's trouble can be further saved.

デフォルトデバイスの追従設定がなされていないと判断した場合(S203:NO)、CPU21は、操作表示部26を制御し、例えば、図8に示すように、アプリ用デフォルトデバイスの変更を許可するか否かを問い合わせるメッセージを表示させる(S206)。アプリ用デフォルトデバイスの変更を望まないユーザも考えられるため、本形態の情報処理装置2は、アプリ用デフォルトデバイスの変更前に変更の可否をユーザに問い合わせる。 If it is determined that the default device tracking setting has not been made (S203: NO), the CPU 21 controls the operation display unit 26, and for example, as shown in FIG. 8, whether or not to allow the change of the default device for the application. A message asking for the default is displayed (S206). Since there may be a user who does not want to change the default device for the application, the information processing device 2 of the present embodiment asks the user whether or not the change is possible before changing the default device for the application.

なお、S206では、図8に示すように、CPU21は、デフォルトデバイスの追従設定を行うか否かを問い合わせるメッセージを合わせて表示させてもよい。あるいは、追従の問い合わせは、変更が選択された場合に、改めて表示するとしてもよい。 In S206, as shown in FIG. 8, the CPU 21 may also display a message inquiring whether or not to perform the follow-up setting of the default device. Alternatively, the follow-up inquiry may be displayed again when a change is selected.

そして、CPU21は、アプリ用デフォルトデバイスの変更を許可する指示を受け付けたか否かを判断する(S207)。アプリ用デフォルトデバイスの変更を許可する指示を受け付けたと判断した場合(S207:YES)、CPU21は、アプリ用デフォルトデバイスを変更後のOS用デフォルトデバイスに変更する(S208)。S208は、S204と同じ処理である。 Then, the CPU 21 determines whether or not the instruction for permitting the change of the default device for the application has been accepted (S207). When it is determined that the instruction for permitting the change of the default device for the application has been accepted (S207: YES), the CPU 21 changes the default device for the application to the default device for the OS after the change (S208). S208 is the same process as S204.

そして、CPU21は、デフォルトデバイスの追従設定を行う指示を受け付けたか否かを判断する(S209)。デフォルトデバイスの追従設定を行う指示を受け付けたと判断した場合(S209:YES)、CPU21は、デフォルトデバイスの追従設定を行う旨の情報を不揮発性メモリ24に記憶する(S210)。 Then, the CPU 21 determines whether or not it has received the instruction to set the follow-up of the default device (S209). When it is determined that the instruction to set the follow-up of the default device has been accepted (S209: YES), the CPU 21 stores the information to the effect that the follow-up setting of the default device is to be performed in the non-volatile memory 24 (S210).

アプリ用デフォルトデバイスの変更を許可しない指示を受け付けたと判断した場合(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. , CPU 21 ends the default change process. If NO is determined in S207, the CPU 21 does not change the default device for the application, and keeps the same device as the default device for the OS before the change.

一方、変更後の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 CPU 21 confirms the connection to the device set as the application default device (S212). Then, the CPU 21 determines whether or not it can be connected to the default device for the application (S213). The CPU 21 controls the network interface 27, for example, transmits a signal inquiring about the state to the default device for the application, and determines S213 based on whether or not an appropriate response signal is received within a predetermined time. S213 is an example of the connection confirmation process.

アプリ用デフォルトデバイスに接続可能であると判断した場合(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 CPU 21 ends the default change process. In this case, the CPU 21 does not set the default device for the application. That is, the CPU 21 does not change the default device for the application, and keeps the same device as the default device for the OS before the change. Therefore, the default device for the application is a device different from the default device for the OS. If the changed OS default device is not the recommended device, it is more likely that the user's desired printed matter can be obtained by using the application default device, which is likely to be the recommended device.

一方、アプリ用デフォルトデバイスに接続不可能であると判断した場合(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 CPU 21 sets the OS default device as a device to be used temporarily (S214), and ends the default change process. .. S214 is an example of the default device permission process. It is not possible to print on a device that cannot be connected. If the default device for the application is no longer available, there is a possibility that even a part of the desired processing can be processed, at least if the device is set as the default device for the OS. Therefore, by using the default device for the OS, there is a high possibility that it is possible to avoid a state in which processing cannot be performed at all. The use of the default device for the OS is limited, and may be limited to, for example, one process until the process of the image editing application 41 is completed.

また、変更前の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 CPU 21 recommends that the default device for the OS after the change is the image editing application 41. Whether or not it is determined (S216). S216 is the same process as S202.

そして、変更後の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 CPU 21 controls the operation display unit 26, and changes the application default device, for example, as shown in FIG. A message asking whether or not to do so is displayed (S217).

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 image editing application 41 separately from the use of the device from other applications. Highly sexual. Therefore, even if the default device for the OS is changed, it may not be desired to change the default device for the application. Therefore, the user is inquired whether or not the default device for the application can be changed before the change.

そして、CPU21は、アプリ用デフォルトデバイスを変更する指示を受け付けたか否かを判断する(S218)。アプリ用デフォルトデバイスを変更する指示を受け付けたと判断した場合(S218:YES)、CPU21は、アプリ用デフォルトデバイスを変更後のOS用デフォルトデバイスに設定して(S219)、デフォルト変更処理を終了する。S219は、S204やS208と同じ処理である。 Then, the CPU 21 determines whether or not the instruction to change the default device for the application has been accepted (S218). When it is determined that the instruction to change the default device for the application is accepted (S218: YES), the CPU 21 sets the default device for the application as the default device for the OS after the change (S219), and ends the default change process. S219 is the same process as S204 and S208.

なお、図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 CPU 21 does not perform the tracking setting. However, if it is determined in S218 that the instruction to be changed has been accepted, the CPU 21 may display an inquiry as to whether or not to perform the follow-up setting, and perform the follow-up setting if the user so desires.

一方、変更後の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 CPU 21 uses the application. Ends the default change process without changing the default device. If the changed OS default device is not the recommended device for the app, changing the app default device to the OS default device may limit processing. Therefore, the CPU 21 does not change the default device for the application.

以上、詳細に説明したように、本形態の情報処理装置2は、アプリ用デフォルトデバイスが未設定の場合やOS用デフォルトデバイスが変更された場合に、OS用デフォルトデバイスが推奨デバイスリスト51に含まれるか否かを判断する。そして、含まれる場合には、情報処理装置2は、OS用デフォルトデバイスをアプリ用デフォルトデバイスに設定する。OS用デフォルトデバイスが画像編集アプリ41の提供する機能に対応可能なデバイスであれば、画像編集アプリ41からの指示でそのデバイスを利用して印刷しても、所望の印刷物を得られる可能性が高い。従って、OS用デフォルトデバイスをアプリ用デフォルトデバイスに自動的に設定することで、デフォルトデバイスの設定に関するユーザの手間を省くことができる。 As described in detail above, in the information processing device 2 of this embodiment, the default device for the OS is included in the recommended device list 51 when the default device for the application is not set or the default device for the OS is changed. Determine if it is possible or not. Then, when included, the information processing device 2 sets the default device for the OS as the default device for the application. If the default device for the OS is a device that can support the functions provided by the image editing application 41, there is a possibility that the desired printed matter can be obtained even if printing is performed using the device according to the instruction from the image editing application 41. high. Therefore, by automatically setting the default device for the OS as the default device for the application, it is possible to save the user's trouble in setting the default device.

なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、印刷装置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 operation panel 13. The information processing device 2 is not limited to the non-volatile memory 24, and may be provided with any kind of large-capacity storage device.

また、印刷装置1と情報処理装置2との通信方式は、Wi−Fi(登録商標)規格に準拠した無線通信に限らない。例えば、LANケーブルやUSBケーブルを用いた有線通信であってもよいし、Bluetooth(登録商標)等の他の規格に基づく無線通信であってもよい。また、複数の通信機能を備えていてもよい。 Further, the communication method between the printing device 1 and the information processing device 2 is not limited to wireless communication conforming to the Wi-Fi (registered trademark) standard. For example, it may be wired communication using a LAN cable or a USB cable, or wireless communication based on another standard such as Bluetooth (registered trademark). Further, it may have a plurality of communication functions.

また、印刷対象の画像ファイルは、ラベルに印刷するためのラベル画像ファイルに限らない。例えば、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 image editing application 41 or a dedicated print control program 43 that matches the target image file may be used.

また、本形態では、第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 information processing device 2. For example, if the general-purpose print control program 45 has a rasterization function, it may be rasterized by the rasterization function. Even in this case, the rasterization processing algorithm is different between the first path and the second path. Even in this case, the first route is a route that does not use the print control function of OS44, and the second route is a route that uses the print control function of OS44.

また、本形態では、印刷システム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 printing system 100, the first route and the second route, but there may be other routes. Other routes include, for example, a route for printing using a dedicated driver for the device, and a route for printing using CUPS, which is a printing driver for Unix, macOS, and Linux (registered trademark). The device-dedicated driver and CUPS are programs incorporated in the OS44 (see FIG. 2) of the information processing device 2 to rasterize the image data.

また、本形態では、推奨デバイスリスト51を不揮発性メモリ24に記憶しているとしたが、これに限らない。例えば、画像編集アプリ41のデータとして備えていてもよいし、ネットワーク経由で取得してもよい。また、情報処理装置2は、アップデート情報等に基づいて、推奨デバイスリスト51を適宜変更してもよい。 Further, in the present embodiment, the recommended device list 51 is stored in the non-volatile memory 24, but the present invention is not limited to this. For example, it may be provided as data of the image editing application 41, or may be acquired via a network. Further, the information processing device 2 may appropriately change the recommended device list 51 based on the update information or the like.

また、本形態では、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 non-volatile memory 24, it is not necessary. For example, the default setting process may be executed every time the image editing application 41 is started. The default device for the application may be set only until the image editing application 41 is terminated.

また、追従設定は、なくてもよい。毎回ユーザに問い合わせるとしてもよい。ただし、追従設定を設けることで、追従したいユーザには、問い合わせに答える手間が省ける。また、問い合わせをしないとしてもよい。例えば、変更後の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 image editing application 41 has a function of editing an image, but the present invention is not limited to this. For example, the image may be edited by another general-purpose application, and the image editing application 41 may have a function of printing a file created by the general-purpose application.

また、実施の形態に開示されている処理は、単一の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, 1C Printing device 2 Information processing device 21 CPU
27 Network interface 41 Image editing application 51 Recommended device list 100 Printing system

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に記載するアプリケーションプログラムにおいて、
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第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に記載するアプリケーションプログラムにおいて、
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれない場合に、前記アプリケーションプログラムの提供する機能に対応可能なデバイスの検索を行う検索処理と、
前記検索処理にてデバイスが検索された場合に、そのうちの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.
請求項3に記載するアプリケーションプログラムにおいて、
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第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または請求項4に記載するアプリケーションプログラムにおいて、
前記検索処理にてデバイスが検索されなかった場合に、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスを前記アプリケーションプログラムのデフォルトデバイスに設定する第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.
請求項5に記載するアプリケーションプログラムにおいて、
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第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から請求項6のいずれか1つに記載するアプリケーションプログラムにおいて、
前記アプリケーションプログラムの初回の起動時に、少なくとも前記第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から請求項7のいずれか1つに記載するアプリケーションプログラムにおいて、
オペレーティングシステムのデフォルトデバイスの変更を検知した場合に、前記デフォルトデバイス特定処理および前記第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.
請求項8に記載するアプリケーションプログラムにおいて、
前記第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.
請求項8に記載するアプリケーションプログラムにおいて、
前記アプリケーションプログラムには、
前記アプリケーションプログラムのデフォルトデバイスを、オペレーティングシステムのデフォルトデバイスに合わせるか否かの追従設定があり、
前記第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.
請求項8から請求項10のいずれか1つに記載するアプリケーションプログラムにおいて、
前記第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.
請求項8から請求項11のいずれか1つに記載するアプリケーションプログラムにおいて、
前記第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.
請求項12に記載するアプリケーションプログラムにおいて、
前記デバイスリスト取得処理にて取得したデバイスのリストに、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスが含まれない場合に、前記アプリケーションプログラムのデフォルトデバイスとの接続を確認する接続確認処理と、
前記接続確認処理にて前記アプリケーションプログラムのデフォルトデバイスとの接続が確認されなかった場合に、前記デフォルトデバイス特定処理にて特定したデフォルトデバイスの使用を許可するデフォルトデバイス許可処理と、
を前記情報処理装置に実行させることを特徴とするアプリケーションプログラム。
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.
請求項3に記載するアプリケーションプログラムにおいて、
前記デバイスがプリンタであり、
前記情報処理装置のオペレーティングシステムは、印刷制御機能を有し、
前記情報処理装置には、前記デバイスのモデルを含む特定のモデルに対応するプログラムである特定プログラムが組み込まれており、
前記情報処理装置は、前記デバイスに印刷対象の画像データに基づく印刷を指示するデータを処理する経路として、前記特定プログラムを用いて前記プリンタに印刷させる第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.
JP2017185789A 2017-09-27 2017-09-27 Application programs and systems Active JP6922608B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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