JP7017173B2 - program - Google Patents

program Download PDF

Info

Publication number
JP7017173B2
JP7017173B2 JP2020150459A JP2020150459A JP7017173B2 JP 7017173 B2 JP7017173 B2 JP 7017173B2 JP 2020150459 A JP2020150459 A JP 2020150459A JP 2020150459 A JP2020150459 A JP 2020150459A JP 7017173 B2 JP7017173 B2 JP 7017173B2
Authority
JP
Japan
Prior art keywords
program
designated
image processing
label
mobile terminal
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
JP2020150459A
Other languages
Japanese (ja)
Other versions
JP2021009703A (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 JP2020150459A priority Critical patent/JP7017173B2/en
Publication of JP2021009703A publication Critical patent/JP2021009703A/en
Application granted granted Critical
Publication of JP7017173B2 publication Critical patent/JP7017173B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、携帯端末のプログラムであって、同じ携帯端末にインストールされた他のプログラムを利用して、画像処理装置に画像処理動作を実行させるプログラムに関する。 The present invention relates to a program of a mobile terminal, which causes an image processing device to execute an image processing operation by using another program installed in the same mobile terminal.

例えば特許文献1には、同じ携帯端末にインストールされた他のプログラム(以下、「外部プログラム」と表記する。)を起動し、起動した外部プログラムからの指示に従って、画像処理装置に画像処理動作を実行させるプログラムが開示されている。一例として、当該プログラムは、外部プログラムから指定された画像データを出力する出力動作を、画像処理装置に実行させることができる。他の例として、当該プログラムは、画像処理装置に実行させた入力動作で生成された画像データを、外部プログラムに編集させることができる。 For example, in Patent Document 1, another program installed on the same mobile terminal (hereinafter referred to as "external program") is started, and an image processing operation is performed on the image processing device according to an instruction from the started external program. The program to be executed is disclosed. As an example, the program can cause an image processing apparatus to execute an output operation for outputting image data specified by an external program. As another example, the program can have an external program edit the image data generated by the input operation executed by the image processing device.

特開2012-203742号公報Japanese Unexamined Patent Publication No. 2012-203742

しかしながら、適切な画像処理装置が接続されていない状態で外部プログラムを起動したとしても、外部プログラムを利用した処理を完了することができない。すなわち、ユーザは、適切な画像処理装置を選択してから、外部プログラムの起動を指示する必要がある。そして、画像処理装置及び外部プログラムの多様化に伴って、このような手順でプログラムを操作するユーザの負担も増大する。 However, even if the external program is started in a state where an appropriate image processing device is not connected, the processing using the external program cannot be completed. That is, the user needs to select an appropriate image processing device and then instruct to start the external program. With the diversification of image processing devices and external programs, the burden on users who operate the programs in such a procedure also increases.

本発明は、上記の事情に鑑みてなされたものであり、その目的は、外部プログラムを利用して画像処理装置に画像処理動作を実行させるプログラムにおいて、起動する外部プログラムに適した画像処理装置を簡単に選択させる技術を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image processing device suitable for an external program to be started in a program for causing an image processing device to execute an image processing operation by using an external program. The purpose is to provide a technology that makes it easy to select.

本明細書では様々な開示を行う。開示例の1つであるプログラムは、メモリと、入力インタフェースと、通信インタフェースとを備える携帯端末によって読み取り可能である。前記メモリは、該プログラムが起動可能な複数の外部プログラムを記憶している。前記外部プログラムは、複数の画像処理動作のうちの少なくとも1つを実行可能な画像処理装置に、該プログラムを通じて前記画像処理動作を指示するプログラムである。該プログラムは、複数の前記外部プログラムの1つである指定プログラムを指定するユーザ操作を、前記入力インタフェースを通じて受け付ける第1受付処理と、指定動作の動作IDを含む指定装置情報が前記メモリに記憶されているか否かを判断する第1判断処理とを前記携帯端末に実行させる。前記指定動作は、前記指定プログラムが前記画像処理装置に指示し得る前記画像処理動作である。前記指定装置情報は、ユーザが指定した前記画像処理装置である指定装置が実行可能な前記画像処理動作を識別する前記動作IDを含む。該プログラムは、前記第1判断処理で記憶されていないと判断したことに応じて、前記通信インタフェースを通じて通信可能な複数の前記画像処理装置のうち、前記指定動作を実行可能な前記画像処理装置を検索する第1検索処理と、発見した前記画像処理装置の1つである前記指定装置を指定するユーザ操作を、前記入力インタフェースを通じて受け付ける第2受付処理と、前記第2受付処理で指定された前記指定装置の前記指定装置情報を、前記メモリに記憶させる第1記憶処理と、前記指定動作の前記動作IDを含む前記指定装置情報が前記メモリに記憶されている状態で、前記指定プログラムを起動する起動処理と、前記指定動作の前記動作IDを前記指定プログラムから取得する取得処理と、前記通信インタフェースを通じて前記指定装置に第1指示情報を送信する第1指示処理とを前記携帯端末に実行させる。前記第1指示情報は、前記取得処理で取得した前記動作IDで識別される前記指定動作を実行させるための情報である。 Various disclosures are made herein. The program, which is one of the disclosure examples, can be read by a mobile terminal including a memory, an input interface, and a communication interface. The memory stores a plurality of external programs that can be started by the program. The external program is a program that instructs an image processing apparatus capable of executing at least one of a plurality of image processing operations to perform the image processing operation through the program. The program stores in the memory a first reception process for receiving a user operation for designating a designated program, which is one of the plurality of external programs, through the input interface, and designated device information including an operation ID of the designated operation. The mobile terminal is made to execute the first determination process for determining whether or not the interface is used. The designated operation is the image processing operation that the designated program can instruct the image processing device. The designated device information includes the operation ID that identifies the image processing operation that can be executed by the designated device that is the image processing device designated by the user. The program determines that the image processing device capable of executing the designated operation among the plurality of image processing devices capable of communicating through the communication interface in response to the determination that the program is not stored in the first determination process. The first search process for searching, the second reception process for accepting the user operation for designating the designated device, which is one of the discovered image processing devices, through the input interface, and the second reception process designated by the second reception process. The designated program is started in a state where the first storage process for storing the designated device information of the designated device in the memory and the designated device information including the operation ID of the designated operation are stored in the memory. The mobile terminal is made to execute an activation process, an acquisition process of acquiring the operation ID of the designated operation from the designated program, and a first instruction process of transmitting the first instruction information to the designated device through the communication interface. The first instruction information is information for executing the designated operation identified by the operation ID acquired in the acquisition process.

上記構成によれば、起動しようとする外部プログラムが指定されたタイミングで、当該外部プログラムが指示し得る指定動作を実行可能な画像処理装置のうちから、所望の画像処理装置をユーザに指定させることができる。これにより、起動しようとする外部プログラムに適した画像処理装置を簡単に選択させることができる。 According to the above configuration, at the specified timing of the external program to be started, the user is made to specify a desired image processing device from the image processing devices capable of executing the specified operation that the external program can instruct. Can be done. This makes it possible to easily select an image processing device suitable for the external program to be started.

図1は、本実施形態に係るシステム100の概略図である。FIG. 1 is a schematic diagram of a system 100 according to the present embodiment. 図2(A)はMFP10のブロック図であり、図2(B)は携帯端末50のブロック図である。FIG. 2A is a block diagram of the MFP 10, and FIG. 2B is a block diagram of the mobile terminal 50. 図3は、メモリ62に記憶されたプログラムリストを示す図である。FIG. 3 is a diagram showing a program list stored in the memory 62. 図4は、メイン処理のフローチャートである。FIG. 4 is a flowchart of the main process. 図5は、メイン画面生成処理のフローチャートである。FIG. 5 is a flowchart of the main screen generation process. 図6は、デバイス選択処理のフローチャートである。FIG. 6 is a flowchart of the device selection process. 図7は、PI起動処理のフローチャートである。FIG. 7 is a flowchart of PI activation processing. 図8は、レーベルPI処理のフローチャートである。FIG. 8 is a flowchart of label PI processing. 図9は、指示受付処理のフローチャートである。FIG. 9 is a flowchart of the instruction acceptance process. 図10は、ディスプレイ53の表示例であって、(A)はOS64のメニュー画面を、(B)はメイン画面を示す。10A and 10B are display examples of the display 53, in which FIG. 10A shows a menu screen of OS64 and FIG. 10B shows a main screen. 図11は、ディスプレイ53の表示例であって、(A)はデバイス選択画面を、(B)は確認画面を示す。11A and 11B are display examples of the display 53, in which FIG. 11A shows a device selection screen and FIG. 11B shows a confirmation screen. 図12は、ディスプレイ53の表示例であって、(A)はレーベルプログラム66のメニュー画面を、(B)はレーベル編集画面を示す。12A and 12B are display examples of the display 53, in which FIG. 12A shows a menu screen of the label program 66, and FIG. 12B shows a label editing screen.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。 Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It is needless to say that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention. For example, the execution order of each process described later can be appropriately changed without changing the gist of the present invention.

図1は、本実施形態に係るシステム100の概略図である。図1に示されるシステム100は、MFP10A、10B(以下、これらを総称して、「MFP10」と表記することがある。)と、携帯端末50とで構成されている。MFP10及び携帯端末50は、通信ネットワーク101を通じて通信可能に構成されている。通信ネットワーク101は、例えば、有線LAN、無線LAN、或いはこれらの組み合わせであってもよい。または、MFP10及び携帯端末50は、USBケーブル等によって接続されていてもよい。 FIG. 1 is a schematic diagram of a system 100 according to the present embodiment. The system 100 shown in FIG. 1 is composed of MFPs 10A and 10B (hereinafter, these may be collectively referred to as “MFP10”) and a mobile terminal 50. The MFP 10 and the mobile terminal 50 are configured to be communicable through the communication network 101. The communication network 101 may be, for example, a wired LAN, a wireless LAN, or a combination thereof. Alternatively, the MFP 10 and the mobile terminal 50 may be connected by a USB cable or the like.

MFP10(Multi-Function Peripheralの略)は、図2(A)に示されるように、プリンタ11と、スキャナ12と、ディスプレイ23と、入力I/F24と、通信I/F25と、CPU31と、メモリ32と、通信バス33とを主に備える。MFP10を構成する各構成要素は、通信バス33を通じて相互に接続されている。MFP10は、画像処理装置の一例である。 As shown in FIG. 2A, the MFP 10 (abbreviation of Multi-Function Peripheral) includes a printer 11, a scanner 12, a display 23, an input I / F 24, a communication I / F 25, a CPU 31, and a memory. 32 and a communication bus 33 are mainly provided. The components constituting the MFP 10 are connected to each other through the communication bus 33. The MFP 10 is an example of an image processing device.

プリンタ11は、画像データで示される画像をシートに記録するプリント動作を実行するハードウェアである。プリンタ11の記録方式としては、インクジェット方式や電子写真方式などの公知の方式を採用することができる。スキャナ12は、原稿に記録されている画像を読み取って画像データ(以下、「スキャンデータ」と表記する。)を生成するスキャン動作を実行するハードウェアである。なお、MFP10A、10Bは、少なくとも1つの動作を実行可能であればよい。また、MFP10A、10Bが実行可能な動作は、異なっていてもよい。 The printer 11 is hardware that executes a printing operation of recording an image represented by image data on a sheet. As the recording method of the printer 11, a known method such as an inkjet method or an electrophotographic method can be adopted. The scanner 12 is hardware that executes a scanning operation that reads an image recorded on a document and generates image data (hereinafter, referred to as “scan data”). The MFPs 10A and 10B may be used as long as they can execute at least one operation. Further, the operations that the MFPs 10A and 10B can perform may be different.

プリント動作は、携帯端末50から取得した画像データを出力する出力動作の一例である。スキャン動作は、携帯端末50に入力する画像データを生成する入力動作の一例である。また、プリント動作及びスキャン動作は、画像処理動作の一例である。但し、画像処理動作の具体例はこれらに限定されない。出力動作の他の例としては、FAXプロトコルに従って画像データを外部装置にFAX送信するFAX送信動作が挙げられる。入力動作の他の例としては、不図示のサーバから画像データを受信するダウンロード動作が挙げられる。 The print operation is an example of an output operation that outputs image data acquired from the mobile terminal 50. The scanning operation is an example of an input operation for generating image data to be input to the mobile terminal 50. The print operation and the scan operation are examples of image processing operations. However, specific examples of image processing operations are not limited to these. Another example of the output operation is a fax transmission operation in which image data is faxed to an external device according to the FAX protocol. Another example of the input operation is a download operation of receiving image data from a server (not shown).

ディスプレイ23は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示画面を備える。 The display 23 is a liquid crystal display, an organic EL display, or the like, and includes a display screen for displaying various information.

入力I/F24は、ユーザによる入力操作を受け付けるユーザインタフェースである。具体的には、入力I/F24はボタンを有しており、押下されたボタンに対応づけられた各種の操作信号をCPU31へ出力する。さらに、入力I/F24は、ディスプレイ23の表示画面に重畳された膜状のタッチセンサを有していてもよい。ディスプレイ23の表示画面に表示されたオブジェクトを指定する操作、文字列或いは数字列を入力する操作は、ユーザ操作の一例である。「オブジェクト」とは、例えば、ディスプレイ23に表示された文字列、アイコン、ボタン、リンク、ラジオボタン、チェックボックス、プルダウンメニュー等である。 The input I / F 24 is a user interface that accepts an input operation by the user. Specifically, the input I / F 24 has a button, and outputs various operation signals associated with the pressed button to the CPU 31. Further, the input I / F 24 may have a film-like touch sensor superimposed on the display screen of the display 23. The operation of designating an object displayed on the display screen of the display 23 and the operation of inputting a character string or a number string are examples of user operations. The "object" is, for example, a character string, an icon, a button, a link, a radio button, a check box, a pull-down menu, or the like displayed on the display 23.

タッチセンサとして実現される入力I/F24は、ユーザがタッチした表示画面上の位置を示す位置情報を出力する。なお、本明細書中における「タッチ」とは、入力媒体を表示画面に接触させる操作全般を含む。また、入力媒体が表示画面に触れていなくても、表示画面との間の距離がごく僅かな位置まで入力媒体を近接させる「ホバー」或いは「フローティングタッチ」を、前述の「タッチ」の概念に含めてもよい。さらに入力媒体とは、ユーザの指であってもよいし、タッチペン等であってもよい。ディスプレイ23に表示されたオブジェクトの位置をタップするユーザ操作は、当該オブジェクトを指定するユーザ操作の一例である。 The input I / F 24 realized as a touch sensor outputs position information indicating a position on the display screen touched by the user. The term "touch" in the present specification includes all operations of bringing the input medium into contact with the display screen. Further, even if the input medium does not touch the display screen, the "hover" or "floating touch" that brings the input medium close to the position where the distance from the display screen is very small is used as the above-mentioned concept of "touch". May be included. Further, the input medium may be a user's finger, a stylus, or the like. The user operation of tapping the position of the object displayed on the display 23 is an example of the user operation of designating the object.

通信I/F25は、通信ネットワーク101を通じて外部装置と通信可能なインタフェースである。すなわち、MFP10は、通信I/F25を通じて外部装置に各種情報を送信し、通信I/F25を通じて外部装置から各種情報を受信する。通信I/F25の具体的な通信手順は特に限定されないが、例えば、Wi-Fi(Wi-Fi Allianceの登録商標)を採用することができる。また、MFP10及び携帯端末50がUSBケーブルで接続される場合、通信I/F25は、USBケーブルを着脱可能なUSBインタフェースであってもよい。 The communication I / F 25 is an interface capable of communicating with an external device through the communication network 101. That is, the MFP 10 transmits various information to the external device through the communication I / F25, and receives various information from the external device through the communication I / F25. The specific communication procedure of the communication I / F25 is not particularly limited, but for example, Wi-Fi (registered trademark of Wi-Fi Alliance) can be adopted. Further, when the MFP 10 and the mobile terminal 50 are connected by a USB cable, the communication I / F 25 may be a USB interface to which the USB cable can be attached and detached.

CPU31は、MFP10の全体動作を制御するものである。CPU31は、入力I/F24から出力される各種情報、通信I/F25を通じて外部装置から受信した各種情報等に基づいて、後述する各種プログラムをメモリ32から取得して実行する。CPU31及びメモリ32は、コントローラの一例を構成する。 The CPU 31 controls the overall operation of the MFP 10. The CPU 31 acquires and executes various programs described later from the memory 32 based on various information output from the input I / F 24, various information received from the external device through the communication I / F 25, and the like. The CPU 31 and the memory 32 form an example of a controller.

メモリ32は、OS34と、装置プログラム35とを記憶している。装置プログラム35は、単一のプログラムであってもよいし、複数のプログラムの集合体であってもよい。また、メモリ32は、装置プログラム35の実行に必要なデータ或いは情報等を記憶する。メモリ32は、例えば、RAM、ROM、EEPROM、HDD、MFP10に着脱されるUSBメモリ等の可搬記憶媒体、CPU31が備えるバッファ等、或いはそれらの組み合わせによって構成される。 The memory 32 stores the OS 34 and the device program 35. The device program 35 may be a single program or a collection of a plurality of programs. Further, the memory 32 stores data or information necessary for executing the device program 35. The memory 32 is composed of, for example, a RAM, a ROM, an EEPROM, an HDD, a portable storage medium such as a USB memory attached to and detached from the MFP 10, a buffer included in the CPU 31, or a combination thereof.

メモリ32は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。後述する携帯端末50のメモリ62についても同様である。 The memory 32 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitional medium. In addition to the above examples, the non-transitory medium also includes recording media such as a CD-ROM and a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electric signal that carries a program downloaded from a server on the Internet is a signal medium that can be read by a computer, which is a kind of medium that can be read by a computer, but is a storage that can be read by a non-transitory computer. Not included in the medium. The same applies to the memory 62 of the mobile terminal 50 described later.

メモリ32のMIB(Management Information Baseの略)は、図1に示される装置情報を記憶している。装置情報は、MFP10を識別する装置IDと、MFP10が実行可能な画像処理動作を識別する動作IDとを含む。なお、「装置ID」とは、通信ネットワーク101上において、MFP10A、10Bを一意に識別することができれば、テキスト形式、バイナリ形式等の形式は問わない。動作ID、後述するプログラムID、後述するデータID等についても同様である。 The MIB (abbreviation of Management Information Base) of the memory 32 stores the device information shown in FIG. The device information includes a device ID that identifies the MFP 10 and an operation ID that identifies an image processing operation that the MFP 10 can perform. The "device ID" may be in any format such as a text format or a binary format as long as the MFPs 10A and 10B can be uniquely identified on the communication network 101. The same applies to the operation ID, the program ID described later, the data ID described later, and the like.

すなわち、MFP10Aは、装置ID“MFP-A”で識別され、動作ID“シートプリント”、“レーベルプリント”で識別される画像処理動作を実行可能である。一方、MFP10Bは、装置ID“MFP-B”で識別され、動作ID“シートプリント”、“レーベルプリント”、“シートスキャン”、“レーベルスキャン”で識別される画像処理動作を実行可能である。 That is, the MFP 10A can execute the image processing operation identified by the device ID "MFP-A" and identified by the operation IDs "sheet print" and "label print". On the other hand, the MFP 10B can execute an image processing operation identified by the device ID "MFP-B" and identified by the operation IDs "sheet print", "label print", "sheet scan", and "label scan".

動作ID“シートプリント”は、被記録媒体の一例である記録用紙に対して画像を記録するプリント動作(以下、「シートプリント動作」と表記する。)を識別する。動作ID“レーベルプリント”は、被記録媒体の一例であるレーベル(例えば、CD-ROM、DVD-ROM等)の表面に画像を記録するプリント動作(以下、「レーベルプリント動作」と表記する。)を識別する。すなわち、MFP10A、10Bのプリンタ11は、被記録媒体に画像を記録する記録位置に、記録用紙のみならず、レーベルを搬送するハードウェアを備えている。 The operation ID "sheet print" identifies a print operation (hereinafter, referred to as "sheet print operation") for recording an image on a recording paper which is an example of a recording medium. The operation ID "label print" is a print operation for recording an image on the surface of a label (for example, CD-ROM, DVD-ROM, etc.) which is an example of a recording medium (hereinafter, referred to as "label print operation"). To identify. That is, the printers 11 of the MFPs 10A and 10B are provided with hardware for transporting not only the recording paper but also the label at the recording position where the image is recorded on the recording medium.

動作ID“シートスキャン”は、記録用紙に記録された画像を読み取ってスキャンデータを生成するスキャン動作(以下、「シートスキャン動作」と表記する。)を識別する。動作ID“レーベルスキャン”は、レーベルに記録された画像を読み取ってスキャンデータを生成するスキャン動作(以下、「レーベルスキャン動作」と表記する。)を識別する。すなわち、MFP10Aは、スキャナ12を備えていない所謂プリンタ単能機である。一方、MFP10Bは、スキャンデータで示される画像上において、レーベルの中心位置を特定する画像処理機能を備えている。 The operation ID "sheet scan" identifies a scan operation (hereinafter, referred to as "sheet scan operation") that reads an image recorded on a recording sheet and generates scan data. The operation ID "label scan" identifies a scan operation (hereinafter, referred to as "label scan operation") that reads an image recorded on the label and generates scan data. That is, the MFP 10A is a so-called printer single-purpose machine that does not include the scanner 12. On the other hand, the MFP 10B has an image processing function for specifying the center position of the label on the image indicated by the scan data.

携帯端末50は、図2(B)に示されるように、ディスプレイ53と、入力I/F54と、通信I/F55と、CPU61と、メモリ62と、通信バス63とを主に備える。携帯端末50に含まれるディスプレイ53、入力I/F54、通信I/F55、CPU61、メモリ62、及び通信バス63は、MFP10に含まれるディスプレイ23、入力I/F24、通信I/F25、CPU31、メモリ32、及び通信バス33と同様の構成であるので、説明は省略する。CPU61及びメモリ62は、コントローラの一例である。 As shown in FIG. 2B, the mobile terminal 50 mainly includes a display 53, an input I / F 54, a communication I / F 55, a CPU 61, a memory 62, and a communication bus 63. The display 53, the input I / F 54, the communication I / F 55, the CPU 61, the memory 62, and the communication bus 63 included in the mobile terminal 50 are the display 23, the input I / F 24, the communication I / F 25, the CPU 31, and the memory included in the MFP 10. Since the configuration is the same as that of 32 and the communication bus 33, the description thereof will be omitted. The CPU 61 and the memory 62 are examples of the controller.

携帯端末50は、例えば、携帯電話、スマートフォン、或いはタブレット端末等である。より詳細には、携帯端末50のディスプレイ53は、表示画面のサイズが12インチ以下、より好ましくは8インチ以下であるのが望ましい。また、携帯端末50の入力I/F54は、ディスプレイ53の表示画面に重ねられたタッチセンサであるのが望ましい。メモリ62は、OS64と、端末プログラム65と、レーベルプログラム66と、地図プログラム67とを記憶している。 The mobile terminal 50 is, for example, a mobile phone, a smartphone, a tablet terminal, or the like. More specifically, the display 53 of the mobile terminal 50 preferably has a display screen size of 12 inches or less, more preferably 8 inches or less. Further, it is desirable that the input I / F 54 of the mobile terminal 50 is a touch sensor superimposed on the display screen of the display 53. The memory 62 stores the OS 64, the terminal program 65, the label program 66, and the map program 67.

OS64は、例えば、Android(Google inc.の登録商標) OS、iOS(Cisco Systems,Inc.の登録商標)、Windows Phone(Microsoft Corporationの登録商標) Operating System等であってもよい。OS64は、携帯端末50にインストールされた複数のプログラムを並行して実行することができる。複数のプログラムは、例えば、時分割多重方式によって仮想的に並行して実行される。また、OS64は、並行して実行する複数のプログラムのうちの1つをフォアグラウンドで実行し、その他のプログラムをバックグラウンドで実行する。 The OS 64 may be, for example, Android (registered trademark of Google inc.) OS, iOS (registered trademark of Cisco Systems, Inc.), Windows Phone (registered trademark of Microsoft Corporation) Operating System, and the like. The OS 64 can execute a plurality of programs installed in the mobile terminal 50 in parallel. A plurality of programs are virtually executed in parallel by a time division multiplexing method, for example. Further, the OS 64 executes one of a plurality of programs executed in parallel in the foreground, and executes the other programs in the background.

フォアグラウンドは、例えば、当該プログラムの実行に拠る画面がディスプレイ53の表示領域の大部分に表示されている状態である。バックグラウンドは、例えば、当該プログラムと異なるプログラムの実行に拠る画面がディスプレイ53の表示領域の大部分に表示されている状態である。すなわち、携帯端末50は、並行して実行する複数のプログラムのうち、フォアグラウンドで実行されているプログラムの実行に拠る画面のみをディスプレイ53に表示させることができる。 The foreground is, for example, a state in which a screen depending on the execution of the program is displayed in most of the display area of the display 53. The background is, for example, a state in which a screen due to execution of a program different from the program is displayed in most of the display area of the display 53. That is, the mobile terminal 50 can display only the screen depending on the execution of the program executed in the foreground on the display 53 among the plurality of programs executed in parallel.

端末プログラム65は、通信I/F55を通じて接続されたMFP10に、画像処理動作を実行させるプログラムである。MFP10に実行させる画像処理動作は、端末プログラム65が入力I/F54を通じてユーザに指定させてもよいし、携帯端末50にインストールされた他のプログラムから指定されてもよい。すなわち、端末プログラム65は、他のプログラムからの指示に従ってMFP10に画像処理動作を実行させる所謂デバイスドライバとは異なるものである。 The terminal program 65 is a program that causes the MFP 10 connected through the communication I / F 55 to execute an image processing operation. The image processing operation to be executed by the MFP 10 may be specified by the terminal program 65 to the user through the input I / F 54, or may be specified by another program installed in the mobile terminal 50. That is, the terminal program 65 is different from the so-called device driver that causes the MFP 10 to execute an image processing operation according to an instruction from another program.

レーベルプログラム66は、レーベルスキャン動作で生成したスキャンデータを端末プログラム65を通じてMFP10から取得し、取得したスキャンデータからレーベルに記録する画像を示すレーベル画像データを生成する機能を有する。また、レーベルプログラムは、入力I/F54を通じたユーザ操作に従ってレーベル画像データを生成し、生成したレーベル画像データを対象とするレーベルプリント動作を端末プログラム65を通じてMFP10に実行させる機能を有する。 The label program 66 has a function of acquiring scan data generated by the label scan operation from the MFP 10 through the terminal program 65 and generating label image data indicating an image to be recorded on the label from the acquired scan data. Further, the label program has a function of generating label image data according to a user operation through the input I / F 54 and causing the MFP 10 to execute a label print operation targeting the generated label image data through the terminal program 65.

地図プログラム67は、不図示のサーバから取得した地図画像データの一部を入力I/F54を通じたユーザ操作に従って抽出し、抽出した地図画像データを対象とするシートプリント動作を端末プログラム65を通じてMFP10に実行させる機能を有する。また図示は省略するが、名刺プログラムは、シートスキャン動作で生成したスキャンデータを端末プログラム65を通じてMFP10から取得し、取得したスキャンデータに含まれる文字列(例えば、氏名、会社名、電話番号、メールアドレス等)をテキストデータとして抽出する機能を有する。 The map program 67 extracts a part of the map image data acquired from a server (not shown) according to the user operation through the input I / F 54, and outputs a sheet print operation for the extracted map image data to the MFP 10 through the terminal program 65. It has a function to execute. Although not shown, the business card program acquires scan data generated by the sheet scan operation from the MFP 10 through the terminal program 65, and a character string included in the acquired scan data (for example, name, company name, telephone number, mail). It has a function to extract (address, etc.) as text data.

また、端末プログラム65は、携帯端末50にインストールされたレーベルプログラム66及び地図プログラム67を、所謂プラグインとして起動することができる。同様に、レーベルプログラム66及び地図プログラム67は、携帯端末50にインストールされた端末プログラム65を、所謂プラグインとして起動することができる。プラグインは、外部プログラムの一例である。なお、外部プログラムは、起動元のプログラムとは別個のプログラムで且つ独立して実行可能なプログラムであって、起動元のプログラムのサブルーチンとは異なる。また、外部プログラムは、起動元のプログラムと同じ携帯端末50で動作するプログラムである。 Further, the terminal program 65 can start the label program 66 and the map program 67 installed in the mobile terminal 50 as so-called plug-ins. Similarly, the label program 66 and the map program 67 can start the terminal program 65 installed in the mobile terminal 50 as a so-called plug-in. A plug-in is an example of an external program. The external program is a program that is separate from the startup program and can be executed independently, and is different from the subroutine of the startup program. Further, the external program is a program that operates on the same mobile terminal 50 as the program of the activation source.

外部プログラムは、例えば、OS64が提供するAPI(以下、「起動API」と表記する。)によって起動される。起動元のプログラムは、例えば、外部プログラムのプログラムIDを引数として指定して、起動APIを実行する。OS64は、起動APIが実行されたことに応じて、指定されたプログラムIDで識別される外部プログラムを起動する。そして、外部プログラムは、所定の動作を実行し、当該動作の実行結果を起動APIの戻り値として起動元のプログラムに引き渡す。なお、外部プログラムは、OS64によって提供される共有機能によって起動されてもよい。 The external program is started by, for example, an API provided by OS64 (hereinafter, referred to as "startup API"). The start-up source program executes the start-up API by, for example, specifying the program ID of the external program as an argument. The OS 64 starts an external program identified by the specified program ID according to the execution of the start API. Then, the external program executes a predetermined operation, and passes the execution result of the operation to the program of the activation source as the return value of the activation API. The external program may be started by the sharing function provided by OS64.

メモリ62は、例えば図3に示されるように、プログラムリストを記憶することができる。プログラムリストは、1以上のプログラムレコードを含む。プログラムレコードは、例えば、端末プログラム65のインストール時にメモリ62に記憶される。プログラムレコードは、端末プログラム65が起動可能な複数のプログラムのうちの1つに対応する。プログラムレコードは、プログラムIDと、インストールフラグと、PI機能リストと、コンテンツ情報とを含む。 The memory 62 can store a program list, for example, as shown in FIG. The program list contains one or more program records. The program record is stored in the memory 62, for example, when the terminal program 65 is installed. The program record corresponds to one of a plurality of programs that can be started by the terminal program 65. The program record includes a program ID, an installation flag, a PI function list, and content information.

プログラムIDは、端末プログラム65が起動可能なプログラムを識別する。すなわち、レーベルプログラム66はプログラムID“レーベル”で識別され、地図プログラム67はプログラムID“地図”で識別され、名刺プログラムはプログラムID“名刺”で識別される。インストールフラグは、対応するプログラムIDで識別されるプログラムが携帯端末50にインストールされているか否かを示す。インストールフラグには、既にインストールされていることに対応する第1値“YES”、或いは未だインストールされていないことに対応する第2値“NO”が設定される。 The program ID identifies a program that can be started by the terminal program 65. That is, the label program 66 is identified by the program ID "label", the map program 67 is identified by the program ID "map", and the business card program is identified by the program ID "business card". The installation flag indicates whether or not the program identified by the corresponding program ID is installed in the mobile terminal 50. The installation flag is set to the first value "YES" corresponding to the fact that it has already been installed, or the second value "NO" corresponding to the fact that it has not been installed yet.

PI機能リストは、対応するプログラムIDで識別されるプログラムが、端末プログラム65を通じてMFP10に指示し得る指定動作を示す情報である。すなわち、レーベルプログラム66、地図プログラム67、及び名刺プログラムは、1以上の指定動作の実行を端末プログラム65を通じてMFP10に指示することができる。PI機能リストは、指定動作の動作ID(以下、「指定動作ID」と表記する)を示す。より詳細には、PI機能リストは、複数の動作IDそれぞれに対応付けて、指定動作であることに対応する第3値“ON”、或いは指定動作でないことに対応する第4値“OFF”を含む。 The PI function list is information indicating a designated operation that the program identified by the corresponding program ID can instruct the MFP 10 through the terminal program 65. That is, the label program 66, the map program 67, and the business card program can instruct the MFP 10 to execute one or more designated operations through the terminal program 65. The PI function list shows the operation ID of the designated operation (hereinafter, referred to as "designated operation ID"). More specifically, in the PI function list, the third value "ON" corresponding to the designated operation or the fourth value "OFF" corresponding to the non-designated operation is associated with each of the plurality of operation IDs. include.

一例として、PI機能リストは、Android OSによって管理される所謂マニュフェストファイルに定義されていてもよい。他の例として、端末プログラム65は、外部プログラムが提供する関数を実行することによって、当該関数の戻り値としてPI機能リストを外部プログラムから取得してもよい。 As an example, the PI function list may be defined in a so-called manifest file managed by the Android OS. As another example, the terminal program 65 may acquire the PI function list from the external program as the return value of the function by executing the function provided by the external program.

コンテンツ情報は、対応するプログラムIDで識別されるプログラムから、起動APIの戻り値として取得した動作ID及びURI(Uniform Resource Identifierの略)を含む。動作IDは、MFP10に実行させる画像処理動作を識別するための情報である。URIは、対応する動作IDで識別される画像処理動作の対象となる画像データを識別するデータIDの一例である。コンテンツ情報は、後述する指示受付処理において、端末プログラム65によってプログラムレコードに登録される。プログラムレコードは、複数のコンテンツ情報を含んでもよいし、コンテンツ情報を含まなくてもよい。 The content information includes an operation ID and a URI (abbreviation of Uniform Resource Identifier) acquired as a return value of the activation API from the program identified by the corresponding program ID. The operation ID is information for identifying the image processing operation to be executed by the MFP 10. The URI is an example of a data ID that identifies image data that is the target of an image processing operation identified by the corresponding operation ID. The content information is registered in the program record by the terminal program 65 in the instruction receiving process described later. The program record may or may not include a plurality of content information.

また図示は省略するが、メモリ62は、指定装置情報を記憶することができる。指定装置情報は、後述するデバイス選択処理で指定されたMFP10(以下、「指定装置」と表記する。)のMIBに記憶された装置情報である。一方、MFP10が指定されていないとき、メモリ62には、指定装置情報が記憶されていない。 Although not shown, the memory 62 can store the designated device information. The designated device information is device information stored in the MIB of the MFP 10 (hereinafter, referred to as “designated device”) designated in the device selection process described later. On the other hand, when the MFP 10 is not specified, the designated device information is not stored in the memory 62.

[システム100の動作]
図4~図9を参照して、本実施形態に係るシステム100の動作を説明する。なお、図4のメイン処理を開始する時点において、メモリ62には、MFP10Aの装置情報が指定装置情報として記憶されているものとする。
[Operation of system 100]
The operation of the system 100 according to the present embodiment will be described with reference to FIGS. 4 to 9. At the time of starting the main process of FIG. 4, it is assumed that the device information of the MFP 10A is stored as the designated device information in the memory 62.

本明細書のフローチャートは、基本的に、プログラムに記述された命令に従ったCPU31、61の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「制御」等の処理は、CPU31、61の処理を表している。CPU31、61による処理は、OS34、64を介したハードウェア制御も含む。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。 The flowchart of the present specification basically shows the processing of the CPUs 31 and 61 according to the instructions described in the program. That is, the processes such as "determination", "extraction", "selection", "calculation", "determination", "specification", and "control" in the following description represent the processes of the CPUs 31 and 61. The processing by the CPUs 31 and 61 also includes hardware control via the OS 34 and 64. Further, the "data" in the present specification is represented by a computer-readable bit string. Data having the same substantial meaning and different formats are treated as the same data. The same applies to "information" in the present specification.

携帯端末50のOS64は、図10(A)に示されるメニュー画面をディスプレイ53に表示させる。メニュー画面は、複数のプログラムアイコン111、112、113、114を含む。プログラムアイコン111~114は、携帯端末50にインストールされたプログラムに対応する。例えば、プログラムアイコン111は端末プログラム65に対応し、プログラムアイコン112はレーベルプログラム66に対応し、プログラムアイコン113は地図プログラム67に対応する。そして、OS64は、プログラムアイコン111~114の1つを指定するユーザ操作を、入力I/F54を通じて受け付ける。 The OS 64 of the mobile terminal 50 causes the display 53 to display the menu screen shown in FIG. 10 (A). The menu screen includes a plurality of program icons 111, 112, 113, 114. The program icons 111 to 114 correspond to the programs installed in the mobile terminal 50. For example, the program icon 111 corresponds to the terminal program 65, the program icon 112 corresponds to the label program 66, and the program icon 113 corresponds to the map program 67. Then, the OS 64 accepts a user operation for designating one of the program icons 111 to 114 through the input I / F 54.

一例として、OS64は、プログラムアイコン112の指定を入力I/F54を通じて受け付けたことに応じて、レーベルプログラム66を起動させ、且つ当該プログラムをフォアグラウンドで実行する。ここで起動されたレーベルプログラム66は、後述するレーベルPI処理を実行する。他の例として、OS64は、プログラムアイコン111の指定を入力I/F54を通じて受け付けたことに応じて、端末プログラム65を起動させ、且つ当該プログラムをフォアグラウンドで実行する。以下、プログラムアイコン111が指定された場合の処理を説明する。 As an example, the OS 64 activates the label program 66 and executes the program in the foreground in response to receiving the designation of the program icon 112 through the input I / F 54. The label program 66 started here executes the label PI process described later. As another example, the OS 64 starts the terminal program 65 and executes the program in the foreground in response to receiving the designation of the program icon 111 through the input I / F 54. Hereinafter, the processing when the program icon 111 is specified will be described.

携帯端末50の端末プログラム65は、OS64によって起動されたことに応じて、メイン画面生成処理を実行する(S11)。メイン画面生成処理は、図10(B)に示されるメイン画面を生成する処理である。より詳細には、メイン画面生成処理は、携帯端末50にインストールされた外部プログラムに対応するアイコンを、図10(B)に示されるメイン画面に含めるか否かを決定する処理である。図5を参照して、メイン画面生成処理の詳細を説明する。 The terminal program 65 of the mobile terminal 50 executes the main screen generation process in response to being started by the OS 64 (S11). The main screen generation process is a process for generating the main screen shown in FIG. 10 (B). More specifically, the main screen generation process is a process of determining whether or not to include the icon corresponding to the external program installed in the mobile terminal 50 in the main screen shown in FIG. 10 (B). The details of the main screen generation process will be described with reference to FIG.

端末プログラム65は、プログラムリストに含まれる全てのプログラムレコードそれぞれについて(S37:No)、S31~S36の処理を実行する。より詳細には、端末プログラム65は、プログラムレコードのインストールフラグの設定値を判断する(S31)。また、端末プログラム65は、プログラムレコードがコンテンツ情報を含むか否かを判断する(S32)。さらに、端末プログラム65は、メモリ62に記憶された指定装置情報が、コンテンツ情報の動作IDを含むか否かを判断する(S33)。そして、端末プログラム65は、S31~S33の判断結果に応じて、プログラムレコードに対応する外部プログラムのアイコンを決定する。 The terminal program 65 executes the processes of S31 to S36 for each of all the program records included in the program list (S37: No). More specifically, the terminal program 65 determines the set value of the installation flag of the program record (S31). Further, the terminal program 65 determines whether or not the program record includes the content information (S32). Further, the terminal program 65 determines whether or not the designated device information stored in the memory 62 includes the operation ID of the content information (S33). Then, the terminal program 65 determines the icon of the external program corresponding to the program record according to the determination results of S31 to S33.

すなわち、端末プログラム65は、図3の1行目のプログラムレコードについて、インストールフラグに第1値“YES”が設定されおり(S31:Yes)、且つコンテンツ情報を含まないと判断したことに応じて(S32:No)、図10(B)に示されるように、レーベルプログラム66に対応するPIアイコン123を、メイン画面に含めると決定する(S36)。 That is, the terminal program 65 determines that the first value "YES" is set in the installation flag for the program record in the first line of FIG. 3 (S31: Yes) and does not include the content information. (S32: No), as shown in FIG. 10B, it is determined that the PI icon 123 corresponding to the label program 66 is included in the main screen (S36).

PIアイコン123は、コンテンツ情報が対応付けられていない外部プログラムに対応する第1オブジェクトの一例である。PIアイコン123には、レーベルプログラム66を示す画像が用いられる。より詳細には、PIアイコン123は、レーベルプログラム66の名称、略称、ロゴマーク等、レーベルプログラム66に対応するアイコンであることを、携帯端末50のユーザが認識できるものであればよい。 The PI icon 123 is an example of a first object corresponding to an external program to which content information is not associated. An image showing the label program 66 is used for the PI icon 123. More specifically, the PI icon 123 may be an icon corresponding to the label program 66, such as the name, abbreviation, logo mark, etc. of the label program 66, as long as it can be recognized by the user of the mobile terminal 50.

また、端末プログラム65は、図3の2行目のプログラムレコードについて、インストールフラグに第1値“YES”が設定されおり(S31:Yes)、コンテンツ情報を含み(S32:Yes)、且つ指定装置情報が動作ID“シートプリント”を含むと判断したことに応じて(S33:Yes)、図10(B)に示されるように、地図プログラム67に対応するコンテンツアイコン124を、指定可能な態様でメイン画面に含めると決定する(S34)。 Further, in the terminal program 65, the first value "YES" is set in the installation flag for the program record in the second line of FIG. 3 (S31: Yes), the content information is included (S32: Yes), and the designated device. Depending on the determination that the information includes the operation ID "sheet print" (S33: Yes), as shown in FIG. 10B, the content icon 124 corresponding to the map program 67 can be specified in a specifiable manner. It is decided to include it in the main screen (S34).

コンテンツアイコン124は、例えば図10(B)に示されるように、URIで示される画像データを加工した所謂サムネイル画像であってもよい。「加工」とは、例えば、URIで示される画像データの一部をトリミングすることでもよいし、画像データで示される画像の解像度を低下させることでもよい。または、コンテンツアイコン124は、プログラムレコードに含まれるコンテンツ情報の数を表すバッヂ画像であってもよい。バッヂ画像は、対応する外部プログラムのPIアイコンの周囲(例えば、右上)に配置されてもよい。 The content icon 124 may be a so-called thumbnail image obtained by processing the image data shown by the URI, for example, as shown in FIG. 10 (B). The “processing” may be, for example, trimming a part of the image data indicated by the URI, or reducing the resolution of the image indicated by the image data. Alternatively, the content icon 124 may be a badge image representing the number of content information contained in the program record. The badge image may be placed around the PI icon of the corresponding external program (eg, top right).

一方図示は省略するが、端末プログラム65は、インストールフラグに第1値“YES”が設定されおり(S31:Yes)、コンテンツ情報を含み(S32:Yes)、且つ指定装置情報が動作ID“シートプリント”を含まないと判断したことに応じて(S33:No)、地図プログラム67に対応するコンテンツアイコン124を、指定不能な態様でメイン画面に含めると決定する(S35)。指定不能な態様とは、例えば、グレーアウト等であってもよい。 On the other hand, although not shown, in the terminal program 65, the first value "YES" is set in the installation flag (S31: Yes), the content information is included (S32: Yes), and the designated device information is the operation ID "sheet". In response to the determination that "print" is not included (S33: No), it is determined that the content icon 124 corresponding to the map program 67 is included in the main screen in an unspecified manner (S35). The mode that cannot be specified may be, for example, grayout or the like.

さらに、端末プログラム65は、図3の3行目のプログラムレコードについて、インストールフラグに第2値“NO”が設定されていると判断したことに応じて(S31:No)、名刺プログラムに対応するアイコンを、メイン画面に含めない。そして、端末プログラム65は、全てのプログラムレコードに対してS31~S36の処理を実行したことに応じて(S37:Yes)、メイン画面生成処理を終了する。 Further, the terminal program 65 corresponds to the business card program according to the determination that the second value “NO” is set in the installation flag for the program record in the third line of FIG. 3 (S31: No). Do not include the icon on the main screen. Then, the terminal program 65 ends the main screen generation process in response to the execution of the processes S31 to S36 for all the program records (S37: Yes).

次に図4に戻って、端末プログラム65は、図10(B)に示されるメイン画面をディスプレイ53に表示させる(S12)。メイン画面は、動作アイコン121、122と、PIアイコン123と、指定可能な態様のコンテンツアイコン124と、切替アイコン125とを含む第1画面の一例である。そして、端末プログラム65は、メイン画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S13~S16)。S12の処理は第1表示処理の一例であり、S13~S16の処理は第1受付処理の一例である。 Next, returning to FIG. 4, the terminal program 65 causes the display 53 to display the main screen shown in FIG. 10 (B) (S12). The main screen is an example of a first screen including operation icons 121 and 122, PI icons 123, content icons 124 in a specifiable manner, and switching icons 125. Then, the terminal program 65 accepts the user operation for the main screen through the input I / F 54 (S13 to S16). The process of S12 is an example of the first display process, and the process of S13 to S16 is an example of the first reception process.

