JP5445637B2 - Device control program and device control method - Google Patents

Device control program and device control method Download PDF

Info

Publication number
JP5445637B2
JP5445637B2 JP2012164441A JP2012164441A JP5445637B2 JP 5445637 B2 JP5445637 B2 JP 5445637B2 JP 2012164441 A JP2012164441 A JP 2012164441A JP 2012164441 A JP2012164441 A JP 2012164441A JP 5445637 B2 JP5445637 B2 JP 5445637B2
Authority
JP
Japan
Prior art keywords
function
executing
registered
control program
terminal device
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
JP2012164441A
Other languages
Japanese (ja)
Other versions
JP2012238323A (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 JP2012164441A priority Critical patent/JP5445637B2/en
Publication of JP2012238323A publication Critical patent/JP2012238323A/en
Application granted granted Critical
Publication of JP5445637B2 publication Critical patent/JP5445637B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、デバイス制御プログラム、及びデバイス制御方法に関する。   The present invention relates to a device control program and a device control method.

従来、プリンタ機能、スキャナ機能などを備える複合機(デバイス)が知られている。このような複合機をコンピュータから利用するためには、一般にその複合機専用のプリンタドライバやその複合機専用のスキャナドライバをそれぞれコンピュータで動作させる必要がある(例えば、特許文献1参照)。   Conventionally, multifunction devices (devices) having a printer function, a scanner function, and the like are known. In order to use such a multifunction peripheral from a computer, it is generally necessary to operate a printer driver dedicated to the multifunction peripheral and a scanner driver dedicated to the multifunction peripheral on the computer (see, for example, Patent Document 1).

特開2001−125773号公報JP 2001-125773 A

ところで、一般にデバイスドライバでは、ユーザはそのデバイスドライバの制御対象となるデバイスの選択等を要求される。これは、そのデバイスドライバの制御対象となるデバイスをコンピュータに登録するためである。
このため、従来は一つの複合機についてプリンタドライバとスキャナドライバとのそれぞれに対して、ユーザは同じ複合機の登録作業をしなければならず、ユーザにとって負担であった。
By the way, in general, in a device driver, a user is required to select a device to be controlled by the device driver. This is because a device to be controlled by the device driver is registered in the computer.
For this reason, conventionally, the user has to register the same multifunction device for each of the printer driver and the scanner driver for one multifunction device, which is a burden on the user.

本発明は上記のような事情に基づいて完成されたものであって、機能毎にデバイスを登録する際のユーザの負担を軽減するデバイス制御プログラム、及びデバイス制御方法を提供することを目的とする。   The present invention has been completed based on the above circumstances, and an object of the present invention is to provide a device control program and a device control method for reducing the burden on the user when registering a device for each function. .

第1の発明は、デバイスが備える複数の機能を制御可能なデバイス制御プログラムであって、当該デバイス制御プログラムを実行する端末装置と通信可能に接続されているデバイスの中からいずれかのデバイスをユーザに選択させる第1の選択処理と、前記第1の選択処理によって選択されたデバイスを、前記複数の機能毎に当該機能を実行するためのデバイスとして個別に前記端末装置に登録する登録処理と、前記複数の機能のうちいずれかの機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、を前記端末装置に実行させる。   1st invention is a device control program which can control a plurality of functions with which a device is provided, and any one of the devices connected so as to be communicable with a terminal device which executes the device control program is used as a user. A first selection process to be selected, a registration process for individually registering the device selected by the first selection process in the terminal device as a device for executing the function for each of the plurality of functions; A control process for controlling a device registered in the terminal device as a device for executing the function and executing the function when executing any one of the plurality of functions; Let the device run.

この発明によると、複数の機能を備えるデバイスを機能毎に個別に端末装置に登録する場合に、ユーザはデバイスの選択を一度だけ行えばよいので、機能毎にデバイスを選択する場合に比べてユーザの負担を軽減できる。
よってこの発明によると、機能毎にデバイスを登録する際のユーザの負担を軽減できる。
According to the present invention, when a device having a plurality of functions is individually registered in the terminal device for each function, the user only needs to select the device once. Therefore, the user can select the device for each function. Can be reduced.
Therefore, according to this invention, the burden on the user when registering a device for each function can be reduced.

なお、第1の発明は、次のように言い換えることもできる。
デバイスが備える複数の機能を制御可能なデバイス制御プログラムであって、
当該デバイス制御プログラムを実行する端末装置と通信可能に接続されている前記デバイスの中からいずれかのデバイスをユーザに選択させる第1の選択処理と、
前記第1の選択処理によって選択されたデバイスを、前記複数の機能について、機能毎
に当該機能を実行するためのデバイスとして個別に前記端末装置に登録する登録処理と、
前記複数の機能のうちいずれかの機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、
を前記端末装置に実行させるデバイス制御プログラム。
In addition, the 1st invention can also be paraphrased as follows.
A device control program capable of controlling a plurality of functions of a device,
A first selection process for allowing a user to select one of the devices that are communicably connected to a terminal device that executes the device control program;
A registration process for individually registering the device selected by the first selection process in the terminal device as a device for executing the function for each of the functions.
When executing any one of the plurality of functions, a control process for executing the function by controlling a device registered in the terminal device as a device for executing the function;
A device control program for causing the terminal device to execute

また、いずれかのデバイスをユーザに選択させる第1の選択処理は、いずれかのデバイスをユーザに指定させる指定処理と言い換えることもできる。つまり、複数のデバイスを選択肢として表示してその中からユーザに選択させるのではなく、例えば目的のデバイスのデバイス名やIPアドレスなどの当該デバイスを一意に特定可能な情報をユーザに直接入力させるなどのように、選択肢を表示することなく特定のデバイスを直接指定させてもよい。   In addition, the first selection process for causing the user to select one of the devices can be paraphrased as a designation process for causing the user to designate one of the devices. In other words, instead of displaying a plurality of devices as options and allowing the user to select among them, for example, the user can directly input information that can uniquely identify the device such as the device name and IP address of the target device. As described above, a specific device may be directly designated without displaying options.

第2の発明は、第1の発明のデバイス制御プログラムであって、当該デバイス制御プログラムは複数機種のデバイスを制御可能であり、前記登録処理において、前記複数の機能について、機能毎に、前記第1の選択処理によって選択されたデバイスが当該機能を備えていることを必要条件として、当該機能を実行するためのデバイスとして前記端末装置に登録する。   A second invention is a device control program according to the first invention, wherein the device control program can control a plurality of types of devices, and the registration process includes a plurality of functions for each function. On the condition that the device selected by one selection process has the function, it is registered in the terminal device as a device for executing the function.

デバイス制御プログラムが複数機種のデバイスを制御可能である場合、それら複数機種のデバイスが全て前記複数の機能を備えているとは限らず、デバイスによっては一部の機能を備えていない場合もある。
この発明によると、複数の機能について、機能毎にデバイスが当該機能を備えていることを条件として端末装置に登録するので、選択されたデバイスが一部の機能を備えていないにもかかわらずそのデバイスが当該一部の機能を実行するためのデバイスとして登録されてしまうことを低減できる。
When the device control program can control a plurality of types of devices, not all of the plurality of types of devices have the plurality of functions, and some devices may not have some functions.
According to the present invention, since a plurality of functions are registered in the terminal device on the condition that the device has the function for each function, the selected device does not have some functions. It can be reduced that the device is registered as a device for executing the part of the function.

第3の発明は、第2の発明のデバイス制御プログラムであって、前記登録処理は、前記複数の機能毎に、前記選択されたデバイスが当該機能を備えているか否かを判定する第1の判定処理と、前記第1の判定処理によって当該選択されたデバイスが当該機能を備えていると判定された場合に、当該選択されたデバイスが備える当該機能を当該デバイス制御プログラムから制御可能であるか否かを判定する第2の判定処理と、を含み、前記第2の判定処理によって制御可能であると判定された場合に、当該機能を実行するためのデバイスとして前記端末装置に登録する。   A third invention is a device control program according to the second invention, wherein the registration process determines, for each of the plurality of functions, whether or not the selected device has the function. Whether it is possible to control the function included in the selected device from the device control program when it is determined by the determination process and the first determination process that the selected device includes the function. And a second determination process for determining whether or not, and if it is determined that control is possible by the second determination process, it is registered in the terminal device as a device for executing the function.

デバイス制御プログラムが複数機種のデバイスを制御可能である場合、デバイスが当該複数の機能を備えている場合であっても、機種によっては制御コマンドが異なるなどの理由によって当該デバイス制御プログラムから当該機能を制御不能な場合もある。
この発明によると、デバイス制御プログラムから当該機能を制御不能な場合は、当該機能を実行するためのデバイスとして登録しないので、制御処理において、登録されたデバイスが制御できないことを低減できる。
If the device control program can control multiple types of devices, even if the device has the multiple functions, the functions can be controlled from the device control program due to reasons such as different control commands depending on the model. It may be out of control.
According to the present invention, when the function cannot be controlled from the device control program, it is not registered as a device for executing the function, so that it is possible to reduce the fact that the registered device cannot be controlled in the control process.

第4の発明は、第1〜第3のいずれかの発明のデバイス制御プログラムであって、前記第1の選択処理において、前記端末装置と通信可能に接続されているデバイスのうち第1の機能を備えるデバイスの中からいずれかのデバイスをユーザに選択させ、前記登録処理において、前記第1の選択処理によって選択されたデバイスを、前記第1の機能を実行するためのデバイスとして前記端末装置に登録するとともに、当該デバイスが備える前記第1の機能以外の機能について、当該機能を実行するためのデバイスとして登録する。   A fourth invention is a device control program according to any one of the first to third inventions, wherein in the first selection process, a first function among devices connected to be communicable with the terminal device To the terminal device as a device for executing the first function, in the registration process, the device selected by the first selection process in the registration process. In addition to registration, functions other than the first function included in the device are registered as devices for executing the function.

この発明によると、ユーザは第1の機能を備えるデバイスを登録するためにデバイスを
選択した場合に、そのデバイスを、第1の機能を実行するためのデバイスとしてだけではなく、他の機能を実行するためのデバイスとしても登録できる。
According to the present invention, when a user selects a device to register a device having the first function, the device performs not only as a device for executing the first function but also other functions. Can also be registered as a device to do this.

第5の発明は、第1〜第4のいずれかの発明のデバイス制御プログラムであって、前記端末装置には一つの機能について複数のデバイスを登録可能であり、前記複数の機能のうちいずれかの機能について前記登録処理において新たにデバイスを登録する場合に、当該新たに登録するデバイスを、当該機能の実行に使用するデバイスとして排他的に設定する第1の設定処理を前記端末装置に実行させ、前記制御処理は、前記複数の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる。   A fifth invention is a device control program according to any one of the first to fourth inventions, wherein a plurality of devices can be registered for one function in the terminal device, and any one of the plurality of functions When a new device is registered in the registration process for the function, the terminal device is caused to execute a first setting process for exclusively setting the newly registered device as a device used for executing the function. The control process controls, for each function, a device set as a device to be used for executing the function among devices registered as the device for executing the function for each function. Execute the function.

一つの機能について複数のデバイスを登録可能な場合、新たに登録されたデバイスは、ユーザが使用しようとしているデバイスである可能性が高いといえる。
この発明によると、新たに登録されたデバイスを「当該機能の実行に使用するデバイス」として設定するので、一つの機能について複数のデバイスを登録可能な場合に、「当該機能の実行に使用するデバイス」をユーザに設定させる負担を低減しつつ、ユーザが使用しようとしている可能性が高いデバイスを「当該機能の実行に使用するデバイス」として設定できる。
When a plurality of devices can be registered for one function, it can be said that the newly registered device is likely to be a device that the user intends to use.
According to the present invention, since a newly registered device is set as a “device used for executing the function”, when a plurality of devices can be registered for one function, the “device used for executing the function” Can be set as a “device to be used for executing the function”, while reducing the burden of setting the user to “”.

第6の発明は、第1〜第4のいずれかの発明のデバイス制御プログラムであって、前記端末装置には一つの機能について複数のデバイスを登録可能であり、前記複数の機能のうちいずれかの機能について前記登録処理において新たにデバイスを登録する場合に、既に他のデバイスが当該機能とは異なる機能の実行に使用するデバイスとして設定されているか否かを判定する第3の判定処理と、前記第3の判定処理によって他のデバイスが当該機能とは異なる機能の実行に使用するデバイスとして設定されていないと判定された場合に、当該新たに登録されたデバイスを、当該異なる機能の実行に使用するデバイスとして排他的に設定する第2の設定処理と、を前記端末装置に実行させ、前記制御処理は、前記複数の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる。   A sixth invention is a device control program according to any one of the first to fourth inventions, wherein a plurality of devices can be registered for one function in the terminal device, and any one of the plurality of functions A third determination process for determining whether or not another device is already set as a device to be used for executing a function different from the function when a new device is registered in the registration process for the function; When it is determined by the third determination process that no other device is set as a device used for executing a function different from the function, the newly registered device is set to execute the different function. A second setting process that is exclusively set as a device to be used, and causing the terminal device to execute the control process for each of the plurality of functions. And it controls the device that is set as the device to be used to execute the functions of the devices registered as a device for executing the function to execute the function.

この発明によると、ある機能について既にその機能の実行に使用するデバイスが設定されている場合は、新たに登録されたデバイスをその機能の実行に使用するデバイスとして設定しないので、新たなデバイスが登録されてもユーザは既にその機能の実行に使用するデバイスとして設定されているデバイスを継続して使用できる。   According to the present invention, when a device used for executing a function is already set for a function, the newly registered device is not set as a device used for executing the function, so that a new device is registered. In this case, the user can continue to use a device that is already set as a device that is used to execute the function.

第7の発明は、第1〜第6のいずれかの発明のデバイス制御プログラムであって、前記端末装置には一つの機能について複数のデバイスを登録可能であり、一つの機能について前記端末装置に登録されている1以上のデバイスの中からいずれかのデバイスをユーザに選択させる第2の選択処理と、前記第2の選択処理によって選択されたデバイスを、当該一つの機能の実行に使用するデバイスとして排他的に設定する第3の設定処理と、当該選択されたデバイスが他の機能を実行するためのデバイスとして登録されているか否かを判定する第4の判定処理と、前記第4の判定処理によって当該選択されたデバイスが他の機能を実行するためのデバイスとして登録されていると判定された場合に、当該選択されたデバイスを、前記他の機能の実行に使用するデバイスとして排他的に設定する第4の設定処理と、を前記端末装置に実行させ、前記制御処理は、前記複数の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる。   A seventh invention is the device control program according to any one of the first to sixth inventions, wherein a plurality of devices can be registered for one function in the terminal device, and one function can be registered in the terminal device. A second selection process that allows the user to select one of the one or more registered devices, and a device that uses the device selected by the second selection process to execute the one function A fourth setting process for determining whether or not the selected device is registered as a device for executing another function, and the fourth determination. When it is determined by the processing that the selected device is registered as a device for executing another function, the selected device is executed as the other function. A fourth setting process that is exclusively set as a device to be used for the terminal device, and the control process registers the plurality of functions as a device for executing the function for each function. The device set as a device to be used for executing the function is controlled to execute the function.

一つの機能について登録されているデバイスのうちユーザが選択したデバイスを当該一つの機能の実行に使用するデバイスとして設定した場合、ユーザはそのデバイスを他の機能の実行にも使用する可能性が高いといえる。なぜなら、例えば最新のデバイスを新たに設置し、前記一つの機能について当該最新のデバイスを当該一つの機能の実行に使用するデバイスとして設定した場合、他の機能についてもユーザはその最新のデバイスを使用したいと考えることが想定されるからである。
この発明によると、一つの機能の実行に使用するデバイスとして設定したデバイスを他の機能の実行に使用するデバイスとしても設定するので、そのデバイスを他の機能の実行に使用するデバイスとして設定する手間を低減できる。
When a device selected by a user among devices registered for one function is set as a device used for executing the one function, the user is likely to use the device for executing another function. It can be said. This is because, for example, when a newest device is newly installed and the latest device is set as a device used to execute the one function for the one function, the user uses the latest device for other functions. Because it is assumed that you want to do.
According to the present invention, since a device set as a device used to execute one function is also set as a device used to execute another function, it is troublesome to set the device as a device used to execute another function. Can be reduced.

第8の発明は、デバイスが備える複数の機能を制御するデバイス制御方法であって、端末装置と通信可能に接続されているデバイスの中からいずれかのデバイスをユーザに選択させる第1の選択段階と、前記第1の選択段階において選択されたデバイスを、前記複数の機能毎に当該機能を実行するためのデバイスとして個別に前記端末装置に登録する登録段階と、前記複数の機能のうちいずれかの機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御段階と、を含む。
この発明によると、機能毎にデバイスを登録する際のユーザの負担を軽減できる。
An eighth invention is a device control method for controlling a plurality of functions included in a device, and a first selection step that allows a user to select one of the devices that are communicably connected to the terminal device. A registration step of individually registering the device selected in the first selection step in the terminal device as a device for executing the function for each of the plurality of functions, and any of the plurality of functions A control step of controlling a device registered in the terminal device as a device for executing the function and executing the function when the function is executed.
According to this invention, the burden on the user when registering a device for each function can be reduced.

第9の発明は、デバイスが備えるプリンタ機能及びスキャナ機能を制御可能なデバイス制御プログラムであって、当該デバイス制御プログラムを実行する端末装置と通信可能に接続されているデバイスの中から、プリンタ機能を備えるデバイスを検索する検索処理と、前記検索処理によって検索されたデバイスの中からいずれかのデバイスをユーザに選択させる第1の選択処理と、前記第1の選択処理によって選択されたデバイスが、スキャナ機能を備えているか否か判定する判定処理と、前記判定処理によってスキャナ機能を備えていると判定された場合に、そのデバイスを、プリンタ機能を実行するためのデバイスとして登録するとともに、スキャナ機能を実行するためのデバイスとしても登録する登録処理と、前記プリンタ機能及びスキャナ機能のうちいずれかの機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、を前記端末装置に実行させる。
この発明によると、選択したデバイスがプリント機能に加えてスキャナ機能を備えると判定した場合に、そのデバイスを、プリンタ機能を実行するためのデバイスとして登録するとともに、スキャナ機能を実行するためのデバイスとしても登録するので、デバイス制御プログラムにデバイスを登録する際のユーザの負担を軽減できる。
A ninth invention is a device control program capable of controlling a printer function and a scanner function included in a device, and has a printer function out of devices connected to be communicable with a terminal device that executes the device control program. A search process for searching for a device, a first selection process for allowing a user to select one of the devices searched for by the search process, and a device selected by the first selection process are a scanner A determination process for determining whether or not a scanner function is provided, and when the determination process determines that the scanner function is provided, the device is registered as a device for executing the printer function, and the scanner function is A registration process for registration as a device for execution, the printer function and A control process for controlling a device registered in the terminal device as a device for executing the function and executing the function when any one of the functions is executed. To run.
According to the present invention, when it is determined that the selected device has the scanner function in addition to the print function, the device is registered as a device for executing the printer function and as a device for executing the scanner function. Is also registered, so that the burden on the user when registering the device in the device control program can be reduced.

実施形態1に係る携帯電話、及びデバイスを示す模式図。1 is a schematic diagram illustrating a mobile phone and a device according to Embodiment 1. FIG. 携帯電話の電気的構成を概略的に示すブロック。A block schematically showing an electrical configuration of a mobile phone. デバイス制御プログラムによって表示される画面の画面遷移図。The screen transition diagram of the screen displayed by a device control program. デバイス制御プログラムによって表示される画面の画面遷移図。The screen transition diagram of the screen displayed by a device control program. 実施形態1に係るプリンタの登録処理を示すフローチャート。5 is a flowchart illustrating printer registration processing according to the first embodiment. 実施形態2に係る画面遷移図。FIG. 9 is a screen transition diagram according to the second embodiment. 実施形態2に係る画面遷移図。FIG. 9 is a screen transition diagram according to the second embodiment. 実施形態2に係るプリンタの登録処理を示すフローチャート。9 is a flowchart illustrating printer registration processing according to the second embodiment. 実施形態3に係るプリンタの登録処理を示すフローチャート。10 is a flowchart illustrating printer registration processing according to the third embodiment. 通常使用するプリンタの変更処理を示すフローチャート。6 is a flowchart showing change processing for a printer that is normally used.

<実施形態1>
本発明の実施形態1を図1ないし図5によって説明する。
(1)全体構成
図1は、本発明の実施形態1に係るデバイス制御プログラムを実行する携帯電話1(端末装置の一例)、及び携帯電話1と通信可能に接続されている各種のデバイス2を示す模式図である。携帯電話1は通話機能に加えて無線通信機能を有しており、無線LANルータ4などを介して通信ネットワーク5に無線接続される。
<Embodiment 1>
A first embodiment of the present invention will be described with reference to FIGS.
(1) Overall Configuration FIG. 1 shows a mobile phone 1 (an example of a terminal device) that executes a device control program according to Embodiment 1 of the present invention, and various devices 2 that are communicably connected to the mobile phone 1. It is a schematic diagram shown. The mobile phone 1 has a wireless communication function in addition to a call function, and is wirelessly connected to the communication network 5 via the wireless LAN router 4 or the like.

複合機2a、2bは、複数の機能(具体的にはプリンタ機能、及びスキャナ機能)を備えるデバイスである。複数の複合機2a、2bは互いに異なるメーカーのものであってもよいし、同一メーカーの互いに異なる機種であってもよい。
プリンタ2c、2d、スキャナ2e、2fはそれぞれプリンタ機能、スキャナ機能のみを備える単機能のデバイスである。これらのデバイスも互いに異なるメーカーのものであってもよいし、同一メーカーの互いに異なる機種であってもよい。
以降の説明において単にデバイス2というときは、複数のデバイスのうちいずれか一つのデバイスのことをいうものとする。
The multifunction peripherals 2a and 2b are devices having a plurality of functions (specifically, a printer function and a scanner function). The plurality of multifunction peripherals 2a and 2b may be from different manufacturers, or may be different models from the same manufacturer.
The printers 2c and 2d and the scanners 2e and 2f are single-function devices each having only a printer function and a scanner function, respectively. These devices may be from different manufacturers or different models from the same manufacturer.
In the following description, the term “device 2” refers to any one of a plurality of devices.

(2)携帯電話の電気的構成
図2は、携帯電話1の電気的構成を概略的に示すブロックである。携帯電話1は、制御部11、送受信部12、音声入出力部13、無線通信部14、表示部15、操作部16、撮像部17、記憶部18を備えて構成されている。
(2) Electrical configuration of mobile phone FIG. 2 is a block diagram schematically showing the electrical configuration of the mobile phone 1. The cellular phone 1 includes a control unit 11, a transmission / reception unit 12, a voice input / output unit 13, a wireless communication unit 14, a display unit 15, an operation unit 16, an imaging unit 17, and a storage unit 18.

制御部11は、アプリケーションプロセッサ、ROM、RAMなどを備えて構成されている。アプリケーションプロセッサは、ROMや記憶部18に記憶されている各種のプログラムを実行することにより携帯電話1の各部を制御する。ROMはアプリケーションプロセッサが実行するための各種のプログラムやデータなどを記憶している。RAMはアプリケーションプロセッサが各種の処理を実行するための主記憶装置として用いられる。   The control unit 11 includes an application processor, a ROM, a RAM, and the like. The application processor controls each unit of the mobile phone 1 by executing various programs stored in the ROM and the storage unit 18. The ROM stores various programs and data to be executed by the application processor. The RAM is used as a main storage device for the application processor to execute various processes.

送受信部12は、アンテナ、RF(Radio Frequency)回路、ベースバンドプロセッサ
などを備えて構成されており、アンテナを介して基地局3との間で音声信号の送受信を行う。また、送受信部12は基地局3との間でパケット通信を行うことも可能に構成されている。
音声入出力部13は、マイク、スピーカ、音声処理回路などを備えて構成されている。マイクによって入力された音声信号は送受信部12によって基地局3に送信され、送受信部12によって基地局3から受信した音声信号はスピーカによって発音される。
The transmission / reception unit 12 includes an antenna, an RF (Radio Frequency) circuit, a baseband processor, and the like, and transmits and receives audio signals to and from the base station 3 via the antenna. Further, the transmission / reception unit 12 is configured to be able to perform packet communication with the base station 3.
The voice input / output unit 13 includes a microphone, a speaker, a voice processing circuit, and the like. The audio signal input from the microphone is transmitted to the base station 3 by the transmission / reception unit 12, and the audio signal received from the base station 3 by the transmission / reception unit 12 is sounded by the speaker.

無線通信部14は、Wi−Fi(IEEE 802.11a/IEEE 802.11b)(登録商標)に準拠し
て構成されており、無線LANルータ4などを介してLAN(Local Aria Network)やインターネットなどの通信ネットワーク5に無線接続される。
なお、携帯電話1を通信ネットワーク5に無線接続できる規格であれば無線通信の規格はWi−Fiに限られない。例えば、携帯電話1はBluetooth(IEEE 802.15.1
)(登録商標)によって無線接続される構成であってもよいし、赤外線による光無線データ通信(IrDA)によって無線接続される構成であってもよい。
また、本実施形態では携帯電話1を通信ネットワーク5に無線接続する場合を例に説明するが、携帯電話1は通信ネットワーク5に有線接続されてもよい。
The wireless communication unit 14 is configured based on Wi-Fi (IEEE 802.11a / IEEE 802.11b) (registered trademark), and communicates via a wireless LAN router 4 or the like via a LAN (Local Aria Network) or the Internet. Wirelessly connected to the network 5.
Note that the wireless communication standard is not limited to Wi-Fi as long as the mobile phone 1 can be wirelessly connected to the communication network 5. For example, the mobile phone 1 is Bluetooth (IEEE 802.15.1
) (Registered trademark) may be wirelessly connected, or may be wirelessly connected by optical wireless data communication (IrDA) using infrared rays.
In this embodiment, the case where the mobile phone 1 is wirelessly connected to the communication network 5 will be described as an example. However, the mobile phone 1 may be connected to the communication network 5 by wire.

表示部15は、液晶ディスプレイや有機ELディスプレイなどの表示装置、表示装置を駆動する駆動回路などを備えて構成されている。
操作部16は、表示装置の表示面を覆う略透明なタッチパネル、タッチパネルを制御する制御回路、各種の操作ボタンなどを備えて構成されている。ユーザは操作部16を操作することによって電話番号の入力やアプリケーションプログラムの操作などを行うことが
できる。
The display unit 15 includes a display device such as a liquid crystal display or an organic EL display, a drive circuit that drives the display device, and the like.
The operation unit 16 includes a substantially transparent touch panel that covers the display surface of the display device, a control circuit that controls the touch panel, various operation buttons, and the like. The user can input a telephone number or operate an application program by operating the operation unit 16.

撮像部17は、エリアイメージセンサ、光学系、アナログフロントエンド部、画像処理部などを有しており、被写体を撮像してデジタル画像を生成する。
記憶部18は、フラッシュメモリなどの不揮発性メモリを用いて各種のプログラムやデータを記憶する。記憶部18には、オペレーティングシステム(OS)、後述するデバイス制御プログラム、その他各種のアプリケーションプログラムやデータなどが記憶される。
The imaging unit 17 includes an area image sensor, an optical system, an analog front end unit, an image processing unit, and the like, and images a subject to generate a digital image.
The storage unit 18 stores various programs and data using a non-volatile memory such as a flash memory. The storage unit 18 stores an operating system (OS), a device control program to be described later, various other application programs, data, and the like.

デバイス制御プログラムなどのアプリケーションプログラム(以下「アプリケーション」という)は、送受信部12や無線通信部14を介して外部のサーバからダウンロードすることができる。なお、携帯電話1にUSBインタフェースを設け、USBインタフェースを介して外部のコンピュータからアプリケーションをダウンロードしてもよい。   An application program such as a device control program (hereinafter referred to as “application”) can be downloaded from an external server via the transmission / reception unit 12 or the wireless communication unit 14. The mobile phone 1 may be provided with a USB interface, and an application may be downloaded from an external computer via the USB interface.

(3)デバイス制御プログラム
デバイス制御プログラムはデバイス2が備える複数の機能(具体的にはプリンタ機能、スキャナ機能)を制御可能なアプリケーションプログラムであって、プリンタを制御して画像を印刷させる処理、及びスキャナを制御して画像を取り込む処理を携帯電話1に実行させるデバイスドライバとしての機能をもつ。
さらに、デバイス制御プログラムは、複数の画像をアルバムに整理して管理する処理、撮像部17から画像を取り込む処理、画像を電子メールアプリケーションに渡す処理などを携帯電話1に実行させるプログラムも備えており、複数の機能をもつアプリケーションプログラムである。
(3) Device control program The device control program is an application program that can control a plurality of functions (specifically, a printer function and a scanner function) included in the device 2, and controls the printer to print an image; It has a function as a device driver that causes the mobile phone 1 to execute processing for capturing an image by controlling the scanner.
Furthermore, the device control program also includes a program for causing the mobile phone 1 to execute processing for organizing and managing a plurality of images into an album, processing for capturing images from the imaging unit 17, processing for transferring images to an e-mail application, and the like. An application program having a plurality of functions.

デバイス制御プログラムは複数機種のデバイス2を制御可能であり、ユーザは通信ネットワーク5に接続されている1以上のデバイス2の中から印刷や原稿の読み取りを実行させるデバイス2を選択することができる。
例えばユーザがプリンタ(複合機を含む)を選択すると、デバイス制御プログラムは選択されたプリンタを記憶部18に登録しておき、ユーザが印刷を指示すると、登録されているプリンタを制御して画像の印刷を実行させる。
The device control program can control a plurality of types of devices 2, and the user can select a device 2 that executes printing or reading of a document from one or more devices 2 connected to the communication network 5.
For example, when the user selects a printer (including a multifunction device), the device control program registers the selected printer in the storage unit 18, and when the user instructs printing, the registered printer is controlled to control the registered printer. Start printing.

ここで「登録」とは、選択されたプリンタからそのプリンタを制御するための情報(デバイス情報)を取得し、取得したデバイス情報を記憶部18の所定の領域に書き込むことをいう。デバイス情報とは、具体的には、デバイス名、通信ネットワーク5上の所在を示す所在情報(IPアドレス、ドメイン名など)、そのデバイスが備える機能を示す機能情報などである。
機能情報には、プリンタ機能、スキャナ機能、ファクシミリ機能などの有無を示す情報や、プリンタ機能の対応用紙サイズ、カラー印刷の可否、両面印刷の可否などといったように各機能のより詳細な情報などが含まれる。
Here, “registration” refers to acquiring information (device information) for controlling the printer from the selected printer and writing the acquired device information in a predetermined area of the storage unit 18. Specifically, the device information includes a device name, location information indicating a location on the communication network 5 (IP address, domain name, etc.), function information indicating a function of the device, and the like.
The function information includes information indicating the presence / absence of a printer function, a scanner function, a facsimile function, etc., more detailed information on each function such as the paper size supported by the printer function, whether color printing is possible, whether double-sided printing is possible, etc. included.

画像の読み取りについても同様であり、デバイス制御プログラムはユーザが選択したスキャナを記憶部18に登録しておき、登録されているスキャナを制御して画像を取り込む。
このように、デバイス制御プログラムはデバイス2が備えるプリンタ機能及びスキャナ機能の両方を制御可能であるが、デバイス2によっては、プリンタ機能とスキャナ機能の一方しか備えないものもある。従って、デバイス2は機能ごとに登録することが望ましい。
The same applies to image reading. The device control program registers the scanner selected by the user in the storage unit 18 and controls the registered scanner to capture the image.
As described above, the device control program can control both the printer function and the scanner function of the device 2, but some devices 2 have only one of the printer function and the scanner function. Therefore, it is desirable to register the device 2 for each function.

(3−1)デバイス制御プログラムのユーザインタフェース
実施形態1ではプリンタ機能を実行するためのデバイス、及びスキャナ機能を実行する
ためのデバイスをそれぞれ1台だけ携帯電話1に登録可能である場合を例に説明する。
また、実施形態1では、デバイス制御プログラムは、プリンタ機能を実行するためのデバイスとして登録されたデバイス2をプリンタ機能の実行に使用するデバイスとして設定し、同様に、スキャナ機能を実行するためのデバイスとして登録されたデバイス2をスキャナ機能の実行に使用するデバイスとして設定する。
(3-1) User Interface of Device Control Program In the first embodiment, a case where only one device for executing a printer function and one device for executing a scanner function can be registered in the mobile phone 1 is taken as an example. explain.
In the first embodiment, the device control program sets the device 2 registered as a device for executing the printer function as a device to be used for executing the printer function, and similarly, a device for executing the scanner function. Is registered as a device to be used for executing the scanner function.

図3及び図4は、実施形態1に係るデバイス制御プログラムによって表示される画面の画面遷移図である。
図3に示す画面31はメインメニューである。メインメニューには、アルバムに保存されている画像を印刷する「Print from Photo Albums」、撮像部17で被写体を撮像して
印刷する「Print from Camera」、及び、スキャナから画像を取り込む「Scan to cell Phone」の3つのメニューが表示される。ユーザは画面31にタッチすることでいずれかの
メニューを選択することができる。
3 and 4 are screen transition diagrams of screens displayed by the device control program according to the first embodiment.
A screen 31 shown in FIG. 3 is a main menu. The main menu includes “Print from Photo Albums” for printing images stored in the album, “Print from Camera” for imaging and printing the subject with the imaging unit 17, and “Scan to cell” for capturing images from the scanner. Three menus of “Phone” are displayed. The user can select one of the menus by touching the screen 31.

画面32は、メインメニューで「Print from Photo Albums」を選択した場合に表示さ
れる画面である。前述したようにデバイス制御プログラムは画像をアルバムに整理して管理することができ、画面32にはそのアルバムが一覧表示される。ユーザがいずれかのアルバムを選択すると画面33に遷移し、そのアルバムに含まれる画像のサムネイル画像33a(図3では1つのみに符号を付している)が一覧表示される。
The screen 32 is a screen displayed when “Print from Photo Albums” is selected in the main menu. As described above, the device control program can organize and manage images into albums, and the album is displayed as a list on the screen 32. When the user selects any album, the screen changes to a screen 33, and thumbnail images 33a of images included in the album are displayed in a list (only one is labeled in FIG. 3).

画面33でユーザがいずれかのサムネイル画像33aにタッチして画像を選択すると、画面34に遷移し、選択した画像が表示される。前述したメインメニューで「Print from
Camera」を選択した場合も、被写体を撮像した後に画面34に遷移し、撮像した画像が
表示される。
画面34では、ユーザは表示されている画像を印刷させることができる。画像を印刷させる場合は、ユーザは先ず「Setting」ボタン34aにタッチして画面35を表示し、表
示された画面35でプリンタの登録や印刷条件の設定を行う。
When the user touches any thumbnail image 33a on the screen 33 and selects an image, the screen transits to the screen 34 and the selected image is displayed. In the main menu mentioned above, select “Print from
Even when “Camera” is selected, after the subject is imaged, the screen transitions to the screen 34 and the captured image is displayed.
On the screen 34, the user can print the displayed image. When printing an image, the user first touches the “Setting” button 34 a to display the screen 35, and performs printer registration and print condition setting on the displayed screen 35.

ここで、画面34において「Setting」ボタン34aの左側に表示されているデバイス
名(DC123450)は、現在登録されているプリンタのデバイス名である。画面34を表示するときに既にいずれかのプリンタが登録されている場合には、デバイス制御プログラムはそのプリンタのデバイス名を「Setting」ボタン34aの左側に表示する。プリ
ンタが登録されていない場合にはデバイス名は非表示となる。ここでいうプリンタには、プリンタ機能のみを備える単機能のプリンタの他、プリンタ機能を備える複合機も含まれる。
Here, the device name (DC123450) displayed on the left side of the “Setting” button 34a on the screen 34 is the device name of the currently registered printer. If any printer is already registered when the screen 34 is displayed, the device control program displays the device name of the printer on the left side of the “Setting” button 34a. If no printer is registered, the device name is hidden. The printer here includes not only a single-function printer having only a printer function but also a multifunction machine having a printer function.

画面35には、登録されているプリンタのデバイス名と、デフォルトの印刷条件とが初期表示される。ただし、未だプリンタを登録していない場合にはデバイス名は非表示となる。
未だプリンタを登録していない場合や、登録されているプリンタを変更したい場合には、ユーザはプリンタのデバイス名を表示するフィールド35aにタッチして画面36を表示させる。
The screen 35 initially displays the registered printer device name and default printing conditions. However, the device name is hidden when no printer is registered.
If the printer has not yet been registered or if it is desired to change the registered printer, the user touches the field 35a for displaying the device name of the printer to display the screen 36.

ユーザがフィールド35aにタッチすると、デバイス制御プログラムは通信ネットワーク5に接続されているプリンタを検索し、検索したプリンタのデバイス名を画面36に一覧表示する。この検索は、例えば通信ネットワーク5に接続されているデバイスを検索するためのプロトコルを用いて行うことができる。
画面36でユーザがいずれかのプリンタを選択すると、デバイス制御プログラムは後述する「プリンタの登録処理」を実行することにより、当該選択されたプリンタを携帯電話1に登録する。詳しくは後述するが、選択されたプリンタが複合機である場合には、デバ
イス制御プログラムは「プリンタの登録処理」においてその複合機をプリンタとして登録するのみならず、スキャナとしても登録する。
When the user touches the field 35a, the device control program searches for printers connected to the communication network 5, and displays a list of device names of the searched printers on the screen 36. This search can be performed using a protocol for searching for devices connected to the communication network 5, for example.
When the user selects one of the printers on the screen 36, the device control program registers the selected printer in the mobile phone 1 by executing a “printer registration process” to be described later. As will be described in detail later, when the selected printer is a multifunction device, the device control program registers not only the multifunction device as a printer but also a scanner in the “printer registration process”.

「プリンタの登録処理」が終了すると画面35に戻り、登録されたプリンタのデバイス名がフィールド35aに表示される。
また、画面35では「Document Size(Photo、Photo 2L、A4、Letterなど)」、「Media Type(Plain Paper、OHPなど)」、「Color Type(Color、GrayScaleなど)」などの印刷条件を設定することができる。例えば「Document Size」を選択すると印刷用紙サイズ
を選択するための図示しない画面が表示され、ユーザはその画面で「Photo」、「Photo 2L」、「A4」、「Letter」などのサイズの中からいずれかのサイズを選択できる。
When the “printer registration process” is completed, the screen 35 is displayed again, and the device name of the registered printer is displayed in the field 35a.
On the screen 35, print conditions such as “Document Size (Photo, Photo 2L, A4, Letter, etc.)”, “Media Type (Plain Paper, OHP, etc.)”, “Color Type (Color, GrayScale, etc.)” are set. be able to. For example, when “Document Size” is selected, a screen (not shown) for selecting the print paper size is displayed, and the user can select a size from “Photo”, “Photo 2L”, “A4”, “Letter”, etc. Either size can be selected.

画面35でプリンタの登録や印刷条件の設定を行った後、ユーザが「Done」ボタン35bにタッチすると画面34に戻る。
画面34でユーザが「Print」ボタン34bにタッチすると、デバイス制御プログラム
は登録されているプリンタ(言い換えると、プリンタ機能の実行に使用するデバイスとして設定されているプリンタ)を制御して、画面34に表示されている画像(Photo2)を印刷させる(制御処理の一例)。この制御は、記憶部18に書き込まれているデバイス情報や、画面35で設定された印刷条件に基づいて行われる。
After the printer is registered and the printing conditions are set on the screen 35, the screen returns to the screen 34 when the user touches the “Done” button 35b.
When the user touches the “Print” button 34 b on the screen 34, the device control program controls the registered printer (in other words, a printer set as a device used to execute the printer function), and displays the screen 34. Print the displayed image (Photo2) (an example of control processing). This control is performed based on the device information written in the storage unit 18 and the printing conditions set on the screen 35.

ここでプリンタを制御するとは、画像と印刷条件とに基づいて印刷コマンドを生成し、生成した印刷コマンドをプリンタに出力することをいう。なお、画像と印刷条件とをプリンタに送信し、プリンタ側で印刷データを生成する構成であってもよい。   Here, controlling the printer means generating a print command based on an image and printing conditions, and outputting the generated print command to the printer. Note that the image and the printing conditions may be transmitted to the printer, and the print data may be generated on the printer side.

図4は、画面31のメインメニューで「Scan to cell Phone」が選択された場合の画面遷移図である。
メインメニューでユーザが「Scan to cell Phone」を選択すると、画面40に遷移する。画面40には、登録されているスキャナのデバイス名と、デフォルトの読取条件とが初期表示される。未だスキャナが登録されていない場合にはデバイス名は非表示となる。
FIG. 4 is a screen transition diagram when “Scan to cell Phone” is selected in the main menu of the screen 31.
When the user selects “Scan to cell phone” in the main menu, the screen transitions to the screen 40. The screen 40 initially displays the registered scanner device name and default reading conditions. If no scanner has been registered, the device name is not displayed.

ただし、前述したように画面36で選択されたプリンタが複合機である場合には「プリンタの登録処理」によってその複合機がスキャナとしても登録されるので、その場合にはユーザがスキャナを登録する操作を行っていなくても、スキャナのデバイス名を表示するフィールド40aにその複合機のデバイス名が表示されることになる。   However, as described above, when the printer selected on the screen 36 is a multifunction device, the multifunction device is also registered as a scanner by the “printer registration process”. In this case, the user registers the scanner. Even if no operation is performed, the device name of the multifunction device is displayed in the field 40a for displaying the device name of the scanner.

未だスキャナを登録していない場合や、登録されているスキャナを変更したい場合には、ユーザはプリンタの場合と同様にしてスキャナを選択することができる。スキャナを選択する画面の構成はプリンタを選択するための画面(画面36)の構成と実質的に同じであるので説明は省略する。
ただし、画面35(図3)に示すように、既にプリンタとして登録されているデバイス2が存在する場合には、スキャナの選択では、複合機をスキャナとして選択しても、その複合機をプリンタとして登録することは行わない。これは、本実施形態では先に登録されたプリンタを優先し、スキャナの選択によってユーザが意図せずにプリンタが変更されてしまわないようにするためである。なお、先に登録されたプリンタを優先しないのであれば、選択した複合機をスキャナとして登録するのみならず、プリンタとして登録してもよい。
If the scanner has not been registered yet or if it is desired to change the registered scanner, the user can select the scanner in the same manner as the printer. Since the configuration of the screen for selecting the scanner is substantially the same as the configuration of the screen for selecting the printer (screen 36), description thereof is omitted.
However, as shown in the screen 35 (FIG. 3), when there is a device 2 that has already been registered as a printer, even when the multifunction device is selected as a scanner, the multifunction device is selected as a printer. Do not register. This is because, in the present embodiment, the previously registered printer is prioritized so that the printer is not changed unintentionally by the user when the scanner is selected. If priority is not given to the previously registered printer, the selected multifunction device may be registered not only as a scanner but also as a printer.

また、画面40では、「Document Size(Photo、Photo 2L、A4、Letterなど)」、「Color Type(ColorHighSpeed、GrayScaleHighSpeed、ColorLowSpeed、GrayScaleLowSpeedなど)」、「Duplex(Long-Edge、Short-Edgeなど)」などの読取条件を設定することもで
きる。
On the screen 40, “Document Size (Photo, Photo 2L, A4, Letter, etc.)”, “Color Type (ColorHighSpeed, GrayScaleHighSpeed, ColorLowSpeed, GrayScaleLowSpeed, etc.)”, “Duplex (Long-Edge, Short-Edge, etc.)” It is also possible to set reading conditions such as

ユーザは、スキャナの登録、読取条件の設定、スキャナへの原稿のセットなどを行った後、「Scan」ボタン40bにタッチする。ユーザが「Scan」ボタン40bにタッチすると、デバイス制御プログラムは登録されているスキャナ(言い換えると、スキャナ機能の実行に使用するデバイスとして設定されているスキャナ)を制御して原稿を読み取らせる(制御処理の一例)。この制御は、記憶部18に書き込まれているデバイス情報や、画面40で設定された読取条件に基づいて行われる。
ここでスキャナを制御するとは、読取条件に基づいて原稿の読取速度や読取解像度を設定するコマンドなどをスキャナに出力して原稿の読み取りを行わせることをいう。
The user touches the “Scan” button 40b after registering the scanner, setting the reading conditions, setting the document on the scanner, and the like. When the user touches the “Scan” button 40b, the device control program controls a registered scanner (in other words, a scanner set as a device used to execute the scanner function) to read a document (control processing). Example). This control is performed based on device information written in the storage unit 18 and reading conditions set on the screen 40.
Here, controlling the scanner refers to outputting a command for setting the reading speed and reading resolution of the document based on the reading conditions to the scanner to read the document.

