Non-transitory computer-readable recording medium storing computer-readable instructions for communication device and communication device

A communication device may display a specific screen including a selection image and a plurality of item images, and in a first case where the selection image is selected, supply a trigger instruction to an OS program. The trigger instruction may include an instruction for causing the OS program to display a first image, and the first image may be for notifying a user to perform a predetermined action which is necessary for executing a wireless communication with an external device. The first image may be displayed such that at least one item image among the plurality of item images is not displayed. The communication device, in the first case after the specific screen has been displayed, may output target information related to the at least one item image.

This application claims priority to Japanese Patent Application No. 2018-060026, filed on Mar. 27, 2018, the entire contents of which are incorporated herein by reference.

TECHNICAL FIELD

The disclosure herein discloses a technology related to a communication device capable of communicating with an external device.

BACKGROUND ART

A mobile communication terminal device capable of communicating with a multifunction peripheral (MFP) is known. The terminal device displays a screen that includes setting items such as a paper type and a paper width, and a message notifying a user that preparation for NFC communication has been done. In the screen, an area where the setting items are displayed is different from an area where the message is displayed.

SUMMARY

The technology above does not assume a configuration in which, when a certain image is to be displayed while another image is displayed, for example, the certain image is to be displayed such that at least a part of the other image is not displayed (e.g., a configuration in which the certain image is to be displayed in front of the other image). In such a configuration, a user cannot recognize at least a part of the other image. The disclosure herein provides a technology capable of improving user's convenience when images different from each other are displayed.

The disclosure herein discloses a non-transitory computer-readable recording medium storing computer-readable instructions for a communication device. The communication device may comprise a display unit; a wireless interface; a computer; and an Operating System (OS) program executed by the computer. The computer-readable instructions, when executed by the computer, may cause the communication device to perform: displaying a specific screen on the display unit, the specific screen including a selection image and a plurality of item images, the selection image being for a user to select execution of a wireless communication via the wireless interface with an external device; in a first case where the selection image included in the specific screen is selected, supplying a trigger instruction for executing the wireless communication with the external device to the OS program, the trigger instruction including an instruction for causing the OS program to display a first image on the display unit, the first image being for notifying the user to perform a predetermined action which is necessary for executing the wireless communication with the external device, and the first image being displayed such that at least one item image among the plurality of item images included in the specific screen is not displayed; and in the first case after the specific screen has been displayed on the display unit, outputting target information related to the at least one item image.

The above communication device itself is also novel and useful. Moreover, a communication system that includes the above communication device and the above external device is also novel and useful.

EMBODIMENT

As shown inFIG. 1, a communication system2includes a mobile terminal10and a multifunction peripheral (hereinafter termed “MFP”)100. The mobile terminal10and the MFP100are capable of mutually executing Wi-Fi communication which is wireless communication according to a Wi-Fi scheme and Near Field Communication (NFC) communication which is wireless communication according to an NFC scheme.

(Configuration of Mobile Terminal10)

The mobile terminal10is a portable communication device such as a mobile phone, a smartphone, a PDA, a notebook PC, a tablet PC, a mobile music player, or a mobile video player. The mobile terminal10includes an operation unit12, a display unit14, a speaker16, a Wi-Fi interface (interface will hereinafter be described as “I/F”)30, an NFC I/F32, and a controller40.

The operation unit12includes a plurality of keys. A user can input various instructions into the mobile terminal10by operating the operation unit12. The display unit14is a display for displaying various types of information. The display unit14also functions as a so-called touch panel (i.e., as an operation unit). The speaker16outputs audio data.

The Wi-Fi I/F30is an I/F for executing Wi-Fi communication according to the Wi-Fi scheme. The Wi-Fi scheme is a wireless communication scheme based on, for example, 802.11 standard of the Institute of Electrical and Electronics Engineers, Inc. (IEEE) and standards complying thereto (e.g., 802.11a, 11b, 11g, 11n, 11ac, and the like).

The NFC I/F32is an I/F for executing NFC communication according to the NFC scheme. The NFC scheme is a wireless communication scheme based on, for example, international standards such as ISO/IEC 14443, 15693, and 18092. As types of I/F for executing NFC communication, an I/F called an NFC forum device and an I/F called an NFC forum tag are known. The NFC I/F32is an NFC forum device and is configured to selectively operate in any one of a Peer To Peer (P2P) mode, a Reader/Writer (R/W) mode, and a Card Emulation (CE) mode.