動作アイコン121は、シートプリント動作の実行指示に対応する。動作アイコン122は、シートスキャン動作の実行指示に対応する。PIアイコン123及びコンテンツアイコン124は、メイン画面生成処理でメイン画面に含めると決定したアイコンである。切替アイコン125は、指定装置の切替指示に対応する。切替アイコン125には、指定装置情報に含まれる装置ID“MFP-A”が記述されている。一方、指定装置情報がメモリ62に記憶されていない場合、切替アイコン125には、指定装置が選択されていないことを示す「未選択」の文字列が記述される。 The operation icon 121 corresponds to an execution instruction of the sheet print operation. The operation icon 122 corresponds to an execution instruction of the sheet scan operation. The PI icon 123 and the content icon 124 are icons determined to be included in the main screen in the main screen generation process. The switching icon 125 corresponds to a switching instruction of the designated device. The device ID "MFP-A" included in the designated device information is described in the switching icon 125. On the other hand, when the designated device information is not stored in the memory 62, the switching icon 125 describes a character string of "unselected" indicating that the designated device is not selected.

次に、端末プログラム65は、例えば、切替アイコン125の指定を入力I/F54を通じて受け付けたことに応じて(S13:Yes)、デバイス選択処理を実行する(S17)。なお、S17で実行するデバイス選択処理の検索条件は、「通信ネットワーク101を通じて通信可能な全てのMFP」である。図6を参照して、デバイス選択処理の詳細を説明する。 Next, the terminal program 65 executes the device selection process (S17) in response to the reception of the designation of the switching icon 125 through the input I / F 54 (S13: Yes), for example. The search condition for the device selection process executed in S17 is "all MFPs capable of communicating through the communication network 101". The details of the device selection process will be described with reference to FIG.