読み取りが完了すると画面41に遷移し、読み取られた原稿を表す画像(Image1)が表示される。画面41でユーザが「Action」ボタン41aにタッチすると、画面42に遷移する。   When the reading is completed, the screen transitions to the screen 41, and an image (Image1) representing the read original is displayed. When the user touches the “Action” button 41 a on the screen 41, the screen transitions to the screen 42.

画面42には「Save To Photo Albums」、「Email As JPEG」、「Email As PDF」とい
うメニューが表示される。ユーザが「Email As JPEG」や「Email As PDF」を選択した場
合には、JPEG形式あるいはPDF形式に変換された画像が添付された状態のEmail作
成画面43に遷移する。このEmail作成画面43はデバイス制御プログラムとは別のアプ
リケーションによって表示される画面である。
一方、ユーザが「Save To Photo Albums」を選択した場合には、保存先のアルバムを選択するための図示しない画面が表示された後、そのアルバムに保存が行われて画面41に戻る。
On the screen 42, menus “Save To Photo Albums”, “Email As JPEG”, and “Email As PDF” are displayed. When the user selects “Email As JPEG” or “Email As PDF”, the screen transitions to an email creation screen 43 in which an image converted to the JPEG format or PDF format is attached. This Email creation screen 43 is a screen displayed by an application different from the device control program.
On the other hand, when the user selects “Save To Photo Albums”, a screen (not shown) for selecting a save destination album is displayed, and then the album is saved and the screen 41 is returned to.