Differences between the Wi-Fi I/F30and the NFC I/F32will be described. A communication speed of Wi-Fi communication via the Wi-Fi I/F30(e.g., a maximum communication speed of 600 Mbps) is faster than a communication speed of NFC communication via the NFC I/F32(e.g., a maximum communication speed of 424 Kbps). Moreover, a carrier wave frequency in Wi-Fi communication via the Wi-Fi I/F30(e.g., a 2.4 GHz band or a 5.0 GHz band) differs from a carrier wave frequency in NFC communication via the NFC I/F32(e.g., a 13.56 MHz band). Moreover, a maximum distance with which Wi-Fi communication can be executed via the Wi-Fi I/F30(e.g., a maximum distance of approximately 100 m) is longer than a maximum distance with which NFC communication can be executed via the NFC I/F32(e.g., a maximum distance of approximately 10 cm).

The controller40includes a CPU42and a memory44. The memory44is constituted of a volatile memory, a nonvolatile memory, and the like. The CPU42is configured to execute various processes in accordance with programs46,48stored in the memory44. An Operating System (OS) program46is a program for controlling various basic operations of the mobile terminal10, and the present embodiment assumes that the OS program46is an iOS (registered trademark). A print scan application48is an application provided by a vendor of the MFP100, and is installed in the mobile terminal10, for example, from a server on the Internet. The print scan application48is an application for establishing a Wi-Fi connection between the mobile terminal10and the MFP100, communicating target data (e.g., print data, scan data) by using the Wi-Fi connection between the mobile terminal10and the MFP100, and the like.

The MFP100is a peripheral device (e.g., a peripheral device of the mobile terminal10) capable of executing multiple functions including a print function and a scan function. The MFP100is assigned with a device name “DDD1” which is information for identifying the MFP100. The MFP100includes an operation unit112, a display unit114, a print executing unit116, a scan executing unit118, a Wi-Fi I/F130, an NFC I/F132, and a controller140.

The operation unit112includes a plurality of keys. The user can input various instructions into the MFP100by operating the operation unit112. The display unit114is a display for displaying various types of information. The display unit114also functions as a so-called touch panel (i.e., as an operation unit). The print executing unit116is a print mechanism of an inkjet type, a laser type, or the like. The scan executing unit118is a scan mechanism such as a CCD or a CIS.

The Wi-Fi I/F130and the NFC I/F132are respectively similar to the Wi-Fi I/F30and the NFC I/F32in the mobile terminal10. It should be noted that the Wi-Fi I/F130supports, especially, a Wi-Fi Direct (registered trademark, WFD) scheme established by the Wi-Fi Alliance. The WFD scheme is a wireless communication scheme described in the specification “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.5” formulated by the Wi-Fi Alliance. In a variant, the NFC I/F132may be an NFC forum tag.

The controller140includes a CPU142and a memory144. The CPU142is configured to execute various processes in accordance with a program146stored in the memory144. The memory144is constituted of a volatile memory, a nonvolatile memory, and the like.

Next, with reference toFIG. 2, a process executed by the CPU42of the mobile terminal10in accordance with the print scan application48will be described. When a user performs an operation to activate the print scan application48, the process inFIG. 2is started. At the time when the process inFIG. 2is started, all of the modes (i.e., the P2P mode, the R/W mode, and the CE mode) of the NFC I/F32of the mobile terminal10are in a disabled state. The disabled state is a state in which NFC communication cannot be executed, and is a state in which power is not supplied to the NFC I/F32, for example. For convenience of explanation, processes executed by the CPU42in accordance with the print scan application48will hereinafter be described with “application48” as the subject of action, and processes executed by the CPU42in accordance with the OS program46will hereinafter be described with “OS46” as the subject of action, instead of describing with the CPU42as the subject of action.

In S10, the application48displays a device selection screen D1on the display unit14. As shown inFIG. 5(A), the device selection screen D1includes a message that instructs the user to select a device in which printing or scanning is to be executed, and a device selection field. When the user operates a pull-down button in the device selection field, the application48displays a pull-down menu Pd1on the display unit14. The pull-down menu Pd1indicates a device name of a device capable of establishing a Wi-Fi connection with the mobile terminal10(such as the device name “DDD1”), and a character string “NFC” meaning NFC communication. The user can operate a device selection of selecting one piece of information from a plurality of information displayed in the pull-down menu Pd1.