まず、端末プログラム65は、例えば、SNMP(Simple Network Management Protocolの略)を用いて、通信I/F55を通じて通信が可能な複数のMFP10を検索する(S41)。具体的には、端末プログラム65は、通信I/F55を通じて通信ネットワーク101に送信要求情報をブロードキャストする。次に、端末プログラム65は、送信要求情報の応答としてMFP10A、10Bが送信した装置情報を、通信I/F55を通じて受信する。すなわち、端末プログラム65は、装置情報の送信元のMFP10A、10Bを、通信可能なMFP10として特定する。なお、通信可能なMFP10を検索する方法は、周知の他の方法であってもよい。 First, the terminal program 65 uses, for example, SNMP (abbreviation of Simple Network Management Protocol) to search for a plurality of MFPs 10 capable of communicating through the communication I / F55 (S41). Specifically, the terminal program 65 broadcasts transmission request information to the communication network 101 through the communication I / F 55. Next, the terminal program 65 receives the device information transmitted by the MFPs 10A and 10B as a response to the transmission request information through the communication I / F55. That is, the terminal program 65 specifies the MFPs 10A and 10B, which are the sources of device information, as the MFPs 10 capable of communicating. The method of searching for a communicable MFP 10 may be another well-known method.

次に、端末プログラム65は、検索条件に合致するMFP10をS41で発見したか否かを判断する(S42)。次に、端末プログラム65は、MFP10A、10Bを発見したと判断したことに応じて(S42:Yes)、図11(A)に示されるデバイス選択画面をディスプレイ53に表示させる(S43)。そして、端末プログラム65は、デバイス選択画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S44)。S43の処理は第2表示処理の一例であり、S44の処理は第2受付処理の一例である。 Next, the terminal program 65 determines whether or not the MFP 10 that matches the search condition is found in S41 (S42). Next, the terminal program 65 causes the display 53 to display the device selection screen shown in FIG. 11A in response to the determination that the MFPs 10A and 10B have been found (S42: Yes) (S43). Then, the terminal program 65 accepts the user operation for the device selection screen through the input I / F 54 (S44). The process of S43 is an example of the second display process, and the process of S44 is an example of the second reception process.