(3−2)プリンタの登録処理
次に、上述した「プリンタの登録処理」について説明する。ここでは通信ネットワーク5に接続されているプリンタを検索する処理も含めて「プリンタの登録処理」として説明する。
(3-2) Printer Registration Processing Next, the above-described “printer registration processing” will be described. Here, it will be described as “printer registration processing” including processing for searching for printers connected to the communication network 5.

図5は、プリンタの登録処理の流れを示すフローチャートである。本処理は前述した画面35でユーザがフィールド35aにタッチすると開始される。
S101では、デバイス制御プログラムを実行する制御部11(以下、単に「デバイス制御プログラム」という)は、通信ネットワーク5に接続されているプリンタ(第1の機能の一例)を検索する(第1の選択処理の一例)。
FIG. 5 is a flowchart showing the flow of printer registration processing. This process is started when the user touches the field 35a on the screen 35 described above.
In S101, the control unit 11 (hereinafter simply referred to as “device control program”) that executes the device control program searches for a printer (an example of the first function) connected to the communication network 5 (first selection). Example of processing).

ここでは、通信ネットワーク5に接続されているデバイス2のデバイス情報を要求するデータをブロードキャストによって送信し、その返答として得られたデバイス情報を受信する。受信したデバイス情報はRAMに記憶される。
そして、デバイス制御プログラムのプログラムコードには制御可能なプリンタ機能を備えるデバイスのデバイス名の一覧がハードコーディングされており、デバイス制御プログラムは取得したデバイス情報に含まれるデバイス名が一覧になければ制御不能なプリンタであると判定し、RAMからデバイス情報を削除する。よって、RAMには、デバイス制御プログラムが制御可能なプリンタのデバイス情報が記憶されることになる。なお、新たに制御可能なデバイスが増えた場合には通信ネットワーク5を介して一覧がアップデートされるようにしてもよい。
Here, data requesting device information of the device 2 connected to the communication network 5 is transmitted by broadcast, and the device information obtained as a response is received. The received device information is stored in the RAM.
The program code of the device control program is hard-coded with a list of device names of devices having a controllable printer function, and the device control program cannot be controlled unless the device name included in the acquired device information is listed. The device information is deleted from the RAM. Therefore, the device information of the printer that can be controlled by the device control program is stored in the RAM. Note that the list may be updated via the communication network 5 when the number of newly controllable devices increases.