In S12, the application48monitors whether the device selection is operated. When the device selection is operated (YES in S12), the application48proceeds to S14. A case where the character string “NFC” is selected by the device selection will be described hereinafter as an example.

In S14, the application48displays a function selection screen D2on the display unit14. As shown inFIG. 5(B), the function selection screen D2includes two buttons respectively corresponding to the print function and the scan function, and the character string “NFC” selected in S12.

In S20and S30, the application48monitors whether either one of the print button and the scan button on the function selection screen D2is selected. When the user selects the print button, the application48determines YES in S20, and executes a print process (seeFIG. 3) in S22. On the other hand, when the user selects the scan button, the application48determines YES in S30, and executes a scan process (seeFIG. 4) in S32. When S22or S32terminates, the process inFIG. 2terminates.FIGS. 7(A) and 7(B)show the screens displayed by a time when the scan button has been selected.

Next, with reference toFIG. 3, details of the print process executed in S22ofFIG. 2will be described. In S50, the application48displays a file selection screen D3on the display unit14. As shown inFIG. 5(C), the file selection screen D3includes a plurality of file selection buttons F1to F4indicating a plurality of file names of a plurality of files stored in the memory44.

In S52, the application48monitors whether a file selection is operated. The file selection is an operation of selecting one of the plurality of file selection buttons F1to F4on the file selection screen D3. When the file selection is operated, the application48determines YES in S52, and proceeds to SM. A case where the file selection button F1is selected will be described hereinafter as an example.

In SM, the application48displays a print preview screen D4on the display unit14. As shown inFIG. 5(D), the print preview screen D4includes a print preview image Pv1represented by the file selected in S52, an NFC button, and a setting button.

The print preview image Pv1is an image corresponding to default print settings preset in the application48. By viewing the print preview image Pv1, the user can know how the image will be printed. The NFC button is a button for changing the R/W mode of the NFC I/F32from the disabled state to an enabled state. The enabled state is a state in which NFC communication in accordance with the R/W mode can be executed, and is a state in which power is supplied to the NFC I/F32, for example. The setting button is a button for performing print setting.

In S60, the application48monitors whether the setting button in the print preview screen D4is operated. When the setting button is selected, the application48determines YES in S60, and proceeds to S62.

In S62, the application48displays a print setting screen D5on the display unit14. As shown inFIG. 5(E), the print setting screen D5includes a size setting field for setting a size of printing paper, a double-sided printing setting field for setting whether or not double-sided printing is to be executed, a paper setting field for setting a paper type of the printing paper, a mode setting field for setting a mode for a print image quality, and an OK button. The user can change the print settings on the print setting screen D5.

In S64, the application48monitors whether the OK button in the print setting screen D5is operated. When the OK button is selected, the application48determines YES in S64, and displays the print preview screen D4again on the display unit14in S54. Here, the application48displays the print preview screen D4that includes the print preview image Pv1corresponding to the print settings displayed on the print setting screen D5when the OK button was selected (i.e., the print settings designated by the user).

Moreover, concurrently with the monitoring of S60, the application48monitors, in S78, whether the NFC button in the print preview screen D4is operated. When the NFC button is selected, the application48determines YES in S78, and proceeds to S80.

In S80, the application48displays a target information image P2(seeFIG. 6) in front of the print preview screen D4. As shown inFIG. 6, the target information image P2includes a reduced image that is obtained by reducing the print preview image Pv1displayed on the print preview screen D4when the NFC button was selected, and a print setting image that indicates the print settings when the NFC button was selected.

In S82, the application48supplies a trigger instruction to the OS46. The trigger instruction is an instruction for requesting the OS46to do the following (1) and (2): (1) to display an NFC image P1(seeFIG. 6) on the display unit14; and (2) to supply, to the NFC I/F32, an R/W mode ON instruction for changing the R/W mode from the disabled state to the enabled state.

In response to obtaining the trigger instruction, the OS46displays the NFC image P1on the display unit14. As shown inFIG. 6, the NFC image P1includes a message for notifying the user that NFC communication can be executed, a message for notifying the user to bring the mobile terminal10close to the MFP, and a cancel button. The NFC image P1has a rectangular shape with a predetermined width and a predetermined height. Further, the NFC image P1is displayed at a predetermined reference position in the display unit14. In particular, the NFC image P1is displayed in front of the print preview screen D4. Therefore, in the present embodiment, the NFC image P1is displayed such that the NFC button, the setting button, and a part of the print preview image Pv1in the print preview screen D4are not displayed. Thus, the user cannot recognize the NFC button, the setting button, and the part of the print preview image Pv1.