デバイス選択画面は、デバイスアイコン131、132を含む。デバイスアイコン131、132は、ステップS41で発見したMFP10A、10Bに対応する。また、デバイスアイコン131、132には、対応するMFP10A、10Bの装置IDが記述されている。一方、S17で実行するデバイス選択処理において、デバイスアイコン131、132には、「レーベルプリント」、「レーベルスキャン」等の文字列が記述されていなくてもよい。 The device selection screen includes device icons 131 and 132. The device icons 131 and 132 correspond to the MFPs 10A and 10B found in step S41. Further, the device IDs of the corresponding MFPs 10A and 10B are described in the device icons 131 and 132. On the other hand, in the device selection process executed in S17, character strings such as "label print" and "label scan" may not be described in the device icons 131 and 132.

次に、端末プログラム65は、例えばデバイスアイコン131の指定を入力I/F54を通じて受け付けたことに応じて(S44:Yes)、デバイスアイコン131に対応するMFP10Bから受信した装置情報を、指定装置情報としてメモリ62に記憶させる(S45)。メモリ62に既に指定装置情報が記憶されている場合、端末プログラム65は、当該指定装置情報を新たな指定装置情報で上書きする。S45の処理は、第1記憶処理の一例である。一方、端末プログラム65は、S41でMFP10を発見しなかったと判断したことに応じて(S42:No)、S43~S45の処理をスキップして、デバイス選択処理を終了する。 Next, the terminal program 65 receives the device information received from the MFP 10B corresponding to the device icon 131 as the designated device information in response to the reception of the designation of the device icon 131 through the input I / F 54 (S44: Yes). It is stored in the memory 62 (S45). If the designated device information is already stored in the memory 62, the terminal program 65 overwrites the designated device information with the new designated device information. The processing of S45 is an example of the first storage processing. On the other hand, the terminal program 65 skips the processes of S43 to S45 and ends the device selection process in response to the determination that the MFP 10 was not found in S41 (S42: No).

次に図4に戻って、端末プログラム65は、メイン画面をディスプレイ53に表示させる(S12)。デバイスアイコン131が指定された後のメイン画面において、切替アイコン125には、指定装置ID“MFP-B”が記述される。次に、端末プログラム65は、例えばPIアイコン123の指定を入力I/F54を通じて受け付けたことに応じて(S14:Yes)、PI起動処理を実行する(S18)。PI起動処理は、指定されたPIアイコン123に対応するレーベルプログラム66(以下、「指定プログラム」と表記する。)を起動する処理である。図7を参照して、PI起動処理の詳細を説明する。 Next, returning to FIG. 4, the terminal program 65 causes the main screen to be displayed on the display 53 (S12). On the main screen after the device icon 131 is designated, the designated device ID "MFP-B" is described in the switching icon 125. Next, the terminal program 65 executes the PI activation process (S18) in response to the reception of the designation of the PI icon 123, for example, through the input I / F 54 (S14: Yes). The PI activation process is a process of activating the label program 66 (hereinafter, referred to as “designated program”) corresponding to the designated PI icon 123. The details of the PI activation process will be described with reference to FIG. 7.

まず、端末プログラム65は、PIアイコン123に対応するプログラムレコードのPI機能リストを、プログラムリストから読み出す(S51)。次に、端末プログラム65は、読み出したPI機能リストで示される指定動作を指定装置がサポートしているか否かを判断する(S52)。換言すれば、端末プログラム65は、PI機能リストで示される指定動作IDを含む指定装置情報がメモリ62に記憶されているか否かを判断する(S52)。S52の処理は、第1判断処理の一例である。 First, the terminal program 65 reads the PI function list of the program record corresponding to the PI icon 123 from the program list (S51). Next, the terminal program 65 determines whether or not the designated device supports the designated operation indicated by the read PI function list (S52). In other words, the terminal program 65 determines whether or not the designated device information including the designated operation ID shown in the PI function list is stored in the memory 62 (S52). The process of S52 is an example of the first determination process.

端末プログラム65は、指定動作の少なくとも一部を指定装置がサポートしていると判断したことに応じて(S52:Yes)、S53~S55の処理をスキップして、複数の指定動作ID“レーベルプリント”、“レーベルスキャン”のうち、指定装置情報に含まれる動作IDを抽出する(S56)。そして、端末プログラム65は、レーベルプログラム66のプログラムID及びサポート機能リストを引数として指定して、起動APIを呼び出す(S57、S59)。S56の処理は抽出処理の一例であり、S57、S59及び後述するS60の処理は起動処理の一例である。 The terminal program 65 skips the processing of S53 to S55 according to the determination that the designated device supports at least a part of the designated operation (S52: Yes), and a plurality of designated operation IDs “label print”. , "Label scan", the operation ID included in the designated device information is extracted (S56). Then, the terminal program 65 calls the activation API by designating the program ID of the label program 66 and the support function list as arguments (S57, S59). The process of S56 is an example of an extraction process, and the processes of S57, S59 and S60 described later are an example of an activation process.

サポート機能リストは、S56で抽出した動作IDのリストである。一例として、MFP10Aが指定装置である場合、端末プログラム65は、一部の指定動作ID“レーベルプリント”のみを抽出し、抽出した動作ID“レーベルプリント”を示すサポート機能リストを、起動APIの引数として指定する(S56:No→S59)。他の例として、MFP10Bが指定装置である場合、端末プログラム65は、全ての指定動作ID“レーベルプリント”、“レーベルスキャン”を抽出し、全ての指定動作IDを示すサポート機能リストを、起動APIの引数として指定する(S56:Yes→S57)。 The support function list is a list of operation IDs extracted in S56. As an example, when the MFP10A is a designated device, the terminal program 65 extracts only a part of the designated operation ID "label print" and displays a support function list indicating the extracted operation ID "label print" as an argument of the activation API. (S56: No → S59). As another example, when the MFP 10B is a designated device, the terminal program 65 extracts all the designated operation IDs "label print" and "label scan", and activates a support function list showing all the designated operation IDs. It is specified as an argument of (S56: Yes → S57).

一方、端末プログラム65は、指定装置が指定動作を全くサポートしていないと判断したことに応じて(S52:No)、図11(B)に示される確認画面をディスプレイ53に表示させる(S53)。なお、「指定装置が指定動作を全くサポートしていない」とは、メモリ62に記憶されている指定装置情報が指定動作IDを1つも含まないこと、或いはメモリ62に指定装置情報が記憶されていないことを指す。 On the other hand, the terminal program 65 causes the display 53 to display the confirmation screen shown in FIG. 11B in response to the determination that the designated device does not support the designated operation at all (S52: No) (S53). .. In addition, "the designated device does not support the designated operation at all" means that the designated device information stored in the memory 62 does not include any designated operation ID, or the designated device information is stored in the memory 62. Refers to not.