S102では、デバイス制御プログラムは1台以上のプリンタが検索されたか否か(RAMに1以上のデバイス情報が記憶されているか否か)を判定し、検索されなかった場合はS103に進み、検索された場合はS104に進む(第1の選択処理の一例)。
S103では、デバイス制御プログラムはプリンタが検索されなかったことを表すメッセージを表示部15に表示して処理を終了する(第1の選択処理の一例)。
In S102, the device control program determines whether or not one or more printers have been searched (whether or not one or more device information is stored in the RAM). If not, the process proceeds to S103 and is searched. If YES in step S104, the flow advances to step S104 (an example of first selection processing).
In S103, the device control program displays a message indicating that the printer has not been searched on the display unit 15 and ends the process (an example of the first selection process).

S104では、デバイス制御プログラムは、S101でRAMに記憶されたデバイス情報に基づいて、検索されたプリンタのデバイス名を画面36に一覧表示する(第1の選択処理の一例)。
S105では、デバイス制御プログラムはユーザがいずれかのプリンタを選択するまで待機する(第1の選択処理の一例)。なお、プリンタが一つしかない場合は、この選択は「指定」と言い換えることもできる。
In S104, the device control program displays a list of searched device names on the screen 36 based on the device information stored in the RAM in S101 (an example of first selection processing).
In S105, the device control program waits until the user selects one of the printers (an example of a first selection process). If there is only one printer, this selection can be rephrased as “designation”.

S106では、デバイス制御プログラムはユーザによって選択されたプリンタのデバイス情報をS101でRAMに記憶したデバイス情報の中から取得する(登録処理の一例)。
S107では、デバイス制御プログラムは選択されたプリンタがスキャナ機能を備えているか否か(すなわちプリンタが複合機であるか否か)をデバイス情報に基づいて判定し、備えている場合はS108に進み、備えていない場合はS108〜S109までの処理をスキップしてS110に進む(登録処理、判定処理、第1の判定処理の一例)。
In S106, the device control program acquires the device information of the printer selected by the user from the device information stored in the RAM in S101 (an example of registration processing).
In S107, the device control program determines whether or not the selected printer has a scanner function (that is, whether or not the printer is a multifunction device) based on the device information, and if so, the process proceeds to S108. If not, the process from S108 to S109 is skipped and the process proceeds to S110 (an example of a registration process, a determination process, and a first determination process).

