Field of the Invention
The present invention relates to a printing apparatus having a direct wireless communication function, a control method for a printing apparatus, and a storage medium.
Description of the Related Art
Among printing apparatuses such as multifunction peripherals, printers and the like, an increasing number of printing apparatuses now have wireless LAN functions. The printing apparatus having a wireless LAN function receives print data from an external apparatus such as a personal computer (PC), a mobile terminal or the like via an access point, and executes print processing based on the received print data.
Further, there exists, among the printing apparatuses, a printing apparatus which performs direct wireless communication with an external apparatus without going through an access point. Japanese Patent Application Laid-Open No. 2013-205982 discusses a printing apparatus that performs, with a mobile terminal, direct wireless communication using Wi-Fi Direct or Bluetooth (registered trademark).
Meanwhile, as a mode of using a printing apparatus, there is known a configuration in which a print processing apparatus is connected to a printing apparatus, as discussed in Japanese Patent Application Laid-Open No. 2002-312140. The print processing apparatus can interpret a page description language not supported by the printing apparatus itself. Print data interpreted by the print processing apparatus is converted into a form supported by the printing apparatus and then transmitted to the printing apparatus. Therefore, the printing apparatus can receive from the print processing apparatus print data in an interpretable form even if the print data is originally described in a page description language not supported by the printing apparatus.
Assume that, in the configuration in which the print processing apparatus is connected to the printing apparatus, a mobile terminal executes direct wireless communication with the printing apparatus without going through the print processing apparatus, and thereby transmits print data to the printing apparatus. This print data is transmitted to the printing apparatus without going through the print processing apparatus. Therefore, the printing apparatus may receive the print data described in a page description language not supported by the printing apparatus.
The present invention is directed to reduce inconvenience that occurs when a printing apparatus receives print data described in a page description language not supported by the printing apparatus, in a configuration in which a print processing apparatus is connected to the printing apparatus.
According to an aspect of the present invention, a printing apparatus has a direct wireless communication function of executing direct wireless communication between the printing apparatus and an external apparatus without going through an access point, and the printing apparatus includes a printing unit configured to execute print processing, a determination unit configured to determine whether a print processing apparatus that processes print data is connected to the printing apparatus, and a control unit configured to prohibit a user from using the direct wireless communication function, in a case where the determination unit determines that the print processing apparatus is connected to the printing apparatus.
According to another aspect of the present invention, a printing apparatus includes a wireless communication unit configured to execute wireless communication between the printing apparatus and an external apparatus, a printing unit configured to execute print processing based on print data, a determination unit configured to determine whether a print processing apparatus that processes print data is connected to the printing apparatus, and a control unit configured to prohibit the printing apparatus from executing the wireless communication with the external apparatus performed without going through the print processing apparatus, in a case where the determination unit determines that the print processing apparatus is connected to the printing apparatus.
According to yet another aspect of the present invention, a printing apparatus includes a wireless communication unit configured to execute wireless communication between the printing apparatus and an external apparatus, a printing unit configured to execute print processing based on print data, a connection unit configured to connect a print processing apparatus that processes print data to the printing apparatus, and a transfer unit configured to transfer print data, which is received by using the wireless communication without going through the print processing apparatus, to the print processing apparatus.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Exemplary embodiments of the present invention will be described below, with reference to the attached drawings. The following exemplary embodiments are not intended to limit the invention according to the scope of claims, and any combination of features described in the exemplary embodiments is not necessarily essential to a solution of the invention.
First, configurations of a print system according to a first exemplary embodiment of the present invention will be described using
First, a configuration in which the printing apparatus 100 is used alone will be described using
The printing apparatus 100 has a direct wireless communication function which enables the printing apparatus 100 to execute direct wireless communication with the external apparatus without going through a relaying equipment such as an access point. Wi-Fi Direct and Bluetooth (registered trademark) are conceivable specific examples of this wireless communication. The printing apparatus 100 will be described below as an apparatus that executes Wi-Fi Direct. Wi-Fi Direct is used in the description only as an example, and the wireless communication to which the present exemplary embodiment is applicable is not limited to Wi-Fi Direct.
The printing apparatus 100 can execute the direct wireless communication with a mobile terminal 130, by using Wi-Fi Direct. The mobile terminal 130 can transmit print data to the printing apparatus 100 via Wi-Fi Direct. The printing apparatus 100, which has received the print data transmitted via Wi-Fi Direct, interprets the received print data, and then executes the print processing.
Next, a configuration in which the printing apparatus 100 is used with the print processing apparatus 140 being connected to the printing apparatus 100 will be described using
The print processing apparatus 140 can interpret print data described in a page description language not supported by the printing apparatus 100. The print processing apparatus 140 converts the interpreted print data into a form supported by the printing apparatus 100, and then transmits the converted print data to the printing apparatus 100. Therefore, the printing apparatus 100 can receive, from the print processing apparatus 140, print data in an interpretable form even if the print data is originally described in a page description language not supported by the printing apparatus 100.
Assume that wireless communication using Wi-Fi Direct is executed between the printing apparatus 100 and the mobile terminal 130 in the configuration in which the printing apparatus 100 is used with the print processing apparatus 140 being connected to the printing apparatus 100, as illustrated in
Therefore, in the first exemplary embodiment, when the printing apparatus 100 is used with the print processing apparatus 140 being connected to the printing apparatus 100, execution of the direct wireless communication such as the one using Wi-Fi Direct with an external apparatus is prohibited. In other words, a user is prohibited from using the direct wireless communication function. Therefore, the mobile terminal 130 transmits print data via the print processing apparatus 140, so that the printing apparatus 100 can be less likely to receive print data described in a page description language not supported by the printing apparatus 100.
Next, a configuration of the printing apparatus 100 will be described using
A central processing unit (CPU) 201 reads a control program stored in a read only memory (ROM) 202, and executes various types of processing for controlling operations of the printing apparatus 100, based on the read control program. The ROM 202 stores the control program. A random access memory (RAM) 203 is used as an area for temporarily storing a main memory, a work area or the like of the CPU 201. A hard disk device (HDD) 204 stores various types of data such as print data, scanned images or the like.
In the printing apparatus 100, the CPU 201, i.e., a single CPU, is assumed to execute each process in each flowchart described below. However, other mode is adoptable. For example, one or more CPUs may execute each process in each flowchart described below, by working together.
A printer 205 executes the print processing on a sheet, based on print data received from an external apparatus, a scanned image generated by a scanner 206, or the like. The scanner 206 reads a document and generates a scanned image (read image data). The scanned image generated by the scanner 206 is printed by the printer 205 and/or stored in the HDD 204.
An operation unit 207 includes a liquid crystal display section having a touch panel function, and a keyboard, and displays various screens described below. The user can input instructions and information into the printing apparatus 100 via the operation unit 207.
A wireless communication unit 208 executes the wireless communication with an external apparatus such as the mobile terminal 130 or the like, based on Wi-Fi Direct.
A network interface (I/F) 209 connects to the network 120, to execute communication with an external apparatus.
Next, an operation procedure to be followed when the user uses Wi-Fi Direct, and operation screens to be displayed by the operation unit 207 will be described using
To use Wi-Fi Direct, the user selects a button 303 in the menu screen 300. When the user selects the button 303, the operation unit 207 displays a connection screen 310 illustrated in
When the user selects the connection start button 311 in the connection screen 310, the operation unit 207 displays a connection screen 320 illustrated in
When the wireless communication unit 208 identifies the mobile terminal 130 as a connection partner, wireless communication based on Wi-Fi Direct is established between the wireless communication unit 208 and the mobile terminal 130. Thus, the printing apparatus 100 and the mobile terminal 130 can execute direct wireless communication without going through a relaying equipment such as an access point or the like, so that the mobile terminal 130 can directly transmit print data to the printing apparatus 100. When the wireless communication based on Wi-Fi Direct is established between the printing apparatus 100 and the mobile terminal 130, the operation unit 207 displays a connection screen 330 illustrated in
The operation procedure when Wi-Fi Direct is used has been described above using
When the user selects the button 303 in the menu screen 300 in the configuration in which the print processing apparatus 140 is connected to the printing apparatus 100, the operation unit 207 displays a connection screen 400 illustrated in
The way of prohibiting the use of Wi-Fi Direct is not limited to the way described above with reference to the connection screen 400, and other way may be adopted. For example, a message 411 illustrated in a connection screen 410 in
In the above description, the use of Wi-Fi Direct is prohibited when the print processing apparatus 140 is connected to the printing apparatus 100. However, printing through use of the mobile terminal 130 is not completely disabled. Printing through the use of the mobile terminal 130 can be executed, when the mobile terminal 130 transmits print data to the print processing apparatus 140 via Wi-Fi without using Wi-Fi Direct.
As described above, the direct wireless communication between the printing apparatus 100 and the mobile terminal 130 is prohibited, on condition that the print processing apparatus 140 is connected to the printing apparatus 100. Therefore, the printing apparatus 100 can be less likely to receive print data described in a page description language not supported by the printing apparatus 100, in the configuration in which the print processing apparatus 140 is connected to the printing apparatus 100.
Next, processing to be executed when a screen transition occurs will be described using a flowchart of
When a screen transition caused by a user operation occurs, then in step S501, the CPU 201 determines whether a screen to be displayed next is a connection screen for Wi-Fi Direct to appear for use of Wi-Fi Direct by the user. When the CPU 201 determines that the screen to be displayed next is not the connection screen for Wi-Fi Direct (No in step S501), the processing proceeds to step S505. In step S505, the CPU 201 controls the operation unit 207 so that the operation unit 207 displays a screen according to the screen transition. The operation unit 207 thus displays the screen according to the screen transition. On the other hand, when the CPU 201 determines that the screen to be displayed next is the connection screen for Wi-Fi Direct (Yes in step S501), the processing proceeds to step S502.
In step S502, the CPU 201 determines whether the print processing apparatus 140 is connected. In the first exemplary embodiment, in a case where the print processing apparatus 140 is connected to the printing apparatus 100, identification information of the print processing apparatus 140 is stored in a storage area such as the HDD 204 or the like. In step S502, the CPU 201 checks presence/absence of this identification information of the print processing apparatus 140 to thereby determine whether the print processing apparatus 140 is connected to the printing apparatus 100. The way of determining whether the print processing apparatus 140 is connected to the printing apparatus 100 is not limited to the way described with reference to step S502, and other way may be adopted. For example, an inquiry packet inquiring whether the print processing apparatus 140 is connected to the printing apparatus 100 may be transmitted via the network I/F 209, and whether the print processing apparatus 140 is connected may be determined based on presence/absence of a response to the inquiry packet.
When the CPU 201 determines that the print processing apparatus 140 is not connected to the printing apparatus 100 (No in step S502), the processing proceeds to step S503. In step S503, the CPU 201 controls the operation unit 207, so that the operation unit 207 displays the connection screen for Wi-Fi Direct, in a state where Wi-Fi Direct can be selected for use. For example, the operation unit 207 displays the connection screen in a state where a connection start button for enabling a user to use Wi-Fi Direct is selectable, as with the connection screen 310 illustrated in
On the other hand, when the CPU 201 determines that the print processing apparatus 140 is connected to the printing apparatus 100 (Yes in step S502), the processing proceeds to step S504. In step S504, the CPU 201 controls the operation unit 207, so that the operation unit 207 displays the connection screen for Wi-Fi Direct, in a state where Wi-Fi Direct cannot be selected for use. For example, the operation unit 207 displays the connection screen in a state where the user cannot select a connection start button for using Wi-Fi Direct, as with the connection screen 400 in
As described above, according to the first exemplary embodiment, it is determined whether to prohibit the user from using the wireless communication such as the one using Wi-Fi Direct, depending on whether the print processing apparatus 140 is connected to the printing apparatus 100.
When the print processing apparatus 140 is not connected to the printing apparatus 100, the user is permitted to use the wireless communication such as the one using Wi-Fi Direct. In other words, the printing apparatus 100 is permitted to receive print data by using the wireless communication such as the one using Wi-Fi Direct, on condition that the print processing apparatus 140 is not connected to the printing apparatus 100.
On the other hand, the user is prohibited from using the wireless communication such as Wi-Fi Direct, when the print processing apparatus 140 is connected to the printing apparatus 100. In other words, the printing apparatus 100 is prohibited from receiving print data by using the wireless communication such as Wi-Fi Direct, on condition that the print processing apparatus 140 is connected to the printing apparatus 100.
When the print processing apparatus 140 is connected to the printing apparatus 100, the printing apparatus 100 can prevent the user from directly transmitting, using the wireless communication such as the one using Wi-Fi Direct, print data to the printing apparatus 100. Therefore, the printing apparatus 100 can be less likely to receive print data described in a page description language not supported by the printing apparatus 100.
A second exemplary embodiment of the present invention will be described. A print system and a printing apparatus 100 of the second exemplary embodiment have configurations similar to the configurations described with reference to
In the second exemplary embodiment, unlike the first exemplary embodiment, a user is permitted to use Wi-Fi Direct both in a case where a print processing apparatus 140 is connected to the printing apparatus 100 and a case where the print processing apparatus 140 is not connected to the printing apparatus 100. When receiving print data by performing wireless communication using Wi-Fi Direct, the printing apparatus 100 transfers the received print data to the print processing apparatus 140. Thus, even if a mobile terminal 130 directly transmits, via wireless communication using Wi-Fi Direct, print data which is described in a page description language not supported by the printing apparatus 100, the printing apparatus 100 can have the print data processed by the print processing apparatus 140. Therefore, the printing apparatus 100 can be less likely to receive print data described in a page description language not supported by the printing apparatus 100, in a configuration in which the print processing apparatus 140 is connected to the printing apparatus 100.
Next, processing to be executed by the printing apparatus 100 of the second exemplary embodiment will be described using a flowchart of
In step S601, the CPU 201 determines whether print data is received. In a case where the CPU 201 determines that print data is received (Yes in step S601), the processing proceeds to step S602. On the other hand, if no print data is received (No in step S601), the CPU 201 waits until receipt of print data.
Next, in step S602, the CPU 201 determines whether the print data is received by using Wi-Fi Direct. In a case where the print data is received by a wireless communication unit 208 by using Wi-Fi Direct, the CPU 201 determines that the print data is received by using Wi-Fi Direct (Yes in step S602), and the processing proceeds to step S603. On the other hand, in a case where the print data is received by a network I/F 209, the CPU 201 determines that the print data is not received by using Wi-Fi Direct (No in step S602), and the processing proceeds to step S605. In step S605, the CPU 201 controls a printer 205 so that the printer 205 executes print processing based on the print data. The printer 205 thus executes the print processing.
Processing performed in Step S603 will be described. In step S603, the CPU 201 determines whether the print processing apparatus 140 is connected to the printing apparatus 100. This determination is a process similar to the process in step S502 described with reference to
When the CPU 201 determines that the print processing apparatus 140 is not connected to the printing apparatus 100 (No in step S603), the processing proceeds to step S605. In step S605, the CPU 201 controls the printer 205 so that the printer 205 executes the print processing based on the print data. If the received print data is described in a page description language not supported by the printing apparatus 100, the process in step S605 is terminated with an error.
On the other hand, when the CPU 201 determines that the print processing apparatus 140 is connected to the printing apparatus 100 (Yes in step S603), the processing proceeds to step S604. In step S604, the CPU 201 controls the network I/F 209 so that the network I/F 209 transfers the received print data to the print processing apparatus 140. The network I/F 209 thus transfers the print data to the print processing apparatus 140. The print processing apparatus 140, to which the print data has been transferred, processes the transferred print data. More specifically, the print processing apparatus 140 converts the print data into a form supported by the printing apparatus 100, and then transmits the converted print data to the printing apparatus 100. Here, the transmitted print data is received by the network I/F 209, and therefore, it is determined that the print data is not received by using the wireless communication using Wi-Fi Direct (No in step S602), and then in step S605, the print processing is executed.
As described above, according to the second exemplary embodiment, when the print processing apparatus 140 is connected to the printing apparatus 100, the printing apparatus 100 transfers the print data received by using Wi-Fi Direct, to the print processing apparatus 140. The transferred print data is processed by the print processing apparatus 140, and then anew transmitted to the printing apparatus 100. Therefore, the printing apparatus 100 can be less likely to receive print data described in a page description language not supported by the printing apparatus 100, in the configuration in which the print processing apparatus 140 is connected to the printing apparatus 100.
In the configuration described in the first exemplary embodiment, execution of the wireless communication using Wi-Fi Direct is prohibited without exception, on condition that the print processing apparatus 140 is connected to the printing apparatus 100. However, in a case where the printing apparatus 100 transmits data (for example, a scanned image generated by the scanner 206) to the mobile terminal 130 via the wireless communication using Wi-Fi Direct, the data is not necessarily transmitted via the print processing apparatus 140. Therefore, in a third exemplary embodiment, when a print processing apparatus is connected to a printing apparatus 100, the printing apparatus 100 may be permitted to transmit data to a mobile terminal 130 via the wireless communication using Wi-Fi Direct, while being prohibited from receiving print data via the wireless communication using Wi-Fi Direct.
In each of the exemplary embodiments described above, the communication using Wi-Fi Direct is taken as an example of the wireless communication to be executed between the printing apparatus 100 and the mobile terminal 130 without going through the print processing apparatus 140. However, each of the exemplary embodiments described above is applicable to a case of using other type of wireless communication. For example, in a configuration in which the printing apparatus 100 is directly connected to an access point, wireless communication may be likewise executed between the printing apparatus 100 and the mobile terminal 130 without going through the print processing apparatus 140. Each of the exemplary embodiments described above is applicable to such a configuration.
The present invention is also achievable by such processing that a program implementing one or more functions of any of the above-described exemplary embodiments is supplied to a system or an apparatus via a network or a storage medium, and one or more processors in the system or the apparatus read the program and then execute the read program. Moreover, the present invention is also achievable by a circuit (e.g., an application-specific integrated circuit (ASIC)) that implements one or more functions.
According to the exemplary embodiments of the present invention, it is possible to reduce inconvenience that occurs when a printing apparatus receives print data described in a page description language not supported by the printing apparatus, in a configuration in which a print processing apparatus is connected to the printing apparatus.
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2014-151203, filed Jul. 24, 2014, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2014-151203 | Jul 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
9069514 | Sakurai | Jun 2015 | B2 |
9106781 | Suzuki | Aug 2015 | B2 |
20140085666 | Park | Mar 2014 | A1 |
Number | Date | Country |
---|---|---|
2002-312140 | Oct 2002 | JP |
2013-205982 | Oct 2012 | JP |
Number | Date | Country | |
---|---|---|---|
20160028918 A1 | Jan 2016 | US |