確認画面は、「指定装置が指定動作をサポートしていません。指定装置を選択しますか?」とのメッセージと、[YES]アイコン141と、[NO]アイコン142とを含む。そして、端末プログラム65は、確認画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S54)。S54の処理は、第3受付処理の一例である。 The confirmation screen includes the message "The designated device does not support the designated operation. Do you want to select the designated device?", The [YES] icon 141, and the [NO] icon 142. Then, the terminal program 65 accepts the user operation for the confirmation screen through the input I / F 54 (S54). The process of S54 is an example of the third reception process.

次に、端末プログラム65は、[YES]アイコン141の指定を入力I/F54を通じて受け付けたことに応じて(S54:YES)、デバイス選択処理を実行する(S55)。そして、端末プログラム65は、デバイス選択処理で新たにメモリ62に記憶された指定装置情報を用いて、S56以降の処理を実行する。すなわち、端末プログラム65は、指定動作IDを含む指定装置情報がメモリ62に記憶されている状態で、S56以降の処理を実行する。[YES]アイコン141の指定は、第1指示操作の一例である。 Next, the terminal program 65 executes the device selection process in response to the reception of the designation of the [YES] icon 141 through the input I / F 54 (S54: YES) (S55). Then, the terminal program 65 executes the processing after S56 by using the designated device information newly stored in the memory 62 in the device selection processing. That is, the terminal program 65 executes the processing after S56 in a state where the designated device information including the designated operation ID is stored in the memory 62. The designation of the [YES] icon 141 is an example of the first instruction operation.

S55で実行するデバイス選択処理の検索条件は、「通信ネットワーク101を通じて通信可能なMFPのうち、指定動作の少なくとも1つを実行可能なMFP」である。以下、S17で説明したデバイス選択処理との共通点の詳しい説明は省略し、相違点を中心に説明する。 The search condition for the device selection process executed in S55 is "an MFP capable of executing at least one of the designated operations among the MFPs that can communicate through the communication network 101". Hereinafter, the detailed description of the common points with the device selection process described in S17 will be omitted, and the differences will be mainly described.

一例として、端末プログラム65は、S41において、MFP10A、10Bから装置情報を受信した場合に、MFP10A、10Bのうちから、装置情報が指定動作IDの少なくとも1つを含むMFPを抽出してもよい。他の例として、端末プログラム65は、S41において、指定装置IDを含む送信要求情報をブロードキャストしてもよい。そして、MFP10A、10Bは、メモリ32に記憶された装置情報が指定装置IDを含む場合にのみ、通信I/F25を通じて携帯端末50に送信してもよい。すなわち、端末プログラム65は、指定動作IDの少なくとも1つを含む装置情報のみを受信することになる。これらの処理は、第1検索処理の一例である。 As an example, when the terminal program 65 receives the device information from the MFPs 10A and 10B in S41, the terminal program 65 may extract the MFP whose device information includes at least one of the designated operation IDs from the MFPs 10A and 10B. As another example, the terminal program 65 may broadcast the transmission request information including the designated device ID in S41. Then, the MFPs 10A and 10B may transmit to the mobile terminal 50 through the communication I / F 25 only when the device information stored in the memory 32 includes the designated device ID. That is, the terminal program 65 receives only the device information including at least one of the designated operation IDs. These processes are an example of the first search process.

次に、端末プログラム65は、S43において、図11(A)に示されるように、全ての指定動作を実行可能なMFP10Bに対応するデバイスアイコン131を、一部の指定動作のみを実行可能なMFP10Aに対応するデバイスアイコン132より優先して表示する。また、端末プログラム65は、MFP10A、10Bが実行可能な指定動作を、対応するデバイスアイコン131、132を通じて報知する。 Next, in S43, the terminal program 65 uses the device icon 131 corresponding to the MFP 10B capable of executing all the designated operations as shown in FIG. 11A, and the MFP 10A capable of executing only a part of the designated operations. It is displayed with priority over the device icon 132 corresponding to. Further, the terminal program 65 notifies the designated operation that the MFPs 10A and 10B can execute through the corresponding device icons 131 and 132.

一例として、「優先して表示」とは、デバイスアイコン131をデバイスアイコン132より配列順(例えば、上下方向)の前方に配置することを指してもよい。他の例として、「優先して表示」とは、全ての指定動作を実行可能なMFP10Bを発見した場合にデバイスアイコン131のみを表示し、全ての指定動作を実行可能なMFP10Bを発見しなかった場合にデバイスアイコン132を表示することを指してもよい。また、「デバイスアイコン131、132を通じて指定動作を報知する」とは、例えば、対応するMFP10A、10Bが実行可能な指定動作を示す情報(例えば、動作名或いは動作IDのテキスト、動作を表す画像)を、デバイスアイコン131、132に記述することを指してもよい。 As an example, "priority display" may refer to arranging the device icon 131 in front of the device icon 132 in the arrangement order (for example, in the vertical direction). As another example, "priority display" means that only the device icon 131 is displayed when the MFP10B capable of executing all the specified operations is found, and the MFP10B capable of executing all the specified operations is not found. You may point to displaying the device icon 132 in some cases. Further, "notifying the designated operation through the device icons 131 and 132" means, for example, information indicating the designated operation that can be executed by the corresponding MFPs 10A and 10B (for example, the text of the operation name or the operation ID, the image representing the operation). May be described in the device icons 131 and 132.

一方、端末プログラム65は、[NO]アイコン142の指定を入力I/F54を通じて受け付けたことに応じて(S54:NO)、S51で取得したPI機能リストが出力動作の動作IDを含むか否かを判断する(S58)。すなわち、端末プログラム65は、指定プログラムであるレーベルプログラム66が出力動作を実行可能か否かを判断する。[NO]アイコン142の指定は、第2指示操作の一例である。S58の処理は、第2判断処理の一例である。 On the other hand, in response to the reception of the designation of the [NO] icon 142 through the input I / F 54 (S54: NO), the terminal program 65 determines whether or not the PI function list acquired in S51 includes the operation ID of the output operation. Is determined (S58). That is, the terminal program 65 determines whether or not the label program 66, which is a designated program, can execute the output operation. The designation of the [NO] icon 142 is an example of the second instruction operation. The process of S58 is an example of the second determination process.

次に、端末プログラム65は、レーベルプログラム66が出力動作“レーベルプリント動作”を実行可能と判断したことに応じて(S58:出力あり)、出力動作の動作ID“レーベルプリント”を示すサポート機能リストを起動APIの引数として指定して、レーベルプログラム66を起動する(S59)。一方、端末プログラム65は、指定プログラムが出力動作を実行不能と判断したことに応じて(S58:入力のみ)、サポート機能リストに代えてガイダンスフラグを起動APIの引数として指定して、指定プログラムを起動する(S60)。ガイダンスフラグは、指定動作を実行可能な指定装置が指定されていないことを示す情報である。 Next, the terminal program 65 is a support function list indicating the operation ID "label print" of the output operation according to the determination that the label program 66 can execute the output operation "label print operation" (S58: with output). Is specified as an argument of the start API, and the label program 66 is started (S59). On the other hand, the terminal program 65 specifies a guidance flag as an argument of the activation API instead of the support function list in response to the determination that the designated program cannot execute the output operation (S58: input only), and sets the designated program. Start (S60). The guidance flag is information indicating that a designated device capable of executing the designated operation has not been designated.

OS64は、起動APIが実行されたことに応じて(S57、S59、S60)、レーベルプログラム66を起動させ、且つレーベルプログラム66をフォアグラウンドで実行する。また、OS64は、フォアグランドで実行していた端末プログラム65をバックグラウンドに切り替える。起動APIによって起動されたレーベルプログラム66は、レーベルPI処理を実行する。図8を参照して、レーベルPI処理の詳細を説明する。 The OS 64 starts the label program 66 in response to the execution of the boot API (S57, S59, S60), and executes the label program 66 in the foreground. Further, the OS 64 switches the terminal program 65 executed in the foreground to the background. The label program 66 started by the start API executes the label PI process. The details of the label PI processing will be described with reference to FIG.

まず、レーベルプログラム66は、起動APIの引数としてガイダンスフラグを取得したことに応じて(S71:ガイダンスフラグ)、不図示のガイダンス画面をディスプレイ53に表示させ(S72)、レーベルPI処理を終了する。ガイダンス画面は、例えば、指定装置が指定動作を実行できないために、以降の処理を継続できないことを報知するための画面である。これにより、OS64は、バックグラウンドの端末プログラム65をフォアグラウンドで実行する。そして、フォアグラウンドに切り替えられた端末プログラム65は、例えば、S11以降の処理を実行する。 First, the label program 66 displays a guidance screen (not shown) on the display 53 in response to the acquisition of the guidance flag as an argument of the activation API (S71: guidance flag) (S72), and ends the label PI process. The guidance screen is, for example, a screen for notifying that the subsequent processing cannot be continued because the designated device cannot execute the designated operation. As a result, the OS 64 executes the background terminal program 65 in the foreground. Then, the terminal program 65 switched to the foreground executes, for example, the processing after S11.

また、レーベルプログラム66は、起動APIの引数としてサポート機能リストを取得したことに応じて(S71:サポート機能リスト)、S73~S74の処理をスキップして、指定装置が指定動作をサポートしているか否かを判断する(S75)。換言すれば、レーベルプログラム66は、S71で取得したサポート機能リストが指定装置ID“レーベルプリント”、“レーベルスキャン”を含むか否かを判断する(S75)。 Further, does the label program 66 skip the processes of S73 to S74 according to the acquisition of the support function list as an argument of the startup API (S71: support function list), and whether the designated device supports the designated operation? It is determined whether or not (S75). In other words, the label program 66 determines whether or not the support function list acquired in S71 includes the designated device IDs "label print" and "label scan" (S75).

次に、レーベルプログラム66は、図12(A)に示されるメニュー画面をディスプレイ53に表示させる(S77、S78)。メニュー画面は、動作アイコン151、152を含む。動作アイコン151、152は、レーベルプログラム66の指定動作である“レーベルプリント動作”、“レーベルスキャン動作”に対応する動作オブジェクトの一例である。そして、レーベルプログラム66は、メニュー画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S79)。 Next, the label program 66 causes the menu screen shown in FIG. 12A to be displayed on the display 53 (S77, S78). The menu screen includes operation icons 151 and 152. The operation icons 151 and 152 are examples of operation objects corresponding to the "label print operation" and "label scan operation" which are the designated operations of the label program 66. Then, the label program 66 accepts the user operation for the menu screen through the input I / F 54 (S79).

なお、サポート機能リストが全ての指定装置IDを含むと判断した場合(S75:ALL)、レーベルプログラム66は、全ての動作アイコン151、152を、指定可能な態様でメニュー画面に表示させる(S77)。一方、サポート機能リストが一部の指定動作ID“レーベルプリント”のみを含むと判断した場合(S75:一部)、レーベルプログラム66は、指定装置がサポートするレーベルプリント動作に対応する動作アイコン151を指定可能な態様で、指定装置がサポートしていないレーベルスキャン動作に対応する動作アイコン152を指定不能な態様で、メニュー画面に表示させる(S78)。 When it is determined that the support function list includes all the designated device IDs (S75: ALL), the label program 66 displays all the operation icons 151 and 152 on the menu screen in a specifiable manner (S77). .. On the other hand, when it is determined that the support function list includes only a part of the designated operation ID "label print" (S75: part), the label program 66 displays the operation icon 151 corresponding to the label print operation supported by the designated device. The operation icon 152 corresponding to the label scan operation not supported by the designated device is displayed on the menu screen in a non-designable manner (S78).

次に、レーベルプログラム66は、指定可能な態様の動作アイコン151の指定を入力I/F54を通じて受け付けたことに応じて(S79:プリント)、図12(B)に示されるレーベル編集画面をディスプレイ53に表示させる(S80)。レーベル編集画面は、レーベル画像161と、編集アイコン162、163、164と、[プリント]アイコン165とを含む。そして、レーベルプログラム66は、レーベル編集画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S81)。 Next, the label program 66 displays the label editing screen shown in FIG. 12B in response to the reception of the designation of the operation icon 151 in the specifiable mode through the input I / F 54 (S79: print) (S79: print). Is displayed in (S80). The label edit screen includes a label image 161, edit icons 162, 163, 164, and a [print] icon 165. Then, the label program 66 accepts a user operation for the label edit screen through the input I / F 54 (S81).

レーベル画像161は、編集アイコン162~164を用いて編集された画像である。編集アイコン162は、レーベル画像161に文字列を追加する指示に対応する。編集アイコン163は、レーベル画像161に色を付加する指示に対応する。編集アイコン164は、レーベル画像161に写真を追加する指示に対応する。[プリント]アイコン165は、レーベルプリント動作の実行指示に対応する。 The label image 161 is an image edited by using the edit icons 162 to 164. The edit icon 162 corresponds to an instruction to add a character string to the label image 161. The edit icon 163 corresponds to an instruction to add a color to the label image 161. The edit icon 164 corresponds to an instruction to add a photo to the label image 161. The [print] icon 165 corresponds to an execution instruction of the label print operation.

そして、レーベルプログラム66は、編集アイコン162~164対するユーザ操作に従ってレーベル画像161を編集し、編集後のレーベル画像161を示すレーベル画像データをメモリ62に記憶させる。レーベルプリント動作の実行条件とは、例えば、レーベルプリント動作の対象となる画像データ、レーベルプリント動作の画質(例えば、ファイン、ノーマル等)、レーベルに記録する画像の色(例えば、カラー、モノクロ等)等であってもよい。 Then, the label program 66 edits the label image 161 according to the user operation for the edit icons 162 to 164, and stores the label image data indicating the edited label image 161 in the memory 62. The execution conditions of the label print operation are, for example, the image data targeted for the label print operation, the image quality of the label print operation (for example, fine, normal, etc.), and the color of the image recorded on the label (for example, color, monochrome, etc.). And so on.