S108では、デバイス制御プログラムは選択されたプリンタ(すなわち複合機)が備えるスキャナ機能を制御可能であるか否かを判定する(登録処理、第2の判定処理の一例)。
具体的には例えば、デバイス制御プログラムのプログラムコードには制御可能なスキャナ機能を備えるデバイスのデバイス名の一覧がハードコーディングされており、デバイス制御プログラムはS106で取得したデバイス情報に含まれるデバイス名が一覧にあれば制御可能なスキャナであると判定し、一覧になければ制御不能なスキャナであると判定する。
In S108, the device control program determines whether the scanner function of the selected printer (that is, the multifunction device) can be controlled (an example of registration processing and second determination processing).
Specifically, for example, a list of device names of devices having a controllable scanner function is hard-coded in the program code of the device control program, and the device control program includes the device name included in the device information acquired in S106. If it is in the list, it is determined that it is a controllable scanner, and if it is not in the list, it is determined that it is an uncontrollable scanner.

制御可能であるか否かを判定するのは、デバイスがスキャナ機能を備えていても、デバイスの機種によっては制御コマンドが異なるなどの理由によってデバイス制御プログラムからそのスキャナ機能を制御不能な場合もあるからである。
デバイス制御プログラムは、制御可能な場合はS109に進み、制御不能な場合はS110に進む(登録処理の一例)。
Whether the device can be controlled is determined by the fact that the device control program may not be able to control the scanner function from the device control program even if the device has a scanner function, depending on the device model. Because.
The device control program proceeds to S109 if controllable, and proceeds to S110 if control is impossible (an example of registration processing).

S109では、デバイス制御プログラムは選択されたプリンタ(すなわち複合機)を、スキャナ機能を実行するためのデバイスとして登録する(登録処理の一例)。そして、デバイス制御プログラムは、その登録したプリンタを、スキャナ機能の実行に使用するデバイスとして設定する。   In S109, the device control program registers the selected printer (that is, the multifunction device) as a device for executing the scanner function (an example of registration processing). Then, the device control program sets the registered printer as a device used for executing the scanner function.

S110では、デバイス制御プログラムは選択されたプリンタ(単機能のプリンタ、または複合機)を、プリンタ機能を実行するためのデバイスとして登録する(登録処理の一例)。そして、デバイス制御プログラムは、その登録したプリンタを、プリンタ機能の実行に使用するデバイスとして設定する。   In S110, the device control program registers the selected printer (single-function printer or multifunction device) as a device for executing the printer function (an example of registration processing). Then, the device control program sets the registered printer as a device used for executing the printer function.

(4)実施形態の効果
以上説明した本発明の実施形態1に係るデバイス制御プログラムによると、ユーザがプリンタを選択した場合に、そのプリンタをプリンタとして登録するのみならず、そのプリンタがスキャナ機能を備えている場合にはそのプリンタ(すなわち複合機)をスキャナとしても登録する。
このように、このデバイス制御プログラムによると、プリンタ機能とスキャナ機能とを備えるデバイスを機能毎に個別に携帯電話1に登録する場合に、ユーザはデバイスの選択を一度だけ行えばよいので、機能毎にデバイスを選択する場合に比べてユーザの負担を軽減できる。
(4) Effects of the Embodiment According to the device control program according to the first embodiment of the present invention described above, when the user selects a printer, not only the printer is registered but also the printer has a scanner function. If provided, the printer (that is, the multifunction device) is also registered as a scanner.
Thus, according to this device control program, when a device having a printer function and a scanner function is individually registered in the mobile phone 1 for each function, the user only has to select a device once. The burden on the user can be reduced as compared with the case of selecting a device.

例えば、デバイス2が複合機であった場合、ユーザはその複合機をプリンタとしてもスキャナとしても使用したい場合がある。具体的には、画像をプリンタに印刷させ、印刷済みの用紙にユーザが手書きで書き込み、その用紙をスキャナで読み取るといった場合などである。このような場合、このデバイス制御プログラムによると、ユーザは複合機の選択を一度行うだけでその複合機を複数の機能毎に登録することができるので、その複合機が備える複数の機能をすぐに使用することができる。   For example, when the device 2 is a multifunction device, the user may want to use the multifunction device as both a printer and a scanner. More specifically, the image is printed on a printer, the user writes it on a printed paper by hand, and the paper is read by a scanner. In such a case, according to this device control program, the user can register the multifunction device for each of a plurality of functions by selecting the multifunction device only once. Can be used.

更に、このデバイス制御プログラムによると、プリンタがスキャナ機能を備えていることを条件として、そのプリンタをスキャナとして登録する。デバイス制御プログラムが複数機種のプリンタを制御可能である場合、それら複数機種のプリンタが全てスキャナ機能を備えているとは限らず、プリンタによってはスキャナ機能を備えていない場合もある(例えばプリンタ2c、2d)。
このデバイス制御プログラムによると、プリンタがスキャナ機能を備えていることを条件としてそのプリンタをスキャナとして登録するので、選択されたプリンタがスキャナ機能を備えていないにもかかわらずそのプリンタがスキャナとして登録されてしまうことを低減できる。
Further, according to this device control program, the printer is registered as a scanner on condition that the printer has a scanner function. When the device control program can control a plurality of types of printers, not all of the plurality of types of printers have a scanner function, and some printers may not have a scanner function (for example, the printer 2c, 2d).
According to this device control program, the printer is registered as a scanner on condition that the printer has a scanner function. Therefore, the printer is registered as a scanner even though the selected printer does not have the scanner function. Can be reduced.

更に、このデバイス制御プログラムによると、選択されたプリンタがスキャナ機能を備えている場合に、当該選択されたプリンタが備えるスキャナ機能をデバイス制御プログラムから制御不能な場合は、スキャナ機能を実行するためのデバイスとして登録しないので、制御処理において、登録されたデバイスが制御できないことを低減できる。   Further, according to this device control program, when the selected printer has a scanner function, and the scanner function of the selected printer cannot be controlled from the device control program, the device control program executes the scanner function. Since it is not registered as a device, it is possible to reduce the fact that the registered device cannot be controlled in the control process.

<実施形態2>
次に、本発明の実施形態2を図6ないし図8によって説明する。
実施形態1ではプリンタ、スキャナとも1台のみ登録可能である場合を例に説明したが、実施形態2では複数台のプリンタ、及びスキャナを登録可能である。実施形態2では、デバイス制御プログラムは登録されているプリンタのうちいずれか1台のプリンタを「通常使用するプリンタ(プリンタ機能の実行に使用するデバイス)」として排他的に設定し、「通常使用するプリンタ」として設定されているプリンタを制御して画像を印刷させる。スキャナについても同様である。
<Embodiment 2>
Next, a second embodiment of the present invention will be described with reference to FIGS.
In the first embodiment, the case where only one printer and scanner can be registered has been described as an example. However, in the second embodiment, a plurality of printers and scanners can be registered. In the second embodiment, the device control program exclusively sets one of the registered printers as a “normally used printer (device used for executing the printer function)”, and the “normally used printer” is set. The printer set as “printer” is controlled to print an image. The same applies to the scanner.

図6は、実施形態2において「Print from Photo Albums」が選択された場合の画面遷
移図である。画面55(実施形態1の画面35に相当する画面)においてフィールド55aに表示されるデバイス名は、単に登録されているプリンタのデバイス名ではなく、登録されているプリンタのうち「通常使用するプリンタ」として設定されているプリンタのデバイス名である。前述したようにデバイス制御プログラムは「通常使用するプリンタ」として設定されているプリンタを制御して画像を印刷させる。
FIG. 6 is a screen transition diagram when “Print from Photo Albums” is selected in the second embodiment. The device name displayed in the field 55a on the screen 55 (screen corresponding to the screen 35 of the first embodiment) is not simply the device name of the registered printer, but “regular printer” among the registered printers. Is the device name of the printer set as. As described above, the device control program controls the printer set as “normally used printer” to print an image.

画面55には「通常使用するプリンタ」を選択するためのプルダウンメニュー55bが設けられている。ユーザがプルダウンメニュー55bにタッチすると、登録されているプリンタのデバイス名が一覧表示される。ユーザは一覧表示されたプリンタの中からいずれかのプリンタを選択することにより、そのプリンタを「通常使用するプリンタ」として排他的に設定することができる。排他的に設定するので、それまで他のプリンタが「通常使用するプリンタ」として設定されていた場合には、当該他のプリンタは「通常使用するプリンタ」の設定が解除される。   The screen 55 is provided with a pull-down menu 55b for selecting “normally used printer”. When the user touches the pull-down menu 55b, a list of registered printer device names is displayed. The user can exclusively set the printer as a “normally used printer” by selecting one of the listed printers. Since it is set exclusively, if another printer has been set as “normally used printer” until then, the setting of “normally used printer” is canceled for the other printer.

図7は、実施形態2において「Scan to cell Phone」が選択された場合の画面遷移図である。画面50(実施形態1の画面40に相当する画面)においてフィールド50aに表示されるデバイス名は、単に登録されているスキャナのデバイス名ではなく、登録されて
いるスキャナのうち「通常使用するスキャナ」として設定されているスキャナのデバイス名である。前述したようにデバイス制御プログラムは「通常使用するスキャナ」として設定されているスキャナを制御して原稿を読み取らせる。
FIG. 7 is a screen transition diagram when “Scan to cell Phone” is selected in the second embodiment. The device name displayed in the field 50a on the screen 50 (the screen corresponding to the screen 40 of the first embodiment) is not simply the device name of the registered scanner, but “normally used scanner” among the registered scanners. Is the device name of the scanner set as. As described above, the device control program controls the scanner set as “normally used scanner” to read the document.

画面50には「通常使用するスキャナ」を選択するためのプルダウンメニュー50bが設けられている。ユーザがプルダウンメニュー50bにタッチすると、登録されているスキャナのデバイス名が一覧表示される。ユーザは一覧表示されたスキャナの中からいずれかのスキャナを選択することにより、そのスキャナを「通常使用するスキャナ」として排他的に設定する。排他的に設定するので、それまで他のスキャナが「通常使用するスキャナ」として設定されていた場合には、当該他のスキャナは「通常使用するスキャナ」の設定が解除される。   The screen 50 is provided with a pull-down menu 50b for selecting “normally used scanner”. When the user touches the pull-down menu 50b, a list of registered scanner device names is displayed. The user selects one of the scanners displayed in a list to exclusively set the scanner as a “normally used scanner”. Since it is set exclusively, if the other scanner has been set as “normally used scanner” until then, the setting of “normally used scanner” is canceled for the other scanner.

なお、実施形態2に係る「プリンタの登録処理」では、「通常使用するスキャナ」として複合機「DC123450」が設定されている状態で、図6の画面36で複合機「ABC−0000」(非図示)をプリンタとして選択すると、複合機「ABC−0000」はスキャナとしても登録されるが、「通常使用するスキャナ」としては設定されない。このような場合、画面50に示すように、フィールド50aには複合機「DC123450」が表示され、プルダウンメニュー50bには複合機「ABC−0000」が表示されることになる。   In the “printer registration process” according to the second embodiment, the multifunction device “ABC-0000” (non-printing) is displayed on the screen 36 in FIG. 6 in a state where the multifunction device “DC123450” is set as the “normally used scanner”. When “shown” is selected as a printer, the multifunction device “ABC-0000” is also registered as a scanner, but is not set as a “normally used scanner”. In such a case, as shown in the screen 50, the multifunction device “DC123450” is displayed in the field 50a, and the multifunction device “ABC-0000” is displayed in the pull-down menu 50b.

図8は、実施形態2に係る「プリンタの登録処理」の流れを示すフローチャートである。ここでは実施形態1と実質的に同一の処理には同一の符号を付して説明を省略する。   FIG. 8 is a flowchart illustrating the flow of “printer registration processing” according to the second embodiment. Here, processes substantially the same as those of the first embodiment are denoted by the same reference numerals and description thereof is omitted.

S201では、デバイス制御プログラムはS105で選択された複合機以外の他のスキャナ(あるいは複合機)が「通常使用するスキャナ」として設定されているか否かを判定し、他のスキャナが設定されていない場合はS202に進み、他のスキャナが設定されている場合はS203に進む(第3の判定処理の一例)。
S202では、デバイス制御プログラムは選択されたプリンタ(すなわち複合機)を、スキャナ機能を実行するためのデバイスとして登録するとともに、そのプリンタ(すなわち複合機)を、「通常使用するスキャナ」として排他的に設定する(第2の設定処理の一例)。
In S201, the device control program determines whether a scanner other than the multifunction peripheral selected in S105 (or a multifunction peripheral) is set as “normally used scanner”, and no other scanner is set. If YES in step S202, the flow advances to step S202. If another scanner is set, the flow advances to step S203 (an example of third determination processing).
In S202, the device control program registers the selected printer (ie, multifunction device) as a device for executing the scanner function, and exclusively uses the printer (ie, multifunction device) as a “normally used scanner”. Setting (an example of second setting processing).