As mentioned above, the application48displays the target information image P2including the reduced image and the print setting image in S80. Thus, the target information image P2is an image that represents information (i.e., the reduced image) related to the print preview image Pv1that is not displayed due to the NFC image P1being displayed by the OS46, and information (i.e., the print settings) related to the setting button that is not displayed due to the NFC image P1being displayed by the OS46. Therefore, by viewing the target information image P2, the user can know the information related to the images that are not displayed due to the NFC image P1being displayed by the OS46.

Moreover, when the OS46displays the NFC image P1, there is a possibility that the application48may not be able to display the target information image P2due to the CPU42being controlled by the OS46. In view of such a possibility, in the case where the NFC button is operated (YES in S78), the application48displays the target information image P2(S80) before the NFC image P1is displayed (i.e., before supplying the trigger instruction to the OS46), in the present embodiment. Due to this, the application48can appropriately display the target information image P2before the NFC image P1is displayed by the OS46. In a variant, the application48may execute the process of S80after the execution of the process of S82.

Moreover, the application48stores in advance an area where the NFC image P1is displayed (i.e., the above-mentioned reference position, width, and height). The application48displays the target information image P2such that the target information image P2does not overlap with the area where the NFC image P1is displayed. Due to this, the user can appropriately recognize both of the NFC image P1and the target information image P2. In the present embodiment, the application48displays the target information image P2in front of the print preview screen D4, without closing the print preview screen D4from the display unit14. In a variant, however, the application48may display the target information image P2in place of the print preview screen D4(i.e., by closing the print preview screen D4).

Moreover, when obtaining the trigger instruction from the application48, the OS46supplies, to the NFC I/F32, the R/W mode ON instruction for changing the R/W mode of the NFC I/F32to the enabled state. Consequently, the R/W mode of the NFC I/F32is changed from the disabled state to the enabled state.

In S84, the application48monitors whether cancel information is obtained from the OS46. The cancel information is information indicating that the cancel button in the NFC image P1has been operated. When obtaining the cancel information from the OS46(YES in S84), the application48skips S86and S88, and proceeds to S90.

Moreover, concurrently with the monitoring of S84, the application48monitors, in S86, whether establishment information is obtained from the OS46. The establishment information is information indicating that a Wi-Fi connection with an MFP (e.g., the MFP100) has been established. When a distance between the mobile terminal10and the MFP100becomes shorter than the maximum distance (e.g., 10 cm) with which NFC communication can be executed after the trigger instruction has been supplied to the OS46, an NFC connection is established between the mobile terminal10and the MFP100. In this case, the NFC I/F32operates in a Reader mode of the R/W mode, and reads out (i.e., receives) wireless setting information from the MFP100. The OS46then obtains the wireless setting information from the NFC I/F32. The wireless setting information is information for establishing a Wi-Fi connection with the MFP100operating as a Group Owner (G/O) of the WFD scheme, and includes a Service Set Identifier (SSID) of a wireless network formed by the MFP100, a password, and the like. The OS46then supplies, to the Wi-Fi I/F30, a connection instruction including the wireless setting information. The Wi-Fi I/F30thereby establishes a Wi-Fi connection with the MFP100by using the wireless setting information, and participates, as a child station, in the wireless network in which the MFP100operates as a G/O. In this case, the OS46obtains, from the Wi-Fi I/F30, the establishment information indicating that the Wi-Fi connection has been established, and supplies the establishment information to the application48. When obtaining the establishment information from the OS46(YES in S86), the application48proceeds to S88.

In S88, the application48converts the file selected in S52to generate print data having a data format that can be interpreted by the MFP100, and sends a print execution request including the print data and the print settings to the MFP100via the Wi-Fi I/F30(i.e., by using the Wi-Fi connection). As such, the application48sends the print execution request to the MFP100by using the Wi-Fi communication, which has the faster communication speed than NFC communication, and thus can send the print execution request to the MFP100promptly.