次に、レーベルプログラム66は、[プリント]アイコン165の指定を入力I/F54を通じて受け付けたことに応じて(S81:Yes)、レーベルプリント動作の実行を指定装置に指示する動作指示処理を、端末プログラム65に指示する(S82)。より詳細には、レーベルプログラム66は、動作ID“レーベルプリント”及びレーベル画像データのURIを引数として指定して、端末プログラム65が提供する動作指示関数を実行する。 Next, the label program 66 performs an operation instruction process for instructing the designated device to execute the label print operation in response to the reception of the designation of the [print] icon 165 through the input I / F 54 (S81: Yes). Instruct program 65 (S82). More specifically, the label program 66 executes the operation instruction function provided by the terminal program 65 by designating the operation ID "label print" and the URI of the label image data as arguments.

一方、レーベルプログラム66は、指定可能な態様の動作アイコン152の指定を入力I/F54を通じて受け付けたことに応じて(S79:スキャン)、動作ID“レーベルスキャン”を引数として指定して、動作指示関数を実行する(S83)。次に、レーベルプログラム66は、指定装置が生成したスキャンデータを端末プログラム65を通じて取得する(S84)。レーベルプログラム66は、例えば、動作指示関数の戻り値としてスキャンデータを取得すればよい。 On the other hand, the label program 66 specifies the operation ID "label scan" as an argument in response to the reception of the designation of the operation icon 152 in the specifiable mode through the input I / F 54 (S79: scan), and instructs the operation. Execute the function (S83). Next, the label program 66 acquires the scan data generated by the designated device through the terminal program 65 (S84). The label program 66 may acquire scan data as a return value of an operation instruction function, for example.

そして、レーベルプログラム66は、S84で取得したスキャンデータを出力する(S85)。一例として、レーベルプログラム66は、取得したスキャンデータで示されるスキャン画像を含むレーベル編集画面を、ディスプレイ53に表示させてもよい。他の例として、レーベルプログラム66は、取得したスキャンデータをメモリ62に記憶させてもよい。 Then, the label program 66 outputs the scan data acquired in S84 (S85). As an example, the label program 66 may display a label editing screen including a scanned image indicated by the acquired scan data on the display 53. As another example, the label program 66 may store the acquired scan data in the memory 62.

また、レーベルプログラム66は、図10(A)に示されるプログラムアイコン112が指定されたことに応じて起動された場合にも、レーベルPI処理を実行する。但し、この場合のレーベルプログラム66は、引数として情報を取得しない(S71:なし)。そして、レーベルプログラム66は、リスト通知フラグ及び指定動作ID“レーベルプリント”、“レーベルスキャン”を引数として指定して、動作指示関数を実行する(S73)。リスト通知フラグは、サポート機能リストの通知を端末プログラム65に指示するための情報である。 Further, the label program 66 also executes the label PI process when it is started in response to the designation of the program icon 112 shown in FIG. 10 (A). However, the label program 66 in this case does not acquire information as an argument (S71: None). Then, the label program 66 executes an operation instruction function by designating the list notification flag and the designated operation IDs "label print" and "label scan" as arguments (S73). The list notification flag is information for instructing the terminal program 65 to notify the support function list.

次に、レーベルプログラム66は、S73で実行した動作指示関数の戻り値として、サポート機能リストを端末プログラム65から取得する(S74:Yes)。次に、レーベルプログラム66は、S74で取得したサポート機能リストを用いて、S75以降の処理を実行する。 Next, the label program 66 acquires a support function list from the terminal program 65 as a return value of the operation instruction function executed in S73 (S74: Yes). Next, the label program 66 executes the processing after S75 by using the support function list acquired in S74.

なお、レーベルプログラム66は、指定装置が指定動作をサポートしていないと判断したことに応じて(S75:0)、デバイス選択フラグ及び指定動作ID“レーベルプリント”、“レーベルスキャン”を引数として指定して、動作指示関数を実行する(S76)。デバイス選択フラグは、デバイス選択処理の実行を端末プログラム65に指示するための情報である。 The label program 66 designates the device selection flag and the designated operation IDs "label print" and "label scan" as arguments in response to the determination that the designated device does not support the designated operation (S75: 0). Then, the operation instruction function is executed (S76). The device selection flag is information for instructing the terminal program 65 to execute the device selection process.

次に、レーベルプログラム66は、S76で実行した動作指示関数の戻り値として、新たなサポート機能リストを端末プログラム65から取得する(S74:Yes)。そして、レーベルプログラム66は、S74で取得したサポート機能リストを用いて、S75以降の処理を実行する。すなわち、レーベルプログラム66は、指定装置IDを含む指定装置情報がメモリ62に記憶されている状態で、S77以降の処理を実行する。S77以降の処理は既に説明したので、説明を省略する。 Next, the label program 66 acquires a new support function list from the terminal program 65 as the return value of the operation instruction function executed in S76 (S74: Yes). Then, the label program 66 executes the processing after S75 by using the support function list acquired in S74. That is, the label program 66 executes the processing after S77 in a state where the designated device information including the designated device ID is stored in the memory 62. Since the processing after S77 has already been described, the description thereof will be omitted.

OS64は、動作指示関数が実行されたことに応じて、端末プログラム65をフォアグラウンドで実行し、フォアグラウンドで実行していたレーベルプログラム66をバックグラウンドに切り替える。そして、端末プログラム65は、動作指示関数が実行されたことに応じて、指示受付処理を実行する。図9を参照して、指示受付処理の詳細を説明する。 The OS 64 executes the terminal program 65 in the foreground and switches the label program 66 executed in the foreground to the background in response to the execution of the operation instruction function. Then, the terminal program 65 executes the instruction acceptance process according to the execution of the operation instruction function. The details of the instruction receiving process will be described with reference to FIG.

まず、端末プログラム65は、動作指示関数の引数として指定された情報を取得する(S91、S95、S101)。S91、S95、S101の処理は、取得処理の一例である。端末プログラム65は、例えば、動作ID“レーベルスキャン”を動作指示関数の引数として取得したことに応じて(S91:Yes)、通信I/F55を通じて指定装置にレーベルスキャン指示情報を送信する(S92)。レーベルスキャン指示情報は、レーベルスキャン動作を実行させる第1指示情報の一例である。レーベルスキャン指示情報は、例えば、動作ID“レーベルスキャン”を含む。S92の処理は、第1指示処理の一例である。 First, the terminal program 65 acquires the information specified as an argument of the operation instruction function (S91, S95, S101). The processes of S91, S95, and S101 are examples of acquisition processes. The terminal program 65 transmits the label scan instruction information to the designated device through the communication I / F55 in response to the acquisition of the operation ID “label scan” as an argument of the operation instruction function (S91: Yes), for example (S92). .. The label scan instruction information is an example of the first instruction information for executing the label scan operation. The label scan instruction information includes, for example, the operation ID "label scan". The process of S92 is an example of the first instruction process.

一方図示は省略するが、MFP10の装置プログラム35は、通信I/F25を通じて携帯端末50からレーベルスキャン指示情報を受信する。そして、装置プログラム35は、受信したレーベルスキャン指示情報に従ったレーベルスキャン動作を、スキャナ12に実行させる。そして、装置プログラム35は、スキャナ12が生成したスキャンデータを、通信I/F25を通じて携帯端末50に送信する。 On the other hand, although not shown, the device program 35 of the MFP 10 receives the label scan instruction information from the mobile terminal 50 through the communication I / F 25. Then, the apparatus program 35 causes the scanner 12 to execute a label scan operation according to the received label scan instruction information. Then, the device program 35 transmits the scan data generated by the scanner 12 to the mobile terminal 50 through the communication I / F 25.

次に、端末プログラム65は、レーベルスキャン指示情報の応答として、通信I/F55を通じてMFP10からスキャンデータを受信する(S93:Yes)。そして、端末プログラム65は、S93で受信したスキャンデータを、動作指示関数の戻り値として指定して、レーベルプログラム66に引き渡す(S94)。これにより、OS64は、レーベルプログラム66をフォアグラウンドで実行し、フォアグラウンドで実行していた端末プログラム65をバックグラウンドに切り替える。 Next, the terminal program 65 receives scan data from the MFP 10 through the communication I / F 55 as a response to the label scan instruction information (S93: Yes). Then, the terminal program 65 designates the scan data received in S93 as a return value of the operation instruction function and delivers it to the label program 66 (S94). As a result, the OS 64 executes the label program 66 in the foreground and switches the terminal program 65 executed in the foreground to the background.

また、端末プログラム65は、動作ID“レーベルプリント”及びURIを動作指示関数の引数として取得したことに応じて(S95:Yes)、レーベルプリント動作を実行可能な指定装置が指定されているか否かを判断する(S96)。すなわち、端末プログラム65は、動作ID“レーベルプリント”を含む指定装置情報がメモリ62に記憶されているか否かを判断する。S96の処理は、第3判断処理の一例である。 Further, in the terminal program 65, whether or not a designated device capable of executing the label print operation is designated according to the acquisition of the operation ID "label print" and the URI as the argument of the operation instruction function (S95: Yes). Is determined (S96). That is, the terminal program 65 determines whether or not the designated device information including the operation ID “label print” is stored in the memory 62. The process of S96 is an example of the third determination process.

次に、端末プログラム65は、レーベルプリント動作を実行可能な指定装置が指定されていないと判断したことに応じて(S96:No)、デバイス選択処理を実行する(S97)。S97で実行するデバイス選択処理の検索条件は、「通信ネットワーク101を通じて通信可能なMFPのうち、レーベルプリント動作を実行可能なMFP」である。S97の処理は、検索条件が異なる点を除いてS55と同様なので、説明は省略する。S97で実行されるS41の処理は、第2検索処理の一例である。 Next, the terminal program 65 executes the device selection process (S97) in response to the determination that the designated device capable of executing the label print operation is not designated (S96: No). The search condition for the device selection process executed in S97 is "the MFP capable of executing the label print operation among the MFPs capable of communicating through the communication network 101". Since the processing of S97 is the same as that of S55 except that the search conditions are different, the description thereof will be omitted. The process of S41 executed in S97 is an example of the second search process.

次に、端末プログラム65は、レーベルプリント動作を実行可能な指定装置が指定されたか否かを、S97の処理後に再び判断する(S98)。そして、端末プログラム65は、S96、S98の一方でレーベルプリント動作を実行可能な指定装置が指定されていると判断したことに応じて(S96:Yes/S98:Yes)、通信I/F55を通じて指定装置にレーベルプリント指示情報を送信する(S100)。レーベルプリント指示情報は、レーベルプリント動作を実行させる第1指示情報の一例である。レーベルプリント指示情報は、例えば、動作ID“レーベルスキャン”と、レーベル画像データとを含む。S100の処理は、第1指示処理の一例である。 Next, the terminal program 65 again determines whether or not a designated device capable of executing the label print operation has been designated after the processing of S97 (S98). Then, the terminal program 65 is designated through the communication I / F55 in response to the determination that the designated device capable of executing the label print operation is designated on the other side of S96 and S98 (S96: Yes / S98: Yes). The label print instruction information is transmitted to the device (S100). The label print instruction information is an example of the first instruction information for executing the label print operation. The label print instruction information includes, for example, an operation ID "label scan" and label image data. The processing of S100 is an example of the first instruction processing.

一方図示は省略するが、MFP10の装置プログラム35は、通信I/F25を通じて携帯端末50からレーベルプリント指示情報を受信する。そして、装置プログラム35は、受信したレーベルプリント指示情報に従ったレーベルプリント動作を、プリンタ11に実行させる。 On the other hand, although not shown, the device program 35 of the MFP 10 receives the label print instruction information from the mobile terminal 50 through the communication I / F 25. Then, the device program 35 causes the printer 11 to execute a label print operation according to the received label print instruction information.

また、端末プログラム65は、レーベルプリント動作を実行可能な指定装置が指定されていないと判断したことに応じて(S98:No)、S95で取得した動作ID及びURIを、プログラムID“レーベル”のプログラムレコードに、コンテンツ情報として登録する(S99)。レーベルプリント動作を実行可能な指定装置が指定されていないとS98で判断される場合とは、例えば、レーベルプリント動作を実行可能なMFP10がS41で発見されなかった場合である。S99の処理は、S95で取得した動作ID及びデータIDを、取得元の外部プログラムに対応付けてメモリ62に記憶させる第2記憶処理の一例である。 Further, the terminal program 65 uses the operation ID and URI acquired in S95 as the program ID "label" in response to the determination that the designated device capable of executing the label print operation is not specified (S98: No). Register as content information in the program record (S99). The case where it is determined in S98 that the designated device capable of executing the label print operation is not specified is, for example, the case where the MFP 10 capable of executing the label print operation is not found in S41. The process of S99 is an example of a second storage process in which the operation ID and the data ID acquired in S95 are stored in the memory 62 in association with the external program of the acquisition source.

また、端末プログラム65は、デバイス選択フラグ及び指定動作IDを動作指示関数の引数として取得したことに応じて(S101:デバイス選択)、デバイス選択処理を実行する(S102)。S102で実行するデバイス選択処理の検索条件は、「通信ネットワーク101を通じて通信可能なMFPのうち、指定動作を実行可能なMFP」である。S102の処理はS55と同様なので、説明は省略する。 Further, the terminal program 65 executes the device selection process in response to the acquisition of the device selection flag and the designated operation ID as the arguments of the operation instruction function (S101: device selection) (S102). The search condition for the device selection process executed in S102 is "the MFP capable of executing the specified operation among the MFPs capable of communicating through the communication network 101". Since the processing of S102 is the same as that of S55, the description thereof will be omitted.

そして、端末プログラム65は、S101で取得した指定動作IDのうち、S102でメモリ62に記憶された指定装置情報に含まれる動作IDを示すサポート機能リストを、動作指示関数の戻り値として指定して、レーベルプログラム66に引き渡す(S103)。これにより、OS64は、レーベルプログラム66をフォアグラウンドで実行し、フォアグラウンドで実行していた端末プログラム65をバックグラウンドに切り替える。 Then, the terminal program 65 designates a support function list indicating the operation ID included in the designated device information stored in the memory 62 in S102 among the designated operation IDs acquired in S101 as the return value of the operation instruction function. , Handed over to the label program 66 (S103). As a result, the OS 64 executes the label program 66 in the foreground and switches the terminal program 65 executed in the foreground to the background.