S203では、デバイス制御プログラムは登録済のスキャナの数nが最大登録可能数N未満であるか否かを判定し、最大登録可能数N未満であればS204に進み、最大登録可能数Nに達している場合はそのプリンタをスキャナとして登録することなくS205に進む。   In S203, the device control program determines whether or not the number n of registered scanners is less than the maximum registerable number N, and if it is less than the maximum registerable number N, the process proceeds to S204 and reaches the maximum registerable number N. If yes, the process proceeds to S205 without registering the printer as a scanner.

S204では、デバイス制御プログラムは選択されたプリンタ(すなわち複合機)を、スキャナ機能を実行するためのデバイスとして登録する。ただし、この場合は「通常使用するスキャナ」としては設定しない。したがって、それまで「通常使用するスキャナ」として設定されていた他のスキャナがそのまま「通常使用するスキャナ」となる。   In S204, the device control program registers the selected printer (that is, the multifunction device) as a device for executing the scanner function. However, in this case, it is not set as “normally used scanner”. Therefore, other scanners that have been set as “normally used scanners” become “normally used scanners” as they are.

S205では、デバイス制御プログラムは選択されたプリンタ(単機能のプリンタ、または複合機)を、プリンタ機能を実行するためのデバイスとして登録する(登録処理の一例)とともに、そのデバイスを「通常使用するプリンタ」として設定する。   In S205, the device control program registers the selected printer (single-function printer or multi-function device) as a device for executing the printer function (an example of registration processing), and uses the device as a “normally used printer”. ".

以上説明した本発明の実施形態2に係るデバイス制御プログラムによると、既にスキャナ機能の実行に通常使用するデバイスが設定されている場合は、スキャナ機能の実行に使用するデバイスとして新たにデバイスを登録しても、そのデバイスをスキャナ機能の実行に通常使用するデバイスとして設定しないので、新たなデバイスが登録されてもユーザは
既にスキャナ機能の実行に通常使用するデバイスとして設定されているデバイスを継続して使用できる。
According to the device control program according to the second embodiment of the present invention described above, when a device normally used for executing the scanner function is already set, a new device is registered as a device used for executing the scanner function. However, since the device is not set as a device that is normally used for executing the scanner function, even if a new device is registered, the user continues to use the device that is already set as the device that is normally used for executing the scanner function. Can be used.

また、新たに登録したデバイスにスキャナ機能を実行させたい場合には、画面50でそのデバイスをスキャナ機能の実行に通常使用するデバイスとして選択することにより、当該デバイスにスキャナ機能を実行させることができる。
本実施形態では複数のプリンタを登録可能な構成であるが、プリンタは一台のみ登録する構成であってもよい。その場合、S205の処理の代わりにS110の処理が実行される。
Further, when it is desired to execute the scanner function on a newly registered device, the device can be made to execute the scanner function by selecting the device as a device normally used for executing the scanner function on the screen 50. .
In this embodiment, a plurality of printers can be registered. However, only one printer may be registered. In that case, the process of S110 is executed instead of the process of S205.

<実施形態3>
次に、本発明の実施形態3を図9によって説明する。
実施形態3は、実施形態2の変形例であり、選択されたプリンタがスキャナ機能を備えており、そのプリンタ(すなわち複合機)をスキャナとしても登録する場合に、既に他のスキャナが「通常使用するスキャナ」として設定されていても、新たに登録したスキャナを「通常使用するスキャナ」として排他的に設定する。
<Embodiment 3>
Next, Embodiment 3 of the present invention will be described with reference to FIG.
The third embodiment is a modification of the second embodiment, and when the selected printer has a scanner function and the printer (that is, the multi-function peripheral) is also registered as a scanner, another scanner has already “normally used”. The newly registered scanner is exclusively set as the “normally used scanner” even if it is set as the “scanner to be used”.

図9は、実施形態3に係る「プリンタの登録処理」の流れを示すフローチャートである。実施形態3に係る「プリンタの登録処理」では、S203で肯定判定されるとS202(第1の設定処理の一例)に進む点で実施形態2と異なる。S202に進むので、実施形態3では既に他のスキャナが「通常使用するスキャナ」として設定されていても、S105で選択されたプリンタ(すなわち複合機)が、「通常使用するスキャナ」として設定されることになる。
実施形態3に係る「プリンタの登録処理」はその他の点において実施形態2に係る「プリンタの登録処理」と実質的に同一である。
FIG. 9 is a flowchart illustrating the flow of “printer registration processing” according to the third embodiment. The “printer registration process” according to the third embodiment is different from the second embodiment in that if an affirmative determination is made in S203, the process proceeds to S202 (an example of a first setting process). Since the process proceeds to S202, in the third embodiment, even if another scanner is already set as the “normally used scanner”, the printer (that is, the MFP) selected in S105 is set as the “normally used scanner”. It will be.
The “printer registration process” according to the third embodiment is substantially the same as the “printer registration process” according to the second embodiment in other respects.

以上説明した本発明の実施形態3に係るデバイス制御プログラムによると、新たに登録されたデバイスを「スキャナ機能の実行に通常使用するデバイス」として設定する。スキャナ機能について複数のデバイスを登録可能な場合、新たに登録されたデバイスは、ユーザが使用しようとしているデバイスである可能性が高いといえる。   According to the device control program according to the third embodiment of the present invention described above, the newly registered device is set as “a device normally used for executing the scanner function”. When a plurality of devices can be registered for the scanner function, it can be said that there is a high possibility that the newly registered device is a device that the user intends to use.

このデバイス制御プログラムによると、新たに登録されたデバイスを「スキャナ機能の実行に通常使用するデバイス」として設定するので、スキャナ機能について複数のデバイスを登録可能な場合に、「スキャナ機能の実行に通常使用するデバイス」をユーザに設定させる負担を低減しつつ、ユーザが使用しようとしている可能性が高いデバイスを「スキャナ機能の実行に通常使用するデバイス」として設定できる。   According to this device control program, a newly registered device is set as a “device that is normally used to execute the scanner function”. Therefore, if multiple devices can be registered for the scanner function, A device that is likely to be used by the user can be set as a “device that is normally used for executing the scanner function” while reducing the burden of setting the “device to be used” by the user.

<通常使用するデバイスの変更>
次に、「通常使用するデバイス」の変更処理について図10によって説明する。
前述したように実施形態2及び実施形態3では登録されているプリンタの中から「通常使用するプリンタ」をユーザが変更することができる。また、スキャナについても登録されているスキャナの中から「通常使用するスキャナ」をユーザが変更することができる。
<Change of device used normally>
Next, the “normally used device” changing process will be described with reference to FIG.
As described above, in the second and third embodiments, the “normally used printer” can be changed by the user from among the registered printers. In addition, the user can change the “normally used scanner” from among the registered scanners.

デバイス制御プログラムは、「通常使用するプリンタ」をユーザが変更した場合、そのプリンタがスキャナ機能を備えている場合には、そのプリンタ(すなわち複合機)を「通常使用するスキャナ」としても設定する。
具体的には、デバイス制御プログラムは、「通常使用するプリンタ」をユーザが変更した場合には、変更後のプリンタがスキャナとしても登録されているか否か(スキャナ機能を実行するためのデバイスとして登録されているデバイスのデバイス情報の中に、そのプリンタのデバイス名と一致するデバイス名があるか否か)を判定し(第4の判定処理の一
例)、登録されている場合には、そのプリンタ(すなわち複合機)を、「通常使用するスキャナ」としても設定する(第4の設定処理の一例)。
When the user changes the “normally used printer” and the printer has a scanner function, the device control program also sets the printer (that is, the multifunction device) as the “normally used scanner”.
Specifically, when the user changes “normally used printer”, the device control program determines whether the changed printer is also registered as a scanner (registered as a device for executing the scanner function). Whether or not the device name of the device that has been registered has a device name that matches the device name of the printer) (an example of the fourth determination process). (That is, the MFP) is also set as a “normally used scanner” (an example of a fourth setting process).

図10は、「通常使用するデバイスの変更処理」の流れを示すフローチャートである。本処理はユーザが画面55でプルダウンメニュー55bにタッチすると開始される。   FIG. 10 is a flowchart showing a flow of “normally used device change processing”. This process is started when the user touches the pull-down menu 55b on the screen 55.

S301では、デバイス制御プログラムは登録されているプリンタのデバイス名をプルダウンメニューに一覧表示し、ユーザがプルダウンメニュー55bからいずれかのプリンタを選択するまで待機する。
S302では、デバイス制御プログラムは選択されたプリンタのデバイス情報を記憶部18から取得する。前述したように、登録されたプリンタ及びスキャナのデバイス情報は全て記憶部18に記憶されている。
In S301, the device control program displays a list of registered printer device names in the pull-down menu, and waits until the user selects one of the printers from the pull-down menu 55b.
In step S <b> 302, the device control program acquires device information of the selected printer from the storage unit 18. As described above, all the registered device information of the printer and scanner is stored in the storage unit 18.

S303では、デバイス制御プログラムは、取得したデバイス情報が、スキャナ機能を実行するためのデバイスのデバイス情報として記憶部18に登録されているか否かを判断する。つまり、デバイス制御プログラムは、S301で選択されたプリンタがスキャナとしても登録されているか否かを判定する。デバイス制御プログラムは、スキャナとしても登録されている場合はS304に進み、スキャナとしては登録されていない場合は、S306に進む。   In S303, the device control program determines whether or not the acquired device information is registered in the storage unit 18 as device information of a device for executing the scanner function. That is, the device control program determines whether the printer selected in S301 is also registered as a scanner. If the device control program is also registered as a scanner, the process proceeds to S304. If the device control program is not registered as a scanner, the process proceeds to S306.

S304では、デバイス制御プログラムは、既に他のスキャナが「通常使用するスキャナ」として設定されているか否かを判断する。デバイス制御プログラムは、他のスキャナが「通常使用するスキャナ」として設定されている場合はS306に進み、設定されていない場合はS305に進む。   In step S304, the device control program determines whether another scanner has already been set as a “normally used scanner”. The device control program proceeds to S306 if another scanner is set as “normally used scanner”, and proceeds to S305 if it is not set.

S305では、デバイス制御プログラムは、S301で選択されたプリンタ(すなわち複合機)を「通常使用するスキャナ」として排他的に設定する。
S306では、デバイス制御プログラムは、S301で選択されたプリンタ(すなわちプリンタ、又は複合機)を「通常使用するプリンタ」として排他的に設定する。
In step S305, the device control program exclusively sets the printer (that is, the multifunction device) selected in step S301 as the “normally used scanner”.
In S <b> 306, the device control program exclusively sets the printer selected in S <b> 301 (that is, a printer or a multi-function peripheral) as a “normally used printer”.

以上により変更処理が終了する。なお、本処理では既に他のスキャナが「通常使用するスキャナ」として設定されている場合はS301で選択されたプリンタ(すなわち複合機)を「通常使用するスキャナ」として設定しない構成であるが、S301で選択されたプリンタ(すなわち複合機)を「通常使用するスキャナ」として設定する構成であってもよい。その場合、S304の判断を削除すればよい。   Thus, the change process ends. In this processing, if another scanner has already been set as “normally used scanner”, the printer selected in S301 (that is, the multifunction device) is not set as “normally used scanner”. The printer (that is, the multifunction device) selected in (1) may be set as a “normally used scanner”. In that case, the determination in S304 may be deleted.

以上説明した「通常使用するデバイス」の変更処理によると、画面55において選択されたプリンタを、プリンタ機能の実行に通常使用するデバイスとして設定するのみならず、スキャナ機能の実行に通常使用するデバイスとしても設定する。
一つの機能について登録されている1以上のデバイスのうちユーザが選択したデバイスを当該一つの機能の実行に通常使用するデバイスとして設定した場合、ユーザはそのデバイスを他の機能の実行にも使用する可能性が高いといえる。なぜなら、例えば最新のデバイスを新たに設置し、前記一つの機能について当該最新のデバイスを当該一つの機能の実行に使用するデバイスとして設定した場合、他の機能についてもユーザはその最新のデバイスを使用したいと考えることが想定されるからである。
According to the “normally used device” changing process described above, the printer selected on the screen 55 is not only set as a device normally used for executing the printer function, but also as a device normally used for executing the scanner function. Also set.
When a device selected by the user among one or more devices registered for one function is set as a device that is normally used for executing the one function, the user uses the device for executing another function. It is highly possible. This is because, for example, when a newest device is newly installed and the latest device is set as a device used to execute the one function for the one function, the user uses the latest device for other functions. Because it is assumed that you want to do.

