Printing device, control method, and program
Patent Information
- Application Number
- JP2024103280
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Connecting communication devices to a wireless network can be difficult when the distance between devices is long or the communication environment is poor, requiring manual user intervention for wireless settings.
A control method involving a first information processing device that acquires a code image and prompts a more portable second device to photograph it, displaying a screen with a message to facilitate wireless LAN setup using a two-dimensional code.
Improves the convenience of connecting communication devices to a network by simplifying the setup process, especially in challenging environments.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a control method, a program, and an information processing device for allowing an image forming apparatus to participate in a wireless LAN. [Background technology]
[0002] Recently, there are an increasing number of cases where people own multiple information processing devices equipped with wireless communication functions, such as smartphones, PCs, tablets, etc., and use them for different purposes. In addition, many communication devices such as printers and digital cameras also have wireless communication functions, and by connecting these devices to the same wireless network, it is often possible to use the communication devices from the information processing device via the wireless network.
[0003] Patent document 1 proposes a technology in which a PC searches for a printer in wireless setting mode, establishes a peer-to-peer connection (hereinafter referred to as P2P connection) with the detected printer, sends a wireless profile stored in the PC to the printer, and performs wireless settings on the printer. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-191252 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, there are cases where the wireless settings of the printer via P2P connection fail when the PC and the printer are far away, or when the communication environment is poor, etc. In such cases, the user must operate the information processing device or the printer to input information used to establish a connection to an access point, and it may be difficult for the user to make settings to connect a communication device to a wireless network.
[0006] In view of the above problems, an object of the present invention is to improve the convenience of connecting a communication device to a network. [Means for solving the problem]
[0007] In order to solve the above-mentioned problems, one aspect of the control method of the present invention is a control method executed by a first information processing device, and is characterized in that it includes an acquisition step of acquiring information used to establish a connection to a first communication device, and a display step of displaying on a display unit a screen including a code image generated based on the information acquired in the acquisition step and a message urging a user to photograph the code image with a second information processing device that is more portable than the first information processing device. Effect of the Invention
[0008] According to the present invention, it is possible to improve the convenience of connecting a communication device to a network. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a configuration diagram of a system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing an example of a hardware configuration of an information processing apparatus. [Diagram 3] FIG. 2 is a diagram illustrating an example of the hardware configuration of a printing apparatus. [Figure 4] FIG. 11 is a diagram showing an example of a flowchart illustrating a process flow of a setup program for the information processing apparatus. [Diagram 5] 11A and 11B are diagrams illustrating an example of a screen for selecting a wireless LAN setup method displayed by the setup program of the information processing apparatus. [Figure 6] 11A and 11B are diagrams illustrating an example of a command that prompts a printing device to perform wireless LAN setup. [Figure 7] FIG. 13 is a diagram showing an example of a two-dimensional code screen displayed by the setup program of the information processing device. [Figure 8] FIG. 13 is a diagram showing how a two-dimensional code displayed by a setup program of the information processing device is photographed by a highly portable information processing device. [Figure 9] FIG. 11 is a flowchart showing an example of the flow of a wireless LAN setup process of a printing device. [Figure 10] 6 is a diagram showing an example of a screen for selecting a wireless LAN setup method displayed on a display device of the printing apparatus. FIG. [Figure 11] FIG. 13 is a diagram showing an example of a screen that prompts the user to read a two-dimensional code displayed on a display device of the printing device. [Figure 12] 13 is a diagram showing an example of a screen displayed on the display device of the printing apparatus to notify the user that the wireless LAN setup has been successful. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0011] First Embodiment FIG. 1 is an overall configuration diagram of a system representing this embodiment. In FIG. 1, information processing devices 101, 102, 107, and 108, printing devices (communication devices) 104 to 106, and the information processing devices 101 and 102 are connected to a wireless LAN router (referred to as an access point or AP in this specification) 103. The AP 103 is a communication device that forms a wireless network, and forms a star topology wireless LAN network as an example. The service set identifier (SSID) of the AP 103 is assumed to be "aabbccdd" here. The printing device 104 is also already connected to the AP 103. To indicate that they are already connected, the line connecting the AP 103 and the printing device 104 is shown as a solid line in FIG. 1. The printing devices 105 and 106 are not yet connected to the AP 103. To indicate that they are not yet connected, the line connecting the printing devices 105 and 106 and the AP 103 is shown as a dotted line in FIG. 1. Compared to the information processing device 101, the information processing device 102 has higher portability. Furthermore, there are information processing devices 107 and 108 that are not connected to the AP 103. The difference between the information processing device 107 and the information processing device 108 is that the information processing device 107 is a smartphone or a tablet terminal, and the information processing device 108 is a digital camera.
[0012] In this embodiment, a process will be described in which at least one of the information processing devices 101 and 102 connects at least one of the printing devices 105 and 106 to the AP 103 by automatic wireless LAN setup. Note that as a method of automatic wireless LAN setup, a method in which both the information processing device 101 or 102 and the printing device 105 connect to the AP 103 will be described as an example. Note that in this method, the information processing device 101 or 102 and the printing device 105 connect to the AP 103 by communicating and sharing information (SSID, etc.) of the AP 103 by direct wireless communication.
[0013] Some information processing devices impose restrictions on applications so as not to allow them to obtain search results for surrounding access points. In this case, in order for the information processing device to perform P2P connection with a printer in wireless setting mode, the user must operate the OS (Operating System) function of the information processing device and select the SSID of the printer, which may cause difficulty in setting up. In addition, in order to enable a plurality of information processing devices to use the same printer via a wireless network, all information processing devices must be connected to the wireless network in which the information processing device that performed wireless settings on the printer participates. In response to this, a process will be described in which an information processing device that has failed in automatic wireless LAN setup displays a message urging the user to read a barcode image such as a two-dimensional code with another information processing device, thereby improving the convenience of connecting a printer to an access point.
[0014] 2 shows a hardware configuration diagram of the information processing devices 101, 102, 107, and 108. The information processing devices 101, 102, 107, and 108 each include a central processing unit (CPU) 201, a read only memory (ROM) 202, and a random access memory (RAM) 205. The information processing devices 101, 102, 107, and 108 also include an image capturing device 206, a display device 207, an input interface (I / F) 208, and a wireless LAN I / F 209.
[0015] The CPU 201 reads out the setup program 203 stored in the ROM 202 into the RAM 205 and executes it to execute various processes for controlling the operation of the information processing device, including wireless setting processing for instructing the printer to set up a wireless network. The ROM 202 is a storage unit that stores the programs 203 corresponding to various processes, including the program for the setup processing, and a wireless profile 204 (described later). When the program for the wireless setting processing (application, etc.) is installed in the information processing device, unique identification information is also stored in the ROM 202. This unique identification information is uniquely determined for, for example, the manufacturer of the printer or the printer model.
[0016] The image capturing device 206 is an image capturing device such as a camera, one or more of which are arranged in the information processing device. The display device 207 is a device for notifying a user of information, such as a display or a projector. The input device 208 is an input device such as a touch panel display, a keyboard, or a toggle switch. The wireless LAN I / F 209 is a communication unit including a wireless transmission / reception circuit, and can perform wireless communication conforming to IEEE802.11, for example.
[0017] The image capturing device 206 may be omitted in the information processing devices 101 and 102. The wireless LAN I / F 209 may be omitted in the information processing devices 107 and 108.
[0018] 3 shows a hardware configuration diagram of the printing devices 104, 105, and 106. The printing devices 104, 105, and 106 each include a CPU 301, a ROM 302, a RAM 305, a display device 306, an input device 307, a print unit 308, a scan unit 309, and a wireless LAN I / F 310.
[0019] The ROM 302 is a storage unit that stores a program 303, a wireless profile 304, etc. The CPU 301 reads the program 303 from the ROM 302 into the RAM 305 and executes it to perform various controls on the printing apparatus.
[0020] The display device 306 is a display unit such as a display or LED for notifying a user of information. The input device 307 is an input device such as a touch panel display, a keyboard, or a toggle switch. The print unit 308 forms an image on a recording medium (sheet). The scan unit 309 reads an image on the recording medium to generate image data. In one example, the scan unit 309 can also operate as a display unit of at least one of the information processing devices 101, 102, 107, and 108, or a reading unit that reads a two-dimensional code recorded on a recording medium and acquires information from the two-dimensional code. The wireless LAN I / F 310 is a communication unit including a wireless transmission / reception circuit, and can perform wireless communication conforming to IEEE802.11 in one example.
[0021] Fig. 4 is a flowchart showing the flow of processing of the setup program executed by the information processing device 101 or 102. The setup program 203 is stored in the ROM 202 of the information processing device 101 or 102, and is loaded into the RAM 205 and executed by the CPU 201 of the information processing device 101 or 102. The processing shown in Fig. 4 is started when the information processing device 101 or 102 receives an instruction from a user via the input device 208 to execute the setup program. The processing flow of the setup program 203 will be described below with reference to the flowchart in Fig. 4. In the example of Fig. 4, a case will be described where the information processing device 101 executes processing to connect the printing device 105 to the AP 103.
[0022] First, in S401, the information processing device 101 displays a screen 501 on the display device 207 of the information processing device 101 to prompt the user to select a wireless LAN setup method. An example of the displayed screen is shown in Fig. 5. The user can select a method for executing the wireless LAN setup of the printing device 105 by selecting one of "Manual Setup", "Setup with Router Button (WPS)", and "Two-dimensional Code" in Fig. 5 and then selecting the "Next" button 502. Note that, in one example, the information processing device 101 may directly connect to a printer in wireless connection (P2P connection) mode and transmit information such as an SSID and a passphrase used to establish a connection to the AP 103 via wireless communication.
[0023] In this embodiment, the explanation will be given on the assumption that the "by two-dimensional code" method is selected by the user operation in S401. On the other hand, the processing described below may be applied when the user selects another method such as "manual setting" or "setting with router button (WPS)" in S401, and after that method fails, the user selects the "by two-dimensional code" method again. Also, the information processing device 101 may attempt to transmit information used to establish a connection to the AP 103 to the printer 105 via a P2P connection, and execute the processing of S401 if the attempt fails.
[0024] When the "by two-dimensional code" method is selected by a user operation in S401 and the [Next] button 502 is selected by a user operation with the input device 208 such as a mouse, the information processing device 101 advances the process to S402. In S402, the information processing device 101 acquires from the ROM 202 the wireless profile 204 that stores connection information for the AP 103 to which the information processing device 101 is currently connected.
[0025] Next, the information processing device 101 advances the process to S403 and converts the acquired wireless profile 204 into a two-dimensional code. For example, if the SSID is "aabbccdd" and the passphrase is "password", a command including the SSID and the passphrase may be generated and the generated command may be converted into a two-dimensional code. For example, a two-dimensional code may be generated based on a character string such as "DoWLANSetup;aabbccdd;password" shown in FIG. 6 as a command 601 that prompts the printing device 105 to set up a wireless LAN. The setup program 203 may convert this character string into a two-dimensional code. From the viewpoint of enhancing security, instead of directly converting the SSID and the passphrase into a two-dimensional code, a method of converting them using encryption or obfuscation technology and then converting them into a two-dimensional code may be considered. For example, encryption may be performed so that the command 601 in FIG. 6 can be extracted by decrypting it using a private key held by the setup program 203 of the information processing device 101 and the program 303 of the printing device 105. Also, for example, the command 601 may be obfuscated using a predetermined function, such as converting it into binary.
[0026] Next, the information processing device 101 advances the process to S404, and displays a screen 701 including the two-dimensional code generated in S403 and a message prompting the user to perform wireless LAN setup using a more portable information processing device on the display device 207 of the information processing device 101. Here, if the information processing device 101 is a highly portable device, the display screen of the display device 207 can be directly read by the scanning unit 309 of the printing device 105, and the process proceeds directly to the flow of FIG.
[0027] Even if the information processing device 101 has low portability and it is difficult to directly scan the display screen of the display device 207 into the scanning unit 309 of the printing device 105, the user continues the wireless LAN setup by following the message displayed on the screen 701. For example, the message may be, as shown in Fig. 7, "If it is difficult to scan this screen into the scanner, you can take a picture of the barcode with a device capable of photographing it and then scan it." Another example may be, "Please take a picture of this barcode with a smartphone or the like and scan the captured image into the scanner of the printer."
[0028] For example, as shown in FIG. 8, a user photographs a two-dimensional code with the information processing device 107 or 108, which has higher portability than the information processing device 101, to have the information processing device 107 or 108 read the code. The information processing device 107 or 108 reads the code when the user operates the photographing device 206 to instruct the information processing device 107 or 108 to read the two-dimensional code displayed on the information processing device 101, so that the information processing device 107 or 108 can obtain information used to establish a connection to the AP 103. In one example, the two-dimensional code may include information about the source of a program (application) for causing the information processing device 107 or 108 to execute a wireless LAN setup process. This allows the information processing device 107 or 108 to download an application for executing the above-mentioned automatic wireless LAN setup using the information about the source, and install the program. This allows the user to install the program in the information processing device 107 or 108 by performing a photographing operation to connect the printing device 105 to the AP 103. Therefore, the program can be installed in the information processing device 107 or 108 without performing a separate operation for the installation.
[0029] Furthermore, the information processing device 107 may photograph the two-dimensional code by using an application for this embodiment. Then, the information processing device 107 may operate to connect itself to the AP 103 using information about the AP 103 included in the two-dimensional code. In this case, for example, the application of the information processing device 107 connects the information processing device 107 to the AP 103 by specifying the SSID and password of the AP 103 acquired from the two-dimensional code to the OS of the information processing device 107. Then, by performing an operation described later, the printing device 105 can also be connected to the AP 103 using the photographed image of the two-dimensional code.
[0030] Furthermore, when the two-dimensional code is photographed, the application of the information processing device 107 may display a screen for inquiring of the user as to whether or not to install an automatic wireless LAN setup program in the information processing device 107 and whether or not to connect the information processing device 107 to the AP 103. Then, in response to the user's instruction on the screen, the program is installed and the connection to the AP 103 is performed.
[0031] Next, a method of connecting the printing device 105 to the AP 103 using a captured image of a two-dimensional code will be described. Since the information processing device 107 or 108 is more portable than the information processing device 101, the two-dimensional code displayed on the display device 207 of the information processing device 107 or 108 can be directly read by the scanning unit 309 of the printing device 105. For this reason, the user moves the information processing device 107 or 108 close to the printing device 105 and proceeds to the flow of FIG. 9, which will be described later.
[0032] Based on the display of the two-dimensional code in S404, the user can perform wireless LAN setup for one or more printing devices. For example, the user performs wireless LAN setup for multiple printing devices by selecting the [Next] button 702 displayed on the display device 207 of the information processing device 101.
[0033] When the [Next] button 702 is selected, in step S405, the information processing device 101 next determines whether the user has specified the setup of multiple printers, not just a specific printer (e.g., the printing device 105). Specifically, it is determined whether the user has selected ON as the setting for "Set up multiple printers over wireless LAN" on screen 701. If "Set up multiple printers over wireless LAN" has been selected, the information processing device 101 ends the program without performing the process of searching for a printing device 105 for which wireless LAN setup has been completed in S406, which will be described later.
[0034] On the other hand, if the user has selected OFF as the setting for "Set up multiple printers over wireless LAN", the setup program 203 advances the process to S406. Next, in S406, the information processing apparatus 101 searches for a printing apparatus 105 for which wireless LAN setup has been completed, assuming that only one printer has been set up over wireless LAN. Specifically, before the process shown in FIG. 4 is started, the printer model to be set up is specified. For example, the model information may be set in advance in the program that executes the process shown in FIG. 4, or the user may specify the model when the process shown in FIG. 4 is executed. Then, in S406, a printer with the model information is searched for within the same network as the information processing apparatus 101. Also, if multiple printers of the same model are searched for, a list of the multiple printers is displayed, and the user selects the desired printer to be set up. Next, the information processing apparatus 101 advances the process to S407, and if the search for a printing apparatus 105 for which wireless LAN setup has been completed is successful, the program is terminated. If the search is unsuccessful, the information processing apparatus 101 returns to S401, that is, the beginning of the setup program 203, and resumes the setup process again. For example, if even one printer of a particular model is found, it is determined that the search for the printing device 105 for which wireless LAN setup has been completed has been successful.
[0035] Even if the setting for "Set up multiple printers over wireless LAN" is set to ON, a specific model may be searched for and the user may select the desired printer.
[0036] FIG. 9 is a flowchart showing the flow of the wireless LAN setup process executed by the printing device 105 or 106. In this embodiment, the printing device 105 executes the process shown in FIG. 9. First, in S901, the printing device 105 accepts the selection of the wireless LAN setup method from the user. The selection is made by the user using the display device 306 and input device 307 of the printing device 105. FIG. 10 shows an example of a state in which the user makes a selection. In this example, the printing device 105 is equipped with the display device 306 called a liquid crystal panel and the input device 307 called a touch panel. In addition, the display device 306 may be only an LED lamp instead of a screen, or a combination of both, and the input device 307 may be only a button or a combination of both. FIG. 10 shows a state in which the user selects "read a two-dimensional code" as the wireless LAN setup method for the printing device 105.
[0037] When the printing device 105 accepts the selection of the wireless LAN setup method in S901, the printing device 105 advances the process to S902. In S902, the printing device 105 displays a message prompting the user to scan a two-dimensional code. FIG. 11 shows a message prompting the user to read a two-dimensional code displayed on the display device 306 of the printing device 105. In S902, the printing device 105 waits for the two-dimensional code to be set in the scanning unit 309. For example, the user photographs the two-dimensional code displayed on the display device 207 of the information processing device 101 in S404 of FIG. 4, or the two-dimensional code displayed on the display device 207 by using the highly portable information processing device 107 or 108. After setting, when the user selects [Next] on the screen of FIG. 11, reading starts. Next, the printing device 105 advances the process to S903, and reads the two-dimensional code displayed on the display device 207 of the information processing device 101, 107, or 108. Next, the printing device 105 advances the process to S904, and acquires the command 601 used in the wireless LAN setup from the captured data of the read two-dimensional code. When acquiring the command, the printing device 105 may perform encryption and decryption of obfuscation as described in S403 of the flow in FIG. 4. The printing device 105, which has acquired the command 601 used in the wireless LAN setup, attempts to connect to the AP 103 using the command 601. Next, the printing device 105 advances the process to S905, and if the connection to the AP 103 fails (No in S905), the printing device 105 returns the process to S901 and repeats the wireless LAN setup process again. If the connection to the AP 103 is successful (Yes in S905), the printing device 105 advances the process to S906. Next, in S906, the printing device 105 displays on the display device 306 that the wireless LAN setup has been successful. FIG. 12 shows a wireless LAN setup success message displayed on the display device 306 of the printing device 105. When the user selects [OK] from the input device 307, the wireless LAN setup process of the printing device 105 is completed.
[0038] 9 is executed similarly for the printing device 106, so that connection processing can be performed for two devices to the same AP 103. Naturally, it is also possible to perform wireless LAN setup processing for three or more printing devices.
[0039] <Other embodiments> In the first embodiment, the information processing device 107 or 108 that reads the two-dimensional code of the information processing device 101 causes the printing device 105 to execute the wireless LAN setup process by displaying the two-dimensional code. In one example, the information processing device 107 or 108 may establish a P2P connection with the printing device 105 and transmit information used to establish a connection to the AP 103 via wireless communication. In this case, the two-dimensional code of the information processing device 101 may be generated based on information used to establish a connection with the printing device 105 in addition to information used to establish a connection to the AP 103. Also, in this case, the printing device 105 may wait for a P2P connection if the two-dimensional code cannot be read within a predetermined time in S902. Alternatively, the printing device 105 may wait for a P2P connection if an instruction to execute a wireless LAN setup process using the two-dimensional code is received in S901. In this case, the screen 701 shown in FIG. 7 may display a message such as "Please come within 10 m of the printer" to encourage the information processing device 107 or 108 to move to a distance where communication with the printing device 105 is possible. Alternatively, the screen 701 shown in FIG. 7 may display a message such as "Please hold the smartphone that read the two-dimensional code over the NFC communication unit of the printer." In addition, in one example, the screen 701 may display an image showing the NFC communication unit of the printer. This allows the user to easily execute a wireless LAN setup process for connecting the printing device 105 to the AP 103 by simply moving the smartphone that read the two-dimensional code close to the printer or holding it over the printer.
[0040] In the first embodiment, the information processing device 107 or 108 is described as reading a two-dimensional code displayed on the information processing device 101 and acquiring information used to establish a connection to the AP 103. In one example, the information processing device 107 or 108 may photograph the two-dimensional code displayed on the information processing device 101 using a camera application, display the photographed photographed data on a display unit, and hold the data over a reading unit of the printer 105. In this way, even if information used to establish a connection to the AP 103 is encrypted or obfuscated, the information processing device 107 or 108 can cause the printer 105 to execute a wireless LAN setup process without decrypting the encryption or obfuscation.
[0041] Instead of the above-mentioned two-dimensional code, various codes such as a barcode may be used.
[0042] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0043] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0044] 101, 102: information processing device, 103: wireless LAN router, 104 to 106: printing device, 107, 108: information processing device
Claims
1. A printing device, comprising: a first display control means for displaying a screen for prompting a user to cause the printing device to read a two-dimensional code; a reading means for reading the two-dimensional code displayed by an information processing device external to the printing device; a processing means for executing a process for establishing a wireless LAN connection based on the reading by the printing device of a two-dimensional code generated by a predetermined program, the program being a program included in the information processing device, for causing the printing device to establish a wireless LAN connection, the predetermined two-dimensional code being the two-dimensional code for the printing device to establish a wireless LAN connection; A printing means for forming an image on a recording medium; A printing device comprising:
2. The printing device described in Claim 1, characterized in that the specified two-dimensional code is a two-dimensional code for allowing the information processing device and the printing device to participate in the same network.
3. A printing device as described in claim 1 or 2, characterized in that the specified two-dimensional code is a two-dimensional code that allows the printing device to obtain information used to connect to an access point to which the information processing device is connected when the information processing device accepts a specified user operation to display the specified two-dimensional code.
4. Further comprising a decoding means for decoding encrypted information contained in the two-dimensional code, 4. The printing device according to claim 1, wherein a process for establishing the wireless LAN connection is executed based on the decrypted information.
5. A printing device as described in any one of claims 1 to 4, characterized in that it further has a second display control means for displaying a screen corresponding to successful establishment of the wireless LAN connection based on the successful establishment of the wireless LAN connection as a result of execution of a process for establishing the wireless LAN connection.
6. The method further comprises a third display control means for displaying a predetermined area for a user to select a method for causing the printing device to read the two-dimensional code; 6. The printing device according to claim 1, wherein the two-dimensional code is read by the printing device after the predetermined area is selected by a user.
7. A printing device as described in any one of claims 1 to 6, characterized in that the wireless LAN connection is a connection made by a communication unit that performs wireless communication compliant with IEEE 802.
11.
8. A printing device as described in any one of claims 1 to 7, further comprising a scanning means for reading an image on a recording medium and generating image data.
9. A printing device described in any one of claims 1 to 8, characterized in that the specified two-dimensional code is a two-dimensional code generated based on information for establishing a direct wireless connection with the printing device.
10. The printing device according to claim 9, further comprising a waiting means for waiting for the direct wireless connection.
11. A predetermined area is displayed by the printing device for a user to select a method for causing the printing device to read the two-dimensional code; The printing device according to claim 10 , wherein the direct wireless connection is awaited after the predetermined area is selected by a user.
12. A printing device described in any one of claims 1 to 11, characterized in that the specified two-dimensional code is generated by a device other than the information processing device and is a two-dimensional code photographed by the information processing device.
13. A printing device as described in any one of claims 1 to 11, characterized in that it further has a receiving means for receiving information from the information processing device connected to the printing device operating in a direct wireless connection mode.
14. A method for controlling a printing device, comprising: a first display control step of displaying a screen for prompting a user to cause the printing device to read the two-dimensional code; a reading step of reading the two-dimensional code displayed by an information processing device external to the printing device; a processing step of executing a process for establishing the wireless LAN connection based on the reading by the printing device of the two-dimensional code generated by a predetermined program, which is a program included in the information processing device and causes the printing device to establish a wireless LAN connection, and the predetermined two-dimensional code is the two-dimensional code for the printing device to establish a wireless LAN connection; A printing step for forming an image on a recording medium; A control method comprising the steps of:
15. A computer of a printing device, a first display control step of displaying a screen for prompting a user to cause the printing device to read the two-dimensional code; a reading step of reading the two-dimensional code displayed by an information processing device external to the printing device; a processing step of executing a process for establishing the wireless LAN connection based on the reading by the printing device of the two-dimensional code generated by a predetermined program, which is a program included in the information processing device and causes the printing device to establish a wireless LAN connection, and the predetermined two-dimensional code is the two-dimensional code for the printing device to establish a wireless LAN connection; A printing step for forming an image on a recording medium; A program characterized by executing the above.