さらに、端末プログラム65は、リスト通知フラグ及び指定動作IDを動作指示関数の引数として取得したことに応じて(S101:リスト通知)、S101で取得した指定動作IDのうち、メモリ62に記憶されている指定装置情報に含まれる動作IDを示すサポート機能リストを、動作指示関数の戻り値として指定して、レーベルプログラム66に引き渡す(S103)。これにより、OS64は、レーベルプログラム66をフォアグラウンドで実行し、フォアグラウンドで実行していた端末プログラム65をバックグラウンドに切り替える。 Further, the terminal program 65 is stored in the memory 62 among the designated operation IDs acquired in S101 in response to the acquisition of the list notification flag and the designated operation ID as the argument of the operation instruction function (S101: list notification). The support function list indicating the operation ID included in the designated device information is specified as the return value of the operation instruction function and passed to the label program 66 (S103). As a result, the OS 64 executes the label program 66 in the foreground and switches the terminal program 65 executed in the foreground to the background.

また図4に戻って、端末プログラム65は、指定可能な態様のコンテンツアイコン124の指定を入力I/F54を通じて受け付けたことに応じて(S15:Yes)、コンテンツアイコン124に対応するコンテンツ情報を、メモリ62から読み出す。そして、端末プログラム65は、通信I/F55を通じて指定装置にシートプリント指示情報を送信する(S19)。一方図示は省略するが、端末プログラム65は、指定不能な態様のコンテンツアイコンの指定を入力I/F54を通じて受け付けたとしても、S19の処理を実行しない。S19の処理は、第2指示処理の一例である。 Further, returning to FIG. 4, the terminal program 65 receives the designation of the content icon 124 in the specifiable mode through the input I / F 54 (S15: Yes), and receives the content information corresponding to the content icon 124. Read from memory 62. Then, the terminal program 65 transmits the sheet print instruction information to the designated device through the communication I / F 55 (S19). On the other hand, although not shown, the terminal program 65 does not execute the process of S19 even if the designation of the content icon in an unspecified mode is accepted through the input I / F 54. The process of S19 is an example of the second instruction process.

シートプリント指示情報は、読み出したコンテンツ情報のURIで示される画像データ“地図01.JPEG”を対象として、読み出したコンテンツ情報の動作ID“シートプリント”で識別されるシートプリント動作を実行させるための情報である。シートプリント指示情報は、例えば、読み出したURIで示される画像データ“地図01.JPEG”と、読み出した動作ID“シートプリント”とを含む。S19におけるシートプリント指示情報は、第2指示情報の一例である。一方図示は省略するが、MFP10の装置プログラム35は、通信I/F25を通じて携帯端末50からシートプリント指示情報を受信する。そして、装置プログラム35は、受信したシートプリント指示情報に従ったシートプリント動作を、プリンタ11に実行させる。 The sheet print instruction information is for executing the sheet print operation identified by the operation ID "sheet print" of the read content information for the image data "map 01.PEG" indicated by the URI of the read content information. Information. The sheet print instruction information includes, for example, the image data “map 01.JPEG” indicated by the read URI and the read operation ID “sheet print”. The sheet print instruction information in S19 is an example of the second instruction information. On the other hand, although not shown, the apparatus program 35 of the MFP 10 receives the sheet print instruction information from the mobile terminal 50 through the communication I / F 25. Then, the apparatus program 35 causes the printer 11 to execute a sheet printing operation according to the received sheet printing instruction information.

また、端末プログラム65は、動作アイコン121の指定を入力I/F54を通じて受け付けたことに応じて(S16:Yes)、通信I/F55を通じて指定装置にシートプリント指示情報を送信する(S20)。S20におけるシートプリント指示情報は、例えば、入力I/F54を通じてユーザが指定した画像データを含む。さらに、端末プログラム65は、動作アイコン122の指定を入力I/F54を通じて受け付けたことに応じて(S16:Yes)、通信I/F55を通じて指定装置にシートスキャン指示情報を送信する(S20)。シートスキャン指示情報は、シートスキャン動作を実行させるための情報である。シートスキャン指示情報は、例えば、動作ID“シートスキャン”を含む。 Further, the terminal program 65 transmits the sheet print instruction information to the designated device through the communication I / F 55 in response to the reception of the designation of the operation icon 121 through the input I / F 54 (S16: Yes) (S20). The sheet print instruction information in S20 includes, for example, image data designated by the user through the input I / F 54. Further, the terminal program 65 transmits the sheet scan instruction information to the designated device through the communication I / F 55 in response to the reception of the designation of the operation icon 122 through the input I / F 54 (S16: Yes) (S20). The sheet scan instruction information is information for executing the sheet scan operation. The sheet scan instruction information includes, for example, the operation ID "sheet scan".

一方図示は省略するが、MFP10の装置プログラム35は、通信I/F25を通じて携帯端末50からシートスキャン指示処理を受信する。そして、装置プログラム35は、受信したシートスキャン指示情報に従ったシートスキャン動作を、スキャナ12に実行させる。さらに、装置プログラム35は、シートスキャン動作でスキャナ12が生成したスキャンデータを、通信I/F25を通じて携帯端末50に送信する。そして、端末プログラム65は、例えば、通信I/F55を通じてMFP10から受信したスキャンデータを、メモリ62に記憶させる。 On the other hand, although not shown, the apparatus program 35 of the MFP 10 receives the sheet scan instruction process from the mobile terminal 50 through the communication I / F 25. Then, the apparatus program 35 causes the scanner 12 to execute a sheet scanning operation according to the received sheet scanning instruction information. Further, the device program 35 transmits the scan data generated by the scanner 12 in the sheet scanning operation to the mobile terminal 50 through the communication I / F 25. Then, the terminal program 65 stores, for example, the scan data received from the MFP 10 through the communication I / F 55 in the memory 62.

[本実施形態の作用効果]
上記の実施形態によれば、レーベルプログラム66が指示し得る指定動作を指定装置がサポートしていない場合に(S52:No)、レーベルプログラム66を起動させるのに先立って(S57/S59)、指定動作を実行可能なMFP10のうちから所望のMFP10をユーザに指定させることができる(S55)。これにより、起動しようとするレーベルプログラム66に適したMFP10を簡単に選択させることができる。なお、上記の実施形態では、レーベルプログラム66を指定プログラムとした例を説明したが、地図プログラム67或いは名刺プログラムが指定プログラムとなった場合も同様である。
[Action and effect of this embodiment]
According to the above embodiment, when the designated device does not support the designated operation that can be instructed by the label program 66 (S52: No), the designation is performed prior to starting the label program 66 (S57 / S59). It is possible to have the user specify a desired MFP 10 from among the MFPs 10 capable of executing the operation (S55). This makes it possible to easily select the MFP 10 suitable for the label program 66 to be started. In the above embodiment, an example in which the label program 66 is used as the designated program has been described, but the same applies when the map program 67 or the business card program is used as the designated program.

また、上記の実施形態によれば、S57、S59において、指定装置がサポートしている指定動作の動作IDが、起動APIの引数としてレーベルプログラム66に通知される。そして、レーベルプログラム66は、図12(A)に示されるメニュー画面において、指定装置がサポートしている指定動作に対応する動作アイコンを指定可能にし、指定装置がサポートしていない指定動作に対応する動作アイコンを指定不能にする。このように、レーベルプログラム66は、サポート機能リストを取得することによって、現在の指定装置を用いて利用可能な機能を、ユーザに報知すること等が可能となる。 Further, according to the above embodiment, in S57 and S59, the operation ID of the designated operation supported by the designated device is notified to the label program 66 as an argument of the activation API. Then, the label program 66 makes it possible to specify an operation icon corresponding to the designated operation supported by the designated device on the menu screen shown in FIG. 12A, and corresponds to the designated operation not supported by the designated device. Make the operation icon unspecified. In this way, the label program 66 can notify the user of the functions available using the current designated device by acquiring the support function list.

なお、レーベルプログラム66は、指定装置がサポートしている指定動作が複数の場合にのみ、S77~S79の処理を実行してもよい。一方、レーベルプログラム66は、指定装置がレーベルプリント動作のみをサポートしている場合、S77~S79の処理をスキップして、S80~S82の処理を実行してもよい。同様に、レーベルプログラム66は、指定装置がレーベルスキャン動作のみをサポートしている場合、S77~S79の処理をスキップして、S83~S85の処理を実行してもよい。 The label program 66 may execute the processes of S77 to S79 only when there are a plurality of designated operations supported by the designated device. On the other hand, when the designated device supports only the label print operation, the label program 66 may skip the processes of S77 to S79 and execute the processes of S80 to S82. Similarly, when the designated device supports only the label scan operation, the label program 66 may skip the processes of S77 to S79 and execute the processes of S83 to S85.

すなわち、レーベルプログラム66は、指定装置が指定動作を1つだけサポートしている場合に、S79で当該指定動作が指定されたものとして、S80以降の処理を実行すればよい。これにより、指定装置が1つの指定動作のみをサポートしている場合に、S77~S79の処理がスキップされるので、レーベルプログラム66に対するユーザ操作をさらに削減することができる。 That is, when the designated device supports only one designated operation, the label program 66 may execute the processing after S80 assuming that the designated operation is designated in S79. As a result, when the designated device supports only one designated operation, the processes of S77 to S79 are skipped, so that the user operation for the label program 66 can be further reduced.

また、レーベルプログラム66において、レーベルプリント動作の対象となるレーベル画像データをユーザに指定させる処理は、指定装置がレーベルプリント動作をサポートしていなくても実行することができる。すなわち、レーベルプログラム66を起動するタイミングで指定装置を指定する必要がない場合もあり得る。そこで上記の実施形態のように、レーベルプログラム66の起動前に指定装置を指定するか否かを、確認画面を通じてユーザに選択させることによって、指定装置を指定させる処理を適切なタイミングで実行することができる。 Further, in the label program 66, the process of causing the user to specify the label image data to be the target of the label print operation can be executed even if the designated device does not support the label print operation. That is, it may not be necessary to specify the designated device at the timing of starting the label program 66. Therefore, as in the above embodiment, the process of designating the designated device is executed at an appropriate timing by allowing the user to select whether or not to specify the designated device before starting the label program 66 through the confirmation screen. Can be done.

また、上記の実施形態によれば、指定装置を指定せずにレーベルプログラム66を起動し(S58:出力あり→S59)、且つ当該レーベルプログラム66からレーベルプリント動作が指示された場合に(S95:Yes&S96:No)、デバイス選択処理が実行される(S97)。これにより、レーベルプリント動作が指示されたタイミングで、レーベルプリント動作を実行可能なMFP10のうちから、所望のMFP10をユーザに指定させることができる。 Further, according to the above embodiment, when the label program 66 is started without designating the designated device (S58: with output → S59), and the label print operation is instructed by the label program 66 (S95 :). Yes & S96: No), the device selection process is executed (S97). Thereby, at the timing when the label print operation is instructed, the user can specify the desired MFP 10 from the MFP 10 capable of executing the label print operation.

さらに、上記の実施形態によれば、レーベルプログラム66が指示したレーベルプリント動作を実行可能なMFP10が存在しない場合に(S98:No)、レーベルプログラム66から取得した動作ID及びURIがメモリ62に保存される(S99)。そして、端末プログラム65は、メイン画面のコンテンツアイコンが指定されたことに応じて(S15:Yes)、メモリ62に記憶されたコンテンツ情報に従った出力動作を指定装置に実行させる(S19)。これにより、例えば、レーベル画像161を編集するためにレーベルプログラム66に対してユーザがした操作が無駄になることを抑制できる。 Further, according to the above embodiment, when the MFP 10 capable of executing the label print operation instructed by the label program 66 does not exist (S98: No), the operation ID and the URI acquired from the label program 66 are stored in the memory 62. Is done (S99). Then, the terminal program 65 causes the designated device to execute an output operation according to the content information stored in the memory 62 in response to the designation of the content icon on the main screen (S15: Yes) (S19). As a result, for example, it is possible to prevent the user's operation on the label program 66 from being wasted in order to edit the label image 161.

なお、コンテンツアイコン124は、指定装置情報がコンテンツ情報の動作IDを含む場合に指定可能な態様で表示され、指定装置情報がコンテンツ情報の動作IDを含まない場合に指定不能な態様で表示される。また、コンテンツアイコン124には、URIで示される画像データを加工したサムネイル画像等が用いられる。これにより、コンテンツ情報がメモリ62に記憶されていることをユーザに報知し、且つ当該コンテンツ情報に従った出力動作の実行をユーザに促すことができる。 The content icon 124 is displayed in a mode that can be specified when the designated device information includes the operation ID of the content information, and is displayed in a mode that cannot be specified when the designated device information does not include the operation ID of the content information. .. Further, as the content icon 124, a thumbnail image or the like processed from the image data indicated by the URI is used. As a result, it is possible to notify the user that the content information is stored in the memory 62 and urge the user to execute the output operation according to the content information.

また、上記の実施形態によれば、図11(A)に示されるデバイス選択画面において、全ての指定動作を実行可能なMFP10Bに対応するデバイスアイコン131が、一部の指定動作のみを実行可能なMFP10Aに対応するデバイスアイコン132より優先して表示される。さらに、S41で発見したMFP10A、10Bが実行可能な指定動作が、対応するデバイスアイコン131、132を通じて報知される。これにより、レーベルプログラム66に適したMFP10を、ユーザに簡単に指定させることができる。 Further, according to the above embodiment, on the device selection screen shown in FIG. 11A, the device icon 131 corresponding to the MFP 10B capable of executing all the designated operations can execute only a part of the designated operations. It is displayed with priority over the device icon 132 corresponding to the MFP 10A. Further, the designated operation that can be executed by the MFPs 10A and 10B found in S41 is notified through the corresponding device icons 131 and 132. As a result, the user can easily specify the MFP 10 suitable for the label program 66.