また、例えばユーザが場所を移動し、移動先の場所にある複合機を「通常使用するプリンタ」として設定したとする。この場合、その移動先で画像を取り込みたい場合には、多くの場合、ユーザはその複合機を「通常使用するスキャナ」としても設定することになる。つまり、携帯電話1のように持ち運べる端末装置では、「通常使用するプリンタ」が変
更されると、そのプリンタ(すなわち複合機)が「通常使用するスキャナ」としても設定される可能性が高い。
Also, for example, assume that the user moves a location and sets a multifunction device in the destination location as a “normally used printer”. In this case, if the user wants to capture an image at the destination, the user often sets the multifunction device as a “normally used scanner”. That is, in a terminal device that can be carried like the mobile phone 1, if the “normally used printer” is changed, the printer (that is, the multifunction device) is likely to be set as the “normally used scanner”.

このデバイス制御プログラムによると、ユーザが「通常使用するプリンタ(プリンタ機能の実行に使用するデバイス)」を変更した場合に、変更後のプリンタがスキャナ機能を備えている場合は、そのプリンタ(すなわち複合機)を「通常使用するスキャナ(スキャナ機能の実行に使用するデバイス)」としても設定する可能性が高いので、ユーザがそのプリンタを「通常使用するスキャナ」として設定する手間を低減できる。   According to this device control program, when the user changes the “normally used printer (device used for executing the printer function)” and the changed printer has the scanner function, the printer (that is, the composite) Is likely to be set as a “usually used scanner (device used for executing the scanner function)”, it is possible to reduce the trouble of the user setting the printer as a “normally used scanner”.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

(1)上記実施形態では複数の機能としてプリンタ機能とスキャナ機能とを例に説明したが、複数の機能はこれらに限られるものではなく、例えば複数の機能の一つはファクシミリ機能であってもよい。   (1) In the above-described embodiment, the printer function and the scanner function are described as examples of the plurality of functions. However, the plurality of functions are not limited to these. For example, one of the plurality of functions may be a facsimile function. Good.

(2)上記実施形態では端末装置として携帯電話を例に説明したが、端末装置は携帯電話に限られるものではなく、パーソナルコンピュータや携帯情報端末などであってもよい。   (2) In the above embodiment, a mobile phone has been described as an example of a terminal device. However, the terminal device is not limited to a mobile phone, and may be a personal computer, a portable information terminal, or the like.

(3)上記実施形態ではデバイス制御プログラムが複数機種のデバイスを制御可能な場合を例に説明したが、デバイス制御プログラムは特定の1機種の複合機のみを制御可能なものであってもよい。
そして、1以上の当該機種の複合機の中からいずれかが選択された場合に、デバイス制御プログラムはその複合機を、プリンタ機能を実行するためのデバイス、及びスキャナ機能を実行するためのデバイスとして登録してもよい。
なお、この場合は機種が特定されているので、デバイス制御プログラムはその複合機がプリンタ機能やスキャナ機能を備えているか否かを予め知っているはずである。したがって、その場合は複合機がプリンタ機能やスキャナ機能を備えているか否か、あるいはデバイス制御プログラムがそれらの機能を制御可能であるか否かを判定することなく登録してもよい。
(3) In the above-described embodiment, the case where the device control program can control a plurality of types of devices has been described as an example. However, the device control program may control only one specific type of multifunction peripheral.
When any one of the one or more multifunction peripherals is selected, the device control program uses the multifunction peripheral as a device for executing the printer function and a device for executing the scanner function. You may register.
In this case, since the model is specified, the device control program should know in advance whether or not the multifunction peripheral has a printer function and a scanner function. Therefore, in this case, registration may be performed without determining whether the multi-function peripheral has a printer function or a scanner function, or whether the device control program can control these functions.

(4)上記実施形態では画像を選択してからプリンタを選択する場合を例に説明したが、例えばメインメニューに「プリンタの選択」、「通常使用するプリンタの設定」といったメニューを設けてもよい。   (4) In the above-described embodiment, the case where the printer is selected after selecting an image has been described as an example. However, for example, a menu such as “select a printer” or “set a printer for normal use” may be provided in the main menu .

(5)上記実施形態では検索したプリンタの中からプリンタを選択したときに、そのプリンタがスキャナ機能を備えている場合には、そのプリンタ(すなわち複合機)をスキャナとして登録していたが、検索したスキャナの中からスキャナを選択したときに、そのスキャナがプリンタ機能を備えている場合には、そのスキャナ(すなわち複合機)をプリンタとして登録してもよい。   (5) In the above embodiment, when a printer is selected from the searched printers, if the printer has a scanner function, the printer (that is, the multifunction device) is registered as a scanner. When a scanner is selected from the scanners selected, if the scanner has a printer function, the scanner (that is, the multifunction machine) may be registered as a printer.

1・・・携帯電話
2・・・デバイス
2a、2b・・・複合機
2c、2d・・・プリンタ
2e、2f・・・スキャナ
3・・・基地局
4・・・無線LANルータ
5・・・通信ネットワーク
11・・・制御部
12・・・送受信部
13・・・音声入出力部
14・・・無線通信部
15・・・表示部
16・・・操作部
17・・・撮像部
18・・・記憶部
DESCRIPTION OF SYMBOLS 1 ... Mobile phone 2 ... Device 2a, 2b ... Multifunction machine 2c, 2d ... Printer 2e, 2f ... Scanner 3 ... Base station 4 ... Wireless LAN router 5 ... Communication network 11 ... Control unit 12 ... Transmission / reception unit 13 ... Audio input / output unit 14 ... Wireless communication unit 15 ... Display unit 16 ... Operation unit 17 ... Imaging unit 18 ...・ Storage unit

Claims (15)

