Printing apparatus having wireless direct communication function and method of controlling the printing apparatus
10691379 ยท 2020-06-23
Assignee
Inventors
Cpc classification
H04N2201/0094
ELECTRICITY
H04N1/00204
ELECTRICITY
G06F3/1204
PHYSICS
International classification
Abstract
A printing apparatus capable of improving user-friendliness when the user inputs a print job via wireless direct communication in a case where a setting of reservation printing is active. The printing apparatus has a wireless direct communication function and a reservation function for reserving a received print job. A setting unit sets whether or not to use the reservation function. A determination unit determines whether or not the print job received by the printing apparatus is a print job received by the wireless direct communication function. A control unit prints the received print job without reservation according to determination by the determination unit that the received print job is a print job received by the wireless direct communication function, even in a case where use of the reservation function has been set by the setting unit.
Claims
1. A printing apparatus having a reservation function for reserving a print job received from an external apparatus without executing the print job until receiving a print instruction from a user, comprising: a memory that stores a program; and at least one processor that executes the program to: receive packet data of the print job from the external apparatus by using a wireless direct communication function or another communication function different from the wireless direct communication function; determine, based on address information included in the received packet data, whether the packet data of the print job is received by using the wireless direct communication function; reserve the print job in a storage unit by the reservation function, in a case where it is determined that the packet data of the print job is received by using the another communication function; and execute the print job without reserving the print job, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function.
2. The printing apparatus according to claim 1, wherein the address information included in the received packet data is at least one of an IP address of the external apparatus, an IP address of the printing apparatus, and a MAC address of the printing apparatus.
3. The printing apparatus according to claim 1, wherein the another communication function is at least one of a wired LAN communication function and a wireless LAN communication function.
4. The printing apparatus according to claim 1, wherein the at least one processor executes the program to further determine whether the reservation function is active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the reservation function is active and it is determined that the packet data of the print job is received by using the another communication function, the print job is executed without being reserved, in a case where it is determined that the reservation function is active and it is determined that the packet data of the print job is received by using the wireless direct communication function, and the print job is executed without being reserved, in a case where it is determined that the reservation function is not active.
5. The printing apparatus according to claim 1, wherein the at least one processor executes the program to further determine whether a setting of a forced through printing for a print job received by using the wireless direct communication function is active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is not active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the another communication function, and the print job is executed without being reserved, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is active.
6. The printing apparatus according to claim 1, wherein the at least one processor executes the program to further: determine whether the reservation function is active; and determine whether a setting of a forced through printing for a print job received by using the wireless direct communication function is active, wherein the reservation function reserves the print job in the storage unit, in a case where it is determined that the reservation function is active, it is determined that the packet data of the print job is received by using the wireless direct communication function, and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is not active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the reservation function is active and it is determined that the packet data of the print job is received by using the another communication function, the print job is executed without being reserved, in a case where it is determined that the reservation function is active, it is determined that the packet data of the print job is received by using the wireless direct communication function, and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is active, and the print job is executed without being reserved, in a case where it is determined that the reservation function is not active.
7. The printing apparatus according to claim 1, wherein the at least one processor executes the program to further: determine whether the reservation function for a print job received by using the wireless direct communication function is active; and determine whether the reservation function for a print job received by using the another communication function is active, wherein the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the reservation function for the print job received by using the wireless direct communication function is active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the another communication function and it is determined that the reservation function for the print job received by using the another communication function is active, the print job is executed without being reserved, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the reservation function for the print job received by using the wireless direct communication function is not active, and the print job is executed without being reserved, in a case where it is determined that the packet data of the print job is received by using the another communication function and it is determined that the reservation function for the print job received by using the another communication function is not active.
8. A method of controlling a printing apparatus having a reservation function for reserving a print job received from an external apparatus without executing the print job until receiving a print instruction from a user, the method comprising: receiving packet data of the print job from the external apparatus by using a wireless direct communication function or another communication function different from the wireless direct communication function; determining, based on address information included in the received packet data, whether the packet data of the print job is received by using the wireless direct communication function; reserving the print job in a storage unit by the reservation function, in a case where it is determined that the packet data of the print job is received by using the another communication function; and executing the print job without reserving the print job, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function.
9. The method according to claim 8, wherein the address information included in the received packet data is at least one of an IP address of the external apparatus, an IP address of the printing apparatus, and a MAC address of the printing apparatus.
10. The method according to claim 8, wherein the another communication function is at least one of a wired LAN communication function and a wireless LAN communication function.
11. The method according to claim 8, further comprising: determining whether the reservation function is active, wherein: the reservation function reserves the print job in the storage unit, in a case where it is determined that the reservation function is active and it is determined that the packet data of the print job is received by using the another communication function, the print job is executed without being reserved, in a case where it is determined that the reservation function is active and it is determined that the packet data of the print job is received by using the wireless direct communication function, and the print job is executed without being reserved, in a case where it is determined that the reservation function is not active.
12. The method according to claim 8, further comprising: determining whether a setting of a forced through printing for a print job received by using the wireless direct communication function is active, wherein: the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is not active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the another communication function, and the print job is executed without being reserved, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is active.
13. The method according to claim 8, further comprising: determining whether the reservation function is active; and determining whether a setting of a forced through printing for a print job received by using the wireless direct communication function is active, wherein: the reservation function reserves the print job in the storage unit, in a case where it is determined that the reservation function is active, it is determined that the packet data of the print job is received by using the wireless direct communication function, and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is not active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the reservation function is active and it is determined that the packet data of the print job is received by using the another communication function, the print job is executed without being reserved, in a case where it is determined that the reservation function is active, it is determined that the packet data of the print job is received by using the wireless direct communication function, and it is determined that the setting of the forced through printing for the print job received by using the wireless direct communication function is active, and the print job is executed without being reserved, in a case where it is determined that the reservation function is not active.
14. The method according to claim 8, further comprising: determining whether the reservation function for a print job received by using the wireless direct communication function is active; and determining whether the reservation function for a print job received by using the another communication function is active, wherein: the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the reservation function for the print job received by using the wireless direct communication function is active, the reservation function reserves the print job in the storage unit, in a case where it is determined that the packet data of the print job is received by using the another communication function and it is determined that the reservation function for the print job received by using the another communication function is active, the print job is executed without being reserved, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function and it is determined that the reservation function for the print job received by using the wireless direct communication function is not active, and the print job is executed without being reserved, in a case where it is determined that the packet data of the print job is received by using the another communication function and it is determined that the reservation function for the print job received by using the another communication function is not active.
15. A non-transitory computer readable storage medium storing computer-readable instructions that, when executed, cause a printing apparatus having a reservation function for reserving a print job received from an external apparatus without executing the print job until receiving a print instruction from a user to: receive packet data of the print job from the external apparatus by using a wireless direct communication function or another communication function different from the wireless direct communication function; determine, based on address information included in the received packet data, whether the packet data of the print job is received by using the wireless direct communication function; reserve the print job in a storage unit by the reservation function, in a case where it is determined that the packet data of the print job is received by using the another communication function; and execute the print job without reserving the print job, in a case where it is determined that the packet data of the print job is received by using the wireless direct communication function.
16. A printing apparatus having a reservation function for reserving a print job received from an external apparatus without executing the print job until receiving a print instruction from a user, comprising: a memory that stores a program; and at least one processor that executes the program to: receive packet data of the print job from the external apparatus by using a wireless direct communication function or another communication function different from the wireless direct communication function, wherein the packet data of the print job includes first address information; reserve the print job by the reservation function in a case where the included first address information is different from second address information corresponding to the wireless direct communication function; and execute the print job without reserving the print job in a case where the included first address information is the second address information corresponding to the wireless direct communication function.
17. A method of controlling a printing apparatus having a reservation function for reserving a print job received from an external apparatus without executing the print job until receiving a print instruction from a user, the method comprising: receiving packet data of the print job from the external apparatus by using a wireless direct communication function or another communication function different from the wireless direct communication function, wherein the packet data of the print job includes first address information; reserving the print job by the reservation function in a case where the included first address information is different from second address information corresponding to the wireless direct communication function; and executing the print job without reserving the print job in a case where the included first address information is the second address information corresponding to the wireless direct communication function.
18. A non-transitory computer readable storage medium storing computer-readable instructions that executed by a printing apparatus having a reservation function for reserving a print job received from an external apparatus without executing the print job until receiving a print instruction from a user, wherein the computer-readable instructions causes, when executed, the printing apparatus to: receive packet data of the print job from the external apparatus by using a wireless direct communication function or another communication function different from the wireless direct communication function, wherein the packet data of the print job includes first address information; reserve the print job by the reservation function in a case where the included first address information is different from second address information corresponding to the wireless direct communication function; and execute the print job without reserving the print job in a case where the included first address information is the second address information corresponding to the wireless direct communication function.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DESCRIPTION OF THE EMBODIMENTS
(14) The present invention will now be described in detail below with reference to the accompanying drawings showing embodiments thereof. The invention according to claims is not limited to the following embodiments, and further, a combination all features described in each of embodiments are not necessarily required for solution of the invention.
(15)
(16) Referring to
(17) The printing apparatus 100 includes three network interfaces, and is equipped with a multi-homing function for simultaneously operating the network interfaces. The printing apparatus 100 is connected to the PC 110 by a wired LAN, and is connected to the PC 150 by the wired LAN via the router 140. The printing apparatus 100 uses an IP address 172.24.11.1 for a wired LAN interface for the wired LAN. Further, when the printing apparatus 100 performs wireless direct communication, such as Wi-Fi direct communication, with the mobile terminal 120, without via a relay device, such as an access point or a gateway, the printing apparatus 100 uses an IP address 192.168.22.1 for a wireless direct interface for wireless direct communication. At this time, the printing apparatus 100 operates as a server for wireless direct communication, to receive a connection request, and the mobile terminal 120 operates as a client to transmit the connection request to the printing apparatus 100, whereby wireless direct communication is established therebetween. Further, when the printing apparatus 100 performs wireless LAN communication with the PC 150 or the mobile terminal 120, via the access point 130, the printing apparatus 100 uses an IP address 150.15.11.2 for a wireless infrastructure interface for wireless LAN communication.
(18) Note that although in the present embodiment, the printing apparatus 100 is configured to have three network interfaces, this is not limitative, but the printing apparatus 100 may be configured otherwise insofar as it is equipped with a multi-home function for simultaneously operating at least two network interfaces including the wireless direct interface and another network interface than the wireless direct interface.
(19)
(20) The printing apparatus 100 includes a CPU 201, a RAM 202, a ROM 203, an HDD 204, a printer interface 206, a scanner interface 208, a console section interface 210, the wireless direct interface, denoted by reference numeral 212, the wired LAN interface 213, and the wireless infrastructure interface, denoted by reference numeral 214. These components of the printing apparatus 100 are connected to each other via a bus 205.
(21) The RAM 202 is used as a main memory and a temporary storage area, such as a work area, for the CPU 201. The ROM 203 stores control programs, and the HDD 204 stores various data, such as print data and scan image data.
(22) The printing apparatus 100 further includes a printer 207 (print processor) connected to the printer interface 206, a scanner 209 connected to the scanner interface 208, and a console section 211 connected to the console section interface 210.
(23) Further, the printing apparatus 100 includes a wireless LAN chip 215 connected to the wireless direct interface 212 and the wireless infrastructure interface 214, and a wired LAN chip 216 connected to the wired LAN interface 213.
(24) The CPU 201 reads control programs stored in the ROM 203, and performs various processes for controlling the operation of the printing apparatus 100. Note that it is assumed that in the case of the printing apparatus 100 according to the present embodiment, the single CPU 201 performs processes described hereinafter with reference to figures, but this is not limitative. For example, the processes may be performed by cooperation of a plurality of CPUs.
(25) The printer 207 performs print processing on sheets based on print data received from an external apparatus or a scan image generated by the scanner 209, and discharges the sheets (hereinafter referred to as the printing-and-discharging processing). The scanner 209 reads an original and generates a scan image (read image data). The scan image generated by the scanner 209 is printed by the printer 207 or is stored in the HDD 204.
(26) The console section 211 includes a liquid crystal display section having a touch panel function, and a keyboard, and displays various screens, referred to hereinafter. A user can input an instruction and information to the printing apparatus 100 via the console section 211.
(27) The wireless LAN chip 215 realizes communication with an external apparatus by wireless LAN communication. Wireless LAN connection is classified into connection types including wireless infrastructure connection and direct wireless connection.
(28) The wireless direct interface 212 performs wireless direct communication, such as Wi-Fi direct communication, via the wireless LAN chip 215, with an external apparatus, such as the mobile terminal 120.
(29) The wireless infrastructure interface 214 performs wireless LAN communication, which is relayed by the access point 130, via the wireless LAN chip 215, with an external apparatus, such as the PC 150 or the mobile terminal 120.
(30) The wired LAN interface 213 performs wired LAN communication, via the wired LAN chip 216, with an external apparatus, such as the PC 110 or 150.
(31)
(32) If the CPU 201 determines in a step S301 that a print job has been received from an external apparatus, the CPU 201 proceeds to a step S302. In the step S302, the CPU 201 determines whether or not a setting for causing the printing apparatus 100 to perform reservation processing (hereinafter referred to as the reservation setting) is active. Here, the reservation processing refers to processing for causing print data of the received print job to be stored in the HDD 204 of the printing apparatus 100, without causing the print data to be printed on sheets or printed sheets to be discharged, until a user instruction for printing the print data is received via the console section 211. The determination as to whether or not the reservation setting is active is performed with reference to a setting of the reservation setting made in advance by operating the console section 211 on a screen 1301 shown in
(33) If the reservation setting is inactive (NO to the step S302), the CPU 201 proceeds to a step S305, wherein the CPU 201 causes the printer 207 to perform the printing-and-discharging processing instead of performing the reservation processing, followed by terminating the present process. If the reservation setting is active (YES to the step S302), the CPU 201 proceeds to a step S303. In the step S303, the CPU 201 determines whether or not the received print job is one received from the wireless direct interface 212 of the printing apparatus 100. If it is determined that the received print job is one received from a network interface other than the wireless direct interface 212 (NO to the step S303), the CPU 201 proceeds to a step S304. In the step S304, the CPU 201 performs the reservation processing according to the reservation setting activated in the printing apparatus 100, followed by terminating the present process. If it is determined that the received print job is one received from the wireless direct interface 212 (YES to the step S303), the CPU 201 proceeds to the step S305. In the step S305, the CPU 201 causes the printer 207 to perform the printing-and-discharging processing instead of performing the reservation processing, followed by terminating the present process.
(34) As described above, in the printing apparatus 100, even in a case where the reservation setting is active, if the received print job is one received from the wireless direct interface 212, the CPU 201 causes the printer 207 to perform the printing-and-discharging processing instead of performing the reservation processing. Therefore, in a case where it is assured that the user is in front of the printing apparatus 100, no wasteful reservation processing is performed, whereby it is possible to realize reduction of operation load on the user and improvement of user-friendliness.
(35)
(36) When the printing apparatus 100 receives the packet data 401 of the print job illustrated in
(37) In the example illustrated in
(38)
(39) As shown, by way of example, in
(40)
(41) Wireless direct communication is in a stopped state by default, and the CPU 201 waits for the start of wireless direct communication until the user causes the screen shown, by way of example, in
(42)
(43) First, when the user causes the
(44) Then, when the connection of wireless direct communication between the printing apparatus 100 and the mobile terminal 120 is completed in a step S703, the screen illustrated in
(45) Following the display of the
(46) As described above, in the printing apparatus 100, when it is detected that a print job has been transmitted via wireless direct communication by a user operation of the mobile terminal 120, the CPU 201 causes the printer 207 to perform the printing-and-discharging processing on the print job instead of performing the reservation processing. As a consequence, in the case where it is assured that the user is in front of the printing apparatus 100, no wasteful reservation processing is performed, whereby it is possible to realize reduction of operation load on the user and improvement of user-friendliness.
(47) Next, a second embodiment of the present invention will be described. The present embodiment is different from the first embodiment in that the printing apparatus 100 is provided with a switch for selecting whether a print job received via wireless direct communication is to be reserved or to be subjected to forced through printing. Hereinafter, an example of a screen displayed on the console section 211, for serving as the switch, will be described with reference to
(48)
(49) In the present embodiment, even in a case where the reservation setting in the printing apparatus 100 is active, when a print job is received via wireless direct communication, it is additionally set whether the print job is to be reserved or to be subjected to forced through printing. More specifically, in a case where a do button 1004 is pressed in advance on the
(50)
(51) Steps S901 to S904 are the same as the steps S301 to S304 in
(52) On the other hand, in a case where a don't button 1005 is pressed in advance on the
(53) Further, instead of the screen illustrated in
(54) As described above, in preparation for a case where a print job is received by the wireless direct interface 212, the user can set in advance whether or not to reserve the received print job. This makes it possible to realize an operation desired by the user.
(55) Next, a third embodiment of the present invention will be described. In the present embodiment, control performed when the mobile terminal 120 sends an instruction to the printing apparatus 100, as to whether or not to reserve a print job transmitted thereto, will be described with reference to
(56)
(57)
(58) Steps S1101 to S1104 are the same as the steps S301 to S304 in
(59) On the other hand, if the job specific data does not have the value Through Print, the CPU 201 determines that the setting of forced through printing is not active (NO to the step S1105), and proceeds to the step S1104. In this case, the CPU 201 performs the reservation processing according to the reservation setting activated in the printing apparatus 100 (step S1104), followed by terminating the present process.
(60) As described above, packet data including a print job input from the mobile terminal 120 stores an instruction as to whether or not to reserve the print job. Therefore, it is possible to realize an operation desired by the user without extra operation screens and control processing for determining whether or not to reserve the print job by the printing apparatus 100.
OTHER EMBODIMENTS
(61) 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.
(62) 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.
(63) This application claims the benefit of Japanese Patent Application No. 2015-218407 filed Nov. 6, 2015 which is hereby incorporated by reference herein in its entirety.