In S90, the application48supplies a termination instruction to the OS46. The termination instruction is an instruction for requesting the OS46to do the following (1) and (2): (1) to delete the NFC image P1; and (2) to supply, to the NFC I/F32, an R/W mode OFF instruction for changing the R/W mode from the enabled state to the disabled state. When obtaining the termination instruction from the application48, the OS46deletes the NFC image P1, and supplies, to the NFC I/F32, the R/W mode OFF instruction for changing the R/W mode from the enabled state to the disabled state.

In S92, the application48monitors whether termination information is obtained from the OS46. The termination information is information obtained from the OS46in response to the supply of the termination instruction to the OS46, and is information indicating that the OS46has deleted the NFC image P1.

When obtaining the termination information from the OS46(YES in S92), the application48deletes the target information image P2in S94. Moreover, the application48also closes the print preview screen D4.

Next, with reference toFIG. 4, details of the scan process executed in S32ofFIG. 2will be described. In S100, the application48displays a scan setting screen D15on the display unit14. As shown inFIG. 7(C), the scan setting screen D15includes a size setting field for selecting a size of a document to be scanned by the MFP100, a double-sided scanning setting field for setting whether or not double-sided scanning of the document is to be executed, a resolution setting field for setting a scan resolution for the document, and an NFC button. The user can change the scan settings on the scan setting screen D15.

S102is similar to S78inFIG. 3. In S104, the application48displays a target information image P3(seeFIG. 8) in front of the scan setting screen D15. As shown inFIG. 8, the target information image P3includes a scan setting image that indicates the scan settings (i.e., the size setting, the double-sided scanning setting, and the resolution setting) when the NFC button was selected.

S106is similar to S82inFIG. 3. In response to obtaining the trigger instruction from the application48, the OS46displays the NFC image P1on the display unit14. As shown inFIG. 8, the NFC image P1is displayed in front of the scan setting screen D15. Therefore, in the present embodiment, the NFC image P1is displayed such that the NFC button and a part of the resolution setting field in the scan setting screen D15are not displayed. Thus, the user cannot recognize the NFC button and the part of the resolution setting field.

As mentioned above, the application48displays the target information image P3including the scan setting image in S104. The target information image P3is thus an image that represents information (i.e., the resolution setting) related to the resolution setting field that is not displayed due to the NFC image P1being displayed by the OS46. Therefore, by viewing the target information image P3, the user can know the information related to the image that is not displayed due to the NFC image P1being displayed by the OS46. Moreover, as in the print process described above, in the case where the NFC button is operated (YES in S102), the application48displays the target information image P3(S104) before the NFC image P1is displayed (i.e., before supplying the trigger instruction to the OS46). Due to this, the application48can appropriately display the target information image P3before the NFC image P1is displayed by the OS46. Moreover, the application48displays the target information image P3such that the target information image P3does not overlap with the area where the NFC image P1is displayed. Due to this, the user can appropriately recognize both of the NFC image P1and the target information image P3.

Moreover, when obtaining the trigger instruction from the application48, the OS46supplies, to the NFC I/F32, the R/W mode ON instruction for changing the R/W mode of the NFC I/F32to the enabled state. Consequently, the R/W mode of the NFC I/F32is changed from the disabled state to the enabled state.

S108and S110are similar to S84and S86inFIG. 3. When obtaining the establishment information from the OS46(YES in S110), the application48sends, to the MFP100, a scan execution request including the scan settings via the Wi-Fi I/F30in S112. Consequently, in the MFP100, the document is scanned in accordance with the scan settings, and scan data is thereby generated. The application48then receives the scan data from the MFP100via the Wi-Fi I/F30. S114to S118are similar to S90to S94inFIG. 3. When S118terminates, the process inFIG. 4terminates.

Next, with reference toFIGS. 9 to 12, specific cases realized by the processes inFIGS. 2 to 4. In an initial state of each case, the MFP100is operating as a G/O of the WFD scheme and stores wireless setting information. Moreover, all of the P2P mode, the R/W mode, and the CE mode of the NFC I/F32of the mobile terminal10are in the disabled state.

Firstly, with reference toFIGS. 9 and 10, a case A1 will be described. The present case is a case where the MFP100is caused to execute printing. In T10ofFIG. 9, the user performs the operation to activate the application48. In this case, in T12, the application48displays the device selection screen D1(seeFIG. 5(A)) (S10inFIG. 2).