第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、
記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、
を前記端末装置に実行させ
当該デバイス制御プログラムは複数機種のデバイスを制御可能であり、
前記登録処理において、前記第1の機能及び前記第2の機能について、機能毎に、前記デバイス受付処理によって指定されたデバイスが当該機能を有していることを必要条件として、当該機能を実行するためのデバイスとして前記端末装置に登録する、デバイス制御プログラム。
A device control program for controlling the device with the device and the second function having a first function,
And the device receiving process that accepts a specification before Symbol Lud device to perform the first function,
The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
To the terminal device ,
The device control program can control multiple types of devices,
In the registration process, for the first function and the second function, the function is executed for each function on the condition that the device specified by the device reception process has the function. A device control program for registering in the terminal device as a device for
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、
記第1の機能を有するデバイスを検索する検索処理と、
前記検索処理によって検索されたデバイスの中から前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、
を前記端末装置に実行させ
当該デバイス制御プログラムは複数機種のデバイスを制御可能であり、
前記登録処理において、前記第1の機能及び前記第2の機能について、機能毎に、前記デバイス受付処理によって指定されたデバイスが当該機能を有していることを必要条件として、当該機能を実行するためのデバイスとして前記端末装置に登録する、デバイス制御プログラム。
A device control program for controlling the device with the device and the second function having a first function,
A search process for searching for devices having a pre-Symbol first function,
A device reception process for receiving designation of a device that executes the first function from among the devices searched by the search process;
The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
To the terminal device ,
The device control program can control multiple types of devices,
In the registration process, for the first function and the second function, the function is executed for each function on the condition that the device specified by the device reception process has the function. A device control program for registering in the terminal device as a device for
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、A device control program for controlling a device having a first function and a device having a second function,
前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、Device acceptance processing for accepting designation of a device that executes the first function;
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
を前記端末装置に実行させ、To the terminal device,
前記端末装置には一つの機能について複数のデバイスを登録可能であり、A plurality of devices can be registered for one function in the terminal device,
前記第1の機能及び前記第2の機能のうちいずれかの機能について前記登録処理において新たにデバイスを登録する場合に、当該新たに登録するデバイスを、当該機能の実行に使用するデバイスとして排他的に設定する第1の設定処理を前記端末装置に実行させ、When a new device is registered in the registration process for any one of the first function and the second function, the newly registered device is exclusive as a device used for executing the function. Causing the terminal device to execute a first setting process for setting to
前記制御処理は、前記第1の機能及び前記第2の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる、デバイス制御プログラム。The control process is set for each of the first function and the second function as a device used to execute the function among devices registered as the device for executing the function. A device control program that controls a device and executes that function.
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、A device control program for controlling a device having a first function and a device having a second function,
前記第1の機能を有するデバイスを検索する検索処理と、A search process for searching for a device having the first function;
前記検索処理によって検索されたデバイスの中から前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、A device reception process for receiving designation of a device that executes the first function from among the devices searched by the search process;
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
を前記端末装置に実行させ、To the terminal device,
前記端末装置には一つの機能について複数のデバイスを登録可能であり、A plurality of devices can be registered for one function in the terminal device,
前記第1の機能及び前記第2の機能のうちいずれかの機能について前記登録処理において新たにデバイスを登録する場合に、当該新たに登録するデバイスを、当該機能の実行に使用するデバイスとして排他的に設定する第1の設定処理を前記端末装置に実行させ、When a new device is registered in the registration process for any one of the first function and the second function, the newly registered device is exclusive as a device used for executing the function. Causing the terminal device to execute a first setting process for setting to
前記制御処理は、前記第1の機能及び前記第2の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる、デバイス制御プログラム。The control process is set for each of the first function and the second function as a device used to execute the function among devices registered as the device for executing the function. A device control program that controls a device and executes that function.
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、A device control program for controlling a device having a first function and a device having a second function,
前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、Device acceptance processing for accepting designation of a device that executes the first function;
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
を前記端末装置に実行させ、To the terminal device,
前記端末装置には一つの機能について複数のデバイスを登録可能であり、A plurality of devices can be registered for one function in the terminal device,
前記第1の機能及び前記第2の機能のうちいずれかの機能について前記登録処理において新たにデバイスを登録する場合に、既に他のデバイスが当該機能とは異なる機能の実行に使用するデバイスとして設定されているか否かを判定する第3の判定処理と、When a new device is registered in the registration process for one of the first function and the second function, another device is already set as a device used to execute a function different from the function. A third determination process for determining whether or not
前記第3の判定処理によって他のデバイスが当該機能とは異なる機能の実行に使用するデバイスとして設定されていないと判定された場合に、当該新たに登録されたデバイスを、当該異なる機能の実行に使用するデバイスとして排他的に設定する第2の設定処理と、When it is determined by the third determination process that no other device is set as a device used for executing a function different from the function, the newly registered device is set to execute the different function. A second setting process exclusively set as a device to be used;
を前記端末装置に実行させ、To the terminal device,
前記制御処理は、前記第1の機能及び前記第2の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる、デバイス制御プログラム。The control process is set for each of the first function and the second function as a device used to execute the function among devices registered as the device for executing the function. A device control program that controls a device and executes that function.
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、A device control program for controlling a device having a first function and a device having a second function,
前記第1の機能を有するデバイスを検索する検索処理と、A search process for searching for a device having the first function;
前記検索処理によって検索されたデバイスの中から前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、A device reception process for receiving designation of a device that executes the first function from among the devices searched by the search process;
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
を前記端末装置に実行させ、To the terminal device,
前記端末装置には一つの機能について複数のデバイスを登録可能であり、A plurality of devices can be registered for one function in the terminal device,
前記第1の機能及び前記第2の機能のうちいずれかの機能について前記登録処理において新たにデバイスを登録する場合に、既に他のデバイスが当該機能とは異なる機能の実行に使用するデバイスとして設定されているか否かを判定する第3の判定処理と、When a new device is registered in the registration process for one of the first function and the second function, another device is already set as a device used to execute a function different from the function. A third determination process for determining whether or not
前記第3の判定処理によって他のデバイスが当該機能とは異なる機能の実行に使用するデバイスとして設定されていないと判定された場合に、当該新たに登録されたデバイスを、当該異なる機能の実行に使用するデバイスとして排他的に設定する第2の設定処理と、When it is determined by the third determination process that no other device is set as a device used for executing a function different from the function, the newly registered device is set to execute the different function. A second setting process exclusively set as a device to be used;
を前記端末装置に実行させ、To the terminal device,
前記制御処理は、前記第1の機能及び前記第2の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる、デバイス制御プログラム。The control process is set for each of the first function and the second function as a device used to execute the function among devices registered as the device for executing the function. A device control program that controls a device and executes that function.
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、A device control program for controlling a device having a first function and a device having a second function,
前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、Device acceptance processing for accepting designation of a device that executes the first function;
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
を前記端末装置に実行させ、To the terminal device,
前記端末装置には一つの機能について複数のデバイスを登録可能であり、A plurality of devices can be registered for one function in the terminal device,
一つの機能について前記端末装置に登録されている1以上のデバイスの中からいずれかのデバイスの指定を受け付ける第2のデバイス受付処理と、A second device accepting process for accepting designation of one of one or more devices registered in the terminal device for one function;
前記第2のデバイス受付処理によって指定されたデバイスを、当該一つの機能の実行に使用するデバイスとして排他的に設定する第3の設定処理と、A third setting process for exclusively setting a device designated by the second device reception process as a device used for executing the one function;
当該指定されたデバイスが他の機能を実行するためのデバイスとして登録されているか否かを判定する第4の判定処理と、A fourth determination process for determining whether or not the designated device is registered as a device for executing another function;
前記第4の判定処理によって当該指定されたデバイスが他の機能を実行するためのデバイスとして登録されていると判定された場合に、当該指定されたデバイスを、前記他の機能の実行に使用するデバイスとして排他的に設定する第4の設定処理と、When it is determined by the fourth determination process that the specified device is registered as a device for executing another function, the specified device is used for executing the other function. A fourth setting process to set exclusively as a device;
を前記端末装置に実行させ、To the terminal device,
前記制御処理は、前記第1の機能及び前記第2の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる、デバイス制御プログラム。The control process is set for each of the first function and the second function as a device used to execute the function among devices registered as the device for executing the function. A device control program that controls a device and executes that function.
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御プログラムであって、A device control program for controlling a device having a first function and a device having a second function,
前記第1の機能を有するデバイスを検索する検索処理と、A search process for searching for a device having the first function;
前記検索処理によって検索されたデバイスの中から前記第1の機能を実行するデバイスの指定を受け付けるデバイス受付処理と、A device reception process for receiving designation of a device that executes the first function from among the devices searched by the search process;
前記デバイス受付処理によって指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録処理と、The device specified by the device reception process is registered in a terminal device that executes the device control program as a device for executing the first function, and the device as a device for executing the second function Registration processing to be registered in the terminal device;
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御処理と、A control process for controlling the device registered in the terminal device as a device for executing the function and executing the function when the first function or the second function is executed;
を前記端末装置に実行させ、To the terminal device,
前記端末装置には一つの機能について複数のデバイスを登録可能であり、A plurality of devices can be registered for one function in the terminal device,
一つの機能について前記端末装置に登録されている1以上のデバイスの中からいずれかのデバイスの指定を受け付ける第2のデバイス受付処理と、A second device accepting process for accepting designation of one of one or more devices registered in the terminal device for one function;
前記第2のデバイス受付処理によって指定されたデバイスを、当該一つの機能の実行に使用するデバイスとして排他的に設定する第3の設定処理と、A third setting process for exclusively setting a device designated by the second device reception process as a device used for executing the one function;
当該指定されたデバイスが他の機能を実行するためのデバイスとして登録されているか否かを判定する第4の判定処理と、A fourth determination process for determining whether or not the designated device is registered as a device for executing another function;
前記第4の判定処理によって当該指定されたデバイスが他の機能を実行するためのデバイスとして登録されていると判定された場合に、当該指定されたデバイスを、前記他の機能の実行に使用するデバイスとして排他的に設定する第4の設定処理と、When it is determined by the fourth determination process that the specified device is registered as a device for executing another function, the specified device is used for executing the other function. A fourth setting process to set exclusively as a device;
を前記端末装置に実行させ、To the terminal device,
前記制御処理は、前記第1の機能及び前記第2の機能について、機能毎に、当該機能を実行するためのデバイスとして登録されているデバイスのうち当該機能の実行に使用するデバイスとして設定されているデバイスを制御して当該機能を実行させる、デバイス制御プログラム。The control process is set for each of the first function and the second function as a device used to execute the function among devices registered as the device for executing the function. A device control program that controls a device and executes that function.
請求項2、請求項4、請求項6乃至請求項8のいずれか一項に記載のデバイス制御プログラムであって、
前記検索処理において、前記デバイスから少なくともデバイス名を含むデバイス情報を取得し、
前記デバイス受付処理において、前記検索処理によって取得されたデバイス名を前記端末装置が備える表示部に表示させる、デバイス制御プログラム。
A device control program according to any one of claims 2 , 4, and 6 to 8 ,
In the search process, and it acquires device information including at least device name before Kide device,
In the device reception process, a device control program for displaying a device name acquired by the search process on a display unit included in the terminal device.
請求項1乃至請求項のいずれか一項に記載のデバイス制御プログラムであって、
前記第1の機能及び前記第2の機能の一方は画像を印刷する機能であり、他方は画像を取り込む機能である、デバイス制御プログラム。
A device control program according to any one of claims 1 to 9 ,
One of the first function and the second function is a function for printing an image, and the other is a function for capturing an image.
請求項1又は請求項に記載のデバイス制御プログラムであって、
前記端末装置に前記第1の機能を実行するためのデバイスが登録されている状態で前記デバイス受付処理によって当該デバイスとは異なる他のデバイスが前記第1の機能を実行するためのデバイスとして指定された場合は、前記登録処理において、前記第1の機能を実行するためのデバイスを当該他のデバイスに変更するとともに、前記第2の機能を実行するためのデバイスを当該他のデバイスに変更する、デバイス制御プログラム。
The device control program according to claim 1 or 2 ,
In a state where a device for executing the first function is registered in the terminal device, another device different from the device is designated as a device for executing the first function by the device reception process. In the registration process, the device for executing the first function is changed to the other device and the device for executing the second function is changed to the other device in the registration process. Device control program.
請求項1乃至請求項11のいずれか一項に記載のデバイス制御プログラムであって、
前記端末装置は表示部を備え、
当該デバイス制御プログラムは、
前記第1の機能及び前記第2の機能のうちいずれかの機能の選択を受け付ける機能選択処理と、
前記機能選択処理によって機能が選択された場合に、当該選択された機能を実行する指示をユーザから受け付ける画面を前記表示部に表示させる表示処理と、
を前記端末装置に実行させ、
前記表示処理において、前記機能選択処理によって選択された機能を実行するためのデバイスが既に前記端末装置に登録されている場合は、当該登録されているデバイスを示すデバイス情報を前記画面に表示させる、デバイス制御プログラム。
A device control program according to any one of claims 1 to 11 ,
The terminal device includes a display unit,
The device control program is
A function selection process for accepting selection of one of the first function and the second function;
When a function is selected by the function selection process, a display process for causing the display unit to display a screen for accepting an instruction to execute the selected function from the user;
To the terminal device,
In the display process, if a device for executing the function selected by the function selection process has already been registered in the terminal device, device information indicating the registered device is displayed on the screen. Device control program.
請求項1又は請求項2に記載のデバイス制御プログラムであって、
前記登録処理は、
前記第1の機能及び前記第2の機能毎に、前記指定されたデバイスが当該機能を有しているか否かを判定する第1の判定処理と、
前記第1の判定処理によって当該指定されたデバイスが当該機能を有していると判定された場合に、当該指定されたデバイスが有している当該機能を当該デバイス制御プログラムから制御可能であるか否かを判定する第2の判定処理と、
を含み、
前記第2の判定処理によって制御可能であると判定された場合に、当該機能を実行するためのデバイスとして前記端末装置に登録する、デバイス制御プログラム。
The device control program according to claim 1 or 2 ,
The registration process includes
For each of the first function and the second function, the first determination process determines whether the specified device has the function,
If the specified device by the first determination process is determined to have the function, or the function the specified device that has a controllable from the device control program A second determination process for determining whether or not;
Including
A device control program for registering in the terminal device as a device for executing the function when it is determined that control is possible by the second determination processing.
第1の機能を有するデバイス及び第2の機能を有するデバイスを制御するデバイス制御方法であって、
記第1の機能を実行するデバイスの指定を受け付けるデバイス受付段階と、
前記デバイス受付段階において指定されたデバイスを、前記第1の機能を実行するためのデバイスとして前記デバイス制御プログラムを実行する端末装置に登録するとともに、前記第2の機能を実行するためのデバイスとして前記端末装置に登録する登録段階と、
前記第1の機能又は前記第2の機能を実行させる場合に、当該機能を実行するためのデバイスとして前記端末装置に登録されているデバイスを制御して当該機能を実行させる制御段階と、
を含み、
前記端末装置は複数機種のデバイスを制御可能であり、
前記登録段階において、前記第1の機能及び前記第2の機能について、機能毎に、前記デバイス受付処理によって指定されたデバイスが当該機能を有していることを必要条件として、当該機能を実行するためのデバイスとして前記端末装置に登録する、デバイス制御方法。
A device control method for controlling a device having a device and a second function having a first function,
And the device acceptance stage to accept the designation of Lud device to perform before Symbol first function,
The device specified in the device reception stage is registered in a terminal device that executes the device control program as a device for executing the first function, and as a device for executing the second function A registration stage to register with the terminal device;
When executing the first function or the second function, a control step of controlling a device registered in the terminal device as a device for executing the function and executing the function;
Only including,
The terminal device can control a plurality of types of devices,
In the registration stage, for each of the first function and the second function, the function is executed on the condition that the device specified by the device reception process has the function. A device control method for registering in the terminal device as a device for use.
複数のデバイスと接続可能な端末装置において、実行する機能毎に前記デバイスを設定するデバイス制御プログラムであって、
1の機能の実行のために1のデバイスが指定されたとき、前記1のデバイスで実行可能な他の機能が前記デバイス制御プログラムで制御可能である場合、前記1の機能及び前記他の機能の実行デバイスとして前記1のデバイスを設定する設定処理と、
前記設定処理で前記1の機能の実行デバイスとして設定されたデバイスとは異なる他のデバイスが前記1の機能の実行のために指定されたとき、前記他のデバイスで実行可能な他の機能が前記デバイス制御プログラムで制御可能である場合、前記設定処理で前記1の機能及び前記他の機能の実行デバイスとして設定されたデバイスを前記他のデバイスに変更する設定変更処理と、
を前記端末装置に実行させるデバイス制御プログラム。
In a terminal device connectable with a plurality of devices, a device control program for setting the device for each function to be executed,
When one device is designated for execution of one function, when another function that can be executed by the one device is controllable by the device control program, the function of the first function and the other function A setting process for setting the first device as an execution device;
When another device different from the device set as the execution device for the first function in the setting process is designated for the execution of the first function, another function that can be executed by the other device is If control is possible with a device control program, a setting change process for changing the device set as the execution device for the first function and the other function to the other device in the setting process;
A device control program for causing the terminal device to execute
JP2012164441A 2012-07-25 2012-07-25 Device control program and device control method Active JP5445637B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012164441A JP5445637B2 (en) 2012-07-25 2012-07-25 Device control program and device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012164441A JP5445637B2 (en) 2012-07-25 2012-07-25 Device control program and device control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010147430A Division JP5051278B2 (en) 2010-06-29 2010-06-29 Device control program and device control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013269167A Division JP5672368B2 (en) 2013-12-26 2013-12-26 Device control program and device control method

Publications (2)

Publication Number Publication Date
JP2012238323A JP2012238323A (en) 2012-12-06
JP5445637B2 true JP5445637B2 (en) 2014-03-19

Family

ID=47461114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012164441A Active JP5445637B2 (en) 2012-07-25 2012-07-25 Device control program and device control method

Country Status (1)

Country Link
JP (1) JP5445637B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6123276B2 (en) * 2012-12-18 2017-05-10 株式会社リコー Information processing apparatus and program
CN103094793B (en) * 2013-01-07 2015-11-25 华为终端有限公司 The smart card connecting circuit of electronic equipment and electronic equipment
US10708130B2 (en) 2015-08-28 2020-07-07 Hewlett-Packard Development Company, L.P. Common management frameworks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3861799B2 (en) * 2002-11-21 2006-12-20 ブラザー工業株式会社 Driver setting system and driver
JP2009042902A (en) * 2007-08-07 2009-02-26 Brother Ind Ltd Information terminal equipment, program, and information processing system
JP2009205529A (en) * 2008-02-28 2009-09-10 Murata Mach Ltd Driver installation method and driver installation program
JP5137641B2 (en) * 2008-03-19 2013-02-06 キヤノン株式会社 Information processing apparatus, image processing system, image processing method, and program

Also Published As

Publication number Publication date
JP2012238323A (en) 2012-12-06

Similar Documents

Publication Publication Date Title
US10375257B2 (en) Display of two functions of device used with data processing apparatus
JP5051278B2 (en) Device control program and device control method
JP5929399B2 (en) Information providing apparatus, information providing system, and program
US11729321B2 (en) Display of two functions of device used with data processing apparatus
JP2016114982A (en) Information processing apparatus, recording system, printing program, and external program
JP5445637B2 (en) Device control program and device control method
JP2018005295A (en) Program and mobile terminal
JP5672368B2 (en) Device control program and device control method
JP6717402B2 (en) Information processing device, recording system, print program, and external program
JP2016114981A (en) Information processing apparatus, recording system, printing program, and external program
JP6816750B2 (en) Device control program and device control method
JP6092074B2 (en) Information processing apparatus, image forming system, and information processing method
JP6421861B2 (en) Device control program and device control method
JP7400853B2 (en) Device control program and device control method
JP6233448B2 (en) Device control program and device control method
JP5935868B2 (en) Device control program and device control method
JP2015060371A (en) Program, information processor, control method of information processor
JP7283147B2 (en) Information processing device, program, electronic device registration method
JP7371442B2 (en) Information processing equipment, programs, and electronic device registration methods
JP6677335B2 (en) Mobile terminal, content designation program, and output program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20120806

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130806

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130820

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131018

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131209

R150 Certificate of patent or registration of utility model

Ref document number: 5445637

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150