また、上記の実施形態に係るレーベルプログラム66は、起動されたタイミングで指定装置が指定動作をサポートしているか否かを判断する(S75)。そして、レーベルプログラム66は、指定装置が指定動作をサポートしていない場合に、指定動作を実行可能なMFP10のうちからユーザに指定装置を指定させる処理を、端末プログラム65に実行させる(S76→S102)。これにより、レーベルプログラム66がS82/S83を実行する前に、適切な指定装置を簡単に選択させることができる。 Further, the label program 66 according to the above embodiment determines whether or not the designated device supports the designated operation at the timing when it is started (S75). Then, the label program 66 causes the terminal program 65 to execute a process of causing the user to specify the designated device from among the MFPs 10 capable of executing the designated operation when the designated device does not support the designated operation (S76 → S102). ). This makes it possible to easily select an appropriate designated device before the label program 66 executes S82 / S83.

また、上記の実施形態のMFP10及び携帯端末50において、メモリ32、62に記憶された各種プログラムがCPU31、61によって実行されることによって、本発明のントローラが実行する各処理が実現される例を説明した。しかしながら、コントローラの構成はこれに限定されず、その一部又は全部を集積回路等のハードウェアで実現してもよい。 Further, in the MFP 10 and the mobile terminal 50 of the above embodiment, an example in which each process executed by the controller of the present invention is realized by executing various programs stored in the memories 32 and 62 by the CPUs 31 and 61. explained. However, the configuration of the controller is not limited to this, and a part or all of the controller may be realized by hardware such as an integrated circuit.

さらに、本発明は、MFP10及び携帯端末50として実現できるだけでなく、MFP10及び携帯端末50に処理を実行させるプログラムとして実現してもよい。そして、当該プログラムは、non-transitoryな記録媒体に記録されて提供されてもよい。non-transitoryな記録媒体は、CD-ROM、DVD-ROM等の他、通信ネットワーク101を通じてMFP10及び携帯端末50に接続可能なサーバに搭載された記憶部を含んでもよい。そして、サーバの記憶部に記憶されたプログラムは、当該プログラムを示す情報或いは信号として、インターネット等の通信ネットワーク101を通じて配信されてもよい。 Further, the present invention can be realized not only as the MFP 10 and the mobile terminal 50, but also as a program for causing the MFP 10 and the mobile terminal 50 to execute processing. Then, the program may be recorded and provided on a non-transitory recording medium. The non-transitory recording medium may include a storage unit mounted on a server that can be connected to the MFP 10 and the mobile terminal 50 through the communication network 101, in addition to a CD-ROM, a DVD-ROM, and the like. Then, the program stored in the storage unit of the server may be distributed through a communication network 101 such as the Internet as information or a signal indicating the program.

10・・・MFP
11・・・プリンタ
12・・・スキャナ
23,53・・・ディスプレイ
24,54・・・入力I/F
25,55・・・通信I/F
31,61・・・CPU
32,62・・・メモリ
35・・・装置プログラム
50・・・携帯端末
65・・・端末プログラム
66・・・レーベルプログラム
67・・・地図プログラム
10 ... MFP
11 ... Printer 12 ... Scanner 23, 53 ... Display 24, 54 ... Input I / F
25, 55 ... Communication I / F
31,61 ... CPU
32, 62 ... Memory 35 ... Device program 50 ... Mobile terminal 65 ... Terminal program 66 ... Label program 67 ... Map program

Claims (6)

メモリと、入力インタフェースと、通信インタフェースとを備える携帯端末によって読み取り可能なプログラムであって、
前記メモリは、該プログラムが起動可能な複数の外部プログラムを記憶しており、前記外部プログラムは、複数の画像処理動作のうちの少なくとも1つを実行可能な画像処理装置に前記画像処理動作を指示するプログラムであり、
該プログラムは、
複数の前記外部プログラムの1つである指定プログラムを指定するユーザ操作を、前記入力インタフェースを通じて受け付ける第1受付処理と、
指定動作の動作IDを含む指定装置情報が前記メモリに記憶されているか否かを判断する第1判断処理とを前記携帯端末に実行させ、前記指定動作は、前記指定プログラムが前記画像処理装置に指示し得る前記画像処理動作であり、前記指定装置情報は、ユーザが指定した前記画像処理装置である指定装置が実行可能な前記画像処理動作を識別する前記動作IDを含み、
該プログラムは、
前記第1判断処理で記憶されていないと判断したことに応じて、前記通信インタフェースを通じて通信可能な複数の前記画像処理装置のうち、前記指定動作を実行可能な前記画像処理装置を検索する第1検索処理と、
発見した前記画像処理装置の1つである前記指定装置を指定するユーザ操作を、前記入力インタフェースを通じて受け付ける第2受付処理と、
前記第2受付処理で指定された前記指定装置の前記指定装置情報を、前記メモリに記憶させる第1記憶処理と、
前記指定動作の前記動作IDを含む前記指定装置情報が前記メモリに記憶されている状態で、前記指定プログラムを起動する起動処理と、を前記携帯端末に実行させるプログラム。
A program that can be read by a mobile terminal having a memory, an input interface, and a communication interface.
The memory stores a plurality of external programs that can be started by the program, and the external program instructs an image processing apparatus capable of executing at least one of the plurality of image processing operations to perform the image processing operation. It is a program to do
The program
A first reception process for accepting a user operation for designating a designated program, which is one of the plurality of external programs, through the input interface.
The mobile terminal is made to execute a first determination process for determining whether or not the designated device information including the operation ID of the designated operation is stored in the memory, and the designated operation is performed by the image processing device by the designated program. The image processing operation that can be instructed, and the designated device information includes the operation ID that identifies the image processing operation that can be executed by the designated device that is the image processing device designated by the user.
The program
The first image processing device that can execute the designated operation is searched among the plurality of image processing devices that can communicate through the communication interface in response to the determination that the image processing device is not stored in the first determination process. Search processing and
A second reception process for accepting a user operation for designating the designated device, which is one of the discovered image processing devices, through the input interface, and
The first storage process for storing the designated device information of the designated device designated in the second reception process in the memory, and
A program for causing the mobile terminal to execute a start-up process for starting the designated program while the designated device information including the operation ID of the designated operation is stored in the memory.
前記指定プログラムは、複数の前記指定動作を前記画像処理装置に指示可能であり、
該プログラムは、
複数の前記指定動作それぞれの前記動作IDのうち、前記指定装置情報に含まれる前記動作IDを抽出する抽出処理を前記携帯端末に実行させ、
前記起動処理において、前記抽出処理で抽出した前記動作IDを引数として指定して、前記指定プログラムを起動する請求項1に記載のプログラム。
The designated program can instruct the image processing device of a plurality of the designated operations.
The program
The mobile terminal is made to execute an extraction process for extracting the operation ID included in the designated device information from the operation IDs of each of the plurality of designated operations.
The program according to claim 1, wherein in the activation process, the operation ID extracted in the extraction process is designated as an argument to activate the designated program.
該プログラムは、
前記第1判断処理で記憶されていないと判断したことに応じて、前記指定装置を指定する指示に対応する第1指示操作、或いは前記指定装置を指定しない指示に対応する第2指示操作を、前記入力インタフェースを通じて受け付ける第3受付処理を前記携帯端末に実行させ、
前記第3受付処理で前記第1指示操作を受け付けたことに応じて、前記第1検索処理を前記携帯端末に実行させる請求項1又は2に記載のプログラム。
The program
In response to the determination that it is not stored in the first determination process, the first instruction operation corresponding to the instruction to specify the designated device or the second instruction operation corresponding to the instruction not to specify the designated device is performed. The mobile terminal is made to execute the third reception process of receiving through the input interface.
The program according to claim 1 or 2, wherein the mobile terminal executes the first search process in response to the reception of the first instruction operation in the third reception process.
前記画像処理動作は、前記外部プログラムから取得した画像データを出力する出力動作、或いは前記外部プログラムに入力する画像データを生成する入力動作であり、
該プログラムは、
前記第3受付処理で前記第2指示操作を受け付けたことに応じて、前記指定動作が前記出力動作を含むか否かを判断する第2判断処理と、
前記第2判断処理で前記出力動作を含むと判断した場合の前記起動処理において、当該出力動作の前記動作IDを引数として指定して、前記指定プログラムを起動し、
前記第2判断処理で前記出力動作を含まないと判断した場合の前記起動処理において、前記指定装置が指定されていないことを示す情報を引数として指定して、前記指定プログラムを起動する請求項3に記載のプログラム。
The image processing operation is an output operation for outputting image data acquired from the external program, or an input operation for generating image data to be input to the external program.
The program
A second determination process for determining whether or not the designated operation includes the output operation in response to the acceptance of the second instruction operation in the third reception process.
In the start processing when it is determined in the second determination process that the output operation is included, the operation ID of the output operation is specified as an argument to start the designated program.
3. Claim 3 for starting the designated program by designating as an argument information indicating that the designated device is not specified in the startup process when it is determined in the second determination process that the output operation is not included. The program described in.
前記携帯端末は、ディスプレイを備えており、
前記指定プログラムは、複数の前記指定動作を前記画像処理装置に指示可能であり、
該プログラムは、
前記第1検索処理において、前記通信インタフェースを通じて通信可能な複数の前記画像処理装置のうち、複数の前記指定動作のうちの少なくとも1つを実行可能な前記画像処理装置を検索し、
発見した複数の前記画像処理装置それぞれに対応する複数の装置オブジェクトを含む第2画面を、前記ディスプレイに表示させる第2表示処理を、前記第2受付処理に先立って前記携帯端末に実行させ、全ての前記指定動作を実行可能な前記画像処理装置に対応する前記装置オブジェクトは、一部の前記指定動作のみを実行可能な前記画像処理装置に対応する前記装置オブジェクトより優先して表示され、
該プログラムは、前記第2受付処理において、複数の前記装置オブジェクトの1つを指定するユーザ操作を、前記入力インタフェースを通じて受け付ける請求項1から4のいずれかに記載のプログラム。
The mobile terminal is equipped with a display.
The designated program can instruct the image processing device of a plurality of the designated operations.
The program
In the first search process, among the plurality of image processing devices capable of communicating through the communication interface, the image processing device capable of executing at least one of the plurality of designated operations is searched for.
The mobile terminal is made to execute the second display process of displaying the second screen including the plurality of device objects corresponding to the plurality of discovered image processing devices on the display prior to the second reception process, and all of them are displayed. The device object corresponding to the image processing device capable of executing the designated operation is displayed in preference to the device object corresponding to the image processing device capable of executing only a part of the designated operations.
The program according to any one of claims 1 to 4 , wherein the program accepts a user operation for designating one of the plurality of device objects in the second reception process through the input interface.
該プログラムは、前記第2表示処理において、前記画像処理装置が実行可能な前記指定動作を、対応する前記装置オブジェクトを通じて報知する請求項に記載のプログラム。 The program according to claim 5 , wherein in the second display process, the designated operation that can be executed by the image processing device is notified through the corresponding device object.
JP2020150459A 2020-09-08 2020-09-08 program Active JP7017173B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020150459A JP7017173B2 (en) 2020-09-08 2020-09-08 program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020150459A JP7017173B2 (en) 2020-09-08 2020-09-08 program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016180404A Division JP6763249B2 (en) 2016-09-15 2016-09-15 program

Publications (2)

Publication Number Publication Date
JP2021009703A JP2021009703A (en) 2021-01-28
JP7017173B2 true JP7017173B2 (en) 2022-02-08

Family

ID=74200122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020150459A Active JP7017173B2 (en) 2020-09-08 2020-09-08 program

Country Status (1)

Country Link
JP (1) JP7017173B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014242A (en) 2010-06-29 2012-01-19 Brother Ind Ltd Device control program, and device control method
JP2012038291A (en) 2010-07-15 2012-02-23 Brother Ind Ltd Information processing program, information processing device, and information processing method
JP2012203740A (en) 2011-03-25 2012-10-22 Brother Ind Ltd Information processing program, information processor and information processing method
JP2016012893A (en) 2014-06-30 2016-01-21 ブラザー工業株式会社 Information processing unit, cooperation system and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6763249B2 (en) * 2016-09-15 2020-09-30 ブラザー工業株式会社 program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014242A (en) 2010-06-29 2012-01-19 Brother Ind Ltd Device control program, and device control method
JP2012038291A (en) 2010-07-15 2012-02-23 Brother Ind Ltd Information processing program, information processing device, and information processing method
JP2012203740A (en) 2011-03-25 2012-10-22 Brother Ind Ltd Information processing program, information processor and information processing method
JP2016012893A (en) 2014-06-30 2016-01-21 ブラザー工業株式会社 Information processing unit, cooperation system and program

Also Published As

Publication number Publication date
JP2021009703A (en) 2021-01-28

Similar Documents

Publication Publication Date Title
JP6524896B2 (en) program
US11489976B2 (en) Mobile terminal stores program to select appropriate image processing device to execute one of plurality of image processing operations by designating an operation ID identifying a designatable operation
US11102374B2 (en) Information processing terminal transmitting command instructing execution of image processing operation to specified apparatus and non-transitory computer-readable recording medium storing program for the information processing terminal
JP6471616B2 (en) Portable terminal and output program
JP7176592B2 (en) Program and mobile terminal
JP6926488B2 (en) program
JP6763209B2 (en) Programs and mobile terminals
JP6922436B2 (en) Programs and mobile terminals
JP6880803B2 (en) Programs and mobile terminals
JP6834441B2 (en) Programs and mobile terminals
JP6769136B2 (en) Programs and mobile terminals
JP6763249B2 (en) program
JP6763250B2 (en) program
JP7017173B2 (en) program
JP7024835B2 (en) program
JP6975414B2 (en) Programs and mobile terminals
JP6544163B2 (en) Mobile terminal and program
JP7120344B2 (en) Program and terminal equipment
JP7322930B2 (en) program
JP6835274B2 (en) Starter program and terminal device
JP6888711B2 (en) Mobile terminal and output program
JP6725036B2 (en) Program and terminal device
JP7070728B2 (en) Startup source program and terminal device
JP7107341B2 (en) Program and mobile terminal
JP6943321B2 (en) program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200924

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210810

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210906

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: 20211228

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220110

R150 Certificate of patent or registration of utility model

Ref document number: 7017173

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150