When accepting the device selection of selecting the character string “NFC” in T14(YES in S12), the application48displays the function selection screen D2(seeFIG. 5(B)) in T16(S14). Next, when accepting selection of the print button in T18(YES in S20), the application48displays the file selection screen D3(seeFIG. 5(C)) in T20(S50inFIG. 3). Next, when accepting selection of the file selection button F1in T22(YES in S52), the application48displays the print preview screen D4(seeFIG. 5(D)) in T24(S54).

Subsequently, when accepting selection of the setting button in T40(YES in S60), the application48displays the print setting screen D5(seeFIG. 5(E)) in T42(S62). When accepting the print setting operation in T44and accepting operation of the OK button in T46(YES in S64), the application48displays the print preview screen D4(seeFIG. 5(D)) again in T48(S54).

When accepting selection of the NFC button in T50(YES in S78), the application48displays the target information image P2(seeFIG. 6) on the display unit14in T62(S80). The application48then supplies the trigger instruction to the OS46in T64(S82).

When obtaining the trigger instruction from the application48in T64, the OS46supplies the R/W mode ON instruction to the NFC I/F32in T66. Moreover, the OS46displays the NFC image P1(seeFIG. 6) in T68.

When obtaining the R/W mode ON instruction from the OS46in T66, the NFC I/F32changes the R/W mode from the disabled state to the enabled state in T70, and starts transmitting a polling signal in T72. Subsequently, when the user brings the mobile terminal10close to the MFP100, the MFP100receives the polling signal, as a result of which an NFC connection is established between the mobile terminal10and the MFP100in T80. In this case, the NFC I/F32receives the wireless setting information from the MFP100in T82by using the NFC connection, and supplies the wireless setting information to the OS46in T84.

When obtaining the wireless setting information from the NFC I/F32in T84, the OS46supplies the connection instruction including the wireless setting information to the Wi-Fi I/F30in T86. In this case, the Wi-Fi I/F30establishes a Wi-Fi connection with the Wi-Fi I/F130of the MFP100in T88, and supplies the establishment information to the OS46in T90.

When obtaining the establishment information from the OS46in T92ofFIG. 10(YES in S86), the application48generates print data in T100, and supplies the print execution request including the print data and the print settings to the Wi-Fi I/F30in T102(S88). Consequently, the Wi-Fi I/F30sends the print execution request to the MFP100in T104.

When receiving the print execution request from the mobile terminal10in T104, the MFP100supplies, to the print executing unit116, the print data and the print settings in the print execution request, and causes the print executing unit116to print an image represented by the print data in T106.

The application48supplies the termination instruction to the OS46in T110(S90). In this case, the OS46supplies the R/W mode OFF instruction to the NFC I/F32in T112. Moreover, the OS46deletes the NFC image P1in T114. When obtaining the R/W mode OFF instruction from the OS46in T112, the NFC I/F32changes the R/W mode from the enabled state to the disabled state in T116, and stops transmitting a polling signal.

When deleting the NFC image P1in T114, the OS46supplies the termination information to the application48in T118. In this case, the application48deletes the target information image P2in T120(S94).

(Effects of Case A1)

In the case where the NFC button in the print preview screen D4is selected, the OS46displays the NFC image P1in front of the print preview screen D4. Since the OS46controls the display of the NFC image P1, the application48cannot control a display position and the like of the NFC image P1. In such a circumstance, the NFC button, the setting button, and a part of the print preview image Pv1in the print preview screen D4displayed by the application48overlap with the NFC image P1(seeFIG. 6), and hence the user cannot recognize these information. In view of this, the application48displays the target information image P2in front of the print preview screen D4(T62) in the present embodiment. As above, the application48newly displays, in front of the print preview screen D4, the information (i.e., the reduced image, the print setting image) related to the images (i.e., the setting button, the print preview image Pv1) that are not displayed due to the NFC image P1being displayed. Therefore, even when the OS46displays the NFC image P1, the user can recognize these information. Due to this, user's convenience can be improved.

Moreover, in response to the execution of the NFC communication (T80), the OS46deletes the NFC image P1(T114) and the application48deletes the target information image P2(T120). As such, when the user brings the mobile terminal10close to the MFP100(i.e., when the NFC communication between the mobile terminal10and the MFP100is executed), the images P1, P2is automatically deleted from the display unit14. Therefore, the user does not have to perform an operation for deleting the images P1, P2. Due to this, user's convenience can be improved.

Next, with reference toFIG. 11, a case A2 will be described. The present case is a case where the MFP100is not caused to execute printing. In other words, in the present case, execution of NFC communication between the mobile terminal10and the MFP100is cancelled by the user. Firstly, as shown inFIG. 11, the application48executes processes similar to T10to T48inFIG. 9.

T150to T164are similar to T50to T64inFIG. 9. In other words, when displaying the target information image P2(seeFIG. 6) on the display unit14in T162(S80inFIG. 3), the application48supplies the trigger instruction to the OS46in T164(S82). T166to T172are similar to T66to T72inFIG. 9. In other words, when obtaining the trigger instruction from the application48in T164, the OS46displays the NFC image P1(seeFIG. 6) in T168.

Subsequently, when accepting selection of the cancel button in T174, the OS46supplies the cancel information to the application48in T176. When obtaining the cancel information from the OS46in T176(YES in S84), the application48supplies the termination instruction to the OS46in T178(S90). T180to T188are similar to T112to T120inFIG. 10.

(Effects of Case A2)

In the present case, in the case where the NFC button in the print preview screen D4is selected (T150), the application48displays the target information image P2(T162). While checking the print settings and the like included in the target information image P2, the user can determine whether or not the MFP100is to be caused to execute the print process. In response to the selection of the cancel button by the user (T174), the OS46deletes the NFC image P1(T182) and the application48deletes the target information image P2(T188). As such, when the user operates the cancel button for deleting the NFC image P1, the target information image P2is automatically deleted. The user does not have to perform an operation for deleting the target information image P2, in addition to the operation of the cancel button. Due to this, user's convenience can be improved.

Next, with reference toFIG. 12, a case B will be described. The present case is a case where the MFP100is caused to execute scanning T210to T216are similar to T10to T16inFIG. 9. When accepting the operation of the scan button in T218(YES in S30inFIG. 2), the application48displays the scan setting screen D15(seeFIG. 7(C)) in T220(S100inFIG. 4). Subsequently, the application48accepts the scan setting operation in T240. When accepting selection of the NFC button in T250(YES in S102), the application48displays the target information image P3(seeFIG. 8) in T264(S104), and supplies the trigger instruction to the OS46in T265(S106). T266to T290are similar to T66to T90inFIG. 9.

When obtaining the establishment information from the OS46in T292(YES in S110), the application48supplies, to the Wi-Fi I/F30, the scan execution request that includes the scan settings in T300. Consequently, the Wi-Fi I/F30sends the scan execution request to the MFP100in T302(S112).

When receiving the scan execution request from the mobile terminal10in T302, the MFP100causes the scan executing unit118to scan a document set in the MFP100in accordance with the scan settings in the scan execution request in T304, and sends scan data to the mobile terminal10in T306.

The application48receives the scan data from the MFP100via the Wi-Fi I/F30in T308. T310to T318are similar to T110to T118inFIG. 10. When obtaining the termination information from the OS46in T318(YES in S116), the application48deletes the target information image P3in T320(S118).

(Effects of Case B)

In the case where the NFC button in the scan setting screen D15is selected, the OS46displays the NFC image P1in front of the scan setting screen D15. As described above, since the OS46controls the display of the NFC image P1, the application48cannot control a display position and the like of the NFC image P1. In such a circumstance, a part of the resolution setting field in the scan setting screen D15displayed by the application48overlaps with the NFC image P1(seeFIG. 8), and thus the user cannot view the resolution setting. In view of this, the application48displays the target information image P3in front of the scan setting screen D15(T264) in the present embodiment. As such, the application48newly displays, in front of the scan setting screen D15, the information (i.e., the scan setting image) related to the image (i.e., the resolution setting field) that is not displayed due to the NFC image P1being displayed. Therefore, even when the OS46displays the NFC image P1, the user can recognize the information. Due to this, user's convenience can be improved.

The mobile terminal10and the MFP100are examples of “communication device” and “external device”, respectively. The display unit14and the NFC I/F32are examples of “display unit” and “wireless interface”, respectively. The print preview screen D4inFIG. 5(D)and the scan setting screen D15inFIG. 7(C)are examples of “specific screen”. The NFC button in the print preview screen D4and the NFC button in the scan setting screen D15are examples of “selection image”. The print preview image Pv1and the setting button in the print preview screen D4and the resolution setting field in the scan setting screen D15are examples of “at least one item image”. The processes of T50inFIG. 9, T150inFIG. 11, and T250inFIG. 12are examples of “first case”. Bringing the mobile terminal10close to the MFP100is an example of “predetermined action”. The NFC image P1inFIGS. 6 and 8is an example of “first image”. The target information image P2inFIG. 6and the target information image P3inFIG. 8are examples of “second image”. The reduced image of the print preview image Pv1and the print setting image in the target information image P2inFIG. 6, and the scan setting image in the target information image P3inFIG. 8are examples of “target information”. The R/W mode is an example of “mode related to the wireless communication”. The R/W mode ON instruction is an example of “change instruction”. The print process and the scan process are examples of “specific image process”. The print setting image and the scan setting image are examples of “setting information”. The processes of T80inFIG. 9and T280inFIG. 12are examples of “second case”. The process of T174inFIG. 11is an example of “third case”.

In the embodiment above, in the case where the NFC button is selected (YES in S78inFIG. 3, and YES in S102inFIG. 4), the application48displays the target information images P2, P3on the display unit14. However, instead of displaying the target information images P2, P3, the application48may convert the print settings and the scan settings into audio data, and may output the audio data from the speaker16as a message (e.g., “Size of printing paper is A4”). In other words, “outputting target information” may not display the second image on the display unit.

Instead of displaying the target information image P2, the application48may obtain a screen-shot image, which is an image in a bitmap format obtained by capturing the print preview screen D4, and may display an image obtained by reducing the screen-shot image such that the reduced screen-shot image does not overlap with the NFC image P1. In the present variant, the reduced screen-shot image is an example of “second image”.

In the embodiment above, when the NFC image P1is displayed in front of the print preview screen D4(T68inFIG. 9, T168inFIG. 11), approximately a half of the area of the print preview image Pv1in the print preview screen D4is not displayed. In view of this, instead of displaying the target information image P2, the application48may adopt the following configuration: the application48specifies a center position of a partial area positioned upper relative to the NFC image P1, out of an entire area of the display unit14, and furthermore, specifies a center position of the print preview image Pv1in the print preview screen D4; and then the application48slides the print preview screen D4upward such that the center position of the partial area and the center position of the printing preview image Pv1coincide with each other. According to this configuration, even when the NFC image P1is displayed, approximately entirety of the print preview image Pv1can be displayed. In the present variant, sliding the print preview screen D4is an example of “outputting target information”.

The R/W mode of the NFC I/F32may always be in the enabled state. In this case, there is no need to cause the OS46to supply, to the NFC I/F32, the R/W mode ON instruction for changing the R/W mode from the disabled state to the enabled state. In other words, “trigger instruction” may not include an instruction for supplying the change instruction to the wireless interface.

The target information image P2may be displayed to overlap with the area where the NFC image P1is displayed (i.e., may be displayed in front of the NFC image P1). In other words, the second image may be displayed to overlap with the area where the first image is displayed.

In the case where the NFC communication between the mobile terminal10and the MFP100is executed (T80inFIG. 9), the application48may not delete the target information image P2. In this case, if accepting an operation for deleting the target information image P2from the user, the application48may delete the target information image P2. Moreover, in the case where the user operates the cancel button in the NFC image P1(T174inFIG. 11), the application48may not delete the target information image P2. In this case, if accepting the operation for delete the target information image P2from the user, the application48may delete the target information image P2. In other words, the second image may not be deleted in the second case or the third case.

The target information image P2may not include the print setting image, and may include only the reduced image of the print preview image Pv1. In other words, “target information” may not include the setting information. Generally speaking, “target information” may be information of any type, as long as it is information related to an item image that is not displayed due to the first image being displayed. Such an “item image” includes, for example, an image indicating information related to the communication device (e.g., an IP address of the communication device, user information of the communication device, and the like), an image indicating information on the external device, and the like.

“External device” is not limited to the MFP100, and may be a scanner, a printer, a FAX machine, a PC, a server, or the like. If “external device” is a FAX machine, information that indicates a preview image of a target image to be faxed, a destination to which the fax is sent and the like may be regarded as an example of “target information”.

“Wireless interface” is not limited to the NFC I/F32, and may be an interface for executing Bluetooth (registered trademark, BT) communication, infrared communication, and the like.

In the embodiment above, the respective processes executed by the control unit40are implemented by software (i.e., by the OS program46, the print scan application48). However, at least one of these processes may be implemented by hardware such as a logic circuit.